/illumos-gate/usr/src/uts/common/io/ |
H A D | i8237A.c | 113 static void dEISA_setchain(ddi_dma_cookie_t *cp, int chnl); 154 d37A_dma_valid(int chnl) in d37A_dma_valid() argument 157 if (chnl == 4) in d37A_dma_valid() 171 d37A_dma_release(int chnl) in d37A_dma_release() argument 174 if (chnl == 4) in d37A_dma_release() 177 d37A_chnl_mode[chnl] = DMAE_TRANS_SNGL; in d37A_dma_release() 188 d37A_dma_disable(int chnl) in d37A_dma_disable() argument 191 chnl, chan_addr[chnl].mask_reg)); in d37A_dma_disable() 193 outb(chan_addr[chnl].mask_reg, (chnl & 3) | DMA_SETMSK); in d37A_dma_disable() 206 d37A_dma_enable(int chnl) in d37A_dma_enable() argument [all …]
|
H A D | dma_engine.c | 83 int chnl; in i_dmae_init() local 88 for (chnl = 0; chnl < NCHANS; chnl++) { in i_dmae_init() 89 sema_init(&dmae_stat[chnl].dch_lock, 1, NULL, SEMA_DRIVER, in i_dmae_init() 105 i_dmae_acquire(dev_info_t *dip, int chnl, int (*dmae_waitfp)(), caddr_t arg) in i_dmae_acquire() argument 111 chnl, (void *)dmae_waitfp)); in i_dmae_acquire() 113 if (!d37A_dma_valid(chnl)) in i_dmae_acquire() 117 sema_p(&dmae_stat[chnl].dch_lock); in i_dmae_acquire() 118 } else if (sema_tryp(&dmae_stat[chnl].dch_lock) == 0) { in i_dmae_acquire() 120 dprintf(("_dma_acquire: channel %d is busy.\n", chnl)); in i_dmae_acquire() 123 &dmae_call_list[chnl]); in i_dmae_acquire() [all …]
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | dma_engine.h | 121 extern void i_dmae_get_chan_stat(dev_info_t *dip, int chnl, 188 int ddi_dmae_alloc(dev_info_t *dip, int chnl, int (*dmae_waitfp)(), 198 int ddi_dmae_release(dev_info_t *dip, int chnl); 207 int ddi_dmae_1stparty(dev_info_t *dip, int chnl); 233 ddi_dma_cookie_t *cookiep, int chnl); 236 ddi_dma_cookie_t *cookiep, int chnl); 238 int ddi_dmae_swstart(dev_info_t *dip, int chnl); 246 int ddi_dmae_stop(dev_info_t *dip, int chnl); 255 int ddi_dmae_enable(dev_info_t *dip, int chnl); 263 int ddi_dmae_disable(dev_info_t *dip, int chnl); [all …]
|
/illumos-gate/usr/src/uts/intel/os/ |
H A D | ddi_i86.c | 47 ddi_dmae_alloc(dev_info_t *dip, int chnl, int (*dmae_waitfp)(), caddr_t arg) in ddi_dmae_alloc() argument 51 (caddr_t *)(uintptr_t)chnl, 0)); in ddi_dmae_alloc() 55 ddi_dmae_release(dev_info_t *dip, int chnl) in ddi_dmae_release() argument 58 (caddr_t *)(uintptr_t)chnl, 0)); in ddi_dmae_release() 69 ddi_dmae_1stparty(dev_info_t *dip, int chnl) in ddi_dmae_1stparty() argument 72 (caddr_t *)(uintptr_t)chnl, 0)); in ddi_dmae_1stparty() 77 ddi_dma_cookie_t *cookiep, int chnl) in ddi_dmae_prog() argument 80 (size_t *)cookiep, (caddr_t *)(uintptr_t)chnl, 0)); in ddi_dmae_prog() 85 ddi_dma_cookie_t *cookiep, int chnl) in ddi_dmae_swsetup() argument 88 (size_t *)cookiep, (caddr_t *)(uintptr_t)chnl, 0)); in ddi_dmae_swsetup() [all …]
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/hsi/mcp/ |
H A D | ncsi_basic_types.h | 535 u32_t chnl : 8; member
|
/illumos-gate/usr/src/uts/common/io/iwn/ |
H A D | if_iwnreg.h | 314 #define IWN_FH_TX_STATUS_IDLE(chnl) (1 << ((chnl) + 16)) argument
|
H A D | if_iwn.c | 7290 int error, chnl, qid; in iwn_hw_init() local 7359 for (chnl = 0; chnl < sc->ndmachnls; chnl++) { in iwn_hw_init() 7360 IWN_WRITE(sc, IWN_FH_TX_CONFIG(chnl), in iwn_hw_init() 7405 int chnl, qid, ntries; in iwn_hw_stop() local 7427 for (chnl = 0; chnl < sc->ndmachnls; chnl++) { in iwn_hw_stop() 7428 IWN_WRITE(sc, IWN_FH_TX_CONFIG(chnl), 0); in iwn_hw_stop() 7431 IWN_FH_TX_STATUS_IDLE(chnl)) in iwn_hw_stop()
|