Home
last modified time | relevance | path

Searched refs:sc_timer (Results 1 – 15 of 15) sorted by relevance

/netbsd-src/sys/arch/arm/samsung/
H A Dexynos_pwm.c77 struct exynos_pwm_timer sc_timer[PWM_NTIMERS]; member
183 timer = &sc->sc_timer[index]; in exynos_pwm_get_tag()
238 sc->sc_timer[n].timer_index = n; in exynos_pwm_attach()
239 sc->sc_timer[n].timer_pwm.pwm_enable = exynos_pwm_enable; in exynos_pwm_attach()
240 sc->sc_timer[n].timer_pwm.pwm_get_config = exynos_pwm_get_config; in exynos_pwm_attach()
241 sc->sc_timer[n].timer_pwm.pwm_set_config = exynos_pwm_set_config; in exynos_pwm_attach()
242 sc->sc_timer[n].timer_pwm.pwm_dev = self; in exynos_pwm_attach()
243 sc->sc_timer[n].timer_pwm.pwm_priv = &sc->sc_timer[n]; in exynos_pwm_attach()
/netbsd-src/sys/dev/isa/
H A Dpcppi.c269 if (sc->sc_timer != NULL) { in pcppi_detach_speaker()
270 attimer_detach_speaker(sc->sc_timer); in pcppi_detach_speaker()
271 sc->sc_timer = NULL; in pcppi_detach_speaker()
280 if ((sc->sc_timer = attimer_attach_speaker()) == NULL) in pcppi_attach_speaker()
283 aprint_normal_dev(sc->sc_timer, "attached to %s\n", in pcppi_attach_speaker()
317 if (sc->sc_timer != NULL) in pcppi_bell_locked()
318 attimer_set_pitch(sc->sc_timer, pitch); in pcppi_bell_locked()
H A Dpcppivar.h46 device_t sc_timer; member
/netbsd-src/sys/arch/sparc64/dev/
H A Dtda.c73 callout_t sc_timer; member
131 callout_init(&sc->sc_timer, CALLOUT_MPSAFE); in tda_attach()
132 callout_reset(&sc->sc_timer, hz*20, tda_timeout, sc); in tda_attach()
182 callout_halt(&sc->sc_timer, NULL); in tda_detach()
183 callout_destroy(&sc->sc_timer); in tda_detach()
196 callout_reset(&sc->sc_timer, hz*60, tda_timeout, sc); in tda_timeout()
H A Dpcf8591_envctrl.c82 callout_t sc_timer; member
275 callout_init(&sc->sc_timer, CALLOUT_MPSAFE); in ecadc_attach()
276 callout_reset(&sc->sc_timer, hz*20, ecadc_timeout, sc); in ecadc_attach()
291 callout_halt(&sc->sc_timer, NULL); in ecadc_detach()
292 callout_destroy(&sc->sc_timer); in ecadc_detach()
410 callout_reset(&sc->sc_timer, hz*60, ecadc_timeout, sc); in ecadc_timeout()
/netbsd-src/sys/dev/i2c/
H A Dpcagpio.c86 callout_t sc_timer; member
179 callout_init(&sc->sc_timer, CALLOUT_MPSAFE); in pcagpio_attach()
180 callout_reset(&sc->sc_timer, hz*20, pcagpio_timeout, sc); in pcagpio_attach()
226 callout_halt(&sc->sc_timer, NULL); in pcagpio_detach()
227 callout_destroy(&sc->sc_timer); in pcagpio_detach()
259 callout_reset(&sc->sc_timer, hz*60, pcagpio_timeout, sc); in pcagpio_timeout()
H A Dpcf8574.c80 callout_t sc_timer; member
237 callout_init(&sc->sc_timer, CALLOUT_MPSAFE); in pcf8574_attach()
238 callout_reset(&sc->sc_timer, hz * sc->sc_callout_time, in pcf8574_attach()
250 callout_halt(&sc->sc_timer, NULL); in pcf8574_detach()
251 callout_destroy(&sc->sc_timer); in pcf8574_detach()
398 callout_reset(&sc->sc_timer, hz * sc->sc_callout_time, in pcf8574_timeout()
/netbsd-src/sys/netinet/
H A Dtcp_syncache.c274 callout_reset(&sc->sc_timer, in syn_cache_timer_arm()
288 callout_stop(&sc->sc_timer); in syn_cache_rm()
299 if (!callout_invoking(&sc->sc_timer)) in syn_cache_put()
300 callout_schedule(&(sc)->sc_timer, 1); in syn_cache_put()
426 callout_ack(&sc->sc_timer); in syn_cache_timer()
464 callout_destroy(&sc->sc_timer); in syn_cache_timer()
963 callout_init(&sc->sc_timer, CALLOUT_MPSAFE); in syn_cache_add()
H A Dtcp_syncache.h163 callout_t sc_timer; /* rexmt timer */ member
/netbsd-src/sys/dev/ic/
H A Dsl811hsvar.h65 struct callout sc_timer; /* for reset */ member
H A Dsl811hs.c1202 callout_init(&sc->sc_timer, CALLOUT_MPSAFE); in slhci_attach()
1203 callout_setfunc(&sc->sc_timer, slhci_reset_entry, sc); in slhci_attach()
3112 callout_schedule(&sc->sc_timer, uimax(mstohz(50), 2)); in slhci_set_feature()
/netbsd-src/sys/arch/newsmips/dev/
H A Dscreg_1185.h63 #define sc_timer *((volatile uint8_t *)(SCSI_BASE + 0x4)) macro
H A Dscsi_1185.c747 sc_timer = 0x2; in scsi_chipreset()
752 sc_timer = SEL_TIMEOUT_VALUE; in scsi_chipreset()
/netbsd-src/sys/dev/pci/
H A Dif_etreg.h530 uint32_t sc_timer; member
H A Dif_et.c192 sc->sc_timer = et_timer; in et_attach()
1037 CSR_WRITE_4(sc, ET_TIMER, sc->sc_timer); in et_intr()
1088 CSR_WRITE_4(sc, ET_TIMER, sc->sc_timer); in et_init()