Lines Matching refs:subclass
161 char *subclass; in sysevent_dev_handler() local
174 if ((subclass = sysevent_get_subclass_name(ev)) == NULL) in sysevent_dev_handler()
186 class, subclass, phys_path); in sysevent_dev_handler()
235 class, subclass, phys_path, dev_name, dev_hid, dev_uid, dev_index); in sysevent_dev_handler()
254 gchar subclass[1024]; in sysevent_iochannel_data() local
269 class[0] = subclass[0] = phys_path[0] = dev_name[0] = in sysevent_iochannel_data()
271 matches = sscanf(s, "%s %s %s %s %s %s %d", class, subclass, in sysevent_iochannel_data()
278 HAL_INFO (("sysevent: class=%s, sub=%s", class, subclass)); 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()
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()
297 sysevent_pwrctl(class, subclass, phys_path, in sysevent_iochannel_data()
300 if (strcmp(subclass, ESC_DEVFS_DEVI_ADD) == 0) { in sysevent_iochannel_data()
311 if (strcmp(subclass, ESC_DR_AP_STATE_CHANGE) == 0) { in sysevent_iochannel_data()
481 sysevent_pwrctl(gchar *class, gchar *subclass, gchar *phys_path, in sysevent_pwrctl() argument
495 devinfo_lid_event(subclass, udi); 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()
500 devinfo_brightness_hotkeys_event(subclass); in sysevent_pwrctl()