Home
last modified time | relevance | path

Searched refs:SPI_BPW_RANGE_MASK (Results 1 – 12 of 12) 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-gpio.c366 host->bits_per_word_mask = SPI_BPW_RANGE_MASK(1, 32); in spi_gpio_probe()
H A Dspi-dw-core.c1325 ctlr->bits_per_word_mask = SPI_BPW_RANGE_MASK(4, 32); in dw_spi_add_controller()
1327 ctlr->bits_per_word_mask = SPI_BPW_RANGE_MASK(4, 16); in dw_spi_add_controller()
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-uniphier.c690 host->bits_per_word_mask = SPI_BPW_RANGE_MASK(1, 32); in uniphier_spi_probe()
H A Dspi-spacemit-k1.c754 host->bits_per_word_mask = SPI_BPW_RANGE_MASK(4, 32); in k1_spi_probe()
H A Dspi-rzv2h-rspi.c764 controller->bits_per_word_mask = SPI_BPW_RANGE_MASK(4, 32); in rzv2h_rspi_probe()
H A Dspi-sh-msiof.c964 .bits_per_word_mask = SPI_BPW_RANGE_MASK(8, 32),
H A Dspi-imx.c2248 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.h623 #define SPI_BPW_RANGE_MASK(min, max) GENMASK((max) - 1, (min) - 1) macro