| /openbmc/phosphor-misc/usb-ctrl/ |
| H A D | usb-ctrl | 149 local dev_type="$2" 159 gadget_function="functions/${dev_type}.${name}" 165 echo "Function ${dev_type}.${name} already exists" >&2 198 case "${dev_type}" in 233 local dev_type="$2" 243 rm -f "$GADGET_BASE/${name}/configs/c.1/${dev_type}.${name}" 244 rmdir "$GADGET_BASE/${name}/functions/${dev_type}.${name}"
|
| /openbmc/u-boot/arch/arm/include/asm/arch-rockchip/ |
| H A D | f_rockusb.h | 119 char *dev_type; member 134 void rockusb_dev_init(char *dev_type, int dev_index);
|
| /openbmc/u-boot/cmd/ |
| H A D | jffs2.c | 202 static int mtd_id_parse(const char *id, const char **ret_id, u8 *dev_type, u8 *dev_num) in mtd_id_parse() argument 206 *dev_type = 0; in mtd_id_parse() 208 *dev_type = MTD_DEV_TYPE_NAND; in mtd_id_parse() 211 *dev_type = MTD_DEV_TYPE_NOR; in mtd_id_parse() 214 *dev_type = MTD_DEV_TYPE_ONENAND; in mtd_id_parse()
|
| H A D | flash.c | 18 int mtd_id_parse(const char *id, const char **ret_id, u8 *dev_type, u8 *dev_num); 308 u8 dev_type, dev_num, pnum; in do_flerase() local 337 if ((argc == 2) && (mtd_id_parse(argv[1], NULL, &dev_type, &dev_num) == 0)) { in do_flerase() 442 u8 dev_type, dev_num, pnum; in do_protect() local 515 if ((argc == 3) && (mtd_id_parse(argv[2], NULL, &dev_type, &dev_num) == 0)) { in do_protect()
|
| H A D | mtdparts.c | 1042 int mtd_id_parse(const char *id, const char **ret_id, u8 *dev_type, in mtd_id_parse() argument 1047 *dev_type = 0; in mtd_id_parse() 1049 *dev_type = MTD_DEV_TYPE_NAND; in mtd_id_parse() 1052 *dev_type = MTD_DEV_TYPE_NOR; in mtd_id_parse() 1055 *dev_type = MTD_DEV_TYPE_ONENAND; in mtd_id_parse() 1058 *dev_type = MTD_DEV_TYPE_SPINAND; in mtd_id_parse()
|
| H A D | nand.c | 36 int id_parse(const char *id, const char **ret_id, u8 *dev_type, u8 *dev_num);
|
| /openbmc/u-boot/drivers/usb/gadget/ |
| H A D | f_rockusb.c | 314 void rockusb_dev_init(char *dev_type, int dev_index) in rockusb_dev_init() argument 318 f_rkusb->dev_type = dev_type; in rockusb_dev_init() 465 f_rkusb->dev_type, f_rkusb->dev_index); in tx_handler_ul_image() 513 printf("failed writing to device %s: %d\n", f_rkusb->dev_type, in rx_handler_dl_image() 627 char *type = f_rkusb->dev_type; in cb_read_lba() 669 char *type = f_rkusb->dev_type; in cb_write_lba() 710 char *type = f_rkusb->dev_type; in cb_erase_lba() 730 printf("failed erasing device %s: %d\n", f_rkusb->dev_type, in cb_erase_lba()
|
| /openbmc/u-boot/disk/ |
| H A D | part_mac.h | 29 __u16 dev_type; /* device type */ member
|
| H A D | part_mac.c | 104 ddesc->dev_type, ddesc->dev_id in part_print_mac()
|
| /openbmc/u-boot/drivers/dfu/ |
| H A D | dfu_ram.c | 69 dfu->dev_type = DFU_DEV_RAM; in dfu_fill_entity_ram()
|
| H A D | dfu_sf.c | 127 dfu->dev_type = DFU_DEV_SF; in dfu_fill_entity_sf()
|
| H A D | dfu_nand.c | 197 dfu->dev_type = DFU_DEV_NAND; in dfu_fill_entity_nand()
|
| H A D | dfu_mmc.c | 381 dfu->dev_type = DFU_DEV_MMC; in dfu_fill_entity_mmc()
|
| H A D | dfu.c | 499 dfu_get_dev_type(dfu->dev_type), dfu->alt, in dfu_show_entities()
|
| /openbmc/u-boot/include/ |
| H A D | fs.h | 186 int file_exists(const char *dev_type, const char *dev_part, const char *file,
|
| H A D | dfu.h | 100 enum dfu_device_type dev_type; member
|
| /openbmc/u-boot/drivers/ddr/marvell/a38x/ |
| H A D | mv_ddr_spd.c | 365 unsigned char dev_type = spd_data->byte_fields.byte_2; in mv_ddr_spd_dev_type_get() local 367 return dev_type; in mv_ddr_spd_dev_type_get()
|
| /openbmc/qemu/pc-bios/s390-ccw/ |
| H A D | bootmap.h | 138 uint8_t dev_type; /* == DEV_TYPE_* */ member 257 uint8_t dev_type; /* = 0 */ member
|
| H A D | cio.h | 277 u16 dev_type; /* device type */ member
|
| H A D | bootmap.c | 79 if (bip->dev_type != BOOT_INFO_DEV_TYPE_ECKD) { in verify_boot_info() 418 if (mbr->dev_type != DEV_TYPE_ECKD) { in ipl_eckd_cdl()
|
| /openbmc/u-boot/fs/ |
| H A D | fs.c | 711 int file_exists(const char *dev_type, const char *dev_part, const char *file, in file_exists() argument 714 if (fs_set_blk_dev(dev_type, dev_part, fstype)) in file_exists()
|
| /openbmc/ipmitool/include/ipmitool/ |
| H A D | ipmi_sdr.h | 626 uint8_t dev_type; member 660 uint8_t dev_type; member
|
| /openbmc/ipmitool/lib/ |
| H A D | ipmi_gendev.c | 93 switch(dev->dev_type) in ipmi_gendev_get_eeprom_size()
|
| /openbmc/qemu/include/hw/s390x/ |
| H A D | css.h | 46 uint16_t dev_type; /* device type */ member
|
| /openbmc/qemu/hw/xen/ |
| H A D | xen_pt_config_init.c | 865 uint8_t dev_type = get_device_type(s, real_offset - reg->offset); in xen_pt_linkctrl_reg_init() local 870 if ((dev_type == PCI_EXP_TYPE_RC_END) && (cap_ver == 1)) { in xen_pt_linkctrl_reg_init()
|