/linux-6.1.9/drivers/block/ |
D | ps3disk.c | 384 unsigned int devidx; in ps3disk_probe() local 397 devidx = find_first_zero_bit(&ps3disk_mask, PS3DISK_MAX_DISKS); in ps3disk_probe() 398 if (devidx >= PS3DISK_MAX_DISKS) { in ps3disk_probe() 404 __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()
|
/linux-6.1.9/drivers/scsi/arm/ |
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() 2703 int devidx; in acornscsi_show_info() local 2737 for (devidx = 0; devidx < 9; devidx ++) { in acornscsi_show_info() 2740 seq_printf(m, "\n%c:", devidx == 8 ? 'H' : ('0' + devidx)); in acornscsi_show_info() 2741 statptr = host->status_ptr[devidx] - 10; in acornscsi_show_info() 2746 prev = host->status[devidx][statptr].when; in acornscsi_show_info() 2748 for (; statptr != host->status_ptr[devidx]; statptr = (statptr + 1) & (STATUS_BUFFER_SIZE - 1)) { in acornscsi_show_info() 2749 if (host->status[devidx][statptr].when) { in acornscsi_show_info() [all …]
|
/linux-6.1.9/drivers/platform/chrome/ |
D | cros_ec_proto.c | 291 static int cros_ec_get_proto_info(struct cros_ec_device *ec_dev, int devidx) in cros_ec_get_proto_info() argument 298 if (devidx > 0) in cros_ec_get_proto_info() 305 msg->command = EC_CMD_PASSTHRU_OFFSET(devidx) | EC_CMD_GET_PROTOCOL_INFO; in cros_ec_get_proto_info() 322 devidx, ret); in cros_ec_get_proto_info() 339 switch (devidx) { in cros_ec_get_proto_info() 359 dev_dbg(ec_dev->dev, "unknown passthru index: %d\n", devidx); in cros_ec_get_proto_info()
|
/linux-6.1.9/drivers/mmc/core/ |
D | block.c | 199 int devidx = disk->first_minor / perdev_minors; in mmc_get_devidx() local 200 return devidx; in mmc_get_devidx() 206 int devidx; in mmc_blk_kref_release() local 208 devidx = mmc_get_devidx(md->disk); in mmc_blk_kref_release() 209 ida_simple_remove(&mmc_blk_ida, devidx); in mmc_blk_kref_release() 2414 int devidx, ret; in mmc_blk_alloc_req() local 2419 devidx = ida_simple_get(&mmc_blk_ida, 0, max_devices, GFP_KERNEL); in mmc_blk_alloc_req() 2420 if (devidx < 0) { in mmc_blk_alloc_req() 2428 if (devidx == -ENOSPC) in mmc_blk_alloc_req() 2432 return ERR_PTR(devidx); in mmc_blk_alloc_req() [all …]
|
/linux-6.1.9/drivers/edac/ |
D | sb_edac.c | 2949 int devidx; in knl_mci_bind_devs() local 2986 devidx = ((dev-14)*8)+func; in knl_mci_bind_devs() 2988 if (devidx < 0 || devidx >= KNL_MAX_CHAS) { in knl_mci_bind_devs() 2995 WARN_ON(pvt->knl.pci_cha[devidx] != NULL); in knl_mci_bind_devs() 2997 pvt->knl.pci_cha[devidx] = pdev; in knl_mci_bind_devs() 3001 devidx = -1; in knl_mci_bind_devs() 3009 devidx = func-2; in knl_mci_bind_devs() 3011 devidx = 3 + (func-2); in knl_mci_bind_devs() 3013 if (devidx < 0 || devidx >= KNL_MAX_CHANNELS) { in knl_mci_bind_devs() 3020 WARN_ON(pvt->knl.pci_channel[devidx] != NULL); in knl_mci_bind_devs() [all …]
|
/linux-6.1.9/drivers/sbus/char/ |
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()
|
/linux-6.1.9/fs/f2fs/ |
D | checkpoint.c | 482 unsigned int devidx, int type) in __add_ino_entry() argument 520 f2fs_set_bit(devidx, (char *)&e->dirty_device); in __add_ino_entry() 591 unsigned int devidx, int type) in f2fs_set_dirty_device() argument 593 __add_ino_entry(sbi, ino, devidx, type); in f2fs_set_dirty_device() 597 unsigned int devidx, int type) in f2fs_is_dirty_device() argument 605 if (e && f2fs_test_bit(devidx, (char *)&e->dirty_device)) in f2fs_is_dirty_device()
|
D | segment.c | 3319 unsigned int devidx = f2fs_target_device_index(sbi, blkaddr); in f2fs_update_device_state() local 3320 unsigned int blks = FDEV(devidx).end_blk - blkaddr + 1; in f2fs_update_device_state() 3323 f2fs_set_dirty_device(sbi, ino, devidx, FLUSH_INO); in f2fs_update_device_state() 3326 if (!f2fs_test_bit(devidx, (char *)&sbi->dirty_device)) { in f2fs_update_device_state() 3328 f2fs_set_bit(devidx, (char *)&sbi->dirty_device); in f2fs_update_device_state()
|
D | f2fs.h | 3744 unsigned int devidx, int type); 3746 unsigned int devidx, int type);
|