Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/qualcomm/emac/
A 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);
22 void (*reset)(struct emac_adapter *adpt);
42 int emac_sgmii_init_fsm9900(struct emac_adapter *adpt);
43 int emac_sgmii_init_qdf2432(struct emac_adapter *adpt);
46 int emac_sgmii_init(struct emac_adapter *adpt);
47 int emac_sgmii_open(struct emac_adapter *adpt);
48 void emac_sgmii_close(struct emac_adapter *adpt);
[all …]
A 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);
230 netdev_tx_t emac_mac_tx_buf_send(struct emac_adapter *adpt,
235 struct emac_adapter *adpt);
236 int emac_mac_rx_tx_rings_alloc_all(struct emac_adapter *adpt);
237 void emac_mac_rx_tx_rings_free_all(struct emac_adapter *adpt);
[all …]
A Demac.c81 int emac_reinit_locked(struct emac_adapter *adpt) in emac_reinit_locked()
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()
390 struct emac_adapter *adpt = in emac_work_thread()
435 struct emac_adapter *adpt) in emac_clks_get()
458 struct emac_adapter *adpt) in emac_clks_phase1_init()
500 struct emac_adapter *adpt) in emac_clks_phase2_init()
545 struct emac_adapter *adpt) in emac_probe_resources()
[all …]
A 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()
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()
212 static int emac_sgmii_common_open(struct emac_adapter *adpt) in emac_sgmii_common_open()
[all …]
A 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()
138 struct emac_adapter *adpt = netdev_priv(netdev); in emac_get_ringparam()
149 struct emac_adapter *adpt = netdev_priv(netdev); in emac_set_ringparam()
172 struct emac_adapter *adpt = netdev_priv(netdev); in emac_get_pauseparam()
182 struct emac_adapter *adpt = netdev_priv(netdev); in emac_set_pauseparam()
215 struct emac_adapter *adpt = netdev_priv(netdev); in emac_get_regs()
235 struct emac_adapter *adpt = netdev_priv(netdev); in emac_set_priv_flags()
247 struct emac_adapter *adpt = netdev_priv(netdev); in emac_get_priv_flags()
A Demac-mac.c281 void emac_mac_mode_config(struct emac_adapter *adpt) in emac_mac_mode_config()
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()
481 static void emac_mac_start(struct emac_adapter *adpt) in emac_mac_start()
576 void emac_mac_stop(struct emac_adapter *adpt) in emac_mac_stop()
916 struct emac_adapter *adpt = netdev_priv(netdev); in emac_adjust_link()
931 int emac_mac_up(struct emac_adapter *adpt) in emac_mac_up()
963 void emac_mac_down(struct emac_adapter *adpt) in emac_mac_down()
1216 struct emac_adapter *adpt) in emac_mac_rx_tx_ring_init_all()
1245 static int emac_tso_csum(struct emac_adapter *adpt, in emac_tso_csum()
[all …]
A Demac-phy.h8 struct emac_adapter;
10 int emac_phy_config(struct platform_device *pdev, struct emac_adapter *adpt);
A 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()
A 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);
A Demac-sgmii-qdf2432.c160 int emac_sgmii_init_qdf2432(struct emac_adapter *adpt) in emac_sgmii_init_qdf2432()
A Demac-sgmii-qdf2400.c173 int emac_sgmii_init_qdf2400(struct emac_adapter *adpt) in emac_sgmii_init_qdf2400()
A Demac-sgmii-fsm9900.c207 int emac_sgmii_init_fsm9900(struct emac_adapter *adpt) in emac_sgmii_init_fsm9900()

Completed in 25 milliseconds