Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/base/regmap/
Dregmap-spi-avmm.c74 #define SPI_AVMM_VAL_SIZE 4UL macro
106 #define TRANS_WR_TX_SIZE(n) (TRANS_REQ_HD_SIZE + SPI_AVMM_VAL_SIZE * (n))
110 #define TRANS_RD_RX_SIZE(n) (SPI_AVMM_VAL_SIZE * (n))
208 header->size = cpu_to_be16((u16)count * SPI_AVMM_VAL_SIZE); in br_trans_tx_prepare()
214 trans_len += SPI_AVMM_VAL_SIZE * count; in br_trans_tx_prepare()
512 if (expected_count * SPI_AVMM_VAL_SIZE != trans_len) in br_rd_trans_rx_parse()
541 if (!val_len || val_len != expected_count * SPI_AVMM_VAL_SIZE) in br_wr_trans_rx_parse()
545 if ((val_len == SPI_AVMM_VAL_SIZE && code != TRANS_CODE_WRITE) || in br_wr_trans_rx_parse()
546 (val_len > SPI_AVMM_VAL_SIZE && code != TRANS_CODE_SEQ_WRITE)) in br_wr_trans_rx_parse()
591 if (!IS_ALIGNED(val_len, SPI_AVMM_VAL_SIZE)) in regmap_spi_avmm_gather_write()
[all …]