Lines Matching refs:allxfer_len
2281 uint32_t allxfer_len = 0, data_len, *buf2 = NULL, data; in arcmsr_write_ioctldata2iop_in_DWORD() local
2293 && (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()
2344 writel(allxfer_len, &pwbuffer->data_len); in arcmsr_write_ioctldata2iop()
2945 uint32_t allxfer_len = 0; in arcmsr_iop_message_xfer() local
2959 allxfer_len = CIRC_CNT(head, tail, ARCMSR_MAX_QBUFFER); in arcmsr_iop_message_xfer()
2960 if (allxfer_len > ARCMSR_API_DATA_BUFLEN) in arcmsr_iop_message_xfer()
2961 allxfer_len = ARCMSR_API_DATA_BUFLEN; in arcmsr_iop_message_xfer()
2963 if (allxfer_len <= cnt_to_end) in arcmsr_iop_message_xfer()
2964 memcpy(ptmpQbuffer, acb->rqbuffer + tail, allxfer_len); in arcmsr_iop_message_xfer()
2967 memcpy(ptmpQbuffer + cnt_to_end, acb->rqbuffer, allxfer_len - cnt_to_end); in arcmsr_iop_message_xfer()
2969 acb->rqbuf_getIndex = (acb->rqbuf_getIndex + allxfer_len) % ARCMSR_MAX_QBUFFER; in arcmsr_iop_message_xfer()
2972 allxfer_len); in arcmsr_iop_message_xfer()
2982 pcmdmessagefld->cmdmessage.Length = allxfer_len; in arcmsr_iop_message_xfer()