/usr/src/linux-headers-5.15.0-181/include/linux/spi
NameSizeModeActions
ad7877.h8350644editdlrm
ads7846.h20650644editdlrm
altera.h11740644editdlrm
at73c213.h8280644editdlrm
at86rf230.h3290644editdlrm
cc2520.h4100644editdlrm
corgi_lcd.h3770644editdlrm
ds1305.h11070644editdlrm
eeprom.h12170644editdlrm
flash.h10230644editdlrm
libertas_spi.h7000644editdlrm
max7301.h9460644editdlrm
mc33880.h1960644editdlrm
mmc_spi.h13030644editdlrm
mxs-spi.h49110644editdlrm
pxa2xx_spi.h12800644editdlrm
rspi.h3040644editdlrm
s3c24xx-fiq.h7880644editdlrm
s3c24xx.h6840644editdlrm
sh_hspi.h1610644editdlrm
sh_msiof.h3570644editdlrm
spi-fsl-dspi.h5600644editdlrm
spi-mem.h133540644editdlrm
spi.h578440644editdlrm
spi_bitbang.h15990644editdlrm
spi_gpio.h7240644editdlrm
spi_oc_tiny.h4710644editdlrm
tdo24m.h2100644editdlrm
tle62x0.h2650644editdlrm
xilinx_spi.h6270644editdlrm
Edit: /usr/src/linux-headers-5.15.0-181/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