Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
Dqla_nx.c1290 int i, j, ret = 0, loop, sz[2], off0; in qla82xx_pci_mem_write_2M() local
1307 off0 = off & 0x7; in qla82xx_pci_mem_write_2M()
1308 sz[0] = (size < (8 - off0)) ? size : (8 - off0); in qla82xx_pci_mem_write_2M()
1343 ~((~(~0ULL << (sz[0] * 8))) << (off0 * 8)); in qla82xx_pci_mem_write_2M()
1344 word[startword] |= tmpw << (off0 * 8); in qla82xx_pci_mem_write_2M()
1427 int i, j = 0, k, start, end, loop, sz[2], off0[2]; in qla82xx_pci_mem_read_2M() local
1446 off0[0] = off & 0xf; in qla82xx_pci_mem_read_2M()
1447 sz[0] = (size < (16 - off0[0])) ? size : (16 - off0[0]); in qla82xx_pci_mem_read_2M()
1449 loop = ((off0[0] + size - 1) >> shift_amount) + 1; in qla82xx_pci_mem_read_2M()
1450 off0[1] = 0; in qla82xx_pci_mem_read_2M()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/qla4xxx/
Dql4_nx.c1368 int i, j = 0, k, start, end, loop, sz[2], off0[2]; in qla4_82xx_pci_mem_read_2M() local
1388 off0[0] = off & 0xf; in qla4_82xx_pci_mem_read_2M()
1389 sz[0] = (size < (16 - off0[0])) ? size : (16 - off0[0]); in qla4_82xx_pci_mem_read_2M()
1392 loop = ((off0[0] + size - 1) >> shift_amount) + 1; in qla4_82xx_pci_mem_read_2M()
1393 off0[1] = 0; in qla4_82xx_pci_mem_read_2M()
1419 start = off0[i] >> 2; in qla4_82xx_pci_mem_read_2M()
1420 end = (off0[i] + sz[i] - 1) >> 2; in qla4_82xx_pci_mem_read_2M()
1431 if ((off0[0] & 7) == 0) { in qla4_82xx_pci_mem_read_2M()
1434 val = ((word[0] >> (off0[0] * 8)) & (~(~0ULL << (sz[0] * 8)))) | in qla4_82xx_pci_mem_read_2M()
1459 int i, j, ret = 0, loop, sz[2], off0; in qla4_82xx_pci_mem_write_2M() local
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/lima/
Dlima_device.c32 #define LIMA_IP_DESC(ipname, mst0, mst1, off0, off1, func, irq) \ argument
41 [lima_gpu_mali400] = off0, \