Lines Matching refs:result
307 int result; in snd_als4000_get_format() local
309 result = 0; in snd_als4000_get_format()
311 result |= ALS4000_FORMAT_SIGNED; in snd_als4000_get_format()
313 result |= ALS4000_FORMAT_16BIT; in snd_als4000_get_format()
315 result |= ALS4000_FORMAT_STEREO; in snd_als4000_get_format()
316 return result; in snd_als4000_get_format()
437 int result = 0; in snd_als4000_capture_trigger() local
460 result = -EINVAL; in snd_als4000_capture_trigger()
464 return result; in snd_als4000_capture_trigger()
470 int result = 0; in snd_als4000_playback_trigger() local
485 result = -EINVAL; in snd_als4000_playback_trigger()
489 return result; in snd_als4000_playback_trigger()
495 unsigned int result; in snd_als4000_capture_pointer() local
498 result = snd_als4k_gcr_read(chip, ALS4K_GCRA4_FIFO2_CURRENT_ADDR); in snd_als4000_capture_pointer()
500 result &= 0xffff; in snd_als4000_capture_pointer()
501 return bytes_to_frames( substream->runtime, result ); in snd_als4000_capture_pointer()
507 unsigned result; in snd_als4000_playback_pointer() local
510 result = snd_als4k_gcr_read(chip, ALS4K_GCRA0_FIFO1_CURRENT_ADDR); in snd_als4000_playback_pointer()
512 result &= 0xffff; in snd_als4000_playback_pointer()
513 return bytes_to_frames( substream->runtime, result ); in snd_als4000_playback_pointer()