| /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 [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 = 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 | 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, "failed to setup rx defrag context\n"); in ath12k_dp_peer_setup() 94 ath12k_warn(ab, "failed to find the peer to del rx tid\n"); in ath12k_dp_peer_setup() 107 void ath12k_dp_srng_cleanup(struct ath12k_base *ab, struct dp_srng *ring) in ath12k_dp_srng_cleanup() argument [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->qmi.num_radios || ab->qmi.num_radios == U8_MAX) { in ath12k_host_cap_parse_mlo() 2103 ath12k_dbg(ab, ATH12K_DBG_QMI, in ath12k_host_cap_parse_mlo() [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 | 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, "failed wait for peer deleted"); in ath12k_wait_for_peer_delete_done() 80 ath12k_warn(ar->ab, "Timeout in receiving peer delete response\n"); in ath12k_wait_for_peer_delete_done() [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 | wmi.c | 232 ath12k_wmi_tlv_iter(struct ath12k_base *ab, const void *ptr, size_t len, in ath12k_wmi_tlv_iter() argument 233 int (*iter)(struct ath12k_base *ab, u16 tag, u16 len, in ath12k_wmi_tlv_iter() argument 244 ath12k_err(ab, "wmi tlv parse failure at byte %zd (%zu bytes left, %zu expected)\n", in ath12k_wmi_tlv_iter() 256 ath12k_err(ab, "wmi tlv parse failure of tag %u at byte %zd (%zu bytes left, %u expected)\n", in ath12k_wmi_tlv_iter() 264 …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() 270 ret = iter(ab, tlv_tag, tlv_len, ptr, data); in ath12k_wmi_tlv_iter() 281 static int ath12k_wmi_tlv_iter_parse(struct ath12k_base *ab, u16 tag, u16 len, in ath12k_wmi_tlv_iter_parse() argument 300 ath12k_wmi_tlv_parse_alloc(struct ath12k_base *ab, in ath12k_wmi_tlv_parse_alloc() argument 310 ret = ath12k_wmi_tlv_parse(ab, tb, skb->data, skb->len); in ath12k_wmi_tlv_parse_alloc() 323 struct ath12k_base *ab = wmi->wmi_ab->ab; in ath12k_wmi_cmd_send_nowait() local [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, srng); in ath11k_ce_rx_buf_enqueue_pipe() 294 if (unlikely(ath11k_hal_srng_src_num_free(ab, srng, false) < 1)) { in ath11k_ce_rx_buf_enqueue_pipe() 299 desc = ath11k_hal_srng_src_get_next_entry(ab, srng); in ath11k_ce_rx_buf_enqueue_pipe() [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, "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 | 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_RXVECDB, 0); in ath11k_mhi_reset_rxvecdb() [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 | 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 | 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 | 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 …]
|
| /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, const struct ipe_rule *r) in audit_rule() argument [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 %6, [%1, 4] \n" 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 …]
|