Home
last modified time | relevance | path

Searched refs:wl (Results 1 – 25 of 137) sorted by relevance

123456

/drivers/net/wireless/ti/wlcore/
Dhw_ops.h29 wlcore_hw_calc_tx_blocks(struct wl1271 *wl, u32 len, u32 spare_blks) in wlcore_hw_calc_tx_blocks() argument
31 if (!wl->ops->calc_tx_blocks) in wlcore_hw_calc_tx_blocks()
34 return wl->ops->calc_tx_blocks(wl, len, spare_blks); in wlcore_hw_calc_tx_blocks()
38 wlcore_hw_set_tx_desc_blocks(struct wl1271 *wl, struct wl1271_tx_hw_descr *desc, in wlcore_hw_set_tx_desc_blocks() argument
41 if (!wl->ops->set_tx_desc_blocks) in wlcore_hw_set_tx_desc_blocks()
44 return wl->ops->set_tx_desc_blocks(wl, desc, blks, spare_blks); in wlcore_hw_set_tx_desc_blocks()
48 wlcore_hw_set_tx_desc_data_len(struct wl1271 *wl, in wlcore_hw_set_tx_desc_data_len() argument
52 if (!wl->ops->set_tx_desc_data_len) in wlcore_hw_set_tx_desc_data_len()
55 wl->ops->set_tx_desc_data_len(wl, desc, skb); in wlcore_hw_set_tx_desc_data_len()
59 wlcore_hw_get_rx_buf_align(struct wl1271 *wl, u32 rx_desc) in wlcore_hw_get_rx_buf_align() argument
[all …]
Dmain.c51 static void __wl1271_op_remove_interface(struct wl1271 *wl,
54 static void wlcore_op_stop_locked(struct wl1271 *wl);
55 static void wl1271_free_ap_keys(struct wl1271 *wl, struct wl12xx_vif *wlvif);
57 static int wl12xx_set_authorized(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl12xx_set_authorized() argument
70 ret = wl12xx_cmd_set_peer_state(wl, wlvif, wlvif->sta.hlid); in wl12xx_set_authorized()
82 struct wl1271 *wl = hw->priv; in wl1271_reg_notify() local
86 wl->dfs_region = request->dfs_region; in wl1271_reg_notify()
88 wlcore_regdomain_config(wl); in wl1271_reg_notify()
91 static int wl1271_set_rx_streaming(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_set_rx_streaming() argument
97 ret = wl1271_acx_ps_rx_streaming(wl, wlvif, enable); in wl1271_set_rx_streaming()
[all …]
Dio.h48 void wlcore_disable_interrupts(struct wl1271 *wl);
49 void wlcore_disable_interrupts_nosync(struct wl1271 *wl);
50 void wlcore_enable_interrupts(struct wl1271 *wl);
51 void wlcore_synchronize_interrupts(struct wl1271 *wl);
53 void wl1271_io_reset(struct wl1271 *wl);
54 void wl1271_io_init(struct wl1271 *wl);
55 int wlcore_translate_addr(struct wl1271 *wl, int addr);
58 static inline int __must_check wlcore_raw_write(struct wl1271 *wl, int addr, in wlcore_raw_write() argument
64 if (test_bit(WL1271_FLAG_IO_FAILED, &wl->flags) || in wlcore_raw_write()
65 WARN_ON((test_bit(WL1271_FLAG_IN_ELP, &wl->flags) && in wlcore_raw_write()
[all …]
Dtx.c43 static int wl1271_set_default_wep_key(struct wl1271 *wl, in wl1271_set_default_wep_key() argument
50 ret = wl12xx_cmd_set_default_wep_key(wl, id, in wl1271_set_default_wep_key()
53 ret = wl12xx_cmd_set_default_wep_key(wl, id, wlvif->sta.hlid); in wl1271_set_default_wep_key()
62 static int wl1271_alloc_tx_id(struct wl1271 *wl, struct sk_buff *skb) in wl1271_alloc_tx_id() argument
66 id = find_first_zero_bit(wl->tx_frames_map, wl->num_tx_desc); in wl1271_alloc_tx_id()
67 if (id >= wl->num_tx_desc) in wl1271_alloc_tx_id()
70 __set_bit(id, wl->tx_frames_map); in wl1271_alloc_tx_id()
71 wl->tx_frames[id] = skb; in wl1271_alloc_tx_id()
72 wl->tx_frames_cnt++; in wl1271_alloc_tx_id()
76 void wl1271_free_tx_id(struct wl1271 *wl, int id) in wl1271_free_tx_id() argument
[all …]
Dinit.c37 int wl1271_init_templates_config(struct wl1271 *wl) in wl1271_init_templates_config() argument
43 ret = wl1271_cmd_template_set(wl, WL12XX_INVALID_ROLE_ID, in wl1271_init_templates_config()
44 wl->scan_templ_id_2_4, NULL, in wl1271_init_templates_config()
50 ret = wl1271_cmd_template_set(wl, WL12XX_INVALID_ROLE_ID, in wl1271_init_templates_config()
51 wl->scan_templ_id_5, in wl1271_init_templates_config()
57 if (wl->quirks & WLCORE_QUIRK_DUAL_PROBE_TMPL) { in wl1271_init_templates_config()
58 ret = wl1271_cmd_template_set(wl, WL12XX_INVALID_ROLE_ID, in wl1271_init_templates_config()
59 wl->sched_scan_templ_id_2_4, in wl1271_init_templates_config()
66 ret = wl1271_cmd_template_set(wl, WL12XX_INVALID_ROLE_ID, in wl1271_init_templates_config()
67 wl->sched_scan_templ_id_5, in wl1271_init_templates_config()
[all …]
Dboot.c35 static int wl1271_boot_set_ecpu_ctrl(struct wl1271 *wl, u32 flag) in wl1271_boot_set_ecpu_ctrl() argument
41 ret = wlcore_read_reg(wl, REG_ECPU_CONTROL, &cpu_ctrl); in wl1271_boot_set_ecpu_ctrl()
47 ret = wlcore_write_reg(wl, REG_ECPU_CONTROL, cpu_ctrl); in wl1271_boot_set_ecpu_ctrl()
53 static int wlcore_boot_parse_fw_ver(struct wl1271 *wl, in wlcore_boot_parse_fw_ver() argument
58 strncpy(wl->chip.fw_ver_str, static_data->fw_version, in wlcore_boot_parse_fw_ver()
59 sizeof(wl->chip.fw_ver_str)); in wlcore_boot_parse_fw_ver()
62 wl->chip.fw_ver_str[sizeof(wl->chip.fw_ver_str) - 1] = '\0'; in wlcore_boot_parse_fw_ver()
64 ret = sscanf(wl->chip.fw_ver_str + 4, "%u.%u.%u.%u.%u", in wlcore_boot_parse_fw_ver()
65 &wl->chip.fw_ver[0], &wl->chip.fw_ver[1], in wlcore_boot_parse_fw_ver()
66 &wl->chip.fw_ver[2], &wl->chip.fw_ver[3], in wlcore_boot_parse_fw_ver()
[all …]
Ddebugfs.c59 void wl1271_debugfs_update_stats(struct wl1271 *wl) in wl1271_debugfs_update_stats() argument
63 mutex_lock(&wl->mutex); in wl1271_debugfs_update_stats()
65 if (unlikely(wl->state != WLCORE_STATE_ON)) in wl1271_debugfs_update_stats()
68 ret = wl1271_ps_elp_wakeup(wl); in wl1271_debugfs_update_stats()
72 if (!wl->plt && in wl1271_debugfs_update_stats()
73 time_after(jiffies, wl->stats.fw_stats_update + in wl1271_debugfs_update_stats()
75 wl1271_acx_statistics(wl, wl->stats.fw_stats); in wl1271_debugfs_update_stats()
76 wl->stats.fw_stats_update = jiffies; in wl1271_debugfs_update_stats()
79 wl1271_ps_elp_sleep(wl); in wl1271_debugfs_update_stats()
82 mutex_unlock(&wl->mutex); in wl1271_debugfs_update_stats()
[all …]
Dps.c37 struct wl1271 *wl; in wl1271_elp_work() local
42 wl = container_of(dwork, struct wl1271, elp_work); in wl1271_elp_work()
46 mutex_lock(&wl->mutex); in wl1271_elp_work()
48 if (unlikely(wl->state != WLCORE_STATE_ON)) in wl1271_elp_work()
52 if (unlikely(!test_bit(WL1271_FLAG_ELP_REQUESTED, &wl->flags))) in wl1271_elp_work()
55 if (test_bit(WL1271_FLAG_IN_ELP, &wl->flags)) in wl1271_elp_work()
58 wl12xx_for_each_wlvif(wl, wlvif) { in wl1271_elp_work()
65 ret = wlcore_raw_write32(wl, HW_ACCESS_ELP_CTRL_REG, ELPCTRL_SLEEP); in wl1271_elp_work()
67 wl12xx_queue_recovery_work(wl); in wl1271_elp_work()
71 set_bit(WL1271_FLAG_IN_ELP, &wl->flags); in wl1271_elp_work()
[all …]
Dsysfs.c31 struct wl1271 *wl = dev_get_drvdata(dev); in wl1271_sysfs_show_bt_coex_state() local
36 mutex_lock(&wl->mutex); in wl1271_sysfs_show_bt_coex_state()
38 wl->sg_enabled); in wl1271_sysfs_show_bt_coex_state()
39 mutex_unlock(&wl->mutex); in wl1271_sysfs_show_bt_coex_state()
49 struct wl1271 *wl = dev_get_drvdata(dev); in wl1271_sysfs_store_bt_coex_state() local
59 mutex_lock(&wl->mutex); in wl1271_sysfs_store_bt_coex_state()
63 if (res == wl->sg_enabled) in wl1271_sysfs_store_bt_coex_state()
66 wl->sg_enabled = res; in wl1271_sysfs_store_bt_coex_state()
68 if (unlikely(wl->state != WLCORE_STATE_ON)) in wl1271_sysfs_store_bt_coex_state()
71 ret = wl1271_ps_elp_wakeup(wl); in wl1271_sysfs_store_bt_coex_state()
[all …]
Devent.c39 int wlcore_event_fw_logger(struct wl1271 *wl) in wlcore_event_fw_logger() argument
61 ret = wlcore_read(wl, addr, buffer, WL18XX_LOGGER_SDIO_BUFF_MAX, in wlcore_event_fw_logger()
85 wl12xx_copy_fwlog(wl, &buffer[start_loc], len); in wlcore_event_fw_logger()
91 wl12xx_copy_fwlog(wl, in wlcore_event_fw_logger()
105 ret = wlcore_write32(wl, addr + WL18XX_LOGGER_READ_POINT_OFFSET, in wlcore_event_fw_logger()
114 void wlcore_event_rssi_trigger(struct wl1271 *wl, s8 *metric_arr) in wlcore_event_rssi_trigger() argument
124 wl12xx_for_each_wlvif_sta(wl, wlvif) { in wlcore_event_rssi_trigger()
138 static void wl1271_stop_ba_event(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl1271_stop_ba_event() argument
144 if (!wl->links[hlid].ba_bitmap) in wl1271_stop_ba_event()
146 ieee80211_stop_rx_ba_session(vif, wl->links[hlid].ba_bitmap, in wl1271_stop_ba_event()
[all …]
Dtestmode.c72 static int wl1271_tm_cmd_test(struct wl1271 *wl, struct nlattr *tb[]) in wl1271_tm_cmd_test() argument
93 mutex_lock(&wl->mutex); in wl1271_tm_cmd_test()
95 if (unlikely(wl->state != WLCORE_STATE_ON)) { in wl1271_tm_cmd_test()
100 ret = wl1271_ps_elp_wakeup(wl); in wl1271_tm_cmd_test()
104 ret = wl1271_cmd_test(wl, buf, buf_len, answer); in wl1271_tm_cmd_test()
126 skb = cfg80211_testmode_alloc_reply_skb(wl->hw->wiphy, len); in wl1271_tm_cmd_test()
144 wl1271_ps_elp_sleep(wl); in wl1271_tm_cmd_test()
146 mutex_unlock(&wl->mutex); in wl1271_tm_cmd_test()
151 static int wl1271_tm_cmd_interrogate(struct wl1271 *wl, struct nlattr *tb[]) in wl1271_tm_cmd_interrogate() argument
165 mutex_lock(&wl->mutex); in wl1271_tm_cmd_interrogate()
[all …]
Dwlcore.h49 int (*setup)(struct wl1271 *wl);
50 int (*identify_chip)(struct wl1271 *wl);
51 int (*identify_fw)(struct wl1271 *wl);
52 int (*boot)(struct wl1271 *wl);
53 int (*plt_init)(struct wl1271 *wl);
54 int (*trigger_cmd)(struct wl1271 *wl, int cmd_box_addr,
56 int (*ack_event)(struct wl1271 *wl);
57 int (*wait_for_event)(struct wl1271 *wl, enum wlcore_wait_event event,
59 int (*process_mailbox_events)(struct wl1271 *wl);
60 u32 (*calc_tx_blocks)(struct wl1271 *wl, u32 len, u32 spare_blks);
[all …]
/drivers/net/wireless/ti/wl1251/
Dmain.c46 void wl1251_enable_interrupts(struct wl1251 *wl) in wl1251_enable_interrupts() argument
48 wl->if_ops->enable_irq(wl); in wl1251_enable_interrupts()
51 void wl1251_disable_interrupts(struct wl1251 *wl) in wl1251_disable_interrupts() argument
53 wl->if_ops->disable_irq(wl); in wl1251_disable_interrupts()
56 static int wl1251_power_off(struct wl1251 *wl) in wl1251_power_off() argument
58 return wl->if_ops->power(wl, false); in wl1251_power_off()
61 static int wl1251_power_on(struct wl1251 *wl) in wl1251_power_on() argument
63 return wl->if_ops->power(wl, true); in wl1251_power_on()
66 static int wl1251_fetch_firmware(struct wl1251 *wl) in wl1251_fetch_firmware() argument
69 struct device *dev = wiphy_dev(wl->hw->wiphy); in wl1251_fetch_firmware()
[all …]
Dboot.c31 void wl1251_boot_target_enable_interrupts(struct wl1251 *wl) in wl1251_boot_target_enable_interrupts() argument
33 wl1251_reg_write32(wl, ACX_REG_INTERRUPT_MASK, ~(wl->intr_mask)); in wl1251_boot_target_enable_interrupts()
34 wl1251_reg_write32(wl, HI_CFG, HI_CFG_DEF_VAL); in wl1251_boot_target_enable_interrupts()
37 int wl1251_boot_soft_reset(struct wl1251 *wl) in wl1251_boot_soft_reset() argument
43 wl1251_reg_write32(wl, ACX_REG_SLV_SOFT_RESET, ACX_SLV_SOFT_RESET_BIT); in wl1251_boot_soft_reset()
48 boot_data = wl1251_reg_read32(wl, ACX_REG_SLV_SOFT_RESET); in wl1251_boot_soft_reset()
64 wl1251_reg_write32(wl, ENABLE, 0x0); in wl1251_boot_soft_reset()
67 wl1251_reg_write32(wl, SPARE_A2, 0xffff); in wl1251_boot_soft_reset()
72 int wl1251_boot_init_seq(struct wl1251 *wl) in wl1251_boot_init_seq() argument
94 scr_pad6 = wl1251_reg_read32(wl, SCR_PAD6); in wl1251_boot_init_seq()
[all …]
Dinit.c32 int wl1251_hw_init_hwenc_config(struct wl1251 *wl) in wl1251_hw_init_hwenc_config() argument
36 ret = wl1251_acx_feature_cfg(wl, 0); in wl1251_hw_init_hwenc_config()
42 ret = wl1251_acx_default_key(wl, wl->default_key); in wl1251_hw_init_hwenc_config()
51 int wl1251_hw_init_templates_config(struct wl1251 *wl) in wl1251_hw_init_templates_config() argument
57 ret = wl1251_cmd_template_set(wl, CMD_PROBE_REQ, NULL, in wl1251_hw_init_templates_config()
62 ret = wl1251_cmd_template_set(wl, CMD_NULL_DATA, NULL, in wl1251_hw_init_templates_config()
67 ret = wl1251_cmd_template_set(wl, CMD_PS_POLL, NULL, in wl1251_hw_init_templates_config()
72 ret = wl1251_cmd_template_set(wl, CMD_QOS_NULL_DATA, NULL, in wl1251_hw_init_templates_config()
78 ret = wl1251_cmd_template_set(wl, CMD_PROBE_RESP, NULL, in wl1251_hw_init_templates_config()
84 ret = wl1251_cmd_template_set(wl, CMD_BEACON, NULL, in wl1251_hw_init_templates_config()
[all …]
Devent.c29 static int wl1251_event_scan_complete(struct wl1251 *wl, in wl1251_event_scan_complete() argument
38 if (wl->scanning) { in wl1251_event_scan_complete()
43 ieee80211_scan_completed(wl->hw, &info); in wl1251_event_scan_complete()
45 wl->scanning = false; in wl1251_event_scan_complete()
46 if (wl->hw->conf.flags & IEEE80211_CONF_IDLE) in wl1251_event_scan_complete()
47 ret = wl1251_ps_set_mode(wl, STATION_IDLE); in wl1251_event_scan_complete()
54 static int wl1251_event_ps_report(struct wl1251 *wl, in wl1251_event_ps_report() argument
65 if (wl->station_mode != STATION_POWER_SAVE_MODE) { in wl1251_event_ps_report()
67 wl->psm_entry_retry = 0; in wl1251_event_ps_report()
71 if (wl->psm_entry_retry < WL1251_PSM_ENTRY_RETRIES) { in wl1251_event_ps_report()
[all …]
Dtx.c33 static bool wl1251_tx_double_buffer_busy(struct wl1251 *wl, u32 data_out_count) in wl1251_tx_double_buffer_busy() argument
37 data_in_count = wl->data_in_count; in wl1251_tx_double_buffer_busy()
54 static int wl1251_tx_path_status(struct wl1251 *wl) in wl1251_tx_path_status() argument
59 addr = wl->data_path->tx_control_addr; in wl1251_tx_path_status()
60 status = wl1251_mem_read32(wl, addr); in wl1251_tx_path_status()
62 busy = wl1251_tx_double_buffer_busy(wl, data_out_count); in wl1251_tx_path_status()
70 static int wl1251_tx_id(struct wl1251 *wl, struct sk_buff *skb) in wl1251_tx_id() argument
75 if (wl->tx_frames[i] == NULL) { in wl1251_tx_id()
76 wl->tx_frames[i] = skb; in wl1251_tx_id()
148 static int wl1251_tx_fill_hdr(struct wl1251 *wl, struct sk_buff *skb, in wl1251_tx_fill_hdr() argument
[all …]
Dsdio.c48 static struct sdio_func *wl_to_func(struct wl1251 *wl) in wl_to_func() argument
50 struct wl1251_sdio *wl_sdio = wl->if_priv; in wl_to_func()
56 struct wl1251 *wl = sdio_get_drvdata(func); in wl1251_sdio_interrupt() local
61 ieee80211_queue_work(wl->hw, &wl->irq_work); in wl1251_sdio_interrupt()
71 static void wl1251_sdio_read(struct wl1251 *wl, int addr, in wl1251_sdio_read() argument
75 struct sdio_func *func = wl_to_func(wl); in wl1251_sdio_read()
84 static void wl1251_sdio_write(struct wl1251 *wl, int addr, in wl1251_sdio_write() argument
88 struct sdio_func *func = wl_to_func(wl); in wl1251_sdio_write()
97 static void wl1251_sdio_read_elp(struct wl1251 *wl, int addr, u32 *val) in wl1251_sdio_read_elp() argument
100 struct wl1251_sdio *wl_sdio = wl->if_priv; in wl1251_sdio_read_elp()
[all …]
Dio.h37 static inline u32 wl1251_read32(struct wl1251 *wl, int addr) in wl1251_read32() argument
39 wl->if_ops->read(wl, addr, &wl->buffer_32, sizeof(wl->buffer_32)); in wl1251_read32()
41 return le32_to_cpu(wl->buffer_32); in wl1251_read32()
44 static inline void wl1251_write32(struct wl1251 *wl, int addr, u32 val) in wl1251_write32() argument
46 wl->buffer_32 = cpu_to_le32(val); in wl1251_write32()
47 wl->if_ops->write(wl, addr, &wl->buffer_32, sizeof(wl->buffer_32)); in wl1251_write32()
50 static inline u32 wl1251_read_elp(struct wl1251 *wl, int addr) in wl1251_read_elp() argument
54 if (wl->if_ops->read_elp) in wl1251_read_elp()
55 wl->if_ops->read_elp(wl, addr, &response); in wl1251_read_elp()
57 wl->if_ops->read(wl, addr, &response, sizeof(u32)); in wl1251_read_elp()
[all …]
Dps.c33 struct wl1251 *wl; in wl1251_elp_work() local
36 wl = container_of(dwork, struct wl1251, elp_work); in wl1251_elp_work()
40 mutex_lock(&wl->mutex); in wl1251_elp_work()
42 if (wl->elp || wl->station_mode == STATION_ACTIVE_MODE) in wl1251_elp_work()
46 wl1251_write_elp(wl, HW_ACCESS_ELP_CTRL_REG_ADDR, ELPCTRL_SLEEP); in wl1251_elp_work()
47 wl->elp = true; in wl1251_elp_work()
50 mutex_unlock(&wl->mutex); in wl1251_elp_work()
56 void wl1251_ps_elp_sleep(struct wl1251 *wl) in wl1251_ps_elp_sleep() argument
60 if (wl->station_mode != STATION_ACTIVE_MODE) { in wl1251_ps_elp_sleep()
62 ieee80211_queue_delayed_work(wl->hw, &wl->elp_work, delay); in wl1251_ps_elp_sleep()
[all …]
Dspi.c41 struct wl1251 *wl; in wl1251_irq() local
45 wl = cookie; in wl1251_irq()
47 ieee80211_queue_work(wl->hw, &wl->irq_work); in wl1251_irq()
52 static struct spi_device *wl_to_spi(struct wl1251 *wl) in wl_to_spi() argument
54 return wl->if_priv; in wl_to_spi()
57 static void wl1251_spi_reset(struct wl1251 *wl) in wl1251_spi_reset() argument
78 spi_sync(wl_to_spi(wl), &m); in wl1251_spi_reset()
85 static void wl1251_spi_wake(struct wl1251 *wl) in wl1251_spi_wake() argument
130 spi_sync(wl_to_spi(wl), &m); in wl1251_spi_wake()
137 static void wl1251_spi_reset_wake(struct wl1251 *wl) in wl1251_spi_reset_wake() argument
[all …]
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dmac80211_if.c287 static void brcms_free(struct brcms_info *wl) in brcms_free() argument
292 if (wl->fw.fw_cnt) in brcms_free()
293 brcms_ucode_data_free(&wl->ucode); in brcms_free()
294 if (wl->irq) in brcms_free()
295 free_irq(wl->irq, wl); in brcms_free()
298 tasklet_kill(&wl->tasklet); in brcms_free()
300 if (wl->pub) { in brcms_free()
301 brcms_debugfs_detach(wl->pub); in brcms_free()
302 brcms_c_module_unregister(wl->pub, "linux", wl); in brcms_free()
306 if (wl->wlc) { in brcms_free()
[all …]
/drivers/net/wireless/ti/wl12xx/
Dmain.c610 static int wl127x_prepare_read(struct wl1271 *wl, u32 rx_desc, u32 len) in wl127x_prepare_read() argument
614 if (wl->chip.id != CHIP_ID_128X_PG20) { in wl127x_prepare_read()
615 struct wl1271_acx_mem_map *wl_mem_map = wl->target_mem_map; in wl127x_prepare_read()
616 struct wl12xx_priv *priv = wl->priv; in wl127x_prepare_read()
630 ret = wlcore_write(wl, WL1271_SLV_REG_DATA, priv->rx_mem_addr, in wl127x_prepare_read()
639 static int wl12xx_identify_chip(struct wl1271 *wl) in wl12xx_identify_chip() argument
643 switch (wl->chip.id) { in wl12xx_identify_chip()
646 wl->chip.id); in wl12xx_identify_chip()
648 wl->quirks |= WLCORE_QUIRK_LEGACY_NVS | in wl12xx_identify_chip()
653 wl->sr_fw_name = WL127X_FW_NAME_SINGLE; in wl12xx_identify_chip()
[all …]
/drivers/net/ethernet/toshiba/
Dps3_gelic_wireless.c50 static int gelic_wl_start_scan(struct gelic_wl_info *wl, int always_scan,
158 struct gelic_wl_info *wl; in gelic_eurus_sync_cmd_worker() local
166 wl = cmd->wl; in gelic_eurus_sync_cmd_worker()
167 card = port_to_card(wl_port(wl)); in gelic_eurus_sync_cmd_worker()
178 init_completion(&wl->cmd_done_intr); in gelic_eurus_sync_cmd_worker()
190 wait_for_completion(&wl->cmd_done_intr); in gelic_eurus_sync_cmd_worker()
216 static struct gelic_eurus_cmd *gelic_eurus_sync_cmd(struct gelic_wl_info *wl, in gelic_eurus_sync_cmd() argument
232 cmd->wl = wl; in gelic_eurus_sync_cmd()
235 queue_work(wl->eurus_cmd_queue, &cmd->work); in gelic_eurus_sync_cmd()
245 struct gelic_wl_info *wl = port_wl(netdev_port(netdev)); in gelic_wl_get_link() local
[all …]
/drivers/net/wireless/ti/wl18xx/
Dmain.c674 static int wl18xx_identify_chip(struct wl1271 *wl) in wl18xx_identify_chip() argument
678 switch (wl->chip.id) { in wl18xx_identify_chip()
681 wl->chip.id); in wl18xx_identify_chip()
682 wl->sr_fw_name = WL18XX_FW_NAME; in wl18xx_identify_chip()
684 wl->plt_fw_name = WL18XX_FW_NAME; in wl18xx_identify_chip()
685 wl->quirks |= WLCORE_QUIRK_RX_BLOCKSIZE_ALIGN | in wl18xx_identify_chip()
692 wlcore_set_min_fw_ver(wl, WL18XX_CHIP_VER, in wl18xx_identify_chip()
700 wl->chip.id); in wl18xx_identify_chip()
705 wl1271_warning("unsupported chip id: 0x%x", wl->chip.id); in wl18xx_identify_chip()
710 wl->fw_mem_block_size = 272; in wl18xx_identify_chip()
[all …]

123456