Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/gadget/function/f_phonet.c pn_disconnect() -> __pn_reset()

Type Parameter Key Value
PARAM_VALUE 0 f 4096-ptr_max
PARAM_VALUE 0 f->disable 1-u64max
DATA_SOURCE 0 f $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &port->lock
LOCK2 flags
TYPE_LOCK (struct phonet_port)->lock

drivers/usb/gadget/function/f_phonet.c pn_set_alt() -> __pn_reset()

Type Parameter Key Value
PARAM_VALUE 0 f 4096-ptr_max
DATA_SOURCE 0 f $0
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 &port->lock
TYPE_LOCK (struct phonet_port)->lock