/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/msm/hdmi/ |
D | hdmi_audio.c | 44 uint32_t cts; /* CTS parameter for clock regeneration */ member 132 uint32_t n, cts, multiplier; in hdmi_audio_update() local 137 cts = arcs->lut[audio->rate].cts; in hdmi_audio_update() 151 DBG("n=%u, cts=%u, multiplier=%u", n, cts, multiplier); in hdmi_audio_update() 171 HDMI_ACR_0_CTS(cts)); in hdmi_audio_update()
|
/drivers/video/fbdev/omap2/dss/ |
D | hdmi_common.c | 51 int hdmi_compute_acr(u32 pclk, u32 sample_freq, u32 *n, u32 *cts) in hdmi_compute_acr() argument 56 if (n == NULL || cts == NULL) in hdmi_compute_acr() 145 *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 | 221 u32 cts; member 327 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 | 513 ((arg & TIOCM_CTS) && (cnow.cts != cprev->cts)); in usb_serial_generic_msr_changed() 551 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/card/ |
D | sdio_uart.c | 55 __u32 cts; member 494 port->icount.cts++; in sdio_uart_check_modem_status() 497 int cts = (status & UART_MSR_CTS); in sdio_uart_check_modem_status() local 499 if (cts) { in sdio_uart_check_modem_status() 505 if (!cts) { in sdio_uart_check_modem_status() 993 if (port->icount.cts) in sdio_uart_proc_show() 995 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/b43/ |
D | xmit.c | 445 struct ieee80211_cts *uninitialized_var(cts); in b43_generate_txhdr() 449 cts = (struct ieee80211_cts *) in b43_generate_txhdr() 453 cts = (struct ieee80211_cts *) in b43_generate_txhdr() 457 cts = (struct ieee80211_cts *) in b43_generate_txhdr() 463 info, cts); in b43_generate_txhdr()
|
/drivers/gpu/drm/bridge/ |
D | dw_hdmi.c | 200 static void hdmi_set_cts_n(struct dw_hdmi *hdmi, unsigned int cts, in hdmi_set_cts_n() argument 209 hdmi_writeb(hdmi, ((cts >> 16) & HDMI_AUD_CTS3_AUDCTS19_16_MASK) | in hdmi_set_cts_n() 211 hdmi_writeb(hdmi, (cts >> 8) & 0xff, HDMI_AUD_CTS2); in hdmi_set_cts_n() 212 hdmi_writeb(hdmi, cts & 0xff, HDMI_AUD_CTS1); in hdmi_set_cts_n() 279 unsigned int n, cts; in hdmi_set_clk_regenerator() local 293 cts = tmp; in hdmi_set_clk_regenerator() 297 n, cts); in hdmi_set_clk_regenerator() 301 hdmi->audio_cts = cts; in hdmi_set_clk_regenerator() 302 hdmi_set_cts_n(hdmi, cts, hdmi->audio_enable ? n : 0); in hdmi_set_clk_regenerator()
|
/drivers/tty/ |
D | amiserial.c | 398 icount->cts++; in check_modem_status() 1225 icount->cts = cnow.cts; in rs_get_icount() 1295 cnow.dcd == cprev.dcd && cnow.cts == cprev.cts) { in rs_ioctl() 1302 ((arg & TIOCM_CTS) && (cnow.cts != cprev.cts)) ) { in rs_ioctl() 1716 state->icount.cts = state->icount.dsr = in amiga_serial_probe()
|
D | moxa.c | 122 int cts; member 364 tmp.cts = 1; in moxa_ioctl() 1483 int rts, cts, txflow, rxflow, xany, baud; in moxa_set_tty_param() local 1485 rts = cts = txflow = rxflow = xany = 0; in moxa_set_tty_param() 1487 rts = cts = 1; in moxa_set_tty_param() 1497 MoxaPortFlowCtrl(ch, rts, cts, txflow, rxflow, xany); in moxa_set_tty_param() 1838 static void MoxaPortFlowCtrl(struct moxa_port *port, int rts, int cts, in MoxaPortFlowCtrl() argument 1845 if (cts) in MoxaPortFlowCtrl()
|
D | nozomi.c | 994 dc->port[port].tty_icount.cts++; in receive_flow_control() 1006 dc->port[port].tty_icount.dcd, dc->port[port].tty_icount.cts, in receive_flow_control() 1765 ((flags & TIOCM_CTS) && (cnow.cts != cprev->cts)); in ntty_cflags_changed() 1778 icount->cts = cnow.cts; in ntty_tiocgicount()
|
/drivers/staging/dgnc/ |
D | digi.h | 156 int cts; member
|
D | dgnc_mgmt.c | 207 ni.cts = TIOCM_CTS; in dgnc_mgmt_ioctl()
|
/drivers/ipack/devices/ |
D | scc2698.h | 66 u8 df, cts; /* Stop counter timer of block */ member
|
/drivers/staging/wlan-ng/ |
D | p80211netdev.h | 121 u32 cts; member
|