| /OK3568_Linux_fs/kernel/drivers/net/wireless/realtek/rtl818x/rtl8180/ |
| H A D | grf5101.c | 36 u32 phy_config; in write_grf5101() local 38 phy_config = grf5101_encode[(data >> 8) & 0xF]; in write_grf5101() 39 phy_config |= grf5101_encode[(data >> 4) & 0xF] << 4; in write_grf5101() 40 phy_config |= grf5101_encode[data & 0xF] << 8; in write_grf5101() 41 phy_config |= grf5101_encode[(addr >> 1) & 0xF] << 12; in write_grf5101() 42 phy_config |= (addr & 1) << 16; in write_grf5101() 43 phy_config |= grf5101_encode[(data & 0xf000) >> 12] << 24; in write_grf5101() 46 phy_config |= 0x90000000; in write_grf5101() 49 (__le32 __iomem *) &priv->map->RFPinsOutput, phy_config); in write_grf5101()
|
| H A D | max2820.c | 45 u32 phy_config; in write_max2820() local 47 phy_config = 0x90 + (data & 0xf); in write_max2820() 48 phy_config <<= 16; in write_max2820() 49 phy_config += addr; in write_max2820() 50 phy_config <<= 8; in write_max2820() 51 phy_config += (data >> 4) & 0xff; in write_max2820() 54 (__le32 __iomem *) &priv->map->RFPinsOutput, phy_config); in write_max2820()
|
| H A D | sa2400.c | 46 u32 phy_config; in write_sa2400() local 49 phy_config = 0xb0000000; in write_sa2400() 51 phy_config |= ((u32)(addr & 0xf)) << 24; in write_sa2400() 52 phy_config |= data & 0xffffff; in write_sa2400() 55 (__le32 __iomem *) &priv->map->RFPinsOutput, phy_config); in write_sa2400()
|
| /OK3568_Linux_fs/u-boot/drivers/video/drm/ |
| H A D | rockchip-inno-hdmi-phy.c | 158 struct phy_config { struct 172 struct phy_config *phy_cfg; argument 203 const struct phy_config *phy_cfg); 214 const struct phy_config *phy_cfg_table; 275 static const struct phy_config rk3228_phy_cfg[] = { 298 static const struct phy_config rk3328_phy_cfg[] = { 321 static const struct phy_config rk3528_phy_cfg[] = { 448 const struct phy_config *phy_cfg = inno->plat_data->phy_cfg_table; in inno_hdmi_phy_power_on() 574 const struct phy_config *phy_cfg) in inno_hdmi_phy_rk3228_power_on() 722 const struct phy_config *phy_cfg) in inno_hdmi_phy_rk3328_power_on() [all …]
|
| H A D | inno_hdmi.c | 133 struct inno_hdmi_phy_config *phy_config; member 203 const struct inno_hdmi_phy_config *phy_config = in inno_hdmi_set_pwr_mode() local 204 hdmi->plat_data->phy_config; in inno_hdmi_set_pwr_mode() 209 for (; phy_config->mpixelclock != ~0UL; phy_config++) in inno_hdmi_set_pwr_mode() 210 if (hdmi->tmds_rate <= phy_config->mpixelclock) in inno_hdmi_set_pwr_mode() 212 if (!phy_config->mpixelclock) in inno_hdmi_set_pwr_mode() 215 phy_config->pre_emphasis); in inno_hdmi_set_pwr_mode() 216 hdmi_writeb(hdmi, HDMI_PHY_DRIVER, phy_config->vlev_ctr); in inno_hdmi_set_pwr_mode() 822 .phy_config = rk3036_hdmi_phy_config, 827 .phy_config = rk3128_hdmi_phy_config,
|
| H A D | dw_hdmi.c | 780 const struct dw_hdmi_phy_config *phy_config = pdata->phy_config; in hdmi_phy_configure_dwc_hdmi_3d_tx() local 798 for (; phy_config->mpixelclock != ~0UL; phy_config++) in hdmi_phy_configure_dwc_hdmi_3d_tx() 799 if (tmdsclock <= phy_config->mpixelclock) in hdmi_phy_configure_dwc_hdmi_3d_tx() 804 phy_config->mpixelclock == ~0UL) in hdmi_phy_configure_dwc_hdmi_3d_tx() 826 dw_hdmi_phy_i2c_write(hdmi, phy_config->term, HDMI_3D_TX_PHY_TXTERM); in hdmi_phy_configure_dwc_hdmi_3d_tx() 827 dw_hdmi_phy_i2c_write(hdmi, phy_config->sym_ctr, in hdmi_phy_configure_dwc_hdmi_3d_tx() 829 dw_hdmi_phy_i2c_write(hdmi, phy_config->vlev_ctr, in hdmi_phy_configure_dwc_hdmi_3d_tx() 2384 if (ret > 0 && hdmi->plat_data->phy_config) { in rockchip_dw_hdmi_init() 2385 u32 phy_config[ret / 4]; in rockchip_dw_hdmi_init() local 2388 dev_read_u32_array(conn->dev, "rockchip,phy-table", phy_config, ret / 4); in rockchip_dw_hdmi_init() [all …]
|
| H A D | rockchip_dw_hdmi.c | 601 .phy_config = rockchip_phy_config, 624 .phy_config = rockchip_phy_config, 634 .phy_config = rockchip_phy_config, 652 .phy_config = rockchip_phy_config,
|
| /OK3568_Linux_fs/kernel/drivers/phy/rockchip/ |
| H A D | phy-rockchip-inno-hdmi-phy.c | 160 struct phy_config { struct 175 struct phy_config *phy_cfg; argument 218 const struct phy_config *phy_cfg); 229 const struct phy_config *phy_cfg_table; 301 static const struct phy_config rk3228_phy_cfg[] = { 324 static const struct phy_config rk3328_phy_cfg[] = { 347 static const struct phy_config rk3528_phy_cfg[] = { 476 const struct phy_config *phy_cfg = inno->plat_data->phy_cfg_table; in inno_hdmi_phy_power_on() 715 const struct phy_config *phy_cfg) in inno_hdmi_phy_rk3228_power_on() 897 const struct phy_config *phy_cfg) in inno_hdmi_phy_rk3328_power_on() [all …]
|
| H A D | phy-rockchip-inno-hdmi.c | 274 struct phy_config { struct 283 const struct phy_config *phy_cfg); argument 290 const struct phy_config *phy_cfg_table; 334 static const struct phy_config rk3228_phy_cfg[] = { 353 static const struct phy_config rk3328_phy_cfg[] = { 461 const struct phy_config *phy_cfg = inno->plat_data->phy_cfg_table; in inno_hdmi_phy_power_on() 898 const struct phy_config *phy_cfg) in inno_hdmi_phy_rk3228_power_on() 1013 const struct phy_config *phy_cfg) in inno_hdmi_phy_rk3328_power_on()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/ |
| H A D | inno_hdmi.c | 71 struct inno_hdmi_phy_config *phy_config; member 220 const struct inno_hdmi_phy_config *phy_config = in inno_hdmi_set_pwr_mode() local 221 hdmi->plat_data->phy_config; in inno_hdmi_set_pwr_mode() 226 for (; phy_config->mpixelclock != ~0UL; phy_config++) in inno_hdmi_set_pwr_mode() 227 if (hdmi->tmds_rate <= phy_config->mpixelclock) in inno_hdmi_set_pwr_mode() 229 if (!phy_config->mpixelclock) in inno_hdmi_set_pwr_mode() 232 phy_config->pre_emphasis); in inno_hdmi_set_pwr_mode() 233 hdmi_writeb(hdmi, HDMI_PHY_DRIVER, phy_config->vlev_ctr); in inno_hdmi_set_pwr_mode() 1088 .phy_config = rk3036_hdmi_phy_config, 1093 .phy_config = rk3128_hdmi_phy_config,
|
| H A D | cdn-dp-link-training.c | 29 u32 phy_config, global_config; in cdn_dp_set_pattern() local 36 phy_config = DP_TX_PHY_ENCODER_BYPASS(0) | in cdn_dp_set_pattern() 47 phy_config |= DP_TX_PHY_TRAINING_ENABLE(1) | in cdn_dp_set_pattern() 59 ret = cdn_dp_reg_write(dp, DP_TX_PHY_CONFIG_REG, phy_config); in cdn_dp_set_pattern()
|
| H A D | dw_hdmi-rockchip.c | 1371 u32 *phy_config; in rockchip_hdmi_parse_dt() local 1492 phy_config = kmalloc(val, GFP_KERNEL); in rockchip_hdmi_parse_dt() 1493 if (!phy_config) { in rockchip_hdmi_parse_dt() 1501 phy_config, val / sizeof(u32)); in rockchip_hdmi_parse_dt() 1502 ret = rockchip_hdmi_update_phy_table(hdmi, phy_config, in rockchip_hdmi_parse_dt() 1505 kfree(phy_config); in rockchip_hdmi_parse_dt() 1508 kfree(phy_config); in rockchip_hdmi_parse_dt() 3212 .phy_config = rockchip_phy_config, 3232 .phy_config = rockchip_phy_config, 3269 .phy_config = rockchip_phy_config, [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/sun4i/ |
| H A D | sun8i_hdmi_phy.c | 355 return phy->variant->phy_config(hdmi, phy, mode->crtc_clock * 1000); in sun8i_hdmi_phy_config() 577 plat_data->phy_config = variant->phy_cfg; in sun8i_hdmi_phy_set_ops() 593 .phy_config = &sun8i_hdmi_phy_config_a83t, 601 .phy_config = &sun8i_hdmi_phy_config_h3, 610 .phy_config = &sun8i_hdmi_phy_config_h3, 618 .phy_config = &sun8i_hdmi_phy_config_h3,
|
| H A D | sun8i_dw_hdmi.h | 161 int (*phy_config)(struct dw_hdmi *hdmi, member
|
| /OK3568_Linux_fs/kernel/tools/firewire/ |
| H A D | nosy-dump.c | 767 if (!pp->phy_config.set_root && !pp->phy_config.set_gap_count) { in print_packet() 768 printf("ext phy config: phy_id=%02x", pp->phy_config.root_id); in print_packet() 771 if (pp->phy_config.set_root) in print_packet() 772 printf(" set_root_id=%02x", pp->phy_config.root_id); in print_packet() 773 if (pp->phy_config.set_gap_count) in print_packet() 774 printf(" set_gap_count=%d", pp->phy_config.gap_count); in print_packet()
|
| H A D | nosy-dump.h | 30 } phy_config; member
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/imx/ |
| H A D | dw_hdmi-imx.c | 173 .phy_config = imx_phy_config, 180 .phy_config = imx_phy_config,
|
| /OK3568_Linux_fs/kernel/drivers/misc/rk628/ |
| H A D | rk628_hdmitx.c | 239 const struct rk628_hdmi_phy_config *phy_config = in rk628_hdmi_set_pwr_mode() local 245 for (; phy_config->mpixelclock != ~0UL; phy_config++) in rk628_hdmi_set_pwr_mode() 246 if (hdmi->tmds_rate <= phy_config->mpixelclock) in rk628_hdmi_set_pwr_mode() 248 if (!phy_config->mpixelclock) in rk628_hdmi_set_pwr_mode() 251 phy_config->pre_emphasis); in rk628_hdmi_set_pwr_mode() 252 hdmi_writeb(hdmi, HDMI_PHY_DRIVER, phy_config->vlev_ctr); in rk628_hdmi_set_pwr_mode()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/rk618/ |
| H A D | rk618_hdmi.c | 619 const struct rk618_hdmi_phy_config *phy_config = in rk618_hdmi_set_pwr_mode() local 625 for (; phy_config->mpixelclock != ~0UL; phy_config++) in rk618_hdmi_set_pwr_mode() 626 if (hdmi->tmds_rate <= phy_config->mpixelclock) in rk618_hdmi_set_pwr_mode() 628 if (!phy_config->mpixelclock) in rk618_hdmi_set_pwr_mode() 631 phy_config->pre_emphasis); in rk618_hdmi_set_pwr_mode() 632 hdmi_writeb(hdmi, HDMI_PHY_DRIVER, phy_config->vlev_ctr); in rk618_hdmi_set_pwr_mode()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/rk628/ |
| H A D | rk628_hdmi.c | 571 const struct rk628_hdmi_phy_config *phy_config = in rk628_hdmi_set_pwr_mode() local 577 for (; phy_config->mpixelclock != ~0UL; phy_config++) in rk628_hdmi_set_pwr_mode() 578 if (hdmi->tmds_rate <= phy_config->mpixelclock) in rk628_hdmi_set_pwr_mode() 580 if (!phy_config->mpixelclock) in rk628_hdmi_set_pwr_mode() 583 phy_config->pre_emphasis); in rk628_hdmi_set_pwr_mode() 584 hdmi_writeb(hdmi, HDMI_PHY_DRIVER, phy_config->vlev_ctr); in rk628_hdmi_set_pwr_mode()
|
| /OK3568_Linux_fs/u-boot/include/linux/ |
| H A D | dw_hdmi.h | 181 struct dw_hdmi_phy_config *phy_config; member
|
| /OK3568_Linux_fs/u-boot/drivers/net/phy/ |
| H A D | phy.su | |
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlwifi/fw/ |
| H A D | img.h | 268 u32 phy_config; member
|
| /OK3568_Linux_fs/u-boot/board/gdsys/a38x/ |
| H A D | controlcenterdc.c | 179 phy_config(phydev); in init_host_phys()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | ops.c | 139 u32 phy_config = iwl_mvm_get_phy_config(mvm); in iwl_mvm_nic_config() local 141 radio_cfg_type = (phy_config & FW_PHY_CFG_RADIO_TYPE) >> in iwl_mvm_nic_config() 143 radio_cfg_step = (phy_config & FW_PHY_CFG_RADIO_STEP) >> in iwl_mvm_nic_config() 145 radio_cfg_dash = (phy_config & FW_PHY_CFG_RADIO_DASH) >> in iwl_mvm_nic_config()
|