Home
last modified time | relevance | path

Searched refs:class (Results 1 – 200 of 1269) sorted by relevance

1234567

/linux-4.1.27/mm/
Dzsmalloc.c454 static inline void zs_stat_inc(struct size_class *class, in zs_stat_inc() argument
457 class->stats.objs[type] += cnt; in zs_stat_inc()
460 static inline void zs_stat_dec(struct size_class *class, in zs_stat_dec() argument
463 class->stats.objs[type] -= cnt; in zs_stat_dec()
466 static inline unsigned long zs_stat_get(struct size_class *class, in zs_stat_get() argument
469 return class->stats.objs[type]; in zs_stat_get()
493 struct size_class *class; in zs_stats_size_show() local
506 class = pool->size_class[i]; in zs_stats_size_show()
508 if (class->index != i) in zs_stats_size_show()
511 spin_lock(&class->lock); in zs_stats_size_show()
[all …]
/linux-4.1.27/drivers/base/
Dclass.c34 ret = class_attr->show(cp->class, class_attr, buf); in class_attr_show()
46 ret = class_attr->store(cp->class, class_attr, buf, count); in class_attr_store()
53 struct class *class = cp->class; in class_release() local
55 pr_debug("class '%s': release.\n", class->name); in class_release()
57 if (class->class_release) in class_release()
58 class->class_release(class); in class_release()
61 "be careful\n", class->name); in class_release()
69 struct class *class = cp->class; in class_child_ns_type() local
71 return class->ns_type; in class_child_ns_type()
89 int class_create_file_ns(struct class *cls, const struct class_attribute *attr, in class_create_file_ns()
[all …]
Dcore.c107 (dev->class ? dev->class->name : "")); in dev_driver_string()
246 else if (dev->class && dev->class->dev_release) in device_release()
247 dev->class->dev_release(dev); in device_release()
260 if (dev->class && dev->class->ns_type) in device_namespace()
261 ns = dev->class->namespace(dev); in device_namespace()
281 if (dev->class) in dev_uevent_filter()
293 if (dev->class) in dev_uevent_name()
294 return dev->class->name; in dev_uevent_name()
345 if (dev->class && dev->class->dev_uevent) { in dev_uevent()
346 retval = dev->class->dev_uevent(dev, env); in dev_uevent()
[all …]
Dtransport_class.c50 return class_register(&tclass->class); in transport_class_register()
64 class_unregister(&tclass->class); in transport_class_unregister()
91 atc->container.class = &atc->tclass.class; in anon_transport_class_register()
121 struct transport_class *tclass = class_to_transport_class(cont->class); in transport_setup_classdev()
187 struct transport_class *tclass = class_to_transport_class(cont->class); in transport_configure()
220 struct transport_class *tclass = class_to_transport_class(cont->class); in transport_remove_classdev()
257 struct transport_class *tclass = class_to_transport_class(cont->class); in transport_destroy_classdev()
Ddevcoredump.c34 static struct class devcd_class;
137 static ssize_t disabled_show(struct class *class, struct class_attribute *attr, in disabled_show() argument
143 static ssize_t disabled_store(struct class *class, struct class_attribute *attr, in disabled_store() argument
168 static struct class devcd_class = {
268 devcd->devcd_dev.class = &devcd_class; in dev_coredumpm()
/linux-4.1.27/kernel/locking/
Dlockdep_proc.c40 static void print_name(struct seq_file *m, struct lock_class *class) in print_name() argument
43 const char *name = class->name; in print_name()
46 name = __get_key_name(class->key, str); in print_name()
50 if (class->name_version > 1) in print_name()
51 seq_printf(m, "#%d", class->name_version); in print_name()
52 if (class->subclass) in print_name()
53 seq_printf(m, "/%d", class->subclass); in print_name()
59 struct lock_class *class = list_entry(v, struct lock_class, lock_entry); in l_show() local
68 seq_printf(m, "%p", class->key); in l_show()
70 seq_printf(m, " OPS:%8ld", class->ops); in l_show()
[all …]
Dlockdep.c204 struct lock_class_stats lock_stats(struct lock_class *class) in lock_stats() argument
212 &per_cpu(cpu_lock_stats, cpu)[class - lock_classes]; in lock_stats()
233 void clear_lock_stats(struct lock_class *class) in clear_lock_stats() argument
239 &per_cpu(cpu_lock_stats, cpu)[class - lock_classes]; in clear_lock_stats()
243 memset(class->contention_point, 0, sizeof(class->contention_point)); in clear_lock_stats()
244 memset(class->contending_point, 0, sizeof(class->contending_point)); in clear_lock_stats()
247 static struct lock_class_stats *get_lock_stats(struct lock_class *class) in get_lock_stats() argument
249 return &get_cpu_var(cpu_lock_stats)[class - lock_classes]; in get_lock_stats()
352 static int class_filter(struct lock_class *class) in class_filter() argument
356 if (class->name_version == 1 && in class_filter()
[all …]
Dlockdep_internals.h75 extern void get_usage_chars(struct lock_class *class,
101 lockdep_count_forward_deps(struct lock_class *class) in lockdep_count_forward_deps() argument
106 lockdep_count_backward_deps(struct lock_class *class) in lockdep_count_backward_deps() argument
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-driver-hid-srws11 What: /sys/class/leds/SRWS1::<serial>::RPM1
2 What: /sys/class/leds/SRWS1::<serial>::RPM2
3 What: /sys/class/leds/SRWS1::<serial>::RPM3
4 What: /sys/class/leds/SRWS1::<serial>::RPM4
5 What: /sys/class/leds/SRWS1::<serial>::RPM5
6 What: /sys/class/leds/SRWS1::<serial>::RPM6
7 What: /sys/class/leds/SRWS1::<serial>::RPM7
8 What: /sys/class/leds/SRWS1::<serial>::RPM8
9 What: /sys/class/leds/SRWS1::<serial>::RPM9
10 What: /sys/class/leds/SRWS1::<serial>::RPM10
[all …]
Dsysfs-c2port1 What: /sys/class/c2port/
5 The /sys/class/c2port/ directory will contain files and
9 What: /sys/class/c2port/c2portX
13 The /sys/class/c2port/c2portX/ directory is related to X-th
17 What: /sys/class/c2port/c2portX/access
21 The /sys/class/c2port/c2portX/access file enable the access
25 What: /sys/class/c2port/c2portX/dev_id
29 The /sys/class/c2port/c2portX/dev_id file show the device ID
32 What: /sys/class/c2port/c2portX/flash_access
36 The /sys/class/c2port/c2portX/flash_access file enable the
[all …]
Dsysfs-class-backlight-driver-adp88701 What: /sys/class/backlight/<backlight>/<ambient light zone>_max
2 What: /sys/class/backlight/<backlight>/l1_daylight_max
3 What: /sys/class/backlight/<backlight>/l2_bright_max
4 What: /sys/class/backlight/<backlight>/l3_office_max
5 What: /sys/class/backlight/<backlight>/l4_indoor_max
6 What: /sys/class/backlight/<backlight>/l5_dark_max
16 What: /sys/class/backlight/<backlight>/<ambient light zone>_dim
17 What: /sys/class/backlight/<backlight>/l2_bright_dim
18 What: /sys/class/backlight/<backlight>/l3_office_dim
19 What: /sys/class/backlight/<backlight>/l4_indoor_dim
[all …]
Dsysfs-class-devfreq1 What: /sys/class/devfreq/.../
10 What: /sys/class/devfreq/.../governor
14 The /sys/class/devfreq/.../governor show or set the name of the
17 What: /sys/class/devfreq/.../cur_freq
21 The /sys/class/devfreq/.../cur_freq shows the current
26 What: /sys/class/devfreq/.../target_freq
30 The /sys/class/devfreq/.../target_freq shows the next governor
33 What: /sys/class/devfreq/.../polling_interval
37 The /sys/class/devfreq/.../polling_interval shows and sets
44 (/sys/class/devfreq/.../central_polling is 0), this value
[all …]
Dsysfs-pps1 What: /sys/class/pps/
5 The /sys/class/pps/ directory will contain files and
9 What: /sys/class/pps/ppsX/
13 The /sys/class/pps/ppsX/ directory is related to X-th
17 What: /sys/class/pps/ppsX/assert
21 The /sys/class/pps/ppsX/assert file reports the assert events
29 What: /sys/class/pps/ppsX/clear
33 The /sys/class/pps/ppsX/clear file reports the clear events
41 What: /sys/class/pps/ppsX/mode
45 The /sys/class/pps/ppsX/mode file reports the functioning
[all …]
Dsysfs-class-pwm1 What: /sys/class/pwm/
6 The pwm/ class sub-directory belongs to the Generic PWM
10 What: /sys/class/pwm/pwmchipN/
15 A /sys/class/pwm/pwmchipN directory is created for each
19 What: /sys/class/pwm/pwmchipN/npwm
26 What: /sys/class/pwm/pwmchipN/export
32 Value is between 0 and /sys/class/pwm/pwmchipN/npwm - 1.
34 What: /sys/class/pwm/pwmchipN/unexport
41 What: /sys/class/pwm/pwmchipN/pwmX
46 A /sys/class/pwm/pwmchipN/pwmX directory is created for
[all …]
Dsysfs-class-cxl3 Example: The real path of the attribute /sys/class/cxl/afu0.0s/irqs_max is
4 /sys/class/cxl/afu0.0s/device/irqs_max, i.e. /sys/class/cxl/afu0.0/irqs_max.
7 Slave contexts (eg. /sys/class/cxl/afu0.0s):
9 What: /sys/class/cxl/<afu>/irqs_max
19 What: /sys/class/cxl/<afu>/irqs_min
28 What: /sys/class/cxl/<afu>/mmio_size
35 What: /sys/class/cxl/<afu>/modes_supported
42 What: /sys/class/cxl/<afu>/mode
51 What: /sys/class/cxl/<afu>/prefault_mode
63 What: /sys/class/cxl/<afu>/reset
[all …]
Dsysfs-driver-genwqe1 What: /sys/class/genwqe/genwqe<n>_card/version
7 What: /sys/class/genwqe/genwqe<n>_card/appid
13 What: /sys/class/genwqe/genwqe<n>_card/type
18 What: /sys/class/genwqe/genwqe<n>_card/curr_bitstream
23 What: /sys/class/genwqe/genwqe<n>_card/next_bitstream
28 What: /sys/class/genwqe/genwqe<n>_card/reload_bitstream
33 /sys/class/genwqe/genwqe0_card/reload_bitstream'
37 What: /sys/class/genwqe/genwqe<n>_card/tempsens
42 What: /sys/class/genwqe/genwqe<n>_card/freerunning_timer
48 What: /sys/class/genwqe/genwqe<n>_card/queue_working_time
[all …]
Dsysfs-class-powercap1 What: /sys/class/powercap/
6 The powercap/ class sub directory belongs to the power cap
10 What: /sys/class/powercap/<control type>
15 A <control type> is a unique name under /sys/class/powercap.
19 What: /sys/class/powercap/<control type>/enabled
27 What: /sys/class/powercap/<control type>/<power zone>
37 What: /sys/class/powercap/<control type>/<power zone>/<child power zone>
48 What: /sys/class/powercap/.../<power zone>/name
55 What: /sys/class/powercap/.../<power zone>/energy_uj
64 What: /sys/class/powercap/.../<power zone>/max_energy_range_uj
[all …]
Dsysfs-class-pktcdvd1 What: /sys/class/pktcdvd/
14 /sys/class/pktcdvd/
25 /sys/class/pktcdvd/pktcdvd[0-7]/
29 /sys/class/pktcdvd/pktcdvd[0-7]/stat/
41 /sys/class/pktcdvd/pktcdvd[0-7]/write_queue/
65 echo "22:0" >/sys/class/pktcdvd/add
66 cat /sys/class/pktcdvd/device_map
68 cat /sys/class/pktcdvd/pktcdvd0/stat/kb_written
70 fgrep pktcdvd0 /sys/class/pktcdvd/device_map
72 echo "253:0" >/sys/class/pktcdvd/remove
Dsysfs-class-net-statistics1 What: /sys/class/<iface>/statistics/collisions
9 What: /sys/class/<iface>/statistics/multicast
17 What: /sys/class/<iface>/statistics/rx_bytes
26 What: /sys/class/<iface>/statistics/rx_compressed
35 What: /sys/class/<iface>/statistics/rx_crc_errors
44 What: /sys/class/<iface>/statistics/rx_dropped
54 What: /sys/class/<iface>/statistics/rx_fifo_errors
63 What: /sys/class/<iface>/statistics/rx_frame_errors
73 What: /sys/class/<iface>/statistics/rx_length_errors
82 What: /sys/class/<iface>/statistics/rx_missed_errors
[all …]
Dsysfs-class-uwb_rc1 What: /sys/class/uwb_rc
12 What: /sys/class/uwb_rc/beacon_timeout_ms
21 What: /sys/class/uwb_rc/uwbN/
28 What: /sys/class/uwb_rc/uwbN/beacon
46 What: /sys/class/uwb_rc/uwbN/ASIE
59 What: /sys/class/uwb_rc/uwbN/scan
75 What: /sys/class/uwb_rc/uwbN/mac_address
85 What: /sys/class/uwb_rc/uwbN/wusbhc
93 What: /sys/class/uwb_rc/uwbN/<EUI-48>/
102 What: /sys/class/uwb_rc/uwbN/<EUI-48>/BPST
[all …]
Dsysfs-class-net-mesh2 What: /sys/class/net/<mesh_iface>/mesh/aggregated_ogms
9 What: /sys/class/net/<mesh_iface>/mesh/<vlan_subdir>/ap_isolation
18 What: /sys/class/net/<mesh_iface>/mesh/bonding
26 What: /sys/class/net/<mesh_iface>/mesh/bridge_loop_avoidance
35 What: /sys/class/net/<mesh_iface>/mesh/fragmentation
43 What: /sys/class/net/<mesh_iface>/mesh/gw_bandwidth
50 What: /sys/class/net/<mesh_iface>/mesh/gw_mode
57 What: /sys/class/net/<mesh_iface>/mesh/gw_sel_class
64 What: /sys/class/net/<mesh_iface>/mesh/hop_penalty
71 What: /sys/class/net/<mesh_iface>/mesh/isolation_mark
[all …]
Dsysfs-class-mtd1 What: /sys/class/mtd/
6 The mtd/ class subdirectory belongs to the MTD subsystem
9 What: /sys/class/mtd/mtdX/
14 The /sys/class/mtd/mtd{0,1,2,3,...} directories correspond
19 What: /sys/class/mtd/mtdXro/
25 nodes for /sys/class/mtd/mtdX/ .
27 What: /sys/class/mtd/mtdX/dev
36 What: /sys/class/mtd/mtdXro/dev
45 What: /sys/class/mtd/mtdX/erasesize
55 What: /sys/class/mtd/mtdX/flags
[all …]
Dsysfs-ptp1 What: /sys/class/ptp/
9 What: /sys/class/ptp/ptpN/
14 hardware clock registered into the PTP class driver
17 What: /sys/class/ptp/ptpN/clock_name
28 What: /sys/class/ptp/ptpN/max_adjustment
36 What: /sys/class/ptp/ptpN/n_alarms
43 What: /sys/class/ptp/ptpN/n_external_timestamps
50 What: /sys/class/ptp/ptpN/n_periodic_outputs
57 What: /sys/class/ptp/ptpN/n_pins
64 What: /sys/class/ptp/ptpN/pins
[all …]
Dsysfs-class-net1 What: /sys/class/net/<iface>/name_assign_type
12 What: /sys/class/net/<iface>/addr_assign_type
23 What: /sys/class/net/<iface>/addr_len
33 What: /sys/class/net/<iface>/address
42 What: /sys/class/net/<iface>/broadcast
51 What: /sys/class/net/<iface>/carrier
65 What: /sys/class/net/<iface>/dev_id
75 What: /sys/class/net/<iface>/dormant
103 What: /sys/class/net/<iface>/flags
112 What: /sys/class/net/<iface>/ifalias
[all …]
Dsysfs-tty1 What: /sys/class/tty/console/active
12 What: /sys/class/tty/tty0/active
21 What: /sys/class/tty/ttyS0/uartclk
32 What: /sys/class/tty/ttyS0/type
41 What: /sys/class/tty/ttyS0/line
50 What: /sys/class/tty/ttyS0/port
59 What: /sys/class/tty/ttyS0/irq
68 What: /sys/class/tty/ttyS0/flags
77 What: /sys/class/tty/ttyS0/xmit_fifo_size
86 What: /sys/class/tty/ttyS0/close_delay
[all …]
Dsysfs-class-mei1 What: /sys/class/mei/
6 The mei/ class sub-directory belongs to mei device class
9 What: /sys/class/mei/meiN/
14 The /sys/class/mei/meiN directory is created for
17 What: /sys/class/mei/meiN/fw_status
Dsysfs-class-led-driver-lm35331 What: /sys/class/leds/<led>/als_channel
12 What: /sys/class/leds/<led>/als_en
19 What: /sys/class/leds/<led>/falltime
20 What: /sys/class/leds/<led>/risetime
36 What: /sys/class/leds/<led>/id
43 What: /sys/class/leds/<led>/linear
53 What: /sys/class/leds/<led>/pwm
Dsysfs-class-net-queues1 What: /sys/class/<iface>/queues/rx-<queue>/rps_cpus
11 What: /sys/class/<iface>/queues/rx-<queue>/rps_flow_cnt
19 What: /sys/class/<iface>/queues/tx-<queue>/tx_timeout
27 What: /sys/class/<iface>/queues/tx-<queue>/tx_maxrate
35 What: /sys/class/<iface>/queues/tx-<queue>/xps_cpus
45 What: /sys/class/<iface>/queues/tx-<queue>/byte_queue_limits/hold_time
54 What: /sys/class/<iface>/queues/tx-<queue>/byte_queue_limits/inflight
62 What: /sys/class/<iface>/queues/tx-<queue>/byte_queue_limits/limit
71 What: /sys/class/<iface>/queues/tx-<queue>/byte_queue_limits/limit_max
80 What: /sys/class/<iface>/queues/tx-<queue>/byte_queue_limits/limit_min
Dsysfs-class-rc1 What: /sys/class/rc/
6 The rc/ class sub-directory belongs to the Remote Controller
10 What: /sys/class/rc/rcN/
15 A /sys/class/rc/rcN directory is created for each remote
18 What: /sys/class/rc/rcN/protocols
36 What: /sys/class/rc/rcN/filter
42 Use in combination with /sys/class/rc/rcN/filter_mask to set the
49 What: /sys/class/rc/rcN/filter_mask
55 Use in combination with /sys/class/rc/rcN/filter to set the bits
64 What: /sys/class/rc/rcN/wakeup_protocols
[all …]
Dsysfs-class-net-cdc_ncm1 What: /sys/class/net/<iface>/cdc_ncm/min_tx_pkt
22 What: /sys/class/net/<iface>/cdc_ncm/rx_max
38 What: /sys/class/net/<iface>/cdc_ncm/tx_max
50 What: /sys/class/net/<iface>/cdc_ncm/tx_timer_usecs
70 What: /sys/class/net/<iface>/cdc_ncm/bmNtbFormatsSupported
79 What: /sys/class/net/<iface>/cdc_ncm/dwNtbInMaxSize
86 What: /sys/class/net/<iface>/cdc_ncm/wNdpInDivisor
93 What: /sys/class/net/<iface>/cdc_ncm/wNdpInPayloadRemainder
102 What: /sys/class/net/<iface>/cdc_ncm/wNdpInAlignment
110 What: /sys/class/net/<iface>/cdc_ncm/dwNtbOutMaxSize
[all …]
Dsysfs-class-led1 What: /sys/class/leds/<led>/brightness
9 /sys/class/leds/<led>/max_brightness.
11 What: /sys/class/leds/<led>/max_brightness
18 What: /sys/class/leds/<led>/trigger
27 /sys/class/leds/<led> once a given trigger is selected.
29 What: /sys/class/leds/<led>/inverted
Dsysfs-class-extcon1 What: /sys/class/extcon/.../
22 What: /sys/class/extcon/.../name
26 The /sys/class/extcon/.../name shows the name of the extcon
31 What: /sys/class/extcon/.../state
35 The /sys/class/extcon/.../state shows and stores the cable
65 What: /sys/class/extcon/.../cable.x/name
69 The /sys/class/extcon/.../cable.x/name shows the name of cable
72 What: /sys/class/extcon/.../cable.x/state
76 The /sys/class/extcon/.../cable.x/state shows and stores the
81 What: /sys/class/extcon/.../mutually_exclusive/...
Dsysfs-class-backlight-driver-lm35331 What: /sys/class/backlight/<backlight>/als_channel
12 What: /sys/class/backlight/<backlight>/als_en
19 What: /sys/class/backlight/<backlight>/id
26 What: /sys/class/backlight/<backlight>/linear
36 What: /sys/class/backlight/<backlight>/pwm
Dsysfs-class-lcd1 What: /sys/class/lcd/<lcd>/lcd_power
10 What: /sys/class/lcd/<lcd>/contrast
16 /sys/class/lcd/<lcd>/max_contrast.
18 What: /sys/class/lcd/<lcd>/max_contrast
Dsysfs-class-regulator1 What: /sys/class/regulator/.../state
30 What: /sys/class/regulator/.../status
67 What: /sys/class/regulator/.../type
91 What: /sys/class/regulator/.../microvolts
106 What: /sys/class/regulator/.../microamps
121 What: /sys/class/regulator/.../opmode
146 What: /sys/class/regulator/.../min_microvolts
161 What: /sys/class/regulator/.../max_microvolts
176 What: /sys/class/regulator/.../min_microamps
191 What: /sys/class/regulator/.../max_microamps
[all …]
Dsysfs-class-mic.txt1 What: /sys/class/mic/
6 The mic class directory belongs to Intel MIC devices and
11 What: /sys/class/mic/mic(x)
16 The directories /sys/class/mic/mic0, /sys/class/mic/mic1 etc.,
20 What: /sys/class/mic/mic(x)/family
28 What: /sys/class/mic/mic(x)/stepping
36 What: /sys/class/mic/mic(x)/state
68 What: /sys/class/mic/mic(x)/shutdown_status
84 What: /sys/class/mic/mic(x)/cmdline
100 What: /sys/class/mic/mic(x)/firmware
[all …]
Dsysfs-platform-dell-laptop1 What: /sys/class/leds/dell::kbd_backlight/als_enabled
12 What: /sys/class/leds/dell::kbd_backlight/als_setting
21 What: /sys/class/leds/dell::kbd_backlight/start_triggers
38 echo +keyboard > /sys/class/leds/dell::kbd_backlight/start_triggers
40 echo -keyboard > /sys/class/leds/dell::kbd_backlight/start_triggers
44 What: /sys/class/leds/dell::kbd_backlight/stop_timeout
61 echo 10m > /sys/class/leds/dell::kbd_backlight/stop_timeout
Dsysfs-class-iommu-intel-iommu1 What: /sys/class/iommu/<iommu>/intel-iommu/address
10 What: /sys/class/iommu/<iommu>/intel-iommu/cap
18 What: /sys/class/iommu/<iommu>/intel-iommu/ecap
26 What: /sys/class/iommu/<iommu>/intel-iommu/version
Dsysfs-class-net-batman-adv2 What: /sys/class/net/<iface>/batman-adv/iface_status
8 What: /sys/class/net/<iface>/batman-adv/mesh_iface
12 The /sys/class/net/<iface>/batman-adv/mesh_iface file
Dsysfs-driver-hid2 …For BT devices : /sys/class/bluetooth/hci<addr>/<hid-bus>:<vendor-id>:<product-id>.<num>/report_de…
3 Symlink : /sys/class/hidraw/hidraw<num>/device/report_descriptor
13 For BT devices : /sys/class/bluetooth/hci<addr>/<hid-bus>:<vendor-id>:<product-id>.<num>/country
14 Symlink : /sys/class/hidraw/hidraw<num>/device/country
Dsysfs-class-power1 What: /sys/class/power/ds2760-battery.*/charge_now
13 What: /sys/class/power/ds2760-battery.*/charge_full
22 What: /sys/class/power_supply/max14577-charger/device/fast_charge_timer
36 What: /sys/class/power_supply/max77693-charger/device/fast_charge_timer
50 What: /sys/class/power_supply/max77693-charger/device/top_off_threshold_current
65 What: /sys/class/power_supply/max77693-charger/device/top_off_timer
Dsysfs-class-led-flash1 What: /sys/class/leds/<led>/flash_brightness
11 /sys/class/leds/<led>/max_flash_brightness.
13 What: /sys/class/leds/<led>/max_flash_brightness
21 What: /sys/class/leds/<led>/flash_timeout
31 What: /sys/class/leds/<led>/max_flash_timeout
38 What: /sys/class/leds/<led>/flash_strobe
49 What: /sys/class/leds/<led>/flash_fault
Dsysfs-class-uwb_rc-wusbhc1 What: /sys/class/uwb_rc/uwbN/wusbhc/wusb_chid
12 What: /sys/class/uwb_rc/uwbN/wusbhc/wusb_trust_timeout
27 What: /sys/class/uwb_rc/uwbN/wusbhc/wusb_phy_rate
40 What: /sys/class/uwb_rc/uwbN/wusbhc/wusb_dnts
50 What: /sys/class/uwb_rc/uwbN/wusbhc/wusb_retry_count
Dconfigfs-usb-gadget-uvc15 What: /config/usb-gadget/gadget/functions/uvc.name/control/class
20 What: /config/usb-gadget/gadget/functions/uvc.name/control/class/ss
23 Description: Super speed control class descriptors
25 What: /config/usb-gadget/gadget/functions/uvc.name/control/class/fs
28 Description: Full speed control class descriptors
112 What: /config/usb-gadget/gadget/functions/uvc.name/streaming/class
115 Description: Streaming class descriptors
117 What: /config/usb-gadget/gadget/functions/uvc.name/streaming/class/ss
120 Description: Super speed streaming class descriptors
122 What: /config/usb-gadget/gadget/functions/uvc.name/streaming/class/hs
[all …]
Dsysfs-ata1 What: /sys/class/ata_...
9 Files under /sys/class/ata_port
23 Files under /sys/class/ata_link
46 Files under /sys/class/ata_device
56 class
57 Device class. Can be "ata" for disk, "atapi" for packet device,
Dsysfs-class-iommu-amd-iommu1 What: /sys/class/iommu/<iommu>/amd-iommu/cap
9 What: /sys/class/iommu/<iommu>/amd-iommu/features
Dsysfs-class-net-grcan2 What: /sys/class/net/<iface>/grcan/enable0
14 What: /sys/class/net/<iface>/grcan/enable1
26 What: /sys/class/net/<iface>/grcan/select
Dsysfs-driver-input-axp-pek1 What: /sys/class/input/input(x)/device/startup
7 What: /sys/class/input/input(x)/device/shutdown
Dsysfs-class1 What: /sys/class/
5 The /sys/class directory will consist of a group of
Dsysfs-platform-at9122 echo 0x7ff > /sys/class/net/can0/mb0_id
25 echo 0x9fffffff > /sys/class/net/can0/mb0_id
Dsysfs-bus-bcma25 What: /sys/bus/bcma/devices/.../class
30 Each BCMA core is identified by few fields, including class it
/linux-4.1.27/Documentation/driver-model/
Dclass.txt7 A device class describes a type of device, like an audio or network
13 Each device class defines a set of semantics and a programming interface
14 that devices of that class adhere to. Device drivers are the
24 The device class structure looks like:
30 See the kerneldoc for the struct class.
32 A typical device class definition would look like:
40 Each device class structure should be exported in a header file so it
51 As devices are bound to drivers, they are added to the device class
57 The device is enumerated in the class. Each time a device is added to
58 the class, the class's devnum field is incremented and assigned to the
[all …]
Dbinding.txt45 the class to which it belongs. Device drivers belong to one and only one
46 class, and that is set in the driver's devclass field.
47 devclass_add_device is called to enumerate the device within the class
48 and actually register it with the class, which happens with the
49 class's register_dev callback.
68 A directory for the device is created in the class's directory. A
73 physical directory to either its class directory, or the class's
/linux-4.1.27/arch/arm/mach-omap2/
Domap_hwmod_33xx_43xx_ipblock_data.c43 .class = &am33xx_l3_hwmod_class,
57 .class = &am33xx_l3_hwmod_class,
64 .class = &am33xx_l3_hwmod_class,
86 .class = &am33xx_l4_hwmod_class,
100 .class = &am33xx_l4_hwmod_class,
119 .class = &am33xx_mpu_hwmod_class,
154 .class = &am33xx_pruss_hwmod_class,
178 .class = &am33xx_gfx_hwmod_class,
201 .class = &am33xx_prcm_hwmod_class,
222 .class = &am33xx_aes0_hwmod_class,
[all …]
Domap_hwmod_2xxx_ipblock_data.c198 .class = &l3_hwmod_class,
205 .class = &l4_hwmod_class,
212 .class = &l4_hwmod_class,
219 .class = &mpu_hwmod_class,
226 .class = &iva_hwmod_class,
259 .class = &omap2xxx_timer_hwmod_class,
277 .class = &omap2xxx_timer_hwmod_class,
295 .class = &omap2xxx_timer_hwmod_class,
313 .class = &omap2xxx_timer_hwmod_class,
332 .class = &omap2xxx_timer_hwmod_class,
[all …]
Domap_hwmod_7xx_data.c62 .class = &dra7xx_l3_hwmod_class,
76 .class = &dra7xx_l3_hwmod_class,
89 .class = &dra7xx_l3_hwmod_class,
111 .class = &dra7xx_l4_hwmod_class,
124 .class = &dra7xx_l4_hwmod_class,
137 .class = &dra7xx_l4_hwmod_class,
150 .class = &dra7xx_l4_hwmod_class,
163 .class = &dra7xx_l4_hwmod_class,
185 .class = &dra7xx_atl_hwmod_class,
209 .class = &dra7xx_bb2d_hwmod_class,
[all …]
Domap_hwmod_81xx_data.c94 .class = &l3_hwmod_class,
101 .class = &l3_hwmod_class,
108 .class = &l3_hwmod_class,
115 .class = &l3_hwmod_class,
126 .class = &l4_hwmod_class,
137 .class = &l4_hwmod_class,
158 .class = &mpu_hwmod_class,
210 .class = &uart_class,
231 .class = &uart_class,
252 .class = &uart_class,
[all …]
Domap_hwmod_43xx_data.c29 .class = &am33xx_l4_hwmod_class,
47 .class = &am33xx_wkup_m3_hwmod_class,
66 .class = &am33xx_control_hwmod_class,
84 .class = &am33xx_gpio_hwmod_class,
114 .class = &am43xx_synctimer_hwmod_class,
128 .class = &am33xx_timer_hwmod_class,
141 .class = &am33xx_timer_hwmod_class,
154 .class = &am33xx_timer_hwmod_class,
167 .class = &am33xx_timer_hwmod_class,
180 .class = &am33xx_epwmss_hwmod_class,
[all …]
Domap_hwmod_54xx_data.c61 .class = &omap54xx_dmm_hwmod_class,
82 .class = &omap54xx_l3_hwmod_class,
96 .class = &omap54xx_l3_hwmod_class,
109 .class = &omap54xx_l3_hwmod_class,
122 .class = &omap54xx_l3_hwmod_class,
144 .class = &omap54xx_l4_hwmod_class,
157 .class = &omap54xx_l4_hwmod_class,
170 .class = &omap54xx_l4_hwmod_class,
183 .class = &omap54xx_l4_hwmod_class,
204 .class = &omap54xx_mpu_bus_hwmod_class,
[all …]
Domap_hwmod_44xx_data.c66 .class = &omap44xx_dmm_hwmod_class,
87 .class = &omap44xx_l3_hwmod_class,
101 .class = &omap44xx_l3_hwmod_class,
114 .class = &omap44xx_l3_hwmod_class,
127 .class = &omap44xx_l3_hwmod_class,
149 .class = &omap44xx_l4_hwmod_class,
164 .class = &omap44xx_l4_hwmod_class,
177 .class = &omap44xx_l4_hwmod_class,
190 .class = &omap44xx_l4_hwmod_class,
211 .class = &omap44xx_mpu_bus_hwmod_class,
[all …]
Domap_hwmod.c268 if (!oh->class->sysc) { in _update_sysc_cache()
275 oh->_sysc_cache = omap_hwmod_read(oh, oh->class->sysc->sysc_offs); in _update_sysc_cache()
277 if (!(oh->class->sysc->sysc_flags & SYSC_NO_CACHE)) in _update_sysc_cache()
293 if (!oh->class->sysc) { in _write_sysconfig()
302 omap_hwmod_write(v, oh, oh->class->sysc->sysc_offs); in _write_sysconfig()
321 if (!oh->class->sysc || in _set_master_standbymode()
322 !(oh->class->sysc->sysc_flags & SYSC_HAS_MIDLEMODE)) in _set_master_standbymode()
325 if (!oh->class->sysc->sysc_fields) { in _set_master_standbymode()
330 mstandby_shift = oh->class->sysc->sysc_fields->midle_shift; in _set_master_standbymode()
354 if (!oh->class->sysc || in _set_slave_idlemode()
[all …]
Domap_hwmod_3xxx_data.c66 .class = &l3_hwmod_class,
74 .class = &l4_hwmod_class,
81 .class = &l4_hwmod_class,
88 .class = &l4_hwmod_class,
95 .class = &l4_hwmod_class,
108 .class = &mpu_hwmod_class,
121 .class = &iva_hwmod_class,
149 .class = &omap3xxx_debugss_hwmod_class,
214 .class = &omap3xxx_timer_hwmod_class,
232 .class = &omap3xxx_timer_hwmod_class,
[all …]
Domap_hwmod_2430_data.c54 .class = &iva_hwmod_class,
106 .class = &i2c_class,
124 .class = &i2c_class,
142 .class = &omap2xxx_gpio_hwmod_class,
155 .class = &omap2xxx_dma_hwmod_class,
165 .class = &omap2xxx_mailbox_hwmod_class,
195 .class = &omap2xxx_mcspi_class,
230 .class = &usbotg_class,
266 .class = &omap2430_mcbsp_hwmod_class,
284 .class = &omap2430_mcbsp_hwmod_class,
[all …]
Domap_hwmod_33xx_data.c53 .class = &am33xx_emif_hwmod_class,
68 .class = &am33xx_l4_hwmod_class,
87 .class = &am33xx_wkup_m3_hwmod_class,
124 .class = &am33xx_adc_tsc_hwmod_class,
157 .class = &am33xx_cefuse_hwmod_class,
177 .class = &am33xx_clkdiv32k_hwmod_class,
195 .class = &am33xx_ocpwp_hwmod_class,
222 .class = &am33xx_debugss_hwmod_class,
237 .class = &am33xx_control_hwmod_class,
256 .class = &am33xx_gpio_hwmod_class,
[all …]
Dmcbsp.c69 if (oh->class->rev < MCBSP_CONFIG_TYPE2) { in omap_init_mcbsp()
76 if (oh->class->rev == MCBSP_CONFIG_TYPE2) { in omap_init_mcbsp()
79 } else if (oh->class->rev == MCBSP_CONFIG_TYPE3) { in omap_init_mcbsp()
86 } else if (oh->class->rev == MCBSP_CONFIG_TYPE4) { in omap_init_mcbsp()
91 if (oh->class->rev >= MCBSP_CONFIG_TYPE3) in omap_init_mcbsp()
Domap_hwmod_2420_data.c58 .class = &iva1_hwmod_class,
77 .class = &dsp_hwmod_class,
120 .class = &i2c_class,
143 .class = &i2c_class,
157 .class = &omap2xxx_dma_hwmod_class,
167 .class = &omap2xxx_mailbox_hwmod_class,
197 .class = &omap2420_mcbsp_hwmod_class,
215 .class = &omap2420_mcbsp_hwmod_class,
247 .class = &omap2420_msdi_hwmod_class,
274 .class = &omap2_hdq1w_class,
Di2c.c72 if (oh->class->rev == OMAP_I2C_IP_VERSION_2) { in omap_i2c_reset()
74 } else if (oh->class->rev == OMAP_I2C_IP_VERSION_1) { in omap_i2c_reset()
97 oh->class->sysc->syss_offs) in omap_i2c_reset()
166 pdata->rev = oh->class->rev; in omap_i2c_add_bus()
Dwd_timer.c88 oh->class->sysc->syss_offs) in omap2_wd_timer_reset()
92 if (oh->class->sysc->srst_udelay) in omap2_wd_timer_reset()
93 udelay(oh->class->sysc->srst_udelay); in omap2_wd_timer_reset()
Dsoc.h162 #define IS_OMAP_CLASS(class, id) \ argument
163 static inline int is_omap ##class (void) \
170 #define IS_AM_CLASS(class, id) \ argument
171 static inline int is_am ##class (void) \
178 #define IS_TI_CLASS(class, id) \ argument
179 static inline int is_ti ##class (void) \
/linux-4.1.27/arch/powerpc/include/asm/
Dspu_priv1.h32 void (*int_mask_and) (struct spu *spu, int class, u64 mask);
33 void (*int_mask_or) (struct spu *spu, int class, u64 mask);
34 void (*int_mask_set) (struct spu *spu, int class, u64 mask);
35 u64 (*int_mask_get) (struct spu *spu, int class);
36 void (*int_stat_clear) (struct spu *spu, int class, u64 stat);
37 u64 (*int_stat_get) (struct spu *spu, int class);
57 spu_int_mask_and (struct spu *spu, int class, u64 mask) in spu_int_mask_and() argument
59 spu_priv1_ops->int_mask_and(spu, class, mask); in spu_int_mask_and()
63 spu_int_mask_or (struct spu *spu, int class, u64 mask) in spu_int_mask_or() argument
65 spu_priv1_ops->int_mask_or(spu, class, mask); in spu_int_mask_or()
[all …]
/linux-4.1.27/arch/powerpc/perf/
Dmpc7450-pmu.c157 int pmc, class; in mpc7450_get_constraint() local
161 class = mpc7450_classify_event(event); in mpc7450_get_constraint()
162 if (class < 0) in mpc7450_get_constraint()
164 if (class == 4) { in mpc7450_get_constraint()
169 mask = classbits[class][0]; in mpc7450_get_constraint()
170 value = classbits[class][1]; in mpc7450_get_constraint()
269 int i, j, class, tuse; in mpc7450_compute_mmcr() local
281 class = mpc7450_classify_event(event[i]); in mpc7450_compute_mmcr()
282 if (class < 0) in mpc7450_compute_mmcr()
284 j = n_classevent[class]++; in mpc7450_compute_mmcr()
[all …]
/linux-4.1.27/arch/powerpc/platforms/cell/
Dspu_priv1_mmio.c39 static void int_mask_and(struct spu *spu, int class, u64 mask) in int_mask_and() argument
43 old_mask = in_be64(&spu->priv1->int_mask_RW[class]); in int_mask_and()
44 out_be64(&spu->priv1->int_mask_RW[class], old_mask & mask); in int_mask_and()
47 static void int_mask_or(struct spu *spu, int class, u64 mask) in int_mask_or() argument
51 old_mask = in_be64(&spu->priv1->int_mask_RW[class]); in int_mask_or()
52 out_be64(&spu->priv1->int_mask_RW[class], old_mask | mask); in int_mask_or()
55 static void int_mask_set(struct spu *spu, int class, u64 mask) in int_mask_set() argument
57 out_be64(&spu->priv1->int_mask_RW[class], mask); in int_mask_set()
60 static u64 int_mask_get(struct spu *spu, int class) in int_mask_get() argument
62 return in_be64(&spu->priv1->int_mask_RW[class]); in int_mask_get()
[all …]
Dinterrupt.c66 unsigned char class = bits.class & 3; in iic_pending_to_hwnum() local
72 return (node << IIC_IRQ_NODE_SHIFT) | (class << 4) | unit; in iic_pending_to_hwnum()
253 unsigned int node, ext, unit, class; in iic_host_xlate() local
267 class = (intspec[0] >> 8) & 0xff; in iic_host_xlate()
276 if (unit == IIC_UNIT_IIC && class == 1) in iic_host_xlate()
280 (class << IIC_IRQ_CLASS_SHIFT) | unit; in iic_host_xlate()
/linux-4.1.27/drivers/char/agp/
Dsis-agp.c242 .class = (PCI_CLASS_BRIDGE_HOST << 8),
250 .class = (PCI_CLASS_BRIDGE_HOST << 8),
258 .class = (PCI_CLASS_BRIDGE_HOST << 8),
266 .class = (PCI_CLASS_BRIDGE_HOST << 8),
274 .class = (PCI_CLASS_BRIDGE_HOST << 8),
282 .class = (PCI_CLASS_BRIDGE_HOST << 8),
290 .class = (PCI_CLASS_BRIDGE_HOST << 8),
298 .class = (PCI_CLASS_BRIDGE_HOST << 8),
306 .class = (PCI_CLASS_BRIDGE_HOST << 8),
314 .class = (PCI_CLASS_BRIDGE_HOST << 8),
[all …]
Damd64-agp.c615 .class = (PCI_CLASS_BRIDGE_HOST << 8),
624 .class = (PCI_CLASS_BRIDGE_HOST << 8),
633 .class = (PCI_CLASS_BRIDGE_HOST << 8),
642 .class = (PCI_CLASS_BRIDGE_HOST << 8),
651 .class = (PCI_CLASS_BRIDGE_HOST << 8),
660 .class = (PCI_CLASS_BRIDGE_HOST << 8),
669 .class = (PCI_CLASS_BRIDGE_HOST << 8),
678 .class = (PCI_CLASS_BRIDGE_HOST << 8),
687 .class = (PCI_CLASS_BRIDGE_HOST << 8),
695 .class = (PCI_CLASS_BRIDGE_HOST << 8),
[all …]
/linux-4.1.27/scripts/kconfig/
Dqconf.h27 class ConfigView;
28 class ConfigList;
29 class ConfigItem;
30 class ConfigLineEdit;
31 class ConfigMainWindow;
33 class ConfigSettings : public QSettings {
50 class ConfigList : public Q3ListView {
52 typedef class Q3ListView Parent;
122 template <class P>
144 class ConfigItem : public Q3ListViewItem {
[all …]
/linux-4.1.27/Documentation/ABI/stable/
Dsysfs-class-ubi1 What: /sys/class/ubi/
6 The ubi/ class sub-directory belongs to the UBI subsystem and
10 What: /sys/class/ubi/version
23 What: /sys/class/ubiX/
28 The /sys/class/ubi0, /sys/class/ubi1, etc directories describe
33 What: /sys/class/ubi/ubiX/avail_eraseblocks
42 What: /sys/class/ubi/ubiX/bad_peb_count
49 What: /sys/class/ubi/ubiX/bgt_enabled
57 What: /sys/class/ubi/ubiX/dev
65 What: /sys/class/ubi/ubiX/eraseblock_size
[all …]
Dsysfs-class-rfkill5 For the deprecated /sys/class/rfkill/*/state and
6 /sys/class/rfkill/*/claim knobs of this interface look in
7 Documentation/ABI/obsolete/sysfs-class-rfkill.
9 What: /sys/class/rfkill
13 Description: The rfkill class subsystem folder.
18 What: /sys/class/rfkill/rfkill[0-9]+/name
26 What: /sys/class/rfkill/rfkill[0-9]+/type
34 What: /sys/class/rfkill/rfkill[0-9]+/persistent
45 What: /sys/class/rfkill/rfkill[0-9]+/hard
58 What: /sys/class/rfkill/rfkill[0-9]+/soft
Dsysfs-class-udc1 What: /sys/class/udc/<udc>/a_alt_hnp_support
9 What: /sys/class/udc/<udc>/a_hnp_support
17 What: /sys/class/udc/<udc>/b_hnp_enable
25 What: /sys/class/udc/<udc>/current_speed
33 What: /sys/class/udc/<udc>/is_a_peripheral
42 What: /sys/class/udc/<udc>/is_otg
50 What: /sys/class/udc/<udc>/maximum_speed
58 What: /sys/class/udc/<udc>/maximum_speed
66 What: /sys/class/udc/<udc>/soft_connect
75 What: /sys/class/udc/<udc>/srp
[all …]
Dsysfs-driver-ib_srp1 What: /sys/class/infiniband_srp/srp-<hca>-<port_number>/add_target
28 * io_class, a hexadecimal number specifying the SRP I/O class.
30 class defines the format of the SRP initiator and target
71 What: /sys/class/infiniband_srp/srp-<hca>-<port_number>/ibdev
77 What: /sys/class/infiniband_srp/srp-<hca>-<port_number>/port
83 What: /sys/class/scsi_host/host<n>/allow_ext_sg
91 What: /sys/class/scsi_host/host<n>/ch_count
98 What: /sys/class/scsi_host/host<n>/cmd_sg_entries
105 What: /sys/class/scsi_host/host<n>/comp_vector
111 What: /sys/class/scsi_host/host<n>/dgid
[all …]
Dsysfs-transport-srp1 What: /sys/class/srp_remote_ports/port-<h>:<n>/delete
8 What: /sys/class/srp_remote_ports/port-<h>:<n>/dev_loss_tmo
17 What: /sys/class/srp_remote_ports/port-<h>:<n>/fast_io_fail_tmo
26 What: /sys/class/srp_remote_ports/port-<h>:<n>/port_id
33 What: /sys/class/srp_remote_ports/port-<h>:<n>/reconnect_delay
41 What: /sys/class/srp_remote_ports/port-<h>:<n>/roles
47 What: /sys/class/srp_remote_ports/port-<h>:<n>/state
Dsysfs-class-backlight1 What: /sys/class/backlight/<backlight>/bl_power
11 What: /sys/class/backlight/<backlight>/brightness
22 What: /sys/class/backlight/<backlight>/actual_brightness
30 What: /sys/class/backlight/<backlight>/max_brightness
38 What: /sys/class/backlight/<backlight>/type
Dsysfs-class-tpm1 What: /sys/class/tpm/tpmX/device/
9 What: /sys/class/tpm/tpmX/device/active
21 What: /sys/class/tpm/tpmX/device/cancel
29 What: /sys/class/tpm/tpmX/device/caps
46 What: /sys/class/tpm/tpmX/device/durations
69 What: /sys/class/tpm/tpmX/device/enabled
78 What: /sys/class/tpm/tpmX/device/owned
86 What: /sys/class/tpm/tpmX/device/pcrs
109 What: /sys/class/tpm/tpmX/device/pubek
161 What: /sys/class/tpm/tpmX/device/temp_deactivated
[all …]
/linux-4.1.27/drivers/net/fddi/skfp/
Dqueue.c42 void queue_event(struct s_smc *smc, int class, int event) in queue_event() argument
44 PRINTF("queue class %d event %d\n",class,event) ; in queue_event()
45 smc->q.ev_put->class = class ; in queue_event()
76 int class ; in ev_dispatcher() local
81 PRINTF("dispatch class %d event %d\n",ev->class,ev->event) ; in ev_dispatcher()
82 switch(class = ev->class) { in ev_dispatcher()
103 if (class >= EVENT_PCMA && in ev_dispatcher()
104 class < EVENT_PCMA + NUMPHYS) { in ev_dispatcher()
105 pcm(smc,class - EVENT_PCMA,(int)ev->event) ; in ev_dispatcher()
/linux-4.1.27/Documentation/leds/
Dleds-lm3556.txt21 LM3556 Flash can be controlled through sys/class/leds/flash/brightness file
26 OFF : #echo 0 > sys/class/leds/flash/brightness
27 93.75 mA: #echo 1 > sys/class/leds/flash/brightness
29 1500 mA: #echo 16 > sys/class/leds/flash/brightness
35 LM3556 torch can be controlled through sys/class/leds/torch/brightness file.
40 OFF : #echo 0 > sys/class/leds/torch/brightness
41 46.88 mA: #echo 1 > sys/class/leds/torch/brightness
43 375 mA : #echo 8 > sys/class/leds/torch/brightness
46 Indicator pattern can be set through sys/class/leds/indicator/pattern file,
54 pattern 0: #echo 0 > sys/class/leds/indicator/pattern
[all …]
Dleds-lp55xx.txt12 Create LED class devices for multiple output channels
82 echo 1 > /sys/class/firmware/lp5521/loading
83 echo "4000600040FF6000" > /sys/class/firmware/lp5521/data
84 echo 0 > /sys/class/firmware/lp5521/loading
90 echo 1 > /sys/class/firmware/lp55231/loading
91 echo "9d0740ff7e0040007e00a0010000" > /sys/class/firmware/lp55231/data
92 echo 0 > /sys/class/firmware/lp55231/loading
99 echo $idx > /sys/class/leds/red/device/select_engine
101 echo 1 > /sys/class/firmware/lp5521/loading
102 echo "4000600040FF6000" > /sys/class/firmware/lp5521/data
[all …]
Dleds-class-flash.txt6 those modes are supported by LED class (see Documentation/leds/leds-class.txt)
7 and LED Flash class respectively. The torch mode related features are enabled
12 must be defined in the kernel config. A LED Flash class driver must be
16 (see Documentation/ABI/testing/sysfs-class-led-flash)
Dleds-lp5523.txt13 the led class control interface.
19 /sys/class/leds/R1 (name: 'R1')
20 /sys/class/leds/B1 (name: 'B1')
24 /sys/class/leds/RGB:channelN (label: 'RGB', N: 0 ~ 8)
28 /sys/class/leds/lp5523:channelN (N: 0 ~ 8)
40 cd /sys/class/leds/lp5523:channel2/device
55 /sys/class/leds/lp5523:channel2/led_current - RW
56 /sys/class/leds/lp5523:channel2/max_current - RO
Dleds-lp5562.txt11 LEDs can be controlled directly via the led class control interface.
43 echo 1 > /sys/class/firmware/lp5562/loading
44 echo "4000600040FF6000" > /sys/class/firmware/lp5562/data
45 echo 0 > /sys/class/firmware/lp5562/loading
51 echo 1 > /sys/class/firmware/lp5562/loading
52 echo "4000600040FF6000" > /sys/class/firmware/lp5562/data
53 echo 0 > /sys/class/firmware/lp5562/loading
Dleds-blinkm.txt14 a) LED class interface for use with triggers
20 $ ls -h /sys/class/leds/blinkm-6-*
21 /sys/class/leds/blinkm-6-9-blue:
24 /sys/class/leds/blinkm-6-9-green:
27 /sys/class/leds/blinkm-6-9-red:
Dleds-class.txt6 handled by the input subsystem and the led class is *not* needed.
8 In its simplest form, the LED class just allows control of LEDs from
9 userspace. LEDs appear in /sys/class/leds/. The maximum brightness of the
14 The class also introduces the optional concept of an LED trigger. A trigger
25 be specified via /sys/class/leds/<device>/delay_{on,off} in milliseconds.
31 is chosen (via /sys/class/leds/<device>/trigger). Trigger specific
32 parameters can appear in /sys/class/leds/<device> once a given trigger is
52 individual led class attributes. As a solution which doesn't incur as much
Dleds-lp5521.txt14 the led class control interface. Channels have generic names:
30 cd /sys/class/leds/lp5521:channel2/device
46 /sys/class/leds/lp5521:channel0/led_current - RW
47 /sys/class/leds/lp5521:channel0/max_current - RO
/linux-4.1.27/arch/alpha/kernel/
Derr_common.c95 if (header->class != EL_CLASS__HEADER) { in el_process_header_subpacket()
98 header->class, header->type); in el_process_header_subpacket()
133 header->class, header->type); in el_process_header_subpacket()
141 header->class, header->type); in el_process_header_subpacket()
161 for (; h && h->class != header->class; h = h->next); in el_process_subpacket_reg()
198 switch(header->class) { in el_process_subpacket()
210 header->class, header->type); in el_process_subpacket()
225 if (a->class == header->class && in el_annotate_subpacket()
251 for (err = 0; header && (header->class != EL_CLASS__TERMINATION); err++) in cdl_process_console_data_log()
286 if ((a->class == new->class && a->type == new->type) || in cdl_register_subpacket_annotation()
[all …]
Derr_ev7.c32 if (el_ptr->class != EL_CLASS__HEADER || in ev7_collect_logout_frame_subpackets()
45 if (el_ptr->class != EL_CLASS__PAL || in ev7_collect_logout_frame_subpackets()
64 if (subpacket->class != EL_CLASS__PAL) { in ev7_collect_logout_frame_subpackets()
67 err_print_prefix, subpacket->class, i); in ev7_collect_logout_frame_subpackets()
238 if (header->class != EL_CLASS__PAL) { in ev7_process_pal_subpacket()
241 header->class, header->type); in ev7_process_pal_subpacket()
Dpci.c64 dev->class = PCI_CLASS_BRIDGE_ISA << 8; in quirk_isa_bridge()
75 if (dev->class >> 8 == PCI_CLASS_STORAGE_IDE) { in quirk_cypress()
93 if (dev->class >> 8 == PCI_CLASS_BRIDGE_ISA) { in quirk_cypress()
109 unsigned int class = dev->class >> 8; in pcibios_fixup_final() local
111 if (class == PCI_CLASS_BRIDGE_ISA || class == PCI_CLASS_BRIDGE_EISA) { in pcibios_fixup_final()
248 (dev->class >> 8) == PCI_CLASS_BRIDGE_PCI) { in pcibios_fixup_bus()
Derr_impl.h18 u16 class; member
28 u16 class; member
/linux-4.1.27/Documentation/
Dvideo-output.txt6 The output sysfs class driver provides an abstract video output layer that
10 method for 'state' with output sysfs class. The user interface under sysfs is:
12 linux:/sys/class/video_output # tree .
17 | |-- subsystem -> ../../../class/video_output
22 | |-- subsystem -> ../../../class/video_output
27 | |-- subsystem -> ../../../class/video_output
32 |-- subsystem -> ../../../class/video_output
Djava.txt66 echo Usage: $0 class-file
76 # CLASS=Test.class
86 if [ "`basename $CLASS .class`" == "$FQCLASSN" ]; then
126 GOODNAME=$FQCLASSN.class
128 GOODNAME=$FQCLASSP/$FQCLASSN.class
137 # class is not in CLASSPATH, so prepend dir of class to CLASSPATH
153 * Extracts the class name from a Java class file; intended for use in a Java
364 Now simply chmod +x the .class, .jar and/or .html files you want to execute.
366 .class file into /usr/bin (or another place you like) omitting the .class
367 extension. The directory containing the original .class file will be
[all …]
Ddell_rbu.txt34 /sys/class/firmware/dell_rbu/loading
35 /sys/class/firmware/dell_rbu/data
63 This file is then copied to /sys/class/firmware/dell_rbu/data.
73 1) echo 1 > /sys/class/firmware/dell_rbu/loading
74 2) cp bios_image.hdr /sys/class/firmware/dell_rbu/data
75 3) echo 0 > /sys/class/firmware/dell_rbu/loading
77 The /sys/class/firmware/dell_rbu/ entries will remain till the following is
79 echo -1 > /sys/class/firmware/dell_rbu/loading
85 it will make the /sys/class/firmware/dell_rbu/ entries disappear.
Dsysfs-rules.txt38 There is no such thing like class-, bus-, physical devices,
103 /sys/block, /sys/class and /sys/bus. It is planned that these will
115 If /sys/subsystem exists, /sys/bus, /sys/class and /sys/block can be
121 Assuming /sys/class/<subsystem> and /sys/bus/<subsystem>, or
122 /sys/block and /sys/class/block are not interchangeable is a bug in
126 The converted block subsystem at /sys/class/block or
134 for the old layout, where class devices are not created in
141 Accessing /sys/class/net/eth0/device is a bug in the application.
143 Never depend on the class-specific links back to the /sys/class
145 that class devices are not created in /sys/devices. If a device
[all …]
/linux-4.1.27/lib/
Dglob.c72 char const *class = pat + inverted; in glob_match() local
73 unsigned char a = *class++; in glob_match()
86 if (class[0] == '-' && class[1] != ']') { in glob_match()
87 b = class[1]; in glob_match()
92 class += 2; in glob_match()
96 } while ((a = *class++) != ']'); in glob_match()
100 pat = class; in glob_match()
/linux-4.1.27/include/linux/
Ddevice.h37 struct class;
353 struct class { struct
364 void (*class_release)(struct class *class); argument
385 extern int __must_check __class_register(struct class *class, argument
387 extern void class_unregister(struct class *class);
391 #define class_register(class) \ argument
394 __class_register(class, &__key); \
406 struct class *class,
412 extern int class_for_each_device(struct class *class, struct device *start,
415 extern struct device *class_find_device(struct class *class,
[all …]
Dtransport_class.h19 struct class class; member
30 .class = { \
55 container_of(x, struct transport_class, class)
Dpci.h272 unsigned int class; /* 3 bytes: (base,sub,prog-if) */ member
719 .class = (dev_class), .class_mask = (dev_class_mask), \
859 struct pci_dev *pci_get_class(unsigned int class, struct pci_dev *from);
1173 unsigned int class, unsigned int class_mask,
1384 static inline struct pci_dev *pci_get_class(unsigned int class, in pci_get_class() argument
1528 u32 class; /* You can use PCI_ANY_ID here too */ member
1545 #define DECLARE_PCI_FIXUP_SECTION(section, name, vendor, device, class, \ argument
1549 = { vendor, device, class, class_shift, hook };
1551 #define DECLARE_PCI_FIXUP_CLASS_EARLY(vendor, device, class, \ argument
1554 hook, vendor, device, class, class_shift, hook)
[all …]
Dioprio.h16 #define IOPRIO_PRIO_VALUE(class, data) (((class) << IOPRIO_CLASS_SHIFT) | data) argument
Dlibata.h694 unsigned int class; /* ATA_DEV_xxx */ member
1119 extern int sata_std_hardreset(struct ata_link *link, unsigned int *class,
1514 static inline unsigned int ata_class_enabled(unsigned int class) in ata_class_enabled() argument
1516 return class == ATA_DEV_ATA || class == ATA_DEV_ATAPI || in ata_class_enabled()
1517 class == ATA_DEV_PMP || class == ATA_DEV_SEMB || in ata_class_enabled()
1518 class == ATA_DEV_ZAC; in ata_class_enabled()
1521 static inline unsigned int ata_class_disabled(unsigned int class) in ata_class_disabled() argument
1523 return class == ATA_DEV_ATA_UNSUP || class == ATA_DEV_ATAPI_UNSUP || in ata_class_disabled()
1524 class == ATA_DEV_PMP_UNSUP || class == ATA_DEV_SEMB_UNSUP; in ata_class_disabled()
1527 static inline unsigned int ata_class_absent(unsigned int class) in ata_class_absent() argument
[all …]
Dattribute_container.h20 struct class *class; member
/linux-4.1.27/arch/avr32/boards/merisc/
Dmerisc_sysfs.c21 static ssize_t merisc_model_show(struct class *class, char *buf) in merisc_model_show() argument
31 static ssize_t merisc_revision_show(struct class *class, char *buf) in merisc_revision_show() argument
47 struct class merisc_class = {
/linux-4.1.27/drivers/usb/core/
Dfile.c58 struct class *class; member
87 usb_class->class = class_create(THIS_MODULE, "usbmisc"); in init_usb_class()
88 if (IS_ERR(usb_class->class)) { in init_usb_class()
89 result = PTR_ERR(usb_class->class); in init_usb_class()
95 usb_class->class->devnode = usb_devnode; in init_usb_class()
104 class_destroy(usb_class->class); in release_usb_class()
200 intf->usb_dev = device_create(usb_class->class, &intf->dev, in usb_register_dev()
240 device_destroy(usb_class->class, MKDEV(USB_MAJOR, intf->minor)); in usb_deregister_dev()
Dhcd-pci.c53 return pdev->class == CL_OHCI || pdev->class == CL_UHCI; in is_ohci_or_uhci()
82 if (companion->class != CL_UHCI && companion->class != CL_OHCI && in for_each_companion()
83 companion->class != CL_EHCI) in for_each_companion()
140 if (is_ohci_or_uhci(pdev) && companion->class == CL_EHCI) { in non_ehci_add()
271 if (dev->class == CL_EHCI) { in usb_hcd_pci_probe()
350 if (dev->class == CL_EHCI) { in usb_hcd_pci_remove()
524 if (pci_dev->class == CL_EHCI && event != PM_EVENT_AUTO_RESUME) in resume_common()
/linux-4.1.27/Documentation/networking/
Dpolicy-routing.txt16 THROW - abort route lookup in this class.
20 (0 is reserved for "not specified class")
41 RTP_ROUTE - lookup in attached class
42 RTP_NAT - lookup in attached class and if a match is found,
44 RTP_MASQUERADE - lookup in attached class and if a match is found,
75 1. Just ignore classes. All the routes are put into MAIN class
76 (and/or into DEFAULT class).
111 iproute addrule class 253
112 iproute addrule class 252
113 iproute addrule class 251
[all …]
Dbatman-adv.txt34 # ls /sys/class/net/eth0/batman_adv/
49 # echo bat0 > /sys/class/net/eth0/batman_adv/mesh_iface
56 # cat /sys/class/net/eth0/batman_adv/iface_status
62 # echo none > /sys/class/net/eth0/batman_adv/mesh_iface
68 # ls /sys/class/net/bat0/mesh/
92 # cat /sys/class/net/bat0/mesh/orig_interval
97 # echo 3000 > /sys/class/net/bat0/mesh/orig_interval
163 /sys/class/net/bat0/mesh/log_level. e.g.
165 # echo 6 > /sys/class/net/bat0/mesh/log_level
/linux-4.1.27/drivers/isdn/sc/
Dmessage.c70 rspmsg->class, in receivemessage()
86 unsigned int class, in sendmessage() argument
120 sndmsg.class = class; in sendmessage()
161 sndmsg.class, in sendmessage()
171 unsigned char class, in send_and_receive() argument
188 retval = sendmessage(card, procid, type, class, code, link, in send_and_receive()
209 (sc_adapter[card]->async_msg.class == class) && in send_and_receive()
Dmessage.h40 && (mesg.class == cmRspClass##cx) \
48 && (mesg.class == ceRspClass##cx) \
214 unsigned char class; member
Dcard.h118 unsigned char class, unsigned char code,
123 unsigned int class, unsigned int code, unsigned int link,
/linux-4.1.27/Documentation/block/
Dioprio.txt20 IOPRIO_CLASS_RT: This is the realtime io class. This scheduling class is given
21 higher priority than any other in the system, processes from this class are
23 care, one io RT process can starve the entire system. Within the RT class,
24 there are 8 levels of class data that determine exactly how much time this
29 IOPRIO_CLASS_BE: This is the best-effort scheduling class, which is the default
30 for any process that hasn't set a specific io priority. The class data
36 IOPRIO_CLASS_IDLE: This is the idle scheduling class, processes running at this
37 level only get io time when no one else needs the disk. The idle class has no
38 class data, since it doesn't really apply here.
45 # ionice -c<class> -n<level> -p<pid>
[all …]
/linux-4.1.27/drivers/uwb/
Ddriver.c77 ssize_t beacon_timeout_ms_show(struct class *class, in beacon_timeout_ms_show() argument
85 ssize_t beacon_timeout_ms_store(struct class *class, in beacon_timeout_ms_store() argument
105 struct class uwb_rc_class = {
/linux-4.1.27/arch/powerpc/platforms/ps3/
Dspu.c479 static void int_mask_and(struct spu *spu, int class, u64 mask) in int_mask_and() argument
484 old_mask = spu_int_mask_get(spu, class); in int_mask_and()
485 spu_int_mask_set(spu, class, old_mask & mask); in int_mask_and()
488 static void int_mask_or(struct spu *spu, int class, u64 mask) in int_mask_or() argument
492 old_mask = spu_int_mask_get(spu, class); in int_mask_or()
493 spu_int_mask_set(spu, class, old_mask | mask); in int_mask_or()
496 static void int_mask_set(struct spu *spu, int class, u64 mask) in int_mask_set() argument
498 spu_pdata(spu)->cache.masks[class] = mask; in int_mask_set()
499 lv1_set_spe_interrupt_mask(spu_pdata(spu)->spe_id, class, in int_mask_set()
500 spu_pdata(spu)->cache.masks[class]); in int_mask_set()
[all …]
/linux-4.1.27/arch/frv/mb93090-mb00/
Dpci-frv.c154 int class = dev->class >> 8; in pcibios_assign_resources() local
157 if (!class || class == PCI_CLASS_BRIDGE_HOST) in pcibios_assign_resources()
166 if ((class == PCI_CLASS_STORAGE_IDE && idx < 4) || in pcibios_assign_resources()
167 (class == PCI_CLASS_DISPLAY_VGA && (r->flags & IORESOURCE_IO))) in pcibios_assign_resources()
/linux-4.1.27/Documentation/misc-devices/
Dc2port.txt52 # ls /sys/class/c2port/c2port0/
61 # echo 1 > /sys/class/c2port/c2port0/access
66 # cat /sys/class/c2port/c2port0/dev_id
68 # cat /sys/class/c2port/c2port0/rev_id
74 # echo 1 > /sys/class/c2port/c2port0/flash_access
78 # cat /sys/class/c2port/c2port0/flash_data > image
82 # echo 1 > /sys/class/c2port/c2port0/flash_erase
86 # cat image > /sys/class/c2port/c2port0/flash_data
90 # echo 1 > /sys/class/c2port/c2port0/reset
/linux-4.1.27/drivers/i2c/
Di2c-mux.c94 unsigned int class = 0; in i2c_mux_parent_classes() local
97 class |= parent->class; in i2c_mux_parent_classes()
101 return class; in i2c_mux_parent_classes()
107 unsigned int class, in i2c_add_mux_adapter() argument
150 if (i2c_mux_parent_classes(parent) & class) in i2c_add_mux_adapter()
155 priv->adap.class = class; in i2c_add_mux_adapter()
/linux-4.1.27/drivers/gpu/drm/
Ddrm_sysfs.c125 struct class *drm_sysfs_create(struct module *owner, char *name) in drm_sysfs_create()
127 struct class *class; in drm_sysfs_create() local
130 class = class_create(owner, name); in drm_sysfs_create()
131 if (IS_ERR(class)) { in drm_sysfs_create()
132 err = PTR_ERR(class); in drm_sysfs_create()
136 class->pm = &drm_class_dev_pm_ops; in drm_sysfs_create()
138 err = class_create_file(class, &class_attr_version.attr); in drm_sysfs_create()
142 class->devnode = drm_devnode; in drm_sysfs_create()
144 return class; in drm_sysfs_create()
147 class_destroy(class); in drm_sysfs_create()
[all …]
/linux-4.1.27/tools/testing/selftests/firmware/
Dfw_userhelper.sh12 OLD_TIMEOUT=$(cat /sys/class/firmware/timeout)
19 echo "$OLD_TIMEOUT" >/sys/class/firmware/timeout
58 echo 1 >/sys/class/firmware/timeout
69 echo 4 >/sys/class/firmware/timeout
Dfw_filesystem.sh12 OLD_TIMEOUT=$(cat /sys/class/firmware/timeout)
20 echo "$OLD_TIMEOUT" >/sys/class/firmware/timeout
29 echo 1 >/sys/class/firmware/timeout
/linux-4.1.27/drivers/pci/
Dpci-stub.c58 subdevice = PCI_ANY_ID, class = 0, class_mask = 0; in pci_stub_init() local
66 &class, &class_mask); in pci_stub_init()
76 vendor, device, subvendor, subdevice, class, class_mask); in pci_stub_init()
79 subvendor, subdevice, class, class_mask, 0); in pci_stub_init()
Dpci-driver.c54 unsigned int class, unsigned int class_mask, in pci_add_dynid() argument
67 dynid->id.class = class; in pci_add_dynid()
105 subdevice = PCI_ANY_ID, class = 0, class_mask = 0; in store_new_id() local
112 &class, &class_mask, &driver_data); in store_new_id()
125 pdev->class = class; in store_new_id()
152 class, class_mask, driver_data); in store_new_id()
173 subdevice = PCI_ANY_ID, class = 0, class_mask = 0; in store_remove_id() local
179 &class, &class_mask); in store_remove_id()
190 !((id->class ^ class) & class_mask)) { in store_remove_id()
776 if (pci_dev->class == PCI_CLASS_SERIAL_USB_EHCI) in pci_pm_suspend_noirq()
[all …]
Dprobe.c97 static struct class pcibus_class = {
690 child->dev.class = &pcibus_class; in pci_alloc_child_bus()
1085 u16 class; in pci_cfg_space_size() local
1087 class = dev->class >> 8; in pci_cfg_space_size()
1088 if (class == PCI_CLASS_BRIDGE_HOST) in pci_cfg_space_size()
1121 u32 class; in pci_setup_device() local
1152 pci_read_config_dword(dev, PCI_CLASS_REVISION, &class); in pci_setup_device()
1153 dev->revision = class & 0xff; in pci_setup_device()
1154 dev->class = class >> 8; /* upper 3 bytes */ in pci_setup_device()
1157 dev->vendor, dev->device, dev->hdr_type, dev->class); in pci_setup_device()
[all …]
/linux-4.1.27/drivers/hwmon/pmbus/
Dpmbus_core.c64 enum pmbus_sensor_classes class; /* sensor class */ member
446 if (sensor->class == PSC_VOLTAGE_OUT) { /* LINEAR16 */ in pmbus_reg2data_linear()
457 if (sensor->class != PSC_FAN) in pmbus_reg2data_linear()
461 if (sensor->class == PSC_POWER) in pmbus_reg2data_linear()
482 m = data->info->m[sensor->class]; in pmbus_reg2data_direct()
483 b = data->info->b[sensor->class]; in pmbus_reg2data_direct()
484 R = data->info->R[sensor->class]; in pmbus_reg2data_direct()
492 if (sensor->class != PSC_FAN) { in pmbus_reg2data_direct()
498 if (sensor->class == PSC_POWER) { in pmbus_reg2data_direct()
534 switch (data->info->format[sensor->class]) { in pmbus_reg2data()
[all …]
/linux-4.1.27/drivers/mmc/core/
Dsdio_bus.c45 sdio_config_attr(class, "0x%02x\n");
54 func->class, func->vendor, func->device); in modalias_show()
70 if (id->class != (__u8)SDIO_ANY_ID && id->class != func->class) in sdio_match_one()
87 while (ids->class || ids->vendor || ids->device) { in sdio_match_device()
114 "SDIO_CLASS=%02X", func->class)) in sdio_bus_uevent()
123 func->class, func->vendor, func->device)) in sdio_bus_uevent()
/linux-4.1.27/drivers/usb/
DMakefile38 obj-$(CONFIG_USB_ACM) += class/
39 obj-$(CONFIG_USB_PRINTER) += class/
40 obj-$(CONFIG_USB_WDM) += class/
41 obj-$(CONFIG_USB_TMC) += class/
/linux-4.1.27/net/netfilter/
Dnf_conntrack_expect.c56 master_help->expecting[exp->class]--; in nf_ct_unlink_expect_report()
229 return a->master == b->master && a->class == b->class && in expect_matches()
264 void nf_ct_expect_init(struct nf_conntrack_expect *exp, unsigned int class, in nf_ct_expect_init() argument
278 exp->class = class; in nf_ct_expect_init()
348 master_help->expecting[exp->class]++; in nf_ct_expect_insert()
359 helper->expect_policy[exp->class].timeout * HZ; in nf_ct_expect_insert()
375 if (exp->class == new->class) in evict_oldest_expect()
418 p = &helper->expect_policy[expect->class]; in __nf_ct_expect_check()
420 master_help->expecting[expect->class] >= p->max_expected) { in __nf_ct_expect_check()
422 if (master_help->expecting[expect->class] in __nf_ct_expect_check()
[all …]
/linux-4.1.27/kernel/trace/
Dtrace_event_perf.c119 ret = tp_event->class->reg(tp_event, TRACE_REG_PERF_REGISTER, NULL); in perf_trace_event_reg()
152 tp_event->class->reg(tp_event, TRACE_REG_PERF_UNREGISTER, NULL); in perf_trace_event_unreg()
176 return tp_event->class->reg(tp_event, TRACE_REG_PERF_OPEN, p_event); in perf_trace_event_open()
182 tp_event->class->reg(tp_event, TRACE_REG_PERF_CLOSE, p_event); in perf_trace_event_close()
216 tp_event->class && tp_event->class->reg && in perf_trace_init()
253 return tp_event->class->reg(tp_event, TRACE_REG_PERF_ADD, p_event); in perf_trace_add()
260 tp_event->class->reg(tp_event, TRACE_REG_PERF_DEL, p_event); in perf_trace_del()
Dtrace_events.c73 if (!event_call->class->get_fields) in trace_get_fields()
74 return &event_call->class->fields; in trace_get_fields()
75 return event_call->class->get_fields(event_call); in trace_get_fields()
138 if (WARN_ON(!call->class)) in trace_define_field()
264 call->class->probe, in ftrace_event_reg()
268 call->class->probe, in ftrace_event_reg()
275 call->class->perf_probe, in ftrace_event_reg()
279 call->class->perf_probe, in ftrace_event_reg()
351 call->class->reg(call, TRACE_REG_UNREGISTER, file); in __ftrace_event_enable_disable()
386 ret = call->class->reg(call, TRACE_REG_REGISTER, file); in __ftrace_event_enable_disable()
[all …]
/linux-4.1.27/Documentation/scsi/
Dhpsa.txt46 /sys/class/scsi_host/host*/rescan
47 /sys/class/scsi_host/host*/firmware_revision
48 /sys/class/scsi_host/host*/resettable
49 /sys/class/scsi_host/host*/transport_mode
63 root@host:/sys/class/scsi_host/host4# cat firmware_revision
84 /sys/class/scsi_disk/c:b:t:l/device/unique_id
85 /sys/class/scsi_disk/c:b:t:l/device/raid_level
86 /sys/class/scsi_disk/c:b:t:l/device/lunid
92 root@host:/sys/class/scsi_disk/4:0:0:0/device# cat unique_id
94 root@host:/sys/class/scsi_disk/4:0:0:0/device# cat lunid
[all …]
/linux-4.1.27/tools/usb/usbip/libsrc/
Dusbip_common.c262 void usbip_names_get_class(char *buff, size_t size, uint8_t class, in usbip_names_get_class() argument
267 if (class == 0 && subclass == 0 && protocol == 0) { in usbip_names_get_class()
268 snprintf(buff, size, "(Defined at Interface level) (%02x/%02x/%02x)", class, subclass, protocol); in usbip_names_get_class()
272 p = names_protocol(class, subclass, protocol); in usbip_names_get_class()
276 s = names_subclass(class, subclass); in usbip_names_get_class()
280 c = names_class(class); in usbip_names_get_class()
284 snprintf(buff, size, "%s / %s / %s (%02x/%02x/%02x)", c, s, p, class, subclass, protocol); in usbip_names_get_class()
Dnames.c55 struct class { struct
56 struct class *next; argument
97 static struct class *classes[HASHSZ] = { NULL, };
125 struct class *c; in names_class()
248 struct class *c; in new_class()
255 c = my_malloc(sizeof(struct class) + strlen(name)); in new_class()
/linux-4.1.27/drivers/base/power/
Dmain.c496 } else if (dev->class && dev->class->pm) { in device_resume_noirq()
498 callback = pm_noirq_op(dev->class->pm, state); in device_resume_noirq()
625 } else if (dev->class && dev->class->pm) { in device_resume_early()
627 callback = pm_late_early_op(dev->class->pm, state); in device_resume_early()
774 if (dev->class) { in device_resume()
775 if (dev->class->pm) { in device_resume()
777 callback = pm_op(dev->class->pm, state); in device_resume()
779 } else if (dev->class->resume) { in device_resume()
781 callback = dev->class->resume; in device_resume()
908 } else if (dev->class && dev->class->pm) { in device_complete()
[all …]
/linux-4.1.27/Documentation/sound/alsa/soc/
Doverview.txt55 * Codec class drivers: The codec class driver is platform independent and
57 definition and codec IO functions. This class extends to BT, FM and MODEM
58 ICs if required. Codec class drivers should be generic code that can run
61 * Platform class drivers: The platform class driver includes the audio DMA
65 * Machine class driver: The machine driver class acts as the glue that
/linux-4.1.27/drivers/acpi/acpica/
Dexresolv.c154 ref_type = stack_desc->reference.class; in acpi_ex_resolve_object_to_value()
390 switch (obj_desc->reference.class) { in acpi_ex_resolve_multiple()
396 if (obj_desc->reference.class == ACPI_REFCLASS_REFOF) { in acpi_ex_resolve_multiple()
470 class, in acpi_ex_resolve_multiple()
484 class, in acpi_ex_resolve_multiple()
513 obj_desc->reference.class)); in acpi_ex_resolve_multiple()
Dexresop.c149 if (op_info->class == AML_CLASS_UNKNOWN) { in acpi_ex_resolve_operands()
230 switch (obj_desc->reference.class) { in acpi_ex_resolve_operands()
249 class)); in acpi_ex_resolve_operands()
256 obj_desc->reference.class, in acpi_ex_resolve_operands()
337 && ((*stack_ptr)->reference.class == in acpi_ex_resolve_operands()
Dexstore.c155 switch (ref_desc->reference.class) { in acpi_ex_store()
181 acpi_ds_store_object_to_local(ref_desc->reference.class, in acpi_ex_store()
202 ref_desc->reference.class)); in acpi_ex_store()
257 source_desc->reference.class == ACPI_REFCLASS_TABLE) { in acpi_ex_store_object_to_index()
/linux-4.1.27/Documentation/locking/
Dlockdep-design.txt7 Lock-class
10 The basic object the validator operates upon is a 'class' of locks.
12 A class of locks is a group of locks that are logically the same with
15 struct is one class, while each inode has its own instantiation of that
16 lock class.
22 Unlike an lock instantiation, the lock-class itself never goes away: when
23 a lock-class is used for the first time after bootup it gets registered,
24 and all subsequent uses of that lock-class will be attached to this
25 lock-class.
30 The validator tracks lock-class usage history into 4n + 1 separate state bits:
[all …]
Dlockstat.txt58 These numbers are gathered per lock class, per read/write state (when
61 It also tracks 4 contention points per class. A contention point is a call site
87 03 class name con-bounces contentions waittime-min waittime-…
118 This excerpt shows the first two lock class statistics. Line 01 shows the
163 Line 48 shows statistics for the second subclass (/1) of &rq->lock class
/linux-4.1.27/drivers/pci/hotplug/
Dibmphp_pci.c84 u32 class; in ibmphp_configure_card() local
130 pci_bus_read_config_dword (ibmphp_pci_bus, devfn, PCI_CLASS_REVISION, &class); in ibmphp_configure_card()
132 class_code = class >> 24; in ibmphp_configure_card()
133 debug ("hrd_type = %x, class = %x, class_code %x\n", hdr_type, class, class_code); in ibmphp_configure_card()
134 class >>= 8; /* to take revision out, class = class.subclass.prog i/f */ in ibmphp_configure_card()
135 if (class == PCI_CLASS_NOT_DEFINED_VGA) { in ibmphp_configure_card()
139 } else if (class == PCI_CLASS_DISPLAY_VGA) { in ibmphp_configure_card()
146 …("single device case.... vendor id = %x, hdr_type = %x, class = %x\n", vendor_id, hdr_type, class); in ibmphp_configure_card()
182 class >>= 8; in ibmphp_configure_card()
183 if (class != PCI_CLASS_BRIDGE_PCI) { in ibmphp_configure_card()
[all …]
/linux-4.1.27/Documentation/extcon/
Dporting-android-switch-class42 With this changes, the ex-switch extcon class device works as it once
43 worked as switch class device. However, it will now have additional
46 /sys/class/switch/* will be symbolically linked to /sys/class/extcon/
117 If "CONFIG_ANDROID" is enabled, /sys/class/switch/* are created
118 as symbolic links to /sys/class/extcon/*.
120 The two files of switch class, name and state, are provided with
123 state ABI is same with switch class.
/linux-4.1.27/Documentation/ptp/
Dptp.txt10 A new class driver exports a kernel interface for specific clock
28 A PTP clock driver registers itself with the class driver. The
29 class driver handles all of the dealings with user space. The
31 programming the clock hardware. The clock driver notifies the class
35 The class driver supports multiple PTP clock drivers. In normal use
42 The class driver also creates a character device for each
69 class driver, since the lock may also be needed by the clock
/linux-4.1.27/drivers/parport/
Dprobe.c45 printk (": %s", classes[info->class].descr); in pretty_print()
46 if (info->class) in pretty_print()
96 info->class = i; in parse_data()
101 info->class = PARPORT_CLASS_OTHER; in parse_data()
124 if (info->class == PARPORT_CLASS_UNSPEC) in parse_data()
125 info->class = guessed_class; in parse_data()
/linux-4.1.27/drivers/platform/x86/
Dxo15-ebook.c93 char *name, *class; in ebook_switch_add() local
109 class = acpi_device_class(device); in ebook_switch_add()
118 sprintf(class, "%s/%s", XO15_EBOOK_CLASS, XO15_EBOOK_SUBCLASS); in ebook_switch_add()
163 .class = XO15_EBOOK_CLASS,
/linux-4.1.27/drivers/ata/
Dlibata-transport.c149 ata_bitfield_name_search(class, ata_class_names)
467 ata_dev_attr(class, class);
530 if (ata_dev->class == ATA_DEV_PMP) in show_ata_dev_id()
549 if (ata_dev->class != ATA_DEV_PMP) in show_ata_dev_gscr()
722 i->t.host_attrs.ac.class = &ata_port_class.class; in ata_attach_transport()
726 i->link_attr_cont.ac.class = &ata_link_class.class; in ata_attach_transport()
731 i->dev_attr_cont.ac.class = &ata_dev_class.class; in ata_attach_transport()
751 SETUP_DEV_ATTRIBUTE(class); in ata_attach_transport()
Dahci_xgene.c91 u32 class[MAX_AHCI_CHN_PERCTR]; /* tracking the class of device */ member
209 if (ctx->class[ap->port_no] == ATA_DEV_PMP) { in xgene_ahci_qc_issue()
397 static int xgene_ahci_hardreset(struct ata_link *link, unsigned int *class, in xgene_ahci_hardreset() argument
432 *class = ahci_dev_classify(ap); in xgene_ahci_hardreset()
458 static int xgene_ahci_pmp_softreset(struct ata_link *link, unsigned int *class, in xgene_ahci_pmp_softreset() argument
476 rc = ahci_do_softreset(link, class, pmp, deadline, ahci_check_ready); in xgene_ahci_pmp_softreset()
502 static int xgene_ahci_softreset(struct ata_link *link, unsigned int *class, in xgene_ahci_softreset() argument
527 rc = ahci_do_softreset(link, class, pmp, in xgene_ahci_softreset()
530 ctx->class[ap->port_no] = *class; in xgene_ahci_softreset()
531 if (*class != ATA_DEV_PMP) { in xgene_ahci_softreset()
/linux-4.1.27/arch/mips/include/asm/
Dmips_mt.h27 struct class;
28 extern struct class *mt_class;
/linux-4.1.27/arch/parisc/math-emu/
Dfpudispatch.c197 u_int class, subop; in fpudispatch() local
207 class = get_class(ir); in fpudispatch()
208 if (class == 1) { in fpudispatch()
217 if (FPUDEBUG) printk("class %d subop %d\n", class, subop); in fpudispatch()
222 return(decode_0c(ir,class,subop,fpregs)); in fpudispatch()
224 return(decode_0e(ir,class,subop,fpregs)); in fpudispatch()
252 u_int class, subop, major; in emfpudispatch() local
261 class = get_class(ir); in emfpudispatch()
262 if (class == 1) { in emfpudispatch()
272 return(decode_0c(ir,class,subop,fpregs)); in emfpudispatch()
[all …]
/linux-4.1.27/arch/x86/ia32/
DMakefile9 audit-class-$(CONFIG_AUDIT) := audit.o
10 obj-$(CONFIG_IA32_EMULATION) += $(audit-class-y)
/linux-4.1.27/arch/arm/kernel/
Dbios32.c156 dev->class &= 0xff; in pci_fixup_dec21285()
157 dev->class |= PCI_CLASS_BRIDGE_HOST << 8; in pci_fixup_dec21285()
175 if ((dev->class >> 8) != PCI_CLASS_STORAGE_IDE) in pci_fixup_ide_bases()
215 if ((dev->class >> 8) == PCI_CLASS_STORAGE_IDE) { in pci_fixup_cy82c693()
218 if (dev->class & 0x80) { /* primary */ in pci_fixup_cy82c693()
268 if ((dev->class >> 8) == PCI_CLASS_BRIDGE_HOST || in pci_fixup_it8152()
269 dev->class == 0x68000 || in pci_fixup_it8152()
270 dev->class == 0x80103) { in pci_fixup_it8152()
324 switch (dev->class >> 8) { in pcibios_fixup_bus()
/linux-4.1.27/drivers/i2c/muxes/
Di2c-mux-pca954x.c193 int num, force, class; in pca954x_probe() local
231 class = 0; /* no class by default */ in pca954x_probe()
236 class = pdata->modes[num].class; in pca954x_probe()
245 force, num, class, pca954x_select_chan, in pca954x_probe()
/linux-4.1.27/drivers/char/
Dsnsc_event.c188 int code, esp_code, src, class; in scdrv_dispatch_event() local
200 class = (code & EV_CLASS_MASK); in scdrv_dispatch_event()
202 if (class == EV_CLASS_PWRD_NOTIFY || code == ENV_PWRDN_PEND) { in scdrv_dispatch_event()
209 if (class == EV_CLASS_PWRD_NOTIFY) in scdrv_dispatch_event()
/linux-4.1.27/drivers/s390/char/
Dvmur.c48 static struct class *vmur_class;
647 switch (urd->class) { in verify_device()
680 switch (urd->class) { in get_file_reclen()
732 if (((accmode == O_RDONLY) && (urd->class != DEV_CLASS_UR_I)) || in ur_open()
733 ((accmode == O_WRONLY) && (urd->class != DEV_CLASS_UR_O))) { in ur_open()
734 TRACE("ur_open: unsupported dev class (%d)\n", urd->class); in ur_open()
850 urd->class = get_urd_class(urd); in ur_probe()
851 if (urd->class < 0) { in ur_probe()
852 rc = urd->class; in ur_probe()
855 if ((urd->class != DEV_CLASS_UR_I) && (urd->class != DEV_CLASS_UR_O)) { in ur_probe()
[all …]
/linux-4.1.27/tools/perf/Documentation/
Dasciidoc.conf77 <refmiscinfo class="source">perf</refmiscinfo>
78 <refmiscinfo class="version">{perf_version}</refmiscinfo>
79 <refmiscinfo class="manual">perf Manual</refmiscinfo>
/linux-4.1.27/drivers/firewire/
Dinit_ohci1394_dma.c273 u32 class; in init_ohci1394_dma_on_all_controllers() local
282 class = read_pci_config(num, slot, func, in init_ohci1394_dma_on_all_controllers()
284 if (class == 0xffffffff) in init_ohci1394_dma_on_all_controllers()
287 if (class>>8 != PCI_CLASS_SERIAL_FIREWIRE_OHCI) in init_ohci1394_dma_on_all_controllers()
/linux-4.1.27/arch/mips/pci/
Dfixup-cobalt.c43 (dev->class >> 8) == PCI_CLASS_MEMORY_OTHER) { in qube_raq_galileo_early_fixup()
45 dev->class = (PCI_CLASS_BRIDGE_HOST << 8) | (dev->class & 0xff); in qube_raq_galileo_early_fixup()
Dfixup-emma2rh.c75 dev->class &= 0xff; in emma2rh_pci_host_fixup()
76 dev->class |= PCI_CLASS_BRIDGE_HOST << 8; in emma2rh_pci_host_fixup()
/linux-4.1.27/drivers/acpi/
Dbutton.c92 .class = ACPI_BUTTON_CLASS,
352 char *name, *class; in acpi_button_add() local
368 class = acpi_device_class(device); in acpi_button_add()
374 sprintf(class, "%s/%s", in acpi_button_add()
380 sprintf(class, "%s/%s", in acpi_button_add()
385 sprintf(class, "%s/%s", in acpi_button_add()
/linux-4.1.27/drivers/xen/
Dxen-stub.c44 .class = ACPI_MEMORY_DEVICE_CLASS,
79 .class = ACPI_PROCESSOR_CLASS,
/linux-4.1.27/drivers/parisc/
DKconfig9 were also used in servers from the E-class to the K-class. They
17 The HP-PB bus was used in the Nova class and K-class servers.
44 older systems, including B/C/D/R class and 715/64, 715/80 and
93 present on B, C, J, L and N-class machines with 4-digit model
137 This has nothing to do with LED State support for A and E class.
147 class, and support for the GSP Virtual Front Panel (LED State and
149 N-class.
/linux-4.1.27/drivers/memstick/core/
Dmemstick.c37 && (id->class == card->id.class)) in memstick_dev_match()
74 if (add_uevent_var(env, "MEMSTICK_CLASS=%02X", card->id.class)) in memstick_uevent()
161 MEMSTICK_ATTR(class, "%02X");
189 static struct class memstick_host_class = {
343 card->id.class = id_reg.class; in h_memstick_read_dev_id()
455 card->id.type, card->id.category, card->id.class); in memstick_check()
499 host->dev.class = &memstick_host_class; in memstick_alloc_host()
/linux-4.1.27/drivers/rtc/
Drtc-core.h52 extern void __init rtc_sysfs_init(struct class *);
58 static inline void rtc_sysfs_init(struct class *rtc) in rtc_sysfs_init()
/linux-4.1.27/arch/x86/pci/
Dearly.c91 u32 class; in early_dump_pci_devices() local
94 class = read_pci_config(bus, slot, func, in early_dump_pci_devices()
96 if (class == 0xffffffff) in early_dump_pci_devices()
/linux-4.1.27/Documentation/cgroups/
Dnet_cls.txt5 tag network packets with a class identifier (classid).
33 tc class add dev eth0 parent 10: classid 10:1 htb rate 40mbit
34 - creating traffic class 10:1
/linux-4.1.27/Documentation/input/
Dedt-ft5x06.txt17 /sys/class/input/eventX/device/device/threshold:
20 /sys/class/input/eventX/device/device/gain:
24 /sys/class/input/eventX/device/device/offset:
27 /sys/class/input/eventX/device/device/report_rate:
/linux-4.1.27/Documentation/power/powercap/
Dpowercap.txt58 ?   ?   ??? subsystem -> ../../../../../../class/power_cap
75 ?   ?   ??? subsystem -> ../../../../../../class/power_cap
84 ?   ??? subsystem -> ../../../../../class/power_cap
111 ?   ?   ??? subsystem -> ../../../../../../class/power_cap
128 ?   ?   ??? subsystem -> ../../../../../../class/power_cap
137 ?   ??? subsystem -> ../../../../../class/power_cap
142 ??? subsystem -> ../../../../class/power_cap
163 cat /sys/class/power_cap/intel-rapl/intel-rapl:0/name
/linux-4.1.27/kernel/bpf/
Dverifier.c317 u8 class = BPF_CLASS(insn->code); in print_bpf_insn() local
319 if (class == BPF_ALU || class == BPF_ALU64) { in print_bpf_insn()
322 insn->code, class == BPF_ALU ? "(u32) " : "", in print_bpf_insn()
325 class == BPF_ALU ? "(u32) " : "", in print_bpf_insn()
329 insn->code, class == BPF_ALU ? "(u32) " : "", in print_bpf_insn()
332 class == BPF_ALU ? "(u32) " : "", in print_bpf_insn()
334 } else if (class == BPF_STX) { in print_bpf_insn()
349 } else if (class == BPF_ST) { in print_bpf_insn()
359 } else if (class == BPF_LDX) { in print_bpf_insn()
368 } else if (class == BPF_LD) { in print_bpf_insn()
[all …]
/linux-4.1.27/Documentation/firmware_class/
DREADME37 - /sys/class/firmware/xxx/{loading,data} appear.
40 - hotplug: echo 1 > /sys/class/firmware/xxx/loading
46 /sys/class/firmware/xxx/data
52 - hotplug: echo 0 > /sys/class/firmware/xxx/loading
83 - "echo -1 > /sys/class/firmware/xxx/loading" will cancel the load at
89 - There is also /sys/class/firmware/timeout which holds a timeout in
/linux-4.1.27/Documentation/fb/
Dfbcon.txt138 /sys/class/graphics/fbcon
186 echo 1 > sys/class/vtconsole/vtcon1/bind - attach framebuffer console to
188 echo 0 > sys/class/vtconsole/vtcon1/bind - detach framebuffer console from
218 echo 0 > /sys/class/vtconsole/vtcon1/bind
225 echo 1 > /sys/class/vtconsole/vtcon1/bind
256 echo 1 > /sys/class/vtconsole/vtcon1/bind
261 echo <ID> > /sys/class/tty/console/bind
273 echo 1 > /sys/class/vtconsole/vtcon1/bind
295 if test -x /sys/class/vtconsole/vtcon$i; then
296 if [ `cat /sys/class/vtconsole/vtcon$i/name | grep -c "frame buffer"` \
[all …]
/linux-4.1.27/drivers/media/usb/pvrusb2/
Dpvrusb2-sysfs.c84 struct class class; member
505 static void pvr2_sysfs_class_release(struct class *class) in pvr2_sysfs_class_release() argument
508 clp = container_of(class,struct pvr2_sysfs_class,class); in pvr2_sysfs_class_release()
646 class_dev->class = &class_ptr->class; in class_dev_create()
794 clp->class.name = "pvrusb2"; in pvr2_sysfs_class_create()
795 clp->class.class_release = pvr2_sysfs_class_release; in pvr2_sysfs_class_create()
796 clp->class.dev_release = pvr2_sysfs_release; in pvr2_sysfs_class_create()
797 if (class_register(&clp->class)) { in pvr2_sysfs_class_create()
810 class_unregister(&clp->class); in pvr2_sysfs_class_destroy()
/linux-4.1.27/drivers/scsi/
Dscsi_transport_sas.c324 if (shost->transportt->host_attrs.ac.class != in sas_host_match()
325 &sas_host_class.class) in sas_host_match()
684 if (shost->transportt->host_attrs.ac.class != in sas_phy_match()
685 &sas_host_class.class) in sas_phy_match()
850 if (shost->transportt->host_attrs.ac.class != in sas_port_match()
851 &sas_host_class.class) in sas_port_match()
1380 if (shost->transportt->host_attrs.ac.class != in sas_rphy_match()
1381 &sas_host_class.class) in sas_rphy_match()
1402 if (shost->transportt->host_attrs.ac.class != in sas_end_dev_match()
1403 &sas_host_class.class) in sas_end_dev_match()
[all …]
/linux-4.1.27/Documentation/power/
Dpower_supply_class.txt1 Linux power supply class
6 Power supply class used to represent battery, UPS, AC or DC power supply
18 Power supply class is extensible, and allows to define drivers own attributes.
33 Power supply class has predefined set of attributes, this eliminates code
34 duplication across drivers. Power supply class insist on reusing its
53 this class operates.
62 ~ of battery, this class distinguish these terms. Don't mix them! ~
168 For that case, power supply class implements notification mechanism for
203 A: Most likely, no. This class is designed to export properties which are
209 legacy APM API on top of power supply class, uses a simple heuristic of
Dcharger-manager.txt9 Charger Manager is a platform_driver with power-supply-class entries.
23 own power-supply-class and each power-supply-class can provide
26 shows combined information as a single power-supply-class.
117 : The power-supply-class name of the battery. Default is
119 at "/sys/class/power_supply/[psy_name]/".
156 : An array ending with NULL that has power-supply-class names of
157 chargers. Each power-supply-class should provide "PRESENT" (if
169 : Power-supply-class name of the fuel gauge.
/linux-4.1.27/include/linux/mmc/
Dsdio_func.h44 unsigned char class; /* standard interface class */ member
96 .class = SDIO_ANY_ID, \
108 .class = (dev_class), \
/linux-4.1.27/drivers/xen/xen-pciback/
Dconf_space_quirks.c24 !((id->class ^ dev->class) & id->class_mask)) in match_one_device()
107 quirk->devid.class = 0; in xen_pcibk_config_quirks_init()
/linux-4.1.27/Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/cpm/
Di2c.txt19 - linux,i2c-class : Can be used to override the i2c class. The class is used
/linux-4.1.27/Documentation/ide/
Dwarm-plug-howto.txt7 # echo -n "1" > /sys/class/ide_port/idex/delete_devices
11 # echo -n "1" > /sys/class/ide_port/idex/scan
/linux-4.1.27/Documentation/usb/
Dhotplug.txt9 to publish their device (and class) support to user utilities.
67 TYPE ... device class codes (decimal)
68 INTERFACE ... interface 0 class codes (decimal)
91 be used when matching a driver to a device or class of devices. The
100 USB_INTERFACE_INFO (class, subclass, protocol)
101 ... matching specified interface class info
102 USB_DEVICE_INFO (class, subclass, protocol)
103 ... matching specified device class info
/linux-4.1.27/drivers/remoteproc/
Dremoteproc_elf_loader.c48 char class; local
63 class = ehdr->e_ident[EI_CLASS];
64 if (class != ELFCLASS32) {
65 dev_err(dev, "Unsupported class: %d\n", class);
/linux-4.1.27/drivers/gpu/drm/radeon/
Dr600_dpm.c70 void r600_dpm_print_class_info(u32 class, u32 class2) in r600_dpm_print_class_info() argument
73 switch (class & ATOM_PPLIB_CLASSIFICATION_UI_MASK) { in r600_dpm_print_class_info()
89 if (((class & ~ATOM_PPLIB_CLASSIFICATION_UI_MASK) == 0) && in r600_dpm_print_class_info()
93 if (class & ATOM_PPLIB_CLASSIFICATION_BOOT) in r600_dpm_print_class_info()
95 if (class & ATOM_PPLIB_CLASSIFICATION_THERMAL) in r600_dpm_print_class_info()
97 if (class & ATOM_PPLIB_CLASSIFICATION_LIMITEDPOWERSOURCE) in r600_dpm_print_class_info()
99 if (class & ATOM_PPLIB_CLASSIFICATION_REST) in r600_dpm_print_class_info()
101 if (class & ATOM_PPLIB_CLASSIFICATION_FORCED) in r600_dpm_print_class_info()
103 if (class & ATOM_PPLIB_CLASSIFICATION_3DPERFORMANCE) in r600_dpm_print_class_info()
105 if (class & ATOM_PPLIB_CLASSIFICATION_OVERDRIVETEMPLATE) in r600_dpm_print_class_info()
[all …]
/linux-4.1.27/Documentation/infiniband/
Dsysfs.txt4 following files under /sys/class/infiniband/<device name>:
14 /sys/class/infiniband/mthca0/ports/1
15 /sys/class/infiniband/mthca0/ports/2
/linux-4.1.27/Documentation/thermal/
Dsysfs-api.txt41 /sys/class/thermal folder as thermal_zone[0-*]. It tries to bind all the
72 It deletes the corresponding entry form /sys/class/thermal folder and
80 to /sys/class/thermal/ folder as cooling_device[0-*]. It tries to bind itself
92 It deletes the corresponding entry form /sys/class/thermal folder and
165 Thermal sysfs attributes will be represented under /sys/class/thermal.
166 Hwmon sysfs I/F extension is also available under /sys/class/hwmon
170 /sys/class/thermal/thermal_zone[0-*]:
181 /sys/class/thermal/cooling_device[0-*]:
192 /sys/class/thermal/thermal_zone[0-*]:
199 class device and build the associated hwmon sysfs I/F for all the registered
[all …]
/linux-4.1.27/kernel/
Dauditfilter.c176 int __init audit_register_class(int class, unsigned *list) in audit_register_class() argument
189 if (class >= AUDIT_SYSCALL_CLASSES || classes[class]) { in audit_register_class()
193 classes[class] = p; in audit_register_class()
197 int audit_match_class(int class, unsigned syscall) in audit_match_class() argument
201 if (unlikely(class >= AUDIT_SYSCALL_CLASSES || !classes[class])) in audit_match_class()
203 return classes[class][AUDIT_WORD(syscall)] & AUDIT_BIT(syscall); in audit_match_class()
207 static inline int audit_match_class_bits(int class, u32 *mask) in audit_match_class_bits() argument
211 if (classes[class]) { in audit_match_class_bits()
213 if (mask[i] & classes[class][i]) in audit_match_class_bits()
293 __u32 *class; in audit_to_entry_common() local
[all …]
/linux-4.1.27/Documentation/zh_CN/
Dgpio.txt551 在/sys/class/gpio 中有 3 类入口:
563 /sys/class/gpio/
576 GPIO 信号的路径类似 /sys/class/gpio/gpio42/ (对于 GPIO #42 来说),
579 /sys/class/gpio/gpioN/
609 GPIO 控制器的路径类似 /sys/class/gpio/gpiochip42/ (对于从#42 GPIO
612 /sys/class/gpio/gpiochipN/
/linux-4.1.27/include/scsi/fc/
Dfc_encaps.h117 static inline enum fc_sof fc_sof_normal(enum fc_class class) in fc_sof_normal() argument
119 return class + FC_SOF_N3 - FC_SOF_I3; /* diff is always 8 */ in fc_sof_normal()
/linux-4.1.27/drivers/power/avs/
DKconfig2 bool "Adaptive Voltage Scaling class support"
12 Say Y here to enable Adaptive Voltage Scaling class support.
/linux-4.1.27/drivers/infiniband/core/
Dmad.c208 struct ib_mad_mgmt_class_table *class; in ib_register_mad_agent() local
388 class = port_priv->version[mad_reg_req-> in ib_register_mad_agent()
389 mgmt_class_version].class; in ib_register_mad_agent()
390 if (class) { in ib_register_mad_agent()
391 method = class->method_table[mgmt_class]; in ib_register_mad_agent()
1306 static int check_class_table(struct ib_mad_mgmt_class_table *class) in check_class_table() argument
1311 if (class->method_table[i]) in check_class_table()
1368 struct ib_mad_mgmt_class_table **class; in add_nonoui_reg_req() local
1373 class = &port_priv->version[mad_reg_req->mgmt_class_version].class; in add_nonoui_reg_req()
1374 if (!*class) { in add_nonoui_reg_req()
[all …]
/linux-4.1.27/net/ipv6/
Dxfrm6_state.c63 int class[XFRM_MAX_DEPTH]; in __xfrm6_sort() local
70 class[i] = c = cmp(src[i]); in __xfrm6_sort()
78 dst[count[class[i] - 1]++] = src[i]; in __xfrm6_sort()
/linux-4.1.27/net/bluetooth/
Dhci_sysfs.c8 static struct class *bt_class;
83 conn->dev.class = bt_class; in hci_conn_init_sysfs()
198 dev->class = bt_class; in hci_init_sysfs()
/linux-4.1.27/arch/arm/common/
Dit8152.c152 if ((dev->class >> 8) == PCI_CLASS_MULTIMEDIA_AUDIO) in it8152_pci_map_irq()
154 if ((dev->class >> 8) == PCI_CLASS_SERIAL_USB) in it8152_pci_map_irq()
156 if ((dev->class >> 8) == PCI_CLASS_SYSTEM_DMA) in it8152_pci_map_irq()
339 ((dev->class >> 8) == PCI_CLASS_SERIAL_USB)) in pcibios_set_master()
/linux-4.1.27/drivers/usb/host/
Dpci-quirks.c882 if (companion->class == PCI_CLASS_SERIAL_USB_EHCI && in usb_enable_intel_xhci_ports()
1075 if (pdev->class != PCI_CLASS_SERIAL_USB_UHCI && in quirk_usb_early_handoff()
1076 pdev->class != PCI_CLASS_SERIAL_USB_OHCI && in quirk_usb_early_handoff()
1077 pdev->class != PCI_CLASS_SERIAL_USB_EHCI && in quirk_usb_early_handoff()
1078 pdev->class != PCI_CLASS_SERIAL_USB_XHCI) in quirk_usb_early_handoff()
1086 if (pdev->class == PCI_CLASS_SERIAL_USB_UHCI) in quirk_usb_early_handoff()
1088 else if (pdev->class == PCI_CLASS_SERIAL_USB_OHCI) in quirk_usb_early_handoff()
1090 else if (pdev->class == PCI_CLASS_SERIAL_USB_EHCI) in quirk_usb_early_handoff()
1092 else if (pdev->class == PCI_CLASS_SERIAL_USB_XHCI) in quirk_usb_early_handoff()
/linux-4.1.27/drivers/video/fbdev/intelfb/
Dintelfb_i2c.c103 int class) in intelfb_setup_i2c_bus() argument
111 chan->adapter.class = class; in intelfb_setup_i2c_bus()
/linux-4.1.27/drivers/gpu/drm/tegra/
Dgr2d.c87 static int gr2d_is_addr_reg(struct device *dev, u32 class, u32 offset) in gr2d_is_addr_reg() argument
91 switch (class) { in gr2d_is_addr_reg()
173 gr2d->client.base.class = HOST1X_CLASS_GR2D; in gr2d_probe()
/linux-4.1.27/Documentation/ABI/obsolete/
Dsysfs-class-rfkill5 What: /sys/class/rfkill/rfkill[0-9]+/state
22 What: /sys/class/rfkill/rfkill[0-9]+/claim
/linux-4.1.27/drivers/iommu/
Diommu-sysfs.c40 static struct class iommu_class = {
71 dev->class = &iommu_class; in iommu_device_create()
/linux-4.1.27/arch/arm/mach-omap1/include/mach/
Dsoc.h96 #define IS_OMAP_CLASS(class, id) \ argument
97 static inline int is_omap ##class (void) \

1234567