Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/opp/
Dof.c494 int supplies = opp_table->regulator_count, vcount, icount, ret, i, j; in opp_parse_supplies() local
535 vcount = of_property_count_u32_elems(opp->np, name); in opp_parse_supplies()
536 if (vcount < 0) { in opp_parse_supplies()
538 __func__, name, vcount); in opp_parse_supplies()
539 return vcount; in opp_parse_supplies()
543 if (vcount != supplies && vcount != supplies * 3) { in opp_parse_supplies()
545 __func__, name, vcount, supplies); in opp_parse_supplies()
549 microvolt = kmalloc_array(vcount, sizeof(*microvolt), GFP_KERNEL); in opp_parse_supplies()
553 ret = of_property_read_u32_array(opp->np, name, microvolt, vcount); in opp_parse_supplies()
609 if (vcount == supplies) { in opp_parse_supplies()
/Linux-v5.10/drivers/gpu/drm/mgag200/
Dmgag200_mode.c311 int i, j, tmpcount, vcount; in mga_g200wb_set_plls() local
464 vcount = RREG8(MGAREG_VCOUNT); in mga_g200wb_set_plls()
468 if (tmpcount < vcount) in mga_g200wb_set_plls()
469 vcount = 0; in mga_g200wb_set_plls()
470 if ((tmpcount - vcount) > 2) in mga_g200wb_set_plls()
583 int i, j, tmpcount, vcount; in mga_g200eh_set_plls() local
690 vcount = RREG8(MGAREG_VCOUNT); in mga_g200eh_set_plls()
694 if (tmpcount < vcount) in mga_g200eh_set_plls()
695 vcount = 0; in mga_g200eh_set_plls()
696 if ((tmpcount - vcount) > 2) in mga_g200eh_set_plls()
/Linux-v5.10/drivers/staging/greybus/
Daudio_topology.c23 unsigned int vcount; member
184 uinfo->count = data->vcount; in gbcodec_mixer_ctl_info()
255 if (data->vcount == 2) in gbcodec_mixer_ctl_get()
262 if (data->vcount == 2) in gbcodec_mixer_ctl_get()
302 if (data->vcount == 2) in gbcodec_mixer_ctl_put()
309 if (data->vcount == 2) in gbcodec_mixer_ctl_put()
371 uinfo->count = data->vcount; in gbcodec_mixer_dapm_ctl_info()
399 if (data->vcount == 2) in gbcodec_mixer_dapm_ctl_get()
449 if (data->vcount == 2) in gbcodec_mixer_dapm_ctl_put()
693 ctldata->vcount = ctl->count_values; in gbaudio_tplg_create_kcontrol()
[all …]
/Linux-v5.10/include/uapi/sound/
Demu10k1.h302 unsigned int vcount; /* visible count */ member
315 unsigned int vcount; member
/Linux-v5.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-v5.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()
855 nctl->vcount = gctl->vcount; in snd_emu10k1_add_controls()
947 gctl->vcount = ctl->vcount; in snd_emu10k1_list_controls()
1122 ctl->vcount = ctl->count = 1; in snd_emu10k1_init_mono_control()
[all …]
/Linux-v5.10/include/uapi/linux/
Dfb.h333 __u32 vcount; /* current scanline position */ member
/Linux-v5.10/drivers/media/test-drivers/vivid/
Dvivid-osd.c80 vblank.vcount = 0; in vivid_fb_ioctl()
/Linux-v5.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-v5.10/include/sound/
Demu10k1.h1562 unsigned int vcount; member
/Linux-v5.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-v5.10/drivers/media/pci/ivtv/
Divtvfb.c467 vblank.vcount = trace; in ivtvfb_ioctl()