Searched refs:pcf8584_state (Results 1 – 1 of 1) sorted by relevance
175 static void *pcf8584_state; variable241 status = ddi_soft_state_init(&pcf8584_state, sizeof (pcf8584_t), in _init()249 ddi_soft_state_fini(&pcf8584_state); in _init()261 ddi_soft_state_fini(&pcf8584_state); in _fini()282 i2c = (pcf8584_t *)ddi_get_soft_state(pcf8584_state, instance); in pcf8584_dodetach()308 ddi_soft_state_free(pcf8584_state, instance); in pcf8584_dodetach()320 if (ddi_soft_state_zalloc(pcf8584_state, instance) != DDI_SUCCESS) { in pcf8584_doattach()325 i2c = (pcf8584_t *)ddi_get_soft_state(pcf8584_state, instance); in pcf8584_doattach()475 i2c = (pcf8584_t *)ddi_get_soft_state(pcf8584_state, instance); in pcf8584_open()508 i2c = (pcf8584_t *)ddi_get_soft_state(pcf8584_state, instance); in pcf8584_close()[all …]