/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 …]
|
/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()
|
/openbmc/linux/drivers/mtd/spi-nor/controllers/ |
H A D | hisi-sfc.c | 113 enum hifmc_iftype if_type; in hisi_spi_nor_get_if_type() local 117 if_type = IF_TYPE_DUAL; in hisi_spi_nor_get_if_type() 120 if_type = IF_TYPE_DIO; in hisi_spi_nor_get_if_type() 123 if_type = IF_TYPE_QUAD; in hisi_spi_nor_get_if_type() 126 if_type = IF_TYPE_QIO; in hisi_spi_nor_get_if_type() 130 if_type = IF_TYPE_STD; in hisi_spi_nor_get_if_type() 134 return if_type; in hisi_spi_nor_get_if_type() 234 u8 if_type = 0; in hisi_spi_nor_dma_transfer() local 250 if_type = hisi_spi_nor_get_if_type(nor->read_proto); in hisi_spi_nor_dma_transfer() 252 if_type = hisi_spi_nor_get_if_type(nor->write_proto); in hisi_spi_nor_dma_transfer() [all …]
|
/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()
|
/openbmc/linux/drivers/perf/ |
H A D | arm-cci.c | 335 int if_type; in cci400_validate_hw_event() local 350 if_type = CCI_IF_SLAVE; in cci400_validate_hw_event() 356 if_type = CCI_IF_MASTER; in cci400_validate_hw_event() 362 if (ev_code >= cci_pmu->model->event_ranges[if_type].min && in cci400_validate_hw_event() 363 ev_code <= cci_pmu->model->event_ranges[if_type].max) in cci400_validate_hw_event() 543 int if_type; in cci500_validate_hw_event() local 556 if_type = CCI_IF_SLAVE; in cci500_validate_hw_event() 564 if_type = CCI_IF_MASTER; in cci500_validate_hw_event() 567 if_type = CCI_IF_GLOBAL; in cci500_validate_hw_event() 573 if (ev_code >= cci_pmu->model->event_ranges[if_type].min && in cci500_validate_hw_event() [all …]
|
/openbmc/linux/drivers/gpu/drm/sprd/ |
H A D | sprd_dpu.c | 386 if (ctx->if_type == SPRD_DPU_IF_EDPI) in sprd_dpu_flip() 390 if (ctx->if_type == SPRD_DPU_IF_DPI) { in sprd_dpu_flip() 397 } else if (ctx->if_type == SPRD_DPU_IF_EDPI) { in sprd_dpu_flip() 417 if (ctx->if_type == SPRD_DPU_IF_DPI) { in sprd_dpu_init() 435 } else if (ctx->if_type == SPRD_DPU_IF_EDPI) { in sprd_dpu_init() 470 if (ctx->if_type == SPRD_DPU_IF_DPI) { in sprd_dpi_init() 497 if (ctx->if_type == SPRD_DPU_IF_DPI) in sprd_dpu_stop() 630 dpu->ctx.if_type = SPRD_DPU_IF_DPI; in sprd_crtc_mode_set_nofb() 632 dpu->ctx.if_type = SPRD_DPU_IF_EDPI; in sprd_crtc_mode_set_nofb()
|
H A D | sprd_dpu.h | 48 u8 if_type; member
|
/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/linux/drivers/media/platform/ti/am437x/ |
H A D | am437x-vpfe.c | 357 if (ccdc->ccdc_cfg.if_type != VPFE_RAW_BAYER) in vpfe_ccdc_set_params() 412 if (ccdc->ccdc_cfg.if_type == VPFE_BT656_10BIT) in vpfe_ccdc_config_ycbcr() 435 if (ccdc->ccdc_cfg.if_type == VPFE_BT656_10BIT) in vpfe_ccdc_config_ycbcr() 596 if (ccdc->ccdc_cfg.if_type == VPFE_RAW_BAYER) in vpfe_ccdc_set_buftype() 606 if (ccdc->ccdc_cfg.if_type == VPFE_RAW_BAYER) in vpfe_ccdc_get_buftype() 617 __func__, ccdc->ccdc_cfg.if_type, print_fourcc(pixfmt)); in vpfe_ccdc_set_pixel_format() 619 if (ccdc->ccdc_cfg.if_type == VPFE_RAW_BAYER) { in vpfe_ccdc_set_pixel_format() 665 if (ccdc->ccdc_cfg.if_type == VPFE_RAW_BAYER) { in vpfe_ccdc_get_pixel_format() 681 if (ccdc->ccdc_cfg.if_type == VPFE_RAW_BAYER) { in vpfe_ccdc_set_image_window() 698 if (ccdc->ccdc_cfg.if_type == VPFE_RAW_BAYER) in vpfe_ccdc_get_image_window() [all …]
|
H A D | am437x-vpfe.h | 48 enum vpfe_hw_if_type if_type; member 192 enum vpfe_hw_if_type if_type; member
|
/openbmc/linux/net/vmw_vsock/ |
H A D | hyperv_transport.c | 297 guid_t *if_instance, *if_type; in hvs_open_connection() local 309 if_type = &chan->offermsg.offer.if_type; in hvs_open_connection() 312 if (!is_valid_srv_id(if_type)) in hvs_open_connection() 315 hvs_addr_init(&addr, conn_from_host ? if_type : if_instance); in hvs_open_connection() 336 hvs_addr_init(&vnew->local_addr, if_type); in hvs_open_connection() 415 hvs_new->vm_srv_id = *if_type; in hvs_open_connection()
|
/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/linux/arch/arm/mach-davinci/ |
H A D | pdata-quirks.c | 87 .if_type = VPIF_IF_BT656, 97 .if_type = VPIF_IF_BT656,
|
/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/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/linux/drivers/hv/ |
H A D | hv_trace.h | 37 __array(char, if_type, 16) 47 export_guid(__entry->if_type, &offer->offer.if_type); 58 __entry->if_type, __entry->if_instance,
|
H A D | channel_mgmt.c | 194 const guid_t *guid = &channel->offermsg.offer.if_type; in hv_get_dev_type() 525 &newchannel->offermsg.offer.if_type, in vmbus_add_channel_work() 615 if (guid_equal(&channel->offermsg.offer.if_type, in vmbus_process_offer() 616 &newchannel->offermsg.offer.if_type) && in vmbus_process_offer() 1000 const guid_t *guid = &offer->offer.if_type; in vmbus_is_valid_offer()
|
/openbmc/linux/include/media/davinci/ |
H A D | vpfe_types.h | 32 enum vpfe_hw_if_type if_type; member
|
H A D | vpif_types.h | 20 enum vpif_if_type if_type; member
|