/Linux-v5.4/drivers/net/wireless/ath/ath10k/ |
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); 188 static inline struct ath10k_pci *ath10k_pci_priv(struct ath10k *ar) in ath10k_pci_priv() 207 void ath10k_pci_write32(struct ath10k *ar, u32 offset, u32 value); 208 void ath10k_pci_soc_write32(struct ath10k *ar, u32 addr, u32 val); 209 void ath10k_pci_reg_write32(struct ath10k *ar, u32 addr, u32 val); 211 u32 ath10k_pci_read32(struct ath10k *ar, u32 offset); [all …]
|
D | debug.h | 79 __printf(2, 3) void ath10k_info(struct ath10k *ar, const char *fmt, ...); 80 __printf(2, 3) void ath10k_err(struct ath10k *ar, const char *fmt, ...); 81 __printf(2, 3) void ath10k_warn(struct ath10k *ar, const char *fmt, ...); 83 void ath10k_debug_print_hwfw_info(struct ath10k *ar); 84 void ath10k_debug_print_board_info(struct ath10k *ar); 85 void ath10k_debug_print_boot_info(struct ath10k *ar); 86 void ath10k_print_driver_info(struct ath10k *ar); 89 int ath10k_debug_start(struct ath10k *ar); 90 void ath10k_debug_stop(struct ath10k *ar); 91 int ath10k_debug_create(struct ath10k *ar); [all …]
|
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 (*swap_mailbox)(struct ath10k *ar); 59 int (*map_service_to_pipe)(struct ath10k *ar, u16 service_id, 62 void (*get_default_pipe)(struct ath10k *ar, u8 *ul_pipe, u8 *dl_pipe); 72 void (*send_complete_check)(struct ath10k *ar, u8 pipe_id, int force); [all …]
|
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 *ar); [all …]
|
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 *ar, struct sk_buff *skb, [all …]
|
D | coredump.h | 170 int ath10k_coredump_submit(struct ath10k *ar); 171 struct ath10k_fw_crash_data *ath10k_coredump_new(struct ath10k *ar); 172 int ath10k_coredump_create(struct ath10k *ar); 173 int ath10k_coredump_register(struct ath10k *ar); 174 void ath10k_coredump_unregister(struct ath10k *ar); 175 void ath10k_coredump_destroy(struct ath10k *ar); 177 const struct ath10k_hw_mem_layout *ath10k_coredump_get_mem_layout(struct ath10k *ar); 181 static inline int ath10k_coredump_submit(struct ath10k *ar) in ath10k_coredump_submit() 186 static inline struct ath10k_fw_crash_data *ath10k_coredump_new(struct ath10k *ar) in ath10k_coredump_new() 191 static inline int ath10k_coredump_create(struct ath10k *ar) in ath10k_coredump_create() [all …]
|
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) in ath10k_ce_priv() 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 *ar); [all …]
|
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) in ath10k_thermal_register() 39 static inline void ath10k_thermal_unregister(struct ath10k *ar) in ath10k_thermal_unregister() 43 static inline void ath10k_thermal_event_temperature(struct ath10k *ar, in ath10k_thermal_event_temperature() 48 static inline void ath10k_thermal_set_throttling(struct ath10k *ar) in ath10k_thermal_set_throttling()
|
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, in ath10k_spectral_process_fft() 58 static inline int ath10k_spectral_start(struct ath10k *ar) in ath10k_spectral_start() 68 static inline int ath10k_spectral_create(struct ath10k *ar) in ath10k_spectral_create() 73 static inline void ath10k_spectral_destroy(struct ath10k *ar) in ath10k_spectral_destroy()
|
D | bmi.h | 222 void ath10k_bmi_start(struct ath10k *ar); 223 int ath10k_bmi_done(struct ath10k *ar); 224 int ath10k_bmi_get_target_info(struct ath10k *ar, 226 int ath10k_bmi_get_target_info_sdio(struct ath10k *ar, 228 int ath10k_bmi_read_memory(struct ath10k *ar, u32 address, 230 int ath10k_bmi_write_memory(struct ath10k *ar, u32 address, 258 int ath10k_bmi_execute(struct ath10k *ar, u32 address, u32 param, u32 *result); 259 int ath10k_bmi_lz_stream_start(struct ath10k *ar, u32 address); 260 int ath10k_bmi_lz_data(struct ath10k *ar, const void *buffer, u32 length); 261 int ath10k_bmi_fast_download(struct ath10k *ar, u32 address, [all …]
|
D | pci.c | 100 static void ath10k_pci_buffer_cleanup(struct ath10k *ar); 101 static int ath10k_pci_cold_reset(struct ath10k *ar); 102 static int ath10k_pci_safe_chip_reset(struct ath10k *ar); 103 static int ath10k_pci_init_irq(struct ath10k *ar); 104 static int ath10k_pci_deinit_irq(struct ath10k *ar); 105 static int ath10k_pci_request_irq(struct ath10k *ar); 106 static void ath10k_pci_free_irq(struct ath10k *ar); 107 static int ath10k_pci_bmi_wait(struct ath10k *ar, 111 static int ath10k_pci_qca99x0_chip_reset(struct ath10k *ar); 429 static bool ath10k_pci_is_awake(struct ath10k *ar) in ath10k_pci_is_awake() [all …]
|
D | Kconfig | 13 If you choose to build a module, it'll be called ath10k. 19 tristate "Atheros ath10k PCI support" 25 bool "Atheros ath10k AHB support" 31 tristate "Atheros ath10k SDIO support (EXPERIMENTAL)" 38 tristate "Atheros ath10k USB support (EXPERIMENTAL)" 45 tristate "Qualcomm ath10k SNOC support (EXPERIMENTAL)" 54 bool "Atheros ath10k debugging" 62 bool "Atheros ath10k debugfs support" 70 bool "Atheros ath10k spectral scan support" 78 bool "Atheros ath10k tracing support" [all …]
|
D | snoc.c | 467 static void ath10k_snoc_write32(struct ath10k *ar, u32 offset, u32 value) in ath10k_snoc_write32() 474 static u32 ath10k_snoc_read32(struct ath10k *ar, u32 offset) in ath10k_snoc_read32() 487 struct ath10k *ar = pipe->hif_ce_state; in __ath10k_snoc_rx_post_buf() 525 struct ath10k *ar = pipe->hif_ce_state; in ath10k_snoc_rx_post_pipe() 553 static void ath10k_snoc_rx_post(struct ath10k *ar) in ath10k_snoc_rx_post() 563 void (*callback)(struct ath10k *ar, in ath10k_snoc_process_rx_cb() 566 struct ath10k *ar = ce_state->ar; in ath10k_snoc_process_rx_cb() 626 static void ath10k_snoc_htt_rx_deliver(struct ath10k *ar, struct sk_buff *skb) in ath10k_snoc_htt_rx_deliver() 641 struct ath10k *ar = ar_snoc->ar; in ath10k_snoc_rx_replenish_retry() 648 struct ath10k *ar = ce_state->ar; in ath10k_snoc_htc_tx_cb() [all …]
|
D | ce.c | 51 static inline u32 shadow_sr_wr_ind_addr(struct ath10k *ar, in shadow_sr_wr_ind_addr() 80 static inline u32 shadow_dst_wr_ind_addr(struct ath10k *ar, in shadow_dst_wr_ind_addr() 133 static inline u32 ath10k_ce_read32(struct ath10k *ar, u32 offset) in ath10k_ce_read32() 140 static inline void ath10k_ce_write32(struct ath10k *ar, u32 offset, u32 value) in ath10k_ce_write32() 147 static inline void ath10k_ce_dest_ring_write_index_set(struct ath10k *ar, in ath10k_ce_dest_ring_write_index_set() 155 static inline u32 ath10k_ce_dest_ring_write_index_get(struct ath10k *ar, in ath10k_ce_dest_ring_write_index_get() 162 static inline void ath10k_ce_src_ring_write_index_set(struct ath10k *ar, in ath10k_ce_src_ring_write_index_set() 170 static inline u32 ath10k_ce_src_ring_write_index_get(struct ath10k *ar, in ath10k_ce_src_ring_write_index_get() 177 static inline u32 ath10k_ce_src_ring_read_index_from_ddr(struct ath10k *ar, in ath10k_ce_src_ring_read_index_from_ddr() 185 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 | 28 static inline struct ath10k_ahb *ath10k_ahb_priv(struct ath10k *ar) in ath10k_ahb_priv() 33 static void ath10k_ahb_write32(struct ath10k *ar, u32 offset, u32 value) in ath10k_ahb_write32() 40 static u32 ath10k_ahb_read32(struct ath10k *ar, u32 offset) in ath10k_ahb_read32() 47 static u32 ath10k_ahb_gcc_read32(struct ath10k *ar, u32 offset) in ath10k_ahb_gcc_read32() 54 static void ath10k_ahb_tcsr_write32(struct ath10k *ar, u32 offset, u32 value) in ath10k_ahb_tcsr_write32() 61 static u32 ath10k_ahb_tcsr_read32(struct ath10k *ar, u32 offset) in ath10k_ahb_tcsr_read32() 68 static u32 ath10k_ahb_soc_read32(struct ath10k *ar, u32 addr) in ath10k_ahb_soc_read32() 73 static int ath10k_ahb_get_num_banks(struct ath10k *ar) in ath10k_ahb_get_num_banks() 82 static int ath10k_ahb_clock_init(struct ath10k *ar) in ath10k_ahb_clock_init() 113 static void ath10k_ahb_clock_deinit(struct ath10k *ar) in ath10k_ahb_clock_deinit() [all …]
|
D | usb.c | 18 static void ath10k_usb_post_recv_transfers(struct ath10k *ar, 74 static void ath10k_usb_free_pipe_resources(struct ath10k *ar, in ath10k_usb_free_pipe_resources() 106 static void ath10k_usb_cleanup_pipe_resources(struct ath10k *ar) in ath10k_usb_cleanup_pipe_resources() 121 struct ath10k *ar = pipe->ar_usb->ar; in ath10k_usb_recv_complete() 178 struct ath10k *ar = pipe->ar_usb->ar; in ath10k_usb_transmit_complete() 197 static void ath10k_usb_post_recv_transfers(struct ath10k *ar, in ath10k_usb_post_recv_transfers() 250 static void ath10k_usb_flush_all(struct ath10k *ar) in ath10k_usb_flush_all() 263 static void ath10k_usb_start_recv_pipes(struct ath10k *ar) in ath10k_usb_start_recv_pipes() 273 static void ath10k_usb_tx_complete(struct ath10k *ar, struct sk_buff *skb) in ath10k_usb_tx_complete() 284 static void ath10k_usb_rx_complete(struct ath10k *ar, struct sk_buff *skb) in ath10k_usb_rx_complete() [all …]
|
D | trace.h | 45 #define TRACE_SYSTEM ath10k 50 TP_PROTO(struct ath10k *ar, struct va_format *vaf), 74 TP_PROTO(struct ath10k *ar, struct va_format *vaf), 79 TP_PROTO(struct ath10k *ar, struct va_format *vaf), 84 TP_PROTO(struct ath10k *ar, struct va_format *vaf), 89 TP_PROTO(struct ath10k *ar, unsigned int level, struct va_format *vaf), 115 TP_PROTO(struct ath10k *ar, const char *msg, const char *prefix, 148 TP_PROTO(struct ath10k *ar, int id, const void *buf, size_t buf_len), 178 TP_PROTO(struct ath10k *ar, int id, const void *buf, size_t buf_len), 208 TP_PROTO(struct ath10k *ar, const void *buf, size_t buf_len), [all …]
|
D | qmi.h | 87 struct ath10k *ar; 109 int ath10k_qmi_wlan_enable(struct ath10k *ar, 113 int ath10k_qmi_wlan_disable(struct ath10k *ar); 115 int ath10k_qmi_init(struct ath10k *ar, u32 msa_size); 116 int ath10k_qmi_deinit(struct ath10k *ar); 117 int ath10k_qmi_set_fw_log_mode(struct ath10k *ar, u8 fw_log_mode);
|
D | sdio.c | 127 static int ath10k_sdio_config(struct ath10k *ar) in ath10k_sdio_config() 212 static int ath10k_sdio_write32(struct ath10k *ar, u32 addr, u32 val) in ath10k_sdio_write32() 236 static int ath10k_sdio_writesb32(struct ath10k *ar, u32 addr, u32 val) in ath10k_sdio_writesb32() 269 static int ath10k_sdio_read32(struct ath10k *ar, u32 addr, u32 *val) in ath10k_sdio_read32() 292 static int ath10k_sdio_read(struct ath10k *ar, u32 addr, void *buf, size_t len) in ath10k_sdio_read() 317 static int ath10k_sdio_write(struct ath10k *ar, u32 addr, const void *buf, size_t len) in ath10k_sdio_write() 345 static int ath10k_sdio_readsb(struct ath10k *ar, u32 addr, void *buf, size_t len) in ath10k_sdio_readsb() 374 static int ath10k_sdio_mbox_rx_process_packet(struct ath10k *ar, in ath10k_sdio_mbox_rx_process_packet() 412 static int ath10k_sdio_mbox_rx_process_packets(struct ath10k *ar, in ath10k_sdio_mbox_rx_process_packets() 487 static int ath10k_sdio_mbox_alloc_pkt_bundle(struct ath10k *ar, in ath10k_sdio_mbox_alloc_pkt_bundle() [all …]
|
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) in ath10k_testmode_destroy() 22 static inline bool ath10k_tm_event_wmi(struct ath10k *ar, u32 cmd_id, in ath10k_tm_event_wmi()
|
D | htc.h | 16 struct ath10k; 291 void (*target_send_suspend_complete)(struct ath10k *ar); 295 void (*ep_tx_complete)(struct ath10k *, struct sk_buff *); 296 void (*ep_rx_complete)(struct ath10k *, struct sk_buff *); 297 void (*ep_tx_credits)(struct ath10k *); 346 struct ath10k *ar; 364 int ath10k_htc_init(struct ath10k *ar); 372 struct sk_buff *ath10k_htc_alloc_skb(struct ath10k *ar, int size); 373 void ath10k_htc_tx_completion_handler(struct ath10k *ar, struct sk_buff *skb); 374 void ath10k_htc_rx_completion_handler(struct ath10k *ar, struct sk_buff *skb);
|
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,
|
D | debug.c | 24 void ath10k_info(struct ath10k *ar, const char *fmt, ...) in ath10k_info() 39 void ath10k_debug_print_hwfw_info(struct ath10k *ar) in ath10k_debug_print_hwfw_info() 71 void ath10k_debug_print_board_info(struct ath10k *ar) in ath10k_debug_print_board_info() 95 void ath10k_debug_print_boot_info(struct ath10k *ar) in ath10k_debug_print_boot_info() 108 void ath10k_print_driver_info(struct ath10k *ar) in ath10k_print_driver_info() 116 void ath10k_err(struct ath10k *ar, const char *fmt, ...) in ath10k_err() 131 void ath10k_warn(struct ath10k *ar, const char *fmt, ...) in ath10k_warn() 153 struct ath10k *ar = file->private_data; in ath10k_read_wmi_services() 242 static void ath10k_debug_fw_stats_reset(struct ath10k *ar) in ath10k_debug_fw_stats_reset() 254 void ath10k_debug_fw_stats_process(struct ath10k *ar, struct sk_buff *skb) in ath10k_debug_fw_stats_process() [all …]
|
D | thermal.c | 28 struct ath10k *ar = cdev->devdata; in ath10k_thermal_get_cur_throttle_state() 41 struct ath10k *ar = cdev->devdata; in ath10k_thermal_set_cur_throttle_state() 65 struct ath10k *ar = dev_get_drvdata(dev); in ath10k_thermal_show_temp() 108 void ath10k_thermal_event_temperature(struct ath10k *ar, int temperature) in ath10k_thermal_event_temperature() 125 void ath10k_thermal_set_throttling(struct ath10k *ar) in ath10k_thermal_set_throttling() 154 int ath10k_thermal_register(struct ath10k *ar) in ath10k_thermal_register() 212 void ath10k_thermal_unregister(struct ath10k *ar) in ath10k_thermal_unregister()
|
/Linux-v5.4/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 32 "qcom,ath10k", "qcom,ipq4019-wifi" compatible targets. 36 name ("legacy") for "qcom,ath10k", "qcom,ipq4019-wifi" 58 - qcom,ath10k-calibration-variant: string to search for in the board-2.bin [all …]
|