Linux Audio

Check our new training course

In-person Linux kernel drivers training

Jun 16-20, 2025
Register
Loading...
v6.13.7
 1/* SPDX-License-Identifier: GPL-2.0-or-later */
 2/*
 3 * Linux driver for M2Tech hiFace compatible devices
 4 *
 5 * Copyright 2012-2013 (C) M2TECH S.r.l and Amarula Solutions B.V.
 6 *
 7 * Authors:  Michael Trimarchi <michael@amarulasolutions.com>
 8 *           Antonio Ospite <ao2@amarulasolutions.com>
 9 *
10 * The driver is based on the work done in TerraTec DMX 6Fire USB
11 */
12
13#ifndef HIFACE_CHIP_H
14#define HIFACE_CHIP_H
15
16#include <linux/usb.h>
17#include <sound/core.h>
18
19struct pcm_runtime;
20
21struct hiface_chip {
22	struct usb_device *dev;
23	struct snd_card *card;
24	struct pcm_runtime *pcm;
25};
26#endif /* HIFACE_CHIP_H */
v5.4
 1/* SPDX-License-Identifier: GPL-2.0-or-later */
 2/*
 3 * Linux driver for M2Tech hiFace compatible devices
 4 *
 5 * Copyright 2012-2013 (C) M2TECH S.r.l and Amarula Solutions B.V.
 6 *
 7 * Authors:  Michael Trimarchi <michael@amarulasolutions.com>
 8 *           Antonio Ospite <ao2@amarulasolutions.com>
 9 *
10 * The driver is based on the work done in TerraTec DMX 6Fire USB
11 */
12
13#ifndef HIFACE_CHIP_H
14#define HIFACE_CHIP_H
15
16#include <linux/usb.h>
17#include <sound/core.h>
18
19struct pcm_runtime;
20
21struct hiface_chip {
22	struct usb_device *dev;
23	struct snd_card *card;
24	struct pcm_runtime *pcm;
25};
26#endif /* HIFACE_CHIP_H */