Lines Matching refs:atl1e_adapter
34 static void atl1e_setup_mac_ctrl(struct atl1e_adapter *adapter);
79 static inline void atl1e_irq_enable(struct atl1e_adapter *adapter) in atl1e_irq_enable()
92 static inline void atl1e_irq_disable(struct atl1e_adapter *adapter) in atl1e_irq_disable()
104 static inline void atl1e_irq_reset(struct atl1e_adapter *adapter) in atl1e_irq_reset()
118 struct atl1e_adapter *adapter = from_timer(adapter, t, in atl1e_phy_config()
128 void atl1e_reinit_locked(struct atl1e_adapter *adapter) in atl1e_reinit_locked()
139 struct atl1e_adapter *adapter; in atl1e_reset_task()
140 adapter = container_of(work, struct atl1e_adapter, reset_task); in atl1e_reset_task()
145 static int atl1e_check_link(struct atl1e_adapter *adapter) in atl1e_check_link()
201 struct atl1e_adapter *adapter; in atl1e_link_chg_task()
204 adapter = container_of(work, struct atl1e_adapter, link_chg_task); in atl1e_link_chg_task()
210 static void atl1e_link_chg_event(struct atl1e_adapter *adapter) in atl1e_link_chg_event()
233 static void atl1e_del_timer(struct atl1e_adapter *adapter) in atl1e_del_timer()
238 static void atl1e_cancel_work(struct atl1e_adapter *adapter) in atl1e_cancel_work()
251 struct atl1e_adapter *adapter = netdev_priv(netdev); in atl1e_tx_timeout()
268 struct atl1e_adapter *adapter = netdev_priv(netdev); in atl1e_set_multi()
314 struct atl1e_adapter *adapter = netdev_priv(netdev); in atl1e_rx_mode()
341 struct atl1e_adapter *adapter = netdev_priv(netdev); in atl1e_vlan_mode()
353 static void atl1e_restore_vlan(struct atl1e_adapter *adapter) in atl1e_restore_vlan()
368 struct atl1e_adapter *adapter = netdev_priv(netdev); in atl1e_set_mac_addr()
424 struct atl1e_adapter *adapter = netdev_priv(netdev); in atl1e_change_mtu()
446 struct atl1e_adapter *adapter = netdev_priv(netdev); in atl1e_mdio_read()
456 struct atl1e_adapter *adapter = netdev_priv(netdev); in atl1e_mdio_write()
466 struct atl1e_adapter *adapter = netdev_priv(netdev); in atl1e_mii_ioctl()
548 static int atl1e_alloc_queues(struct atl1e_adapter *adapter) in atl1e_alloc_queues()
561 static int atl1e_sw_init(struct atl1e_adapter *adapter) in atl1e_sw_init()
640 static void atl1e_clean_tx_ring(struct atl1e_adapter *adapter) in atl1e_clean_tx_ring()
685 static void atl1e_clean_rx_ring(struct atl1e_adapter *adapter) in atl1e_clean_rx_ring()
706 static void atl1e_cal_ring_size(struct atl1e_adapter *adapter, u32 *ring_size) in atl1e_cal_ring_size()
719 static void atl1e_init_ring_resources(struct atl1e_adapter *adapter) in atl1e_init_ring_resources()
740 static void atl1e_init_ring_ptrs(struct atl1e_adapter *adapter) in atl1e_init_ring_ptrs()
770 static void atl1e_free_ring_resources(struct atl1e_adapter *adapter) in atl1e_free_ring_resources()
795 static int atl1e_setup_ring_resources(struct atl1e_adapter *adapter) in atl1e_setup_ring_resources()
885 static inline void atl1e_configure_des_ring(struct atl1e_adapter *adapter) in atl1e_configure_des_ring()
929 static inline void atl1e_configure_tx(struct atl1e_adapter *adapter) in atl1e_configure_tx()
972 static inline void atl1e_configure_rx(struct atl1e_adapter *adapter) in atl1e_configure_rx()
1025 static inline void atl1e_configure_dma(struct atl1e_adapter *adapter) in atl1e_configure_dma()
1044 static void atl1e_setup_mac_ctrl(struct atl1e_adapter *adapter) in atl1e_setup_mac_ctrl()
1084 static int atl1e_configure(struct atl1e_adapter *adapter) in atl1e_configure()
1157 struct atl1e_adapter *adapter = netdev_priv(netdev); in atl1e_get_stats()
1198 static void atl1e_update_hw_stats(struct atl1e_adapter *adapter) in atl1e_update_hw_stats()
1221 static inline void atl1e_clear_phy_int(struct atl1e_adapter *adapter) in atl1e_clear_phy_int()
1230 static bool atl1e_clean_tx_irq(struct atl1e_adapter *adapter) in atl1e_clean_tx_irq()
1280 struct atl1e_adapter *adapter = netdev_priv(netdev); in atl1e_intr()
1356 static inline void atl1e_rx_checksum(struct atl1e_adapter *adapter, in atl1e_rx_checksum()
1387 static struct atl1e_rx_page *atl1e_get_rx_page(struct atl1e_adapter *adapter, in atl1e_get_rx_page()
1397 static void atl1e_clean_rx_irq(struct atl1e_adapter *adapter, u8 que, in atl1e_clean_rx_irq()
1512 struct atl1e_adapter *adapter = in atl1e_clean()
1513 container_of(napi, struct atl1e_adapter, napi); in atl1e_clean()
1551 struct atl1e_adapter *adapter = netdev_priv(netdev); in atl1e_netpoll()
1559 static inline u16 atl1e_tpd_avail(struct atl1e_adapter *adapter) in atl1e_tpd_avail()
1578 static struct atl1e_tpd_desc *atl1e_get_tpd(struct atl1e_adapter *adapter) in atl1e_get_tpd()
1592 atl1e_get_tx_buffer(struct atl1e_adapter *adapter, struct atl1e_tpd_desc *tpd) in atl1e_get_tx_buffer()
1627 static int atl1e_tso_csum(struct atl1e_adapter *adapter, in atl1e_tso_csum()
1702 static int atl1e_tx_map(struct atl1e_adapter *adapter, in atl1e_tx_map()
1849 static void atl1e_tx_queue(struct atl1e_adapter *adapter, u16 count, in atl1e_tx_queue()
1864 struct atl1e_adapter *adapter = netdev_priv(netdev); in atl1e_xmit_frame()
1919 static void atl1e_free_irq(struct atl1e_adapter *adapter) in atl1e_free_irq()
1926 static int atl1e_request_irq(struct atl1e_adapter *adapter) in atl1e_request_irq()
1943 int atl1e_up(struct atl1e_adapter *adapter) in atl1e_up()
1975 void atl1e_down(struct atl1e_adapter *adapter) in atl1e_down()
2014 struct atl1e_adapter *adapter = netdev_priv(netdev); in atl1e_open()
2059 struct atl1e_adapter *adapter = netdev_priv(netdev); in atl1e_close()
2072 struct atl1e_adapter *adapter = netdev_priv(netdev); in atl1e_suspend()
2201 struct atl1e_adapter *adapter = netdev_priv(netdev); in atl1e_resume()
2300 struct atl1e_adapter *adapter = NULL; in atl1e_probe()
2333 netdev = alloc_etherdev(sizeof(struct atl1e_adapter)); in atl1e_probe()
2447 struct atl1e_adapter *adapter = netdev_priv(netdev); in atl1e_remove()
2479 struct atl1e_adapter *adapter = netdev_priv(netdev); in atl1e_io_error_detected()
2505 struct atl1e_adapter *adapter = netdev_priv(netdev); in atl1e_io_slot_reset()
2533 struct atl1e_adapter *adapter = netdev_priv(netdev); in atl1e_io_resume()