Lines Matching defs:subcl
75 const char *subcl[6];
99 subcl[0] = ESC_DISK;
100 subcl[1] = ESC_LOFI;
101 subcl[2] = ESC_PRINTER;
102 if (sysevent_subscribe_event(shp, EC_DEV_ADD, subcl, 3) != 0) {
107 if (sysevent_subscribe_event(shp, EC_DEV_REMOVE, subcl, 3) != 0) {
113 subcl[0] = ESC_DEV_BRANCH_REMOVE;
114 if (sysevent_subscribe_event(shp, EC_DEV_BRANCH, subcl, 1) != 0) {
120 subcl[0] = ESC_PWRCTL_ADD;
121 subcl[1] = ESC_PWRCTL_REMOVE;
122 subcl[2] = ESC_PWRCTL_STATE_CHANGE;
123 subcl[3] = ESC_PWRCTL_BRIGHTNESS_UP;
124 subcl[4] = ESC_PWRCTL_BRIGHTNESS_DOWN;
125 subcl[5] = ESC_PWRCTL_POWER_BUTTON;
126 if (sysevent_subscribe_event(shp, EC_PWRCTL, subcl, 6) != 0) {
132 subcl[0] = ESC_DEVFS_DEVI_ADD;
133 if (sysevent_subscribe_event(shp, EC_DEVFS, subcl, 1) != 0) {
139 subcl[0] = ESC_DR_AP_STATE_CHANGE;
140 if (sysevent_subscribe_event(shp, EC_DR, subcl, 1) != 0) {