/linux-6.12.1/drivers/net/wireless/ath/ath9k/ |
D | wmi.c | 91 struct wmi *ath9k_init_wmi(struct ath9k_htc_priv *priv) in ath9k_init_wmi() 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() 99 wmi->drv_priv = priv; in ath9k_init_wmi() 100 wmi->stopped = false; in ath9k_init_wmi() 101 skb_queue_head_init(&wmi->wmi_event_queue); in ath9k_init_wmi() 102 spin_lock_init(&wmi->wmi_lock); in ath9k_init_wmi() 103 spin_lock_init(&wmi->event_lock); in ath9k_init_wmi() 104 mutex_init(&wmi->op_mutex); in ath9k_init_wmi() [all …]
|
D | htc_drv_init.c | 146 ret = ath9k_wmi_connect(priv->htc, priv->wmi, &priv->wmi_cmd_ep); in ath9k_init_htc_services() 242 r = ath9k_wmi_cmd(priv->wmi, WMI_REG_READ_CMDID, in ath9k_regread() 269 ret = ath9k_wmi_cmd(priv->wmi, WMI_REG_READ_CMDID, in ath9k_multi_regread() 289 r = ath9k_wmi_cmd(priv->wmi, WMI_REG_WRITE_CMDID, in ath9k_regwrite_multi() 290 (u8 *) &priv->wmi->multi_write, in ath9k_regwrite_multi() 291 sizeof(struct register_write) * priv->wmi->multi_write_idx, in ath9k_regwrite_multi() 297 priv->wmi->multi_write_idx); in ath9k_regwrite_multi() 299 priv->wmi->multi_write_idx = 0; in ath9k_regwrite_multi() 313 r = ath9k_wmi_cmd(priv->wmi, WMI_REG_WRITE_CMDID, in ath9k_regwrite_single() 329 mutex_lock(&priv->wmi->multi_write_mutex); in ath9k_regwrite_buffer() [all …]
|
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-6.12.1/drivers/net/wireless/ath/ath6kl/ |
D | wmi.c | 27 static int ath6kl_wmi_sync_point(struct wmi *wmi, u8 if_idx); 123 void ath6kl_wmi_set_control_ep(struct wmi *wmi, enum htc_endpoint_id ep_id) in ath6kl_wmi_set_control_ep() argument 128 wmi->ep_id = ep_id; in ath6kl_wmi_set_control_ep() 131 enum htc_endpoint_id ath6kl_wmi_get_control_ep(struct wmi *wmi) in ath6kl_wmi_get_control_ep() argument 133 return wmi->ep_id; in ath6kl_wmi_get_control_ep() 160 int ath6kl_wmi_dix_2_dot3(struct wmi *wmi, struct sk_buff *skb) in ath6kl_wmi_dix_2_dot3() argument 206 static int ath6kl_wmi_meta_add(struct wmi *wmi, struct sk_buff *skb, in ath6kl_wmi_meta_add() argument 234 int ath6kl_wmi_data_hdr_add(struct wmi *wmi, struct sk_buff *skb, in ath6kl_wmi_data_hdr_add() argument 242 if (WARN_ON(skb == NULL || (if_idx > wmi->parent_dev->vif_max - 1))) in ath6kl_wmi_data_hdr_add() 246 ret = ath6kl_wmi_meta_add(wmi, skb, &meta_ver, tx_meta_info); in ath6kl_wmi_data_hdr_add() [all …]
|
D | wmi.h | 111 struct wmi { struct 2536 enum htc_endpoint_id ath6kl_wmi_get_control_ep(struct wmi *wmi); 2537 void ath6kl_wmi_set_control_ep(struct wmi *wmi, enum htc_endpoint_id ep_id); 2538 int ath6kl_wmi_dix_2_dot3(struct wmi *wmi, struct sk_buff *skb); 2539 int ath6kl_wmi_data_hdr_add(struct wmi *wmi, struct sk_buff *skb, 2544 int ath6kl_wmi_dot11_hdr_remove(struct wmi *wmi, struct sk_buff *skb); 2546 int ath6kl_wmi_implicit_create_pstream(struct wmi *wmi, u8 if_idx, 2550 int ath6kl_wmi_control_rx(struct wmi *wmi, struct sk_buff *skb); 2552 int ath6kl_wmi_cmd_send(struct wmi *wmi, u8 if_idx, struct sk_buff *skb, 2555 int ath6kl_wmi_connect_cmd(struct wmi *wmi, u8 if_idx, [all …]
|
D | cfg80211.c | 157 ath6kl_wmi_enable_sched_scan_cmd(ar->wmi, vif->fw_vif_idx, false); in __ath6kl_cfg80211_sscan_stop() 361 ret = ath6kl_wmi_set_appie_cmd(ar->wmi, vif->fw_vif_idx, in ath6kl_set_assoc_req_ies() 426 return ar->tx_pending[ath6kl_wmi_get_control_ep(ar->wmi)] == 0; in ath6kl_is_tx_pending() 447 err = ath6kl_wmi_sta_bmiss_enhance_cmd(vif->ar->wmi, in ath6kl_cfg80211_sta_bmiss_enhance() 493 if (ar->tx_pending[ath6kl_wmi_get_control_ep(ar->wmi)]) { in ath6kl_cfg80211_connect() 520 status = ath6kl_wmi_reconnect_cmd(ar->wmi, vif->fw_vif_idx, in ath6kl_cfg80211_connect() 582 ath6kl_wmi_addkey_cmd(ar->wmi, vif->fw_vif_idx, sme->key_idx, in ath6kl_cfg80211_connect() 593 if (ath6kl_wmi_bssfilter_cmd(ar->wmi, vif->fw_vif_idx, in ath6kl_cfg80211_connect() 623 status = ath6kl_wmi_listeninterval_cmd(ar->wmi, vif->fw_vif_idx, in ath6kl_cfg80211_connect() 633 status = ath6kl_wmi_connect_cmd(ar->wmi, vif->fw_vif_idx, vif->nw_type, in ath6kl_cfg80211_connect() [all …]
|
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() 418 ath6kl_wmi_bssfilter_cmd(ar->wmi, vif->fw_vif_idx, NONE_BSS_FILTER, 0); in ath6kl_connect_ap_mode_bss() 516 ath6kl_wmi_disconnect_cmd(vif->ar->wmi, vif->fw_vif_idx); in ath6kl_disconnect() 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() 597 return ath6kl_wmi_ap_profile_commit(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() 742 stats->tx_ucast_rate = ath6kl_wmi_get_rate(ar->wmi, rate); in ath6kl_update_target_stats() [all …]
|
/linux-6.12.1/drivers/net/wireless/ath/ath10k/ |
D | wmi-ops.h | 240 if (WARN_ON_ONCE(!ar->wmi.ops->rx)) in ath10k_wmi_rx() 243 ar->wmi.ops->rx(ar, skb); in ath10k_wmi_rx() 251 if (!ar->wmi.ops->map_svc) in ath10k_wmi_map_svc() 254 ar->wmi.ops->map_svc(in, out, len); in ath10k_wmi_map_svc() 262 if (!ar->wmi.ops->map_svc_ext) in ath10k_wmi_map_svc_ext() 265 ar->wmi.ops->map_svc_ext(in, out, len); in ath10k_wmi_map_svc_ext() 273 if (!ar->wmi.ops->pull_scan) in ath10k_wmi_pull_scan() 276 return ar->wmi.ops->pull_scan(ar, skb, arg); in ath10k_wmi_pull_scan() 283 if (!ar->wmi.ops->pull_mgmt_tx_compl) in ath10k_wmi_pull_mgmt_tx_compl() 286 return ar->wmi.ops->pull_mgmt_tx_compl(ar, skb, arg); in ath10k_wmi_pull_mgmt_tx_compl() [all …]
|
D | thermal.c | 133 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-6.12.1/drivers/platform/x86/dell/ |
D | Makefile | 7 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-6.12.1/drivers/platform/x86/ |
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 14 obj-$(CONFIG_NVIDIA_WMI_EC_BACKLIGHT) += nvidia-wmi-ec-backlight.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 [all …]
|
/linux-6.12.1/drivers/hwmon/ |
D | asus_wmi_sensors.c | 166 struct asus_wmi_wmi_info wmi; member 386 for (i = 0; i < sensor_data->wmi.sensor_count; i++) { in asus_wmi_update_values_for_source() 387 sensor = sensor_data->wmi.info_by_id[i]; in asus_wmi_update_values_for_source() 425 if (time_after(jiffies, sensor_data->wmi.source_last_updated[sensor->source] + HZ)) { in asus_wmi_get_cached_value_or_update() 434 sensor_data->wmi.source_last_updated[sensor->source] = jiffies; in asus_wmi_get_cached_value_or_update() 455 sensor = *(sensor_data->wmi.info[type] + channel); in asus_wmi_hwmon_read() 473 sensor = *(sensor_data->wmi.info[type] + channel); in asus_wmi_hwmon_read_string() 486 sensor = *(sensor_data->wmi.info[type] + channel); in asus_wmi_hwmon_is_visible() 517 for (i = 0; i < sensor_data->wmi.sensor_count; i++) { in asus_wmi_configure_sensor_setup() 555 sensor_data->wmi.info_by_id = devm_kcalloc(dev, sensor_data->wmi.sensor_count, in asus_wmi_configure_sensor_setup() [all …]
|
/linux-6.12.1/drivers/net/wireless/ath/ath11k/ |
D | wmi.c | 265 static int ath11k_wmi_cmd_send_nowait(struct ath11k_pdev_wmi *wmi, struct sk_buff *skb, in ath11k_wmi_cmd_send_nowait() argument 269 struct ath11k_base *ab = wmi->wmi_ab->ab; in ath11k_wmi_cmd_send_nowait() 285 ret = ath11k_htc_send(&ab->htc, wmi->eid, skb); in ath11k_wmi_cmd_send_nowait() 297 int ath11k_wmi_cmd_send(struct ath11k_pdev_wmi *wmi, struct sk_buff *skb, in ath11k_wmi_cmd_send() argument 300 struct ath11k_wmi_base *wmi_ab = wmi->wmi_ab; in ath11k_wmi_cmd_send() 308 ret = ath11k_wmi_cmd_send_nowait(wmi, skb, cmd_id); in ath11k_wmi_cmd_send() 317 wait_event_timeout(wmi->tx_ce_desc_wq, ({ in ath11k_wmi_cmd_send() 318 ret = ath11k_wmi_cmd_send_nowait(wmi, skb, cmd_id); in ath11k_wmi_cmd_send() 554 static void ath11k_wmi_service_bitmap_copy(struct ath11k_pdev_wmi *wmi, in ath11k_wmi_service_bitmap_copy() argument 562 set_bit(j, wmi->wmi_ab->svc_map); in ath11k_wmi_service_bitmap_copy() [all …]
|
D | testmode.c | 303 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-6.12.1/Documentation/ABI/testing/ |
D | debugfs-dell-wmi-ddv | 1 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.
|
D | sysfs-bus-wmi | 1 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
|
D | debugfs-msi-wmi-platform | 1 What: /sys/kernel/debug/msi-wmi-platform-<wmi_device_name>/* 14 See Documentation/wmi/devices/msi-wmi-platform.rst for details.
|
D | sysfs-platform-dell-wmi-ddv | 9 See Documentation/wmi/devices/dell-wmi-ddv.rst for details.
|
/linux-6.12.1/drivers/net/wireless/ath/ath12k/ |
D | wmi.c | 387 static int ath12k_wmi_cmd_send_nowait(struct ath12k_wmi_pdev *wmi, struct sk_buff *skb, in ath12k_wmi_cmd_send_nowait() argument 391 struct ath12k_base *ab = wmi->wmi_ab->ab; in ath12k_wmi_cmd_send_nowait() 402 ret = ath12k_htc_send(&ab->htc, wmi->eid, skb); in ath12k_wmi_cmd_send_nowait() 414 int ath12k_wmi_cmd_send(struct ath12k_wmi_pdev *wmi, struct sk_buff *skb, in ath12k_wmi_cmd_send() argument 417 struct ath12k_wmi_base *wmi_ab = wmi->wmi_ab; in ath12k_wmi_cmd_send() 423 ret = ath12k_wmi_cmd_send_nowait(wmi, skb, cmd_id); in ath12k_wmi_cmd_send() 674 static void ath12k_wmi_service_bitmap_copy(struct ath12k_wmi_pdev *wmi, in ath12k_wmi_service_bitmap_copy() argument 682 set_bit(j, wmi->wmi_ab->svc_map); in ath12k_wmi_service_bitmap_copy() 691 struct ath12k_wmi_pdev *wmi_handle = &ab->wmi_ab.wmi[0]; in ath12k_wmi_svc_rdy_parse() 774 struct ath12k_wmi_pdev *wmi = ar->wmi; in ath12k_wmi_mgmt_send() local [all …]
|
/linux-6.12.1/drivers/platform/x86/intel/wmi/ |
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
|
/linux-6.12.1/Documentation/ABI/stable/ |
D | sysfs-platform-wmi-bmof | 1 What: /sys/bus/wmi/devices/05901221-D566-11D1-B2F0-00A0C9062910[-X]/bmof 7 See Documentation/wmi/devices/wmi-bmof.rst for details.
|
/linux-6.12.1/drivers/net/wireless/ath/wil6210/ |
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)
|
D | wmi.c | 638 struct wmi_cmd_hdr wmi; in __wmi_send() member 643 .len = cpu_to_le16(sizeof(cmd.wmi) + len), in __wmi_send() 645 .wmi = { in __wmi_send() 744 trace_wil6210_wmi_cmd(&cmd.wmi, buf, len); in __wmi_send() 1962 event.wmi) + len, 4), in wmi_recv_cmd() 1968 cmd = (void *)&evt->event.wmi; in wmi_recv_cmd() 1976 struct wmi_cmd_hdr *wmi = &evt->event.wmi; in wmi_recv_cmd() local 1977 u16 id = le16_to_cpu(wmi->command_id); in wmi_recv_cmd() 1978 u8 mid = wmi->mid; in wmi_recv_cmd() 1979 u32 tstamp = le32_to_cpu(wmi->fw_timestamp); in wmi_recv_cmd() [all …]
|
/linux-6.12.1/drivers/platform/x86/hp/ |
D | Makefile | 9 obj-$(CONFIG_HP_WMI) += hp-wmi.o 10 obj-$(CONFIG_TC1100_WMI) += tc1100-wmi.o
|
/linux-6.12.1/drivers/platform/x86/dell/dell-wmi-sysman/ |
D | Makefile | 1 obj-$(CONFIG_DELL_WMI_SYSMAN) += dell-wmi-sysman.o 2 dell-wmi-sysman-objs := sysman.o \
|