Lines Matching refs:sch_adapter
56 static struct i2c_adapter sch_adapter; variable
72 dev_dbg(&sch_adapter.dev, "Transaction (pre): CNT=%02x, CMD=%02x, " in sch_transaction()
82 dev_dbg(&sch_adapter.dev, "Completion (%02x). " in sch_transaction()
86 dev_dbg(&sch_adapter.dev, "SMBus error (%02x). " in sch_transaction()
92 dev_err(&sch_adapter.dev, in sch_transaction()
108 dev_err(&sch_adapter.dev, "SMBus Timeout!\n"); in sch_transaction()
113 dev_dbg(&sch_adapter.dev, "Bus collision! SMBus may be " in sch_transaction()
118 dev_err(&sch_adapter.dev, "Error: no response!\n"); in sch_transaction()
120 dev_dbg(&sch_adapter.dev, "Post complete!\n"); in sch_transaction()
125 dev_dbg(&sch_adapter.dev, "Failed reset at end of " in sch_transaction()
130 dev_dbg(&sch_adapter.dev, "No such address.\n"); in sch_transaction()
132 dev_dbg(&sch_adapter.dev, "Transaction (post): CNT=%02x, CMD=%02x, " in sch_transaction()
155 dev_dbg(&sch_adapter.dev, "SMBus busy (%02x)\n", temp); in sch_access()
166 dev_notice(&sch_adapter.dev, in sch_access()
171 dev_dbg(&sch_adapter.dev, "access size: %d %s\n", size, in sch_access()
217 dev_dbg(&sch_adapter.dev, "write size %d to 0x%04x\n", size, SMBHSTCNT); in sch_access()
258 static struct i2c_adapter sch_adapter = { variable
285 sch_adapter.dev.parent = &dev->dev; in smbus_sch_probe()
287 snprintf(sch_adapter.name, sizeof(sch_adapter.name), in smbus_sch_probe()
290 retval = i2c_add_adapter(&sch_adapter); in smbus_sch_probe()
300 i2c_del_adapter(&sch_adapter); in smbus_sch_remove()