source: GPL/trunk/alsa-kernel/include/sound/l3.h

Last change on this file was 777, checked in by David Azarewicz, 6 months ago

Merge from uniaud32-exp branch

File size: 552 bytes
Line 
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _L3_H_
3#define _L3_H_ 1
4
5struct l3_pins {
6 void (*setdat)(struct l3_pins *, int);
7 void (*setclk)(struct l3_pins *, int);
8 void (*setmode)(struct l3_pins *, int);
9
10 int gpio_data;
11 int gpio_clk;
12 int gpio_mode;
13 int use_gpios;
14
15 int data_hold;
16 int data_setup;
17 int clock_high;
18 int mode_hold;
19 int mode;
20 int mode_setup;
21};
22
23struct device;
24
25int l3_write(struct l3_pins *adap, u8 addr, u8 *data, int len);
26int l3_set_gpio_ops(struct device *dev, struct l3_pins *adap);
27
28#endif
Note: See TracBrowser for help on using the repository browser.