Home
last modified time | relevance | path

Searched refs:sgptr (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/dev/aic7xxx/
H A Daic79xx_inline.h234 void *sgptr, bus_addr_t addr,
245 void *sgptr, bus_addr_t addr, bus_size_t len, int last) in ahd_sg_setup() argument
252 sg = (struct ahd_dma64_seg *)sgptr; in ahd_sg_setup()
259 sg = (struct ahd_dma_seg *)sgptr; in ahd_sg_setup()
322 scb->hscb->sgptr = aic_htole32(scb->sg_list_busaddr|SG_FULL_RESID); in ahd_setup_data_scb()
328 scb->hscb->sgptr = aic_htole32(SG_LIST_NULL); in ahd_setup_noxfer_scb()
473 uint32_t sgptr; in ahd_complete_scb() local
475 sgptr = aic_le32toh(scb->hscb->sgptr); in ahd_complete_scb()
476 if ((sgptr & SG_STATUS_VALID) != 0) in ahd_complete_scb()
489 uint32_t sgptr; in ahd_update_residual() local
[all …]
H A Daic7xxx_inline.h273 uint32_t sgptr; in ahc_update_residual() local
275 sgptr = aic_le32toh(scb->hscb->sgptr); in ahc_update_residual()
276 if ((sgptr & SG_RESID_VALID) != 0) in ahc_update_residual()
H A Daic79xx.c617 uint32_t sgptr; in ahd_run_data_fifo() local
622 sgptr = ahd_inl_scbram(ahd, SCB_SGPTR) & ~SG_FULL_RESID; in ahd_run_data_fifo()
623 ahd_outb(ahd, SCB_SGPTR, sgptr); in ahd_run_data_fifo()
630 sgptr |= LAST_SEG; in ahd_run_data_fifo()
636 ahd_outb(ahd, SG_CACHE_PRE, sgptr); in ahd_run_data_fifo()
643 ahd_outl(ahd, SCB_RESIDUAL_SGPTR, sgptr & SG_PTR_MASK); in ahd_run_data_fifo()
662 uint32_t sgptr; in ahd_run_data_fifo() local
691 sgptr = ahd_inl_scbram(ahd, SCB_RESIDUAL_SGPTR); in ahd_run_data_fifo()
704 && (sgptr & 0x80) == 0) in ahd_run_data_fifo()
705 sgptr -= 0x100; in ahd_run_data_fifo()
[all …]
H A Daic7xxx_osm.c980 scb->hscb->sgptr = aic_htole32(scb->sg_list_phys|SG_FULL_RESID); in ahc_execute_scb()
1032 scb->hscb->sgptr = aic_htole32(SG_LIST_NULL); in ahc_execute_scb()
H A Daic7xxx.h437 * transfer. The sgptr field is initialized to the bus address for
442 * fields). If no transfer is to occur, sgptr is set to SG_LIST_NULL.
445 * the residual sgptr and datacnt are loaded from the sgptr and the
447 * loaded into the hardware, the residual sgptr is advanced. After
452 * will set the SG_RESID_VALID flag in sgptr and dma the scb back into
456 * o A residual has occurred if SG_FULL_RESID is set in sgptr,
466 * o residual_sgptr and sgptr refer to the "next" sg entry
476 /*20*/ uint32_t sgptr; member
H A Daic79xx.h467 * transfer. The sgptr field is initialized to the bus address for
472 * fields). If no transfer is to occur, sgptr is set to SG_LIST_NULL.
475 * the residual sgptr and datacnt are loaded from the sgptr and the
477 * loaded into the hardware, the residual sgptr is advanced. After
483 * sgptr and dma the scb back into host memory. To sumarize:
486 * o A residual has occurred if SG_FULL_RESID is set in sgptr,
498 * o residual_sgptr and sgptr refer to the "next" sg entry
515 /*36*/ uint32_t sgptr; member