Searched refs:devmask (Results 1 – 8 of 8) sorted by relevance
/drivers/ata/ |
D | pata_scc.c | 514 static int scc_wait_after_reset(struct ata_link *link, unsigned int devmask, in scc_wait_after_reset() argument 519 unsigned int dev0 = devmask & (1 << 0); in scc_wait_after_reset() 520 unsigned int dev1 = devmask & (1 << 1); in scc_wait_after_reset() 589 static unsigned int scc_bus_softreset(struct ata_port *ap, unsigned int devmask, in scc_bus_softreset() argument 603 scc_wait_after_reset(&ap->link, devmask, deadline); in scc_bus_softreset() 622 unsigned int devmask = 0, err_mask; in scc_softreset() local 629 devmask |= (1 << 0); in scc_softreset() 631 devmask |= (1 << 1); in scc_softreset() 637 DPRINTK("about to softreset, devmask=%x\n", devmask); in scc_softreset() 638 err_mask = scc_bus_softreset(ap, devmask, deadline); in scc_softreset() [all …]
|
D | pata_ep93xx.c | 548 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 …]
|
D | pata_bf54x.c | 997 static void bfin_bus_post_reset(struct ata_port *ap, unsigned int devmask) in bfin_bus_post_reset() argument 1000 unsigned int dev0 = devmask & (1 << 0); in bfin_bus_post_reset() 1001 unsigned int dev1 = devmask & (1 << 1); in bfin_bus_post_reset() 1046 unsigned int devmask) in bfin_bus_softreset() argument 1076 bfin_bus_post_reset(ap, devmask); in bfin_bus_softreset() 1094 unsigned int devmask = 0, err_mask; in bfin_softreset() local 1099 devmask |= (1 << 0); in bfin_softreset() 1101 devmask |= (1 << 1); in bfin_softreset() 1107 err_mask = bfin_bus_softreset(ap, devmask); in bfin_softreset() 1116 devmask & (1 << 0), &err); in bfin_softreset() [all …]
|
D | libata-sff.c | 1944 int ata_sff_wait_after_reset(struct ata_link *link, unsigned int devmask, in ata_sff_wait_after_reset() argument 1949 unsigned int dev0 = devmask & (1 << 0); in ata_sff_wait_after_reset() 1950 unsigned int dev1 = devmask & (1 << 1); in ata_sff_wait_after_reset() 2004 static int ata_bus_softreset(struct ata_port *ap, unsigned int devmask, in ata_bus_softreset() argument 2020 return ata_sff_wait_after_reset(&ap->link, devmask, deadline); in ata_bus_softreset() 2042 unsigned int devmask = 0; in ata_sff_softreset() local 2050 devmask |= (1 << 0); in ata_sff_softreset() 2052 devmask |= (1 << 1); in ata_sff_softreset() 2058 DPRINTK("about to softreset, devmask=%x\n", devmask); in ata_sff_softreset() 2059 rc = ata_bus_softreset(ap, devmask, deadline); in ata_sff_softreset() [all …]
|
D | sata_rcar.c | 289 unsigned int devmask = 0; in sata_rcar_softreset() local 295 devmask |= 1 << 0; in sata_rcar_softreset() 298 DPRINTK("about to softreset, devmask=%x\n", devmask); in sata_rcar_softreset() 307 classes[0] = ata_sff_dev_classify(&link->device[0], devmask, &err); in sata_rcar_softreset()
|
D | pata_samsung_cf.c | 364 unsigned int devmask = 0; in pata_s3c_softreset() local 370 devmask |= (1 << 0); in pata_s3c_softreset() 385 devmask & (1 << 0), &err); in pata_s3c_softreset()
|
/drivers/macintosh/ |
D | adb.c | 131 int devmask = 0; in adb_scan_bus() local 219 devmask |= 1 << i; in adb_scan_bus() 222 return devmask; in adb_scan_bus()
|
/drivers/usb/gadget/ |
D | lpc32xx_udc.c | 802 static inline void uda_enable_devint(struct lpc32xx_udc *udc, u32 devmask) in uda_enable_devint() argument 804 udc->enabled_devints |= devmask; in uda_enable_devint()
|