Name

spi_split_transfers_maxsize — split spi transfers into multiple transfers when an individual transfer exceeds a certain size

Synopsis

int spi_split_transfers_maxsize (struct spi_master * master,
 struct spi_message * msg,
 size_t maxsize,
 gfp_t gfp);
 

Arguments

master

the spi_master for this transfer

msg

the spi_message to transform

maxsize

the maximum when to apply this

gfp

GFP allocation flags

Return

status of transformation