Home
last modified time | relevance | path

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

/linux/drivers/spi/
H A Dspi-fsl-spi.c575 (SPI_BPW_RANGE_MASK(4, 8) | SPI_BPW_MASK(16) | SPI_BPW_MASK(32)); in fsl_spi_probe()
578 (SPI_BPW_RANGE_MASK(4, 16) | SPI_BPW_MASK(32)); in fsl_spi_probe()
581 SPI_BPW_RANGE_MASK(1, mpc8xxx_spi->max_bits_per_word); in fsl_spi_probe()
H A Dspi-altera-dfl.c121 SPI_BPW_RANGE_MASK(1, FIELD_GET(DATA_WIDTH, v)); in config_spi_host()
H A Dspi-pxa2xx.c1314 controller->bits_per_word_mask = SPI_BPW_RANGE_MASK(4, 32); in pxa2xx_spi_probe()
1317 controller->bits_per_word_mask = SPI_BPW_RANGE_MASK(4, 16); in pxa2xx_spi_probe()
1326 controller->bits_per_word_mask = SPI_BPW_RANGE_MASK(4, 32); in pxa2xx_spi_probe()
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-hisi-kunpeng.c492 host->bits_per_word_mask = SPI_BPW_RANGE_MASK(4, 32); in hisi_spi_probe()
H A Dspi-mpfs.c549 host->bits_per_word_mask = SPI_BPW_RANGE_MASK(1, 32); in mpfs_spi_probe()
H A Dspi-pic32-sqi.c640 host->bits_per_word_mask = SPI_BPW_RANGE_MASK(8, 32); in pic32_sqi_probe()
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-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-espi.c678 host->bits_per_word_mask = SPI_BPW_RANGE_MASK(4, 16); in fsl_espi_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.c991 controller->bits_per_word_mask = SPI_BPW_RANGE_MASK(8, 32); in fsl_lpspi_probe()
H A Dspi-axi-spi-engine.c1218 host->bits_per_word_mask = SPI_BPW_RANGE_MASK(1, 32); in spi_engine_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-omap2-mcspi.c1488 ctlr->bits_per_word_mask = SPI_BPW_RANGE_MASK(4, 32); in omap2_mcspi_probe()
H A Dspi-tegra114.c1321 host->bits_per_word_mask = SPI_BPW_RANGE_MASK(4, 32); in tegra_spi_probe()
H A Dspi-atmel.c1538 host->bits_per_word_mask = SPI_BPW_RANGE_MASK(8, 16); in atmel_spi_probe()
H A Dspi-imx.c2250 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.h610 #define SPI_BPW_RANGE_MASK(min, max) GENMASK((max) - 1, (min) - 1) macro