Lines Matching full:arg

21 static int handle_thermal_event(struct nl_msg *n, void *arg)  in handle_thermal_event()  argument
26 struct thermal_handler_param *thp = arg; in handle_thermal_event()
31 arg = thp->arg; in handle_thermal_event()
43 nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_ID]), arg); in handle_thermal_event()
46 return ops->tz_delete(nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_ID]), arg); in handle_thermal_event()
49 return ops->tz_enable(nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_ID]), arg); in handle_thermal_event()
52 return ops->tz_disable(nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_ID]), arg); in handle_thermal_event()
59 nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_TRIP_HYST]), arg); in handle_thermal_event()
66 nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_TRIP_HYST]), arg); in handle_thermal_event()
70 nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_TRIP_ID]), arg); in handle_thermal_event()
75 nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_TEMP]), arg); in handle_thermal_event()
80 nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_TEMP]), arg); in handle_thermal_event()
85 nla_get_u32(attrs[THERMAL_GENL_ATTR_CDEV_MAX_STATE]), arg); in handle_thermal_event()
88 return ops->cdev_delete(nla_get_u32(attrs[THERMAL_GENL_ATTR_CDEV_ID]), arg); in handle_thermal_event()
92 nla_get_u32(attrs[THERMAL_GENL_ATTR_CDEV_CUR_STATE]), arg); in handle_thermal_event()
96 nla_get_string(attrs[THERMAL_GENL_ATTR_GOV_NAME]), arg); in handle_thermal_event()
101 nla_get_u32(attrs[THERMAL_GENL_ATTR_THRESHOLD_DIRECTION]), arg); in handle_thermal_event()
106 nla_get_u32(attrs[THERMAL_GENL_ATTR_THRESHOLD_DIRECTION]), arg); in handle_thermal_event()
109 return ops->threshold_flush(nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_ID]), arg); in handle_thermal_event()
114 nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_PREV_TEMP]), arg); in handle_thermal_event()
119 nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_PREV_TEMP]), arg); in handle_thermal_event()
148 thermal_error_t thermal_events_handle(struct thermal_handler *th, void *arg) in thermal_events_handle() argument
150 struct thermal_handler_param thp = { .th = th, .arg = arg }; in thermal_events_handle()