Searched refs:bmp388_bus (Results 1 – 3 of 3) sorted by relevance
16 static int bmp388_bus_check_i2c(const union bmp388_bus *bus) in bmp388_bus_check_i2c()21 static int bmp388_reg_read_i2c(const union bmp388_bus *bus, in bmp388_reg_read_i2c()27 static int bmp388_reg_write_i2c(const union bmp388_bus *bus, in bmp388_reg_write_i2c()
20 static int bmp388_bus_check_spi(const union bmp388_bus *bus) in bmp388_bus_check_spi()25 static int bmp388_reg_read_spi(const union bmp388_bus *bus, uint8_t regaddr, uint8_t *buf, int size) in bmp388_reg_read_spi()57 static int bmp388_reg_write_spi(const union bmp388_bus *bus, in bmp388_reg_write_spi()
40 union bmp388_bus { union49 typedef int (*bmp388_bus_check_fn)(const union bmp388_bus *bus);50 typedef int (*bmp388_reg_read_fn)(const union bmp388_bus *bus,52 typedef int (*bmp388_reg_write_fn)(const union bmp388_bus *bus,178 union bmp388_bus bus;