Searched refs:clk_gate (Results 1 – 2 of 2) sorted by relevance
126 clk_t clk_gate; member333 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()
405 clk_t clk_ir, clk_gate; in aw_ir_attach() local409 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()