Home
last modified time | relevance | path

Searched refs:ph (Results 1 – 25 of 41) sorted by relevance

12

/openbmc/phosphor-logging/test/openpower-pels/
H A Dprivate_header_test.cpp24 PrivateHeader ph(stream); in TEST_F() local
25 EXPECT_EQ(ph.valid(), true); in TEST_F()
27 EXPECT_EQ(ph.header().id, 0x5048); in TEST_F()
28 EXPECT_EQ(ph.header().size, PrivateHeader::flattenedSize()); in TEST_F()
29 EXPECT_EQ(ph.header().version, 0x01); in TEST_F()
30 EXPECT_EQ(ph.header().subType, 0x02); in TEST_F()
31 EXPECT_EQ(ph.header().componentID, 0x0304); in TEST_F()
33 auto ct = ph.createTimestamp(); in TEST_F()
43 auto mt = ph.commitTimestamp(); in TEST_F()
53 EXPECT_EQ(ph.creatorID(), 0x4F); in TEST_F()
[all …]
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dprivate_header.cpp93 std::string ph; in getJSON() local
94 jsonInsert(ph, pv::sectionVer, getNumberString("%d", privateHeaderVersion), in getJSON()
96 jsonInsert(ph, pv::subSection, getNumberString("%d", _header.subType), 1); in getJSON()
97 jsonInsert(ph, pv::createdBy, in getJSON()
99 jsonInsert(ph, "Created at", phCreateTStr, 1); in getJSON()
100 jsonInsert(ph, "Committed at", phCommitTStr, 1); in getJSON()
101 jsonInsert(ph, "Creator Subsystem", creator, 1); in getJSON()
102 jsonInsert(ph, "CSSVER", phCreatorVersionStr, 1); in getJSON()
103 jsonInsert(ph, "Platform Log Id", getNumberString("0x%X", _plid), 1); in getJSON()
104 jsonInsert(ph, "Entry Id", getNumberString("0x%X", _id), 1); in getJSON()
[all …]
H A Ddata_interface.cpp718 std::string ph = path; in getLogIDWithHwIsolation() local
719 ph.erase(pos, hwErrorLog.length()); in getLogIDWithHwIsolation()
720 auto service = getService(ph, interface::hwIsolationEntry); in getLogIDWithHwIsolation()
727 getProperty(service, ph, interface::hwIsolationEntry, in getLogIDWithHwIsolation()
/openbmc/u-boot/board/freescale/common/
H A Dfman.c37 unsigned int ph; in fdt_set_phy_handle() local
50 ph = fdt_create_phandle(fdt, offset); in fdt_set_phy_handle()
51 if (!ph) in fdt_set_phy_handle()
54 ph = cpu_to_fdt32(ph); in fdt_set_phy_handle()
60 return fdt_setprop(fdt, offset, "phy-handle", &ph, sizeof(ph)); in fdt_set_phy_handle()
H A Dsgmii_riser.c47 uint32_t ph; in fsl_sgmii_riser_fdt_fixup() local
72 ph = fdt_create_phandle(fdt, phy_node); in fsl_sgmii_riser_fdt_fixup()
73 if (!ph) in fsl_sgmii_riser_fdt_fixup()
121 fdt_setprop(fdt, enet_node, "phy-handle", &ph, in fsl_sgmii_riser_fdt_fixup()
122 sizeof(ph)); in fsl_sgmii_riser_fdt_fixup()
/openbmc/u-boot/tools/
H A Dzynqmpimage.c138 static void print_partition(const void *ptr, const struct partition_header *ph) in print_partition() argument
140 uint32_t attr = le32_to_cpu(ph->attributes); in print_partition()
141 unsigned long len = le32_to_cpu(ph->len) * 4; in print_partition()
164 printf(" Offset : 0x%08x\n", le32_to_cpu(ph->offset) * 4); in print_partition()
167 (unsigned long long)le64_to_cpu(ph->load_address)); in print_partition()
168 if (ph->load_address != ph->entry_point) in print_partition()
170 (unsigned long long)le64_to_cpu(ph->entry_point)); in print_partition()
209 printf(" Checksum : 0x%08x\n", le32_to_cpu(ph->checksum)); in print_partition()
255 struct partition_header *ph; in zynqmpimage_print_header() local
261 ph = (void *)ptr + ph_offset; in zynqmpimage_print_header()
[all …]
/openbmc/qemu/include/hw/
H A Delf_ops.h.inc204 struct elf_phdr *ph, int elf_machine)
237 if (rels[i].r_offset < ph->p_vaddr ||
238 rels[i].r_offset >= ph->p_vaddr + ph->p_filesz) {
241 addr = &data[rels[i].r_offset - ph->p_vaddr];
327 struct elf_phdr *phdr = NULL, *ph;
407 ph = &phdr[i];
408 glue(bswap_phdr, SZ)(ph);
424 ph = &phdr[i];
425 if (ph->p_type == PT_LOAD) {
426 mem_size = ph->p_memsz; /* Size of the ROM */
[all …]
/openbmc/qemu/ui/
H A Dvnc-enc-zywrle.h568 ph = buf; \
571 ph += s >> 1; \
574 ph += (s >> 1) * w; \
576 end = ph + h * w; \
577 while (ph < end) { \
578 line = ph + w; \
579 while (ph < line) { \
582 ph += s; \
584 ph += (s - 1) * w; \
590 ZYWRLE_LOAD_COEFF(ph, r, g, b); \
[all …]
H A Dgtk-gl-area.c45 int pw, ph, gs, y1, y2; in gd_gl_area_draw() local
62 ph = wh * gs; in gd_gl_area_draw()
112 glViewport(0, 0, pw, ph); in gd_gl_area_draw()
143 surface_gl_setup_viewport(vc->gfx.gls, vc->gfx.ds, pw, ph); in gd_gl_area_draw()
H A Dvnc-enc-zywrle-template.c141 int *ph; in ZYWRLE_ANALYZE() local
H A Dgtk-egl.c73 int ww, wh, pw, ph, gs; in gd_egl_draw() local
84 ph = wh * gs; in gd_egl_draw()
121 surface_gl_setup_viewport(vc->gfx.gls, vc->gfx.ds, pw, ph); in gd_egl_draw()
/openbmc/u-boot/arch/arm/cpu/armv7/ls102xa/
H A Dfdt.c31 uint32_t ph; in ft_fixup_enet_phy_connect_type() local
59 ph = fdt_create_phandle(fdt, phy_node); in ft_fixup_enet_phy_connect_type()
60 if (ph) in ft_fixup_enet_phy_connect_type()
62 "phy-handle", ph, 1); in ft_fixup_enet_phy_connect_type()
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/
H A Dfdt.c253 u32 *ph; in ft_fixup_l2cache() local
266 ph = (u32 *)fdt_getprop(blob, off, "next-level-cache", 0); in ft_fixup_l2cache()
268 if (ph == NULL) { in ft_fixup_l2cache()
273 off = fdt_node_offset_by_phandle(blob, *ph); in ft_fixup_l2cache()
293 u32 *ph; in ft_fixup_l2cache() local
316 ph = (u32 *)fdt_getprop(blob, off, "next-level-cache", 0); in ft_fixup_l2cache()
318 if (ph == NULL) { in ft_fixup_l2cache()
323 l2_off = fdt_node_offset_by_phandle(blob, *ph); in ft_fixup_l2cache()
356 ph = (u32 *)fdt_getprop(blob, l2_off, "next-level-cache", 0); in ft_fixup_l2cache()
358 if (ph == NULL) { in ft_fixup_l2cache()
[all …]
/openbmc/qemu/hw/ppc/
H A Dtrace-events82 vof_finddevice(const char *path, uint32_t ph) "\"%s\" => ph=0x%x"
86 vof_getprop(uint32_t ph, const char *prop, uint32_t ret, const char *val) "ph=0x%x \"%s\" => len=%d…
87 vof_getproplen(uint32_t ph, const char *prop, uint32_t ret) "ph=0x%x \"%s\" => len=%d"
88 vof_setprop(uint32_t ph, const char *prop, const char *val, uint32_t vallen, uint32_t ret) "ph=0x%x…
89 vof_open(const char *path, uint32_t ph, uint32_t ih) "%s ph=0x%x => ih=0x%x"
91 vof_package_to_path(uint32_t ph, const char *tmp, int ret) "ph=0x%x => %s len=%d"
92 vof_instance_to_path(uint32_t ih, uint32_t ph, const char *tmp, int ret) "ih=0x%x ph=0x%x => %s len…
93 vof_instance_to_package(uint32_t ih, uint32_t ph) "ih=0x%x => ph=0x%x"
/openbmc/qemu/block/
H A Dparallels.c1173 const ParallelsHeader *ph = (const void *)buf; in parallels_probe() local
1179 if ((!memcmp(ph->magic, HEADER_MAGIC, 16) || in parallels_probe()
1180 !memcmp(ph->magic, HEADER_MAGIC2, 16)) && in parallels_probe()
1181 (le32_to_cpu(ph->version) == HEADER_VERSION)) { in parallels_probe()
1242 ParallelsHeader ph; in parallels_open() local
1265 ret = bdrv_pread(bs->file, 0, sizeof(ph), &ph, 0); in parallels_open()
1270 bs->total_sectors = le64_to_cpu(ph.nb_sectors); in parallels_open()
1272 if (le32_to_cpu(ph.version) != HEADER_VERSION) { in parallels_open()
1275 if (!memcmp(ph.magic, HEADER_MAGIC, 16)) { in parallels_open()
1278 } else if (!memcmp(ph.magic, HEADER_MAGIC2, 16)) { in parallels_open()
[all …]
/openbmc/qemu/pc-bios/vof/
H A Dci.c88 uint32_t ci_getprop(phandle ph, const char *propname, void *prop, int len) in ci_getprop() argument
90 return call_ci("getprop", 4, 1, ph, propname, prop, len); in ci_getprop()
H A Dvof.h33 uint32_t ci_getprop(phandle ph, const char *propname, void *prop, int len);
/openbmc/u-boot/arch/powerpc/cpu/mpc8xxx/
H A Dfdt.c54 int ph = fdt_get_phandle(blob, off); in ft_fixup_num_cores() local
57 if (-FDT_ERR_NOTFOUND == ft_del_cpuhandle(blob, ph)) { in ft_fixup_num_cores()
/openbmc/qemu/hw/i386/
H A Dmicrovm-dt.c155 uint32_t ph; in dt_add_ioapic() local
180 ph = qemu_fdt_alloc_phandle(mms->fdt); in dt_add_ioapic()
181 qemu_fdt_setprop_cell(mms->fdt, nodename, "phandle", ph); in dt_add_ioapic()
182 qemu_fdt_setprop_cell(mms->fdt, nodename, "linux,phandle", ph); in dt_add_ioapic()
183 mms->ioapic_phandle[index] = ph; in dt_add_ioapic()
/openbmc/u-boot/board/freescale/mpc837xemds/
H A Dmpc837xemds.c143 const u32 *ph; in __ft_tsec_fixup() local
162 ph = (u32 *)fdt_getprop(blob, off, "phy-handle", 0); in __ft_tsec_fixup()
163 if (!ph) { in __ft_tsec_fixup()
169 off = fdt_node_offset_by_phandle(blob, *ph); in __ft_tsec_fixup()
/openbmc/u-boot/drivers/net/fm/
H A Dinit.c243 uint32_t ph; in ft_fixup_port() local
307 ph = fdt_get_phandle(blob, off); in ft_fixup_port()
308 do_fixup_by_prop(blob, "fsl,fman-mac", &ph, sizeof(ph), in ft_fixup_port()
/openbmc/u-boot/board/freescale/mpc8569mds/
H A Dmpc8569mds.c522 const u32 *ph; in ft_board_setup() local
552 ph = fdt_getprop(blob, nodeoff, "phy-handle", 0); in ft_board_setup()
553 if (ph == NULL) { in ft_board_setup()
558 off = fdt_node_offset_by_phandle(blob, *ph); in ft_board_setup()
/openbmc/openbmc/meta-openembedded/meta-initramfs/recipes-devtools/klibc/files/
H A D0001-workaround-for-overlapping-sections-in-binary.patch22 [klibc] Detect the sizes of various types, and make available to sysstub.ph.
26 sysstub.ph. This is currently not used, but it's expected that some
/openbmc/qemu/hw/nvme/
H A Dns.c413 uint16_t *ph; in nvme_ns_init_fdp() local
417 ph = ns->fdp.phs = g_new(uint16_t, 1); in nvme_ns_init_fdp()
419 ruh = nvme_find_ruh_by_attr(endgrp, NVME_RUHA_CTRL, ph); in nvme_ns_init_fdp()
421 ruh = nvme_find_ruh_by_attr(endgrp, NVME_RUHA_UNUSED, ph); in nvme_ns_init_fdp()
498 ph = ns->fdp.phs = g_new(uint16_t, ns->fdp.nphs); in nvme_ns_init_fdp()
503 for (unsigned int i = 0; i < ns->fdp.nphs; i++, ruhid++, ph++) { in nvme_ns_init_fdp()
541 *ph = *ruhid; in nvme_ns_init_fdp()
/openbmc/u-boot/drivers/video/
H A Dstb_truetype.h470 unsigned char *pixels, int pw, int ph, // bitmap to be filled in
484 STBTT_DEF void stbtt_GetBakedQuad(stbtt_bakedchar *chardata, int pw, int ph, // same data as above
584 STBTT_DEF void stbtt_GetPackedQuad(stbtt_packedchar *chardata, int pw, int ph, // same data as abo…
2517 unsigned char *pixels, int pw, int ph, // bitmap to be filled in in stbtt_BakeFontBitmap() argument
2526 STBTT_memset(pixels, 0, pw*ph); // background of 0 around pixels in stbtt_BakeFontBitmap()
2541 if (y + gh + 1 >= ph) // check if it fits vertically AFTER potentially moving to next row in stbtt_BakeFontBitmap()
2544 STBTT_assert(y+gh < ph); in stbtt_BakeFontBitmap()
2560 STBTT_DEF void stbtt_GetBakedQuad(stbtt_bakedchar *chardata, int pw, int ph, int char_index, float … in stbtt_GetBakedQuad() argument
2563 float ipw = 1.0f / pw, iph = 1.0f / ph; in stbtt_GetBakedQuad()
2623 static void stbrp_init_target(stbrp_context *con, int pw, int ph, stbrp_node *nodes, int num_nodes) in stbrp_init_target() argument
[all …]

12