Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/sun4u/io/
H A Dgrbeep.c183 grbeep_state_t *grbeeptr = NULL; in grbeep_attach() local
206 grbeeptr = ddi_get_soft_state(grbeep_statep, instance); in grbeep_attach()
208 if (grbeeptr == NULL) { in grbeep_attach()
214 (void *)grbeeptr, instance)); in grbeep_attach()
217 grbeeptr->grbeep_dip = dip; in grbeep_attach()
220 grbeeptr->grbeep_mode = GRBEEP_OFF; in grbeep_attach()
223 if (grbeep_map_regs(dip, grbeeptr) != DDI_SUCCESS) { in grbeep_attach()
228 grbeep_cleanup(grbeeptr); in grbeep_attach()
252 grbeep_state_t *grbeeptr = NULL; in grbeep_detach() local
258 grbeeptr = grbeep_obtain_state(dip); in grbeep_detach()
[all …]
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dgrbeep.h104 ddi_put8(grbeeptr->grbeep_freq_regs_handle, \
105 ((uint8_t *)&grbeeptr->grbeep_freq_regs->grbeep_freq_regs_control), \
109 ddi_put8(grbeeptr->grbeep_freq_regs_handle, \
110 ((uint8_t *)&grbeeptr->grbeep_freq_regs->grbeep_freq_regs_divisor), \
114 ddi_put8(grbeeptr->grbeep_start_stop_reg_handle, \
115 ((uint8_t *)grbeeptr->grbeep_start_stop_reg), \