Home
last modified time | relevance | path

Searched refs:SPMODE_LEN (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/spi/
H A Dspi-fsl-spi.h43 #define SPMODE_LEN(x) ((x) << 20) macro
58 SPMODE_MS | SPMODE_LEN(7) | SPMODE_PM(0xf))
H A Dspi-fsl-spi.c209 cs->hw_mode &= ~(SPMODE_LEN(0xF) | SPMODE_DIV16 in fsl_spi_setup_transfer()
212 cs->hw_mode |= SPMODE_LEN(bits_per_word); in fsl_spi_setup_transfer()
610 regval &= ~SPMODE_LEN(0xF); in fsl_spi_probe()
611 regval |= SPMODE_LEN(mpc8xxx_spi->max_bits_per_word - 1); in fsl_spi_probe()
/openbmc/u-boot/drivers/spi/
H A Dmpc8xx_spi.c174 SPMODE_EN | SPMODE_LEN(8) | SPMODE_PM(0x8)); in mpc8xx_spi_xfer()
/openbmc/u-boot/arch/powerpc/include/asm/
H A Dcpm_8xx.h585 #define SPMODE_LEN(x) ((((x) - 1) & 0xF) << 4) macro
H A Dcpm_85xx.h663 #define SPMODE_LEN(x) ((((x)-1)&0xF)<<4) macro