Searched refs:sg_index (Results 1 – 2 of 2) sorted by relevance
189 int sg_index; in ahc_sg_bus_to_virt() local191 sg_index = (sg_busaddr - scb->sg_list_phys)/sizeof(struct ahc_dma_seg); in ahc_sg_bus_to_virt()193 sg_index++; in ahc_sg_bus_to_virt()195 return (&scb->sg_list[sg_index]); in ahc_sg_bus_to_virt()201 int sg_index; in ahc_sg_virt_to_bus() local204 sg_index = sg - &scb->sg_list[1]; in ahc_sg_virt_to_bus()206 return (scb->sg_list_phys + (sg_index * sizeof(*scb->sg_list))); in ahc_sg_virt_to_bus()
2464 u_int16_t sg_index; in AscPutReadySgListQueue() local2478 sg_index = 1; in AscPutReadySgListQueue()2523 (u_int32_t *) & sg_head->sg_list[sg_index], in AscPutReadySgListQueue()2525 sg_index += ASC_SG_LIST_PER_Q; in AscPutReadySgListQueue()