/titanic_41/usr/src/uts/common/io/audio/impl/ |
H A D | audio_input.c | 96 uint_t nframes; in auimpl_produce_data() local 101 nframes = sp->s_nframes; in auimpl_produce_data() 105 ASSERT(sp->s_hidx < nframes); in auimpl_produce_data() 106 ASSERT(sp->s_tidx < nframes); in auimpl_produce_data() 118 nf = min(nframes - sp->s_hidx, count); in auimpl_produce_data() 128 if (sp->s_hidx == nframes) { in auimpl_produce_data() 135 ASSERT(sp->s_hidx < nframes); in auimpl_produce_data()
|
H A D | audio_client.c | 214 uint_t nframes; in auclnt_consume_data() local 221 nframes = sp->s_nframes; in auclnt_consume_data() 226 ASSERT(sp->s_tidx < nframes); in auclnt_consume_data() 227 ASSERT(sp->s_hidx < nframes); in auclnt_consume_data() 234 nf = min(nframes - sp->s_tidx, n); in auclnt_consume_data() 244 if (sp->s_tidx == nframes) { in auclnt_consume_data() 251 ASSERT(sp->s_tidx < nframes); in auclnt_consume_data() 282 uint_t nframes; in auclnt_produce_data() local 289 nframes = sp->s_nframes; in auclnt_produce_data() 294 ASSERT(sp->s_tidx < nframes); in auclnt_produce_data() [all …]
|
H A D | audio_output.c | 225 uint_t nframes; in auimpl_consume_fragment() local 234 nframes = sp->s_nframes; in auimpl_consume_fragment() 252 n = min(nframes - sp->s_tidx, count); in auimpl_consume_fragment() 260 if (sp->s_tidx >= nframes) in auimpl_consume_fragment() 261 sp->s_tidx -= nframes; in auimpl_consume_fragment()
|
/titanic_41/usr/src/lib/libumem/common/ |
H A D | umem_fail.c | 91 uint_t nframes = getpcstack(cur_stack, ERR_STACK_FRAMES, 0); in print_stacktrace() local 94 if (nframes > SKIP_FRAMES) { in print_stacktrace() 97 for (idx = SKIP_FRAMES; idx < nframes; idx++) { in print_stacktrace()
|
/titanic_41/usr/src/uts/common/io/audio/drv/audioens/ |
H A D | audioens.c | 97 unsigned nframes; member 421 audioens_open(void *arg, int flag, unsigned *nframes, caddr_t *bufp) in audioens_open() argument 430 port->nframes = AUDIOENS_BUF_LEN / (port->nchan * sizeof (int16_t)); in audioens_open() 433 *nframes = port->nframes; in audioens_open() 455 port->paddr + (port->nframes * sizeof (int16_t) * 2)); in audioens_start() 475 port->nframes - 1); in audioens_start() 477 port->nframes - 1); in audioens_start() 480 PUT16(dev, CONC_wDAC1IC_OFF, port->nframes - 1); in audioens_start() 481 PUT16(dev, CONC_wDAC2IC_OFF, port->nframes - 1); in audioens_start() 507 port->nframes - 1); in audioens_start() [all …]
|
/titanic_41/usr/src/uts/common/io/audio/drv/audiopci/ |
H A D | audiopci.c | 90 unsigned nframes; member 312 port->nframes - 1); in audiopci_init_port() 315 PUT16(dev, CONC_wDACIC_OFF, port->nframes - 1); in audiopci_init_port() 337 port->nframes - 1); in audiopci_init_port() 340 PUT16(dev, CONC_wSYNIC_OFF, port->nframes - 1); in audiopci_init_port() 363 port->nframes - 1); in audiopci_init_port() 366 PUT16(dev, CONC_wADCIC_OFF, port->nframes - 1); in audiopci_init_port() 375 audiopci_open(void *arg, int flag, unsigned *nframes, caddr_t *bufp) in audiopci_open() argument 382 port->nframes = AUDIOPCI_BUF_LEN / 4; in audiopci_open() 385 *nframes = port->nframes; in audiopci_open() [all …]
|
/titanic_41/usr/src/uts/common/io/audio/drv/audiovia97/ |
H A D | audiovia97.c | 194 *nframesp = portc->nframes; in via97_open() 261 via97_sync(void *arg, unsigned nframes) in via97_sync() argument 264 _NOTE(ARGUNUSED(nframes)); in via97_sync() 295 n = portc->nframes - (pos - portc->pos); in via97_count() 342 portc->nframes = 2048; in via97_alloc_port() 343 portc->buf_size = portc->nframes * sizeof (int16_t) * 2; in via97_alloc_port()
|
H A D | audiovia97.h | 62 unsigned nframes; member
|
/titanic_41/usr/src/uts/common/io/audio/drv/audiovia823x/ |
H A D | audiovia823x.c | 202 *nframesp = portc->nframes; in auvia_open() 259 auvia_sync(void *arg, unsigned nframes) in auvia_sync() argument 262 _NOTE(ARGUNUSED(nframes)); in auvia_sync() 280 n = portc->nframes - (pos - portc->pos); in auvia_count() 403 portc->nframes = 4096; in auvia_alloc_port() 404 portc->buf_size = portc->nframes * portc->nchan * sizeof (int16_t); in auvia_alloc_port()
|
H A D | audiovia823x.h | 140 unsigned nframes; member
|
/titanic_41/usr/src/uts/common/io/audio/drv/audioixp/ |
H A D | audioixp.c | 436 *nframesp = port->nframes; in audioixp_open() 654 audioixp_sync(void *arg, unsigned nframes) in audioixp_sync() argument 657 _NOTE(ARGUNUSED(nframes)); in audioixp_sync() 741 port->nframes = 4096; in audioixp_alloc_port() 742 port->fragfr = port->nframes / IXP_BD_NUMS; in audioixp_alloc_port() 744 port->samp_size = port->nframes * port->nchan * 2; in audioixp_alloc_port()
|
H A D | audioixp.h | 212 unsigned nframes; member
|
/titanic_41/usr/src/uts/common/io/1394/targets/av1394/ |
H A D | av1394_isoch_recv.c | 76 int nframes; in av1394_ir_init() local 80 nframes = av1394_ic_alloc_pool(pool, icp->ic_framesz, icp->ic_nframes, in av1394_ir_init() 82 if (nframes == 0) { in av1394_ir_init() 88 icp->ic_nframes = nframes; in av1394_ir_init() 89 irp->ir_hiwat = nframes - av1394_ir_hiwat_sub; in av1394_ir_init() 90 irp->ir_lowat = nframes - av1394_ir_lowat_sub; in av1394_ir_init()
|
H A D | av1394_isoch_xmit.c | 95 int nframes; in av1394_it_init() local 99 nframes = av1394_ic_alloc_pool(pool, icp->ic_framesz, icp->ic_nframes, in av1394_it_init() 101 if (nframes == 0) { in av1394_it_init() 107 icp->ic_nframes = nframes; in av1394_it_init() 108 itp->it_hiwat = nframes - av1394_it_hiwat_sub; in av1394_it_init()
|
/titanic_41/usr/src/uts/common/io/audio/drv/audioemu10k/ |
H A D | audioemu10k.c | 390 emu10k_open(void *arg, int flag, unsigned *nframes, caddr_t *bufp) in emu10k_open() argument 398 *nframes = portc->nframes; in emu10k_open() 463 emu10k_sync(void *arg, unsigned nframes) in emu10k_sync() argument 466 _NOTE(ARGUNUSED(nframes)); in emu10k_sync() 491 *offset = portc->nframes * (chan / 2) * 2 + (chan % 2); in emu10k_chinfo() 754 if (pos > portc->nframes) { in emu10k_update_play() 763 ASSERT(pos <= portc->nframes); in emu10k_update_play() 766 cnt = (portc->nframes - portc->pos) + pos; in emu10k_update_play() 770 ASSERT(cnt <= portc->nframes); in emu10k_update_play() 888 portc->nframes = portc->buf_size / 4; in emu10k_alloc_port() [all …]
|
H A D | audioemu10k.h | 365 unsigned nframes; member
|
/titanic_41/usr/src/uts/common/io/audio/drv/audiop16x/ |
H A D | audiop16x.c | 211 p16x_open(void *arg, int flag, uint_t *nframes, caddr_t *bufp) in p16x_open() argument 218 *nframes = port->buf_frames; in p16x_open() 302 p16x_sync(void *arg, unsigned nframes) in p16x_sync() argument 305 _NOTE(ARGUNUSED(nframes)); in p16x_sync()
|
/titanic_41/usr/src/uts/common/io/audio/drv/audio1575/ |
H A D | audio1575.c | 391 *nframesp = port->nframes; in audio1575_open() 652 audio1575_sync(void *arg, unsigned nframes) in audio1575_sync() argument 655 _NOTE(ARGUNUSED(nframes)); in audio1575_sync() 864 port->nframes = 2048; in audio1575_alloc_port() 865 port->samp_size = port->nframes * port->nchan * sizeof (int16_t); in audio1575_alloc_port()
|
H A D | audio1575.h | 363 unsigned nframes; member
|
/titanic_41/usr/src/uts/common/io/audio/drv/audio810/ |
H A D | audio810.c | 408 audio810_open(void *arg, int flag, unsigned *nframes, caddr_t *bufp) in audio810_open() argument 415 *nframes = port->samp_frames; in audio810_open() 636 audio810_sync(void *arg, unsigned nframes) in audio810_sync() argument 639 _NOTE(ARGUNUSED(nframes)); in audio810_sync()
|
/titanic_41/usr/src/uts/common/io/audio/drv/audiocmi/ |
H A D | audiocmi.c | 102 *nframesp = port->nframes; in cmpci_open() 681 cmpci_sync(void *arg, unsigned nframes) in cmpci_sync() argument 685 _NOTE(ARGUNUSED(nframes)); in cmpci_sync() 787 port->nframes = 2048; in cmpci_init() 788 port->bufsz = port->nframes * port->nchan * 2; in cmpci_init()
|
H A D | audiocmi.h | 268 unsigned nframes; member
|
/titanic_41/usr/src/uts/common/io/audio/drv/audiocmihd/ |
H A D | audiocmihd.c | 529 *nframesp = portc->nframes; in cmediahd_open() 616 cmediahd_sync(void *arg, unsigned nframes) in cmediahd_sync() argument 619 _NOTE(ARGUNUSED(nframes)); in cmediahd_sync() 793 portc->nframes = 2048; in cmediahd_alloc_port() 794 portc->bufsz = portc->nframes * portc->chans * 2; in cmediahd_alloc_port()
|
H A D | audiocmihd.h | 327 unsigned nframes; member
|
/titanic_41/usr/src/uts/common/io/audio/drv/audiosolo/ |
H A D | audiosolo.c | 963 solo_sync(void *arg, unsigned nframes) in solo_sync() argument 967 _NOTE(ARGUNUSED(nframes)); in solo_sync() 989 solo_open(void *arg, int f, unsigned *nframes, caddr_t *buf) in solo_open() argument 996 *nframes = SOLO_NFRAGS * SOLO_FRAGFR; in solo_open()
|