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_bcd2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 2 | bcd_mask | 31 |
| PARAM_VALUE | 3 | bin_mask | 15 |
| BUF_SIZE | 0 | rtc | 80 |
| DATA_SOURCE | 0 | rtc | r devm_kzalloc |
| BIT_INFO | 0 | rtc->read | 0x24f0102b4088000,0x5fff75befface000 |
| BIT_INFO | 0 | rtc->write | 0x80140caa1008000,0x1eafdfcbe9a28000 |
| MEM_ZERO | 0 | rtc | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | val | 0-255 |
drivers/rtc/rtc-ds1685.c ds1685_rtc_probe() -> ds1685_rtc_bcd2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 2 | bcd_mask | 31 |
| PARAM_VALUE | 3 | bin_mask | 15 |
| BUF_SIZE | 0 | rtc | 80 |
| DATA_SOURCE | 0 | rtc | r devm_kzalloc |
| 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-255 |
drivers/rtc/rtc-ds1685.c ds1685_rtc_read_alarm() -> ds1685_rtc_bcd2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 1 | val | 0-191 |
| PARAM_VALUE | 2 | bcd_mask | 127 |
| PARAM_VALUE | 3 | bin_mask | 63 |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| HOST_DATA | 1 | val | 0-191 |
| UNITS | 0 | rtc | unit_byte |
| LOCK2 | &rtc->ops_lock | ||
| TYPE_LOCK | (struct rtc_device)->ops_lock |
drivers/rtc/rtc-ds1685.c ds1685_rtc_read_alarm() -> ds1685_rtc_bcd2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 1 | val | 0-191 |
| PARAM_VALUE | 2 | bcd_mask | 127 |
| PARAM_VALUE | 3 | bin_mask | 63 |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| HOST_DATA | 1 | val | 0-191 |
| UNITS | 0 | rtc | unit_byte |
| LOCK2 | &rtc->ops_lock | ||
| TYPE_LOCK | (struct rtc_device)->ops_lock |
drivers/rtc/rtc-ds1685.c ds1685_rtc_read_alarm() -> ds1685_rtc_bcd2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 1 | val | 0-191 |
| PARAM_VALUE | 2 | bcd_mask | 63 |
| PARAM_VALUE | 3 | bin_mask | 31 |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| HOST_DATA | 1 | val | 0-191 |
| UNITS | 0 | rtc | unit_byte |
| LOCK2 | &rtc->ops_lock | ||
| TYPE_LOCK | (struct rtc_device)->ops_lock |
drivers/rtc/rtc-ds1685.c ds1685_rtc_read_alarm() -> ds1685_rtc_bcd2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 1 | val | 1-49 |
| PARAM_VALUE | 2 | bcd_mask | 63 |
| PARAM_VALUE | 3 | bin_mask | 31 |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| HOST_DATA | 1 | val | 1-49 |
| UNITS | 0 | rtc | unit_byte |
| LOCK2 | &rtc->ops_lock | ||
| TYPE_LOCK | (struct rtc_device)->ops_lock |
drivers/rtc/rtc-ds1685.c ds1685_rtc_read_time() -> ds1685_rtc_bcd2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 2 | bcd_mask | 255 |
| PARAM_VALUE | 3 | bin_mask | 127 |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | val | 0-255 |
| UNITS | 0 | rtc | unit_byte |
| HALF_LOCKED2 | &rtc->ops_lock |
drivers/rtc/rtc-ds1685.c ds1685_rtc_read_time() -> ds1685_rtc_bcd2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 2 | bcd_mask | 255 |
| PARAM_VALUE | 3 | bin_mask | 255 |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | val | 0-255 |
| UNITS | 0 | rtc | unit_byte |
| HALF_LOCKED2 | &rtc->ops_lock |
drivers/rtc/rtc-ds1685.c ds1685_rtc_read_time() -> ds1685_rtc_bcd2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 2 | bcd_mask | 127 |
| PARAM_VALUE | 3 | bin_mask | 63 |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | val | 0-255 |
| UNITS | 0 | rtc | unit_byte |
| HALF_LOCKED2 | &rtc->ops_lock |
drivers/rtc/rtc-ds1685.c ds1685_rtc_read_time() -> ds1685_rtc_bcd2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 2 | bcd_mask | 127 |
| PARAM_VALUE | 3 | bin_mask | 63 |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | val | 0-255 |
| UNITS | 0 | rtc | unit_byte |
| HALF_LOCKED2 | &rtc->ops_lock |
drivers/rtc/rtc-ds1685.c ds1685_rtc_read_time() -> ds1685_rtc_bcd2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 2 | bcd_mask | 63 |
| PARAM_VALUE | 3 | bin_mask | 31 |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | val | 0-255 |
| UNITS | 0 | rtc | unit_byte |
| HALF_LOCKED2 | &rtc->ops_lock |
drivers/rtc/rtc-ds1685.c ds1685_rtc_read_time() -> ds1685_rtc_bcd2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 2 | bcd_mask | 7 |
| PARAM_VALUE | 3 | bin_mask | 7 |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | val | 0-255 |
| UNITS | 0 | rtc | unit_byte |
| HALF_LOCKED2 | &rtc->ops_lock |
drivers/rtc/rtc-ds1685.c ds1685_rtc_read_time() -> ds1685_rtc_bcd2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 2 | bcd_mask | 63 |
| PARAM_VALUE | 3 | bin_mask | 31 |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | val | 0-255 |
| UNITS | 0 | rtc | unit_byte |
| HALF_LOCKED2 | &rtc->ops_lock |
drivers/rtc/rtc-ds1685.c ds1685_rtc_read_time() -> ds1685_rtc_bcd2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rtc | 4096-ptr_max |
| PARAM_VALUE | 2 | bcd_mask | 31 |
| PARAM_VALUE | 3 | bin_mask | 15 |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rtc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | val | 0-255 |
| UNITS | 0 | rtc | unit_byte |
| HALF_LOCKED2 | &rtc->ops_lock |