Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/spi/
Dspi-bcm63xx-hsspi.c144 u32 prepend_cnt; member
282 bs->prepend_cnt = 0; in bcm63xx_prepare_prepend_transfer()
293 if (bs->prepend_cnt + t->len > in bcm63xx_prepare_prepend_transfer()
308 memcpy(bs->prepend_buf + bs->prepend_cnt, t->tx_buf, t->len); in bcm63xx_prepare_prepend_transfer()
309 bs->prepend_cnt += t->len; in bcm63xx_prepare_prepend_transfer()
327 t_prepend->len = bs->prepend_cnt; in bcm63xx_prepare_prepend_transfer()
329 bs->prepend_cnt = 0; in bcm63xx_prepare_prepend_transfer()
336 if (bs->prepend_cnt > HSSPI_MAX_PREPEND_LEN) { in bcm63xx_prepare_prepend_transfer()
362 if (t->len + bs->prepend_cnt > (HSSPI_BUFFER_LEN - HSSPI_OPCODE_LEN)) { in bcm63xx_hsspi_do_prepend_txrx()
365 t->len, bs->prepend_cnt); in bcm63xx_hsspi_do_prepend_txrx()
[all …]