/linux/drivers/usb/phy/ |
A D | phy-ab8500-usb.c | 182 ab->saved_v_ulpi = regulator_get_voltage(ab->v_ulpi); in ab8500_usb_regulator_enable() 225 ab->saved_v_ulpi, ab->saved_v_ulpi); in ab8500_usb_regulator_disable() 293 ab->pins_sleep = pinctrl_lookup_state(ab->pinctrl, in ab8500_usb_phy_disable() 298 else if (pinctrl_select_state(ab->pinctrl, ab->pins_sleep)) in ab8500_usb_phy_disable() 713 ab->v_ape = devm_regulator_get(ab->dev, "v-ape"); in ab8500_usb_regulator_get() 720 ab->v_ulpi = devm_regulator_get(ab->dev, "vddulpivio18"); in ab8500_usb_regulator_get() 727 ab->v_musb = devm_regulator_get(ab->dev, "musb_1v8"); in ab8500_usb_regulator_get() 884 ab = devm_kzalloc(&pdev->dev, sizeof(*ab), GFP_KERNEL); in ab8500_usb_probe() 885 if (!ab) in ab8500_usb_probe() 894 ab->phy.dev = ab->dev; in ab8500_usb_probe() [all …]
|
/linux/drivers/net/wireless/ath/ath11k/ |
A D | core.c | 609 ath11k_err(ab, in ath11k_core_fetch_board_data_api_n() 648 ab->bd_api = 2; in ath11k_core_fetch_bdf() 653 ab->bd_api = 1; in ath11k_core_fetch_bdf() 995 struct ath11k_base *ab = ar->ab; in ath11k_core_halt() local 1110 ath11k_info(ab, "%s\n", ab->hw_params.name); in ath11k_init_hw_params() 1160 kfree(ab); in ath11k_core_free() 1170 ab = kzalloc(sizeof(*ab) + priv_size, GFP_KERNEL); in ath11k_core_alloc() 1171 if (!ab) in ath11k_core_alloc() 1192 ab->dev = dev; in ath11k_core_alloc() 1196 return ab; in ath11k_core_alloc() [all …]
|
A D | pci.c | 135 struct ath11k_base *ab = ab_pci->ab; in ath11k_pci_select_window() local 477 struct ath11k_base *ab = ab_pci->ab; in ath11k_pci_get_user_msi_assignment() local 551 free_irq(ab->irq_num[irq_idx], &ab->ce.ce_pipe[i]); in ath11k_pci_free_irq() 687 struct ath11k_base *ab = irq_grp->ab; in ath11k_pci_ext_grp_napi_poll() local 735 irq_grp->ab = ab; in ath11k_pci_ext_irq_config() 885 struct ath11k_base *ab = ab_pci->ab; in ath11k_pci_alloc_msi() local 934 struct ath11k_base *ab = ab_pci->ab; in ath11k_pci_claim() local 997 struct ath11k_base *ab = ab_pci->ab; in ath11k_pci_free_region() local 1010 struct ath11k_base *ab = ab_pci->ab; in ath11k_pci_aspm_disable() local 1233 if (!ab) { in ath11k_pci_probe() [all …]
|
A D | ahb.c | 362 ath11k_ahb_power_up(ab); in ath11k_ahb_fwreset_from_cold_boot() 376 ab->qmi.service_ins_id = ab->hw_params.qmi_service_ins_id; in ath11k_ahb_init_qmi_ce_config() 400 free_irq(ab->irq_num[irq_idx], &ab->ce.ce_pipe[i]); in ath11k_ahb_free_irq() 434 struct ath11k_base *ab = irq_grp->ab; in ath11k_ahb_ext_grp_napi_poll() local 474 irq_grp->ab = ab; in ath11k_ahb_ext_irq_config() 655 struct ath11k_base *ab; in ath11k_ahb_probe() local 682 if (!ab) { in ath11k_ahb_probe() 688 ab->pdev = pdev; in ath11k_ahb_probe() 690 ab->mem = mem; in ath11k_ahb_probe() 739 ath11k_core_free(ab); in ath11k_ahb_probe() [all …]
|
A D | hal.h | 87 (HAL_TCL1_RING_MSI1_DATA(ab) - HAL_TCL1_RING_BASE_LSB(ab)) 89 (HAL_TCL1_RING_BASE_MSB(ab) - HAL_TCL1_RING_BASE_LSB(ab)) 91 (HAL_TCL1_RING_ID(ab) - HAL_TCL1_RING_BASE_LSB(ab)) 97 (HAL_TCL1_RING_TP_ADDR_LSB(ab) - HAL_TCL1_RING_BASE_LSB(ab)) 99 (HAL_TCL1_RING_TP_ADDR_MSB(ab) - HAL_TCL1_RING_BASE_LSB(ab)) 101 (HAL_TCL1_RING_MISC(ab) - HAL_TCL1_RING_BASE_LSB(ab)) 155 (HAL_REO1_RING_MSI1_DATA(ab) - HAL_REO1_RING_BASE_LSB(ab)) 157 (HAL_REO1_RING_BASE_MSB(ab) - HAL_REO1_RING_BASE_LSB(ab)) 158 #define HAL_REO1_RING_ID_OFFSET(ab) (HAL_REO1_RING_ID(ab) - HAL_REO1_RING_BASE_LSB(ab)) argument 166 (HAL_REO1_RING_MISC(ab) - HAL_REO1_RING_BASE_LSB(ab)) [all …]
|
A D | dp.c | 23 struct ath11k_base *ab = ar->ab; in ath11k_dp_peer_cleanup() local 28 spin_lock_bh(&ab->base_lock); in ath11k_dp_peer_cleanup() 44 struct ath11k_base *ab = ar->ab; in ath11k_dp_peer_setup() local 315 ath11k_dp_shadow_stop_timer(ab, &ab->dp.tx_ring_timer[i]); in ath11k_dp_stop_shadow_timers() 317 ath11k_dp_shadow_stop_timer(ab, &ab->dp.reo_cmd_timer); in ath11k_dp_stop_shadow_timers() 443 ab->hw_params.hw_ops->reo_setup(ab); in ath11k_dp_srng_common_setup() 846 ar = ab->pdevs[i].ar; in ath11k_dp_pdev_free() 861 ar = ab->pdevs[i].ar; in ath11k_dp_pdev_pre_alloc() 1022 dp->ab = ab; in ath11k_dp_alloc() 1086 struct ath11k_base *ab = update_timer->ab; in ath11k_dp_shadow_timer_handler() local [all …]
|
A D | ce.c | 260 ath11k_dp_shadow_stop_timer(ab, &ab->ce.hp_timer[i]); in ath11k_ce_stop_shadow_timers() 266 struct ath11k_base *ab = pipe->ab; in ath11k_ce_rx_buf_enqueue_pipe() local 314 struct ath11k_base *ab = pipe->ab; in ath11k_ce_rx_post_pipe() local 364 struct ath11k_base *ab = pipe->ab; in ath11k_ce_completed_recv_next() local 413 struct ath11k_base *ab = pipe->ab; in ath11k_ce_recv_process_cb() local 453 struct ath11k_base *ab = pipe->ab; in ath11k_ce_completed_send_next() local 494 struct ath11k_base *ab = pipe->ab; in ath11k_ce_send_done_cb() local 584 ath11k_dp_shadow_init_timer(ab, &ab->ce.hp_timer[ce_id], in ath11k_ce_init_ring() 779 struct ath11k_base *ab = pipe->ab; in ath11k_ce_rx_pipe_cleanup() local 963 ath11k_dp_shadow_stop_timer(ab, &ab->ce.hp_timer[i]); in ath11k_ce_free_pipes() [all …]
|
A D | hal.c | 304 ath11k_hif_write32(ab, reg_base + HAL_REO1_RING_ID_OFFSET(ab), val); in ath11k_hal_srng_dst_hw_init() 321 ath11k_hif_write32(ab, reg_base + HAL_REO1_RING_HP_ADDR_LSB_OFFSET(ab), in ath11k_hal_srng_dst_hw_init() 323 ath11k_hif_write32(ab, reg_base + HAL_REO1_RING_HP_ADDR_MSB_OFFSET(ab), in ath11k_hal_srng_dst_hw_init() 329 ath11k_hif_write32(ab, reg_base + HAL_REO1_RING_TP_OFFSET(ab), 0); in ath11k_hal_srng_dst_hw_init() 342 ath11k_hif_write32(ab, reg_base + HAL_REO1_RING_MISC_OFFSET(ab), val); in ath11k_hal_srng_dst_hw_init() 383 ath11k_hif_write32(ab, reg_base + HAL_TCL1_RING_ID_OFFSET(ab), val); in ath11k_hal_srng_src_hw_init() 451 ath11k_hif_write32(ab, reg_base + HAL_TCL1_RING_MISC_OFFSET(ab), val); in ath11k_hal_srng_src_hw_init() 1015 (HAL_REO1_RING_TP(ab) - HAL_REO1_RING_HP(ab))); in ath11k_hal_srng_setup() 1161 s->reg_size[1] = HAL_REO2_RING_HP(ab) - HAL_REO1_RING_HP(ab); in ath11k_hal_srng_create_config() 1309 ath11k_err(ab, in ath11k_hal_dump_srng_stats() [all …]
|
A D | peer.c | 15 lockdep_assert_held(&ab->base_lock); in ath11k_peer_find() 84 spin_lock_bh(&ab->base_lock); in ath11k_peer_find_by_vdev_id() 92 spin_unlock_bh(&ab->base_lock); in ath11k_peer_find_by_vdev_id() 100 spin_lock_bh(&ab->base_lock); in ath11k_peer_unmap_event() 114 wake_up(&ab->peer_mapping_wq); in ath11k_peer_unmap_event() 125 spin_lock_bh(&ab->base_lock); in ath11k_peer_map_event() 173 struct ath11k_base *ab = ar->ab; in ath11k_peer_cleanup() local 177 spin_lock_bh(&ab->base_lock); in ath11k_peer_cleanup() 230 ath11k_warn(ar->ab, in ath11k_peer_delete() 260 ath11k_warn(ar->ab, in ath11k_peer_create() [all …]
|
A D | qmi.c | 2531 struct ath11k_base *ab = qmi->ab; in ath11k_qmi_event_server_arrive() local 2552 struct ath11k_base *ab = qmi->ab; in ath11k_qmi_event_mem_request() local 2566 struct ath11k_base *ab = qmi->ab; in ath11k_qmi_event_load_bdf() local 2597 struct ath11k_base *ab = qmi->ab; in ath11k_qmi_msg_mem_request_cb() local 2642 struct ath11k_base *ab = qmi->ab; in ath11k_qmi_msg_mem_ready_cb() local 2654 struct ath11k_base *ab = qmi->ab; in ath11k_qmi_msg_fw_ready_cb() local 2667 struct ath11k_base *ab = qmi->ab; in ath11k_qmi_msg_cold_boot_cal_done_cb() local 2710 struct ath11k_base *ab = qmi->ab; in ath11k_qmi_ops_new_server() local 2735 struct ath11k_base *ab = qmi->ab; in ath11k_qmi_ops_del_server() local 2751 struct ath11k_base *ab = qmi->ab; in ath11k_qmi_driver_event_work() local [all …]
|
A D | dp_rx.c | 473 struct ath11k_base *ab = ar->ab; in ath11k_dp_rxdma_pdev_buf_free() local 509 struct ath11k_base *ab = ar->ab; in ath11k_dp_rxdma_pdev_buf_setup() local 531 struct ath11k_base *ab = ar->ab; in ath11k_dp_rx_pdev_srng_free() local 584 struct ath11k_base *ab = ar->ab; in ath11k_dp_rx_pdev_srng_alloc() local 761 struct ath11k_base *ab = dp->ab; in ath11k_dp_rx_tid_del_func() local 992 struct ath11k_base *ab = ar->ab; in ath11k_peer_rx_tid_setup() local 1089 struct ath11k_base *ab = ar->ab; in ath11k_dp_rx_ampdu_start() local 1106 struct ath11k_base *ab = ar->ab; in ath11k_dp_rx_ampdu_stop() local 1155 struct ath11k_base *ab = ar->ab; in ath11k_dp_peer_rx_pn_replay_config() local 1382 struct ath11k_base *ab = ar->ab; in ath11k_update_per_peer_tx_stats() local [all …]
|
A D | hif.h | 36 if (ab->hif.ops->ce_irq_enable) in ath11k_hif_ce_irq_enable() 37 ab->hif.ops->ce_irq_enable(ab); in ath11k_hif_ce_irq_enable() 42 if (ab->hif.ops->ce_irq_disable) in ath11k_hif_ce_irq_disable() 43 ab->hif.ops->ce_irq_disable(ab); in ath11k_hif_ce_irq_disable() 78 if (ab->hif.ops->suspend) in ath11k_hif_suspend() 79 return ab->hif.ops->suspend(ab); in ath11k_hif_suspend() 86 if (ab->hif.ops->resume) in ath11k_hif_resume() 87 return ab->hif.ops->resume(ab); in ath11k_hif_resume() 115 return ab->hif.ops->get_user_msi_vector(ab, user_name, num_vectors, in ath11k_get_user_msi_vector() 126 ab->hif.ops->get_msi_address(ab, msi_addr_lo, msi_addr_hi); in ath11k_get_msi_address() [all …]
|
A D | htc.c | 81 struct ath11k_base *ab = htc->ab; in ath11k_htc_send() local 96 ath11k_dbg(ab, ATH11K_DBG_HTC, in ath11k_htc_send() 104 ath11k_dbg(ab, ATH11K_DBG_HTC, in ath11k_htc_send() 132 ath11k_dbg(ab, ATH11K_DBG_HTC, in ath11k_htc_send() 151 struct ath11k_base *ab = htc->ab; in ath11k_htc_process_credit_report() local 185 struct ath11k_base *ab = htc->ab; in ath11k_htc_process_trailer() local 245 complete(&ab->htc_suspend); in ath11k_htc_suspend_complete() 483 struct ath11k_base *ab = htc->ab; in ath11k_htc_wait_target() local 556 struct ath11k_base *ab = htc->ab; in ath11k_htc_connect_service() local 721 struct ath11k_base *ab = htc->ab; in ath11k_htc_start() local [all …]
|
A D | dp_tx.c | 17 struct ath11k_base *ab = arvif->ar->ab; in ath11k_dp_tx_get_encap_type() local 83 struct ath11k_base *ab = ar->ab; in ath11k_dp_tx() local 84 struct ath11k_dp *dp = &ab->dp; in ath11k_dp_tx() 313 ar = ab->pdevs[mac_id].ar; in ath11k_dp_tx_free_txbuf() 425 struct ath11k_base *ab = ar->ab; in ath11k_dp_tx_complete_msdu() local 602 ar = ab->pdevs[mac_id].ar; in ath11k_dp_tx_completion_handler() 830 ret = ath11k_htc_send(&ab->htc, ab->dp.eid, skb); in ath11k_dp_tx_htt_srng_setup() 887 struct ath11k_base *ab = ar->ab; in ath11k_dp_tx_htt_h2t_ppdu_stats_req() local 975 ret = ath11k_htc_send(&ab->htc, ab->dp.eid, skb); in ath11k_dp_tx_htt_rx_filter_setup() 992 struct ath11k_base *ab = ar->ab; in ath11k_dp_tx_htt_h2t_ext_stats_req() local [all …]
|
A D | mhi.c | 239 ath11k_mhi_reset_txvecdb(ab); in ath11k_mhi_clear_vector() 241 ath11k_mhi_reset_rxvecdb(ab); in ath11k_mhi_clear_vector() 247 struct ath11k_base *ab = ab_pci->ab; in ath11k_mhi_get_msi() local 316 struct ath11k_base *ab = ab_pci->ab; in ath11k_mhi_register() local 330 mhi_ctrl->cntrl_dev = ab->dev; in ath11k_mhi_register() 332 mhi_ctrl->regs = ab->mem; in ath11k_mhi_register() 353 switch (ab->hw_rev) { in ath11k_mhi_register() 363 ab->hw_rev); in ath11k_mhi_register() 416 struct ath11k_base *ab = ab_pci->ab; in ath11k_mhi_set_state_bit() local 454 struct ath11k_base *ab = ab_pci->ab; in ath11k_mhi_check_state_bit() local [all …]
|
A D | wow.c | 15 int ath11k_wow_enable(struct ath11k_base *ab) in ath11k_wow_enable() argument 17 struct ath11k *ar = ath11k_ab_to_ar(ab, 0); in ath11k_wow_enable() 20 clear_bit(ATH11K_FLAG_HTC_SUSPEND_COMPLETE, &ab->dev_flags); in ath11k_wow_enable() 23 reinit_completion(&ab->htc_suspend); in ath11k_wow_enable() 27 ath11k_warn(ab, "failed to issue wow enable: %d\n", ret); in ath11k_wow_enable() 31 ret = wait_for_completion_timeout(&ab->htc_suspend, 3 * HZ); in ath11k_wow_enable() 33 ath11k_warn(ab, in ath11k_wow_enable() 52 int ath11k_wow_wakeup(struct ath11k_base *ab) in ath11k_wow_wakeup() argument 54 struct ath11k *ar = ath11k_ab_to_ar(ab, 0); in ath11k_wow_wakeup() 57 reinit_completion(&ab->wow.wakeup_completed); in ath11k_wow_wakeup() [all …]
|
A D | wmi.c | 239 struct ath11k_base *ab = wmi->wmi_ab->ab; in ath11k_wmi_cmd_send_nowait() local 561 struct ath11k_base *ab = wmi_sc->ab; in ath11k_wmi_alloc_skb() local 2883 struct ath11k_base *ab = wmi->wmi_ab->ab; in ath11k_wmi_send_twt_enable_cmd() local 2934 struct ath11k_base *ab = wmi->wmi_ab->ab; in ath11k_wmi_send_twt_disable_cmd() local 2964 struct ath11k_base *ab = wmi->wmi_ab->ab; in ath11k_wmi_send_obss_spr_cmd() local 2998 struct ath11k_base *ab = wmi->wmi_ab->ab; in ath11k_wmi_pdev_set_srg_bss_color_bitmap() local 3035 struct ath11k_base *ab = wmi->wmi_ab->ab; in ath11k_wmi_pdev_set_srg_patial_bssid_bitmap() local 3073 struct ath11k_base *ab = wmi->wmi_ab->ab; in ath11k_wmi_pdev_srg_obss_color_enable_bitmap() local 3111 struct ath11k_base *ab = wmi->wmi_ab->ab; in ath11k_wmi_pdev_srg_obss_bssid_enable_bitmap() local 7335 ab->wmi_ab.ab = ab; in ath11k_wmi_pdev_attach() [all …]
|
A D | dbring.c | 13 struct ath11k_base *ab = ar->ab; in ath11k_dbring_bufs_replenish() local 25 ath11k_hal_srng_access_begin(ab, srng); in ath11k_dbring_bufs_replenish() 32 ret = dma_mapping_error(ab->dev, paddr); in ath11k_dbring_bufs_replenish() 57 ath11k_hal_srng_access_end(ab, srng); in ath11k_dbring_bufs_replenish() 69 ath11k_hal_srng_access_end(ab, srng); in ath11k_dbring_bufs_replenish() 163 struct ath11k_base *ab = ar->ab; in ath11k_dbring_buf_setup() local 208 if (!ab->num_db_cap || !ab->db_caps) in ath11k_dbring_get_cap() 216 id == ab->db_caps[i].id) { in ath11k_dbring_get_cap() 217 *db_cap = ab->db_caps[i]; in ath11k_dbring_get_cap() 246 if (pdev_idx >= ab->num_radios) { in ath11k_dbring_buffer_release_event() [all …]
|
/linux/include/linux/mfd/abx500/ |
A D | ab8500.h | 414 return (is_ab8500(ab) && (ab->chip_id <= AB8500_CUT1P0)); in is_ab8500_1p0_or_earlier() 420 return (is_ab8500(ab) && (ab->chip_id <= AB8500_CUT1P1)); in is_ab8500_1p1_or_earlier() 426 return (is_ab8500(ab) && (ab->chip_id <= AB8500_CUT2P0)); in is_ab8500_2p0_or_earlier() 431 return (is_ab8500(ab) && (ab->chip_id <= AB8500_CUT3P3)); in is_ab8500_3p3_or_earlier() 471 return is_ab8540(ab) && (ab->chip_id <= AB8500_CUT1P0); in is_ab8540_1p0_or_earlier() 476 return is_ab8540(ab) && (ab->chip_id <= AB8500_CUT1P1); in is_ab8540_1p1_or_earlier() 481 return is_ab8540(ab) && (ab->chip_id <= AB8500_CUT1P2); in is_ab8540_1p2_or_earlier() 486 return is_ab8540(ab) && (ab->chip_id <= AB8500_CUT2P0); in is_ab8540_2p0_or_earlier() 491 return is_ab8540(ab) && (ab->chip_id == AB8500_CUT2P0); in is_ab8540_2p0() 496 return (is_ab8505(ab) && (ab->chip_id < AB8500_CUT2P0)); in is_ab8505_2p0_earlier() [all …]
|
/linux/security/ |
A D | lsm_audit.c | 239 audit_log_format(ab, " dev="); in dump_common_audit_data() 252 audit_log_format(ab, " dev="); in dump_common_audit_data() 265 audit_log_format(ab, " dev="); in dump_common_audit_data() 276 audit_log_format(ab, " name="); in dump_common_audit_data() 302 audit_log_format(ab, " dev="); in dump_common_audit_data() 452 struct audit_buffer *ab; in common_lsm_audit() local 460 if (ab == NULL) in common_lsm_audit() 464 pre_audit(ab, a); in common_lsm_audit() 466 dump_common_audit_data(ab, a); in common_lsm_audit() 469 post_audit(ab, a); in common_lsm_audit() [all …]
|
/linux/drivers/md/ |
A D | dm-audit.c | 23 struct audit_buffer *ab; in dm_audit_log_start() local 29 if (unlikely(!ab)) 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 47 if (unlikely(!ab)) in dm_audit_log_ti() 49 audit_log_task_info(ab); in dm_audit_log_ti() 55 if (unlikely(!ab)) in dm_audit_log_ti() 65 audit_log_end(ab); in dm_audit_log_ti() 72 struct audit_buffer *ab; in dm_audit_log_bio() local 77 if (unlikely(!ab)) in dm_audit_log_bio() [all …]
|
/linux/kernel/ |
A D | audit.c | 1105 if (!ab) in audit_log_feature_change() 1557 if (!ab) in audit_log_multicast() 1728 if (!ab) in audit_buffer_free() 1741 if (!ab) in audit_buffer_alloc() 1913 if (!ab) in audit_log_vformat() 1956 if (!ab) in audit_log_format() 1981 if (!ab) in audit_log_n_hex() 2014 if (!ab) in audit_log_n_string() 2197 if (!ab) in audit_log_task_info() 2241 if (!ab) in audit_log_path_denied() [all …]
|
/linux/drivers/md/persistent-data/ |
A D | dm-array.c | 251 struct array_block **ab) in lookup_ablock() argument 325 struct array_block **ab) in shadow_ablock() argument 354 struct array_block *ab; in insert_new_ablock() local 466 struct array_block *ab; in shrink() local 505 struct array_block *ab; in grow_extend_tail_block() local 589 struct array_block *ab; in __block_dec() local 730 struct array_block *ab; in dm_array_new() local 777 struct array_block *ab; in dm_array_get_value() local 805 struct array_block *ab; in array_set_value() local 868 struct array_block *ab; in walk_ablock() local [all …]
|
/linux/arch/x86/crypto/ |
A D | twofish-x86_64-asm_64-3way.S | 78 movzbl ab ## bl, tmp2 ## d; \ 79 movzbl ab ## bh, tmp1 ## d; \ 80 rorq $(rot), ab; \ 86 movq ab, cd; \ 87 movq tmp, ab; 121 xorl ab ## d, x ## d; \ 123 shrq $32, ab; \ 124 roll $1, ab ## d; \ 125 xorl y ## d, ab ## d; \ 126 shlq $32, ab; \ [all …]
|
/linux/arch/arc/lib/ |
A D | memcpy-archs.S | 51 ldb.ab r5, [r1,1] 53 stb.ab r5, [r3,1] 79 ldb.ab r5, [r1,1] 80 stb.ab r5, [r3,1] 108 ld.ab r6, [r1, 4] 109 ld.ab r8, [r1,4] 119 st.ab r7, [r3, 4] 120 st.ab r9, [r3, 4] 133 ldb.ab r6, [r1,1] 152 ld.ab r8, [r1,4] [all …]
|