/kernel/linux/linux-5.10/drivers/crypto/amcc/ |
H A D | crypto4xx_sa.h | 275 get_dynamic_sa_offset_state_ptr_field(struct dynamic_sa_ctl *cts) in get_dynamic_sa_offset_state_ptr_field() argument 279 offset = cts->sa_contents.bf.key_size in get_dynamic_sa_offset_state_ptr_field() 280 + cts->sa_contents.bf.inner_size in get_dynamic_sa_offset_state_ptr_field() 281 + cts->sa_contents.bf.outer_size in get_dynamic_sa_offset_state_ptr_field() 282 + cts->sa_contents.bf.spi in get_dynamic_sa_offset_state_ptr_field() 283 + cts->sa_contents.bf.seq_num0 in get_dynamic_sa_offset_state_ptr_field() 284 + cts->sa_contents.bf.seq_num1 in get_dynamic_sa_offset_state_ptr_field() 285 + cts->sa_contents.bf.seq_num_mask0 in get_dynamic_sa_offset_state_ptr_field() 286 + cts->sa_contents.bf.seq_num_mask1 in get_dynamic_sa_offset_state_ptr_field() 287 + cts in get_dynamic_sa_offset_state_ptr_field() 297 get_dynamic_sa_key_field(struct dynamic_sa_ctl *cts) get_dynamic_sa_key_field() argument 302 get_dynamic_sa_inner_digest(struct dynamic_sa_ctl *cts) get_dynamic_sa_inner_digest() argument [all...] |
/kernel/linux/linux-6.6/drivers/crypto/amcc/ |
H A D | crypto4xx_sa.h | 275 get_dynamic_sa_offset_state_ptr_field(struct dynamic_sa_ctl *cts) in get_dynamic_sa_offset_state_ptr_field() argument 279 offset = cts->sa_contents.bf.key_size in get_dynamic_sa_offset_state_ptr_field() 280 + cts->sa_contents.bf.inner_size in get_dynamic_sa_offset_state_ptr_field() 281 + cts->sa_contents.bf.outer_size in get_dynamic_sa_offset_state_ptr_field() 282 + cts->sa_contents.bf.spi in get_dynamic_sa_offset_state_ptr_field() 283 + cts->sa_contents.bf.seq_num0 in get_dynamic_sa_offset_state_ptr_field() 284 + cts->sa_contents.bf.seq_num1 in get_dynamic_sa_offset_state_ptr_field() 285 + cts->sa_contents.bf.seq_num_mask0 in get_dynamic_sa_offset_state_ptr_field() 286 + cts->sa_contents.bf.seq_num_mask1 in get_dynamic_sa_offset_state_ptr_field() 287 + cts in get_dynamic_sa_offset_state_ptr_field() 297 get_dynamic_sa_key_field(struct dynamic_sa_ctl *cts) get_dynamic_sa_key_field() argument 302 get_dynamic_sa_inner_digest(struct dynamic_sa_ctl *cts) get_dynamic_sa_inner_digest() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A 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()
|
/kernel/linux/linux-5.10/samples/bpf/ |
H A D | cpustat_kern.c | 106 u64 *cts, *pts, *cstate, *pstate, prev_state, cur_ts, delta; in bpf_prog1() local 116 cts = bpf_map_lookup_elem(&my_map, &key); in bpf_prog1() 117 if (!cts) in bpf_prog1() 138 if (!*cts) { in bpf_prog1() 139 *cts = bpf_ktime_get_ns(); in bpf_prog1() 144 delta = cur_ts - *cts; in bpf_prog1() 145 *cts = cur_ts; in bpf_prog1() 194 * cts cur_ts in bpf_prog1()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/adv7511/ |
H A D | adv7511_audio.c | 18 unsigned int *cts, unsigned int *n) in adv7511_calc_cts_n() 34 *cts = ((f_tmds * *n) / (128 * fs)) * 1000; in adv7511_calc_cts_n() 39 unsigned int cts = 0; in adv7511_update_cts_n() local 42 adv7511_calc_cts_n(adv7511->f_tmds, adv7511->f_audio, &cts, &n); in adv7511_update_cts_n() 49 (cts >> 16) & 0xf); in adv7511_update_cts_n() 51 (cts >> 8) & 0xff); in adv7511_update_cts_n() 53 cts & 0xff); in adv7511_update_cts_n() 17 adv7511_calc_cts_n(unsigned int f_tmds, unsigned int fs, unsigned int *cts, unsigned int *n) adv7511_calc_cts_n() argument
|
/kernel/linux/linux-6.6/samples/bpf/ |
H A D | cpustat_kern.c | 106 u64 *cts, *pts, *cstate, *pstate, prev_state, cur_ts, delta; in bpf_prog1() local 116 cts = bpf_map_lookup_elem(&my_map, &key); in bpf_prog1() 117 if (!cts) in bpf_prog1() 138 if (!*cts) { in bpf_prog1() 139 *cts = bpf_ktime_get_ns(); in bpf_prog1() 144 delta = cur_ts - *cts; in bpf_prog1() 145 *cts = cur_ts; in bpf_prog1() 194 * cts cur_ts in bpf_prog1()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/bridge/adv7511/ |
H A D | adv7511_audio.c | 18 unsigned int *cts, unsigned int *n) in adv7511_calc_cts_n() 34 *cts = ((f_tmds * *n) / (128 * fs)) * 1000; in adv7511_calc_cts_n() 39 unsigned int cts = 0; in adv7511_update_cts_n() local 42 adv7511_calc_cts_n(adv7511->f_tmds, adv7511->f_audio, &cts, &n); in adv7511_update_cts_n() 49 (cts >> 16) & 0xf); in adv7511_update_cts_n() 51 (cts >> 8) & 0xff); in adv7511_update_cts_n() 53 cts & 0xff); in adv7511_update_cts_n() 17 adv7511_calc_cts_n(unsigned int f_tmds, unsigned int fs, unsigned int *cts, unsigned int *n) adv7511_calc_cts_n() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/hdmi/ |
H A D | hdmi_audio.c | 26 uint32_t cts; /* CTS parameter for clock regeneration */ member 114 uint32_t n, cts, multiplier; in msm_hdmi_audio_update() local 119 cts = arcs->lut[audio->rate].cts; in msm_hdmi_audio_update() 133 DBG("n=%u, cts=%u, multiplier=%u", n, cts, multiplier); in msm_hdmi_audio_update() 153 HDMI_ACR_0_CTS(cts)); in msm_hdmi_audio_update()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/hdmi/ |
H A D | hdmi_audio.c | 26 uint32_t cts; /* CTS parameter for clock regeneration */ member 114 uint32_t n, cts, multiplier; in msm_hdmi_audio_update() local 119 cts = arcs->lut[audio->rate].cts; in msm_hdmi_audio_update() 133 DBG("n=%u, cts=%u, multiplier=%u", n, cts, multiplier); in msm_hdmi_audio_update() 153 HDMI_ACR_0_CTS(cts)); in msm_hdmi_audio_update()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/ |
H A 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()
|
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/video/fbdev/omap2/omapfb/dss/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/omapdrm/dss/ |
H A 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()
|
/kernel/linux/linux-5.10/tools/firewire/ |
H A D | decode-fcp.c | 141 uint32_t cts:4; member 186 switch (frame->cts) { in decode_fcp() 191 printf("cal fcp frame (cts=0x01)\n"); in decode_fcp() 194 printf("ehs fcp frame (cts=0x02)\n"); in decode_fcp() 197 printf("havi fcp frame (cts=0x03)\n"); in decode_fcp() 200 printf("vendor specific fcp frame (cts=0x0e)\n"); in decode_fcp() 203 printf("extended cts\n"); in decode_fcp() 206 printf("reserved fcp frame (ctx=0x%02x)\n", frame->cts); in decode_fcp()
|
/kernel/linux/linux-6.6/tools/firewire/ |
H A D | decode-fcp.c | 141 uint32_t cts:4; member 186 switch (frame->cts) { in decode_fcp() 191 printf("cal fcp frame (cts=0x01)\n"); in decode_fcp() 194 printf("ehs fcp frame (cts=0x02)\n"); in decode_fcp() 197 printf("havi fcp frame (cts=0x03)\n"); in decode_fcp() 200 printf("vendor specific fcp frame (cts=0x0e)\n"); in decode_fcp() 203 printf("extended cts\n"); in decode_fcp() 206 printf("reserved fcp frame (ctx=0x%02x)\n", frame->cts); in decode_fcp()
|
/kernel/linux/linux-5.10/drivers/tty/serial/ |
H A D | timbuart.c | 201 u8 cts = ioread8(port->membase + TIMBUART_CTRL); in timbuart_get_mctrl() local 202 dev_dbg(port->dev, "%s - cts %x\n", __func__, cts); in timbuart_get_mctrl() 204 if (cts & TIMBUART_CTRL_CTS) in timbuart_get_mctrl() 222 unsigned int cts; in timbuart_mctrl_check() local 227 cts = timbuart_get_mctrl(port); in timbuart_mctrl_check() 228 uart_handle_cts_change(port, cts & TIOCM_CTS); in timbuart_mctrl_check()
|
H A D | max3100.c | 96 int cts; /* last CTS received for flow ctrl */ member 219 int ret = 0, cts; in max3100_handlerx() local 247 cts = (rx & MAX3100_CTS) > 0; in max3100_handlerx() 248 if (s->cts != cts) { in max3100_handlerx() 249 s->cts = cts; in max3100_handlerx() 250 uart_handle_cts_change(&s->port, cts ? TIOCM_CTS : 0); in max3100_handlerx() 396 return (s->cts ? TIOCM_CTS : 0) | TIOCM_DSR | TIOCM_CAR; in max3100_get_mctrl()
|
/kernel/linux/linux-6.6/drivers/tty/serial/ |
H A D | timbuart.c | 198 u8 cts = ioread8(port->membase + TIMBUART_CTRL); in timbuart_get_mctrl() local 199 dev_dbg(port->dev, "%s - cts %x\n", __func__, cts); in timbuart_get_mctrl() 201 if (cts & TIMBUART_CTRL_CTS) in timbuart_get_mctrl() 219 unsigned int cts; in timbuart_mctrl_check() local 224 cts = timbuart_get_mctrl(port); in timbuart_mctrl_check() 225 uart_handle_cts_change(port, cts & TIOCM_CTS); in timbuart_mctrl_check()
|
H A D | max3100.c | 96 int cts; /* last CTS received for flow ctrl */ member 219 int ret = 0, cts; in max3100_handlerx() local 248 cts = (rx & MAX3100_CTS) > 0; in max3100_handlerx() 249 if (s->cts != cts) { in max3100_handlerx() 250 s->cts = cts; in max3100_handlerx() 251 uart_handle_cts_change(&s->port, cts); in max3100_handlerx() 395 return (s->cts ? TIOCM_CTS : 0) | TIOCM_DSR | TIOCM_CAR; in max3100_get_mctrl()
|
/kernel/linux/linux-6.6/drivers/usb/serial/ |
H A D | opticon.c | 42 bool cts; member 65 priv->cts = false; in opticon_process_status_packet() 67 priv->cts = true; in opticon_process_status_packet() 314 if (priv->cts) in opticon_tiocmget()
|
/kernel/linux/linux-6.6/drivers/spi/ |
H A D | spi-wpcm-fiu.c | 101 u8 cts = FIU_UMA_CTS_EXEC_DONE | FIU_UMA_CTS_CS(cs); in wpcm_fiu_do_uma() local 104 cts |= FIU_UMA_CTS_A_SIZE; in wpcm_fiu_do_uma() 106 cts |= FIU_UMA_CTS_WR; in wpcm_fiu_do_uma() 107 cts |= FIU_UMA_CTS_D_SIZE(data_bytes); in wpcm_fiu_do_uma() 109 writeb(cts, fiu->regs + FIU_UMA_CTS); in wpcm_fiu_do_uma()
|
/kernel/linux/linux-6.6/arch/arm64/crypto/ |
H A D | aes-neonbs-glue.c | 71 struct crypto_aes_ctx cts; member 263 err = aes_expandkey(&ctx->cts, in_key, key_len); in aesbs_xts_setkey() 294 /* ensure that the cts tail is covered by a single step */ in __xts_crypt() 338 neon_aes_xts_encrypt(out, in, ctx->cts.key_enc, in __xts_crypt() 342 neon_aes_xts_decrypt(out, in, ctx->cts.key_dec, in __xts_crypt() 372 neon_aes_xts_encrypt(out, in, ctx->cts.key_enc, ctx->key.rounds, in __xts_crypt() 375 neon_aes_xts_decrypt(out, in, ctx->cts.key_dec, ctx->key.rounds, in __xts_crypt()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | serial.h | 21 __u32 cts, dsr, rng, dcd, tx, rx; member
|
/kernel/linux/linux-6.6/drivers/gpu/drm/bridge/ |
H A D | ite-it66121.c | 1115 unsigned int cts = 0; in it661221_set_ncts() local 1123 cts = val << 12; in it661221_set_ncts() 1125 cts |= val << 4; in it661221_set_ncts() 1127 cts |= val >> 4; in it661221_set_ncts() 1128 if (cts == 0) { in it661221_set_ncts() 1131 if (last_cts > cts) in it661221_set_ncts() 1132 diff = last_cts - cts; in it661221_set_ncts() 1134 diff = cts - last_cts; in it661221_set_ncts() 1135 last_cts = cts; in it661221_set_ncts() 1138 sum_cts += cts; in it661221_set_ncts() [all...] |