Lines Matching defs:dc
51 ppm_dc_t *dc;
55 dc = ppm_lookup_dc(domp, PPMDC_CPU_NEXT);
56 for (; dc && (dc->cmd == PPMDC_CPU_NEXT); dc = dc->next) {
57 switch (dc->method) {
59 ret = ldi_ioctl(dc->lh, dc->m_un.cpu.iowr,
67 str, dc->method))
83 ppm_dc_t *dc;
87 dc = ppm_lookup_dc(domp, PPMDC_PRE_CHNG);
88 for (; dc && (dc->cmd == PPMDC_PRE_CHNG); dc = dc->next) {
90 switch (dc->method) {
98 ret = ldi_ioctl(dc->lh,
99 dc->m_un.cpu.iowr,
100 (intptr_t)&dc->m_un.cpu.val,
104 if (dc->m_un.cpu.delay > 0)
105 drv_usecwait(dc->m_un.cpu.delay);
111 str, dc->method))
126 ppm_dc_t *dc;
129 dc = ppm_lookup_dc(domp, PPMDC_CPU_GO);
130 if (dc == NULL) {
133 switch (dc->method) {
135 ret = ldi_ioctl(dc->lh, dc->m_un.kio.iowr,
136 (intptr_t)dc->m_un.kio.val, FWRITE | FKIOCTL,
155 ppm_dc_t *dc;
159 dc = ppm_lookup_dc(domp, PPMDC_POST_CHNG);
160 for (; dc && (dc->cmd == PPMDC_POST_CHNG); dc = dc->next) {
162 switch (dc->method) {
170 ret = ldi_ioctl(dc->lh,
171 dc->m_un.cpu.iowr,
172 (intptr_t)&dc->m_un.cpu.val,
176 if (dc->m_un.cpu.delay > 0)
177 drv_usecwait(dc->m_un.cpu.delay);
183 str, dc->method))