Home
last modified time | relevance | path

Searched full:actual (Results 1 – 25 of 2643) sorted by relevance

12345678910>>...106

/linux/tools/testing/selftests/bpf/
H A Dtest_progs.h235 #define ASSERT_TRUE(actual, name) ({ \
237 bool ___ok = (actual); \
242 #define ASSERT_FALSE(actual, name) ({ \
244 bool ___ok = !(actual); \
249 #define ASSERT_EQ(actual, expected, name) ({ \
251 typeof(actual) ___act = (actual); \
255 "unexpected %s: actual %lld != expected %lld\n", \
260 #define ASSERT_NEQ(actual, expected, name) ({ \
262 typeof(actual) ___ac
234 ASSERT_TRUE(actual,name) global() argument
241 ASSERT_FALSE(actual,name) global() argument
248 ASSERT_EQ(actual,expected,name) global() argument
259 ASSERT_NEQ(actual,expected,name) global() argument
270 ASSERT_LT(actual,expected,name) global() argument
281 ASSERT_LE(actual,expected,name) global() argument
292 ASSERT_GT(actual,expected,name) global() argument
303 ASSERT_GE(actual,expected,name) global() argument
314 ASSERT_STREQ(actual,expected,name) global() argument
325 ASSERT_STRNEQ(actual,expected,len,name) global() argument
348 ASSERT_MEMEQ(actual,expected,len,name) global() argument
[all...]
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn20/
H A Ddcn20_hubp.c1407 …DC_LOG_DEBUG("DML Validation | HUBPRET_CONTROL:DET_BUF_PLANE1_BASE_ADDRESS - Expected: %u Actual:… in hubp2_validate_dml_output()
1410 …DC_LOG_DEBUG("DML Validation | DCN_EXPANSION_MODE:DRQ_EXPANSION_MODE - Expected: %u Actual: %u\n", in hubp2_validate_dml_output()
1413 …DC_LOG_DEBUG("DML Validation | DCN_EXPANSION_MODE:MRQ_EXPANSION_MODE - Expected: %u Actual: %u\n", in hubp2_validate_dml_output()
1416 …BUG("DML Validation | DCN_EXPANSION_MODE:DET_BUF_PLANE1_BASE_ADDRESS - Expected: %u Actual: %u\n", in hubp2_validate_dml_output()
1419 …DC_LOG_DEBUG("DML Validation | DCN_EXPANSION_MODE:CRQ_EXPANSION_MODE - Expected: %u Actual: %u\n", in hubp2_validate_dml_output()
1423 DC_LOG_DEBUG("DML Validation | DCHUBP_REQ_SIZE_CONFIG_C:CHUNK_SIZE - Expected: %u Actual: %u\n", in hubp2_validate_dml_output()
1426 …DC_LOG_DEBUG("DML Validation | DCHUBP_REQ_SIZE_CONFIG_C:MIN_CHUNK_SIZE - Expected: %u Actual: %u\… in hubp2_validate_dml_output()
1429 …DC_LOG_DEBUG("DML Validation | DCHUBP_REQ_SIZE_CONFIG_C:META_CHUNK_SIZE - Expected: %u Actual: %u… in hubp2_validate_dml_output()
1432 …DEBUG("DML Validation | DCHUBP_REQ_SIZE_CONFIG_C:MIN_META_CHUNK_SIZE - Expected: %u Actual: %u\n", in hubp2_validate_dml_output()
1435 …DC_LOG_DEBUG("DML Validation | DCHUBP_REQ_SIZE_CONFIG_C:DPTE_GROUP_SIZE - Expected: %u Actual: %u… in hubp2_validate_dml_output()
[all …]
/linux/include/linux/
H A Dbcm963xx_nvram.h76 * @actual_out: optional pointer to store actual checksum value
85 u32 expected, actual; in bcm963xx_nvram_checksum() local
97 actual = crc32_le(~0, nvram, len - sizeof(u32)); in bcm963xx_nvram_checksum()
98 actual = crc32_le(actual, &zero, sizeof(u32)); in bcm963xx_nvram_checksum()
104 *actual_out = actual; in bcm963xx_nvram_checksum()
106 return expected == actual ? 0 : -EINVAL; in bcm963xx_nvram_checksum()
/linux/drivers/mtd/spi-nor/
H A Dsst.c189 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()
/linux/include/kunit/
H A Dassert.h98 * @value: The actual evaluated pointer value of the expression.
131 * @left_value: The actual evaluated value of the expression in the left slot.
132 * @right_value: The actual evaluated value of the expression in the right slot.
154 * @left_value: The actual evaluated value of the expression in the left slot.
155 * @right_value: The actual evaluated value of the expression in the right slot.
177 * @left_value: The actual evaluated value of the expression in the left slot.
178 * @right_value: The actual evaluated value of the expression in the right slot.
200 * @left_value: The actual evaluated value of the expression in the left slot.
201 * @right_value: The actual evaluated value of the expression in the right slot.
/linux/drivers/gpu/drm/i915/display/
H A Dintel_cdclk.c61 * are two main clocks involved that aren't directly related to the actual
62 * pixel clock or any symbol/bit clock of the actual output port. These
132 * Actual configuration of cdclk, can be different from the
135 struct intel_cdclk_config actual; member
600 * Specs are full of misinformation, but testing on actual in vlv_calc_voltage_level()
2688 if (!intel_cdclk_changed(&old_cdclk_state->actual, in intel_cdclk_pcode_pre_notify()
2689 &new_cdclk_state->actual) && in intel_cdclk_pcode_pre_notify()
2697 change_cdclk = new_cdclk_state->actual.cdclk != old_cdclk_state->actual.cdclk; in intel_cdclk_pcode_pre_notify()
2708 cdclk = max(new_cdclk_state->actual.cdclk, old_cdclk_state->actual.cdclk); in intel_cdclk_pcode_pre_notify()
2734 voltage_level = new_cdclk_state->actual.voltage_level; in intel_cdclk_pcode_post_notify()
[all …]
H A Dvlv_dsi_pll_regs.h25 /* TX control divider to select actual TX clock output from (8x/var) */
38 /* RX upper control divider to select actual RX clock output from 8x */
51 /* 8/3X divider to select the actual 8/3X clock output from 8x */
64 /* RX lower control divider to select actual RX clock output from 8x */
/linux/drivers/usb/gadget/udc/
H A Drenesas_usbf.c566 left = req->req.length - req->req.actual; in usbf_ep0_pio_in()
576 if ((req->req.actual % ep0->ep.maxpacket) == 0) { in usbf_ep0_pio_in()
592 buf += req->req.actual; in usbf_ep0_pio_in()
598 req->req.actual += (nb * sizeof(u32)); in usbf_ep0_pio_in()
607 req->req.actual += left; in usbf_ep0_pio_in()
612 req->req.actual, req->req.length); in usbf_ep0_pio_in()
632 buf += req->req.actual; in usbf_ep0_pio_out()
634 left = req->req.length - req->req.actual; in usbf_ep0_pio_out()
652 req->req.actual += (nb * sizeof(u32)); in usbf_ep0_pio_out()
658 req->req.actual += count; in usbf_ep0_pio_out()
[all …]
H A Daspeed_udc.c287 req, req->req.actual, req->req.length, in ast_udc_done()
535 last = req->req.length - req->req.actual; in ast_udc_epn_kick()
541 ast_ep_write(ep, req->req.dma + req->req.actual, AST_UDC_EP_DMA_BUFF); in ast_udc_epn_kick()
558 last = req->req.length - req->req.actual; in ast_udc_epn_kick_desc()
563 "dma", req->req.dma + req->req.actual, in ast_udc_epn_kick_desc()
564 req->req.actual, req->req.length, in ast_udc_epn_kick_desc()
567 if (!ast_dma_descriptor_setup(ep, req->req.dma + req->req.actual, in ast_udc_epn_kick_desc()
589 last = req->req.length - req->req.actual; in ast_udc_ep0_queue()
592 ast_udc_write(udc, req->req.dma + req->req.actual, in ast_udc_ep0_queue()
599 "dma", req->req.dma + req->req.actual, in ast_udc_ep0_queue()
[all …]
/linux/tools/testing/selftests/kvm/x86/
H A Dnested_tsc_scaling_test.c33 * This function checks whether the "actual" TSC frequency of a guest matches
35 * measurements, a difference of 1% between the actual and the expected value
38 static void compare_tsc_freq(uint64_t actual, uint64_t expected) in compare_tsc_freq() argument
46 TEST_ASSERT(thresh_low < actual, in compare_tsc_freq()
49 thresh_low, thresh_high, actual); in compare_tsc_freq()
50 TEST_ASSERT(thresh_high > actual, in compare_tsc_freq()
53 thresh_low, thresh_high, actual); in compare_tsc_freq()
/linux/drivers/pci/
H A Drom.c73 * pci_get_rom_size - obtain the actual size of the ROM image
77 * return: size of actual ROM image
79 * Determine the actual length of the ROM image.
81 * actual image size.
134 * actual ROM.
161 * size is much larger than the actual size of the ROM. in pci_map_rom()
/linux/tools/testing/selftests/mm/
H A Dhugetlb_reparenting_test.sh72 local actual
77 actual="$(cat "$actual_path")"
79 if [[ $actual -ge $(($expected - $tolerance)) ]] &&
80 [[ $actual -le $(($expected + $tolerance)) ]]; then
88 echo "actual = $((${actual%% *} / 1024 / 1024)) MB"
/linux/drivers/usb/renesas_usbhs/
H A Dfifo.c79 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()
585 pkt->length, pkt->actual, *is_done, pkt->zero); in usbhsf_pio_try_push()
673 buf = pkt->buf + pkt->actual; in usbhsf_pio_try_pop()
674 len = pkt->length - pkt->actual; in usbhsf_pio_try_pop()
679 * update actual length first here to decide disable pipe. in usbhsf_pio_try_pop()
[all …]
/linux/tools/testing/selftests/powerpc/pmu/ebb/
H A Dcycles_with_mmcr2_test.c25 uint64_t val, expected[2], actual; in cycles_with_mmcr2() local
53 actual = 0; in cycles_with_mmcr2()
66 actual = val; in cycles_with_mmcr2()
82 printf("Bad MMCR2 value seen is 0x%lx\n", actual); in cycles_with_mmcr2()
/linux/tools/testing/selftests/ftrace/test.d/trigger/
H A Dtrigger-hist-expressions.tc24 actual=`grep -o 'x=[[:digit:]]*' $trigger | awk -F= '{ print $2 }'`
26 if [ $actual != $3 ]; then
27 … fail "Failed hist trigger expression evaluation: Expression: $2 Expected: $3, Actual: $actual"
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dstruct_ops_autocreate.c20 * match the BTF of the actual struct bpf_testmod_ops defined in the in cant_load_full_object()
72 ASSERT_TRUE(bpf_program__autoload(skel->progs.test_1), "test_1 actual autoload"); in can_load_partial_object()
73 ASSERT_FALSE(bpf_program__autoload(skel->progs.test_2), "test_2 actual autoload"); in can_load_partial_object()
134 ASSERT_TRUE(bpf_program__autoload(skel->progs.foo), "foo actual autoload"); in autoload_and_shadow_vars()
135 ASSERT_FALSE(bpf_program__autoload(skel->progs.bar), "bar actual autoload"); in autoload_and_shadow_vars()
/linux/tools/testing/selftests/powerpc/dexcr/
H A Dlsdexcr.c77 bool actual = effective & DEXCR_PR_BIT(aspect->index); in print_aspect_config() local
78 bool expected = actual; /* Assume it's fine if we don't expect a specific set/clear value */ in print_aspect_config()
80 if (actual) in print_aspect_config()
125 if (actual != expected) in print_aspect_config()
126 printf(" : ! actual %s does not match config\n", aspect->name); in print_aspect_config()
/linux/lib/
H A Dtest_uuid.c
/linux/arch/s390/include/asm/
H A Ddebug.h149 * (if level <= actual debug level)
170 * (if level <= actual debug level)
192 * (if level <= actual debug level)
214 * debug area (if level <= actual debug level)
243 * (if level $<=$ actual debug level).
272 * (if level <= actual debug level)
294 * (if level <= actual debug level)
317 * (if level <= actual debug level)
340 * debug area (if level <= actual debug level)
372 * (if level <= actual debug level)
/linux/include/uapi/linux/
H A Dtee.h101 * with actual flags as defined by TEE_IOCTL_SHM_* above.
265 /* num_params tells the actual number of element in params */
296 /* num_params tells the actual number of element in params */
346 * receive when input, @num_params is the number of actual params
352 /* num_params tells the actual number of element in params */
374 /* num_params tells the actual number of element in params */
395 * with actual flags as defined by TEE_IOCTL_SHM_* above.
413 * with actual flags as defined by TEE_IOCTL_SHM_* above.
473 /* num_params tells the actual number of element in params */
/linux/drivers/i2c/busses/
H A 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()
/linux/drivers/clk/tegra/
H A Dclk-tegra124.c173 { 12000000, 1000000000, 83, 1, 1, 0 }, /* actual: 996.0 MHz */
174 { 13000000, 1000000000, 76, 1, 1, 0 }, /* actual: 988.0 MHz */
175 { 16800000, 1000000000, 59, 1, 1, 0 }, /* actual: 991.2 MHz */
176 { 19200000, 1000000000, 52, 1, 1, 0 }, /* actual: 998.4 MHz */
177 { 26000000, 1000000000, 76, 2, 1, 0 }, /* actual: 988.0 MHz */
208 { 13000000, 600000000, 92, 1, 2, 0 }, /* actual: 598.0 MHz */
209 { 16800000, 600000000, 71, 1, 2, 0 }, /* actual: 596.4 MHz */
210 { 19200000, 600000000, 62, 1, 2, 0 }, /* actual: 595.2 MHz */
211 { 26000000, 600000000, 92, 2, 2, 0 }, /* actual: 598.0 MHz */
262 { 13000000, 600000000, 92, 1, 2, 0 }, /* actual: 598.0 MHz */
[all …]
/linux/drivers/usb/musb/
H A Dmusb_gadget.c253 (int)(request->length - request->actual)); in txstate()
277 request_size = min_t(size_t, request->length - request->actual, in txstate()
293 request->dma + request->actual, request_size); in txstate()
361 request->dma + request->actual, in txstate()
374 request->dma + request->actual, in txstate()
387 (u8 *) (request->buf + request->actual)); in txstate()
388 request->actual += fifo_count; in txstate()
397 request->actual, request->length, in txstate()
466 request->actual += musb_ep->dma->actual_len; in musb_g_tx()
477 && (request->actual == request->length)) { in musb_g_tx()
[all …]
/linux/Documentation/ABI/removed/
H A Dsysfs-selinux-checkreqprot12 calls instead of the actual protection applied by the kernel.
18 actual protection), and Android and Linux distributions have been
23 check the actual protections being applied upon mmap/mprotect calls.
/linux/drivers/usb/class/
H A 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()
720 int actual; in usbtmc488_ioctl_trigger() local
734 &actual, file_data->timeout); in usbtmc488_ioctl_trigger()
1327 int actual; in send_request_dev_dep_msg_in() local
1354 &actual, file_data->timeout); in send_request_dev_dep_msg_in()
1381 int actual; in usbtmc_read() local
[all …]

12345678910>>...106