diff options
author | Christian Pointner <equinox@helsinki.at> | 2024-05-10 18:52:23 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2024-05-10 18:52:23 (GMT) |
commit | a641800acf13b5fb1463d4280c3ee7fc267143fb (patch) | |
tree | 248b647a682f71d9eb90d14d24081368ea905a42 /snd-alpx/alpx_gpio.h | |
parent | cc4badffe0e02d159c21eb90ea080a6a2f90cb4b (diff) |
import whole driver package
Diffstat (limited to 'snd-alpx/alpx_gpio.h')
-rw-r--r-- | snd-alpx/alpx_gpio.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/snd-alpx/alpx_gpio.h b/snd-alpx/alpx_gpio.h deleted file mode 100644 index 90395a0..0000000 --- a/snd-alpx/alpx_gpio.h +++ /dev/null @@ -1,25 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* -* Support for Digigram AlpX PCI-e boards -* -* Copyright (c) 2024 Digigram Digital (info@digigram.com) -*/ - -#ifndef _ALPX_GPIOS_H -#define _ALPX_GPIOS_H -#include "alpx.h" - -#include <linux/gpio.h> -#include <linux/gpio/driver.h> - -int alpx_gpio_get(struct gpio_chip *chip, unsigned offset); -void alpx_gpio_set(struct gpio_chip *chip, unsigned offset, - int gpio_value); -int alpx_gpio_get_direction(struct gpio_chip *chip, unsigned offset); -int alpx_gpio_direction_output(struct gpio_chip *chip, unsigned offset, - int gpio_value); -int alpx_gpio_direction_input(struct gpio_chip *chip, unsigned offset); -int alpx_gpio_register(struct alpx_device *alpx_dev, const char* card_name); -void alpx_gpio_unregister(struct alpx_device *alpx_dev); - -#endif |