Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_cgx.c424 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 …]
Dcgx.c102 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 …]
Dlmac_common.h53 struct mac_ops { struct
136 struct mac_ops *mac_ops; member
153 struct mac_ops *rpm_get_mac_ops(void);
Drpm.c11 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()
Dcgx.h43 #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);
Drvu_debugfs.c845 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/
Dvf.c1037 .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,
Dvf.h150 const struct ixgbe_mac_operations *mac_ops; member
/linux-6.1.9/drivers/net/ethernet/apm/xgene/
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()
Dxgene_enet_hw.c543 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()
Dxgene_enet_main.c296 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 …]
Dxgene_enet_main.h218 const struct xgene_mac_ops *mac_ops; member
Dxgene_enet_xgmac.c282 pdata->mac_ops->enable_tx_pause(pdata, enable); in xgene_xgmac_flowctl_tx()
Dxgene_enet_sgmac.c321 p->mac_ops->enable_tx_pause(p, enable); in xgene_sgmac_flowctl_tx()
/linux-6.1.9/drivers/net/phy/
Dphylink.c45 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/
D82571.c1963 .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,
Dich8lan.c5865 .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,
De1000.h344 const struct e1000_mac_operations *mac_ops; member
/linux-6.1.9/drivers/net/ethernet/intel/igc/
Digc_base.c417 .mac_ops = &igc_mac_ops_base,
Digc_hw.h69 struct igc_mac_operations *mac_ops; member
/linux-6.1.9/include/linux/
Dphylink.h567 const struct phylink_mac_ops *mac_ops);
/linux-6.1.9/drivers/net/ethernet/intel/fm10k/
Dfm10k_vf.c531 .mac_ops = &mac_ops_vf,
Dfm10k_type.h640 const struct fm10k_mac_ops *mac_ops; member
/linux-6.1.9/drivers/net/ethernet/intel/igb/
De1000_hw.h356 struct e1000_mac_operations *mac_ops; member
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/
Dixgbe_x550.c4104 .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,

12