| /linux/drivers/net/wireless/ath/ath12k/ |
| H A D | core.c | 75 static int ath12k_core_rfkill_config(struct ath12k_base *ab) in ath12k_core_rfkill_config() argument 80 if (!(ab->target_caps.sys_cap_info & WMI_SYS_CAP_INFO_RFKILL)) in ath12k_core_rfkill_config() 83 if (ath12k_acpi_get_disable_rfkill(ab)) in ath12k_core_rfkill_config() 86 for (i = 0; i < ab->num_radios; i++) { in ath12k_core_rfkill_config() 87 ar = ab->pdevs[i].ar; in ath12k_core_rfkill_config() 91 ath12k_warn(ab, "failed to configure rfkill: %d", ret); in ath12k_core_rfkill_config() 105 static int ath12k_core_continue_suspend_resume(struct ath12k_base *ab) in ath12k_core_continue_suspend_resume() argument 109 if (!ab->hw_params->supports_suspend) in ath12k_core_continue_suspend_resume() 115 ar = ab->pdevs[0].ar; in ath12k_core_continue_suspend_resume() 122 int ath12k_core_suspend(struct ath12k_base *ab) in ath12k_core_suspend() argument [all …]
|
| H A D | pci.c | 112 struct ath12k_base *ab = ab_pci->ab; in ath12k_pci_select_window() local 125 ab->mem + ab_pci->window_reg_addr); in ath12k_pci_select_window() 126 ioread32(ab->mem + ab_pci->window_reg_addr); in ath12k_pci_select_window() 145 iowrite32(WINDOW_ENABLE_BIT | window, ab_pci->ab->mem + ab_pci->window_reg_addr); in ath12k_pci_select_static_window() 148 static u32 ath12k_pci_get_window_start(struct ath12k_base *ab, in ath12k_pci_get_window_start() argument 151 struct ath12k_pci *ab_pci = ath12k_pci_priv(ab); in ath12k_pci_get_window_start() 171 static void ath12k_pci_restore_window(struct ath12k_base *ab) in ath12k_pci_restore_window() argument 173 struct ath12k_pci *ab_pci = ath12k_pci_priv(ab); in ath12k_pci_restore_window() 178 ab->mem + ab_pci->window_reg_addr); in ath12k_pci_restore_window() 179 ioread32(ab->mem + ab_pci->window_reg_addr); in ath12k_pci_restore_window() [all …]
|
| H A D | ahb.c | 140 static u32 ath12k_ahb_read32(struct ath12k_base *ab, u32 offset) in ath12k_ahb_read32() argument 142 if (ab->ce_remap && offset < ab->cmem_offset) in ath12k_ahb_read32() 143 return ioread32(ab->mem_ce + offset); in ath12k_ahb_read32() 144 return ioread32(ab->mem + offset); in ath12k_ahb_read32() 147 static void ath12k_ahb_write32(struct ath12k_base *ab, u32 offset, in ath12k_ahb_write32() argument 150 if (ab->ce_remap && offset < ab->cmem_offset) in ath12k_ahb_write32() 151 iowrite32(value, ab->mem_ce + offset); in ath12k_ahb_write32() 153 iowrite32(value, ab->mem + offset); in ath12k_ahb_write32() 156 static void ath12k_ahb_cancel_workqueue(struct ath12k_base *ab) in ath12k_ahb_cancel_workqueue() argument 160 for (i = 0; i < ab->hw_params->ce_count; i++) { in ath12k_ahb_cancel_workqueue() [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 | dp.c | 22 struct ath12k_base *ab = ar->ab; in ath12k_dp_peer_cleanup() local 24 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); in ath12k_dp_peer_cleanup() 31 ath12k_warn(ab, "failed to lookup peer %pM on vdev %d\n", in ath12k_dp_peer_cleanup() 49 struct ath12k_base *ab = ar->ab; in ath12k_dp_peer_setup() local 53 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); in ath12k_dp_peer_setup() 62 ath12k_warn(ab, "failed to set default routing %d peer :%pM vdev_id :%d\n", in ath12k_dp_peer_setup() 71 ath12k_warn(ab, "failed to setup rxd tid queue for tid %d: %d\n", in ath12k_dp_peer_setup() 79 ath12k_warn(ab, "failed to setup rx defrag context\n"); in ath12k_dp_peer_setup() 92 ath12k_warn(ab, "failed to find the peer to del rx tid\n"); in ath12k_dp_peer_setup() 105 void ath12k_dp_srng_cleanup(struct ath12k_base *ab, struct dp_srng *ring) in ath12k_dp_srng_cleanup() argument [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 | qmi.c | 2107 struct ath12k_base *ab, *partner_ab; in ath12k_host_cap_hw_link_id_init() local 2112 ab = ag->ab[i]; in ath12k_host_cap_hw_link_id_init() 2115 partner_ab = ag->ab[j]; in ath12k_host_cap_hw_link_id_init() 2117 if (partner_ab->wsi_info.index >= ab->wsi_info.index) in ath12k_host_cap_hw_link_id_init() 2123 ab->wsi_info.hw_link_id_base = hw_id_base; in ath12k_host_cap_hw_link_id_init() 2129 static int ath12k_host_cap_parse_mlo(struct ath12k_base *ab, in ath12k_host_cap_parse_mlo() argument 2133 struct ath12k_hw_group *ag = ab->ag; in ath12k_host_cap_parse_mlo() 2139 ath12k_dbg(ab, ATH12K_DBG_QMI, in ath12k_host_cap_parse_mlo() 2144 if (!ab->qmi.num_radios || ab->qmi.num_radios == U8_MAX) { in ath12k_host_cap_parse_mlo() 2146 ath12k_dbg(ab, ATH12K_DBG_QMI, in ath12k_host_cap_parse_mlo() [all …]
|
| H A D | hal.c | 10 static void ath12k_hal_ce_dst_setup(struct ath12k_base *ab, in ath12k_hal_ce_dst_setup() argument 13 ab->hal.ops->ce_dst_setup(ab, srng, ring_num); in ath12k_hal_ce_dst_setup() 16 static void ath12k_hal_srng_src_hw_init(struct ath12k_base *ab, in ath12k_hal_srng_src_hw_init() argument 19 ab->hal.ops->srng_src_hw_init(ab, srng); in ath12k_hal_srng_src_hw_init() 22 static void ath12k_hal_srng_dst_hw_init(struct ath12k_base *ab, in ath12k_hal_srng_dst_hw_init() argument 25 ab->hal.ops->srng_dst_hw_init(ab, srng); in ath12k_hal_srng_dst_hw_init() 28 static void ath12k_hal_set_umac_srng_ptr_addr(struct ath12k_base *ab, in ath12k_hal_set_umac_srng_ptr_addr() argument 31 ab->hal.ops->set_umac_srng_ptr_addr(ab, srng); in ath12k_hal_set_umac_srng_ptr_addr() 41 int ath12k_hal_srng_update_shadow_config(struct ath12k_base *ab, in ath12k_hal_srng_update_shadow_config() argument 45 return ab->hal.ops->srng_update_shadow_config(ab, ring_type, in ath12k_hal_srng_update_shadow_config() [all …]
|
| H A D | dp_rx.c | 25 static int ath12k_dp_rx_tid_delete_handler(struct ath12k_base *ab, 77 struct ath12k_base *ab = dp->ab; in ath12k_dp_rx_bufs_replenish() local 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() argument 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() argument 201 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); in ath12k_dp_rxdma_buf_free() [all …]
|
| H A D | peer.c | 47 ath12k_warn(ar->ab, "failed to find link peer with vdev id %u addr %pM\n", in ath12k_peer_delete_resp_signal() 61 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 65 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); in ath12k_wait_for_dp_link_peer_common() 67 ret = wait_event_timeout(ab->peer_mapping_wq, ({ in ath12k_wait_for_dp_link_peer_common() 77 test_bit(ATH12K_FLAG_CRASH_FLUSH, &ab->dev_flags)); in ath12k_wait_for_dp_link_peer_common() 89 struct ath12k_base *ab = ar->ab; in ath12k_peer_cleanup() local 90 struct ath12k_dp *dp = ath12k_ab_to_dp(ab); in ath12k_peer_cleanup() 99 ath12k_warn(ab, "removing stale peer %pM from vdev_id %d\n", in ath12k_peer_cleanup() 111 return ath12k_wait_for_dp_link_peer_common(ar->ab, vdev_id, addr, false); in ath12k_wait_for_peer_deleted() 122 ath12k_warn(ar->ab, "failed wait for peer deleted\n"); in ath12k_wait_for_peer_delete_done() [all …]
|
| H A D | wmi.c | 302 ath12k_wmi_tlv_iter(struct ath12k_base *ab, const void *ptr, size_t len, in ath12k_wmi_tlv_iter() argument 303 int (*iter)(struct ath12k_base *ab, u16 tag, u16 len, in ath12k_wmi_tlv_iter() argument 314 ath12k_err(ab, "wmi tlv parse failure at byte %zd (%zu bytes left, %zu expected)\n", in ath12k_wmi_tlv_iter() 326 ath12k_err(ab, "wmi tlv parse failure of tag %u at byte %zd (%zu bytes left, %u expected)\n", in ath12k_wmi_tlv_iter() 334 …ath12k_err(ab, "wmi tlv parse failure of tag %u at byte %zd (%u bytes is less than min length %zu)… in ath12k_wmi_tlv_iter() 340 ret = iter(ab, tlv_tag, tlv_len, ptr, data); in ath12k_wmi_tlv_iter() 351 static int ath12k_wmi_tlv_iter_parse(struct ath12k_base *ab, u16 tag, u16 len, in ath12k_wmi_tlv_iter_parse() argument 363 ath12k_wmi_tlv_parse(struct ath12k_base *ab, struct sk_buff *skb) in ath12k_wmi_tlv_parse() argument 371 ret = ath12k_wmi_tlv_iter(ab, skb->data, skb->len, in ath12k_wmi_tlv_parse() 390 struct ath12k_base *ab = wmi->wmi_ab->ab; in ath12k_wmi_cmd_send_nowait() local [all …]
|
| H A D | dp_htt.c | 15 static void ath12k_dp_htt_htc_tx_complete(struct ath12k_base *ab, in ath12k_dp_htt_htc_tx_complete() argument 33 status = ath12k_htc_connect_service(&dp->ab->htc, &conn_req, in ath12k_dp_htt_connect() 61 static int ath12k_htt_tlv_ppdu_stats_parse(struct ath12k_base *ab, in ath12k_htt_tlv_ppdu_stats_parse() argument 78 ath12k_warn(ab, "Invalid len %d for the tag 0x%x\n", in ath12k_htt_tlv_ppdu_stats_parse() 87 ath12k_warn(ab, "Invalid len %d for the tag 0x%x\n", in ath12k_htt_tlv_ppdu_stats_parse() 106 ath12k_warn(ab, "Invalid len %d for the tag 0x%x\n", in ath12k_htt_tlv_ppdu_stats_parse() 127 ath12k_warn(ab, "Invalid len %d for the tag 0x%x\n", in ath12k_htt_tlv_ppdu_stats_parse() 149 int ath12k_dp_htt_tlv_iter(struct ath12k_base *ab, const void *ptr, size_t len, in ath12k_dp_htt_tlv_iter() argument 150 int (*iter)(struct ath12k_base *ab, u16 tag, u16 len, in ath12k_dp_htt_tlv_iter() argument 161 ath12k_err(ab, "htt tlv parse failure at byte %zd (%zu bytes left, %zu expected)\n", in ath12k_dp_htt_tlv_iter() [all …]
|
| /linux/drivers/net/wireless/ath/ath11k/ |
| H A D | ahb.c | 145 ath11k_ahb_get_msi_irq_wcn6750(struct ath11k_base *ab, unsigned int vector) in ath11k_ahb_get_msi_irq_wcn6750() argument 147 return ab->pci.msi.irqs[vector]; in ath11k_ahb_get_msi_irq_wcn6750() 151 ath11k_ahb_get_window_start_wcn6750(struct ath11k_base *ab, u32 offset) in ath11k_ahb_get_window_start_wcn6750() argument 159 else if ((offset ^ HAL_SEQ_WCSS_UMAC_CE0_SRC_REG(ab)) < in ath11k_ahb_get_window_start_wcn6750() 167 ath11k_ahb_window_write32_wcn6750(struct ath11k_base *ab, u32 offset, u32 value) in ath11k_ahb_window_write32_wcn6750() argument 172 window_start = ath11k_ahb_get_window_start_wcn6750(ab, offset); in ath11k_ahb_window_write32_wcn6750() 174 iowrite32(value, ab->mem + window_start + in ath11k_ahb_window_write32_wcn6750() 178 static u32 ath11k_ahb_window_read32_wcn6750(struct ath11k_base *ab, u32 offset) in ath11k_ahb_window_read32_wcn6750() argument 184 window_start = ath11k_ahb_get_window_start_wcn6750(ab, offset); in ath11k_ahb_window_read32_wcn6750() 186 val = ioread32(ab->mem + window_start + in ath11k_ahb_window_read32_wcn6750() [all …]
|
| H A D | pci.c | 45 static int ath11k_pci_bus_wake_up(struct ath11k_base *ab) in ath11k_pci_bus_wake_up() argument 47 struct ath11k_pci *ab_pci = ath11k_pci_priv(ab); in ath11k_pci_bus_wake_up() 52 static void ath11k_pci_bus_release(struct ath11k_base *ab) in ath11k_pci_bus_release() argument 54 struct ath11k_pci *ab_pci = ath11k_pci_priv(ab); in ath11k_pci_bus_release() 59 static u32 ath11k_pci_get_window_start(struct ath11k_base *ab, u32 offset) in ath11k_pci_get_window_start() argument 61 if (!ab->hw_params.static_window_map) in ath11k_pci_get_window_start() 67 else if ((offset ^ HAL_SEQ_WCSS_UMAC_CE0_SRC_REG(ab)) < in ath11k_pci_get_window_start() 77 struct ath11k_base *ab = ab_pci->ab; in ath11k_pci_select_window() local 85 ab->mem + ATH11K_PCI_WINDOW_REG_ADDRESS); in ath11k_pci_select_window() 86 ioread32(ab->mem + ATH11K_PCI_WINDOW_REG_ADDRESS); in ath11k_pci_select_window() [all …]
|
| H A D | core.c | 1060 const char *ath11k_core_get_usecase_firmware(struct ath11k_base *ab) in ath11k_core_get_usecase_firmware() argument 1066 if (ab->hw_rev == entry->hw_rev && in ath11k_core_get_usecase_firmware() 1123 bool ath11k_core_coldboot_cal_support(struct ath11k_base *ab) in ath11k_core_coldboot_cal_support() argument 1129 return ab->hw_params.coldboot_cal_ftm; in ath11k_core_coldboot_cal_support() 1132 return ab->hw_params.coldboot_cal_mm; in ath11k_core_coldboot_cal_support() 1141 static int ath11k_core_continue_suspend_resume(struct ath11k_base *ab) in ath11k_core_continue_suspend_resume() argument 1145 if (!ab->hw_params.supports_suspend) in ath11k_core_continue_suspend_resume() 1151 ar = ab->pdevs[0].ar; in ath11k_core_continue_suspend_resume() 1158 static int ath11k_core_suspend_wow(struct ath11k_base *ab) in ath11k_core_suspend_wow() argument 1162 ret = ath11k_dp_rx_pktlog_stop(ab, true); in ath11k_core_suspend_wow() [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 | qmi.c | 1710 int ath11k_qmi_host_cap_send(struct ath11k_base *ab) in ath11k_qmi_host_cap_send() argument 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, "failed to send host capability request: %d\n", ret); in ath11k_qmi_host_cap_send() [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 | 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 | 181 ath11k_wmi_tlv_iter(struct ath11k_base *ab, const void *ptr, size_t len, in ath11k_wmi_tlv_iter() argument 182 int (*iter)(struct ath11k_base *ab, u16 tag, u16 len, in ath11k_wmi_tlv_iter() argument 193 ath11k_err(ab, "wmi tlv parse failure at byte %zd (%zu bytes left, %zu expected)\n", in ath11k_wmi_tlv_iter() 205 ath11k_err(ab, "wmi tlv parse failure of tag %u at byte %zd (%zu bytes left, %u expected)\n", in ath11k_wmi_tlv_iter() 213 …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() 219 ret = iter(ab, tlv_tag, tlv_len, ptr, data); in ath11k_wmi_tlv_iter() 230 static int ath11k_wmi_tlv_iter_parse(struct ath11k_base *ab, u16 tag, u16 len, in ath11k_wmi_tlv_iter_parse() argument 248 const void **ath11k_wmi_tlv_parse_alloc(struct ath11k_base *ab, in ath11k_wmi_tlv_parse_alloc() argument 258 ret = ath11k_wmi_tlv_parse(ab, tb, skb->data, skb->len); in ath11k_wmi_tlv_parse_alloc() 278 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/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 …]
|
| /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 …]
|