Lines Matching refs:result
306 int result; in snd_als4000_get_format() local
308 result = 0; in snd_als4000_get_format()
310 result |= ALS4000_FORMAT_SIGNED; in snd_als4000_get_format()
312 result |= ALS4000_FORMAT_16BIT; in snd_als4000_get_format()
314 result |= ALS4000_FORMAT_STEREO; in snd_als4000_get_format()
315 return result; in snd_als4000_get_format()
424 int result = 0; in snd_als4000_capture_trigger() local
447 result = -EINVAL; in snd_als4000_capture_trigger()
451 return result; in snd_als4000_capture_trigger()
457 int result = 0; in snd_als4000_playback_trigger() local
472 result = -EINVAL; in snd_als4000_playback_trigger()
476 return result; in snd_als4000_playback_trigger()
482 unsigned int result; in snd_als4000_capture_pointer() local
485 result = snd_als4k_gcr_read(chip, ALS4K_GCRA4_FIFO2_CURRENT_ADDR); in snd_als4000_capture_pointer()
487 result &= 0xffff; in snd_als4000_capture_pointer()
488 return bytes_to_frames( substream->runtime, result ); in snd_als4000_capture_pointer()
494 unsigned result; in snd_als4000_playback_pointer() local
497 result = snd_als4k_gcr_read(chip, ALS4K_GCRA0_FIFO1_CURRENT_ADDR); in snd_als4000_playback_pointer()
499 result &= 0xffff; in snd_als4000_playback_pointer()
500 return bytes_to_frames( substream->runtime, result ); in snd_als4000_playback_pointer()