Searched refs:dln2_buf (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/spi/
H A Dspi-dln2.c358 static int dln2_spi_copy_to_buf(u8 *dln2_buf, const u8 *src, u16 len, u8 bpw) dln2_spi_copy_to_buf() argument
361 memcpy(dln2_buf, src, len); dln2_spi_copy_to_buf()
364 memcpy(dln2_buf, src, len); dln2_spi_copy_to_buf()
366 __le16 *d = (__le16 *)dln2_buf; dln2_spi_copy_to_buf()
373 __le32 *d = (__le32 *)dln2_buf; dln2_spi_copy_to_buf()
388 * of word size. The RX dln2_buf is 2 byte aligned so, for BE, we have to make
391 static int dln2_spi_copy_from_buf(u8 *dest, const u8 *dln2_buf, u16 len, u8 bpw) dln2_spi_copy_from_buf() argument
394 memcpy(dest, dln2_buf, len); dln2_spi_copy_from_buf()
397 memcpy(dest, dln2_buf, len); dln2_spi_copy_from_buf()
400 __le16 *s = (__le16 *)dln2_buf; dln2_spi_copy_from_buf()
407 __le32 *s = (__le32 *)dln2_buf; dln2_spi_copy_from_buf()

Completed in 45 milliseconds