/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/lib/efi_loader/ |
A D | efi_device_path.c | 88 dp = ((void *)dp) + dp->length; in efi_dp_next() 148 dp = efi_dp_next(dp); in shorten_path() 234 dp = efi_dp_next(dp); in efi_dp_last_node() 398 if (!dp || !*dp) in efi_dp_get_next_instance() 538 dp->dp.length = sizeof(*dp); in dp_fill() 561 dp->dp.length = sizeof(*dp) + 1; in dp_fill() 578 dp->dp.length = sizeof(*dp) + 1; in dp_fill() 593 dp->dp.length = sizeof(*dp); in dp_fill() 610 dp->dp.length = sizeof(*dp); in dp_fill() 639 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() 80 s = dp_unknown(s, dp); in dp_hardware() 88 switch (dp->sub_type) { in dp_acpi() 98 s = dp_unknown(s, dp); in dp_acpi() 106 switch (dp->sub_type) { in dp_msging() 204 s = dp_unknown(s, dp); in dp_msging() 219 switch (dp->sub_type) { in dp_media() 282 int slen = (dp->length - sizeof(*dp)) / 2; in dp_media() 289 s = dp_unknown(s, dp); in dp_media() [all …]
|
A D | efi_load_initrd.c | 26 static const struct efi_initrd_dp dp = { variable 31 sizeof(dp.vendor), 38 sizeof(dp.end), 117 if (file_path->type != dp.end.type || in efi_load_file2_initrd() 118 file_path->sub_type != dp.end.sub_type) { in efi_load_file2_initrd() 191 &efi_guid_device_path, &dp, in efi_initrd_register()
|
/u-boot/drivers/video/ |
A D | nexell_display.c | 431 if (dp->planes[i].enable && !dp->fb_plane) { in nx_display_setup() 432 dp->fb_plane = &dp->planes[i]; in nx_display_setup() 433 dp->fb_addr = dp->fb_plane->fb_base; in nx_display_setup() 434 dp->depth = dp->fb_plane->pixel_byte; in nx_display_setup() 442 &dp->sync, &dp->ctrl, &dp->top, in nx_display_setup() 449 &dp->sync, &dp->ctrl, &dp->top, in nx_display_setup() 456 &dp->sync, &dp->ctrl, &dp->top, in nx_display_setup() 463 &dp->sync, &dp->ctrl, &dp->top, in nx_display_setup() 473 dp_dev_str[dp->dev_type], dp->module, dp->fb_plane->layer, in nx_display_setup() 474 dp->fb_plane->width, dp->fb_plane->height, dp->depth * 8, in nx_display_setup() [all …]
|
/u-boot/drivers/net/ |
A D | ne2000_base.c | 132 dp->esa[0], in dp83902a_init() 133 dp->esa[1], in dp83902a_init() 134 dp->esa[2], in dp83902a_init() 183 dp->tx1 = dp->tx2 = 0; in dp83902a_start() 184 dp->tx_next = dp->tx_buf1; in dp83902a_start() 190 dp->rx_next = dp->rx_buf_start - 1; in dp83902a_start() 261 if (dp->tx_next == dp->tx_buf1) { in dp83902a_send() 265 dp->tx_next = dp->tx_buf2; in dp83902a_send() 270 dp->tx_next = dp->tx_buf1; in dp83902a_send() 532 dp83902a_start_xmit(dp->tx1, dp->tx1_len); in dp83902a_TxEvent() [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/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 | 879 for(;dp < data + size && *dp; ++dp) { in himport_r() 881 dp < data + size - 1 && *(dp+1) == '\n') in himport_r() 884 *(dp-ignored_crs) = *dp; in himport_r() 895 ++dp; in himport_r() 899 while (*dp && (*dp != sep)) in himport_r() 906 for (name = dp; *dp != '=' && *dp && *dp != sep; ++dp) in himport_r() 910 if (*dp == '\0' || *(dp + 1) == '\0' || in himport_r() 911 *dp == sep || *(dp + 1) == sep) { in himport_r() 928 for (value = sp = dp; *dp && (*dp != sep); ++dp) { in himport_r() 929 if ((*dp == '\\') && *(dp + 1)) in himport_r() [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/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/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 | 37 static struct efi_device_path *dp; variable 210 (void **)&dp); in setup() 216 vendor_node.dp.sub_type = DEVICE_PATH_SUB_TYPE_VENDOR; in setup() 221 boottime->copy_mem(dp, &vendor_node, in setup() 232 dp); in setup() 252 dp); in teardown() 283 static efi_uintn_t dp_size(struct efi_device_path *dp) in dp_size() argument 285 struct efi_device_path *pos = dp; in dp_size() 289 return (char *)pos - (char *)dp; in dp_size() 331 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()
|
A D | efi_selftest_devicepath_util.c | 55 struct efi_device_path **dp) in create_single_node_device_path() argument 67 *dp = dpu->append_device_node(NULL, node); in create_single_node_device_path() 68 if (!*dp) { in create_single_node_device_path() 77 len = dpu->get_device_path_size(*dp); in create_single_node_device_path()
|
/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/drivers/sound/ |
A D | max98357a.c | 48 struct acpi_dp *dp; in max98357a_acpi_fill_ssdt() local 81 dp = acpi_dp_new_table("_DSD"); in max98357a_acpi_fill_ssdt() 82 acpi_dp_add_gpio(dp, "sdmode-gpio", path, 0, 0, in max98357a_acpi_fill_ssdt() 85 acpi_dp_add_integer(dp, "sdmode-delay", in max98357a_acpi_fill_ssdt() 87 acpi_dp_write(ctx, dp); in max98357a_acpi_fill_ssdt()
|
/u-boot/arch/arm/dts/ |
A D | s5p4418-nanopi2.dts | 65 dp0:dp@c0102800 { 70 dp-device { 74 dp-sync { 87 dp-ctrl { 95 dp-planes {
|
/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 | 91 struct acpi_dp *dp; in pci_mmc_acpi_fill_ssdt() local 123 dp = acpi_dp_new_table("_DSD"); in pci_mmc_acpi_fill_ssdt() 124 if (!dp) in pci_mmc_acpi_fill_ssdt() 126 acpi_dp_add_gpio(dp, "cd-gpio", path, 0, 0, 1); in pci_mmc_acpi_fill_ssdt() 127 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 | 158 uint16_t *efi_dp_str(struct efi_device_path *dp); 556 struct blk_desc *desc, int part, struct efi_device_path *dp); 615 struct efi_device_path *efi_dp_next(const struct efi_device_path *dp); 618 struct efi_object *efi_dp_find_obj(struct efi_device_path *dp, 621 efi_uintn_t efi_dp_instance_size(const struct efi_device_path *dp); 623 efi_uintn_t efi_dp_size(const struct efi_device_path *dp); 624 struct efi_device_path *efi_dp_dup(const struct efi_device_path *dp); 635 const struct efi_device_path *dp, 641 bool efi_dp_is_multi_instance(const struct efi_device_path *dp); 654 const struct efi_device_path *dp); [all …]
|
/u-boot/test/ |
A D | print_ut.c | 51 dp_sd->dp.type = DEVICE_PATH_TYPE_MESSAGING_DEVICE; in efi_ut_print() 52 dp_sd->dp.sub_type = DEVICE_PATH_SUB_TYPE_MSG_SD; in efi_ut_print() 53 dp_sd->dp.length = sizeof(struct efi_device_path_sd_mmc_path); in efi_ut_print()
|