Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/rtc/rtc-bq4802.c bq4802_read_time() -> (struct bq4802)->write()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 1 off 14
BUF_SIZE 0 p s32min-(-2),1-s32max
BUF_SIZE 0 p s32min-(-2),1-s32max
CONTAINER 0 -112+0 $(-1)
BIT_INFO 2 val 0x8,0xff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 val 0-255
LOCK2 flags
LOCK2 0 &p->lock
HALF_LOCKED2 &rtc->ops_lock
TYPE_LOCK (struct bq4802)->lock

drivers/rtc/rtc-bq4802.c bq4802_read_time() -> (struct bq4802)->write()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 1 off 14
BUF_SIZE 0 p s32min-(-2),1-s32max
BUF_SIZE 0 p s32min-(-2),1-s32max
CONTAINER 0 -112+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 val 0-255
LOCK2 flags
LOCK2 0 &p->lock
HALF_LOCKED2 &rtc->ops_lock
TYPE_LOCK (struct bq4802)->lock

drivers/rtc/rtc-bq4802.c bq4802_set_time() -> (struct bq4802)->write()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 1 off 14
BUF_SIZE 0 p s32min-(-2),1-s32max
BUF_SIZE 0 p s32min-(-2),1-s32max
CONTAINER 0 -112+0 $(-1)
BIT_INFO 2 val 0x8,0xff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 val 0-255
LOCK2 flags
LOCK2 0 &p->lock
HALF_LOCKED2 &rtc->ops_lock
TYPE_LOCK (struct bq4802)->lock

drivers/rtc/rtc-bq4802.c bq4802_set_time() -> (struct bq4802)->write()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 1 off 0
BUF_SIZE 0 p s32min-(-2),1-s32max
BUF_SIZE 0 p s32min-(-2),1-s32max
DATA_SOURCE 2 val r _bin2bcd
CONTAINER 0 -112+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &p->lock
HALF_LOCKED2 &rtc->ops_lock
TYPE_LOCK (struct bq4802)->lock

drivers/rtc/rtc-bq4802.c bq4802_set_time() -> (struct bq4802)->write()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 1 off 2
BUF_SIZE 0 p s32min-(-2),1-s32max
BUF_SIZE 0 p s32min-(-2),1-s32max
CAPPED_DATA 2 val 1
DATA_SOURCE 2 val r _bin2bcd
CONTAINER 0 -112+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &p->lock
HALF_LOCKED2 &rtc->ops_lock
TYPE_LOCK (struct bq4802)->lock

drivers/rtc/rtc-bq4802.c bq4802_set_time() -> (struct bq4802)->write()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 1 off 4
BUF_SIZE 0 p s32min-(-2),1-s32max
BUF_SIZE 0 p s32min-(-2),1-s32max
DATA_SOURCE 2 val r _bin2bcd
CONTAINER 0 -112+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &p->lock
HALF_LOCKED2 &rtc->ops_lock
TYPE_LOCK (struct bq4802)->lock

drivers/rtc/rtc-bq4802.c bq4802_set_time() -> (struct bq4802)->write()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 1 off 6
BUF_SIZE 0 p s32min-(-2),1-s32max
BUF_SIZE 0 p s32min-(-2),1-s32max
DATA_SOURCE 2 val r _bin2bcd
CONTAINER 0 -112+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &p->lock
HALF_LOCKED2 &rtc->ops_lock
TYPE_LOCK (struct bq4802)->lock

drivers/rtc/rtc-bq4802.c bq4802_set_time() -> (struct bq4802)->write()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 1 off 9
BUF_SIZE 0 p s32min-(-2),1-s32max
BUF_SIZE 0 p s32min-(-2),1-s32max
DATA_SOURCE 2 val r _bin2bcd
CONTAINER 0 -112+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &p->lock
HALF_LOCKED2 &rtc->ops_lock
TYPE_LOCK (struct bq4802)->lock

drivers/rtc/rtc-bq4802.c bq4802_set_time() -> (struct bq4802)->write()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 1 off 10
BUF_SIZE 0 p s32min-(-2),1-s32max
BUF_SIZE 0 p s32min-(-2),1-s32max
DATA_SOURCE 2 val r _bin2bcd
CONTAINER 0 -112+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &p->lock
HALF_LOCKED2 &rtc->ops_lock
TYPE_LOCK (struct bq4802)->lock

drivers/rtc/rtc-bq4802.c bq4802_set_time() -> (struct bq4802)->write()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 1 off 15
BUF_SIZE 0 p s32min-(-2),1-s32max
BUF_SIZE 0 p s32min-(-2),1-s32max
DATA_SOURCE 2 val r _bin2bcd
CONTAINER 0 -112+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &p->lock
HALF_LOCKED2 &rtc->ops_lock
TYPE_LOCK (struct bq4802)->lock

drivers/rtc/rtc-bq4802.c bq4802_set_time() -> (struct bq4802)->write()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 1 off 14
BUF_SIZE 0 p s32min-(-2),1-s32max
BUF_SIZE 0 p s32min-(-2),1-s32max
CONTAINER 0 -112+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 val 0-255
LOCK2 flags
LOCK2 0 &p->lock
HALF_LOCKED2 &rtc->ops_lock
TYPE_LOCK (struct bq4802)->lock