HomeSort by: relevance | last modified time | path
    Searched refs:vh (Results 1 - 19 of 19) sorted by relevancy

  /src/sys/dev/ic/
vga_subr.c 53 fontram(struct vga_handle *vh)
58 vga_ts_write(vh, syncreset, 0x01); /* synchronous reset */
59 vga_ts_write(vh, wrplmask, 0x04); /* write to map 2 */
60 vga_ts_write(vh, memmode, 0x07); /* sequential addressing */
61 vga_ts_write(vh, syncreset, 0x03); /* clear synchronous reset */
65 vga_gdc_write(vh, rdplanesel, 0x02); /* select map 2 for CPU reads */
66 vga_gdc_write(vh, mode, 0x00); /* disable odd-even addressing */
67 vga_gdc_write(vh, misc, 0x04); /* map starts at 0xA000 */
71 textram(struct vga_handle *vh)
76 vga_ts_write(vh, syncreset, 0x01); /* synchronous reset *
    [all...]
vgavar.h 93 #define vga_raw_read(vh, reg) \
94 bus_space_read_1(vh->vh_iot, vh->vh_ioh_vga, reg)
95 #define vga_raw_write(vh, reg, value) \
96 bus_space_write_1(vh->vh_iot, vh->vh_ioh_vga, reg, value)
98 #define vga_enable(vh) \
99 vga_raw_write(vh, 0, 0x20)
101 #define vga_reset_state(vh) \
102 (void) bus_space_read_1(vh->vh_iot, vh->vh_ioh_6845, 10
    [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...]
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...]
  /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/sgimips/sgimips/
disksubr.c 51 struct sgi_boot_block *vh);
52 static const char *disklabel_sgimips_to_bsd(struct sgi_boot_block *vh,
224 disklabel_sgimips_to_bsd(struct sgi_boot_block *vh, struct disklabel *lp)
228 if (mipsvh_cksum(vh))
232 lp->d_secsize = vh->dp.dp_secbytes;
234 lp->d_nsectors = vh->dp.dp_secs;
235 lp->d_ntracks = vh->dp.dp_trks0;
236 lp->d_ncylinders = vh->dp.dp_cyls;
237 lp->d_interleave = vh->dp.dp_interleave;
252 lpp->p_offset = vh->partitions[mp].first
    [all...]
  /src/sys/arch/mipsco/mipsco/
disksubr.c 240 disklabel_mips_to_bsd(struct mips_volheader *vh, struct disklabel *lp)
244 if (mipsvh_cksum(vh))
247 lp->d_secsize = vh->vh_dp.dp_secbytes;
248 lp->d_nsectors = vh->vh_dp.dp_secs;
249 lp->d_ntracks = vh->vh_dp.dp_trks0;
250 lp->d_ncylinders = vh->vh_dp.dp_cyls;
251 lp->d_interleave = vh->vh_dp.dp_interleave;
265 lpp->p_offset = vh->vh_part[mp].pt_offset;
266 lpp->p_size = vh->vh_part[mp].pt_size;
286 disklabel_bsd_to_mips(struct disklabel *lp, struct mips_volheader *vh)
    [all...]
  /src/sys/arch/arc/arc/
c_nec_eisa.c 271 gd54xx_initregs(struct vga_handle *vh)
276 vga_ts_write(vh, mode, vga_ts_read(vh, mode) | VGA_TS_MODE_BLANK);
279 _vga_ts_write(vh, 0x06, 0x12);
283 _vga_ts_write(vh, VGA_TS_NREGS + i, vga_ts_gd54xx[i]);
286 _vga_ts_write(vh, 0x06, 0x0);
289 vga_ts_write(vh, mode, vga_ts_read(vh, mode) & ~VGA_TS_MODE_BLANK);
  /src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvif/
unpack.h 16 #define nvif_unpack(r,d,s,m,vl,vh,x) ({ \
18 int _ret = (r), _vl = (vl), _vh = (vh); \
  /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/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/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...]
hfs.h 142 #define HFS_BLOCKSIZE(vp) (VTOH(vp)->h_hmp->hm_vol.vh.block_size)
libhfs.c 219 if (hfslib_read_volume_header(buffer, &(out_vol->vh)) == 0)
226 switch(out_vol->vh.signature) {
252 out_vol->vh.catalog_file.extents[0].start_block *
253 (uint64_t)out_vol->vh.block_size, cbargs) != 0)
288 out_vol->vh.extents_file.extents[0].start_block *
289 (uint64_t)out_vol->vh.block_size, cbargs) != 0)
303 if (out_vol->vh.attributes & (1<<HFS_VOL_JOURNALED)) {
311 out_vol->vh.journal_info_block * out_vol->vh.block_size,
807 fork = in_vol->vh.catalog_file
    [all...]
libhfs.h 450 hfs_volume_header_t vh; /* volume header */ member in struct:__anon46ade0a12408
hfs_vnops.c 656 vap->va_blocksize = hp->h_hmp->hm_vol.vh.block_size;
  /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/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...]
  /src/tests/usr.bin/netpgpverify/
t_netpgpverify.sh 335 PoIw2xGLFpkYKZ47V9PDCYoG+vh+W37PiggwJiH4F8Qghxo3NzbHe1ttjmggZ9tu
4989 /vH+Ko6/Prk0J3nrAiFVLxrZsnSSlrOQwZbenf9755F/VIPt54/+U7bYfv7K32+y

Completed in 31 milliseconds