Searched refs:bbc_beeptr (Results 1 – 2 of 2) sorted by relevance
180 bbc_beep_state_t *bbc_beeptr = NULL; in bbc_beep_attach() local201 bbc_beeptr = ddi_get_soft_state(bbc_beep_statep, instance); in bbc_beep_attach()203 if (bbc_beeptr == NULL) { in bbc_beep_attach()209 (void *)bbc_beeptr, instance)); in bbc_beep_attach()212 bbc_beeptr->bbc_beep_dip = dip; in bbc_beep_attach()215 bbc_beeptr->bbc_beep_mode = BBC_BEEP_OFF; in bbc_beep_attach()218 if (bbc_beep_map_regs(dip, bbc_beeptr) != DDI_SUCCESS) { in bbc_beep_attach()223 bbc_beep_cleanup(bbc_beeptr); in bbc_beep_attach()247 bbc_beep_state_t *bbc_beeptr = NULL; in bbc_beep_detach() local253 bbc_beeptr = bbc_beep_obtain_state(dip); in bbc_beep_detach()[all …]
90 #define BEEP_WRITE_CTRL_REG(val) ddi_put8(bbc_beeptr->bbc_beep_regs_handle, \91 ((uint8_t *)&bbc_beeptr->bbc_beep_regsp->bbc_beep_control), \94 ddi_put8(bbc_beeptr->bbc_beep_regs_handle, \95 ((uint8_t *)&bbc_beeptr->bbc_beep_regsp->bbc_beep_counter[no]), \