| /Linux-v6.6/drivers/net/dsa/ |
| D | vitesse-vsc73xx-core.c | 375 static int vsc73xx_read(struct vsc73xx *vsc, u8 block, u8 subblock, u8 reg, in vsc73xx_read() argument 378 return vsc->ops->read(vsc, block, subblock, reg, val); in vsc73xx_read() 381 static int vsc73xx_write(struct vsc73xx *vsc, u8 block, u8 subblock, u8 reg, in vsc73xx_write() argument 384 return vsc->ops->write(vsc, block, subblock, reg, val); in vsc73xx_write() 387 static int vsc73xx_update_bits(struct vsc73xx *vsc, u8 block, u8 subblock, in vsc73xx_update_bits() argument 394 ret = vsc73xx_read(vsc, block, subblock, reg, &orig); in vsc73xx_update_bits() 399 return vsc73xx_write(vsc, block, subblock, reg, tmp); in vsc73xx_update_bits() 402 static int vsc73xx_detect(struct vsc73xx *vsc) in vsc73xx_detect() argument 411 ret = vsc73xx_read(vsc, VSC73XX_BLOCK_SYSTEM, 0, in vsc73xx_detect() 414 dev_err(vsc->dev, "unable to read mailbox (%d)\n", ret); in vsc73xx_detect() [all …]
|
| D | vitesse-vsc73xx-platform.c | 37 struct vsc73xx vsc; member 55 static int vsc73xx_platform_read(struct vsc73xx *vsc, u8 block, u8 subblock, in vsc73xx_platform_read() argument 58 struct vsc73xx_platform *vsc_platform = vsc->priv; in vsc73xx_platform_read() 73 static int vsc73xx_platform_write(struct vsc73xx *vsc, u8 block, u8 subblock, in vsc73xx_platform_write() argument 76 struct vsc73xx_platform *vsc_platform = vsc->priv; in vsc73xx_platform_write() 100 vsc_platform->vsc.dev = dev; in vsc73xx_platform_probe() 101 vsc_platform->vsc.priv = vsc_platform; in vsc73xx_platform_probe() 102 vsc_platform->vsc.ops = &vsc73xx_platform_ops; in vsc73xx_platform_probe() 112 return vsc73xx_probe(&vsc_platform->vsc); in vsc73xx_platform_probe() 122 vsc73xx_remove(&vsc_platform->vsc); in vsc73xx_platform_remove() [all …]
|
| D | vitesse-vsc73xx-spi.c | 35 struct vsc73xx vsc; member 52 static int vsc73xx_spi_read(struct vsc73xx *vsc, u8 block, u8 subblock, u8 reg, in vsc73xx_spi_read() argument 55 struct vsc73xx_spi *vsc_spi = vsc->priv; in vsc73xx_spi_read() 94 static int vsc73xx_spi_write(struct vsc73xx *vsc, u8 block, u8 subblock, u8 reg, in vsc73xx_spi_write() argument 97 struct vsc73xx_spi *vsc_spi = vsc->priv; in vsc73xx_spi_write() 146 vsc_spi->vsc.dev = dev; in vsc73xx_spi_probe() 147 vsc_spi->vsc.priv = vsc_spi; in vsc73xx_spi_probe() 148 vsc_spi->vsc.ops = &vsc73xx_spi_ops; in vsc73xx_spi_probe() 159 return vsc73xx_probe(&vsc_spi->vsc); in vsc73xx_spi_probe() 169 vsc73xx_remove(&vsc_spi->vsc); in vsc73xx_spi_remove() [all …]
|
| D | vitesse-vsc73xx.h | 21 int (*read)(struct vsc73xx *vsc, u8 block, u8 subblock, u8 reg, 23 int (*write)(struct vsc73xx *vsc, u8 block, u8 subblock, u8 reg, 28 int vsc73xx_probe(struct vsc73xx *vsc); 29 void vsc73xx_remove(struct vsc73xx *vsc); 30 void vsc73xx_shutdown(struct vsc73xx *vsc);
|
| /Linux-v6.6/drivers/gpu/drm/i915/display/ |
| D | intel_dp.c | 1944 struct drm_dp_vsc_sdp *vsc) in intel_dp_compute_vsc_colorimetry() argument 1954 vsc->revision = 0x5; in intel_dp_compute_vsc_colorimetry() 1955 vsc->length = 0x13; in intel_dp_compute_vsc_colorimetry() 1960 vsc->pixelformat = DP_PIXELFORMAT_YUV444; in intel_dp_compute_vsc_colorimetry() 1963 vsc->pixelformat = DP_PIXELFORMAT_YUV420; in intel_dp_compute_vsc_colorimetry() 1967 vsc->pixelformat = DP_PIXELFORMAT_RGB; in intel_dp_compute_vsc_colorimetry() 1972 vsc->colorimetry = DP_COLORIMETRY_BT709_YCC; in intel_dp_compute_vsc_colorimetry() 1975 vsc->colorimetry = DP_COLORIMETRY_XVYCC_601; in intel_dp_compute_vsc_colorimetry() 1978 vsc->colorimetry = DP_COLORIMETRY_XVYCC_709; in intel_dp_compute_vsc_colorimetry() 1981 vsc->colorimetry = DP_COLORIMETRY_SYCC_601; in intel_dp_compute_vsc_colorimetry() [all …]
|
| D | intel_dp.h | 98 struct drm_dp_vsc_sdp *vsc); 101 const struct drm_dp_vsc_sdp *vsc);
|
| D | intel_crtc_state_dump.c | 55 const struct drm_dp_vsc_sdp *vsc) in intel_dump_dp_vsc_sdp() argument 60 drm_dp_vsc_sdp_log(KERN_DEBUG, i915->drm.dev, vsc); in intel_dump_dp_vsc_sdp() 292 intel_dump_dp_vsc_sdp(i915, &pipe_config->infoframes.vsc); in intel_crtc_state_dump()
|
| /Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn30/ |
| D | dcn30_dio_stream_encoder.c | 432 if (info_frame->vsc.valid) { in enc3_stream_encoder_update_dp_info_packets() 436 &info_frame->vsc, in enc3_stream_encoder_update_dp_info_packets() 447 if (info_frame->vsc.valid) { in enc3_stream_encoder_update_dp_info_packets() 451 &info_frame->vsc, in enc3_stream_encoder_update_dp_info_packets() 462 if (info_frame->vsc.valid) { in enc3_stream_encoder_update_dp_info_packets() 466 &info_frame->vsc, in enc3_stream_encoder_update_dp_info_packets() 497 REG_UPDATE(DP_SEC_CNTL, DP_SEC_GSP0_ENABLE, info_frame->vsc.valid); in enc3_stream_encoder_update_dp_info_packets()
|
| /Linux-v6.6/drivers/gpu/drm/bridge/analogix/ |
| D | analogix_dp_reg.c | 952 struct dp_sdp *vsc, bool blocking) in analogix_dp_send_psr_spd() argument 968 writel(vsc->sdp_header.HB0, dp->reg_base + ANALOGIX_DP_SPD_HB0); in analogix_dp_send_psr_spd() 969 writel(vsc->sdp_header.HB1, dp->reg_base + ANALOGIX_DP_SPD_HB1); in analogix_dp_send_psr_spd() 970 writel(vsc->sdp_header.HB2, dp->reg_base + ANALOGIX_DP_SPD_HB2); in analogix_dp_send_psr_spd() 971 writel(vsc->sdp_header.HB3, dp->reg_base + ANALOGIX_DP_SPD_HB3); in analogix_dp_send_psr_spd() 980 writel(vsc->db[0], dp->reg_base + ANALOGIX_DP_VSC_SHADOW_DB0); in analogix_dp_send_psr_spd() 981 writel(vsc->db[1], dp->reg_base + ANALOGIX_DP_VSC_SHADOW_DB1); in analogix_dp_send_psr_spd() 1012 ((vsc->db[1] && psr_status == DP_PSR_SINK_ACTIVE_RFB) || in analogix_dp_send_psr_spd() 1013 (!vsc->db[1] && (psr_status == DP_PSR_SINK_ACTIVE_RESYNC || in analogix_dp_send_psr_spd()
|
| D | analogix_dp_core.h | 255 struct dp_sdp *vsc, bool blocking);
|
| /Linux-v6.6/Documentation/devicetree/bindings/net/dsa/ |
| D | vitesse,vsc73xx.txt | 76 vsc: port@6 { 117 vsc: port@6 {
|
| /Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn10/ |
| D | dcn10_stream_encoder.c | 724 if (info_frame->vsc.valid) in enc1_stream_encoder_update_dp_info_packets() 728 &info_frame->vsc); in enc1_stream_encoder_update_dp_info_packets() 734 if (info_frame->vsc.valid) in enc1_stream_encoder_update_dp_info_packets() 738 &info_frame->vsc); in enc1_stream_encoder_update_dp_info_packets() 765 REG_UPDATE(DP_SEC_CNTL, DP_SEC_GSP0_ENABLE, info_frame->vsc.valid); in enc1_stream_encoder_update_dp_info_packets()
|
| /Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn31/ |
| D | dcn31_hpo_dp_stream_encoder.c | 456 if (info_frame->vsc.valid) in dcn31_hpo_dp_stream_enc_update_dp_info_packets() 460 &info_frame->vsc, in dcn31_hpo_dp_stream_enc_update_dp_info_packets() 487 …TE(DP_SYM32_ENC_SDP_GSP_CONTROL0, GSP_VIDEO_CONTINUOUS_TRANSMISSION_ENABLE, info_frame->vsc.valid); in dcn31_hpo_dp_stream_enc_update_dp_info_packets()
|
| /Linux-v6.6/drivers/gpu/drm/display/ |
| D | drm_dp_helper.c | 2866 const struct drm_dp_vsc_sdp *vsc) in drm_dp_vsc_sdp_log() argument 2870 vsc->revision, vsc->length); in drm_dp_vsc_sdp_log() 2872 dp_pixelformat_get_name(vsc->pixelformat)); in drm_dp_vsc_sdp_log() 2874 dp_colorimetry_get_name(vsc->pixelformat, vsc->colorimetry)); in drm_dp_vsc_sdp_log() 2875 DP_SDP_LOG(" bpc: %u\n", vsc->bpc); in drm_dp_vsc_sdp_log() 2877 dp_dynamic_range_get_name(vsc->dynamic_range)); in drm_dp_vsc_sdp_log() 2879 dp_content_type_get_name(vsc->content_type)); in drm_dp_vsc_sdp_log()
|
| /Linux-v6.6/drivers/gpu/drm/amd/amdgpu/ |
| D | dce_v6_0.c | 505 fixed20_12 vsc; /* vertical scale ratio */ member 676 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce_v6_0_average_bandwidth() 711 if ((wm->vsc.full > a.full) || in dce_v6_0_latency_watermark() 712 ((wm->vsc.full > b.full) && (wm->vtaps >= 3)) || in dce_v6_0_latency_watermark() 714 ((wm->vsc.full >= a.full) && wm->interlaced)) in dce_v6_0_latency_watermark() 799 if (wm->vsc.full > a.full) in dce_v6_0_check_latency_hiding() 872 wm_high.vsc = amdgpu_crtc->vsc; in dce_v6_0_program_watermarks() 899 wm_low.vsc = amdgpu_crtc->vsc; in dce_v6_0_program_watermarks()
|
| D | dce_v8_0.c | 640 fixed20_12 vsc; /* vertical scale ratio */ member 811 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce_v8_0_average_bandwidth() 846 if ((wm->vsc.full > a.full) || in dce_v8_0_latency_watermark() 847 ((wm->vsc.full > b.full) && (wm->vtaps >= 3)) || in dce_v8_0_latency_watermark() 849 ((wm->vsc.full >= a.full) && wm->interlaced)) in dce_v8_0_latency_watermark() 934 if (wm->vsc.full > a.full) in dce_v8_0_check_latency_hiding() 998 wm_high.vsc = amdgpu_crtc->vsc; in dce_v8_0_program_watermarks() 1037 wm_low.vsc = amdgpu_crtc->vsc; in dce_v8_0_program_watermarks()
|
| D | dce_v10_0.c | 701 fixed20_12 vsc; /* vertical scale ratio */ member 872 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce_v10_0_average_bandwidth() 907 if ((wm->vsc.full > a.full) || in dce_v10_0_latency_watermark() 908 ((wm->vsc.full > b.full) && (wm->vtaps >= 3)) || in dce_v10_0_latency_watermark() 910 ((wm->vsc.full >= a.full) && wm->interlaced)) in dce_v10_0_latency_watermark() 995 if (wm->vsc.full > a.full) in dce_v10_0_check_latency_hiding() 1059 wm_high.vsc = amdgpu_crtc->vsc; in dce_v10_0_program_watermarks() 1098 wm_low.vsc = amdgpu_crtc->vsc; in dce_v10_0_program_watermarks()
|
| D | dce_v11_0.c | 733 fixed20_12 vsc; /* vertical scale ratio */ member 904 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce_v11_0_average_bandwidth() 939 if ((wm->vsc.full > a.full) || in dce_v11_0_latency_watermark() 940 ((wm->vsc.full > b.full) && (wm->vtaps >= 3)) || in dce_v11_0_latency_watermark() 942 ((wm->vsc.full >= a.full) && wm->interlaced)) in dce_v11_0_latency_watermark() 1027 if (wm->vsc.full > a.full) in dce_v11_0_check_latency_hiding() 1091 wm_high.vsc = amdgpu_crtc->vsc; in dce_v11_0_program_watermarks() 1130 wm_low.vsc = amdgpu_crtc->vsc; in dce_v11_0_program_watermarks()
|
| /Linux-v6.6/drivers/gpu/drm/amd/display/dc/inc/hw/ |
| D | stream_encoder.h | 90 struct dc_info_packet vsc; member
|
| /Linux-v6.6/drivers/gpu/drm/amd/display/dc/dce/ |
| D | dce_stream_encoder.c | 837 if (info_frame->vsc.valid) in dce110_stream_encoder_update_dp_info_packets() 841 &info_frame->vsc); in dce110_stream_encoder_update_dp_info_packets() 858 REG_UPDATE(DP_SEC_CNTL, DP_SEC_GSP0_ENABLE, info_frame->vsc.valid); in dce110_stream_encoder_update_dp_info_packets()
|
| /Linux-v6.6/drivers/gpu/drm/radeon/ |
| D | rs690.c | 305 if (crtc->vsc.full > dfixed_const(2)) in rs690_crtc_bandwidth_compute() 333 if (crtc->vsc.full > b.full) in rs690_crtc_bandwidth_compute() 334 b.full = crtc->vsc.full; in rs690_crtc_bandwidth_compute()
|
| D | evergreen.c | 1942 fixed20_12 vsc; /* vertical scale ratio */ member 2057 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in evergreen_average_bandwidth() 2082 if ((wm->vsc.full > a.full) || in evergreen_latency_watermark() 2083 ((wm->vsc.full > b.full) && (wm->vtaps >= 3)) || in evergreen_latency_watermark() 2085 ((wm->vsc.full >= a.full) && wm->interlaced)) in evergreen_latency_watermark() 2137 if (wm->vsc.full > a.full) in evergreen_check_latency_hiding() 2199 wm_high.vsc = radeon_crtc->vsc; in evergreen_program_watermarks() 2226 wm_low.vsc = radeon_crtc->vsc; in evergreen_program_watermarks()
|
| D | rv515.c | 953 if (crtc->vsc.full > dfixed_const(2)) in rv515_crtc_bandwidth_compute() 981 if (crtc->vsc.full > b.full) in rv515_crtc_bandwidth_compute() 982 b.full = crtc->vsc.full; in rv515_crtc_bandwidth_compute()
|
| /Linux-v6.6/arch/arm/boot/dts/gemini/ |
| D | gemini-sq201.dts | 109 vsc: port@6 { label
|
| D | gemini-sl93512r.dts | 124 vsc: port@6 { label
|