| /openbmc/u-boot/drivers/block/ |
| H A D | blk-uclass.c | 44 static enum if_type if_typename_to_iftype(const char *if_typename) in if_typename_to_iftype() 57 static enum uclass_id if_type_to_uclass_id(enum if_type if_type) in if_type_to_uclass_id() argument 59 return if_type_uclass_id[if_type]; in if_type_to_uclass_id() 62 const char *blk_get_if_type_name(enum if_type if_type) in blk_get_if_type_name() argument 64 return if_typename_str[if_type]; in blk_get_if_type_name() 67 struct blk_desc *blk_get_devnum_by_type(enum if_type if_type, int devnum) in blk_get_devnum_by_type() argument 73 ret = blk_get_device(if_type, devnum, &dev); in blk_get_devnum_by_type() 89 enum if_type if_type; in blk_get_devnum_by_typename() local 94 if_type = if_typename_to_iftype(if_typename); in blk_get_devnum_by_typename() 95 if (if_type == IF_TYPE_UNKNOWN) { in blk_get_devnum_by_typename() [all …]
|
| H A D | blk_legacy.c | 10 struct blk_driver *blk_driver_lookup_type(int if_type) in blk_driver_lookup_type() argument 17 if (if_type == entry->if_type) in blk_driver_lookup_type() 40 const char *blk_get_if_type_name(enum if_type if_type) in blk_get_if_type_name() argument 42 struct blk_driver *drv = blk_driver_lookup_type(if_type); in blk_get_if_type_name() 72 int blk_list_part(enum if_type if_type) in blk_list_part() argument 79 drv = blk_driver_lookup_type(if_type); in blk_list_part() 99 int blk_print_part_devnum(enum if_type if_type, int devnum) in blk_print_part_devnum() argument 101 struct blk_driver *drv = blk_driver_lookup_type(if_type); in blk_print_part_devnum() 117 void blk_list_devices(enum if_type if_type) in blk_list_devices() argument 119 struct blk_driver *drv = blk_driver_lookup_type(if_type); in blk_list_devices() [all …]
|
| H A D | sandbox.c | 181 blk_dev->if_type = IF_TYPE_HOST; 235 .if_type = IF_TYPE_HOST,
|
| H A D | ide.c | 556 dev_desc->if_type = IF_TYPE_IDE; in ide_ident() 569 dev_desc->if_type = IF_TYPE_ATAPI; in ide_ident() 655 if (dev_desc->if_type == IF_TYPE_ATAPI) { in ide_ident() 813 ide_dev_desc[i].if_type = IF_TYPE_IDE; in ide_init() 1240 .if_type = IF_TYPE_IDE,
|
| /openbmc/u-boot/include/ |
| H A D | blk.h | 23 enum if_type { enum 65 enum if_type if_type; /* type of the interface */ member 289 int blk_find_device(int if_type, int devnum, struct udevice **devp); 299 int blk_get_device(int if_type, int devnum, struct udevice **devp); 310 int blk_first_device(int if_type, struct udevice **devp); 340 const char *name, int if_type, int devnum, int blksz, 357 const char *name, int if_type, int devnum, int blksz, 368 int blk_unbind_all(int if_type); 380 int blk_find_max_devnum(enum if_type if_type); 391 int blk_next_free_devnum(enum if_type if_type); [all …]
|
| H A D | efi_api.h | 433 u8 if_type; member 1207 u8 if_type; member
|
| /openbmc/u-boot/cmd/ |
| H A D | blk_common.c | 15 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() 44 if (!blk_show_device(if_type, dev)) { in blk_common_cmd() 54 if (blk_print_part_devnum(if_type, dev)) { in blk_common_cmd() 73 n = blk_read_devnum(if_type, *cur_devnump, blk, cnt, in blk_common_cmd() 88 n = blk_write_devnum(if_type, *cur_devnump, blk, cnt, in blk_common_cmd()
|
| H A D | mmc.c | 114 blkcache_invalidate(bd->if_type, bd->devnum); in init_mmc_device()
|
| /openbmc/u-boot/lib/efi_loader/ |
| H A D | efi_disk.c | 369 const char *if_typename = blk_get_if_type_name(desc->if_type); in efi_disk_register() 392 int i, if_type; in efi_disk_register() local 395 for (if_type = 0; if_type < IF_TYPE_COUNT; if_type++) { in efi_disk_register() 399 cur_drvr = blk_driver_lookup_type(if_type); in efi_disk_register() 409 desc = blk_get_devnum_by_type(if_type, i); in efi_disk_register()
|
| H A D | efi_device_path_to_text.c | 122 if (mdp->if_type != 0 && mdp->if_type != 1) in dp_msging() 129 mdp->if_type); in dp_msging()
|
| H A D | efi_device_path.c | 499 dp->if_type = 1; in dp_fill() 624 int ret = blk_find_device(desc->if_type, desc->devnum, &dev); in dp_part_size() 722 int ret = blk_find_device(desc->if_type, desc->devnum, &dev); in dp_part_fill() 745 udp->parent_port_number = desc->if_type; in dp_part_fill() 876 ndp->if_type = 1; /* Ethernet */ in efi_dp_from_eth()
|
| H A D | efi_net.c | 645 netobj->net_mode.if_type = ARP_ETHER; in efi_net_register()
|
| /openbmc/u-boot/drivers/mmc/ |
| H A D | mmc_legacy.c | 139 .if_type = IF_TYPE_MMC, 192 bdesc->if_type = IF_TYPE_MMC; in mmc_create() 252 .if_type = IF_TYPE_MMC,
|
| /openbmc/u-boot/drivers/ata/ |
| H A D | sata.c | 94 sata_dev_desc[i].if_type = IF_TYPE_SATA; in __sata_initialize() 149 .if_type = IF_TYPE_SATA,
|
| /openbmc/u-boot/disk/ |
| H A D | part.c | 128 switch (dev_desc->if_type) { in dev_print() 163 printf("Unhandled device type: %i\n", dev_desc->if_type); in dev_print() 236 blkcache_invalidate(dev_desc->if_type, dev_desc->devnum); in part_init() 259 switch (dev_desc->if_type) { in print_part_header() 683 switch (dev_desc->if_type) { in part_set_generic_name()
|
| /openbmc/ipmitool/src/plugins/bmc/ |
| H A D | bmc.c | 57 static int bmc_method(int fd, int *if_type); 283 bmc_method(int fd, int *if_type) in bmc_method() argument 307 *if_type = method; in bmc_method()
|
| /openbmc/u-boot/drivers/virtio/ |
| H A D | virtio_blk.c | 77 desc->if_type = IF_TYPE_VIRTIO; in virtio_blk_bind()
|
| /openbmc/u-boot/lib/efi_driver/ |
| H A D | efi_block_device.c | 117 if_typename = blk_get_if_type_name(desc->if_type); in efi_bl_bind_partitions()
|
| /openbmc/u-boot/drivers/scsi/ |
| H A D | scsi.c | 469 dev_desc->if_type = IF_TYPE_SCSI; in scsi_init_dev_desc() 703 .if_type = IF_TYPE_SCSI,
|
| /openbmc/u-boot/common/ |
| H A D | usb_storage.c | 263 blkdev->if_type = IF_TYPE_USB; in usb_stor_probe_device() 1557 .if_type = IF_TYPE_USB,
|
| /openbmc/u-boot/fs/fat/ |
| H A D | fat.c | 1032 switch (cur_dev->if_type) { in file_fat_detectfs()
|