Home
last modified time | relevance | path

Searched refs:ar (Results 1 – 25 of 478) sorted by relevance

12345678910>>...20

/openbmc/linux/drivers/net/wireless/ath/ath6kl/
H A Dcore.c113 ar->htc_target = ath6kl_htc_create(ar); in ath6kl_core_init()
146 ar->wmi = ath6kl_wmi_init(ar); in ath6kl_core_init()
147 if (!ar->wmi) { in ath6kl_core_init()
198 ath6kl_rx_refill(ar->htc_target, ar->ctrl_ep); in ath6kl_core_init()
199 ath6kl_rx_refill(ar->htc_target, ar->ac2ep_map[WMM_AC_BE]); in ath6kl_core_init()
253 ar->wmi = NULL; in ath6kl_core_init()
273 if (!ar) in ath6kl_core_create()
277 ar->dev = dev; in ath6kl_core_create()
297 ar->tx_pwr = 0; in ath6kl_core_create()
326 return ar; in ath6kl_core_create()
[all …]
H A Drecovery.c30 ath6kl_init_hw_restart(ar); in ath6kl_recovery_work()
32 ar->state = ATH6KL_STATE_ON; in ath6kl_recovery_work()
37 if (ar->fw_recovery.hb_poll) in ath6kl_recovery_work()
44 if (!ar->fw_recovery.enable) in ath6kl_recovery_err_notify()
54 queue_work(ar->ath6kl_wq, &ar->fw_recovery.recovery_work); in ath6kl_recovery_err_notify()
65 struct ath6kl *ar = from_timer(ar, t, fw_recovery.hb_timer); in ath6kl_recovery_hb_timer() local
85 ar->fw_recovery.seq_num++; in ath6kl_recovery_hb_timer()
110 if (ar->fw_recovery.hb_poll) in ath6kl_recovery_init()
117 if (!ar->fw_recovery.enable) in ath6kl_recovery_cleanup()
128 if (!ar->fw_recovery.enable) in ath6kl_recovery_suspend()
[all …]
H A Dinit.c584 if (ar->p2p && ar->vif_max == 1) in ath6kl_configure_target()
799 ar->hw.fw.dir, ar->hw.fw.otp); in ath6kl_fetch_otp_file()
829 ar->hw.fw.dir, ar->hw.fw.utf); in ath6kl_fetch_testmode_file()
837 ar->hw.fw.dir, ar->hw.fw.tcmd); in ath6kl_fetch_testmode_file()
842 ret = ath6kl_get_fw(ar, filename, &ar->fw, &ar->fw_len); in ath6kl_fetch_testmode_file()
865 ar->hw.fw.dir, ar->hw.fw.fw); in ath6kl_fetch_fw_file()
867 ret = ath6kl_get_fw(ar, filename, &ar->fw, &ar->fw_len); in ath6kl_fetch_fw_file()
889 ar->hw.fw.dir, ar->hw.fw.patch); in ath6kl_fetch_patch_file()
1129 if (ar->vif_max > 1 && !ar->p2p) in ath6kl_fetch_fw_apin()
1366 ret = ath6kl_bmi_fast_download(ar, address, ar->fw, ar->fw_len); in ath6kl_upload_firmware()
[all …]
H A Dhif-ops.h50 return ar->hif_ops->irq_enable(ar); in ath6kl_hif_irq_enable()
57 return ar->hif_ops->irq_disable(ar); in ath6kl_hif_irq_disable()
62 return ar->hif_ops->scatter_req_get(ar); in hif_scatter_req_get()
73 return ar->hif_ops->enable_scatter(ar); in ath6kl_hif_enable_scatter()
84 return ar->hif_ops->cleanup_scatter(ar); in ath6kl_hif_cleanup_scatter()
92 return ar->hif_ops->suspend(ar, wow); in ath6kl_hif_suspend()
117 return ar->hif_ops->bmi_read(ar, buf, len); in ath6kl_hif_bmi_read()
129 return ar->hif_ops->resume(ar); in ath6kl_hif_resume()
136 return ar->hif_ops->power_on(ar); in ath6kl_hif_power_on()
143 return ar->hif_ops->power_off(ar); in ath6kl_hif_power_off()
[all …]
H A Dbmi.c151 ret = ath6kl_hif_bmi_write(ar, ar->bmi.cmd_buf, offset); in ath6kl_bmi_read()
157 ret = ath6kl_hif_bmi_read(ar, ar->bmi.cmd_buf, rx_len); in ath6kl_bmi_read()
185 if ((ar->bmi.max_data_size + header) > ar->bmi.max_cmd_size) { in ath6kl_bmi_write()
193 memset(ar->bmi.cmd_buf, 0, ar->bmi.max_data_size + header); in ath6kl_bmi_write()
225 ret = ath6kl_hif_bmi_write(ar, ar->bmi.cmd_buf, offset); in ath6kl_bmi_write()
267 ret = ath6kl_hif_bmi_write(ar, ar->bmi.cmd_buf, offset); in ath6kl_bmi_execute()
311 ret = ath6kl_hif_bmi_write(ar, ar->bmi.cmd_buf, offset); in ath6kl_bmi_set_app_start()
347 ret = ath6kl_hif_bmi_write(ar, ar->bmi.cmd_buf, offset); in ath6kl_bmi_reg_read()
394 ret = ath6kl_hif_bmi_write(ar, ar->bmi.cmd_buf, offset); in ath6kl_bmi_reg_write()
441 ret = ath6kl_hif_bmi_write(ar, ar->bmi.cmd_buf, offset); in ath6kl_bmi_lz_data()
[all …]
/openbmc/linux/drivers/net/wireless/ath/carl9170/
H A Dusb.c382 struct ar9170 *ar = from_tasklet(ar, t, usb_tasklet); in carl9170_usb_tasklet() local
448 ieee80211_queue_work(ar->hw, &ar->ping_work); in carl9170_usb_rx_complete()
474 usb_fill_bulk_urb(urb, ar->udev, usb_rcvbulkpipe(ar->udev, in carl9170_usb_alloc_rx_urb()
497 usb_fill_int_urb(urb, ar->udev, usb_rcvintpipe(ar->udev, in carl9170_usb_send_rx_irq_urb()
676 err = __carl9170_exec_cmd(ar, &ar->cmd, false); in carl9170_exec_cmd()
741 usb_fill_bulk_urb(urb, ar->udev, usb_sndbulkpipe(ar->udev, in carl9170_usb_tx()
763 memset(&ar->fw, 0, sizeof(ar->fw)); in carl9170_release_firmware()
980 ar = NULL; in carl9170_usb_firmware_failed()
1048 ar = carl9170_alloc(sizeof(*ar)); in carl9170_usb_probe()
1167 if (!ar) in carl9170_usb_suspend()
[all …]
H A Dmain.c306 memset(&ar->tx_stats, 0, sizeof(ar->tx_stats)); in carl9170_zap_queues()
310 bitmap_zero(ar->mem_bitmap, ar->fw.mem_blocks); in carl9170_zap_queues()
352 ar->current_factor = ar->current_density = -1; in carl9170_op_start()
813 ieee80211_queue_work(ar->hw, &ar->ps_work); in carl9170_ps_check()
872 memset(&ar->tally, 0, sizeof(ar->tally)); in carl9170_update_survey()
1505 snprintf(ar->wps.phys, sizeof(ar->wps.phys), in carl9170_register_wps_button()
1581 *data = ar->rng.cache[ar->rng.cache_idx++]; in carl9170_rng_read()
1593 ar->rng.rng.name = ar->rng.name; in carl9170_register_hwrng()
1595 ar->rng.rng.priv = (unsigned long)ar; in carl9170_register_hwrng()
1802 bitmap_zero(&ar->vif_bitmap, ar->fw.vif_num); in carl9170_alloc()
[all …]
H A Dled.c73 if (!IS_ACCEPTING_CMD(ar)) in carl9170_led_update()
76 mutex_lock(&ar->mutex); in carl9170_led_update()
96 mutex_unlock(&ar->mutex); in carl9170_led_update()
102 &ar->led_work, in carl9170_led_update()
110 struct ar9170 *ar = arl->ar; in carl9170_led_set_brightness() local
121 ieee80211_queue_delayed_work(ar->hw, &ar->led_work, HZ / 10); in carl9170_led_set_brightness()
129 snprintf(ar->leds[i].name, sizeof(ar->leds[i].name), in carl9170_led_register_led()
132 ar->leds[i].ar = ar; in carl9170_led_register_led()
133 ar->leds[i].l.name = ar->leds[i].name; in carl9170_led_register_led()
139 &ar->leds[i].l); in carl9170_led_register_led()
[all …]
H A Dfw.c211 ar->if_comb_limits[0].max = ar->fw.vif_num; in carl9170_fw_set_if_combinations()
215 ar->if_combs[0].max_interfaces = ar->fw.vif_num; in carl9170_fw_set_if_combinations()
216 ar->if_combs[0].limits = ar->if_comb_limits; in carl9170_fw_set_if_combinations()
217 ar->if_combs[0].n_limits = ARRAY_SIZE(ar->if_comb_limits); in carl9170_fw_set_if_combinations()
219 ar->hw->wiphy->iface_combinations = ar->if_combs; in carl9170_fw_set_if_combinations()
220 ar->hw->wiphy->n_iface_combinations = ARRAY_SIZE(ar->if_combs); in carl9170_fw_set_if_combinations()
320 atomic_set(&ar->mem_free_blocks, ar->fw.mem_blocks); in carl9170_fw()
323 if (ar->fw.vif_num >= AR9170_MAX_VIRTUAL_MAC || !ar->fw.vif_num || in carl9170_fw()
324 ar->fw.mem_blocks < 16 || !ar->fw.cmd_bufs || in carl9170_fw()
325 ar->fw.mem_block_size < 64 || ar->fw.mem_block_size > 512 || in carl9170_fw()
[all …]
H A Drx.c104 if (ar->cmd_seq < 0) in carl9170_check_sequence()
105 ar->cmd_seq = seq; in carl9170_check_sequence()
116 count = (seq - ar->cmd_seq) % ar->fw.cmd_bufs; in carl9170_check_sequence()
125 ar->cmd_seq = (ar->cmd_seq + 1) % ar->fw.cmd_bufs; in carl9170_check_sequence()
140 ar->cmd_buf, (ar->cmd.hdr.len + 4) & 0x3f); in carl9170_cmd_callback()
151 if (ar->readbuf) { in carl9170_cmd_callback()
155 ar->readbuf = NULL; in carl9170_cmd_callback()
263 if (ar->wps.pbc) { in carl9170_handle_command_response()
720 ar->ampdu_ref++; in carl9170_rx_untie_data()
822 ar->rx_dropped++; in carl9170_rx_untie_data()
[all …]
H A Dmac.c128 carl9170_regwrite_begin(ar); in carl9170_set_mac_rates()
138 carl9170_regwrite_begin(ar); in carl9170_set_qos()
161 ar->edcf[0].txop | ar->edcf[1].txop << 16); in carl9170_set_qos()
163 ar->edcf[2].txop | ar->edcf[3].txop << 16 | in carl9170_set_qos()
164 ar->edcf[4].txop << 24); in carl9170_set_qos()
297 ar->cur_mc_hash = mc_hash; in carl9170_update_multicast()
370 if (ar->sniffer_enabled) { in carl9170_set_operating_mode()
414 ar->beacon_enabled; in carl9170_set_beacon_timers()
447 ar->global_pretbtt = ar->global_beacon_int - in carl9170_set_beacon_timers()
450 ar->global_pretbtt = 0; in carl9170_set_beacon_timers()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath10k/
H A Dwmi-ops.h240 ar->wmi.ops->rx(ar, skb); in ath10k_wmi_rx()
273 return ar->wmi.ops->pull_scan(ar, skb, arg); in ath10k_wmi_pull_scan()
343 return ar->wmi.ops->pull_swba(ar, skb, arg); in ath10k_wmi_pull_swba()
383 return ar->wmi.ops->pull_rdy(ar, skb, arg); in ath10k_wmi_pull_rdy()
495 skb = ar->wmi.ops->gen_mgmt_tx(ar, msdu); in ath10k_wmi_mgmt_tx()
571 skb = ar->wmi.ops->gen_pdev_resume(ar); in ath10k_wmi_pdev_resume_target()
601 skb = ar->wmi.ops->gen_init(ar); in ath10k_wmi_cmd_init()
617 skb = ar->wmi.ops->gen_start_scan(ar, arg); in ath10k_wmi_start_scan()
632 skb = ar->wmi.ops->gen_stop_scan(ar, arg); in ath10k_wmi_stop_scan()
1163 skb = ar->wmi.ops->gen_pktlog_disable(ar); in ath10k_wmi_pdev_pktlog_disable()
[all …]
H A Dcore.c1008 ar->id.bmi_board_id, ar->id.bmi_chip_id); in ath10k_core_get_board_id_from_otp()
1567 ar->id.qmi_board_id, ar->id.qmi_chip_id, in ath10k_core_create_board_name()
1580 ar->id.vendor, ar->id.device, in ath10k_core_create_board_name()
2389 ar->coex_support, ar->coex_gpio_pin); in ath10k_core_fetch_btcoex_dt()
2466 ar->hw_params.name, ar->target_version); in ath10k_init_hw_params()
2478 queue_work(ar->workqueue, &ar->restart_work); in ath10k_core_start_recovery()
2737 ar->max_num_peers = ar->hw_params.num_peers; in ath10k_core_init_firmware_features()
3392 device_get_mac_address(ar->dev, ar->mac_addr); in ath10k_core_probe_fw()
3511 queue_work(ar->workqueue, &ar->register_work); in ath10k_core_register()
3558 ar->ath_common.priv = ar; in ath10k_core_create()
[all …]
H A Dhif.h134 return ar->hif.ops->start(ar); in ath10k_hif_start()
139 return ar->hif.ops->stop(ar); in ath10k_hif_stop()
145 return ar->hif.ops->start_post(ar); in ath10k_hif_start_post()
152 return ar->hif.ops->get_htt_tx_complete(ar); in ath10k_hif_get_htt_tx_complete()
186 return ar->hif.ops->power_up(ar, fw_mode); in ath10k_hif_power_up()
191 ar->hif.ops->power_down(ar); in ath10k_hif_power_down()
199 return ar->hif.ops->suspend(ar); in ath10k_hif_suspend()
207 return ar->hif.ops->resume(ar); in ath10k_hif_resume()
217 return ar->hif.ops->read32(ar, address); in ath10k_hif_read32()
228 ar->hif.ops->write32(ar, address, data); in ath10k_hif_write32()
[all …]
H A Dahb.c392 struct ath10k *ar = arg; in ath10k_ahb_interrupt_handler() local
399 napi_schedule(&ar->napi); in ath10k_ahb_interrupt_handler()
584 ath10k_ahb_halt_chip(ar); in ath10k_ahb_prepare_device()
626 ath10k_pci_rx_post(ar); in ath10k_ahb_hif_start()
642 ath10k_pci_flush(ar); in ath10k_ahb_hif_stop()
728 struct ath10k *ar; in ath10k_ahb_probe() local
745 if (!ar) { in ath10k_ahb_probe()
762 ar->dev_id = 0; in ath10k_ahb_probe()
765 ar_pci->ar = ar; in ath10k_ahb_probe()
818 ath10k_core_destroy(ar); in ath10k_ahb_probe()
[all …]
H A Dtestmode.c43 spin_lock_bh(&ar->data_lock); in ath10k_tm_event_wmi()
60 ath10k_warn(ar, in ath10k_tm_event_wmi()
67 ath10k_warn(ar, in ath10k_tm_event_wmi()
76 ath10k_warn(ar, in ath10k_tm_event_wmi()
85 ath10k_warn(ar, in ath10k_tm_event_wmi()
180 switch (ar->hif.bus) { in ath10k_tm_fetch_firmware()
200 ret = ath10k_tm_fetch_utf_firmware_api_1(ar, &ar->testmode.utf_mode_fw.fw_file); in ath10k_tm_fetch_firmware()
263 ath10k_warn(ar, in ath10k_tm_cmd_utf_start()
306 ath10k_hif_power_down(ar); in ath10k_tm_cmd_utf_start()
327 ath10k_core_stop(ar); in __ath10k_tm_cmd_utf_stop()
[all …]
H A Ddebug.c52 ar->id.subsystem_vendor, ar->id.subsystem_device); in ath10k_debug_print_hwfw_info()
67 ar->fw_api, in ath10k_debug_print_hwfw_info()
80 ar->id.bmi_chip_id, ar->id.bmi_board_id); in ath10k_debug_print_board_info()
1028 ar->debug.fw_dbglog_mask, ar->debug.fw_dbglog_level); in ath10k_read_fw_dbglog()
1654 ath10k_tpc_stats_fill(ar, ar->debug.tpc_stats, buf); in ath10k_tpc_stats_open()
1814 ar->dfs_detector->get_stats(ar->dfs_detector); in ath10k_read_dfs_stats()
2316 ath10k_tpc_stats_fill(ar, ar->debug.tpc_stats, buf); in ath10k_tpc_stats_final_open()
2444 ar); in ath10k_write_ps_state_enable()
2634 ar->debug.debugfs_phy, ar, in ath10k_debug_register()
2648 ar->debug.debugfs_phy, ar, in ath10k_debug_register()
[all …]
H A Dmac.c240 struct ath10k *ar = arvif->ar; in ath10k_send_key() local
301 struct ath10k *ar = arvif->ar; in ath10k_install_key() local
326 struct ath10k *ar = arvif->ar; in ath10k_install_peer_wep_keys() local
414 struct ath10k *ar = arvif->ar; in ath10k_clear_peer_keys() local
480 struct ath10k *ar = arvif->ar; in ath10k_clear_vdev_key() local
528 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_update_wep_key() local
5546 arvif->ar = ar; in ath10k_add_interface()
6727 ar = arvif->ar; in ath10k_sta_rc_update_wk()
7336 ar = arvif->ar; in ath10k_sta_tid_cfg_wk()
9382 data.ar = ar; in ath10k_mac_op_set_tid_config()
[all …]
H A Dpci.c594 struct ath10k *ar = ar_pci->ar; in ath10k_pci_ps_timer() local
847 struct ath10k *ar = ar_pci->ar; in ath10k_pci_rx_replenish_retry() local
1173 struct ath10k *ar = ce_state->ar; in ath10k_pci_htc_tx_cb() local
1194 struct ath10k *ar = ce_state->ar; in ath10k_pci_process_rx_cb() local
1237 struct ath10k *ar = ce_state->ar; in ath10k_pci_process_htt_rx_cb() local
1318 struct ath10k *ar = ce_state->ar; in ath10k_pci_htt_tx_cb() local
1753 struct ath10k *ar = ar_pci->ar; in ath10k_pci_fw_dump_work() local
2210 struct ath10k *ar = ce_state->ar; in ath10k_pci_bmi_recv_data() local
3488 if (QCA_REV_6174(ar) || QCA_REV_9377(ar)) in ath10k_pci_setup_resource()
3613 ar_pci->ar = ar; in ath10k_pci_probe()
[all …]
H A Dthermal.c28 struct ath10k *ar = cdev->devdata; in ath10k_thermal_get_cur_throttle_state() local
30 mutex_lock(&ar->conf_mutex); in ath10k_thermal_get_cur_throttle_state()
32 mutex_unlock(&ar->conf_mutex); in ath10k_thermal_get_cur_throttle_state()
48 mutex_lock(&ar->conf_mutex); in ath10k_thermal_set_cur_throttle_state()
51 mutex_unlock(&ar->conf_mutex); in ath10k_thermal_set_cur_throttle_state()
69 mutex_lock(&ar->conf_mutex); in ath10k_thermal_show_temp()
97 spin_lock_bh(&ar->data_lock); in ath10k_thermal_show_temp()
104 mutex_unlock(&ar->conf_mutex); in ath10k_thermal_show_temp()
110 spin_lock_bh(&ar->data_lock); in ath10k_thermal_event_temperature()
179 ar->thermal.cdev = cdev; in ath10k_thermal_register()
[all …]
H A Dsnoc.c573 struct ath10k *ar = ce_state->ar; in ath10k_snoc_process_rx_cb() local
648 struct ath10k *ar = ar_snoc->ar; in ath10k_snoc_rx_replenish_retry() local
655 struct ath10k *ar = ce_state->ar; in ath10k_snoc_htc_tx_cb() local
673 struct ath10k *ar = ce_state->ar; in ath10k_snoc_htt_tx_cb() local
1269 ath10k_err(ar, in ath10k_snoc_request_irq()
1457 memcpy(buf, ar->msa.vaddr, ar->msa.mem_size); in ath10k_msa_dump_memory()
1489 struct ath10k *ar = ar_snoc->ar; in ath10k_snoc_modem_notify() local
1571 ar->msa.vaddr = devm_memremap(dev, ar->msa.paddr, in ath10k_setup_msa_resources()
1652 ar->msa.paddr, ar->msa.mem_size, in ath10k_fw_init()
1735 if (!ar) { in ath10k_snoc_probe()
[all …]
H A Dce.c573 struct ath10k *ar = pipe->ar; in __ath10k_ce_send_revert() local
621 struct ath10k *ar = pipe->ar; in ath10k_ce_num_free_src_entries() local
637 struct ath10k *ar = pipe->ar; in __ath10k_ce_rx_num_free_bufs() local
653 struct ath10k *ar = pipe->ar; in __ath10k_ce_rx_post_buf() local
684 struct ath10k *ar = pipe->ar; in __ath10k_ce_rx_post_buf_64() local
715 struct ath10k *ar = pipe->ar; in ath10k_ce_rx_update_write_idx() local
737 struct ath10k *ar = pipe->ar; in ath10k_ce_rx_post_buf() local
898 ar = ce_state->ar; in _ath10k_ce_revoke_recv_next()
951 ar = ce_state->ar; in _ath10k_ce_revoke_recv_next_64()
1171 ar = ce_state->ar; in ath10k_ce_cancel_send_next()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ar5523/
H A Dar5523.c207 usb_fill_bulk_urb(ar->rx_cmd_urb, ar->dev, in ar5523_submit_rx_cmd()
228 struct ar5523 *ar = cmd->ar; in ar5523_cmd_tx_cb() local
537 struct ar5523 *ar = data->ar; in ar5523_data_rx_cb() local
623 queue_work(ar->wq, &ar->rx_refill_work); in ar5523_data_rx_cb()
718 data->ar = ar; in ar5523_alloc_rx_bufs()
752 struct ar5523 *ar = data->ar; in ar5523_data_tx_cb() local
840 data->ar = ar; in ar5523_tx_work_locked()
956 cmd->ar = ar; in ar5523_alloc_tx_cmd()
1047 queue_work(ar->wq, &ar->rx_refill_work); in ar5523_start()
1482 ar->band.channels = ar->channels; in ar5523_init_modes()
[all …]
/openbmc/u-boot/arch/xtensa/include/asm/
H A Dcacheasm.h41 movi \ar, 0
45 \insn \ar, 0 << (\line_width)
46 \insn \ar, 1 << (\line_width)
47 \insn \ar, 2 << (\line_width)
48 \insn \ar, 3 << (\line_width)
57 extui \at, \ar, 0, \line_width
61 \insn \ar, 0
71 \insn \ar, 0 << (\line_width)
72 \insn \ar, 1 << (\line_width)
73 \insn \ar, 2 << (\line_width)
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath11k/
H A Dmac.c667 ar = pdev->ar; in ath11k_mac_get_vif_up()
4674 ar = arvif->ar; in ath11k_sta_rc_update_wk()
4855 ar = arvif->ar; in ath11k_sta_set_4addr_wk()
6572 ar = pdev->ar; in ath11k_mac_vif_ap_active_any()
6675 ar = pdev->ar; in ath11k_mac_11d_scan_stop_all()
6756 arvif->ar = ar; in ath11k_mac_op_add_interface()
9393 ar = pdev->ar; in ath11k_mac_unregister()
9676 ar = pdev->ar; in ath11k_mac_register()
9702 ar = pdev->ar; in ath11k_mac_register()
9749 pdev->ar = ar; in ath11k_mac_allocate()
[all …]

12345678910>>...20