Searched refs:offd (Results 1 - 1 of 1) sorted by relevance
/linux-4.1.27/drivers/usb/atm/ |
H A D | cxacru.c | 587 int offb, offd; cxacru_cm() local 617 for (offb = offd = 0; offd < wsize; offd += stride, offb += CMD_PACKET_SIZE) { cxacru_cm() 619 memcpy(wbuf + offb + 4, wdata + offd, min_t(int, stride, wsize - offd)); cxacru_cm() 654 for (offb = offd = 0; offd < rsize && offb < actlen; offb += CMD_PACKET_SIZE) { cxacru_cm() 669 if (offd >= rsize) cxacru_cm() 671 memcpy(rdata + offd, rbuf + offb + 4, min_t(int, stride, rsize - offd)); cxacru_cm() 672 offd += stride; cxacru_cm() 675 ret = offd; cxacru_cm() 689 unsigned int offd; cxacru_cm_get_array() local 713 offd = le32_to_cpu(buf[offb++]); cxacru_cm_get_array() 714 if (offd >= size) { cxacru_cm_get_array() 717 offd, cm); cxacru_cm_get_array() 721 data[offd] = le32_to_cpu(buf[offb++]); cxacru_cm_get_array() 938 int offd, offb; cxacru_fw() local 945 offb = offd = 0; cxacru_fw() 947 int l = min_t(int, stride, size - offd); cxacru_fw() 956 memcpy(buf + offb, data + offd, l); cxacru_fw() 960 offd += stride; cxacru_fw() 961 if ((offb >= PAGE_SIZE) || (offd >= size)) { cxacru_fw() 970 } while (offd < size); cxacru_fw()
|
Completed in 41 milliseconds