Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 8 files:

Smatch caller information:

drivers/rtc/rtc-ds1685.c ds1685_rtc_read_time() -> rtc_year_days()

Type Parameter Key Value
PARAM_VALUE 0 day 0-37
PARAM_VALUE 1 month 0-14,u32max
PARAM_VALUE 2 year 0-23765,4294965396-u32max
CAPPED_DATA 0 day 1
CAPPED_DATA 1 month 1
CAPPED_DATA 2 year 1
DATA_SOURCE 0 day r ds1685_rtc_bcd2bin
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 day 0-31[c]
HOST_DATA 1 month 0-14,u32max[c]
HOST_DATA 2 year 0-23765,4294965396-u32max[c]
HALF_LOCKED2 &rtc->ops_lock

drivers/rtc/rtc-wm8350.c wm8350_rtc_readtime() -> rtc_year_days()

Type Parameter Key Value
PARAM_VALUE 0 day 0-63
PARAM_VALUE 1 month 0-30,u32max
PARAM_VALUE 2 year 0-s32max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &rtc->ops_lock

drivers/rtc/rtc-at91rm9200.c at91_rtc_readtime() -> rtc_year_days()

Type Parameter Key Value
PARAM_VALUE 0 day 0-165
PARAM_VALUE 1 month 0-164,u32max
PARAM_VALUE 2 year 0-16665
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &rtc->ops_lock