Searched refs:devidx (Results 1 – 4 of 4) sorted by relevance
388 unsigned int devidx; in ps3disk_probe() local409 devidx = find_first_zero_bit(&ps3disk_mask, PS3DISK_MAX_DISKS); in ps3disk_probe()410 if (devidx >= PS3DISK_MAX_DISKS) { in ps3disk_probe()416 __set_bit(devidx, &ps3disk_mask); in ps3disk_probe()455 gendisk->first_minor = devidx * PS3DISK_MINORS; in ps3disk_probe()460 devidx+'a'); in ps3disk_probe()488 __clear_bit(devidx, &ps3disk_mask); in ps3disk_probe()
208 int devidx = disk->first_minor / perdev_minors; in mmc_get_devidx() local209 return devidx; in mmc_get_devidx()215 int devidx; in mmc_blk_kref_release() local217 devidx = mmc_get_devidx(md->disk); in mmc_blk_kref_release()218 ida_free(&mmc_blk_ida, devidx); in mmc_blk_kref_release()2545 int devidx, ret; in mmc_blk_alloc_req() local2549 devidx = ida_alloc_max(&mmc_blk_ida, max_devices - 1, GFP_KERNEL); in mmc_blk_alloc_req()2550 if (devidx < 0) { in mmc_blk_alloc_req()2558 if (devidx == -ENOSPC) in mmc_blk_alloc_req()2562 return ERR_PTR(devidx); in mmc_blk_alloc_req()[all …]
2950 int devidx; in knl_mci_bind_devs() local2987 devidx = ((dev-14)*8)+func; in knl_mci_bind_devs()2989 if (devidx < 0 || devidx >= KNL_MAX_CHAS) { in knl_mci_bind_devs()2996 WARN_ON(pvt->knl.pci_cha[devidx] != NULL); in knl_mci_bind_devs()2998 pvt->knl.pci_cha[devidx] = pdev; in knl_mci_bind_devs()3002 devidx = -1; in knl_mci_bind_devs()3010 devidx = func-2; in knl_mci_bind_devs()3012 devidx = 3 + (func-2); in knl_mci_bind_devs()3014 if (devidx < 0 || devidx >= KNL_MAX_CHANNELS) { in knl_mci_bind_devs()3021 WARN_ON(pvt->knl.pci_channel[devidx] != NULL); in knl_mci_bind_devs()[all …]
571 int devidx = 0; in bbc_envctrl_init() local573 while ((op = bbc_i2c_getdev(bp, devidx++)) != NULL) { in bbc_envctrl_init()