Searched refs:devidx (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/scsi/arm/ |
H A D | acornscsi.c | 2646 int asr, ssr, devidx; in acornscsi_host_reset() local 2653 for (devidx = 0; devidx < 9; devidx++) in acornscsi_host_reset() 2654 acornscsi_dumplog(host, devidx); in acornscsi_host_reset() 2702 int devidx; in acornscsi_show_info() local 2736 for (devidx = 0; devidx < 9; devidx ++) { in acornscsi_show_info() 2739 seq_printf(m, "\n%c:", devidx == 8 ? 'H' : ('0' + devidx)); in acornscsi_show_info() 2740 statptr = host->status_ptr[devidx] - 10; in acornscsi_show_info() 2745 prev = host->status[devidx][statptr].when; in acornscsi_show_info() 2747 for (; statptr != host->status_ptr[devidx]; statptr = (statptr + 1) & (STATUS_BUFFER_SIZE - 1)) { in acornscsi_show_info() 2748 if (host->status[devidx][statptr].when) { in acornscsi_show_info() [all …]
|
/linux/drivers/mmc/core/ |
H A D | block.c | 246 int devidx = disk->first_minor / perdev_minors; in mmc_get_devidx() local 247 return devidx; in mmc_get_devidx() 253 int devidx; in mmc_blk_kref_release() local 255 devidx = mmc_get_devidx(md->disk); in mmc_blk_kref_release() 256 ida_free(&mmc_blk_ida, devidx); in mmc_blk_kref_release() 2587 int devidx, ret; in mmc_blk_alloc_req() local 2591 devidx = ida_alloc_max(&mmc_blk_ida, max_devices - 1, GFP_KERNEL); in mmc_blk_alloc_req() 2592 if (devidx < 0) { in mmc_blk_alloc_req() 2600 if (devidx == -ENOSPC) in mmc_blk_alloc_req() 2604 return ERR_PTR(devidx); in mmc_blk_alloc_req() [all …]
|
/linux/drivers/edac/ |
H A D | sb_edac.c | 2951 int devidx; in knl_mci_bind_devs() local 2988 devidx = ((dev-14)*8)+func; in knl_mci_bind_devs() 2990 if (devidx < 0 || devidx >= KNL_MAX_CHAS) { in knl_mci_bind_devs() 2997 WARN_ON(pvt->knl.pci_cha[devidx] != NULL); in knl_mci_bind_devs() 2999 pvt->knl.pci_cha[devidx] = pdev; in knl_mci_bind_devs() 3003 devidx = -1; in knl_mci_bind_devs() 3011 devidx = func-2; in knl_mci_bind_devs() 3013 devidx = 3 + (func-2); in knl_mci_bind_devs() 3015 if (devidx < 0 || devidx >= KNL_MAX_CHANNELS) { in knl_mci_bind_devs() 3022 WARN_ON(pvt->knl.pci_channel[devidx] != NULL); in knl_mci_bind_devs() [all …]
|
/linux/drivers/sbus/char/ |
H A D | bbc_envctrl.c | 571 int devidx = 0; in bbc_envctrl_init() local 573 while ((op = bbc_i2c_getdev(bp, devidx++)) != NULL) { in bbc_envctrl_init()
|