Home
last modified time | relevance | path

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

12

/drivers/net/wireless/ti/wl1251/
Dinit.h60 int wl1251_hw_init_hwenc_config(struct wl1251 *wl);
61 int wl1251_hw_init_templates_config(struct wl1251 *wl);
62 int wl1251_hw_init_rx_config(struct wl1251 *wl, u32 config, u32 filter);
63 int wl1251_hw_init_phy_config(struct wl1251 *wl);
64 int wl1251_hw_init_beacon_filter(struct wl1251 *wl);
65 int wl1251_hw_init_pta(struct wl1251 *wl);
66 int wl1251_hw_init_energy_detection(struct wl1251 *wl);
67 int wl1251_hw_init_beacon_broadcast(struct wl1251 *wl);
68 int wl1251_hw_init_power_auth(struct wl1251 *wl);
69 int wl1251_hw_init_mem_config(struct wl1251 *wl);
[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, u32 data_flow_options);
1444 int wl1251_acx_mem_map(struct wl1251 *wl,
1446 int wl1251_acx_data_path_params(struct wl1251 *wl,
[all …]
Dio.h23 static inline u32 wl1251_read32(struct wl1251 *wl, int addr) in wl1251_read32()
30 static inline void wl1251_write32(struct wl1251 *wl, int addr, u32 val) in wl1251_write32()
36 static inline u32 wl1251_read_elp(struct wl1251 *wl, int addr) in wl1251_read_elp()
48 static inline void wl1251_write_elp(struct wl1251 *wl, int addr, u32 val) in wl1251_write_elp()
57 void wl1251_mem_read(struct wl1251 *wl, int addr, void *buf, size_t len);
58 void wl1251_mem_write(struct wl1251 *wl, int addr, void *buf, size_t len);
59 u32 wl1251_mem_read32(struct wl1251 *wl, int addr);
60 void wl1251_mem_write32(struct wl1251 *wl, int addr, u32 val);
62 u32 wl1251_reg_read32(struct wl1251 *wl, int addr);
63 void wl1251_reg_write32(struct wl1251 *wl, int addr, u32 val);
[all …]
Dacx.c12 int wl1251_acx_frame_rates(struct wl1251 *wl, u8 ctrl_rate, u8 ctrl_mod, in wl1251_acx_frame_rates()
42 int wl1251_acx_station_id(struct wl1251 *wl) in wl1251_acx_station_id()
62 int wl1251_acx_default_key(struct wl1251 *wl, u8 key_id) in wl1251_acx_default_key()
89 int wl1251_acx_wake_up_conditions(struct wl1251 *wl, u8 wake_up_event, in wl1251_acx_wake_up_conditions()
116 int wl1251_acx_sleep_auth(struct wl1251 *wl, u8 sleep_auth) in wl1251_acx_sleep_auth()
135 int wl1251_acx_fw_version(struct wl1251 *wl, char *buf, size_t len) in wl1251_acx_fw_version()
167 int wl1251_acx_tx_power(struct wl1251 *wl, int power) in wl1251_acx_tx_power()
194 int wl1251_acx_feature_cfg(struct wl1251 *wl, u32 data_flow_options) in wl1251_acx_feature_cfg()
221 int wl1251_acx_mem_map(struct wl1251 *wl, struct acx_header *mem_map, in wl1251_acx_mem_map()
235 int wl1251_acx_data_path_params(struct wl1251 *wl, in wl1251_acx_data_path_params()
[all …]
Dsdio.c28 static struct sdio_func *wl_to_func(struct wl1251 *wl) in wl_to_func()
36 struct wl1251 *wl = sdio_get_drvdata(func); in wl1251_sdio_interrupt()
51 static void wl1251_sdio_read(struct wl1251 *wl, int addr, in wl1251_sdio_read()
64 static void wl1251_sdio_write(struct wl1251 *wl, int addr, in wl1251_sdio_write()
77 static void wl1251_sdio_read_elp(struct wl1251 *wl, int addr, u32 *val) in wl1251_sdio_read_elp()
97 static void wl1251_sdio_write_elp(struct wl1251 *wl, int addr, u32 val) in wl1251_sdio_write_elp()
113 static void wl1251_sdio_reset(struct wl1251 *wl) in wl1251_sdio_reset()
117 static void wl1251_sdio_enable_irq(struct wl1251 *wl) in wl1251_sdio_enable_irq()
126 static void wl1251_sdio_disable_irq(struct wl1251 *wl) in wl1251_sdio_disable_irq()
138 struct wl1251 *wl = cookie; in wl1251_line_irq()
[all …]
Dwl1251.h135 struct wl1251;
248 void (*read)(struct wl1251 *wl, int addr, void *buf, size_t len);
249 void (*write)(struct wl1251 *wl, int addr, void *buf, size_t len);
250 void (*read_elp)(struct wl1251 *wl, int addr, u32 *val);
251 void (*write_elp)(struct wl1251 *wl, int addr, u32 val);
252 int (*power)(struct wl1251 *wl, bool enable);
253 void (*reset)(struct wl1251 *wl);
254 void (*enable_irq)(struct wl1251 *wl);
255 void (*disable_irq)(struct wl1251 *wl);
258 struct wl1251 { struct
[all …]
Dcmd.h18 int wl1251_cmd_send(struct wl1251 *wl, u16 type, void *buf, size_t buf_len);
19 int wl1251_cmd_test(struct wl1251 *wl, void *buf, size_t buf_len, u8 answer);
20 int wl1251_cmd_interrogate(struct wl1251 *wl, u16 id, void *buf, size_t len);
21 int wl1251_cmd_configure(struct wl1251 *wl, u16 id, void *buf, size_t len);
22 int wl1251_cmd_vbm(struct wl1251 *wl, u8 identity,
24 int wl1251_cmd_data_path_rx(struct wl1251 *wl, u8 channel, bool enable);
25 int wl1251_cmd_data_path_tx(struct wl1251 *wl, u8 channel, bool enable);
26 int wl1251_cmd_join(struct wl1251 *wl, u8 bss_type, u8 channel,
28 int wl1251_cmd_ps_mode(struct wl1251 *wl, u8 ps_mode);
29 int wl1251_cmd_read_memory(struct wl1251 *wl, u32 addr, void *answer,
[all …]
Dio.c27 static int wl1251_translate_reg_addr(struct wl1251 *wl, int addr) in wl1251_translate_reg_addr()
44 static int wl1251_translate_mem_addr(struct wl1251 *wl, int addr) in wl1251_translate_mem_addr()
49 void wl1251_mem_read(struct wl1251 *wl, int addr, void *buf, size_t len) in wl1251_mem_read()
58 void wl1251_mem_write(struct wl1251 *wl, int addr, void *buf, size_t len) in wl1251_mem_write()
67 u32 wl1251_mem_read32(struct wl1251 *wl, int addr) in wl1251_mem_read32()
72 void wl1251_mem_write32(struct wl1251 *wl, int addr, u32 val) in wl1251_mem_write32()
77 u32 wl1251_reg_read32(struct wl1251 *wl, int addr) in wl1251_reg_read32()
82 void wl1251_reg_write32(struct wl1251 *wl, int addr, u32 val) in wl1251_reg_write32()
120 void wl1251_set_partition(struct wl1251 *wl, in wl1251_set_partition()
Dinit.c18 int wl1251_hw_init_hwenc_config(struct wl1251 *wl) in wl1251_hw_init_hwenc_config()
37 int wl1251_hw_init_templates_config(struct wl1251 *wl) in wl1251_hw_init_templates_config()
89 int wl1251_hw_init_rx_config(struct wl1251 *wl, u32 config, u32 filter) in wl1251_hw_init_rx_config()
104 int wl1251_hw_init_phy_config(struct wl1251 *wl) in wl1251_hw_init_phy_config()
131 int wl1251_hw_init_beacon_filter(struct wl1251 *wl) in wl1251_hw_init_beacon_filter()
147 int wl1251_hw_init_pta(struct wl1251 *wl) in wl1251_hw_init_pta()
162 int wl1251_hw_init_energy_detection(struct wl1251 *wl) in wl1251_hw_init_energy_detection()
173 int wl1251_hw_init_beacon_broadcast(struct wl1251 *wl) in wl1251_hw_init_beacon_broadcast()
184 int wl1251_hw_init_power_auth(struct wl1251 *wl) in wl1251_hw_init_power_auth()
189 int wl1251_hw_init_mem_config(struct wl1251 *wl) in wl1251_hw_init_mem_config()
[all …]
Dboot.h13 int wl1251_boot_soft_reset(struct wl1251 *wl);
14 int wl1251_boot_init_seq(struct wl1251 *wl);
15 int wl1251_boot_run_firmware(struct wl1251 *wl);
16 void wl1251_boot_target_enable_interrupts(struct wl1251 *wl);
17 int wl1251_boot(struct wl1251 *wl);
DKconfig3 tristate "TI wl1251 driver support"
8 This will enable TI wl1251 driver support. The drivers make
11 If you choose to build a module, it'll be called wl1251. Say
15 tristate "TI wl1251 SPI support"
19 TI wl1251 chipset. Select this if your platform is using
26 tristate "TI wl1251 SDIO support"
30 TI wl1251 chipset. Select this if your platform is using
Dspi.c27 struct wl1251 *wl; in wl1251_irq()
38 static struct spi_device *wl_to_spi(struct wl1251 *wl) in wl_to_spi()
43 static void wl1251_spi_reset(struct wl1251 *wl) in wl1251_spi_reset()
71 static void wl1251_spi_wake(struct wl1251 *wl) in wl1251_spi_wake()
123 static void wl1251_spi_reset_wake(struct wl1251 *wl) in wl1251_spi_reset_wake()
129 static void wl1251_spi_read(struct wl1251 *wl, int addr, void *buf, in wl1251_spi_read()
169 static void wl1251_spi_write(struct wl1251 *wl, int addr, void *buf, in wl1251_spi_write()
200 static void wl1251_spi_enable_irq(struct wl1251 *wl) in wl1251_spi_enable_irq()
205 static void wl1251_spi_disable_irq(struct wl1251 *wl) in wl1251_spi_disable_irq()
210 static int wl1251_spi_set_power(struct wl1251 *wl, bool enable) in wl1251_spi_set_power()
[all …]
Dmain.c32 void wl1251_enable_interrupts(struct wl1251 *wl) in wl1251_enable_interrupts()
37 void wl1251_disable_interrupts(struct wl1251 *wl) in wl1251_disable_interrupts()
42 static int wl1251_power_off(struct wl1251 *wl) in wl1251_power_off()
47 static int wl1251_power_on(struct wl1251 *wl) in wl1251_power_on()
52 static int wl1251_fetch_firmware(struct wl1251 *wl) in wl1251_fetch_firmware()
91 static int wl1251_fetch_nvs(struct wl1251 *wl) in wl1251_fetch_nvs()
129 static void wl1251_fw_wakeup(struct wl1251 *wl) in wl1251_fw_wakeup()
141 static int wl1251_chip_wakeup(struct wl1251 *wl) in wl1251_chip_wakeup()
200 struct wl1251 *wl = in wl1251_irq_work()
201 container_of(work, struct wl1251, irq_work); in wl1251_irq_work()
[all …]
Dcmd.c22 int wl1251_cmd_send(struct wl1251 *wl, u16 id, void *buf, size_t len) in wl1251_cmd_send()
69 int wl1251_cmd_test(struct wl1251 *wl, void *buf, size_t buf_len, u8 answer) in wl1251_cmd_test()
110 int wl1251_cmd_interrogate(struct wl1251 *wl, u16 id, void *buf, size_t len) in wl1251_cmd_interrogate()
148 int wl1251_cmd_configure(struct wl1251 *wl, u16 id, void *buf, size_t len) in wl1251_cmd_configure()
169 int wl1251_cmd_vbm(struct wl1251 *wl, u8 identity, in wl1251_cmd_vbm()
207 int wl1251_cmd_data_path_rx(struct wl1251 *wl, u8 channel, bool enable) in wl1251_cmd_data_path_rx()
243 int wl1251_cmd_data_path_tx(struct wl1251 *wl, u8 channel, bool enable) in wl1251_cmd_data_path_tx()
274 int wl1251_cmd_join(struct wl1251 *wl, u8 bss_type, u8 channel, in wl1251_cmd_join()
319 int wl1251_cmd_ps_mode(struct wl1251 *wl, u8 ps_mode) in wl1251_cmd_ps_mode()
350 int wl1251_cmd_read_memory(struct wl1251 *wl, u32 addr, void *answer, in wl1251_cmd_read_memory()
[all …]
Devent.c15 static int wl1251_event_scan_complete(struct wl1251 *wl, in wl1251_event_scan_complete()
40 static int wl1251_event_ps_report(struct wl1251 *wl, in wl1251_event_ps_report()
83 static int wl1251_event_process(struct wl1251 *wl, struct event_mailbox *mbox) in wl1251_event_process()
158 int wl1251_event_wait(struct wl1251 *wl, u32 mask, int timeout_ms) in wl1251_event_wait()
183 int wl1251_event_unmask(struct wl1251 *wl) in wl1251_event_unmask()
194 void wl1251_event_mbox_config(struct wl1251 *wl) in wl1251_event_mbox_config()
203 int wl1251_event_handle(struct wl1251 *wl, u8 mbox_num) in wl1251_event_handle()
Dtx.c19 static bool wl1251_tx_double_buffer_busy(struct wl1251 *wl, u32 data_out_count) in wl1251_tx_double_buffer_busy()
40 static int wl1251_tx_path_status(struct wl1251 *wl) in wl1251_tx_path_status()
56 static int wl1251_tx_id(struct wl1251 *wl, struct sk_buff *skb) in wl1251_tx_id()
134 static int wl1251_tx_fill_hdr(struct wl1251 *wl, struct sk_buff *skb, in wl1251_tx_fill_hdr()
167 static int wl1251_tx_send_packet(struct wl1251 *wl, struct sk_buff *skb, in wl1251_tx_send_packet()
249 static void wl1251_tx_trigger(struct wl1251 *wl) in wl1251_tx_trigger()
268 static void enable_tx_for_packet_injection(struct wl1251 *wl) in enable_tx_for_packet_injection()
289 static int wl1251_tx_frame(struct wl1251 *wl, struct sk_buff *skb) in wl1251_tx_frame()
332 struct wl1251 *wl = container_of(work, struct wl1251, tx_work); in wl1251_tx_work()
395 static void wl1251_tx_packet_cb(struct wl1251 *wl, in wl1251_tx_packet_cb()
[all …]
Dps.c19 struct wl1251 *wl; in wl1251_elp_work()
22 wl = container_of(dwork, struct wl1251, elp_work); in wl1251_elp_work()
42 void wl1251_ps_elp_sleep(struct wl1251 *wl) in wl1251_ps_elp_sleep()
52 int wl1251_ps_elp_wakeup(struct wl1251 *wl) in wl1251_ps_elp_wakeup()
92 int wl1251_ps_set_mode(struct wl1251 *wl, enum wl1251_station_mode mode) in wl1251_ps_set_mode()
Ddebugfs.h13 int wl1251_debugfs_init(struct wl1251 *wl);
14 void wl1251_debugfs_exit(struct wl1251 *wl);
15 void wl1251_debugfs_reset(struct wl1251 *wl);
Dps.h15 int wl1251_ps_set_mode(struct wl1251 *wl, enum wl1251_station_mode mode);
16 void wl1251_ps_elp_sleep(struct wl1251 *wl);
17 int wl1251_ps_elp_wakeup(struct wl1251 *wl);
Devent.h108 int wl1251_event_unmask(struct wl1251 *wl);
109 void wl1251_event_mbox_config(struct wl1251 *wl);
110 int wl1251_event_handle(struct wl1251 *wl, u8 mbox);
111 int wl1251_event_wait(struct wl1251 *wl, u32 mask, int timeout_ms);
Dboot.c17 void wl1251_boot_target_enable_interrupts(struct wl1251 *wl) in wl1251_boot_target_enable_interrupts()
23 int wl1251_boot_soft_reset(struct wl1251 *wl) in wl1251_boot_soft_reset()
58 int wl1251_boot_init_seq(struct wl1251 *wl) in wl1251_boot_init_seq()
196 static void wl1251_boot_set_ecpu_ctrl(struct wl1251 *wl, u32 flag) in wl1251_boot_set_ecpu_ctrl()
208 int wl1251_boot_run_firmware(struct wl1251 *wl) in wl1251_boot_run_firmware()
303 static int wl1251_boot_upload_firmware(struct wl1251 *wl) in wl1251_boot_upload_firmware()
388 static int wl1251_boot_upload_nvs(struct wl1251 *wl) in wl1251_boot_upload_nvs()
467 int wl1251_boot(struct wl1251 *wl) in wl1251_boot()
Drx.c20 static void wl1251_rx_header(struct wl1251 *wl, in wl1251_rx_header()
32 static void wl1251_rx_status(struct wl1251 *wl, in wl1251_rx_status()
133 static void wl1251_rx_body(struct wl1251 *wl, in wl1251_rx_body()
185 static void wl1251_rx_ack(struct wl1251 *wl) in wl1251_rx_ack()
204 void wl1251_rx(struct wl1251 *wl) in wl1251_rx()
Ddebugfs.c26 struct wl1251 *wl = file->private_data; \
55 struct wl1251 *wl = file->private_data; \
78 static void wl1251_debugfs_update_stats(struct wl1251 *wl) in wl1251_debugfs_update_stats()
200 struct wl1251 *wl = file->private_data; in tx_queue_len_read()
220 struct wl1251 *wl = file->private_data; in tx_queue_status_read()
239 static void wl1251_debugfs_delete_files(struct wl1251 *wl) in wl1251_debugfs_delete_files()
338 static void wl1251_debugfs_add_files(struct wl1251 *wl) in wl1251_debugfs_add_files()
437 void wl1251_debugfs_reset(struct wl1251 *wl) in wl1251_debugfs_reset()
445 int wl1251_debugfs_init(struct wl1251 *wl) in wl1251_debugfs_init()
463 void wl1251_debugfs_exit(struct wl1251 *wl) in wl1251_debugfs_exit()
DMakefile2 wl1251-objs = main.o event.o tx.o rx.o ps.o cmd.o \
7 obj-$(CONFIG_WL1251) += wl1251.o
/drivers/net/wireless/ti/wl12xx/
DKconfig9 support for wl1251. For wl1251 support, use the separate homonymous

12