Lines Matching full:smbus
49 #include <dev/smbus/smbconf.h>
58 /* SMBus methods */
71 * parent imcsmb_pci's registers that we will use. Create the smbus(4) device,
72 * which any SMBus slave device drivers will connect to.
91 /* Create the smbus child */
92 sc->smbus = device_add_child(dev, "smbus", DEVICE_UNIT_ANY);
93 if (sc->smbus == NULL) {
95 device_printf(dev, "Child smbus not added\n");
100 /* Attach the smbus child. */
121 device_set_desc(dev, "iMC SMBus controller");
127 * function to quiesce / restart firmware tasks which might use the SMBus.
138 * Tell's the rest of the SMBus subsystem to allow or disallow waiting;
181 * The SMBus address of the target device.
184 * The SMBus command for the target device; this is the offset for SPDs,
205 * The SMBus address of the target device.
208 * The SMBus command for the target device; this is the offset for SPDs,
229 * The SMBus address of the target device.
232 * The SMBus command for the target device; this is the offset for SPDs,
253 * The SMBus address of the target device.
256 * The SMBus command for the target device; this is the offset for SPDs,
271 * SMBus controller.
278 * The SMBus address of the target device.
281 * The SMBus command for the target device; this is the offset for SPDs,
375 * endianness for word operations on I2C vs SMBus!
403 * as this is the maximum time the SMBus spec allows for a transaction.
420 * starts the SMBus command.
503 /* smbus methods */
520 MODULE_DEPEND(imcsmb, smbus, SMBUS_MINVER, SMBUS_PREFVER, SMBUS_MAXVER);
523 DRIVER_MODULE(smbus, imcsmb, smbus_driver, 0, 0);