Home
last modified time | relevance | path

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

12

/u-boot/drivers/block/
A Dblk-uclass.c95 enum if_type if_type; in blk_get_devnum_by_typename() local
191 if (desc->if_type == if_type) { in get_desc()
220 int blk_list_part(enum if_type if_type) in blk_list_part() argument
260 void blk_list_devices(enum if_type if_type) in blk_list_devices() argument
372 if (desc->if_type == if_type) in blk_first_device()
388 if_type = desc->if_type; in blk_next_device()
396 if (desc->if_type == if_type) in blk_next_device()
508 int blk_find_max_devnum(enum if_type if_type) in blk_find_max_devnum() argument
528 int blk_next_free_devnum(enum if_type if_type) in blk_next_free_devnum() argument
587 desc->if_type = if_type; in blk_create_device()
[all …]
A Dblk_legacy.c19 if (if_type == entry->if_type) in blk_driver_lookup_type()
42 const char *blk_get_if_type_name(enum if_type if_type) in blk_get_if_type_name() argument
74 int blk_list_part(enum if_type if_type) in blk_list_part() argument
101 int blk_print_part_devnum(enum if_type if_type, int devnum) in blk_print_part_devnum() argument
119 void blk_list_devices(enum if_type if_type) in blk_list_devices() argument
137 int blk_print_device_num(enum if_type if_type, int devnum) in blk_print_device_num() argument
154 int blk_show_device(enum if_type if_type, int devnum) in blk_show_device() argument
179 struct blk_desc *blk_get_devnum_by_type(enum if_type if_type, int devnum) in blk_get_devnum_by_type() argument
219 ulong blk_read_devnum(enum if_type if_type, int devnum, lbaint_t start, in blk_read_devnum() argument
239 ulong blk_write_devnum(enum if_type if_type, int devnum, lbaint_t start, in blk_write_devnum() argument
[all …]
A Dsandbox.c190 blk_dev->if_type = IF_TYPE_HOST;
261 .if_type = IF_TYPE_HOST,
A Dide.c560 dev_desc->if_type = IF_TYPE_IDE; in ide_ident()
573 dev_desc->if_type = IF_TYPE_ATAPI; in ide_ident()
659 if (dev_desc->if_type == IF_TYPE_ATAPI) { in ide_ident()
817 ide_dev_desc[i].if_type = IF_TYPE_IDE; in ide_init()
1244 .if_type = IF_TYPE_IDE,
/u-boot/include/
A Dblk.h23 enum if_type { enum
66 enum if_type if_type; /* type of the interface */ member
387 int blk_find_max_devnum(enum if_type if_type);
398 int blk_next_free_devnum(enum if_type if_type);
485 enum if_type if_type; member
583 int blk_list_part(enum if_type if_type);
593 void blk_list_devices(enum if_type if_type);
604 int blk_show_device(enum if_type if_type, int devnum);
617 int blk_print_device_num(enum if_type if_type, int devnum);
627 int blk_print_part_devnum(enum if_type if_type, int devnum);
[all …]
A Defi_loader.h67 enum if_type if_type; member
/u-boot/cmd/
A Dblk_common.c15 int blk_common_cmd(int argc, char *const argv[], enum if_type if_type, in blk_common_cmd() argument
18 const char *if_name = blk_get_if_type_name(if_type); in blk_common_cmd()
26 blk_list_devices(if_type); in blk_common_cmd()
29 if (blk_print_device_num(if_type, *cur_devnump)) { in blk_common_cmd()
35 if (blk_list_part(if_type)) in blk_common_cmd()
45 if (!blk_show_device(if_type, dev)) { in blk_common_cmd()
55 if (blk_print_part_devnum(if_type, dev)) { in blk_common_cmd()
74 n = blk_read_devnum(if_type, *cur_devnump, blk, cnt, in blk_common_cmd()
89 n = blk_write_devnum(if_type, *cur_devnump, blk, cnt, in blk_common_cmd()
A Dlsblk.c39 blk_get_if_type_name(desc->if_type), in do_lsblk()
/u-boot/lib/efi_loader/
A Defi_disk.c474 if (part && !efi_system_partition.if_type) { in efi_disk_add_dev()
476 efi_system_partition.if_type = desc->if_type; in efi_disk_add_dev()
480 blk_get_if_type_name(desc->if_type), in efi_disk_add_dev()
564 const char *if_typename = blk_get_if_type_name(desc->if_type); in efi_disk_register()
587 int i, if_type; in efi_disk_register() local
590 for (if_type = 0; if_type < IF_TYPE_COUNT; if_type++) { in efi_disk_register()
594 cur_drvr = blk_driver_lookup_type(if_type); in efi_disk_register()
604 desc = blk_get_devnum_by_type(if_type, i); in efi_disk_register()
A Defi_var_file.c34 if (!efi_system_partition.if_type) { in efi_set_blk_dev_to_system_partition()
40 r = fs_set_blk_dev(blk_get_if_type_name(efi_system_partition.if_type), in efi_set_blk_dev_to_system_partition()
A Defi_device_path_to_text.c148 if (mdp->if_type <= 1) in dp_msging()
153 s += sprintf(s, ",%u)", mdp->if_type); in dp_msging()
A Defi_device_path.c543 dp->if_type = 1; in dp_fill()
719 int ret = blk_find_device(desc->if_type, desc->devnum, &dev); in dp_part_size()
817 int ret = blk_find_device(desc->if_type, desc->devnum, &dev); in dp_part_fill()
840 udp->parent_port_number = desc->if_type; in dp_part_fill()
1017 ndp->if_type = 1; /* Ethernet */ in efi_dp_from_eth()
A Defi_net.c927 netobj->net_mode.if_type = ARP_ETHER; in efi_net_register()
/u-boot/drivers/mmc/
A Dmmc_legacy.c135 .if_type = IF_TYPE_MMC,
197 bdesc->if_type = IF_TYPE_MMC; in mmc_create()
257 .if_type = IF_TYPE_MMC,
A Dmmc-uclass.c449 blkcache_invalidate(desc->if_type, desc->devnum); in mmc_select_hwpart()
/u-boot/drivers/ata/
A Dsata.c96 sata_dev_desc[i].if_type = IF_TYPE_SATA; in __sata_initialize()
151 .if_type = IF_TYPE_SATA,
/u-boot/drivers/net/
A Dfsl_enetc.c147 if (priv->if_type == PHY_INTERFACE_MODE_SGMII_2500) in enetc_init_sgmii()
200 switch (priv->if_type) { in enetc_setup_mac_iface()
244 priv->if_type = PHY_INTERFACE_MODE_NONE; in enetc_start_pcs()
263 priv->if_type = phy_get_interface_by_name(if_str); in enetc_start_pcs()
267 if (priv->if_type < 0) in enetc_start_pcs()
268 priv->if_type = PHY_INTERFACE_MODE_NONE; in enetc_start_pcs()
270 switch (priv->if_type) { in enetc_start_pcs()
A Dfsl_enetc.h156 int if_type; member
/u-boot/disk/
A Dpart.c132 switch (dev_desc->if_type) { in dev_print()
169 printf("Unhandled device type: %i\n", dev_desc->if_type); in dev_print()
242 blkcache_invalidate(dev_desc->if_type, dev_desc->devnum); in part_init()
265 switch (dev_desc->if_type) { in print_part_header()
770 switch (dev_desc->if_type) { in part_set_generic_name()
/u-boot/drivers/virtio/
A Dvirtio_blk.c78 desc->if_type = IF_TYPE_VIRTIO; in virtio_blk_bind()
/u-boot/lib/efi_driver/
A Defi_block_device.c122 if_typename = blk_get_if_type_name(desc->if_type); in efi_bl_bind_partitions()
/u-boot/board/st/common/
A Dstm32mp_dfu.c40 name = blk_get_if_type_name(desc->if_type); in board_get_alt_info_mmc()
/u-boot/drivers/scsi/
A Dscsi.c464 dev_desc->if_type = IF_TYPE_SCSI; in scsi_init_dev_desc()
705 .if_type = IF_TYPE_SCSI,
/u-boot/common/
A Dusb_storage.c267 blkdev->if_type = IF_TYPE_USB; in usb_stor_probe_device()
1566 .if_type = IF_TYPE_USB,
/u-boot/drivers/xen/
A Dpvblock.c665 desc->if_type = IF_TYPE_PVBLOCK; in pvblock_blk_bind()

Completed in 33 milliseconds

12