Home
last modified time | relevance | path

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

/Linux-v6.1/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()
435 set_bit(US_FLIDX_TIMED_OUT, &us->dflags); in DEF_SCSI_QCMD()
436 if (!test_bit(US_FLIDX_RESETTING, &us->dflags)) { in DEF_SCSI_QCMD()
437 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.1/drivers/gpio/
Dgpiolib-of.c338 enum gpiod_flags dflags, in gpiod_get_from_of_node() argument
351 if (ret == -EBUSY && (dflags & GPIOD_FLAGS_BIT_NONEXCLUSIVE)) in gpiod_get_from_of_node()
358 ret = gpiod_configure_flags(desc, propname, lflags, dflags); in gpiod_get_from_of_node()
558 enum gpiod_flags *dflags) in of_parse_own_gpio() argument
574 *dflags = GPIOD_ASIS; in of_parse_own_gpio()
597 *dflags |= GPIOD_IN; in of_parse_own_gpio()
599 *dflags |= GPIOD_OUT_LOW; in of_parse_own_gpio()
601 *dflags |= GPIOD_OUT_HIGH; in of_parse_own_gpio()
623 enum gpiod_flags dflags; in of_gpiochip_add_hog() local
631 desc = of_parse_own_gpio(hog, chip, i, &name, &lflags, &dflags); in of_gpiochip_add_hog()
[all …]
Dgpiolib-acpi.c912 enum gpiod_flags *dflags, in acpi_find_gpio() argument
949 (*dflags == GPIOD_OUT_LOW || *dflags == GPIOD_OUT_HIGH)) { in acpi_find_gpio()
954 acpi_gpio_update_gpiod_flags(dflags, &info); in acpi_find_gpio()
1044 enum gpiod_flags dflags = GPIOD_ASIS; in acpi_dev_gpio_irq_wake_get_by() local
1055 acpi_gpio_update_gpiod_flags(&dflags, &info); in acpi_dev_gpio_irq_wake_get_by()
1059 ret = gpiod_configure_flags(desc, label, lflags, dflags); in acpi_dev_gpio_irq_wake_get_by()
1239 enum gpiod_flags *dflags) in acpi_gpiochip_parse_own_gpio() argument
1247 *dflags = GPIOD_ASIS; in acpi_gpiochip_parse_own_gpio()
1263 *dflags |= GPIOD_IN; in acpi_gpiochip_parse_own_gpio()
1265 *dflags |= GPIOD_OUT_LOW; in acpi_gpiochip_parse_own_gpio()
[all …]
Dgpiolib-acpi.h54 enum gpiod_flags *dflags,
87 unsigned int idx, enum gpiod_flags *dflags, in acpi_find_gpio() argument
Dgpiolib-devres.c150 enum gpiod_flags dflags, in devm_gpiod_get_from_of_node() argument
156 desc = gpiod_get_from_of_node(node, propname, index, dflags, label); in devm_gpiod_get_from_of_node()
164 if (dflags & GPIOD_FLAGS_BIT_NONEXCLUSIVE) { in devm_gpiod_get_from_of_node()
Dgpiolib.h196 unsigned long lflags, enum gpiod_flags dflags);
199 unsigned long lflags, enum gpiod_flags dflags);
Dgpiolib.c561 rv = gpiod_hog(desc, hog->line_name, hog->lflags, hog->dflags); in gpiochip_machine_hog()
2132 enum gpiod_flags dflags) in gpiochip_request_own_desc() argument
2146 ret = gpiod_configure_flags(desc, label, lflags, dflags); in gpiochip_request_own_desc()
3834 enum gpiod_flags dflags, in fwnode_get_named_gpiod() argument
3844 dflags, in fwnode_get_named_gpiod()
3854 acpi_gpio_update_gpiod_flags(&dflags, &info); in fwnode_get_named_gpiod()
3865 ret = gpiod_configure_flags(desc, propname, lflags, dflags); in fwnode_get_named_gpiod()
3997 unsigned long lflags, enum gpiod_flags dflags) in gpiod_configure_flags() argument
4006 else if (dflags & GPIOD_FLAGS_BIT_OPEN_DRAIN) { in gpiod_configure_flags()
4041 if (!(dflags & GPIOD_FLAGS_BIT_DIR_SET)) { in gpiod_configure_flags()
[all …]
Dgpio-sim.c808 hog->dflags = line->hog->dir; in gpio_sim_add_hogs()
/Linux-v6.1/include/linux/gpio/
Dmachine.h64 int dflags; member
108 .dflags = _dflags, \
Dconsumer.h610 enum gpiod_flags dflags,
620 enum gpiod_flags dflags, in gpiod_get_from_of_node() argument
634 enum gpiod_flags dflags,
645 enum gpiod_flags dflags, in devm_gpiod_get_from_of_node() argument
Ddriver.h765 enum gpiod_flags dflags);
/Linux-v6.1/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.1/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.1/arch/arm/mach-davinci/
Dboard-da850-evm.c1131 da850_evm_emac_gpio_hogs[0].dflags = rmii_en ? GPIOD_OUT_HIGH in da850_evm_config_emac()
/Linux-v6.1/drivers/net/ethernet/qlogic/qede/
Dqede_ethtool.c512 u32 dflags = flags ^ cflags; in qede_set_priv_flags() local
515 if (dflags & ~BIT(QEDE_PRI_FLAG_RECOVER_ON_ERROR)) in qede_set_priv_flags()