/src/sys/dev/ic/ |
aic7xxx_inline.h | 278 uint32_t sgptr; local in function:ahc_update_residual 280 sgptr = ahc_le32toh(scb->hscb->sgptr); 281 if ((sgptr & SG_RESID_VALID) != 0)
|
aic79xx_inline.h | 240 void *sgptr, bus_addr_t addr, bus_size_t len, int last) 247 sg = (struct ahd_dma64_seg *)sgptr; 254 sg = (struct ahd_dma_seg *)sgptr; 317 scb->hscb->sgptr = ahd_htole32(scb->sg_list_busaddr|SG_FULL_RESID); 323 scb->hscb->sgptr = ahd_htole32(SG_LIST_NULL); 453 uint32_t sgptr; local in function:ahd_post_scb 455 sgptr = ahd_le32toh(scb->hscb->sgptr); 456 if ((sgptr & SG_STATUS_VALID) != 0) 465 uint32_t sgptr; local in function:ahd_complete_scb 481 uint32_t sgptr; local in function:ahd_update_residual [all...] |
aic79xx.c | 590 uint32_t sgptr; local in function:ahd_run_data_fifo 595 sgptr = ahd_inl_scbram(ahd, SCB_SGPTR) & ~SG_FULL_RESID; 596 ahd_outb(ahd, SCB_SGPTR, sgptr); 603 sgptr |= LAST_SEG; 609 ahd_outb(ahd, SG_CACHE_PRE, sgptr); 616 ahd_outl(ahd, SCB_RESIDUAL_SGPTR, sgptr & SG_PTR_MASK); 635 uint32_t sgptr; local in function:ahd_run_data_fifo 665 sgptr = ahd_inl_scbram(ahd, SCB_RESIDUAL_SGPTR); 676 * the other bytes of the sgptr too. 679 && (sgptr & 0x80) == 0 706 uint32_t sgptr; local in function:ahd_run_data_fifo 4777 uint32_t sgptr; local in function:ahd_handle_ign_wide_residue 4908 uint32_t sgptr; local in function:ahd_reinitialize_dataptrs 8046 uint32_t sgptr; local in function:ahd_calc_residual [all...] |
aic7xxx.c | 577 hscb->sgptr = 1538 printf(" dataptr:%#x datacnt:%#x sgptr:%#x tag:%#x\n", 1541 ahc_le32toh(hscb->sgptr), 3588 uint32_t sgptr; local in function:ahc_handle_ign_wide_residue 3590 sgptr = ahc_inb(ahc, SCB_RESIDUAL_SGPTR); 3591 if ((sgptr & SG_LIST_NULL) != 0 3605 /* Pull in the rest of the sgptr */ 3606 sgptr |= (ahc_inb(ahc, SCB_RESIDUAL_SGPTR + 3) << 24) 3609 sgptr &= SG_PTR_MASK; 3623 sg = ahc_sg_bus_to_virt(scb, sgptr); 3677 uint32_t sgptr; local in function:ahc_reinitialize_dataptrs 6080 uint32_t sgptr; local in function:ahc_calc_residual [all...] |
aic79xxvar.h | 469 * transfer. The sgptr field is initialized to the bus address for 471 * or'ed with the SG_FULL_RESID flag. Sgptr may point to an invalid 474 * fields). If no transfer is to occur, sgptr is set to SG_LIST_NULL. 477 * the residual sgptr and datacnt are loaded from the sgptr and the 479 * loaded into the hardware, the residual sgptr is advanced. After 485 * sgptr and DMA the scb back into host memory. To summarize: 488 * o A residual has occurred if SG_FULL_RESID is set in sgptr, 500 * o residual_sgptr and sgptr refer to the "next" sg entry 517 /*36*/ uint32_t sgptr; member in struct:hardware_scb [all...] |
aic7xxxvar.h | 528 * transfer. The sgptr field is initialized to the bus address for 530 * or'ed with the SG_FULL_RESID flag. Sgptr may point to an invalid 533 * fields). If no transfer is to occur, sgptr is set to SG_LIST_NULL. 536 * the residual sgptr and datacnt are loaded from the sgptr and the 538 * loaded into the hardware, the residual sgptr is advanced. After 543 * will set the SG_RESID_VALID flag in sgptr and DMA the scb back into 547 * o A residual has occurred if SG_FULL_RESID is set in sgptr, 557 * o residual_sgptr and sgptr refer to the "next" sg entry 567 /*20*/ uint32_t sgptr; member in struct:hardware_scb [all...] |