Lines Matching defs:pi_type
82 uint8_t pi_type; /* PCI_MAPREG_TYPE_* */
291 pi->pi_type == PCI_MAPREG_TYPE_MEM ? "mem" : "io ",
294 if (pi->pi_type == PCI_MAPREG_TYPE_MEM) {
371 pi->pi_type = PCI_MAPREG_TYPE_MEM;
386 pi->pi_type = PCI_MAPREG_TYPE_IO;
663 required |= __BIT(pi->pi_type);
670 if ((enabled & __BIT(pi->pi_type)) == 0) {
674 if (pi->pi_type == PCI_MAPREG_TYPE_IO) {
690 KASSERT(pi->pi_type == PCI_MAPREG_TYPE_MEM);
910 if ((enabled & __BIT(pi->pi_type)) != 0) {
914 if (pi->pi_type == PCI_MAPREG_TYPE_IO) {
918 KASSERT(pi->pi_type == PCI_MAPREG_TYPE_MEM);
948 if (pi->pi_type == PCI_MAPREG_TYPE_IO) {