/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | shadowramin.c | 33 struct nvkm_device *device = bios->subdev.device; in pramin_read() local 48 struct nvkm_device *device = priv->bios->subdev.device; in pramin_fini() local 58 struct nvkm_device *device = subdev->device; in pramin_init() local 63 if (device->card_type < NV_50) in pramin_init() 67 if (device->card_type >= GA100) in pramin_init() 70 if (device->card_type >= GM100) in pramin_init() 71 addr = nvkm_rd32(device, 0x021c04); in pramin_init() 73 if (device->card_type >= NV_C0) in pramin_init() 74 addr = nvkm_rd32(device, 0x022500); in pramin_init() 84 if (device->card_type >= GV100) in pramin_init() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | nv44.c | 34 struct nvkm_device *device = gr->base.engine.subdev.device; in nv44_gr_tile() local 35 struct nvkm_fifo *fifo = device->fifo; in nv44_gr_tile() 41 switch (device->chipset) { in nv44_gr_tile() 44 nvkm_wr32(device, NV20_PGRAPH_TSIZE(i), tile->pitch); in nv44_gr_tile() 46 nvkm_wr32(device, NV20_PGRAPH_TILE(i), tile->addr); in nv44_gr_tile() 53 nvkm_wr32(device, NV47_PGRAPH_TSIZE(i), tile->pitch); in nv44_gr_tile() 55 nvkm_wr32(device, NV47_PGRAPH_TILE(i), tile->addr); in nv44_gr_tile() 58 nvkm_wr32(device, NV40_PGRAPH_TILE1(i), tile->addr); in nv44_gr_tile() 61 nvkm_wr32(device, NV20_PGRAPH_TSIZE(i), tile->pitch); in nv44_gr_tile() 63 nvkm_wr32(device, NV20_PGRAPH_TILE(i), tile->addr); in nv44_gr_tile() [all …]
|
H A D | ctxgv100.c | 117 struct nvkm_device *device = gr->base.engine.subdev.device; in gv100_grctx_generate_rop_mapping() local 155 struct nvkm_device *device = gr->base.engine.subdev.device; in gv100_grctx_generate_r400088() local 162 struct nvkm_device *device = gr->base.engine.subdev.device; in gv100_grctx_generate_sm_id() local 174 struct nvkm_device *device = gr->base.engine.subdev.device; in gv100_grctx_generate_unkn() local 185 struct nvkm_device *device = gr->base.engine.subdev.device; in gv100_grctx_unkn88c() local 187 nvkm_mask(device, 0x40988c, mask, data); in gv100_grctx_unkn88c() 188 nvkm_rd32(device, 0x40988c); in gv100_grctx_unkn88c() 189 nvkm_mask(device, 0x41a88c, mask, data); in gv100_grctx_unkn88c() 190 nvkm_rd32(device, 0x41a88c); in gv100_grctx_unkn88c() 191 nvkm_mask(device, 0x408a14, mask, data); in gv100_grctx_unkn88c() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
H A D | gf100.c | 35 struct nvkm_device *device = subdev->device; in gf100_devinit_pll_set() local 40 ret = nvbios_pll_parse(device->bios, type, &info); in gf100_devinit_pll_set() 55 nvkm_wr32(device, info.reg + 0x10, fN << 16); in gf100_devinit_pll_set() 69 struct nvkm_device *device = init->subdev.device; in gf100_devinit_disable() local 70 u32 r022500 = nvkm_rd32(device, 0x022500); in gf100_devinit_disable() 73 nvkm_subdev_disable(device, NVKM_ENGINE_DISP, 0); in gf100_devinit_disable() 77 nvkm_subdev_disable(device, NVKM_ENGINE_MSPPP, 0); in gf100_devinit_disable() 81 nvkm_subdev_disable(device, NVKM_ENGINE_MSVLD, 0); in gf100_devinit_disable() 85 nvkm_subdev_disable(device, NVKM_ENGINE_CE, 0); in gf100_devinit_disable() 87 nvkm_subdev_disable(device, NVKM_ENGINE_CE, 1); in gf100_devinit_disable() [all …]
|
H A D | nv50.c | 38 struct nvkm_device *device = subdev->device; in nv50_devinit_pll_set() local 39 struct nvkm_bios *bios = device->bios; in nv50_devinit_pll_set() 65 nvkm_mask(device, info.reg + 0, 0x01ff0000, in nv50_devinit_pll_set() 83 struct nvkm_device *device = init->subdev.device; in nv50_devinit_disable() local 84 u32 r001540 = nvkm_rd32(device, 0x001540); in nv50_devinit_disable() 94 struct nvkm_device *device = subdev->device; in nv50_devinit_preinit() local 102 if (!device->disp) in nv50_devinit_preinit() 110 if (!nvkm_rdvgac(device, 0, 0x00) && in nv50_devinit_preinit() 111 !nvkm_rdvgac(device, 0, 0x1a)) { in nv50_devinit_preinit() 123 struct nvkm_device *device = subdev->device; in nv50_devinit_init() local [all …]
|
H A D | gt215.c | 35 struct nvkm_device *device = subdev->device; in gt215_devinit_pll_set() local 40 ret = nvbios_pll_parse(device->bios, type, &info); in gt215_devinit_pll_set() 51 nvkm_wr32(device, info.reg + 0, 0x50000610); in gt215_devinit_pll_set() 52 nvkm_mask(device, info.reg + 4, 0x003fffff, in gt215_devinit_pll_set() 54 nvkm_wr32(device, info.reg + 8, fN); in gt215_devinit_pll_set() 68 struct nvkm_device *device = init->subdev.device; in gt215_devinit_disable() local 69 u32 r001540 = nvkm_rd32(device, 0x001540); in gt215_devinit_disable() 70 u32 r00154c = nvkm_rd32(device, 0x00154c); in gt215_devinit_disable() 82 nvkm_subdev_disable(device, NVKM_ENGINE_CE, 0); in gt215_devinit_disable() 102 struct nvkm_device *device = init->base.subdev.device; in gt215_devinit_mmio() local [all …]
|
/openbmc/linux/drivers/misc/mei/ |
H A D | gsc-me.c | 52 struct device *device; in mei_gsc_probe() local 60 device = &aux_dev->dev; in mei_gsc_probe() 78 dev_set_drvdata(device, dev); in mei_gsc_probe() 110 pm_runtime_set_active(device); in mei_gsc_probe() 111 pm_runtime_enable(device); in mei_gsc_probe() 127 pm_runtime_put_noidle(device); in mei_gsc_probe() 167 static int __maybe_unused mei_gsc_pm_suspend(struct device *device) in mei_gsc_pm_suspend() argument 181 static int __maybe_unused mei_gsc_pm_resume(struct device *device) in mei_gsc_pm_resume() argument 210 static int __maybe_unused mei_gsc_pm_runtime_idle(struct device *device) in mei_gsc_pm_runtime_idle() argument 222 static int __maybe_unused mei_gsc_pm_runtime_suspend(struct device *device) in mei_gsc_pm_runtime_suspend() argument [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | hw.h | 62 struct nvif_object *device = &nouveau_drm(dev)->client.device.object; in NVReadCRTC() local 73 struct nvif_object *device = &nouveau_drm(dev)->client.device.object; in NVWriteCRTC() local 82 struct nvif_object *device = &nouveau_drm(dev)->client.device.object; in NVReadRAMDAC() local 93 struct nvif_object *device = &nouveau_drm(dev)->client.device.object; in NVWriteRAMDAC() local 122 struct nvif_object *device = &nouveau_drm(dev)->client.device.object; in NVWriteVgaCrtc() local 130 struct nvif_object *device = &nouveau_drm(dev)->client.device.object; in NVReadVgaCrtc() local 167 struct nvif_object *device = &nouveau_drm(dev)->client.device.object; in NVReadPRMVIO() local 183 struct nvif_object *device = &nouveau_drm(dev)->client.device.object; in NVWritePRMVIO() local 196 struct nvif_object *device = &nouveau_drm(dev)->client.device.object; in NVSetEnablePalette() local 203 struct nvif_object *device = &nouveau_drm(dev)->client.device.object; in NVGetEnablePalette() local [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A D | nv40.c | 128 struct nvkm_device *device = fifo->engine.subdev.device; in nv40_ectx_bind() local 139 if (WARN_ON(device->chipset < 0x44)) in nv40_ectx_bind() 157 nvkm_wr32(device, reg, inst); in nv40_ectx_bind() 183 struct nvkm_device *device = fifo->engine.subdev.device; in nv40_fifo_init() local 184 struct nvkm_fb *fb = device->fb; in nv40_fifo_init() 185 struct nvkm_instmem *imem = device->imem; in nv40_fifo_init() 190 nvkm_wr32(device, 0x002040, 0x000000ff); in nv40_fifo_init() 191 nvkm_wr32(device, 0x002044, 0x2101ffff); in nv40_fifo_init() 192 nvkm_wr32(device, 0x002058, 0x00000001); in nv40_fifo_init() 199 switch (device->chipset) { in nv40_fifo_init() [all …]
|
H A D | gk104.c | 75 struct nvkm_device *device = runl->fifo->engine.subdev.device; in gk104_chan_bind() local 291 struct nvkm_device *device = runq->fifo->engine.subdev.device; in gk104_runq_idle() local 310 struct nvkm_device *device = subdev->device; in gk104_runq_intr_1() local 381 struct nvkm_device *device = runq->fifo->engine.subdev.device; in gk104_runq_init() local 433 struct nvkm_device *device = fifo->engine.subdev.device; in gk104_runl_commit() local 623 struct nvkm_device *device = subdev->device; in gk104_fifo_intr_chsw() local 642 struct nvkm_device *device = fifo->engine.subdev.device; in gk104_fifo_intr_runlist() local 656 struct nvkm_device *device = subdev->device; in gk104_fifo_intr() local 737 struct nvkm_device *device = fifo->engine.subdev.device; in gk104_fifo_init_pbdmas() local 746 struct nvkm_device *device = fifo->engine.subdev.device; in gk104_fifo_init() local [all …]
|
/openbmc/linux/drivers/s390/block/ |
H A D | dasd_diag.c | 147 mdsk_term_io(device); in dasd_diag_erp() 148 rc = mdsk_init_io(device, device->block->bp_block, 0, NULL); in dasd_diag_erp() 170 device = cqr->startdev; in dasd_start_diag() 208 dasd_diag_erp(device); in dasd_start_diag() 222 device = cqr->startdev; in dasd_diag_term_IO() 223 mdsk_term_io(device); in dasd_diag_term_IO() 224 mdsk_init_io(device, device->block->bp_block, 0, NULL); in dasd_diag_term_IO() 345 device->block = block; in dasd_diag_check_device() 346 block->base = device; in dasd_diag_check_device() 387 mdsk_term_io(device); in dasd_diag_check_device() [all …]
|
/openbmc/linux/drivers/vfio/ |
H A D | group.c | 38 device = ERR_PTR(ret); in vfio_device_get_from_name() 46 device = it; in vfio_device_get_from_name() 52 return device; in vfio_device_get_from_name() 163 vfio_device_get_kvm_safe(device, device->group->kvm); in vfio_device_group_get_kvm_safe() 169 struct vfio_device *device = df->device; in vfio_df_group_open() local 190 if (df->iommufd && vfio_device_is_noiommu(device) && device->open_count == 0) { in vfio_df_group_open() 238 struct vfio_device *device = df->device; in vfio_df_group_close() local 321 if (IS_ERR(device)) in vfio_group_ioctl_get_device_fd() 322 return PTR_ERR(device); in vfio_group_ioctl_get_device_fd() 716 device->group = group; in vfio_device_set_group() [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 172 | 128 echo === Using -drive if=none and -device === 133 -device floppy,drive=none0 -device floppy,drive=none1,unit=1 144 echo === Mixing -fdX and -device === 159 echo === Mixing -drive and -device === 170 echo === Mixing -global and -device === 185 check_floppy_qtree -drive if=none -device floppy,drive=none0 -device floppy -device floppy,drive=no… 186 check_floppy_qtree -drive if=none -global floppy.drive=none0 -device floppy -device floppy 191 check_floppy_qtree -device floppy,drive=floppy0 202 -device floppy,drive=none1 208 check_floppy_qtree -device floppy [all …]
|
/openbmc/linux/drivers/net/phy/ |
H A D | mii_timestamper.c | 15 struct device *device; member 26 int register_mii_tstamp_controller(struct device *device, in register_mii_tstamp_controller() argument 37 desc->device = device; in register_mii_tstamp_controller() 52 void unregister_mii_tstamp_controller(struct device *device) in unregister_mii_tstamp_controller() argument 60 if (desc->device == device) { in unregister_mii_tstamp_controller() 88 if (desc->device->of_node == node) { in register_mii_timestamper() 91 mii_ts->device = desc->device; in register_mii_timestamper() 92 get_device(desc->device); in register_mii_timestamper() 121 if (!mii_ts->device) in unregister_mii_timestamper() 127 if (desc->device == mii_ts->device) { in unregister_mii_timestamper() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
H A D | nv44.c | 34 struct nvkm_device *device = mmu->subdev.device; in nv44_mmu_init() local 42 addr = nvkm_rd32(device, 0x10020c); in nv44_mmu_init() 45 nvkm_wr32(device, 0x100850, 0x80000000); in nv44_mmu_init() 46 nvkm_wr32(device, 0x100818, mmu->vmm->null); in nv44_mmu_init() 48 nvkm_wr32(device, 0x100850, 0x00008000); in nv44_mmu_init() 50 nvkm_wr32(device, 0x100820, 0x00000000); in nv44_mmu_init() 51 nvkm_wr32(device, 0x10082c, 0x00000001); in nv44_mmu_init() 52 nvkm_wr32(device, 0x100800, addr | 0x00000010); in nv44_mmu_init() 68 if (device->type == NVKM_DEVICE_AGP || in nv44_mmu_new() 69 !nvkm_boolopt(device->cfgopt, "NvPCIE", true)) in nv44_mmu_new() [all …]
|
/openbmc/linux/drivers/firmware/google/ |
H A D | coreboot_table.c | 42 ret = driver->probe(device); in coreboot_bus_probe() 53 driver->remove(device); in coreboot_bus_remove() 67 kfree(device); in coreboot_device_release() 88 struct coreboot_device *device; in coreboot_table_populate() local 101 device = kzalloc(sizeof(device->dev) + entry->size, GFP_KERNEL); in coreboot_table_populate() 102 if (!device) in coreboot_table_populate() 105 device->dev.parent = dev; in coreboot_table_populate() 110 switch (device->entry.tag) { in coreboot_table_populate() 113 device->cbmem_entry.id); in coreboot_table_populate() 122 put_device(&device->dev); in coreboot_table_populate() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fault/ |
H A D | tu102.c | 53 struct nvkm_device *device = buffer->fault->subdev.device; in tu102_fault_buffer_fini() local 62 struct nvkm_device *device = buffer->fault->subdev.device; in tu102_fault_buffer_init() local 74 struct nvkm_device *device = buffer->fault->subdev.device; in tu102_fault_buffer_info() local 89 struct nvkm_device *device = subdev->device; in tu102_fault_info_fault() local 91 const u32 addrlo = nvkm_rd32(device, 0xb83080); in tu102_fault_info_fault() 92 const u32 addrhi = nvkm_rd32(device, 0xb83084); in tu102_fault_info_fault() 93 const u32 info0 = nvkm_rd32(device, 0xb83088); in tu102_fault_info_fault() 108 nvkm_fifo_fault(device->fifo, &info); in tu102_fault_info_fault() 110 nvkm_wr32(device, 0xb83094, 0x80000000); in tu102_fault_info_fault() 138 struct nvkm_device *device = fault->subdev.device; in tu102_fault_oneinit() local [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
H A D | gp100.c | 32 struct nvkm_device *device = gf100_fb(base)->base.subdev.device; in gp100_fb_init_unkn() local 33 nvkm_wr32(device, 0x1fac80, nvkm_rd32(device, 0x100c80)); in gp100_fb_init_unkn() 34 nvkm_wr32(device, 0x1facc4, nvkm_rd32(device, 0x100cc4)); in gp100_fb_init_unkn() 35 nvkm_wr32(device, 0x1facc8, nvkm_rd32(device, 0x100cc8)); in gp100_fb_init_unkn() 36 nvkm_wr32(device, 0x1faccc, nvkm_rd32(device, 0x100ccc)); in gp100_fb_init_unkn() 42 struct nvkm_device *device = fb->subdev.device; in gp100_fb_init_remapper() local 44 nvkm_mask(device, 0x100c14, 0x00040000, 0x00000000); in gp100_fb_init_remapper() 60 gp100_fb_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_fb **pfb) in gp100_fb_new() argument 62 return gf100_fb_new_(&gp100_fb, device, type, inst, pfb); in gp100_fb_new()
|
/openbmc/openbmc/poky/meta/recipes-core/initrdscripts/files/ |
H A D | init-install.sh | 50 for device in $devices; do 51 case $device in 64 case $device in 122 device=/dev/$TARGET_DEVICE_NAME 184 swap=${device}${part_prefix}3 189 swap=${device}${part_prefix}4 203 parted ${device} mktable msdos 207 parted ${device} mktable gpt 223 parted ${device} print 314 grub-install ${device} [all …]
|
H A D | init-install-testfs.sh | 22 for device in `ls /sys/block/`; do 23 case $device in 33 if [ $device != $live_dev_name -a -e /dev/$device ]; then 34 hdnamelist="$hdnamelist $device" 47 cat /sys/block/$hdname/device/vendor 75 device=$TARGET_DEVICE_NAME 115 bootfs=/dev/${device}${part_prefix}1 128 parted /dev/${device} mklabel msdos 139 parted /dev/${device} print 196 grub-install /dev/${device} [all …]
|
/openbmc/qemu/docs/specs/ |
H A D | pci-ids.rst | 19 network device (legacy) 21 block device (legacy) 23 balloon device (legacy) 25 console device (legacy) 31 9p filesystem device (legacy) 33 vsock device (bug compatibility) 94 PCIe NVMe device (``-device nvme``) 96 PCI PVPanic device (``-device pvpanic-pci``) 98 PCI ACPI ERST device (``-device acpi-erst``) 100 PCI UFS device (``-device ufs``) [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/top/ |
H A D | base.c | 39 list_add_tail(&info->head, &top->device); in nvkm_top_device_new() 47 struct nvkm_top *top = device->top; in nvkm_top_addr() 51 list_for_each_entry(info, &top->device, head) { in nvkm_top_addr() 63 struct nvkm_top *top = device->top; in nvkm_top_reset() 79 struct nvkm_top *top = device->top; in nvkm_top_intr_mask() 95 struct nvkm_top *top = device->top; in nvkm_top_fault_id() 109 struct nvkm_top *top = device->top; in nvkm_top_fault() 121 nvkm_top_parse(struct nvkm_device *device) in nvkm_top_parse() argument 123 struct nvkm_top *top = device->top; in nvkm_top_parse() 125 if (!top || !list_empty(&top->device)) in nvkm_top_parse() [all …]
|
/openbmc/linux/include/linux/regulator/ |
H A D | consumer.h | 37 struct device; 216 struct device *alias_dev, 222 struct device *alias_dev, 229 struct device *alias_dev, 234 struct device *alias_dev, 255 struct device *dev, int num_consumers, 404 struct device *alias_dev, in regulator_register_supply_alias() 417 struct device *alias_dev, in regulator_bulk_register_supply_alias() 432 struct device *alias_dev, in devm_regulator_register_supply_alias() 440 struct device *alias_dev, in devm_regulator_bulk_register_supply_alias() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bar/ |
H A D | tu102.c | 30 struct nvkm_device *device = bar->subdev.device; in tu102_bar_bar2_wait() local 31 nvkm_msec(device, 2000, in tu102_bar_bar2_wait() 32 if (!(nvkm_rd32(device, 0xb80f50) & 0x0000000c)) in tu102_bar_bar2_wait() 46 struct nvkm_device *device = base->subdev.device; in tu102_bar_bar2_init() local 51 nvkm_wr32(device, 0xb80f48, 0x80000000 | addr); in tu102_bar_bar2_init() 57 struct nvkm_device *device = bar->subdev.device; in tu102_bar_bar1_wait() local 58 nvkm_msec(device, 2000, in tu102_bar_bar1_wait() 59 if (!(nvkm_rd32(device, 0xb80f50) & 0x00000003)) in tu102_bar_bar1_wait() 73 struct nvkm_device *device = base->subdev.device; in tu102_bar_bar1_init() local 76 nvkm_wr32(device, 0xb80f40, 0x80000000 | addr); in tu102_bar_bar1_init() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bus/ |
H A D | gf100.c | 31 struct nvkm_device *device = subdev->device; in gf100_bus_intr() local 32 u32 stat = nvkm_rd32(device, 0x001100) & nvkm_rd32(device, 0x001140); in gf100_bus_intr() 35 u32 addr = nvkm_rd32(device, 0x009084); in gf100_bus_intr() 36 u32 data = nvkm_rd32(device, 0x009088); in gf100_bus_intr() 46 nvkm_wr32(device, 0x009084, 0x00000000); in gf100_bus_intr() 47 nvkm_wr32(device, 0x001100, (stat & 0x0000000e)); in gf100_bus_intr() 53 nvkm_mask(device, 0x001140, stat, 0x00000000); in gf100_bus_intr() 60 struct nvkm_device *device = bus->subdev.device; in gf100_bus_init() local 61 nvkm_wr32(device, 0x001100, 0xffffffff); in gf100_bus_init() 62 nvkm_wr32(device, 0x001140, 0x0000000e); in gf100_bus_init() [all …]
|