/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/ |
H A D | dp_rx.c | 278 int ath11k_dp_rxbufs_replenish(struct ath11k_base *ab, int mac_id, in ath11k_dp_rxbufs_replenish() argument 339 cookie = FIELD_PREP(DP_RXDMA_BUF_COOKIE_PDEV_ID, mac_id) | in ath11k_dp_rxbufs_replenish() 447 ath11k_dp_rxbufs_replenish(ar->ab, dp->mac_id, rx_ring, num_entries, in ath11k_dp_rxdma_ring_buf_setup() 538 dp->mac_id, DP_RXDMA_BUF_RING_SIZE); in ath11k_dp_rx_pdev_srng_alloc() 549 dp->mac_id + i, 1024); in ath11k_dp_rx_pdev_srng_alloc() 560 HAL_RXDMA_DST, 0, dp->mac_id + i, in ath11k_dp_rx_pdev_srng_alloc() 572 HAL_RXDMA_MONITOR_STATUS, 0, dp->mac_id + i, in ath11k_dp_rx_pdev_srng_alloc() 595 HAL_RXDMA_MONITOR_BUF, 0, dp->mac_id, in ath11k_dp_rx_pdev_srng_alloc() 604 HAL_RXDMA_MONITOR_DST, 0, dp->mac_id, in ath11k_dp_rx_pdev_srng_alloc() 613 HAL_RXDMA_MONITOR_DESC, 0, dp->mac_id, in ath11k_dp_rx_pdev_srng_alloc() 2498 u8 mac_id; ath11k_dp_rx_process_received_packets() local 2548 int buf_id, mac_id; ath11k_dp_process_rx() local 2775 ath11k_dp_rx_mon_status_bufs_replenish(struct ath11k_base *ab, int mac_id, struct dp_rxdma_ring *rx_ring, int req_entries, enum hal_rx_buf_return_buf_manager mgr) ath11k_dp_rx_mon_status_bufs_replenish() argument 2840 ath11k_dp_rx_reap_mon_status_ring(struct ath11k_base *ab, int mac_id, int *budget, struct sk_buff_head *skb_list) ath11k_dp_rx_reap_mon_status_ring() argument 2939 ath11k_dp_rx_process_mon_status(struct ath11k_base *ab, int mac_id, struct napi_struct *napi, int budget) ath11k_dp_rx_process_mon_status() argument 3636 int buf_id, mac_id; ath11k_dp_process_rx_err() local 3944 int buf_id, mac_id; ath11k_dp_rx_process_wbm_err() local 4050 ath11k_dp_process_rxdma_err(struct ath11k_base *ab, int mac_id, int budget) ath11k_dp_process_rxdma_err() argument 4218 ath11k_dp_rx_pdev_free(struct ath11k_base *ab, int mac_id) ath11k_dp_rx_pdev_free() argument 4226 ath11k_dp_rx_pdev_alloc(struct ath11k_base *ab, int mac_id) ath11k_dp_rx_pdev_alloc() argument 4334 ath11k_dp_rx_monitor_link_desc_return(struct ath11k *ar, void *p_last_buf_addr_info, u8 mac_id) ath11k_dp_rx_monitor_link_desc_return() argument 4494 ath11k_dp_rx_mon_mpdu_pop(struct ath11k *ar, int mac_id, void *ring_entry, struct sk_buff **head_msdu, struct sk_buff **tail_msdu, u32 *npackets, u32 *ppdu_id) ath11k_dp_rx_mon_mpdu_pop() argument 4698 ath11k_dp_rx_mon_merg_msdus(struct ath11k *ar, u32 mac_id, struct sk_buff *head_msdu, struct sk_buff *last_msdu, struct ieee80211_rx_status *rxs) ath11k_dp_rx_mon_merg_msdus() argument 4802 ath11k_dp_rx_mon_deliver(struct ath11k *ar, u32 mac_id, struct sk_buff *head_msdu, struct sk_buff *tail_msdu, struct napi_struct *napi) ath11k_dp_rx_mon_deliver() argument 4855 ath11k_dp_rx_mon_dest_process(struct ath11k *ar, int mac_id, u32 quota, struct napi_struct *napi) ath11k_dp_rx_mon_dest_process() argument 4936 ath11k_dp_rx_mon_status_process_tlv(struct ath11k *ar, int mac_id, u32 quota, struct napi_struct *napi) ath11k_dp_rx_mon_status_process_tlv() argument 4968 ath11k_dp_mon_process_rx(struct ath11k_base *ab, int mac_id, struct napi_struct *napi, int budget) ath11k_dp_mon_process_rx() argument 4984 ath11k_dp_rx_process_mon_rings(struct ath11k_base *ab, int mac_id, struct napi_struct *napi, int budget) ath11k_dp_rx_process_mon_rings() argument [all...] |
H A D | dp_tx.c | 282 static void ath11k_dp_tx_free_txbuf(struct ath11k_base *ab, u8 mac_id, in ath11k_dp_tx_free_txbuf() argument 307 ar = ab->pdevs[mac_id].ar; in ath11k_dp_tx_free_txbuf() 362 void *desc, u8 mac_id, in ath11k_dp_tx_process_htt_tx_complete() 385 ath11k_dp_tx_free_txbuf(ab, mac_id, msdu_id, tx_ring); in ath11k_dp_tx_process_htt_tx_complete() 538 u8 mac_id; in ath11k_dp_tx_completion_handler() local 574 mac_id = FIELD_GET(DP_TX_DESC_ID_MAC_ID, desc_id); in ath11k_dp_tx_completion_handler() 580 mac_id, msdu_id, in ath11k_dp_tx_completion_handler() 596 ar = ab->pdevs[mac_id].ar; in ath11k_dp_tx_completion_handler() 652 int mac_id, u32 ring_id, in ath11k_dp_tx_get_ring_id_type() 662 lmac_ring_id_offset = mac_id * HAL_SRNG_RINGS_PER_LMA in ath11k_dp_tx_get_ring_id_type() 361 ath11k_dp_tx_process_htt_tx_complete(struct ath11k_base *ab, void *desc, u8 mac_id, u32 msdu_id, struct dp_tx_ring *tx_ring) ath11k_dp_tx_process_htt_tx_complete() argument 651 ath11k_dp_tx_get_ring_id_type(struct ath11k_base *ab, int mac_id, u32 ring_id, enum hal_ring_type ring_type, enum htt_srng_ring_type *htt_ring_type, enum htt_srng_ring_id *htt_ring_id) ath11k_dp_tx_get_ring_id_type() argument 713 ath11k_dp_tx_htt_srng_setup(struct ath11k_base *ab, u32 ring_id, int mac_id, enum hal_ring_type ring_type) ath11k_dp_tx_htt_srng_setup() argument 911 ath11k_dp_tx_htt_rx_filter_setup(struct ath11k_base *ab, u32 ring_id, int mac_id, enum hal_ring_type ring_type, int rx_buf_size, struct htt_rx_ring_tlv_filter *tlv_filter) ath11k_dp_tx_htt_rx_filter_setup() argument [all...] |
H A D | dp.h | 144 u32 mac_id; member 202 #define DP_HW2SW_MACID(mac_id) ((mac_id) ? ((mac_id) - 1) : 0) 203 #define DP_SW2HW_MACID(mac_id) ((mac_id) + 1) 1076 * | payload_size | rsvd |pdev_id|mac_id | msg type | 1093 * - mac_id 1095 * Purpose: mac_id of this ppdu_id 1346 * | payload_size | rsvd |pdev_id|mac_id| ms [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath11k/ |
H A D | hw.h | 235 int (*mac_id_to_pdev_id)(struct ath11k_hw_params *hw, int mac_id); 236 int (*mac_id_to_srng_id)(struct ath11k_hw_params *hw, int mac_id); 307 int mac_id) in ath11k_hw_mac_id_to_pdev_id() 310 return hw->hw_ops->mac_id_to_pdev_id(hw, mac_id); in ath11k_hw_mac_id_to_pdev_id() 316 int mac_id) in ath11k_hw_mac_id_to_srng_id() 319 return hw->hw_ops->mac_id_to_srng_id(hw, mac_id); in ath11k_hw_mac_id_to_srng_id() 306 ath11k_hw_mac_id_to_pdev_id(struct ath11k_hw_params *hw, int mac_id) ath11k_hw_mac_id_to_pdev_id() argument 315 ath11k_hw_mac_id_to_srng_id(struct ath11k_hw_params *hw, int mac_id) ath11k_hw_mac_id_to_srng_id() argument
|
H A D | dp_tx.h | 38 int mac_id, enum hal_ring_type ring_type, 42 int ath11k_dp_tx_htt_rx_full_mon_setup(struct ath11k_base *ab, int mac_id,
|
H A D | dp_rx.c | 343 int ath11k_dp_rxbufs_replenish(struct ath11k_base *ab, int mac_id, in ath11k_dp_rxbufs_replenish() argument 404 cookie = FIELD_PREP(DP_RXDMA_BUF_COOKIE_PDEV_ID, mac_id) | in ath11k_dp_rxbufs_replenish() 489 ath11k_dp_rxbufs_replenish(ar->ab, dp->mac_id, rx_ring, num_entries, in ath11k_dp_rxdma_ring_buf_setup() 580 dp->mac_id, DP_RXDMA_BUF_RING_SIZE); in ath11k_dp_rx_pdev_srng_alloc() 591 dp->mac_id + i, 1024); in ath11k_dp_rx_pdev_srng_alloc() 602 HAL_RXDMA_DST, 0, dp->mac_id + i, in ath11k_dp_rx_pdev_srng_alloc() 614 HAL_RXDMA_MONITOR_STATUS, 0, dp->mac_id + i, in ath11k_dp_rx_pdev_srng_alloc() 637 HAL_RXDMA_MONITOR_BUF, 0, dp->mac_id, in ath11k_dp_rx_pdev_srng_alloc() 646 HAL_RXDMA_MONITOR_DST, 0, dp->mac_id, in ath11k_dp_rx_pdev_srng_alloc() 655 HAL_RXDMA_MONITOR_DESC, 0, dp->mac_id, in ath11k_dp_rx_pdev_srng_alloc() 2599 ath11k_dp_rx_process_received_packets(struct ath11k_base *ab, struct napi_struct *napi, struct sk_buff_head *msdu_list, int mac_id) ath11k_dp_rx_process_received_packets() argument 2648 int buf_id, mac_id; ath11k_dp_process_rx() local 2893 ath11k_dp_rx_mon_status_bufs_replenish(struct ath11k_base *ab, int mac_id, struct dp_rxdma_ring *rx_ring, int req_entries, enum hal_rx_buf_return_buf_manager mgr) ath11k_dp_rx_mon_status_bufs_replenish() argument 2995 ath11k_dp_rx_reap_mon_status_ring(struct ath11k_base *ab, int mac_id, int *budget, struct sk_buff_head *skb_list) ath11k_dp_rx_reap_mon_status_ring() argument 3777 int buf_id, mac_id; ath11k_dp_process_rx_err() local 4085 int buf_id, mac_id; ath11k_dp_rx_process_wbm_err() local 4191 ath11k_dp_process_rxdma_err(struct ath11k_base *ab, int mac_id, int budget) ath11k_dp_process_rxdma_err() argument 4359 ath11k_dp_rx_pdev_free(struct ath11k_base *ab, int mac_id) ath11k_dp_rx_pdev_free() argument 4367 ath11k_dp_rx_pdev_alloc(struct ath11k_base *ab, int mac_id) ath11k_dp_rx_pdev_alloc() argument 4475 ath11k_dp_rx_monitor_link_desc_return(struct ath11k *ar, void *p_last_buf_addr_info, u8 mac_id) ath11k_dp_rx_monitor_link_desc_return() argument 4635 ath11k_dp_rx_mon_mpdu_pop(struct ath11k *ar, int mac_id, void *ring_entry, struct sk_buff **head_msdu, struct sk_buff **tail_msdu, u32 *npackets, u32 *ppdu_id) ath11k_dp_rx_mon_mpdu_pop() argument 4840 ath11k_dp_rx_mon_merg_msdus(struct ath11k *ar, u32 mac_id, struct sk_buff *head_msdu, struct sk_buff *last_msdu, struct ieee80211_rx_status *rxs, bool *fcs_err) ath11k_dp_rx_mon_merg_msdus() argument 5021 ath11k_dp_rx_mon_deliver(struct ath11k *ar, u32 mac_id, struct sk_buff *head_msdu, struct hal_rx_mon_ppdu_info *ppduinfo, struct sk_buff *tail_msdu, struct napi_struct *napi) ath11k_dp_rx_mon_deliver() argument 5084 ath11k_dp_rx_mon_dest_process(struct ath11k *ar, int mac_id, u32 quota, struct napi_struct *napi) ath11k_dp_rx_mon_dest_process() argument 5193 ath11k_dp_rx_process_mon_status(struct ath11k_base *ab, int mac_id, struct napi_struct *napi, int budget) ath11k_dp_rx_process_mon_status() argument 5475 ath11k_dp_rx_full_mon_deliver_ppdu(struct ath11k *ar, int mac_id, struct ath11k_mon_data *pmon, struct napi_struct *napi) ath11k_dp_rx_full_mon_deliver_ppdu() argument 5508 ath11k_dp_rx_process_full_mon_status_ring(struct ath11k_base *ab, int mac_id, struct napi_struct *napi, int budget) ath11k_dp_rx_process_full_mon_status_ring() argument 5550 ath11k_dp_full_mon_process_rx(struct ath11k_base *ab, int mac_id, struct napi_struct *napi, int budget) ath11k_dp_full_mon_process_rx() argument 5634 ath11k_dp_rx_process_mon_rings(struct ath11k_base *ab, int mac_id, struct napi_struct *napi, int budget) ath11k_dp_rx_process_mon_rings() argument [all...] |
H A D | dp.h | 172 u32 mac_id; member 236 #define DP_HW2SW_MACID(mac_id) ((mac_id) ? ((mac_id) - 1) : 0) 237 #define DP_SW2HW_MACID(mac_id) ((mac_id) + 1) 1142 * | payload_size | rsvd |pdev_id|mac_id | msg type | 1159 * - mac_id 1161 * Purpose: mac_id of this ppdu_id 1411 * | payload_size | rsvd |pdev_id|mac_id| ms [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtw89/ |
H A D | ps.c | 86 static void __rtw89_enter_lps(struct rtw89_dev *rtwdev, u8 mac_id) in __rtw89_enter_lps() argument 89 .macid = mac_id, in __rtw89_enter_lps() 98 static void __rtw89_leave_lps(struct rtw89_dev *rtwdev, u8 mac_id) in __rtw89_leave_lps() argument 101 .macid = mac_id, in __rtw89_leave_lps() 126 __rtw89_enter_lps(rtwdev, rtwvif->mac_id); in rtw89_enter_lps() 137 __rtw89_leave_lps(rtwdev, rtwvif->mac_id); in rtw89_leave_lps_vif()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/include/ |
H A D | odm_rtl8188e.h | 24 u8 mac_id); 29 u32 mac_id, u8 rx_pwdb_all);
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath12k/ |
H A D | dp_tx.h | 31 int mac_id, enum hal_ring_type ring_type, 36 int mac_id, enum hal_ring_type ring_type,
|
H A D | dp_rx.h | 116 int ath12k_dp_rx_process(struct ath12k_base *ab, int mac_id, 119 int ath12k_dp_rx_bufs_replenish(struct ath12k_base *ab, int mac_id,
|
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/core/ |
H A D | rtw_wlan_util.c | 425 unsigned int mac_id; in allocate_fw_sta_entry() local 429 for (mac_id = IBSS_START_MAC_ID; mac_id < NUM_STA; mac_id++) { in allocate_fw_sta_entry() 430 if (pmlmeinfo->FW_sta_info[mac_id].status == 0) { in allocate_fw_sta_entry() 431 pmlmeinfo->FW_sta_info[mac_id].status = 1; in allocate_fw_sta_entry() 432 pmlmeinfo->FW_sta_info[mac_id].retry = 0; in allocate_fw_sta_entry() 437 return mac_id; in allocate_fw_sta_entry() 1144 void Update_RA_Entry(struct adapter *padapter, u32 mac_id) in Update_RA_Entry() argument 1146 rtw_hal_update_ra_mask(padapter, mac_id, in Update_RA_Entry() 1356 update_bmc_sta_support_rate(struct adapter *padapter, u32 mac_id) update_bmc_sta_support_rate() argument [all...] |
H A D | rtw_mlme.c | 842 psta->mac_id = 0; in rtw_joinbss_update_stainfo() 1088 u8 mac_id; in search_max_mac_id() local 1103 mac_id = aid + 1; in search_max_mac_id() 1107 for (mac_id = NUM_STA - 1; mac_id >= IBSS_START_MAC_ID; mac_id--) { in search_max_mac_id() 1108 if (pmlmeinfo->FW_sta_info[mac_id].status == 1) in search_max_mac_id() 1112 return mac_id; in search_max_mac_id() 1126 media_status = (psta->mac_id << 8) | 1; /* MACID|OPMODE:1 connect */ in rtw_stassoc_hw_rpt() 1168 psta->mac_id in rtw_stassoc_event_callback() 1195 int mac_id = -1; rtw_stadel_event_callback() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
H A D | dm.c | 1268 u8 ant, u32 mac_id) in rtl88e_dm_update_tx_ant() 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() 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() 1267 rtl88e_dm_update_tx_ant(struct ieee80211_hw *hw, u8 ant, u32 mac_id) rtl88e_dm_update_tx_ant() argument 1402 rtl88e_dm_set_tx_ant_by_tx_info(struct ieee80211_hw *hw, u8 *pdesc, u32 mac_id) rtl88e_dm_set_tx_ant_by_tx_info() argument 1418 rtl88e_dm_ant_sel_statistics(struct ieee80211_hw *hw, u8 antsel_tr_mux, u32 mac_id, u32 rx_pwdb_all) rtl88e_dm_ant_sel_statistics() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
H A D | dm.c | 1268 u8 ant, u32 mac_id) in rtl88e_dm_update_tx_ant() 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() 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() 1267 rtl88e_dm_update_tx_ant(struct ieee80211_hw *hw, u8 ant, u32 mac_id) rtl88e_dm_update_tx_ant() argument 1402 rtl88e_dm_set_tx_ant_by_tx_info(struct ieee80211_hw *hw, u8 *pdesc, u32 mac_id) rtl88e_dm_set_tx_ant_by_tx_info() argument 1418 rtl88e_dm_ant_sel_statistics(struct ieee80211_hw *hw, u8 antsel_tr_mux, u32 mac_id, u32 rx_pwdb_all) rtl88e_dm_ant_sel_statistics() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/fman/ |
H A D | fman_tgec.c | 216 u8 mac_id; member 401 fman_unregister_intr(tgec->fm, FMAN_MOD_MAC, tgec->mac_id, in free_init_resources() 694 (fman_reset_mac(tgec->fm, tgec->mac_id) != 0)) { in tgec_init() 724 err = fman_set_mac_max_frame(tgec->fm, tgec->mac_id, in tgec_init() 758 fman_register_intr(tgec->fm, FMAN_MOD_MAC, tgec->mac_id, in tgec_init() 804 tgec->mac_id = params->mac_id; in tgec_config()
|
H A D | fman_memac.c | 346 u8 mac_id; member 687 fman_unregister_intr(memac->fm, FMAN_MOD_MAC, memac->mac_id, in free_init_resources() 690 fman_unregister_intr(memac->fm, FMAN_MOD_MAC, memac->mac_id, in free_init_resources() 1107 err = fman_set_mac_max_frame(memac->fm, memac->mac_id, in memac_init() 1128 fman_register_intr(memac->fm, FMAN_MOD_MAC, memac->mac_id, in memac_init() 1131 fman_register_intr(memac->fm, FMAN_MOD_MAC, memac->mac_id, in memac_init() 1182 memac->mac_id = params->mac_id; in memac_config()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/core/ |
H A D | rtw_wlan_util.c | 741 unsigned int mac_id; in allocate_fw_sta_entry() local 745 for (mac_id = IBSS_START_MAC_ID; mac_id < NUM_STA; mac_id++) { in allocate_fw_sta_entry() 746 if (pmlmeinfo->FW_sta_info[mac_id].status == 0) { in allocate_fw_sta_entry() 747 pmlmeinfo->FW_sta_info[mac_id].status = 1; in allocate_fw_sta_entry() 748 pmlmeinfo->FW_sta_info[mac_id].retry = 0; in allocate_fw_sta_entry() 753 return mac_id; in allocate_fw_sta_entry() 1940 psta->mac_id = NUM_STA; in rtw_alloc_macid() 1954 psta->mac_id in rtw_alloc_macid() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_dsaf_main.c | 268 u32 mac_id; in hns_dsaf_inner_qid_cfg() local 276 for (mac_id = 0, q_id = 0; mac_id < DSAF_SERVICE_NW_NUM; mac_id++) { in hns_dsaf_inner_qid_cfg() 278 DSAFV2_SERDES_LBK_0_REG + 4 * mac_id, in hns_dsaf_inner_qid_cfg() 1163 * @mac_id: mac contrl block 1167 int mac_id, int tc_en) in hns_dsaf_pfc_en_cfg() 1169 dsaf_write_dev(dsaf_dev, DSAF_PFC_EN_0_REG + mac_id * 4, tc_en); in hns_dsaf_pfc_en_cfg() 1173 int mac_id, int tx_en, int rx_en) in hns_dsaf_set_pfc_pause() 1182 dsaf_set_dev_bit(dsaf_dev, DSAF_PAUSE_CFG_REG + mac_id * in hns_dsaf_set_pfc_pause() 1166 hns_dsaf_pfc_en_cfg(struct dsaf_device *dsaf_dev, int mac_id, int tc_en) hns_dsaf_pfc_en_cfg() argument 1172 hns_dsaf_set_pfc_pause(struct dsaf_device *dsaf_dev, int mac_id, int tx_en, int rx_en) hns_dsaf_set_pfc_pause() argument 1188 hns_dsaf_set_rx_mac_pause_en(struct dsaf_device *dsaf_dev, int mac_id, u32 en) hns_dsaf_set_rx_mac_pause_en() argument 1204 hns_dsaf_get_rx_mac_pause_en(struct dsaf_device *dsaf_dev, int mac_id, u32 *en) hns_dsaf_get_rx_mac_pause_en() argument 2018 hns_dsaf_clr_mac_mc_port(struct dsaf_device *dsaf_dev, u8 mac_id, u8 port_num) hns_dsaf_clr_mac_mc_port() argument 2119 hns_dsaf_pfc_unit_cnt(struct dsaf_device *dsaf_dev, int mac_id, enum dsaf_port_rate_mode rate) hns_dsaf_pfc_unit_cnt() argument 2151 hns_dsaf_port_work_rate_cfg(struct dsaf_device *dsaf_dev, int mac_id, enum dsaf_port_rate_mode rate_mode) hns_dsaf_port_work_rate_cfg() argument 2179 int mac_id = mac_cb->mac_id; hns_dsaf_fix_mac_mode() local [all...] |
H A D | hns_dsaf_gmac.c | 112 u32 mac_id = drv->mac_id; in hns_gmac_free() local 114 dsaf_dev->misc_op->ge_srst(dsaf_dev, mac_id, 0); in hns_gmac_free() 299 speed, drv->mac_id); in hns_gmac_adjust_link() 341 "hns ge %d fifo was not idle.\n", drv->mac_id); in hns_gmac_wait_fifo_clean() 355 port = drv->mac_id; in hns_gmac_init() 734 mac_drv->mac_id = mac_param->mac_id; in hns_gmac_config()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_dsaf_main.c | 268 u32 mac_id; in hns_dsaf_inner_qid_cfg() local 276 for (mac_id = 0, q_id = 0; mac_id < DSAF_SERVICE_NW_NUM; mac_id++) { in hns_dsaf_inner_qid_cfg() 278 DSAFV2_SERDES_LBK_0_REG + 4 * mac_id, in hns_dsaf_inner_qid_cfg() 1163 * @mac_id: mac contrl block 1167 int mac_id, int tc_en) in hns_dsaf_pfc_en_cfg() 1169 dsaf_write_dev(dsaf_dev, DSAF_PFC_EN_0_REG + mac_id * 4, tc_en); in hns_dsaf_pfc_en_cfg() 1173 int mac_id, int tx_en, int rx_en) in hns_dsaf_set_pfc_pause() 1182 dsaf_set_dev_bit(dsaf_dev, DSAF_PAUSE_CFG_REG + mac_id * in hns_dsaf_set_pfc_pause() 1166 hns_dsaf_pfc_en_cfg(struct dsaf_device *dsaf_dev, int mac_id, int tc_en) hns_dsaf_pfc_en_cfg() argument 1172 hns_dsaf_set_pfc_pause(struct dsaf_device *dsaf_dev, int mac_id, int tx_en, int rx_en) hns_dsaf_set_pfc_pause() argument 1188 hns_dsaf_set_rx_mac_pause_en(struct dsaf_device *dsaf_dev, int mac_id, u32 en) hns_dsaf_set_rx_mac_pause_en() argument 1204 hns_dsaf_get_rx_mac_pause_en(struct dsaf_device *dsaf_dev, int mac_id, u32 *en) hns_dsaf_get_rx_mac_pause_en() argument 2018 hns_dsaf_clr_mac_mc_port(struct dsaf_device *dsaf_dev, u8 mac_id, u8 port_num) hns_dsaf_clr_mac_mc_port() argument 2119 hns_dsaf_pfc_unit_cnt(struct dsaf_device *dsaf_dev, int mac_id, enum dsaf_port_rate_mode rate) hns_dsaf_pfc_unit_cnt() argument 2151 hns_dsaf_port_work_rate_cfg(struct dsaf_device *dsaf_dev, int mac_id, enum dsaf_port_rate_mode rate_mode) hns_dsaf_port_work_rate_cfg() argument 2179 int mac_id = mac_cb->mac_id; hns_dsaf_fix_mac_mode() local [all...] |
H A D | hns_dsaf_gmac.c | 112 u32 mac_id = drv->mac_id; in hns_gmac_free() local 114 dsaf_dev->misc_op->ge_srst(dsaf_dev, mac_id, 0); in hns_gmac_free() 283 speed, drv->mac_id); in hns_gmac_adjust_link() 325 "hns ge %d fifo was not idle.\n", drv->mac_id); in hns_gmac_wait_fifo_clean() 339 port = drv->mac_id; in hns_gmac_init() 715 mac_drv->mac_id = mac_param->mac_id; in hns_gmac_config()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mediatek/ |
H A D | mtk_sgmii.c | 112 void mtk_sgmii_restart_an(struct mtk_eth *eth, int mac_id) in mtk_sgmii_restart_an() argument 119 0 : mac_id; in mtk_sgmii_restart_an()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | rx.c | 570 __le32 mac_id; member 585 u16 id = le32_to_cpu(data->mac_id); in iwl_mvm_stat_iterator() 778 data.mac_id = stats->mac_id; in iwl_mvm_handle_rx_statistics_tlv() 840 data.mac_id = stats->rx.general.mac_id; in iwl_mvm_handle_rx_statistics() 862 data.mac_id = stats->rx.general.mac_id; in iwl_mvm_handle_rx_statistics()
|
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/hal/ |
H A D | rtl8723b_cmd.c | 330 void rtl8723b_set_FwMacIdConfig_cmd(struct adapter *padapter, u8 mac_id, u8 raid, u8 bw, u8 sgi, u32 mask) in rtl8723b_set_FwMacIdConfig_cmd() argument 334 SET_8723B_H2CCMD_MACID_CFG_MACID(u1H2CMacIdConfigParm, mac_id); in rtl8723b_set_FwMacIdConfig_cmd() 349 u8 mac_id = *param; in rtl8723b_set_rssi_cmd() local 353 SET_8723B_H2CCMD_RSSI_SETTING_MACID(u1H2CRssiSettingParm, mac_id); in rtl8723b_set_rssi_cmd() 740 u8 mac_id = arg[0]; in rtl8723b_Add_RateATid() local 746 psta = pmlmeinfo->FW_sta_info[mac_id].psta; in rtl8723b_Add_RateATid() 753 mask = ODM_Get_Rate_Bitmap(&pHalData->odmpriv, mac_id, mask, rssi_level); in rtl8723b_Add_RateATid() 755 rtl8723b_set_FwMacIdConfig_cmd(padapter, mac_id, raid, bw, shortGI, mask); in rtl8723b_Add_RateATid()
|