Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/host/r8a66597-hcd.c make_r8a66597_device() -> get_port_number()

Type Parameter Key Value
PARAM_VALUE 0 r8a66597 4096-ptr_max
PARAM_VALUE 0 r8a66597->child_device.prev 4096-ptr_max
PARAM_VALUE 0 r8a66597->child_device.prev->next 4096-ptr_max
PARAM_VALUE 0 r8a66597->child_device.prev->next->next 4096-ptr_max
PARAM_VALUE 1 devpath 4096-ptr_max
PARAM_VALUE 2 root_port 4096-ptr_max
PARAM_VALUE 3 hub_port 4096-ptr_max
BUF_SIZE 1 devpath 16
DATA_SOURCE 0 r8a66597 $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 flags
HALF_LOCKED2 0 &r8a66597->lock

drivers/usb/host/r8a66597-hcd.c set_address_zero() -> get_port_number()

Type Parameter Key Value
PARAM_VALUE 2 root_port 3132977262286323712
PARAM_VALUE 3 hub_port 7860364919812493312
BUF_SIZE 1 devpath 16
DATA_SOURCE 0 r8a66597 $0
PREEMPT_ADD
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &r8a66597->lock
TYPE_LOCK (struct r8a66597)->lock