Lines Matching refs:rtw_dev

10 	int (*tx_write)(struct rtw_dev *rtwdev,
13 void (*tx_kick_off)(struct rtw_dev *rtwdev);
14 void (*flush_queues)(struct rtw_dev *rtwdev, u32 queues, bool drop);
15 int (*setup)(struct rtw_dev *rtwdev);
16 int (*start)(struct rtw_dev *rtwdev);
17 void (*stop)(struct rtw_dev *rtwdev);
18 void (*deep_ps)(struct rtw_dev *rtwdev, bool enter);
19 void (*link_ps)(struct rtw_dev *rtwdev, bool enter);
20 void (*interface_cfg)(struct rtw_dev *rtwdev);
22 int (*write_data_rsvd_page)(struct rtw_dev *rtwdev, u8 *buf, u32 size);
23 int (*write_data_h2c)(struct rtw_dev *rtwdev, u8 *buf, u32 size);
25 u8 (*read8)(struct rtw_dev *rtwdev, u32 addr);
26 u16 (*read16)(struct rtw_dev *rtwdev, u32 addr);
27 u32 (*read32)(struct rtw_dev *rtwdev, u32 addr);
28 void (*write8)(struct rtw_dev *rtwdev, u32 addr, u8 val);
29 void (*write16)(struct rtw_dev *rtwdev, u32 addr, u16 val);
30 void (*write32)(struct rtw_dev *rtwdev, u32 addr, u32 val);
33 static inline int rtw_hci_tx_write(struct rtw_dev *rtwdev, in rtw_hci_tx_write()
40 static inline void rtw_hci_tx_kick_off(struct rtw_dev *rtwdev) in rtw_hci_tx_kick_off()
45 static inline int rtw_hci_setup(struct rtw_dev *rtwdev) in rtw_hci_setup()
50 static inline int rtw_hci_start(struct rtw_dev *rtwdev) in rtw_hci_start()
55 static inline void rtw_hci_stop(struct rtw_dev *rtwdev) in rtw_hci_stop()
60 static inline void rtw_hci_deep_ps(struct rtw_dev *rtwdev, bool enter) in rtw_hci_deep_ps()
65 static inline void rtw_hci_link_ps(struct rtw_dev *rtwdev, bool enter) in rtw_hci_link_ps()
70 static inline void rtw_hci_interface_cfg(struct rtw_dev *rtwdev) in rtw_hci_interface_cfg()
76 rtw_hci_write_data_rsvd_page(struct rtw_dev *rtwdev, u8 *buf, u32 size) in rtw_hci_write_data_rsvd_page()
82 rtw_hci_write_data_h2c(struct rtw_dev *rtwdev, u8 *buf, u32 size) in rtw_hci_write_data_h2c()
87 static inline u8 rtw_read8(struct rtw_dev *rtwdev, u32 addr) in rtw_read8()
92 static inline u16 rtw_read16(struct rtw_dev *rtwdev, u32 addr) in rtw_read16()
97 static inline u32 rtw_read32(struct rtw_dev *rtwdev, u32 addr) in rtw_read32()
102 static inline void rtw_write8(struct rtw_dev *rtwdev, u32 addr, u8 val) in rtw_write8()
107 static inline void rtw_write16(struct rtw_dev *rtwdev, u32 addr, u16 val) in rtw_write16()
112 static inline void rtw_write32(struct rtw_dev *rtwdev, u32 addr, u32 val) in rtw_write32()
117 static inline void rtw_write8_set(struct rtw_dev *rtwdev, u32 addr, u8 bit) in rtw_write8_set()
125 static inline void rtw_write16_set(struct rtw_dev *rtwdev, u32 addr, u16 bit) in rtw_write16_set()
133 static inline void rtw_write32_set(struct rtw_dev *rtwdev, u32 addr, u32 bit) in rtw_write32_set()
141 static inline void rtw_write8_clr(struct rtw_dev *rtwdev, u32 addr, u8 bit) in rtw_write8_clr()
149 static inline void rtw_write16_clr(struct rtw_dev *rtwdev, u32 addr, u16 bit) in rtw_write16_clr()
157 static inline void rtw_write32_clr(struct rtw_dev *rtwdev, u32 addr, u32 bit) in rtw_write32_clr()
166 rtw_read_rf(struct rtw_dev *rtwdev, enum rtw_rf_path rf_path, in rtw_read_rf()
180 rtw_write_rf(struct rtw_dev *rtwdev, enum rtw_rf_path rf_path, in rtw_write_rf()
191 rtw_read32_mask(struct rtw_dev *rtwdev, u32 addr, u32 mask) in rtw_read32_mask()
204 rtw_read16_mask(struct rtw_dev *rtwdev, u32 addr, u32 mask) in rtw_read16_mask()
217 rtw_read8_mask(struct rtw_dev *rtwdev, u32 addr, u32 mask) in rtw_read8_mask()
230 rtw_write32_mask(struct rtw_dev *rtwdev, u32 addr, u32 mask, u32 data) in rtw_write32_mask()
244 rtw_write8_mask(struct rtw_dev *rtwdev, u32 addr, u32 mask, u8 data) in rtw_write8_mask()
257 static inline enum rtw_hci_type rtw_hci_type(struct rtw_dev *rtwdev) in rtw_hci_type()
262 static inline void rtw_hci_flush_queues(struct rtw_dev *rtwdev, u32 queues, in rtw_hci_flush_queues()
269 static inline void rtw_hci_flush_all_queues(struct rtw_dev *rtwdev, bool drop) in rtw_hci_flush_all_queues()