Home
last modified time | relevance | path

Searched defs:emac (Results 1 – 21 of 21) sorted by relevance

/linux/drivers/net/ethernet/ti/icssg/
H A Dicssg_prueth.c58 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 Dicssg_ethtool.c14 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 Dicssg_switchdev.c22 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 Dicssg_common.c44 void prueth_cleanup_rx_chns(struct prueth_emac *emac, in prueth_cleanup_rx_chns() argument
61 void prueth_cleanup_tx_chns(struct prueth_emac *emac) in prueth_cleanup_tx_chns() argument
82 void prueth_ndev_del_tx_napi(struct prueth_emac *emac, int num) in prueth_ndev_del_tx_napi() argument
96 static int emac_xsk_xmit_zc(struct prueth_emac *emac, in emac_xsk_xmit_zc() argument
210 emac_tx_complete_packets(struct prueth_emac * emac,int chn,int budget,bool * tdown) emac_tx_complete_packets() argument
321 struct prueth_emac *emac = tx_chn->emac; emac_napi_tx_poll() local
358 prueth_ndev_add_tx_napi(struct prueth_emac * emac) prueth_ndev_add_tx_napi() argument
387 prueth_init_tx_chns(struct prueth_emac * emac) prueth_init_tx_chns() argument
468 prueth_create_page_pool(struct prueth_emac * emac,struct device * dma_dev,int size) prueth_create_page_pool() argument
491 prueth_init_rx_chns(struct prueth_emac * emac,struct prueth_rx_chn * rx_chn,char * name,u32 max_rflows,u32 max_desc_num) prueth_init_rx_chns() argument
610 prueth_dma_rx_push_mapped(struct prueth_emac * emac,struct prueth_rx_chn * rx_chn,struct page * page,u32 buf_len) prueth_dma_rx_push_mapped() argument
658 emac_rx_timestamp(struct prueth_emac * emac,struct sk_buff * skb,u32 * psdata) emac_rx_timestamp() argument
687 emac_xmit_xdp_frame(struct prueth_emac * emac,struct xdp_frame * xdpf,unsigned int q_idx,enum prueth_tx_buff_type buff_type) emac_xmit_xdp_frame() argument
779 emac_run_xdp(struct prueth_emac * emac,struct xdp_buff * xdp,u32 * len) emac_run_xdp() argument
836 prueth_dma_rx_push_mapped_zc(struct prueth_emac * emac,struct prueth_rx_chn * rx_chn,struct xdp_buff * xdp) prueth_dma_rx_push_mapped_zc() argument
868 prueth_rx_alloc_zc(struct prueth_emac * emac,int budget) prueth_rx_alloc_zc() argument
890 emac_dispatch_skb_zc(struct prueth_emac * emac,struct xdp_buff * xdp,u32 * psdata) emac_dispatch_skb_zc() argument
921 emac_rx_packet_zc(struct prueth_emac * emac,u32 flow_id,int budget) emac_rx_packet_zc() argument
1014 emac_rx_packet(struct prueth_emac * emac,u32 flow_id,u32 * xdp_state) emac_rx_packet() argument
1154 prueth_tx_ts_cookie_get(struct prueth_emac * emac) prueth_tx_ts_cookie_get() argument
1184 struct prueth_emac *emac = netdev_priv(ndev); icssg_ndo_start_xmit() local
1391 struct prueth_emac *emac = dev_id; prueth_rx_irq() local
1401 prueth_cleanup_tx_ts(struct prueth_emac * emac) prueth_cleanup_tx_ts() argument
1416 struct prueth_emac *emac = prueth_napi_to_emac(napi_rx); icssg_napi_rx_poll() local
1468 prueth_prepare_rx_chan(struct prueth_emac * emac,struct prueth_rx_chn * chn,int buf_size) prueth_prepare_rx_chan() argument
1522 prueth_reset_tx_chan(struct prueth_emac * emac,int ch_num,bool free_skb) prueth_reset_tx_chan() argument
1560 struct prueth_emac *emac = netdev_priv(ndev); icssg_ndo_set_ts_config() local
1606 struct prueth_emac *emac = netdev_priv(ndev); icssg_ndo_get_ts_config() local
1619 struct prueth_emac *emac = netdev_priv(ndev); icssg_ndo_get_stats64() local
1659 struct prueth_emac *emac = netdev_priv(ndev); icssg_ndo_get_phys_port_name() local
1711 struct prueth_emac *emac; prueth_netdev_exit() local
[all...]
H A Dicssg_config.c113 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 Dicssg_stats.c19 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 Dicssg_mii_cfg.c45 void icssg_update_rgmii_cfg(struct regmap *miig_rt, struct prueth_emac *emac) in icssg_update_rgmii_cfg()
/linux/drivers/net/ethernet/ti/icssm/
H A Dicssm_prueth_switch.c27 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 Dicssm_switchdev.c23 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 Dstats.c528 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/arch/mips/boot/dts/loongson/
H A Dloongson1c.dtsi60 emac: ethernet@110000 { label
/linux/arch/powerpc/boot/
H A Dtreeboot-akebono.c72 void *emac; in ibm_akebono_fixups() local
/linux/arch/arm/boot/dts/rockchip/
H A Drk3xxx.dtsi196 emac: ethernet@10204000 { label
/linux/arch/arm/boot/dts/allwinner/
H A Dsun8i-v3s.dtsi589 emac: ethernet@1c30000 { label
H A Dsun5i.dtsi259 emac: ethernet@1c0b000 { label
H A Dsunxi-h3-h5.dtsi529 emac: ethernet@1c30000 { label
H A Dsun8i-a83t.dtsi1025 emac: ethernet@1c30000 { label
H A Dsun4i-a10.dtsi312 emac: ethernet@1c0b000 { label
H A Dsun7i-a20.dtsi388 emac: ethernet@1c0b000 { label
/linux/arch/arm64/boot/dts/allwinner/
H A Dsun50i-h6.dtsi651 emac: ethernet@5020000 { label
/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_macsec.c38 static void aq_ether_addr_to_mac(u32 mac[2], const unsigned char *emac) in aq_ether_addr_to_mac()