Searched refs:mac_base (Results 1 - 4 of 4) sorted by relevance
/freebsd-11-stable/sys/contrib/alpine-hal/eth/ |
H A D | al_hal_eth.h | 1890 * @param mac_base base address of the MAC registers 1897 void __iomem *mac_base); 1907 * @param mac_base base address of the MAC registers 1916 void __iomem *mac_base, 2013 * @param mac_base the virtual address of the mac registers (PCI BAR 2) 2018 int al_eth_board_params_set(void * __iomem mac_base, struct al_eth_board_params *params); 2025 * @param mac_base the virtual address of the mac registers (PCI BAR 2) 2030 int al_eth_board_params_get(void * __iomem mac_base, struct al_eth_board_params *params);
|
H A D | al_hal_eth_main.c | 3914 void __iomem *mac_base) 3917 (struct al_eth_mac_regs __iomem *)mac_base; 3961 al_reg_write32(mac_base + 0xB08, 0x03320501); 3974 al_reg_write32(mac_base + 0xB08, 0x00320501); 3977 reg = al_reg_read32((void*)((uint32_t)mac_base + 0x95c)); 3979 al_reg_write32((void*)((uint32_t)mac_base + 0x95c), reg); 3980 reg = al_reg_read32((void*)((uint32_t)mac_base + 0x95c)); 3982 al_reg_write32((void*)((uint32_t)mac_base + 0x95c), reg); 3990 void __iomem *mac_base, 4004 al_eth_board_params_get(mac_base, 3911 al_eth_flr_rmn(int (* pci_read_config_u32)(void *handle, int where, uint32_t *val), int (* pci_write_config_u32)(void *handle, int where, uint32_t val), void *handle, void __iomem *mac_base) argument 3987 al_eth_flr_rmn_restore_params(int (* pci_read_config_u32)(void *handle, int where, uint32_t *val), int (* pci_write_config_u32)(void *handle, int where, uint32_t val), void *handle, void __iomem *mac_base, void __iomem *ec_base, int mac_addresses_num ) argument 4059 al_eth_board_params_set(void * __iomem mac_base, struct al_eth_board_params *params) argument 4141 al_eth_board_params_get(void * __iomem mac_base, struct al_eth_board_params *params) argument [all...] |
/freebsd-11-stable/sys/dev/qlnx/qlnxe/ |
H A D | ecore_dev.c | 3131 u32 mac_base = NWM_REG_MAC0_K2_E5 + (port << 2) * NWM_REG_MAC0_SIZE; local 3141 ecore_wr(p_hwfn, p_ptt, mac_base + ETH_MAC_REG_XIF_MODE_K2_E5, 3144 ecore_wr(p_hwfn, p_ptt, mac_base + ETH_MAC_REG_FRM_LENGTH_K2_E5, 3147 ecore_wr(p_hwfn, p_ptt, mac_base + ETH_MAC_REG_TX_IPG_LENGTH_K2_E5, 3150 ecore_wr(p_hwfn, p_ptt, mac_base + ETH_MAC_REG_RX_FIFO_SECTIONS_K2_E5, 3153 ecore_wr(p_hwfn, p_ptt, mac_base + ETH_MAC_REG_TX_FIFO_SECTIONS_K2_E5, 3159 ecore_wr(p_hwfn, p_ptt, mac_base + ETH_MAC_REG_COMMAND_CONFIG_K2_E5,
|
/freebsd-11-stable/sys/dev/bxe/ |
H A D | bxe_elink.c | 14787 uint32_t mac_base; local 14801 mac_base = (params->port) ? GRCBASE_XMAC1 : GRCBASE_XMAC0; 14804 REG_WR(sc, mac_base + XMAC_REG_CLEAR_RX_LSS_STATUS, 0); 14805 REG_WR(sc, mac_base + XMAC_REG_CLEAR_RX_LSS_STATUS, 14808 if (REG_RD(sc, mac_base + XMAC_REG_RX_LSS_STATUS)) 14819 mac_base = params->port ? NIG_REG_INGRESS_BMAC1_MEM : 14827 REG_RD_DMAE(sc, mac_base + lss_status_reg, wb_data, 2);
|
Completed in 198 milliseconds