Home
last modified time | relevance | path

Searched refs:pwrstats (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Ddhd_linux_exportfs.c810 wl_pwrstats_t *pwrstats; in show_pwrstats_path() local
848 pwrstats = (wl_pwrstats_t *) iovar_buf; in show_pwrstats_path()
849 if (dtoh16(pwrstats->version) != WL_PWRSTATS_VERSION) { in show_pwrstats_path()
855 len = dtoh16(pwrstats->length) - WL_PWR_STATS_HDRLEN; in show_pwrstats_path()
856 p_data = pwrstats->data; in show_pwrstats_path()
H A Dwl_cfgvendor.c6877 wl_pwrstats_t *pwrstats; in wl_cfgvendor_lstats_get_info() local
6943 pwrstats = (wl_pwrstats_t *) iovar_buf; in wl_cfgvendor_lstats_get_info()
6945 if (dtoh16(pwrstats->version) != WL_PWRSTATS_VERSION) { in wl_cfgvendor_lstats_get_info()
6951 scan_time_len = dtoh16(((uint16 *)pwrstats->data)[1]); in wl_cfgvendor_lstats_get_info()
6960 (void) memcpy_s(&scan_stats, sizeof(wl_pwr_scan_stats_t), pwrstats->data, scan_time_len); in wl_cfgvendor_lstats_get_info()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Ddhd_linux_exportfs.c812 wl_pwrstats_t *pwrstats; in show_pwrstats_path() local
850 pwrstats = (wl_pwrstats_t *) iovar_buf; in show_pwrstats_path()
851 if (dtoh16(pwrstats->version) != WL_PWRSTATS_VERSION) { in show_pwrstats_path()
857 len = dtoh16(pwrstats->length) - WL_PWR_STATS_HDRLEN; in show_pwrstats_path()
858 p_data = pwrstats->data; in show_pwrstats_path()
H A Dwl_cfgvendor.c6883 wl_pwrstats_t *pwrstats; in wl_cfgvendor_lstats_get_info() local
6949 pwrstats = (wl_pwrstats_t *) iovar_buf; in wl_cfgvendor_lstats_get_info()
6951 if (dtoh16(pwrstats->version) != WL_PWRSTATS_VERSION) { in wl_cfgvendor_lstats_get_info()
6957 scan_time_len = dtoh16(((uint16 *)pwrstats->data)[1]); in wl_cfgvendor_lstats_get_info()
6966 (void) memcpy_s(&scan_stats, sizeof(wl_pwr_scan_stats_t), pwrstats->data, scan_time_len); in wl_cfgvendor_lstats_get_info()