Lines Matching refs:strcmp

180 	if (strcmp(class, EC_DEVFS) == 0) {  in sysevent_dev_handler()
193 if (strcmp(class, EC_PWRCTL) == 0) { in sysevent_dev_handler()
198 } else if (strcmp(class, EC_DR) == 0) { in sysevent_dev_handler()
211 if (strcmp(class, EC_DR) == 0) { in sysevent_dev_handler()
216 if (strcmp(class, EC_PWRCTL) == 0) { in sysevent_dev_handler()
280 if (strcmp(class, EC_DEV_ADD) == 0) { in sysevent_iochannel_data()
281 if ((strcmp(subclass, ESC_DISK) == 0) || in sysevent_iochannel_data()
282 (strcmp(subclass, ESC_PRINTER) == 0)) { in sysevent_iochannel_data()
284 } else if (strcmp(subclass, ESC_LOFI) == 0) { in sysevent_iochannel_data()
287 } else if (strcmp(class, EC_DEV_REMOVE) == 0) { in sysevent_iochannel_data()
288 if ((strcmp(subclass, ESC_DISK) == 0) || in sysevent_iochannel_data()
289 (strcmp(subclass, ESC_PRINTER) == 0)) { in sysevent_iochannel_data()
291 } else if (strcmp(subclass, ESC_LOFI) == 0) { in sysevent_iochannel_data()
294 } else if (strcmp(class, EC_DEV_BRANCH) == 0) { in sysevent_iochannel_data()
296 } else if (strcmp(class, EC_PWRCTL) == 0) { in sysevent_iochannel_data()
299 } else if (strcmp(class, EC_DEVFS) == 0) { in sysevent_iochannel_data()
300 if (strcmp(subclass, ESC_DEVFS_DEVI_ADD) == 0) { in sysevent_iochannel_data()
303 } else if (strcmp(class, EC_DR) == 0) { in sysevent_iochannel_data()
311 if (strcmp(subclass, ESC_DR_AP_STATE_CHANGE) == 0) { in sysevent_iochannel_data()
461 if ((strcmp (driver_name, "scsa2usb") == 0) || in sysevent_devfs_add()
462 (strcmp (driver_name, "usbprn") == 0)) in sysevent_devfs_add()
487 if (strcmp(dev_hid, "PNP0C0A") == 0) { in sysevent_pwrctl()
490 } else if (strcmp(dev_hid, "ACPI0003") == 0) { in sysevent_pwrctl()
493 } else if (strcmp(dev_hid, "PNP0C0D") == 0) { in sysevent_pwrctl()
496 } else if (strcmp(subclass, ESC_PWRCTL_POWER_BUTTON) == 0) { in sysevent_pwrctl()
498 } else if ((strcmp(subclass, ESC_PWRCTL_BRIGHTNESS_UP) == 0) || in sysevent_pwrctl()
499 (strcmp(subclass, ESC_PWRCTL_BRIGHTNESS_DOWN) == 0)) { in sysevent_pwrctl()
632 if (strcmp (cfg_stat->ap_type, "CPU") == 0) { in sysevent_process_dr()
633 if (strcmp (hint_val, DR_HINT_REMOVE) == 0) { in sysevent_process_dr()
635 } else if (strcmp (hint_val, DR_HINT_INSERT) == 0) { in sysevent_process_dr()