/linux/drivers/net/wireless/ath/ath9k/ |
A D | wmi.c | 93 struct wmi *wmi; in ath9k_init_wmi() local 95 wmi = kzalloc(sizeof(struct wmi), GFP_KERNEL); in ath9k_init_wmi() 96 if (!wmi) in ath9k_init_wmi() 111 return wmi; in ath9k_init_wmi() 116 struct wmi *wmi = priv->wmi; in ath9k_stop_wmi() local 140 struct wmi *wmi = from_tasklet(wmi, t, wmi_event_tasklet); in ath9k_wmi_event_tasklet() local 203 if (wmi->cmd_rsp_buf != NULL && wmi->cmd_rsp_len != 0) in ath9k_wmi_rsp_callback() 212 struct wmi *wmi = priv; in ath9k_wmi_ctrl_rx() local 276 static int ath9k_wmi_cmd_issue(struct wmi *wmi, in ath9k_wmi_cmd_issue() argument 288 wmi->last_seq_id = wmi->tx_seq_id; in ath9k_wmi_cmd_issue() [all …]
|
A D | htc_drv_init.c | 297 priv->wmi->multi_write_idx); in ath9k_regwrite_multi() 332 priv->wmi->multi_write[priv->wmi->multi_write_idx].reg = in ath9k_regwrite_buffer() 334 priv->wmi->multi_write[priv->wmi->multi_write_idx].val = in ath9k_regwrite_buffer() 337 priv->wmi->multi_write_idx++; in ath9k_regwrite_buffer() 395 priv->wmi->multi_rmw[priv->wmi->multi_rmw_idx].reg = in ath9k_reg_rmw_buffer() 397 priv->wmi->multi_rmw[priv->wmi->multi_rmw_idx].set = in ath9k_reg_rmw_buffer() 399 priv->wmi->multi_rmw[priv->wmi->multi_rmw_idx].clr = in ath9k_reg_rmw_buffer() 402 priv->wmi->multi_rmw_idx++; in ath9k_reg_rmw_buffer() 414 priv->wmi->multi_rmw_idx); in ath9k_reg_rmw_buffer() 446 priv->wmi->multi_rmw_idx); in ath9k_reg_rmw_flush() [all …]
|
A D | wmi.h | 148 struct wmi { struct 181 struct wmi *ath9k_init_wmi(struct ath9k_htc_priv *priv); argument 182 int ath9k_wmi_connect(struct htc_target *htc, struct wmi *wmi, 184 int ath9k_wmi_cmd(struct wmi *wmi, enum wmi_cmd_id cmd_id, 196 ret = ath9k_wmi_cmd(priv->wmi, _wmi_cmd, NULL, 0, \ 203 ret = ath9k_wmi_cmd(priv->wmi, _wmi_cmd, \
|
/linux/drivers/net/wireless/ath/ath6kl/ |
A D | wmi.c | 27 static int ath6kl_wmi_sync_point(struct wmi *wmi, u8 if_idx); 1607 int ath6kl_wmi_set_txe_notify(struct wmi *wmi, u8 idx, in ath6kl_wmi_set_txe_notify() argument 1847 int ath6kl_wmi_connect_cmd(struct wmi *wmi, u8 if_idx, in ath6kl_wmi_connect_cmd() argument 2694 int ath6kl_wmi_set_ip_cmd(struct wmi *wmi, u8 if_idx, in ath6kl_wmi_set_ip_cmd() argument 3094 int ath6kl_wmi_get_roam_tbl_cmd(struct wmi *wmi) in ath6kl_wmi_get_roam_tbl_cmd() argument 4138 void ath6kl_wmi_reset(struct wmi *wmi) in ath6kl_wmi_reset() argument 4150 struct wmi *wmi; in ath6kl_wmi_init() local 4152 wmi = kzalloc(sizeof(struct wmi), GFP_KERNEL); in ath6kl_wmi_init() 4153 if (!wmi) in ath6kl_wmi_init() 4167 void ath6kl_wmi_shutdown(struct wmi *wmi) in ath6kl_wmi_shutdown() argument [all …]
|
A D | wmi.h | 111 struct wmi { struct 2555 int ath6kl_wmi_connect_cmd(struct wmi *wmi, u8 if_idx, 2570 int ath6kl_wmi_beginscan_cmd(struct wmi *wmi, u8 if_idx, 2591 int ath6kl_wmi_bmisstime_cmd(struct wmi *wmi, u8 if_idx, 2625 int ath6kl_wmi_get_roam_tbl_cmd(struct wmi *wmi); 2630 int ath6kl_wmi_set_htcap_cmd(struct wmi *wmi, u8 if_idx, 2637 int ath6kl_wmi_set_ip_cmd(struct wmi *wmi, u8 if_idx, 2663 int ath6kl_wmi_set_txe_notify(struct wmi *wmi, u8 idx, 2670 int ath6kl_wmi_set_apsd_bfrd_traf(struct wmi *wmi, 2728 void ath6kl_wmi_shutdown(struct wmi *wmi); [all …]
|
A D | cfg80211.c | 1933 ret = ath6kl_wmi_add_wow_pattern_cmd(ar->wmi, in ath6kl_wow_usr() 1993 ret = ath6kl_wmi_add_wow_pattern_cmd(ar->wmi, in ath6kl_wow_ap() 2003 ret = ath6kl_wmi_add_wow_pattern_cmd(ar->wmi, in ath6kl_wow_ap() 2016 ret = ath6kl_wmi_add_wow_pattern_cmd(ar->wmi, in ath6kl_wow_ap() 2026 ret = ath6kl_wmi_add_wow_pattern_cmd(ar->wmi, in ath6kl_wow_ap() 2049 ret = ath6kl_wmi_add_wow_pattern_cmd(ar->wmi, in ath6kl_wow_sta() 2363 ar->wmi->saved_pwr_mode = ar->wmi->pwr_mode; in ath6kl_cfg80211_deepsleep_suspend() 2396 if (ar->wmi->pwr_mode != ar->wmi->saved_pwr_mode) { in ath6kl_cfg80211_deepsleep_resume() 2397 ret = ath6kl_wmi_powermode_cmd(ar->wmi, 0, in ath6kl_cfg80211_deepsleep_resume() 2398 ar->wmi->saved_pwr_mode); in ath6kl_cfg80211_deepsleep_resume() [all …]
|
A D | main.c | 361 ath6kl_wmi_addkey_cmd(vif->ar->wmi, vif->fw_vif_idx, in ath6kl_install_static_wep_keys() 403 ar->wmi, vif->fw_vif_idx, ik->key_index, ik->key_type, in ath6kl_connect_ap_mode_bss() 570 ath6kl_wmi_bssfilter_cmd(ar->wmi, vif->fw_vif_idx, in ath6kl_scan_complete_evt() 592 ath6kl_wmi_set_ie_cmd(ar->wmi, vif->fw_vif_idx, in ath6kl_commit_ch_switch() 646 ath6kl_wmi_listeninterval_cmd(ar->wmi, vif->fw_vif_idx, in ath6kl_connect_event() 671 ath6kl_wmi_bssfilter_cmd(ar->wmi, vif->fw_vif_idx, in ath6kl_connect_event() 901 ath6kl_wmi_send_mgmt_cmd(ar->wmi, vif->fw_vif_idx, in ath6kl_pspoll_event() 1008 ath6kl_wmi_set_pvb_cmd(ar->wmi, vif->fw_vif_idx, in ath6kl_disconnect_event() 1041 ath6kl_wmi_bssfilter_cmd(ar->wmi, vif->fw_vif_idx, in ath6kl_disconnect_event() 1132 err = ath6kl_wmi_set_rx_frame_format_cmd(ar->wmi, in ath6kl_set_features() [all …]
|
A D | core.c | 146 ar->wmi = ath6kl_wmi_init(ar); in ath6kl_core_init() 147 if (!ar->wmi) { in ath6kl_core_init() 153 ath6kl_dbg(ATH6KL_DBG_TRC, "%s: got wmi @ 0x%p.\n", __func__, ar->wmi); in ath6kl_core_init() 251 ath6kl_wmi_shutdown(ar->wmi); in ath6kl_core_init() 253 ar->wmi = NULL; in ath6kl_core_init()
|
/linux/drivers/net/wireless/ath/ath10k/ |
A D | wmi-ops.h | 240 ar->wmi.ops->rx(ar, skb); in ath10k_wmi_rx() 248 if (!ar->wmi.ops->map_svc) in ath10k_wmi_map_svc() 259 if (!ar->wmi.ops->map_svc_ext) in ath10k_wmi_map_svc_ext() 270 if (!ar->wmi.ops->pull_scan) in ath10k_wmi_pull_scan() 340 if (!ar->wmi.ops->pull_swba) in ath10k_wmi_pull_swba() 360 if (!ar->wmi.ops->pull_phyerr) in ath10k_wmi_pull_phyerr() 380 if (!ar->wmi.ops->pull_rdy) in ath10k_wmi_pull_rdy() 598 if (!ar->wmi.ops->gen_init) in ath10k_wmi_cmd_init() 1580 struct ath10k_wmi *wmi = &ar->wmi; in ath10k_wmi_pdev_bss_chan_info_request() local 1597 struct ath10k_wmi *wmi = &ar->wmi; in ath10k_wmi_echo() local [all …]
|
A D | thermal.c | 132 if (!test_bit(WMI_SERVICE_THERM_THROT, ar->wmi.svc_map)) in ath10k_thermal_set_throttling() 135 if (!ar->wmi.ops->gen_pdev_set_quiet_mode) in ath10k_thermal_set_throttling() 160 if (!test_bit(WMI_SERVICE_THERM_THROT, ar->wmi.svc_map)) in ath10k_thermal_register() 185 if (!(ar->wmi.ops->gen_pdev_get_temperature)) in ath10k_thermal_register() 214 if (!test_bit(WMI_SERVICE_THERM_THROT, ar->wmi.svc_map)) in ath10k_thermal_unregister()
|
A D | mac.c | 2682 arvif->ar->wmi.peer_flags->qos)); in ath10k_peer_assoc_h_qos() 2830 ar->wmi.peer_param->smps_state, in ath10k_setup_peer_smps() 2853 param = ar->wmi.vdev_param->txbf; in ath10k_mac_vif_recalc_txbf() 3146 ar->wmi.peer_param->dummy_var, 1); in ath10k_bss_assoc() 3964 ar->wmi.svc_map)) in ath10k_mac_tx_h_get_txpath() 5187 param = ar->wmi.pdev_param->pmf_qos; in ath10k_start() 5632 ar->wmi.svc_map)) { in ath10k_add_interface() 6718 ar->wmi.peer_param->nss, nss); in ath10k_sta_rc_update_wk() 6984 ar->wmi.svc_map))) in ath10k_mac_tid_bitrate_config() 10073 ar->wmi.svc_map)) { in ath10k_mac_register() [all …]
|
A D | wmi.c | 2404 struct ath10k_wmi *wmi = &ar->wmi; in wmi_process_mgmt_tx_comp() local 2835 complete(&ar->wmi.barrier); in ath10k_wmi_event_echo() 5349 ar->wmi.num_mem_chunks++; in ath10k_wmi_alloc_chunk() 6390 memset(&ar->wmi.svc_map, 0, sizeof(ar->wmi.svc_map)); in ath10k_wmi_connect() 6410 ar->wmi.eid = conn_resp.eid; in ath10k_wmi_connect() 9463 ar->wmi.ops = &wmi_10_4_ops; in ath10k_wmi_attach() 9482 ar->wmi.ops = &wmi_10_2_ops; in ath10k_wmi_attach() 9491 ar->wmi.ops = &wmi_10_1_ops; in ath10k_wmi_attach() 9499 ar->wmi.cmd = &wmi_cmd_map; in ath10k_wmi_attach() 9500 ar->wmi.ops = &wmi_ops; in ath10k_wmi_attach() [all …]
|
A D | Makefile | 11 wmi.o \ 12 wmi-tlv.o \
|
/linux/drivers/platform/x86/dell/ |
A D | Makefile | 7 obj-$(CONFIG_ALIENWARE_WMI) += alienware-wmi.o 14 dell-smbios-$(CONFIG_DELL_SMBIOS_WMI) += dell-smbios-wmi.o 17 obj-$(CONFIG_DELL_WMI) += dell-wmi.o 18 dell-wmi-objs := dell-wmi-base.o 19 dell-wmi-$(CONFIG_DELL_WMI_PRIVACY) += dell-wmi-privacy.o 20 obj-$(CONFIG_DELL_WMI_AIO) += dell-wmi-aio.o 21 obj-$(CONFIG_DELL_WMI_DESCRIPTOR) += dell-wmi-descriptor.o 22 obj-$(CONFIG_DELL_WMI_LED) += dell-wmi-led.o 23 obj-$(CONFIG_DELL_WMI_SYSMAN) += dell-wmi-sysman/
|
A D | dell-smbios-base.c | 564 int ret, wmi, smm; in dell_smbios_init() local 588 wmi = init_dell_smbios_wmi(); in dell_smbios_init() 589 if (wmi) in dell_smbios_init() 590 pr_debug("Failed to initialize WMI backend: %d\n", wmi); in dell_smbios_init() 594 if (wmi && smm) { in dell_smbios_init() 596 wmi, smm); in dell_smbios_init()
|
/linux/drivers/platform/x86/ |
A D | Makefile | 8 obj-$(CONFIG_ACPI_WMI) += wmi.o 9 obj-$(CONFIG_WMI_BMOF) += wmi-bmof.o 12 obj-$(CONFIG_HUAWEI_WMI) += huawei-wmi.o 13 obj-$(CONFIG_MXM_WMI) += mxm-wmi.o 15 obj-$(CONFIG_PEAQ_WMI) += peaq-wmi.o 16 obj-$(CONFIG_XIAOMI_WMI) += xiaomi-wmi.o 22 obj-$(CONFIG_ACER_WMI) += acer-wmi.o 36 obj-$(CONFIG_ASUS_WMI) += asus-wmi.o 39 obj-$(CONFIG_EEEPC_WMI) += eeepc-wmi.o 57 obj-$(CONFIG_HP_WMI) += hp-wmi.o [all …]
|
/linux/drivers/net/wireless/ath/ath11k/ |
A D | wmi.c | 581 struct ath11k_pdev_wmi *wmi = ar->wmi; in ath11k_wmi_mgmt_send() local 630 struct ath11k_pdev_wmi *wmi = ar->wmi; in ath11k_wmi_vdev_create() local 706 struct ath11k_pdev_wmi *wmi = ar->wmi; in ath11k_wmi_vdev_delete() local 733 struct ath11k_pdev_wmi *wmi = ar->wmi; in ath11k_wmi_vdev_stop() local 761 struct ath11k_pdev_wmi *wmi = ar->wmi; in ath11k_wmi_vdev_down() local 843 struct ath11k_pdev_wmi *wmi = ar->wmi; in ath11k_wmi_vdev_start() local 931 struct ath11k_pdev_wmi *wmi = ar->wmi; in ath11k_wmi_vdev_up() local 965 struct ath11k_pdev_wmi *wmi = ar->wmi; in ath11k_wmi_send_peer_create_cmd() local 998 struct ath11k_pdev_wmi *wmi = ar->wmi; in ath11k_wmi_send_peer_delete_cmd() local 1030 struct ath11k_pdev_wmi *wmi = ar->wmi; in ath11k_wmi_send_pdev_set_regdomain() local [all …]
|
A D | testmode.c | 120 struct ath11k_pdev_wmi *wmi = ar->wmi; in ath11k_tm_cmd_wmi() local 153 skb = ath11k_wmi_alloc_skb(wmi->wmi_ab, buf_len); in ath11k_tm_cmd_wmi() 161 ret = ath11k_wmi_cmd_send(wmi, skb, cmd_id); in ath11k_tm_cmd_wmi()
|
/linux/drivers/platform/x86/intel/wmi/ |
A D | Makefile | 6 intel-wmi-sbl-fw-update-y := sbl-fw-update.o 7 obj-$(CONFIG_INTEL_WMI_SBL_FW_UPDATE) += intel-wmi-sbl-fw-update.o 8 intel-wmi-thunderbolt-y := thunderbolt.o 9 obj-$(CONFIG_INTEL_WMI_THUNDERBOLT) += intel-wmi-thunderbolt.o
|
A D | Kconfig | 18 be called intel-wmi-sbl-fw-update. 31 be called intel-wmi-thunderbolt.
|
/linux/drivers/net/wireless/ath/wil6210/ |
A D | trace.h | 30 TP_PROTO(struct wmi_cmd_hdr *wmi, void *buf, u16 buf_len), 32 TP_ARGS(wmi, buf, buf_len), 43 __entry->mid = wmi->mid; 44 __entry->command_id = le16_to_cpu(wmi->command_id); 45 __entry->fw_timestamp = le32_to_cpu(wmi->fw_timestamp); 58 TP_PROTO(struct wmi_cmd_hdr *wmi, void *buf, u16 buf_len), 59 TP_ARGS(wmi, buf, buf_len) 63 TP_PROTO(struct wmi_cmd_hdr *wmi, void *buf, u16 buf_len), 64 TP_ARGS(wmi, buf, buf_len)
|
A D | wmi.c | 638 struct wmi_cmd_hdr wmi; in __wmi_send() member 645 .wmi = { in __wmi_send() 1978 struct wmi_cmd_hdr *wmi = &evt->event.wmi; in wmi_recv_cmd() local 1980 u8 mid = wmi->mid; in wmi_recv_cmd() 2009 trace_wil6210_wmi_event(wmi, &wmi[1], in wmi_recv_cmd() 2135 struct wmi_cmd_hdr wmi; in wmi_led_cfg() member 2180 struct wmi_cmd_hdr wmi; in wmi_rbufcap_cfg() member 2222 struct wmi_cmd_hdr wmi; in wmi_pcp_start() member 2298 struct wmi_cmd_hdr wmi; in wmi_get_ssid() member 2337 struct wmi_cmd_hdr wmi; in wmi_get_channel() member [all …]
|
/linux/Documentation/ABI/testing/ |
A D | sysfs-platform-dell-privacy-wmi | 1 What: /sys/bus/wmi/devices/6932965F-1671-4CEB-B988-D3AB0A901919/dell_privacy_supported_type 32 …# cat /sys/bus/wmi/drivers/dell-privacy/6932965F-1671-4CEB-B988-D3AB0A901919/dell_privacy_supporte… 37 What: /sys/bus/wmi/devices/6932965F-1671-4CEB-B988-D3AB0A901919/dell_privacy_current_state 69 …# cat /sys/bus/wmi/drivers/dell-privacy/6932965F-1671-4CEB-B988-D3AB0A901919/dell_privacy_current_…
|
A D | dell-smbios-wmi | 1 What: /dev/wmi/dell-smbios 10 <uapi/linux/wmi.h> 20 the WMI character device /dev/wmi/dell-smbios.
|
/linux/drivers/platform/x86/dell/dell-wmi-sysman/ |
A D | Makefile | 1 obj-$(CONFIG_DELL_WMI_SYSMAN) += dell-wmi-sysman.o 2 dell-wmi-sysman-objs := sysman.o \
|