Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/core/hub.c hub_port_connect() -> set_port_feature()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->bus 4096-ptr_max
PARAM_VALUE 1 port1 1-s32max
PARAM_VALUE 2 feature 8
CAPPED_DATA 0 hdev->maxchild 1
CAPPED_DATA 1 port1 1
DATA_SOURCE 1 port1 $1
CONSTRAINT 1 port1 <=3318
NOCHECK_CALL
UNITS 1 port1 unit_array_size
LOCK2 &hdev->dev.mutex
LOCK2 &port_dev->status_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct device)->mutex

drivers/usb/core/hub.c hub_port_reset() -> set_port_feature()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->descriptor.bDeviceProtocol 3
PARAM_VALUE 0 hdev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 hdev->parent->bus->sysdev->iommu->attach_deferred 0-1
PARAM_VALUE 0 *hdev->toggle 0-4294967295
PARAM_VALUE 1 port1 1-s32max
PARAM_VALUE 2 feature 28
CAPPED_DATA 1 port1 1
DATA_SOURCE 1 port1 $1
CONSTRAINT 1 port1 <=3318
UNITS 1 port1 unit_array_size
LOCK2 &hdev->dev.mutex
LOCK2 &port_dev->status_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &ehci_cf_port_reset_rwsem
TYPE_LOCK (struct device)->mutex
TYPE_LOCK (struct usb_port)->status_lock

drivers/usb/core/hub.c hub_power_on() -> set_port_feature()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 hdev->maxchild 1-s32max
PARAM_VALUE 0 *hdev->toggle 0-4294967295
PARAM_VALUE 1 port1 1-s32max
PARAM_VALUE 2 feature 8
CAPPED_DATA 1 port1 1
PARAM_COMPARE 0 hdev->maxchild >= $1
PARAM_COMPARE 1 port1 <= $0->maxchild
CONSTRAINT 1 port1 <=3318
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 port1 unit_array_size
HALF_LOCKED2 &hdev->dev.mutex
HALF_LOCKED2 &port_dev->status_lock

drivers/usb/core/hub.c hub_set_port_link_state() -> set_port_feature()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->descriptor.bDeviceProtocol 3
PARAM_VALUE 0 hdev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 *hdev->toggle 0-4294967295
PARAM_VALUE 2 feature 5
BIT_INFO 1 port1 0x0,0x7fffffff
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &port_dev->status_lock

drivers/usb/core/hub.c hub_suspend() -> set_port_feature()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->descriptor.bDeviceProtocol 3
PARAM_VALUE 0 hdev->do_remote_wakeup 1
PARAM_VALUE 0 hdev->maxchild s32min-(-2),1-s32max
PARAM_VALUE 1 port1 s32min-(-2147481857),1793-s32max
PARAM_VALUE 2 feature 27
CAPPED_DATA 0 hdev->maxchild 1
CAPPED_DATA 1 port1 1
BIT_INFO 1 port1 0x700,0x7fffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/core/hub.c set_port_led() -> set_port_feature()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 *hdev->toggle 0-4294967295
PARAM_VALUE 2 feature 22
HALF_LOCKED2 &hdev->dev.mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &port_dev->status_lock

drivers/usb/core/hub.c usb_hub_set_port_power() -> set_port_feature()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 1 port1 0-s32max
PARAM_VALUE 2 feature 8
CAPPED_DATA 1 port1 1
DATA_SOURCE 0 hdev $0
DATA_SOURCE 1 port1 $2
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 0 &hdev->dev.mutex

drivers/usb/core/hub.c usb_port_suspend() -> set_port_feature()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->descriptor.bDeviceProtocol 0-2,4-255
PARAM_VALUE 1 port1 0-255
PARAM_VALUE 2 feature 2
RX_PATH
TASK_NOT_RUNNING
UNITS 1 port1 unit_array_size
LOCK2 &port_dev->status_lock
TYPE_LOCK (struct usb_port)->status_lock

drivers/usb/core/hub.c usb_set_lpm_timeout() -> set_port_feature()

Type Parameter Key Value
PARAM_VALUE 0 hdev 1-u64max
PARAM_VALUE 0 hdev->bus->sysdev->iommu->attach_deferred 0-1
PARAM_VALUE 0 hdev->dev.iommu->attach_deferred 0-1
PARAM_VALUE 1 port1 0-u16max
PARAM_VALUE 2 feature 23-24
FUZZY_MAX 2 feature 24
BIT_INFO 2 feature 0x10,0x1f
HARD_MAX 2 feature 24
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &udev->dev.mutex
HALF_LOCKED2 hcd->bandwidth_mutex