Searched refs:actual (Results 51 - 75 of 191) sorted by relevance

12345678

/linux-master/drivers/hwtracing/coresight/
H A Dcoresight-tmc-core.c183 ssize_t actual; local
186 actual = tmc_get_sysfs_trace(drvdata, *ppos, len, &bufp);
187 if (actual <= 0)
190 if (copy_to_user(data, bufp, actual)) {
196 *ppos += actual;
197 dev_dbg(&drvdata->csdev->dev, "%zu bytes copied\n", actual);
199 return actual;
H A Dcoresight-tmc-etf.c163 ssize_t actual = len; local
166 if (pos + actual > drvdata->len)
167 actual = drvdata->len - pos;
168 if (actual > 0)
170 return actual;
/linux-master/drivers/usb/isp1760/
H A Disp1760-udc.c246 __func__, len, req->req.actual, req->req.length);
248 len = min(len, req->req.length - req->req.actual);
263 buf = req->req.buf + req->req.actual;
274 req->req.actual += len;
282 "%s: req %p actual/length %u/%u maxpacket %u packet size %u\n",
283 __func__, req, req->req.actual, req->req.length, ep->maxpacket,
292 if (req->req.actual == req->req.length || len < ep->maxpacket) {
304 u32 *buf = req->req.buf + req->req.actual;
307 req->packet_size = min(req->req.length - req->req.actual,
311 __func__, req->packet_size, req->req.actual,
[all...]
/linux-master/drivers/usb/gadget/udc/
H A Dpxa25x_udc.c552 req->req.actual, req->req.length);
572 buf = req->req.buf + req->req.actual;
576 length = min(req->req.length - req->req.actual, max);
577 req->req.actual += length;
607 if (likely(req->req.length != req->req.actual)
619 req->req.length - req->req.actual, req);
672 req->req.length - req->req.actual, req);
734 buf = req->req.buf + req->req.actual;
736 bufferspace = req->req.length - req->req.actual;
741 req->req.actual
[all...]
H A Domap_udc.c312 req->req.actual, req->req.length);
336 len = min(req->req.length - req->req.actual, max);
337 req->req.actual += len;
364 buf = req->req.buf + req->req.actual;
380 else if (req->req.length == req->req.actual
401 len = min(req->req.length - req->req.actual, avail);
402 req->req.actual += len;
425 buf = req->req.buf + req->req.actual;
458 } else if (req->req.length == req->req.actual)
519 unsigned length = req->req.length - req->req.actual;
[all...]
H A Dpxa27x_udc.c159 &req->req, req->req.actual,
673 req->req.actual, req->req.length);
795 bufferspace = req->req.length - req->req.actual;
797 buf = (u32 *)(req->req.buf + req->req.actual);
807 req->req.actual += count;
833 buf = (u32 *)(req->req.buf + req->req.actual);
836 length = min(req->req.length - req->req.actual, max);
837 req->req.actual += length;
879 &req->req, req->req.actual, req->req.length);
882 if (is_short || req->req.actual
[all...]
/linux-master/drivers/usb/mtu3/
H A Dmtu3_gadget_ep0.c526 void *buf = req->buf + req->actual;
527 unsigned int len = req->length - req->actual;
536 req->actual += count;
540 if (count < maxp || req->actual == req->length) {
581 src = (u8 *)req->buf + req->actual;
582 count = min(maxp, req->length - req->actual);
587 __func__, req->actual, req->length, count, maxp, req->zero);
589 req->actual += count;
592 || ((req->actual == req->length) && !req->zero))
799 mreq->request.actual
[all...]
/linux-master/drivers/usb/fotg210/
H A Dfotg210-udc.c350 buffer = req->req.buf + req->req.actual;
353 if (length > req->req.length - req->req.actual)
354 length = req->req.length - req->req.actual;
357 buffer = req->req.buf + req->req.actual;
358 if (req->req.length - req->req.actual > ep->ep.maxpacket)
361 length = req->req.length - req->req.actual;
379 /* update actual transfer length */
380 req->req.actual += length;
394 if (req->req.length == req->req.actual)
425 req->req.actual
[all...]
/linux-master/drivers/bluetooth/
H A Dbt3c_cs.c161 int actual = 0; local
166 while (actual < len) {
168 bt3c_put(iobase, buf[actual]);
169 actual++;
172 bt3c_io_write(iobase, 0x7005, actual);
174 return actual;
H A Dbluecard_cs.c204 int i, actual; local
206 actual = (len > 15) ? 15 : len;
208 outb_p(actual, iobase + offset);
210 for (i = 0; i < actual; i++)
213 return actual;
/linux-master/drivers/tty/
H A Dn_hdlc.c268 ssize_t actual; local
288 actual = tty->ops->write(tty, tbuf->buf, tbuf->count);
291 if (actual == -ERESTARTSYS) {
297 if (actual < 0)
298 actual = tbuf->count;
300 if (actual == tbuf->count) {
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_pmdemand.c286 (new_cdclk_state->actual.cdclk !=
287 old_cdclk_state->actual.cdclk ||
288 new_cdclk_state->actual.voltage_level !=
289 old_cdclk_state->actual.voltage_level))
340 new_cdclk_state->actual.voltage_level;
342 DIV_ROUND_UP(new_cdclk_state->actual.cdclk, 1000);
/linux-master/drivers/usb/serial/
H A Diuu_phoenix.c271 int actual = 0; local
279 count, &actual, 1000);
292 int actual = 0; local
299 count, &actual, 1000);
787 u32 *actual, u8 parity)
838 *actual = (T1FrekvensHZ / (256 - T1reload)) / 2;
889 u32 actual; local
920 &actual, parity);
964 u32 actual; local
998 iuu_uart_baud(port, baud * boost / 100, &actual,
786 iuu_uart_baud(struct usb_serial_port *port, u32 baud_base, u32 *actual, u8 parity) argument
[all...]
/linux-master/drivers/usb/usbip/
H A Dvudc_transfer.c205 dev_len = req->req.length - req->req.actual;
223 rbuf_pos = req->req.buf + req->req.actual;
231 req->req.actual += len;
264 if (req->req.length == req->req.actual) {
/linux-master/drivers/usb/dwc3/
H A Dtrace.h107 __field(unsigned int, actual)
117 __entry->actual = req->request.actual;
125 __get_str(name), __entry->req, __entry->actual, __entry->length,
/linux-master/drivers/net/hamradio/
H A Dmkiss.c429 int actual, count; local
510 actual = ax->tty->ops->write(ax->tty, ax->xbuff, count);
512 dev->stats.tx_bytes += actual;
515 ax->xleft = count - actual;
516 ax->xhead = ax->xbuff + actual;
915 int actual; local
930 actual = tty->ops->write(tty, ax->xhead, ax->xleft);
931 ax->xleft -= actual;
932 ax->xhead += actual;
/linux-master/drivers/net/ipa/
H A Dipa_mem.c533 size_t actual; local
556 virt = qcom_smem_get(QCOM_SMEM_HOST_MODEM, item, &actual);
564 if (ret && actual != size) {
566 item, actual, size);
/linux-master/drivers/usb/gadget/function/
H A Du_audio.c177 __func__, status, req->actual, req->length);
239 req->actual = req->length;
248 if (unlikely(pending < req->actual)) {
251 req->actual - pending);
254 req->actual);
257 if (unlikely(pending < req->actual)) {
260 req->actual - pending);
263 req->actual);
268 prm->hw_ptr = (hw_ptr + req->actual) % runtime->dma_bytes;
272 if ((hw_ptr % snd_pcm_lib_period_bytes(substream)) < req->actual)
[all...]
H A Df_uac1_legacy.c246 int actual; member in struct:f_audio_buf
317 u_audio_playback(&audio->card, play_buf->buf, play_buf->actual);
338 if (audio_buf_size - copy_buf->actual < req->actual) {
348 memcpy(copy_buf->buf + copy_buf->actual, req->buf, req->actual);
349 copy_buf->actual += req->actual;
/linux-master/drivers/staging/vc04_services/interface/vchiq_arm/
H A Dvchiq_arm.c144 * the VCHIQ node and will overwrite it with the actual L2 cache size,
402 int actual)
408 dev_dbg(instance->state->dev, "arm: %pK, %d\n", pagelistinfo->pagelist, actual);
427 tail_bytes = (pagelist->offset + actual) &
430 if ((actual >= 0) && (head_bytes != 0)) {
431 if (head_bytes > actual)
432 head_bytes = actual;
439 if ((actual >= 0) && (head_bytes < actual) &&
442 (pagelist->offset + actual)
401 free_pagelist(struct vchiq_instance *instance, struct vchiq_pagelist_info *pagelistinfo, int actual) argument
[all...]
/linux-master/arch/arm/include/debug/
H A Dtegra.S68 adr \rp, 99f @ actual addr of 99f
72 sub \tmp, \rp, \rv @ actual tegra_uart_config
H A Dbrcmstb.S48 adr \rp, 99f @ actual addr of 99f
52 sub \tmp, \rp, \rv @ actual brcmstb_uart_config
/linux-master/drivers/usb/gadget/udc/aspeed-vhub/
H A Depn.c42 unsigned int act = req->req.actual;
123 if (req->req.actual + len > req->req.length) {
128 memcpy(req->req.buf + req->req.actual, ep->buf, len);
132 req->req.actual += len;
291 req->req.actual += len;
296 (req->req.actual >= req->req.length &&
300 is_last_desc, len, req->req.actual, req->req.length,
399 u_req->actual = 0;
/linux-master/drivers/net/slip/
H A Dslip.c379 int actual, count; local
409 actual = sl->tty->ops->write(sl->tty, sl->xbuff, count);
413 sl->xleft = count - actual;
414 sl->xhead = sl->xbuff + actual;
425 int actual; local
444 actual = sl->tty->ops->write(sl->tty, sl->xhead, sl->xleft);
445 sl->xleft -= actual;
446 sl->xhead += actual;
/linux-master/kernel/sched/
H A Dcpufreq_schedutil.c181 unsigned long sugov_effective_cpu_perf(int cpu, unsigned long actual, argument
185 /* Add dvfs headroom to actual utilization */
186 actual = map_util_perf(actual);
188 if (actual < max)
189 max = actual;

Completed in 287 milliseconds

12345678