Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/block/
Dps3disk.c384 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()
484 __clear_bit(devidx, &ps3disk_mask); in ps3disk_probe()
/Linux-v5.15/drivers/scsi/arm/
Dacornscsi.c2651 int asr, ssr, devidx; in acornscsi_host_reset() local
2658 for (devidx = 0; devidx < 9; devidx++) in acornscsi_host_reset()
2659 acornscsi_dumplog(host, devidx); in acornscsi_host_reset()
2708 int devidx; in acornscsi_show_info() local
2742 for (devidx = 0; devidx < 9; devidx ++) { in acornscsi_show_info()
2745 seq_printf(m, "\n%c:", devidx == 8 ? 'H' : ('0' + devidx)); in acornscsi_show_info()
2746 statptr = host->status_ptr[devidx] - 10; in acornscsi_show_info()
2751 prev = host->status[devidx][statptr].when; in acornscsi_show_info()
2753 for (; statptr != host->status_ptr[devidx]; statptr = (statptr + 1) & (STATUS_BUFFER_SIZE - 1)) { in acornscsi_show_info()
2754 if (host->status[devidx][statptr].when) { in acornscsi_show_info()
[all …]
/Linux-v5.15/drivers/mmc/core/
Dblock.c197 int devidx = disk->first_minor / perdev_minors; in mmc_get_devidx() local
198 return devidx; in mmc_get_devidx()
204 int devidx; in mmc_blk_kref_release() local
206 devidx = mmc_get_devidx(md->disk); in mmc_blk_kref_release()
207 ida_simple_remove(&mmc_blk_ida, devidx); in mmc_blk_kref_release()
2345 int devidx, ret; in mmc_blk_alloc_req() local
2348 devidx = ida_simple_get(&mmc_blk_ida, 0, max_devices, GFP_KERNEL); in mmc_blk_alloc_req()
2349 if (devidx < 0) { in mmc_blk_alloc_req()
2357 if (devidx == -ENOSPC) in mmc_blk_alloc_req()
2361 return ERR_PTR(devidx); in mmc_blk_alloc_req()
[all …]
/Linux-v5.15/drivers/platform/chrome/
Dcros_ec_proto.c263 int devidx, in cros_ec_host_command_proto_query() argument
278 msg->command = EC_CMD_PASSTHRU_OFFSET(devidx) | EC_CMD_GET_PROTOCOL_INFO; in cros_ec_host_command_proto_query()
295 devidx, ret); in cros_ec_host_command_proto_query()
299 if (devidx > 0 && msg->result == EC_RES_INVALID_COMMAND) in cros_ec_host_command_proto_query()
/Linux-v5.15/drivers/edac/
Dsb_edac.c2820 int devidx; in knl_mci_bind_devs() local
2857 devidx = ((dev-14)*8)+func; in knl_mci_bind_devs()
2859 if (devidx < 0 || devidx >= KNL_MAX_CHAS) { in knl_mci_bind_devs()
2866 WARN_ON(pvt->knl.pci_cha[devidx] != NULL); in knl_mci_bind_devs()
2868 pvt->knl.pci_cha[devidx] = pdev; in knl_mci_bind_devs()
2872 devidx = -1; in knl_mci_bind_devs()
2880 devidx = func-2; in knl_mci_bind_devs()
2882 devidx = 3 + (func-2); in knl_mci_bind_devs()
2884 if (devidx < 0 || devidx >= KNL_MAX_CHANNELS) { in knl_mci_bind_devs()
2891 WARN_ON(pvt->knl.pci_channel[devidx] != NULL); in knl_mci_bind_devs()
[all …]
/Linux-v5.15/drivers/sbus/char/
Dbbc_envctrl.c571 int devidx = 0; in bbc_envctrl_init() local
573 while ((op = bbc_i2c_getdev(bp, devidx++)) != NULL) { in bbc_envctrl_init()
/Linux-v5.15/fs/f2fs/
Dcheckpoint.c466 unsigned int devidx, int type) in __add_ino_entry() argument
504 f2fs_set_bit(devidx, (char *)&e->dirty_device); in __add_ino_entry()
575 unsigned int devidx, int type) in f2fs_set_dirty_device() argument
577 __add_ino_entry(sbi, ino, devidx, type); in f2fs_set_dirty_device()
581 unsigned int devidx, int type) in f2fs_is_dirty_device() argument
589 if (e && f2fs_test_bit(devidx, (char *)&e->dirty_device)) in f2fs_is_dirty_device()
Dsegment.c3491 unsigned int devidx; in update_device_state() local
3496 devidx = f2fs_target_device_index(sbi, fio->new_blkaddr); in update_device_state()
3499 f2fs_set_dirty_device(sbi, fio->ino, devidx, FLUSH_INO); in update_device_state()
3502 if (!f2fs_test_bit(devidx, (char *)&sbi->dirty_device)) { in update_device_state()
3504 f2fs_set_bit(devidx, (char *)&sbi->dirty_device); in update_device_state()
Df2fs.h3539 unsigned int devidx, int type);
3541 unsigned int devidx, int type);