Searched refs:clk_dev (Results 1 – 5 of 5) sorted by relevance
/external/u-boot/drivers/clk/at91/ |
D | clk-system.c | 48 struct clk clk_dev; in system_clk_get_rate() local 51 ret = clk_get_by_index(clk->dev, 0, &clk_dev); in system_clk_get_rate() 55 return clk_get_rate(&clk_dev); in system_clk_get_rate() 60 struct clk clk_dev; in system_clk_set_rate() local 63 ret = clk_get_by_index(clk->dev, 0, &clk_dev); in system_clk_set_rate() 67 return clk_set_rate(&clk_dev, rate); in system_clk_set_rate()
|
D | clk-peripheral.c | 83 struct clk clk_dev; in periph_get_rate() local 89 ret = clk_get_by_index(dev, 0, &clk_dev); in periph_get_rate() 93 clk_rate = clk_get_rate(&clk_dev); in periph_get_rate() 95 clk_free(&clk_dev); in periph_get_rate()
|
D | clk-utmi.c | 26 struct clk clk_dev; in utmi_clk_enable() local 40 err = clk_get_by_index(clk->dev, 0, &clk_dev); in utmi_clk_enable() 44 clk_rate = clk_get_rate(&clk_dev); in utmi_clk_enable()
|
/external/u-boot/drivers/mmc/ |
D | msm_sdhci.c | 57 struct udevice *clk_dev; in msm_sdc_clk_init() local 69 ret = uclass_get_device_by_of_offset(UCLASS_CLK, clk_offset, &clk_dev); in msm_sdc_clk_init() 74 ret = clk_request(clk_dev, &clk); in msm_sdc_clk_init()
|
/external/u-boot/drivers/serial/ |
D | serial_msm.c | 160 struct udevice *clk_dev; in msm_uart_clk_init() local 173 ret = uclass_get_device_by_of_offset(UCLASS_CLK, clk_offset, &clk_dev); in msm_uart_clk_init() 178 ret = clk_request(clk_dev, &clk); in msm_uart_clk_init()
|