Searched refs:sme_flags (Results 1 – 18 of 18) sorted by relevance
404 if ((sme->sme_flags & SME_POLL_ONLY) == 0) { in sysmonioctl_envsys()723 if ((sme->sme_flags & SME_DISABLE_REFRESH) == 0) in sysmon_envsys_register()885 if (sme->sme_flags & SME_INIT_REFRESH) { in sysmon_envsys_register()1080 while (sme->sme_flags & SME_FLAG_BUSY) in sysmon_envsys_acquire()1082 sme->sme_flags |= SME_FLAG_BUSY; in sysmon_envsys_acquire()1085 while (sme->sme_flags & SME_FLAG_BUSY) in sysmon_envsys_acquire()1087 sme->sme_flags |= SME_FLAG_BUSY; in sysmon_envsys_acquire()1104 sme->sme_flags &= ~SME_FLAG_BUSY; in sysmon_envsys_release()1108 sme->sme_flags &= ~SME_FLAG_BUSY; in sysmon_envsys_release()2115 if ((sme->sme_flags & SME_DISABLE_REFRESH) == 0) in sysmon_envsys_refresh_sensor()
163 int sme_flags; /* additional flags */ member
269 sc->sc_sme->sme_flags = SME_DISABLE_REFRESH; in acpiacad_init_envsys()
168 sc->sc_sme->sme_flags = SME_POLL_ONLY; in acpifan_sensor_init()
160 sc->sc_sme->sme_flags = SME_POLL_ONLY; in asus_attach()
345 sc->sc_sme->sme_flags = SME_POLL_ONLY; in acpipmtr_sensor_init()
532 sc->sc_sme->sme_flags = SME_POLL_ONLY; in hpacel_sensor_init()
754 sc->sc_sme->sme_flags = SME_POLL_ONLY; in acpibat_init_envsys()
785 sc->sc_sme->sme_flags = SME_DISABLE_REFRESH; in acpitz_init_envsys()
224 sc->sc_sme->sme_flags = 0; in meson_thermal_attach()
403 sc->sc_sme->sme_flags = SME_DISABLE_REFRESH; in sunxi_ts_attach()
235 sc->sc_sme->sme_flags = SME_INIT_REFRESH; in cwfg_attach_sensors()
1145 sc->sc_sme->sme_flags = SME_INIT_REFRESH; in axppmic_attach()
244 sc->sc_bat_sme->sme_flags = SME_POLL_ONLY | SME_INIT_REFRESH; in smartbat_setup_envsys()
359 sc->sc_sme->sme_flags = SME_DISABLE_REFRESH; in aps_attach()
2270 lmsc->sc_sme->sme_flags = SME_DISABLE_REFRESH; in lm_attach()
2077 sc->sc_envsys->sme_flags = SME_DISABLE_REFRESH; in ipmi_thread()
1959 sc->sc_sme->sme_flags = 0; in aq_attach()