Lines Matching refs:cmn600_pmcdesc
57 static struct cmn600_descr **cmn600_pmcdesc; variable
66 return (cmn600_pmcdesc[ri]); in cmn600desc()
751 cmn600_pmcdesc = malloc(sizeof(struct cmn600_descr *) * npmc * in pmc_cmn600_initialize()
754 cmn600_pmcdesc[i] = malloc(sizeof(struct cmn600_descr), M_PMC, in pmc_cmn600_initialize()
761 cmn600_pmcdesc[i]->pd_rw_arg = cmn600_pmcs[unit].arg; in pmc_cmn600_initialize()
762 cmn600_pmcdesc[i]->pd_descr.pd_class = in pmc_cmn600_initialize()
764 cmn600_pmcdesc[i]->pd_descr.pd_caps = pcd->pcd_caps; in pmc_cmn600_initialize()
765 cmn600_pmcdesc[i]->pd_phw = (struct pmc_hw *)malloc( in pmc_cmn600_initialize()
767 snprintf(cmn600_pmcdesc[i]->pd_descr.pd_name, 63, in pmc_cmn600_initialize()
789 free(cmn600_pmcdesc[i]->pd_phw, M_PMC); in pmc_cmn600_finalize()
790 free(cmn600_pmcdesc[i], M_PMC); in pmc_cmn600_finalize()
792 free(cmn600_pmcdesc, M_PMC); in pmc_cmn600_finalize()
793 cmn600_pmcdesc = NULL; in pmc_cmn600_finalize()