/kernel/linux/linux-6.6/drivers/remoteproc/ |
H A D | remoteproc_sysfs.c | 51 if (sysfs_streq(buf, "enabled")) { in recovery_store() 55 } else if (sysfs_streq(buf, "disabled")) { in recovery_store() 57 } else if (sysfs_streq(buf, "recover")) { in recovery_store() 115 if (sysfs_streq(buf, "disabled")) { in coredump_store() 117 } else if (sysfs_streq(buf, "enabled")) { in coredump_store() 119 } else if (sysfs_streq(buf, "inline")) { in coredump_store() 196 if (sysfs_streq(buf, "start")) { in state_store() 200 } else if (sysfs_streq(buf, "stop")) { in state_store() 202 } else if (sysfs_streq(buf, "detach")) { in state_store()
|
/kernel/linux/linux-5.10/drivers/s390/net/ |
H A D | qeth_l2_sys.c | 81 if (sysfs_streq(buf, "primary")) in qeth_bridge_port_role_store() 83 else if (sysfs_streq(buf, "secondary")) in qeth_bridge_port_role_store() 85 else if (sysfs_streq(buf, "none")) in qeth_bridge_port_role_store() 203 if (sysfs_streq(buf, "none")) { in qeth_bridgeport_reflect_store() 206 } else if (sysfs_streq(buf, "primary")) { in qeth_bridgeport_reflect_store() 209 } else if (sysfs_streq(buf, "secondary")) { in qeth_bridgeport_reflect_store() 255 if (sysfs_streq(attr_name, "flooding")) in qeth_l2_vnicc_sysfs_attr_to_char() 257 else if (sysfs_streq(attr_name, "mcast_flooding")) in qeth_l2_vnicc_sysfs_attr_to_char() 259 else if (sysfs_streq(attr_name, "learning")) in qeth_l2_vnicc_sysfs_attr_to_char() 261 else if (sysfs_streq(attr_nam in qeth_l2_vnicc_sysfs_attr_to_char() [all...] |
H A D | qeth_core_sys.c | 199 if (sysfs_streq(buf, "prio_queueing_prec")) { in qeth_dev_prioqing_store() 202 } else if (sysfs_streq(buf, "prio_queueing_skb")) { in qeth_dev_prioqing_store() 205 } else if (sysfs_streq(buf, "prio_queueing_tos")) { in qeth_dev_prioqing_store() 208 } else if (sysfs_streq(buf, "prio_queueing_vlan")) { in qeth_dev_prioqing_store() 215 } else if (sysfs_streq(buf, "no_prio_queueing:0")) { in qeth_dev_prioqing_store() 218 } else if (sysfs_streq(buf, "no_prio_queueing:1")) { in qeth_dev_prioqing_store() 221 } else if (sysfs_streq(buf, "no_prio_queueing:2")) { in qeth_dev_prioqing_store() 224 } else if (sysfs_streq(buf, "no_prio_queueing:3")) { in qeth_dev_prioqing_store() 227 } else if (sysfs_streq(buf, "no_prio_queueing")) { in qeth_dev_prioqing_store() 445 if (sysfs_streq(bu in qeth_dev_isolation_store() [all...] |
H A D | qeth_l3_sys.c | 74 if (sysfs_streq(buf, "no_router")) { in qeth_l3_dev_route_store() 76 } else if (sysfs_streq(buf, "primary_connector")) { in qeth_l3_dev_route_store() 78 } else if (sysfs_streq(buf, "secondary_connector")) { in qeth_l3_dev_route_store() 80 } else if (sysfs_streq(buf, "primary_router")) { in qeth_l3_dev_route_store() 82 } else if (sysfs_streq(buf, "secondary_router")) { in qeth_l3_dev_route_store() 84 } else if (sysfs_streq(buf, "multicast_router")) { in qeth_l3_dev_route_store() 305 if (sysfs_streq(buf, "toggle")) { in qeth_l3_dev_ipato_enable_store() 345 if (sysfs_streq(buf, "toggle")) { in qeth_l3_dev_ipato_invert4_store() 515 if (sysfs_streq(buf, "toggle")) { in qeth_l3_dev_ipato_invert6_store()
|
/kernel/linux/linux-6.6/drivers/s390/net/ |
H A D | qeth_l2_sys.c | 81 if (sysfs_streq(buf, "primary")) in qeth_bridge_port_role_store() 83 else if (sysfs_streq(buf, "secondary")) in qeth_bridge_port_role_store() 85 else if (sysfs_streq(buf, "none")) in qeth_bridge_port_role_store() 203 if (sysfs_streq(buf, "none")) { in qeth_bridgeport_reflect_store() 206 } else if (sysfs_streq(buf, "primary")) { in qeth_bridgeport_reflect_store() 209 } else if (sysfs_streq(buf, "secondary")) { in qeth_bridgeport_reflect_store() 255 if (sysfs_streq(attr_name, "flooding")) in qeth_l2_vnicc_sysfs_attr_to_char() 257 else if (sysfs_streq(attr_name, "mcast_flooding")) in qeth_l2_vnicc_sysfs_attr_to_char() 259 else if (sysfs_streq(attr_name, "learning")) in qeth_l2_vnicc_sysfs_attr_to_char() 261 else if (sysfs_streq(attr_nam in qeth_l2_vnicc_sysfs_attr_to_char() [all...] |
H A D | qeth_core_sys.c | 199 if (sysfs_streq(buf, "prio_queueing_prec")) { in qeth_dev_prioqing_store() 202 } else if (sysfs_streq(buf, "prio_queueing_skb")) { in qeth_dev_prioqing_store() 205 } else if (sysfs_streq(buf, "prio_queueing_tos")) { in qeth_dev_prioqing_store() 208 } else if (sysfs_streq(buf, "prio_queueing_vlan")) { in qeth_dev_prioqing_store() 215 } else if (sysfs_streq(buf, "no_prio_queueing:0")) { in qeth_dev_prioqing_store() 218 } else if (sysfs_streq(buf, "no_prio_queueing:1")) { in qeth_dev_prioqing_store() 221 } else if (sysfs_streq(buf, "no_prio_queueing:2")) { in qeth_dev_prioqing_store() 224 } else if (sysfs_streq(buf, "no_prio_queueing:3")) { in qeth_dev_prioqing_store() 227 } else if (sysfs_streq(buf, "no_prio_queueing")) { in qeth_dev_prioqing_store() 439 if (sysfs_streq(bu in qeth_dev_isolation_store() [all...] |
H A D | qeth_l3_sys.c | 74 if (sysfs_streq(buf, "no_router")) { in qeth_l3_dev_route_store() 76 } else if (sysfs_streq(buf, "primary_connector")) { in qeth_l3_dev_route_store() 78 } else if (sysfs_streq(buf, "secondary_connector")) { in qeth_l3_dev_route_store() 80 } else if (sysfs_streq(buf, "primary_router")) { in qeth_l3_dev_route_store() 82 } else if (sysfs_streq(buf, "secondary_router")) { in qeth_l3_dev_route_store() 84 } else if (sysfs_streq(buf, "multicast_router")) { in qeth_l3_dev_route_store() 305 if (sysfs_streq(buf, "toggle")) { in qeth_l3_dev_ipato_enable_store() 345 if (sysfs_streq(buf, "toggle")) { in qeth_l3_dev_ipato_invert4_store() 501 if (sysfs_streq(buf, "toggle")) { in qeth_l3_dev_ipato_invert6_store()
|
/kernel/linux/linux-5.10/drivers/remoteproc/ |
H A D | remoteproc_sysfs.c | 51 if (sysfs_streq(buf, "enabled")) { in recovery_store() 55 } else if (sysfs_streq(buf, "disabled")) { in recovery_store() 57 } else if (sysfs_streq(buf, "recover")) { in recovery_store() 115 if (sysfs_streq(buf, "disabled")) { in coredump_store() 117 } else if (sysfs_streq(buf, "enabled")) { in coredump_store() 119 } else if (sysfs_streq(buf, "inline")) { in coredump_store() 227 if (sysfs_streq(buf, "start")) { in state_store() 234 } else if (sysfs_streq(buf, "stop")) { in state_store()
|
/kernel/linux/linux-5.10/drivers/regulator/ |
H A D | userspace-consumer.c | 59 * sysfs_streq() doesn't need the \n's, but we add them so the strings in reg_set_state() 62 if (sysfs_streq(buf, "enabled\n") || sysfs_streq(buf, "1")) in reg_set_state() 64 else if (sysfs_streq(buf, "disabled\n") || sysfs_streq(buf, "0")) in reg_set_state()
|
H A D | virtual.c | 238 * sysfs_streq() doesn't need the \n's, but we add them so the strings in set_mode() 241 if (sysfs_streq(buf, "fast\n")) in set_mode() 243 else if (sysfs_streq(buf, "normal\n")) in set_mode() 245 else if (sysfs_streq(buf, "idle\n")) in set_mode() 247 else if (sysfs_streq(buf, "standby\n")) in set_mode()
|
/kernel/linux/linux-5.10/drivers/base/power/ |
H A D | sysfs.c | 112 if (sysfs_streq(buf, ctrl_auto)) in control_store() 114 else if (sysfs_streq(buf, ctrl_on)) in control_store() 242 } else if (sysfs_streq(buf, "n/a")) { in pm_qos_resume_latency_us_store() 281 if (sysfs_streq(buf, "auto")) in pm_qos_latency_tolerance_us_store() 283 else if (sysfs_streq(buf, "any")) in pm_qos_latency_tolerance_us_store() 338 if (sysfs_streq(buf, _enabled)) in wakeup_store() 340 else if (sysfs_streq(buf, _disabled)) in wakeup_store() 599 if (sysfs_streq(buf, _enabled)) in async_store() 601 else if (sysfs_streq(buf, _disabled)) in async_store()
|
/kernel/linux/linux-5.10/drivers/most/ |
H A D | configfs.c | 170 if (!sysfs_streq(page, "dir_rx") && !sysfs_streq(page, "rx") && in mdev_link_direction_store() 171 !sysfs_streq(page, "dir_tx") && !sysfs_streq(page, "tx")) in mdev_link_direction_store() 188 if (!sysfs_streq(page, "control") && !sysfs_streq(page, "async") && in mdev_link_datatype_store() 189 !sysfs_streq(page, "sync") && !sysfs_streq(page, "isoc") && in mdev_link_datatype_store() 190 !sysfs_streq(page, "isoc_avp")) in mdev_link_datatype_store()
|
/kernel/linux/linux-6.6/drivers/most/ |
H A D | configfs.c | 170 if (!sysfs_streq(page, "dir_rx") && !sysfs_streq(page, "rx") && in mdev_link_direction_store() 171 !sysfs_streq(page, "dir_tx") && !sysfs_streq(page, "tx")) in mdev_link_direction_store() 188 if (!sysfs_streq(page, "control") && !sysfs_streq(page, "async") && in mdev_link_datatype_store() 189 !sysfs_streq(page, "sync") && !sysfs_streq(page, "isoc") && in mdev_link_datatype_store() 190 !sysfs_streq(page, "isoc_avp")) in mdev_link_datatype_store()
|
/kernel/linux/linux-6.6/drivers/base/power/ |
H A D | sysfs.c | 112 if (sysfs_streq(buf, ctrl_auto)) in control_store() 114 else if (sysfs_streq(buf, ctrl_on)) in control_store() 242 } else if (sysfs_streq(buf, "n/a")) { in pm_qos_resume_latency_us_store() 281 if (sysfs_streq(buf, "auto")) in pm_qos_latency_tolerance_us_store() 283 else if (sysfs_streq(buf, "any")) in pm_qos_latency_tolerance_us_store() 338 if (sysfs_streq(buf, _enabled)) in wakeup_store() 340 else if (sysfs_streq(buf, _disabled)) in wakeup_store() 599 if (sysfs_streq(buf, _enabled)) in async_store() 601 else if (sysfs_streq(buf, _disabled)) in async_store()
|
/kernel/linux/linux-6.6/drivers/regulator/ |
H A D | userspace-consumer.c | 61 * sysfs_streq() doesn't need the \n's, but we add them so the strings in state_store() 64 if (sysfs_streq(buf, "enabled\n") || sysfs_streq(buf, "1")) in state_store() 66 else if (sysfs_streq(buf, "disabled\n") || sysfs_streq(buf, "0")) in state_store()
|
H A D | virtual.c | 239 * sysfs_streq() doesn't need the \n's, but we add them so the strings in set_mode() 242 if (sysfs_streq(buf, "fast\n")) in set_mode() 244 else if (sysfs_streq(buf, "normal\n")) in set_mode() 246 else if (sysfs_streq(buf, "idle\n")) in set_mode() 248 else if (sysfs_streq(buf, "standby\n")) in set_mode()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
H A D | dlpar.c | 411 if (sysfs_streq(arg, "memory")) { in dlpar_parse_resource() 413 } else if (sysfs_streq(arg, "cpu")) { in dlpar_parse_resource() 431 if (sysfs_streq(arg, "add")) { in dlpar_parse_action() 433 } else if (sysfs_streq(arg, "remove")) { in dlpar_parse_action() 452 if (sysfs_streq(arg, "indexed-count")) { in dlpar_parse_id_type() 478 } else if (sysfs_streq(arg, "index")) { in dlpar_parse_id_type() 492 } else if (sysfs_streq(arg, "count")) { in dlpar_parse_id_type()
|
/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/ |
H A D | dlpar.c | 412 if (sysfs_streq(arg, "memory")) { in dlpar_parse_resource() 414 } else if (sysfs_streq(arg, "cpu")) { in dlpar_parse_resource() 432 if (sysfs_streq(arg, "add")) { in dlpar_parse_action() 434 } else if (sysfs_streq(arg, "remove")) { in dlpar_parse_action() 453 if (sysfs_streq(arg, "indexed-count")) { in dlpar_parse_id_type() 479 } else if (sysfs_streq(arg, "index")) { in dlpar_parse_id_type() 493 } else if (sysfs_streq(arg, "count")) { in dlpar_parse_id_type()
|
/kernel/linux/linux-6.6/drivers/i2c/ |
H A D | i2c-core-of.c | 129 if (sysfs_streq(client->name, matches->compatible)) in i2c_of_match_device_sysfs() 138 if (sysfs_streq(client->name, name)) in i2c_of_match_device_sysfs()
|
/kernel/linux/linux-5.10/drivers/gpio/ |
H A D | gpiolib-sysfs.c | 87 if (sysfs_streq(buf, "high")) in direction_store() 89 else if (sysfs_streq(buf, "out") || sysfs_streq(buf, "low")) in direction_store() 91 else if (sysfs_streq(buf, "in")) in direction_store() 272 if (sysfs_streq(trigger_types[i].name, buf)) in edge_store()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_sysfs.c | 169 if (sysfs_streq(buf, "detect")) in status_store() 171 else if (sysfs_streq(buf, "on")) in status_store() 173 else if (sysfs_streq(buf, "on-digital")) in status_store() 175 else if (sysfs_streq(buf, "off")) in status_store()
|
H A D | drm_debugfs.c | 315 if (sysfs_streq(buf, "on")) in connector_write() 317 else if (sysfs_streq(buf, "digital")) in connector_write() 319 else if (sysfs_streq(buf, "off")) in connector_write() 321 else if (sysfs_streq(buf, "unspecified")) in connector_write()
|
/kernel/linux/linux-5.10/drivers/staging/greybus/ |
H A D | arche-apb-ctrl.c | 257 if (sysfs_streq(buf, "off")) { in state_store() 262 } else if (sysfs_streq(buf, "active")) { in state_store() 272 } else if (sysfs_streq(buf, "standby")) { in state_store() 277 } else if (sysfs_streq(buf, "fw_flashing")) { in state_store()
|
H A D | arche-platform.c | 316 if (sysfs_streq(buf, "off")) { in state_store() 325 } else if (sysfs_streq(buf, "active")) { in state_store() 340 } else if (sysfs_streq(buf, "standby")) { in state_store() 345 } else if (sysfs_streq(buf, "fw_flashing")) { in state_store()
|
/kernel/linux/linux-5.10/drivers/staging/iio/frequency/ |
H A D | ad9834.c | 235 if (sysfs_streq(buf, "sine")) { in ad9834_store_wavetype() 239 } else if (sysfs_streq(buf, "triangle")) { in ad9834_store_wavetype() 248 } else if (is_ad9833_7 && sysfs_streq(buf, "square")) { in ad9834_store_wavetype() 257 if (sysfs_streq(buf, "square") && in ad9834_store_wavetype()
|