Searched refs:sgptr (Results 1 – 7 of 7) sorted by relevance
| /src/sys/dev/aic7xxx/ |
| H A D | aic79xx_inline.h | 234 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 D | aic7xxx_inline.h | 273 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 D | aic79xx.c | 617 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 D | aic7xxx.c | 568 hscb->sgptr = scb->sg_list_phys | SG_FULL_RESID; in ahc_handle_seqint() 569 hscb->sgptr = aic_htole32(hscb->sgptr); in ahc_handle_seqint() 1542 aic_le32toh(hscb->sgptr), in ahc_print_scb() 3653 uint32_t sgptr; in ahc_handle_ign_wide_residue() local 3655 sgptr = ahc_inb(ahc, SCB_RESIDUAL_SGPTR); in ahc_handle_ign_wide_residue() 3656 if ((sgptr & SG_LIST_NULL) != 0 in ahc_handle_ign_wide_residue() 3670 sgptr = ahc_inl(ahc, SCB_RESIDUAL_SGPTR); in ahc_handle_ign_wide_residue() 3673 if ((sgptr & SG_LIST_NULL) != 0) { in ahc_handle_ign_wide_residue() 3683 sgptr &= SG_PTR_MASK; in ahc_handle_ign_wide_residue() 3685 sg = ahc_sg_bus_to_virt(scb, sgptr); in ahc_handle_ign_wide_residue() [all …]
|
| H A D | aic7xxx_osm.c | 980 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 D | aic7xxx.h | 476 /*20*/ uint32_t sgptr; member
|
| H A D | aic79xx.h | 515 /*36*/ uint32_t sgptr; member
|