Searched refs:speed_hz (Results 1 – 12 of 12) sorted by relevance
/external/u-boot/drivers/spi/ |
D | fsl_dspi.c | 70 uint speed_hz; member 93 uint speed_hz; member 335 int speed_hz, uint clkrate) in fsl_dspi_hz_to_spi_baud() argument 345 temp = clkrate / speed_hz; in fsl_dspi_hz_to_spi_baud() 356 debug("Can not find valid baud rate,speed_hz is %d, ", speed_hz); in fsl_dspi_hz_to_spi_baud() 380 speed = priv->speed_hz; in fsl_dspi_cfg_speed() 388 priv->speed_hz = speed; in fsl_dspi_cfg_speed() 429 dspi->priv.speed_hz = FSL_DSPI_DEFAULT_SCK_FREQ; in spi_setup_slave() 562 priv->speed_hz = plat->speed_hz; in fsl_dspi_probe() 566 dm_spi_bus->max_hz = plat->speed_hz; in fsl_dspi_probe() [all …]
|
D | zynq_spi.c | 57 u32 speed_hz; member 87 plat->speed_hz = plat->frequency / 2; in zynq_spi_ofdata_to_platdata() 290 } else if (plat->speed_hz != speed) { in zynq_spi_set_speed() 295 plat->speed_hz = speed / (2 << baud_rate_val); in zynq_spi_set_speed()
|
D | rk_spi.c | 45 unsigned int speed_hz; member 300 if (priv->speed_hz != priv->last_speed_hz) in rockchip_spi_claim_bus() 301 rkspi_set_clk(priv, priv->speed_hz); in rockchip_spi_claim_bus() 423 priv->speed_hz = speed; in rockchip_spi_set_speed()
|
D | zynq_qspi.c | 80 u32 speed_hz; member 111 plat->speed_hz = plat->frequency / 2; in zynq_qspi_ofdata_to_platdata() 565 } else if (plat->speed_hz != speed) { in zynq_qspi_set_speed() 571 plat->speed_hz = speed / (2 << baud_rate_val); in zynq_qspi_set_speed()
|
D | fsl_qspi.c | 101 u32 speed_hz; member 128 u32 speed_hz; member 1022 dm_spi_bus->max_hz = plat->speed_hz; in fsl_qspi_probe() 1027 priv->speed_hz = plat->speed_hz; in fsl_qspi_probe() 1157 plat->speed_hz = fdtdec_get_int(blob, node, "spi-max-frequency", in fsl_qspi_ofdata_to_platdata() 1172 plat->speed_hz, in fsl_qspi_ofdata_to_platdata()
|
D | pic32_spi.c | 67 u32 speed_hz; /* spi-clk rate */ member 302 priv->speed_hz = speed; in pic32_spi_set_speed()
|
/external/u-boot/drivers/i2c/ |
D | i2c-uclass.c | 397 i2c->speed_hz = speed; in dm_i2c_set_bus_speed() 408 return i2c->speed_hz; in dm_i2c_get_bus_speed() 590 i2c->speed_hz = dev_read_u32_default(dev, "clock-frequency", 100000); in i2c_post_probe() 592 return dm_i2c_set_bus_speed(dev, i2c->speed_hz); in i2c_post_probe()
|
D | i2c-gpio.c | 295 static int i2c_gpio_set_bus_speed(struct udevice *dev, unsigned int speed_hz) in i2c_gpio_set_bus_speed() argument 301 bus->udelay = 1000000 / (speed_hz << 2); in i2c_gpio_set_bus_speed()
|
D | sandbox_i2c.c | 93 if (i2c->speed_hz > (is_read ? 400000 : 100000)) { in sandbox_i2c_xfer()
|
/external/libese/libese-hw/nxp/pn80t/ |
D | linux_spidev.c | 186 .speed_hz = 0, in spidev_transmit() 216 .speed_hz = 0, in spidev_receive()
|
/external/kernel-headers/original/uapi/linux/spi/ |
D | spidev.h | 96 __u32 speed_hz; member
|
/external/u-boot/include/ |
D | i2c.h | 73 int speed_hz; member
|