Home
last modified time | relevance | path

Searched refs:test_bit (Results 1 – 25 of 1819) sorted by relevance

12345678910>>...73

/linux/include/net/
H A Dgre.h56 if (test_bit(IP_TUNNEL_CSUM_BIT, o_flags)) in gre_calc_hlen()
58 if (test_bit(IP_TUNNEL_KEY_BIT, o_flags)) in gre_calc_hlen()
60 if (test_bit(IP_TUNNEL_SEQ_BIT, o_flags)) in gre_calc_hlen()
84 if (test_bit(IP_TUNNEL_CSUM_BIT, tflags)) in gre_tnl_flags_to_gre_flags()
86 if (test_bit(IP_TUNNEL_ROUTING_BIT, tflags)) in gre_tnl_flags_to_gre_flags()
88 if (test_bit(IP_TUNNEL_KEY_BIT, tflags)) in gre_tnl_flags_to_gre_flags()
90 if (test_bit(IP_TUNNEL_SEQ_BIT, tflags)) in gre_tnl_flags_to_gre_flags()
92 if (test_bit(IP_TUNNEL_STRICT_BIT, tflags)) in gre_tnl_flags_to_gre_flags()
94 if (test_bit(IP_TUNNEL_REC_BIT, tflags)) in gre_tnl_flags_to_gre_flags()
96 if (test_bit(IP_TUNNEL_VERSION_BIT, tflags)) in gre_tnl_flags_to_gre_flags()
[all …]
/linux/drivers/net/wireless/ath/
H A Dkey.c391 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()
395 (test_bit(i + 32, common->keymap) || in ath_reserve_key_cache_slot_tkip()
396 test_bit(i + 64 + 32, common->keymap))) in ath_reserve_key_cache_slot_tkip()
416 if (!test_bit(i, common->keymap) && in ath_reserve_key_cache_slot()
417 (test_bit(i + 32, common->keymap) || in ath_reserve_key_cache_slot()
418 test_bit(i + 64, common->keymap) || in ath_reserve_key_cache_slot()
419 test_bit(i + 64 + 32, common->keymap))) in ath_reserve_key_cache_slot()
421 if (!test_bit(i + 32, common->keymap) && in ath_reserve_key_cache_slot()
422 (test_bit(i, common->keymap) || in ath_reserve_key_cache_slot()
[all …]
/linux/drivers/staging/gpib/nec7210/
H A Dnec7210.c56 ret = wait_event_interruptible(board->wait, test_bit(COMMAND_READY_BN, &priv->state)); in nec7210_parallel_poll()
370 if (test_bit(RFD_HOLDOFF_BN, &priv->state) && in nec7210_release_rfd_holdoff()
371 test_bit(READ_READY_BN, &priv->state) == 0) { in nec7210_release_rfd_holdoff()
408 if (test_bit(ATN_NUM, &board->status)) in nec7210_atn_has_changed()
413 if (test_bit(ATN_NUM, &board->status)) in nec7210_atn_has_changed()
433 test_bit(COMMAND_READY_BN, &priv->state) || in nec7210_command()
434 test_bit(BUS_ERROR_BN, &priv->state) || in nec7210_command()
435 test_bit(TIMO_NUM, &board->status))) { in nec7210_command()
440 if (test_bit(TIMO_NUM, &board->status)) in nec7210_command()
455 if (wait_event_interruptible(board->wait, test_bit(COMMAND_READY_BN, &priv->state) || in nec7210_command()
[all …]
/linux/drivers/bluetooth/
H A Dhci_serdev.c49 if (test_bit(HCI_UART_PROTO_READY, &hu->flags)) in hci_uart_dequeue()
88 } while (test_bit(HCI_UART_TX_WAKEUP, &hu->tx_state)); in hci_uart_write_work()
107 if (test_bit(HCI_UART_PROTO_READY, &hu->flags)) in hci_uart_flush()
125 if (!test_bit(HCI_UART_PROTO_READY, &hu->flags)) { in hci_uart_open()
145 if (!test_bit(HCI_UART_PROTO_READY, &hu->flags)) in hci_uart_close()
155 if (test_bit(HCI_QUIRK_NON_PERSISTENT_SETUP, &hdev->quirks)) { in hci_uart_close()
216 if (!test_bit(HCI_UART_VND_DETECT, &hu->hdev_flags)) in hci_uart_setup()
260 if (test_bit(HCI_UART_PROTO_READY, &hu->flags)) in hci_uart_write_wakeup()
284 if (!test_bit(HCI_UART_PROTO_READY, &hu->flags)) in hci_uart_receive_buf()
360 if (test_bit(HCI_UART_NO_SUSPEND_NOTIFIER, &hu->flags)) in hci_uart_register_device_priv()
[all …]
H A Dhci_ldisc.c105 if (test_bit(HCI_UART_PROTO_READY, &hu->flags) || in hci_uart_dequeue()
106 test_bit(HCI_UART_PROTO_INIT, &hu->flags)) in hci_uart_dequeue()
128 if (!test_bit(HCI_UART_PROTO_READY, &hu->flags) && in hci_uart_tx_wakeup()
129 !test_bit(HCI_UART_PROTO_INIT, &hu->flags)) in hci_uart_tx_wakeup()
179 if (test_bit(HCI_UART_TX_WAKEUP, &hu->tx_state)) in hci_uart_write_work()
210 if (!test_bit(HCI_UART_INIT_PENDING, &hu->hdev_flags)) in hci_uart_init_ready()
244 if (test_bit(HCI_UART_PROTO_READY, &hu->flags)) in hci_uart_flush()
283 if (!test_bit(HCI_UART_PROTO_READY, &hu->flags) && in hci_uart_send_frame()
284 !test_bit(HCI_UART_PROTO_INIT, &hu->flags)) { in hci_uart_send_frame()
428 if (!test_bit(HCI_UART_VND_DETECT, &hu->hdev_flags)) in hci_uart_setup()
[all …]
/linux/drivers/isdn/mISDN/
H A Dlayer2.c113 return ((test_bit(FLG_MOD128, &l2->flag) && (!ui)) ? 2 : 1) + in l2headersize()
114 (test_bit(FLG_LAPD, &l2->flag) ? 2 : 1); in l2headersize()
120 return test_bit(FLG_LAPD, &l2->flag) ? 2 : 1; in l2addrsize()
241 if (test_bit(FLG_L1_NOTREADY, &l2->flag)) { in ph_data_confirm()
308 if (test_bit(FLG_LAPD, &l2->flag) && in l2mgr()
309 !test_bit(FLG_FIXED_TEI, &l2->flag)) { in l2mgr()
374 if (test_bit(FLG_MOD128, &l2->flag)) in cansend()
378 return (p1 < l2->window) && !test_bit(FLG_PEER_BUSY, &l2->flag); in cansend()
396 if (test_bit(FLG_LAPD, &l2->flag)) { in sethdraddr()
397 if (test_bit(FLG_LAPD_NET, &l2->flag)) in sethdraddr()
[all …]
/linux/drivers/ras/amd/atl/
H A Ddehash.c320 bool hashed_bit, intlv_bit, test_bit; in mi300_dehash_addr() local
345 test_bit = BIT_ULL(12 + i) & ctx->ret_addr; in mi300_dehash_addr()
346 hashed_bit ^= test_bit & hash_ctl_4k; in mi300_dehash_addr()
350 test_bit = BIT_ULL(15 + i) & ctx->ret_addr; in mi300_dehash_addr()
351 hashed_bit ^= test_bit & hash_ctl_64k; in mi300_dehash_addr()
352 test_bit = BIT_ULL(22 + i) & ctx->ret_addr; in mi300_dehash_addr()
353 hashed_bit ^= test_bit & hash_ctl_2M; in mi300_dehash_addr()
354 test_bit = BIT_ULL(29 + i) & ctx->ret_addr; in mi300_dehash_addr()
355 hashed_bit ^= test_bit & hash_ctl_1G; in mi300_dehash_addr()
356 test_bit = BIT_ULL(36 + i) & ctx->ret_addr; in mi300_dehash_addr()
[all …]
/linux/drivers/md/
H A Ddm-raid.c622 if (!test_bit(__CTR_FLAG_RAID10_USE_NEAR_SETS, &rs->ctr_flags)) in raid10_format_to_md_layout()
627 if (!test_bit(__CTR_FLAG_RAID10_USE_NEAR_SETS, &rs->ctr_flags)) in raid10_format_to_md_layout()
695 if (!test_bit(Journal, &rdev->flags)) in rs_set_rdev_sectors()
878 if (!test_bit(In_sync, &rs->dev[i].rdev.flags) && in parse_dev_params()
905 if (!test_bit(In_sync, &rs->dev[i].rdev.flags)) in parse_dev_params()
1016 if (!test_bit(FirstUse, &rs->dev[i].rdev.flags) && in validate_raid_redundancy()
1017 ((!test_bit(In_sync, &rs->dev[i].rdev.flags) || in validate_raid_redundancy()
1064 !test_bit(In_sync, &rs->dev[i].rdev.flags)) && in validate_raid_redundancy()
1090 !test_bit(In_sync, &rs->dev[i].rdev.flags)) && in validate_raid_redundancy()
1288 if (!test_bit(__CTR_FLAG_JOURNAL_DEV, &rs->ctr_flags)) { in parse_raid_params()
[all …]
H A Draid1.c180 if (test_bit(MD_RECOVERY_REQUESTED, &pi->mddev->recovery)) in r1buf_pool_alloc()
304 if (!test_bit(R1BIO_Uptodate, &r1_bio->state)) in call_bio_endio()
378 } else if (test_bit(FailFast, &rdev->flags) && in raid1_end_read_request()
379 test_bit(R1BIO_FailFast, &r1_bio->state)) { in raid1_end_read_request()
394 test_bit(In_sync, &rdev->flags))) in raid1_end_read_request()
421 if (test_bit(R1BIO_BehindIO, &r1_bio->state)) { in close_write()
427 if (test_bit(R1BIO_BehindIO, &r1_bio->state)) in close_write()
437 if (test_bit(R1BIO_WriteError, &r1_bio->state)) in r1_bio_write_done()
441 if (test_bit(R1BIO_MadeGood, &r1_bio->state)) in r1_bio_write_done()
451 int behind = test_bit(R1BIO_BehindIO, &r1_bio->state); in raid1_end_write_request()
[all …]
H A Draid10.c144 if (test_bit(MD_RECOVERY_SYNC, &conf->mddev->recovery) || in r10buf_pool_alloc()
145 test_bit(MD_RECOVERY_RESHAPE, &conf->mddev->recovery)) in r10buf_pool_alloc()
190 if (!j || test_bit(MD_RECOVERY_SYNC, in r10buf_pool_alloc()
325 if (!test_bit(R10BIO_Uptodate, &r10_bio->state)) in raid_end_bio_io()
410 if (!_enough(conf, test_bit(R10BIO_Previous, &r10_bio->state), in raid10_end_read_request()
440 if (test_bit(R10BIO_WriteError, &r10_bio->state)) in one_write_done()
444 if (test_bit(R10BIO_MadeGood, &r10_bio->state)) in one_write_done()
489 if (test_bit(FailFast, &rdev->flags) && in raid10_end_write_request()
498 if (!test_bit(Faulty, &rdev->flags)) in raid10_end_write_request()
524 if (test_bit(In_sync, &rdev->flags) && in raid10_end_write_request()
[all …]
H A Dmd.c179 if (test_bit(CollisionCheck, &rdev->flags)) in rdev_init_serial()
228 test_bit(WriteMostly, &rdev->flags)); in rdev_need_serial()
241 !test_bit(CollisionCheck, &rdev->flags)) in mddev_create_serial_pool()
274 if (rdev && !test_bit(CollisionCheck, &rdev->flags)) in mddev_destroy_serial_pool()
289 test_bit(CollisionCheck, &temp->flags)) in mddev_destroy_serial_pool()
439 if (unlikely(test_bit(MD_BROKEN, &mddev->flags)) && (rw == WRITE)) { in md_submit_bio()
599 if (rdev->raid_disk < 0 || test_bit(Faulty, &rdev->flags)) in md_flush_request()
625 if (test_bit(MD_DELETED, &mddev->flags)) in mddev_get()
990 if (!test_bit(Faulty, &rdev->flags) in super_written()
1020 if (test_bit(Faulty, &rdev->flags)) in md_super_write()
[all …]
/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhnae3.h111 test_bit(HNAE3_DEV_SUPPORT_FD_B, (ae_dev)->caps)
114 test_bit(HNAE3_DEV_SUPPORT_GRO_B, (ae_dev)->caps)
117 test_bit(HNAE3_DEV_SUPPORT_FEC_B, (hdev)->ae_dev->caps)
120 test_bit(HNAE3_DEV_SUPPORT_UDP_GSO_B, (hdev)->ae_dev->caps)
123 test_bit(HNAE3_DEV_SUPPORT_QB_B, (hdev)->ae_dev->caps)
126 test_bit(HNAE3_DEV_SUPPORT_FD_FORWARD_TC_B, (hdev)->ae_dev->caps)
129 test_bit(HNAE3_DEV_SUPPORT_PTP_B, (hdev)->ae_dev->caps)
132 test_bit(HNAE3_DEV_SUPPORT_INT_QL_B, (hdev)->ae_dev->caps)
135 test_bit(HNAE3_DEV_SUPPORT_HW_TX_CSUM_B, (hdev)->ae_dev->caps)
138 test_bit(HNAE3_DEV_SUPPORT_TX_PUSH_B, (hdev)->ae_dev->caps)
[all …]
/linux/drivers/gpu/drm/i915/gt/
H A Dintel_context.h221 test_bit(CONTEXT_IS_PARKING, &ce->flags)); in intel_context_mark_active()
282 return test_bit(CONTEXT_BARRIER_BIT, &ce->flags); in intel_context_is_barrier()
295 return test_bit(CONTEXT_CLOSED_BIT, &ce->flags); in intel_context_is_closed()
300 return test_bit(COPS_HAS_INFLIGHT_BIT, &ce->ops->flags); in intel_context_has_inflight()
305 return test_bit(CONTEXT_USE_SEMAPHORES, &ce->flags); in intel_context_use_semaphores()
320 return test_bit(CONTEXT_BANNED, &ce->flags); in intel_context_is_banned()
332 return !test_bit(CONTEXT_EXITING, &ce->flags) && in intel_context_is_schedulable()
333 !test_bit(CONTEXT_BANNED, &ce->flags); in intel_context_is_schedulable()
338 return test_bit(CONTEXT_EXITING, &ce->flags); in intel_context_is_exiting()
351 return test_bit(CONTEXT_FORCE_SINGLE_SUBMISSION, &ce->flags); in intel_context_force_single_submission()
[all …]
/linux/fs/netfs/
H A Dread_collect.c57 if (!test_bit(NETFS_RREQ_USE_PGPRIV2, &rreq->flags)) { in netfs_unlock_read_folio()
68 if (test_bit(NETFS_RREQ_FOLIO_COPY_TO_CACHE, &rreq->flags)) { in netfs_unlock_read_folio()
81 if (test_bit(NETFS_RREQ_FOLIO_COPY_TO_CACHE, &rreq->flags)) in netfs_unlock_read_folio()
87 test_bit(NETFS_RREQ_NO_UNLOCK_FOLIO, &rreq->flags)) { in netfs_unlock_read_folio()
238 (test_bit(NETFS_SREQ_HIT_EOF, &front->flags) || in netfs_collect_read_results()
239 test_bit(NETFS_SREQ_CLEAR_TAIL, &front->flags))) { in netfs_collect_read_results()
248 if (test_bit(NETFS_SREQ_COPY_TO_CACHE, &front->flags)) in netfs_collect_read_results()
251 if (test_bit(NETFS_SREQ_FAILED, &front->flags)) { in netfs_collect_read_results()
258 test_bit(NETFS_SREQ_HIT_EOF, &front->flags)) in netfs_collect_read_results()
269 if (test_bit(NETFS_SREQ_FAILED, &front->flags)) { in netfs_collect_read_results()
[all …]
/linux/kernel/cgroup/
H A Dcpuset-internal.h205 return test_bit(CS_ONLINE, &cs->flags) && !css_is_dying(&cs->css); in is_cpuset_online()
210 return test_bit(CS_CPU_EXCLUSIVE, &cs->flags); in is_cpu_exclusive()
215 return test_bit(CS_MEM_EXCLUSIVE, &cs->flags); in is_mem_exclusive()
220 return test_bit(CS_MEM_HARDWALL, &cs->flags); in is_mem_hardwall()
225 return test_bit(CS_SCHED_LOAD_BALANCE, &cs->flags); in is_sched_load_balance()
230 return test_bit(CS_MEMORY_MIGRATE, &cs->flags); in is_memory_migrate()
235 return test_bit(CS_SPREAD_PAGE, &cs->flags); in is_spread_page()
240 return test_bit(CS_SPREAD_SLAB, &cs->flags); in is_spread_slab()
/linux/drivers/infiniband/ulp/ipoib/
H A Dipoib_multicast.c77 if (!test_bit(IPOIB_FLAG_OPER_UP, &priv->flags)) in __ipoib_mcast_schedule_join_thread()
256 if (!test_bit(IPOIB_MCAST_FLAG_SENDONLY, &mcast->flags)) { in ipoib_mcast_join_finish()
345 if (!test_bit(IPOIB_FLAG_OPER_UP, &priv->flags)) in ipoib_mcast_carrier_on_task()
364 test_bit(IPOIB_MCAST_FLAG_SENDONLY, &mcast->flags) ? in ipoib_mcast_join_complete()
396 test_bit(IPOIB_MCAST_FLAG_SENDONLY, &mcast->flags) && in ipoib_mcast_join_complete()
403 test_bit(IPOIB_MCAST_FLAG_SENDONLY, &mcast->flags) ? "sendonly " : "", in ipoib_mcast_join_complete()
407 test_bit(IPOIB_MCAST_FLAG_SENDONLY, &mcast->flags) ? "sendonly " : "", in ipoib_mcast_join_complete()
415 if (test_bit(IPOIB_MCAST_FLAG_SENDONLY, &mcast->flags) && in ipoib_mcast_join_complete()
472 !test_bit(IPOIB_FLAG_OPER_UP, &priv->flags)) in ipoib_mcast_join()
530 if (test_bit(IPOIB_MCAST_FLAG_SENDONLY, &mcast->flags)) in ipoib_mcast_join()
[all …]
/linux/drivers/scsi/esas2r/
H A Desas2r_io.c52 if (unlikely(test_bit(AF_DEGRADED_MODE, &a->flags) || in esas2r_start_request()
53 test_bit(AF_POWER_DOWN, &a->flags))) { in esas2r_start_request()
74 !test_bit(AF_DISC_PENDING, &a->flags))) in esas2r_start_request()
95 !test_bit(AF_CHPRST_PENDING, &a->flags) && in esas2r_start_request()
96 !test_bit(AF_FLASHING, &a->flags) && in esas2r_start_request()
97 !test_bit(AF_DISC_PENDING, &a->flags))) in esas2r_start_request()
152 if (test_bit(AF_COMM_LIST_TOGGLE, &a->flags)) in esas2r_start_vda_request()
173 if (test_bit(AF_COMM_LIST_TOGGLE, &a->flags)) in esas2r_start_vda_request()
720 !test_bit(AF_CHPRST_PENDING, &a->flags) && in esas2r_timer_tick()
721 !test_bit(AF_DISC_PENDING, &a->flags)) { in esas2r_timer_tick()
[all …]
H A Desas2r_int.c320 if (test_bit(AF_CHPRST_PENDING, &a->flags) || in esas2r_do_deferred_processes()
321 test_bit(AF_FLASHING, &a->flags)) in esas2r_do_deferred_processes()
323 else if (test_bit(AF_DISC_PENDING, &a->flags)) in esas2r_do_deferred_processes()
371 if (test_bit(AF_FLASHING, &a->flags)) in esas2r_do_deferred_processes()
532 if ((test_bit(AF_POWER_MGT, &a->flags)) && in esas2r_chip_rst_needed_during_tasklet()
533 !test_bit(AF_FIRST_INIT, &a->flags) && !alrdyrst) { in esas2r_chip_rst_needed_during_tasklet()
546 if (!test_bit(AF_POWER_MGT, &a->flags)) { in esas2r_chip_rst_needed_during_tasklet()
563 while (test_bit(AF_CHPRST_DETECTED, &a->flags)) { in esas2r_handle_chip_rst_during_tasklet()
569 if (!test_bit(AF_DEGRADED_MODE, &a->flags) && in esas2r_handle_chip_rst_during_tasklet()
570 !test_bit(AF_POWER_MGT, &a->flags)) in esas2r_handle_chip_rst_during_tasklet()
[all …]
/linux/net/atm/
H A Dsvc.c58 if (test_bit(ATM_VF_REGIS, &vcc->flags)) { in svc_disconnect()
62 if (test_bit(ATM_VF_RELEASED, &vcc->flags) || !sigd) in svc_disconnect()
129 if (!test_bit(ATM_VF_HASQOS, &vcc->flags)) { in svc_bind()
138 if (!test_bit(ATM_VF_WAITING, &vcc->flags) || !sigd) in svc_bind()
180 if (test_bit(ATM_VF_WAITING, &vcc->flags)) { in svc_connect()
196 if (!test_bit(ATM_VF_HASQOS, &vcc->flags)) { in svc_connect()
220 while (test_bit(ATM_VF_WAITING, &vcc->flags) && sigd) { in svc_connect()
241 while (test_bit(ATM_VF_WAITING, &vcc->flags) && sigd) { in svc_connect()
247 while (!test_bit(ATM_VF_RELEASED, &vcc->flags) && in svc_connect()
297 if (test_bit(ATM_VF_SESSION, &vcc->flags)) { in svc_listen()
[all …]
/linux/drivers/iio/light/
H A Dgp2ap020a00f.c426 return test_bit(GP2AP020A00F_FLAG_ALS_CLEAR_TRIGGER, &data->flags) || in gp2ap020a00f_als_enabled()
427 test_bit(GP2AP020A00F_FLAG_ALS_IR_TRIGGER, &data->flags) || in gp2ap020a00f_als_enabled()
428 test_bit(GP2AP020A00F_FLAG_ALS_RISING_EV, &data->flags) || in gp2ap020a00f_als_enabled()
429 test_bit(GP2AP020A00F_FLAG_ALS_FALLING_EV, &data->flags); in gp2ap020a00f_als_enabled()
434 return test_bit(GP2AP020A00F_FLAG_PROX_RISING_EV, &data->flags) || in gp2ap020a00f_prox_detect_enabled()
435 test_bit(GP2AP020A00F_FLAG_PROX_FALLING_EV, &data->flags); in gp2ap020a00f_prox_detect_enabled()
447 else if (test_bit(GP2AP020A00F_FLAG_LUX_MODE_HI, &data->flags) && in gp2ap020a00f_write_event_threshold()
566 if (test_bit(GP2AP020A00F_FLAG_ALS_RISING_EV, &data->flags)) in gp2ap020a00f_exec_cmd()
582 if (!test_bit(GP2AP020A00F_FLAG_ALS_RISING_EV, &data->flags)) in gp2ap020a00f_exec_cmd()
596 if (test_bit(GP2AP020A00F_FLAG_ALS_FALLING_EV, &data->flags)) in gp2ap020a00f_exec_cmd()
[all …]
/linux/drivers/fpga/
H A Dmachxo2-spi.c113 *status, test_bit(DONE, status), test_bit(ENAB, status), in dump_status_reg()
114 test_bit(BUSY, status), test_bit(FAIL, status), in dump_status_reg()
115 test_bit(DVER, status), get_err_string(get_err(status))); in dump_status_reg()
130 } while (test_bit(BUSY, &status)); in wait_until_not_busy()
180 if (!test_bit(BUSY, &status) && test_bit(DONE, &status) && in machxo2_spi_state()
228 if (test_bit(FAIL, &status)) { in machxo2_write_init()
316 if (!test_bit(DONE, &status)) { in machxo2_write_complete()
336 if (!test_bit(BUSY, &status) && test_bit(DONE, &status) && in machxo2_write_complete()
/linux/drivers/usb/class/
H A Dcdc-wdm.c202 if (test_bit(WDM_WWAN_IN_USE, &desc->flags)) { in wdm_in_callback()
226 if (!test_bit(WDM_OVERFLOW, &desc->flags)) { in wdm_in_callback()
315 && !test_bit(WDM_DISCONNECTING, &desc->flags) in wdm_int_callback()
316 && !test_bit(WDM_SUSPENDING, &desc->flags)) { in wdm_int_callback()
407 if (test_bit(WDM_DISCONNECTING, &desc->flags)) { in wdm_write()
419 r = wait_event_interruptible(desc->wait, !test_bit(WDM_IN_USE, in wdm_write()
422 if (test_bit(WDM_IN_USE, &desc->flags)) in wdm_write()
425 if (test_bit(WDM_RESETTING, &desc->flags)) in wdm_write()
428 if (test_bit(WDM_DISCONNECTING, &desc->flags)) in wdm_write()
497 if (test_bit(WDM_DISCONNECTING, &desc->flags)) { in service_outstanding_interrupt()
[all …]
/linux/drivers/input/keyboard/
H A Dsunkbd.c146 (!!test_bit(LED_CAPSL, dev->led) << 3) | in sunkbd_event()
147 (!!test_bit(LED_SCROLLL, dev->led) << 2) | in sunkbd_event()
148 (!!test_bit(LED_COMPOSE, dev->led) << 1) | in sunkbd_event()
149 !!test_bit(LED_NUML, dev->led)); in sunkbd_event()
209 (!!test_bit(LED_CAPSL, sunkbd->dev->led) << 3) | in sunkbd_set_leds_beeps()
210 (!!test_bit(LED_SCROLLL, sunkbd->dev->led) << 2) | in sunkbd_set_leds_beeps()
211 (!!test_bit(LED_COMPOSE, sunkbd->dev->led) << 1) | in sunkbd_set_leds_beeps()
212 !!test_bit(LED_NUML, sunkbd->dev->led)); in sunkbd_set_leds_beeps()
214 SUNKBD_CMD_NOCLICK - !!test_bit(SND_CLICK, sunkbd->dev->snd)); in sunkbd_set_leds_beeps()
216 SUNKBD_CMD_BELLOFF - !!test_bit(SND_BELL, sunkbd->dev->snd)); in sunkbd_set_leds_beeps()
/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_init.c76 if (!test_bit(ADF_STATUS_CONFIGURED, &accel_dev->status) && in adf_dev_init()
135 if (!test_bit(ADF_STATUS_CONFIGURED, &accel_dev->status) && in adf_dev_init()
288 !test_bit(ADF_STATUS_STARTING, &accel_dev->status)) in adf_dev_stop()
300 test_bit(ADF_STATUS_CRYPTO_ALGS_REGISTERED, &accel_dev->status)) { in adf_dev_stop()
307 test_bit(ADF_STATUS_COMP_ALGS_REGISTERED, &accel_dev->status)) in adf_dev_stop()
312 if (!test_bit(accel_dev->accel_id, service->start_status)) in adf_dev_stop()
331 if (test_bit(ADF_STATUS_AE_STARTED, &accel_dev->status)) { in adf_dev_stop()
357 if (test_bit(ADF_STATUS_AE_UCODE_LOADED, &accel_dev->status)) { in adf_dev_shutdown()
362 if (test_bit(ADF_STATUS_AE_INITIALISED, &accel_dev->status)) { in adf_dev_shutdown()
372 if (!test_bit(accel_dev->accel_id, service->init_status)) in adf_dev_shutdown()
[all …]
/linux/drivers/staging/gpib/eastwood/
H A Dfluke_gpib.c254 retval = test_bit(LACS_NUM, &board->status) || test_bit(READ_READY_BN, &nec_priv->state); in lacs_or_read_ready()
271 test_bit(DEV_CLEAR_BN, &nec_priv->state) || in wait_for_read()
272 test_bit(TIMO_NUM, &board->status))) in wait_for_read()
275 if (test_bit(TIMO_NUM, &board->status)) in wait_for_read()
329 (test_bit(TACS_NUM, &board->status) && in wait_for_data_out_ready()
331 test_bit(DEV_CLEAR_BN, &nec_priv->state) || in wait_for_data_out_ready()
332 test_bit(TIMO_NUM, &board->status))) in wait_for_data_out_ready()
334 if (test_bit(TIMO_NUM, &board->status)) in wait_for_data_out_ready()
349 test_bit(DEV_CLEAR_BN, &nec_priv->state) || in wait_for_sids_or_sgns()
350 test_bit(TIMO_NUM, &board->status))) in wait_for_sids_or_sgns()
[all …]

12345678910>>...73