/Linux-v6.1/drivers/staging/rts5208/ |
D | rtsx_chip.c | 100 int retval; in rtsx_pre_handle_sdio_old() local 104 retval = rtsx_write_register(chip, CARD_PULL_CTL5, in rtsx_pre_handle_sdio_old() 108 if (retval) in rtsx_pre_handle_sdio_old() 109 return retval; in rtsx_pre_handle_sdio_old() 111 retval = rtsx_write_register(chip, FPGA_PULL_CTL, in rtsx_pre_handle_sdio_old() 114 if (retval) in rtsx_pre_handle_sdio_old() 115 return retval; in rtsx_pre_handle_sdio_old() 117 retval = rtsx_write_register(chip, CARD_SHARE_MODE, 0xFF, in rtsx_pre_handle_sdio_old() 119 if (retval) in rtsx_pre_handle_sdio_old() 120 return retval; in rtsx_pre_handle_sdio_old() [all …]
|
D | sd.c | 97 int retval; in sd_check_data0_status() local 100 retval = rtsx_read_register(chip, REG_SD_STAT1, &stat); in sd_check_data0_status() 101 if (retval) in sd_check_data0_status() 102 return retval; in sd_check_data0_status() 116 int retval; local 165 retval = rtsx_send_cmd(chip, SD_CARD, timeout); 166 if (retval < 0) { 175 if (retval == -ETIMEDOUT) { 177 retval = sd_check_data0_status(chip); 178 if (retval != STATUS_SUCCESS) { [all …]
|
D | spi.c | 28 int retval; in spi_init() local 30 retval = rtsx_write_register(chip, SPI_CONTROL, 0xFF, in spi_init() 33 if (retval) in spi_init() 34 return retval; in spi_init() 35 retval = rtsx_write_register(chip, SPI_TCTL, EDO_TIMING_MASK, in spi_init() 37 if (retval) in spi_init() 38 return retval; in spi_init() 46 int retval; in spi_set_init_para() local 48 retval = rtsx_write_register(chip, SPI_CLK_DIVIDER1, 0xFF, in spi_set_init_para() 50 if (retval) in spi_set_init_para() [all …]
|
D | ms.c | 43 int retval; in ms_transfer_tpc() local 63 retval = rtsx_send_cmd(chip, MS_CARD, 5000); in ms_transfer_tpc() 64 if (retval < 0) { in ms_transfer_tpc() 99 int retval; in ms_transfer_data() local 140 retval = rtsx_transfer_data(chip, MS_CARD, buf, buf_len, in ms_transfer_data() 142 if (retval < 0) { in ms_transfer_data() 144 if (retval == -ETIMEDOUT) in ms_transfer_data() 145 retval = STATUS_TIMEDOUT; in ms_transfer_data() 147 retval = STATUS_FAIL; in ms_transfer_data() 149 return retval; in ms_transfer_data() [all …]
|
D | xd.c | 44 int retval; in xd_set_init_para() local 51 retval = switch_clock(chip, xd_card->xd_clock); in xd_set_init_para() 52 if (retval != STATUS_SUCCESS) in xd_set_init_para() 61 int retval; in xd_switch_clock() local 63 retval = select_card(chip, XD_CARD); in xd_switch_clock() 64 if (retval != STATUS_SUCCESS) in xd_switch_clock() 67 retval = switch_clock(chip, xd_card->xd_clock); in xd_switch_clock() 68 if (retval != STATUS_SUCCESS) in xd_switch_clock() 76 int retval, i; in xd_read_id() local 90 retval = rtsx_send_cmd(chip, XD_CARD, 20); in xd_read_id() [all …]
|
/Linux-v6.1/arch/parisc/kernel/ |
D | firmware.c | 225 int retval; in pdc_add_valid() local 229 retval = mem_pdc_call(PDC_ADD_VALID, PDC_ADD_VALID_VERIFY, address); in pdc_add_valid() 232 return retval; in pdc_add_valid() 244 int retval; in pdc_instr() local 248 retval = mem_pdc_call(PDC_INSTR, 0UL, __pa(pdc_result)); in pdc_instr() 253 return retval; in pdc_instr() 266 int retval; in pdc_chassis_info() local 272 retval = mem_pdc_call(PDC_CHASSIS, PDC_RETURN_CHASSIS_INFO, in pdc_chassis_info() 278 return retval; in pdc_chassis_info() 290 int retval = 0; in pdc_pat_chassis_send_log() local [all …]
|
/Linux-v6.1/fs/reiserfs/ |
D | namei.c | 123 int retval; in search_by_entry_key() local 125 retval = search_item(sb, key, path); in search_by_entry_key() 126 switch (retval) { in search_by_entry_key() 141 return retval; in search_by_entry_key() 165 retval = bin_search_in_dir_item(de, cpu_key_k_offset(key)); in search_by_entry_key() 167 if (retval != NAME_NOT_FOUND) { in search_by_entry_key() 175 return retval; in search_by_entry_key() 212 int retval = NAME_NOT_FOUND; in reiserfs_match() local 216 retval = in reiserfs_match() 220 return retval; in reiserfs_match() [all …]
|
/Linux-v6.1/drivers/media/usb/gspca/ |
D | jl2005bcd.c | 76 int retval; in jl2005c_write2() local 79 retval = usb_bulk_msg(gspca_dev->dev, in jl2005c_write2() 82 if (retval < 0) in jl2005c_write2() 84 gspca_dev->usb_buf[0], retval); in jl2005c_write2() 85 return retval; in jl2005c_write2() 91 int retval; in jl2005c_read1() local 93 retval = usb_bulk_msg(gspca_dev->dev, in jl2005c_read1() 96 if (retval < 0) in jl2005c_read1() 98 gspca_dev->usb_buf[0], retval); in jl2005c_read1() 99 return retval; in jl2005c_read1() [all …]
|
/Linux-v6.1/drivers/hid/ |
D | hid-roccat-arvo.c | 36 int retval; in arvo_sysfs_show_mode_key() local 39 retval = roccat_common2_receive(usb_dev, ARVO_COMMAND_MODE_KEY, in arvo_sysfs_show_mode_key() 42 if (retval) in arvo_sysfs_show_mode_key() 43 return retval; in arvo_sysfs_show_mode_key() 57 int retval; in arvo_sysfs_set_mode_key() local 59 retval = kstrtoul(buf, 10, &state); in arvo_sysfs_set_mode_key() 60 if (retval) in arvo_sysfs_set_mode_key() 61 return retval; in arvo_sysfs_set_mode_key() 67 retval = roccat_common2_send(usb_dev, ARVO_COMMAND_MODE_KEY, in arvo_sysfs_set_mode_key() 70 if (retval) in arvo_sysfs_set_mode_key() [all …]
|
D | hid-roccat-kone.c | 113 int retval; in kone_check_write() local 123 retval = kone_receive(usb_dev, in kone_check_write() 125 if (retval) in kone_check_write() 126 return retval; in kone_check_write() 163 int retval; in kone_set_settings() local 165 retval = kone_send(usb_dev, kone_command_settings, in kone_set_settings() 167 if (retval) in kone_set_settings() 168 return retval; in kone_set_settings() 235 int retval; in kone_get_weight() local 238 retval = kone_receive(usb_dev, kone_command_weight, &data, 1); in kone_get_weight() [all …]
|
D | hid-roccat-kovaplus.c | 48 int retval; in kovaplus_send_control() local 60 retval = roccat_common2_send(usb_dev, ROCCAT_COMMON_COMMAND_CONTROL, in kovaplus_send_control() 63 return retval; in kovaplus_send_control() 75 int retval; in kovaplus_get_profile_settings() local 77 retval = kovaplus_select_profile(usb_dev, number, in kovaplus_get_profile_settings() 79 if (retval) in kovaplus_get_profile_settings() 80 return retval; in kovaplus_get_profile_settings() 89 int retval; in kovaplus_get_profile_buttons() local 91 retval = kovaplus_select_profile(usb_dev, number, in kovaplus_get_profile_buttons() 93 if (retval) in kovaplus_get_profile_buttons() [all …]
|
/Linux-v6.1/tools/testing/selftests/bpf/progs/ |
D | test_check_mtu.c | 35 int retval = XDP_PASS; /* Expected retval on successful test */ in xdp_use_helper() local 46 retval = XDP_ABORTED; in xdp_use_helper() 51 retval = XDP_DROP; in xdp_use_helper() 55 return retval; in xdp_use_helper() 65 int retval = XDP_ABORTED; /* Fail */ in xdp_exceed_mtu() local 75 retval = XDP_PASS; /* Success in exceeding MTU check */ in xdp_exceed_mtu() 77 retval = XDP_DROP; in xdp_exceed_mtu() 81 return retval; in xdp_exceed_mtu() 87 int retval = XDP_PASS; /* Expected retval on successful test */ in xdp_minus_delta() local 102 retval = XDP_ABORTED; in xdp_minus_delta() [all …]
|
/Linux-v6.1/sound/spi/ |
D | at73c213.c | 91 int retval; in snd_at73c213_write_reg() local 102 retval = spi_sync(chip->spi, &msg); in snd_at73c213_write_reg() 104 if (!retval) in snd_at73c213_write_reg() 107 return retval; in snd_at73c213_write_reg() 276 int retval = 0; in snd_at73c213_pcm_trigger() local 291 retval = -EINVAL; in snd_at73c213_pcm_trigger() 297 return retval; in snd_at73c213_pcm_trigger() 330 int retval; in snd_at73c213_pcm_new() local 332 retval = snd_pcm_new(chip->card, chip->card->shortname, in snd_at73c213_pcm_new() 334 if (retval < 0) in snd_at73c213_pcm_new() [all …]
|
/Linux-v6.1/net/sctp/ |
D | sm_make_chunk.c | 216 struct sctp_chunk *retval = NULL; in sctp_make_init() local 319 retval = sctp_make_control(asoc, SCTP_CID_INIT, 0, chunksize, gfp); in sctp_make_init() 320 if (!retval) in sctp_make_init() 323 retval->subh.init_hdr = in sctp_make_init() 324 sctp_addto_chunk(retval, sizeof(init), &init); in sctp_make_init() 325 retval->param_hdr.v = in sctp_make_init() 326 sctp_addto_chunk(retval, addrs_len, addrs.v); in sctp_make_init() 337 sctp_addto_chunk(retval, sizeof(sat), &sat); in sctp_make_init() 338 sctp_addto_chunk(retval, num_types * sizeof(__u16), &types); in sctp_make_init() 341 sctp_addto_chunk(retval, sizeof(ecap_param), &ecap_param); in sctp_make_init() [all …]
|
/Linux-v6.1/tools/tracing/rtla/src/ |
D | osnoise.c | 52 int retval; in osnoise_set_cpus() local 65 retval = tracefs_instance_file_write(NULL, "osnoise/cpus", buffer); in osnoise_set_cpus() 66 if (retval < 0) { in osnoise_set_cpus() 84 int retval; in osnoise_restore_cpus() local 98 retval = tracefs_instance_file_write(NULL, "osnoise/cpus", context->orig_cpus); in osnoise_restore_cpus() 99 if (retval < 0) in osnoise_restore_cpus() 128 long long retval; in osnoise_read_ll_config() local 136 retval = get_llong_from_str(buffer); in osnoise_read_ll_config() 138 debug_msg("reading %s returned %lld\n", rel_path, retval); in osnoise_read_ll_config() 142 return retval; in osnoise_read_ll_config() [all …]
|
/Linux-v6.1/fs/ext4/ |
D | migrate.c | 25 int retval = 0, needed; in finish_range() local 39 retval = PTR_ERR(path); in finish_range() 53 retval = ext4_datasem_ensure_credits(handle, inode, needed, needed, 0); in finish_range() 54 if (retval < 0) in finish_range() 56 retval = ext4_ext_insert_extent(handle, inode, &path, &newext, 0); in finish_range() 61 return retval; in finish_range() 67 int retval; in update_extent_range() local 82 retval = finish_range(handle, inode, lb); in update_extent_range() 86 return retval; in update_extent_range() 95 int i, retval = 0; in update_ind_extent_range() local [all …]
|
/Linux-v6.1/drivers/usb/misc/ |
D | usbtest.c | 466 int retval = 0; in simple_io() local 470 while (retval == 0 && iterations-- > 0) { in simple_io() 476 retval = usb_submit_urb(urb, GFP_KERNEL); in simple_io() 477 if (retval != 0) in simple_io() 483 retval = (urb->status == -ENOENT ? in simple_io() 486 retval = urb->status; in simple_io() 490 if (retval == 0 && usb_pipein(urb->pipe)) in simple_io() 491 retval = simple_check_buf(tdev, urb); in simple_io() 507 if (expected != retval) in simple_io() 510 label, iterations, retval, expected); in simple_io() [all …]
|
D | cytherm.c | 82 int retval; in brightness_store() local 96 retval = vendor_command(cytherm->udev, WRITE_RAM, BRIGHTNESS, in brightness_store() 98 if (retval) in brightness_store() 99 dev_dbg(&cytherm->udev->dev, "retval = %d\n", retval); in brightness_store() 101 retval = vendor_command(cytherm->udev, WRITE_RAM, BRIGHTNESS_SEM, in brightness_store() 103 if (retval) in brightness_store() 104 dev_dbg(&cytherm->udev->dev, "retval = %d\n", retval); in brightness_store() 122 int retval; in temp_show() local 132 retval = vendor_command(cytherm->udev, READ_RAM, TEMP, 0, buffer, 8); in temp_show() 133 if (retval) in temp_show() [all …]
|
/Linux-v6.1/drivers/rtc/ |
D | sysfs.c | 34 ssize_t retval; in date_show() local 37 retval = rtc_read_time(to_rtc_device(dev), &tm); in date_show() 38 if (retval) in date_show() 39 return retval; in date_show() 48 ssize_t retval; in time_show() local 51 retval = rtc_read_time(to_rtc_device(dev), &tm); in time_show() 52 if (retval) in time_show() 53 return retval; in time_show() 62 ssize_t retval; in since_epoch_show() local 65 retval = rtc_read_time(to_rtc_device(dev), &tm); in since_epoch_show() [all …]
|
D | rtc-ab8500.c | 64 int retval, i; in ab8500_rtc_read_time() local 70 retval = abx500_set_register_interruptible(dev, in ab8500_rtc_read_time() 72 if (retval < 0) in ab8500_rtc_read_time() 73 return retval; in ab8500_rtc_read_time() 77 retval = abx500_get_register_interruptible(dev, in ab8500_rtc_read_time() 79 if (retval < 0) in ab8500_rtc_read_time() 80 return retval; in ab8500_rtc_read_time() 90 retval = abx500_get_register_interruptible(dev, in ab8500_rtc_read_time() 92 if (retval < 0) in ab8500_rtc_read_time() 93 return retval; in ab8500_rtc_read_time() [all …]
|
/Linux-v6.1/drivers/staging/pi433/ |
D | pi433_if.c | 369 int retval; in pi433_start_rx() local 376 retval = rf69_set_rx_cfg(dev, &dev->rx_cfg); in pi433_start_rx() 377 if (retval) in pi433_start_rx() 378 return retval; in pi433_start_rx() 381 retval = rf69_set_dio_mapping(dev->spi, DIO0, DIO_RSSI_DIO0); in pi433_start_rx() 382 if (retval < 0) in pi433_start_rx() 383 return retval; in pi433_start_rx() 388 retval = rf69_set_fifo_threshold(dev->spi, FIFO_SIZE - FIFO_THRESHOLD); in pi433_start_rx() 389 if (retval < 0) in pi433_start_rx() 390 return retval; in pi433_start_rx() [all …]
|
/Linux-v6.1/drivers/usb/core/ |
D | hcd-pci.c | 175 int retval; in usb_hcd_pci_probe() local 192 retval = pci_alloc_irq_vectors(dev, 1, 1, PCI_IRQ_LEGACY | PCI_IRQ_MSI); in usb_hcd_pci_probe() 193 if (retval < 0) { in usb_hcd_pci_probe() 197 retval = -ENODEV; in usb_hcd_pci_probe() 205 retval = -ENOMEM; in usb_hcd_pci_probe() 219 retval = -EBUSY; in usb_hcd_pci_probe() 226 retval = -EFAULT; in usb_hcd_pci_probe() 247 retval = -EBUSY; in usb_hcd_pci_probe() 259 retval = usb_add_hcd(hcd, hcd_irq, IRQF_SHARED); in usb_hcd_pci_probe() 260 if (retval != 0) in usb_hcd_pci_probe() [all …]
|
/Linux-v6.1/tools/testing/selftests/mincore/ |
D | mincore_selftest.c | 32 int retval; in TEST() local 40 retval = mincore(0, 0, vec); in TEST() 41 EXPECT_EQ(0, retval); in TEST() 45 retval = mincore(NULL, page_size, vec); in TEST() 46 EXPECT_EQ(-1, retval); in TEST() 58 retval = mincore(addr + 1, page_size, vec); in TEST() 59 EXPECT_EQ(-1, retval); in TEST() 64 retval = mincore(addr, -1, vec); in TEST() 65 EXPECT_EQ(-1, retval); in TEST() 70 retval = mincore(addr, page_size, NULL); in TEST() [all …]
|
/Linux-v6.1/drivers/media/radio/si470x/ |
D | radio-si470x-common.c | 195 int retval; in si470x_set_chan() local 199 retval = radio->get_register(radio, POWERCFG); in si470x_set_chan() 200 if (retval) in si470x_set_chan() 201 return retval; in si470x_set_chan() 211 retval = radio->set_register(radio, CHANNEL); in si470x_set_chan() 212 if (retval < 0) in si470x_set_chan() 230 retval = radio->set_register(radio, CHANNEL); in si470x_set_chan() 233 return retval; in si470x_set_chan() 261 int chan, retval; in si470x_get_freq() local 264 retval = radio->get_register(radio, READCHAN); in si470x_get_freq() [all …]
|
/Linux-v6.1/sound/core/ |
D | compress_offload.c | 285 int retval; in snd_compr_write() local 311 retval = stream->ops->copy(stream, cbuf, avail); in snd_compr_write() 313 retval = snd_compr_write_data(stream, buf, avail); in snd_compr_write() 315 if (retval > 0) in snd_compr_write() 316 stream->runtime->total_bytes_available += retval; in snd_compr_write() 326 return retval; in snd_compr_write() 336 int retval; in snd_compr_read() local 353 retval = -EBADFD; in snd_compr_read() 356 retval = -EPIPE; in snd_compr_read() 367 retval = stream->ops->copy(stream, buf, avail); in snd_compr_read() [all …]
|