Lines Matching refs:granularity
345 unsigned int i, addr = 0, granularity; in ca91cx42_slave_set() local
391 granularity = 0x1000; in ca91cx42_slave_set()
393 granularity = 0x10000; in ca91cx42_slave_set()
395 if (vme_base & (granularity - 1)) { in ca91cx42_slave_set()
400 if (vme_bound & (granularity - 1)) { in ca91cx42_slave_set()
405 if (pci_offset & (granularity - 1)) { in ca91cx42_slave_set()
451 unsigned int i, granularity = 0, ctl = 0; in ca91cx42_slave_get() local
460 granularity = 0x1000; in ca91cx42_slave_get()
462 granularity = 0x10000; in ca91cx42_slave_get()
472 *size = (unsigned long long)((vme_bound - *vme_base) + granularity); in ca91cx42_slave_get()
604 unsigned int i, granularity = 0; in ca91cx42_master_set() local
617 granularity = 0x1000; in ca91cx42_master_set()
619 granularity = 0x10000; in ca91cx42_master_set()
622 if (vme_base & (granularity - 1)) { in ca91cx42_master_set()
628 if (size & (granularity - 1)) { in ca91cx42_master_set()