Searched refs:max_bpw (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/spi/ |
| H A D | spi-pl022.c | 325 int max_bpw; member 1688 if ((bits <= 3) || (bits > pl022->vendor->max_bpw)) { in pl022_setup() 1692 pl022->vendor->max_bpw); in pl022_setup() 2082 .max_bpw = 16, 2092 .max_bpw = 32, 2102 .max_bpw = 32, 2112 .max_bpw = 16,
|
| H A D | spi-stm32.c | 512 u32 cfg1, max_bpw; in stm32h7_spi_get_bpw_mask() local 523 max_bpw = FIELD_GET(STM32H7_SPI_CFG1_DSIZE, cfg1) + 1; in stm32h7_spi_get_bpw_mask() 527 dev_dbg(spi->dev, "%d-bit maximum data frame\n", max_bpw); in stm32h7_spi_get_bpw_mask() 529 return SPI_BPW_RANGE_MASK(4, max_bpw); in stm32h7_spi_get_bpw_mask() 538 u32 dscfg, max_bpw; in stm32mp25_spi_get_bpw_mask() local 547 max_bpw = 16; in stm32mp25_spi_get_bpw_mask() 549 max_bpw = 32; in stm32mp25_spi_get_bpw_mask() 550 dev_dbg(spi->dev, "%d-bit maximum data frame\n", max_bpw); in stm32mp25_spi_get_bpw_mask() 551 return SPI_BPW_RANGE_MASK(4, max_bpw); in stm32mp25_spi_get_bpw_mask()
|