Searched refs:chn (Results 1 - 17 of 17) sorted by relevance

/freebsd-current/sys/arm/freescale/imx/
H A Dimx6_sdma.c134 sdma_start(int chn) argument
140 WRITE4(sc, SDMAARM_HSTART, (1 << chn));
146 sdma_stop(int chn) argument
152 WRITE4(sc, SDMAARM_STOP_STAT, (1 << chn));
163 int chn; local
182 chn = i;
188 return (chn);
192 sdma_free(int chn) argument
199 channel = &sc->channel[chn];
208 sdma_overrides(struct sdma_softc *sc, int chn, argument
241 sdma_configure(int chn, struct sdma_conf *conf) argument
384 int chn; local
[all...]
H A Dimx6_ssi.c133 uint32_t ssi_dma_intr(void *arg, int chn);
405 ssi_dma_intr(void *arg, int chn) argument
/freebsd-current/usr.sbin/mlxcontrol/
H A Dutil.c110 mlx_print_phys_drv(struct mlx_phys_drv *drv, int chn, int targ, char *prefix, int verbose) argument
129 printf("%s%s%02d%02d ", prefix, type, chn, targ);
151 if (!mlx_scsi_inquiry(0, chn, targ, &vendor, &device, &revision)) {
H A Dconfig.c44 static void print_phys_drive(struct conf_config *conf, int chn, int targ);
138 * Print details for the physical drive at chn/targ in a format suitable for
146 print_phys_drive(struct conf_config *conf, int chn, int targ) argument
148 struct mlx_phys_drv *drv = &conf->cc_cfg.cc_phys_drives[chn * 16 + targ];
154 mlx_print_phys_drv(drv, chn, targ, "# ", 1);
/freebsd-current/sys/dev/sound/pci/
H A Demu10kx.h153 uint32_t emu_rdptr(struct emu_sc_info *sc, unsigned int chn, unsigned int reg);
154 void emu_wrptr(struct emu_sc_info *sc, unsigned int chn, unsigned int reg, uint32_t data);
156 uint32_t emu_rd_p16vptr(struct emu_sc_info *sc, uint16_t chn, uint16_t reg);
157 void emu_wr_p16vptr(struct emu_sc_info *sc, uint16_t chn, uint16_t reg, uint32_t data);
H A Demu10kx.c646 emu_rdptr(struct emu_sc_info *sc, unsigned int chn, unsigned int reg) argument
650 ptr = ((reg << 16) & sc->address_mask) | (chn & EMU_PTR_CHNO_MASK);
673 emu_wrptr(struct emu_sc_info *sc, unsigned int chn, unsigned int reg, uint32_t data) argument
677 ptr = ((reg << 16) & sc->address_mask) | (chn & EMU_PTR_CHNO_MASK);
703 emu_rd_p16vptr(struct emu_sc_info *sc, uint16_t chn, uint16_t reg) argument
709 emu_wr_nolock(sc, EMU_A2_PTR, (reg << 16) | chn, 4);
718 emu_wr_p16vptr(struct emu_sc_info *sc, uint16_t chn, uint16_t reg, uint32_t data) argument
722 emu_wr_nolock(sc, EMU_A2_PTR, (reg << 16) | chn, 4);
H A Demu10k1.c331 emu_rdptr(struct sc_info *sc, int chn, int reg) argument
335 ptr = ((reg << 16) & sc->addrmask) | (chn & EMU_PTR_CHNO_MASK);
349 emu_wrptr(struct sc_info *sc, int chn, int reg, u_int32_t data) argument
353 ptr = ((reg << 16) & sc->addrmask) | (chn & EMU_PTR_CHNO_MASK);
/freebsd-current/sys/dev/sound/pcm/
H A Dfeeder_matrix.c78 int chn[SND_CHN_T_MAX + 1]; member in struct:feed_matrix_info::__anon35
132 for (i = 0; info->matrix[i].chn[0] != SND_CHN_T_EOF; \
134 if (info->matrix[i].chn[0] == SND_CHN_T_NULL) { \
139 } else if (info->matrix[i].chn[1] == \
142 src + info->matrix[i].chn[0]); \
151 info->matrix[i].chn[j] != SND_CHN_T_EOF; \
154 src + info->matrix[i].chn[j]); \
235 j < (sizeof(info->matrix[i].chn) /
236 sizeof(info->matrix[i].chn[0])); j++) {
237 info->matrix[i].chn[
[all...]
H A Ddsp.c723 struct pcm_channel *chn, *rdch, *wrch; local
740 chn = NULL;
1031 chn = wrch ? wrch : rdch;
1032 if (chn) {
1033 CHN_LOCK(chn);
1034 *arg_i = sndbuf_getblksz(chn->bufsoft);
1035 CHN_UNLOCK(chn);
1106 chn = wrch ? wrch : rdch;
1107 if (chn) {
1108 CHN_LOCK(chn);
[all...]
/freebsd-current/tools/tools/indent_wrapper/
H A Dindent_wrapper.c387 uint16_t chn; local
502 chn = peek_block(&diff_head, x + 1);
505 do_parse = ((chn & 0xFF) == 'c' || (chn & 0xFF) == 'h');
542 chn = peek_block(&diff_a_head, x + 1);
543 if ((ch & 0xFF) == '/' && (chn & 0xFF) == '/') {
545 set_block(&diff_a_head, x + 1, chn | BLOCK_MASK);
552 } else if ((ch & 0xFF) == '/' && (chn & 0xFF) == '*') {
554 set_block(&diff_a_head, x + 1, chn | BLOCK_MASK);
557 chn
[all...]
/freebsd-current/sys/dev/sound/midi/
H A Dsequencer.c1504 u_char dev, chn, note, vel; local
1510 chn = event[1];
1540 out[3] = chn;
1550 out[3] = chn;
1564 out[3] = chn;
1573 out[3] = chn;
1591 out[2] = chn;
1692 u_char cmd, chn, note, parm; local
1696 chn = event[3];
1703 " chn
1767 u_char cmd, chn, p1; local
1965 int chn, i; local
[all...]
H A Dmidi.c1265 midisynth_killnote(void *n, uint8_t chn, uint8_t note, uint8_t vel) argument
1269 if (note > 127 || chn > 15)
1276 c[0] = 0x90 | (chn & 0x0f); /* Note on. */
1280 c[0] = 0x80 | (chn & 0x0f); /* Note off. */
1289 midisynth_setinstr(void *n, uint8_t chn, uint16_t instr) argument
1293 if (instr > 127 || chn > 15)
1296 c[0] = 0xc0 | (chn & 0x0f); /* Progamme change. */
1303 midisynth_startnote(void *n, uint8_t chn, uint8_t note, uint8_t vel) argument
1307 if (note > 127 || chn > 15)
1313 c[0] = 0x90 | (chn
1326 midisynth_controller(void *n, uint8_t chn, uint8_t ctrlnum, uint16_t val) argument
1340 midisynth_bender(void *n, uint8_t chn, uint16_t val) argument
[all...]
/freebsd-current/sys/sys/
H A Dsoundcard.h1207 * 0x02 = Channel event (event[3] = chn).
1349 #define _CHN_VOICE(dev, event, chn, note, parm) { \
1354 _seqbuf[_seqbufptr+3] = (chn);\
1361 #define SEQ_START_NOTE(dev, chn, note, vol) \
1362 _CHN_VOICE(dev, MIDI_NOTEON, chn, note, vol)
1364 #define SEQ_STOP_NOTE(dev, chn, note, vol) \
1365 _CHN_VOICE(dev, MIDI_NOTEOFF, chn, note, vol)
1367 #define SEQ_KEY_PRESSURE(dev, chn, note, pressure) \
1368 _CHN_VOICE(dev, MIDI_KEY_PRESSURE, chn, note, pressure)
1374 #define _CHN_COMMON(dev, event, chn, p
[all...]
/freebsd-current/sys/arm/freescale/vybrid/
H A Dvf_sai.c376 uint32_t sai_dma_intr(void *arg, int chn);
378 sai_dma_intr(void *arg, int chn) argument
/freebsd-current/crypto/openssl/apps/
H A Dpkcs12.c1001 STACK_OF(X509) *chn = NULL;
1016 chn = X509_STORE_CTX_get1_chain(store_ctx);
1022 *chain = chn;
/freebsd-current/sys/dev/sound/pci/hda/
H A Dhdaa.c1845 int i, j, k, chn, cchn, totalchn, totalextchn, c; local
1887 chn = 0;
1900 chn = (((convmap[convmapid][totalchn / 2]
1902 if (chn < 0 || chn >= totalchn) {
1905 c = (ch->sid << 4) | chn;
1921 if (cchn > 1 && chn < totalchn) {
1922 cchn = min(cchn, totalchn - chn - 1);
2021 chn += cchn + 1;
/freebsd-current/sys/dev/bhnd/cores/pmu/
H A Dbhnd_pmu_subr.c2207 bcm_chipname(sih->chip, chn, 8), sih->chiprev,

Completed in 626 milliseconds