Home
last modified time | relevance | path

Searched refs:swap_buf (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/tinydrm/core/
Dtinydrm-helpers.c392 u16 *swap_buf = NULL; in tinydrm_spi_transfer() local
409 swap_buf = kmalloc(min(len, max_chunk), GFP_KERNEL); in tinydrm_spi_transfer()
410 if (!swap_buf) in tinydrm_spi_transfer()
426 if (swap_buf) { in tinydrm_spi_transfer()
431 swap_buf[i] = swab16(buf16[i]); in tinydrm_spi_transfer()
433 tr.tx_buf = swap_buf; in tinydrm_spi_transfer()
/Linux-v4.19/drivers/tty/serial/
Difx6x60.h112 void (*swap_buf)(unsigned char *buf, int len, void *end); member
Difx6x60.c473 ifx_dev->swap_buf((ifx_dev->tx_buffer), tx_count, in ifx_spi_prepare_tx_buffer()
652 ifx_dev->swap_buf(ifx_dev->rx_buffer, IFX_SPI_HEADER_OVERHEAD, in ifx_spi_complete()
671 ifx_dev->swap_buf( in ifx_spi_complete()
1036 ifx_dev->swap_buf = swap_buf_32; in ifx_spi_spi_probe()
1038 ifx_dev->swap_buf = swap_buf_16; in ifx_spi_spi_probe()
1040 ifx_dev->swap_buf = swap_buf_8; in ifx_spi_spi_probe()
/Linux-v4.19/net/bluetooth/
Dsmp.c161 static inline void swap_buf(const u8 *src, u8 *dst, size_t len) in swap_buf() function
192 swap_buf(k, tmp, 16); in aes_cmac()
193 swap_buf(m, msg_msb, len); in aes_cmac()
211 swap_buf(mac_msb, mac, 16); in aes_cmac()
397 swap_buf(k, tmp, 16); in smp_e()
406 swap_buf(r, data, 16); in smp_e()
411 swap_buf(data, r, 16); in smp_e()