Home
last modified time | relevance | path

Searched refs:dflags (Results 1 – 12 of 12) sorted by relevance

/drivers/usb/storage/
Dtransport.c138 if (test_bit(US_FLIDX_ABORTING, &us->dflags)) in usb_stor_msg_common()
169 set_bit(US_FLIDX_URB_ACTIVE, &us->dflags); in usb_stor_msg_common()
172 if (test_bit(US_FLIDX_ABORTING, &us->dflags)) { in usb_stor_msg_common()
175 if (test_and_clear_bit(US_FLIDX_URB_ACTIVE, &us->dflags)) { in usb_stor_msg_common()
185 clear_bit(US_FLIDX_URB_ACTIVE, &us->dflags); in usb_stor_msg_common()
434 if (test_bit(US_FLIDX_ABORTING, &us->dflags)) in usb_stor_bulk_transfer_sglist()
450 set_bit(US_FLIDX_SG_ACTIVE, &us->dflags); in usb_stor_bulk_transfer_sglist()
453 if (test_bit(US_FLIDX_ABORTING, &us->dflags)) { in usb_stor_bulk_transfer_sglist()
456 if (test_and_clear_bit(US_FLIDX_SG_ACTIVE, &us->dflags)) { in usb_stor_bulk_transfer_sglist()
464 clear_bit(US_FLIDX_SG_ACTIVE, &us->dflags); in usb_stor_bulk_transfer_sglist()
[all …]
Dusb.c342 if (test_bit(US_FLIDX_TIMED_OUT, &us->dflags)) { in usb_stor_control_thread()
419 if (test_bit(US_FLIDX_TIMED_OUT, &us->dflags)) { in usb_stor_control_thread()
423 clear_bit(US_FLIDX_ABORTING, &us->dflags); in usb_stor_control_thread()
424 clear_bit(US_FLIDX_TIMED_OUT, &us->dflags); in usb_stor_control_thread()
871 set_bit(US_FLIDX_DISCONNECTING, &us->dflags); in quiesce_and_remove_host()
882 if (test_bit(US_FLIDX_SCAN_PENDING, &us->dflags)) in quiesce_and_remove_host()
896 set_bit(US_FLIDX_DISCONNECTING, &us->dflags); in quiesce_and_remove_host()
944 clear_bit(US_FLIDX_SCAN_PENDING, &us->dflags); in usb_stor_scan_dwork()
1069 set_bit(US_FLIDX_REDO_READ10, &us->dflags); in usb_stor_probe2()
1086 set_bit(US_FLIDX_SCAN_PENDING, &us->dflags); in usb_stor_probe2()
Dscsiglue.c388 if (test_bit(US_FLIDX_DISCONNECTING, &us->dflags)) { in queuecommand_lck()
436 set_bit(US_FLIDX_TIMED_OUT, &us->dflags); in DEF_SCSI_QCMD()
437 if (!test_bit(US_FLIDX_RESETTING, &us->dflags)) { in DEF_SCSI_QCMD()
438 set_bit(US_FLIDX_ABORTING, &us->dflags); in DEF_SCSI_QCMD()
Dusb.h114 unsigned long dflags; /* dynamic atomic bitflags */ member
Disd200.c636 if (test_bit(US_FLIDX_TIMED_OUT, &us->dflags)) { in isd200_invoke_transport()
683 if (test_bit(US_FLIDX_TIMED_OUT, &us->dflags)) { in isd200_invoke_transport()
716 clear_bit(US_FLIDX_ABORTING, &us->dflags); in isd200_invoke_transport()
/drivers/gpio/
Dgpiolib-of.c175 enum gpiod_flags *dflags) in of_parse_own_gpio() argument
190 *dflags = 0; in of_parse_own_gpio()
211 *dflags |= GPIOD_IN; in of_parse_own_gpio()
213 *dflags |= GPIOD_OUT_LOW; in of_parse_own_gpio()
215 *dflags |= GPIOD_OUT_HIGH; in of_parse_own_gpio()
287 enum gpiod_flags dflags; in of_gpiochip_scan_gpios() local
294 desc = of_parse_own_gpio(np, chip, &name, &lflags, &dflags); in of_gpiochip_scan_gpios()
298 ret = gpiod_hog(desc, name, lflags, dflags); in of_gpiochip_scan_gpios()
Dgpiolib.c3157 unsigned long lflags, enum gpiod_flags dflags) in gpiod_configure_flags() argument
3169 if (!(dflags & GPIOD_FLAGS_BIT_DIR_SET)) { in gpiod_configure_flags()
3175 if (dflags & GPIOD_FLAGS_BIT_DIR_OUT) in gpiod_configure_flags()
3177 dflags & GPIOD_FLAGS_BIT_DIR_VAL); in gpiod_configure_flags()
3351 unsigned long lflags, enum gpiod_flags dflags) in gpiod_hog() argument
3369 status = gpiod_configure_flags(desc, name, lflags, dflags); in gpiod_hog()
3382 (dflags&GPIOD_FLAGS_BIT_DIR_OUT) ? "output" : "input", in gpiod_hog()
3383 (dflags&GPIOD_FLAGS_BIT_DIR_OUT) ? in gpiod_hog()
3384 (dflags&GPIOD_FLAGS_BIT_DIR_VAL) ? "/high" : "/low":""); in gpiod_hog()
Dgpiolib.h202 unsigned long lflags, enum gpiod_flags dflags);
/drivers/net/wan/
Dz85230.c860 unsigned long cflags, dflags; in z8530_sync_dma_open() local
937 dflags=claim_dma_lock(); in z8530_sync_dma_open()
951 release_dma_lock(dflags); in z8530_sync_dma_open()
1054 unsigned long cflags, dflags; in z8530_sync_txdma_open() local
1117 dflags = claim_dma_lock(); in z8530_sync_txdma_open()
1124 release_dma_lock(dflags); in z8530_sync_txdma_open()
1155 unsigned long dflags, cflags; in z8530_sync_txdma_close() local
1169 dflags = claim_dma_lock(); in z8530_sync_txdma_close()
1176 release_dma_lock(dflags); in z8530_sync_txdma_close()
/drivers/net/ethernet/pasemi/
Dpasemi_mac.c1440 u64 dflags = 0; in pasemi_mac_start_tx() local
1452 dflags = XCT_MACTX_O | XCT_MACTX_ST | XCT_MACTX_CRC_PAD; in pasemi_mac_start_tx()
1477 dflags |= XCT_MACTX_CSUM_TCP; in pasemi_mac_start_tx()
1478 dflags |= XCT_MACTX_IPH(nh_len >> 2); in pasemi_mac_start_tx()
1479 dflags |= XCT_MACTX_IPO(nh_off); in pasemi_mac_start_tx()
1482 dflags |= XCT_MACTX_CSUM_UDP; in pasemi_mac_start_tx()
1483 dflags |= XCT_MACTX_IPH(nh_len >> 2); in pasemi_mac_start_tx()
1484 dflags |= XCT_MACTX_IPO(nh_off); in pasemi_mac_start_tx()
1491 mactx = dflags | XCT_MACTX_LLEN(skb->len); in pasemi_mac_start_tx()
/drivers/ata/
Dsata_qstor.c282 u8 dflags = QS_DF_PORD, *buf = pp->pkt; in qs_qc_prep() local
298 dflags |= QS_DF_ELBA; in qs_qc_prep()
310 buf[28] = dflags; in qs_qc_prep()
/drivers/block/
Dfloppy.c1455 int dflags; in setup_rw_floppy() local
1479 dflags = DRS->flags; in setup_rw_floppy()