| /linux/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_name, "takeover_setvmac")) in qeth_l2_vnicc_sysfs_attr_to_char() [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()
|
| /linux/drivers/base/power/ |
| H A D | sysfs.c | 111 if (sysfs_streq(buf, ctrl_auto)) in control_store() 113 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() 599 if (sysfs_streq(buf, _enabled)) in async_store() 601 else if (sysfs_streq(buf, _disabled)) in async_store()
|
| /linux/arch/powerpc/platforms/pseries/ |
| H A D | dlpar.c | 654 if (sysfs_streq(arg, "memory")) { in dlpar_parse_resource() 656 } else if (sysfs_streq(arg, "cpu")) { in dlpar_parse_resource() 658 } else if (sysfs_streq(arg, "dt")) { in dlpar_parse_resource() 676 if (sysfs_streq(arg, "add")) { in dlpar_parse_action() 678 } else if (sysfs_streq(arg, "remove")) { in dlpar_parse_action() 697 if (sysfs_streq(arg, "indexed-count")) { in dlpar_parse_id_type() 723 } else if (sysfs_streq(arg, "index")) { in dlpar_parse_id_type() 737 } else if (sysfs_streq(arg, "count")) { in dlpar_parse_id_type()
|
| /linux/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()
|
| H A D | most_usb.c | 813 if (sysfs_streq(name, regs[i].name)) { in get_stat_reg_addr() 833 if (sysfs_streq(name, "arb_address")) in value_show() 836 if (sysfs_streq(name, "arb_value")) in value_show() 863 if (sysfs_streq(name, "arb_address")) { in value_store() 868 if (sysfs_streq(name, "arb_value")) in value_store() 870 else if (sysfs_streq(name, "sync_ep")) in value_store()
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_sysfs.c | 203 if (sysfs_streq(buf, "detect")) in status_store() 205 else if (sysfs_streq(buf, "on")) in status_store() 207 else if (sysfs_streq(buf, "on-digital")) in status_store() 209 else if (sysfs_streq(buf, "off")) in status_store()
|
| /linux/drivers/staging/iio/frequency/ |
| H A D | ad9834.c | 233 if (sysfs_streq(buf, "sine")) { in ad9834_store_wavetype() 237 } else if (sysfs_streq(buf, "triangle")) { in ad9834_store_wavetype() 246 } else if (is_ad9833_7 && sysfs_streq(buf, "square")) { in ad9834_store_wavetype() 255 if (sysfs_streq(buf, "square") && in ad9834_store_wavetype()
|
| /linux/drivers/hwmon/pmbus/ |
| H A D | inspur-ipsps.c | 140 if (sysfs_streq(MODE_STANDBY_STRING, buf)) { in ipsps_mode_store() 146 } else if (sysfs_streq(MODE_ACTIVE_STRING, buf)) { in ipsps_mode_store()
|
| /linux/drivers/leds/ |
| H A D | led-triggers.c | 52 if (sysfs_streq(buf, "none")) { in led_trigger_write() 57 if (sysfs_streq(buf, "default")) { in led_trigger_write() 64 if (sysfs_streq(buf, trig->name) && trigger_relevant(led_cdev, trig)) { in led_trigger_write()
|
| H A D | leds-lp5562.c | 322 if (sysfs_streq(buf, "RGB")) { in lp5562_store_engine_mux() 325 } else if (sysfs_streq(buf, "W")) { in lp5562_store_engine_mux()
|
| /linux/fs/smb/server/ |
| H A D | server.c | 456 if (!sysfs_streq(buf, "hard")) in kill_server_store() 497 if (sysfs_streq(buf, "all")) { in debug_store() 505 if (sysfs_streq(buf, debug_type_strings[i])) { in debug_store()
|
| /linux/drivers/gpu/drm/loongson/ |
| H A D | lsdc_crtc.c | 651 if (sysfs_streq(buf, "soft_reset")) in lsdc_crtc_man_op_write() 653 else if (sysfs_streq(buf, "enable")) in lsdc_crtc_man_op_write() 655 else if (sysfs_streq(buf, "disable")) in lsdc_crtc_man_op_write() 657 else if (sysfs_streq(buf, "flip")) in lsdc_crtc_man_op_write() 659 else if (sysfs_streq(buf, "clone")) in lsdc_crtc_man_op_write()
|
| /linux/drivers/infiniband/ulp/rtrs/ |
| H A D | rtrs-pri.h | 393 if (sysfs_streq(buf, "1")) \ 395 else if (sysfs_streq(buf, "0")) \
|
| /linux/drivers/block/rnbd/ |
| H A D | rnbd-clt-sysfs.c | 311 if (sysfs_streq(options, "normal")) { in rnbd_clt_unmap_dev_store() 313 } else if (sysfs_streq(options, "force")) { in rnbd_clt_unmap_dev_store() 412 if (!sysfs_streq(options, "1")) { in rnbd_clt_remap_dev_store()
|
| H A D | rnbd-srv-sysfs.c | 141 if (!sysfs_streq(buf, "1")) { in rnbd_srv_dev_session_force_close_store()
|
| /linux/lib/ |
| H A D | string_helpers.c | 890 bool sysfs_streq(const char *s1, const char *s2) in sysfs_streq() function 905 EXPORT_SYMBOL(sysfs_streq); 967 if (sysfs_streq(item, str)) in __sysfs_match_string()
|
| /linux/drivers/nvme/target/ |
| H A D | configfs.c | 90 if (sysfs_streq(page, nvmet_addr_family[i].name)) in nvmet_addr_adrfam_store() 196 if (sysfs_streq(page, nvmet_addr_treq[i].name)) in nvmet_addr_treq_store() 394 if (sysfs_streq(page, nvmet_transport[i].name)) in nvmet_addr_trtype_store() 448 if (sysfs_streq(page, nvmet_addr_tsas_rdma[i].name)) in nvmet_addr_tsas_rdma_store() 459 if (sysfs_streq(page, nvmet_addr_tsas_tcp[i].name)) in nvmet_addr_tsas_tcp_store() 1739 if (sysfs_streq(name, NVME_DISC_SUBSYS_NAME)) { in nvmet_subsys_make() 1744 if (sysfs_streq(name, nvmet_disc_subsys->subsysnqn)) { in nvmet_subsys_make() 1904 if (sysfs_streq(page, nvmet_ana_state[i].name)) in nvmet_ana_group_ana_state_store()
|
| /linux/drivers/watchdog/ |
| H A D | watchdog_pretimeout.c | 47 if (sysfs_streq(gov_name, priv->gov->name)) in find_governor_by_name()
|
| /linux/drivers/nvdimm/ |
| H A D | core.c | 433 if (sysfs_streq(buf, "live")) in activate_store() 435 else if (sysfs_streq(buf, "quiesce")) in activate_store()
|
| /linux/drivers/gpu/drm/amd/pm/ |
| H A D | amdgpu_pm.c | 247 if (sysfs_streq(buf, "battery")) in amdgpu_set_power_dpm_state() 249 else if (sysfs_streq(buf, "balanced")) in amdgpu_set_power_dpm_state() 251 else if (sysfs_streq(buf, "performance")) in amdgpu_set_power_dpm_state() 367 if (sysfs_streq(buf, "low")) in amdgpu_set_power_dpm_force_performance_level() 369 else if (sysfs_streq(buf, "high")) in amdgpu_set_power_dpm_force_performance_level() 371 else if (sysfs_streq(buf, "auto")) in amdgpu_set_power_dpm_force_performance_level() 373 else if (sysfs_streq(buf, "manual")) in amdgpu_set_power_dpm_force_performance_level() 375 else if (sysfs_streq(buf, "profile_exit")) in amdgpu_set_power_dpm_force_performance_level() 377 else if (sysfs_streq(buf, "profile_standard")) in amdgpu_set_power_dpm_force_performance_level() 379 else if (sysfs_streq(buf, "profile_min_sclk")) in amdgpu_set_power_dpm_force_performance_level() [all …]
|
| /linux/drivers/hwtracing/coresight/ |
| H A D | coresight-tmc-etr.c | 2062 if (sysfs_streq(buf, buf_modes_str[ETR_MODE_FLAT])) in buf_mode_preferred_store() 2064 else if (sysfs_streq(buf, buf_modes_str[ETR_MODE_ETR_SG]) && buf_hw.has_etr_sg) in buf_mode_preferred_store() 2066 else if (sysfs_streq(buf, buf_modes_str[ETR_MODE_CATU]) && buf_hw.has_catu) in buf_mode_preferred_store() 2068 else if (sysfs_streq(buf, buf_modes_str[ETR_MODE_RESRV]) && buf_hw.has_resrv) in buf_mode_preferred_store() 2070 else if (sysfs_streq(buf, buf_modes_str[ETR_MODE_AUTO])) in buf_mode_preferred_store()
|
| /linux/drivers/hid/ |
| H A D | hid-picolcd_core.c | 272 if (sysfs_streq(buf, "lcd")) { in picolcd_operation_mode_store() 275 } else if (sysfs_streq(buf, "bootloader")) { in picolcd_operation_mode_store()
|
| /linux/drivers/staging/iio/impedance-analyzer/ |
| H A D | ad5933.c | 405 if (sysfs_streq(buf, "1")) { in ad5933_store() 407 } else if (sysfs_streq(buf, "0.2")) { in ad5933_store()
|
| /linux/drivers/memory/ |
| H A D | dfl-emif.c | 82 if (!sysfs_streq(buf, "1")) in emif_clear_store()
|