Lines Matching refs:bar_count
38 void __iomem *base, int bar_count)
71 if (mdev->bar > bar_count - 1) {
115 struct chameleon_bar *cb, int bar_count)
123 for (i = 0; i < bar_count; i++) {
135 int bar_count;
150 bar_count = BAR_CNT(reg);
151 if (bar_count <= 0 || bar_count > CHAMELEON_BAR_MAX)
154 c = kcalloc(bar_count, sizeof(struct chameleon_bar),
159 chameleon_parse_bar(*base, c, bar_count);
160 *base += BAR_DESC_SIZE(bar_count);
166 bar_count = 1;
172 return bar_count;
183 int bar_count;
212 bar_count = chameleon_get_bar(&p, mapbase, &cb);
213 if (bar_count < 0) {
214 ret = bar_count;
221 ret = chameleon_parse_gdd(bus, cb, p, bar_count);