Lines Matching defs:adapter
147 #define KS8842_USE_DMA(adapter) (((adapter)->dma_tx.channel != -1) && \ argument
166 static inline void ks8842_resume_dma(struct ks8842_adapter *adapter) in ks8842_resume_dma()
171 static inline void ks8842_select_bank(struct ks8842_adapter *adapter, u16 bank) in ks8842_select_bank()
176 static inline void ks8842_write8(struct ks8842_adapter *adapter, u16 bank, in ks8842_write8()
183 static inline void ks8842_write16(struct ks8842_adapter *adapter, u16 bank, in ks8842_write16()
190 static inline void ks8842_enable_bits(struct ks8842_adapter *adapter, u16 bank, in ks8842_enable_bits()
200 static inline void ks8842_clear_bits(struct ks8842_adapter *adapter, u16 bank, in ks8842_clear_bits()
210 static inline void ks8842_write32(struct ks8842_adapter *adapter, u16 bank, in ks8842_write32()
217 static inline u8 ks8842_read8(struct ks8842_adapter *adapter, u16 bank, in ks8842_read8()
224 static inline u16 ks8842_read16(struct ks8842_adapter *adapter, u16 bank, in ks8842_read16()
231 static inline u32 ks8842_read32(struct ks8842_adapter *adapter, u16 bank, in ks8842_read32()
238 static void ks8842_reset(struct ks8842_adapter *adapter) in ks8842_reset()
258 struct ks8842_adapter *adapter) in ks8842_update_link_status()
270 static void ks8842_enable_tx(struct ks8842_adapter *adapter) in ks8842_enable_tx()
275 static void ks8842_disable_tx(struct ks8842_adapter *adapter) in ks8842_disable_tx()
280 static void ks8842_enable_rx(struct ks8842_adapter *adapter) in ks8842_enable_rx()
285 static void ks8842_disable_rx(struct ks8842_adapter *adapter) in ks8842_disable_rx()
290 static void ks8842_reset_hw(struct ks8842_adapter *adapter) in ks8842_reset_hw()
351 static void ks8842_init_mac_addr(struct ks8842_adapter *adapter) in ks8842_init_mac_addr()
385 static void ks8842_write_mac_addr(struct ks8842_adapter *adapter, const u8 *mac) in ks8842_write_mac_addr()
416 static inline u16 ks8842_tx_fifo_space(struct ks8842_adapter *adapter) in ks8842_tx_fifo_space()
423 struct ks8842_adapter *adapter = netdev_priv(netdev); in ks8842_tx_frame_dma() local
469 struct ks8842_adapter *adapter = netdev_priv(netdev); in ks8842_tx_frame() local
544 struct ks8842_adapter *adapter = netdev_priv(netdev); in __ks8842_start_new_rx_dma() local
594 struct ks8842_adapter *adapter = from_tasklet(adapter, t, dma_rx.tasklet); in ks8842_rx_frame_dma_tasklet() local
633 struct ks8842_adapter *adapter) in ks8842_rx_frame()
697 struct ks8842_adapter *adapter) in ks8842_handle_rx()
708 struct ks8842_adapter *adapter) in ks8842_handle_tx()
718 struct ks8842_adapter *adapter) in ks8842_handle_rx_overrun()
727 struct ks8842_adapter *adapter = from_tasklet(adapter, t, tasklet); in ks8842_tasklet() local
800 struct ks8842_adapter *adapter = netdev_priv(netdev); in ks8842_irq() local
835 struct ks8842_adapter *adapter = netdev_priv(netdev); in ks8842_dma_rx_cb() local
846 struct ks8842_adapter *adapter = netdev_priv(netdev); in ks8842_dma_tx_cb() local
861 static void ks8842_stop_dma(struct ks8842_adapter *adapter) in ks8842_stop_dma()
883 static void ks8842_dealloc_dma_bufs(struct ks8842_adapter *adapter) in ks8842_dealloc_dma_bufs()
916 struct ks8842_adapter *adapter = netdev_priv(netdev); in ks8842_alloc_dma_bufs() local
970 struct ks8842_adapter *adapter = netdev_priv(netdev); in ks8842_open() local
1013 struct ks8842_adapter *adapter = netdev_priv(netdev); in ks8842_close() local
1035 struct ks8842_adapter *adapter = netdev_priv(netdev); in ks8842_xmit_frame() local
1060 struct ks8842_adapter *adapter = netdev_priv(netdev); in ks8842_set_mac() local
1077 struct ks8842_adapter *adapter = in ks8842_tx_timeout_work() local
1109 struct ks8842_adapter *adapter = netdev_priv(netdev); in ks8842_tx_timeout() local
1134 struct ks8842_adapter *adapter; in ks8842_probe() local
1234 struct ks8842_adapter *adapter = netdev_priv(netdev); in ks8842_remove() local