Defined in 1 files as a function:
Referenced in 7 files:
- arch/hexagon/kernel/time.c, line 189
- arch/loongarch/include/asm/time.h, line 48
- arch/mips/include/asm/time.h, line 70
- arch/sparc/kernel/time_64.c, line 867
- drivers/clocksource/dw_apb_timer.c, line 235
- drivers/clocksource/timer-ralink.c, line 125
- kernel/time/clockevents.c, line 548
Smatch caller information:
drivers/clocksource/timer-ralink.c ralink_systick_init() -> clockevents_calc_mult_shift()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ce | 5799349139259592768 |
| PARAM_VALUE | 1 | freq | 50000 |
| PARAM_VALUE | 2 | maxsec | 60 |
| NOCHECK_CALL |
kernel/time/clockevents.c clockevents_config() -> clockevents_calc_mult_shift()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ce | 4096-ptr_max |
| BUF_SIZE | 0 | ce | (-1),256 |
| BUF_SIZE | 0 | ce | (-1),256 |
| BUF_SIZE | 0 | ce->cpumask | (-1),1024 |
| BUF_SIZE | 0 | ce->name | s32min,(-10),(-1),1-s32max |
| DATA_SOURCE | 0 | ce | $0 |
| DATA_SOURCE | 1 | freq | $1 |
| STR_LEN | 0 | ce->name | (-1),14,18-19 |
| BIT_INFO | 0 | ce->features | 0x2,0xffffffff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | freq | unit_byte |
| HALF_LOCKED2 | flags |
drivers/clocksource/dw_apb_timer.c dw_apb_clockevent_init() -> clockevents_calc_mult_shift()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ce | 4096-ptr_max |
| PARAM_VALUE | 2 | maxsec | 4 |
| DATA_SOURCE | 1 | freq | $5 |
| NOCHECK_CALL |