/kernel/linux/linux-5.10/tools/testing/selftests/timers/ |
H A D | valid-adjtimex.c | 196 int set_offset(long long offset, int use_nano) in set_offset() function 257 if (set_offset(NSEC_PER_SEC - 1, 1)) in validate_set_offset() 260 if (set_offset(-NSEC_PER_SEC + 1, 1)) in validate_set_offset() 263 if (set_offset(-NSEC_PER_SEC - 1, 1)) in validate_set_offset() 266 if (set_offset(5 * NSEC_PER_SEC, 1)) in validate_set_offset() 269 if (set_offset(-5 * NSEC_PER_SEC, 1)) in validate_set_offset() 272 if (set_offset(5 * NSEC_PER_SEC + NSEC_PER_SEC / 2, 1)) in validate_set_offset() 275 if (set_offset(-5 * NSEC_PER_SEC - NSEC_PER_SEC / 2, 1)) in validate_set_offset() 278 if (set_offset(USEC_PER_SEC - 1, 0)) in validate_set_offset() 281 if (set_offset( in validate_set_offset() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/timers/ |
H A D | valid-adjtimex.c | 196 int set_offset(long long offset, int use_nano) in set_offset() function 257 if (set_offset(NSEC_PER_SEC - 1, 1)) in validate_set_offset() 260 if (set_offset(-NSEC_PER_SEC + 1, 1)) in validate_set_offset() 263 if (set_offset(-NSEC_PER_SEC - 1, 1)) in validate_set_offset() 266 if (set_offset(5 * NSEC_PER_SEC, 1)) in validate_set_offset() 269 if (set_offset(-5 * NSEC_PER_SEC, 1)) in validate_set_offset() 272 if (set_offset(5 * NSEC_PER_SEC + NSEC_PER_SEC / 2, 1)) in validate_set_offset() 275 if (set_offset(-5 * NSEC_PER_SEC - NSEC_PER_SEC / 2, 1)) in validate_set_offset() 278 if (set_offset(USEC_PER_SEC - 1, 0)) in validate_set_offset() 281 if (set_offset( in validate_set_offset() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | disp.c | 91 if (nv_crtc->cursor.set_offset) in nv04_display_fini() 149 if (!ret && nv_crtc->cursor.set_offset) in nv04_display_init() 178 if (nv_crtc->cursor.set_offset) in nv04_display_init() 179 nv_crtc->cursor.set_offset(nv_crtc, in nv04_display_init()
|
H A D | cursor.c | 65 crtc->cursor.set_offset = nv04_cursor_set_offset; in nv04_cursor_init()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | disp.c | 91 if (nv_crtc->cursor.set_offset) in nv04_display_fini() 149 if (!ret && nv_crtc->cursor.set_offset) in nv04_display_init() 178 if (nv_crtc->cursor.set_offset) in nv04_display_init() 179 nv_crtc->cursor.set_offset(nv_crtc, in nv04_display_init()
|
H A D | cursor.c | 65 crtc->cursor.set_offset = nv04_cursor_set_offset; in nv04_cursor_init()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/ |
H A D | nouveau_crtc.h | 58 void (*set_offset)(struct nouveau_crtc *, uint32_t offset); member
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/ |
H A D | nouveau_crtc.h | 59 void (*set_offset)(struct nouveau_crtc *, uint32_t offset); member
|
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | w83773g.c | 123 static int set_offset(struct regmap *regmap, int index, long val) in set_offset() function 206 return set_offset(regmap, channel - 1, val); in w83773_write()
|
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | w83773g.c | 123 static int set_offset(struct regmap *regmap, int index, long val) in set_offset() function 206 return set_offset(regmap, channel - 1, val); in w83773_write()
|
/kernel/linux/linux-5.10/drivers/pinctrl/mediatek/ |
H A D | mtk-eint.c | 400 unsigned int set_offset, bit, clr_bit, clr_offset, rst, i, unmask, in mtk_eint_set_debounce() local 410 set_offset = (eint_num / 4) * 4 + eint->regs->dbnc_set; in mtk_eint_set_debounce() 437 writel(rst | bit, eint->base + set_offset); in mtk_eint_set_debounce()
|
/kernel/linux/linux-6.6/drivers/pinctrl/mediatek/ |
H A D | mtk-eint.c | 424 unsigned int set_offset, bit, clr_bit, clr_offset, rst, i, unmask, in mtk_eint_set_debounce() local 435 set_offset = (eint_num / 4) * 4 + eint->regs->dbnc_set; in mtk_eint_set_debounce() 462 writel(rst | bit, eint->base + set_offset); in mtk_eint_set_debounce()
|
/kernel/linux/linux-5.10/include/scsi/ |
H A D | scsi_transport_spi.h | 98 void (*set_offset)(struct scsi_target *, int); member
|
/kernel/linux/linux-6.6/include/scsi/ |
H A D | scsi_transport_spi.h | 98 void (*set_offset)(struct scsi_target *, int); member
|
/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | rtc-pcf85063.c | 313 .set_offset = pcf85063_set_offset, 321 .set_offset = pcf85063_set_offset,
|
H A D | rtc-tps65910.c | 361 .set_offset = tps65910_set_offset, 368 .set_offset = tps65910_set_offset,
|
H A D | rtc-armada38x.c | 458 .set_offset = armada38x_rtc_set_offset, 466 .set_offset = armada38x_rtc_set_offset,
|
H A D | rtc-pcf8523.c | 338 .set_offset = pcf8523_rtc_set_offset,
|
H A D | sysfs.c | 290 if (!rtc->ops->set_offset) in rtc_attr_is_visible()
|
H A D | interface.c | 1080 if (!rtc->ops->set_offset) in rtc_set_offset() 1084 ret = rtc->ops->set_offset(rtc->dev.parent, offset); in rtc_set_offset()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | rtc.h | 68 int (*set_offset)(struct device *, long offset); member
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | rtc.h | 68 int (*set_offset)(struct device *, long offset); member
|
/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | class.c | 402 if (rtc->ops->set_offset) in __devm_rtc_register_device()
|
H A D | rtc-zynqmp.c | 255 .set_offset = xlnx_rtc_set_offset,
|
H A D | sysfs.c | 291 if (!rtc->ops->set_offset) in rtc_attr_is_visible()
|