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

12

/u-boot/test/py/tests/
H A Dtest_scsi.py31 dev_type = f.get('device_type')
32 if not dev_type:
39 return dev_num, dev_type, dev_size
43 dev_num, dev_type, dev_size = scsi_setup(u_boot_console)
46 assert f'Type: {dev_type}' in output
53 dev_num, dev_type, dev_size = scsi_setup(u_boot_console)
56 assert f'Type: {dev_type}' in output
63 dev_num, dev_type, dev_size = scsi_setup(u_boot_console)
66 assert f'Type: {dev_type}' in output
73 dev_num, dev_type, dev_siz
[all...]
/u-boot/arch/arm/mach-imx/
H A Dimage-container.c86 static int get_dev_container_size(void *dev, int dev_type, unsigned long offset, u16 *header_length) argument
97 if (dev_type == MMC_DEV) {
113 if (dev_type == QSPI_DEV) {
126 if (dev_type == NAND_DEV) {
137 if (dev_type == QSPI_NOR_DEV)
142 if (dev_type == ROM_API_DEV) {
184 static unsigned long get_boot_device_offset(void *dev, int dev_type) argument
189 if (dev_type == ROM_API_DEV) {
200 if (dev_type == MMC_DEV) {
217 } else if (dev_type
234 get_imageset_end(void *dev, int dev_type) argument
[all...]
/u-boot/arch/arm/mach-nexell/include/mach/
H A Ddisplay_dev.h18 int dev_type; member in struct:nx_display_dev
H A Ddisplay.h221 int dev_type; member in struct:nx_display_plat
/u-boot/disk/
H A Dpart_mac.h29 __u16 dev_type; /* device type */ member in struct:mac_driver_desc
H A Dpart_mac.c103 ddesc->dev_type, ddesc->dev_id
/u-boot/drivers/dfu/
H A Ddfu_virt.c42 dfu->dev_type = DFU_DEV_VIRT;
H A Ddfu_ram.c67 dfu->dev_type = DFU_DEV_RAM;
H A Ddfu.c204 if (dfu_buf && dfu->dev_type != dfu_buf_device_type)
225 dfu_buf_device_type = dfu->dev_type;
668 dfu_get_dev_type(dfu->dev_type), dfu->alt,
H A Ddfu_sf.c178 dfu->dev_type = DFU_DEV_SF;
H A Ddfu_nand.c203 dfu->dev_type = DFU_DEV_NAND;
/u-boot/arch/arm/include/asm/arch-rockchip/
H A Df_rockusb.h119 char *dev_type; member in struct:f_rockusb
134 void rockusb_dev_init(char *dev_type, int dev_index);
/u-boot/arch/arm/mach-stm32mp/cmd_stm32prog/
H A Dstm32prog_usb.c130 if (dfu->dev_type != DFU_DEV_VIRT)
152 if (dfu->dev_type != DFU_DEV_VIRT)
173 if (dfu->dev_type != DFU_DEV_VIRT) {
175 log_debug("%s, invalid dev_type = %d\n",
176 __func__, dfu->dev_type);
/u-boot/cmd/
H A Djffs2.c203 * @param dev_type parsed device type (output)
207 static int mtd_id_parse(const char *id, const char **ret_id, u8 *dev_type, u8 *dev_num) argument
211 *dev_type = 0;
213 *dev_type = MTD_DEV_TYPE_NAND;
216 *dev_type = MTD_DEV_TYPE_NOR;
219 *dev_type = MTD_DEV_TYPE_ONENAND;
H 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; local
340 if (argc == 2 && mtd_id_parse(argv[1], NULL, &dev_type, &dev_num) == 0) {
443 u8 dev_type, dev_num, pnum; local
518 if (argc == 3 && mtd_id_parse(argv[2], NULL, &dev_type, &dev_num) == 0) {
H A Dmtdparts.c1038 * @param dev_type parsed device type (output)
1042 int mtd_id_parse(const char *id, const char **ret_id, u8 *dev_type, argument
1047 *dev_type = 0;
1049 *dev_type = MTD_DEV_TYPE_NAND;
1052 *dev_type = MTD_DEV_TYPE_NOR;
1055 *dev_type = MTD_DEV_TYPE_ONENAND;
1058 *dev_type = MTD_DEV_TYPE_SPINAND;
1338 * Given partition identifier in form of <dev_type><dev_num>,<part_num> find
/u-boot/lib/fwu_updates/
H A Dfwu_gpt.c84 if (dfu->dev_type != dfu_dev)
H A Dfwu_mtd.c73 if (!dfu || dfu->dev_type != DFU_DEV_MTD ||
/u-boot/drivers/video/
H A Dnexell_display.c306 dp->dev_type = DP_DEVICE_LVDS;
309 dp->dev_type = DP_DEVICE_RGBLCD;
312 dp->dev_type = DP_DEVICE_MIPI;
315 dp->dev_type = DP_DEVICE_HDMI;
436 switch (dp->dev_type) {
466 printf("fail : not support lcd type %d !!!\n", dp->dev_type);
471 dp_dev_str[dp->dev_type], dp->module, dp->fb_plane->layer,
/u-boot/include/
H A Dfs.h267 int file_exists(const char *dev_type, const char *dev_part, const char *file,
H A Ddfu.h119 enum dfu_device_type dev_type; member in struct:dfu_entity
H A Dimximage.h222 uint8_t dev_type; member in struct:__anon33
/u-boot/drivers/usb/gadget/
H A Df_rockusb.c318 void rockusb_dev_init(char *dev_type, int dev_index) argument
322 f_rkusb->dev_type = dev_type;
469 f_rkusb->dev_type, f_rkusb->dev_index);
517 printf("failed writing to device %s: %d\n", f_rkusb->dev_type,
631 char *type = f_rkusb->dev_type;
673 char *type = f_rkusb->dev_type;
714 char *type = f_rkusb->dev_type;
734 printf("failed erasing device %s: %d\n", f_rkusb->dev_type,
/u-boot/board/friendlyarm/nanopi2/
H A Dboard.c171 dp->dev_type = DP_DEVICE_RGBLCD;
176 dp->dev_type = DP_DEVICE_HDMI;
185 dp->dev_type = DP_DEVICE_LVDS;
/u-boot/drivers/ddr/marvell/a38x/
H A Dmv_ddr_spd.c365 unsigned char dev_type = spd_data->byte_fields.byte_2; local
367 return dev_type;

Completed in 230 milliseconds

12