Searched refs:sysfs (Results 1 - 200 of 1387) sorted by relevance

1234567

/linux-4.4.14/drivers/video/fbdev/omap2/omapfb/
H A DMakefile2 omapfb-y := omapfb-main.o omapfb-sysfs.o omapfb-ioctl.o
H A Domapfb-sysfs.c2 * linux/drivers/video/omap2/omapfb-sysfs.c
24 #include <linux/sysfs.h>
576 DBG("create sysfs for fbs\n"); omapfb_create_sysfs()
584 dev_err(fbdev->dev, "failed to create sysfs " omapfb_create_sysfs()
598 DBG("remove sysfs for fbs\n"); omapfb_remove_sysfs()
/linux-4.4.14/drivers/dca/
H A DMakefile2 dca-objs := dca-core.o dca-sysfs.o
/linux-4.4.14/drivers/dma/ioat/
H A DMakefile2 ioatdma-y := init.o dma.o prep.o dca.o sysfs.o
/linux-4.4.14/drivers/infiniband/hw/mlx4/
H A DMakefile3 mlx4_ib-y := ah.o cq.o doorbell.o mad.o main.o mr.o qp.o srq.o mcg.o cm.o alias_GUID.o sysfs.o
/linux-4.4.14/drivers/dio/
H A DMakefile5 obj-y := dio.o dio-driver.o dio-sysfs.o
H A Ddio-sysfs.c6 * Loosely based on drivers/pci/pci-sysfs.c and drivers/zorro/zorro-sysfs.c
/linux-4.4.14/sound/aoa/soundbus/
H A DMakefile2 snd-aoa-soundbus-objs := core.o sysfs.o
/linux-4.4.14/fs/sysfs/
H A DMakefile2 # Makefile for the sysfs virtual filesystem
H A Dsysfs.h2 * fs/sysfs/sysfs.h - sysfs internal header file
14 #include <linux/sysfs.h>
H A Dmount.c2 * fs/sysfs/symlink.c - operations for initializing and mounting sysfs
10 * Please see Documentation/filesystems/sysfs.txt for more information.
21 #include "sysfs.h"
44 /* Userspace would break if executables appear on sysfs */ sysfs_mount()
59 .name = "sysfs",
H A Ddir.c2 * fs/sysfs/dir.c - sysfs core and dir operation implementation
10 * Please see Documentation/filesystems/sysfs.txt for more information.
18 #include "sysfs.h"
30 WARN(1, KERN_WARNING "sysfs: cannot create duplicate filename '%s/%s'\n", sysfs_warn_dup()
81 * doesn't race with other operations and sysfs doesn't provide any sysfs_remove_dir()
H A Dsymlink.c2 * fs/sysfs/symlink.c - sysfs symlink implementation
10 * Please see Documentation/filesystems/sysfs.txt for more information.
19 #include "sysfs.h"
H A Dfile.c2 * fs/sysfs/file.c - sysfs regular (text) file implementation
10 * Please see Documentation/filesystems/sysfs.txt for more information.
21 #include "sysfs.h"
38 * Reads on sysfs are handled through seq_file, which takes care of hairy
105 /* kernfs read callback for regular sysfs files with pre-alloc */ sysfs_kf_read()
123 /* kernfs write callback for regular sysfs files */ sysfs_kf_write()
136 /* kernfs write callback for bin sysfs files */ sysfs_kf_bin_write()
255 "missing sysfs attribute operations for kobject: %s\n", sysfs_add_file_mode_ns()
H A Dgroup.c2 * fs/sysfs/group.c - Operations for adding/removing multiple files at once.
18 #include "sysfs.h"
119 WARN(1, "sysfs: (bin_)attrs not set by subsystem for group: %s/%s\n", internal_create_group()
236 "sysfs group %p not found for kobject '%s'\n", sysfs_remove_group()
/linux-4.4.14/drivers/video/fbdev/omap2/dss/
H A DMakefile7 omapdss-y += manager.o manager-sysfs.o overlay.o overlay-sysfs.o apply.o \
8 dispc-compat.o display-sysfs.o
H A Doverlay.c28 #include <linux/sysfs.h>
95 DSSERR("failed to create sysfs file\n"); dss_init_overlays()
/linux-4.4.14/Documentation/mic/mpssd/
H A Dmicctrl32 sysfs="/sys/class/mic"
36 f=$sysfs/$1
46 for f in $sysfs/*
57 f=$sysfs/$1
67 for f in $sysfs/*
78 f=$sysfs/$1
91 for f in $sysfs/*
102 f=$sysfs/$1
112 for f in $sysfs/*
123 f=$sysfs/$1
138 for f in $sysfs/*
147 if [ ! -d "$sysfs" ]; then
H A DMakefile5 mpssd-objs := mpssd.o sysfs.o
H A Dsysfs.c42 mpsslog("Failed to open sysfs entry '%s': %s\n", readsysfs()
49 mpsslog("Failed to read sysfs entry '%s': %s\n", readsysfs()
85 mpsslog("Failed to open sysfs entry '%s': %s\n", setsysfs()
93 mpsslog("Failed to write new sysfs entry '%s': %s\n", setsysfs()
H A Dmpss37 sysfs="/sys/class/mic"
80 for f in $sysfs/*
109 if [ ! -d "$sysfs" ]; then
120 for f in $sysfs/*
161 if [ ! -d "$sysfs" ]; then
/linux-4.4.14/drivers/md/bcache/
H A DMakefile5 io.o journal.o movinggc.o request.o stats.o super.o sysfs.o trace.o\
H A Dstats.c10 #include "sysfs.h"
32 * stored left shifted by 16, and scaled back in the sysfs show() function.
41 /* sysfs reading/writing */
/linux-4.4.14/drivers/pps/
H A DMakefile5 pps_core-y := pps.o kapi.o sysfs.o
/linux-4.4.14/fs/nilfs2/
H A DMakefile5 ifile.o alloc.o gcinode.o ioctl.o sysfs.o
H A Dsysfs.h2 * sysfs.h - sysfs support declarations.
23 #include <linux/sysfs.h>
/linux-4.4.14/arch/powerpc/kernel/
H A Dcacheinfo.h4 /* These are just hooks for sysfs.c to use. */
H A Deeh_sysfs.c31 * EEH_SHOW_ATTR -- Create sysfs entry for eeh statistic
32 * @_name: name of file in sysfs directory
111 pr_warn("EEH: Unable to create sysfs entries\n"); eeh_sysfs_add_device()
H A Dof_platform.c55 /* Setup parent in sysfs */ of_pci_phb_probe()
94 /* sysfs files should only be added after devices are added */ of_pci_phb_probe()
/linux-4.4.14/net/ieee802154/
H A DMakefile6 header_ops.o sysfs.o nl802154.o trace.o
H A Dsysfs.c13 * Based on: net/wireless/sysfs.c
22 #include "sysfs.h"
/linux-4.4.14/tools/testing/selftests/powerpc/dscr/
H A Ddscr_sysfs_test.c2 * POWER Data Stream Control Register (DSCR) sysfs interface test
4 * This test updates to system wide DSCR default through the sysfs interface
6 * well verified from their sysfs interfaces.
45 DIR *sysfs; check_all_cpu_dscr_defaults() local
49 sysfs = opendir(CPU_PATH); check_all_cpu_dscr_defaults()
50 if (!sysfs) { check_all_cpu_dscr_defaults()
55 while ((dp = readdir(sysfs))) { check_all_cpu_dscr_defaults()
70 closedir(sysfs); check_all_cpu_dscr_defaults()
H A Ddscr_sysfs_thread_test.c2 * POWER Data Stream Control Register (DSCR) sysfs thread test
5 * sysfs interface which should then update all the CPU specific
H A Ddscr_default_test.c5 * it's sysfs interface and then verifies that all threads
/linux-4.4.14/drivers/gpu/drm/nouveau/
H A Dnouveau_sysfs.c31 MODULE_PARM_DESC(pstate, "enable sysfs pstate file, which will be moved in the future");
50 struct nouveau_sysfs *sysfs = nouveau_sysfs(drm_device(d)); nouveau_sysfs_pstate_get() local
56 ret = nvif_mthd(&sysfs->ctrl, NVIF_CONTROL_PSTATE_INFO, nouveau_sysfs_pstate_get()
69 ret = nvif_mthd(&sysfs->ctrl, NVIF_CONTROL_PSTATE_ATTR, nouveau_sysfs_pstate_get()
84 ret = nvif_mthd(&sysfs->ctrl, nouveau_sysfs_pstate_get()
120 struct nouveau_sysfs *sysfs = nouveau_sysfs(drm_device(d)); nouveau_sysfs_pstate_set() local
149 ret = nvif_mthd(&sysfs->ctrl, NVIF_CONTROL_PSTATE_USER, nouveau_sysfs_pstate_set()
163 struct nouveau_sysfs *sysfs = nouveau_sysfs(dev); nouveau_sysfs_fini() local
167 if (sysfs && sysfs->ctrl.priv) { nouveau_sysfs_fini()
169 nvif_object_fini(&sysfs->ctrl); nouveau_sysfs_fini()
172 drm->sysfs = NULL; nouveau_sysfs_fini()
173 kfree(sysfs); nouveau_sysfs_fini()
181 struct nouveau_sysfs *sysfs; nouveau_sysfs_init() local
187 sysfs = drm->sysfs = kzalloc(sizeof(*sysfs), GFP_KERNEL); nouveau_sysfs_init()
188 if (!sysfs) nouveau_sysfs_init()
192 NULL, 0, &sysfs->ctrl); nouveau_sysfs_init()
H A Dnouveau_sysfs.h13 return nouveau_drm(dev)->sysfs; nouveau_sysfs()
/linux-4.4.14/drivers/media/usb/pvrusb2/
H A DMakefile1 obj-pvrusb2-sysfs-$(CONFIG_VIDEO_PVRUSB2_SYSFS) := pvrusb2-sysfs.o
15 $(obj-pvrusb2-sysfs-y) $(obj-pvrusb2-debugifc-y)
H A Dpvrusb2-sysfs.h24 #include <linux/sysfs.h>
/linux-4.4.14/drivers/usb/wusbcore/
H A DMakefile11 dev-sysfs.o \
/linux-4.4.14/drivers/usb/core/
H A DMakefile6 usbcore-y += config.o file.o buffer.o sysfs.o endpoint.o
/linux-4.4.14/drivers/rapidio/
H A DMakefile5 rapidio-y := rio.o rio-access.o rio-driver.o rio-sysfs.o
H A Drio-sysfs.c2 * RapidIO sysfs attributes and support
265 * rio_create_sysfs_dev_files - create RIO specific sysfs files
268 * Create files when @rdev is added to sysfs.
290 * rio_remove_sysfs_dev_files - cleanup RIO specific sysfs files
293 * Cleanup when @rdev is removed from sysfs.
/linux-4.4.14/drivers/s390/char/
H A Dsclp_cpi_sys.h2 * SCLP control program identification sysfs interface
/linux-4.4.14/drivers/misc/cxl/
H A DMakefile4 cxl-y += context.o sysfs.o debugfs.o pci.o trace.o
/linux-4.4.14/drivers/net/wireless/ti/wlcore/
H A DMakefile2 boot.o init.o debugfs.o scan.o sysfs.o vendor_cmd.o
H A Dsysfs.c25 #include "sysfs.h"
176 /* Create sysfs file to control bt coex state */ wlcore_sysfs_init()
179 wl1271_error("failed to create sysfs file bt_coex_state"); wlcore_sysfs_init()
183 /* Create sysfs file to get HW PG version */ wlcore_sysfs_init()
186 wl1271_error("failed to create sysfs file hw_pg_ver"); wlcore_sysfs_init()
190 /* Create sysfs file for the FW log */ wlcore_sysfs_init()
193 wl1271_error("failed to create sysfs file fwlog"); wlcore_sysfs_init()
/linux-4.4.14/drivers/net/wimax/i2400m/
H A DMakefile10 sysfs.o \
H A Ddebug-levels.h41 D_SUBMODULE_DECLARE(sysfs),
H A Dsysfs.c31 #define D_SUBMODULE sysfs
/linux-4.4.14/drivers/isdn/gigaset/
H A Dproc.c61 /* free sysfs for device */ gigaset_free_dev_sysfs()
67 gig_dbg(DEBUG_INIT, "removing sysfs entries"); gigaset_free_dev_sysfs()
71 /* initialize sysfs for device */ gigaset_init_dev_sysfs()
77 gig_dbg(DEBUG_INIT, "setting up sysfs"); gigaset_init_dev_sysfs()
79 pr_err("could not create sysfs attribute\n"); gigaset_init_dev_sysfs()
/linux-4.4.14/include/uapi/linux/
H A Dif.h41 * set these flags using userspace utilities but there is also a sysfs
43 * are shared for all types of net_devices. The sysfs entries are available
44 * via /sys/class/net/<dev>/flags. Flags which can be toggled through sysfs
47 * even if you try to set them via sysfs. Flags which are always preserved
53 * @IFF_UP: interface is up. Can be toggled through sysfs.
55 * @IFF_DEBUG: turn on debugging. Can be toggled through sysfs.
58 * @IFF_NOTRAILERS: avoid use of trailers. Can be toggled through sysfs.
61 * @IFF_NOARP: no ARP protocol. Can be toggled through sysfs. Volatile.
62 * @IFF_PROMISC: receive all packets. Can be toggled through sysfs.
64 * sysfs.
67 * @IFF_MULTICAST: Supports multicast. Can be toggled through sysfs.
68 * @IFF_PORTSEL: can set media type. Can be toggled through sysfs.
69 * @IFF_AUTOMEDIA: auto media select active. Can be toggled through sysfs.
71 * through sysfs.
79 IFF_UP = 1<<0, /* sysfs */
81 IFF_DEBUG = 1<<2, /* sysfs */
84 IFF_NOTRAILERS = 1<<5, /* sysfs */
86 IFF_NOARP = 1<<7, /* sysfs */
87 IFF_PROMISC = 1<<8, /* sysfs */
88 IFF_ALLMULTI = 1<<9, /* sysfs */
91 IFF_MULTICAST = 1<<12, /* sysfs */
92 IFF_PORTSEL = 1<<13, /* sysfs */
93 IFF_AUTOMEDIA = 1<<14, /* sysfs */
94 IFF_DYNAMIC = 1<<15, /* sysfs */
H A Dusbip.h10 /* usbip device status - exported in usbip device sysfs status */
H A Dnetdevice.h40 /* interface name assignment types (sysfs name_assign_type attribute) */
H A Dmap_to_7segment.h45 * accessible via the sysfs interface using the following scheme:
88 * custom character sets for LCD devices. Please use a sysfs interface
/linux-4.4.14/drivers/staging/rdma/hfi1/
H A DMakefile12 qp.o qsfp.o rc.o ruc.o sdma.o srq.o sysfs.o trace.o twsi.o \
/linux-4.4.14/fs/ext4/
H A DMakefile11 xattr_trusted.o inline.o readpage.o sysfs.o
/linux-4.4.14/drivers/sh/superhyway/
H A Dsuperhyway-sysfs.c2 * drivers/sh/superhyway/superhyway-sysfs.c
4 * SuperHyway Bus sysfs interface
/linux-4.4.14/drivers/infiniband/core/
H A DMakefile11 ib_core-y := packer.o ud_header.o verbs.o sysfs.o \
/linux-4.4.14/drivers/firmware/
H A DMakefile7 obj-$(CONFIG_DMI_SYSFS) += dmi-sysfs.o
H A Ddmi-sysfs.c2 * dmi-sysfs.c
5 * sysfs file system.
419 pr_info("dmi-sysfs: GPNV support missing.\n"); dmi_sel_raw_read_helper()
422 pr_info("dmi-sysfs: Unknown access method %02x\n", dmi_sel_raw_read_helper()
654 pr_err("dmi-sysfs: dmi entry is absent.\n"); dmi_sysfs_init()
674 pr_debug("dmi-sysfs: loaded.\n"); dmi_sysfs_init()
686 pr_debug("dmi-sysfs: unloading.\n"); dmi_sysfs_exit()
695 MODULE_DESCRIPTION("DMI sysfs support");
H A Ddcdbas.h20 #include <linux/sysfs.h>
/linux-4.4.14/drivers/char/tpm/
H A DMakefile5 tpm-y := tpm-interface.o tpm-dev.o tpm-sysfs.o tpm-chip.o tpm2-cmd.o
/linux-4.4.14/net/core/
H A DMakefile15 obj-y += net-sysfs.o
/linux-4.4.14/net/wireless/
H A DMakefile12 cfg80211-y += core.o sysfs.o radiotap.o util.o reg.o scan.o nl80211.o
/linux-4.4.14/drivers/zorro/
H A DMakefile5 obj-$(CONFIG_ZORRO) += zorro.o zorro-driver.o zorro-sysfs.o
H A Dzorro-sysfs.c6 * Loosely based on drivers/pci/pci-sysfs.c
/linux-4.4.14/drivers/edac/
H A Dedac_stub.c73 * sysfs object: /sys/devices/system/edac
82 /* return pointer to the 'edac' node in sysfs */ edac_get_sysfs_subsys()
93 printk(KERN_ERR "Error registering toplevel EDAC sysfs dir\n"); edac_get_sysfs_subsys()
H A Dedac_core.h119 * View them arranged, via the sysfs presentation:
148 * used for driver sysfs attributes in mem_ctl_info
192 /* edac sysfs device control */
206 /* edac sysfs device control */
242 /* pointer to main 'edac' subsys in sysfs */
269 /* sysfs top name under 'edac' directory
287 /* edac sysfs device control for the 'name'
367 /* sysfs top name under 'edac' directory
379 /* edac sysfs device control for the 'name'
H A Dedac_pci.c76 * call the remove sysfs information, which will unregister
323 * edac_pci global list and create sysfs entries associated with
347 "failed to create sysfs pci\n"); edac_pci_add_device()
378 * Remove sysfs entries for specified edac_pci structure and
/linux-4.4.14/drivers/hwmon/
H A Dtwl4030-madc-hwmon.c6 * particular channel using the sysfs nodes.
34 #include <linux/hwmon-sysfs.h>
36 #include <linux/sysfs.h>
41 * sysfs hook function
61 /* sysfs nodes to read individual channels from user side */
H A Dsht21.c28 #include <linux/hwmon-sysfs.h>
125 * sht21_show_temperature() - show temperature measurement value in sysfs
128 * @buf: sysfs buffer (PAGE_SIZE) where measurement values are written to
130 * Will be called on read access to temp1_input sysfs attribute.
147 * sht21_show_humidity() - show humidity measurement value in sysfs
150 * @buf: sysfs buffer (PAGE_SIZE) where measurement values are written to
152 * Will be called on read access to humidity1_input sysfs attribute.
168 /* sysfs attributes */
H A Dhih6130.c31 #include <linux/hwmon-sysfs.h>
166 * hih6130_show_temperature() - show temperature measurement value in sysfs
169 * @buf: sysfs buffer (PAGE_SIZE) where measurement values are written to
171 * Will be called on read access to temp1_input sysfs attribute.
188 * hih6130_show_humidity() - show humidity measurement value in sysfs
191 * @buf: sysfs buffer (PAGE_SIZE) where measurement values are written to
193 * Will be called on read access to humidity1_input sysfs attribute.
208 /* sysfs attributes */
H A Dg760a.c22 #include <linux/hwmon-sysfs.h>
25 #include <linux/sysfs.h>
83 * sysfs attributes
H A Dtc74.c20 #include <linux/hwmon-sysfs.h>
26 #include <linux/sysfs.h>
H A Dad7314.c13 #include <linux/sysfs.h>
18 #include <linux/hwmon-sysfs.h>
H A Di5k_amb.c25 #include <linux/hwmon-sysfs.h>
276 /* Set up sysfs stuff */ i5k_amb_hwmon_init()
293 /* sysfs label */ i5k_amb_hwmon_init()
308 /* Temperature sysfs knob */ i5k_amb_hwmon_init()
323 /* Temperature min sysfs knob */ i5k_amb_hwmon_init()
339 /* Temperature mid sysfs knob */ i5k_amb_hwmon_init()
355 /* Temperature max sysfs knob */ i5k_amb_hwmon_init()
371 /* Temperature alarm sysfs knob */ i5k_amb_hwmon_init()
H A Dsht15.c25 #include <linux/hwmon-sysfs.h>
671 * sht15_show_status() - show status information in sysfs
674 * @buf: sysfs buffer where information is written to.
677 * and heater_enable sysfs attributes.
694 * sht15_store_heater() - change heater state via sysfs
697 * @buf: sysfs buffer to read the new heater state from.
700 * Will be called on write access to heater_enable sysfs attribute.
729 * sht15_show_temp() - show temperature measurement value in sysfs
732 * @buf: sysfs buffer where measurement values are written to.
734 * Will be called on read access to temp1_input sysfs attribute.
752 * sht15_show_humidity() - show humidity measurement value in sysfs
755 * @buf: sysfs buffer where measurement values are written to.
757 * Will be called on read access to humidity1_input sysfs attribute.
1018 dev_err(&pdev->dev, "sysfs create failed\n"); sht15_probe()
H A Dab8500.c17 #include <linux/hwmon-sysfs.h>
26 #include <linux/sysfs.h>
H A Dads7828.c30 #include <linux/hwmon-sysfs.h>
62 /* sysfs callback function */ ads7828_show_in()
H A Dlm70.c34 #include <linux/sysfs.h>
56 /* sysfs hook function */ lm70_sense_temp()
H A Dmcp3021.c8 * This driver export the value of analog input voltage to sysfs, the
9 * voltage unit is mV. Through the sysfs interface, lm-sensors tool
H A Dmenf21bmc_hwmon.c6 * driver through sysfs.
20 #include <linux/hwmon-sysfs.h>
H A Dwm8350-hwmon.c26 #include <linux/hwmon-sysfs.h>
/linux-4.4.14/tools/perf/util/
H A Dpmu.c31 * Parse & process all the sysfs attributes located under
71 * /sys/bus/event_source/devices/<dev>/format as sysfs group attributes.
77 const char *sysfs = sysfs__mountpoint(); pmu_format() local
79 if (!sysfs) pmu_format()
83 "%s" EVENT_SOURCE_DEVICE_PATH "%s/format", sysfs, name); pmu_format()
279 * Process all the sysfs attributes located under the directory
324 * /sys/bus/event_source/devices/<dev>/events as sysfs group attributes.
330 const char *sysfs = sysfs__mountpoint(); pmu_aliases() local
332 if (!sysfs) pmu_aliases()
336 "%s/bus/event_source/devices/%s/events", sysfs, name); pmu_aliases()
369 * /sys/bus/event_source/devices/<dev>/type as sysfs attribute.
377 const char *sysfs = sysfs__mountpoint(); pmu_type() local
379 if (!sysfs) pmu_type()
383 "%s" EVENT_SOURCE_DEVICE_PATH "%s/type", sysfs, name); pmu_type()
399 /* Add all pmus in sysfs to pmu list: */ pmu_read_sysfs()
405 const char *sysfs = sysfs__mountpoint(); pmu_read_sysfs() local
407 if (!sysfs) pmu_read_sysfs()
411 "%s" EVENT_SOURCE_DEVICE_PATH, sysfs); pmu_read_sysfs()
433 const char *sysfs = sysfs__mountpoint(); pmu_cpumask() local
435 if (!sysfs) pmu_cpumask()
439 "%s/bus/event_source/devices/%s/cpumask", sysfs, name); pmu_cpumask()
641 /* sysfs exported terms */ pmu_formats_string()
718 pr_info("Invalid sysfs entry %s=%s\n", pmu_config_term()
1065 const char *sysfs; perf_pmu__open_file() local
1067 sysfs = sysfs__mountpoint(); perf_pmu__open_file()
1068 if (!sysfs) perf_pmu__open_file()
1072 "%s" EVENT_SOURCE_DEVICE_PATH "%s/%s", sysfs, pmu->name, name); perf_pmu__open_file()
H A Dcpumap.c399 pr_err("sysfs path crossed PATH_MAX(%d) size\n", PATH_MAX); set_max_cpu_num()
427 pr_err("sysfs path crossed PATH_MAX(%d) size\n", PATH_MAX); set_max_node_num()
477 pr_err("sysfs path crossed PATH_MAX(%d) size\n", PATH_MAX); cpu__setup_cpunode_map()
492 pr_err("sysfs path crossed PATH_MAX(%d) size\n", PATH_MAX); cpu__setup_cpunode_map()
/linux-4.4.14/tools/power/cpupower/bench/
H A Dcpufreq-bench_script.sh42 # Set values in sysfs
48 # Verify set values in sysfs
50 echo "up_threshold: $up_threshold, set in sysfs: ${up_threshold_set}"
52 echo "WARNING: Tried to set up_threshold: $up_threshold, set in sysfs: ${up_threshold_set}"
55 echo "sampling_rate: $sampling_rate, set in sysfs: ${sampling_rate_set}"
57 echo "WARNING: Tried to set sampling_rate: $sampling_rate, set in sysfs: ${sampling_rate_set}"
/linux-4.4.14/drivers/staging/most/hdm-dim2/
H A Ddim2_sysfs.h2 * dim2_sysfs.h - MediaLB sysfs information
H A Ddim2_sysfs.c2 * dim2_sysfs.c - MediaLB sysfs information
/linux-4.4.14/arch/tile/kernel/
H A DMakefile9 sysfs.o time.o traps.o unaligned.o vdso.o \
/linux-4.4.14/tools/lib/api/fs/
H A Dfs.c90 .name = "sysfs",
173 * testing). This matches the recommendation in Documentation/sysfs-rules.txt
263 FS(sysfs, FS__SYSFS);
306 const char *sysfs = sysfs__mountpoint(); sysfs__read_ull() local
308 if (!sysfs) sysfs__read_ull()
311 snprintf(path, sizeof(path), "%s/%s", sysfs, entry); sysfs__read_ull()
319 const char *sysfs = sysfs__mountpoint(); sysfs__read_int() local
321 if (!sysfs) sysfs__read_int()
324 snprintf(path, sizeof(path), "%s/%s", sysfs, entry); sysfs__read_int()
H A Dfs.h19 FS(sysfs)
/linux-4.4.14/net/batman-adv/
H A Dsysfs.h23 #include <linux/sysfs.h>
33 * created in the sysfs hierarchy for each VLAN interface. The subfolder will
H A Dsysfs.c18 #include "sysfs.h"
70 /* VLAN specific attributes are located in the root sysfs folder if they batadv_vlan_kobj_to_batpriv()
483 * @kobj: kobject representing the private mesh sysfs directory
502 * @kobj: kobject representing the private mesh sysfs directory
616 * batadv_vlan_attrs - array of vlan specific sysfs attributes
633 batadv_err(dev, "Can't add sysfs directory: %s/%s\n", dev->name, batadv_sysfs_add_meshif()
642 batadv_err(dev, "Can't add sysfs file: %s/%s/%s\n", batadv_sysfs_add_meshif()
674 * batadv_sysfs_add_vlan - add all the needed sysfs objects for the new vlan
695 batadv_err(dev, "Can't add sysfs directory: %s/%s\n", batadv_sysfs_add_vlan()
711 batadv_err(dev, "Can't add sysfs file: %s/%s/%s\n", batadv_sysfs_add_vlan()
731 * batadv_sysfs_del_vlan - remove all the sysfs objects for a given VLAN
883 batadv_err(dev, "Can't add sysfs directory: %s/%s\n", dev->name, batadv_sysfs_add_hardif()
891 batadv_err(dev, "Can't add sysfs file: %s/%s/%s\n", batadv_sysfs_add_hardif()
/linux-4.4.14/samples/kobject/
H A Dkset-example.c12 #include <linux/sysfs.h>
18 * This module shows how to create a kset in sysfs called
29 * sysfs.
48 * The default show function that must be passed to sysfs. This will be
49 * called by sysfs for whenever a show function is called by the user on a
50 * sysfs file associated with the kobjects we have registered. We need to
72 * sysfs "store" is requested (when a value is written to a file.)
185 * Our own ktype for our kobjects. Here we specify our sysfs ops, the
H A Dkobject-example.c12 #include <linux/sysfs.h>
17 * This module shows how to create a simple subdirectory in sysfs called
/linux-4.4.14/fs/ocfs2/cluster/
H A Dsys.c6 * OCFS2 cluster sysfs interface
30 #include <linux/sysfs.h>
H A Dsys.h6 * Function prototypes for o2cb sysfs interface
/linux-4.4.14/include/linux/platform_data/
H A Dat24.h47 #define AT24_FLAG_READONLY 0x40 /* sysfs-entry will be read-only */
48 #define AT24_FLAG_IRUGO 0x20 /* sysfs-entry will be world-readable */
/linux-4.4.14/include/linux/
H A Dhwmon-sysfs.h2 * hwmon-sysfs.h - hardware monitoring chip driver sysfs defines
H A Dkobject_ns.h24 * Namespace types which are used to tag kobjects and sysfs entries.
34 * Callbacks so sysfs can determine namespaces
H A Dhwmon.h4 This file declares helper functions for the sysfs class "hwmon",
H A Dlivepatch.h42 * @kobj: kobject for sysfs resources
90 * @kobj: kobject for sysfs resources
112 * @kobj: kobject for sysfs resources
H A Dleds.h175 * led_sysfs_disable - disable LED sysfs interface
178 * Disable the led_cdev's sysfs interface.
183 * led_sysfs_enable - enable LED sysfs interface
186 * Enable the led_cdev's sysfs interface.
191 * led_sysfs_is_disabled - check if LED sysfs interface is disabled
194 * Returns: true if the led_cdev's sysfs interface is disabled.
H A Dpktcdvd.h19 #include <linux/sysfs.h>
197 struct device *dev; /* sysfs pktcdvd[0-7] dev */
198 struct pktcdvd_kobj *kobj_stat; /* sysfs pktcdvd[0-7]/stat/ */
199 struct pktcdvd_kobj *kobj_wqueue; /* sysfs pktcdvd[0-7]/write_queue/ */
H A Dgpio_keys.h18 * disable button via sysfs
H A Discsi_ibft.h9 * This code exposes the iSCSI Boot Format Table to userland via sysfs.
H A Dthermal.h154 * @trip_temp_attrs: attributes for trip points for sysfs: trip temperature
155 * @trip_type_attrs: attributes for trip points for sysfs: trip type
156 * @trip_hyst_attrs: attributes for trip points for sysfs: trip hysteresis
245 * effective. See Documentation/thermal/sysfs-api.txt for more
253 * See Documentation/thermal/sysfs-api.txt for more information.
275 * a boolean to indicate if the thermal to hwmon sysfs interface
276 * is required. when no_hwmon == false, a hwmon sysfs interface
H A Dmoduleparam.h104 * @perm: visibility in sysfs.
110 * @perm is 0 if the the variable is not to appear in sysfs, or 0444
139 * @perm: visibility in sysfs.
162 * @perm: visibility in sysfs.
178 * @perm: visibility in sysfs.
257 * @name: the name of the cmdline and sysfs parameter (often the same as var)
260 * @perm: visibility in sysfs
286 * @perm: visibility in sysfs.
420 * @perm: visibility in sysfs
437 * @perm: visibility in sysfs
H A Dmemory.h11 * Memory block are exported via sysfs in the class/memory/devices/
40 /* These states are exposed to userspace as text strings in sysfs */
H A Dsuperhyway.h103 /* drivers/sh/superhyway/superhyway-sysfs.c */
H A Decryptfs.h10 * bits from a sysfs handle in order to determine how to behave. */
/linux-4.4.14/drivers/gpu/drm/
H A Ddrm_sysfs.c4 * extra sysfs attribute from DRM. Normal drm_sysfs_class
117 * drm_sysfs_init - initialize sysfs helpers
120 * other top-level DRM sysfs objects.
486 * drm_sysfs_connector_add - add a connector to sysfs
489 * Create a connector device in sysfs, along with its associated connector
506 DRM_DEBUG("adding \"%s\" to sysfs\n", drm_sysfs_connector_add()
521 * drm_sysfs_connector_remove - remove an connector device from sysfs
524 * Remove @connector and its associated attributes from sysfs. Note that
531 * you'll likely see a panic somewhere deep in sysfs code when called.
537 DRM_DEBUG("removing \"%s\" from sysfs\n", drm_sysfs_connector_remove()
569 * drm_sysfs_minor_alloc() - Allocate sysfs device for given minor
570 * @minor: minor to allocate sysfs device for
572 * This allocates a new sysfs device for @minor and returns it. The device is
579 * private data only in sysfs callbacks. device_del() disables those
/linux-4.4.14/drivers/cpuidle/
H A Dsysfs.c2 * sysfs.c - sysfs support
11 #include <linux/sysfs.h>
144 * cpuidle_add_interface - add CPU global sysfs attributes
155 * cpuidle_remove_interface - remove CPU global sysfs attributes
393 * cpuidle_add_state_sysfs - adds cpuidle states sysfs attributes
431 * cpuidle_remove_driver_sysfs - removes the cpuidle states sysfs attributes
525 * cpuidle_add_driver_sysfs - adds the driver name sysfs attribute
556 * cpuidle_remove_driver_sysfs - removes the driver name sysfs attribute
579 * cpuidle_add_device_sysfs - adds device specific sysfs attributes
597 * cpuidle_remove_device_sysfs : removes device specific sysfs attributes
607 * cpuidle_add_sysfs - creates a sysfs instance for the target device
637 * cpuidle_remove_sysfs - deletes a sysfs instance on the target device
H A Dcpuidle.h25 /* sysfs */
/linux-4.4.14/drivers/scsi/mpt3sas/
H A Dmpt3sas_trigger_diag.h76 * MasterTrigger is a single U32 passed to/from sysfs.
102 * struct SL_WH_EVENT_TRIGGERS_T - Structure passed to/from sysfs containing a
108 * This binary structure is transferred via sysfs to get/set Event Triggers
135 * struct SL_WH_SCSI_TRIGGERS_T - Structure passed to/from sysfs containing a
142 * This binary structure is transferred via sysfs to get/set SCSI Sense Code
165 * struct SL_WH_MPI_TRIGGERS_T - Structure passed to/from sysfs containing a
172 * This binary structure is transferred via sysfs to get/set MPI Error Triggers
H A Dmpt3sas_ctl.c2410 * A sysfs 'read-only' shost attribute.
2432 * A sysfs 'read-only' shost attribute.
2456 * A sysfs 'read-only' shost attribute.
2475 * A sysfs 'read-only' shost attribute.
2493 * A sysfs 'read-only' shost attribute.
2513 * A sysfs 'read-only' shost attribute.
2533 * A sysfs 'read-only' shost attribute.
2551 * A sysfs 'read-only' shost attribute.
2569 * A sysfs 'read-only' shost attribute.
2590 * A sysfs 'read-only' shost attribute.
2611 * A sysfs 'read-only' shost attribute.
2631 * A sysfs 'read-only' shost attribute.
2651 * A sysfs 'read-only' shost attribute.
2672 * A sysfs 'read/write' shost attribute.
2708 * A sysfs 'read/write' shost attribute.
2745 * A sysfs 'read-only' shost attribute.
2765 * A sysfs 'read-only' shost attribute.
2793 * A sysfs 'read-only' shost attribute.
2813 /* pci_access_mutex lock acquired by sysfs show path */ _ctl_BRM_status_show()
2877 * A sysfs 'read-only' shost attribute.
2922 * A sysfs 'read/write' shost attribute.
2987 * A sysfs 'read/write' shost attribute.
3073 * A sysfs 'read/write' shost attribute.
3097 * A sysfs 'read/write' shost attribute.
3128 * A sysfs 'read/write' shost attribute.
3151 * A sysfs 'read/write' shost attribute.
3182 * A sysfs 'read/write' shost attribute.
3205 * A sysfs 'read/write' shost attribute.
3235 * A sysfs 'read/write' shost attribute.
3258 * A sysfs 'read/write' shost attribute.
3327 * A sysfs 'read-only' shost attribute.
3348 * A sysfs 'read-only' shost attribute.
/linux-4.4.14/drivers/scsi/
H A Discsi_boot_sysfs.c2 * Export the iSCSI boot info to userland via sysfs.
20 #include <linux/sysfs.h>
26 MODULE_DESCRIPTION("sysfs interface and helpers to export iSCSI boot information");
38 * The routine called for all sysfs attributes.
357 * iscsi_boot_create_target() - create boot target sysfs dir
365 * Note: The boot sysfs lib will free the data passed in for the caller
382 * iscsi_boot_create_initiator() - create boot initiator sysfs dir
390 * Note: The boot sysfs lib will free the data passed in for the caller
408 * iscsi_boot_create_ethernet() - create boot ethernet sysfs dir
416 * Note: The boot sysfs lib will free the data passed in for the caller
434 * iscsi_boot_create_kset() - creates root sysfs tree
457 * iscsi_boot_create_host_kset() - creates root sysfs tree for a scsi host
/linux-4.4.14/drivers/mfd/
H A Dtps65911-comparator.c143 /* Create sysfs entry */ tps65911_comparator_probe()
146 dev_err(&pdev->dev, "failed to add COMP1 sysfs file\n"); tps65911_comparator_probe()
150 dev_err(&pdev->dev, "failed to add COMP2 sysfs file\n"); tps65911_comparator_probe()
/linux-4.4.14/drivers/hid/
H A Dhid-prodikeys.c8 * Sustain Duration available via sysfs.
102 /* Output routine for the sysfs channel file */ show_channel()
109 dbg_hid("pcmidi sysfs read channel=%u\n", pk->pm->midi_channel); show_channel()
115 /* Input routine for the sysfs channel file */ store_channel()
125 dbg_hid("pcmidi sysfs write channel=%u\n", channel); store_channel()
139 /* Output routine for the sysfs sustain file */ show_sustain()
146 dbg_hid("pcmidi sysfs read sustain=%u\n", pk->pm->midi_sustain); show_sustain()
152 /* Input routine for the sysfs sustain file */ store_sustain()
162 dbg_hid("pcmidi sysfs write sustain=%u\n", sustain); store_sustain()
178 /* Output routine for the sysfs octave file */ show_octave()
185 dbg_hid("pcmidi sysfs read octave=%d\n", pk->pm->midi_octave); show_octave()
191 /* Input routine for the sysfs octave file */ store_octave()
202 dbg_hid("pcmidi sysfs write octave=%d\n", octave); store_octave()
663 /* create sysfs variables */ pcmidi_snd_initialise()
667 pk_error("failed to create sysfs attribute channel: error %d\n", pcmidi_snd_initialise()
675 pk_error("failed to create sysfs attribute sustain: error %d\n", pcmidi_snd_initialise()
683 pk_error("failed to create sysfs attribute octave: error %d\n", pcmidi_snd_initialise()
/linux-4.4.14/drivers/net/wireless/libertas/
H A Dmesh.c143 * Mesh sysfs support
147 * Attributes exported through sysfs
151 * lbs_anycast_get - Get function for sysfs attribute anycast_mask
173 * lbs_anycast_set - Set function for sysfs attribute anycast_mask
199 * lbs_prb_rsp_limit_get - Get function for sysfs attribute prb_rsp_limit
225 * lbs_prb_rsp_limit_set - Set function for sysfs attribute prb_rsp_limit
258 * lbs_mesh_get - Get function for sysfs attribute mesh
271 * lbs_mesh_set - Set function for sysfs attribute mesh
298 * through sysfs (/sys/class/net/ethX/lbs_mesh)
304 * through sysfs (/sys/class/net/mshX/anycast_mask)
310 * through sysfs (/sys/class/net/mshX/prb_rsp_limit)
350 * bootflag_get - Get function for sysfs attribute bootflag
370 * bootflag_set - Set function for sysfs attribute bootflag
400 * boottime_get - Get function for sysfs attribute boottime
420 * boottime_set - Set function for sysfs attribute boottime
459 * channel_get - Get function for sysfs attribute channel
479 * channel_set - Set function for sysfs attribute channel
509 * mesh_id_get - Get function for sysfs attribute mesh_id
538 * mesh_id_set - Set function for sysfs attribute mesh_id
584 * protocol_id_get - Get function for sysfs attribute protocol_id
604 * protocol_id_set - Set function for sysfs attribute protocol_id
645 * metric_id_get - Get function for sysfs attribute metric_id
665 * metric_id_set - Set function for sysfs attribute metric_id
706 * capability_get - Get function for sysfs attribute capability
726 * capability_set - Set function for sysfs attribute capability
/linux-4.4.14/arch/parisc/kernel/
H A Dtopology.c2 * arch/parisc/kernel/topology.c - Populate sysfs with topology information
/linux-4.4.14/arch/avr32/boards/merisc/
H A Dmerisc_sysfs.c2 * Merisc sysfs exports
/linux-4.4.14/drivers/staging/iio/resolver/
H A Dad2s90.c16 #include <linux/sysfs.h>
20 #include <linux/iio/sysfs.h>
H A Dad2s1200.c17 #include <linux/sysfs.h>
24 #include <linux/iio/sysfs.h>
/linux-4.4.14/include/video/
H A Dudlfb.h48 char *edid; /* null until we read edid from hw or get from sysfs */
55 /* blit-only rendering path metrics, exposed through sysfs */
/linux-4.4.14/drivers/scsi/megaraid/
H A Dmegaraid_mbox.h172 * @sysfs_mtx : mutex to serialize access to sysfs res.
173 * @sysfs_uioc : management packet to issue FW calls from sysfs
174 * @sysfs_mbox64 : mailbox packet to issue FW calls from sysfs
175 * @sysfs_buffer : data buffer for FW commands issued from sysfs
176 * @sysfs_buffer_dma : DMA buffer for FW commands issued from sysfs
177 * @sysfs_wait_q : wait queue for sysfs operations
/linux-4.4.14/drivers/scsi/pm8001/
H A Dpm8001_ctl.c52 * A sysfs 'read-only' shost attribute.
77 * A sysfs 'read-only' shost attribute.
106 * A sysfs 'read-only' shost attribute.
129 * A sysfs 'read-only' shost attribute.
155 * A sysfs 'read-only' shost attribute.
199 * A sysfs 'read-only' shost attribute.
228 * A sysfs 'read-only' shost attribute.
247 * A sysfs 'read/write' shost attribute.
280 * A sysfs 'read-only' shost attribute.
315 * A sysfs 'read-only' shost attribute.
347 * A sysfs 'read-only' shost attribute.
379 * A sysfs 'read-only' shost attribute.
417 * A sysfs 'read-only' shost attribute.
453 ** A sysfs 'read-only' shost attribute.
472 **A sysfs 'read-only' shost attribute.
/linux-4.4.14/drivers/pci/
H A Dpci-label.c3 * a pci device to sysfs
10 * number and string name. This code retrieves them and exports them to sysfs.
13 * sysfs.
17 * it to sysfs.
24 #include <linux/sysfs.h>
H A Dpci-sysfs.c2 * drivers/pci/pci-sysfs.c
484 dev_info(&pdev->dev, "Driver doesn't support SRIOV configuration via sysfs\n"); sriov_numvfs_store()
801 * @filp: open sysfs file
827 * @filp: open sysfs file
853 * @filp: open sysfs file
874 * @filp: open sysfs file
911 * their associated read, write and mmap files from pci-sysfs.c
957 printk(KERN_WARNING "pci: warning: could not create legacy I/O port and ISA memory resources to sysfs\n"); pci_create_legacy_files()
1118 * If we created resource files for @pdev, remove them from sysfs and
1179 * pci_create_resource_files - create resource files in sysfs for @dev
1215 * @filp: sysfs file pci_remove_resource_files()
1240 * @filp: sysfs file
1325 /* If the device has VPD, try to expose it in sysfs. */ pci_create_capabilities_sysfs()
1391 /* If the device has a ROM, try to expose it in sysfs. */ pci_create_sysfs_dev_files()
1412 /* add sysfs entries for various capabilities */ pci_create_sysfs_dev_files()
1453 * pci_remove_sysfs_dev_files - cleanup PCI specific sysfs files
1456 * Cleanup when @pdev is removed from sysfs.
/linux-4.4.14/drivers/rtc/
H A Drtc-ds1672.c133 /* following are the sysfs callback functions */ show_control()
188 /* Register sysfs hooks */ ds1672_probe()
191 dev_err(&client->dev, "Unable to create sysfs entry: %s\n", ds1672_probe()
H A Drtc-pcf2123.c11 * the sysfs contributions to this driver.
47 #include <linux/sysfs.h>
306 dev_err(&spi->dev, "Unable to create sysfs %s\n", pcf2123_probe()
H A Drtc-sysfs.c2 * RTC subsystem, sysfs interface
21 * NOTE: RTC times displayed in sysfs use the RTC's timezone. That's
225 /* The reason to trigger an alarm with no process watching it (via sysfs)
/linux-4.4.14/drivers/misc/mic/bus/
H A Dcosm_bus.h30 * @attr_group: Pointer to list of sysfs attribute groups.
31 * @sdev: Device for sysfs entries.
52 * @sysfs_heartbeat_enable: sysfs setting for disabling heartbeat notification
/linux-4.4.14/fs/exofs/
H A Dsys.c148 * This function creates sysfs entries to hold the current exofs cluster
165 EXOFS_ERR("ERROR: Failed to create sysfs entry for " exofs_sysfs_sb_add()
185 EXOFS_ERR("ERROR: Failed to create sysfs entry for " exofs_sysfs_odev_add()
/linux-4.4.14/tools/iio/
H A Diio_utils.c210 * @device_dir: the IIO device directory in sysfs
305 * @device_dir: the IIO device directory in sysfs
725 * write_sysfs_int() - write an integer value to a sysfs file
727 * @basedir: the sysfs directory in which the file is to be found
738 * write_sysfs_int_and_verify() - write an integer value to a sysfs file
741 * @basedir: the sysfs directory in which the file is to be found
827 * @basedir: the sysfs directory in which the file is to be found
839 * write_sysfs_string() - write string to a sysfs file
841 * @basedir: the sysfs directory in which the file is to be found
855 * @basedir: the sysfs directory in which the file is to be found
902 * @basedir: the sysfs directory in which the file is to be found
949 * @basedir: the sysfs directory in which the file is to be found
/linux-4.4.14/drivers/sfi/
H A Dsfi_core.h59 #include <linux/sysfs.h>
67 /* sysfs interface */
/linux-4.4.14/drivers/iommu/
H A Diommu-sysfs.c2 * IOMMU sysfs class support
104 * directory of the IOMMU device in sysfs and an "iommu" link will be
/linux-4.4.14/drivers/gpu/drm/radeon/
H A Dradeon_semaphore.c68 /* for debugging lockup only, used by sysfs debug files */ radeon_semaphore_emit_signal()
85 /* for debugging lockup only, used by sysfs debug files */ radeon_semaphore_emit_wait()
/linux-4.4.14/arch/sh/drivers/dma/
H A Ddma-sysfs.c2 * arch/sh/drivers/dma/dma-sysfs.c
4 * sysfs interface for SH DMA API
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_semaphore.c66 /* for debugging lockup only, used by sysfs debug files */ amdgpu_semaphore_emit_signal()
81 /* for debugging lockup only, used by sysfs debug files */ amdgpu_semaphore_emit_wait()
/linux-4.4.14/drivers/hwtracing/intel_th/
H A Dpci.c21 #include <linux/sysfs.h>
/linux-4.4.14/drivers/misc/genwqe/
H A Dcard_sysfs.c33 #include <linux/sysfs.h>
145 * unreliable data in very rare cases. This makes this sysfs
272 * genwqe_is_visible() - Determine if sysfs attribute should be visible or not
274 * VFs have restricted mmio capabilities, so not all sysfs entries
/linux-4.4.14/drivers/net/ethernet/intel/igb/
H A Digb_hwmon.c30 #include <linux/sysfs.h>
100 /* igb_add_hwmon_attr - Create hwmon attr table for a hwmon sysfs file.
105 * For each file we want in hwmon's sysfs interface we need a device_attribute
199 /* Only create hwmon sysfs entries for sensors that have igb_sysfs_init()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sysfs.c35 #include <linux/sysfs.h>
100 * ixgbe_add_hwmon_attr - Create hwmon attr table for a hwmon sysfs file.
105 * For each file we want in hwmon's sysfs interface we need a device_attribute
197 * Only create hwmon sysfs entries for sensors that have ixgbe_sysfs_init()
/linux-4.4.14/drivers/acpi/
H A DMakefile49 acpi-y += sysfs.o
H A Ddevice_sysfs.c2 * drivers/acpi/device_sysfs.c - ACPI device sysfs attributes and modalias.
322 * acpi_device_modalias - modalias sysfs attribute for ACPI-enumerated devices.
324 * Create the modalias sysfs attribute for ACPI-enumerated devices.
435 /* sysfs file that shows description text from the ACPI _STR method */ description_show()
491 * acpi_device_setup_files - Create sysfs attributes of an ACPI device.
577 * acpi_device_remove_files - Remove sysfs attributes of an ACPI device.
H A Dbgrt.c14 #include <linux/sysfs.h>
/linux-4.4.14/drivers/base/
H A Dmodule.c2 * module.c - module sysfs fun for drivers
/linux-4.4.14/arch/alpha/kernel/
H A Dpci-sysfs.c2 * arch/alpha/kernel/pci-sysfs.c
9 * drivers/pci/pci-sysfs.c
111 * If we created resource files for @dev, remove them from sysfs and
224 * pci_create_resource_files - create resource files in sysfs for @dev
/linux-4.4.14/fs/btrfs/
H A Dsysfs.h5 * Data exported through sysfs
/linux-4.4.14/arch/sh/kernel/
H A Dtopology.c71 * registered under each node. Without this, sysfs fails topology_init()
/linux-4.4.14/arch/metag/kernel/
H A Dtopology.c67 * registered under each node. Without this, sysfs fails topology_init()
/linux-4.4.14/Documentation/networking/
H A Dcxacru-cf.py19 # Output: values string suitable for the sysfs adsl_config attribute
/linux-4.4.14/sound/soc/codecs/
H A Dtlv320aic26.c14 #include <linux/sysfs.h>
259 * SPI device portion of driver: sysfs files for debugging
313 /* Register the sysfs files for debugging */ aic26_probe()
317 dev_info(codec->dev, "error creating sysfs files\n"); aic26_probe()
/linux-4.4.14/tools/power/cpupower/utils/
H A Dcpupower-info.c17 #include "helpers/sysfs.h"
H A Dcpupower-set.c17 #include "helpers/sysfs.h"
/linux-4.4.14/tools/power/cpupower/utils/idle_monitor/
H A Dcpupower-monitor.h26 kernel sysfs: cpu */
/linux-4.4.14/tools/thermal/tmon/
H A DMakefile28 OBJS = tmon.o tui.o sysfs.o pid.o
H A Dsysfs.c2 * sysfs.c sysfs ABI access functions for TMON program
264 * Before calling scan_tzones, thermal sysfs must be probed to determine
398 fprintf(stderr, "\nNo thermal sysfs, exit\n"); probe_thermal_sysfs()
403 syslog(LOG_ERR, "scandir failed in thermal sysfs"); probe_thermal_sysfs()
474 /* convert sysfs zone instance to zone array index */ zone_instance_to_index()
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_sysfs.c15 #include <linux/sysfs.h>
20 #include <linux/hwmon-sysfs.h>
1278 /* hwmon-sysfs attributes */
1327 "failed to create bridged_mode sysfs entry\n"); qlcnic_create_sysfs_entries()
1343 dev_info(dev, "failed to create port stats sysfs entry"); qlcnic_create_diag_entries()
1348 dev_info(dev, "failed to create diag_mode sysfs entry\n"); qlcnic_create_diag_entries()
1350 dev_info(dev, "failed to create crb sysfs entry\n"); qlcnic_create_diag_entries()
1352 dev_info(dev, "failed to create mem sysfs entry\n"); qlcnic_create_diag_entries()
1358 dev_info(dev, "failed to create pci config sysfs entry"); qlcnic_create_diag_entries()
1361 dev_info(dev, "failed to create beacon sysfs entry"); qlcnic_create_diag_entries()
1366 dev_info(dev, "failed to create esw config sysfs entry"); qlcnic_create_diag_entries()
1370 dev_info(dev, "failed to create npar config sysfs entry"); qlcnic_create_diag_entries()
1372 dev_info(dev, "failed to create pm config sysfs entry"); qlcnic_create_diag_entries()
1374 dev_info(dev, "failed to create eswitch stats sysfs entry"); qlcnic_create_diag_entries()
1421 dev_info(dev, "failed to create flash sysfs entry\n"); qlcnic_83xx_add_sysfs()
/linux-4.4.14/drivers/firmware/efi/
H A Defivars.c8 * exports them via sysfs
34 * converted driver to export variable information via sysfs
78 MODULE_DESCRIPTION("sysfs interface to EFI Variables");
117 * Prototype for sysfs creation function
474 printk(KERN_WARNING "efivars: failed to create sysfs entry.\n"); efivar_create()
536 * efivar_create_sysfs_entry - create a new entry in sysfs
616 printk(KERN_ERR "efivars: unable to create new_var sysfs file" create_efivars_bin_attributes()
623 printk(KERN_ERR "efivars: unable to create del_var sysfs file" create_efivars_bin_attributes()
657 /* Add new sysfs entries */ efivar_update_sysfs_entries()
/linux-4.4.14/arch/powerpc/platforms/powernv/
H A Dopal-flash.c18 #include <linux/sysfs.h>
513 * sysfs interface :
514 * OPAL uses below sysfs files for code update.
566 /* Create the sysfs files */ opal_flash_update_init()
569 pr_warn("FLASH: Failed to create sysfs files\n"); opal_flash_update_init()
575 pr_warn("FLASH: Failed to create sysfs files\n"); opal_flash_update_init()
/linux-4.4.14/kernel/
H A Dparams.c572 /* sysfs output in /sys/modules/XYZ/parameters/ */
611 /* sysfs always hands a nul-terminated string in buf. We rely on that. */ param_attr_store()
653 * add_sysfs_param - add a parameter to sysfs
655 * @kparam: the actual parameter definition to add to sysfs
659 * create file in sysfs. Returns an error on out of memory. Always cleans up
735 * module_param_sysfs_setup - setup sysfs support for one module
740 * Adds sysfs entries for module parameters under
772 * module_param_sysfs_remove - remove sysfs support for one module
775 * Remove sysfs entries for module parameters and the corresponding
821 pr_crit("Adding module '%s' to sysfs failed (%d), the system may be unstable.\n", locate_module_kobject()
858 * param_sysfs_builtin - add sysfs parameters for built-in modules
860 * Add module_parameters to sysfs for "modules" built into the kernel.
923 /* module-related sysfs stuff */
H A Dksysfs.c2 * kernel/ksysfs.c - sysfs attributes in /sys/kernel, which
13 #include <linux/sysfs.h>
/linux-4.4.14/drivers/s390/net/
H A Dctcm_sysfs.c15 #include <linux/sysfs.h>
20 * sysfs attributes
/linux-4.4.14/drivers/staging/iio/accel/
H A Dadis16201_core.c15 #include <linux/sysfs.h>
19 #include <linux/iio/sysfs.h>
H A Dadis16203_core.c15 #include <linux/sysfs.h>
19 #include <linux/iio/sysfs.h>
H A Dadis16204_core.c17 #include <linux/sysfs.h>
22 #include <linux/iio/sysfs.h>
H A Dadis16209_core.c15 #include <linux/sysfs.h>
20 #include <linux/iio/sysfs.h>
/linux-4.4.14/drivers/staging/iio/adc/
H A Dad7780.c13 #include <linux/sysfs.h>
22 #include <linux/iio/sysfs.h>
/linux-4.4.14/drivers/staging/iio/gyro/
H A Dadis16060_core.c16 #include <linux/sysfs.h>
19 #include <linux/iio/sysfs.h>
/linux-4.4.14/drivers/iio/accel/
H A Dkxsd9.c22 #include <linux/sysfs.h>
27 #include <linux/iio/sysfs.h>
/linux-4.4.14/drivers/iio/amplifiers/
H A Dad8366.c12 #include <linux/sysfs.h>
20 #include <linux/iio/sysfs.h>
/linux-4.4.14/drivers/iio/common/hid-sensors/
H A Dhid-sensor-trigger.c29 #include <linux/iio/sysfs.h>
175 /* Default to 3 seconds, but can be changed from sysfs */ hid_sensor_setup_trigger()
/linux-4.4.14/drivers/iio/gyro/
H A Dadis16080.c14 #include <linux/sysfs.h>
18 #include <linux/iio/sysfs.h>
/linux-4.4.14/drivers/iio/humidity/
H A Dsi7020.c32 #include <linux/sysfs.h>
35 #include <linux/iio/sysfs.h>
/linux-4.4.14/drivers/net/wireless/ath/ath10k/
H A Dthermal.c18 #include <linux/sysfs.h>
21 #include <linux/hwmon-sysfs.h>
/linux-4.4.14/mm/
H A Dpage_idle.c4 #include <linux/sysfs.h>
227 pr_err("page_idle: register sysfs failed\n"); page_idle_init()
/linux-4.4.14/fs/configfs/
H A Dconfigfs_internal.h21 * Based on sysfs:
22 * sysfs is Copyright (C) 2001, 2002, 2003 Patrick Mochel
H A Dmount.c21 * Based on sysfs:
22 * sysfs is Copyright (C) 2001, 2002, 2003 Patrick Mochel
/linux-4.4.14/arch/mips/alchemy/devboards/
H A Dpm.c10 #include <linux/sysfs.h>
17 * This code exports a few sysfs nodes under /sys/power/db1x/ which
/linux-4.4.14/tools/testing/selftests/cpu-hotplug/
H A Dcpu-on-off-test.sh16 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`
19 echo $msg sysfs is not mounted >&2
/linux-4.4.14/tools/testing/selftests/memory-hotplug/
H A Dmem-on-off-test.sh14 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`
17 echo $msg sysfs is not mounted >&2
/linux-4.4.14/drivers/usb/gadget/function/
H A Du_serial.h31 * hookups to sysfs and /dev for each logical "tty" device.
/linux-4.4.14/drivers/usb/usbip/
H A Dvhci.h17 #include <linux/sysfs.h>
/linux-4.4.14/drivers/rapidio/switches/
H A Didt_gen2.c399 /* Initialize sysfs entries */ idtg2_sysfs()
402 dev_err(dev, "Unable create sysfs errlog file\n"); idtg2_sysfs()
439 /* Create device-specific sysfs attributes */ idtg2_probe()
456 /* Remove device-specific sysfs attributes */ idtg2_remove()
/linux-4.4.14/drivers/staging/iio/frequency/
H A Ddds.h2 * dds.h - sysfs attributes associated with DDS devices
/linux-4.4.14/drivers/scsi/arcmsr/
H A Darcmsr_attr.c6 ** Description: attributes exported to sysfs and device host
227 printk(KERN_ERR "arcmsr: alloc sysfs mu_read failed\n"); arcmsr_alloc_sysfs_attr()
232 printk(KERN_ERR "arcmsr: alloc sysfs mu_write failed\n"); arcmsr_alloc_sysfs_attr()
237 printk(KERN_ERR "arcmsr: alloc sysfs mu_clear failed\n"); arcmsr_alloc_sysfs_attr()
/linux-4.4.14/drivers/net/wireless/ath/ath5k/
H A Dsysfs.c109 ATH5K_ERR(ah, "failed to create sysfs group\n"); ath5k_sysfs_register()
/linux-4.4.14/lib/
H A Dtest_firmware.c91 pr_err("could not create sysfs interface: %d\n", rc); test_firmware_init()
/linux-4.4.14/include/linux/power/
H A Dbq2415x_charger.h26 * voltages and currents which can be also later configured via sysfs. If
/linux-4.4.14/arch/powerpc/platforms/cell/
H A Dspu_callbacks.c25 * uselib, pciconfig_*, sysfs, ...
/linux-4.4.14/arch/sparc/kernel/
H A DMakefile59 obj-$(CONFIG_SPARC64) += sysfs.o
/linux-4.4.14/drivers/w1/
H A Dw1_family.h57 * @groups: sysfs group
/linux-4.4.14/tools/power/cpupower/
H A DMakefile128 utils/helpers/sysfs.o utils/helpers/misc.o utils/helpers/cpuid.o \
146 LIB_HEADERS = lib/cpufreq.h lib/sysfs.h
147 LIB_SRC = lib/cpufreq.c lib/sysfs.c
148 LIB_OBJS = lib/cpufreq.o lib/sysfs.o
/linux-4.4.14/tools/testing/selftests/firmware/
H A Dfw_filesystem.sh12 # CONFIG_FW_LOADER_USER_HELPER has a sysfs class under /sys/class/firmware/
/linux-4.4.14/tools/usb/usbip/libsrc/
H A Dusbip_common.h33 /* sysfs constants */
/linux-4.4.14/drivers/pwm/
H A Dsysfs.c2 * A simple sysfs interface for the generic PWM framework
263 pwm = pwm_request_from_chip(chip, hwpwm, "sysfs"); export_store()
336 "device_create failed for pwm_chip sysfs export\n"); pwmchip_sysfs_export()
/linux-4.4.14/drivers/staging/iio/
H A Diio_dummy_evgen.c22 #include <linux/sysfs.h>
26 #include <linux/iio/sysfs.h>
125 * That irq can then be caused to 'fire' by using the associated sysfs file.
/linux-4.4.14/drivers/iio/adc/
H A Dmcp3422.c10 * This driver exports the value of analog input voltage to sysfs, the
23 #include <linux/sysfs.h>
27 #include <linux/iio/sysfs.h>

Completed in 5610 milliseconds

1234567