Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/gpu/drm/mgag200/
Dmgag200_g200eh.c102 int i, j, tmpcount, vcount; in mgag200_g200eh_pixpllc_atomic_update() local
151 vcount = RREG8(MGAREG_VCOUNT); in mgag200_g200eh_pixpllc_atomic_update()
155 if (tmpcount < vcount) in mgag200_g200eh_pixpllc_atomic_update()
156 vcount = 0; in mgag200_g200eh_pixpllc_atomic_update()
157 if ((tmpcount - vcount) > 2) in mgag200_g200eh_pixpllc_atomic_update()
Dmgag200_g200wb.c102 int i, j, tmpcount, vcount; in mgag200_g200wb_pixpllc_atomic_update() local
193 vcount = RREG8(MGAREG_VCOUNT); in mgag200_g200wb_pixpllc_atomic_update()
197 if (tmpcount < vcount) in mgag200_g200wb_pixpllc_atomic_update()
198 vcount = 0; in mgag200_g200wb_pixpllc_atomic_update()
199 if ((tmpcount - vcount) > 2) in mgag200_g200wb_pixpllc_atomic_update()
/Linux-v6.1/drivers/opp/
Dof.c586 int vcount, icount, pcount, ret, i, j; in opp_parse_supplies() local
627 vcount = of_property_count_u32_elems(opp->np, name); in opp_parse_supplies()
628 if (vcount < 0) { in opp_parse_supplies()
630 __func__, name, vcount); in opp_parse_supplies()
631 return vcount; in opp_parse_supplies()
635 if (vcount != supplies && vcount != supplies * 3) { in opp_parse_supplies()
637 __func__, name, vcount, supplies); in opp_parse_supplies()
641 microvolt = kmalloc_array(vcount, sizeof(*microvolt), GFP_KERNEL); in opp_parse_supplies()
645 ret = of_property_read_u32_array(opp->np, name, microvolt, vcount); in opp_parse_supplies()
738 if (vcount == supplies) { in opp_parse_supplies()
/Linux-v6.1/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-v6.1/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-v6.1/include/uapi/sound/
Demu10k1.h286 unsigned int vcount; /* visible count */ member
299 unsigned int vcount; member
/Linux-v6.1/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-v6.1/include/uapi/linux/
Dfb.h333 __u32 vcount; /* current scanline position */ member
/Linux-v6.1/drivers/media/test-drivers/vivid/
Dvivid-osd.c80 vblank.vcount = 0; in vivid_fb_ioctl()
/Linux-v6.1/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.c852 vblank->vcount = mga_inl(M_VCOUNT); in matroxfb_get_vblank()
860 if (vblank->vcount >= minfo->fbcon.var.yres) in matroxfb_get_vblank()
/Linux-v6.1/include/sound/
Demu10k1.h1562 unsigned int vcount; member
/Linux-v6.1/drivers/video/fbdev/sis/
Dsis_main.c851 sisfb_setupvbblankflags(struct sis_video_info *ivideo, u32 *vcount, u32 *hcount) in sisfb_setupvbblankflags() argument
856 (*vcount) = (*hcount) = 0; in sisfb_setupvbblankflags()
877 (*vcount) = reg3 | ((reg4 & 0x70) << 4); in sisfb_setupvbblankflags()
893 (*vcount) = reg2 | ((reg3 & 0x07) << 8); in sisfb_setupvbblankflags()
1729 sisvbblank.flags = sisfb_setupvbblankflags(ivideo, &sisvbblank.vcount, &sisvbblank.hcount); in sisfb_ioctl()
/Linux-v6.1/drivers/media/pci/ivtv/
Divtvfb.c467 vblank.vcount = trace; in ivtvfb_ioctl()