Home
last modified time | relevance | path

Searched refs:cts (Results 1 - 8 of 8) sorted by relevance

/device/qemu/SmartL_E802/liteos_m/board/hals/csky_driver/include/
H A Ddrv_usart.h119 uint32_t cts : 1; ///< CTS state: 1=Active, 0=Inactive member
183 uint32_t cts : 1; ///< CTS Line: 0=not available, 1=available member
/device/qemu/drivers/uart/
H A Duart.c134 attribute->cts = udd->attr.cts; in Hi35xxGetAttribute()
156 udd->attr.cts = attribute->cts; in Hi35xxSetAttribute()
H A Duart_pl011.c189 /* config cts/rts */ in Pl011ConfigIn()
190 if (UART_ATTR_CTS_EN == udd->attr.cts) { in Pl011ConfigIn()
/device/soc/hisilicon/common/platform/uart/
H A Duart_hi35xx.c209 attribute->cts = udd->attr.cts; in Hi35xxGetAttribute()
234 udd->attr.cts = attribute->cts; in Hi35xxSetAttribute()
H A Duart_pl011.c188 /* config cts/rts */ in Pl011ConfigIn()
189 if (UART_ATTR_CTS_EN == udd->attr.cts) { in Pl011ConfigIn()
/device/soc/rockchip/common/vendor/drivers/gpu/drm/bridge/synopsys/
H A Ddw-hdmi-qp.c528 static void hdmi_set_cts_n(struct dw_hdmi_qp *hdmi, unsigned int cts, unsigned int n) in hdmi_set_cts_n() argument
534 if (cts) { in hdmi_set_cts_n()
540 hdmi_modb(hdmi, AUDPKT_ACR_CTS_OVR_VAL(cts), AUDPKT_ACR_CTS_OVR_VAL_MSK, AUDPKT_ACR_CONTROL1); in hdmi_set_cts_n()
590 u64 cts; in hdmi_audio_math_diff() local
594 cts = final; in hdmi_audio_math_diff()
595 do_div(cts, 0x80 * freq); in hdmi_audio_math_diff()
597 diff = final - (u64)cts * (0x80 * freq); in hdmi_audio_math_diff()
669 unsigned int n = 0, cts = 0; in hdmi_set_clk_regenerator() local
675 hdmi->audio_cts = cts; in hdmi_set_clk_regenerator()
676 hdmi_set_cts_n(hdmi, cts, hdm in hdmi_set_clk_regenerator()
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/bridge/synopsys/
H A Ddw-hdmi-qp.c323 static void hdmi_set_cts_n(struct dw_hdmi_qp *hdmi, unsigned int cts, in hdmi_set_cts_n() argument
330 if (cts) in hdmi_set_cts_n()
337 hdmi_modb(hdmi, AUDPKT_ACR_CTS_OVR_VAL(cts), AUDPKT_ACR_CTS_OVR_VAL_MSK, in hdmi_set_cts_n()
390 u64 cts; in hdmi_audio_math_diff() local
394 cts = final; in hdmi_audio_math_diff()
395 do_div(cts, 128 * freq); in hdmi_audio_math_diff()
397 diff = final - (u64)cts * (128 * freq); in hdmi_audio_math_diff()
476 unsigned int n = 0, cts = 0; in hdmi_set_clk_regenerator() local
482 hdmi->audio_cts = cts; in hdmi_set_clk_regenerator()
483 hdmi_set_cts_n(hdmi, cts, hdm in hdmi_set_clk_regenerator()
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/bridge/synopsys/
H A Ddw-hdmi.c976 static void hdmi_set_cts_n(struct dw_hdmi *hdmi, unsigned int cts, unsigned int n) in hdmi_set_cts_n() argument
985 if (cts) { in hdmi_set_cts_n()
986 hdmi_writeb(hdmi, ((cts >> 0x10) & HDMI_AUD_CTS3_AUDCTS19_16_MASK) | HDMI_AUD_CTS3_CTS_MANUAL, HDMI_AUD_CTS3); in hdmi_set_cts_n()
990 hdmi_writeb(hdmi, (cts >> 0x8) & 0xff, HDMI_AUD_CTS2); in hdmi_set_cts_n()
991 hdmi_writeb(hdmi, cts & 0xff, HDMI_AUD_CTS1); in hdmi_set_cts_n()
1045 u64 cts; in hdmi_audio_math_diff() local
1049 cts = final; in hdmi_audio_math_diff()
1050 do_div(cts, 0x80 * freq); in hdmi_audio_math_diff()
1052 diff = final - (u64)cts * (0x80 * freq); in hdmi_audio_math_diff()
1128 unsigned int n, cts; in hdmi_set_clk_regenerator() local
[all...]

Completed in 15 milliseconds