Lines Matching refs:ds1287_state
155 static void *ds1287_state; variable
194 status = ddi_soft_state_init(&ds1287_state, sizeof (struct ds1287), 0); in _init()
200 ddi_soft_state_fini(&ds1287_state); in _init()
267 if ((softsp = ddi_get_soft_state(ds1287_state, instance)) in ds1287_getinfo()
313 if (ddi_soft_state_zalloc(ds1287_state, instance) != DDI_SUCCESS) { in ds1287_attach()
319 softsp = ddi_get_soft_state(ds1287_state, instance); in ds1287_attach()
373 ddi_soft_state_free(ds1287_state, instance); in ds1287_attach()
406 if ((softsp = ddi_get_soft_state(ds1287_state, instance)) == in ds1287_open()
439 if ((softsp = ddi_get_soft_state(ds1287_state, instance)) == in ds1287_close()
461 if ((softsp = ddi_get_soft_state(ds1287_state, instance)) == in ds1287_ioctl()
541 if ((softsp = ddi_get_soft_state(ds1287_state, instance)) == NULL) in ds1287_chpoll()
562 if ((softsp = ddi_get_soft_state(ds1287_state, instance)) == NULL) { in ds1287_log_message()