Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/staging/hisysevent/
Dhiview_hisysevent.c477 unsigned long vcount = 0; in hisysevent_write() local
499 vec[vcount].iov_base = &CHECK_CODE; in hisysevent_write()
500 vec[vcount++].iov_len = sizeof(CHECK_CODE); in hisysevent_write()
501 vec[vcount].iov_base = data; in hisysevent_write()
502 vec[vcount++].iov_len = strlen(data) + 1; in hisysevent_write()
506 iov_iter_init(&iter, WRITE, vec, vcount, iov_length(vec, vcount)); in hisysevent_write()
/kernel/linux/linux-5.10/drivers/opp/
Dof.c486 int supplies = opp_table->regulator_count, vcount, icount, ret, i, j; in opp_parse_supplies() local
527 vcount = of_property_count_u32_elems(opp->np, name); in opp_parse_supplies()
528 if (vcount < 0) { in opp_parse_supplies()
530 __func__, name, vcount); in opp_parse_supplies()
531 return vcount; in opp_parse_supplies()
535 if (vcount != supplies && vcount != supplies * 3) { in opp_parse_supplies()
537 __func__, name, vcount, supplies); in opp_parse_supplies()
541 microvolt = kmalloc_array(vcount, sizeof(*microvolt), GFP_KERNEL); in opp_parse_supplies()
545 ret = of_property_read_u32_array(opp->np, name, microvolt, vcount); in opp_parse_supplies()
601 if (vcount == supplies) { in opp_parse_supplies()
/kernel/linux/linux-5.10/drivers/gpu/drm/mgag200/
Dmgag200_mode.c315 int i, j, tmpcount, vcount; in mga_g200wb_set_plls() local
470 vcount = RREG8(MGAREG_VCOUNT); in mga_g200wb_set_plls()
474 if (tmpcount < vcount) in mga_g200wb_set_plls()
475 vcount = 0; in mga_g200wb_set_plls()
476 if ((tmpcount - vcount) > 2) in mga_g200wb_set_plls()
591 int i, j, tmpcount, vcount; in mga_g200eh_set_plls() local
701 vcount = RREG8(MGAREG_VCOUNT); in mga_g200eh_set_plls()
705 if (tmpcount < vcount) in mga_g200eh_set_plls()
706 vcount = 0; in mga_g200eh_set_plls()
707 if ((tmpcount - vcount) > 2) in mga_g200eh_set_plls()
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.10/include/uapi/sound/
Demu10k1.h302 unsigned int vcount; /* visible count */ member
315 unsigned int vcount; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/sound/
Demu10k1.h251 unsigned int vcount; member
262 unsigned int vcount; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/sound/
Demu10k1.h229 unsigned int vcount; member
240 unsigned int vcount; member
/kernel/linux/linux-5.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
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.10/include/uapi/linux/
Dfb.h333 __u32 vcount; /* current scanline position */ member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dfb.h273 __u32 vcount; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dfb.h275 __u32 vcount; member
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/
Dvivid-osd.c80 vblank.vcount = 0; in vivid_fb_ioctl()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/include/sound/
Demu10k1.h1562 unsigned int vcount; member
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/drivers/media/pci/ivtv/
Divtvfb.c467 vblank.vcount = trace; in ivtvfb_ioctl()