Searched refs:sgptr (Results 1 – 7 of 7) sorted by relevance
/netbsd-src/sys/dev/ic/ |
H A D | aic79xx_inline.h | 240 void *sgptr, bus_addr_t addr, bus_size_t len, int last) in ahd_sg_setup() argument 247 sg = (struct ahd_dma64_seg *)sgptr; in ahd_sg_setup() 254 sg = (struct ahd_dma_seg *)sgptr; in ahd_sg_setup() 317 scb->hscb->sgptr = ahd_htole32(scb->sg_list_busaddr|SG_FULL_RESID); in ahd_setup_data_scb() 323 scb->hscb->sgptr = ahd_htole32(SG_LIST_NULL); in ahd_setup_noxfer_scb() 453 uint32_t sgptr; in ahd_post_scb() local 455 sgptr = ahd_le32toh(scb->hscb->sgptr); in ahd_post_scb() 456 if ((sgptr & SG_STATUS_VALID) != 0) in ahd_post_scb() 465 uint32_t sgptr; in ahd_complete_scb() local 467 sgptr = ahd_le32toh(scb->hscb->sgptr); in ahd_complete_scb() [all …]
|
H A D | aic79xx.c | 590 uint32_t sgptr; in ahd_run_data_fifo() local 595 sgptr = ahd_inl_scbram(ahd, SCB_SGPTR) & ~SG_FULL_RESID; in ahd_run_data_fifo() 596 ahd_outb(ahd, SCB_SGPTR, sgptr); in ahd_run_data_fifo() 603 sgptr |= LAST_SEG; in ahd_run_data_fifo() 609 ahd_outb(ahd, SG_CACHE_PRE, sgptr); in ahd_run_data_fifo() 616 ahd_outl(ahd, SCB_RESIDUAL_SGPTR, sgptr & SG_PTR_MASK); in ahd_run_data_fifo() 635 uint32_t sgptr; in ahd_run_data_fifo() local 665 sgptr = ahd_inl_scbram(ahd, SCB_RESIDUAL_SGPTR); in ahd_run_data_fifo() 679 && (sgptr & 0x80) == 0) in ahd_run_data_fifo() 680 sgptr -= 0x100; in ahd_run_data_fifo() [all …]
|
H A D | aic7xxx_inline.h | 278 uint32_t sgptr; in ahc_update_residual() local 280 sgptr = ahc_le32toh(scb->hscb->sgptr); in ahc_update_residual() 281 if ((sgptr & SG_RESID_VALID) != 0) in ahc_update_residual()
|
H A D | aic7xxx.c | 577 hscb->sgptr = in ahc_handle_seqint() 1541 ahc_le32toh(hscb->sgptr), in ahc_print_scb() 3588 uint32_t sgptr; in ahc_handle_ign_wide_residue() local 3590 sgptr = ahc_inb(ahc, SCB_RESIDUAL_SGPTR); in ahc_handle_ign_wide_residue() 3591 if ((sgptr & SG_LIST_NULL) != 0 in ahc_handle_ign_wide_residue() 3606 sgptr |= (ahc_inb(ahc, SCB_RESIDUAL_SGPTR + 3) << 24) in ahc_handle_ign_wide_residue() 3609 sgptr &= SG_PTR_MASK; in ahc_handle_ign_wide_residue() 3623 sg = ahc_sg_bus_to_virt(scb, sgptr); in ahc_handle_ign_wide_residue() 3648 sgptr = ahc_sg_virt_to_bus(scb, sg); in ahc_handle_ign_wide_residue() 3650 sgptr >> 24); in ahc_handle_ign_wide_residue() [all …]
|
H A D | aic7xxx_osm.c | 563 scb->hscb->sgptr = ahc_htole32(scb->sg_list_phys|SG_FULL_RESID); in ahc_execute_scb() 580 scb->hscb->sgptr = ahc_htole32(SG_LIST_NULL); in ahc_execute_scb()
|
H A D | aic7xxxvar.h | 567 /*20*/ uint32_t sgptr; member
|
H A D | aic79xxvar.h | 517 /*36*/ uint32_t sgptr; member
|