Home
last modified time | relevance | path

Searched refs:retval (Results 351 - 375 of 3168) sorted by relevance

1...<<11121314151617181920>>...127

/vendor/hisilicon/hispark_pegasus/demo/i2caht20_demo/test/
H A Daht20_test.c37 uint32_t retval = 0; in Aht20TestTask() local
44 retval = AHT20_Calibrate(); in Aht20TestTask()
45 printf("AHT20_Calibrate: %u\r\n", retval); in Aht20TestTask()
50 retval = AHT20_StartMeasure(); in Aht20TestTask()
51 printf("AHT20_StartMeasure: %u\r\n", retval); in Aht20TestTask()
53 retval = AHT20_GetMeasureResult(&temp, &humi); in Aht20TestTask()
54 printf("AHT20_GetMeasureResult: %u, temp = %.2f, humi = %.2f\r\n", retval, temp, humi); in Aht20TestTask()
/kernel/linux/linux-5.10/drivers/staging/greybus/
H A Duart.c385 int retval; in gb_tty_install() local
391 retval = tty_standard_install(driver, tty); in gb_tty_install()
392 if (retval) in gb_tty_install()
399 return retval; in gb_tty_install()
574 int retval; in gb_tty_throttle() local
578 retval = gb_tty_write(tty, &stop_char, 1); in gb_tty_throttle()
579 if (retval <= 0) in gb_tty_throttle()
585 retval = send_control(gb_tty, gb_tty->ctrlout); in gb_tty_throttle()
593 int retval; in gb_tty_unthrottle() local
597 retval in gb_tty_unthrottle()
632 int retval = 0; set_serial_info() local
654 int retval = 0; wait_serial_change() local
827 int retval; gb_uart_probe() local
965 int retval = 0; gb_tty_init() local
[all...]
/kernel/linux/linux-6.6/drivers/staging/greybus/
H A Duart.c385 int retval; in gb_tty_install() local
391 retval = tty_standard_install(driver, tty); in gb_tty_install()
392 if (retval) in gb_tty_install()
399 return retval; in gb_tty_install()
559 int retval; in gb_tty_throttle() local
563 retval = gb_tty_write(tty, &stop_char, 1); in gb_tty_throttle()
564 if (retval <= 0) in gb_tty_throttle()
570 retval = send_control(gb_tty, gb_tty->ctrlout); in gb_tty_throttle()
578 int retval; in gb_tty_unthrottle() local
582 retval in gb_tty_unthrottle()
614 int retval = 0; set_serial_info() local
636 int retval = 0; wait_serial_change() local
809 int retval; gb_uart_probe() local
947 int retval = 0; gb_tty_init() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/host/
H A Dohci-sm501.c93 int retval, irq; in ohci_hcd_sm501_drv_probe() local
96 irq = retval = platform_get_irq(pdev, 0); in ohci_hcd_sm501_drv_probe()
97 if (retval < 0) in ohci_hcd_sm501_drv_probe()
103 retval = -ENOENT; in ohci_hcd_sm501_drv_probe()
109 retval = -EBUSY; in ohci_hcd_sm501_drv_probe()
117 retval = -ENOENT; in ohci_hcd_sm501_drv_probe()
123 retval = -ENOMEM; in ohci_hcd_sm501_drv_probe()
132 retval = -EBUSY; in ohci_hcd_sm501_drv_probe()
139 retval = -ENXIO; in ohci_hcd_sm501_drv_probe()
160 retval in ohci_hcd_sm501_drv_probe()
[all...]
/kernel/linux/linux-6.6/drivers/usb/host/
H A Dohci-sm501.c93 int retval, irq; in ohci_hcd_sm501_drv_probe() local
96 irq = retval = platform_get_irq(pdev, 0); in ohci_hcd_sm501_drv_probe()
97 if (retval < 0) in ohci_hcd_sm501_drv_probe()
103 retval = -ENOENT; in ohci_hcd_sm501_drv_probe()
109 retval = -EBUSY; in ohci_hcd_sm501_drv_probe()
117 retval = -ENOENT; in ohci_hcd_sm501_drv_probe()
123 retval = -ENOMEM; in ohci_hcd_sm501_drv_probe()
132 retval = -EBUSY; in ohci_hcd_sm501_drv_probe()
139 retval = -ENXIO; in ohci_hcd_sm501_drv_probe()
160 retval in ohci_hcd_sm501_drv_probe()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Dmap_kptr.c27 ASSERT_OK(opts.retval, "test_map_kptr_ref1 retval"); in test_map_kptr_success()
30 ASSERT_OK(opts.retval, "test_map_kptr_ref2 retval"); in test_map_kptr_success()
34 ASSERT_OK(lopts.retval, "test_ls_map_kptr_ref1 retval"); in test_map_kptr_success()
38 ASSERT_OK(lopts.retval, "test_ls_map_kptr_ref2 retval"); in test_map_kptr_success()
57 ASSERT_OK(opts.retval, "test_map_kptr_ref3 retval"); in test_map_kptr_success()
[all...]
/kernel/linux/linux-6.6/net/sctp/
H A Doutput.c184 enum sctp_xmit retval; in sctp_packet_transmit_chunk() local
189 switch ((retval = (sctp_packet_append_chunk(packet, chunk)))) { in sctp_packet_transmit_chunk()
202 retval = sctp_packet_append_chunk(packet, in sctp_packet_transmit_chunk()
213 return retval; in sctp_packet_transmit_chunk()
245 enum sctp_xmit retval = SCTP_XMIT_OK; in sctp_packet_bundle_auth() local
250 return retval; in sctp_packet_bundle_auth()
256 return retval; in sctp_packet_bundle_auth()
262 return retval; in sctp_packet_bundle_auth()
266 return retval; in sctp_packet_bundle_auth()
271 retval in sctp_packet_bundle_auth()
283 enum sctp_xmit retval = SCTP_XMIT_OK; sctp_packet_bundle_sack() local
332 enum sctp_xmit retval = SCTP_XMIT_OK; __sctp_packet_append_chunk() local
386 enum sctp_xmit retval = SCTP_XMIT_OK; sctp_packet_append_chunk() local
785 enum sctp_xmit retval = SCTP_XMIT_OK; sctp_packet_will_fit() local
[all...]
H A Dsocket.c310 int retval = 0; in sctp_bind() local
319 retval = sctp_do_bind(sk, (union sctp_addr *)addr, in sctp_bind()
322 retval = -EINVAL; in sctp_bind()
326 return retval; in sctp_bind()
470 int retval = 0; in sctp_send_asconf() local
482 retval = sctp_primitive_ASCONF(asoc->base.net, asoc, chunk); in sctp_send_asconf()
483 if (retval) in sctp_send_asconf()
489 return retval; in sctp_send_asconf()
507 int retval = 0; in sctp_bindx_add() local
523 retval in sctp_bindx_add()
570 int retval = 0; sctp_send_asconf_add_ip() local
683 int retval = 0; sctp_bindx_rem() local
771 int retval = 0; sctp_send_asconf_del_ip() local
3985 int retval = -EINVAL; sctp_setsockopt_default_prinfo() local
4036 int retval = -EINVAL; sctp_setsockopt_reconfig_supported() local
4060 int retval = -EINVAL; sctp_setsockopt_enable_strreset() local
4156 int retval = 0; sctp_setsockopt_scheduler() local
4198 int retval = -EINVAL; sctp_setsockopt_scheduler_value() local
4293 int retval = 0; sctp_setsockopt_event() local
4337 int retval = -EINVAL; sctp_setsockopt_asconf_supported() local
4367 int retval = -EINVAL; sctp_setsockopt_auth_supported() local
4400 int retval = -EINVAL; sctp_setsockopt_ecn_supported() local
4422 int retval = -EINVAL; sctp_setsockopt_pf_expose() local
4573 int retval = 0; sctp_setsockopt() local
5415 int retval = 0; sctp_getsockopt_sctp_status() local
5493 int retval = 0; sctp_getsockopt_peer_addr_info() local
5677 int retval; sctp_getsockopt_peeloff_common() local
5713 int retval = 0; sctp_getsockopt_peeloff() local
5747 int retval = 0; sctp_getsockopt_peeloff_flags() local
7327 int retval = -EFAULT; sctp_getsockopt_pr_supported() local
7366 int retval = -EFAULT; sctp_getsockopt_default_prinfo() local
7413 int retval = -EINVAL; sctp_getsockopt_pr_assocstatus() local
7472 int retval = -EINVAL; sctp_getsockopt_pr_streamstatus() local
7535 int retval = -EFAULT; sctp_getsockopt_reconfig_supported() local
7574 int retval = -EFAULT; sctp_getsockopt_enable_strreset() local
7613 int retval = -EFAULT; sctp_getsockopt_scheduler() local
7652 int retval = -EFAULT; sctp_getsockopt_scheduler_value() local
7694 int retval = -EFAULT; sctp_getsockopt_interleaving_supported() local
7788 int retval = -EFAULT; sctp_getsockopt_asconf_supported() local
7827 int retval = -EFAULT; sctp_getsockopt_auth_supported() local
7866 int retval = -EFAULT; sctp_getsockopt_ecn_supported() local
7905 int retval = -EFAULT; sctp_getsockopt_pf_expose() local
8060 int retval = 0; sctp_getsockopt() local
[all...]
/kernel/linux/linux-5.10/drivers/media/usb/gspca/
H A Dautogain_functions.c23 int i, steps, retval = 0; in gspca_expo_autogain() local
70 retval = 1; in gspca_expo_autogain()
74 retval = 1; in gspca_expo_autogain()
77 if (retval) in gspca_expo_autogain()
80 return retval; in gspca_expo_autogain()
103 int steps, retval = 0; in gspca_coarse_grained_expo_autogain() local
153 retval = 1; in gspca_coarse_grained_expo_autogain()
157 retval = 1; in gspca_coarse_grained_expo_autogain()
160 if (retval) in gspca_coarse_grained_expo_autogain()
163 return retval; in gspca_coarse_grained_expo_autogain()
[all...]
/kernel/linux/linux-6.6/drivers/media/usb/gspca/
H A Dautogain_functions.c23 int i, steps, retval = 0; in gspca_expo_autogain() local
70 retval = 1; in gspca_expo_autogain()
74 retval = 1; in gspca_expo_autogain()
77 if (retval) in gspca_expo_autogain()
80 return retval; in gspca_expo_autogain()
103 int steps, retval = 0; in gspca_coarse_grained_expo_autogain() local
153 retval = 1; in gspca_coarse_grained_expo_autogain()
157 retval = 1; in gspca_coarse_grained_expo_autogain()
160 if (retval) in gspca_coarse_grained_expo_autogain()
163 return retval; in gspca_coarse_grained_expo_autogain()
[all...]
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
H A Dfd6_screen.c65 unsigned retval = 0; in fd6_screen_is_format_supported() local
79 retval |= PIPE_BIND_VERTEX_BUFFER; in fd6_screen_is_format_supported()
89 retval |= usage & (PIPE_BIND_SAMPLER_VIEW | PIPE_BIND_SHADER_IMAGE); in fd6_screen_is_format_supported()
101 retval |= usage & (PIPE_BIND_RENDER_TARGET | PIPE_BIND_DISPLAY_TARGET | in fd6_screen_is_format_supported()
108 retval |= usage & PIPE_BIND_RENDER_TARGET; in fd6_screen_is_format_supported()
113 retval |= PIPE_BIND_DEPTH_STENCIL; in fd6_screen_is_format_supported()
118 retval |= PIPE_BIND_INDEX_BUFFER; in fd6_screen_is_format_supported()
121 if (retval != usage) { in fd6_screen_is_format_supported()
123 "usage=%x, retval=%x", in fd6_screen_is_format_supported()
124 util_format_name(format), target, sample_count, usage, retval); in fd6_screen_is_format_supported()
[all...]
/kernel/linux/linux-5.10/arch/sh/include/asm/
H A Dcmpxchg-llsc.h7 unsigned long retval; in xchg_u32() local
18 : "=&z"(tmp), "=&r" (retval) in xchg_u32()
23 return retval; in xchg_u32()
29 unsigned long retval; in __cmpxchg_u32() local
43 : "=&z" (tmp), "=&r" (retval) in __cmpxchg_u32()
48 return retval; in __cmpxchg_u32()
/kernel/linux/linux-6.6/arch/sh/include/asm/
H A Dcmpxchg-llsc.h7 unsigned long retval; in xchg_u32() local
18 : "=&z"(tmp), "=&r" (retval) in xchg_u32()
23 return retval; in xchg_u32()
29 unsigned long retval; in __cmpxchg_u32() local
43 : "=&z" (tmp), "=&r" (retval) in __cmpxchg_u32()
48 return retval; in __cmpxchg_u32()
/third_party/python/Modules/_decimal/libmpdec/
H A Dio.h46 int64_t retval; in mpd_strtossize() local
49 retval = _mpd_strtossize(s, end, base); in mpd_strtossize()
50 if (errno == 0 && (retval > MPD_SSIZE_MAX || retval < MPD_SSIZE_MIN)) { in mpd_strtossize()
54 return (retval < 0) ? MPD_SSIZE_MIN : MPD_SSIZE_MAX; in mpd_strtossize()
57 return (mpd_ssize_t)retval; in mpd_strtossize()
/kernel/linux/linux-5.10/drivers/usb/core/
H A Dport.c200 int retval; in usb_port_runtime_resume() local
216 retval = usb_autopm_get_interface(intf); in usb_port_runtime_resume()
217 if (retval < 0) in usb_port_runtime_resume()
218 return retval; in usb_port_runtime_resume()
220 retval = usb_hub_set_port_power(hdev, hub, port1, true); in usb_port_runtime_resume()
222 if (udev && !retval) { in usb_port_runtime_resume()
247 return retval; in usb_port_runtime_resume()
258 int retval; in usb_port_runtime_suspend() local
272 retval = usb_autopm_get_interface(intf); in usb_port_runtime_suspend()
273 if (retval < in usb_port_runtime_suspend()
535 int retval; usb_hub_create_port_device() local
[all...]
/kernel/linux/linux-5.10/fs/affs/
H A Dnamei.c50 int retval; in __affs_hash_dentry() local
53 retval = affs_check_name(qstr->name, qstr->len, notruncate); in __affs_hash_dentry()
54 if (retval) in __affs_hash_dentry()
55 return retval; in __affs_hash_dentry()
407 int retval; in affs_rename() local
409 retval = affs_check_name(new_dentry->d_name.name, in affs_rename()
413 if (retval) in affs_rename()
414 return retval; in affs_rename()
418 retval = affs_remove_header(new_dentry); in affs_rename()
419 if (retval) in affs_rename()
456 int retval; affs_xrename() local
[all...]
/kernel/linux/linux-5.10/drivers/media/radio/
H A Ddsbr100.c84 int retval = 0; in dsbr100_setfreq() local
87 retval = usb_control_msg(radio->usbdev, in dsbr100_setfreq()
93 if (retval >= 0) in dsbr100_setfreq()
97 if (retval >= 0) { in dsbr100_setfreq()
103 __func__, retval, DSB100_TUNE); in dsbr100_setfreq()
104 return retval; in dsbr100_setfreq()
110 int retval = usb_control_msg(radio->usbdev, in dsbr100_start() local
116 if (retval >= 0) in dsbr100_start()
120 __func__, retval, DSB100_ONOFF); in dsbr100_start()
121 return retval; in dsbr100_start()
128 int retval = usb_control_msg(radio->usbdev, dsbr100_stop() local
147 int retval = usb_control_msg(radio->usbdev, dsbr100_getstat() local
339 int retval; usb_dsbr100_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/media/radio/
H A Ddsbr100.c84 int retval = 0; in dsbr100_setfreq() local
87 retval = usb_control_msg(radio->usbdev, in dsbr100_setfreq()
93 if (retval >= 0) in dsbr100_setfreq()
97 if (retval >= 0) { in dsbr100_setfreq()
103 __func__, retval, DSB100_TUNE); in dsbr100_setfreq()
104 return retval; in dsbr100_setfreq()
110 int retval = usb_control_msg(radio->usbdev, in dsbr100_start() local
116 if (retval >= 0) in dsbr100_start()
120 __func__, retval, DSB100_ONOFF); in dsbr100_start()
121 return retval; in dsbr100_start()
128 int retval = usb_control_msg(radio->usbdev, dsbr100_stop() local
147 int retval = usb_control_msg(radio->usbdev, dsbr100_getstat() local
339 int retval; usb_dsbr100_probe() local
[all...]
/kernel/linux/linux-6.6/fs/affs/
H A Dnamei.c50 int retval; in __affs_hash_dentry() local
53 retval = affs_check_name(qstr->name, qstr->len, notruncate); in __affs_hash_dentry()
54 if (retval) in __affs_hash_dentry()
55 return retval; in __affs_hash_dentry()
410 int retval; in affs_rename() local
412 retval = affs_check_name(new_dentry->d_name.name, in affs_rename()
416 if (retval) in affs_rename()
417 return retval; in affs_rename()
421 retval = affs_remove_header(new_dentry); in affs_rename()
422 if (retval) in affs_rename()
459 int retval; affs_xrename() local
[all...]
/kernel/linux/linux-6.6/fs/9p/
H A Dvfs_addr.c204 int retval; in v9fs_vfs_writepage() local
208 retval = v9fs_vfs_write_folio_locked(folio); in v9fs_vfs_writepage()
209 if (retval < 0) { in v9fs_vfs_writepage()
210 if (retval == -EAGAIN) { in v9fs_vfs_writepage()
212 retval = 0; in v9fs_vfs_writepage()
214 mapping_set_error(folio_mapping(folio), retval); in v9fs_vfs_writepage() local
217 retval = 0; in v9fs_vfs_writepage()
220 return retval; in v9fs_vfs_writepage()
225 int retval; in v9fs_launder_folio() local
228 retval in v9fs_launder_folio()
279 int retval; v9fs_write_begin() local
[all...]
/third_party/gptfdisk/
H A Ddiskio-unix.cc266 int i, retval = 0, platformFound = 0; in DiskSync() local
304 retval = 1; in DiskSync()
313 return retval; in DiskSync()
319 int retval = 1; in Seek() local
324 retval = OpenForRead(); in Seek()
331 retval = 0; in Seek()
334 return retval; in Seek()
342 int blockSize, numBlocks, retval = 0; in Read() local
368 retval = read(fd, tempSpace, numBlocks * blockSize); in Read()
372 if (((numBlocks * blockSize) != numBytes) && (retval > in Read()
385 int blockSize, i, numBlocks, retval = 0; Write() local
[all...]
/kernel/linux/linux-6.6/drivers/tty/hvc/
H A Dhvcs.c319 int retval; in hvcs_partner_vtys_show() local
322 retval = sprintf(buf, "%X\n", hvcsd->p_unit_address); in hvcs_partner_vtys_show()
324 return retval; in hvcs_partner_vtys_show()
333 int retval; in hvcs_partner_clcs_show() local
336 retval = sprintf(buf, "%s\n", &hvcsd->p_location_code[0]); in hvcs_partner_clcs_show()
338 return retval; in hvcs_partner_clcs_show()
358 int retval; in hvcs_current_vty_show() local
361 retval = sprintf(buf, "%s\n", &hvcsd->p_location_code[0]); in hvcs_current_vty_show()
363 return retval; in hvcs_current_vty_show()
412 int retval; in hvcs_vterm_state_show() local
427 int retval; hvcs_index_show() local
870 int retval; hvcs_get_pi() local
938 int retval; hvcs_partner_connect() local
989 int retval; hvcs_partner_free() local
1066 int retval; hvcs_install() local
[all...]
/kernel/linux/linux-5.10/drivers/input/mouse/
H A Delan_i2c_core.c503 int retval; in elan_update_firmware() local
510 retval = __elan_update_firmware(data, fw); in elan_update_firmware()
511 if (retval) { in elan_update_firmware()
512 dev_err(&client->dev, "firmware update failed: %d\n", retval); in elan_update_firmware()
523 return retval; in elan_update_firmware()
641 int retval; in calibrate_store() local
645 retval = mutex_lock_interruptible(&data->sysfs_mutex); in calibrate_store()
646 if (retval) in calibrate_store()
647 return retval; in calibrate_store()
652 retval in calibrate_store()
755 int retval; acquire_store() local
813 int retval; min_show() local
836 int retval; max_show() local
[all...]
/kernel/linux/linux-6.6/drivers/input/mouse/
H A Delan_i2c_core.c540 int retval; in elan_update_firmware() local
547 retval = __elan_update_firmware(data, fw); in elan_update_firmware()
548 if (retval) { in elan_update_firmware()
549 dev_err(&client->dev, "firmware update failed: %d\n", retval); in elan_update_firmware()
560 return retval; in elan_update_firmware()
678 int retval; in calibrate_store() local
682 retval = mutex_lock_interruptible(&data->sysfs_mutex); in calibrate_store()
683 if (retval) in calibrate_store()
684 return retval; in calibrate_store()
689 retval in calibrate_store()
792 int retval; acquire_store() local
850 int retval; min_show() local
873 int retval; max_show() local
[all...]
/kernel/linux/linux-5.10/drivers/gpio/
H A Dgpio-ts4800.c27 int retval; in ts4800_gpio_probe() local
42 retval = of_property_read_u32(node, "ngpios", &ngpios); in ts4800_gpio_probe()
43 if (retval == -EINVAL) in ts4800_gpio_probe()
45 else if (retval) in ts4800_gpio_probe()
46 return retval; in ts4800_gpio_probe()
48 retval = bgpio_init(chip, &pdev->dev, 2, base_addr + INPUT_REG_OFFSET, in ts4800_gpio_probe()
51 if (retval) { in ts4800_gpio_probe()
53 return retval; in ts4800_gpio_probe()

Completed in 19 milliseconds

1...<<11121314151617181920>>...127