Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
at master 21 lines 406 B view raw
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _OMAP2_MCSPI_H 3#define _OMAP2_MCSPI_H 4 5#define OMAP4_MCSPI_REG_OFFSET 0x100 6 7#define MCSPI_PINDIR_D0_IN_D1_OUT 0 8#define MCSPI_PINDIR_D0_OUT_D1_IN 1 9 10struct omap2_mcspi_platform_config { 11 unsigned short num_cs; 12 unsigned int regs_offset; 13 unsigned int pin_dir:1; 14 size_t max_xfer_len; 15}; 16 17struct omap2_mcspi_device_config { 18 unsigned turbo_mode:1; 19}; 20 21#endif