Home
last modified time | relevance | path

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

123

/drivers/crypto/amcc/
Dcrypto4xx_sa.c40 union dynamic_sa_contents cts; in get_dynamic_sa_offset_iv_field() local
43 cts.w = ((struct dynamic_sa_ctl *)(ctx->sa_in))->sa_contents; in get_dynamic_sa_offset_iv_field()
45 cts.w = ((struct dynamic_sa_ctl *)(ctx->sa_out))->sa_contents; in get_dynamic_sa_offset_iv_field()
46 offset = cts.bf.key_size in get_dynamic_sa_offset_iv_field()
47 + cts.bf.inner_size in get_dynamic_sa_offset_iv_field()
48 + cts.bf.outer_size in get_dynamic_sa_offset_iv_field()
49 + cts.bf.spi in get_dynamic_sa_offset_iv_field()
50 + cts.bf.seq_num0 in get_dynamic_sa_offset_iv_field()
51 + cts.bf.seq_num1 in get_dynamic_sa_offset_iv_field()
52 + cts.bf.seq_num_mask0 in get_dynamic_sa_offset_iv_field()
[all …]
/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.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.c548 REG_FLD_MOD(av_base, HDMI_CORE_AV_CTS_SVAL1, cfg->cts, 7, 0); in hdmi_core_audio_config()
550 HDMI_CORE_AV_CTS_SVAL2, cfg->cts >> 8, 7, 0); in hdmi_core_audio_config()
552 HDMI_CORE_AV_CTS_SVAL3, cfg->cts >> 16, 7, 0); in hdmi_core_audio_config()
689 int err, n, cts, channel_count; in hdmi4_audio_config() local
751 err = hdmi_compute_acr(pclk, fs_nr, &n, &cts); in hdmi4_audio_config()
755 acore.cts = cts; in hdmi4_audio_config()
Dhdmi5_core.c669 REG_FLD_MOD(base, HDMI_CORE_AUD_CTS1, cfg->cts, 7, 0); in hdmi5_core_audio_config()
670 REG_FLD_MOD(base, HDMI_CORE_AUD_CTS2, cfg->cts >> 8, 7, 0); in hdmi5_core_audio_config()
671 REG_FLD_MOD(base, HDMI_CORE_AUD_CTS3, cfg->cts >> 16, 3, 0); in hdmi5_core_audio_config()
807 int err, n, cts, channel_count; in hdmi5_audio_config() local
850 err = hdmi_compute_acr(pclk, fs_nr, &n, &cts); in hdmi5_audio_config()
852 core_cfg.cts = cts; in hdmi5_audio_config()
Dhdmi.h238 u32 cts; member
338 int hdmi_compute_acr(u32 pclk, u32 sample_freq, u32 *n, u32 *cts);
/drivers/staging/imx-drm/
Dimx-hdmi.c182 static void hdmi_regenerate_cts(struct imx_hdmi *hdmi, unsigned int cts) in hdmi_regenerate_cts() argument
187 hdmi_writeb(hdmi, cts & 0xff, HDMI_AUD_CTS1); in hdmi_regenerate_cts()
188 hdmi_writeb(hdmi, (cts >> 8) & 0xff, HDMI_AUD_CTS2); in hdmi_regenerate_cts()
189 hdmi_writeb(hdmi, ((cts >> 16) & HDMI_AUD_CTS3_AUDCTS19_16_MASK) | in hdmi_regenerate_cts()
260 unsigned int cts = 0; in hdmi_compute_cts() local
268 cts = 222750; in hdmi_compute_cts()
280 cts = pixel_clk / 1000; in hdmi_compute_cts()
283 cts = 247500; in hdmi_compute_cts()
300 cts = 28000; in hdmi_compute_cts()
303 cts = 30000; in hdmi_compute_cts()
[all …]
/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.c486 ((arg & TIOCM_CTS) && (cnow.cts != cprev->cts)); in usb_serial_generic_msr_changed()
524 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/gpu/drm/radeon/
Dr600_hdmi.c242 int n, cts; in r600_hdmi_calc_cts() local
247 cts = clock * 1000; in r600_hdmi_calc_cts()
250 div = gcd(n, cts); in r600_hdmi_calc_cts()
253 cts /= div; in r600_hdmi_calc_cts()
262 cts *= mul; in r600_hdmi_calc_cts()
271 *CTS = cts; in r600_hdmi_calc_cts()
/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/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/tty/
Damiserial.c398 icount->cts++; in check_modem_status()
1229 icount->cts = cnow.cts; in rs_get_icount()
1299 cnow.dcd == cprev.dcd && cnow.cts == cprev.cts) { in rs_ioctl()
1306 ((arg & TIOCM_CTS) && (cnow.cts != cprev.cts)) ) { in rs_ioctl()
1720 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()
1762 ((flags & TIOCM_CTS) && (cnow.cts != cprev->cts)); in ntty_cflags_changed()
1775 icount->cts = cnow.cts; in ntty_tiocgicount()
/drivers/staging/dgnc/
Ddpacompat.h32 int cts; member
/drivers/gpu/drm/exynos/
Dexynos_hdmi.c1188 u32 n, cts; in hdmi_set_acr() local
1193 cts = 27000; in hdmi_set_acr()
1197 cts = 30000; in hdmi_set_acr()
1201 cts = 30000; in hdmi_set_acr()
1205 cts = 30000; in hdmi_set_acr()
1209 cts = 27000; in hdmi_set_acr()
1213 cts = 27000; in hdmi_set_acr()
1217 cts = 27000; in hdmi_set_acr()
1221 cts = 0; in hdmi_set_acr()
1225 acr[1] = cts >> 16; in hdmi_set_acr()
[all …]
/drivers/ipack/devices/
Dscc2698.h66 u8 df, cts; /* Stop counter timer of block */ member
/drivers/staging/wlan-ng/
Dp80211netdev.h121 u32 cts; member
/drivers/staging/vt6656/
Drxtx.h214 struct vnt_rrv_time_cts cts; member

123