Home
last modified time | relevance | path

Searched refs:cfgs (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/uts/intel/pcbe/
H A Dp4_pcbe.c623 p4_escr_inuse(p4_pcbe_config_t **cfgs, int escr_ndx) in p4_escr_inuse() argument
628 if (cfgs[i] == NULL) in p4_escr_inuse()
630 if (cfgs[i]->p4_escr_ndx == escr_ndx) in p4_escr_inuse()
638 build_cfgs(p4_pcbe_config_t *cfgs[18], uint64_t *data[18], void *token) in build_cfgs()
643 bzero(cfgs, 18 * sizeof (p4_pcbe_config_t *)); in build_cfgs()
650 cfgs[cfg->p4_picno] = cfg; in build_cfgs()
673 p4_pcbe_config_t *cfgs[18]; in p4_pcbe_configure() local
730 build_cfgs(cfgs, NULL, token); in p4_pcbe_configure()
737 p4_escr_inuse(cfgs, escr_ndx) == 0) in p4_pcbe_configure()
823 p4_escr_inuse(cfgs, escr_ndx) == 0) in p4_pcbe_configure()
[all …]
H A Dopteron_pcbe.c725 opt_pcbe_config_t *cfgs[4] = { &nullcfgs[0], &nullcfgs[1], in opt_pcbe_program() local
747 cfgs[pcfg->opt_picno] = pcfg; in opt_pcbe_program()
758 wrmsr(PES_BASE_ADDR + i, cfgs[i]->opt_evsel); in opt_pcbe_program()
759 wrmsr(PIC_BASE_ADDR + i, cfgs[i]->opt_rawpic); in opt_pcbe_program()
763 wrmsr(PES_BASE_ADDR + i, cfgs[i]->opt_evsel | in opt_pcbe_program()
785 opt_pcbe_config_t *cfgs[4] = { NULL, NULL, NULL, NULL }; in opt_pcbe_sample() local
804 cfgs[pcfg->opt_picno] = pcfg; in opt_pcbe_sample()
810 if (cfgs[i] == NULL) in opt_pcbe_sample()
813 diff = (curpic[i] - cfgs[i]->opt_rawpic) & MASK48; in opt_pcbe_sample()
816 uint64_t, curpic[i], uint64_t, cfgs[i]->opt_rawpic); in opt_pcbe_sample()
[all …]