Home
last modified time | relevance | path

Searched full:di (Results 1 – 25 of 143) sorted by relevance

123456

/openbmc/u-boot/api/
H A Dapi.c198 struct device_info *di; in API_dev_enum() local
201 di = (struct device_info *)va_arg(ap, uintptr_t); in API_dev_enum()
202 if (di == NULL) in API_dev_enum()
205 if (di->cookie == NULL) { in API_dev_enum()
211 if (dev_enum_net(di)) in API_dev_enum()
221 if (!dev_enum_storage(di)) in API_dev_enum()
223 di->cookie = NULL; in API_dev_enum()
231 struct device_info *di; in API_dev_open() local
235 di = (struct device_info *)va_arg(ap, uintptr_t); in API_dev_open()
236 if (di == NULL) in API_dev_open()
[all …]
H A Dapi_display.c18 int display_get_info(int type, struct display_info *di) in display_get_info() argument
20 if (!di) in display_get_info()
30 di->pixel_width = panel_info.vl_col; in display_get_info()
31 di->pixel_height = panel_info.vl_row; in display_get_info()
32 di->screen_rows = lcd_get_screen_rows(); in display_get_info()
33 di->screen_cols = lcd_get_screen_columns(); in display_get_info()
38 di->type = type; in display_get_info()
H A Dapi_storage.c98 static int dev_stor_get(int type, int *more, struct device_info *di) in dev_stor_get() argument
109 if (di->cookie != NULL) { in dev_stor_get()
112 if (di->cookie == in dev_stor_get()
125 di->cookie = (void *)blk_get_dev(specs[type].name, i); in dev_stor_get()
127 if (di->cookie != NULL) { in dev_stor_get()
139 di->type = specs[type].type; in dev_stor_get()
141 dd = (struct blk_desc *)di->cookie; in dev_stor_get()
146 di->di_stor.block_count = dd->lba; in dev_stor_get()
147 di->di_stor.block_size = dd->blksz; in dev_stor_get()
150 di->cookie = NULL; in dev_stor_get()
[all …]
H A Dapi_net.c56 int dev_enum_net(struct device_info *di) in dev_enum_net() argument
60 di->type = DEV_TYP_NET; in dev_enum_net()
61 di->cookie = (void *)eth_current; in dev_enum_net()
62 if (di->cookie == NULL) in dev_enum_net()
65 memcpy(di->di_net.hwaddr, eth_current->enetaddr, 6); in dev_enum_net()
68 (u_int32_t)di->cookie); in dev_enum_net()
99 int dev_enum_net(struct device_info *di) in dev_enum_net() argument
/openbmc/u-boot/drivers/video/
H A Dipu_regs.h330 #define DI_REG(di) ((struct ipu_di *)(IPU_CTRL_BASE_ADDR + \ argument
331 ((di == 1) ? IPU_DI1_REG_BASE : \
333 #define DI_GENERAL(di) (&DI_REG(di)->general) argument
334 #define DI_BS_CLKGEN0(di) (&DI_REG(di)->bs_clkgen0) argument
335 #define DI_BS_CLKGEN1(di) (&DI_REG(di)->bs_clkgen1) argument
337 #define DI_SW_GEN0(di, gen) (&DI_REG(di)->sw_gen0[gen - 1]) argument
338 #define DI_SW_GEN1(di, gen) (&DI_REG(di)->sw_gen1[gen - 1]) argument
339 #define DI_STP_REP(di, gen) (&DI_REG(di)->stp_rep[(gen - 1) / 2]) argument
340 #define DI_STP_REP9(di) (&DI_REG(di)->stp_rep9) argument
341 #define DI_SYNC_AS_GEN(di) (&DI_REG(di)->sync_as) argument
[all …]
H A Dipu_disp.c41 #define DC_DISP_ID_SYNC(di) (di) argument
179 static void ipu_di_data_wave_config(int di, in ipu_di_data_wave_config() argument
186 __raw_writel(reg, DI_DW_GEN(di, wave_gen)); in ipu_di_data_wave_config()
189 static void ipu_di_data_pin_config(int di, int wave_gen, int di_pin, int set, in ipu_di_data_pin_config() argument
194 reg = __raw_readl(DI_DW_GEN(di, wave_gen)); in ipu_di_data_pin_config()
197 __raw_writel(reg, DI_DW_GEN(di, wave_gen)); in ipu_di_data_pin_config()
199 __raw_writel((down << 16) | up, DI_DW_SET(di, wave_gen, set)); in ipu_di_data_pin_config()
202 static void ipu_di_sync_config(int di, int wave_gen, in ipu_di_sync_config() argument
216 printf("DI%d counters out of range.\n", di); in ipu_di_sync_config()
222 __raw_writel(reg, DI_SW_GEN0(di, wave_gen)); in ipu_di_sync_config()
[all …]
/openbmc/u-boot/examples/api/
H A Dglue.c179 struct device_info *di; in ub_dev_enum() local
183 di = &devices[0]; in ub_dev_enum()
185 if (!syscall(API_DEV_ENUM, NULL, di)) in ub_dev_enum()
188 while (di->cookie != NULL) { in ub_dev_enum()
194 di++; in ub_dev_enum()
197 di->cookie = devices[n - 1].cookie; in ub_dev_enum()
199 if (!syscall(API_DEV_ENUM, NULL, di)) in ub_dev_enum()
213 struct device_info *di; in ub_dev_open() local
219 di = &devices[handle]; in ub_dev_open()
221 if (!syscall(API_DEV_OPEN, &err, di)) in ub_dev_open()
[all …]
H A Ddemo.c31 struct device_info *di; in main() local
103 di = ub_dev_get(i); in main()
105 if (di->type & DEV_TYP_STOR) in main()
130 di = ub_dev_get(i); in main()
132 if (di->type == DEV_TYP_NET) in main()
295 struct device_info *di = ub_dev_get(handle); in test_dump_di() local
298 printf(" cookie\t= 0x%08x\n", (uint32_t)di->cookie); in test_dump_di()
299 printf(" type\t\t= 0x%08x\n", di->type); in test_dump_di()
301 if (di->type == DEV_TYP_NET) { in test_dump_di()
304 printf("%02x ", di->di_net.hwaddr[i]); in test_dump_di()
[all …]
/openbmc/qemu/pc-bios/optionrom/
H A Dmultiboot.S97 add $4, %di
119 movw %di, %fs:0x2c
128 xor %di, %di
131 cmp %fs:0x2c, %di
133 add $4, %di
136 cmpl $1, %es:16(%di)
140 movl %es:4(%di), %eax
145 movl %es:(%di), %eax
148 addl %es:8(%di),
[all...]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/minicoredumper/files/
H A D0001-corestripper-Fix-uninitialized-warning.patch10 | 2768 | } else if (di->core_fd >= 0) {
16 | 2768 | } else if (di->core_fd >= 0) {
33 @@ -2707,7 +2707,7 @@ static int dump_data_content_file(struct dump_info *di,
40 len = strlen(di->dst_dir) + strlen("/dumps/") + 32 +
43 static int dump_data_content(struct dump_info *di, struct mcd_dump_data *dd,
/openbmc/qemu/hw/mem/
H A Dpc-dimm.c253 PCDIMMDeviceInfo *di = g_new0(PCDIMMDeviceInfo, 1); in pc_dimm_md_fill_device_info() local
259 di->id = g_strdup(dev->id); in pc_dimm_md_fill_device_info()
261 di->hotplugged = dev->hotplugged; in pc_dimm_md_fill_device_info()
262 di->hotpluggable = dc->hotpluggable; in pc_dimm_md_fill_device_info()
263 di->addr = dimm->addr; in pc_dimm_md_fill_device_info()
264 di->slot = dimm->slot; in pc_dimm_md_fill_device_info()
265 di->node = dimm->node; in pc_dimm_md_fill_device_info()
266 di->size = object_property_get_uint(OBJECT(dimm), PC_DIMM_SIZE_PROP, in pc_dimm_md_fill_device_info()
268 di->memdev = object_get_canonical_path(OBJECT(dimm->hostmem)); in pc_dimm_md_fill_device_info()
271 info->u.nvdimm.data = di; in pc_dimm_md_fill_device_info()
[all …]
/openbmc/u-boot/arch/arc/lib/
H A Dlibgcc2.h42 typedef int DItype __attribute__ ((mode (DI)));
43 typedef unsigned int UDItype __attribute__ ((mode (DI)));
61 #define __NW(a,b) __gnu_ ## a ## di ## b
64 #define __NW(a,b) __ ## a ## di ## b
77 #define __NDW(a,b) __gnu_ ## a ## di ## b
80 #define __NDW(a,b) __ ## a ## di ## b
/openbmc/qemu/hw/arm/
H A Dmcimx6ul-evk.c55 DriveInfo *di; in mcimx6ul_evk_init() local
58 di = drive_get(IF_SD, 0, i); in mcimx6ul_evk_init()
59 blk = di ? blk_by_legacy_dinfo(di) : NULL; in mcimx6ul_evk_init()
H A Dmcimx7d-sabre.c55 DriveInfo *di; in mcimx7d_sabre_init() local
58 di = drive_get(IF_SD, 0, i); in mcimx7d_sabre_init()
59 blk = di ? blk_by_legacy_dinfo(di) : NULL; in mcimx7d_sabre_init()
H A Dcubieboard.c36 DriveInfo *di; in cubieboard_init() local
86 di = drive_get(IF_SD, 0, 0); in cubieboard_init()
87 blk = di ? blk_by_legacy_dinfo(di) : NULL; in cubieboard_init()
H A Dorangepi.c35 DriveInfo *di; in orangepi_init() local
82 di = drive_get(IF_SD, 0, 0); in orangepi_init()
83 blk = di ? blk_by_legacy_dinfo(di) : NULL; in orangepi_init()
H A Dimx25_pdk.c123 DriveInfo *di; in imx25_pdk_init() local
126 di = drive_get(IF_SD, 0, i); in imx25_pdk_init()
127 blk = di ? blk_by_legacy_dinfo(di) : NULL; in imx25_pdk_init()
H A Dimx8mp-evk.c78 DriveInfo *di = drive_get(IF_SD, i, 0); in imx8mp_evk_init() local
80 if (!di) { in imx8mp_evk_init()
84 blk = blk_by_legacy_dinfo(di); in imx8mp_evk_init()
/openbmc/qemu/hw/core/
H A Dmachine-hmp-cmds.c261 PCDIMMDeviceInfo *di; in hmp_info_memory_devices() local
272 di = value->type == MEMORY_DEVICE_INFO_KIND_DIMM ? in hmp_info_memory_devices()
276 di->id ? di->id : ""); in hmp_info_memory_devices()
277 monitor_printf(mon, " addr: 0x%" PRIx64 "\n", di->addr); in hmp_info_memory_devices()
278 monitor_printf(mon, " slot: %" PRId64 "\n", di->slot); in hmp_info_memory_devices()
279 monitor_printf(mon, " node: %" PRId64 "\n", di->node); in hmp_info_memory_devices()
280 monitor_printf(mon, " size: %" PRIu64 "\n", di->size); in hmp_info_memory_devices()
281 monitor_printf(mon, " memdev: %s\n", di->memdev); in hmp_info_memory_devices()
283 di->hotplugged ? "true" : "false"); in hmp_info_memory_devices()
285 di->hotpluggable ? "true" : "false"); in hmp_info_memory_devices()
/openbmc/openbmc/poky/meta/recipes-devtools/python/
H A Dpython3-calver_2025.04.17.bb2 HOMEPAGE = "https://github.com/di/calver"
6 SRC_URI = "git://github.com/di/calver;branch=master;protocol=https;tag=${PV}"
/openbmc/phosphor-dbus-interfaces/yaml/com/ibm/ipzvpd/
H A DVMPU.interface.yaml16 - name: DI
19 DI keyword. Data identifier.
/openbmc/docs/designs/
H A Dphosphor-hwmon-refactoring.md45 - DI: make the sensor struct take SensorConfig as dependency
52 - DI: make the sensor map take sensor interface as dependency
57 - DI: make all other functions take sensor map as dependency
/openbmc/qemu/accel/tcg/
H A Dtcg-runtime-gvec.c1112 int32_t di; in HELPER() local
1113 if (sadd32_overflow(ai, bi, &di)) { in HELPER()
1114 di = (di < 0 ? INT32_MAX : INT32_MIN); in HELPER()
1116 *(int32_t *)(d + i) = di; in HELPER()
1129 int64_t di; in HELPER() local
1130 if (sadd64_overflow(ai, bi, &di)) { in HELPER()
1131 di = (di < 0 ? INT64_MAX : INT64_MIN); in HELPER()
1133 *(int64_t *)(d + i) = di; in HELPER()
1180 int32_t di; in HELPER() local
1181 if (ssub32_overflow(ai, bi, &di)) { in HELPER()
[all …]
/openbmc/qemu/hw/char/
H A Ddiva-gsp.c122 struct diva_info di = diva_get_diva_info(pc); in diva_pci_realize() local
124 size_t portmask = di.omask; in diva_pci_realize()
130 pci->irqs = qemu_allocate_irqs(multi_serial_irq_mux, pci, di.nports); in diva_pci_realize()
132 for (i = 0; i < di.nports; i++) { in diva_pci_realize()
205 struct diva_info di = diva_get_diva_info(PCI_DEVICE_GET_CLASS(dev)); in diva_serial_init() local
208 for (i = 0; i < di.nports; i++) { in diva_serial_init()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/nana/nana/
H A D0002-man-Makefile.am-we-seem-not-to-need-the-work-around-.patch16 …TOPDIR/BUILD/hosttools/install -c -m 644 I.3 DI.3 L.3 DL.3 Q.3 Qstl.3 nana.3 'nana/2.5/image/usr/s…
43 EXTRA_DIST = nana.1 nana-clg.1 I.3 DI.3 L.3 DL.3 Q.3 Qstl.3 nana.3
45 man_MANS = nana.1 nana-clg.1 I.3 DI.3 L.3 DL.3 Q.3 Qstl.3 nana.3

123456