Home
last modified time | relevance | path

Searched refs:dflags (Results 1 – 13 of 13) 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.c343 if (test_bit(US_FLIDX_TIMED_OUT, &us->dflags)) { in usb_stor_control_thread()
417 if (test_bit(US_FLIDX_TIMED_OUT, &us->dflags)) { in usb_stor_control_thread()
421 clear_bit(US_FLIDX_ABORTING, &us->dflags); in usb_stor_control_thread()
422 clear_bit(US_FLIDX_TIMED_OUT, &us->dflags); in usb_stor_control_thread()
862 set_bit(US_FLIDX_DISCONNECTING, &us->dflags); in quiesce_and_remove_host()
873 if (test_bit(US_FLIDX_SCAN_PENDING, &us->dflags)) in quiesce_and_remove_host()
887 set_bit(US_FLIDX_DISCONNECTING, &us->dflags); in quiesce_and_remove_host()
935 clear_bit(US_FLIDX_SCAN_PENDING, &us->dflags); in usb_stor_scan_dwork()
1060 set_bit(US_FLIDX_REDO_READ10, &us->dflags); in usb_stor_probe2()
1077 set_bit(US_FLIDX_SCAN_PENDING, &us->dflags); in usb_stor_probe2()
Dscsiglue.c380 if (test_bit(US_FLIDX_DISCONNECTING, &us->dflags)) { in queuecommand_lck()
437 set_bit(US_FLIDX_TIMED_OUT, &us->dflags); in DEF_SCSI_QCMD()
438 if (!test_bit(US_FLIDX_RESETTING, &us->dflags)) { in DEF_SCSI_QCMD()
439 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.c180 enum gpiod_flags *dflags) in of_parse_own_gpio() argument
196 *dflags = 0; in of_parse_own_gpio()
220 *dflags |= GPIOD_IN; in of_parse_own_gpio()
222 *dflags |= GPIOD_OUT_LOW; in of_parse_own_gpio()
224 *dflags |= GPIOD_OUT_HIGH; in of_parse_own_gpio()
251 enum gpiod_flags dflags; in of_gpiochip_scan_gpios() local
261 &dflags); in of_gpiochip_scan_gpios()
265 ret = gpiod_hog(desc, name, lflags, dflags); in of_gpiochip_scan_gpios()
Dgpiolib.h132 enum gpiod_flags *dflags,
159 unsigned int idx, enum gpiod_flags *dflags, in acpi_find_gpio() argument
215 unsigned long lflags, enum gpiod_flags dflags);
217 unsigned long lflags, enum gpiod_flags dflags);
Dgpiolib-acpi.c803 enum gpiod_flags *dflags, in acpi_find_gpio() argument
841 (*dflags == GPIOD_OUT_LOW || *dflags == GPIOD_OUT_HIGH)) { in acpi_find_gpio()
849 err = acpi_gpio_update_gpiod_flags(dflags, info.flags); in acpi_find_gpio()
1120 const char **name, unsigned int *lflags, unsigned int *dflags) in acpi_gpiochip_parse_own_gpio() argument
1128 *dflags = 0; in acpi_gpiochip_parse_own_gpio()
1148 *dflags |= GPIOD_IN; in acpi_gpiochip_parse_own_gpio()
1150 *dflags |= GPIOD_OUT_LOW; in acpi_gpiochip_parse_own_gpio()
1152 *dflags |= GPIOD_OUT_HIGH; in acpi_gpiochip_parse_own_gpio()
1167 unsigned int lflags, dflags; in acpi_gpiochip_scan_gpios() local
1176 &lflags, &dflags); in acpi_gpiochip_scan_gpios()
[all …]
Dgpiolib.c3298 unsigned long lflags, enum gpiod_flags dflags) in gpiod_configure_flags() argument
3312 if (!(dflags & GPIOD_FLAGS_BIT_DIR_SET)) { in gpiod_configure_flags()
3318 if (dflags & GPIOD_FLAGS_BIT_DIR_OUT) in gpiod_configure_flags()
3320 !!(dflags & GPIOD_FLAGS_BIT_DIR_VAL)); in gpiod_configure_flags()
3421 enum gpiod_flags dflags, in fwnode_get_named_gpiod() argument
3450 ret = acpi_gpio_update_gpiod_flags(&dflags, info.flags); in fwnode_get_named_gpiod()
3473 ret = gpiod_configure_flags(desc, propname, lflags, dflags); in fwnode_get_named_gpiod()
3521 unsigned long lflags, enum gpiod_flags dflags) in gpiod_hog() argument
3539 status = gpiod_configure_flags(desc, name, lflags, dflags); in gpiod_hog()
3552 (dflags&GPIOD_FLAGS_BIT_DIR_OUT) ? "output" : "input", in gpiod_hog()
[all …]
/drivers/net/wan/
Dz85230.c858 unsigned long cflags, dflags; in z8530_sync_dma_open() local
935 dflags=claim_dma_lock(); in z8530_sync_dma_open()
949 release_dma_lock(dflags); in z8530_sync_dma_open()
1052 unsigned long cflags, dflags; in z8530_sync_txdma_open() local
1115 dflags = claim_dma_lock(); in z8530_sync_txdma_open()
1122 release_dma_lock(dflags); in z8530_sync_txdma_open()
1153 unsigned long dflags, cflags; in z8530_sync_txdma_close() local
1167 dflags = claim_dma_lock(); in z8530_sync_txdma_close()
1174 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.c1459 int dflags; in setup_rw_floppy() local
1483 dflags = DRS->flags; in setup_rw_floppy()