/Linux-v4.19/drivers/net/wireless/ti/wl1251/ |
D | init.h | 74 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 …]
|
D | io.h | 37 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 …]
|
D | acx.h | 1448 int wl1251_acx_frame_rates(struct wl1251 *wl, u8 ctrl_rate, u8 ctrl_mod, 1450 int wl1251_acx_station_id(struct wl1251 *wl); 1451 int wl1251_acx_default_key(struct wl1251 *wl, u8 key_id); 1452 int wl1251_acx_wake_up_conditions(struct wl1251 *wl, u8 wake_up_event, 1454 int wl1251_acx_sleep_auth(struct wl1251 *wl, u8 sleep_auth); 1455 int wl1251_acx_fw_version(struct wl1251 *wl, char *buf, size_t len); 1456 int wl1251_acx_tx_power(struct wl1251 *wl, int power); 1457 int wl1251_acx_feature_cfg(struct wl1251 *wl, u32 data_flow_options); 1458 int wl1251_acx_mem_map(struct wl1251 *wl, 1460 int wl1251_acx_data_path_params(struct wl1251 *wl, [all …]
|
D | acx.c | 12 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 …]
|
D | sdio.c | 48 static struct sdio_func *wl_to_func(struct wl1251 *wl) in wl_to_func() 56 struct wl1251 *wl = sdio_get_drvdata(func); in wl1251_sdio_interrupt() 71 static void wl1251_sdio_read(struct wl1251 *wl, int addr, in wl1251_sdio_read() 84 static void wl1251_sdio_write(struct wl1251 *wl, int addr, in wl1251_sdio_write() 97 static void wl1251_sdio_read_elp(struct wl1251 *wl, int addr, u32 *val) in wl1251_sdio_read_elp() 117 static void wl1251_sdio_write_elp(struct wl1251 *wl, int addr, u32 val) in wl1251_sdio_write_elp() 133 static void wl1251_sdio_reset(struct wl1251 *wl) in wl1251_sdio_reset() 137 static void wl1251_sdio_enable_irq(struct wl1251 *wl) in wl1251_sdio_enable_irq() 146 static void wl1251_sdio_disable_irq(struct wl1251 *wl) in wl1251_sdio_disable_irq() 158 struct wl1251 *wl = cookie; in wl1251_line_irq() [all …]
|
D | boot.h | 27 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);
|
D | wl1251.h | 149 struct wl1251; 262 void (*read)(struct wl1251 *wl, int addr, void *buf, size_t len); 263 void (*write)(struct wl1251 *wl, int addr, void *buf, size_t len); 264 void (*read_elp)(struct wl1251 *wl, int addr, u32 *val); 265 void (*write_elp)(struct wl1251 *wl, int addr, u32 val); 266 int (*power)(struct wl1251 *wl, bool enable); 267 void (*reset)(struct wl1251 *wl); 268 void (*enable_irq)(struct wl1251 *wl); 269 void (*disable_irq)(struct wl1251 *wl); 272 struct wl1251 { struct [all …]
|
D | cmd.h | 32 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_rx(struct wl1251 *wl, u8 channel, bool enable); 39 int wl1251_cmd_data_path_tx(struct wl1251 *wl, u8 channel, bool enable); 40 int wl1251_cmd_join(struct wl1251 *wl, u8 bss_type, u8 channel, 42 int wl1251_cmd_ps_mode(struct wl1251 *wl, u8 ps_mode); 43 int wl1251_cmd_read_memory(struct wl1251 *wl, u32 addr, void *answer, [all …]
|
D | io.c | 41 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()
|
D | Kconfig | 2 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
|
D | init.c | 32 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 …]
|
D | spi.c | 41 struct wl1251 *wl; in wl1251_irq() 52 static struct spi_device *wl_to_spi(struct wl1251 *wl) in wl_to_spi() 57 static void wl1251_spi_reset(struct wl1251 *wl) in wl1251_spi_reset() 85 static void wl1251_spi_wake(struct wl1251 *wl) in wl1251_spi_wake() 137 static void wl1251_spi_reset_wake(struct wl1251 *wl) in wl1251_spi_reset_wake() 143 static void wl1251_spi_read(struct wl1251 *wl, int addr, void *buf, in wl1251_spi_read() 183 static void wl1251_spi_write(struct wl1251 *wl, int addr, void *buf, in wl1251_spi_write() 214 static void wl1251_spi_enable_irq(struct wl1251 *wl) in wl1251_spi_enable_irq() 219 static void wl1251_spi_disable_irq(struct wl1251 *wl) in wl1251_spi_disable_irq() 224 static int wl1251_spi_set_power(struct wl1251 *wl, bool enable) in wl1251_spi_set_power() [all …]
|
D | main.c | 46 void wl1251_enable_interrupts(struct wl1251 *wl) in wl1251_enable_interrupts() 51 void wl1251_disable_interrupts(struct wl1251 *wl) in wl1251_disable_interrupts() 56 static int wl1251_power_off(struct wl1251 *wl) in wl1251_power_off() 61 static int wl1251_power_on(struct wl1251 *wl) in wl1251_power_on() 66 static int wl1251_fetch_firmware(struct wl1251 *wl) in wl1251_fetch_firmware() 105 static int wl1251_fetch_nvs(struct wl1251 *wl) in wl1251_fetch_nvs() 143 static void wl1251_fw_wakeup(struct wl1251 *wl) in wl1251_fw_wakeup() 155 static int wl1251_chip_wakeup(struct wl1251 *wl) in wl1251_chip_wakeup() 214 struct wl1251 *wl = in wl1251_irq_work() 215 container_of(work, struct wl1251, irq_work); in wl1251_irq_work() [all …]
|
D | event.c | 29 static int wl1251_event_scan_complete(struct wl1251 *wl, in wl1251_event_scan_complete() 54 static int wl1251_event_ps_report(struct wl1251 *wl, in wl1251_event_ps_report() 97 static int wl1251_event_process(struct wl1251 *wl, struct event_mailbox *mbox) in wl1251_event_process() 172 int wl1251_event_wait(struct wl1251 *wl, u32 mask, int timeout_ms) in wl1251_event_wait() 197 int wl1251_event_unmask(struct wl1251 *wl) in wl1251_event_unmask() 208 void wl1251_event_mbox_config(struct wl1251 *wl) in wl1251_event_mbox_config() 217 int wl1251_event_handle(struct wl1251 *wl, u8 mbox_num) in wl1251_event_handle()
|
D | cmd.c | 22 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 …]
|
D | debugfs.h | 27 int wl1251_debugfs_init(struct wl1251 *wl); 28 void wl1251_debugfs_exit(struct wl1251 *wl); 29 void wl1251_debugfs_reset(struct wl1251 *wl);
|
D | ps.h | 29 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);
|
D | ps.c | 33 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() 106 int wl1251_ps_set_mode(struct wl1251 *wl, enum wl1251_station_mode mode) in wl1251_ps_set_mode()
|
D | tx.c | 33 static bool wl1251_tx_double_buffer_busy(struct wl1251 *wl, u32 data_out_count) in wl1251_tx_double_buffer_busy() 54 static int wl1251_tx_path_status(struct wl1251 *wl) in wl1251_tx_path_status() 70 static int wl1251_tx_id(struct wl1251 *wl, struct sk_buff *skb) in wl1251_tx_id() 148 static int wl1251_tx_fill_hdr(struct wl1251 *wl, struct sk_buff *skb, in wl1251_tx_fill_hdr() 181 static int wl1251_tx_send_packet(struct wl1251 *wl, struct sk_buff *skb, in wl1251_tx_send_packet() 263 static void wl1251_tx_trigger(struct wl1251 *wl) in wl1251_tx_trigger() 282 static void enable_tx_for_packet_injection(struct wl1251 *wl) in enable_tx_for_packet_injection() 303 static int wl1251_tx_frame(struct wl1251 *wl, struct sk_buff *skb) in wl1251_tx_frame() 346 struct wl1251 *wl = container_of(work, struct wl1251, tx_work); in wl1251_tx_work() 409 static void wl1251_tx_packet_cb(struct wl1251 *wl, in wl1251_tx_packet_cb() [all …]
|
D | event.h | 122 int wl1251_event_unmask(struct wl1251 *wl); 123 void wl1251_event_mbox_config(struct wl1251 *wl); 124 int wl1251_event_handle(struct wl1251 *wl, u8 mbox); 125 int wl1251_event_wait(struct wl1251 *wl, u32 mask, int timeout_ms);
|
D | rx.c | 34 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()
|
D | boot.c | 31 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() 317 static int wl1251_boot_upload_firmware(struct wl1251 *wl) in wl1251_boot_upload_firmware() 402 static int wl1251_boot_upload_nvs(struct wl1251 *wl) in wl1251_boot_upload_nvs() 481 int wl1251_boot(struct wl1251 *wl) in wl1251_boot()
|
D | debugfs.c | 40 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()
|
/Linux-v4.19/Documentation/devicetree/bindings/net/wireless/ |
D | ti,wl1251.txt | 1 * 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" 15 - ti,wl1251-has-eeprom : boolean, the wl1251 has an eeprom connected, which 23 wl1251@0 { 24 compatible = "ti,wl1251";
|
/Linux-v4.19/drivers/net/wireless/ti/wl12xx/ |
D | Kconfig | 8 support for wl1251. For wl1251 support, use the separate homonymous
|