29 lines · c
1/* SPDX-License-Identifier: GPL-2.0 */2#ifndef __INCLUDED_TEA6415C__3#define __INCLUDED_TEA6415C__4 5/* the tea6415c's design is quite brain-dead. although there are6 8 inputs and 6 outputs, these aren't enumerated in any way. because7 I don't want to say "connect input pin 20 to output pin 17", I define8 a "virtual" pin-order. */9 10/* input pins */11#define TEA6415C_OUTPUT1 1812#define TEA6415C_OUTPUT2 1413#define TEA6415C_OUTPUT3 1614#define TEA6415C_OUTPUT4 1715#define TEA6415C_OUTPUT5 1316#define TEA6415C_OUTPUT6 1517 18/* output pins */19#define TEA6415C_INPUT1 520#define TEA6415C_INPUT2 821#define TEA6415C_INPUT3 322#define TEA6415C_INPUT4 2023#define TEA6415C_INPUT5 624#define TEA6415C_INPUT6 1025#define TEA6415C_INPUT7 126#define TEA6415C_INPUT8 1127 28#endif29