Lines Matching full:ath10k

78 	 * hacks. ath10k doesn't have them and these devices crash horribly
108 static void ath10k_pci_buffer_cleanup(struct ath10k *ar);
109 static int ath10k_pci_cold_reset(struct ath10k *ar);
110 static int ath10k_pci_safe_chip_reset(struct ath10k *ar);
111 static int ath10k_pci_init_irq(struct ath10k *ar);
112 static int ath10k_pci_deinit_irq(struct ath10k *ar);
113 static int ath10k_pci_request_irq(struct ath10k *ar);
114 static void ath10k_pci_free_irq(struct ath10k *ar);
115 static int ath10k_pci_bmi_wait(struct ath10k *ar,
119 static int ath10k_pci_qca99x0_chip_reset(struct ath10k *ar);
437 static bool ath10k_pci_is_awake(struct ath10k *ar) in ath10k_pci_is_awake()
451 static void __ath10k_pci_wake(struct ath10k *ar) in __ath10k_pci_wake()
471 static void __ath10k_pci_sleep(struct ath10k *ar) in __ath10k_pci_sleep()
492 static int ath10k_pci_wake_wait(struct ath10k *ar) in ath10k_pci_wake_wait()
515 static int ath10k_pci_force_wake(struct ath10k *ar) in ath10k_pci_force_wake()
547 static void ath10k_pci_force_sleep(struct ath10k *ar) in ath10k_pci_force_sleep()
568 static int ath10k_pci_wake(struct ath10k *ar) in ath10k_pci_wake()
603 static void ath10k_pci_sleep(struct ath10k *ar) in ath10k_pci_sleep()
631 struct ath10k *ar = ar_pci->ar; in ath10k_pci_ps_timer()
648 static void ath10k_pci_sleep_sync(struct ath10k *ar) in ath10k_pci_sleep_sync()
666 static void ath10k_bus_pci_write32(struct ath10k *ar, u32 offset, u32 value) in ath10k_bus_pci_write32()
692 static u32 ath10k_bus_pci_read32(struct ath10k *ar, u32 offset) in ath10k_bus_pci_read32()
721 inline void ath10k_pci_write32(struct ath10k *ar, u32 offset, u32 value) in ath10k_pci_write32()
728 inline u32 ath10k_pci_read32(struct ath10k *ar, u32 offset) in ath10k_pci_read32()
735 u32 ath10k_pci_soc_read32(struct ath10k *ar, u32 addr) in ath10k_pci_soc_read32()
740 void ath10k_pci_soc_write32(struct ath10k *ar, u32 addr, u32 val) in ath10k_pci_soc_write32()
745 u32 ath10k_pci_reg_read32(struct ath10k *ar, u32 addr) in ath10k_pci_reg_read32()
750 void ath10k_pci_reg_write32(struct ath10k *ar, u32 addr, u32 val) in ath10k_pci_reg_write32()
755 bool ath10k_pci_irq_pending(struct ath10k *ar) in ath10k_pci_irq_pending()
768 void ath10k_pci_disable_and_clear_legacy_irq(struct ath10k *ar) in ath10k_pci_disable_and_clear_legacy_irq()
786 void ath10k_pci_enable_legacy_irq(struct ath10k *ar) in ath10k_pci_enable_legacy_irq()
799 static inline const char *ath10k_pci_get_irq_method(struct ath10k *ar) in ath10k_pci_get_irq_method()
811 struct ath10k *ar = pipe->hif_ce_state; in __ath10k_pci_rx_post_buf()
850 struct ath10k *ar = pipe->hif_ce_state; in ath10k_pci_rx_post_pipe()
880 void ath10k_pci_rx_post(struct ath10k *ar) in ath10k_pci_rx_post()
892 struct ath10k *ar = ar_pci->ar; in ath10k_pci_rx_replenish_retry()
897 static u32 ath10k_pci_qca988x_targ_cpu_to_ce_addr(struct ath10k *ar, u32 addr) in ath10k_pci_qca988x_targ_cpu_to_ce_addr()
912 static u32 ath10k_pci_qca6174_targ_cpu_to_ce_addr(struct ath10k *ar, u32 addr) in ath10k_pci_qca6174_targ_cpu_to_ce_addr()
922 static u32 ath10k_pci_qca99x0_targ_cpu_to_ce_addr(struct ath10k *ar, u32 addr) in ath10k_pci_qca99x0_targ_cpu_to_ce_addr()
931 static u32 ath10k_pci_targ_cpu_to_ce_addr(struct ath10k *ar, u32 addr) in ath10k_pci_targ_cpu_to_ce_addr()
947 static int ath10k_pci_diag_read_mem(struct ath10k *ar, u32 address, void *data, in ath10k_pci_diag_read_mem()
949 static int ath10k_pci_diag_read_mem(struct ath10k *ar, u32 address, u8 *data, in ath10k_pci_diag_read_mem()
1057 static int ath10k_pci_diag_read32(struct ath10k *ar, u32 address, u32 *value) in ath10k_pci_diag_read32()
1072 static int __ath10k_pci_diag_read_hi(struct ath10k *ar, void *dest, in __ath10k_pci_diag_read_hi()
1100 int ath10k_pci_diag_write_mem(struct ath10k *ar, u32 address, in ath10k_pci_diag_write_mem()
1223 static int ath10k_pci_diag_write32(struct ath10k *ar, u32 address, u32 value) in ath10k_pci_diag_write32()
1233 struct ath10k *ar = ce_state->ar; in ath10k_pci_htc_tx_cb()
1251 void (*callback)(struct ath10k *ar, in ath10k_pci_process_rx_cb()
1254 struct ath10k *ar = ce_state->ar; in ath10k_pci_process_rx_cb()
1294 void (*callback)(struct ath10k *ar, in ath10k_pci_process_htt_rx_cb()
1297 struct ath10k *ar = ce_state->ar; in ath10k_pci_process_htt_rx_cb()
1378 struct ath10k *ar = ce_state->ar; in ath10k_pci_htt_tx_cb()
1392 static void ath10k_pci_htt_rx_deliver(struct ath10k *ar, struct sk_buff *skb) in ath10k_pci_htt_rx_deliver()
1409 int ath10k_pci_hif_tx_sg(struct ath10k *ar, u8 pipe_id, in ath10k_pci_hif_tx_sg()
1494 int ath10k_pci_hif_diag_read(struct ath10k *ar, u32 address, void *buf, in ath10k_pci_hif_diag_read()
1500 u16 ath10k_pci_hif_get_free_queue_number(struct ath10k *ar, u8 pipe) in ath10k_pci_hif_get_free_queue_number()
1509 static void ath10k_pci_dump_registers(struct ath10k *ar, in ath10k_pci_dump_registers()
1543 static int ath10k_pci_dump_memory_section(struct ath10k *ar, in ath10k_pci_dump_memory_section()
1638 static int ath10k_pci_set_ram_config(struct ath10k *ar, u32 config) in ath10k_pci_set_ram_config()
1657 static int ath10k_pci_dump_memory_sram(struct ath10k *ar, in ath10k_pci_dump_memory_sram()
1685 static int ath10k_pci_dump_memory_reg(struct ath10k *ar, in ath10k_pci_dump_memory_reg()
1714 static int ath10k_pci_dump_memory_generic(struct ath10k *ar, in ath10k_pci_dump_memory_generic()
1743 static void ath10k_pci_dump_memory(struct ath10k *ar, in ath10k_pci_dump_memory()
1841 struct ath10k *ar = ar_pci->ar; in ath10k_pci_fw_dump_work()
1868 static void ath10k_pci_fw_crashed_dump(struct ath10k *ar) in ath10k_pci_fw_crashed_dump()
1875 void ath10k_pci_hif_send_complete_check(struct ath10k *ar, u8 pipe, in ath10k_pci_hif_send_complete_check()
1903 static void ath10k_pci_rx_retry_sync(struct ath10k *ar) in ath10k_pci_rx_retry_sync()
1910 int ath10k_pci_hif_map_service_to_pipe(struct ath10k *ar, u16 service_id, in ath10k_pci_hif_map_service_to_pipe()
1956 void ath10k_pci_hif_get_default_pipe(struct ath10k *ar, in ath10k_pci_hif_get_default_pipe()
1966 void ath10k_pci_irq_msi_fw_mask(struct ath10k *ar) in ath10k_pci_irq_msi_fw_mask()
1994 static void ath10k_pci_irq_msi_fw_unmask(struct ath10k *ar) in ath10k_pci_irq_msi_fw_unmask()
2022 static void ath10k_pci_irq_disable(struct ath10k *ar) in ath10k_pci_irq_disable()
2029 static void ath10k_pci_irq_sync(struct ath10k *ar) in ath10k_pci_irq_sync()
2036 static void ath10k_pci_irq_enable(struct ath10k *ar) in ath10k_pci_irq_enable()
2043 static int ath10k_pci_hif_start(struct ath10k *ar) in ath10k_pci_hif_start()
2062 struct ath10k *ar; in ath10k_pci_rx_pipe_cleanup()
2094 struct ath10k *ar; in ath10k_pci_tx_pipe_cleanup()
2129 static void ath10k_pci_buffer_cleanup(struct ath10k *ar) in ath10k_pci_buffer_cleanup()
2143 void ath10k_pci_ce_deinit(struct ath10k *ar) in ath10k_pci_ce_deinit()
2151 void ath10k_pci_flush(struct ath10k *ar) in ath10k_pci_flush()
2157 static void ath10k_pci_hif_stop(struct ath10k *ar) in ath10k_pci_hif_stop()
2191 int ath10k_pci_hif_exchange_bmi_msg(struct ath10k *ar, in ath10k_pci_hif_exchange_bmi_msg()
2297 struct ath10k *ar = ce_state->ar; in ath10k_pci_bmi_recv_data()
2317 static int ath10k_pci_bmi_wait(struct ath10k *ar, in ath10k_pci_bmi_wait()
2359 static int ath10k_pci_wake_target_cpu(struct ath10k *ar) in ath10k_pci_wake_target_cpu()
2371 static int ath10k_pci_get_num_banks(struct ath10k *ar) in ath10k_pci_get_num_banks()
2407 static int ath10k_bus_get_num_banks(struct ath10k *ar) in ath10k_bus_get_num_banks()
2414 int ath10k_pci_init_config(struct ath10k *ar) in ath10k_pci_init_config()
2556 static void ath10k_pci_override_ce_config(struct ath10k *ar) in ath10k_pci_override_ce_config()
2580 int ath10k_pci_alloc_pipes(struct ath10k *ar) in ath10k_pci_alloc_pipes()
2612 void ath10k_pci_free_pipes(struct ath10k *ar) in ath10k_pci_free_pipes()
2620 int ath10k_pci_init_pipes(struct ath10k *ar) in ath10k_pci_init_pipes()
2637 static bool ath10k_pci_has_fw_crashed(struct ath10k *ar) in ath10k_pci_has_fw_crashed()
2643 static void ath10k_pci_fw_crashed_clear(struct ath10k *ar) in ath10k_pci_fw_crashed_clear()
2652 static bool ath10k_pci_has_device_gone(struct ath10k *ar) in ath10k_pci_has_device_gone()
2661 static void ath10k_pci_warm_reset_si0(struct ath10k *ar) in ath10k_pci_warm_reset_si0()
2680 static void ath10k_pci_warm_reset_cpu(struct ath10k *ar) in ath10k_pci_warm_reset_cpu()
2691 static void ath10k_pci_warm_reset_ce(struct ath10k *ar) in ath10k_pci_warm_reset_ce()
2704 static void ath10k_pci_warm_reset_clear_lf(struct ath10k *ar) in ath10k_pci_warm_reset_clear_lf()
2713 static int ath10k_pci_warm_reset(struct ath10k *ar) in ath10k_pci_warm_reset()
2751 static int ath10k_pci_qca99x0_soft_chip_reset(struct ath10k *ar) in ath10k_pci_qca99x0_soft_chip_reset()
2757 static int ath10k_pci_safe_chip_reset(struct ath10k *ar) in ath10k_pci_safe_chip_reset()
2767 static int ath10k_pci_qca988x_chip_reset(struct ath10k *ar) in ath10k_pci_qca988x_chip_reset()
2841 static int ath10k_pci_qca6174_chip_reset(struct ath10k *ar) in ath10k_pci_qca6174_chip_reset()
2873 static int ath10k_pci_qca99x0_chip_reset(struct ath10k *ar) in ath10k_pci_qca99x0_chip_reset()
2897 static int ath10k_pci_chip_reset(struct ath10k *ar) in ath10k_pci_chip_reset()
2907 static int ath10k_pci_hif_power_up(struct ath10k *ar, in ath10k_pci_hif_power_up()
2969 void ath10k_pci_hif_power_down(struct ath10k *ar) in ath10k_pci_hif_power_down()
2978 static int ath10k_pci_hif_suspend(struct ath10k *ar) in ath10k_pci_hif_suspend()
2985 static int ath10k_pci_suspend(struct ath10k *ar) in ath10k_pci_suspend()
2998 static int ath10k_pci_hif_resume(struct ath10k *ar) in ath10k_pci_hif_resume()
3005 static int ath10k_pci_resume(struct ath10k *ar) in ath10k_pci_resume()
3046 static void ath10k_pci_enable_eeprom(struct ath10k *ar) in ath10k_pci_enable_eeprom()
3082 static int ath10k_pci_read_eeprom(struct ath10k *ar, u16 addr, u8 *out) in ath10k_pci_read_eeprom()
3132 static int ath10k_pci_hif_fetch_cal_eeprom(struct ath10k *ar, void **data, in ath10k_pci_hif_fetch_cal_eeprom()
3196 struct ath10k *ar = arg; in ath10k_pci_interrupt_handler()
3222 struct ath10k *ar = container_of(ctx, struct ath10k, napi); in ath10k_pci_napi_poll()
3258 static int ath10k_pci_request_irq_msi(struct ath10k *ar) in ath10k_pci_request_irq_msi()
3275 static int ath10k_pci_request_irq_legacy(struct ath10k *ar) in ath10k_pci_request_irq_legacy()
3292 static int ath10k_pci_request_irq(struct ath10k *ar) in ath10k_pci_request_irq()
3306 static void ath10k_pci_free_irq(struct ath10k *ar) in ath10k_pci_free_irq()
3313 void ath10k_pci_init_napi(struct ath10k *ar) in ath10k_pci_init_napi()
3318 static int ath10k_pci_init_irq(struct ath10k *ar) in ath10k_pci_init_irq()
3356 static void ath10k_pci_deinit_irq_legacy(struct ath10k *ar) in ath10k_pci_deinit_irq_legacy()
3362 static int ath10k_pci_deinit_irq(struct ath10k *ar) in ath10k_pci_deinit_irq()
3378 int ath10k_pci_wait_for_target_init(struct ath10k *ar) in ath10k_pci_wait_for_target_init()
3435 static int ath10k_pci_cold_reset(struct ath10k *ar) in ath10k_pci_cold_reset()
3470 static int ath10k_pci_claim(struct ath10k *ar) in ath10k_pci_claim()
3525 static void ath10k_pci_release(struct ath10k *ar) in ath10k_pci_release()
3552 int ath10k_pci_setup_resource(struct ath10k *ar) in ath10k_pci_setup_resource()
3609 void ath10k_pci_release_resource(struct ath10k *ar) in ath10k_pci_release_resource()
3632 struct ath10k *ar; in ath10k_pci_probe()
3637 int (*pci_soft_reset)(struct ath10k *ar); in ath10k_pci_probe()
3638 int (*pci_hard_reset)(struct ath10k *ar); in ath10k_pci_probe()
3639 u32 (*targ_cpu_to_ce_addr)(struct ath10k *ar, u32 addr); in ath10k_pci_probe()
3834 struct ath10k *ar = pci_get_drvdata(pdev); in ath10k_pci_remove()
3855 struct ath10k *ar = dev_get_drvdata(dev); in ath10k_pci_pm_suspend()
3867 struct ath10k *ar = dev_get_drvdata(dev); in ath10k_pci_pm_resume()
3903 printk(KERN_ERR "failed to register ath10k pci driver: %d\n", in ath10k_pci_init()