Lines Matching refs:gpio_desc
34 struct gpio_desc gpios[PIN_COUNT];
37 static int i2c_gpio_sda_get(struct gpio_desc *sda) in i2c_gpio_sda_get()
42 static void i2c_gpio_sda_set(struct gpio_desc *sda, int bit) in i2c_gpio_sda_set()
50 static void i2c_gpio_scl_set(struct gpio_desc *scl, int bit) in i2c_gpio_scl_set()
59 static void i2c_gpio_write_bit(struct gpio_desc *scl, struct gpio_desc *sda, in i2c_gpio_write_bit()
70 static int i2c_gpio_read_bit(struct gpio_desc *scl, struct gpio_desc *sda, in i2c_gpio_read_bit()
86 static void i2c_gpio_send_start(struct gpio_desc *scl, struct gpio_desc *sda, in i2c_gpio_send_start()
99 static void i2c_gpio_send_stop(struct gpio_desc *scl, struct gpio_desc *sda, in i2c_gpio_send_stop()
113 static void i2c_gpio_send_ack(struct gpio_desc *scl, struct gpio_desc *sda, in i2c_gpio_send_ack()
126 static void i2c_gpio_send_reset(struct gpio_desc *scl, struct gpio_desc *sda, in i2c_gpio_send_reset()
138 static void i2c_gpio_sda_high(struct gpio_desc *scl, struct gpio_desc *sda, in i2c_gpio_sda_high()
148 static int i2c_gpio_write_byte(struct gpio_desc *scl, struct gpio_desc *sda, in i2c_gpio_write_byte()
172 static uchar i2c_gpio_read_byte(struct gpio_desc *scl, struct gpio_desc *sda, in i2c_gpio_read_byte()
190 int i2c_send_slave_addr(struct gpio_desc *scl, struct gpio_desc *sda, int delay, in i2c_send_slave_addr()
207 struct gpio_desc *scl = &bus->gpios[PIN_SCL]; in i2c_gpio_write_data()
208 struct gpio_desc *sda = &bus->gpios[PIN_SDA]; in i2c_gpio_write_data()
240 struct gpio_desc *scl = &bus->gpios[PIN_SCL]; in i2c_gpio_read_data()
241 struct gpio_desc *sda = &bus->gpios[PIN_SDA]; in i2c_gpio_read_data()
280 struct gpio_desc *scl = &bus->gpios[PIN_SCL]; in i2c_gpio_probe()
281 struct gpio_desc *sda = &bus->gpios[PIN_SDA]; in i2c_gpio_probe()
298 struct gpio_desc *scl = &bus->gpios[PIN_SCL]; in i2c_gpio_set_bus_speed()
299 struct gpio_desc *sda = &bus->gpios[PIN_SDA]; in i2c_gpio_set_bus_speed()