Home
last modified time | relevance | path

Searched refs:mac_id (Results 1 – 25 of 145) sorted by relevance

123456

/linux/drivers/net/ethernet/hisilicon/hns/
A Dhns_dsaf_mac.c150 mac_cb->mac_id, ret); in hns_mac_adjust_link()
174 mac_cb->mac_id, vmid); in hns_mac_get_inner_port_num()
182 mac_cb->mac_id, vmid); in hns_mac_get_inner_port_num()
372 param->mac_id = mac_cb->mac_id; in hns_mac_param_get()
758 mac_cb->mac_id); in hns_mac_register_phy()
766 mac_cb->mac_id); in hns_mac_register_phy()
886 mac_cb->mac_id); in hns_mac_get_info()
895 mac_cb->mac_id); in hns_mac_get_info()
903 mac_cb->mac_id); in hns_mac_get_info()
926 mac_cb->mac_id); in hns_mac_get_info()
[all …]
A Dhns_dsaf_misc.c125 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()
551 obj_args.integer.value = mac_cb->mac_id; in hns_mac_get_phy_if_acpi()
598 obj_args.integer.value = mac_cb->mac_id; in hns_mac_get_sfp_prsnt_acpi()
660 (mac_cb->mac_id <= 3)) in hns_mac_config_sds_loopback()
[all …]
A Dhns_dsaf_main.c268 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()
1167 int mac_id, int tc_en) in hns_dsaf_pfc_en_cfg() argument
1173 int mac_id, int tx_en, int rx_en) in hns_dsaf_set_pfc_pause() argument
1211 DSAF_PAUSE_CFG_REG + mac_id * 4, in hns_dsaf_get_rx_mac_pause_en()
2042 port == mac_id && in hns_dsaf_clr_mac_mc_port()
2056 mac_entry.in_port_num = mac_id; in hns_dsaf_clr_mac_mc_port()
2071 mac_id % 32, 0); in hns_dsaf_clr_mac_mc_port()
2074 mac_entry.port_num = mac_id; in hns_dsaf_clr_mac_mc_port()
[all …]
A Dhns_dsaf_gmac.c112 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()
/linux/drivers/net/wireless/realtek/rtw89/
A Dps.c52 static void __rtw89_enter_lps(struct rtw89_dev *rtwdev, u8 mac_id) in __rtw89_enter_lps() argument
55 .macid = mac_id, in __rtw89_enter_lps()
64 static void __rtw89_leave_lps(struct rtw89_dev *rtwdev, u8 mac_id) in __rtw89_leave_lps() argument
67 .macid = mac_id, in __rtw89_leave_lps()
84 void rtw89_enter_lps(struct rtw89_dev *rtwdev, u8 mac_id) in rtw89_enter_lps() argument
91 __rtw89_enter_lps(rtwdev, mac_id); in rtw89_enter_lps()
101 __rtw89_leave_lps(rtwdev, rtwvif->mac_id); in rtw89_leave_lps_vif()
/linux/drivers/net/wireless/ath/ath11k/
A Ddp_rx.h67 int ath11k_dp_process_rxdma_err(struct ath11k_base *ab, int mac_id, int budget);
72 int ath11k_dp_process_rx(struct ath11k_base *ab, int mac_id,
75 int ath11k_dp_rxbufs_replenish(struct ath11k_base *ab, int mac_id,
83 int ath11k_dp_rx_process_mon_rings(struct ath11k_base *ab, int mac_id,
85 int ath11k_dp_rx_process_mon_status(struct ath11k_base *ab, int mac_id,
87 int ath11k_dp_rx_mon_status_bufs_replenish(struct ath11k_base *ab, int mac_id,
A Ddp_tx.c313 ar = ab->pdevs[mac_id].ar; in ath11k_dp_tx_free_txbuf()
368 void *desc, u8 mac_id, in ath11k_dp_tx_process_htt_tx_complete() argument
544 u8 mac_id; in ath11k_dp_tx_completion_handler() local
586 mac_id, msdu_id, in ath11k_dp_tx_completion_handler()
602 ar = ab->pdevs[mac_id].ar; in ath11k_dp_tx_completion_handler()
759 DP_SW2HW_MACID(mac_id)); in ath11k_dp_tx_htt_srng_setup()
762 mac_id); in ath11k_dp_tx_htt_srng_setup()
955 DP_SW2HW_MACID(mac_id)); in ath11k_dp_tx_htt_rx_filter_setup()
959 mac_id); in ath11k_dp_tx_htt_rx_filter_setup()
1067 dp->mac_id + i, in ath11k_dp_tx_htt_monitor_mode_ring_config()
[all …]
A Ddp_rx.c2605 u8 mac_id; in ath11k_dp_rx_process_received_packets() local
2615 mac_id = rxcb->mac_id; in ath11k_dp_rx_process_received_packets()
2616 ar = ab->pdevs[mac_id].ar; in ath11k_dp_rx_process_received_packets()
2655 int buf_id, mac_id; in ath11k_dp_process_rx() local
2724 rxcb->mac_id = mac_id; in ath11k_dp_process_rx()
3766 int buf_id, mac_id; in ath11k_dp_process_rx_err() local
4074 int buf_id, mac_id; in ath11k_dp_rx_process_wbm_err() local
4111 buf_id, mac_id); in ath11k_dp_rx_process_wbm_err()
4205 mac_id)]; in ath11k_dp_process_rxdma_err()
4466 u8 mac_id) in ath11k_dp_rx_monitor_link_desc_return() argument
[all …]
A Dhw.h185 int (*mac_id_to_pdev_id)(struct ath11k_hw_params *hw, int mac_id);
186 int (*mac_id_to_srng_id)(struct ath11k_hw_params *hw, int mac_id);
246 int mac_id) in ath11k_hw_mac_id_to_pdev_id() argument
249 return hw->hw_ops->mac_id_to_pdev_id(hw, mac_id); in ath11k_hw_mac_id_to_pdev_id()
255 int mac_id) in ath11k_hw_mac_id_to_srng_id() argument
258 return hw->hw_ops->mac_id_to_srng_id(hw, mac_id); in ath11k_hw_mac_id_to_srng_id()
A Ddp.h145 u32 mac_id; member
205 #define DP_HW2SW_MACID(mac_id) ((mac_id) ? ((mac_id) - 1) : 0) argument
206 #define DP_SW2HW_MACID(mac_id) ((mac_id) + 1) argument
1631 int mac_id, enum hal_ring_type ring_type);
1637 int mac_id, int num_entries);
/linux/drivers/staging/r8188eu/hal/
A Dhal_intf.c44 void rtw_hal_update_ra_mask(struct adapter *adapt, u32 mac_id, u8 rssi_level) in rtw_hal_update_ra_mask() argument
51 if (mac_id >= 2) in rtw_hal_update_ra_mask()
52 psta = pstapriv->sta_aid[(mac_id - 1) - 1]; in rtw_hal_update_ra_mask()
56 UpdateHalRAMask8188EUsb(adapt, mac_id, rssi_level); in rtw_hal_update_ra_mask()
A Drtl8188eu_xmit.c184 ptxdesc->txdw1 |= cpu_to_le32(pattrib->mac_id & 0x3F); in update_txdesc()
226 if (ODM_RA_GetShortGI_8188E(&haldata->odmpriv, pattrib->mac_id)) in update_txdesc()
229 data_rate = ODM_RA_GetDecisionRate_8188E(&haldata->odmpriv, pattrib->mac_id); in update_txdesc()
231 pwr_status = ODM_RA_GetHwPwrStatus_8188E(&haldata->odmpriv, pattrib->mac_id); in update_txdesc()
244 ptxdesc->txdw1 |= cpu_to_le32(pattrib->mac_id & 0x3f); in update_txdesc()
299 ODM_SetTxAntByTxInfo_88E(&haldata->odmpriv, pmem, pattrib->mac_id); in update_txdesc()
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
A Dmac-cfg.h82 __le32 mac_id; member
98 __le32 mac_id; member
127 __le32 mac_id; member
145 __le32 mac_id; member
/linux/drivers/net/ethernet/mediatek/
A Dmtk_eth_path.c242 int mtk_gmac_sgmii_path_setup(struct mtk_eth *eth, int mac_id) in mtk_gmac_sgmii_path_setup() argument
246 path = (mac_id == 0) ? MTK_ETH_PATH_GMAC1_SGMII : in mtk_gmac_sgmii_path_setup()
253 int mtk_gmac_gephy_path_setup(struct mtk_eth *eth, int mac_id) in mtk_gmac_gephy_path_setup() argument
257 if (mac_id == 1) in mtk_gmac_gephy_path_setup()
267 int mtk_gmac_rgmii_path_setup(struct mtk_eth *eth, int mac_id) in mtk_gmac_rgmii_path_setup() argument
271 path = (mac_id == 0) ? MTK_ETH_PATH_GMAC1_RGMII : in mtk_gmac_rgmii_path_setup()
A Dmtk_sgmii.c111 void mtk_sgmii_restart_an(struct mtk_eth *eth, int mac_id) in mtk_sgmii_restart_an() argument
118 0 : mac_id; in mtk_sgmii_restart_an()
/linux/drivers/staging/r8188eu/core/
A Drtw_wlan_util.c475 unsigned int mac_id; in allocate_fw_sta_entry() local
479 for (mac_id = IBSS_START_MAC_ID; mac_id < NUM_STA; mac_id++) { in allocate_fw_sta_entry()
480 if (pmlmeinfo->FW_sta_info[mac_id].status == 0) { in allocate_fw_sta_entry()
481 pmlmeinfo->FW_sta_info[mac_id].status = 1; in allocate_fw_sta_entry()
482 pmlmeinfo->FW_sta_info[mac_id].retry = 0; in allocate_fw_sta_entry()
487 return mac_id; in allocate_fw_sta_entry()
1211 void Update_RA_Entry(struct adapter *padapter, u32 mac_id) in Update_RA_Entry() argument
1213 rtw_hal_update_ra_mask(padapter, mac_id, 0); in Update_RA_Entry()
1216 static void enable_rate_adaptive(struct adapter *padapter, u32 mac_id) in enable_rate_adaptive() argument
1218 Update_RA_Entry(padapter, mac_id); in enable_rate_adaptive()
[all …]
A Drtw_mlme.c914 psta->mac_id = 0; in rtw_joinbss_update_stainfo()
1131 u8 mac_id; in search_max_mac_id() local
1143 mac_id = aid + 1; in search_max_mac_id()
1146 for (mac_id = (NUM_STA - 1); mac_id >= IBSS_START_MAC_ID; mac_id--) { in search_max_mac_id()
1147 if (pmlmeinfo->FW_sta_info[mac_id].status == 1) in search_max_mac_id()
1151 return mac_id; in search_max_mac_id()
1198 psta->mac_id = (uint)pstassoc->cam_id; in rtw_stassoc_event_callback()
1226 int mac_id = -1; in rtw_stadel_event_callback() local
1238 mac_id = psta->mac_id; in rtw_stadel_event_callback()
1240 mac_id = pstadel->mac_id; in rtw_stadel_event_callback()
[all …]
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
A Ddm.c1268 u8 ant, u32 mac_id) in rtl88e_dm_update_tx_ant() argument
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
1419 u8 antsel_tr_mux, u32 mac_id, in rtl88e_dm_ant_sel_statistics() argument
1429 pfat_table->main_ant_cnt[mac_id]++; in rtl88e_dm_ant_sel_statistics()
1431 pfat_table->aux_ant_sum[mac_id] += rx_pwdb_all; in rtl88e_dm_ant_sel_statistics()
1432 pfat_table->aux_ant_cnt[mac_id]++; in rtl88e_dm_ant_sel_statistics()
1437 pfat_table->main_ant_cnt[mac_id]++; in rtl88e_dm_ant_sel_statistics()
[all …]
A Ddm.h247 u8 *pdesc, u32 mac_id);
249 u8 antsel_tr_mux, u32 mac_id,
/linux/drivers/net/ethernet/freescale/fman/
A Dfman_tgec.c216 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()
A Dfman_dtsec.c339 u8 mac_id; member
780 fman_reset_mac(dtsec->fm, dtsec->mac_id); in dtsec_isr()
829 fman_unregister_intr(dtsec->fm, FMAN_MOD_MAC, dtsec->mac_id, in free_init_resources()
831 fman_unregister_intr(dtsec->fm, FMAN_MOD_MAC, dtsec->mac_id, in free_init_resources()
1396 (fman_reset_mac(dtsec->fm, dtsec->mac_id) != 0)) { in dtsec_init()
1444 err = fman_set_mac_max_frame(dtsec->fm, dtsec->mac_id, max_frm_ln); in dtsec_init()
1467 fman_register_intr(dtsec->fm, FMAN_MOD_MAC, dtsec->mac_id, in dtsec_init()
1470 fman_register_intr(dtsec->fm, FMAN_MOD_MAC, dtsec->mac_id, in dtsec_init()
1517 dtsec->mac_id = params->mac_id; in dtsec_config()
A Dfman_memac.c347 u8 mac_id; member
691 fman_unregister_intr(memac->fm, FMAN_MOD_MAC, memac->mac_id, in free_init_resources()
694 fman_unregister_intr(memac->fm, FMAN_MOD_MAC, memac->mac_id, in free_init_resources()
1111 err = fman_set_mac_max_frame(memac->fm, memac->mac_id, in memac_init()
1132 fman_register_intr(memac->fm, FMAN_MOD_MAC, memac->mac_id, in memac_init()
1135 fman_register_intr(memac->fm, FMAN_MOD_MAC, memac->mac_id, in memac_init()
1186 memac->mac_id = params->mac_id; in memac_config()
/linux/drivers/staging/rtl8723bs/core/
A Drtw_wlan_util.c695 unsigned int mac_id; in allocate_fw_sta_entry() local
699 for (mac_id = IBSS_START_MAC_ID; mac_id < NUM_STA; mac_id++) { in allocate_fw_sta_entry()
701 pmlmeinfo->FW_sta_info[mac_id].status = 1; in allocate_fw_sta_entry()
702 pmlmeinfo->FW_sta_info[mac_id].retry = 0; in allocate_fw_sta_entry()
707 return mac_id; in allocate_fw_sta_entry()
1793 psta->mac_id = NUM_STA; in rtw_alloc_macid()
1807 psta->mac_id = NUM_STA; in rtw_alloc_macid()
1809 psta->mac_id = i; in rtw_alloc_macid()
1824 if (psta->mac_id < NUM_STA && psta->mac_id != 1) { in rtw_release_macid()
1826 pdvobj->macid[psta->mac_id] = false; in rtw_release_macid()
[all …]
/linux/drivers/staging/rtl8723bs/hal/
A Drtl8723b_cmd.c330 void rtl8723b_set_FwMacIdConfig_cmd(struct adapter *padapter, u8 mac_id, u8 raid, u8 bw, u8 sgi, u3… 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()
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
A Drx.c524 __le32 mac_id; member
539 u16 id = le32_to_cpu(data->mac_id); in iwl_mvm_stat_iterator()
723 data.mac_id = stats->mac_id; in iwl_mvm_handle_rx_statistics_tlv()
785 data.mac_id = stats->rx.general.mac_id; in iwl_mvm_handle_rx_statistics()
807 data.mac_id = stats->rx.general.mac_id; in iwl_mvm_handle_rx_statistics()

Completed in 84 milliseconds

123456