Lines Matching defs:ar

440 static bool ath10k_pci_is_awake(struct ath10k *ar)  in ath10k_pci_is_awake()
449 static void __ath10k_pci_wake(struct ath10k *ar) in __ath10k_pci_wake()
463 static void __ath10k_pci_sleep(struct ath10k *ar) in __ath10k_pci_sleep()
478 static int ath10k_pci_wake_wait(struct ath10k *ar) in ath10k_pci_wake_wait()
501 static int ath10k_pci_force_wake(struct ath10k *ar) in ath10k_pci_force_wake()
527 static void ath10k_pci_force_sleep(struct ath10k *ar) in ath10k_pci_force_sleep()
542 static int ath10k_pci_wake(struct ath10k *ar) in ath10k_pci_wake()
577 static void ath10k_pci_sleep(struct ath10k *ar) in ath10k_pci_sleep()
605 struct ath10k *ar = ar_pci->ar; in ath10k_pci_ps_timer() local
622 static void ath10k_pci_sleep_sync(struct ath10k *ar) in ath10k_pci_sleep_sync()
640 static void ath10k_bus_pci_write32(struct ath10k *ar, u32 offset, u32 value) in ath10k_bus_pci_write32()
662 static u32 ath10k_bus_pci_read32(struct ath10k *ar, u32 offset) in ath10k_bus_pci_read32()
687 inline void ath10k_pci_write32(struct ath10k *ar, u32 offset, u32 value) in ath10k_pci_write32()
694 inline u32 ath10k_pci_read32(struct ath10k *ar, u32 offset) in ath10k_pci_read32()
701 u32 ath10k_pci_soc_read32(struct ath10k *ar, u32 addr) in ath10k_pci_soc_read32()
706 void ath10k_pci_soc_write32(struct ath10k *ar, u32 addr, u32 val) in ath10k_pci_soc_write32()
711 u32 ath10k_pci_reg_read32(struct ath10k *ar, u32 addr) in ath10k_pci_reg_read32()
716 void ath10k_pci_reg_write32(struct ath10k *ar, u32 addr, u32 val) in ath10k_pci_reg_write32()
721 bool ath10k_pci_irq_pending(struct ath10k *ar) in ath10k_pci_irq_pending()
734 void ath10k_pci_disable_and_clear_legacy_irq(struct ath10k *ar) in ath10k_pci_disable_and_clear_legacy_irq()
752 void ath10k_pci_enable_legacy_irq(struct ath10k *ar) in ath10k_pci_enable_legacy_irq()
765 static inline const char *ath10k_pci_get_irq_method(struct ath10k *ar) in ath10k_pci_get_irq_method()
777 struct ath10k *ar = pipe->hif_ce_state; in __ath10k_pci_rx_post_buf() local
816 struct ath10k *ar = pipe->hif_ce_state; in ath10k_pci_rx_post_pipe() local
846 void ath10k_pci_rx_post(struct ath10k *ar) in ath10k_pci_rx_post()
858 struct ath10k *ar = ar_pci->ar; in ath10k_pci_rx_replenish_retry() local
863 static u32 ath10k_pci_qca988x_targ_cpu_to_ce_addr(struct ath10k *ar, u32 addr) in ath10k_pci_qca988x_targ_cpu_to_ce_addr()
873 static u32 ath10k_pci_qca99x0_targ_cpu_to_ce_addr(struct ath10k *ar, u32 addr) in ath10k_pci_qca99x0_targ_cpu_to_ce_addr()
882 static u32 ath10k_pci_targ_cpu_to_ce_addr(struct ath10k *ar, u32 addr) in ath10k_pci_targ_cpu_to_ce_addr()
897 static int ath10k_pci_diag_read_mem(struct ath10k *ar, u32 address, void *data, in ath10k_pci_diag_read_mem()
1011 static int ath10k_pci_diag_read32(struct ath10k *ar, u32 address, u32 *value) in ath10k_pci_diag_read32()
1022 static int __ath10k_pci_diag_read_hi(struct ath10k *ar, void *dest, in __ath10k_pci_diag_read_hi()
1047 #define ath10k_pci_diag_read_hi(ar, dest, src, len) \ argument
1050 int ath10k_pci_diag_write_mem(struct ath10k *ar, u32 address, in ath10k_pci_diag_write_mem()
1173 static int ath10k_pci_diag_write32(struct ath10k *ar, u32 address, u32 value) in ath10k_pci_diag_write32()
1183 struct ath10k *ar = ce_state->ar; in ath10k_pci_htc_tx_cb() local
1201 void (*callback)(struct ath10k *ar, in ath10k_pci_process_rx_cb()
1204 struct ath10k *ar = ce_state->ar; in ath10k_pci_process_rx_cb() local
1244 void (*callback)(struct ath10k *ar, in ath10k_pci_process_htt_rx_cb()
1247 struct ath10k *ar = ce_state->ar; in ath10k_pci_process_htt_rx_cb() local
1328 struct ath10k *ar = ce_state->ar; in ath10k_pci_htt_tx_cb() local
1342 static void ath10k_pci_htt_rx_deliver(struct ath10k *ar, struct sk_buff *skb) in ath10k_pci_htt_rx_deliver()
1359 int ath10k_pci_hif_tx_sg(struct ath10k *ar, u8 pipe_id, in ath10k_pci_hif_tx_sg()
1429 int ath10k_pci_hif_diag_read(struct ath10k *ar, u32 address, void *buf, in ath10k_pci_hif_diag_read()
1435 u16 ath10k_pci_hif_get_free_queue_number(struct ath10k *ar, u8 pipe) in ath10k_pci_hif_get_free_queue_number()
1444 static void ath10k_pci_dump_registers(struct ath10k *ar, in ath10k_pci_dump_registers()
1478 static int ath10k_pci_dump_memory_section(struct ath10k *ar, in ath10k_pci_dump_memory_section()
1573 static int ath10k_pci_set_ram_config(struct ath10k *ar, u32 config) in ath10k_pci_set_ram_config()
1592 static int ath10k_pci_dump_memory_sram(struct ath10k *ar, in ath10k_pci_dump_memory_sram()
1611 static int ath10k_pci_dump_memory_reg(struct ath10k *ar, in ath10k_pci_dump_memory_reg()
1625 static int ath10k_pci_dump_memory_generic(struct ath10k *ar, in ath10k_pci_dump_memory_generic()
1654 static void ath10k_pci_dump_memory(struct ath10k *ar, in ath10k_pci_dump_memory()
1743 static void ath10k_pci_fw_crashed_dump(struct ath10k *ar) in ath10k_pci_fw_crashed_dump()
1770 void ath10k_pci_hif_send_complete_check(struct ath10k *ar, u8 pipe, in ath10k_pci_hif_send_complete_check()
1796 static void ath10k_pci_rx_retry_sync(struct ath10k *ar) in ath10k_pci_rx_retry_sync()
1803 int ath10k_pci_hif_map_service_to_pipe(struct ath10k *ar, u16 service_id, in ath10k_pci_hif_map_service_to_pipe()
1848 void ath10k_pci_hif_get_default_pipe(struct ath10k *ar, in ath10k_pci_hif_get_default_pipe()
1858 void ath10k_pci_irq_msi_fw_mask(struct ath10k *ar) in ath10k_pci_irq_msi_fw_mask()
1886 static void ath10k_pci_irq_msi_fw_unmask(struct ath10k *ar) in ath10k_pci_irq_msi_fw_unmask()
1914 static void ath10k_pci_irq_disable(struct ath10k *ar) in ath10k_pci_irq_disable()
1921 static void ath10k_pci_irq_sync(struct ath10k *ar) in ath10k_pci_irq_sync()
1928 static void ath10k_pci_irq_enable(struct ath10k *ar) in ath10k_pci_irq_enable()
1935 static int ath10k_pci_hif_start(struct ath10k *ar) in ath10k_pci_hif_start()
1954 struct ath10k *ar; in ath10k_pci_rx_pipe_cleanup() local
1986 struct ath10k *ar; in ath10k_pci_tx_pipe_cleanup() local
2021 static void ath10k_pci_buffer_cleanup(struct ath10k *ar) in ath10k_pci_buffer_cleanup()
2035 void ath10k_pci_ce_deinit(struct ath10k *ar) in ath10k_pci_ce_deinit()
2043 void ath10k_pci_flush(struct ath10k *ar) in ath10k_pci_flush()
2049 static void ath10k_pci_hif_stop(struct ath10k *ar) in ath10k_pci_hif_stop()
2080 int ath10k_pci_hif_exchange_bmi_msg(struct ath10k *ar, in ath10k_pci_hif_exchange_bmi_msg()
2186 struct ath10k *ar = ce_state->ar; in ath10k_pci_bmi_recv_data() local
2206 static int ath10k_pci_bmi_wait(struct ath10k *ar, in ath10k_pci_bmi_wait()
2243 static int ath10k_pci_wake_target_cpu(struct ath10k *ar) in ath10k_pci_wake_target_cpu()
2255 static int ath10k_pci_get_num_banks(struct ath10k *ar) in ath10k_pci_get_num_banks()
2291 static int ath10k_bus_get_num_banks(struct ath10k *ar) in ath10k_bus_get_num_banks()
2298 int ath10k_pci_init_config(struct ath10k *ar) in ath10k_pci_init_config()
2439 static void ath10k_pci_override_ce_config(struct ath10k *ar) in ath10k_pci_override_ce_config()
2462 int ath10k_pci_alloc_pipes(struct ath10k *ar) in ath10k_pci_alloc_pipes()
2494 void ath10k_pci_free_pipes(struct ath10k *ar) in ath10k_pci_free_pipes()
2502 int ath10k_pci_init_pipes(struct ath10k *ar) in ath10k_pci_init_pipes()
2518 static bool ath10k_pci_has_fw_crashed(struct ath10k *ar) in ath10k_pci_has_fw_crashed()
2524 static void ath10k_pci_fw_crashed_clear(struct ath10k *ar) in ath10k_pci_fw_crashed_clear()
2533 static bool ath10k_pci_has_device_gone(struct ath10k *ar) in ath10k_pci_has_device_gone()
2542 static void ath10k_pci_warm_reset_si0(struct ath10k *ar) in ath10k_pci_warm_reset_si0()
2561 static void ath10k_pci_warm_reset_cpu(struct ath10k *ar) in ath10k_pci_warm_reset_cpu()
2573 static void ath10k_pci_warm_reset_ce(struct ath10k *ar) in ath10k_pci_warm_reset_ce()
2587 static void ath10k_pci_warm_reset_clear_lf(struct ath10k *ar) in ath10k_pci_warm_reset_clear_lf()
2598 static int ath10k_pci_warm_reset(struct ath10k *ar) in ath10k_pci_warm_reset()
2636 static int ath10k_pci_qca99x0_soft_chip_reset(struct ath10k *ar) in ath10k_pci_qca99x0_soft_chip_reset()
2642 static int ath10k_pci_safe_chip_reset(struct ath10k *ar) in ath10k_pci_safe_chip_reset()
2652 static int ath10k_pci_qca988x_chip_reset(struct ath10k *ar) in ath10k_pci_qca988x_chip_reset()
2726 static int ath10k_pci_qca6174_chip_reset(struct ath10k *ar) in ath10k_pci_qca6174_chip_reset()
2758 static int ath10k_pci_qca99x0_chip_reset(struct ath10k *ar) in ath10k_pci_qca99x0_chip_reset()
2782 static int ath10k_pci_chip_reset(struct ath10k *ar) in ath10k_pci_chip_reset()
2792 static int ath10k_pci_hif_power_up(struct ath10k *ar) in ath10k_pci_hif_power_up()
2853 void ath10k_pci_hif_power_down(struct ath10k *ar) in ath10k_pci_hif_power_down()
2862 static int ath10k_pci_hif_suspend(struct ath10k *ar) in ath10k_pci_hif_suspend()
2868 static int ath10k_pci_suspend(struct ath10k *ar) in ath10k_pci_suspend()
2880 static int ath10k_pci_hif_resume(struct ath10k *ar) in ath10k_pci_hif_resume()
2886 static int ath10k_pci_resume(struct ath10k *ar) in ath10k_pci_resume()
2926 static void ath10k_pci_enable_eeprom(struct ath10k *ar) in ath10k_pci_enable_eeprom()
2962 static int ath10k_pci_read_eeprom(struct ath10k *ar, u16 addr, u8 *out) in ath10k_pci_read_eeprom()
3012 static int ath10k_pci_hif_fetch_cal_eeprom(struct ath10k *ar, void **data, in ath10k_pci_hif_fetch_cal_eeprom()
3076 struct ath10k *ar = arg; in ath10k_pci_interrupt_handler() local
3102 struct ath10k *ar = container_of(ctx, struct ath10k, napi); in ath10k_pci_napi_poll() local
3138 static int ath10k_pci_request_irq_msi(struct ath10k *ar) in ath10k_pci_request_irq_msi()
3155 static int ath10k_pci_request_irq_legacy(struct ath10k *ar) in ath10k_pci_request_irq_legacy()
3172 static int ath10k_pci_request_irq(struct ath10k *ar) in ath10k_pci_request_irq()
3186 static void ath10k_pci_free_irq(struct ath10k *ar) in ath10k_pci_free_irq()
3193 void ath10k_pci_init_napi(struct ath10k *ar) in ath10k_pci_init_napi()
3199 static int ath10k_pci_init_irq(struct ath10k *ar) in ath10k_pci_init_irq()
3237 static void ath10k_pci_deinit_irq_legacy(struct ath10k *ar) in ath10k_pci_deinit_irq_legacy()
3243 static int ath10k_pci_deinit_irq(struct ath10k *ar) in ath10k_pci_deinit_irq()
3259 int ath10k_pci_wait_for_target_init(struct ath10k *ar) in ath10k_pci_wait_for_target_init()
3316 static int ath10k_pci_cold_reset(struct ath10k *ar) in ath10k_pci_cold_reset()
3351 static int ath10k_pci_claim(struct ath10k *ar) in ath10k_pci_claim()
3412 static void ath10k_pci_release(struct ath10k *ar) in ath10k_pci_release()
3440 int ath10k_pci_setup_resource(struct ath10k *ar) in ath10k_pci_setup_resource()
3464 void ath10k_pci_release_resource(struct ath10k *ar) in ath10k_pci_release_resource()
3482 struct ath10k *ar; in ath10k_pci_probe() local
3663 struct ath10k *ar = pci_get_drvdata(pdev); in ath10k_pci_remove() local
3689 struct ath10k *ar = dev_get_drvdata(dev); in ath10k_pci_pm_suspend() local
3701 struct ath10k *ar = dev_get_drvdata(dev); in ath10k_pci_pm_resume() local