Lines Matching refs:vid
236 struct vid_data vid; member
1793 u32 vid; in atom_get_val() local
1799 vid_fp = cpudata->vid.min + mul_fp( in atom_get_val()
1801 cpudata->vid.ratio); in atom_get_val()
1803 vid_fp = clamp_t(int32_t, vid_fp, cpudata->vid.min, cpudata->vid.max); in atom_get_val()
1804 vid = ceiling_fp(vid_fp); in atom_get_val()
1807 vid = cpudata->vid.turbo; in atom_get_val()
1809 return val | vid; in atom_get_val()
1848 cpudata->vid.min = int_tofp((value >> 8) & 0x7f); in atom_get_vid()
1849 cpudata->vid.max = int_tofp((value >> 16) & 0x7f); in atom_get_vid()
1850 cpudata->vid.ratio = div_fp( in atom_get_vid()
1851 cpudata->vid.max - cpudata->vid.min, in atom_get_vid()
1856 cpudata->vid.turbo = value & 0x7f; in atom_get_vid()