Lines Matching refs:smbus_t
53 static uint_t smbus_intr_cmn(smbus_t *smbus, char *src);
59 static int smbus_acquire(smbus_t *, dev_info_t *dip,
61 static void smbus_release(smbus_t *);
64 static void smbus_free_regs(smbus_t *smbus);
65 static int smbus_setup_regs(dev_info_t *dip, smbus_t *smbus);
69 static int smbus_rd(smbus_t *smbus);
70 static int smbus_wr(smbus_t *smbus);
71 static void smbus_put(smbus_t *smbus, uint8_t reg, uint8_t data, uint8_t flags);
72 static uint8_t smbus_get(smbus_t *smbus, uint8_t reg);
75 static int smbus_switch(smbus_t *smbus);
211 status = ddi_soft_state_init(&smbus_state, sizeof (smbus_t),
253 smbus_interrupts_on(smbus_t *smbus)
268 smbus_interrupts_off(smbus_t *smbus)
285 smbus_t *smbus;
327 smbus_t *smbus;
575 smbus_setup_regs(dev_info_t *dip, smbus_t *smbus)
623 smbus_free_regs(smbus_t *smbus)
655 smbus_t *smbus;
672 smbus_t *smbus;
686 smbus_acquire(smbus_t *smbus, dev_info_t *dip, i2c_transfer_t *tp)
719 smbus_release(smbus_t *smbus)
734 smbus_put(smbus_t *smbus, uint8_t reg, uint8_t data, uint8_t flags)
756 smbus_get(smbus_t *smbus, uint8_t reg)
785 smbus_wait_idle(smbus_t *smbus)
804 smbus_t *smbus;
905 smbus_switch(smbus_t *smbus)
956 smbus_t *smbus = (smbus_t *)arg;
980 smbus_t *smbus = (smbus_t *)arg;
1019 smbus_intr_cmn(smbus_t *smbus, char *src)
1199 smbus_wr(smbus_t *smbus)
1306 smbus_rd(smbus_t *smbus)