Lines Matching refs:max_hz
55 speed = slave->max_hz; in dm_spi_claim_bus()
56 if (spi->max_hz) { in dm_spi_claim_bus()
58 speed = min(speed, (int)spi->max_hz); in dm_spi_claim_bus()
60 speed = spi->max_hz; in dm_spi_claim_bus()
166 spi->max_hz = dev_read_u32_default(bus, "spi-max-frequency", 0); in spi_post_probe()
204 slave->max_hz = plat->max_hz; in spi_child_pre_probe()
343 plat->max_hz = speed; in spi_get_bus_and_cs()
347 plat->max_hz = SPI_DEFAULT_SPEED_HZ; in spi_get_bus_and_cs()
370 if (plat->max_hz) { in spi_get_bus_and_cs()
371 speed = plat->max_hz; in spi_get_bus_and_cs()
424 plat->max_hz = dev_read_u32_default(dev, "spi-max-frequency", in spi_slave_ofdata_to_platdata()