Lines Matching refs:sch_adapter
48 static struct i2c_adapter sch_adapter; variable
64 dev_dbg(&sch_adapter.dev, "Transaction (pre): CNT=%02x, CMD=%02x, " in sch_transaction()
74 dev_dbg(&sch_adapter.dev, "Completion (%02x). " in sch_transaction()
78 dev_dbg(&sch_adapter.dev, "SMBus error (%02x). " in sch_transaction()
84 dev_err(&sch_adapter.dev, in sch_transaction()
100 dev_err(&sch_adapter.dev, "SMBus Timeout!\n"); in sch_transaction()
104 dev_dbg(&sch_adapter.dev, "Bus collision! SMBus may be " in sch_transaction()
109 dev_err(&sch_adapter.dev, "Error: no response!\n"); in sch_transaction()
111 dev_dbg(&sch_adapter.dev, "Post complete!\n"); in sch_transaction()
116 dev_dbg(&sch_adapter.dev, "Failed reset at end of " in sch_transaction()
121 dev_dbg(&sch_adapter.dev, "No such address.\n"); in sch_transaction()
123 dev_dbg(&sch_adapter.dev, "Transaction (post): CNT=%02x, CMD=%02x, " in sch_transaction()
146 dev_dbg(&sch_adapter.dev, "SMBus busy (%02x)\n", temp); in sch_access()
157 dev_notice(&sch_adapter.dev, in sch_access()
162 dev_dbg(&sch_adapter.dev, "access size: %d %s\n", size, in sch_access()
208 dev_dbg(&sch_adapter.dev, "write size %d to 0x%04x\n", size, SMBHSTCNT); in sch_access()
249 static struct i2c_adapter sch_adapter = { variable
276 sch_adapter.dev.parent = &dev->dev; in smbus_sch_probe()
278 snprintf(sch_adapter.name, sizeof(sch_adapter.name), in smbus_sch_probe()
281 retval = i2c_add_adapter(&sch_adapter); in smbus_sch_probe()
291 i2c_del_adapter(&sch_adapter); in smbus_sch_remove()