Home
last modified time | relevance | path

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

12

/linux/drivers/net/wireless/ath/ath11k/
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 u32 param_value, u8 pdev_id) in ath11k_wmi_pdev_set_param() argument
1335 cmd->pdev_id = pdev_id; in ath11k_wmi_pdev_set_param()
1347 param_id, pdev_id, param_value); in ath11k_wmi_pdev_set_param()
1384 u32 pdev_id) in ath11k_wmi_pdev_suspend() argument
[all …]
H A Ddbring.c163 param.pdev_id = DP_SW2HW_MACID(ring->pdev_id); in ath11k_dbring_wmi_cfg_setup()
214 ring->pdev_id = db_cap->pdev_id; in ath11k_dbring_buf_setup()
256 if (pdev_idx == ab->db_caps[i].pdev_id && in ath11k_dbring_get_cap()
285 pdev_idx = ev->fixed.pdev_id; in ath11k_dbring_buffer_release_event()
H A Ddbring.h35 u32 pdev_id; member
50 u32 pdev_id; member
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()
1624 ath11k_wmi_send_twt_enable_cmd(ar, ar->pdev->pdev_id, &twt_params); in ath11k_write_twt_add_dialog()
1669 ath11k_wmi_send_twt_disable_cmd(ar, ar->pdev->pdev_id); in ath11k_write_twt_del_dialog()
1671 ath11k_wmi_send_twt_enable_cmd(ar, ar->pdev->pdev_id, &twt_params); in ath11k_write_twt_del_dialog()
H A Dthermal.c139 param.pdev_id = ar->pdev->pdev_id; in ath11k_thermal_set_throttling()
H A Dmac.c630 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 Dmac.h161 struct ath11k *ath11k_mac_get_ar_by_pdev_id(struct ath11k_base *ab, u32 pdev_id);
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.h601 u32 pdev_id; member
828 u32 pdev_id; member
950 u32 pdev_id; member
H A Ddebugfs.h83 u8 pdev_id; member
H A Ddebugfs_htt_stats.h1701 u32 pdev_id; member
1791 u32 pdev_id; member
1970 u32 pdev_id; member
1979 u32 pdev_id; member
H A Ddebugfs_htt_stats.c3597 htt_stats_buf->pdev_id); in htt_print_pdev_stats_twt_sessions_tlv()
3701 htt_stats_buf->pdev_id); in htt_print_backpressure_stats_tlv_v()
4031 htt_stats_buf->pdev_id); in htt_print_phy_reset_counters_tlv()
4062 htt_stats_buf->pdev_id); in htt_print_phy_reset_stats_tlv()
4563 u8 pdev_id; in ath11k_debugfs_htt_ext_stats_handler() local
4573 pdev_id = FIELD_GET(HTT_STATS_COOKIE_LSB, cookie); in ath11k_debugfs_htt_ext_stats_handler()
4575 ar = ath11k_mac_get_ar_by_pdev_id(ab, pdev_id); in ath11k_debugfs_htt_ext_stats_handler()
4578 ath11k_warn(ab, "failed to get ar for pdev_id %d\n", pdev_id); in ath11k_debugfs_htt_ext_stats_handler()
4715 int ret, pdev_id = ar->pdev->pdev_id; in ath11k_debugfs_htt_stats_req() local
4721 stats_req->pdev_id = pdev_id; in ath11k_debugfs_htt_stats_req()
[all …]
/linux/drivers/net/wireless/ath/ath12k/
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 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.c830 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
840 if (WARN_ON(pdev_id > ab->num_radios)) in ath12k_mac_get_ar_by_pdev_id()
849 if (pdev && pdev->pdev_id == pdev_id) in ath12k_mac_get_ar_by_pdev_id()
974 u8 pdev_id = ab->fw_pdev[0].pdev_id; in ath12k_mac_get_target_pdev_id_from_vif() local
978 return pdev_id; in ath12k_mac_get_target_pdev_id_from_vif()
984 return ab->fw_pdev[i].pdev_id; in ath12k_mac_get_target_pdev_id_from_vif()
987 return pdev_id; in ath12k_mac_get_target_pdev_id_from_vif()
996 return ar->pdev->pdev_id; in ath12k_mac_get_target_pdev_id()
1005 return ar->ab->fw_pdev[0].pdev_id; in ath12k_mac_get_target_pdev_id()
1062 txpower, ar->pdev->pdev_id); in ath12k_mac_txpower_recalc()
[all …]
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
H A Dhw.h227 u8 (*get_hw_mac_from_pdev_id)(int pdev_id);
H A Ddebugfs_htt_stats.c3789 le32_to_cpu(htt_stats_buf->pdev_id)); in ath12k_htt_print_phy_reset_stats_tlv()
3864 le32_to_cpu(htt_stats_buf->pdev_id)); in ath12k_htt_print_phy_reset_counters_tlv()
3895 le32_to_cpu(htt_stats_buf->pdev_id)); in ath12k_htt_print_phy_tpc_stats_tlv()
5150 le32_to_cpu(sbuf->pdev_id)); in ath12k_htt_print_pdev_rtt_resp_stats_tlv()
5290 le32_to_cpu(htt_stats_buf->pdev_id)); in ath12k_htt_print_pdev_rtt_init_stats_tlv()
5849 u32 len, pdev_id, stats_info; in ath12k_debugfs_htt_ext_stats_handler() local
5863 pdev_id = u64_get_bits(cookie, ATH12K_HTT_STATS_COOKIE_LSB); in ath12k_debugfs_htt_ext_stats_handler()
5865 ar = ath12k_mac_get_ar_by_pdev_id(ab, pdev_id); in ath12k_debugfs_htt_ext_stats_handler()
5867 ath12k_warn(ab, "failed to get ar for pdev_id %d\n", pdev_id); in ath12k_debugfs_htt_ext_stats_handler()
5975 int ret, pdev_id; in ath12k_debugfs_htt_stats_req() local
[all …]
/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.c1035 const struct of_device_id *pdev_id; in altr_init_a10_ecc_device_type() local
1051 pdev_id = of_match_node(altr_edac_a10_device_of_match, child); in altr_init_a10_ecc_device_type()
1052 if (IS_ERR_OR_NULL(pdev_id)) in altr_init_a10_ecc_device_type()
1056 prv = pdev_id->data; in altr_init_a10_ecc_device_type()
1902 const struct of_device_id *pdev_id = in altr_edac_a10_device_add() local
1904 if (IS_ERR_OR_NULL(pdev_id)) in altr_edac_a10_device_add()
1908 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