/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/mc/ |
D | base.c | 38 nvkm_mc_intr_mask(struct nvkm_device *device, enum nvkm_devidx devidx, bool en) in nvkm_mc_intr_mask() argument 43 u32 mask = nvkm_top_intr_mask(device, devidx); in nvkm_mc_intr_mask() 45 if (map->unit == devidx) in nvkm_mc_intr_mask() 118 enum nvkm_devidx devidx) in nvkm_mc_reset_mask() argument 124 if (!(pmc_enable = nvkm_top_reset(device, devidx))) { in nvkm_mc_reset_mask() 127 if (map->unit == devidx) { in nvkm_mc_reset_mask() 139 nvkm_mc_reset(struct nvkm_device *device, enum nvkm_devidx devidx) in nvkm_mc_reset() argument 141 u64 pmc_enable = nvkm_mc_reset_mask(device, true, devidx); in nvkm_mc_reset() 150 nvkm_mc_disable(struct nvkm_device *device, enum nvkm_devidx devidx) in nvkm_mc_disable() argument 152 u64 pmc_enable = nvkm_mc_reset_mask(device, false, devidx); in nvkm_mc_disable() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/top/ |
D | base.c | 76 nvkm_top_intr_mask(struct nvkm_device *device, enum nvkm_devidx devidx) in nvkm_top_intr_mask() argument 83 if (info->index == devidx && info->intr >= 0) in nvkm_top_intr_mask() 115 nvkm_top_fault_id(struct nvkm_device *device, enum nvkm_devidx devidx) in nvkm_top_fault_id() argument 121 if (info->index == devidx && info->fault >= 0) in nvkm_top_fault_id()
|
/kernel/linux/linux-5.10/drivers/block/ |
D | ps3disk.c | 399 unsigned int devidx; in ps3disk_probe() local 412 devidx = find_first_zero_bit(&ps3disk_mask, PS3DISK_MAX_DISKS); in ps3disk_probe() 413 if (devidx >= PS3DISK_MAX_DISKS) { in ps3disk_probe() 419 __set_bit(devidx, &ps3disk_mask); in ps3disk_probe() 475 gendisk->first_minor = devidx * PS3DISK_MINORS; in ps3disk_probe() 480 devidx+'a'); in ps3disk_probe() 505 __clear_bit(devidx, &ps3disk_mask); in ps3disk_probe()
|
/kernel/linux/linux-5.10/drivers/scsi/arm/ |
D | acornscsi.c | 2734 int asr, ssr, devidx; in acornscsi_host_reset() local 2741 for (devidx = 0; devidx < 9; devidx++) in acornscsi_host_reset() 2742 acornscsi_dumplog(host, devidx); in acornscsi_host_reset() 2794 int devidx; in acornscsi_show_info() local 2831 for (devidx = 0; devidx < 9; devidx ++) { in acornscsi_show_info() 2834 seq_printf(m, "\n%c:", devidx == 8 ? 'H' : ('0' + devidx)); in acornscsi_show_info() 2835 statptr = host->status_ptr[devidx] - 10; in acornscsi_show_info() 2840 prev = host->status[devidx][statptr].when; in acornscsi_show_info() 2842 for (; statptr != host->status_ptr[devidx]; statptr = (statptr + 1) & (STATUS_BUFFER_SIZE - 1)) { in acornscsi_show_info() 2843 if (host->status[devidx][statptr].when) { in acornscsi_show_info() [all …]
|
/kernel/linux/linux-5.10/drivers/mmc/core/ |
D | block.c | 193 int devidx = disk->first_minor / perdev_minors; in mmc_get_devidx() local 194 return devidx; in mmc_get_devidx() 202 int devidx = mmc_get_devidx(md->disk); in mmc_blk_put() local 204 ida_simple_remove(&mmc_blk_ida, devidx); in mmc_blk_put() 2283 int devidx, ret; in mmc_blk_alloc_req() local 2285 devidx = ida_simple_get(&mmc_blk_ida, 0, max_devices, GFP_KERNEL); in mmc_blk_alloc_req() 2286 if (devidx < 0) { in mmc_blk_alloc_req() 2294 if (devidx == -ENOSPC) in mmc_blk_alloc_req() 2298 return ERR_PTR(devidx); in mmc_blk_alloc_req() 2344 md->disk->first_minor = devidx * perdev_minors; in mmc_blk_alloc_req() [all …]
|
/kernel/linux/linux-5.10/drivers/platform/chrome/ |
D | cros_ec_proto.c | 263 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()
|
/kernel/linux/linux-5.10/drivers/edac/ |
D | sb_edac.c | 2820 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 …]
|
/kernel/linux/linux-5.10/fs/f2fs/ |
D | checkpoint.c | 464 unsigned int devidx, int type) in __add_ino_entry() argument 489 f2fs_set_bit(devidx, (char *)&e->dirty_device); in __add_ino_entry() 560 unsigned int devidx, int type) in f2fs_set_dirty_device() argument 562 __add_ino_entry(sbi, ino, devidx, type); in f2fs_set_dirty_device() 566 unsigned int devidx, int type) in f2fs_is_dirty_device() argument 574 if (e && f2fs_test_bit(devidx, (char *)&e->dirty_device)) in f2fs_is_dirty_device()
|
D | segment.c | 3603 unsigned int devidx; in update_device_state() local 3608 devidx = f2fs_target_device_index(sbi, fio->new_blkaddr); in update_device_state() 3611 f2fs_set_dirty_device(sbi, fio->ino, devidx, FLUSH_INO); in update_device_state() 3614 if (!f2fs_test_bit(devidx, (char *)&sbi->dirty_device)) { in update_device_state() 3616 f2fs_set_bit(devidx, (char *)&sbi->dirty_device); in update_device_state()
|
D | f2fs.h | 3429 unsigned int devidx, int type); 3431 unsigned int devidx, int type);
|
/kernel/linux/linux-5.10/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()
|