Searched refs:pm (Results 26 - 50 of 128) sorted by relevance

123456

/freebsd-9.3-release/sys/dev/drm2/radeon/
H A Dradeon_atombios.c1940 rdev->pm.power_state[state_index].misc = misc;
1941 rdev->pm.power_state[state_index].misc2 = misc2;
1944 rdev->pm.power_state[state_index].type =
1947 rdev->pm.power_state[state_index].type =
1950 rdev->pm.power_state[state_index].type =
1953 rdev->pm.power_state[state_index].type =
1956 rdev->pm.power_state[state_index].type =
1958 rdev->pm.power_state[state_index].flags &=
1962 rdev->pm.power_state[state_index].type =
1965 rdev->pm
[all...]
H A Dr100.c187 rdev->pm.dynpm_can_upclock = true;
188 rdev->pm.dynpm_can_downclock = true;
190 switch (rdev->pm.dynpm_planned_action) {
192 rdev->pm.requested_power_state_index = 0;
193 rdev->pm.dynpm_can_downclock = false;
196 if (rdev->pm.current_power_state_index == 0) {
197 rdev->pm.requested_power_state_index = rdev->pm.current_power_state_index;
198 rdev->pm.dynpm_can_downclock = false;
200 if (rdev->pm
[all...]
H A Devergreen.c280 rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_off_ps_idx = rdev->pm.default_power_state_index;
281 rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_on_ps_idx = rdev->pm.default_power_state_index;
282 rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_off_cm_idx = 0;
283 rdev->pm.profiles[PM_PROFILE_DEFAULT_IDX].dpms_on_cm_idx = 0;
291 rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_off_ps_idx = idx;
292 rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_on_ps_idx = idx;
293 rdev->pm.profiles[PM_PROFILE_LOW_SH_IDX].dpms_off_cm_idx = 0;
294 rdev->pm
[all...]
/freebsd-9.3-release/sys/dev/hwpmc/
H A Dhwpmc_mips24k.c219 mips24k_allocate_pmc(int cpu, int ri, struct pmc *pm, argument
258 pm->pm_md.pm_mips24k.pm_mips24k_evsel = config;
269 struct pmc *pm; local
277 pm = mips24k_pcpu[cpu]->pc_mipspmcs[ri].phw_pmc;
280 if (PMC_IS_SAMPLING_MODE(PMC_TO_MODE(pm)))
291 struct pmc *pm; local
298 pm = mips24k_pcpu[cpu]->pc_mipspmcs[ri].phw_pmc;
300 if (PMC_IS_SAMPLING_MODE(PMC_TO_MODE(pm)))
311 mips24k_config_pmc(int cpu, int ri, struct pmc *pm) argument
315 PMCDBG(MDP,CFG,1, "cpu=%d ri=%d pm
337 struct pmc *pm; local
362 struct pmc *pm; local
[all...]
H A Dhwpmc_xscale.c251 xscale_allocate_pmc(int cpu, int ri, struct pmc *pm, argument
278 pm->pm_md.pm_xscale.pm_xscale_evsel = config;
289 struct pmc *pm; local
297 pm = xscale_pcpu[cpu]->pc_xscalepmcs[ri].phw_pmc;
300 if (PMC_IS_SAMPLING_MODE(PMC_TO_MODE(pm)))
311 struct pmc *pm; local
318 pm = xscale_pcpu[cpu]->pc_xscalepmcs[ri].phw_pmc;
320 if (PMC_IS_SAMPLING_MODE(PMC_TO_MODE(pm)))
331 xscale_config_pmc(int cpu, int ri, struct pmc *pm) argument
335 PMCDBG(MDP,CFG,1, "cpu=%d ri=%d pm
357 struct pmc *pm; local
427 struct pmc *pm; local
[all...]
H A Dhwpmc_piv.c678 struct pmc *pm; local
690 pm = pc->pc_p4pmcs[ri].phw_pmc;
693 KASSERT(pm != NULL,
696 KASSERT(pd->pm_descr.pd_class == PMC_TO_CLASS(pm),
698 pd->pm_descr.pd_class, PMC_TO_CLASS(pm)));
700 mode = PMC_TO_MODE(pm);
736 struct pmc *pm; local
748 pm = phw->phw_pmc;
751 KASSERT(pm != NULL,
755 mode = PMC_TO_MODE(pm);
788 p4_config_pmc(int cpu, int ri, struct pmc *pm) argument
913 p4_allocate_pmc(int cpu, int ri, struct pmc *pm, const struct pmc_op_pmcallocate *a) argument
1117 p4_release_pmc(int cpu, int ri, struct pmc *pm) argument
1154 struct pmc *pm; local
1300 struct pmc *pm; local
1419 struct pmc *pm; local
[all...]
H A Dhwpmc_tsc.c71 tsc_allocate_pmc(int cpu, int ri, struct pmc *pm, argument
84 if ((pm->pm_caps & TSC_CAPS) == 0)
87 if ((pm->pm_caps & ~TSC_CAPS) != 0)
98 tsc_config_pmc(int cpu, int ri, struct pmc *pm) argument
102 PMCDBG(MDP,CFG,1, "cpu=%d ri=%d pm=%p", cpu, ri, pm);
110 KASSERT(pm == NULL || phw->phw_pmc == NULL,
111 ("[tsc,%d] pm=%p phw->pm=%p hwpmc not unconfigured", __LINE__,
112 pm, ph
237 struct pmc *pm; local
[all...]
H A Dhwpmc_logging.c767 pmclog_process_callchain(struct pmc *pm, struct pmc_sample *ps) argument
773 PMCDBG(LOG,SAM,1,"pm=%p pid=%d n=%d", pm, ps->ps_pid,
778 po = pm->pm_owner;
782 PMCLOG_EMIT32(pm->pm_id);
836 pmclog_process_pmcallocate(struct pmc *pm) argument
841 po = pm->pm_owner;
843 PMCDBG(LOG,ALL,1, "pm=%p", pm);
845 if (PMC_TO_CLASS(pm)
869 pmclog_process_pmcattach(struct pmc *pm, pid_t pid, char *path) argument
889 pmclog_process_pmcdetach(struct pmc *pm, pid_t pid) argument
908 pmclog_process_proccsw(struct pmc *pm, struct pmc_process *pp, pmc_value_t v) argument
951 pmclog_process_procexit(struct pmc *pm, struct pmc_process *pp) argument
[all...]
H A Dhwpmc_amd.c266 struct pmc *pm; local
276 pm = amd_pcpu[cpu]->pc_amdpmcs[ri].phw_pmc;
279 KASSERT(pm != NULL,
283 mode = PMC_TO_MODE(pm);
316 struct pmc *pm; local
323 pm = amd_pcpu[cpu]->pc_amdpmcs[ri].phw_pmc;
326 KASSERT(pm != NULL,
330 mode = PMC_TO_MODE(pm);
351 * pmc 'pm'.
355 amd_config_pmc(int cpu, int ri, struct pmc *pm) argument
433 amd_allocate_pmc(int cpu, int ri, struct pmc *pm, const struct pmc_op_pmcallocate *a) argument
553 struct pmc *pm; local
592 struct pmc *pm; local
633 struct pmc *pm; local
[all...]
H A Dhwpmc_ppro.c394 struct pmc *pm; local
403 pm = p6_pcpu[cpu]->pc_p6pmcs[ri].phw_pmc;
406 KASSERT(pm,
410 if (PMC_IS_SAMPLING_MODE(PMC_TO_MODE(pm)))
424 struct pmc *pm; local
432 pm = p6_pcpu[cpu]->pc_p6pmcs[ri].phw_pmc;
435 KASSERT(pm,
441 if (PMC_IS_SAMPLING_MODE(PMC_TO_MODE(pm)))
450 p6_config_pmc(int cpu, int ri, struct pmc *pm) argument
458 PMCDBG(MDP,CFG,1, "p6-config cpu=%d ri=%d pm
494 p6_allocate_pmc(int cpu, int ri, struct pmc *pm, const struct pmc_op_pmcallocate *a) argument
588 p6_release_pmc(int cpu, int ri, struct pmc *pm) argument
609 struct pmc *pm; local
644 struct pmc *pm; local
678 struct pmc *pm; local
[all...]
H A Dhwpmc_powerpc.c390 powerpc_allocate_pmc(int cpu, int ri, struct pmc *pm, argument
430 pm->pm_md.pm_powerpc.pm_powerpc_evsel = config;
440 struct pmc *pm; local
448 pm = powerpc_pcpu[cpu]->pc_ppcpmcs[ri].phw_pmc;
451 if (PMC_IS_SAMPLING_MODE(PMC_TO_MODE(pm)))
462 struct pmc *pm; local
469 pm = powerpc_pcpu[cpu]->pc_ppcpmcs[ri].phw_pmc;
471 if (PMC_IS_SAMPLING_MODE(PMC_TO_MODE(pm)))
482 powerpc_config_pmc(int cpu, int ri, struct pmc *pm) argument
486 PMCDBG(MDP,CFG,1, "cpu=%d ri=%d pm
508 struct pmc *pm; local
568 struct pmc *pm; local
649 struct pmc *pm; local
[all...]
H A Dhwpmc_uncore.c183 ucf_allocate_pmc(int cpu, int ri, struct pmc *pm, argument
192 PMCDBG(MDP,ALL,1, "ucf-allocate ri=%d reqcaps=0x%x", ri, pm->pm_caps);
203 ev = pm->pm_event;
209 pm->pm_md.pm_ucf.pm_ucf_ctrl = (flags << (ri * 4));
212 (uintmax_t) pm->pm_md.pm_ucf.pm_ucf_ctrl);
218 ucf_config_pmc(int cpu, int ri, struct pmc *pm) argument
226 PMCDBG(MDP,CFG,1, "ucf-config cpu=%d ri=%d pm=%p", cpu, ri, pm);
231 uncore_pcpu[cpu]->pc_uncorepmcs[ri + uncore_ucf_ri].phw_pmc = pm;
274 struct pmc *pm; local
319 struct pmc *pm; local
388 struct pmc *pm; local
829 ucp_allocate_pmc(int cpu, int ri, struct pmc *pm, const struct pmc_op_pmcallocate *a) argument
924 ucp_config_pmc(int cpu, int ri, struct pmc *pm) argument
980 struct pmc *pm; local
1007 ucp_release_pmc(int cpu, int ri, struct pmc *pm) argument
1028 struct pmc *pm; local
1088 struct pmc *pm; local
1120 struct pmc *pm; local
[all...]
/freebsd-9.3-release/contrib/libarchive/libarchive_fe/
H A Dpathmatch.c112 pm(const char *p, const char *s, int flags) function
239 return (pm(p, s, flags));
247 if (pm(p, s, flags))
254 return (pm(p, s, flags));
/freebsd-9.3-release/sys/vm/
H A Dpmap.h151 #define pmap_resident_count(pm) ((pm)->pm_stats.resident_count)
152 #define pmap_wired_count(pm) ((pm)->pm_stats.wired_count)
/freebsd-9.3-release/contrib/opie/
H A Dglob.c454 register char *pe, *pm, *pl; local
480 for (pl = pm = p; pm <= pe; pm++)
481 switch (*pm & (QUOTE | TRIM)) {
499 savec = *pm;
500 *pm = 0;
503 *pm = savec;
513 pl = pm + 1;
519 for (pm
[all...]
/freebsd-9.3-release/sys/dev/usb/
H A Dusb_process.c99 struct usb_proc_msg *pm; local
163 pm = TAILQ_FIRST(&up->up_qhead);
165 if (pm) {
166 DPRINTF("Message pm=%p, cb=%p (enter)\n",
167 pm, pm->pm_callback);
169 (pm->pm_callback) (pm);
171 if (pm == TAILQ_FIRST(&up->up_qhead)) {
173 TAILQ_REMOVE(&up->up_qhead, pm, pm_qentr
[all...]
/freebsd-9.3-release/crypto/heimdal/lib/roken/
H A Dglob.c248 const Char *pe, *pm, *pl; local
252 for (lm = patbuf, pm = pattern; pm != ptr; *lm++ = *pm++)
260 for (pm = pe++; *pe != CHAR_RBRACKET && *pe != CHAR_EOS; pe++)
267 pe = pm;
284 for (i = 0, pl = pm = ptr; pm <= pe; pm++)
285 switch (*pm) {
[all...]
/freebsd-9.3-release/sys/powerpc/aim/
H A Dmmu_oea64.c992 pmap_t pm; local
994 pm = &td->td_proc->p_vmspace->vm_pmap;
995 CPU_SET(PCPU_GET(cpuid), &pm->pm_active);
998 PCPU_SET(userslb, pm->pm_slb);
1000 PCPU_SET(curpmap, pm->pmap_phys);
1007 pmap_t pm; local
1009 pm = &td->td_proc->p_vmspace->vm_pmap;
1010 CPU_CLR(PCPU_GET(cpuid), &pm->pm_active);
1019 moea64_change_wiring(mmu_t mmu, pmap_t pm, vm_offset_t va, boolean_t wired) argument
1027 PMAP_LOCK(pm);
1358 moea64_enter_object(mmu_t mmu, pmap_t pm, vm_offset_t start, vm_offset_t end, vm_page_t m_start, vm_prot_t prot) argument
1374 moea64_enter_quick(mmu_t mmu, pmap_t pm, vm_offset_t va, vm_page_t m, vm_prot_t prot) argument
1383 moea64_extract(mmu_t mmu, pmap_t pm, vm_offset_t va) argument
1969 moea64_pinit0(mmu_t mmu, pmap_t pm) argument
1979 moea64_pvo_protect(mmu_t mmu, pmap_t pm, struct pvo_entry *pvo, vm_prot_t prot) argument
2038 moea64_protect(mmu_t mmu, pmap_t pm, vm_offset_t sva, vm_offset_t eva, vm_prot_t prot) argument
2148 moea64_remove_pages(mmu_t mmu, pmap_t pm) argument
2166 moea64_remove(mmu_t mmu, pmap_t pm, vm_offset_t sva, vm_offset_t eva) argument
2274 moea64_pvo_enter(mmu_t mmu, pmap_t pm, uma_zone_t zone, struct pvo_head *pvo_head, vm_offset_t va, vm_offset_t pa, uint64_t pte_lo, int flags) argument
2493 moea64_pvo_find_va(pmap_t pm, vm_offset_t va) argument
2693 moea64_sync_icache(mmu_t mmu, pmap_t pm, vm_offset_t va, vm_size_t sz) argument
[all...]
H A Dmmu_oea.c946 pmap_t pm, pmr; local
952 pm = &td->td_proc->p_vmspace->vm_pmap;
953 pmr = pm->pmap_phys;
955 CPU_SET(PCPU_GET(cpuid), &pm->pm_active);
962 pmap_t pm; local
964 pm = &td->td_proc->p_vmspace->vm_pmap;
965 CPU_CLR(PCPU_GET(cpuid), &pm->pm_active);
970 moea_change_wiring(mmu_t mmu, pmap_t pm, vm_offset_t va, boolean_t wired) argument
974 PMAP_LOCK(pm);
975 pvo = moea_pvo_find_va(pm, v
1159 moea_enter_object(mmu_t mmu, pmap_t pm, vm_offset_t start, vm_offset_t end, vm_page_t m_start, vm_prot_t prot) argument
1179 moea_enter_quick(mmu_t mmu, pmap_t pm, vm_offset_t va, vm_page_t m, vm_prot_t prot) argument
1192 moea_extract(mmu_t mmu, pmap_t pm, vm_offset_t va) argument
1646 moea_pinit0(mmu_t mmu, pmap_t pm) argument
1657 moea_protect(mmu_t mmu, pmap_t pm, vm_offset_t sva, vm_offset_t eva, vm_prot_t prot) argument
1763 moea_remove(mmu_t mmu, pmap_t pm, vm_offset_t sva, vm_offset_t eva) argument
1866 moea_pvo_enter(pmap_t pm, uma_zone_t zone, struct pvo_head *pvo_head, vm_offset_t va, vm_offset_t pa, u_int pte_lo, int flags) argument
2048 moea_pvo_find_va(pmap_t pm, vm_offset_t va, int *pteidx_p) argument
2499 moea_sync_icache(mmu_t mmu, pmap_t pm, vm_offset_t va, vm_size_t sz) argument
[all...]
/freebsd-9.3-release/sys/sparc64/include/
H A Dtlb.h159 void tlb_context_demap(struct pmap *pm);
160 void tlb_page_demap(struct pmap *pm, vm_offset_t va);
161 void tlb_range_demap(struct pmap *pm, vm_offset_t start, vm_offset_t end);
/freebsd-9.3-release/sys/dev/usb/controller/
H A Dusb_controller.c340 usb_bus_explore(struct usb_proc_msg *pm) argument
345 bus = ((struct usb_bus_msg *)pm)->bus;
399 usb_bus_detach(struct usb_proc_msg *pm) argument
405 bus = ((struct usb_bus_msg *)pm)->bus;
433 usb_bus_suspend(struct usb_proc_msg *pm) argument
442 bus = ((struct usb_bus_msg *)pm)->bus;
490 usb_bus_resume(struct usb_proc_msg *pm) argument
499 bus = ((struct usb_bus_msg *)pm)->bus;
553 usb_bus_reset(struct usb_proc_msg *pm) argument
559 bus = ((struct usb_bus_msg *)pm)
575 usb_bus_shutdown(struct usb_proc_msg *pm) argument
648 usb_bus_attach(struct usb_proc_msg *pm) argument
[all...]
/freebsd-9.3-release/gnu/lib/libregex/
H A Dregex.c53 # define regexec(pr, st, nm, pm, ef) __regexec (pr, st, nm, pm, ef)
/freebsd-9.3-release/sys/powerpc/include/
H A Dpmap.h158 uint64_t va_to_vsid(pmap_t pm, vm_offset_t va);
162 struct slb *user_va_to_slb_entry(pmap_t pm, vm_offset_t va);
164 uint64_t allocate_user_vsid(pmap_t pm, uint64_t esid, int large);
165 void free_vsid(pmap_t pm, uint64_t esid, int large);
166 void slb_insert_user(pmap_t pm, struct slb *slb);
170 void slb_free_tree(pmap_t pm);
/freebsd-9.3-release/contrib/file/src/
H A Dfile.c123 } pm[] = { variable in typeref:struct:__anon22
378 for (i = 0; i < __arraycount(pm); i++) {
379 if (pm[i].value == 0)
381 if (magic_setparam(magic, pm[i].tag, &pm[i].value) == -1) {
383 pm[i].name, strerror(errno));
398 for (i = 0; i < __arraycount(pm); i++) {
399 if (strncmp(p, pm[i].name, s - p) != 0)
401 pm[i].value = atoi(s + 1);
/freebsd-9.3-release/crypto/openssh/openbsd-compat/
H A Dglob.c262 const Char *pe, *pm, *pl; local
266 for (lm = patbuf, pm = pattern; pm != ptr; *lm++ = *pm++)
275 for (pm = pe++; *pe != RBRACKET && *pe != EOS; pe++)
282 pe = pm;
296 for (i = 0, pl = pm = ptr; pm <= pe; pm++) {
297 switch (*pm) {
[all...]

Completed in 325 milliseconds

123456