/third_party/uboot/u-boot-2020.01/drivers/block/ |
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 …]
|
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 …]
|
D | sandbox.c | 181 blk_dev->if_type = IF_TYPE_HOST; 235 .if_type = IF_TYPE_HOST,
|
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,
|
/third_party/uboot/u-boot-2020.01/include/ |
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 …]
|
/third_party/uboot/u-boot-2020.01/cmd/ |
D | blk_common.c | 14 int blk_common_cmd(int argc, char * const argv[], enum if_type if_type, in blk_common_cmd() argument 17 const char *if_name = blk_get_if_type_name(if_type); in blk_common_cmd() 25 blk_list_devices(if_type); in blk_common_cmd() 28 if (blk_print_device_num(if_type, *cur_devnump)) { in blk_common_cmd() 34 if (blk_list_part(if_type)) in blk_common_cmd() 43 if (!blk_show_device(if_type, dev)) { in blk_common_cmd() 53 if (blk_print_part_devnum(if_type, dev)) { in blk_common_cmd() 72 n = blk_read_devnum(if_type, *cur_devnump, blk, cnt, in blk_common_cmd() 87 n = blk_write_devnum(if_type, *cur_devnump, blk, cnt, in blk_common_cmd()
|
/third_party/uboot/u-boot-2020.01/drivers/net/ |
D | fsl_enetc.c | 78 if (priv->if_type == PHY_INTERFACE_MODE_SGMII_2500) in enetc_init_sgmii() 157 priv->if_type = PHY_INTERFACE_MODE_NONE; in enetc_start_pcs() 176 priv->if_type = phy_get_interface_by_name(if_str); in enetc_start_pcs() 180 if (priv->if_type < 0) in enetc_start_pcs() 181 priv->if_type = PHY_INTERFACE_MODE_NONE; in enetc_start_pcs() 183 switch (priv->if_type) { in enetc_start_pcs() 428 if (priv->if_type == PHY_INTERFACE_MODE_RGMII || in enetc_start() 429 priv->if_type == PHY_INTERFACE_MODE_RGMII_ID || in enetc_start() 430 priv->if_type == PHY_INTERFACE_MODE_RGMII_RXID || in enetc_start() 431 priv->if_type == PHY_INTERFACE_MODE_RGMII_TXID) in enetc_start()
|
D | fsl_enetc.h | 155 int if_type; member
|
/third_party/uboot/u-boot-2020.01/lib/efi_loader/ |
D | efi_disk.c | 443 const char *if_typename = blk_get_if_type_name(desc->if_type); in efi_disk_register() 466 int i, if_type; in efi_disk_register() local 469 for (if_type = 0; if_type < IF_TYPE_COUNT; if_type++) { in efi_disk_register() 473 cur_drvr = blk_driver_lookup_type(if_type); in efi_disk_register() 483 desc = blk_get_devnum_by_type(if_type, i); in efi_disk_register()
|
D | efi_device_path_to_text.c | 131 if (mdp->if_type <= 1) in dp_msging() 136 s += sprintf(s, ",%u)", mdp->if_type); in dp_msging()
|
D | efi_device_path.c | 523 dp->if_type = 1; in dp_fill() 666 int ret = blk_find_device(desc->if_type, desc->devnum, &dev); in dp_part_size() 764 int ret = blk_find_device(desc->if_type, desc->devnum, &dev); in dp_part_fill() 787 udp->parent_port_number = desc->if_type; in dp_part_fill() 942 ndp->if_type = 1; /* Ethernet */ in efi_dp_from_eth()
|
D | efi_net.c | 885 netobj->net_mode.if_type = ARP_ETHER; in efi_net_register()
|
/third_party/uboot/u-boot-2020.01/drivers/mmc/ |
D | mmc_legacy.c | 139 .if_type = IF_TYPE_MMC, 201 bdesc->if_type = IF_TYPE_MMC; in mmc_create() 261 .if_type = IF_TYPE_MMC,
|
D | mmc-uclass.c | 387 blkcache_invalidate(desc->if_type, desc->devnum); in mmc_select_hwpart()
|
/third_party/uboot/u-boot-2020.01/drivers/ata/ |
D | sata.c | 94 sata_dev_desc[i].if_type = IF_TYPE_SATA; in __sata_initialize() 149 .if_type = IF_TYPE_SATA,
|
/third_party/uboot/u-boot-2020.01/disk/ |
D | part.c | 129 switch (dev_desc->if_type) { in dev_print() 164 printf("Unhandled device type: %i\n", dev_desc->if_type); in dev_print() 237 blkcache_invalidate(dev_desc->if_type, dev_desc->devnum); in part_init() 260 switch (dev_desc->if_type) { in print_part_header() 751 switch (dev_desc->if_type) { in part_set_generic_name()
|
/third_party/uboot/u-boot-2020.01/drivers/virtio/ |
D | virtio_blk.c | 77 desc->if_type = IF_TYPE_VIRTIO; in virtio_blk_bind()
|
/third_party/uboot/u-boot-2020.01/lib/efi_driver/ |
D | efi_block_device.c | 118 if_typename = blk_get_if_type_name(desc->if_type); in efi_bl_bind_partitions()
|
/third_party/uboot/u-boot-2020.01/drivers/mtd/spi/hifmc100/ |
D | hifmc100.c | 64 unsigned char if_type = 0; in hifmc100_dma_transfer() local 83 if_type = spi->write->iftype; in hifmc100_dma_transfer() 87 if_type = spi->read->iftype; in hifmc100_dma_transfer() 93 op_cfg_mem_if_type(if_type) | op_cfg_addr_num(spi->addrcycle) | in hifmc100_dma_transfer()
|
/third_party/uboot/u-boot-2020.01/drivers/scsi/ |
D | scsi.c | 460 dev_desc->if_type = IF_TYPE_SCSI; in scsi_init_dev_desc() 701 .if_type = IF_TYPE_SCSI,
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
D | driver_i.h | 935 enum wpa_driver_if_type if_type, in wpa_drv_get_pref_freq_list() argument 942 wpa_s, if_type, num, freq_list); in wpa_drv_get_pref_freq_list() 946 return wpa_s->driver->get_pref_freq_list(wpa_s->drv_priv, if_type, in wpa_drv_get_pref_freq_list()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
D | driver_i.h | 935 enum wpa_driver_if_type if_type, in wpa_drv_get_pref_freq_list() argument 942 wpa_s, if_type, num, freq_list); in wpa_drv_get_pref_freq_list() 946 return wpa_s->driver->get_pref_freq_list(wpa_s->drv_priv, if_type, in wpa_drv_get_pref_freq_list()
|
/third_party/uboot/u-boot-2020.01/common/ |
D | usb_storage.c | 263 blkdev->if_type = IF_TYPE_USB; in usb_stor_probe_device() 1558 .if_type = IF_TYPE_USB,
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
D | vlan_full.c | 14 #undef if_type
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
D | vlan_full.c | 14 #undef if_type
|