Home
last modified time | relevance | path

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

12

/u-boot/arch/arm/mach-imx/
A Dimage-container.c78 if (dev_type == MMC_DEV) { in get_dev_container_size()
94 if (dev_type == QSPI_DEV) { in get_dev_container_size()
107 if (dev_type == NAND_DEV) { in get_dev_container_size()
118 if (dev_type == QSPI_NOR_DEV) in get_dev_container_size()
123 if (dev_type == ROM_API_DEV) { in get_dev_container_size()
143 if (dev_type == MMC_DEV) { in get_boot_device_offset()
160 } else if (dev_type == QSPI_DEV) { in get_boot_device_offset()
162 } else if (dev_type == NAND_DEV) { in get_boot_device_offset()
164 } else if (dev_type == QSPI_NOR_DEV) { in get_boot_device_offset()
166 } else if (dev_type == ROM_API_DEV) { in get_boot_device_offset()
[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()
/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.c207 static int mtd_id_parse(const char *id, const char **ret_id, u8 *dev_type, u8 *dev_num) in mtd_id_parse() argument
211 *dev_type = 0; in mtd_id_parse()
213 *dev_type = MTD_DEV_TYPE_NAND; in mtd_id_parse()
216 *dev_type = MTD_DEV_TYPE_NOR; in mtd_id_parse()
219 *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);
310 u8 dev_type, dev_num, pnum; in do_flerase() local
340 if (argc == 2 && mtd_id_parse(argv[1], NULL, &dev_type, &dev_num) == 0) { in do_flerase()
443 u8 dev_type, dev_num, pnum; in do_protect() local
518 if (argc == 3 && mtd_id_parse(argv[2], NULL, &dev_type, &dev_num) == 0) { in do_protect()
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()
/u-boot/arch/arm/mach-nexell/include/mach/
A Ddisplay_dev.h18 int dev_type; member
A Ddisplay.h221 int dev_type; member
/u-boot/drivers/video/
A Dnexell_display.c306 dp->dev_type = DP_DEVICE_LVDS; in nx_display_parse_dp_lcds()
309 dp->dev_type = DP_DEVICE_RGBLCD; in nx_display_parse_dp_lcds()
312 dp->dev_type = DP_DEVICE_MIPI; in nx_display_parse_dp_lcds()
315 dp->dev_type = DP_DEVICE_HDMI; in nx_display_parse_dp_lcds()
436 switch (dp->dev_type) { in nx_display_setup()
466 printf("fail : not support lcd type %d !!!\n", dp->dev_type); in nx_display_setup()
471 dp_dev_str[dp->dev_type], dp->module, dp->fb_plane->layer, in nx_display_setup()
/u-boot/drivers/dfu/
A Ddfu_virt.c42 dfu->dev_type = DFU_DEV_VIRT; in dfu_fill_entity_virt()
A Ddfu_ram.c66 dfu->dev_type = DFU_DEV_RAM; in dfu_fill_entity_ram()
A Ddfu.c202 if (dfu_buf && dfu->dev_type != dfu_buf_device_type) in dfu_get_buf()
223 dfu_buf_device_type = dfu->dev_type; in dfu_get_buf()
665 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.c178 dfu->dev_type = DFU_DEV_SF; in dfu_fill_entity_sf()
A Ddfu_mtd.c285 dfu->dev_type = DFU_DEV_MTD; in dfu_fill_entity_mtd()
/u-boot/drivers/usb/gadget/
A Df_rockusb.c318 void rockusb_dev_init(char *dev_type, int dev_index) in rockusb_dev_init() argument
322 f_rkusb->dev_type = dev_type; in rockusb_dev_init()
469 f_rkusb->dev_type, f_rkusb->dev_index); in tx_handler_ul_image()
517 printf("failed writing to device %s: %d\n", f_rkusb->dev_type, in rx_handler_dl_image()
631 char *type = f_rkusb->dev_type; in cb_read_lba()
673 char *type = f_rkusb->dev_type; in cb_write_lba()
714 char *type = f_rkusb->dev_type; in cb_erase_lba()
734 printf("failed erasing device %s: %d\n", f_rkusb->dev_type, in cb_erase_lba()
/u-boot/disk/
A Dpart_mac.h29 __u16 dev_type; /* device type */ member
A Dpart_mac.c104 ddesc->dev_type, ddesc->dev_id in part_print_mac()
/u-boot/lib/fwu_updates/
A Dfwu_gpt.c84 if (dfu->dev_type != dfu_dev) in fwu_gpt_get_alt_num()
/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/include/
A Dfs.h268 int file_exists(const char *dev_type, const char *dev_part, const char *file,
A Dimximage.h221 uint8_t dev_type; member
A Ddfu.h114 enum dfu_device_type dev_type; member
/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.c844 int file_exists(const char *dev_type, const char *dev_part, const char *file, in file_exists() argument
847 if (fs_set_blk_dev(dev_type, dev_part, fstype)) in file_exists()

Completed in 55 milliseconds

12