Home
last modified time | relevance | path

Searched refs:rate_nr (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_dp.c72 outp->dp.rate_nr = 0; in nouveau_dp_probe_dpcd()
126 for (j = 0; j < outp->dp.rate_nr; j++) { in nouveau_dp_probe_dpcd()
128 for (int k = outp->dp.rate_nr; k > j; k--) in nouveau_dp_probe_dpcd()
136 outp->dp.rate_nr++; in nouveau_dp_probe_dpcd()
141 if (!outp->dp.rate_nr) { in nouveau_dp_probe_dpcd()
156 outp->dp.rate[outp->dp.rate_nr].dpcd = -1; in nouveau_dp_probe_dpcd()
157 outp->dp.rate[outp->dp.rate_nr].rate = rates[i]; in nouveau_dp_probe_dpcd()
158 outp->dp.rate_nr++; in nouveau_dp_probe_dpcd()
162 if (WARN_ON(!outp->dp.rate_nr)) in nouveau_dp_probe_dpcd()
166 ret = nvif_outp_dp_rates(&outp->outp, outp->dp.rate, outp->dp.rate_nr); in nouveau_dp_probe_dpcd()
[all …]
H A Dnouveau_encoder.h87 int rate_nr; member
/linux/drivers/gpu/drm/nouveau/nvif/
H A Doutp.c137 nvif_outp_dp_rates(struct nvif_outp *outp, struct nvif_outp_dp_rate *rate, int rate_nr) in nvif_outp_dp_rates() argument
142 if (rate_nr > ARRAY_SIZE(args.rate)) in nvif_outp_dp_rates()
146 args.rates = rate_nr; in nvif_outp_dp_rates()
/linux/drivers/gpu/drm/nouveau/include/nvif/
H A Doutp.h106 int nvif_outp_dp_rates(struct nvif_outp *, struct nvif_outp_dp_rate *rate, int rate_nr);