Lines Matching refs:snd_serial_generic
40 struct snd_serial_generic { struct
56 static void snd_serial_generic_tx_wakeup(struct snd_serial_generic *drvdata) in snd_serial_generic_tx_wakeup() argument
70 struct snd_serial_generic *drvdata = container_of(work, struct snd_serial_generic, in snd_serial_generic_tx_work()
98 struct snd_serial_generic *drvdata = serdev_device_get_drvdata(serdev); in snd_serial_generic_write_wakeup()
107 struct snd_serial_generic *drvdata = serdev_device_get_drvdata(serdev); in snd_serial_generic_receive_buf()
121 static int snd_serial_generic_ensure_serdev_open(struct snd_serial_generic *drvdata) in snd_serial_generic_ensure_serdev_open()
148 struct snd_serial_generic *drvdata = substream->rmidi->card->private_data; in snd_serial_generic_input_open()
164 struct snd_serial_generic *drvdata = substream->rmidi->card->private_data; in snd_serial_generic_input_close()
182 struct snd_serial_generic *drvdata = substream->rmidi->card->private_data; in snd_serial_generic_input_trigger()
192 struct snd_serial_generic *drvdata = substream->rmidi->card->private_data; in snd_serial_generic_output_open()
210 struct snd_serial_generic *drvdata = substream->rmidi->card->private_data; in snd_serial_generic_output_close()
229 struct snd_serial_generic *drvdata = substream->rmidi->card->private_data; in snd_serial_generic_output_trigger()
242 struct snd_serial_generic *drvdata = substream->rmidi->card->private_data; in snd_serial_generic_output_drain()
263 struct snd_serial_generic *drvdata) in snd_serial_generic_parse_dt()
287 static int snd_serial_generic_rmidi(struct snd_serial_generic *drvdata, in snd_serial_generic_rmidi()
322 struct snd_serial_generic *drvdata; in snd_serial_generic_probe()
327 sizeof(struct snd_serial_generic), &card); in snd_serial_generic_probe()