Home
last modified time | relevance | path

Searched refs:dev0 (Results 1 – 7 of 7) sorted by relevance

/drivers/md/
Dlinear.c68 struct dev_info *dev0; in linear_mergeable_bvec() local
75 dev0 = which_dev(mddev, sector); in linear_mergeable_bvec()
76 maxsectors = dev0->end_sector - sector; in linear_mergeable_bvec()
77 subq = bdev_get_queue(dev0->rdev->bdev); in linear_mergeable_bvec()
79 bvm->bi_bdev = dev0->rdev->bdev; in linear_mergeable_bvec()
80 bvm->bi_sector -= dev0->end_sector - dev0->rdev->sectors; in linear_mergeable_bvec()
/drivers/ide/
Dide-probe.c651 ide_drive_t *dev0 = dev1->hwif->devices[0]; in ide_undecoded_slave() local
653 if ((dev1->dn & 1) == 0 || (dev0->dev_flags & IDE_DFLAG_PRESENT) == 0) in ide_undecoded_slave()
657 if (strcmp((char *)&dev0->id[ATA_ID_PROD], in ide_undecoded_slave()
662 if (strncmp((char *)&dev0->id[ATA_ID_SERNO], in ide_undecoded_slave()
667 if (*(char *)&dev0->id[ATA_ID_SERNO] == 0) in ide_undecoded_slave()
/drivers/ata/
Dpata_bf54x.c1000 unsigned int dev0 = devmask & (1 << 0); in bfin_bus_post_reset() local
1007 if (dev0) in bfin_bus_post_reset()
1035 if (dev0) in bfin_bus_post_reset()
Dpata_ep93xx.c553 unsigned int dev0 = devmask & (1 << 0); in ep93xx_pata_wait_after_reset() local
605 if (dev0) in ep93xx_pata_wait_after_reset()
Dpata_scc.c519 unsigned int dev0 = devmask & (1 << 0); in scc_wait_after_reset() local
577 if (dev0) in scc_wait_after_reset()
Dlibata-sff.c1949 unsigned int dev0 = devmask & (1 << 0); in ata_sff_wait_after_reset() local
1997 if (dev0) in ata_sff_wait_after_reset()
/drivers/net/ethernet/marvell/
Dskge.c4015 struct net_device *dev0, *dev1; in skge_remove() local
4023 dev0 = hw->dev[0]; in skge_remove()
4024 unregister_netdev(dev0); in skge_remove()
4047 free_netdev(dev0); in skge_remove()