Searched refs:sg_prefetch_cnt (Results 1 - 2 of 2) sorted by relevance

/netbsd-current/sys/dev/ic/
H A Daic7xxx.c6290 u_int sg_prefetch_cnt; local
6309 sg_prefetch_cnt = ahc->pci_cachesize;
6310 if (sg_prefetch_cnt < (2 * sizeof(struct ahc_dma_seg)))
6311 sg_prefetch_cnt = 2 * sizeof(struct ahc_dma_seg);
6312 download_consts[SG_PREFETCH_CNT] = sg_prefetch_cnt;
6313 download_consts[SG_PREFETCH_ALIGN_MASK] = ~(sg_prefetch_cnt - 1);
6314 download_consts[SG_PREFETCH_ADDR_MASK] = (sg_prefetch_cnt - 1);
H A Daic79xx.c8267 u_int sg_prefetch_cnt; local
8321 sg_prefetch_cnt = sg_prefetch_align;
8329 while (sg_prefetch_cnt < sg_size)
8330 sg_prefetch_cnt += sg_prefetch_align;
8337 && (sg_prefetch_cnt < CCSGADDR_MAX))
8338 sg_prefetch_cnt += sg_prefetch_align;
8344 sg_prefetch_cnt_limit = -(sg_prefetch_cnt - sg_size + 1);
8345 download_consts[SG_PREFETCH_CNT] = sg_prefetch_cnt;

Completed in 100 milliseconds