Home
last modified time | relevance | path

Searched refs:ret_type (Results 1 – 9 of 9) sorted by relevance

/drivers/iio/light/
Dhid-sensor-prox.c75 int ret_type; in prox_read_raw() local
105 ret_type = IIO_VAL_INT; in prox_read_raw()
109 ret_type = IIO_VAL_INT; in prox_read_raw()
114 ret_type = IIO_VAL_INT; in prox_read_raw()
117 ret_type = hid_sensor_read_samp_freq_value( in prox_read_raw()
121 ret_type = hid_sensor_read_raw_hyst_value( in prox_read_raw()
125 ret_type = -EINVAL; in prox_read_raw()
129 return ret_type; in prox_read_raw()
Dhid-sensor-als.c82 int ret_type; in als_read_raw() local
112 ret_type = IIO_VAL_INT; in als_read_raw()
117 ret_type = als_state->scale_precision; in als_read_raw()
121 ret_type = IIO_VAL_INT; in als_read_raw()
124 ret_type = hid_sensor_read_samp_freq_value( in als_read_raw()
128 ret_type = hid_sensor_read_raw_hyst_value( in als_read_raw()
132 ret_type = -EINVAL; in als_read_raw()
136 return ret_type; in als_read_raw()
/drivers/iio/pressure/
Dhid-sensor-press.c79 int ret_type; in press_read_raw() local
109 ret_type = IIO_VAL_INT; in press_read_raw()
114 ret_type = press_state->scale_precision; in press_read_raw()
118 ret_type = IIO_VAL_INT; in press_read_raw()
121 ret_type = hid_sensor_read_samp_freq_value( in press_read_raw()
125 ret_type = hid_sensor_read_raw_hyst_value( in press_read_raw()
129 ret_type = -EINVAL; in press_read_raw()
133 return ret_type; in press_read_raw()
/drivers/iio/orientation/
Dhid-sensor-rotation.c67 int ret_type; in dev_rot_read_raw() local
78 ret_type = IIO_VAL_INT_MULTIPLE; in dev_rot_read_raw()
81 ret_type = -EINVAL; in dev_rot_read_raw()
84 ret_type = hid_sensor_read_samp_freq_value( in dev_rot_read_raw()
88 ret_type = hid_sensor_read_raw_hyst_value( in dev_rot_read_raw()
92 ret_type = -EINVAL; in dev_rot_read_raw()
96 return ret_type; in dev_rot_read_raw()
Dhid-sensor-incl-3d.c113 int ret_type; in incl_3d_read_raw() local
135 ret_type = IIO_VAL_INT; in incl_3d_read_raw()
140 ret_type = incl_state->scale_precision; in incl_3d_read_raw()
144 ret_type = IIO_VAL_INT; in incl_3d_read_raw()
147 ret_type = hid_sensor_read_samp_freq_value( in incl_3d_read_raw()
151 ret_type = hid_sensor_read_raw_hyst_value( in incl_3d_read_raw()
155 ret_type = -EINVAL; in incl_3d_read_raw()
159 return ret_type; in incl_3d_read_raw()
/drivers/acpi/acpica/
Dnsxfobj.c66 acpi_status acpi_get_type(acpi_handle handle, acpi_object_type *ret_type) in acpi_get_type() argument
73 if (!ret_type) { in acpi_get_type()
80 *ret_type = ACPI_TYPE_ANY; in acpi_get_type()
97 *ret_type = node->type; in acpi_get_type()
/drivers/iio/accel/
Dhid-sensor-accel-3d.c113 int ret_type; in accel_3d_read_raw() local
135 ret_type = IIO_VAL_INT; in accel_3d_read_raw()
140 ret_type = accel_state->scale_precision; in accel_3d_read_raw()
144 ret_type = IIO_VAL_INT; in accel_3d_read_raw()
147 ret_type = hid_sensor_read_samp_freq_value( in accel_3d_read_raw()
151 ret_type = hid_sensor_read_raw_hyst_value( in accel_3d_read_raw()
155 ret_type = -EINVAL; in accel_3d_read_raw()
159 return ret_type; in accel_3d_read_raw()
/drivers/iio/gyro/
Dhid-sensor-gyro-3d.c113 int ret_type; in gyro_3d_read_raw() local
135 ret_type = IIO_VAL_INT; in gyro_3d_read_raw()
140 ret_type = gyro_state->scale_precision; in gyro_3d_read_raw()
144 ret_type = IIO_VAL_INT; in gyro_3d_read_raw()
147 ret_type = hid_sensor_read_samp_freq_value( in gyro_3d_read_raw()
151 ret_type = hid_sensor_read_raw_hyst_value( in gyro_3d_read_raw()
155 ret_type = -EINVAL; in gyro_3d_read_raw()
159 return ret_type; in gyro_3d_read_raw()
/drivers/iio/magnetometer/
Dhid-sensor-magn-3d.c159 int ret_type; in magn_3d_read_raw() local
182 ret_type = IIO_VAL_INT; in magn_3d_read_raw()
187 ret_type = magn_state->scale_precision; in magn_3d_read_raw()
191 ret_type = IIO_VAL_INT; in magn_3d_read_raw()
194 ret_type = hid_sensor_read_samp_freq_value( in magn_3d_read_raw()
198 ret_type = hid_sensor_read_raw_hyst_value( in magn_3d_read_raw()
202 ret_type = -EINVAL; in magn_3d_read_raw()
206 return ret_type; in magn_3d_read_raw()