Home
last modified time | relevance | path

Searched refs:devindex (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/s390/block/
H A Ddasd_genhd.c48 if (base->devindex >= DASD_PER_MAJOR) in dasd_gendisk_alloc()
69 gdp->first_minor = base->devindex << DASD_PARTN_BITS; in dasd_gendisk_alloc()
81 if (base->devindex > 25) { in dasd_gendisk_alloc()
82 if (base->devindex > 701) { in dasd_gendisk_alloc()
83 if (base->devindex > 18277) in dasd_gendisk_alloc()
85 'a'+(((base->devindex-18278) in dasd_gendisk_alloc()
88 'a'+(((base->devindex-702)/676)%26)); in dasd_gendisk_alloc()
91 'a'+(((base->devindex-26)/26)%26)); in dasd_gendisk_alloc()
93 len += sprintf(gdp->disk_name + len, "%c", 'a'+(base->devindex%26)); in dasd_gendisk_alloc()
H A Dscm_blk.c438 unsigned int devindex, nr_max_blk; in scm_blk_dev_setup() local
442 devindex = atomic_inc_return(&nr_devices) - 1; in scm_blk_dev_setup()
444 if (devindex > 701) { in scm_blk_dev_setup()
483 bdev->gendisk->first_minor = devindex * SCM_NR_PARTS; in scm_blk_dev_setup()
487 if (devindex > 25) { in scm_blk_dev_setup()
490 'a' + (devindex / 26) - 1); in scm_blk_dev_setup()
491 devindex = devindex % 26; in scm_blk_dev_setup()
494 'a' + devindex); in scm_blk_dev_setup()
H A Ddasd_devmap.c49 unsigned int devindex; member
429 new->devindex = dasd_max_devindex++; in dasd_add_busid()
507 dasd_device_from_devindex(int devindex) in dasd_device_from_devindex() argument
517 if (tmp->devindex == devindex) { in dasd_device_from_devindex()
570 device->devindex = devmap->devindex; in dasd_create_device()
H A Ddasd_int.h581 unsigned int devindex; member
/openbmc/u-boot/arch/x86/lib/
H A Dbios_interrupts.c109 short devindex; in int1a_handler() local
134 devindex = M.x86.R_ESI; in int1a_handler()
136 ret = dm_pci_find_device(vendorid, devid, devindex, &dev); in int1a_handler()
/openbmc/u-boot/drivers/qe/
H A Duec.c628 int devindex = 0; in uec_miiphy_read() local
633 devindex = uec_miiphy_find_dev_by_name(bus->name); in uec_miiphy_read()
634 if (devindex >= 0) { in uec_miiphy_read()
635 value = uec_read_phy_reg(devlist[devindex], addr, reg); in uec_miiphy_read()
650 int devindex = 0; in uec_miiphy_write() local
655 devindex = uec_miiphy_find_dev_by_name(bus->name); in uec_miiphy_write()
656 if (devindex >= 0) { in uec_miiphy_write()
657 uec_write_phy_reg(devlist[devindex], addr, reg, value); in uec_miiphy_write()
/openbmc/linux/drivers/s390/char/
H A Dtape.h272 extern struct tape_device *tape_find_device(int devindex);
H A Dtape_core.c545 tape_find_device(int devindex) in tape_find_device() argument
552 if (tmp->first_minor / TAPE_MINORS_PER_DEV == devindex) { in tape_find_device()