Home
last modified time | relevance | path

Searched refs:wl1251 (Results 1 – 25 of 30) sorted by relevance

12

/linux-3.4.99/drivers/net/wireless/wl1251/
Dinit.h74 int wl1251_hw_init_hwenc_config(struct wl1251 *wl);
75 int wl1251_hw_init_templates_config(struct wl1251 *wl);
76 int wl1251_hw_init_rx_config(struct wl1251 *wl, u32 config, u32 filter);
77 int wl1251_hw_init_phy_config(struct wl1251 *wl);
78 int wl1251_hw_init_beacon_filter(struct wl1251 *wl);
79 int wl1251_hw_init_pta(struct wl1251 *wl);
80 int wl1251_hw_init_energy_detection(struct wl1251 *wl);
81 int wl1251_hw_init_beacon_broadcast(struct wl1251 *wl);
82 int wl1251_hw_init_power_auth(struct wl1251 *wl);
83 int wl1251_hw_init_mem_config(struct wl1251 *wl);
[all …]
Dio.h37 static inline u32 wl1251_read32(struct wl1251 *wl, int addr) in wl1251_read32()
44 static inline void wl1251_write32(struct wl1251 *wl, int addr, u32 val) in wl1251_write32()
50 static inline u32 wl1251_read_elp(struct wl1251 *wl, int addr) in wl1251_read_elp()
62 static inline void wl1251_write_elp(struct wl1251 *wl, int addr, u32 val) in wl1251_write_elp()
71 void wl1251_mem_read(struct wl1251 *wl, int addr, void *buf, size_t len);
72 void wl1251_mem_write(struct wl1251 *wl, int addr, void *buf, size_t len);
73 u32 wl1251_mem_read32(struct wl1251 *wl, int addr);
74 void wl1251_mem_write32(struct wl1251 *wl, int addr, u32 val);
76 u32 wl1251_reg_read32(struct wl1251 *wl, int addr);
77 void wl1251_reg_write32(struct wl1251 *wl, int addr, u32 val);
[all …]
Dacx.h1434 int wl1251_acx_frame_rates(struct wl1251 *wl, u8 ctrl_rate, u8 ctrl_mod,
1436 int wl1251_acx_station_id(struct wl1251 *wl);
1437 int wl1251_acx_default_key(struct wl1251 *wl, u8 key_id);
1438 int wl1251_acx_wake_up_conditions(struct wl1251 *wl, u8 wake_up_event,
1440 int wl1251_acx_sleep_auth(struct wl1251 *wl, u8 sleep_auth);
1441 int wl1251_acx_fw_version(struct wl1251 *wl, char *buf, size_t len);
1442 int wl1251_acx_tx_power(struct wl1251 *wl, int power);
1443 int wl1251_acx_feature_cfg(struct wl1251 *wl);
1444 int wl1251_acx_mem_map(struct wl1251 *wl,
1446 int wl1251_acx_data_path_params(struct wl1251 *wl,
[all …]
Dboot.h27 int wl1251_boot_soft_reset(struct wl1251 *wl);
28 int wl1251_boot_init_seq(struct wl1251 *wl);
29 int wl1251_boot_run_firmware(struct wl1251 *wl);
30 void wl1251_boot_target_enable_interrupts(struct wl1251 *wl);
31 int wl1251_boot(struct wl1251 *wl);
Dsdio.c47 static struct sdio_func *wl_to_func(struct wl1251 *wl) in wl_to_func()
55 struct wl1251 *wl = sdio_get_drvdata(func); in wl1251_sdio_interrupt()
70 static void wl1251_sdio_read(struct wl1251 *wl, int addr, in wl1251_sdio_read()
83 static void wl1251_sdio_write(struct wl1251 *wl, int addr, in wl1251_sdio_write()
96 static void wl1251_sdio_read_elp(struct wl1251 *wl, int addr, u32 *val) in wl1251_sdio_read_elp()
116 static void wl1251_sdio_write_elp(struct wl1251 *wl, int addr, u32 val) in wl1251_sdio_write_elp()
132 static void wl1251_sdio_reset(struct wl1251 *wl) in wl1251_sdio_reset()
136 static void wl1251_sdio_enable_irq(struct wl1251 *wl) in wl1251_sdio_enable_irq()
145 static void wl1251_sdio_disable_irq(struct wl1251 *wl) in wl1251_sdio_disable_irq()
157 struct wl1251 *wl = cookie; in wl1251_line_irq()
[all …]
Dwl1251.h148 struct wl1251;
261 void (*read)(struct wl1251 *wl, int addr, void *buf, size_t len);
262 void (*write)(struct wl1251 *wl, int addr, void *buf, size_t len);
263 void (*read_elp)(struct wl1251 *wl, int addr, u32 *val);
264 void (*write_elp)(struct wl1251 *wl, int addr, u32 val);
265 int (*power)(struct wl1251 *wl, bool enable);
266 void (*reset)(struct wl1251 *wl);
267 void (*enable_irq)(struct wl1251 *wl);
268 void (*disable_irq)(struct wl1251 *wl);
271 struct wl1251 { struct
[all …]
Dacx.c12 int wl1251_acx_frame_rates(struct wl1251 *wl, u8 ctrl_rate, u8 ctrl_mod, in wl1251_acx_frame_rates()
44 int wl1251_acx_station_id(struct wl1251 *wl) in wl1251_acx_station_id()
69 int wl1251_acx_default_key(struct wl1251 *wl, u8 key_id) in wl1251_acx_default_key()
98 int wl1251_acx_wake_up_conditions(struct wl1251 *wl, u8 wake_up_event, in wl1251_acx_wake_up_conditions()
127 int wl1251_acx_sleep_auth(struct wl1251 *wl, u8 sleep_auth) in wl1251_acx_sleep_auth()
149 int wl1251_acx_fw_version(struct wl1251 *wl, char *buf, size_t len) in wl1251_acx_fw_version()
183 int wl1251_acx_tx_power(struct wl1251 *wl, int power) in wl1251_acx_tx_power()
212 int wl1251_acx_feature_cfg(struct wl1251 *wl) in wl1251_acx_feature_cfg()
241 int wl1251_acx_mem_map(struct wl1251 *wl, struct acx_header *mem_map, in wl1251_acx_mem_map()
255 int wl1251_acx_data_path_params(struct wl1251 *wl, in wl1251_acx_data_path_params()
[all …]
Dio.c41 static int wl1251_translate_reg_addr(struct wl1251 *wl, int addr) in wl1251_translate_reg_addr()
58 static int wl1251_translate_mem_addr(struct wl1251 *wl, int addr) in wl1251_translate_mem_addr()
63 void wl1251_mem_read(struct wl1251 *wl, int addr, void *buf, size_t len) in wl1251_mem_read()
72 void wl1251_mem_write(struct wl1251 *wl, int addr, void *buf, size_t len) in wl1251_mem_write()
81 u32 wl1251_mem_read32(struct wl1251 *wl, int addr) in wl1251_mem_read32()
86 void wl1251_mem_write32(struct wl1251 *wl, int addr, u32 val) in wl1251_mem_write32()
91 u32 wl1251_reg_read32(struct wl1251 *wl, int addr) in wl1251_reg_read32()
96 void wl1251_reg_write32(struct wl1251 *wl, int addr, u32 val) in wl1251_reg_write32()
134 void wl1251_set_partition(struct wl1251 *wl, in wl1251_set_partition()
Dcmd.h32 int wl1251_cmd_send(struct wl1251 *wl, u16 type, void *buf, size_t buf_len);
33 int wl1251_cmd_test(struct wl1251 *wl, void *buf, size_t buf_len, u8 answer);
34 int wl1251_cmd_interrogate(struct wl1251 *wl, u16 id, void *buf, size_t len);
35 int wl1251_cmd_configure(struct wl1251 *wl, u16 id, void *buf, size_t len);
36 int wl1251_cmd_vbm(struct wl1251 *wl, u8 identity,
38 int wl1251_cmd_data_path(struct wl1251 *wl, u8 channel, bool enable);
39 int wl1251_cmd_join(struct wl1251 *wl, u8 bss_type, u8 channel,
41 int wl1251_cmd_ps_mode(struct wl1251 *wl, u8 ps_mode);
42 int wl1251_cmd_read_memory(struct wl1251 *wl, u32 addr, void *answer,
44 int wl1251_cmd_template_set(struct wl1251 *wl, u16 cmd_id,
[all …]
DKconfig2 tristate "TI wl1251 driver support"
7 This will enable TI wl1251 driver support. The drivers make
10 If you choose to build a module, it'll be called wl1251. Say
14 tristate "TI wl1251 SPI support"
18 TI wl1251 chipset. Select this if your platform is using
25 tristate "TI wl1251 SDIO support"
29 TI wl1251 chipset. Select this if your platform is using
Dinit.c32 int wl1251_hw_init_hwenc_config(struct wl1251 *wl) in wl1251_hw_init_hwenc_config()
51 int wl1251_hw_init_templates_config(struct wl1251 *wl) in wl1251_hw_init_templates_config()
103 int wl1251_hw_init_rx_config(struct wl1251 *wl, u32 config, u32 filter) in wl1251_hw_init_rx_config()
118 int wl1251_hw_init_phy_config(struct wl1251 *wl) in wl1251_hw_init_phy_config()
145 int wl1251_hw_init_beacon_filter(struct wl1251 *wl) in wl1251_hw_init_beacon_filter()
161 int wl1251_hw_init_pta(struct wl1251 *wl) in wl1251_hw_init_pta()
176 int wl1251_hw_init_energy_detection(struct wl1251 *wl) in wl1251_hw_init_energy_detection()
187 int wl1251_hw_init_beacon_broadcast(struct wl1251 *wl) in wl1251_hw_init_beacon_broadcast()
198 int wl1251_hw_init_power_auth(struct wl1251 *wl) in wl1251_hw_init_power_auth()
203 int wl1251_hw_init_mem_config(struct wl1251 *wl) in wl1251_hw_init_mem_config()
[all …]
Dspi.c36 struct wl1251 *wl; in wl1251_irq()
47 static struct spi_device *wl_to_spi(struct wl1251 *wl) in wl_to_spi()
52 static void wl1251_spi_reset(struct wl1251 *wl) in wl1251_spi_reset()
78 static void wl1251_spi_wake(struct wl1251 *wl) in wl1251_spi_wake()
132 static void wl1251_spi_reset_wake(struct wl1251 *wl) in wl1251_spi_reset_wake()
138 static void wl1251_spi_read(struct wl1251 *wl, int addr, void *buf, in wl1251_spi_read()
178 static void wl1251_spi_write(struct wl1251 *wl, int addr, void *buf, in wl1251_spi_write()
209 static void wl1251_spi_enable_irq(struct wl1251 *wl) in wl1251_spi_enable_irq()
214 static void wl1251_spi_disable_irq(struct wl1251 *wl) in wl1251_spi_disable_irq()
219 static int wl1251_spi_set_power(struct wl1251 *wl, bool enable) in wl1251_spi_set_power()
[all …]
Dmain.c45 void wl1251_enable_interrupts(struct wl1251 *wl) in wl1251_enable_interrupts()
50 void wl1251_disable_interrupts(struct wl1251 *wl) in wl1251_disable_interrupts()
55 static int wl1251_power_off(struct wl1251 *wl) in wl1251_power_off()
60 static int wl1251_power_on(struct wl1251 *wl) in wl1251_power_on()
65 static int wl1251_fetch_firmware(struct wl1251 *wl) in wl1251_fetch_firmware()
104 static int wl1251_fetch_nvs(struct wl1251 *wl) in wl1251_fetch_nvs()
141 static void wl1251_fw_wakeup(struct wl1251 *wl) in wl1251_fw_wakeup()
153 static int wl1251_chip_wakeup(struct wl1251 *wl) in wl1251_chip_wakeup()
219 struct wl1251 *wl = in wl1251_irq_work()
220 container_of(work, struct wl1251, irq_work); in wl1251_irq_work()
[all …]
Devent.c29 static int wl1251_event_scan_complete(struct wl1251 *wl, in wl1251_event_scan_complete()
52 static int wl1251_event_process(struct wl1251 *wl, struct event_mailbox *mbox) in wl1251_event_process()
120 int wl1251_event_wait(struct wl1251 *wl, u32 mask, int timeout_ms) in wl1251_event_wait()
145 int wl1251_event_unmask(struct wl1251 *wl) in wl1251_event_unmask()
156 void wl1251_event_mbox_config(struct wl1251 *wl) in wl1251_event_mbox_config()
165 int wl1251_event_handle(struct wl1251 *wl, u8 mbox_num) in wl1251_event_handle()
Ddebugfs.h27 int wl1251_debugfs_init(struct wl1251 *wl);
28 void wl1251_debugfs_exit(struct wl1251 *wl);
29 void wl1251_debugfs_reset(struct wl1251 *wl);
Dps.h29 int wl1251_ps_set_mode(struct wl1251 *wl, enum wl1251_station_mode mode);
30 void wl1251_ps_elp_sleep(struct wl1251 *wl);
31 int wl1251_ps_elp_wakeup(struct wl1251 *wl);
Dcmd.c21 int wl1251_cmd_send(struct wl1251 *wl, u16 id, void *buf, size_t len) in wl1251_cmd_send()
68 int wl1251_cmd_test(struct wl1251 *wl, void *buf, size_t buf_len, u8 answer) in wl1251_cmd_test()
109 int wl1251_cmd_interrogate(struct wl1251 *wl, u16 id, void *buf, size_t len) in wl1251_cmd_interrogate()
147 int wl1251_cmd_configure(struct wl1251 *wl, u16 id, void *buf, size_t len) in wl1251_cmd_configure()
168 int wl1251_cmd_vbm(struct wl1251 *wl, u8 identity, in wl1251_cmd_vbm()
206 int wl1251_cmd_data_path(struct wl1251 *wl, u8 channel, bool enable) in wl1251_cmd_data_path()
255 int wl1251_cmd_join(struct wl1251 *wl, u8 bss_type, u8 channel, in wl1251_cmd_join()
309 int wl1251_cmd_ps_mode(struct wl1251 *wl, u8 ps_mode) in wl1251_cmd_ps_mode()
340 int wl1251_cmd_read_memory(struct wl1251 *wl, u32 addr, void *answer, in wl1251_cmd_read_memory()
380 int wl1251_cmd_template_set(struct wl1251 *wl, u16 cmd_id, in wl1251_cmd_template_set()
[all …]
Dps.c33 struct wl1251 *wl; in wl1251_elp_work()
36 wl = container_of(dwork, struct wl1251, elp_work); in wl1251_elp_work()
56 void wl1251_ps_elp_sleep(struct wl1251 *wl) in wl1251_ps_elp_sleep()
66 int wl1251_ps_elp_wakeup(struct wl1251 *wl) in wl1251_ps_elp_wakeup()
107 int wl1251_ps_set_mode(struct wl1251 *wl, enum wl1251_station_mode mode) in wl1251_ps_set_mode()
Devent.h115 int wl1251_event_unmask(struct wl1251 *wl);
116 void wl1251_event_mbox_config(struct wl1251 *wl);
117 int wl1251_event_handle(struct wl1251 *wl, u8 mbox);
118 int wl1251_event_wait(struct wl1251 *wl, u32 mask, int timeout_ms);
Dtx.c32 static bool wl1251_tx_double_buffer_busy(struct wl1251 *wl, u32 data_out_count) in wl1251_tx_double_buffer_busy()
53 static int wl1251_tx_path_status(struct wl1251 *wl) in wl1251_tx_path_status()
69 static int wl1251_tx_id(struct wl1251 *wl, struct sk_buff *skb) in wl1251_tx_id()
143 static int wl1251_tx_fill_hdr(struct wl1251 *wl, struct sk_buff *skb, in wl1251_tx_fill_hdr()
177 static int wl1251_tx_send_packet(struct wl1251 *wl, struct sk_buff *skb, in wl1251_tx_send_packet()
261 static void wl1251_tx_trigger(struct wl1251 *wl) in wl1251_tx_trigger()
281 static int wl1251_tx_frame(struct wl1251 *wl, struct sk_buff *skb) in wl1251_tx_frame()
317 struct wl1251 *wl = container_of(work, struct wl1251, tx_work); in wl1251_tx_work()
380 static void wl1251_tx_packet_cb(struct wl1251 *wl, in wl1251_tx_packet_cb()
427 void wl1251_tx_complete(struct wl1251 *wl) in wl1251_tx_complete()
[all …]
Drx.c34 static void wl1251_rx_header(struct wl1251 *wl, in wl1251_rx_header()
46 static void wl1251_rx_status(struct wl1251 *wl, in wl1251_rx_status()
147 static void wl1251_rx_body(struct wl1251 *wl, in wl1251_rx_body()
199 static void wl1251_rx_ack(struct wl1251 *wl) in wl1251_rx_ack()
218 void wl1251_rx(struct wl1251 *wl) in wl1251_rx()
Dboot.c31 void wl1251_boot_target_enable_interrupts(struct wl1251 *wl) in wl1251_boot_target_enable_interrupts()
37 int wl1251_boot_soft_reset(struct wl1251 *wl) in wl1251_boot_soft_reset()
72 int wl1251_boot_init_seq(struct wl1251 *wl) in wl1251_boot_init_seq()
210 static void wl1251_boot_set_ecpu_ctrl(struct wl1251 *wl, u32 flag) in wl1251_boot_set_ecpu_ctrl()
222 int wl1251_boot_run_firmware(struct wl1251 *wl) in wl1251_boot_run_firmware()
316 static int wl1251_boot_upload_firmware(struct wl1251 *wl) in wl1251_boot_upload_firmware()
401 static int wl1251_boot_upload_nvs(struct wl1251 *wl) in wl1251_boot_upload_nvs()
480 int wl1251_boot(struct wl1251 *wl) in wl1251_boot()
DMakefile1 wl1251-objs = main.o event.o tx.o rx.o ps.o cmd.o \
6 obj-$(CONFIG_WL1251) += wl1251.o
Ddebugfs.c40 struct wl1251 *wl = file->private_data; \
74 struct wl1251 *wl = file->private_data; \
97 static void wl1251_debugfs_update_stats(struct wl1251 *wl) in wl1251_debugfs_update_stats()
219 struct wl1251 *wl = file->private_data; in tx_queue_len_read()
239 struct wl1251 *wl = file->private_data; in tx_queue_status_read()
258 static void wl1251_debugfs_delete_files(struct wl1251 *wl) in wl1251_debugfs_delete_files()
357 static int wl1251_debugfs_add_files(struct wl1251 *wl) in wl1251_debugfs_add_files()
464 void wl1251_debugfs_reset(struct wl1251 *wl) in wl1251_debugfs_reset()
472 int wl1251_debugfs_init(struct wl1251 *wl) in wl1251_debugfs_init()
526 void wl1251_debugfs_exit(struct wl1251 *wl) in wl1251_debugfs_exit()
Dtx.h228 void wl1251_tx_complete(struct wl1251 *wl);
229 void wl1251_tx_flush(struct wl1251 *wl);

12