Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/ath/ath12k/
H A Dwmi.h2402 u32 pdev_id; member
2537 __le32 pdev_id; member
2547 __le32 pdev_id; member
2884 __le32 pdev_id; member
2920 u32 pdev_id; member
2937 __le32 pdev_id; member
3209 u32 pdev_id; member
3341 __le32 pdev_id; member
3354 __le32 pdev_id; member
3360 __le32 pdev_id; member
[all …]
H A Dwmi.c133 u32 pdev_id; member
507 pdev->pdev_id = ath12k_wmi_mac_phy_get_pdev_id(mac_caps); in ath12k_pull_mac_phy_cap_svc_ready_ext()
514 fw_pdev->pdev_id = ath12k_wmi_mac_phy_get_pdev_id(mac_caps); in ath12k_pull_mac_phy_cap_svc_ready_ext()
875 u32 vdev_id, u32 pdev_id) in ath12k_wmi_send_stats_request_cmd() argument
892 cmd->pdev_id = cpu_to_le32(pdev_id); in ath12k_wmi_send_stats_request_cmd()
902 stats_id, vdev_id, pdev_id); in ath12k_wmi_send_stats_request_cmd()
940 cmd->pdev_id = cpu_to_le32(args->pdev_id); in ath12k_wmi_vdev_create()
993 macaddr, args->pdev_id); in ath12k_wmi_vdev_create()
1615 ath12k_wmi_pdev_set_param(struct ath12k * ar,u32 param_id,u32 param_value,u8 pdev_id) ath12k_wmi_pdev_set_param() argument
1677 ath12k_wmi_pdev_suspend(struct ath12k * ar,u32 suspend_opt,u32 pdev_id) ath12k_wmi_pdev_suspend() argument
1708 ath12k_wmi_pdev_resume(struct ath12k * ar,u32 pdev_id) ath12k_wmi_pdev_resume() argument
3065 ath12k_wmi_send_dfs_phyerr_offload_enable_cmd(struct ath12k * ar,u32 pdev_id) ath12k_wmi_send_dfs_phyerr_offload_enable_cmd() argument
3606 ath12k_wmi_send_twt_enable_cmd(struct ath12k * ar,u32 pdev_id) ath12k_wmi_send_twt_enable_cmd() argument
3659 ath12k_wmi_send_twt_disable_cmd(struct ath12k * ar,u32 pdev_id) ath12k_wmi_send_twt_disable_cmd() argument
3772 ath12k_wmi_pdev_set_srg_bss_color_bitmap(struct ath12k * ar,u32 pdev_id,const u32 * bitmap) ath12k_wmi_pdev_set_srg_bss_color_bitmap() argument
3786 ath12k_wmi_pdev_set_srg_partial_bssid_bitmap(struct ath12k * ar,u32 pdev_id,const u32 * bitmap) ath12k_wmi_pdev_set_srg_partial_bssid_bitmap() argument
3800 ath12k_wmi_pdev_srg_obss_color_enable_bitmap(struct ath12k * ar,u32 pdev_id,const u32 * bitmap) ath12k_wmi_pdev_srg_obss_color_enable_bitmap() argument
3814 ath12k_wmi_pdev_srg_obss_bssid_enable_bitmap(struct ath12k * ar,u32 pdev_id,const u32 * bitmap) ath12k_wmi_pdev_srg_obss_bssid_enable_bitmap() argument
3828 ath12k_wmi_pdev_non_srg_obss_color_enable_bitmap(struct ath12k * ar,u32 pdev_id,const u32 * bitmap) ath12k_wmi_pdev_non_srg_obss_color_enable_bitmap() argument
3842 ath12k_wmi_pdev_non_srg_obss_bssid_enable_bitmap(struct ath12k * ar,u32 pdev_id,const u32 * bitmap) ath12k_wmi_pdev_non_srg_obss_bssid_enable_bitmap() argument
4335 ath12k_wmi_pdev_lro_cfg(struct ath12k * ar,int pdev_id) ath12k_wmi_pdev_lro_cfg() argument
4619 u32 pdev_id; ath12k_wmi_dma_buf_parse() local
9276 u32 pdev_id; ath12k_wmi_pdev_temperature_event() local
10236 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
10286 u32 pdev_id; ath12k_wmi_rssi_dbm_conversion_params_info_event() local
10622 __le32 *pdev_id; ath12k_wmi_send_tpc_stats_request() local
10734 ath12k_wmi_pdev_detach(struct ath12k_base * ab,u8 pdev_id) ath12k_wmi_pdev_detach() argument
10743 ath12k_wmi_pdev_attach(struct ath12k_base * ab,u8 pdev_id) ath12k_wmi_pdev_attach() argument
[all...]
H A Ddp_htt.c443 u8 pdev_id, pdev_idx; in ath12k_htt_pull_ppdu_stats() local
455 pdev_id = le32_get_bits(msg->info, HTT_T2H_PPDU_STATS_INFO_PDEV_ID); in ath12k_htt_pull_ppdu_stats()
458 pdev_idx = DP_HW2SW_MACID(pdev_id); in ath12k_htt_pull_ppdu_stats()
460 ath12k_warn(ab, "HTT PPDU STATS invalid pdev id %u", pdev_id); in ath12k_htt_pull_ppdu_stats()
545 u8 pdev_id; in ath12k_htt_mlo_offset_event_handler() local
548 pdev_id = u32_get_bits(__le32_to_cpu(msg->info), in ath12k_htt_mlo_offset_event_handler()
552 ar = ath12k_mac_get_ar_by_pdev_id(ab, pdev_id); in ath12k_htt_mlo_offset_event_handler()
1144 u32 pdev_id; in ath12k_dp_tx_htt_h2t_ext_stats_req() local
1156 pdev_id = ath12k_mac_get_target_pdev_id(ar); in ath12k_dp_tx_htt_h2t_ext_stats_req()
1157 cmd->hdr.pdev_mask = 1 << pdev_id; in ath12k_dp_tx_htt_h2t_ext_stats_req()
H A Dmac.c848 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
858 if (WARN_ON(pdev_id > ab->num_radios)) in ath12k_mac_get_ar_by_pdev_id()
867 if (pdev && pdev->pdev_id == pdev_id) in ath12k_mac_get_ar_by_pdev_id()
992 u8 pdev_id = ab->fw_pdev[0].pdev_id; in ath12k_mac_get_target_pdev_id_from_vif() local
996 return pdev_id; in ath12k_mac_get_target_pdev_id_from_vif()
1002 return ab->fw_pdev[i].pdev_id; in ath12k_mac_get_target_pdev_id_from_vif()
1005 return pdev_id; in ath12k_mac_get_target_pdev_id_from_vif()
1014 return ar->pdev->pdev_id; in ath12k_mac_get_target_pdev_id()
4606 u32 param_id, pdev_id; ath12k_mac_config_obss_pd() local
[all...]
H A Dhw.h246 u8 (*get_hw_mac_from_pdev_id)(int pdev_id);
H A Dcore.h575 u32 pdev_id; member
676 /* pdev_idx starts from 0 whereas pdev->pdev_id starts with 1 */
855 u32 pdev_id; member
863 u32 pdev_id; member
H A Ddebugfs.c1360 param.pdev_id = ath12k_mac_get_target_pdev_id(ar); in ath12k_open_bcn_stats()
1422 param.pdev_id = ath12k_mac_get_target_pdev_id(ar); in ath12k_open_pdev_stats()
1489 param.pdev_id = ath12k_mac_get_target_pdev_id(ar); in ath12k_write_simulate_incumbent_signal_interference()
H A Ddp.c890 ath12k_warn(ab, "failed to allocate pdev rx for pdev_id :%d\n", in ath12k_dp_pdev_alloc()
950 u32_encode_bits(ar->pdev->pdev_id, in ath12k_dp_vdev_tx_attach()
/linux/drivers/net/wireless/ath/ath11k/
H A Ddbring.c180 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 Dwmi.c406 pdev->pdev_id = mac_phy_caps->pdev_id; in ath11k_pull_mac_phy_cap_svc_ready_ext()
411 ab->target_pdev_ids[ab->target_pdev_count].pdev_id = mac_phy_caps->pdev_id; in ath11k_pull_mac_phy_cap_svc_ready_ext()
756 cmd->pdev_id = param->pdev_id; in ath11k_wmi_vdev_create()
801 macaddr, param->pdev_id); in ath11k_wmi_vdev_create()
1176 cmd->pdev_id = param->pdev_id; in ath11k_wmi_send_pdev_set_regdomain()
1188 param->current_rd_5g, param->dfs_domain, param->pdev_id); in ath11k_wmi_send_pdev_set_regdomain()
1342 ath11k_wmi_pdev_set_param(struct ath11k * ar,u32 param_id,u32 param_value,u8 pdev_id) ath11k_wmi_pdev_set_param() argument
1405 ath11k_wmi_pdev_suspend(struct ath11k * ar,u32 suspend_opt,u32 pdev_id) ath11k_wmi_pdev_suspend() argument
1436 ath11k_wmi_pdev_resume(struct ath11k * ar,u32 pdev_id) ath11k_wmi_pdev_resume() argument
2764 ath11k_wmi_send_dfs_phyerr_offload_enable_cmd(struct ath11k * ar,u32 pdev_id) ath11k_wmi_send_dfs_phyerr_offload_enable_cmd() argument
3304 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
3355 ath11k_wmi_send_twt_disable_cmd(struct ath11k * ar,u32 pdev_id) ath11k_wmi_send_twt_disable_cmd() argument
4376 ath11k_wmi_pdev_lro_cfg(struct ath11k * ar,int pdev_id) ath11k_wmi_pdev_lro_cfg() argument
9265 ath11k_wmi_pdev_detach(struct ath11k_base * ab,u8 pdev_id) ath11k_wmi_pdev_detach() argument
9274 ath11k_wmi_pdev_attach(struct ath11k_base * ab,u8 pdev_id) ath11k_wmi_pdev_attach() argument
[all...]
H A Dreg.c155 params->pdev_id = ar->pdev->pdev_id; in ath11k_reg_update_chan_list()
242 int ret, regd_len, pdev_id; in ath11k_regd_update()
246 pdev_id = ar->pdev_idx; in ath11k_regd_update()
251 if (ab->new_regd[pdev_id]) { in ath11k_regd_update()
252 regd = ab->new_regd[pdev_id]; in ath11k_regd_update()
259 if (ab->default_regd[pdev_id]) { in ath11k_regd_update()
260 regd = ab->default_regd[pdev_id]; in ath11k_regd_update()
240 int ret, regd_len, pdev_id; ath11k_regd_update() local
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()
3368 u32 bitmap[2], param_id, param_val, pdev_id; ath11k_mac_config_obss_pd() local
4104 ath11k_mac_get_fw_stats(struct ath11k * ar,u32 pdev_id,u32 vdev_id,u32 stats_id) ath11k_mac_get_fw_stats() argument
[all...]
H A Ddp_rx.c1566 u8 pdev_id; in ath11k_htt_pull_ppdu_stats()
1571 pdev_id = FIELD_GET(HTT_T2H_PPDU_STATS_INFO_PDEV_ID, msg->info); in ath11k_htt_pull_ppdu_stats()
1575 ar = ath11k_mac_get_ar_by_pdev_id(ab, pdev_id); in ath11k_htt_pull_ppdu_stats()
1614 u8 pdev_id; in ath11k_htt_pktlog()
1616 pdev_id = FIELD_GET(HTT_T2H_PPDU_STATS_INFO_PDEV_ID, data->hdr); in ath11k_htt_pktlog()
1620 ar = ath11k_mac_get_ar_by_pdev_id(ab, pdev_id); in ath11k_htt_pktlog()
1622 ath11k_warn(ab, "invalid pdev id %d on htt pktlog\n", pdev_id); in ath11k_htt_pktlog()
1637 u8 pdev_id, ring_type, ring_id, pdev_idx; in ath11k_htt_backpressure_event_handler()
1642 pdev_id = FIELD_GET(HTT_BACKPRESSURE_EVENT_PDEV_ID_M, *data); in ath11k_htt_backpressure_event_handler()
1654 pdev_id, ring_typ in ath11k_htt_backpressure_event_handler()
1561 u8 pdev_id; ath11k_htt_pull_ppdu_stats() local
1609 u8 pdev_id; ath11k_htt_pktlog() local
1632 u8 pdev_id, ring_type, ring_id, pdev_idx; ath11k_htt_backpressure_event_handler() local
[all...]
H A Dcfr.c670 enable_cfr, ar->pdev->pdev_id); in ath11k_write_file_enable_cfr()
H A Dcore.c1149 * so pass 0 as a dummy pdev_id here. in ath11k_core_continue_suspend_resume()
2103 pdev->pdev_id); in ath11k_core_pdev_suspend_target()
/linux/drivers/hwmon/
H A Dntc_thermistor.c648 const struct platform_device_id *pdev_id; in ntc_thermistor_probe() local
672 pdev_id = device_get_match_data(dev); in ntc_thermistor_probe()
674 if (pdev_id->driver_data >= ARRAY_SIZE(ntc_type)) { in ntc_thermistor_probe()
676 pdev_id->driver_data, pdev_id->name); in ntc_thermistor_probe()
680 data->comp = ntc_type[pdev_id->driver_data].comp; in ntc_thermistor_probe()
681 data->n_comp = ntc_type[pdev_id->driver_data].n_comp; in ntc_thermistor_probe()
683 hwmon_dev = devm_hwmon_device_register_with_info(dev, pdev_id->name, in ntc_thermistor_probe()
692 pdev_id->name); in ntc_thermistor_probe()
/linux/drivers/xen/xen-pciback/
H A Dpci_stub.c340 struct pcistub_device_id *pdev_id) in pcistub_match_one() argument
346 if (pci_domain_nr(dev->bus) == pdev_id->domain in pcistub_match_one()
347 && dev->bus->number == pdev_id->bus in pcistub_match_one()
348 && dev->devfn == pdev_id->devfn) in pcistub_match_one()
361 struct pcistub_device_id *pdev_id; in pcistub_match() local
366 list_for_each_entry(pdev_id, &pcistub_device_ids, slot_list) { in pcistub_match()
367 if (pcistub_match_one(dev, pdev_id)) { in pcistub_match()
/linux/drivers/edac/
H A Daltera_edac.c1017 const struct of_device_id *pdev_id; in altr_init_a10_ecc_device_type() local
1033 pdev_id = of_match_node(altr_edac_a10_device_of_match, child); in altr_init_a10_ecc_device_type()
1034 if (IS_ERR_OR_NULL(pdev_id)) in altr_init_a10_ecc_device_type()
1038 prv = pdev_id->data; in altr_init_a10_ecc_device_type()
1893 const struct of_device_id *pdev_id = in altr_edac_a10_device_add() local
1895 if (IS_ERR_OR_NULL(pdev_id)) in altr_edac_a10_device_add()
1899 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()
1346 sm->pdev_id = dev->id; in sm501_plat_probe()
1532 sm->pdev_id = 32 + dev->devfn; in sm501_pci_probe()
/linux/drivers/net/wireless/ath/ath12k/wifi7/
H A Ddp_tx.c502 u8 pdev_id; in ath12k_dp_tx_htt_tx_complete_buf()
507 pdev_id = ath12k_hw_mac_id_to_pdev_id(dp->hw_params, desc_params->mac_id); in ath12k_dp_tx_htt_tx_complete_buf()
510 dp_pdev = ath12k_dp_to_pdev_dp(dp, pdev_id); in ath12k_dp_tx_htt_tx_complete_buf()
493 u8 pdev_id; ath12k_dp_tx_htt_tx_complete_buf() local
/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_main.c5808 static int be_probe(struct pci_dev *pdev, const struct pci_device_id *pdev_id)
5809 be_probe(struct pci_dev * pdev,const struct pci_device_id * pdev_id) be_probe() argument