Home
last modified time | relevance | path

Searched refs:max_hz (Results 1 – 3 of 3) sorted by relevance

/external/arm-trusted-firmware/drivers/brcm/spi/
Diproc_qspi.c23 int plat_spi_init(uint32_t *max_hz) in plat_spi_init() argument
29 int iproc_qspi_setup(uint32_t bus, uint32_t cs, uint32_t max_hz, uint32_t mode) in iproc_qspi_setup() argument
41 if (plat_spi_init(&max_hz) != 0) in iproc_qspi_setup()
44 priv->max_hz = max_hz; in iproc_qspi_setup()
54 spbr = (QSPI_AXI_CLK - 1) / (2 * priv->max_hz) + 1; in iproc_qspi_setup()
77 VERBOSE("SPI: CLK: %d\n", priv->max_hz); in iproc_qspi_setup()
Diproc_qspi.h88 uint32_t max_hz; member
101 uint32_t max_hz, uint32_t mode);
/external/arm-trusted-firmware/drivers/mtd/spi-mem/
Dspi_mem.c25 unsigned int max_hz; member
92 ret = ops->set_speed(spi_slave.max_hz); in spi_mem_set_speed_mode()
219 spi_slave.max_hz = SPI_MEM_DEFAULT_SPEED_HZ; in spi_mem_init_slave()
223 spi_slave.max_hz = fdt32_to_cpu(*cuint); in spi_mem_init_slave()