Home
last modified time | relevance | path

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

12

/linux/drivers/perf/hisilicon/
H A 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, device_show_string, _config)
37 #define HISI_PMU_EVENT_ATTR(_name, _config) \ argument
38 HISI_PMU_ATTR(_name, hisi_event_sysfs_show, (unsigned long)_config)
H A Dhns3_pmu.c324 #define HNS3_PMU_FILTER_ATTR(_name, _config, _start, _end) \ argument
328 event->attr._config); \
408 #define HNS3_PMU_ATTR(_name, _func, _config) \ argument
410 { __ATTR(_name, 0444, _func, NULL), (void *)_config } \
H A Dhisi_pcie_pmu.c87 #define HISI_PCIE_PMU_FILTER_ATTR(_name, _config, _hi, _lo) \ argument
90 return FIELD_GET(GENMASK(_hi, _lo), event->attr._config); \
/linux/drivers/perf/arm_cspmu/
H A Darm_cspmu.h22 #define ARM_CSPMU_EXT_ATTR(_name, _func, _config) \ argument
26 .var = (void *)_config \
30 #define ARM_CSPMU_FORMAT_ATTR(_name, _config) \ argument
31 ARM_CSPMU_EXT_ATTR(_name, device_show_string, _config)
33 #define ARM_CSPMU_EVENT_ATTR(_name, _config) \ argument
34 PMU_EVENT_ATTR_ID(_name, arm_cspmu_sysfs_event_show, _config)
H A Dnvidia_cspmu.c32 #define NV_CSPMU_EVENT_ATTR_4_INNER(_pref, _num, _suff, _config) \ argument
33 ARM_CSPMU_EVENT_ATTR(_pref##_num##_suff, _config)
35 #define NV_CSPMU_EVENT_ATTR_4(_pref, _suff, _config) \ argument
36 NV_CSPMU_EVENT_ATTR_4_INNER(_pref, _0_, _suff, _config), \
37 NV_CSPMU_EVENT_ATTR_4_INNER(_pref, _1_, _suff, _config + 1), \
38 NV_CSPMU_EVENT_ATTR_4_INNER(_pref, _2_, _suff, _config + 2), \
39 NV_CSPMU_EVENT_ATTR_4_INNER(_pref, _3_, _suff, _config + 3)
H A Dampere_cspmu.c28 #define SOC_PMU_EVENT_ATTR_EXTRACTOR(_name, _config, _start, _end) \ argument
32 event->attr._config); \
/linux/drivers/perf/
H A 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
218 #define CCN_FORMAT_ATTR(_name, _config) \ argument
[all …]
H A Darm_dsu_pmu.c69 #define DSU_EXT_ATTR(_name, _func, _config) \ argument
73 .var = (void *)_config \
77 #define DSU_EVENT_ATTR(_name, _config) \ argument
78 DSU_EXT_ATTR(_name, dsu_pmu_sysfs_event_show, (unsigned long)_config)
80 #define DSU_FORMAT_ATTR(_name, _config) \ argument
81 DSU_EXT_ATTR(_name, device_show_string, _config)
83 #define DSU_CPUMASK_ATTR(_name, _config) \ argument
84 DSU_EXT_ATTR(_name, dsu_pmu_cpumask_show, (unsigned long)_config)
H A Dalibaba_uncore_drw_pmu.c136 #define ALI_DRW_PMU_ATTR(_name, _func, _config) \ argument
138 { __ATTR(_name, 0444, _func, NULL), (void *)_config } \
141 #define ALI_DRW_PMU_FORMAT_ATTR(_name, _config) \ argument
142 ALI_DRW_PMU_ATTR(_name, ali_drw_pmu_format_show, (void *)_config)
143 #define ALI_DRW_PMU_EVENT_ATTR(_name, _config) \ argument
144 ALI_DRW_PMU_ATTR(_name, ali_drw_pmu_event_show, (unsigned long)_config)
H A Darm-cci.c133 #define CCI_EXT_ATTR_ENTRY(_name, _func, _config) \ argument
135 { __ATTR(_name, S_IRUGO, _func, NULL), (void *)_config } \
138 #define CCI_FORMAT_EXT_ATTR_ENTRY(_name, _config) \ argument
139 CCI_EXT_ATTR_ENTRY(_name, device_show_string, _config)
140 #define CCI_EVENT_EXT_ATTR_ENTRY(_name, _config) \ argument
141 CCI_EXT_ATTR_ENTRY(_name, cci_pmu_event_show, (unsigned long)_config)
204 #define CCI400_CYCLE_EVENT_EXT_ATTR_ENTRY(_name, _config) \ argument
206 (unsigned long)_config)
440 #define CCI5xx_GLOBAL_EVENT_EXT_ATTR_ENTRY(_name, _config) \ argument
442 (unsigned long) _config)
H A Dstarfive_starlink_pmu.c53 #define STARLINK_FORMAT_ATTR(_name, _config) \ argument
56 .var = (void *)_config, } \
H A Dfujitsu_uncore_pmu.c293 #define UNCORE_PMU_FORMAT_ATTR(_name, _config) \ argument
296 .var = (void *)_config, } \
H A Dqcom_l3_pmu.c612 #define L3CACHE_PMU_FORMAT_ATTR(_name, _config) \ argument
615 .var = (void *) _config, } \
H A Darm_smmuv3_pmu.c142 #define SMMU_PMU_EVENT_ATTR_EXTRACTOR(_name, _config, _start, _end) \ argument
146 event->attr._config); \
H A Dxgene_pmu.c165 #define XGENE_PMU_FORMAT_ATTR(_name, _config) \ argument
168 .var = (void *) _config, } \
276 #define XGENE_PMU_EVENT_ATTR(_name, _config) \ argument
277 PMU_EVENT_ATTR_ID(_name, xgene_pmu_event_show, _config)
/linux/arch/arm/mm/
H A Dcache-l2x0-pmu.c327 #define L2X0_EVENT_ATTR(_name, _config, _pl310_only) \ argument
330 .config = _config, \
334 #define L220_PLUS_EVENT_ATTR(_name, _config) \ argument
335 L2X0_EVENT_ATTR(_name, _config, false)
337 #define PL310_EVENT_ATTR(_name, _config) \ argument
338 L2X0_EVENT_ATTR(_name, _config, true)
/linux/drivers/fpga/
H A 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
/linux/drivers/regulator/
H A Dtps65086-regulator.c69 #define TPS65086_REGULATOR_CONFIG(_chip_id, _config) \ argument
71 .config = _config, \
72 .num_elems = ARRAY_SIZE(_config), \
/linux/Documentation/translations/zh_CN/video4linux/
H A Domap3isp.txt225 omap3isp_[h3a_af/h3a_aewb/hist]_config.buf_size:
238 omap3isp_[h3a_af/h3a_aewb/hist]_config.config_counter:
/linux/drivers/usb/gadget/udc/
H A Dpxa27x_udc.h263 #define PXA_EP_DEF(_idx, _addr, dir, _type, maxpkt, _config, iface, altset) \ argument
269 .config = _config, .interface = iface, .alternate = altset, \
/linux/drivers/gpu/drm/ci/
H A Dbuild.sh154 cp .config artifacts/${CI_JOB_NAME}_config
/linux/Documentation/userspace-api/media/drivers/
H A Domap3isp-uapi.rst170 omap3isp_[h3a_af/h3a_aewb/hist]\_config.buf_size:
187 omap3isp_[h3a_af/h3a_aewb/hist]\_config.config_counter:
/linux/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()
/linux/drivers/iommu/intel/
H A Dperfmon.c99 #define iommu_pmu_set_filter(_name, _config, _filter, _idx, _econfig) \ argument
105 iommu_pmu_get_##_name(_config) | IOMMU_PMU_FILTER_EN);\
/linux/drivers/gpu/drm/i915/
H A Di915_pmu.c903 #define I915_PMU_FORMAT_ATTR(_name, _config) \ argument
906 .str = _config, } \

12