Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/phy/tegra/
Dxusb-tegra186.c42 #define PORTX_CAP_SHIFT(x) ((x) * 4) macro
327 value &= ~(PORT_CAP_MASK << PORTX_CAP_SHIFT(index)); in tegra186_utmi_phy_power_on()
330 value |= (PORT_CAP_DISABLED << PORTX_CAP_SHIFT(index)); in tegra186_utmi_phy_power_on()
332 value |= (PORT_CAP_DEVICE << PORTX_CAP_SHIFT(index)); in tegra186_utmi_phy_power_on()
334 value |= (PORT_CAP_HOST << PORTX_CAP_SHIFT(index)); in tegra186_utmi_phy_power_on()
336 value |= (PORT_CAP_OTG << PORTX_CAP_SHIFT(index)); in tegra186_utmi_phy_power_on()
625 value &= ~(PORT_CAP_MASK << PORTX_CAP_SHIFT(index)); in tegra186_usb3_phy_power_on()
628 value |= (PORT_CAP_DISABLED << PORTX_CAP_SHIFT(index)); in tegra186_usb3_phy_power_on()
630 value |= (PORT_CAP_DEVICE << PORTX_CAP_SHIFT(index)); in tegra186_usb3_phy_power_on()
632 value |= (PORT_CAP_HOST << PORTX_CAP_SHIFT(index)); in tegra186_usb3_phy_power_on()
[all …]