/linux-6.6.21/drivers/usb/phy/ |
D | phy-ab8500-usb.c | 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() 182 ab->saved_v_ulpi = regulator_get_voltage(ab->v_ulpi); in ab8500_usb_regulator_enable() 183 if (ab->saved_v_ulpi < 0) in ab8500_usb_regulator_enable() [all …]
|
/linux-6.6.21/drivers/net/wireless/ath/ath12k/ |
D | core.c | 22 int ath12k_core_suspend(struct ath12k_base *ab) in ath12k_core_suspend() argument 26 if (!ab->hw_params->supports_suspend) in ath12k_core_suspend() 34 ret = ath12k_dp_rx_pktlog_stop(ab, true); in ath12k_core_suspend() 36 ath12k_warn(ab, "failed to stop dp rx (and timer) pktlog during suspend: %d\n", in ath12k_core_suspend() 41 ret = ath12k_dp_rx_pktlog_stop(ab, false); in ath12k_core_suspend() 43 ath12k_warn(ab, "failed to stop dp rx pktlog during suspend: %d\n", in ath12k_core_suspend() 48 ath12k_hif_irq_disable(ab); in ath12k_core_suspend() 49 ath12k_hif_ce_irq_disable(ab); in ath12k_core_suspend() 51 ret = ath12k_hif_suspend(ab); in ath12k_core_suspend() 53 ath12k_warn(ab, "failed to suspend hif: %d\n", ret); in ath12k_core_suspend() [all …]
|
D | hif.h | 21 int (*suspend)(struct ath12k_base *ab); 22 int (*resume)(struct ath12k_base *ab); 25 int (*get_user_msi_vector)(struct ath12k_base *ab, char *user_name, 28 void (*get_msi_address)(struct ath12k_base *ab, u32 *msi_addr_lo, 30 void (*ce_irq_enable)(struct ath12k_base *ab); 31 void (*ce_irq_disable)(struct ath12k_base *ab); 32 void (*get_ce_msi_idx)(struct ath12k_base *ab, u32 ce_id, u32 *msi_idx); 35 static inline int ath12k_hif_map_service_to_pipe(struct ath12k_base *ab, u16 service_id, in ath12k_hif_map_service_to_pipe() argument 38 return ab->hif.ops->map_service_to_pipe(ab, service_id, in ath12k_hif_map_service_to_pipe() 42 static inline int ath12k_hif_get_user_msi_vector(struct ath12k_base *ab, in ath12k_hif_get_user_msi_vector() argument [all …]
|
D | pci.c | 122 static int ath12k_pci_bus_wake_up(struct ath12k_base *ab) in ath12k_pci_bus_wake_up() argument 124 struct ath12k_pci *ab_pci = ath12k_pci_priv(ab); in ath12k_pci_bus_wake_up() 129 static void ath12k_pci_bus_release(struct ath12k_base *ab) in ath12k_pci_bus_release() argument 131 struct ath12k_pci *ab_pci = ath12k_pci_priv(ab); in ath12k_pci_bus_release() 148 struct ath12k_base *ab = ab_pci->ab; in ath12k_pci_select_window() local 161 ab->mem + WINDOW_REG_ADDRESS); in ath12k_pci_select_window() 162 ioread32(ab->mem + WINDOW_REG_ADDRESS); in ath12k_pci_select_window() 179 iowrite32(WINDOW_ENABLE_BIT | window, ab_pci->ab->mem + WINDOW_REG_ADDRESS); in ath12k_pci_select_static_window() 182 static u32 ath12k_pci_get_window_start(struct ath12k_base *ab, in ath12k_pci_get_window_start() argument 205 static void ath12k_pci_soc_global_reset(struct ath12k_base *ab) in ath12k_pci_soc_global_reset() argument [all …]
|
D | dp.c | 17 static void ath12k_dp_htt_htc_tx_complete(struct ath12k_base *ab, in ath12k_dp_htt_htc_tx_complete() argument 25 struct ath12k_base *ab = ar->ab; in ath12k_dp_peer_cleanup() local 30 spin_lock_bh(&ab->base_lock); in ath12k_dp_peer_cleanup() 31 peer = ath12k_peer_find(ab, vdev_id, addr); in ath12k_dp_peer_cleanup() 33 ath12k_warn(ab, "failed to lookup peer %pM on vdev %d\n", in ath12k_dp_peer_cleanup() 35 spin_unlock_bh(&ab->base_lock); in ath12k_dp_peer_cleanup() 42 spin_unlock_bh(&ab->base_lock); in ath12k_dp_peer_cleanup() 47 struct ath12k_base *ab = ar->ab; in ath12k_dp_peer_setup() local 59 ath12k_warn(ab, "failed to set default routing %d peer :%pM vdev_id :%d\n", in ath12k_dp_peer_setup() 68 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 | 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 | 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 …]
|
D | dp_rx.c | 23 static enum hal_encrypt_type ath12k_dp_rx_h_enctype(struct ath12k_base *ab, in ath12k_dp_rx_h_enctype() argument 26 if (!ab->hw_params->hal_ops->rx_desc_encrypt_valid(desc)) in ath12k_dp_rx_h_enctype() 29 return ab->hw_params->hal_ops->rx_desc_get_encrypt_type(desc); in ath12k_dp_rx_h_enctype() 32 u8 ath12k_dp_rx_h_decap_type(struct ath12k_base *ab, in ath12k_dp_rx_h_decap_type() argument 35 return ab->hw_params->hal_ops->rx_desc_get_decap_type(desc); in ath12k_dp_rx_h_decap_type() 38 static u8 ath12k_dp_rx_h_mesh_ctl_present(struct ath12k_base *ab, in ath12k_dp_rx_h_mesh_ctl_present() argument 41 return ab->hw_params->hal_ops->rx_desc_get_mesh_ctl(desc); in ath12k_dp_rx_h_mesh_ctl_present() 44 static bool ath12k_dp_rx_h_seq_ctrl_valid(struct ath12k_base *ab, in ath12k_dp_rx_h_seq_ctrl_valid() argument 47 return ab->hw_params->hal_ops->rx_desc_get_mpdu_seq_ctl_vld(desc); in ath12k_dp_rx_h_seq_ctrl_valid() 50 static bool ath12k_dp_rx_h_fc_valid(struct ath12k_base *ab, in ath12k_dp_rx_h_fc_valid() argument [all …]
|
D | pci.h | 38 #define PCIE_QSERDES_COM_SYSCLK_EN_SEL_REG(ab) \ argument 39 ((ab)->hw_params->regs->pcie_qserdes_sysclk_en_sel) 42 #define PCIE_PCS_OSC_DTCT_CONFIG1_REG(ab) \ argument 43 ((ab)->hw_params->regs->pcie_pcs_osc_dtct_config_base) 45 #define PCIE_PCS_OSC_DTCT_CONFIG2_REG(ab) \ argument 46 ((ab)->hw_params->regs->pcie_pcs_osc_dtct_config_base + 0x4) 48 #define PCIE_PCS_OSC_DTCT_CONFIG4_REG(ab) \ argument 49 ((ab)->hw_params->regs->pcie_pcs_osc_dtct_config_base + 0xc) 90 int (*wakeup)(struct ath12k_base *ab); 91 void (*release)(struct ath12k_base *ab); [all …]
|
/linux-6.6.21/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 | pci.c | 40 static int ath11k_pci_bus_wake_up(struct ath11k_base *ab) in ath11k_pci_bus_wake_up() argument 42 struct ath11k_pci *ab_pci = ath11k_pci_priv(ab); in ath11k_pci_bus_wake_up() 47 static void ath11k_pci_bus_release(struct ath11k_base *ab) in ath11k_pci_bus_release() argument 49 struct ath11k_pci *ab_pci = ath11k_pci_priv(ab); in ath11k_pci_bus_release() 54 static u32 ath11k_pci_get_window_start(struct ath11k_base *ab, u32 offset) in ath11k_pci_get_window_start() argument 56 if (!ab->hw_params.static_window_map) in ath11k_pci_get_window_start() 62 else if ((offset ^ HAL_SEQ_WCSS_UMAC_CE0_SRC_REG(ab)) < in ath11k_pci_get_window_start() 72 struct ath11k_base *ab = ab_pci->ab; in ath11k_pci_select_window() local 80 ab->mem + ATH11K_PCI_WINDOW_REG_ADDRESS); in ath11k_pci_select_window() 81 ioread32(ab->mem + ATH11K_PCI_WINDOW_REG_ADDRESS); in ath11k_pci_select_window() [all …]
|
D | core.c | 707 static inline struct ath11k_pdev *ath11k_core_get_single_pdev(struct ath11k_base *ab) in ath11k_core_get_single_pdev() argument 709 WARN_ON(!ab->hw_params.single_pdev_only); in ath11k_core_get_single_pdev() 711 return &ab->pdevs[0]; in ath11k_core_get_single_pdev() 760 bool ath11k_core_coldboot_cal_support(struct ath11k_base *ab) in ath11k_core_coldboot_cal_support() argument 766 return ab->hw_params.coldboot_cal_ftm; in ath11k_core_coldboot_cal_support() 769 return ab->hw_params.coldboot_cal_mm; in ath11k_core_coldboot_cal_support() 772 int ath11k_core_suspend(struct ath11k_base *ab) in ath11k_core_suspend() argument 778 if (!ab->hw_params.supports_suspend) in ath11k_core_suspend() 784 pdev = ath11k_core_get_single_pdev(ab); in ath11k_core_suspend() 789 ret = ath11k_dp_rx_pktlog_stop(ab, true); in ath11k_core_suspend() [all …]
|
D | ahb.c | 144 ath11k_ahb_get_msi_irq_wcn6750(struct ath11k_base *ab, unsigned int vector) in ath11k_ahb_get_msi_irq_wcn6750() argument 146 return ab->pci.msi.irqs[vector]; in ath11k_ahb_get_msi_irq_wcn6750() 150 ath11k_ahb_get_window_start_wcn6750(struct ath11k_base *ab, u32 offset) in ath11k_ahb_get_window_start_wcn6750() argument 158 else if ((offset ^ HAL_SEQ_WCSS_UMAC_CE0_SRC_REG(ab)) < in ath11k_ahb_get_window_start_wcn6750() 166 ath11k_ahb_window_write32_wcn6750(struct ath11k_base *ab, u32 offset, u32 value) in ath11k_ahb_window_write32_wcn6750() argument 171 window_start = ath11k_ahb_get_window_start_wcn6750(ab, offset); in ath11k_ahb_window_write32_wcn6750() 173 iowrite32(value, ab->mem + window_start + in ath11k_ahb_window_write32_wcn6750() 177 static u32 ath11k_ahb_window_read32_wcn6750(struct ath11k_base *ab, u32 offset) in ath11k_ahb_window_read32_wcn6750() argument 183 window_start = ath11k_ahb_get_window_start_wcn6750(ab, offset); in ath11k_ahb_window_read32_wcn6750() 185 val = ioread32(ab->mem + window_start + in ath11k_ahb_window_read32_wcn6750() [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 | pcic.c | 120 int ath11k_pcic_init_msi_config(struct ath11k_base *ab) in ath11k_pcic_init_msi_config() argument 128 if (msi_config->hw_rev == ab->hw_rev) in ath11k_pcic_init_msi_config() 133 ath11k_err(ab, "failed to fetch msi config, unsupported hw version: 0x%x\n", in ath11k_pcic_init_msi_config() 134 ab->hw_rev); in ath11k_pcic_init_msi_config() 138 ab->pci.msi.config = msi_config; in ath11k_pcic_init_msi_config() 143 static void __ath11k_pcic_write32(struct ath11k_base *ab, u32 offset, u32 value) in __ath11k_pcic_write32() argument 146 iowrite32(value, ab->mem + offset); in __ath11k_pcic_write32() 148 ab->pci.ops->window_write32(ab, offset, value); in __ath11k_pcic_write32() 151 void ath11k_pcic_write32(struct ath11k_base *ab, u32 offset, u32 value) in ath11k_pcic_write32() argument 159 wakeup_required = test_bit(ATH11K_FLAG_DEVICE_INIT_DONE, &ab->dev_flags) && in ath11k_pcic_write32() [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 | 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 | 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 | hif.h | 14 int (*read)(struct ath11k_base *ab, void *buf, u32 start, u32 end); 21 int (*suspend)(struct ath11k_base *ab); 22 int (*resume)(struct ath11k_base *ab); 25 int (*get_user_msi_vector)(struct ath11k_base *ab, char *user_name, 28 void (*get_msi_address)(struct ath11k_base *ab, u32 *msi_addr_lo, 30 void (*ce_irq_enable)(struct ath11k_base *ab); 31 void (*ce_irq_disable)(struct ath11k_base *ab); 32 void (*get_ce_msi_idx)(struct ath11k_base *ab, u32 ce_id, u32 *msi_idx); 35 static inline void ath11k_hif_ce_irq_enable(struct ath11k_base *ab) in ath11k_hif_ce_irq_enable() argument 37 if (ab->hif.ops->ce_irq_enable) in ath11k_hif_ce_irq_enable() [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 | trace.h | 42 __string(device, dev_name(ar->ab->dev)) 43 __string(driver, dev_driver_string(ar->ab->dev)) 50 __assign_str(device, dev_name(ar->ab->dev)); 51 __assign_str(driver, dev_driver_string(ar->ab->dev)); 72 __string(device, dev_name(ar->ab->dev)) 73 __string(driver, dev_driver_string(ar->ab->dev)) 79 __assign_str(device, dev_name(ar->ab->dev)); 80 __assign_str(driver, dev_driver_string(ar->ab->dev)); 99 __string(device, dev_name(ar->ab->dev)) 100 __string(driver, dev_driver_string(ar->ab->dev)) [all …]
|
D | mhi.c | 208 void ath11k_mhi_set_mhictrl_reset(struct ath11k_base *ab) in ath11k_mhi_set_mhictrl_reset() argument 212 val = ath11k_pcic_read32(ab, MHISTATUS); in ath11k_mhi_set_mhictrl_reset() 214 ath11k_dbg(ab, ATH11K_DBG_PCI, "mhistatus 0x%x\n", val); in ath11k_mhi_set_mhictrl_reset() 220 ath11k_pcic_write32(ab, MHICTRL, MHICTRL_RESET_MASK); in ath11k_mhi_set_mhictrl_reset() 225 static void ath11k_mhi_reset_txvecdb(struct ath11k_base *ab) in ath11k_mhi_reset_txvecdb() argument 227 ath11k_pcic_write32(ab, PCIE_TXVECDB, 0); in ath11k_mhi_reset_txvecdb() 230 static void ath11k_mhi_reset_txvecstatus(struct ath11k_base *ab) in ath11k_mhi_reset_txvecstatus() argument 232 ath11k_pcic_write32(ab, PCIE_TXVECSTATUS, 0); in ath11k_mhi_reset_txvecstatus() 235 static void ath11k_mhi_reset_rxvecdb(struct ath11k_base *ab) in ath11k_mhi_reset_rxvecdb() argument 237 ath11k_pcic_write32(ab, PCIE_RXVECDB, 0); in ath11k_mhi_reset_rxvecdb() [all …]
|
/linux-6.6.21/include/linux/mfd/abx500/ |
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-6.6.21/security/ |
D | lsm_audit.c | 172 static inline void print_ipv6_addr(struct audit_buffer *ab, in print_ipv6_addr() argument 177 audit_log_format(ab, " %s=%pI6c", name1, addr); in print_ipv6_addr() 179 audit_log_format(ab, " %s=%d", name2, ntohs(port)); in print_ipv6_addr() 182 static inline void print_ipv4_addr(struct audit_buffer *ab, __be32 addr, in print_ipv4_addr() argument 186 audit_log_format(ab, " %s=%pI4", name1, &addr); in print_ipv4_addr() 188 audit_log_format(ab, " %s=%d", name2, ntohs(port)); in print_ipv4_addr() 197 static void dump_common_audit_data(struct audit_buffer *ab, in dump_common_audit_data() argument 209 audit_log_format(ab, " pid=%d comm=", task_tgid_nr(current)); in dump_common_audit_data() 210 audit_log_untrustedstring(ab, memcpy(comm, current->comm, sizeof(comm))); in dump_common_audit_data() 216 audit_log_format(ab, " ipc_key=%d ", a->u.ipc_id); in dump_common_audit_data() [all …]
|