Searched refs:bpw (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/spi/ |
| H A D | spi-clps711x.c | 32 unsigned int bpw; member 58 hw->bpw = xfer->bits_per_word; in spi_clps711x_transfer_one() 64 writel(data | SYNCIO_FRMLEN(hw->bpw) | SYNCIO_TXFRMEN, hw->syncio); in spi_clps711x_transfer_one() 83 writel(data | SYNCIO_FRMLEN(hw->bpw) | SYNCIO_TXFRMEN, in spi_clps711x_isr()
|
| H A D | spi-fsl-lpspi.c | 95 u8 bpw; member 199 static int fsl_lpspi_bytes_per_word(const int bpw) in fsl_lpspi_bytes_per_word() argument 201 return DIV_ROUND_UP(bpw, BITS_PER_BYTE); in fsl_lpspi_bytes_per_word() 288 temp |= fsl_lpspi->config.bpw - 1; in fsl_lpspi_set_cmd() 380 switch (fsl_lpspi_bytes_per_word(fsl_lpspi->config.bpw)) { in fsl_lpspi_dma_configure() 465 fsl_lpspi->config.bpw = t->bits_per_word; in fsl_lpspi_setup_transfer() 474 if (!fsl_lpspi->config.bpw) in fsl_lpspi_setup_transfer() 475 fsl_lpspi->config.bpw = spi->bits_per_word; in fsl_lpspi_setup_transfer() 478 if (fsl_lpspi->config.bpw <= 8) { in fsl_lpspi_setup_transfer() 481 } else if (fsl_lpspi->config.bpw <= 16) { in fsl_lpspi_setup_transfer()
|
| H A D | spi-stm32.c | 595 u32 packet, bpw; in stm32h7_spi_prepare_fthlv() local 601 bpw = DIV_ROUND_UP(spi->cur_bpw, 8); in stm32h7_spi_prepare_fthlv() 602 return DIV_ROUND_UP(packet, bpw); in stm32h7_spi_prepare_fthlv() 1725 u32 bpw; in stm32f7_spi_set_bpw() local 1728 bpw = spi->cur_bpw - 1; in stm32f7_spi_set_bpw() 1731 cr2_setb |= FIELD_PREP(STM32F7_SPI_CR2_DS, bpw); in stm32f7_spi_set_bpw() 1750 u32 bpw, fthlv; in stm32h7_spi_set_bpw() local 1753 bpw = spi->cur_bpw - 1; in stm32h7_spi_set_bpw() 1756 cfg1_setb |= FIELD_PREP(STM32H7_SPI_CFG1_DSIZE, bpw); in stm32h7_spi_set_bpw()
|
| H A D | spi-ep93xx.c | 99 #define bits_per_word_to_dss(bpw) ((bpw) - 1) argument
|
| /linux/include/drm/ |
| H A D | drm_mipi_dbi.h | 199 u8 bpw, const void *buf, size_t len);
|