Home
last modified time | relevance | path

Searched refs:max_bpw (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/drivers/spi/
Dspi-pl022.c324 int max_bpw; member
1938 if ((bits <= 3) || (bits > pl022->vendor->max_bpw)) { in pl022_setup()
1942 pl022->vendor->max_bpw); in pl022_setup()
2346 .max_bpw = 16,
2356 .max_bpw = 32,
2366 .max_bpw = 32,
2376 .max_bpw = 16,
Dspi-stm32.c402 u32 cfg1, max_bpw; in stm32h7_spi_get_bpw_mask() local
413 max_bpw = FIELD_GET(STM32H7_SPI_CFG1_DSIZE, cfg1) + 1; in stm32h7_spi_get_bpw_mask()
417 dev_dbg(spi->dev, "%d-bit maximum data frame\n", max_bpw); in stm32h7_spi_get_bpw_mask()
419 return SPI_BPW_RANGE_MASK(4, max_bpw); in stm32h7_spi_get_bpw_mask()