| /drivers/cpufreq/ |
| A D | amd_freq_sensitivity.c | 32 u64 actual; member 45 struct msr actual, reference; in amd_powersave_bias_target() local 55 &actual.l, &actual.h); in amd_powersave_bias_target() 58 actual.h &= 0x00ffffff; in amd_powersave_bias_target() 62 if (actual.q < data->actual || reference.q < data->reference) { in amd_powersave_bias_target() 67 d_actual = actual.q - data->actual; in amd_powersave_bias_target() 104 data->actual = actual.q; in amd_powersave_bias_target()
|
| /drivers/mtd/spi-nor/ |
| A D | sst.c | 189 size_t actual = 0; in sst_nor_write() local 212 actual++; in sst_nor_write() 216 for (; actual < len - 1; actual += 2) { in sst_nor_write() 218 ret = sst_nor_write_data(nor, to, 2, buf + actual); in sst_nor_write() 236 if (actual != len) { in sst_nor_write() 241 ret = sst_nor_write_data(nor, to, 1, buf + actual); in sst_nor_write() 245 actual += 1; in sst_nor_write() 250 *retlen += actual; in sst_nor_write()
|
| /drivers/hwtracing/coresight/ |
| A D | coresight-tmc-core.c | 165 if (actual <= 0) in tmc_get_resvbuf_trace() 174 actual = (actual < (rbuf->size - offset)) ? in tmc_get_resvbuf_trace() 179 return actual; in tmc_get_resvbuf_trace() 308 ssize_t actual; in tmc_read() local 312 if (actual <= 0) in tmc_read() 321 *ppos += actual; in tmc_read() 324 return actual; in tmc_read() 380 ssize_t actual; in tmc_crashdata_read() local 386 if (actual <= 0) in tmc_crashdata_read() 395 *ppos += actual; in tmc_crashdata_read() [all …]
|
| /drivers/gpu/drm/i915/display/ |
| A D | intel_cdclk.c | 131 struct intel_cdclk_config actual; member 2614 change_cdclk = new_cdclk_state->actual.cdclk != old_cdclk_state->actual.cdclk; in intel_cdclk_pcode_pre_notify() 2625 cdclk = max(new_cdclk_state->actual.cdclk, old_cdclk_state->actual.cdclk); in intel_cdclk_pcode_pre_notify() 2653 update_cdclk = new_cdclk_state->actual.cdclk != old_cdclk_state->actual.cdclk; in intel_cdclk_pcode_post_notify() 2685 new_cdclk_state->actual.cdclk < old_cdclk_state->actual.cdclk; in intel_cdclk_is_decreasing_later() 2717 if (new_cdclk_state->actual.cdclk >= old_cdclk_state->actual.cdclk) { in intel_set_cdclk_pre_plane_update() 2766 new_cdclk_state->actual.cdclk < old_cdclk_state->actual.cdclk) in intel_set_cdclk_post_plane_update() 3298 &old_cdclk_state->actual, in intel_modeset_calc_cdclk() 3320 &old_cdclk_state->actual, in intel_modeset_calc_cdclk() 3907 (new_cdclk_state->actual.cdclk != old_cdclk_state->actual.cdclk || in intel_cdclk_pmdemand_needs_update() [all …]
|
| /drivers/net/hamradio/ |
| A D | 6pack.c | 137 int actual, when = sp->slottime; in sp_xmit_on_air() local 147 sp->xleft -= actual; in sp_xmit_on_air() 148 sp->xhead += actual; in sp_xmit_on_air() 162 int actual, count; in sp_encaps() local 214 sp->xleft = count - actual; in sp_encaps() 392 int actual; in sixpack_write_wakeup() local 408 sp->xleft -= actual; in sixpack_write_wakeup() 409 sp->xhead += actual; in sixpack_write_wakeup() 833 ssize_t actual; in decode_prio_command() local 859 sp->xleft -= actual; in decode_prio_command() [all …]
|
| A D | mkiss.c | 429 int actual, count; in ax_encaps() local 510 actual = ax->tty->ops->write(ax->tty, ax->xbuff, count); in ax_encaps() 512 dev->stats.tx_bytes += actual; in ax_encaps() 515 ax->xleft = count - actual; in ax_encaps() 516 ax->xhead = ax->xbuff + actual; in ax_encaps() 915 int actual; in mkiss_write_wakeup() local 930 actual = tty->ops->write(tty, ax->xhead, ax->xleft); in mkiss_write_wakeup() 931 ax->xleft -= actual; in mkiss_write_wakeup() 932 ax->xhead += actual; in mkiss_write_wakeup()
|
| /drivers/usb/gadget/udc/ |
| A D | renesas_usbf.c | 592 buf += req->req.actual; in usbf_ep0_pio_in() 607 req->req.actual += left; in usbf_ep0_pio_in() 632 buf += req->req.actual; in usbf_ep0_pio_out() 770 buf += req->req.actual; in usbf_epn_pio_in() 782 req->req.actual += left; in usbf_epn_pio_in() 829 req->req.actual += left; in usbf_epn_dma_in() 914 req->req.actual += left; in usbf_epn_dma_in() 989 buf += req->req.actual; in usbf_epn_pio_out() 1921 req->req.actual = 0; in usbf_ep0_queue() 1969 req->req.actual = 0; in usbf_epn_queue() [all …]
|
| A D | aspeed_udc.c | 535 last = req->req.length - req->req.actual; in ast_udc_epn_kick() 564 req->req.actual, req->req.length, in ast_udc_epn_kick_desc() 601 req->req.actual, req->req.length, in ast_udc_ep0_queue() 604 req->req.actual += tx_len; in ast_udc_ep0_queue() 650 req->req.actual = 0; in ast_udc_ep_queue() 799 req->req.actual += rx_len; in ast_udc_ep0_out() 802 req->req.actual, req->req.length); in ast_udc_ep0_out() 814 req->req.actual, req->req.length); in ast_udc_ep0_out() 844 req->req.actual, req->req.length); in ast_udc_ep0_in() 871 req->req.actual += len; in ast_udc_epn_handle() [all …]
|
| A D | udc-xilinx.c | 384 src = req->usb_req.dma + req->usb_req.actual; in xudc_dma_send() 438 dst = req->usb_req.dma + req->usb_req.actual; in xudc_dma_receive() 636 req->usb_req.actual, req->usb_req.length); in xudc_read_fifo() 643 req->usb_req.actual, in xudc_read_fifo() 695 req->usb_req.actual += length; in xudc_write_fifo() 1017 req->usb_req.actual = 0; in __xudc_ep0_queue() 1099 _req->actual = 0; in xudc_ep_queue() 1835 req->usb_req.actual = req->usb_req.length; in xudc_ep0_out() 1845 req->usb_req.actual = req->usb_req.actual + bytes_to_rx; in xudc_ep0_out() 1900 req->usb_req.actual = req->usb_req.length; in xudc_ep0_in() [all …]
|
| A D | goku_udc.c | 322 req->req.actual, req->req.length); in done() 340 req->req.actual += length; in write_packet() 358 buf = req->req.buf + req->req.actual; in write_fifo() 417 buf = req->req.buf + req->req.actual; in read_fifo() 449 req->req.actual += size; in read_fifo() 623 req->req.actual -= req->req.dma; in dma_advance() 624 req->req.actual++; in dma_advance() 695 req->req.actual, req->req.length); in abort_dma() 704 req->req.actual = req->req.length; in abort_dma() 751 _req->actual = 0; in goku_queue() [all …]
|
| /drivers/usb/host/ |
| A D | ehci-timer.c | 97 unsigned actual, want; in ehci_poll_ASS() local 104 actual = ehci_readl(ehci, &ehci->regs->status) & STS_ASS; in ehci_poll_ASS() 106 if (want != actual) { in ehci_poll_ASS() 114 want, actual); in ehci_poll_ASS() 143 unsigned actual, want; in ehci_poll_PSS() local 150 actual = ehci_readl(ehci, &ehci->regs->status) & STS_PSS; in ehci_poll_PSS() 152 if (want != actual) { in ehci_poll_PSS() 160 want, actual); in ehci_poll_PSS()
|
| /drivers/usb/renesas_usbhs/ |
| A D | fifo.c | 79 pkt->actual = 0; in usbhs_pkt_push() 423 pkt->actual = pkt->length; in usbhs_dcp_dir_switch_done() 535 buf = pkt->buf + pkt->actual; in usbhsf_pio_try_push() 536 len = pkt->length - pkt->actual; in usbhsf_pio_try_push() 564 pkt->actual += total_len; in usbhsf_pio_try_push() 566 if (pkt->actual < pkt->length) in usbhsf_pio_try_push() 673 buf = pkt->buf + pkt->actual; in usbhsf_pio_try_pop() 683 pkt->actual += total_len; in usbhsf_pio_try_pop() 948 pkt->actual += pkt->trans; in usbhsf_dma_push_done() 950 if (pkt->actual < pkt->length) in usbhsf_dma_push_done() [all …]
|
| /drivers/net/can/slcan/ |
| A D | slcan-core.c | 498 int actual, i; in slcan_encaps() local 552 sl->xleft = (pos - sl->xbuff) - actual; in slcan_encaps() 553 sl->xhead = sl->xbuff + actual; in slcan_encaps() 560 int actual; in slcan_transmit() local 589 actual = sl->tty->ops->write(sl->tty, sl->xhead, sl->xleft); in slcan_transmit() 590 sl->xleft -= actual; in slcan_transmit() 591 sl->xhead += actual; in slcan_transmit() 642 int ret, actual, n; in slcan_transmit_cmd() local 652 actual = sl->tty->ops->write(sl->tty, sl->xbuff, n); in slcan_transmit_cmd() 653 sl->xleft = n - actual; in slcan_transmit_cmd() [all …]
|
| /drivers/usb/musb/ |
| A D | musb_gadget.c | 361 request->dma + request->actual, in txstate() 374 request->dma + request->actual, in txstate() 388 request->actual += fifo_count; in txstate() 569 request->dma + request->actual, in rxstate() 650 request->actual, in rxstate() 670 + request->actual, in rxstate() 693 request->actual, in rxstate() 698 request->actual, in rxstate() 720 + request->actual, in rxstate() 769 request->actual += fifo_count; in rxstate() [all …]
|
| A D | musb_gadget_ep0.c | 474 void *buf = req->buf + req->actual; in ep0_rxstate() 475 unsigned len = req->length - req->actual; in ep0_rxstate() 485 req->actual += count; in ep0_rxstate() 488 if (count < 64 || req->actual == req->length) { in ep0_rxstate() 535 fifo_src = (u8 *) request->buf + request->actual; in ep0_txstate() 537 request->length - request->actual); in ep0_txstate() 539 request->actual += fifo_count; in ep0_txstate() 543 || (request->actual == request->length in ep0_txstate() 921 req->request.actual = 0; in musb_g_ep0_queue()
|
| /drivers/i2c/busses/ |
| A D | i2c-diolan-u2c.c | 99 int actual; in diolan_usb_transfer() local 107 dev->obuffer, dev->olen, &actual, in diolan_usb_transfer() 117 sizeof(dev->ibuffer), &actual, in diolan_usb_transfer() 127 if (ret == 0 && actual > 0) { in diolan_usb_transfer() 128 switch (dev->ibuffer[actual - 1]) { in diolan_usb_transfer() 142 ret = actual - 1; in diolan_usb_transfer() 203 int actual = 0; in diolan_flush_input() local 208 dev->ibuffer, sizeof(dev->ibuffer), &actual, in diolan_flush_input() 210 if (ret < 0 || actual == 0) in diolan_flush_input()
|
| /drivers/usb/gadget/udc/aspeed-vhub/ |
| A D | ep0.c | 191 req->req.actual, req->req.length); in ast_vhub_ep0_do_send() 202 chunk = req->req.length - req->req.actual; in ast_vhub_ep0_do_send() 209 chunk, req->last_desc, req->req.actual, ep->ep.maxpacket); in ast_vhub_ep0_do_send() 216 memcpy(ep->buf, req->req.buf + req->req.actual, chunk); in ast_vhub_ep0_do_send() 224 req->req.actual += chunk; in ast_vhub_ep0_do_send() 242 remain = req->req.length - req->req.actual; in ast_vhub_ep0_do_receive() 261 memcpy(req->req.buf + req->req.actual, ep->buf, len); in ast_vhub_ep0_do_receive() 262 req->req.actual += len; in ast_vhub_ep0_do_receive() 399 u_req->actual = 0; in ast_vhub_ep0_queue()
|
| /drivers/net/wwan/t7xx/ |
| A D | t7xx_port_wwan.c | 59 size_t actual, len, offset = 0; in t7xx_port_fastboot_tx() local 67 actual = cur->len; in t7xx_port_fastboot_tx() 68 while (actual) { in t7xx_port_fastboot_tx() 69 len = min_t(size_t, actual, txq_mtu); in t7xx_port_fastboot_tx() 83 actual -= len; in t7xx_port_fastboot_tx()
|
| /drivers/usb/class/ |
| A D | usbtmc.c | 272 int actual; in usbtmc_ioctl_abort_bulk_in_tag() local 324 actual = 0; in usbtmc_ioctl_abort_bulk_in_tag() 329 &actual, 300); in usbtmc_ioctl_abort_bulk_in_tag() 720 int actual; in usbtmc488_ioctl_trigger() local 1327 int actual; in send_request_dev_dep_msg_in() local 1381 int actual; in usbtmc_read() local 1419 actual = 0; in usbtmc_read() 1494 actual = remaining; in usbtmc_read() 1513 done += actual; in usbtmc_read() 1670 int actual = 0; in usbtmc_ioctl_clear() local [all …]
|
| /drivers/usb/mtu3/ |
| A D | mtu3_gadget_ep0.c | 526 void *buf = req->buf + req->actual; in ep0_rx_state() 527 unsigned int len = req->length - req->actual; in ep0_rx_state() 536 req->actual += count; in ep0_rx_state() 540 if (count < maxp || req->actual == req->length) { in ep0_rx_state() 581 src = (u8 *)req->buf + req->actual; in ep0_tx_state() 582 count = min(maxp, req->length - req->actual); in ep0_tx_state() 587 __func__, req->actual, req->length, count, maxp, req->zero); in ep0_tx_state() 589 req->actual += count; in ep0_tx_state() 592 || ((req->actual == req->length) && !req->zero)) in ep0_tx_state() 799 mreq->request.actual = 0; in ep0_queue()
|
| /drivers/usb/cdns3/ |
| A D | cdns3-trace.h | 205 __field(unsigned int, actual) 220 __entry->actual = req->request.actual; 233 __get_str(name), __entry->req, __entry->buf, __entry->actual, 293 __field(unsigned int, actual) 299 __entry->actual = req->request.length; 300 __entry->length = req->request.actual; 305 __entry->actual, __entry->stream_id)
|
| /drivers/watchdog/ |
| A D | gxp-wdt.c | 62 u32 actual; in gxp_wdt_set_timeout() local 65 actual = min(timeout * 100, wdd->max_hw_heartbeat_ms / 10); in gxp_wdt_set_timeout() 66 writew(actual, drvdata->base + GXP_WDT_CNT_OFS); in gxp_wdt_set_timeout()
|
| /drivers/usb/serial/ |
| A D | iuu_phoenix.c | 271 int actual = 0; in bulk_immediate() local 279 count, &actual, 1000); in bulk_immediate() 292 int actual = 0; in read_immediate() local 299 count, &actual, 1000); in read_immediate() 787 u32 *actual, u8 parity) in iuu_uart_baud() argument 838 *actual = (T1FrekvensHZ / (256 - T1reload)) / 2; in iuu_uart_baud() 889 u32 actual; in iuu_set_termios() local 920 &actual, parity); in iuu_set_termios() 964 u32 actual; in iuu_open() local 998 iuu_uart_baud(port, baud * boost / 100, &actual, in iuu_open() [all …]
|
| /drivers/usb/isp1760/ |
| A D | isp1760-udc.c | 246 __func__, len, req->req.actual, req->req.length); in isp1760_udc_receive() 248 len = min(len, req->req.length - req->req.actual); in isp1760_udc_receive() 263 buf = req->req.buf + req->req.actual; in isp1760_udc_receive() 274 req->req.actual += len; in isp1760_udc_receive() 304 u32 *buf = req->req.buf + req->req.actual; in isp1760_udc_transmit() 311 __func__, req->packet_size, req->req.actual, in isp1760_udc_transmit() 412 req->req.actual += req->packet_size; in isp1760_ep_tx_complete() 414 need_zlp = req->req.actual == req->req.length && in isp1760_ep_tx_complete() 420 req, req->req.actual, req->req.length, ep->maxpacket, in isp1760_ep_tx_complete() 427 if (req->req.actual == req->req.length && !need_zlp) { in isp1760_ep_tx_complete() [all …]
|
| /drivers/gpu/drm/msm/hdmi/ |
| A D | hdmi_bridge.c | 431 long actual; in msm_hdmi_bridge_tmds_char_rate_valid() local 438 actual = kms->funcs->round_pixclk(kms, in msm_hdmi_bridge_tmds_char_rate_valid() 442 actual = clk_round_rate(hdmi->extp_clk, tmds_rate); in msm_hdmi_bridge_tmds_char_rate_valid() 444 actual = tmds_rate; in msm_hdmi_bridge_tmds_char_rate_valid() 446 DBG("requested=%lld, actual=%ld", tmds_rate, actual); in msm_hdmi_bridge_tmds_char_rate_valid() 448 if (actual != tmds_rate) in msm_hdmi_bridge_tmds_char_rate_valid()
|