spi_hz 1071 drivers/spi/spi-bcm2835.c unsigned long spi_hz, clk_hz, cdiv, spi_used_hz; spi_hz 1076 drivers/spi/spi-bcm2835.c spi_hz = tfr->speed_hz; spi_hz 1079 drivers/spi/spi-bcm2835.c if (spi_hz >= clk_hz / 2) { spi_hz 1081 drivers/spi/spi-bcm2835.c } else if (spi_hz) { spi_hz 1083 drivers/spi/spi-bcm2835.c cdiv = DIV_ROUND_UP(clk_hz, spi_hz); spi_hz 348 drivers/spi/spi-bcm2835aux.c unsigned long spi_hz, clk_hz, speed, spi_used_hz; spi_hz 360 drivers/spi/spi-bcm2835aux.c spi_hz = tfr->speed_hz; spi_hz 363 drivers/spi/spi-bcm2835aux.c if (spi_hz >= clk_hz / 2) { spi_hz 365 drivers/spi/spi-bcm2835aux.c } else if (spi_hz) { spi_hz 366 drivers/spi/spi-bcm2835aux.c speed = DIV_ROUND_UP(clk_hz, 2 * spi_hz) - 1; spi_hz 265 drivers/spi/spi-sh-msiof.c unsigned long parent_rate, u32 spi_hz) spi_hz 271 drivers/spi/spi-sh-msiof.c if (!spi_hz || !parent_rate) { spi_hz 273 drivers/spi/spi-sh-msiof.c parent_rate, spi_hz); spi_hz 277 drivers/spi/spi-sh-msiof.c div = DIV_ROUND_UP(parent_rate, spi_hz); spi_hz 293 drivers/spi/spi-sh-msiof.c "Requested SPI transfer rate %d is too low\n", spi_hz);