/kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-drv.c | 288 pdata->hw_if.tx_start_xmit(channel, ring); in xgbe_maybe_stop_tx_queue() 312 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_enable_rx_tx_int() local 324 hw_if->enable_int(channel, int_id); in xgbe_enable_rx_tx_int() 338 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_disable_rx_tx_int() local 350 hw_if->disable_int(channel, int_id); in xgbe_disable_rx_tx_int() 434 pdata->hw_if.disable_ecc_ded(pdata); in xgbe_ecc_isr_task() 442 pdata->hw_if.disable_ecc_sec(pdata, XGBE_ECC_SEC_TX); in xgbe_ecc_isr_task() 448 pdata->hw_if in xgbe_ecc_isr_task() 479 struct xgbe_hw_if *hw_if = &pdata->hw_if; xgbe_isr_task() local 1100 struct xgbe_hw_if *hw_if = &pdata->hw_if; xgbe_init_tx_coalesce() local 1114 struct xgbe_hw_if *hw_if = &pdata->hw_if; xgbe_init_rx_coalesce() local 1184 struct xgbe_hw_if *hw_if = &pdata->hw_if; xgbe_powerdown() local 1223 struct xgbe_hw_if *hw_if = &pdata->hw_if; xgbe_powerup() local 1312 struct xgbe_hw_if *hw_if = &pdata->hw_if; xgbe_start() local 1377 struct xgbe_hw_if *hw_if = &pdata->hw_if; xgbe_stop() local 1948 struct xgbe_hw_if *hw_if = &pdata->hw_if; xgbe_xmit() local 2018 struct xgbe_hw_if *hw_if = &pdata->hw_if; xgbe_set_rx_mode() local 2030 struct xgbe_hw_if *hw_if = &pdata->hw_if; xgbe_set_mac_address() local 2130 struct xgbe_hw_if *hw_if = &pdata->hw_if; xgbe_vlan_rx_add_vid() local 2146 struct xgbe_hw_if *hw_if = &pdata->hw_if; xgbe_vlan_rx_kill_vid() local 2251 struct xgbe_hw_if *hw_if = &pdata->hw_if; xgbe_set_features() local 2331 struct xgbe_hw_if *hw_if = &pdata->hw_if; xgbe_rx_refresh() local 2427 struct xgbe_hw_if *hw_if = &pdata->hw_if; xgbe_tx_poll() local 2498 struct xgbe_hw_if *hw_if = &pdata->hw_if; xgbe_rx_poll() local [all...] |
H A D | xgbe-dev.c | 2790 pdata->hw_if.disable_rx(pdata); in xgbe_config_dcb_pfc() 2798 pdata->hw_if.enable_rx(pdata); in xgbe_config_dcb_pfc() 3544 void xgbe_init_function_ptrs_dev(struct xgbe_hw_if *hw_if) in xgbe_init_function_ptrs_dev() argument 3548 hw_if->tx_complete = xgbe_tx_complete; in xgbe_init_function_ptrs_dev() 3550 hw_if->set_mac_address = xgbe_set_mac_address; in xgbe_init_function_ptrs_dev() 3551 hw_if->config_rx_mode = xgbe_config_rx_mode; in xgbe_init_function_ptrs_dev() 3553 hw_if->enable_rx_csum = xgbe_enable_rx_csum; in xgbe_init_function_ptrs_dev() 3554 hw_if->disable_rx_csum = xgbe_disable_rx_csum; in xgbe_init_function_ptrs_dev() 3556 hw_if->enable_rx_vlan_stripping = xgbe_enable_rx_vlan_stripping; in xgbe_init_function_ptrs_dev() 3557 hw_if in xgbe_init_function_ptrs_dev() [all...] |
H A D | xgbe-ethtool.c | 226 pdata->hw_if.read_mmc_stats(pdata); in xgbe_get_ethtool_stats() 454 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_set_coalesce() local 458 rx_riwt = hw_if->usec_to_riwt(pdata, ec->rx_coalesce_usecs); in xgbe_set_coalesce() 469 hw_if->riwt_to_usec(pdata, XGMAC_MAX_DMA_RIWT)); in xgbe_set_coalesce() 490 hw_if->config_rx_coalesce(pdata); in xgbe_set_coalesce() 493 hw_if->config_tx_coalesce(pdata); in xgbe_set_coalesce() 553 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_set_rxfh() local 562 ret = hw_if in xgbe_set_rxfh() [all...] |
H A D | xgbe-desc.c | 388 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_wrapper_tx_descriptor_init() local 421 hw_if->tx_desc_init(channel); in xgbe_wrapper_tx_descriptor_init() 429 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_wrapper_rx_descriptor_init() local 464 hw_if->rx_desc_init(channel); in xgbe_wrapper_rx_descriptor_init()
|
H A D | xgbe-dcb.c | 205 pdata->hw_if.config_dcb_tc(pdata); in xgbe_dcb_ieee_setets() 252 pdata->hw_if.config_dcb_pfc(pdata); in xgbe_dcb_ieee_setpfc()
|
H A D | xgbe-ptp.c | 132 nsec = pdata->hw_if.get_tstamp_time(pdata); in xgbe_cc_read() 161 pdata->hw_if.update_tstamp_addend(pdata, addend); in xgbe_adjfreq()
|
H A D | xgbe-mdio.c | 222 pdata->hw_if.set_speed(pdata, SPEED_10000); in xgbe_kr_mode() 231 pdata->hw_if.set_speed(pdata, SPEED_2500); in xgbe_kx_2500_mode() 240 pdata->hw_if.set_speed(pdata, SPEED_1000); in xgbe_kx_1000_mode() 253 pdata->hw_if.set_speed(pdata, SPEED_10000); in xgbe_sfi_mode() 262 pdata->hw_if.set_speed(pdata, SPEED_1000); in xgbe_x_mode() 271 pdata->hw_if.set_speed(pdata, SPEED_1000); in xgbe_sgmii_1000_mode() 280 pdata->hw_if.set_speed(pdata, SPEED_1000); in xgbe_sgmii_100_mode() 1118 pdata->hw_if.config_tx_flow_control(pdata); in xgbe_phy_adjust_link() 1124 pdata->hw_if.config_rx_flow_control(pdata); in xgbe_phy_adjust_link()
|
H A D | xgbe-main.c | 164 xgbe_init_function_ptrs_dev(&pdata->hw_if); in xgbe_init_all_fptrs() 281 ret = pdata->hw_if.exit(pdata); in xgbe_config_netdev()
|
H A D | xgbe-phy-v2.c | 615 return pdata->hw_if.write_ext_mii_regs(pdata, addr, reg, val); in xgbe_phy_mdio_mii_write() 675 return pdata->hw_if.read_ext_mii_regs(pdata, addr, reg); in xgbe_phy_mdio_mii_read() 1012 ret = pdata->hw_if.set_ext_mii_mode(pdata, phy_data->mdio_addr, in xgbe_phy_find_phy_device() 1913 return pdata->hw_if.write_ext_mii_regs(pdata, phy_data->redrv_addr, in xgbe_phy_set_redrv_mode_mdio() 2721 ret = pdata->hw_if.set_gpio(pdata, phy_data->mdio_reset_gpio); in xgbe_phy_int_mdio_reset() 2725 ret = pdata->hw_if.clr_gpio(pdata, phy_data->mdio_reset_gpio); in xgbe_phy_int_mdio_reset() 3076 ret = pdata->hw_if.set_ext_mii_mode(pdata, phy_data->redrv_addr, in xgbe_phy_start() 3377 ret = pdata->hw_if.set_ext_mii_mode(pdata, phy_data->mdio_addr, in xgbe_phy_init() 3388 ret = pdata->hw_if.set_ext_mii_mode(pdata, phy_data->redrv_addr, in xgbe_phy_init()
|
H A D | xgbe-common.h | 1705 ((_pdata)->hw_if.read_mmd_regs((_pdata), 0, \ 1712 ((_pdata)->hw_if.write_mmd_regs((_pdata), 0, \
|
H A D | xgbe.h | 1093 struct xgbe_hw_if hw_if; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-drv.c | 288 pdata->hw_if.tx_start_xmit(channel, ring); in xgbe_maybe_stop_tx_queue() 312 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_enable_rx_tx_int() local 324 hw_if->enable_int(channel, int_id); in xgbe_enable_rx_tx_int() 338 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_disable_rx_tx_int() local 350 hw_if->disable_int(channel, int_id); in xgbe_disable_rx_tx_int() 434 pdata->hw_if.disable_ecc_ded(pdata); in xgbe_ecc_isr_task() 442 pdata->hw_if.disable_ecc_sec(pdata, XGBE_ECC_SEC_TX); in xgbe_ecc_isr_task() 448 pdata->hw_if in xgbe_ecc_isr_task() 479 struct xgbe_hw_if *hw_if = &pdata->hw_if; xgbe_isr_task() local 1100 struct xgbe_hw_if *hw_if = &pdata->hw_if; xgbe_init_tx_coalesce() local 1114 struct xgbe_hw_if *hw_if = &pdata->hw_if; xgbe_init_rx_coalesce() local 1184 struct xgbe_hw_if *hw_if = &pdata->hw_if; xgbe_powerdown() local 1223 struct xgbe_hw_if *hw_if = &pdata->hw_if; xgbe_powerup() local 1312 struct xgbe_hw_if *hw_if = &pdata->hw_if; xgbe_start() local 1377 struct xgbe_hw_if *hw_if = &pdata->hw_if; xgbe_stop() local 1941 struct xgbe_hw_if *hw_if = &pdata->hw_if; xgbe_xmit() local 2011 struct xgbe_hw_if *hw_if = &pdata->hw_if; xgbe_set_rx_mode() local 2023 struct xgbe_hw_if *hw_if = &pdata->hw_if; xgbe_set_mac_address() local 2123 struct xgbe_hw_if *hw_if = &pdata->hw_if; xgbe_vlan_rx_add_vid() local 2139 struct xgbe_hw_if *hw_if = &pdata->hw_if; xgbe_vlan_rx_kill_vid() local 2244 struct xgbe_hw_if *hw_if = &pdata->hw_if; xgbe_set_features() local 2322 struct xgbe_hw_if *hw_if = &pdata->hw_if; xgbe_rx_refresh() local 2418 struct xgbe_hw_if *hw_if = &pdata->hw_if; xgbe_tx_poll() local 2489 struct xgbe_hw_if *hw_if = &pdata->hw_if; xgbe_rx_poll() local [all...] |
H A D | xgbe-dev.c | 2840 pdata->hw_if.disable_rx(pdata); in xgbe_config_dcb_pfc() 2848 pdata->hw_if.enable_rx(pdata); in xgbe_config_dcb_pfc() 3594 void xgbe_init_function_ptrs_dev(struct xgbe_hw_if *hw_if) in xgbe_init_function_ptrs_dev() argument 3598 hw_if->tx_complete = xgbe_tx_complete; in xgbe_init_function_ptrs_dev() 3600 hw_if->set_mac_address = xgbe_set_mac_address; in xgbe_init_function_ptrs_dev() 3601 hw_if->config_rx_mode = xgbe_config_rx_mode; in xgbe_init_function_ptrs_dev() 3603 hw_if->enable_rx_csum = xgbe_enable_rx_csum; in xgbe_init_function_ptrs_dev() 3604 hw_if->disable_rx_csum = xgbe_disable_rx_csum; in xgbe_init_function_ptrs_dev() 3606 hw_if->enable_rx_vlan_stripping = xgbe_enable_rx_vlan_stripping; in xgbe_init_function_ptrs_dev() 3607 hw_if in xgbe_init_function_ptrs_dev() [all...] |
H A D | xgbe-ethtool.c | 226 pdata->hw_if.read_mmc_stats(pdata); in xgbe_get_ethtool_stats() 456 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_set_coalesce() local 460 rx_riwt = hw_if->usec_to_riwt(pdata, ec->rx_coalesce_usecs); in xgbe_set_coalesce() 471 hw_if->riwt_to_usec(pdata, XGMAC_MAX_DMA_RIWT)); in xgbe_set_coalesce() 492 hw_if->config_rx_coalesce(pdata); in xgbe_set_coalesce() 495 hw_if->config_tx_coalesce(pdata); in xgbe_set_coalesce() 555 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_set_rxfh() local 564 ret = hw_if in xgbe_set_rxfh() [all...] |
H A D | xgbe-desc.c | 388 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_wrapper_tx_descriptor_init() local 421 hw_if->tx_desc_init(channel); in xgbe_wrapper_tx_descriptor_init() 429 struct xgbe_hw_if *hw_if = &pdata->hw_if; in xgbe_wrapper_rx_descriptor_init() local 464 hw_if->rx_desc_init(channel); in xgbe_wrapper_rx_descriptor_init()
|
H A D | xgbe-ptp.c | 132 nsec = pdata->hw_if.get_tstamp_time(pdata); in xgbe_cc_read() 149 pdata->hw_if.update_tstamp_addend(pdata, addend); in xgbe_adjfine()
|
H A D | xgbe-mdio.c | 222 pdata->hw_if.set_speed(pdata, SPEED_10000); in xgbe_kr_mode() 231 pdata->hw_if.set_speed(pdata, SPEED_2500); in xgbe_kx_2500_mode() 240 pdata->hw_if.set_speed(pdata, SPEED_1000); in xgbe_kx_1000_mode() 253 pdata->hw_if.set_speed(pdata, SPEED_10000); in xgbe_sfi_mode() 262 pdata->hw_if.set_speed(pdata, SPEED_1000); in xgbe_x_mode() 271 pdata->hw_if.set_speed(pdata, SPEED_1000); in xgbe_sgmii_1000_mode() 280 pdata->hw_if.set_speed(pdata, SPEED_10); in xgbe_sgmii_10_mode() 289 pdata->hw_if.set_speed(pdata, SPEED_1000); in xgbe_sgmii_100_mode() 1132 pdata->hw_if.config_tx_flow_control(pdata); in xgbe_phy_adjust_link() 1138 pdata->hw_if in xgbe_phy_adjust_link() [all...] |
H A D | xgbe-dcb.c | 205 pdata->hw_if.config_dcb_tc(pdata); in xgbe_dcb_ieee_setets() 252 pdata->hw_if.config_dcb_pfc(pdata); in xgbe_dcb_ieee_setpfc()
|
H A D | xgbe-main.c | 164 xgbe_init_function_ptrs_dev(&pdata->hw_if); in xgbe_init_all_fptrs() 281 ret = pdata->hw_if.exit(pdata); in xgbe_config_netdev()
|
H A D | xgbe-phy-v2.c | 615 return pdata->hw_if.write_ext_mii_regs_c22(pdata, addr, reg, val); in xgbe_phy_mdio_mii_write_c22() 626 return pdata->hw_if.write_ext_mii_regs_c45(pdata, addr, devad, in xgbe_phy_mdio_mii_write_c45() 706 return pdata->hw_if.read_ext_mii_regs_c22(pdata, addr, reg); in xgbe_phy_mdio_mii_read_c22() 717 return pdata->hw_if.read_ext_mii_regs_c45(pdata, addr, devad, reg); in xgbe_phy_mdio_mii_read_c45() 1079 ret = pdata->hw_if.set_ext_mii_mode(pdata, phy_data->mdio_addr, in xgbe_phy_find_phy_device() 1999 return pdata->hw_if.write_ext_mii_regs_c22(pdata, phy_data->redrv_addr, in xgbe_phy_set_redrv_mode_mdio() 3025 ret = pdata->hw_if.set_gpio(pdata, phy_data->mdio_reset_gpio); in xgbe_phy_int_mdio_reset() 3029 ret = pdata->hw_if.clr_gpio(pdata, phy_data->mdio_reset_gpio); in xgbe_phy_int_mdio_reset() 3391 ret = pdata->hw_if.set_ext_mii_mode(pdata, phy_data->redrv_addr, in xgbe_phy_start() 3710 ret = pdata->hw_if in xgbe_phy_init() [all...] |
H A D | xgbe-common.h | 1746 ((_pdata)->hw_if.read_mmd_regs((_pdata), 0, \ 1753 ((_pdata)->hw_if.write_mmd_regs((_pdata), 0, \
|
H A D | xgbe.h | 1126 struct xgbe_hw_if hw_if; member
|