Home
last modified time | relevance | path

Searched refs:_config (Results 1 - 25 of 34) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/perf/hisilicon/
H A Dhisi_uncore_pmu.h27 #define HISI_PMU_ATTR(_name, _func, _config) \
29 { __ATTR(_name, 0444, _func, NULL), (void *)_config } \
32 #define HISI_PMU_FORMAT_ATTR(_name, _config) \
33 HISI_PMU_ATTR(_name, hisi_format_sysfs_show, (void *)_config)
34 #define HISI_PMU_EVENT_ATTR(_name, _config) \
35 HISI_PMU_ATTR(_name, hisi_event_sysfs_show, (unsigned long)_config)
/kernel/linux/linux-6.6/drivers/perf/arm_cspmu/
H A Darm_cspmu.h22 #define ARM_CSPMU_EXT_ATTR(_name, _func, _config) \
26 .var = (void *)_config \
30 #define ARM_CSPMU_FORMAT_ATTR(_name, _config) \
31 ARM_CSPMU_EXT_ATTR(_name, arm_cspmu_sysfs_format_show, (char *)_config)
33 #define ARM_CSPMU_EVENT_ATTR(_name, _config) \
34 PMU_EVENT_ATTR_ID(_name, arm_cspmu_sysfs_event_show, _config)
H A Dnvidia_cspmu.c30 #define NV_CSPMU_EVENT_ATTR_4_INNER(_pref, _num, _suff, _config) \
31 ARM_CSPMU_EVENT_ATTR(_pref##_num##_suff, _config)
33 #define NV_CSPMU_EVENT_ATTR_4(_pref, _suff, _config) \
34 NV_CSPMU_EVENT_ATTR_4_INNER(_pref, _0_, _suff, _config), \
35 NV_CSPMU_EVENT_ATTR_4_INNER(_pref, _1_, _suff, _config + 1), \
36 NV_CSPMU_EVENT_ATTR_4_INNER(_pref, _2_, _suff, _config + 2), \
37 NV_CSPMU_EVENT_ATTR_4_INNER(_pref, _3_, _suff, _config + 3)
/kernel/linux/linux-6.6/drivers/perf/hisilicon/
H A Dhisi_uncore_pmu.h30 #define HISI_PMU_ATTR(_name, _func, _config) \
32 { __ATTR(_name, 0444, _func, NULL), (void *)_config } \
35 #define HISI_PMU_FORMAT_ATTR(_name, _config) \
36 HISI_PMU_ATTR(_name, hisi_format_sysfs_show, (void *)_config)
37 #define HISI_PMU_EVENT_ATTR(_name, _config) \
38 HISI_PMU_ATTR(_name, hisi_event_sysfs_show, (unsigned long)_config)
/kernel/linux/linux-6.6/drivers/perf/
H A Darm_dsu_pmu.c76 #define DSU_EXT_ATTR(_name, _func, _config) \
80 .var = (void *)_config \
84 #define DSU_EVENT_ATTR(_name, _config) \
85 DSU_EXT_ATTR(_name, dsu_pmu_sysfs_event_show, (unsigned long)_config)
87 #define DSU_FORMAT_ATTR(_name, _config) \
88 DSU_EXT_ATTR(_name, dsu_pmu_sysfs_format_show, (char *)_config)
90 #define DSU_CPUMASK_ATTR(_name, _config) \
91 DSU_EXT_ATTR(_name, dsu_pmu_cpumask_show, (unsigned long)_config)
H A Darm-ccn.c202 #define CCN_CONFIG_NODE(_config) (((_config) >> 0) & 0xff)
203 #define CCN_CONFIG_XP(_config) (((_config) >> 0) & 0xff)
204 #define CCN_CONFIG_TYPE(_config) (((_config) >> 8) & 0xff)
205 #define CCN_CONFIG_EVENT(_config) (((_config) >> 16) & 0xff)
206 #define CCN_CONFIG_PORT(_config) (((_config) >> 2
[all...]
H A Darm-cci.c135 #define CCI_EXT_ATTR_ENTRY(_name, _func, _config) \
137 { __ATTR(_name, S_IRUGO, _func, NULL), (void *)_config } \
140 #define CCI_FORMAT_EXT_ATTR_ENTRY(_name, _config) \
141 CCI_EXT_ATTR_ENTRY(_name, cci_pmu_format_show, (char *)_config)
142 #define CCI_EVENT_EXT_ATTR_ENTRY(_name, _config) \
143 CCI_EXT_ATTR_ENTRY(_name, cci_pmu_event_show, (unsigned long)_config)
206 #define CCI400_CYCLE_EVENT_EXT_ATTR_ENTRY(_name, _config) \
208 (unsigned long)_config)
442 #define CCI5xx_GLOBAL_EVENT_EXT_ATTR_ENTRY(_name, _config) \
444 (unsigned long) _config)
[all...]
H A Dalibaba_uncore_drw_pmu.c136 #define ALI_DRW_PMU_ATTR(_name, _func, _config) \
138 { __ATTR(_name, 0444, _func, NULL), (void *)_config } \
141 #define ALI_DRW_PMU_FORMAT_ATTR(_name, _config) \
142 ALI_DRW_PMU_ATTR(_name, ali_drw_pmu_format_show, (void *)_config)
143 #define ALI_DRW_PMU_EVENT_ATTR(_name, _config) \
144 ALI_DRW_PMU_ATTR(_name, ali_drw_pmu_event_show, (unsigned long)_config)
H A Dqcom_l3_pmu.c621 #define L3CACHE_PMU_FORMAT_ATTR(_name, _config) \
624 .var = (void *) _config, } \
/kernel/linux/linux-5.10/arch/arm/mm/
H A Dcache-l2x0-pmu.c327 #define L2X0_EVENT_ATTR(_name, _config, _pl310_only) \
330 .config = _config, \
334 #define L220_PLUS_EVENT_ATTR(_name, _config) \
335 L2X0_EVENT_ATTR(_name, _config, false)
337 #define PL310_EVENT_ATTR(_name, _config) \
338 L2X0_EVENT_ATTR(_name, _config, true)
/kernel/linux/linux-6.6/arch/arm/mm/
H A Dcache-l2x0-pmu.c327 #define L2X0_EVENT_ATTR(_name, _config, _pl310_only) \
330 .config = _config, \
334 #define L220_PLUS_EVENT_ATTR(_name, _config) \
335 L2X0_EVENT_ATTR(_name, _config, false)
337 #define PL310_EVENT_ATTR(_name, _config) \
338 L2X0_EVENT_ATTR(_name, _config, true)
/kernel/linux/linux-5.10/drivers/perf/
H A Darm-ccn.c202 #define CCN_CONFIG_NODE(_config) (((_config) >> 0) & 0xff)
203 #define CCN_CONFIG_XP(_config) (((_config) >> 0) & 0xff)
204 #define CCN_CONFIG_TYPE(_config) (((_config) >> 8) & 0xff)
205 #define CCN_CONFIG_EVENT(_config) (((_config) >> 16) & 0xff)
206 #define CCN_CONFIG_PORT(_config) (((_config) >> 2
[all...]
H A Darm_dsu_pmu.c76 #define DSU_EXT_ATTR(_name, _func, _config) \
80 .var = (void *)_config \
84 #define DSU_EVENT_ATTR(_name, _config) \
85 DSU_EXT_ATTR(_name, dsu_pmu_sysfs_event_show, (unsigned long)_config)
87 #define DSU_FORMAT_ATTR(_name, _config) \
88 DSU_EXT_ATTR(_name, dsu_pmu_sysfs_format_show, (char *)_config)
90 #define DSU_CPUMASK_ATTR(_name, _config) \
91 DSU_EXT_ATTR(_name, dsu_pmu_cpumask_show, (unsigned long)_config)
H A Darm-cci.c138 #define CCI_EXT_ATTR_ENTRY(_name, _func, _config) \
140 { __ATTR(_name, S_IRUGO, _func, NULL), (void *)_config } \
143 #define CCI_FORMAT_EXT_ATTR_ENTRY(_name, _config) \
144 CCI_EXT_ATTR_ENTRY(_name, cci_pmu_format_show, (char *)_config)
145 #define CCI_EVENT_EXT_ATTR_ENTRY(_name, _config) \
146 CCI_EXT_ATTR_ENTRY(_name, cci_pmu_event_show, (unsigned long)_config)
209 #define CCI400_CYCLE_EVENT_EXT_ATTR_ENTRY(_name, _config) \
211 (unsigned long)_config)
445 #define CCI5xx_GLOBAL_EVENT_EXT_ATTR_ENTRY(_name, _config) \
447 (unsigned long) _config)
[all...]
H A Dqcom_l3_pmu.c621 #define L3CACHE_PMU_FORMAT_ATTR(_name, _config) \
624 .var = (void *) _config, } \
H A Darm_smmuv3_pmu.c121 #define SMMU_PMU_EVENT_ATTR_EXTRACTOR(_name, _config, _start, _end) \
125 event->attr._config); \
/kernel/linux/linux-5.10/drivers/fpga/
H A Ddfl-fme-perf.c213 #define get_event(_config) FIELD_GET(FME_EVENT_MASK, _config)
214 #define get_evtype(_config) FIELD_GET(FME_EVTYPE_MASK, _config)
215 #define get_portid(_config) FIELD_GET(FME_PORTID_MASK, _config)
/kernel/linux/linux-6.6/drivers/fpga/
H A Ddfl-fme-perf.c213 #define get_event(_config) FIELD_GET(FME_EVENT_MASK, _config)
214 #define get_evtype(_config) FIELD_GET(FME_EVTYPE_MASK, _config)
215 #define get_portid(_config) FIELD_GET(FME_PORTID_MASK, _config)
/kernel/linux/linux-6.6/drivers/regulator/
H A Dtps65086-regulator.c69 #define TPS65086_REGULATOR_CONFIG(_chip_id, _config) \
71 .config = _config, \
72 .num_elems = ARRAY_SIZE(_config), \
/kernel/linux/linux-5.10/arch/x86/events/intel/
H A Duncore.h198 #define INTEL_UNCORE_EVENT_DESC(_name, _config) \
201 .config = _config, \
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
H A Dpxa27x_udc.h263 #define PXA_EP_DEF(_idx, _addr, dir, _type, maxpkt, _config, iface, altset) \
269 .config = _config, .interface = iface, .alternate = altset, \
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/
H A Dpxa27x_udc.h263 #define PXA_EP_DEF(_idx, _addr, dir, _type, maxpkt, _config, iface, altset) \
269 .config = _config, .interface = iface, .alternate = altset, \
/kernel/linux/linux-6.6/arch/x86/events/intel/
H A Duncore.h230 #define INTEL_UNCORE_EVENT_DESC(_name, _config) \
233 .config = _config, \
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
H A Dlgdt330x.c914 struct dvb_frontend *lgdt330x_attach(const struct lgdt330x_config *_config, in lgdt330x_attach() argument
920 struct lgdt330x_config config = *_config; in lgdt330x_attach()
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/
H A Dlgdt330x.c913 struct dvb_frontend *lgdt330x_attach(const struct lgdt330x_config *_config, in lgdt330x_attach() argument
919 struct lgdt330x_config config = *_config; in lgdt330x_attach()

Completed in 29 milliseconds

12