Home
last modified time | relevance | path

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

/drivers/perf/hisilicon/
Dhisi_uncore_pmu.h30 #define HISI_PMU_ATTR(_name, _func, _config) \ argument
32 { __ATTR(_name, 0444, _func, NULL), (void *)_config } \
35 #define HISI_PMU_FORMAT_ATTR(_name, _config) \ argument
36 HISI_PMU_ATTR(_name, hisi_format_sysfs_show, (void *)_config)
37 #define HISI_PMU_EVENT_ATTR(_name, _config) \ argument
38 HISI_PMU_ATTR(_name, hisi_event_sysfs_show, (unsigned long)_config)
/drivers/perf/
Darm-ccn.c202 #define CCN_CONFIG_NODE(_config) (((_config) >> 0) & 0xff) argument
203 #define CCN_CONFIG_XP(_config) (((_config) >> 0) & 0xff) argument
204 #define CCN_CONFIG_TYPE(_config) (((_config) >> 8) & 0xff) argument
205 #define CCN_CONFIG_EVENT(_config) (((_config) >> 16) & 0xff) argument
206 #define CCN_CONFIG_PORT(_config) (((_config) >> 24) & 0x3) argument
207 #define CCN_CONFIG_BUS(_config) (((_config) >> 24) & 0x3) argument
208 #define CCN_CONFIG_VC(_config) (((_config) >> 26) & 0x7) argument
209 #define CCN_CONFIG_DIR(_config) (((_config) >> 29) & 0x1) argument
210 #define CCN_CONFIG_MASK(_config) (((_config) >> 30) & 0xf) argument
227 #define CCN_FORMAT_ATTR(_name, _config) \ argument
[all …]
Darm_dsu_pmu.c76 #define DSU_EXT_ATTR(_name, _func, _config) \ argument
80 .var = (void *)_config \
84 #define DSU_EVENT_ATTR(_name, _config) \ argument
85 DSU_EXT_ATTR(_name, dsu_pmu_sysfs_event_show, (unsigned long)_config)
87 #define DSU_FORMAT_ATTR(_name, _config) \ argument
88 DSU_EXT_ATTR(_name, dsu_pmu_sysfs_format_show, (char *)_config)
90 #define DSU_CPUMASK_ATTR(_name, _config) \ argument
91 DSU_EXT_ATTR(_name, dsu_pmu_cpumask_show, (unsigned long)_config)
Darm-cci.c138 #define CCI_EXT_ATTR_ENTRY(_name, _func, _config) \ argument
140 { __ATTR(_name, S_IRUGO, _func, NULL), (void *)_config } \
143 #define CCI_FORMAT_EXT_ATTR_ENTRY(_name, _config) \ argument
144 CCI_EXT_ATTR_ENTRY(_name, cci_pmu_format_show, (char *)_config)
145 #define CCI_EVENT_EXT_ATTR_ENTRY(_name, _config) \ argument
146 CCI_EXT_ATTR_ENTRY(_name, cci_pmu_event_show, (unsigned long)_config)
209 #define CCI400_CYCLE_EVENT_EXT_ATTR_ENTRY(_name, _config) \ argument
211 (unsigned long)_config)
445 #define CCI5xx_GLOBAL_EVENT_EXT_ATTR_ENTRY(_name, _config) \ argument
447 (unsigned long) _config)
Dqcom_l3_pmu.c621 #define L3CACHE_PMU_FORMAT_ATTR(_name, _config) \ argument
624 .var = (void *) _config, } \
Darm_smmuv3_pmu.c123 #define SMMU_PMU_EVENT_ATTR_EXTRACTOR(_name, _config, _start, _end) \ argument
127 event->attr._config); \
Dxgene_pmu.c176 #define XGENE_PMU_FORMAT_ATTR(_name, _config) \ argument
179 .var = (void *) _config, } \
287 #define XGENE_PMU_EVENT_ATTR(_name, _config) \ argument
288 PMU_EVENT_ATTR_ID(_name, xgene_pmu_event_show, _config)
/drivers/fpga/
Ddfl-fme-perf.c213 #define get_event(_config) FIELD_GET(FME_EVENT_MASK, _config) argument
214 #define get_evtype(_config) FIELD_GET(FME_EVTYPE_MASK, _config) argument
215 #define get_portid(_config) FIELD_GET(FME_PORTID_MASK, _config) argument
/drivers/usb/gadget/udc/
Dpxa27x_udc.h263 #define PXA_EP_DEF(_idx, _addr, dir, _type, maxpkt, _config, iface, altset) \ argument
269 .config = _config, .interface = iface, .alternate = altset, \
/drivers/media/dvb-frontends/
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()
/drivers/gpu/drm/i915/
Di915_pmu.c818 #define I915_PMU_FORMAT_ATTR(_name, _config) \ argument
821 .str = _config, } \