Defined in 3 files as a macro:
- drivers/rtc/rtc-lpc24xx.c, line 58 (as a macro)
- drivers/rtc/rtc-lpc32xx.c, line 44 (as a macro)
- drivers/rtc/rtc-pxa.c, line 70 (as a macro)
Defined in 2 files as a function:
- drivers/rtc/rtc-fsl-ftm-alarm.c, line 52 (as a function)
- drivers/rtc/rtc-omap.c, line 170 (as a function)
Referenced in 5 files:
- drivers/rtc/rtc-fsl-ftm-alarm.c
- drivers/rtc/rtc-lpc24xx.c
- drivers/rtc/rtc-lpc32xx.c
- drivers/rtc/rtc-omap.c
- drivers/rtc/rtc-pxa.c
Smatch caller information:
drivers/rtc/rtc-fsl-ftm-alarm.c ftm_clean_alarm() -> rtc_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 0 | rtc->base | 0-ptr_max |
| PARAM_VALUE | 1 | reg | 76 |
| PARAM_VALUE | 2 | val | 0 |
| BUF_SIZE | 0 | rtc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | rtc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | rtc | unit_byte |
| HALF_LOCKED2 | &rtc->ops_lock |
drivers/rtc/rtc-fsl-ftm-alarm.c ftm_clean_alarm() -> rtc_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 0 | rtc->base | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 8 |
| PARAM_VALUE | 2 | val | u32max |
| BUF_SIZE | 0 | rtc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | rtc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | rtc | unit_byte |
| HALF_LOCKED2 | &rtc->ops_lock |
drivers/rtc/rtc-fsl-ftm-alarm.c ftm_counter_disable() -> rtc_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 0 | rtc->base | 0-ptr_max |
| PARAM_VALUE | 1 | reg | 0 |
| PARAM_VALUE | 2 | val | 0,32-u32max |
| BUF_SIZE | 0 | rtc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | rtc | $0 |
| BIT_INFO | 2 | val | 0x0,0xffffffe0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0,32-u32max[c] |
| UNITS | 0 | rtc | unit_byte |
| HALF_LOCKED2 | &rtc->ops_lock |
drivers/rtc/rtc-fsl-ftm-alarm.c ftm_counter_enable() -> rtc_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 0 | rtc->base | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 0 |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | rtc | $0 |
| BIT_INFO | 2 | val | 0x17,0xfffffff7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-u32max[c] |
| UNITS | 0 | rtc | unit_byte |
| LOCK2 | &rtc->ops_lock | ||
| TYPE_LOCK | (struct rtc_device)->ops_lock |
drivers/rtc/rtc-fsl-ftm-alarm.c ftm_irq_acknowledge() -> rtc_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 0 | rtc->base | 0-ptr_max |
| PARAM_VALUE | 0 | rtc->rtc_dev | 0,4096-u64max |
| PARAM_VALUE | 0 | rtc->rtc_dev->dev.parent | 0,4096-ptr_max |
| PARAM_VALUE | 1 | reg | 0 |
| DATA_SOURCE | 0 | rtc | $0 |
| BIT_INFO | 2 | val | 0x0,0xffffff7f |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-u32max |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/rtc/rtc-fsl-ftm-alarm.c ftm_irq_disable() -> rtc_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 0 | rtc->base | 0-ptr_max |
| PARAM_VALUE | 1 | reg | 0 |
| BUF_SIZE | 0 | rtc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | rtc | $0 |
| BIT_INFO | 2 | val | 0x0,0xffffffbf |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-u32max[c] |
| UNITS | 0 | rtc | unit_byte |
| HALF_LOCKED2 | &rtc->ops_lock |
drivers/rtc/rtc-fsl-ftm-alarm.c ftm_irq_enable() -> rtc_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 0 | rtc->base | 0-ptr_max |
| PARAM_VALUE | 1 | reg | 0 |
| PARAM_VALUE | 2 | val | 0,64-u32max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | rtc | $0 |
| BIT_INFO | 2 | val | 0x40,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0,64-u32max |
| UNITS | 0 | rtc | unit_byte |
| LOCK2 | &rtc->ops_lock | ||
| TYPE_LOCK | (struct rtc_device)->ops_lock |
drivers/rtc/rtc-fsl-ftm-alarm.c ftm_reset_counter() -> rtc_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 0 | rtc->base | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 4 |
| PARAM_VALUE | 2 | val | 0 |
| BUF_SIZE | 0 | rtc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | rtc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | rtc | unit_byte |
| HALF_LOCKED2 | &rtc->ops_lock |
drivers/rtc/rtc-fsl-ftm-alarm.c ftm_rtc_set_alarm() -> rtc_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 0 | rtc->base | 0-ptr_max |
| PARAM_VALUE | 1 | reg | 8 |
| PARAM_VALUE | 2 | val | 0-65534,u32max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | rtc | unit_byte |
| LOCK2 | &rtc->ops_lock | ||
| TYPE_LOCK | (struct rtc_device)->ops_lock |
drivers/rtc/rtc-omap.c am3352_rtc_lock() -> rtc_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 108 |
| PARAM_VALUE | 2 | val | 0 |
| BUF_SIZE | 0 | rtc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | rtc->clk | (-1),1-s32max |
| BUF_SIZE | 0 | rtc->irq_alarm | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | rtc->irq_timer | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | rtc->pctldev | (-1)-0,72,528 |
| BUF_SIZE | 0 | rtc->rtc | (-1),2824 |
| BUF_SIZE | 0 | rtc->rtc->dev.parent | (-1),1616 |
| BUF_SIZE | 0 | rtc->rtc->ops | (-1),88 |
| DATA_SOURCE | 0 | rtc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | rtc->interrupts_reg | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | rtc->pctldev->desc->npins | |
| NO_OVERFLOW_SIMPLE | 0 | rtc->rtc->char_dev.count | |
| HALF_LOCKED2 | &_dev->mutex | ||
| HALF_LOCKED2 | &rtc->ops_lock | ||
| HALF_LOCKED2 | irq |
drivers/rtc/rtc-omap.c am3352_rtc_lock() -> rtc_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 112 |
| PARAM_VALUE | 2 | val | 0 |
| BUF_SIZE | 0 | rtc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | rtc->clk | (-1),1-s32max |
| BUF_SIZE | 0 | rtc->irq_alarm | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | rtc->irq_timer | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | rtc->pctldev | (-1)-0,72,528 |
| BUF_SIZE | 0 | rtc->rtc | (-1),2824 |
| BUF_SIZE | 0 | rtc->rtc->dev.parent | (-1),1616 |
| BUF_SIZE | 0 | rtc->rtc->ops | (-1),88 |
| DATA_SOURCE | 0 | rtc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | rtc->interrupts_reg | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | rtc->pctldev->desc->npins | |
| NO_OVERFLOW_SIMPLE | 0 | rtc->rtc->char_dev.count | |
| HALF_LOCKED2 | &_dev->mutex | ||
| HALF_LOCKED2 | &rtc->ops_lock | ||
| HALF_LOCKED2 | irq |
drivers/rtc/rtc-omap.c am3352_rtc_unlock() -> rtc_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 108 |
| PARAM_VALUE | 2 | val | 2212956947 |
| BUF_SIZE | 0 | rtc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | rtc->clk | (-1),1-s32max |
| BUF_SIZE | 0 | rtc->irq_alarm | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | rtc->irq_timer | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | rtc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | rtc->interrupts_reg | 0-255 |
| HALF_LOCKED2 | &_dev->mutex | ||
| HALF_LOCKED2 | &rtc->ops_lock | ||
| HALF_LOCKED2 | irq |
drivers/rtc/rtc-omap.c am3352_rtc_unlock() -> rtc_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 112 |
| PARAM_VALUE | 2 | val | 2510615008 |
| BUF_SIZE | 0 | rtc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | rtc->clk | (-1),1-s32max |
| BUF_SIZE | 0 | rtc->irq_alarm | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | rtc->irq_timer | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | rtc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | rtc->interrupts_reg | 0-255 |
| HALF_LOCKED2 | &_dev->mutex | ||
| HALF_LOCKED2 | &rtc->ops_lock | ||
| HALF_LOCKED2 | irq |
drivers/rtc/rtc-omap.c omap_rtc_power_off() -> rtc_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 152 |
| BIT_INFO | 2 | val | 0x10011,0xffffffff |
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-u32max |
drivers/rtc/rtc-omap.c omap_rtc_power_off_program() -> rtc_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 152 |
| BIT_INFO | 2 | val | 0x10000,0xffffffff |
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-u32max |
drivers/rtc/rtc-omap.c omap_rtc_power_off_program() -> rtc_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 68 |
| PARAM_VALUE | 2 | val | 128 |
| NOCHECK_CALL |
drivers/rtc/rtc-omap.c omap_rtc_power_off_program() -> rtc_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 72 |
| PARAM_VALUE | 2 | val | 16-271 |
| BIT_INFO | 2 | val | 0x10,0xff |
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 16-271[c] |
drivers/rtc/rtc-omap.c omap_rtc_probe() -> rtc_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 0 | rtc->base | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 72 |
| PARAM_VALUE | 2 | val | 0 |
| BUF_SIZE | 0 | rtc | 56 |
| BUF_SIZE | 0 | rtc->clk | (-1),1-s32max |
| BUF_SIZE | 0 | rtc->irq_alarm | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | rtc->irq_timer | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | rtc | r devm_kzalloc |
| MEM_ZERO | 0 | rtc | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/rtc/rtc-omap.c omap_rtc_scratch_write() -> rtc_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | rtc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex |
drivers/rtc/rtc-omap.c rtc_pinconf_set() -> rtc_writel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 152 |
| BUF_SIZE | 0 | rtc | 1,24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,168 |
| BUF_SIZE | 0 | rtc | 1,24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,168 |
| DATA_SOURCE | 0 | rtc | r pinctrl_dev_get_drvdata |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-u32max |
| HALF_LOCKED2 | &pctldev->mutex |