Lines Matching refs:s
10 int icm42670_apex_enable(inv_imu_device_t *s) in icm42670_apex_enable() argument
17 err |= inv_imu_configure_fifo(s, INV_IMU_FIFO_DISABLED); in icm42670_apex_enable()
24 err |= inv_imu_set_config_int1(s, &config_int); in icm42670_apex_enable()
27 err |= inv_imu_set_accel_frequency(s, ACCEL_CONFIG0_ODR_50_HZ); in icm42670_apex_enable()
30 err |= inv_imu_set_accel_lp_avg(s, ACCEL_CONFIG1_ACCEL_FILT_AVG_2); in icm42670_apex_enable()
31 err |= inv_imu_enable_accel_low_power_mode(s); in icm42670_apex_enable()
34 err |= inv_imu_apex_init_parameters_struct(s, &apex_inputs); in icm42670_apex_enable()
42 err |= inv_imu_apex_configure_parameters(s, &apex_inputs); in icm42670_apex_enable()
45 err |= inv_imu_apex_set_frequency(s, APEX_CONFIG1_DMP_ODR_50Hz); in icm42670_apex_enable()
118 int icm42670_apex_enable_pedometer(const struct device *dev, inv_imu_device_t *s) in icm42670_apex_enable_pedometer() argument
124 return inv_imu_apex_enable_pedometer(s); in icm42670_apex_enable_pedometer()
127 int icm42670_apex_enable_tilt(inv_imu_device_t *s) in icm42670_apex_enable_tilt() argument
130 return inv_imu_apex_enable_tilt(s); in icm42670_apex_enable_tilt()
133 int icm42670_apex_enable_smd(inv_imu_device_t *s) in icm42670_apex_enable_smd() argument
138 rc |= inv_imu_apex_enable_pedometer(s); in icm42670_apex_enable_smd()
139 rc |= inv_imu_apex_enable_smd(s); in icm42670_apex_enable_smd()
144 int icm42670_apex_enable_wom(inv_imu_device_t *s) in icm42670_apex_enable_wom() argument
156 rc |= inv_imu_configure_fifo(s, INV_IMU_FIFO_DISABLED); in icm42670_apex_enable_wom()
161 rc |= inv_imu_set_config_int1(s, &config_int); in icm42670_apex_enable_wom()
163 rc |= inv_imu_set_accel_lp_avg(s, ACCEL_CONFIG1_ACCEL_FILT_AVG_2); in icm42670_apex_enable_wom()
164 rc |= inv_imu_set_accel_frequency(s, ACCEL_CONFIG0_ODR_12_5_HZ); in icm42670_apex_enable_wom()
165 rc |= inv_imu_enable_accel_low_power_mode(s); in icm42670_apex_enable_wom()
172 rc |= inv_imu_configure_wom(s, 50, 50, 50, WOM_CONFIG_WOM_INT_MODE_ORED, in icm42670_apex_enable_wom()
174 rc |= inv_imu_enable_wom(s); in icm42670_apex_enable_wom()