Lines Matching defs:rtwdev
34 static u32 rtw_sdio_to_bus_offset(struct rtw_dev *rtwdev, u32 addr) in rtw_sdio_to_bus_offset()
55 static bool rtw_sdio_use_memcpy_io(struct rtw_dev *rtwdev, u32 addr, in rtw_sdio_use_memcpy_io()
62 static void rtw_sdio_writel(struct rtw_dev *rtwdev, u32 val, u32 addr, in rtw_sdio_writel()
83 static void rtw_sdio_writew(struct rtw_dev *rtwdev, u16 val, u32 addr, in rtw_sdio_writew()
99 static u32 rtw_sdio_readl(struct rtw_dev *rtwdev, u32 addr, int *err_ret) in rtw_sdio_readl()
117 static u16 rtw_sdio_readw(struct rtw_dev *rtwdev, u32 addr, int *err_ret) in rtw_sdio_readw()
132 static u32 rtw_sdio_to_io_address(struct rtw_dev *rtwdev, u32 addr, in rtw_sdio_to_io_address()
144 static bool rtw_sdio_use_direct_io(struct rtw_dev *rtwdev, u32 addr) in rtw_sdio_use_direct_io()
150 static int rtw_sdio_indirect_reg_cfg(struct rtw_dev *rtwdev, u32 addr, u32 cfg) in rtw_sdio_indirect_reg_cfg()
174 static u8 rtw_sdio_indirect_read8(struct rtw_dev *rtwdev, u32 addr, in rtw_sdio_indirect_read8()
189 static int rtw_sdio_indirect_read_bytes(struct rtw_dev *rtwdev, u32 addr, in rtw_sdio_indirect_read_bytes()
203 static u16 rtw_sdio_indirect_read16(struct rtw_dev *rtwdev, u32 addr, in rtw_sdio_indirect_read16()
226 static u32 rtw_sdio_indirect_read32(struct rtw_dev *rtwdev, u32 addr, in rtw_sdio_indirect_read32()
249 static u8 rtw_sdio_read8(struct rtw_dev *rtwdev, u32 addr) in rtw_sdio_read8()
277 static u16 rtw_sdio_read16(struct rtw_dev *rtwdev, u32 addr) in rtw_sdio_read16()
305 static u32 rtw_sdio_read32(struct rtw_dev *rtwdev, u32 addr) in rtw_sdio_read32()
333 static void rtw_sdio_indirect_write8(struct rtw_dev *rtwdev, u8 val, u32 addr, in rtw_sdio_indirect_write8()
348 static void rtw_sdio_indirect_write16(struct rtw_dev *rtwdev, u16 val, u32 addr, in rtw_sdio_indirect_write16()
369 static void rtw_sdio_indirect_write32(struct rtw_dev *rtwdev, u32 val, in rtw_sdio_indirect_write32()
388 static void rtw_sdio_write8(struct rtw_dev *rtwdev, u32 addr, u8 val) in rtw_sdio_write8()
413 static void rtw_sdio_write16(struct rtw_dev *rtwdev, u32 addr, u16 val) in rtw_sdio_write16()
438 static void rtw_sdio_write32(struct rtw_dev *rtwdev, u32 addr, u32 val) in rtw_sdio_write32()
463 static u32 rtw_sdio_get_tx_addr(struct rtw_dev *rtwdev, size_t size, in rtw_sdio_get_tx_addr()
500 static int rtw_sdio_read_port(struct rtw_dev *rtwdev, u8 *buf, size_t count) in rtw_sdio_read_port()
544 static int rtw_sdio_check_free_txpg(struct rtw_dev *rtwdev, u8 queue, in rtw_sdio_check_free_txpg()
628 static int rtw_sdio_write_port(struct rtw_dev *rtwdev, struct sk_buff *skb, in rtw_sdio_write_port()
669 static void rtw_sdio_init(struct rtw_dev *rtwdev) in rtw_sdio_init()
676 static void rtw_sdio_enable_rx_aggregation(struct rtw_dev *rtwdev) in rtw_sdio_enable_rx_aggregation()
700 static void rtw_sdio_enable_interrupt(struct rtw_dev *rtwdev) in rtw_sdio_enable_interrupt()
707 static void rtw_sdio_disable_interrupt(struct rtw_dev *rtwdev) in rtw_sdio_disable_interrupt()
712 static u8 rtw_sdio_get_tx_qsel(struct rtw_dev *rtwdev, struct sk_buff *skb, in rtw_sdio_get_tx_qsel()
732 static int rtw_sdio_setup(struct rtw_dev *rtwdev) in rtw_sdio_setup()
738 static int rtw_sdio_start(struct rtw_dev *rtwdev) in rtw_sdio_start()
746 static void rtw_sdio_stop(struct rtw_dev *rtwdev) in rtw_sdio_stop()
751 static void rtw_sdio_deep_ps_enter(struct rtw_dev *rtwdev) in rtw_sdio_deep_ps_enter()
785 static void rtw_sdio_deep_ps_leave(struct rtw_dev *rtwdev) in rtw_sdio_deep_ps_leave()
791 static void rtw_sdio_deep_ps(struct rtw_dev *rtwdev, bool enter) in rtw_sdio_deep_ps()
800 static void rtw_sdio_tx_kick_off(struct rtw_dev *rtwdev) in rtw_sdio_tx_kick_off()
807 static void rtw_sdio_link_ps(struct rtw_dev *rtwdev, bool enter) in rtw_sdio_link_ps()
812 static void rtw_sdio_interface_cfg(struct rtw_dev *rtwdev) in rtw_sdio_interface_cfg()
833 static void rtw_sdio_tx_skb_prepare(struct rtw_dev *rtwdev, in rtw_sdio_tx_skb_prepare()
871 static int rtw_sdio_write_data(struct rtw_dev *rtwdev, in rtw_sdio_write_data()
886 static int rtw_sdio_write_data_rsvd_page(struct rtw_dev *rtwdev, u8 *buf, in rtw_sdio_write_data_rsvd_page()
899 static int rtw_sdio_write_data_h2c(struct rtw_dev *rtwdev, u8 *buf, u32 size) in rtw_sdio_write_data_h2c()
911 static int rtw_sdio_tx_write(struct rtw_dev *rtwdev, in rtw_sdio_tx_write()
929 static void rtw_sdio_tx_err_isr(struct rtw_dev *rtwdev) in rtw_sdio_tx_err_isr()
936 static void rtw_sdio_rx_skb(struct rtw_dev *rtwdev, struct sk_buff *skb, in rtw_sdio_rx_skb()
956 static void rtw_sdio_rxfifo_recv(struct rtw_dev *rtwdev, u32 rx_len) in rtw_sdio_rxfifo_recv()
1020 static void rtw_sdio_rx_isr(struct rtw_dev *rtwdev) in rtw_sdio_rx_isr()
1061 struct rtw_dev *rtwdev; in rtw_sdio_handle_interrupt() local
1087 struct rtw_dev *rtwdev = hw->priv; in rtw_sdio_suspend() local
1105 static int rtw_sdio_claim(struct rtw_dev *rtwdev, struct sdio_func *sdio_func) in rtw_sdio_claim()
1142 static void rtw_sdio_declaim(struct rtw_dev *rtwdev, in rtw_sdio_declaim()
1170 static int rtw_sdio_request_irq(struct rtw_dev *rtwdev, in rtw_sdio_request_irq()
1187 static void rtw_sdio_indicate_tx_status(struct rtw_dev *rtwdev, in rtw_sdio_indicate_tx_status()
1210 static void rtw_sdio_process_tx_queue(struct rtw_dev *rtwdev, in rtw_sdio_process_tx_queue()
1238 struct rtw_dev *rtwdev; in rtw_sdio_tx_handler() local
1257 static void rtw_sdio_free_irq(struct rtw_dev *rtwdev, in rtw_sdio_free_irq()
1265 static int rtw_sdio_init_tx(struct rtw_dev *rtwdev) in rtw_sdio_init_tx()
1293 static void rtw_sdio_deinit_tx(struct rtw_dev *rtwdev) in rtw_sdio_deinit_tx()
1310 struct rtw_dev *rtwdev; in rtw_sdio_probe() local
1386 struct rtw_dev *rtwdev; in rtw_sdio_remove() local
1408 struct rtw_dev *rtwdev; in rtw_sdio_shutdown() local