Home
last modified time | relevance | path

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

12

/linux/drivers/net/wireless/ti/wl1251/
A 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 …]
A Dacx.h1436 int wl1251_acx_station_id(struct wl1251 *wl);
1444 int wl1251_acx_mem_map(struct wl1251 *wl,
1446 int wl1251_acx_data_path_params(struct wl1251 *wl,
1450 int wl1251_acx_pd_threshold(struct wl1251 *wl);
1459 int wl1251_acx_sg_enable(struct wl1251 *wl);
1460 int wl1251_acx_sg_cfg(struct wl1251 *wl);
1461 int wl1251_acx_cca_threshold(struct wl1251 *wl);
1463 int wl1251_acx_aid(struct wl1251 *wl, u16 aid);
1468 int wl1251_acx_cts_protect(struct wl1251 *wl,
1472 int wl1251_acx_rate_policies(struct wl1251 *wl);
[all …]
A 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 …]
A Dacx.c42 int wl1251_acx_station_id(struct wl1251 *wl) in wl1251_acx_station_id()
235 int wl1251_acx_data_path_params(struct wl1251 *wl, in wl1251_acx_data_path_params()
332 int wl1251_acx_pd_threshold(struct wl1251 *wl) in wl1251_acx_pd_threshold()
543 int wl1251_acx_sg_enable(struct wl1251 *wl) in wl1251_acx_sg_enable()
567 int wl1251_acx_sg_cfg(struct wl1251 *wl) in wl1251_acx_sg_cfg()
619 int wl1251_acx_cca_threshold(struct wl1251 *wl) in wl1251_acx_cca_threshold()
642 int wl1251_acx_bcn_dtim_options(struct wl1251 *wl) in wl1251_acx_bcn_dtim_options()
669 int wl1251_acx_aid(struct wl1251 *wl, u16 aid) in wl1251_acx_aid()
770 int wl1251_acx_cts_protect(struct wl1251 *wl, in wl1251_acx_cts_protect()
835 int wl1251_acx_rate_policies(struct wl1251 *wl) in wl1251_acx_rate_policies()
[all …]
A 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()
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()
145 static void wl1251_enable_line_irq(struct wl1251 *wl) in wl1251_enable_line_irq()
150 static void wl1251_disable_line_irq(struct wl1251 *wl) in wl1251_disable_line_irq()
197 struct wl1251 *wl; in wl1251_sdio_probe()
[all …]
A Dwl1251.h135 struct wl1251;
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
390 int wl1251_plt_start(struct wl1251 *wl); argument
391 int wl1251_plt_stop(struct wl1251 *wl);
394 int wl1251_free_hw(struct wl1251 *wl);
395 int wl1251_init_ieee80211(struct wl1251 *wl);
[all …]
A Dcmd.h18 int wl1251_cmd_send(struct wl1251 *wl, u16 type, void *buf, size_t buf_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,
31 int wl1251_cmd_template_set(struct wl1251 *wl, u16 cmd_id,
33 int wl1251_cmd_scan(struct wl1251 *wl, u8 *ssid, size_t ssid_len,
[all …]
A 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()
A 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()
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()
256 static int wl1251_hw_init_tx_queue_config(struct wl1251 *wl) in wl1251_hw_init_tx_queue_config()
[all …]
A 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);
A 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
A 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()
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()
232 struct wl1251 *wl; in wl1251_spi_probe()
[all …]
A Dmain.c200 struct wl1251 *wl = in wl1251_irq_work()
342 struct wl1251 *wl = hw->priv; in wl1251_op_tx()
370 struct wl1251 *wl = hw->priv; in wl1251_op_start()
420 struct wl1251 *wl = hw->priv; in wl1251_op_stop()
483 struct wl1251 *wl = hw->priv; in wl1251_op_add_interface()
529 struct wl1251 *wl = hw->priv; in wl1251_op_remove_interface()
594 struct wl1251 *wl = hw->priv; in wl1251_op_config()
723 struct wl1251 *wl = hw->priv; in wl1251_op_prepare_multicast()
762 struct wl1251 *wl = hw->priv; in wl1251_op_configure_filter()
871 struct wl1251 *wl = hw->priv; in wl1251_op_set_key()
[all …]
A 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()
169 int wl1251_cmd_vbm(struct wl1251 *wl, u8 identity, in wl1251_cmd_vbm()
205 int wl1251_cmd_data_path_rx(struct wl1251 *wl, u8 channel, bool enable) in wl1251_cmd_data_path_rx()
239 int wl1251_cmd_data_path_tx(struct wl1251 *wl, u8 channel, bool enable) in wl1251_cmd_data_path_tx()
270 int wl1251_cmd_join(struct wl1251 *wl, u8 bss_type, u8 channel, in wl1251_cmd_join()
313 int wl1251_cmd_ps_mode(struct wl1251 *wl, u8 ps_mode) in wl1251_cmd_ps_mode()
342 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()
413 int wl1251_cmd_scan(struct wl1251 *wl, u8 *ssid, size_t ssid_len, in wl1251_cmd_scan()
[all …]
A 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()
A 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()
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()
443 void wl1251_tx_complete(struct wl1251 *wl) in wl1251_tx_complete()
[all …]
A 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()
A 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);
A 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);
A 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);
A 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()
A 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()
A 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()
A DMakefile2 wl1251-objs = main.o event.o tx.o rx.o ps.o cmd.o \
7 obj-$(CONFIG_WL1251) += wl1251.o
/linux/Documentation/devicetree/bindings/net/wireless/
A Dti,wl1251.txt1 * Texas Instruments wl1251 wireless lan controller
3 The wl1251 chip can be connected via SPI or via SDIO. This
7 - compatible : Should be "ti,wl1251"
14 - ti,wl1251-has-eeprom : boolean, the wl1251 has an eeprom connected, which
24 wl1251@0 {
25 compatible = "ti,wl1251";
55 compatible = "ti,wl1251";
62 ti,wl1251-has-eeprom;

Completed in 44 milliseconds

12