Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/gpu/drm/sti/
Dsti_vtac.c106 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 …]
/linux-4.1.27/drivers/net/wireless/rtl818x/rtl8180/
Dgrf5101.c39 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()
Dmax2820.c48 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()
Dsa2400.c49 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()
/linux-4.1.27/tools/firewire/
Dnosy-dump.c780 if (!pp->phy_config.set_root && !pp->phy_config.set_gap_count) { in print_packet()
781 printf("ext phy config: phy_id=%02x", pp->phy_config.root_id); in print_packet()
784 if (pp->phy_config.set_root) in print_packet()
785 printf(" set_root_id=%02x", pp->phy_config.root_id); in print_packet()
786 if (pp->phy_config.set_gap_count) in print_packet()
787 printf(" set_gap_count=%d", pp->phy_config.gap_count); in print_packet()
Dnosy-dump.h29 } phy_config; member
/linux-4.1.27/drivers/staging/slicoss/
Dslicoss.c233 u32 phy_config; in slic_link_config() local
261 phy_config = in slic_link_config()
265 slic_reg32_write(wphy, phy_config, FLUSH); in slic_link_config()
269 phy_config = (MIICR_REG_PCR | PCR_POWERDOWN); in slic_link_config()
270 slic_reg32_write(wphy, phy_config, FLUSH); in slic_link_config()
277 phy_config = in slic_link_config()
281 slic_reg32_write(wphy, phy_config, FLUSH); in slic_link_config()
313 phy_config = in slic_link_config()
315 slic_reg32_write(wphy, phy_config, FLUSH); in slic_link_config()
318 phy_config = in slic_link_config()
[all …]
/linux-4.1.27/drivers/gpu/drm/imx/
Ddw_hdmi-imx.c166 .phy_config = imx_phy_config,
174 .phy_config = imx_phy_config,
/linux-4.1.27/include/drm/bridge/
Ddw_hdmi.h52 const struct dw_hdmi_phy_config *phy_config; member
/linux-4.1.27/drivers/net/wireless/iwlwifi/
Diwl-fw.h180 u32 phy_config; member
Diwl-drv.c792 drv->fw.phy_config = le32_to_cpup((__le32 *)tlv_data); in iwl_parse_tlv_firmware()
793 drv->fw.valid_tx_ant = (drv->fw.phy_config & in iwl_parse_tlv_firmware()
796 drv->fw.valid_rx_ant = (drv->fw.phy_config & in iwl_parse_tlv_firmware()
/linux-4.1.27/drivers/gpu/drm/bridge/
Ddw_hdmi.c761 const struct dw_hdmi_phy_config *phy_config = plat_data->phy_config; in hdmi_phy_configure() local
832 for (i = 0; phy_config[i].mpixelclock != (~0UL); i++) in hdmi_phy_configure()
834 phy_config[i].mpixelclock) in hdmi_phy_configure()
838 hdmi_phy_i2c_write(hdmi, phy_config[i].term, 0x19); /* TXTERM */ in hdmi_phy_configure()
840 hdmi_phy_i2c_write(hdmi, phy_config[i].sym_ctr, 0x09); /* CKSYMTXCTRL */ in hdmi_phy_configure()
842 hdmi_phy_i2c_write(hdmi, phy_config[i].vlev_ctr, 0x0E); /* VLEVCTRL */ in hdmi_phy_configure()
/linux-4.1.27/drivers/gpu/drm/rockchip/
Ddw_hdmi-rockchip.c233 .phy_config = rockchip_phy_config,
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
Dops.c146 u32 phy_config = iwl_mvm_get_phy_config(mvm); in iwl_mvm_nic_config() local
148 radio_cfg_type = (phy_config & FW_PHY_CFG_RADIO_TYPE) >> in iwl_mvm_nic_config()
150 radio_cfg_step = (phy_config & FW_PHY_CFG_RADIO_STEP) >> in iwl_mvm_nic_config()
152 radio_cfg_dash = (phy_config & FW_PHY_CFG_RADIO_DASH) >> in iwl_mvm_nic_config()
Dmvm.h1062 u32 phy_config = ~(FW_PHY_CFG_TX_CHAIN | in iwl_mvm_get_phy_config() local
1067 phy_config |= valid_tx_ant << FW_PHY_CFG_TX_CHAIN_POS | in iwl_mvm_get_phy_config()
1070 return mvm->fw->phy_config & phy_config; in iwl_mvm_get_phy_config()