| /linux/drivers/net/ethernet/ti/icssg/ |
| H A D | icssg_prueth.c | 58 static int emac_get_tx_ts(struct prueth_emac *emac, in emac_get_tx_ts() 78 static void tx_ts_work(struct prueth_emac *emac) in tx_ts_work() 125 struct prueth_emac *emac = dev_id; in prueth_tx_ts_irq() local 211 struct prueth_emac *emac; in icssg_enable_fw_offload() local 249 struct prueth_emac *emac; in prueth_emac_common_start() local 316 struct prueth_emac *emac; in prueth_emac_common_stop() local 336 struct prueth_emac *emac = netdev_priv(ndev); in emac_adjust_link() local 402 struct prueth_emac *emac = in emac_rx_timer_callback() local 414 static int emac_phy_connect(struct prueth_emac *emac) in emac_phy_connect() 448 struct prueth_emac *emac = clockops_data; in prueth_iep_gettime() local [all …]
|
| H A D | icssg_ethtool.c | 14 struct prueth_emac *emac = netdev_priv(ndev); in emac_get_drvinfo() local 24 struct prueth_emac *emac = netdev_priv(ndev); in emac_get_msglevel() local 31 struct prueth_emac *emac = netdev_priv(ndev); in emac_set_msglevel() local 71 struct prueth_emac *emac = netdev_priv(ndev); in emac_get_sset_count() local 85 struct prueth_emac *emac = netdev_priv(ndev); in emac_get_strings() local 106 struct prueth_emac *emac = netdev_priv(ndev); in emac_get_ethtool_stats() local 123 struct prueth_emac *emac = netdev_priv(ndev); in emac_get_ts_info() local 141 struct prueth_emac *emac = netdev_priv(ndev); in emac_set_channels() local 160 struct prueth_emac *emac = netdev_priv(ndev); in emac_get_channels() local 190 struct prueth_emac *emac = netdev_priv(ndev); in emac_get_rmon_stats() local [all …]
|
| H A D | icssg_switchdev.c | 22 struct prueth_emac *emac; member 26 static int prueth_switchdev_stp_state_set(struct prueth_emac *emac, in prueth_switchdev_stp_state_set() 53 static int prueth_switchdev_attr_br_flags_set(struct prueth_emac *emac, in prueth_switchdev_attr_br_flags_set() 85 struct prueth_emac *emac = netdev_priv(ndev); in prueth_switchdev_attr_set() local 129 struct prueth_emac *emac = switchdev_work->emac; in prueth_switchdev_event_work() local 183 struct prueth_emac *emac = netdev_priv(ndev); in prueth_switchdev_event() local 230 static int prueth_switchdev_vlan_add(struct prueth_emac *emac, bool untag, bool pvid, in prueth_switchdev_vlan_add() 259 static int prueth_switchdev_vlan_del(struct prueth_emac *emac, u16 vid, in prueth_switchdev_vlan_del() 286 static int prueth_switchdev_vlans_add(struct prueth_emac *emac, in prueth_switchdev_vlans_add() 307 static int prueth_switchdev_vlans_del(struct prueth_emac *emac, in prueth_switchdev_vlans_del() [all …]
|
| H A D | icssg_prueth_sr1.c | 54 static void icssg_config_sr1(struct prueth *prueth, struct prueth_emac *emac, in icssg_config_sr1() 80 static int emac_send_command_sr1(struct prueth_emac *emac, u32 cmd) in emac_send_command_sr1() 153 static void icssg_config_set_speed_sr1(struct prueth_emac *emac) in icssg_config_set_speed_sr1() 175 struct prueth_emac *emac = netdev_priv(ndev); in emac_adjust_link_sr1() local 233 static int emac_phy_connect(struct prueth_emac *emac) in emac_phy_connect() 272 static struct page *prueth_process_rx_mgm(struct prueth_emac *emac, in prueth_process_rx_mgm() 330 static void prueth_tx_ts_sr1(struct prueth_emac *emac, in prueth_tx_ts_sr1() 362 struct prueth_emac *emac = dev_id; in prueth_rx_mgm_ts_thread_sr1() local 377 struct prueth_emac *emac = dev_id; in prueth_rx_mgm_rsp_thread() local 411 static int prueth_emac_start(struct prueth *prueth, struct prueth_emac *emac) in prueth_emac_start() [all …]
|
| H A D | icssg_common.c | 44 void prueth_cleanup_rx_chns(struct prueth_emac *emac, in prueth_cleanup_rx_chns() 61 void prueth_cleanup_tx_chns(struct prueth_emac *emac) in prueth_cleanup_tx_chns() 82 void prueth_ndev_del_tx_napi(struct prueth_emac *emac, int num) in prueth_ndev_del_tx_napi() 96 static int emac_xsk_xmit_zc(struct prueth_emac *emac, in emac_xsk_xmit_zc() 210 int emac_tx_complete_packets(struct prueth_emac *emac, int chn, in emac_tx_complete_packets() 321 struct prueth_emac *emac = tx_chn->emac; in emac_napi_tx_poll() local 358 int prueth_ndev_add_tx_napi(struct prueth_emac *emac) in prueth_ndev_add_tx_napi() 387 int prueth_init_tx_chns(struct prueth_emac *emac) in prueth_init_tx_chns() 468 static struct page_pool *prueth_create_page_pool(struct prueth_emac *emac, in prueth_create_page_pool() 491 int prueth_init_rx_chns(struct prueth_emac *emac, in prueth_init_rx_chns() [all …]
|
| H A D | icssg_config.c | 113 static void icssg_config_mii_init_fw_offload(struct prueth_emac *emac) in icssg_config_mii_init_fw_offload() 140 static void icssg_config_mii_init(struct prueth_emac *emac) in icssg_config_mii_init() 226 void icssg_config_ipg(struct prueth_emac *emac) in icssg_config_ipg() 256 static void emac_r30_cmd_init(struct prueth_emac *emac) in emac_r30_cmd_init() 267 static int emac_r30_is_done(struct prueth_emac *emac) in emac_r30_is_done() 284 static int prueth_fw_offload_buffer_setup(struct prueth_emac *emac) in prueth_fw_offload_buffer_setup() 371 static int prueth_emac_buffer_setup(struct prueth_emac *emac) in prueth_emac_buffer_setup() 509 int icssg_config(struct prueth *prueth, struct prueth_emac *emac, int slice) in icssg_config() 591 int icssg_set_port_state(struct prueth_emac *emac, in icssg_set_port_state() 625 void icssg_config_half_duplex(struct prueth_emac *emac) in icssg_config_half_duplex() [all …]
|
| H A D | icssg_stats.c | 19 void emac_update_hardware_stats(struct prueth_emac *emac) in emac_update_hardware_stats() 68 struct prueth_emac *emac = container_of(work, struct prueth_emac, in icssg_stats_work_handler() local 77 int emac_get_stat_by_name(struct prueth_emac *emac, char *stat_name) in emac_get_stat_by_name()
|
| H A D | icssg_mii_cfg.c | 45 void icssg_update_rgmii_cfg(struct regmap *miig_rt, struct prueth_emac *emac) in icssg_update_rgmii_cfg()
|
| H A D | icssg_prueth.h | 124 struct prueth_emac *emac; member 336 struct prueth_emac *emac[PRUETH_NUM_MACS]; member 389 static inline int prueth_emac_slice(struct prueth_emac *emac) in prueth_emac_slice() 520 static inline bool prueth_xdp_is_enabled(struct prueth_emac *emac) in prueth_xdp_is_enabled()
|
| /linux/drivers/net/ethernet/ti/icssm/ |
| H A D | icssm_prueth.c | 320 static void icssm_prueth_port_enable(struct prueth_emac *emac, bool enable) in icssm_prueth_port_enable() 331 static int icssm_prueth_emac_config(struct prueth_emac *emac) in icssm_prueth_emac_config() 380 struct prueth_emac *emac = netdev_priv(ndev); in icssm_emac_adjust_link() local 486 struct prueth_emac *emac = netdev_priv(ndev); in icssm_emac_rx_irq() local 506 static int icssm_prueth_tx_enqueue(struct prueth_emac *emac, in icssm_prueth_tx_enqueue() 654 int icssm_emac_rx_packet(struct prueth_emac *emac, u16 *bd_rd_ptr, in icssm_emac_rx_packet() 759 static int icssm_emac_rx_packets(struct prueth_emac *emac, int budget) in icssm_emac_rx_packets() 856 struct prueth_emac *emac = container_of(napi, struct prueth_emac, napi); in icssm_emac_napi_poll() local 867 static int icssm_emac_set_boot_pru(struct prueth_emac *emac, in icssm_emac_set_boot_pru() 899 static int icssm_emac_request_irqs(struct prueth_emac *emac) in icssm_emac_request_irqs() [all …]
|
| H A D | icssm_prueth_switch.c | 27 struct prueth_emac *emac; member 526 static int icssm_prueth_sw_insert_fdb_entry(struct prueth_emac *emac, in icssm_prueth_sw_insert_fdb_entry() 627 static int icssm_prueth_sw_delete_fdb_entry(struct prueth_emac *emac, in icssm_prueth_sw_delete_fdb_entry() 701 int icssm_prueth_sw_do_purge_fdb(struct prueth_emac *emac) in icssm_prueth_sw_do_purge_fdb() 767 void icssm_prueth_sw_fdb_add(struct prueth_emac *emac, in icssm_prueth_sw_fdb_add() 780 void icssm_prueth_sw_fdb_del(struct prueth_emac *emac, in icssm_prueth_sw_fdb_del() 790 struct prueth_emac *emac = fdb_work->emac; in icssm_prueth_sw_fdb_work() local 815 int icssm_prueth_sw_learn_fdb(struct prueth_emac *emac, u8 *src_mac) in icssm_prueth_sw_learn_fdb() 834 int icssm_prueth_sw_purge_fdb(struct prueth_emac *emac) in icssm_prueth_sw_purge_fdb() 894 struct prueth_emac *emac; in icssm_prueth_sw_port_config() local [all …]
|
| H A D | icssm_switchdev.c | 23 struct prueth_emac *emac; member 50 struct prueth_emac *emac = netdev_priv(ndev); in icssm_prueth_sw_attr_set() local 100 struct prueth_emac *emac = switchdev_work->emac; in icssm_sw_event_work() local 156 struct prueth_emac *emac = netdev_priv(ndev); in icssm_prueth_sw_switchdev_event() local 210 struct prueth_emac *emac = netdev_priv(ndev); in icssm_prueth_switchdev_obj_add() local 235 struct prueth_emac *emac = netdev_priv(ndev); in icssm_prueth_switchdev_obj_del() local
|
| /linux/net/ethtool/ |
| H A D | stats.c | 528 struct ethtool_eth_mac_stats pmac, emac; in ethtool_aggregate_mac_stats() local 548 struct ethtool_eth_phy_stats pmac, emac; in ethtool_aggregate_phy_stats() local 568 struct ethtool_eth_ctrl_stats pmac, emac; in ethtool_aggregate_ctrl_stats() local 588 struct ethtool_pause_stats pmac, emac; in ethtool_aggregate_pause_stats() local 609 struct ethtool_rmon_stats pmac, emac; in ethtool_aggregate_rmon_stats() local
|
| /linux/drivers/net/ethernet/arc/ |
| H A D | emac_rockchip.c | 28 struct arc_emac_priv emac; member 38 struct rockchip_priv_data *emac = priv; in emac_rockchip_set_mac_speed() local
|
| /linux/arch/mips/boot/dts/loongson/ |
| H A D | loongson1c.dtsi | 60 emac: ethernet@110000 { label
|
| /linux/arch/powerpc/boot/ |
| H A D | treeboot-akebono.c | 72 void *emac; in ibm_akebono_fixups() local
|
| /linux/arch/arm/boot/dts/rockchip/ |
| H A D | rk3xxx.dtsi | 196 emac: ethernet@10204000 { label
|
| H A D | rk3036.dtsi | 231 emac: ethernet@10200000 { label
|
| /linux/arch/arm/boot/dts/allwinner/ |
| H A D | sun8i-v3s.dtsi | 589 emac: ethernet@1c30000 { label
|
| H A D | sun5i.dtsi | 259 emac: ethernet@1c0b000 { label
|
| H A D | sunxi-h3-h5.dtsi | 529 emac: ethernet@1c30000 { label
|
| H A D | sun8i-a83t.dtsi | 1025 emac: ethernet@1c30000 { label
|
| H A D | sun4i-a10.dtsi | 312 emac: ethernet@1c0b000 { label
|
| /linux/arch/riscv/boot/dts/allwinner/ |
| H A D | sunxi-d1s-t113.dtsi | 711 emac: ethernet@4500000 { label
|
| /linux/arch/arm64/boot/dts/allwinner/ |
| H A D | sun50i-h6.dtsi | 651 emac: ethernet@5020000 { label
|