| /linux/drivers/net/wireless/ath/ath12k/ |
| 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 848 ath12k_core_soc_destroy(struct ath12k_base * ab) ath12k_core_soc_destroy() argument 856 ath12k_core_pdev_create(struct ath12k_base * ab) ath12k_core_pdev_create() argument 869 ath12k_core_pdev_destroy(struct ath12k_base * ab) ath12k_core_pdev_destroy() argument 874 ath12k_core_start(struct ath12k_base * ab) ath12k_core_start() argument 988 ath12k_core_device_cleanup(struct ath12k_base * ab) ath12k_core_device_cleanup() argument 1000 struct ath12k_base *ab; ath12k_core_hw_group_stop() local 1024 struct ath12k_base *partner_ab, *ab = ar->ab; ath12k_get_num_partner_link() local 1121 struct ath12k_base *ab; ath12k_core_hw_group_start() local 1186 ath12k_core_start_firmware(struct ath12k_base * ab,enum ath12k_firmware_mode mode) ath12k_core_start_firmware() argument 1265 ath12k_core_trigger_partner(struct ath12k_base * ab) ath12k_core_trigger_partner() argument 1284 ath12k_core_qmi_firmware_ready(struct ath12k_base * ab) ath12k_core_qmi_firmware_ready() argument 1358 ath12k_core_reconfigure_on_crash(struct ath12k_base * ab) ath12k_core_reconfigure_on_crash() argument 1396 struct ath12k_base *ab = container_of(work, struct ath12k_base, rfkill_work); ath12k_rfkill_work() local 1429 struct ath12k_base *ab = ar->ab; ath12k_core_halt() local 1455 ath12k_core_pre_reconfigure_recovery(struct ath12k_base * ab) ath12k_core_pre_reconfigure_recovery() argument 1526 struct ath12k_base *ab = container_of(work, struct ath12k_base, update_11d_work); ath12k_update_11d() local 1555 ath12k_core_post_reconfigure_recovery(struct ath12k_base * ab) ath12k_core_post_reconfigure_recovery() argument 1609 struct ath12k_base *ab = container_of(work, struct ath12k_base, restart_work); ath12k_core_restart() local 1650 struct ath12k_base *ab = container_of(work, struct ath12k_base, reset_work); ath12k_core_reset() local 1741 ath12k_core_get_memory_mode(struct ath12k_base * ab) ath12k_core_get_memory_mode() argument 1756 ath12k_core_pre_init(struct ath12k_base * ab) ath12k_core_pre_init() argument 1770 struct ath12k_base *ab = container_of(nb, struct ath12k_base, ath12k_core_panic_handler() local 1776 ath12k_core_panic_notifier_register(struct ath12k_base * ab) ath12k_core_panic_notifier_register() argument 1784 ath12k_core_panic_notifier_unregister(struct ath12k_base * ab) ath12k_core_panic_notifier_unregister() argument 1798 ath12k_core_hw_group_alloc(struct ath12k_base * ab) ath12k_core_hw_group_alloc() argument 1830 ath12k_core_hw_group_find_by_dt(struct ath12k_base * ab) ath12k_core_hw_group_find_by_dt() argument 1847 ath12k_core_get_wsi_info(struct ath12k_hw_group * ag,struct ath12k_base * ab) ath12k_core_get_wsi_info() argument 1901 ath12k_core_get_wsi_index(struct ath12k_hw_group * ag,struct ath12k_base * ab) ath12k_core_get_wsi_index() argument 1931 ath12k_core_hw_group_assign(struct ath12k_base * ab) ath12k_core_hw_group_assign() argument 2013 ath12k_core_hw_group_unassign(struct ath12k_base * ab) ath12k_core_hw_group_unassign() argument 2053 struct ath12k_base *ab; ath12k_core_hw_group_destroy() local 2070 struct ath12k_base *ab; ath12k_core_hw_group_cleanup() local 2102 struct ath12k_base *ab; ath12k_core_hw_group_create() local 2142 struct ath12k_base *ab; ath12k_core_hw_group_set_mlo_capable() local 2181 ath12k_core_init(struct ath12k_base * ab) ath12k_core_init() argument 2228 ath12k_core_deinit(struct ath12k_base * ab) ath12k_core_deinit() argument 2235 ath12k_core_free(struct ath12k_base * ab) ath12k_core_free() argument 2246 struct ath12k_base *ab; ath12k_core_alloc() local [all...] |
| 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, "invalid ACPI DSM func size: %d\n", in ath12k_acpi_dsm_get_data() [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 in ath12k_ce_rx_post_pipe() local 112 struct ath12k_base *ab = pipe->ab; ath12k_ce_completed_recv_next() local 157 struct ath12k_base *ab = pipe->ab; ath12k_ce_recv_process_cb() local 197 struct ath12k_base *ab = pipe->ab; ath12k_ce_completed_send_next() local 238 struct ath12k_base *ab = pipe->ab; ath12k_ce_send_done_cb() local 251 ath12k_ce_srng_msi_ring_params_setup(struct ath12k_base * ab,u32 ce_id,struct hal_srng_params * ring_params) ath12k_ce_srng_msi_ring_params_setup() argument 277 ath12k_ce_init_ring(struct ath12k_base * ab,struct ath12k_ce_ring * ce_ring,int ce_id,enum hal_ring_type type) ath12k_ce_init_ring() argument 330 ath12k_ce_alloc_ring(struct ath12k_base * ab,int nentries,int desc_sz) ath12k_ce_alloc_ring() argument 366 ath12k_ce_alloc_pipe(struct ath12k_base * ab,int ce_id) ath12k_ce_alloc_pipe() argument 406 ath12k_ce_per_engine_service(struct ath12k_base * ab,u16 ce_id) ath12k_ce_per_engine_service() argument 417 ath12k_ce_poll_send_completed(struct ath12k_base * ab,u8 pipe_id) ath12k_ce_poll_send_completed() argument 425 ath12k_ce_send(struct ath12k_base * ab,struct sk_buff * skb,u8 pipe_id,u16 transfer_id) ath12k_ce_send() argument 508 struct ath12k_base *ab = pipe->ab; ath12k_ce_rx_pipe_cleanup() local 528 ath12k_ce_cleanup_pipes(struct ath12k_base * ab) ath12k_ce_cleanup_pipes() argument 544 ath12k_ce_rx_post_buf(struct ath12k_base * ab) ath12k_ce_rx_post_buf() argument 569 struct ath12k_base *ab = timer_container_of(ab, t, rx_replenish_retry); ath12k_ce_rx_replenish_retry() local 574 ath12k_ce_shadow_config(struct ath12k_base * ab) ath12k_ce_shadow_config() argument 589 ath12k_ce_get_shadow_config(struct ath12k_base * ab,u32 ** shadow_cfg,u32 * shadow_cfg_len) ath12k_ce_get_shadow_config() argument 612 ath12k_ce_init_pipes(struct ath12k_base * ab) ath12k_ce_init_pipes() argument 673 ath12k_ce_free_pipes(struct ath12k_base * ab) ath12k_ce_free_pipes() argument 722 ath12k_ce_alloc_pipes(struct ath12k_base * ab) ath12k_ce_alloc_pipes() argument 749 ath12k_ce_get_attr_flags(struct ath12k_base * ab,int ce_id) ath12k_ce_get_attr_flags() argument [all...] |
| H A D | dp.c | 23 struct ath12k_base *ab = ar->ab; in ath12k_dp_peer_cleanup() local 25 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); in ath12k_dp_peer_cleanup() 32 ath12k_warn(ab, "failed to lookup peer %pM on vdev %d\n", in ath12k_dp_peer_cleanup() 51 struct ath12k_base *ab = ar->ab; in ath12k_dp_peer_setup() local 55 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); in ath12k_dp_peer_setup() 64 ath12k_warn(ab, "failed to set default routing %d peer :%pM vdev_id :%d\n", in ath12k_dp_peer_setup() 73 ath12k_warn(ab, "failed to setup rxd tid queue for tid %d: %d\n", in ath12k_dp_peer_setup() 81 ath12k_warn(ab, "faile in ath12k_dp_peer_setup() 107 ath12k_dp_srng_cleanup(struct ath12k_base * ab,struct dp_srng * ring) ath12k_dp_srng_cleanup() argument 132 ath12k_dp_srng_calculate_msi_group(struct ath12k_base * ab,enum hal_ring_type type,int ring_num) ath12k_dp_srng_calculate_msi_group() argument 195 ath12k_dp_srng_msi_setup(struct ath12k_base * ab,struct hal_srng_params * ring_params,enum hal_ring_type type,int ring_num) ath12k_dp_srng_msi_setup() argument 235 ath12k_dp_srng_setup(struct ath12k_base * ab,struct dp_srng * ring,enum hal_ring_type type,int ring_num,int mac_id,int num_entries) ath12k_dp_srng_setup() argument 336 ath12k_dp_tx_get_bank_profile(struct ath12k_base * ab,struct ath12k_link_vif * arvif,struct ath12k_dp * dp) ath12k_dp_tx_get_bank_profile() argument 395 ath12k_dp_deinit_bank_profiles(struct ath12k_base * ab) ath12k_dp_deinit_bank_profiles() argument 403 ath12k_dp_init_bank_profiles(struct ath12k_base * ab) ath12k_dp_init_bank_profiles() argument 425 ath12k_dp_srng_common_cleanup(struct ath12k_base * ab) ath12k_dp_srng_common_cleanup() argument 442 ath12k_dp_srng_common_setup(struct ath12k_base * ab) ath12k_dp_srng_common_setup() argument 548 ath12k_dp_scatter_idle_link_desc_cleanup(struct ath12k_base * ab) ath12k_dp_scatter_idle_link_desc_cleanup() argument 564 ath12k_dp_scatter_idle_link_desc_setup(struct ath12k_base * ab,int size,u32 n_link_desc_bank,u32 n_link_desc,u32 last_bank_sz) ath12k_dp_scatter_idle_link_desc_setup() argument 643 ath12k_dp_link_desc_bank_free(struct ath12k_base * ab,struct dp_link_desc_bank * link_desc_banks) ath12k_dp_link_desc_bank_free() argument 659 ath12k_dp_link_desc_bank_alloc(struct ath12k_base * ab,struct dp_link_desc_bank * desc_bank,int n_link_desc_bank,int last_bank_sz) ath12k_dp_link_desc_bank_alloc() argument 698 ath12k_dp_link_desc_cleanup(struct ath12k_base * ab,struct dp_link_desc_bank * desc_bank,u32 ring_type,struct dp_srng * ring) ath12k_dp_link_desc_cleanup() argument 710 ath12k_wbm_idle_ring_setup(struct ath12k_base * ab,u32 * n_link_desc) ath12k_wbm_idle_ring_setup() argument 746 ath12k_dp_link_desc_setup(struct ath12k_base * ab,struct dp_link_desc_bank * link_desc_banks,u32 ring_type,struct hal_srng * srng,u32 n_link_desc) ath12k_dp_link_desc_setup() argument 839 ath12k_dp_pdev_free(struct ath12k_base * ab) ath12k_dp_pdev_free() argument 866 ath12k_dp_pdev_alloc(struct ath12k_base * ab) ath12k_dp_pdev_alloc() argument 940 struct ath12k_base *ab = ar->ab; ath12k_dp_vdev_tx_attach() local 969 ath12k_dp_cc_cleanup(struct ath12k_base * ab) ath12k_dp_cc_cleanup() argument 1094 ath12k_dp_reoq_lut_cleanup(struct ath12k_base * ab) ath12k_dp_reoq_lut_cleanup() argument 1118 ath12k_dp_cleanup(struct ath12k_base * ab) ath12k_dp_cleanup() argument 1206 ath12k_dp_cc_desc_init(struct ath12k_base * ab) ath12k_dp_cc_desc_init() argument 1297 ath12k_dp_cmem_init(struct ath12k_base * ab,struct ath12k_dp * dp,enum ath12k_dp_desc_type type) ath12k_dp_cmem_init() argument 1329 ath12k_dp_partner_cc_init(struct ath12k_base * ab) ath12k_dp_partner_cc_init() argument 1342 ath12k_dp_get_num_spt_pages(struct ath12k_base * ab) ath12k_dp_get_num_spt_pages() argument 1347 ath12k_dp_cc_init(struct ath12k_base * ab) ath12k_dp_cc_init() argument 1417 ath12k_dp_alloc_reoq_lut(struct ath12k_base * ab,struct ath12k_reo_q_addr_lut * lut) ath12k_dp_alloc_reoq_lut() argument 1433 ath12k_dp_reoq_lut_setup(struct ath12k_base * ab) ath12k_dp_reoq_lut_setup() argument 1471 ath12k_dp_setup(struct ath12k_base * ab) ath12k_dp_setup() argument 1626 struct ath12k_base *ab = dp->ab; ath12k_dp_cmn_hw_group_assign() local [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_RXVECD in ath12k_mhi_reset_rxvecdb() 53 ath12k_mhi_reset_rxvecstatus(struct ath12k_base * ab) ath12k_mhi_reset_rxvecstatus() argument 58 ath12k_mhi_clear_vector(struct ath12k_base * ab) ath12k_mhi_clear_vector() argument 68 struct ath12k_base *ab = ab_pci->ab; ath12k_mhi_get_msi() local 141 struct ath12k_base *ab = dev_get_drvdata(mhi_cntrl->cntrl_dev); ath12k_mhi_op_status_cb() local 189 struct ath12k_base *ab = ab_pci->ab; ath12k_mhi_register() local 320 struct ath12k_base *ab = ab_pci->ab; ath12k_mhi_set_state_bit() local 359 struct ath12k_base *ab = ab_pci->ab; ath12k_mhi_check_state_bit() local 409 struct ath12k_base *ab = ab_pci->ab; ath12k_mhi_set_state() local [all...] |
| H A D | qmi.c | 2064 struct ath12k_base *ab, *partner_ab; in ath12k_host_cap_hw_link_id_init() local 2069 ab = ag->ab[i]; in ath12k_host_cap_hw_link_id_init() 2072 partner_ab = ag->ab[j]; in ath12k_host_cap_hw_link_id_init() 2074 if (partner_ab->wsi_info.index >= ab->wsi_info.index) in ath12k_host_cap_hw_link_id_init() 2080 ab->wsi_info.hw_link_id_base = hw_id_base; in ath12k_host_cap_hw_link_id_init() 2086 static int ath12k_host_cap_parse_mlo(struct ath12k_base *ab, in ath12k_host_cap_parse_mlo() argument 2090 struct ath12k_hw_group *ag = ab->ag; in ath12k_host_cap_parse_mlo() 2096 ath12k_dbg(ab, ATH12K_DBG_QMI, in ath12k_host_cap_parse_mlo() 2101 if (!ab in ath12k_host_cap_parse_mlo() 2200 ath12k_qmi_host_cap_send(struct ath12k_base * ab) ath12k_qmi_host_cap_send() argument 2281 ath12k_qmi_phy_cap_send(struct ath12k_base * ab) ath12k_qmi_phy_cap_send() argument 2339 ath12k_qmi_fw_ind_register_send(struct ath12k_base * ab) ath12k_qmi_fw_ind_register_send() argument 2411 ath12k_qmi_respond_fw_mem_request(struct ath12k_base * ab) ath12k_qmi_respond_fw_mem_request() argument 2509 ath12k_qmi_free_mlo_mem_chunk(struct ath12k_base * ab,struct target_mem_chunk * chunk,int idx) ath12k_qmi_free_mlo_mem_chunk() argument 2551 ath12k_qmi_free_target_mem_chunk(struct ath12k_base * ab) ath12k_qmi_free_target_mem_chunk() argument 2584 ath12k_qmi_alloc_chunk(struct ath12k_base * ab,struct target_mem_chunk * chunk) ath12k_qmi_alloc_chunk() argument 2625 ath12k_qmi_alloc_target_mem_chunk(struct ath12k_base * ab) ath12k_qmi_alloc_target_mem_chunk() argument 2728 ath12k_qmi_assign_target_mem_chunk(struct ath12k_base * ab) ath12k_qmi_assign_target_mem_chunk() argument 2854 ath12k_qmi_request_target_cap(struct ath12k_base * ab) ath12k_qmi_request_target_cap() argument 2961 ath12k_qmi_load_file_target_mem(struct ath12k_base * ab,const u8 * data,u32 len,u8 type) ath12k_qmi_load_file_target_mem() argument 3051 ath12k_qmi_load_bdf_qmi(struct ath12k_base * ab,enum ath12k_qmi_bdf_type type) ath12k_qmi_load_bdf_qmi() argument 3149 ath12k_qmi_m3_free(struct ath12k_base * ab) ath12k_qmi_m3_free() argument 3166 ath12k_qmi_m3_load(struct ath12k_base * ab) ath12k_qmi_m3_load() argument 3231 ath12k_qmi_wlanfw_m3_info_send(struct ath12k_base * ab) ath12k_qmi_wlanfw_m3_info_send() argument 3281 ath12k_qmi_aux_uc_free(struct ath12k_base * ab) ath12k_qmi_aux_uc_free() argument 3295 ath12k_qmi_aux_uc_load(struct ath12k_base * ab) ath12k_qmi_aux_uc_load() argument 3357 ath12k_qmi_wlanfw_aux_uc_info_send(struct ath12k_base * ab) ath12k_qmi_wlanfw_aux_uc_info_send() argument 3406 ath12k_qmi_wlanfw_mode_send(struct ath12k_base * ab,u32 mode) ath12k_qmi_wlanfw_mode_send() argument 3456 ath12k_qmi_wlanfw_wlan_cfg_send(struct ath12k_base * ab) ath12k_qmi_wlanfw_wlan_cfg_send() argument 3550 ath12k_qmi_wlanfw_wlan_ini_send(struct ath12k_base * ab) ath12k_qmi_wlanfw_wlan_ini_send() argument 3593 ath12k_qmi_firmware_stop(struct ath12k_base * ab) ath12k_qmi_firmware_stop() argument 3606 ath12k_qmi_firmware_start(struct ath12k_base * ab,u32 mode) ath12k_qmi_firmware_start() argument 3655 ath12k_qmi_trigger_host_cap(struct ath12k_base * ab) ath12k_qmi_trigger_host_cap() argument 3674 struct ath12k_base *ab; ath12k_qmi_hw_group_host_cap_ready() local 3689 struct ath12k_base *ab; ath12k_qmi_hw_group_find_blocked() local 3716 struct ath12k_base *ab = qmi->ab, *block_ab; ath12k_qmi_event_server_arrive() local 3753 struct ath12k_base *ab = qmi->ab; ath12k_qmi_event_mem_request() local 3769 struct ath12k_base *ab = qmi->ab; ath12k_qmi_event_load_bdf() local 3820 struct ath12k_base *ab = qmi->ab; ath12k_qmi_msg_mem_request_cb() local 3865 struct ath12k_base *ab = qmi->ab; ath12k_qmi_msg_mem_ready_cb() local 3877 struct ath12k_base *ab = qmi->ab; ath12k_qmi_msg_fw_ready_cb() local 3914 struct ath12k_base *ab = qmi->ab; ath12k_qmi_ops_new_server() local 3939 struct ath12k_base *ab = qmi->ab; ath12k_qmi_ops_del_server() local 3952 struct ath12k_base *ab = qmi->ab; ath12k_qmi_event_host_cap() local 3970 struct ath12k_base *ab = qmi->ab; ath12k_qmi_driver_event_work() local 4038 ath12k_qmi_init_service(struct ath12k_base * ab) ath12k_qmi_init_service() argument 4076 ath12k_qmi_deinit_service(struct ath12k_base * ab) ath12k_qmi_deinit_service() argument 4090 ath12k_qmi_free_resource(struct ath12k_base * ab) ath12k_qmi_free_resource() 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 | dp_rx.c | 20 static int ath12k_dp_rx_tid_delete_handler(struct ath12k_base *ab, 72 struct ath12k_base *ab = dp->ab; in ath12k_dp_rx_bufs_replenish() local 89 ath12k_hal_srng_access_begin(ab, srng); in ath12k_dp_rx_bufs_replenish() 91 num_free = ath12k_hal_srng_src_num_free(ab, srng, true); in ath12k_dp_rx_bufs_replenish() 139 desc = ath12k_hal_srng_src_get_next_entry(ab, srng); in ath12k_dp_rx_bufs_replenish() 160 ath12k_hal_srng_access_end(ab, srng); in ath12k_dp_rx_bufs_replenish() 171 static int ath12k_dp_rxdma_mon_buf_ring_free(struct ath12k_base *ab, in ath12k_dp_rxdma_mon_buf_ring_free() argument 183 dma_unmap_single(ab->dev, ATH12K_SKB_RXCB(skb)->paddr, in ath12k_dp_rxdma_mon_buf_ring_free() 194 static int ath12k_dp_rxdma_buf_free(struct ath12k_base *ab) in ath12k_dp_rxdma_buf_free() argument 196 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); in ath12k_dp_rxdma_buf_free() [all …]
|
| H A D | reg.c | 57 ath12k_dbg(ar->ab, ATH12K_DBG_REG, in ath12k_reg_notifier() 61 ath12k_dbg(ar->ab, ATH12K_DBG_REG, in ath12k_reg_notifier() 69 ath12k_warn(ar->ab, in ath12k_reg_notifier() 85 ath12k_warn(ar->ab, "Unexpected Regulatory event for this wiphy\n"); in ath12k_reg_notifier() 90 ath12k_dbg(ar->ab, ATH12K_DBG_REG, in ath12k_reg_notifier() 96 ath12k_dbg(ar->ab, ATH12K_DBG_REG, "Country is already set\n"); in ath12k_reg_notifier() 107 if (ar->ab->hw_params->current_cc_support) { in ath12k_reg_notifier() 112 ath12k_warn(ar->ab, in ath12k_reg_notifier() 121 ath12k_warn(ar->ab, in ath12k_reg_notifier() 168 ath12k_dbg(ar->ab, ATH12K_DBG_RE in ath12k_reg_update_chan_list() 277 struct ath12k_base *ab; ath12k_regd_update() local 541 ath12k_reg_update_weather_radar_band(struct ath12k_base * ab,struct ieee80211_regdomain * regd,struct ath12k_reg_rule * reg_rule,u8 * rule_idx,u32 flags,u16 max_bw) ath12k_reg_update_weather_radar_band() argument 643 ath12k_reg_build_regd(struct ath12k_base * ab,struct ath12k_reg_info * reg_info,enum wmi_vdev_type vdev_type,enum ieee80211_ap_reg_power power_type) ath12k_reg_build_regd() argument 890 ath12k_reg_validate_reg_info(struct ath12k_base * ab,struct ath12k_reg_info * reg_info) ath12k_reg_validate_reg_info() argument 927 ath12k_reg_handle_chan_list(struct ath12k_base * ab,struct ath12k_reg_info * reg_info,enum wmi_vdev_type vdev_type,enum ieee80211_ap_reg_power power_type) ath12k_reg_handle_chan_list() argument 976 ath12k_reg_free(struct ath12k_base * ab) ath12k_reg_free() 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->rhead_peer_addr, addr, in ath11k_peer_find_by_addr() [all …]
|
| H A D | pcic.c | 144 int ath11k_pcic_init_msi_config(struct ath11k_base *ab) in ath11k_pcic_init_msi_config() argument 152 if (msi_config->hw_rev == ab->hw_rev) in ath11k_pcic_init_msi_config() 157 ath11k_err(ab, "failed to fetch msi config, unsupported hw version: 0x%x\n", in ath11k_pcic_init_msi_config() 158 ab->hw_rev); in ath11k_pcic_init_msi_config() 162 ab->pci.msi.config = msi_config; in ath11k_pcic_init_msi_config() 167 static void __ath11k_pcic_write32(struct ath11k_base *ab, u32 offset, u32 value) in __ath11k_pcic_write32() argument 170 iowrite32(value, ab->mem + offset); in __ath11k_pcic_write32() 172 ab->pci.ops->window_write32(ab, offset, value); in __ath11k_pcic_write32() 175 void ath11k_pcic_write32(struct ath11k_base *ab, u32 offset, u32 value) in ath11k_pcic_write32() argument 183 wakeup_required = test_bit(ATH11K_FLAG_DEVICE_INIT_DONE, &ab->dev_flags) && in ath11k_pcic_write32() [all …]
|
| H A D | ce.c | 261 void ath11k_ce_stop_shadow_timers(struct ath11k_base *ab) in ath11k_ce_stop_shadow_timers() argument 265 if (!ab->hw_params.supports_shadow_regs) in ath11k_ce_stop_shadow_timers() 268 for (i = 0; i < ab->hw_params.ce_count; i++) in ath11k_ce_stop_shadow_timers() 270 ath11k_dp_shadow_stop_timer(ab, &ab->ce.hp_timer[i]); in ath11k_ce_stop_shadow_timers() 276 struct ath11k_base *ab = pipe->ab; in ath11k_ce_rx_buf_enqueue_pipe() local 284 lockdep_assert_held(&ab->ce.ce_lock); in ath11k_ce_rx_buf_enqueue_pipe() 288 srng = &ab->hal.srng_list[ring->hal_ring_id]; in ath11k_ce_rx_buf_enqueue_pipe() 292 ath11k_hal_srng_access_begin(ab, srn in ath11k_ce_rx_buf_enqueue_pipe() 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 | 1711 int ath11k_qmi_host_cap_send(struct ath11k_base *ab) in ath11k_qmi_host_cap_send() argument 1723 req.mem_cfg_mode = ab->qmi.target_mem_mode; in ath11k_qmi_host_cap_send() 1728 if (ab->hw_params.m3_fw_support) { in ath11k_qmi_host_cap_send() 1741 req.cal_done = ab->qmi.cal_done; in ath11k_qmi_host_cap_send() 1743 if (ab->hw_params.internal_sleep_clock) { in ath11k_qmi_host_cap_send() 1757 if (ab->hw_params.global_reset) in ath11k_qmi_host_cap_send() 1762 ath11k_dbg(ab, ATH11K_DBG_QMI, "host cap request\n"); in ath11k_qmi_host_cap_send() 1764 ret = qmi_txn_init(&ab->qmi.handle, &txn, in ath11k_qmi_host_cap_send() 1769 ret = qmi_send_request(&ab->qmi.handle, NULL, &txn, in ath11k_qmi_host_cap_send() 1775 ath11k_warn(ab, "faile in ath11k_qmi_host_cap_send() 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 | fw.c | 12 static int ath11k_fw_request_firmware_api_n(struct ath11k_base *ab, in ath11k_fw_request_firmware_api_n() argument 21 ab->fw.fw = ath11k_core_firmware_request(ab, name); in ath11k_fw_request_firmware_api_n() 22 if (IS_ERR(ab->fw.fw)) { in ath11k_fw_request_firmware_api_n() 23 ret = PTR_ERR(ab->fw.fw); in ath11k_fw_request_firmware_api_n() 24 ath11k_dbg(ab, ATH11K_DBG_BOOT, "failed to load %s: %d\n", name, ret); in ath11k_fw_request_firmware_api_n() 25 ab->fw.fw = NULL; in ath11k_fw_request_firmware_api_n() 29 data = ab->fw.fw->data; in ath11k_fw_request_firmware_api_n() 30 len = ab->fw.fw->size; in ath11k_fw_request_firmware_api_n() 36 ath11k_err(ab, "firmware image too small to contain magic: %zu\n", in ath11k_fw_request_firmware_api_n() 43 ath11k_err(ab, "Invalid firmware magic\n"); in ath11k_fw_request_firmware_api_n() [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_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 [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_HTC, in ath11k_htc_send() 106 ath11k_dbg(ab, ATH11K_DBG_HTC, in ath11k_htc_send() [all …]
|
| H A D | dp_tx.c | 20 struct ath11k_base *ab = arvif->ar->ab; in ath11k_dp_tx_get_encap_type() local 22 if (test_bit(ATH11K_FLAG_RAW_MODE, &ab->dev_flags)) in ath11k_dp_tx_get_encap_type() 86 struct ath11k_base *ab = ar->ab; in ath11k_dp_tx() local 87 struct ath11k_dp *dp = &ab->dp; in ath11k_dp_tx() 94 size_t num_tx_rings = ab->hw_params.hal_params->num_tx_rings; in ath11k_dp_tx() 103 if (unlikely(test_bit(ATH11K_FLAG_CRASH_FLUSH, &ar->ab->dev_flags))) in ath11k_dp_tx() 112 ring_selector = ab->hw_params.hw_ops->get_ring_selector(skb); in ath11k_dp_tx() 118 ti.rbm_id = ab->hw_params.hal_params->tcl2wbm_rbm_map[ti.ring_id].rbm_id; in ath11k_dp_tx() 131 !ab->hw_params.tcl_ring_retry) { in ath11k_dp_tx() 132 atomic_inc(&ab->soc_stats.tx_err.misc_fail); in ath11k_dp_tx() [all …]
|
| H A D | pcic.h | 29 int ath11k_pcic_get_user_msi_assignment(struct ath11k_base *ab, char *user_name, 32 void ath11k_pcic_write32(struct ath11k_base *ab, u32 offset, u32 value); 33 u32 ath11k_pcic_read32(struct ath11k_base *ab, u32 offset); 34 void ath11k_pcic_get_msi_address(struct ath11k_base *ab, u32 *msi_addr_lo, 36 void ath11k_pcic_get_ce_msi_idx(struct ath11k_base *ab, u32 ce_id, u32 *msi_idx); 37 void ath11k_pcic_free_irq(struct ath11k_base *ab); 38 int ath11k_pcic_config_irq(struct ath11k_base *ab); 39 void ath11k_pcic_ext_irq_enable(struct ath11k_base *ab); 40 void ath11k_pcic_ext_irq_disable(struct ath11k_base *ab); 41 void ath11k_pcic_stop(struct ath11k_base *ab); [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 | 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() 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() 94 static void audit_rule(struct audit_buffer *ab, const struct ipe_rule *r) in audit_rule() argument 98 audit_log_format(ab, " rule=\"op=%s ", audit_op_names[r->op]); in audit_rule() 103 audit_dmv_roothash(ab, ptr->value); in audit_rule() 106 audit_fsv_digest(ab, ptr->value); in audit_rule() [all …]
|
| /linux/include/linux/mfd/abx500/ |
| H A D | ab8500.h | 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 404 return ab->version == AB8500_VERSION_AB8540; in is_ab8540() 408 static inline int is_ab8500_1p0_or_earlier(struct ab8500 *ab) in is_ab8500_1p0_or_earlier() argument 410 return (is_ab8500(ab) && (ab->chip_id <= AB8500_CUT1P0)); in is_ab8500_1p0_or_earlier() [all …]
|
| /linux/kernel/ |
| H A D | audit.c | 427 struct audit_buffer *ab; in audit_log_config_change() local 430 ab = audit_log_start(audit_context(), GFP_KERNEL, AUDIT_CONFIG_CHANGE); in audit_log_config_change() 431 if (unlikely(!ab)) in audit_log_config_change() 433 audit_log_format(ab, "op=set %s=%u old=%u ", function_name, new, old); in audit_log_config_change() 434 audit_log_session_info(ab); in audit_log_config_change() 435 rc = audit_log_task_context(ab); in audit_log_config_change() 438 audit_log_format(ab, " res=%d", allow_changes); in audit_log_config_change() 439 audit_log_end(ab); in audit_log_config_change() 1128 struct audit_buffer **ab, u16 msg_type) in audit_log_common_recv_msg() argument 1134 *ab in audit_log_common_recv_msg() 1146 audit_log_user_recv_msg(struct audit_buffer ** ab,u16 msg_type) audit_log_user_recv_msg() argument 1171 struct audit_buffer *ab; audit_log_feature_change() local 1261 struct audit_buffer *ab; audit_receive_msg() local 1550 struct audit_buffer *ab; audit_receive_msg() local 1643 struct audit_buffer *ab; audit_log_multicast() local 1816 audit_buffer_free(struct audit_buffer * ab) audit_buffer_free() argument 1831 struct audit_buffer *ab; audit_buffer_alloc() local 1909 struct audit_buffer *ab; audit_log_start() local 1984 audit_expand(struct audit_buffer * ab,int extra) audit_expand() argument 2007 audit_log_vformat(struct audit_buffer * ab,const char * fmt,va_list args) audit_log_vformat() argument 2052 audit_log_format(struct audit_buffer * ab,const char * fmt,...) audit_log_format() argument 2074 audit_log_n_hex(struct audit_buffer * ab,const unsigned char * buf,size_t len) audit_log_n_hex() argument 2107 audit_log_n_string(struct audit_buffer * ab,const char * string,size_t slen) audit_log_n_string() argument 2164 audit_log_n_untrustedstring(struct audit_buffer * ab,const char * string,size_t len) audit_log_n_untrustedstring() argument 2181 audit_log_untrustedstring(struct audit_buffer * ab,const char * string) audit_log_untrustedstring() argument 2187 audit_log_d_path(struct audit_buffer * ab,const char * prefix,const struct path * path) audit_log_d_path() argument 2210 audit_log_session_info(struct audit_buffer * ab) audit_log_session_info() argument 2218 audit_log_key(struct audit_buffer * ab,char * key) audit_log_key() argument 2243 audit_buffer_aux_new(struct audit_buffer * ab,int type) audit_buffer_aux_new() argument 2273 audit_buffer_aux_end(struct audit_buffer * ab) audit_buffer_aux_end() argument 2285 audit_log_subj_ctx(struct audit_buffer * ab,struct lsm_prop * prop) audit_log_subj_ctx() argument 2342 audit_log_task_context(struct audit_buffer * ab) audit_log_task_context() argument 2351 audit_log_obj_ctx(struct audit_buffer * ab,struct lsm_prop * prop) audit_log_obj_ctx() argument 2400 audit_log_d_path_exe(struct audit_buffer * ab,struct mm_struct * mm) audit_log_d_path_exe() argument 2436 audit_log_task_info(struct audit_buffer * ab) audit_log_task_info() argument 2479 struct audit_buffer *ab; audit_log_path_denied() local 2494 audit_log_nf_skb(struct audit_buffer * ab,const struct sk_buff * skb,u8 nfproto) audit_log_nf_skb() argument 2675 struct audit_buffer *ab; audit_log_set_loginuid() local 2793 audit_log_end(struct audit_buffer * ab) audit_log_end() argument 2824 struct audit_buffer *ab; audit_log() local [all...] |
| /linux/drivers/md/ |
| H A D | dm-audit.c | 23 struct audit_buffer *ab; in dm_audit_log_start() local 28 ab = audit_log_start(audit_context(), GFP_KERNEL, audit_type); in dm_audit_log_start() 29 if (unlikely(!ab)) in dm_audit_log_start() 32 audit_log_format(ab, "module=%s op=%s", dm_msg_prefix, op); in dm_audit_log_start() 33 return ab; in dm_audit_log_start() 39 struct audit_buffer *ab = NULL; in dm_audit_log_ti() local 46 ab = dm_audit_log_start(audit_type, dm_msg_prefix, op); in dm_audit_log_ti() 47 if (unlikely(!ab)) in dm_audit_log_ti() 49 audit_log_task_info(ab); in dm_audit_log_ti() 50 audit_log_format(ab, " dev=%d:%d error_msg='%s'", dev_major, in dm_audit_log_ti() [all …]
|