/linux/tools/testing/selftests/bpf/ |
A D | test_progs.h | 167 #define ASSERT_TRUE(actual, name) ({ \ argument 169 bool ___ok = (actual); \ 176 bool ___ok = !(actual); \ 183 typeof(actual) ___act = (actual); \ 194 typeof(actual) ___act = (actual); \ 205 typeof(actual) ___act = (actual); \ 216 typeof(actual) ___act = (actual); \ 227 typeof(actual) ___act = (actual); \ 238 typeof(actual) ___act = (actual); \ 249 const char *___act = actual; \ [all …]
|
/linux/drivers/cpufreq/ |
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/drivers/mtd/spi-nor/ |
A D | sst.c | 98 size_t actual = 0; in sst_write() local 127 actual++; in sst_write() 131 for (; actual < len - 1; actual += 2) { in sst_write() 135 ret = spi_nor_write_data(nor, to, 2, buf + actual); in sst_write() 156 if (actual != len) { in sst_write() 162 ret = spi_nor_write_data(nor, to, 1, buf + actual); in sst_write() 170 actual += 1; in sst_write() 175 *retlen += actual; in sst_write()
|
/linux/tools/power/acpi/tools/acpidump/ |
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/drivers/usb/misc/ |
A D | usb_u132.h | 71 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/drivers/usb/host/ |
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/drivers/net/hamradio/ |
A D | 6pack.c | 142 int actual, when = sp->slottime; in sp_xmit_on_air() local 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 219 sp->xleft = count - actual; in sp_encaps() 397 int actual; in sixpack_write_wakeup() local 413 sp->xleft -= actual; in sixpack_write_wakeup() 414 sp->xhead += actual; in sixpack_write_wakeup() 851 int actual; in decode_prio_command() local 877 sp->xleft -= actual; in decode_prio_command() [all …]
|
/linux/drivers/staging/emxx_udc/ |
A 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() 690 p_buffer += req->req.actual; in _nbu2ss_ep0_in_transfer() 738 req->req.actual += result; in _nbu2ss_ep0_out_transfer() 747 req->req.actual += result; in _nbu2ss_ep0_out_transfer() 806 p_buffer += req->req.actual; in _nbu2ss_out_dma() 892 req->req.actual += result; in _nbu2ss_epn_out_pio() 999 if (req->req.actual == 0) in _nbu2ss_in_dma() 1033 p_buffer += req->req.actual; in _nbu2ss_in_dma() 1141 if (req->req.actual == 0) { in _nbu2ss_epn_in_transfer() [all …]
|
/linux/include/linux/ |
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/drivers/usb/renesas_usbhs/ |
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/tools/testing/selftests/ftrace/test.d/trigger/ |
A 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/drivers/gpu/drm/msm/disp/mdp4/ |
A D | mdp4_lvds_connector.c | 65 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()
|
/linux/lib/ |
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/drivers/i2c/busses/ |
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/tools/testing/selftests/kvm/x86_64/ |
A D | vmx_nested_tsc_scaling_test.c | 40 static void compare_tsc_freq(uint64_t actual, uint64_t expected) in compare_tsc_freq() argument 48 TEST_ASSERT(thresh_low < actual, in compare_tsc_freq() 51 thresh_low, thresh_high, actual); in compare_tsc_freq() 52 TEST_ASSERT(thresh_high > actual, in compare_tsc_freq() 55 thresh_low, thresh_high, actual); in compare_tsc_freq()
|
/linux/drivers/usb/musb/ |
A D | musb_gadget.c | 360 request->dma + request->actual, in txstate() 373 request->dma + request->actual, in txstate() 387 request->actual += fifo_count; in txstate() 568 request->dma + request->actual, in rxstate() 649 request->actual, in rxstate() 669 + request->actual, in rxstate() 692 request->actual, in rxstate() 697 request->actual, in rxstate() 719 + request->actual, in rxstate() 765 request->actual += fifo_count; in rxstate() [all …]
|
/linux/drivers/gpu/drm/msm/edp/ |
A D | edp_connector.c | 65 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/tools/testing/selftests/powerpc/pmu/ebb/ |
A D | cycles_with_mmcr2_test.c | 25 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()
|
/linux/drivers/usb/gadget/udc/aspeed-vhub/ |
A D | ep0.c | 192 req->req.actual, req->req.length); in ast_vhub_ep0_do_send() 203 chunk = req->req.length - req->req.actual; in ast_vhub_ep0_do_send() 210 chunk, req->last_desc, req->req.actual, ep->ep.maxpacket); in ast_vhub_ep0_do_send() 217 memcpy(ep->buf, req->req.buf + req->req.actual, chunk); in ast_vhub_ep0_do_send() 225 req->req.actual += chunk; in ast_vhub_ep0_do_send() 243 remain = req->req.length - req->req.actual; in ast_vhub_ep0_do_receive() 255 memcpy(req->req.buf + req->req.actual, ep->buf, len); in ast_vhub_ep0_do_receive() 256 req->req.actual += len; in ast_vhub_ep0_do_receive() 393 u_req->actual = 0; in ast_vhub_ep0_queue()
|
/linux/drivers/gpu/drm/i915/display/ |
A D | intel_cdclk.c | 2032 &new_cdclk_state->actual)) in intel_set_cdclk_pre_plane_update() 2036 old_cdclk_state->actual.cdclk <= new_cdclk_state->actual.cdclk) { in intel_set_cdclk_pre_plane_update() 2061 &new_cdclk_state->actual)) in intel_set_cdclk_post_plane_update() 2065 old_cdclk_state->actual.cdclk > new_cdclk_state->actual.cdclk) { in intel_set_cdclk_post_plane_update() 2425 cdclk_state->actual.vco = vco; in skl_modeset_calc_cdclk() 2463 cdclk_state->actual.vco = vco; in bxt_modeset_calc_cdclk() 2563 &new_cdclk_state->actual)) { in intel_modeset_calc_cdclk() 2584 &old_cdclk_state->actual, in intel_modeset_calc_cdclk() 2585 &new_cdclk_state->actual)) { in intel_modeset_calc_cdclk() 2601 &old_cdclk_state->actual, in intel_modeset_calc_cdclk() [all …]
|
/linux/drivers/usb/gadget/udc/ |
A D | udc-xilinx.c | 386 src = req->usb_req.dma + req->usb_req.actual; in xudc_dma_send() 440 dst = req->usb_req.dma + req->usb_req.actual; in xudc_dma_receive() 634 req->usb_req.actual, req->usb_req.length); in xudc_read_fifo() 641 req->usb_req.actual, in xudc_read_fifo() 693 req->usb_req.actual += length; in xudc_write_fifo() 1015 req->usb_req.actual = 0; in __xudc_ep0_queue() 1097 _req->actual = 0; in xudc_ep_queue() 1822 req->usb_req.actual = req->usb_req.length; in xudc_ep0_out() 1832 req->usb_req.actual = req->usb_req.actual + bytes_to_rx; in xudc_ep0_out() 1887 req->usb_req.actual = req->usb_req.length; in xudc_ep0_in() [all …]
|
/linux/drivers/usb/class/ |
A 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() 714 int actual; in usbtmc488_ioctl_trigger() local 1315 int actual; in send_request_dev_dep_msg_in() local 1369 int actual; in usbtmc_read() local 1404 actual = 0; in usbtmc_read() 1479 actual = remaining; in usbtmc_read() 1498 done += actual; in usbtmc_read() 1654 int actual = 0; in usbtmc_ioctl_clear() local [all …]
|
/linux/arch/um/drivers/ |
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/tools/testing/selftests/net/ |
A D | rxtimestamp.c | 180 struct tstamps actual = {}; in do_recv() local 214 actual.tstamp = true; in do_recv() 217 actual.tstampns = true; in do_recv() 221 actual.swtstamp = !!ts->ts[0].tv_sec; in do_recv() 224 actual.hwtstamp = !!ts->ts[2].tv_sec; in do_recv() 233 if (expected.field != actual.field) { \ in do_recv()
|
/linux/drivers/net/can/ |
A D | slcan.c | 254 int actual, i; in slc_encaps() local 304 actual = sl->tty->ops->write(sl->tty, sl->xbuff, pos - sl->xbuff); in slc_encaps() 305 sl->xleft = (pos - sl->xbuff) - actual; in slc_encaps() 306 sl->xhead = sl->xbuff + actual; in slc_encaps() 314 int actual; in slcan_transmit() local 333 actual = sl->tty->ops->write(sl->tty, sl->xhead, sl->xleft); in slcan_transmit() 334 sl->xleft -= actual; in slcan_transmit() 335 sl->xhead += actual; in slcan_transmit()
|