Lines Matching defs:instance

241 	int			instance;
244 instance = ddi_get_instance(dip);
248 DPRINTF(D_ATTACH, ("cpudrv_attach: instance %d: "
249 "DDI_ATTACH called\n", instance));
252 if (ddi_soft_state_zalloc(cpudrv_state, instance) !=
254 cmn_err(CE_WARN, "cpudrv_attach: instance %d: "
255 "can't allocate state", instance);
259 if ((cpudsp = ddi_get_soft_state(cpudrv_state, instance)) ==
261 cmn_err(CE_WARN, "cpudrv_attach: instance %d: "
262 "can't get state", instance);
263 ddi_soft_state_free(cpudrv_state, instance);
273 cmn_err(CE_WARN, "cpudrv_attach: instance %d: "
274 "can't convert dip to cpu_id", instance);
275 ddi_soft_state_free(cpudrv_state, instance);
285 ddi_soft_state_free(cpudrv_state, instance);
291 ddi_soft_state_free(cpudrv_state, instance);
298 ddi_soft_state_free(cpudrv_state, instance);
342 cmn_err(CE_WARN, "cpudrv_attach: instance %d: "
343 "cpudrv_mach_init failed", instance);
346 ddi_soft_state_free(cpudrv_state, instance);
358 DPRINTF(D_ATTACH, ("cpudrv_attach: instance %d: "
359 "DDI_RESUME called\n", instance));
361 cpudsp = ddi_get_soft_state(cpudrv_state, instance);
393 int instance;
397 instance = ddi_get_instance(dip);
401 DPRINTF(D_DETACH, ("cpudrv_detach: instance %d: "
402 "DDI_DETACH called\n", instance));
405 cpudsp = ddi_get_soft_state(cpudrv_state, instance);
433 ddi_soft_state_free(cpudrv_state, instance);
449 DPRINTF(D_DETACH, ("cpudrv_detach: instance %d: "
450 "DDI_SUSPEND called\n", instance));
452 cpudsp = ddi_get_soft_state(cpudrv_state, instance);
473 DPRINTF(D_DETACH, ("cpudrv_detach: instance %d: DDI_SUSPEND - "
474 "cur_spd %d, topspeed %d\n", instance,
490 "instance %d: can't busy CPU "
491 "component", instance);
502 cmn_err(CE_WARN, "cpudrv_detach: instance %d: "
504 instance,
530 int instance;
537 instance = ddi_get_instance(dip);
539 DPRINTF(D_POWER, ("cpudrv_power: instance %d: level %d\n",
540 instance, level));
542 if ((cpudsp = ddi_get_soft_state(cpudrv_state, instance)) == NULL) {
543 cmn_err(CE_WARN, "cpudrv_power: instance %d: can't "
544 "get state", instance);
579 cmn_err(CE_WARN, "cpudrv_power: instance %d: "
580 "can't locate new CPU speed", instance);
589 * Additionally, for x86 platforms we cannot power manage an instance,
595 DPRINTF(D_POWER, ("cpudrv_power: instance %d: "
596 "CPU not ready for x-calls\n", instance));
598 DPRINTF(D_POWER, ("cpudrv_power: instance %d: "
600 instance));
630 cmn_err(CE_WARN, "cpudrv_power: instance %d: "
757 DPRINTF(D_PM_INIT, ("cpudrv_init: instance %d: head_spd spd %d, "
761 DPRINTF(D_PM_INIT, ("cpudrv_init: instance %d: speed %d, "
813 cmn_err(CE_WARN, "cpudrv_comp_create: instance %d: "
827 "instance %d: speed exceeded limits",
838 "instance %d: pm-components power level %d string '%s'\n",
843 DPRINTF(D_PM_COMP_CREATE, ("cpudrv_comp_create: instance %d: "
851 cmn_err(CE_WARN, "cpudrv_comp_create: instance %d: "
872 "instance %d: pm_idle_component called\n", \
876 cmn_err(CE_WARN, "cpudrv_monitor: instance %d: " \
891 "instance %d: pm_busy_component called\n", \
895 cmn_err(CE_WARN, "cpudrv_monitor: instance %d: " \
913 DPRINTF(D_PM_MONITOR, ("cpudrv_monitor: instance %d: " \
918 cmn_err(CE_WARN, "cpudrv_monitor: instance %d: can't " \
1004 * instance, until it has been initialized.
1009 DPRINTF(D_PM_MONITOR, ("cpudrv_monitor: instance %d: "
1013 DPRINTF(D_PM_MONITOR, ("cpudrv_monitor: instance %d: "
1033 DPRINTF(D_PM_MONITOR, ("cpudrv_monitor: instance %d: "
1088 DPRINTF(D_PM_MONITOR_VERBOSE, ("cpudrv_monitor: instance %d: "
1103 DPRINTF(D_PM_MONITOR_DELAY, ("cpudrv_monitor: instance %d: "