Lines Matching refs:model
873 #define LSM6DSO_DEVICE_INIT(inst, model) \ argument
877 &model##_data_##inst, \
878 &model##_config_##inst, \
914 #define LSM6DSO_CONFIG_SPI(inst, model) \ argument
916 STMEMSC_CTX_SPI(&model##_config_##inst.stmemsc_cfg), \
929 #define LSM6DSO_CONFIG_I2C(inst, model) \ argument
931 STMEMSC_CTX_I2C(&model##_config_##inst.stmemsc_cfg), \
943 #define LSM6DSO_DEFINE(inst, model) \ argument
944 static struct lsm6dso_data model##_data_##inst; \
945 static const struct lsm6dso_config model##_config_##inst = \
947 (LSM6DSO_CONFIG_SPI(inst, model)), \
948 (LSM6DSO_CONFIG_I2C(inst, model))); \
949 LSM6DSO_DEVICE_INIT(inst, model)