| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_cgx.c | 354 struct mac_ops *mac_ops; in rvu_cgx_init() local 386 mac_ops = get_mac_ops(cgxd); in rvu_cgx_init() 387 mac_ops->mac_x2p_reset(cgxd, false); in rvu_cgx_init() 403 struct mac_ops *mac_ops; in cgx_start_linkup() local 412 mac_ops = get_mac_ops(cgxd); in cgx_start_linkup() 415 mac_ops->mac_enadis_rx(cgxd, lmac, true); in cgx_start_linkup() 467 struct mac_ops *mac_ops; in rvu_cgx_enadis_rx_bp() local 477 mac_ops = get_mac_ops(cgxd); in rvu_cgx_enadis_rx_bp() 480 mac_ops->mac_enadis_rx_pause_fwding(cgxd, lmac_id, true); in rvu_cgx_enadis_rx_bp() 482 mac_ops->mac_enadis_rx_pause_fwding(cgxd, lmac_id, false); in rvu_cgx_enadis_rx_bp() [all …]
|
| H A D | cgx.c | 116 struct mac_ops *get_mac_ops(void *cgxd) in get_mac_ops() 121 return ((struct cgx *)cgxd)->mac_ops; in get_mac_ops() 131 writeq(val, cgx->reg_base + (lmac << cgx->mac_ops->lmac_offset) + in cgx_write() 137 return readq(cgx->reg_base + (lmac << cgx->mac_ops->lmac_offset) + in cgx_read() 265 struct mac_ops *mac_ops; in cgx_lmac_addr_set() local 273 mac_ops = cgx_dev->mac_ops; in cgx_lmac_addr_set() 297 struct mac_ops *mac_ops; in cgx_read_dmac_ctrl() local 305 mac_ops = cgx->mac_ops; in cgx_read_dmac_ctrl() 312 struct mac_ops *mac_ops; in cgx_read_dmac_entry() local 319 mac_ops = cgx->mac_ops; in cgx_read_dmac_entry() [all …]
|
| H A D | lmac_common.h | 55 struct mac_ops { struct 156 struct mac_ops *mac_ops; argument 173 struct mac_ops *rpm_get_mac_ops(struct cgx *cgx);
|
| H A D | rpm.c | 11 static struct mac_ops rpm_mac_ops = { 46 static struct mac_ops rpm2_mac_ops = { 88 struct mac_ops *rpm_get_mac_ops(rpm_t *rpm) in rpm_get_mac_ops() 412 idx += lmac_id * rpm->mac_ops->rx_stats_cnt; in rpm_get_rx_stats() 440 idx += lmac_id * rpm->mac_ops->tx_stats_cnt; in rpm_get_tx_stats() 488 num_lmacs = rpm->mac_ops->get_nr_lmacs(rpm); in rpm_get_lmac_fifo_len() 784 rpm->mac_ops->mac_enadis_rx(rpm, lmac_id, false); in rpm_x2p_reset()
|
| H A D | rvu_nix.c | 5318 struct mac_ops *mac_ops; in rvu_nix_lf_teardown() local 5369 mac_ops = get_mac_ops(cgxd); in rvu_nix_lf_teardown() 5370 mac_ops->mac_enadis_ptp_config(cgxd, lmac_id, false); in rvu_nix_lf_teardown()
|
| /linux/drivers/net/ethernet/intel/ixgbevf/ |
| H A D | vf.c | 1163 .mac_ops = &ixgbevf_mac_ops, 1168 .mac_ops = &ixgbevf_hv_mac_ops, 1173 .mac_ops = &ixgbevf_mac_ops, 1178 .mac_ops = &ixgbevf_hv_mac_ops, 1183 .mac_ops = &ixgbevf_mac_ops, 1188 .mac_ops = &ixgbevf_hv_mac_ops, 1193 .mac_ops = &ixgbevf_mac_ops, 1198 .mac_ops = &ixgbevf_hv_mac_ops, 1203 .mac_ops = &ixgbevf_mac_ops, 1208 .mac_ops = &ixgbevf_mac_ops, [all …]
|
| H A D | vf.h | 153 const struct ixgbe_mac_operations *mac_ops; member
|
| H A D | ixgbevf_main.c | 4616 memcpy(&hw->mac.ops, ii->mac_ops, sizeof(hw->mac.ops)); in ixgbevf_probe()
|
| /linux/drivers/net/ethernet/apm/xgene/ |
| H 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()
|
| H A D | xgene_enet_hw.c | 537 pdata->mac_ops->enable_tx_pause(pdata, enable); in xgene_gmac_flowctl_tx() 783 pdata->mac_ops->flowctl_tx(pdata, pdata->tx_pause); in xgene_enet_flowctrl_cfg() 788 pdata->mac_ops->flowctl_rx(pdata, pdata->rx_pause); in xgene_enet_flowctrl_cfg() 797 const struct xgene_mac_ops *mac_ops = pdata->mac_ops; in xgene_enet_adjust_link() local 803 mac_ops->set_speed(pdata); in xgene_enet_adjust_link() 804 mac_ops->rx_enable(pdata); in xgene_enet_adjust_link() 805 mac_ops->tx_enable(pdata); in xgene_enet_adjust_link() 811 mac_ops->rx_disable(pdata); in xgene_enet_adjust_link() 812 mac_ops->tx_disable(pdata); in xgene_enet_adjust_link()
|
| H A D | xgene_enet_main.h | 219 const struct xgene_mac_ops *mac_ops; member
|
| H A D | xgene_enet_xgmac.c | 288 pdata->mac_ops->enable_tx_pause(pdata, enable); in xgene_xgmac_flowctl_tx()
|
| H A D | xgene_enet_sgmac.c | 321 p->mac_ops->enable_tx_pause(p, enable); in xgene_sgmac_flowctl_tx()
|
| /linux/drivers/net/ethernet/intel/e1000e/ |
| H A D | 82571.c | 1962 .mac_ops = &e82571_mac_ops, 1980 .mac_ops = &e82571_mac_ops, 1998 .mac_ops = &e82571_mac_ops, 2023 .mac_ops = &e82571_mac_ops, 2045 .mac_ops = &e82571_mac_ops,
|
| H A D | ich8lan.c | 6021 .mac_ops = &ich8_mac_ops, 6038 .mac_ops = &ich8_mac_ops, 6055 .mac_ops = &ich8_mac_ops, 6074 .mac_ops = &ich8_mac_ops, 6095 .mac_ops = &ich8_mac_ops, 6116 .mac_ops = &ich8_mac_ops, 6136 .mac_ops = &ich8_mac_ops, 6156 .mac_ops = &ich8_mac_ops, 6176 .mac_ops = &ich8_mac_ops, 6196 .mac_ops = &ich8_mac_ops, [all …]
|
| H A D | e1000.h | 346 const struct e1000_mac_operations *mac_ops; member
|
| H A D | 80003es2lan.c | 1408 .mac_ops = &es2_mac_ops,
|
| /linux/net/dsa/ |
| H A D | port.c | 1619 const struct phylink_mac_ops *mac_ops; in dsa_port_phylink_create() local 1643 mac_ops = &dsa_port_phylink_mac_ops; in dsa_port_phylink_create() 1645 mac_ops = ds->phylink_mac_ops; in dsa_port_phylink_create() 1648 mac_ops); in dsa_port_phylink_create()
|
| /linux/drivers/net/ethernet/intel/igc/ |
| H A D | igc_base.c | 450 .mac_ops = &igc_mac_ops_base,
|
| H A D | igc_main.c | 7202 memcpy(&hw->mac.ops, ei->mac_ops, sizeof(hw->mac.ops)); in igc_probe()
|
| /linux/drivers/net/ethernet/intel/igb/ |
| H A D | e1000_hw.h | 356 struct e1000_mac_operations *mac_ops; member
|
| /linux/drivers/net/ethernet/intel/fm10k/ |
| H A D | fm10k_type.h | 640 const struct fm10k_mac_ops *mac_ops; member
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_82598.c | 1194 .mac_ops = &mac_ops_82598,
|
| H A D | ixgbe_e610.c | 4038 .mac_ops = &mac_ops_e610,
|
| /linux/drivers/net/ethernet/mediatek/ |
| H A D | mtk_eth_soc.c | 4825 const struct phylink_mac_ops *mac_ops = &mtk_phylink_ops; in mtk_add_mac() local 4961 mac_ops = &rt5350_phylink_ops; in mtk_add_mac() 4965 phy_mode, mac_ops); in mtk_add_mac()
|