| /freebsd/sys/contrib/dev/athk/ath11k/ |
| H A D | pcic.c | 187 wakeup_required = test_bit(ATH11K_FLAG_DEVICE_INIT_DONE, &ab->dev_flags) && in ath11k_pcic_write32() 224 wakeup_required = test_bit(ATH11K_FLAG_DEVICE_INIT_DONE, &ab->dev_flags) && in ath11k_pcic_read32() 248 wakeup_required = test_bit(ATH11K_FLAG_DEVICE_INIT_DONE, &ab->dev_flags) && in ath11k_pcic_read() 366 if (!test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_pcic_ce_irq_enable() 380 if (!test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_pcic_ce_irq_disable() 391 clear_bit(ATH11K_FLAG_CE_IRQ_ENABLED, &ab->dev_flags); in ath11k_pcic_ce_irqs_disable() 430 if (!test_bit(ATH11K_FLAG_CE_IRQ_ENABLED, &ab->dev_flags)) in ath11k_pcic_ce_interrupt_handler() 451 if (!test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_pcic_ext_grp_disable() 462 clear_bit(ATH11K_FLAG_EXT_IRQ_ENABLED, &ab->dev_flags); in __ath11k_pcic_ext_irq_disable() 485 if (!test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_pcic_ext_grp_enable() [all …]
|
| H A D | pci.c | 462 set_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags); in ath11k_pci_alloc_msi() 472 clear_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags); in ath11k_pci_alloc_msi() 834 clear_bit(ATH11K_FLAG_DEVICE_INIT_DONE, &ab->dev_flags); in ath11k_pci_power_up() 868 clear_bit(ATH11K_FLAG_DEVICE_INIT_DONE, &ab->dev_flags); in ath11k_pci_power_down() 903 if (test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_pci_start() 957 if (test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab_pci->ab->dev_flags)) in ath11k_pci_set_irq_affinity_hint() 997 set_bit(ATH11K_FLAG_FIXED_MEM_RGN, &ab->dev_flags); in ath11k_pci_probe() 1201 if (test_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags)) { in ath11k_pci_remove() 1209 set_bit(ATH11K_FLAG_UNREGISTERING, &ab->dev_flags); in ath11k_pci_remove() 1243 if (test_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags)) { in ath11k_pci_pm_suspend() [all …]
|
| H A D | mhi.c | 226 if (test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_mhi_get_msi() 294 if (!(test_bit(ATH11K_FLAG_UNREGISTERING, &ab->dev_flags))) in ath11k_mhi_op_status_cb() 380 if (!test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_mhi_register() 383 if (test_bit(ATH11K_FLAG_FIXED_MEM_RGN, &ab->dev_flags)) { in ath11k_mhi_register()
|
| H A D | qmi.c | 1908 test_bit(ATH11K_FLAG_FIXED_MEM_RGN, &ab->dev_flags)) && in ath11k_qmi_respond_fw_mem_request() 1981 test_bit(ATH11K_FLAG_FIXED_MEM_RGN, &ab->dev_flags)) { in ath11k_qmi_free_target_mem_chunk() 3091 test_bit(ATH11K_FLAG_FIXED_MEM_RGN, &ab->dev_flags)) { in ath11k_qmi_msg_mem_request_cb() 3265 if (test_bit(ATH11K_FLAG_UNREGISTERING, &ab->dev_flags)) { in ath11k_qmi_driver_event_work() 3274 set_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags); in ath11k_qmi_driver_event_work() 3277 set_bit(ATH11K_FLAG_CRASH_FLUSH, &ab->dev_flags); in ath11k_qmi_driver_event_work() 3278 set_bit(ATH11K_FLAG_RECOVERY, &ab->dev_flags); in ath11k_qmi_driver_event_work() 3286 set_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags); in ath11k_qmi_driver_event_work() 3291 set_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags); in ath11k_qmi_driver_event_work() 3299 set_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags); in ath11k_qmi_driver_event_work() [all …]
|
| H A D | thermal.c | 86 if (test_bit(ATH11K_FLAG_CRASH_FLUSH, &ar->ab->dev_flags)) { in ath11k_thermal_show_temp() 166 if (test_bit(ATH11K_FLAG_REGISTERED, &ab->dev_flags)) in ath11k_thermal_register()
|
| H A D | ahb.c | 396 if (!test_bit(ATH11K_FLAG_CRASH_FLUSH, &ab->dev_flags)) in ath11k_ahb_stop() 864 set_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags); in ath11k_ahb_setup_msi_resources() 1240 if (test_bit(ATH11K_FLAG_RECOVERY, &ab->dev_flags)) { in ath11k_ahb_remove_prepare() 1247 set_bit(ATH11K_FLAG_UNREGISTERING, &ab->dev_flags); in ath11k_ahb_remove_prepare() 1271 if (test_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags)) { in ath11k_ahb_remove() 1296 if (!(test_bit(ATH11K_FLAG_REGISTERED, &ab->dev_flags))) in ath11k_ahb_shutdown()
|
| H A D | core.c | 1934 if (!test_bit(ATH11K_FLAG_CRASH_FLUSH, &ab->dev_flags)) in ath11k_core_stop() 2217 set_bit(ATH11K_FLAG_HW_CRYPTO_DISABLED, &ab->dev_flags); in ath11k_core_qmi_firmware_ready() 2218 set_bit(ATH11K_FLAG_RAW_MODE, &ab->dev_flags); in ath11k_core_qmi_firmware_ready() 2221 clear_bit(ATH11K_FLAG_HW_CRYPTO_DISABLED, &ab->dev_flags); in ath11k_core_qmi_firmware_ready() 2222 clear_bit(ATH11K_FLAG_RAW_MODE, &ab->dev_flags); in ath11k_core_qmi_firmware_ready() 2248 set_bit(ATH11K_FLAG_RAW_MODE, &ab->dev_flags); in ath11k_core_qmi_firmware_ready() 2297 clear_bit(ATH11K_FLAG_CRASH_FLUSH, &ab->dev_flags); in ath11k_core_reconfigure_on_crash() 2303 clear_bit(ATH11K_FLAG_RECOVERY, &ab->dev_flags); in ath11k_core_reconfigure_on_crash() 2486 if (!(test_bit(ATH11K_FLAG_REGISTERED, &ab->dev_flags))) { in ath11k_core_reset() 2487 ath11k_warn(ab, "ignore reset dev flags 0x%lx\n", ab->dev_flags); in ath11k_core_reset()
|
| H A D | testmode.c | 225 if (test_bit(ATH11K_FLAG_FTM_SEGMENTED, &ab->dev_flags)) in ath11k_tm_wmi_event() 403 set_bit(ATH11K_FLAG_FTM_SEGMENTED, &ab->dev_flags); in ath11k_tm_cmd_wmi_ftm()
|
| H A D | dp_tx.c | 22 if (test_bit(ATH11K_FLAG_RAW_MODE, &ab->dev_flags)) in ath11k_dp_tx_get_encap_type() 110 if (unlikely(test_bit(ATH11K_FLAG_CRASH_FLUSH, &ar->ab->dev_flags))) in ath11k_dp_tx() 204 if (!test_bit(ATH11K_FLAG_RAW_MODE, &ab->dev_flags)) { in ath11k_dp_tx() 793 if (test_bit(ATH11K_FLAG_CRASH_FLUSH, &ab->dev_flags)) in ath11k_dp_tx_send_reo_cmd()
|
| H A D | htc.c | 248 set_bit(ATH11K_FLAG_HTC_SUSPEND_COMPLETE, &ab->dev_flags); in ath11k_htc_suspend_complete() 250 clear_bit(ATH11K_FLAG_HTC_SUSPEND_COMPLETE, &ab->dev_flags); in ath11k_htc_suspend_complete()
|
| H A D | wow.c | 34 clear_bit(ATH11K_FLAG_HTC_SUSPEND_COMPLETE, &ab->dev_flags); in ath11k_wow_enable() 52 if (test_bit(ATH11K_FLAG_HTC_SUSPEND_COMPLETE, &ab->dev_flags)) in ath11k_wow_enable()
|
| /freebsd/sys/contrib/dev/athk/ath12k/ |
| H A D | core.c | 397 if (!test_bit(ATH12K_FLAG_CRASH_FLUSH, &ab->dev_flags)) in ath12k_core_stop() 670 clear_bit(ATH12K_FLAG_CRASH_FLUSH, &ab->dev_flags); in ath12k_core_reconfigure_on_crash() 676 clear_bit(ATH12K_FLAG_RECOVERY, &ab->dev_flags); in ath12k_core_reconfigure_on_crash() 810 if (!(test_bit(ATH12K_FLAG_REGISTERED, &ab->dev_flags))) { in ath12k_core_reset() 811 ath12k_warn(ab, "ignore reset dev flags 0x%lx\n", ab->dev_flags); in ath12k_core_reset()
|
| H A D | qmi.c | 3019 if (test_bit(ATH12K_FLAG_UNREGISTERING, &ab->dev_flags)) in ath12k_qmi_driver_event_work() 3026 set_bit(ATH12K_FLAG_QMI_FAIL, &ab->dev_flags); in ath12k_qmi_driver_event_work() 3029 set_bit(ATH12K_FLAG_CRASH_FLUSH, &ab->dev_flags); in ath12k_qmi_driver_event_work() 3030 set_bit(ATH12K_FLAG_RECOVERY, &ab->dev_flags); in ath12k_qmi_driver_event_work() 3035 set_bit(ATH12K_FLAG_QMI_FAIL, &ab->dev_flags); in ath12k_qmi_driver_event_work() 3040 set_bit(ATH12K_FLAG_QMI_FAIL, &ab->dev_flags); in ath12k_qmi_driver_event_work() 3043 clear_bit(ATH12K_FLAG_QMI_FAIL, &ab->dev_flags); in ath12k_qmi_driver_event_work() 3044 if (test_bit(ATH12K_FLAG_REGISTERED, &ab->dev_flags)) { in ath12k_qmi_driver_event_work() 3051 &ab->dev_flags); in ath12k_qmi_driver_event_work() 3052 clear_bit(ATH12K_FLAG_RECOVERY, &ab->dev_flags); in ath12k_qmi_driver_event_work() [all …]
|
| H A D | dp_tx.c | 18 if (test_bit(ATH12K_FLAG_RAW_MODE, &ab->dev_flags)) in ath12k_dp_tx_get_encap_type() 154 if (test_bit(ATH12K_FLAG_CRASH_FLUSH, &ar->ab->dev_flags)) in ath12k_dp_tx() 189 test_bit(ATH12K_FLAG_HW_CRYPTO_DISABLED, &ar->ab->dev_flags)) { in ath12k_dp_tx() 232 if (!test_bit(ATH12K_FLAG_RAW_MODE, &ab->dev_flags)) { in ath12k_dp_tx()
|
| H A D | core.h | 500 unsigned long dev_flags; member 763 unsigned long dev_flags; member
|
| H A D | htc.c | 240 set_bit(ATH12K_FLAG_HTC_SUSPEND_COMPLETE, &ab->dev_flags); in ath12k_htc_suspend_complete() 242 clear_bit(ATH12K_FLAG_HTC_SUSPEND_COMPLETE, &ab->dev_flags); in ath12k_htc_suspend_complete()
|
| H A D | peer.c | 175 test_bit(ATH12K_FLAG_CRASH_FLUSH, &ab->dev_flags)); in ath12k_wait_for_peer_common()
|
| /freebsd/sys/contrib/dev/athk/ath10k/ |
| H A D | core.c | 2622 if (test_bit(ATH10K_FLAG_NAPI_ENABLED, &ar->dev_flags)) in ath10k_core_napi_enable() 2626 set_bit(ATH10K_FLAG_NAPI_ENABLED, &ar->dev_flags); in ath10k_core_napi_enable() 2634 if (!test_bit(ATH10K_FLAG_NAPI_ENABLED, &ar->dev_flags)) in ath10k_core_napi_sync_disable() 2639 clear_bit(ATH10K_FLAG_NAPI_ENABLED, &ar->dev_flags); in ath10k_core_napi_sync_disable() 2650 set_bit(ATH10K_FLAG_CRASH_FLUSH, &ar->dev_flags); in ath10k_core_restart() 2745 clear_bit(ATH10K_FLAG_RAW_MODE, &ar->dev_flags); in ath10k_core_init_firmware_features() 2746 clear_bit(ATH10K_FLAG_HW_CRYPTO_DISABLED, &ar->dev_flags); in ath10k_core_init_firmware_features() 2755 set_bit(ATH10K_FLAG_RAW_MODE, &ar->dev_flags); in ath10k_core_init_firmware_features() 2756 set_bit(ATH10K_FLAG_HW_CRYPTO_DISABLED, &ar->dev_flags); in ath10k_core_init_firmware_features() 2773 set_bit(ATH10K_FLAG_RAW_MODE, &ar->dev_flags); in ath10k_core_init_firmware_features() [all …]
|
| H A D | debug.c | 131 test_bit(ATH10K_FLAG_RAW_MODE, &ar->dev_flags), in ath10k_debug_print_boot_info() 132 !test_bit(ATH10K_FLAG_HW_CRYPTO_DISABLED, &ar->dev_flags)); in ath10k_debug_print_boot_info() 2030 if (!(test_bit(ATH10K_FLAG_BTCOEX, &ar->dev_flags) ^ val)) { in ath10k_write_btcoex() 2050 set_bit(ATH10K_FLAG_BTCOEX, &ar->dev_flags); in ath10k_write_btcoex() 2052 clear_bit(ATH10K_FLAG_BTCOEX, &ar->dev_flags); in ath10k_write_btcoex() 2071 test_bit(ATH10K_FLAG_BTCOEX, &ar->dev_flags)); in ath10k_read_btcoex() 2158 if (!(test_bit(ATH10K_FLAG_PEER_STATS, &ar->dev_flags) ^ val)) { in ath10k_write_peer_stats() 2164 set_bit(ATH10K_FLAG_PEER_STATS, &ar->dev_flags); in ath10k_write_peer_stats() 2166 clear_bit(ATH10K_FLAG_PEER_STATS, &ar->dev_flags); in ath10k_write_peer_stats() 2188 test_bit(ATH10K_FLAG_PEER_STATS, &ar->dev_flags)); in ath10k_read_peer_stats()
|
| H A D | thermal.c | 85 if (test_bit(ATH10K_FLAG_CRASH_FLUSH, &ar->dev_flags)) { in ath10k_thermal_show_temp()
|
| H A D | fwlog.c | 1529 if (!test_bit(ATH10K_FLAG_CORE_REGISTERED, &ar->dev_flags)) { in ath10k_handle_fwlog_msg()
|
| H A D | snoc.c | 925 if (!test_bit(ATH10K_FLAG_CRASH_FLUSH, &ar->dev_flags)) in ath10k_snoc_hif_stop() 1062 if (!test_bit(ATH10K_FLAG_CRASH_FLUSH, &ar->dev_flags) || in ath10k_snoc_wlan_disable() 1238 if (test_bit(ATH10K_FLAG_CRASH_FLUSH, &ar->dev_flags)) { in ath10k_snoc_napi_poll() 1379 set_bit(ATH10K_FLAG_CRASH_FLUSH, &ar->dev_flags); in ath10k_snoc_fw_indication()
|
| H A D | txrx.c | 198 test_bit(ATH10K_FLAG_CRASH_FLUSH, &ar->dev_flags)); in ath10k_wait_for_peer_common()
|
| H A D | core.h | 1153 unsigned long dev_flags; member 1346 if (test_bit(ATH10K_FLAG_PEER_STATS, &ar->dev_flags) && in ath10k_peer_stats_enabled()
|
| /freebsd/sys/dev/mlx4/mlx4_core/ |
| H A D | mlx4_main.c | 3108 u64 dev_flags = dev->flags; in mlx4_enable_sriov() local 3116 return dev_flags; in mlx4_enable_sriov() 3144 dev_flags |= MLX4_FLAG_SRIOV | in mlx4_enable_sriov() 3146 dev_flags &= ~MLX4_FLAG_SLAVE; in mlx4_enable_sriov() 3149 return dev_flags; in mlx4_enable_sriov() 3157 return dev_flags & ~MLX4_FLAG_MASTER; in mlx4_enable_sriov() 3332 u64 dev_flags = mlx4_enable_sriov(dev, pdev, in mlx4_load_one() local 3338 dev->flags = dev_flags; in mlx4_load_one() 3391 u64 dev_flags = mlx4_enable_sriov(dev, pdev, total_vfs, in mlx4_load_one() local 3394 if ((dev->flags ^ dev_flags) & (MLX4_FLAG_MASTER | MLX4_FLAG_SLAVE)) { in mlx4_load_one() [all …]
|