Home
last modified time | relevance | path

Searched refs:dev_type (Results 1 – 25 of 28) sorted by relevance

12

/openbmc/phosphor-misc/usb-ctrl/
H A Dusb-ctrl149 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 Df_rockusb.h119 char *dev_type; member
134 void rockusb_dev_init(char *dev_type, int dev_index);
/openbmc/u-boot/cmd/
H A Djffs2.c202 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 Dflash.c18 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 Dmtdparts.c1042 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 Dnand.c36 int id_parse(const char *id, const char **ret_id, u8 *dev_type, u8 *dev_num);
/openbmc/u-boot/drivers/usb/gadget/
H A Df_rockusb.c314 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 Dpart_mac.h29 __u16 dev_type; /* device type */ member
H A Dpart_mac.c104 ddesc->dev_type, ddesc->dev_id in part_print_mac()
/openbmc/u-boot/drivers/dfu/
H A Ddfu_ram.c69 dfu->dev_type = DFU_DEV_RAM; in dfu_fill_entity_ram()
H A Ddfu_sf.c127 dfu->dev_type = DFU_DEV_SF; in dfu_fill_entity_sf()
H A Ddfu_nand.c197 dfu->dev_type = DFU_DEV_NAND; in dfu_fill_entity_nand()
H A Ddfu_mmc.c381 dfu->dev_type = DFU_DEV_MMC; in dfu_fill_entity_mmc()
H A Ddfu.c499 dfu_get_dev_type(dfu->dev_type), dfu->alt, in dfu_show_entities()
/openbmc/u-boot/include/
H A Dfs.h186 int file_exists(const char *dev_type, const char *dev_part, const char *file,
H A Ddfu.h100 enum dfu_device_type dev_type; member
/openbmc/u-boot/drivers/ddr/marvell/a38x/
H A Dmv_ddr_spd.c365 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 Dbootmap.h138 uint8_t dev_type; /* == DEV_TYPE_* */ member
257 uint8_t dev_type; /* = 0 */ member
H A Dcio.h277 u16 dev_type; /* device type */ member
H A Dbootmap.c79 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 Dfs.c711 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 Dipmi_sdr.h626 uint8_t dev_type; member
660 uint8_t dev_type; member
/openbmc/ipmitool/lib/
H A Dipmi_gendev.c93 switch(dev->dev_type) in ipmi_gendev_get_eeprom_size()
/openbmc/qemu/include/hw/s390x/
H A Dcss.h46 uint16_t dev_type; /* device type */ member
/openbmc/qemu/hw/xen/
H A Dxen_pt_config_init.c865 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()

12