Home
last modified time | relevance | path

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

12345678910>>...70

/Linux-v4.19/drivers/net/wireless/ath/
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-v4.19/drivers/md/
Draid5.c164 test_bit(STRIPE_BIOFILL_RUN, &sh->state) || in stripe_operations_active()
165 test_bit(STRIPE_COMPUTE_RUN, &sh->state); in stripe_operations_active()
170 return (test_bit(STRIPE_R5C_FULL_STRIPE, &sh->state) || in stripe_is_lowprio()
171 test_bit(STRIPE_R5C_PARTIAL_STRIPE, &sh->state)) && in stripe_is_lowprio()
172 !test_bit(STRIPE_R5C_CACHING, &sh->state); in stripe_is_lowprio()
232 if (test_bit(R5_InJournal, &sh->dev[i].flags)) in do_release_stripe()
241 if (test_bit(STRIPE_SYNC_REQUESTED, &sh->state) || in do_release_stripe()
243 !test_bit(STRIPE_HANDLE, &sh->state) && injournal != 0)) { in do_release_stripe()
244 if (test_bit(STRIPE_R5C_CACHING, &sh->state)) in do_release_stripe()
249 if (test_bit(STRIPE_HANDLE, &sh->state)) { in do_release_stripe()
[all …]
Ddm-raid.c614 if (!test_bit(__CTR_FLAG_RAID10_USE_NEAR_SETS, &rs->ctr_flags)) in raid10_format_to_md_layout()
620 if (!test_bit(__CTR_FLAG_RAID10_USE_NEAR_SETS, &rs->ctr_flags)) in raid10_format_to_md_layout()
688 if (!test_bit(Journal, &rdev->flags)) in rs_set_rdev_sectors()
867 if (!test_bit(In_sync, &rs->dev[i].rdev.flags) && in parse_dev_params()
894 if (!test_bit(In_sync, &rs->dev[i].rdev.flags)) in parse_dev_params()
1005 if (!test_bit(In_sync, &rs->dev[i].rdev.flags) || in validate_raid_redundancy()
1051 !test_bit(In_sync, &rs->dev[i].rdev.flags)) && in validate_raid_redundancy()
1077 !test_bit(In_sync, &rs->dev[i].rdev.flags)) && in validate_raid_redundancy()
1275 if (!test_bit(__CTR_FLAG_JOURNAL_DEV, &rs->ctr_flags)) { in parse_raid_params()
1457 if (test_bit(__CTR_FLAG_SYNC, &rs->ctr_flags) && in parse_raid_params()
[all …]
Draid1.c149 if (test_bit(MD_RECOVERY_REQUESTED, &pi->mddev->recovery)) in r1buf_pool_alloc()
271 if (!test_bit(R1BIO_Uptodate, &r1_bio->state)) in call_bio_endio()
342 else if (test_bit(FailFast, &rdev->flags) && in raid1_end_read_request()
343 test_bit(R1BIO_FailFast, &r1_bio->state)) in raid1_end_read_request()
356 test_bit(In_sync, &rdev->flags))) in raid1_end_read_request()
382 if (test_bit(R1BIO_BehindIO, &r1_bio->state)) { in close_write()
390 !test_bit(R1BIO_Degraded, &r1_bio->state), in close_write()
391 test_bit(R1BIO_BehindIO, &r1_bio->state)); in close_write()
400 if (test_bit(R1BIO_WriteError, &r1_bio->state)) in r1_bio_write_done()
404 if (test_bit(R1BIO_MadeGood, &r1_bio->state)) in r1_bio_write_done()
[all …]
Ddm-zoned.h126 #define dmz_is_rnd(z) test_bit(DMZ_RND, &(z)->flags)
127 #define dmz_is_seq(z) test_bit(DMZ_SEQ, &(z)->flags)
129 #define dmz_is_offline(z) test_bit(DMZ_OFFLINE, &(z)->flags)
130 #define dmz_is_readonly(z) test_bit(DMZ_READ_ONLY, &(z)->flags)
131 #define dmz_is_active(z) test_bit(DMZ_ACTIVE, &(z)->flags)
132 #define dmz_in_reclaim(z) test_bit(DMZ_RECLAIM, &(z)->flags)
133 #define dmz_seq_write_err(z) test_bit(DMZ_SEQ_WRITE_ERR, &(z)->flags)
135 #define dmz_is_meta(z) test_bit(DMZ_META, &(z)->flags)
136 #define dmz_is_buf(z) test_bit(DMZ_BUF, &(z)->flags)
137 #define dmz_is_data(z) test_bit(DMZ_DATA, &(z)->flags)
Draid10.c167 if (test_bit(MD_RECOVERY_SYNC, &conf->mddev->recovery) || in r10buf_pool_alloc()
168 test_bit(MD_RECOVERY_RESHAPE, &conf->mddev->recovery)) in r10buf_pool_alloc()
211 if (!j || test_bit(MD_RECOVERY_SYNC, in r10buf_pool_alloc()
335 if (!test_bit(R10BIO_Uptodate, &r10_bio->state)) in raid_end_bio_io()
419 if (!_enough(conf, test_bit(R10BIO_Previous, &r10_bio->state), in raid10_end_read_request()
445 !test_bit(R10BIO_Degraded, &r10_bio->state), in close_write()
453 if (test_bit(R10BIO_WriteError, &r10_bio->state)) in one_write_done()
457 if (test_bit(R10BIO_MadeGood, &r10_bio->state)) in one_write_done()
503 if (test_bit(FailFast, &rdev->flags) && in raid10_end_write_request()
506 if (!test_bit(Faulty, &rdev->flags)) in raid10_end_write_request()
[all …]
Dmd.c389 wait_event(mddev->sb_wait, !test_bit(MD_UPDATING_SB, &mddev->flags)); in mddev_suspend()
482 !test_bit(Faulty, &rdev->flags)) { in md_flush_request()
786 if (!test_bit(Faulty, &rdev->flags) in super_written()
815 if (test_bit(Faulty, &rdev->flags)) in md_super_write()
828 if (test_bit(MD_FAILFAST_SUPPORTED, &mddev->flags) && in md_super_write()
829 test_bit(FailFast, &rdev->flags) && in md_super_write()
830 !test_bit(LastDev, &rdev->flags)) in md_super_write()
1334 int is_active = test_bit(In_sync, &rdev2->flags); in super_90_sync()
1344 test_bit(Faulty, &rdev2->flags)) in super_90_sync()
1360 if (test_bit(Faulty, &rdev2->flags)) in super_90_sync()
[all …]
Ddm-flakey.c85 } else if (test_bit(ERROR_WRITES, &fc->flags)) { in parse_features()
101 } else if (test_bit(DROP_WRITES, &fc->flags)) { in parse_features()
160 if (test_bit(DROP_WRITES, &fc->flags) && (fc->corrupt_bio_rw == WRITE)) { in parse_features()
164 } else if (test_bit(ERROR_WRITES, &fc->flags) && (fc->corrupt_bio_rw == WRITE)) { in parse_features()
335 if (!fc->corrupt_bio_byte && !test_bit(DROP_WRITES, &fc->flags) && in flakey_map()
336 !test_bit(ERROR_WRITES, &fc->flags)) in flakey_map()
344 if (test_bit(DROP_WRITES, &fc->flags)) { in flakey_map()
348 else if (test_bit(ERROR_WRITES, &fc->flags)) { in flakey_map()
396 } else if (!test_bit(DROP_WRITES, &fc->flags) && in flakey_end_io()
397 !test_bit(ERROR_WRITES, &fc->flags)) { in flakey_end_io()
[all …]
/Linux-v4.19/drivers/isdn/mISDN/
Dlayer2.c122 return ((test_bit(FLG_MOD128, &l2->flag) && (!ui)) ? 2 : 1) + in l2headersize()
123 (test_bit(FLG_LAPD, &l2->flag) ? 2 : 1); in l2headersize()
129 return test_bit(FLG_LAPD, &l2->flag) ? 2 : 1; in l2addrsize()
250 if (test_bit(FLG_L1_NOTREADY, &l2->flag)) { in ph_data_confirm()
317 if (test_bit(FLG_LAPD, &l2->flag) && in l2mgr()
318 !test_bit(FLG_FIXED_TEI, &l2->flag)) { in l2mgr()
383 if (test_bit(FLG_MOD128, &l2->flag)) in cansend()
387 return (p1 < l2->window) && !test_bit(FLG_PEER_BUSY, &l2->flag); in cansend()
405 if (test_bit(FLG_LAPD, &l2->flag)) { in sethdraddr()
406 if (test_bit(FLG_LAPD_NET, &l2->flag)) in sethdraddr()
[all …]
/Linux-v4.19/drivers/media/platform/exynos4-is/
Dfimc-is-param.c186 if (test_bit(PARAM_GLOBAL_SHOTMODE, p_index)) in __is_hw_update_params()
189 if (test_bit(PARAM_SENSOR_FRAME_RATE, p_index)) in __is_hw_update_params()
193 if (test_bit(i, p_index)) in __is_hw_update_params()
198 if (test_bit(i, p_index)) in __is_hw_update_params()
203 if (test_bit(i, p_index)) in __is_hw_update_params()
244 if (test_bit(PARAM_ISP_OTF_INPUT, in __is_set_frame_size()
402 if (!test_bit(PARAM_ISP_ADJUST, p_index)) { in __is_set_isp_adjust()
440 if (!test_bit(PARAM_ISP_METERING, p_index)) { in __is_set_isp_metering()
483 if (!test_bit((PARAM_FD_CONFIG - 32), p_index)) in __is_set_fd_control()
498 if (!test_bit((PARAM_FD_CONFIG - 32), p_index)) { in __is_set_fd_config_maxface()
[all …]
/Linux-v4.19/drivers/isdn/hisax/
Disdnl2.c167 if (test_bit(FLG_MOD128, &st->l2.flag)) in cansend()
171 return ((p1 < st->l2.window) && !test_bit(FLG_PEER_BUSY, &st->l2.flag)); in cansend()
186 return (((test_bit(FLG_MOD128, &l2->flag) && (!ui)) ? 2 : 1) + in l2headersize()
187 (test_bit(FLG_LAPD, &l2->flag) ? 2 : 1)); in l2headersize()
193 return (test_bit(FLG_LAPD, &l2->flag) ? 2 : 1); in l2addrsize()
202 if (test_bit(FLG_LAPD, &l2->flag)) { in sethdraddr()
207 if (test_bit(FLG_ORIG, &l2->flag)) in sethdraddr()
221 if (test_bit(FLG_LAPB, &st->l2.flag)) in enqueue_super()
257 if (!test_bit(FLG_MOD128, &st->l2.flag)) in IsSFrame()
267 return (test_bit(FLG_MOD128, &st->l2.flag) ? d == SABME : d == SABM); in IsSABME()
[all …]
/Linux-v4.19/fs/ocfs2/cluster/
Dquorum.c115 lowest_reachable = test_bit(lowest_hb, qs->qs_conn_bm); in o2quo_make_decision()
121 if (!test_bit(o2nm_this_node(), qs->qs_hb_bm) || in o2quo_make_decision()
219 mlog_bug_on_msg(test_bit(node, qs->qs_hb_bm), "node %u\n", node); in o2quo_hb_up()
224 if (!test_bit(node, qs->qs_conn_bm)) in o2quo_hb_up()
244 mlog_bug_on_msg(!test_bit(node, qs->qs_hb_bm), "node %u\n", node); in o2quo_hb_down()
287 mlog_bug_on_msg(test_bit(node, qs->qs_conn_bm), "node %u\n", node); in o2quo_conn_up()
292 if (!test_bit(node, qs->qs_hb_bm)) in o2quo_conn_up()
310 if (test_bit(node, qs->qs_conn_bm)) { in o2quo_conn_err()
318 if (test_bit(node, qs->qs_hb_bm)) in o2quo_conn_err()
/Linux-v4.19/drivers/infiniband/ulp/ipoib/
Dipoib_multicast.c77 if (!test_bit(IPOIB_FLAG_OPER_UP, &priv->flags)) in __ipoib_mcast_schedule_join_thread()
257 if (!test_bit(IPOIB_MCAST_FLAG_SENDONLY, &mcast->flags)) { in ipoib_mcast_join_finish()
356 if (!test_bit(IPOIB_FLAG_OPER_UP, &priv->flags)) in ipoib_mcast_carrier_on_task()
375 test_bit(IPOIB_MCAST_FLAG_SENDONLY, &mcast->flags) ? in ipoib_mcast_join_complete()
407 test_bit(IPOIB_MCAST_FLAG_SENDONLY, &mcast->flags) && in ipoib_mcast_join_complete()
414 test_bit(IPOIB_MCAST_FLAG_SENDONLY, &mcast->flags) ? "sendonly " : "", in ipoib_mcast_join_complete()
418 test_bit(IPOIB_MCAST_FLAG_SENDONLY, &mcast->flags) ? "sendonly " : "", in ipoib_mcast_join_complete()
426 if (test_bit(IPOIB_MCAST_FLAG_SENDONLY, &mcast->flags) && in ipoib_mcast_join_complete()
483 !test_bit(IPOIB_FLAG_OPER_UP, &priv->flags)) in ipoib_mcast_join()
541 if (test_bit(IPOIB_MCAST_FLAG_SENDONLY, &mcast->flags) && in ipoib_mcast_join()
[all …]
/Linux-v4.19/drivers/scsi/esas2r/
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 …]
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 …]
/Linux-v4.19/net/atm/
Dsvc.c53 if (test_bit(ATM_VF_REGIS, &vcc->flags)) { in svc_disconnect()
57 if (test_bit(ATM_VF_RELEASED, &vcc->flags) || !sigd) in svc_disconnect()
124 if (!test_bit(ATM_VF_HASQOS, &vcc->flags)) { in svc_bind()
133 if (!test_bit(ATM_VF_WAITING, &vcc->flags) || !sigd) in svc_bind()
175 if (test_bit(ATM_VF_WAITING, &vcc->flags)) { in svc_connect()
191 if (!test_bit(ATM_VF_HASQOS, &vcc->flags)) { in svc_connect()
215 while (test_bit(ATM_VF_WAITING, &vcc->flags) && sigd) { in svc_connect()
236 while (test_bit(ATM_VF_WAITING, &vcc->flags) && sigd) { in svc_connect()
242 while (!test_bit(ATM_VF_RELEASED, &vcc->flags) && in svc_connect()
292 if (test_bit(ATM_VF_SESSION, &vcc->flags)) { in svc_listen()
[all …]
/Linux-v4.19/drivers/bluetooth/
Dhci_ldisc.c120 if (test_bit(HCI_UART_PROTO_READY, &hu->flags)) in hci_uart_dequeue()
142 if (!test_bit(HCI_UART_PROTO_READY, &hu->flags)) in hci_uart_tx_wakeup()
192 if (test_bit(HCI_UART_TX_WAKEUP, &hu->tx_state)) in hci_uart_write_work()
223 if (!test_bit(HCI_UART_INIT_PENDING, &hu->hdev_flags)) in hci_uart_init_ready()
250 if (test_bit(HCI_UART_PROTO_READY, &hu->flags)) in hci_uart_flush()
289 if (!test_bit(HCI_UART_PROTO_READY, &hu->flags)) { in hci_uart_send_frame()
420 if (!test_bit(HCI_UART_VND_DETECT, &hu->hdev_flags)) in hci_uart_setup()
530 if (test_bit(HCI_UART_PROTO_READY, &hu->flags)) { in hci_uart_tty_close()
538 if (test_bit(HCI_UART_REGISTERED, &hu->flags)) in hci_uart_tty_close()
573 if (test_bit(HCI_UART_PROTO_READY, &hu->flags)) in hci_uart_tty_wakeup()
[all …]
Dhci_serdev.c97 } while(test_bit(HCI_UART_TX_WAKEUP, &hu->tx_state)); in hci_uart_write_work()
118 if (test_bit(HCI_UART_PROTO_READY, &hu->flags)) in hci_uart_flush()
199 if (!test_bit(HCI_UART_VND_DETECT, &hu->hdev_flags)) in hci_uart_setup()
234 if (test_bit(HCI_UART_PROTO_READY, &hu->flags)) in hci_uart_write_wakeup()
258 if (!test_bit(HCI_UART_PROTO_READY, &hu->flags)) in hci_uart_receive_buf()
329 if (test_bit(HCI_UART_RAW_DEVICE, &hu->hdev_flags)) in hci_uart_register_device()
332 if (test_bit(HCI_UART_EXT_CONFIG, &hu->hdev_flags)) in hci_uart_register_device()
335 if (!test_bit(HCI_UART_RESET_ON_INIT, &hu->hdev_flags)) in hci_uart_register_device()
338 if (test_bit(HCI_UART_CREATE_AMP, &hu->hdev_flags)) in hci_uart_register_device()
343 if (test_bit(HCI_UART_INIT_PENDING, &hu->hdev_flags)) in hci_uart_register_device()
/Linux-v4.19/drivers/fpga/
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()
179 if (!test_bit(BUSY, &status) && test_bit(DONE, &status) && in machxo2_spi_state()
226 if (test_bit(FAIL, &status)) in machxo2_write_init()
311 if (!test_bit(DONE, &status)) { in machxo2_write_complete()
329 if (!test_bit(BUSY, &status) && test_bit(DONE, &status) && in machxo2_write_complete()
/Linux-v4.19/drivers/input/keyboard/
Dsunkbd.c160 (!!test_bit(LED_CAPSL, dev->led) << 3) | in sunkbd_event()
161 (!!test_bit(LED_SCROLLL, dev->led) << 2) | in sunkbd_event()
162 (!!test_bit(LED_COMPOSE, dev->led) << 1) | in sunkbd_event()
163 !!test_bit(LED_NUML, dev->led)); in sunkbd_event()
227 (!!test_bit(LED_CAPSL, sunkbd->dev->led) << 3) | in sunkbd_reinit()
228 (!!test_bit(LED_SCROLLL, sunkbd->dev->led) << 2) | in sunkbd_reinit()
229 (!!test_bit(LED_COMPOSE, sunkbd->dev->led) << 1) | in sunkbd_reinit()
230 !!test_bit(LED_NUML, sunkbd->dev->led)); in sunkbd_reinit()
232 SUNKBD_CMD_NOCLICK - !!test_bit(SND_CLICK, sunkbd->dev->snd)); in sunkbd_reinit()
234 SUNKBD_CMD_BELLOFF - !!test_bit(SND_BELL, sunkbd->dev->snd)); in sunkbd_reinit()
/Linux-v4.19/drivers/iio/light/
Dgp2ap020a00f.c430 return test_bit(GP2AP020A00F_FLAG_ALS_CLEAR_TRIGGER, &data->flags) || in gp2ap020a00f_als_enabled()
431 test_bit(GP2AP020A00F_FLAG_ALS_IR_TRIGGER, &data->flags) || in gp2ap020a00f_als_enabled()
432 test_bit(GP2AP020A00F_FLAG_ALS_RISING_EV, &data->flags) || in gp2ap020a00f_als_enabled()
433 test_bit(GP2AP020A00F_FLAG_ALS_FALLING_EV, &data->flags); in gp2ap020a00f_als_enabled()
438 return test_bit(GP2AP020A00F_FLAG_PROX_RISING_EV, &data->flags) || in gp2ap020a00f_prox_detect_enabled()
439 test_bit(GP2AP020A00F_FLAG_PROX_FALLING_EV, &data->flags); in gp2ap020a00f_prox_detect_enabled()
451 else if (test_bit(GP2AP020A00F_FLAG_LUX_MODE_HI, &data->flags) && in gp2ap020a00f_write_event_threshold()
570 if (test_bit(GP2AP020A00F_FLAG_ALS_RISING_EV, &data->flags)) in gp2ap020a00f_exec_cmd()
586 if (!test_bit(GP2AP020A00F_FLAG_ALS_RISING_EV, &data->flags)) in gp2ap020a00f_exec_cmd()
600 if (test_bit(GP2AP020A00F_FLAG_ALS_FALLING_EV, &data->flags)) in gp2ap020a00f_exec_cmd()
[all …]
/Linux-v4.19/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sp.c189 if (test_bit(RAMROD_DRV_CLR_ONLY, ramrod_flags)) { in bnx2x_exe_queue_step()
258 return !!test_bit(o->state, o->pstate); in bnx2x_raw_check_pending()
296 if (!test_bit(state, pstate)) { in bnx2x_state_wait()
913 if (test_bit(BNX2X_ISCSI_ETH_MAC, vlan_mac_flags)) in bnx2x_set_one_mac_e2()
916 else if (test_bit(BNX2X_ETH_MAC, vlan_mac_flags)) in bnx2x_set_one_mac_e2()
1364 if (!(test_bit(BNX2X_DONT_CONSUME_CAM_CREDIT, in bnx2x_validate_vlan_mac_add()
1421 if (!(test_bit(BNX2X_DONT_CONSUME_CAM_CREDIT, in bnx2x_validate_vlan_mac_del()
1489 if (!(test_bit(BNX2X_DONT_CONSUME_CAM_CREDIT_DEST, in bnx2x_validate_vlan_mac_move()
1494 if (!(test_bit(BNX2X_DONT_CONSUME_CAM_CREDIT, in bnx2x_validate_vlan_mac_move()
1528 if (test_bit(BNX2X_DONT_CONSUME_CAM_CREDIT, in bnx2x_remove_vlan_mac()
[all …]
/Linux-v4.19/include/linux/
Dbit_spinlock.h31 } while (test_bit(bitnum, addr)); in bit_spin_lock()
60 BUG_ON(!test_bit(bitnum, addr)); in bit_spin_unlock()
77 BUG_ON(!test_bit(bitnum, addr)); in __bit_spin_unlock()
92 return test_bit(bitnum, addr); in bit_spin_is_locked()
/Linux-v4.19/drivers/char/pcmcia/
Dcm4000_cs.c488 if (test_bit(IS_INVREV, &dev->flags)) in set_protocol()
497 | (test_bit(IS_INVREV, &dev->flags) ? 0x02 : 0x00) /* inv parity */ in set_protocol()
642 while (test_bit(LOCK_MONITOR, (void *)&dev->flags)) in terminate_monitor()
714 } else if (test_bit(IS_CMM_ABSENT, &dev->flags)) { in monitor_card()
721 } else if ((dev->flags0 & 1) && test_bit(IS_CMM_ABSENT, &dev->flags)) { in monitor_card()
728 if (test_bit(IS_ATR_VALID, &dev->flags) == 1) { in monitor_card()
823 if (test_bit(IS_ATR_VALID, &dev->flags) == 1) { in monitor_card()
827 if ((test_bit(IS_AUTOPPS_ACT, &dev->flags) == 0) && in monitor_card()
829 !(test_bit(IS_ANY_T0, &dev->flags) && in monitor_card()
830 test_bit(IS_ANY_T1, &dev->flags))) { in monitor_card()
[all …]
/Linux-v4.19/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_trigger.c21 test_bit(INV_MPU6050_SCAN_GYRO_X, in inv_scan_query()
23 test_bit(INV_MPU6050_SCAN_GYRO_Y, in inv_scan_query()
25 test_bit(INV_MPU6050_SCAN_GYRO_Z, in inv_scan_query()
29 test_bit(INV_MPU6050_SCAN_ACCL_X, in inv_scan_query()
31 test_bit(INV_MPU6050_SCAN_ACCL_Y, in inv_scan_query()
33 test_bit(INV_MPU6050_SCAN_ACCL_Z, in inv_scan_query()

12345678910>>...70