Home
last modified time | relevance | path

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

/u-boot/arch/arm/mach-imx/imx8/
A Dimage.c74 if (dev_type == MMC_DEV) { in get_container_size()
90 if (dev_type == QSPI_DEV) { in get_container_size()
103 if (dev_type == NAND_DEV) { in get_container_size()
114 if (dev_type == QSPI_NOR_DEV) in get_container_size()
129 if (dev_type == MMC_DEV) { in get_boot_device_offset()
146 } else if (dev_type == QSPI_DEV) { in get_boot_device_offset()
148 } else if (dev_type == NAND_DEV) { in get_boot_device_offset()
150 } else if (dev_type == QSPI_NOR_DEV) { in get_boot_device_offset()
157 static int get_imageset_end(void *dev, int dev_type) in get_imageset_end() argument
162 offset1 = get_boot_device_offset(dev, dev_type); in get_imageset_end()
[all …]
/u-boot/arch/arm/mach-stm32mp/cmd_stm32prog/
A Dstm32prog_usb.c129 if (dfu->dev_type != DFU_DEV_VIRT) in stm32prog_write_medium_virt()
151 if (dfu->dev_type != DFU_DEV_VIRT) in stm32prog_read_medium_virt()
172 if (dfu->dev_type != DFU_DEV_VIRT) { in stm32prog_get_medium_size_virt()
175 __func__, dfu->dev_type); in stm32prog_get_medium_size_virt()
A Dstm32prog.c1718 if (dfu->dev_type == DFU_DEV_VIRT) { in dfu_flush_callback()
1726 if (dfu->dev_type == DFU_DEV_RAM) { in dfu_flush_callback()
/u-boot/arch/arm/include/asm/arch-rockchip/
A Df_rockusb.h119 char *dev_type; member
134 void rockusb_dev_init(char *dev_type, int dev_index);
/u-boot/cmd/
A Djffs2.c206 static int mtd_id_parse(const char *id, const char **ret_id, u8 *dev_type, u8 *dev_num) in mtd_id_parse() argument
210 *dev_type = 0; in mtd_id_parse()
212 *dev_type = MTD_DEV_TYPE_NAND; in mtd_id_parse()
215 *dev_type = MTD_DEV_TYPE_NOR; in mtd_id_parse()
218 *dev_type = MTD_DEV_TYPE_ONENAND; in mtd_id_parse()
A Dflash.c20 int mtd_id_parse(const char *id, const char **ret_id, u8 *dev_type, u8 *dev_num);
312 u8 dev_type, dev_num, pnum; in do_flerase() local
341 if ((argc == 2) && (mtd_id_parse(argv[1], NULL, &dev_type, &dev_num) == 0)) { in do_flerase()
447 u8 dev_type, dev_num, pnum; in do_protect() local
520 if ((argc == 3) && (mtd_id_parse(argv[2], NULL, &dev_type, &dev_num) == 0)) { in do_protect()
A Dmtdparts.c1045 int mtd_id_parse(const char *id, const char **ret_id, u8 *dev_type, in mtd_id_parse() argument
1050 *dev_type = 0; in mtd_id_parse()
1052 *dev_type = MTD_DEV_TYPE_NAND; in mtd_id_parse()
1055 *dev_type = MTD_DEV_TYPE_NOR; in mtd_id_parse()
1058 *dev_type = MTD_DEV_TYPE_ONENAND; in mtd_id_parse()
1061 *dev_type = MTD_DEV_TYPE_SPINAND; in mtd_id_parse()
/u-boot/arch/arm/mach-nexell/include/mach/
A Ddisplay_dev.h29 int dev_type; member
A Ddisplay.h221 int dev_type; member
/u-boot/drivers/video/
A Dnexell_display.c308 dp->dev_type = DP_DEVICE_LVDS; in nx_display_parse_dp_lcds()
311 dp->dev_type = DP_DEVICE_RGBLCD; in nx_display_parse_dp_lcds()
314 dp->dev_type = DP_DEVICE_MIPI; in nx_display_parse_dp_lcds()
317 dp->dev_type = DP_DEVICE_HDMI; in nx_display_parse_dp_lcds()
438 switch (dp->dev_type) { in nx_display_setup()
468 printf("fail : not support lcd type %d !!!\n", dp->dev_type); in nx_display_setup()
473 dp_dev_str[dp->dev_type], dp->module, dp->fb_plane->layer, in nx_display_setup()
/u-boot/drivers/dfu/
A Ddfu_virt.c39 dfu->dev_type = DFU_DEV_VIRT; in dfu_fill_entity_virt()
A Ddfu_ram.c70 dfu->dev_type = DFU_DEV_RAM; in dfu_fill_entity_ram()
A Ddfu.c193 if (dfu_buf && dfu->dev_type != dfu_buf_device_type) in dfu_get_buf()
214 dfu_buf_device_type = dfu->dev_type; in dfu_get_buf()
634 dfu_get_dev_type(dfu->dev_type), dfu->alt, in dfu_show_entities()
A Ddfu_nand.c203 dfu->dev_type = DFU_DEV_NAND; in dfu_fill_entity_nand()
A Ddfu_sf.c152 dfu->dev_type = DFU_DEV_SF; in dfu_fill_entity_sf()
A Ddfu_mtd.c263 dfu->dev_type = DFU_DEV_MTD; in dfu_fill_entity_mtd()
A Ddfu_mmc.c442 dfu->dev_type = DFU_DEV_MMC; in dfu_fill_entity_mmc()
/u-boot/disk/
A Dpart_mac.h29 __u16 dev_type; /* device type */ member
A Dpart_mac.c106 ddesc->dev_type, ddesc->dev_id in part_print_mac()
/u-boot/drivers/usb/gadget/
A Df_rockusb.c319 void rockusb_dev_init(char *dev_type, int dev_index) in rockusb_dev_init() argument
323 f_rkusb->dev_type = dev_type; in rockusb_dev_init()
470 f_rkusb->dev_type, f_rkusb->dev_index); in tx_handler_ul_image()
518 printf("failed writing to device %s: %d\n", f_rkusb->dev_type, in rx_handler_dl_image()
632 char *type = f_rkusb->dev_type; in cb_read_lba()
674 char *type = f_rkusb->dev_type; in cb_write_lba()
715 char *type = f_rkusb->dev_type; in cb_erase_lba()
735 printf("failed erasing device %s: %d\n", f_rkusb->dev_type, in cb_erase_lba()
/u-boot/include/
A Dfs.h239 int file_exists(const char *dev_type, const char *dev_part, const char *file,
A Ddfu.h120 enum dfu_device_type dev_type; member
/u-boot/board/friendlyarm/nanopi2/
A Dboard.c171 dp->dev_type = DP_DEVICE_RGBLCD; in nx_display_fixup_dp()
176 dp->dev_type = DP_DEVICE_HDMI; in nx_display_fixup_dp()
185 dp->dev_type = DP_DEVICE_LVDS; in nx_display_fixup_dp()
/u-boot/drivers/ddr/marvell/a38x/
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()
/u-boot/fs/
A Dfs.c792 int file_exists(const char *dev_type, const char *dev_part, const char *file, in file_exists() argument
795 if (fs_set_blk_dev(dev_type, dev_part, fstype)) in file_exists()

Completed in 32 milliseconds