Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/scsi/qla2xxx/
Dqla_nx.c1287 int i, j, ret = 0, loop, sz[2], off0; in qla82xx_pci_mem_write_2M() local
1304 off0 = off & 0x7; in qla82xx_pci_mem_write_2M()
1305 sz[0] = (size < (8 - off0)) ? size : (8 - off0); in qla82xx_pci_mem_write_2M()
1340 ~((~(~0ULL << (sz[0] * 8))) << (off0 * 8)); in qla82xx_pci_mem_write_2M()
1341 word[startword] |= tmpw << (off0 * 8); in qla82xx_pci_mem_write_2M()
1424 int i, j = 0, k, start, end, loop, sz[2], off0[2]; in qla82xx_pci_mem_read_2M() local
1443 off0[0] = off & 0xf; in qla82xx_pci_mem_read_2M()
1444 sz[0] = (size < (16 - off0[0])) ? size : (16 - off0[0]); in qla82xx_pci_mem_read_2M()
1446 loop = ((off0[0] + size - 1) >> shift_amount) + 1; in qla82xx_pci_mem_read_2M()
1447 off0[1] = 0; in qla82xx_pci_mem_read_2M()
[all …]
/linux-6.1.9/drivers/scsi/qla4xxx/
Dql4_nx.c1355 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
[all …]
/linux-6.1.9/drivers/gpu/drm/lima/
Dlima_device.c33 #define LIMA_IP_DESC(ipname, mst0, mst1, off0, off1, func, irq) \ argument
42 [lima_gpu_mali400] = off0, \
/linux-6.1.9/fs/erofs/
Dzdata.c912 unsigned int off0 = be->pcl->pageofs_out; in z_erofs_fill_other_copies() local
928 pgnr = (bvi->bvec.offset + cur + off0) >> PAGE_SHIFT; in z_erofs_fill_other_copies()
932 ((pgnr << PAGE_SHIFT) - off0); in z_erofs_fill_other_copies()