Home
last modified time | relevance | path

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

12345678910>>...29

/kernel/liteos_m/testsuites/unittest/posix/src/
Dposix_test.h51 #define TEST_ASSERT_EQUAL(expected, actual) ICUNIT_ASSERT_EQUAL(expected, actual, actual) argument
52 #define TEST_ASSERT_EQUAL_INT(expected, actual) TEST_ASSERT_EQUAL(expected, actual) argument
53 #define TEST_ASSERT_EQUAL_INT32(expected, actual) TEST_ASSERT_EQUAL(expected, actual) argument
54 #define TEST_ASSERT_EQUAL_INT64(expected, actual) TEST_ASSERT_EQUAL(expected, actual) argument
55 #define TEST_ASSERT_EQUAL_UINT32(expected, actual) TEST_ASSERT_EQUAL(expected, actual) argument
56 #define TEST_ASSERT_EQUAL_UINT64(expected, actual) TEST_ASSERT_EQUAL(expected, actual) argument
58 #define TEST_ASSERT_EQUAL_PTR(expected, actual) TEST_ASSERT_EQUAL(expected, actual) argument
60 #define TEST_ASSERT_NOT_EQUAL(expected, actual) ICUNIT_ASSERT_NOT_EQUAL(expected, actual, actual) argument
66 #define TEST_ASSERT_LESS_THAN(threshold, actual) TEST_ASSERT_TRUE((actual) < (threshold)) argument
67 #define TEST_ASSERT_LESS_THAN_INT(threshold, actual) TEST_ASSERT_LESS_THAN(threshold, actual) argument
[all …]
/kernel/linux/linux-5.10/drivers/cpufreq/
Damd_freq_sensitivity.c32 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()
103 data->actual = actual.q; in amd_powersave_bias_target()
/kernel/linux/linux-5.10/drivers/mtd/spi-nor/
Dsst.c49 size_t actual = 0; in sst_write() local
78 actual++; in sst_write()
82 for (; actual < len - 1; actual += 2) { in sst_write()
86 ret = spi_nor_write_data(nor, to, 2, buf + actual); in sst_write()
107 if (actual != len) { in sst_write()
113 ret = spi_nor_write_data(nor, to, 1, buf + actual); in sst_write()
121 actual += 1; in sst_write()
126 *retlen += actual; in sst_write()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_2835_arm.c77 int actual);
246 if (bulk && bulk->remote_data && bulk->actual) in vchiq_complete_bulk()
248 bulk->actual); in vchiq_complete_bulk()
499 int actual) in free_pagelist() argument
506 __func__, pagelistinfo->pagelist, actual); in free_pagelist()
525 tail_bytes = (pagelist->offset + actual) & in free_pagelist()
528 if ((actual >= 0) && (head_bytes != 0)) { in free_pagelist()
529 if (head_bytes > actual) in free_pagelist()
530 head_bytes = actual; in free_pagelist()
538 if ((actual >= 0) && (head_bytes < actual) && in free_pagelist()
[all …]
/kernel/linux/linux-5.10/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));
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_lvds_connector.c65 long actual, requested; in mdp4_lvds_connector_mode_valid() local
68 actual = mdp4_lcdc_round_pixclk(encoder, requested); in mdp4_lvds_connector_mode_valid()
70 DBG("requested=%ld, actual=%ld", requested, actual); in mdp4_lvds_connector_mode_valid()
72 if (actual != requested) in mdp4_lvds_connector_mode_valid()
/kernel/linux/linux-5.10/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()
402 int actual; in sixpack_write_wakeup() local
417 actual = tty->ops->write(tty, sp->xhead, sp->xleft); in sixpack_write_wakeup()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_progs.h133 #define ASSERT_EQ(actual, expected, name) ({ \ argument
135 typeof(actual) ___act = (actual); \
144 #define ASSERT_STREQ(actual, expected, name) ({ \ argument
146 const char *___act = actual; \
Dtest_tcpbpf_user.c22 #define EXPECT_EQ(expected, actual, fmt) \ argument
24 if ((expected) != (actual)) { \
25 printf(" Value of: " #actual "\n" \
28 (actual), (expected)); \
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
81 printf("Bad MMCR2 value seen is 0x%lx\n", actual); in cycles_with_mmcr2()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/usb/renesas_usbhs/
Dfifo.c79 pkt->actual = 0; in usbhs_pkt_push()
421 pkt->actual = pkt->length; in usbhs_dcp_dir_switch_done()
533 buf = pkt->buf + pkt->actual; in usbhsf_pio_try_push()
534 len = pkt->length - pkt->actual; in usbhsf_pio_try_push()
562 pkt->actual += total_len; in usbhsf_pio_try_push()
564 if (pkt->actual < pkt->length) in usbhsf_pio_try_push()
583 pkt->length, pkt->actual, *is_done, pkt->zero); in usbhsf_pio_try_push()
671 buf = pkt->buf + pkt->actual; in usbhsf_pio_try_pop()
672 len = pkt->length - pkt->actual; in usbhsf_pio_try_pop()
681 pkt->actual += total_len; in usbhsf_pio_try_pop()
[all …]
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-diolan-u2c.c99 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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/usb/gadget/function/
Du_audio.c106 __func__, status, req->actual, req->length); in u_audio_iso_complete()
145 req->actual = req->length; in u_audio_iso_complete()
156 if (unlikely(pending < req->actual)) { in u_audio_iso_complete()
159 req->actual - pending); in u_audio_iso_complete()
162 req->actual); in u_audio_iso_complete()
165 if (unlikely(pending < req->actual)) { in u_audio_iso_complete()
168 req->actual - pending); in u_audio_iso_complete()
171 req->actual); in u_audio_iso_complete()
177 prm->hw_ptr = (hw_ptr + req->actual) % runtime->dma_bytes; in u_audio_iso_complete()
182 if ((hw_ptr % snd_pcm_lib_period_bytes(substream)) < req->actual) in u_audio_iso_complete()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_cdclk.c1931 if (!intel_cdclk_changed(&old_cdclk_state->actual, in intel_set_cdclk_pre_plane_update()
1932 &new_cdclk_state->actual)) in intel_set_cdclk_pre_plane_update()
1936 old_cdclk_state->actual.cdclk <= new_cdclk_state->actual.cdclk) { in intel_set_cdclk_pre_plane_update()
1939 intel_set_cdclk(dev_priv, &new_cdclk_state->actual, pipe); in intel_set_cdclk_pre_plane_update()
1960 if (!intel_cdclk_changed(&old_cdclk_state->actual, in intel_set_cdclk_post_plane_update()
1961 &new_cdclk_state->actual)) in intel_set_cdclk_post_plane_update()
1965 old_cdclk_state->actual.cdclk > new_cdclk_state->actual.cdclk) { in intel_set_cdclk_post_plane_update()
1968 intel_set_cdclk(dev_priv, &new_cdclk_state->actual, pipe); in intel_set_cdclk_post_plane_update()
2215 cdclk_state->actual.cdclk = cdclk; in vlv_modeset_calc_cdclk()
2216 cdclk_state->actual.voltage_level = in vlv_modeset_calc_cdclk()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/ftrace/test.d/ftrace/
Dfunc-filter-glob.tc13 cut -f1 -d" " set_ftrace_filter > $TMPDIR/actual
15 DIFF=`diff $TMPDIR/actual $TMPDIR/expected`

12345678910>>...29