Home
last modified time | relevance | path

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

/openbmc/linux/drivers/counter/
H A Dti-ecap-capture.c324 *enable = ecap_dev->enabled; in ecap_cnt_enable_read()
334 mutex_lock(&ecap_dev->lock); in ecap_cnt_enable_write()
343 ecap_dev->enabled = enable; in ecap_cnt_enable_write()
496 mutex_init(&ecap_dev->lock); in ecap_cnt_probe()
499 if (IS_ERR(ecap_dev->clk)) in ecap_cnt_probe()
513 if (IS_ERR(ecap_dev->regmap)) in ecap_cnt_probe()
545 if (ecap_dev->enabled) in ecap_cnt_remove()
557 if (ecap_dev->enabled) { in ecap_cnt_suspend()
570 clk_disable(ecap_dev->clk); in ecap_cnt_suspend()
580 clk_enable(ecap_dev->clk); in ecap_cnt_resume()
[all …]