Home
last modified time | relevance | path

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

12345678910>>...26

/Linux-v5.4/drivers/cpufreq/
Damd_freq_sensitivity.c31 u64 actual; member
44 struct msr actual, reference; in amd_powersave_bias_target() local
54 &actual.l, &actual.h); in amd_powersave_bias_target()
57 actual.h &= 0x00ffffff; in amd_powersave_bias_target()
61 if (actual.q < data->actual || reference.q < data->reference) { in amd_powersave_bias_target()
66 d_actual = actual.q - data->actual; in amd_powersave_bias_target()
102 data->actual = actual.q; in amd_powersave_bias_target()
/Linux-v5.4/tools/power/acpi/tools/acpidump/
Dapfiles.c109 acpi_size actual; in ap_write_to_binary_file() local
154 actual = fwrite(table, 1, table_length, file); in ap_write_to_binary_file()
155 if (actual != table_length) { in ap_write_to_binary_file()
185 acpi_size actual; in ap_get_table_from_file() local
216 actual = fread(buffer, 1, file_size, file); in ap_get_table_from_file()
217 if (actual != file_size) { in ap_get_table_from_file()
/Linux-v5.4/drivers/usb/misc/
Dusb_u132.h71 int halted, int skipped, int actual, int non_null));
76 int halted, int skipped, int actual, int non_null));
81 int halted, int skipped, int actual, int non_null));
86 int halted, int skipped, int actual, int non_null));
91 int halted, int skipped, int actual, int non_null));
/Linux-v5.4/include/linux/
Dbcm963xx_nvram.h84 u32 expected, actual; in bcm963xx_nvram_checksum() local
101 actual = crc32_le_combine( in bcm963xx_nvram_checksum()
108 *actual_out = actual; in bcm963xx_nvram_checksum()
110 return expected == actual ? 0 : -EINVAL; in bcm963xx_nvram_checksum()
/Linux-v5.4/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_2835_arm.c76 int actual);
247 if (bulk && bulk->remote_data && bulk->actual) in vchiq_complete_bulk()
249 bulk->actual); in vchiq_complete_bulk()
545 int actual) in free_pagelist() argument
552 __func__, pagelistinfo->pagelist, actual); in free_pagelist()
571 tail_bytes = (pagelist->offset + actual) & in free_pagelist()
574 if ((actual >= 0) && (head_bytes != 0)) { in free_pagelist()
575 if (head_bytes > actual) in free_pagelist()
576 head_bytes = actual; in free_pagelist()
584 if ((actual >= 0) && (head_bytes < actual) && in free_pagelist()
[all …]
/Linux-v5.4/drivers/usb/host/
Dehci-timer.c97 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()
/Linux-v5.4/lib/
Dtest_uuid.c46 const char *data, const char *actual) in test_uuid_failed() argument
54 if (actual && *actual) in test_uuid_failed()
58 actual); in test_uuid_failed()
/Linux-v5.4/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 …]
/Linux-v5.4/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_lvds_connector.c70 long actual, requested; in mdp4_lvds_connector_mode_valid() local
73 actual = mdp4_lcdc_round_pixclk(encoder, requested); in mdp4_lvds_connector_mode_valid()
75 DBG("requested=%ld, actual=%ld", requested, actual); in mdp4_lvds_connector_mode_valid()
77 if (actual != requested) in mdp4_lvds_connector_mode_valid()
/Linux-v5.4/drivers/staging/emxx_udc/
Demxx_udc.c172 udc->ep0_req.req.actual = 0; in _nbu2ss_create_ep0_packet()
493 count = req->req.actual % 4; in _nbu2ss_dma_unmap_single()
496 p += (req->req.actual - count); in _nbu2ss_dma_unmap_single()
505 req->req.actual & 0xfffffffc); in _nbu2ss_dma_unmap_single()
526 p += (req->req.actual - count); in _nbu2ss_dma_unmap_single()
667 if (req->req.actual == req->req.length) { in _nbu2ss_ep0_in_transfer()
668 if ((req->req.actual % EP0_PACKETSIZE) == 0) { in _nbu2ss_ep0_in_transfer()
686 i_remain_size = req->req.length - req->req.actual; in _nbu2ss_ep0_in_transfer()
688 p_buffer += req->req.actual; in _nbu2ss_ep0_in_transfer()
727 i_remain_size = req->req.length - req->req.actual; in _nbu2ss_ep0_out_transfer()
[all …]
/Linux-v5.4/tools/testing/selftests/bpf/
Dtest_tcpbpf_user.c19 #define EXPECT_EQ(expected, actual, fmt) \ argument
21 if ((expected) != (actual)) { \
22 printf(" Value of: " #actual "\n" \
25 (actual), (expected)); \
/Linux-v5.4/drivers/gpu/drm/msm/edp/
Dedp_connector.c65 long actual, requested; in edp_connector_mode_valid() local
68 actual = kms->funcs->round_pixclk(kms, in edp_connector_mode_valid()
71 DBG("requested=%ld, actual=%ld", requested, actual); in edp_connector_mode_valid()
72 if (actual != requested) in edp_connector_mode_valid()
/Linux-v5.4/tools/testing/selftests/powerpc/pmu/ebb/
Dcycles_with_mmcr2_test.c25 uint64_t val, expected[2], actual; in cycles_with_mmcr2() local
65 actual = val; in cycles_with_mmcr2()
83 printf("Bad MMCR2 value seen is 0x%lx\n", actual); in cycles_with_mmcr2()
/Linux-v5.4/drivers/usb/renesas_usbhs/
Dfifo.c79 pkt->actual = 0; in usbhs_pkt_push()
413 pkt->actual = pkt->length; in usbhs_dcp_dir_switch_done()
525 buf = pkt->buf + pkt->actual; in usbhsf_pio_try_push()
526 len = pkt->length - pkt->actual; in usbhsf_pio_try_push()
554 pkt->actual += total_len; in usbhsf_pio_try_push()
556 if (pkt->actual < pkt->length) in usbhsf_pio_try_push()
575 pkt->length, pkt->actual, *is_done, pkt->zero); in usbhsf_pio_try_push()
663 buf = pkt->buf + pkt->actual; in usbhsf_pio_try_pop()
664 len = pkt->length - pkt->actual; in usbhsf_pio_try_pop()
673 pkt->actual += total_len; in usbhsf_pio_try_pop()
[all …]
/Linux-v5.4/drivers/i2c/busses/
Di2c-diolan-u2c.c101 int actual; in diolan_usb_transfer() local
109 dev->obuffer, dev->olen, &actual, in diolan_usb_transfer()
119 sizeof(dev->ibuffer), &actual, in diolan_usb_transfer()
129 if (ret == 0 && actual > 0) { in diolan_usb_transfer()
130 switch (dev->ibuffer[actual - 1]) { in diolan_usb_transfer()
144 ret = actual - 1; in diolan_usb_transfer()
205 int actual = 0; in diolan_flush_input() local
210 dev->ibuffer, sizeof(dev->ibuffer), &actual, in diolan_flush_input()
212 if (ret < 0 || actual == 0) in diolan_flush_input()
/Linux-v5.4/arch/um/drivers/
Dslip_common.c48 int actual, n; in slip_proto_write() local
50 actual = slip_esc(buf, slip->obuf, len); in slip_proto_write()
51 n = net_write(fd, slip->obuf, actual); in slip_proto_write()
/Linux-v5.4/drivers/usb/musb/
Dmusb_gadget.c252 (int)(request->length - request->actual)); in txstate()
276 request_size = min_t(size_t, request->length - request->actual, in txstate()
292 request->dma + request->actual, request_size); in txstate()
360 request->dma + request->actual, in txstate()
373 request->dma + request->actual, in txstate()
386 (u8 *) (request->buf + request->actual)); in txstate()
387 request->actual += fifo_count; in txstate()
396 request->actual, request->length, in txstate()
465 request->actual += musb_ep->dma->actual_len; in musb_g_tx()
476 && (request->actual == request->length)) { in musb_g_tx()
[all …]
/Linux-v5.4/drivers/usb/gadget/udc/aspeed-vhub/
Dep0.c197 req->req.actual, req->req.length); in ast_vhub_ep0_do_send()
208 chunk = req->req.length - req->req.actual; in ast_vhub_ep0_do_send()
215 chunk, req->last_desc, req->req.actual, ep->ep.maxpacket); in ast_vhub_ep0_do_send()
222 memcpy(ep->buf, req->req.buf + req->req.actual, chunk); in ast_vhub_ep0_do_send()
230 req->req.actual += chunk; in ast_vhub_ep0_do_send()
248 remain = req->req.length - req->req.actual; in ast_vhub_ep0_do_receive()
260 memcpy(req->req.buf + req->req.actual, ep->buf, len); in ast_vhub_ep0_do_receive()
261 req->req.actual += len; in ast_vhub_ep0_do_receive()
398 u_req->actual = 0; in ast_vhub_ep0_queue()
/Linux-v5.4/tools/testing/selftests/networking/timestamping/
Drxtimestamp.c175 struct tstamps actual = {}; in do_recv() local
209 actual.tstamp = true; in do_recv()
212 actual.tstampns = true; in do_recv()
216 actual.swtstamp = !!ts->ts[0].tv_sec; in do_recv()
219 actual.hwtstamp = !!ts->ts[2].tv_sec; in do_recv()
228 if (expected.field != actual.field) { \ in do_recv()
/Linux-v5.4/drivers/usb/gadget/function/
Du_audio.c101 __func__, status, req->actual, req->length); in u_audio_iso_complete()
140 req->actual = req->length; in u_audio_iso_complete()
151 if (unlikely(pending < req->actual)) { in u_audio_iso_complete()
154 req->actual - pending); in u_audio_iso_complete()
157 req->actual); in u_audio_iso_complete()
160 if (unlikely(pending < req->actual)) { in u_audio_iso_complete()
163 req->actual - pending); in u_audio_iso_complete()
166 req->actual); in u_audio_iso_complete()
172 prm->hw_ptr = (hw_ptr + req->actual) % runtime->dma_bytes; in u_audio_iso_complete()
177 if ((hw_ptr % snd_pcm_lib_period_bytes(substream)) < req->actual) in u_audio_iso_complete()
/Linux-v5.4/drivers/usb/gadget/udc/
Dudc-xilinx.c383 src = req->usb_req.dma + req->usb_req.actual; in xudc_dma_send()
437 dst = req->usb_req.dma + req->usb_req.actual; in xudc_dma_receive()
606 buf = req->usb_req.buf + req->usb_req.actual; in xudc_read_fifo()
608 bufferspace = req->usb_req.length - req->usb_req.actual; in xudc_read_fifo()
628 req->usb_req.actual += min(count, bufferspace); in xudc_read_fifo()
631 req->usb_req.actual, req->usb_req.length); in xudc_read_fifo()
634 if ((req->usb_req.actual == req->usb_req.length) || is_short) { in xudc_read_fifo()
638 req->usb_req.actual, in xudc_read_fifo()
682 buf = req->usb_req.buf + req->usb_req.actual; in xudc_write_fifo()
684 length = req->usb_req.length - req->usb_req.actual; in xudc_write_fifo()
[all …]
/Linux-v5.4/tools/testing/selftests/ftrace/test.d/ftrace/
Dfunc-filter-glob.tc17 cut -f1 -d" " set_ftrace_filter > $TMPDIR/actual
19 DIFF=`diff $TMPDIR/actual $TMPDIR/expected`
Dfunc_set_ftrace_file.tc121 cat set_ftrace_filter | grep -v '#' | cut -d' ' -f1 | cut -d':' -f1 | sort -u > $TMPDIR/actual
122 DIFF=`diff $TMPDIR/actual $TMPDIR/expected`
155 rm $TMPDIR/actual
/Linux-v5.4/drivers/usb/class/
Dusbtmc.c272 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()
332 buffer, actual, true); in usbtmc_ioctl_abort_bulk_in_tag()
342 if (actual == USBTMC_BUFSIZE) in usbtmc_ioctl_abort_bulk_in_tag()
684 int actual; in usbtmc488_ioctl_trigger() local
698 &actual, file_data->timeout); in usbtmc488_ioctl_trigger()
1285 int actual; in send_request_dev_dep_msg_in() local
1312 &actual, file_data->timeout); in send_request_dev_dep_msg_in()
1339 int actual; in usbtmc_read() local
[all …]
/Linux-v5.4/tools/usb/ffs-aio-example/multibuff/device_app/
Daio_multibuff.c248 int actual = 0; in main() local
363 iobuf[actual].requested -= ret; in main()
366 if (!iobuf[actual].requested) in main()
367 actual = (actual + 1)%(sizeof(iobuf)/sizeof(*iobuf)); in main()

12345678910>>...26