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

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/aic7xxx/
H A Daic7xxx_core.c6241 u_int sg_prefetch_cnt; local
6261 sg_prefetch_cnt = ahc->pci_cachesize;
6262 if (sg_prefetch_cnt < (2 * sizeof(struct ahc_dma_seg)))
6263 sg_prefetch_cnt = 2 * sizeof(struct ahc_dma_seg);
6264 download_consts[SG_PREFETCH_CNT] = sg_prefetch_cnt;
6265 download_consts[SG_PREFETCH_ALIGN_MASK] = ~(sg_prefetch_cnt - 1);
6266 download_consts[SG_PREFETCH_ADDR_MASK] = (sg_prefetch_cnt - 1);
H A Daic79xx_core.c8522 u_int sg_prefetch_cnt; local
8580 sg_prefetch_cnt = sg_prefetch_align;
8588 while (sg_prefetch_cnt < sg_size)
8589 sg_prefetch_cnt += sg_prefetch_align;
8596 && (sg_prefetch_cnt < CCSGADDR_MAX))
8597 sg_prefetch_cnt += sg_prefetch_align;
8603 sg_prefetch_cnt_limit = -(sg_prefetch_cnt - sg_size + 1);
8604 download_consts[SG_PREFETCH_CNT] = sg_prefetch_cnt;

Completed in 59 milliseconds