Lines Matching refs:dc

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