/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/fb/ |
nouveau_nvkm_subdev_fb_gddr5.c | 42 int pd, lf, xd, vh, vr, vo, l3; local in function:nvkm_gddr5_calc 52 vh = ram->next->bios.ramcfg_11_02_10; 119 ram->mr[7] |= (vh & 0x01) << 7;
|
/src/sbin/svhlabel/ |
svhlabel.c | 109 struct sgi_boot_block *vh; local in function:getparts 116 perror("seek vh"); 120 perror("read vh"); 123 vh = convert_sgi_boot_block(buf); 125 if (vh->magic != SGI_BOOT_BLOCK_MAGIC) 133 if (vh->partitions[i].blocks == 0) 139 switch (vh->partitions[i].type) { 145 if (is_efs(sd, vh->partitions[i].first)) { 147 npe.p_size = vh->partitions[i].blocks; 148 npe.p_offset = vh->partitions[i].first 238 struct sgi_boot_block *vh; local in function:convert_sgi_boot_block [all...] |
/src/sys/arch/mipsco/stand/installboot/ |
installboot.c | 130 struct mips_volheader vh; local in function:do_list 134 read_volheader(disk, &vh); 138 for (i=0, vdp=vh.vh_voldir; i<MIPS_NVOLDIR; i++, vdp++) 147 struct mips_volheader vh; local in function:do_remove 150 read_volheader(disk, &vh); 151 vdp = voldir_findfile(&vh, filename, 0); 158 write_volheader(disk, &vh); 165 struct mips_volheader vh; local in function:do_install 198 read_volheader(disk, &vh); 200 vdp = voldir_findfile(&vh, bootname, 1) [all...] |
/src/sys/fs/hfs/ |
hfs_vfsops.c | 393 while ((1 << mp->mnt_fs_bshift) < hmp->hm_vol.vh.block_size) 461 hfs_volume_header_t *vh; local in function:hfs_statvfs 467 vh = &VFSTOHFS(mp)->hm_vol.vh; 469 sbp->f_bsize = vh->block_size; 472 sbp->f_blocks = vh->total_blocks; 473 sbp->f_bfree = vh->free_blocks; /* total free blocks */ 474 sbp->f_bavail = vh->free_blocks; /* blocks free for non superuser */ 476 sbp->f_files = vh->file_count; /* total files */ 477 sbp->f_ffree = (1U<<31) - vh->file_count; /* free file nodes * [all...] |
libhfs.h | 450 hfs_volume_header_t vh; /* volume header */ member in struct:__anon46ade0a12408
|
/src/sys/dev/isa/ |
ega.c | 395 struct vga_handle *vh = &vc->hdl; local in function:ega_init 398 vh->vh_iot = iot; 399 vh->vh_memt = memt; 400 vh->vh_mono = mono; 402 if (bus_space_map(vh->vh_iot, 0x3c0, 0x10, 0, &vh->vh_ioh_vga)) 405 if (bus_space_map(vh->vh_iot, (vh->vh_mono ? 0x3b0 : 0x3d0), 0x10, 0, 406 &vh->vh_ioh_6845)) 409 if (bus_space_map(vh->vh_memt, 0xa0000, 0x20000, 0, &vh->vh_allmemh) 676 struct vga_handle *vh = &vc->hdl; local in function:ega_doswitch [all...] |
/src/sys/dev/ic/ |
vga.c | 529 struct vga_handle *vh = &vc->hdl; local in function:vga_init 533 vh->vh_iot = iot; 534 vh->vh_memt = memt; 536 if (bus_space_map(vh->vh_iot, 0x3c0, 0x10, 0, &vh->vh_ioh_vga)) 540 mor = vga_raw_read(vh, VGA_MISC_DATAR); 541 vh->vh_mono = !(mor & 1); 543 if (bus_space_map(vh->vh_iot, (vh->vh_mono ? 0x3b0 : 0x3d0), 0x10, 0, 544 &vh->vh_ioh_6845) 716 struct vga_handle *vh; local in function:vga_cndetach 1006 struct vga_handle *vh = &vc->hdl; local in function:vga_doswitch 1461 struct vga_handle *vh = &vc->hdl; local in function:vga_scroll 1509 struct vga_handle *vh = &vc->hdl; local in function:vga_getborder 1529 struct vga_handle *vh = &vc->hdl; local in function:vga_setborder 1557 struct vga_handle *vh = &vc->hdl; local in function:vga_save_palette 1575 struct vga_handle *vh = &vc->hdl; local in function:vga_restore_palette [all...] |
vga_raster.c | 380 struct vga_handle *vh = &vc->hdl; local in function:vga_raster_init 384 vh->vh_iot = iot; 385 vh->vh_memt = memt; 387 if (bus_space_map(vh->vh_iot, 0x3c0, 0x10, 0, &vh->vh_ioh_vga)) 391 mor = bus_space_read_1(vh->vh_iot, vh->vh_ioh_vga, VGA_MISC_DATAR); 392 vh->vh_mono = !(mor & 1); 394 if (bus_space_map(vh->vh_iot, (vh->vh_mono ? 0x3b0 : 0x3d0), 0x10, 0 443 struct vga_handle *vh; local in function:vga_raster_init_screen 559 struct vga_handle *vh; local in function:vga_cndetach 777 struct vga_handle *vh = &vc->hdl; local in function:vga_switch_screen 1185 struct vga_handle *vh = scr->hdl; local in function:_vga_raster_putchar 1261 struct vga_handle *vh = scr->hdl; local in function:vga_raster_copycols 1304 struct vga_handle *vh = scr->hdl; local in function:vga_raster_copyrows 1362 struct vga_handle *vh = scr->hdl; local in function:vga_raster_eraserows 1461 struct vga_handle *vh = &vc->hdl; local in function:vga_raster_setscreentype [all...] |
/src/sys/netinet/ |
ip_carp.c | 985 struct carp_softc *vh; local in function:carp_send_ad_all 999 TAILQ_FOREACH(vh, &cif->vhif_vrs, sc_list) { 1000 if ((vh->sc_if.if_flags & (IFF_UP|IFF_RUNNING)) == 1001 (IFF_UP|IFF_RUNNING) && vh->sc_state == MASTER) 1002 carp_send_ad(vh); 1349 struct carp_softc *vh; local in function:carp_addrcount 1353 TAILQ_FOREACH(vh, &cif->vhif_vrs, sc_list) { 1355 (vh->sc_if.if_flags & (IFF_UP|IFF_RUNNING)) == 1357 (type == CARP_COUNT_MASTER && vh->sc_state == MASTER)) { 1359 IFADDR_READER_FOREACH(ifa, &vh->sc_if) 1412 struct carp_softc *vh; local in function:carp_iamatch6 1435 struct carp_softc *vh; local in function:carp_ourether 1481 struct carp_softc *vh; local in function:carp_input [all...] |