![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 #ifndef _OMAP2_MCSPI_H 0003 #define _OMAP2_MCSPI_H 0004 0005 #define OMAP4_MCSPI_REG_OFFSET 0x100 0006 0007 #define MCSPI_PINDIR_D0_IN_D1_OUT 0 0008 #define MCSPI_PINDIR_D0_OUT_D1_IN 1 0009 0010 struct omap2_mcspi_platform_config { 0011 unsigned short num_cs; 0012 unsigned int regs_offset; 0013 unsigned int pin_dir:1; 0014 size_t max_xfer_len; 0015 }; 0016 0017 struct omap2_mcspi_device_config { 0018 unsigned turbo_mode:1; 0019 0020 /* toggle chip select after every word */ 0021 unsigned cs_per_word:1; 0022 }; 0023 0024 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |