/freebsd-current/sys/contrib/dev/athk/ath10k/ |
H A D | fwlog.h | 19 void ath10k_fwlog_register(struct ath10k *ar); 20 void ath10k_fwlog_unregister(struct ath10k *ar); 22 void ath10k_handle_fwlog_msg(struct ath10k *ar, struct sk_buff *skb);
|
H A D | thermal.h | 29 int ath10k_thermal_register(struct ath10k *ar); 30 void ath10k_thermal_unregister(struct ath10k *ar); 31 void ath10k_thermal_event_temperature(struct ath10k *ar, int temperature); 32 void ath10k_thermal_set_throttling(struct ath10k *ar); 34 static inline int ath10k_thermal_register(struct ath10k *ar) 39 static inline void ath10k_thermal_unregister(struct ath10k *ar) 43 static inline void ath10k_thermal_event_temperature(struct ath10k *ar, 48 static inline void ath10k_thermal_set_throttling(struct ath10k *ar)
|
H A D | pci.h | 88 struct ath10k *hif_ce_state; 110 struct ath10k *ar; 171 int (*pci_soft_reset)(struct ath10k *ar); 174 int (*pci_hard_reset)(struct ath10k *ar); 179 u32 (*targ_cpu_to_ce_addr)(struct ath10k *ar, u32 addr); 193 static inline struct ath10k_pci *ath10k_pci_priv(struct ath10k *ar) 212 void ath10k_pci_write32(struct ath10k *ar, u32 offset, u32 value); 213 void ath10k_pci_soc_write32(struct ath10k *ar, u32 addr, u32 val); 214 void ath10k_pci_reg_write32(struct ath10k *ar, u32 addr, u32 val); 216 u32 ath10k_pci_read32(struct ath10k *a [all...] |
H A D | mac.h | 19 struct ath10k *ar; 31 struct ath10k *ath10k_mac_create(size_t priv_size); 32 void ath10k_mac_destroy(struct ath10k *ar); 33 int ath10k_mac_register(struct ath10k *ar); 34 void ath10k_mac_unregister(struct ath10k *ar); 35 struct ath10k_vif *ath10k_get_arvif(struct ath10k *ar, u32 vdev_id); 36 void __ath10k_scan_finish(struct ath10k *ar); 37 void ath10k_scan_finish(struct ath10k *ar); 39 void ath10k_offchan_tx_purge(struct ath10k *ar); 41 void ath10k_mgmt_over_wmi_tx_purge(struct ath10k *a [all...] |
H A D | spectral.h | 38 int ath10k_spectral_process_fft(struct ath10k *ar, 42 int ath10k_spectral_start(struct ath10k *ar); 44 int ath10k_spectral_create(struct ath10k *ar); 45 void ath10k_spectral_destroy(struct ath10k *ar); 50 ath10k_spectral_process_fft(struct ath10k *ar, 58 static inline int ath10k_spectral_start(struct ath10k *ar) 68 static inline int ath10k_spectral_create(struct ath10k *ar) 73 static inline void ath10k_spectral_destroy(struct ath10k *ar)
|
H A D | testmode.h | 10 void ath10k_testmode_destroy(struct ath10k *ar); 12 bool ath10k_tm_event_wmi(struct ath10k *ar, u32 cmd_id, struct sk_buff *skb); 18 static inline void ath10k_testmode_destroy(struct ath10k *ar) 22 static inline bool ath10k_tm_event_wmi(struct ath10k *ar, u32 cmd_id,
|
H A D | txrx.h | 14 struct ath10k_peer *ath10k_peer_find(struct ath10k *ar, int vdev_id, 16 struct ath10k_peer *ath10k_peer_find_by_id(struct ath10k *ar, int peer_id); 17 int ath10k_wait_for_peer_created(struct ath10k *ar, int vdev_id, 19 int ath10k_wait_for_peer_deleted(struct ath10k *ar, int vdev_id,
|
H A D | debug.h | 80 __printf(2, 3) void ath10k_info(struct ath10k *ar, const char *fmt, ...); 81 __printf(2, 3) void ath10k_err(struct ath10k *ar, const char *fmt, ...); 82 __printf(2, 3) void ath10k_warn(struct ath10k *ar, const char *fmt, ...); 84 void ath10k_debug_print_hwfw_info(struct ath10k *ar); 85 void ath10k_debug_print_board_info(struct ath10k *ar); 86 void ath10k_debug_print_boot_info(struct ath10k *ar); 87 void ath10k_print_driver_info(struct ath10k *ar); 90 int ath10k_debug_start(struct ath10k *ar); 91 void ath10k_debug_stop(struct ath10k *ar); 92 int ath10k_debug_create(struct ath10k *a [all...] |
H A D | hif.h | 31 int (*tx_sg)(struct ath10k *ar, u8 pipe_id, 35 int (*diag_read)(struct ath10k *ar, u32 address, void *buf, 38 int (*diag_write)(struct ath10k *ar, u32 address, const void *data, 45 int (*exchange_bmi_msg)(struct ath10k *ar, 50 int (*start)(struct ath10k *ar); 55 void (*stop)(struct ath10k *ar); 57 int (*start_post)(struct ath10k *ar); 59 int (*get_htt_tx_complete)(struct ath10k *ar); 61 int (*map_service_to_pipe)(struct ath10k *ar, u16 service_id, 64 void (*get_default_pipe)(struct ath10k *a [all...] |
H A D | coredump.h | 49 /* some info we can get from ath10k struct that might help */ 172 int ath10k_coredump_submit(struct ath10k *ar); 173 struct ath10k_fw_crash_data *ath10k_coredump_new(struct ath10k *ar); 174 int ath10k_coredump_create(struct ath10k *ar); 175 int ath10k_coredump_register(struct ath10k *ar); 176 void ath10k_coredump_unregister(struct ath10k *ar); 177 void ath10k_coredump_destroy(struct ath10k *ar); 179 const struct ath10k_hw_mem_layout *_ath10k_coredump_get_mem_layout(struct ath10k *ar); 180 const struct ath10k_hw_mem_layout *ath10k_coredump_get_mem_layout(struct ath10k *ar); 184 static inline int ath10k_coredump_submit(struct ath10k *a [all...] |
H A D | wow.h | 16 int ath10k_wow_init(struct ath10k *ar); 24 static inline int ath10k_wow_init(struct ath10k *ar)
|
H A D | wmi-ops.h | 11 struct ath10k; 15 void (*rx)(struct ath10k *ar, struct sk_buff *skb); 19 int (*pull_scan)(struct ath10k *ar, struct sk_buff *skb, 21 int (*pull_mgmt_rx)(struct ath10k *ar, struct sk_buff *skb, 23 int (*pull_mgmt_tx_compl)(struct ath10k *ar, struct sk_buff *skb, 26 struct ath10k *ar, struct sk_buff *skb, 28 int (*pull_ch_info)(struct ath10k *ar, struct sk_buff *skb, 30 int (*pull_vdev_start)(struct ath10k *ar, struct sk_buff *skb, 32 int (*pull_peer_kick)(struct ath10k *ar, struct sk_buff *skb, 34 int (*pull_swba)(struct ath10k *a [all...] |
H A D | ce.h | 117 struct ath10k *ar; 137 u32 (*read32)(struct ath10k *ar, u32 offset); 138 void (*write32)(struct ath10k *ar, u32 offset, u32 value); 139 int (*get_num_banks)(struct ath10k *ar); 142 static inline struct ath10k_ce *ath10k_ce_priv(struct ath10k *ar) 223 int ath10k_ce_init_pipe(struct ath10k *ar, unsigned int ce_id, 225 void ath10k_ce_deinit_pipe(struct ath10k *ar, unsigned int ce_id); 226 int ath10k_ce_alloc_pipe(struct ath10k *ar, int ce_id, 228 void ath10k_ce_free_pipe(struct ath10k *ar, int ce_id); 256 void ath10k_ce_per_engine_service_any(struct ath10k *a [all...] |
H A D | p2p.h | 14 void ath10k_p2p_noa_update_by_vdev_id(struct ath10k *ar, u32 vdev_id,
|
H A D | snoc.h | 29 struct ath10k *hif_ce_state; 60 struct ath10k *ar; 89 static inline struct ath10k_snoc *ath10k_snoc_priv(struct ath10k *ar) 94 int ath10k_snoc_fw_indication(struct ath10k *ar, u64 type); 95 void ath10k_snoc_fw_crashed_dump(struct ath10k *ar);
|
H A D | swap.h | 52 int ath10k_swap_code_seg_configure(struct ath10k *ar, 54 void ath10k_swap_code_seg_release(struct ath10k *ar, 56 int ath10k_swap_code_seg_init(struct ath10k *ar,
|
H A D | qmi.h | 92 struct ath10k *ar; 113 int ath10k_qmi_wlan_enable(struct ath10k *ar, 117 int ath10k_qmi_wlan_disable(struct ath10k *ar); 118 int ath10k_qmi_init(struct ath10k *ar, u32 msa_size); 119 int ath10k_qmi_deinit(struct ath10k *ar); 120 int ath10k_qmi_set_fw_log_mode(struct ath10k *ar, u8 fw_log_mode);
|
H A D | bmi.h | 231 void ath10k_bmi_start(struct ath10k *ar); 232 int ath10k_bmi_done(struct ath10k *ar); 233 int ath10k_bmi_get_target_info(struct ath10k *ar, 235 int ath10k_bmi_get_target_info_sdio(struct ath10k *ar, 238 int ath10k_bmi_read_memory(struct ath10k *ar, u32 address, 240 int ath10k_bmi_write_memory(struct ath10k *ar, u32 address, 243 int ath10k_bmi_read_memory(struct ath10k *ar, u32 address, 245 int ath10k_bmi_write_memory(struct ath10k *ar, u32 address, 274 int ath10k_bmi_execute(struct ath10k *ar, u32 address, u32 param, u32 *result); 275 int ath10k_bmi_lz_stream_start(struct ath10k *a [all...] |
H A D | ahb.c | 28 static inline struct ath10k_ahb *ath10k_ahb_priv(struct ath10k *ar) 33 static void ath10k_ahb_write32(struct ath10k *ar, u32 offset, u32 value) 40 static u32 ath10k_ahb_read32(struct ath10k *ar, u32 offset) 47 static u32 ath10k_ahb_gcc_read32(struct ath10k *ar, u32 offset) 54 static void ath10k_ahb_tcsr_write32(struct ath10k *ar, u32 offset, u32 value) 61 static u32 ath10k_ahb_tcsr_read32(struct ath10k *ar, u32 offset) 68 static u32 ath10k_ahb_soc_read32(struct ath10k *ar, u32 addr) 73 static int ath10k_ahb_get_num_banks(struct ath10k *ar) 82 static int ath10k_ahb_clock_init(struct ath10k *ar) 113 static void ath10k_ahb_clock_deinit(struct ath10k *a [all...] |
H A D | thermal.c | 28 struct ath10k *ar = cdev->devdata; 41 struct ath10k *ar = cdev->devdata; 65 struct ath10k *ar = dev_get_drvdata(dev); 108 void ath10k_thermal_event_temperature(struct ath10k *ar, int temperature) 125 void ath10k_thermal_set_throttling(struct ath10k *ar) 154 int ath10k_thermal_register(struct ath10k *ar) 212 void ath10k_thermal_unregister(struct ath10k *ar)
|
H A D | ce.c | 51 static inline u32 shadow_sr_wr_ind_addr(struct ath10k *ar, 87 static inline u32 ath10k_ce_read32(struct ath10k *ar, u32 offset) 94 static inline void ath10k_ce_write32(struct ath10k *ar, u32 offset, u32 value) 101 static inline void ath10k_ce_dest_ring_write_index_set(struct ath10k *ar, 109 static inline u32 ath10k_ce_dest_ring_write_index_get(struct ath10k *ar, 116 static inline void ath10k_ce_src_ring_write_index_set(struct ath10k *ar, 124 static inline u32 ath10k_ce_src_ring_write_index_get(struct ath10k *ar, 131 static inline u32 ath10k_ce_src_ring_read_index_from_ddr(struct ath10k *ar, 139 static inline u32 ath10k_ce_src_ring_read_index_get(struct ath10k *ar, 158 ath10k_ce_shadow_src_ring_write_index_set(struct ath10k *a [all...] |
H A D | swap.c | 15 static int ath10k_swap_code_seg_fill(struct ath10k *ar, 73 ath10k_swap_code_seg_free(struct ath10k *ar, 90 ath10k_swap_code_seg_alloc(struct ath10k *ar, size_t swap_bin_len) 124 int ath10k_swap_code_seg_configure(struct ath10k *ar, 153 void ath10k_swap_code_seg_release(struct ath10k *ar, 167 int ath10k_swap_code_seg_init(struct ath10k *ar, struct ath10k_fw_file *fw_file)
|
H A D | usb.h | 101 struct ath10k *ar; 109 struct ath10k *ar; 112 static inline struct ath10k_usb *ath10k_usb_priv(struct ath10k *ar)
|
H A D | txrx.c | 14 static void ath10k_report_offchan_tx(struct ath10k *ar, struct sk_buff *skb) 47 struct ath10k *ar = htt->ar; 150 struct ath10k_peer *ath10k_peer_find(struct ath10k *ar, int vdev_id, 169 struct ath10k_peer *ath10k_peer_find_by_id(struct ath10k *ar, int peer_id) 185 static int ath10k_wait_for_peer_common(struct ath10k *ar, int vdev_id, 207 int ath10k_wait_for_peer_created(struct ath10k *ar, int vdev_id, const u8 *addr) 212 int ath10k_wait_for_peer_deleted(struct ath10k *ar, int vdev_id, const u8 *addr) 220 struct ath10k *ar = htt->ar; 256 struct ath10k *ar = htt->ar;
|
H A D | trace.h | 45 #define TRACE_SYSTEM ath10k 50 TP_PROTO(struct ath10k *ar, struct va_format *vaf), 71 TP_PROTO(struct ath10k *ar, struct va_format *vaf), 76 TP_PROTO(struct ath10k *ar, struct va_format *vaf), 81 TP_PROTO(struct ath10k *ar, struct va_format *vaf), 86 TP_PROTO(struct ath10k *ar, unsigned int level, struct va_format *vaf), 109 TP_PROTO(struct ath10k *ar, const char *msg, const char *prefix, 142 TP_PROTO(struct ath10k *ar, int id, const void *buf, size_t buf_len), 172 TP_PROTO(struct ath10k *ar, int id, const void *buf, size_t buf_len), 202 TP_PROTO(struct ath10k *a [all...] |