/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/flash.h (1023B)
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef LINUX_SPI_FLASH_H #define LINUX_SPI_FLASH_H struct mtd_partition; /** * struct flash_platform_data: board-specific flash data * @name: optional flash device name (eg, as used with mtdparts=) * @parts: optional array of mtd_partitions for static partitioning * @nr_parts: number of mtd_partitions for static partitioning * @type: optional flash device type (e.g. m25p80 vs m25p64), for use * with chips that can't be queried for JEDEC or other IDs * * Board init code (in arch/.../mach-xxx/board-yyy.c files) can * provide information about SPI flash parts (such as DataFlash) to * help set up the device and its appropriate default partitioning. * * Note that for DataFlash, sizes for pages, blocks, and sectors are * rarely powers of two; and partitions should be sector-aligned. */ struct flash_platform_data { char *name; struct mtd_partition *parts; unsigned int nr_parts; char *type; /* we'll likely add more ... use JEDEC IDs, etc */ }; #endif