/linux-4.19.296/drivers/s390/net/ |
D | qeth_l2_sys.c | 84 if (sysfs_streq(buf, "primary")) in qeth_bridge_port_role_store() 86 else if (sysfs_streq(buf, "secondary")) in qeth_bridge_port_role_store() 88 else if (sysfs_streq(buf, "none")) in qeth_bridge_port_role_store() 213 if (sysfs_streq(buf, "none")) { in qeth_bridgeport_reflect_store() 216 } else if (sysfs_streq(buf, "primary")) { in qeth_bridgeport_reflect_store() 219 } else if (sysfs_streq(buf, "secondary")) { in qeth_bridgeport_reflect_store() 292 if (sysfs_streq(attr_name, "flooding")) in qeth_l2_vnicc_sysfs_attr_to_char() 294 else if (sysfs_streq(attr_name, "mcast_flooding")) in qeth_l2_vnicc_sysfs_attr_to_char() 296 else if (sysfs_streq(attr_name, "learning")) in qeth_l2_vnicc_sysfs_attr_to_char() 298 else if (sysfs_streq(attr_name, "takeover_setvmac")) in qeth_l2_vnicc_sysfs_attr_to_char() [all …]
|
D | qeth_core_sys.c | 221 if (sysfs_streq(buf, "prio_queueing_prec")) { in qeth_dev_prioqing_store() 224 } else if (sysfs_streq(buf, "prio_queueing_skb")) { in qeth_dev_prioqing_store() 227 } else if (sysfs_streq(buf, "prio_queueing_tos")) { in qeth_dev_prioqing_store() 230 } else if (sysfs_streq(buf, "prio_queueing_vlan")) { in qeth_dev_prioqing_store() 237 } else if (sysfs_streq(buf, "no_prio_queueing:0")) { in qeth_dev_prioqing_store() 240 } else if (sysfs_streq(buf, "no_prio_queueing:1")) { in qeth_dev_prioqing_store() 243 } else if (sysfs_streq(buf, "no_prio_queueing:2")) { in qeth_dev_prioqing_store() 246 } else if (sysfs_streq(buf, "no_prio_queueing:3")) { in qeth_dev_prioqing_store() 253 } else if (sysfs_streq(buf, "no_prio_queueing")) { in qeth_dev_prioqing_store() 500 if (sysfs_streq(buf, ATTR_QETH_ISOLATION_NONE)) { in qeth_dev_isolation_store() [all …]
|
D | qeth_l3_sys.c | 77 if (sysfs_streq(buf, "no_router")) { in qeth_l3_dev_route_store() 79 } else if (sysfs_streq(buf, "primary_connector")) { in qeth_l3_dev_route_store() 81 } else if (sysfs_streq(buf, "secondary_connector")) { in qeth_l3_dev_route_store() 83 } else if (sysfs_streq(buf, "primary_router")) { in qeth_l3_dev_route_store() 85 } else if (sysfs_streq(buf, "secondary_router")) { in qeth_l3_dev_route_store() 87 } else if (sysfs_streq(buf, "multicast_router")) { in qeth_l3_dev_route_store() 365 if (sysfs_streq(buf, "toggle")) { in qeth_l3_dev_ipato_enable_store() 410 if (sysfs_streq(buf, "toggle")) { in qeth_l3_dev_ipato_invert4_store() 596 if (sysfs_streq(buf, "toggle")) { in qeth_l3_dev_ipato_invert6_store()
|
/linux-4.19.296/drivers/regulator/ |
D | userspace-consumer.c | 67 if (sysfs_streq(buf, "enabled\n") || sysfs_streq(buf, "1")) in reg_set_state() 69 else if (sysfs_streq(buf, "disabled\n") || sysfs_streq(buf, "0")) in reg_set_state()
|
D | virtual.c | 245 if (sysfs_streq(buf, "fast\n")) in set_mode() 247 else if (sysfs_streq(buf, "normal\n")) in set_mode() 249 else if (sysfs_streq(buf, "idle\n")) in set_mode() 251 else if (sysfs_streq(buf, "standby\n")) in set_mode()
|
/linux-4.19.296/drivers/base/power/ |
D | sysfs.c | 112 if (sysfs_streq(buf, ctrl_auto)) in control_store() 114 else if (sysfs_streq(buf, ctrl_on)) in control_store() 241 } else if (sysfs_streq(buf, "n/a")) { in pm_qos_resume_latency_us_store() 280 if (sysfs_streq(buf, "auto")) in pm_qos_latency_tolerance_us_store() 282 else if (sysfs_streq(buf, "any")) in pm_qos_latency_tolerance_us_store() 337 if (sysfs_streq(buf, _enabled)) in wakeup_store() 339 else if (sysfs_streq(buf, _disabled)) in wakeup_store() 552 if (sysfs_streq(buf, _enabled)) in async_store() 554 else if (sysfs_streq(buf, _disabled)) in async_store()
|
/linux-4.19.296/drivers/misc/mic/cosm/ |
D | cosm_sysfs.c | 112 if (sysfs_streq(buf, "boot")) { in state_store() 116 if (sysfs_streq(buf, "reset")) { in state_store() 121 if (sysfs_streq(buf, "shutdown")) { in state_store() 348 if (!sysfs_streq(buf, "linux") && !sysfs_streq(buf, "flash")) in bootmode_store()
|
/linux-4.19.296/drivers/base/ |
D | memory.c | 335 if (sysfs_streq(buf, "online_kernel")) in store_mem_state() 337 else if (sysfs_streq(buf, "online_movable")) in store_mem_state() 339 else if (sysfs_streq(buf, "online")) in store_mem_state() 341 else if (sysfs_streq(buf, "offline")) in store_mem_state() 482 if (sysfs_streq(buf, "online")) in store_auto_online_blocks() 484 else if (sysfs_streq(buf, "offline")) in store_auto_online_blocks()
|
D | bus.c | 359 return sysfs_streq(name, dev_name(dev)); in match_name()
|
/linux-4.19.296/drivers/gpio/ |
D | gpiolib-sysfs.c | 86 if (sysfs_streq(buf, "high")) in direction_store() 88 else if (sysfs_streq(buf, "out") || sysfs_streq(buf, "low")) in direction_store() 90 else if (sysfs_streq(buf, "in")) in direction_store() 271 if (sysfs_streq(trigger_types[i].name, buf)) in edge_store()
|
/linux-4.19.296/drivers/i2c/ |
D | i2c-core-of.c | 203 if (sysfs_streq(client->name, matches->compatible)) in i2c_of_match_device_sysfs() 212 if (sysfs_streq(client->name, name)) in i2c_of_match_device_sysfs()
|
/linux-4.19.296/drivers/misc/ |
D | spear13xx_pcie_gadget.c | 246 if (sysfs_streq(buf, "UP")) in pcie_gadget_link_store() 249 else if (sysfs_streq(buf, "DOWN")) in pcie_gadget_link_store() 270 if (sysfs_streq(buf, "INTA")) in pcie_gadget_int_type_store() 273 else if (sysfs_streq(buf, "MSI")) { in pcie_gadget_int_type_store()
|
D | ad525x_dpot.c | 455 if (sysfs_streq(buf, "enabled")) in sysfs_set_reg()
|
/linux-4.19.296/drivers/iio/ |
D | industrialio-core.c | 1314 if (sysfs_streq(buf, "realtime")) in iio_store_timestamp_clock() 1316 else if (sysfs_streq(buf, "monotonic")) in iio_store_timestamp_clock() 1318 else if (sysfs_streq(buf, "monotonic_raw")) in iio_store_timestamp_clock() 1320 else if (sysfs_streq(buf, "realtime_coarse")) in iio_store_timestamp_clock() 1322 else if (sysfs_streq(buf, "monotonic_coarse")) in iio_store_timestamp_clock() 1324 else if (sysfs_streq(buf, "boottime")) in iio_store_timestamp_clock() 1326 else if (sysfs_streq(buf, "tai")) in iio_store_timestamp_clock()
|
D | industrialio-trigger.c | 155 if (sysfs_streq(iter->name, name)) { in iio_trigger_acquire_by_name()
|
/linux-4.19.296/lib/ |
D | string.c | 674 bool sysfs_streq(const char *s1, const char *s2) in sysfs_streq() function 689 EXPORT_SYMBOL(sysfs_streq); 735 if (sysfs_streq(item, str)) in __sysfs_match_string()
|
/linux-4.19.296/drivers/pwm/ |
D | sysfs.c | 195 if (sysfs_streq(buf, "normal")) in polarity_store() 197 else if (sysfs_streq(buf, "inversed")) in polarity_store()
|
/linux-4.19.296/drivers/char/hw_random/ |
D | core.c | 330 if (sysfs_streq(buf, "")) { in hwrng_attr_current_store() 334 if (sysfs_streq(rng->name, buf)) { in hwrng_attr_current_store()
|
/linux-4.19.296/drivers/s390/block/ |
D | dasd_devmap.c | 1430 if (sysfs_streq("ignore", buf)) in dasd_reservation_policy_store() 1432 else if (sysfs_streq("fail", buf)) in dasd_reservation_policy_store() 1474 if (sysfs_streq("reset", buf)) in dasd_reservation_state_store()
|
/linux-4.19.296/include/linux/ |
D | string.h | 184 extern bool sysfs_streq(const char *s1, const char *s2);
|
/linux-4.19.296/drivers/media/rc/ |
D | rc-main.c | 1515 if (sysfs_streq(buf, "none")) { in store_wakeup_protocols() 1520 sysfs_streq(buf, protocols[i].name)) { in store_wakeup_protocols()
|