/linux-4.1.27/drivers/dca/ |
H A D | Makefile | 2 dca-objs := dca-core.o dca-sysfs.o
|
/linux-4.1.27/drivers/video/fbdev/omap2/omapfb/ |
H A D | Makefile | 2 omapfb-y := omapfb-main.o omapfb-sysfs.o omapfb-ioctl.o
|
H A D | omapfb-sysfs.c | 2 * 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.1.27/drivers/infiniband/hw/mlx4/ |
H A D | Makefile | 3 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.1.27/drivers/dio/ |
H A D | Makefile | 5 obj-y := dio.o dio-driver.o dio-sysfs.o
|
H A D | dio-sysfs.c | 6 * Loosely based on drivers/pci/pci-sysfs.c and drivers/zorro/zorro-sysfs.c
|
/linux-4.1.27/fs/sysfs/ |
H A D | Makefile | 2 # Makefile for the sysfs virtual filesystem
|
H A D | sysfs.h | 2 * fs/sysfs/sysfs.h - sysfs internal header file 14 #include <linux/sysfs.h>
|
H A D | mount.c | 2 * fs/sysfs/symlink.c - operations for initializing and mounting sysfs 10 * Please see Documentation/filesystems/sysfs.txt for more information. 21 #include "sysfs.h" 55 .name = "sysfs",
|
H A D | dir.c | 2 * 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 D | symlink.c | 2 * fs/sysfs/symlink.c - sysfs symlink implementation 10 * Please see Documentation/filesystems/sysfs.txt for more information. 19 #include "sysfs.h"
|
H A D | file.c | 2 * 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() 121 /* kernfs write callback for regular sysfs files */ sysfs_kf_write() 134 /* kernfs write callback for bin sysfs files */ sysfs_kf_bin_write() 253 "missing sysfs attribute operations for kobject: %s\n", sysfs_add_file_mode_ns()
|
H A D | group.c | 2 * fs/sysfs/group.c - Operations for adding/removing multiple files at once. 18 #include "sysfs.h" 106 WARN(1, "sysfs: (bin_)attrs not set by subsystem for group: %s/%s\n", internal_create_group() 223 "sysfs group %p not found for kobject '%s'\n", sysfs_remove_group()
|
/linux-4.1.27/sound/aoa/soundbus/ |
H A D | Makefile | 2 snd-aoa-soundbus-objs := core.o sysfs.o
|
/linux-4.1.27/drivers/video/fbdev/omap2/dss/ |
H A D | Makefile | 7 omapdss-y += manager.o manager-sysfs.o overlay.o overlay-sysfs.o apply.o \ 8 dispc-compat.o display-sysfs.o
|
H A D | overlay.c | 28 #include <linux/sysfs.h> 95 DSSERR("failed to create sysfs file\n"); dss_init_overlays()
|
/linux-4.1.27/Documentation/mic/mpssd/ |
H A D | micctrl | 32 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 D | Makefile | 4 mpssd-objs := mpssd.o sysfs.o
|
H A D | sysfs.c | 42 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 D | mpss | 37 sysfs="/sys/class/mic" 82 for f in $sysfs/* 111 if [ ! -d "$sysfs" ]; then 122 for f in $sysfs/* 163 if [ ! -d "$sysfs" ]; then
|
/linux-4.1.27/drivers/md/bcache/ |
H A D | Makefile | 5 io.o journal.o movinggc.o request.o stats.o super.o sysfs.o trace.o\
|
H A D | stats.c | 10 #include "sysfs.h" 32 * stored left shifted by 16, and scaled back in the sysfs show() function. 41 /* sysfs reading/writing */
|
/linux-4.1.27/drivers/misc/cxl/ |
H A D | Makefile | 1 cxl-y += main.o file.o irq.o fault.o native.o context.o sysfs.o debugfs.o pci.o trace.o
|
/linux-4.1.27/fs/nilfs2/ |
H A D | Makefile | 5 ifile.o alloc.o gcinode.o ioctl.o sysfs.o
|
H A D | sysfs.h | 2 * sysfs.h - sysfs support declarations. 23 #include <linux/sysfs.h>
|
/linux-4.1.27/drivers/pps/ |
H A D | Makefile | 5 pps_core-y := pps.o kapi.o sysfs.o
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | cacheinfo.h | 4 /* These are just hooks for sysfs.c to use. */
|
H A D | eeh_sysfs.c | 31 * 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 D | of_platform.c | 55 /* 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.1.27/net/ieee802154/ |
H A D | Makefile | 6 header_ops.o sysfs.o nl802154.o trace.o
|
H A D | sysfs.c | 13 * Based on: net/wireless/sysfs.c 21 #include "sysfs.h"
|
/linux-4.1.27/drivers/gpu/drm/nouveau/ |
H A D | nouveau_sysfs.c | 31 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() 193 &sysfs->ctrl); nouveau_sysfs_init()
|
H A D | nouveau_sysfs.h | 13 return nouveau_drm(dev)->sysfs; nouveau_sysfs()
|
/linux-4.1.27/drivers/media/usb/pvrusb2/ |
H A D | Makefile | 1 obj-pvrusb2-sysfs-$(CONFIG_VIDEO_PVRUSB2_SYSFS) := pvrusb2-sysfs.o 15 $(obj-pvrusb2-sysfs-y) $(obj-pvrusb2-debugifc-y)
|
H A D | pvrusb2-sysfs.h | 24 #include <linux/sysfs.h>
|
/linux-4.1.27/drivers/net/wimax/i2400m/ |
H A D | Makefile | 10 sysfs.o \
|
H A D | debug-levels.h | 41 D_SUBMODULE_DECLARE(sysfs),
|
H A D | sysfs.c | 31 #define D_SUBMODULE sysfs
|
/linux-4.1.27/drivers/rapidio/ |
H A D | Makefile | 5 rapidio-y := rio.o rio-access.o rio-driver.o rio-sysfs.o
|
H A D | rio-sysfs.c | 2 * 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.1.27/drivers/s390/char/ |
H A D | sclp_cpi_sys.h | 2 * SCLP control program identification sysfs interface
|
/linux-4.1.27/drivers/net/wireless/ti/wlcore/ |
H A D | Makefile | 2 boot.o init.o debugfs.o scan.o sysfs.o vendor_cmd.o
|
H A D | sysfs.c | 25 #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.1.27/drivers/usb/core/ |
H A D | Makefile | 6 usbcore-y += config.o file.o buffer.o sysfs.o endpoint.o
|
/linux-4.1.27/drivers/usb/wusbcore/ |
H A D | Makefile | 11 dev-sysfs.o \
|
/linux-4.1.27/drivers/isdn/gigaset/ |
H A D | proc.c | 61 /* 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.1.27/include/uapi/linux/ |
H A D | if.h | 35 * set these flags using userspace utilities but there is also a sysfs 37 * are shared for all types of net_devices. The sysfs entries are available 38 * via /sys/class/net/<dev>/flags. Flags which can be toggled through sysfs 41 * even if you try to set them via sysfs. Flags which are always preserved 47 * @IFF_UP: interface is up. Can be toggled through sysfs. 49 * @IFF_DEBUG: turn on debugging. Can be toggled through sysfs. 52 * @IFF_NOTRAILERS: avoid use of trailers. Can be toggled through sysfs. 55 * @IFF_NOARP: no ARP protocol. Can be toggled through sysfs. Volatile. 56 * @IFF_PROMISC: receive all packets. Can be toggled through sysfs. 58 * sysfs. 61 * @IFF_MULTICAST: Supports multicast. Can be toggled through sysfs. 62 * @IFF_PORTSEL: can set media type. Can be toggled through sysfs. 63 * @IFF_AUTOMEDIA: auto media select active. Can be toggled through sysfs. 65 * through sysfs. 71 IFF_UP = 1<<0, /* sysfs */ 73 IFF_DEBUG = 1<<2, /* sysfs */ 76 IFF_NOTRAILERS = 1<<5, /* sysfs */ 78 IFF_NOARP = 1<<7, /* sysfs */ 79 IFF_PROMISC = 1<<8, /* sysfs */ 80 IFF_ALLMULTI = 1<<9, /* sysfs */ 83 IFF_MULTICAST = 1<<12, /* sysfs */ 84 IFF_PORTSEL = 1<<13, /* sysfs */ 85 IFF_AUTOMEDIA = 1<<14, /* sysfs */ 86 IFF_DYNAMIC = 1<<15, /* sysfs */
|
H A D | usbip.h | 10 /* usbip device status - exported in usbip device sysfs status */
|
H A D | netdevice.h | 40 /* interface name assignment types (sysfs name_assign_type attribute) */
|
H A D | map_to_7segment.h | 45 * accessible via the sysfs interface using the following scheme: 88 * custom character sets for LCD devices. Please use a sysfs interface
|
H A D | uinput.h | 79 * UI_GET_SYSNAME - get the sysfs name of the created uinput device 81 * @return the sysfs name of the created virtual input device. 82 * The complete sysfs path is then /sys/devices/virtual/input/--NAME--
|
/linux-4.1.27/drivers/firmware/ |
H A D | Makefile | 5 obj-$(CONFIG_DMI_SYSFS) += dmi-sysfs.o
|
H A D | dmi-sysfs.c | 2 * 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() 672 pr_debug("dmi-sysfs: loaded.\n"); dmi_sysfs_init() 685 pr_debug("dmi-sysfs: unloading.\n"); dmi_sysfs_exit() 696 MODULE_DESCRIPTION("DMI sysfs support");
|
H A D | dcdbas.h | 20 #include <linux/sysfs.h>
|
/linux-4.1.27/drivers/sh/superhyway/ |
H A D | superhyway-sysfs.c | 2 * drivers/sh/superhyway/superhyway-sysfs.c 4 * SuperHyway Bus sysfs interface
|
/linux-4.1.27/drivers/infiniband/core/ |
H A D | Makefile | 11 ib_core-y := packer.o ud_header.o verbs.o sysfs.o \
|
/linux-4.1.27/drivers/char/tpm/ |
H A D | Makefile | 5 tpm-y := tpm-interface.o tpm-dev.o tpm-sysfs.o tpm-chip.o tpm2-cmd.o
|
/linux-4.1.27/net/core/ |
H A D | Makefile | 15 obj-y += net-sysfs.o
|
/linux-4.1.27/net/wireless/ |
H A D | Makefile | 12 cfg80211-y += core.o sysfs.o radiotap.o util.o reg.o scan.o nl80211.o
|
/linux-4.1.27/drivers/zorro/ |
H A D | Makefile | 5 obj-$(CONFIG_ZORRO) += zorro.o zorro-driver.o zorro-sysfs.o
|
H A D | zorro-sysfs.c | 6 * Loosely based on drivers/pci/pci-sysfs.c
|
/linux-4.1.27/drivers/hwmon/ |
H A D | twl4030-madc-hwmon.c | 6 * 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 D | hih6130.c | 31 #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 D | sht21.c | 28 #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 D | g760a.c | 22 #include <linux/hwmon-sysfs.h> 25 #include <linux/sysfs.h> 83 * sysfs attributes
|
H A D | i5k_amb.c | 25 #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 D | ad7314.c | 13 #include <linux/sysfs.h> 18 #include <linux/hwmon-sysfs.h>
|
H A D | sht15.c | 25 #include <linux/hwmon-sysfs.h> 683 * sht15_show_status() - show status information in sysfs 686 * @buf: sysfs buffer where information is written to. 689 * and heater_enable sysfs attributes. 706 * sht15_store_heater() - change heater state via sysfs 709 * @buf: sysfs buffer to read the new heater state from. 712 * Will be called on write access to heater_enable sysfs attribute. 741 * sht15_show_temp() - show temperature measurement value in sysfs 744 * @buf: sysfs buffer where measurement values are written to. 746 * Will be called on read access to temp1_input sysfs attribute. 764 * sht15_show_humidity() - show humidity measurement value in sysfs 767 * @buf: sysfs buffer where measurement values are written to. 769 * Will be called on read access to humidity1_input sysfs attribute. 1030 dev_err(&pdev->dev, "sysfs create failed\n"); sht15_probe()
|
H A D | lm70.c | 34 #include <linux/sysfs.h> 55 /* sysfs hook function */ lm70_sense_temp()
|
H A D | mcp3021.c | 8 * 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 D | menf21bmc_hwmon.c | 6 * driver through sysfs. 20 #include <linux/hwmon-sysfs.h>
|
H A D | ab8500.c | 17 #include <linux/hwmon-sysfs.h> 26 #include <linux/sysfs.h>
|
H A D | ads7828.c | 30 #include <linux/hwmon-sysfs.h> 62 /* sysfs callback function */ ads7828_show_in()
|
H A D | wm8350-hwmon.c | 26 #include <linux/hwmon-sysfs.h>
|
H A D | g762.c | 49 #include <linux/hwmon-sysfs.h> 193 * Convert fan RPM value from sysfs into count value for fan controller 730 * sysfs attributes 734 * Read function for fan1_input sysfs file. Return current fan RPM value, or 760 * Read and write functions for pwm1_mode sysfs file. Get and set fan speed 792 * Read and write functions for fan1_div sysfs file. Get and set fan 824 * Read and write functions for fan1_pulses sysfs file. Get and set number 859 * Following documentation about hwmon's sysfs interface, a pwm1_enable node 899 * Read and write functions for pwm1 sysfs file. Get and set pwm value 931 * Read and write function for fan1_target sysfs file. Get/set the fan speed in 976 /* read function for fan1_fault sysfs file. */ get_fan_failure() 989 * read function for fan1_alarm sysfs file. Note that OOC condition is
|
H A D | hwmon.c | 4 * This file defines the sysfs class "hwmon", for use by sensors drivers. 270 pr_err("couldn't register hwmon sysfs class\n"); hwmon_init() 285 MODULE_DESCRIPTION("hardware monitoring sysfs/class support");
|
H A D | max197.c | 21 #include <linux/sysfs.h> 23 #include <linux/hwmon-sysfs.h> 299 dev_err(&pdev->dev, "sysfs create group failed\n"); max197_probe()
|
H A D | adcxx.c | 43 #include <linux/sysfs.h> 45 #include <linux/hwmon-sysfs.h> 59 /* sysfs hook function */ adcxx_read()
|
H A D | ads1015.c | 31 #include <linux/hwmon-sysfs.h> 134 /* sysfs callback function */ show_in() 275 /* build sysfs attribute group */ ads1015_probe()
|
/linux-4.1.27/tools/perf/util/ |
H A D | pmu.c | 30 * Parse & process all the sysfs attributes located under 70 * /sys/bus/event_source/devices/<dev>/format as sysfs group attributes. 76 const char *sysfs = sysfs__mountpoint(); pmu_format() local 78 if (!sysfs) pmu_format() 82 "%s" EVENT_SOURCE_DEVICE_PATH "%s/format", sysfs, name); pmu_format() 259 * Process all the sysfs attributes located under the directory 304 * /sys/bus/event_source/devices/<dev>/events as sysfs group attributes. 310 const char *sysfs = sysfs__mountpoint(); pmu_aliases() local 312 if (!sysfs) pmu_aliases() 316 "%s/bus/event_source/devices/%s/events", sysfs, name); pmu_aliases() 349 * /sys/bus/event_source/devices/<dev>/type as sysfs attribute. 357 const char *sysfs = sysfs__mountpoint(); pmu_type() local 359 if (!sysfs) pmu_type() 363 "%s" EVENT_SOURCE_DEVICE_PATH "%s/type", sysfs, name); pmu_type() 379 /* Add all pmus in sysfs to pmu list: */ pmu_read_sysfs() 385 const char *sysfs = sysfs__mountpoint(); pmu_read_sysfs() local 387 if (!sysfs) pmu_read_sysfs() 391 "%s" EVENT_SOURCE_DEVICE_PATH, sysfs); pmu_read_sysfs() 413 const char *sysfs = sysfs__mountpoint(); pmu_cpumask() local 415 if (!sysfs) pmu_cpumask() 419 "%s/bus/event_source/devices/%s/cpumask", sysfs, name); pmu_cpumask() 641 pr_info("Invalid sysfs entry %s=%s\n", pmu_config_term() 963 const char *sysfs; perf_pmu__open_file() local 965 sysfs = sysfs__mountpoint(); perf_pmu__open_file() 966 if (!sysfs) perf_pmu__open_file() 970 "%s" EVENT_SOURCE_DEVICE_PATH "%s/%s", sysfs, pmu->name, name); perf_pmu__open_file()
|
H A D | cpumap.c | 370 pr_err("sysfs path crossed PATH_MAX(%d) size\n", PATH_MAX); set_max_cpu_num() 398 pr_err("sysfs path crossed PATH_MAX(%d) size\n", PATH_MAX); set_max_node_num() 448 pr_err("sysfs path crossed PATH_MAX(%d) size\n", PATH_MAX); cpu__setup_cpunode_map() 463 pr_err("sysfs path crossed PATH_MAX(%d) size\n", PATH_MAX); cpu__setup_cpunode_map()
|
/linux-4.1.27/tools/power/cpupower/bench/ |
H A D | cpufreq-bench_script.sh | 42 # 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.1.27/drivers/edac/ |
H A D | edac_stub.c | 74 * sysfs object: /sys/devices/system/edac 83 /* return pointer to the 'edac' node in sysfs */ edac_get_sysfs_subsys() 94 printk(KERN_ERR "Error registering toplevel EDAC sysfs dir\n"); edac_get_sysfs_subsys()
|
H A D | edac_core.h | 117 * View them arranged, via the sysfs presentation: 146 * used for driver sysfs attributes in mem_ctl_info 190 /* edac sysfs device control */ 204 /* edac sysfs device control */ 240 /* pointer to main 'edac' subsys in sysfs */ 267 /* sysfs top name under 'edac' directory 285 /* edac sysfs device control for the 'name' 365 /* sysfs top name under 'edac' directory 377 /* edac sysfs device control for the 'name'
|
H A D | edac_module.h | 17 * EDAC memory controller sysfs create/remove functions
|
H A D | edac_pci.c | 76 * 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.1.27/arch/tile/kernel/ |
H A D | Makefile | 9 sysfs.o time.o traps.o unaligned.o vdso.o \
|
/linux-4.1.27/fs/ocfs2/cluster/ |
H A D | sys.c | 6 * OCFS2 cluster sysfs interface 30 #include <linux/sysfs.h>
|
H A D | sys.h | 6 * Function prototypes for o2cb sysfs interface
|
/linux-4.1.27/include/linux/platform_data/ |
H A D | at24.h | 47 #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.1.27/samples/kobject/ |
H A D | kset-example.c | 12 #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 D | kobject-example.c | 12 #include <linux/sysfs.h> 17 * This module shows how to create a simple subdirectory in sysfs called
|
/linux-4.1.27/include/linux/ |
H A D | hwmon-sysfs.h | 2 * hwmon-sysfs.h - hardware monitoring chip driver sysfs defines
|
H A D | kobject_ns.h | 24 * Namespace types which are used to tag kobjects and sysfs entries. 34 * Callbacks so sysfs can determine namespaces
|
H A D | hwmon.h | 4 This file declares helper functions for the sysfs class "hwmon",
|
H A D | moduleparam.h | 103 * @perm: visibility in sysfs. 109 * @perm is 0 if the the variable is not to appear in sysfs, or 0444 138 * @perm: visibility in sysfs. 161 * @perm: visibility in sysfs. 177 * @perm: visibility in sysfs. 242 * kparam_block_sysfs_write - make sure a parameter isn't written via sysfs. 245 * There's no point blocking write on a paramter that isn't writable via sysfs! 254 * kparam_unblock_sysfs_write - allows sysfs to write to a parameter again. 264 * kparam_block_sysfs_read - make sure a parameter isn't read via sysfs. 267 * This also blocks sysfs writes. 276 * kparam_unblock_sysfs_read - allows sysfs to read a parameter again. 300 * @name: the name of the cmdline and sysfs parameter (often the same as var) 303 * @perm: visibility in sysfs 320 * @perm: visibility in sysfs. 446 * @perm: visibility in sysfs 463 * @perm: visibility in sysfs
|
H A D | livepatch.h | 42 * @kobj: kobject for sysfs resources 90 * @kobj: kobject for sysfs resources 112 * @kobj: kobject for sysfs resources
|
H A D | leds.h | 174 * led_sysfs_disable - disable LED sysfs interface 177 * Disable the led_cdev's sysfs interface. 182 * led_sysfs_enable - enable LED sysfs interface 185 * Enable the led_cdev's sysfs interface. 190 * led_sysfs_is_disabled - check if LED sysfs interface is disabled 193 * Returns: true if the led_cdev's sysfs interface is disabled.
|
H A D | pktcdvd.h | 19 #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 D | gpio_keys.h | 18 * disable button via sysfs
|
H A D | iscsi_ibft.h | 9 * This code exposes the iSCSI Boot Format Table to userland via sysfs.
|
H A D | thermal.h | 144 * @trip_temp_attrs: attributes for trip points for sysfs: trip temperature 145 * @trip_type_attrs: attributes for trip points for sysfs: trip type 146 * @trip_hyst_attrs: attributes for trip points for sysfs: trip hysteresis 226 * See Documentation/thermal/sysfs-api.txt for more information. 233 * See Documentation/thermal/sysfs-api.txt for more information. 255 * a boolean to indicate if the thermal to hwmon sysfs interface 256 * is required. when no_hwmon == false, a hwmon sysfs interface
|
H A D | memory.h | 11 * 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 D | superhyway.h | 103 /* drivers/sh/superhyway/superhyway-sysfs.c */
|
H A D | ecryptfs.h | 10 * bits from a sysfs handle in order to determine how to behave. */
|
H A D | configfs.h | 21 * Based on sysfs: 22 * sysfs is Copyright (C) 2001, 2002, 2003 Patrick Mochel 147 * (similar to sysfs' __ATTR) to make defining attributes easier.
|
/linux-4.1.27/drivers/cpuidle/ |
H A D | sysfs.c | 2 * 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 D | cpuidle.h | 25 /* sysfs */
|
/linux-4.1.27/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_trigger_diag.h | 76 * 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
|
/linux-4.1.27/drivers/mfd/ |
H A D | tps65911-comparator.c | 143 /* 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()
|
H A D | pcf50633-core.c | 17 #include <linux/sysfs.h> 84 /* sysfs attributes */ show_dump_regs() 263 dev_warn(pcf->dev, "error creating sysfs entries\n"); pcf50633_probe()
|
/linux-4.1.27/drivers/scsi/ |
H A D | iscsi_boot_sysfs.c | 2 * 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.1.27/drivers/gpu/drm/ |
H A D | drm_sysfs.c | 4 * extra sysfs attribute from DRM. Normal drm_sysfs_class 455 * drm_sysfs_connector_add - add a connector to sysfs 458 * Create a connector device in sysfs, along with its associated connector 475 DRM_DEBUG("adding \"%s\" to sysfs\n", drm_sysfs_connector_add() 490 * drm_sysfs_connector_remove - remove an connector device from sysfs 493 * Remove @connector and its associated attributes from sysfs. Note that 500 * you'll likely see a panic somewhere deep in sysfs code when called. 506 DRM_DEBUG("removing \"%s\" from sysfs\n", drm_sysfs_connector_remove() 538 * drm_sysfs_minor_alloc() - Allocate sysfs device for given minor 539 * @minor: minor to allocate sysfs device for 541 * This allocates a new sysfs device for @minor and returns it. The device is 548 * private data only in sysfs callbacks. device_del() disables those
|
/linux-4.1.27/tools/lib/api/fs/ |
H A D | fs.c | 43 .name = "sysfs", 116 * testing). This matches the recommendation in Documentation/sysfs-rules.txt 168 FS__MOUNTPOINT(sysfs, FS__SYSFS);
|
/linux-4.1.27/drivers/hid/ |
H A D | hid-prodikeys.c | 8 * 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() 664 /* create sysfs variables */ pcmidi_snd_initialise() 668 pk_error("failed to create sysfs attribute channel: error %d\n", pcmidi_snd_initialise() 676 pk_error("failed to create sysfs attribute sustain: error %d\n", pcmidi_snd_initialise() 684 pk_error("failed to create sysfs attribute octave: error %d\n", pcmidi_snd_initialise()
|
/linux-4.1.27/drivers/net/wireless/libertas/ |
H A D | mesh.c | 143 * 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.1.27/arch/parisc/kernel/ |
H A D | topology.c | 2 * arch/parisc/kernel/topology.c - Populate sysfs with topology information
|
/linux-4.1.27/arch/avr32/boards/merisc/ |
H A D | merisc_sysfs.c | 2 * Merisc sysfs exports
|
/linux-4.1.27/tools/thermal/tmon/ |
H A D | Makefile | 25 OBJS = tmon.o tui.o sysfs.o pid.o
|
H A D | sysfs.c | 2 * 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.1.27/drivers/staging/iio/resolver/ |
H A D | ad2s90.c | 16 #include <linux/sysfs.h> 20 #include <linux/iio/sysfs.h>
|
H A D | ad2s1200.c | 17 #include <linux/sysfs.h> 24 #include <linux/iio/sysfs.h>
|
/linux-4.1.27/include/video/ |
H A D | udlfb.h | 48 char *edid; /* null until we read edid from hw or get from sysfs */ 55 /* blit-only rendering path metrics, exposed through sysfs */
|
/linux-4.1.27/drivers/scsi/megaraid/ |
H A D | megaraid_mbox.h | 172 * @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.1.27/drivers/scsi/pm8001/ |
H A D | pm8001_ctl.c | 52 * 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.1.27/net/batman-adv/ |
H A D | sysfs.c | 19 #include "sysfs.h" 51 /* VLAN specific attributes are located in the root sysfs folder if they batadv_vlan_kobj_to_batpriv() 464 * @kobj: kobject representing the private mesh sysfs directory 483 * @kobj: kobject representing the private mesh sysfs directory 596 * batadv_vlan_attrs - array of vlan specific sysfs attributes 613 batadv_err(dev, "Can't add sysfs directory: %s/%s\n", dev->name, batadv_sysfs_add_meshif() 622 batadv_err(dev, "Can't add sysfs file: %s/%s/%s\n", batadv_sysfs_add_meshif() 654 * batadv_sysfs_add_vlan - add all the needed sysfs objects for the new vlan 675 batadv_err(dev, "Can't add sysfs directory: %s/%s\n", batadv_sysfs_add_vlan() 691 batadv_err(dev, "Can't add sysfs file: %s/%s/%s\n", batadv_sysfs_add_vlan() 711 * batadv_sysfs_del_vlan - remove all the sysfs objects for a given VLAN 863 batadv_err(dev, "Can't add sysfs directory: %s/%s\n", dev->name, batadv_sysfs_add_hardif() 871 batadv_err(dev, "Can't add sysfs file: %s/%s/%s\n", batadv_sysfs_add_hardif()
|
H A D | sysfs.h | 25 * created in the sysfs hierarchy for each VLAN interface. The subfolder will
|
/linux-4.1.27/kernel/ |
H A D | params.c | 513 /* sysfs output in /sys/modules/XYZ/parameters/ */ 552 /* sysfs always hands a nul-terminated string in buf. We rely on that. */ param_attr_store() 593 * add_sysfs_param - add a parameter to sysfs 595 * @kparam: the actual parameter definition to add to sysfs 599 * create file in sysfs. Returns an error on out of memory. Always cleans up 675 * module_param_sysfs_setup - setup sysfs support for one module 680 * Adds sysfs entries for module parameters under 712 * module_param_sysfs_remove - remove sysfs support for one module 715 * Remove sysfs entries for module parameters and the corresponding 761 pr_crit("Adding module '%s' to sysfs failed (%d), the system may be unstable.\n", locate_module_kobject() 798 * param_sysfs_builtin - add sysfs parameters for built-in modules 800 * Add module_parameters to sysfs for "modules" built into the kernel. 862 /* module-related sysfs stuff */
|
H A D | ksysfs.c | 2 * kernel/ksysfs.c - sysfs attributes in /sys/kernel, which 13 #include <linux/sysfs.h>
|
/linux-4.1.27/drivers/pci/ |
H A D | pci-label.c | 3 * 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 D | pci-sysfs.c | 2 * drivers/pci/pci-sysfs.c 481 dev_info(&pdev->dev, "Driver doesn't support SRIOV configuration via sysfs\n"); sriov_numvfs_store() 798 * @filp: open sysfs file 824 * @filp: open sysfs file 850 * @filp: open sysfs file 871 * @filp: open sysfs file 908 * their associated read, write and mmap files from pci-sysfs.c 954 printk(KERN_WARNING "pci: warning: could not create legacy I/O port and ISA memory resources to sysfs\n"); pci_create_legacy_files() 1115 * If we created resource files for @pdev, remove them from sysfs and 1176 * pci_create_resource_files - create resource files in sysfs for @dev 1212 * @filp: sysfs file pci_remove_resource_files() 1237 * @filp: sysfs file 1322 /* If the device has VPD, try to expose it in sysfs. */ pci_create_capabilities_sysfs() 1388 /* If the device has a ROM, try to expose it in sysfs. */ pci_create_sysfs_dev_files() 1409 /* add sysfs entries for various capabilities */ pci_create_sysfs_dev_files() 1450 * pci_remove_sysfs_dev_files - cleanup PCI specific sysfs files 1453 * Cleanup when @pdev is removed from sysfs.
|
/linux-4.1.27/drivers/rtc/ |
H A D | rtc-ds1672.c | 133 /* 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 D | rtc-pcf2123.c | 11 * the sysfs contributions to this driver. 47 #include <linux/sysfs.h> 312 dev_err(&spi->dev, "Unable to create sysfs %s\n", pcf2123_probe()
|
H A D | rtc-sysfs.c | 2 * RTC subsystem, sysfs interface 21 * NOTE: RTC times displayed in sysfs use the RTC's timezone. That's 228 /* The reason to trigger an alarm with no process watching it (via sysfs)
|
/linux-4.1.27/include/target/ |
H A D | configfs_macros.h | 21 * Based on sysfs: 22 * sysfs is Copyright (C) 2001, 2002, 2003 Patrick Mochel 62 * (similar to sysfs' __ATTR) to make defining attributes easier.
|
/linux-4.1.27/fs/exofs/ |
H A D | sys.c | 148 * 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.1.27/drivers/iommu/ |
H A D | iommu-sysfs.c | 2 * IOMMU sysfs class support 104 * directory of the IOMMU device in sysfs and an "iommu" link will be
|
/linux-4.1.27/drivers/sfi/ |
H A D | sfi_core.h | 59 #include <linux/sysfs.h> 67 /* sysfs interface */
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
H A D | radeon_semaphore.c | 68 /* 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.1.27/arch/sh/drivers/dma/ |
H A D | dma-sysfs.c | 2 * arch/sh/drivers/dma/dma-sysfs.c 4 * sysfs interface for SH DMA API
|
/linux-4.1.27/drivers/net/ethernet/intel/igb/ |
H A D | igb_hwmon.c | 30 #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.1.27/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_sysfs.c | 35 #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.1.27/drivers/misc/genwqe/ |
H A D | card_sysfs.c | 33 #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.1.27/arch/sh/kernel/ |
H A D | topology.c | 71 * registered under each node. Without this, sysfs fails topology_init()
|
/linux-4.1.27/arch/metag/kernel/ |
H A D | topology.c | 67 * registered under each node. Without this, sysfs fails topology_init()
|
/linux-4.1.27/drivers/acpi/ |
H A D | Makefile | 49 acpi-y += sysfs.o
|
H A D | bgrt.c | 14 #include <linux/sysfs.h>
|
/linux-4.1.27/drivers/base/ |
H A D | module.c | 2 * module.c - module sysfs fun for drivers
|
H A D | driver.c | 18 #include <linux/sysfs.h> 98 * driver_create_file - create sysfs file for driver. 116 * driver_remove_file - remove sysfs file for driver.
|
/linux-4.1.27/Documentation/networking/ |
H A D | cxacru-cf.py | 19 # Output: values string suitable for the sysfs adsl_config attribute
|
/linux-4.1.27/arch/alpha/kernel/ |
H A D | pci-sysfs.c | 2 * 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.1.27/fs/btrfs/ |
H A D | sysfs.h | 5 * Data exported through sysfs
|
/linux-4.1.27/tools/power/cpupower/utils/ |
H A D | cpupower-info.c | 17 #include "helpers/sysfs.h"
|
H A D | cpupower-set.c | 17 #include "helpers/sysfs.h"
|
/linux-4.1.27/tools/power/cpupower/utils/idle_monitor/ |
H A D | cpupower-monitor.h | 26 kernel sysfs: cpu */
|
/linux-4.1.27/sound/soc/codecs/ |
H A D | tlv320aic26.c | 14 #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()
|
H A D | rt5677-spi.c | 28 #include <linux/sysfs.h>
|
/linux-4.1.27/drivers/gpio/ |
H A D | gpiolib-sysfs.c | 4 #include <linux/sysfs.h> 16 * sysfs files are active. 470 status = gpiod_request(desc, "sysfs"); export_store() 538 * gpiod_export - export a GPIO through sysfs 547 * will see "direction" sysfs attribute which may be used to change 561 /* can't export until sysfs is available ... */ gpiod_export() 631 * gpiod_export_link - create a sysfs link to an exported GPIO node 676 * gpiod_sysfs_set_active_low - set the polarity of gpio sysfs value 680 * Set the polarity of /sys/class/gpio/gpioN/value sysfs attribute. 813 /* unregister gpiod class devices owned by sysfs */ gpiochip_unexport()
|
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_sysfs.c | 19 #include <linux/sysfs.h> 24 #include <linux/hwmon-sysfs.h> 1286 /* hwmon-sysfs attributes */ 1335 "failed to create bridged_mode sysfs entry\n"); qlcnic_create_sysfs_entries() 1351 dev_info(dev, "failed to create port stats sysfs entry"); qlcnic_create_diag_entries() 1356 dev_info(dev, "failed to create diag_mode sysfs entry\n"); qlcnic_create_diag_entries() 1358 dev_info(dev, "failed to create crb sysfs entry\n"); qlcnic_create_diag_entries() 1360 dev_info(dev, "failed to create mem sysfs entry\n"); qlcnic_create_diag_entries() 1366 dev_info(dev, "failed to create pci config sysfs entry"); qlcnic_create_diag_entries() 1369 dev_info(dev, "failed to create beacon sysfs entry"); qlcnic_create_diag_entries() 1374 dev_info(dev, "failed to create esw config sysfs entry"); qlcnic_create_diag_entries() 1378 dev_info(dev, "failed to create npar config sysfs entry"); qlcnic_create_diag_entries() 1380 dev_info(dev, "failed to create pm config sysfs entry"); qlcnic_create_diag_entries() 1382 dev_info(dev, "failed to create eswitch stats sysfs entry"); qlcnic_create_diag_entries() 1429 dev_info(dev, "failed to create flash sysfs entry\n"); qlcnic_83xx_add_sysfs()
|
/linux-4.1.27/drivers/firmware/efi/ |
H A D | efivars.c | 8 * 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.1.27/arch/powerpc/platforms/powernv/ |
H A D | opal-flash.c | 18 #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.1.27/drivers/iio/accel/ |
H A D | kxsd9.c | 22 #include <linux/sysfs.h> 27 #include <linux/iio/sysfs.h>
|
/linux-4.1.27/drivers/iio/amplifiers/ |
H A D | ad8366.c | 12 #include <linux/sysfs.h> 20 #include <linux/iio/sysfs.h>
|
/linux-4.1.27/drivers/iio/common/hid-sensors/ |
H A D | hid-sensor-trigger.c | 29 #include <linux/iio/sysfs.h> 175 /* Default to 3 seconds, but can be changed from sysfs */ hid_sensor_setup_trigger()
|
/linux-4.1.27/drivers/iio/gyro/ |
H A D | adis16080.c | 14 #include <linux/sysfs.h> 18 #include <linux/iio/sysfs.h>
|
/linux-4.1.27/drivers/iio/humidity/ |
H A D | si7020.c | 32 #include <linux/sysfs.h> 35 #include <linux/iio/sysfs.h>
|
/linux-4.1.27/drivers/staging/iio/accel/ |
H A D | adis16201_core.c | 15 #include <linux/sysfs.h> 19 #include <linux/iio/sysfs.h>
|
H A D | adis16203_core.c | 15 #include <linux/sysfs.h> 19 #include <linux/iio/sysfs.h>
|
H A D | adis16204_core.c | 17 #include <linux/sysfs.h> 22 #include <linux/iio/sysfs.h>
|
H A D | adis16209_core.c | 15 #include <linux/sysfs.h> 20 #include <linux/iio/sysfs.h>
|
/linux-4.1.27/drivers/staging/iio/adc/ |
H A D | ad7780.c | 13 #include <linux/sysfs.h> 22 #include <linux/iio/sysfs.h>
|
/linux-4.1.27/drivers/staging/iio/gyro/ |
H A D | adis16060_core.c | 16 #include <linux/sysfs.h> 19 #include <linux/iio/sysfs.h>
|
/linux-4.1.27/drivers/s390/net/ |
H A D | ctcm_sysfs.c | 15 #include <linux/sysfs.h> 20 * sysfs attributes
|
/linux-4.1.27/arch/mips/alchemy/devboards/ |
H A D | pm.c | 10 #include <linux/sysfs.h> 17 * This code exports a few sysfs nodes under /sys/power/db1x/ which
|
/linux-4.1.27/fs/configfs/ |
H A D | configfs_internal.h | 21 * Based on sysfs: 22 * sysfs is Copyright (C) 2001, 2002, 2003 Patrick Mochel
|
H A D | mount.c | 21 * Based on sysfs: 22 * sysfs is Copyright (C) 2001, 2002, 2003 Patrick Mochel
|
/linux-4.1.27/tools/testing/selftests/cpu-hotplug/ |
H A D | cpu-on-off-test.sh | 16 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'` 19 echo $msg sysfs is not mounted >&2
|
/linux-4.1.27/tools/testing/selftests/memory-hotplug/ |
H A D | mem-on-off-test.sh | 14 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'` 17 echo $msg sysfs is not mounted >&2
|
/linux-4.1.27/drivers/net/wireless/ath/ath5k/ |
H A D | sysfs.c | 109 ATH5K_ERR(ah, "failed to create sysfs group\n"); ath5k_sysfs_register()
|
/linux-4.1.27/drivers/scsi/arcmsr/ |
H A D | arcmsr_attr.c | 6 ** 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.1.27/drivers/staging/iio/frequency/ |
H A D | dds.h | 2 * dds.h - sysfs attributes associated with DDS devices
|
/linux-4.1.27/drivers/rapidio/switches/ |
H A D | idt_gen2.c | 399 /* 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.1.27/drivers/infiniband/hw/usnic/ |
H A D | usnic_ib.h | 68 /* sysfs vars for QPN reporting */
|
/linux-4.1.27/arch/sparc/kernel/ |
H A D | Makefile | 58 obj-$(CONFIG_SPARC64) += sysfs.o
|
/linux-4.1.27/drivers/base/power/ |
H A D | power.h | 24 * sysfs.c
|
/linux-4.1.27/drivers/usb/gadget/function/ |
H A D | u_serial.h | 31 * hookups to sysfs and /dev for each logical "tty" device.
|
/linux-4.1.27/drivers/usb/usbip/ |
H A D | vhci.h | 17 #include <linux/sysfs.h>
|
/linux-4.1.27/drivers/w1/ |
H A D | w1_family.h | 57 * @groups: sysfs group
|
/linux-4.1.27/include/linux/power/ |
H A D | bq2415x_charger.h | 26 * voltages and currents which can be also later configured via sysfs. If
|
H A D | charger-manager.h | 102 * @attr_name: "name" sysfs entry 103 * @attr_state: "state" sysfs entry 104 * @attr_externally_control: "externally_control" sysfs entry
|
/linux-4.1.27/arch/powerpc/platforms/cell/ |
H A D | spu_callbacks.c | 25 * uselib, pciconfig_*, sysfs, ...
|
/linux-4.1.27/lib/ |
H A D | test_firmware.c | 91 pr_err("could not create sysfs interface: %d\n", rc); test_firmware_init()
|
/linux-4.1.27/tools/power/cpupower/ |
H A D | Makefile | 128 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.1.27/tools/usb/usbip/libsrc/ |
H A D | usbip_common.h | 33 /* sysfs constants */
|
/linux-4.1.27/drivers/iio/adc/ |
H A D | mcp3422.c | 10 * This driver exports the value of analog input voltage to sysfs, the 23 #include <linux/sysfs.h> 27 #include <linux/iio/sysfs.h>
|
/linux-4.1.27/drivers/misc/ |
H A D | ds1682.c | 19 * the sysfs. The following attributes are added to the device node: 38 #include <linux/sysfs.h> 40 #include <linux/hwmon-sysfs.h>
|
/linux-4.1.27/drivers/staging/iio/ |
H A D | iio_dummy_evgen.c | 22 #include <linux/sysfs.h> 26 #include <linux/iio/sysfs.h> 102 * That irq can then be caused to 'fire' by using the associated sysfs file.
|
/linux-4.1.27/drivers/pwm/ |
H A D | sysfs.c | 2 * A simple sysfs interface for the generic PWM framework 253 pwm = pwm_request_from_chip(chip, hwpwm, "sysfs"); pwm_export_store() 326 "device_create failed for pwm_chip sysfs export\n"); pwmchip_sysfs_export()
|
/linux-4.1.27/arch/powerpc/platforms/pseries/ |
H A D | pseries_energy.c | 202 * Create sysfs interface: 236 /* Create the sysfs files */ pseries_energy_init() 273 /* Remove the sysfs files */ pseries_energy_cleanup()
|
/linux-4.1.27/sound/hda/ |
H A D | hdac_sysfs.c | 2 * sysfs support for HD-audio core device 6 #include <linux/sysfs.h> 70 * Widget tree sysfs
|