Lines Matching refs:granularity
344 unsigned int i, addr = 0, granularity; in ca91cx42_slave_set() local
390 granularity = 0x1000; in ca91cx42_slave_set()
392 granularity = 0x10000; in ca91cx42_slave_set()
394 if (vme_base & (granularity - 1)) { in ca91cx42_slave_set()
399 if (vme_bound & (granularity - 1)) { in ca91cx42_slave_set()
404 if (pci_offset & (granularity - 1)) { in ca91cx42_slave_set()
450 unsigned int i, granularity = 0, ctl = 0; in ca91cx42_slave_get() local
459 granularity = 0x1000; in ca91cx42_slave_get()
461 granularity = 0x10000; in ca91cx42_slave_get()
471 *size = (unsigned long long)((vme_bound - *vme_base) + granularity); in ca91cx42_slave_get()
603 unsigned int i, granularity = 0; in ca91cx42_master_set() local
616 granularity = 0x1000; in ca91cx42_master_set()
618 granularity = 0x10000; in ca91cx42_master_set()
621 if (vme_base & (granularity - 1)) { in ca91cx42_master_set()
627 if (size & (granularity - 1)) { in ca91cx42_master_set()