Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/usb/core/ledtrig-usbport.c usbport_trig_port_observed() -> usb_of_get_device_node()

Type Parameter Key Value
PARAM_VALUE 0 hub 4096-ptr_max
PARAM_VALUE 0 hub->maxchild 1-s32max
PARAM_VALUE 1 port1 1-s32max
CAPPED_DATA 1 port1 1
DATA_SOURCE 0 hub $1
DATA_SOURCE 1 port1 $2
CONSTRAINT 1 port1 <=3318
RX_PATH
TASK_NOT_RUNNING
UNITS 1 port1 unit_array_size

drivers/usb/core/../misc/onboard_usb_dev_pdevs.c onboard_dev_create_pdevs() -> usb_of_get_device_node()

Type Parameter Key Value
PARAM_VALUE 0 hub 4096-ptr_max
PARAM_VALUE 0 hub->actconfig 4096-ptr_max
PARAM_VALUE 0 hub->actconfig->desc.bNumInterfaces 0-1
PARAM_VALUE 0 hub->descriptor.bNumConfigurations 0-1
PARAM_VALUE 0 hub->dev.of_node 1-u64max
PARAM_VALUE 0 hub->dev.power.autosuspend_delay s32min-0
PARAM_VALUE 0 hub->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 hub->level 0-5,7-255
PARAM_VALUE 0 hub->maxchild 1-s32max
PARAM_VALUE 0 hub->parent 0
PARAM_VALUE 0 *hub->toggle 0-4294967295
PARAM_VALUE 1 port1 1-s32max
CAPPED_DATA 0 hub 1
CAPPED_DATA 1 port1 1
DATA_SOURCE 0 hub $0
FUZZY_MAX 0 hub->actconfig->desc.bNumInterfaces 1
FUZZY_MAX 0 hub->descriptor.bNumConfigurations 1
FUZZY_MAX 0 hub->dev.power.autosuspend_delay 0
PARAM_COMPARE 1 port1 <= $0->maxchild
CONSTRAINT 1 port1 <=3318
HARD_MAX 0 hub->actconfig->desc.bNumInterfaces 1
HARD_MAX 0 hub->descriptor.bNumConfigurations 1
HARD_MAX 0 hub->dev.power.autosuspend_delay 0
RX_PATH
TASK_NOT_RUNNING
UNITS 1 port1 unit_array_size

drivers/usb/core/of.c usb_of_get_connect_type() -> usb_of_get_device_node()

Type Parameter Key Value
PARAM_VALUE 0 hub 4096-ptr_max
PARAM_VALUE 0 hub->actconfig 4096-ptr_max
PARAM_VALUE 0 hub->bus 4096-ptr_max
PARAM_VALUE 0 hub->descriptor.bNumConfigurations 0-1
PARAM_VALUE 0 hub->dev.power.autosuspend_delay s32min-0
PARAM_VALUE 0 hub->level 0-5,7-255
PARAM_VALUE 0 hub->parent 0
PARAM_VALUE 1 port1 1-31
CAPPED_DATA 1 port1 1
DATA_SOURCE 0 hub $0
DATA_SOURCE 1 port1 $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &usb_port_peer_mutex

drivers/usb/core/usb.c usb_alloc_dev() -> usb_of_get_device_node()

Type Parameter Key Value
PARAM_VALUE 0 hub 4096-ptr_max
PARAM_VALUE 0 hub->devpath 4096-ptr_max
DATA_SOURCE 0 hub $0
RX_PATH
TASK_NOT_RUNNING
UNITS 1 port1 unit_array_size
HALF_LOCKED2 &hdev->dev.mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &port_dev->status_lock
HALF_LOCKED2 hcd->address0_mutex