Home
last modified time | relevance | path

Searched refs:devmask (Results 1 – 6 of 6) sorted by relevance

/drivers/ata/
Dpata_ep93xx.c548 unsigned int devmask, in ep93xx_pata_wait_after_reset() argument
553 unsigned int dev0 = devmask & (1 << 0); in ep93xx_pata_wait_after_reset()
554 unsigned int dev1 = devmask & (1 << 1); in ep93xx_pata_wait_after_reset()
612 static int ep93xx_pata_bus_softreset(struct ata_port *ap, unsigned int devmask, in ep93xx_pata_bus_softreset() argument
624 return ep93xx_pata_wait_after_reset(&ap->link, devmask, deadline); in ep93xx_pata_bus_softreset()
809 unsigned int devmask = 0; in ep93xx_pata_softreset() local
815 devmask |= (1 << 0); in ep93xx_pata_softreset()
817 devmask |= (1 << 1); in ep93xx_pata_softreset()
823 rc = ep93xx_pata_bus_softreset(ap, devmask, deadline); in ep93xx_pata_softreset()
831 classes[0] = ata_sff_dev_classify(&al->device[0], devmask & (1 << 0), in ep93xx_pata_softreset()
[all …]
Dlibata-sff.c1894 int ata_sff_wait_after_reset(struct ata_link *link, unsigned int devmask, in ata_sff_wait_after_reset() argument
1899 unsigned int dev0 = devmask & (1 << 0); in ata_sff_wait_after_reset()
1900 unsigned int dev1 = devmask & (1 << 1); in ata_sff_wait_after_reset()
1954 static int ata_bus_softreset(struct ata_port *ap, unsigned int devmask, in ata_bus_softreset() argument
1972 return ata_sff_wait_after_reset(&ap->link, devmask, deadline); in ata_bus_softreset()
1994 unsigned int devmask = 0; in ata_sff_softreset() local
2002 devmask |= (1 << 0); in ata_sff_softreset()
2004 devmask |= (1 << 1); in ata_sff_softreset()
2010 DPRINTK("about to softreset, devmask=%x\n", devmask); in ata_sff_softreset()
2011 rc = ata_bus_softreset(ap, devmask, deadline); in ata_sff_softreset()
[all …]
Dpata_samsung_cf.c384 unsigned int devmask = 0; in pata_s3c_softreset() local
390 devmask |= (1 << 0); in pata_s3c_softreset()
405 devmask & (1 << 0), &err); in pata_s3c_softreset()
Dsata_rcar.c344 unsigned int devmask = 0; in sata_rcar_softreset() local
350 devmask |= 1 << 0; in sata_rcar_softreset()
353 DPRINTK("about to softreset, devmask=%x\n", devmask); in sata_rcar_softreset()
362 classes[0] = ata_sff_dev_classify(&link->device[0], devmask, &err); in sata_rcar_softreset()
/drivers/macintosh/
Dadb.c128 int devmask = 0; in adb_scan_bus() local
215 devmask |= 1 << i; in adb_scan_bus()
217 return devmask; in adb_scan_bus()
/drivers/usb/gadget/udc/
Dlpc32xx_udc.c757 static inline void uda_enable_devint(struct lpc32xx_udc *udc, u32 devmask) in uda_enable_devint() argument
759 udc->enabled_devints |= devmask; in uda_enable_devint()