Searched refs:bus_setup (Results 1 – 4 of 4) 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()245 bus_setup |= (mode & 0x000FFF00) >> 4; /* CSSCK, ASC, DT */ in cfspi_setup_slave()247 bus_setup |= (dspi->ctar[cfslave->slave.bus] & 0x78FCFFF0); 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()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() local375 bus_setup = dspi_read32(priv->flags, &priv->regs->ctar[0]); in fsl_dspi_cfg_speed()[all …]
373 inv_icm42600_bus_setup bus_setup) in inv_icm42600_setup() argument407 ret = bus_setup(st); in inv_icm42600_setup()575 inv_icm42600_bus_setup bus_setup) in inv_icm42600_core_probe() argument643 ret = inv_icm42600_setup(st, bus_setup); in inv_icm42600_core_probe()
388 inv_icm42600_bus_setup bus_setup);