Home
last modified time | relevance | path

Searched refs:ch_index (Results 1 – 8 of 8) sorted by relevance

/netbsd-src/sys/arch/arm/ti/
H A Dti_edma.c61 uint8_t ch_index; member
148 ch->ch_index = idx; in edma_attach()
307 KASSERT(ch->ch_index == drq); in edma_channel_alloc()
319 if (ch->ch_index < 32) { in edma_channel_alloc()
320 EDMA_WRITE(sc, EDMA_ICR_REG, __BIT(ch->ch_index)); in edma_channel_alloc()
321 EDMA_WRITE(sc, EDMA_IESR_REG, __BIT(ch->ch_index)); in edma_channel_alloc()
323 EDMA_WRITE(sc, EDMA_ICRH_REG, __BIT(ch->ch_index - 32)); in edma_channel_alloc()
324 EDMA_WRITE(sc, EDMA_IESRH_REG, __BIT(ch->ch_index - 32)); in edma_channel_alloc()
344 if (ch->ch_index < 32) { in edma_channel_free()
345 EDMA_WRITE(sc, EDMA_IECR_REG, __BIT(ch->ch_index)); in edma_channel_free()
[all …]
/netbsd-src/sys/arch/arm/broadcom/
H A Dbcm2835_dmac.c58 uint8_t ch_index; member
154 ch->ch_index = index; in bcm_dmac_attach()
180 cs = DMAC_READ(sc, DMAC_CS(ch->ch_index)); in bcm_dmac_intr()
181 DMAC_WRITE(sc, DMAC_CS(ch->ch_index), cs); in bcm_dmac_intr()
184 ce = DMAC_READ(sc, DMAC_DEBUG(ch->ch_index)); in bcm_dmac_intr()
187 DMAC_WRITE(sc, DMAC_DEBUG(ch->ch_index), ce); in bcm_dmac_intr()
233 if (!fdtbus_intr_str(phandle, ch->ch_index, intrstr, sizeof(intrstr))) { in bcm_dmac_alloc()
240 ch->ch_index); in bcm_dmac_alloc()
241 ch->ch_ih = fdtbus_intr_establish_xname(phandle, ch->ch_index, ipl, 0, in bcm_dmac_alloc()
245 "failed to establish interrupt for DMA%d and %s\n", ch->ch_index, in bcm_dmac_alloc()
[all …]
/netbsd-src/external/gpl2/groff/dist/src/libs/libgroff/
H A Dfont.cpp155 : ligatures(0), kern_hash_table(0), space_width(0), ch_index(0), nindices(0), in font()
171 a_delete ch_index; in ~font() local
251 return c >= 0 && c < nindices && ch_index[c] >= 0; in contains()
276 int i = ch_index[c]; in get_width()
306 assert(c >= 0 && c < nindices && ch_index[c] >= 0); in get_height()
307 return scale(ch[ch_index[c]].height, point_size); in get_height()
312 assert(c >= 0 && c < nindices && ch_index[c] >= 0); in get_depth()
313 return scale(ch[ch_index[c]].depth, point_size); in get_depth()
318 assert(c >= 0 && c < nindices && ch_index[c] >= 0); in get_italic_correction()
319 return scale(ch[ch_index[c]].italic_correction, point_size); in get_italic_correction()
[all …]
/netbsd-src/sys/arch/arm/sunxi/
H A Dsun4i_dma.c106 uint8_t ch_index; member
223 DMA_WRITE(sc, NDMA_SRC_ADDR_REG(ch->ch_index), src); in sun4idma_transfer_ndma()
224 DMA_WRITE(sc, NDMA_DEST_ADDR_REG(ch->ch_index), dst); in sun4idma_transfer_ndma()
225 DMA_WRITE(sc, NDMA_BC_REG(ch->ch_index), req->dreq_segs[0].ds_len); in sun4idma_transfer_ndma()
226 DMA_WRITE(sc, NDMA_CTRL_REG(ch->ch_index), cfg | NDMA_CTRL_LOAD); in sun4idma_transfer_ndma()
264 DMA_WRITE(sc, DDMA_SRC_ADDR_REG(ch->ch_index), src); in sun4idma_transfer_ddma()
265 DMA_WRITE(sc, DDMA_DEST_ADDR_REG(ch->ch_index), dst); in sun4idma_transfer_ddma()
266 DMA_WRITE(sc, DDMA_BC_REG(ch->ch_index), req->dreq_segs[0].ds_len); in sun4idma_transfer_ddma()
267 DMA_WRITE(sc, DDMA_PARA_REG(ch->ch_index), DDMA_PARA_VALUE); in sun4idma_transfer_ddma()
268 DMA_WRITE(sc, DDMA_CTRL_REG(ch->ch_index), cfg | DDMA_CTRL_LOAD); in sun4idma_transfer_ddma()
[all …]
H A Dsun6i_dma.c192 uint8_t ch_index;
233 ((sc)->sc_dmamap->dm_segs[0].ds_addr + DESC_OFFS((chp)->ch_index, (n))) in sun6idma_acquire()
285 uint8_t index = ch->ch_index; in sun6idma_release()
368 DMA_WRITE(sc, DMA_MODE_REG(ch->ch_index), in sun6idma_transfer()
372 bus_dmamap_sync(sc->sc_dmat, sc->sc_dmamap, DESC_OFFS(ch->ch_index, 0), in sun6idma_transfer()
375 DMA_WRITE(sc, DMA_START_ADDR_REG(ch->ch_index),
377 DMA_WRITE(sc, DMA_EN_REG(ch->ch_index), DMA_EN_EN); in sun6idma_halt()
379 if ((DMA_READ(sc, DMA_EN_REG(ch->ch_index)) & DMA_EN_EN) == 0) { in sun6idma_halt()
381 "DMA Channel %u failed to start\n", ch->ch_index); in sun6idma_halt()
394 DMA_WRITE(sc, DMA_EN_REG(ch->ch_index), in sun6idma_intr()
180 uint8_t ch_index; global() member
[all...]
/netbsd-src/external/gpl2/groff/dist/src/include/
H A Dfont.h96 int *ch_index; variable
/netbsd-src/sys/dev/pci/
H A Dif_iwm.c2230 uint8_t ch_index = iwm_ch_id_to_ch_index(ch_id); in iwm_channel_id_to_txp() local
2232 if (ch_index == 0xff) in iwm_channel_id_to_txp()
2243 if (le16toh(txp_chg->max_channel_idx) >= ch_index) in iwm_channel_id_to_txp()
/netbsd-src/external/gpl2/groff/dist/
H A DChangeLog1997 * src/include/font.h (font): Use `int' for ch_index.