Home
last modified time | relevance | path

Searched refs:actual (Results 1 – 25 of 141) sorted by relevance

123456

/drivers/cpufreq/
Damd_freq_sensitivity.c33 u64 actual; member
46 struct msr actual, reference; in amd_powersave_bias_target() local
56 &actual.l, &actual.h); in amd_powersave_bias_target()
59 actual.h &= 0x00ffffff; in amd_powersave_bias_target()
63 if (actual.q < data->actual || reference.q < data->reference) { in amd_powersave_bias_target()
68 d_actual = actual.q - data->actual; in amd_powersave_bias_target()
104 data->actual = actual.q; in amd_powersave_bias_target()
/drivers/usb/class/
Dusbtmc.c182 int actual; in usbtmc_ioctl_abort_bulk_in() local
241 &actual, USBTMC_TIMEOUT); in usbtmc_ioctl_abort_bulk_in()
249 } while ((actual == max_size) && in usbtmc_ioctl_abort_bulk_in()
252 if (actual == max_size) { in usbtmc_ioctl_abort_bulk_in()
295 &actual, USBTMC_TIMEOUT); in usbtmc_ioctl_abort_bulk_in()
303 } while ((actual == max_size) && in usbtmc_ioctl_abort_bulk_in()
306 if (actual == max_size) { in usbtmc_ioctl_abort_bulk_in()
545 int actual; in send_request_dev_dep_msg_in() local
571 buffer, USBTMC_HEADER_SIZE, &actual, USBTMC_TIMEOUT); in send_request_dev_dep_msg_in()
597 int actual; in usbtmc_read() local
[all …]
/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_2835_arm.c93 free_pagelist(PAGELIST_T *pagelist, int actual);
270 if (bulk && bulk->remote_data && bulk->actual) in vchiq_complete_bulk()
271 free_pagelist((PAGELIST_T *)bulk->remote_data, bulk->actual); in vchiq_complete_bulk()
516 free_pagelist(PAGELIST_T *pagelist, int actual) in free_pagelist() argument
523 "free_pagelist - %x, %d", (unsigned int)pagelist, actual); in free_pagelist()
540 tail_bytes = (pagelist->offset + actual) & in free_pagelist()
543 if ((actual >= 0) && (head_bytes != 0)) { in free_pagelist()
544 if (head_bytes > actual) in free_pagelist()
545 head_bytes = actual; in free_pagelist()
553 if ((actual >= 0) && (head_bytes < actual) && in free_pagelist()
[all …]
/drivers/usb/misc/
Dusb_u132.h75 int halted, int skipped, int actual, int non_null));
80 int halted, int skipped, int actual, int non_null));
85 int halted, int skipped, int actual, int non_null));
90 int halted, int skipped, int actual, int non_null));
95 int halted, int skipped, int actual, int non_null));
/drivers/usb/host/
Dehci-timer.c107 unsigned actual, want; in ehci_poll_ASS() local
114 actual = ehci_readl(ehci, &ehci->regs->status) & STS_ASS; in ehci_poll_ASS()
116 if (want != actual) { in ehci_poll_ASS()
124 want, actual); in ehci_poll_ASS()
153 unsigned actual, want; in ehci_poll_PSS() local
160 actual = ehci_readl(ehci, &ehci->regs->status) & STS_PSS; in ehci_poll_PSS()
162 if (want != actual) { in ehci_poll_PSS()
170 want, actual); in ehci_poll_PSS()
/drivers/net/hamradio/
D6pack.c142 int actual, when = sp->slottime; in sp_xmit_on_air() local
151 actual = sp->tty->ops->write(sp->tty, sp->xbuff, sp->status2); in sp_xmit_on_air()
152 sp->xleft -= actual; in sp_xmit_on_air()
153 sp->xhead += actual; in sp_xmit_on_air()
167 int actual, count; in sp_encaps() local
223 actual = sp->tty->ops->write(sp->tty, sp->xbuff, count); in sp_encaps()
224 sp->xleft = count - actual; in sp_encaps()
225 sp->xhead = sp->xbuff + actual; in sp_encaps()
403 int actual; in sixpack_write_wakeup() local
418 actual = tty->ops->write(tty, sp->xhead, sp->xleft); in sixpack_write_wakeup()
[all …]
Dmkiss.c437 int actual, count; in ax_encaps() local
518 actual = ax->tty->ops->write(ax->tty, ax->xbuff, count); in ax_encaps()
520 dev->stats.tx_bytes += actual; in ax_encaps()
523 ax->xleft = count - actual; in ax_encaps()
524 ax->xhead = ax->xbuff + actual; in ax_encaps()
939 int actual; in mkiss_write_wakeup() local
954 actual = tty->ops->write(tty, ax->xhead, ax->xleft); in mkiss_write_wakeup()
955 ax->xleft -= actual; in mkiss_write_wakeup()
956 ax->xhead += actual; in mkiss_write_wakeup()
/drivers/staging/emxx_udc/
Demxx_udc.c186 udc->ep0_req.req.actual = 0; in _nbu2ss_create_ep0_packet()
517 count = req->req.actual % 4; in _nbu2ss_dma_unmap_single()
520 p += (req->req.actual - count); in _nbu2ss_dma_unmap_single()
529 req->req.actual & 0xfffffffc); in _nbu2ss_dma_unmap_single()
549 p += (req->req.actual - count); in _nbu2ss_dma_unmap_single()
696 if (req->req.actual == req->req.length) { in _nbu2ss_ep0_in_transfer()
697 if ((req->req.actual % EP0_PACKETSIZE) == 0) { in _nbu2ss_ep0_in_transfer()
715 iRemainSize = req->req.length - req->req.actual; in _nbu2ss_ep0_in_transfer()
717 pBuffer += req->req.actual; in _nbu2ss_ep0_in_transfer()
759 iRemainSize = req->req.length - req->req.actual; in _nbu2ss_ep0_out_transfer()
[all …]
/drivers/usb/renesas_usbhs/
Dfifo.c88 pkt->actual = 0; in usbhs_pkt_push()
435 pkt->actual = pkt->length; in usbhs_dcp_dir_switch_done()
547 buf = pkt->buf + pkt->actual; in usbhsf_pio_try_push()
548 len = pkt->length - pkt->actual; in usbhsf_pio_try_push()
571 pkt->actual += total_len; in usbhsf_pio_try_push()
573 if (pkt->actual < pkt->length) in usbhsf_pio_try_push()
592 pkt->length, pkt->actual, *is_done, pkt->zero); in usbhsf_pio_try_push()
680 buf = pkt->buf + pkt->actual; in usbhsf_pio_try_pop()
681 len = pkt->length - pkt->actual; in usbhsf_pio_try_pop()
690 pkt->actual += total_len; in usbhsf_pio_try_pop()
[all …]
/drivers/usb/musb/
Dmusb_gadget.c277 (int)(request->length - request->actual)); in txstate()
301 request_size = min_t(size_t, request->length - request->actual, in txstate()
317 request->dma + request->actual, request_size); in txstate()
385 request->dma + request->actual, in txstate()
398 request->dma + request->actual, in txstate()
411 (u8 *) (request->buf + request->actual)); in txstate()
412 request->actual += fifo_count; in txstate()
421 request->actual, request->length, in txstate()
492 request->actual += musb_ep->dma->actual_len; in musb_g_tx()
503 && (request->actual == request->length)) in musb_g_tx()
[all …]
Dmusb_gadget_ep0.c503 void *buf = req->buf + req->actual; in ep0_rxstate()
504 unsigned len = req->length - req->actual; in ep0_rxstate()
514 req->actual += count; in ep0_rxstate()
517 if (count < 64 || req->actual == req->length) { in ep0_rxstate()
564 fifo_src = (u8 *) request->buf + request->actual; in ep0_txstate()
566 request->length - request->actual); in ep0_txstate()
568 request->actual += fifo_count; in ep0_txstate()
572 || (request->actual == request->length in ep0_txstate()
950 req->request.actual = 0; in musb_g_ep0_queue()
/drivers/i2c/busses/
Di2c-diolan-u2c.c104 int actual; in diolan_usb_transfer() local
112 dev->obuffer, dev->olen, &actual, in diolan_usb_transfer()
122 sizeof(dev->ibuffer), &actual, in diolan_usb_transfer()
132 if (ret == 0 && actual > 0) { in diolan_usb_transfer()
133 switch (dev->ibuffer[actual - 1]) { in diolan_usb_transfer()
147 ret = actual - 1; in diolan_usb_transfer()
208 int actual = 0; in diolan_flush_input() local
213 dev->ibuffer, sizeof(dev->ibuffer), &actual, in diolan_flush_input()
215 if (ret < 0 || actual == 0) in diolan_flush_input()
/drivers/net/irda/
Dsir_dev.c438 int actual = 0; in sirdev_write_complete() local
448 actual = dev->drv->do_write(dev, dev->tx_buff.data, dev->tx_buff.len); in sirdev_write_complete()
450 if (likely(actual>0)) { in sirdev_write_complete()
451 dev->tx_buff.data += actual; in sirdev_write_complete()
452 dev->tx_buff.len -= actual; in sirdev_write_complete()
454 else if (unlikely(actual<0)) { in sirdev_write_complete()
457 __func__, actual); in sirdev_write_complete()
593 int actual = 0; in sirdev_hard_xmit() local
656 actual = dev->drv->do_write(dev, dev->tx_buff.data, dev->tx_buff.len); in sirdev_hard_xmit()
658 if (likely(actual > 0)) { in sirdev_hard_xmit()
[all …]
/drivers/gpu/drm/msm/mdp/mdp4/
Dmdp4_lvds_connector.c80 long actual, requested; in mdp4_lvds_connector_mode_valid() local
83 actual = mdp4_lcdc_round_pixclk(encoder, requested); in mdp4_lvds_connector_mode_valid()
85 DBG("requested=%ld, actual=%ld", requested, actual); in mdp4_lvds_connector_mode_valid()
87 if (actual != requested) in mdp4_lvds_connector_mode_valid()
/drivers/gpu/drm/msm/edp/
Dedp_connector.c73 long actual, requested; in edp_connector_mode_valid() local
76 actual = kms->funcs->round_pixclk(kms, in edp_connector_mode_valid()
79 DBG("requested=%ld, actual=%ld", requested, actual); in edp_connector_mode_valid()
80 if (actual != requested) in edp_connector_mode_valid()
/drivers/usb/gadget/udc/
Dudc-xilinx.c388 src = req->usb_req.dma + req->usb_req.actual; in xudc_dma_send()
442 dst = req->usb_req.dma + req->usb_req.actual; in xudc_dma_receive()
611 buf = req->usb_req.buf + req->usb_req.actual; in xudc_read_fifo()
613 bufferspace = req->usb_req.length - req->usb_req.actual; in xudc_read_fifo()
633 req->usb_req.actual += min(count, bufferspace); in xudc_read_fifo()
636 req->usb_req.actual, req->usb_req.length); in xudc_read_fifo()
639 if ((req->usb_req.actual == req->usb_req.length) || is_short) { in xudc_read_fifo()
643 req->usb_req.actual, in xudc_read_fifo()
687 buf = req->usb_req.buf + req->usb_req.actual; in xudc_write_fifo()
689 length = req->usb_req.length - req->usb_req.actual; in xudc_write_fifo()
[all …]
Dgoku_udc.c318 req->req.actual, req->req.length); in done()
335 length = min(req->req.length - req->req.actual, max); in write_packet()
336 req->req.actual += length; in write_packet()
354 buf = req->req.buf + req->req.actual; in write_fifo()
380 if (likely(req->req.length != req->req.actual) in write_fifo()
390 req->req.length - req->req.actual, req); in write_fifo()
413 buf = req->req.buf + req->req.actual; in read_fifo()
427 bufferspace = req->req.length - req->req.actual; in read_fifo()
445 req->req.actual += size; in read_fifo()
450 req, req->req.actual, req->req.length); in read_fifo()
[all …]
Domap_udc.c313 req->req.actual, req->req.length); in done()
337 len = min(req->req.length - req->req.actual, max); in write_packet()
338 req->req.actual += len; in write_packet()
365 buf = req->req.buf + req->req.actual; in write_fifo()
381 else if (req->req.length == req->req.actual in write_fifo()
402 len = min(req->req.length - req->req.actual, avail); in read_packet()
403 req->req.actual += len; in read_packet()
426 buf = req->req.buf + req->req.actual; in read_fifo()
459 } else if (req->req.length == req->req.actual) in read_fifo()
520 unsigned length = req->req.length - req->req.actual; in next_in_dma()
[all …]
/drivers/net/can/
Dslcan.c256 int actual, i; in slc_encaps() local
306 actual = sl->tty->ops->write(sl->tty, sl->xbuff, pos - sl->xbuff); in slc_encaps()
307 sl->xleft = (pos - sl->xbuff) - actual; in slc_encaps()
308 sl->xhead = sl->xbuff + actual; in slc_encaps()
316 int actual; in slcan_transmit() local
335 actual = sl->tty->ops->write(sl->tty, sl->xhead, sl->xleft); in slcan_transmit()
336 sl->xleft -= actual; in slcan_transmit()
337 sl->xhead += actual; in slcan_transmit()
/drivers/gpu/drm/msm/hdmi/
Dhdmi_connector.c388 long actual, requested; in msm_hdmi_connector_mode_valid() local
391 actual = kms->funcs->round_pixclk(kms, in msm_hdmi_connector_mode_valid()
399 actual = clk_round_rate(hdmi->pwr_clks[0], actual); in msm_hdmi_connector_mode_valid()
401 DBG("requested=%ld, actual=%ld", requested, actual); in msm_hdmi_connector_mode_valid()
403 if (actual != requested) in msm_hdmi_connector_mode_valid()
/drivers/net/wan/
Dx25_asy.c224 int actual, count, mtu = sl->dev->mtu; in x25_asy_encaps() local
248 actual = sl->tty->ops->write(sl->tty, sl->xbuff, count); in x25_asy_encaps()
249 sl->xleft = count - actual; in x25_asy_encaps()
250 sl->xhead = sl->xbuff + actual; in x25_asy_encaps()
261 int actual; in x25_asy_write_wakeup() local
277 actual = tty->ops->write(tty, sl->xhead, sl->xleft); in x25_asy_write_wakeup()
278 sl->xleft -= actual; in x25_asy_write_wakeup()
279 sl->xhead += actual; in x25_asy_write_wakeup()
/drivers/bluetooth/
Dbt3c_cs.c161 int actual = 0; in bt3c_write() local
166 while (actual < len) { in bt3c_write()
168 bt3c_put(iobase, buf[actual]); in bt3c_write()
169 actual++; in bt3c_write()
172 bt3c_io_write(iobase, 0x7005, actual); in bt3c_write()
174 return actual; in bt3c_write()
Ddtl1_cs.c112 int actual = 0; in dtl1_write() local
119 while ((fifo_size-- > 0) && (actual < len)) { in dtl1_write()
121 outb(buf[actual], iobase + UART_TX); in dtl1_write()
122 actual++; in dtl1_write()
125 return actual; in dtl1_write()
/drivers/usb/isp1760/
Disp1760-udc.c191 __func__, len, req->req.actual, req->req.length); in isp1760_udc_receive()
193 len = min(len, req->req.length - req->req.actual); in isp1760_udc_receive()
208 buf = req->req.buf + req->req.actual; in isp1760_udc_receive()
219 req->req.actual += len; in isp1760_udc_receive()
228 __func__, req, req->req.actual, req->req.length, ep->maxpacket, in isp1760_udc_receive()
237 if (req->req.actual == req->req.length || len < ep->maxpacket) { in isp1760_udc_receive()
249 u32 *buf = req->req.buf + req->req.actual; in isp1760_udc_transmit()
252 req->packet_size = min(req->req.length - req->req.actual, in isp1760_udc_transmit()
256 __func__, req->packet_size, req->req.actual, in isp1760_udc_transmit()
357 req->req.actual += req->packet_size; in isp1760_ep_tx_complete()
[all …]
/drivers/watchdog/
Daspeed_wdt.c99 u32 actual; in aspeed_wdt_set_timeout() local
103 actual = min(timeout, wdd->max_hw_heartbeat_ms * 1000); in aspeed_wdt_set_timeout()
105 writel(actual * WDT_RATE_1MHZ, wdt->base + WDT_RELOAD_VALUE); in aspeed_wdt_set_timeout()

123456