/arch/x86/include/asm/ |
D | percpu.h | 181 #define DEFINE_EARLY_PER_CPU(_type, _name, _initvalue) \ argument 182 DEFINE_PER_CPU(_type, _name) = _initvalue; \ 183 __typeof__(_type) _name##_early_map[NR_CPUS] __initdata = \ 185 __typeof__(_type) *_name##_early_ptr __refdata = _name##_early_map 187 #define EXPORT_EARLY_PER_CPU_SYMBOL(_name) \ argument 188 EXPORT_PER_CPU_SYMBOL(_name) 190 #define DECLARE_EARLY_PER_CPU(_type, _name) \ argument 191 DECLARE_PER_CPU(_type, _name); \ 192 extern __typeof__(_type) *_name##_early_ptr; \ 193 extern __typeof__(_type) _name##_early_map[] [all …]
|
/arch/arm/mach-pxa/ |
D | clock.h | 25 #define DEFINE_CKEN(_name, _cken, _rate, _delay) \ argument 26 struct clk clk_##_name = { \ 33 #define DEFINE_CK(_name, _cken, _ops) \ argument 34 struct clk clk_##_name = { \ 39 #define DEFINE_CLK(_name, _ops, _rate, _delay) \ argument 40 struct clk clk_##_name = { \ 52 #define DEFINE_PXA3_CKEN(_name, _cken, _rate, _delay) \ argument 53 struct clk clk_##_name = { \ 60 #define DEFINE_PXA3_CK(_name, _cken, _ops) \ argument 61 struct clk clk_##_name = { \
|
D | mioa701.c | 315 #define ONE_LED(_gpio, _name) \ argument 316 { .gpio = (_gpio), .name = (_name), .active_low = true }
|
/arch/powerpc/platforms/pseries/ |
D | eeh_sysfs.c | 39 #define EEH_SHOW_ATTR(_name,_memb,_format) \ argument 40 static ssize_t eeh_show_##_name(struct device *dev, \ 53 static DEVICE_ATTR(_name, S_IRUGO, eeh_show_##_name, NULL);
|
/arch/sparc/kernel/ |
D | cpu.c | 46 #define CPU(ver, _name) \ argument 47 { .psr_vers = ver, .name = _name } 49 #define CPU_PMU(ver, _name, _pmu_name) \ argument 50 { .psr_vers = ver, .name = _name, .pmu_name = _pmu_name } 52 #define FPU(ver, _name) \ argument 53 { .fp_vers = ver, .name = _name }
|
/arch/arm/include/asm/mach/ |
D | arch.h | 50 #define MACHINE_START(_type,_name) \ argument 55 .name = _name,
|
/arch/x86/kernel/cpu/mcheck/ |
D | therm_throt.c | 33 #define define_therm_throt_sysdev_one_ro(_name) \ argument 34 static SYSDEV_ATTR(_name, 0444, therm_throt_sysdev_show_##_name, NULL)
|
D | mce_amd_64.c | 336 #define THRESHOLD_ATTR(_name,_mode,_show,_store) { \ argument 337 .attr = {.name = __stringify(_name), .mode = _mode }, \
|
/arch/powerpc/platforms/cell/ |
D | cbe_thermal.c | 62 #define SYSDEV_PREFIX_ATTR(_prefix,_name,_mode) \ argument 63 struct sysdev_attribute attr_ ## _prefix ## _ ## _name = { \ 64 .attr = { .name = __stringify(_name), .mode = _mode }, \ 65 .show = _prefix ## _show_ ## _name, \ 66 .store = _prefix ## _store_ ## _name, \
|
/arch/arm/mach-msm/ |
D | vreg.c | 30 #define VREG(_name, _id) { .name = _name, .id = _id, } argument
|
/arch/s390/kernel/ |
D | ipl.c | 175 #define DEFINE_IPL_ATTR_RO(_prefix, _name, _format, _value) \ argument 176 static ssize_t sys_##_prefix##_##_name##_show(struct kobject *kobj, \ 182 static struct kobj_attribute sys_##_prefix##_##_name##_attr = \ 183 __ATTR(_name, S_IRUGO, sys_##_prefix##_##_name##_show, NULL); 185 #define DEFINE_IPL_ATTR_RW(_prefix, _name, _fmt_out, _fmt_in, _value) \ argument 186 static ssize_t sys_##_prefix##_##_name##_show(struct kobject *kobj, \ 193 static ssize_t sys_##_prefix##_##_name##_store(struct kobject *kobj, \ 203 static struct kobj_attribute sys_##_prefix##_##_name##_attr = \ 204 __ATTR(_name,(S_IRUGO | S_IWUSR), \ 205 sys_##_prefix##_##_name##_show, \ [all …]
|
/arch/avr32/mach-at32ap/ |
D | at32ap700x.c | 48 #define NAMED_IRQ(num, _name) \ argument 52 .name = _name, \ 59 #define DEFINE_DEV(_name, _id) \ argument 60 static u64 _name##_id##_dma_mask = DMA_32BIT_MASK; \ 61 static struct platform_device _name##_id##_device = { \ 62 .name = #_name, \ 65 .dma_mask = &_name##_id##_dma_mask, \ 68 .resource = _name##_id##_resource, \ 69 .num_resources = ARRAY_SIZE(_name##_id##_resource), \ 71 #define DEFINE_DEV_DATA(_name, _id) \ argument [all …]
|
/arch/ia64/kernel/ |
D | topology.c | 247 #define define_one_ro(_name) \ argument 248 static struct cache_attr _name = \ 249 __ATTR(_name, 0444, show_##_name, NULL)
|
/arch/x86/kernel/cpu/ |
D | intel_cacheinfo.c | 772 #define define_one_ro(_name) \ argument 773 static struct _cache_attr _name = \ 774 __ATTR(_name, 0444, show_##_name, NULL)
|
/arch/sh/kernel/cpu/sh4a/ |
D | clock-sh7722.c | 635 #define MSTPCR(_name, _parent, regnr, bitnr) \ argument 637 .name = _name, \
|