/linux-6.6.21/tools/testing/selftests/bpf/ |
D | test_progs.h | 223 #define ASSERT_TRUE(actual, name) ({ \ argument 225 bool ___ok = (actual); \ 230 #define ASSERT_FALSE(actual, name) ({ \ argument 232 bool ___ok = !(actual); \ 237 #define ASSERT_EQ(actual, expected, name) ({ \ argument 239 typeof(actual) ___act = (actual); \ 248 #define ASSERT_NEQ(actual, expected, name) ({ \ argument 250 typeof(actual) ___act = (actual); \ 259 #define ASSERT_LT(actual, expected, name) ({ \ argument 261 typeof(actual) ___act = (actual); \ [all …]
|
/linux-6.6.21/drivers/cpufreq/ |
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()
|
/linux-6.6.21/drivers/mtd/spi-nor/ |
D | sst.c | 130 size_t actual = 0; in sst_nor_write() local 159 actual++; in sst_nor_write() 163 for (; actual < len - 1; actual += 2) { in sst_nor_write() 167 ret = spi_nor_write_data(nor, to, 2, buf + actual); in sst_nor_write() 188 if (actual != len) { in sst_nor_write() 194 ret = spi_nor_write_data(nor, to, 1, buf + actual); in sst_nor_write() 202 actual += 1; in sst_nor_write() 207 *retlen += actual; in sst_nor_write()
|
/linux-6.6.21/tools/power/acpi/tools/acpidump/ |
D | apfiles.c | 109 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-6.6.21/tools/testing/selftests/powerpc/pmu/ebb/ |
D | cycles_with_mmcr2_test.c | 25 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-6.6.21/include/linux/ |
D | bcm963xx_nvram.h | 84 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-6.6.21/tools/testing/selftests/ftrace/test.d/trigger/ |
D | trigger-hist-expressions.tc | 23 actual=`grep -o 'x=[[:digit:]]*' $trigger | awk -F= '{ print $2 }'` 25 if [ $actual != $3 ]; then 26 … fail "Failed hist trigger expression evaluation: Expression: $2 Expected: $3, Actual: $actual"
|
/linux-6.6.21/drivers/usb/host/ |
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()
|
/linux-6.6.21/drivers/usb/gadget/udc/ |
D | renesas_usbf.c | 566 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 …]
|
D | aspeed_udc.c | 287 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-6.6.21/lib/ |
D | test_uuid.c | 46 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-6.6.21/drivers/gpu/drm/msm/disp/mdp4/ |
D | mdp4_lvds_connector.c | 66 long actual, requested; in mdp4_lvds_connector_mode_valid() local 69 actual = mdp4_lcdc_round_pixclk(encoder, requested); in mdp4_lvds_connector_mode_valid() 71 DBG("requested=%ld, actual=%ld", requested, actual); in mdp4_lvds_connector_mode_valid() 73 if (actual != requested) in mdp4_lvds_connector_mode_valid()
|
/linux-6.6.21/drivers/net/hamradio/ |
D | 6pack.c | 143 int actual, when = sp->slottime; in sp_xmit_on_air() local 152 actual = sp->tty->ops->write(sp->tty, sp->xbuff, sp->status2); in sp_xmit_on_air() 153 sp->xleft -= actual; in sp_xmit_on_air() 154 sp->xhead += actual; in sp_xmit_on_air() 168 int actual, count; in sp_encaps() local 219 actual = sp->tty->ops->write(sp->tty, sp->xbuff, count); in sp_encaps() 220 sp->xleft = count - actual; in sp_encaps() 221 sp->xhead = sp->xbuff + actual; in sp_encaps() 398 int actual; in sixpack_write_wakeup() local 413 actual = tty->ops->write(tty, sp->xhead, sp->xleft); in sixpack_write_wakeup() [all …]
|
/linux-6.6.21/tools/testing/selftests/kvm/x86_64/ |
D | vmx_nested_tsc_scaling_test.c | 37 static void compare_tsc_freq(uint64_t actual, uint64_t expected) in compare_tsc_freq() argument 45 TEST_ASSERT(thresh_low < actual, in compare_tsc_freq() 48 thresh_low, thresh_high, actual); in compare_tsc_freq() 49 TEST_ASSERT(thresh_high > actual, in compare_tsc_freq() 52 thresh_low, thresh_high, actual); in compare_tsc_freq()
|
/linux-6.6.21/drivers/staging/emxx_udc/ |
D | emxx_udc.c | 174 udc->ep0_req.req.actual = 0; in _nbu2ss_create_ep0_packet() 495 count = req->req.actual % 4; in _nbu2ss_dma_unmap_single() 498 p += (req->req.actual - count); in _nbu2ss_dma_unmap_single() 507 req->req.actual & 0xfffffffc); in _nbu2ss_dma_unmap_single() 528 p += (req->req.actual - count); in _nbu2ss_dma_unmap_single() 669 if (req->req.actual == req->req.length) { in _nbu2ss_ep0_in_transfer() 670 if ((req->req.actual % EP0_PACKETSIZE) == 0) { in _nbu2ss_ep0_in_transfer() 688 i_remain_size = req->req.length - req->req.actual; in _nbu2ss_ep0_in_transfer() 690 p_buffer += req->req.actual; in _nbu2ss_ep0_in_transfer() 729 i_remain_size = req->req.length - req->req.actual; in _nbu2ss_ep0_out_transfer() [all …]
|
/linux-6.6.21/drivers/usb/renesas_usbhs/ |
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() 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() 683 pkt->actual += total_len; in usbhsf_pio_try_pop() [all …]
|
/linux-6.6.21/drivers/i2c/busses/ |
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()
|
/linux-6.6.21/drivers/net/can/slcan/ |
D | slcan-core.c | 484 int actual, i; in slcan_encaps() local 537 actual = sl->tty->ops->write(sl->tty, sl->xbuff, pos - sl->xbuff); in slcan_encaps() 538 sl->xleft = (pos - sl->xbuff) - actual; in slcan_encaps() 539 sl->xhead = sl->xbuff + actual; in slcan_encaps() 546 int actual; in slcan_transmit() local 575 actual = sl->tty->ops->write(sl->tty, sl->xhead, sl->xleft); in slcan_transmit() 576 sl->xleft -= actual; in slcan_transmit() 577 sl->xhead += actual; in slcan_transmit() 628 int ret, actual, n; in slcan_transmit_cmd() local 638 actual = sl->tty->ops->write(sl->tty, sl->xbuff, n); in slcan_transmit_cmd() [all …]
|
/linux-6.6.21/drivers/usb/musb/ |
D | musb_gadget.c | 252 (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-6.6.21/drivers/gpu/drm/i915/display/ |
D | intel_cdclk.c | 2369 if (!intel_cdclk_changed(&old_cdclk_state->actual, in intel_cdclk_pcode_pre_notify() 2370 &new_cdclk_state->actual) && in intel_cdclk_pcode_pre_notify() 2378 change_cdclk = new_cdclk_state->actual.cdclk != old_cdclk_state->actual.cdclk; in intel_cdclk_pcode_pre_notify() 2389 cdclk = max(new_cdclk_state->actual.cdclk, old_cdclk_state->actual.cdclk); in intel_cdclk_pcode_pre_notify() 2415 voltage_level = new_cdclk_state->actual.voltage_level; in intel_cdclk_pcode_post_notify() 2417 update_cdclk = new_cdclk_state->actual.cdclk != old_cdclk_state->actual.cdclk; in intel_cdclk_pcode_post_notify() 2426 cdclk = new_cdclk_state->actual.cdclk; in intel_cdclk_pcode_post_notify() 2458 if (!intel_cdclk_changed(&old_cdclk_state->actual, in intel_set_cdclk_pre_plane_update() 2459 &new_cdclk_state->actual)) in intel_set_cdclk_pre_plane_update() 2466 old_cdclk_state->actual.cdclk <= new_cdclk_state->actual.cdclk) { in intel_set_cdclk_pre_plane_update() [all …]
|
/linux-6.6.21/arch/um/drivers/ |
D | slip_common.c | 48 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-6.6.21/drivers/usb/gadget/udc/aspeed-vhub/ |
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()
|
/linux-6.6.21/drivers/usb/class/ |
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() 332 buffer, actual, true); in usbtmc_ioctl_abort_bulk_in_tag() 342 if (actual == USBTMC_BUFSIZE) in usbtmc_ioctl_abort_bulk_in_tag() 714 int actual; in usbtmc488_ioctl_trigger() local 728 &actual, file_data->timeout); in usbtmc488_ioctl_trigger() 1315 int actual; in send_request_dev_dep_msg_in() local 1342 &actual, file_data->timeout); in send_request_dev_dep_msg_in() 1369 int actual; in usbtmc_read() local [all …]
|
/linux-6.6.21/tools/testing/selftests/ftrace/test.d/ftrace/ |
D | func-filter-glob.tc | 13 cut -f1 -d" " set_ftrace_filter > $TMPDIR/actual 15 DIFF=`diff $TMPDIR/actual $TMPDIR/expected`
|
D | func_set_ftrace_file.tc | 118 cat set_ftrace_filter | grep -v '#' | cut -d' ' -f1 | cut -d':' -f1 | sort -u > $TMPDIR/actual 119 DIFF=`diff $TMPDIR/actual $TMPDIR/expected` 152 rm $TMPDIR/actual
|