Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/spi/
H A Dmxs_spi.c54 struct mxs_spi_slave *mxs_slave; in spi_setup_slave() local
62 if (!mxs_slave) in spi_setup_slave()
68 mxs_slave->max_khz = max_hz / 1000; in spi_setup_slave()
69 mxs_slave->mode = mode; in spi_setup_slave()
70 mxs_slave->regs = mxs_ssp_regs_by_bus(bus); in spi_setup_slave()
72 return &mxs_slave->slave; in spi_setup_slave()
75 free(mxs_slave); in spi_setup_slave()
82 free(mxs_slave); in spi_free_slave()
88 struct mxs_ssp_regs *ssp_regs = mxs_slave->regs; in spi_claim_bus()
104 mxs_set_ssp_busclock(slave->bus, mxs_slave->max_khz); in spi_claim_bus()
[all …]