/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl1251/ |
H A D | init.h | 3 * This file is part of wl1251 11 #include "wl1251.h" 60 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 *w [all...] |
H A D | io.h | 10 #include "wl1251.h" 23 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 *w [all...] |
H A D | acx.h | 3 * This file is part of wl1251 12 #include "wl1251.h" 1370 ACX_TX_QUEUE_CFG = 0x0011, /* FIXME: only used by wl1251 */ 1434 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 *w [all...] |
H A D | acx.c | 7 #include "wl1251.h" 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 *w [all...] |
H A D | cmd.h | 3 * This file is part of wl1251 12 #include "wl1251.h" 18 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 *w [all...] |
H A D | boot.h | 3 * This file is part of wl1251 11 #include "wl1251.h" 13 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);
|
H A D | wl1251.h | 3 * This file is part of wl1251 17 #define DRIVER_NAME "wl1251" 135 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 *w 258 struct wl1251 { global() struct [all...] |
H A D | io.c | 8 #include "wl1251.h" 27 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 *w [all...] |
H A D | sdio.c | 21 #include "wl1251.h" 28 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 *w [all...] |
H A D | init.c | 3 * This file is part of wl1251 18 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 *w [all...] |
H A D | main.c | 3 * This file is part of wl1251 19 #include "wl1251.h" 32 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 *w [all...] |
H A D | spi.c | 3 * This file is part of wl1251 21 #include "wl1251.h" 27 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 *w [all...] |
H A D | event.c | 3 * This file is part of wl1251 9 #include "wl1251.h" 15 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()
|
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wl1251/ |
H A D | init.h | 3 * This file is part of wl1251 11 #include "wl1251.h" 60 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 *w [all...] |
H A D | io.h | 10 #include "wl1251.h" 23 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 *w [all...] |
H A D | acx.h | 3 * This file is part of wl1251 12 #include "wl1251.h" 1370 ACX_TX_QUEUE_CFG = 0x0011, /* FIXME: only used by wl1251 */ 1434 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 *w [all...] |
H A D | acx.c | 7 #include "wl1251.h" 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 *w [all...] |
H A D | cmd.h | 3 * This file is part of wl1251 12 #include "wl1251.h" 18 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 *w [all...] |
H A D | boot.h | 3 * This file is part of wl1251 11 #include "wl1251.h" 13 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);
|
H A D | wl1251.h | 3 * This file is part of wl1251 17 #define DRIVER_NAME "wl1251" 135 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 *w 258 struct wl1251 { global() struct [all...] |
H A D | sdio.c | 20 #include "wl1251.h" 27 static struct sdio_func *wl_to_func(struct wl1251 *wl) in wl_to_func() 35 struct wl1251 *wl = sdio_get_drvdata(func); in wl1251_sdio_interrupt() 50 static void wl1251_sdio_read(struct wl1251 *wl, int addr, in wl1251_sdio_read() 63 static void wl1251_sdio_write(struct wl1251 *wl, int addr, in wl1251_sdio_write() 76 static void wl1251_sdio_read_elp(struct wl1251 *wl, int addr, u32 *val) in wl1251_sdio_read_elp() 96 static void wl1251_sdio_write_elp(struct wl1251 *wl, int addr, u32 val) in wl1251_sdio_write_elp() 112 static void wl1251_sdio_reset(struct wl1251 *wl) in wl1251_sdio_reset() 116 static void wl1251_sdio_enable_irq(struct wl1251 *wl) in wl1251_sdio_enable_irq() 125 static void wl1251_sdio_disable_irq(struct wl1251 *w [all...] |
H A D | io.c | 8 #include "wl1251.h" 27 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 *w [all...] |
H A D | init.c | 3 * This file is part of wl1251 18 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 *w [all...] |
H A D | main.c | 3 * This file is part of wl1251 19 #include "wl1251.h" 32 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 *w [all...] |
H A D | spi.c | 3 * This file is part of wl1251 20 #include "wl1251.h" 31 struct wl1251 *wl; in wl1251_irq() 42 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() 124 static void wl1251_spi_reset_wake(struct wl1251 *wl) in wl1251_spi_reset_wake() 130 static void wl1251_spi_read(struct wl1251 *wl, int addr, void *buf, in wl1251_spi_read() 171 static void wl1251_spi_write(struct wl1251 *wl, int addr, void *buf, in wl1251_spi_write() 203 static void wl1251_spi_enable_irq(struct wl1251 *wl) in wl1251_spi_enable_irq() 208 static void wl1251_spi_disable_irq(struct wl1251 *w [all...] |