| /freebsd-13.1/sys/arm/freescale/imx/ |
| H A D | imx6_sdma.c | 137 sdma_start(int chn) in sdma_start() argument 149 sdma_stop(int chn) in sdma_stop() argument 166 int chn; in sdma_alloc() local 185 chn = i; in sdma_alloc() 191 return (chn); in sdma_alloc() 195 sdma_free(int chn) in sdma_free() argument 219 reg |= (1 << chn); in sdma_overrides() 227 reg |= (1 << chn); in sdma_overrides() 263 sdma_stop(chn); in sdma_configure() 387 int chn; in boot_firmware() local [all …]
|
| H A D | imx6_ssi.c | 137 uint32_t ssi_dma_intr(void *arg, int chn); 409 ssi_dma_intr(void *arg, int chn) in ssi_dma_intr() argument
|
| /freebsd-13.1/sys/dev/sound/pcm/ |
| H A D | feeder_matrix.c | 80 int chn[SND_CHN_T_MAX + 1]; member 141 } else if (info->matrix[i].chn[1] == \ 144 src + info->matrix[i].chn[0]); \ 156 src + info->matrix[i].chn[j]); \ 237 j < (sizeof(info->matrix[i].chn) / in feed_matrix_reset() 238 sizeof(info->matrix[i].chn[0])); j++) { in feed_matrix_reset() 239 info->matrix[i].chn[j] = SND_CHN_T_EOF; in feed_matrix_reset() 262 } else if (info->matrix[i].chn[1] == in feed_matrix_apply_generic() 337 info->matrix[ch].chn[0] = SND_CHN_T_NULL; in feed_matrix_setup() 347 info->matrix[ch].chn[j++] = in feed_matrix_setup() [all …]
|
| H A D | dsp.c | 1116 chn = NULL; in dsp_ioctl() 1397 if (chn) { in dsp_ioctl() 1398 CHN_LOCK(chn); in dsp_ioctl() 1472 if (chn) { in dsp_ioctl() 1554 if (chn) { in dsp_ioctl() 1566 if (chn) { in dsp_ioctl() 1745 if (chn) { in dsp_ioctl() 1847 chn = rdch; in dsp_ioctl() 1853 chn = rdch; in dsp_ioctl() 1859 chn = wrch; in dsp_ioctl() [all …]
|
| /freebsd-13.1/sys/dev/amr/ |
| H A D | amr_cam.c | 157 int chn, error; in amr_cam_attach() local 177 for (chn = 0; chn < sc->amr_maxchan; chn++) { in amr_cam_attach() 179 if ((sc->amr_cam_sim[chn] = cam_sim_alloc(amr_cam_action, in amr_cam_attach() 189 error = xpt_bus_register(sc->amr_cam_sim[chn], sc->amr_dev,chn); in amr_cam_attach() 212 int chn; in amr_cam_detach() local 216 for (chn = 0; chn < sc->amr_maxchan; chn++) { in amr_cam_detach() 220 if (sc->amr_cam_sim[chn] != NULL) { in amr_cam_detach() 221 xpt_bus_deregister(cam_sim_path(sc->amr_cam_sim[chn])); in amr_cam_detach() 222 cam_sim_free(sc->amr_cam_sim[chn], FALSE); in amr_cam_detach()
|
| /freebsd-13.1/tools/tools/indent_wrapper/ |
| H A D | indent_wrapper.c | 389 uint16_t chn; in main() local 504 chn = peek_block(&diff_head, x + 1); in main() 507 do_parse = ((chn & 0xFF) == 'c' || (chn & 0xFF) == 'h'); in main() 544 chn = peek_block(&diff_a_head, x + 1); in main() 545 if ((ch & 0xFF) == '/' && (chn & 0xFF) == '/') { in main() 547 set_block(&diff_a_head, x + 1, chn | BLOCK_MASK); in main() 559 chn = peek_block(&diff_a_head, x + 1); in main() 614 chn = peek_block(&diff_a_head, x); in main() 616 (chn & BLOCK_ADD) ? '+' : ' '); in main() 623 chn = peek_block(&diff_a_head, x + 1); in main() [all …]
|
| /freebsd-13.1/usr.sbin/mlxcontrol/ |
| H A D | config.c | 46 static void print_phys_drive(struct conf_config *conf, int chn, int targ); 148 print_phys_drive(struct conf_config *conf, int chn, int targ) in print_phys_drive() argument 150 struct mlx_phys_drv *drv = &conf->cc_cfg.cc_phys_drives[chn * 16 + targ]; in print_phys_drive() 156 mlx_print_phys_drv(drv, chn, targ, "# ", 1); in print_phys_drive()
|
| H A D | util.c | 112 mlx_print_phys_drv(struct mlx_phys_drv *drv, int chn, int targ, char *prefix, int verbose) in mlx_print_phys_drv() argument 131 printf("%s%s%02d%02d ", prefix, type, chn, targ); in mlx_print_phys_drv() 153 if (!mlx_scsi_inquiry(0, chn, targ, &vendor, &device, &revision)) { in mlx_print_phys_drv()
|
| /freebsd-13.1/sys/dev/sound/midi/ |
| H A D | sequencer.c | 1513 chn = event[1]; in seq_convertold() 1543 out[3] = chn; in seq_convertold() 1553 out[3] = chn; in seq_convertold() 1567 out[3] = chn; in seq_convertold() 1594 out[2] = chn; in seq_convertold() 1699 chn = event[3]; in seq_chnvoice() 1770 u_char cmd, chn, p1; in seq_chncommon() local 1774 chn = event[3]; in seq_chncommon() 1785 chn, p1)); in seq_chncommon() 1968 int chn, i; in seq_reset() local [all …]
|
| H A D | midi.c | 1272 if (note > 127 || chn > 15) in midisynth_killnote() 1279 c[0] = 0x90 | (chn & 0x0f); /* Note on. */ in midisynth_killnote() 1283 c[0] = 0x80 | (chn & 0x0f); /* Note off. */ in midisynth_killnote() 1296 if (instr > 127 || chn > 15) in midisynth_setinstr() 1299 c[0] = 0xc0 | (chn & 0x0f); /* Progamme change. */ in midisynth_setinstr() 1310 if (note > 127 || chn > 15) in midisynth_startnote() 1316 c[0] = 0x90 | (chn & 0x0f); /* Note on. */ in midisynth_startnote() 1333 if (ctrlnum > 127 || chn > 15) in midisynth_controller() 1336 c[0] = 0xb0 | (chn & 0x0f); /* Control Message. */ in midisynth_controller() 1347 if (val > 16383 || chn > 15) in midisynth_bender() [all …]
|
| /freebsd-13.1/sys/sys/ |
| H A D | soundcard.h | 1351 #define _CHN_VOICE(dev, event, chn, note, parm) { \ argument 1356 _seqbuf[_seqbufptr+3] = (chn);\ 1363 #define SEQ_START_NOTE(dev, chn, note, vol) \ argument 1364 _CHN_VOICE(dev, MIDI_NOTEON, chn, note, vol) 1366 #define SEQ_STOP_NOTE(dev, chn, note, vol) \ argument 1367 _CHN_VOICE(dev, MIDI_NOTEOFF, chn, note, vol) 1381 _seqbuf[_seqbufptr+3] = (chn);\ 1409 #define SEQ_CHN_PRESSURE(dev, chn, pressure) \ argument 1412 #define SEQ_SET_PATCH(dev, chn, patch) \ argument 1415 #define SEQ_CONTROL(dev, chn, controller, value) \ argument [all …]
|
| /freebsd-13.1/sys/dev/sound/pci/ |
| H A D | emu10kx.h | 155 uint32_t emu_rdptr(struct emu_sc_info *sc, unsigned int chn, unsigned int reg); 156 void emu_wrptr(struct emu_sc_info *sc, unsigned int chn, unsigned int reg, uint32_t data); 158 uint32_t emu_rd_p16vptr(struct emu_sc_info *sc, uint16_t chn, uint16_t reg); 159 void emu_wr_p16vptr(struct emu_sc_info *sc, uint16_t chn, uint16_t reg, uint32_t data);
|
| H A D | emu10kx.c | 649 emu_rdptr(struct emu_sc_info *sc, unsigned int chn, unsigned int reg) in emu_rdptr() argument 653 ptr = ((reg << 16) & sc->address_mask) | (chn & EMU_PTR_CHNO_MASK); in emu_rdptr() 676 emu_wrptr(struct emu_sc_info *sc, unsigned int chn, unsigned int reg, uint32_t data) in emu_wrptr() argument 680 ptr = ((reg << 16) & sc->address_mask) | (chn & EMU_PTR_CHNO_MASK); in emu_wrptr() 706 emu_rd_p16vptr(struct emu_sc_info *sc, uint16_t chn, uint16_t reg) in emu_rd_p16vptr() argument 712 emu_wr_nolock(sc, EMU_A2_PTR, (reg << 16) | chn, 4); in emu_rd_p16vptr() 721 emu_wr_p16vptr(struct emu_sc_info *sc, uint16_t chn, uint16_t reg, uint32_t data) in emu_wr_p16vptr() argument 725 emu_wr_nolock(sc, EMU_A2_PTR, (reg << 16) | chn, 4); in emu_wr_p16vptr()
|
| H A D | emu10k1.c | 333 emu_rdptr(struct sc_info *sc, int chn, int reg) in emu_rdptr() argument 337 ptr = ((reg << 16) & sc->addrmask) | (chn & EMU_PTR_CHNO_MASK); in emu_rdptr() 351 emu_wrptr(struct sc_info *sc, int chn, int reg, u_int32_t data) in emu_wrptr() argument 355 ptr = ((reg << 16) & sc->addrmask) | (chn & EMU_PTR_CHNO_MASK); in emu_wrptr()
|
| /freebsd-13.1/sys/dev/mly/ |
| H A D | mly.c | 1937 int chn, i; in mly_cam_attach() local 1954 chn = 0; in mly_cam_attach() 1955 for (i = 0; i < sc->mly_controllerinfo->physical_channels_present; i++, chn++) { in mly_cam_attach() 1956 if ((sc->mly_cam_sim[chn] = cam_sim_alloc(mly_cam_action, mly_cam_poll, "mly", sc, in mly_cam_attach() 1964 if (xpt_bus_register(sc->mly_cam_sim[chn], sc->mly_dev, chn)) { in mly_cam_attach() 1970 debug(1, "registered physical channel %d", chn); in mly_cam_attach() 1977 chn = sc->mly_controllerinfo->physical_channels_present; in mly_cam_attach() 1978 for (i = 0; i < sc->mly_controllerinfo->virtual_channels_present; i++, chn++) { in mly_cam_attach() 1979 if ((sc->mly_cam_sim[chn] = cam_sim_alloc(mly_cam_action, mly_cam_poll, "mly", sc, in mly_cam_attach() 1987 if (xpt_bus_register(sc->mly_cam_sim[chn], sc->mly_dev, chn)) { in mly_cam_attach() [all …]
|
| /freebsd-13.1/sys/dev/sound/isa/ |
| H A D | mss.c | 369 change_bits(mixer_tab *t, u_char *regval, int dev, int chn, int newval) in change_bits() argument 376 dev, chn, newval, *regval, in change_bits() 377 (*t)[dev][chn].regno, (*t)[dev][chn].polarity, in change_bits() 378 (*t)[dev][chn].nbits, (*t)[dev][chn].bitoffs ) ); in change_bits() 380 if ( (*t)[dev][chn].polarity == 1) /* reverse */ in change_bits() 383 mask = (1 << (*t)[dev][chn].nbits) - 1; in change_bits() 385 shift = (*t)[dev][chn].bitoffs /*- (*t)[dev][LEFT_CHN].nbits + 1*/; in change_bits()
|
| /freebsd-13.1/crypto/openssl/apps/ |
| H A D | pkcs12.c | 750 STACK_OF(X509) *chn = NULL; in get_cert_chain() 765 chn = X509_STORE_CTX_get1_chain(store_ctx); in get_cert_chain() 771 *chain = chn; in get_cert_chain()
|
| /freebsd-13.1/sys/arm/freescale/vybrid/ |
| H A D | vf_sai.c | 380 uint32_t sai_dma_intr(void *arg, int chn); 382 sai_dma_intr(void *arg, int chn) in sai_dma_intr() argument
|
| /freebsd-13.1/share/misc/ |
| H A D | iso639 | 122 chn chn Chinook jargon
|
| /freebsd-13.1/sys/dev/sound/pci/hda/ |
| H A D | hdaa.c | 1845 int i, j, k, chn, cchn, totalchn, totalextchn, c; in hdaa_audio_setup() local 1887 chn = 0; in hdaa_audio_setup() 1900 chn = (((convmap[convmapid][totalchn / 2] in hdaa_audio_setup() 1902 if (chn < 0 || chn >= totalchn) { in hdaa_audio_setup() 1905 c = (ch->sid << 4) | chn; in hdaa_audio_setup() 1921 if (cchn > 1 && chn < totalchn) { in hdaa_audio_setup() 1922 cchn = min(cchn, totalchn - chn - 1); in hdaa_audio_setup() 2021 chn += cchn + 1; in hdaa_audio_setup()
|
| /freebsd-13.1/sys/dev/bhnd/cores/pmu/ |
| H A D | bhnd_pmu_subr.c | 2209 bcm_chipname(sih->chip, chn, 8), sih->chiprev, in bhnd_pmu_alp_clock()
|