/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
A D | cgx.c | 239 struct mac_ops *mac_ops; in cgx_lmac_addr_set() local 268 struct mac_ops *mac_ops; in cgx_read_dmac_ctrl() local 276 mac_ops = cgx->mac_ops; in cgx_read_dmac_ctrl() 283 struct mac_ops *mac_ops; in cgx_read_dmac_entry() local 290 mac_ops = cgx->mac_ops; in cgx_read_dmac_entry() 298 struct mac_ops *mac_ops; in cgx_lmac_addr_add() local 341 struct mac_ops *mac_ops; in cgx_lmac_addr_reset() local 375 struct mac_ops *mac_ops; in cgx_lmac_addr_update() local 409 struct mac_ops *mac_ops; in cgx_lmac_addr_del() local 545 mac_ops = cgx->mac_ops; in cgx_lmac_promisc_config() [all …]
|
A D | rvu_cgx.c | 423 struct mac_ops *mac_ops; in rvu_cgx_enadis_rx_bp() local 433 mac_ops = get_mac_ops(cgxd); in rvu_cgx_enadis_rx_bp() 499 struct mac_ops *mac_ops; in rvu_lmac_get_stats() local 510 mac_ops = get_mac_ops(cgxd); in rvu_lmac_get_stats() 698 struct mac_ops *mac_ops; in rvu_cgx_ptp_rx_cfg() local 715 mac_ops = get_mac_ops(cgxd); in rvu_cgx_ptp_rx_cfg() 817 struct mac_ops *mac_ops; in rvu_cgx_get_fifolen() local 821 fifo_len = mac_ops ? mac_ops->fifo_len : 0; in rvu_cgx_get_fifolen() 829 struct mac_ops *mac_ops; in rvu_cgx_config_intlbk() local 861 struct mac_ops *mac_ops; in rvu_mbox_handler_cgx_cfg_pause_frm() local [all …]
|
A D | lmac_common.h | 49 struct mac_ops { struct 122 struct mac_ops *mac_ops; argument 139 struct mac_ops *rpm_get_mac_ops(void);
|
A D | rpm.c | 11 static struct mac_ops rpm_mac_ops = { 35 struct mac_ops *rpm_get_mac_ops(void) in rpm_get_mac_ops() 193 idx += lmac_id * rpm->mac_ops->rx_stats_cnt; in rpm_get_rx_stats() 221 idx += lmac_id * rpm->mac_ops->tx_stats_cnt; in rpm_get_tx_stats() 254 lmac_type = rpm->mac_ops->get_lmac_type(rpm, lmac_id); in rpm_lmac_internal_loopback()
|
A D | cgx.h | 44 #define CGXX_CMRX_RX_DMAC_CTL0 (0x1F8 + mac_ops->csr_offset) 50 #define CGXX_CMRX_RX_DMAC_CAM0 (0x200 + mac_ops->csr_offset) 166 struct mac_ops *get_mac_ops(void *cgxd);
|
A D | rvu_debugfs.c | 499 struct mac_ops *mac_ops; in rvu_dbg_rvu_pf_cgx_map_display() local 509 if (!mac_ops) in rvu_dbg_rvu_pf_cgx_map_display() 512 mac_ops->name); in rvu_dbg_rvu_pf_cgx_map_display() 2043 struct mac_ops *mac_ops; in cgx_print_stats() local 2055 mac_ops = get_mac_ops(cgxd); in cgx_print_stats() 2057 if (!mac_ops) in cgx_print_stats() 2070 mac_ops->name); in cgx_print_stats() 2093 mac_ops->name); in cgx_print_stats() 2113 while (stat < mac_ops->rx_stats_cnt) { in cgx_print_stats() 2239 struct mac_ops *mac_ops; in rvu_dbg_cgx_init() local [all …]
|
A D | rvu_nix.c | 299 struct mac_ops *mac_ops; in nix_interface_init() local 329 mac_ops = get_mac_ops(rvu_cgx_pdata(cgx_id, rvu)); in nix_interface_init() 333 mac_ops->mac_enadis_pause_frm(rvu_cgx_pdata(cgx_id, in nix_interface_init() 4525 struct mac_ops *mac_ops; in rvu_nix_lf_teardown() local 4573 mac_ops = get_mac_ops(cgxd); in rvu_nix_lf_teardown() 4574 mac_ops->mac_enadis_ptp_config(cgxd, lmac_id, false); in rvu_nix_lf_teardown()
|
/linux/drivers/net/ethernet/intel/ixgbevf/ |
A D | vf.c | 985 .mac_ops = &ixgbevf_mac_ops, 990 .mac_ops = &ixgbevf_hv_mac_ops, 995 .mac_ops = &ixgbevf_mac_ops, 1000 .mac_ops = &ixgbevf_hv_mac_ops, 1005 .mac_ops = &ixgbevf_mac_ops, 1010 .mac_ops = &ixgbevf_hv_mac_ops, 1015 .mac_ops = &ixgbevf_mac_ops, 1020 .mac_ops = &ixgbevf_hv_mac_ops, 1025 .mac_ops = &ixgbevf_mac_ops,
|
A D | vf.h | 150 const struct ixgbe_mac_operations *mac_ops; member
|
/linux/drivers/net/ethernet/apm/xgene/ |
A D | xgene_enet_ethtool.c | 240 pdata->mac_ops->get_drop_cnt(pdata, &rx_drop, &tx_drop); in xgene_get_extd_stats() 311 pdata->mac_ops->flowctl_tx(pdata, pdata->tx_pause); in xgene_set_pauseparam() 312 pdata->mac_ops->flowctl_rx(pdata, pdata->rx_pause); in xgene_set_pauseparam() 321 pdata->mac_ops->flowctl_tx(pdata, pdata->tx_pause); in xgene_set_pauseparam() 322 pdata->mac_ops->flowctl_rx(pdata, pdata->rx_pause); in xgene_set_pauseparam()
|
A D | xgene_enet_hw.c | 543 pdata->mac_ops->enable_tx_pause(pdata, enable); in xgene_gmac_flowctl_tx() 789 pdata->mac_ops->flowctl_tx(pdata, pdata->tx_pause); in xgene_enet_flowctrl_cfg() 794 pdata->mac_ops->flowctl_rx(pdata, pdata->rx_pause); in xgene_enet_flowctrl_cfg() 803 const struct xgene_mac_ops *mac_ops = pdata->mac_ops; in xgene_enet_adjust_link() local 809 mac_ops->set_speed(pdata); in xgene_enet_adjust_link() 810 mac_ops->rx_enable(pdata); in xgene_enet_adjust_link() 811 mac_ops->tx_enable(pdata); in xgene_enet_adjust_link() 817 mac_ops->rx_disable(pdata); in xgene_enet_adjust_link() 818 mac_ops->tx_disable(pdata); in xgene_enet_adjust_link()
|
A D | xgene_enet_main.c | 868 pdata->mac_ops->reset(pdata); in xgene_enet_timeout() 992 const struct xgene_mac_ops *mac_ops = pdata->mac_ops; in xgene_enet_open() local 1015 mac_ops->tx_enable(pdata); in xgene_enet_open() 1016 mac_ops->rx_enable(pdata); in xgene_enet_open() 1025 const struct xgene_mac_ops *mac_ops = pdata->mac_ops; in xgene_enet_close() local 1029 mac_ops->tx_disable(pdata); in xgene_enet_close() 1030 mac_ops->rx_disable(pdata); in xgene_enet_close() 1873 pdata->mac_ops->init(pdata); in xgene_enet_init_hw() 1889 pdata->mac_ops = &xgene_gmac_ops; in xgene_enet_setup_ops() 1897 pdata->mac_ops = &xgene_sgmac_ops; in xgene_enet_setup_ops() [all …]
|
A D | xgene_enet_main.h | 218 const struct xgene_mac_ops *mac_ops; member
|
A D | xgene_enet_xgmac.c | 282 pdata->mac_ops->enable_tx_pause(pdata, enable); in xgene_xgmac_flowctl_tx()
|
/linux/drivers/net/phy/ |
A D | phylink.c | 45 const struct phylink_mac_ops *mac_ops; member 184 pl->mac_ops->validate(pl->config, s, &t); in phylink_validate_any() 208 pl->mac_ops->validate(pl->config, supported, state); in phylink_validate() 493 pl->mac_ops->mac_an_restart(pl->config); in phylink_mac_pcs_an_restart() 504 if (pl->mac_ops->mac_prepare) { in phylink_major_config() 531 if (pl->mac_ops->mac_finish) { in phylink_major_config() 604 else if (pl->mac_ops->mac_pcs_get_state) in phylink_mac_pcs_get_state() 605 pl->mac_ops->mac_pcs_get_state(pl->config, state); in phylink_mac_pcs_get_state() 680 pl->mac_ops->mac_link_up(pl->config, pl->phydev, in phylink_link_up() 894 const struct phylink_mac_ops *mac_ops) in phylink_create() argument [all …]
|
/linux/drivers/net/ethernet/intel/e1000e/ |
A D | 82571.c | 1963 .mac_ops = &e82571_mac_ops, 1981 .mac_ops = &e82571_mac_ops, 1999 .mac_ops = &e82571_mac_ops, 2024 .mac_ops = &e82571_mac_ops, 2046 .mac_ops = &e82571_mac_ops,
|
A D | ich8lan.c | 5865 .mac_ops = &ich8_mac_ops, 5882 .mac_ops = &ich8_mac_ops, 5899 .mac_ops = &ich8_mac_ops, 5918 .mac_ops = &ich8_mac_ops, 5939 .mac_ops = &ich8_mac_ops, 5960 .mac_ops = &ich8_mac_ops, 5980 .mac_ops = &ich8_mac_ops, 6000 .mac_ops = &ich8_mac_ops, 6020 .mac_ops = &ich8_mac_ops,
|
A D | e1000.h | 343 const struct e1000_mac_operations *mac_ops; member
|
/linux/include/linux/ |
A D | phylink.h | 447 const struct phylink_mac_ops *mac_ops);
|
/linux/drivers/net/ethernet/intel/igc/ |
A D | igc_base.c | 419 .mac_ops = &igc_mac_ops_base,
|
A D | igc_hw.h | 77 struct igc_mac_operations *mac_ops; member
|
/linux/drivers/net/ethernet/intel/fm10k/ |
A D | fm10k_vf.c | 531 .mac_ops = &mac_ops_vf,
|
A D | fm10k_type.h | 640 const struct fm10k_mac_ops *mac_ops; member
|
/linux/drivers/net/ethernet/intel/igb/ |
A D | e1000_hw.h | 356 struct e1000_mac_operations *mac_ops; member
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
A D | ixgbe_x550.c | 4054 .mac_ops = &mac_ops_X550, 4064 .mac_ops = &mac_ops_X550EM_x, 4075 .mac_ops = &mac_ops_X550EM_x_fw, 4085 .mac_ops = &mac_ops_x550em_a, 4095 .mac_ops = &mac_ops_x550em_a_fw,
|