Home
last modified time | relevance | path

Searched refs:ktz (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/video/backlight/
Dktz8866.c59 static int ktz8866_write(struct ktz8866 *ktz, unsigned int reg, in ktz8866_write() argument
62 return regmap_write(ktz->regmap, reg, val); in ktz8866_write()
65 static int ktz8866_update_bits(struct ktz8866 *ktz, unsigned int reg, in ktz8866_update_bits() argument
68 return regmap_update_bits(ktz->regmap, reg, mask, val); in ktz8866_update_bits()
73 struct ktz8866 *ktz = bl_get_data(backlight_dev); in ktz8866_backlight_update_status() local
76 if (!ktz->led_on && brightness > 0) { in ktz8866_backlight_update_status()
77 ktz8866_update_bits(ktz, BL_EN, BL_EN_BIT, BL_EN_BIT); in ktz8866_backlight_update_status()
78 ktz->led_on = true; in ktz8866_backlight_update_status()
80 ktz8866_update_bits(ktz, BL_EN, BL_EN_BIT, 0); in ktz8866_backlight_update_status()
81 ktz->led_on = false; in ktz8866_backlight_update_status()
[all …]
/linux-6.6.21/arch/alpha/kernel/
Dosf_sys.c1003 struct timezone ktz; in SYSCALL_DEFINE2() local
1010 if (copy_from_user(&ktz, tz, sizeof(*tz))) in SYSCALL_DEFINE2()
1014 return do_sys_settimeofday64(tv ? &kts : NULL, tz ? &ktz : NULL); in SYSCALL_DEFINE2()