Home
last modified time | relevance | path

Searched refs:vcount (Results 1 – 14 of 14) sorted by relevance

/linux-5.19.10/drivers/gpu/drm/mgag200/
Dmgag200_pll.c352 int i, j, tmpcount, vcount; in mgag200_pixpll_update_g200wb() local
445 vcount = RREG8(MGAREG_VCOUNT); in mgag200_pixpll_update_g200wb()
449 if (tmpcount < vcount) in mgag200_pixpll_update_g200wb()
450 vcount = 0; in mgag200_pixpll_update_g200wb()
451 if ((tmpcount - vcount) > 2) in mgag200_pixpll_update_g200wb()
649 int i, j, tmpcount, vcount; in mgag200_pixpll_update_g200eh() local
699 vcount = RREG8(MGAREG_VCOUNT); in mgag200_pixpll_update_g200eh()
703 if (tmpcount < vcount) in mgag200_pixpll_update_g200eh()
704 vcount = 0; in mgag200_pixpll_update_g200eh()
705 if ((tmpcount - vcount) > 2) in mgag200_pixpll_update_g200eh()
/linux-5.19.10/drivers/opp/
Dof.c580 int vcount, icount, pcount, ret, i, j; in opp_parse_supplies() local
621 vcount = of_property_count_u32_elems(opp->np, name); in opp_parse_supplies()
622 if (vcount < 0) { in opp_parse_supplies()
624 __func__, name, vcount); in opp_parse_supplies()
625 return vcount; in opp_parse_supplies()
629 if (vcount != supplies && vcount != supplies * 3) { in opp_parse_supplies()
631 __func__, name, vcount, supplies); in opp_parse_supplies()
635 microvolt = kmalloc_array(vcount, sizeof(*microvolt), GFP_KERNEL); in opp_parse_supplies()
639 ret = of_property_read_u32_array(opp->np, name, microvolt, vcount); in opp_parse_supplies()
732 if (vcount == supplies) { in opp_parse_supplies()
/linux-5.19.10/drivers/staging/greybus/
Daudio_topology.c23 unsigned int vcount; member
187 uinfo->count = data->vcount; in gbcodec_mixer_ctl_info()
258 if (data->vcount == 2) in gbcodec_mixer_ctl_get()
265 if (data->vcount == 2) in gbcodec_mixer_ctl_get()
305 if (data->vcount == 2) in gbcodec_mixer_ctl_put()
312 if (data->vcount == 2) in gbcodec_mixer_ctl_put()
374 uinfo->count = data->vcount; in gbcodec_mixer_dapm_ctl_info()
402 if (data->vcount == 2) in gbcodec_mixer_dapm_ctl_get()
452 if (data->vcount == 2) in gbcodec_mixer_dapm_ctl_put()
698 ctldata->vcount = ctl->count_values; in gbaudio_tplg_create_kcontrol()
[all …]
/linux-5.19.10/drivers/video/fbdev/
Dtmiofb.c487 unsigned int vcount = tmio_ioread16(par->lcr + LCR_CDLN); in tmiofb_vblank() local
490 vblank->vcount = vcount; in tmiofb_vblank()
494 if (vcount < mode->vsync_len) in tmiofb_vblank()
497 if (vcount < vds || vcount > vds + mode->yres) in tmiofb_vblank()
Dcontrolfb.h41 struct preg vcount; /* vertical counter */ member
/linux-5.19.10/include/uapi/sound/
Demu10k1.h302 unsigned int vcount; /* visible count */ member
315 unsigned int vcount; member
/linux-5.19.10/sound/pci/emu10k1/
Demufx.c313 uinfo->count = ctl->vcount; in snd_emu10k1_gpr_ctl_info()
328 for (i = 0; i < ctl->vcount; i++) in snd_emu10k1_gpr_ctl_get()
345 for (i = 0; i < ctl->vcount; i++) { in snd_emu10k1_gpr_ctl_put()
362 if ((ctl->count % 5) != 0 || (ctl->count / 5) != ctl->vcount) { in snd_emu10k1_gpr_ctl_put()
367 … snd_emu10k1_ptr_write(emu, emu->gpr_base + ctl->gpr[j * ctl->vcount + i], 0, bass_table[val][j]); in snd_emu10k1_gpr_ctl_put()
370 if ((ctl->count % 5) != 0 || (ctl->count / 5) != ctl->vcount) { in snd_emu10k1_gpr_ctl_put()
375 …snd_emu10k1_ptr_write(emu, emu->gpr_base + ctl->gpr[j * ctl->vcount + i], 0, treble_table[val][j]); in snd_emu10k1_gpr_ctl_put()
856 nctl->vcount = gctl->vcount; in snd_emu10k1_add_controls()
950 gctl->vcount = ctl->vcount; in snd_emu10k1_list_controls()
1125 ctl->vcount = ctl->count = 1; in snd_emu10k1_init_mono_control()
[all …]
/linux-5.19.10/include/uapi/linux/
Dfb.h333 __u32 vcount; /* current scanline position */ member
/linux-5.19.10/drivers/media/test-drivers/vivid/
Dvivid-osd.c80 vblank.vcount = 0; in vivid_fb_ioctl()
/linux-5.19.10/drivers/video/fbdev/matrox/
Dmatroxfb_crtc2.c410 vblank->vcount = mga_inl(0x3C48) & 0x000007FF; in matroxfb_dh_get_vblank()
412 if (vblank->vcount >= m2info->fbcon.var.yres) in matroxfb_dh_get_vblank()
Dmatroxfb_base.c851 vblank->vcount = mga_inl(M_VCOUNT); in matroxfb_get_vblank()
859 if (vblank->vcount >= minfo->fbcon.var.yres) in matroxfb_get_vblank()
/linux-5.19.10/include/sound/
Demu10k1.h1562 unsigned int vcount; member
/linux-5.19.10/drivers/video/fbdev/sis/
Dsis_main.c850 sisfb_setupvbblankflags(struct sis_video_info *ivideo, u32 *vcount, u32 *hcount) in sisfb_setupvbblankflags() argument
855 (*vcount) = (*hcount) = 0; in sisfb_setupvbblankflags()
876 (*vcount) = reg3 | ((reg4 & 0x70) << 4); in sisfb_setupvbblankflags()
892 (*vcount) = reg2 | ((reg3 & 0x07) << 8); in sisfb_setupvbblankflags()
1728 sisvbblank.flags = sisfb_setupvbblankflags(ivideo, &sisvbblank.vcount, &sisvbblank.hcount); in sisfb_ioctl()
/linux-5.19.10/drivers/media/pci/ivtv/
Divtvfb.c467 vblank.vcount = trace; in ivtvfb_ioctl()