Home
last modified time | relevance | path

Searched refs:pdev_id (Results 1 – 25 of 37) sorted by relevance

12

/linux/drivers/net/wireless/ath/ath12k/
H A Dtestmode.c94 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 Dwmi.h2354 u32 pdev_id; member
2488 __le32 pdev_id; member
2498 __le32 pdev_id; member
2680 /* pdev_id is present in lower 16 bits of pdev_and_hw_link_ids in
2831 __le32 pdev_id; member
2867 u32 pdev_id; member
2884 __le32 pdev_id; member
3148 u32 pdev_id; member
3280 __le32 pdev_id; member
3293 __le32 pdev_id; member
3299 __le32 pdev_id; global() member
3306 __le32 pdev_id; global() member
3326 __le32 pdev_id; global() member
3352 __le32 pdev_id; global() member
3511 u32 pdev_id; global() member
3609 u32 pdev_id; global() member
3700 __le32 pdev_id; global() member
3740 __le32 pdev_id; global() member
4004 __le32 pdev_id; global() member
4009 u32 pdev_id; global() member
4018 __le32 pdev_id; global() member
4094 __le32 pdev_id; global() member
4128 __le32 pdev_id; global() member
4203 u32 pdev_id; global() member
4249 __le32 pdev_id; global() member
4268 __le32 pdev_id; global() member
4412 __le32 pdev_id; global() member
4455 __le32 pdev_id; global() member
4460 __le32 pdev_id; global() member
4466 __le32 pdev_id; global() member
4481 __le32 pdev_id; global() member
4504 u8 pdev_id; global() member
4522 __le32 pdev_id; global() member
4531 __le32 pdev_id; global() member
4888 __le32 pdev_id; global() member
4909 __le32 pdev_id; global() member
4914 __le32 pdev_id; global() member
4954 __le32 pdev_id; global() member
5035 u32 pdev_id; global() member
5051 __le32 pdev_id; global() member
5072 __le32 pdev_id; global() member
5210 __le32 pdev_id; global() member
5228 __le32 pdev_id; global() member
5235 __le32 pdev_id; global() member
5267 __le32 pdev_id; global() member
5272 __le32 pdev_id; global() member
5279 __le32 pdev_id; global() member
5290 __le32 pdev_id; global() member
5299 __le32 pdev_id; global() member
5304 __le32 pdev_id; global() member
5309 __le32 pdev_id; global() member
5871 __le32 pdev_id; global() member
5888 __le32 pdev_id; global() member
5979 u32 pdev_id; global() member
6030 __le32 pdev_id; global() member
6091 u32 pdev_id; global() member
6254 __le32 pdev_id; global() member
[all...]
H A Ddbring.c127 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 Dwmi.c515 pdev->pdev_id = ath12k_wmi_mac_phy_get_pdev_id(mac_caps); in ath12k_pull_mac_phy_cap_svc_ready_ext()
522 fw_pdev->pdev_id = ath12k_wmi_mac_phy_get_pdev_id(mac_caps); in ath12k_pull_mac_phy_cap_svc_ready_ext()
883 u32 vdev_id, u32 pdev_id) in ath12k_wmi_send_stats_request_cmd() argument
900 cmd->pdev_id = cpu_to_le32(pdev_id); in ath12k_wmi_send_stats_request_cmd()
910 stats_id, vdev_id, pdev_id); in ath12k_wmi_send_stats_request_cmd()
948 cmd->pdev_id = cpu_to_le32(args->pdev_id); in ath12k_wmi_vdev_create()
1001 macaddr, args->pdev_id); in ath12k_wmi_vdev_create()
1448 cmd->pdev_id in ath12k_wmi_send_pdev_set_regdomain()
1613 ath12k_wmi_pdev_set_param(struct ath12k * ar,u32 param_id,u32 param_value,u8 pdev_id) ath12k_wmi_pdev_set_param() argument
1675 ath12k_wmi_pdev_suspend(struct ath12k * ar,u32 suspend_opt,u32 pdev_id) ath12k_wmi_pdev_suspend() argument
1706 ath12k_wmi_pdev_resume(struct ath12k * ar,u32 pdev_id) ath12k_wmi_pdev_resume() argument
3054 ath12k_wmi_send_dfs_phyerr_offload_enable_cmd(struct ath12k * ar,u32 pdev_id) ath12k_wmi_send_dfs_phyerr_offload_enable_cmd() argument
3526 ath12k_wmi_send_twt_enable_cmd(struct ath12k * ar,u32 pdev_id) ath12k_wmi_send_twt_enable_cmd() argument
3579 ath12k_wmi_send_twt_disable_cmd(struct ath12k * ar,u32 pdev_id) ath12k_wmi_send_twt_disable_cmd() argument
4063 ath12k_wmi_pdev_lro_cfg(struct ath12k * ar,int pdev_id) ath12k_wmi_pdev_lro_cfg() argument
4355 u32 pdev_id; ath12k_wmi_dma_buf_parse() local
9530 ath12k_wmi_rssi_dbm_conv_info_process_fixed_param(struct ath12k_base * ab,u8 * ptr,size_t len,int * pdev_id) ath12k_wmi_rssi_dbm_conv_info_process_fixed_param() argument
9580 u32 pdev_id; ath12k_wmi_rssi_dbm_conversion_params_info_event() local
9912 __le32 *pdev_id; ath12k_wmi_send_tpc_stats_request() local
9988 ath12k_wmi_pdev_detach(struct ath12k_base * ab,u8 pdev_id) ath12k_wmi_pdev_detach() argument
9997 ath12k_wmi_pdev_attach(struct ath12k_base * ab,u8 pdev_id) ath12k_wmi_pdev_attach() argument
[all...]
H A Ddbring.h35 u32 pdev_id; member
50 u32 pdev_id; member
H A Dreg.c178 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 Ddp_tx.c549 u8 pdev_id = ath12k_hw_mac_id_to_pdev_id(ab->hw_params, desc_params->mac_id); in ath12k_dp_tx_free_txbuf() local
552 ar = ab->pdevs[pdev_id].ar; in ath12k_dp_tx_free_txbuf()
1008 u8 pdev_id; in ath12k_dp_tx_completion_handler() local
1090 pdev_id = ath12k_hw_mac_id_to_pdev_id(ab->hw_params, desc_params.mac_id); in ath12k_dp_tx_completion_handler()
1091 ar = ab->pdevs[pdev_id].ar; in ath12k_dp_tx_completion_handler()
1523 u32 pdev_id; in ath12k_dp_tx_htt_h2t_ext_stats_req() local
1535 pdev_id = ath12k_mac_get_target_pdev_id(ar); in ath12k_dp_tx_htt_h2t_ext_stats_req()
1536 cmd->hdr.pdev_mask = 1 << pdev_id; in ath12k_dp_tx_htt_h2t_ext_stats_req()
H A Dmac.c806 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
816 if (WARN_ON(pdev_id > ab->num_radios)) in ath12k_mac_get_ar_by_pdev_id()
825 if (pdev && pdev->pdev_id == pdev_id) in ath12k_mac_get_ar_by_pdev_id()
950 u8 pdev_id = ab->fw_pdev[0].pdev_id; in ath12k_mac_get_target_pdev_id_from_vif() local
954 return pdev_id; in ath12k_mac_get_target_pdev_id_from_vif()
960 return ab->fw_pdev[i].pdev_id; in ath12k_mac_get_target_pdev_id_from_vif()
963 return pdev_id; in ath12k_mac_get_target_pdev_id_from_vif()
972 return ar->pdev->pdev_id; in ath12k_mac_get_target_pdev_id()
[all...]
H A Ddp_rx.c1675 u8 pdev_id; in ath12k_htt_pull_ppdu_stats() local
1687 pdev_id = le32_get_bits(msg->info, HTT_T2H_PPDU_STATS_INFO_PDEV_ID); in ath12k_htt_pull_ppdu_stats()
1691 ar = ath12k_mac_get_ar_by_pdev_id(ab, pdev_id); in ath12k_htt_pull_ppdu_stats()
1778 u8 pdev_id; in ath12k_htt_mlo_offset_event_handler() local
1781 pdev_id = u32_get_bits(__le32_to_cpu(msg->info), in ath12k_htt_mlo_offset_event_handler()
1785 ar = ath12k_mac_get_ar_by_pdev_id(ab, pdev_id); in ath12k_htt_mlo_offset_event_handler()
2745 u8 hw_link_id, pdev_id; in ath12k_dp_rx_process_received_packets() local
2761 pdev_id = ath12k_hw_mac_id_to_pdev_id(partner_ab->hw_params, in ath12k_dp_rx_process_received_packets()
2763 ar = partner_ab->pdevs[pdev_id].ar; in ath12k_dp_rx_process_received_packets()
2764 if (!rcu_dereference(partner_ab->pdevs_active[pdev_id])) { in ath12k_dp_rx_process_received_packets()
3689 int pdev_id; ath12k_dp_rx_process_err() local
4052 int ret, pdev_id; ath12k_dp_rx_process_wbm_err() local
[all...]
H A Dmac.h159 struct ath12k *ath12k_mac_get_ar_by_pdev_id(struct ath12k_base *ab, u32 pdev_id);
H A Ddebugfs_htt_stats.h301 u8 pdev_id; member
1657 __le32 pdev_id; member
1689 __le32 pdev_id; member
1699 __le32 pdev_id; member
1929 __le32 pdev_id; member
1990 __le32 pdev_id; member
/linux/drivers/net/wireless/ath/ath11k/
H A Dwmi.h2233 u32 pdev_id; member
2310 u32 pdev_id; member
2317 u32 pdev_id; member
2501 u32 pdev_id; member
2570 u32 pdev_id; member
2613 u32 pdev_id; member
2625 u32 pdev_id; member
2890 u32 pdev_id; member
3086 u32 pdev_id; member
3099 u32 pdev_id; member
3105 u32 pdev_id; global() member
3112 u32 pdev_id; global() member
3132 u32 pdev_id; global() member
3158 u32 pdev_id; global() member
3360 u32 pdev_id; global() member
3463 u32 pdev_id; global() member
3574 u32 pdev_id; global() member
3580 u32 pdev_id; global() member
3587 u32 pdev_id; global() member
3816 u32 pdev_id; global() member
3821 u32 pdev_id; global() member
3830 u32 pdev_id; global() member
3909 u32 pdev_id; global() member
3928 u32 pdev_id; global() member
3937 u32 pdev_id; global() member
3965 u32 pdev_id; global() member
4005 u32 pdev_id; global() member
4014 u32 pdev_id; global() member
4067 u32 pdev_id; global() member
4080 u32 pdev_id; global() member
4087 u32 pdev_id; global() member
4103 u32 pdev_id; global() member
4170 u32 pdev_id; global() member
4570 u32 pdev_id; global() member
4822 u32 pdev_id; global() member
4840 u32 pdev_id; global() member
4845 u32 pdev_id; global() member
4851 u32 pdev_id; global() member
4866 u32 pdev_id; global() member
4889 u8 pdev_id; global() member
4907 u32 pdev_id; global() member
4921 u32 pdev_id; global() member
5339 u32 pdev_id; global() member
5360 u32 pdev_id; global() member
5471 u32 pdev_id; global() member
5480 u32 pdev_id; global() member
5530 u32 pdev_id; global() member
5593 u32 pdev_id; global() member
5614 u32 pdev_id; global() member
6295 u32 pdev_id; global() member
6302 u32 pdev_id; global() member
[all...]
H A Dwmi.c397 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()
735 cmd->pdev_id = param->pdev_id; in ath11k_wmi_vdev_create()
780 macaddr, param->pdev_id); in ath11k_wmi_vdev_create()
1155 cmd->pdev_id = param->pdev_id; in ath11k_wmi_send_pdev_set_regdomain()
1167 param->current_rd_5g, param->dfs_domain, param->pdev_id); in ath11k_wmi_send_pdev_set_regdomain()
1321 ath11k_wmi_pdev_set_param(struct ath11k * ar,u32 param_id,u32 param_value,u8 pdev_id) ath11k_wmi_pdev_set_param() argument
1384 ath11k_wmi_pdev_suspend(struct ath11k * ar,u32 suspend_opt,u32 pdev_id) ath11k_wmi_pdev_suspend() argument
1415 ath11k_wmi_pdev_resume(struct ath11k * ar,u32 pdev_id) ath11k_wmi_pdev_resume() argument
2737 ath11k_wmi_send_dfs_phyerr_offload_enable_cmd(struct ath11k * ar,u32 pdev_id) ath11k_wmi_send_dfs_phyerr_offload_enable_cmd() argument
3277 ath11k_wmi_send_twt_enable_cmd(struct ath11k * ar,u32 pdev_id,struct wmi_twt_enable_params * params) ath11k_wmi_send_twt_enable_cmd() argument
3328 ath11k_wmi_send_twt_disable_cmd(struct ath11k * ar,u32 pdev_id) ath11k_wmi_send_twt_disable_cmd() argument
4308 ath11k_wmi_pdev_lro_cfg(struct ath11k * ar,int pdev_id) ath11k_wmi_pdev_lro_cfg() argument
9087 ath11k_wmi_pdev_detach(struct ath11k_base * ab,u8 pdev_id) ath11k_wmi_pdev_detach() argument
9096 ath11k_wmi_pdev_attach(struct ath11k_base * ab,u8 pdev_id) ath11k_wmi_pdev_attach() argument
[all...]
H A Dtestmode.c107 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 Dreg.c154 params->pdev_id = ar->pdev->pdev_id; in ath11k_reg_update_chan_list()
241 int ret, regd_len, pdev_id; in ath11k_regd_update() local
245 pdev_id = ar->pdev_idx; in ath11k_regd_update()
250 if (ab->new_regd[pdev_id]) { in ath11k_regd_update()
251 regd = ab->new_regd[pdev_id]; in ath11k_regd_update()
258 if (ab->default_regd[pdev_id]) { in ath11k_regd_update()
259 regd = ab->default_regd[pdev_id]; in ath11k_regd_update()
H A Ddebugfs.c147 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()
1426 ret = ath11k_wmi_pdev_set_param(ar, param, ps_state_enable, pdev->pdev_id); in ath11k_write_ps_state_enable()
1604 ath11k_wmi_send_twt_disable_cmd(ar, ar->pdev->pdev_id); in ath11k_write_twt_add_dialog()
1609 ath11k_wmi_send_twt_enable_cmd(ar, ar->pdev->pdev_id, &twt_params); in ath11k_write_twt_add_dialog()
1622 ath11k_wmi_send_twt_disable_cmd(ar, ar->pdev->pdev_id); in ath11k_write_twt_add_dialog()
[all...]
H A Dthermal.c139 param.pdev_id = ar->pdev->pdev_id; in ath11k_thermal_set_throttling()
H A Ddp_tx.c1147 u32 pdev_id; in ath11k_dp_tx_htt_h2t_ext_stats_req() local
1162 pdev_id = ath11k_mac_get_target_pdev_id(ar); in ath11k_dp_tx_htt_h2t_ext_stats_req()
1164 pdev_id = ar->pdev->pdev_id; in ath11k_dp_tx_htt_h2t_ext_stats_req()
1166 cmd->hdr.pdev_mask = 1 << pdev_id; in ath11k_dp_tx_htt_h2t_ext_stats_req()
H A Dcore.h599 u32 pdev_id; member
709 /* pdev_idx starts from 0 whereas pdev->pdev_id starts with 1 */
826 u32 pdev_id; member
948 u32 pdev_id; member
H A Ddebugfs.h83 u8 pdev_id; member
/linux/drivers/hwmon/
H A Dntc_thermistor.c608 const struct platform_device_id *pdev_id; in ntc_thermistor_probe() local
632 pdev_id = device_get_match_data(dev); in ntc_thermistor_probe()
634 if (pdev_id->driver_data >= ARRAY_SIZE(ntc_type)) { in ntc_thermistor_probe()
636 pdev_id->driver_data, pdev_id->name); in ntc_thermistor_probe()
640 data->comp = ntc_type[pdev_id->driver_data].comp; in ntc_thermistor_probe()
641 data->n_comp = ntc_type[pdev_id->driver_data].n_comp; in ntc_thermistor_probe()
643 hwmon_dev = devm_hwmon_device_register_with_info(dev, pdev_id->name, in ntc_thermistor_probe()
652 pdev_id->name); in ntc_thermistor_probe()
/linux/drivers/xen/xen-pciback/
H A Dpci_stub.c337 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 Dwmi-tlv.h1682 __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
/linux/drivers/edac/
H A Daltera_edac.c1036 const struct of_device_id *pdev_id; in altr_init_a10_ecc_device_type() local
1052 pdev_id = of_match_node(altr_edac_a10_device_of_match, child); in altr_init_a10_ecc_device_type()
1053 if (IS_ERR_OR_NULL(pdev_id)) in altr_init_a10_ecc_device_type()
1057 prv = pdev_id->data; in altr_init_a10_ecc_device_type()
1891 const struct of_device_id *pdev_id = in altr_edac_a10_device_add() local
1893 if (IS_ERR_OR_NULL(pdev_id)) in altr_edac_a10_device_add()
1897 prv = pdev_id->data; in altr_edac_a10_device_add()
/linux/drivers/mfd/
H A Dsm501.c79 unsigned int pdev_id; member
671 smdev->pdev.id = sm->pdev_id; in sm501_create_subdev()
1345 sm->pdev_id = dev->id; in sm501_plat_probe()
1531 sm->pdev_id = 32 + dev->devfn; in sm501_pci_probe()

12