Home
last modified time | relevance | path

Searched refs:cts (Results 1 – 25 of 79) sorted by relevance

1234

/drivers/crypto/amcc/
Dcrypto4xx_sa.c40 union dynamic_sa_contents cts; in get_dynamic_sa_offset_state_ptr_field() local
43 cts.w = ((struct dynamic_sa_ctl *) ctx->sa_in)->sa_contents; in get_dynamic_sa_offset_state_ptr_field()
45 cts.w = ((struct dynamic_sa_ctl *) ctx->sa_out)->sa_contents; in get_dynamic_sa_offset_state_ptr_field()
46 offset = cts.bf.key_size in get_dynamic_sa_offset_state_ptr_field()
47 + cts.bf.inner_size in get_dynamic_sa_offset_state_ptr_field()
48 + cts.bf.outer_size in get_dynamic_sa_offset_state_ptr_field()
49 + cts.bf.spi in get_dynamic_sa_offset_state_ptr_field()
50 + cts.bf.seq_num0 in get_dynamic_sa_offset_state_ptr_field()
51 + cts.bf.seq_num1 in get_dynamic_sa_offset_state_ptr_field()
52 + cts.bf.seq_num_mask0 in get_dynamic_sa_offset_state_ptr_field()
[all …]
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_afmt.c53 int n, cts; in amdgpu_afmt_calc_cts() local
58 cts = clock * 1000; in amdgpu_afmt_calc_cts()
61 div = gcd(n, cts); in amdgpu_afmt_calc_cts()
64 cts /= div; in amdgpu_afmt_calc_cts()
73 cts *= mul; in amdgpu_afmt_calc_cts()
82 *CTS = cts; in amdgpu_afmt_calc_cts()
/drivers/gpu/drm/bridge/adv7511/
Dadv7511_audio.c19 unsigned int *cts, unsigned int *n) in adv7511_calc_cts_n() argument
33 *cts = ((f_tmds * *n) / (128 * fs)) * 1000; in adv7511_calc_cts_n()
38 unsigned int cts = 0; in adv7511_update_cts_n() local
41 adv7511_calc_cts_n(adv7511->f_tmds, adv7511->f_audio, &cts, &n); in adv7511_update_cts_n()
48 (cts >> 16) & 0xf); in adv7511_update_cts_n()
50 (cts >> 8) & 0xff); in adv7511_update_cts_n()
52 cts & 0xff); in adv7511_update_cts_n()
/drivers/gpu/drm/msm/hdmi/
Dhdmi_audio.c37 uint32_t cts; /* CTS parameter for clock regeneration */ member
125 uint32_t n, cts, multiplier; in msm_hdmi_audio_update() local
130 cts = arcs->lut[audio->rate].cts; in msm_hdmi_audio_update()
144 DBG("n=%u, cts=%u, multiplier=%u", n, cts, multiplier); in msm_hdmi_audio_update()
164 HDMI_ACR_0_CTS(cts)); in msm_hdmi_audio_update()
/drivers/gpu/drm/omapdrm/dss/
Dhdmi_common.c52 int hdmi_compute_acr(u32 pclk, u32 sample_freq, u32 *n, u32 *cts) in hdmi_compute_acr() argument
57 if (n == NULL || cts == NULL) in hdmi_compute_acr()
146 *cts = (pclk/1000) * (*n / 128) * deep_color / (sample_freq / 10); in hdmi_compute_acr()
Dhdmi4_core.c545 REG_FLD_MOD(av_base, HDMI_CORE_AV_CTS_SVAL1, cfg->cts, 7, 0); in hdmi_core_audio_config()
547 HDMI_CORE_AV_CTS_SVAL2, cfg->cts >> 8, 7, 0); in hdmi_core_audio_config()
549 HDMI_CORE_AV_CTS_SVAL3, cfg->cts >> 16, 7, 0); in hdmi_core_audio_config()
693 int err, n, cts, channel_count; in hdmi4_audio_config() local
755 err = hdmi_compute_acr(pclk, fs_nr, &n, &cts); in hdmi4_audio_config()
759 acore.cts = cts; in hdmi4_audio_config()
Dhdmi5_core.c673 REG_FLD_MOD(base, HDMI_CORE_AUD_CTS1, cfg->cts, 7, 0); in hdmi5_core_audio_config()
674 REG_FLD_MOD(base, HDMI_CORE_AUD_CTS2, cfg->cts >> 8, 7, 0); in hdmi5_core_audio_config()
675 REG_FLD_MOD(base, HDMI_CORE_AUD_CTS3, cfg->cts >> 16, 3, 0); in hdmi5_core_audio_config()
813 int err, n, cts, channel_count; in hdmi5_audio_config() local
856 err = hdmi_compute_acr(pclk, fs_nr, &n, &cts); in hdmi5_audio_config()
858 core_cfg.cts = cts; in hdmi5_audio_config()
Dhdmi.h222 u32 cts; member
339 int hdmi_compute_acr(u32 pclk, u32 sample_freq, u32 *n, u32 *cts);
/drivers/video/fbdev/omap2/omapfb/dss/
Dhdmi_common.c52 int hdmi_compute_acr(u32 pclk, u32 sample_freq, u32 *n, u32 *cts) in hdmi_compute_acr() argument
57 if (n == NULL || cts == NULL) in hdmi_compute_acr()
146 *cts = (pclk/1000) * (*n / 128) * deep_color / (sample_freq / 10); in hdmi_compute_acr()
Dhdmi4_core.c545 REG_FLD_MOD(av_base, HDMI_CORE_AV_CTS_SVAL1, cfg->cts, 7, 0); in hdmi_core_audio_config()
547 HDMI_CORE_AV_CTS_SVAL2, cfg->cts >> 8, 7, 0); in hdmi_core_audio_config()
549 HDMI_CORE_AV_CTS_SVAL3, cfg->cts >> 16, 7, 0); in hdmi_core_audio_config()
693 int err, n, cts, channel_count; in hdmi4_audio_config() local
755 err = hdmi_compute_acr(pclk, fs_nr, &n, &cts); in hdmi4_audio_config()
759 acore.cts = cts; in hdmi4_audio_config()
Dhdmi5_core.c664 REG_FLD_MOD(base, HDMI_CORE_AUD_CTS1, cfg->cts, 7, 0); in hdmi5_core_audio_config()
665 REG_FLD_MOD(base, HDMI_CORE_AUD_CTS2, cfg->cts >> 8, 7, 0); in hdmi5_core_audio_config()
666 REG_FLD_MOD(base, HDMI_CORE_AUD_CTS3, cfg->cts >> 16, 3, 0); in hdmi5_core_audio_config()
804 int err, n, cts, channel_count; in hdmi5_audio_config() local
847 err = hdmi_compute_acr(pclk, fs_nr, &n, &cts); in hdmi5_audio_config()
849 core_cfg.cts = cts; in hdmi5_audio_config()
Dhdmi.h222 u32 cts; member
328 int hdmi_compute_acr(u32 pclk, u32 sample_freq, u32 *n, u32 *cts);
/drivers/tty/serial/
Dtimbuart.c213 u8 cts = ioread8(port->membase + TIMBUART_CTRL); in timbuart_get_mctrl() local
214 dev_dbg(port->dev, "%s - cts %x\n", __func__, cts); in timbuart_get_mctrl()
216 if (cts & TIMBUART_CTRL_CTS) in timbuart_get_mctrl()
234 unsigned int cts; in timbuart_mctrl_check() local
239 cts = timbuart_get_mctrl(port); in timbuart_mctrl_check()
240 uart_handle_cts_change(port, cts & TIOCM_CTS); in timbuart_mctrl_check()
Dmax3100.c101 int cts; /* last CTS received for flow ctrl */ member
224 int ret = 0, cts; in max3100_handlerx() local
252 cts = (rx & MAX3100_CTS) > 0; in max3100_handlerx()
253 if (s->cts != cts) { in max3100_handlerx()
254 s->cts = cts; in max3100_handlerx()
255 uart_handle_cts_change(&s->port, cts ? TIOCM_CTS : 0); in max3100_handlerx()
402 return (s->cts ? TIOCM_CTS : 0) | TIOCM_DSR | TIOCM_CAR; in max3100_get_mctrl()
/drivers/usb/serial/
Dopticon.c45 bool cts; member
65 priv->cts = false; in opticon_process_status_packet()
67 priv->cts = true; in opticon_process_status_packet()
295 if (priv->cts) in opticon_tiocmget()
Dgeneric.c542 ((arg & TIOCM_CTS) && (cnow.cts != cprev->cts)); in usb_serial_generic_msr_changed()
580 icount->cts = cnow.cts; in usb_serial_generic_get_icount()
Dkeyspan_usa28msg.h150 cts, member
Dkeyspan_usa49msg.h241 cts, // reports CTS pin member
Dkeyspan_usa90msg.h156 cts, // reports CTS pin member
/drivers/mmc/core/
Dsdio_uart.c55 __u32 cts; member
492 port->icount.cts++; in sdio_uart_check_modem_status()
495 int cts = (status & UART_MSR_CTS); in sdio_uart_check_modem_status() local
497 if (cts) { in sdio_uart_check_modem_status()
503 if (!cts) { in sdio_uart_check_modem_status()
991 if (port->icount.cts) in sdio_uart_proc_show()
993 port->icount.cts); in sdio_uart_proc_show()
/drivers/gpu/drm/radeon/
Dradeon_audio.c555 int n, cts; in radeon_audio_calc_cts() local
560 cts = clock * 1000; in radeon_audio_calc_cts()
563 div = gcd(n, cts); in radeon_audio_calc_cts()
566 cts /= div; in radeon_audio_calc_cts()
575 cts *= mul; in radeon_audio_calc_cts()
584 *CTS = cts; in radeon_audio_calc_cts()
/drivers/net/wireless/broadcom/b43/
Dxmit.c452 struct ieee80211_cts *uninitialized_var(cts); in b43_generate_txhdr()
456 cts = (struct ieee80211_cts *) in b43_generate_txhdr()
460 cts = (struct ieee80211_cts *) in b43_generate_txhdr()
464 cts = (struct ieee80211_cts *) in b43_generate_txhdr()
470 info, cts); in b43_generate_txhdr()
/drivers/gpu/drm/mediatek/
Dmtk_hdmi.c719 unsigned int cts) in do_hdmi_hw_aud_set_ncts() argument
729 val[0] = (cts >> 24) & 0xff; in do_hdmi_hw_aud_set_ncts()
730 val[1] = (cts >> 16) & 0xff; in do_hdmi_hw_aud_set_ncts()
731 val[2] = (cts >> 8) & 0xff; in do_hdmi_hw_aud_set_ncts()
732 val[3] = cts & 0xff; in do_hdmi_hw_aud_set_ncts()
746 unsigned int n, cts; in mtk_hdmi_hw_aud_set_ncts() local
749 cts = hdmi_expected_cts(sample_rate, clock, n); in mtk_hdmi_hw_aud_set_ncts()
752 __func__, sample_rate, clock, n, cts); in mtk_hdmi_hw_aud_set_ncts()
756 do_hdmi_hw_aud_set_ncts(hdmi, n, cts); in mtk_hdmi_hw_aud_set_ncts()
/drivers/tty/
Damiserial.c397 icount->cts++; in check_modem_status()
1198 icount->cts = cnow.cts; in rs_get_icount()
1268 cnow.dcd == cprev.dcd && cnow.cts == cprev.cts) { in rs_ioctl()
1275 ((arg & TIOCM_CTS) && (cnow.cts != cprev.cts)) ) { in rs_ioctl()
1683 state->icount.cts = state->icount.dsr = in amiga_serial_probe()
/drivers/staging/dgnc/
Ddigi.h190 int cts; member

1234