Home
last modified time | relevance | path

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

/openbmc/linux/drivers/scsi/arcmsr/
H A 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()
H A Darcmsr_hba.c2293 && (allxfer_len < 124)) { in arcmsr_write_ioctldata2iop_in_DWORD()
2299 allxfer_len++; in arcmsr_write_ioctldata2iop_in_DWORD()
2301 data_len = allxfer_len; in arcmsr_write_ioctldata2iop_in_DWORD()
2313 writel(allxfer_len, &pwbuffer->data_len); in arcmsr_write_ioctldata2iop_in_DWORD()
2325 int32_t allxfer_len = 0; in arcmsr_write_ioctldata2iop() local
2336 && (allxfer_len < 124)) { in arcmsr_write_ioctldata2iop()
2342 allxfer_len++; in arcmsr_write_ioctldata2iop()
2945 uint32_t allxfer_len = 0; in arcmsr_iop_message_xfer() local
2961 allxfer_len = ARCMSR_API_DATA_BUFLEN; in arcmsr_iop_message_xfer()
2963 if (allxfer_len <= cnt_to_end) in arcmsr_iop_message_xfer()
[all …]