/linux-6.12.1/drivers/usb/storage/ |
D | transport.c | 122 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 …]
|
D | usb.c | 409 if (test_bit(US_FLIDX_TIMED_OUT, &us->dflags)) { in usb_stor_control_thread() 483 if (test_bit(US_FLIDX_TIMED_OUT, &us->dflags)) { in usb_stor_control_thread() 487 clear_bit(US_FLIDX_ABORTING, &us->dflags); in usb_stor_control_thread() 488 clear_bit(US_FLIDX_TIMED_OUT, &us->dflags); in usb_stor_control_thread() 931 set_bit(US_FLIDX_DISCONNECTING, &us->dflags); in quiesce_and_remove_host() 942 if (test_bit(US_FLIDX_SCAN_PENDING, &us->dflags)) in quiesce_and_remove_host() 956 set_bit(US_FLIDX_DISCONNECTING, &us->dflags); in quiesce_and_remove_host() 1004 clear_bit(US_FLIDX_SCAN_PENDING, &us->dflags); in usb_stor_scan_dwork() 1138 set_bit(US_FLIDX_REDO_READ10, &us->dflags); in usb_stor_probe2() 1155 set_bit(US_FLIDX_SCAN_PENDING, &us->dflags); in usb_stor_probe2()
|
D | scsiglue.c | 373 if (test_bit(US_FLIDX_DISCONNECTING, &us->dflags)) { in queuecommand_lck() 432 set_bit(US_FLIDX_TIMED_OUT, &us->dflags); in DEF_SCSI_QCMD() 433 if (!test_bit(US_FLIDX_RESETTING, &us->dflags)) { in DEF_SCSI_QCMD() 434 set_bit(US_FLIDX_ABORTING, &us->dflags); in DEF_SCSI_QCMD()
|
D | usb.h | 99 unsigned long dflags; /* dynamic atomic bitflags */ member
|
D | isd200.c | 624 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.12.1/drivers/gpio/ |
D | gpiolib-acpi.h | 33 enum gpiod_flags *dflags, 49 unsigned int idx, enum gpiod_flags *dflags, in acpi_find_gpio() argument
|
D | gpiolib-acpi.c | 1013 enum gpiod_flags *dflags, in acpi_find_gpio() argument 1026 (*dflags == GPIOD_OUT_LOW || *dflags == GPIOD_OUT_HIGH)) { in acpi_find_gpio() 1031 acpi_gpio_update_gpiod_flags(dflags, &info); in acpi_find_gpio() 1078 enum gpiod_flags dflags = GPIOD_ASIS; in acpi_dev_gpio_irq_wake_get_by() local 1089 acpi_gpio_update_gpiod_flags(&dflags, &info); in acpi_dev_gpio_irq_wake_get_by() 1097 ret = gpiod_configure_flags(desc, label, lflags, dflags); in acpi_dev_gpio_irq_wake_get_by() 1278 enum gpiod_flags *dflags) in acpi_gpiochip_parse_own_gpio() argument 1286 *dflags = GPIOD_ASIS; in acpi_gpiochip_parse_own_gpio() 1302 *dflags |= GPIOD_IN; in acpi_gpiochip_parse_own_gpio() 1304 *dflags |= GPIOD_OUT_LOW; in acpi_gpiochip_parse_own_gpio() [all …]
|
D | gpiolib-of.c | 732 enum gpiod_flags *dflags) in of_parse_own_gpio() argument 748 *dflags = GPIOD_ASIS; in of_parse_own_gpio() 771 *dflags |= GPIOD_IN; in of_parse_own_gpio() 773 *dflags |= GPIOD_OUT_LOW; in of_parse_own_gpio() 775 *dflags |= GPIOD_OUT_HIGH; in of_parse_own_gpio() 798 enum gpiod_flags dflags; in of_gpiochip_add_hog() local 806 desc = of_parse_own_gpio(hog, chip, i, &name, &lflags, &dflags); in of_gpiochip_add_hog() 810 ret = gpiod_hog(desc, name, lflags, dflags); in of_gpiochip_add_hog()
|
D | gpiolib-cdev.c | 2358 unsigned long dflags; in gpio_desc_to_lineinfo() local 2371 dflags = READ_ONCE(desc->flags); in gpio_desc_to_lineinfo() 2375 if (label && test_bit(FLAG_REQUESTED, &dflags)) in gpio_desc_to_lineinfo() 2392 if (test_bit(FLAG_REQUESTED, &dflags) || in gpio_desc_to_lineinfo() 2393 test_bit(FLAG_IS_HOGGED, &dflags) || in gpio_desc_to_lineinfo() 2394 test_bit(FLAG_USED_AS_IRQ, &dflags) || in gpio_desc_to_lineinfo() 2395 test_bit(FLAG_EXPORT, &dflags) || in gpio_desc_to_lineinfo() 2396 test_bit(FLAG_SYSFS, &dflags) || in gpio_desc_to_lineinfo() 2401 if (test_bit(FLAG_IS_OUT, &dflags)) in gpio_desc_to_lineinfo() 2406 if (test_bit(FLAG_ACTIVE_LOW, &dflags)) in gpio_desc_to_lineinfo() [all …]
|
D | gpiolib.h | 253 unsigned long lflags, enum gpiod_flags dflags); 256 unsigned long lflags, enum gpiod_flags dflags);
|
D | gpiolib.c | 792 rv = gpiod_hog(desc, hog->line_name, hog->lflags, hog->dflags); in gpiochip_machine_hog() 2473 enum gpiod_flags dflags) in gpiochip_request_own_desc() argument 2488 ret = gpiod_configure_flags(desc, label, lflags, dflags); in gpiochip_request_own_desc() 4448 unsigned long lflags, enum gpiod_flags dflags) in gpiod_configure_flags() argument 4458 else if (dflags & GPIOD_FLAGS_BIT_OPEN_DRAIN) { in gpiod_configure_flags() 4493 if (!(dflags & GPIOD_FLAGS_BIT_DIR_SET)) { in gpiod_configure_flags() 4499 if (dflags & GPIOD_FLAGS_BIT_DIR_OUT) in gpiod_configure_flags() 4501 !!(dflags & GPIOD_FLAGS_BIT_DIR_VAL)); in gpiod_configure_flags() 4580 unsigned long lflags, enum gpiod_flags dflags) in gpiod_hog() argument 4597 lflags, dflags); in gpiod_hog() [all …]
|
D | gpio-sim.c | 877 hog->dflags = line->hog->dir; in gpio_sim_add_hogs()
|
/linux-6.12.1/include/linux/gpio/ |
D | machine.h | 63 int dflags; member 107 .dflags = _dflags, \
|
D | driver.h | 787 enum gpiod_flags dflags);
|
/linux-6.12.1/drivers/platform/x86/x86-android-tablets/ |
D | x86-android-tablets.h | 97 bool active_low, enum gpiod_flags dflags,
|
D | core.c | 44 bool active_low, enum gpiod_flags dflags, in x86_android_tablet_get_gpiod() argument 59 gpiod = devm_gpiod_get(&x86_android_tablet_device->dev, con_id, dflags); in x86_android_tablet_get_gpiod()
|
/linux-6.12.1/drivers/net/ethernet/pasemi/ |
D | pasemi_mac.c | 1431 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.12.1/drivers/ata/ |
D | sata_qstor.c | 263 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.12.1/fs/bcachefs/ |
D | replicas.c | 816 unsigned nr_online = 0, nr_failed = 0, dflags = 0; in bch2_have_enough_devs() local 840 dflags |= metadata in bch2_have_enough_devs() 845 dflags |= metadata in bch2_have_enough_devs() 849 if (dflags & ~flags) { in bch2_have_enough_devs()
|
/linux-6.12.1/drivers/tty/serial/ |
D | serial_core.c | 3624 enum gpiod_flags dflags; in uart_get_rs485_mode() local 3676 dflags = (rs485conf->flags & SER_RS485_RX_DURING_TX) ? in uart_get_rs485_mode() 3678 desc = devm_gpiod_get_optional(dev, "rs485-rx-during-tx", dflags); in uart_get_rs485_mode()
|
/linux-6.12.1/drivers/net/ethernet/qlogic/qede/ |
D | qede_ethtool.c | 493 u32 dflags = flags ^ cflags; in qede_set_priv_flags() local 496 if (dflags & ~BIT(QEDE_PRI_FLAG_RECOVER_ON_ERROR)) in qede_set_priv_flags()
|