Home
last modified time | relevance | path

Searched refs:bus_clock (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/gpu/drm/panfrost/
H A Dpanfrost_device.c55 pfdev->bus_clock = devm_clk_get_optional(pfdev->dev, "bus"); in panfrost_clk_init()
56 if (IS_ERR(pfdev->bus_clock)) { in panfrost_clk_init()
58 PTR_ERR(pfdev->bus_clock)); in panfrost_clk_init()
59 err = PTR_ERR(pfdev->bus_clock); in panfrost_clk_init()
63 if (pfdev->bus_clock) { in panfrost_clk_init()
64 rate = clk_get_rate(pfdev->bus_clock); in panfrost_clk_init()
67 err = clk_prepare_enable(pfdev->bus_clock); in panfrost_clk_init()
82 clk_disable_unprepare(pfdev->bus_clock); in panfrost_clk_fini()
H A Dpanfrost_device.h87 struct clk *bus_clock; member
/openbmc/u-boot/arch/arm/cpu/armv7/bcm281xx/
H A Dclk-bcm281xx.c337 static struct bus_clock usb_otg_ahb_clk = {
348 static struct bus_clock sdio1_ahb_clk = {
359 static struct bus_clock sdio2_ahb_clk = {
370 static struct bus_clock sdio3_ahb_clk = {
381 static struct bus_clock sdio4_ahb_clk = {
392 static struct bus_clock bsc1_apb_clk = {
403 static struct bus_clock bsc2_apb_clk = {
414 static struct bus_clock bsc3_apb_clk = {
H A Dclk-core.h439 struct bus_clock { struct
475 static inline struct bus_clock *to_bus_clk(struct clk *clock) in to_bus_clk()
477 return container_of(clock, struct bus_clock, clk); in to_bus_clk()
H A Dclk-core.c336 struct bus_clock *bus_clk = to_bus_clk(c); in bus_clk_enable()
376 struct bus_clock *bus_clk = to_bus_clk(c); in bus_clk_get_rate()
/openbmc/u-boot/arch/arm/cpu/armv7/bcm235xx/
H A Dclk-bcm235xx.c333 static struct bus_clock usb_otg_ahb_clk = {
344 static struct bus_clock sdio1_ahb_clk = {
355 static struct bus_clock sdio2_ahb_clk = {
366 static struct bus_clock sdio3_ahb_clk = {
377 static struct bus_clock sdio4_ahb_clk = {
388 static struct bus_clock bsc1_apb_clk = {
399 static struct bus_clock bsc2_apb_clk = {
410 static struct bus_clock bsc3_apb_clk = {
H A Dclk-core.h439 struct bus_clock { struct
475 static inline struct bus_clock *to_bus_clk(struct clk *clock) in to_bus_clk()
477 return container_of(clock, struct bus_clock, clk); in to_bus_clk()
H A Dclk-core.c336 struct bus_clock *bus_clk = to_bus_clk(c); in bus_clk_enable()
376 struct bus_clock *bus_clk = to_bus_clk(c); in bus_clk_get_rate()
/openbmc/linux/arch/mips/ar7/
H A Dclock.c162 u32 *bootcr, u32 bus_clock) in tnetd7300_get_clock() argument
175 base_clock = bus_clock; in tnetd7300_get_clock()