Lines Matching defs:regno

52 static uint32_t rge_reg_get32(rge_t *rgep, uintptr_t regno);
56 rge_reg_get32(rge_t *rgep, uintptr_t regno)
59 (void *)rgep, regno));
61 return (ddi_get32(rgep->io_handle, REG32(rgep, regno)));
64 static void rge_reg_put32(rge_t *rgep, uintptr_t regno, uint32_t data);
68 rge_reg_put32(rge_t *rgep, uintptr_t regno, uint32_t data)
71 (void *)rgep, regno, data));
73 ddi_put32(rgep->io_handle, REG32(rgep, regno), data);
76 static void rge_reg_set32(rge_t *rgep, uintptr_t regno, uint32_t bits);
80 rge_reg_set32(rge_t *rgep, uintptr_t regno, uint32_t bits)
85 (void *)rgep, regno, bits));
87 regval = rge_reg_get32(rgep, regno);
89 rge_reg_put32(rgep, regno, regval);
92 static void rge_reg_clr32(rge_t *rgep, uintptr_t regno, uint32_t bits);
96 rge_reg_clr32(rge_t *rgep, uintptr_t regno, uint32_t bits)
101 (void *)rgep, regno, bits));
103 regval = rge_reg_get32(rgep, regno);
105 rge_reg_put32(rgep, regno, regval);
108 static uint16_t rge_reg_get16(rge_t *rgep, uintptr_t regno);
112 rge_reg_get16(rge_t *rgep, uintptr_t regno)
115 (void *)rgep, regno));
117 return (ddi_get16(rgep->io_handle, REG16(rgep, regno)));
120 static void rge_reg_put16(rge_t *rgep, uintptr_t regno, uint16_t data);
124 rge_reg_put16(rge_t *rgep, uintptr_t regno, uint16_t data)
127 (void *)rgep, regno, data));
129 ddi_put16(rgep->io_handle, REG16(rgep, regno), data);
132 static uint8_t rge_reg_get8(rge_t *rgep, uintptr_t regno);
136 rge_reg_get8(rge_t *rgep, uintptr_t regno)
139 (void *)rgep, regno));
141 return (ddi_get8(rgep->io_handle, REG8(rgep, regno)));
144 static void rge_reg_put8(rge_t *rgep, uintptr_t regno, uint8_t data);
148 rge_reg_put8(rge_t *rgep, uintptr_t regno, uint8_t data)
151 (void *)rgep, regno, data));
153 ddi_put8(rgep->io_handle, REG8(rgep, regno), data);
156 static void rge_reg_set8(rge_t *rgep, uintptr_t regno, uint8_t bits);
160 rge_reg_set8(rge_t *rgep, uintptr_t regno, uint8_t bits)
165 (void *)rgep, regno, bits));
167 regval = rge_reg_get8(rgep, regno);
169 rge_reg_put8(rgep, regno, regval);
172 static void rge_reg_clr8(rge_t *rgep, uintptr_t regno, uint8_t bits);
176 rge_reg_clr8(rge_t *rgep, uintptr_t regno, uint8_t bits)
181 (void *)rgep, regno, bits));
183 regval = rge_reg_get8(rgep, regno);
185 rge_reg_put8(rgep, regno, regval);
1758 uint64_t regno;
1763 regno = ppd->pp_acc_offset;
1767 regval = pci_config_get8(rgep->cfg_handle, regno);
1771 regval = pci_config_get16(rgep->cfg_handle, regno);
1775 regval = pci_config_get32(rgep->cfg_handle, regno);
1779 regval = pci_config_get64(rgep->cfg_handle, regno);
1793 uint64_t regno;
1798 regno = ppd->pp_acc_offset;
1803 pci_config_put8(rgep->cfg_handle, regno, regval);
1807 pci_config_put16(rgep->cfg_handle, regno, regval);
1811 pci_config_put32(rgep->cfg_handle, regno, regval);
1815 pci_config_put64(rgep->cfg_handle, regno, regval);