Home
last modified time | relevance | path

Searched refs:wmi (Results 1 – 25 of 110) sorted by relevance

12345

/linux/drivers/net/wireless/ath/ath9k/
H A Dwmi.c93 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
209 if (wmi->cmd_rsp_buf != NULL && wmi->cmd_rsp_len != 0) in ath9k_wmi_rsp_callback()
218 struct wmi *wmi = priv; in ath9k_wmi_ctrl_rx() local
286 static int ath9k_wmi_cmd_issue(struct wmi *wmi, in ath9k_wmi_cmd_issue() argument
304 wmi->last_seq_id = wmi->tx_seq_id; in ath9k_wmi_cmd_issue()
[all …]
H A Dhtc_drv_init.c297 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 …]
H A Dwmi.h148 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/
H A Dwmi.c27 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
1844 int ath6kl_wmi_connect_cmd(struct wmi *wmi, u8 if_idx, in ath6kl_wmi_connect_cmd() argument
2680 int ath6kl_wmi_set_ip_cmd(struct wmi *wmi, u8 if_idx, in ath6kl_wmi_set_ip_cmd() argument
3080 int ath6kl_wmi_get_roam_tbl_cmd(struct wmi *wmi) in ath6kl_wmi_get_roam_tbl_cmd() argument
4124 void ath6kl_wmi_reset(struct wmi *wmi) in ath6kl_wmi_reset() argument
4136 struct wmi *wmi; in ath6kl_wmi_init() local
4138 wmi = kzalloc(sizeof(struct wmi), GFP_KERNEL); in ath6kl_wmi_init()
4139 if (!wmi) in ath6kl_wmi_init()
4153 void ath6kl_wmi_shutdown(struct wmi *wmi) in ath6kl_wmi_shutdown() argument
[all …]
H A Dwmi.h111 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 …]
H A Dcfg80211.c1933 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 …]
H A Dmain.c361 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 …]
/linux/drivers/net/wireless/ath/ath10k/
H A Dwmi-ops.h243 ar->wmi.ops->rx(ar, skb); in ath10k_wmi_rx()
251 if (!ar->wmi.ops->map_svc) in ath10k_wmi_map_svc()
262 if (!ar->wmi.ops->map_svc_ext) in ath10k_wmi_map_svc_ext()
273 if (!ar->wmi.ops->pull_scan) in ath10k_wmi_pull_scan()
343 if (!ar->wmi.ops->pull_swba) in ath10k_wmi_pull_swba()
363 if (!ar->wmi.ops->pull_phyerr) in ath10k_wmi_pull_phyerr()
383 if (!ar->wmi.ops->pull_rdy) in ath10k_wmi_pull_rdy()
601 if (!ar->wmi.ops->gen_init) in ath10k_wmi_cmd_init()
1612 struct ath10k_wmi *wmi = &ar->wmi; in ath10k_wmi_pdev_bss_chan_info_request() local
1629 struct ath10k_wmi *wmi = &ar->wmi; in ath10k_wmi_echo() local
[all …]
H A Dthermal.c133 if (!test_bit(WMI_SERVICE_THERM_THROT, ar->wmi.svc_map)) in ath10k_thermal_set_throttling()
136 if (!ar->wmi.ops->gen_pdev_set_quiet_mode) in ath10k_thermal_set_throttling()
161 if (!test_bit(WMI_SERVICE_THERM_THROT, ar->wmi.svc_map)) in ath10k_thermal_register()
186 if (!(ar->wmi.ops->gen_pdev_get_temperature)) in ath10k_thermal_register()
215 if (!test_bit(WMI_SERVICE_THERM_THROT, ar->wmi.svc_map)) in ath10k_thermal_unregister()
/linux/drivers/platform/x86/dell/
H A DMakefile7 obj-$(CONFIG_ALIENWARE_WMI) += alienware-wmi.o
15 dell-smbios-$(CONFIG_DELL_SMBIOS_WMI) += dell-smbios-wmi.o
19 obj-$(CONFIG_DELL_WMI) += dell-wmi.o
20 dell-wmi-objs := dell-wmi-base.o
21 dell-wmi-$(CONFIG_DELL_WMI_PRIVACY) += dell-wmi-privacy.o
22 obj-$(CONFIG_DELL_WMI_AIO) += dell-wmi-aio.o
23 obj-$(CONFIG_DELL_WMI_DESCRIPTOR) += dell-wmi-descriptor.o
24 obj-$(CONFIG_DELL_WMI_DDV) += dell-wmi-ddv.o
25 obj-$(CONFIG_DELL_WMI_LED) += dell-wmi-led.o
26 obj-$(CONFIG_DELL_WMI_SYSMAN) += dell-wmi-sysman/
/linux/drivers/platform/x86/
H A DMakefile8 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_XIAOMI_WMI) += xiaomi-wmi.o
16 obj-$(CONFIG_GIGABYTE_WMI) += gigabyte-wmi.o
21 obj-$(CONFIG_ACER_WMI) += acer-wmi.o
35 obj-$(CONFIG_ASUS_WMI) += asus-wmi.o
36 obj-$(CONFIG_ASUS_NB_WMI) += asus-nb-wmi.o
39 obj-$(CONFIG_EEEPC_WMI) += eeepc-wmi.o
[all …]
/linux/drivers/hwmon/
H A Dasus_wmi_sensors.c166 struct asus_wmi_wmi_info wmi; member
387 sensor = sensor_data->wmi.info_by_id[i]; in asus_wmi_update_values_for_source()
555 sensor_data->wmi.info_by_id = devm_kcalloc(dev, sensor_data->wmi.sensor_count, in asus_wmi_configure_sensor_setup()
556 sizeof(*sensor_data->wmi.info_by_id), in asus_wmi_configure_sensor_setup()
559 if (!sensor_data->wmi.info_by_id) in asus_wmi_configure_sensor_setup()
574 sensor_data->wmi.info[type] = devm_kcalloc(dev, in asus_wmi_configure_sensor_setup()
576 sizeof(*sensor_data->wmi.info), in asus_wmi_configure_sensor_setup()
578 if (!sensor_data->wmi.info[type]) in asus_wmi_configure_sensor_setup()
600 sensor_data->wmi.info_by_id[i] = temp_sensor; in asus_wmi_configure_sensor_setup()
606 sensor_data->wmi.sensor_count); in asus_wmi_configure_sensor_setup()
[all …]
/linux/drivers/net/wireless/ath/ath11k/
H A Dwmi.c656 struct ath11k_pdev_wmi *wmi = ar->wmi; in ath11k_wmi_mgmt_send() local
708 struct ath11k_pdev_wmi *wmi = ar->wmi; in ath11k_wmi_vdev_create() local
787 struct ath11k_pdev_wmi *wmi = ar->wmi; in ath11k_wmi_vdev_delete() local
814 struct ath11k_pdev_wmi *wmi = ar->wmi; in ath11k_wmi_vdev_stop() local
842 struct ath11k_pdev_wmi *wmi = ar->wmi; in ath11k_wmi_vdev_down() local
925 struct ath11k_pdev_wmi *wmi = ar->wmi; in ath11k_wmi_vdev_start() local
1016 struct ath11k_pdev_wmi *wmi = ar->wmi; in ath11k_wmi_vdev_up() local
1070 struct ath11k_pdev_wmi *wmi = ar->wmi; in ath11k_wmi_send_peer_create_cmd() local
1103 struct ath11k_pdev_wmi *wmi = ar->wmi; in ath11k_wmi_send_peer_delete_cmd() local
1135 struct ath11k_pdev_wmi *wmi = ar->wmi; in ath11k_wmi_send_pdev_set_regdomain() local
[all …]
H A Dtestmode.c303 struct ath11k_pdev_wmi *wmi = ar->wmi; in ath11k_tm_cmd_wmi() local
367 skb = ath11k_wmi_alloc_skb(wmi->wmi_ab, buf_len); in ath11k_tm_cmd_wmi()
375 ret = ath11k_wmi_cmd_send(wmi, skb, cmd_id); in ath11k_tm_cmd_wmi()
392 struct ath11k_pdev_wmi *wmi = ar->wmi; in ath11k_tm_cmd_wmi_ftm() local
436 skb = ath11k_wmi_alloc_skb(wmi->wmi_ab, (chunk_len + in ath11k_tm_cmd_wmi_ftm()
457 ret = ath11k_wmi_cmd_send(wmi, skb, cmd_id); in ath11k_tm_cmd_wmi_ftm()
/linux/Documentation/ABI/testing/
H A Ddebugfs-dell-wmi-ddv1 What: /sys/kernel/debug/dell-wmi-ddv-<wmi_device_name>/fan_sensor_information
15 See Documentation/wmi/devices/dell-wmi-ddv.rst for details.
17 What: /sys/kernel/debug/dell-wmi-ddv-<wmi_device_name>/thermal_sensor_information
34 See Documentation/wmi/devices/dell-wmi-ddv.rst for details.
H A Dsysfs-bus-wmi1 What: /sys/bus/wmi/devices/.../driver_override
11 driver_override file (echo wmi-event-dummy > driver_override).
24 What: /sys/bus/wmi/devices/.../modalias
31 Format: wmi:XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX.
33 What: /sys/bus/wmi/devices/.../guid
42 What: /sys/bus/wmi/devices/.../object_id
50 What: /sys/bus/wmi/devices/.../notify_id
57 What: /sys/bus/wmi/devices/.../instance_count
65 What: /sys/bus/wmi/devices/.../expensive
74 What: /sys/bus/wmi/devices/.../setable
H A Ddebugfs-msi-wmi-platform1 What: /sys/kernel/debug/msi-wmi-platform-<wmi_device_name>/*
14 See Documentation/wmi/devices/msi-wmi-platform.rst for details.
H A Dsysfs-platform-dell-wmi-ddv9 See Documentation/wmi/devices/dell-wmi-ddv.rst for details.
/linux/drivers/net/wireless/ath/ath12k/
H A Dwmi.c774 struct ath12k_wmi_pdev *wmi = ar->wmi; in ath12k_wmi_mgmt_send() local
820 struct ath12k_wmi_pdev *wmi = ar->wmi; in ath12k_wmi_vdev_create() local
899 struct ath12k_wmi_pdev *wmi = ar->wmi; in ath12k_wmi_vdev_delete() local
926 struct ath12k_wmi_pdev *wmi = ar->wmi; in ath12k_wmi_vdev_stop() local
954 struct ath12k_wmi_pdev *wmi = ar->wmi; in ath12k_wmi_vdev_down() local
1023 struct ath12k_wmi_pdev *wmi = ar->wmi; in ath12k_wmi_vdev_start() local
1109 struct ath12k_wmi_pdev *wmi = ar->wmi; in ath12k_wmi_vdev_up() local
1149 struct ath12k_wmi_pdev *wmi = ar->wmi; in ath12k_wmi_send_peer_create_cmd() local
1182 struct ath12k_wmi_pdev *wmi = ar->wmi; in ath12k_wmi_send_peer_delete_cmd() local
1214 struct ath12k_wmi_pdev *wmi = ar->wmi; in ath12k_wmi_send_pdev_set_regdomain() local
[all …]
/linux/drivers/platform/x86/intel/wmi/
H A DMakefile6 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
/linux/Documentation/ABI/stable/
H A Dsysfs-platform-wmi-bmof1 What: /sys/bus/wmi/devices/05901221-D566-11D1-B2F0-00A0C9062910[-X]/bmof
7 See Documentation/wmi/devices/wmi-bmof.rst for details.
/linux/drivers/net/wireless/ath/wil6210/
H A Dtrace.h30 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)
H A Dwmi.c638 struct wmi_cmd_hdr wmi; in __wmi_send() member
645 .wmi = { in __wmi_send()
1976 struct wmi_cmd_hdr *wmi = &evt->event.wmi; in wmi_recv_cmd() local
1978 u8 mid = wmi->mid; in wmi_recv_cmd()
2007 trace_wil6210_wmi_event(wmi, &wmi[1], in wmi_recv_cmd()
2133 struct wmi_cmd_hdr wmi; in wmi_led_cfg() member
2178 struct wmi_cmd_hdr wmi; in wmi_rbufcap_cfg() member
2220 struct wmi_cmd_hdr wmi; in wmi_pcp_start() member
2296 struct wmi_cmd_hdr wmi; in wmi_get_ssid() member
2335 struct wmi_cmd_hdr wmi; in wmi_get_channel() member
[all …]
/linux/drivers/platform/x86/hp/
H A DMakefile9 obj-$(CONFIG_HP_WMI) += hp-wmi.o
10 obj-$(CONFIG_TC1100_WMI) += tc1100-wmi.o
/linux/drivers/platform/x86/dell/dell-wmi-sysman/
H A DMakefile1 obj-$(CONFIG_DELL_WMI_SYSMAN) += dell-wmi-sysman.o
2 dell-wmi-sysman-objs := sysman.o \

12345