Lines Matching defs:ar
421 static bool ath10k_pci_is_awake(struct ath10k *ar) in ath10k_pci_is_awake()
430 static void __ath10k_pci_wake(struct ath10k *ar) in __ath10k_pci_wake()
444 static void __ath10k_pci_sleep(struct ath10k *ar) in __ath10k_pci_sleep()
459 static int ath10k_pci_wake_wait(struct ath10k *ar) in ath10k_pci_wake_wait()
482 static int ath10k_pci_force_wake(struct ath10k *ar) in ath10k_pci_force_wake()
505 static void ath10k_pci_force_sleep(struct ath10k *ar) in ath10k_pci_force_sleep()
520 static int ath10k_pci_wake(struct ath10k *ar) in ath10k_pci_wake()
555 static void ath10k_pci_sleep(struct ath10k *ar) in ath10k_pci_sleep()
582 struct ath10k *ar = (void *)ptr; in ath10k_pci_ps_timer() local
600 static void ath10k_pci_sleep_sync(struct ath10k *ar) in ath10k_pci_sleep_sync()
618 void ath10k_pci_write32(struct ath10k *ar, u32 offset, u32 value) in ath10k_pci_write32()
640 u32 ath10k_pci_read32(struct ath10k *ar, u32 offset) in ath10k_pci_read32()
665 u32 ath10k_pci_soc_read32(struct ath10k *ar, u32 addr) in ath10k_pci_soc_read32()
670 void ath10k_pci_soc_write32(struct ath10k *ar, u32 addr, u32 val) in ath10k_pci_soc_write32()
675 u32 ath10k_pci_reg_read32(struct ath10k *ar, u32 addr) in ath10k_pci_reg_read32()
680 void ath10k_pci_reg_write32(struct ath10k *ar, u32 addr, u32 val) in ath10k_pci_reg_write32()
685 static bool ath10k_pci_irq_pending(struct ath10k *ar) in ath10k_pci_irq_pending()
698 static void ath10k_pci_disable_and_clear_legacy_irq(struct ath10k *ar) in ath10k_pci_disable_and_clear_legacy_irq()
714 static void ath10k_pci_enable_legacy_irq(struct ath10k *ar) in ath10k_pci_enable_legacy_irq()
726 static inline const char *ath10k_pci_get_irq_method(struct ath10k *ar) in ath10k_pci_get_irq_method()
741 struct ath10k *ar = pipe->hif_ce_state; in __ath10k_pci_rx_post_buf() local
780 struct ath10k *ar = pipe->hif_ce_state; in ath10k_pci_rx_post_pipe() local
807 static void ath10k_pci_rx_post(struct ath10k *ar) in ath10k_pci_rx_post()
818 struct ath10k *ar = (void *)ptr; in ath10k_pci_rx_replenish_retry() local
823 static u32 ath10k_pci_targ_cpu_to_ce_addr(struct ath10k *ar, u32 addr) in ath10k_pci_targ_cpu_to_ce_addr()
849 static int ath10k_pci_diag_read_mem(struct ath10k *ar, u32 address, void *data, in ath10k_pci_diag_read_mem()
966 static int ath10k_pci_diag_read32(struct ath10k *ar, u32 address, u32 *value) in ath10k_pci_diag_read32()
977 static int __ath10k_pci_diag_read_hi(struct ath10k *ar, void *dest, in __ath10k_pci_diag_read_hi()
1002 #define ath10k_pci_diag_read_hi(ar, dest, src, len) \ argument
1005 static int ath10k_pci_diag_write_mem(struct ath10k *ar, u32 address, in ath10k_pci_diag_write_mem()
1128 static int ath10k_pci_diag_write32(struct ath10k *ar, u32 address, u32 value) in ath10k_pci_diag_write32()
1138 struct ath10k *ar = ce_state->ar; in ath10k_pci_htc_tx_cb() local
1156 void (*callback)(struct ath10k *ar, in ath10k_pci_process_rx_cb()
1159 struct ath10k *ar = ce_state->ar; in ath10k_pci_process_rx_cb() local
1221 struct ath10k *ar = ce_state->ar; in ath10k_pci_htt_tx_cb() local
1235 static void ath10k_pci_htt_rx_deliver(struct ath10k *ar, struct sk_buff *skb) in ath10k_pci_htt_rx_deliver()
1252 static int ath10k_pci_hif_tx_sg(struct ath10k *ar, u8 pipe_id, in ath10k_pci_hif_tx_sg()
1321 static int ath10k_pci_hif_diag_read(struct ath10k *ar, u32 address, void *buf, in ath10k_pci_hif_diag_read()
1327 static u16 ath10k_pci_hif_get_free_queue_number(struct ath10k *ar, u8 pipe) in ath10k_pci_hif_get_free_queue_number()
1336 static void ath10k_pci_dump_registers(struct ath10k *ar, in ath10k_pci_dump_registers()
1370 static void ath10k_pci_fw_crashed_dump(struct ath10k *ar) in ath10k_pci_fw_crashed_dump()
1395 static void ath10k_pci_hif_send_complete_check(struct ath10k *ar, u8 pipe, in ath10k_pci_hif_send_complete_check()
1421 static void ath10k_pci_kill_tasklet(struct ath10k *ar) in ath10k_pci_kill_tasklet()
1435 static int ath10k_pci_hif_map_service_to_pipe(struct ath10k *ar, u16 service_id, in ath10k_pci_hif_map_service_to_pipe()
1480 static void ath10k_pci_hif_get_default_pipe(struct ath10k *ar, in ath10k_pci_hif_get_default_pipe()
1490 static void ath10k_pci_irq_msi_fw_mask(struct ath10k *ar) in ath10k_pci_irq_msi_fw_mask()
1512 static void ath10k_pci_irq_msi_fw_unmask(struct ath10k *ar) in ath10k_pci_irq_msi_fw_unmask()
1534 static void ath10k_pci_irq_disable(struct ath10k *ar) in ath10k_pci_irq_disable()
1541 static void ath10k_pci_irq_sync(struct ath10k *ar) in ath10k_pci_irq_sync()
1550 static void ath10k_pci_irq_enable(struct ath10k *ar) in ath10k_pci_irq_enable()
1557 static int ath10k_pci_hif_start(struct ath10k *ar) in ath10k_pci_hif_start()
1574 struct ath10k *ar; in ath10k_pci_rx_pipe_cleanup() local
1606 struct ath10k *ar; in ath10k_pci_tx_pipe_cleanup() local
1643 static void ath10k_pci_buffer_cleanup(struct ath10k *ar) in ath10k_pci_buffer_cleanup()
1657 static void ath10k_pci_ce_deinit(struct ath10k *ar) in ath10k_pci_ce_deinit()
1665 static void ath10k_pci_flush(struct ath10k *ar) in ath10k_pci_flush()
1671 static void ath10k_pci_hif_stop(struct ath10k *ar) in ath10k_pci_hif_stop()
1700 static int ath10k_pci_hif_exchange_bmi_msg(struct ath10k *ar, in ath10k_pci_hif_exchange_bmi_msg()
1806 struct ath10k *ar = ce_state->ar; in ath10k_pci_bmi_recv_data() local
1852 static int ath10k_pci_wake_target_cpu(struct ath10k *ar) in ath10k_pci_wake_target_cpu()
1864 static int ath10k_pci_get_num_banks(struct ath10k *ar) in ath10k_pci_get_num_banks()
1896 static int ath10k_pci_init_config(struct ath10k *ar) in ath10k_pci_init_config()
2037 static void ath10k_pci_override_ce_config(struct ath10k *ar) in ath10k_pci_override_ce_config()
2060 static int ath10k_pci_alloc_pipes(struct ath10k *ar) in ath10k_pci_alloc_pipes()
2091 static void ath10k_pci_free_pipes(struct ath10k *ar) in ath10k_pci_free_pipes()
2099 static int ath10k_pci_init_pipes(struct ath10k *ar) in ath10k_pci_init_pipes()
2115 static bool ath10k_pci_has_fw_crashed(struct ath10k *ar) in ath10k_pci_has_fw_crashed()
2121 static void ath10k_pci_fw_crashed_clear(struct ath10k *ar) in ath10k_pci_fw_crashed_clear()
2131 static void ath10k_pci_warm_reset_si0(struct ath10k *ar) in ath10k_pci_warm_reset_si0()
2150 static void ath10k_pci_warm_reset_cpu(struct ath10k *ar) in ath10k_pci_warm_reset_cpu()
2162 static void ath10k_pci_warm_reset_ce(struct ath10k *ar) in ath10k_pci_warm_reset_ce()
2176 static void ath10k_pci_warm_reset_clear_lf(struct ath10k *ar) in ath10k_pci_warm_reset_clear_lf()
2187 static int ath10k_pci_warm_reset(struct ath10k *ar) in ath10k_pci_warm_reset()
2225 static int ath10k_pci_safe_chip_reset(struct ath10k *ar) in ath10k_pci_safe_chip_reset()
2237 static int ath10k_pci_qca988x_chip_reset(struct ath10k *ar) in ath10k_pci_qca988x_chip_reset()
2311 static int ath10k_pci_qca6174_chip_reset(struct ath10k *ar) in ath10k_pci_qca6174_chip_reset()
2343 static int ath10k_pci_qca99x0_chip_reset(struct ath10k *ar) in ath10k_pci_qca99x0_chip_reset()
2367 static int ath10k_pci_chip_reset(struct ath10k *ar) in ath10k_pci_chip_reset()
2381 static int ath10k_pci_hif_power_up(struct ath10k *ar) in ath10k_pci_hif_power_up()
2442 static void ath10k_pci_hif_power_down(struct ath10k *ar) in ath10k_pci_hif_power_down()
2453 static int ath10k_pci_hif_suspend(struct ath10k *ar) in ath10k_pci_hif_suspend()
2465 static int ath10k_pci_hif_resume(struct ath10k *ar) in ath10k_pci_hif_resume()
2524 struct ath10k *ar = (struct ath10k *)data; in ath10k_msi_err_tasklet() local
2542 struct ath10k *ar = arg; in ath10k_pci_per_engine_handler() local
2566 struct ath10k *ar = arg; in ath10k_pci_msi_fw_handler() local
2580 struct ath10k *ar = arg; in ath10k_pci_interrupt_handler() local
2607 struct ath10k *ar = (struct ath10k *)data; in ath10k_pci_tasklet() local
2624 static int ath10k_pci_request_irq_msix(struct ath10k *ar) in ath10k_pci_request_irq_msix()
2657 static int ath10k_pci_request_irq_msi(struct ath10k *ar) in ath10k_pci_request_irq_msi()
2674 static int ath10k_pci_request_irq_legacy(struct ath10k *ar) in ath10k_pci_request_irq_legacy()
2691 static int ath10k_pci_request_irq(struct ath10k *ar) in ath10k_pci_request_irq()
2705 static void ath10k_pci_free_irq(struct ath10k *ar) in ath10k_pci_free_irq()
2716 static void ath10k_pci_init_irq_tasklets(struct ath10k *ar) in ath10k_pci_init_irq_tasklets()
2732 static int ath10k_pci_init_irq(struct ath10k *ar) in ath10k_pci_init_irq()
2780 static void ath10k_pci_deinit_irq_legacy(struct ath10k *ar) in ath10k_pci_deinit_irq_legacy()
2786 static int ath10k_pci_deinit_irq(struct ath10k *ar) in ath10k_pci_deinit_irq()
2802 static int ath10k_pci_wait_for_target_init(struct ath10k *ar) in ath10k_pci_wait_for_target_init()
2859 static int ath10k_pci_cold_reset(struct ath10k *ar) in ath10k_pci_cold_reset()
2894 static int ath10k_pci_claim(struct ath10k *ar) in ath10k_pci_claim()
2955 static void ath10k_pci_release(struct ath10k *ar) in ath10k_pci_release()
2987 struct ath10k *ar; in ath10k_pci_probe() local
3138 struct ath10k *ar = pci_get_drvdata(pdev); in ath10k_pci_remove() local