/src/sys/arch/amiga/stand/dumpfont/ |
dumpfont.c | 29 struct BitMap bm = { 256, /* bytes per row */ local in function:main 38 rp.BitMap = &bm; 39 bm.Planes[0] = pp = AllocRaster (256 * 8, 8);
|
fontdumper.c | 50 struct BitMap bm = { local in function:main 119 InitBitMap(&bm, 1, 256 * NetBSDwidth, tf->tf_YSize); 121 rp.BitMap = &bm; 122 bm.Planes[0] = pp = AllocRaster (256 * NetBSDwidth, tf->tf_YSize);
|
/src/sys/arch/amiga/dev/ |
grf_cc.c | 196 bmap_t bm; local in function:grf_cc_on 202 /* XXX type of bm ? */ 203 (*view_cdevsw.d_ioctl)(0, VIOCGBMAP, (void *)&bm, -1, NULL); 209 gi->gd_fbaddr = bm.hardware_address; 210 gi->gd_fbsize = bm.depth*bm.bytes_per_row*bm.rows;
|
view.c | 304 bmap_t *bm; local in function:viewioctl 324 bm = (bmap_t *)data; 325 memcpy(bm, vu->view->bitmap, sizeof(bmap_t)); 327 bm->plane = 0; 328 bm->blit_temp = 0; 329 bm->hardware_address = 0; 398 bmap_t *bm; local in function:viewmmap 403 bm = vu->view->bitmap; 404 bmd_start = bm->hardware_address; 405 bmd_size = bm->bytes_per_row*bm->rows*bm->depth [all...] |
/src/sys/stand/efiboot/ |
module.c | 88 struct boot_module *bm; local in function:module_foreach 90 TAILQ_FOREACH(bm, &boot_modules, entries) { 91 fn(bm->module_name); 98 struct boot_module *bm; local in function:module_add 105 TAILQ_FOREACH(bm, &boot_modules, entries) { 106 if (strcmp(bm->module_name, module_name) == 0) 111 bm = alloc(sizeof(*bm)); 113 bm->module_name = alloc(slen); 114 memcpy(bm->module_name, module_name, slen) 121 struct boot_module *bm; local in function:module_remove 140 struct boot_module *bm; local in function:module_remove_all [all...] |
/src/sys/external/bsd/drm2/drm/ |
drm_memory.c | 111 struct drm_bus_map *const bm = &dev->bus_maps[unit]; local in function:drm_legacy_ioremap 112 int flags = bm->bm_flags; 115 if (map->offset < bm->bm_base) 119 if (bm->bm_size < map->size) 123 if ((bm->bm_size - map->size) < 124 (map->offset - bm->bm_base)) 140 map->lm_data.bus_space.bus_map = bm;
|
/src/sys/arch/hpcmips/dev/ |
mq200subr.c | 111 int bn, bm, bp, e; local in function:mq200_pllparam 114 bn = 0; bp = 0; bm = 0; 128 bm = m; 137 out = ref * (bm + 1) / ((bn + 1) << bp); 139 ref / 1000, ref % 1000, bm, bn, (1<<bp), 142 *res = ((bm << MQ200_PLL_M_SHIFT) |
|
/src/sys/dev/ |
bio.c | 206 struct bio_mapping *bm; local in function:bio_register 211 bm = kmem_zalloc(sizeof(*bm), KM_SLEEP); 212 bm->bm_dev = dev; 213 bm->bm_ioctl = ioctl; 215 LIST_INSERT_HEAD(&bios, bm, bm_link); 223 struct bio_mapping *bm, *next; local in function:bio_unregister 226 for (bm = LIST_FIRST(&bios); bm != NULL; bm = next) 240 struct bio_mapping *bm; local in function:bio_lookup 256 struct bio_mapping *bm; local in function:bio_validate 268 struct bio_mapping *bm = cookie; local in function:bio_delegate_ioctl [all...] |
/src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/ |
armada-xp.dtsi | 170 bm: bm@c0000 { label 171 compatible = "marvell,armada-380-neta-bm"; 217 bm_bppi: bm-bppi {
|
armada-38x.dtsi | 569 bm: bm@c8000 { label 570 compatible = "marvell,armada-380-neta-bm"; 656 bm_bppi: bm-bppi {
|
/src/sys/external/bsd/drm2/pci/ |
drm_pci.c | 94 struct drm_bus_map *const bm = &dev->bus_maps[unit]; local in function:drm_pci_attach 116 &bm->bm_base, &bm->bm_size, &bm->bm_flags) != 0) { 122 bm->bm_flags |= BUS_SPACE_MAP_LINEAR;
|
/src/sys/arch/atari/dev/ |
grf.c | 367 bmap_t bm; local in function:grf_viewsync 373 (*view_cdevsw.d_ioctl)(gp->g_viewdev, VIOCGBMAP, (void *)&bm, 378 gi->gd_fbaddr = bm.hw_address; 379 gi->gd_fbsize = bm.phys_mappable; 380 gi->gd_linbase = bm.lin_base; 381 gi->gd_regaddr = bm.hw_regs; 382 gi->gd_regsize = bm.reg_size; 383 gi->gd_vgaaddr = bm.vga_address; 384 gi->gd_vgasize = bm.vga_mappable; 385 gi->gd_vgabase = bm.vga_base [all...] |
grfabs_tt.c | 142 bmap_t *bm = v->bitmap; local in function:tt_display_view 157 VIDEO->vd_raml = (u_long)bm->hw_address & 0xff; 158 VIDEO->vd_ramm = ((u_long)bm->hw_address >> 8) & 0xff; 159 VIDEO->vd_ramh = ((u_long)bm->hw_address >> 16) & 0xff; 283 bmap_t *bm; local in function:tt_alloc_view 292 bm = alloc_bitmap(mode->size.width, mode->size.height, mode->depth); 293 if (bm) { 299 init_view(v, bm, mode, &box); 302 free_bitmap(bm); 310 init_view(view_t *v, bmap_t *bm, dmode_t *mode, box_t *dbox 325 bmap_t *bm; local in function:alloc_bitmap [all...] |
view.c | 359 bmap_t *bm; local in function:viewioctl 379 bm = (bmap_t *)data; 380 memcpy(bm, vu->view->bitmap, sizeof(bmap_t)); 382 bm->plane = NULL; 383 bm->hw_address = NULL; 384 bm->regs = NULL; 385 bm->hw_regs = NULL; 406 bmap_t *bm; local in function:viewmmap 411 bm = vu->view->bitmap; 412 bmd_start = bm->hw_address [all...] |
grfabs_fal.c | 307 bmap_t *bm; local in function:falcon_display_view 323 bm = v->bitmap; 324 VIDEO->vd_ramh = ((u_long)bm->hw_address >> 16) & 0xff; 325 VIDEO->vd_ramm = ((u_long)bm->hw_address >> 8) & 0xff; 326 VIDEO->vd_raml = (u_long)bm->hw_address & 0xff; 511 bmap_t *bm; local in function:falcon_alloc_view 520 bm = alloc_bitmap(mode->size.width, mode->size.height, mode->depth); 521 if (bm) { 527 init_view(v, bm, mode, &box); 530 free_bitmap(bm); 553 bmap_t *bm; local in function:alloc_bitmap [all...] |
grfabs_et.c | 185 bmap_t *bm = v->bitmap; local in function:et_display_view 207 bm->plane = et_priv.memkva; 216 dst = (u_short *)bm->plane; 239 bmap_t *bm = v->bitmap; local in function:et_save_view 265 sv_size = bm->bytes_per_row * (bm->rows / (font_height + 1)); 274 src = (u_short *)bm->plane; 278 bm->plane = (u_char *)sa->sv_fb; 308 bmap_t *bm; local in function:et_alloc_view 314 bm = &con_bm [all...] |
/src/sys/dev/ic/ |
ninjaata32.c | 286 aprint_error("%s: unhandled intr: irq %#x, bm %#x, ", 535 int bm; local in function:njata32_dma_finish 538 DPRINTF(("%s: njata32_dma_finish: bm = %#x\n", NJATA32NAME(sc), 546 bm = bus_space_read_1(NJATA32_REGT(sc), NJATA32_REGH(sc), 550 printf("%s: irq %#x, bm %#x, 18 %#x, 1c %#x\n", NJATA32NAME(sc), 553 bm, 564 if (bm & NJATA32_BM_GO) { 580 * in which case the bit #7 of BM register becomes 0. 586 if ((bm & NJATA32_BM_DONE) == 0) {
|
/src/sys/dev/mvme/ |
memc.c | 539 const char *bm = "CPU"; local in function:memecc_log_error 564 bm = "Peripheral Device"; 567 bm = "Scrubber"; 596 device_xname(sc->sc_dev), etype, bm, rdwr, addr);
|
/src/usr.bin/tip/aculib/ |
courier.c | 190 struct baud_msg *bm; local in function:cour_connect 223 for (bm = baud_msg ; bm->msg ; bm++) 224 if (strcmp(bm->msg, 229 (void)cfsetospeed(&cntrl, bm->baud); 230 (void)cfsetispeed(&cntrl, bm->baud);
|
t3000.c | 198 struct tbaud_msg *bm; local in function:t3000_connect 231 for (bm = tbaud_msg ; bm->msg ; bm++) 232 if (strcmp(bm->msg, 237 (void)cfsetospeed(&cntrl, bm->baud); 238 (void)cfsetispeed(&cntrl, bm->baud);
|
/src/sys/arch/sgimips/dev/ |
zs_ms.c | 278 int bl, bm, br; local in function:zsms_wsmouse_input 284 bm = (btns & ZSMS_SYNC_BTN_M) == 0; 288 btns = (bl ? (1 << 0) : 0) | (bm ? (1 << 1) : 0) | (br ? (1 << 2) : 0);
|
/src/sys/compat/linux32/common/ |
linux32_ipccall.c | 498 struct msqid_ds bm, *bmp = NULL; local in function:linux32_msgctl 509 bmp = &bm; 514 linux32_to_bsd_msqid64_ds(&lm64, &bm); 517 linux32_to_bsd_msqid_ds(&lm, &bm); 522 bmp = &bm; 536 bsd_to_linux32_msqid_ds(&bm, &lm); 540 bsd_to_linux32_msqid64_ds(&bm, &lm64);
|
/src/sys/compat/linux/common/ |
linux_ipc.c | 385 struct msqid_ds bm, *bmp = NULL; local in function:linux_sys_msgctl 398 bmp = &bm; 403 linux_to_bsd_msqid64_ds(&lm64, &bm); 406 linux_to_bsd_msqid_ds(&lm, &bm); 411 bmp = &bm; 425 bsd_to_linux_msqid_ds(&bm, &lm); 429 bsd_to_linux_msqid64_ds(&bm, &lm64);
|
/src/sys/arch/ews4800mips/dev/ |
ewsms.c | 323 bool bl, bm, br; local in function:ewsms_wsmouse_input 329 bm = (btns & EWSMS_SYNC_BTN_M) == 0; 333 bm = (btns & EWSMS_SYNC_BTN_M) == 0; 337 btns = (bl ? (1 << 0) : 0) | (bm ? (1 << 1) : 0) | (br ? (1 << 2) : 0);
|
/src/sys/net/npf/ |
npf_portmap.c | 279 bitmap_isset(const bitmap_t *bm, unsigned bit) 287 bval = atomic_load_relaxed(&bm->bits0[i]); 311 bitmap_set(bitmap_t *bm, unsigned bit) 320 bval = bm->bits0[i]; 335 if (__npf_atomic_cas_64(&bm->bits0[i], bval, nval) != bval) { 367 if (__npf_atomic_cas_64(&bm->bits0[i], bval, bm1p) != bval) { 391 bitmap_clr(bitmap_t *bm, unsigned bit) 400 bval = bm->bits0[i]; 408 if (__npf_atomic_cas_64(&bm->bits0[i], bval, nval) != bval) { 435 bitmap_t *bm; local in function:npf_portmap_autoget 483 bitmap_t *bm; local in function:npf_portmap_flush 516 bitmap_t *bm; local in function:npf_portmap_get 553 bitmap_t *bm = npf_portmap_autoget(pm, alen, addr); local in function:npf_portmap_take 572 bitmap_t *bm; local in function:npf_portmap_put [all...] |