Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/spi/
Dspi-sirf.c277 int word_width; /* in bytes */ member
470 if (sspi->word_width == 1 && !(spi->mode & SPI_LSB_FIRST)) in spi_sirfsoc_cmd_transfer()
473 if (sspi->word_width == 2 && t->len == 4 && in spi_sirfsoc_cmd_transfer()
534 writel(sspi->left_tx_word * sspi->word_width, in spi_sirfsoc_dma_transfer()
536 writel(sspi->left_tx_word * sspi->word_width, in spi_sirfsoc_dma_transfer()
627 writel(min((sspi->left_tx_word * sspi->word_width), in spi_sirfsoc_pio_transfer()
630 writel(min((sspi->left_rx_word * sspi->word_width), in spi_sirfsoc_pio_transfer()
640 writel(min((sspi->left_tx_word * sspi->word_width), in spi_sirfsoc_pio_transfer()
643 writel(min((sspi->left_rx_word * sspi->word_width), in spi_sirfsoc_pio_transfer()
659 data_units = sspi->fifo_size / sspi->word_width; in spi_sirfsoc_pio_transfer()
[all …]
/Linux-v5.4/sound/soc/fsl/
Dfsl_asrc.c506 int word_width, ret; in fsl_asrc_dai_hw_params() local
522 word_width = ASRC_WIDTH_16_BIT; in fsl_asrc_dai_hw_params()
524 word_width = ASRC_WIDTH_24_BIT; in fsl_asrc_dai_hw_params()
533 config.output_word_width = word_width; in fsl_asrc_dai_hw_params()
537 config.input_word_width = word_width; in fsl_asrc_dai_hw_params()
Dfsl_sai.c423 u32 word_width = params_width(params); in fsl_sai_hw_params() local
426 u32 slot_width = word_width; in fsl_sai_hw_params()
466 val_cr5 |= FSL_SAI_CR5_FBT(word_width - 1); in fsl_sai_hw_params()