| /u-boot/lib/efi_loader/ |
| A D | efi_device_path.c | 79 dp = ((void *)dp) + dp->length; in efi_dp_next() 466 if (!dp || !*dp) in efi_dp_get_next_instance() 618 dp->dp.length = sizeof(*dp); in dp_fill() 639 dp->dp.length = sizeof(*dp) + 1; in dp_fill() 657 dp->dp.length = sizeof(*dp) + 1; in dp_fill() 674 dp->dp.length = sizeof(*dp) + 1; in dp_fill() 689 dp->dp.length = sizeof(*dp); in dp_fill() 706 dp->dp.length = sizeof(*dp); in dp_fill() 735 dp->dp.length = sizeof(*dp); in dp_fill() 751 dp->dp.length = sizeof(*dp); in dp_fill() [all …]
|
| A D | efi_root_node.c | 33 struct efi_root_dp *dp; in efi_root_node_register() local 36 dp = calloc(1, sizeof(*dp)); in efi_root_node_register() 37 if (!dp) in efi_root_node_register() 41 dp->vendor.dp.type = DEVICE_PATH_TYPE_HARDWARE_DEVICE; in efi_root_node_register() 42 dp->vendor.dp.sub_type = DEVICE_PATH_SUB_TYPE_VENDOR; in efi_root_node_register() 43 dp->vendor.dp.length = sizeof(struct efi_device_path_vendor); in efi_root_node_register() 44 dp->vendor.guid = efi_u_boot_guid; in efi_root_node_register() 47 dp->end.type = DEVICE_PATH_TYPE_END; in efi_root_node_register() 48 dp->end.sub_type = DEVICE_PATH_SUB_TYPE_END; in efi_root_node_register() 49 dp->end.length = sizeof(struct efi_device_path); in efi_root_node_register() [all …]
|
| A D | efi_device_path_to_text.c | 47 s += sprintf(s, "UNKNOWN(%04x,%04x)", dp->type, dp->sub_type); in dp_unknown() 53 switch (dp->sub_type) { in dp_hardware() 87 s = dp_unknown(s, dp); in dp_hardware() 95 switch (dp->sub_type) { in dp_acpi() 105 s = dp_unknown(s, dp); in dp_acpi() 113 switch (dp->sub_type) { in dp_msging() 235 s = dp_unknown(s, dp); in dp_msging() 250 switch (dp->sub_type) { in dp_media() 314 int slen = dp->length - sizeof(*dp); in dp_media() 322 memcpy(buffer, fp->str, dp->length - sizeof(*dp)); in dp_media() [all …]
|
| A D | efi_bootmgr.c | 96 struct efi_device_path *dp; in try_load_from_file_path() local 109 dp = handler->protocol_interface; in try_load_from_file_path() 110 if (!dp) in try_load_from_file_path() 113 dp = efi_dp_append(dp, fp); in try_load_from_file_path() 114 if (!dp) in try_load_from_file_path() 117 ret = EFI_CALL(efi_load_image(true, efi_root, dp, NULL, 0, in try_load_from_file_path() 119 efi_free_pool(dp); in try_load_from_file_path()
|
| A D | efi_load_initrd.c | 55 struct efi_device_path *dp = NULL; in get_initrd_fp() local 67 dp = efi_get_dp_from_boot(efi_lf2_initrd_guid); in get_initrd_fp() 68 if (!dp) in get_initrd_fp() 71 *initrd_fp = dp; in get_initrd_fp()
|
| /u-boot/lib/acpi/ |
| A D | acpi_dp.c | 68 for (dp = array->next; dp; dp = dp->next) { in acpi_dp_write_array() 78 assert(dp); in acpi_dp_free() 79 while (dp) { in acpi_dp_free() 93 free(dp); in acpi_dp_free() 94 dp = p; in acpi_dp_free() 119 for (dp = prop; dp; dp = dp->next) { in acpi_dp_write_internal() 162 for (dp = prop; dp; dp = dp->next) in acpi_dp_write_internal() 173 for (dp = prop; dp; dp = dp->next) { in acpi_dp_write_internal() 212 if (dp) { in acpi_dp_new() 215 dp = dp->next; in acpi_dp_new() [all …]
|
| /u-boot/drivers/video/ |
| A D | nexell_display.c | 429 if (dp->planes[i].enable && !dp->fb_plane) { in nx_display_setup() 430 dp->fb_plane = &dp->planes[i]; in nx_display_setup() 431 dp->fb_addr = dp->fb_plane->fb_base; in nx_display_setup() 432 dp->depth = dp->fb_plane->pixel_byte; in nx_display_setup() 440 &dp->sync, &dp->ctrl, &dp->top, in nx_display_setup() 447 &dp->sync, &dp->ctrl, &dp->top, in nx_display_setup() 448 dp->planes, (struct dp_lvds_dev *)dp->device); in nx_display_setup() 454 &dp->sync, &dp->ctrl, &dp->top, in nx_display_setup() 461 &dp->sync, &dp->ctrl, &dp->top, in nx_display_setup() 471 dp_dev_str[dp->dev_type], dp->module, dp->fb_plane->layer, in nx_display_setup() [all …]
|
| /u-boot/test/dm/ |
| A D | acpi_dp.c | 48 struct acpi_dp *dp; in dm_test_acpi_dp_new_table() local 54 ut_assertnonnull(dp); in dm_test_acpi_dp_new_table() 76 struct acpi_dp *dp; in dm_test_acpi_dp_int() local 82 ut_assertnonnull(dp); in dm_test_acpi_dp_int() 127 struct acpi_dp *dp; in dm_test_acpi_dp_int64() local 133 ut_assertnonnull(dp); in dm_test_acpi_dp_int64() 153 struct acpi_dp *dp; in dm_test_acpi_dp_int16() local 179 struct acpi_dp *dp; in dm_test_acpi_dp_int8() local 205 struct acpi_dp *dp; in dm_test_acpi_dp_multiple() local 239 struct acpi_dp *dp; in dm_test_acpi_dp_array() local [all …]
|
| /u-boot/drivers/video/tegra124/ |
| A D | dp.c | 45 return readl((u32 *)dp->regs + reg); in tegra_dpaux_readl() 51 writel(val, (u32 *)dp->regs + reg); in tegra_dpaux_writel() 655 struct tegra_dp_priv *dp, in tegra_dc_dp_init_max_link_cfg() argument 960 ret = tegra_dc_dp_set_assr(dp, dp->sor, 1); in tegra_dp_link_config() 965 ret = tegra_dp_set_link_bandwidth(dp, dp->sor, link_cfg->link_bw); in tegra_dp_link_config() 970 ret = tegra_dp_set_lane_count(dp, link_cfg, dp->sor); in tegra_dp_link_config() 1010 struct udevice *sor = dp->sor; in tegra_dp_lt_config() 1083 tegra_dc_dp_dpcd_write(dp, in tegra_dp_lt_config() 1452 ret = tegra_dc_sor_detach(dp->dc_dev, dp->sor); in tegra_dc_dp_check_sink() 1455 if (tegra_dc_dp_explore_link_cfg(dp, link_cfg, dp->sor, in tegra_dc_dp_check_sink() [all …]
|
| /u-boot/lib/ |
| A D | asn1_decoder.c | 74 if (datalen == dp) in asn1_find_indefinite_length() 80 tag = data[dp++]; in asn1_find_indefinite_length() 87 *_dp = dp; in asn1_find_indefinite_length() 102 len = data[dp++]; in asn1_find_indefinite_length() 127 dp += len; in asn1_find_indefinite_length() 145 *_dp = dp; in asn1_find_indefinite_length() 259 dp--; in asn1_ber_decoder() 314 tdp = dp; in asn1_ber_decoder() 359 dp += len; in asn1_ber_decoder() 415 dp--; in asn1_ber_decoder() [all …]
|
| A D | hashtable.c | 872 for(;dp < data + size && *dp; ++dp) { in himport_r() 874 dp < data + size - 1 && *(dp+1) == '\n') in himport_r() 877 *(dp-ignored_crs) = *dp; in himport_r() 888 ++dp; in himport_r() 892 while (*dp && (*dp != sep)) in himport_r() 899 for (name = dp; *dp != '=' && *dp && *dp != sep; ++dp) in himport_r() 903 if (*dp == '\0' || *(dp + 1) == '\0' || in himport_r() 904 *dp == sep || *(dp + 1) == sep) { in himport_r() 921 for (value = sp = dp; *dp && (*dp != sep); ++dp) { in himport_r() 922 if ((*dp == '\\') && *(dp + 1)) in himport_r() [all …]
|
| A D | rational.c | 55 unsigned long dp, a; in rational_best_approximation() local 62 dp = d; in rational_best_approximation() 65 n = dp; in rational_best_approximation() 86 if (2u * t > a || (2u * t == a && d0 * dp > d1 * d)) { in rational_best_approximation()
|
| /u-boot/include/acpi/ |
| A D | acpi_dp.h | 141 struct acpi_dp *acpi_dp_add_integer(struct acpi_dp *dp, const char *name, 154 struct acpi_dp *acpi_dp_add_string(struct acpi_dp *dp, const char *name, 167 struct acpi_dp *acpi_dp_add_reference(struct acpi_dp *dp, const char *name, 180 struct acpi_dp *acpi_dp_add_array(struct acpi_dp *dp, struct acpi_dp *array); 192 struct acpi_dp *acpi_dp_add_integer_array(struct acpi_dp *dp, const char *name, 205 struct acpi_dp *acpi_dp_add_child(struct acpi_dp *dp, const char *name, 222 struct acpi_dp *acpi_dp_add_gpio(struct acpi_dp *dp, const char *name, 247 int acpi_dp_ofnode_copy_int(ofnode node, struct acpi_dp *dp, const char *prop); 259 int acpi_dp_ofnode_copy_str(ofnode node, struct acpi_dp *dp, const char *prop); 271 int acpi_dp_dev_copy_int(const struct udevice *dev, struct acpi_dp *dp, [all …]
|
| /u-boot/drivers/usb/isp1760/ |
| A D | isp1760-if.c | 31 ofnode dp; in isp1760_of_to_plat() local 40 dp = dev_ofnode(dev); in isp1760_of_to_plat() 42 if (ofnode_device_is_compatible(dp, "nxp,usb-isp1761")) in isp1760_of_to_plat() 45 if (ofnode_device_is_compatible(dp, "nxp,usb-isp1763")) in isp1760_of_to_plat() 52 bus_width = ofnode_read_u32_default(dp, "bus-width", 16); in isp1760_of_to_plat() 61 if (ofnode_read_bool(dp, "analog-oc")) in isp1760_of_to_plat() 64 if (ofnode_read_bool(dp, "dack-polarity")) in isp1760_of_to_plat() 67 if (ofnode_read_bool(dp, "dreq-polarity")) in isp1760_of_to_plat()
|
| /u-boot/lib/efi_selftest/ |
| A D | efi_selftest_exception.c | 25 struct efi_device_path dp; member 28 } dp = { variable 32 sizeof(dp.dp) + sizeof(dp.filename), 38 sizeof(dp.end), 128 ret = boottime->load_image(false, image_handle, &dp.dp, image, in execute()
|
| A D | efi_selftest_block_device.c | 39 static struct efi_device_path *dp; variable 212 (void **)&dp); in setup() 218 vendor_node.dp.sub_type = DEVICE_PATH_SUB_TYPE_VENDOR; in setup() 223 boottime->copy_mem(dp, &vendor_node, in setup() 234 dp); in setup() 254 dp); in teardown() 285 static efi_uintn_t dp_size(struct efi_device_path *dp) in dp_size() argument 287 struct efi_device_path *pos = dp; in dp_size() 291 return (char *)pos - (char *)dp; in dp_size() 334 len = dp_size(dp); in execute() [all …]
|
| A D | efi_selftest_devicepath.c | 153 vendor_node.dp.type = DEVICE_PATH_TYPE_HARDWARE_DEVICE; in setup() 154 vendor_node.dp.sub_type = DEVICE_PATH_SUB_TYPE_VENDOR; in setup() 155 vendor_node.dp.length = sizeof(struct efi_device_path_vendor); in setup() 316 struct efi_device_path dp; in execute() member 328 struct efi_device_path *dp; in execute() local 342 (void **)&dp, NULL, NULL, in execute() 349 dp, true, false); in execute()
|
| A D | efi_selftest_load_file.c | 112 struct efi_device_path *dp_lf_file_remainder = &dp_lf_file.f.dp; 163 struct efi_device_path *dp_lf2_file_remainder = &dp_lf2_file.f.dp; 393 ret = boottime->load_image(true, image_handle, &dp_lf_file.v.dp, NULL, in efi_st_load_file_execute() 412 ret = boottime->load_image(false, image_handle, &dp_lf_file.v.dp, NULL, in efi_st_load_file_execute() 428 ret = boottime->load_image(true, image_handle, &dp_lf2_file.v.dp, NULL, in efi_st_load_file_execute() 439 ret = boottime->load_image(false, image_handle, &dp_lf2_file.v.dp, NULL, in efi_st_load_file_execute()
|
| /u-boot/drivers/spi/ |
| A D | mxs_spi.c | 141 struct mxs_dma_desc *dp; in mxs_spi_xfer_dma() local 181 dp = desc; in mxs_spi_xfer_dma() 183 dp->address = (dma_addr_t)dp; in mxs_spi_xfer_dma() 184 dp->cmd.address = (dma_addr_t)data; in mxs_spi_xfer_dma() 208 dp->cmd.data |= in mxs_spi_xfer_dma() 234 dp->cmd.pio_words[0] = ctrl0; in mxs_spi_xfer_dma() 236 dp->cmd.pio_words[1] = 0; in mxs_spi_xfer_dma() 237 dp->cmd.pio_words[2] = 0; in mxs_spi_xfer_dma() 238 dp->cmd.pio_words[3] = tl; in mxs_spi_xfer_dma() 241 mxs_dma_desc_append(dmach, dp); in mxs_spi_xfer_dma() [all …]
|
| /u-boot/arch/arm/dts/ |
| A D | s5p4418-nanopi2.dts | 66 dp0:dp@c0102800 { 71 dp-device { 75 dp-sync { 88 dp-ctrl { 96 dp-planes {
|
| /u-boot/drivers/sound/ |
| A D | max98357a.c | 49 struct acpi_dp *dp; in max98357a_acpi_fill_ssdt() local 82 dp = acpi_dp_new_table("_DSD"); in max98357a_acpi_fill_ssdt() 83 acpi_dp_add_gpio(dp, "sdmode-gpio", path, 0, 0, in max98357a_acpi_fill_ssdt() 86 acpi_dp_add_integer(dp, "sdmode-delay", in max98357a_acpi_fill_ssdt() 88 acpi_dp_write(ctx, dp); in max98357a_acpi_fill_ssdt()
|
| /u-boot/board/friendlyarm/nanopi2/ |
| A D | board.c | 127 int nx_display_fixup_dp(struct nx_display_dev *dp) in nx_display_fixup_dp() argument 132 struct dp_sync_info *sync = &dp->sync; in nx_display_fixup_dp() 133 struct dp_plane_info *plane = &dp->planes[0]; in nx_display_fixup_dp() 156 dp->ctrl.clk_div_lv0 = clk; in nx_display_fixup_dp() 157 dp->ctrl.clk_inv_lv0 = lcd->polarity.rise_vclk; in nx_display_fixup_dp() 159 dp->top.screen_width = lcd->width; in nx_display_fixup_dp() 160 dp->top.screen_height = lcd->height; in nx_display_fixup_dp() 162 for (i = 0; i < dp->top.plane_num; i++, plane++) { in nx_display_fixup_dp() 171 dp->dev_type = DP_DEVICE_RGBLCD; in nx_display_fixup_dp() 176 dp->dev_type = DP_DEVICE_HDMI; in nx_display_fixup_dp() [all …]
|
| /u-boot/drivers/mmc/ |
| A D | pci_mmc.c | 96 struct acpi_dp *dp; in pci_mmc_acpi_fill_ssdt() local 128 dp = acpi_dp_new_table("_DSD"); in pci_mmc_acpi_fill_ssdt() 129 if (!dp) in pci_mmc_acpi_fill_ssdt() 131 acpi_dp_add_gpio(dp, "cd-gpio", path, 0, 0, 1); in pci_mmc_acpi_fill_ssdt() 132 ret = acpi_dp_write(ctx, dp); in pci_mmc_acpi_fill_ssdt()
|
| /u-boot/doc/device-tree-bindings/video/ |
| A D | exynos-dp.txt | 6 compatible: should be "samsung,exynos5-dp" 48 dp@145b0000 { 49 compatible = "samsung,exynos5-dp"; 56 dp@145b0000 {
|
| /u-boot/include/ |
| A D | efi_loader.h | 263 uint16_t *efi_dp_str(struct efi_device_path *dp); 694 struct blk_desc *desc, int part, struct efi_device_path *dp); 780 struct efi_device_path *efi_dp_shorten(struct efi_device_path *dp); 784 efi_handle_t efi_dp_find_obj(struct efi_device_path *dp, 788 efi_uintn_t efi_dp_instance_size(const struct efi_device_path *dp); 790 efi_uintn_t efi_dp_size(const struct efi_device_path *dp); 791 struct efi_device_path *efi_dp_dup(const struct efi_device_path *dp); 802 const struct efi_device_path *dp, 808 bool efi_dp_is_multi_instance(const struct efi_device_path *dp); 821 const struct efi_device_path *dp); [all …]
|