/Linux-v4.19/drivers/net/wireless/ath/ath10k/ |
D | pci.h | 98 struct ath10k *hif_ce_state; 120 struct ath10k *ar; 177 int (*pci_soft_reset)(struct ath10k *ar); 180 int (*pci_hard_reset)(struct ath10k *ar); 185 u32 (*targ_cpu_to_ce_addr)(struct ath10k *ar, u32 addr); 194 static inline struct ath10k_pci *ath10k_pci_priv(struct ath10k *ar) in ath10k_pci_priv() 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 *ar, u32 offset); [all …]
|
D | debug.h | 86 __printf(2, 3) void ath10k_info(struct ath10k *ar, const char *fmt, ...); 87 __printf(2, 3) void ath10k_err(struct ath10k *ar, const char *fmt, ...); 88 __printf(2, 3) void ath10k_warn(struct ath10k *ar, const char *fmt, ...); 90 void ath10k_debug_print_hwfw_info(struct ath10k *ar); 91 void ath10k_debug_print_board_info(struct ath10k *ar); 92 void ath10k_debug_print_boot_info(struct ath10k *ar); 93 void ath10k_print_driver_info(struct ath10k *ar); 96 int ath10k_debug_start(struct ath10k *ar); 97 void ath10k_debug_stop(struct ath10k *ar); 98 int ath10k_debug_create(struct ath10k *ar); [all …]
|
D | hif.h | 36 int (*tx_sg)(struct ath10k *ar, u8 pipe_id, 40 int (*diag_read)(struct ath10k *ar, u32 address, void *buf, 43 int (*diag_write)(struct ath10k *ar, u32 address, const void *data, 50 int (*exchange_bmi_msg)(struct ath10k *ar, 55 int (*start)(struct ath10k *ar); 60 void (*stop)(struct ath10k *ar); 62 int (*map_service_to_pipe)(struct ath10k *ar, u16 service_id, 65 void (*get_default_pipe)(struct ath10k *ar, u8 *ul_pipe, u8 *dl_pipe); 75 void (*send_complete_check)(struct ath10k *ar, u8 pipe_id, int force); 77 u16 (*get_free_queue_number)(struct ath10k *ar, u8 pipe_id); [all …]
|
D | mac.h | 30 struct ath10k *ar; 42 struct ath10k *ath10k_mac_create(size_t priv_size); 43 void ath10k_mac_destroy(struct ath10k *ar); 44 int ath10k_mac_register(struct ath10k *ar); 45 void ath10k_mac_unregister(struct ath10k *ar); 46 struct ath10k_vif *ath10k_get_arvif(struct ath10k *ar, u32 vdev_id); 47 void __ath10k_scan_finish(struct ath10k *ar); 48 void ath10k_scan_finish(struct ath10k *ar); 50 void ath10k_offchan_tx_purge(struct ath10k *ar); 52 void ath10k_mgmt_over_wmi_tx_purge(struct ath10k *ar); [all …]
|
D | wmi-ops.h | 22 struct ath10k; 26 void (*rx)(struct ath10k *ar, struct sk_buff *skb); 30 int (*pull_scan)(struct ath10k *ar, struct sk_buff *skb, 32 int (*pull_mgmt_rx)(struct ath10k *ar, struct sk_buff *skb, 34 int (*pull_mgmt_tx_compl)(struct ath10k *ar, struct sk_buff *skb, 36 int (*pull_ch_info)(struct ath10k *ar, struct sk_buff *skb, 38 int (*pull_vdev_start)(struct ath10k *ar, struct sk_buff *skb, 40 int (*pull_peer_kick)(struct ath10k *ar, struct sk_buff *skb, 42 int (*pull_swba)(struct ath10k *ar, struct sk_buff *skb, 44 int (*pull_phyerr_hdr)(struct ath10k *ar, struct sk_buff *skb, [all …]
|
D | coredump.h | 180 int ath10k_coredump_submit(struct ath10k *ar); 181 struct ath10k_fw_crash_data *ath10k_coredump_new(struct ath10k *ar); 182 int ath10k_coredump_create(struct ath10k *ar); 183 int ath10k_coredump_register(struct ath10k *ar); 184 void ath10k_coredump_unregister(struct ath10k *ar); 185 void ath10k_coredump_destroy(struct ath10k *ar); 187 const struct ath10k_hw_mem_layout *ath10k_coredump_get_mem_layout(struct ath10k *ar); 191 static inline int ath10k_coredump_submit(struct ath10k *ar) in ath10k_coredump_submit() 196 static inline struct ath10k_fw_crash_data *ath10k_coredump_new(struct ath10k *ar) in ath10k_coredump_new() 201 static inline int ath10k_coredump_create(struct ath10k *ar) in ath10k_coredump_create() [all …]
|
D | ce.h | 128 struct ath10k *ar; 148 u32 (*read32)(struct ath10k *ar, u32 offset); 149 void (*write32)(struct ath10k *ar, u32 offset, u32 value); 150 int (*get_num_banks)(struct ath10k *ar); 153 static inline struct ath10k_ce *ath10k_ce_priv(struct ath10k *ar) in ath10k_ce_priv() 234 int ath10k_ce_init_pipe(struct ath10k *ar, unsigned int ce_id, 236 void ath10k_ce_deinit_pipe(struct ath10k *ar, unsigned int ce_id); 237 int ath10k_ce_alloc_pipe(struct ath10k *ar, int ce_id, 239 void ath10k_ce_free_pipe(struct ath10k *ar, int ce_id); 267 void ath10k_ce_per_engine_service_any(struct ath10k *ar); [all …]
|
D | thermal.h | 40 int ath10k_thermal_register(struct ath10k *ar); 41 void ath10k_thermal_unregister(struct ath10k *ar); 42 void ath10k_thermal_event_temperature(struct ath10k *ar, int temperature); 43 void ath10k_thermal_set_throttling(struct ath10k *ar); 45 static inline int ath10k_thermal_register(struct ath10k *ar) in ath10k_thermal_register() 50 static inline void ath10k_thermal_unregister(struct ath10k *ar) in ath10k_thermal_unregister() 54 static inline void ath10k_thermal_event_temperature(struct ath10k *ar, in ath10k_thermal_event_temperature() 59 static inline void ath10k_thermal_set_throttling(struct ath10k *ar) in ath10k_thermal_set_throttling()
|
D | spectral.h | 49 int ath10k_spectral_process_fft(struct ath10k *ar, 53 int ath10k_spectral_start(struct ath10k *ar); 55 int ath10k_spectral_create(struct ath10k *ar); 56 void ath10k_spectral_destroy(struct ath10k *ar); 61 ath10k_spectral_process_fft(struct ath10k *ar, in ath10k_spectral_process_fft() 69 static inline int ath10k_spectral_start(struct ath10k *ar) in ath10k_spectral_start() 79 static inline int ath10k_spectral_create(struct ath10k *ar) in ath10k_spectral_create() 84 static inline void ath10k_spectral_destroy(struct ath10k *ar) in ath10k_spectral_destroy()
|
D | bmi.h | 199 void ath10k_bmi_start(struct ath10k *ar); 200 int ath10k_bmi_done(struct ath10k *ar); 201 int ath10k_bmi_get_target_info(struct ath10k *ar, 203 int ath10k_bmi_get_target_info_sdio(struct ath10k *ar, 205 int ath10k_bmi_read_memory(struct ath10k *ar, u32 address, 207 int ath10k_bmi_write_memory(struct ath10k *ar, u32 address, 235 int ath10k_bmi_execute(struct ath10k *ar, u32 address, u32 param, u32 *result); 236 int ath10k_bmi_lz_stream_start(struct ath10k *ar, u32 address); 237 int ath10k_bmi_lz_data(struct ath10k *ar, const void *buffer, u32 length); 238 int ath10k_bmi_fast_download(struct ath10k *ar, u32 address, [all …]
|
D | pci.c | 111 static void ath10k_pci_buffer_cleanup(struct ath10k *ar); 112 static int ath10k_pci_cold_reset(struct ath10k *ar); 113 static int ath10k_pci_safe_chip_reset(struct ath10k *ar); 114 static int ath10k_pci_init_irq(struct ath10k *ar); 115 static int ath10k_pci_deinit_irq(struct ath10k *ar); 116 static int ath10k_pci_request_irq(struct ath10k *ar); 117 static void ath10k_pci_free_irq(struct ath10k *ar); 118 static int ath10k_pci_bmi_wait(struct ath10k *ar, 122 static int ath10k_pci_qca99x0_chip_reset(struct ath10k *ar); 440 static bool ath10k_pci_is_awake(struct ath10k *ar) in ath10k_pci_is_awake() [all …]
|
D | Kconfig | 12 If you choose to build a module, it'll be called ath10k. 18 tristate "Atheros ath10k PCI support" 24 bool "Atheros ath10k AHB support" 30 tristate "Atheros ath10k SDIO support (EXPERIMENTAL)" 37 tristate "Atheros ath10k USB support (EXPERIMENTAL)" 44 tristate "Qualcomm ath10k SNOC support (EXPERIMENTAL)" 52 bool "Atheros ath10k debugging" 60 bool "Atheros ath10k debugfs support" 68 bool "Atheros ath10k spectral scan support" 76 bool "Atheros ath10k tracing support" [all …]
|
D | snoc.c | 288 void ath10k_snoc_write32(struct ath10k *ar, u32 offset, u32 value) in ath10k_snoc_write32() 295 u32 ath10k_snoc_read32(struct ath10k *ar, u32 offset) in ath10k_snoc_read32() 308 struct ath10k *ar = pipe->hif_ce_state; in __ath10k_snoc_rx_post_buf() 346 struct ath10k *ar = pipe->hif_ce_state; in ath10k_snoc_rx_post_pipe() 374 static void ath10k_snoc_rx_post(struct ath10k *ar) in ath10k_snoc_rx_post() 384 void (*callback)(struct ath10k *ar, in ath10k_snoc_process_rx_cb() 387 struct ath10k *ar = ce_state->ar; in ath10k_snoc_process_rx_cb() 439 static void ath10k_snoc_htt_rx_deliver(struct ath10k *ar, struct sk_buff *skb) in ath10k_snoc_htt_rx_deliver() 454 struct ath10k *ar = ar_snoc->ar; in ath10k_snoc_rx_replenish_retry() 461 struct ath10k *ar = ce_state->ar; in ath10k_snoc_htc_tx_cb() [all …]
|
D | ce.c | 62 static inline u32 shadow_sr_wr_ind_addr(struct ath10k *ar, in shadow_sr_wr_ind_addr() 91 static inline u32 shadow_dst_wr_ind_addr(struct ath10k *ar, in shadow_dst_wr_ind_addr() 144 static inline u32 ath10k_ce_read32(struct ath10k *ar, u32 offset) in ath10k_ce_read32() 151 static inline void ath10k_ce_write32(struct ath10k *ar, u32 offset, u32 value) in ath10k_ce_write32() 158 static inline void ath10k_ce_dest_ring_write_index_set(struct ath10k *ar, in ath10k_ce_dest_ring_write_index_set() 166 static inline u32 ath10k_ce_dest_ring_write_index_get(struct ath10k *ar, in ath10k_ce_dest_ring_write_index_get() 173 static inline void ath10k_ce_src_ring_write_index_set(struct ath10k *ar, in ath10k_ce_src_ring_write_index_set() 181 static inline u32 ath10k_ce_src_ring_write_index_get(struct ath10k *ar, in ath10k_ce_src_ring_write_index_get() 188 static inline u32 ath10k_ce_src_ring_read_index_from_ddr(struct ath10k *ar, in ath10k_ce_src_ring_read_index_from_ddr() 196 static inline u32 ath10k_ce_src_ring_read_index_get(struct ath10k *ar, in ath10k_ce_src_ring_read_index_get() [all …]
|
D | ahb.c | 39 static inline struct ath10k_ahb *ath10k_ahb_priv(struct ath10k *ar) in ath10k_ahb_priv() 44 static void ath10k_ahb_write32(struct ath10k *ar, u32 offset, u32 value) in ath10k_ahb_write32() 51 static u32 ath10k_ahb_read32(struct ath10k *ar, u32 offset) in ath10k_ahb_read32() 58 static u32 ath10k_ahb_gcc_read32(struct ath10k *ar, u32 offset) in ath10k_ahb_gcc_read32() 65 static void ath10k_ahb_tcsr_write32(struct ath10k *ar, u32 offset, u32 value) in ath10k_ahb_tcsr_write32() 72 static u32 ath10k_ahb_tcsr_read32(struct ath10k *ar, u32 offset) in ath10k_ahb_tcsr_read32() 79 static u32 ath10k_ahb_soc_read32(struct ath10k *ar, u32 addr) in ath10k_ahb_soc_read32() 84 static int ath10k_ahb_get_num_banks(struct ath10k *ar) in ath10k_ahb_get_num_banks() 93 static int ath10k_ahb_clock_init(struct ath10k *ar) in ath10k_ahb_clock_init() 124 static void ath10k_ahb_clock_deinit(struct ath10k *ar) in ath10k_ahb_clock_deinit() [all …]
|
D | usb.c | 29 static void ath10k_usb_post_recv_transfers(struct ath10k *ar, 85 static void ath10k_usb_free_pipe_resources(struct ath10k *ar, in ath10k_usb_free_pipe_resources() 117 static void ath10k_usb_cleanup_pipe_resources(struct ath10k *ar) in ath10k_usb_cleanup_pipe_resources() 132 struct ath10k *ar = pipe->ar_usb->ar; in ath10k_usb_recv_complete() 189 struct ath10k *ar = pipe->ar_usb->ar; in ath10k_usb_transmit_complete() 208 static void ath10k_usb_post_recv_transfers(struct ath10k *ar, in ath10k_usb_post_recv_transfers() 261 static void ath10k_usb_flush_all(struct ath10k *ar) in ath10k_usb_flush_all() 274 static void ath10k_usb_start_recv_pipes(struct ath10k *ar) in ath10k_usb_start_recv_pipes() 284 static void ath10k_usb_tx_complete(struct ath10k *ar, struct sk_buff *skb) in ath10k_usb_tx_complete() 295 static void ath10k_usb_rx_complete(struct ath10k *ar, struct sk_buff *skb) in ath10k_usb_rx_complete() [all …]
|
D | trace.h | 52 #define TRACE_SYSTEM ath10k 57 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, struct va_format *vaf), 91 TP_PROTO(struct ath10k *ar, struct va_format *vaf), 96 TP_PROTO(struct ath10k *ar, unsigned int level, struct va_format *vaf), 122 TP_PROTO(struct ath10k *ar, const char *msg, const char *prefix, 155 TP_PROTO(struct ath10k *ar, int id, const void *buf, size_t buf_len), 185 TP_PROTO(struct ath10k *ar, int id, const void *buf, size_t buf_len), 215 TP_PROTO(struct ath10k *ar, const void *buf, size_t buf_len), [all …]
|
D | sdio.c | 138 static int ath10k_sdio_config(struct ath10k *ar) in ath10k_sdio_config() 223 static int ath10k_sdio_write32(struct ath10k *ar, u32 addr, u32 val) in ath10k_sdio_write32() 247 static int ath10k_sdio_writesb32(struct ath10k *ar, u32 addr, u32 val) in ath10k_sdio_writesb32() 280 static int ath10k_sdio_read32(struct ath10k *ar, u32 addr, u32 *val) in ath10k_sdio_read32() 303 static int ath10k_sdio_read(struct ath10k *ar, u32 addr, void *buf, size_t len) in ath10k_sdio_read() 328 static int ath10k_sdio_write(struct ath10k *ar, u32 addr, const void *buf, size_t len) in ath10k_sdio_write() 356 static int ath10k_sdio_readsb(struct ath10k *ar, u32 addr, void *buf, size_t len) in ath10k_sdio_readsb() 385 static int ath10k_sdio_mbox_rx_process_packet(struct ath10k *ar, in ath10k_sdio_mbox_rx_process_packet() 428 static int ath10k_sdio_mbox_rx_process_packets(struct ath10k *ar, in ath10k_sdio_mbox_rx_process_packets() 503 static int ath10k_sdio_mbox_alloc_pkt_bundle(struct ath10k *ar, in ath10k_sdio_mbox_alloc_pkt_bundle() [all …]
|
D | snoc.h | 36 struct ath10k *hif_ce_state; 73 struct ath10k *ar; 86 static inline struct ath10k_snoc *ath10k_snoc_priv(struct ath10k *ar) in ath10k_snoc_priv() 91 void ath10k_snoc_write32(struct ath10k *ar, u32 offset, u32 value); 92 u32 ath10k_snoc_read32(struct ath10k *ar, u32 offset);
|
D | testmode.h | 21 void ath10k_testmode_destroy(struct ath10k *ar); 23 bool ath10k_tm_event_wmi(struct ath10k *ar, u32 cmd_id, struct sk_buff *skb); 29 static inline void ath10k_testmode_destroy(struct ath10k *ar) in ath10k_testmode_destroy() 33 static inline bool ath10k_tm_event_wmi(struct ath10k *ar, u32 cmd_id, in ath10k_tm_event_wmi()
|
D | htc.h | 27 struct ath10k; 303 void (*target_send_suspend_complete)(struct ath10k *ar); 307 void (*ep_tx_complete)(struct ath10k *, struct sk_buff *); 308 void (*ep_rx_complete)(struct ath10k *, struct sk_buff *); 309 void (*ep_tx_credits)(struct ath10k *); 358 struct ath10k *ar; 376 int ath10k_htc_init(struct ath10k *ar); 384 struct sk_buff *ath10k_htc_alloc_skb(struct ath10k *ar, int size); 385 void ath10k_htc_tx_completion_handler(struct ath10k *ar, struct sk_buff *skb); 386 void ath10k_htc_rx_completion_handler(struct ath10k *ar, struct sk_buff *skb);
|
D | txrx.h | 25 struct ath10k_peer *ath10k_peer_find(struct ath10k *ar, int vdev_id, 27 struct ath10k_peer *ath10k_peer_find_by_id(struct ath10k *ar, int peer_id); 28 int ath10k_wait_for_peer_created(struct ath10k *ar, int vdev_id, 30 int ath10k_wait_for_peer_deleted(struct ath10k *ar, int vdev_id,
|
D | debug.c | 35 void ath10k_info(struct ath10k *ar, const char *fmt, ...) in ath10k_info() 50 void ath10k_debug_print_hwfw_info(struct ath10k *ar) in ath10k_debug_print_hwfw_info() 82 void ath10k_debug_print_board_info(struct ath10k *ar) in ath10k_debug_print_board_info() 106 void ath10k_debug_print_boot_info(struct ath10k *ar) in ath10k_debug_print_boot_info() 119 void ath10k_print_driver_info(struct ath10k *ar) in ath10k_print_driver_info() 127 void ath10k_err(struct ath10k *ar, const char *fmt, ...) in ath10k_err() 142 void ath10k_warn(struct ath10k *ar, const char *fmt, ...) in ath10k_warn() 164 struct ath10k *ar = file->private_data; in ath10k_read_wmi_services() 253 static void ath10k_debug_fw_stats_reset(struct ath10k *ar) in ath10k_debug_fw_stats_reset() 265 void ath10k_debug_fw_stats_process(struct ath10k *ar, struct sk_buff *skb) in ath10k_debug_fw_stats_process() [all …]
|
D | thermal.c | 39 struct ath10k *ar = cdev->devdata; in ath10k_thermal_get_cur_throttle_state() 52 struct ath10k *ar = cdev->devdata; in ath10k_thermal_set_cur_throttle_state() 76 struct ath10k *ar = dev_get_drvdata(dev); in ath10k_thermal_show_temp() 119 void ath10k_thermal_event_temperature(struct ath10k *ar, int temperature) in ath10k_thermal_event_temperature() 136 void ath10k_thermal_set_throttling(struct ath10k *ar) in ath10k_thermal_set_throttling() 162 int ath10k_thermal_register(struct ath10k *ar) in ath10k_thermal_register() 217 void ath10k_thermal_unregister(struct ath10k *ar) in ath10k_thermal_unregister()
|
/Linux-v4.19/Documentation/devicetree/bindings/net/wireless/ |
D | qcom,ath10k.txt | 1 * Qualcomm Atheros ath10k wireless devices 5 * "qcom,ath10k" 9 PCI based devices uses compatible string "qcom,ath10k" and takes calibration 10 data along with board specific data via "qcom,ath10k-calibration-data". 15 "qcom,ath10k-calibration-data"). It uses "qcom,ath10k-pre-calibration-data" 18 In general, entry "qcom,ath10k-pre-calibration-data" and 19 "qcom,ath10k-calibration-data" conflict with each other and only one 49 - qcom,ath10k-calibration-variant: string to search for in the board-2.bin 52 - qcom,ath10k-calibration-data : calibration data + board specific data 55 - qcom,ath10k-pre-calibration-data : pre calibration data as an array, [all …]
|