/src/sys/dev/sysmon/ |
sysmon_envsys.c | 191 struct sysmon_envsys *sme = NULL; local in function:sysmonioctl_envsys 208 LIST_FOREACH(sme, &sysmon_envsys_list, sme_list) { 209 sysmon_envsys_acquire(sme, false); 210 error = sme_update_dictionary(sme); 214 sysmon_envsys_release(sme, false); 218 sysmon_envsys_release(sme, false); 275 * find the correct sme device. 277 sme = sysmon_envsys_find(devname); 278 if (!sme) { 279 DPRINTF(("%s: NULL sme\n", __func__)) 526 struct sysmon_envsys *sme; local in function:sysmon_envsys_create 1033 struct sysmon_envsys *sme; local in function:sysmon_envsys_find 1053 struct sysmon_envsys *sme; local in function:sysmon_envsys_find_40 1124 struct sysmon_envsys *sme = arg; local in function:sme_initial_refresh 1173 struct sysmon_envsys *sme; local in function:sme_remove_userprops 1547 struct sysmon_envsys *sme; local in function:sysmon_envsys_get_max_value 2087 struct sysmon_envsys *sme; local in function:sysmon_envsys_foreach_sensor [all...] |
sysmon_envsys_events.c | 119 struct sysmon_envsys *sme, sysmon_envsys_lim_t *lims, 130 KASSERT(sme != NULL); 172 mutex_enter(&sme->sme_mtx); 173 LIST_FOREACH(osee, &sme->sme_events_list, see_list) { 187 __func__, sme->sme_name, edata->desc, crittype)); 224 mutex_exit(&sme->sme_mtx); 234 __func__, sme->sme_name, edata->desc)); 237 see->see_sme = sme; 268 (void)strlcpy(see->see_pes.pes_dvname, sme->sme_name, 284 __func__, sme->sme_name, objkey)) 747 struct sysmon_envsys *sme = arg; local in function:sme_events_check 779 struct sysmon_envsys *sme = see->see_sme; local in function:sme_events_worker 1024 struct sysmon_envsys *sme = see->see_sme; local in function:sme_deliver_event 1065 struct sysmon_envsys *sme; local in function:sme_acadapter_check 1112 struct sysmon_envsys *sme; local in function:sme_battery_check [all...] |
/src/sys/arch/sun2/sun2/ |
pmap.c | 462 pmeg_p(int sme) 465 if (sme < 0 || sme >= SEGINV) 466 panic("pmeg_p: bad sme"); 468 return &pmeg_array[sme]; 573 int i, sme; local in function:context_free 604 sme = get_segmap(va); 605 if (sme == SEGINV) 612 "new=ff (cf)\n", ctxnum, va, sme); 615 if (sme != pmap->pm_segmap[i] 700 unsigned char sme; local in function:pmeg_mon_init 742 int sme; local in function:pmeg_clean 942 int sme, segnum; local in function:pmeg_cache 1090 int pte, sme; local in function:pv_changepte 1194 int pte, sme; local in function:pv_syncflags 1494 int i, pte, sme; local in function:pmap_bootstrap 1726 int i, sme; local in function:pmap_kernel_init 1982 int do_pv, old_pte, sme; local in function:pmap_enter_kernel 2126 int do_pv, old_pte, sme; local in function:pmap_enter_user 2304 int sme; local in function:pmap_kenter_pa 2416 int pte, sme; local in function:pmap_kremove 2568 int rv, s, pte, chkpte, sme; local in function:pmap_fault_reload 2793 int s, sme; local in function:pmap_unwire 2851 int s, saved_ctx, segnum, sme; local in function:_pmap_extract_pmeg 2880 int s, sme, segnum, ptenum, pte; local in function:pmap_extract 3016 int old_ctx, s, sme; local in function:pmap_protect1 3087 int sme = get_segmap(segva); local in function:pmap_protect_mmu 3154 int old_ctx, pte, sme, segnum; local in function:pmap_protect_noctx 3252 int old_ctx, s, sme; local in function:pmap_remove1 3310 int pte, sme; local in function:pmap_remove_mmu 3438 int old_ctx, pte, sme, segnum; local in function:pmap_remove_noctx 3533 int i, sme, pages; local in function:pmap_resident_pages 3557 int i, mask, sme, pages; local in function:pmap_wired_pages 3735 int sme, sme_end; \/* SegMap Entry numbers *\/ local in function:pmap_get_pagemap [all...] |
db_machdep.c | 110 int sme; local in function:db_mach_pagemap 112 sme = get_segmap(va); 113 if (sme == 0xFF) pte = 0; 115 db_printf("0x%08lx [%02x] 0x%08x", va, sme, pte);
|
control.c | 116 set_segmap(vaddr_t va, int sme) 118 set_control_byte(CONTROL_ADDR_BUILD(SEGMAP_BASE, va), sme);
|
/src/sys/arch/sun3/sun3/ |
pmap.c | 471 pmeg_p(int sme) 474 if (sme < 0 || sme >= SEGINV) 475 panic("pmeg_p: bad sme"); 477 return &pmeg_array[sme]; 582 int i, sme; local in function:context_free 613 sme = get_segmap(va); 614 if (sme == SEGINV) 621 "new=ff (cf)\n", ctxnum, va, sme); 624 if (sme != pmap->pm_segmap[i] 709 unsigned char sme; local in function:pmeg_mon_init 751 int sme; local in function:pmeg_clean 951 int sme, segnum; local in function:pmeg_cache 1099 int pte, sme; local in function:pv_changepte 1201 int pte, sme; local in function:pv_syncflags 1502 int i, pte, sme; local in function:pmap_bootstrap 1758 int i, sme; local in function:pmap_kernel_init 2014 int do_pv, old_pte, sme; local in function:pmap_enter_kernel 2155 int do_pv, old_pte, sme; local in function:pmap_enter_user 2333 int sme; local in function:pmap_kenter_pa 2441 int pte, sme; local in function:pmap_kremove 2587 int rv, s, pte, chkpte, sme; local in function:pmap_fault_reload 2805 int s, sme; local in function:pmap_unwire 2862 int s, sme, segnum, ptenum, pte; local in function:pmap_extract 2994 int old_ctx, s, sme; local in function:pmap_protect1 3061 int sme = get_segmap(segva); local in function:pmap_protect_mmu 3125 int old_ctx, pte, sme, segnum; local in function:pmap_protect_noctx 3213 int old_ctx, s, sme; local in function:pmap_remove1 3268 int pte, sme; local in function:pmap_remove_mmu 3394 int old_ctx, pte, sme, segnum; local in function:pmap_remove_noctx 3478 int i, sme, pages; local in function:pmap_resident_pages 3502 int i, mask, sme, pages; local in function:pmap_wired_pages 3660 int sme, sme_end; \/* SegMap Entry numbers *\/ local in function:pmap_get_pagemap [all...] |
control.c | 71 set_segmap(vaddr_t va, int sme) 73 set_control_byte(CONTROL_ADDR_BUILD(SEGMAP_BASE, va), sme);
|
db_machdep.c | 112 int sme; local in function:db_mach_pagemap 114 sme = get_segmap(va); 115 if (sme == 0xFF) { 120 db_printf("0x%08lx [%02x] 0x%08x", va, sme, pte);
|
dvma.c | 182 int s, sme, error; local in function:dvma_mapin 216 sme = get_segmap(v); 217 KASSERT(sme != SEGINV); 223 set_segmap_allctx(x, sme); 245 int sme __diagused; 261 sme = get_segmap(v); 262 KASSERT(sme != SEGINV);
|
/src/sys/arch/sun68k/stand/libsa/ |
sun2.c | 177 int segva, dmava, sme; local in function:dvma2_init 183 sme = sun2_get_segmap(segva); 184 sun2_set_segmap(dmava, sme); 298 sun2_set_segmap(vaddr_t va, int sme) 301 set_control_byte(va, sme); 402 int sme; local in function:sun2_map_mem_run 422 sme = sun2_get_segmap((MEM_CHUNK1_LOAD_VIRT_PROM + off) - NBSG); 423 sun2_set_segmap(MEM_CHUNK1_COPY_VIRT + off, sme);
|
sun3.c | 166 int segva, dmava, sme; local in function:dvma3_init 172 sme = sun3_get_segmap(segva); 173 sun3_set_segmap(dmava, sme); 248 sun3_set_segmap(vaddr_t va, int sme) 251 set_control_byte(va, sme);
|
/src/lib/libkvm/ |
kvm_sun2.c | 139 u_int segnum, sme, ptenum; local in function:_kvm_sun2_kvatop 153 * Get the segmap entry (sme) from the kernel segmap. 161 sme = s->ksegmap[segnum]; 162 pte = pv->pmeg[sme][ptenum];
|
kvm_sun3.c | 139 u_int segnum, sme, ptenum; local in function:_kvm_sun3_kvatop 153 * Get the segmap entry (sme) from the kernel segmap. 161 sme = s->ksegmap[segnum]; 162 pte = pv->pmeg[sme][ptenum];
|
/src/sys/arch/arm/marvell/ |
mvsocpmu.c | 137 mvsocpmu_tm_refresh(struct sysmon_envsys *sme, envsys_data_t *edata) 139 struct mvsocpmu_softc *sc = sme->sme_cookie; 154 mvsocpmu_tm_get_limits(struct sysmon_envsys *sme, envsys_data_t *edata, 157 struct mvsocpmu_softc *sc = sme->sme_cookie; 167 mvsocpmu_tm_set_limits(struct sysmon_envsys *sme, envsys_data_t *edata, 170 struct mvsocpmu_softc *sc = sme->sme_cookie;
|
mvsocts.c | 146 mvsocts_refresh(struct sysmon_envsys *sme, envsys_data_t *edata) 148 struct mvsocts_softc *sc = sme->sme_cookie;
|
/src/sys/arch/sparc/include/ |
oldmon.h | 265 #define mon_setcxsegmap(context, va, sme) \ 266 romVectorPtr->setcxsegmap(context, va, sme)
|
/src/sys/dev/i2c/ |
axp22x.c | 111 axp22x_sensors_refresh(struct sysmon_envsys *sme, envsys_data_t *edata) 113 struct axp22x_softc *sc = sme->sme_cookie;
|
lm75.c | 379 lmtemp_refresh(struct sysmon_envsys *sme, envsys_data_t *edata) 381 struct lmtemp_softc *sc = sme->sme_cookie; 390 lmtemp_getlim_lm75(struct sysmon_envsys *sme, envsys_data_t *edata, 393 struct lmtemp_softc *sc = sme->sme_cookie; 408 lmtemp_getlim_lm77(struct sysmon_envsys *sme, envsys_data_t *edata, 411 struct lmtemp_softc *sc = sme->sme_cookie; 434 lmtemp_setlim_lm75(struct sysmon_envsys *sme, envsys_data_t *edata, 437 struct lmtemp_softc *sc = sme->sme_cookie; 458 lmtemp_setlim_lm77(struct sysmon_envsys *sme, envsys_data_t *edata, 461 struct lmtemp_softc *sc = sme->sme_cookie [all...] |
adm1021.c | 459 admtemp_refresh(struct sysmon_envsys *sme, envsys_data_t *edata) 461 struct admtemp_softc *sc = sme->sme_cookie; 492 admtemp_getlim_1021(struct sysmon_envsys *sme, envsys_data_t *edata, 495 struct admtemp_softc *sc = sme->sme_cookie; 542 admtemp_getlim_1023(struct sysmon_envsys *sme, envsys_data_t *edata, 545 struct admtemp_softc *sc = sme->sme_cookie; 607 admtemp_getlim_1032(struct sysmon_envsys *sme, envsys_data_t *edata, 610 struct admtemp_softc *sc = sme->sme_cookie; 684 admtemp_setlim_1021(struct sysmon_envsys *sme, envsys_data_t *edata, 687 struct admtemp_softc *sc = sme->sme_cookie [all...] |
titemp.c | 151 titemp_sensors_refresh(struct sysmon_envsys *sme, envsys_data_t *edata) 153 struct titemp_softc *sc = sme->sme_cookie;
|
/src/sys/dev/spi/ |
tmp121.c | 143 tmp121temp_refresh(struct sysmon_envsys *sme, envsys_data_t *edata) 145 struct tmp121temp_softc *sc = sme->sme_cookie;
|
/src/sys/dev/isa/ |
nsclpcsio_isa.c | 309 struct sysmon_envsys *sme; local in function:nsclpcsio_envsys_init 311 sme = sysmon_envsys_create(); 314 if (sysmon_envsys_sensor_attach(sme, &sc->sc_sensor[i]) != 0) { 324 sme->sme_name = device_xname(sc->sc_dev); 325 sme->sme_cookie = sc; 326 sme->sme_refresh = nsclpcsio_refresh; 328 if ((i = sysmon_envsys_register(sme)) != 0) { 333 return sme; 335 sysmon_envsys_destroy(sme); 497 nsclpcsio_refresh(struct sysmon_envsys *sme, envsys_data_t *edata [all...] |
/src/sys/arch/arm/sunxi/ |
sunxi_thermal.c | 334 struct sysmon_envsys *sme; member in struct:sunxi_thermal_softc 506 sunxi_thermal_refresh(struct sysmon_envsys *sme, envsys_data_t *edata) 508 struct sunxi_thermal_softc * const sc = sme->sme_cookie; 631 sc->sme = sysmon_envsys_create(); 632 sc->sme->sme_name = device_xname(self); 633 sc->sme->sme_cookie = sc; 634 sc->sme->sme_refresh = sunxi_thermal_refresh; 641 sysmon_envsys_sensor_attach(sc->sme, &sc->data[i]); 643 sysmon_envsys_register(sc->sme);
|
/src/sys/arch/macppc/dev/ |
smartbat.c | 255 smartbat_refresh(struct sysmon_envsys *sme, envsys_data_t *edata) 257 struct smartbat_softc *sc = sme->sme_cookie; 343 smartbat_get_limits(struct sysmon_envsys *sme, envsys_data_t *edata, 346 struct smartbat_softc *sc = sme->sme_cookie; 358 smartbat_refresh_ac(struct sysmon_envsys *sme, envsys_data_t *edata) 360 struct smartbat_softc *sc = sme->sme_cookie;
|
/src/sys/arch/x86/x86/ |
viac7temp.c | 145 viac7temp_refresh(struct sysmon_envsys *sme, envsys_data_t *edata) 147 struct viac7temp_softc *sc = sme->sme_cookie;
|