Home
last modified time | relevance | path

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

12

/linux/drivers/iio/magnetometer/
H A Dhid-sensor-magn-3d.c143 int ret_type; in magn_3d_read_raw() local
169 ret_type = IIO_VAL_INT; in magn_3d_read_raw()
176 ret_type = magn_state->magn_flux_attr.scale_precision; in magn_3d_read_raw()
181 ret_type = magn_state->rot_attr.scale_precision; in magn_3d_read_raw()
184 ret_type = -EINVAL; in magn_3d_read_raw()
191 ret_type = IIO_VAL_INT; in magn_3d_read_raw()
195 ret_type = IIO_VAL_INT; in magn_3d_read_raw()
198 ret_type = -EINVAL; in magn_3d_read_raw()
202 ret_type = hid_sensor_read_samp_freq_value( in magn_3d_read_raw()
208 ret_type = hid_sensor_read_raw_hyst_value( in magn_3d_read_raw()
[all …]
/linux/drivers/iio/orientation/
H A Dhid-sensor-rotation.c94 int ret_type; in dev_rot_read_raw() local
108 ret_type = sensor_hub_input_attr_read_values(hsdev, in dev_rot_read_raw()
118 if (ret_type < 0) in dev_rot_read_raw()
119 return ret_type; in dev_rot_read_raw()
134 ret_type = IIO_VAL_INT_MULTIPLE; in dev_rot_read_raw()
137 ret_type = -EINVAL; in dev_rot_read_raw()
149 ret_type = hid_sensor_read_samp_freq_value( in dev_rot_read_raw()
153 ret_type = hid_sensor_read_raw_hyst_value( in dev_rot_read_raw()
157 ret_type = -EINVAL; in dev_rot_read_raw()
161 return ret_type; in dev_rot_read_raw()
H A Dhid-sensor-incl-3d.c105 int ret_type; in incl_3d_read_raw() local
129 ret_type = IIO_VAL_INT; in incl_3d_read_raw()
134 ret_type = incl_state->scale_precision; in incl_3d_read_raw()
138 ret_type = IIO_VAL_INT; in incl_3d_read_raw()
141 ret_type = hid_sensor_read_samp_freq_value( in incl_3d_read_raw()
145 ret_type = hid_sensor_read_raw_hyst_value( in incl_3d_read_raw()
149 ret_type = -EINVAL; in incl_3d_read_raw()
153 return ret_type; in incl_3d_read_raw()
/linux/drivers/iio/pressure/
H A Dhid-sensor-press.c64 int ret_type; in press_read_raw() local
96 ret_type = IIO_VAL_INT; in press_read_raw()
101 ret_type = press_state->scale_precision; in press_read_raw()
105 ret_type = IIO_VAL_INT; in press_read_raw()
108 ret_type = hid_sensor_read_samp_freq_value( in press_read_raw()
112 ret_type = hid_sensor_read_raw_hyst_value( in press_read_raw()
116 ret_type = -EINVAL; in press_read_raw()
120 return ret_type; in press_read_raw()
/linux/drivers/iio/light/
H A Dhid-sensor-prox.c79 int ret_type; in prox_read_raw() local
104 ret_type = IIO_VAL_INT; in prox_read_raw()
112 ret_type = prox_state->scale_precision[chan->scan_index]; in prox_read_raw()
116 ret_type = IIO_VAL_INT; in prox_read_raw()
119 ret_type = hid_sensor_read_samp_freq_value( in prox_read_raw()
123 ret_type = hid_sensor_read_raw_hyst_value( in prox_read_raw()
127 ret_type = -EINVAL; in prox_read_raw()
131 return ret_type; in prox_read_raw()
H A Dhid-sensor-als.c129 int ret_type; in als_read_raw() local
174 ret_type = IIO_VAL_INT; in als_read_raw()
181 ret_type = als_state->scale_precision[chan->scan_index]; in als_read_raw()
185 ret_type = IIO_VAL_INT; in als_read_raw()
188 ret_type = hid_sensor_read_samp_freq_value( in als_read_raw()
192 ret_type = hid_sensor_read_raw_hyst_value( in als_read_raw()
196 ret_type = hid_sensor_read_raw_hyst_rel_value( in als_read_raw()
200 ret_type = -EINVAL; in als_read_raw()
204 return ret_type; in als_read_raw()
/linux/drivers/iio/gyro/
H A Dhid-sensor-gyro-3d.c93 int ret_type; in gyro_3d_read_raw() local
117 ret_type = IIO_VAL_INT; in gyro_3d_read_raw()
122 ret_type = gyro_state->scale_precision; in gyro_3d_read_raw()
126 ret_type = IIO_VAL_INT; in gyro_3d_read_raw()
129 ret_type = hid_sensor_read_samp_freq_value( in gyro_3d_read_raw()
133 ret_type = hid_sensor_read_raw_hyst_value( in gyro_3d_read_raw()
137 ret_type = -EINVAL; in gyro_3d_read_raw()
141 return ret_type; in gyro_3d_read_raw()
/linux/drivers/acpi/acpica/
H 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()
/linux/arch/x86/mm/pat/
H A Dmemtype_interval.c90 int memtype_check_insert(struct memtype *entry_new, enum page_cache_mode *ret_type) in memtype_check_insert() argument
94 err = memtype_check_conflict(entry_new->start, entry_new->end, entry_new->type, ret_type); in memtype_check_insert()
98 if (ret_type) in memtype_check_insert()
99 entry_new->type = *ret_type; in memtype_check_insert()
/linux/drivers/iio/accel/
H A Dhid-sensor-accel-3d.c130 int ret_type; in accel_3d_read_raw() local
156 ret_type = IIO_VAL_INT; in accel_3d_read_raw()
161 ret_type = accel_state->scale_precision; in accel_3d_read_raw()
165 ret_type = IIO_VAL_INT; in accel_3d_read_raw()
168 ret_type = hid_sensor_read_samp_freq_value( in accel_3d_read_raw()
172 ret_type = hid_sensor_read_raw_hyst_value( in accel_3d_read_raw()
176 ret_type = -EINVAL; in accel_3d_read_raw()
180 return ret_type; in accel_3d_read_raw()
/linux/kernel/trace/
H A Dbpf_trace.c196 .ret_type = RET_INTEGER,
222 .ret_type = RET_INTEGER,
259 .ret_type = RET_INTEGER,
274 .ret_type = RET_INTEGER,
309 .ret_type = RET_INTEGER,
329 .ret_type = RET_INTEGER,
348 .ret_type = RET_INTEGER,
383 .ret_type = RET_INTEGER,
419 .ret_type = RET_INTEGER,
475 .ret_type = RET_INTEGER,
[all …]
/linux/net/core/
H A Dfilter.c1747 .ret_type = RET_INTEGER,
1784 .ret_type = RET_INTEGER,
1823 .ret_type = RET_INTEGER,
1867 .ret_type = RET_INTEGER,
1892 .ret_type = RET_INTEGER,
1905 .ret_type = RET_PTR_TO_SOCKET_OR_NULL,
1932 .ret_type = RET_INTEGER,
1973 .ret_type = RET_INTEGER,
2027 .ret_type = RET_INTEGER,
2065 .ret_type = RET_INTEGER,
[all …]
H A Dbpf_sk_storage.c332 .ret_type = RET_PTR_TO_MAP_VALUE_OR_NULL,
342 .ret_type = RET_PTR_TO_MAP_VALUE_OR_NULL,
352 .ret_type = RET_INTEGER,
406 .ret_type = RET_PTR_TO_MAP_VALUE_OR_NULL,
418 .ret_type = RET_INTEGER,
/linux/kernel/bpf/
H A Dringbuf.c553 .ret_type = RET_PTR_TO_RINGBUF_MEM_OR_NULL,
595 .ret_type = RET_VOID,
608 .ret_type = RET_VOID,
634 .ret_type = RET_INTEGER,
665 .ret_type = RET_INTEGER,
703 .ret_type = RET_INTEGER,
724 .ret_type = RET_VOID,
743 .ret_type = RET_VOID,
875 .ret_type = RET_INTEGER,
H A Dhelpers.c54 .ret_type = RET_PTR_TO_MAP_VALUE_OR_NULL,
70 .ret_type = RET_INTEGER,
87 .ret_type = RET_INTEGER,
101 .ret_type = RET_INTEGER,
115 .ret_type = RET_INTEGER,
128 .ret_type = RET_INTEGER,
143 .ret_type = RET_PTR_TO_MAP_VALUE_OR_NULL,
152 .ret_type = RET_INTEGER,
163 .ret_type = RET_INTEGER,
175 .ret_type = RET_INTEGER,
[all …]
H A Dbpf_lsm.c163 .ret_type = RET_INTEGER,
185 .ret_type = RET_INTEGER,
204 .ret_type = RET_INTEGER,
223 .ret_type = RET_INTEGER,
H A Dcheck_btf.c137 const struct btf_type *type, *func_proto, *ret_type; in check_btf_func() local
186 ret_type = btf_type_skip_modifiers(btf, func_proto->type, NULL); in check_btf_func()
188 btf_type_is_small_int(ret_type) || btf_is_any_enum(ret_type); in check_btf_func()
H A Dbpf_inode_storage.c218 .ret_type = RET_PTR_TO_MAP_VALUE_OR_NULL,
229 .ret_type = RET_INTEGER,
H A Dstackmap.c665 .ret_type = RET_INTEGER,
739 .ret_type = RET_INTEGER,
862 .ret_type = RET_INTEGER,
879 .ret_type = RET_INTEGER,
915 .ret_type = RET_INTEGER,
933 .ret_type = RET_INTEGER,
1016 .ret_type = RET_INTEGER,
H A Dcgroup.c1841 .ret_type = RET_PTR_TO_MAP_VALUE,
1857 .ret_type = RET_INTEGER,
1872 .ret_type = RET_INTEGER,
2330 .ret_type = RET_INTEGER,
2372 .ret_type = RET_INTEGER,
2392 .ret_type = RET_INTEGER,
2418 .ret_type = RET_INTEGER,
2562 .ret_type = RET_INTEGER,
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dtable.h29 u8 *ret_type) in mlx5hws_table_get_fw_ft_type() argument
34 *ret_type = FS_FT_FDB; in mlx5hws_table_get_fw_ft_type()
/linux/tools/testing/selftests/bpf/
H A Dtest_btf.h63 #define BTF_FUNC_PROTO_ENC(ret_type, nargs) \ argument
64 BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_FUNC_PROTO, 0, nargs), ret_type)
/linux/drivers/media/rc/
H A Dbpf-lirc.c34 .ret_type = RET_INTEGER,
53 .ret_type = RET_INTEGER,
76 .ret_type = RET_INTEGER,
/linux/arch/x86/kvm/vmx/
H A Dvmx.h450 #define BUILD_VMX_MSR_BITMAP_HELPERS(ret_type, action, bitop) \ argument
451 __BUILD_VMX_MSR_BITMAP_HELPER(ret_type, action, bitop, read, 0x0) \
452 __BUILD_VMX_MSR_BITMAP_HELPER(ret_type, action, bitop, write, 0x800)
/linux/drivers/net/can/usb/etas_es58x/
H 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()

12