Home
last modified time | relevance | path

Searched refs:devidx (Results 1 – 4 of 4) sorted by relevance

/drivers/mmc/card/
Dblock.c88 int devidx = MINOR(disk_devt(md->disk)) >> MMC_SHIFT; in mmc_blk_put() local
89 __clear_bit(devidx, dev_use); in mmc_blk_put()
511 int devidx, ret; in mmc_blk_alloc() local
513 devidx = find_first_zero_bit(dev_use, MMC_NUM_MINORS); in mmc_blk_alloc()
514 if (devidx >= MMC_NUM_MINORS) in mmc_blk_alloc()
516 __set_bit(devidx, dev_use); in mmc_blk_alloc()
548 md->disk->first_minor = devidx << MMC_SHIFT; in mmc_blk_alloc()
566 sprintf(md->disk->disk_name, "mmcblk%d", devidx); in mmc_blk_alloc()
/drivers/block/
Dps3disk.c423 unsigned int devidx; in ps3disk_probe() local
436 devidx = find_first_zero_bit(&ps3disk_mask, PS3DISK_MAX_DISKS); in ps3disk_probe()
437 if (devidx >= PS3DISK_MAX_DISKS) { in ps3disk_probe()
443 __set_bit(devidx, &ps3disk_mask); in ps3disk_probe()
503 gendisk->first_minor = devidx * PS3DISK_MINORS; in ps3disk_probe()
509 devidx+'a'); in ps3disk_probe()
533 __clear_bit(devidx, &ps3disk_mask); in ps3disk_probe()
/drivers/scsi/arm/
Dacornscsi.c2841 int pos, begin = 0, devidx; in acornscsi_proc_info() local
2885 for (devidx = 0; devidx < 9; devidx ++) { in acornscsi_proc_info()
2888 p += sprintf(p, "\n%c:", devidx == 8 ? 'H' : ('0' + devidx)); in acornscsi_proc_info()
2889 statptr = host->status_ptr[devidx] - 10; in acornscsi_proc_info()
2894 prev = host->status[devidx][statptr].when; in acornscsi_proc_info()
2896 for (; statptr != host->status_ptr[devidx]; statptr = (statptr + 1) & (STATUS_BUFFER_SIZE - 1)) { in acornscsi_proc_info()
2897 if (host->status[devidx][statptr].when) { in acornscsi_proc_info()
2899 host->status[devidx][statptr].irq ? '-' : ' ', in acornscsi_proc_info()
2900 host->status[devidx][statptr].ph, in acornscsi_proc_info()
2901 host->status[devidx][statptr].ssr, in acornscsi_proc_info()
[all …]
/drivers/sbus/char/
Dbbc_envctrl.c530 int devidx = 0; in bbc_envctrl_init() local
532 while ((op = bbc_i2c_getdev(bp, devidx++)) != NULL) { in bbc_envctrl_init()