/linux-6.12.1/drivers/net/wireless/ath/ath12k/ |
D | core.c | 25 static int ath12k_core_rfkill_config(struct ath12k_base *ab) in ath12k_core_rfkill_config() argument 30 if (!(ab->target_caps.sys_cap_info & WMI_SYS_CAP_INFO_RFKILL)) in ath12k_core_rfkill_config() 33 for (i = 0; i < ab->num_radios; i++) { in ath12k_core_rfkill_config() 34 ar = ab->pdevs[i].ar; in ath12k_core_rfkill_config() 38 ath12k_warn(ab, "failed to configure rfkill: %d", ret); in ath12k_core_rfkill_config() 52 static int ath12k_core_continue_suspend_resume(struct ath12k_base *ab) in ath12k_core_continue_suspend_resume() argument 56 if (!ab->hw_params->supports_suspend) in ath12k_core_continue_suspend_resume() 62 ar = ab->pdevs[0].ar; in ath12k_core_continue_suspend_resume() 69 int ath12k_core_suspend(struct ath12k_base *ab) in ath12k_core_suspend() argument 74 ret = ath12k_core_continue_suspend_resume(ab); in ath12k_core_suspend() [all …]
|
D | hif.h | 13 u32 (*read32)(struct ath12k_base *ab, u32 address); 14 void (*write32)(struct ath12k_base *ab, u32 address, u32 data); 15 void (*irq_enable)(struct ath12k_base *ab); 16 void (*irq_disable)(struct ath12k_base *ab); 17 int (*start)(struct ath12k_base *ab); 18 void (*stop)(struct ath12k_base *ab); 19 int (*power_up)(struct ath12k_base *ab); 20 void (*power_down)(struct ath12k_base *ab, bool is_suspend); 21 int (*suspend)(struct ath12k_base *ab); 22 int (*resume)(struct ath12k_base *ab); [all …]
|
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() 32 ab->acpi.func_bit = obj->integer.value; in ath12k_acpi_dsm_get_data() 37 ath12k_warn(ab, "invalid ACPI DSM TAS config size: %d\n", in ath12k_acpi_dsm_get_data() 43 memcpy(&ab->acpi.tas_cfg, obj->buffer.pointer, in ath12k_acpi_dsm_get_data() 49 ath12k_warn(ab, "invalid ACPI DSM TAS data size: %d\n", in ath12k_acpi_dsm_get_data() 55 memcpy(&ab->acpi.tas_sar_power_table, obj->buffer.pointer, in ath12k_acpi_dsm_get_data() [all …]
|
D | pci.c | 137 static int ath12k_pci_bus_wake_up(struct ath12k_base *ab) in ath12k_pci_bus_wake_up() argument 139 struct ath12k_pci *ab_pci = ath12k_pci_priv(ab); in ath12k_pci_bus_wake_up() 144 static void ath12k_pci_bus_release(struct ath12k_base *ab) in ath12k_pci_bus_release() argument 146 struct ath12k_pci *ab_pci = ath12k_pci_priv(ab); in ath12k_pci_bus_release() 163 struct ath12k_base *ab = ab_pci->ab; in ath12k_pci_select_window() local 176 ab->mem + WINDOW_REG_ADDRESS); in ath12k_pci_select_window() 177 ioread32(ab->mem + WINDOW_REG_ADDRESS); in ath12k_pci_select_window() 194 iowrite32(WINDOW_ENABLE_BIT | window, ab_pci->ab->mem + WINDOW_REG_ADDRESS); in ath12k_pci_select_static_window() 197 static u32 ath12k_pci_get_window_start(struct ath12k_base *ab, in ath12k_pci_get_window_start() argument 219 static void ath12k_pci_soc_global_reset(struct ath12k_base *ab) in ath12k_pci_soc_global_reset() argument [all …]
|
D | dp.c | 22 static void ath12k_dp_htt_htc_tx_complete(struct ath12k_base *ab, in ath12k_dp_htt_htc_tx_complete() argument 30 struct ath12k_base *ab = ar->ab; in ath12k_dp_peer_cleanup() local 35 spin_lock_bh(&ab->base_lock); in ath12k_dp_peer_cleanup() 36 peer = ath12k_peer_find(ab, vdev_id, addr); in ath12k_dp_peer_cleanup() 38 ath12k_warn(ab, "failed to lookup peer %pM on vdev %d\n", in ath12k_dp_peer_cleanup() 40 spin_unlock_bh(&ab->base_lock); in ath12k_dp_peer_cleanup() 47 spin_unlock_bh(&ab->base_lock); in ath12k_dp_peer_cleanup() 52 struct ath12k_base *ab = ar->ab; in ath12k_dp_peer_setup() local 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() [all …]
|
D | ce.c | 225 struct ath12k_base *ab = pipe->ab; in ath12k_ce_rx_buf_enqueue_pipe() local 233 lockdep_assert_held(&ab->ce.ce_lock); in ath12k_ce_rx_buf_enqueue_pipe() 237 srng = &ab->hal.srng_list[ring->hal_ring_id]; in ath12k_ce_rx_buf_enqueue_pipe() 241 ath12k_hal_srng_access_begin(ab, srng); in ath12k_ce_rx_buf_enqueue_pipe() 243 if (unlikely(ath12k_hal_srng_src_num_free(ab, srng, false) < 1)) { in ath12k_ce_rx_buf_enqueue_pipe() 248 desc = ath12k_hal_srng_src_get_next_entry(ab, srng); in ath12k_ce_rx_buf_enqueue_pipe() 264 ath12k_hal_srng_access_end(ab, srng); in ath12k_ce_rx_buf_enqueue_pipe() 273 struct ath12k_base *ab = pipe->ab; in ath12k_ce_rx_post_pipe() local 281 spin_lock_bh(&ab->ce.ce_lock); in ath12k_ce_rx_post_pipe() 291 paddr = dma_map_single(ab->dev, skb->data, in ath12k_ce_rx_post_pipe() [all …]
|
D | dp_rx.c | 24 static enum hal_encrypt_type ath12k_dp_rx_h_enctype(struct ath12k_base *ab, in ath12k_dp_rx_h_enctype() argument 27 if (!ab->hal_rx_ops->rx_desc_encrypt_valid(desc)) in ath12k_dp_rx_h_enctype() 30 return ab->hal_rx_ops->rx_desc_get_encrypt_type(desc); in ath12k_dp_rx_h_enctype() 33 u8 ath12k_dp_rx_h_decap_type(struct ath12k_base *ab, in ath12k_dp_rx_h_decap_type() argument 36 return ab->hal_rx_ops->rx_desc_get_decap_type(desc); in ath12k_dp_rx_h_decap_type() 39 static u8 ath12k_dp_rx_h_mesh_ctl_present(struct ath12k_base *ab, in ath12k_dp_rx_h_mesh_ctl_present() argument 42 return ab->hal_rx_ops->rx_desc_get_mesh_ctl(desc); in ath12k_dp_rx_h_mesh_ctl_present() 45 static bool ath12k_dp_rx_h_seq_ctrl_valid(struct ath12k_base *ab, in ath12k_dp_rx_h_seq_ctrl_valid() argument 48 return ab->hal_rx_ops->rx_desc_get_mpdu_seq_ctl_vld(desc); in ath12k_dp_rx_h_seq_ctrl_valid() 51 static bool ath12k_dp_rx_h_fc_valid(struct ath12k_base *ab, in ath12k_dp_rx_h_fc_valid() argument [all …]
|
D | peer.c | 11 struct ath12k_peer *ath12k_peer_find(struct ath12k_base *ab, int vdev_id, in ath12k_peer_find() argument 16 lockdep_assert_held(&ab->base_lock); in ath12k_peer_find() 18 list_for_each_entry(peer, &ab->peers, list) { in ath12k_peer_find() 30 static struct ath12k_peer *ath12k_peer_find_by_pdev_idx(struct ath12k_base *ab, in ath12k_peer_find_by_pdev_idx() argument 35 lockdep_assert_held(&ab->base_lock); in ath12k_peer_find_by_pdev_idx() 37 list_for_each_entry(peer, &ab->peers, list) { in ath12k_peer_find_by_pdev_idx() 49 struct ath12k_peer *ath12k_peer_find_by_addr(struct ath12k_base *ab, in ath12k_peer_find_by_addr() argument 54 lockdep_assert_held(&ab->base_lock); in ath12k_peer_find_by_addr() 56 list_for_each_entry(peer, &ab->peers, list) { in ath12k_peer_find_by_addr() 66 struct ath12k_peer *ath12k_peer_find_by_id(struct ath12k_base *ab, in ath12k_peer_find_by_id() argument [all …]
|
D | fw.c | 10 static int ath12k_fw_request_firmware_api_n(struct ath12k_base *ab, in ath12k_fw_request_firmware_api_n() argument 19 ab->fw.fw = ath12k_core_firmware_request(ab, name); in ath12k_fw_request_firmware_api_n() 20 if (IS_ERR(ab->fw.fw)) { in ath12k_fw_request_firmware_api_n() 21 ret = PTR_ERR(ab->fw.fw); in ath12k_fw_request_firmware_api_n() 22 ath12k_dbg(ab, ATH12K_DBG_BOOT, "failed to load %s: %d\n", name, ret); in ath12k_fw_request_firmware_api_n() 23 ab->fw.fw = NULL; in ath12k_fw_request_firmware_api_n() 27 data = ab->fw.fw->data; in ath12k_fw_request_firmware_api_n() 28 len = ab->fw.fw->size; in ath12k_fw_request_firmware_api_n() 34 ath12k_err(ab, "firmware image too small to contain magic: %zu\n", in ath12k_fw_request_firmware_api_n() 41 ath12k_err(ab, "Invalid firmware magic\n"); in ath12k_fw_request_firmware_api_n() [all …]
|
D | hal.h | 62 #define HAL_TCL1_RING_ID(ab) ((ab)->hw_params->regs->hal_tcl1_ring_id) argument 63 #define HAL_TCL1_RING_MISC(ab) \ argument 64 ((ab)->hw_params->regs->hal_tcl1_ring_misc) 65 #define HAL_TCL1_RING_TP_ADDR_LSB(ab) \ argument 66 ((ab)->hw_params->regs->hal_tcl1_ring_tp_addr_lsb) 67 #define HAL_TCL1_RING_TP_ADDR_MSB(ab) \ argument 68 ((ab)->hw_params->regs->hal_tcl1_ring_tp_addr_msb) 69 #define HAL_TCL1_RING_CONSUMER_INT_SETUP_IX0(ab) \ argument 70 ((ab)->hw_params->regs->hal_tcl1_ring_consumer_int_setup_ix0) 71 #define HAL_TCL1_RING_CONSUMER_INT_SETUP_IX1(ab) \ argument [all …]
|
/linux-6.12.1/drivers/usb/phy/ |
D | phy-ab8500-usb.c | 5 * Copyright (C) 2010-2013 ST-Ericsson AB 121 /* Driver is using the ab-iddet driver*/ 150 static void ab8500_usb_wd_workaround(struct ab8500_usb *ab) in ab8500_usb_wd_workaround() argument 152 abx500_set_register_interruptible(ab->dev, in ab8500_usb_wd_workaround() 159 abx500_set_register_interruptible(ab->dev, in ab8500_usb_wd_workaround() 167 abx500_set_register_interruptible(ab->dev, in ab8500_usb_wd_workaround() 173 static void ab8500_usb_regulator_enable(struct ab8500_usb *ab) in ab8500_usb_regulator_enable() argument 177 ret = regulator_enable(ab->v_ape); in ab8500_usb_regulator_enable() 179 dev_err(ab->dev, "Failed to enable v-ape\n"); in ab8500_usb_regulator_enable() 181 if (ab->flags & AB8500_USB_FLAG_REGULATOR_SET_VOLTAGE) { in ab8500_usb_regulator_enable() [all …]
|
/linux-6.12.1/drivers/net/wireless/ath/ath11k/ |
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 …]
|
D | hif.h | 13 u32 (*read32)(struct ath11k_base *ab, u32 address); 14 void (*write32)(struct ath11k_base *ab, u32 address, u32 data); 15 int (*read)(struct ath11k_base *ab, void *buf, u32 start, u32 end); 16 void (*irq_enable)(struct ath11k_base *ab); 17 void (*irq_disable)(struct ath11k_base *ab); 18 int (*start)(struct ath11k_base *ab); 19 void (*stop)(struct ath11k_base *ab); 20 int (*power_up)(struct ath11k_base *ab); 21 void (*power_down)(struct ath11k_base *ab); 22 int (*suspend)(struct ath11k_base *ab); [all …]
|
D | pci.c | 43 static int ath11k_pci_bus_wake_up(struct ath11k_base *ab) in ath11k_pci_bus_wake_up() argument 45 struct ath11k_pci *ab_pci = ath11k_pci_priv(ab); in ath11k_pci_bus_wake_up() 50 static void ath11k_pci_bus_release(struct ath11k_base *ab) in ath11k_pci_bus_release() argument 52 struct ath11k_pci *ab_pci = ath11k_pci_priv(ab); in ath11k_pci_bus_release() 57 static u32 ath11k_pci_get_window_start(struct ath11k_base *ab, u32 offset) in ath11k_pci_get_window_start() argument 59 if (!ab->hw_params.static_window_map) in ath11k_pci_get_window_start() 65 else if ((offset ^ HAL_SEQ_WCSS_UMAC_CE0_SRC_REG(ab)) < in ath11k_pci_get_window_start() 75 struct ath11k_base *ab = ab_pci->ab; in ath11k_pci_select_window() local 83 ab->mem + ATH11K_PCI_WINDOW_REG_ADDRESS); in ath11k_pci_select_window() 84 ioread32(ab->mem + ATH11K_PCI_WINDOW_REG_ADDRESS); in ath11k_pci_select_window() [all …]
|
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 …]
|
D | core.c | 814 static inline struct ath11k_pdev *ath11k_core_get_single_pdev(struct ath11k_base *ab) in ath11k_core_get_single_pdev() argument 816 WARN_ON(!ab->hw_params.single_pdev_only); in ath11k_core_get_single_pdev() 818 return &ab->pdevs[0]; in ath11k_core_get_single_pdev() 867 bool ath11k_core_coldboot_cal_support(struct ath11k_base *ab) in ath11k_core_coldboot_cal_support() argument 873 return ab->hw_params.coldboot_cal_ftm; in ath11k_core_coldboot_cal_support() 876 return ab->hw_params.coldboot_cal_mm; in ath11k_core_coldboot_cal_support() 879 int ath11k_core_suspend(struct ath11k_base *ab) in ath11k_core_suspend() argument 885 if (!ab->hw_params.supports_suspend) in ath11k_core_suspend() 891 pdev = ath11k_core_get_single_pdev(ab); in ath11k_core_suspend() 896 ret = ath11k_dp_rx_pktlog_stop(ab, true); in ath11k_core_suspend() [all …]
|
D | pcic.c | 131 int ath11k_pcic_init_msi_config(struct ath11k_base *ab) in ath11k_pcic_init_msi_config() argument 139 if (msi_config->hw_rev == ab->hw_rev) in ath11k_pcic_init_msi_config() 144 ath11k_err(ab, "failed to fetch msi config, unsupported hw version: 0x%x\n", in ath11k_pcic_init_msi_config() 145 ab->hw_rev); in ath11k_pcic_init_msi_config() 149 ab->pci.msi.config = msi_config; in ath11k_pcic_init_msi_config() 154 static void __ath11k_pcic_write32(struct ath11k_base *ab, u32 offset, u32 value) in __ath11k_pcic_write32() argument 157 iowrite32(value, ab->mem + offset); in __ath11k_pcic_write32() 159 ab->pci.ops->window_write32(ab, offset, value); in __ath11k_pcic_write32() 162 void ath11k_pcic_write32(struct ath11k_base *ab, u32 offset, u32 value) in ath11k_pcic_write32() argument 170 wakeup_required = test_bit(ATH11K_FLAG_DEVICE_INIT_DONE, &ab->dev_flags) && in ath11k_pcic_write32() [all …]
|
D | hal.h | 35 #define HAL_SHADOW_BASE_ADDR(ab) ab->hw_params.regs->hal_shadow_base_addr argument 40 #define HAL_SHADOW_REG(ab, x) (HAL_SHADOW_BASE_ADDR(ab) + (4 * (x))) argument 47 (ab->hw_params.regs->hal_seq_wcss_umac_ce0_src_reg) 49 (ab->hw_params.regs->hal_seq_wcss_umac_ce0_dst_reg) 51 (ab->hw_params.regs->hal_seq_wcss_umac_ce1_src_reg) 53 (ab->hw_params.regs->hal_seq_wcss_umac_ce1_dst_reg) 62 #define HAL_TCL1_RING_BASE_LSB(ab) ab->hw_params.regs->hal_tcl1_ring_base_lsb argument 63 #define HAL_TCL1_RING_BASE_MSB(ab) ab->hw_params.regs->hal_tcl1_ring_base_msb argument 64 #define HAL_TCL1_RING_ID(ab) ab->hw_params.regs->hal_tcl1_ring_id argument 65 #define HAL_TCL1_RING_MISC(ab) ab->hw_params.regs->hal_tcl1_ring_misc argument [all …]
|
D | dp.c | 16 static void ath11k_dp_htt_htc_tx_complete(struct ath11k_base *ab, in ath11k_dp_htt_htc_tx_complete() argument 24 struct ath11k_base *ab = ar->ab; in ath11k_dp_peer_cleanup() local 29 spin_lock_bh(&ab->base_lock); in ath11k_dp_peer_cleanup() 30 peer = ath11k_peer_find(ab, vdev_id, addr); in ath11k_dp_peer_cleanup() 32 ath11k_warn(ab, "failed to lookup peer %pM on vdev %d\n", in ath11k_dp_peer_cleanup() 34 spin_unlock_bh(&ab->base_lock); in ath11k_dp_peer_cleanup() 41 spin_unlock_bh(&ab->base_lock); in ath11k_dp_peer_cleanup() 46 struct ath11k_base *ab = ar->ab; in ath11k_dp_peer_setup() local 58 ath11k_warn(ab, "failed to set default routing %d peer :%pM vdev_id :%d\n", in ath11k_dp_peer_setup() 67 ath11k_warn(ab, "failed to setup rxd tid queue for tid %d: %d\n", in ath11k_dp_peer_setup() [all …]
|
D | hal.c | 193 static int ath11k_hal_alloc_cont_rdp(struct ath11k_base *ab) in ath11k_hal_alloc_cont_rdp() argument 195 struct ath11k_hal *hal = &ab->hal; in ath11k_hal_alloc_cont_rdp() 199 hal->rdp.vaddr = dma_alloc_coherent(ab->dev, size, &hal->rdp.paddr, in ath11k_hal_alloc_cont_rdp() 207 static void ath11k_hal_free_cont_rdp(struct ath11k_base *ab) in ath11k_hal_free_cont_rdp() argument 209 struct ath11k_hal *hal = &ab->hal; in ath11k_hal_free_cont_rdp() 216 dma_free_coherent(ab->dev, size, in ath11k_hal_free_cont_rdp() 221 static int ath11k_hal_alloc_cont_wrp(struct ath11k_base *ab) in ath11k_hal_alloc_cont_wrp() argument 223 struct ath11k_hal *hal = &ab->hal; in ath11k_hal_alloc_cont_wrp() 227 hal->wrp.vaddr = dma_alloc_coherent(ab->dev, size, &hal->wrp.paddr, in ath11k_hal_alloc_cont_wrp() 235 static void ath11k_hal_free_cont_wrp(struct ath11k_base *ab) in ath11k_hal_free_cont_wrp() argument [all …]
|
D | ce.c | 259 void ath11k_ce_stop_shadow_timers(struct ath11k_base *ab) in ath11k_ce_stop_shadow_timers() argument 263 if (!ab->hw_params.supports_shadow_regs) in ath11k_ce_stop_shadow_timers() 266 for (i = 0; i < ab->hw_params.ce_count; i++) in ath11k_ce_stop_shadow_timers() 268 ath11k_dp_shadow_stop_timer(ab, &ab->ce.hp_timer[i]); in ath11k_ce_stop_shadow_timers() 274 struct ath11k_base *ab = pipe->ab; in ath11k_ce_rx_buf_enqueue_pipe() local 282 lockdep_assert_held(&ab->ce.ce_lock); in ath11k_ce_rx_buf_enqueue_pipe() 286 srng = &ab->hal.srng_list[ring->hal_ring_id]; in ath11k_ce_rx_buf_enqueue_pipe() 290 ath11k_hal_srng_access_begin(ab, srng); in ath11k_ce_rx_buf_enqueue_pipe() 292 if (unlikely(ath11k_hal_srng_src_num_free(ab, srng, false) < 1)) { in ath11k_ce_rx_buf_enqueue_pipe() 297 desc = ath11k_hal_srng_src_get_next_entry(ab, srng); in ath11k_ce_rx_buf_enqueue_pipe() [all …]
|
D | qmi.c | 1707 static int ath11k_qmi_host_cap_send(struct ath11k_base *ab) in ath11k_qmi_host_cap_send() argument 1719 req.mem_cfg_mode = ab->qmi.target_mem_mode; in ath11k_qmi_host_cap_send() 1724 if (ab->hw_params.m3_fw_support) { in ath11k_qmi_host_cap_send() 1737 req.cal_done = ab->qmi.cal_done; in ath11k_qmi_host_cap_send() 1739 if (ab->hw_params.internal_sleep_clock) { in ath11k_qmi_host_cap_send() 1753 if (ab->hw_params.global_reset) in ath11k_qmi_host_cap_send() 1758 ath11k_dbg(ab, ATH11K_DBG_QMI, "host cap request\n"); in ath11k_qmi_host_cap_send() 1760 ret = qmi_txn_init(&ab->qmi.handle, &txn, in ath11k_qmi_host_cap_send() 1765 ret = qmi_send_request(&ab->qmi.handle, NULL, &txn, in ath11k_qmi_host_cap_send() 1771 ath11k_warn(ab, "failed to send host capability request: %d\n", ret); in ath11k_qmi_host_cap_send() [all …]
|
D | fw.c | 10 static int ath11k_fw_request_firmware_api_n(struct ath11k_base *ab, in ath11k_fw_request_firmware_api_n() argument 19 ab->fw.fw = ath11k_core_firmware_request(ab, name); in ath11k_fw_request_firmware_api_n() 20 if (IS_ERR(ab->fw.fw)) { in ath11k_fw_request_firmware_api_n() 21 ret = PTR_ERR(ab->fw.fw); in ath11k_fw_request_firmware_api_n() 22 ath11k_dbg(ab, ATH11K_DBG_BOOT, "failed to load %s: %d\n", name, ret); in ath11k_fw_request_firmware_api_n() 23 ab->fw.fw = NULL; in ath11k_fw_request_firmware_api_n() 27 data = ab->fw.fw->data; in ath11k_fw_request_firmware_api_n() 28 len = ab->fw.fw->size; in ath11k_fw_request_firmware_api_n() 34 ath11k_err(ab, "firmware image too small to contain magic: %zu\n", in ath11k_fw_request_firmware_api_n() 41 ath11k_err(ab, "Invalid firmware magic\n"); in ath11k_fw_request_firmware_api_n() [all …]
|
/linux-6.12.1/security/ipe/ |
D | audit.c | 66 * @ab: Supplies a pointer to the audit_buffer to append to. 69 static void audit_dmv_roothash(struct audit_buffer *ab, const void *rh) in audit_dmv_roothash() argument 71 audit_log_format(ab, "%s", audit_prop_names[IPE_PROP_DMV_ROOTHASH]); in audit_dmv_roothash() 72 ipe_digest_audit(ab, rh); in audit_dmv_roothash() 77 * @ab: Supplies a pointer to the audit_buffer to append to. 80 static void audit_fsv_digest(struct audit_buffer *ab, const void *d) in audit_fsv_digest() argument 82 audit_log_format(ab, "%s", audit_prop_names[IPE_PROP_FSV_DIGEST]); in audit_fsv_digest() 83 ipe_digest_audit(ab, d); in audit_fsv_digest() 88 * @ab: Supplies a pointer to the audit_buffer to append to. 91 static void audit_rule(struct audit_buffer *ab, const struct ipe_rule *r) in audit_rule() argument [all …]
|
/linux-6.12.1/arch/arc/lib/ |
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 …]
|