Searched refs:bus_setup (Results 1 – 2 of 2) sorted by relevance
202 u32 bus_setup = 0; in cfspi_setup_slave() local216 bus_setup |= DSPI_CTAR_DBR; in cfspi_setup_slave()221 bus_setup |= DSPI_CTAR_CPOL; in cfspi_setup_slave()223 bus_setup |= DSPI_CTAR_CPHA; in cfspi_setup_slave()225 bus_setup |= DSPI_CTAR_LSBFE; in cfspi_setup_slave()231 bus_setup |= in cfspi_setup_slave()234 bus_setup |= ((mode & 0xF0000000) >> 1); in cfspi_setup_slave()241 bus_setup |= DSPI_CTAR_DBR; in cfspi_setup_slave()244 bus_setup |= (mode & 0x0FC00000) >> 4; /* PSCSCK, PASC, PDT */ in cfspi_setup_slave()245 bus_setup |= (mode & 0x000FFF00) >> 4; /* CSSCK, ASC, DT */ in cfspi_setup_slave()[all …]
181 uint bus_setup; in fsl_dspi_cfg_ctar_mode() local183 bus_setup = dspi_read32(priv->flags, &priv->regs->ctar[0]); in fsl_dspi_cfg_ctar_mode()185 bus_setup &= ~DSPI_CTAR_SET_MODE_MASK; in fsl_dspi_cfg_ctar_mode()186 bus_setup |= priv->ctar_val[cs]; in fsl_dspi_cfg_ctar_mode()187 bus_setup &= ~(DSPI_CTAR_CPOL | DSPI_CTAR_CPHA | DSPI_CTAR_LSBFE); in fsl_dspi_cfg_ctar_mode()190 bus_setup |= DSPI_CTAR_CPOL; in fsl_dspi_cfg_ctar_mode()192 bus_setup |= DSPI_CTAR_CPHA; in fsl_dspi_cfg_ctar_mode()194 bus_setup |= DSPI_CTAR_LSBFE; in fsl_dspi_cfg_ctar_mode()196 dspi_write32(priv->flags, &priv->regs->ctar[0], bus_setup); in fsl_dspi_cfg_ctar_mode()367 uint bus_setup; in fsl_dspi_cfg_speed() local[all …]