summaryrefstree
path: root/kernel/include/uapi/sound/sounddev_abox.h
blob: 0af2acfdf6178142c0a1accfaf3b8340853acd8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* include/uapi/sound/sounddev_abox.h
 *
 * ALSA SoC Audio Layer - Samsung Abox IOCTL header
 *
 * Copyright (c) 2018 Samsung Electronics Co. Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

#ifndef __SND_DEV_ABOX_H
#define __SND_DEV_ABOX_H

struct snd_pcm_mmap_fd {
	int32_t dir;
	int32_t fd;
	int32_t size;
	int32_t actual_size;
};

#define SNDRV_PCM_IOCTL_MMAP_DATA_FD    _IOWR('U', 0xd2, struct snd_pcm_mmap_fd)

#endif