Home
last modified time | relevance | path

Searched refs:mac_ops (Results 1 – 25 of 28) sorted by relevance

12

/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_cgx.c354 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 Dcgx.c116 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 Dlmac_common.h55 struct mac_ops { struct
156 struct mac_ops *mac_ops; argument
173 struct mac_ops *rpm_get_mac_ops(struct cgx *cgx);
H A Drpm.c11 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 Drvu_nix.c5318 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 Dvf.c1163 .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 Dvf.h153 const struct ixgbe_mac_operations *mac_ops; member
H A Dixgbevf_main.c4616 memcpy(&hw->mac.ops, ii->mac_ops, sizeof(hw->mac.ops)); in ixgbevf_probe()
/linux/drivers/net/ethernet/apm/xgene/
H A Dxgene_enet_ethtool.c240 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 Dxgene_enet_hw.c537 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 Dxgene_enet_main.h219 const struct xgene_mac_ops *mac_ops; member
H A Dxgene_enet_xgmac.c288 pdata->mac_ops->enable_tx_pause(pdata, enable); in xgene_xgmac_flowctl_tx()
H A Dxgene_enet_sgmac.c321 p->mac_ops->enable_tx_pause(p, enable); in xgene_sgmac_flowctl_tx()
/linux/drivers/net/ethernet/intel/e1000e/
H A D82571.c1962 .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 Dich8lan.c6021 .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 De1000.h346 const struct e1000_mac_operations *mac_ops; member
H A D80003es2lan.c1408 .mac_ops = &es2_mac_ops,
/linux/net/dsa/
H A Dport.c1619 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 Digc_base.c450 .mac_ops = &igc_mac_ops_base,
H A Digc_main.c7202 memcpy(&hw->mac.ops, ei->mac_ops, sizeof(hw->mac.ops)); in igc_probe()
/linux/drivers/net/ethernet/intel/igb/
H A De1000_hw.h356 struct e1000_mac_operations *mac_ops; member
/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_type.h640 const struct fm10k_mac_ops *mac_ops; member
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_82598.c1194 .mac_ops = &mac_ops_82598,
H A Dixgbe_e610.c4038 .mac_ops = &mac_ops_e610,
/linux/drivers/net/ethernet/mediatek/
H A Dmtk_eth_soc.c4825 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()

12