Searched refs:rbptr (Results 1 – 5 of 5) sorted by relevance
81 snd_pcm_rbptr_t *rbptr, volatile snd_pcm_shm_rbptr_t *shm_rbptr) in snd_pcm_shm_new_rbptr() argument84 if (&pcm->hw == rbptr) in snd_pcm_shm_new_rbptr()94 shm->ctrl->cmd = &pcm->hw == rbptr ? SND_PCM_IOCTL_HW_PTR_FD : SND_PCM_IOCTL_APPL_PTR_FD; in snd_pcm_shm_new_rbptr()104 if (&pcm->hw == rbptr) in snd_pcm_shm_new_rbptr()
7730 static void snd_pcm_set_ptr(snd_pcm_t *pcm, snd_pcm_rbptr_t *rbptr, in snd_pcm_set_ptr() argument7733 rbptr->master = NULL; /* I'm master */ in snd_pcm_set_ptr()7734 rbptr->ptr = hw_ptr; in snd_pcm_set_ptr()7735 rbptr->fd = fd; in snd_pcm_set_ptr()7736 rbptr->offset = offset; in snd_pcm_set_ptr()7737 if (rbptr->changed) in snd_pcm_set_ptr()7738 rbptr->changed(pcm, NULL); in snd_pcm_set_ptr()
103 } rbptr; member
376 static int shm_rbptr_fd(client_t *client, snd_pcm_rbptr_t *rbptr) in shm_rbptr_fd() argument378 if (rbptr->fd < 0) in shm_rbptr_fd()380 return shm_ack_fd(client, rbptr->fd); in shm_rbptr_fd()
7316 uint8_t *rbptr; in process_data() local7470 rbptr = ((dat_datctl.control2 & CTL2_NULL_REPLACEMENT) == 0)? rbuffer : NULL; in process_data()7474 rbptr, rlen, nbuffer, &nsize); in process_data()