Lines Matching refs:granularity
337 unsigned int i, addr = 0, granularity; in ca91cx42_slave_set() local
383 granularity = 0x1000; in ca91cx42_slave_set()
385 granularity = 0x10000; in ca91cx42_slave_set()
387 if (vme_base & (granularity - 1)) { in ca91cx42_slave_set()
392 if (vme_bound & (granularity - 1)) { in ca91cx42_slave_set()
397 if (pci_offset & (granularity - 1)) { in ca91cx42_slave_set()
443 unsigned int i, granularity = 0, ctl = 0; in ca91cx42_slave_get() local
452 granularity = 0x1000; in ca91cx42_slave_get()
454 granularity = 0x10000; in ca91cx42_slave_get()
464 *size = (unsigned long long)((vme_bound - *vme_base) + granularity); in ca91cx42_slave_get()
594 unsigned int i, granularity = 0; in ca91cx42_master_set() local
607 granularity = 0x1000; in ca91cx42_master_set()
609 granularity = 0x10000; in ca91cx42_master_set()
612 if (vme_base & (granularity - 1)) { in ca91cx42_master_set()
618 if (size & (granularity - 1)) { in ca91cx42_master_set()