Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/opp/
Dof.c116 int supplies, vcount, icount, ret, i, j; in opp_parse_supplies() local
145 vcount = of_property_count_u32_elems(opp->np, name); in opp_parse_supplies()
146 if (vcount < 0) { in opp_parse_supplies()
148 __func__, name, vcount); in opp_parse_supplies()
149 return vcount; in opp_parse_supplies()
153 if (vcount != supplies && vcount != supplies * 3) { in opp_parse_supplies()
155 __func__, name, vcount, supplies); in opp_parse_supplies()
159 microvolt = kmalloc_array(vcount, sizeof(*microvolt), GFP_KERNEL); in opp_parse_supplies()
163 ret = of_property_read_u32_array(opp->np, name, microvolt, vcount); in opp_parse_supplies()
219 if (vcount == supplies) { in opp_parse_supplies()
/Linux-v4.19/drivers/gpu/drm/mgag200/
Dmgag200_mode.c229 int i, j, tmpcount, vcount; in mga_g200wb_set_plls() local
382 vcount = RREG8(MGAREG_VCOUNT); in mga_g200wb_set_plls()
386 if (tmpcount < vcount) in mga_g200wb_set_plls()
387 vcount = 0; in mga_g200wb_set_plls()
388 if ((tmpcount - vcount) > 2) in mga_g200wb_set_plls()
501 int i, j, tmpcount, vcount; in mga_g200eh_set_plls() local
608 vcount = RREG8(MGAREG_VCOUNT); in mga_g200eh_set_plls()
612 if (tmpcount < vcount) in mga_g200eh_set_plls()
613 vcount = 0; in mga_g200eh_set_plls()
614 if ((tmpcount - vcount) > 2) in mga_g200eh_set_plls()
/Linux-v4.19/drivers/staging/greybus/
Daudio_topology.c23 unsigned int vcount; member
182 uinfo->count = data->vcount; in gbcodec_mixer_ctl_info()
253 if (data->vcount == 2) in gbcodec_mixer_ctl_get()
260 if (data->vcount == 2) in gbcodec_mixer_ctl_get()
300 if (data->vcount == 2) in gbcodec_mixer_ctl_put()
307 if (data->vcount == 2) in gbcodec_mixer_ctl_put()
373 uinfo->count = data->vcount; in gbcodec_mixer_dapm_ctl_info()
403 if (data->vcount == 2) in gbcodec_mixer_dapm_ctl_get()
453 if (data->vcount == 2) in gbcodec_mixer_dapm_ctl_put()
699 ctldata->vcount = ctl->count_values; in gbaudio_tplg_create_kcontrol()
[all …]
/Linux-v4.19/include/uapi/sound/
Demu10k1.h287 unsigned int vcount; /* visible count */ member
300 unsigned int vcount; member
/Linux-v4.19/drivers/video/fbdev/
Dtmiofb.c495 unsigned int vcount = tmio_ioread16(par->lcr + LCR_CDLN); in tmiofb_vblank() local
498 vblank->vcount = vcount; in tmiofb_vblank()
502 if (vcount < mode->vsync_len) in tmiofb_vblank()
505 if (vcount < vds || vcount > vds + mode->yres) in tmiofb_vblank()
Dcontrolfb.h45 struct preg vcount; /* vertical counter */ member
/Linux-v4.19/sound/pci/emu10k1/
Demufx.c326 uinfo->count = ctl->vcount; in snd_emu10k1_gpr_ctl_info()
341 for (i = 0; i < ctl->vcount; i++) in snd_emu10k1_gpr_ctl_get()
358 for (i = 0; i < ctl->vcount; i++) { in snd_emu10k1_gpr_ctl_put()
375 if ((ctl->count % 5) != 0 || (ctl->count / 5) != ctl->vcount) { in snd_emu10k1_gpr_ctl_put()
380 … 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()
383 if ((ctl->count % 5) != 0 || (ctl->count / 5) != ctl->vcount) { in snd_emu10k1_gpr_ctl_put()
388 …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()
843 nctl->vcount = gctl->vcount; in snd_emu10k1_add_controls()
936 gctl->vcount = ctl->vcount; in snd_emu10k1_list_controls()
1107 ctl->vcount = ctl->count = 1; in snd_emu10k1_init_mono_control()
[all …]
/Linux-v4.19/include/uapi/linux/
Dfb.h332 __u32 vcount; /* current scanline position */ member
/Linux-v4.19/drivers/media/platform/vivid/
Dvivid-osd.c80 vblank.vcount = 0; in vivid_fb_ioctl()
/Linux-v4.19/drivers/video/fbdev/matrox/
Dmatroxfb_crtc2.c409 vblank->vcount = mga_inl(0x3C48) & 0x000007FF; in matroxfb_dh_get_vblank()
411 if (vblank->vcount >= m2info->fbcon.var.yres) in matroxfb_dh_get_vblank()
Dmatroxfb_base.c850 vblank->vcount = mga_inl(M_VCOUNT); in matroxfb_get_vblank()
858 if (vblank->vcount >= minfo->fbcon.var.yres) in matroxfb_get_vblank()
/Linux-v4.19/include/sound/
Demu10k1.h1577 unsigned int vcount; member
/Linux-v4.19/drivers/video/fbdev/sis/
Dsis_main.c864 sisfb_setupvbblankflags(struct sis_video_info *ivideo, u32 *vcount, u32 *hcount) in sisfb_setupvbblankflags() argument
869 (*vcount) = (*hcount) = 0; in sisfb_setupvbblankflags()
890 (*vcount) = reg3 | ((reg4 & 0x70) << 4); in sisfb_setupvbblankflags()
906 (*vcount) = reg2 | ((reg3 & 0x07) << 8); in sisfb_setupvbblankflags()
1742 sisvbblank.flags = sisfb_setupvbblankflags(ivideo, &sisvbblank.vcount, &sisvbblank.hcount); in sisfb_ioctl()
/Linux-v4.19/drivers/media/pci/ivtv/
Divtvfb.c474 vblank.vcount = trace; in ivtvfb_ioctl()