Home
last modified time | relevance | path

Searched refs:speed_hz (Results 1 – 16 of 16) sorted by relevance

/external/u-boot/drivers/spi/
Dfsl_dspi.c70 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 …]
Dzynq_spi.c58 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()
Drk_spi.c57 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()
Dzynqmp_gqspi.c158 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()
Dzynq_qspi.c80 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()
Dcf_spi.c352 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()
Dfsl_qspi.c111 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()
Dpic32_spi.c67 u32 speed_hz; /* spi-clk rate */ member
302 priv->speed_hz = speed; in pic32_spi_set_speed()
Duniphier_spi.c70 u32 speed_hz; member
375 plat->speed_hz = plat->frequency / 2; in uniphier_spi_ofdata_to_platdata()
/external/u-boot/include/dm/platform_data/
Dspi_coldfire.h22 uint speed_hz; member
/external/libese/libese-hw/nxp/pn80t/
Dlinux_spidev.c186 .speed_hz = 0, in spidev_transmit()
216 .speed_hz = 0, in spidev_receive()
/external/u-boot/drivers/i2c/
Di2c-uclass.c408 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()
Dsandbox_i2c.c75 if (i2c->speed_hz > (is_read ? 400000 : 100000)) { in sandbox_i2c_xfer()
Di2c-gpio.c295 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/
Dspidev.h99 __u32 speed_hz; member
/external/u-boot/include/
Di2c.h74 int speed_hz; member