/drivers/crypto/amcc/ |
D | crypto4xx_sa.c | 40 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/ |
D | amdgpu_afmt.c | 53 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/ |
D | adv7511_audio.c | 19 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/ |
D | hdmi_audio.c | 37 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/ |
D | hdmi_common.c | 52 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()
|
D | hdmi4_core.c | 545 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()
|
D | hdmi5_core.c | 673 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()
|
D | hdmi.h | 222 u32 cts; member 339 int hdmi_compute_acr(u32 pclk, u32 sample_freq, u32 *n, u32 *cts);
|
/drivers/video/fbdev/omap2/omapfb/dss/ |
D | hdmi_common.c | 52 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()
|
D | hdmi4_core.c | 545 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()
|
D | hdmi5_core.c | 664 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()
|
D | hdmi.h | 222 u32 cts; member 328 int hdmi_compute_acr(u32 pclk, u32 sample_freq, u32 *n, u32 *cts);
|
/drivers/tty/serial/ |
D | timbuart.c | 213 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()
|
D | max3100.c | 101 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/ |
D | opticon.c | 45 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()
|
D | generic.c | 542 ((arg & TIOCM_CTS) && (cnow.cts != cprev->cts)); in usb_serial_generic_msr_changed() 580 icount->cts = cnow.cts; in usb_serial_generic_get_icount()
|
D | keyspan_usa28msg.h | 150 cts, member
|
D | keyspan_usa49msg.h | 241 cts, // reports CTS pin member
|
D | keyspan_usa90msg.h | 156 cts, // reports CTS pin member
|
/drivers/mmc/core/ |
D | sdio_uart.c | 55 __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/ |
D | radeon_audio.c | 555 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/ |
D | xmit.c | 452 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/ |
D | mtk_hdmi.c | 719 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/ |
D | amiserial.c | 397 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/ |
D | digi.h | 190 int cts; member
|