| /drivers/leds/trigger/ |
| A D | ledtrig-netdev.c | 104 if (test_bit(TRIGGER_NETDEV_LINK, &trigger_data->mode)) in set_baseline_state() 148 if (test_bit(TRIGGER_NETDEV_TX, &trigger_data->mode) || in set_baseline_state() 149 test_bit(TRIGGER_NETDEV_RX, &trigger_data->mode) || in set_baseline_state() 393 if (test_bit(TRIGGER_NETDEV_LINK, &mode) && in netdev_led_attr_store() 394 (test_bit(TRIGGER_NETDEV_LINK_10, &mode) || in netdev_led_attr_store() 395 test_bit(TRIGGER_NETDEV_LINK_100, &mode) || in netdev_led_attr_store() 396 test_bit(TRIGGER_NETDEV_LINK_1000, &mode) || in netdev_led_attr_store() 397 test_bit(TRIGGER_NETDEV_LINK_2500, &mode) || in netdev_led_attr_store() 398 test_bit(TRIGGER_NETDEV_LINK_5000, &mode) || in netdev_led_attr_store() 399 test_bit(TRIGGER_NETDEV_LINK_10000, &mode))) in netdev_led_attr_store() [all …]
|
| /drivers/net/wireless/ath/ |
| 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 …]
|
| /drivers/crypto/intel/qat/qat_common/ |
| A D | adf_cfg_services.c | 155 if (test_bit(SVC_SYM, &mask) && test_bit(SVC_ASYM, &mask)) in adf_get_service_enabled() 158 if (test_bit(SVC_SYM, &mask) && test_bit(SVC_DC, &mask)) in adf_get_service_enabled() 161 if (test_bit(SVC_ASYM, &mask) && test_bit(SVC_DC, &mask)) in adf_get_service_enabled() 164 if (test_bit(SVC_SYM, &mask)) in adf_get_service_enabled() 167 if (test_bit(SVC_ASYM, &mask)) in adf_get_service_enabled() 170 if (test_bit(SVC_DC, &mask)) in adf_get_service_enabled() 173 if (test_bit(SVC_DECOMP, &mask)) in adf_get_service_enabled() 176 if (test_bit(SVC_DCC, &mask)) in adf_get_service_enabled()
|
| /drivers/staging/gpib/nec7210/ |
| A D | nec7210.c | 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() 440 if (test_bit(TIMO_NUM, &board->status)) in nec7210_command() 457 test_bit(TIMO_NUM, &board->status))) in nec7210_command() 460 if (test_bit(TIMO_NUM, &board->status)) in nec7210_command() 501 if (test_bit(TIMO_NUM, &board->status)) { in pio_read() 557 if (test_bit(TIMO_NUM, &board->status)) in __dma_read() 559 if (test_bit(DEV_CLEAR_BN, &priv->state)) in __dma_read() 637 if (test_bit(TIMO_NUM, &board->status)) in pio_write_wait() 640 if (test_bit(DEV_CLEAR_BN, &priv->state)) in pio_write_wait() [all …]
|
| /drivers/md/ |
| A D | raid5.c | 250 if (test_bit(STRIPE_HANDLE, &sh->state)) { in do_release_stripe() 600 test_bit(R5_LOCKED, &dev->flags)) { in init_stripe() 3597 !test_bit(Faulty, &rdev->flags)) in handle_failed_stripe() 3740 && !test_bit(Faulty, &rdev->flags) in want_replace() 3909 if (!test_bit(R5_UPTODATE, in fetch_block() 4193 if (test_bit(STRIPE_PREREAD_ACTIVE, in handle_stripe_dirtying() 4218 test_bit(STRIPE_PREREAD_ACTIVE, in handle_stripe_dirtying() 4635 if (test_bit(R5_LOCKED, &dev->flags)) in analyse_stripe() 7508 if (test_bit(Journal, &rdev->flags)) in setup_conf() 7944 if (test_bit(In_sync, &rdev->flags)) in raid5_run() [all …]
|
| A D | dm-raid.c | 694 if (!test_bit(Journal, &rdev->flags)) in rs_set_rdev_sectors() 2355 if (test_bit(Journal, &rdev->flags)) in super_init_validation() 2358 if (test_bit(FirstUse, &r->flags)) in super_init_validation() 2361 if (!test_bit(In_sync, &r->flags)) { in super_init_validation() 2366 if (test_bit(FirstUse, &r->flags)) in super_init_validation() 2409 if (test_bit(Journal, &r->flags) || in super_init_validation() 2540 if (test_bit(Journal, &rdev->flags)) in analyse_superblocks() 3430 !test_bit(In_sync, &rdev->flags))) in __raid_dev_status() 3883 if (test_bit(Journal, &r->flags)) in attempt_restore_of_faulty_devices() 3886 if (test_bit(Faulty, &r->flags) && in attempt_restore_of_faulty_devices() [all …]
|
| A D | raid1.c | 393 test_bit(In_sync, &rdev->flags))) in raid1_end_read_request() 469 if (test_bit(FailFast, &rdev->flags) && in raid1_end_write_request() 480 if (!test_bit(Faulty, &rdev->flags)) in raid1_end_write_request() 508 if (test_bit(In_sync, &rdev->flags) && in raid1_end_write_request() 509 !test_bit(Faulty, &rdev->flags)) in raid1_end_write_request() 748 if (test_bit(WriteMostly, &rdev->flags)) in rdev_readable() 1759 if (test_bit(In_sync, &rdev->flags) && in raid1_error() 1804 !test_bit(Faulty, &rdev->flags), in print_conf() 1907 if (!test_bit(Faulty, &rdev->flags) && in raid1_remove_conf() 2152 if (test_bit(Faulty, &rdev->flags)) in fix_sync_read_error() [all …]
|
| A D | dm-zoned.h | 156 #define dmz_is_cache(z) test_bit(DMZ_CACHE, &(z)->flags) 157 #define dmz_is_rnd(z) test_bit(DMZ_RND, &(z)->flags) 158 #define dmz_is_seq(z) test_bit(DMZ_SEQ, &(z)->flags) 160 #define dmz_is_offline(z) test_bit(DMZ_OFFLINE, &(z)->flags) 161 #define dmz_is_readonly(z) test_bit(DMZ_READ_ONLY, &(z)->flags) 162 #define dmz_in_reclaim(z) test_bit(DMZ_RECLAIM, &(z)->flags) 163 #define dmz_is_reserved(z) test_bit(DMZ_RESERVED, &(z)->flags) 166 test_bit(DMZ_RECLAIM_TERMINATE, &(z)->flags) 168 #define dmz_is_meta(z) test_bit(DMZ_META, &(z)->flags) 169 #define dmz_is_buf(z) test_bit(DMZ_BUF, &(z)->flags) [all …]
|
| A D | raid10.c | 190 if (!j || test_bit(MD_RECOVERY_SYNC, in r10buf_pool_alloc() 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() 525 !test_bit(Faulty, &rdev->flags)) in raid10_end_write_request() 766 test_bit(Faulty, &rdev->flags)) in read_balance() 2050 !test_bit(Faulty, &rdev->flags), in print_conf() 2638 if (test_bit(Faulty, &rdev->flags)) in fix_read_error() 2971 if (test_bit(R10BIO_WriteError, in handle_write_completed() 3006 if (test_bit(R10BIO_WriteError, in raid10d() 3497 if (mrdev && !test_bit(In_sync, in raid10_sync_request() [all …]
|
| A D | md.c | 1033 if (test_bit(Faulty, &rdev->flags)) in md_super_write() 2918 if (test_bit(Faulty, &flags) || in state_show() 2922 if (test_bit(In_sync, &flags)) in state_show() 2924 if (test_bit(Journal, &flags)) in state_show() 2926 if (test_bit(WriteMostly, &flags)) in state_show() 2928 if (test_bit(Blocked, &flags) || in state_show() 2932 if (!test_bit(Faulty, &flags) && in state_show() 2933 !test_bit(Journal, &flags) && in state_show() 2934 !test_bit(In_sync, &flags)) in state_show() 2940 if (test_bit(Replacement, &flags)) in state_show() [all …]
|
| /drivers/isdn/mISDN/ |
| A D | layer2.c | 308 if (test_bit(FLG_LAPD, &l2->flag) && in l2mgr() 374 if (test_bit(FLG_MOD128, &l2->flag)) in cansend() 396 if (test_bit(FLG_LAPD, &l2->flag)) { in sethdraddr() 403 if (test_bit(FLG_ORIG, &l2->flag)) in sethdraddr() 456 if (test_bit(FLG_MOD128, &l2->flag)) in IsRR() 507 if (test_bit(FLG_ORIG, &l2->flag)) in iframe_error() 531 if (test_bit(FLG_ORIG, &l2->flag)) in unnum_error() 544 if (test_bit(FLG_ORIG, &l2->flag)) in UI_error() 560 if (test_bit(FLG_ORIG, &l2->flag)) in FRMR_error() 691 if (test_bit(FLG_LAPB, &l2->flag)) in lapb_dl_release_l2l3() [all …]
|
| /drivers/ras/amd/atl/ |
| A D | dehash.c | 320 bool hashed_bit, intlv_bit, test_bit; in mi300_dehash_addr() local 346 hashed_bit ^= test_bit & hash_ctl_4k; in mi300_dehash_addr() 351 hashed_bit ^= test_bit & hash_ctl_64k; in mi300_dehash_addr() 353 hashed_bit ^= test_bit & hash_ctl_2M; in mi300_dehash_addr() 355 hashed_bit ^= test_bit & hash_ctl_1G; in mi300_dehash_addr() 357 hashed_bit ^= test_bit & hash_ctl_1T; in mi300_dehash_addr() 359 hashed_bit ^= test_bit & hash_ctl_1T; in mi300_dehash_addr() 376 hashed_bit ^= test_bit & hash_ctl_64k; in mi300_dehash_addr() 378 hashed_bit ^= test_bit & hash_ctl_2M; in mi300_dehash_addr() 380 hashed_bit ^= test_bit & hash_ctl_1G; in mi300_dehash_addr() [all …]
|
| /drivers/bluetooth/ |
| A D | hci_serdev.c | 49 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() 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() 363 if (test_bit(HCI_UART_RAW_DEVICE, &hu->hdev_flags)) in hci_uart_register_device_priv() 400 if (test_bit(HCI_UART_REGISTERED, &hu->flags)) in hci_uart_unregister_device() [all …]
|
| A D | hci_ldisc.c | 105 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() 244 if (test_bit(HCI_UART_PROTO_READY, &hu->flags)) in hci_uart_flush() 284 !test_bit(HCI_UART_PROTO_INIT, &hu->flags)) { in hci_uart_send_frame() 556 if (test_bit(HCI_UART_REGISTERED, &hu->flags)) in hci_uart_tty_close() 592 test_bit(HCI_UART_PROTO_INIT, &hu->flags)) in hci_uart_tty_wakeup() 787 if (test_bit(HCI_UART_REGISTERED, &hu->flags)) in hci_uart_tty_ioctl() [all …]
|
| /drivers/net/ethernet/hisilicon/hns3/ |
| A D | hnae3.h | 111 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) 123 test_bit(HNAE3_DEV_SUPPORT_QB_B, (hdev)->ae_dev->caps) 129 test_bit(HNAE3_DEV_SUPPORT_PTP_B, (hdev)->ae_dev->caps) 165 test_bit(HNAE3_DEV_SUPPORT_MC_MAC_MNG_B, (ae_dev)->caps) 168 test_bit(HNAE3_DEV_SUPPORT_CQ_B, (ae_dev)->caps) 171 test_bit(HNAE3_DEV_SUPPORT_FEC_STATS_B, (ae_dev)->caps) 174 test_bit(HNAE3_DEV_SUPPORT_LANE_NUM_B, (ae_dev)->caps) 177 test_bit(HNAE3_DEV_SUPPORT_WOL_B, (ae_dev)->caps) [all …]
|
| /drivers/media/platform/samsung/exynos4-is/ |
| A D | fimc-is-param.c | 183 if (test_bit(PARAM_GLOBAL_SHOTMODE, p_index)) in __is_hw_update_params() 190 if (test_bit(i, p_index)) in __is_hw_update_params() 195 if (test_bit(i, p_index)) in __is_hw_update_params() 200 if (test_bit(i, p_index)) in __is_hw_update_params() 232 if (test_bit(PARAM_ISP_OTF_INPUT, in __is_set_frame_size() 390 if (!test_bit(PARAM_ISP_ADJUST, p_index)) { in __is_set_isp_adjust() 725 if (!test_bit(PARAM_ISP_FLASH, p_index)) in fimc_is_set_initial_params() 729 if (!test_bit(PARAM_ISP_AWB, p_index)) in fimc_is_set_initial_params() 735 if (!test_bit(PARAM_ISP_ISO, p_index)) in fimc_is_set_initial_params() 738 if (!test_bit(PARAM_ISP_ADJUST, p_index)) { in fimc_is_set_initial_params() [all …]
|
| /drivers/gpu/drm/i915/gt/ |
| A D | intel_context.h | 221 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() 363 return test_bit(CONTEXT_NOPREEMPT, &ce->flags); in intel_context_nopreempt() [all …]
|
| /drivers/infiniband/ulp/ipoib/ |
| A D | ipoib_multicast.c | 77 if (!test_bit(IPOIB_FLAG_OPER_UP, &priv->flags)) in __ipoib_mcast_schedule_join_thread() 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() 472 !test_bit(IPOIB_FLAG_OPER_UP, &priv->flags)) in ipoib_mcast_join() 558 if (!test_bit(IPOIB_FLAG_OPER_UP, &priv->flags)) in ipoib_mcast_join_task() 580 if (!test_bit(IPOIB_FLAG_OPER_UP, &priv->flags)) in ipoib_mcast_join_task() 733 if (test_bit(IPOIB_MCAST_FLAG_BUSY, &mcast->flags)) in ipoib_mcast_remove_list() 752 if (!test_bit(IPOIB_FLAG_OPER_UP, &priv->flags) || in ipoib_mcast_send() 874 if (!test_bit(IPOIB_FLAG_OPER_UP, &priv->flags)) in ipoib_mcast_restart_task() 910 if (test_bit(IPOIB_FLAG_UMCAST, &priv->flags) && in ipoib_mcast_restart_task() [all …]
|
| /drivers/net/ethernet/broadcom/bnx2x/ |
| A D | bnx2x_sp.c | 260 return !!test_bit(o->state, o->pstate); in bnx2x_raw_check_pending() 298 if (!test_bit(state, pstate)) { in bnx2x_state_wait() 4818 test_bit(BNX2X_Q_FLG_FCOE, flags) ? in bnx2x_q_fill_init_general_data() 4833 test_bit(BNX2X_Q_FLG_TX_SEC, flags); in bnx2x_q_fill_init_tx_data() 4837 test_bit(BNX2X_Q_FLG_DEF_VLAN, flags); in bnx2x_q_fill_init_tx_data() 4893 test_bit(BNX2X_Q_FLG_DHC, flags); in bnx2x_q_fill_init_rx_data() 4908 test_bit(BNX2X_Q_FLG_VLAN, flags); in bnx2x_q_fill_init_rx_data() 4910 test_bit(BNX2X_Q_FLG_OV, flags); in bnx2x_q_fill_init_rx_data() 5529 if (test_bit(BNX2X_Q_FLG_ACTIVE, in bnx2x_queue_chk_transition() 5621 test_bit(BNX2X_Q_UPDATE_ACTIVATE, in bnx2x_queue_chk_transition() [all …]
|
| /drivers/scsi/esas2r/ |
| A D | esas2r_int.c | 321 test_bit(AF_FLASHING, &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() 546 if (!test_bit(AF_POWER_MGT, &a->flags)) { in esas2r_chip_rst_needed_during_tasklet() 570 !test_bit(AF_POWER_MGT, &a->flags)) in esas2r_handle_chip_rst_during_tasklet() 577 if (test_bit(AF_CHPRST_NEEDED, &a->flags)) in esas2r_handle_chip_rst_during_tasklet() 580 if (test_bit(AF_POWER_MGT, &a->flags)) { in esas2r_handle_chip_rst_during_tasklet() 582 if (test_bit(AF_FIRST_INIT, &a->flags)) { in esas2r_handle_chip_rst_during_tasklet() 593 if (test_bit(AF_FIRST_INIT, &a->flags)) { in esas2r_handle_chip_rst_during_tasklet() 633 if (test_bit(AF_FLASHING, &a->flags)) in esas2r_do_tasklet_tasks() [all …]
|
| A D | esas2r_io.c | 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() 733 if (test_bit(AF_DISC_PENDING, &a->flags)) in esas2r_timer_tick() 736 if (test_bit(AF_HEARTBEAT, &a->flags)) { in esas2r_timer_tick() 811 if (test_bit(AF_FLASHING, &a->flags)) { in esas2r_send_task_mgmt() [all …]
|
| /drivers/iio/light/ |
| A D | gp2ap020a00f.c | 689 test_bit(GP2AP020A00F_FLAG_DATA_READY, in wait_conversion_complete_irq() 818 if (test_bit(GP2AP020A00F_FLAG_LUX_MODE_HI, &data->flags)) in gp2ap020a00f_output_to_lux() 952 test_bit(GP2AP020A00F_FLAG_PROX_TRIGGER, &priv->flags)) in gp2ap020a00f_thresh_event_handler() 1041 event_en = test_bit(GP2AP020A00F_FLAG_ALS_RISING_EV, in gp2ap020a00f_write_event_val() 1045 event_en = test_bit(GP2AP020A00F_FLAG_ALS_FALLING_EV, in gp2ap020a00f_write_event_val() 1053 event_en = test_bit(GP2AP020A00F_FLAG_PROX_RISING_EV, in gp2ap020a00f_write_event_val() 1061 event_en = test_bit(GP2AP020A00F_FLAG_PROX_FALLING_EV, in gp2ap020a00f_write_event_val() 1207 event_en = test_bit(GP2AP020A00F_FLAG_PROX_RISING_EV, in gp2ap020a00f_read_event_config() 1210 event_en = test_bit(GP2AP020A00F_FLAG_PROX_FALLING_EV, in gp2ap020a00f_read_event_config() 1215 event_en = test_bit(GP2AP020A00F_FLAG_ALS_RISING_EV, in gp2ap020a00f_read_event_config() [all …]
|
| /drivers/media/platform/qcom/venus/ |
| A D | hfi.c | 170 if (test_bit(0, &inst->core->sys_error)) { in hfi_session_create() 252 if (test_bit(0, &inst->core->sys_error)) in hfi_session_deinit() 277 if (test_bit(0, &inst->core->sys_error)) in hfi_session_start() 304 if (test_bit(0, &inst->core->sys_error)) in hfi_session_stop() 330 if (test_bit(0, &inst->core->sys_error)) in hfi_session_continue() 345 if (test_bit(0, &inst->core->sys_error)) in hfi_session_abort() 367 if (test_bit(0, &inst->core->sys_error)) in hfi_session_load_res() 393 if (test_bit(0, &inst->core->sys_error)) in hfi_session_unload_res() 420 if (test_bit(0, &inst->core->sys_error)) in hfi_session_flush() 443 if (test_bit(0, &inst->core->sys_error)) in hfi_session_set_buffers() [all …]
|
| /drivers/usb/class/ |
| A D | cdc-wdm.c | 202 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() 422 if (test_bit(WDM_IN_USE, &desc->flags)) in wdm_write() 425 if (test_bit(WDM_RESETTING, &desc->flags)) in wdm_write() 501 if (test_bit(WDM_RESETTING, &desc->flags)) { in service_outstanding_interrupt() 543 if (test_bit(WDM_OVERFLOW, &desc->flags)) { in wdm_read() 550 if (!test_bit(WDM_READ, &desc->flags)) { in wdm_read() 557 test_bit(WDM_READ, &desc->flags)); in wdm_read() 689 if (test_bit(WDM_READ, &desc->flags)) in wdm_poll() 693 if (!test_bit(WDM_IN_USE, &desc->flags)) in wdm_poll() [all …]
|
| /drivers/fpga/ |
| A D | machxo2-spi.c | 113 *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()
|