Home
last modified time | relevance | path

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

12

/linux-2.6.39/drivers/net/wireless/wl12xx/
Dio.h45 struct wl1271;
47 void wl1271_disable_interrupts(struct wl1271 *wl);
48 void wl1271_enable_interrupts(struct wl1271 *wl);
50 void wl1271_io_reset(struct wl1271 *wl);
51 void wl1271_io_init(struct wl1271 *wl);
53 static inline struct device *wl1271_wl_to_dev(struct wl1271 *wl) in wl1271_wl_to_dev()
60 static inline void wl1271_raw_write(struct wl1271 *wl, int addr, void *buf, in wl1271_raw_write()
66 static inline void wl1271_raw_read(struct wl1271 *wl, int addr, void *buf, in wl1271_raw_read()
72 static inline u32 wl1271_raw_read32(struct wl1271 *wl, int addr) in wl1271_raw_read32()
80 static inline void wl1271_raw_write32(struct wl1271 *wl, int addr, u32 val) in wl1271_raw_write32()
[all …]
Dcmd.h32 int wl1271_cmd_send(struct wl1271 *wl, u16 id, void *buf, size_t len,
34 int wl1271_cmd_general_parms(struct wl1271 *wl);
35 int wl1271_cmd_radio_parms(struct wl1271 *wl);
36 int wl1271_cmd_ext_radio_parms(struct wl1271 *wl);
37 int wl1271_cmd_join(struct wl1271 *wl, u8 bss_type);
38 int wl1271_cmd_test(struct wl1271 *wl, void *buf, size_t buf_len, u8 answer);
39 int wl1271_cmd_interrogate(struct wl1271 *wl, u16 id, void *buf, size_t len);
40 int wl1271_cmd_configure(struct wl1271 *wl, u16 id, void *buf, size_t len);
41 int wl1271_cmd_data_path(struct wl1271 *wl, bool enable);
42 int wl1271_cmd_ps_mode(struct wl1271 *wl, u8 ps_mode);
[all …]
Dacx.h1237 int wl1271_acx_wake_up_conditions(struct wl1271 *wl);
1238 int wl1271_acx_sleep_auth(struct wl1271 *wl, u8 sleep_auth);
1239 int wl1271_acx_tx_power(struct wl1271 *wl, int power);
1240 int wl1271_acx_feature_cfg(struct wl1271 *wl);
1241 int wl1271_acx_mem_map(struct wl1271 *wl,
1243 int wl1271_acx_rx_msdu_life_time(struct wl1271 *wl);
1244 int wl1271_acx_rx_config(struct wl1271 *wl, u32 config, u32 filter);
1245 int wl1271_acx_pd_threshold(struct wl1271 *wl);
1246 int wl1271_acx_slot(struct wl1271 *wl, enum acx_slot_type slot_time);
1247 int wl1271_acx_group_address_tbl(struct wl1271 *wl, bool enable,
[all …]
Dinit.h29 int wl1271_hw_init_power_auth(struct wl1271 *wl);
30 int wl1271_sta_init_templates_config(struct wl1271 *wl);
31 int wl1271_init_phy_config(struct wl1271 *wl);
32 int wl1271_init_pta(struct wl1271 *wl);
33 int wl1271_init_energy_detection(struct wl1271 *wl);
34 int wl1271_hw_init(struct wl1271 *wl);
Dtx.h146 void wl1271_tx_work_locked(struct wl1271 *wl);
147 void wl1271_tx_complete(struct wl1271 *wl);
148 void wl1271_tx_reset(struct wl1271 *wl);
149 void wl1271_tx_flush(struct wl1271 *wl);
151 u32 wl1271_tx_enabled_rates_get(struct wl1271 *wl, u32 rate_set);
152 u32 wl1271_tx_min_rate_get(struct wl1271 *wl);
154 void wl1271_tx_reset_link_queues(struct wl1271 *wl, u8 hlid);
155 void wl1271_handle_tx_low_watermark(struct wl1271 *wl);
Dsdio.c54 static inline struct sdio_func *wl_to_func(struct wl1271 *wl) in wl_to_func()
59 static struct device *wl1271_sdio_wl_to_dev(struct wl1271 *wl) in wl1271_sdio_wl_to_dev()
66 struct wl1271 *wl = cookie; in wl1271_hardirq()
83 static void wl1271_sdio_disable_interrupts(struct wl1271 *wl) in wl1271_sdio_disable_interrupts()
88 static void wl1271_sdio_enable_interrupts(struct wl1271 *wl) in wl1271_sdio_enable_interrupts()
93 static void wl1271_sdio_reset(struct wl1271 *wl) in wl1271_sdio_reset()
97 static void wl1271_sdio_init(struct wl1271 *wl) in wl1271_sdio_init()
101 static void wl1271_sdio_raw_read(struct wl1271 *wl, int addr, void *buf, in wl1271_sdio_raw_read()
126 static void wl1271_sdio_raw_write(struct wl1271 *wl, int addr, void *buf, in wl1271_sdio_raw_write()
151 static int wl1271_sdio_power_on(struct wl1271 *wl) in wl1271_sdio_power_on()
[all …]
Dps.h30 int wl1271_ps_set_mode(struct wl1271 *wl, enum wl1271_cmd_ps_mode mode,
32 void wl1271_ps_elp_sleep(struct wl1271 *wl);
33 int wl1271_ps_elp_wakeup(struct wl1271 *wl);
35 void wl1271_ps_link_start(struct wl1271 *wl, u8 hlid, bool clean_queues);
36 void wl1271_ps_link_end(struct wl1271 *wl, u8 hlid);
Dacx.c37 int wl1271_acx_wake_up_conditions(struct wl1271 *wl) in wl1271_acx_wake_up_conditions()
65 int wl1271_acx_sleep_auth(struct wl1271 *wl, u8 sleep_auth) in wl1271_acx_sleep_auth()
89 int wl1271_acx_tx_power(struct wl1271 *wl, int power) in wl1271_acx_tx_power()
118 int wl1271_acx_feature_cfg(struct wl1271 *wl) in wl1271_acx_feature_cfg()
147 int wl1271_acx_mem_map(struct wl1271 *wl, struct acx_header *mem_map, in wl1271_acx_mem_map()
161 int wl1271_acx_rx_msdu_life_time(struct wl1271 *wl) in wl1271_acx_rx_msdu_life_time()
187 int wl1271_acx_rx_config(struct wl1271 *wl, u32 config, u32 filter) in wl1271_acx_rx_config()
215 int wl1271_acx_pd_threshold(struct wl1271 *wl) in wl1271_acx_pd_threshold()
241 int wl1271_acx_slot(struct wl1271 *wl, enum acx_slot_type slot_time) in wl1271_acx_slot()
268 int wl1271_acx_group_address_tbl(struct wl1271 *wl, bool enable, in wl1271_acx_group_address_tbl()
[all …]
Dinit.c35 int wl1271_sta_init_templates_config(struct wl1271 *wl) in wl1271_sta_init_templates_config()
103 static int wl1271_ap_init_deauth_template(struct wl1271 *wl) in wl1271_ap_init_deauth_template()
126 static int wl1271_ap_init_null_template(struct wl1271 *wl) in wl1271_ap_init_null_template()
155 static int wl1271_ap_init_qos_null_template(struct wl1271 *wl) in wl1271_ap_init_qos_null_template()
184 static int wl1271_ap_init_templates_config(struct wl1271 *wl) in wl1271_ap_init_templates_config()
229 static int wl1271_init_rx_config(struct wl1271 *wl, u32 config, u32 filter) in wl1271_init_rx_config()
244 int wl1271_init_phy_config(struct wl1271 *wl) in wl1271_init_phy_config()
267 static int wl1271_init_beacon_filter(struct wl1271 *wl) in wl1271_init_beacon_filter()
283 int wl1271_init_pta(struct wl1271 *wl) in wl1271_init_pta()
298 int wl1271_init_energy_detection(struct wl1271 *wl) in wl1271_init_energy_detection()
[all …]
Dio.c46 void wl1271_disable_interrupts(struct wl1271 *wl) in wl1271_disable_interrupts()
51 void wl1271_enable_interrupts(struct wl1271 *wl) in wl1271_enable_interrupts()
90 int wl1271_set_partition(struct wl1271 *wl, in wl1271_set_partition()
118 void wl1271_io_reset(struct wl1271 *wl) in wl1271_io_reset()
123 void wl1271_io_init(struct wl1271 *wl) in wl1271_io_init()
128 void wl1271_top_reg_write(struct wl1271 *wl, int addr, u16 val) in wl1271_top_reg_write()
141 u16 wl1271_top_reg_read(struct wl1271 *wl, int addr) in wl1271_top_reg_read()
Devent.c35 struct wl1271 *wl; in wl1271_pspoll_work()
38 wl = container_of(dwork, struct wl1271, pspoll_work); in wl1271_pspoll_work()
64 static void wl1271_event_pspoll_delivery_fail(struct wl1271 *wl) in wl1271_event_pspoll_delivery_fail()
93 static int wl1271_event_ps_report(struct wl1271 *wl, in wl1271_event_ps_report()
145 static void wl1271_event_rssi_trigger(struct wl1271 *wl, in wl1271_event_rssi_trigger()
170 static int wl1271_event_process(struct wl1271 *wl, struct event_mailbox *mbox) in wl1271_event_process()
237 int wl1271_event_unmask(struct wl1271 *wl) in wl1271_event_unmask()
248 void wl1271_event_mbox_config(struct wl1271 *wl) in wl1271_event_mbox_config()
257 int wl1271_event_handle(struct wl1271 *wl, u8 mbox_num) in wl1271_event_handle()
Dsdio_test.c62 struct wl1271 wl;
71 static inline struct sdio_func *wl_to_func(struct wl1271 *wl) in wl_to_func()
76 static struct device *wl1271_sdio_wl_to_dev(struct wl1271 *wl) in wl1271_sdio_wl_to_dev()
81 static void wl1271_sdio_raw_read(struct wl1271 *wl, int addr, void *buf, in wl1271_sdio_raw_read()
106 static void wl1271_sdio_raw_write(struct wl1271 *wl, int addr, void *buf, in wl1271_sdio_raw_write()
131 static int wl1271_sdio_set_power(struct wl1271 *wl, bool enable) in wl1271_sdio_set_power()
161 static void wl1271_sdio_disable_interrupts(struct wl1271 *wl) in wl1271_sdio_disable_interrupts()
165 static void wl1271_sdio_enable_interrupts(struct wl1271 *wl) in wl1271_sdio_enable_interrupts()
179 static void wl1271_fw_wakeup(struct wl1271 *wl) in wl1271_fw_wakeup()
187 static int wl1271_fetch_firmware(struct wl1271 *wl) in wl1271_fetch_firmware()
[all …]
Dtx.c34 static int wl1271_set_default_wep_key(struct wl1271 *wl, u8 id) in wl1271_set_default_wep_key()
51 static int wl1271_alloc_tx_id(struct wl1271 *wl, struct sk_buff *skb) in wl1271_alloc_tx_id()
65 static void wl1271_free_tx_id(struct wl1271 *wl, int id) in wl1271_free_tx_id()
73 static void wl1271_tx_ap_update_inconnection_sta(struct wl1271 *wl, in wl1271_tx_ap_update_inconnection_sta()
89 static void wl1271_tx_regulate_link(struct wl1271 *wl, u8 hlid) in wl1271_tx_regulate_link()
130 static int wl1271_tx_allocate(struct wl1271 *wl, struct sk_buff *skb, u32 extra, in wl1271_tx_allocate()
175 static void wl1271_tx_fill_hdr(struct wl1271 *wl, struct sk_buff *skb, in wl1271_tx_fill_hdr()
257 static int wl1271_prepare_tx_frame(struct wl1271 *wl, struct sk_buff *skb, in wl1271_prepare_tx_frame()
319 u32 wl1271_tx_enabled_rates_get(struct wl1271 *wl, u32 rate_set) in wl1271_tx_enabled_rates_get()
346 void wl1271_handle_tx_low_watermark(struct wl1271 *wl) in wl1271_handle_tx_low_watermark()
[all …]
Dwl12xx.h201 struct wl1271;
290 void (*read)(struct wl1271 *wl, int addr, void *buf, size_t len,
292 void (*write)(struct wl1271 *wl, int addr, void *buf, size_t len,
294 void (*reset)(struct wl1271 *wl);
295 void (*init)(struct wl1271 *wl);
296 int (*power)(struct wl1271 *wl, bool enable);
297 struct device* (*dev)(struct wl1271 *wl);
298 void (*enable_irq)(struct wl1271 *wl);
299 void (*disable_irq)(struct wl1271 *wl);
344 struct wl1271 { struct
[all …]
Dspi.c71 static inline struct spi_device *wl_to_spi(struct wl1271 *wl) in wl_to_spi()
76 static struct device *wl1271_spi_wl_to_dev(struct wl1271 *wl) in wl1271_spi_wl_to_dev()
81 static void wl1271_spi_disable_interrupts(struct wl1271 *wl) in wl1271_spi_disable_interrupts()
86 static void wl1271_spi_enable_interrupts(struct wl1271 *wl) in wl1271_spi_enable_interrupts()
91 static void wl1271_spi_reset(struct wl1271 *wl) in wl1271_spi_reset()
118 static void wl1271_spi_init(struct wl1271 *wl) in wl1271_spi_init()
174 static int wl1271_spi_read_busy(struct wl1271 *wl) in wl1271_spi_read_busy()
207 static void wl1271_spi_raw_read(struct wl1271 *wl, int addr, void *buf, in wl1271_spi_raw_read()
273 static void wl1271_spi_raw_write(struct wl1271 *wl, int addr, void *buf, in wl1271_spi_raw_write()
325 struct wl1271 *wl = cookie; in wl1271_hardirq()
[all …]
Dcmd.c51 int wl1271_cmd_send(struct wl1271 *wl, u16 id, void *buf, size_t len, in wl1271_cmd_send()
110 int wl1271_cmd_general_parms(struct wl1271 *wl) in wl1271_cmd_general_parms()
148 int wl1271_cmd_radio_parms(struct wl1271 *wl) in wl1271_cmd_radio_parms()
189 int wl1271_cmd_ext_radio_parms(struct wl1271 *wl) in wl1271_cmd_ext_radio_parms()
226 static int wl1271_cmd_wait_for_event_or_timeout(struct wl1271 *wl, u32 mask) in wl1271_cmd_wait_for_event_or_timeout()
254 static int wl1271_cmd_wait_for_event(struct wl1271 *wl, u32 mask) in wl1271_cmd_wait_for_event()
267 int wl1271_cmd_join(struct wl1271 *wl, u8 bss_type) in wl1271_cmd_join()
336 int wl1271_cmd_test(struct wl1271 *wl, void *buf, size_t buf_len, u8 answer) in wl1271_cmd_test()
364 int wl1271_cmd_interrogate(struct wl1271 *wl, u16 id, void *buf, size_t len) in wl1271_cmd_interrogate()
391 int wl1271_cmd_configure(struct wl1271 *wl, u16 id, void *buf, size_t len) in wl1271_cmd_configure()
[all …]
Dps.c34 struct wl1271 *wl; in wl1271_elp_work()
37 wl = container_of(dwork, struct wl1271, elp_work); in wl1271_elp_work()
62 void wl1271_ps_elp_sleep(struct wl1271 *wl) in wl1271_ps_elp_sleep()
72 int wl1271_ps_elp_wakeup(struct wl1271 *wl) in wl1271_ps_elp_wakeup()
128 int wl1271_ps_set_mode(struct wl1271 *wl, enum wl1271_cmd_ps_mode mode, in wl1271_ps_set_mode()
177 static void wl1271_ps_filter_frames(struct wl1271 *wl, u8 hlid) in wl1271_ps_filter_frames()
202 void wl1271_ps_link_start(struct wl1271 *wl, u8 hlid, bool clean_queues) in wl1271_ps_link_start()
232 void wl1271_ps_link_end(struct wl1271 *wl, u8 hlid) in wl1271_ps_link_end()
Ddebugfs.h29 int wl1271_debugfs_init(struct wl1271 *wl);
30 void wl1271_debugfs_exit(struct wl1271 *wl);
31 void wl1271_debugfs_reset(struct wl1271 *wl);
Dmain.c313 static void __wl1271_op_remove_interface(struct wl1271 *wl);
314 static void wl1271_free_ap_keys(struct wl1271 *wl);
341 struct wl1271 *wl; in wl1271_dev_notify()
342 struct wl1271 *wl_temp; in wl1271_dev_notify()
417 static void wl1271_conf_init(struct wl1271 *wl) in wl1271_conf_init()
435 static int wl1271_plt_init(struct wl1271 *wl) in wl1271_plt_init()
540 static void wl1271_irq_ps_regulate_link(struct wl1271 *wl, u8 hlid, u8 tx_blks) in wl1271_irq_ps_regulate_link()
562 static void wl1271_irq_update_links_status(struct wl1271 *wl, in wl1271_irq_update_links_status()
591 static void wl1271_fw_status(struct wl1271 *wl, in wl1271_fw_status()
638 static void wl1271_flush_deferred_work(struct wl1271 *wl) in wl1271_flush_deferred_work()
[all …]
Dboot.c92 static void wl1271_boot_set_ecpu_ctrl(struct wl1271 *wl, u32 flag) in wl1271_boot_set_ecpu_ctrl()
104 static void wl1271_parse_fw_ver(struct wl1271 *wl) in wl1271_parse_fw_ver()
120 static void wl1271_boot_fw_version(struct wl1271 *wl) in wl1271_boot_fw_version()
136 static int wl1271_boot_upload_firmware_chunk(struct wl1271 *wl, void *buf, in wl1271_boot_upload_firmware_chunk()
203 static int wl1271_boot_upload_firmware(struct wl1271 *wl) in wl1271_boot_upload_firmware()
236 static int wl1271_boot_upload_nvs(struct wl1271 *wl) in wl1271_boot_upload_nvs()
342 static void wl1271_boot_enable_interrupts(struct wl1271 *wl) in wl1271_boot_enable_interrupts()
350 static int wl1271_boot_soft_reset(struct wl1271 *wl) in wl1271_boot_soft_reset()
385 static int wl1271_boot_run_firmware(struct wl1271 *wl) in wl1271_boot_run_firmware()
470 static int wl1271_boot_write_irq_polarity(struct wl1271 *wl) in wl1271_boot_write_irq_polarity()
[all …]
Dtestmode.c68 static int wl1271_tm_cmd_test(struct wl1271 *wl, struct nlattr *tb[]) in wl1271_tm_cmd_test()
117 static int wl1271_tm_cmd_interrogate(struct wl1271 *wl, struct nlattr *tb[]) in wl1271_tm_cmd_interrogate()
157 static int wl1271_tm_cmd_configure(struct wl1271 *wl, struct nlattr *tb[]) in wl1271_tm_cmd_configure()
189 static int wl1271_tm_cmd_nvs_push(struct wl1271 *wl, struct nlattr *tb[]) in wl1271_tm_cmd_nvs_push()
228 static int wl1271_tm_cmd_set_plt_mode(struct wl1271 *wl, struct nlattr *tb[]) in wl1271_tm_cmd_set_plt_mode()
255 static int wl1271_tm_cmd_recover(struct wl1271 *wl, struct nlattr *tb[]) in wl1271_tm_cmd_recover()
266 struct wl1271 *wl = hw->priv; in wl1271_tm_cmd()
Dscan.h29 int wl1271_scan(struct wl1271 *wl, const u8 *ssid, size_t ssid_len,
31 int wl1271_scan_build_probe_req(struct wl1271 *wl,
34 void wl1271_scan_stm(struct wl1271 *wl);
Ddebugfs.c57 struct wl1271 *wl = file->private_data; \
79 struct wl1271 *wl = file->private_data; \
96 static void wl1271_debugfs_update_stats(struct wl1271 *wl) in wl1271_debugfs_update_stats()
223 struct wl1271 *wl = file->private_data; in tx_queue_len_read()
243 struct wl1271 *wl = file->private_data; in gpio_power_read()
258 struct wl1271 *wl = file->private_data; in gpio_power_write()
294 static int wl1271_debugfs_add_files(struct wl1271 *wl, in wl1271_debugfs_add_files()
414 void wl1271_debugfs_reset(struct wl1271 *wl) in wl1271_debugfs_reset()
424 int wl1271_debugfs_init(struct wl1271 *wl) in wl1271_debugfs_init()
465 void wl1271_debugfs_exit(struct wl1271 *wl) in wl1271_debugfs_exit()
Devent.h125 int wl1271_event_unmask(struct wl1271 *wl);
126 void wl1271_event_mbox_config(struct wl1271 *wl);
127 int wl1271_event_handle(struct wl1271 *wl, u8 mbox);
Drx.c46 static void wl1271_rx_status(struct wl1271 *wl, in wl1271_rx_status()
91 static int wl1271_rx_handle_data(struct wl1271 *wl, u8 *data, u32 length) in wl1271_rx_handle_data()
138 void wl1271_rx(struct wl1271 *wl, struct wl1271_fw_common_status *status) in wl1271_rx()
211 void wl1271_set_default_filters(struct wl1271 *wl) in wl1271_set_default_filters()

12