speed_hz 790 drivers/gpu/drm/drm_mipi_dbi.c tr.speed_hz = mipi_dbi_spi_cmd_max_speed(spi, len); speed_hz 906 drivers/gpu/drm/drm_mipi_dbi.c tr.speed_hz = mipi_dbi_spi_cmd_max_speed(spi, len); speed_hz 975 drivers/gpu/drm/drm_mipi_dbi.c u32 speed_hz = min_t(u32, MIPI_DBI_MAX_SPI_READ_SPEED, speed_hz 979 drivers/gpu/drm/drm_mipi_dbi.c .speed_hz = speed_hz, speed_hz 983 drivers/gpu/drm/drm_mipi_dbi.c .speed_hz = speed_hz, speed_hz 1040 drivers/gpu/drm/drm_mipi_dbi.c u32 speed_hz; speed_hz 1049 drivers/gpu/drm/drm_mipi_dbi.c speed_hz = mipi_dbi_spi_cmd_max_speed(spi, 1); speed_hz 1050 drivers/gpu/drm/drm_mipi_dbi.c ret = mipi_dbi_spi_transfer(spi, speed_hz, 8, cmd, 1); speed_hz 1058 drivers/gpu/drm/drm_mipi_dbi.c speed_hz = mipi_dbi_spi_cmd_max_speed(spi, num); speed_hz 1060 drivers/gpu/drm/drm_mipi_dbi.c return mipi_dbi_spi_transfer(spi, speed_hz, bpw, par, num); speed_hz 1147 drivers/gpu/drm/drm_mipi_dbi.c int mipi_dbi_spi_transfer(struct spi_device *spi, u32 speed_hz, speed_hz 1153 drivers/gpu/drm/drm_mipi_dbi.c .speed_hz = speed_hz, speed_hz 323 drivers/gpu/drm/tiny/ili9225.c u32 speed_hz; speed_hz 327 drivers/gpu/drm/tiny/ili9225.c speed_hz = mipi_dbi_spi_cmd_max_speed(spi, 1); speed_hz 328 drivers/gpu/drm/tiny/ili9225.c ret = mipi_dbi_spi_transfer(spi, speed_hz, 8, cmd, 1); speed_hz 336 drivers/gpu/drm/tiny/ili9225.c speed_hz = mipi_dbi_spi_cmd_max_speed(spi, num); speed_hz 338 drivers/gpu/drm/tiny/ili9225.c return mipi_dbi_spi_transfer(spi, speed_hz, bpw, par, num); speed_hz 214 drivers/i2c/busses/i2c-mt65xx.c unsigned int speed_hz; /* The speed in transfer */ speed_hz 515 drivers/i2c/busses/i2c-mt65xx.c target_speed = i2c->speed_hz; speed_hz 584 drivers/i2c/busses/i2c-mt65xx.c if ((i2c->speed_hz > MAX_FS_MODE_SPEED) || (left_num >= 1)) speed_hz 593 drivers/i2c/busses/i2c-mt65xx.c if (i2c->speed_hz <= I2C_DEFAULT_SPEED) speed_hz 801 drivers/i2c/busses/i2c-mt65xx.c if (i2c->auto_restart && num >= 2 && i2c->speed_hz > MAX_FS_MODE_SPEED) speed_hz 894 drivers/i2c/busses/i2c-mt65xx.c ret = of_property_read_u32(np, "clock-frequency", &i2c->speed_hz); speed_hz 896 drivers/i2c/busses/i2c-mt65xx.c i2c->speed_hz = I2C_DEFAULT_SPEED; speed_hz 67 drivers/media/dvb-frontends/cxd2880/cxd2880_spi_device.c u32 speed_hz) speed_hz 89 drivers/media/dvb-frontends/cxd2880/cxd2880_spi_device.c spi->max_speed_hz = speed_hz; speed_hz 66 drivers/media/rc/ir-spi.c xfer.speed_hz = idata->freq * 16; speed_hz 882 drivers/mmc/host/mmc_spi.c if (t->speed_hz) speed_hz 883 drivers/mmc/host/mmc_spi.c clock_rate = t->speed_hz; speed_hz 945 drivers/net/ieee802154/ca8210.c cas_ctl->transfer.speed_hz = 0; /* Use device setting */ speed_hz 219 drivers/spi/spi-armada-3700.c unsigned int speed_hz) speed_hz 224 drivers/spi/spi-armada-3700.c prescale = DIV_ROUND_UP(clk_get_rate(a3700_spi->clk), speed_hz); speed_hz 424 drivers/spi/spi-armada-3700.c a3700_spi_clock_set(a3700_spi, xfer->speed_hz); speed_hz 331 drivers/spi/spi-at91-usart.c DIV_ROUND_UP(aus->spi_clk, xfer->speed_hz)); speed_hz 856 drivers/spi/spi-atmel.c scbr = DIV_ROUND_UP(bus_hz, xfer->speed_hz); speed_hz 865 drivers/spi/spi-atmel.c xfer->speed_hz, scbr, bus_hz/255); speed_hz 871 drivers/spi/spi-atmel.c xfer->speed_hz, scbr, bus_hz); speed_hz 102 drivers/spi/spi-au1550.c static u32 au1550_spi_baudcfg(struct au1550_spi *hw, unsigned speed_hz) speed_hz 108 drivers/spi/spi-au1550.c brg = mainclk_hz / speed_hz / (4 << div); speed_hz 229 drivers/spi/spi-au1550.c hz = t->speed_hz; speed_hz 136 drivers/spi/spi-axi-spi-engine.c xfer->speed_hz * 2); speed_hz 148 drivers/spi/spi-bcm-qspi.c u32 speed_hz; speed_hz 531 drivers/spi/spi-bcm-qspi.c if (xp->speed_hz) speed_hz 532 drivers/spi/spi-bcm-qspi.c spbr = qspi->base_clk / (2 * xp->speed_hz); speed_hz 553 drivers/spi/spi-bcm-qspi.c xp.speed_hz = trans->speed_hz; speed_hz 574 drivers/spi/spi-bcm-qspi.c xp->speed_hz = spi->max_speed_hz; speed_hz 1172 drivers/spi/spi-bcm-qspi.c parms.speed_hz = qspi->max_speed_hz; speed_hz 1076 drivers/spi/spi-bcm2835.c spi_hz = tfr->speed_hz; speed_hz 360 drivers/spi/spi-bcm2835aux.c spi_hz = tfr->speed_hz; speed_hz 108 drivers/spi/spi-bcm63xx-hsspi.c u32 speed_hz; speed_hz 134 drivers/spi/spi-bcm63xx-hsspi.c reg = DIV_ROUND_UP(2048, DIV_ROUND_UP(bs->speed_hz, hz)); speed_hz 165 drivers/spi/spi-bcm63xx-hsspi.c bcm63xx_hsspi_set_clk(bs, spi, t->speed_hz); speed_hz 387 drivers/spi/spi-bcm63xx-hsspi.c bs->speed_hz = rate; speed_hz 207 drivers/spi/spi-bcm63xx.c if (t->speed_hz >= bcm63xx_spi_freq_table[i][0]) { speed_hz 220 drivers/spi/spi-bcm63xx.c clk_cfg, t->speed_hz); speed_hz 364 drivers/spi/spi-bcm63xx.c if (t->speed_hz != first->speed_hz) { speed_hz 146 drivers/spi/spi-bitbang.c hz = t->speed_hz; speed_hz 118 drivers/spi/spi-cadence.c u32 speed_hz; speed_hz 258 drivers/spi/spi-cadence.c if (xspi->speed_hz != transfer->speed_hz) { speed_hz 262 drivers/spi/spi-cadence.c (frequency / (2 << baud_rate_val)) > transfer->speed_hz) speed_hz 268 drivers/spi/spi-cadence.c xspi->speed_hz = frequency / (2 << baud_rate_val); speed_hz 293 drivers/spi/spi-cadence.c xspi->speed_hz); speed_hz 563 drivers/spi/spi-cadence.c xspi->speed_hz = master->max_speed_hz; speed_hz 48 drivers/spi/spi-cavium.c clkdiv = p->sys_freq / (2 * xfer->speed_hz); speed_hz 54 drivers/spi/spi-clps711x.c clk_set_rate(hw->spi_clk, xfer->speed_hz ? : spi->max_speed_hz); speed_hz 132 drivers/spi/spi-coldfire-qspi.c static u8 mcfqspi_qmr_baud(u32 speed_hz) speed_hz 134 drivers/spi/spi-coldfire-qspi.c return clamp((MCFQSPI_BUSCLK + speed_hz - 1) / speed_hz, 2u, 255u); speed_hz 310 drivers/spi/spi-coldfire-qspi.c qmr |= mcfqspi_qmr_baud(t->speed_hz); speed_hz 287 drivers/spi/spi-davinci.c hz = t->speed_hz; speed_hz 659 drivers/spi/spi-dln2.c status = dln2_spi_transfer_setup(dln2, xfer->speed_hz, speed_hz 30 drivers/spi/spi-dw.c u32 speed_hz; /* baud rate */ speed_hz 314 drivers/spi/spi-dw.c if (transfer->speed_hz != dws->current_freq) { speed_hz 315 drivers/spi/spi-dw.c if (transfer->speed_hz != chip->speed_hz) { speed_hz 317 drivers/spi/spi-dw.c chip->clk_div = (DIV_ROUND_UP(dws->max_freq, transfer->speed_hz) + 1) & 0xfffe; speed_hz 318 drivers/spi/spi-dw.c chip->speed_hz = transfer->speed_hz; speed_hz 320 drivers/spi/spi-dw.c dws->current_freq = transfer->speed_hz; speed_hz 119 drivers/spi/spi-efm32.c unsigned speed = t->speed_hz ?: spi->max_speed_hz; speed_hz 156 drivers/spi/spi-ep93xx.c err = ep93xx_spi_calc_divisors(master, xfer->speed_hz, speed_hz 489 drivers/spi/spi-fsl-dspi.c static void hz_to_spi_baud(char *pbr, char *br, int speed_hz, speed_hz 501 drivers/spi/spi-fsl-dspi.c scale_needed = clkrate / speed_hz; speed_hz 502 drivers/spi/spi-fsl-dspi.c if (clkrate % speed_hz) speed_hz 520 drivers/spi/spi-fsl-dspi.c speed_hz, clkrate); speed_hz 165 drivers/spi/spi-fsl-espi.c first->speed_hz != t->speed_hz) { speed_hz 328 drivers/spi/spi-fsl-espi.c u32 pm, hz = t ? t->speed_hz : spi->max_speed_hz; speed_hz 458 drivers/spi/spi-fsl-espi.c trans.speed_hz = t->speed_hz; speed_hz 96 drivers/spi/spi-fsl-lpspi.c u32 speed_hz; speed_hz 327 drivers/spi/spi-fsl-lpspi.c if (config.speed_hz > perclk_rate / 2) { speed_hz 335 drivers/spi/spi-fsl-lpspi.c (clkdivs[prescale] * config.speed_hz) - 2; speed_hz 349 drivers/spi/spi-fsl-lpspi.c perclk_rate, config.speed_hz, prescale, scldiv); speed_hz 446 drivers/spi/spi-fsl-lpspi.c fsl_lpspi->config.speed_hz = t->speed_hz; speed_hz 449 drivers/spi/spi-fsl-lpspi.c if (!fsl_lpspi->config.speed_hz) speed_hz 450 drivers/spi/spi-fsl-lpspi.c fsl_lpspi->config.speed_hz = spi->max_speed_hz; speed_hz 556 drivers/spi/spi-fsl-lpspi.c timeout = (8 + 4) * size / fsl_lpspi->config.speed_hz; speed_hz 238 drivers/spi/spi-fsl-spi.c hz = t->speed_hz; speed_hz 389 drivers/spi/spi-fsl-spi.c if (first->speed_hz != t->speed_hz) { speed_hz 92 drivers/spi/spi-geni-qcom.c static int get_spi_clk_cfg(unsigned int speed_hz, speed_hz 103 drivers/spi/spi-geni-qcom.c speed_hz * mas->oversampling, speed_hz 107 drivers/spi/spi-geni-qcom.c ret, speed_hz); speed_hz 111 drivers/spi/spi-geni-qcom.c *clk_div = DIV_ROUND_UP(sclk_freq, mas->oversampling * speed_hz); speed_hz 114 drivers/spi/spi-geni-qcom.c dev_dbg(mas->dev, "req %u=>%u sclk %lu, idx %d, div %d\n", speed_hz, speed_hz 318 drivers/spi/spi-geni-qcom.c if (xfer->speed_hz != mas->cur_speed_hz) { speed_hz 323 drivers/spi/spi-geni-qcom.c ret = get_spi_clk_cfg(xfer->speed_hz, mas, &idx, &div); speed_hz 335 drivers/spi/spi-geni-qcom.c mas->cur_speed_hz = xfer->speed_hz; speed_hz 248 drivers/spi/spi-img-spfi.c msecs_to_jiffies(xfer->len * 8 * 1000 / xfer->speed_hz + 100); speed_hz 503 drivers/spi/spi-img-spfi.c div = DIV_ROUND_UP(clk_get_rate(spfi->spfi_clk), xfer->speed_hz); speed_hz 571 drivers/spi/spi-imx.c u32 clk = t->speed_hz, delay; speed_hz 585 drivers/spi/spi-imx.c ctrl |= mx51_ecspi_clkdiv(spi_imx, t->speed_hz, &clk); speed_hz 703 drivers/spi/spi-imx.c reg |= spi_imx_clkdiv_2(spi_imx->spi_clk, t->speed_hz, &clk) << speed_hz 809 drivers/spi/spi-imx.c reg |= spi_imx_clkdiv_1(spi_imx->spi_clk, t->speed_hz, max, &clk) speed_hz 884 drivers/spi/spi-imx.c reg |= spi_imx_clkdiv_2(spi_imx->spi_clk, t->speed_hz, &clk) << speed_hz 40 drivers/spi/spi-jcore.c unsigned int speed_hz; speed_hz 85 drivers/spi/spi-jcore.c if (speed == hw->speed_hz) return; speed_hz 86 drivers/spi/spi-jcore.c hw->speed_hz = speed; speed_hz 111 drivers/spi/spi-jcore.c jcore_spi_baudrate(hw, t->speed_hz); speed_hz 183 drivers/spi/spi-lantiq-ssc.c unsigned int speed_hz; speed_hz 432 drivers/spi/spi-lantiq-ssc.c unsigned int speed_hz = t->speed_hz; speed_hz 437 drivers/spi/spi-lantiq-ssc.c speed_hz != spi->speed_hz) { speed_hz 439 drivers/spi/spi-lantiq-ssc.c hw_setup_speed_hz(spi, speed_hz); speed_hz 443 drivers/spi/spi-lantiq-ssc.c spi->speed_hz = speed_hz; speed_hz 723 drivers/spi/spi-lantiq-ssc.c do_div(timeout, spi->speed_hz); speed_hz 895 drivers/spi/spi-lantiq-ssc.c spi->speed_hz = 0; speed_hz 541 drivers/spi/spi-loopback-test.c if (!xfer->speed_hz) speed_hz 543 drivers/spi/spi-loopback-test.c estimated_time += div_u64(nbits * NSEC_PER_SEC, xfer->speed_hz); speed_hz 344 drivers/spi/spi-meson-spicc.c conf = meson_spicc_setup_speed(spicc, conf, xfer->speed_hz); speed_hz 252 drivers/spi/spi-meson-spifc.c meson_spifc_setup_speed(spifc, xfer->speed_hz); speed_hz 73 drivers/spi/spi-mpc512x-psc.c int speed_hz; speed_hz 84 drivers/spi/spi-mpc512x-psc.c cs->speed_hz = (t && t->speed_hz) speed_hz 85 drivers/spi/spi-mpc512x-psc.c ? t->speed_hz : spi->max_speed_hz; speed_hz 122 drivers/spi/spi-mpc512x-psc.c speed = cs->speed_hz; speed_hz 393 drivers/spi/spi-mpc512x-psc.c cs->speed_hz = spi->max_speed_hz; speed_hz 52 drivers/spi/spi-mpc52xx-psc.c int speed_hz; speed_hz 63 drivers/spi/spi-mpc52xx-psc.c cs->speed_hz = (t && t->speed_hz) speed_hz 64 drivers/spi/spi-mpc52xx-psc.c ? t->speed_hz : spi->max_speed_hz; speed_hz 103 drivers/spi/spi-mpc52xx-psc.c if (cs->speed_hz) speed_hz 104 drivers/spi/spi-mpc52xx-psc.c ccr |= (MCLK / cs->speed_hz - 1) & 0xFF; speed_hz 222 drivers/spi/spi-mpc52xx-psc.c if (t->bits_per_word || t->speed_hz) { speed_hz 276 drivers/spi/spi-mpc52xx-psc.c cs->speed_hz = spi->max_speed_hz; speed_hz 286 drivers/spi/spi-mt65xx.c if (xfer->speed_hz < spi_clk_hz / 2) speed_hz 287 drivers/spi/spi-mt65xx.c div = DIV_ROUND_UP(spi_clk_hz, xfer->speed_hz); speed_hz 259 drivers/spi/spi-mt7621.c if (t->speed_hz < speed) speed_hz 260 drivers/spi/spi-mt7621.c speed = t->speed_hz; speed_hz 464 drivers/spi/spi-mxic.c ret = mxic_spi_set_freq(mxic, t->speed_hz); speed_hz 69 drivers/spi/spi-mxs.c const unsigned int hz = min(dev->max_speed_hz, t->speed_hz); speed_hz 32 drivers/spi/spi-npcm-pspi.c u32 speed_hz; speed_hz 186 drivers/spi/spi-npcm-pspi.c if (!priv->is_save_param || priv->speed_hz != t->speed_hz) { speed_hz 187 drivers/spi/spi-npcm-pspi.c npcm_pspi_set_baudrate(priv, t->speed_hz); speed_hz 188 drivers/spi/spi-npcm-pspi.c priv->speed_hz = t->speed_hz; speed_hz 47 drivers/spi/spi-oc-tiny.c unsigned int speed_hz; speed_hz 86 drivers/spi/spi-oc-tiny.c if (t->speed_hz && t->speed_hz != hw->speed_hz) speed_hz 87 drivers/spi/spi-oc-tiny.c baud = tiny_spi_baud(spi, t->speed_hz); speed_hz 98 drivers/spi/spi-oc-tiny.c if (spi->max_speed_hz != hw->speed_hz) { speed_hz 99 drivers/spi/spi-oc-tiny.c hw->speed_hz = spi->max_speed_hz; speed_hz 100 drivers/spi/spi-oc-tiny.c hw->baud = tiny_spi_baud(spi, hw->speed_hz); speed_hz 348 drivers/spi/spi-omap-uwire.c hz = t->speed_hz; speed_hz 880 drivers/spi/spi-omap2-mcspi.c static u32 omap2_mcspi_calc_divisor(u32 speed_hz) speed_hz 885 drivers/spi/spi-omap2-mcspi.c if (speed_hz >= (OMAP2_MCSPI_MAX_FREQ >> div)) speed_hz 899 drivers/spi/spi-omap2-mcspi.c u32 speed_hz = spi->max_speed_hz; speed_hz 908 drivers/spi/spi-omap2-mcspi.c if (t && t->speed_hz) speed_hz 909 drivers/spi/spi-omap2-mcspi.c speed_hz = t->speed_hz; speed_hz 911 drivers/spi/spi-omap2-mcspi.c speed_hz = min_t(u32, speed_hz, OMAP2_MCSPI_MAX_FREQ); speed_hz 912 drivers/spi/spi-omap2-mcspi.c if (speed_hz < (OMAP2_MCSPI_MAX_FREQ / OMAP2_MCSPI_MAX_DIVIDER)) { speed_hz 913 drivers/spi/spi-omap2-mcspi.c clkd = omap2_mcspi_calc_divisor(speed_hz); speed_hz 914 drivers/spi/spi-omap2-mcspi.c speed_hz = OMAP2_MCSPI_MAX_FREQ >> clkd; speed_hz 917 drivers/spi/spi-omap2-mcspi.c div = (OMAP2_MCSPI_MAX_FREQ + speed_hz - 1) / speed_hz; speed_hz 918 drivers/spi/spi-omap2-mcspi.c speed_hz = OMAP2_MCSPI_MAX_FREQ / div; speed_hz 977 drivers/spi/spi-omap2-mcspi.c speed_hz, speed_hz 1169 drivers/spi/spi-omap2-mcspi.c (t->speed_hz != spi->max_speed_hz) || speed_hz 1175 drivers/spi/spi-omap2-mcspi.c if (t->speed_hz == spi->max_speed_hz && speed_hz 300 drivers/spi/spi-orion.c if ((t != NULL) && t->speed_hz) speed_hz 301 drivers/spi/spi-orion.c speed = t->speed_hz; speed_hz 105 drivers/spi/spi-pic32.c u32 speed_hz; /* spi-clk rate */ speed_hz 457 drivers/spi/spi-pic32.c if (pic32s->speed_hz != spi->max_speed_hz) { speed_hz 459 drivers/spi/spi-pic32.c pic32s->speed_hz = spi->max_speed_hz; speed_hz 517 drivers/spi/spi-pic32.c if (transfer->speed_hz && (transfer->speed_hz != pic32s->speed_hz)) { speed_hz 518 drivers/spi/spi-pic32.c pic32_spi_set_clk_rate(pic32s, transfer->speed_hz); speed_hz 519 drivers/spi/spi-pic32.c pic32s->speed_hz = transfer->speed_hz; speed_hz 187 drivers/spi/spi-ppc4xx.c if (t->speed_hz) speed_hz 188 drivers/spi/spi-ppc4xx.c speed = min(t->speed_hz, spi->max_speed_hz); speed_hz 991 drivers/spi/spi-pxa2xx.c speed = transfer->speed_hz; speed_hz 230 drivers/spi/spi-qcom-qspi.c unsigned long speed_hz; speed_hz 233 drivers/spi/spi-qcom-qspi.c speed_hz = slv->max_speed_hz; speed_hz 234 drivers/spi/spi-qcom-qspi.c if (xfer->speed_hz) speed_hz 235 drivers/spi/spi-qcom-qspi.c speed_hz = xfer->speed_hz; speed_hz 238 drivers/spi/spi-qcom-qspi.c ret = clk_set_rate(ctrl->clks[QSPI_CLK_CORE].clk, speed_hz * 4); speed_hz 672 drivers/spi/spi-qup.c ret = clk_set_rate(controller->cclk, xfer->speed_hz); speed_hz 675 drivers/spi/spi-qup.c xfer->speed_hz); speed_hz 806 drivers/spi/spi-qup.c if ((xfer->speed_hz >= SPI_HS_MIN_RATE) && !(spi->mode & SPI_LOOP)) speed_hz 857 drivers/spi/spi-qup.c timeout = DIV_ROUND_UP(xfer->speed_hz, MSEC_PER_SEC); speed_hz 529 drivers/spi/spi-rockchip.c writel_relaxed(2 * DIV_ROUND_UP(rs->freq, 2 * xfer->speed_hz), speed_hz 124 drivers/spi/spi-s3c24xx.c hz = t ? t->speed_hz : spi->max_speed_hz; speed_hz 651 drivers/spi/spi-s3c64xx.c speed = xfer->speed_hz; speed_hz 199 drivers/spi/spi-sc18is602.c status = sc18is602_setup_transfer(hw, t->speed_hz, spi->mode); speed_hz 123 drivers/spi/spi-sh-hspi.c tmp = abs(t->speed_hz - rate); speed_hz 136 drivers/spi/spi-sh-hspi.c dev_dbg(dev, "speed %d/%d\n", t->speed_hz, best_rate); speed_hz 929 drivers/spi/spi-sh-msiof.c sh_msiof_spi_set_clk_regs(p, clk_get_rate(p->clk), t->speed_hz); speed_hz 174 drivers/spi/spi-sifive.c cr = DIV_ROUND_UP(clk_get_rate(spi->clk) >> 1, t->speed_hz) - 1; speed_hz 205 drivers/spi/spi-sifive.c return 1600000 * spi->fifo_depth <= t->speed_hz * mode; speed_hz 880 drivers/spi/spi-sirf.c hz = t && t->speed_hz ? t->speed_hz : spi->max_speed_hz; speed_hz 659 drivers/spi/spi-sprd.c static void sprd_spi_set_speed(struct sprd_spi *ss, u32 speed_hz) speed_hz 665 drivers/spi/spi-sprd.c u32 clk_div = DIV_ROUND_UP(ss->src_clk, speed_hz << 1) - 1; speed_hz 731 drivers/spi/spi-sprd.c sprd_spi_set_speed(ss, t->speed_hz); speed_hz 440 drivers/spi/spi-stm32.c static int stm32_spi_prepare_mbr(struct stm32_spi *spi, u32 speed_hz, speed_hz 445 drivers/spi/spi-stm32.c div = DIV_ROUND_UP(spi->clk_rate, speed_hz); speed_hz 1589 drivers/spi/spi-stm32.c if (spi->cur_speed != transfer->speed_hz) { speed_hz 1593 drivers/spi/spi-stm32.c mbr = stm32_spi_prepare_mbr(spi, transfer->speed_hz, speed_hz 1601 drivers/spi/spi-stm32.c transfer->speed_hz = spi->cur_speed; speed_hz 270 drivers/spi/spi-sun4i.c if (mclk_rate < (2 * tfr->speed_hz)) { speed_hz 271 drivers/spi/spi-sun4i.c clk_set_rate(sspi->mclk, 2 * tfr->speed_hz); speed_hz 289 drivers/spi/spi-sun4i.c div = mclk_rate / (2 * tfr->speed_hz); speed_hz 296 drivers/spi/spi-sun4i.c div = ilog2(mclk_rate) - ilog2(tfr->speed_hz); speed_hz 328 drivers/spi/spi-sun4i.c tx_time = max(tfr->len * 8 * 2 / (tfr->speed_hz / 1000), 100U); speed_hz 336 drivers/spi/spi-sun4i.c dev_name(&spi->dev), tfr->len, tfr->speed_hz, speed_hz 271 drivers/spi/spi-sun6i.c if (mclk_rate < (2 * tfr->speed_hz)) { speed_hz 272 drivers/spi/spi-sun6i.c clk_set_rate(sspi->mclk, 2 * tfr->speed_hz); speed_hz 290 drivers/spi/spi-sun6i.c div = mclk_rate / (2 * tfr->speed_hz); speed_hz 297 drivers/spi/spi-sun6i.c div = ilog2(mclk_rate) - ilog2(tfr->speed_hz); speed_hz 327 drivers/spi/spi-sun6i.c tx_time = max(tfr->len * 8 * 2 / (tfr->speed_hz / 1000), 100U); speed_hz 335 drivers/spi/spi-sun6i.c dev_name(&spi->dev), tfr->len, tfr->speed_hz, speed_hz 254 drivers/spi/spi-synquacer.c speed = xfer->speed_hz; speed_hz 770 drivers/spi/spi-tegra114.c u32 speed = t->speed_hz; speed_hz 258 drivers/spi/spi-tegra20-sflash.c speed = t->speed_hz; speed_hz 689 drivers/spi/spi-tegra20-slink.c speed = t->speed_hz; speed_hz 384 drivers/spi/spi-topcliff-pch.c static void pch_spi_set_baud_rate(struct spi_master *master, u32 speed_hz) speed_hz 386 drivers/spi/spi-topcliff-pch.c u32 n_spbr = PCH_CLOCK_HZ / (speed_hz * 2); speed_hz 550 drivers/spi/spi-topcliff-pch.c if (data->cur_trans->speed_hz) { speed_hz 552 drivers/spi/spi-topcliff-pch.c pch_spi_set_baud_rate(data->master, data->cur_trans->speed_hz); speed_hz 931 drivers/spi/spi-topcliff-pch.c if (data->cur_trans->speed_hz) { speed_hz 934 drivers/spi/spi-topcliff-pch.c pch_spi_set_baud_rate(data->master, data->cur_trans->speed_hz); speed_hz 183 drivers/spi/spi-txx9.c u32 speed_hz = t->speed_hz; speed_hz 188 drivers/spi/spi-txx9.c if (prev_speed_hz != speed_hz speed_hz 190 drivers/spi/spi-txx9.c int n = DIV_ROUND_UP(c->baseclk, speed_hz) - 1; speed_hz 200 drivers/spi/spi-txx9.c prev_speed_hz = speed_hz; speed_hz 39 drivers/spi/spi-uniphier.c u32 speed_hz; speed_hz 227 drivers/spi/spi-uniphier.c if (!priv->is_save_param || priv->speed_hz != t->speed_hz) { speed_hz 228 drivers/spi/spi-uniphier.c uniphier_spi_set_baudrate(spi, t->speed_hz); speed_hz 229 drivers/spi/spi-uniphier.c priv->speed_hz = t->speed_hz; speed_hz 409 drivers/spi/spi-uniphier.c threshold = DIV_ROUND_UP(SSI_POLL_TIMEOUT_US * priv->speed_hz, speed_hz 78 drivers/spi/spi-xcomm.c if (t->speed_hz != spi_xcomm->current_speed) { speed_hz 81 drivers/spi/spi-xcomm.c divider = DIV_ROUND_UP(SPI_XCOMM_CLOCK, t->speed_hz); speed_hz 89 drivers/spi/spi-xcomm.c spi_xcomm->current_speed = t->speed_hz; speed_hz 456 drivers/spi/spi-zynqmp-gqspi.c req_hz = transfer->speed_hz; speed_hz 1072 drivers/spi/spi.c do_div(ms, xfer->speed_hz); speed_hz 1134 drivers/spi/spi.c hz = xfer->effective_speed_hz ?: xfer->speed_hz / 2; speed_hz 3202 drivers/spi/spi.c if (!xfer->speed_hz) speed_hz 3203 drivers/spi/spi.c xfer->speed_hz = spi->max_speed_hz; speed_hz 3205 drivers/spi/spi.c if (ctlr->max_speed_hz && xfer->speed_hz > ctlr->max_speed_hz) speed_hz 3206 drivers/spi/spi.c xfer->speed_hz = ctlr->max_speed_hz; speed_hz 3226 drivers/spi/spi.c if (xfer->speed_hz && ctlr->min_speed_hz && speed_hz 3227 drivers/spi/spi.c xfer->speed_hz < ctlr->min_speed_hz) speed_hz 78 drivers/spi/spidev.c u32 speed_hz; speed_hz 117 drivers/spi/spidev.c .speed_hz = spidev->speed_hz, speed_hz 132 drivers/spi/spidev.c .speed_hz = spidev->speed_hz, speed_hz 269 drivers/spi/spidev.c k_tmp->speed_hz = u_tmp->speed_hz; speed_hz 271 drivers/spi/spidev.c if (!k_tmp->speed_hz) speed_hz 272 drivers/spi/spidev.c k_tmp->speed_hz = spidev->speed_hz; speed_hz 283 drivers/spi/spidev.c u_tmp->speed_hz ? : spidev->spi->max_speed_hz); speed_hz 386 drivers/spi/spidev.c retval = put_user(spidev->speed_hz, (__u32 __user *)arg); speed_hz 456 drivers/spi/spidev.c spidev->speed_hz = tmp; speed_hz 626 drivers/spi/spidev.c spidev->speed_hz = spidev->spi->max_speed_hz; speed_hz 772 drivers/spi/spidev.c spidev->speed_hz = spi->max_speed_hz; speed_hz 22 drivers/staging/fbtft/fb_ra8875.c .speed_hz = 1000000, speed_hz 90 drivers/staging/fbtft/fbtft-io.c .speed_hz = 2000000, speed_hz 254 drivers/staging/greybus/spilib.c xfer_timeout = xfer_len * 8 * MSEC_PER_SEC / xfer->speed_hz; speed_hz 260 drivers/staging/greybus/spilib.c gb_xfer->speed_hz = cpu_to_le32(xfer->speed_hz); speed_hz 315 drivers/staging/kpc2000/kpc2000_spi.c if (transfer->speed_hz > KP_SPI_CLK || speed_hz 318 drivers/staging/kpc2000/kpc2000_spi.c transfer->speed_hz, speed_hz 326 drivers/staging/kpc2000/kpc2000_spi.c if (transfer->speed_hz && speed_hz 327 drivers/staging/kpc2000/kpc2000_spi.c transfer->speed_hz < (KP_SPI_CLK >> 15)) { speed_hz 329 drivers/staging/kpc2000/kpc2000_spi.c transfer->speed_hz, speed_hz 751 drivers/tty/serial/ifx6x60.c ifx_dev->spi_xfer.speed_hz = ifx_dev->spi_dev->max_speed_hz; speed_hz 114 drivers/video/backlight/ili922x.c ((struct spi_transfer *)x)->speed_hz = \ speed_hz 156 include/drm/drm_mipi_dbi.h int mipi_dbi_spi_transfer(struct spi_device *spi, u32 speed_hz, speed_hz 896 include/linux/greybus/greybus_protocols.h __le32 speed_hz; speed_hz 840 include/linux/spi/spi.h u32 speed_hz; speed_hz 99 include/uapi/linux/spi/spidev.h __u32 speed_hz; speed_hz 48 net/nfc/nci/spi.c t.speed_hz = nspi->xfer_speed_hz; speed_hz 189 net/nfc/nci/spi.c tx.speed_hz = nspi->xfer_speed_hz; speed_hz 196 net/nfc/nci/spi.c rx.speed_hz = nspi->xfer_speed_hz; speed_hz 220 net/nfc/nci/spi.c rx.speed_hz = nspi->xfer_speed_hz; speed_hz 134 sound/soc/codecs/rt5677-spi.c t[0].speed_hz = RT5677_SPI_FREQ; speed_hz 136 sound/soc/codecs/rt5677-spi.c t[1].speed_hz = RT5677_SPI_FREQ; speed_hz 188 sound/soc/codecs/rt5677-spi.c t.speed_hz = RT5677_SPI_FREQ; speed_hz 442 sound/soc/codecs/wm0010.c xfer->t.speed_hz = wm0010->sysclk / 6; speed_hz 444 sound/soc/codecs/wm0010.c xfer->t.speed_hz = wm0010->max_spi_freq; speed_hz 448 sound/soc/codecs/wm0010.c xfer->t.speed_hz = wm0010->board_max_spi_speed; speed_hz 452 sound/soc/codecs/wm0010.c wm0010->max_spi_freq = xfer->t.speed_hz; speed_hz 538 sound/soc/codecs/wm0010.c t.speed_hz = wm0010->sysclk / 10; speed_hz 542 sound/soc/codecs/wm0010.c t.speed_hz); speed_hz 671 sound/soc/codecs/wm0010.c t.speed_hz = wm0010->sysclk / 6; speed_hz 122 tools/spi/spidev_test.c .speed_hz = speed,