Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/thunderbolt/usb4.c usb4_usb3_port_read_allocated_bandwidth() -> usb3_bw_to_mbps()

Type Parameter Key Value
PARAM_VALUE 0 bw 0-4095
PARAM_VALUE 1 scale 0-63
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &tb->lock

drivers/thunderbolt/usb4.c usb4_usb3_port_read_allocated_bandwidth() -> usb3_bw_to_mbps()

Type Parameter Key Value
PARAM_VALUE 0 bw 0-4095
PARAM_VALUE 1 scale 0-63
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &tb->lock

drivers/thunderbolt/usb4.c usb4_usb3_port_read_consumed_bandwidth() -> usb3_bw_to_mbps()

Type Parameter Key Value
PARAM_VALUE 0 bw 0-4095
PARAM_VALUE 1 scale 0-63
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &tb->lock

drivers/thunderbolt/usb4.c usb4_usb3_port_read_consumed_bandwidth() -> usb3_bw_to_mbps()

Type Parameter Key Value
PARAM_VALUE 0 bw 0-4095
PARAM_VALUE 1 scale 0-63
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &tb->lock