/linux/drivers/usb/storage/ |
H A 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() 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() 448 clear_bit(US_FLIDX_SG_ACTIVE, &us->dflags); in usb_stor_bulk_transfer_sglist() 875 set_bit(US_FLIDX_REDO_READ10, &us->dflags); in usb_stor_invoke_transport() 910 set_bit(US_FLIDX_RESETTING, &us->dflags); in usb_stor_invoke_transport() 911 clear_bit(US_FLIDX_ABORTING, &us->dflags); in usb_stor_invoke_transport() [all …]
|
H A 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()
|
H A 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()
|
H A D | usb.h | 99 unsigned long dflags; /* dynamic atomic bitflags */ member
|
H A 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/drivers/gpio/ |
H A D | gpiolib-acpi.h | 33 enum gpiod_flags *dflags, 49 unsigned int idx, enum gpiod_flags *dflags, in acpi_find_gpio() argument
|
H A 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 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() 1306 *dflags |= GPIOD_OUT_HIGH; in acpi_gpiochip_parse_own_gpio() 1322 enum gpiod_flags dflags; in acpi_gpiochip_scan_gpios() local [all …]
|
H A 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()
|
H A 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() 2392 if (test_bit(FLAG_REQUESTED, &dflags) || in gpio_desc_to_lineinfo() 2393 test_bit(FLAG_IS_HOGGED, &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() 2409 if (test_bit(FLAG_OPEN_DRAIN, &dflags)) in gpio_desc_to_lineinfo() 2416 if (test_bit(FLAG_PULL_DOWN, &dflags)) in gpio_desc_to_lineinfo() [all …]
|
H A D | gpiolib.h | 253 unsigned long lflags, enum gpiod_flags dflags); 256 unsigned long lflags, enum gpiod_flags dflags);
|
H A D | gpiolib.c | 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() 4607 (dflags & GPIOD_FLAGS_BIT_DIR_OUT) ? "output" : "input", in gpiod_hog() [all …]
|
H A D | gpio-sim.c | 877 hog->dflags = line->hog->dir; in gpio_sim_add_hogs()
|
/linux/include/linux/gpio/ |
H A D | machine.h | 63 int dflags; member 107 .dflags = _dflags, \
|
H A D | driver.h | 787 enum gpiod_flags dflags);
|
/linux/drivers/platform/x86/x86-android-tablets/ |
H A D | x86-android-tablets.h | 97 bool active_low, enum gpiod_flags dflags,
|
H A 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/drivers/net/ethernet/pasemi/ |
H A 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/drivers/ata/ |
H A 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/fs/bcachefs/ |
H A 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/drivers/tty/serial/ |
H A 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/drivers/net/ethernet/qlogic/qede/ |
H A 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()
|