Home
last modified time | relevance | path

Searched refs:dp (Results 1 – 25 of 83) sorted by relevance

1234

/openbmc/u-boot/drivers/net/
H A Dne2000_base.c106 dp83902a_priv_data_t *dp = &nic; in dp83902a_init() local
114 base = dp->base; in dp83902a_init()
126 DP_IN(base, DP_P1_PAR0+i, dp->esa[i]); in dp83902a_init()
131 dp->esa[0], in dp83902a_init()
132 dp->esa[1], in dp83902a_init()
133 dp->esa[2], in dp83902a_init()
134 dp->esa[3], in dp83902a_init()
135 dp->esa[4], in dp83902a_init()
136 dp->esa[5] ); in dp83902a_init()
138 memcpy(enetaddr, dp->esa, 6); /* Use MAC from serial EEPROM */ in dp83902a_init()
[all …]
/openbmc/u-boot/lib/efi_loader/
H A Defi_device_path.c27 .dp = {
71 struct efi_device_path *efi_dp_next(const struct efi_device_path *dp) in efi_dp_next() argument
73 if (dp == NULL) in efi_dp_next()
75 if (dp->type == DEVICE_PATH_TYPE_END) in efi_dp_next()
77 dp = ((void *)dp) + dp->length; in efi_dp_next()
78 if (dp->type == DEVICE_PATH_TYPE_END) in efi_dp_next()
80 return (struct efi_device_path *)dp; in efi_dp_next()
124 static struct efi_device_path *shorten_path(struct efi_device_path *dp) in shorten_path() argument
126 while (dp) { in shorten_path()
132 if (EFI_DP_TYPE(dp, MESSAGING_DEVICE, MSG_USB_CLASS) || in shorten_path()
[all …]
H A Defi_device_path_to_text.c44 static char *dp_unknown(char *s, struct efi_device_path *dp) in dp_unknown() argument
46 s += sprintf(s, "UNKNOWN(%04x,%04x)", dp->type, dp->sub_type); in dp_unknown()
50 static char *dp_hardware(char *s, struct efi_device_path *dp) in dp_hardware() argument
52 switch (dp->sub_type) { in dp_hardware()
55 (struct efi_device_path_memory *)dp; in dp_hardware()
64 (struct efi_device_path_vendor *)dp; in dp_hardware()
69 s = dp_unknown(s, dp); in dp_hardware()
75 static char *dp_acpi(char *s, struct efi_device_path *dp) in dp_acpi() argument
77 switch (dp->sub_type) { in dp_acpi()
80 (struct efi_device_path_acpi_path *)dp; in dp_acpi()
[all …]
H A Defi_root_node.c31 struct efi_root_dp *dp; in efi_root_node_register() local
39 dp = calloc(1, sizeof(*dp)); in efi_root_node_register()
40 if (!dp) in efi_root_node_register()
44 dp->vendor.dp.type = DEVICE_PATH_TYPE_HARDWARE_DEVICE; in efi_root_node_register()
45 dp->vendor.dp.sub_type = DEVICE_PATH_SUB_TYPE_VENDOR; in efi_root_node_register()
46 dp->vendor.dp.length = sizeof(struct efi_device_path_vendor); in efi_root_node_register()
47 dp->vendor.guid = efi_u_boot_guid; in efi_root_node_register()
50 dp->end.type = DEVICE_PATH_TYPE_END; in efi_root_node_register()
51 dp->end.sub_type = DEVICE_PATH_SUB_TYPE_END; in efi_root_node_register()
52 dp->end.length = sizeof(struct efi_device_path); in efi_root_node_register()
[all …]
H A Defi_disk.c37 struct efi_device_path *dp; member
259 diskobj->dp = efi_dp_append_node(dp_parent, node); in efi_disk_add_dev()
262 diskobj->dp = efi_dp_from_part(desc, part); in efi_disk_add_dev()
270 diskobj->dp); in efi_disk_add_dev()
275 diskobj->dp); in efi_disk_add_dev()
320 struct efi_device_path *dp = NULL; in efi_disk_create_partitions() local
327 dp = handler->protocol_interface; in efi_disk_create_partitions()
335 ret = efi_disk_add_dev(parent, dp, if_typename, desc, diskid, in efi_disk_create_partitions()
/openbmc/u-boot/drivers/video/tegra124/
H A Ddp.c41 static inline u32 tegra_dpaux_readl(struct tegra_dp_priv *dp, u32 reg) in tegra_dpaux_readl() argument
43 return readl((u32 *)dp->regs + reg); in tegra_dpaux_readl()
46 static inline void tegra_dpaux_writel(struct tegra_dp_priv *dp, u32 reg, in tegra_dpaux_writel() argument
49 writel(val, (u32 *)dp->regs + reg); in tegra_dpaux_writel()
52 static inline u32 tegra_dc_dpaux_poll_register(struct tegra_dp_priv *dp, in tegra_dc_dpaux_poll_register() argument
62 reg_val = tegra_dpaux_readl(dp, reg); in tegra_dc_dpaux_poll_register()
76 static inline int tegra_dpaux_wait_transaction(struct tegra_dp_priv *dp) in tegra_dpaux_wait_transaction() argument
80 if (tegra_dc_dpaux_poll_register(dp, DPAUX_DP_AUXCTL, in tegra_dpaux_wait_transaction()
90 static int tegra_dc_dpaux_write_chunk(struct tegra_dp_priv *dp, u32 cmd, in tegra_dc_dpaux_write_chunk() argument
114 tegra_dpaux_writel(dp, DPAUX_DP_AUXADDR, addr); in tegra_dc_dpaux_write_chunk()
[all …]
H A DMakefile7 obj-y += dp.o
/openbmc/u-boot/lib/
H A Dhashtable.c789 char *data, *sp, *dp, *name, *value; in himport_r() local
807 dp = data; in himport_r()
860 for(;dp < data + size && *dp; ++dp) { in himport_r()
861 if(*dp == '\r' && in himport_r()
862 dp < data + size - 1 && *(dp+1) == '\n') in himport_r()
865 *(dp-ignored_crs) = *dp; in himport_r()
868 dp = data; in himport_r()
875 while (isblank(*dp)) in himport_r()
876 ++dp; in himport_r()
879 if (*dp == '#') { in himport_r()
[all …]
/openbmc/u-boot/drivers/spi/
H A Dmxs_spi.c190 struct mxs_dma_desc *dp; in mxs_spi_xfer_dma() local
230 dp = desc; in mxs_spi_xfer_dma()
232 dp->address = (dma_addr_t)dp; in mxs_spi_xfer_dma()
233 dp->cmd.address = (dma_addr_t)data; in mxs_spi_xfer_dma()
242 dp->cmd.data = MXS_DMA_DESC_COMMAND_DMA_READ; in mxs_spi_xfer_dma()
244 dp->cmd.data = MXS_DMA_DESC_COMMAND_DMA_WRITE; in mxs_spi_xfer_dma()
257 dp->cmd.data |= in mxs_spi_xfer_dma()
267 dp->cmd.data |= MXS_DMA_DESC_IRQ | MXS_DMA_DESC_DEC_SEM; in mxs_spi_xfer_dma()
283 dp->cmd.pio_words[0] = ctrl0; in mxs_spi_xfer_dma()
285 dp->cmd.pio_words[1] = 0; in mxs_spi_xfer_dma()
[all …]
/openbmc/u-boot/lib/efi_selftest/
H A Defi_selftest_block_device.c36 static struct efi_device_path *dp; variable
209 (void **)&dp); in setup()
214 vendor_node.dp.type = DEVICE_PATH_TYPE_HARDWARE_DEVICE; in setup()
215 vendor_node.dp.sub_type = DEVICE_PATH_SUB_TYPE_VENDOR; in setup()
216 vendor_node.dp.length = sizeof(struct efi_device_path_vendor); in setup()
220 boottime->copy_mem(dp, &vendor_node, in setup()
226 boottime->copy_mem((char *)dp + sizeof(struct efi_device_path_vendor), in setup()
231 dp); in setup()
251 dp); in teardown()
282 static efi_uintn_t dp_size(struct efi_device_path *dp) in dp_size() argument
[all …]
H A Defi_selftest_devicepath.c104 vendor_node.dp.type = DEVICE_PATH_TYPE_HARDWARE_DEVICE; in setup()
105 vendor_node.dp.sub_type = DEVICE_PATH_SUB_TYPE_VENDOR; in setup()
106 vendor_node.dp.length = sizeof(struct efi_device_path_vendor); in setup()
267 struct efi_device_path dp; in execute() member
279 struct efi_device_path *dp; in execute() local
293 (void **)&dp, NULL, NULL, in execute()
300 dp, true, false); in execute()
H A Defi_selftest_devicepath_util.c55 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()
/openbmc/u-boot/drivers/misc/
H A Daspeed_dp.c81 struct aspeed_dp_priv *dp = dev_get_priv(dev); in aspeed_dp_probe() local
88 dp->ctrl_base = (void *)devfdt_get_addr_index(dev, 0); in aspeed_dp_probe()
114 writel(readl(dp->ctrl_base + 0xB8) & ~(BIT(24) | BIT(28)), dp->ctrl_base + 0xB8); in aspeed_dp_probe()
157 struct aspeed_dp_priv *dp = dev_get_priv(dev); in dp_aspeed_ofdata_to_platdata() local
160 dp->ctrl_base = (void *)devfdt_get_addr_index(dev, 0); in dp_aspeed_ofdata_to_platdata()
/openbmc/u-boot/include/
H A Defi_loader.h114 uint16_t *efi_dp_str(struct efi_device_path *dp);
356 struct blk_desc *desc, int part, struct efi_device_path *dp);
414 struct efi_device_path *efi_dp_next(const struct efi_device_path *dp);
417 struct efi_object *efi_dp_find_obj(struct efi_device_path *dp,
420 efi_uintn_t efi_dp_instance_size(const struct efi_device_path *dp);
422 efi_uintn_t efi_dp_size(const struct efi_device_path *dp);
423 struct efi_device_path *efi_dp_dup(const struct efi_device_path *dp);
426 struct efi_device_path *efi_dp_append_node(const struct efi_device_path *dp,
434 const struct efi_device_path *dp,
437 struct efi_device_path *efi_dp_get_next_instance(struct efi_device_path **dp,
[all …]
/openbmc/u-boot/doc/device-tree-bindings/video/
H A Dexynos-dp.txt6 compatible: should be "samsung,exynos5-dp"
48 dp@145b0000 {
49 compatible = "samsung,exynos5-dp";
56 dp@145b0000 {
H A Dexynos-fb.txt33 samsung,vl-dp: Data polarity
43 samsung,dp-enabled: 1is you want to use DP, else 0
85 samsung,vl-dp;
98 samsung,dp-enabled = <1>;
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/freediameter/files/
H A D0001-tests-use-EXTENSIONS_DIR.patch58 while ((dp = readdir (dir)) != NULL) {
59 char * dot = strrchr(dp->d_name, '.');
88 while ((dp = readdir (dir)) != NULL) {
89 char * dot = strrchr(dp->d_name, '.');
/openbmc/u-boot/test/
H A Dprint_ut.c31 dp_sd->dp.type = DEVICE_PATH_TYPE_MESSAGING_DEVICE; in efi_ut_print()
32 dp_sd->dp.sub_type = DEVICE_PATH_SUB_TYPE_MSG_SD; in efi_ut_print()
33 dp_sd->dp.length = sizeof(struct efi_device_path_sd_mmc_path); in efi_ut_print()
/openbmc/qemu/target/openrisc/
H A Ddisas.c178 a->d, a->d + a->dp + 1,
182 a->d, a->d + a->dp + 1,
186 a->d, a->d + a->dp + 1,
190 a->d, a->d + a->dp + 1,
194 a->d, a->d + a->dp + 1,
198 a->d, a->d + a->dp + 1,
203 a->d, a->d + a->dp + 1,
206 a->d, a->d + a->dp + 1,
210 a->d, a->d + a->dp + 1, a->a)
H A Dinsns.decode25 &dab_pair d a b dp ap bp
27 &da_pair d a dp ap
206 @dab_pair ...... d:5 a:5 b:5 dp:1 ap:1 bp:1 ........ &dab_pair
208 @da_pair ...... d:5 a:5 ..... dp:1 ap:1 . ........ &da_pair
220 lf_stod_d 110010 d:5 a:5 00000 dp:1 0 0 00110100
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/rdist/rdist-6.1.5/
H A Drdist-6.1.5-cleanup.patch322 - while (dp = readdir(d)) {
323 + while ((dp = readdir(d))) {
324 if (!strcmp(dp->d_name, ".") ||
325 !strcmp(dp->d_name, ".."))
330 cp = dp->d_name;
335 if (sendit(dp->d_name, opts, destdir) > 0)
539 - register DIRENTRY *dp;
542 + DIRENTRY *dp;
551 - while (dp = readdir(d)) {
552 + while ((dp = readdir(d))) {
[all …]
/openbmc/u-boot/lib/efi_driver/
H A Defi_uclass.c33 const struct efi_device_path *dp; in check_node_type() local
37 handle, &efi_guid_device_path, (void **)&dp, in check_node_type()
39 if (r == EFI_SUCCESS && dp) { in check_node_type()
41 const struct efi_device_path *node = efi_dp_last_node(dp); in check_node_type()
/openbmc/u-boot/arch/arm/dts/
H A Dexynos5420-smdk5420.dts63 samsung,vl-dp;
76 samsung,dp-enabled = <1>;
134 dp@145b0000 {
/openbmc/openbmc/meta-raspberrypi/dynamic-layers/multimedia-layer/recipes-multimedia/libcamera-apps/libcamera-apps/
H A D0002-Revert-Support-compressed-pixel-formats-when-saving-.patch203 - uint16_t *dp = dest + y * buf_stride_pixels;
215 - subBlockFunction(dp, w0);
216 - subBlockFunction(dp + 1, w1);
217 - for (int i = 0; i < 8; ++i, ++dp)
218 - *dp = postprocess(*dp);
223 - *dp++ = postprocess((*sp++) << 8);
/openbmc/u-boot/drivers/video/
H A Dipu_disp.c379 static void ipu_dp_csc_setup(int dp, struct dp_csc_param_t dp_csc_param, in ipu_dp_csc_setup() argument
421 int dp; in ipu_dp_init() local
426 dp = DP_SYNC; in ipu_dp_init()
429 dp = DP_SYNC; in ipu_dp_init()
432 dp = DP_ASYNC0; in ipu_dp_init()
499 ipu_dp_csc_setup(dp, dp_csc_array[bg_csc_type][fg_csc_type], 1); in ipu_dp_init()
506 int dp; in ipu_dp_uninit() local
510 dp = DP_SYNC; in ipu_dp_uninit()
513 dp = DP_SYNC; in ipu_dp_uninit()
516 dp = DP_ASYNC0; in ipu_dp_uninit()
[all …]

1234