linux-stable/include/linux/spi
Christophe JAILLET 9d77522b45
spi: Reorder fields in 'struct spi_transfer'
Group some variables based on their sizes to reduce hole and avoid padding.
On x86_64, this shrinks the size from 144 to 128 bytes.

Turn 'timestamped' into a bitfield so that it can be easily merged with
some other bifields and move 'error'.

This should have no real impact on memory allocation because 'struct
spi_transfer' is mostly used on stack, but it can save a few cycles
when the structure is initialized or copied.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/93a051da85a895bc6003aedfb00a13e1c2fc6338.1676370870.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-02-14 13:27:58 +00:00
..
ad7877.h
ads7846.h
altera.h spi: altera: switch to use modern name 2022-12-29 13:22:03 +00:00
at73c213.h
at86rf230.h
cc2520.h
corgi_lcd.h
ds1305.h
eeprom.h
flash.h
libertas_spi.h
max7301.h
mc33880.h
mmc_spi.h
mxs-spi.h
pxa2xx_spi.h
rspi.h
s3c24xx-fiq.h
s3c24xx.h
sh_hspi.h
sh_msiof.h
spi-fsl-dspi.h
spi-mem.h spi: spi-mem: Fix typo (of -> or) 2022-10-10 13:01:19 +01:00
spi.h spi: Reorder fields in 'struct spi_transfer' 2023-02-14 13:27:58 +00:00
spi_bitbang.h
spi_gpio.h
spi_oc_tiny.h
tdo24m.h
tle62x0.h
xilinx_spi.h