/kernel/linux/linux-5.10/drivers/i2c/busses/ |
H A D | i2c-sis630.c | 408 int retval, i; in sis630_setup() local 435 retval = -ENODEV; in sis630_setup() 442 retval = -ENODEV; in sis630_setup() 451 retval = -ENODEV; in sis630_setup() 464 retval = acpi_check_region(smbus_base + SMB_STS, SIS630_SMB_IOREGION, in sis630_setup() 466 if (retval) in sis630_setup() 476 retval = -EBUSY; in sis630_setup() 480 retval = 0; in sis630_setup() 483 if (retval) in sis630_setup() 485 return retval; in sis630_setup() [all...] |
H A D | i2c-ali1535.c | 130 int retval; in ali1535_setup() local 139 retval = pci_enable_device(dev); in ali1535_setup() 140 if (retval) { in ali1535_setup() 152 retval = -ENODEV; in ali1535_setup() 161 retval = acpi_check_region(ali1535_smba, ALI1535_SMB_IOSIZE, in ali1535_setup() 163 if (retval) in ali1535_setup() 170 retval = -EBUSY; in ali1535_setup() 178 retval = -ENODEV; in ali1535_setup() 186 retval = -ENODEV; in ali1535_setup() 209 return retval; in ali1535_setup() [all...] |
/kernel/linux/linux-5.10/drivers/tty/ |
H A D | tty_port.c | 466 int do_clocal = 0, retval; in tty_port_block_til_ready() local 491 retval = 0; in tty_port_block_til_ready() 509 retval = -EAGAIN; in tty_port_block_til_ready() 511 retval = -ERESTARTSYS; in tty_port_block_til_ready() 523 retval = -ERESTARTSYS; in tty_port_block_til_ready() 539 if (retval == 0) in tty_port_block_til_ready() 541 return retval; in tty_port_block_til_ready() 690 int retval = port->ops->activate(port, tty); in tty_port_open() local 691 if (retval) { in tty_port_open() 693 return retval; in tty_port_open() [all...] |
/kernel/linux/linux-5.10/drivers/media/usb/gspca/ |
H A D | jeilinj.c | 88 int retval; in jlj_write2() local 93 retval = usb_bulk_msg(gspca_dev->dev, in jlj_write2() 96 if (retval < 0) { in jlj_write2() 98 gspca_dev->usb_buf[0], retval); in jlj_write2() 99 gspca_dev->usb_err = retval; in jlj_write2() 106 int retval; in jlj_read1() local 110 retval = usb_bulk_msg(gspca_dev->dev, in jlj_read1() 114 if (retval < 0) { in jlj_read1() 116 gspca_dev->usb_buf[0], retval); in jlj_read1() 117 gspca_dev->usb_err = retval; in jlj_read1() [all...] |
/kernel/linux/linux-5.10/drivers/pci/hotplug/ |
H A D | cpci_hotplug_core.c | 74 int retval = 0; in enable_slot() local 79 retval = controller->ops->set_power(slot, 1); in enable_slot() 80 return retval; in enable_slot() 87 int retval = 0; in disable_slot() local 95 retval = cpci_unconfigure_slot(slot); in disable_slot() 96 if (retval) { in disable_slot() 107 retval = -ENODEV; in disable_slot() 113 retval = controller->ops->set_power(slot, 0); in disable_slot() 114 if (retval) in disable_slot() 126 return retval; in disable_slot() [all...] |
/kernel/linux/linux-6.6/drivers/media/usb/gspca/ |
H A D | jeilinj.c | 88 int retval; in jlj_write2() local 93 retval = usb_bulk_msg(gspca_dev->dev, in jlj_write2() 96 if (retval < 0) { in jlj_write2() 98 gspca_dev->usb_buf[0], retval); in jlj_write2() 99 gspca_dev->usb_err = retval; in jlj_write2() 106 int retval; in jlj_read1() local 110 retval = usb_bulk_msg(gspca_dev->dev, in jlj_read1() 114 if (retval < 0) { in jlj_read1() 116 gspca_dev->usb_buf[0], retval); in jlj_read1() 117 gspca_dev->usb_err = retval; in jlj_read1() [all...] |
/kernel/linux/linux-6.6/fs/f2fs/ |
H A D | acl.c | 174 int retval; in __f2fs_get_acl() local 179 retval = f2fs_getxattr(inode, name_index, "", NULL, 0, dpage); in __f2fs_get_acl() 180 if (retval > 0) { in __f2fs_get_acl() 181 value = f2fs_kmalloc(F2FS_I_SB(inode), retval, GFP_F2FS_ZERO); in __f2fs_get_acl() 184 retval = f2fs_getxattr(inode, name_index, "", value, in __f2fs_get_acl() 185 retval, dpage); in __f2fs_get_acl() 188 if (retval > 0) in __f2fs_get_acl() 189 acl = f2fs_acl_from_disk(value, retval); in __f2fs_get_acl() 190 else if (retval == -ENODATA) in __f2fs_get_acl() 193 acl = ERR_PTR(retval); in __f2fs_get_acl() [all...] |
/kernel/linux/linux-6.6/drivers/tty/ |
H A D | tty_port.c | 511 int do_clocal = 0, retval; in tty_port_block_til_ready() local 538 retval = 0; in tty_port_block_til_ready() 557 retval = -EAGAIN; in tty_port_block_til_ready() 559 retval = -ERESTARTSYS; in tty_port_block_til_ready() 571 retval = -ERESTARTSYS; in tty_port_block_til_ready() 588 if (retval == 0) in tty_port_block_til_ready() 590 return retval; in tty_port_block_til_ready() 782 int retval = port->ops->activate(port, tty); in tty_port_open() local 784 if (retval) { in tty_port_open() 786 return retval; in tty_port_open() [all...] |
/kernel/linux/linux-6.6/drivers/cpufreq/ |
H A D | powernow-k7.c | 299 int retval = 0; in powernow_acpi_init() local 303 retval = -EINVAL; in powernow_acpi_init() 309 retval = -ENOMEM; in powernow_acpi_init() 315 retval = -ENOMEM; in powernow_acpi_init() 320 retval = -EIO; in powernow_acpi_init() 326 retval = -ENODEV; in powernow_acpi_init() 332 retval = -ENODEV; in powernow_acpi_init() 339 retval = -ENODEV; in powernow_acpi_init() 346 retval = -ENOMEM; in powernow_acpi_init() 430 return retval; in powernow_acpi_init() [all...] |
/kernel/linux/linux-6.6/drivers/pci/hotplug/ |
H A D | cpci_hotplug_core.c | 74 int retval = 0; in enable_slot() local 79 retval = controller->ops->set_power(slot, 1); in enable_slot() 80 return retval; in enable_slot() 87 int retval = 0; in disable_slot() local 95 retval = cpci_unconfigure_slot(slot); in disable_slot() 96 if (retval) { in disable_slot() 107 retval = -ENODEV; in disable_slot() 113 retval = controller->ops->set_power(slot, 0); in disable_slot() 114 if (retval) in disable_slot() 126 return retval; in disable_slot() [all...] |
/kernel/linux/linux-6.6/drivers/i2c/busses/ |
H A D | i2c-sis630.c | 408 int retval, i; in sis630_setup() local 435 retval = -ENODEV; in sis630_setup() 442 retval = -ENODEV; in sis630_setup() 451 retval = -ENODEV; in sis630_setup() 464 retval = acpi_check_region(smbus_base + SMB_STS, SIS630_SMB_IOREGION, in sis630_setup() 466 if (retval) in sis630_setup() 476 retval = -EBUSY; in sis630_setup() 480 retval = 0; in sis630_setup() 483 if (retval) in sis630_setup() 485 return retval; in sis630_setup() [all...] |
H A D | i2c-ali1535.c | 130 int retval; in ali1535_setup() local 139 retval = pci_enable_device(dev); in ali1535_setup() 140 if (retval) { in ali1535_setup() 152 retval = -ENODEV; in ali1535_setup() 161 retval = acpi_check_region(ali1535_smba, ALI1535_SMB_IOSIZE, in ali1535_setup() 163 if (retval) in ali1535_setup() 170 retval = -EBUSY; in ali1535_setup() 178 retval = -ENODEV; in ali1535_setup() 186 retval = -ENODEV; in ali1535_setup() 209 return retval; in ali1535_setup() [all...] |
/kernel/linux/linux-6.6/drivers/input/misc/ |
H A D | kxtj9.c | 369 int retval; in kxtj9_verify() local 371 retval = kxtj9_device_power_on(tj9); in kxtj9_verify() 372 if (retval < 0) in kxtj9_verify() 373 return retval; in kxtj9_verify() 375 retval = i2c_smbus_read_byte_data(tj9->client, WHO_AM_I); in kxtj9_verify() 376 if (retval < 0) { in kxtj9_verify() 381 retval = (retval != 0x07 && retval != 0x08) ? -EIO : 0; in kxtj9_verify() 385 return retval; in kxtj9_verify() [all...] |
/kernel/linux/linux-6.6/drivers/input/serio/ |
H A D | libps2.c | 109 int retval; in ps2_sendbyte() local 113 retval = ps2_do_sendbyte(ps2dev, byte, timeout, 1); in ps2_sendbyte() 118 return retval; in ps2_sendbyte() 426 int retval; in ps2_sliced_command() local 430 retval = __ps2_command(ps2dev, NULL, PS2_CMD_SETSCALE11); in ps2_sliced_command() 431 if (retval) in ps2_sliced_command() 436 retval = __ps2_command(ps2dev, &d, PS2_CMD_SETRES); in ps2_sliced_command() 437 if (retval) in ps2_sliced_command() 442 dev_dbg(&ps2dev->serio->dev, "%02x - %d\n", command, retval); in ps2_sliced_command() 444 return retval; in ps2_sliced_command() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/device_handler/ |
H A D | scsi_dh_alua.c | 484 int retval; in alua_tur() local 486 retval = scsi_test_unit_ready(sdev, ALUA_FAILOVER_TIMEOUT * HZ, in alua_tur() 491 else if (retval) in alua_tur() 512 int retval; in alua_rtpg() local 533 retval = submit_rtpg(sdev, buff, bufflen, &sense_hdr, pg->flags); in alua_rtpg() 535 if (retval) { in alua_rtpg() 548 ALUA_DH_NAME, retval); in alua_rtpg() 552 if (retval < 0 || !scsi_sense_valid(&sense_hdr)) { in alua_rtpg() 555 ALUA_DH_NAME, retval); in alua_rtpg() 557 if (retval < in alua_rtpg() 747 int retval; alua_stpg() local [all...] |
/kernel/linux/linux-5.10/drivers/tty/serial/ |
H A D | serial_core.c | 181 int retval = 0; in uart_port_startup() local 213 retval = uport->ops->startup(uport); in uart_port_startup() 214 if (retval == 0) { in uart_port_startup() 241 if (retval && capable(CAP_SYS_ADMIN)) in uart_port_startup() 244 return retval; in uart_port_startup() 251 int retval; in uart_startup() local 256 retval = uart_port_startup(tty, state, init_hw); in uart_startup() 257 if (retval) in uart_startup() 260 return retval; in uart_startup() 829 int retval in uart_set_info() local 1037 int retval; uart_set_info_user() local 1846 int retval; uart_open() local 2616 int i, retval = -ENOMEM; uart_register_driver() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | ch.c | 540 int retval = 0; in ch_gstatus() local 548 retval = -EIO; in ch_gstatus() 556 retval = ch_read_element_status in ch_gstatus() 558 if (0 != retval) in ch_gstatus() 562 return retval; in ch_gstatus() 624 int retval; in ch_ioctl() local 627 retval = scsi_ioctl_block_when_processing_errors(ch->device, cmd, in ch_ioctl() 629 if (retval) in ch_ioctl() 630 return retval; in ch_ioctl() 685 retval in ch_ioctl() 877 int retval = scsi_ioctl_block_when_processing_errors(ch->device, cmd, ch_ioctl_compat() local [all...] |
/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | ehci-hub.c | 623 int ports, i, retval = 1; in ehci_hub_status_data() local 632 retval++; in ehci_hub_status_data() 691 return status ? retval : 0; in ehci_hub_status_data() 802 int retval = -ENOMEM; in ehset_single_step_set_feature() local 837 retval = submit_single_step_set_feature(hcd, urb, 1); in ehset_single_step_set_feature() 838 if (retval) in ehset_single_step_set_feature() 842 retval = -ETIMEDOUT; in ehset_single_step_set_feature() 853 retval = submit_single_step_set_feature(hcd, urb, 0); in ehset_single_step_set_feature() 854 if (!retval && !wait_for_completion_timeout(&done, in ehset_single_step_set_feature() 857 retval in ehset_single_step_set_feature() 883 int retval = 0; ehci_hub_control() local [all...] |
H A D | ohci-hcd.c | 158 int retval = 0; in ohci_urb_enqueue() local 216 retval = -ENODEV; in ohci_urb_enqueue() 220 retval = -ENODEV; in ohci_urb_enqueue() 223 retval = usb_hcd_link_urb_to_ep(hcd, urb); in ohci_urb_enqueue() 224 if (retval) in ohci_urb_enqueue() 229 retval = ed_schedule (ohci, ed); in ohci_urb_enqueue() 230 if (retval < 0) { in ohci_urb_enqueue() 303 if (retval) in ohci_urb_enqueue() 306 return retval; in ohci_urb_enqueue() 1278 int retval in ohci_hcd_mod_init() local [all...] |
/kernel/linux/linux-6.6/fs/udf/ |
H A D | namei.c | 770 int retval; in udf_rename() local 776 retval = udf_fiiter_find_entry(old_dir, &old_dentry->d_name, &oiter); in udf_rename() 777 if (retval) in udf_rename() 778 return retval; in udf_rename() 782 retval = -ENOENT; in udf_rename() 788 retval = -ENOTEMPTY; in udf_rename() 792 retval = udf_fiiter_find_entry(old_inode, &dotdot_name, in udf_rename() 794 if (retval == -ENOENT) { in udf_rename() 798 retval = -EFSCORRUPTED; in udf_rename() 800 if (retval) in udf_rename() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
H A D | map_lock.c | 7 __u32 duration, retval; in spin_lock_thread() local 11 NULL, NULL, &retval, &duration); in spin_lock_thread() 12 CHECK(err || retval, "", in spin_lock_thread() 13 "err %d errno %d retval %d duration %d\n", in spin_lock_thread() 14 err, errno, retval, duration); in spin_lock_thread()
|
H A D | trace_ext.c | 26 __u32 retval; in test_trace_ext() local 92 NULL, NULL, &retval, &duration); in test_trace_ext() 93 CHECK(err || retval, "run", "err %d errno %d retval %d\n", err, errno, retval); in test_trace_ext()
|
H A D | xdp_bpf2bpf.c | 41 __u32 duration = 0, retval, size; in test_xdp_bpf2bpf() local 98 buf, &size, &retval, &duration); in test_xdp_bpf2bpf() 100 if (CHECK(err || retval != XDP_TX || size != 74 || in test_xdp_bpf2bpf() 102 "err %d errno %d retval %d size %d\n", in test_xdp_bpf2bpf() 103 err, errno, retval, size)) in test_xdp_bpf2bpf()
|
/kernel/linux/linux-5.10/drivers/media/i2c/cx25840/ |
H A D | cx25840-firmware.c | 102 int size, retval; in cx25840_loadfw() local 133 retval = fw_write(client, buffer, len + 2); in cx25840_loadfw() 135 if (retval < 0) { in cx25840_loadfw() 137 return retval; in cx25840_loadfw()
|
/kernel/linux/linux-5.10/drivers/misc/vmw_vmci/ |
H A D | vmci_event.c | 136 int retval; in vmci_event_subscribe() local 180 retval = VMCI_SUCCESS; in vmci_event_subscribe() 182 retval = VMCI_ERROR_NO_RESOURCES; in vmci_event_subscribe() 188 return retval; in vmci_event_subscribe()
|