Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/scsi/arcmsr/
Darcmsr_attr.c71 int32_t allxfer_len = 0; in arcmsr_sysfs_iop_message_read() local
85 allxfer_len = CIRC_CNT(head, tail, ARCMSR_MAX_QBUFFER); in arcmsr_sysfs_iop_message_read()
86 if (allxfer_len > ARCMSR_API_DATA_BUFLEN) in arcmsr_sysfs_iop_message_read()
87 allxfer_len = ARCMSR_API_DATA_BUFLEN; in arcmsr_sysfs_iop_message_read()
89 if (allxfer_len <= cnt_to_end) in arcmsr_sysfs_iop_message_read()
90 memcpy(ptmpQbuffer, acb->rqbuffer + tail, allxfer_len); in arcmsr_sysfs_iop_message_read()
93 memcpy(ptmpQbuffer + cnt_to_end, acb->rqbuffer, allxfer_len - cnt_to_end); in arcmsr_sysfs_iop_message_read()
95 acb->rqbuf_getIndex = (acb->rqbuf_getIndex + allxfer_len) % ARCMSR_MAX_QBUFFER; in arcmsr_sysfs_iop_message_read()
105 return allxfer_len; in arcmsr_sysfs_iop_message_read()
Darcmsr_hba.c2359 uint32_t allxfer_len = 0, data_len, *buf2 = NULL, data; in arcmsr_write_ioctldata2iop_in_DWORD() local
2371 && (allxfer_len < 124)) { in arcmsr_write_ioctldata2iop_in_DWORD()
2377 allxfer_len++; in arcmsr_write_ioctldata2iop_in_DWORD()
2379 data_len = allxfer_len; in arcmsr_write_ioctldata2iop_in_DWORD()
2391 writel(allxfer_len, &pwbuffer->data_len); in arcmsr_write_ioctldata2iop_in_DWORD()
2403 int32_t allxfer_len = 0; in arcmsr_write_ioctldata2iop() local
2414 && (allxfer_len < 124)) { in arcmsr_write_ioctldata2iop()
2420 allxfer_len++; in arcmsr_write_ioctldata2iop()
2422 writel(allxfer_len, &pwbuffer->data_len); in arcmsr_write_ioctldata2iop()
3023 uint32_t allxfer_len = 0; in arcmsr_iop_message_xfer() local
[all …]