Searched refs:in_page (Results 1 – 2 of 2) sorted by relevance
100 unsigned in_page; in qsfp_read() local103 in_page = addr % QSFP_PAGESIZE; in qsfp_read()104 if ((in_page + wlen) > QSFP_PAGESIZE) in qsfp_read()105 wlen = QSFP_PAGESIZE - in_page; in qsfp_read()208 unsigned in_page; in qib_qsfp_write() local211 in_page = addr % QSFP_PAGESIZE; in qib_qsfp_write()212 if ((in_page + wlen) > QSFP_PAGESIZE) in qib_qsfp_write()213 wlen = QSFP_PAGESIZE - in_page; in qib_qsfp_write()
234 unsigned int in_page; in mon_copy_to_buff() local241 in_page = CHUNK_SIZE - (off & (CHUNK_SIZE-1)); in mon_copy_to_buff()242 if (in_page < step_len) in mon_copy_to_buff()243 step_len = in_page; in mon_copy_to_buff()266 unsigned int in_page; in copy_from_buf() local273 in_page = CHUNK_SIZE - (off & (CHUNK_SIZE-1)); in copy_from_buf()274 if (in_page < step_len) in copy_from_buf()275 step_len = in_page; in copy_from_buf()