/linux/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_dsaf_mac.c | 179 mac_cb->mac_id, ret); in hns_mac_adjust_link() 199 if (mac_cb->mac_id != DSAF_MAX_PORT_NUM) { in hns_mac_get_inner_port_num() 203 mac_cb->mac_id, vmid); in hns_mac_get_inner_port_num() 207 if (mac_cb->mac_id >= DSAF_MAX_PORT_NUM) { in hns_mac_get_inner_port_num() 211 mac_cb->mac_id, vmid); in hns_mac_get_inner_port_num() 216 mac_cb->dsaf_dev->ae_dev.name, mac_cb->mac_id); in hns_mac_get_inner_port_num() 222 mac_cb->dsaf_dev->ae_dev.name, mac_cb->mac_id, vmid); in hns_mac_get_inner_port_num() 230 vf_num_per_port * q_num_per_vf * mac_cb->mac_id; in hns_mac_get_inner_port_num() 255 mac_cb->dsaf_dev->ae_dev.name, mac_cb->mac_id); in hns_mac_get_inner_port_num() 284 mac_entry.in_port_num = mac_cb->mac_id; in hns_mac_change_vf_addr() [all …]
|
H A D | hns_dsaf_misc.c | 125 mac_cb->mac_id); in hns_cpld_set_led() 162 link_status, mac_cb->mac_id, data); in hns_cpld_set_led_acpi() 186 0, mac_cb->mac_id, 0); in cpld_led_reset_acpi() 232 mac_cb->mac_id); in cpld_set_led_id_acpi() 238 mac_cb->mac_id); in cpld_set_led_id_acpi() 517 int mac_id = mac_cb->mac_id; in hns_mac_get_phy_if() local 524 if (mac_id >= 0 && mac_id <= 3) in hns_mac_get_phy_if() 529 if (!HNS_DSAF_IS_DEBUG(mac_cb->dsaf_dev) && mac_id <= 3) in hns_mac_get_phy_if() 551 obj_args.integer.value = mac_cb->mac_id; in hns_mac_get_phy_if_acpi() 567 dev_dbg(mac_cb->dev, "mac_id=%d, phy_if=%d\n", mac_cb->mac_id, phy_if); in hns_mac_get_phy_if_acpi() [all …]
|
/linux/drivers/net/wireless/ath/ath11k/ |
H A D | dp_rx.h | 68 int ath11k_dp_process_rxdma_err(struct ath11k_base *ab, int mac_id, int budget); 73 int ath11k_dp_process_rx(struct ath11k_base *ab, int mac_id, 76 int ath11k_dp_rxbufs_replenish(struct ath11k_base *ab, int mac_id, 84 int ath11k_dp_rx_process_mon_rings(struct ath11k_base *ab, int mac_id, 86 int ath11k_dp_rx_process_mon_status(struct ath11k_base *ab, int mac_id, 88 int ath11k_dp_rx_mon_status_bufs_replenish(struct ath11k_base *ab, int mac_id,
|
H A D | dp_tx.c | 286 static void ath11k_dp_tx_free_txbuf(struct ath11k_base *ab, u8 mac_id, in ath11k_dp_tx_free_txbuf() argument 309 ar = ab->pdevs[mac_id].ar; in ath11k_dp_tx_free_txbuf() 390 void *desc, u8 mac_id, in ath11k_dp_tx_process_htt_tx_complete() argument 421 ath11k_dp_tx_free_txbuf(ab, mac_id, msdu_id, tx_ring); in ath11k_dp_tx_process_htt_tx_complete() 697 u8 mac_id; in ath11k_dp_tx_completion_handler() local 734 mac_id = FIELD_GET(DP_TX_DESC_ID_MAC_ID, desc_id); in ath11k_dp_tx_completion_handler() 740 mac_id, msdu_id, in ath11k_dp_tx_completion_handler() 756 ar = ab->pdevs[mac_id].ar; in ath11k_dp_tx_completion_handler() 815 int mac_id, u32 ring_id, in ath11k_dp_tx_get_ring_id_type() argument 825 lmac_ring_id_offset = mac_id * HAL_SRNG_RINGS_PER_LMAC; in ath11k_dp_tx_get_ring_id_type() [all …]
|
H A D | dp_rx.c | 344 int ath11k_dp_rxbufs_replenish(struct ath11k_base *ab, int mac_id, in ath11k_dp_rxbufs_replenish() argument 405 cookie = FIELD_PREP(DP_RXDMA_BUF_COOKIE_PDEV_ID, mac_id) | in ath11k_dp_rxbufs_replenish() 490 ath11k_dp_rxbufs_replenish(ar->ab, dp->mac_id, rx_ring, num_entries, in ath11k_dp_rxdma_ring_buf_setup() 581 dp->mac_id, DP_RXDMA_BUF_RING_SIZE); in ath11k_dp_rx_pdev_srng_alloc() 592 dp->mac_id + i, 1024); in ath11k_dp_rx_pdev_srng_alloc() 603 HAL_RXDMA_DST, 0, dp->mac_id + i, in ath11k_dp_rx_pdev_srng_alloc() 615 HAL_RXDMA_MONITOR_STATUS, 0, dp->mac_id + i, in ath11k_dp_rx_pdev_srng_alloc() 638 HAL_RXDMA_MONITOR_BUF, 0, dp->mac_id, in ath11k_dp_rx_pdev_srng_alloc() 647 HAL_RXDMA_MONITOR_DST, 0, dp->mac_id, in ath11k_dp_rx_pdev_srng_alloc() 656 HAL_RXDMA_MONITOR_DESC, 0, dp->mac_id, in ath11k_dp_rx_pdev_srng_alloc() [all …]
|
H A D | hw.h | 236 int (*mac_id_to_pdev_id)(struct ath11k_hw_params *hw, int mac_id); 237 int (*mac_id_to_srng_id)(struct ath11k_hw_params *hw, int mac_id); 308 int mac_id) in ath11k_hw_mac_id_to_pdev_id() argument 311 return hw->hw_ops->mac_id_to_pdev_id(hw, mac_id); in ath11k_hw_mac_id_to_pdev_id() 317 int mac_id) in ath11k_hw_mac_id_to_srng_id() argument 320 return hw->hw_ops->mac_id_to_srng_id(hw, mac_id); in ath11k_hw_mac_id_to_srng_id()
|
H A D | dp_tx.h | 39 int mac_id, enum hal_ring_type ring_type, 43 int ath11k_dp_tx_htt_rx_full_mon_setup(struct ath11k_base *ab, int mac_id,
|
H A D | dp.h | 172 u32 mac_id; member 236 #define DP_HW2SW_MACID(mac_id) ((mac_id) ? ((mac_id) - 1) : 0) argument 237 #define DP_SW2HW_MACID(mac_id) ((mac_id) + 1) argument 1669 int mac_id, enum hal_ring_type ring_type); 1675 int mac_id, int num_entries);
|
/linux/drivers/net/wireless/ath/ath12k/ |
H A D | dp_mon.h | 80 int mac_id, struct sk_buff *skb, 85 int ath12k_dp_mon_srng_process(struct ath12k *ar, int mac_id, 88 int ath12k_dp_mon_process_ring(struct ath12k_base *ab, int mac_id, 99 int mac_id, 104 int ath12k_dp_mon_rx_process_stats(struct ath12k *ar, int mac_id,
|
H A D | hw.h | 227 int (*mac_id_to_pdev_id)(const struct ath12k_hw_params *hw, int mac_id); 228 int (*mac_id_to_srng_id)(const struct ath12k_hw_params *hw, int mac_id); 245 int mac_id) in ath12k_hw_mac_id_to_pdev_id() argument 248 return hw->hw_ops->mac_id_to_pdev_id(hw, mac_id); in ath12k_hw_mac_id_to_pdev_id() 254 int mac_id) in ath12k_hw_mac_id_to_srng_id() argument 257 return hw->hw_ops->mac_id_to_srng_id(hw, mac_id); in ath12k_hw_mac_id_to_srng_id()
|
H A D | dp_tx.c | 376 tx_desc->mac_id = ar->pdev_idx; in ath12k_dp_tx() 480 struct sk_buff *msdu, u8 mac_id, in ath12k_dp_tx_free_txbuf() argument 485 u8 pdev_id = ath12k_hw_mac_id_to_pdev_id(ab->hw_params, mac_id); in ath12k_dp_tx_free_txbuf() 546 void *desc, u8 mac_id, in ath12k_dp_tx_process_htt_tx_complete() argument 570 ath12k_dp_tx_free_txbuf(ab, msdu, mac_id, tx_ring); in ath12k_dp_tx_process_htt_tx_complete() 702 u8 mac_id, pdev_id; in ath12k_dp_tx_completion_handler() local 757 mac_id = tx_desc->mac_id; in ath12k_dp_tx_completion_handler() 766 mac_id, msdu, in ath12k_dp_tx_completion_handler() 771 pdev_id = ath12k_hw_mac_id_to_pdev_id(ab->hw_params, mac_id); in ath12k_dp_tx_completion_handler() 783 int mac_id, u32 ring_id, in ath12k_dp_tx_get_ring_id_type() argument [all …]
|
H A D | hw.c | 28 int mac_id) in ath12k_hw_mac_id_to_pdev_id_qcn9274() argument 30 return mac_id; in ath12k_hw_mac_id_to_pdev_id_qcn9274() 34 int mac_id) in ath12k_hw_mac_id_to_srng_id_qcn9274() argument 53 int mac_id) in ath12k_hw_mac_id_to_pdev_id_wcn7850() argument 59 int mac_id) in ath12k_hw_mac_id_to_srng_id_wcn7850() argument 61 return mac_id; in ath12k_hw_mac_id_to_srng_id_wcn7850()
|
H A D | dp.h | 134 u32 mac_id; member 195 #define DP_HW2SW_MACID(mac_id) ({ typeof(mac_id) x = (mac_id); x ? x - 1 : 0; }) argument 196 #define DP_SW2HW_MACID(mac_id) ((mac_id) + 1) argument 297 u8 mac_id; member 1811 int mac_id, enum hal_ring_type ring_type); 1817 int mac_id, int num_entries);
|
H A D | dp_rx.c | 532 u32 mac_id = dp->mac_id; in ath12k_dp_rx_pdev_srng_alloc() local 538 0, mac_id + i, in ath12k_dp_rx_pdev_srng_alloc() 2555 u8 mac_id, pdev_id; in ath12k_dp_rx_process_received_packets() local 2565 mac_id = rxcb->mac_id; in ath12k_dp_rx_process_received_packets() 2566 pdev_id = ath12k_hw_mac_id_to_pdev_id(ab->hw_params, mac_id); in ath12k_dp_rx_process_received_packets() 2630 int mac_id; in ath12k_dp_rx_process() local 2651 mac_id = le32_get_bits(desc->info0, in ath12k_dp_rx_process() 2701 rxcb->mac_id = mac_id; in ath12k_dp_rx_process() 3435 int mac_id; in ath12k_dp_rx_process_err() local 3495 mac_id = le32_get_bits(reo_desc->info0, in ath12k_dp_rx_process_err() [all …]
|
/linux/drivers/net/ethernet/mediatek/ |
H A D | mtk_eth_path.c | 252 int mtk_gmac_sgmii_path_setup(struct mtk_eth *eth, int mac_id) in mtk_gmac_sgmii_path_setup() argument 256 path = (mac_id == 0) ? MTK_ETH_PATH_GMAC1_SGMII : in mtk_gmac_sgmii_path_setup() 263 int mtk_gmac_gephy_path_setup(struct mtk_eth *eth, int mac_id) in mtk_gmac_gephy_path_setup() argument 267 if (mac_id == 1) in mtk_gmac_gephy_path_setup() 277 int mtk_gmac_rgmii_path_setup(struct mtk_eth *eth, int mac_id) in mtk_gmac_rgmii_path_setup() argument 281 path = (mac_id == 0) ? MTK_ETH_PATH_GMAC1_RGMII : in mtk_gmac_rgmii_path_setup()
|
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | mac-cfg.h | 132 __le32 mac_id; member 148 __le32 mac_id; member 184 __le32 mac_id; member 222 __le32 mac_id; member 240 __le32 mac_id; member 517 __le32 mac_id; member
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
H A D | dm.c | 1268 u8 ant, u32 mac_id) in rtl88e_dm_update_tx_ant() argument 1280 pfat_table->antsel_a[mac_id] = target_ant & BIT(0); in rtl88e_dm_update_tx_ant() 1281 pfat_table->antsel_b[mac_id] = (target_ant & BIT(1)) >> 1; in rtl88e_dm_update_tx_ant() 1282 pfat_table->antsel_c[mac_id] = (target_ant & BIT(2)) >> 2; in rtl88e_dm_update_tx_ant() 1286 pfat_table->antsel_c[mac_id], in rtl88e_dm_update_tx_ant() 1287 pfat_table->antsel_b[mac_id], in rtl88e_dm_update_tx_ant() 1288 pfat_table->antsel_a[mac_id]); in rtl88e_dm_update_tx_ant() 1403 u8 *pdesc, u32 mac_id) in rtl88e_dm_set_tx_ant_by_tx_info() argument 1412 set_tx_desc_antsel_a(pdesc32, pfat_table->antsel_a[mac_id]); in rtl88e_dm_set_tx_ant_by_tx_info() 1413 set_tx_desc_antsel_b(pdesc32, pfat_table->antsel_b[mac_id]); in rtl88e_dm_set_tx_ant_by_tx_info() [all …]
|
H A D | dm.h | 247 u8 *pdesc, u32 mac_id); 249 u8 antsel_tr_mux, u32 mac_id,
|
/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | chan.c | 579 req.macid_x = ref->rtwvif_link->mac_id; in __mcc_fw_req_tsf() 580 req.macid_y = aux->rtwvif_link->mac_id; in __mcc_fw_req_tsf() 704 rtw89_mcc_role_fw_macid_bitmap_set_bit(mcc_role, rtwsta_link->mac_id); in rtw89_mcc_role_macid_sta_iter() 712 rtw89_mcc_role_fw_macid_bitmap_set_bit(mcc_role, rtwvif_link->mac_id); in rtw89_mcc_fill_role_macid_bitmap() 889 ordered_idx, role_vif->mac_id); in rtw89_mcc_fill_role_iterator() 947 pattern->courtesy.macid_tgt = aux->rtwvif_link->mac_id; in rtw89_mcc_assign_pattern() 948 pattern->courtesy.macid_src = ref->rtwvif_link->mac_id; in rtw89_mcc_assign_pattern() 952 pattern->courtesy.macid_tgt = ref->rtwvif_link->mac_id; in rtw89_mcc_assign_pattern() 953 pattern->courtesy.macid_src = aux->rtwvif_link->mac_id; in rtw89_mcc_assign_pattern() 1473 config->sync.macid_tgt = tgt->rtwvif_link->mac_id; in rtw89_mcc_sync_tbtt() [all …]
|
H A D | core.c | 597 return rtwvif_link->mac_id; in rtw89_core_tx_get_mac_id() 599 return rtwsta_link->mac_id; in rtw89_core_tx_get_mac_id() 631 desc_info->mac_id = rtw89_core_tx_get_mac_id(rtwdev, tx_req); in rtw89_core_tx_update_mgmt_info() 848 desc_info->mac_id = rtw89_core_tx_get_mac_id(rtwdev, tx_req); in rtw89_core_tx_update_data_info() 1141 FIELD_PREP(RTW89_TXWD_BODY2_MACID, desc_info->mac_id); in rtw89_build_txwd_body2() 1321 FIELD_PREP(BE_TXD_BODY2_MACID, desc_info->mac_id); in rtw89_build_txwd_body2_v2() 1521 phy_ppdu->mac_id = in rtw89_core_rx_process_mac_ppdu() 1588 if (rtwsta_link->mac_id != phy_ppdu->mac_id || !phy_ppdu->to_self) in rtw89_core_rx_process_phy_ppdu_iter() 2374 .mac_id = desc_info->mac_id}; in rtw89_core_rx_process_ppdu_sts() 2462 desc_info->mac_id = le32_get_bits(rxd_l->dword5, AX_RXD_MAC_ID_MASK); in rtw89_core_query_rxdesc() [all …]
|
/linux/drivers/staging/rtl8723bs/hal/ |
H A D | rtl8723b_cmd.c | 329 void rtl8723b_set_FwMacIdConfig_cmd(struct adapter *padapter, u8 mac_id, u8 raid, u8 bw, u8 sgi, u3… in rtl8723b_set_FwMacIdConfig_cmd() argument 333 SET_8723B_H2CCMD_MACID_CFG_MACID(u1H2CMacIdConfigParm, mac_id); in rtl8723b_set_FwMacIdConfig_cmd() 348 u8 mac_id = *param; in rtl8723b_set_rssi_cmd() local 352 SET_8723B_H2CCMD_RSSI_SETTING_MACID(u1H2CRssiSettingParm, mac_id); in rtl8723b_set_rssi_cmd() 739 u8 mac_id = arg[0]; in rtl8723b_Add_RateATid() local 745 psta = pmlmeinfo->FW_sta_info[mac_id].psta; in rtl8723b_Add_RateATid() 752 mask = ODM_Get_Rate_Bitmap(&pHalData->odmpriv, mac_id, mask, rssi_level); in rtl8723b_Add_RateATid() 754 rtl8723b_set_FwMacIdConfig_cmd(padapter, mac_id, raid, bw, shortGI, mask); in rtl8723b_Add_RateATid()
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
H A D | dm.h | 237 u32 mac_id); 239 u32 mac_id, u32 rx_pwdb_all);
|
/linux/drivers/net/wireless/realtek/rtw88/ |
H A D | main.h | 594 u8 mac_id; member 636 u8 mac_id; member 757 u8 mac_id; member 809 u8 mac_id; member 2160 unsigned long mac_id; in rtw_acquire_macid() local 2162 mac_id = find_first_zero_bit(rtwdev->mac_id_map, RTW_MAX_MAC_ID_NUM); in rtw_acquire_macid() 2163 if (mac_id < RTW_MAX_MAC_ID_NUM) in rtw_acquire_macid() 2164 set_bit(mac_id, rtwdev->mac_id_map); in rtw_acquire_macid() 2166 return mac_id; in rtw_acquire_macid() 2169 static inline void rtw_release_macid(struct rtw_dev *rtwdev, u8 mac_id) in rtw_release_macid() argument [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
H A D | dm.h | 263 u8 *pdesc, u32 mac_id); 265 u8 antsel_tr_mux, u32 mac_id,
|
/linux/drivers/staging/rtl8723bs/include/ |
H A D | rtw_event.h | 60 int mac_id; member
|