Searched refs:vcount (Results 1 – 10 of 10) sorted by relevance
/drivers/opp/ |
D | of.c | 376 int supplies = opp_table->regulator_count, vcount, icount, ret, i, j; in opp_parse_supplies() local 417 vcount = of_property_count_u32_elems(opp->np, name); in opp_parse_supplies() 418 if (vcount < 0) { in opp_parse_supplies() 420 __func__, name, vcount); in opp_parse_supplies() 421 return vcount; in opp_parse_supplies() 425 if (vcount != supplies && vcount != supplies * 3) { in opp_parse_supplies() 427 __func__, name, vcount, supplies); in opp_parse_supplies() 431 microvolt = kmalloc_array(vcount, sizeof(*microvolt), GFP_KERNEL); in opp_parse_supplies() 435 ret = of_property_read_u32_array(opp->np, name, microvolt, vcount); in opp_parse_supplies() 491 if (vcount == supplies) { in opp_parse_supplies()
|
/drivers/staging/greybus/ |
D | audio_topology.c | 23 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 …]
|
/drivers/gpu/drm/mgag200/ |
D | mgag200_mode.c | 228 int i, j, tmpcount, vcount; in mga_g200wb_set_plls() local 381 vcount = RREG8(MGAREG_VCOUNT); in mga_g200wb_set_plls() 385 if (tmpcount < vcount) in mga_g200wb_set_plls() 386 vcount = 0; in mga_g200wb_set_plls() 387 if ((tmpcount - vcount) > 2) in mga_g200wb_set_plls() 500 int i, j, tmpcount, vcount; in mga_g200eh_set_plls() local 607 vcount = RREG8(MGAREG_VCOUNT); in mga_g200eh_set_plls() 611 if (tmpcount < vcount) in mga_g200eh_set_plls() 612 vcount = 0; in mga_g200eh_set_plls() 613 if ((tmpcount - vcount) > 2) in mga_g200eh_set_plls()
|
/drivers/video/fbdev/ |
D | tmiofb.c | 487 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()
|
D | controlfb.h | 41 struct preg vcount; /* vertical counter */ member
|
/drivers/video/fbdev/matrox/ |
D | matroxfb_crtc2.c | 410 vblank->vcount = mga_inl(0x3C48) & 0x000007FF; in matroxfb_dh_get_vblank() 412 if (vblank->vcount >= m2info->fbcon.var.yres) in matroxfb_dh_get_vblank()
|
D | matroxfb_base.c | 851 vblank->vcount = mga_inl(M_VCOUNT); in matroxfb_get_vblank() 859 if (vblank->vcount >= minfo->fbcon.var.yres) in matroxfb_get_vblank()
|
/drivers/media/platform/vivid/ |
D | vivid-osd.c | 80 vblank.vcount = 0; in vivid_fb_ioctl()
|
/drivers/video/fbdev/sis/ |
D | sis_main.c | 850 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()
|
/drivers/media/pci/ivtv/ |
D | ivtvfb.c | 467 vblank.vcount = trace; in ivtvfb_ioctl()
|