Bosch BMI160 SPI driver

modulename: bmi160_spi.ko
configname: CONFIG_BMI160_SPI

Linux Kernel Configuration
└─> Device Drivers
└─> Industrial I/O support
└─> Inertial measurement units
└─> SPI support
└─> Bosch BMI160 SPI driver

In linux kernel since version 4.1 (release Date: 2015-06-21)  

If you say yes here you get support for BMI160 IMU on SPI with
accelerometer, gyroscope and external BMG160 magnetometer.

This driver can also be built as a module. If so, the module will be
called bmi160_spi.

source code: