Home
last modified time | relevance | path

Searched refs:retval (Results 251 - 275 of 3234) sorted by relevance

1...<<11121314151617181920>>...130

/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
H A Dfd2_screen.c43 unsigned retval = 0; in fd2_screen_is_format_supported() local
57 retval |= PIPE_BIND_RENDER_TARGET; in fd2_screen_is_format_supported()
63 retval |= usage & PIPE_BIND_VERTEX_BUFFER; in fd2_screen_is_format_supported()
67 retval |= usage & PIPE_BIND_SAMPLER_VIEW; in fd2_screen_is_format_supported()
73 retval |= usage & (PIPE_BIND_RENDER_TARGET | PIPE_BIND_DISPLAY_TARGET | in fd2_screen_is_format_supported()
79 retval |= PIPE_BIND_DEPTH_STENCIL; in fd2_screen_is_format_supported()
84 retval |= PIPE_BIND_INDEX_BUFFER; in fd2_screen_is_format_supported()
87 if (retval != usage) { in fd2_screen_is_format_supported()
89 "usage=%x, retval=%x", in fd2_screen_is_format_supported()
90 util_format_name(format), target, sample_count, usage, retval); in fd2_screen_is_format_supported()
[all...]
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
H A Dfd3_screen.c45 unsigned retval = 0; in fd3_screen_is_format_supported() local
59 retval |= PIPE_BIND_VERTEX_BUFFER; in fd3_screen_is_format_supported()
64 retval |= PIPE_BIND_SAMPLER_VIEW; in fd3_screen_is_format_supported()
71 retval |= usage & (PIPE_BIND_RENDER_TARGET | PIPE_BIND_DISPLAY_TARGET | in fd3_screen_is_format_supported()
74 retval |= usage & PIPE_BIND_BLENDABLE; in fd3_screen_is_format_supported()
80 retval |= PIPE_BIND_DEPTH_STENCIL; in fd3_screen_is_format_supported()
85 retval |= PIPE_BIND_INDEX_BUFFER; in fd3_screen_is_format_supported()
88 if (retval != usage) { in fd3_screen_is_format_supported()
90 "usage=%x, retval=%x", in fd3_screen_is_format_supported()
91 util_format_name(format), target, sample_count, usage, retval); in fd3_screen_is_format_supported()
[all...]
/kernel/linux/linux-5.10/drivers/pci/hotplug/
H A Dshpchp_hpc.c273 int retval = 0; in shpc_wait_cmd() local
283 retval = -EIO; in shpc_wait_cmd()
286 retval = -EINTR; in shpc_wait_cmd()
290 return retval; in shpc_wait_cmd()
297 int retval = 0; in shpc_write_cmd() local
305 retval = -EBUSY; in shpc_write_cmd()
321 retval = shpc_wait_cmd(slot->ctrl); in shpc_write_cmd()
322 if (retval) in shpc_write_cmd()
329 retval = -EIO; in shpc_write_cmd()
333 return retval; in shpc_write_cmd()
338 int retval = 0; hpc_check_cmd_status() local
446 int retval = 0; hpc_get_adapter_speed() local
499 int retval = 0; hpc_get_mode1_ECC_cap() local
602 int retval; hpc_power_on_slot() local
613 int retval; hpc_slot_enable() local
626 int retval; hpc_slot_disable() local
639 int retval = 0; shpc_get_cur_bus_speed() local
708 int retval; hpc_set_bus_speed_mode() local
853 int retval = 0; shpc_get_max_bus_speed() local
[all...]
/kernel/linux/linux-5.10/drivers/hwmon/
H A Demc1403.c41 int retval; in temp_show() local
43 retval = regmap_read(data->regmap, sda->index, &val); in temp_show()
44 if (retval < 0) in temp_show()
45 return retval; in temp_show()
55 int retval; in bit_show() local
57 retval = regmap_read(data->regmap, sda->nr, &val); in bit_show()
58 if (retval < 0) in bit_show()
59 return retval; in bit_show()
69 int retval; in temp_store() local
73 retval in temp_store()
86 int retval; bit_store() local
107 int retval; show_hyst_common() local
139 int retval; hyst_store() local
[all...]
/kernel/linux/linux-5.10/sound/soc/intel/atom/sst/
H A Dsst_stream.c153 int retval = 0; in sst_start_stream() local
164 retval = sst_prepare_and_post_msg(sst_drv_ctx, str_info->task_id, in sst_start_stream()
168 return retval; in sst_start_stream()
245 int retval = 0; in sst_pause_stream() local
259 retval = sst_prepare_and_post_msg(sst_drv_ctx, str_info->task_id, IPC_CMD, in sst_pause_stream()
263 if (retval == 0) { in sst_pause_stream()
266 } else if (retval == -SST_ERR_INVALID_STREAM_ID) { in sst_pause_stream()
267 retval = -EINVAL; in sst_pause_stream()
273 retval = -EBADRQC; in sst_pause_stream()
277 return retval; in sst_pause_stream()
290 int retval = 0; sst_resume_stream() local
358 int retval = 0; sst_drop_stream() local
394 int retval = 0; sst_drain_stream() local
431 int retval = 0; sst_free_stream() local
[all...]
/kernel/linux/linux-6.6/drivers/hwmon/
H A Demc1403.c41 int retval; in temp_show() local
43 retval = regmap_read(data->regmap, sda->index, &val); in temp_show()
44 if (retval < 0) in temp_show()
45 return retval; in temp_show()
55 int retval; in bit_show() local
57 retval = regmap_read(data->regmap, sda->nr, &val); in bit_show()
58 if (retval < 0) in bit_show()
59 return retval; in bit_show()
69 int retval; in temp_store() local
73 retval in temp_store()
86 int retval; bit_store() local
107 int retval; show_hyst_common() local
139 int retval; hyst_store() local
[all...]
/kernel/linux/linux-6.6/sound/soc/intel/atom/sst/
H A Dsst_stream.c152 int retval = 0; in sst_start_stream() local
163 retval = sst_prepare_and_post_msg(sst_drv_ctx, str_info->task_id, in sst_start_stream()
167 return retval; in sst_start_stream()
245 int retval = 0; in sst_pause_stream() local
259 retval = sst_prepare_and_post_msg(sst_drv_ctx, str_info->task_id, IPC_CMD, in sst_pause_stream()
263 if (retval == 0) { in sst_pause_stream()
266 } else if (retval == -SST_ERR_INVALID_STREAM_ID) { in sst_pause_stream()
267 retval = -EINVAL; in sst_pause_stream()
273 retval = -EBADRQC; in sst_pause_stream()
277 return retval; in sst_pause_stream()
290 int retval = 0; sst_resume_stream() local
358 int retval = 0; sst_drop_stream() local
394 int retval = 0; sst_drain_stream() local
431 int retval = 0; sst_free_stream() local
[all...]
/third_party/libsnd/src/
H A Dtest_file_io.c118 sf_count_t retval ; in file_read_write_test() local
138 if ((retval = psf_get_filelen (psf)) != sizeof (data_out)) in file_read_write_test()
139 { printf ("\n\nLine %d: file length after write is not correct (%" PRId64 " should be %zd).\n\n", __LINE__, retval, sizeof (data_out)) ; in file_read_write_test()
140 if (retval == 0) in file_read_write_test()
148 if ((retval = psf_get_filelen (psf)) != 2 * sizeof (data_out)) in file_read_write_test()
149 { printf ("\n\nLine %d: file length after write is not correct. (%" PRId64 " should be %zd)\n\n", __LINE__, retval, 2 * sizeof (data_out)) ; in file_read_write_test()
230 if ((retval = psf_get_filelen (psf)) != 3 * sizeof (data_out)) in file_read_write_test()
231 { printf ("\n\nLine %d: file length after write is not correct. (%" PRId64 " should be %zd)\n\n", __LINE__, retval, 3 * sizeof (data_out)) ; in file_read_write_test()
246 if ((retval = psf_get_filelen (psf)) != 3 * sizeof (data_out)) in file_read_write_test()
247 { printf ("\n\nLine %d: file length after write is not correct. (%" PRId64 " should be %zd)\n\n", __LINE__, retval, in file_read_write_test()
396 { sf_count_t retval ; test_write_or_die() local
414 { sf_count_t retval ; test_read_or_die() local
432 { sf_count_t retval ; test_seek_or_die() local
447 sf_count_t retval ; test_tell_or_die() local
[all...]
/third_party/musl/src/signal/
H A Dsigsuspend.c7 int ret, retval; in sigsuspend() local
10 retval = sigprocmask(SIG_BLOCK, 0, &oldset); in sigsuspend()
11 if (retval != 0) { in sigsuspend()
12 return retval; in sigsuspend()
18 retval = sigprocmask(SIG_SETMASK, &oldset, 0); in sigsuspend()
19 if (retval != 0) { in sigsuspend()
20 return retval; in sigsuspend()
/kernel/linux/linux-5.10/arch/h8300/include/asm/
H A Dbitops.h91 int retval = 0; \
104 : "=r"(retval), "+WU" (*b_addr), "=&r"(ccrsave) \
105 : "0"(retval), "i"(nr & 7) : "cc"); \
115 : "=r"(retval), "+WU" (*b_addr) \
116 : "0" (retval), "r"(bit) : "cc"); \
118 return retval; \
123 int retval = 0; \
132 : "=r"(retval), "+WU"(*b_addr) \
133 : "0" (retval), "i"(nr & 7)); \
140 : "=r"(retval), "
[all...]
/kernel/linux/linux-6.6/arch/csky/include/asm/
H A Duaccess.h93 int retval = 0; in __put_user_fn() local
99 __put_user_asm_b(tmp, ptr, retval); in __put_user_fn()
103 __put_user_asm_h(tmp, ptr, retval); in __put_user_fn()
107 __put_user_asm_w(tmp, ptr, retval); in __put_user_fn()
110 __put_user_asm_64(x, (u64 *)ptr, retval); in __put_user_fn()
114 return retval; in __put_user_fn()
170 int retval; in __get_user_fn() local
175 __get_user_asm_common(tmp, ptr, "ldb", retval); in __get_user_fn()
179 __get_user_asm_common(tmp, ptr, "ldh", retval); in __get_user_fn()
183 __get_user_asm_common(tmp, ptr, "ldw", retval); in __get_user_fn()
[all...]
/kernel/linux/linux-5.10/drivers/tty/
H A Dn_tracerouter.c63 int retval = -EEXIST; in n_tracerouter_open() local
70 retval = -EFAULT; in n_tracerouter_open()
76 retval = 0; in n_tracerouter_open()
80 return retval; in n_tracerouter_open()
198 int retval; in n_tracerouter_init() local
206 retval = tty_register_ldisc(N_TRACEROUTER, &tty_ptirouter_ldisc); in n_tracerouter_init()
207 if (retval < 0) { in n_tracerouter_init()
208 pr_err("%s: Registration failed: %d\n", __func__, retval); in n_tracerouter_init()
211 return retval; in n_tracerouter_init()
221 int retval in n_tracerouter_exit() local
[all...]
/kernel/linux/linux-5.10/lib/
H A Dlockref.c64 int retval; in lockref_get_not_zero() local
75 retval = 0; in lockref_get_not_zero()
78 retval = 1; in lockref_get_not_zero()
81 return retval; in lockref_get_not_zero()
92 int retval; in lockref_put_not_zero() local
103 retval = 0; in lockref_put_not_zero()
106 retval = 1; in lockref_put_not_zero()
109 return retval; in lockref_put_not_zero()
200 int retval; in lockref_get_not_dead() local
211 retval in lockref_get_not_dead()
[all...]
/kernel/linux/linux-6.6/lib/
H A Dlockref.c63 int retval; in lockref_get_not_zero() local
74 retval = 0; in lockref_get_not_zero()
77 retval = 1; in lockref_get_not_zero()
80 return retval; in lockref_get_not_zero()
91 int retval; in lockref_put_not_zero() local
102 retval = 0; in lockref_put_not_zero()
105 retval = 1; in lockref_put_not_zero()
108 return retval; in lockref_put_not_zero()
174 int retval; in lockref_get_not_dead() local
185 retval in lockref_get_not_dead()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/
H A D3w-sas.c209 char *retval = NULL; in twl_aen_severity_lookup() local
215 retval = twl_aen_severity_table[severity_code]; in twl_aen_severity_lookup()
217 return retval; in twl_aen_severity_lookup()
299 int retval = 1; in twl_scsiop_execute_scsi() local
368 retval = twl_post_command_packet(tw_dev, request_id); in twl_scsiop_execute_scsi()
371 return retval; in twl_scsiop_execute_scsi()
380 int retval = 1; in twl_aen_read_queue() local
403 retval = 0; in twl_aen_read_queue()
405 return retval; in twl_aen_read_queue()
473 int retval in twl_aen_complete() local
527 int retval = 1; twl_poll_response() local
565 int first_reset = 0, queue = 0, retval = 1; twl_aen_drain_queue() local
647 int retval = 1; twl_allocate_memory() local
727 int retval = -EFAULT; twl_chrdev_ioctl() local
835 int retval = -ENODEV; twl_chrdev_open() local
866 int retval = 1; twl_fill_sense() local
932 void *retval = NULL; twl_get_param() local
983 int request_id = 0, retval = 1; twl_initconnection() local
1036 int i, retval = 1; twl_initialize_device_extension() local
1085 int retval = 1; twl_handle_attention_interrupt() local
1242 int retval = 1; twl_poll_register() local
1262 int retval = 1; twl_reset_sequence() local
1353 int i = 0, retval = 1; twl_reset_device_extension() local
1434 int retval = FAILED; twl_scsi_eh_reset() local
1462 int request_id, retval; twl_scsi_queue_lck() local
1564 int retval = -ENODEV; twl_probe() local
1792 int retval = 0; twl_resume() local
[all...]
/kernel/linux/linux-5.10/net/sctp/
H A Doutput.c182 enum sctp_xmit retval; in sctp_packet_transmit_chunk() local
187 switch ((retval = (sctp_packet_append_chunk(packet, chunk)))) { in sctp_packet_transmit_chunk()
200 retval = sctp_packet_append_chunk(packet, in sctp_packet_transmit_chunk()
211 return retval; in sctp_packet_transmit_chunk()
219 enum sctp_xmit retval = SCTP_XMIT_OK; in sctp_packet_bundle_auth() local
224 return retval; in sctp_packet_bundle_auth()
230 return retval; in sctp_packet_bundle_auth()
236 return retval; in sctp_packet_bundle_auth()
240 return retval; in sctp_packet_bundle_auth()
245 retval in sctp_packet_bundle_auth()
257 enum sctp_xmit retval = SCTP_XMIT_OK; sctp_packet_bundle_sack() local
306 enum sctp_xmit retval = SCTP_XMIT_OK; __sctp_packet_append_chunk() local
360 enum sctp_xmit retval = SCTP_XMIT_OK; sctp_packet_append_chunk() local
761 enum sctp_xmit retval = SCTP_XMIT_OK; sctp_packet_will_fit() local
[all...]
/kernel/linux/linux-6.6/drivers/i2c/busses/
H A Di2c-piix4.c350 int retval; in piix4_setup_sb800_smba() local
353 retval = piix4_sb800_region_request(&PIIX4_dev->dev, &mmio_cfg); in piix4_setup_sb800_smba()
354 if (retval) in piix4_setup_sb800_smba()
355 return retval; in piix4_setup_sb800_smba()
395 int retval; in piix4_setup_sb800() local
417 retval = piix4_setup_sb800_smba(PIIX4_dev, smb_en, aux, &smb_en_status, in piix4_setup_sb800()
420 if (retval) in piix4_setup_sb800()
421 return retval; in piix4_setup_sb800()
475 retval = piix4_sb800_region_request(&PIIX4_dev->dev, &mmio_cfg); in piix4_setup_sb800()
476 if (retval) { in piix4_setup_sb800()
806 int retval; piix4_access_sb800() local
937 int retval; piix4_add_adapter() local
994 int retval; piix4_add_adapters_sb800() local
1035 int retval; piix4_probe() local
[all...]
/kernel/linux/linux-5.10/kernel/
H A Dumh.c69 int retval; in call_usermodehelper_exec_async() local
89 retval = -ENOMEM; in call_usermodehelper_exec_async()
101 retval = sub_info->init(sub_info, new); in call_usermodehelper_exec_async()
102 if (retval) { in call_usermodehelper_exec_async()
110 retval = kernel_execve(sub_info->path, in call_usermodehelper_exec_async()
114 sub_info->retval = retval; in call_usermodehelper_exec_async()
121 if (!retval) in call_usermodehelper_exec_async()
135 sub_info->retval = pid; in call_usermodehelper_exec_sync()
137 kernel_wait(pid, &sub_info->retval); in call_usermodehelper_exec_sync()
296 long retval; __usermodehelper_disable() local
405 int retval = 0; call_usermodehelper_exec() local
[all...]
H A Duid16.c67 int retval; in SYSCALL_DEFINE3() local
74 if (!(retval = put_user(ruid, ruidp)) && in SYSCALL_DEFINE3()
75 !(retval = put_user(euid, euidp))) in SYSCALL_DEFINE3()
76 retval = put_user(suid, suidp); in SYSCALL_DEFINE3()
78 return retval; in SYSCALL_DEFINE3()
90 int retval; in SYSCALL_DEFINE3() local
97 if (!(retval = put_user(rgid, rgidp)) && in SYSCALL_DEFINE3()
98 !(retval = put_user(egid, egidp))) in SYSCALL_DEFINE3()
99 retval = put_user(sgid, sgidp); in SYSCALL_DEFINE3()
101 return retval; in SYSCALL_DEFINE3()
180 int retval; SYSCALL_DEFINE2() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/gasket/
H A Dgasket_ioctl.c275 int retval; in gasket_handle_ioctl() local
282 retval = ioctl_permissions_cb(filp, cmd, argp); in gasket_handle_ioctl()
283 if (retval < 0) { in gasket_handle_ioctl()
284 trace_gasket_ioctl_exit(retval); in gasket_handle_ioctl()
285 return retval; in gasket_handle_ioctl()
286 } else if (retval == 0) { in gasket_handle_ioctl()
303 retval = gasket_reset(gasket_dev); in gasket_handle_ioctl()
306 retval = gasket_set_event_fd(gasket_dev, argp); in gasket_handle_ioctl()
310 retval = in gasket_handle_ioctl()
316 retval in gasket_handle_ioctl()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Dkfunc_call.c26 int retval; member
35 .retval = __retval, \
44 .retval = __retval, \
49 #define TC_TEST(name, retval) __BPF_TEST_SUCCESS(name, retval, tc_test)
50 #define SYSCALL_TEST(name, retval) __BPF_TEST_SUCCESS(name, retval, syscall_test)
51 #define SYSCALL_NULL_CTX_TEST(name, retval) __BPF_TEST_SUCCESS(name, retval, syscall_null_ctx_test)
53 #define TC_FAIL(name, retval, error_ms
[all...]
/kernel/linux/linux-6.6/kernel/
H A Dumh.c68 int retval; in call_usermodehelper_exec_async() local
88 retval = -ENOMEM; in call_usermodehelper_exec_async()
100 retval = sub_info->init(sub_info, new); in call_usermodehelper_exec_async()
101 if (retval) { in call_usermodehelper_exec_async()
110 retval = kernel_execve(sub_info->path, in call_usermodehelper_exec_async()
114 sub_info->retval = retval; in call_usermodehelper_exec_async()
121 if (!retval) in call_usermodehelper_exec_async()
135 sub_info->retval = pid; in call_usermodehelper_exec_sync()
137 kernel_wait(pid, &sub_info->retval); in call_usermodehelper_exec_sync()
296 long retval; __usermodehelper_disable() local
406 int retval = 0; call_usermodehelper_exec() local
[all...]
H A Dgroups.c138 int retval; in set_current_groups() local
148 retval = security_task_fix_setgroups(new, old); in set_current_groups()
149 if (retval < 0) in set_current_groups()
156 return retval; in set_current_groups()
201 int retval; in SYSCALL_DEFINE2() local
211 retval = groups_from_user(group_info, grouplist); in SYSCALL_DEFINE2()
212 if (retval) { in SYSCALL_DEFINE2()
214 return retval; in SYSCALL_DEFINE2()
218 retval = set_current_groups(group_info); in SYSCALL_DEFINE2()
221 return retval; in SYSCALL_DEFINE2()
230 int retval = 1; in_group_p() local
242 int retval = 1; in_egroup_p() local
[all...]
H A Duid16.c67 int retval; in SYSCALL_DEFINE3() local
74 if (!(retval = put_user(ruid, ruidp)) && in SYSCALL_DEFINE3()
75 !(retval = put_user(euid, euidp))) in SYSCALL_DEFINE3()
76 retval = put_user(suid, suidp); in SYSCALL_DEFINE3()
78 return retval; in SYSCALL_DEFINE3()
90 int retval; in SYSCALL_DEFINE3() local
97 if (!(retval = put_user(rgid, rgidp)) && in SYSCALL_DEFINE3()
98 !(retval = put_user(egid, egidp))) in SYSCALL_DEFINE3()
99 retval = put_user(sgid, sgidp); in SYSCALL_DEFINE3()
101 return retval; in SYSCALL_DEFINE3()
180 int retval; SYSCALL_DEFINE2() local
[all...]
/kernel/linux/linux-5.10/drivers/char/
H A Dtb0219.c188 int retval = 0; in tanbac_tb0219_write() local
209 retval = set_led(c); in tanbac_tb0219_write()
212 retval = set_gpio_output_pin(minor - 32, c); in tanbac_tb0219_write()
216 if (retval < 0) in tanbac_tb0219_write()
277 int retval; in tb0219_probe() local
288 retval = register_chrdev(major, "TB0219", &tb0219_fops); in tb0219_probe()
289 if (retval < 0) { in tb0219_probe()
293 return retval; in tb0219_probe()
302 major = retval; in tb0219_probe()
333 int retval; in tanbac_tb0219_init() local
[all...]

Completed in 14 milliseconds

1...<<11121314151617181920>>...130