Home
last modified time | relevance | path

Searched refs:SPI_BPW_MASK (Results 1 – 25 of 58) sorted by relevance

123

/openbmc/linux/drivers/spi/
H A Dspi-ar934x.c202 ctlr->bits_per_word_mask = SPI_BPW_MASK(32) | SPI_BPW_MASK(24) | in ar934x_spi_probe()
203 SPI_BPW_MASK(16) | SPI_BPW_MASK(8); in ar934x_spi_probe()
H A Dspi-sh-msiof.c1061 .bits_per_word_mask = SPI_BPW_MASK(8) | SPI_BPW_MASK(16) |
1062 SPI_BPW_MASK(24) | SPI_BPW_MASK(32),
1070 .bits_per_word_mask = SPI_BPW_MASK(8) | SPI_BPW_MASK(16) |
1071 SPI_BPW_MASK(24) | SPI_BPW_MASK(32),
1079 .bits_per_word_mask = SPI_BPW_MASK(8) | SPI_BPW_MASK(16) |
1080 SPI_BPW_MASK(24) | SPI_BPW_MASK(32),
H A Dspi-cs42l43.c239 priv->ctlr->bits_per_word_mask = SPI_BPW_MASK(8) | SPI_BPW_MASK(16) | in cs42l43_spi_probe()
240 SPI_BPW_MASK(32); in cs42l43_spi_probe()
H A Dspi-cavium-octeon.c54 host->bits_per_word_mask = SPI_BPW_MASK(8); in octeon_spi_probe()
H A Dspi-cavium-thunderx.c72 host->bits_per_word_mask = SPI_BPW_MASK(8); in thunderx_spi_probe()
H A Dspi-synquacer.c709 master->bits_per_word_mask = SPI_BPW_MASK(32) | SPI_BPW_MASK(24) | in synquacer_spi_probe()
710 SPI_BPW_MASK(16) | SPI_BPW_MASK(8); in synquacer_spi_probe()
H A Dspi-meson-spicc.c862 master->bits_per_word_mask = SPI_BPW_MASK(32) | in meson_spicc_probe()
863 SPI_BPW_MASK(24) | in meson_spicc_probe()
864 SPI_BPW_MASK(16) | in meson_spicc_probe()
865 SPI_BPW_MASK(8); in meson_spicc_probe()
H A Dspi-st-ssc4.c290 master->bits_per_word_mask = SPI_BPW_MASK(8) | SPI_BPW_MASK(16); in spi_st_probe()
H A Dspi-npcm-pspi.c406 master->bits_per_word_mask = SPI_BPW_MASK(8) | SPI_BPW_MASK(16); in npcm_pspi_probe()
H A Dspi-fsl-spi.c576 (SPI_BPW_RANGE_MASK(4, 8) | SPI_BPW_MASK(16) | SPI_BPW_MASK(32)); in fsl_spi_probe()
579 (SPI_BPW_RANGE_MASK(4, 16) | SPI_BPW_MASK(32)); in fsl_spi_probe()
H A Dspi-rb4xx.c158 host->bits_per_word_mask = SPI_BPW_MASK(8); in rb4xx_spi_probe()
H A Dspi-pic32.c777 host->bits_per_word_mask = SPI_BPW_MASK(8) | SPI_BPW_MASK(16) | in pic32_spi_probe()
778 SPI_BPW_MASK(32); in pic32_spi_probe()
H A Dspi-lp8841-rtc.c201 master->bits_per_word_mask = SPI_BPW_MASK(8); in spi_lp8841_rtc_probe()
H A Dspi-xcomm.c220 master->bits_per_word_mask = SPI_BPW_MASK(8); in spi_xcomm_probe()
H A Dspi-rzv2m-csi.c593 controller->bits_per_word_mask = SPI_BPW_MASK(16) | SPI_BPW_MASK(8); in rzv2m_csi_probe()
H A Dspi-rpc-if.c155 ctlr->bits_per_word_mask = SPI_BPW_MASK(8); in rpcif_spi_probe()
H A Dspi-ti-qspi.c777 master->bits_per_word_mask = SPI_BPW_MASK(32) | SPI_BPW_MASK(16) | in ti_qspi_probe()
778 SPI_BPW_MASK(8); in ti_qspi_probe()
H A Dspi-sh-hspi.c259 ctlr->bits_per_word_mask = SPI_BPW_MASK(8); in hspi_probe()
H A Dspi-orion.c676 host->bits_per_word_mask = SPI_BPW_MASK(8) | SPI_BPW_MASK(16); in orion_spi_probe()
H A Dspi-rockchip.c873 ctlr->bits_per_word_mask = SPI_BPW_MASK(16) | SPI_BPW_MASK(8) | SPI_BPW_MASK(4); in rockchip_spi_probe()
H A Dspi-armada-3700.c839 host->bits_per_word_mask = SPI_BPW_MASK(8) | SPI_BPW_MASK(32); in a3700_spi_probe()
H A Dspi-img-spfi.c591 host->bits_per_word_mask = SPI_BPW_MASK(32) | SPI_BPW_MASK(8); in img_spfi_probe()
H A Dspi-sc18is602.c297 host->bits_per_word_mask = SPI_BPW_MASK(8); in sc18is602_probe()
/openbmc/linux/drivers/iio/adc/
H A Dad7949.c340 if (spi_ctrl_mask & SPI_BPW_MASK(ad7949_adc->resolution)) { in ad7949_spi_probe()
342 } else if (spi_ctrl_mask == SPI_BPW_MASK(16)) { in ad7949_spi_probe()
344 } else if (spi_ctrl_mask == SPI_BPW_MASK(8)) { in ad7949_spi_probe()
/openbmc/linux/include/linux/spi/
H A Dspi.h554 #define SPI_BPW_MASK(bits) BIT((bits) - 1) macro
1269 if (bpw == 8 || (bpw <= 32 && bpw_mask & SPI_BPW_MASK(bpw))) in spi_is_bpw_supported()

123