/openbmc/linux/drivers/net/dsa/ |
H A D | vitesse-vsc73xx-core.c | 392 static int vsc73xx_read(struct vsc73xx *vsc, u8 block, u8 subblock, u8 reg, in vsc73xx_read() argument 395 return vsc->ops->read(vsc, block, subblock, reg, val); in vsc73xx_read() 398 static int vsc73xx_write(struct vsc73xx *vsc, u8 block, u8 subblock, u8 reg, in vsc73xx_write() argument 401 return vsc->ops->write(vsc, block, subblock, reg, val); in vsc73xx_write() 404 static int vsc73xx_update_bits(struct vsc73xx *vsc, u8 block, u8 subblock, in vsc73xx_update_bits() argument 411 ret = vsc73xx_read(vsc, block, subblock, reg, &orig); in vsc73xx_update_bits() 416 return vsc73xx_write(vsc, block, subblock, reg, tmp); in vsc73xx_update_bits() 419 static int vsc73xx_detect(struct vsc73xx *vsc) in vsc73xx_detect() argument 428 ret = vsc73xx_read(vsc, VSC73XX_BLOCK_SYSTEM, 0, in vsc73xx_detect() 431 dev_err(vsc->dev, "unable to read mailbox (%d)\n", ret); in vsc73xx_detect() [all …]
|
H A 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 …]
|
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 | 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);
|
/openbmc/qemu/hw/scsi/ |
H A D | vhost-scsi-common.c | 29 int vhost_scsi_common_start(VHostSCSICommon *vsc, Error **errp) in vhost_scsi_common_start() argument 32 VirtIODevice *vdev = VIRTIO_DEVICE(vsc); in vhost_scsi_common_start() 36 VirtIOSCSICommon *vs = (VirtIOSCSICommon *)vsc; in vhost_scsi_common_start() 43 ret = vhost_dev_enable_notifiers(&vsc->dev, vdev); in vhost_scsi_common_start() 49 ret = k->set_guest_notifiers(qbus->parent, vsc->dev.nvqs, true); in vhost_scsi_common_start() 55 vsc->dev.acked_features = vdev->guest_features; in vhost_scsi_common_start() 57 ret = vhost_dev_prepare_inflight(&vsc->dev, vdev); in vhost_scsi_common_start() 63 if (vsc->inflight) { in vhost_scsi_common_start() 64 if (!vsc->inflight->addr) { in vhost_scsi_common_start() 65 ret = vhost_dev_get_inflight(&vsc->dev, in vhost_scsi_common_start() [all …]
|
H A D | vhost-scsi.c | 49 VHostSCSICommon *vsc = VHOST_SCSI_COMMON(s); in vhost_scsi_set_endpoint() local 50 const VhostOps *vhost_ops = vsc->dev.vhost_ops; in vhost_scsi_set_endpoint() 56 ret = vhost_ops->vhost_scsi_set_endpoint(&vsc->dev, &backend); in vhost_scsi_set_endpoint() 66 VHostSCSICommon *vsc = VHOST_SCSI_COMMON(s); in vhost_scsi_clear_endpoint() local 68 const VhostOps *vhost_ops = vsc->dev.vhost_ops; in vhost_scsi_clear_endpoint() 72 vhost_ops->vhost_scsi_clear_endpoint(&vsc->dev, &backend); in vhost_scsi_clear_endpoint() 78 VHostSCSICommon *vsc = VHOST_SCSI_COMMON(s); in vhost_scsi_start() local 79 const VhostOps *vhost_ops = vsc->dev.vhost_ops; in vhost_scsi_start() 82 ret = vhost_ops->vhost_scsi_get_abi_version(&vsc->dev, &abi_version); in vhost_scsi_start() 94 ret = vhost_scsi_common_start(vsc, &local_err); in vhost_scsi_start() [all …]
|
H A D | vhost-user-scsi.c | 46 VHostSCSICommon *vsc = VHOST_SCSI_COMMON(s); in vhost_user_scsi_start() local 49 ret = vhost_scsi_common_start(vsc, errp); in vhost_user_scsi_start() 57 VHostSCSICommon *vsc = VHOST_SCSI_COMMON(s); in vhost_user_scsi_stop() local 64 vhost_scsi_common_stop(vsc); in vhost_user_scsi_stop() 71 VHostSCSICommon *vsc = VHOST_SCSI_COMMON(s); in vhost_user_scsi_set_status() local 81 if (vhost_dev_is_started(&vsc->dev) == should_start) { in vhost_user_scsi_set_status() 102 VHostSCSICommon *vsc = VHOST_SCSI_COMMON(s); in vhost_user_scsi_handle_output() local 116 if (vhost_dev_is_started(&vsc->dev)) { in vhost_user_scsi_handle_output() 132 for (i = 0; i < vsc->dev.nvqs; i++) { in vhost_user_scsi_handle_output() 146 VHostSCSICommon *vsc = VHOST_SCSI_COMMON(s); in vhost_user_scsi_connect() local [all …]
|
/openbmc/qemu/hw/char/ |
H A D | virtio-serial-bus.c | 86 VirtIOSerialPortClass const *vsc = VIRTIO_SERIAL_PORT_GET_CLASS(port); in find_first_connected_console() local 87 if (vsc->is_console && port->host_connected) { in find_first_connected_console() 163 VirtIOSerialPortClass *vsc; in do_flush_queued_data() local 168 vsc = VIRTIO_SERIAL_PORT_GET_CLASS(port); in do_flush_queued_data() 188 ret = vsc->have_data(port, in do_flush_queued_data() 351 VirtIOSerialPortClass *vsc; in handle_control_message() local 393 vsc = VIRTIO_SERIAL_PORT_GET_CLASS(port); in handle_control_message() 409 if (vsc->is_console) { in handle_control_message() 439 if (vsc->guest_ready) { in handle_control_message() 440 vsc->guest_ready(port); in handle_control_message() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_dp.c | 1953 struct drm_dp_vsc_sdp *vsc) in intel_dp_compute_vsc_colorimetry() argument 1963 vsc->revision = 0x5; in intel_dp_compute_vsc_colorimetry() 1964 vsc->length = 0x13; in intel_dp_compute_vsc_colorimetry() 1969 vsc->pixelformat = DP_PIXELFORMAT_YUV444; in intel_dp_compute_vsc_colorimetry() 1972 vsc->pixelformat = DP_PIXELFORMAT_YUV420; in intel_dp_compute_vsc_colorimetry() 1976 vsc->pixelformat = DP_PIXELFORMAT_RGB; in intel_dp_compute_vsc_colorimetry() 1981 vsc->colorimetry = DP_COLORIMETRY_BT709_YCC; in intel_dp_compute_vsc_colorimetry() 1984 vsc->colorimetry = DP_COLORIMETRY_XVYCC_601; in intel_dp_compute_vsc_colorimetry() 1987 vsc->colorimetry = DP_COLORIMETRY_XVYCC_709; in intel_dp_compute_vsc_colorimetry() 1990 vsc->colorimetry = DP_COLORIMETRY_SYCC_601; in intel_dp_compute_vsc_colorimetry() [all …]
|
H A D | intel_dp.h | 98 struct drm_dp_vsc_sdp *vsc); 101 const struct drm_dp_vsc_sdp *vsc);
|
H A 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() 295 intel_dump_dp_vsc_sdp(i915, &pipe_config->infoframes.vsc); in intel_crtc_state_dump()
|
/openbmc/qemu/include/hw/virtio/ |
H A D | vhost-scsi-common.h | 42 int vhost_scsi_common_start(VHostSCSICommon *vsc, Error **errp); 43 void vhost_scsi_common_stop(VHostSCSICommon *vsc);
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A 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()
|
/openbmc/linux/drivers/gpu/drm/bridge/analogix/ |
H A 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()
|
H A D | analogix_dp_core.h | 255 struct dp_sdp *vsc, bool blocking);
|
/openbmc/linux/Documentation/devicetree/bindings/net/dsa/ |
H A D | vitesse,vsc73xx.txt | 76 vsc: port@6 { 117 vsc: port@6 {
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A 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()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn31/ |
H A 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()
|
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/ |
H A D | simg_dump-python3.patch | 31 "vsc:",
|
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/ |
H A D | simg_dump-python3.patch | 31 "vsc:",
|
/openbmc/linux/drivers/gpu/drm/display/ |
H A D | drm_dp_helper.c | 2901 const struct drm_dp_vsc_sdp *vsc) in drm_dp_vsc_sdp_log() argument 2905 vsc->revision, vsc->length); in drm_dp_vsc_sdp_log() 2907 dp_pixelformat_get_name(vsc->pixelformat)); in drm_dp_vsc_sdp_log() 2909 dp_colorimetry_get_name(vsc->pixelformat, vsc->colorimetry)); in drm_dp_vsc_sdp_log() 2910 DP_SDP_LOG(" bpc: %u\n", vsc->bpc); in drm_dp_vsc_sdp_log() 2912 dp_dynamic_range_get_name(vsc->dynamic_range)); in drm_dp_vsc_sdp_log() 2914 dp_content_type_get_name(vsc->content_type)); in drm_dp_vsc_sdp_log()
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A 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()
|
H A 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()
|
H A 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()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/inc/hw/ |
H A D | stream_encoder.h | 90 struct dc_info_packet vsc; member
|