| /linux/drivers/net/wireless/ath/ath12k/ |
| H A D | testmode.c | 94 u32 data_pos, pdev_id; in ath12k_tm_process_event() local 103 pdev_id = DP_HW2SW_MACID(le32_to_cpu(ftm_msg->seg_hdr.pdev_id)); in ath12k_tm_process_event() 105 if (pdev_id >= ab->num_radios) { in ath12k_tm_process_event() 110 ar = ab->pdevs[pdev_id].ar; in ath12k_tm_process_event() 262 ftm_cmd->seg_hdr.pdev_id = cpu_to_le32(ar->pdev->pdev_id); in ath12k_tm_cmd_process_ftm() 329 cmd->pdev_id = cpu_to_le32(ar->pdev->pdev_id); in ath12k_tm_cmd_wmi()
|
| H A D | wmi.h | 2372 u32 pdev_id; member 2506 __le32 pdev_id; member 2516 __le32 pdev_id; member 2851 __le32 pdev_id; member 2887 u32 pdev_id; member 2904 __le32 pdev_id; member 3168 u32 pdev_id; member 3300 __le32 pdev_id; member 3313 __le32 pdev_id; member 3319 __le32 pdev_id; member [all …]
|
| H A D | wmi.c | 131 u32 pdev_id; member 440 pdev->pdev_id = ath12k_wmi_mac_phy_get_pdev_id(mac_caps); in ath12k_pull_mac_phy_cap_svc_ready_ext() 447 fw_pdev->pdev_id = ath12k_wmi_mac_phy_get_pdev_id(mac_caps); in ath12k_pull_mac_phy_cap_svc_ready_ext() 808 u32 vdev_id, u32 pdev_id) in ath12k_wmi_send_stats_request_cmd() argument 825 cmd->pdev_id = cpu_to_le32(pdev_id); in ath12k_wmi_send_stats_request_cmd() 835 stats_id, vdev_id, pdev_id); in ath12k_wmi_send_stats_request_cmd() 873 cmd->pdev_id = cpu_to_le32(args->pdev_id); in ath12k_wmi_vdev_create() 926 macaddr, args->pdev_id); in ath12k_wmi_vdev_create() 1373 cmd->pdev_id = cpu_to_le32(arg->pdev_id); in ath12k_wmi_send_pdev_set_regdomain() 1378 arg->current_rd_5g, arg->dfs_domain, arg->pdev_id); in ath12k_wmi_send_pdev_set_regdomain() [all …]
|
| H A D | dbring.c | 127 arg.pdev_id = DP_SW2HW_MACID(ring->pdev_id); in ath12k_dbring_wmi_cfg_setup() 178 ring->pdev_id = db_cap->pdev_id; in ath12k_dbring_buf_setup() 220 if (pdev_idx == ab->db_caps[i].pdev_id && in ath12k_dbring_get_cap() 249 pdev_idx = le32_to_cpu(ev->fixed.pdev_id); in ath12k_dbring_buffer_release_event()
|
| H A D | dbring.h | 35 u32 pdev_id; member 50 u32 pdev_id; member
|
| H A D | reg.c | 178 arg->pdev_id = ar->pdev->pdev_id; in ath12k_reg_update_chan_list() 276 int ret, regd_len, pdev_id; in ath12k_regd_update() local 351 pdev_id = ar->pdev_idx; in ath12k_regd_update() 361 if (ab->default_regd[pdev_id]) { in ath12k_regd_update() 362 regd = ab->default_regd[pdev_id]; in ath12k_regd_update() 369 regd = ab->new_regd[pdev_id]; in ath12k_regd_update()
|
| H A D | dp_htt.c | 440 u8 pdev_id, pdev_idx; in ath12k_htt_pull_ppdu_stats() local 452 pdev_id = le32_get_bits(msg->info, HTT_T2H_PPDU_STATS_INFO_PDEV_ID); in ath12k_htt_pull_ppdu_stats() 455 pdev_idx = DP_HW2SW_MACID(pdev_id); in ath12k_htt_pull_ppdu_stats() 457 ath12k_warn(ab, "HTT PPDU STATS invalid pdev id %u", pdev_id); in ath12k_htt_pull_ppdu_stats() 542 u8 pdev_id; in ath12k_htt_mlo_offset_event_handler() local 545 pdev_id = u32_get_bits(__le32_to_cpu(msg->info), in ath12k_htt_mlo_offset_event_handler() 549 ar = ath12k_mac_get_ar_by_pdev_id(ab, pdev_id); in ath12k_htt_mlo_offset_event_handler() 1093 u32 pdev_id; in ath12k_dp_tx_htt_h2t_ext_stats_req() local 1105 pdev_id = ath12k_mac_get_target_pdev_id(ar); in ath12k_dp_tx_htt_h2t_ext_stats_req() 1106 cmd->hdr.pdev_mask = 1 << pdev_id; in ath12k_dp_tx_htt_h2t_ext_stats_req()
|
| H A D | mac.c | 837 struct ath12k *ath12k_mac_get_ar_by_pdev_id(struct ath12k_base *ab, u32 pdev_id) in ath12k_mac_get_ar_by_pdev_id() argument 847 if (WARN_ON(pdev_id > ab->num_radios)) in ath12k_mac_get_ar_by_pdev_id() 856 if (pdev && pdev->pdev_id == pdev_id) in ath12k_mac_get_ar_by_pdev_id() 981 u8 pdev_id = ab->fw_pdev[0].pdev_id; in ath12k_mac_get_target_pdev_id_from_vif() local 985 return pdev_id; in ath12k_mac_get_target_pdev_id_from_vif() 991 return ab->fw_pdev[i].pdev_id; in ath12k_mac_get_target_pdev_id_from_vif() 994 return pdev_id; in ath12k_mac_get_target_pdev_id_from_vif() 1003 return ar->pdev->pdev_id; in ath12k_mac_get_target_pdev_id() 1012 return ar->ab->fw_pdev[0].pdev_id; in ath12k_mac_get_target_pdev_id() 1069 txpower, ar->pdev->pdev_id); in ath12k_mac_txpower_recalc() [all …]
|
| H A D | hw.h | 219 u8 (*get_hw_mac_from_pdev_id)(int pdev_id);
|
| H A D | debugfs_htt_stats.h | 307 u8 pdev_id; member 1663 __le32 pdev_id; member 1695 __le32 pdev_id; member 1705 __le32 pdev_id; member 1935 __le32 pdev_id; member 1996 __le32 pdev_id; member
|
| /linux/drivers/net/wireless/ath/ath11k/ |
| H A D | dbring.c | 180 param.pdev_id = ar->ab->target_pdev_ids[i].pdev_id; in ath11k_dbring_wmi_cfg_setup() 188 param.pdev_id = DP_SW2HW_MACID(ring->pdev_id); in ath11k_dbring_wmi_cfg_setup() 228 ring->pdev_id = db_cap->pdev_id; in ath11k_dbring_buf_setup() 270 if (pdev_idx == ab->db_caps[i].pdev_id && in ath11k_dbring_get_cap() 300 pdev_idx = ev->fixed.pdev_id; in ath11k_dbring_buffer_release_event()
|
| H A D | wmi.h | 2240 u32 pdev_id; member 2317 u32 pdev_id; member 2324 u32 pdev_id; member 2508 u32 pdev_id; member 2577 u32 pdev_id; member 2620 u32 pdev_id; member 2632 u32 pdev_id; member 2897 u32 pdev_id; member 3093 u32 pdev_id; member 3106 u32 pdev_id; member [all …]
|
| H A D | wmi.c | 397 pdev->pdev_id = mac_phy_caps->pdev_id; in ath11k_pull_mac_phy_cap_svc_ready_ext() 402 ab->target_pdev_ids[ab->target_pdev_count].pdev_id = mac_phy_caps->pdev_id; in ath11k_pull_mac_phy_cap_svc_ready_ext() 747 cmd->pdev_id = param->pdev_id; in ath11k_wmi_vdev_create() 792 macaddr, param->pdev_id); in ath11k_wmi_vdev_create() 1167 cmd->pdev_id = param->pdev_id; in ath11k_wmi_send_pdev_set_regdomain() 1179 param->current_rd_5g, param->dfs_domain, param->pdev_id); in ath11k_wmi_send_pdev_set_regdomain() 1333 u32 param_value, u8 pdev_id) in ath11k_wmi_pdev_set_param() argument 1347 cmd->pdev_id = pdev_id; in ath11k_wmi_pdev_set_param() 1359 param_id, pdev_id, param_value); in ath11k_wmi_pdev_set_param() 1396 u32 pdev_id) in ath11k_wmi_pdev_suspend() argument [all …]
|
| H A D | testmode.c | 107 u32 pdev_id; in ath11k_tm_process_event() local 113 pdev_id = DP_HW2SW_MACID(ftm_msg->seg_hdr.pdev_id); in ath11k_tm_process_event() 115 if (pdev_id >= ab->num_radios) { in ath11k_tm_process_event() 117 pdev_id); in ath11k_tm_process_event() 121 ar = ab->pdevs[pdev_id].ar; in ath11k_tm_process_event() 348 *ptr = ar->pdev->pdev_id; in ath11k_tm_cmd_wmi()
|
| H A D | dbring.h | 37 u32 pdev_id; member 52 u32 pdev_id; member
|
| H A D | reg.c | 153 params->pdev_id = ar->pdev->pdev_id; in ath11k_reg_update_chan_list() 240 int ret, regd_len, pdev_id; in ath11k_regd_update() local 244 pdev_id = ar->pdev_idx; in ath11k_regd_update() 249 if (ab->new_regd[pdev_id]) { in ath11k_regd_update() 250 regd = ab->new_regd[pdev_id]; in ath11k_regd_update() 257 if (ab->default_regd[pdev_id]) { in ath11k_regd_update() 258 regd = ab->default_regd[pdev_id]; in ath11k_regd_update()
|
| H A D | debugfs.c | 147 req_param.pdev_id = ar->pdev->pdev_id; in ath11k_open_pdev_stats() 217 req_param.pdev_id = ar->pdev->pdev_id; in ath11k_open_vdev_stats() 290 req_param.pdev_id = ar->pdev->pdev_id; in ath11k_open_bcn_stats() 1424 ret = ath11k_wmi_pdev_set_param(ar, param, ps_state_enable, pdev->pdev_id); in ath11k_write_ps_state_enable() 1602 ath11k_wmi_send_twt_disable_cmd(ar, ar->pdev->pdev_id); in ath11k_write_twt_add_dialog() 1607 ath11k_wmi_send_twt_enable_cmd(ar, ar->pdev->pdev_id, &twt_params); in ath11k_write_twt_add_dialog() 1620 ath11k_wmi_send_twt_disable_cmd(ar, ar->pdev->pdev_id); in ath11k_write_twt_add_dialog() 1622 ath11k_wmi_send_twt_enable_cmd(ar, ar->pdev->pdev_id, &twt_params); in ath11k_write_twt_add_dialog() 1667 ath11k_wmi_send_twt_disable_cmd(ar, ar->pdev->pdev_id); in ath11k_write_twt_del_dialog() 1669 ath11k_wmi_send_twt_enable_cmd(ar, ar->pdev->pdev_id, &twt_params); in ath11k_write_twt_del_dialog()
|
| H A D | thermal.c | 139 param.pdev_id = ar->pdev->pdev_id; in ath11k_thermal_set_throttling()
|
| H A D | mac.c | 630 struct ath11k *ath11k_mac_get_ar_by_pdev_id(struct ath11k_base *ab, u32 pdev_id) in ath11k_mac_get_ar_by_pdev_id() argument 640 if (WARN_ON(pdev_id > ab->num_radios)) in ath11k_mac_get_ar_by_pdev_id() 649 if (pdev && pdev->pdev_id == pdev_id) in ath11k_mac_get_ar_by_pdev_id() 689 u8 pdev_id = ab->target_pdev_ids[0].pdev_id; in ath11k_mac_get_target_pdev_id_from_vif() local 693 return pdev_id; in ath11k_mac_get_target_pdev_id_from_vif() 699 return ab->target_pdev_ids[i].pdev_id; in ath11k_mac_get_target_pdev_id_from_vif() 702 return pdev_id; in ath11k_mac_get_target_pdev_id_from_vif() 714 return ar->ab->target_pdev_ids[0].pdev_id; in ath11k_mac_get_target_pdev_id() 768 txpower, ar->pdev->pdev_id); in ath11k_mac_txpower_recalc() 778 txpower, ar->pdev->pdev_id); in ath11k_mac_txpower_recalc() [all …]
|
| H A D | dp_tx.c | 1148 u32 pdev_id; in ath11k_dp_tx_htt_h2t_ext_stats_req() local 1163 pdev_id = ath11k_mac_get_target_pdev_id(ar); in ath11k_dp_tx_htt_h2t_ext_stats_req() 1165 pdev_id = ar->pdev->pdev_id; in ath11k_dp_tx_htt_h2t_ext_stats_req() 1167 cmd->hdr.pdev_mask = 1 << pdev_id; in ath11k_dp_tx_htt_h2t_ext_stats_req()
|
| H A D | mac.h | 161 struct ath11k *ath11k_mac_get_ar_by_pdev_id(struct ath11k_base *ab, u32 pdev_id);
|
| H A D | core.h | 613 u32 pdev_id; member 845 u32 pdev_id; member 967 u32 pdev_id; member
|
| /linux/drivers/hwmon/ |
| H A D | ntc_thermistor.c | 649 const struct platform_device_id *pdev_id; in ntc_thermistor_probe() local 673 pdev_id = device_get_match_data(dev); in ntc_thermistor_probe() 675 if (pdev_id->driver_data >= ARRAY_SIZE(ntc_type)) { in ntc_thermistor_probe() 677 pdev_id->driver_data, pdev_id->name); in ntc_thermistor_probe() 681 data->comp = ntc_type[pdev_id->driver_data].comp; in ntc_thermistor_probe() 682 data->n_comp = ntc_type[pdev_id->driver_data].n_comp; in ntc_thermistor_probe() 684 hwmon_dev = devm_hwmon_device_register_with_info(dev, pdev_id->name, in ntc_thermistor_probe() 693 pdev_id->name); in ntc_thermistor_probe()
|
| /linux/drivers/xen/xen-pciback/ |
| H A D | pci_stub.c | 337 struct pcistub_device_id *pdev_id) in pcistub_match_one() argument 343 if (pci_domain_nr(dev->bus) == pdev_id->domain in pcistub_match_one() 344 && dev->bus->number == pdev_id->bus in pcistub_match_one() 345 && dev->devfn == pdev_id->devfn) in pcistub_match_one() 358 struct pcistub_device_id *pdev_id; in pcistub_match() local 363 list_for_each_entry(pdev_id, &pcistub_device_ids, slot_list) { in pcistub_match() 364 if (pcistub_match_one(dev, pdev_id)) { in pcistub_match()
|
| /linux/drivers/net/wireless/ath/ath10k/ |
| H A D | wmi-tlv.h | 1682 __le32 pdev_id; member 1812 __le32 pdev_id; /* not used */ member 1819 __le32 pdev_id; member 1823 __le32 pdev_id; /* not used yet */ member 1829 __le32 pdev_id; /* not used yet */ member 1920 __le32 pdev_id; /* not used yet */ member 1925 __le32 pdev_id; /* not used yet */ member 2096 __le32 pdev_id; member
|