/linux-4.1.27/drivers/s390/net/ |
D | qeth_core_sys.c | 255 if (sysfs_streq(buf, "prio_queueing_prec")) { in qeth_dev_prioqing_store() 258 } else if (sysfs_streq(buf, "prio_queueing_skb")) { in qeth_dev_prioqing_store() 261 } else if (sysfs_streq(buf, "prio_queueing_tos")) { in qeth_dev_prioqing_store() 264 } else if (sysfs_streq(buf, "prio_queueing_vlan")) { in qeth_dev_prioqing_store() 271 } else if (sysfs_streq(buf, "no_prio_queueing:0")) { in qeth_dev_prioqing_store() 274 } else if (sysfs_streq(buf, "no_prio_queueing:1")) { in qeth_dev_prioqing_store() 277 } else if (sysfs_streq(buf, "no_prio_queueing:2")) { in qeth_dev_prioqing_store() 280 } else if (sysfs_streq(buf, "no_prio_queueing:3")) { in qeth_dev_prioqing_store() 283 } else if (sysfs_streq(buf, "no_prio_queueing")) { in qeth_dev_prioqing_store() 514 if (sysfs_streq(buf, ATTR_QETH_ISOLATION_NONE)) { in qeth_dev_isolation_store() [all …]
|
D | qeth_l2_sys.c | 82 if (sysfs_streq(buf, "primary")) in qeth_bridge_port_role_store() 84 else if (sysfs_streq(buf, "secondary")) in qeth_bridge_port_role_store() 86 else if (sysfs_streq(buf, "none")) in qeth_bridge_port_role_store() 145 if (sysfs_streq(buf, "0")) in qeth_bridgeport_hostnotification_store() 147 else if (sysfs_streq(buf, "1")) in qeth_bridgeport_hostnotification_store()
|
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.1.27/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.1.27/drivers/misc/mic/host/ |
D | mic_sysfs.c | 141 if (sysfs_streq(buf, "boot")) { in state_store() 151 if (sysfs_streq(buf, "reset")) { in state_store() 156 if (sysfs_streq(buf, "shutdown")) { in state_store() 161 if (sysfs_streq(buf, "suspend")) { in state_store() 347 if (!sysfs_streq(buf, "linux") && !sysfs_streq(buf, "elf")) in bootmode_store()
|
/linux-4.1.27/drivers/gpu/drm/ |
D | drm_sysfs.c | 184 if (sysfs_streq(buf, "detect")) { in status_store() 187 } else if (sysfs_streq(buf, "on")) { in status_store() 189 } else if (sysfs_streq(buf, "on-digital")) { in status_store() 191 } else if (sysfs_streq(buf, "off")) { in status_store()
|
/linux-4.1.27/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.1.27/drivers/gpio/ |
D | gpiolib-sysfs.c | 72 else if (sysfs_streq(buf, "high")) in gpio_direction_store() 74 else if (sysfs_streq(buf, "out") || sysfs_streq(buf, "low")) in gpio_direction_store() 76 else if (sysfs_streq(buf, "in")) in gpio_direction_store() 267 if (sysfs_streq(trigger_types[i].name, buf)) in gpio_edge_store()
|
/linux-4.1.27/drivers/base/ |
D | memory.c | 320 if (sysfs_streq(buf, "online_kernel")) in store_mem_state() 322 else if (sysfs_streq(buf, "online_movable")) in store_mem_state() 324 else if (sysfs_streq(buf, "online")) in store_mem_state() 326 else if (sysfs_streq(buf, "offline")) in store_mem_state()
|
D | bus.c | 358 return sysfs_streq(name, dev_name(dev)); in match_name()
|
/linux-4.1.27/drivers/misc/ |
D | spear13xx_pcie_gadget.c | 241 if (sysfs_streq(buf, "UP")) in pcie_gadget_store_link() 244 else if (sysfs_streq(buf, "DOWN")) in pcie_gadget_store_link() 267 if (sysfs_streq(buf, "INTA")) in pcie_gadget_store_int_type() 270 else if (sysfs_streq(buf, "MSI")) { in pcie_gadget_store_int_type()
|
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.1.27/drivers/block/zram/ |
D | zcomp.c | 58 if (sysfs_streq(compress, backends[i]->name)) in find_backend() 277 if (sysfs_streq(comp, backends[i]->name)) in zcomp_available_show()
|
/linux-4.1.27/drivers/pwm/ |
D | sysfs.c | 148 if (sysfs_streq(buf, "normal")) in pwm_polarity_store() 150 else if (sysfs_streq(buf, "inversed")) in pwm_polarity_store()
|
/linux-4.1.27/drivers/usb/gadget/udc/ |
D | udc-core.c | 512 if (sysfs_streq(buf, "1")) in usb_udc_srp_store() 529 if (sysfs_streq(buf, "connect")) { in usb_udc_softconn_store() 532 } else if (sysfs_streq(buf, "disconnect")) { in usb_udc_softconn_store()
|
/linux-4.1.27/include/linux/ |
D | string.h | 125 extern bool sysfs_streq(const char *s1, const char *s2);
|
/linux-4.1.27/lib/ |
D | string.c | 527 bool sysfs_streq(const char *s1, const char *s2) in sysfs_streq() function 542 EXPORT_SYMBOL(sysfs_streq);
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/drivers/iio/adc/ |
D | ad7791.c | 285 if (sysfs_streq(ad7791_sample_freq_avail[i], buf)) { in ad7791_write_frequency()
|
/linux-4.1.27/drivers/usb/misc/ |
D | usbsevseg.c | 310 if (sysfs_streq(display_textmodes[i], buf)) { in set_attr_textmode()
|
/linux-4.1.27/drivers/iio/ |
D | industrialio-trigger.c | 108 if (sysfs_streq(iter->name, name)) { in iio_trigger_find_by_name()
|
D | industrialio-core.c | 381 if (sysfs_streq(buf, e->items[i])) in iio_enum_write()
|
/linux-4.1.27/drivers/input/mouse/ |
D | cyapa.c | 721 if (sysfs_streq(buf, BTN_ONLY_MODE_NAME)) { in cyapa_update_suspend_scanrate() 723 } else if (sysfs_streq(buf, OFF_MODE_NAME)) { in cyapa_update_suspend_scanrate()
|
/linux-4.1.27/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.1.27/drivers/usb/musb/ |
D | musb_core.c | 1717 if (sysfs_streq(buf, "host")) in musb_mode_store() 1719 else if (sysfs_streq(buf, "peripheral")) in musb_mode_store() 1721 else if (sysfs_streq(buf, "otg")) in musb_mode_store()
|
/linux-4.1.27/drivers/block/ |
D | virtio_blk.c | 515 if (sysfs_streq(buf, virtblk_cache_types[i])) in virtblk_cache_type_store()
|
/linux-4.1.27/sound/soc/omap/ |
D | mcbsp.c | 833 if (sysfs_streq(buf, *s)) in dma_op_mode_store()
|
/linux-4.1.27/arch/s390/kernel/ |
D | ipl.c | 1641 if (sysfs_streq(buf, shutdown_actions_list[i]->name)) { in set_trigger()
|