Home
last modified time | relevance | path

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

123

/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/msm/hdmi/
Dhdmi_audio.c44 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/
Dhdmi_common.c51 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()
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.h221 u32 cts; member
327 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.c513 ((arg & TIOCM_CTS) && (cnow.cts != cprev->cts)); in usb_serial_generic_msr_changed()
551 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/card/
Dsdio_uart.c55 __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/
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/b43/
Dxmit.c445 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/
Ddw_hdmi.c200 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/
Damiserial.c398 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()
Dmoxa.c122 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()
Dnozomi.c994 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/
Ddigi.h156 int cts; member
Ddgnc_mgmt.c207 ni.cts = TIOCM_CTS; in dgnc_mgmt_ioctl()
/drivers/ipack/devices/
Dscc2698.h66 u8 df, cts; /* Stop counter timer of block */ member
/drivers/staging/wlan-ng/
Dp80211netdev.h121 u32 cts; member

123