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

/freebsd-11-stable/sys/arm/freescale/imx/
H A Dimx6_sdma.c132 sdma_start(int chn) argument
138 WRITE4(sc, SDMAARM_HSTART, (1 << chn));
144 sdma_stop(int chn) argument
150 WRITE4(sc, SDMAARM_STOP_STAT, (1 << chn));
161 int chn; local
180 chn = i;
187 return (chn);
191 sdma_free(int chn) argument
198 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.c138 uint32_t ssi_dma_intr(void *arg, int chn);
411 ssi_dma_intr(void *arg, int chn) argument
/freebsd-11-stable/usr.sbin/mlxcontrol/
H A Dutil.c112 mlx_print_phys_drv(struct mlx_phys_drv *drv, int chn, int targ, char *prefix, int verbose) argument
131 printf("%s%s%02d%02d ", prefix, type, chn, targ);
153 if (!mlx_scsi_inquiry(0, chn, targ, &vendor, &device, &revision)) {
H A Dconfig.c46 static void print_phys_drive(struct conf_config *conf, int chn, int targ);
140 * Print details for the physical drive at chn/targ in a format suitable for
148 print_phys_drive(struct conf_config *conf, int chn, int targ) argument
150 struct mlx_phys_drv *drv = &conf->cc_cfg.cc_phys_drives[chn * 16 + targ];
156 mlx_print_phys_drv(drv, chn, targ, "# ", 1);
/freebsd-11-stable/sys/dev/amr/
H A Damr_cam.c155 int chn, error; local
175 for (chn = 0; chn < sc->amr_maxchan; chn++) {
178 if ((sc->amr_cam_sim[chn] = cam_sim_alloc(amr_cam_action,
188 error = xpt_bus_register(sc->amr_cam_sim[chn], sc->amr_dev,chn);
211 int chn; local
215 for (chn = 0; chn < s
[all...]
/freebsd-11-stable/sys/dev/sound/pci/
H A Demu10kx.h154 uint32_t emu_rdptr(struct emu_sc_info *sc, unsigned int chn, unsigned int reg);
155 void emu_wrptr(struct emu_sc_info *sc, unsigned int chn, unsigned int reg, uint32_t data);
157 uint32_t emu_rd_p16vptr(struct emu_sc_info *sc, uint16_t chn, uint16_t reg);
158 void emu_wr_p16vptr(struct emu_sc_info *sc, uint16_t chn, uint16_t reg, uint32_t data);
H A Demu10kx.c649 emu_rdptr(struct emu_sc_info *sc, unsigned int chn, unsigned int reg) argument
653 ptr = ((reg << 16) & sc->address_mask) | (chn & EMU_PTR_CHNO_MASK);
676 emu_wrptr(struct emu_sc_info *sc, unsigned int chn, unsigned int reg, uint32_t data) argument
680 ptr = ((reg << 16) & sc->address_mask) | (chn & EMU_PTR_CHNO_MASK);
706 emu_rd_p16vptr(struct emu_sc_info *sc, uint16_t chn, uint16_t reg) argument
712 emu_wr_nolock(sc, EMU_A2_PTR, (reg << 16) | chn, 4);
721 emu_wr_p16vptr(struct emu_sc_info *sc, uint16_t chn, uint16_t reg, uint32_t data) argument
725 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-11-stable/sys/dev/sound/pcm/
H A Dfeeder_matrix.c78 int chn[SND_CHN_T_MAX + 1]; member in struct:feed_matrix_info::__anon7867
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.c1070 struct pcm_channel *chn, *rdch, *wrch; local
1084 chn = NULL;
1364 chn = wrch ? wrch : rdch;
1365 if (chn) {
1366 CHN_LOCK(chn);
1367 *arg_i = sndbuf_getblksz(chn->bufsoft);
1368 CHN_UNLOCK(chn);
1439 chn = wrch ? wrch : rdch;
1440 if (chn) {
1441 CHN_LOCK(chn);
[all...]
/freebsd-11-stable/tools/tools/indent_wrapper/
H A Dindent_wrapper.c389 uint16_t chn; local
504 chn = peek_block(&diff_head, x + 1);
507 do_parse = ((chn & 0xFF) == 'c' || (chn & 0xFF) == 'h');
544 chn = peek_block(&diff_a_head, x + 1);
545 if ((ch & 0xFF) == '/' && (chn & 0xFF) == '/') {
547 set_block(&diff_a_head, x + 1, chn | BLOCK_MASK);
554 } else if ((ch & 0xFF) == '/' && (chn & 0xFF) == '*') {
556 set_block(&diff_a_head, x + 1, chn | BLOCK_MASK);
559 chn
[all...]
/freebsd-11-stable/sys/dev/sound/midi/
H A Dsequencer.c1508 u_char dev, chn, note, vel; local
1514 chn = event[1];
1544 out[3] = chn;
1554 out[3] = chn;
1568 out[3] = chn;
1577 out[3] = chn;
1595 out[2] = chn;
1696 u_char cmd, chn, note, parm; local
1700 chn = event[3];
1707 " chn
1771 u_char cmd, chn, p1; local
1970 int chn, i; local
[all...]
H A Dmidi.c1274 midisynth_killnote(void *n, uint8_t chn, uint8_t note, uint8_t vel) argument
1279 if (note > 127 || chn > 15)
1286 c[0] = 0x90 | (chn & 0x0f); /* Note on. */
1290 c[0] = 0x80 | (chn & 0x0f); /* Note off. */
1299 midisynth_setinstr(void *n, uint8_t chn, uint16_t instr) argument
1303 if (instr > 127 || chn > 15)
1306 c[0] = 0xc0 | (chn & 0x0f); /* Progamme change. */
1313 midisynth_startnote(void *n, uint8_t chn, uint8_t note, uint8_t vel) argument
1317 if (note > 127 || chn > 15)
1323 c[0] = 0x90 | (chn
1336 midisynth_controller(void *n, uint8_t chn, uint8_t ctrlnum, uint16_t val) argument
1350 midisynth_bender(void *n, uint8_t chn, uint16_t val) argument
[all...]
/freebsd-11-stable/sys/sys/
H A Dsoundcard.h1209 * 0x02 = Channel event (event[3] = chn).
1351 #define _CHN_VOICE(dev, event, chn, note, parm) { \
1356 _seqbuf[_seqbufptr+3] = (chn);\
1363 #define SEQ_START_NOTE(dev, chn, note, vol) \
1364 _CHN_VOICE(dev, MIDI_NOTEON, chn, note, vol)
1366 #define SEQ_STOP_NOTE(dev, chn, note, vol) \
1367 _CHN_VOICE(dev, MIDI_NOTEOFF, chn, note, vol)
1369 #define SEQ_KEY_PRESSURE(dev, chn, note, pressure) \
1370 _CHN_VOICE(dev, MIDI_KEY_PRESSURE, chn, note, pressure)
1376 #define _CHN_COMMON(dev, event, chn, p
[all...]
/freebsd-11-stable/sys/dev/mly/
H A Dmly.c1942 int chn, i; local
1959 chn = 0;
1960 for (i = 0; i < sc->mly_controllerinfo->physical_channels_present; i++, chn++) {
1962 if ((sc->mly_cam_sim[chn] = cam_sim_alloc(mly_cam_action, mly_cam_poll, "mly", sc,
1970 if (xpt_bus_register(sc->mly_cam_sim[chn], sc->mly_dev, chn)) {
1976 debug(1, "registered physical channel %d", chn);
1983 chn = sc->mly_controllerinfo->physical_channels_present;
1984 for (i = 0; i < sc->mly_controllerinfo->virtual_channels_present; i++, chn++) {
1985 if ((sc->mly_cam_sim[chn]
[all...]
/freebsd-11-stable/sys/dev/sound/isa/
H A Dmss.c371 change_bits(mixer_tab *t, u_char *regval, int dev, int chn, int newval) argument
378 dev, chn, newval, *regval,
379 (*t)[dev][chn].regno, (*t)[dev][chn].polarity,
380 (*t)[dev][chn].nbits, (*t)[dev][chn].bitoffs ) );
382 if ( (*t)[dev][chn].polarity == 1) /* reverse */
385 mask = (1 << (*t)[dev][chn].nbits) - 1;
387 shift = (*t)[dev][chn].bitoffs /*- (*t)[dev][LEFT_CHN].nbits + 1*/;
/freebsd-11-stable/sys/arm/freescale/vybrid/
H A Dvf_sai.c378 uint32_t sai_dma_intr(void *arg, int chn);
380 sai_dma_intr(void *arg, int chn) argument
/freebsd-11-stable/crypto/openssl/apps/
H A Dpkcs12.c912 STACK_OF(X509) *chn = NULL;
921 chn = X509_STORE_CTX_get1_chain(&store_ctx);
926 *chain = chn;
/freebsd-11-stable/sys/dev/sound/pci/hda/
H A Dhdaa.c1844 int i, j, k, chn, cchn, totalchn, totalextchn, c; local
1886 chn = 0;
1899 chn = (((convmap[convmapid][totalchn / 2]
1901 if (chn < 0 || chn >= totalchn) {
1904 c = (ch->sid << 4) | chn;
1920 if (cchn > 1 && chn < totalchn) {
1921 cchn = min(cchn, totalchn - chn - 1);
2020 chn += cchn + 1;

Completed in 375 milliseconds