Lines Matching defs:count
157 struct pnv_ioda_pe *pnv_ioda_alloc_pe(struct pnv_phb *phb, int count)
164 /* scan backwards for a run of @count cleared bits */
172 if (run == count)
175 if (run != count)
178 for (i = pe; i < pe + count; i++) {
833 int count;
839 count = resource_size(&pe->pbus->busn_res);
841 count = 1;
843 switch(count) {
852 count);
856 rid_end = pe->rid + (count << 8);
902 int count;
907 count = resource_size(&pe->pbus->busn_res);
909 count = 1;
911 switch(count) {
920 count);
924 rid_end = pe->rid + (count << 8);
2231 unsigned int count;
2242 count = be32_to_cpup(prop + 1);
2243 if (msi_bitmap_alloc(&phb->msi_bmp, count, phb->hose->dn)) {
2252 count, phb->msi_base);
2378 pe_warn(pe, "rid: %04x dev count: %2d flags: %s%s%s%s%s%s\n",
2830 * device count is decreased on removing devices while failing to
2832 * count and eventually make normal PCI hotplug path broken.