/linux-master/drivers/net/wireless/ath/ath12k/ |
H A D | dp.c | 22 static void ath12k_dp_htt_htc_tx_complete(struct ath12k_base *ab, argument 30 struct ath12k_base *ab = ar->ab; local 35 spin_lock_bh(&ab->base_lock); 36 peer = ath12k_peer_find(ab, vdev_id, addr); 38 ath12k_warn(ab, "failed to lookup peer %pM on vdev %d\n", 40 spin_unlock_bh(&ab->base_lock); 47 spin_unlock_bh(&ab->base_lock); 52 struct ath12k_base *ab = ar->ab; local 107 ath12k_dp_srng_cleanup(struct ath12k_base *ab, struct dp_srng *ring) argument 132 ath12k_dp_srng_calculate_msi_group(struct ath12k_base *ab, enum hal_ring_type type, int ring_num) argument 183 ath12k_dp_srng_msi_setup(struct ath12k_base *ab, struct hal_srng_params *ring_params, enum hal_ring_type type, int ring_num) argument 223 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 320 ath12k_dp_tx_get_vdev_bank_config(struct ath12k_base *ab, struct ath12k_vif *arvif) argument 358 ath12k_dp_tx_get_bank_profile(struct ath12k_base *ab, struct ath12k_vif *arvif, struct ath12k_dp *dp) argument 415 ath12k_dp_deinit_bank_profiles(struct ath12k_base *ab) argument 423 ath12k_dp_init_bank_profiles(struct ath12k_base *ab) argument 446 ath12k_dp_srng_common_cleanup(struct ath12k_base *ab) argument 465 ath12k_dp_srng_common_setup(struct ath12k_base *ab) argument 585 ath12k_dp_scatter_idle_link_desc_cleanup(struct ath12k_base *ab) argument 601 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 678 ath12k_dp_link_desc_bank_free(struct ath12k_base *ab, struct dp_link_desc_bank *link_desc_banks) argument 694 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 733 ath12k_dp_link_desc_cleanup(struct ath12k_base *ab, struct dp_link_desc_bank *desc_bank, u32 ring_type, struct dp_srng *ring) argument 745 ath12k_wbm_idle_ring_setup(struct ath12k_base *ab, u32 *n_link_desc) argument 781 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 872 ath12k_dp_service_srng(struct ath12k_base *ab, struct ath12k_ext_irq_grp *irq_grp, int budget) argument 979 ath12k_dp_pdev_free(struct ath12k_base *ab) argument 989 ath12k_dp_pdev_pre_alloc(struct ath12k_base *ab) argument 1006 ath12k_dp_wmask_compaction_rx_tlv_supported(struct ath12k_base *ab) argument 1017 ath12k_dp_hal_rx_desc_init(struct ath12k_base *ab) argument 1031 struct ath12k_base *ab = from_timer(ab, t, mon_reap_timer); local 1042 ath12k_dp_mon_reap_timer_init(struct ath12k_base *ab) argument 1050 ath12k_dp_pdev_alloc(struct ath12k_base *ab) argument 1131 struct ath12k_base *ab = ar->ab; local 1153 ath12k_dp_cc_cleanup(struct ath12k_base *ab) argument 1252 ath12k_dp_reoq_lut_cleanup(struct ath12k_base *ab) argument 1270 ath12k_dp_free(struct ath12k_base *ab) argument 1292 ath12k_dp_cc_config(struct ath12k_base *ab) argument 1347 ath12k_dp_cc_get_desc_addr_ptr(struct ath12k_base *ab, u16 ppt_idx, u16 spt_idx) argument 1355 ath12k_dp_get_rx_desc(struct ath12k_base *ab, u32 cookie) argument 1377 ath12k_dp_get_tx_desc(struct ath12k_base *ab, u32 cookie) argument 1400 ath12k_dp_cc_desc_init(struct ath12k_base *ab) argument 1470 ath12k_dp_cmem_init(struct ath12k_base *ab, struct ath12k_dp *dp, enum ath12k_dp_desc_type type) argument 1501 ath12k_dp_cc_init(struct ath12k_base *ab) argument 1569 ath12k_dp_reoq_lut_setup(struct ath12k_base *ab) argument 1590 ath12k_dp_alloc(struct ath12k_base *ab) argument [all...] |
H A D | ce.h | 94 void (*recv_cb)(struct ath12k_base *ab, struct sk_buff *skb); 142 struct ath12k_base *ab; member in struct:ath12k_ce_pipe 149 void (*recv_cb)(struct ath12k_base *ab, struct sk_buff *skb); 168 void ath12k_ce_cleanup_pipes(struct ath12k_base *ab); 170 void ath12k_ce_per_engine_service(struct ath12k_base *ab, u16 ce_id); 171 int ath12k_ce_send(struct ath12k_base *ab, struct sk_buff *skb, u8 pipe_id, 173 void ath12k_ce_rx_post_buf(struct ath12k_base *ab); 174 int ath12k_ce_init_pipes(struct ath12k_base *ab); 175 int ath12k_ce_alloc_pipes(struct ath12k_base *ab); 176 void ath12k_ce_free_pipes(struct ath12k_base *ab); [all...] |
H A D | mhi.c | 150 void ath12k_mhi_set_mhictrl_reset(struct ath12k_base *ab) argument 154 val = ath12k_pci_read32(ab, MHISTATUS); 156 ath12k_dbg(ab, ATH12K_DBG_PCI, "MHISTATUS 0x%x\n", val); 162 ath12k_pci_write32(ab, MHICTRL, MHICTRL_RESET_MASK); 167 static void ath12k_mhi_reset_txvecdb(struct ath12k_base *ab) argument 169 ath12k_pci_write32(ab, PCIE_TXVECDB, 0); 172 static void ath12k_mhi_reset_txvecstatus(struct ath12k_base *ab) argument 174 ath12k_pci_write32(ab, PCIE_TXVECSTATUS, 0); 177 static void ath12k_mhi_reset_rxvecdb(struct ath12k_base *ab) argument 179 ath12k_pci_write32(ab, PCIE_RXVECD 182 ath12k_mhi_reset_rxvecstatus(struct ath12k_base *ab) argument 187 ath12k_mhi_clear_vector(struct ath12k_base *ab) argument 197 struct ath12k_base *ab = ab_pci->ab; local 270 struct ath12k_base *ab = dev_get_drvdata(mhi_cntrl->cntrl_dev); local 306 struct ath12k_base *ab = ab_pci->ab; local 436 struct ath12k_base *ab = ab_pci->ab; local 475 struct ath12k_base *ab = ab_pci->ab; local 525 struct ath12k_base *ab = ab_pci->ab; local [all...] |
H A D | hal.h | 62 #define HAL_TCL1_RING_ID(ab) ((ab)->hw_params->regs->hal_tcl1_ring_id) 63 #define HAL_TCL1_RING_MISC(ab) \ 64 ((ab)->hw_params->regs->hal_tcl1_ring_misc) 65 #define HAL_TCL1_RING_TP_ADDR_LSB(ab) \ 66 ((ab)->hw_params->regs->hal_tcl1_ring_tp_addr_lsb) 67 #define HAL_TCL1_RING_TP_ADDR_MSB(ab) \ 68 ((ab)->hw_params->regs->hal_tcl1_ring_tp_addr_msb) 69 #define HAL_TCL1_RING_CONSUMER_INT_SETUP_IX0(ab) \ 70 ((ab) [all...] |
H A D | dp_rx.c | 23 static enum hal_encrypt_type ath12k_dp_rx_h_enctype(struct ath12k_base *ab, argument 26 if (!ab->hal_rx_ops->rx_desc_encrypt_valid(desc)) 29 return ab->hal_rx_ops->rx_desc_get_encrypt_type(desc); 32 u8 ath12k_dp_rx_h_decap_type(struct ath12k_base *ab, argument 35 return ab->hal_rx_ops->rx_desc_get_decap_type(desc); 38 static u8 ath12k_dp_rx_h_mesh_ctl_present(struct ath12k_base *ab, argument 41 return ab->hal_rx_ops->rx_desc_get_mesh_ctl(desc); 44 static bool ath12k_dp_rx_h_seq_ctrl_valid(struct ath12k_base *ab, argument 47 return ab->hal_rx_ops->rx_desc_get_mpdu_seq_ctl_vld(desc); 50 static bool ath12k_dp_rx_h_fc_valid(struct ath12k_base *ab, argument 56 ath12k_dp_rx_h_more_frags(struct ath12k_base *ab, struct sk_buff *skb) argument 65 ath12k_dp_rx_h_frag_no(struct ath12k_base *ab, struct sk_buff *skb) argument 74 ath12k_dp_rx_h_seq_no(struct ath12k_base *ab, struct hal_rx_desc *desc) argument 80 ath12k_dp_rx_h_msdu_done(struct ath12k_base *ab, struct hal_rx_desc *desc) argument 86 ath12k_dp_rx_h_l4_cksum_fail(struct ath12k_base *ab, struct hal_rx_desc *desc) argument 92 ath12k_dp_rx_h_ip_cksum_fail(struct ath12k_base *ab, struct hal_rx_desc *desc) argument 98 ath12k_dp_rx_h_is_decrypted(struct ath12k_base *ab, struct hal_rx_desc *desc) argument 104 ath12k_dp_rx_h_mpdu_err(struct ath12k_base *ab, struct hal_rx_desc *desc) argument 110 ath12k_dp_rx_h_msdu_len(struct ath12k_base *ab, struct hal_rx_desc *desc) argument 116 ath12k_dp_rx_h_sgi(struct ath12k_base *ab, struct hal_rx_desc *desc) argument 122 ath12k_dp_rx_h_rate_mcs(struct ath12k_base *ab, struct hal_rx_desc *desc) argument 128 ath12k_dp_rx_h_rx_bw(struct ath12k_base *ab, struct hal_rx_desc *desc) argument 134 ath12k_dp_rx_h_freq(struct ath12k_base *ab, struct hal_rx_desc *desc) argument 140 ath12k_dp_rx_h_pkt_type(struct ath12k_base *ab, struct hal_rx_desc *desc) argument 146 ath12k_dp_rx_h_nss(struct ath12k_base *ab, struct hal_rx_desc *desc) argument 152 ath12k_dp_rx_h_tid(struct ath12k_base *ab, struct hal_rx_desc *desc) argument 158 ath12k_dp_rx_h_peer_id(struct ath12k_base *ab, struct hal_rx_desc *desc) argument 164 ath12k_dp_rx_h_l3pad(struct ath12k_base *ab, struct hal_rx_desc *desc) argument 170 ath12k_dp_rx_h_first_msdu(struct ath12k_base *ab, struct hal_rx_desc *desc) argument 176 ath12k_dp_rx_h_last_msdu(struct ath12k_base *ab, struct hal_rx_desc *desc) argument 182 ath12k_dp_rx_desc_end_tlv_copy(struct ath12k_base *ab, struct hal_rx_desc *fdesc, struct hal_rx_desc *ldesc) argument 189 ath12k_dp_rxdesc_set_msdu_len(struct ath12k_base *ab, struct hal_rx_desc *desc, u16 len) argument 196 ath12k_dp_rx_h_is_da_mcbc(struct ath12k_base *ab, struct hal_rx_desc *desc) argument 203 ath12k_dp_rxdesc_mac_addr2_valid(struct ath12k_base *ab, struct hal_rx_desc *desc) argument 209 ath12k_dp_rxdesc_get_mpdu_start_addr2(struct ath12k_base *ab, struct hal_rx_desc *desc) argument 215 ath12k_dp_rx_desc_get_dot11_hdr(struct ath12k_base *ab, struct hal_rx_desc *desc, struct ieee80211_hdr *hdr) argument 222 ath12k_dp_rx_desc_get_crypto_header(struct ath12k_base *ab, struct hal_rx_desc *desc, u8 *crypto_hdr, enum hal_encrypt_type enctype) argument 230 ath12k_dp_rxdesc_get_mpdu_frame_ctrl(struct ath12k_base *ab, struct hal_rx_desc *desc) argument 236 ath12k_dp_rx_get_msdu_src_link(struct ath12k_base *ab, struct hal_rx_desc *desc) argument 294 ath12k_dp_rx_bufs_replenish(struct ath12k_base *ab, struct dp_rxdma_ring *rx_ring, struct list_head *used_list, int req_entries) argument 396 ath12k_dp_rxdma_mon_buf_ring_free(struct ath12k_base *ab, struct dp_rxdma_mon_ring *rx_ring) argument 419 ath12k_dp_rxdma_buf_free(struct ath12k_base *ab) argument 430 ath12k_dp_rxdma_mon_ring_buf_setup(struct ath12k_base *ab, struct dp_rxdma_mon_ring *rx_ring, u32 ringtype) argument 445 ath12k_dp_rxdma_ring_buf_setup(struct ath12k_base *ab, struct dp_rxdma_ring *rx_ring) argument 458 ath12k_dp_rxdma_buf_setup(struct ath12k_base *ab) argument 496 struct ath12k_base *ab = ar->ab; local 505 ath12k_dp_rx_pdev_reo_cleanup(struct ath12k_base *ab) argument 514 ath12k_dp_rx_pdev_reo_setup(struct ath12k_base *ab) argument 541 struct ath12k_base *ab = ar->ab; local 573 ath12k_dp_rx_reo_cmd_list_cleanup(struct ath12k_base *ab) argument 615 ath12k_dp_reo_cmd_send(struct ath12k_base *ab, struct ath12k_dp_rx_tid *rx_tid, enum hal_reo_cmd_type type, struct ath12k_hal_reo_cmd *cmd, void (*cb)(struct ath12k_dp *dp, void *ctx, enum hal_reo_cmd_status status)) argument 660 ath12k_dp_reo_cache_flush(struct ath12k_base *ab, struct ath12k_dp_rx_tid *rx_tid) argument 703 struct ath12k_base *ab = dp->ab; local 761 ath12k_peer_rx_tid_qref_setup(struct ath12k_base *ab, u16 peer_id, u16 tid, dma_addr_t paddr) argument 783 ath12k_peer_rx_tid_qref_reset(struct ath12k_base *ab, u16 peer_id, u16 tid) argument 837 ath12k_dp_rx_link_desc_return(struct ath12k_base *ab, struct hal_reo_dest_ring *ring, enum hal_wbm_rel_bm_act action) argument 872 struct ath12k_base *ab = rx_tid->ab; local 947 struct ath12k_base *ab = ar->ab; local 1066 struct ath12k_base *ab = ar->ab; local 1083 struct ath12k_base *ab = ar->ab; local 1123 struct ath12k_base *ab = ar->ab; local 1207 ath12k_htt_tlv_ppdu_stats_parse(struct ath12k_base *ab, u16 tag, u16 len, const void *ptr, void *data) argument 1295 ath12k_dp_htt_tlv_iter(struct ath12k_base *ab, const void *ptr, size_t len, int (*iter)(struct ath12k_base *ar, u16 tag, u16 len, const void *ptr, void *data), void *data) argument 1336 struct ath12k_base *ab = ar->ab; local 1550 ath12k_htt_pull_ppdu_stats(struct ath12k_base *ab, struct sk_buff *skb) argument 1657 ath12k_htt_mlo_offset_event_handler(struct ath12k_base *ab, struct sk_buff *skb) argument 1693 ath12k_dp_htt_htc_t2h_msg_handler(struct ath12k_base *ab, struct sk_buff *skb) argument 1786 struct ath12k_base *ab = ar->ab; local 1887 struct ath12k_base *ab = ar->ab; local 1982 struct ath12k_base *ab = ar->ab; local 2090 struct ath12k_base *ab = ar->ab; local 2162 struct ath12k_base *ab = ar->ab; local 2199 ath12k_dp_rx_h_find_peer(struct ath12k_base *ab, struct sk_buff *msdu) argument 2228 struct ath12k_base *ab = ar->ab; local 2300 struct ath12k_base *ab = ar->ab; local 2368 struct ath12k_base *ab = ar->ab; local 2415 struct ath12k_base *ab = ar->ab; local 2497 struct ath12k_base *ab = ar->ab; local 2561 ath12k_dp_rx_process_received_packets(struct ath12k_base *ab, struct napi_struct *napi, struct sk_buff_head *msdu_list, int ring_id) argument 2607 ath12k_dp_rx_process(struct ath12k_base *ab, int ring_id, struct napi_struct *napi, int budget) argument 2750 struct ath12k_base *ab = ar->ab; local 2827 struct ath12k_base *ab = ar->ab; local 2915 struct ath12k_base *ab = ar->ab; local 2983 struct ath12k_base *ab = ar->ab; local 3120 ath12k_dp_rx_h_cmp_frags(struct ath12k_base *ab, struct sk_buff *a, struct sk_buff *b) argument 3131 ath12k_dp_rx_h_sort_frags(struct ath12k_base *ab, struct sk_buff_head *frag_list, struct sk_buff *cur_frag) argument 3171 struct ath12k_base *ab = ar->ab; local 3205 struct ath12k_base *ab = ar->ab; local 3332 struct ath12k_base *ab = ar->ab; local 3405 ath12k_dp_rx_process_err(struct ath12k_base *ab, struct napi_struct *napi, int budget) argument 3540 struct ath12k_base *ab = ar->ab; local 3637 struct ath12k_base *ab = ar->ab; local 3664 struct ath12k_base *ab = ar->ab; local 3721 ath12k_dp_rx_process_wbm_err(struct ath12k_base *ab, struct napi_struct *napi, int budget) argument 3878 ath12k_dp_rx_process_reo_status(struct ath12k_base *ab) argument 3957 ath12k_dp_rx_free(struct ath12k_base *ab) argument 3978 ath12k_dp_rx_pdev_free(struct ath12k_base *ab, int mac_id) argument 3985 ath12k_dp_rxdma_ring_sel_config_qcn9274(struct ath12k_base *ab) argument 4026 ath12k_dp_rxdma_ring_sel_config_wcn7850(struct ath12k_base *ab) argument 4068 ath12k_dp_rx_htt_setup(struct ath12k_base *ab) argument 4136 ath12k_dp_rx_alloc(struct ath12k_base *ab) argument 4209 ath12k_dp_rx_pdev_alloc(struct ath12k_base *ab, int mac_id) argument [all...] |
H A D | ce.c | 225 struct ath12k_base *ab = pipe->ab; local 233 lockdep_assert_held(&ab->ce.ce_lock); 237 srng = &ab->hal.srng_list[ring->hal_ring_id]; 241 ath12k_hal_srng_access_begin(ab, srng); 243 if (unlikely(ath12k_hal_srng_src_num_free(ab, srng, false) < 1)) { 248 desc = ath12k_hal_srng_src_get_next_entry(ab, srng); 264 ath12k_hal_srng_access_end(ab, srng); 273 struct ath12k_base *ab = pipe->ab; local 322 struct ath12k_base *ab = pipe->ab; local 371 struct ath12k_base *ab = pipe->ab; local 411 struct ath12k_base *ab = pipe->ab; local 452 struct ath12k_base *ab = pipe->ab; local 465 ath12k_ce_srng_msi_ring_params_setup(struct ath12k_base *ab, u32 ce_id, struct hal_srng_params *ring_params) argument 491 ath12k_ce_init_ring(struct ath12k_base *ab, struct ath12k_ce_ring *ce_ring, int ce_id, enum hal_ring_type type) argument 544 ath12k_ce_alloc_ring(struct ath12k_base *ab, int nentries, int desc_sz) argument 580 ath12k_ce_alloc_pipe(struct ath12k_base *ab, int ce_id) argument 619 ath12k_ce_per_engine_service(struct ath12k_base *ab, u16 ce_id) argument 630 ath12k_ce_poll_send_completed(struct ath12k_base *ab, u8 pipe_id) argument 638 ath12k_ce_send(struct ath12k_base *ab, struct sk_buff *skb, u8 pipe_id, u16 transfer_id) argument 721 struct ath12k_base *ab = pipe->ab; local 741 ath12k_ce_cleanup_pipes(struct ath12k_base *ab) argument 757 ath12k_ce_rx_post_buf(struct ath12k_base *ab) argument 782 struct ath12k_base *ab = from_timer(ab, t, rx_replenish_retry); local 787 ath12k_ce_shadow_config(struct ath12k_base *ab) argument 802 ath12k_ce_get_shadow_config(struct ath12k_base *ab, u32 **shadow_cfg, u32 *shadow_cfg_len) argument 825 ath12k_ce_init_pipes(struct ath12k_base *ab) argument 886 ath12k_ce_free_pipes(struct ath12k_base *ab) argument 931 ath12k_ce_alloc_pipes(struct ath12k_base *ab) argument 958 ath12k_ce_get_attr_flags(struct ath12k_base *ab, int ce_id) argument [all...] |
H A D | dp_rx.h | 33 struct ath12k_base *ab; member in struct:ath12k_dp_rx_tid 101 void ath12k_dp_htt_htc_t2h_msg_handler(struct ath12k_base *ab, 103 int ath12k_dp_rx_pdev_reo_setup(struct ath12k_base *ab); 104 void ath12k_dp_rx_pdev_reo_cleanup(struct ath12k_base *ab); 105 int ath12k_dp_rx_htt_setup(struct ath12k_base *ab); 106 int ath12k_dp_rx_alloc(struct ath12k_base *ab); 107 void ath12k_dp_rx_free(struct ath12k_base *ab); 108 int ath12k_dp_rx_pdev_alloc(struct ath12k_base *ab, int pdev_idx); 109 void ath12k_dp_rx_pdev_free(struct ath12k_base *ab, int pdev_idx); 110 void ath12k_dp_rx_reo_cmd_list_cleanup(struct ath12k_base *ab); [all...] |
H A D | debug.c | 11 void ath12k_info(struct ath12k_base *ab, const char *fmt, ...) argument 20 dev_info(ab->dev, "%pV", &vaf); 25 void ath12k_err(struct ath12k_base *ab, const char *fmt, ...) argument 34 dev_err(ab->dev, "%pV", &vaf); 39 void ath12k_warn(struct ath12k_base *ab, const char *fmt, ...) argument 48 dev_warn_ratelimited(ab->dev, "%pV", &vaf); 55 void __ath12k_dbg(struct ath12k_base *ab, enum ath12k_debug_mask mask, argument 67 dev_printk(KERN_DEBUG, ab->dev, "%pV", &vaf); 74 void ath12k_dbg_dump(struct ath12k_base *ab, argument 85 __ath12k_dbg(ab, mas [all...] |
H A D | debugfs.c | 33 void ath12k_debugfs_soc_create(struct ath12k_base *ab) argument 50 scnprintf(soc_name, sizeof(soc_name), "%s-%s", ath12k_bus_str(ab->hif.bus), 51 dev_name(ab->dev)); 53 ab->debugfs_soc = debugfs_create_dir(soc_name, debugfs_ath12k); 59 void ath12k_debugfs_soc_destroy(struct ath12k_base *ab) argument 61 debugfs_remove_recursive(ab->debugfs_soc); 62 ab->debugfs_soc = NULL; 72 struct ath12k_base *ab = ar->ab; local 79 ar->debug.debugfs_pdev = debugfs_create_dir(pdev_name, ab [all...] |
H A D | htc.c | 12 struct sk_buff *ath12k_htc_alloc_skb(struct ath12k_base *ab, int size) argument 24 ath12k_warn(ab, "Unaligned HTC tx skb\n"); 29 static void ath12k_htc_control_tx_complete(struct ath12k_base *ab, argument 80 struct device *dev = htc->ab->dev; 81 struct ath12k_base *ab = htc->ab; local 86 ath12k_warn(ab, "Invalid endpoint id: %d\n", eid); 96 ath12k_dbg(ab, ATH12K_DBG_HTC, 104 ath12k_dbg(ab, ATH12K_DBG_HTC, 119 ret = ath12k_ce_send(htc->ab, sk 150 struct ath12k_base *ab = htc->ab; local 184 struct ath12k_base *ab = htc->ab; local 235 ath12k_htc_suspend_complete(struct ath12k_base *ab, bool ack) argument 247 ath12k_htc_rx_completion_handler(struct ath12k_base *ab, struct sk_buff *skb) argument 374 ath12k_htc_control_rx_complete(struct ath12k_base *ab, struct sk_buff *skb) argument 488 struct ath12k_base *ab = htc->ab; local 555 struct ath12k_base *ab = htc->ab; local 719 struct ath12k_base *ab = htc->ab; local 744 ath12k_htc_init(struct ath12k_base *ab) argument [all...] |
H A D | debug.h | 31 __printf(2, 3) void ath12k_info(struct ath12k_base *ab, const char *fmt, ...); 32 __printf(2, 3) void ath12k_err(struct ath12k_base *ab, const char *fmt, ...); 33 __printf(2, 3) void ath12k_warn(struct ath12k_base *ab, const char *fmt, ...); 38 __printf(3, 4) void __ath12k_dbg(struct ath12k_base *ab, 41 void ath12k_dbg_dump(struct ath12k_base *ab, 46 static inline void __ath12k_dbg(struct ath12k_base *ab, argument 52 static inline void ath12k_dbg_dump(struct ath12k_base *ab, argument
|
/linux-master/drivers/net/wireless/ath/ath11k/ |
H A D | dp_rx.h | 59 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...] |
H A D | ce.c | 259 void ath11k_ce_stop_shadow_timers(struct ath11k_base *ab) argument 263 if (!ab->hw_params.supports_shadow_regs) 266 for (i = 0; i < ab->hw_params.ce_count; i++) 268 ath11k_dp_shadow_stop_timer(ab, &ab->ce.hp_timer[i]); 274 struct ath11k_base *ab = pipe->ab; local 282 lockdep_assert_held(&ab->ce.ce_lock); 286 srng = &ab->hal.srng_list[ring->hal_ring_id]; 290 ath11k_hal_srng_access_begin(ab, srn 322 struct ath11k_base *ab = pipe->ab; local 372 struct ath11k_base *ab = pipe->ab; local 421 struct ath11k_base *ab = pipe->ab; local 461 struct ath11k_base *ab = pipe->ab; local 502 struct ath11k_base *ab = pipe->ab; local 529 ath11k_ce_srng_msi_ring_params_setup(struct ath11k_base *ab, u32 ce_id, struct hal_srng_params *ring_params) argument 555 ath11k_ce_init_ring(struct ath11k_base *ab, struct ath11k_ce_ring *ce_ring, int ce_id, enum hal_ring_type type) argument 614 ath11k_ce_alloc_ring(struct ath11k_base *ab, int nentries, int desc_sz) argument 650 ath11k_ce_alloc_pipe(struct ath11k_base *ab, int ce_id) argument 689 ath11k_ce_per_engine_service(struct ath11k_base *ab, u16 ce_id) argument 701 ath11k_ce_poll_send_completed(struct ath11k_base *ab, u8 pipe_id) argument 711 ath11k_ce_send(struct ath11k_base *ab, struct sk_buff *skb, u8 pipe_id, u16 transfer_id) argument 803 struct ath11k_base *ab = pipe->ab; local 823 ath11k_ce_shadow_config(struct ath11k_base *ab) argument 842 ath11k_ce_get_shadow_config(struct ath11k_base *ab, u32 **shadow_cfg, u32 *shadow_cfg_len) argument 866 ath11k_ce_cleanup_pipes(struct ath11k_base *ab) argument 885 ath11k_ce_rx_post_buf(struct ath11k_base *ab) argument 911 struct ath11k_base *ab = from_timer(ab, t, rx_replenish_retry); local 916 ath11k_ce_init_pipes(struct ath11k_base *ab) argument 974 ath11k_ce_free_pipes(struct ath11k_base *ab) argument 1027 ath11k_ce_alloc_pipes(struct ath11k_base *ab) argument 1074 ath11k_ce_get_attr_flags(struct ath11k_base *ab, int ce_id) argument [all...] |
H A D | peer.h | 20 /* protected by ab->data_lock */ 41 void ath11k_peer_unmap_event(struct ath11k_base *ab, u16 peer_id); 42 void ath11k_peer_map_event(struct ath11k_base *ab, u8 vdev_id, u16 peer_id, 44 struct ath11k_peer *ath11k_peer_find(struct ath11k_base *ab, int vdev_id, 46 struct ath11k_peer *ath11k_peer_find_by_addr(struct ath11k_base *ab, 48 struct ath11k_peer *ath11k_peer_find_by_id(struct ath11k_base *ab, int peer_id); 55 struct ath11k_peer *ath11k_peer_find_by_vdev_id(struct ath11k_base *ab, 57 int ath11k_peer_rhash_tbl_init(struct ath11k_base *ab); 58 void ath11k_peer_rhash_tbl_destroy(struct ath11k_base *ab); 59 int ath11k_peer_rhash_delete(struct ath11k_base *ab, struc [all...] |
H A D | debug.c | 11 void ath11k_info(struct ath11k_base *ab, const char *fmt, ...) argument 20 dev_info(ab->dev, "%pV", &vaf); 21 trace_ath11k_log_info(ab, &vaf); 26 void ath11k_err(struct ath11k_base *ab, const char *fmt, ...) argument 35 dev_err(ab->dev, "%pV", &vaf); 36 trace_ath11k_log_err(ab, &vaf); 41 void ath11k_warn(struct ath11k_base *ab, const char *fmt, ...) argument 50 dev_warn_ratelimited(ab->dev, "%pV", &vaf); 51 trace_ath11k_log_warn(ab, &vaf); 58 void __ath11k_dbg(struct ath11k_base *ab, enu argument 78 ath11k_dbg_dump(struct ath11k_base *ab, enum ath11k_debug_mask mask, const char *msg, const char *prefix, const void *buf, size_t len) argument [all...] |
H A D | thermal.h | 30 int ath11k_thermal_register(struct ath11k_base *ab); 31 void ath11k_thermal_unregister(struct ath11k_base *ab); 35 static inline int ath11k_thermal_register(struct ath11k_base *ab) argument 40 static inline void ath11k_thermal_unregister(struct ath11k_base *ab) argument
|
H A D | wow.h | 35 int ath11k_wow_enable(struct ath11k_base *ab); 36 int ath11k_wow_wakeup(struct ath11k_base *ab); 45 static inline int ath11k_wow_enable(struct ath11k_base *ab) argument 50 static inline int ath11k_wow_wakeup(struct ath11k_base *ab) argument
|
H A D | hal.c | 193 static int ath11k_hal_alloc_cont_rdp(struct ath11k_base *ab) argument 195 struct ath11k_hal *hal = &ab->hal; 199 hal->rdp.vaddr = dma_alloc_coherent(ab->dev, size, &hal->rdp.paddr, 207 static void ath11k_hal_free_cont_rdp(struct ath11k_base *ab) argument 209 struct ath11k_hal *hal = &ab->hal; 216 dma_free_coherent(ab->dev, size, 221 static int ath11k_hal_alloc_cont_wrp(struct ath11k_base *ab) argument 223 struct ath11k_hal *hal = &ab->hal; 227 hal->wrp.vaddr = dma_alloc_coherent(ab->dev, size, &hal->wrp.paddr, 235 static void ath11k_hal_free_cont_wrp(struct ath11k_base *ab) argument 249 ath11k_hal_ce_dst_setup(struct ath11k_base *ab, struct hal_srng *srng, int ring_num) argument 267 ath11k_hal_srng_dst_hw_init(struct ath11k_base *ab, struct hal_srng *srng) argument 346 ath11k_hal_srng_src_hw_init(struct ath11k_base *ab, struct hal_srng *srng) argument 455 ath11k_hal_srng_hw_init(struct ath11k_base *ab, struct hal_srng *srng) argument 464 ath11k_hal_srng_get_ring_id(struct ath11k_base *ab, enum hal_ring_type type, int ring_num, int mac_id) argument 486 ath11k_hal_srng_get_entrysize(struct ath11k_base *ab, u32 ring_type) argument 498 ath11k_hal_srng_get_max_entries(struct ath11k_base *ab, u32 ring_type) argument 510 ath11k_hal_srng_get_params(struct ath11k_base *ab, struct hal_srng *srng, struct hal_srng_params *params) argument 525 ath11k_hal_srng_get_hp_addr(struct ath11k_base *ab, struct hal_srng *srng) argument 541 ath11k_hal_srng_get_tp_addr(struct ath11k_base *ab, struct hal_srng *srng) argument 619 ath11k_hal_srng_dst_peek(struct ath11k_base *ab, struct hal_srng *srng) argument 629 ath11k_hal_srng_dst_peek_with_dma(struct ath11k_base *ab, struct hal_srng *srng, dma_addr_t *paddr) argument 643 ath11k_hal_srng_prefetch_desc(struct ath11k_base *ab, struct hal_srng *srng) argument 659 ath11k_hal_srng_dst_get_next_entry(struct ath11k_base *ab, struct hal_srng *srng) argument 684 ath11k_hal_srng_dst_num_free(struct ath11k_base *ab, struct hal_srng *srng, bool sync_hw_ptr) argument 707 ath11k_hal_srng_src_num_free(struct ath11k_base *ab, struct hal_srng *srng, bool sync_hw_ptr) argument 729 ath11k_hal_srng_src_get_next_entry(struct ath11k_base *ab, struct hal_srng *srng) argument 762 ath11k_hal_srng_src_reap_next(struct ath11k_base *ab, struct hal_srng *srng) argument 782 ath11k_hal_srng_src_get_next_reaped(struct ath11k_base *ab, struct hal_srng *srng) argument 799 ath11k_hal_srng_src_peek(struct ath11k_base *ab, struct hal_srng *srng) argument 810 ath11k_hal_srng_access_begin(struct ath11k_base *ab, struct hal_srng *srng) argument 829 ath11k_hal_srng_access_end(struct ath11k_base *ab, struct hal_srng *srng) argument 866 ath11k_hal_setup_link_idle_list(struct ath11k_base *ab, struct hal_wbm_idle_scatter_list *sbuf, u32 nsbufs, u32 tot_link_desc, u32 end_offset) argument 958 ath11k_hal_srng_setup(struct ath11k_base *ab, enum hal_ring_type type, int ring_num, int mac_id, struct hal_srng_params *params) argument 1082 ath11k_hal_srng_update_hp_tp_addr(struct ath11k_base *ab, int shadow_cfg_idx, enum hal_ring_type ring_type, int ring_num) argument 1106 ath11k_hal_srng_update_shadow_config(struct ath11k_base *ab, enum hal_ring_type ring_type, int ring_num) argument 1144 ath11k_hal_srng_shadow_config(struct ath11k_base *ab) argument 1166 ath11k_hal_srng_get_shadow_config(struct ath11k_base *ab, u32 **cfg, u32 *len) argument 1175 ath11k_hal_srng_shadow_update_hp_tp(struct ath11k_base *ab, struct hal_srng *srng) argument 1188 ath11k_hal_srng_create_config(struct ath11k_base *ab) argument 1283 ath11k_hal_register_srng_key(struct ath11k_base *ab) argument 1292 ath11k_hal_unregister_srng_key(struct ath11k_base *ab) argument 1301 ath11k_hal_srng_init(struct ath11k_base *ab) argument 1332 ath11k_hal_srng_deinit(struct ath11k_base *ab) argument 1343 ath11k_hal_dump_srng_stats(struct ath11k_base *ab) argument [all...] |
H A D | testmode.h | 11 void ath11k_tm_wmi_event(struct ath11k_base *ab, u32 cmd_id, struct sk_buff *skb); 17 static inline void ath11k_tm_wmi_event(struct ath11k_base *ab, u32 cmd_id, argument
|
H A D | pci.h | 39 (ab->hw_params.regs->pcie_qserdes_sysclk_en_sel) 43 (ab->hw_params.regs->pcie_pcs_osc_dtct_config_base) 46 (ab->hw_params.regs->pcie_pcs_osc_dtct_config_base + 0x4) 49 (ab->hw_params.regs->pcie_pcs_osc_dtct_config_base + 0xc) 62 struct ath11k_base *ab; member in struct:ath11k_pci 79 static inline struct ath11k_pci *ath11k_pci_priv(struct ath11k_base *ab) argument 81 return (struct ath11k_pci *)ab->drv_priv; 84 int ath11k_pci_get_msi_irq(struct ath11k_base *ab, unsigned int vector);
|
H A D | dp_tx.h | 21 int ath11k_dp_tx_htt_h2t_ver_req_msg(struct ath11k_base *ab); 24 void ath11k_dp_tx_completion_handler(struct ath11k_base *ab, int ring_id); 25 int ath11k_dp_tx_send_reo_cmd(struct ath11k_base *ab, struct dp_rx_tid *rx_tid, 38 int ath11k_dp_tx_htt_rx_filter_setup(struct ath11k_base *ab, u32 ring_id, 43 int ath11k_dp_tx_htt_rx_full_mon_setup(struct ath11k_base *ab, int mac_id,
|
H A D | testmode.c | 27 static struct ath11k *ath11k_tm_get_ar(struct ath11k_base *ab) argument 33 for (i = 0; i < ab->num_radios; i++) { 34 pdev = &ab->pdevs[i]; 47 static void ath11k_tm_wmi_event_unsegmented(struct ath11k_base *ab, u32 cmd_id, argument 53 ath11k_dbg(ab, ATH11K_DBG_TESTMODE, 56 ath11k_dbg_dump(ab, ATH11K_DBG_TESTMODE, NULL, "", skb->data, skb->len); 58 ar = ath11k_tm_get_ar(ab); 60 ath11k_warn(ab, "testmode event not handled due to invalid pdev\n"); 71 ath11k_warn(ab, 79 ath11k_warn(ab, "faile 96 ath11k_tm_process_event(struct ath11k_base *ab, u32 cmd_id, const struct wmi_ftm_event_msg *ftm_msg, u16 length) argument 193 ath11k_tm_wmi_event_segmented(struct ath11k_base *ab, u32 cmd_id, struct sk_buff *skb) argument 223 ath11k_tm_wmi_event(struct ath11k_base *ab, u32 cmd_id, struct sk_buff *skb) argument 393 struct ath11k_base *ab = ar->ab; local [all...] |
H A D | dp_rx.c | 25 u8 *ath11k_dp_rx_h_80211_hdr(struct ath11k_base *ab, struct hal_rx_desc *desc) argument 27 return ab->hw_params.hw_ops->rx_desc_get_hdr_status(desc); 31 enum hal_encrypt_type ath11k_dp_rx_h_mpdu_start_enctype(struct ath11k_base *ab, argument 34 if (!ab->hw_params.hw_ops->rx_desc_encrypt_valid(desc)) 37 return ab->hw_params.hw_ops->rx_desc_get_encrypt_type(desc); 40 static inline u8 ath11k_dp_rx_h_msdu_start_decap_type(struct ath11k_base *ab, argument 43 return ab->hw_params.hw_ops->rx_desc_get_decap_type(desc); 47 bool ath11k_dp_rx_h_msdu_start_ldpc_support(struct ath11k_base *ab, argument 50 return ab->hw_params.hw_ops->rx_desc_get_ldpc_support(desc); 54 u8 ath11k_dp_rx_h_msdu_start_mesh_ctl_present(struct ath11k_base *ab, argument 61 ath11k_dp_rx_h_mpdu_start_seq_ctrl_valid(struct ath11k_base *ab, struct hal_rx_desc *desc) argument 67 ath11k_dp_rx_h_mpdu_start_fc_valid(struct ath11k_base *ab, struct hal_rx_desc *desc) argument 73 ath11k_dp_rx_h_mpdu_start_more_frags(struct ath11k_base *ab, struct sk_buff *skb) argument 82 ath11k_dp_rx_h_mpdu_start_frag_no(struct ath11k_base *ab, struct sk_buff *skb) argument 91 ath11k_dp_rx_h_mpdu_start_seq_no(struct ath11k_base *ab, struct hal_rx_desc *desc) argument 97 ath11k_dp_rx_get_attention(struct ath11k_base *ab, struct hal_rx_desc *desc) argument 157 ath11k_dp_rx_h_attn_msdu_len_err(struct ath11k_base *ab, struct hal_rx_desc *desc) argument 169 ath11k_dp_rx_h_msdu_start_msdu_len(struct ath11k_base *ab, struct hal_rx_desc *desc) argument 175 ath11k_dp_rx_h_msdu_start_sgi(struct ath11k_base *ab, struct hal_rx_desc *desc) argument 181 ath11k_dp_rx_h_msdu_start_rate_mcs(struct ath11k_base *ab, struct hal_rx_desc *desc) argument 187 ath11k_dp_rx_h_msdu_start_rx_bw(struct ath11k_base *ab, struct hal_rx_desc *desc) argument 193 ath11k_dp_rx_h_msdu_start_freq(struct ath11k_base *ab, struct hal_rx_desc *desc) argument 199 ath11k_dp_rx_h_msdu_start_pkt_type(struct ath11k_base *ab, struct hal_rx_desc *desc) argument 205 ath11k_dp_rx_h_msdu_start_nss(struct ath11k_base *ab, struct hal_rx_desc *desc) argument 211 ath11k_dp_rx_h_mpdu_start_tid(struct ath11k_base *ab, struct hal_rx_desc *desc) argument 217 ath11k_dp_rx_h_mpdu_start_peer_id(struct ath11k_base *ab, struct hal_rx_desc *desc) argument 223 ath11k_dp_rx_h_msdu_end_l3pad(struct ath11k_base *ab, struct hal_rx_desc *desc) argument 229 ath11k_dp_rx_h_msdu_end_first_msdu(struct ath11k_base *ab, struct hal_rx_desc *desc) argument 235 ath11k_dp_rx_h_msdu_end_last_msdu(struct ath11k_base *ab, struct hal_rx_desc *desc) argument 241 ath11k_dp_rx_desc_end_tlv_copy(struct ath11k_base *ab, struct hal_rx_desc *fdesc, struct hal_rx_desc *ldesc) argument 254 ath11k_dp_rxdesc_get_80211hdr(struct ath11k_base *ab, struct hal_rx_desc *rx_desc) argument 264 ath11k_dp_rxdesc_mpdu_valid(struct ath11k_base *ab, struct hal_rx_desc *rx_desc) argument 274 ath11k_dp_rxdesc_get_ppduid(struct ath11k_base *ab, struct hal_rx_desc *rx_desc) argument 280 ath11k_dp_rxdesc_set_msdu_len(struct ath11k_base *ab, struct hal_rx_desc *desc, u16 len) argument 287 ath11k_dp_rx_h_attn_is_mcbc(struct ath11k_base *ab, struct hal_rx_desc *desc) argument 297 ath11k_dp_rxdesc_mac_addr2_valid(struct ath11k_base *ab, struct hal_rx_desc *desc) argument 303 ath11k_dp_rxdesc_mpdu_start_addr2(struct ath11k_base *ab, struct hal_rx_desc *desc) argument 311 struct ath11k_base *ab = from_timer(ab, t, mon_reap_timer); local 321 ath11k_dp_purge_mon_ring(struct ath11k_base *ab) argument 344 ath11k_dp_rxbufs_replenish(struct ath11k_base *ab, int mac_id, struct dp_rxdma_ring *rx_ring, int req_entries, enum hal_rx_buf_return_buf_manager mgr) argument 462 struct ath11k_base *ab = ar->ab; local 498 struct ath11k_base *ab = ar->ab; local 520 struct ath11k_base *ab = ar->ab; local 537 ath11k_dp_pdev_reo_cleanup(struct ath11k_base *ab) argument 546 ath11k_dp_pdev_reo_setup(struct ath11k_base *ab) argument 573 struct ath11k_base *ab = ar->ab; local 667 ath11k_dp_reo_cmd_list_cleanup(struct ath11k_base *ab) argument 719 ath11k_dp_reo_cache_flush(struct ath11k_base *ab, struct dp_rx_tid *rx_tid) argument 762 struct ath11k_base *ab = dp->ab; local 844 ath11k_dp_rx_link_desc_return(struct ath11k_base *ab, u32 *link_desc, enum hal_wbm_rel_bm_act action) argument 878 struct ath11k_base *ab = rx_tid->ab; local 967 ath11k_dp_rx_tid_mem_free(struct ath11k_base *ab, const u8 *peer_mac, int vdev_id, u8 tid) argument 1000 struct ath11k_base *ab = ar->ab; local 1102 struct ath11k_base *ab = ar->ab; local 1119 struct ath11k_base *ab = ar->ab; local 1168 struct ath11k_base *ab = ar->ab; local 1251 ath11k_htt_tlv_ppdu_stats_parse(struct ath11k_base *ab, u16 tag, u16 len, const void *ptr, void *data) argument 1335 ath11k_dp_htt_tlv_iter(struct ath11k_base *ab, const void *ptr, size_t len, int (*iter)(struct ath11k_base *ar, u16 tag, u16 len, const void *ptr, void *data), void *data) argument 1376 struct ath11k_base *ab = ar->ab; local 1564 ath11k_htt_pull_ppdu_stats(struct ath11k_base *ab, struct sk_buff *skb) argument 1614 ath11k_htt_pktlog(struct ath11k_base *ab, struct sk_buff *skb) argument 1638 ath11k_htt_backpressure_event_handler(struct ath11k_base *ab, struct sk_buff *skb) argument 1687 ath11k_dp_htt_htc_t2h_msg_handler(struct ath11k_base *ab, struct sk_buff *skb) argument 1768 struct ath11k_base *ab = ar->ab; local 2220 ath11k_dp_rx_h_find_peer(struct ath11k_base *ab, struct sk_buff *msdu) argument 2521 struct ath11k_base *ab = ar->ab; local 2597 ath11k_dp_rx_process_received_packets(struct ath11k_base *ab, struct napi_struct *napi, struct sk_buff_head *msdu_list, int mac_id) argument 2634 ath11k_dp_process_rx(struct ath11k_base *ab, int ring_id, struct napi_struct *napi, int budget) argument 2847 ath11k_dp_rx_alloc_mon_status_buf(struct ath11k_base *ab, struct dp_rxdma_ring *rx_ring, int *buf_id) argument 2891 ath11k_dp_rx_mon_status_bufs_replenish(struct ath11k_base *ab, int mac_id, struct dp_rxdma_ring *rx_ring, int req_entries, enum hal_rx_buf_return_buf_manager mgr) argument 2993 ath11k_dp_rx_reap_mon_status_ring(struct ath11k_base *ab, int mac_id, int *budget, struct sk_buff_head *skb_list) argument 3132 struct ath11k_base *ab = ar->ab; local 3369 struct ath11k_base *ab = ar->ab; local 3564 struct ath11k_base *ab = ar->ab; local 3761 ath11k_dp_process_rx_err(struct ath11k_base *ab, struct napi_struct *napi, int budget) argument 4071 ath11k_dp_rx_process_wbm_err(struct ath11k_base *ab, struct napi_struct *napi, int budget) argument 4189 ath11k_dp_process_rxdma_err(struct ath11k_base *ab, int mac_id, int budget) argument 4278 ath11k_dp_process_reo_status(struct ath11k_base *ab) argument 4357 ath11k_dp_rx_pdev_free(struct ath11k_base *ab, int mac_id) argument 4365 ath11k_dp_rx_pdev_alloc(struct ath11k_base *ab, int mac_id) argument 4840 struct ath11k_base *ab = ar->ab; local 5181 ath11k_dp_rx_process_mon_status(struct ath11k_base *ab, int mac_id, struct napi_struct *napi, int budget) argument 5472 struct ath11k_base *ab = ar->ab; local 5496 ath11k_dp_rx_process_full_mon_status_ring(struct ath11k_base *ab, int mac_id, struct napi_struct *napi, int budget) argument 5538 ath11k_dp_full_mon_process_rx(struct ath11k_base *ab, int mac_id, struct napi_struct *napi, int budget) argument 5622 ath11k_dp_rx_process_mon_rings(struct ath11k_base *ab, int mac_id, struct napi_struct *napi, int budget) argument 5709 ath11k_dp_rx_pktlog_start(struct ath11k_base *ab) argument 5718 ath11k_dp_rx_pktlog_stop(struct ath11k_base *ab, bool stop_timer) argument [all...] |
H A D | trace.h | 43 __string(device, dev_name(ar->ab->dev)) 44 __string(driver, dev_driver_string(ar->ab->dev)) 73 __string(device, dev_name(ar->ab->dev)) 74 __string(driver, dev_driver_string(ar->ab->dev)) 100 __string(device, dev_name(ar->ab->dev)) 101 __string(driver, dev_driver_string(ar->ab->dev)) 125 TP_PROTO(struct ath11k_base *ab, struct va_format *vaf), 126 TP_ARGS(ab, vaf), 128 __string(device, dev_name(ab->dev)) 129 __string(driver, dev_driver_string(ab [all...] |
/linux-master/security/ |
H A D | lsm_audit.c | 172 static inline void print_ipv6_addr(struct audit_buffer *ab, argument 177 audit_log_format(ab, " %s=%pI6c", name1, addr); 179 audit_log_format(ab, " %s=%d", name2, ntohs(port)); 182 static inline void print_ipv4_addr(struct audit_buffer *ab, __be32 addr, argument 186 audit_log_format(ab, " %s=%pI4", name1, &addr); 188 audit_log_format(ab, " %s=%d", name2, ntohs(port)); 193 * @ab : the audit buffer 197 static void dump_common_audit_data(struct audit_buffer *ab, argument 209 audit_log_format(ab, " pid=%d comm=", task_tgid_nr(current)); 210 audit_log_untrustedstring(ab, memcp 444 struct audit_buffer *ab; local [all...] |