Home
last modified time | relevance | path

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

/linux-2.6.39/arch/sh/drivers/dma/
Ddma-sysfs.c45 static SYSDEV_ATTR(devices, S_IRUGO, dma_show_devices, NULL);
75 static SYSDEV_ATTR(dev_id, S_IRUGO | S_IWUSR, dma_show_dev_id, dma_store_dev_id);
90 static SYSDEV_ATTR(config, S_IWUSR, NULL, dma_store_config);
108 static SYSDEV_ATTR(mode, S_IRUGO | S_IWUSR, dma_show_mode, dma_store_mode);
117 static SYSDEV_ATTR(field, S_IRUGO, dma_show_##field, NULL);
/linux-2.6.39/arch/avr32/kernel/
Dcpu.c170 static SYSDEV_ATTR(pc0event, 0600, show_pc0event, store_pc0event);
171 static SYSDEV_ATTR(pc0count, 0600, show_pc0count, store_pc0count);
172 static SYSDEV_ATTR(pc1event, 0600, show_pc1event, store_pc1event);
173 static SYSDEV_ATTR(pc1count, 0600, show_pc1count, store_pc1count);
174 static SYSDEV_ATTR(pccycles, 0600, show_pccycles, store_pccycles);
175 static SYSDEV_ATTR(pcenable, 0600, show_pcenable, store_pcenable);
/linux-2.6.39/drivers/xen/
Dxen-balloon.c125 static SYSDEV_ATTR(name, S_IRUGO, show_##name, NULL)
160 static SYSDEV_ATTR(target_kb, S_IRUGO | S_IWUSR,
190 static SYSDEV_ATTR(target, S_IRUGO | S_IWUSR,
/linux-2.6.39/arch/mips/txx9/generic/
D7segled.c58 static SYSDEV_ATTR(ascii, 0200, NULL, ascii_store);
59 static SYSDEV_ATTR(raw, 0200, NULL, raw_store);
/linux-2.6.39/drivers/base/
Dnode.c57 static SYSDEV_ATTR(cpumap, S_IRUGO, node_read_cpumask, NULL);
58 static SYSDEV_ATTR(cpulist, S_IRUGO, node_read_cpulist, NULL);
157 static SYSDEV_ATTR(meminfo, S_IRUGO, node_read_meminfo, NULL);
176 static SYSDEV_ATTR(numastat, S_IRUGO, node_read_numastat, NULL);
188 static SYSDEV_ATTR(vmstat, S_IRUGO, node_read_vmstat, NULL);
209 static SYSDEV_ATTR(distance, S_IRUGO, node_read_distance, NULL);
Dmemory.c348 static SYSDEV_ATTR(phys_index, 0444, show_mem_start_phys_index, NULL);
349 static SYSDEV_ATTR(end_phys_index, 0444, show_mem_end_phys_index, NULL);
350 static SYSDEV_ATTR(state, 0644, show_mem_state, store_mem_state);
351 static SYSDEV_ATTR(phys_device, 0444, show_phys_device, NULL);
352 static SYSDEV_ATTR(removable, 0444, show_mem_removable, NULL);
Dtopology.c35 static SYSDEV_ATTR(_name, 0444, _func, NULL)
38 static SYSDEV_ATTR(_name, 0444, show_##_name, NULL)
Dcpu.c63 static SYSDEV_ATTR(online, 0644, show_online, store_online);
132 static SYSDEV_ATTR(crash_notes, 0400, show_crash_notes, NULL);
/linux-2.6.39/arch/powerpc/kernel/
Dsysfs.c67 static SYSDEV_ATTR(smt_snooze_delay, 0644, show_smt_snooze_delay,
181 static SYSDEV_ATTR(mmcra, 0600, show_mmcra, store_mmcra);
182 static SYSDEV_ATTR(spurr, 0600, show_spurr, NULL);
183 static SYSDEV_ATTR(dscr, 0600, show_dscr, store_dscr);
184 static SYSDEV_ATTR(purr, 0600, show_purr, store_purr);
589 static SYSDEV_ATTR(physical_id, 0444, show_physical_id, NULL);
/linux-2.6.39/arch/s390/kernel/
Dtime.c1216 static SYSDEV_ATTR(online, 0600, etr_online_show, etr_online_store);
1226 static SYSDEV_ATTR(stepping_control, 0400, etr_stepping_control_show, NULL);
1238 static SYSDEV_ATTR(state_code, 0400, etr_mode_code_show, NULL);
1250 static SYSDEV_ATTR(untuned, 0400, etr_untuned_show, NULL);
1262 static SYSDEV_ATTR(network, 0400, etr_network_id_show, NULL);
1274 static SYSDEV_ATTR(id, 0400, etr_id_show, NULL);
1286 static SYSDEV_ATTR(port, 0400, etr_port_number_show, NULL);
1298 static SYSDEV_ATTR(coupled, 0400, etr_coupled_show, NULL);
1310 static SYSDEV_ATTR(local_time, 0400, etr_local_time_show, NULL);
1322 static SYSDEV_ATTR(utc_offset, 0400, etr_utc_offset_show, NULL);
Dsmp.c829 static SYSDEV_ATTR(configure, 0644, cpu_configure_show, cpu_configure_store);
859 static SYSDEV_ATTR(polarization, 0444, cpu_polarization_show, NULL);
866 static SYSDEV_ATTR(address, 0444, show_cpu_address, NULL);
893 static SYSDEV_ATTR(capability, 0444, show_capability, NULL);
916 static SYSDEV_ATTR(idle_count, 0444, show_idle_count, NULL);
941 static SYSDEV_ATTR(idle_time_us, 0444, show_idle_time, NULL);
/linux-2.6.39/arch/x86/kernel/
Dmicrocode_core.c337 static SYSDEV_ATTR(reload, 0200, NULL, reload_store);
338 static SYSDEV_ATTR(version, 0400, version_show, NULL);
339 static SYSDEV_ATTR(processor_flags, 0400, pf_show, NULL);
/linux-2.6.39/arch/ia64/kernel/
Derr_inject.c38 static SYSDEV_ATTR(name, 0444, show_##name, NULL)
41 static SYSDEV_ATTR(name, 0644, show_##name, store_##name)
/linux-2.6.39/arch/arm/kernel/
Dleds.c70 static SYSDEV_ATTR(event, 0200, NULL, leds_store);
/linux-2.6.39/arch/sparc/kernel/
Dsysfs.c25 static SYSDEV_ATTR(NAME, 0444, show_##NAME, NULL)
165 static SYSDEV_ATTR(mmustat_enable, 0644, show_mmustat_enable, store_mmustat_enable);
/linux-2.6.39/kernel/
Drtmutex-tester.c368 static SYSDEV_ATTR(status, 0600, sysfs_test_status, NULL);
369 static SYSDEV_ATTR(command, 0600, NULL, sysfs_test_command);
/linux-2.6.39/include/linux/
Dsysdev.h122 #define SYSDEV_ATTR(_name, _mode, _show, _store) \ macro
/linux-2.6.39/arch/powerpc/platforms/pseries/
Dcmm.c356 static SYSDEV_ATTR(name, S_IRUGO, show_##name, NULL)
382 static SYSDEV_ATTR(oom_freed_kb, S_IWUSR| S_IRUGO,
/linux-2.6.39/kernel/time/
Dclocksource.c842 static SYSDEV_ATTR(current_clocksource, 0644, sysfs_show_current_clocksources,
845 static SYSDEV_ATTR(available_clocksource, 0444,
/linux-2.6.39/arch/x86/kernel/cpu/mcheck/
Dtherm_throt.c72 static SYSDEV_ATTR(_name, 0444, \
Dmce.c1927 static SYSDEV_ATTR(trigger, 0644, show_trigger, set_trigger);
/linux-2.6.39/drivers/sh/intc/
Dcore.c449 static SYSDEV_ATTR(name, S_IRUGO, show_intc_name, NULL);
/linux-2.6.39/mm/
Dcompaction.c704 static SYSDEV_ATTR(compact, S_IWUSR, NULL, sysfs_compact_node);
Dvmscan.c3324 static SYSDEV_ATTR(scan_unevictable_pages, S_IRUGO | S_IWUSR,
/linux-2.6.39/arch/powerpc/platforms/cell/
Dspu_base.c729 static SYSDEV_ATTR(stat, 0644, spu_stat_show, NULL);