Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/rtc/rtc-ds1685.c ds1685_rtc_probe() -> ds1685_rtc_bin2bcd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 1 | val | 0-23,25-27 |
| PARAM_VALUE | 2 | bin_mask | 31 |
| PARAM_VALUE | 3 | bcd_mask | 63 |
| BUF_SIZE | 0 | rtc | 80 |
| CAPPED_DATA | 1 | val | 1 |
| DATA_SOURCE | 0 | rtc | r devm_kzalloc |
| FUZZY_MAX | 1 | val | 0 |
| BIT_INFO | 0 | rtc->read | 0x24f0102b4088000,0xffffffffffffffff |
| BIT_INFO | 0 | rtc->write | 0x80140caa1008000,0xffffffffffffffff |
| MEM_ZERO | 0 | rtc | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | val | 0-23,25-27[c] |
drivers/rtc/rtc-ds1685.c ds1685_rtc_probe() -> ds1685_rtc_bin2bcd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 1 | val | 0-23,25-27 |
| PARAM_VALUE | 2 | bin_mask | 31 |
| PARAM_VALUE | 3 | bcd_mask | 63 |
| BUF_SIZE | 0 | rtc | 80 |
| CAPPED_DATA | 1 | val | 1 |
| DATA_SOURCE | 0 | rtc | r devm_kzalloc |
| FUZZY_MAX | 1 | val | 0 |
| BIT_INFO | 0 | rtc->read | 0x24f0102b4088000,0xffffffffffffffff |
| BIT_INFO | 0 | rtc->write | 0x80140caa1008000,0xffffffffffffffff |
| MEM_ZERO | 0 | rtc | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | val | 0-23,25-27[c] |
drivers/rtc/rtc-ds1685.c ds1685_rtc_set_alarm() -> ds1685_rtc_bin2bcd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | bin_mask | 63 |
| PARAM_VALUE | 3 | bcd_mask | 127 |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | rtc | unit_byte |
| LOCK2 | &rtc->ops_lock | ||
| TYPE_LOCK | (struct rtc_device)->ops_lock |
drivers/rtc/rtc-ds1685.c ds1685_rtc_set_alarm() -> ds1685_rtc_bin2bcd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 2 | bin_mask | 63 |
| PARAM_VALUE | 3 | bcd_mask | 127 |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | rtc | unit_byte |
| LOCK2 | &rtc->ops_lock | ||
| TYPE_LOCK | (struct rtc_device)->ops_lock |
drivers/rtc/rtc-ds1685.c ds1685_rtc_set_alarm() -> ds1685_rtc_bin2bcd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 2 | bin_mask | 31 |
| PARAM_VALUE | 3 | bcd_mask | 63 |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | rtc | unit_byte |
| LOCK2 | &rtc->ops_lock | ||
| TYPE_LOCK | (struct rtc_device)->ops_lock |
drivers/rtc/rtc-ds1685.c ds1685_rtc_set_alarm() -> ds1685_rtc_bin2bcd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 1 | val | 1-32 |
| PARAM_VALUE | 2 | bin_mask | 31 |
| PARAM_VALUE | 3 | bcd_mask | 63 |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | rtc | unit_byte |
| LOCK2 | &rtc->ops_lock | ||
| TYPE_LOCK | (struct rtc_device)->ops_lock |
drivers/rtc/rtc-ds1685.c ds1685_rtc_set_time() -> ds1685_rtc_bin2bcd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | bin_mask | 63 |
| PARAM_VALUE | 3 | bcd_mask | 127 |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | val | 0-255 |
| UNITS | 0 | rtc | unit_byte |
| HALF_LOCKED2 | &rtc->ops_lock |
drivers/rtc/rtc-ds1685.c ds1685_rtc_set_time() -> ds1685_rtc_bin2bcd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 2 | bin_mask | 63 |
| PARAM_VALUE | 3 | bcd_mask | 127 |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | val | 0-255 |
| UNITS | 0 | rtc | unit_byte |
| HALF_LOCKED2 | &rtc->ops_lock |
drivers/rtc/rtc-ds1685.c ds1685_rtc_set_time() -> ds1685_rtc_bin2bcd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 2 | bin_mask | 31 |
| PARAM_VALUE | 3 | bcd_mask | 63 |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | val | 0-255 |
| UNITS | 0 | rtc | unit_byte |
| HALF_LOCKED2 | &rtc->ops_lock |
drivers/rtc/rtc-ds1685.c ds1685_rtc_set_time() -> ds1685_rtc_bin2bcd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 2 | bin_mask | 7 |
| PARAM_VALUE | 3 | bcd_mask | 7 |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | rtc | unit_byte |
| HALF_LOCKED2 | &rtc->ops_lock |
drivers/rtc/rtc-ds1685.c ds1685_rtc_set_time() -> ds1685_rtc_bin2bcd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 2 | bin_mask | 31 |
| PARAM_VALUE | 3 | bcd_mask | 63 |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | val | 1-32[c] |
| UNITS | 0 | rtc | unit_byte |
| HALF_LOCKED2 | &rtc->ops_lock |
drivers/rtc/rtc-ds1685.c ds1685_rtc_set_time() -> ds1685_rtc_bin2bcd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 2 | bin_mask | 15 |
| PARAM_VALUE | 3 | bcd_mask | 31 |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | val | 0-255[c] |
| UNITS | 0 | rtc | unit_byte |
| HALF_LOCKED2 | &rtc->ops_lock |
drivers/rtc/rtc-ds1685.c ds1685_rtc_set_time() -> ds1685_rtc_bin2bcd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 2 | bin_mask | 127 |
| PARAM_VALUE | 3 | bcd_mask | 255 |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | val | 0-99[c] |
| UNITS | 0 | rtc | unit_byte |
| HALF_LOCKED2 | &rtc->ops_lock |
drivers/rtc/rtc-ds1685.c ds1685_rtc_set_time() -> ds1685_rtc_bin2bcd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 2 | bin_mask | 255 |
| PARAM_VALUE | 3 | bcd_mask | 255 |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | val | 0-255[c] |
| UNITS | 0 | rtc | unit_byte |
| HALF_LOCKED2 | &rtc->ops_lock |