| /linux-6.15/tools/testing/selftests/bpf/ |
| H A D | test_progs.h | 236 bool ___ok = (actual); \ 243 bool ___ok = !(actual); \ 250 typeof(actual) ___act = (actual); \ 261 typeof(actual) ___act = (actual); \ 272 typeof(actual) ___act = (actual); \ 283 typeof(actual) ___act = (actual); \ 294 typeof(actual) ___act = (actual); \ 305 typeof(actual) ___act = (actual); \ 316 const char *___act = actual; \ 327 const char *___act = actual; \ [all …]
|
| /linux-6.15/drivers/cpufreq/ |
| H 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()
|
| /linux-6.15/tools/power/acpi/tools/acpidump/ |
| H A 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.15/drivers/mtd/spi-nor/ |
| H 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()
|
| /linux-6.15/tools/testing/selftests/kvm/x86/ |
| H A D | hwcr_msr_test.c | 17 uint64_t actual; in test_hwcr_bit() local 25 actual = vcpu_get_msr(vcpu, MSR_K7_HWCR); in test_hwcr_bit() 26 TEST_ASSERT(actual == (val & valid), in test_hwcr_bit() 28 bit, actual, (val & valid)); in test_hwcr_bit()
|
| H A 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.15/tools/testing/selftests/powerpc/pmu/ebb/ |
| H A 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.15/drivers/hwtracing/coresight/ |
| H 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 …]
|
| /linux-6.15/include/linux/ |
| H A 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.15/tools/testing/selftests/ftrace/test.d/trigger/ |
| H A D | trigger-hist-expressions.tc | 24 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-6.15/drivers/net/hamradio/ |
| H 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 …]
|
| /linux-6.15/drivers/usb/host/ |
| H 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()
|
| /linux-6.15/drivers/usb/gadget/udc/ |
| H 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 …]
|
| H 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 …]
|
| /linux-6.15/lib/ |
| H A 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.15/drivers/gpu/drm/msm/disp/mdp4/ |
| H A 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.15/drivers/gpu/drm/i915/display/ |
| H A D | intel_cdclk.c | 2587 change_cdclk = new_cdclk_state->actual.cdclk != old_cdclk_state->actual.cdclk; in intel_cdclk_pcode_pre_notify() 2598 cdclk = max(new_cdclk_state->actual.cdclk, old_cdclk_state->actual.cdclk); in intel_cdclk_pcode_pre_notify() 2626 update_cdclk = new_cdclk_state->actual.cdclk != old_cdclk_state->actual.cdclk; in intel_cdclk_pcode_post_notify() 2658 new_cdclk_state->actual.cdclk < old_cdclk_state->actual.cdclk; in intel_cdclk_is_decreasing_later() 2680 &new_cdclk_state->actual)) in intel_set_cdclk_pre_plane_update() 2690 if (new_cdclk_state->actual.cdclk >= old_cdclk_state->actual.cdclk) { in intel_set_cdclk_pre_plane_update() 2732 &new_cdclk_state->actual)) in intel_set_cdclk_post_plane_update() 2739 new_cdclk_state->actual.cdclk < old_cdclk_state->actual.cdclk) in intel_set_cdclk_post_plane_update() 3272 &old_cdclk_state->actual, in intel_modeset_calc_cdclk() 3294 &old_cdclk_state->actual, in intel_modeset_calc_cdclk() [all …]
|
| /linux-6.15/drivers/usb/renesas_usbhs/ |
| H 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 …]
|
| /linux-6.15/drivers/i2c/busses/ |
| H 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()
|
| /linux-6.15/drivers/net/can/slcan/ |
| H 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 …]
|
| /linux-6.15/tools/testing/selftests/powerpc/dexcr/ |
| H A D | lsdexcr.c | 77 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()
|
| /linux-6.15/drivers/usb/musb/ |
| H 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 …]
|
| /linux-6.15/drivers/net/wwan/t7xx/ |
| H 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()
|
| /linux-6.15/arch/um/drivers/ |
| H A 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.15/drivers/usb/gadget/udc/aspeed-vhub/ |
| H 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()
|