/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_cgx.c | 424 struct mac_ops *mac_ops; in rvu_cgx_enadis_rx_bp() local 434 mac_ops = get_mac_ops(cgxd); in rvu_cgx_enadis_rx_bp() 437 mac_ops->mac_enadis_rx_pause_fwding(cgxd, lmac_id, true); in rvu_cgx_enadis_rx_bp() 439 mac_ops->mac_enadis_rx_pause_fwding(cgxd, lmac_id, false); in rvu_cgx_enadis_rx_bp() 445 struct mac_ops *mac_ops; in rvu_cgx_config_rxtx() local 454 mac_ops = get_mac_ops(cgxd); in rvu_cgx_config_rxtx() 456 return mac_ops->mac_rx_tx_enable(cgxd, lmac_id, start); in rvu_cgx_config_rxtx() 461 struct mac_ops *mac_ops; in rvu_cgx_config_tx() local 463 mac_ops = get_mac_ops(cgxd); in rvu_cgx_config_tx() 464 return mac_ops->mac_tx_enable(cgxd, lmac_id, enable); in rvu_cgx_config_tx() [all …]
|
D | cgx.c | 102 struct mac_ops *get_mac_ops(void *cgxd) in get_mac_ops() 107 return ((struct cgx *)cgxd)->mac_ops; in get_mac_ops() 112 writeq(val, cgx->reg_base + (lmac << cgx->mac_ops->lmac_offset) + in cgx_write() 118 return readq(cgx->reg_base + (lmac << cgx->mac_ops->lmac_offset) + in cgx_read() 239 struct mac_ops *mac_ops; in cgx_lmac_addr_set() local 244 mac_ops = cgx_dev->mac_ops; in cgx_lmac_addr_set() 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() [all …]
|
D | lmac_common.h | 53 struct mac_ops { struct 136 struct mac_ops *mac_ops; argument 153 struct mac_ops *rpm_get_mac_ops(void);
|
D | rpm.c | 11 static struct mac_ops rpm_mac_ops = { 40 struct mac_ops *rpm_get_mac_ops(void) in rpm_get_mac_ops() 301 idx += lmac_id * rpm->mac_ops->rx_stats_cnt; in rpm_get_rx_stats() 329 idx += lmac_id * rpm->mac_ops->tx_stats_cnt; in rpm_get_tx_stats() 361 fifo_len = rpm->mac_ops->fifo_len; in rpm_get_lmac_fifo_len() 362 num_lmacs = rpm->mac_ops->get_nr_lmacs(rpm); in rpm_get_lmac_fifo_len() 391 lmac_type = rpm->mac_ops->get_lmac_type(rpm, lmac_id); in rpm_lmac_internal_loopback()
|
D | cgx.h | 43 #define CGXX_CMRX_RX_DMAC_CTL0 (0x1F8 + mac_ops->csr_offset) 49 #define CGXX_CMRX_RX_DMAC_CAM0 (0x200 + mac_ops->csr_offset) 172 struct mac_ops *get_mac_ops(void *cgxd);
|
D | rvu_debugfs.c | 845 struct mac_ops *mac_ops; in rvu_dbg_rvu_pf_cgx_map_display() local 853 mac_ops = get_mac_ops(rvu_first_cgx_pdata(rvu)); in rvu_dbg_rvu_pf_cgx_map_display() 855 if (!mac_ops) in rvu_dbg_rvu_pf_cgx_map_display() 858 mac_ops->name); in rvu_dbg_rvu_pf_cgx_map_display() 879 sprintf(cgx, "%s%d", mac_ops->name, cgx_id); in rvu_dbg_rvu_pf_cgx_map_display() 2393 struct mac_ops *mac_ops; in cgx_print_stats() local 2405 mac_ops = get_mac_ops(cgxd); in cgx_print_stats() 2407 if (!mac_ops) in cgx_print_stats() 2420 mac_ops->name); in cgx_print_stats() 2443 mac_ops->name); in cgx_print_stats() [all …]
|
/linux-6.1.9/drivers/net/ethernet/intel/ixgbevf/ |
D | vf.c | 1037 .mac_ops = &ixgbevf_mac_ops, 1042 .mac_ops = &ixgbevf_hv_mac_ops, 1047 .mac_ops = &ixgbevf_mac_ops, 1052 .mac_ops = &ixgbevf_hv_mac_ops, 1057 .mac_ops = &ixgbevf_mac_ops, 1062 .mac_ops = &ixgbevf_hv_mac_ops, 1067 .mac_ops = &ixgbevf_mac_ops, 1072 .mac_ops = &ixgbevf_hv_mac_ops, 1077 .mac_ops = &ixgbevf_mac_ops,
|
D | vf.h | 150 const struct ixgbe_mac_operations *mac_ops; member
|
/linux-6.1.9/drivers/net/ethernet/apm/xgene/ |
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()
|
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()
|
D | xgene_enet_main.c | 296 pdata->mac_ops->set_mss(pdata, mss, i); in xgene_enet_setup_mss() 870 pdata->mac_ops->reset(pdata); in xgene_enet_timeout() 994 const struct xgene_mac_ops *mac_ops = pdata->mac_ops; in xgene_enet_open() local 1019 mac_ops->tx_enable(pdata); in xgene_enet_open() 1020 mac_ops->rx_enable(pdata); in xgene_enet_open() 1029 const struct xgene_mac_ops *mac_ops = pdata->mac_ops; in xgene_enet_close() local 1033 mac_ops->tx_disable(pdata); in xgene_enet_close() 1034 mac_ops->rx_disable(pdata); in xgene_enet_close() 1517 pdata->mac_ops->set_mac_addr(pdata); in xgene_enet_set_mac_address() 1534 pdata->mac_ops->set_framesize(pdata, frame_size); in xgene_change_mtu() [all …]
|
D | xgene_enet_main.h | 218 const struct xgene_mac_ops *mac_ops; member
|
D | xgene_enet_xgmac.c | 282 pdata->mac_ops->enable_tx_pause(pdata, enable); in xgene_xgmac_flowctl_tx()
|
D | xgene_enet_sgmac.c | 321 p->mac_ops->enable_tx_pause(p, enable); in xgene_sgmac_flowctl_tx()
|
/linux-6.1.9/drivers/net/phy/ |
D | phylink.c | 45 const struct phylink_mac_ops *mac_ops; member 602 pcs = pl->mac_ops->mac_select_pcs(pl->config, state->interface); in phylink_validate_mac_and_pcs() 636 pl->mac_ops->validate(pl->config, supported, state); in phylink_validate_mac_and_pcs() 975 pl->mac_ops->mac_config(pl->config, pl->cur_link_an_mode, state); in phylink_mac_config() 986 pl->mac_ops->mac_an_restart(pl->config); in phylink_mac_pcs_an_restart() 1000 pcs = pl->mac_ops->mac_select_pcs(pl->config, state->interface); in phylink_major_config() 1013 if (pl->mac_ops->mac_prepare) { in phylink_major_config() 1014 err = pl->mac_ops->mac_prepare(pl->config, pl->cur_link_an_mode, in phylink_major_config() 1046 if (pl->mac_ops->mac_finish) { in phylink_major_config() 1047 err = pl->mac_ops->mac_finish(pl->config, pl->cur_link_an_mode, in phylink_major_config() [all …]
|
/linux-6.1.9/drivers/net/ethernet/intel/e1000e/ |
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,
|
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, 6040 .mac_ops = &ich8_mac_ops,
|
D | e1000.h | 344 const struct e1000_mac_operations *mac_ops; member
|
/linux-6.1.9/drivers/net/ethernet/intel/igc/ |
D | igc_base.c | 417 .mac_ops = &igc_mac_ops_base,
|
D | igc_hw.h | 69 struct igc_mac_operations *mac_ops; member
|
/linux-6.1.9/include/linux/ |
D | phylink.h | 567 const struct phylink_mac_ops *mac_ops);
|
/linux-6.1.9/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_vf.c | 531 .mac_ops = &mac_ops_vf,
|
D | fm10k_type.h | 640 const struct fm10k_mac_ops *mac_ops; member
|
/linux-6.1.9/drivers/net/ethernet/intel/igb/ |
D | e1000_hw.h | 356 struct e1000_mac_operations *mac_ops; member
|
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_x550.c | 4104 .mac_ops = &mac_ops_X550, 4114 .mac_ops = &mac_ops_X550EM_x, 4125 .mac_ops = &mac_ops_X550EM_x_fw, 4135 .mac_ops = &mac_ops_x550em_a, 4145 .mac_ops = &mac_ops_x550em_a_fw,
|