Searched refs:actual (Results 101 - 125 of 191) sorted by relevance

12345678

/linux-master/drivers/usb/gadget/udc/
H A Dmv_udc_core.c126 int actual, remaining_length; local
136 actual = curr_req->req.length;
150 actual -= remaining_length;
196 curr_req->req.actual = actual;
239 req->req.actual, req->req.length);
347 *length = min(req->req.length - req->req.actual,
350 *length = min(req->req.length - req->req.actual,
365 temp = (u32)(req->req.dma + req->req.actual);
373 req->req.actual
[all...]
H A Dsnps_udc_core.c655 req_buf = req->buf + req->actual;
657 remaining = req->length - req->actual;
728 buf_space = req->req.length - req->req.actual;
729 buf = req->req.buf + req->req.actual;
739 req->req.actual += bytes;
743 || ((req->req.actual == req->req.length) && !req->req.zero))
1088 usbreq->actual = 0;
2177 tmp = req->req.length - req->req.actual;
2186 req->req.actual += count;
2323 req->req.actual
[all...]
H A Drenesas_usb3.c971 usb3_ep->num, usb3_req->req.length, usb3_req->req.actual,
1121 if ((!req->zero && req->actual == req->length) ||
1122 (req->actual % usb3_ep->ep.maxpacket) || (req->length == 0))
1154 int len = min_t(unsigned, usb3_req->req.length - usb3_req->req.actual,
1156 u8 *buf = usb3_req->req.buf + usb3_req->req.actual;
1164 usb3_req->req.actual += len;
1200 int len = min_t(unsigned, usb3_req->req.length - usb3_req->req.actual,
1202 u8 *buf = usb3_req->req.buf + usb3_req->req.actual;
1209 usb3_req->req.actual += len;
1451 req->actual
[all...]
H A Dlpc32xx_udc.c488 u32 length = req->req.actual;
1453 tsend = ts = req->req.length - req->req.actual;
1463 udc_write_hwep(udc, EP_IN, (req->req.buf + req->req.actual), ts);
1466 req->req.actual += ts;
1499 bufferspace = req->req.length - req->req.actual;
1504 prefetchw(req->req.buf + req->req.actual);
1505 tr = udc_read_hwep(udc, EP_OUT, req->req.buf + req->req.actual,
1507 req->req.actual += bufferspace;
1795 _req->actual = 0;
2060 req->req.actual
[all...]
H A Dat91_udc.c154 unsigned length = req->req.actual;
318 buf = req->req.buf + req->req.actual;
319 bufferspace = req->req.length - req->req.actual;
354 req->req.actual += count;
416 buf = req->req.buf + req->req.actual;
418 total = req->req.length - req->req.actual;
430 * NOTE: incrementing req->actual before we receive the ACK means
437 * recover when the actual bytecount matters (e.g. for USB Test
444 req->req.actual += count;
635 _req->actual
[all...]
H A Dfsl_qe_udc.c112 req->req.actual, req->req.length);
912 cp = (u8 *)(req->req.buf) + req->req.actual;
915 req->req.actual += fsize;
917 (req->req.actual >= req->req.length)) {
1200 ep->tx_req->req.actual += size;
1329 ep->tx_req->req.actual = (unsigned int)ep->sent;
1519 cp = (u8 *)(req->req.buf) + req->req.actual;
1522 req->req.actual += fsize;
1524 || (req->req.actual >=
1737 req->req.actual
[all...]
H A Dnet2280.c618 buf = req->buf + req->actual;
620 total = req->length - req->actual;
711 u8 *buf = req->req.buf + req->req.actual;
745 tmp = req->req.length - req->req.actual;
760 req->req.actual += count;
767 req, req->req.actual, req->req.length);
791 return is_short || req->req.actual == req->req.length;
964 req->req.actual, req->req.length);
1029 _req->actual = 0;
1061 * short reads (only _req->actual)
[all...]
H A Dmax3420_udc.c695 buf = req->usb_req.buf + req->usb_req.actual;
698 length = req->usb_req.length - req->usb_req.actual;
722 req->usb_req.actual += length;
724 if (req->usb_req.actual == req->usb_req.length)
1033 _req->actual = 0;
/linux-master/drivers/usb/gadget/function/
H A Df_phonet.c329 if (req->actual < req->length) /* Last fragment */
344 skb->len <= 1, req->actual, PAGE_SIZE);
347 if (req->actual < req->length) { /* Last fragment */
/linux-master/arch/um/os-Linux/
H A Dfile.c256 unsigned long long actual; local
258 actual = lseek64(fd, offset, SEEK_SET);
259 if (actual != offset)
/linux-master/tools/testing/selftests/net/forwarding/
H A Dvxlan_asymmetric.sh502 local actual=$(in_ns ns1 tc_rule_stats_get vx10 1 ingress)
504 (( expect == actual ))
505 check_err $? "expected $expect arps got $actual"
/linux-master/drivers/usb/chipidea/
H A Dudc.c387 temp = (u32) (sg_dma_address(s) + hwreq->req.actual);
390 temp = (u32) (hwreq->req.dma + hwreq->req.actual);
402 hwreq->req.actual += length;
447 unsigned int count = min(hwreq->req.length - hwreq->req.actual,
473 hwreq->req.actual = 0;
589 hwreq->req.actual = 0;
677 unsigned actual = hwreq->req.length; local
701 actual -= remaining_length;
736 hwreq->req.actual += actual;
[all...]
/linux-master/drivers/mmc/host/
H A Ddw_mmc-exynos.c281 unsigned long actual; local
304 actual = clk_get_rate(host->ciu_clk);
305 host->bus_hz = actual / div;
/linux-master/arch/arm/mach-pxa/
H A Dsleep.S107 @ We keep the change-down close to the actual suspend on SDRAM
/linux-master/drivers/usb/usbip/
H A Dvudc_sysfs.c60 usb_req->req.actual = usb_req->req.length;
/linux-master/drivers/usb/host/
H A Dxhci-dbgcap.h160 unsigned int actual; member in struct:dbc_request
/linux-master/arch/arm/mm/
H A Dproc-macros.S85 mov \reg, \reg, lsl \tmp @ actual cache line size
102 mov \reg, \reg, lsl \tmp @ actual cache line size
/linux-master/fs/bcachefs/
H A Dutil.c510 * @actual: current value
512 * @sign: 1 or -1; 1 if increasing the rate makes actual go up, -1 if increasing
513 * it makes actual go down.
516 s64 target, s64 actual, int sign)
527 proportional = actual - target;
531 derivative = actual - pd->last_actual;
552 pd->last_actual = actual;
582 prt_printf(out, "actual:\t");
515 bch2_pd_controller_update(struct bch_pd_controller *pd, s64 target, s64 actual, int sign) argument
/linux-master/include/linux/
H A Dusb.h947 int actual; local
948 actual = snprintf(buf, size, "usb-%s-%s", dev->bus->bus_name,
950 return (actual >= (int)size) ? -1 : actual;
1613 u32 actual_length; /* (return) actual transfer length */
/linux-master/drivers/usb/cdns3/
H A Dcdnsp-trace.h459 __field(unsigned int, actual)
477 __entry->actual = req->request.actual;
493 __entry->buf, __entry->actual, __entry->length,
H A Dcdnsp-ring.c903 if (preq->request.actual > preq->request.length) {
904 preq->request.actual = 0;
1014 td->preq->request.actual = td->preq->request.length - remaining;
1019 td->preq->request.actual = td->preq->request.length;
1099 td->preq->request.actual += td_length;
1114 td->preq->request.actual = 0;
1151 td->preq->request.actual = remaining;
1165 td->preq->request.actual = ep_trb_len;
1746 preq->request.length, preq->request.actual);
/linux-master/drivers/usb/gadget/udc/bdc/
H A Dbdc_ep.c648 status_req->usb_req.actual = 0;
663 req->usb_req.actual = 0;
719 req->usb_req.actual = 0;
787 * curr_hw_dqpi points to actual dqp of HW and HW owns bd's from
1035 /* actual length trensfered */
1038 req->usb_req.actual = actual_length;
1040 req->usb_req.actual = req->usb_req.length -
1043 "len=%d actual=%d bd_xfr->next_hwd_bdi:%d\n",
1044 req->usb_req.length, req->usb_req.actual,
1050 if (req->usb_req.actual < re
[all...]
/linux-master/drivers/gpu/drm/i915/gt/
H A Dselftest_workarounds.c194 u32 actual = results[i]; local
197 i, expected, actual);
232 u32 actual = vaddr[i]; local
234 if (expected != actual) {
237 i, expected, actual);
/linux-master/drivers/media/i2c/
H A Dov2659.c899 u32 delta, actual; local
907 actual = ov2659->xvclk_frequency;
908 actual *= mult;
909 actual /= prediv;
910 actual /= postdiv;
911 delta = actual - desired;
/linux-master/drivers/hwtracing/coresight/
H A Dcoresight-tmc-etr.c1089 ssize_t actual = len; local
1092 if (pos + actual > etr_buf->len)
1093 actual = etr_buf->len - pos;
1094 if (actual <= 0)
1095 return actual;
1101 return tmc_etr_buf_get_data(etr_buf, offset, actual, bufpp);
1495 * tmc_etr_sync_perf_buffer: Copy the actual trace data from the hardware

Completed in 323 milliseconds

12345678