Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/usb/host/xhci-mtk.c xhci_mtk_quirks() -> hcd_to_mtk()

Type Parameter Key Value
PARAM_VALUE 0 hcd 4096-ptr_max

drivers/usb/host/xhci-mtk.c xhci_mtk_setup() -> hcd_to_mtk()

Type Parameter Key Value
DATA_SOURCE 0 hcd $0

drivers/usb/host/xhci-mtk-sch.c add_ep_quirk() -> hcd_to_mtk()

Type Parameter Key Value
PARAM_VALUE 0 hcd 4096-ptr_max
CAPPED_DATA 0 hcd 1
CAPPED_DATA 0 hcd->primary_hcd 1
DATA_SOURCE 0 hcd $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 hcd->bandwidth_mutex
HALF_LOCKED2 &udev->dev.mutex

drivers/usb/host/xhci-mtk-sch.c drop_ep_quirk() -> hcd_to_mtk()

Type Parameter Key Value
PARAM_VALUE 0 hcd 4096-ptr_max
CAPPED_DATA 0 hcd 1
DATA_SOURCE 0 hcd $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 hcd->bandwidth_mutex
HALF_LOCKED2 &udev->dev.mutex

drivers/usb/host/xhci-mtk-sch.c xhci_mtk_check_bandwidth() -> hcd_to_mtk()

Type Parameter Key Value
PARAM_VALUE 0 hcd 4096-ptr_max
CAPPED_DATA 0 hcd 1
DATA_SOURCE 0 hcd $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 hcd->bandwidth_mutex
HALF_LOCKED2 &udev->dev.mutex

drivers/usb/host/xhci-mtk-sch.c xhci_mtk_reset_bandwidth() -> hcd_to_mtk()

Type Parameter Key Value
PARAM_VALUE 0 hcd 4096-ptr_max
CAPPED_DATA 0 hcd 1
DATA_SOURCE 0 hcd $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 hcd->bandwidth_mutex
HALF_LOCKED2 &udev->dev.mutex