Lines Matching refs:ath10k

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()
438 static void __ath10k_pci_wake(struct ath10k *ar) in __ath10k_pci_wake()
452 static void __ath10k_pci_sleep(struct ath10k *ar) in __ath10k_pci_sleep()
467 static int ath10k_pci_wake_wait(struct ath10k *ar) in ath10k_pci_wake_wait()
490 static int ath10k_pci_force_wake(struct ath10k *ar) in ath10k_pci_force_wake()
516 static void ath10k_pci_force_sleep(struct ath10k *ar) in ath10k_pci_force_sleep()
531 static int ath10k_pci_wake(struct ath10k *ar) in ath10k_pci_wake()
566 static void ath10k_pci_sleep(struct ath10k *ar) in ath10k_pci_sleep()
594 struct ath10k *ar = ar_pci->ar; in ath10k_pci_ps_timer()
611 static void ath10k_pci_sleep_sync(struct ath10k *ar) in ath10k_pci_sleep_sync()
629 static void ath10k_bus_pci_write32(struct ath10k *ar, u32 offset, u32 value) in ath10k_bus_pci_write32()
651 static u32 ath10k_bus_pci_read32(struct ath10k *ar, u32 offset) in ath10k_bus_pci_read32()
676 inline void ath10k_pci_write32(struct ath10k *ar, u32 offset, u32 value) in ath10k_pci_write32()
683 inline u32 ath10k_pci_read32(struct ath10k *ar, u32 offset) in ath10k_pci_read32()
690 u32 ath10k_pci_soc_read32(struct ath10k *ar, u32 addr) in ath10k_pci_soc_read32()
695 void ath10k_pci_soc_write32(struct ath10k *ar, u32 addr, u32 val) in ath10k_pci_soc_write32()
700 u32 ath10k_pci_reg_read32(struct ath10k *ar, u32 addr) in ath10k_pci_reg_read32()
705 void ath10k_pci_reg_write32(struct ath10k *ar, u32 addr, u32 val) in ath10k_pci_reg_write32()
710 bool ath10k_pci_irq_pending(struct ath10k *ar) in ath10k_pci_irq_pending()
723 void ath10k_pci_disable_and_clear_legacy_irq(struct ath10k *ar) in ath10k_pci_disable_and_clear_legacy_irq()
741 void ath10k_pci_enable_legacy_irq(struct ath10k *ar) in ath10k_pci_enable_legacy_irq()
754 static inline const char *ath10k_pci_get_irq_method(struct ath10k *ar) in ath10k_pci_get_irq_method()
766 struct ath10k *ar = pipe->hif_ce_state; in __ath10k_pci_rx_post_buf()
805 struct ath10k *ar = pipe->hif_ce_state; in ath10k_pci_rx_post_pipe()
835 void ath10k_pci_rx_post(struct ath10k *ar) in ath10k_pci_rx_post()
847 struct ath10k *ar = ar_pci->ar; in ath10k_pci_rx_replenish_retry()
852 static u32 ath10k_pci_qca988x_targ_cpu_to_ce_addr(struct ath10k *ar, u32 addr) in ath10k_pci_qca988x_targ_cpu_to_ce_addr()
867 static u32 ath10k_pci_qca6174_targ_cpu_to_ce_addr(struct ath10k *ar, u32 addr) in ath10k_pci_qca6174_targ_cpu_to_ce_addr()
877 static u32 ath10k_pci_qca99x0_targ_cpu_to_ce_addr(struct ath10k *ar, u32 addr) in ath10k_pci_qca99x0_targ_cpu_to_ce_addr()
886 static u32 ath10k_pci_targ_cpu_to_ce_addr(struct ath10k *ar, u32 addr) in ath10k_pci_targ_cpu_to_ce_addr()
901 static int ath10k_pci_diag_read_mem(struct ath10k *ar, u32 address, void *data, in ath10k_pci_diag_read_mem()
1008 static int ath10k_pci_diag_read32(struct ath10k *ar, u32 address, u32 *value) in ath10k_pci_diag_read32()
1019 static int __ath10k_pci_diag_read_hi(struct ath10k *ar, void *dest, in __ath10k_pci_diag_read_hi()
1047 int ath10k_pci_diag_write_mem(struct ath10k *ar, u32 address, in ath10k_pci_diag_write_mem()
1163 static int ath10k_pci_diag_write32(struct ath10k *ar, u32 address, u32 value) in ath10k_pci_diag_write32()
1173 struct ath10k *ar = ce_state->ar; in ath10k_pci_htc_tx_cb()
1191 void (*callback)(struct ath10k *ar, in ath10k_pci_process_rx_cb()
1194 struct ath10k *ar = ce_state->ar; in ath10k_pci_process_rx_cb()
1234 void (*callback)(struct ath10k *ar, in ath10k_pci_process_htt_rx_cb()
1237 struct ath10k *ar = ce_state->ar; in ath10k_pci_process_htt_rx_cb()
1318 struct ath10k *ar = ce_state->ar; in ath10k_pci_htt_tx_cb()
1332 static void ath10k_pci_htt_rx_deliver(struct ath10k *ar, struct sk_buff *skb) in ath10k_pci_htt_rx_deliver()
1349 int ath10k_pci_hif_tx_sg(struct ath10k *ar, u8 pipe_id, in ath10k_pci_hif_tx_sg()
1419 int ath10k_pci_hif_diag_read(struct ath10k *ar, u32 address, void *buf, in ath10k_pci_hif_diag_read()
1425 u16 ath10k_pci_hif_get_free_queue_number(struct ath10k *ar, u8 pipe) in ath10k_pci_hif_get_free_queue_number()
1434 static void ath10k_pci_dump_registers(struct ath10k *ar, in ath10k_pci_dump_registers()
1468 static int ath10k_pci_dump_memory_section(struct ath10k *ar, in ath10k_pci_dump_memory_section()
1563 static int ath10k_pci_set_ram_config(struct ath10k *ar, u32 config) in ath10k_pci_set_ram_config()
1582 static int ath10k_pci_dump_memory_sram(struct ath10k *ar, in ath10k_pci_dump_memory_sram()
1601 static int ath10k_pci_dump_memory_reg(struct ath10k *ar, in ath10k_pci_dump_memory_reg()
1626 static int ath10k_pci_dump_memory_generic(struct ath10k *ar, in ath10k_pci_dump_memory_generic()
1655 static void ath10k_pci_dump_memory(struct ath10k *ar, in ath10k_pci_dump_memory()
1753 struct ath10k *ar = ar_pci->ar; in ath10k_pci_fw_dump_work()
1780 static void ath10k_pci_fw_crashed_dump(struct ath10k *ar) in ath10k_pci_fw_crashed_dump()
1787 void ath10k_pci_hif_send_complete_check(struct ath10k *ar, u8 pipe, in ath10k_pci_hif_send_complete_check()
1815 static void ath10k_pci_rx_retry_sync(struct ath10k *ar) in ath10k_pci_rx_retry_sync()
1822 int ath10k_pci_hif_map_service_to_pipe(struct ath10k *ar, u16 service_id, in ath10k_pci_hif_map_service_to_pipe()
1868 void ath10k_pci_hif_get_default_pipe(struct ath10k *ar, in ath10k_pci_hif_get_default_pipe()
1878 void ath10k_pci_irq_msi_fw_mask(struct ath10k *ar) in ath10k_pci_irq_msi_fw_mask()
1906 static void ath10k_pci_irq_msi_fw_unmask(struct ath10k *ar) in ath10k_pci_irq_msi_fw_unmask()
1934 static void ath10k_pci_irq_disable(struct ath10k *ar) in ath10k_pci_irq_disable()
1941 static void ath10k_pci_irq_sync(struct ath10k *ar) in ath10k_pci_irq_sync()
1948 static void ath10k_pci_irq_enable(struct ath10k *ar) in ath10k_pci_irq_enable()
1955 static int ath10k_pci_hif_start(struct ath10k *ar) in ath10k_pci_hif_start()
1974 struct ath10k *ar; in ath10k_pci_rx_pipe_cleanup()
2006 struct ath10k *ar; in ath10k_pci_tx_pipe_cleanup()
2041 static void ath10k_pci_buffer_cleanup(struct ath10k *ar) in ath10k_pci_buffer_cleanup()
2055 void ath10k_pci_ce_deinit(struct ath10k *ar) in ath10k_pci_ce_deinit()
2063 void ath10k_pci_flush(struct ath10k *ar) in ath10k_pci_flush()
2069 static void ath10k_pci_hif_stop(struct ath10k *ar) in ath10k_pci_hif_stop()
2103 int ath10k_pci_hif_exchange_bmi_msg(struct ath10k *ar, in ath10k_pci_hif_exchange_bmi_msg()
2209 struct ath10k *ar = ce_state->ar; in ath10k_pci_bmi_recv_data()
2229 static int ath10k_pci_bmi_wait(struct ath10k *ar, in ath10k_pci_bmi_wait()
2266 static int ath10k_pci_wake_target_cpu(struct ath10k *ar) in ath10k_pci_wake_target_cpu()
2278 static int ath10k_pci_get_num_banks(struct ath10k *ar) in ath10k_pci_get_num_banks()
2314 static int ath10k_bus_get_num_banks(struct ath10k *ar) in ath10k_bus_get_num_banks()
2321 int ath10k_pci_init_config(struct ath10k *ar) in ath10k_pci_init_config()
2463 static void ath10k_pci_override_ce_config(struct ath10k *ar) in ath10k_pci_override_ce_config()
2487 int ath10k_pci_alloc_pipes(struct ath10k *ar) in ath10k_pci_alloc_pipes()
2519 void ath10k_pci_free_pipes(struct ath10k *ar) in ath10k_pci_free_pipes()
2527 int ath10k_pci_init_pipes(struct ath10k *ar) in ath10k_pci_init_pipes()
2544 static bool ath10k_pci_has_fw_crashed(struct ath10k *ar) in ath10k_pci_has_fw_crashed()
2550 static void ath10k_pci_fw_crashed_clear(struct ath10k *ar) in ath10k_pci_fw_crashed_clear()
2559 static bool ath10k_pci_has_device_gone(struct ath10k *ar) in ath10k_pci_has_device_gone()
2568 static void ath10k_pci_warm_reset_si0(struct ath10k *ar) in ath10k_pci_warm_reset_si0()
2587 static void ath10k_pci_warm_reset_cpu(struct ath10k *ar) in ath10k_pci_warm_reset_cpu()
2598 static void ath10k_pci_warm_reset_ce(struct ath10k *ar) in ath10k_pci_warm_reset_ce()
2611 static void ath10k_pci_warm_reset_clear_lf(struct ath10k *ar) in ath10k_pci_warm_reset_clear_lf()
2620 static int ath10k_pci_warm_reset(struct ath10k *ar) in ath10k_pci_warm_reset()
2658 static int ath10k_pci_qca99x0_soft_chip_reset(struct ath10k *ar) in ath10k_pci_qca99x0_soft_chip_reset()
2664 static int ath10k_pci_safe_chip_reset(struct ath10k *ar) in ath10k_pci_safe_chip_reset()
2674 static int ath10k_pci_qca988x_chip_reset(struct ath10k *ar) in ath10k_pci_qca988x_chip_reset()
2748 static int ath10k_pci_qca6174_chip_reset(struct ath10k *ar) in ath10k_pci_qca6174_chip_reset()
2780 static int ath10k_pci_qca99x0_chip_reset(struct ath10k *ar) in ath10k_pci_qca99x0_chip_reset()
2804 static int ath10k_pci_chip_reset(struct ath10k *ar) in ath10k_pci_chip_reset()
2814 static int ath10k_pci_hif_power_up(struct ath10k *ar, in ath10k_pci_hif_power_up()
2876 void ath10k_pci_hif_power_down(struct ath10k *ar) in ath10k_pci_hif_power_down()
2885 static int ath10k_pci_hif_suspend(struct ath10k *ar) in ath10k_pci_hif_suspend()
2891 static int ath10k_pci_suspend(struct ath10k *ar) in ath10k_pci_suspend()
2903 static int ath10k_pci_hif_resume(struct ath10k *ar) in ath10k_pci_hif_resume()
2909 static int ath10k_pci_resume(struct ath10k *ar) in ath10k_pci_resume()
2949 static void ath10k_pci_enable_eeprom(struct ath10k *ar) in ath10k_pci_enable_eeprom()
2985 static int ath10k_pci_read_eeprom(struct ath10k *ar, u16 addr, u8 *out) in ath10k_pci_read_eeprom()
3035 static int ath10k_pci_hif_fetch_cal_eeprom(struct ath10k *ar, void **data, in ath10k_pci_hif_fetch_cal_eeprom()
3099 struct ath10k *ar = arg; in ath10k_pci_interrupt_handler()
3125 struct ath10k *ar = container_of(ctx, struct ath10k, napi); in ath10k_pci_napi_poll()
3161 static int ath10k_pci_request_irq_msi(struct ath10k *ar) in ath10k_pci_request_irq_msi()
3178 static int ath10k_pci_request_irq_legacy(struct ath10k *ar) in ath10k_pci_request_irq_legacy()
3195 static int ath10k_pci_request_irq(struct ath10k *ar) in ath10k_pci_request_irq()
3209 static void ath10k_pci_free_irq(struct ath10k *ar) in ath10k_pci_free_irq()
3216 void ath10k_pci_init_napi(struct ath10k *ar) in ath10k_pci_init_napi()
3221 static int ath10k_pci_init_irq(struct ath10k *ar) in ath10k_pci_init_irq()
3259 static void ath10k_pci_deinit_irq_legacy(struct ath10k *ar) in ath10k_pci_deinit_irq_legacy()
3265 static int ath10k_pci_deinit_irq(struct ath10k *ar) in ath10k_pci_deinit_irq()
3281 int ath10k_pci_wait_for_target_init(struct ath10k *ar) in ath10k_pci_wait_for_target_init()
3338 static int ath10k_pci_cold_reset(struct ath10k *ar) in ath10k_pci_cold_reset()
3373 static int ath10k_pci_claim(struct ath10k *ar) in ath10k_pci_claim()
3427 static void ath10k_pci_release(struct ath10k *ar) in ath10k_pci_release()
3455 int ath10k_pci_setup_resource(struct ath10k *ar) in ath10k_pci_setup_resource()
3512 void ath10k_pci_release_resource(struct ath10k *ar) in ath10k_pci_release_resource()
3535 struct ath10k *ar; in ath10k_pci_probe()
3540 int (*pci_soft_reset)(struct ath10k *ar); in ath10k_pci_probe()
3541 int (*pci_hard_reset)(struct ath10k *ar); in ath10k_pci_probe()
3542 u32 (*targ_cpu_to_ce_addr)(struct ath10k *ar, u32 addr); in ath10k_pci_probe()
3737 struct ath10k *ar = pci_get_drvdata(pdev); in ath10k_pci_remove()
3757 struct ath10k *ar = dev_get_drvdata(dev); in ath10k_pci_pm_suspend()
3769 struct ath10k *ar = dev_get_drvdata(dev); in ath10k_pci_pm_resume()