Home
last modified time | relevance | path

Searched refs:mac_device_info (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac100_core.c22 static void dwmac100_core_init(struct mac_device_info *hw, in dwmac100_core_init()
37 static void dwmac100_dump_mac_regs(struct mac_device_info *hw, u32 *reg_space) in dwmac100_dump_mac_regs()
51 static int dwmac100_rx_ipc_enable(struct mac_device_info *hw) in dwmac100_rx_ipc_enable()
62 static void dwmac100_set_umac_addr(struct mac_device_info *hw, in dwmac100_set_umac_addr()
70 static void dwmac100_get_umac_addr(struct mac_device_info *hw, in dwmac100_get_umac_addr()
78 static void dwmac100_set_filter(struct mac_device_info *hw, in dwmac100_set_filter()
127 static void dwmac100_flow_ctrl(struct mac_device_info *hw, unsigned int duplex, in dwmac100_flow_ctrl()
140 static void dwmac100_pmt(struct mac_device_info *hw, unsigned long mode) in dwmac100_pmt()
173 struct mac_device_info *mac = priv->hw; in dwmac100_setup()
H A Dhwif.h304 struct mac_device_info;
322 void (*core_init)(struct mac_device_info *hw, struct net_device *dev);
326 void (*irq_modify)(struct mac_device_info *hw, u32 disable, u32 enable);
330 int (*rx_ipc)(struct mac_device_info *hw);
332 void (*rx_queue_enable)(struct mac_device_info *hw, u8 mode, u32 queue);
334 void (*rx_queue_prio)(struct mac_device_info *hw, u32 prio, u32 queue);
336 void (*tx_queue_prio)(struct mac_device_info *hw, u32 prio, u32 queue);
338 void (*rx_queue_routing)(struct mac_device_info *hw, u8 packet,
341 void (*prog_mtl_rx_algorithms)(struct mac_device_info *hw, u32 rx_alg);
343 void (*prog_mtl_tx_algorithms)(struct mac_device_info *hw, u32 tx_alg);
[all …]
H A Ddwmac4_core.c34 static void dwmac4_core_init(struct mac_device_info *hw, in dwmac4_core_init()
56 static void dwmac4_irq_modify(struct mac_device_info *hw, u32 disable, in dwmac4_irq_modify()
78 static void dwmac4_rx_queue_enable(struct mac_device_info *hw, in dwmac4_rx_queue_enable()
93 static void dwmac4_rx_queue_priority(struct mac_device_info *hw, in dwmac4_rx_queue_priority()
134 static void dwmac4_tx_queue_priority(struct mac_device_info *hw, in dwmac4_tx_queue_priority()
154 static void dwmac4_rx_queue_routing(struct mac_device_info *hw, in dwmac4_rx_queue_routing()
187 static void dwmac4_prog_mtl_rx_algorithms(struct mac_device_info *hw, in dwmac4_prog_mtl_rx_algorithms()
208 static void dwmac4_prog_mtl_tx_algorithms(struct mac_device_info *hw, in dwmac4_prog_mtl_tx_algorithms()
236 struct mac_device_info *hw, in dwmac4_set_mtl_tx_queue_weight()
249 static void dwmac4_map_mtl_dma(struct mac_device_info *hw, u32 queue, u32 chan) in dwmac4_map_mtl_dma()
[all …]
H A Ddwxgmac2_core.c17 static void dwxgmac2_core_init(struct mac_device_info *hw, in dwxgmac2_core_init()
31 static void dwxgmac2_irq_modify(struct mac_device_info *hw, u32 disable, in dwxgmac2_irq_modify()
68 static int dwxgmac2_rx_ipc(struct mac_device_info *hw) in dwxgmac2_rx_ipc()
83 static void dwxgmac2_rx_queue_enable(struct mac_device_info *hw, u8 mode, in dwxgmac2_rx_queue_enable()
97 static void dwxgmac2_rx_queue_prio(struct mac_device_info *hw, u32 prio, in dwxgmac2_rx_queue_prio()
138 static void dwxgmac2_tx_queue_prio(struct mac_device_info *hw, u32 prio, in dwxgmac2_tx_queue_prio()
155 static void dwxgmac2_rx_queue_routing(struct mac_device_info *hw, in dwxgmac2_rx_queue_routing()
185 static void dwxgmac2_prog_mtl_rx_algorithms(struct mac_device_info *hw, in dwxgmac2_prog_mtl_rx_algorithms()
207 static void dwxgmac2_prog_mtl_tx_algorithms(struct mac_device_info *hw, in dwxgmac2_prog_mtl_tx_algorithms()
246 struct mac_device_info *hw, in dwxgmac2_set_mtl_tx_queue_weight()
[all …]
H A Dstmmac_vlan.c23 struct mac_device_info *hw, in vlan_write_filter()
55 struct mac_device_info *hw, in vlan_add_hw_rx_fltr()
114 struct mac_device_info *hw, in vlan_del_hw_rx_fltr()
149 struct mac_device_info *hw) in vlan_restore_hw_rx_fltr()
164 static void vlan_update_hash(struct mac_device_info *hw, u32 hash, in vlan_update_hash()
211 static void vlan_enable(struct mac_device_info *hw, u32 type) in vlan_enable()
224 static void vlan_rx_hw(struct mac_device_info *hw, in vlan_rx_hw()
234 static void vlan_set_hw_mode(struct mac_device_info *hw) in vlan_set_hw_mode()
253 static void dwxgmac2_update_vlan_hash(struct mac_device_info *hw, u32 hash, in dwxgmac2_update_vlan_hash()
H A Ddwmac1000_core.c35 static void dwmac1000_core_init(struct mac_device_info *hw, in dwmac1000_core_init()
61 static void dwmac1000_irq_modify(struct mac_device_info *hw, u32 disable, in dwmac1000_irq_modify()
75 static int dwmac1000_rx_ipc_enable(struct mac_device_info *hw) in dwmac1000_rx_ipc_enable()
92 static void dwmac1000_dump_regs(struct mac_device_info *hw, u32 *reg_space) in dwmac1000_dump_regs()
101 static void dwmac1000_set_umac_addr(struct mac_device_info *hw, in dwmac1000_set_umac_addr()
110 static void dwmac1000_get_umac_addr(struct mac_device_info *hw, in dwmac1000_get_umac_addr()
144 static void dwmac1000_set_filter(struct mac_device_info *hw, in dwmac1000_set_filter()
223 static void dwmac1000_flow_ctrl(struct mac_device_info *hw, unsigned int duplex, in dwmac1000_flow_ctrl()
251 static void dwmac1000_pmt(struct mac_device_info *hw, unsigned long mode) in dwmac1000_pmt()
313 static int dwmac1000_set_lpi_mode(struct mac_device_info *hw, in dwmac1000_set_lpi_mode()
[all …]
H A Ddwmac-sun8i.c335 static void sun8i_dwmac_dump_mac_regs(struct mac_device_info *hw, in sun8i_dwmac_dump_mac_regs()
603 static void sun8i_dwmac_core_init(struct mac_device_info *hw, in sun8i_dwmac_core_init()
634 static void sun8i_dwmac_set_umac_addr(struct mac_device_info *hw, in sun8i_dwmac_set_umac_addr()
655 static void sun8i_dwmac_get_umac_addr(struct mac_device_info *hw, in sun8i_dwmac_get_umac_addr()
666 static int sun8i_dwmac_rx_ipc_enable(struct mac_device_info *hw) in sun8i_dwmac_rx_ipc_enable()
678 static void sun8i_dwmac_set_filter(struct mac_device_info *hw, in sun8i_dwmac_set_filter()
719 static void sun8i_dwmac_flow_ctrl(struct mac_device_info *hw, in sun8i_dwmac_flow_ctrl()
1043 static int sun8i_dwmac_setup(void *ppriv, struct mac_device_info *mac) in sun8i_dwmac_setup()
H A Dhwif.c56 struct mac_device_info *mac = priv->hw; in stmmac_dwmac_mode_quirk()
71 struct mac_device_info *mac = priv->hw; in stmmac_dwmac1_quirks()
329 struct mac_device_info *mac; in stmmac_hwif_init()
H A Dcommon.h584 struct mac_device_info;
618 struct mac_device_info { struct
H A Dstmmac.h266 struct mac_device_info *hw;
H A Ddwmac-loongson.c305 static int loongson_dwmac_setup(void *apriv, struct mac_device_info *mac) in loongson_dwmac_setup()
/linux/include/linux/
H A Dstmmac.h196 struct mac_device_info;
272 int (*mac_setup)(void *priv, struct mac_device_info *mac);
/linux/Documentation/networking/device_drivers/ethernet/stmicro/
H A Dstmmac.rst450 struct mac_device_info *(*setup)(void *priv);