| /linux/drivers/net/wireless/ath/ath12k/ |
| 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 | peer.c | 27 struct ath12k_peer *ath12k_peer_find(struct ath12k_base *ab, int vdev_id, in ath12k_peer_find() argument 32 lockdep_assert_held(&ab->base_lock); in ath12k_peer_find() 34 list_for_each_entry(peer, &ab->peers, list) { in ath12k_peer_find() 46 static struct ath12k_peer *ath12k_peer_find_by_pdev_idx(struct ath12k_base *ab, in ath12k_peer_find_by_pdev_idx() argument 51 lockdep_assert_held(&ab->base_lock); in ath12k_peer_find_by_pdev_idx() 53 list_for_each_entry(peer, &ab->peers, list) { in ath12k_peer_find_by_pdev_idx() 65 struct ath12k_peer *ath12k_peer_find_by_addr(struct ath12k_base *ab, in ath12k_peer_find_by_addr() argument 70 lockdep_assert_held(&ab->base_lock); in ath12k_peer_find_by_addr() 72 list_for_each_entry(peer, &ab->peers, list) { in ath12k_peer_find_by_addr() 82 static struct ath12k_peer *ath12k_peer_find_by_ml_id(struct ath12k_base *ab, in ath12k_peer_find_by_ml_id() argument [all …]
|
| H A D | hal.c | 252 static unsigned int ath12k_hal_reo1_ring_id_offset(struct ath12k_base *ab) in ath12k_hal_reo1_ring_id_offset() argument 254 return HAL_REO1_RING_ID(ab) - HAL_REO1_RING_BASE_LSB(ab); in ath12k_hal_reo1_ring_id_offset() 257 static unsigned int ath12k_hal_reo1_ring_msi1_base_lsb_offset(struct ath12k_base *ab) in ath12k_hal_reo1_ring_msi1_base_lsb_offset() argument 259 return HAL_REO1_RING_MSI1_BASE_LSB(ab) - HAL_REO1_RING_BASE_LSB(ab); in ath12k_hal_reo1_ring_msi1_base_lsb_offset() 262 static unsigned int ath12k_hal_reo1_ring_msi1_base_msb_offset(struct ath12k_base *ab) in ath12k_hal_reo1_ring_msi1_base_msb_offset() argument 264 return HAL_REO1_RING_MSI1_BASE_MSB(ab) - HAL_REO1_RING_BASE_LSB(ab); in ath12k_hal_reo1_ring_msi1_base_msb_offset() 267 static unsigned int ath12k_hal_reo1_ring_msi1_data_offset(struct ath12k_base *ab) in ath12k_hal_reo1_ring_msi1_data_offset() argument 269 return HAL_REO1_RING_MSI1_DATA(ab) - HAL_REO1_RING_BASE_LSB(ab); in ath12k_hal_reo1_ring_msi1_data_offset() 272 static unsigned int ath12k_hal_reo1_ring_base_msb_offset(struct ath12k_base *ab) in ath12k_hal_reo1_ring_base_msb_offset() argument 274 return HAL_REO1_RING_BASE_MSB(ab) - HAL_REO1_RING_BASE_LSB(ab); in ath12k_hal_reo1_ring_base_msb_offset() [all …]
|
| H A D | dp_tx.c | 16 ath12k_dp_tx_get_encap_type(struct ath12k_base *ab, struct sk_buff *skb) in ath12k_dp_tx_get_encap_type() argument 20 if (test_bit(ATH12K_FLAG_RAW_MODE, &ab->dev_flags)) in ath12k_dp_tx_get_encap_type() 102 ath12k_warn(dp->ab, "failed to allocate data Tx buffer\n"); in ath12k_dp_tx_assign_buffer() 112 static void ath12k_hal_tx_cmd_ext_desc_setup(struct ath12k_base *ab, in ath12k_hal_tx_cmd_ext_desc_setup() argument 185 static int ath12k_dp_tx_align_payload(struct ath12k_base *ab, in ath12k_dp_tx_align_payload() argument 188 u32 iova_mask = ab->hw_params->iova_mask; in ath12k_dp_tx_align_payload() 226 struct ath12k_base *ab = ar->ab; in ath12k_dp_tx() local 227 struct ath12k_dp *dp = &ab->dp; in ath12k_dp_tx() 246 u32 iova_mask = ab->hw_params->iova_mask; in ath12k_dp_tx() 250 if (test_bit(ATH12K_FLAG_CRASH_FLUSH, &ar->ab->dev_flags)) in ath12k_dp_tx() [all …]
|
| H A D | pci.h | 31 #define GCC_GCC_PCIE_HOT_RST(ab) \ argument 32 ((ab)->hw_params->regs->gcc_gcc_pcie_hot_rst) 40 #define PCIE_QSERDES_COM_SYSCLK_EN_SEL_REG(ab) \ argument 41 ((ab)->hw_params->regs->pcie_qserdes_sysclk_en_sel) 44 #define PCIE_PCS_OSC_DTCT_CONFIG1_REG(ab) \ argument 45 ((ab)->hw_params->regs->pcie_pcs_osc_dtct_config_base) 47 #define PCIE_PCS_OSC_DTCT_CONFIG2_REG(ab) \ argument 48 ((ab)->hw_params->regs->pcie_pcs_osc_dtct_config_base + 0x4) 50 #define PCIE_PCS_OSC_DTCT_CONFIG4_REG(ab) \ argument 51 ((ab)->hw_params->regs->pcie_pcs_osc_dtct_config_base + 0xc) [all …]
|
| H A D | htc.c | 12 struct sk_buff *ath12k_htc_alloc_skb(struct ath12k_base *ab, int size) in ath12k_htc_alloc_skb() argument 24 ath12k_warn(ab, "Unaligned HTC tx skb\n"); in ath12k_htc_alloc_skb() 29 static void ath12k_htc_control_tx_complete(struct ath12k_base *ab, in ath12k_htc_control_tx_complete() argument 80 struct device *dev = htc->ab->dev; in ath12k_htc_send() 81 struct ath12k_base *ab = htc->ab; in ath12k_htc_send() local 86 ath12k_warn(ab, "Invalid endpoint id: %d\n", eid); in ath12k_htc_send() 96 ath12k_dbg(ab, ATH12K_DBG_HTC, in ath12k_htc_send() 104 ath12k_dbg(ab, ATH12K_DBG_HTC, in ath12k_htc_send() 119 ret = ath12k_ce_send(htc->ab, skb, ep->ul_pipe_id, ep->eid); in ath12k_htc_send() 131 ath12k_dbg(ab, ATH12K_DBG_HTC, in ath12k_htc_send() [all …]
|
| H A D | dbring.c | 16 struct ath12k_base *ab = ar->ab; in ath12k_dbring_bufs_replenish() local 24 srng = &ab->hal.srng_list[ring->refill_srng.ring_id]; in ath12k_dbring_bufs_replenish() 28 ath12k_hal_srng_access_begin(ab, srng); in ath12k_dbring_bufs_replenish() 32 paddr = dma_map_single(ab->dev, ptr_aligned, ring->buf_sz, in ath12k_dbring_bufs_replenish() 35 ret = dma_mapping_error(ab->dev, paddr); in ath12k_dbring_bufs_replenish() 47 desc = ath12k_hal_srng_src_get_next_entry(ab, srng); in ath12k_dbring_bufs_replenish() 60 ath12k_hal_srng_access_end(ab, srng); in ath12k_dbring_bufs_replenish() 69 dma_unmap_single(ab->dev, paddr, ring->buf_sz, in ath12k_dbring_bufs_replenish() 72 ath12k_hal_srng_access_end(ab, srng); in ath12k_dbring_bufs_replenish() 82 struct ath12k_base *ab = ar->ab; in ath12k_dbring_fill_bufs() local [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_REG, in ath12k_reg_update_chan_list() [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 | core.c | 1047 bool ath11k_core_coldboot_cal_support(struct ath11k_base *ab) in ath11k_core_coldboot_cal_support() argument 1053 return ab->hw_params.coldboot_cal_ftm; in ath11k_core_coldboot_cal_support() 1056 return ab->hw_params.coldboot_cal_mm; in ath11k_core_coldboot_cal_support() 1065 static int ath11k_core_continue_suspend_resume(struct ath11k_base *ab) in ath11k_core_continue_suspend_resume() argument 1069 if (!ab->hw_params.supports_suspend) in ath11k_core_continue_suspend_resume() 1075 ar = ab->pdevs[0].ar; in ath11k_core_continue_suspend_resume() 1082 static int ath11k_core_suspend_wow(struct ath11k_base *ab) in ath11k_core_suspend_wow() argument 1086 ret = ath11k_dp_rx_pktlog_stop(ab, true); in ath11k_core_suspend_wow() 1088 ath11k_warn(ab, "failed to stop dp rx (and timer) pktlog during suspend: %d\n", in ath11k_core_suspend_wow() 1096 ret = ath11k_mac_wait_tx_complete(ab->pdevs[0].ar); in ath11k_core_suspend_wow() [all …]
|
| H A D | dp.c | 18 static void ath11k_dp_htt_htc_tx_complete(struct ath11k_base *ab, in ath11k_dp_htt_htc_tx_complete() argument 26 struct ath11k_base *ab = ar->ab; in ath11k_dp_peer_cleanup() local 31 spin_lock_bh(&ab->base_lock); in ath11k_dp_peer_cleanup() 32 peer = ath11k_peer_find(ab, vdev_id, addr); in ath11k_dp_peer_cleanup() 34 ath11k_warn(ab, "failed to lookup peer %pM on vdev %d\n", in ath11k_dp_peer_cleanup() 36 spin_unlock_bh(&ab->base_lock); in ath11k_dp_peer_cleanup() 43 spin_unlock_bh(&ab->base_lock); in ath11k_dp_peer_cleanup() 48 struct ath11k_base *ab = ar->ab; in ath11k_dp_peer_setup() local 60 ath11k_warn(ab, "failed to set default routing %d peer :%pM vdev_id :%d\n", in ath11k_dp_peer_setup() 69 ath11k_warn(ab, "failed to setup rxd tid queue for tid %d: %d\n", in ath11k_dp_peer_setup() [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 | 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 | 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() 102 if (unlikely(test_bit(ATH11K_FLAG_CRASH_FLUSH, &ar->ab->dev_flags))) in ath11k_dp_tx() 111 ring_selector = ab->hw_params.hw_ops->get_ring_selector(skb); in ath11k_dp_tx() 116 ti.ring_id = ring_selector % ab->hw_params.max_tx_ring; in ath11k_dp_tx() 117 ti.rbm_id = ab->hw_params.hal_params->tcl2wbm_rbm_map[ti.ring_id].rbm_id; in ath11k_dp_tx() 129 if (ring_map == (BIT(ab->hw_params.max_tx_ring) - 1) || in ath11k_dp_tx() 130 !ab->hw_params.tcl_ring_retry) { 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 | 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 …]
|
| 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 | 45 struct ath11k_base *ab = ar->ab; in ath11k_dbring_bufs_replenish() local 53 srng = &ab->hal.srng_list[ring->refill_srng.ring_id]; in ath11k_dbring_bufs_replenish() 57 ath11k_hal_srng_access_begin(ab, srng); in ath11k_dbring_bufs_replenish() 62 paddr = dma_map_single(ab->dev, ptr_aligned, ring->buf_sz, in ath11k_dbring_bufs_replenish() 65 ret = dma_mapping_error(ab->dev, paddr); in ath11k_dbring_bufs_replenish() 77 desc = ath11k_hal_srng_src_get_next_entry(ab, srng); in ath11k_dbring_bufs_replenish() 91 ath11k_hal_srng_access_end(ab, srng); in ath11k_dbring_bufs_replenish() 100 dma_unmap_single(ab->dev, paddr, ring->buf_sz, in ath11k_dbring_bufs_replenish() 103 ath11k_hal_srng_access_end(ab, srng); in ath11k_dbring_bufs_replenish() 117 srng = &ar->ab->hal.srng_list[ring->refill_srng.ring_id]; in ath11k_dbring_fill_bufs() [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 …]
|
| /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 …]
|
| /linux/kernel/ |
| H A D | audit.c | 423 struct audit_buffer *ab; in audit_log_config_change() local 426 ab = audit_log_start(audit_context(), GFP_KERNEL, AUDIT_CONFIG_CHANGE); in audit_log_config_change() 427 if (unlikely(!ab)) in audit_log_config_change() 429 audit_log_format(ab, "op=set %s=%u old=%u ", function_name, new, old); in audit_log_config_change() 430 audit_log_session_info(ab); in audit_log_config_change() 431 rc = audit_log_task_context(ab); in audit_log_config_change() 434 audit_log_format(ab, " res=%d", allow_changes); in audit_log_config_change() 435 audit_log_end(ab); in audit_log_config_change() 1124 struct audit_buffer **ab, u16 msg_type) in audit_log_common_recv_msg() argument 1130 *ab = NULL; in audit_log_common_recv_msg() [all …]
|