Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/thunderbolt/usb4_port.c tb_to_usb4_port_device() -> tb_is_usb4_port_device()

Type Parameter Key Value
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &component_mutex

drivers/thunderbolt/acpi.c tb_acpi_bus_match() -> tb_is_usb4_port_device()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->type 0-3070551060236075007,3070551060236075009-u64max
CAPPED_DATA 0 dev 1
DATA_SOURCE 0 dev $0
LOCK2 global &bus_type_sem

drivers/thunderbolt/acpi.c tb_acpi_find_companion() -> tb_is_usb4_port_device()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->type 4096-3070551060236075007,3070551060236075009-ptr_max
CAPPED_DATA 0 dev 1
DATA_SOURCE 0 dev $0

drivers/thunderbolt/acpi.c tb_to_usb4_port_device() -> tb_is_usb4_port_device()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->type 4096-ptr_max
CAPPED_DATA 0 dev 1
DATA_SOURCE 0 dev $0