Searched refs:ab (Results 1 - 25 of 180) sorted by relevance

12345678

/linux-master/drivers/net/wireless/ath/ath11k/
H A Dhif.h13 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);
36 ath11k_hif_ce_irq_enable(struct ath11k_base *ab) argument
42 ath11k_hif_ce_irq_disable(struct ath11k_base *ab) argument
48 ath11k_hif_start(struct ath11k_base *ab) argument
53 ath11k_hif_stop(struct ath11k_base *ab) argument
58 ath11k_hif_irq_enable(struct ath11k_base *ab) argument
63 ath11k_hif_irq_disable(struct ath11k_base *ab) argument
68 ath11k_hif_power_up(struct ath11k_base *ab) argument
73 ath11k_hif_power_down(struct ath11k_base *ab) argument
78 ath11k_hif_suspend(struct ath11k_base *ab) argument
86 ath11k_hif_resume(struct ath11k_base *ab) argument
94 ath11k_hif_read32(struct ath11k_base *ab, u32 address) argument
99 ath11k_hif_write32(struct ath11k_base *ab, u32 address, u32 data) argument
104 ath11k_hif_read(struct ath11k_base *ab, void *buf, u32 start, u32 end) argument
113 ath11k_hif_map_service_to_pipe(struct ath11k_base *ab, u16 service_id, u8 *ul_pipe, u8 *dl_pipe) argument
119 ath11k_get_user_msi_vector(struct ath11k_base *ab, char *user_name, int *num_vectors, u32 *user_base_data, u32 *base_vector) argument
131 ath11k_get_msi_address(struct ath11k_base *ab, u32 *msi_addr_lo, u32 *msi_addr_hi) argument
140 ath11k_get_ce_msi_idx(struct ath11k_base *ab, u32 ce_id, u32 *msi_data_idx) argument
[all...]
H A Dpcic.h29 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 Dpeer.c11 static struct ath11k_peer *ath11k_peer_find_list_by_id(struct ath11k_base *ab, argument
16 lockdep_assert_held(&ab->base_lock);
18 list_for_each_entry(peer, &ab->peers, list) {
28 struct ath11k_peer *ath11k_peer_find(struct ath11k_base *ab, int vdev_id, argument
33 lockdep_assert_held(&ab->base_lock);
35 list_for_each_entry(peer, &ab->peers, list) {
47 struct ath11k_peer *ath11k_peer_find_by_addr(struct ath11k_base *ab, argument
52 lockdep_assert_held(&ab->base_lock);
54 if (!ab->rhead_peer_addr)
57 peer = rhashtable_lookup_fast(ab
63 ath11k_peer_find_by_id(struct ath11k_base *ab, int peer_id) argument
79 ath11k_peer_find_by_vdev_id(struct ath11k_base *ab, int vdev_id) argument
96 ath11k_peer_unmap_event(struct ath11k_base *ab, u16 peer_id) argument
120 ath11k_peer_map_event(struct ath11k_base *ab, u8 vdev_id, u16 peer_id, u8 *mac_addr, u16 ast_hash, u16 hw_peer_id) argument
148 ath11k_wait_for_peer_common(struct ath11k_base *ab, int vdev_id, const u8 *addr, bool expect_mapped) argument
170 ath11k_peer_rhash_insert(struct ath11k_base *ab, struct rhashtable *rtbl, struct rhash_head *rhead, struct rhashtable_params *params, void *key) argument
190 ath11k_peer_rhash_remove(struct ath11k_base *ab, struct rhashtable *rtbl, struct rhash_head *rhead, struct rhashtable_params *params) argument
206 ath11k_peer_rhash_add(struct ath11k_base *ab, struct ath11k_peer *peer) argument
243 struct ath11k_base *ab = ar->ab; local
297 struct ath11k_base *ab = ar->ab; local
474 ath11k_peer_rhash_delete(struct ath11k_base *ab, struct ath11k_peer *peer) argument
503 ath11k_peer_rhash_id_tbl_init(struct ath11k_base *ab) argument
558 ath11k_peer_rhash_addr_tbl_init(struct ath11k_base *ab) argument
613 ath11k_peer_rhash_id_tbl_destroy(struct ath11k_base *ab) argument
625 ath11k_peer_rhash_addr_tbl_destroy(struct ath11k_base *ab) argument
637 ath11k_peer_rhash_tbl_init(struct ath11k_base *ab) argument
662 ath11k_peer_rhash_tbl_destroy(struct ath11k_base *ab) argument
[all...]
H A Dpci.c43 static int ath11k_pci_bus_wake_up(struct ath11k_base *ab) argument
45 struct ath11k_pci *ab_pci = ath11k_pci_priv(ab);
50 static void ath11k_pci_bus_release(struct ath11k_base *ab) argument
52 struct ath11k_pci *ab_pci = ath11k_pci_priv(ab);
57 static u32 ath11k_pci_get_window_start(struct ath11k_base *ab, u32 offset) argument
59 if (!ab->hw_params.static_window_map)
65 else if ((offset ^ HAL_SEQ_WCSS_UMAC_CE0_SRC_REG(ab)) <
75 struct ath11k_base *ab = ab_pci->ab; local
83 ab
90 ath11k_pci_window_write32(struct ath11k_base *ab, u32 offset, u32 value) argument
109 ath11k_pci_window_read32(struct ath11k_base *ab, u32 offset) argument
130 ath11k_pci_get_msi_irq(struct ath11k_base *ab, unsigned int vector) argument
178 ath11k_pci_soc_global_reset(struct ath11k_base *ab) argument
204 ath11k_pci_clear_dbg_registers(struct ath11k_base *ab) argument
234 ath11k_pci_set_link_reg(struct ath11k_base *ab, u32 offset, u32 value, u32 mask) argument
260 ath11k_pci_fix_l1ss(struct ath11k_base *ab) argument
303 ath11k_pci_enable_ltssm(struct ath11k_base *ab) argument
331 ath11k_pci_clear_all_intrs(struct ath11k_base *ab) argument
341 ath11k_pci_set_wlaon_pwr_ctrl(struct ath11k_base *ab) argument
350 ath11k_pci_force_wake(struct ath11k_base *ab) argument
356 ath11k_pci_sw_reset(struct ath11k_base *ab, bool power_on) argument
374 ath11k_pci_init_qmi_ce_config(struct ath11k_base *ab) argument
416 struct ath11k_base *ab = ab_pci->ab; local
502 struct ath11k_base *ab = ab_pci->ab; local
575 struct ath11k_base *ab = ab_pci->ab; local
587 struct ath11k_base *ab = ab_pci->ab; local
613 ath11k_pci_power_up(struct ath11k_base *ab) argument
641 ath11k_pci_power_down(struct ath11k_base *ab) argument
657 ath11k_pci_hif_suspend(struct ath11k_base *ab) argument
664 ath11k_pci_hif_resume(struct ath11k_base *ab) argument
671 ath11k_pci_hif_ce_irq_enable(struct ath11k_base *ab) argument
676 ath11k_pci_hif_ce_irq_disable(struct ath11k_base *ab) argument
681 ath11k_pci_start(struct ath11k_base *ab) argument
718 ath11k_pci_read_hw_version(struct ath11k_base *ab, u32 *major, u32 *minor) argument
744 struct ath11k_base *ab; local
967 struct ath11k_base *ab = pci_get_drvdata(pdev); local
997 struct ath11k_base *ab = pci_get_drvdata(pdev); local
1006 struct ath11k_base *ab = dev_get_drvdata(dev); local
1023 struct ath11k_base *ab = dev_get_drvdata(dev); local
[all...]
H A Dfw.c10 static int ath11k_fw_request_firmware_api_n(struct ath11k_base *ab, argument
19 ab->fw.fw = ath11k_core_firmware_request(ab, name);
20 if (IS_ERR(ab->fw.fw)) {
21 ret = PTR_ERR(ab->fw.fw);
22 ath11k_dbg(ab, ATH11K_DBG_BOOT, "failed to load %s: %d\n", name, ret);
23 ab->fw.fw = NULL;
27 data = ab->fw.fw->data;
28 len = ab->fw.fw->size;
34 ath11k_err(ab, "firmwar
146 ath11k_fw_pre_init(struct ath11k_base *ab) argument
165 ath11k_fw_destroy(struct ath11k_base *ab) argument
[all...]
H A Dcore.c802 static inline struct ath11k_pdev *ath11k_core_get_single_pdev(struct ath11k_base *ab) argument
804 WARN_ON(!ab->hw_params.single_pdev_only);
806 return &ab->pdevs[0];
855 bool ath11k_core_coldboot_cal_support(struct ath11k_base *ab) argument
861 return ab->hw_params.coldboot_cal_ftm;
864 return ab->hw_params.coldboot_cal_mm;
867 int ath11k_core_suspend(struct ath11k_base *ab) argument
873 if (!ab->hw_params.supports_suspend)
879 pdev = ath11k_core_get_single_pdev(ab);
884 ret = ath11k_dp_rx_pktlog_stop(ab, tru
926 ath11k_core_resume(struct ath11k_base *ab) argument
971 struct ath11k_base *ab = data; local
1049 ath11k_core_check_smbios(struct ath11k_base *ab) argument
1060 ath11k_core_check_dt(struct ath11k_base *ab) argument
1089 __ath11k_core_create_board_name(struct ath11k_base *ab, char *name, size_t name_len, bool with_variant, enum ath11k_bdf_name_type name_type) argument
1141 ath11k_core_create_board_name(struct ath11k_base *ab, char *name, size_t name_len) argument
1148 ath11k_core_create_fallback_board_name(struct ath11k_base *ab, char *name, size_t name_len) argument
1155 ath11k_core_create_bus_type_board_name(struct ath11k_base *ab, char *name, size_t name_len) argument
1162 ath11k_core_create_chip_id_board_name(struct ath11k_base *ab, char *name, size_t name_len) argument
1169 ath11k_core_firmware_request(struct ath11k_base *ab, const char *file) argument
1191 ath11k_core_free_bdf(struct ath11k_base *ab, struct ath11k_board_data *bd) argument
1199 ath11k_core_parse_bd_ie_board(struct ath11k_base *ab, struct ath11k_board_data *bd, const void *buf, size_t buf_len, const char *boardname, int ie_id, int name_id, int data_id) argument
1284 ath11k_core_fetch_board_data_api_n(struct ath11k_base *ab, struct ath11k_board_data *bd, const char *boardname, int ie_id_match, int name_id, int data_id) argument
1395 ath11k_core_fetch_board_data_api_1(struct ath11k_base *ab, struct ath11k_board_data *bd, const char *name) argument
1411 ath11k_core_fetch_bdf(struct ath11k_base *ab, struct ath11k_board_data *bd) argument
1509 ath11k_core_fetch_regdb(struct ath11k_base *ab, struct ath11k_board_data *bd) argument
1555 ath11k_core_stop(struct ath11k_base *ab) argument
1567 ath11k_core_soc_create(struct ath11k_base *ab) argument
1603 ath11k_core_soc_destroy(struct ath11k_base *ab) argument
1611 ath11k_core_pdev_create(struct ath11k_base *ab) argument
1660 ath11k_core_pdev_destroy(struct ath11k_base *ab) argument
1670 ath11k_core_start(struct ath11k_base *ab) argument
1781 ath11k_core_start_firmware(struct ath11k_base *ab, enum ath11k_firmware_mode mode) argument
1798 ath11k_core_qmi_firmware_ready(struct ath11k_base *ab) argument
1866 ath11k_core_reconfigure_on_crash(struct ath11k_base *ab) argument
1905 struct ath11k_base *ab = ar->ab; local
1926 struct ath11k_base *ab = container_of(work, struct ath11k_base, update_11d_work); local
1953 ath11k_core_pre_reconfigure_recovery(struct ath11k_base *ab) argument
2002 ath11k_core_post_reconfigure_recovery(struct ath11k_base *ab) argument
2049 struct ath11k_base *ab = container_of(work, struct ath11k_base, restart_work); local
2067 struct ath11k_base *ab = container_of(work, struct ath11k_base, reset_work); local
2138 ath11k_init_hw_params(struct ath11k_base *ab) argument
2162 ath11k_core_pre_init(struct ath11k_base *ab) argument
2182 ath11k_core_init(struct ath11k_base *ab) argument
2196 ath11k_core_deinit(struct ath11k_base *ab) argument
2212 ath11k_core_free(struct ath11k_base *ab) argument
2224 struct ath11k_base *ab; local
[all...]
H A Ddp.c16 static void ath11k_dp_htt_htc_tx_complete(struct ath11k_base *ab, argument
24 struct ath11k_base *ab = ar->ab; local
29 spin_lock_bh(&ab->base_lock);
30 peer = ath11k_peer_find(ab, vdev_id, addr);
32 ath11k_warn(ab, "failed to lookup peer %pM on vdev %d\n",
34 spin_unlock_bh(&ab->base_lock);
41 spin_unlock_bh(&ab->base_lock);
46 struct ath11k_base *ab = ar->ab; local
102 ath11k_dp_srng_cleanup(struct ath11k_base *ab, struct dp_srng *ring) argument
133 ath11k_dp_srng_calculate_msi_group(struct ath11k_base *ab, enum hal_ring_type type, int ring_num) argument
184 ath11k_dp_srng_msi_setup(struct ath11k_base *ab, struct hal_srng_params *ring_params, enum hal_ring_type type, int ring_num) argument
224 ath11k_dp_srng_setup(struct ath11k_base *ab, struct dp_srng *ring, enum hal_ring_type type, int ring_num, int mac_id, int num_entries) argument
351 ath11k_dp_stop_shadow_timers(struct ath11k_base *ab) argument
364 ath11k_dp_srng_common_cleanup(struct ath11k_base *ab) argument
384 ath11k_dp_srng_common_setup(struct ath11k_base *ab) argument
501 ath11k_dp_scatter_idle_link_desc_cleanup(struct ath11k_base *ab) argument
517 ath11k_dp_scatter_idle_link_desc_setup(struct ath11k_base *ab, int size, u32 n_link_desc_bank, u32 n_link_desc, u32 last_bank_sz) argument
593 ath11k_dp_link_desc_bank_free(struct ath11k_base *ab, struct dp_link_desc_bank *link_desc_banks) argument
609 ath11k_dp_link_desc_bank_alloc(struct ath11k_base *ab, struct dp_link_desc_bank *desc_bank, int n_link_desc_bank, int last_bank_sz) argument
648 ath11k_dp_link_desc_cleanup(struct ath11k_base *ab, struct dp_link_desc_bank *desc_bank, u32 ring_type, struct dp_srng *ring) argument
660 ath11k_wbm_idle_ring_setup(struct ath11k_base *ab, u32 *n_link_desc) argument
696 ath11k_dp_link_desc_setup(struct ath11k_base *ab, struct dp_link_desc_bank *link_desc_banks, u32 ring_type, struct hal_srng *srng, u32 n_link_desc) argument
785 ath11k_dp_service_srng(struct ath11k_base *ab, struct ath11k_ext_irq_grp *irq_grp, int budget) argument
886 ath11k_dp_pdev_free(struct ath11k_base *ab) argument
901 ath11k_dp_pdev_pre_alloc(struct ath11k_base *ab) argument
925 ath11k_dp_pdev_alloc(struct ath11k_base *ab) argument
1026 struct ath11k_base *ab = ctx; local
1037 ath11k_dp_free(struct ath11k_base *ab) argument
1061 ath11k_dp_alloc(struct ath11k_base *ab) argument
1135 struct ath11k_base *ab = update_timer->ab; local
1157 ath11k_dp_shadow_start_timer(struct ath11k_base *ab, struct hal_srng *srng, struct ath11k_hp_update_timer *update_timer) argument
1177 ath11k_dp_shadow_stop_timer(struct ath11k_base *ab, struct ath11k_hp_update_timer *update_timer) argument
1189 ath11k_dp_shadow_init_timer(struct ath11k_base *ab, struct ath11k_hp_update_timer *update_timer, u32 interval, u32 ring_id) argument
[all...]
H A Dahb.c145 ath11k_ahb_get_msi_irq_wcn6750(struct ath11k_base *ab, unsigned int vector) argument
147 return ab->pci.msi.irqs[vector];
151 ath11k_ahb_get_window_start_wcn6750(struct ath11k_base *ab, u32 offset) argument
159 else if ((offset ^ HAL_SEQ_WCSS_UMAC_CE0_SRC_REG(ab)) <
167 ath11k_ahb_window_write32_wcn6750(struct ath11k_base *ab, u32 offset, u32 value) argument
172 window_start = ath11k_ahb_get_window_start_wcn6750(ab, offset);
174 iowrite32(value, ab->mem + window_start +
178 static u32 ath11k_ahb_window_read32_wcn6750(struct ath11k_base *ab, u32 offset) argument
184 window_start = ath11k_ahb_get_window_start_wcn6750(ab, offset);
186 val = ioread32(ab
199 ath11k_ahb_read32(struct ath11k_base *ab, u32 offset) argument
204 ath11k_ahb_write32(struct ath11k_base *ab, u32 offset, u32 value) argument
209 ath11k_ahb_kill_tasklets(struct ath11k_base *ab) argument
231 __ath11k_ahb_ext_irq_disable(struct ath11k_base *ab) argument
256 ath11k_ahb_setbit32(struct ath11k_base *ab, u8 bit, u32 offset) argument
264 ath11k_ahb_clearbit32(struct ath11k_base *ab, u8 bit, u32 offset) argument
272 ath11k_ahb_ce_irq_enable(struct ath11k_base *ab, u16 ce_id) argument
293 ath11k_ahb_ce_irq_disable(struct ath11k_base *ab, u16 ce_id) argument
314 ath11k_ahb_sync_ce_irqs(struct ath11k_base *ab) argument
328 ath11k_ahb_sync_ext_irqs(struct ath11k_base *ab) argument
343 ath11k_ahb_ce_irqs_enable(struct ath11k_base *ab) argument
354 ath11k_ahb_ce_irqs_disable(struct ath11k_base *ab) argument
365 ath11k_ahb_start(struct ath11k_base *ab) argument
373 ath11k_ahb_ext_irq_enable(struct ath11k_base *ab) argument
388 ath11k_ahb_ext_irq_disable(struct ath11k_base *ab) argument
394 ath11k_ahb_stop(struct ath11k_base *ab) argument
404 ath11k_ahb_power_up(struct ath11k_base *ab) argument
416 ath11k_ahb_power_down(struct ath11k_base *ab) argument
423 ath11k_ahb_init_qmi_ce_config(struct ath11k_base *ab) argument
434 ath11k_ahb_free_ext_irq(struct ath11k_base *ab) argument
448 ath11k_ahb_free_irq(struct ath11k_base *ab) argument
494 struct ath11k_base *ab = irq_grp->ab; local
523 ath11k_ahb_config_ext_irq(struct ath11k_base *ab) argument
605 ath11k_ahb_config_irq(struct ath11k_base *ab) argument
639 ath11k_ahb_map_service_to_pipe(struct ath11k_base *ab, u16 service_id, u8 *ul_pipe, u8 *dl_pipe) argument
682 ath11k_ahb_hif_suspend(struct ath11k_base *ab) argument
717 ath11k_ahb_hif_resume(struct ath11k_base *ab) argument
792 ath11k_core_get_rproc(struct ath11k_base *ab) argument
814 ath11k_ahb_setup_msi_resources(struct ath11k_base *ab) argument
864 ath11k_ahb_setup_smp2p_handle(struct ath11k_base *ab) argument
882 ath11k_ahb_release_smp2p_handle(struct ath11k_base *ab) argument
892 ath11k_ahb_setup_resources(struct ath11k_base *ab) argument
913 ath11k_ahb_setup_msa_resources(struct ath11k_base *ab) argument
952 ath11k_ahb_fw_resources_init(struct ath11k_base *ab) argument
1050 ath11k_ahb_fw_resource_deinit(struct ath11k_base *ab) argument
1087 struct ath11k_base *ab; local
1221 ath11k_ahb_remove_prepare(struct ath11k_base *ab) argument
1237 ath11k_ahb_free_resources(struct ath11k_base *ab) argument
1256 struct ath11k_base *ab = platform_get_drvdata(pdev); local
1274 struct ath11k_base *ab = platform_get_drvdata(pdev); local
[all...]
H A Dfw.h24 int ath11k_fw_pre_init(struct ath11k_base *ab);
25 void ath11k_fw_destroy(struct ath11k_base *ab);
H A Dpcic.c131 int ath11k_pcic_init_msi_config(struct ath11k_base *ab) argument
139 if (msi_config->hw_rev == ab->hw_rev)
144 ath11k_err(ab, "failed to fetch msi config, unsupported hw version: 0x%x\n",
145 ab->hw_rev);
149 ab->pci.msi.config = msi_config;
154 static void __ath11k_pcic_write32(struct ath11k_base *ab, u32 offset, u32 value) argument
157 iowrite32(value, ab->mem + offset);
159 ab->pci.ops->window_write32(ab, offset, value);
162 void ath11k_pcic_write32(struct ath11k_base *ab, u3 argument
182 __ath11k_pcic_read32(struct ath11k_base *ab, u32 offset) argument
194 ath11k_pcic_read32(struct ath11k_base *ab, u32 offset) argument
217 ath11k_pcic_read(struct ath11k_base *ab, void *buf, u32 start, u32 end) argument
255 ath11k_pcic_get_msi_address(struct ath11k_base *ab, u32 *msi_addr_lo, u32 *msi_addr_hi) argument
263 ath11k_pcic_get_user_msi_assignment(struct ath11k_base *ab, char *user_name, int *num_vectors, u32 *user_base_data, u32 *base_vector) argument
291 ath11k_pcic_get_ce_msi_idx(struct ath11k_base *ab, u32 ce_id, u32 *msi_idx) argument
308 ath11k_pcic_free_ext_irq(struct ath11k_base *ab) argument
322 ath11k_pcic_free_irq(struct ath11k_base *ab) argument
337 ath11k_pcic_ce_irq_enable(struct ath11k_base *ab, u16 ce_id) argument
351 ath11k_pcic_ce_irq_disable(struct ath11k_base *ab, u16 ce_id) argument
365 ath11k_pcic_ce_irqs_disable(struct ath11k_base *ab) argument
378 ath11k_pcic_sync_ce_irqs(struct ath11k_base *ab) argument
405 struct ath11k_base *ab = ce_pipe->ab; local
423 struct ath11k_base *ab = irq_grp->ab; local
436 __ath11k_pcic_ext_irq_disable(struct ath11k_base *ab) argument
457 struct ath11k_base *ab = irq_grp->ab; local
470 ath11k_pcic_ext_irq_enable(struct ath11k_base *ab) argument
488 ath11k_pcic_sync_ext_irqs(struct ath11k_base *ab) argument
502 ath11k_pcic_ext_irq_disable(struct ath11k_base *ab) argument
514 struct ath11k_base *ab = irq_grp->ab; local
534 struct ath11k_base *ab = irq_grp->ab; local
554 ath11k_pcic_get_msi_irq(struct ath11k_base *ab, unsigned int vector) argument
559 ath11k_pcic_ext_irq_config(struct ath11k_base *ab) argument
627 ath11k_pcic_config_irq(struct ath11k_base *ab) argument
684 ath11k_pcic_ce_irqs_enable(struct ath11k_base *ab) argument
698 ath11k_pcic_kill_tasklets(struct ath11k_base *ab) argument
712 ath11k_pcic_ce_irq_disable_sync(struct ath11k_base *ab) argument
720 ath11k_pcic_stop(struct ath11k_base *ab) argument
727 ath11k_pcic_start(struct ath11k_base *ab) argument
738 ath11k_pcic_map_service_to_pipe(struct ath11k_base *ab, u16 service_id, u8 *ul_pipe, u8 *dl_pipe) argument
782 ath11k_pcic_register_pci_ops(struct ath11k_base *ab, const struct ath11k_pci_ops *pci_ops) argument
798 ath11k_pci_enable_ce_irqs_except_wake_irq(struct ath11k_base *ab) argument
811 ath11k_pci_disable_ce_irqs_except_wake_irq(struct ath11k_base *ab) argument
[all...]
H A Dhal.h35 #define HAL_SHADOW_BASE_ADDR(ab) ab->hw_params.regs->hal_shadow_base_addr
40 #define HAL_SHADOW_REG(ab, x) (HAL_SHADOW_BASE_ADDR(ab) + (4 * (x)))
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
[all...]
H A Dmhi.c153 void ath11k_mhi_set_mhictrl_reset(struct ath11k_base *ab) argument
157 val = ath11k_pcic_read32(ab, MHISTATUS);
159 ath11k_dbg(ab, ATH11K_DBG_PCI, "mhistatus 0x%x\n", val);
165 ath11k_pcic_write32(ab, MHICTRL, MHICTRL_RESET_MASK);
170 static void ath11k_mhi_reset_txvecdb(struct ath11k_base *ab) argument
172 ath11k_pcic_write32(ab, PCIE_TXVECDB, 0);
175 static void ath11k_mhi_reset_txvecstatus(struct ath11k_base *ab) argument
177 ath11k_pcic_write32(ab, PCIE_TXVECSTATUS, 0);
180 static void ath11k_mhi_reset_rxvecdb(struct ath11k_base *ab) argument
182 ath11k_pcic_write32(ab, PCIE_RXVECD
185 ath11k_mhi_reset_rxvecstatus(struct ath11k_base *ab) argument
190 ath11k_mhi_clear_vector(struct ath11k_base *ab) argument
200 struct ath11k_base *ab = ab_pci->ab; local
271 struct ath11k_base *ab = dev_get_drvdata(mhi_cntrl->cntrl_dev); local
329 struct ath11k_base *ab = ab_pci->ab; local
425 struct ath11k_base *ab = ab_pci->ab; local
453 struct ath11k_base *ab = ab_pci->ab; local
467 struct ath11k_base *ab = ab_pci->ab; local
[all...]
H A Ddp_rx.h59 void ath11k_dp_htt_htc_t2h_msg_handler(struct ath11k_base *ab,
61 int ath11k_dp_pdev_reo_setup(struct ath11k_base *ab);
62 void ath11k_dp_pdev_reo_cleanup(struct ath11k_base *ab);
63 int ath11k_dp_rx_pdev_alloc(struct ath11k_base *ab, int pdev_idx);
64 void ath11k_dp_rx_pdev_free(struct ath11k_base *ab, int pdev_idx);
65 void ath11k_dp_reo_cmd_list_cleanup(struct ath11k_base *ab);
66 void ath11k_dp_process_reo_status(struct ath11k_base *ab);
67 int ath11k_dp_process_rxdma_err(struct ath11k_base *ab, int mac_id, int budget);
68 int ath11k_dp_rx_process_wbm_err(struct ath11k_base *ab,
70 int ath11k_dp_process_rx_err(struct ath11k_base *ab, struc
[all...]
/linux-master/drivers/net/wireless/ath/ath12k/
H A Dhif.h13 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);
21 int (*suspend)(struct ath12k_base *ab);
22 int (*resume)(struct ath12k_base *ab);
35 ath12k_hif_map_service_to_pipe(struct ath12k_base *ab, u16 service_id, u8 *ul_pipe, u8 *dl_pipe) argument
42 ath12k_hif_get_user_msi_vector(struct ath12k_base *ab, char *user_name, int *num_vectors, u32 *user_base_data, u32 *base_vector) argument
56 ath12k_hif_get_msi_address(struct ath12k_base *ab, u32 *msi_addr_lo, u32 *msi_addr_hi) argument
66 ath12k_hif_get_ce_msi_idx(struct ath12k_base *ab, u32 ce_id, u32 *msi_data_idx) argument
75 ath12k_hif_ce_irq_enable(struct ath12k_base *ab) argument
81 ath12k_hif_ce_irq_disable(struct ath12k_base *ab) argument
87 ath12k_hif_irq_enable(struct ath12k_base *ab) argument
92 ath12k_hif_irq_disable(struct ath12k_base *ab) argument
97 ath12k_hif_suspend(struct ath12k_base *ab) argument
105 ath12k_hif_resume(struct ath12k_base *ab) argument
113 ath12k_hif_start(struct ath12k_base *ab) argument
118 ath12k_hif_stop(struct ath12k_base *ab) argument
123 ath12k_hif_read32(struct ath12k_base *ab, u32 address) argument
128 ath12k_hif_write32(struct ath12k_base *ab, u32 address, u32 data) argument
134 ath12k_hif_power_up(struct ath12k_base *ab) argument
139 ath12k_hif_power_down(struct ath12k_base *ab) argument
[all...]
H A Dcore.c23 static int ath12k_core_rfkill_config(struct ath12k_base *ab) argument
28 if (!(ab->target_caps.sys_cap_info & WMI_SYS_CAP_INFO_RFKILL))
31 for (i = 0; i < ab->num_radios; i++) {
32 ar = ab->pdevs[i].ar;
36 ath12k_warn(ab, "failed to configure rfkill: %d", ret);
44 int ath12k_core_suspend(struct ath12k_base *ab) argument
48 if (!ab->hw_params->supports_suspend)
56 ret = ath12k_dp_rx_pktlog_stop(ab, true);
58 ath12k_warn(ab, "failed to stop dp rx (and timer) pktlog during suspend: %d\n",
63 ret = ath12k_dp_rx_pktlog_stop(ab, fals
82 ath12k_core_resume(struct ath12k_base *ab) argument
108 __ath12k_core_create_board_name(struct ath12k_base *ab, char *name, size_t name_len, bool with_variant, bool bus_type_mode) argument
150 ath12k_core_create_board_name(struct ath12k_base *ab, char *name, size_t name_len) argument
156 ath12k_core_create_fallback_board_name(struct ath12k_base *ab, char *name, size_t name_len) argument
162 ath12k_core_create_bus_type_board_name(struct ath12k_base *ab, char *name, size_t name_len) argument
168 ath12k_core_firmware_request(struct ath12k_base *ab, const char *file) argument
190 ath12k_core_free_bdf(struct ath12k_base *ab, struct ath12k_board_data *bd) argument
198 ath12k_core_parse_bd_ie_board(struct ath12k_base *ab, struct ath12k_board_data *bd, const void *buf, size_t buf_len, const char *boardname, int ie_id, int name_id, int data_id) argument
283 ath12k_core_fetch_board_data_api_n(struct ath12k_base *ab, struct ath12k_board_data *bd, const char *boardname, int ie_id_match, int name_id, int data_id) argument
394 ath12k_core_fetch_board_data_api_1(struct ath12k_base *ab, struct ath12k_board_data *bd, char *filename) argument
409 ath12k_core_fetch_bdf(struct ath12k_base *ab, struct ath12k_board_data *bd) argument
467 ath12k_core_fetch_regdb(struct ath12k_base *ab, struct ath12k_board_data *bd) argument
513 ath12k_core_get_max_station_per_radio(struct ath12k_base *ab) argument
522 ath12k_core_get_max_peers_per_radio(struct ath12k_base *ab) argument
531 ath12k_core_get_max_num_tids(struct ath12k_base *ab) argument
540 ath12k_core_stop(struct ath12k_base *ab) argument
554 struct ath12k_base *ab = data; local
610 ath12k_core_check_smbios(struct ath12k_base *ab) argument
621 ath12k_core_soc_create(struct ath12k_base *ab) argument
644 ath12k_core_soc_destroy(struct ath12k_base *ab) argument
651 ath12k_core_pdev_create(struct ath12k_base *ab) argument
675 ath12k_core_pdev_destroy(struct ath12k_base *ab) argument
682 ath12k_core_start(struct ath12k_base *ab, enum ath12k_firmware_mode mode) argument
795 ath12k_core_start_firmware(struct ath12k_base *ab, enum ath12k_firmware_mode mode) argument
812 ath12k_core_qmi_firmware_ready(struct ath12k_base *ab) argument
872 ath12k_core_reconfigure_on_crash(struct ath12k_base *ab) argument
910 struct ath12k_base *ab = container_of(work, struct ath12k_base, rfkill_work); local
941 struct ath12k_base *ab = ar->ab; local
960 ath12k_core_pre_reconfigure_recovery(struct ath12k_base *ab) argument
1010 ath12k_core_post_reconfigure_recovery(struct ath12k_base *ab) argument
1052 struct ath12k_base *ab = container_of(work, struct ath12k_base, restart_work); local
1073 struct ath12k_base *ab = container_of(work, struct ath12k_base, reset_work); local
1141 ath12k_core_pre_init(struct ath12k_base *ab) argument
1156 ath12k_core_init(struct ath12k_base *ab) argument
1169 ath12k_core_deinit(struct ath12k_base *ab) argument
1184 ath12k_core_free(struct ath12k_base *ab) argument
1195 struct ath12k_base *ab; local
[all...]
H A Dfw.c10 static int ath12k_fw_request_firmware_api_n(struct ath12k_base *ab, argument
19 ab->fw.fw = ath12k_core_firmware_request(ab, name);
20 if (IS_ERR(ab->fw.fw)) {
21 ret = PTR_ERR(ab->fw.fw);
22 ath12k_dbg(ab, ATH12K_DBG_BOOT, "failed to load %s: %d\n", name, ret);
23 ab->fw.fw = NULL;
27 data = ab->fw.fw->data;
28 len = ab->fw.fw->size;
34 ath12k_err(ab, "firmwar
153 ath12k_fw_map(struct ath12k_base *ab) argument
167 ath12k_fw_unmap(struct ath12k_base *ab) argument
[all...]
H A Dpci.c137 static int ath12k_pci_bus_wake_up(struct ath12k_base *ab) argument
139 struct ath12k_pci *ab_pci = ath12k_pci_priv(ab);
144 static void ath12k_pci_bus_release(struct ath12k_base *ab) argument
146 struct ath12k_pci *ab_pci = ath12k_pci_priv(ab);
163 struct ath12k_base *ab = ab_pci->ab; local
176 ab->mem + WINDOW_REG_ADDRESS);
177 ioread32(ab->mem + WINDOW_REG_ADDRESS);
194 iowrite32(WINDOW_ENABLE_BIT | window, ab_pci->ab->mem + WINDOW_REG_ADDRESS);
197 static u32 ath12k_pci_get_window_start(struct ath12k_base *ab, argument
219 ath12k_pci_soc_global_reset(struct ath12k_base *ab) argument
245 ath12k_pci_clear_dbg_registers(struct ath12k_base *ab) argument
275 ath12k_pci_enable_ltssm(struct ath12k_base *ab) argument
303 ath12k_pci_clear_all_intrs(struct ath12k_base *ab) argument
313 ath12k_pci_set_wlaon_pwr_ctrl(struct ath12k_base *ab) argument
322 ath12k_pci_force_wake(struct ath12k_base *ab) argument
328 ath12k_pci_sw_reset(struct ath12k_base *ab, bool power_on) argument
342 ath12k_pci_free_ext_irq(struct ath12k_base *ab) argument
356 ath12k_pci_free_irq(struct ath12k_base *ab) argument
370 ath12k_pci_ce_irq_enable(struct ath12k_base *ab, u16 ce_id) argument
385 ath12k_pci_ce_irq_disable(struct ath12k_base *ab, u16 ce_id) argument
400 ath12k_pci_ce_irqs_disable(struct ath12k_base *ab) argument
413 ath12k_pci_sync_ce_irqs(struct ath12k_base *ab) argument
440 struct ath12k_base *ab = ce_pipe->ab; local
471 __ath12k_pci_ext_irq_disable(struct ath12k_base *ab) argument
502 ath12k_pci_sync_ext_irqs(struct ath12k_base *ab) argument
521 struct ath12k_base *ab = irq_grp->ab; local
541 struct ath12k_base *ab = irq_grp->ab; local
560 ath12k_pci_ext_irq_config(struct ath12k_base *ab) argument
632 ath12k_pci_config_irq(struct ath12k_base *ab) argument
684 ath12k_pci_init_qmi_ce_config(struct ath12k_base *ab) argument
706 ath12k_pci_ce_irqs_enable(struct ath12k_base *ab) argument
746 struct ath12k_base *ab = ab_pci->ab; local
827 struct ath12k_base *ab = ab_pci->ab; local
888 struct ath12k_base *ab = ab_pci->ab; local
900 struct ath12k_base *ab = ab_pci->ab; local
917 ath12k_pci_update_qrtr_node_id(struct ath12k_base *ab) argument
946 ath12k_pci_kill_tasklets(struct ath12k_base *ab) argument
960 ath12k_pci_ce_irq_disable_sync(struct ath12k_base *ab) argument
967 ath12k_pci_map_service_to_pipe(struct ath12k_base *ab, u16 service_id, u8 *ul_pipe, u8 *dl_pipe) argument
1017 ath12k_pci_get_user_msi_assignment(struct ath12k_base *ab, char *user_name, int *num_vectors, u32 *user_base_data, u32 *base_vector) argument
1045 ath12k_pci_get_msi_address(struct ath12k_base *ab, u32 *msi_addr_lo, u32 *msi_addr_hi) argument
1062 ath12k_pci_get_ce_msi_idx(struct ath12k_base *ab, u32 ce_id, u32 *msi_idx) argument
1079 ath12k_pci_hif_ce_irq_enable(struct ath12k_base *ab) argument
1084 ath12k_pci_hif_ce_irq_disable(struct ath12k_base *ab) argument
1089 ath12k_pci_ext_irq_enable(struct ath12k_base *ab) argument
1103 ath12k_pci_ext_irq_disable(struct ath12k_base *ab) argument
1109 ath12k_pci_hif_suspend(struct ath12k_base *ab) argument
1118 ath12k_pci_hif_resume(struct ath12k_base *ab) argument
1127 ath12k_pci_stop(struct ath12k_base *ab) argument
1133 ath12k_pci_start(struct ath12k_base *ab) argument
1150 ath12k_pci_read32(struct ath12k_base *ab, u32 offset) argument
1197 ath12k_pci_write32(struct ath12k_base *ab, u32 offset, u32 value) argument
1243 ath12k_pci_power_up(struct ath12k_base *ab) argument
1274 ath12k_pci_power_down(struct ath12k_base *ab) argument
1308 ath12k_pci_read_hw_version(struct ath12k_base *ab, u32 *major, u32 *minor) argument
1326 struct ath12k_base *ab; local
1500 struct ath12k_base *ab = pci_get_drvdata(pdev); local
1530 struct ath12k_base *ab = pci_get_drvdata(pdev); local
1539 struct ath12k_base *ab = dev_get_drvdata(dev); local
1551 struct ath12k_base *ab = dev_get_drvdata(dev); local
[all...]
H A Dfw.h30 void ath12k_fw_map(struct ath12k_base *ab);
31 void ath12k_fw_unmap(struct ath12k_base *ab);
H A Dpeer.c11 struct ath12k_peer *ath12k_peer_find(struct ath12k_base *ab, int vdev_id, argument
16 lockdep_assert_held(&ab->base_lock);
18 list_for_each_entry(peer, &ab->peers, list) {
30 static struct ath12k_peer *ath12k_peer_find_by_pdev_idx(struct ath12k_base *ab, argument
35 lockdep_assert_held(&ab->base_lock);
37 list_for_each_entry(peer, &ab->peers, list) {
49 struct ath12k_peer *ath12k_peer_find_by_addr(struct ath12k_base *ab, argument
54 lockdep_assert_held(&ab->base_lock);
56 list_for_each_entry(peer, &ab->peers, list) {
66 struct ath12k_peer *ath12k_peer_find_by_id(struct ath12k_base *ab, argument
80 ath12k_peer_exist_by_vdev_id(struct ath12k_base *ab, int vdev_id) argument
96 ath12k_peer_find_by_ast(struct ath12k_base *ab, int ast_hash) argument
110 ath12k_peer_unmap_event(struct ath12k_base *ab, u16 peer_id) argument
134 ath12k_peer_map_event(struct ath12k_base *ab, u8 vdev_id, u16 peer_id, u8 *mac_addr, u16 ast_hash, u16 hw_peer_id) argument
162 ath12k_wait_for_peer_common(struct ath12k_base *ab, int vdev_id, const u8 *addr, bool expect_mapped) argument
187 struct ath12k_base *ab = ar->ab; local
[all...]
H A Dpci.h38 #define PCIE_QSERDES_COM_SYSCLK_EN_SEL_REG(ab) \
39 ((ab)->hw_params->regs->pcie_qserdes_sysclk_en_sel)
42 #define PCIE_PCS_OSC_DTCT_CONFIG1_REG(ab) \
43 ((ab)->hw_params->regs->pcie_pcs_osc_dtct_config_base)
45 #define PCIE_PCS_OSC_DTCT_CONFIG2_REG(ab) \
46 ((ab)->hw_params->regs->pcie_pcs_osc_dtct_config_base + 0x4)
48 #define PCIE_PCS_OSC_DTCT_CONFIG4_REG(ab) \
49 ((ab)->hw_params->regs->pcie_pcs_osc_dtct_config_base + 0xc)
94 int (*wakeup)(struct ath12k_base *ab);
95 void (*release)(struct ath12k_base *ab);
100 struct ath12k_base *ab; member in struct:ath12k_pci
120 ath12k_pci_priv(struct ath12k_base *ab) argument
[all...]
H A Ddp.c17 static void ath12k_dp_htt_htc_tx_complete(struct ath12k_base *ab, argument
25 struct ath12k_base *ab = ar->ab; local
30 spin_lock_bh(&ab->base_lock);
31 peer = ath12k_peer_find(ab, vdev_id, addr);
33 ath12k_warn(ab, "failed to lookup peer %pM on vdev %d\n",
35 spin_unlock_bh(&ab->base_lock);
42 spin_unlock_bh(&ab->base_lock);
47 struct ath12k_base *ab = ar->ab; local
102 ath12k_dp_srng_cleanup(struct ath12k_base *ab, struct dp_srng *ring) argument
127 ath12k_dp_srng_calculate_msi_group(struct ath12k_base *ab, enum hal_ring_type type, int ring_num) argument
178 ath12k_dp_srng_msi_setup(struct ath12k_base *ab, struct hal_srng_params *ring_params, enum hal_ring_type type, int ring_num) argument
218 ath12k_dp_srng_setup(struct ath12k_base *ab, struct dp_srng *ring, enum hal_ring_type type, int ring_num, int mac_id, int num_entries) argument
315 ath12k_dp_tx_get_vdev_bank_config(struct ath12k_base *ab, struct ath12k_vif *arvif) argument
353 ath12k_dp_tx_get_bank_profile(struct ath12k_base *ab, struct ath12k_vif *arvif, struct ath12k_dp *dp) argument
410 ath12k_dp_deinit_bank_profiles(struct ath12k_base *ab) argument
418 ath12k_dp_init_bank_profiles(struct ath12k_base *ab) argument
441 ath12k_dp_srng_common_cleanup(struct ath12k_base *ab) argument
460 ath12k_dp_srng_common_setup(struct ath12k_base *ab) argument
580 ath12k_dp_scatter_idle_link_desc_cleanup(struct ath12k_base *ab) argument
596 ath12k_dp_scatter_idle_link_desc_setup(struct ath12k_base *ab, int size, u32 n_link_desc_bank, u32 n_link_desc, u32 last_bank_sz) argument
673 ath12k_dp_link_desc_bank_free(struct ath12k_base *ab, struct dp_link_desc_bank *link_desc_banks) argument
689 ath12k_dp_link_desc_bank_alloc(struct ath12k_base *ab, struct dp_link_desc_bank *desc_bank, int n_link_desc_bank, int last_bank_sz) argument
728 ath12k_dp_link_desc_cleanup(struct ath12k_base *ab, struct dp_link_desc_bank *desc_bank, u32 ring_type, struct dp_srng *ring) argument
740 ath12k_wbm_idle_ring_setup(struct ath12k_base *ab, u32 *n_link_desc) argument
776 ath12k_dp_link_desc_setup(struct ath12k_base *ab, struct dp_link_desc_bank *link_desc_banks, u32 ring_type, struct hal_srng *srng, u32 n_link_desc) argument
867 ath12k_dp_service_srng(struct ath12k_base *ab, struct ath12k_ext_irq_grp *irq_grp, int budget) argument
973 ath12k_dp_pdev_free(struct ath12k_base *ab) argument
983 ath12k_dp_pdev_pre_alloc(struct ath12k_base *ab) argument
1000 ath12k_dp_wmask_compaction_rx_tlv_supported(struct ath12k_base *ab) argument
1011 ath12k_dp_hal_rx_desc_init(struct ath12k_base *ab) argument
1025 struct ath12k_base *ab = from_timer(ab, t, mon_reap_timer); local
1036 ath12k_dp_mon_reap_timer_init(struct ath12k_base *ab) argument
1044 ath12k_dp_pdev_alloc(struct ath12k_base *ab) argument
1125 struct ath12k_base *ab = ar->ab; local
1147 ath12k_dp_cc_cleanup(struct ath12k_base *ab) argument
1232 ath12k_dp_reoq_lut_cleanup(struct ath12k_base *ab) argument
1250 ath12k_dp_free(struct ath12k_base *ab) argument
1272 ath12k_dp_cc_config(struct ath12k_base *ab) argument
1327 ath12k_dp_cc_get_desc_addr_ptr(struct ath12k_base *ab, u16 ppt_idx, u16 spt_idx) argument
1335 ath12k_dp_get_rx_desc(struct ath12k_base *ab, u32 cookie) argument
1353 ath12k_dp_get_tx_desc(struct ath12k_base *ab, u32 cookie) argument
1372 ath12k_dp_cc_desc_init(struct ath12k_base *ab) argument
1440 ath12k_dp_cc_init(struct ath12k_base *ab) argument
1504 ath12k_dp_reoq_lut_setup(struct ath12k_base *ab) argument
1525 ath12k_dp_alloc(struct ath12k_base *ab) argument
[all...]
/linux-master/drivers/usb/phy/
H A Dphy-ab8500-usb.c121 /* Driver is using the ab-iddet driver*/
150 static void ab8500_usb_wd_workaround(struct ab8500_usb *ab) argument
152 abx500_set_register_interruptible(ab->dev,
159 abx500_set_register_interruptible(ab->dev,
167 abx500_set_register_interruptible(ab->dev,
173 static void ab8500_usb_regulator_enable(struct ab8500_usb *ab) argument
177 ret = regulator_enable(ab->v_ape);
179 dev_err(ab->dev, "Failed to enable v-ape\n");
181 if (ab->flags & AB8500_USB_FLAG_REGULATOR_SET_VOLTAGE) {
182 ab
213 ab8500_usb_regulator_disable(struct ab8500_usb *ab) argument
240 ab8500_usb_wd_linkstatus(struct ab8500_usb *ab, u8 bit) argument
251 ab8500_usb_phy_enable(struct ab8500_usb *ab, bool sel_host) argument
272 ab8500_usb_phy_disable(struct ab8500_usb *ab, bool sel_host) argument
314 ab8505_usb_link_status_update(struct ab8500_usb *ab, enum ab8505_usb_link_status lsts) argument
422 ab8500_usb_link_status_update(struct ab8500_usb *ab, enum ab8500_usb_link_status lsts) argument
525 abx500_usb_link_status_update(struct ab8500_usb *ab) argument
564 struct ab8500_usb *ab = (struct ab8500_usb *) data; local
608 struct ab8500_usb *ab = (struct ab8500_usb *)data; local
617 struct ab8500_usb *ab = container_of(work, struct ab8500_usb, local
636 struct ab8500_usb *ab; local
660 struct ab8500_usb *ab; local
682 ab8500_usb_restart_phy(struct ab8500_usb *ab) argument
709 ab8500_usb_regulator_get(struct ab8500_usb *ab) argument
737 ab8500_usb_irq_setup(struct platform_device *pdev, struct ab8500_usb *ab) argument
788 ab8500_usb_set_ab8500_tuning_values(struct ab8500_usb *ab) argument
825 ab8500_usb_set_ab8505_tuning_values(struct ab8500_usb *ab) argument
870 struct ab8500_usb *ab; local
970 struct ab8500_usb *ab = platform_get_drvdata(pdev); local
[all...]
/linux-master/drivers/md/
H A Ddm-audit.c23 struct audit_buffer *ab; local
28 ab = audit_log_start(audit_context(), GFP_KERNEL, audit_type);
29 if (unlikely(!ab))
32 audit_log_format(ab, "module=%s op=%s", dm_msg_prefix, op);
33 return ab;
39 struct audit_buffer *ab = NULL; local
46 ab = dm_audit_log_start(audit_type, dm_msg_prefix, op);
47 if (unlikely(!ab))
49 audit_log_task_info(ab);
50 audit_log_format(ab, " de
72 struct audit_buffer *ab; local
[all...]
/linux-master/security/integrity/
H A Dintegrity_audit.c41 struct audit_buffer *ab; local
47 ab = audit_log_start(audit_context(), GFP_KERNEL, audit_msgno);
48 if (!ab)
50 audit_log_format(ab, "pid=%d uid=%u auid=%u ses=%u",
55 audit_log_task_context(ab);
56 audit_log_format(ab, " op=%s cause=%s comm=", op, cause);
57 audit_log_untrustedstring(ab, get_task_comm(name, current));
59 audit_log_format(ab, " name=");
60 audit_log_untrustedstring(ab, fname);
63 audit_log_format(ab, " de
[all...]
/linux-master/include/linux/mfd/abx500/
H A Dab8500.h387 static inline int is_ab8500(struct ab8500 *ab) argument
389 return ab->version == AB8500_VERSION_AB8500;
392 static inline int is_ab8505(struct ab8500 *ab) argument
394 return ab->version == AB8500_VERSION_AB8505;
397 static inline int is_ab9540(struct ab8500 *ab) argument
399 return ab->version == AB8500_VERSION_AB9540;
402 static inline int is_ab8540(struct ab8500 *ab) argument
404 return ab->version == AB8500_VERSION_AB8540;
408 static inline int is_ab8500_1p0_or_earlier(struct ab8500 *ab) argument
410 return (is_ab8500(ab)
414 is_ab8500_1p1_or_earlier(struct ab8500 *ab) argument
420 is_ab8500_2p0_or_earlier(struct ab8500 *ab) argument
425 is_ab8500_3p3_or_earlier(struct ab8500 *ab) argument
431 is_ab8500_2p0(struct ab8500 *ab) argument
436 is_ab8505_1p0_or_earlier(struct ab8500 *ab) argument
441 is_ab8505_2p0(struct ab8500 *ab) argument
446 is_ab9540_1p0_or_earlier(struct ab8500 *ab) argument
451 is_ab9540_2p0(struct ab8500 *ab) argument
460 is_ab9540_3p0(struct ab8500 *ab) argument
465 is_ab8540_1p0_or_earlier(struct ab8500 *ab) argument
470 is_ab8540_1p1_or_earlier(struct ab8500 *ab) argument
475 is_ab8540_1p2_or_earlier(struct ab8500 *ab) argument
480 is_ab8540_2p0_or_earlier(struct ab8500 *ab) argument
485 is_ab8540_2p0(struct ab8500 *ab) argument
490 is_ab8505_2p0_earlier(struct ab8500 *ab) argument
495 is_ab9540_2p0_or_earlier(struct ab8500 *ab) argument
[all...]

Completed in 245 milliseconds

12345678