Home
last modified time | relevance | path

Searched refs:clk_gate (Results 1 – 2 of 2) sorted by relevance

/f-stack/freebsd/arm/allwinner/
H A Da10_ahci.c126 clk_t clk_gate; member
333 error = clk_get_by_ofw_index(dev, 0, 0, &sc->clk_gate); in ahci_a10_attach()
353 error = clk_enable(sc->clk_gate); in ahci_a10_attach()
380 if (sc->clk_gate != NULL) in ahci_a10_attach()
381 clk_release(sc->clk_gate); in ahci_a10_attach()
399 if (sc->clk_gate != NULL) in ahci_a10_detach()
400 clk_release(sc->clk_gate); in ahci_a10_detach()
H A Daw_cir.c405 clk_t clk_ir, clk_gate; in aw_ir_attach() local
409 clk_ir = clk_gate = NULL; in aw_ir_attach()
443 err = clk_get_by_ofw_name(dev, 0, "apb", &clk_gate); in aw_ir_attach()
460 err = clk_enable(clk_gate); in aw_ir_attach()
527 if (clk_gate != NULL) in aw_ir_attach()
528 clk_release(clk_gate); in aw_ir_attach()