Lines Matching refs:off0
1355 int i, j = 0, k, start, end, loop, sz[2], off0[2]; in qla4_82xx_pci_mem_read_2M() local
1375 off0[0] = off & 0xf; in qla4_82xx_pci_mem_read_2M()
1376 sz[0] = (size < (16 - off0[0])) ? size : (16 - off0[0]); in qla4_82xx_pci_mem_read_2M()
1379 loop = ((off0[0] + size - 1) >> shift_amount) + 1; in qla4_82xx_pci_mem_read_2M()
1380 off0[1] = 0; in qla4_82xx_pci_mem_read_2M()
1406 start = off0[i] >> 2; in qla4_82xx_pci_mem_read_2M()
1407 end = (off0[i] + sz[i] - 1) >> 2; in qla4_82xx_pci_mem_read_2M()
1418 if ((off0[0] & 7) == 0) { in qla4_82xx_pci_mem_read_2M()
1421 val = ((word[0] >> (off0[0] * 8)) & (~(~0ULL << (sz[0] * 8)))) | in qla4_82xx_pci_mem_read_2M()
1446 int i, j, ret = 0, loop, sz[2], off0; in qla4_82xx_pci_mem_write_2M() local
1463 off0 = off & 0x7; in qla4_82xx_pci_mem_write_2M()
1464 sz[0] = (size < (8 - off0)) ? size : (8 - off0); in qla4_82xx_pci_mem_write_2M()
1499 ~((~(~0ULL << (sz[0] * 8))) << (off0 * 8)); in qla4_82xx_pci_mem_write_2M()
1500 word[startword] |= tmpw << (off0 * 8); in qla4_82xx_pci_mem_write_2M()