/openbmc/linux/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/ |
H A D | gp_timer_local.h | 31 #define _REG_GP_TIMER_ENABLE_ID(timer_id) HIVE_GP_TIMER_ENABLE_REG_IDX(timer_id) argument 32 #define _REG_GP_TIMER_VALUE_ID(timer_id) HIVE_GP_TIMER_VALUE_REG_IDX(timer_id, HIVE_GP_TIMER_NUM_C… argument 33 #define _REG_GP_TIMER_COUNT_TYPE_ID(timer_id) HIVE_GP_TIMER_COUNT_TYPE_REG_IDX(timer_id, HIVE_GP… argument 34 #define _REG_GP_TIMER_SIGNAL_SELECT_ID(timer_id) HIVE_GP_TIMER_SIGNAL_SELECT_REG_IDX(timer_id, HIVE… argument
|
/openbmc/linux/drivers/acpi/ |
H A D | acpi_tad.c | 250 static int acpi_tad_wake_set(struct device *dev, char *method, u32 timer_id, in acpi_tad_wake_set() argument 265 args[0].integer.value = timer_id; in acpi_tad_wake_set() 281 u32 timer_id, const char *specval) in acpi_tad_wake_write() argument 297 return acpi_tad_wake_set(dev, method, timer_id, value); in acpi_tad_wake_write() 301 u32 timer_id, const char *specval) in acpi_tad_wake_read() argument 314 args[0].integer.value = timer_id; in acpi_tad_wake_read() 334 u32 timer_id) in acpi_tad_alarm_write() argument 336 return acpi_tad_wake_write(dev, buf, "_STV", timer_id, alarm_specval); in acpi_tad_alarm_write() 339 static ssize_t acpi_tad_alarm_read(struct device *dev, char *buf, u32 timer_id) in acpi_tad_alarm_read() argument 341 return acpi_tad_wake_read(dev, buf, "_TIV", timer_id, alarm_specval); in acpi_tad_alarm_read() [all …]
|
/openbmc/u-boot/drivers/timer/ |
H A D | arc_timer.c | 26 uint timer_id; member 34 switch (priv->timer_id) { in arc_timer_get_count() 60 priv->timer_id = (uint)id; in arc_timer_probe() 72 switch (priv->timer_id) { in arc_timer_probe()
|
/openbmc/linux/drivers/clocksource/ |
H A D | timer-digicolor.c | 61 int timer_id; /* one of TIMER_* */ member 72 writeb(CONTROL_DISABLE, dt->base + CONTROL(dt->timer_id)); in dc_timer_disable() 78 writeb(CONTROL_ENABLE | mode, dt->base + CONTROL(dt->timer_id)); in dc_timer_enable() 85 writel(count, dt->base + COUNT(dt->timer_id)); in dc_timer_set_count() 132 .timer_id = TIMER_C, 165 irq = irq_of_parse_and_map(node, dc_timer_dev.timer_id); in digicolor_timer_init()
|
/openbmc/linux/kernel/time/ |
H A D | posix-timers.c | 62 static struct k_itimer *__lock_timer(timer_t timer_id, unsigned long *flags); 560 static struct k_itimer *__lock_timer(timer_t timer_id, unsigned long *flags) in __lock_timer() argument 568 if ((unsigned long long)timer_id > INT_MAX) in __lock_timer() 593 timr = posix_timer_by_id(timer_id); in __lock_timer() 696 static int do_timer_gettime(timer_t timer_id, struct itimerspec64 *setting) in do_timer_gettime() argument 703 timr = lock_timer(timer_id, &flags); in do_timer_gettime() 719 SYSCALL_DEFINE2(timer_gettime, timer_t, timer_id, in SYSCALL_DEFINE2() argument 724 int ret = do_timer_gettime(timer_id, &cur_setting); in SYSCALL_DEFINE2() 734 SYSCALL_DEFINE2(timer_gettime32, timer_t, timer_id, in SYSCALL_DEFINE2() argument 739 int ret = do_timer_gettime(timer_id, &cur_setting); in SYSCALL_DEFINE2() [all …]
|
/openbmc/qemu/hw/timer/ |
H A D | hpet.c | 448 uint8_t timer_id = (addr - 0x100) / 0x20; in hpet_ram_read() local 449 HPETTimer *timer = &s->timer[timer_id]; in hpet_ram_read() 451 if (timer_id > s->num_timers) { in hpet_ram_read() 452 trace_hpet_timer_id_out_of_range(timer_id); in hpet_ram_read() 504 uint8_t timer_id = (addr - 0x100) / 0x20; in hpet_ram_write() local 505 HPETTimer *timer = &s->timer[timer_id]; in hpet_ram_write() 507 trace_hpet_ram_write_timer_id(timer_id); in hpet_ram_write() 508 if (timer_id > s->num_timers) { in hpet_ram_write() 509 trace_hpet_timer_id_out_of_range(timer_id); in hpet_ram_write() 527 && (s->isr & (1 << timer_id))) { in hpet_ram_write()
|
H A D | trace-events | 64 nrf51_timer_read(uint8_t timer_id, uint64_t addr, uint32_t value, unsigned size) "timer %u read add… 65 nrf51_timer_write(uint8_t timer_id, uint64_t addr, uint32_t value, unsigned size) "timer %u write a… 66 nrf51_timer_set_count(uint8_t timer_id, uint8_t counter_id, uint32_t value) "timer %u counter %u co… 110 hpet_timer_id_out_of_range(uint8_t timer_id) "timer id out of range: 0x%" PRIx8 116 hpet_ram_write_timer_id(uint64_t timer_id) "hpet_ram_writel timer_id = 0x%" PRIx64
|
H A D | cmsdk-apb-timer.c | 65 static const int timer_id[] = { 95 r = timer_id[(offset - A_PID4) / 4]; in cmsdk_apb_timer_read()
|
H A D | sse-timer.c | 84 static const int timer_id[] = { 266 r = timer_id[(offset - A_PID4) / 4]; in sse_timer_read()
|
H A D | cmsdk-apb-dualtimer.c | 77 static const int timer_id[] = { 250 r = timer_id[(offset - A_PID4) / 4]; in cmsdk_apb_dualtimer_read()
|
/openbmc/linux/include/linux/platform_data/ |
H A D | dmtimer-omap.h | 14 struct omap_dm_timer *(*request_specific)(int timer_id);
|
/openbmc/linux/include/linux/ |
H A D | syscalls.h | 571 asmlinkage long sys_timer_gettime(timer_t timer_id, 573 asmlinkage long sys_timer_getoverrun(timer_t timer_id); 574 asmlinkage long sys_timer_settime(timer_t timer_id, int flags, 577 asmlinkage long sys_timer_delete(timer_t timer_id); 587 asmlinkage long sys_timer_gettime32(timer_t timer_id, 589 asmlinkage long sys_timer_settime32(timer_t timer_id, int flags,
|