/usr/src/kernels/4.18.0-553.157.1.el8_10.x86_64/include/linux/spi
NameSizeModeActions
ad7877.h8350644editdlrm
adi_spi3.h154670644editdlrm
ads7846.h20650644editdlrm
at73c213.h8280644editdlrm
at86rf230.h7240644editdlrm
cc2520.h6200644editdlrm
corgi_lcd.h4600644editdlrm
ds1305.h11070644editdlrm
eeprom.h12170644editdlrm
flash.h10230644editdlrm
ifx_modem.h6160644editdlrm
l4f00242t03.h8470644editdlrm
libertas_spi.h9070644editdlrm
lms283gf05.h7750644editdlrm
max7301.h9390644editdlrm
mc33880.h1960644editdlrm
mcp23s08.h6850644editdlrm
mmc_spi.h19580644editdlrm
mxs-spi.h53670644editdlrm
pxa2xx_spi.h15350644editdlrm
rspi.h7150644editdlrm
s3c24xx.h8160644editdlrm
sh_hspi.h5720644editdlrm
sh_msiof.h3570644editdlrm
spi-fsl-dspi.h9550644editdlrm
spi-mem.h70630644editdlrm
spi.h515230644editdlrm
spi_bitbang.h15440644editdlrm
spi_gpio.h7240644editdlrm
spi_oc_tiny.h6280644editdlrm
tdo24m.h2100644editdlrm
tle62x0.h6600644editdlrm
xilinx_spi.h6270644editdlrm
Edit: /usr/src/kernels/4.18.0-553.157.1.el8_10.x86_64/include/linux/spi/max7301.h (939B)
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef LINUX_SPI_MAX7301_H #define LINUX_SPI_MAX7301_H #include /* * Some registers must be read back to modify. * To save time we cache them here in memory */ struct max7301 { struct mutex lock; u8 port_config[8]; /* field 0 is unused */ u32 out_level; /* cached output levels */ u32 input_pullup_active; struct gpio_chip chip; struct device *dev; int (*write)(struct device *dev, unsigned int reg, unsigned int val); int (*read)(struct device *dev, unsigned int reg); }; struct max7301_platform_data { /* number assigned to the first GPIO */ unsigned base; /* * bitmask controlling the pullup configuration, * * _note_ the 4 lowest bits are unused, because the first 4 * ports of the controller are not used, too. */ u32 input_pullup_active; }; extern int __max730x_remove(struct device *dev); extern int __max730x_probe(struct max7301 *ts); #endif