/external/u-boot/drivers/spi/ |
D | fsl_dspi.c | 70 uint speed_hz; member 93 uint speed_hz; member 357 int speed_hz, uint clkrate) in fsl_dspi_hz_to_spi_baud() argument 367 temp = clkrate / speed_hz; in fsl_dspi_hz_to_spi_baud() 378 debug("Can not find valid baud rate,speed_hz is %d, ", speed_hz); in fsl_dspi_hz_to_spi_baud() 402 speed = priv->speed_hz; in fsl_dspi_cfg_speed() 410 priv->speed_hz = speed; in fsl_dspi_cfg_speed() 446 dspi->priv.speed_hz = FSL_DSPI_DEFAULT_SCK_FREQ; in spi_setup_slave() 579 priv->speed_hz = plat->speed_hz; in fsl_dspi_probe() 583 dm_spi_bus->max_hz = plat->speed_hz; in fsl_dspi_probe() [all …]
|
D | zynq_spi.c | 58 u32 speed_hz; member 88 plat->speed_hz = plat->frequency / 2; in zynq_spi_ofdata_to_platdata() 291 } else if (plat->speed_hz != speed) { in zynq_spi_set_speed() 296 plat->speed_hz = speed / (2 << baud_rate_val); in zynq_spi_set_speed()
|
D | rk_spi.c | 57 unsigned int speed_hz; member 296 if (priv->speed_hz != priv->last_speed_hz) in rockchip_spi_claim_bus() 297 rkspi_set_clk(priv, priv->speed_hz); in rockchip_spi_claim_bus() 515 priv->speed_hz = speed; in rockchip_spi_set_speed()
|
D | zynqmp_gqspi.c | 158 u32 speed_hz; member 308 } else if (plat->speed_hz != speed) { in zynqmp_qspi_set_speed() 317 plat->speed_hz = plat->frequency / (2 << baud_rate_val); in zynqmp_qspi_set_speed() 324 debug("regs=%p, speed=%d\n", priv->regs, plat->speed_hz); in zynqmp_qspi_set_speed() 361 plat->speed_hz = plat->frequency / 2; in zynqmp_qspi_probe()
|
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 | cf_spi.c | 352 cfspi->baudrate = plat->speed_hz; in coldfire_spi_probe() 407 plat->speed_hz = fdtdec_get_int(blob, node, "spi-max-frequency", in coldfire_dspi_ofdata_to_platdata() 433 plat->speed_hz, plat->num_cs, plat->mode); in coldfire_dspi_ofdata_to_platdata()
|
D | fsl_qspi.c | 111 u32 speed_hz; member 137 u32 speed_hz; member 917 dm_spi_bus->max_hz = plat->speed_hz; in fsl_qspi_probe() 922 priv->speed_hz = plat->speed_hz; in fsl_qspi_probe() 1059 plat->speed_hz = fdtdec_get_int(blob, node, "spi-max-frequency", in fsl_qspi_ofdata_to_platdata() 1074 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()
|
D | uniphier_spi.c | 70 u32 speed_hz; member 375 plat->speed_hz = plat->frequency / 2; in uniphier_spi_ofdata_to_platdata()
|
/external/u-boot/include/dm/platform_data/ |
D | spi_coldfire.h | 22 uint speed_hz; member
|
/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/u-boot/drivers/i2c/ |
D | i2c-uclass.c | 408 i2c->speed_hz = speed; in dm_i2c_set_bus_speed() 419 return i2c->speed_hz; in dm_i2c_get_bus_speed() 624 i2c->speed_hz = dev_read_u32_default(dev, "clock-frequency", 100000); in i2c_post_probe() 626 return dm_i2c_set_bus_speed(dev, i2c->speed_hz); in i2c_post_probe()
|
D | sandbox_i2c.c | 75 if (i2c->speed_hz > (is_read ? 400000 : 100000)) { in sandbox_i2c_xfer()
|
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()
|
/external/kernel-headers/original/uapi/linux/spi/ |
D | spidev.h | 99 __u32 speed_hz; member
|
/external/u-boot/include/ |
D | i2c.h | 74 int speed_hz; member
|