Searched refs:sg_prefetch_cnt (Results 1 – 2 of 2) sorted by relevance
6793 u_int sg_prefetch_cnt; in ahc_loadseq() local6813 sg_prefetch_cnt = ahc->pci_cachesize; in ahc_loadseq()6814 if (sg_prefetch_cnt < (2 * sizeof(struct ahc_dma_seg))) in ahc_loadseq()6815 sg_prefetch_cnt = 2 * sizeof(struct ahc_dma_seg); in ahc_loadseq()6816 download_consts[SG_PREFETCH_CNT] = sg_prefetch_cnt; in ahc_loadseq()6817 download_consts[SG_PREFETCH_ALIGN_MASK] = ~(sg_prefetch_cnt - 1); in ahc_loadseq()6818 download_consts[SG_PREFETCH_ADDR_MASK] = (sg_prefetch_cnt - 1); in ahc_loadseq()
9267 u_int sg_prefetch_cnt; in ahd_loadseq() local9325 sg_prefetch_cnt = sg_prefetch_align; in ahd_loadseq()9333 while (sg_prefetch_cnt < sg_size) in ahd_loadseq()9334 sg_prefetch_cnt += sg_prefetch_align; in ahd_loadseq()9341 && (sg_prefetch_cnt < CCSGADDR_MAX)) in ahd_loadseq()9342 sg_prefetch_cnt += sg_prefetch_align; in ahd_loadseq()9348 sg_prefetch_cnt_limit = -(sg_prefetch_cnt - sg_size + 1); in ahd_loadseq()9349 download_consts[SG_PREFETCH_CNT] = sg_prefetch_cnt; in ahd_loadseq()