Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
436 set_bit(US_FLIDX_TIMED_OUT, &us->dflags); in DEF_SCSI_QCMD()
437 if (!test_bit(US_FLIDX_RESETTING, &us->dflags)) { in DEF_SCSI_QCMD()
438 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()
/kernel/linux/linux-5.10/drivers/gpio/
Dgpiolib-of.c308 enum gpiod_flags dflags, in gpiod_get_from_of_node() argument
333 if (ret == -EBUSY && (dflags & GPIOD_FLAGS_BIT_NONEXCLUSIVE)) in gpiod_get_from_of_node()
357 ret = gpiod_configure_flags(desc, propname, lflags, dflags); in gpiod_get_from_of_node()
580 enum gpiod_flags *dflags) in of_parse_own_gpio() argument
596 *dflags = 0; in of_parse_own_gpio()
626 *dflags |= GPIOD_IN; in of_parse_own_gpio()
628 *dflags |= GPIOD_OUT_LOW; in of_parse_own_gpio()
630 *dflags |= GPIOD_OUT_HIGH; in of_parse_own_gpio()
652 enum gpiod_flags dflags; in of_gpiochip_add_hog() local
660 desc = of_parse_own_gpio(hog, chip, i, &name, &lflags, &dflags); in of_gpiochip_add_hog()
[all …]
Dgpiolib-acpi.h48 enum gpiod_flags *dflags,
79 unsigned int idx, enum gpiod_flags *dflags, in acpi_find_gpio() argument
Dgpiolib-acpi.c827 enum gpiod_flags *dflags, in acpi_find_gpio() argument
864 (*dflags == GPIOD_OUT_LOW || *dflags == GPIOD_OUT_HIGH)) { in acpi_find_gpio()
869 acpi_gpio_update_gpiod_flags(dflags, &info); in acpi_find_gpio()
1143 enum gpiod_flags *dflags) in acpi_gpiochip_parse_own_gpio() argument
1151 *dflags = 0; in acpi_gpiochip_parse_own_gpio()
1167 *dflags |= GPIOD_IN; in acpi_gpiochip_parse_own_gpio()
1169 *dflags |= GPIOD_OUT_LOW; in acpi_gpiochip_parse_own_gpio()
1171 *dflags |= GPIOD_OUT_HIGH; in acpi_gpiochip_parse_own_gpio()
1187 enum gpiod_flags dflags; in acpi_gpiochip_scan_gpios() local
1196 &lflags, &dflags); in acpi_gpiochip_scan_gpios()
[all …]
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.h136 unsigned long lflags, enum gpiod_flags dflags);
138 unsigned long lflags, enum gpiod_flags dflags);
Dgpiolib.c533 rv = gpiod_hog(desc, hog->line_name, hog->lflags, hog->dflags); in gpiochip_machine_hog()
2228 enum gpiod_flags dflags) in gpiochip_request_own_desc() argument
2242 ret = gpiod_configure_flags(desc, label, lflags, dflags); in gpiochip_request_own_desc()
3907 unsigned long lflags, enum gpiod_flags dflags) in gpiod_configure_flags() argument
3916 else if (dflags & GPIOD_FLAGS_BIT_OPEN_DRAIN) { in gpiod_configure_flags()
3947 if (!(dflags & GPIOD_FLAGS_BIT_DIR_SET)) { in gpiod_configure_flags()
3953 if (dflags & GPIOD_FLAGS_BIT_DIR_OUT) in gpiod_configure_flags()
3955 !!(dflags & GPIOD_FLAGS_BIT_DIR_VAL)); in gpiod_configure_flags()
4074 enum gpiod_flags dflags, in fwnode_get_named_gpiod() argument
4087 dflags, in fwnode_get_named_gpiod()
[all …]
/kernel/linux/linux-5.10/include/linux/gpio/
Dmachine.h63 int dflags; member
95 .dflags = _dflags, \
Dconsumer.h180 enum gpiod_flags dflags,
550 enum gpiod_flags dflags, in fwnode_get_named_gpiod() argument
614 enum gpiod_flags dflags,
624 enum gpiod_flags dflags, in gpiod_get_from_of_node() argument
638 enum gpiod_flags dflags,
649 enum gpiod_flags dflags, in devm_gpiod_get_from_of_node() argument
Ddriver.h786 enum gpiod_flags dflags);
/kernel/linux/linux-5.10/drivers/net/wan/
Dz85230.c855 unsigned long cflags, dflags; in z8530_sync_dma_open() local
932 dflags=claim_dma_lock(); in z8530_sync_dma_open()
946 release_dma_lock(dflags); in z8530_sync_dma_open()
1049 unsigned long cflags, dflags; in z8530_sync_txdma_open() local
1112 dflags = claim_dma_lock(); in z8530_sync_txdma_open()
1119 release_dma_lock(dflags); in z8530_sync_txdma_open()
1150 unsigned long dflags, cflags; in z8530_sync_txdma_close() local
1164 dflags = claim_dma_lock(); in z8530_sync_txdma_close()
1171 release_dma_lock(dflags); in z8530_sync_txdma_close()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/ata/
Dsata_qstor.c266 u8 dflags = QS_DF_PORD, *buf = pp->pkt; in qs_qc_prep() local
282 dflags |= QS_DF_ELBA; in qs_qc_prep()
294 buf[28] = dflags; in qs_qc_prep()
/kernel/linux/linux-5.10/kernel/sched/
Dtopology.c1401 struct sched_domain *child, int dflags, int cpu) in sd_init() argument
1423 sd_flags |= dflags; in sd_init()
1927 struct sched_domain *child, int dflags, int cpu) in build_sched_domain() argument
1929 struct sched_domain *sd = sd_init(tl, cpu_map, child, dflags, cpu); in build_sched_domain()
2077 int dflags = 0; in build_sched_domains() local
2082 dflags |= SD_ASYM_CPUCAPACITY; in build_sched_domains()
2089 sd = build_sched_domain(tl, cpu_map, attr, sd, dflags, i); in build_sched_domains()
/kernel/linux/linux-5.10/arch/arm/mach-davinci/
Dboard-da850-evm.c1138 da850_evm_emac_gpio_hogs[0].dflags = rmii_en ? GPIOD_OUT_HIGH in da850_evm_config_emac()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/
Dqede_ethtool.c499 u32 dflags = flags ^ cflags; in qede_set_priv_flags() local
502 if (dflags & ~BIT(QEDE_PRI_FLAG_RECOVER_ON_ERROR)) in qede_set_priv_flags()