| /freebsd-14.2/sys/contrib/dev/athk/ |
| H A D | key.c | 391 if (test_bit(i, common->keymap) || in ath_reserve_key_cache_slot_tkip() 392 test_bit(i + 64, common->keymap)) in ath_reserve_key_cache_slot_tkip() 416 if (!test_bit(i, common->keymap) && in ath_reserve_key_cache_slot() 422 (test_bit(i, common->keymap) || in ath_reserve_key_cache_slot() 427 (test_bit(i , common->keymap) || in ath_reserve_key_cache_slot() 432 (test_bit(i, common->keymap) || in ath_reserve_key_cache_slot() 439 if (!test_bit(i, common->keymap) && in ath_reserve_key_cache_slot() 440 test_bit(i + 64, common->keymap)) in ath_reserve_key_cache_slot() 442 if (test_bit(i, common->keymap) && in ath_reserve_key_cache_slot() 443 !test_bit(i + 64, common->keymap)) in ath_reserve_key_cache_slot() [all …]
|
| /freebsd-14.2/sys/ofed/drivers/infiniband/ulp/ipoib/ |
| H A D | ipoib_multicast.c | 287 if (!test_bit(IPOIB_FLAG_OPER_UP, &priv->flags)) { in ipoib_mcast_sendonly_join() 361 if (test_bit(IPOIB_MCAST_RUN, &priv->flags)) in ipoib_mcast_join_complete() 395 if (test_bit(IPOIB_MCAST_RUN, &priv->flags)) in ipoib_mcast_join_complete() 463 if (test_bit(IPOIB_MCAST_RUN, &priv->flags)) in ipoib_mcast_join() 480 if (!test_bit(IPOIB_MCAST_RUN, &priv->flags)) in ipoib_mcast_join_task() 507 if (!test_bit(IPOIB_FLAG_ADMIN_UP, &priv->flags)) in ipoib_mcast_join_task() 514 if (test_bit(IPOIB_MCAST_RUN, &priv->flags)) in ipoib_mcast_join_task() 633 if (!test_bit(IPOIB_FLAG_OPER_UP, &priv->flags) || in ipoib_mcast_send() 670 if (test_bit(IPOIB_MCAST_FLAG_BUSY, &mcast->flags)) in ipoib_mcast_send() 768 if (test_bit(IPOIB_FLAG_UMCAST, &priv->flags) && in ipoib_process_maddr() [all …]
|
| H A D | ipoib_ib.c | 265 if (test_bit(IPOIB_FLAG_CSUM, &priv->flags) && likely(wc->wc_flags & IB_WC_IP_CSUM_OK)) in ipoib_ib_handle_rx_wc() 359 test_bit(IPOIB_FLAG_ADMIN_UP, &priv->flags)) in ipoib_ib_handle_tx_wc() 587 if (!test_bit(IPOIB_STOP_REAPER, &priv->flags)) in ipoib_reap_ah() 669 if (!test_bit(IPOIB_PKEY_ASSIGNED, &priv->flags)) { in ipoib_ib_dev_up() 688 if (!test_bit(IPOIB_PKEY_ASSIGNED, &priv->flags)) { in ipoib_ib_dev_down() 898 if (!test_bit(IPOIB_FLAG_INITIALIZED, &priv->flags)) { in __ipoib_ib_dev_flush() 903 if (!test_bit(IPOIB_FLAG_ADMIN_UP, &priv->flags)) { in __ipoib_ib_dev_flush() 943 if (test_bit(IPOIB_FLAG_ADMIN_UP, &priv->flags)) { in __ipoib_ib_dev_flush() 1003 if (test_bit(IPOIB_PKEY_ASSIGNED, &priv->flags)) in ipoib_pkey_poll() 1007 if (!test_bit(IPOIB_PKEY_STOP, &priv->flags)) in ipoib_pkey_poll() [all …]
|
| H A D | ipoib_ethtool.c | 50 return test_bit(IPOIB_FLAG_CSUM, &priv->flags) && in ipoib_get_rx_csum() 51 !test_bit(IPOIB_FLAG_ADMIN_CM, &priv->flags); in ipoib_get_rx_csum()
|
| /freebsd-14.2/sys/contrib/dev/rtw88/ |
| H A D | ps.c | 29 if (!test_bit(RTW_FLAG_POWERON, rtwdev->flags)) in rtw_enter_ips() 53 if (test_bit(RTW_FLAG_POWERON, rtwdev->flags)) in rtw_leave_ips() 154 if (test_bit(RTW_FLAG_WOWLAN, rtwdev->flags)) in rtw_fw_leave_lps_check() 174 if (test_bit(RTW_FLAG_WOWLAN, rtwdev->flags)) in rtw_fw_leave_lps_check_prepare() 204 if (test_bit(RTW_FLAG_WOWLAN, rtwdev->flags)) in rtw_get_lps_deep_mode() 215 if (!test_bit(RTW_FLAG_LEISURE_PS, rtwdev->flags)) { in __rtw_enter_lps_deep() 248 if (test_bit(RTW_FLAG_LEISURE_PS, rtwdev->flags)) in __rtw_enter_lps() 267 if (!test_bit(RTW_FLAG_LEISURE_PS, rtwdev->flags)) in __rtw_leave_lps()
|
| /freebsd-14.2/sys/contrib/dev/athk/ath12k/ |
| H A D | mhi.c | 329 if (!(test_bit(ATH12K_FLAG_UNREGISTERING, &ab->dev_flags))) in ath12k_mhi_op_status_cb() 482 if (!test_bit(ATH12K_MHI_INIT, &ab_pci->mhi_state)) in ath12k_mhi_check_state_bit() 487 if (test_bit(ATH12K_MHI_INIT, &ab_pci->mhi_state) && in ath12k_mhi_check_state_bit() 488 !test_bit(ATH12K_MHI_POWER_ON, &ab_pci->mhi_state)) in ath12k_mhi_check_state_bit() 492 if (test_bit(ATH12K_MHI_POWER_ON, &ab_pci->mhi_state)) in ath12k_mhi_check_state_bit() 497 if (test_bit(ATH12K_MHI_POWER_ON, &ab_pci->mhi_state) && in ath12k_mhi_check_state_bit() 498 !test_bit(ATH12K_MHI_SUSPEND, &ab_pci->mhi_state)) in ath12k_mhi_check_state_bit() 502 if (test_bit(ATH12K_MHI_SUSPEND, &ab_pci->mhi_state)) in ath12k_mhi_check_state_bit() 506 if (test_bit(ATH12K_MHI_POWER_ON, &ab_pci->mhi_state) && in ath12k_mhi_check_state_bit() 507 !test_bit(ATH12K_MHI_TRIGGER_RDDM, &ab_pci->mhi_state)) in ath12k_mhi_check_state_bit()
|
| /freebsd-14.2/sys/dev/qat/qat_common/ |
| H A D | adf_freebsd_uio_cleanup.c | 66 if (test_bit(i, &orphan->tx_mask)) { in check_orphan_ring() 69 if (!test_bit(rx_ring, &orphan->rx_mask)) { in check_orphan_ring() 83 } else if (test_bit(i, &orphan->rx_mask)) { in check_orphan_ring() 86 if (!test_bit(tx_ring, &orphan->tx_mask)) { in check_orphan_ring() 158 if (test_bit(i, &tx_mask)) in get_orphan_bundle() 163 if (test_bit(i, &asym_mask)) in get_orphan_bundle() 203 if (!test_bit(i, &mask)) in cleanup_all_ring() 369 if (!test_bit(ADF_STATUS_RESTARTING, &accel_dev->status)) { in adf_uio_do_cleanup_orphan()
|
| H A D | adf_init.c | 280 if (!test_bit(ADF_STATUS_CONFIGURED, &accel_dev->status) && in adf_dev_init() 485 if (!test_bit(ADF_STATUS_RESTARTING, &accel_dev->status) && in adf_dev_start() 518 !test_bit(ADF_STATUS_STARTING, &accel_dev->status)) { in adf_dev_stop() 538 if (!test_bit(accel_dev->accel_id, service->start_status)) in adf_dev_stop() 548 if (test_bit(ADF_STATUS_AE_STARTED, &accel_dev->status)) { in adf_dev_stop() 573 if (test_bit(ADF_STATUS_SYSCTL_CTX_INITIALISED, &accel_dev->status)) { in adf_dev_shutdown() 586 if (test_bit(ADF_STATUS_AE_UCODE_LOADED, &accel_dev->status)) { in adf_dev_shutdown() 591 if (test_bit(ADF_STATUS_AE_INITIALISED, &accel_dev->status)) { in adf_dev_shutdown() 603 if (!test_bit(accel_dev->accel_id, service->init_status)) in adf_dev_shutdown() 615 if (test_bit(ADF_STATUS_IRQ_ALLOCATED, &accel_dev->status)) { in adf_dev_shutdown() [all …]
|
| /freebsd-14.2/sys/compat/linuxkpi/common/src/ |
| H A D | linux_netdev.c | 151 if (test_bit(LKPI_NAPI_FLAG_LOST_RACE_TRY_AGAIN, &napi->state)) in lkpi___napi_schedule_dd() 169 if (test_bit(LKPI_NAPI_FLAG_SHUTDOWN, &napi->state)) { in linuxkpi___napi_schedule() 233 if (!test_bit(LKPI_NAPI_FLAG_LOST_RACE_TRY_AGAIN, &old)) in linuxkpi_napi_complete_done() 241 if (test_bit(LKPI_NAPI_FLAG_LOST_RACE_TRY_AGAIN, &old)) { in linuxkpi_napi_complete_done() 262 while (test_bit(LKPI_NAPI_FLAG_IS_SCHEDULED, &napi->state)) in linuxkpi_napi_disable() 272 KASSERT(!test_bit(LKPI_NAPI_FLAG_IS_SCHEDULED, &napi->state), in linuxkpi_napi_enable() 285 while (test_bit(LKPI_NAPI_FLAG_IS_SCHEDULED, &napi->state)) in linuxkpi_napi_synchronize()
|
| /freebsd-14.2/sys/contrib/dev/athk/ath10k/ |
| H A D | thermal.c | 84 if (test_bit(ATH10K_FLAG_CRASH_FLUSH, &ar->dev_flags)) { in ath10k_thermal_show_temp() 132 if (!test_bit(WMI_SERVICE_THERM_THROT, ar->wmi.svc_map)) in ath10k_thermal_set_throttling() 160 if (!test_bit(WMI_SERVICE_THERM_THROT, ar->wmi.svc_map)) in ath10k_thermal_register() 214 if (!test_bit(WMI_SERVICE_THERM_THROT, ar->wmi.svc_map)) in ath10k_thermal_unregister()
|
| H A D | coredump.c | 1450 if (!test_bit(ATH10K_FW_CRASH_DUMP_RAM_DATA, &ath10k_coredump_mask)) in ath10k_coredump_get_mem_layout() 1503 if (test_bit(ATH10K_FW_CRASH_DUMP_REGISTERS, &ath10k_coredump_mask)) in ath10k_coredump_build() 1506 if (test_bit(ATH10K_FW_CRASH_DUMP_CE_DATA, &ath10k_coredump_mask)) in ath10k_coredump_build() 1510 if (test_bit(ATH10K_FW_CRASH_DUMP_RAM_DATA, &ath10k_coredump_mask)) in ath10k_coredump_build() 1556 if (test_bit(ATH10K_FW_CRASH_DUMP_REGISTERS, &ath10k_coredump_mask)) { in ath10k_coredump_build() 1565 if (test_bit(ATH10K_FW_CRASH_DUMP_CE_DATA, &ath10k_coredump_mask)) { in ath10k_coredump_build() 1580 if (test_bit(ATH10K_FW_CRASH_DUMP_RAM_DATA, &ath10k_coredump_mask)) { in ath10k_coredump_build() 1632 if (test_bit(ATH10K_FW_CRASH_DUMP_RAM_DATA, &ath10k_coredump_mask)) { in ath10k_coredump_register()
|
| H A D | core.c | 2687 if (!test_bit(ATH10K_FW_FEATURE_RAW_MODE_SUPPORT, in ath10k_core_init_firmware_features() 2706 if (!test_bit(ATH10K_FW_FEATURE_RAW_MODE_SUPPORT, in ath10k_core_init_firmware_features() 2734 if (test_bit(ATH10K_FW_FEATURE_WMI_10_2, in ath10k_core_init_firmware_features() 3011 if (!test_bit(ATH10K_FW_FEATURE_NON_BMI, in ath10k_core_start() 3074 if (!test_bit(ATH10K_FW_FEATURE_NON_BMI, in ath10k_core_start() 3160 if (test_bit(ATH10K_FW_FEATURE_IRAM_RECOVERY, in ath10k_core_start() 3195 test_bit(ATH10K_FW_FEATURE_BTCOEX_PARAM, in ath10k_core_start() 3204 if (test_bit(WMI_SERVICE_TDLS_UAPSD_BUFFER_STA, in ath10k_core_start() 3208 if (test_bit(WMI_SERVICE_TX_DATA_ACK_RSSI, in ath10k_core_start() 3438 if (!test_bit(ATH10K_FW_FEATURE_NON_BMI, in ath10k_core_probe_fw() [all …]
|
| H A D | wow.c | 372 if (!test_bit(i, &wow_mask)) in ath10k_vif_wow_set_wakeups() 505 if (WARN_ON(!test_bit(ATH10K_FW_FEATURE_WOWLAN_SUPPORT, in ath10k_wow_op_suspend() 557 if (test_bit(ATH10K_FW_FEATURE_WOWLAN_SUPPORT, in ath10k_wow_op_set_wakeup() 571 if (WARN_ON(!test_bit(ATH10K_FW_FEATURE_WOWLAN_SUPPORT, in ath10k_wow_op_resume() 616 if (!test_bit(ATH10K_FW_FEATURE_WOWLAN_SUPPORT, in ath10k_wow_init() 620 if (WARN_ON(!test_bit(WMI_SERVICE_WOW, ar->wmi.svc_map))) in ath10k_wow_init() 630 if (test_bit(WMI_SERVICE_NLO, ar->wmi.svc_map)) { in ath10k_wow_init()
|
| H A D | mac.c | 287 if (test_bit(ATH10K_FLAG_RAW_MODE, &ar->dev_flags)) in ath10k_send_key() 1393 if (!test_bit(ATH10K_CAC_RUNNING, &ar->dev_flags)) in ath10k_stop_cac() 2235 test_bit(ATH10K_FW_FEATURE_MFP_SUPPORT, in ath10k_peer_assoc_h_crypto() 3752 !test_bit(ATH10K_FW_FEATURE_HAS_WMI_MGMT_TX, in ath10k_mac_tx_h_get_txmode() 3991 if (test_bit(ATH10K_FW_FEATURE_HAS_WMI_MGMT_TX, in ath10k_mac_tx_h_get_txpath() 3993 test_bit(WMI_SERVICE_MGMT_TX_WMI, in ath10k_mac_tx_h_get_txpath() 4238 if (test_bit(ATH10K_FW_FEATURE_MGMT_TX_BY_REF, in ath10k_mgmt_over_wmi_tx_work() 5332 test_bit(ATH10K_FW_FEATURE_BTCOEX_PARAM, in ath10k_start() 8077 test_bit(ATH10K_FLAG_CRASH_FLUSH, in ath10k_mac_wait_tx_complete() 10088 if (!test_bit(ATH10K_FW_FEATURE_NO_PS, [all …]
|
| /freebsd-14.2/sys/contrib/dev/athk/ath11k/ |
| H A D | pcic.c | 163 wakeup_required = test_bit(ATH11K_FLAG_DEVICE_INIT_DONE, &ab->dev_flags) && in ath11k_pcic_write32() 200 wakeup_required = test_bit(ATH11K_FLAG_DEVICE_INIT_DONE, &ab->dev_flags) && in ath11k_pcic_read32() 224 wakeup_required = test_bit(ATH11K_FLAG_DEVICE_INIT_DONE, &ab->dev_flags) && in ath11k_pcic_read() 341 if (!test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_pcic_ce_irq_enable() 355 if (!test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_pcic_ce_irq_disable() 405 if (!test_bit(ATH11K_FLAG_CE_IRQ_ENABLED, &ab->dev_flags)) in ath11k_pcic_ce_interrupt_handler() 426 if (!test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_pcic_ext_grp_disable() 460 if (!test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_pcic_ext_grp_enable() 534 if (!test_bit(ATH11K_FLAG_EXT_IRQ_ENABLED, &ab->dev_flags)) in ath11k_pcic_ext_interrupt_handler() 569 if (!test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_pcic_ext_irq_config() [all …]
|
| H A D | mhi.c | 281 if (test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_mhi_get_msi() 341 if (!(test_bit(ATH11K_FLAG_UNREGISTERING, &ab->dev_flags))) in ath11k_mhi_op_status_cb() 417 if (!test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, &ab->dev_flags)) in ath11k_mhi_register() 420 if (test_bit(ATH11K_FLAG_FIXED_MEM_RGN, &ab->dev_flags)) { in ath11k_mhi_register()
|
| /freebsd-14.2/sys/contrib/openzfs/include/os/linux/kernel/linux/ |
| H A D | dcache_compat.h | 52 test_bit(PG_dcache_clean, &(page)->flags)) \ 63 if (test_bit(PG_dcache_clean, &(page)->flags)) \
|
| /freebsd-14.2/sys/contrib/dev/mediatek/mt76/ |
| H A D | sdio_txrx.c | 252 if (test_bit(MT76_MCU_RESET, &dev->phy.state)) in mt76s_tx_run_queue() 255 if (!test_bit(MT76_STATE_MCU_RUNNING, &dev->phy.state)) { in mt76s_tx_run_queue() 337 if (test_bit(MT76_MCU_RESET, &dev->phy.state) || in mt76s_txrx_worker() 338 test_bit(MT76_STATE_SUSPEND, &dev->phy.state)) { in mt76s_txrx_worker() 358 if (!test_bit(MT76_STATE_INITIALIZED, &dev->phy.state) || in mt76s_sdio_irq() 359 test_bit(MT76_MCU_RESET, &dev->phy.state)) in mt76s_sdio_irq()
|
| H A D | sdio.c | 146 if (test_bit(MT76_STATE_MCU_RUNNING, &dev->phy.state)) in mt76s_rr() 155 if (test_bit(MT76_STATE_MCU_RUNNING, &dev->phy.state)) in mt76s_wr() 391 if (!test_bit(MT76_STATE_INITIALIZED, &dev->phy.state)) in mt76s_process_rx_queue() 483 !test_bit(MT76_STATE_SUSPEND, &dev->phy.state)) in mt76s_status_worker() 502 if (test_bit(MT76_REMOVED, &dev->phy.state)) in mt76s_tx_status_data() 510 if (count && test_bit(MT76_STATE_RUNNING, &dev->phy.state)) in mt76s_tx_status_data()
|
| /freebsd-14.2/sys/netpfil/ipfw/ |
| H A D | dn_sched_prio.c | 59 #define test_bit(ix, pData) ((*pData) & (1<<(ix))) macro 91 if (test_bit(prio, &si->bitmap) == 0) { in prio_enqueue() 176 if (test_bit(prio, &si->bitmap) == 0) { in prio_new_queue()
|
| /freebsd-14.2/sys/contrib/dev/iwlwifi/mvm/ |
| H A D | offloading.c | 95 test_bit(i, mvmvif->tentative_addrs)) { in iwl_mvm_send_proto_offload() 132 test_bit(i, mvmvif->tentative_addrs)) in iwl_mvm_send_proto_offload() 153 test_bit(i, mvmvif->tentative_addrs)) in iwl_mvm_send_proto_offload()
|
| H A D | mld-mac80211.c | 24 if (test_bit(IWL_MVM_STATUS_IN_HW_RESTART, &mvm->status)) in iwl_mvm_mld_mac_add_interface() 112 if (!test_bit(IWL_MVM_STATUS_IN_HW_RESTART, &mvm->status) && in iwl_mvm_mld_mac_add_interface() 334 !test_bit(IWL_MVM_STATUS_IN_HW_RESTART, &mvm->status)) { in __iwl_mvm_mld_assign_vif_chanctx() 694 if (test_bit(IWL_MVM_STATUS_IN_HW_RESTART, &mvm->status)) in iwl_mvm_mld_vif_delete_all_stas() 760 if (!test_bit(IWL_MVM_STATUS_IN_HW_RESTART, &mvm->status) && in iwl_mvm_mld_vif_cfg_changed_station() 786 !test_bit(IWL_MVM_STATUS_HW_RESTART_REQUESTED, in iwl_mvm_mld_vif_cfg_changed_station() 1031 if (test_bit(IWL_MVM_STATUS_IN_HW_RESTART, &mvm->status)) in iwl_mvm_mld_change_vif_links() 1077 if (!test_bit(IWL_MVM_STATUS_IN_HW_RESTART, in iwl_mvm_mld_change_vif_links()
|
| /freebsd-14.2/sys/contrib/dev/iwlwifi/fw/ |
| H A D | img.h | 66 return test_bit((__force long)api, capabilities->_api); in fw_has_api() 73 return test_bit((__force long)capa, capabilities->_capa); in fw_has_capa()
|
| /freebsd-14.2/sys/contrib/dev/mediatek/mt76/mt7615/ |
| H A D | usb.c | 206 if (!test_bit(MT76_STATE_INITIALIZED, &dev->mphy.state)) in mt7663u_disconnect() 223 if (!test_bit(MT76_STATE_SUSPEND, &dev->mphy.state) && in mt7663u_suspend() 253 if (!test_bit(MT76_STATE_SUSPEND, &dev->mphy.state) && in mt7663u_resume()
|
| /freebsd-14.2/sys/dev/mlx4/mlx4_core/ |
| H A D | mlx4_eq.c | 313 port <= 0 || !test_bit(port - 1, actv_ports.ports)) { in mlx4_get_slave_port_state() 330 port <= 0 || !test_bit(port - 1, actv_ports.ports)) { in mlx4_set_slave_port_state() 348 if (test_bit(i, slaves_pport.slaves)) in set_all_slave_state() 376 port <= 0 || !test_bit(port - 1, actv_ports.ports)) { in set_and_calc_slave_port_state() 606 if (!test_bit(i, slaves_port.slaves) && !mlx4_is_bonded(dev)) in mlx4_eq_int() 649 if (!test_bit(i, slaves_port.slaves) && !mlx4_is_bonded(dev)) in mlx4_eq_int() 1402 sum += !!test_bit(port - 1, in mlx4_get_eqs_per_port() 1435 if (test_bit(port - 1, in mlx4_assign_eq() 1447 test_bit(port - 1, eq->actv_ports.ports)) { in mlx4_assign_eq() 1460 test_bit(port - 1, eq->actv_ports.ports)) { in mlx4_assign_eq() [all …]
|