/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() 282 int retval = 0; in snd_at73c213_pcm_trigger() local 297 retval = -EINVAL; in snd_at73c213_pcm_trigger() 303 return retval; in snd_at73c213_pcm_trigger() 338 int retval; in snd_at73c213_pcm_new() local 340 retval = snd_pcm_new(chip->card, chip->card->shortname, in snd_at73c213_pcm_new() 342 if (retval < 0) in snd_at73c213_pcm_new() [all …]
|
/sound/core/ |
D | compress_offload.c | 291 int retval; in snd_compr_write() local 317 retval = stream->ops->copy(stream, cbuf, avail); in snd_compr_write() 319 retval = snd_compr_write_data(stream, buf, avail); in snd_compr_write() 321 if (retval > 0) in snd_compr_write() 322 stream->runtime->total_bytes_available += retval; in snd_compr_write() 332 return retval; in snd_compr_write() 342 int retval; in snd_compr_read() local 359 retval = -EBADFD; in snd_compr_read() 362 retval = -EPIPE; in snd_compr_read() 373 retval = stream->ops->copy(stream, buf, avail); in snd_compr_read() [all …]
|
/sound/soc/intel/atom/sst/ |
D | sst_stream.c | 153 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() 244 int retval = 0; in sst_pause_stream() local 258 retval = sst_prepare_and_post_msg(sst_drv_ctx, str_info->task_id, IPC_CMD, in sst_pause_stream() 262 if (retval == 0) { in sst_pause_stream() 265 } else if (retval == -SST_ERR_INVALID_STREAM_ID) { in sst_pause_stream() 266 retval = -EINVAL; in sst_pause_stream() 272 retval = -EBADRQC; in sst_pause_stream() 276 return retval; in sst_pause_stream() [all …]
|
D | sst_drv_interface.c | 65 int retval; in sst_get_stream_allocated() local 67 retval = ctx->ops->alloc_stream(ctx, str_param); in sst_get_stream_allocated() 68 if (retval > 0) in sst_get_stream_allocated() 69 dev_dbg(ctx->dev, "Stream allocated %d\n", retval); in sst_get_stream_allocated() 70 return retval; in sst_get_stream_allocated() 120 int retval; in sst_get_stream() local 124 retval = ctx->ops->alloc_stream(ctx, str_param); in sst_get_stream() 125 if (retval <= 0) { in sst_get_stream() 129 str_info = &ctx->streams[retval]; in sst_get_stream() 132 return retval; in sst_get_stream() [all …]
|
D | sst_pvt.c | 85 int retval = 0; in sst_wait_interruptible() local 93 retval = -EBUSY; in sst_wait_interruptible() 96 retval = 0; in sst_wait_interruptible() 100 retval = -EINTR; in sst_wait_interruptible() 102 return retval; in sst_wait_interruptible() 117 int retval = 0; in sst_wait_timeout() local 135 retval = -block->ret_code; in sst_wait_timeout() 143 retval = -EBUSY; in sst_wait_timeout() 145 return retval; in sst_wait_timeout() 191 int retval = 0; in sst_create_block_and_ipc_msg() local [all …]
|
D | sst_loader.c | 289 int retval = 0; in sst_cache_and_parse_fw() local 293 retval = -ENOMEM; in sst_cache_and_parse_fw() 299 retval = sst_parse_fw_memcpy(sst, fw->size, &sst->memcpy_list); in sst_cache_and_parse_fw() 300 if (retval) { in sst_cache_and_parse_fw() 308 return retval; in sst_cache_and_parse_fw() 345 int retval = 0; in sst_request_fw() local 348 retval = request_firmware(&fw, sst->firmware_name, sst->dev); in sst_request_fw() 349 if (retval) { in sst_request_fw() 350 dev_err(sst->dev, "request fw failed %d\n", retval); in sst_request_fw() 351 return retval; in sst_request_fw() [all …]
|
D | sst_ipc.c | 122 int retval = 0; in sst_post_message_mrfld() local 133 retval = -EBUSY; in sst_post_message_mrfld() 176 return retval; in sst_post_message_mrfld() 221 int retval = 0; in process_fw_init() local 228 retval = init->result; in process_fw_init() 246 sst_wake_up_block(sst_drv_ctx, retval, FW_DWNL_ID, 0 , NULL, 0); in process_fw_init()
|
D | sst.c | 53 irqreturn_t retval = IRQ_HANDLED; in intel_sst_interrupt_mrfld() local 73 retval = IRQ_HANDLED; in intel_sst_interrupt_mrfld() 109 retval = IRQ_WAKE_THREAD; in intel_sst_interrupt_mrfld() 111 return retval; in intel_sst_interrupt_mrfld()
|
/sound/aoa/soundbus/ |
D | core.c | 63 int retval = 0; in soundbus_uevent() local 76 retval = add_uevent_var(env, "OF_NAME=%pOFn", of->dev.of_node); in soundbus_uevent() 77 if (retval) in soundbus_uevent() 78 return retval; in soundbus_uevent() 80 retval = add_uevent_var(env, "OF_TYPE=%s", of_node_get_device_type(of->dev.of_node)); in soundbus_uevent() 81 if (retval) in soundbus_uevent() 82 return retval; in soundbus_uevent() 91 retval = add_uevent_var(env, "OF_COMPATIBLE_%d=%s", seen, compat); in soundbus_uevent() 92 if (retval) in soundbus_uevent() 93 return retval; in soundbus_uevent() [all …]
|
/sound/atmel/ |
D | ac97c.c | 162 int retval; in atmel_ac97c_playback_hw_params() local 164 retval = snd_pcm_lib_malloc_pages(substream, in atmel_ac97c_playback_hw_params() 166 if (retval < 0) in atmel_ac97c_playback_hw_params() 167 return retval; in atmel_ac97c_playback_hw_params() 175 return retval; in atmel_ac97c_playback_hw_params() 182 int retval; in atmel_ac97c_capture_hw_params() local 184 retval = snd_pcm_lib_malloc_pages(substream, in atmel_ac97c_capture_hw_params() 186 if (retval < 0) in atmel_ac97c_capture_hw_params() 187 return retval; in atmel_ac97c_capture_hw_params() 195 return retval; in atmel_ac97c_capture_hw_params() [all …]
|
/sound/soc/intel/atom/ |
D | sst-mfld-platform-compress.c | 98 int retval; in sst_platform_compr_set_params() local 110 retval = sst_fill_stream_params(cstream, ctx, &str_params, true); in sst_platform_compr_set_params() 111 pr_debug("compr_set_params: fill stream params ret_val = 0x%x\n", retval); in sst_platform_compr_set_params() 112 if (retval < 0) in sst_platform_compr_set_params() 113 return retval; in sst_platform_compr_set_params() 159 retval = stream->compr_ops->open(sst->dev, &str_params, &cb); in sst_platform_compr_set_params() 160 if (retval < 0) { in sst_platform_compr_set_params() 161 pr_err("stream allocation failed %d\n", retval); in sst_platform_compr_set_params() 162 return retval; in sst_platform_compr_set_params() 165 stream->id = retval; in sst_platform_compr_set_params()
|
/sound/usb/line6/ |
D | driver.c | 110 int retval; in line6_send_raw_message() local 113 retval = usb_interrupt_msg(line6->usbdev, in line6_send_raw_message() 118 retval = usb_bulk_msg(line6->usbdev, in line6_send_raw_message() 124 if (retval) { in line6_send_raw_message() 126 "usb_bulk_msg failed (%d)\n", retval); in line6_send_raw_message() 156 int retval; in line6_send_raw_message_async_part() local 176 retval = usb_urb_ep_type_check(urb); in line6_send_raw_message_async_part() 177 if (retval < 0) in line6_send_raw_message_async_part() 180 retval = usb_submit_urb(urb, GFP_ATOMIC); in line6_send_raw_message_async_part() 181 if (retval < 0) in line6_send_raw_message_async_part() [all …]
|
D | midi.c | 110 int retval; in send_midi_async() local 131 retval = usb_urb_ep_type_check(urb); in send_midi_async() 132 if (retval < 0) in send_midi_async() 135 retval = usb_submit_urb(urb, GFP_ATOMIC); in send_midi_async() 136 if (retval < 0) in send_midi_async() 145 return retval; in send_midi_async()
|
/sound/x86/ |
D | intel_hdmi_audio.c | 1063 int retval; in had_pcm_open() local 1073 retval = snd_pcm_hw_constraint_integer(runtime, in had_pcm_open() 1075 if (retval < 0) in had_pcm_open() 1081 retval = snd_pcm_hw_constraint_step(substream->runtime, 0, in had_pcm_open() 1083 if (retval < 0) in had_pcm_open() 1086 retval = snd_pcm_hw_constraint_msbits(runtime, 0, 32, 24); in had_pcm_open() 1087 if (retval < 0) in had_pcm_open() 1096 return retval; in had_pcm_open() 1100 return retval; in had_pcm_open() 1135 int buf_size, retval; in had_pcm_hw_params() local [all …]
|
/sound/isa/ad1816a/ |
D | ad1816a_lib.c | 79 unsigned char retval = AD1816A_FMT_LINEAR_8; in snd_ad1816a_get_format() local 83 retval = AD1816A_FMT_ULAW_8; in snd_ad1816a_get_format() 86 retval = AD1816A_FMT_ALAW_8; in snd_ad1816a_get_format() 89 retval = AD1816A_FMT_LINEAR_16_LIT; in snd_ad1816a_get_format() 92 retval = AD1816A_FMT_LINEAR_16_BIG; in snd_ad1816a_get_format() 94 return (channels > 1) ? (retval | AD1816A_FMT_STEREO) : retval; in snd_ad1816a_get_format()
|
/sound/isa/opti9xx/ |
D | opti92x-ad1848.c | 237 unsigned char retval = 0xff; in snd_opti9xx_read() local 249 retval = inb(chip->mc_base + 9); in snd_opti9xx_read() 256 retval = inb(chip->mc_base + reg); in snd_opti9xx_read() 265 retval = inb(chip->mc_indir_index + 1); in snd_opti9xx_read() 274 return retval; in snd_opti9xx_read()
|
D | miro.c | 814 unsigned char retval = 0xff; in snd_miro_read() local 824 retval = inb(chip->mc_base + 9); in snd_miro_read() 830 retval = inb(chip->mc_base + reg); in snd_miro_read() 838 return retval; in snd_miro_read()
|
/sound/pci/asihpi/ |
D | hpicmn.c | 59 u16 retval = 0; in hpi_add_adapter() local 65 retval = HPI_ERROR_BAD_ADAPTER_NUMBER; in hpi_add_adapter() 81 retval = HPI_ERROR_DUPLICATE_ADAPTER_NUMBER; in hpi_add_adapter() 91 return retval; in hpi_add_adapter()
|
/sound/isa/ |
D | sscape.c | 701 int retval = 0; in detect_sscape() local 781 retval = 1; in detect_sscape() 785 return retval; in detect_sscape()
|