/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_mac.c | 131 mac_cb->mac_id, ret); in hns_mac_adjust_link() 151 if (mac_cb->mac_id != DSAF_MAX_PORT_NUM) { in hns_mac_get_inner_port_num() 155 mac_cb->mac_id, vmid); in hns_mac_get_inner_port_num() 159 if (mac_cb->mac_id >= DSAF_MAX_PORT_NUM) { in hns_mac_get_inner_port_num() 163 mac_cb->mac_id, vmid); in hns_mac_get_inner_port_num() 168 mac_cb->dsaf_dev->ae_dev.name, mac_cb->mac_id); in hns_mac_get_inner_port_num() 174 mac_cb->dsaf_dev->ae_dev.name, mac_cb->mac_id, vmid); in hns_mac_get_inner_port_num() 182 vf_num_per_port * q_num_per_vf * mac_cb->mac_id; in hns_mac_get_inner_port_num() 207 mac_cb->dsaf_dev->ae_dev.name, mac_cb->mac_id); in hns_mac_get_inner_port_num() 236 mac_entry.in_port_num = mac_cb->mac_id; in hns_mac_change_vf_addr() [all …]
|
D | hns_dsaf_misc.c | 70 mac_cb->mac_id); in hns_cpld_set_led() 425 int mac_id = mac_cb->mac_id; in hns_mac_get_phy_if() local 432 if (mac_id >= 0 && mac_id <= 3) in hns_mac_get_phy_if() 437 if (!HNS_DSAF_IS_DEBUG(mac_cb->dsaf_dev) && mac_id <= 3) in hns_mac_get_phy_if() 459 obj_args.integer.value = mac_cb->mac_id; in hns_mac_get_phy_if_acpi() 475 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() 511 u64 reg_offset = RX_CSR(lane_id[mac_cb->mac_id], 0); in hns_mac_config_sds_loopback() 534 (mac_cb->mac_id <= 3)) in hns_mac_config_sds_loopback() 548 (mac_cb->mac_id <= 3 ? 0x00280000 : 0x00200000); in hns_mac_config_sds_loopback() 562 obj_args[0].integer.value = mac_cb->mac_id; in hns_mac_config_sds_loopback_acpi() [all …]
|
D | hns_dsaf_gmac.c | 110 u32 mac_id = drv->mac_id; in hns_gmac_free() local 112 dsaf_dev->misc_op->ge_srst(dsaf_dev, mac_id, 0); in hns_gmac_free() 277 speed, drv->mac_id); in hns_gmac_adjust_link() 317 port = drv->mac_id; in hns_gmac_init() 466 static void hns_gmac_get_id(void *mac_drv, u8 *mac_id) in hns_gmac_get_id() argument 470 *mac_id = drv->mac_id; in hns_gmac_get_id() 702 mac_drv->mac_id = mac_param->mac_id; in hns_gmac_config()
|
D | hns_dsaf_xgmac.c | 120 u32 port = drv->mac_id; in hns_xgmac_enable() 148 u32 port = drv->mac_id; in hns_xgmac_disable() 199 u32 port = drv->mac_id; in hns_xgmac_init() 290 static void hns_xgmac_get_id(void *mac_drv, u8 *mac_id) in hns_xgmac_get_id() argument 294 *mac_id = drv->mac_id; in hns_xgmac_get_id() 426 u32 mac_id = drv->mac_id; in hns_xgmac_free() local 428 dsaf_dev->misc_op->xge_srst(dsaf_dev, mac_id, 0); in hns_xgmac_free() 806 mac_drv->mac_id = mac_param->mac_id; in hns_xgmac_config()
|
D | hns_dsaf_main.c | 272 u32 mac_id; in hns_dsaf_inner_qid_cfg() local 280 for (mac_id = 0, q_id = 0; mac_id < DSAF_SERVICE_NW_NUM; mac_id++) { in hns_dsaf_inner_qid_cfg() 282 DSAFV2_SERDES_LBK_0_REG + 4 * mac_id, in hns_dsaf_inner_qid_cfg() 1084 int mac_id, int tc_en) in hns_dsaf_pfc_en_cfg() argument 1086 dsaf_write_dev(dsaf_dev, DSAF_PFC_EN_0_REG + mac_id * 4, tc_en); in hns_dsaf_pfc_en_cfg() 1090 int mac_id, int tx_en, int rx_en) in hns_dsaf_set_pfc_pause() argument 1099 dsaf_set_dev_bit(dsaf_dev, DSAF_PAUSE_CFG_REG + mac_id * 4, in hns_dsaf_set_pfc_pause() 1101 dsaf_set_dev_bit(dsaf_dev, DSAF_PAUSE_CFG_REG + mac_id * 4, in hns_dsaf_set_pfc_pause() 1105 int hns_dsaf_set_rx_mac_pause_en(struct dsaf_device *dsaf_dev, int mac_id, in hns_dsaf_set_rx_mac_pause_en() argument 1115 dsaf_set_dev_bit(dsaf_dev, DSAF_PAUSE_CFG_REG + mac_id * 4, in hns_dsaf_set_rx_mac_pause_en() [all …]
|
D | hns_dsaf_mac.h | 195 u8 mac_id; member 326 u8 mac_id; member 379 void (*mac_get_id)(void *mac_drv, u8 *mac_id); 403 u8 mac_id; member
|
/drivers/staging/rtl8188eu/hal/ |
D | odm_RTL8188E.c | 220 static void update_tx_ant_88eu(struct odm_dm_struct *dm_odm, u8 ant, u32 mac_id) in update_tx_ant_88eu() argument 229 dm_fat_tbl->antsel_a[mac_id] = target_ant & BIT(0); in update_tx_ant_88eu() 230 dm_fat_tbl->antsel_b[mac_id] = (target_ant & BIT(1))>>1; in update_tx_ant_88eu() 231 dm_fat_tbl->antsel_c[mac_id] = (target_ant & BIT(2))>>2; in update_tx_ant_88eu() 235 u8 *desc, u8 mac_id) in rtl88eu_dm_set_tx_ant_by_tx_info() argument 241 SET_TX_DESC_ANTSEL_A_88E(desc, dm_fat_tbl->antsel_a[mac_id]); in rtl88eu_dm_set_tx_ant_by_tx_info() 242 SET_TX_DESC_ANTSEL_B_88E(desc, dm_fat_tbl->antsel_b[mac_id]); in rtl88eu_dm_set_tx_ant_by_tx_info() 243 SET_TX_DESC_ANTSEL_C_88E(desc, dm_fat_tbl->antsel_c[mac_id]); in rtl88eu_dm_set_tx_ant_by_tx_info() 248 u8 antsel_tr_mux, u32 mac_id, u8 rx_pwdb_all) in rtl88eu_dm_ant_sel_statistics() argument 253 dm_fat_tbl->MainAnt_Sum[mac_id] += rx_pwdb_all; in rtl88eu_dm_ant_sel_statistics() [all …]
|
D | hal_intf.c | 59 void rtw_hal_update_ra_mask(struct adapter *adapt, u32 mac_id, u8 rssi_level) in rtw_hal_update_ra_mask() argument 68 if ((mac_id-1) > 0) in rtw_hal_update_ra_mask() 69 psta = pstapriv->sta_aid[(mac_id-1) - 1]; in rtw_hal_update_ra_mask() 74 UpdateHalRAMask8188EUsb(adapt, mac_id, rssi_level); in rtw_hal_update_ra_mask()
|
D | rtl8188eu_xmit.c | 216 ptxdesc->txdw1 |= cpu_to_le32(pattrib->mac_id & 0x3F); in update_txdesc() 258 if (ODM_RA_GetShortGI_8188E(odmpriv, pattrib->mac_id)) in update_txdesc() 261 data_rate = ODM_RA_GetDecisionRate_8188E(odmpriv, pattrib->mac_id); in update_txdesc() 263 pwr_status = ODM_RA_GetHwPwrStatus_8188E(odmpriv, pattrib->mac_id); in update_txdesc() 276 ptxdesc->txdw1 |= cpu_to_le32(pattrib->mac_id & 0x3f); in update_txdesc() 331 rtl88eu_dm_set_tx_ant_by_tx_info(odmpriv, pmem, pattrib->mac_id); in update_txdesc()
|
D | rtl8188e_hal_init.c | 151 DBG_88E("### Set STA_(%d) info\n", psta->mac_id); in rtw_hal_set_odm_var() 152 ODM_CmnInfoPtrArrayHook(podmpriv, ODM_CMNINFO_STA_STATUS, psta->mac_id, psta); in rtw_hal_set_odm_var() 153 ODM_RAInfo_Init(podmpriv, psta->mac_id); in rtw_hal_set_odm_var() 155 DBG_88E("### Clean STA_(%d) info\n", psta->mac_id); in rtw_hal_set_odm_var() 156 ODM_CmnInfoPtrArrayHook(podmpriv, ODM_CMNINFO_STA_STATUS, psta->mac_id, NULL); in rtw_hal_set_odm_var()
|
/drivers/staging/rtl8188eu/core/ |
D | rtw_wlan_util.c | 488 unsigned int mac_id; in allocate_fw_sta_entry() local 492 for (mac_id = IBSS_START_MAC_ID; mac_id < NUM_STA; mac_id++) { in allocate_fw_sta_entry() 493 if (pmlmeinfo->FW_sta_info[mac_id].status == 0) { in allocate_fw_sta_entry() 494 pmlmeinfo->FW_sta_info[mac_id].status = 1; in allocate_fw_sta_entry() 495 pmlmeinfo->FW_sta_info[mac_id].retry = 0; in allocate_fw_sta_entry() 500 return mac_id; in allocate_fw_sta_entry() 1289 void Update_RA_Entry(struct adapter *padapter, u32 mac_id) in Update_RA_Entry() argument 1291 rtw_hal_update_ra_mask(padapter, mac_id, 0); in Update_RA_Entry() 1294 static void enable_rate_adaptive(struct adapter *padapter, u32 mac_id) in enable_rate_adaptive() argument 1296 Update_RA_Entry(padapter, mac_id); in enable_rate_adaptive() [all …]
|
D | rtw_mlme.c | 885 psta->mac_id = 0; in rtw_joinbss_update_stainfo() 1135 u8 mac_id; in search_max_mac_id() local 1150 mac_id = aid + 1; in search_max_mac_id() 1154 for (mac_id = (NUM_STA-1); mac_id >= IBSS_START_MAC_ID; mac_id--) { in search_max_mac_id() 1155 if (pmlmeinfo->FW_sta_info[mac_id].status == 1) in search_max_mac_id() 1159 return mac_id; in search_max_mac_id() 1173 media_status = (psta->mac_id<<8)|1; /* MACID|OPMODE:1 connect */ in rtw_stassoc_hw_rpt() 1212 psta->mac_id = (uint)pstassoc->cam_id; in rtw_stassoc_event_callback() 1239 int mac_id = -1; in rtw_stadel_event_callback() local 1251 mac_id = psta->mac_id; in rtw_stadel_event_callback() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | dm.c | 1295 u8 ant, u32 mac_id) in rtl88e_dm_update_tx_ant() argument 1307 pfat_table->antsel_a[mac_id] = target_ant & BIT(0); in rtl88e_dm_update_tx_ant() 1308 pfat_table->antsel_b[mac_id] = (target_ant & BIT(1)) >> 1; in rtl88e_dm_update_tx_ant() 1309 pfat_table->antsel_c[mac_id] = (target_ant & BIT(2)) >> 2; in rtl88e_dm_update_tx_ant() 1313 pfat_table->antsel_c[mac_id], in rtl88e_dm_update_tx_ant() 1314 pfat_table->antsel_b[mac_id], in rtl88e_dm_update_tx_ant() 1315 pfat_table->antsel_a[mac_id]); in rtl88e_dm_update_tx_ant() 1430 u8 *pdesc, u32 mac_id) in rtl88e_dm_set_tx_ant_by_tx_info() argument 1438 SET_TX_DESC_ANTSEL_A(pdesc, pfat_table->antsel_a[mac_id]); in rtl88e_dm_set_tx_ant_by_tx_info() 1439 SET_TX_DESC_ANTSEL_B(pdesc, pfat_table->antsel_b[mac_id]); in rtl88e_dm_set_tx_ant_by_tx_info() [all …]
|
D | dm.h | 273 u8 *pdesc, u32 mac_id); 275 u8 antsel_tr_mux, u32 mac_id,
|
/drivers/staging/rtl8188eu/include/ |
D | odm_RTL8188E.h | 32 u8 mac_id); 37 u32 mac_id, u8 rx_pwdb_all);
|
D | hal_intf.h | 162 void UpdateHalRAMask8188EUsb(struct adapter *adapt, u32 mac_id, u8 rssi_level); 203 void rtw_hal_update_ra_mask(struct adapter *padapter, u32 mac_id, u8 level);
|
D | rtw_event.h | 71 int mac_id; member
|
/drivers/net/ethernet/freescale/fman/ |
D | fman_tgec.c | 215 u8 mac_id; member 403 fman_unregister_intr(tgec->fm, FMAN_MOD_MAC, tgec->mac_id, in free_init_resources() 650 (fman_reset_mac(tgec->fm, tgec->mac_id) != 0)) { in tgec_init() 678 err = fman_set_mac_max_frame(tgec->fm, tgec->mac_id, in tgec_init() 712 fman_register_intr(tgec->fm, FMAN_MOD_MAC, tgec->mac_id, in tgec_init() 758 tgec->mac_id = params->mac_id; in tgec_config()
|
D | fman_dtsec.c | 337 u8 mac_id; member 777 fman_reset_mac(dtsec->fm, dtsec->mac_id); in dtsec_isr() 826 fman_unregister_intr(dtsec->fm, FMAN_MOD_MAC, dtsec->mac_id, in free_init_resources() 828 fman_unregister_intr(dtsec->fm, FMAN_MOD_MAC, dtsec->mac_id, in free_init_resources() 1282 (fman_reset_mac(dtsec->fm, dtsec->mac_id) != 0)) { in dtsec_init() 1332 err = fman_set_mac_max_frame(dtsec->fm, dtsec->mac_id, max_frm_ln); in dtsec_init() 1355 fman_register_intr(dtsec->fm, FMAN_MOD_MAC, dtsec->mac_id, in dtsec_init() 1358 fman_register_intr(dtsec->fm, FMAN_MOD_MAC, dtsec->mac_id, in dtsec_init() 1405 dtsec->mac_id = params->mac_id; in dtsec_config()
|
D | fman_memac.c | 345 u8 mac_id; member 686 fman_unregister_intr(memac->fm, FMAN_MOD_MAC, memac->mac_id, in free_init_resources() 689 fman_unregister_intr(memac->fm, FMAN_MOD_MAC, memac->mac_id, in free_init_resources() 1073 err = fman_set_mac_max_frame(memac->fm, memac->mac_id, in memac_init() 1094 fman_register_intr(memac->fm, FMAN_MOD_MAC, memac->mac_id, in memac_init() 1097 fman_register_intr(memac->fm, FMAN_MOD_MAC, memac->mac_id, in memac_init() 1148 memac->mac_id = params->mac_id; in memac_config()
|
D | fman.h | 307 int fman_reset_mac(struct fman *fman, u8 mac_id); 313 int fman_set_mac_max_frame(struct fman *fman, u8 mac_id, u16 mfl);
|
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | dm.h | 256 u32 mac_id); 258 u32 mac_id, u32 rx_pwdb_all);
|
/drivers/net/ethernet/amd/ |
D | au1000_eth.c | 499 BUG_ON(aup->mac_id < 0 || aup->mac_id > 1); in au1000_mii_probe() 521 if (!phydev && (aup->mac_id == 1)) { in au1000_mii_probe() 534 if (aup->mac_id == 1) in au1000_mii_probe() 688 aup->mac_id); in au1000_get_drvinfo() 1210 aup->mac_id = pdev->id; in au1000_probe() 1264 pdev->name, aup->mac_id); in au1000_probe() 1268 if (aup->phy_irq && aup->phy_busid == aup->mac_id) in au1000_probe()
|
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | dm.h | 285 u8 *pdesc, u32 mac_id); 287 u8 antsel_tr_mux, u32 mac_id,
|
/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | rx.c | 510 __le32 mac_id; member 525 u16 id = le32_to_cpu(data->mac_id); in iwl_mvm_stat_iterator() 642 data.mac_id = stats->rx.general.mac_id; in iwl_mvm_handle_rx_statistics()
|