Home
last modified time | relevance | path

Searched refs:pdev_id (Results 1 – 17 of 17) 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()
1450 cmd->pdev_id = cpu_to_le32(arg->pdev_id); in ath12k_wmi_send_pdev_set_regdomain()
1455 arg->current_rd_5g, arg->dfs_domain, arg->pdev_id); in ath12k_wmi_send_pdev_set_regdomain()
[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()
1023 return ar->ab->fw_pdev[0].pdev_id; in ath12k_mac_get_target_pdev_id()
1080 txpower, ar->pdev->pdev_id); in ath12k_mac_txpower_recalc()
[all …]
H A Dhw.h244 u8 (*get_hw_mac_from_pdev_id)(int pdev_id);
H A Dcore.h576 u32 pdev_id; member
856 u32 pdev_id; member
864 u32 pdev_id; member
H A Ddebugfs.c1290 param.pdev_id = ath12k_mac_get_target_pdev_id(ar); in ath12k_open_vdev_stats()
1352 param.pdev_id = ath12k_mac_get_target_pdev_id(ar); in ath12k_open_bcn_stats()
1419 param.pdev_id = ath12k_mac_get_target_pdev_id(ar); in ath12k_open_pdev_stats()
H A Ddp.c949 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 u32 param_value, u8 pdev_id) in ath11k_wmi_pdev_set_param() argument
1356 cmd->pdev_id = pdev_id; in ath11k_wmi_pdev_set_param()
1368 param_id, pdev_id, param_value); in ath11k_wmi_pdev_set_param()
1405 u32 pdev_id) in ath11k_wmi_pdev_suspend() argument
[all …]
H A Dreg.c153 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 Ddp_rx.c1561 u8 pdev_id; in ath11k_htt_pull_ppdu_stats() local
1566 pdev_id = FIELD_GET(HTT_T2H_PPDU_STATS_INFO_PDEV_ID, msg->info); in ath11k_htt_pull_ppdu_stats()
1570 ar = ath11k_mac_get_ar_by_pdev_id(ab, pdev_id); in ath11k_htt_pull_ppdu_stats()
1609 u8 pdev_id; in ath11k_htt_pktlog() local
1611 pdev_id = FIELD_GET(HTT_T2H_PPDU_STATS_INFO_PDEV_ID, data->hdr); in ath11k_htt_pktlog()
1615 ar = ath11k_mac_get_ar_by_pdev_id(ab, pdev_id); in ath11k_htt_pktlog()
1617 ath11k_warn(ab, "invalid pdev id %d on htt pktlog\n", pdev_id); in ath11k_htt_pktlog()
1632 u8 pdev_id, ring_type, ring_id, pdev_idx; in ath11k_htt_backpressure_event_handler() local
1637 pdev_id = FIELD_GET(HTT_BACKPRESSURE_EVENT_PDEV_ID_M, *data); in ath11k_htt_backpressure_event_handler()
1649 pdev_id, ring_type, ring_id, hp, tp, backpressure_time); in ath11k_htt_backpressure_event_handler()
[all …]
H A Dcfr.c670 enable_cfr, ar->pdev->pdev_id); in ath11k_write_file_enable_cfr()
H A Dcore.c2106 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/net/wireless/ath/ath12k/wifi7/
H A Ddp_tx.c493 u8 pdev_id; in ath12k_dp_tx_htt_tx_complete_buf() local
498 pdev_id = ath12k_hw_mac_id_to_pdev_id(dp->hw_params, desc_params->mac_id); in ath12k_dp_tx_htt_tx_complete_buf()
501 dp_pdev = ath12k_dp_to_pdev_dp(dp, pdev_id); in ath12k_dp_tx_htt_tx_complete_buf()
/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_main.c5809 static int be_probe(struct pci_dev *pdev, const struct pci_device_id *pdev_id) in be_probe() argument