/drivers/media/pci/cx18/ |
H A D | cx18-av-firmware.c | 43 u32 expected, dl_control; local 62 expected = 0x0f000000 | ((u32)data[addr] << 16) | addr; 63 if (expected != dl_control) { 65 "failed: expected %#010x got %#010x\n", 66 FWFILE, expected, dl_control);
|
/drivers/char/tpm/ |
H A D | tpm_i2c_nuvoton.c | 270 int expected, status, burst_count, retries, size = 0; local 308 * convert number of expected bytes field from big endian 32 bit 311 expected = be32_to_cpu(*(__be32 *) (buf + 2)); 312 if (expected > count) { 313 dev_err(dev, "%s() expected > count\n", __func__); 318 expected - size); 320 if (rc < 0 || size < expected) {
|
H A D | tpm_i2c_stm_st33.c | 535 int expected; local 551 expected = be32_to_cpu(*(__be32 *)(buf + 2)); 552 if (expected > count) { 558 expected - TPM_HEADER_SIZE); 559 if (size < expected) {
|
H A D | tpm_i2c_infineon.c | 56 /* expected value for DIDVID register */ 439 int expected, status; local 453 expected = be32_to_cpu(*(__be32 *)(buf + 2)); 454 if ((size_t) expected > count) { 460 expected - TPM_HEADER_SIZE); 461 if (size < expected) {
|
H A D | tpm_tis.c | 234 int expected, status; local 248 expected = be32_to_cpu(*(__be32 *) (buf + 2)); 249 if (expected > count) { 256 expected - TPM_HEADER_SIZE)) < expected) {
|
/drivers/xen/xenbus/ |
H A D | xenbus_probe_frontend.c | 351 static void xenbus_reset_wait_for_backend(char *be, int expected) argument 355 backend_state == expected, 5 * HZ);
|
/drivers/infiniband/hw/ipath/ |
H A D | ipath_intr.c | 533 int expected; local 555 expected = test_bit(IPATH_SDMA_ABORTING, &dd->ipath_sdma_status); 557 if (!expected) 564 int expected; local 571 expected = test_bit(IPATH_SDMA_ABORTING, 574 expected ? "expected" : "unexpected"); 578 if (!expected) 1190 * GPIO status bit 2 is set, and we expected it.
|
H A D | ipath_driver.c | 895 int expected; local 899 expected = (errs[i].err != INFINIPATH_E_SDMADISABLED) ? 0 : 901 if ((err & errs[i].err) && !expected) 1186 * for all non-expected packets, whether it "needs"
|
/drivers/media/v4l2-core/ |
H A D | videobuf2-dma-contig.c | 73 dma_addr_t expected = sg_dma_address(sgt->sgl); local 78 if (sg_dma_address(s) != expected) 80 expected = sg_dma_address(s) + sg_dma_len(s);
|
/drivers/misc/mei/ |
H A D | hw-txe.c | 217 * @expected: expected aliveness value 221 * Return: > 0 if the expected value was received, -ETIME otherwise 223 static int mei_txe_aliveness_poll(struct mei_device *dev, u32 expected) argument 230 if (hw->aliveness == expected) { 251 * @expected: expected aliveness value 257 static int mei_txe_aliveness_wait(struct mei_device *dev, u32 expected) argument 266 if (hw->aliveness == expected) 275 ret = hw->aliveness == expected [all...] |
/drivers/dma/ |
H A D | dmatest.c | 268 u8 expected = pattern | (~counter & PATTERN_COUNT_MASK); local 273 thread_name, index, expected, actual); 277 thread_name, index, expected, actual); 280 thread_name, index, expected, actual); 283 thread_name, index, expected, actual); 293 u8 expected; local 301 expected = pattern | (~counter & PATTERN_COUNT_MASK); 302 if (actual != expected) {
|
/drivers/gpu/drm/i915/ |
H A D | i915_gem_gtt.c | 634 u32 expected; local 638 expected = (GEN6_PDE_ADDR_ENCODE(pt_addr) | GEN6_PDE_VALID); 640 if (pd_entry != expected) 644 expected);
|
H A D | i915_drv.h | 2005 * compared against an expected value. If the command does not match 2006 * the expected value, the parser rejects it. Only valid if flags has 2017 u32 expected; member in struct:drm_i915_cmd_descriptor::__anon704
|
/drivers/mtd/chips/ |
H A D | cfi_cmdset_0002.c | 486 * the erase was ongoing could be inconsistent with the expected values 767 static int __xipram chip_good(struct map_info *map, unsigned long addr, map_word expected) argument 775 map_word_equal(map, curd, expected);
|
/drivers/usb/misc/ |
H A D | usbtest.c | 349 u8 expected; local 361 expected = 0; 369 expected = i % 63; 373 expected = !*buf; 376 if (*buf == expected) 378 ERROR(tdev, "buf[%d] = %d (not %d)\n", i, *buf, expected); 404 int expected, 452 if (expected != retval) 455 label, iterations, retval, expected); 573 * failure if retval is as we expected 399 simple_io( struct usbtest_dev *tdev, struct urb *urb, int iterations, int vary, int expected, const char *label ) argument 801 int expected = udev->actconfig->desc.bConfigurationValue; local 1016 int expected; member in struct:subcase 1169 int expected = 0; local [all...] |
H A D | ftdi-elan.c | 192 int expected; member in struct:usb_ftdi 360 ftdi->expected = 4; 418 ftdi->expected = 4; 454 ftdi->expected = 4; 873 ftdi->expected = 4; 877 ftdi->expected = 4 + payload; 889 ftdi->expected = 4; 893 ftdi->expected = 4 + payload; 904 ftdi->expected = 4; 913 ftdi->expected [all...] |
/drivers/hwmon/ |
H A D | w83795.c | 1920 int bank, vendor_id, device_id, expected, i2c_addr, config; local 1937 expected = bank & 0x80 ? 0x5c : 0xa3; 1938 if (vendor_id != expected) {
|
/drivers/net/ethernet/sfc/ |
H A D | ef10.c | 1745 unsigned int actual, unsigned int expected) 1747 unsigned int dropped = (actual - expected) & rx_queue->ptr_mask; 1751 "dropped %d events (index=%d expected=%d)\n", 1752 dropped, actual, expected); 1744 efx_ef10_handle_rx_bad_lbits(struct efx_rx_queue *rx_queue, unsigned int actual, unsigned int expected) argument
|
H A D | farch.c | 901 /* Count errors that are not in MAC stats. Ignore expected 914 /* TOBE_DISC is expected on unicast mismatches; don't print out an 952 unsigned expected, dropped; local 961 expected = rx_queue->removed_count & rx_queue->ptr_mask; 962 dropped = (index - expected) & rx_queue->ptr_mask; 964 "dropped %d events (index=%d expected=%d)\n", 965 dropped, index, expected);
|
/drivers/scsi/ |
H A D | osst.c | 667 printk(OSST_DEB_MSG "%s:D: Skipping frame, wrt_pass_cntr %d (expected %d)\n", 691 printk(OSST_DEB_MSG "%s:D: Skipping frame, sequence number %u (expected %d)\n", 1673 int expected = 0; 1688 expected = frame+skip+STp->cur_frames+pending; 1743 if (STp->first_frame_position != expected) { 1744 printk(KERN_ERR "%s:A: Actual position %d - expected %d\n", 1745 name, STp->first_frame_position, expected); 4266 printk(OSST_DEB_MSG "%s:D: No EOD frame found where expected.\n", name); 1671 int expected = 0; local
|
/drivers/block/drbd/ |
H A D | drbd_main.c | 220 /* if (s & RQ_DONE): not expected */ 221 /* if (!(s & RQ_NET_MASK)): not expected */ 233 drbd_err(connection, "BAD! BarrierAck #%u received, expected #%u!\n", 239 drbd_err(connection, "BAD! BarrierAck #%u received with n_writes=%u, expected n_writes=%u!\n", 1975 drbd_err(device, "ASSERT FAILED: receiver t_state == %d expected 0.\n", 2238 bool expected; local 2240 expected = 2246 if (!expected) 3322 drbd_err(device, "unexpected bm_bytes_per_bit: %u (expected %u)\n", 3345 drbd_err(device, "unexpected bm_offset: %d (expected [all...] |
/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_main.c | 1270 u32 expected, u32 poll_count) 1275 while ((val = REG_RD(bp, reg)) != expected && cur_cnt--) 1269 bnx2x_flr_clnup_reg_poll(struct bnx2x *bp, u32 reg, u32 expected, u32 poll_count) argument
|
H A D | bnx2x.h | 2175 static inline u32 reg_poll(struct bnx2x *bp, u32 reg, u32 expected, int ms, argument 2182 if (val == expected)
|