/u-boot/lib/efi_loader/ |
H A D | efi_root_node.c | 32 struct efi_root_dp *dp; local 35 dp = calloc(1, sizeof(*dp)); 36 if (!dp) 40 dp->vendor.dp.type = DEVICE_PATH_TYPE_HARDWARE_DEVICE; 41 dp->vendor.dp.sub_type = DEVICE_PATH_SUB_TYPE_VENDOR; 42 dp->vendor.dp [all...] |
H A D | efi_device_path.c | 53 struct efi_device_path *efi_dp_next(const struct efi_device_path *dp) argument 55 if (dp == NULL) 57 if (dp->type == DEVICE_PATH_TYPE_END) 59 dp = ((void *)dp) + dp->length; 60 if (dp->type == DEVICE_PATH_TYPE_END) 62 return (struct efi_device_path *)dp; 104 * @dp: original device-path 107 struct efi_device_path *efi_dp_shorten(struct efi_device_path *dp) argument 132 find_handle(struct efi_device_path *dp, const efi_guid_t *guid, bool short_path, struct efi_device_path **rem) argument 193 efi_dp_find_obj(struct efi_device_path *dp, const efi_guid_t *guid, struct efi_device_path **rem) argument 214 efi_dp_last_node(const struct efi_device_path *dp) argument 228 efi_dp_instance_size(const struct efi_device_path *dp) argument 243 efi_dp_size(const struct efi_device_path *dp) argument 257 efi_dp_dup(const struct efi_device_path *dp) argument 333 efi_dp_append_node(const struct efi_device_path *dp, const struct efi_device_path *node) argument 383 efi_dp_append_instance( const struct efi_device_path *dp, const struct efi_device_path *dpi) argument 410 efi_dp_get_next_instance(struct efi_device_path **dp, efi_uintn_t *size) argument 435 efi_dp_is_multi_instance(const struct efi_device_path *dp) argument 534 struct efi_device_path_mac_addr *dp = buf; local 552 struct efi_device_path_atapi *dp = buf; local 568 struct efi_device_path_scsi *dp = buf; local 595 struct efi_device_path_sata *dp = buf; local 610 struct efi_device_path_nvme *dp = buf; local 624 struct efi_device_path_controller *dp = buf; local 635 struct efi_device_path_udevice *dp = buf; local 896 efi_dp_from_file(const struct efi_device_path *dp, const char *path) argument 1013 struct efi_device_path *p, *dp, *fp = NULL; local 1055 struct efi_device_path *dp; local 1107 efi_dp_check_length(const struct efi_device_path *dp, const size_t maxlen) argument 1177 struct efi_device_path *dp = device_path; local [all...] |
H A D | efi_device_path_to_text.c | 44 static char *dp_unknown(char *s, struct efi_device_path *dp) argument 46 s += sprintf(s, "UNKNOWN(%04x,%04x)", dp->type, dp->sub_type); 50 static char *dp_hardware(char *s, struct efi_device_path *dp) argument 52 switch (dp->sub_type) { 55 (struct efi_device_path_memory *)dp; 65 (struct efi_device_path_vendor *)dp; 68 n = (int)vdp->dp.length - sizeof(struct efi_device_path_vendor); 80 (struct efi_device_path_controller *)dp; 86 s = dp_unknown(s, dp); 92 dp_acpi(char *s, struct efi_device_path *dp) argument 110 dp_msging(char *s, struct efi_device_path *dp) argument 247 dp_media(char *s, struct efi_device_path *dp) argument 340 efi_convert_single_device_node_to_text( char *buffer, struct efi_device_path *dp) argument 450 efi_dp_str(struct efi_device_path *dp) argument [all...] |
H A D | efi_load_initrd.c | 54 struct efi_device_path *dp = NULL; local 66 dp = efi_get_dp_from_boot(&efi_lf2_initrd_guid); 67 if (!dp) 70 *initrd_fp = dp;
|
H A D | efi_bootmgr.c | 116 struct efi_device_path *dp; local 129 dp = handler->protocol_interface; 130 if (!dp) 133 dp = efi_dp_concat(dp, fp, false); 134 if (!dp) 137 ret = EFI_CALL(efi_load_image(true, efi_root, dp, NULL, 0, 139 efi_free_pool(dp); 238 struct efi_device_path *dp = NULL, *fp = NULL; local 264 ret = efi_dp_split_file_path(full_path, &dp, 306 fill_default_file_path(struct udevice *blk, struct efi_device_path **dp) argument 343 prepare_loaded_image(u16 *label, ulong addr, ulong size, struct efi_device_path **dp, struct udevice **blk) argument 574 struct efi_device_path *rem, *dp = NULL; local [all...] |
H A D | efi_disk.c | 35 * @dp: device path to the block device 42 struct efi_device_path *dp; member in struct:efi_disk_obj 376 struct efi_device_path *dp = diskobj->dp; local 384 efi_free_pool(dp); 456 diskobj->dp = efi_dp_append_node(dp_parent, node); 462 diskobj->dp = efi_dp_from_part(desc, part); 476 &efi_guid_device_path, diskobj->dp, 495 ret = efi_create_simple_file_system(desc, part, diskobj->dp, 723 struct efi_device_path *dp local [all...] |
/u-boot/lib/acpi/ |
H A D | acpi_dp.c | 56 const struct acpi_dp *dp; local 67 for (dp = array->next; dp; dp = dp->next) { 68 acpi_dp_write_value(ctx, dp); 75 static void acpi_dp_free(struct acpi_dp *dp) argument 77 assert(dp); 78 while (dp) { 79 struct acpi_dp *p = dp 99 struct acpi_dp *dp, *prop; local 198 acpi_dp_new(struct acpi_dp *dp, enum acpi_dp_type type, const char *name) argument 226 acpi_dp_add_integer(struct acpi_dp *dp, const char *name, u64 value) argument 240 acpi_dp_add_string(struct acpi_dp *dp, const char *name, const char *string) argument 253 acpi_dp_add_reference(struct acpi_dp *dp, const char *name, const char *reference) argument 266 acpi_dp_add_child(struct acpi_dp *dp, const char *name, struct acpi_dp *child) argument 284 acpi_dp_add_array(struct acpi_dp *dp, struct acpi_dp *array) argument 300 acpi_dp_add_integer_array(struct acpi_dp *dp, const char *name, u64 *array, int len) argument 324 acpi_dp_add_gpio(struct acpi_dp *dp, const char *name, const char *ref, int index, int pin, enum acpi_gpio_polarity polarity) argument 347 acpi_dp_ofnode_copy_int(ofnode node, struct acpi_dp *dp, const char *prop) argument 361 acpi_dp_ofnode_copy_str(ofnode node, struct acpi_dp *dp, const char *prop) argument 374 acpi_dp_dev_copy_int(const struct udevice *dev, struct acpi_dp *dp, const char *prop) argument 389 acpi_dp_dev_copy_str(const struct udevice *dev, struct acpi_dp *dp, const char *prop) argument [all...] |
/u-boot/include/acpi/ |
H A D | acpi_dp.h | 134 * A new node is added to the end of the property list of @dp 136 * @dp: Table to add this property to 141 struct acpi_dp *acpi_dp_add_integer(struct acpi_dp *dp, const char *name, 147 * A new node is added to the end of the property list of @dp 149 * @dp: Table to add this property to 154 struct acpi_dp *acpi_dp_add_string(struct acpi_dp *dp, const char *name, 160 * A new node is added to the end of the property list of @dp 162 * @dp: Table to add this property to 167 struct acpi_dp *acpi_dp_add_reference(struct acpi_dp *dp, const char *name, 173 * A new node is added to the end of the property list of @dp, wit [all...] |
/u-boot/drivers/video/ |
H A D | nexell_display.c | 161 printf("fail : dp plane.%d invalid fb base [0x%x] ->\n", 174 struct nx_display_dev *dp, 184 nx_display_parse_dp_top_layer(subnode, &dp->top); 191 dp->planes[0].fb_base = 193 debug("%s(): dp->planes[0].fb_base == 0x%x\n", __func__, 194 (uint)dp->planes[0].fb_base); 195 nx_display_parse_dp_layer(subnode, &dp->planes[0]); 199 dp->planes[1].fb_base = 201 debug("%s(): dp->planes[1].fb_base == 0x%x\n", __func__, 202 (uint)dp 173 nx_display_parse_dp_planes(ofnode node, struct nx_display_dev *dp, struct video_uc_plat *plat) argument 216 nx_display_parse_dp_lvds(ofnode node, struct nx_display_dev *dp) argument 248 nx_display_parse_dp_rgb(ofnode node, struct nx_display_dev *dp) argument 264 nx_display_parse_dp_mipi(ofnode node, struct nx_display_dev *dp) argument 285 nx_display_parse_dp_hdmi(ofnode node, struct nx_display_dev *dp) argument 302 nx_display_parse_dp_lcds(ofnode node, const char *type, struct nx_display_dev *dp) argument 331 nx_display_parse_dt(struct udevice *dev, struct nx_display_dev *dp, struct video_uc_plat *plat) argument 382 nx_display_fixup_dp(struct nx_display_dev *dp) argument 389 struct nx_display_dev *dp; local 513 struct nx_display_dev *dp; local [all...] |
/u-boot/drivers/video/tegra124/ |
H A D | Makefile | 7 obj-y += dp.o
|
H A D | dp.c | 43 static inline u32 tegra_dpaux_readl(struct tegra_dp_priv *dp, u32 reg) argument 45 return readl((u32 *)dp->regs + reg); 48 static inline void tegra_dpaux_writel(struct tegra_dp_priv *dp, u32 reg, argument 51 writel(val, (u32 *)dp->regs + reg); 54 static inline u32 tegra_dc_dpaux_poll_register(struct tegra_dp_priv *dp, argument 64 reg_val = tegra_dpaux_readl(dp, reg); 78 static inline int tegra_dpaux_wait_transaction(struct tegra_dp_priv *dp) argument 82 if (tegra_dc_dpaux_poll_register(dp, DPAUX_DP_AUXCTL, 86 debug("dp: DPAUX transaction timeout\n"); 92 static int tegra_dc_dpaux_write_chunk(struct tegra_dp_priv *dp, u3 argument 189 tegra_dc_dpaux_read_chunk(struct tegra_dp_priv *dp, u32 cmd, u32 addr, u8 *data, u32 *size, u32 *aux_stat) argument 298 tegra_dc_dpaux_read(struct tegra_dp_priv *dp, u32 cmd, u32 addr, u8 *data, u32 *size, u32 *aux_stat) argument 326 tegra_dc_dp_dpcd_read(struct tegra_dp_priv *dp, u32 cmd, u8 *data_ptr) argument 343 tegra_dc_dp_dpcd_write(struct tegra_dp_priv *dp, u32 cmd, u8 data) argument 360 tegra_dc_i2c_aux_read(struct tegra_dp_priv *dp, u32 i2c_addr, u8 addr, u8 *data, u32 size, u32 *aux_stat) argument 396 tegra_dc_dpaux_enable(struct tegra_dp_priv *dp) argument 414 tegra_dc_dp_dump_link_cfg(struct tegra_dp_priv *dp, const struct tegra_dp_link_config *link_cfg) argument 451 _tegra_dp_lower_link_config(struct tegra_dp_priv *dp, struct tegra_dp_link_config *cfg) argument 483 tegra_dc_dp_calc_config(struct tegra_dp_priv *dp, const struct display_timing *timing, struct tegra_dp_link_config *link_cfg) argument 653 tegra_dc_dp_init_max_link_cfg( const struct display_timing *timing, struct tegra_dp_priv *dp, struct tegra_dp_link_config *link_cfg) argument 737 tegra_dp_set_link_bandwidth(struct tegra_dp_priv *dp, struct udevice *sor, u8 link_bw) argument 747 tegra_dp_set_lane_count(struct tegra_dp_priv *dp, const struct tegra_dp_link_config *link_cfg, struct udevice *sor) argument 768 tegra_dc_dp_link_trained(struct tegra_dp_priv *dp, const struct tegra_dp_link_config *cfg) argument 795 tegra_dp_channel_eq_status(struct tegra_dp_priv *dp, const struct tegra_dp_link_config *cfg) argument 839 tegra_dp_clock_recovery_status(struct tegra_dp_priv *dp, const struct tegra_dp_link_config *cfg) argument 864 tegra_dp_lt_adjust(struct tegra_dp_priv *dp, u32 pe[4], u32 vs[4], u32 pc[4], u8 pc_supported, const struct tegra_dp_link_config *cfg) argument 904 tegra_dp_wait_aux_training(struct tegra_dp_priv *dp, bool is_clk_recovery, const struct tegra_dp_link_config *cfg) argument 914 tegra_dp_tpg(struct tegra_dp_priv *dp, u32 tp, u32 n_lanes, const struct tegra_dp_link_config *cfg) argument 925 tegra_dp_link_config(struct tegra_dp_priv *dp, const struct tegra_dp_link_config *link_cfg) argument 981 tegra_dp_lower_link_config(struct tegra_dp_priv *dp, const struct display_timing *timing, struct tegra_dp_link_config *cfg) argument 1007 tegra_dp_lt_config(struct tegra_dp_priv *dp, u32 pe[4], u32 vs[4], u32 pc[4], const struct tegra_dp_link_config *cfg) argument 1092 _tegra_dp_channel_eq(struct tegra_dp_priv *dp, u32 pe[4], u32 vs[4], u32 pc[4], u8 pc_supported, u32 n_lanes, const struct tegra_dp_link_config *cfg) argument 1124 tegra_dp_channel_eq(struct tegra_dp_priv *dp, u32 pe[4], u32 vs[4], u32 pc[4], const struct tegra_dp_link_config *cfg) argument 1145 _tegra_dp_clk_recovery(struct tegra_dp_priv *dp, u32 pe[4], u32 vs[4], u32 pc[4], u8 pc_supported, u32 n_lanes, const struct tegra_dp_link_config *cfg) argument 1172 tegra_dp_clk_recovery(struct tegra_dp_priv *dp, u32 pe[4], u32 vs[4], u32 pc[4], const struct tegra_dp_link_config *cfg) argument 1190 tegra_dc_dp_full_link_training(struct tegra_dp_priv *dp, const struct display_timing *timing, struct tegra_dp_link_config *cfg) argument 1235 tegra_dc_dp_fast_link_training(struct tegra_dp_priv *dp, const struct tegra_dp_link_config *link_cfg, struct udevice *sor) argument 1306 tegra_dp_do_link_training(struct tegra_dp_priv *dp, struct tegra_dp_link_config *link_cfg, const struct display_timing *timing, struct udevice *sor) argument 1350 tegra_dc_dp_explore_link_cfg(struct tegra_dp_priv *dp, struct tegra_dp_link_config *link_cfg, struct udevice *sor, const struct display_timing *timing) argument 1386 tegra_dp_hpd_plug(struct tegra_dp_priv *dp) argument 1403 tegra_dc_dp_sink_out_of_sync(struct tegra_dp_priv *dp, u32 delay_ms) argument 1424 tegra_dc_dp_check_sink(struct tegra_dp_priv *dp, struct tegra_dp_link_config *link_cfg, const struct display_timing *timing) argument [all...] |
/u-boot/lib/efi_selftest/ |
H A D | efi_selftest_exception.c | 25 struct efi_device_path dp; member in struct:__anon4 28 } dp = { variable in typeref:struct:__anon4 32 sizeof(dp.dp) + sizeof(dp.filename), 38 sizeof(dp.end), 128 ret = boottime->load_image(false, image_handle, &dp.dp, image,
|
H A D | efi_selftest_block_device.c | 39 static struct efi_device_path *dp; variable in typeref:struct:efi_device_path 212 (void **)&dp); 217 vendor_node.dp.type = DEVICE_PATH_TYPE_HARDWARE_DEVICE; 218 vendor_node.dp.sub_type = DEVICE_PATH_SUB_TYPE_VENDOR; 219 vendor_node.dp.length = sizeof(struct efi_device_path_vendor); 223 boottime->copy_mem(dp, &vendor_node, 229 boottime->copy_mem((char *)dp + sizeof(struct efi_device_path_vendor), 234 dp); 254 dp); 282 * @dp devic 285 dp_size(struct efi_device_path *dp) argument [all...] |
H A D | efi_selftest_devicepath_util.c | 51 * @dp: device path 55 struct efi_device_path **dp) 67 *dp = dpu->append_device_node(NULL, node); 68 if (!*dp) { 77 len = dpu->get_device_path_size(*dp); 54 create_single_node_device_path(unsigned int length, struct efi_device_path **dp) argument
|
H A D | efi_selftest_devicepath.c | 153 vendor_node.dp.type = DEVICE_PATH_TYPE_HARDWARE_DEVICE; 154 vendor_node.dp.sub_type = DEVICE_PATH_SUB_TYPE_VENDOR; 155 vendor_node.dp.length = sizeof(struct efi_device_path_vendor); 316 struct efi_device_path dp; member in struct:__anon3 328 struct efi_device_path *dp; local 342 (void **)&dp, NULL, NULL, 349 dp, true, false);
|
/u-boot/drivers/usb/isp1760/ |
H A D | isp1760-if.c | 31 ofnode dp; local 40 dp = dev_ofnode(dev); 42 if (ofnode_device_is_compatible(dp, "nxp,usb-isp1761")) 45 if (ofnode_device_is_compatible(dp, "nxp,usb-isp1763")) 52 bus_width = ofnode_read_u32_default(dp, "bus-width", 16); 61 if (ofnode_read_bool(dp, "analog-oc")) 64 if (ofnode_read_bool(dp, "dack-polarity")) 67 if (ofnode_read_bool(dp, "dreq-polarity"))
|
/u-boot/lib/ |
H A D | asn1_decoder.c | 70 size_t dp = *_dp, len, n; local 74 if (unlikely(datalen - dp < 2)) { 75 if (datalen == dp) 81 tag = data[dp++]; 84 if (data[dp++] != 0) 87 *_len = dp - *_dp; 88 *_dp = dp; 96 if (unlikely(datalen - dp < 2)) 98 tmp = data[dp++]; 103 len = data[dp 186 size_t pc = 0, dp = 0, tdp = 0, len = 0; local [all...] |
H A D | hashtable.c | 796 char *data, *sp, *dp, *name, *value; local 814 dp = data; 871 for(;dp < data + size && *dp; ++dp) { 872 if(*dp == '\r' && 873 dp < data + size - 1 && *(dp+1) == '\n') 876 *(dp-ignored_crs) = *dp; [all...] |
H A D | rational.c | 40 * dp is the value of d from the prior iteration. 55 unsigned long dp, a; local 62 dp = d; 65 n = dp; 86 if (2u * t > a || (2u * t == a && d0 * dp > d1 * d)) {
|
/u-boot/test/dm/ |
H A D | acpi_dp.c | 48 struct acpi_dp *dp; local 53 dp = acpi_dp_new_table("FRED"); 54 ut_assertnonnull(dp); 57 ut_assertok(acpi_dp_write(ctx, dp)); 76 struct acpi_dp *dp; local 81 dp = acpi_dp_new_table("FRED"); 82 ut_assertnonnull(dp); 83 ut_assertnonnull(acpi_dp_add_integer(dp, "MARY", TEST_INT32)); 86 ut_assertok(acpi_dp_write(ctx, dp)); 127 struct acpi_dp *dp; local 153 struct acpi_dp *dp; local 179 struct acpi_dp *dp; local 205 struct acpi_dp *dp; local 239 struct acpi_dp *dp; local 280 struct acpi_dp *dp, *child1, *child2; local 391 struct acpi_dp *dp; local 432 struct acpi_dp *dp; local [all...] |
/u-boot/drivers/sound/ |
H A D | max98357a.c | 49 struct acpi_dp *dp; local 82 dp = acpi_dp_new_table("_DSD"); 83 acpi_dp_add_gpio(dp, "sdmode-gpio", path, 0, 0, 86 acpi_dp_add_integer(dp, "sdmode-delay", 88 acpi_dp_write(ctx, dp);
|
/u-boot/include/crypto/internal/ |
H A D | rsa.h | 19 * @dp : RSA exponent d mod (p - 1) raw byte stream 27 * @dp_sz : length in bytes of dp field 37 const u8 *dp; member in struct:rsa_key
|
/u-boot/drivers/spi/ |
H A D | mxs_spi.c | 141 struct mxs_dma_desc *dp; local 181 dp = desc; 183 dp->address = (dma_addr_t)dp; 184 dp->cmd.address = (dma_addr_t)data; 193 dp->cmd.data = MXS_DMA_DESC_COMMAND_DMA_READ; 195 dp->cmd.data = MXS_DMA_DESC_COMMAND_DMA_WRITE; 208 dp->cmd.data |= 218 dp->cmd.data |= MXS_DMA_DESC_IRQ | MXS_DMA_DESC_DEC_SEM; 234 dp [all...] |
/u-boot/drivers/mmc/ |
H A D | pci_mmc.c | 96 struct acpi_dp *dp; local 128 dp = acpi_dp_new_table("_DSD"); 129 if (!dp) 131 acpi_dp_add_gpio(dp, "cd-gpio", path, 0, 0, 1); 132 ret = acpi_dp_write(ctx, dp);
|
/u-boot/board/friendlyarm/nanopi2/ |
H A D | board.c | 127 int nx_display_fixup_dp(struct nx_display_dev *dp) argument 132 struct dp_sync_info *sync = &dp->sync; 133 struct dp_plane_info *plane = &dp->planes[0]; 156 dp->ctrl.clk_div_lv0 = clk; 157 dp->ctrl.clk_inv_lv0 = lcd->polarity.rise_vclk; 159 dp->top.screen_width = lcd->width; 160 dp->top.screen_height = lcd->height; 162 for (i = 0; i < dp->top.plane_num; i++, plane++) { 171 dp->dev_type = DP_DEVICE_RGBLCD; 174 struct dp_hdmi_dev *dev = (struct dp_hdmi_dev *)dp [all...] |