Home
last modified time | relevance | path

Searched refs:bwmon (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-6.6/drivers/soc/qcom/
H A Dicc-bwmon.c452 static void bwmon_clear_counters(struct icc_bwmon *bwmon, bool clear_all) in bwmon_clear_counters() argument
466 regmap_field_force_write(bwmon->regs[F_CLEAR], val); in bwmon_clear_counters()
467 if (bwmon->data->quirks & BWMON_NEEDS_FORCE_CLEAR) in bwmon_clear_counters()
468 regmap_field_force_write(bwmon->regs[F_CLEAR], 0); in bwmon_clear_counters()
471 static void bwmon_clear_irq(struct icc_bwmon *bwmon) in bwmon_clear_irq() argument
475 if (bwmon->data->global_regmap_fields) in bwmon_clear_irq()
476 global_irq_clr = bwmon->global_regs[F_GLOBAL_IRQ_CLEAR]; in bwmon_clear_irq()
478 global_irq_clr = bwmon->regs[F_GLOBAL_IRQ_CLEAR]; in bwmon_clear_irq()
496 regmap_field_force_write(bwmon->regs[F_IRQ_CLEAR], BWMON_IRQ_ENABLE_MASK); in bwmon_clear_irq()
497 if (bwmon in bwmon_clear_irq()
504 bwmon_disable(struct icc_bwmon *bwmon) bwmon_disable() argument
525 bwmon_enable(struct icc_bwmon *bwmon, unsigned int irq_enable) bwmon_enable() argument
545 bwmon_kbps_to_count(struct icc_bwmon *bwmon, unsigned int kbps) bwmon_kbps_to_count() argument
551 bwmon_set_threshold(struct icc_bwmon *bwmon, struct regmap_field *reg, unsigned int kbps) bwmon_set_threshold() argument
561 bwmon_start(struct icc_bwmon *bwmon) bwmon_start() argument
604 struct icc_bwmon *bwmon = dev_id; bwmon_intr() local
645 struct icc_bwmon *bwmon = dev_id; bwmon_intr_thread() local
696 bwmon_init_regmap(struct platform_device *pdev, struct icc_bwmon *bwmon) bwmon_init_regmap() argument
750 struct icc_bwmon *bwmon; bwmon_probe() local
798 struct icc_bwmon *bwmon = platform_get_drvdata(pdev); bwmon_remove() local
[all...]
H A DMakefile32 obj-$(CONFIG_QCOM_ICC_BWMON) += icc-bwmon.o

Completed in 2 milliseconds