Lines Matching refs:enabled_ops
19 static int enabled_ops[__THERMAL_GENL_EVENT_MAX]; variable
36 if (!enabled_ops[genlhdr->cmd]) in handle_thermal_event()
104 enabled_ops[THERMAL_GENL_EVENT_TZ_CREATE] = !!ops->tz_create; in thermal_events_ops_init()
105 enabled_ops[THERMAL_GENL_EVENT_TZ_DELETE] = !!ops->tz_delete; in thermal_events_ops_init()
106 enabled_ops[THERMAL_GENL_EVENT_TZ_DISABLE] = !!ops->tz_disable; in thermal_events_ops_init()
107 enabled_ops[THERMAL_GENL_EVENT_TZ_ENABLE] = !!ops->tz_enable; in thermal_events_ops_init()
108 enabled_ops[THERMAL_GENL_EVENT_TZ_TRIP_UP] = !!ops->trip_high; in thermal_events_ops_init()
109 enabled_ops[THERMAL_GENL_EVENT_TZ_TRIP_DOWN] = !!ops->trip_low; in thermal_events_ops_init()
110 enabled_ops[THERMAL_GENL_EVENT_TZ_TRIP_CHANGE] = !!ops->trip_change; in thermal_events_ops_init()
111 enabled_ops[THERMAL_GENL_EVENT_TZ_TRIP_ADD] = !!ops->trip_add; in thermal_events_ops_init()
112 enabled_ops[THERMAL_GENL_EVENT_TZ_TRIP_DELETE] = !!ops->trip_delete; in thermal_events_ops_init()
113 enabled_ops[THERMAL_GENL_EVENT_CDEV_ADD] = !!ops->cdev_add; in thermal_events_ops_init()
114 enabled_ops[THERMAL_GENL_EVENT_CDEV_DELETE] = !!ops->cdev_delete; in thermal_events_ops_init()
115 enabled_ops[THERMAL_GENL_EVENT_CDEV_STATE_UPDATE] = !!ops->cdev_update; in thermal_events_ops_init()
116 enabled_ops[THERMAL_GENL_EVENT_TZ_GOV_CHANGE] = !!ops->gov_change; in thermal_events_ops_init()