Home
last modified time | relevance | path

Searched refs:vsc (Results 1 – 25 of 46) sorted by relevance

12

/openbmc/linux/drivers/net/dsa/
H A Dvitesse-vsc73xx-core.c378 return vsc->ops->read(vsc, block, subblock, reg, val); in vsc73xx_read()
384 return vsc->ops->write(vsc, block, subblock, reg, val); in vsc73xx_write()
692 val = (vsc->addr[5] << 16) | (vsc->addr[4] << 8) | (vsc->addr[3]); in vsc73xx_init_port()
697 val = (vsc->addr[2] << 16) | (vsc->addr[1] << 8) | (vsc->addr[0]); in vsc73xx_init_port()
1125 vsc->gc.parent = vsc->dev; in vsc73xx_gpio_probe()
1133 ret = devm_gpiochip_add_data(vsc->dev, &vsc->gc, vsc); in vsc73xx_gpio_probe()
1178 vsc->addr[0], vsc->addr[1], vsc->addr[2], in vsc73xx_probe()
1179 vsc->addr[3], vsc->addr[4], vsc->addr[5]); in vsc73xx_probe()
1192 vsc->ds = devm_kzalloc(dev, sizeof(*vsc->ds), GFP_KERNEL); in vsc73xx_probe()
1193 if (!vsc->ds) in vsc73xx_probe()
[all …]
H A Dvitesse-vsc73xx-platform.c37 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 Dvitesse-vsc73xx-spi.c35 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 Dvitesse-vsc73xx.h21 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 Dvhost-scsi-common.c32 VirtIODevice *vdev = VIRTIO_DEVICE(vsc); in vhost_scsi_common_start()
63 if (vsc->inflight) { in vhost_scsi_common_start()
64 if (!vsc->inflight->addr) { in vhost_scsi_common_start()
74 ret = vhost_dev_set_inflight(&vsc->dev, vsc->inflight); in vhost_scsi_common_start()
91 for (i = 0; i < vsc->dev.nvqs; i++) { in vhost_scsi_common_start()
92 vhost_virtqueue_mask(&vsc->dev, vdev, vsc->dev.vq_index + i, false); in vhost_scsi_common_start()
106 VirtIODevice *vdev = VIRTIO_DEVICE(vsc); in vhost_scsi_common_stop()
111 vhost_dev_stop(&vsc->dev, vdev, true); in vhost_scsi_common_stop()
130 features |= vsc->host_features; in vhost_scsi_common_get_features()
132 return vhost_get_features(&vsc->dev, vsc->feature_bits, features); in vhost_scsi_common_get_features()
[all …]
H A Dvhost-scsi.c112 vhost_scsi_common_stop(vsc); in vhost_scsi_stop()
148 VHostSCSICommon *vsc = opaque; in vhost_scsi_pre_save() local
207 if (!vsc->migratable) { in vhost_scsi_realize()
220 vsc->dev.vqs = vqs; in vhost_scsi_realize()
221 vsc->dev.vq_index = 0; in vhost_scsi_realize()
236 vsc->channel = 0; in vhost_scsi_realize()
237 vsc->lun = 0; in vhost_scsi_realize()
245 if (!vsc->migratable) { in vhost_scsi_realize()
263 if (!vsc->migratable) { in vhost_scsi_unrealize()
270 vhost_dev_cleanup(&vsc->dev); in vhost_scsi_unrealize()
[all …]
H A Dvhost-user-scsi.c62 vhost_scsi_common_stop(vsc); in vhost_user_scsi_stop()
153 vsc->dev.vqs = s->vhost_vqs; in vhost_user_scsi_connect()
154 vsc->dev.vq_index = 0; in vhost_user_scsi_connect()
189 vhost_dev_cleanup(&vsc->dev); in vhost_user_scsi_disconnect()
300 vsc->channel = 0; in vhost_user_scsi_realize()
301 vsc->lun = 0; in vhost_user_scsi_realize()
309 g_free(vsc->inflight); in vhost_user_scsi_realize()
310 vsc->inflight = NULL; in vhost_user_scsi_realize()
334 g_free(vsc->inflight); in vhost_user_scsi_unrealize()
335 vsc->inflight = NULL; in vhost_user_scsi_unrealize()
[all …]
/openbmc/qemu/hw/char/
H A Dvirtio-serial-bus.c163 VirtIOSerialPortClass *vsc; in do_flush_queued_data() local
351 VirtIOSerialPortClass *vsc; in handle_control_message() local
409 if (vsc->is_console) { in handle_control_message()
439 if (vsc->guest_ready) { in handle_control_message()
533 VirtIOSerialPortClass *vsc; in handle_input() local
587 VirtIOSerialPortClass *vsc; in set_config() local
609 VirtIOSerialPortClass *vsc; in guest_reset() local
941 assert(vsc->have_data); in virtser_port_device_realize()
982 vsc->realize(dev, &err); in virtser_port_device_realize()
1019 if (vsc->unrealize) { in virtser_port_device_unrealize()
[all …]
/openbmc/qemu/include/hw/virtio/
H A Dvhost-scsi-common.h42 int vhost_scsi_common_start(VHostSCSICommon *vsc, Error **errp);
43 void vhost_scsi_common_stop(VHostSCSICommon *vsc);
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_dp.c1964 vsc->length = 0x13; in intel_dp_compute_vsc_colorimetry()
2024 vsc->bpc == 6 && vsc->pixelformat != DP_PIXELFORMAT_RGB); in intel_dp_compute_vsc_colorimetry()
2035 struct drm_dp_vsc_sdp *vsc = &crtc_state->infoframes.vsc; in intel_dp_compute_vsc_sdp() local
2062 vsc); in intel_dp_compute_psr_vsc_sdp()
2080 vsc->length = 0x8; in intel_dp_compute_psr_vsc_sdp()
3582 memset(vsc, 0, sizeof(*vsc)); in intel_dp_vsc_sdp_unpack()
3617 vsc->bpc = 6; in intel_dp_vsc_sdp_unpack()
3620 vsc->bpc = 8; in intel_dp_vsc_sdp_unpack()
3623 vsc->bpc = 10; in intel_dp_vsc_sdp_unpack()
3626 vsc->bpc = 12; in intel_dp_vsc_sdp_unpack()
[all …]
H A Dintel_dp.h98 struct drm_dp_vsc_sdp *vsc);
101 const struct drm_dp_vsc_sdp *vsc);
H A Dintel_crtc_state_dump.c55 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/linux/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_dio_stream_encoder.c432 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 Danalogix_dp_reg.c952 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 Danalogix_dp_core.h255 struct dp_sdp *vsc, bool blocking);
/openbmc/linux/Documentation/devicetree/bindings/net/dsa/
H A Dvitesse,vsc73xx.txt76 vsc: port@6 {
117 vsc: port@6 {
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_stream_encoder.c724 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 Ddcn31_hpo_dp_stream_encoder.c456 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 Dsimg_dump-python3.patch31 "vsc:",
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/
H A Dsimg_dump-python3.patch31 "vsc:",
/openbmc/linux/drivers/gpu/drm/display/
H A Ddrm_dp_helper.c2901 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/display/dc/inc/hw/
H A Dstream_encoder.h90 struct dc_info_packet vsc; member
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Ddce_v8_0.c640 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 Ddce_v6_0.c505 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()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_stream_encoder.c837 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()

12