Searched refs:bmi270_bus (Results 1 – 3 of 3) sorted by relevance
13 static int bmi270_bus_check_i2c(const union bmi270_bus *bus) in bmi270_bus_check_i2c()18 static int bmi270_reg_read_i2c(const union bmi270_bus *bus, in bmi270_reg_read_i2c()24 static int bmi270_reg_write_i2c(const union bmi270_bus *bus, uint8_t start, in bmi270_reg_write_i2c()30 static int bmi270_bus_init_i2c(const union bmi270_bus *bus) in bmi270_bus_init_i2c()
17 static int bmi270_bus_check_spi(const union bmi270_bus *bus) in bmi270_bus_check_spi()22 static int bmi270_reg_read_spi(const union bmi270_bus *bus, in bmi270_reg_read_spi()60 static int bmi270_reg_write_spi(const union bmi270_bus *bus, uint8_t start, in bmi270_reg_write_spi()86 static int bmi270_bus_init_spi(const union bmi270_bus *bus) in bmi270_bus_init_spi()
304 union bmi270_bus { union313 typedef int (*bmi270_bus_check_fn)(const union bmi270_bus *bus);314 typedef int (*bmi270_bus_init_fn)(const union bmi270_bus *bus);315 typedef int (*bmi270_reg_read_fn)(const union bmi270_bus *bus,319 typedef int (*bmi270_reg_write_fn)(const union bmi270_bus *bus,332 union bmi270_bus bus;