Home
last modified time | relevance | path

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

/u-boot/test/dm/
A Dspi.c107 struct spi_slave *slave_b) in dm_test_spi_switch_slaves() argument
114 dev_get_parent(slave_b->dev)); in dm_test_spi_switch_slaves()
125 ut_assertok(spi_claim_bus(slave_b)); in dm_test_spi_switch_slaves()
126 ut_asserteq(slave_b->max_hz, bus_data->speed); in dm_test_spi_switch_slaves()
129 spi_release_bus(slave_b); in dm_test_spi_switch_slaves()
143 struct spi_slave *slave_a, *slave_b; in dm_test_spi_claim_bus() local
152 &bus, &slave_b)); in dm_test_spi_claim_bus()
155 ut_assert(slave_a->max_hz != slave_b->max_hz); in dm_test_spi_claim_bus()
156 ut_assert(slave_a->mode != slave_b->mode); in dm_test_spi_claim_bus()
160 slave_a->mode = slave_b->mode; in dm_test_spi_claim_bus()
[all …]

Completed in 3 milliseconds