Home
last modified time | relevance | path

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

123

/dports/sysutils/u-boot-nanopi-neo2/u-boot-2021.07/test/dm/
H 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 …]
/dports/sysutils/u-boot-olimex-a20-som-evb/u-boot-2021.07/test/dm/
H 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 …]
/dports/sysutils/u-boot-olinuxino-lime2/u-boot-2021.07/test/dm/
H 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 …]
/dports/sysutils/u-boot-olinuxino-lime/u-boot-2021.07/test/dm/
H 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 …]
/dports/sysutils/u-boot-beaglebone/u-boot-2021.07/test/dm/
H 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 …]
/dports/sysutils/u-boot-cubieboard2/u-boot-2021.07/test/dm/
H 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 …]
/dports/sysutils/u-boot-cubieboard/u-boot-2021.07/test/dm/
H 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 …]
/dports/sysutils/u-boot-cubox-hummingboard/u-boot-2021.07/test/dm/
H 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 …]
/dports/sysutils/u-boot-sinovoip-bpi-m3/u-boot-2021.07/test/dm/
H 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 …]
/dports/sysutils/u-boot-sopine/u-boot-2021.07/test/dm/
H 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 …]
/dports/sysutils/u-boot-a13-olinuxino/u-boot-2021.07/test/dm/
H 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 …]
/dports/sysutils/u-boot-rpi/u-boot-2021.07/test/dm/
H 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 …]
/dports/sysutils/u-boot-nanopi-r4s/u-boot-2021.07/test/dm/
H 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 …]
/dports/sysutils/u-boot-wandboard/u-boot-2021.07/test/dm/
H 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 …]
/dports/sysutils/u-boot-chip/u-boot-2021.07/test/dm/
H 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 …]
/dports/sysutils/u-boot-clearfog/u-boot-2021.07/test/dm/
H 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 …]
/dports/sysutils/u-boot-orangepi-zero/u-boot-2021.07/test/dm/
H 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 …]
/dports/sysutils/u-boot-orangepi-zero-plus/u-boot-2021.07/test/dm/
H 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 …]
/dports/sysutils/u-boot-orangepi-r1/u-boot-2021.07/test/dm/
H 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 …]
/dports/sysutils/u-boot-pine-h64/u-boot-2021.07/test/dm/
H 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 …]
/dports/sysutils/u-boot-pine64/u-boot-2021.07/test/dm/
H 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 …]
/dports/sysutils/u-boot-pcduino3/u-boot-2021.07/test/dm/
H 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 …]
/dports/sysutils/u-boot-pandaboard/u-boot-2021.07/test/dm/
H 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 …]
/dports/sysutils/u-boot-pinebook/u-boot-2021.07/test/dm/
H 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 …]
/dports/sysutils/u-boot-pine64-lts/u-boot-2021.07/test/dm/
H 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 …]

123