Lines Matching refs:subclass

162 	char		*subclass;  in sysevent_dev_handler()  local
175 if ((subclass = sysevent_get_subclass_name(ev)) == NULL) in sysevent_dev_handler()
187 class, subclass, phys_path); in sysevent_dev_handler()
236 class, subclass, phys_path, dev_name, dev_hid, dev_uid, dev_index); in sysevent_dev_handler()
255 gchar subclass[1024]; in sysevent_iochannel_data() local
270 class[0] = subclass[0] = phys_path[0] = dev_name[0] = in sysevent_iochannel_data()
272 matches = sscanf(s, "%s %s %s %s %s %s %d", class, subclass, in sysevent_iochannel_data()
279 HAL_INFO (("sysevent: class=%s, sub=%s", class, subclass)); in sysevent_iochannel_data()
282 if ((strcmp(subclass, ESC_DISK) == 0) || in sysevent_iochannel_data()
283 (strcmp(subclass, ESC_PRINTER) == 0)) { in sysevent_iochannel_data()
285 } else if (strcmp(subclass, ESC_LOFI) == 0) { in sysevent_iochannel_data()
289 if ((strcmp(subclass, ESC_DISK) == 0) || in sysevent_iochannel_data()
290 (strcmp(subclass, ESC_PRINTER) == 0)) { in sysevent_iochannel_data()
292 } else if (strcmp(subclass, ESC_LOFI) == 0) { in sysevent_iochannel_data()
298 sysevent_pwrctl(class, subclass, phys_path, in sysevent_iochannel_data()
301 if (strcmp(subclass, ESC_DEVFS_DEVI_ADD) == 0) { in sysevent_iochannel_data()
312 if (strcmp(subclass, ESC_DR_AP_STATE_CHANGE) == 0) { in sysevent_iochannel_data()
482 sysevent_pwrctl(gchar *class, gchar *subclass, gchar *phys_path, in sysevent_pwrctl() argument
496 devinfo_lid_event(subclass, udi); in sysevent_pwrctl()
497 } else if (strcmp(subclass, ESC_PWRCTL_POWER_BUTTON) == 0) { in sysevent_pwrctl()
499 } else if ((strcmp(subclass, ESC_PWRCTL_BRIGHTNESS_UP) == 0) || in sysevent_pwrctl()
500 (strcmp(subclass, ESC_PWRCTL_BRIGHTNESS_DOWN) == 0)) { in sysevent_pwrctl()
501 devinfo_brightness_hotkeys_event(subclass); in sysevent_pwrctl()