Home
last modified time | relevance | path

Searched refs:rch (Results 1 – 18 of 18) sorted by relevance

/freebsd/crypto/openssl/crypto/cms/
H A Dcms_lib.c574 CMS_RevocationInfoChoice *rch; in CMS_add0_RevocationInfoChoice() local
583 rch = M_ASN1_new_of(CMS_RevocationInfoChoice); in CMS_add0_RevocationInfoChoice()
584 if (rch == NULL) in CMS_add0_RevocationInfoChoice()
586 if (!sk_CMS_RevocationInfoChoice_push(*pcrls, rch)) { in CMS_add0_RevocationInfoChoice()
587 M_ASN1_free_of(rch, CMS_RevocationInfoChoice); in CMS_add0_RevocationInfoChoice()
590 return rch; in CMS_add0_RevocationInfoChoice()
595 CMS_RevocationInfoChoice *rch; in CMS_add0_crl() local
596 rch = CMS_add0_RevocationInfoChoice(cms); in CMS_add0_crl()
597 if (!rch) in CMS_add0_crl()
599 rch->type = CMS_REVCHOICE_CRL; in CMS_add0_crl()
[all …]
H A Dcms_sd.c72 CMS_RevocationInfoChoice *rch; in cms_sd_set_version() local
90 rch = sk_CMS_RevocationInfoChoice_value(sd->crls, i); in cms_sd_set_version()
91 if (rch->type == CMS_REVCHOICE_OTHER) { in cms_sd_set_version()
H A Dcms_env.c1039 CMS_RevocationInfoChoice *rch; in cms_env_set_originfo_version() local
1040 rch = sk_CMS_RevocationInfoChoice_value(org->crls, i); in cms_env_set_originfo_version()
1041 if (rch->type == CMS_REVCHOICE_OTHER) { in cms_env_set_originfo_version()
/freebsd/sys/dev/sound/pci/
H A Datiixp.c123 struct atiixp_chinfo rch; member
453 ch = &sc->rch; in atiixp_chan_init()
684 #define atiixp_chan_active(sc) (((sc)->pch.flags | (sc)->rch.flags) & \
703 trigger |= (atiixp_poll_channel(&sc->rch) != 0) ? 2 : 0; in atiixp_poll_callback()
714 chn_intr(sc->rch.channel); in atiixp_poll_callback()
782 ch = &sc->rch; in atiixp_chan_trigger()
891 (sc->rch.flags & ATI_IXP_CHN_RUNNING)) in atiixp_intr()
924 chn_intr(sc->rch.channel); in atiixp_intr()
1345 if (sc->rch.flags & ATI_IXP_CHN_RUNNING) { in atiixp_pci_suspend()
1346 atiixp_chan_trigger(NULL, &sc->rch, PCMTRIG_STOP); in atiixp_pci_suspend()
[all …]
H A Dcs4281.c98 struct sc_chinfo rch; member
319 struct sc_chinfo *ch = (dir == PCMDIR_PLAY) ? &sc->pch : &sc->rch; in cs4281chan_init()
523 chn_intr(sc->rch.channel); in cs4281_intr()
906 sc->rch.dma_active = adcdac_go(&sc->rch, 0); in cs4281_pci_suspend()
937 cs4281chan_setspeed(NULL, &sc->rch, sc->rch.spd); in cs4281_pci_resume()
938 cs4281chan_setblocksize(NULL, &sc->rch, sc->rch.blksz); in cs4281_pci_resume()
939 cs4281chan_setformat(NULL, &sc->rch, sc->rch.fmt); in cs4281_pci_resume()
940 adcdac_go(&sc->rch, sc->rch.dma_active); in cs4281_pci_resume()
H A Dmaestro3.c152 struct sc_rchinfo rch[M3_RCHANS]; member
629 ret += sc->rch[i].active; in m3_chan_active()
806 ch = &sc->rch[idx]; in m3_rchan_init()
1107 struct sc_rchinfo *rch; in m3_intr() local
1174 rch = &sc->rch[i]; in m3_intr()
1175 if (rch->active) { in m3_intr()
1176 rch->ptr = m3_rchan_getptr_internal(rch); in m3_intr()
1177 delta = rch->bufsize + rch->ptr - rch->prevptr; in m3_intr()
1178 delta %= rch->bufsize; in m3_intr()
1179 if (delta < sndbuf_getblksz(rch->buffer)) in m3_intr()
[all …]
H A Dcsapcm.c74 struct csa_chinfo pch, rch; member
354 if (!csa->rch.dma) { in csa_startcapturedma()
360 csa->rch.dma = 1; in csa_startcapturedma()
384 if (!csa->rch.dma) { in csa_stopplaydma()
397 if (csa->rch.dma) { in csa_stopcapturedma()
403 csa->rch.dma = 0; in csa_stopcapturedma()
533 struct csa_chinfo *ch = (dir == PCMDIR_PLAY)? &csa->pch : &csa->rch; in csachan_init()
646 chn_intr(csa->rch.channel); in csa_intr()
789 csa->pch.dma = csa->rch.dma = 1; in pcmcsa_attach()
1011 csa_setupchan(&csa->rch); in pcmcsa_resume()
H A Dneomagic.c75 struct sc_chinfo pch, rch; member
357 ch = (dir == PCMDIR_PLAY)? &sc->pch : &sc->rch; in nmchan_init()
507 sc->rch.wmark += sc->rch.blksize; in nm_intr()
508 sc->rch.wmark %= NM_BUFFSIZE; in nm_intr()
509 nm_wr(sc, NM_RBUFFER_WMARK, sc->rbuf + sc->rch.wmark, 4); in nm_intr()
512 chn_intr(sc->rch.channel); in nm_intr()
761 if (sc->rch.active) { in nm_pci_suspend()
797 if (sc->rch.active) { in nm_pci_resume()
H A Dcmi.c123 struct sc_chinfo pch, rch; member
349 struct sc_chinfo *ch = (dir == PCMDIR_PLAY) ? &sc->pch : &sc->rch; in cmichan_init()
565 chn_intr(sc->rch.channel); in cmi_intr()
1053 sc->rch.dma_was_active = cmi_ch1_stop(sc, &sc->rch); in cmi_suspend()
1084 if (sc->rch.dma_was_active) { in cmi_resume()
1085 cmichan_setspeed(NULL, &sc->rch, sc->rch.spd); in cmi_resume()
1086 cmichan_setformat(NULL, &sc->rch, sc->rch.fmt); in cmi_resume()
1087 cmi_ch1_start(sc, &sc->rch); in cmi_resume()
H A Dals4000.c85 struct sc_chinfo pch, rch; member
216 ch = &sc->rch; in alschan_init()
249 other = (ch->dir == PCMDIR_PLAY) ? &sc->rch : &sc->pch; in alschan_setspeed()
300 other = (ch->dir == PCMDIR_PLAY) ? &sc->rch : &sc->pch; in als_set_speed()
651 chn_intr(sc->rch.channel); in als_intr()
887 sc->rch.dma_was_active = als_capture_stop(&sc->rch); in als_pci_suspend()
915 if (sc->rch.dma_was_active) { in als_pci_resume()
916 als_capture_start(&sc->rch); in als_pci_resume()
H A Dvia8233.c119 struct via_chinfo rch[NWRCHANS]; member
152 ret += via->rch[i].active; in via_chan_active()
665 ch = &via->rch[num]; in via8233wr_init()
821 rtrigger |= (via_poll_channel(&via->rch[i]) != 0) ? in via_poll_callback()
836 chn_intr(via->rch[i].channel); in via_poll_callback()
865 ch = &via->rch[i]; in via_poll_ticks()
1037 if (via->rch[i].channel == NULL || via->rch[i].active == 0) in via_intr()
1039 reg = via->rch[i].rbase + VIA_RP_STATUS; in via_intr()
1044 via_wr(via, via->rch[i].rbase + VIA_RP_CONTROL, in via_intr()
1059 chn_intr(via->rch[i].channel); in via_intr()
H A Dvibes.c101 struct sc_chinfo rch, pch; member
195 ch = (dir == PCMDIR_PLAY) ? &sc->pch : &sc->rch; in svchan_init()
647 sc->rch.dma_was_active = sc->rch.dma_active; in sv_suspend()
648 svrchan_trigger(NULL, &sc->rch, PCMTRIG_ABORT); in sv_suspend()
676 if (sc->rch.dma_was_active) { in sv_resume()
677 svrchan_trigger(0, &sc->rch, PCMTRIG_START); in sv_resume()
701 chn_intr(sc->rch.channel); in sv_intr()
H A Demu10k1.c230 struct sc_rchinfo rch[3]; member
409 struct sc_rchinfo *rch; in emu_settimer() local
424 rch = &sc->rch[i]; in emu_settimer()
425 if (rch->buffer) { in emu_settimer()
426 tmp = (rch->spd * sndbuf_getalign(rch->buffer)) in emu_settimer()
427 / rch->blksz; in emu_settimer()
950 ch = &sc->rch[sc->rnum]; in emurchan_init()
1280 if (sc->rch[0].channel) in emu_intr()
1281 chn_intr(sc->rch[0].channel); in emu_intr()
1284 if (sc->rch[1].channel) in emu_intr()
[all …]
H A Dsolo.c99 struct ess_chinfo pch, rch; member
315 rirq = (src & sc->rch.hwch)? 1 : 0; in ess_intr()
342 if (sc->rch.stopping) { in ess_intr()
343 ess_dmatrigger(sc, sc->rch.hwch, 0); in ess_intr()
344 sc->rch.stopping = 0; in ess_intr()
349 chn_intr(sc->rch.channel); in ess_intr()
526 struct ess_chinfo *ch = (dir == PCMDIR_PLAY)? &sc->pch : &sc->rch; in esschan_init()
H A Dfm801.c165 struct fm801_chinfo pch, rch; member
309 chn_intr(fm801->rch.channel); in fm801_intr()
332 struct fm801_chinfo *ch = (dir == PCMDIR_PLAY)? &fm801->pch : &fm801->rch; in fm801ch_init()
406 fm801->rch.spd = fm801_rates[i].rate; in fm801ch_setspeed()
H A Dvia82c686.c90 struct via_chinfo pch, rch; member
258 ch = &via->rch; in viachan_init()
441 chn_intr(via->rch.channel); in via_intr()
/freebsd/contrib/googletest/googletest/test/
H A Dgtest_unittest.cc523 #pragma option push -w-ccc -w-rch
3653 #pragma option push -w-ccc -w-rch
6451 #pragma option push -w-ccc -w-rch
/freebsd/contrib/sqlite3/
H A Dsqlite3.c13975 #pragma warn -rch /* unreachable code */