Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/usb/storage/
Dtransport.c122 if (test_bit(US_FLIDX_ABORTING, &us->dflags)) in usb_stor_msg_common()
153 set_bit(US_FLIDX_URB_ACTIVE, &us->dflags); in usb_stor_msg_common()
156 if (test_bit(US_FLIDX_ABORTING, &us->dflags)) { in usb_stor_msg_common()
159 if (test_and_clear_bit(US_FLIDX_URB_ACTIVE, &us->dflags)) { in usb_stor_msg_common()
169 clear_bit(US_FLIDX_URB_ACTIVE, &us->dflags); in usb_stor_msg_common()
418 if (test_bit(US_FLIDX_ABORTING, &us->dflags)) in usb_stor_bulk_transfer_sglist()
434 set_bit(US_FLIDX_SG_ACTIVE, &us->dflags); in usb_stor_bulk_transfer_sglist()
437 if (test_bit(US_FLIDX_ABORTING, &us->dflags)) { in usb_stor_bulk_transfer_sglist()
440 if (test_and_clear_bit(US_FLIDX_SG_ACTIVE, &us->dflags)) { in usb_stor_bulk_transfer_sglist()
448 clear_bit(US_FLIDX_SG_ACTIVE, &us->dflags); in usb_stor_bulk_transfer_sglist()
[all …]
Dusb.c327 if (test_bit(US_FLIDX_TIMED_OUT, &us->dflags)) { in usb_stor_control_thread()
401 if (test_bit(US_FLIDX_TIMED_OUT, &us->dflags)) { in usb_stor_control_thread()
405 clear_bit(US_FLIDX_ABORTING, &us->dflags); in usb_stor_control_thread()
406 clear_bit(US_FLIDX_TIMED_OUT, &us->dflags); in usb_stor_control_thread()
849 set_bit(US_FLIDX_DISCONNECTING, &us->dflags); in quiesce_and_remove_host()
860 if (test_bit(US_FLIDX_SCAN_PENDING, &us->dflags)) in quiesce_and_remove_host()
874 set_bit(US_FLIDX_DISCONNECTING, &us->dflags); in quiesce_and_remove_host()
922 clear_bit(US_FLIDX_SCAN_PENDING, &us->dflags); in usb_stor_scan_dwork()
1047 set_bit(US_FLIDX_REDO_READ10, &us->dflags); in usb_stor_probe2()
1064 set_bit(US_FLIDX_SCAN_PENDING, &us->dflags); in usb_stor_probe2()
Dscsiglue.c379 if (test_bit(US_FLIDX_DISCONNECTING, &us->dflags)) { in queuecommand_lck()
438 set_bit(US_FLIDX_TIMED_OUT, &us->dflags); in DEF_SCSI_QCMD()
439 if (!test_bit(US_FLIDX_RESETTING, &us->dflags)) { in DEF_SCSI_QCMD()
440 set_bit(US_FLIDX_ABORTING, &us->dflags); in DEF_SCSI_QCMD()
Dusb.h99 unsigned long dflags; /* dynamic atomic bitflags */ member
Disd200.c624 if (test_bit(US_FLIDX_TIMED_OUT, &us->dflags)) { in isd200_invoke_transport()
671 if (test_bit(US_FLIDX_TIMED_OUT, &us->dflags)) { in isd200_invoke_transport()
704 clear_bit(US_FLIDX_ABORTING, &us->dflags); in isd200_invoke_transport()
/Linux-v6.6/drivers/gpio/
Dgpiolib-acpi.h33 enum gpiod_flags *dflags,
49 unsigned int idx, enum gpiod_flags *dflags, in acpi_find_gpio() argument
Dgpiolib-acpi.c978 enum gpiod_flags *dflags, in acpi_find_gpio() argument
1020 (*dflags == GPIOD_OUT_LOW || *dflags == GPIOD_OUT_HIGH)) { in acpi_find_gpio()
1025 acpi_gpio_update_gpiod_flags(dflags, &info); in acpi_find_gpio()
1071 enum gpiod_flags dflags = GPIOD_ASIS; in acpi_dev_gpio_irq_wake_get_by() local
1082 acpi_gpio_update_gpiod_flags(&dflags, &info); in acpi_dev_gpio_irq_wake_get_by()
1086 ret = gpiod_configure_flags(desc, label, lflags, dflags); in acpi_dev_gpio_irq_wake_get_by()
1267 enum gpiod_flags *dflags) in acpi_gpiochip_parse_own_gpio() argument
1275 *dflags = GPIOD_ASIS; in acpi_gpiochip_parse_own_gpio()
1291 *dflags |= GPIOD_IN; in acpi_gpiochip_parse_own_gpio()
1293 *dflags |= GPIOD_OUT_LOW; in acpi_gpiochip_parse_own_gpio()
[all …]
Dgpiolib-of.c677 enum gpiod_flags *dflags) in of_parse_own_gpio() argument
693 *dflags = GPIOD_ASIS; in of_parse_own_gpio()
716 *dflags |= GPIOD_IN; in of_parse_own_gpio()
718 *dflags |= GPIOD_OUT_LOW; in of_parse_own_gpio()
720 *dflags |= GPIOD_OUT_HIGH; in of_parse_own_gpio()
742 enum gpiod_flags dflags; in of_gpiochip_add_hog() local
750 desc = of_parse_own_gpio(hog, chip, i, &name, &lflags, &dflags); in of_gpiochip_add_hog()
754 ret = gpiod_hog(desc, name, lflags, dflags); in of_gpiochip_add_hog()
Dgpiolib.h221 unsigned long lflags, enum gpiod_flags dflags);
224 unsigned long lflags, enum gpiod_flags dflags);
Dgpiolib.c652 rv = gpiod_hog(desc, hog->line_name, hog->lflags, hog->dflags); in gpiochip_machine_hog()
2254 enum gpiod_flags dflags) in gpiochip_request_own_desc() argument
2268 ret = gpiod_configure_flags(desc, label, lflags, dflags); in gpiochip_request_own_desc()
4132 unsigned long lflags, enum gpiod_flags dflags) in gpiod_configure_flags() argument
4141 else if (dflags & GPIOD_FLAGS_BIT_OPEN_DRAIN) { in gpiod_configure_flags()
4176 if (!(dflags & GPIOD_FLAGS_BIT_DIR_SET)) { in gpiod_configure_flags()
4182 if (dflags & GPIOD_FLAGS_BIT_DIR_OUT) in gpiod_configure_flags()
4184 !!(dflags & GPIOD_FLAGS_BIT_DIR_VAL)); in gpiod_configure_flags()
4254 unsigned long lflags, enum gpiod_flags dflags) in gpiod_hog() argument
4265 lflags, dflags); in gpiod_hog()
[all …]
Dgpio-sim.c804 hog->dflags = line->hog->dir; in gpio_sim_add_hogs()
/Linux-v6.6/include/linux/gpio/
Dmachine.h63 int dflags; member
107 .dflags = _dflags, \
Ddriver.h758 enum gpiod_flags dflags);
/Linux-v6.6/drivers/net/ethernet/pasemi/
Dpasemi_mac.c1431 u64 dflags = 0; in pasemi_mac_start_tx() local
1443 dflags = XCT_MACTX_O | XCT_MACTX_ST | XCT_MACTX_CRC_PAD; in pasemi_mac_start_tx()
1468 dflags |= XCT_MACTX_CSUM_TCP; in pasemi_mac_start_tx()
1469 dflags |= XCT_MACTX_IPH(nh_len >> 2); in pasemi_mac_start_tx()
1470 dflags |= XCT_MACTX_IPO(nh_off); in pasemi_mac_start_tx()
1473 dflags |= XCT_MACTX_CSUM_UDP; in pasemi_mac_start_tx()
1474 dflags |= XCT_MACTX_IPH(nh_len >> 2); in pasemi_mac_start_tx()
1475 dflags |= XCT_MACTX_IPO(nh_off); in pasemi_mac_start_tx()
1482 mactx = dflags | XCT_MACTX_LLEN(skb->len); in pasemi_mac_start_tx()
/Linux-v6.6/drivers/ata/
Dsata_qstor.c263 u8 dflags = QS_DF_PORD, *buf = pp->pkt; in qs_qc_prep() local
277 dflags |= QS_DF_ELBA; in qs_qc_prep()
289 buf[28] = dflags; in qs_qc_prep()
/Linux-v6.6/drivers/net/ethernet/qlogic/qede/
Dqede_ethtool.c515 u32 dflags = flags ^ cflags; in qede_set_priv_flags() local
518 if (dflags & ~BIT(QEDE_PRI_FLAG_RECOVER_ON_ERROR)) in qede_set_priv_flags()