Searched refs:clkd (Results 1 – 5 of 5) sorted by relevance
/openbmc/u-boot/drivers/mmc/ |
H A D | msm_sdhci.c | 55 uint clkd[2]; /* clk_id and clk_no */ in msm_sdc_clk_init() local 61 ret = fdtdec_get_int_array(gd->fdt_blob, node, "clock", clkd, 2); in msm_sdc_clk_init() 65 clk_offset = fdt_node_offset_by_phandle(gd->fdt_blob, clkd[0]); in msm_sdc_clk_init() 73 clk.id = clkd[1]; in msm_sdc_clk_init()
|
/openbmc/u-boot/drivers/serial/ |
H A D | serial_msm.c | 158 uint clkd[2]; /* clk_id and clk_no */ in msm_uart_clk_init() local 165 clkd, 2); in msm_uart_clk_init() 169 clk_offset = fdt_node_offset_by_phandle(gd->fdt_blob, clkd[0]); in msm_uart_clk_init() 177 clk.id = clkd[1]; in msm_uart_clk_init()
|
/openbmc/linux/drivers/clk/ |
H A D | clk-tps68470.c | 28 #define to_tps68470_clkdata(clkd) \ argument 29 container_of(clkd, struct tps68470_clkdata, clkout_hw)
|
/openbmc/linux/drivers/spi/ |
H A D | spi-omap2-mcspi.c | 902 u32 ref_clk_hz, l = 0, clkd = 0, div, extclk = 0, clkg = 0; in omap2_mcspi_setup_transfer() local 919 clkd = omap2_mcspi_calc_divisor(speed_hz, ref_clk_hz); in omap2_mcspi_setup_transfer() 920 speed_hz = ref_clk_hz >> clkd; in omap2_mcspi_setup_transfer() 925 clkd = (div - 1) & 0xf; in omap2_mcspi_setup_transfer() 957 l |= clkd << 2; in omap2_mcspi_setup_transfer()
|
/openbmc/linux/drivers/mmc/host/ |
H A D | omap_hsmmc.c | 1300 uint32_t reg, clkd, dto = 0; in set_data_timeout() local 1303 clkd = (reg & CLKD_MASK) >> CLKD_SHIFT; in set_data_timeout() 1304 if (clkd == 0) in set_data_timeout() 1305 clkd = 1; in set_data_timeout() 1307 cycle_ns = 1000000000 / (host->clk_rate / clkd); in set_data_timeout()
|