Searched refs:sysfs_streq (Results 1 - 25 of 95) sorted by relevance

1234

/linux-master/drivers/s390/net/
H A Dqeth_l2_sys.c81 if (sysfs_streq(buf, "primary"))
83 else if (sysfs_streq(buf, "secondary"))
85 else if (sysfs_streq(buf, "none"))
203 if (sysfs_streq(buf, "none")) {
206 } else if (sysfs_streq(buf, "primary")) {
209 } else if (sysfs_streq(buf, "secondary")) {
255 if (sysfs_streq(attr_name, "flooding"))
257 else if (sysfs_streq(attr_name, "mcast_flooding"))
259 else if (sysfs_streq(attr_name, "learning"))
261 else if (sysfs_streq(attr_nam
[all...]
H A Dqeth_core_sys.c199 if (sysfs_streq(buf, "prio_queueing_prec")) {
202 } else if (sysfs_streq(buf, "prio_queueing_skb")) {
205 } else if (sysfs_streq(buf, "prio_queueing_tos")) {
208 } else if (sysfs_streq(buf, "prio_queueing_vlan")) {
215 } else if (sysfs_streq(buf, "no_prio_queueing:0")) {
218 } else if (sysfs_streq(buf, "no_prio_queueing:1")) {
221 } else if (sysfs_streq(buf, "no_prio_queueing:2")) {
224 } else if (sysfs_streq(buf, "no_prio_queueing:3")) {
227 } else if (sysfs_streq(buf, "no_prio_queueing")) {
439 if (sysfs_streq(bu
[all...]
H A Dqeth_l3_sys.c74 if (sysfs_streq(buf, "no_router")) {
76 } else if (sysfs_streq(buf, "primary_connector")) {
78 } else if (sysfs_streq(buf, "secondary_connector")) {
80 } else if (sysfs_streq(buf, "primary_router")) {
82 } else if (sysfs_streq(buf, "secondary_router")) {
84 } else if (sysfs_streq(buf, "multicast_router")) {
305 if (sysfs_streq(buf, "toggle")) {
345 if (sysfs_streq(buf, "toggle")) {
501 if (sysfs_streq(buf, "toggle")) {
/linux-master/drivers/remoteproc/
H A Dremoteproc_sysfs.c51 if (sysfs_streq(buf, "enabled")) {
55 } else if (sysfs_streq(buf, "disabled")) {
57 } else if (sysfs_streq(buf, "recover")) {
115 if (sysfs_streq(buf, "disabled")) {
117 } else if (sysfs_streq(buf, "enabled")) {
119 } else if (sysfs_streq(buf, "inline")) {
196 if (sysfs_streq(buf, "start")) {
200 } else if (sysfs_streq(buf, "stop")) {
202 } else if (sysfs_streq(buf, "detach")) {
/linux-master/drivers/regulator/
H A Duserspace-consumer.c61 * sysfs_streq() doesn't need the \n's, but we add them so the strings
64 if (sysfs_streq(buf, "enabled\n") || sysfs_streq(buf, "1"))
66 else if (sysfs_streq(buf, "disabled\n") || sysfs_streq(buf, "0"))
H A Dvirtual.c239 * sysfs_streq() doesn't need the \n's, but we add them so the strings
242 if (sysfs_streq(buf, "fast\n"))
244 else if (sysfs_streq(buf, "normal\n"))
246 else if (sysfs_streq(buf, "idle\n"))
248 else if (sysfs_streq(buf, "standby\n"))
/linux-master/arch/powerpc/platforms/pseries/
H A Ddlpar.c412 if (sysfs_streq(arg, "memory")) {
414 } else if (sysfs_streq(arg, "cpu")) {
432 if (sysfs_streq(arg, "add")) {
434 } else if (sysfs_streq(arg, "remove")) {
453 if (sysfs_streq(arg, "indexed-count")) {
479 } else if (sysfs_streq(arg, "index")) {
493 } else if (sysfs_streq(arg, "count")) {
/linux-master/drivers/base/power/
H A Dsysfs.c112 if (sysfs_streq(buf, ctrl_auto))
114 else if (sysfs_streq(buf, ctrl_on))
242 } else if (sysfs_streq(buf, "n/a")) {
281 if (sysfs_streq(buf, "auto"))
283 else if (sysfs_streq(buf, "any"))
338 if (sysfs_streq(buf, _enabled))
340 else if (sysfs_streq(buf, _disabled))
599 if (sysfs_streq(buf, _enabled))
601 else if (sysfs_streq(buf, _disabled))
/linux-master/drivers/most/
H A Dconfigfs.c170 if (!sysfs_streq(page, "dir_rx") && !sysfs_streq(page, "rx") &&
171 !sysfs_streq(page, "dir_tx") && !sysfs_streq(page, "tx"))
188 if (!sysfs_streq(page, "control") && !sysfs_streq(page, "async") &&
189 !sysfs_streq(page, "sync") && !sysfs_streq(page, "isoc") &&
190 !sysfs_streq(page, "isoc_avp"))
H A Dmost_usb.c813 if (sysfs_streq(name, regs[i].name)) {
833 if (sysfs_streq(name, "arb_address"))
836 if (sysfs_streq(name, "arb_value"))
863 if (sysfs_streq(name, "arb_address")) {
868 if (sysfs_streq(name, "arb_value"))
870 else if (sysfs_streq(name, "sync_ep"))
/linux-master/drivers/i2c/
H A Di2c-core-of.c129 if (sysfs_streq(client->name, matches->compatible))
138 if (sysfs_streq(client->name, name))
/linux-master/drivers/staging/greybus/
H A Darche-apb-ctrl.c257 if (sysfs_streq(buf, "off")) {
262 } else if (sysfs_streq(buf, "active")) {
272 } else if (sysfs_streq(buf, "standby")) {
277 } else if (sysfs_streq(buf, "fw_flashing")) {
H A Darche-platform.c315 if (sysfs_streq(buf, "off")) {
324 } else if (sysfs_streq(buf, "active")) {
339 } else if (sysfs_streq(buf, "standby")) {
344 } else if (sysfs_streq(buf, "fw_flashing")) {
/linux-master/drivers/gpu/drm/
H A Ddrm_sysfs.c200 if (sysfs_streq(buf, "detect"))
202 else if (sysfs_streq(buf, "on"))
204 else if (sysfs_streq(buf, "on-digital"))
206 else if (sysfs_streq(buf, "off"))
H A Ddrm_debugfs.c421 if (sysfs_streq(buf, "on"))
423 else if (sysfs_streq(buf, "digital"))
425 else if (sysfs_streq(buf, "off"))
427 else if (sysfs_streq(buf, "unspecified"))
/linux-master/drivers/staging/iio/frequency/
H A Dad9834.c234 if (sysfs_streq(buf, "sine")) {
238 } else if (sysfs_streq(buf, "triangle")) {
247 } else if (is_ad9833_7 && sysfs_streq(buf, "square")) {
256 if (sysfs_streq(buf, "square") &&
/linux-master/drivers/infiniband/ulp/rtrs/
H A Drtrs-pri.h381 if (sysfs_streq(buf, "1")) \
383 else if (sysfs_streq(buf, "0")) \
H A Drtrs-clt-sysfs.c227 if (!sysfs_streq(buf, "1")) {
256 if (!sysfs_streq(buf, "1")) {
284 if (!sysfs_streq(buf, "1")) {
/linux-master/drivers/bus/
H A Dbt1-axi.c221 if (sysfs_streq(data, "bus"))
223 else if (sysfs_streq(data, "unaligned"))
H A Dbt1-apb.c325 if (sysfs_streq(data, "nodev"))
327 else if (sysfs_streq(data, "irq"))
/linux-master/drivers/hwmon/pmbus/
H A Dinspur-ipsps.c140 if (sysfs_streq(MODE_STANDBY_STRING, buf)) {
146 } else if (sysfs_streq(MODE_ACTIVE_STRING, buf)) {
/linux-master/arch/arm64/kernel/
H A Dmte.c545 if (sysfs_streq(buf, "async"))
547 else if (sysfs_streq(buf, "sync"))
549 else if (cpus_have_cap(ARM64_MTE_ASYMM) && sysfs_streq(buf, "asymm"))
/linux-master/fs/smb/server/
H A Dserver.c455 if (!sysfs_streq(buf, "hard"))
496 if (sysfs_streq(buf, "all")) {
504 if (sysfs_streq(buf, debug_type_strings[i])) {
/linux-master/drivers/watchdog/
H A Dwatchdog_pretimeout.c45 if (sysfs_streq(gov_name, priv->gov->name))
/linux-master/drivers/gpio/
H A Dgpiolib-sysfs.c99 if (sysfs_streq(buf, "high"))
101 else if (sysfs_streq(buf, "out") || sysfs_streq(buf, "low"))
103 else if (sysfs_streq(buf, "in"))

Completed in 202 milliseconds

1234