Lines Matching refs:num_spd
670 cpupm->num_spd = nspeeds; in cpudrv_init()
759 cpupm->head_spd->speed, cpupm->num_spd)); in cpudrv_init()
810 pmc = kmem_zalloc((cpupm->num_spd + 1) * sizeof (char *), KM_SLEEP); in cpudrv_comp_create()
812 if (cpupm->num_spd > CPUDRV_COMP_MAX_VAL) { in cpudrv_comp_create()
816 kmem_free(pmc, (cpupm->num_spd + 1) * sizeof (char *)); in cpudrv_comp_create()
820 for (i = cpupm->num_spd, cur_spd = cpupm->head_spd; i > 0; in cpudrv_comp_create()
829 for (j = cpupm->num_spd; j >= i; j--) { in cpudrv_comp_create()
832 kmem_free(pmc, (cpupm->num_spd + 1) * in cpudrv_comp_create()
848 "pm-components", pmc, cpupm->num_spd + 1) == DDI_PROP_SUCCESS) { in cpudrv_comp_create()
856 for (i = cpupm->num_spd; i > 0; i--) { in cpudrv_comp_create()
860 kmem_free(pmc, (cpupm->num_spd + 1) * sizeof (char *)); in cpudrv_comp_create()