Lines Matching refs:nbars
231 uint8_t nbars = 0;
239 &nbars);
248 assert(nbars > 0); // otherwise we should have received an error!
250 struct device_mem *bars = calloc(nbars, sizeof(struct device_mem));
254 for (int nb = 0; nb < nbars; nb++) {
296 *bars_len = nbars;
314 uint8_t nbars;
320 &nbars);
328 assert(nbars > 0); // otherwise we should have received an error!
342 struct device_mem *bars = calloc(nbars, sizeof(struct device_mem));
346 for (int nb = 0; nb < nbars; nb++) {
386 if(init_func) init_func(user_state, bars, nbars);