Searched refs:cs (Results 51 - 75 of 831) sorted by relevance

1234567891011>>

/netbsd-current/sys/arch/mipsco/include/
H A Dz8530var.h111 uint8_t zs_read_reg(struct zs_chanstate *cs, uint8_t reg);
112 uint8_t zs_read_csr(struct zs_chanstate *cs);
113 uint8_t zs_read_data(struct zs_chanstate *cs);
115 void zs_write_reg(struct zs_chanstate *cs, uint8_t reg, uint8_t val);
116 void zs_write_csr(struct zs_chanstate *cs, uint8_t val);
117 void zs_write_data(struct zs_chanstate *cs, uint8_t val);
/netbsd-current/sys/external/bsd/drm2/dist/drm/i915/gt/
H A Dintel_ring_submission.c61 u32 cmd, *cs; local
70 cs = intel_ring_begin(rq, 2 + 3 * num_store_dw);
71 if (IS_ERR(cs))
72 return PTR_ERR(cs);
74 *cs++ = cmd;
76 *cs++ = MI_STORE_DWORD_IMM | MI_MEM_VIRTUAL;
77 *cs++ = intel_gt_scratch_offset(rq->engine->gt,
79 *cs++ = 0;
81 *cs++ = MI_FLUSH | MI_NO_WRITE_FLUSH;
83 intel_ring_advance(rq, cs);
91 u32 cmd, *cs; local
218 u32 *cs; local
253 u32 *cs, flags = 0; local
300 gen6_rcs_emit_breadcrumb(struct i915_request *rq, u32 *cs) argument
338 u32 *cs; local
359 u32 *cs, flags = 0; local
415 gen7_rcs_emit_breadcrumb(struct i915_request *rq, u32 *cs) argument
437 gen6_xcs_emit_breadcrumb(struct i915_request *rq, u32 *cs) argument
455 gen7_xcs_emit_breadcrumb(struct i915_request *rq, u32 *cs) argument
952 i9xx_emit_breadcrumb(struct i915_request *rq, u32 *cs) argument
973 gen5_emit_breadcrumb(struct i915_request *rq, u32 *cs) argument
1047 u32 *cs; local
1101 u32 *cs; local
1124 u32 *cs, cs_offset = local
1187 u32 *cs; local
1377 u32 *cs; local
1415 u32 *cs; local
1523 u32 *cs, *remap_info = rq->i915->l3_parity.remap_info[slice]; local
1700 u32 cmd, *cs; local
1749 u32 *cs; local
1769 u32 *cs; local
[all...]
/netbsd-current/external/gpl2/gettext/dist/gettext-tools/tests/
H A Dxgettext-csharp-18 tmpfiles="$tmpfiles xg-cs-1.cs"
9 cat <<EOF > xg-cs-1.cs
32 tmpfiles="$tmpfiles xg-cs-1.po"
34 ${XGETTEXT} --omit-header --no-location -c -d xg-cs-1 xg-cs-1.cs
37 tmpfiles="$tmpfiles xg-cs-1.ok"
38 cat <<EOF > xg-cs
[all...]
H A Dxgettext-csharp-58 tmpfiles="$tmpfiles xg-cs-5.cs"
9 cat <<EOF > xg-cs-5.cs
26 tmpfiles="$tmpfiles xg-cs-5.po"
29 -d xg-cs-5 xg-cs-5.cs
32 tmpfiles="$tmpfiles xg-cs-5.ok"
33 cat <<EOF > xg-cs
[all...]
/netbsd-current/external/bsd/tmux/dist/compat/
H A Dmemmem.c43 const char *cs = s; local
55 return memchr(l, *cs, l_len);
61 if (cur[0] == cs[0] && memcmp(cur, cs, s_len) == 0)
/netbsd-current/sys/arch/mipsco/obio/
H A Dzs.c200 struct zs_chanstate *cs; local
224 cs = zsc->zsc_cs[channel] = (struct zs_chanstate *)ch;
226 zs_lock_init(cs);
227 cs->cs_reg_csr = NULL;
228 cs->cs_reg_data = NULL;
229 cs->cs_channel = channel;
230 cs->cs_private = NULL;
231 cs->cs_ops = &zsops_null;
232 cs->cs_brg_clk = PCLK / 16;
243 memcpy(cs
382 zs_get_speed(struct zs_chanstate *cs) argument
395 zs_set_speed(struct zs_chanstate *cs, int bps) argument
437 zs_set_modes(struct zs_chanstate *cs, int cflag) argument
481 zs_read_reg(struct zs_chanstate *cs, uint8_t reg) argument
494 zs_write_reg(struct zs_chanstate *cs, uint8_t reg, uint8_t val) argument
505 zs_read_csr(struct zs_chanstate *cs) argument
516 zs_write_csr(struct zs_chanstate *cs, uint8_t val) argument
525 zs_read_data(struct zs_chanstate *cs) argument
536 zs_write_data(struct zs_chanstate *cs, uint8_t val) argument
545 zs_abort(struct zs_chanstate *cs) argument
[all...]
/netbsd-current/sys/dev/ic/
H A Dz8530tty.c333 struct zs_chanstate *cs; local
348 cs = zsc->zsc_cs[channel];
349 cs->cs_private = zst;
350 cs->cs_ops = &zsops_tty;
352 zst->zst_cs = cs;
388 if (zs_check_kgdb(cs, dev)) {
421 if (!cs->enable)
422 cs->enabled = 1;
438 t.c_ospeed = cs->cs_defspeed;
439 t.c_cflag = cs
486 struct zs_chanstate *cs = zst->zst_cs; local
543 struct zs_chanstate *cs; local
767 struct zs_chanstate *cs; local
899 struct zs_chanstate *cs; local
970 struct zs_chanstate *cs; local
1149 struct zs_chanstate *cs = zst->zst_cs; local
1176 struct zs_chanstate *cs = zst->zst_cs, *ccs; local
1205 struct zs_chanstate *cs = zst->zst_cs, *ccs; local
1248 struct zs_chanstate *cs = zst->zst_cs, *ccs; local
1279 struct zs_chanstate *cs; local
1315 struct zs_chanstate *cs = zst->zst_cs, *ccs; local
1348 zstty_rxint(struct zs_chanstate *cs) argument
1429 zstty_txint(struct zs_chanstate *cs) argument
1465 zstty_stint(struct zs_chanstate *cs, int force) argument
1542 struct zs_chanstate *cs = zst->zst_cs; local
1644 struct zs_chanstate *cs = zst->zst_cs; local
1659 struct zs_chanstate *cs = zst->zst_cs; local
1699 zstty_softint(struct zs_chanstate *cs) argument
1706 zstty_softint1(struct zs_chanstate *cs) argument
1739 struct zs_chanstate *cs = arg; local
[all...]
/netbsd-current/sys/dev/tc/
H A Dzs_ioasic.c229 struct zs_chanstate *cs; local
247 cs = &zs_ioasic_conschanstate_store;
250 cs = malloc(sizeof(struct zs_chanstate),
252 zs_lock_init(cs);
254 cs->cs_reg_csr = (volatile void *)&zc->zc_csr;
256 memcpy(cs->cs_creg, zs_ioasic_init_reg, 16);
257 memcpy(cs->cs_preg, zs_ioasic_init_reg, 16);
259 cs->cs_defcflag = zs_def_cflag;
260 cs->cs_defspeed = 9600; /* XXX */
261 (void)zs_set_modes(cs, c
451 zs_set_speed(struct zs_chanstate *cs, int bps ) argument
482 zs_set_modes(struct zs_chanstate *cs, int cflag) argument
544 zs_read_reg(struct zs_chanstate *cs, u_int reg) argument
559 zs_write_reg(struct zs_chanstate *cs, u_int reg, u_int val) argument
572 zs_read_csr(struct zs_chanstate *cs) argument
584 zs_write_csr(struct zs_chanstate *cs, u_int val) argument
594 zs_read_data(struct zs_chanstate *cs) argument
606 zs_write_data(struct zs_chanstate *cs, u_int val) argument
623 zs_abort(struct zs_chanstate *cs) argument
646 zs_getc(struct zs_chanstate *cs) argument
671 zs_putc(struct zs_chanstate *cs, int c) argument
701 struct zs_chanstate *cs; local
772 struct zs_chanstate *cs = &zs_ioasic_conschanstate_store; local
796 struct zs_chanstate *cs = &zs_ioasic_conschanstate_store; local
[all...]
H A Dzskbd.c185 struct zs_chanstate *cs; local
192 cs = zsc->zsc_cs[args->channel];
193 cs->cs_private = zskbd;
194 cs->cs_ops = &zsops_zskbd;
204 zsi->zsi_ks.attmt.cookie = cs;
205 zsi->zsi_cs = cs;
214 zs_write_reg(cs, 9, ZSWR9_A_RESET);
217 cs->cs_preg[1] = ZSWR1_RIE;
218 (void) zs_set_speed(cs, ZSKBD_BPS);
219 zs_loadchannelregs(cs);
241 zskbd_cnattach(struct zs_chanstate *cs) argument
269 struct zs_chanstate *cs = v; local
360 zskbd_rxint(struct zs_chanstate *cs) argument
400 zskbd_txint(struct zs_chanstate *cs) argument
413 zskbd_stint(struct zs_chanstate *cs, int force) argument
440 zskbd_softint(struct zs_chanstate *cs) argument
[all...]
/netbsd-current/sys/kern/
H A Dcore_netbsd.c79 struct coredump_state cs; local
84 cs.iocookie = iocookie;
85 cs.core.c_midmag = 0;
86 strncpy(cs.core.c_name, p->p_comm, MAXCOMLEN);
87 cs.core.c_nseg = 0;
88 cs.core.c_signo = p->p_sigctx.ps_info._signo;
89 cs.core.c_ucode = p->p_sigctx.ps_info._code;
90 cs.core.c_cpusize = 0;
91 cs.core.c_tsize = (u_long)ctob(vm->vm_tsize);
92 cs
121 struct coredump_state *cs = us->cookie; local
[all...]
/netbsd-current/sys/dev/sun/
H A Dkbd_zs.c130 struct zs_chanstate *cs; local
142 cs = zsc->zsc_cs[channel];
143 cs->cs_private = k;
144 cs->cs_ops = &zsops_kbd;
145 k->k_cs = cs;
148 if ((bps = cs->cs_defspeed) == 0)
174 zs_write_reg(cs, 9, reset);
178 cs->cs_preg[1] = ZSWR1_RIE | ZSWR1_TIE;
179 (void) zs_set_speed(cs, bps);
180 zs_loadchannelregs(cs);
209 kbd_zs_rxint(struct zs_chanstate *cs) argument
273 kbd_zs_txint(struct zs_chanstate *cs) argument
286 kbd_zs_stint(struct zs_chanstate *cs, int force) argument
324 kbd_zs_softint(struct zs_chanstate *cs) argument
[all...]
H A Dms_zs.c127 struct zs_chanstate *cs; local
134 cs = zsc->zsc_cs[channel];
135 cs->cs_private = ms;
136 cs->cs_ops = &zsops_ms;
137 ms->ms_cs = cs;
140 if ((bps = cs->cs_defspeed) == 0)
151 zs_write_reg(cs, 9, reset);
154 cs->cs_preg[1] = ZSWR1_RIE;
155 (void)zs_set_speed(cs, bps);
156 zs_loadchannelregs(cs);
168 ms_zs_rxint(struct zs_chanstate *cs) argument
208 ms_zs_txint(struct zs_chanstate *cs) argument
220 ms_zs_stint(struct zs_chanstate *cs, int force) argument
246 ms_zs_softint(struct zs_chanstate *cs) argument
[all...]
/netbsd-current/sys/arch/sparc/dev/
H A Dzs_kgdb.c110 zs_setparam(struct zs_chanstate *cs, int iena, int rate) argument
114 memcpy(cs->cs_preg, zs_kgdb_regs, 16);
117 cs->cs_preg[1] = ZSWR1_RIE | ZSWR1_SIE;
121 tconst = BPS_TO_TCONST(cs->cs_brg_clk, rate);
122 cs->cs_preg[5] |= ZSWR5_DTR | ZSWR5_RTS;
123 cs->cs_preg[12] = tconst;
124 cs->cs_preg[13] = tconst >> 8;
127 zs_loadchannelregs(cs);
139 struct zs_chanstate cs; local
156 memset((void *)&cs,
184 zs_check_kgdb(struct zs_chanstate *cs, int dev) argument
207 zskgdb(struct zs_chanstate *cs) argument
229 zs_kgdb_rxint(struct zs_chanstate *cs) argument
253 zs_kgdb_txint(struct zs_chanstate *cs) argument
259 zs_kgdb_stint(struct zs_chanstate *cs, int force) argument
276 zs_kgdb_softint(struct zs_chanstate *cs) argument
[all...]
H A Dzs.c264 struct zs_chanstate *cs; local
297 cs = &zsc->zsc_cs_store[channel];
298 cs->enable = zs_enable;
299 cs->disable = zs_disable;
393 struct zs_chanstate *cs; local
423 cs = &zsc->zsc_cs_store[channel];
424 zsc->zsc_cs[channel] = cs;
426 zs_lock_init(cs);
427 cs->cs_channel = channel;
428 cs
639 zs_get_speed(struct zs_chanstate *cs) argument
653 zs_set_speed(struct zs_chanstate *cs, int bps) argument
684 zs_set_modes(struct zs_chanstate *cs, int cflag) argument
731 zs_read_reg(struct zs_chanstate *cs, uint8_t reg) argument
743 zs_write_reg(struct zs_chanstate *cs, uint8_t reg, uint8_t val) argument
753 zs_read_csr(struct zs_chanstate *cs) argument
763 zs_write_csr(struct zs_chanstate *cs, uint8_t val) argument
771 zs_read_data(struct zs_chanstate *cs) argument
781 zs_write_data(struct zs_chanstate *cs, uint8_t val) argument
799 zs_abort(struct zs_chanstate *cs) argument
997 zs_enable(struct zs_chanstate *cs) argument
1006 zs_disable(struct zs_chanstate *cs) argument
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/i386/
H A Dx86-64-nops-7.d13 +[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs:0x0\(%rax,%rax,1\)
14 +[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs:0x0\(%rax,%rax,1\)
15 +[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs:0x0\(%rax,%rax,1\)
16 +[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs:0x0\(%rax,%rax,1\)
17 +[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs:0x0\(%rax,%rax,1\)
18 +[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs:0x0\(%rax,%rax,1\)
19 +[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs:0x0\(%rax,%rax,1\)
20 +[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs:0x0\(%rax,%rax,1\)
21 +[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs:0x0\(%rax,%rax,1\)
22 +[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs
[all...]
H A Dx86-64-nop-1.d24 +[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs:0x0\(%rax,%rax,1\)
28 +[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs:0x0\(%rax,%rax,1\)
29 +[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs:0x0\(%rax,%rax,1\)
34 +[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs:0x0\(%rax,%rax,1\)
35 +[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs:0x0\(%rax,%rax,1\)
36 +[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs:0x0\(%rax,%rax,1\)
37 +[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs:0x0\(%rax,%rax,1\)
38 +[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs:0x0\(%rax,%rax,1\)
39 +[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs:0x0\(%rax,%rax,1\)
40 +[a-f0-9]+: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nopw %cs
[all...]
/netbsd-current/tests/crypto/opencrypto/
H A Dh_arc4.c50 struct session_op cs; local
57 memset(&cs, 0, sizeof(cs));
58 cs.cipher = CRYPTO_ARC4;
59 cs.keylen = 8;
60 cs.key = key;
61 res = ioctl(fd, CIOCGSESSION, &cs);
66 co.ses = cs.ses;
H A Dh_cbcdes.c51 struct session_op cs; local
58 memset(&cs, 0, sizeof(cs));
59 cs.cipher = CRYPTO_DES_CBC;
60 cs.keylen = 8;
61 cs.key = key;
62 res = ioctl(fd, CIOCGSESSION, &cs);
67 co.ses = cs.ses;
H A Dh_null.c46 struct session_op cs; local
53 memset(&cs, 0, sizeof(cs));
54 cs.cipher = CRYPTO_NULL_CBC;
55 cs.keylen = 8;
56 cs.key = key;
57 res = ioctl(fd, CIOCGSESSION, &cs);
62 co.ses = cs.ses;
/netbsd-current/external/gpl3/gdb.old/dist/ld/testsuite/ld-plugin/
H A Dpr12758b.c3 int memcmp(const void *cs, const void *ct, size_t count) argument
8 for (su1 = cs, su2 = ct; 0 < count; ++su1, ++su2, count--)
/netbsd-current/external/gpl3/gcc/dist/libphobos/libdruntime/rt/
H A Dcritical_.d36 extern (C) void _d_criticalenter(D_CRITICAL_SECTION* cs)
38 assert(cs !is null);
39 ensureMutex(cast(shared(D_CRITICAL_SECTION*)) cs);
40 lockMutex(&cs.mtx);
50 auto cs = new shared D_CRITICAL_SECTION;
51 initMutex(cast(Mutex*)&cs.mtx);
52 atomicStore!(MemoryOrder.rel)(*cast(shared) pcs, cs);
59 extern (C) void _d_criticalexit(D_CRITICAL_SECTION* cs)
61 assert(cs !is null);
62 unlockMutex(&cs
[all...]
/netbsd-current/sys/arch/hpcmips/tx/
H A Dtxcsbus.c161 if (ca->ca_csreg.cs != TXCSBUSCF_REGCS_DEFAULT) {
163 __csmap[ca->ca_csreg.cs].cs_name,
169 if (ca->ca_csio.cs != TXCSBUSCF_IOCS_DEFAULT) {
171 __csmap[ca->ca_csio.cs].cs_name,
177 if (ca->ca_csmem.cs != TXCSBUSCF_MEMCS_DEFAULT) {
179 __csmap[ca->ca_csmem.cs].cs_name,
208 ca.ca_csreg.cs = cf->cf_loc[TXCSBUSCF_REGCS];
213 if (ca.ca_csreg.cs != TXCSBUSCF_REGCS_DEFAULT) {
217 ca.ca_csio.cs = cf->cf_loc[TXCSBUSCF_IOCS];
222 if (ca.ca_csio.cs !
251 int cs = csh->cs; local
[all...]
/netbsd-current/sys/arch/sgimips/dev/
H A Dzs_kbd.c192 struct zs_chanstate *cs; local
205 cs = zsc->zsc_cs[channel];
206 cs->cs_ops = &zskbd_zsops;
207 cs->cs_private = sc;
234 zs_write_reg(cs, 9, (channel == 0) ? ZSWR9_A_RESET : ZSWR9_B_RESET);
235 cs->cs_preg[1] = ZSWR1_RIE | ZSWR1_TIE;
236 cs->cs_preg[4] = (cs->cs_preg[4] & ZSWR4_CLK_MASK) |
238 zs_set_speed(cs, ZSKBD_BAUD);
239 zs_loadchannelregs(cs);
255 zskbd_rxint(struct zs_chanstate *cs) argument
279 zskbd_stint(struct zs_chanstate *cs, int force) argument
287 zskbd_txint(struct zs_chanstate *cs) argument
298 zskbd_softint(struct zs_chanstate *cs) argument
345 zskbd_send(struct zs_chanstate *cs, uint8_t *c, u_int len) argument
368 zskbd_ctrl(struct zs_chanstate *cs, uint8_t a_on, uint8_t a_off, uint8_t b_on, uint8_t b_off) argument
394 zskbd_wskbd_input(struct zs_chanstate *cs, uint8_t key) argument
419 struct zs_chanstate *cs; local
440 struct zs_chanstate *cs; local
471 struct zs_chanstate *cs; local
494 struct zs_chanstate *cs; local
517 struct zs_chanstate *cs; local
[all...]
/netbsd-current/sys/arch/sparc64/dev/
H A Dzs.c338 struct zs_chanstate *cs; local
354 cs = &zsc->zsc_cs_store[channel];
355 zsc->zsc_cs[channel] = cs;
357 zs_lock_init(cs);
358 cs->cs_channel = channel;
359 cs->cs_private = NULL;
360 cs->cs_ops = &zsops_null;
361 cs->cs_brg_clk = PCLK / 16;
383 cs->cs_reg_csr = &zc->zc_csr;
384 cs
555 zs_get_speed(struct zs_chanstate *cs) argument
568 zs_set_speed(struct zs_chanstate *cs, int bps ) argument
599 zs_set_modes(struct zs_chanstate *cs, int cflag) argument
646 zs_read_reg(struct zs_chanstate *cs, u_char reg) argument
658 zs_write_reg(struct zs_chanstate *cs, u_char reg, u_char val) argument
667 zs_read_csr(struct zs_chanstate *cs) argument
677 zs_write_csr(struct zs_chanstate *cs, u_char val) argument
684 zs_read_data(struct zs_chanstate *cs) argument
694 zs_write_data(struct zs_chanstate *cs, u_char val) argument
713 zs_abort(struct zs_chanstate *cs) argument
[all...]
/netbsd-current/sys/arch/newsmips/dev/
H A Dscsi_1185.c267 struct sc_chan_stat *cs; local
272 cs = &sc->chan_stat[chan];
276 if (cs->scb != NULL) {
277 printf("SCSI%d: sc_send() NOT NULL cs->sc\n", chan);
278 printf("ie=0x%x scb=%p cs->sc=%p\n", ie, scb, cs->scb);
298 cs->scb = scb;
301 cs->scb = NULL;
324 cs->scb = scb;
325 cs
344 struct sc_chan_stat *cs; local
419 struct sc_chan_stat *cs; local
768 struct sc_chan_stat *cs; local
819 struct sc_chan_stat *cs; local
904 struct sc_chan_stat *cs; local
985 struct sc_chan_stat *cs; local
1085 sc_cout(struct sc_softc *sc, struct sc_chan_stat *cs) argument
1172 sc_min(struct sc_softc *sc, struct sc_chan_stat *cs) argument
1327 sc_mout(struct sc_softc *sc, struct sc_chan_stat *cs) argument
1451 sc_sin(struct sc_softc *sc, volatile struct sc_chan_stat *cs) argument
1491 sc_dio(struct sc_softc *sc, volatile struct sc_chan_stat *cs) argument
1622 sc_dio_pad(struct sc_softc *sc, volatile struct sc_chan_stat *cs) argument
1662 append_wb(struct sc_softc *sc, struct sc_chan_stat *cs) argument
1683 struct sc_chan_stat *cs; local
1700 struct sc_chan_stat *cs; local
1721 adjust_transfer(struct sc_softc *sc, struct sc_chan_stat *cs) argument
[all...]

Completed in 519 milliseconds

1234567891011>>