Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/net/dsa/
Dvitesse-vsc73xx.c411 static int vsc73xx_read(struct vsc73xx *vsc, u8 block, u8 subblock, u8 reg, in vsc73xx_read() argument
440 mutex_lock(&vsc->lock); in vsc73xx_read()
441 ret = spi_sync(vsc->spi, &m); in vsc73xx_read()
442 mutex_unlock(&vsc->lock); in vsc73xx_read()
452 static int vsc73xx_write(struct vsc73xx *vsc, u8 block, u8 subblock, u8 reg, in vsc73xx_write() argument
484 mutex_lock(&vsc->lock); in vsc73xx_write()
485 ret = spi_sync(vsc->spi, &m); in vsc73xx_write()
486 mutex_unlock(&vsc->lock); in vsc73xx_write()
491 static int vsc73xx_update_bits(struct vsc73xx *vsc, u8 block, u8 subblock, in vsc73xx_update_bits() argument
498 ret = vsc73xx_read(vsc, block, subblock, reg, &orig); in vsc73xx_update_bits()
[all …]
/Linux-v4.19/tools/testing/selftests/powerpc/tm/
Dtm-signal-context-chk-vsx.c57 uint8_t vsc[sizeof(vector int)]; in signal_usr1() local
74 memcpy(vsc, &ucp->uc_mcontext.fp_regs[i + 20], 8); in signal_usr1()
75 memcpy(vsc + 8, &vsx_ptr[20 + i], 8); in signal_usr1()
76 fail = memcmp(vsc, &vss[i], sizeof(vector int)); in signal_usr1()
86 fprintf(stderr, "%02x", vsc[j]); in signal_usr1()
/Linux-v4.19/drivers/gpu/drm/bridge/analogix/
Danalogix_dp_reg.c1044 struct edp_vsc_psr *vsc, bool blocking) in analogix_dp_send_psr_spd() argument
1060 writel(vsc->sdp_header.HB0, dp->reg_base + ANALOGIX_DP_SPD_HB0); in analogix_dp_send_psr_spd()
1061 writel(vsc->sdp_header.HB1, dp->reg_base + ANALOGIX_DP_SPD_HB1); in analogix_dp_send_psr_spd()
1062 writel(vsc->sdp_header.HB2, dp->reg_base + ANALOGIX_DP_SPD_HB2); in analogix_dp_send_psr_spd()
1063 writel(vsc->sdp_header.HB3, dp->reg_base + ANALOGIX_DP_SPD_HB3); in analogix_dp_send_psr_spd()
1072 writel(vsc->DB0, dp->reg_base + ANALOGIX_DP_VSC_SHADOW_DB0); in analogix_dp_send_psr_spd()
1073 writel(vsc->DB1, dp->reg_base + ANALOGIX_DP_VSC_SHADOW_DB1); in analogix_dp_send_psr_spd()
1095 ((vsc->DB1 && psr_status == DP_PSR_SINK_ACTIVE_RFB) || in analogix_dp_send_psr_spd()
1096 (!vsc->DB1 && psr_status == DP_PSR_SINK_INACTIVE)), 1500, in analogix_dp_send_psr_spd()
Danalogix_dp_core.h257 struct edp_vsc_psr *vsc, bool blocking);
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/inc/hw/
Dstream_encoder.h63 struct dc_info_packet vsc; member
/Linux-v4.19/drivers/lightnvm/
Dpblk-core.c169 le32_add_cpu(line->vsc, -1); in __pblk_map_invalidate()
375 int vsc = le32_to_cpu(*line->vsc); in pblk_line_gc_list() local
385 } else if (!vsc) { in pblk_line_gc_list()
390 } else if (vsc < lm->high_thrs) { in pblk_line_gc_list()
395 } else if (vsc < lm->mid_thrs) { in pblk_line_gc_list()
400 } else if (vsc < line->sec_in_line) { in pblk_line_gc_list()
405 } else if (vsc == line->sec_in_line) { in pblk_line_gc_list()
415 line->id, vsc, in pblk_line_gc_list()
1149 *line->vsc = cpu_to_le32(line->sec_in_line); in pblk_line_init_bb()
1276 *line->vsc = cpu_to_le32(EMPTY_ENTRY); in pblk_line_reinit()
Dpblk-sysfs.c179 int msecs = 0, cur_sec = 0, vsc = 0, sec_in_line = 0; in pblk_sysfs_lines() local
261 vsc = le32_to_cpu(*l_mg->data_line->vsc); in pblk_sysfs_lines()
295 cur_data, cur_sec, msecs, vsc, sec_in_line, in pblk_sysfs_lines()
Dpblk-gc.c94 line->id, *line->vsc, gc_rq->nr_secs); in pblk_gc_line_ws()
367 line_vsc = le32_to_cpu(*line->vsc); in pblk_gc_get_victim_line()
368 victim_vsc = le32_to_cpu(*victim->vsc); in pblk_gc_get_victim_line()
Dpblk.h476 __le32 *vsc; /* Valid sector count in line */ member
976 return le32_to_cpu(*line->vsc); in pblk_line_vsc()
/Linux-v4.19/Documentation/devicetree/bindings/net/dsa/
Dvitesse,vsc73xx.txt69 vsc: port@6 {
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Ddce_v8_0.c625 fixed20_12 vsc; /* vertical scale ratio */ member
796 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce_v8_0_average_bandwidth()
831 if ((wm->vsc.full > a.full) || in dce_v8_0_latency_watermark()
832 ((wm->vsc.full > b.full) && (wm->vtaps >= 3)) || in dce_v8_0_latency_watermark()
834 ((wm->vsc.full >= a.full) && wm->interlaced)) in dce_v8_0_latency_watermark()
919 if (wm->vsc.full > a.full) in dce_v8_0_check_latency_hiding()
983 wm_high.vsc = amdgpu_crtc->vsc; in dce_v8_0_program_watermarks()
1022 wm_low.vsc = amdgpu_crtc->vsc; in dce_v8_0_program_watermarks()
Ddce_v6_0.c487 fixed20_12 vsc; /* vertical scale ratio */ member
658 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce_v6_0_average_bandwidth()
693 if ((wm->vsc.full > a.full) || in dce_v6_0_latency_watermark()
694 ((wm->vsc.full > b.full) && (wm->vtaps >= 3)) || in dce_v6_0_latency_watermark()
696 ((wm->vsc.full >= a.full) && wm->interlaced)) in dce_v6_0_latency_watermark()
781 if (wm->vsc.full > a.full) in dce_v6_0_check_latency_hiding()
854 wm_high.vsc = amdgpu_crtc->vsc; in dce_v6_0_program_watermarks()
881 wm_low.vsc = amdgpu_crtc->vsc; in dce_v6_0_program_watermarks()
Ddce_v10_0.c690 fixed20_12 vsc; /* vertical scale ratio */ member
861 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce_v10_0_average_bandwidth()
896 if ((wm->vsc.full > a.full) || in dce_v10_0_latency_watermark()
897 ((wm->vsc.full > b.full) && (wm->vtaps >= 3)) || in dce_v10_0_latency_watermark()
899 ((wm->vsc.full >= a.full) && wm->interlaced)) in dce_v10_0_latency_watermark()
984 if (wm->vsc.full > a.full) in dce_v10_0_check_latency_hiding()
1048 wm_high.vsc = amdgpu_crtc->vsc; in dce_v10_0_program_watermarks()
1087 wm_low.vsc = amdgpu_crtc->vsc; in dce_v10_0_program_watermarks()
Ddce_v11_0.c716 fixed20_12 vsc; /* vertical scale ratio */ member
887 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce_v11_0_average_bandwidth()
922 if ((wm->vsc.full > a.full) || in dce_v11_0_latency_watermark()
923 ((wm->vsc.full > b.full) && (wm->vtaps >= 3)) || in dce_v11_0_latency_watermark()
925 ((wm->vsc.full >= a.full) && wm->interlaced)) in dce_v11_0_latency_watermark()
1010 if (wm->vsc.full > a.full) in dce_v11_0_check_latency_hiding()
1074 wm_high.vsc = amdgpu_crtc->vsc; in dce_v11_0_program_watermarks()
1113 wm_low.vsc = amdgpu_crtc->vsc; in dce_v11_0_program_watermarks()
Damdgpu_display.c719 amdgpu_crtc->vsc.full = dfixed_div(a, b); in amdgpu_display_crtc_scaling_mode_fixup()
724 amdgpu_crtc->vsc.full = dfixed_const(1); in amdgpu_display_crtc_scaling_mode_fixup()
Damdgpu_mode.h405 fixed20_12 vsc; member
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_stream_encoder.c699 if (info_frame->vsc.valid) in enc1_stream_encoder_update_dp_info_packets()
703 &info_frame->vsc); in enc1_stream_encoder_update_dp_info_packets()
720 REG_UPDATE(DP_SEC_CNTL, DP_SEC_GSP0_ENABLE, info_frame->vsc.valid); in enc1_stream_encoder_update_dp_info_packets()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce/
Ddce_stream_encoder.c821 if (info_frame->vsc.valid) in dce110_stream_encoder_update_dp_info_packets()
825 &info_frame->vsc); in dce110_stream_encoder_update_dp_info_packets()
842 REG_UPDATE(DP_SEC_CNTL, DP_SEC_GSP0_ENABLE, info_frame->vsc.valid); in dce110_stream_encoder_update_dp_info_packets()
/Linux-v4.19/drivers/gpu/drm/radeon/
Drs690.c303 if (crtc->vsc.full > dfixed_const(2)) in rs690_crtc_bandwidth_compute()
331 if (crtc->vsc.full > b.full) in rs690_crtc_bandwidth_compute()
332 b.full = crtc->vsc.full; in rs690_crtc_bandwidth_compute()
Devergreen.c1936 fixed20_12 vsc; /* vertical scale ratio */ member
2051 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in evergreen_average_bandwidth()
2076 if ((wm->vsc.full > a.full) || in evergreen_latency_watermark()
2077 ((wm->vsc.full > b.full) && (wm->vtaps >= 3)) || in evergreen_latency_watermark()
2079 ((wm->vsc.full >= a.full) && wm->interlaced)) in evergreen_latency_watermark()
2131 if (wm->vsc.full > a.full) in evergreen_check_latency_hiding()
2193 wm_high.vsc = radeon_crtc->vsc; in evergreen_program_watermarks()
2220 wm_low.vsc = radeon_crtc->vsc; in evergreen_program_watermarks()
Drv515.c980 if (crtc->vsc.full > dfixed_const(2)) in rv515_crtc_bandwidth_compute()
1008 if (crtc->vsc.full > b.full) in rv515_crtc_bandwidth_compute()
1009 b.full = crtc->vsc.full; in rv515_crtc_bandwidth_compute()
Dsi.c2062 fixed20_12 vsc; /* vertical scale ratio */ member
2194 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce6_average_bandwidth()
2220 if ((wm->vsc.full > a.full) || in dce6_latency_watermark()
2221 ((wm->vsc.full > b.full) && (wm->vtaps >= 3)) || in dce6_latency_watermark()
2223 ((wm->vsc.full >= a.full) && wm->interlaced)) in dce6_latency_watermark()
2277 if (wm->vsc.full > a.full) in dce6_check_latency_hiding()
2342 wm_high.vsc = radeon_crtc->vsc; in dce6_program_watermarks()
2369 wm_low.vsc = radeon_crtc->vsc; in dce6_program_watermarks()
/Linux-v4.19/arch/arm/boot/dts/
Dgemini-sl93512r.dts124 vsc: port@6 { label
Dgemini-sq201.dts111 vsc: port@6 { label
/Linux-v4.19/drivers/video/fbdev/
Dcg14.c122 u16 vsc; /* Vert Sync Clear */ member

12