Searched refs:phy_config (Results 1 – 12 of 12) sorted by relevance
/drivers/gpu/drm/sti/ |
D | sti_vtac.c | 106 u32 phy_config; in sti_vtac_tx_set_config() local 114 phy_config = 0x00000000; in sti_vtac_tx_set_config() 115 writel(phy_config, vtac->phy_regs + VTAC_SYS_CFG8522); in sti_vtac_tx_set_config() 116 phy_config = VTAC_TX_PHY_ENABLE_CLK_PHY; in sti_vtac_tx_set_config() 117 writel(phy_config, vtac->phy_regs + VTAC_SYS_CFG8521); in sti_vtac_tx_set_config() 118 phy_config = readl(vtac->phy_regs + VTAC_SYS_CFG8521); in sti_vtac_tx_set_config() 119 phy_config |= VTAC_TX_PHY_PROG_N3; in sti_vtac_tx_set_config() 120 writel(phy_config, vtac->phy_regs + VTAC_SYS_CFG8521); in sti_vtac_tx_set_config() 121 phy_config = readl(vtac->phy_regs + VTAC_SYS_CFG8521); in sti_vtac_tx_set_config() 122 phy_config |= VTAC_TX_PHY_ENABLE_CLK_DLL; in sti_vtac_tx_set_config() [all …]
|
/drivers/net/wireless/realtek/rtl818x/rtl8180/ |
D | grf5101.c | 39 u32 phy_config; in write_grf5101() local 41 phy_config = grf5101_encode[(data >> 8) & 0xF]; in write_grf5101() 42 phy_config |= grf5101_encode[(data >> 4) & 0xF] << 4; in write_grf5101() 43 phy_config |= grf5101_encode[data & 0xF] << 8; in write_grf5101() 44 phy_config |= grf5101_encode[(addr >> 1) & 0xF] << 12; in write_grf5101() 45 phy_config |= (addr & 1) << 16; in write_grf5101() 46 phy_config |= grf5101_encode[(data & 0xf000) >> 12] << 24; in write_grf5101() 49 phy_config |= 0x90000000; in write_grf5101() 52 (__le32 __iomem *) &priv->map->RFPinsOutput, phy_config); in write_grf5101()
|
D | max2820.c | 48 u32 phy_config; in write_max2820() local 50 phy_config = 0x90 + (data & 0xf); in write_max2820() 51 phy_config <<= 16; in write_max2820() 52 phy_config += addr; in write_max2820() 53 phy_config <<= 8; in write_max2820() 54 phy_config += (data >> 4) & 0xff; in write_max2820() 57 (__le32 __iomem *) &priv->map->RFPinsOutput, phy_config); in write_max2820()
|
D | sa2400.c | 49 u32 phy_config; in write_sa2400() local 52 phy_config = 0xb0000000; in write_sa2400() 54 phy_config |= ((u32)(addr & 0xf)) << 24; in write_sa2400() 55 phy_config |= data & 0xffffff; in write_sa2400() 58 (__le32 __iomem *) &priv->map->RFPinsOutput, phy_config); in write_sa2400()
|
/drivers/staging/slicoss/ |
D | slicoss.c | 234 u32 phy_config; in slic_link_config() local 263 phy_config = in slic_link_config() 267 slic_reg32_write(wphy, phy_config, FLUSH); in slic_link_config() 273 phy_config = (MIICR_REG_PCR | PCR_POWERDOWN); in slic_link_config() 274 slic_reg32_write(wphy, phy_config, FLUSH); in slic_link_config() 285 phy_config = in slic_link_config() 289 slic_reg32_write(wphy, phy_config, FLUSH); in slic_link_config() 326 phy_config = in slic_link_config() 328 slic_reg32_write(wphy, phy_config, FLUSH); in slic_link_config() 331 phy_config = in slic_link_config() [all …]
|
/drivers/gpu/drm/imx/ |
D | dw_hdmi-imx.c | 179 .phy_config = imx_phy_config, 187 .phy_config = imx_phy_config,
|
/drivers/gpu/drm/bridge/ |
D | dw_hdmi.c | 740 const struct dw_hdmi_phy_config *phy_config = pdata->phy_config; in hdmi_phy_configure() local 771 for (; phy_config->mpixelclock != ~0UL; phy_config++) in hdmi_phy_configure() 773 phy_config->mpixelclock) in hdmi_phy_configure() 778 phy_config->mpixelclock == ~0UL) { in hdmi_phy_configure() 818 hdmi_phy_i2c_write(hdmi, phy_config->term, 0x19); /* TXTERM */ in hdmi_phy_configure() 819 hdmi_phy_i2c_write(hdmi, phy_config->sym_ctr, 0x09); /* CKSYMTXCTRL */ in hdmi_phy_configure() 820 hdmi_phy_i2c_write(hdmi, phy_config->vlev_ctr, 0x0E); /* VLEVCTRL */ in hdmi_phy_configure()
|
/drivers/net/wireless/iwlwifi/ |
D | iwl-fw.h | 261 u32 phy_config; member
|
D | iwl-drv.c | 830 drv->fw.phy_config = le32_to_cpup((__le32 *)tlv_data); in iwl_parse_tlv_firmware() 831 drv->fw.valid_tx_ant = (drv->fw.phy_config & in iwl_parse_tlv_firmware() 834 drv->fw.valid_rx_ant = (drv->fw.phy_config & in iwl_parse_tlv_firmware()
|
/drivers/net/wireless/iwlwifi/mvm/ |
D | mvm.h | 1086 u32 phy_config = ~(FW_PHY_CFG_TX_CHAIN | in iwl_mvm_get_phy_config() local 1091 phy_config |= valid_tx_ant << FW_PHY_CFG_TX_CHAIN_POS | in iwl_mvm_get_phy_config() 1094 return mvm->fw->phy_config & phy_config; in iwl_mvm_get_phy_config()
|
D | ops.c | 147 u32 phy_config = iwl_mvm_get_phy_config(mvm); in iwl_mvm_nic_config() local 149 radio_cfg_type = (phy_config & FW_PHY_CFG_RADIO_TYPE) >> in iwl_mvm_nic_config() 151 radio_cfg_step = (phy_config & FW_PHY_CFG_RADIO_STEP) >> in iwl_mvm_nic_config() 153 radio_cfg_dash = (phy_config & FW_PHY_CFG_RADIO_DASH) >> in iwl_mvm_nic_config()
|
/drivers/gpu/drm/rockchip/ |
D | dw_hdmi-rockchip.c | 233 .phy_config = rockchip_phy_config,
|