Searched refs:allxfer_len (Results 1 – 2 of 2) sorted by relevance
71 int32_t allxfer_len = 0; in arcmsr_sysfs_iop_message_read() local85 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()
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() local2336 && (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() local2961 allxfer_len = ARCMSR_API_DATA_BUFLEN; in arcmsr_iop_message_xfer()2963 if (allxfer_len <= cnt_to_end) in arcmsr_iop_message_xfer()[all …]