| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| 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 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 D | lmac_common.h | 55 struct mac_ops { struct 156 struct mac_ops *mac_ops; member 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_debugfs.c | 822 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 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_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/ixgbevf/ |
| H A D | vf.c | 1155 .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 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/phy/ |
| H A D | phylink.c | 43 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 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 | 6007 .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 D | 80003es2lan.c | 1408 .mac_ops = &es2_mac_ops,
|
| /linux/drivers/net/ethernet/intel/igb/ |
| H A D | e1000_hw.h | 356 struct e1000_mac_operations *mac_ops; member
|
| H A D | igb_main.c | 3284 memcpy(&hw->mac.ops, ei->mac_ops, sizeof(hw->mac.ops)); in igb_probe()
|
| /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 | 7186 memcpy(&hw->mac.ops, ei->mac_ops, sizeof(hw->mac.ops)); in igc_probe()
|
| /linux/drivers/net/ethernet/intel/fm10k/ |
| H A D | fm10k_type.h | 640 const struct fm10k_mac_ops *mac_ops; member
|
| H A D | fm10k_pci.c | 1990 memcpy(&hw->mac.ops, fi->mac_ops, sizeof(hw->mac.ops)); in fm10k_sw_init()
|
| /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,
|
| H A D | ixgbe_main.c | 11620 hw->mac.ops = *ii->mac_ops; in ixgbe_probe()
|