Home
last modified time | relevance | path

Searched full:mac_ops (Results 1 – 24 of 24) sorted by relevance

/linux/drivers/net/ethernet/marvell/octeontx2/af/
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
272 /* access mac_ops to know csr_offset */ in cgx_lmac_addr_set()
273 mac_ops = cgx_dev->mac_ops; in cgx_lmac_addr_set()
297 struct mac_ops *mac_ops; in cgx_read_dmac_ctrl() local
304 /* Get mac_ops to know csr offset */ in cgx_read_dmac_ctrl()
305 mac_ops = cgx->mac_ops; in cgx_read_dmac_ctrl()
[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_debugfs.c822 struct mac_ops *mac_ops; in rvu_dbg_rvu_pf_cgx_map_display() local
829 mac_ops = get_mac_ops(rvu_first_cgx_pdata(rvu)); in rvu_dbg_rvu_pf_cgx_map_display()
831 if (!mac_ops) in rvu_dbg_rvu_pf_cgx_map_display()
834 mac_ops->name); in rvu_dbg_rvu_pf_cgx_map_display()
855 sprintf(cgx, "%s%d", mac_ops->name, cgx_id); in rvu_dbg_rvu_pf_cgx_map_display()
2816 struct mac_ops *mac_ops; in cgx_print_stats() local
2828 mac_ops = get_mac_ops(cgxd); in cgx_print_stats()
2830 if (!mac_ops) in cgx_print_stats()
2843 mac_ops->name); in cgx_print_stats()
2866 mac_ops->name); in cgx_print_stats()
[all …]
/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_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/ixgbevf/
H A Dvf.c1155 .mac_ops = &ixgbevf_mac_ops,
1160 .mac_ops = &ixgbevf_hv_mac_ops,
1165 .mac_ops = &ixgbevf_mac_ops,
1170 .mac_ops = &ixgbevf_hv_mac_ops,
1175 .mac_ops = &ixgbevf_mac_ops,
1180 .mac_ops = &ixgbevf_hv_mac_ops,
1185 .mac_ops = &ixgbevf_mac_ops,
1190 .mac_ops = &ixgbevf_hv_mac_ops,
1195 .mac_ops = &ixgbevf_mac_ops,
1200 .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/phy/
H A Dphylink.c43 const struct phylink_mac_ops *mac_ops; member
519 if (pl->mac_ops->mac_select_pcs) { in phylink_validate_mac_and_pcs()
520 pcs = pl->mac_ops->mac_select_pcs(pl->config, state->interface); in phylink_validate_mac_and_pcs()
563 if (pl->mac_ops->mac_get_caps) in phylink_validate_mac_and_pcs()
564 capabilities = pl->mac_ops->mac_get_caps(pl->config, in phylink_validate_mac_and_pcs()
955 if (!pl->mac_ops->mac_select_pcs) in phylink_inband_caps()
958 pcs = pl->mac_ops->mac_select_pcs(pl->config, interface); in phylink_inband_caps()
1012 pl->mac_ops->mac_config(pl->config, pl->act_link_an_mode, &st); in phylink_mac_config()
1244 if (pl->mac_ops->mac_select_pcs) { in phylink_major_config()
1245 pcs = pl->mac_ops->mac_select_pcs(pl->config, state->interface); in phylink_major_config()
[all …]
/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.c6007 .mac_ops = &ich8_mac_ops,
6024 .mac_ops = &ich8_mac_ops,
6041 .mac_ops = &ich8_mac_ops,
6060 .mac_ops = &ich8_mac_ops,
6081 .mac_ops = &ich8_mac_ops,
6102 .mac_ops = &ich8_mac_ops,
6122 .mac_ops = &ich8_mac_ops,
6142 .mac_ops = &ich8_mac_ops,
6162 .mac_ops = &ich8_mac_ops,
6182 .mac_ops = &ich8_mac_ops,
[all …]
H A D80003es2lan.c1408 .mac_ops = &es2_mac_ops,
/linux/drivers/net/ethernet/intel/igb/
H A De1000_hw.h356 struct e1000_mac_operations *mac_ops; member
H A Digb_main.c3284 memcpy(&hw->mac.ops, ei->mac_ops, sizeof(hw->mac.ops)); in igb_probe()
/linux/drivers/net/ethernet/intel/igc/
H A Digc_base.c450 .mac_ops = &igc_mac_ops_base,
H A Digc_main.c7186 memcpy(&hw->mac.ops, ei->mac_ops, sizeof(hw->mac.ops)); in igc_probe()
/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_type.h640 const struct fm10k_mac_ops *mac_ops; member
H A Dfm10k_pci.c1990 memcpy(&hw->mac.ops, fi->mac_ops, sizeof(hw->mac.ops)); in fm10k_sw_init()
/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,
H A Dixgbe_main.c11620 hw->mac.ops = *ii->mac_ops; in ixgbe_probe()