Home
last modified time | relevance | path

Searched refs:ts_nbus (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/bus/
H A Dts-nbus.c28 struct ts_nbus { struct
43 *ts_nbus) in ts_nbus_init_pdata()
108 static void ts_nbus_reset_bus(struct ts_nbus *ts_nbus) in ts_nbus_reset_bus() argument
124 static void ts_nbus_start_transaction(struct ts_nbus *ts_nbus) in ts_nbus_start_transaction() argument
168 static int ts_nbus_read_bus(struct ts_nbus *ts_nbus, u8 *val) in ts_nbus_read_bus() argument
196 int ts_nbus_read(struct ts_nbus *ts_nbus, u8 adr, u16 *val) in ts_nbus_read() argument
243 int ts_nbus_write(struct ts_nbus *ts_nbus, u8 adr, u16 val) in ts_nbus_write() argument
278 struct ts_nbus *ts_nbus; in ts_nbus_probe() local
281 ts_nbus = devm_kzalloc(dev, sizeof(*ts_nbus), GFP_KERNEL); in ts_nbus_probe()
282 if (!ts_nbus) in ts_nbus_probe()
[all …]
/openbmc/linux/include/linux/
H A Dts-nbus.h13 struct ts_nbus;
15 extern int ts_nbus_read(struct ts_nbus *ts_nbus, u8 adr, u16 *val);
16 extern int ts_nbus_write(struct ts_nbus *ts_nbus, u8 adr, u16 val);