Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/omapdrm/dss/
H A Dhdmi_phy.c100 u16 pol_val = 0; in hdmi_phy_configure_lanes() local
105 pol_val |= phy->lane_polarity[0] << 0; in hdmi_phy_configure_lanes()
106 pol_val |= phy->lane_polarity[1] << 3; in hdmi_phy_configure_lanes()
107 pol_val |= phy->lane_polarity[2] << 2; in hdmi_phy_configure_lanes()
108 pol_val |= phy->lane_polarity[3] << 1; in hdmi_phy_configure_lanes()
120 REG_FLD_MOD(phy->base, HDMI_TXPHY_PAD_CFG_CTRL, pol_val, 30, 27); in hdmi_phy_configure_lanes()
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Dhdmi_phy.c109 u16 pol_val = 0; in hdmi_phy_configure_lanes() local
114 pol_val |= phy->lane_polarity[0] << 0; in hdmi_phy_configure_lanes()
115 pol_val |= phy->lane_polarity[1] << 3; in hdmi_phy_configure_lanes()
116 pol_val |= phy->lane_polarity[2] << 2; in hdmi_phy_configure_lanes()
117 pol_val |= phy->lane_polarity[3] << 1; in hdmi_phy_configure_lanes()
129 REG_FLD_MOD(phy->base, HDMI_TXPHY_PAD_CFG_CTRL, pol_val, 30, 27); in hdmi_phy_configure_lanes()
/openbmc/linux/drivers/iio/accel/
H A Dmma9551_core.c540 u8 reg, pol_mask, pol_val; in mma9551_gpio_config() local
586 pol_val = polarity ? pol_mask : 0; in mma9551_gpio_config()
589 pol_mask, pol_val); in mma9551_gpio_config()