| /linux/drivers/net/wireless/ath/ath12k/ |
| H A D | acpi.c | 11 static int ath12k_acpi_dsm_get_data(struct ath12k_base *ab, int func) in ath12k_acpi_dsm_get_data() argument 17 root_handle = ACPI_HANDLE(ab->dev); in ath12k_acpi_dsm_get_data() 19 ath12k_dbg(ab, ATH12K_DBG_BOOT, "invalid acpi handler\n"); in ath12k_acpi_dsm_get_data() 23 obj = acpi_evaluate_dsm(root_handle, ab->hw_params->acpi_guid, 0, func, in ath12k_acpi_dsm_get_data() 27 ath12k_dbg(ab, ATH12K_DBG_BOOT, "acpi_evaluate_dsm() failed\n"); in ath12k_acpi_dsm_get_data() 34 ab->acpi.func_bit = obj->integer.value; in ath12k_acpi_dsm_get_data() 37 ab->acpi.bit_flag = obj->integer.value; in ath12k_acpi_dsm_get_data() 47 ath12k_warn(ab, "invalid ACPI DSM BDF size: %d\n", in ath12k_acpi_dsm_get_data() 53 memcpy(ab->acpi.bdf_string, obj->string.pointer, in ath12k_acpi_dsm_get_data() 63 ath12k_warn(ab, "invali in ath12k_acpi_dsm_get_data() 161 ath12k_acpi_set_power_limit(struct ath12k_base * ab) ath12k_acpi_set_power_limit() argument 183 ath12k_acpi_set_bios_sar_power(struct ath12k_base * ab) ath12k_acpi_set_bios_sar_power() argument 205 struct ath12k_base *ab = data; ath12k_acpi_dsm_notify() local 245 ath12k_acpi_set_bios_sar_params(struct ath12k_base * ab) ath12k_acpi_set_bios_sar_params() argument 264 ath12k_acpi_set_tas_params(struct ath12k_base * ab) ath12k_acpi_set_tas_params() argument 289 ath12k_acpi_get_disable_rfkill(struct ath12k_base * ab) ath12k_acpi_get_disable_rfkill() argument 294 ath12k_acpi_get_disable_11be(struct ath12k_base * ab) ath12k_acpi_get_disable_11be() argument 299 ath12k_acpi_set_dsm_func(struct ath12k_base * ab) ath12k_acpi_set_dsm_func() argument 351 ath12k_acpi_start(struct ath12k_base * ab) ath12k_acpi_start() argument 485 ath12k_acpi_check_bdf_variant_name(struct ath12k_base * ab) ath12k_acpi_check_bdf_variant_name() argument 500 ath12k_acpi_stop(struct ath12k_base * ab) ath12k_acpi_stop() argument [all...] |
| H A D | core.c | 72 static int ath12k_core_rfkill_config(struct ath12k_base *ab) in ath12k_core_rfkill_config() argument 77 if (!(ab->target_caps.sys_cap_info & WMI_SYS_CAP_INFO_RFKILL)) in ath12k_core_rfkill_config() 80 if (ath12k_acpi_get_disable_rfkill(ab)) in ath12k_core_rfkill_config() 83 for (i = 0; i < ab->num_radios; i++) { in ath12k_core_rfkill_config() 84 ar = ab->pdevs[i].ar; in ath12k_core_rfkill_config() 88 ath12k_warn(ab, "failed to configure rfkill: %d", ret); in ath12k_core_rfkill_config() 102 static int ath12k_core_continue_suspend_resume(struct ath12k_base *ab) in ath12k_core_continue_suspend_resume() argument 106 if (!ab->hw_params->supports_suspend) in ath12k_core_continue_suspend_resume() 112 ar = ab->pdevs[0].ar; in ath12k_core_continue_suspend_resume() 119 int ath12k_core_suspend(struct ath12k_base *ab) in ath12k_core_suspend() argument 162 ath12k_core_suspend_late(struct ath12k_base * ab) ath12k_core_suspend_late() argument 181 ath12k_core_resume_early(struct ath12k_base * ab) ath12k_core_resume_early() argument 198 ath12k_core_resume(struct ath12k_base * ab) ath12k_core_resume() argument 218 __ath12k_core_create_board_name(struct ath12k_base * ab,char * name,size_t name_len,bool with_variant,bool bus_type_mode,bool with_default) __ath12k_core_create_board_name() argument 262 ath12k_core_create_board_name(struct ath12k_base * ab,char * name,size_t name_len) ath12k_core_create_board_name() argument 268 ath12k_core_create_fallback_board_name(struct ath12k_base * ab,char * name,size_t name_len) ath12k_core_create_fallback_board_name() argument 274 ath12k_core_create_bus_type_board_name(struct ath12k_base * ab,char * name,size_t name_len) ath12k_core_create_bus_type_board_name() argument 280 ath12k_core_firmware_request(struct ath12k_base * ab,const char * file) ath12k_core_firmware_request() argument 302 ath12k_core_free_bdf(struct ath12k_base * ab,struct ath12k_board_data * bd) ath12k_core_free_bdf() argument 310 ath12k_core_parse_bd_ie_board(struct ath12k_base * ab,struct ath12k_board_data * bd,const void * buf,size_t buf_len,const char * boardname,int ie_id,int name_id,int data_id) ath12k_core_parse_bd_ie_board() argument 395 ath12k_core_fetch_board_data_api_n(struct ath12k_base * ab,struct ath12k_board_data * bd,const char * boardname,int ie_id_match,int name_id,int data_id) ath12k_core_fetch_board_data_api_n() argument 506 ath12k_core_fetch_board_data_api_1(struct ath12k_base * ab,struct ath12k_board_data * bd,char * filename) ath12k_core_fetch_board_data_api_1() argument 521 ath12k_core_fetch_bdf(struct ath12k_base * ab,struct ath12k_board_data * bd) ath12k_core_fetch_bdf() argument 579 ath12k_core_fetch_regdb(struct ath12k_base * ab,struct ath12k_board_data * bd) ath12k_core_fetch_regdb() argument 625 ath12k_core_get_max_station_per_radio(struct ath12k_base * ab) ath12k_core_get_max_station_per_radio() argument 634 ath12k_core_get_max_peers_per_radio(struct ath12k_base * ab) ath12k_core_get_max_peers_per_radio() argument 640 ath12k_core_get_reserved_mem(struct ath12k_base * ab,int index) ath12k_core_get_reserved_mem() argument 666 ath12k_core_to_group_ref_get(struct ath12k_base * ab) ath12k_core_to_group_ref_get() argument 686 ath12k_core_to_group_ref_put(struct ath12k_base * ab) ath12k_core_to_group_ref_put() argument 705 ath12k_core_stop(struct ath12k_base * ab) ath12k_core_stop() argument 726 struct ath12k_base *ab = data; ath12k_core_check_cc_code_bdfext() local 804 ath12k_core_check_smbios(struct ath12k_base * ab) ath12k_core_check_smbios() argument 815 ath12k_core_soc_create(struct ath12k_base * ab) ath12k_core_soc_create() argument 846 ath12k_core_soc_destroy(struct ath12k_base * ab) ath12k_core_soc_destroy() argument 854 ath12k_core_pdev_create(struct ath12k_base * ab) ath12k_core_pdev_create() argument 879 ath12k_core_pdev_destroy(struct ath12k_base * ab) ath12k_core_pdev_destroy() argument 885 ath12k_core_start(struct ath12k_base * ab) ath12k_core_start() argument 999 ath12k_core_device_cleanup(struct ath12k_base * ab) ath12k_core_device_cleanup() argument 1011 struct ath12k_base *ab; ath12k_core_hw_group_stop() local 1037 struct ath12k_base *partner_ab, *ab = ar->ab; ath12k_get_num_partner_link() local 1134 struct ath12k_base *ab; ath12k_core_hw_group_start() local 1205 ath12k_core_start_firmware(struct ath12k_base * ab,enum ath12k_firmware_mode mode) ath12k_core_start_firmware() argument 1284 ath12k_core_trigger_partner(struct ath12k_base * ab) ath12k_core_trigger_partner() argument 1303 ath12k_core_qmi_firmware_ready(struct ath12k_base * ab) ath12k_core_qmi_firmware_ready() argument 1377 ath12k_core_reconfigure_on_crash(struct ath12k_base * ab) ath12k_core_reconfigure_on_crash() argument 1416 struct ath12k_base *ab = container_of(work, struct ath12k_base, rfkill_work); ath12k_rfkill_work() local 1449 struct ath12k_base *ab = ar->ab; ath12k_core_halt() local 1475 ath12k_core_pre_reconfigure_recovery(struct ath12k_base * ab) ath12k_core_pre_reconfigure_recovery() argument 1547 struct ath12k_base *ab = container_of(work, struct ath12k_base, update_11d_work); ath12k_update_11d() local 1576 ath12k_core_post_reconfigure_recovery(struct ath12k_base * ab) ath12k_core_post_reconfigure_recovery() argument 1630 struct ath12k_base *ab = container_of(work, struct ath12k_base, restart_work); ath12k_core_restart() local 1671 struct ath12k_base *ab = container_of(work, struct ath12k_base, reset_work); ath12k_core_reset() local 1762 ath12k_core_get_memory_mode(struct ath12k_base * ab) ath12k_core_get_memory_mode() argument 1777 ath12k_core_pre_init(struct ath12k_base * ab) ath12k_core_pre_init() argument 1791 struct ath12k_base *ab = container_of(nb, struct ath12k_base, ath12k_core_panic_handler() local 1797 ath12k_core_panic_notifier_register(struct ath12k_base * ab) ath12k_core_panic_notifier_register() argument 1805 ath12k_core_panic_notifier_unregister(struct ath12k_base * ab) ath12k_core_panic_notifier_unregister() argument 1819 ath12k_core_hw_group_alloc(struct ath12k_base * ab) ath12k_core_hw_group_alloc() argument 1863 ath12k_core_hw_group_find_by_dt(struct ath12k_base * ab) ath12k_core_hw_group_find_by_dt() argument 1880 ath12k_core_get_wsi_info(struct ath12k_hw_group * ag,struct ath12k_base * ab) ath12k_core_get_wsi_info() argument 1941 ath12k_core_get_wsi_index(struct ath12k_hw_group * ag,struct ath12k_base * ab) ath12k_core_get_wsi_index() argument 1971 ath12k_core_hw_group_assign(struct ath12k_base * ab) ath12k_core_hw_group_assign() argument 2053 ath12k_core_hw_group_unassign(struct ath12k_base * ab) ath12k_core_hw_group_unassign() argument 2093 struct ath12k_base *ab; ath12k_core_hw_group_destroy() local 2110 struct ath12k_base *ab; ath12k_core_hw_group_cleanup() local 2142 struct ath12k_base *ab; ath12k_core_hw_group_create() local 2182 struct ath12k_base *ab; ath12k_core_hw_group_set_mlo_capable() local 2221 ath12k_core_init(struct ath12k_base * ab) ath12k_core_init() argument 2268 ath12k_core_deinit(struct ath12k_base * ab) ath12k_core_deinit() argument 2275 ath12k_core_free(struct ath12k_base * ab) ath12k_core_free() argument 2286 struct ath12k_base *ab; ath12k_core_alloc() local [all...] |
| H A D | ce.c | 14 struct ath12k_base *ab = pipe->ab; in ath12k_ce_rx_buf_enqueue_pipe() local 22 lockdep_assert_held(&ab->ce.ce_lock); in ath12k_ce_rx_buf_enqueue_pipe() 26 srng = &ab->hal.srng_list[ring->hal_ring_id]; in ath12k_ce_rx_buf_enqueue_pipe() 30 ath12k_hal_srng_access_begin(ab, srng); in ath12k_ce_rx_buf_enqueue_pipe() 32 if (unlikely(ath12k_hal_srng_src_num_free(ab, srng, false) < 1)) { in ath12k_ce_rx_buf_enqueue_pipe() 37 desc = ath12k_hal_srng_src_get_next_entry(ab, srng); in ath12k_ce_rx_buf_enqueue_pipe() 43 ath12k_hal_ce_dst_set_desc(&ab->hal, desc, paddr); in ath12k_ce_rx_buf_enqueue_pipe() 53 ath12k_hal_srng_access_end(ab, srng); in ath12k_ce_rx_buf_enqueue_pipe() 62 struct ath12k_base *ab = pipe->ab; in ath12k_ce_rx_post_pipe() local 70 spin_lock_bh(&ab->ce.ce_lock); in ath12k_ce_rx_post_pipe() [all …]
|
| H A D | mhi.c | 21 void ath12k_mhi_set_mhictrl_reset(struct ath12k_base *ab) in ath12k_mhi_set_mhictrl_reset() argument 25 val = ath12k_pci_read32(ab, MHISTATUS); in ath12k_mhi_set_mhictrl_reset() 27 ath12k_dbg(ab, ATH12K_DBG_PCI, "MHISTATUS 0x%x\n", val); in ath12k_mhi_set_mhictrl_reset() 33 ath12k_pci_write32(ab, MHICTRL, MHICTRL_RESET_MASK); in ath12k_mhi_set_mhictrl_reset() 38 static void ath12k_mhi_reset_txvecdb(struct ath12k_base *ab) in ath12k_mhi_reset_txvecdb() argument 40 ath12k_pci_write32(ab, PCIE_TXVECDB, 0); in ath12k_mhi_reset_txvecdb() 43 static void ath12k_mhi_reset_txvecstatus(struct ath12k_base *ab) in ath12k_mhi_reset_txvecstatus() argument 45 ath12k_pci_write32(ab, PCIE_TXVECSTATUS, 0); in ath12k_mhi_reset_txvecstatus() 48 static void ath12k_mhi_reset_rxvecdb(struct ath12k_base *ab) in ath12k_mhi_reset_rxvecdb() argument 50 ath12k_pci_write32(ab, PCIE_RXVECDB, 0); in ath12k_mhi_reset_rxvecdb() [all …]
|
| H A D | dp_rx.c | 25 static int ath12k_dp_rx_tid_delete_handler(struct ath12k_base *ab, in ath12k_dp_list_cut_nodes() 77 struct ath12k_base *ab = dp->ab; in ath12k_dp_rx_bufs_replenish() 94 ath12k_hal_srng_access_begin(ab, srng); in ath12k_dp_rx_bufs_replenish() 96 num_free = ath12k_hal_srng_src_num_free(ab, srng, true); in ath12k_dp_rx_bufs_replenish() 144 desc = ath12k_hal_srng_src_get_next_entry(ab, srng); in ath12k_dp_rx_bufs_replenish() 165 ath12k_hal_srng_access_end(ab, srng); in ath12k_dp_rx_bufs_replenish() 176 static int ath12k_dp_rxdma_mon_buf_ring_free(struct ath12k_base *ab, in ath12k_dp_rxdma_mon_buf_ring_free() 188 dma_unmap_single(ab->dev, ATH12K_SKB_RXCB(skb)->paddr, in ath12k_dp_rxdma_mon_buf_ring_free() 199 static int ath12k_dp_rxdma_buf_free(struct ath12k_base *ab) in ath12k_dp_rxdma_buf_free() 72 struct ath12k_base *ab = dp->ab; ath12k_dp_rx_bufs_replenish() local 171 ath12k_dp_rxdma_mon_buf_ring_free(struct ath12k_base * ab,struct dp_rxdma_mon_ring * rx_ring) ath12k_dp_rxdma_mon_buf_ring_free() argument 194 ath12k_dp_rxdma_buf_free(struct ath12k_base * ab) ath12k_dp_rxdma_buf_free() argument 211 ath12k_dp_rxdma_mon_ring_buf_setup(struct ath12k_base * ab,struct dp_rxdma_mon_ring * rx_ring,u32 ringtype) ath12k_dp_rxdma_mon_ring_buf_setup() argument 231 ath12k_dp_rxdma_ring_buf_setup(struct ath12k_base * ab,struct dp_rxdma_ring * rx_ring) ath12k_dp_rxdma_ring_buf_setup() argument 244 ath12k_dp_rxdma_buf_setup(struct ath12k_base * ab) ath12k_dp_rxdma_buf_setup() argument 284 struct ath12k_base *ab = ar->ab; ath12k_dp_rx_pdev_srng_free() local 291 ath12k_dp_rx_pdev_reo_cleanup(struct ath12k_base * ab) ath12k_dp_rx_pdev_reo_cleanup() argument 300 ath12k_dp_rx_pdev_reo_setup(struct ath12k_base * ab) ath12k_dp_rx_pdev_reo_setup() argument 327 struct ath12k_base *ab = ar->ab; ath12k_dp_rx_pdev_srng_alloc() local 358 ath12k_dp_rx_tid_cleanup(struct ath12k_base * ab,struct ath12k_reoq_buf * tid_qbuf) ath12k_dp_rx_tid_cleanup() argument 369 ath12k_dp_rx_reo_cmd_list_cleanup(struct ath12k_base * ab) ath12k_dp_rx_reo_cmd_list_cleanup() argument 416 struct ath12k_base *ab = dp->ab; ath12k_dp_rx_process_reo_cmd_update_rx_queue_list() local 447 struct ath12k_base *ab = dp->ab; ath12k_dp_rx_tid_del_func() local 509 ath12k_dp_rx_tid_delete_handler(struct ath12k_base * ab,struct ath12k_dp_rx_tid_rxq * rx_tid) ath12k_dp_rx_tid_delete_handler() argument 540 struct ath12k_base *ab = ar->ab; ath12k_dp_rx_peer_tid_cleanup() local 593 struct ath12k_base *ab = ar->ab; ath12k_dp_rx_peer_tid_setup() local 709 struct ath12k_base *ab = ar->ab; ath12k_dp_rx_ampdu_start() local 737 struct ath12k_base *ab = ar->ab; ath12k_dp_rx_ampdu_stop() local 796 struct ath12k_base *ab = ar->ab; ath12k_dp_rx_peer_pn_replay_config() local 1438 struct ath12k_base *ab = ar->ab; ath12k_dp_rx_peer_frag_setup() local 1559 ath12k_dp_rx_free(struct ath12k_base * ab) ath12k_dp_rx_free() argument 1584 ath12k_dp_rx_pdev_free(struct ath12k_base * ab,int mac_id) ath12k_dp_rx_pdev_free() argument 1591 ath12k_dp_rx_htt_setup(struct ath12k_base * ab) ath12k_dp_rx_htt_setup() argument 1663 ath12k_dp_rx_alloc(struct ath12k_base * ab) ath12k_dp_rx_alloc() argument 1742 ath12k_dp_rx_pdev_alloc(struct ath12k_base * ab,int mac_id) ath12k_dp_rx_pdev_alloc() argument [all...] |
| H A D | peer.c | 12 static int ath12k_wait_for_dp_link_peer_common(struct ath12k_base *ab, int vdev_id, in ath12k_wait_for_dp_link_peer_common() argument 16 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); in ath12k_wait_for_dp_link_peer_common() 18 ret = wait_event_timeout(ab->peer_mapping_wq, ({ in ath12k_wait_for_dp_link_peer_common() 28 test_bit(ATH12K_FLAG_CRASH_FLUSH, &ab->dev_flags)); in ath12k_wait_for_dp_link_peer_common() 40 struct ath12k_base *ab = ar->ab; in ath12k_peer_cleanup() local 41 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); in ath12k_peer_cleanup() 50 ath12k_warn(ab, "removing stale peer %pM from vdev_id %d\n", in ath12k_peer_cleanup() 62 return ath12k_wait_for_dp_link_peer_common(ar->ab, vdev_id, addr, false); in ath12k_wait_for_peer_deleted() 73 ath12k_warn(ar->ab, "faile in ath12k_wait_for_peer_delete_done() 89 struct ath12k_base *ab = ar->ab; ath12k_peer_delete_send() local 345 ath12k_link_sta_rhash_insert(struct ath12k_base * ab,struct ath12k_link_sta * arsta) ath12k_link_sta_rhash_insert() argument 362 ath12k_link_sta_rhash_remove(struct ath12k_base * ab,struct ath12k_link_sta * arsta) ath12k_link_sta_rhash_remove() argument 377 ath12k_link_sta_rhash_add(struct ath12k_base * ab,struct ath12k_link_sta * arsta) ath12k_link_sta_rhash_add() argument 392 ath12k_link_sta_rhash_delete(struct ath12k_base * ab,struct ath12k_link_sta * arsta) ath12k_link_sta_rhash_delete() argument 410 ath12k_link_sta_rhash_tbl_init(struct ath12k_base * ab) ath12k_link_sta_rhash_tbl_init() argument 445 ath12k_link_sta_rhash_tbl_destroy(struct ath12k_base * ab) ath12k_link_sta_rhash_tbl_destroy() argument 452 ath12k_link_sta_find_by_addr(struct ath12k_base * ab,const u8 * addr) ath12k_link_sta_find_by_addr() argument [all...] |
| H A D | wmi.c | 300 ath12k_wmi_tlv_iter(struct ath12k_base *ab, const void *ptr, size_t len, in ath12k_wmi_tlv_parse_alloc() argument 301 int (*iter)(struct ath12k_base *ab, u16 tag, u16 len, in ath12k_wmi_tlv_parse_alloc() 312 ath12k_err(ab, "wmi tlv parse failure at byte %zd (%zu bytes left, %zu expected)\n", in ath12k_wmi_tlv_parse_alloc() 324 ath12k_err(ab, "wmi tlv parse failure of tag %u at byte %zd (%zu bytes left, %u expected)\n", in ath12k_wmi_cmd_send_nowait() 332 ath12k_err(ab, "wmi tlv parse failure of tag %u at byte %zd (%u bytes is less than min length %zu)\n", in ath12k_wmi_cmd_send_nowait() 338 ret = iter(ab, tlv_tag, tlv_len, ptr, data); in ath12k_wmi_cmd_send_nowait() 349 static int ath12k_wmi_tlv_iter_parse(struct ath12k_base *ab, u16 tag, u16 len, in ath12k_wmi_cmd_send() 361 ath12k_wmi_tlv_parse(struct ath12k_base *ab, struct sk_buff *skb) in ath12k_wmi_cmd_send() 369 ret = ath12k_wmi_tlv_iter(ab, skb->data, skb->len, in ath12k_pull_svc_ready_ext() 381 struct ath12k_base *ab in ath12k_pull_svc_ready_ext() 232 ath12k_wmi_tlv_iter(struct ath12k_base * ab,const void * ptr,size_t len,int (* iter)(struct ath12k_base * ab,u16 tag,u16 len,const void * ptr,void * data),void * data) ath12k_wmi_tlv_iter() argument 233 ath12k_wmi_tlv_iter(struct ath12k_base * ab,const void * ptr,size_t len,int (* iter)(struct ath12k_base * ab,u16 tag,u16 len,const void * ptr,void * data),void * data) ath12k_wmi_tlv_iter() argument 281 ath12k_wmi_tlv_iter_parse(struct ath12k_base * ab,u16 tag,u16 len,const void * ptr,void * data) ath12k_wmi_tlv_iter_parse() argument 323 struct ath12k_base *ab = wmi->wmi_ab->ab; ath12k_wmi_cmd_send_nowait() local 406 struct ath12k_base *ab = wmi_handle->wmi_ab->ab; ath12k_pull_mac_phy_cap_svc_ready_ext() local 579 ath12k_pull_service_ready_tlv(struct ath12k_base * ab,const void * evt_buf,struct ath12k_wmi_target_cap_arg * cap) ath12k_pull_service_ready_tlv() argument 629 ath12k_wmi_svc_rdy_parse(struct ath12k_base * ab,u16 tag,u16 len,const void * ptr,void * data) ath12k_wmi_svc_rdy_parse() argument 663 ath12k_service_ready_event(struct ath12k_base * ab,struct sk_buff * skb) ath12k_service_ready_event() argument 682 struct ath12k_base *ab = ar->ab; ath12k_wmi_mgmt_get_freq() local 696 struct ath12k_base *ab = wmi_ab->ab; ath12k_wmi_alloc_skb() local 725 struct ath12k_base *ab = ar->ab; ath12k_wmi_mgmt_send() local 1938 struct ath12k_base *ab = ar->ab; ath12k_wmi_bcn_tmpl() local 3016 ath12k_wmi_set_bios_cmd(struct ath12k_base * ab,u32 param_id,const u8 * buf,size_t buf_len) ath12k_wmi_set_bios_cmd() argument 3060 ath12k_wmi_set_bios_sar_cmd(struct ath12k_base * ab,const u8 * psar_table) ath12k_wmi_set_bios_sar_cmd() argument 3116 ath12k_wmi_set_bios_geo_cmd(struct ath12k_base * ab,const u8 * pgeo_table) ath12k_wmi_set_bios_geo_cmd() argument 3459 struct ath12k_base *ab = wmi->wmi_ab->ab; ath12k_wmi_send_twt_enable_cmd() local 3512 struct ath12k_base *ab = wmi->wmi_ab->ab; ath12k_wmi_send_twt_disable_cmd() local 3542 struct ath12k_base *ab = wmi->wmi_ab->ab; ath12k_wmi_send_obss_spr_cmd() local 3710 struct ath12k_base *ab = wmi->wmi_ab->ab; ath12k_wmi_obss_color_cfg_cmd() local 3751 struct ath12k_base *ab = wmi->wmi_ab->ab; ath12k_wmi_send_bss_color_change_enable_cmd() local 3909 ath12k_wmi_obss_color_collision_event(struct ath12k_base * ab,struct sk_buff * skb) ath12k_wmi_obss_color_collision_event() argument 3993 ath12k_wmi_copy_resource_config(struct ath12k_base * ab,struct ath12k_wmi_resource_config_params * wmi_cfg,struct ath12k_wmi_resource_config_arg * tg_cfg) ath12k_wmi_copy_resource_config() argument 4073 struct ath12k_base *ab = wmi->wmi_ab->ab; ath12k_init_cmd_send() local 4214 ath12k_wmi_wait_for_service_ready(struct ath12k_base * ab) ath12k_wmi_wait_for_service_ready() argument 4226 ath12k_wmi_wait_for_unified_ready(struct ath12k_base * ab) ath12k_wmi_wait_for_unified_ready() argument 4238 ath12k_wmi_set_hw_mode(struct ath12k_base * ab,enum wmi_host_hw_mode_config_type mode) ath12k_wmi_set_hw_mode() argument 4270 ath12k_wmi_cmd_init(struct ath12k_base * ab) ath12k_wmi_cmd_init() argument 4466 ath12k_wmi_dma_buf_parse(struct ath12k_base * ab,u16 tag,u16 len,const void * ptr,void * data) ath12k_wmi_dma_buf_parse() argument 4519 ath12k_wmi_pdev_dma_ring_buf_release_event(struct ath12k_base * ab,struct sk_buff * skb) ath12k_wmi_pdev_dma_ring_buf_release_event() argument 4762 ath12k_wmi_alloc_dbring_caps(struct ath12k_base * ab,u32 num_cap) ath12k_wmi_alloc_dbring_caps() argument 4779 ath12k_wmi_free_dbring_caps(struct ath12k_base * ab) ath12k_wmi_free_dbring_caps() argument 4786 ath12k_wmi_dma_ring_caps(struct ath12k_base * ab,u16 len,const void * ptr,void * data) ath12k_wmi_dma_ring_caps() argument 4842 ath12k_wmi_save_mac_phy_info(struct ath12k_base * ab,const struct ath12k_wmi_mac_phy_caps_params * mac_phy_cap,struct ath12k_svc_ext_mac_phy_info * mac_phy_info) ath12k_wmi_save_mac_phy_info() argument 4859 ath12k_wmi_save_all_mac_phy_info(struct ath12k_base * ab,struct ath12k_wmi_svc_rdy_ext_parse * svc_rdy_ext) ath12k_wmi_save_all_mac_phy_info() argument 4900 ath12k_wmi_svc_rdy_ext_parse(struct ath12k_base * ab,u16 tag,u16 len,const void * ptr,void * data) ath12k_wmi_svc_rdy_ext_parse() argument 4979 ath12k_service_ready_ext_event(struct ath12k_base * ab,struct sk_buff * skb) ath12k_service_ready_ext_event() argument 5066 ath12k_wmi_tlv_mac_phy_caps_ext_parse(struct ath12k_base * ab,const struct ath12k_wmi_caps_ext_params * caps,struct ath12k_pdev * pdev) ath12k_wmi_tlv_mac_phy_caps_ext_parse() argument 5121 ath12k_wmi_tlv_mac_phy_caps_ext(struct ath12k_base * ab,u16 tag,u16 len,const void * ptr,void * data) ath12k_wmi_tlv_mac_phy_caps_ext() argument 5166 ath12k_wmi_update_freq_info(struct ath12k_base * ab,struct ath12k_svc_ext_mac_phy_info * mac_cap,enum ath12k_hw_mode mode,u32 phy_id) ath12k_wmi_update_freq_info() argument 5200 ath12k_wmi_all_phy_range_updated(struct ath12k_base * ab,enum ath12k_hw_mode hwmode) ath12k_wmi_all_phy_range_updated() argument 5217 ath12k_wmi_update_dbs_freq_info(struct ath12k_base * ab) ath12k_wmi_update_dbs_freq_info() argument 5264 ath12k_wmi_fill_upper_share_sbs_freq(struct ath12k_base * ab,u16 sbs_range_sep,struct ath12k_hw_mode_freq_range_arg * ref_freq) ath12k_wmi_fill_upper_share_sbs_freq() argument 5295 ath12k_wmi_fill_lower_share_sbs_freq(struct ath12k_base * ab,u16 sbs_range_sep,struct ath12k_hw_mode_freq_range_arg * ref_freq) ath12k_wmi_fill_lower_share_sbs_freq() argument 5342 ath12k_wmi_dump_freq_range_per_mac(struct ath12k_base * ab,struct ath12k_hw_mode_freq_range_arg * freq_range,enum ath12k_hw_mode hw_mode) ath12k_wmi_dump_freq_range_per_mac() argument 5360 ath12k_wmi_dump_freq_range(struct ath12k_base * ab) ath12k_wmi_dump_freq_range() argument 5371 ath12k_wmi_modify_sbs_freq(struct ath12k_base * ab,u8 phy_id) ath12k_wmi_modify_sbs_freq() argument 5433 ath12k_wmi_update_sbs_freq_info(struct ath12k_base * ab) ath12k_wmi_update_sbs_freq_info() argument 5473 ath12k_wmi_update_mac_freq_info(struct ath12k_base * ab,enum wmi_host_hw_mode_config_type hw_config_type,u32 phy_id,struct ath12k_svc_ext_mac_phy_info * mac_cap) ath12k_wmi_update_mac_freq_info() argument 5532 ath12k_wmi_sbs_range_present(struct ath12k_base * ab) ath12k_wmi_sbs_range_present() argument 5543 ath12k_wmi_update_hw_mode_list(struct ath12k_base * ab) ath12k_wmi_update_hw_mode_list() argument 5603 ath12k_wmi_svc_rdy_ext2_parse(struct ath12k_base * ab,u16 tag,u16 len,const void * ptr,void * data) ath12k_wmi_svc_rdy_ext2_parse() argument 5687 ath12k_service_ready_ext2_event(struct ath12k_base * ab,struct sk_buff * skb) ath12k_service_ready_ext2_event() argument 5710 ath12k_pull_vdev_start_resp_tlv(struct ath12k_base * ab,struct sk_buff * skb,struct wmi_vdev_start_resp_event * vdev_rsp) ath12k_pull_vdev_start_resp_tlv() argument 5796 ath12k_pull_reg_chan_list_ext_update_ev(struct ath12k_base * ab,struct sk_buff * skb,struct ath12k_reg_info * reg_info) ath12k_pull_reg_chan_list_ext_update_ev() argument 6103 ath12k_pull_peer_del_resp_ev(struct ath12k_base * ab,struct sk_buff * skb,struct wmi_peer_delete_resp_event * peer_del_resp) ath12k_pull_peer_del_resp_ev() argument 6134 ath12k_pull_vdev_del_resp_ev(struct ath12k_base * ab,struct sk_buff * skb,u32 * vdev_id) ath12k_pull_vdev_del_resp_ev() argument 6162 ath12k_pull_bcn_tx_status_ev(struct ath12k_base * ab,struct sk_buff * skb,u32 * vdev_id,u32 * tx_status) ath12k_pull_bcn_tx_status_ev() argument 6191 ath12k_pull_vdev_stopped_param_tlv(struct ath12k_base * ab,struct sk_buff * skb,u32 * vdev_id) ath12k_pull_vdev_stopped_param_tlv() argument 6218 ath12k_wmi_tlv_mgmt_rx_parse(struct ath12k_base * ab,u16 tag,u16 len,const void * ptr,void * data) ath12k_wmi_tlv_mgmt_rx_parse() argument 6238 ath12k_pull_mgmt_rx_params_tlv(struct ath12k_base * ab,struct sk_buff * skb,struct ath12k_wmi_mgmt_rx_arg * hdr) ath12k_pull_mgmt_rx_params_tlv() argument 6345 ath12k_pull_mgmt_tx_compl_param_tlv(struct ath12k_base * ab,struct sk_buff * skb,struct wmi_mgmt_tx_compl_event * param) ath12k_pull_mgmt_tx_compl_param_tlv() argument 6529 ath12k_pull_scan_ev(struct ath12k_base * ab,struct sk_buff * skb,struct wmi_scan_event * scan_evt_param) ath12k_pull_scan_ev() argument 6562 ath12k_pull_peer_sta_kickout_ev(struct ath12k_base * ab,struct sk_buff * skb,struct wmi_peer_sta_kickout_arg * arg) ath12k_pull_peer_sta_kickout_ev() argument 6591 ath12k_pull_roam_ev(struct ath12k_base * ab,struct sk_buff * skb,struct wmi_roam_event * roam_ev) ath12k_pull_roam_ev() argument 6643 ath12k_pull_chan_info_ev(struct ath12k_base * ab,struct sk_buff * skb,struct wmi_chan_info_event * ch_info_ev) ath12k_pull_chan_info_ev() argument 6682 ath12k_pull_pdev_bss_chan_info_ev(struct ath12k_base * ab,struct sk_buff * skb,struct wmi_pdev_bss_chan_info_event * bss_ch_info_ev) ath12k_pull_pdev_bss_chan_info_ev() argument 6722 ath12k_pull_vdev_install_key_compl_ev(struct ath12k_base * ab,struct sk_buff * skb,struct wmi_vdev_install_key_complete_arg * arg) ath12k_pull_vdev_install_key_compl_ev() argument 6753 ath12k_pull_peer_assoc_conf_ev(struct ath12k_base * ab,struct sk_buff * skb,struct wmi_peer_assoc_conf_arg * peer_assoc_conf) ath12k_pull_peer_assoc_conf_ev() argument 6781 ath12k_wmi_op_ep_tx_credits(struct ath12k_base * ab) ath12k_wmi_op_ep_tx_credits() argument 6787 ath12k_reg_11d_new_cc_event(struct ath12k_base * ab,struct sk_buff * skb) ath12k_reg_11d_new_cc_event() argument 6832 ath12k_wmi_htc_tx_complete(struct ath12k_base * ab,struct sk_buff * skb) ath12k_wmi_htc_tx_complete() argument 6838 ath12k_reg_chan_list_event(struct ath12k_base * ab,struct sk_buff * skb) ath12k_reg_chan_list_event() argument 6926 ath12k_wmi_rdy_parse(struct ath12k_base * ab,u16 tag,u16 len,const void * ptr,void * data) ath12k_wmi_rdy_parse() argument 6970 ath12k_ready_event(struct ath12k_base * ab,struct sk_buff * skb) ath12k_ready_event() argument 6986 ath12k_peer_delete_resp_event(struct ath12k_base * ab,struct sk_buff * skb) ath12k_peer_delete_resp_event() argument 7011 ath12k_vdev_delete_resp_event(struct ath12k_base * ab,struct sk_buff * skb) ath12k_vdev_delete_resp_event() argument 7055 ath12k_vdev_start_resp_event(struct ath12k_base * ab,struct sk_buff * skb) ath12k_vdev_start_resp_event() argument 7094 ath12k_bcn_tx_status_event(struct ath12k_base * ab,struct sk_buff * skb) ath12k_bcn_tx_status_event() argument 7118 ath12k_vdev_stopped_event(struct ath12k_base * ab,struct sk_buff * skb) ath12k_vdev_stopped_event() argument 7144 ath12k_mgmt_rx_event(struct ath12k_base * ab,struct sk_buff * skb) ath12k_mgmt_rx_event() argument 7263 ath12k_mgmt_tx_compl_event(struct ath12k_base * ab,struct sk_buff * skb) ath12k_mgmt_tx_compl_event() argument 7294 ath12k_get_ar_on_scan_state(struct ath12k_base * ab,u32 vdev_id,enum ath12k_scan_state state) ath12k_get_ar_on_scan_state() argument 7320 ath12k_scan_event(struct ath12k_base * ab,struct sk_buff * skb) ath12k_scan_event() argument 7401 ath12k_peer_sta_kickout_event(struct ath12k_base * ab,struct sk_buff * skb) ath12k_peer_sta_kickout_event() argument 7458 ath12k_roam_event(struct ath12k_base * ab,struct sk_buff * skb) ath12k_roam_event() argument 7506 ath12k_chan_info_event(struct ath12k_base * ab,struct sk_buff * skb) ath12k_chan_info_event() argument 7581 ath12k_pdev_bss_chan_info_event(struct ath12k_base * ab,struct sk_buff * skb) ath12k_pdev_bss_chan_info_event() argument 7653 ath12k_vdev_install_key_compl_event(struct ath12k_base * ab,struct sk_buff * skb) ath12k_vdev_install_key_compl_event() argument 7690 ath12k_wmi_tlv_services_parser(struct ath12k_base * ab,u16 tag,u16 len,const void * ptr,void * data) ath12k_wmi_tlv_services_parser() argument 7749 ath12k_service_available_event(struct ath12k_base * ab,struct sk_buff * skb) ath12k_service_available_event() argument 7759 ath12k_peer_assoc_conf_event(struct ath12k_base * ab,struct sk_buff * skb) ath12k_peer_assoc_conf_event() argument 8210 ath12k_wmi_tlv_fw_stats_data_parse(struct ath12k_base * ab,struct wmi_tlv_fw_stats_parse * parse,const void * ptr,u16 len) ath12k_wmi_tlv_fw_stats_data_parse() argument 8327 ath12k_wmi_tlv_rssi_chain_parse(struct ath12k_base * ab,u16 tag,u16 len,const void * ptr,void * data) ath12k_wmi_tlv_rssi_chain_parse() argument 8392 ath12k_wmi_tlv_fw_stats_parse(struct ath12k_base * ab,u16 tag,u16 len,const void * ptr,void * data) ath12k_wmi_tlv_fw_stats_parse() argument 8428 ath12k_wmi_pull_fw_stats(struct ath12k_base * ab,struct sk_buff * skb,struct ath12k_fw_stats * stats) ath12k_wmi_pull_fw_stats() argument 8444 struct ath12k_base *ab = ar->ab; ath12k_wmi_fw_stats_process() local 8491 ath12k_update_stats_event(struct ath12k_base * ab,struct sk_buff * skb) ath12k_update_stats_event() argument 8553 ath12k_pdev_ctl_failsafe_check_event(struct ath12k_base * ab,struct sk_buff * skb) ath12k_pdev_ctl_failsafe_check_event() argument 8589 ath12k_wmi_process_csa_switch_count_event(struct ath12k_base * ab,const struct ath12k_wmi_pdev_csa_event * ev,const u32 * vdev_ids) ath12k_wmi_process_csa_switch_count_event() argument 8649 ath12k_wmi_pdev_csa_switch_count_status_event(struct ath12k_base * ab,struct sk_buff * skb) ath12k_wmi_pdev_csa_switch_count_status_event() argument 8684 ath12k_wmi_pdev_dfs_radar_detected_event(struct ath12k_base * ab,struct sk_buff * skb) ath12k_wmi_pdev_dfs_radar_detected_event() argument 8746 ath12k_tm_wmi_event_segmented(struct ath12k_base * ab,u32 cmd_id,struct sk_buff * skb) ath12k_tm_wmi_event_segmented() argument 8776 ath12k_wmi_pdev_temperature_event(struct ath12k_base * ab,struct sk_buff * skb) ath12k_wmi_pdev_temperature_event() argument 8822 ath12k_fils_discovery_event(struct ath12k_base * ab,struct sk_buff * skb) ath12k_fils_discovery_event() argument 8852 ath12k_probe_resp_tx_status_event(struct ath12k_base * ab,struct sk_buff * skb) ath12k_probe_resp_tx_status_event() argument 8884 ath12k_wmi_p2p_noa_event(struct ath12k_base * ab,struct sk_buff * skb) ath12k_wmi_p2p_noa_event() argument 8934 ath12k_rfkill_state_change_event(struct ath12k_base * ab,struct sk_buff * skb) ath12k_rfkill_state_change_event() argument 8969 ath12k_wmi_diag_event(struct ath12k_base * ab,struct sk_buff * skb) ath12k_wmi_diag_event() argument 8974 ath12k_wmi_twt_enable_event(struct ath12k_base * ab,struct sk_buff * skb) ath12k_wmi_twt_enable_event() argument 9003 ath12k_wmi_twt_disable_event(struct ath12k_base * ab,struct sk_buff * skb) ath12k_wmi_twt_disable_event() argument 9032 ath12k_wmi_wow_wakeup_host_parse(struct ath12k_base * ab,u16 tag,u16 len,const void * ptr,void * data) ath12k_wmi_wow_wakeup_host_parse() argument 9075 ath12k_wmi_event_wow_wakeup_host(struct ath12k_base * ab,struct sk_buff * skb) ath12k_wmi_event_wow_wakeup_host() argument 9092 ath12k_wmi_gtk_offload_status_event(struct ath12k_base * ab,struct sk_buff * skb) ath12k_wmi_gtk_offload_status_event() argument 9142 ath12k_wmi_event_mlo_setup_complete(struct ath12k_base * ab,struct sk_buff * skb) ath12k_wmi_event_mlo_setup_complete() argument 9191 ath12k_wmi_event_teardown_complete(struct ath12k_base * ab,struct sk_buff * skb) ath12k_wmi_event_teardown_complete() argument 9216 ath12k_wmi_tpc_stats_copy_buffer(struct ath12k_base * ab,const void * ptr,u16 tag,u16 len,struct wmi_tpc_stats_arg * tpc_stats) ath12k_wmi_tpc_stats_copy_buffer() argument 9270 ath12k_tpc_get_reg_pwr(struct ath12k_base * ab,struct wmi_tpc_stats_arg * tpc_stats,struct wmi_max_reg_power_fixed_params * ev) ath12k_tpc_get_reg_pwr() argument 9310 ath12k_tpc_get_rate_array(struct ath12k_base * ab,struct wmi_tpc_stats_arg * tpc_stats,struct wmi_tpc_rates_array_fixed_params * ev) ath12k_tpc_get_rate_array() argument 9346 ath12k_tpc_get_ctl_pwr_tbl(struct ath12k_base * ab,struct wmi_tpc_stats_arg * tpc_stats,struct wmi_tpc_ctl_pwr_fixed_params * ev) ath12k_tpc_get_ctl_pwr_tbl() argument 9386 ath12k_wmi_tpc_stats_subtlv_parser(struct ath12k_base * ab,u16 tag,u16 len,const void * ptr,void * data) ath12k_wmi_tpc_stats_subtlv_parser() argument 9428 ath12k_wmi_tpc_stats_event_parser(struct ath12k_base * ab,u16 tag,u16 len,const void * ptr,void * data) ath12k_wmi_tpc_stats_event_parser() argument 9488 ath12k_wmi_process_tpc_stats(struct ath12k_base * ab,struct sk_buff * skb) ath12k_wmi_process_tpc_stats() argument 9591 ath12k_wmi_process_tpc_stats(struct ath12k_base * ab,struct sk_buff * skb) ath12k_wmi_process_tpc_stats() argument 9598 ath12k_wmi_rssi_dbm_conv_info_evt_subtlv_parser(struct ath12k_base * ab,u16 tag,u16 len,const void * ptr,void * data) ath12k_wmi_rssi_dbm_conv_info_evt_subtlv_parser() argument 9701 ath12k_wmi_rssi_dbm_conv_info_event_parser(struct ath12k_base * ab,u16 tag,u16 len,const void * ptr,void * data) ath12k_wmi_rssi_dbm_conv_info_event_parser() argument 9733 ath12k_wmi_rssi_dbm_conv_info_process_fixed_param(struct ath12k_base * ab,u8 * ptr,size_t len,int * pdev_id) ath12k_wmi_rssi_dbm_conv_info_process_fixed_param() argument 9778 ath12k_wmi_rssi_dbm_conversion_params_info_event(struct ath12k_base * ab,struct sk_buff * skb) ath12k_wmi_rssi_dbm_conversion_params_info_event() argument 9820 ath12k_wmi_op_rx(struct ath12k_base * ab,struct sk_buff * skb) ath12k_wmi_op_rx() argument 9984 ath12k_connect_pdev_htc_service(struct ath12k_base * ab,u32 pdev_idx) ath12k_connect_pdev_htc_service() argument 10175 ath12k_wmi_connect(struct ath12k_base * ab) ath12k_wmi_connect() argument 10190 ath12k_wmi_pdev_detach(struct ath12k_base * ab,u8 pdev_id) ath12k_wmi_pdev_detach() argument 10198 ath12k_wmi_pdev_attach(struct ath12k_base * ab,u8 pdev_id) ath12k_wmi_pdev_attach() argument 10216 ath12k_wmi_attach(struct ath12k_base * ab) ath12k_wmi_attach() argument 10238 ath12k_wmi_detach(struct ath12k_base * ab) ath12k_wmi_detach() argument 11096 ath12k_wmi_fill_disallowed_bmap(struct ath12k_base * ab,struct wmi_disallowed_mlo_mode_bitmap_params * dislw_bmap,struct wmi_mlo_link_set_active_arg * arg) ath12k_wmi_fill_disallowed_bmap() argument 11137 ath12k_wmi_send_mlo_link_set_active_cmd(struct ath12k_base * ab,struct wmi_mlo_link_set_active_arg * arg) ath12k_wmi_send_mlo_link_set_active_cmd() argument [all...] |
| /linux/drivers/net/wireless/ath/ath11k/ |
| H A D | peer.c | 11 static struct ath11k_peer *ath11k_peer_find_list_by_id(struct ath11k_base *ab, in ath11k_peer_find_list_by_id() argument 16 lockdep_assert_held(&ab->base_lock); in ath11k_peer_find_list_by_id() 18 list_for_each_entry(peer, &ab->peers, list) { in ath11k_peer_find_list_by_id() 28 struct ath11k_peer *ath11k_peer_find(struct ath11k_base *ab, int vdev_id, in ath11k_peer_find() argument 33 lockdep_assert_held(&ab->base_lock); in ath11k_peer_find() 35 list_for_each_entry(peer, &ab->peers, list) { in ath11k_peer_find() 47 struct ath11k_peer *ath11k_peer_find_by_addr(struct ath11k_base *ab, in ath11k_peer_find_by_addr() argument 52 lockdep_assert_held(&ab->base_lock); in ath11k_peer_find_by_addr() 54 if (!ab->rhead_peer_addr) in ath11k_peer_find_by_addr() 57 peer = rhashtable_lookup_fast(ab in ath11k_peer_find_by_addr() 63 ath11k_peer_find_by_id(struct ath11k_base * ab,int peer_id) ath11k_peer_find_by_id() argument 79 ath11k_peer_find_by_vdev_id(struct ath11k_base * ab,int vdev_id) ath11k_peer_find_by_vdev_id() argument 96 ath11k_peer_unmap_event(struct ath11k_base * ab,u16 peer_id) ath11k_peer_unmap_event() argument 120 ath11k_peer_map_event(struct ath11k_base * ab,u8 vdev_id,u16 peer_id,u8 * mac_addr,u16 ast_hash,u16 hw_peer_id) ath11k_peer_map_event() argument 148 ath11k_wait_for_peer_common(struct ath11k_base * ab,int vdev_id,const u8 * addr,bool expect_mapped) ath11k_wait_for_peer_common() argument 170 ath11k_peer_rhash_insert(struct ath11k_base * ab,struct rhashtable * rtbl,struct rhash_head * rhead,struct rhashtable_params * params,void * key) ath11k_peer_rhash_insert() argument 190 ath11k_peer_rhash_remove(struct ath11k_base * ab,struct rhashtable * rtbl,struct rhash_head * rhead,struct rhashtable_params * params) ath11k_peer_rhash_remove() argument 206 ath11k_peer_rhash_add(struct ath11k_base * ab,struct ath11k_peer * peer) ath11k_peer_rhash_add() argument 243 struct ath11k_base *ab = ar->ab; ath11k_peer_cleanup() local 297 struct ath11k_base *ab = ar->ab; __ath11k_peer_delete() local 474 ath11k_peer_rhash_delete(struct ath11k_base * ab,struct ath11k_peer * peer) ath11k_peer_rhash_delete() argument 503 ath11k_peer_rhash_id_tbl_init(struct ath11k_base * ab) ath11k_peer_rhash_id_tbl_init() argument 558 ath11k_peer_rhash_addr_tbl_init(struct ath11k_base * ab) ath11k_peer_rhash_addr_tbl_init() argument 613 ath11k_peer_rhash_id_tbl_destroy(struct ath11k_base * ab) ath11k_peer_rhash_id_tbl_destroy() argument 625 ath11k_peer_rhash_addr_tbl_destroy(struct ath11k_base * ab) ath11k_peer_rhash_addr_tbl_destroy() argument 637 ath11k_peer_rhash_tbl_init(struct ath11k_base * ab) ath11k_peer_rhash_tbl_init() argument 662 ath11k_peer_rhash_tbl_destroy(struct ath11k_base * ab) ath11k_peer_rhash_tbl_destroy() argument [all...] |
| H A D | pcic.c | 143 int ath11k_pcic_init_msi_config(struct ath11k_base *ab) 151 if (msi_config->hw_rev == ab->hw_rev) in ath11k_pcic_init_msi_config() 156 ath11k_err(ab, "failed to fetch msi config, unsupported hw version: 0x%x\n", in ath11k_pcic_init_msi_config() 157 ab->hw_rev); in ath11k_pcic_init_msi_config() 161 ab->pci.msi.config = msi_config; in ath11k_pcic_init_msi_config() 166 static void __ath11k_pcic_write32(struct ath11k_base *ab, u32 offset, u32 value) 169 iowrite32(value, ab->mem + offset); in __ath11k_pcic_write32() 171 ab->pci.ops->window_write32(ab, offset, value); in __ath11k_pcic_write32() 174 void ath11k_pcic_write32(struct ath11k_base *ab, u3 in __ath11k_pcic_write32() 144 ath11k_pcic_init_msi_config(struct ath11k_base * ab) ath11k_pcic_init_msi_config() argument 167 __ath11k_pcic_write32(struct ath11k_base * ab,u32 offset,u32 value) __ath11k_pcic_write32() argument 175 ath11k_pcic_write32(struct ath11k_base * ab,u32 offset,u32 value) ath11k_pcic_write32() argument 195 __ath11k_pcic_read32(struct ath11k_base * ab,u32 offset) __ath11k_pcic_read32() argument 207 ath11k_pcic_read32(struct ath11k_base * ab,u32 offset) ath11k_pcic_read32() argument 230 ath11k_pcic_read(struct ath11k_base * ab,void * buf,u32 start,u32 end) ath11k_pcic_read() argument 268 ath11k_pcic_get_msi_address(struct ath11k_base * ab,u32 * msi_addr_lo,u32 * msi_addr_hi) ath11k_pcic_get_msi_address() argument 276 ath11k_pcic_get_user_msi_assignment(struct ath11k_base * ab,char * user_name,int * num_vectors,u32 * user_base_data,u32 * base_vector) ath11k_pcic_get_user_msi_assignment() argument 304 ath11k_pcic_get_ce_msi_idx(struct ath11k_base * ab,u32 ce_id,u32 * msi_idx) ath11k_pcic_get_ce_msi_idx() argument 321 ath11k_pcic_free_ext_irq(struct ath11k_base * ab) ath11k_pcic_free_ext_irq() argument 336 ath11k_pcic_free_irq(struct ath11k_base * ab) ath11k_pcic_free_irq() argument 351 ath11k_pcic_ce_irq_enable(struct ath11k_base * ab,u16 ce_id) ath11k_pcic_ce_irq_enable() argument 365 ath11k_pcic_ce_irq_disable(struct ath11k_base * ab,u16 ce_id) ath11k_pcic_ce_irq_disable() argument 379 ath11k_pcic_ce_irqs_disable(struct ath11k_base * ab) ath11k_pcic_ce_irqs_disable() argument 392 ath11k_pcic_sync_ce_irqs(struct ath11k_base * ab) ath11k_pcic_sync_ce_irqs() argument 419 struct ath11k_base *ab = ce_pipe->ab; ath11k_pcic_ce_interrupt_handler() local 437 struct ath11k_base *ab = irq_grp->ab; ath11k_pcic_ext_grp_disable() local 450 __ath11k_pcic_ext_irq_disable(struct ath11k_base * ab) __ath11k_pcic_ext_irq_disable() argument 471 struct ath11k_base *ab = irq_grp->ab; ath11k_pcic_ext_grp_enable() local 484 ath11k_pcic_ext_irq_enable(struct ath11k_base * ab) ath11k_pcic_ext_irq_enable() argument 502 ath11k_pcic_sync_ext_irqs(struct ath11k_base * ab) ath11k_pcic_sync_ext_irqs() argument 516 ath11k_pcic_ext_irq_disable(struct ath11k_base * ab) ath11k_pcic_ext_irq_disable() argument 528 struct ath11k_base *ab = irq_grp->ab; ath11k_pcic_ext_grp_napi_poll() local 548 struct ath11k_base *ab = irq_grp->ab; ath11k_pcic_ext_interrupt_handler() local 568 ath11k_pcic_get_msi_irq(struct ath11k_base * ab,unsigned int vector) ath11k_pcic_get_msi_irq() argument 573 ath11k_pcic_ext_irq_config(struct ath11k_base * ab) ath11k_pcic_ext_irq_config() argument 662 ath11k_pcic_config_irq(struct ath11k_base * ab) ath11k_pcic_config_irq() argument 719 ath11k_pcic_ce_irqs_enable(struct ath11k_base * ab) ath11k_pcic_ce_irqs_enable() argument 733 ath11k_pcic_kill_tasklets(struct ath11k_base * ab) ath11k_pcic_kill_tasklets() argument 747 ath11k_pcic_ce_irq_disable_sync(struct ath11k_base * ab) ath11k_pcic_ce_irq_disable_sync() argument 755 ath11k_pcic_stop(struct ath11k_base * ab) ath11k_pcic_stop() argument 762 ath11k_pcic_start(struct ath11k_base * ab) ath11k_pcic_start() argument 773 ath11k_pcic_map_service_to_pipe(struct ath11k_base * ab,u16 service_id,u8 * ul_pipe,u8 * dl_pipe) ath11k_pcic_map_service_to_pipe() argument 817 ath11k_pcic_register_pci_ops(struct ath11k_base * ab,const struct ath11k_pci_ops * pci_ops) ath11k_pcic_register_pci_ops() argument 833 ath11k_pci_enable_ce_irqs_except_wake_irq(struct ath11k_base * ab) ath11k_pci_enable_ce_irqs_except_wake_irq() argument 846 ath11k_pci_disable_ce_irqs_except_wake_irq(struct ath11k_base * ab) ath11k_pci_disable_ce_irqs_except_wake_irq() argument [all...] |
| H A D | hal.c | 194 static int ath11k_hal_alloc_cont_rdp(struct ath11k_base *ab) in ath11k_hal_alloc_cont_rdp() argument 196 struct ath11k_hal *hal = &ab->hal; in ath11k_hal_alloc_cont_rdp() 200 hal->rdp.vaddr = dma_alloc_coherent(ab->dev, size, &hal->rdp.paddr, in ath11k_hal_alloc_cont_rdp() 208 static void ath11k_hal_free_cont_rdp(struct ath11k_base *ab) in ath11k_hal_free_cont_rdp() argument 210 struct ath11k_hal *hal = &ab->hal; in ath11k_hal_free_cont_rdp() 217 dma_free_coherent(ab->dev, size, in ath11k_hal_free_cont_rdp() 222 static int ath11k_hal_alloc_cont_wrp(struct ath11k_base *ab) in ath11k_hal_alloc_cont_wrp() argument 224 struct ath11k_hal *hal = &ab->hal; in ath11k_hal_alloc_cont_wrp() 228 hal->wrp.vaddr = dma_alloc_coherent(ab->dev, size, &hal->wrp.paddr, in ath11k_hal_alloc_cont_wrp() 236 static void ath11k_hal_free_cont_wrp(struct ath11k_base *ab) in ath11k_hal_free_cont_wrp() argument [all …]
|
| H A D | ce.c | 260 void ath11k_ce_stop_shadow_timers(struct ath11k_base *ab) 264 if (!ab->hw_params.supports_shadow_regs) in ath11k_ce_stop_shadow_timers() 267 for (i = 0; i < ab->hw_params.ce_count; i++) in ath11k_ce_stop_shadow_timers() 269 ath11k_dp_shadow_stop_timer(ab, &ab->ce.hp_timer[i]); in ath11k_ce_stop_shadow_timers() 275 struct ath11k_base *ab = pipe->ab; in ath11k_ce_rx_buf_enqueue_pipe() 283 lockdep_assert_held(&ab->ce.ce_lock); in ath11k_ce_rx_buf_enqueue_pipe() 287 srng = &ab->hal.srng_list[ring->hal_ring_id]; in ath11k_ce_rx_buf_enqueue_pipe() 291 ath11k_hal_srng_access_begin(ab, srn in ath11k_ce_rx_buf_enqueue_pipe() 261 ath11k_ce_stop_shadow_timers(struct ath11k_base * ab) ath11k_ce_stop_shadow_timers() argument 276 struct ath11k_base *ab = pipe->ab; ath11k_ce_rx_buf_enqueue_pipe() local 324 struct ath11k_base *ab = pipe->ab; ath11k_ce_rx_post_pipe() local 375 struct ath11k_base *ab = pipe->ab; ath11k_ce_completed_recv_next() local 420 struct ath11k_base *ab = pipe->ab; ath11k_ce_recv_process_cb() local 460 struct ath11k_base *ab = pipe->ab; ath11k_ce_completed_send_next() local 501 struct ath11k_base *ab = pipe->ab; ath11k_ce_tx_process_cb() local 528 ath11k_ce_srng_msi_ring_params_setup(struct ath11k_base * ab,u32 ce_id,struct hal_srng_params * ring_params) ath11k_ce_srng_msi_ring_params_setup() argument 554 ath11k_ce_init_ring(struct ath11k_base * ab,struct ath11k_ce_ring * ce_ring,int ce_id,enum hal_ring_type type) ath11k_ce_init_ring() argument 613 ath11k_ce_alloc_ring(struct ath11k_base * ab,int nentries,int desc_sz) ath11k_ce_alloc_ring() argument 649 ath11k_ce_alloc_pipe(struct ath11k_base * ab,int ce_id) ath11k_ce_alloc_pipe() argument 688 ath11k_ce_per_engine_service(struct ath11k_base * ab,u16 ce_id) ath11k_ce_per_engine_service() argument 700 ath11k_ce_poll_send_completed(struct ath11k_base * ab,u8 pipe_id) ath11k_ce_poll_send_completed() argument 710 ath11k_ce_send(struct ath11k_base * ab,struct sk_buff * skb,u8 pipe_id,u16 transfer_id) ath11k_ce_send() argument 802 struct ath11k_base *ab = pipe->ab; ath11k_ce_rx_pipe_cleanup() local 822 ath11k_ce_shadow_config(struct ath11k_base * ab) ath11k_ce_shadow_config() argument 841 ath11k_ce_get_shadow_config(struct ath11k_base * ab,u32 ** shadow_cfg,u32 * shadow_cfg_len) ath11k_ce_get_shadow_config() argument 865 ath11k_ce_cleanup_pipes(struct ath11k_base * ab) ath11k_ce_cleanup_pipes() argument 884 ath11k_ce_rx_post_buf(struct ath11k_base * ab) ath11k_ce_rx_post_buf() argument 910 struct ath11k_base *ab = timer_container_of(ab, t, rx_replenish_retry); ath11k_ce_rx_replenish_retry() local 915 ath11k_ce_init_pipes(struct ath11k_base * ab) ath11k_ce_init_pipes() argument 973 ath11k_ce_free_pipes(struct ath11k_base * ab) ath11k_ce_free_pipes() argument 1026 ath11k_ce_alloc_pipes(struct ath11k_base * ab) ath11k_ce_alloc_pipes() argument 1073 ath11k_ce_get_attr_flags(struct ath11k_base * ab,int ce_id) ath11k_ce_get_attr_flags() argument [all...] |
| H A D | qmi.c | 1710 int ath11k_qmi_host_cap_send(struct ath11k_base *ab) 1722 req.mem_cfg_mode = ab->qmi.target_mem_mode; in ath11k_qmi_host_cap_send() 1727 if (ab->hw_params.m3_fw_support) { in ath11k_qmi_host_cap_send() 1740 req.cal_done = ab->qmi.cal_done; in ath11k_qmi_host_cap_send() 1742 if (ab->hw_params.internal_sleep_clock) { in ath11k_qmi_host_cap_send() 1756 if (ab->hw_params.global_reset) in ath11k_qmi_host_cap_send() 1761 ath11k_dbg(ab, ATH11K_DBG_QMI, "host cap request\n"); in ath11k_qmi_host_cap_send() 1763 ret = qmi_txn_init(&ab->qmi.handle, &txn, in ath11k_qmi_host_cap_send() 1768 ret = qmi_send_request(&ab->qmi.handle, NULL, &txn, in ath11k_qmi_host_cap_send() 1774 ath11k_warn(ab, "faile in ath11k_qmi_host_cap_send() 1711 ath11k_qmi_host_cap_send(struct ath11k_base * ab) ath11k_qmi_host_cap_send() argument 1794 ath11k_qmi_fw_ind_register_send(struct ath11k_base * ab) ath11k_qmi_fw_ind_register_send() argument 1873 ath11k_qmi_respond_fw_mem_request(struct ath11k_base * ab) ath11k_qmi_respond_fw_mem_request() argument 1957 ath11k_qmi_free_target_mem_chunk(struct ath11k_base * ab) ath11k_qmi_free_target_mem_chunk() argument 1980 ath11k_qmi_alloc_target_mem_chunk(struct ath11k_base * ab) ath11k_qmi_alloc_target_mem_chunk() argument 2040 ath11k_qmi_assign_target_mem_chunk(struct ath11k_base * ab) ath11k_qmi_assign_target_mem_chunk() argument 2121 ath11k_qmi_request_device_info(struct ath11k_base * ab) ath11k_qmi_request_device_info() argument 2198 ath11k_qmi_request_target_cap(struct ath11k_base * ab) ath11k_qmi_request_target_cap() argument 2298 ath11k_qmi_load_file_target_mem(struct ath11k_base * ab,const u8 * data,u32 len,u8 type) ath11k_qmi_load_file_target_mem() argument 2414 ath11k_qmi_load_bdf_qmi(struct ath11k_base * ab,bool regdb) ath11k_qmi_load_bdf_qmi() argument 2512 ath11k_qmi_m3_load(struct ath11k_base * ab) ath11k_qmi_m3_load() argument 2567 ath11k_qmi_m3_free(struct ath11k_base * ab) ath11k_qmi_m3_free() argument 2582 ath11k_qmi_wlanfw_m3_info_send(struct ath11k_base * ab) ath11k_qmi_wlanfw_m3_info_send() argument 2641 ath11k_qmi_wlanfw_mode_send(struct ath11k_base * ab,u32 mode) ath11k_qmi_wlanfw_mode_send() argument 2696 ath11k_qmi_wlanfw_wlan_cfg_send(struct ath11k_base * ab) ath11k_qmi_wlanfw_wlan_cfg_send() argument 2787 ath11k_qmi_wlanfw_wlan_ini_send(struct ath11k_base * ab,bool enable) ath11k_qmi_wlanfw_wlan_ini_send() argument 2829 ath11k_qmi_firmware_stop(struct ath11k_base * ab) ath11k_qmi_firmware_stop() argument 2842 ath11k_qmi_firmware_start(struct ath11k_base * ab,u32 mode) ath11k_qmi_firmware_start() argument 2872 ath11k_qmi_fwreset_from_cold_boot(struct ath11k_base * ab) ath11k_qmi_fwreset_from_cold_boot() argument 2899 ath11k_qmi_process_coldboot_calibration(struct ath11k_base * ab) ath11k_qmi_process_coldboot_calibration() argument 2950 struct ath11k_base *ab = qmi->ab; ath11k_qmi_event_mem_request() local 2964 struct ath11k_base *ab = qmi->ab; ath11k_qmi_event_load_bdf() local 2994 struct ath11k_base *ab = qmi->ab; ath11k_qmi_event_server_arrive() local 3028 struct ath11k_base *ab = qmi->ab; ath11k_qmi_msg_mem_request_cb() local 3074 struct ath11k_base *ab = qmi->ab; ath11k_qmi_msg_mem_ready_cb() local 3086 struct ath11k_base *ab = qmi->ab; ath11k_qmi_msg_fw_ready_cb() local 3105 struct ath11k_base *ab = qmi->ab; ath11k_qmi_msg_cold_boot_cal_done_cb() local 3119 struct ath11k_base *ab = qmi->ab; ath11k_qmi_msg_fw_init_done_cb() local 3172 struct ath11k_base *ab = qmi->ab; ath11k_qmi_ops_new_server() local 3197 struct ath11k_base *ab = qmi->ab; ath11k_qmi_ops_del_server() local 3213 struct ath11k_base *ab = qmi->ab; ath11k_qmi_driver_event_work() local 3314 ath11k_qmi_init_service(struct ath11k_base * ab) ath11k_qmi_init_service() argument 3352 ath11k_qmi_deinit_service(struct ath11k_base * ab) ath11k_qmi_deinit_service() argument 3362 ath11k_qmi_free_resource(struct ath11k_base * ab) ath11k_qmi_free_resource() argument [all...] |
| H A D | dp_rx.c | 25 u8 *ath11k_dp_rx_h_80211_hdr(struct ath11k_base *ab, struct hal_rx_desc *desc) in ath11k_dp_rx_h_80211_hdr() argument 27 return ab->hw_params.hw_ops->rx_desc_get_hdr_status(desc); in ath11k_dp_rx_h_80211_hdr() 31 enum hal_encrypt_type ath11k_dp_rx_h_mpdu_start_enctype(struct ath11k_base *ab, in ath11k_dp_rx_h_mpdu_start_enctype() argument 34 if (!ab->hw_params.hw_ops->rx_desc_encrypt_valid(desc)) in ath11k_dp_rx_h_mpdu_start_enctype() 37 return ab->hw_params.hw_ops->rx_desc_get_encrypt_type(desc); in ath11k_dp_rx_h_mpdu_start_enctype() 40 static inline u8 ath11k_dp_rx_h_msdu_start_decap_type(struct ath11k_base *ab, in ath11k_dp_rx_h_msdu_start_decap_type() argument 43 return ab->hw_params.hw_ops->rx_desc_get_decap_type(desc); in ath11k_dp_rx_h_msdu_start_decap_type() 47 bool ath11k_dp_rx_h_msdu_start_ldpc_support(struct ath11k_base *ab, in ath11k_dp_rx_h_msdu_start_ldpc_support() argument 50 return ab->hw_params.hw_ops->rx_desc_get_ldpc_support(desc); in ath11k_dp_rx_h_msdu_start_ldpc_support() 54 u8 ath11k_dp_rx_h_msdu_start_mesh_ctl_present(struct ath11k_base *ab, in ath11k_dp_rx_h_msdu_start_mesh_ctl_present() argument 61 ath11k_dp_rx_h_mpdu_start_seq_ctrl_valid(struct ath11k_base * ab,struct hal_rx_desc * desc) ath11k_dp_rx_h_mpdu_start_seq_ctrl_valid() argument 67 ath11k_dp_rx_h_mpdu_start_fc_valid(struct ath11k_base * ab,struct hal_rx_desc * desc) ath11k_dp_rx_h_mpdu_start_fc_valid() argument 73 ath11k_dp_rx_h_mpdu_start_more_frags(struct ath11k_base * ab,struct sk_buff * skb) ath11k_dp_rx_h_mpdu_start_more_frags() argument 82 ath11k_dp_rx_h_mpdu_start_frag_no(struct ath11k_base * ab,struct sk_buff * skb) ath11k_dp_rx_h_mpdu_start_frag_no() argument 91 ath11k_dp_rx_h_mpdu_start_seq_no(struct ath11k_base * ab,struct hal_rx_desc * desc) ath11k_dp_rx_h_mpdu_start_seq_no() argument 97 ath11k_dp_rx_get_attention(struct ath11k_base * ab,struct hal_rx_desc * desc) ath11k_dp_rx_get_attention() argument 157 ath11k_dp_rx_h_attn_msdu_len_err(struct ath11k_base * ab,struct hal_rx_desc * desc) ath11k_dp_rx_h_attn_msdu_len_err() argument 169 ath11k_dp_rx_h_msdu_start_msdu_len(struct ath11k_base * ab,struct hal_rx_desc * desc) ath11k_dp_rx_h_msdu_start_msdu_len() argument 175 ath11k_dp_rx_h_msdu_start_sgi(struct ath11k_base * ab,struct hal_rx_desc * desc) ath11k_dp_rx_h_msdu_start_sgi() argument 181 ath11k_dp_rx_h_msdu_start_rate_mcs(struct ath11k_base * ab,struct hal_rx_desc * desc) ath11k_dp_rx_h_msdu_start_rate_mcs() argument 187 ath11k_dp_rx_h_msdu_start_rx_bw(struct ath11k_base * ab,struct hal_rx_desc * desc) ath11k_dp_rx_h_msdu_start_rx_bw() argument 193 ath11k_dp_rx_h_msdu_start_freq(struct ath11k_base * ab,struct hal_rx_desc * desc) ath11k_dp_rx_h_msdu_start_freq() argument 199 ath11k_dp_rx_h_msdu_start_pkt_type(struct ath11k_base * ab,struct hal_rx_desc * desc) ath11k_dp_rx_h_msdu_start_pkt_type() argument 205 ath11k_dp_rx_h_msdu_start_nss(struct ath11k_base * ab,struct hal_rx_desc * desc) ath11k_dp_rx_h_msdu_start_nss() argument 211 ath11k_dp_rx_h_mpdu_start_tid(struct ath11k_base * ab,struct hal_rx_desc * desc) ath11k_dp_rx_h_mpdu_start_tid() argument 217 ath11k_dp_rx_h_mpdu_start_peer_id(struct ath11k_base * ab,struct hal_rx_desc * desc) ath11k_dp_rx_h_mpdu_start_peer_id() argument 223 ath11k_dp_rx_h_msdu_end_l3pad(struct ath11k_base * ab,struct hal_rx_desc * desc) ath11k_dp_rx_h_msdu_end_l3pad() argument 229 ath11k_dp_rx_h_msdu_end_first_msdu(struct ath11k_base * ab,struct hal_rx_desc * desc) ath11k_dp_rx_h_msdu_end_first_msdu() argument 235 ath11k_dp_rx_h_msdu_end_last_msdu(struct ath11k_base * ab,struct hal_rx_desc * desc) ath11k_dp_rx_h_msdu_end_last_msdu() argument 241 ath11k_dp_rx_desc_end_tlv_copy(struct ath11k_base * ab,struct hal_rx_desc * fdesc,struct hal_rx_desc * ldesc) ath11k_dp_rx_desc_end_tlv_copy() argument 254 ath11k_dp_rxdesc_get_80211hdr(struct ath11k_base * ab,struct hal_rx_desc * rx_desc) ath11k_dp_rxdesc_get_80211hdr() argument 264 ath11k_dp_rxdesc_mpdu_valid(struct ath11k_base * ab,struct hal_rx_desc * rx_desc) ath11k_dp_rxdesc_mpdu_valid() argument 274 ath11k_dp_rxdesc_get_ppduid(struct ath11k_base * ab,struct hal_rx_desc * rx_desc) ath11k_dp_rxdesc_get_ppduid() argument 280 ath11k_dp_rxdesc_set_msdu_len(struct ath11k_base * ab,struct hal_rx_desc * desc,u16 len) ath11k_dp_rxdesc_set_msdu_len() argument 287 ath11k_dp_rx_h_attn_is_mcbc(struct ath11k_base * ab,struct hal_rx_desc * desc) ath11k_dp_rx_h_attn_is_mcbc() argument 297 ath11k_dp_rxdesc_mac_addr2_valid(struct ath11k_base * ab,struct hal_rx_desc * desc) ath11k_dp_rxdesc_mac_addr2_valid() argument 303 ath11k_dp_rxdesc_mpdu_start_addr2(struct ath11k_base * ab,struct hal_rx_desc * desc) ath11k_dp_rxdesc_mpdu_start_addr2() argument 311 struct ath11k_base *ab = timer_container_of(ab, t, mon_reap_timer); ath11k_dp_service_mon_ring() local 321 ath11k_dp_purge_mon_ring(struct ath11k_base * ab) ath11k_dp_purge_mon_ring() argument 344 ath11k_dp_rxbufs_replenish(struct ath11k_base * ab,int mac_id,struct dp_rxdma_ring * rx_ring,int req_entries,enum hal_rx_buf_return_buf_manager mgr) ath11k_dp_rxbufs_replenish() argument 462 struct ath11k_base *ab = ar->ab; ath11k_dp_rxdma_pdev_buf_free() local 498 struct ath11k_base *ab = ar->ab; ath11k_dp_rxdma_pdev_buf_setup() local 520 struct ath11k_base *ab = ar->ab; ath11k_dp_rx_pdev_srng_free() local 537 ath11k_dp_pdev_reo_cleanup(struct ath11k_base * ab) ath11k_dp_pdev_reo_cleanup() argument 546 ath11k_dp_pdev_reo_setup(struct ath11k_base * ab) ath11k_dp_pdev_reo_setup() argument 573 struct ath11k_base *ab = ar->ab; ath11k_dp_rx_pdev_srng_alloc() local 667 ath11k_dp_reo_cmd_list_cleanup(struct ath11k_base * ab) ath11k_dp_reo_cmd_list_cleanup() argument 719 ath11k_dp_reo_cache_flush(struct ath11k_base * ab,struct dp_rx_tid * rx_tid) ath11k_dp_reo_cache_flush() argument 762 struct ath11k_base *ab = dp->ab; ath11k_dp_rx_tid_del_func() local 846 ath11k_dp_rx_link_desc_return(struct ath11k_base * ab,u32 * link_desc,enum hal_wbm_rel_bm_act action) ath11k_dp_rx_link_desc_return() argument 880 struct ath11k_base *ab = rx_tid->ab; ath11k_dp_rx_frags_cleanup() local 969 ath11k_dp_rx_tid_mem_free(struct ath11k_base * ab,const u8 * peer_mac,int vdev_id,u8 tid) ath11k_dp_rx_tid_mem_free() argument 1001 struct ath11k_base *ab = ar->ab; ath11k_peer_rx_tid_setup() local 1093 struct ath11k_base *ab = ar->ab; ath11k_dp_rx_ampdu_start() local 1110 struct ath11k_base *ab = ar->ab; ath11k_dp_rx_ampdu_stop() local 1158 struct ath11k_base *ab = ar->ab; ath11k_dp_peer_rx_pn_replay_config() local 1241 ath11k_htt_tlv_ppdu_stats_parse(struct ath11k_base * ab,u16 tag,u16 len,const void * ptr,void * data) ath11k_htt_tlv_ppdu_stats_parse() argument 1325 ath11k_dp_htt_tlv_iter(struct ath11k_base * ab,const void * ptr,size_t len,int (* iter)(struct ath11k_base * ar,u16 tag,u16 len,const void * ptr,void * data),void * data) ath11k_dp_htt_tlv_iter() argument 1366 struct ath11k_base *ab = ar->ab; ath11k_update_per_peer_tx_stats() local 1554 ath11k_htt_pull_ppdu_stats(struct ath11k_base * ab,struct sk_buff * skb) ath11k_htt_pull_ppdu_stats() argument 1604 ath11k_htt_pktlog(struct ath11k_base * ab,struct sk_buff * skb) ath11k_htt_pktlog() argument 1628 ath11k_htt_backpressure_event_handler(struct ath11k_base * ab,struct sk_buff * skb) ath11k_htt_backpressure_event_handler() argument 1677 ath11k_dp_htt_htc_t2h_msg_handler(struct ath11k_base * ab,struct sk_buff * skb) ath11k_dp_htt_htc_t2h_msg_handler() argument 1758 struct ath11k_base *ab = ar->ab; ath11k_dp_rx_msdu_coalesce() local 2211 ath11k_dp_rx_h_find_peer(struct ath11k_base * ab,struct sk_buff * msdu) ath11k_dp_rx_h_find_peer() argument 2511 struct ath11k_base *ab = ar->ab; ath11k_dp_rx_process_msdu() local 2587 ath11k_dp_rx_process_received_packets(struct ath11k_base * ab,struct napi_struct * napi,struct sk_buff_head * msdu_list,int mac_id) ath11k_dp_rx_process_received_packets() argument 2624 ath11k_dp_process_rx(struct ath11k_base * ab,int ring_id,struct napi_struct * napi,int budget) ath11k_dp_process_rx() argument 2835 ath11k_dp_rx_alloc_mon_status_buf(struct ath11k_base * ab,struct dp_rxdma_ring * rx_ring,int * buf_id) ath11k_dp_rx_alloc_mon_status_buf() argument 2879 ath11k_dp_rx_mon_status_bufs_replenish(struct ath11k_base * ab,int mac_id,struct dp_rxdma_ring * rx_ring,int req_entries,enum hal_rx_buf_return_buf_manager mgr) ath11k_dp_rx_mon_status_bufs_replenish() argument 2982 ath11k_dp_rx_mon_buf_done(struct ath11k_base * ab,struct hal_srng * srng,struct dp_rxdma_ring * rx_ring) ath11k_dp_rx_mon_buf_done() argument 3021 ath11k_dp_rx_reap_mon_status_ring(struct ath11k_base * ab,int mac_id,int * budget,struct sk_buff_head * skb_list) ath11k_dp_rx_reap_mon_status_ring() argument 3185 struct ath11k_base *ab = ar->ab; ath11k_peer_rx_frag_setup() local 3376 struct ath11k_base *ab = ar->ab; ath11k_dp_rx_h_defrag_reo_reinject() local 3571 struct ath11k_base *ab = ar->ab; ath11k_dp_rx_frag_h_mpdu() local 3768 ath11k_dp_process_rx_err(struct ath11k_base * ab,struct napi_struct * napi,int budget) ath11k_dp_process_rx_err() argument 4079 ath11k_dp_rx_process_wbm_err(struct ath11k_base * ab,struct napi_struct * napi,int budget) ath11k_dp_rx_process_wbm_err() argument 4197 ath11k_dp_process_rxdma_err(struct ath11k_base * ab,int mac_id,int budget) ath11k_dp_process_rxdma_err() argument 4286 ath11k_dp_process_reo_status(struct ath11k_base * ab) ath11k_dp_process_reo_status() argument 4365 ath11k_dp_rx_pdev_free(struct ath11k_base * ab,int mac_id) ath11k_dp_rx_pdev_free() argument 4373 ath11k_dp_rx_pdev_alloc(struct ath11k_base * ab,int mac_id) ath11k_dp_rx_pdev_alloc() argument 4848 struct ath11k_base *ab = ar->ab; ath11k_dp_rx_mon_merg_msdus() local 5191 ath11k_dp_rx_process_mon_status(struct ath11k_base * ab,int mac_id,struct napi_struct * napi,int budget) ath11k_dp_rx_process_mon_status() argument 5485 struct ath11k_base *ab = ar->ab; ath11k_dp_rx_full_mon_deliver_ppdu() local 5509 ath11k_dp_rx_process_full_mon_status_ring(struct ath11k_base * ab,int mac_id,struct napi_struct * napi,int budget) ath11k_dp_rx_process_full_mon_status_ring() argument 5551 ath11k_dp_full_mon_process_rx(struct ath11k_base * ab,int mac_id,struct napi_struct * napi,int budget) ath11k_dp_full_mon_process_rx() argument 5639 ath11k_dp_rx_process_mon_rings(struct ath11k_base * ab,int mac_id,struct napi_struct * napi,int budget) ath11k_dp_rx_process_mon_rings() argument 5724 ath11k_dp_rx_pktlog_start(struct ath11k_base * ab) ath11k_dp_rx_pktlog_start() argument 5733 ath11k_dp_rx_pktlog_stop(struct ath11k_base * ab,bool stop_timer) ath11k_dp_rx_pktlog_stop() argument [all...] |
| H A D | fw.c | 11 static int ath11k_fw_request_firmware_api_n(struct ath11k_base *ab, 20 ab->fw.fw = ath11k_core_firmware_request(ab, name); in ath11k_fw_request_firmware_api_n() 21 if (IS_ERR(ab->fw.fw)) { in ath11k_fw_request_firmware_api_n() 22 ret = PTR_ERR(ab->fw.fw); in ath11k_fw_request_firmware_api_n() 23 ath11k_dbg(ab, ATH11K_DBG_BOOT, "failed to load %s: %d\n", name, ret); in ath11k_fw_request_firmware_api_n() 24 ab->fw.fw = NULL; in ath11k_fw_request_firmware_api_n() 28 data = ab->fw.fw->data; in ath11k_fw_request_firmware_api_n() 29 len = ab->fw.fw->size; in ath11k_fw_request_firmware_api_n() 35 ath11k_err(ab, "firmwar in ath11k_fw_request_firmware_api_n() 12 ath11k_fw_request_firmware_api_n(struct ath11k_base * ab,const char * name) ath11k_fw_request_firmware_api_n() argument 148 ath11k_fw_pre_init(struct ath11k_base * ab) ath11k_fw_pre_init() argument 167 ath11k_fw_destroy(struct ath11k_base * ab) ath11k_fw_destroy() argument [all...] |
| H A D | mhi.c | 150 void ath11k_mhi_set_mhictrl_reset(struct ath11k_base *ab) in ath11k_mhi_set_mhictrl_reset() argument 154 val = ath11k_pcic_read32(ab, MHISTATUS); in ath11k_mhi_set_mhictrl_reset() 156 ath11k_dbg(ab, ATH11K_DBG_PCI, "mhistatus 0x%x\n", val); in ath11k_mhi_set_mhictrl_reset() 161 ath11k_pcic_write32(ab, MHICTRL, MHICTRL_RESET_MASK); in ath11k_mhi_set_mhictrl_reset() 166 static void ath11k_mhi_reset_txvecdb(struct ath11k_base *ab) in ath11k_mhi_reset_txvecdb() argument 168 ath11k_pcic_write32(ab, PCIE_TXVECDB, 0); in ath11k_mhi_reset_txvecdb() 171 static void ath11k_mhi_reset_txvecstatus(struct ath11k_base *ab) in ath11k_mhi_reset_txvecstatus() argument 173 ath11k_pcic_write32(ab, PCIE_TXVECSTATUS, 0); in ath11k_mhi_reset_txvecstatus() 176 static void ath11k_mhi_reset_rxvecdb(struct ath11k_base *ab) in ath11k_mhi_reset_rxvecdb() argument 178 ath11k_pcic_write32(ab, PCIE_RXVECD in ath11k_mhi_reset_rxvecdb() 181 ath11k_mhi_reset_rxvecstatus(struct ath11k_base * ab) ath11k_mhi_reset_rxvecstatus() argument 186 ath11k_mhi_clear_vector(struct ath11k_base * ab) ath11k_mhi_clear_vector() argument 196 struct ath11k_base *ab = ab_pci->ab; ath11k_mhi_get_msi() local 267 struct ath11k_base *ab = dev_get_drvdata(mhi_cntrl->cntrl_dev); ath11k_mhi_op_status_cb() local 335 struct ath11k_base *ab = ab_pci->ab; ath11k_mhi_register() local 433 struct ath11k_base *ab = ab_pci->ab; ath11k_mhi_start() local 469 struct ath11k_base *ab = ab_pci->ab; ath11k_mhi_suspend() local 483 struct ath11k_base *ab = ab_pci->ab; ath11k_mhi_resume() local [all...] |
| H A D | dp_tx.c | 19 struct ath11k_base *ab = arvif->ar->ab; in ath11k_dp_tx_get_encap_type() 21 if (test_bit(ATH11K_FLAG_RAW_MODE, &ab->dev_flags)) in ath11k_dp_tx_get_encap_type() 85 struct ath11k_base *ab = ar->ab; in ath11k_dp_tx() 86 struct ath11k_dp *dp = &ab->dp; in ath11k_dp_tx() local 93 size_t num_tx_rings = ab->hw_params.hal_params->num_tx_rings; in ath11k_dp_tx() 102 if (unlikely(test_bit(ATH11K_FLAG_CRASH_FLUSH, &ar->ab->dev_flags))) in ath11k_dp_tx() 111 ring_selector = ab->hw_params.hw_ops->get_ring_selector(skb); in ath11k_dp_tx() 117 ti.rbm_id = ab in ath11k_dp_tx() 20 struct ath11k_base *ab = arvif->ar->ab; ath11k_dp_tx_get_encap_type() local 288 ath11k_dp_tx_free_txbuf(struct ath11k_base * ab,u8 mac_id,int msdu_id,struct dp_tx_ring * tx_ring) ath11k_dp_tx_free_txbuf() argument 317 ath11k_dp_tx_htt_tx_complete_buf(struct ath11k_base * ab,struct dp_tx_ring * tx_ring,struct ath11k_dp_htt_wbm_tx_status * ts) ath11k_dp_tx_htt_tx_complete_buf() argument 391 ath11k_dp_tx_process_htt_tx_complete(struct ath11k_base * ab,void * desc,u8 mac_id,u32 msdu_id,struct dp_tx_ring * tx_ring) ath11k_dp_tx_process_htt_tx_complete() argument 455 struct ath11k_base *ab = ar->ab; ath11k_dp_tx_update_txcompl() local 558 struct ath11k_base *ab = ar->ab; ath11k_dp_tx_complete_msdu() local 657 ath11k_dp_tx_status_parse(struct ath11k_base * ab,struct hal_wbm_release_ring * desc,struct hal_tx_status * ts) ath11k_dp_tx_status_parse() argument 688 ath11k_dp_tx_completion_handler(struct ath11k_base * ab,int ring_id) ath11k_dp_tx_completion_handler() argument 767 ath11k_dp_tx_send_reo_cmd(struct ath11k_base * ab,struct dp_rx_tid * rx_tid,enum hal_reo_cmd_type type,struct ath11k_hal_reo_cmd * cmd,void (* cb)(struct ath11k_dp *,void *,enum hal_reo_cmd_status)) ath11k_dp_tx_send_reo_cmd() argument 816 ath11k_dp_tx_get_ring_id_type(struct ath11k_base * ab,int mac_id,u32 ring_id,enum hal_ring_type ring_type,enum htt_srng_ring_type * htt_ring_type,enum htt_srng_ring_id * htt_ring_id) ath11k_dp_tx_get_ring_id_type() argument 878 ath11k_dp_tx_htt_srng_setup(struct ath11k_base * ab,u32 ring_id,int mac_id,enum hal_ring_type ring_type) ath11k_dp_tx_htt_srng_setup() argument 996 ath11k_dp_tx_htt_h2t_ver_req_msg(struct ath11k_base * ab) ath11k_dp_tx_htt_h2t_ver_req_msg() argument 1039 struct ath11k_base *ab = ar->ab; ath11k_dp_tx_htt_h2t_ppdu_stats_req() local 1072 ath11k_dp_tx_htt_rx_filter_setup(struct ath11k_base * ab,u32 ring_id,int mac_id,enum hal_ring_type ring_type,int rx_buf_size,struct htt_rx_ring_tlv_filter * tlv_filter) ath11k_dp_tx_htt_rx_filter_setup() argument 1144 struct ath11k_base *ab = ar->ab; ath11k_dp_tx_htt_h2t_ext_stats_req() local 1191 struct ath11k_base *ab = ar->ab; ath11k_dp_tx_htt_monitor_mode_ring_config() local 1270 ath11k_dp_tx_htt_rx_full_mon_setup(struct ath11k_base * ab,int mac_id,bool config) ath11k_dp_tx_htt_rx_full_mon_setup() argument [all...] |
| H A D | htc.c | 12 struct sk_buff *ath11k_htc_alloc_skb(struct ath11k_base *ab, int size) in ath11k_htc_alloc_skb() argument 24 ath11k_warn(ab, "Unaligned HTC tx skb\n"); in ath11k_htc_alloc_skb() 29 static void ath11k_htc_control_tx_complete(struct ath11k_base *ab, in ath11k_htc_control_tx_complete() argument 35 static struct sk_buff *ath11k_htc_build_tx_ctrl_skb(void *ab) in ath11k_htc_build_tx_ctrl_skb() argument 80 struct device *dev = htc->ab->dev; in ath11k_htc_send() 81 struct ath11k_base *ab = htc->ab; in ath11k_htc_send() local 84 bool credit_flow_enabled = (ab->hw_params.credit_flow && in ath11k_htc_send() 88 ath11k_warn(ab, "Invalid endpoint id: %d\n", eid); in ath11k_htc_send() 98 ath11k_dbg(ab, ATH11K_DBG_HT in ath11k_htc_send() 156 struct ath11k_base *ab = htc->ab; ath11k_htc_process_credit_report() local 190 struct ath11k_base *ab = htc->ab; ath11k_htc_process_trailer() local 243 ath11k_htc_suspend_complete(struct ath11k_base * ab,bool ack) ath11k_htc_suspend_complete() argument 255 ath11k_htc_tx_completion_handler(struct ath11k_base * ab,struct sk_buff * skb) ath11k_htc_tx_completion_handler() argument 280 ath11k_htc_wakeup_from_suspend(struct ath11k_base * ab) ath11k_htc_wakeup_from_suspend() argument 285 ath11k_htc_rx_completion_handler(struct ath11k_base * ab,struct sk_buff * skb) ath11k_htc_rx_completion_handler() argument 418 ath11k_htc_control_rx_complete(struct ath11k_base * ab,struct sk_buff * skb) ath11k_htc_control_rx_complete() argument 527 struct ath11k_base *ab = htc->ab; ath11k_htc_wait_target() local 600 struct ath11k_base *ab = htc->ab; ath11k_htc_connect_service() local 770 struct ath11k_base *ab = htc->ab; ath11k_htc_start() local 798 ath11k_htc_init(struct ath11k_base * ab) ath11k_htc_init() argument [all...] |
| H A D | testmode.c | 27 static struct ath11k *ath11k_tm_get_ar(struct ath11k_base *ab) in ath11k_tm_get_ar() argument 33 for (i = 0; i < ab->num_radios; i++) { in ath11k_tm_get_ar() 34 pdev = &ab->pdevs[i]; in ath11k_tm_get_ar() 47 static void ath11k_tm_wmi_event_unsegmented(struct ath11k_base *ab, u32 cmd_id, in ath11k_tm_wmi_event_unsegmented() argument 53 ath11k_dbg(ab, ATH11K_DBG_TESTMODE, in ath11k_tm_wmi_event_unsegmented() 56 ath11k_dbg_dump(ab, ATH11K_DBG_TESTMODE, NULL, "", skb->data, skb->len); in ath11k_tm_wmi_event_unsegmented() 58 ar = ath11k_tm_get_ar(ab); in ath11k_tm_wmi_event_unsegmented() 60 ath11k_warn(ab, "testmode event not handled due to invalid pdev\n"); in ath11k_tm_wmi_event_unsegmented() 71 ath11k_warn(ab, in ath11k_tm_wmi_event_unsegmented() 79 ath11k_warn(ab, "faile in ath11k_tm_wmi_event_unsegmented() 96 ath11k_tm_process_event(struct ath11k_base * ab,u32 cmd_id,const struct wmi_ftm_event_msg * ftm_msg,u16 length) ath11k_tm_process_event() argument 193 ath11k_tm_wmi_event_segmented(struct ath11k_base * ab,u32 cmd_id,struct sk_buff * skb) ath11k_tm_wmi_event_segmented() argument 223 ath11k_tm_wmi_event(struct ath11k_base * ab,u32 cmd_id,struct sk_buff * skb) ath11k_tm_wmi_event() argument 393 struct ath11k_base *ab = ar->ab; ath11k_tm_cmd_wmi_ftm() local [all...] |
| H A D | dbring.c | 44 struct ath11k_base *ab = ar->ab; in ath11k_dbring_bufs_replenish() local 52 srng = &ab->hal.srng_list[ring->refill_srng.ring_id]; in ath11k_dbring_bufs_replenish() 56 ath11k_hal_srng_access_begin(ab, srng); in ath11k_dbring_bufs_replenish() 61 paddr = dma_map_single(ab->dev, ptr_aligned, ring->buf_sz, in ath11k_dbring_bufs_replenish() 64 ret = dma_mapping_error(ab->dev, paddr); in ath11k_dbring_bufs_replenish() 76 desc = ath11k_hal_srng_src_get_next_entry(ab, srng); in ath11k_dbring_bufs_replenish() 93 ath11k_hal_srng_access_end(ab, srng); in ath11k_dbring_bufs_replenish() 102 dma_unmap_single(ab->dev, paddr, ring->buf_sz, in ath11k_dbring_bufs_replenish() 105 ath11k_hal_srng_access_end(ab, srng); in ath11k_dbring_bufs_replenish() 119 srng = &ar->ab->hal.srng_list[ring->refill_srng.ring_id]; in ath11k_dbring_fill_bufs() [all …]
|
| H A D | wmi.c | 179 ath11k_wmi_tlv_iter(struct ath11k_base *ab, const void *ptr, size_t len, in ath11k_wmi_tlv_iter() argument 180 int (*iter)(struct ath11k_base *ab, u16 tag, u16 len, in ath11k_wmi_tlv_iter() argument 191 ath11k_err(ab, "wmi tlv parse failure at byte %zd (%zu bytes left, %zu expected)\n", in ath11k_wmi_tlv_iter() 203 ath11k_err(ab, "wmi tlv parse failure of tag %u at byte %zd (%zu bytes left, %u expected)\n", in ath11k_wmi_tlv_iter() 211 …ath11k_err(ab, "wmi tlv parse failure of tag %u at byte %zd (%u bytes is less than min length %zu)… in ath11k_wmi_tlv_iter() 217 ret = iter(ab, tlv_tag, tlv_len, ptr, data); in ath11k_wmi_tlv_iter() 228 static int ath11k_wmi_tlv_iter_parse(struct ath11k_base *ab, u16 tag, u16 len, in ath11k_wmi_tlv_iter_parse() argument 246 const void **ath11k_wmi_tlv_parse_alloc(struct ath11k_base *ab, in ath11k_wmi_tlv_parse_alloc() argument 256 ret = ath11k_wmi_tlv_parse(ab, tb, skb->data, skb->len); in ath11k_wmi_tlv_parse_alloc() 269 struct ath11k_base *ab = wmi->wmi_ab->ab; in ath11k_wmi_cmd_send_nowait() local [all …]
|
| /linux/security/ipe/ |
| H A D | audit.c | 69 * @ab: Supplies a pointer to the audit_buffer to append to. 72 static void audit_dmv_roothash(struct audit_buffer *ab, const void *rh) in audit_dmv_roothash() argument 74 audit_log_format(ab, "%s", audit_prop_names[IPE_PROP_DMV_ROOTHASH]); in audit_dmv_roothash() 75 ipe_digest_audit(ab, rh); in audit_dmv_roothash() 80 * @ab: Supplies a pointer to the audit_buffer to append to. 83 static void audit_fsv_digest(struct audit_buffer *ab, const void *d) in audit_fsv_digest() argument 85 audit_log_format(ab, "%s", audit_prop_names[IPE_PROP_FSV_DIGEST]); in audit_fsv_digest() 86 ipe_digest_audit(ab, d); in audit_fsv_digest() 91 * @ab: Supplies a pointer to the audit_buffer to append to. 94 static void audit_rule(struct audit_buffer *ab, cons argument 134 struct audit_buffer *ab; ipe_audit_match() local 182 audit_policy(struct audit_buffer * ab,const char * audit_format,const struct ipe_policy * const p) audit_policy() argument 204 struct audit_buffer *ab; ipe_audit_policy_activation() local 236 struct audit_buffer *ab; ipe_audit_policy_load() local 265 struct audit_buffer *ab; ipe_audit_enforce() local [all...] |
| /linux/arch/arc/lib/ |
| H A D | memset-archs.S | 54 stb.ab r1, [r3,1] 80 std.ab r4, [r3, 8] 81 std.ab r4, [r3, 8] 82 std.ab r4, [r3, 8] 83 std.ab r4, [r3, 8] 84 std.ab r4, [r3, 8] 85 std.ab r4, [r3, 8] 86 std.ab r4, [r3, 8] 87 std.ab r4, [r3, 8] 89 st.ab r4, [r3, 4] [all …]
|
| H A D | memcpy-archs.S | 25 # define LOADX(DST,RX) ldd.ab DST, [RX, 8] 26 # define STOREX(SRC,RX) std.ab SRC, [RX, 8] 30 # define LOADX(DST,RX) ld.ab DST, [RX, 4] 31 # define STOREX(SRC,RX) st.ab SRC, [RX, 4] 51 ldb.ab r5, [r1,1] 53 stb.ab r5, [r3,1] 79 ldb.ab r5, [r1,1] 80 stb.ab r5, [r3,1] 92 ldb.ab r5, [r1, 1] 97 ldh.ab r6, [r1, 2] [all …]
|
| /linux/arch/arc/include/asm/ |
| H A D | uaccess.h | 158 "1: ldb.ab %1, [%3, 1] \n" in raw_copy_from_user() 159 " stb.ab %1, [%2, 1] \n" in raw_copy_from_user() 197 "1: ld.ab %3, [%2, 4] \n" in raw_copy_from_user() 198 "11: ld.ab %4, [%2, 4] \n" in raw_copy_from_user() 199 "12: ld.ab %5, [%2, 4] \n" in raw_copy_from_user() 200 "13: ld.ab %6, [%2, 4] \n" in raw_copy_from_user() 201 " st.ab %3, [%1, 4] \n" in raw_copy_from_user() 202 " st.ab %4, [%1, 4] \n" in raw_copy_from_user() 203 " st.ab %5, [%1, 4] \n" in raw_copy_from_user() 204 " st.ab in raw_copy_from_user() [all...] |
| /linux/include/linux/mfd/abx500/ |
| H A D | ab8500.h | 17 * AB IC versions 302 * the largest possible value that may be encountered with different AB SOCs. 303 * Of the currently supported AB devices, AB8500 and AB9540, it is the AB9540 387 static inline int is_ab8500(struct ab8500 *ab) in is_ab8500() argument 389 return ab->version == AB8500_VERSION_AB8500; in is_ab8500() 392 static inline int is_ab8505(struct ab8500 *ab) in is_ab8505() argument 394 return ab->version == AB8500_VERSION_AB8505; in is_ab8505() 397 static inline int is_ab9540(struct ab8500 *ab) in is_ab9540() argument 399 return ab->version == AB8500_VERSION_AB9540; in is_ab9540() 402 static inline int is_ab8540(struct ab8500 *ab) in is_ab8540() argument [all …]
|