/drivers/peripheral/thermal/interfaces/hdi_service/src/ |
D | thermal_interface_impl.cpp | 117 int32_t ThermalInterfaceImpl::SetCpuFreq(int32_t freq) in SetCpuFreq() argument 119 if (freq <= 0) { in SetCpuFreq() 120 THERMAL_HILOGE(COMP_HDI, "invalid freq %{public}d", freq); in SetCpuFreq() 124 int32_t ret = mitigation_->CpuRequest(freq); in SetCpuFreq() 133 int32_t ThermalInterfaceImpl::SetGpuFreq(int32_t freq) in SetGpuFreq() argument 135 if (freq <= 0) { in SetGpuFreq() 136 THERMAL_HILOGE(COMP_HDI, "invalid freq %{public}d", freq); in SetGpuFreq() 140 int32_t ret = mitigation_->GpuRequest(freq); in SetGpuFreq()
|
D | thermal_device_mitigation.cpp | 97 int32_t ThermalDeviceMitigation::ExecuteCpuRequest(uint32_t freq, const std::string &path) in ExecuteCpuRequest() argument 109 if (snprintf_s(freqBuf, MAX_PATH, sizeof(freqBuf) - 1, "%d", freq) < EOK) { in ExecuteCpuRequest() 113 THERMAL_HILOGI(COMP_HDI, "Set freq to %{public}d", freq); in ExecuteCpuRequest() 122 int32_t ThermalDeviceMitigation::CpuRequest(uint32_t freq) in CpuRequest() argument 124 int32_t ret = ExecuteCpuRequest(freq, SIM_CPU_FREQ_PATH); in CpuRequest() 144 int32_t ThermalDeviceMitigation::GpuRequest(uint32_t freq) in GpuRequest() argument 155 ret = snprintf_s(freqBuf, MAX_PATH, sizeof(freqBuf) - 1, "%d", freq); in GpuRequest() 160 THERMAL_HILOGI(COMP_HDI, "Set freq to %{public}d", freq); in GpuRequest()
|
/drivers/hdf_core/framework/support/platform/src/rtc/ |
D | rtc_if.c | 107 int32_t RtcGetFreq(DevHandle handle, uint32_t *freq) in RtcGetFreq() argument 109 if (handle == NULL || freq == NULL) { in RtcGetFreq() 114 return RtcHostGetFreq((struct RtcHost *)handle, freq); in RtcGetFreq() 117 int32_t RtcSetFreq(DevHandle handle, uint32_t freq) in RtcSetFreq() argument 124 return RtcHostSetFreq((struct RtcHost *)handle, freq); in RtcSetFreq()
|
D | rtc_core.c | 106 int32_t RtcHostGetFreq(struct RtcHost *host, uint32_t *freq) in RtcHostGetFreq() argument 108 if (host == NULL || freq == NULL) { in RtcHostGetFreq() 118 return host->method->GetFreq(host, freq); in RtcHostGetFreq() 121 int32_t RtcHostSetFreq(struct RtcHost *host, uint32_t freq) in RtcHostSetFreq() argument 133 return host->method->SetFreq(host, freq); in RtcHostSetFreq()
|
D | rtc_service.c | 186 uint32_t freq = 0; in RtcServiceIoGetFreq() local 188 ret = RtcHostGetFreq(host, &freq); in RtcServiceIoGetFreq() 194 if (!HdfSbufWriteUint32(reply, freq)) { in RtcServiceIoGetFreq() 205 uint32_t freq = 0; in RtcServiceIoSetFreq() local 207 if (!HdfSbufReadUint32(data, &freq)) { in RtcServiceIoSetFreq() 212 ret = RtcHostSetFreq(host, freq); in RtcServiceIoSetFreq()
|
D | rtc_if_u.c | 398 int32_t RtcGetFreq(DevHandle handle, uint32_t *freq) in RtcGetFreq() argument 404 if (handle == NULL || freq == NULL) { in RtcGetFreq() 428 if (!HdfSbufReadUint32(reply, freq)) { in RtcGetFreq() 438 int32_t RtcSetFreq(DevHandle handle, uint32_t freq) in RtcSetFreq() argument 455 if (!HdfSbufWriteUint32(data, freq)) { in RtcSetFreq()
|
/drivers/peripheral/thermal/interfaces/hdi_service/include/ |
D | thermal_device_mitigation.h | 30 int32_t ExecuteCpuRequest(uint32_t freq, const std::string &path); 31 int32_t CpuRequest(uint32_t freq); 32 int32_t GpuRequest(uint32_t freq);
|
D | thermal_interface_impl.h | 31 int32_t SetCpuFreq(int32_t freq) override; 33 int32_t SetGpuFreq(int32_t freq) override;
|
/drivers/hdf_core/adapter/platform/pwm/ |
D | pwm_wm.c | 19 uint32_t freq; member 39 uint32_t freq; in PwmDevSetConfig() local 55 freq = prvPwm->resource.freq; in PwmDevSetConfig() 58 tls_pwm_init(pwmCfg->channel, freq, pwmCfg->duty, pwmCfg->pnum); in PwmDevSetConfig() 91 if (dri->GetUint32(resourceNode, "freq", &resource->freq, 0) != HDF_SUCCESS) { in GetPwmDeviceResource()
|
/drivers/hdf_core/framework/model/network/wifi/include/ |
D | hdf_wifi_cmd.h | 175 int32_t freq; member 186 uint32_t freq; member 205 uint32_t freq; member 211 uint32_t freq; member 237 int32_t freq; member 314 uint32_t freq; member 364 int32_t freq; member 387 uint32_t freq; member 401 uint16_t freq; member 408 int32_t freq; member
|
/drivers/hdf_core/framework/include/wifi/ |
D | hdf_wifi_event.h | 270 …int16_t freq; /**< Center frequency of the channel where the BSS is located */ member 290 uint16_t freq; /**< Frequency of the AP */ member 425 int32_t HdfWifiEventRxMgmt(const struct NetDevice *netDev, int32_t freq, int32_t sigMbm, 439 int32_t HdfWifiEventCsaChannelSwitch(const struct NetDevice *netDev, int32_t freq); 477 int32_t HdfWifiEventRemainOnChannel(const struct NetDevice *netDev, uint32_t freq, uint32_t duratio… 479 int32_t HdfWifiEventCancelRemainOnChannel(const struct NetDevice *netDev, uint32_t freq);
|
/drivers/hdf_core/framework/support/platform/include/rtc/ |
D | rtc_core.h | 40 int32_t (*GetFreq)(struct RtcHost *host, uint32_t *freq); 41 int32_t (*SetFreq)(struct RtcHost *host, uint32_t freq); 67 int32_t RtcHostGetFreq(struct RtcHost *host, uint32_t *freq); 69 int32_t RtcHostSetFreq(struct RtcHost *host, uint32_t freq);
|
/drivers/hdf_core/framework/model/network/wifi/platform/src/ |
D | hdf_wifi_event.c | 221 …!HdfSbufWriteUint16(data, result->freq) || !HdfSbufWriteBuffer(data, result->bssid, ETH_ADDR_LEN) … in HdfWifiEventConnectResult() 297 int32_t HdfWifiEventCsaChannelSwitch(const struct NetDevice *netDev, int32_t freq) in HdfWifiEventCsaChannelSwitch() argument 313 if (!HdfSbufWriteString(data, netDev->name) || !HdfSbufWriteUint32(data, freq)) { in HdfWifiEventCsaChannelSwitch() 350 int32_t HdfWifiEventRxMgmt(const struct NetDevice *netDev, int32_t freq, int32_t sigMbm, const uint… in HdfWifiEventRxMgmt() argument 366 if (!HdfSbufWriteString(data, netDev->name) || !HdfSbufWriteUint32(data, freq) || in HdfWifiEventRxMgmt() 436 int32_t HdfWifiEventRemainOnChannel(const struct NetDevice *netDev, uint32_t freq, uint32_t duratio… in HdfWifiEventRemainOnChannel() argument 446 if (!HdfSbufWriteString(data, netDev->name) || !HdfSbufWriteUint32(data, freq)) { in HdfWifiEventRemainOnChannel() 461 int32_t HdfWifiEventCancelRemainOnChannel(const struct NetDevice *netDev, uint32_t freq) in HdfWifiEventCancelRemainOnChannel() argument 471 if (!HdfSbufWriteString(data, netDev->name) || !HdfSbufWriteUint32(data, freq)) { in HdfWifiEventCancelRemainOnChannel()
|
/drivers/interface/thermal/v1_0/ |
D | IThermalInterface.idl | 56 * @param freq CPU frequency to set. 62 SetCpuFreq([in] int freq); 67 * @param freq GPU frequency to set. 73 SetGpuFreq([in] int freq);
|
/drivers/peripheral/wlan/client/include/ |
D | wifi_driver_client.h | 132 int32_t freq; member 146 uint32_t freq; member 173 uint16_t freq; member 364 int32_t freq; member 416 uint32_t freq; member 445 uint32_t freq; member 494 uint32_t freq; member 519 uint32_t freq; member 525 uint32_t freq; member
|
/drivers/hdf_core/framework/include/platform/ |
D | rtc_if.h | 220 int32_t RtcGetFreq(DevHandle handle, uint32_t *freq); 235 int32_t RtcSetFreq(DevHandle handle, uint32_t freq);
|
/drivers/interface/thermal/v1_1/ |
D | IThermalInterface.idl | 57 * @param freq CPU frequency to set. 63 SetCpuFreq([in] int freq); 68 * @param freq GPU frequency to set. 74 SetGpuFreq([in] int freq);
|
/drivers/peripheral/thermal/test/unittest/ |
D | hdf_thermal_hdi_test.cpp | 172 std::string freq = freqValue; variable 173 int32_t value = HdfThermalHdiTest::ConvertInt(freq); 204 std::string freq = freqValue; variable 205 int32_t value = HdfThermalHdiTest::ConvertInt(freq);
|
/drivers/peripheral/wlan/client/src/sbuf/ |
D | sbuf_event_adapter.c | 68 if (!HdfSbufReadInt32(reqData, &rxMgmt.freq)) { in WifiEventRxMgmtProcess() 188 if (!HdfSbufReadUint32(reqData, &(scanResult.freq))) { in WifiEventScanResultProcess() 243 if (!HdfSbufReadUint16(reqData, &(result.freq))) { in WifiEventConnectResultProcess() 301 if (!HdfSbufReadUint32(reqData, &(result.freq))) { in WifiDriverEventRemainOnChannelProcess() 315 if (!HdfSbufReadUint32(reqData, &(result.freq))) { in WifiDriverEventCancelRemainOnChannelProcess()
|
/drivers/hdf_core/framework/model/network/wifi/platform/include/ |
D | hdf_wlan_utils.h | 20 struct WlanChannel* WifiGetChannel(struct WlanHwCapability* capality, int32_t freq);
|
/drivers/peripheral/wlan/test/hdi_service/ |
D | wlan_hdi_direct_test.cpp | 288 int32_t freq[WLAN_FREQ_MAX_NUM] = {0}; variable 295 int32_t rc = g_wlanObj->GetFreqsWithBand(g_wlanObj, nullptr, &wifiInfo, freq, &freqLen); 298 rc = g_wlanObj->GetFreqsWithBand(g_wlanObj, &ifeature, &wifiInfo, freq, &freqLen); 301 rc = g_wlanObj->GetFreqsWithBand(g_wlanObj, &ifeature, nullptr, freq, &freqLen); 305 rc = g_wlanObj->GetFreqsWithBand(g_wlanObj, &ifeature, &wifiInfo, freq, nullptr); 307 rc = g_wlanObj->GetFreqsWithBand(g_wlanObj, &ifeature, &wifiInfo, freq, &freqLen); 694 int32_t freq = WLAN_TX_POWER; variable 699 int32_t rc = g_wlanObj->SendActionFrame(g_wlanObj, nullptr, freq, frameData, frameDataLen); 703 rc = g_wlanObj->SendActionFrame(g_wlanObj, ifName, freq, nullptr, frameDataLen); 705 rc = g_wlanObj->SendActionFrame(g_wlanObj, ifName, freq, frameData, 0); [all …]
|
D | wlan_callback_impl.c | 67 scanResult->flags, scanResult->caps, scanResult->freq, scanResult->beaconInt); in WlanCallbackScanResult() 88 scanResult->flags, scanResult->caps, scanResult->freq, scanResult->beaconInt); in WlanCallbackScanResults()
|
/drivers/peripheral/wlan/wpa/client/include/ |
D | wpa_client.h | 208 int freq; member 229 int freq; member
|
/drivers/peripheral/wlan/hdi_service/service_common/ |
D | wlan_common_cmd.h | 34 const struct HdfWifiInfo *wifiInfo, int32_t *freq, uint32_t *freqLen); 70 int32_t WlanInterfaceSendActionFrame(struct IWlanInterface *self, const char *ifName, uint32_t freq,
|
/drivers/interface/wlan/wpa/v1_0/ |
D | WpaTypes.idl | 71 int freq; 115 int freq; 344 int freq; 432 int freq; 470 int freq;
|