• Home
  • Raw
  • Download

Lines Matching refs:rt2x00dev

41 	u32 (*register_read)(struct rt2x00_dev *rt2x00dev,
43 u32 (*register_read_lock)(struct rt2x00_dev *rt2x00dev,
45 void (*register_write)(struct rt2x00_dev *rt2x00dev,
47 void (*register_write_lock)(struct rt2x00_dev *rt2x00dev,
50 void (*register_multiread)(struct rt2x00_dev *rt2x00dev,
53 void (*register_multiwrite)(struct rt2x00_dev *rt2x00dev,
57 int (*regbusy_read)(struct rt2x00_dev *rt2x00dev,
61 int (*read_eeprom)(struct rt2x00_dev *rt2x00dev);
62 bool (*hwcrypt_disabled)(struct rt2x00_dev *rt2x00dev);
64 int (*drv_write_firmware)(struct rt2x00_dev *rt2x00dev,
66 int (*drv_init_registers)(struct rt2x00_dev *rt2x00dev);
71 static inline u32 rt2800_register_read(struct rt2x00_dev *rt2x00dev, in rt2800_register_read() argument
74 const struct rt2800_ops *rt2800ops = rt2x00dev->ops->drv; in rt2800_register_read()
76 return rt2800ops->register_read(rt2x00dev, offset); in rt2800_register_read()
79 static inline u32 rt2800_register_read_lock(struct rt2x00_dev *rt2x00dev, in rt2800_register_read_lock() argument
82 const struct rt2800_ops *rt2800ops = rt2x00dev->ops->drv; in rt2800_register_read_lock()
84 return rt2800ops->register_read_lock(rt2x00dev, offset); in rt2800_register_read_lock()
87 static inline void rt2800_register_write(struct rt2x00_dev *rt2x00dev, in rt2800_register_write() argument
91 const struct rt2800_ops *rt2800ops = rt2x00dev->ops->drv; in rt2800_register_write()
93 rt2800ops->register_write(rt2x00dev, offset, value); in rt2800_register_write()
96 static inline void rt2800_register_write_lock(struct rt2x00_dev *rt2x00dev, in rt2800_register_write_lock() argument
100 const struct rt2800_ops *rt2800ops = rt2x00dev->ops->drv; in rt2800_register_write_lock()
102 rt2800ops->register_write_lock(rt2x00dev, offset, value); in rt2800_register_write_lock()
105 static inline void rt2800_register_multiread(struct rt2x00_dev *rt2x00dev, in rt2800_register_multiread() argument
109 const struct rt2800_ops *rt2800ops = rt2x00dev->ops->drv; in rt2800_register_multiread()
111 rt2800ops->register_multiread(rt2x00dev, offset, value, length); in rt2800_register_multiread()
114 static inline void rt2800_register_multiwrite(struct rt2x00_dev *rt2x00dev, in rt2800_register_multiwrite() argument
119 const struct rt2800_ops *rt2800ops = rt2x00dev->ops->drv; in rt2800_register_multiwrite()
121 rt2800ops->register_multiwrite(rt2x00dev, offset, value, length); in rt2800_register_multiwrite()
124 static inline int rt2800_regbusy_read(struct rt2x00_dev *rt2x00dev, in rt2800_regbusy_read() argument
129 const struct rt2800_ops *rt2800ops = rt2x00dev->ops->drv; in rt2800_regbusy_read()
131 return rt2800ops->regbusy_read(rt2x00dev, offset, field, reg); in rt2800_regbusy_read()
134 static inline int rt2800_read_eeprom(struct rt2x00_dev *rt2x00dev) in rt2800_read_eeprom() argument
136 const struct rt2800_ops *rt2800ops = rt2x00dev->ops->drv; in rt2800_read_eeprom()
138 return rt2800ops->read_eeprom(rt2x00dev); in rt2800_read_eeprom()
141 static inline bool rt2800_hwcrypt_disabled(struct rt2x00_dev *rt2x00dev) in rt2800_hwcrypt_disabled() argument
143 const struct rt2800_ops *rt2800ops = rt2x00dev->ops->drv; in rt2800_hwcrypt_disabled()
145 return rt2800ops->hwcrypt_disabled(rt2x00dev); in rt2800_hwcrypt_disabled()
148 static inline int rt2800_drv_write_firmware(struct rt2x00_dev *rt2x00dev, in rt2800_drv_write_firmware() argument
151 const struct rt2800_ops *rt2800ops = rt2x00dev->ops->drv; in rt2800_drv_write_firmware()
153 return rt2800ops->drv_write_firmware(rt2x00dev, data, len); in rt2800_drv_write_firmware()
156 static inline int rt2800_drv_init_registers(struct rt2x00_dev *rt2x00dev) in rt2800_drv_init_registers() argument
158 const struct rt2800_ops *rt2800ops = rt2x00dev->ops->drv; in rt2800_drv_init_registers()
160 return rt2800ops->drv_init_registers(rt2x00dev); in rt2800_drv_init_registers()
165 const struct rt2800_ops *rt2800ops = entry->queue->rt2x00dev->ops->drv; in rt2800_drv_get_txwi()
172 const struct rt2800_ops *rt2800ops = queue->rt2x00dev->ops->drv; in rt2800_drv_get_dma_done()
177 void rt2800_mcu_request(struct rt2x00_dev *rt2x00dev,
181 int rt2800_wait_csr_ready(struct rt2x00_dev *rt2x00dev);
182 int rt2800_wait_wpdma_ready(struct rt2x00_dev *rt2x00dev);
184 int rt2800_check_firmware(struct rt2x00_dev *rt2x00dev,
186 int rt2800_load_firmware(struct rt2x00_dev *rt2x00dev,
195 void rt2800_txdone(struct rt2x00_dev *rt2x00dev, unsigned int quota);
196 void rt2800_txdone_nostatus(struct rt2x00_dev *rt2x00dev);
197 bool rt2800_txstatus_timeout(struct rt2x00_dev *rt2x00dev);
198 bool rt2800_txstatus_pending(struct rt2x00_dev *rt2x00dev);
200 void rt2800_watchdog(struct rt2x00_dev *rt2x00dev);
207 int rt2800_rfkill_poll(struct rt2x00_dev *rt2x00dev);
208 int rt2800_config_shared_key(struct rt2x00_dev *rt2x00dev,
211 int rt2800_config_pairwise_key(struct rt2x00_dev *rt2x00dev,
218 void rt2800_config_filter(struct rt2x00_dev *rt2x00dev,
220 void rt2800_config_intf(struct rt2x00_dev *rt2x00dev, struct rt2x00_intf *intf,
222 void rt2800_config_erp(struct rt2x00_dev *rt2x00dev, struct rt2x00lib_erp *erp,
224 void rt2800_config_ant(struct rt2x00_dev *rt2x00dev, struct antenna_setup *ant);
225 void rt2800_config(struct rt2x00_dev *rt2x00dev,
228 void rt2800_link_stats(struct rt2x00_dev *rt2x00dev, struct link_qual *qual);
229 void rt2800_reset_tuner(struct rt2x00_dev *rt2x00dev, struct link_qual *qual);
230 void rt2800_link_tuner(struct rt2x00_dev *rt2x00dev, struct link_qual *qual,
232 void rt2800_gain_calibration(struct rt2x00_dev *rt2x00dev);
233 void rt2800_vco_calibration(struct rt2x00_dev *rt2x00dev);
235 int rt2800_enable_radio(struct rt2x00_dev *rt2x00dev);
236 void rt2800_disable_radio(struct rt2x00_dev *rt2x00dev);
238 int rt2800_efuse_detect(struct rt2x00_dev *rt2x00dev);
239 int rt2800_read_eeprom_efuse(struct rt2x00_dev *rt2x00dev);
241 int rt2800_probe_hw(struct rt2x00_dev *rt2x00dev);
255 void rt2800_disable_wpdma(struct rt2x00_dev *rt2x00dev);
257 void rt2800_get_txwi_rxwi_size(struct rt2x00_dev *rt2x00dev,
260 void rt2800_pre_reset_hw(struct rt2x00_dev *rt2x00dev);