Lines Matching refs:allxfer_len
2359 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
3037 allxfer_len = CIRC_CNT(head, tail, ARCMSR_MAX_QBUFFER); in arcmsr_iop_message_xfer()
3038 if (allxfer_len > ARCMSR_API_DATA_BUFLEN) in arcmsr_iop_message_xfer()
3039 allxfer_len = ARCMSR_API_DATA_BUFLEN; in arcmsr_iop_message_xfer()
3041 if (allxfer_len <= cnt_to_end) in arcmsr_iop_message_xfer()
3042 memcpy(ptmpQbuffer, acb->rqbuffer + tail, allxfer_len); in arcmsr_iop_message_xfer()
3045 memcpy(ptmpQbuffer + cnt_to_end, acb->rqbuffer, allxfer_len - cnt_to_end); in arcmsr_iop_message_xfer()
3047 acb->rqbuf_getIndex = (acb->rqbuf_getIndex + allxfer_len) % ARCMSR_MAX_QBUFFER; in arcmsr_iop_message_xfer()
3050 allxfer_len); in arcmsr_iop_message_xfer()
3060 pcmdmessagefld->cmdmessage.Length = allxfer_len; in arcmsr_iop_message_xfer()