Lines Matching refs:clocks
3214 static u32 btc_find_valid_clock(struct amdgpu_clock_array *clocks,
3219 if ((clocks == NULL) || (clocks->count == 0))
3222 for (i = 0; i < clocks->count; i++) {
3223 if (clocks->values[i] >= requested_clock)
3224 return (clocks->values[i] < max_clock) ? clocks->values[i] : max_clock;
3227 return (clocks->values[clocks->count - 1] < max_clock) ?
3228 clocks->values[clocks->count - 1] : max_clock;
3501 /* limit clocks to max supported clocks based on voltage dependency tables */
3532 /* XXX validate the min clocks required for display */
7011 /* Turn the clocks on when encoding, off otherwise */
7999 /* If all performance levels are the same try to use the UVD clocks to break the tie.*/