/linux-4.4.14/drivers/s390/net/ |
D | qeth_l2_sys.c | 78 if (sysfs_streq(buf, "primary")) in qeth_bridge_port_role_store() 80 else if (sysfs_streq(buf, "secondary")) in qeth_bridge_port_role_store() 82 else if (sysfs_streq(buf, "none")) in qeth_bridge_port_role_store() 139 if (sysfs_streq(buf, "0")) in qeth_bridgeport_hostnotification_store() 141 else if (sysfs_streq(buf, "1")) in qeth_bridgeport_hostnotification_store() 194 if (sysfs_streq(buf, "none")) { in qeth_bridgeport_reflect_store() 197 } else if (sysfs_streq(buf, "primary")) { in qeth_bridgeport_reflect_store() 200 } else if (sysfs_streq(buf, "secondary")) { in qeth_bridgeport_reflect_store()
|
D | qeth_core_sys.c | 220 if (sysfs_streq(buf, "prio_queueing_prec")) { in qeth_dev_prioqing_store() 223 } else if (sysfs_streq(buf, "prio_queueing_skb")) { in qeth_dev_prioqing_store() 226 } else if (sysfs_streq(buf, "prio_queueing_tos")) { in qeth_dev_prioqing_store() 229 } else if (sysfs_streq(buf, "prio_queueing_vlan")) { in qeth_dev_prioqing_store() 236 } else if (sysfs_streq(buf, "no_prio_queueing:0")) { in qeth_dev_prioqing_store() 239 } else if (sysfs_streq(buf, "no_prio_queueing:1")) { in qeth_dev_prioqing_store() 242 } else if (sysfs_streq(buf, "no_prio_queueing:2")) { in qeth_dev_prioqing_store() 245 } else if (sysfs_streq(buf, "no_prio_queueing:3")) { in qeth_dev_prioqing_store() 248 } else if (sysfs_streq(buf, "no_prio_queueing")) { in qeth_dev_prioqing_store() 479 if (sysfs_streq(buf, ATTR_QETH_ISOLATION_NONE)) { in qeth_dev_isolation_store() [all …]
|
D | qeth_l3_sys.c | 63 if (sysfs_streq(buf, "no_router")) { in qeth_l3_dev_route_store() 65 } else if (sysfs_streq(buf, "primary_connector")) { in qeth_l3_dev_route_store() 67 } else if (sysfs_streq(buf, "secondary_connector")) { in qeth_l3_dev_route_store() 69 } else if (sysfs_streq(buf, "primary_router")) { in qeth_l3_dev_route_store() 71 } else if (sysfs_streq(buf, "secondary_router")) { in qeth_l3_dev_route_store() 73 } else if (sysfs_streq(buf, "multicast_router")) { in qeth_l3_dev_route_store() 383 if (sysfs_streq(buf, "toggle")) { in qeth_l3_dev_ipato_enable_store() 385 } else if (sysfs_streq(buf, "1")) { in qeth_l3_dev_ipato_enable_store() 394 } else if (sysfs_streq(buf, "0")) { in qeth_l3_dev_ipato_enable_store() 435 if (sysfs_streq(buf, "toggle")) in qeth_l3_dev_ipato_invert4_store() [all …]
|
/linux-4.4.14/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.4.14/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.4.14/drivers/staging/iio/frequency/ |
D | ad9834.c | 159 if (sysfs_streq(buf, "sine")) { in ad9834_store_wavetype() 163 } else if (sysfs_streq(buf, "triangle")) { in ad9834_store_wavetype() 172 } else if (is_ad9833_7 && sysfs_streq(buf, "square")) { in ad9834_store_wavetype() 181 if (sysfs_streq(buf, "square") && in ad9834_store_wavetype()
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_sysfs.c | 179 if (sysfs_streq(buf, "detect")) { in status_store() 182 } else if (sysfs_streq(buf, "on")) { in status_store() 184 } else if (sysfs_streq(buf, "on-digital")) { in status_store() 186 } else if (sysfs_streq(buf, "off")) { in status_store()
|
/linux-4.4.14/drivers/gpio/ |
D | gpiolib-sysfs.c | 84 if (sysfs_streq(buf, "high")) in direction_store() 86 else if (sysfs_streq(buf, "out") || sysfs_streq(buf, "low")) in direction_store() 88 else if (sysfs_streq(buf, "in")) in direction_store() 259 if (sysfs_streq(trigger_types[i].name, buf)) in edge_store()
|
/linux-4.4.14/drivers/base/ |
D | memory.c | 324 if (sysfs_streq(buf, "online_kernel")) in store_mem_state() 326 else if (sysfs_streq(buf, "online_movable")) in store_mem_state() 328 else if (sysfs_streq(buf, "online")) in store_mem_state() 330 else if (sysfs_streq(buf, "offline")) in store_mem_state()
|
D | bus.c | 359 return sysfs_streq(name, dev_name(dev)); in match_name()
|
/linux-4.4.14/drivers/pwm/ |
D | sysfs.c | 158 if (sysfs_streq(buf, "normal")) in polarity_store() 160 else if (sysfs_streq(buf, "inversed")) in polarity_store()
|
/linux-4.4.14/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 | apds990x.c | 860 if (sysfs_streq(buf, reporting_modes[0])) in apds990x_prox_reporting_mode_store() 862 else if (sysfs_streq(buf, reporting_modes[1])) in apds990x_prox_reporting_mode_store()
|
/linux-4.4.14/drivers/usb/gadget/udc/ |
D | udc-core.c | 604 if (sysfs_streq(buf, "1")) in usb_udc_srp_store() 621 if (sysfs_streq(buf, "connect")) { in usb_udc_softconn_store() 624 } else if (sysfs_streq(buf, "disconnect")) { in usb_udc_softconn_store()
|
/linux-4.4.14/include/linux/ |
D | string.h | 129 extern bool sysfs_streq(const char *s1, const char *s2);
|
/linux-4.4.14/lib/ |
D | string.c | 616 bool sysfs_streq(const char *s1, const char *s2) in sysfs_streq() function 631 EXPORT_SYMBOL(sysfs_streq);
|
/linux-4.4.14/drivers/video/fbdev/omap2/dss/ |
D | manager-sysfs.c | 51 return sysfs_streq(dssdev->name, str); in manager_display_match() 191 if (sysfs_streq(buf, trans_key_type_str[key_type])) in manager_trans_key_type_store()
|
D | overlay-sysfs.c | 60 if (sysfs_streq(buf, mgr->name)) in overlay_manager_store()
|
/linux-4.4.14/drivers/leds/ |
D | leds-lp5562.c | 447 if (sysfs_streq(buf, "RGB")) { in lp5562_store_engine_mux() 450 } else if (sysfs_streq(buf, "W")) { in lp5562_store_engine_mux()
|
D | leds-lm3530.c | 150 if (sysfs_streq(str, mode_map[i].mode)) in lm3530_get_mode_from_str()
|
/linux-4.4.14/drivers/power/ |
D | twl4030_charger.c | 758 if (sysfs_streq(buf, modes[0])) in twl4030_bci_mode_store() 760 else if (sysfs_streq(buf, modes[1])) in twl4030_bci_mode_store() 762 else if (sysfs_streq(buf, modes[2])) in twl4030_bci_mode_store()
|
/linux-4.4.14/drivers/staging/iio/impedance-analyzer/ |
D | ad5933.c | 424 if (sysfs_streq(buf, "1")) { in ad5933_store() 426 } else if (sysfs_streq(buf, "0.2")) { in ad5933_store()
|
/linux-4.4.14/drivers/block/zram/ |
D | zcomp.c | 58 if (sysfs_streq(compress, backends[i]->name)) in find_backend()
|
/linux-4.4.14/drivers/s390/block/ |
D | dasd_devmap.c | 1371 if (sysfs_streq("ignore", buf)) in dasd_reservation_policy_store() 1373 else if (sysfs_streq("fail", buf)) in dasd_reservation_policy_store() 1420 if (sysfs_streq("reset", buf)) in dasd_reservation_state_store()
|
/linux-4.4.14/drivers/iio/adc/ |
D | ad7791.c | 285 if (sysfs_streq(ad7791_sample_freq_avail[i], buf)) { in ad7791_write_frequency()
|
/linux-4.4.14/drivers/char/hw_random/ |
D | core.c | 326 if (sysfs_streq(rng->name, buf)) { in hwrng_attr_current_store()
|
/linux-4.4.14/drivers/usb/misc/ |
D | usbsevseg.c | 310 if (sysfs_streq(display_textmodes[i], buf)) { in set_attr_textmode()
|
/linux-4.4.14/drivers/iio/ |
D | industrialio-trigger.c | 115 if (sysfs_streq(iter->name, name)) { in iio_trigger_find_by_name()
|
D | industrialio-core.c | 399 if (sysfs_streq(buf, e->items[i])) in iio_enum_write()
|
/linux-4.4.14/drivers/input/mouse/ |
D | cyapa.c | 787 if (sysfs_streq(buf, BTN_ONLY_MODE_NAME)) { in cyapa_update_suspend_scanrate() 789 } else if (sysfs_streq(buf, OFF_MODE_NAME)) { in cyapa_update_suspend_scanrate()
|
/linux-4.4.14/drivers/scsi/ |
D | scsi_sysfs.c | 252 if (sysfs_streq(str, "adapter")) in check_reset_type() 254 else if (sysfs_streq(str, "firmware")) in check_reset_type()
|
/linux-4.4.14/drivers/usb/musb/ |
D | musb_core.c | 1733 if (sysfs_streq(buf, "host")) in musb_mode_store() 1735 else if (sysfs_streq(buf, "peripheral")) in musb_mode_store() 1737 else if (sysfs_streq(buf, "otg")) in musb_mode_store()
|
/linux-4.4.14/drivers/hwtracing/stm/ |
D | core.c | 87 return sysfs_streq(name, dev_name(dev)); in stm_dev_match()
|
/linux-4.4.14/Documentation/filesystems/ |
D | sysfs.txt | 196 functions like sysfs_streq() safe to use.
|
/linux-4.4.14/drivers/block/ |
D | virtio_blk.c | 514 if (sysfs_streq(buf, virtblk_cache_types[i])) in virtblk_cache_type_store()
|
/linux-4.4.14/sound/soc/omap/ |
D | mcbsp.c | 833 if (sysfs_streq(buf, *s)) in dma_op_mode_store()
|
/linux-4.4.14/arch/s390/kernel/ |
D | ipl.c | 1666 if (sysfs_streq(buf, shutdown_actions_list[i]->name)) { in set_trigger()
|