/linux-master/arch/riscv/kernel/vdso/ |
H A D | vgettimeofday.c | 18 int __vdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz) argument 20 return __cvdso_gettimeofday(tv, tz);
|
/linux-master/arch/arm64/kernel/vdso32/ |
H A D | vgettimeofday.c | 24 struct timezone *tz) 26 return __cvdso_gettimeofday(tv, tz); 23 __vdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz) argument
|
/linux-master/arch/csky/kernel/vdso/ |
H A D | vgettimeofday.c | 21 struct timezone *tz) 23 return __cvdso_gettimeofday(tv, tz); 20 __vdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz) argument
|
/linux-master/drivers/thermal/ |
H A D | thermal_of.c | 174 struct device_node *np, *tz; local 187 for_each_available_child_of_node(np, tz) { 191 count = of_count_phandle_with_args(tz, "thermal-sensors", 194 pr_err("%pOFn: missing thermal sensor\n", tz); 195 tz = ERR_PTR(-EINVAL); 203 ret = of_parse_phandle_with_args(tz, "thermal-sensors", 207 pr_err("%pOFn: Failed to read thermal-sensors cells: %d\n", tz, ret); 208 tz = ERR_PTR(ret); 214 pr_debug("sensor %pOFn id=%d belongs to %pOFn\n", sensor, id, tz); 219 tz 275 thermal_of_zone_get_by_name(struct thermal_zone_device *tz) argument 293 __thermal_of_unbind(struct device_node *map_np, int index, int trip_id, struct thermal_zone_device *tz, struct thermal_cooling_device *cdev) argument 324 __thermal_of_bind(struct device_node *map_np, int index, int trip_id, struct thermal_zone_device *tz, struct thermal_cooling_device *cdev) argument 359 thermal_of_for_each_cooling_device(struct device_node *tz_np, struct device_node *map_np, struct thermal_zone_device *tz, struct thermal_cooling_device *cdev, int (*action)(struct device_node *, int, int, struct thermal_zone_device *, struct thermal_cooling_device *)) argument 392 thermal_of_for_each_cooling_maps(struct thermal_zone_device *tz, struct thermal_cooling_device *cdev, int (*action)(struct device_node *, int, int, struct thermal_zone_device *, struct thermal_cooling_device *)) argument 425 thermal_of_bind(struct thermal_zone_device *tz, struct thermal_cooling_device *cdev) argument 431 thermal_of_unbind(struct thermal_zone_device *tz, struct thermal_cooling_device *cdev) argument 445 thermal_of_zone_unregister(struct thermal_zone_device *tz) argument 475 struct thermal_zone_device *tz; local 602 devm_thermal_of_zone_unregister(struct device *dev, struct thermal_zone_device *tz) argument [all...] |
H A D | thermal_netlink.c | 307 int thermal_notify_tz_create(const struct thermal_zone_device *tz) argument 309 struct param p = { .tz_id = tz->id, .name = tz->type }; 314 int thermal_notify_tz_delete(const struct thermal_zone_device *tz) argument 316 struct param p = { .tz_id = tz->id }; 321 int thermal_notify_tz_enable(const struct thermal_zone_device *tz) argument 323 struct param p = { .tz_id = tz->id }; 328 int thermal_notify_tz_disable(const struct thermal_zone_device *tz) argument 330 struct param p = { .tz_id = tz->id }; 335 int thermal_notify_tz_trip_down(const struct thermal_zone_device *tz, argument 345 thermal_notify_tz_trip_up(const struct thermal_zone_device *tz, const struct thermal_trip *trip) argument 355 thermal_notify_tz_trip_change(const struct thermal_zone_device *tz, const struct thermal_trip *trip) argument 390 thermal_notify_tz_gov_change(const struct thermal_zone_device *tz, const char *name) argument 409 __thermal_genl_cmd_tz_get_id(struct thermal_zone_device *tz, void *data) argument 449 struct thermal_zone_device *tz; local 492 struct thermal_zone_device *tz; local 518 struct thermal_zone_device *tz; local [all...] |
H A D | thermal_trace_ipa.h | 11 TP_PROTO(struct thermal_zone_device *tz, u32 total_req_power, 14 TP_ARGS(tz, total_req_power, total_granted_power, num_actors, 27 __entry->tz_id = tz->id; 45 TP_PROTO(struct thermal_zone_device *tz, int actor_id, u32 req_power, 47 TP_ARGS(tz, actor_id, req_power, granted_power), 55 __entry->tz_id = tz->id; 67 TP_PROTO(struct thermal_zone_device *tz, s32 err, s32 err_integral, 69 TP_ARGS(tz, err, err_integral, p, i, d, output), 80 __entry->tz_id = tz->id;
|
H A D | thermal_debugfs.c | 120 * @node: a list element to be added to the list of tz events 142 * @tz: thermal zone this object belongs to 148 struct thermal_zone_device *tz; member in struct:tz_debugfs 531 static struct tz_episode *thermal_debugfs_tz_event_alloc(struct thermal_zone_device *tz, argument 537 tze = kzalloc(struct_size(tze, trip_stats, tz->num_trips), GFP_KERNEL); 544 for (i = 0; i < tz->num_trips; i++) { 552 void thermal_debug_tz_trip_up(struct thermal_zone_device *tz, argument 557 struct thermal_debugfs *thermal_dbg = tz->debugfs; 558 int temperature = tz->temperature; 559 int trip_id = thermal_zone_trip_id(tz, tri 638 thermal_debug_tz_trip_down(struct thermal_zone_device *tz, const struct thermal_trip *trip) argument 696 thermal_debug_update_temp(struct thermal_zone_device *tz) argument 755 struct thermal_zone_device *tz = thermal_dbg->tz_dbg.tz; local 810 thermal_debug_tz_add(struct thermal_zone_device *tz) argument 837 thermal_debug_tz_remove(struct thermal_zone_device *tz) argument [all...] |
H A D | db8500_thermal.c | 55 struct thermal_zone_device *tz; member in struct:db8500_thermal_zone 62 static int db8500_thermal_get_temp(struct thermal_zone_device *tz, int *temp) argument 64 struct db8500_thermal_zone *th = thermal_zone_device_priv(tz); 121 thermal_zone_device_update(th->tz, THERMAL_EVENT_UNSPECIFIED); 146 thermal_zone_device_update(th->tz, THERMAL_EVENT_UNSPECIFIED); 188 th->tz = devm_thermal_of_zone_register(dev, 0, th, &thdev_ops); 189 if (IS_ERR(th->tz)) { 191 return PTR_ERR(th->tz);
|
H A D | thermal_trace.h | 26 TP_PROTO(struct thermal_zone_device *tz), 28 TP_ARGS(tz), 31 __string(thermal_zone, tz->type) 38 __assign_str(thermal_zone, tz->type); 39 __entry->id = tz->id; 40 __entry->temp_prev = tz->last_temperature; 41 __entry->temp = tz->temperature; 70 TP_PROTO(struct thermal_zone_device *tz, int trip, 73 TP_ARGS(tz, trip, trip_type), 76 __string(thermal_zone, tz [all...] |
/linux-master/tools/thermal/thermometer/ |
H A D | thermometer.c | 57 struct tz { struct 66 struct tz *tz; member in struct:thermometer 105 config_setting_t *tz; local 127 tz = config_lookup(&cfg, "thermal-zones"); 128 if (!tz) { 133 length = config_setting_length(tz); 143 node = config_setting_get_elem(tz, i); 271 thermometer->tz = realloc(thermometer->tz, 343 struct tz *tz = arg; local [all...] |
/linux-master/drivers/thermal/broadcom/ |
H A D | sr-thermal.c | 33 static int sr_get_temp(struct thermal_zone_device *tz, int *temp) argument 35 struct sr_tmon *tmon = thermal_zone_device_priv(tz); 50 struct thermal_zone_device *tz; local 87 tz = devm_thermal_of_zone_register(dev, i, tmon, 89 if (IS_ERR(tz)) 90 return PTR_ERR(tz);
|
H A D | bcm2835_thermal.c | 67 struct thermal_zone_device *tz; member in struct:bcm2835_thermal_data 91 static int bcm2835_thermal_get_temp(struct thermal_zone_device *tz, int *temp) argument 93 struct bcm2835_thermal_data *data = thermal_zone_device_priv(tz); 103 thermal_zone_get_offset(data->tz), 104 thermal_zone_get_slope(data->tz)); 167 struct thermal_zone_device *tz; local 207 tz = devm_thermal_of_zone_register(&pdev->dev, 0, data, 209 if (IS_ERR(tz)) { 210 err = PTR_ERR(tz); 228 slope = thermal_zone_get_slope(tz); [all...] |
H A D | bcm2711_thermal.c | 34 static int bcm2711_get_temp(struct thermal_zone_device *tz, int *temp) argument 36 struct bcm2711_thermal_priv *priv = thermal_zone_device_priv(tz); 37 int slope = thermal_zone_get_slope(tz); 38 int offset = thermal_zone_get_offset(tz);
|
/linux-master/arch/arm/vdso/ |
H A D | vgettimeofday.c | 26 struct timezone *tz) 28 return __cvdso_gettimeofday(tv, tz); 25 __vdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz) argument
|
/linux-master/tools/lib/thermal/ |
H A D | commands.c | 38 static int parse_tz_get(struct genl_info *info, struct thermal_zone **tz) argument 67 *tz = __tz; 112 static int parse_tz_get_trip(struct genl_info *info, struct thermal_zone *tz) argument 145 tz->trip = __tt; 150 static int parse_tz_get_temp(struct genl_info *info, struct thermal_zone *tz) argument 157 if (tz->id != id) 161 tz->temp = nla_get_u32(info->attrs[THERMAL_GENL_ATTR_TZ_TEMP]); 166 static int parse_tz_get_gov(struct genl_info *info, struct thermal_zone *tz) argument 173 if (tz->id != id) 177 nla_strlcpy(tz 290 thermal_cmd_get_tz(struct thermal_handler *th, struct thermal_zone **tz) argument 302 thermal_cmd_get_trip(struct thermal_handler *th, struct thermal_zone *tz) argument 308 thermal_cmd_get_governor(struct thermal_handler *th, struct thermal_zone *tz) argument 313 thermal_cmd_get_temp(struct thermal_handler *th, struct thermal_zone *tz) argument [all...] |
/linux-master/arch/s390/kernel/vdso64/ |
H A D | vdso.h | 10 int __s390_vdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz);
|
/linux-master/arch/x86/um/vdso/ |
H A D | um_vdso.c | 30 int __vdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz) argument 36 : "0" (__NR_gettimeofday), "D" (tv), "S" (tz)
|
/linux-master/tools/lib/thermal/include/ |
H A D | thermal.h | 77 LIBTHERMAL_API int for_each_thermal_zone(struct thermal_zone *tz, cb_tz_t cb, void *arg); 83 LIBTHERMAL_API struct thermal_zone *thermal_zone_find_by_name(struct thermal_zone *tz, 86 LIBTHERMAL_API struct thermal_zone *thermal_zone_find_by_id(struct thermal_zone *tz, int id); 113 struct thermal_zone **tz); 119 struct thermal_zone *tz); 122 struct thermal_zone *tz); 125 struct thermal_zone *tz);
|
/linux-master/arch/sparc/vdso/ |
H A D | vclock_gettime.c | 77 notrace static long vdso_fallback_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz) argument 81 register long o1 __asm__("o1") = (long) tz; 307 __vdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz) argument 329 if (unlikely(tz != NULL)) { 331 tz->tz_minuteswest = vvd->tz_minuteswest; 332 tz->tz_dsttime = vvd->tz_dsttime; 336 return vdso_fallback_gettimeofday(tv, tz); 343 __vdso_gettimeofday_stick(struct __kernel_old_timeval *tv, struct timezone *tz) argument 365 if (unlikely(tz != NULL)) { 367 tz [all...] |
/linux-master/tools/testing/selftests/timers/ |
H A D | Makefile | 12 leapcrash set-tai set-2038 set-tz
|
/linux-master/include/vdso/ |
H A D | gettime.h | 20 int __vdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz);
|
/linux-master/kernel/time/ |
H A D | time.c | 141 struct timezone __user *, tz) 151 if (unlikely(tz != NULL)) { 152 if (copy_to_user(tz, &sys_tz, sizeof(sys_tz))) 169 int do_sys_settimeofday64(const struct timespec64 *tv, const struct timezone *tz) argument 177 error = security_settime64(tv, tz); 181 if (tz) { 183 if (tz->tz_minuteswest > 15*60 || tz->tz_minuteswest < -15*60) 186 sys_tz = *tz; 200 struct timezone __user *, tz) [all...] |
/linux-master/arch/s390/include/asm/vdso/ |
H A D | gettimeofday.h | 44 register struct timezone *tz) 46 return syscall2(__NR_gettimeofday, (long)tv, (long)tz); 43 gettimeofday_fallback(register struct __kernel_old_timeval *tv, register struct timezone *tz) argument
|
/linux-master/arch/powerpc/kernel/vdso/ |
H A D | vgettimeofday.c | 40 int __c_kernel_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz, argument 43 return __cvdso_gettimeofday_data(vd, tv, tz);
|
/linux-master/arch/arm64/include/asm/vdso/ |
H A D | gettimeofday.h | 21 register struct timezone *tz asm("x1") = _tz; 29 : "r" (tv), "r" (tz), "r" (nr)
|