Home
last modified time | relevance | path

Searched refs:emac_adapter (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/qualcomm/emac/
Demac-sgmii.h8 struct emac_adapter;
18 int (*init)(struct emac_adapter *adpt);
19 int (*open)(struct emac_adapter *adpt);
20 void (*close)(struct emac_adapter *adpt);
21 int (*link_change)(struct emac_adapter *adpt, bool link_state);
22 void (*reset)(struct emac_adapter *adpt);
40 int emac_sgmii_config(struct platform_device *pdev, struct emac_adapter *adpt);
42 int emac_sgmii_init_fsm9900(struct emac_adapter *adpt);
43 int emac_sgmii_init_qdf2432(struct emac_adapter *adpt);
44 int emac_sgmii_init_qdf2400(struct emac_adapter *adpt);
[all …]
Demac-mac.h221 struct emac_adapter;
223 int emac_mac_up(struct emac_adapter *adpt);
224 void emac_mac_down(struct emac_adapter *adpt);
225 void emac_mac_reset(struct emac_adapter *adpt);
226 void emac_mac_stop(struct emac_adapter *adpt);
227 void emac_mac_mode_config(struct emac_adapter *adpt);
228 void emac_mac_rx_process(struct emac_adapter *adpt, struct emac_rx_queue *rx_q,
230 netdev_tx_t emac_mac_tx_buf_send(struct emac_adapter *adpt,
233 void emac_mac_tx_process(struct emac_adapter *adpt, struct emac_tx_queue *tx_q);
235 struct emac_adapter *adpt);
[all …]
Demac.c81 int emac_reinit_locked(struct emac_adapter *adpt) in emac_reinit_locked()
101 struct emac_adapter *adpt = netdev_priv(rx_q->netdev); in emac_napi_rtx()
121 struct emac_adapter *adpt = netdev_priv(netdev); in emac_start_xmit()
129 struct emac_adapter *adpt = in emac_isr()
130 container_of(irq, struct emac_adapter, irq); in emac_isr()
179 struct emac_adapter *adpt = netdev_priv(netdev); in emac_set_features()
201 struct emac_adapter *adpt = netdev_priv(netdev); in emac_rx_mode_set()
215 struct emac_adapter *adpt = netdev_priv(netdev); in emac_change_mtu()
231 struct emac_adapter *adpt = netdev_priv(netdev); in emac_open()
270 struct emac_adapter *adpt = netdev_priv(netdev); in emac_close()
[all …]
Demac-ethtool.c68 struct emac_adapter *adpt = netdev_priv(netdev); in emac_get_msglevel()
75 struct emac_adapter *adpt = netdev_priv(netdev); in emac_set_msglevel()
115 struct emac_adapter *adpt = netdev_priv(netdev); in emac_get_ethtool_stats()
140 struct emac_adapter *adpt = netdev_priv(netdev); in emac_get_ringparam()
153 struct emac_adapter *adpt = netdev_priv(netdev); in emac_set_ringparam()
176 struct emac_adapter *adpt = netdev_priv(netdev); in emac_get_pauseparam()
186 struct emac_adapter *adpt = netdev_priv(netdev); in emac_set_pauseparam()
219 struct emac_adapter *adpt = netdev_priv(netdev); in emac_get_regs()
239 struct emac_adapter *adpt = netdev_priv(netdev); in emac_set_priv_flags()
251 struct emac_adapter *adpt = netdev_priv(netdev); in emac_get_priv_flags()
Demac-sgmii.c48 int emac_sgmii_init(struct emac_adapter *adpt) in emac_sgmii_init()
56 int emac_sgmii_open(struct emac_adapter *adpt) in emac_sgmii_open()
64 void emac_sgmii_close(struct emac_adapter *adpt) in emac_sgmii_close()
72 int emac_sgmii_link_change(struct emac_adapter *adpt, bool link_state) in emac_sgmii_link_change()
80 void emac_sgmii_reset(struct emac_adapter *adpt) in emac_sgmii_reset()
89 static void emac_sgmii_link_init(struct emac_adapter *adpt) in emac_sgmii_link_init()
103 static int emac_sgmii_irq_clear(struct emac_adapter *adpt, u8 irq_bits) in emac_sgmii_irq_clear()
141 struct emac_adapter *adpt = data; in emac_sgmii_interrupt()
179 static void emac_sgmii_reset_prepare(struct emac_adapter *adpt) in emac_sgmii_reset_prepare()
198 static void emac_sgmii_common_reset(struct emac_adapter *adpt) in emac_sgmii_common_reset()
[all …]
Demac-mac.c249 void emac_mac_multicast_addr_set(struct emac_adapter *adpt, u8 *addr) in emac_mac_multicast_addr_set()
268 void emac_mac_multicast_addr_clear(struct emac_adapter *adpt) in emac_mac_multicast_addr_clear()
281 void emac_mac_mode_config(struct emac_adapter *adpt) in emac_mac_mode_config()
302 static void emac_mac_dma_rings_config(struct emac_adapter *adpt) in emac_mac_dma_rings_config()
340 static void emac_mac_tx_config(struct emac_adapter *adpt) in emac_mac_tx_config()
360 static void emac_mac_rx_config(struct emac_adapter *adpt) in emac_mac_rx_config()
391 static void emac_mac_dma_config(struct emac_adapter *adpt) in emac_mac_dma_config()
423 static void emac_set_mac_address(struct emac_adapter *adpt, const u8 *addr) in emac_set_mac_address()
441 static void emac_mac_config(struct emac_adapter *adpt) in emac_mac_config()
470 void emac_mac_reset(struct emac_adapter *adpt) in emac_mac_reset()
[all …]
Demac-phy.h8 struct emac_adapter;
10 int emac_phy_config(struct platform_device *pdev, struct emac_adapter *adpt);
Demac-phy.c46 struct emac_adapter *adpt = bus->priv; in emac_mdio_read()
69 struct emac_adapter *adpt = bus->priv; in emac_mdio_write()
92 int emac_phy_config(struct platform_device *pdev, struct emac_adapter *adpt) in emac_phy_config()
Demac.h325 struct emac_adapter { struct
380 int emac_reinit_locked(struct emac_adapter *adpt); argument
384 void emac_update_hw_stats(struct emac_adapter *adpt);
Demac-sgmii-qdf2432.c160 int emac_sgmii_init_qdf2432(struct emac_adapter *adpt) in emac_sgmii_init_qdf2432()
Demac-sgmii-qdf2400.c173 int emac_sgmii_init_qdf2400(struct emac_adapter *adpt) in emac_sgmii_init_qdf2400()
Demac-sgmii-fsm9900.c207 int emac_sgmii_init_fsm9900(struct emac_adapter *adpt) in emac_sgmii_init_fsm9900()