Home
last modified time | relevance | path

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

/drivers/iio/magnetometer/
A Dhid-sensor-magn-3d.c155 int ret_type; in magn_3d_read_raw() local
182 ret_type = IIO_VAL_INT; in magn_3d_read_raw()
197 ret_type = -EINVAL; in magn_3d_read_raw()
204 ret_type = IIO_VAL_INT; in magn_3d_read_raw()
208 ret_type = IIO_VAL_INT; in magn_3d_read_raw()
211 ret_type = -EINVAL; in magn_3d_read_raw()
215 ret_type = hid_sensor_read_samp_freq_value( in magn_3d_read_raw()
221 ret_type = hid_sensor_read_raw_hyst_value( in magn_3d_read_raw()
229 ret_type = -EINVAL; in magn_3d_read_raw()
233 ret_type = -EINVAL; in magn_3d_read_raw()
[all …]
/drivers/iio/pressure/
A Dhid-sensor-press.c76 int ret_type; in press_read_raw() local
108 ret_type = IIO_VAL_INT; in press_read_raw()
113 ret_type = press_state->scale_precision; in press_read_raw()
117 ret_type = IIO_VAL_INT; in press_read_raw()
120 ret_type = hid_sensor_read_samp_freq_value( in press_read_raw()
124 ret_type = hid_sensor_read_raw_hyst_value( in press_read_raw()
128 ret_type = -EINVAL; in press_read_raw()
132 return ret_type; in press_read_raw()
/drivers/iio/gyro/
A Dhid-sensor-gyro-3d.c105 int ret_type; in gyro_3d_read_raw() local
130 ret_type = IIO_VAL_INT; in gyro_3d_read_raw()
135 ret_type = gyro_state->scale_precision; in gyro_3d_read_raw()
139 ret_type = IIO_VAL_INT; in gyro_3d_read_raw()
142 ret_type = hid_sensor_read_samp_freq_value( in gyro_3d_read_raw()
146 ret_type = hid_sensor_read_raw_hyst_value( in gyro_3d_read_raw()
150 ret_type = -EINVAL; in gyro_3d_read_raw()
154 return ret_type; in gyro_3d_read_raw()
/drivers/iio/light/
A Dhid-sensor-prox.c91 int ret_type; in prox_read_raw() local
116 ret_type = IIO_VAL_INT; in prox_read_raw()
124 ret_type = prox_state->scale_precision[chan->scan_index]; in prox_read_raw()
128 ret_type = IIO_VAL_INT; in prox_read_raw()
131 ret_type = hid_sensor_read_samp_freq_value( in prox_read_raw()
135 ret_type = hid_sensor_read_raw_hyst_value( in prox_read_raw()
139 ret_type = -EINVAL; in prox_read_raw()
143 return ret_type; in prox_read_raw()
A Dhid-sensor-als.c141 int ret_type; in als_read_raw() local
186 ret_type = IIO_VAL_INT; in als_read_raw()
191 ret_type = als_state->scale_precision; in als_read_raw()
195 ret_type = IIO_VAL_INT; in als_read_raw()
198 ret_type = hid_sensor_read_samp_freq_value( in als_read_raw()
202 ret_type = hid_sensor_read_raw_hyst_value( in als_read_raw()
206 ret_type = hid_sensor_read_raw_hyst_rel_value( in als_read_raw()
210 ret_type = -EINVAL; in als_read_raw()
214 return ret_type; in als_read_raw()
/drivers/iio/orientation/
A Dhid-sensor-incl-3d.c108 int ret_type; in incl_3d_read_raw() local
132 ret_type = IIO_VAL_INT; in incl_3d_read_raw()
137 ret_type = incl_state->scale_precision; in incl_3d_read_raw()
141 ret_type = IIO_VAL_INT; in incl_3d_read_raw()
144 ret_type = hid_sensor_read_samp_freq_value( in incl_3d_read_raw()
148 ret_type = hid_sensor_read_raw_hyst_value( in incl_3d_read_raw()
152 ret_type = -EINVAL; in incl_3d_read_raw()
156 return ret_type; in incl_3d_read_raw()
A Dhid-sensor-rotation.c72 int ret_type; in dev_rot_read_raw() local
83 ret_type = IIO_VAL_INT_MULTIPLE; in dev_rot_read_raw()
86 ret_type = -EINVAL; in dev_rot_read_raw()
98 ret_type = hid_sensor_read_samp_freq_value( in dev_rot_read_raw()
102 ret_type = hid_sensor_read_raw_hyst_value( in dev_rot_read_raw()
106 ret_type = -EINVAL; in dev_rot_read_raw()
110 return ret_type; in dev_rot_read_raw()
/drivers/acpi/acpica/
A Dnsxfobj.c31 acpi_status acpi_get_type(acpi_handle handle, acpi_object_type *ret_type) in acpi_get_type() argument
38 if (!ret_type) { in acpi_get_type()
45 *ret_type = ACPI_TYPE_ANY; in acpi_get_type()
62 *ret_type = node->type; in acpi_get_type()
/drivers/iio/accel/
A Dhid-sensor-accel-3d.c142 int ret_type; in accel_3d_read_raw() local
168 ret_type = IIO_VAL_INT; in accel_3d_read_raw()
173 ret_type = accel_state->scale_precision; in accel_3d_read_raw()
177 ret_type = IIO_VAL_INT; in accel_3d_read_raw()
180 ret_type = hid_sensor_read_samp_freq_value( in accel_3d_read_raw()
184 ret_type = hid_sensor_read_raw_hyst_value( in accel_3d_read_raw()
188 ret_type = -EINVAL; in accel_3d_read_raw()
192 return ret_type; in accel_3d_read_raw()
/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
A Dtable.h28 u8 *ret_type) in mlx5hws_table_get_fw_ft_type() argument
33 *ret_type = FS_FT_FDB; in mlx5hws_table_get_fw_ft_type()
/drivers/media/rc/
A Dbpf-lirc.c34 .ret_type = RET_INTEGER,
53 .ret_type = RET_INTEGER,
76 .ret_type = RET_INTEGER,
/drivers/net/can/usb/etas_es58x/
A Des581_4.c176 enum es58x_ret_type ret_type) in es581_4_rx_cmd_ret_u32() argument
195 return es58x_rx_cmd_ret_u32(netdev, ret_type, in es581_4_rx_cmd_ret_u32()

Completed in 21 milliseconds