Lines Matching refs:arm_cmn
329 struct arm_cmn { struct
363 #define to_cmn(p) container_of(p, struct arm_cmn, pmu) argument
372 static int arm_cmn_xyidbits(const struct arm_cmn *cmn) in arm_cmn_xyidbits()
386 static struct arm_cmn_node *arm_cmn_node_to_xp(const struct arm_cmn *cmn, in arm_cmn_node_to_xp()
396 static struct arm_cmn_node *arm_cmn_node(const struct arm_cmn *cmn, in arm_cmn_node()
407 static enum cmn_model arm_cmn_model(const struct arm_cmn *cmn) in arm_cmn_model()
425 static int arm_cmn_pmu_offset(const struct arm_cmn *cmn, const struct arm_cmn_node *dn) in arm_cmn_pmu_offset()
435 static u32 arm_cmn_device_connect_info(const struct arm_cmn *cmn, in arm_cmn_device_connect_info()
499 struct arm_cmn *cmn = s->private; in arm_cmn_show_logid()
523 struct arm_cmn *cmn = s->private; in arm_cmn_map_show()
579 static void arm_cmn_debugfs_init(struct arm_cmn *cmn, int id) in arm_cmn_debugfs_init()
591 static void arm_cmn_debugfs_init(struct arm_cmn *cmn, int id) {} in arm_cmn_debugfs_init()
700 struct arm_cmn *cmn = to_cmn(dev_get_drvdata(dev)); in arm_cmn_event_attr_is_visible()
1325 struct arm_cmn *cmn = to_cmn(dev_get_drvdata(dev)); in arm_cmn_cpumask_show()
1336 struct arm_cmn *cmn = to_cmn(dev_get_drvdata(dev)); in arm_cmn_identifier_show()
1420 static void arm_cmn_set_state(struct arm_cmn *cmn, u32 state) in arm_cmn_set_state()
1427 static void arm_cmn_clear_state(struct arm_cmn *cmn, u32 state) in arm_cmn_clear_state()
1445 static u64 arm_cmn_read_dtm(struct arm_cmn *cmn, struct arm_cmn_hw_event *hw, in arm_cmn_read_dtm()
1485 struct arm_cmn *cmn = to_cmn(event->pmu); in arm_cmn_init_counter()
1500 struct arm_cmn *cmn = to_cmn(event->pmu); in arm_cmn_event_read()
1566 struct arm_cmn *cmn = to_cmn(event->pmu); in arm_cmn_event_start()
1600 struct arm_cmn *cmn = to_cmn(event->pmu); in arm_cmn_event_stop()
1649 static void arm_cmn_val_add_event(struct arm_cmn *cmn, struct arm_cmn_val *val, in arm_cmn_val_add_event()
1686 static int arm_cmn_validate_group(struct arm_cmn *cmn, struct perf_event *event) in arm_cmn_validate_group()
1748 static enum cmn_filter_select arm_cmn_filter_sel(const struct arm_cmn *cmn, in arm_cmn_filter_sel()
1766 struct arm_cmn *cmn = to_cmn(event->pmu); in arm_cmn_event_init()
1837 static void arm_cmn_event_clear(struct arm_cmn *cmn, struct perf_event *event, in arm_cmn_event_clear()
1868 struct arm_cmn *cmn = to_cmn(event->pmu); in arm_cmn_event_add()
1971 struct arm_cmn *cmn = to_cmn(event->pmu); in arm_cmn_event_del()
2005 static void arm_cmn_migrate(struct arm_cmn *cmn, unsigned int cpu) in arm_cmn_migrate()
2017 struct arm_cmn *cmn; in arm_cmn_pmu_online_cpu()
2020 cmn = hlist_entry_safe(cpuhp_node, struct arm_cmn, cpuhp_node); in arm_cmn_pmu_online_cpu()
2029 struct arm_cmn *cmn; in arm_cmn_pmu_offline_cpu()
2033 cmn = hlist_entry_safe(cpuhp_node, struct arm_cmn, cpuhp_node); in arm_cmn_pmu_offline_cpu()
2086 static int arm_cmn_init_irqs(struct arm_cmn *cmn) in arm_cmn_init_irqs()
2127 static int arm_cmn_init_dtc(struct arm_cmn *cmn, struct arm_cmn_node *dn, int idx) in arm_cmn_init_dtc()
2156 static int arm_cmn_init_dtcs(struct arm_cmn *cmn) in arm_cmn_init_dtcs()
2209 static unsigned int arm_cmn_dtc_domain(struct arm_cmn *cmn, void __iomem *xp_region) in arm_cmn_dtc_domain()
2219 static void arm_cmn_init_node_info(struct arm_cmn *cmn, u32 offset, struct arm_cmn_node *node) in arm_cmn_init_node_info()
2254 static int arm_cmn_discover(struct arm_cmn *cmn, unsigned int rgn_offset) in arm_cmn_discover()
2513 static int arm_cmn600_acpi_probe(struct platform_device *pdev, struct arm_cmn *cmn) in arm_cmn600_acpi_probe()
2549 struct arm_cmn *cmn; in arm_cmn_probe()
2627 struct arm_cmn *cmn = platform_get_drvdata(pdev); in arm_cmn_remove()