Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/iio/magnetometer/
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()
189 ret_type = magn_state->magn_flux_attr.scale_precision; in magn_3d_read_raw()
194 ret_type = magn_state->rot_attr.scale_precision; 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()
[all …]
/linux-6.12.1/drivers/iio/light/
Dhid-sensor-prox.c67 int ret_type; in prox_read_raw() local
97 ret_type = IIO_VAL_INT; in prox_read_raw()
102 ret_type = prox_state->scale_precision; in prox_read_raw()
107 ret_type = IIO_VAL_INT; in prox_read_raw()
110 ret_type = hid_sensor_read_samp_freq_value( in prox_read_raw()
114 ret_type = hid_sensor_read_raw_hyst_value( in prox_read_raw()
118 ret_type = -EINVAL; in prox_read_raw()
122 return ret_type; in prox_read_raw()
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()
/linux-6.12.1/drivers/iio/pressure/
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()
/linux-6.12.1/drivers/iio/gyro/
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()
/linux-6.12.1/drivers/acpi/acpica/
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-6.12.1/kernel/bpf/
Dhelpers.c49 .ret_type = RET_PTR_TO_MAP_VALUE_OR_NULL,
66 .ret_type = RET_INTEGER,
84 .ret_type = RET_INTEGER,
98 .ret_type = RET_INTEGER,
112 .ret_type = RET_INTEGER,
125 .ret_type = RET_INTEGER,
140 .ret_type = RET_PTR_TO_MAP_VALUE_OR_NULL,
149 .ret_type = RET_INTEGER,
160 .ret_type = RET_INTEGER,
172 .ret_type = RET_INTEGER,
[all …]
Dringbuf.c483 .ret_type = RET_PTR_TO_RINGBUF_MEM_OR_NULL,
525 .ret_type = RET_VOID,
538 .ret_type = RET_VOID,
564 .ret_type = RET_INTEGER,
593 .ret_type = RET_INTEGER,
631 .ret_type = RET_INTEGER,
652 .ret_type = RET_VOID,
671 .ret_type = RET_VOID,
803 .ret_type = RET_INTEGER,
Dbpf_task_storage.c339 .ret_type = RET_PTR_TO_MAP_VALUE_OR_NULL,
350 .ret_type = RET_PTR_TO_MAP_VALUE_OR_NULL,
361 .ret_type = RET_INTEGER,
370 .ret_type = RET_INTEGER,
Dstackmap.c330 .ret_type = RET_INTEGER,
399 .ret_type = RET_INTEGER,
505 .ret_type = RET_INTEGER,
521 .ret_type = RET_INTEGER,
554 .ret_type = RET_INTEGER,
571 .ret_type = RET_INTEGER,
635 .ret_type = RET_INTEGER,
Dbpf_lsm.c158 .ret_type = RET_INTEGER,
180 .ret_type = RET_INTEGER,
199 .ret_type = RET_INTEGER,
218 .ret_type = RET_INTEGER,
Dbpf_inode_storage.c214 .ret_type = RET_PTR_TO_MAP_VALUE_OR_NULL,
225 .ret_type = RET_INTEGER,
Dbpf_cgrp_storage.c225 .ret_type = RET_PTR_TO_MAP_VALUE_OR_NULL,
236 .ret_type = RET_INTEGER,
/linux-6.12.1/drivers/iio/orientation/
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()
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()
/linux-6.12.1/drivers/iio/accel/
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()
/linux-6.12.1/arch/x86/mm/pat/
Dmemtype_interval.c116 int memtype_check_insert(struct memtype *entry_new, enum page_cache_mode *ret_type) in memtype_check_insert() argument
120 err = memtype_check_conflict(entry_new->start, entry_new->end, entry_new->type, ret_type); in memtype_check_insert()
124 if (ret_type) in memtype_check_insert()
125 entry_new->type = *ret_type; in memtype_check_insert()
/linux-6.12.1/kernel/trace/
Dbpf_trace.c167 .ret_type = RET_INTEGER,
193 .ret_type = RET_INTEGER,
230 .ret_type = RET_INTEGER,
245 .ret_type = RET_INTEGER,
280 .ret_type = RET_INTEGER,
300 .ret_type = RET_INTEGER,
319 .ret_type = RET_INTEGER,
354 .ret_type = RET_INTEGER,
401 .ret_type = RET_INTEGER,
456 .ret_type = RET_INTEGER,
[all …]
/linux-6.12.1/net/core/
Dfilter.c1735 .ret_type = RET_INTEGER,
1772 .ret_type = RET_INTEGER,
1811 .ret_type = RET_INTEGER,
1855 .ret_type = RET_INTEGER,
1880 .ret_type = RET_INTEGER,
1893 .ret_type = RET_PTR_TO_SOCKET_OR_NULL,
1920 .ret_type = RET_INTEGER,
1961 .ret_type = RET_INTEGER,
2014 .ret_type = RET_INTEGER,
2057 .ret_type = RET_INTEGER,
[all …]
Dbpf_sk_storage.c328 .ret_type = RET_PTR_TO_MAP_VALUE_OR_NULL,
338 .ret_type = RET_PTR_TO_MAP_VALUE_OR_NULL,
348 .ret_type = RET_INTEGER,
414 .ret_type = RET_PTR_TO_MAP_VALUE_OR_NULL,
426 .ret_type = RET_INTEGER,
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
Dmlx5hws_table.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()
/linux-6.12.1/tools/testing/selftests/bpf/
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-6.12.1/include/linux/
Drandom.h133 #define declare_get_random_var_wait(name, ret_type) \ argument
134 static inline int get_random_ ## name ## _wait(ret_type *out) { \
/linux-6.12.1/drivers/media/rc/
Dbpf-lirc.c34 .ret_type = RET_INTEGER,
53 .ret_type = RET_INTEGER,
76 .ret_type = RET_INTEGER,
/linux-6.12.1/arch/x86/kvm/vmx/
Dvmx.h459 #define BUILD_VMX_MSR_BITMAP_HELPERS(ret_type, action, bitop) \ argument
460 __BUILD_VMX_MSR_BITMAP_HELPER(ret_type, action, bitop, read, 0x0) \
461 __BUILD_VMX_MSR_BITMAP_HELPER(ret_type, action, bitop, write, 0x800)

12