Home
last modified time | relevance | path

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

/linux-6.6.21/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.c386 if (test_bit(US_FLIDX_DISCONNECTING, &us->dflags)) { in queuecommand_lck()
445 set_bit(US_FLIDX_TIMED_OUT, &us->dflags); in DEF_SCSI_QCMD()
446 if (!test_bit(US_FLIDX_RESETTING, &us->dflags)) { in DEF_SCSI_QCMD()
447 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-6.6.21/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.c681 enum gpiod_flags *dflags) in of_parse_own_gpio() argument
697 *dflags = GPIOD_ASIS; in of_parse_own_gpio()
720 *dflags |= GPIOD_IN; in of_parse_own_gpio()
722 *dflags |= GPIOD_OUT_LOW; in of_parse_own_gpio()
724 *dflags |= GPIOD_OUT_HIGH; in of_parse_own_gpio()
746 enum gpiod_flags dflags; in of_gpiochip_add_hog() local
754 desc = of_parse_own_gpio(hog, chip, i, &name, &lflags, &dflags); in of_gpiochip_add_hog()
758 ret = gpiod_hog(desc, name, lflags, dflags); in of_gpiochip_add_hog()
Dgpiolib.h211 unsigned long lflags, enum gpiod_flags dflags);
214 unsigned long lflags, enum gpiod_flags dflags);
Dgpiolib.c652 rv = gpiod_hog(desc, hog->line_name, hog->lflags, hog->dflags); in gpiochip_machine_hog()
2313 enum gpiod_flags dflags) in gpiochip_request_own_desc() argument
2327 ret = gpiod_configure_flags(desc, label, lflags, dflags); in gpiochip_request_own_desc()
4191 unsigned long lflags, enum gpiod_flags dflags) in gpiod_configure_flags() argument
4200 else if (dflags & GPIOD_FLAGS_BIT_OPEN_DRAIN) { in gpiod_configure_flags()
4235 if (!(dflags & GPIOD_FLAGS_BIT_DIR_SET)) { in gpiod_configure_flags()
4241 if (dflags & GPIOD_FLAGS_BIT_DIR_OUT) in gpiod_configure_flags()
4243 !!(dflags & GPIOD_FLAGS_BIT_DIR_VAL)); in gpiod_configure_flags()
4313 unsigned long lflags, enum gpiod_flags dflags) in gpiod_hog() argument
4324 lflags, dflags); in gpiod_hog()
[all …]
Dgpio-sim.c804 hog->dflags = line->hog->dir; in gpio_sim_add_hogs()
/linux-6.6.21/include/linux/gpio/
Dmachine.h63 int dflags; member
107 .dflags = _dflags, \
Ddriver.h764 enum gpiod_flags dflags);
/linux-6.6.21/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-6.6.21/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-6.6.21/drivers/tty/serial/
Dserial_core.c3597 enum gpiod_flags dflags; in uart_get_rs485_mode() local
3649 dflags = (rs485conf->flags & SER_RS485_RX_DURING_TX) ? in uart_get_rs485_mode()
3651 desc = devm_gpiod_get_optional(dev, "rs485-rx-during-tx", dflags); in uart_get_rs485_mode()
/linux-6.6.21/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()