| /linux/drivers/net/dsa/ |
| H A D | vitesse-vsc73xx-core.c | 494 static int vsc73xx_read(struct vsc73xx *vsc, u8 block, u8 subblock, u8 reg, in vsc73xx_read() argument 497 return vsc->ops->read(vsc, block, subblock, reg, val); in vsc73xx_read() 500 static int vsc73xx_write(struct vsc73xx *vsc, u8 block, u8 subblock, u8 reg, in vsc73xx_write() argument 503 return vsc->ops->write(vsc, block, subblock, reg, val); in vsc73xx_write() 506 static int vsc73xx_update_bits(struct vsc73xx *vsc, u8 block, u8 subblock, in vsc73xx_update_bits() argument 513 ret = vsc73xx_read(vsc, block, subblock, reg, &orig); in vsc73xx_update_bits() 518 return vsc73xx_write(vsc, block, subblock, reg, tmp); in vsc73xx_update_bits() 521 static int vsc73xx_detect(struct vsc73xx *vsc) in vsc73xx_detect() argument 530 ret = vsc73xx_read(vsc, VSC73XX_BLOCK_SYSTEM, 0, in vsc73xx_detect() 533 dev_err(vsc->dev, "unable to read mailbox (%d)\n", ret); in vsc73xx_detect() [all …]
|
| H A 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 …]
|
| H A D | vitesse-vsc73xx.h | 70 int (*read)(struct vsc73xx *vsc, u8 block, u8 subblock, u8 reg, 72 int (*write)(struct vsc73xx *vsc, u8 block, u8 subblock, u8 reg, 92 int vsc73xx_probe(struct vsc73xx *vsc); 93 void vsc73xx_remove(struct vsc73xx *vsc); 94 void vsc73xx_shutdown(struct vsc73xx *vsc);
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_dp.c | 2902 struct drm_dp_vsc_sdp *vsc) in intel_dp_compute_vsc_colorimetry() argument 2912 vsc->revision = 0x7; in intel_dp_compute_vsc_colorimetry() 2919 vsc->revision = 0x5; in intel_dp_compute_vsc_colorimetry() 2922 vsc->length = 0x13; in intel_dp_compute_vsc_colorimetry() 2927 vsc->pixelformat = DP_PIXELFORMAT_YUV444; in intel_dp_compute_vsc_colorimetry() 2930 vsc->pixelformat = DP_PIXELFORMAT_YUV420; in intel_dp_compute_vsc_colorimetry() 2934 vsc->pixelformat = DP_PIXELFORMAT_RGB; in intel_dp_compute_vsc_colorimetry() 2939 vsc->colorimetry = DP_COLORIMETRY_BT709_YCC; in intel_dp_compute_vsc_colorimetry() 2942 vsc->colorimetry = DP_COLORIMETRY_XVYCC_601; in intel_dp_compute_vsc_colorimetry() 2945 vsc->colorimetry = DP_COLORIMETRY_XVYCC_709; in intel_dp_compute_vsc_colorimetry() [all …]
|
| H A D | intel_display.c | 5424 PIPE_CONF_CHECK_DP_VSC_SDP(vsc); in intel_pipe_config_compare()
|
| /linux/drivers/gpu/drm/bridge/synopsys/ |
| H A D | dw-dp.c | 1084 struct drm_dp_vsc_sdp vsc = {}; in dw_dp_send_vsc_sdp() local 1090 vsc.bpc = state->bpc; in dw_dp_send_vsc_sdp() 1092 vsc.sdp_type = DP_SDP_VSC; in dw_dp_send_vsc_sdp() 1093 vsc.revision = 0x5; in dw_dp_send_vsc_sdp() 1094 vsc.length = 0x13; in dw_dp_send_vsc_sdp() 1095 vsc.content_type = DP_CONTENT_TYPE_NOT_DEFINED; in dw_dp_send_vsc_sdp() 1101 vsc.pixelformat = DP_PIXELFORMAT_YUV444; in dw_dp_send_vsc_sdp() 1104 vsc.pixelformat = DP_PIXELFORMAT_YUV420; in dw_dp_send_vsc_sdp() 1107 vsc.pixelformat = DP_PIXELFORMAT_YUV422; in dw_dp_send_vsc_sdp() 1111 vsc.pixelformat = DP_PIXELFORMAT_RGB; in dw_dp_send_vsc_sdp() [all …]
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | dce_v8_0.c | 657 fixed20_12 vsc; /* vertical scale ratio */ member 828 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce_v8_0_average_bandwidth() 863 if ((wm->vsc.full > a.full) || in dce_v8_0_latency_watermark() 864 ((wm->vsc.full > b.full) && (wm->vtaps >= 3)) || in dce_v8_0_latency_watermark() 866 ((wm->vsc.full >= a.full) && wm->interlaced)) in dce_v8_0_latency_watermark() 951 if (wm->vsc.full > a.full) in dce_v8_0_check_latency_hiding() 1015 wm_high.vsc = amdgpu_crtc->vsc; in dce_v8_0_program_watermarks() 1054 wm_low.vsc = amdgpu_crtc->vsc; in dce_v8_0_program_watermarks()
|
| H A D | dce_v6_0.c | 557 fixed20_12 vsc; /* vertical scale ratio */ member 728 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce_v6_0_average_bandwidth() 763 if ((wm->vsc.full > a.full) || in dce_v6_0_latency_watermark() 764 ((wm->vsc.full > b.full) && (wm->vtaps >= 3)) || in dce_v6_0_latency_watermark() 766 ((wm->vsc.full >= a.full) && wm->interlaced)) in dce_v6_0_latency_watermark() 851 if (wm->vsc.full > a.full) in dce_v6_0_check_latency_hiding() 924 wm_high.vsc = amdgpu_crtc->vsc; in dce_v6_0_program_watermarks() 951 wm_low.vsc = amdgpu_crtc->vsc; in dce_v6_0_program_watermarks()
|
| H A D | dce_v10_0.c | 704 fixed20_12 vsc; /* vertical scale ratio */ member 875 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce_v10_0_average_bandwidth() 910 if ((wm->vsc.full > a.full) || in dce_v10_0_latency_watermark() 911 ((wm->vsc.full > b.full) && (wm->vtaps >= 3)) || in dce_v10_0_latency_watermark() 913 ((wm->vsc.full >= a.full) && wm->interlaced)) in dce_v10_0_latency_watermark() 998 if (wm->vsc.full > a.full) in dce_v10_0_check_latency_hiding() 1062 wm_high.vsc = amdgpu_crtc->vsc; in dce_v10_0_program_watermarks() 1101 wm_low.vsc = amdgpu_crtc->vsc; in dce_v10_0_program_watermarks()
|
| H A D | amdgpu_display.c | 1559 amdgpu_crtc->vsc.full = dfixed_div(a, b); in amdgpu_display_crtc_scaling_mode_fixup() 1564 amdgpu_crtc->vsc.full = dfixed_const(1); in amdgpu_display_crtc_scaling_mode_fixup()
|
| /linux/include/drm/display/ |
| H A D | drm_dp_helper.h | 133 void drm_dp_vsc_sdp_log(struct drm_printer *p, const struct drm_dp_vsc_sdp *vsc); 1029 ssize_t drm_dp_vsc_sdp_pack(const struct drm_dp_vsc_sdp *vsc, struct dp_sdp *sdp);
|
| /linux/drivers/gpu/drm/radeon/ |
| H A 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()
|
| H A 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()
|
| H A D | radeon_display.c | 1771 radeon_crtc->vsc.full = dfixed_div(a, b); in radeon_crtc_scaling_mode_fixup() 1776 radeon_crtc->vsc.full = dfixed_const(1); in radeon_crtc_scaling_mode_fixup()
|
| /linux/drivers/gpu/drm/amd/display/dc/dce/ |
| H A D | dce_stream_encoder.c | 836 if (info_frame->vsc.valid) in dce110_stream_encoder_update_dp_info_packets() 840 &info_frame->vsc); in dce110_stream_encoder_update_dp_info_packets() 857 REG_UPDATE(DP_SEC_CNTL, DP_SEC_GSP0_ENABLE, info_frame->vsc.valid); in dce110_stream_encoder_update_dp_info_packets()
|
| /linux/arch/arm/boot/dts/gemini/ |
| H A D | gemini-sq201.dts | 109 vsc: ethernet-port@6 { label
|
| H A D | gemini-sl93512r.dts | 124 vsc: ethernet-port@6 { label
|
| /linux/drivers/video/fbdev/ |
| H A D | cg14.c | 117 u16 vsc; /* Vert Sync Clear */ member
|
| /linux/drivers/gpu/drm/amd/display/dc/core/ |
| H A D | dc_resource.c | 4892 info->vsc.valid = false; in resource_build_info_frame() 4914 set_vsc_info_packet(&info->vsc, pipe_ctx->stream); in resource_build_info_frame()
|