Home
last modified time | relevance | path

Searched refs:PORTX_CAP_SHIFT (Results 1 – 1 of 1) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/phy/tegra/
H A Dxusb-tegra186.c42 #define PORTX_CAP_SHIFT(x) ((x) * 4) macro
422 value &= ~(PORT_CAP_MASK << PORTX_CAP_SHIFT(index)); in tegra186_utmi_phy_power_on()
425 value |= (PORT_CAP_DISABLED << PORTX_CAP_SHIFT(index)); in tegra186_utmi_phy_power_on()
427 value |= (PORT_CAP_DEVICE << PORTX_CAP_SHIFT(index)); in tegra186_utmi_phy_power_on()
429 value |= (PORT_CAP_HOST << PORTX_CAP_SHIFT(index)); in tegra186_utmi_phy_power_on()
431 value |= (PORT_CAP_OTG << PORTX_CAP_SHIFT(index)); in tegra186_utmi_phy_power_on()
712 value &= ~(PORT_CAP_MASK << PORTX_CAP_SHIFT(index)); in tegra186_usb3_phy_power_on()
715 value |= (PORT_CAP_DISABLED << PORTX_CAP_SHIFT(index)); in tegra186_usb3_phy_power_on()
717 value |= (PORT_CAP_DEVICE << PORTX_CAP_SHIFT(index)); in tegra186_usb3_phy_power_on()
719 value |= (PORT_CAP_HOST << PORTX_CAP_SHIFT(index)); in tegra186_usb3_phy_power_on()
[all …]