Searched refs:max_off (Results 1 – 2 of 2) sorted by relevance
296 size_t max_off = reader->base + src_size; in lima_read_block() local298 if (reader->off < max_off) { in lima_read_block()299 size_t size = min_t(size_t, max_off - reader->off, in lima_read_block()310 reader->base = max_off; in lima_read_block()
754 u16 max_off = 0; in mthca_setup_cmd_doorbells() local758 max_off = max(max_off, dev->cmd.dbell_offsets[i]); in mthca_setup_cmd_doorbells()760 if ((base & PAGE_MASK) != ((base + max_off) & PAGE_MASK)) { in mthca_setup_cmd_doorbells()763 (unsigned long long) base, max_off); in mthca_setup_cmd_doorbells()769 dev->cmd.dbell_map = ioremap(addr, max_off + sizeof(u32)); in mthca_setup_cmd_doorbells()