Home
last modified time | relevance | path

Searched refs:off0 (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/drivers/scsi/qla4xxx/
Dql4_nx.c1208 int i, j = 0, k, start, end, loop, sz[2], off0[2]; in qla4_8xxx_pci_mem_read_2M() local
1228 off0[0] = off & 0xf; in qla4_8xxx_pci_mem_read_2M()
1229 sz[0] = (size < (16 - off0[0])) ? size : (16 - off0[0]); in qla4_8xxx_pci_mem_read_2M()
1232 loop = ((off0[0] + size - 1) >> shift_amount) + 1; in qla4_8xxx_pci_mem_read_2M()
1233 off0[1] = 0; in qla4_8xxx_pci_mem_read_2M()
1259 start = off0[i] >> 2; in qla4_8xxx_pci_mem_read_2M()
1260 end = (off0[i] + sz[i] - 1) >> 2; in qla4_8xxx_pci_mem_read_2M()
1271 if ((off0[0] & 7) == 0) { in qla4_8xxx_pci_mem_read_2M()
1274 val = ((word[0] >> (off0[0] * 8)) & (~(~0ULL << (sz[0] * 8)))) | in qla4_8xxx_pci_mem_read_2M()
1299 int i, j, ret = 0, loop, sz[2], off0; in qla4_8xxx_pci_mem_write_2M() local
[all …]
/linux-2.6.39/drivers/scsi/qla2xxx/
Dqla_nx.c1261 int i, j, ret = 0, loop, sz[2], off0; in qla82xx_pci_mem_write_2M() local
1278 off0 = off & 0x7; in qla82xx_pci_mem_write_2M()
1279 sz[0] = (size < (8 - off0)) ? size : (8 - off0); in qla82xx_pci_mem_write_2M()
1314 ~((~(~0ULL << (sz[0] * 8))) << (off0 * 8)); in qla82xx_pci_mem_write_2M()
1315 word[startword] |= tmpw << (off0 * 8); in qla82xx_pci_mem_write_2M()
1397 int i, j = 0, k, start, end, loop, sz[2], off0[2]; in qla82xx_pci_mem_read_2M() local
1416 off0[0] = off & 0xf; in qla82xx_pci_mem_read_2M()
1417 sz[0] = (size < (16 - off0[0])) ? size : (16 - off0[0]); in qla82xx_pci_mem_read_2M()
1419 loop = ((off0[0] + size - 1) >> shift_amount) + 1; in qla82xx_pci_mem_read_2M()
1420 off0[1] = 0; in qla82xx_pci_mem_read_2M()
[all …]