Home
last modified time | relevance | path

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

/linux/drivers/spi/
H A Dspi-altera-dfl.c121 SPI_BPW_RANGE_MASK(1, FIELD_GET(DATA_WIDTH, v)); in config_spi_host()
H A Dspi-omap-uwire.c488 host->bits_per_word_mask = SPI_BPW_RANGE_MASK(1, 16); in uwire_probe()
H A Dspi-dw-core.c958 ctlr->bits_per_word_mask = SPI_BPW_RANGE_MASK(4, 32); in dw_spi_add_controller()
960 ctlr->bits_per_word_mask = SPI_BPW_RANGE_MASK(4, 16); in dw_spi_add_controller()
H A Dspi-ep93xx.c645 host->bits_per_word_mask = SPI_BPW_RANGE_MASK(4, 16); in ep93xx_spi_probe()
H A Dspi-stm32.c502 return SPI_BPW_RANGE_MASK(4, 16); in stm32f7_spi_get_bpw_mask()
529 return SPI_BPW_RANGE_MASK(4, max_bpw); in stm32h7_spi_get_bpw_mask()
551 return SPI_BPW_RANGE_MASK(4, max_bpw); in stm32mp25_spi_get_bpw_mask()
H A Dspi-fsl-dspi.c1605 ctlr->bits_per_word_mask = SPI_BPW_RANGE_MASK(4, 32); in dspi_probe()
1607 ctlr->bits_per_word_mask = SPI_BPW_RANGE_MASK(4, 16); in dspi_probe()
H A Dspi-rzv2h-rspi.c763 controller->bits_per_word_mask = SPI_BPW_RANGE_MASK(4, 32); in rzv2h_rspi_probe()
H A Dspi-davinci.c993 host->bits_per_word_mask = SPI_BPW_RANGE_MASK(2, 16); in davinci_spi_probe()
H A Dspi-fsl-lpspi.c983 controller->bits_per_word_mask = SPI_BPW_RANGE_MASK(8, 32); in fsl_lpspi_probe()
H A Dspi-geni-qcom.c1072 spi->bits_per_word_mask = SPI_BPW_RANGE_MASK(4, 32); in spi_geni_probe()
H A Dspi-qup.c1094 host->bits_per_word_mask = SPI_BPW_RANGE_MASK(4, 32); in spi_qup_probe()
H A Dspi-imx.c2247 controller->bits_per_word_mask = SPI_BPW_RANGE_MASK(1, 32); in spi_imx_probe()
/linux/drivers/fpga/
H A Ddfl-n3000-nios.c432 SPI_BPW_RANGE_MASK(1, FIELD_GET(N3000_NS_PARAM_DATA_WIDTH, v)); in create_altera_spi_controller()
/linux/include/linux/spi/
H A Dspi.h611 #define SPI_BPW_RANGE_MASK(min, max) GENMASK((max) - 1, (min) - 1) macro