Searched refs:ipcm (Results 1 – 2 of 2) sorted by relevance
1087 struct snd_emu10k1_fx8010_pcm_rec *ipcm) in snd_emu10k1_ipcm_poke() argument1093 if (ipcm->substream >= EMU10K1_FX8010_PCM_COUNT) in snd_emu10k1_ipcm_poke()1095 ipcm->substream = array_index_nospec(ipcm->substream, in snd_emu10k1_ipcm_poke()1097 if (ipcm->channels > 32) in snd_emu10k1_ipcm_poke()1099 pcm = &emu->fx8010.pcm[ipcm->substream]; in snd_emu10k1_ipcm_poke()1106 if (ipcm->channels == 0) { /* remove */ in snd_emu10k1_ipcm_poke()1110 if (ipcm->channels != 2) { in snd_emu10k1_ipcm_poke()1116 pcm->channels = ipcm->channels; in snd_emu10k1_ipcm_poke()1117 pcm->tram_start = ipcm->tram_start; in snd_emu10k1_ipcm_poke()1118 pcm->buffer_size = ipcm->buffer_size; in snd_emu10k1_ipcm_poke()[all …]
88 static inline void ipcm_init(struct ipcm_cookie *ipcm) in ipcm_init() argument90 *ipcm = (struct ipcm_cookie) { .tos = -1 }; in ipcm_init()93 static inline void ipcm_init_sk(struct ipcm_cookie *ipcm, in ipcm_init_sk() argument96 ipcm_init(ipcm); in ipcm_init_sk()98 ipcm->sockc.mark = READ_ONCE(inet->sk.sk_mark); in ipcm_init_sk()99 ipcm->sockc.tsflags = READ_ONCE(inet->sk.sk_tsflags); in ipcm_init_sk()100 ipcm->oif = READ_ONCE(inet->sk.sk_bound_dev_if); in ipcm_init_sk()101 ipcm->addr = inet->inet_saddr; in ipcm_init_sk()102 ipcm->protocol = inet->inet_num; in ipcm_init_sk()