Lines Matching defs:rtwdev

50 static u8 rtw_pci_read8(struct rtw_dev *rtwdev, u32 addr)  in rtw_pci_read8()
57 static u16 rtw_pci_read16(struct rtw_dev *rtwdev, u32 addr) in rtw_pci_read16()
64 static u32 rtw_pci_read32(struct rtw_dev *rtwdev, u32 addr) in rtw_pci_read32()
71 static void rtw_pci_write8(struct rtw_dev *rtwdev, u32 addr, u8 val) in rtw_pci_write8()
78 static void rtw_pci_write16(struct rtw_dev *rtwdev, u32 addr, u16 val) in rtw_pci_write16()
85 static void rtw_pci_write32(struct rtw_dev *rtwdev, u32 addr, u32 val) in rtw_pci_write32()
92 static void rtw_pci_free_tx_ring_skbs(struct rtw_dev *rtwdev, in rtw_pci_free_tx_ring_skbs()
111 static void rtw_pci_free_tx_ring(struct rtw_dev *rtwdev, in rtw_pci_free_tx_ring()
126 static void rtw_pci_free_rx_ring_skbs(struct rtw_dev *rtwdev, in rtw_pci_free_rx_ring_skbs()
147 static void rtw_pci_free_rx_ring(struct rtw_dev *rtwdev, in rtw_pci_free_rx_ring()
159 static void rtw_pci_free_trx_ring(struct rtw_dev *rtwdev) in rtw_pci_free_trx_ring()
177 static int rtw_pci_init_tx_ring(struct rtw_dev *rtwdev, in rtw_pci_init_tx_ring()
208 static int rtw_pci_reset_rx_desc(struct rtw_dev *rtwdev, struct sk_buff *skb, in rtw_pci_reset_rx_desc()
234 static void rtw_pci_sync_rx_desc_device(struct rtw_dev *rtwdev, dma_addr_t dma, in rtw_pci_sync_rx_desc_device()
251 static int rtw_pci_init_rx_ring(struct rtw_dev *rtwdev, in rtw_pci_init_rx_ring()
314 static int rtw_pci_init_trx_ring(struct rtw_dev *rtwdev) in rtw_pci_init_trx_ring()
363 static void rtw_pci_deinit(struct rtw_dev *rtwdev) in rtw_pci_deinit()
368 static int rtw_pci_init(struct rtw_dev *rtwdev) in rtw_pci_init()
394 static void rtw_pci_reset_buf_desc(struct rtw_dev *rtwdev) in rtw_pci_reset_buf_desc()
474 static void rtw_pci_reset_trx_ring(struct rtw_dev *rtwdev) in rtw_pci_reset_trx_ring()
479 static void rtw_pci_enable_interrupt(struct rtw_dev *rtwdev, in rtw_pci_enable_interrupt()
497 static void rtw_pci_disable_interrupt(struct rtw_dev *rtwdev, in rtw_pci_disable_interrupt()
518 static void rtw_pci_dma_reset(struct rtw_dev *rtwdev, struct rtw_pci *rtwpci) in rtw_pci_dma_reset()
526 static int rtw_pci_setup(struct rtw_dev *rtwdev) in rtw_pci_setup()
536 static void rtw_pci_dma_release(struct rtw_dev *rtwdev, struct rtw_pci *rtwpci) in rtw_pci_dma_release()
548 static void rtw_pci_napi_start(struct rtw_dev *rtwdev) in rtw_pci_napi_start()
558 static void rtw_pci_napi_stop(struct rtw_dev *rtwdev) in rtw_pci_napi_stop()
569 static int rtw_pci_start(struct rtw_dev *rtwdev) in rtw_pci_start()
583 static void rtw_pci_stop(struct rtw_dev *rtwdev) in rtw_pci_stop()
601 static void rtw_pci_deep_ps_enter(struct rtw_dev *rtwdev) in rtw_pci_deep_ps_enter()
641 static void rtw_pci_deep_ps_leave(struct rtw_dev *rtwdev) in rtw_pci_deep_ps_leave()
651 static void rtw_pci_deep_ps(struct rtw_dev *rtwdev, bool enter) in rtw_pci_deep_ps()
682 static void rtw_pci_dma_check(struct rtw_dev *rtwdev, in rtw_pci_dma_check()
703 static u32 __pci_get_hw_tx_ring_rp(struct rtw_dev *rtwdev, u8 pci_q) in __pci_get_hw_tx_ring_rp()
711 static void __pci_flush_queue(struct rtw_dev *rtwdev, u8 pci_q, bool drop) in __pci_flush_queue()
735 static void __rtw_pci_flush_queues(struct rtw_dev *rtwdev, u32 pci_queues, in __rtw_pci_flush_queues()
751 static void rtw_pci_flush_queues(struct rtw_dev *rtwdev, u32 queues, bool drop) in rtw_pci_flush_queues()
770 static void rtw_pci_tx_kick_off_queue(struct rtw_dev *rtwdev, in rtw_pci_tx_kick_off_queue()
787 static void rtw_pci_tx_kick_off(struct rtw_dev *rtwdev) in rtw_pci_tx_kick_off()
797 static int rtw_pci_tx_write_data(struct rtw_dev *rtwdev, in rtw_pci_tx_write_data()
867 static int rtw_pci_write_data_rsvd_page(struct rtw_dev *rtwdev, u8 *buf, in rtw_pci_write_data_rsvd_page()
893 static int rtw_pci_write_data_h2c(struct rtw_dev *rtwdev, u8 *buf, u32 size) in rtw_pci_write_data_h2c()
914 static int rtw_pci_tx_write(struct rtw_dev *rtwdev, in rtw_pci_tx_write()
938 static void rtw_pci_tx_isr(struct rtw_dev *rtwdev, struct rtw_pci *rtwpci, in rtw_pci_tx_isr()
1013 static void rtw_pci_rx_isr(struct rtw_dev *rtwdev) in rtw_pci_rx_isr()
1021 static int rtw_pci_get_hw_rx_ring_nr(struct rtw_dev *rtwdev, in rtw_pci_get_hw_rx_ring_nr()
1039 static u32 rtw_pci_rx_napi(struct rtw_dev *rtwdev, struct rtw_pci *rtwpci, in rtw_pci_rx_napi()
1116 static void rtw_pci_irq_recognized(struct rtw_dev *rtwdev, in rtw_pci_irq_recognized()
1142 struct rtw_dev *rtwdev = dev; in rtw_pci_interrupt_handler() local
1160 struct rtw_dev *rtwdev = dev; in rtw_pci_interrupt_threadfn() local
1197 static int rtw_pci_io_mapping(struct rtw_dev *rtwdev, in rtw_pci_io_mapping()
1222 static void rtw_pci_io_unmapping(struct rtw_dev *rtwdev, in rtw_pci_io_unmapping()
1233 static void rtw_dbi_write8(struct rtw_dev *rtwdev, u16 addr, u8 data) in rtw_dbi_write8()
1257 static int rtw_dbi_read8(struct rtw_dev *rtwdev, u16 addr, u8 *value) in rtw_dbi_read8()
1281 static void rtw_mdio_write(struct rtw_dev *rtwdev, u8 addr, u16 data, bool g1) in rtw_mdio_write()
1307 static void rtw_pci_clkreq_set(struct rtw_dev *rtwdev, bool enable) in rtw_pci_clkreq_set()
1329 static void rtw_pci_clkreq_pad_low(struct rtw_dev *rtwdev, bool enable) in rtw_pci_clkreq_pad_low()
1348 static void rtw_pci_aspm_set(struct rtw_dev *rtwdev, bool enable) in rtw_pci_aspm_set()
1370 static void rtw_pci_link_ps(struct rtw_dev *rtwdev, bool enter) in rtw_pci_link_ps()
1392 static void rtw_pci_link_cfg(struct rtw_dev *rtwdev) in rtw_pci_link_cfg()
1434 static void rtw_pci_interface_cfg(struct rtw_dev *rtwdev) in rtw_pci_interface_cfg()
1449 static void rtw_pci_phy_cfg(struct rtw_dev *rtwdev) in rtw_pci_phy_cfg()
1506 struct rtw_dev *rtwdev = hw->priv; in rtw_pci_suspend() local
1518 struct rtw_dev *rtwdev = hw->priv; in rtw_pci_resume() local
1530 static int rtw_pci_claim(struct rtw_dev *rtwdev, struct pci_dev *pdev) in rtw_pci_claim()
1547 static void rtw_pci_declaim(struct rtw_dev *rtwdev, struct pci_dev *pdev) in rtw_pci_declaim()
1552 static int rtw_pci_setup_resource(struct rtw_dev *rtwdev, struct pci_dev *pdev) in rtw_pci_setup_resource()
1582 static void rtw_pci_destroy(struct rtw_dev *rtwdev, struct pci_dev *pdev) in rtw_pci_destroy()
1609 static int rtw_pci_request_irq(struct rtw_dev *rtwdev, struct pci_dev *pdev) in rtw_pci_request_irq()
1635 static void rtw_pci_free_irq(struct rtw_dev *rtwdev, struct pci_dev *pdev) in rtw_pci_free_irq()
1644 struct rtw_dev *rtwdev = container_of((void *)rtwpci, struct rtw_dev, in rtw_pci_napi_poll() local
1680 static void rtw_pci_napi_init(struct rtw_dev *rtwdev) in rtw_pci_napi_init()
1688 static void rtw_pci_napi_deinit(struct rtw_dev *rtwdev) in rtw_pci_napi_deinit()
1701 struct rtw_dev *rtwdev; in rtw_pci_probe() local
1791 struct rtw_dev *rtwdev; in rtw_pci_remove() local
1814 struct rtw_dev *rtwdev; in rtw_pci_shutdown() local