xref: /kernel/linux/linux-6.6/arch/mips/include/asm/txx9pio.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/arch/mips/include/asm/
162306a36Sopenharmony_ci/*
262306a36Sopenharmony_ci * include/asm-mips/txx9pio.h
362306a36Sopenharmony_ci * TX39/TX49 PIO controller definitions.
462306a36Sopenharmony_ci *
562306a36Sopenharmony_ci * This file is subject to the terms and conditions of the GNU General Public
662306a36Sopenharmony_ci * License.  See the file "COPYING" in the main directory of this archive
762306a36Sopenharmony_ci * for more details.
862306a36Sopenharmony_ci */
962306a36Sopenharmony_ci#ifndef __ASM_TXX9PIO_H
1062306a36Sopenharmony_ci#define __ASM_TXX9PIO_H
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ci#include <linux/types.h>
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_cistruct txx9_pio_reg {
1562306a36Sopenharmony_ci	__u32 dout;
1662306a36Sopenharmony_ci	__u32 din;
1762306a36Sopenharmony_ci	__u32 dir;
1862306a36Sopenharmony_ci	__u32 od;
1962306a36Sopenharmony_ci	__u32 flag[2];
2062306a36Sopenharmony_ci	__u32 pol;
2162306a36Sopenharmony_ci	__u32 intc;
2262306a36Sopenharmony_ci	__u32 maskcpu;
2362306a36Sopenharmony_ci	__u32 maskext;
2462306a36Sopenharmony_ci};
2562306a36Sopenharmony_ci
2662306a36Sopenharmony_ciint txx9_gpio_init(unsigned long baseaddr,
2762306a36Sopenharmony_ci		   unsigned int base, unsigned int num);
2862306a36Sopenharmony_ci
2962306a36Sopenharmony_ci#endif /* __ASM_TXX9PIO_H */
30

Indexes created Thu Nov 07 10:32:03 CST 2024