/drivers/hdf_core/framework/model/network/bluetooth/ |
D | hdf_power.c | 35 static int32_t NotManagablePowerOn(struct HdfPower *power) in NotManagablePowerOn() argument 37 (void)power; in NotManagablePowerOn() 41 static int32_t NotManagablePowerOff(struct HdfPower *power) in NotManagablePowerOff() argument 43 (void)power; in NotManagablePowerOff() 47 static void ReleasePower(struct HdfPower *power) in ReleasePower() argument 49 if (power == NULL) { in ReleasePower() 52 OsalMemFree(power); in ReleasePower() 55 static struct NoManagablePower *CreateNoManagablePower(const struct HdfPowerConfig *power) in CreateNoManagablePower() argument 66 result->powerSeqDelay = power->powerSeqDelay; in CreateNoManagablePower() 70 static int32_t GpioPowerOn(struct HdfPower *power) in GpioPowerOn() argument [all …]
|
D | hdf_chip.c | 30 device->power = CreateVirtualPower(config->powers); in CreateVirtualDevice() 31 if (device->power == NULL) { in CreateVirtualDevice() 54 … if (device->power != NULL && device->power->ops != NULL && device->power->ops->Release != NULL) { in ReleaseVirtualDevice() 55 device->power->ops->Release(device->power); in ReleaseVirtualDevice() 56 device->power = NULL; in ReleaseVirtualDevice()
|
/drivers/hdf_core/framework/include/bluetooth/ |
D | hdf_chip.h | 110 struct HdfPower *power; member 124 if (device->power == NULL || device->power->ops == NULL || device->power->ops->On == NULL) { in HdfPowerOnVirtualDevice() 127 return device->power->ops->On(device->power); in HdfPowerOnVirtualDevice() 133 if (device->power == NULL || device->power->ops == NULL || device->power->ops->Off == NULL) { in HdfPowerOffVirtualDevice() 136 return device->power->ops->Off(device->power); in HdfPowerOffVirtualDevice()
|
D | hdf_chip_config.h | 43 struct HdfPowerConfig power[0]; member
|
/drivers/interface/power/v1_0/ |
D | IPowerHdiCallback.idl | 17 * @addtogroup power 23 …* After obtaining an object or proxy of this module, the power service can invoke related APIs to … 35 …* The power module provides callbacks for the power service to obtain the hibernation/wakeup statu… 41 package ohos.hdi.power.v1_0; 46 …* After creating a callback object, the power service can call {@link IPowerInterface} to register… 55 … * This callback is used to notify the power service when the device enters the hibernation state. 64 * This callback is used to notify the power service when the device enters the wakeup state.
|
D | PowerTypes.idl | 17 * @addtogroup power 23 …* After obtaining an object or proxy of this module, the power service can invoke related APIs to … 33 * @brief Enumerates data types related to power management. 41 package ohos.hdi.power.v1_0; 44 * @brief Enumerates command parameters for power management. 49 /** Command parameter for registering a callback of the power status */ 66 * @brief Enumerates command parameters for the power status callback. 78 * @brief Enumerates the power status.
|
D | IPowerInterface.idl | 17 * @addtogroup power 23 …* After obtaining an object or proxy of this module, the power service can invoke related APIs to … 42 package ohos.hdi.power.v1_0; 44 import ohos.hdi.power.v1_0.IPowerHdiCallback; 45 import ohos.hdi.power.v1_0.PowerTypes; 118 * @brief Obtains the power dump information.
|
/drivers/interface/power/v1_1/ |
D | IPowerHdiCallback.idl | 17 * @addtogroup power 23 …* After obtaining an object or proxy of this module, the power service can invoke related APIs to … 35 …* The power module provides callbacks for the power service to obtain the hibernation/wakeup statu… 41 package ohos.hdi.power.v1_1; 46 …* After creating a callback object, the power service can call {@link IPowerInterface} to register… 55 … * This callback is used to notify the power service when the device enters the hibernation state. 64 * This callback is used to notify the power service when the device enters the wakeup state.
|
D | PowerTypes.idl | 17 * @addtogroup power 23 …* After obtaining an object or proxy of this module, the power service can invoke related APIs to … 33 * @brief Enumerates data types related to power management. 41 package ohos.hdi.power.v1_1; 44 * @brief Enumerates command parameters for power management. 50 /** Command parameter for registering a callback of the power status */ 67 * @brief Enumerates command parameters for the power status callback. 80 * @brief Enumerates the power status.
|
D | IPowerInterface.idl | 17 * @addtogroup power 23 …* After obtaining an object or proxy of this module, the power service can invoke related APIs to … 42 package ohos.hdi.power.v1_1; 44 import ohos.hdi.power.v1_1.IPowerHdiCallback; 45 import ohos.hdi.power.v1_1.PowerTypes; 46 import ohos.hdi.power.v1_1.RunningLockTypes; 121 * @brief Obtains the power dump information.
|
D | RunningLockTypes.idl | 17 * @addtogroup power 23 …* After obtaining an object or proxy of this module, the power service can invoke related APIs to … 41 package ohos.hdi.power.v1_1;
|
/drivers/peripheral/wlan/hal/src/ |
D | wifi_hal_base_feature.c | 75 static int32_t SetTxPowerInner(const struct IWiFiBaseFeature *baseFeature, int32_t power) in SetTxPowerInner() argument 77 if (baseFeature == NULL || power <= 0) { in SetTxPowerInner() 81 return HalCmdSetTxPower(baseFeature->ifName, power); in SetTxPowerInner() 143 static int32_t HalSetTxPower(const struct IWiFiBaseFeature *baseFeature, int32_t power) in HalSetTxPower() argument 146 int32_t ret = SetTxPowerInner(baseFeature, power); in HalSetTxPower()
|
/drivers/hdf_core/framework/model/camera/device_impl/src/ |
D | camera_common_device.c | 24 int32_t CommonDevicePowerOperation(struct CommonDevice *comDev, enum DevicePowerState power) in CommonDevicePowerOperation() argument 41 switch (power) { in CommonDevicePowerOperation() 57 HDF_LOGE("%s: wrong power: %{public}d", __func__, power); in CommonDevicePowerOperation()
|
/drivers/peripheral/power/test/fuzztest/powerhdistub_fuzzer/ |
D | BUILD.gn | 18 module_out_path = "drivers_peripheral_power/power" 29 "../../../../../interface/power/v1_1:libpower_stub_1.1",
|
/drivers/interface/wlan/v1_0/ |
D | IWlanInterface.idl | 23 …* manage WLAN chips, network devices, and power, and apply for, release, and move network data buf… 297 …* including the transmit power and supported channels of the AP, ensuring that radio attributes of… 341 * @brief Sets the transmit power. 344 * @param power Indicates the transmit power to set. 352 SetTxPower([in] struct HdfFeatureInfo ifeature, [in] int power); 382 * @brief Obtains the power mode in use. 385 …* @param mode Indicates the power mode obtained. The power mode can be <b>sleeping</b> (running in… 386 * <b>general</b> (running at normal rated power), 387 …* and <b>through-wall</b> (running at the maximum power to improve the signal strength and coverag… 398 * @brief Sets the power mode. [all …]
|
/drivers/hdf_core/framework/model/input/driver/ |
D | input_config_parser.c | 176 BoardPwrCfg *power) in ParsePower() argument 179 ret = parser->GetUint16(powerNode, "vccType", &power->vcc.pwrType, 0); in ParsePower() 181 ret = parser->GetUint16(powerNode, "vccNum", &power->vcc.pwrNum, 0); in ParsePower() 183 ret = parser->GetUint32(powerNode, "vccValue", &power->vcc.pwrValue, 0); in ParsePower() 185 ret = parser->GetUint16(powerNode, "vciType", &power->vci.pwrType, 0); in ParsePower() 187 ret = parser->GetUint16(powerNode, "vciNum", &power->vci.pwrNum, 0); in ParsePower() 189 ret = parser->GetUint32(powerNode, "vciValue", &power->vci.pwrValue, 0); in ParsePower() 244 ret = ParsePower(parser, powerNode, &config->power); in ParseTouchBoardConfig()
|
/drivers/interface/wlan/v1_1/ |
D | IWlanInterface.idl | 23 …* manage WLAN chips, network devices, and power, and apply for, release, and move network data buf… 297 …* including the transmit power and supported channels of the AP, ensuring that radio attributes of… 341 * @brief Sets the transmit power. 344 * @param power Indicates the transmit power to set. 352 SetTxPower([in] struct HdfFeatureInfo ifeature, [in] int power); 382 * @brief Obtains the power mode in use. 385 …* @param mode Indicates the power mode obtained. The power mode can be <b>sleeping</b> (running in… 386 * <b>general</b> (running at normal rated power), 387 …* and <b>through-wall</b> (running at the maximum power to improve the signal strength and coverag… 398 * @brief Sets the power mode. [all …]
|
/drivers/peripheral/sensor/hal/include/ |
D | sensor_controller.h | 51 int32_t power; /* Sensor power */ member
|
/drivers/peripheral/power/test/unittest/ |
D | BUILD.gn | 18 module_output_path = "drivers_peripheral_power/power" 37 deps = [ "../../../../interface/power/v1_1:libpower_stub_1.1" ]
|
/drivers/hdf_core/framework/model/display/driver/lcdkit/ |
D | lcdkit_parse_config.c | 169 …setting->power = (struct PowerDesc *)OsalMemCalloc((count / POWER_SETTING_SIZE) * sizeof(struct Po… in ParsePowerSetting() 170 if (setting->power == NULL) { in ParsePowerSetting() 177 setting->power[i].type = tmp[i]; // get power type in ParsePowerSetting() 178 setting->power[i].num = tmp[i + 1]; // 1-get power num in ParsePowerSetting() 179 setting->power[i].vol = tmp[i + 2]; // 2-get power vol in ParsePowerSetting()
|
D | lite_lcdkit.h | 56 struct PowerDesc *power; member
|
/drivers/hdf_core/framework/model/camera/device_impl/include/ |
D | camera_common_device.h | 16 int32_t CommonDevicePowerOperation(struct CommonDevice *comDev, enum DevicePowerState power);
|
/drivers/hdf_core/framework/model/audio/sapm/src/ |
D | audio_sapm.c | 928 uint8_t power, struct DListHead *upList, struct DListHead *downList) in AudioSapmSetPower() argument 939 if ((path->source->power != power) && path->connect) { in AudioSapmSetPower() 948 if ((path->sink->power != power) && path->connect) { in AudioSapmSetPower() 956 if (power) { in AudioSapmSetPower() 957 AudioSapmPowerSeqInsert(sapmComponent, upList, power); in AudioSapmSetPower() 959 AudioSapmPowerSeqInsert(sapmComponent, downList, power); in AudioSapmSetPower() 977 if (sapmComponent->power == SAPM_POWER_DOWN) { in AudioSapmPowerUpSeqRun() 982 sapmComponent->power = SAPM_POWER_UP; in AudioSapmPowerUpSeqRun() 1009 if (sapmComponent->power == SAPM_POWER_UP) { in AudioSapmPowerDownSeqRun() 1014 sapmComponent->power = SAPM_POWER_DOWN; in AudioSapmPowerDownSeqRun() [all …]
|
/drivers/peripheral/wlan/interfaces/include/ |
D | wifi_hal_base_feature.h | 185 int32_t (*setTxPower)(const struct IWiFiBaseFeature *baseFeature, int32_t power);
|
/drivers/interface/input/v1_0/ |
D | IInputInterfaces.idl | 136 * @brief Sets the power status of the input device indicated by <b>devIndex</b>. 138 …OS enters the sleep mode or wakes up from the sleep mode, the input service or the power management 139 …* module can set the power status of the input device, so that the driver IC of the device enters … 145 * state, <b>2</b> indicates the low power state, and <b>3</b> indicates an unknown power state. 156 * @brief Obtains the power status of the input device indicated by <b>devIndex</b>. 158 …OS enters the sleep mode or wakes up from the sleep mode, the input service or the power management 159 * module can obtain the power status of the input device. 164 * state, <b>2</b> indicates the low power state, and <b>3</b> indicates an unknown power state.
|