Home
last modified time | relevance | path

Searched refs:bpp (Results 1 – 25 of 102) sorted by relevance

12345

/freebsd/usr.sbin/makefs/ffs/
H A Dffs_balloc.c93 if (bpp != NULL) { in ffs_balloc_ufs1()
94 *bpp = NULL; in ffs_balloc_ufs1()
137 brelse(*bpp); in ffs_balloc_ufs1()
163 brelse(*bpp); in ffs_balloc_ufs1()
194 *bpp = bp; in ffs_balloc_ufs1()
308 *bpp = nbp; in ffs_balloc_ufs1()
327 *bpp = nbp; in ffs_balloc_ufs1()
351 *bpp = NULL; in ffs_balloc_ufs2()
451 *bpp = bp; in ffs_balloc_ufs2()
565 *bpp = nbp; in ffs_balloc_ufs2()
[all …]
H A Dbuf.c58 struct m_buf **bpp) in bread() argument
64 assert (bpp != NULL); in bread()
69 *bpp = getblk(vp, blkno, size, 0, 0, 0); in bread()
73 (long long)(*bpp)->b_blkno, (long long) offset, in bread()
74 (*bpp)->b_bcount); in bread()
75 if (lseek((*bpp)->b_fs->fd, offset, SEEK_SET) == -1) in bread()
78 rv = read((*bpp)->b_fs->fd, (*bpp)->b_data, (size_t)(*bpp)->b_bcount); in bread()
81 (*bpp)->b_bcount, (long long)offset, (int)rv); in bread()
84 (*bpp)->b_bcount, (long long)offset, (int)rv); in bread()
85 else if (rv != (*bpp)->b_bcount) /* short read */ in bread()
[all …]
/freebsd/lib/libc/net/
H A Dmap_v4v6.c84 _map_v4v6_hostent(struct hostent *hp, char **bpp, char *ep) { in _map_v4v6_hostent() argument
92 int i = (u_long)*bpp % sizeof(align); in _map_v4v6_hostent()
97 if ((ep - *bpp) < (i + IN6ADDRSZ)) { in _map_v4v6_hostent()
102 *bpp += i; in _map_v4v6_hostent()
103 _map_v4v6_address(*ap, *bpp); in _map_v4v6_hostent()
104 *ap = *bpp; in _map_v4v6_hostent()
105 *bpp += IN6ADDRSZ; in _map_v4v6_hostent()
/freebsd/sys/dev/dpaa/
H A Dbman.c200 t_BmPoolParam bpp; in bman_pool_create() local
212 memset(&bpp, 0, sizeof(bpp)); in bman_pool_create()
213 bpp.h_Bm = sc->sc_bh; in bman_pool_create()
214 bpp.h_BmPortal = portal; in bman_pool_create()
215 bpp.h_App = h_BufferPool; in bman_pool_create()
216 bpp.numOfBuffers = allocBuffers; in bman_pool_create()
218 bpp.bufferPoolInfo.h_BufferPool = h_BufferPool; in bman_pool_create()
219 bpp.bufferPoolInfo.f_GetBuf = f_GetBuf; in bman_pool_create()
220 bpp.bufferPoolInfo.f_PutBuf = f_PutBuf; in bman_pool_create()
223 bpp.bufferPoolInfo.bufferSize = bufferSize; in bman_pool_create()
[all …]
H A Dbman_portals.c115 t_BmPortalParam bpp; in bman_portal_setup() local
149 bpp.ceBaseAddress = rman_get_bushandle(sc->sc_rres[0]); in bman_portal_setup()
150 bpp.ciBaseAddress = rman_get_bushandle(sc->sc_rres[1]); in bman_portal_setup()
151 bpp.h_Bm = bsc->sc_bh; in bman_portal_setup()
152 bpp.swPortalId = cpu; in bman_portal_setup()
153 bpp.irq = (uintptr_t)sc->sc_dp[cpu].dp_ires; in bman_portal_setup()
155 portal = BM_PORTAL_Config(&bpp); in bman_portal_setup()
/freebsd/contrib/byacc/
H A Dsymtab.c65 bucket *bp, **bpp; in lookup() local
67 bpp = symbol_table + hash(name); in lookup()
68 bp = *bpp; in lookup()
74 bpp = &bp->link; in lookup()
75 bp = *bpp; in lookup()
78 *bpp = bp = make_bucket(name); in lookup()
/freebsd/sys/compat/linux/
H A Dlinux_ipc.c133 bpp->key = lpp->key; in linux_to_bsd_ipc_perm()
134 bpp->uid = lpp->uid; in linux_to_bsd_ipc_perm()
135 bpp->gid = lpp->gid; in linux_to_bsd_ipc_perm()
136 bpp->cuid = lpp->cuid; in linux_to_bsd_ipc_perm()
137 bpp->cgid = lpp->cgid; in linux_to_bsd_ipc_perm()
138 bpp->mode = lpp->mode; in linux_to_bsd_ipc_perm()
139 bpp->seq = lpp->seq; in linux_to_bsd_ipc_perm()
146 lpp->key = bpp->key; in bsd_to_linux_ipc_perm()
147 lpp->uid = bpp->uid; in bsd_to_linux_ipc_perm()
148 lpp->gid = bpp->gid; in bsd_to_linux_ipc_perm()
[all …]
/freebsd/sys/fs/ext2fs/
H A Dext2_balloc.c57 struct ucred *cred, struct buf **bpp, int flags) in ext2_ext_balloc() argument
87 *bpp = bp; in ext2_ext_balloc()
99 struct buf **bpp, int flags) in ext2_balloc() argument
110 *bpp = NULL; in ext2_balloc()
127 return (ext2_ext_balloc(ip, lbn, size, cred, bpp, flags)); in ext2_balloc()
145 *bpp = bp; in ext2_balloc()
168 *bpp = bp; in ext2_balloc()
296 *bpp = nbp; in ext2_balloc()
318 *bpp = nbp; in ext2_balloc()
H A Dext2_subr.c64 ext2_blkatoff(struct vnode *vp, off_t offset, char **res, struct buf **bpp) in ext2_blkatoff() argument
89 *bpp = bp; in ext2_blkatoff()
/freebsd/sys/dev/fb/
H A Dsplash_pcx.c66 int bpp; member
98 pcx_info.bpp, pcx_info.planes); in pcx_start()
114 && info.vi_depth == pcx_info.bpp in pcx_start()
154 uint8_t bpp; member
182 hdr->bpp != 8 || in pcx_init()
191 pcx_info.bpp = hdr->bpp; in pcx_init()
/freebsd/contrib/pnglite/
H A Dpnglite.c74 int bpp; in png_get_bpp() local
78 bpp = 1; break; in png_get_bpp()
80 bpp = 3; break; in png_get_bpp()
82 bpp = 1; break; in png_get_bpp()
84 bpp = 2; break; in png_get_bpp()
86 bpp = 4; break; in png_get_bpp()
91 bpp *= png->depth / 8; in png_get_bpp()
93 return (bpp); in png_get_bpp()
201 png->bpp = (uint8_t)result; in png_open()
359 png->bpp + png->height; in png_process_chunk()
[all …]
/freebsd/usr.sbin/makefs/msdos/
H A Dmsdosfs_lookup.c200 struct m_buf **bpp, struct direntry **epp) in m_readep() argument
212 bpp)) != 0) { in m_readep()
213 *bpp = NULL; in m_readep()
217 *epp = bptoep(pmp, *bpp, diroffset); in m_readep()
227 m_readde(struct denode *dep, struct m_buf **bpp, struct direntry **epp) in m_readde() argument
231 bpp, epp)); in m_readde()
/freebsd/usr.sbin/makefs/
H A Dmsdos.h62 int m_readde(struct denode *dep, struct m_buf **bpp, struct direntry **epp);
64 struct m_buf **bpp, struct direntry **epp);
65 int m_extendfile(struct denode *dep, u_long count, struct m_buf **bpp,
/freebsd/sys/arm/broadcom/bcm2835/
H A Dbcm2835_fbd.c88 if (fb->bpp < FB_DEPTH) { in bcm_fb_init()
90 fb->bpp, FB_DEPTH); in bcm_fb_init()
91 fb->bpp = FB_DEPTH; in bcm_fb_init()
94 fb->bpp); in bcm_fb_init()
126 sc->info.fb_bpp = sc->info.fb_depth = fb.bpp; in bcm_fb_setup_fbd()
163 fb.vxres, fb.vyres, fb.xoffset, fb.yoffset, fb.bpp); in bcm_fb_setup_fbd()
H A Dbcm2835_mbox_prop.h317 uint32_t bpp; member
320 uint32_t bpp; member
423 uint32_t bpp; member
439 struct bcm2835_mbox_tag_depth bpp; member
H A Dbcm2835_mbox.c537 BCM2835_MBOX_INIT_TAG(&msg.bpp, GET_DEPTH); in bcm2835_mbox_fb_get_bpp()
538 msg.bpp.tag_hdr.val_len = 0; in bcm2835_mbox_fb_get_bpp()
543 fb->bpp = msg.bpp.body.resp.bpp; in bcm2835_mbox_fb_get_bpp()
567 msg.depth.body.req.bpp = fb->bpp; in bcm2835_mbox_fb_init()
/freebsd/sys/arm/nvidia/drm2/
H A Dtegra_fb.c118 u_int bpp, size; in tegra_fb_probe() local
136 bpp = (sizes->surface_bpp + 7) / 8; in tegra_fb_probe()
142 mode_cmd.pitches[0] = roundup(sizes->surface_width * bpp, in tegra_fb_probe()
271 int width, height, size, bpp; in tegra_drm_fb_create() local
294 bpp = drm_format_plane_cpp(cmd->pixel_format, i); in tegra_drm_fb_create()
296 width * bpp + cmd->offsets[i]; in tegra_drm_fb_create()
/freebsd/stand/common/
H A Dgfx_fb.c288 if (bpp == 2) in gfx_fb_color_map()
293 if (bpp == 2) in gfx_fb_color_map()
298 if (bpp == 2) in gfx_fb_color_map()
454 switch (bpp) { in gfxfb_blt_fill()
477 off += bpp; in gfxfb_blt_fill()
530 bgra = bpp == 4 && in gfxfb_blt_video_to_buffer()
550 switch (bpp) { in gfxfb_blt_video_to_buffer()
567 if (bpp == 1) { in gfxfb_blt_video_to_buffer()
659 off = x * bpp; in gfxfb_blt_buffer_to_video()
660 switch (bpp) { in gfxfb_blt_buffer_to_video()
[all …]
/freebsd/sys/geom/eli/
H A Dg_eli.c1040 eli_metadata_softc(sc, md, bpp->sectorsize, bpp->mediasize); in g_eli_create()
1055 error = g_attach(cp, bpp); in g_eli_create()
1059 bpp->name, error); in g_eli_create()
1062 bpp->name, error); in g_eli_create()
1078 bpp->name, error); in g_eli_create()
1081 bpp->name, error); in g_eli_create()
1100 bpp->name, i); in g_eli_create()
1113 "for %s (error=%d).", bpp->name, error); in g_eli_create()
1116 "for %s (error=%d).", bpp->name, error); in g_eli_create()
1122 "g_eli[%u] %s", i, bpp->name); in g_eli_create()
[all …]
/freebsd/sys/sys/
H A Dbuf.h549 #define bread(vp, blkno, size, cred, bpp) \ argument
551 NULL, bpp)
552 #define bread_gb(vp, blkno, size, cred, gbflags, bpp) \ argument
554 gbflags, NULL, bpp)
555 #define breadn(vp, blkno, size, rablkno, rabsize, cnt, cred, bpp) \ argument
557 0, NULL, bpp)
578 int slpflag, int slptimeo, int flags, struct buf **bpp);
/freebsd/sys/kern/
H A Dvfs_cluster.c91 struct buf **bpp) in cluster_read() argument
123 *bpp = NULL; in cluster_read()
128 *bpp = reqbp = bp; in cluster_read()
326 *bpp = NULL; in cluster_read()
694 struct buf **bpp, **endbp; in cluster_write() local
718 for (bpp = buflist->bs_children; in cluster_write()
719 bpp < endbp; bpp++) in cluster_write()
720 brelse(*bpp); in cluster_write()
731 for (bpp = buflist->bs_children; in cluster_write()
732 bpp <= endbp; bpp++) in cluster_write()
[all …]
/freebsd/sys/ufs/ffs/
H A Dffs_balloc.c120 *bpp = NULL; in ffs_balloc_ufs1()
186 *bpp = bp; in ffs_balloc_ufs1()
235 *bpp = bp; in ffs_balloc_ufs1()
390 *bpp = bp; in ffs_balloc_ufs1()
457 *bpp = nbp; in ffs_balloc_ufs1()
483 *bpp = nbp; in ffs_balloc_ufs1()
623 *bpp = NULL; in ffs_balloc_ufs2()
745 *bpp = bp; in ffs_balloc_ufs2()
855 *bpp = bp; in ffs_balloc_ufs2()
1012 *bpp = bp; in ffs_balloc_ufs2()
[all …]
/freebsd/sys/contrib/xen/io/
H A Ddisplif.h518 uint32_t bpp; member
720 uint32_t bpp; member
/freebsd/sys/fs/msdosfs/
H A Dmsdosfs_lookup.c926 struct buf **bpp, struct direntry **epp) in readep() argument
937 if ((error = bread(pmp->pm_devvp, bn, blsize, NOCRED, bpp)) != 0) { in readep()
938 brelse(*bpp); in readep()
939 *bpp = NULL; in readep()
943 *epp = bptoep(pmp, *bpp, diroffset); in readep()
953 readde(struct denode *dep, struct buf **bpp, struct direntry **epp) in readde() argument
957 bpp, epp)); in readde()
/freebsd/sys/arm/ti/am335x/
H A Dam335x_lcd.c504 "bpp", &panel->bpp); in am335x_read_panel_info()
643 dma_size = round_page(sc->sc_panel.panel_width*sc->sc_panel.panel_height*sc->sc_panel.bpp/8); in am335x_lcd_configure()
681 sc->sc_fb_size = sc->sc_panel.panel_width*sc->sc_panel.panel_height*sc->sc_panel.bpp/8; in am335x_lcd_configure()
787 if (sc->sc_panel.bpp >= 24) in am335x_lcd_configure()
789 if (sc->sc_panel.bpp == 32) in am335x_lcd_configure()
816 sc->sc_fb_info.fb_bpp = sc->sc_fb_info.fb_depth = sc->sc_panel.bpp; in am335x_lcd_configure()
817 sc->sc_fb_info.fb_stride = sc->sc_panel.panel_width*sc->sc_panel.bpp / 8; in am335x_lcd_configure()
987 sc->sc_panel.bpp = 16; in am335x_lcd_attach()

12345