Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/mtd/nand/raw/
H A Ddenali_dt.c65 struct clk clk, clk_x, clk_ecc; in denali_dt_probe() local
100 ret = clk_get_by_name(dev, "ecc", &clk_ecc); in denali_dt_probe()
102 clk_ecc.dev = NULL; in denali_dt_probe()
114 if (clk_ecc.dev) { in denali_dt_probe()
115 ret = clk_enable(&clk_ecc); in denali_dt_probe()
/openbmc/linux/drivers/mtd/nand/raw/
H A Ddenali_dt.c25 struct clk *clk_ecc; /* ECC circuit clock */ member
156 dt->clk_ecc = devm_clk_get(dev, "ecc"); in denali_dt_probe()
157 if (IS_ERR(dt->clk_ecc)) in denali_dt_probe()
158 return PTR_ERR(dt->clk_ecc); in denali_dt_probe()
176 ret = clk_prepare_enable(dt->clk_ecc); in denali_dt_probe()
226 clk_disable_unprepare(dt->clk_ecc); in denali_dt_probe()
242 clk_disable_unprepare(dt->clk_ecc); in denali_dt_remove()