Home
last modified time | relevance | path

Searched refs:devtype (Results 1 – 21 of 21) sorted by relevance

/openbmc/u-boot/drivers/fpga/
H A Dfpga.c85 switch (desc->devtype) { in fpga_dev_info()
112 __func__, desc->devtype); in fpga_dev_info()
146 int fpga_add(fpga_type devtype, void *desc) in fpga_add() argument
157 } else if ((devtype > fpga_min_type) && (devtype < fpga_undefined)) { in fpga_add()
160 desc_table[next_desc].devtype = devtype; in fpga_add()
167 printf("%s: Unsupported FPGA type %d\n", __func__, devtype); in fpga_add()
201 switch (desc->devtype) { in fpga_fsload()
212 __func__, desc->devtype); in fpga_fsload()
230 switch (desc->devtype) { in fpga_loads()
241 __func__, desc->devtype); in fpga_loads()
[all …]
/openbmc/qemu/tests/functional/
H A Dtest_virtio_version.py49 def devtype_implements(vm, devtype, implements): argument
50 return devtype in [d['name'] for d in
53 def get_pci_interfaces(vm, devtype): argument
55 return [i for i in interfaces if devtype_implements(vm, devtype, i)]
67 def run_device(self, devtype, opts=None, machine='pc'): argument
74 devtype += ',' + opts
75 vm.add_args('-device', '%s,id=devfortest' % (devtype))
83 return devfortest[0], get_pci_interfaces(vm, devtype)
/openbmc/u-boot/cmd/
H A Drockusb.c17 char *devtype; in do_rockusb() local
28 devtype = argv[2]; in do_rockusb()
34 rockusb_dev_init(devtype, dev_index); in do_rockusb()
H A Dusb_mass_storage.c52 static int ums_init(const char *devtype, const char *devnums_part_str) in ums_init() argument
73 partnum = blk_get_device_part_str(devtype, devnum_part_str, in ums_init()
139 const char *devtype; in do_usb_mass_storage() local
150 devtype = argv[2]; in do_usb_mass_storage()
153 devtype = "mmc"; in do_usb_mass_storage()
157 rc = ums_init(devtype, devnum); in do_usb_mass_storage()
/openbmc/u-boot/drivers/mtd/
H A Dmtd_uboot.c365 loff_t *maxsize, int devtype) in get_part() argument
381 if (dev->id->type != devtype) { in get_part()
382 printf("not same typ %d != %d\n", dev->id->type, devtype); in get_part()
399 loff_t *maxsize, int devtype, uint64_t chipsize) in mtd_arg_off() argument
402 return get_part(arg, idx, off, size, maxsize, devtype); in mtd_arg_off()
415 loff_t *size, loff_t *maxsize, int devtype, in mtd_arg_off_size() argument
427 ret = mtd_arg_off(argv[0], idx, off, size, maxsize, devtype, in mtd_arg_off_size()
/openbmc/u-boot/drivers/serial/
H A Dserial_lpuart.c74 enum lpuart_devtype devtype; member
411 if (plat->devtype == DEV_MX7ULP || plat->devtype == DEV_IMX8) { in _lpuart32_serial_init()
428 if (plat->devtype == DEV_MX7ULP || plat->devtype == DEV_IMX8) in lpuart_serial_setbrg()
506 plat->devtype = DEV_LS1021A; in lpuart_serial_ofdata_to_platdata()
508 plat->devtype = DEV_MX7ULP; in lpuart_serial_ofdata_to_platdata()
510 plat->devtype = DEV_VF610; in lpuart_serial_ofdata_to_platdata()
512 plat->devtype = DEV_IMX8; in lpuart_serial_ofdata_to_platdata()
/openbmc/u-boot/include/
H A Dfpga.h36 fpga_type devtype; /* switch value to select sub-functions */ member
62 int fpga_add(fpga_type devtype, void *desc);
/openbmc/u-boot/disk/
H A Dpart.c681 char *devtype; in part_set_generic_name() local
687 devtype = "hd"; in part_set_generic_name()
690 devtype = "sd"; in part_set_generic_name()
693 devtype = "usbd"; in part_set_generic_name()
696 devtype = "docd"; in part_set_generic_name()
700 devtype = "mmcsd"; in part_set_generic_name()
703 devtype = "xx"; in part_set_generic_name()
707 sprintf(name, "%s%c%d", devtype, 'a' + dev_desc->devnum, part_num); in part_set_generic_name()
/openbmc/qemu/qga/
H A Dcommands-bsd.c57 mount->devtype = g_strdup(mntp->f_fstypename); in build_fs_mount_list()
110 if (!g_str_equal(mount->devtype, "ufs")) { in qmp_guest_fsfreeze_do_freeze_list()
H A Dcommands-common.h27 char *devtype; member
H A Dcommands-linux.c114 mount->devtype = g_strdup(ment->mnt_type); in build_fs_mount_list_from_mtab()
201 mount->devtype = g_strdup(dash + type_s); in build_fs_mount_list()
1093 fs->type = g_strdup(mount->devtype); in build_guest_fsinfo()
H A Dcommands-posix.c708 g_free(mount->devtype); in free_fs_mount_list()
/openbmc/qemu/scripts/
H A Ddevice-crash-test289 def __init__(self, binary, devtype): argument
290 if devtype is None:
291 devtype = 'device'
296 dbg("devtype: %r", devtype)
302 self.alldevs = set(qomListTypeNames(vm, implements=devtype, abstract=False))
343 BINARY_INFO[binary] = QemuBinaryInfo(binary, args.devtype)
/openbmc/u-boot/drivers/sound/
H A Dmaxim_codec.h18 enum maxim_codec_type devtype; member
/openbmc/qemu/hw/s390x/
H A Dipl.c346 static CcwDevice *s390_get_ccw_device(DeviceState *dev_st, int *devtype) in s390_get_ccw_device() argument
390 if (devtype) { in s390_get_ccw_device()
391 *devtype = tmp_dt; in s390_get_ccw_device()
429 int devtype; in s390_build_iplb() local
436 ccw_dev = s390_get_ccw_device(dev_st, &devtype); in s390_build_iplb()
440 switch (devtype) { in s390_build_iplb()
/openbmc/u-boot/board/k+p/bootscripts/
H A Dtpcboot.cmd41 if test -e ${devtype} ${devnum}:${distro_bootpart} ${kernel_file}; then
43 if load ${devtype} ${devnum}:${distro_bootpart} ${loadaddr} \
/openbmc/u-boot/board/freescale/mpc8569mds/
H A Dmpc8569mds.c355 const char *devtype = "serial"; in fdt_board_fixup_qe_uart() local
388 fdt_setprop(blob, off, "device_type", devtype, strlen(devtype) + 1); in fdt_board_fixup_qe_uart()
/openbmc/u-boot/doc/
H A DREADME.fdt-overlays84 => load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/base.dtb
85 => load ${devtype} ${bootpart} ${fdtovaddr} ${bootdir}/overlay.dtb
H A DREADME.rockusb23 rockusb <USB_controller> <devtype> <dev[:part]>
/openbmc/u-boot/include/linux/mtd/
H A Dmtd.h592 loff_t *maxsize, int devtype, uint64_t chipsize);
594 loff_t *size, loff_t *maxsize, int devtype,
/openbmc/qemu/hw/ppc/
H A Dspapr_pci.c817 const char *devtype = "qemu"; in spapr_phb_get_loc_code() local
825 devtype = "vfio"; in spapr_phb_get_loc_code()
832 devtype, pdev->name, sphb->index, busnr, in spapr_phb_get_loc_code()