Lines Matching defs:ar

430 static bool ath10k_pci_is_awake(struct ath10k *ar)  in ath10k_pci_is_awake()
439 static void __ath10k_pci_wake(struct ath10k *ar) in __ath10k_pci_wake()
453 static void __ath10k_pci_sleep(struct ath10k *ar) in __ath10k_pci_sleep()
468 static int ath10k_pci_wake_wait(struct ath10k *ar) in ath10k_pci_wake_wait()
491 static int ath10k_pci_force_wake(struct ath10k *ar) in ath10k_pci_force_wake()
517 static void ath10k_pci_force_sleep(struct ath10k *ar) in ath10k_pci_force_sleep()
532 static int ath10k_pci_wake(struct ath10k *ar) in ath10k_pci_wake()
567 static void ath10k_pci_sleep(struct ath10k *ar) in ath10k_pci_sleep()
595 struct ath10k *ar = ar_pci->ar; in ath10k_pci_ps_timer() local
612 static void ath10k_pci_sleep_sync(struct ath10k *ar) in ath10k_pci_sleep_sync()
630 static void ath10k_bus_pci_write32(struct ath10k *ar, u32 offset, u32 value) in ath10k_bus_pci_write32()
652 static u32 ath10k_bus_pci_read32(struct ath10k *ar, u32 offset) in ath10k_bus_pci_read32()
677 inline void ath10k_pci_write32(struct ath10k *ar, u32 offset, u32 value) in ath10k_pci_write32()
684 inline u32 ath10k_pci_read32(struct ath10k *ar, u32 offset) in ath10k_pci_read32()
691 u32 ath10k_pci_soc_read32(struct ath10k *ar, u32 addr) in ath10k_pci_soc_read32()
696 void ath10k_pci_soc_write32(struct ath10k *ar, u32 addr, u32 val) in ath10k_pci_soc_write32()
701 u32 ath10k_pci_reg_read32(struct ath10k *ar, u32 addr) in ath10k_pci_reg_read32()
706 void ath10k_pci_reg_write32(struct ath10k *ar, u32 addr, u32 val) in ath10k_pci_reg_write32()
711 bool ath10k_pci_irq_pending(struct ath10k *ar) in ath10k_pci_irq_pending()
724 void ath10k_pci_disable_and_clear_intx_irq(struct ath10k *ar) in ath10k_pci_disable_and_clear_intx_irq()
742 void ath10k_pci_enable_intx_irq(struct ath10k *ar) in ath10k_pci_enable_intx_irq()
755 static inline const char *ath10k_pci_get_irq_method(struct ath10k *ar) in ath10k_pci_get_irq_method()
767 struct ath10k *ar = pipe->hif_ce_state; in __ath10k_pci_rx_post_buf() local
806 struct ath10k *ar = pipe->hif_ce_state; in ath10k_pci_rx_post_pipe() local
836 void ath10k_pci_rx_post(struct ath10k *ar) in ath10k_pci_rx_post()
848 struct ath10k *ar = ar_pci->ar; in ath10k_pci_rx_replenish_retry() local
853 static u32 ath10k_pci_qca988x_targ_cpu_to_ce_addr(struct ath10k *ar, u32 addr) in ath10k_pci_qca988x_targ_cpu_to_ce_addr()
868 static u32 ath10k_pci_qca6174_targ_cpu_to_ce_addr(struct ath10k *ar, u32 addr) in ath10k_pci_qca6174_targ_cpu_to_ce_addr()
878 static u32 ath10k_pci_qca99x0_targ_cpu_to_ce_addr(struct ath10k *ar, u32 addr) in ath10k_pci_qca99x0_targ_cpu_to_ce_addr()
887 static u32 ath10k_pci_targ_cpu_to_ce_addr(struct ath10k *ar, u32 addr) in ath10k_pci_targ_cpu_to_ce_addr()
902 static int ath10k_pci_diag_read_mem(struct ath10k *ar, u32 address, void *data, in ath10k_pci_diag_read_mem()
1009 static int ath10k_pci_diag_read32(struct ath10k *ar, u32 address, u32 *value) in ath10k_pci_diag_read32()
1020 static int __ath10k_pci_diag_read_hi(struct ath10k *ar, void *dest, in __ath10k_pci_diag_read_hi()
1045 #define ath10k_pci_diag_read_hi(ar, dest, src, len) \ argument
1048 int ath10k_pci_diag_write_mem(struct ath10k *ar, u32 address, in ath10k_pci_diag_write_mem()
1164 static int ath10k_pci_diag_write32(struct ath10k *ar, u32 address, u32 value) in ath10k_pci_diag_write32()
1174 struct ath10k *ar = ce_state->ar; in ath10k_pci_htc_tx_cb() local
1192 void (*callback)(struct ath10k *ar, in ath10k_pci_process_rx_cb()
1195 struct ath10k *ar = ce_state->ar; in ath10k_pci_process_rx_cb() local
1235 void (*callback)(struct ath10k *ar, in ath10k_pci_process_htt_rx_cb()
1238 struct ath10k *ar = ce_state->ar; in ath10k_pci_process_htt_rx_cb() local
1319 struct ath10k *ar = ce_state->ar; in ath10k_pci_htt_tx_cb() local
1333 static void ath10k_pci_htt_rx_deliver(struct ath10k *ar, struct sk_buff *skb) in ath10k_pci_htt_rx_deliver()
1350 int ath10k_pci_hif_tx_sg(struct ath10k *ar, u8 pipe_id, in ath10k_pci_hif_tx_sg()
1420 int ath10k_pci_hif_diag_read(struct ath10k *ar, u32 address, void *buf, in ath10k_pci_hif_diag_read()
1426 u16 ath10k_pci_hif_get_free_queue_number(struct ath10k *ar, u8 pipe) in ath10k_pci_hif_get_free_queue_number()
1435 static void ath10k_pci_dump_registers(struct ath10k *ar, in ath10k_pci_dump_registers()
1469 static int ath10k_pci_dump_memory_section(struct ath10k *ar, in ath10k_pci_dump_memory_section()
1564 static int ath10k_pci_set_ram_config(struct ath10k *ar, u32 config) in ath10k_pci_set_ram_config()
1583 static int ath10k_pci_dump_memory_sram(struct ath10k *ar, in ath10k_pci_dump_memory_sram()
1602 static int ath10k_pci_dump_memory_reg(struct ath10k *ar, in ath10k_pci_dump_memory_reg()
1627 static int ath10k_pci_dump_memory_generic(struct ath10k *ar, in ath10k_pci_dump_memory_generic()
1656 static void ath10k_pci_dump_memory(struct ath10k *ar, in ath10k_pci_dump_memory()
1754 struct ath10k *ar = ar_pci->ar; in ath10k_pci_fw_dump_work() local
1781 static void ath10k_pci_fw_crashed_dump(struct ath10k *ar) in ath10k_pci_fw_crashed_dump()
1788 void ath10k_pci_hif_send_complete_check(struct ath10k *ar, u8 pipe, in ath10k_pci_hif_send_complete_check()
1816 static void ath10k_pci_rx_retry_sync(struct ath10k *ar) in ath10k_pci_rx_retry_sync()
1823 int ath10k_pci_hif_map_service_to_pipe(struct ath10k *ar, u16 service_id, in ath10k_pci_hif_map_service_to_pipe()
1869 void ath10k_pci_hif_get_default_pipe(struct ath10k *ar, in ath10k_pci_hif_get_default_pipe()
1879 void ath10k_pci_irq_msi_fw_mask(struct ath10k *ar) in ath10k_pci_irq_msi_fw_mask()
1907 static void ath10k_pci_irq_msi_fw_unmask(struct ath10k *ar) in ath10k_pci_irq_msi_fw_unmask()
1935 static void ath10k_pci_irq_disable(struct ath10k *ar) in ath10k_pci_irq_disable()
1942 static void ath10k_pci_irq_sync(struct ath10k *ar) in ath10k_pci_irq_sync()
1949 static void ath10k_pci_irq_enable(struct ath10k *ar) in ath10k_pci_irq_enable()
1956 static int ath10k_pci_hif_start(struct ath10k *ar) in ath10k_pci_hif_start()
1976 struct ath10k *ar; in ath10k_pci_rx_pipe_cleanup() local
2008 struct ath10k *ar; in ath10k_pci_tx_pipe_cleanup() local
2043 static void ath10k_pci_buffer_cleanup(struct ath10k *ar) in ath10k_pci_buffer_cleanup()
2057 void ath10k_pci_ce_deinit(struct ath10k *ar) in ath10k_pci_ce_deinit()
2065 void ath10k_pci_flush(struct ath10k *ar) in ath10k_pci_flush()
2071 static void ath10k_pci_hif_stop(struct ath10k *ar) in ath10k_pci_hif_stop()
2105 int ath10k_pci_hif_exchange_bmi_msg(struct ath10k *ar, in ath10k_pci_hif_exchange_bmi_msg()
2211 struct ath10k *ar = ce_state->ar; in ath10k_pci_bmi_recv_data() local
2231 static int ath10k_pci_bmi_wait(struct ath10k *ar, in ath10k_pci_bmi_wait()
2268 static int ath10k_pci_wake_target_cpu(struct ath10k *ar) in ath10k_pci_wake_target_cpu()
2280 static int ath10k_pci_get_num_banks(struct ath10k *ar) in ath10k_pci_get_num_banks()
2316 static int ath10k_bus_get_num_banks(struct ath10k *ar) in ath10k_bus_get_num_banks()
2323 int ath10k_pci_init_config(struct ath10k *ar) in ath10k_pci_init_config()
2465 static void ath10k_pci_override_ce_config(struct ath10k *ar) in ath10k_pci_override_ce_config()
2489 int ath10k_pci_alloc_pipes(struct ath10k *ar) in ath10k_pci_alloc_pipes()
2521 void ath10k_pci_free_pipes(struct ath10k *ar) in ath10k_pci_free_pipes()
2529 int ath10k_pci_init_pipes(struct ath10k *ar) in ath10k_pci_init_pipes()
2546 static bool ath10k_pci_has_fw_crashed(struct ath10k *ar) in ath10k_pci_has_fw_crashed()
2552 static void ath10k_pci_fw_crashed_clear(struct ath10k *ar) in ath10k_pci_fw_crashed_clear()
2561 static bool ath10k_pci_has_device_gone(struct ath10k *ar) in ath10k_pci_has_device_gone()
2570 static void ath10k_pci_warm_reset_si0(struct ath10k *ar) in ath10k_pci_warm_reset_si0()
2589 static void ath10k_pci_warm_reset_cpu(struct ath10k *ar) in ath10k_pci_warm_reset_cpu()
2600 static void ath10k_pci_warm_reset_ce(struct ath10k *ar) in ath10k_pci_warm_reset_ce()
2613 static void ath10k_pci_warm_reset_clear_lf(struct ath10k *ar) in ath10k_pci_warm_reset_clear_lf()
2622 static int ath10k_pci_warm_reset(struct ath10k *ar) in ath10k_pci_warm_reset()
2660 static int ath10k_pci_qca99x0_soft_chip_reset(struct ath10k *ar) in ath10k_pci_qca99x0_soft_chip_reset()
2666 static int ath10k_pci_safe_chip_reset(struct ath10k *ar) in ath10k_pci_safe_chip_reset()
2676 static int ath10k_pci_qca988x_chip_reset(struct ath10k *ar) in ath10k_pci_qca988x_chip_reset()
2750 static int ath10k_pci_qca6174_chip_reset(struct ath10k *ar) in ath10k_pci_qca6174_chip_reset()
2782 static int ath10k_pci_qca99x0_chip_reset(struct ath10k *ar) in ath10k_pci_qca99x0_chip_reset()
2806 static int ath10k_pci_chip_reset(struct ath10k *ar) in ath10k_pci_chip_reset()
2816 static int ath10k_pci_hif_power_up(struct ath10k *ar, in ath10k_pci_hif_power_up()
2878 void ath10k_pci_hif_power_down(struct ath10k *ar) in ath10k_pci_hif_power_down()
2887 static int ath10k_pci_hif_suspend(struct ath10k *ar) in ath10k_pci_hif_suspend()
2893 static int ath10k_pci_suspend(struct ath10k *ar) in ath10k_pci_suspend()
2905 static int ath10k_pci_hif_resume(struct ath10k *ar) in ath10k_pci_hif_resume()
2911 static int ath10k_pci_resume(struct ath10k *ar) in ath10k_pci_resume()
2951 static void ath10k_pci_enable_eeprom(struct ath10k *ar) in ath10k_pci_enable_eeprom()
2987 static int ath10k_pci_read_eeprom(struct ath10k *ar, u16 addr, u8 *out) in ath10k_pci_read_eeprom()
3037 static int ath10k_pci_hif_fetch_cal_eeprom(struct ath10k *ar, void **data, in ath10k_pci_hif_fetch_cal_eeprom()
3101 struct ath10k *ar = arg; in ath10k_pci_interrupt_handler() local
3127 struct ath10k *ar = container_of(ctx, struct ath10k, napi); in ath10k_pci_napi_poll() local
3163 static int ath10k_pci_request_irq_msi(struct ath10k *ar) in ath10k_pci_request_irq_msi()
3180 static int ath10k_pci_request_irq_intx(struct ath10k *ar) in ath10k_pci_request_irq_intx()
3197 static int ath10k_pci_request_irq(struct ath10k *ar) in ath10k_pci_request_irq()
3211 static void ath10k_pci_free_irq(struct ath10k *ar) in ath10k_pci_free_irq()
3218 void ath10k_pci_init_napi(struct ath10k *ar) in ath10k_pci_init_napi()
3223 static int ath10k_pci_init_irq(struct ath10k *ar) in ath10k_pci_init_irq()
3261 static void ath10k_pci_deinit_irq_intx(struct ath10k *ar) in ath10k_pci_deinit_irq_intx()
3267 static int ath10k_pci_deinit_irq(struct ath10k *ar) in ath10k_pci_deinit_irq()
3283 int ath10k_pci_wait_for_target_init(struct ath10k *ar) in ath10k_pci_wait_for_target_init()
3340 static int ath10k_pci_cold_reset(struct ath10k *ar) in ath10k_pci_cold_reset()
3375 static int ath10k_pci_claim(struct ath10k *ar) in ath10k_pci_claim()
3426 static void ath10k_pci_release(struct ath10k *ar) in ath10k_pci_release()
3453 int ath10k_pci_setup_resource(struct ath10k *ar) in ath10k_pci_setup_resource()
3510 void ath10k_pci_release_resource(struct ath10k *ar) in ath10k_pci_release_resource()
3533 struct ath10k *ar; in ath10k_pci_probe() local
3735 struct ath10k *ar = pci_get_drvdata(pdev); in ath10k_pci_remove() local
3755 struct ath10k *ar = dev_get_drvdata(dev); in ath10k_pci_pm_suspend() local
3767 struct ath10k *ar = dev_get_drvdata(dev); in ath10k_pci_pm_resume() local