Home
last modified time | relevance | path

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

/drivers/gpio/
Dgpio-mc9s08dz60.c48 struct mc9s08dz60 *mc9s = to_mc9s08dz60(gc); in mc9s08dz60_get_value() local
51 value = i2c_smbus_read_byte_data(mc9s->client, reg); in mc9s08dz60_get_value()
56 static int mc9s08dz60_set(struct mc9s08dz60 *mc9s, unsigned offset, int val) in mc9s08dz60_set() argument
62 value = i2c_smbus_read_byte_data(mc9s->client, reg); in mc9s08dz60_set()
69 return i2c_smbus_write_byte_data(mc9s->client, reg, value); in mc9s08dz60_set()
78 struct mc9s08dz60 *mc9s = to_mc9s08dz60(gc); in mc9s08dz60_set_value() local
80 mc9s08dz60_set(mc9s, offset, val); in mc9s08dz60_set_value()
86 struct mc9s08dz60 *mc9s = to_mc9s08dz60(gc); in mc9s08dz60_direction_output() local
88 return mc9s08dz60_set(mc9s, offset, val); in mc9s08dz60_direction_output()
94 struct mc9s08dz60 *mc9s; in mc9s08dz60_probe() local
[all …]