/openbmc/linux/include/linux/ |
H A D | acpi_dma.h | 29 struct device *dev; 43 struct device *dev; 59 int acpi_dma_controller_register(struct device *dev, 63 int acpi_dma_controller_free(struct device *dev); 64 int devm_acpi_dma_controller_register(struct device *dev, 68 void devm_acpi_dma_controller_free(struct device *dev); 79 static inline int acpi_dma_controller_register(struct device *dev, in acpi_dma_controller_register() 86 static inline int acpi_dma_controller_free(struct device *dev) in acpi_dma_controller_free() 97 static inline void devm_acpi_dma_controller_free(struct device *dev) in devm_acpi_dma_controller_free() 102 struct device *dev, size_t index) in acpi_dma_request_slave_chan_by_index() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/ce/ |
H A D | gk104.c | 50 struct nvkm_device *device = subdev->device; in gk104_ce_intr_launcherr() local 51 u32 stat = nvkm_rd32(device, 0x104f14 + base); in gk104_ce_intr_launcherr() 55 nvkm_wr32(device, 0x104f14 + base, 0x00000000); in gk104_ce_intr_launcherr() 62 struct nvkm_device *device = subdev->device; in gk104_ce_intr() local 64 u32 mask = nvkm_rd32(device, 0x104904 + base); in gk104_ce_intr() 65 u32 intr = nvkm_rd32(device, 0x104908 + base) & mask; in gk104_ce_intr() 68 nvkm_wr32(device, 0x104908 + base, 0x00000001); in gk104_ce_intr() 73 nvkm_wr32(device, 0x104908 + base, 0x00000002); in gk104_ce_intr() 78 nvkm_wr32(device, 0x104908 + base, 0x00000004); in gk104_ce_intr() 83 nvkm_wr32(device, 0x104908 + base, intr); in gk104_ce_intr() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mc/ |
H A D | nv04.c | 36 nvkm_mask(mc->subdev.device, 0x000200, mask, 0x00000000); in nv04_mc_device_disable() 42 struct nvkm_device *device = mc->subdev.device; in nv04_mc_device_enable() local 44 nvkm_mask(device, 0x000200, mask, mask); in nv04_mc_device_enable() 45 nvkm_rd32(device, 0x000200); in nv04_mc_device_enable() 51 return (nvkm_rd32(mc->subdev.device, 0x000200) & mask) == mask; in nv04_mc_device_enabled() 78 nvkm_wr32(mc->subdev.device, 0x000140 + (leaf * 4), 0x00000001); in nv04_mc_intr_rearm() 88 nvkm_wr32(mc->subdev.device, 0x000140 + (leaf * 4), 0x00000000); in nv04_mc_intr_unarm() 90 nvkm_rd32(mc->subdev.device, 0x000140); in nv04_mc_intr_unarm() 119 struct nvkm_device *device = mc->subdev.device; in nv04_mc_init() local 129 .device = &nv04_mc_device, [all …]
|
H A D | nv44.c | 29 struct nvkm_device *device = mc->subdev.device; in nv44_mc_init() local 30 u32 tmp = nvkm_rd32(device, 0x10020c); in nv44_mc_init() 32 nvkm_wr32(device, 0x000200, 0xffffffff); /* everything enabled */ in nv44_mc_init() 34 nvkm_wr32(device, 0x001700, tmp); in nv44_mc_init() 35 nvkm_wr32(device, 0x001704, 0); in nv44_mc_init() 36 nvkm_wr32(device, 0x001708, 0); in nv44_mc_init() 37 nvkm_wr32(device, 0x00170c, tmp); in nv44_mc_init() 45 .device = &nv04_mc_device, 50 nv44_mc_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_mc **pmc) in nv44_mc_new() argument 52 return nvkm_mc_new_(&nv44_mc, device, type, inst, pmc); in nv44_mc_new()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
H A D | gk20a.c | 67 struct nvkm_device *device = clk->base.subdev.device; in gk20a_pllg_read_mnp() local 79 struct nvkm_device *device = clk->base.subdev.device; in gk20a_pllg_write_mnp() local 214 struct nvkm_device *device = subdev->device; in gk20a_pllg_slide() local 258 struct nvkm_device *device = clk->base.subdev.device; in gk20a_pllg_enable() local 286 struct nvkm_device *device = clk->base.subdev.device; in gk20a_pllg_disable() local 299 struct nvkm_device *device = subdev->device; in gk20a_pllg_program_mnp() local 464 struct nvkm_device *device = subdev->device; in gk20a_clk_read() local 510 struct nvkm_device *device = subdev->device; in gk20a_clk_setup_slide() local 545 struct nvkm_device *device = base->subdev.device; in gk20a_clk_fini() local 569 struct nvkm_device *device = subdev->device; in gk20a_clk_init() local [all …]
|
H A D | nv50.c | 34 struct nvkm_device *device = clk->base.subdev.device; in read_div() local 35 switch (device->chipset) { in read_div() 55 struct nvkm_device *device = subdev->device; in read_pll_src() local 60 switch (device->chipset) { in read_pll_src() 128 struct nvkm_device *device = subdev->device; in read_pll_ref() local 160 struct nvkm_device *device = clk->base.subdev.device; in read_pll() local 196 struct nvkm_device *device = subdev->device; in nv50_clk_read() local 202 return device->crystal; in nv50_clk_read() 257 switch (device->chipset) { in nv50_clk_read() 374 struct nvkm_device *device = subdev->device; in nv50_clk_calc() local [all …]
|
/openbmc/linux/drivers/base/ |
H A D | attribute_container.c | 28 struct device classdev; 143 struct device *, in attribute_container_add_device() 144 struct device *)) in attribute_container_add_device() 208 struct device *, in attribute_container_remove_device() 243 struct device *, struct device *), in do_attribute_container_device_trigger_safe() argument 245 struct device *, struct device *)) in do_attribute_container_device_trigger_safe() 299 struct device *, in attribute_container_device_trigger_safe() 300 struct device *), in attribute_container_device_trigger_safe() argument 302 struct device *, in attribute_container_device_trigger_safe() 355 struct device *, in attribute_container_device_trigger() [all …]
|
/openbmc/linux/fs/btrfs/ |
H A D | zoned.h | 41 int btrfs_get_dev_zone(struct btrfs_device *device, u64 pos, 45 void btrfs_destroy_dev_zone_info(struct btrfs_device *device); 53 int btrfs_advance_sb_log(struct btrfs_device *device, int mirror); 267 struct btrfs_zoned_device_info *zone_info = device->zone_info; in btrfs_dev_is_sequential() 277 struct btrfs_zoned_device_info *zone_info = device->zone_info; in btrfs_dev_is_empty_zone() 288 struct btrfs_zoned_device_info *zone_info = device->zone_info; in btrfs_dev_set_empty_zone_bit() 303 btrfs_dev_set_empty_zone_bit(device, pos, true); in btrfs_dev_set_zone_empty() 308 btrfs_dev_set_empty_zone_bit(device, pos, false); in btrfs_dev_clear_zone_empty() 336 return device->zone_info == NULL || !btrfs_dev_is_sequential(device, pos); in btrfs_check_super_location() 344 if (!btrfs_dev_is_sequential(device, physical)) in btrfs_can_zone_reset() [all …]
|
/openbmc/openbmc/poky/meta/recipes-core/initrdscripts/files/ |
H A D | init-install-efi.sh | 51 for device in $devices; do 52 case $device in 65 case $device in 93 cat /sys/block/$hdname/device/model 128 device=/dev/$TARGET_DEVICE_NAME 173 bootfs=${device}${part_prefix}1 174 rootfs=${device}${part_prefix}2 175 swap=${device}${part_prefix}3 186 parted ${device} mklabel gpt 190 parted ${device} set 1 boot on [all …]
|
H A D | init-install-efi-testfs.sh | 22 if [ -e /sys/block/${device}/removable ]; then 56 echo "Installing image on /dev/${device}" 67 umount /dev/${device}* 2> /dev/null || /bin/true 86 if [ ! "${device#mmcblk}" = "${device}" ]; then 90 bootfs=/dev/${device}${part_prefix}1 91 rootfs=/dev/${device}${part_prefix}2 92 testfs=/dev/${device}${part_prefix}3 100 dd if=/dev/zero of=/dev/${device} bs=512 count=2 103 parted /dev/${device} mklabel gpt 107 parted /dev/${device} set 1 boot on [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
H A D | g98.c | 32 struct nvkm_device *device = init->subdev.device; in g98_devinit_disable() local 33 u32 r001540 = nvkm_rd32(device, 0x001540); in g98_devinit_disable() 34 u32 r00154c = nvkm_rd32(device, 0x00154c); in g98_devinit_disable() 37 nvkm_subdev_disable(device, NVKM_ENGINE_MSPDEC, 0); in g98_devinit_disable() 38 nvkm_subdev_disable(device, NVKM_ENGINE_MSVLD, 0); in g98_devinit_disable() 39 nvkm_subdev_disable(device, NVKM_ENGINE_MSPPP, 0); in g98_devinit_disable() 43 nvkm_subdev_disable(device, NVKM_ENGINE_DISP, 0); in g98_devinit_disable() 45 nvkm_subdev_disable(device, NVKM_ENGINE_MSVLD, 0); in g98_devinit_disable() 47 nvkm_subdev_disable(device, NVKM_ENGINE_SEC, 0); in g98_devinit_disable() 60 g98_devinit_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, in g98_devinit_new() argument [all …]
|
H A D | mcp89.c | 32 struct nvkm_device *device = init->subdev.device; in mcp89_devinit_disable() local 33 u32 r001540 = nvkm_rd32(device, 0x001540); in mcp89_devinit_disable() 34 u32 r00154c = nvkm_rd32(device, 0x00154c); in mcp89_devinit_disable() 37 nvkm_subdev_disable(device, NVKM_ENGINE_MSPDEC, 0); in mcp89_devinit_disable() 38 nvkm_subdev_disable(device, NVKM_ENGINE_MSPPP, 0); in mcp89_devinit_disable() 42 nvkm_subdev_disable(device, NVKM_ENGINE_DISP, 0); in mcp89_devinit_disable() 44 nvkm_subdev_disable(device, NVKM_ENGINE_MSVLD, 0); in mcp89_devinit_disable() 46 nvkm_subdev_disable(device, NVKM_ENGINE_VIC, 0); in mcp89_devinit_disable() 48 nvkm_subdev_disable(device, NVKM_ENGINE_CE, 0); in mcp89_devinit_disable() 61 mcp89_devinit_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, in mcp89_devinit_new() argument [all …]
|
/openbmc/openbmc/poky/meta/conf/machine/include/riscv/ |
H A D | qemuriscv.inc | 33 QB_NETWORK_DEVICE = "-device virtio-net-device,netdev=net0,mac=@MAC@" 34 QB_ROOTFS_OPT = "-drive id=disk0,file=@ROOTFS@,if=none,format=raw -device virtio-blk-device,drive=d… 35 QB_SERIAL_OPT = "-device virtio-serial-device -chardev null,id=virtcon -device virtconsole,chardev=… 36 QB_TCPSERIAL_OPT = " -device virtio-serial-device -chardev socket,id=virtcon,port=@PORT@,host=127.0… 37 QB_GRAPHICS = "-device bochs-display" 38 QB_OPT_APPEND = "-device qemu-xhci -device usb-tablet -device usb-kbd" 39 QB_OPT_APPEND:riscv32 = "-device virtio-tablet-pci -device virtio-keyboard-pci"
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 172.out | 535 === Mixing -fdX and -device === 776 === Mixing -drive and -device === 898 === Mixing -global and -device === 945 Testing: -drive if=none -device floppy,drive=none0 -device floppy -device floppy,drive=none0 946 QEMU_PROG: -device floppy,drive=none0: Drive 'none0' is already in use by another device 948 Testing: -drive if=none -global floppy.drive=none0 -device floppy -device floppy 957 Testing: -device floppy,drive=floppy0 969 Testing: -device floppy 995 Testing: -device floppy,drive-type=120 1021 Testing: -device floppy,drive-type=144 [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fault/ |
H A D | gp100.c | 32 struct nvkm_device *device = buffer->fault->subdev.device; in gp100_fault_buffer_intr() local 33 nvkm_mc_intr_mask(device, NVKM_SUBDEV_FAULT, 0, enable); in gp100_fault_buffer_intr() 39 struct nvkm_device *device = buffer->fault->subdev.device; in gp100_fault_buffer_fini() local 40 nvkm_mask(device, 0x002a70, 0x00000001, 0x00000000); in gp100_fault_buffer_fini() 46 struct nvkm_device *device = buffer->fault->subdev.device; in gp100_fault_buffer_init() local 47 nvkm_wr32(device, 0x002a74, upper_32_bits(buffer->addr)); in gp100_fault_buffer_init() 48 nvkm_wr32(device, 0x002a70, lower_32_bits(buffer->addr)); in gp100_fault_buffer_init() 49 nvkm_mask(device, 0x002a70, 0x00000001, 0x00000001); in gp100_fault_buffer_init() 60 buffer->entries = nvkm_rd32(buffer->fault->subdev.device, 0x002a78); in gp100_fault_buffer_info() 85 gp100_fault_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, in gp100_fault_new() argument [all …]
|
/openbmc/linux/drivers/crypto/caam/ |
H A D | intern.h | 56 struct device *dev; 63 struct device *dev; 146 int caam_algapi_init(struct device *dev); 164 int caam_algapi_hash_init(struct device *dev); 182 int caam_pkc_init(struct device *dev); 187 static inline int caam_pkc_init(struct device *dev) in caam_pkc_init() 200 int caam_rng_init(struct device *dev); 201 void caam_rng_exit(struct device *dev); 205 static inline int caam_rng_init(struct device *dev) in caam_rng_init() 216 int caam_prng_register(struct device *dev); [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | ctxgk104.c | 851 struct nvkm_device *device = gr->base.engine.subdev.device; in gk104_grctx_generate_r418800() local 866 struct nvkm_device *device = chan->gr->base.engine.subdev.device; in gk104_grctx_generate_patch_ltc() local 867 u32 data0 = nvkm_rd32(device, 0x17e91c); in gk104_grctx_generate_patch_ltc() 868 u32 data1 = nvkm_rd32(device, 0x17e920); in gk104_grctx_generate_patch_ltc() 896 struct nvkm_device *device = gr->base.engine.subdev.device; in gk104_grctx_generate_unkn() local 897 nvkm_mask(device, 0x418c6c, 0x00000001, 0x00000001); in gk104_grctx_generate_unkn() 898 nvkm_mask(device, 0x41980c, 0x00000010, 0x00000010); in gk104_grctx_generate_unkn() 899 nvkm_mask(device, 0x41be08, 0x00000004, 0x00000004); in gk104_grctx_generate_unkn() 908 struct nvkm_device *device = gr->base.engine.subdev.device; in gk104_grctx_generate_r419f78() local 917 struct nvkm_device *device = gr->base.engine.subdev.device; in gk104_grctx_generate_gpc_tpc_nr() local [all …]
|
H A D | g84.c | 119 struct nvkm_device *device = subdev->device; in g84_gr_tlb_flush() local 120 struct nvkm_timer *tmr = device->timer; in g84_gr_tlb_flush() 128 nvkm_mask(device, 0x400500, 0x00000001, 0x00000000); in g84_gr_tlb_flush() 154 tmp = nvkm_rd32(device, 0x400700); in g84_gr_tlb_flush() 159 nvkm_rd32(device, 0x400380)); in g84_gr_tlb_flush() 161 nvkm_rd32(device, 0x400384)); in g84_gr_tlb_flush() 163 nvkm_rd32(device, 0x400388)); in g84_gr_tlb_flush() 167 nvkm_wr32(device, 0x100c80, 0x00000001); in g84_gr_tlb_flush() 168 nvkm_msec(device, 2000, in g84_gr_tlb_flush() 169 if (!(nvkm_rd32(device, 0x100c80) & 0x00000001)) in g84_gr_tlb_flush() [all …]
|
/openbmc/linux/drivers/gpu/drm/mediatek/ |
H A D | mtk_drm_ddp_comp.h | 14 struct device; 49 int (*clk_enable)(struct device *dev); 54 void (*start)(struct device *dev); 55 void (*stop)(struct device *dev); 70 void (*gamma_set)(struct device *dev, 74 void (*ctm_set)(struct device *dev, 76 struct device * (*dma_dev_get)(struct device *dev); 79 void (*connect)(struct device *dev, struct device *mmsys_dev, unsigned int next); 80 void (*disconnect)(struct device *dev, struct device *mmsys_dev, unsigned int next); 86 struct device *dev; [all …]
|
/openbmc/linux/drivers/s390/block/ |
H A D | dasd_proc.c | 43 if (IS_ERR(device)) in dasd_devices_show() 45 if (device->block) in dasd_devices_show() 46 block = device->block; in dasd_devices_show() 48 dasd_put_device(device); in dasd_devices_show() 74 switch (device->state) { in dasd_devices_show() 143 if (IS_ERR(device)) in dasd_stats_all_block_on() 145 if (device->block) in dasd_stats_all_block_on() 161 if (IS_ERR(device)) in dasd_stats_all_block_off() 163 if (device->block) in dasd_stats_all_block_off() 176 if (IS_ERR(device)) in dasd_stats_all_block_reset() [all …]
|
/openbmc/qemu/qapi/ |
H A D | qdev.json | 14 # @device-list-properties: 18 # @typename: the type name of a device 29 { 'command': 'device-list-properties', 36 # Add a device. 40 # @bus: the device's parent bus (device tree path) 88 # Remove a device from a guest 90 # @id: the device's ID or QOM path 129 # @device: the device's ID if it has one 131 # @path: the device's QOM path 151 # @device: the device's ID if it has one [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/volt/ |
H A D | gk104.c | 42 struct nvkm_device *device = base->subdev.device; in gk104_volt_get() local 45 div = nvkm_rd32(device, 0x20340); in gk104_volt_get() 46 duty = nvkm_rd32(device, 0x20344); in gk104_volt_get() 55 struct nvkm_device *device = base->subdev.device; in gk104_volt_set() local 62 nvkm_wr32(device, 0x20340, div); in gk104_volt_set() 63 nvkm_wr32(device, 0x20344, 0x80000000 | duty); in gk104_volt_set() 71 struct nvkm_device *device = volt->subdev.device; in gk104_volt_speedo_read() local 72 struct nvkm_fuse *fuse = device->fuse; in gk104_volt_speedo_read() 78 nvkm_wr32(device, 0x122634, 0x0); in gk104_volt_speedo_read() 80 nvkm_wr32(device, 0x122634, 0x41); in gk104_volt_speedo_read() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/mpeg/ |
H A D | nv40.c | 31 nv40_mpeg_mthd_dma(struct nvkm_device *device, u32 mthd, u32 data) in nv40_mpeg_mthd_dma() argument 33 struct nvkm_instmem *imem = device->imem; in nv40_mpeg_mthd_dma() 34 struct nv31_mpeg *mpeg = nv31_mpeg(device->mpeg); in nv40_mpeg_mthd_dma() 52 nvkm_mask(device, 0x00b300, 0x00030000, (dma0 & 0x00030000)); in nv40_mpeg_mthd_dma() 53 nvkm_wr32(device, 0x00b334, base); in nv40_mpeg_mthd_dma() 54 nvkm_wr32(device, 0x00b324, size); in nv40_mpeg_mthd_dma() 59 nvkm_wr32(device, 0x00b360, base); in nv40_mpeg_mthd_dma() 60 nvkm_wr32(device, 0x00b364, size); in nv40_mpeg_mthd_dma() 66 nvkm_wr32(device, 0x00b370, base); in nv40_mpeg_mthd_dma() 67 nvkm_wr32(device, 0x00b374, size); in nv40_mpeg_mthd_dma() [all …]
|
/openbmc/linux/drivers/cxl/ |
H A D | cxl.h | 262 struct device *host; 341 struct device dev; 513 struct device dev; 525 struct device dev; 534 struct device dev; 548 struct device dev; 557 struct device dev; 586 struct device dev; 587 struct device *uport_dev; 646 struct device *ep; [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/ |
H A D | gf119.c | 29 struct nvkm_device *device = gpio->subdev.device; in gf119_gpio_reset() local 30 struct nvkm_bios *bios = device->bios; in gf119_gpio_reset() 49 nvkm_mask(device, 0x00d610 + (line * 4), 0xff, unk0); in gf119_gpio_reset() 51 nvkm_mask(device, 0x00d740 + (unk1 * 4), 0xff, line); in gf119_gpio_reset() 58 struct nvkm_device *device = gpio->subdev.device; in gf119_gpio_drive() local 60 nvkm_mask(device, 0x00d610 + (line * 4), 0x00003000, data); in gf119_gpio_drive() 61 nvkm_mask(device, 0x00d604, 0x00000001, 0x00000001); /* update? */ in gf119_gpio_drive() 68 struct nvkm_device *device = gpio->subdev.device; in gf119_gpio_sense() local 69 return !!(nvkm_rd32(device, 0x00d610 + (line * 4)) & 0x00004000); in gf119_gpio_sense() 83 gf119_gpio_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, in gf119_gpio_new() argument [all …]
|