Searched refs:devindex (Results 1 - 7 of 7) sorted by relevance

/linux-4.1.27/drivers/s390/block/
H A Ddasd_genhd.c37 if (base->devindex >= DASD_PER_MAJOR) dasd_gendisk_alloc()
46 gdp->first_minor = base->devindex << DASD_PARTN_BITS; dasd_gendisk_alloc()
58 if (base->devindex > 25) { dasd_gendisk_alloc()
59 if (base->devindex > 701) { dasd_gendisk_alloc()
60 if (base->devindex > 18277) dasd_gendisk_alloc()
62 'a'+(((base->devindex-18278) dasd_gendisk_alloc()
65 'a'+(((base->devindex-702)/676)%26)); dasd_gendisk_alloc()
68 'a'+(((base->devindex-26)/26)%26)); dasd_gendisk_alloc()
70 len += sprintf(gdp->disk_name + len, "%c", 'a'+(base->devindex%26)); dasd_gendisk_alloc()
H A Dscm_blk.c476 unsigned int devindex, nr_max_blk; scm_blk_dev_setup() local
478 devindex = atomic_inc_return(&nr_devices) - 1; scm_blk_dev_setup()
480 if (devindex > 701) { scm_blk_dev_setup()
520 bdev->gendisk->first_minor = devindex * SCM_NR_PARTS; scm_blk_dev_setup()
523 if (devindex > 25) { scm_blk_dev_setup()
526 'a' + (devindex / 26) - 1); scm_blk_dev_setup()
527 devindex = devindex % 26; scm_blk_dev_setup()
530 'a' + devindex); scm_blk_dev_setup()
H A Ddasd_devmap.c48 unsigned int devindex; member in struct:dasd_devmap
426 new->devindex = dasd_max_devindex++; dasd_add_busid()
495 dasd_device_from_devindex(int devindex) dasd_device_from_devindex() argument
505 if (tmp->devindex == devindex) { dasd_device_from_devindex()
558 device->devindex = devmap->devindex; dasd_create_device()
H A Ddasd_int.h431 unsigned int devindex; member in struct:dasd_device
/linux-4.1.27/drivers/s390/char/
H A Dtape.h274 extern struct tape_device *tape_find_device(int devindex);
H A Dtape_core.c594 tape_find_device(int devindex) tape_find_device() argument
601 if (tmp->first_minor / TAPE_MINORS_PER_DEV == devindex) { tape_find_device()
/linux-4.1.27/drivers/net/wireless/prism54/
H A Disl_ioctl.c1162 u32 devindex, index = (dwrq->flags & IW_ENCODE_INDEX) - 1; prism54_get_encode() local
1188 devindex = r.u; prism54_get_encode()
1192 index = devindex; prism54_get_encode()
1199 dwrq->flags |= devindex + 1; prism54_get_encode()

Completed in 313 milliseconds