inbuf 45 arch/alpha/boot/misc.c static uch *inbuf; /* input buffer */ inbuf 61 arch/alpha/boot/misc.c #define get_byte() (inptr < insize ? inbuf[inptr++] : fill_inbuf()) inbuf 112 arch/alpha/boot/misc.c inbuf = input_data; inbuf 116 arch/alpha/boot/misc.c return inbuf[0]; inbuf 122 arch/arm/vdso/vdsomunge.c const void *inbuf; inbuf 145 arch/arm/vdso/vdsomunge.c inbuf = mmap(NULL, stat.st_size, PROT_READ, MAP_PRIVATE, infd, 0); inbuf 146 arch/arm/vdso/vdsomunge.c if (inbuf == MAP_FAILED) inbuf 151 arch/arm/vdso/vdsomunge.c inhdr = inbuf; inbuf 193 arch/arm/vdso/vdsomunge.c memcpy(outbuf, inbuf, stat.st_size); inbuf 35 arch/nios2/boot/compressed/misc.c static uch *inbuf; /* input buffer */ inbuf 52 arch/nios2/boot/compressed/misc.c #define get_byte() (inptr < insize ? inbuf[inptr++] : fill_inbuf()) inbuf 123 arch/nios2/boot/compressed/misc.c inbuf = input_data; inbuf 126 arch/nios2/boot/compressed/misc.c return inbuf[0]; inbuf 174 arch/parisc/kernel/kgdb.c int err_code, char *inbuf, char *outbuf, inbuf 178 arch/parisc/kernel/kgdb.c char *p = inbuf + 1; inbuf 180 arch/parisc/kernel/kgdb.c switch (inbuf[0]) { inbuf 117 arch/powerpc/boot/decompress.c long partial_decompress(void *inbuf, unsigned long input_size, inbuf 133 arch/powerpc/boot/decompress.c ret = __decompress(inbuf, input_size, NULL, flush, outbuf, inbuf 265 arch/powerpc/boot/ops.h long partial_decompress(void *inbuf, unsigned long input_size, void *outbuf, inbuf 65 arch/powerpc/include/asm/hvsi.h unsigned char inbuf[HVSI_INBUF_SIZE]; inbuf 109 arch/x86/platform/olpc/olpc.c static int olpc_xo1_ec_cmd(u8 cmd, u8 *inbuf, size_t inlen, u8 *outbuf, inbuf 150 arch/x86/platform/olpc/olpc.c if (inbuf && inlen) { inbuf 153 arch/x86/platform/olpc/olpc.c pr_devel("olpc-ec: sending cmd arg 0x%x\n", inbuf[i]); inbuf 154 arch/x86/platform/olpc/olpc.c outb(inbuf[i], 0x68); inbuf 303 crypto/cast5_generic.c void __cast5_encrypt(struct cast5_ctx *c, u8 *outbuf, const u8 *inbuf) inbuf 305 crypto/cast5_generic.c const __be32 *src = (const __be32 *)inbuf; inbuf 355 crypto/cast5_generic.c static void cast5_encrypt(struct crypto_tfm *tfm, u8 *outbuf, const u8 *inbuf) inbuf 357 crypto/cast5_generic.c __cast5_encrypt(crypto_tfm_ctx(tfm), outbuf, inbuf); inbuf 360 crypto/cast5_generic.c void __cast5_decrypt(struct cast5_ctx *c, u8 *outbuf, const u8 *inbuf) inbuf 362 crypto/cast5_generic.c const __be32 *src = (const __be32 *)inbuf; inbuf 399 crypto/cast5_generic.c static void cast5_decrypt(struct crypto_tfm *tfm, u8 *outbuf, const u8 *inbuf) inbuf 401 crypto/cast5_generic.c __cast5_decrypt(crypto_tfm_ctx(tfm), outbuf, inbuf); inbuf 176 crypto/cast6_generic.c void __cast6_encrypt(struct cast6_ctx *c, u8 *outbuf, const u8 *inbuf) inbuf 178 crypto/cast6_generic.c const __be32 *src = (const __be32 *)inbuf; inbuf 209 crypto/cast6_generic.c static void cast6_encrypt(struct crypto_tfm *tfm, u8 *outbuf, const u8 *inbuf) inbuf 211 crypto/cast6_generic.c __cast6_encrypt(crypto_tfm_ctx(tfm), outbuf, inbuf); inbuf 214 crypto/cast6_generic.c void __cast6_decrypt(struct cast6_ctx *c, u8 *outbuf, const u8 *inbuf) inbuf 216 crypto/cast6_generic.c const __be32 *src = (const __be32 *)inbuf; inbuf 247 crypto/cast6_generic.c static void cast6_decrypt(struct crypto_tfm *tfm, u8 *outbuf, const u8 *inbuf) inbuf 249 crypto/cast6_generic.c __cast6_decrypt(crypto_tfm_ctx(tfm), outbuf, inbuf); inbuf 313 crypto/drbg.c u8 *inbuf, u32 inbuflen, inbuf 1821 crypto/drbg.c u8 *inbuf, u32 inlen, inbuf 1828 crypto/drbg.c if (inbuf) { inbuf 1830 crypto/drbg.c sg_set_buf(sg_in, inbuf, inlen); inbuf 509 crypto/tgr192.c static int tgr192_update(struct shash_desc *desc, const u8 *inbuf, inbuf 519 crypto/tgr192.c if (!inbuf) { inbuf 524 crypto/tgr192.c tctx->hash[tctx->count++] = *inbuf++; inbuf 534 crypto/tgr192.c tgr192_transform(tctx, inbuf); inbuf 538 crypto/tgr192.c inbuf += 64; inbuf 541 crypto/tgr192.c tctx->hash[tctx->count++] = *inbuf++; inbuf 1711 drivers/block/mtip32xx/mtip32xx.c u8 *inbuf = NULL; inbuf 1747 drivers/block/mtip32xx/mtip32xx.c inbuf = memdup_user(buf + intotal, taskin); inbuf 1748 drivers/block/mtip32xx/mtip32xx.c if (IS_ERR(inbuf)) { inbuf 1749 drivers/block/mtip32xx/mtip32xx.c err = PTR_ERR(inbuf); inbuf 1750 drivers/block/mtip32xx/mtip32xx.c inbuf = NULL; inbuf 1753 drivers/block/mtip32xx/mtip32xx.c inbuf_dma = dma_map_single(&dd->pdev->dev, inbuf, inbuf 1918 drivers/block/mtip32xx/mtip32xx.c if (copy_to_user(buf + intotal, inbuf, taskin)) { inbuf 1931 drivers/block/mtip32xx/mtip32xx.c kfree(inbuf); inbuf 180 drivers/char/virtio_console.c struct port_buffer *inbuf; inbuf 473 drivers/char/virtio_console.c if (port->inbuf) inbuf 474 drivers/char/virtio_console.c return port->inbuf; inbuf 524 drivers/char/virtio_console.c port->inbuf = NULL; inbuf 539 drivers/char/virtio_console.c port->inbuf = get_inbuf(port); inbuf 540 drivers/char/virtio_console.c if (port->inbuf) inbuf 671 drivers/char/virtio_console.c buf = port->inbuf; inbuf 693 drivers/char/virtio_console.c port->inbuf = NULL; inbuf 1378 drivers/char/virtio_console.c port->inbuf = NULL; inbuf 1766 drivers/char/virtio_console.c port->inbuf = get_inbuf(port); inbuf 287 drivers/crypto/nx/nx-842-pseries.c unsigned long inbuf, outbuf; inbuf 295 drivers/crypto/nx/nx-842-pseries.c inbuf = (unsigned long)in; inbuf 296 drivers/crypto/nx/nx-842-pseries.c if (check_constraints(inbuf, &inlen, true)) inbuf 322 drivers/crypto/nx/nx-842-pseries.c if ((inbuf & NX842_HW_PAGE_MASK) == inbuf 323 drivers/crypto/nx/nx-842-pseries.c ((inbuf + inlen - 1) & NX842_HW_PAGE_MASK)) { inbuf 325 drivers/crypto/nx/nx-842-pseries.c op.in = nx842_get_pa((void *)inbuf); inbuf 329 drivers/crypto/nx/nx-842-pseries.c nx842_build_scatterlist(inbuf, inlen, &slin); inbuf 417 drivers/crypto/nx/nx-842-pseries.c unsigned long inbuf, outbuf; inbuf 426 drivers/crypto/nx/nx-842-pseries.c inbuf = (unsigned long)in; inbuf 427 drivers/crypto/nx/nx-842-pseries.c if (check_constraints(inbuf, &inlen, true)) inbuf 454 drivers/crypto/nx/nx-842-pseries.c if ((inbuf & NX842_HW_PAGE_MASK) == inbuf 455 drivers/crypto/nx/nx-842-pseries.c ((inbuf + inlen - 1) & NX842_HW_PAGE_MASK)) { inbuf 457 drivers/crypto/nx/nx-842-pseries.c op.in = nx842_get_pa((void *)inbuf); inbuf 461 drivers/crypto/nx/nx-842-pseries.c nx842_build_scatterlist(inbuf, inlen, &slin); inbuf 149 drivers/hid/i2c-hid/i2c-hid-core.c u8 *inbuf; /* Input buffer */ inbuf 481 drivers/hid/i2c-hid/i2c-hid-core.c ret = i2c_master_recv(ihid->client, ihid->inbuf, size); inbuf 491 drivers/hid/i2c-hid/i2c-hid-core.c ret_size = ihid->inbuf[0] | ihid->inbuf[1] << 8; inbuf 508 drivers/hid/i2c-hid/i2c-hid-core.c ihid->inbuf[0] = size & 0xff; inbuf 509 drivers/hid/i2c-hid/i2c-hid-core.c ihid->inbuf[1] = size >> 8; inbuf 518 drivers/hid/i2c-hid/i2c-hid-core.c i2c_hid_dbg(ihid, "input: %*ph\n", ret_size, ihid->inbuf); inbuf 521 drivers/hid/i2c-hid/i2c-hid-core.c hid_input_report(ihid->hid, HID_INPUT_REPORT, ihid->inbuf + 2, inbuf 565 drivers/hid/i2c-hid/i2c-hid-core.c kfree(ihid->inbuf); inbuf 569 drivers/hid/i2c-hid/i2c-hid-core.c ihid->inbuf = NULL; inbuf 586 drivers/hid/i2c-hid/i2c-hid-core.c ihid->inbuf = kzalloc(report_size, GFP_KERNEL); inbuf 591 drivers/hid/i2c-hid/i2c-hid-core.c if (!ihid->inbuf || !ihid->rawbuf || !ihid->argsbuf || !ihid->cmdbuf) { inbuf 857 drivers/hid/usbhid/hid-core.c usbhid->inbuf = usb_alloc_coherent(dev, usbhid->bufsize, GFP_KERNEL, inbuf 864 drivers/hid/usbhid/hid-core.c if (!usbhid->inbuf || !usbhid->outbuf || !usbhid->cr || inbuf 975 drivers/hid/usbhid/hid-core.c usb_free_coherent(dev, usbhid->bufsize, usbhid->inbuf, usbhid->inbuf_dma); inbuf 1137 drivers/hid/usbhid/hid-core.c usb_fill_int_urb(usbhid->urbin, dev, pipe, usbhid->inbuf, insize, inbuf 65 drivers/hid/usbhid/usbhid.h char *inbuf; /* Input buffer */ inbuf 469 drivers/ide/ide-taskfile.c u8 *inbuf = NULL; inbuf 505 drivers/ide/ide-taskfile.c inbuf = kzalloc(taskin, GFP_KERNEL); inbuf 506 drivers/ide/ide-taskfile.c if (inbuf == NULL) { inbuf 510 drivers/ide/ide-taskfile.c if (copy_from_user(inbuf, buf + intotal, taskin)) { inbuf 609 drivers/ide/ide-taskfile.c data_buf = inbuf; inbuf 657 drivers/ide/ide-taskfile.c if (copy_to_user(buf + intotal, inbuf, taskin)) { inbuf 665 drivers/ide/ide-taskfile.c kfree(inbuf); inbuf 175 drivers/iio/dac/max5821.c u8 inbuf[2]; inbuf 194 drivers/iio/dac/max5821.c ret = i2c_master_recv(client, inbuf, 2); inbuf 205 drivers/iio/dac/max5821.c *val = ((inbuf[0] & 0x0f) << 6) | (inbuf[1] >> 2); inbuf 390 drivers/iio/dac/mcp4725.c u8 inbuf[4]; inbuf 464 drivers/iio/dac/mcp4725.c err = i2c_master_recv(client, inbuf, data->id == MCP4725 ? 3 : 4); inbuf 470 drivers/iio/dac/mcp4725.c pd = (inbuf[0] >> 1) & 0x3; inbuf 473 drivers/iio/dac/mcp4725.c data->dac_value = (inbuf[1] << 4) | (inbuf[2] >> 4); inbuf 475 drivers/iio/dac/mcp4725.c ref = (inbuf[3] >> 3) & 0x3; inbuf 395 drivers/infiniband/core/ucma.c static ssize_t ucma_get_event(struct ucma_file *file, const char __user *inbuf, inbuf 410 drivers/infiniband/core/ucma.c if (copy_from_user(&cmd, inbuf, sizeof(cmd))) inbuf 476 drivers/infiniband/core/ucma.c static ssize_t ucma_create_id(struct ucma_file *file, const char __user *inbuf, inbuf 489 drivers/infiniband/core/ucma.c if (copy_from_user(&cmd, inbuf, sizeof(cmd))) inbuf 599 drivers/infiniband/core/ucma.c static ssize_t ucma_destroy_id(struct ucma_file *file, const char __user *inbuf, inbuf 610 drivers/infiniband/core/ucma.c if (copy_from_user(&cmd, inbuf, sizeof(cmd))) inbuf 647 drivers/infiniband/core/ucma.c static ssize_t ucma_bind_ip(struct ucma_file *file, const char __user *inbuf, inbuf 654 drivers/infiniband/core/ucma.c if (copy_from_user(&cmd, inbuf, sizeof(cmd))) inbuf 672 drivers/infiniband/core/ucma.c static ssize_t ucma_bind(struct ucma_file *file, const char __user *inbuf, inbuf 679 drivers/infiniband/core/ucma.c if (copy_from_user(&cmd, inbuf, sizeof(cmd))) inbuf 698 drivers/infiniband/core/ucma.c const char __user *inbuf, inbuf 705 drivers/infiniband/core/ucma.c if (copy_from_user(&cmd, inbuf, sizeof(cmd))) inbuf 725 drivers/infiniband/core/ucma.c const char __user *inbuf, inbuf 732 drivers/infiniband/core/ucma.c if (copy_from_user(&cmd, inbuf, sizeof(cmd))) inbuf 753 drivers/infiniband/core/ucma.c const char __user *inbuf, inbuf 760 drivers/infiniband/core/ucma.c if (copy_from_user(&cmd, inbuf, sizeof(cmd))) inbuf 839 drivers/infiniband/core/ucma.c const char __user *inbuf, inbuf 851 drivers/infiniband/core/ucma.c if (copy_from_user(&cmd, inbuf, sizeof(cmd))) inbuf 1017 drivers/infiniband/core/ucma.c const char __user *inbuf, inbuf 1025 drivers/infiniband/core/ucma.c if (copy_from_user(&cmd, inbuf, sizeof(cmd))) inbuf 1070 drivers/infiniband/core/ucma.c static ssize_t ucma_connect(struct ucma_file *file, const char __user *inbuf, inbuf 1078 drivers/infiniband/core/ucma.c if (copy_from_user(&cmd, inbuf, sizeof(cmd))) inbuf 1096 drivers/infiniband/core/ucma.c static ssize_t ucma_listen(struct ucma_file *file, const char __user *inbuf, inbuf 1103 drivers/infiniband/core/ucma.c if (copy_from_user(&cmd, inbuf, sizeof(cmd))) inbuf 1119 drivers/infiniband/core/ucma.c static ssize_t ucma_accept(struct ucma_file *file, const char __user *inbuf, inbuf 1127 drivers/infiniband/core/ucma.c if (copy_from_user(&cmd, inbuf, sizeof(cmd))) inbuf 1152 drivers/infiniband/core/ucma.c static ssize_t ucma_reject(struct ucma_file *file, const char __user *inbuf, inbuf 1159 drivers/infiniband/core/ucma.c if (copy_from_user(&cmd, inbuf, sizeof(cmd))) inbuf 1173 drivers/infiniband/core/ucma.c static ssize_t ucma_disconnect(struct ucma_file *file, const char __user *inbuf, inbuf 1180 drivers/infiniband/core/ucma.c if (copy_from_user(&cmd, inbuf, sizeof(cmd))) inbuf 1195 drivers/infiniband/core/ucma.c const char __user *inbuf, inbuf 1207 drivers/infiniband/core/ucma.c if (copy_from_user(&cmd, inbuf, sizeof(cmd))) inbuf 1361 drivers/infiniband/core/ucma.c static ssize_t ucma_set_option(struct ucma_file *file, const char __user *inbuf, inbuf 1369 drivers/infiniband/core/ucma.c if (copy_from_user(&cmd, inbuf, sizeof(cmd))) inbuf 1395 drivers/infiniband/core/ucma.c static ssize_t ucma_notify(struct ucma_file *file, const char __user *inbuf, inbuf 1402 drivers/infiniband/core/ucma.c if (copy_from_user(&cmd, inbuf, sizeof(cmd))) inbuf 1489 drivers/infiniband/core/ucma.c const char __user *inbuf, inbuf 1495 drivers/infiniband/core/ucma.c if (copy_from_user(&cmd, inbuf, sizeof(cmd))) inbuf 1512 drivers/infiniband/core/ucma.c const char __user *inbuf, inbuf 1517 drivers/infiniband/core/ucma.c if (copy_from_user(&cmd, inbuf, sizeof(cmd))) inbuf 1527 drivers/infiniband/core/ucma.c const char __user *inbuf, inbuf 1538 drivers/infiniband/core/ucma.c if (copy_from_user(&cmd, inbuf, sizeof(cmd))) inbuf 1611 drivers/infiniband/core/ucma.c const char __user *inbuf, inbuf 1621 drivers/infiniband/core/ucma.c if (copy_from_user(&cmd, inbuf, sizeof(cmd))) inbuf 1673 drivers/infiniband/core/ucma.c const char __user *inbuf, inbuf 60 drivers/infiniband/core/uverbs.h udata->inbuf = ibuf; inbuf 94 drivers/infiniband/core/uverbs_cmd.c if (copy_from_user(req, attrs->ucore.inbuf, inbuf 102 drivers/infiniband/core/uverbs_cmd.c if (!ib_is_buffer_cleared(attrs->ucore.inbuf + req_len, inbuf 138 drivers/infiniband/core/uverbs_cmd.c if (copy_from_user(req, attrs->ucore.inbuf, req_len)) inbuf 141 drivers/infiniband/core/uverbs_cmd.c iter->cur = attrs->ucore.inbuf + req_len; inbuf 142 drivers/infiniband/core/uverbs_cmd.c iter->end = attrs->ucore.inbuf + attrs->ucore.inlen; inbuf 719 drivers/infiniband/core/uverbs_ioctl.c udata->inbuf = inbuf 723 drivers/infiniband/core/uverbs_ioctl.c udata->inbuf = u64_to_user_ptr(in->ptr_attr.data); inbuf 725 drivers/infiniband/core/uverbs_ioctl.c udata->inbuf = NULL; inbuf 715 drivers/infiniband/core/uverbs_main.c bundle.driver_udata.inbuf = buf + in_len; inbuf 717 drivers/infiniband/core/uverbs_main.c bundle.driver_udata.inbuf = NULL; inbuf 242 drivers/media/rc/ati_remote.c unsigned char *inbuf; inbuf 482 drivers/media/rc/ati_remote.c unsigned char *data= ati_remote->inbuf; inbuf 687 drivers/media/rc/ati_remote.c ati_remote->inbuf = usb_alloc_coherent(udev, DATA_BUFSIZE, GFP_ATOMIC, inbuf 689 drivers/media/rc/ati_remote.c if (!ati_remote->inbuf) inbuf 717 drivers/media/rc/ati_remote.c ati_remote->inbuf, ati_remote->inbuf_dma); inbuf 779 drivers/media/rc/ati_remote.c usb_fill_int_urb(ati_remote->irq_urb, udev, pipe, ati_remote->inbuf, inbuf 58 drivers/media/rc/xbox_remote.c unsigned char inbuf[DATA_BUFSIZE] __aligned(sizeof(u16)); inbuf 92 drivers/media/rc/xbox_remote.c unsigned char *data = xbox_remote->inbuf; inbuf 177 drivers/media/rc/xbox_remote.c usb_fill_int_urb(xbox_remote->irq_urb, udev, pipe, xbox_remote->inbuf, inbuf 986 drivers/misc/fastrpc.c } inbuf; inbuf 1003 drivers/misc/fastrpc.c inbuf.pgid = fl->tgid; inbuf 1004 drivers/misc/fastrpc.c inbuf.namelen = strlen(current->comm) + 1; inbuf 1005 drivers/misc/fastrpc.c inbuf.filelen = init.filelen; inbuf 1006 drivers/misc/fastrpc.c inbuf.pageslen = 1; inbuf 1007 drivers/misc/fastrpc.c inbuf.attrs = init.attrs; inbuf 1008 drivers/misc/fastrpc.c inbuf.siglen = init.siglen; inbuf 1025 drivers/misc/fastrpc.c args[0].ptr = (u64)(uintptr_t)&inbuf; inbuf 1026 drivers/misc/fastrpc.c args[0].length = sizeof(inbuf); inbuf 1030 drivers/misc/fastrpc.c args[1].length = inbuf.namelen; inbuf 1034 drivers/misc/fastrpc.c args[2].length = inbuf.filelen; inbuf 1044 drivers/misc/fastrpc.c args[4].ptr = (u64)(uintptr_t)&inbuf.attrs; inbuf 1045 drivers/misc/fastrpc.c args[4].length = sizeof(inbuf.attrs); inbuf 1048 drivers/misc/fastrpc.c args[5].ptr = (u64)(uintptr_t) &inbuf.siglen; inbuf 1049 drivers/misc/fastrpc.c args[5].length = sizeof(inbuf.siglen); inbuf 1777 drivers/mtd/nand/raw/sunxi_nand.c void *inbuf = NULL; inbuf 1824 drivers/mtd/nand/raw/sunxi_nand.c inbuf = instr->ctx.data.buf.in + start; inbuf 1861 drivers/mtd/nand/raw/sunxi_nand.c if (inbuf) inbuf 1862 drivers/mtd/nand/raw/sunxi_nand.c memcpy_fromio(inbuf, nfc->regs + NFC_RAM0_BASE, cnt); inbuf 2917 drivers/net/ethernet/mellanox/mlx4/fw.c struct mlx4_access_reg *inbuf, *outbuf; inbuf 2930 drivers/net/ethernet/mellanox/mlx4/fw.c inbuf = inbox->buf; inbuf 2933 drivers/net/ethernet/mellanox/mlx4/fw.c inbuf->constant1 = cpu_to_be16(0x1<<11 | 0x4); inbuf 2934 drivers/net/ethernet/mellanox/mlx4/fw.c inbuf->constant2 = 0x1; inbuf 2935 drivers/net/ethernet/mellanox/mlx4/fw.c inbuf->reg_id = cpu_to_be16(reg_id); inbuf 2936 drivers/net/ethernet/mellanox/mlx4/fw.c inbuf->method = method & MLX4_ACCESS_REG_METHOD_MASK; inbuf 2938 drivers/net/ethernet/mellanox/mlx4/fw.c reg_len = min(reg_len, (u16)(sizeof(inbuf->reg_data))); inbuf 2939 drivers/net/ethernet/mellanox/mlx4/fw.c inbuf->len_const = inbuf 2943 drivers/net/ethernet/mellanox/mlx4/fw.c memcpy(inbuf->reg_data, reg_data, reg_len); inbuf 2996 drivers/net/ethernet/mellanox/mlx4/fw.c struct mlx4_access_reg *inbuf = inbox->buf; inbuf 2997 drivers/net/ethernet/mellanox/mlx4/fw.c u8 method = inbuf->method & MLX4_ACCESS_REG_METHOD_MASK; inbuf 2998 drivers/net/ethernet/mellanox/mlx4/fw.c u16 reg_id = be16_to_cpu(inbuf->reg_id); inbuf 3006 drivers/net/ethernet/mellanox/mlx4/fw.c (struct mlx4_ptys_reg *)inbuf->reg_data; inbuf 1059 drivers/net/ethernet/mellanox/mlx4/port.c u8 *inbuf, *outbuf; inbuf 1072 drivers/net/ethernet/mellanox/mlx4/port.c inbuf = inmailbox->buf; inbuf 1074 drivers/net/ethernet/mellanox/mlx4/port.c inbuf[0] = 1; inbuf 1075 drivers/net/ethernet/mellanox/mlx4/port.c inbuf[1] = 1; inbuf 1076 drivers/net/ethernet/mellanox/mlx4/port.c inbuf[2] = 1; inbuf 1077 drivers/net/ethernet/mellanox/mlx4/port.c inbuf[3] = 1; inbuf 1078 drivers/net/ethernet/mellanox/mlx4/port.c *(__be16 *) (&inbuf[16]) = cpu_to_be16(0x0015); inbuf 1079 drivers/net/ethernet/mellanox/mlx4/port.c *(__be32 *) (&inbuf[20]) = cpu_to_be32(port); inbuf 319 drivers/net/ethernet/sfc/ef10.c MCDI_DECLARE_BUF(inbuf, MC_CMD_LICENSING_V3_IN_LEN); inbuf 325 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, LICENSING_V3_IN_OP, inbuf 327 drivers/net/ethernet/sfc/ef10.c rc = efx_mcdi_rpc_quiet(efx, MC_CMD_LICENSING_V3, inbuf, sizeof(inbuf), inbuf 481 drivers/net/ethernet/sfc/ef10.c MCDI_DECLARE_BUF(inbuf, MC_CMD_VPORT_GET_MAC_ADDRESSES_IN_LEN); inbuf 486 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, VPORT_GET_MAC_ADDRESSES_IN_VPORT_ID, inbuf 488 drivers/net/ethernet/sfc/ef10.c rc = efx_mcdi_rpc(efx, MC_CMD_VPORT_GET_MAC_ADDRESSES, inbuf, inbuf 489 drivers/net/ethernet/sfc/ef10.c sizeof(inbuf), outbuf, sizeof(outbuf), &outlen); inbuf 855 drivers/net/ethernet/sfc/ef10.c MCDI_DECLARE_BUF(inbuf, MC_CMD_FREE_PIOBUF_IN_LEN); inbuf 862 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, FREE_PIOBUF_IN_PIOBUF_HANDLE, inbuf 864 drivers/net/ethernet/sfc/ef10.c rc = efx_mcdi_rpc(efx, MC_CMD_FREE_PIOBUF, inbuf, sizeof(inbuf), inbuf 914 drivers/net/ethernet/sfc/ef10.c MCDI_DECLARE_BUF(inbuf, MC_CMD_LINK_PIOBUF_IN_LEN); inbuf 925 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, LINK_PIOBUF_IN_PIOBUF_HANDLE, inbuf 927 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, LINK_PIOBUF_IN_TXQ_INSTANCE, inbuf 930 drivers/net/ethernet/sfc/ef10.c inbuf, MC_CMD_LINK_PIOBUF_IN_LEN, inbuf 971 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, inbuf 974 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, inbuf 978 drivers/net/ethernet/sfc/ef10.c inbuf, MC_CMD_LINK_PIOBUF_IN_LEN, inbuf 1012 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, UNLINK_PIOBUF_IN_TXQ_INSTANCE, inbuf 1015 drivers/net/ethernet/sfc/ef10.c inbuf, MC_CMD_UNLINK_PIOBUF_IN_LEN, inbuf 1123 drivers/net/ethernet/sfc/ef10.c MCDI_DECLARE_BUF(inbuf, MC_CMD_VADAPTOR_QUERY_IN_LEN); inbuf 1130 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, VADAPTOR_QUERY_IN_UPSTREAM_PORT_ID, inbuf 1133 drivers/net/ethernet/sfc/ef10.c rc = efx_mcdi_rpc(efx, MC_CMD_VADAPTOR_QUERY, inbuf, sizeof(inbuf), inbuf 1159 drivers/net/ethernet/sfc/ef10.c MCDI_DECLARE_BUF(inbuf, MC_CMD_VADAPTOR_ALLOC_IN_LEN); inbuf 1161 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, VADAPTOR_ALLOC_IN_UPSTREAM_PORT_ID, port_id); inbuf 1162 drivers/net/ethernet/sfc/ef10.c return efx_mcdi_rpc(efx, MC_CMD_VADAPTOR_ALLOC, inbuf, sizeof(inbuf), inbuf 1168 drivers/net/ethernet/sfc/ef10.c MCDI_DECLARE_BUF(inbuf, MC_CMD_VADAPTOR_FREE_IN_LEN); inbuf 1170 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, VADAPTOR_FREE_IN_UPSTREAM_PORT_ID, port_id); inbuf 1171 drivers/net/ethernet/sfc/ef10.c return efx_mcdi_rpc(efx, MC_CMD_VADAPTOR_FREE, inbuf, sizeof(inbuf), inbuf 1178 drivers/net/ethernet/sfc/ef10.c MCDI_DECLARE_BUF(inbuf, MC_CMD_VPORT_ADD_MAC_ADDRESS_IN_LEN); inbuf 1180 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, VPORT_ADD_MAC_ADDRESS_IN_VPORT_ID, port_id); inbuf 1181 drivers/net/ethernet/sfc/ef10.c ether_addr_copy(MCDI_PTR(inbuf, VPORT_ADD_MAC_ADDRESS_IN_MACADDR), mac); inbuf 1183 drivers/net/ethernet/sfc/ef10.c return efx_mcdi_rpc(efx, MC_CMD_VPORT_ADD_MAC_ADDRESS, inbuf, inbuf 1184 drivers/net/ethernet/sfc/ef10.c sizeof(inbuf), NULL, 0, NULL); inbuf 1190 drivers/net/ethernet/sfc/ef10.c MCDI_DECLARE_BUF(inbuf, MC_CMD_VPORT_DEL_MAC_ADDRESS_IN_LEN); inbuf 1192 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, VPORT_DEL_MAC_ADDRESS_IN_VPORT_ID, port_id); inbuf 1193 drivers/net/ethernet/sfc/ef10.c ether_addr_copy(MCDI_PTR(inbuf, VPORT_DEL_MAC_ADDRESS_IN_MACADDR), mac); inbuf 1195 drivers/net/ethernet/sfc/ef10.c return efx_mcdi_rpc(efx, MC_CMD_VPORT_DEL_MAC_ADDRESS, inbuf, inbuf 1196 drivers/net/ethernet/sfc/ef10.c sizeof(inbuf), NULL, 0, NULL); inbuf 1261 drivers/net/ethernet/sfc/ef10.c MCDI_DECLARE_BUF(inbuf, MC_CMD_ALLOC_VIS_IN_LEN); inbuf 1267 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, ALLOC_VIS_IN_MIN_VI_COUNT, min_vis); inbuf 1268 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, ALLOC_VIS_IN_MAX_VI_COUNT, max_vis); inbuf 1269 drivers/net/ethernet/sfc/ef10.c rc = efx_mcdi_rpc(efx, MC_CMD_ALLOC_VIS, inbuf, sizeof(inbuf), inbuf 1993 drivers/net/ethernet/sfc/ef10.c MCDI_DECLARE_BUF(inbuf, MC_CMD_MAC_STATS_IN_LEN); inbuf 2025 drivers/net/ethernet/sfc/ef10.c MCDI_SET_QWORD(inbuf, MAC_STATS_IN_DMA_ADDR, stats_buf.dma_addr); inbuf 2026 drivers/net/ethernet/sfc/ef10.c MCDI_POPULATE_DWORD_1(inbuf, MAC_STATS_IN_CMD, inbuf 2028 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, MAC_STATS_IN_DMA_LEN, dma_len); inbuf 2029 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, MAC_STATS_IN_PORT_ID, EVB_PORT_ID_ASSIGNED); inbuf 2031 drivers/net/ethernet/sfc/ef10.c rc = efx_mcdi_rpc_quiet(efx, MC_CMD_MAC_STATS, inbuf, sizeof(inbuf), inbuf 2038 drivers/net/ethernet/sfc/ef10.c sizeof(inbuf), NULL, 0, rc); inbuf 2087 drivers/net/ethernet/sfc/ef10.c MCDI_DECLARE_BUF(inbuf, MC_CMD_SET_EVQ_TMR_IN_LEN); inbuf 2090 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, SET_EVQ_TMR_IN_INSTANCE, inbuf 2092 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, SET_EVQ_TMR_IN_TMR_LOAD_REQ_NS, ns); inbuf 2093 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, SET_EVQ_TMR_IN_TMR_RELOAD_REQ_NS, ns); inbuf 2094 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, SET_EVQ_TMR_IN_TMR_MODE, mode); inbuf 2097 drivers/net/ethernet/sfc/ef10.c inbuf, sizeof(inbuf), 0, NULL, 0); inbuf 2285 drivers/net/ethernet/sfc/ef10.c MCDI_DECLARE_BUF(inbuf, MC_CMD_TRIGGER_INTERRUPT_IN_LEN); inbuf 2293 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, TRIGGER_INTERRUPT_IN_INTR_LEVEL, efx->irq_level); inbuf 2295 drivers/net/ethernet/sfc/ef10.c inbuf, sizeof(inbuf), NULL, 0, NULL); inbuf 2408 drivers/net/ethernet/sfc/ef10.c MCDI_DECLARE_BUF(inbuf, MC_CMD_INIT_TXQ_IN_LEN(EFX_MAX_DMAQ_SIZE * 8 / inbuf 2447 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, INIT_TXQ_IN_SIZE, tx_queue->ptr_mask + 1); inbuf 2448 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, INIT_TXQ_IN_TARGET_EVQ, channel->channel); inbuf 2449 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, INIT_TXQ_IN_LABEL, tx_queue->queue); inbuf 2450 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, INIT_TXQ_IN_INSTANCE, tx_queue->queue); inbuf 2451 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, INIT_TXQ_IN_OWNER_ID, 0); inbuf 2452 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, INIT_TXQ_IN_PORT_ID, nic_data->vport_id); inbuf 2460 drivers/net/ethernet/sfc/ef10.c MCDI_SET_ARRAY_QWORD(inbuf, INIT_TXQ_IN_DMA_ADDR, i, dma_addr); inbuf 2467 drivers/net/ethernet/sfc/ef10.c MCDI_POPULATE_DWORD_4(inbuf, INIT_TXQ_IN_FLAGS, inbuf 2478 drivers/net/ethernet/sfc/ef10.c rc = efx_mcdi_rpc_quiet(efx, MC_CMD_INIT_TXQ, inbuf, inlen, inbuf 2531 drivers/net/ethernet/sfc/ef10.c MCDI_DECLARE_BUF(inbuf, MC_CMD_FINI_TXQ_IN_LEN); inbuf 2537 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, FINI_TXQ_IN_INSTANCE, inbuf 2540 drivers/net/ethernet/sfc/ef10.c rc = efx_mcdi_rpc_quiet(efx, MC_CMD_FINI_TXQ, inbuf, sizeof(inbuf), inbuf 2670 drivers/net/ethernet/sfc/ef10.c MCDI_DECLARE_BUF(inbuf, MC_CMD_RSS_CONTEXT_GET_FLAGS_OUT_LEN); inbuf 2677 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, RSS_CONTEXT_GET_FLAGS_IN_RSS_CONTEXT_ID, context); inbuf 2678 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, RSS_CONTEXT_GET_FLAGS_OUT_FLAGS, inbuf 2680 drivers/net/ethernet/sfc/ef10.c rc = efx_mcdi_rpc(efx, MC_CMD_RSS_CONTEXT_GET_FLAGS, inbuf, inbuf 2681 drivers/net/ethernet/sfc/ef10.c sizeof(inbuf), outbuf, sizeof(outbuf), &outlen); inbuf 2700 drivers/net/ethernet/sfc/ef10.c MCDI_DECLARE_BUF(inbuf, MC_CMD_RSS_CONTEXT_SET_FLAGS_IN_LEN); inbuf 2707 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, RSS_CONTEXT_SET_FLAGS_IN_RSS_CONTEXT_ID, inbuf 2711 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, RSS_CONTEXT_SET_FLAGS_IN_FLAGS, flags); inbuf 2712 drivers/net/ethernet/sfc/ef10.c if (!efx_mcdi_rpc(efx, MC_CMD_RSS_CONTEXT_SET_FLAGS, inbuf, sizeof(inbuf), inbuf 2722 drivers/net/ethernet/sfc/ef10.c MCDI_DECLARE_BUF(inbuf, MC_CMD_RSS_CONTEXT_ALLOC_IN_LEN); inbuf 2746 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, RSS_CONTEXT_ALLOC_IN_UPSTREAM_PORT_ID, inbuf 2748 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, RSS_CONTEXT_ALLOC_IN_TYPE, alloc_type); inbuf 2749 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, RSS_CONTEXT_ALLOC_IN_NUM_QUEUES, rss_spread); inbuf 2751 drivers/net/ethernet/sfc/ef10.c rc = efx_mcdi_rpc(efx, MC_CMD_RSS_CONTEXT_ALLOC, inbuf, sizeof(inbuf), inbuf 2773 drivers/net/ethernet/sfc/ef10.c MCDI_DECLARE_BUF(inbuf, MC_CMD_RSS_CONTEXT_FREE_IN_LEN); inbuf 2775 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, RSS_CONTEXT_FREE_IN_RSS_CONTEXT_ID, inbuf 2777 drivers/net/ethernet/sfc/ef10.c return efx_mcdi_rpc(efx, MC_CMD_RSS_CONTEXT_FREE, inbuf, sizeof(inbuf), inbuf 2924 drivers/net/ethernet/sfc/ef10.c MCDI_DECLARE_BUF(inbuf, MC_CMD_RSS_CONTEXT_GET_TABLE_IN_LEN); inbuf 2938 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, RSS_CONTEXT_GET_TABLE_IN_RSS_CONTEXT_ID, inbuf 2942 drivers/net/ethernet/sfc/ef10.c rc = efx_mcdi_rpc(efx, MC_CMD_RSS_CONTEXT_GET_TABLE, inbuf, sizeof(inbuf), inbuf 2954 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, RSS_CONTEXT_GET_KEY_IN_RSS_CONTEXT_ID, inbuf 2958 drivers/net/ethernet/sfc/ef10.c rc = efx_mcdi_rpc(efx, MC_CMD_RSS_CONTEXT_GET_KEY, inbuf, sizeof(inbuf), inbuf 3082 drivers/net/ethernet/sfc/ef10.c MCDI_DECLARE_BUF(inbuf, inbuf 3098 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, INIT_RXQ_IN_SIZE, rx_queue->ptr_mask + 1); inbuf 3099 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, INIT_RXQ_IN_TARGET_EVQ, channel->channel); inbuf 3100 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, INIT_RXQ_IN_LABEL, efx_rx_queue_index(rx_queue)); inbuf 3101 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, INIT_RXQ_IN_INSTANCE, inbuf 3103 drivers/net/ethernet/sfc/ef10.c MCDI_POPULATE_DWORD_2(inbuf, INIT_RXQ_IN_FLAGS, inbuf 3106 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, INIT_RXQ_IN_OWNER_ID, 0); inbuf 3107 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, INIT_RXQ_IN_PORT_ID, nic_data->vport_id); inbuf 3115 drivers/net/ethernet/sfc/ef10.c MCDI_SET_ARRAY_QWORD(inbuf, INIT_RXQ_IN_DMA_ADDR, i, dma_addr); inbuf 3121 drivers/net/ethernet/sfc/ef10.c rc = efx_mcdi_rpc(efx, MC_CMD_INIT_RXQ, inbuf, inlen, inbuf 3130 drivers/net/ethernet/sfc/ef10.c MCDI_DECLARE_BUF(inbuf, MC_CMD_FINI_RXQ_IN_LEN); inbuf 3136 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, FINI_RXQ_IN_INSTANCE, inbuf 3139 drivers/net/ethernet/sfc/ef10.c rc = efx_mcdi_rpc_quiet(efx, MC_CMD_FINI_RXQ, inbuf, sizeof(inbuf), inbuf 3200 drivers/net/ethernet/sfc/ef10.c MCDI_DECLARE_BUF(inbuf, MC_CMD_DRIVER_EVENT_IN_LEN); inbuf 3207 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, DRIVER_EVENT_IN_EVQ, channel->channel); inbuf 3212 drivers/net/ethernet/sfc/ef10.c memcpy(MCDI_PTR(inbuf, DRIVER_EVENT_IN_DATA), &event.u64[0], inbuf 3216 drivers/net/ethernet/sfc/ef10.c inbuf, sizeof(inbuf), 0, inbuf 3238 drivers/net/ethernet/sfc/ef10.c MCDI_DECLARE_BUF(inbuf, MC_CMD_FINI_EVQ_IN_LEN); inbuf 3244 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, FINI_EVQ_IN_INSTANCE, channel->channel); inbuf 3246 drivers/net/ethernet/sfc/ef10.c rc = efx_mcdi_rpc_quiet(efx, MC_CMD_FINI_EVQ, inbuf, sizeof(inbuf), inbuf 3261 drivers/net/ethernet/sfc/ef10.c MCDI_DECLARE_BUF(inbuf, inbuf 3279 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, INIT_EVQ_IN_SIZE, channel->eventq_mask + 1); inbuf 3280 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, INIT_EVQ_IN_INSTANCE, channel->channel); inbuf 3282 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, INIT_EVQ_IN_IRQ_NUM, channel->channel); inbuf 3283 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, INIT_EVQ_IN_TMR_MODE, inbuf 3285 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, INIT_EVQ_IN_TMR_LOAD, 0); inbuf 3286 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, INIT_EVQ_IN_TMR_RELOAD, 0); inbuf 3287 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, INIT_EVQ_IN_COUNT_MODE, inbuf 3289 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, INIT_EVQ_IN_COUNT_THRSHLD, 0); inbuf 3297 drivers/net/ethernet/sfc/ef10.c MCDI_POPULATE_DWORD_2(inbuf, INIT_EVQ_V2_IN_FLAGS, inbuf 3305 drivers/net/ethernet/sfc/ef10.c MCDI_POPULATE_DWORD_4(inbuf, INIT_EVQ_IN_FLAGS, inbuf 3314 drivers/net/ethernet/sfc/ef10.c MCDI_SET_ARRAY_QWORD(inbuf, INIT_EVQ_IN_DMA_ADDR, i, dma_addr); inbuf 3320 drivers/net/ethernet/sfc/ef10.c rc = efx_mcdi_rpc(efx, MC_CMD_INIT_EVQ, inbuf, inlen, inbuf 3918 drivers/net/ethernet/sfc/ef10.c MCDI_DECLARE_BUF(inbuf, MC_CMD_DRIVER_EVENT_IN_LEN); inbuf 3927 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, DRIVER_EVENT_IN_EVQ, channel->channel); inbuf 3932 drivers/net/ethernet/sfc/ef10.c memcpy(MCDI_PTR(inbuf, DRIVER_EVENT_IN_DATA), &event.u64[0], inbuf 3935 drivers/net/ethernet/sfc/ef10.c rc = efx_mcdi_rpc(efx, MC_CMD_DRIVER_EVENT, inbuf, sizeof(inbuf), inbuf 4051 drivers/net/ethernet/sfc/ef10.c efx_dword_t *inbuf) inbuf 4056 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, FILTER_OP_IN_OP, inbuf 4073 drivers/net/ethernet/sfc/ef10.c memcpy(MCDI_PTR(inbuf, FILTER_OP_IN_ ## mcdi_field), \ inbuf 4104 drivers/net/ethernet/sfc/ef10.c MCDI_POPULATE_DWORD_1(inbuf, inbuf 4142 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, FILTER_OP_IN_MATCH_FIELDS, inbuf 4148 drivers/net/ethernet/sfc/ef10.c efx_dword_t *inbuf, u64 handle, inbuf 4155 drivers/net/ethernet/sfc/ef10.c memset(inbuf, 0, MC_CMD_FILTER_OP_EXT_IN_LEN); inbuf 4169 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, FILTER_OP_IN_OP, inbuf 4171 drivers/net/ethernet/sfc/ef10.c MCDI_SET_QWORD(inbuf, FILTER_OP_IN_HANDLE, handle); inbuf 4173 drivers/net/ethernet/sfc/ef10.c efx_ef10_filter_push_prep_set_match_fields(efx, spec, inbuf); inbuf 4176 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, FILTER_OP_IN_PORT_ID, nic_data->vport_id); inbuf 4177 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, FILTER_OP_IN_RX_DEST, inbuf 4181 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, FILTER_OP_IN_TX_DOMAIN, 0); inbuf 4182 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, FILTER_OP_IN_TX_DEST, inbuf 4184 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, FILTER_OP_IN_RX_QUEUE, inbuf 4187 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, FILTER_OP_IN_RX_MODE, inbuf 4192 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, FILTER_OP_IN_RX_CONTEXT, ctx->context_id); inbuf 4199 drivers/net/ethernet/sfc/ef10.c MCDI_DECLARE_BUF(inbuf, MC_CMD_FILTER_OP_EXT_IN_LEN); inbuf 4203 drivers/net/ethernet/sfc/ef10.c efx_ef10_filter_push_prep(efx, spec, inbuf, *handle, ctx, replacing); inbuf 4204 drivers/net/ethernet/sfc/ef10.c rc = efx_mcdi_rpc(efx, MC_CMD_FILTER_OP, inbuf, sizeof(inbuf), inbuf 4457 drivers/net/ethernet/sfc/ef10.c MCDI_DECLARE_BUF(inbuf, MC_CMD_FILTER_OP_EXT_IN_LEN); inbuf 4460 drivers/net/ethernet/sfc/ef10.c memset(inbuf, 0, sizeof(inbuf)); inbuf 4471 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, FILTER_OP_IN_OP, inbuf 4473 drivers/net/ethernet/sfc/ef10.c MCDI_SET_QWORD(inbuf, FILTER_OP_IN_HANDLE, inbuf 4476 drivers/net/ethernet/sfc/ef10.c inbuf, sizeof(inbuf), inbuf 4532 drivers/net/ethernet/sfc/ef10.c MCDI_DECLARE_BUF(inbuf, inbuf 4578 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, FILTER_OP_IN_OP, inbuf 4582 drivers/net/ethernet/sfc/ef10.c MCDI_SET_QWORD(inbuf, FILTER_OP_IN_HANDLE, inbuf 4585 drivers/net/ethernet/sfc/ef10.c inbuf, sizeof(inbuf), NULL, 0, NULL); inbuf 4913 drivers/net/ethernet/sfc/ef10.c MCDI_DECLARE_BUF(inbuf, MC_CMD_GET_PARSER_DISP_INFO_IN_LEN); inbuf 4920 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, GET_PARSER_DISP_INFO_IN_OP, inbuf 4925 drivers/net/ethernet/sfc/ef10.c inbuf, sizeof(inbuf), outbuf, sizeof(outbuf), inbuf 5129 drivers/net/ethernet/sfc/ef10.c MCDI_DECLARE_BUF(inbuf, MC_CMD_FILTER_OP_EXT_IN_LEN); inbuf 5153 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, FILTER_OP_IN_OP, inbuf 5157 drivers/net/ethernet/sfc/ef10.c MCDI_SET_QWORD(inbuf, FILTER_OP_IN_HANDLE, inbuf 5159 drivers/net/ethernet/sfc/ef10.c rc = efx_mcdi_rpc_quiet(efx, MC_CMD_FILTER_OP, inbuf, inbuf 5160 drivers/net/ethernet/sfc/ef10.c sizeof(inbuf), NULL, 0, NULL); inbuf 5845 drivers/net/ethernet/sfc/ef10.c MCDI_DECLARE_BUF(inbuf, MC_CMD_VADAPTOR_SET_MAC_IN_LEN); inbuf 5857 drivers/net/ethernet/sfc/ef10.c ether_addr_copy(MCDI_PTR(inbuf, VADAPTOR_SET_MAC_IN_MACADDR), inbuf 5859 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, VADAPTOR_SET_MAC_IN_UPSTREAM_PORT_ID, inbuf 5861 drivers/net/ethernet/sfc/ef10.c rc = efx_mcdi_rpc_quiet(efx, MC_CMD_VADAPTOR_SET_MAC, inbuf, inbuf 5862 drivers/net/ethernet/sfc/ef10.c sizeof(inbuf), NULL, 0, NULL); inbuf 5918 drivers/net/ethernet/sfc/ef10.c sizeof(inbuf), NULL, 0, rc); inbuf 5940 drivers/net/ethernet/sfc/ef10.c MCDI_DECLARE_BUF(inbuf, MC_CMD_START_BIST_IN_LEN); inbuf 5942 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, START_BIST_IN_TYPE, bist_type); inbuf 5943 drivers/net/ethernet/sfc/ef10.c return efx_mcdi_rpc(efx, MC_CMD_START_BIST, inbuf, sizeof(inbuf), inbuf 6056 drivers/net/ethernet/sfc/ef10.c MCDI_DECLARE_BUF(inbuf, MC_CMD_NVRAM_METADATA_IN_LEN); inbuf 6096 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, NVRAM_METADATA_IN_TYPE, type); inbuf 6097 drivers/net/ethernet/sfc/ef10.c rc = efx_mcdi_rpc(efx, MC_CMD_NVRAM_METADATA, inbuf, sizeof(inbuf), inbuf 6183 drivers/net/ethernet/sfc/ef10.c MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_TIME_EVENT_SUBSCRIBE_LEN); inbuf 6192 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, PTP_IN_OP, MC_CMD_PTP_OP_TIME_EVENT_SUBSCRIBE); inbuf 6193 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, PTP_IN_PERIPH_ID, 0); inbuf 6194 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, PTP_IN_TIME_EVENT_SUBSCRIBE_QUEUE, inbuf 6198 drivers/net/ethernet/sfc/ef10.c inbuf, sizeof(inbuf), NULL, 0, NULL); inbuf 6210 drivers/net/ethernet/sfc/ef10.c MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_TIME_EVENT_UNSUBSCRIBE_LEN); inbuf 6223 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, PTP_IN_OP, MC_CMD_PTP_OP_TIME_EVENT_UNSUBSCRIBE); inbuf 6224 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, PTP_IN_PERIPH_ID, 0); inbuf 6225 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, PTP_IN_TIME_EVENT_UNSUBSCRIBE_CONTROL, inbuf 6227 drivers/net/ethernet/sfc/ef10.c MCDI_SET_DWORD(inbuf, PTP_IN_TIME_EVENT_UNSUBSCRIBE_QUEUE, inbuf 6231 drivers/net/ethernet/sfc/ef10.c inbuf, sizeof(inbuf), NULL, 0, NULL); inbuf 6339 drivers/net/ethernet/sfc/ef10.c MCDI_DECLARE_BUF(inbuf, MC_CMD_SET_TUNNEL_ENCAP_UDP_PORTS_IN_LENMAX); inbuf 6371 drivers/net/ethernet/sfc/ef10.c *_MCDI_ARRAY_DWORD(inbuf, inbuf 6386 drivers/net/ethernet/sfc/ef10.c *_MCDI_DWORD(inbuf, SET_TUNNEL_ENCAP_UDP_PORTS_IN_FLAGS) = inbuf 6392 drivers/net/ethernet/sfc/ef10.c inbuf, inlen, outbuf, sizeof(outbuf), &outlen); inbuf 18 drivers/net/ethernet/sfc/ef10_sriov.c MCDI_DECLARE_BUF(inbuf, MC_CMD_EVB_PORT_ASSIGN_IN_LEN); inbuf 21 drivers/net/ethernet/sfc/ef10_sriov.c MCDI_SET_DWORD(inbuf, EVB_PORT_ASSIGN_IN_PORT_ID, port_id); inbuf 22 drivers/net/ethernet/sfc/ef10_sriov.c MCDI_POPULATE_DWORD_2(inbuf, EVB_PORT_ASSIGN_IN_FUNCTION, inbuf 26 drivers/net/ethernet/sfc/ef10_sriov.c return efx_mcdi_rpc(efx, MC_CMD_EVB_PORT_ASSIGN, inbuf, sizeof(inbuf), inbuf 33 drivers/net/ethernet/sfc/ef10_sriov.c MCDI_DECLARE_BUF(inbuf, MC_CMD_VSWITCH_ALLOC_IN_LEN); inbuf 36 drivers/net/ethernet/sfc/ef10_sriov.c MCDI_SET_DWORD(inbuf, VSWITCH_ALLOC_IN_UPSTREAM_PORT_ID, port_id); inbuf 37 drivers/net/ethernet/sfc/ef10_sriov.c MCDI_SET_DWORD(inbuf, VSWITCH_ALLOC_IN_TYPE, vswitch_type); inbuf 38 drivers/net/ethernet/sfc/ef10_sriov.c MCDI_SET_DWORD(inbuf, VSWITCH_ALLOC_IN_NUM_VLAN_TAGS, 2); inbuf 39 drivers/net/ethernet/sfc/ef10_sriov.c MCDI_POPULATE_DWORD_1(inbuf, VSWITCH_ALLOC_IN_FLAGS, inbuf 43 drivers/net/ethernet/sfc/ef10_sriov.c rc = efx_mcdi_rpc_quiet(efx, MC_CMD_VSWITCH_ALLOC, inbuf, sizeof(inbuf), inbuf 48 drivers/net/ethernet/sfc/ef10_sriov.c MCDI_SET_DWORD(inbuf, VSWITCH_ALLOC_IN_NUM_VLAN_TAGS, 1); inbuf 49 drivers/net/ethernet/sfc/ef10_sriov.c rc = efx_mcdi_rpc(efx, MC_CMD_VSWITCH_ALLOC, inbuf, inbuf 50 drivers/net/ethernet/sfc/ef10_sriov.c sizeof(inbuf), NULL, 0, NULL); inbuf 61 drivers/net/ethernet/sfc/ef10_sriov.c MCDI_DECLARE_BUF(inbuf, MC_CMD_VSWITCH_FREE_IN_LEN); inbuf 63 drivers/net/ethernet/sfc/ef10_sriov.c MCDI_SET_DWORD(inbuf, VSWITCH_FREE_IN_UPSTREAM_PORT_ID, port_id); inbuf 65 drivers/net/ethernet/sfc/ef10_sriov.c return efx_mcdi_rpc(efx, MC_CMD_VSWITCH_FREE, inbuf, sizeof(inbuf), inbuf 75 drivers/net/ethernet/sfc/ef10_sriov.c MCDI_DECLARE_BUF(inbuf, MC_CMD_VPORT_ALLOC_IN_LEN); inbuf 82 drivers/net/ethernet/sfc/ef10_sriov.c MCDI_SET_DWORD(inbuf, VPORT_ALLOC_IN_UPSTREAM_PORT_ID, port_id_in); inbuf 83 drivers/net/ethernet/sfc/ef10_sriov.c MCDI_SET_DWORD(inbuf, VPORT_ALLOC_IN_TYPE, vport_type); inbuf 84 drivers/net/ethernet/sfc/ef10_sriov.c MCDI_SET_DWORD(inbuf, VPORT_ALLOC_IN_NUM_VLAN_TAGS, inbuf 86 drivers/net/ethernet/sfc/ef10_sriov.c MCDI_POPULATE_DWORD_1(inbuf, VPORT_ALLOC_IN_FLAGS, inbuf 89 drivers/net/ethernet/sfc/ef10_sriov.c MCDI_POPULATE_DWORD_1(inbuf, VPORT_ALLOC_IN_VLAN_TAGS, inbuf 92 drivers/net/ethernet/sfc/ef10_sriov.c rc = efx_mcdi_rpc(efx, MC_CMD_VPORT_ALLOC, inbuf, sizeof(inbuf), inbuf 105 drivers/net/ethernet/sfc/ef10_sriov.c MCDI_DECLARE_BUF(inbuf, MC_CMD_VPORT_FREE_IN_LEN); inbuf 107 drivers/net/ethernet/sfc/ef10_sriov.c MCDI_SET_DWORD(inbuf, VPORT_FREE_IN_VPORT_ID, port_id); inbuf 109 drivers/net/ethernet/sfc/ef10_sriov.c return efx_mcdi_rpc(efx, MC_CMD_VPORT_FREE, inbuf, sizeof(inbuf), inbuf 472 drivers/net/ethernet/sfc/ef10_sriov.c MCDI_DECLARE_BUF(inbuf, MC_CMD_VPORT_DEL_MAC_ADDRESS_IN_LEN); inbuf 477 drivers/net/ethernet/sfc/ef10_sriov.c MCDI_SET_DWORD(inbuf, VPORT_DEL_MAC_ADDRESS_IN_VPORT_ID, port_id); inbuf 478 drivers/net/ethernet/sfc/ef10_sriov.c ether_addr_copy(MCDI_PTR(inbuf, VPORT_DEL_MAC_ADDRESS_IN_MACADDR), mac); inbuf 480 drivers/net/ethernet/sfc/ef10_sriov.c rc = efx_mcdi_rpc(efx, MC_CMD_VPORT_DEL_MAC_ADDRESS, inbuf, inbuf 481 drivers/net/ethernet/sfc/ef10_sriov.c sizeof(inbuf), outbuf, sizeof(outbuf), &outlen); inbuf 698 drivers/net/ethernet/sfc/ef10_sriov.c MCDI_DECLARE_BUF(inbuf, MC_CMD_LINK_STATE_MODE_IN_LEN); inbuf 707 drivers/net/ethernet/sfc/ef10_sriov.c MCDI_POPULATE_DWORD_2(inbuf, LINK_STATE_MODE_IN_FUNCTION, inbuf 711 drivers/net/ethernet/sfc/ef10_sriov.c MCDI_SET_DWORD(inbuf, LINK_STATE_MODE_IN_NEW_MODE, link_state); inbuf 712 drivers/net/ethernet/sfc/ef10_sriov.c return efx_mcdi_rpc(efx, MC_CMD_LINK_STATE_MODE, inbuf, sizeof(inbuf), inbuf 719 drivers/net/ethernet/sfc/ef10_sriov.c MCDI_DECLARE_BUF(inbuf, MC_CMD_LINK_STATE_MODE_IN_LEN); inbuf 742 drivers/net/ethernet/sfc/ef10_sriov.c MCDI_POPULATE_DWORD_2(inbuf, LINK_STATE_MODE_IN_FUNCTION, inbuf 746 drivers/net/ethernet/sfc/ef10_sriov.c MCDI_SET_DWORD(inbuf, LINK_STATE_MODE_IN_NEW_MODE, inbuf 748 drivers/net/ethernet/sfc/ef10_sriov.c rc = efx_mcdi_rpc(efx, MC_CMD_LINK_STATE_MODE, inbuf, sizeof(inbuf), inbuf 151 drivers/net/ethernet/sfc/mcdi.c const efx_dword_t *inbuf, size_t inlen) inbuf 220 drivers/net/ethernet/sfc/mcdi.c " %08x", le32_to_cpu(inbuf[i].u32[0])); inbuf 226 drivers/net/ethernet/sfc/mcdi.c efx->type->mcdi_request(efx, hdr, hdr_len, inbuf, inlen); inbuf 801 drivers/net/ethernet/sfc/mcdi.c const efx_dword_t *inbuf, size_t inlen, inbuf 808 drivers/net/ethernet/sfc/mcdi.c if (inbuf && inlen && (inbuf == outbuf)) { inbuf 814 drivers/net/ethernet/sfc/mcdi.c rc = efx_mcdi_rpc_start(efx, cmd, inbuf, inlen); inbuf 839 drivers/net/ethernet/sfc/mcdi.c efx_mcdi_send_request(efx, cmd, inbuf, inlen); inbuf 859 drivers/net/ethernet/sfc/mcdi.c const efx_dword_t *inbuf, size_t inlen, inbuf 866 drivers/net/ethernet/sfc/mcdi.c rc = _efx_mcdi_rpc(efx, cmd, inbuf, inlen, inbuf 884 drivers/net/ethernet/sfc/mcdi.c rc = _efx_mcdi_rpc(efx, cmd, inbuf, inlen, inbuf 926 drivers/net/ethernet/sfc/mcdi.c const efx_dword_t *inbuf, size_t inlen, inbuf 930 drivers/net/ethernet/sfc/mcdi.c return _efx_mcdi_rpc_evb_retry(efx, cmd, inbuf, inlen, outbuf, outlen, inbuf 943 drivers/net/ethernet/sfc/mcdi.c const efx_dword_t *inbuf, size_t inlen, inbuf 947 drivers/net/ethernet/sfc/mcdi.c return _efx_mcdi_rpc_evb_retry(efx, cmd, inbuf, inlen, outbuf, outlen, inbuf 952 drivers/net/ethernet/sfc/mcdi.c const efx_dword_t *inbuf, size_t inlen) inbuf 968 drivers/net/ethernet/sfc/mcdi.c efx_mcdi_send_request(efx, cmd, inbuf, inlen); inbuf 973 drivers/net/ethernet/sfc/mcdi.c const efx_dword_t *inbuf, size_t inlen, inbuf 1000 drivers/net/ethernet/sfc/mcdi.c memcpy(async + 1, inbuf, inlen); inbuf 1012 drivers/net/ethernet/sfc/mcdi.c efx_mcdi_send_request(efx, cmd, inbuf, inlen); inbuf 1048 drivers/net/ethernet/sfc/mcdi.c const efx_dword_t *inbuf, size_t inlen, size_t outlen, inbuf 1051 drivers/net/ethernet/sfc/mcdi.c return _efx_mcdi_rpc_async(efx, cmd, inbuf, inlen, outlen, complete, inbuf 1056 drivers/net/ethernet/sfc/mcdi.c const efx_dword_t *inbuf, size_t inlen, inbuf 1060 drivers/net/ethernet/sfc/mcdi.c return _efx_mcdi_rpc_async(efx, cmd, inbuf, inlen, outlen, complete, inbuf 1452 drivers/net/ethernet/sfc/mcdi.c MCDI_DECLARE_BUF(inbuf, MC_CMD_DRV_ATTACH_IN_LEN); inbuf 1457 drivers/net/ethernet/sfc/mcdi.c MCDI_SET_DWORD(inbuf, DRV_ATTACH_IN_NEW_STATE, inbuf 1459 drivers/net/ethernet/sfc/mcdi.c MCDI_SET_DWORD(inbuf, DRV_ATTACH_IN_UPDATE, 1); inbuf 1460 drivers/net/ethernet/sfc/mcdi.c MCDI_SET_DWORD(inbuf, DRV_ATTACH_IN_FIRMWARE_ID, MC_CMD_FW_LOW_LATENCY); inbuf 1462 drivers/net/ethernet/sfc/mcdi.c rc = efx_mcdi_rpc_quiet(efx, MC_CMD_DRV_ATTACH, inbuf, sizeof(inbuf), inbuf 1471 drivers/net/ethernet/sfc/mcdi.c MCDI_SET_DWORD(inbuf, DRV_ATTACH_IN_FIRMWARE_ID, inbuf 1473 drivers/net/ethernet/sfc/mcdi.c rc = efx_mcdi_rpc_quiet(efx, MC_CMD_DRV_ATTACH, inbuf, inbuf 1474 drivers/net/ethernet/sfc/mcdi.c sizeof(inbuf), outbuf, sizeof(outbuf), inbuf 1478 drivers/net/ethernet/sfc/mcdi.c efx_mcdi_display_error(efx, MC_CMD_DRV_ATTACH, sizeof(inbuf), inbuf 1574 drivers/net/ethernet/sfc/mcdi.c MCDI_DECLARE_BUF(inbuf, MC_CMD_LOG_CTRL_IN_LEN); inbuf 1583 drivers/net/ethernet/sfc/mcdi.c MCDI_SET_DWORD(inbuf, LOG_CTRL_IN_LOG_DEST, dest); inbuf 1584 drivers/net/ethernet/sfc/mcdi.c MCDI_SET_DWORD(inbuf, LOG_CTRL_IN_LOG_DEST_EVQ, dest_evq); inbuf 1588 drivers/net/ethernet/sfc/mcdi.c rc = efx_mcdi_rpc(efx, MC_CMD_LOG_CTRL, inbuf, sizeof(inbuf), inbuf 1623 drivers/net/ethernet/sfc/mcdi.c MCDI_DECLARE_BUF(inbuf, MC_CMD_NVRAM_INFO_IN_LEN); inbuf 1628 drivers/net/ethernet/sfc/mcdi.c MCDI_SET_DWORD(inbuf, NVRAM_INFO_IN_TYPE, type); inbuf 1630 drivers/net/ethernet/sfc/mcdi.c rc = efx_mcdi_rpc(efx, MC_CMD_NVRAM_INFO, inbuf, sizeof(inbuf), inbuf 1652 drivers/net/ethernet/sfc/mcdi.c MCDI_DECLARE_BUF(inbuf, MC_CMD_NVRAM_TEST_IN_LEN); inbuf 1656 drivers/net/ethernet/sfc/mcdi.c MCDI_SET_DWORD(inbuf, NVRAM_TEST_IN_TYPE, type); inbuf 1658 drivers/net/ethernet/sfc/mcdi.c rc = efx_mcdi_rpc(efx, MC_CMD_NVRAM_TEST, inbuf, sizeof(inbuf), inbuf 1708 drivers/net/ethernet/sfc/mcdi.c MCDI_DECLARE_BUF(inbuf, MC_CMD_GET_ASSERTS_IN_LEN); inbuf 1723 drivers/net/ethernet/sfc/mcdi.c MCDI_SET_DWORD(inbuf, GET_ASSERTS_IN_CLEAR, 1); inbuf 1725 drivers/net/ethernet/sfc/mcdi.c inbuf, MC_CMD_GET_ASSERTS_IN_LEN, inbuf 1771 drivers/net/ethernet/sfc/mcdi.c MCDI_DECLARE_BUF(inbuf, MC_CMD_REBOOT_IN_LEN); inbuf 1781 drivers/net/ethernet/sfc/mcdi.c MCDI_SET_DWORD(inbuf, REBOOT_IN_FLAGS, inbuf 1783 drivers/net/ethernet/sfc/mcdi.c rc = efx_mcdi_rpc_quiet(efx, MC_CMD_REBOOT, inbuf, MC_CMD_REBOOT_IN_LEN, inbuf 1806 drivers/net/ethernet/sfc/mcdi.c MCDI_DECLARE_BUF(inbuf, MC_CMD_SET_ID_LED_IN_LEN); inbuf 1815 drivers/net/ethernet/sfc/mcdi.c MCDI_SET_DWORD(inbuf, SET_ID_LED_IN_STATE, mode); inbuf 1817 drivers/net/ethernet/sfc/mcdi.c rc = efx_mcdi_rpc(efx, MC_CMD_SET_ID_LED, inbuf, sizeof(inbuf), inbuf 1823 drivers/net/ethernet/sfc/mcdi.c MCDI_DECLARE_BUF(inbuf, MC_CMD_ENTITY_RESET_IN_LEN); inbuf 1827 drivers/net/ethernet/sfc/mcdi.c MCDI_POPULATE_DWORD_1(inbuf, ENTITY_RESET_IN_FLAG, inbuf 1829 drivers/net/ethernet/sfc/mcdi.c rc = efx_mcdi_rpc(efx, MC_CMD_ENTITY_RESET, inbuf, sizeof(inbuf), inbuf 1836 drivers/net/ethernet/sfc/mcdi.c MCDI_DECLARE_BUF(inbuf, MC_CMD_REBOOT_IN_LEN); inbuf 1840 drivers/net/ethernet/sfc/mcdi.c MCDI_SET_DWORD(inbuf, REBOOT_IN_FLAGS, 0); inbuf 1841 drivers/net/ethernet/sfc/mcdi.c rc = efx_mcdi_rpc(efx, MC_CMD_REBOOT, inbuf, sizeof(inbuf), inbuf 1889 drivers/net/ethernet/sfc/mcdi.c MCDI_DECLARE_BUF(inbuf, MC_CMD_WOL_FILTER_SET_IN_LEN); inbuf 1894 drivers/net/ethernet/sfc/mcdi.c MCDI_SET_DWORD(inbuf, WOL_FILTER_SET_IN_WOL_TYPE, type); inbuf 1895 drivers/net/ethernet/sfc/mcdi.c MCDI_SET_DWORD(inbuf, WOL_FILTER_SET_IN_FILTER_MODE, inbuf 1897 drivers/net/ethernet/sfc/mcdi.c ether_addr_copy(MCDI_PTR(inbuf, WOL_FILTER_SET_IN_MAGIC_MAC), mac); inbuf 1899 drivers/net/ethernet/sfc/mcdi.c rc = efx_mcdi_rpc(efx, MC_CMD_WOL_FILTER_SET, inbuf, sizeof(inbuf), inbuf 1957 drivers/net/ethernet/sfc/mcdi.c MCDI_DECLARE_BUF(inbuf, MC_CMD_WOL_FILTER_REMOVE_IN_LEN); inbuf 1960 drivers/net/ethernet/sfc/mcdi.c MCDI_SET_DWORD(inbuf, WOL_FILTER_REMOVE_IN_FILTER_ID, (u32)id); inbuf 1962 drivers/net/ethernet/sfc/mcdi.c rc = efx_mcdi_rpc(efx, MC_CMD_WOL_FILTER_REMOVE, inbuf, sizeof(inbuf), inbuf 1971 drivers/net/ethernet/sfc/mcdi.c MCDI_DECLARE_BUF(inbuf, inbuf 1985 drivers/net/ethernet/sfc/mcdi.c inbuf, FLUSH_RX_QUEUES_IN_QID_OFST, inbuf 1992 drivers/net/ethernet/sfc/mcdi.c rc = efx_mcdi_rpc(efx, MC_CMD_FLUSH_RX_QUEUES, inbuf, inbuf 2010 drivers/net/ethernet/sfc/mcdi.c MCDI_DECLARE_BUF(inbuf, MC_CMD_WORKAROUND_IN_LEN); inbuf 2016 drivers/net/ethernet/sfc/mcdi.c MCDI_SET_DWORD(inbuf, WORKAROUND_IN_TYPE, type); inbuf 2017 drivers/net/ethernet/sfc/mcdi.c MCDI_SET_DWORD(inbuf, WORKAROUND_IN_ENABLED, enabled); inbuf 2018 drivers/net/ethernet/sfc/mcdi.c rc = efx_mcdi_rpc(efx, MC_CMD_WORKAROUND, inbuf, sizeof(inbuf), inbuf 2074 drivers/net/ethernet/sfc/mcdi.c MCDI_DECLARE_BUF(inbuf, MC_CMD_NVRAM_UPDATE_START_V2_IN_LEN); inbuf 2077 drivers/net/ethernet/sfc/mcdi.c MCDI_SET_DWORD(inbuf, NVRAM_UPDATE_START_IN_TYPE, type); inbuf 2078 drivers/net/ethernet/sfc/mcdi.c MCDI_POPULATE_DWORD_1(inbuf, NVRAM_UPDATE_START_V2_IN_FLAGS, inbuf 2084 drivers/net/ethernet/sfc/mcdi.c rc = efx_mcdi_rpc(efx, MC_CMD_NVRAM_UPDATE_START, inbuf, sizeof(inbuf), inbuf 2093 drivers/net/ethernet/sfc/mcdi.c MCDI_DECLARE_BUF(inbuf, MC_CMD_NVRAM_READ_IN_V2_LEN); inbuf 2099 drivers/net/ethernet/sfc/mcdi.c MCDI_SET_DWORD(inbuf, NVRAM_READ_IN_TYPE, type); inbuf 2100 drivers/net/ethernet/sfc/mcdi.c MCDI_SET_DWORD(inbuf, NVRAM_READ_IN_OFFSET, offset); inbuf 2101 drivers/net/ethernet/sfc/mcdi.c MCDI_SET_DWORD(inbuf, NVRAM_READ_IN_LENGTH, length); inbuf 2102 drivers/net/ethernet/sfc/mcdi.c MCDI_SET_DWORD(inbuf, NVRAM_READ_IN_V2_MODE, inbuf 2105 drivers/net/ethernet/sfc/mcdi.c rc = efx_mcdi_rpc(efx, MC_CMD_NVRAM_READ, inbuf, sizeof(inbuf), inbuf 2117 drivers/net/ethernet/sfc/mcdi.c MCDI_DECLARE_BUF(inbuf, inbuf 2121 drivers/net/ethernet/sfc/mcdi.c MCDI_SET_DWORD(inbuf, NVRAM_WRITE_IN_TYPE, type); inbuf 2122 drivers/net/ethernet/sfc/mcdi.c MCDI_SET_DWORD(inbuf, NVRAM_WRITE_IN_OFFSET, offset); inbuf 2123 drivers/net/ethernet/sfc/mcdi.c MCDI_SET_DWORD(inbuf, NVRAM_WRITE_IN_LENGTH, length); inbuf 2124 drivers/net/ethernet/sfc/mcdi.c memcpy(MCDI_PTR(inbuf, NVRAM_WRITE_IN_WRITE_BUFFER), buffer, length); inbuf 2128 drivers/net/ethernet/sfc/mcdi.c rc = efx_mcdi_rpc(efx, MC_CMD_NVRAM_WRITE, inbuf, inbuf 2137 drivers/net/ethernet/sfc/mcdi.c MCDI_DECLARE_BUF(inbuf, MC_CMD_NVRAM_ERASE_IN_LEN); inbuf 2140 drivers/net/ethernet/sfc/mcdi.c MCDI_SET_DWORD(inbuf, NVRAM_ERASE_IN_TYPE, type); inbuf 2141 drivers/net/ethernet/sfc/mcdi.c MCDI_SET_DWORD(inbuf, NVRAM_ERASE_IN_OFFSET, offset); inbuf 2142 drivers/net/ethernet/sfc/mcdi.c MCDI_SET_DWORD(inbuf, NVRAM_ERASE_IN_LENGTH, length); inbuf 2146 drivers/net/ethernet/sfc/mcdi.c rc = efx_mcdi_rpc(efx, MC_CMD_NVRAM_ERASE, inbuf, sizeof(inbuf), inbuf 2153 drivers/net/ethernet/sfc/mcdi.c MCDI_DECLARE_BUF(inbuf, MC_CMD_NVRAM_UPDATE_FINISH_V2_IN_LEN); inbuf 2158 drivers/net/ethernet/sfc/mcdi.c MCDI_SET_DWORD(inbuf, NVRAM_UPDATE_FINISH_IN_TYPE, type); inbuf 2160 drivers/net/ethernet/sfc/mcdi.c MCDI_POPULATE_DWORD_1(inbuf, NVRAM_UPDATE_FINISH_V2_IN_FLAGS, inbuf 2164 drivers/net/ethernet/sfc/mcdi.c rc = efx_mcdi_rpc(efx, MC_CMD_NVRAM_UPDATE_FINISH, inbuf, sizeof(inbuf), inbuf 145 drivers/net/ethernet/sfc/mcdi.h int efx_mcdi_rpc(struct efx_nic *efx, unsigned cmd, const efx_dword_t *inbuf, inbuf 149 drivers/net/ethernet/sfc/mcdi.h const efx_dword_t *inbuf, size_t inlen, inbuf 154 drivers/net/ethernet/sfc/mcdi.h const efx_dword_t *inbuf, size_t inlen); inbuf 167 drivers/net/ethernet/sfc/mcdi.h const efx_dword_t *inbuf, size_t inlen, size_t outlen, inbuf 171 drivers/net/ethernet/sfc/mcdi.h const efx_dword_t *inbuf, size_t inlen, inbuf 147 drivers/net/ethernet/sfc/mcdi_mon.c MCDI_DECLARE_BUF(inbuf, MC_CMD_READ_SENSORS_EXT_IN_LEN); inbuf 150 drivers/net/ethernet/sfc/mcdi_mon.c MCDI_SET_QWORD(inbuf, READ_SENSORS_EXT_IN_DMA_ADDR, inbuf 152 drivers/net/ethernet/sfc/mcdi_mon.c MCDI_SET_DWORD(inbuf, READ_SENSORS_EXT_IN_LENGTH, hwmon->dma_buf.len); inbuf 155 drivers/net/ethernet/sfc/mcdi_mon.c inbuf, sizeof(inbuf), NULL, 0, NULL); inbuf 307 drivers/net/ethernet/sfc/mcdi_mon.c MCDI_DECLARE_BUF(inbuf, MC_CMD_SENSOR_INFO_EXT_IN_LEN); inbuf 319 drivers/net/ethernet/sfc/mcdi_mon.c MCDI_SET_DWORD(inbuf, SENSOR_INFO_EXT_IN_PAGE, page); inbuf 321 drivers/net/ethernet/sfc/mcdi_mon.c rc = efx_mcdi_rpc(efx, MC_CMD_SENSOR_INFO, inbuf, sizeof(inbuf), inbuf 381 drivers/net/ethernet/sfc/mcdi_mon.c MCDI_SET_DWORD(inbuf, SENSOR_INFO_EXT_IN_PAGE, inbuf 384 drivers/net/ethernet/sfc/mcdi_mon.c inbuf, sizeof(inbuf), inbuf 77 drivers/net/ethernet/sfc/mcdi_port.c MCDI_DECLARE_BUF(inbuf, MC_CMD_SET_LINK_IN_LEN); inbuf 82 drivers/net/ethernet/sfc/mcdi_port.c MCDI_SET_DWORD(inbuf, SET_LINK_IN_CAP, capabilities); inbuf 83 drivers/net/ethernet/sfc/mcdi_port.c MCDI_SET_DWORD(inbuf, SET_LINK_IN_FLAGS, flags); inbuf 84 drivers/net/ethernet/sfc/mcdi_port.c MCDI_SET_DWORD(inbuf, SET_LINK_IN_LOOPBACK_MODE, loopback_mode); inbuf 85 drivers/net/ethernet/sfc/mcdi_port.c MCDI_SET_DWORD(inbuf, SET_LINK_IN_LOOPBACK_SPEED, loopback_speed); inbuf 87 drivers/net/ethernet/sfc/mcdi_port.c rc = efx_mcdi_rpc(efx, MC_CMD_SET_LINK, inbuf, sizeof(inbuf), inbuf 122 drivers/net/ethernet/sfc/mcdi_port.c MCDI_DECLARE_BUF(inbuf, MC_CMD_MDIO_READ_IN_LEN); inbuf 127 drivers/net/ethernet/sfc/mcdi_port.c MCDI_SET_DWORD(inbuf, MDIO_READ_IN_BUS, efx->mdio_bus); inbuf 128 drivers/net/ethernet/sfc/mcdi_port.c MCDI_SET_DWORD(inbuf, MDIO_READ_IN_PRTAD, prtad); inbuf 129 drivers/net/ethernet/sfc/mcdi_port.c MCDI_SET_DWORD(inbuf, MDIO_READ_IN_DEVAD, devad); inbuf 130 drivers/net/ethernet/sfc/mcdi_port.c MCDI_SET_DWORD(inbuf, MDIO_READ_IN_ADDR, addr); inbuf 132 drivers/net/ethernet/sfc/mcdi_port.c rc = efx_mcdi_rpc(efx, MC_CMD_MDIO_READ, inbuf, sizeof(inbuf), inbuf 148 drivers/net/ethernet/sfc/mcdi_port.c MCDI_DECLARE_BUF(inbuf, MC_CMD_MDIO_WRITE_IN_LEN); inbuf 153 drivers/net/ethernet/sfc/mcdi_port.c MCDI_SET_DWORD(inbuf, MDIO_WRITE_IN_BUS, efx->mdio_bus); inbuf 154 drivers/net/ethernet/sfc/mcdi_port.c MCDI_SET_DWORD(inbuf, MDIO_WRITE_IN_PRTAD, prtad); inbuf 155 drivers/net/ethernet/sfc/mcdi_port.c MCDI_SET_DWORD(inbuf, MDIO_WRITE_IN_DEVAD, devad); inbuf 156 drivers/net/ethernet/sfc/mcdi_port.c MCDI_SET_DWORD(inbuf, MDIO_WRITE_IN_ADDR, addr); inbuf 157 drivers/net/ethernet/sfc/mcdi_port.c MCDI_SET_DWORD(inbuf, MDIO_WRITE_IN_VALUE, value); inbuf 159 drivers/net/ethernet/sfc/mcdi_port.c rc = efx_mcdi_rpc(efx, MC_CMD_MDIO_WRITE, inbuf, sizeof(inbuf), inbuf 786 drivers/net/ethernet/sfc/mcdi_port.c MCDI_DECLARE_BUF(inbuf, MC_CMD_START_BIST_IN_LEN); inbuf 792 drivers/net/ethernet/sfc/mcdi_port.c MCDI_SET_DWORD(inbuf, START_BIST_IN_TYPE, bist_mode); inbuf 794 drivers/net/ethernet/sfc/mcdi_port.c inbuf, MC_CMD_START_BIST_IN_LEN, NULL, 0, NULL); inbuf 931 drivers/net/ethernet/sfc/mcdi_port.c MCDI_DECLARE_BUF(inbuf, MC_CMD_GET_PHY_MEDIA_INFO_IN_LEN); inbuf 942 drivers/net/ethernet/sfc/mcdi_port.c MCDI_SET_DWORD(inbuf, GET_PHY_MEDIA_INFO_IN_PAGE, page); inbuf 944 drivers/net/ethernet/sfc/mcdi_port.c inbuf, sizeof(inbuf), inbuf 1245 drivers/net/ethernet/sfc/mcdi_port.c MCDI_DECLARE_BUF(inbuf, MC_CMD_MAC_STATS_IN_LEN); inbuf 1256 drivers/net/ethernet/sfc/mcdi_port.c MCDI_SET_QWORD(inbuf, MAC_STATS_IN_DMA_ADDR, dma_addr); inbuf 1257 drivers/net/ethernet/sfc/mcdi_port.c MCDI_POPULATE_DWORD_7(inbuf, MAC_STATS_IN_CMD, inbuf 1265 drivers/net/ethernet/sfc/mcdi_port.c MCDI_SET_DWORD(inbuf, MAC_STATS_IN_DMA_LEN, dma_len); inbuf 1270 drivers/net/ethernet/sfc/mcdi_port.c MCDI_SET_DWORD(inbuf, MAC_STATS_IN_PORT_ID, nic_data->vport_id); inbuf 1273 drivers/net/ethernet/sfc/mcdi_port.c rc = efx_mcdi_rpc_quiet(efx, MC_CMD_MAC_STATS, inbuf, sizeof(inbuf), inbuf 1277 drivers/net/ethernet/sfc/mcdi_port.c efx_mcdi_display_error(efx, MC_CMD_MAC_STATS, sizeof(inbuf), inbuf 407 drivers/net/ethernet/sfc/ptp.c MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_STATUS_LEN); inbuf 427 drivers/net/ethernet/sfc/ptp.c MCDI_SET_DWORD(inbuf, PTP_IN_OP, MC_CMD_PTP_OP_STATUS); inbuf 428 drivers/net/ethernet/sfc/ptp.c MCDI_SET_DWORD(inbuf, PTP_IN_PERIPH_ID, 0); inbuf 429 drivers/net/ethernet/sfc/ptp.c rc = efx_mcdi_rpc(efx, MC_CMD_PTP, inbuf, sizeof(inbuf), inbuf 631 drivers/net/ethernet/sfc/ptp.c MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_GET_ATTRIBUTES_LEN); inbuf 642 drivers/net/ethernet/sfc/ptp.c MCDI_SET_DWORD(inbuf, PTP_IN_OP, MC_CMD_PTP_OP_GET_ATTRIBUTES); inbuf 643 drivers/net/ethernet/sfc/ptp.c MCDI_SET_DWORD(inbuf, PTP_IN_PERIPH_ID, 0); inbuf 644 drivers/net/ethernet/sfc/ptp.c rc = efx_mcdi_rpc_quiet(efx, MC_CMD_PTP, inbuf, sizeof(inbuf), inbuf 654 drivers/net/ethernet/sfc/ptp.c efx_mcdi_display_error(efx, MC_CMD_PTP, sizeof(inbuf), inbuf 730 drivers/net/ethernet/sfc/ptp.c MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_GET_TIMESTAMP_CORRECTIONS_LEN); inbuf 738 drivers/net/ethernet/sfc/ptp.c MCDI_SET_DWORD(inbuf, PTP_IN_OP, inbuf 740 drivers/net/ethernet/sfc/ptp.c MCDI_SET_DWORD(inbuf, PTP_IN_PERIPH_ID, 0); inbuf 742 drivers/net/ethernet/sfc/ptp.c rc = efx_mcdi_rpc_quiet(efx, MC_CMD_PTP, inbuf, sizeof(inbuf), inbuf 775 drivers/net/ethernet/sfc/ptp.c efx_mcdi_display_error(efx, MC_CMD_PTP, sizeof(inbuf), outbuf, inbuf 786 drivers/net/ethernet/sfc/ptp.c MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_ENABLE_LEN); inbuf 790 drivers/net/ethernet/sfc/ptp.c MCDI_SET_DWORD(inbuf, PTP_IN_OP, MC_CMD_PTP_OP_ENABLE); inbuf 791 drivers/net/ethernet/sfc/ptp.c MCDI_SET_DWORD(inbuf, PTP_IN_PERIPH_ID, 0); inbuf 792 drivers/net/ethernet/sfc/ptp.c MCDI_SET_DWORD(inbuf, PTP_IN_ENABLE_QUEUE, inbuf 795 drivers/net/ethernet/sfc/ptp.c MCDI_SET_DWORD(inbuf, PTP_IN_ENABLE_MODE, efx->ptp_data->mode); inbuf 797 drivers/net/ethernet/sfc/ptp.c rc = efx_mcdi_rpc_quiet(efx, MC_CMD_PTP, inbuf, sizeof(inbuf), inbuf 814 drivers/net/ethernet/sfc/ptp.c MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_DISABLE_LEN); inbuf 818 drivers/net/ethernet/sfc/ptp.c MCDI_SET_DWORD(inbuf, PTP_IN_OP, MC_CMD_PTP_OP_DISABLE); inbuf 819 drivers/net/ethernet/sfc/ptp.c MCDI_SET_DWORD(inbuf, PTP_IN_PERIPH_ID, 0); inbuf 820 drivers/net/ethernet/sfc/ptp.c rc = efx_mcdi_rpc_quiet(efx, MC_CMD_PTP, inbuf, sizeof(inbuf), inbuf 2102 drivers/net/ethernet/sfc/ptp.c MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_ADJUST_LEN); inbuf 2106 drivers/net/ethernet/sfc/ptp.c MCDI_SET_DWORD(inbuf, PTP_IN_OP, MC_CMD_PTP_OP_ADJUST); inbuf 2107 drivers/net/ethernet/sfc/ptp.c MCDI_SET_DWORD(inbuf, PTP_IN_PERIPH_ID, 0); inbuf 2108 drivers/net/ethernet/sfc/ptp.c MCDI_SET_QWORD(inbuf, PTP_IN_ADJUST_FREQ, ptp_data->current_adjfreq); inbuf 2109 drivers/net/ethernet/sfc/ptp.c MCDI_SET_DWORD(inbuf, PTP_IN_ADJUST_MAJOR, nic_major); inbuf 2110 drivers/net/ethernet/sfc/ptp.c MCDI_SET_DWORD(inbuf, PTP_IN_ADJUST_MINOR, nic_minor); inbuf 2111 drivers/net/ethernet/sfc/ptp.c return efx_mcdi_rpc(efx, MC_CMD_PTP, inbuf, sizeof(inbuf), inbuf 2121 drivers/net/ethernet/sfc/ptp.c MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_READ_NIC_TIME_LEN); inbuf 2126 drivers/net/ethernet/sfc/ptp.c MCDI_SET_DWORD(inbuf, PTP_IN_OP, MC_CMD_PTP_OP_READ_NIC_TIME); inbuf 2127 drivers/net/ethernet/sfc/ptp.c MCDI_SET_DWORD(inbuf, PTP_IN_PERIPH_ID, 0); inbuf 2129 drivers/net/ethernet/sfc/ptp.c rc = efx_mcdi_rpc(efx, MC_CMD_PTP, inbuf, sizeof(inbuf), inbuf 634 drivers/net/ethernet/sfc/siena.c MCDI_DECLARE_BUF(inbuf, MC_CMD_SET_MCAST_HASH_IN_LEN); inbuf 649 drivers/net/ethernet/sfc/siena.c memcpy(MCDI_PTR(inbuf, SET_MCAST_HASH_IN_HASH0), inbuf 652 drivers/net/ethernet/sfc/siena.c inbuf, sizeof(inbuf), NULL, 0, NULL); inbuf 198 drivers/net/ethernet/sfc/siena_sriov.c MCDI_DECLARE_BUF(inbuf, MC_CMD_SRIOV_IN_LEN); inbuf 204 drivers/net/ethernet/sfc/siena_sriov.c MCDI_SET_DWORD(inbuf, SRIOV_IN_ENABLE, enable ? 1 : 0); inbuf 205 drivers/net/ethernet/sfc/siena_sriov.c MCDI_SET_DWORD(inbuf, SRIOV_IN_VI_BASE, EFX_VI_BASE); inbuf 206 drivers/net/ethernet/sfc/siena_sriov.c MCDI_SET_DWORD(inbuf, SRIOV_IN_VF_COUNT, efx->vf_count); inbuf 208 drivers/net/ethernet/sfc/siena_sriov.c rc = efx_mcdi_rpc_quiet(efx, MC_CMD_SRIOV, inbuf, MC_CMD_SRIOV_IN_LEN, inbuf 243 drivers/net/ethernet/sfc/siena_sriov.c MCDI_DECLARE_BUF(inbuf, MCDI_CTL_SDU_LEN_MAX_V1); inbuf 257 drivers/net/ethernet/sfc/siena_sriov.c record = MCDI_ARRAY_STRUCT_PTR(inbuf, MEMCPY_IN_RECORD, index); inbuf 276 drivers/net/ethernet/sfc/siena_sriov.c memcpy(_MCDI_PTR(inbuf, used), req->from_buf, inbuf 290 drivers/net/ethernet/sfc/siena_sriov.c rc = efx_mcdi_rpc(efx, MC_CMD_MEMCPY, inbuf, used, NULL, 0, NULL); inbuf 684 drivers/net/ethernet/sfc/siena_sriov.c MCDI_DECLARE_BUF(inbuf, MC_CMD_FLUSH_RX_QUEUES_IN_LENMAX); inbuf 706 drivers/net/ethernet/sfc/siena_sriov.c inbuf, FLUSH_RX_QUEUES_IN_QID_OFST, inbuf 714 drivers/net/ethernet/sfc/siena_sriov.c rc = efx_mcdi_rpc(efx, MC_CMD_FLUSH_RX_QUEUES, inbuf, inbuf 727 drivers/net/ethernet/sfc/siena_sriov.c inbuf, FLUSH_RX_QUEUES_IN_QID_OFST, inbuf 427 drivers/net/wan/sdla.c void *inbuf, short inlen, void *outbuf, short *outlen) inbuf 450 drivers/net/wan/sdla.c if (inbuf) inbuf 451 drivers/net/wan/sdla.c memcpy(cmd_buf->data, inbuf, inlen); inbuf 156 drivers/ntb/test/ntb_perf.c void *inbuf; inbuf 555 drivers/ntb/test/ntb_perf.c if (!peer->inbuf) inbuf 560 drivers/ntb/test/ntb_perf.c peer->inbuf, peer->inbuf_xlat); inbuf 561 drivers/ntb/test/ntb_perf.c peer->inbuf = NULL; inbuf 588 drivers/ntb/test/ntb_perf.c peer->inbuf = dma_alloc_coherent(&perf->ntb->dev, peer->inbuf_size, inbuf 590 drivers/ntb/test/ntb_perf.c if (!peer->inbuf) { inbuf 1203 drivers/ntb/test/ntb_perf.c if (!peer->inbuf) { inbuf 1210 drivers/ntb/test/ntb_perf.c "\tIn buffer addr 0x%pK\n", peer->inbuf); inbuf 23 drivers/platform/olpc/olpc-ec.c u8 *inbuf, *outbuf; inbuf 98 drivers/platform/olpc/olpc-ec.c desc->err = ec_driver->ec_cmd(desc->cmd, desc->inbuf, desc->inlen, inbuf 127 drivers/platform/olpc/olpc-ec.c int olpc_ec_cmd(u8 cmd, u8 *inbuf, size_t inlen, u8 *outbuf, size_t outlen) inbuf 149 drivers/platform/olpc/olpc-ec.c desc.inbuf = inbuf; inbuf 473 drivers/platform/olpc/olpc-xo175-ec.c static int olpc_xo175_ec_cmd(u8 cmd, u8 *inbuf, size_t inlen, u8 *resp, inbuf 524 drivers/platform/olpc/olpc-xo175-ec.c memcpy(priv->cmd.args, inbuf, inlen); inbuf 511 drivers/platform/x86/intel_scu_ipc.c u32 inbuf[4]; inbuf 534 drivers/platform/x86/intel_scu_ipc.c memcpy(inbuf, in, inlen); inbuf 537 drivers/platform/x86/intel_scu_ipc.c ipc_data_writel(scu, inbuf[i], 4 * i); inbuf 345 drivers/s390/block/dcssblk.c dcssblk_shared_store(struct device *dev, struct device_attribute *attr, const char *inbuf, size_t count) inbuf 351 drivers/s390/block/dcssblk.c if ((count > 1) && (inbuf[1] != '\n') && (inbuf[1] != '\0')) inbuf 359 drivers/s390/block/dcssblk.c if (inbuf[0] == '1') { inbuf 377 drivers/s390/block/dcssblk.c } else if (inbuf[0] == '0') { inbuf 451 drivers/s390/block/dcssblk.c dcssblk_save_store(struct device *dev, struct device_attribute *attr, const char *inbuf, size_t count) inbuf 456 drivers/s390/block/dcssblk.c if ((count > 1) && (inbuf[1] != '\n') && (inbuf[1] != '\0')) inbuf 461 drivers/s390/block/dcssblk.c if (inbuf[0] == '1') { inbuf 483 drivers/s390/block/dcssblk.c } else if (inbuf[0] == '0') { inbuf 82 drivers/s390/char/con3215.c char *inbuf; /* pointer to input buffer */ inbuf 162 drivers/s390/char/con3215.c ccw->cda = (__u32) __pa(raw->inbuf); inbuf 410 drivers/s390/char/con3215.c EBCASC(raw->inbuf, count); inbuf 411 drivers/s390/char/con3215.c cchar = ctrlchar_handle(raw->inbuf, count, tty); inbuf 424 drivers/s390/char/con3215.c (strncmp(raw->inbuf+count-2, "\252n", 2) && inbuf 425 drivers/s390/char/con3215.c strncmp(raw->inbuf+count-2, "^n", 2)) ) { inbuf 427 drivers/s390/char/con3215.c raw->inbuf[count] = '\n'; inbuf 431 drivers/s390/char/con3215.c tty_insert_flip_string(&raw->port, raw->inbuf, inbuf 666 drivers/s390/char/con3215.c info->inbuf = kzalloc(RAW3215_INBUF_SIZE, GFP_KERNEL | GFP_DMA); inbuf 667 drivers/s390/char/con3215.c if (!info->buffer || !info->inbuf) { inbuf 668 drivers/s390/char/con3215.c kfree(info->inbuf); inbuf 684 drivers/s390/char/con3215.c kfree(raw->inbuf); inbuf 94 drivers/sbus/char/uctrl.c u8 *inbuf; inbuf 283 drivers/sbus/char/uctrl.c byte = (txn->inbuf[bytecnt] << 8); inbuf 311 drivers/sbus/char/uctrl.c txn.inbuf = NULL; inbuf 331 drivers/sbus/char/uctrl.c txn.inbuf = NULL; inbuf 6671 drivers/scsi/advansys.c DvcGetQinfo(PortAddr iop_base, ushort s_addr, uchar *inbuf, int words) inbuf 6682 drivers/scsi/advansys.c inbuf[i] = word & 0xff; inbuf 6683 drivers/scsi/advansys.c inbuf[i + 1] = (word >> 8) & 0xff; inbuf 6685 drivers/scsi/advansys.c ASC_DBG_PRT_HEX(2, "DvcGetQinfo", inbuf, 2 * words); inbuf 337 drivers/scsi/hptiop.h void *inbuf; inbuf 1894 drivers/scsi/qla2xxx/qla_isr.c uint32_t *inbuf, *outbuf; inbuf 1897 drivers/scsi/qla2xxx/qla_isr.c inbuf = (uint32_t *)&sts->nvme_ersp_data; inbuf 1914 drivers/scsi/qla2xxx/qla_isr.c *outbuf++ = swab32(*inbuf++); inbuf 152 drivers/staging/comedi/drivers/usbduxfast.c s8 *inbuf; inbuf 308 drivers/staging/comedi/drivers/usbduxfast.c devpriv->inbuf, SIZEINBUF, inbuf 806 drivers/staging/comedi/drivers/usbduxfast.c devpriv->inbuf, SIZEINBUF, inbuf 817 drivers/staging/comedi/drivers/usbduxfast.c devpriv->inbuf, SIZEINBUF, inbuf 831 drivers/staging/comedi/drivers/usbduxfast.c data[i] = ((u16 *)(devpriv->inbuf))[j]; inbuf 950 drivers/staging/comedi/drivers/usbduxfast.c devpriv->inbuf = kmalloc(SIZEINBUF, GFP_KERNEL); inbuf 951 drivers/staging/comedi/drivers/usbduxfast.c if (!devpriv->inbuf) inbuf 996 drivers/staging/comedi/drivers/usbduxfast.c kfree(devpriv->inbuf); inbuf 30 drivers/staging/greybus/hid.c char *inbuf; inbuf 173 drivers/staging/greybus/hid.c kfree(ghid->inbuf); inbuf 174 drivers/staging/greybus/hid.c ghid->inbuf = NULL; inbuf 180 drivers/staging/greybus/hid.c ghid->inbuf = kzalloc(bufsize, GFP_KERNEL); inbuf 181 drivers/staging/greybus/hid.c if (!ghid->inbuf) inbuf 195 drivers/staging/greybus/hid.c if (gb_hid_get_report(ghid, report->type, report->id, ghid->inbuf, inbuf 204 drivers/staging/greybus/hid.c hid_report_raw_event(ghid->hid, report->type, ghid->inbuf, size, 1); inbuf 46 drivers/staging/isdn/gigaset/asyncdata.c static unsigned cmd_loop(unsigned numbytes, struct inbuf_t *inbuf) inbuf 48 drivers/staging/isdn/gigaset/asyncdata.c unsigned char *src = inbuf->data + inbuf->head; inbuf 49 drivers/staging/isdn/gigaset/asyncdata.c struct cardstate *cs = inbuf->cs; inbuf 83 drivers/staging/isdn/gigaset/asyncdata.c if (cs->dle && !(inbuf->inputstate & INS_DLE_command)) inbuf 84 drivers/staging/isdn/gigaset/asyncdata.c inbuf->inputstate &= ~INS_command; inbuf 90 drivers/staging/isdn/gigaset/asyncdata.c if (inbuf->inputstate & INS_DLE_char) { inbuf 92 drivers/staging/isdn/gigaset/asyncdata.c inbuf->inputstate &= ~INS_DLE_char; inbuf 94 drivers/staging/isdn/gigaset/asyncdata.c (inbuf->inputstate & INS_DLE_command)) { inbuf 96 drivers/staging/isdn/gigaset/asyncdata.c inbuf->inputstate |= INS_DLE_char; inbuf 118 drivers/staging/isdn/gigaset/asyncdata.c static unsigned lock_loop(unsigned numbytes, struct inbuf_t *inbuf) inbuf 120 drivers/staging/isdn/gigaset/asyncdata.c unsigned char *src = inbuf->data + inbuf->head; inbuf 123 drivers/staging/isdn/gigaset/asyncdata.c gigaset_if_receive(inbuf->cs, src, numbytes); inbuf 135 drivers/staging/isdn/gigaset/asyncdata.c static unsigned hdlc_loop(unsigned numbytes, struct inbuf_t *inbuf) inbuf 137 drivers/staging/isdn/gigaset/asyncdata.c struct cardstate *cs = inbuf->cs; inbuf 142 drivers/staging/isdn/gigaset/asyncdata.c unsigned char *src = inbuf->data + inbuf->head; inbuf 282 drivers/staging/isdn/gigaset/asyncdata.c static unsigned iraw_loop(unsigned numbytes, struct inbuf_t *inbuf) inbuf 284 drivers/staging/isdn/gigaset/asyncdata.c struct cardstate *cs = inbuf->cs; inbuf 288 drivers/staging/isdn/gigaset/asyncdata.c unsigned char *src = inbuf->data + inbuf->head; inbuf 335 drivers/staging/isdn/gigaset/asyncdata.c static void handle_dle(struct inbuf_t *inbuf) inbuf 337 drivers/staging/isdn/gigaset/asyncdata.c struct cardstate *cs = inbuf->cs; inbuf 342 drivers/staging/isdn/gigaset/asyncdata.c if (!(inbuf->inputstate & INS_DLE_char)) { inbuf 344 drivers/staging/isdn/gigaset/asyncdata.c if (inbuf->data[inbuf->head] == DLE_FLAG && inbuf 345 drivers/staging/isdn/gigaset/asyncdata.c (cs->dle || inbuf->inputstate & INS_DLE_command)) { inbuf 347 drivers/staging/isdn/gigaset/asyncdata.c inbuf->head++; inbuf 348 drivers/staging/isdn/gigaset/asyncdata.c if (inbuf->head == inbuf->tail || inbuf 349 drivers/staging/isdn/gigaset/asyncdata.c inbuf->head == RBUFSIZE) { inbuf 351 drivers/staging/isdn/gigaset/asyncdata.c inbuf->inputstate |= INS_DLE_char; inbuf 361 drivers/staging/isdn/gigaset/asyncdata.c inbuf->inputstate &= ~INS_DLE_char; inbuf 363 drivers/staging/isdn/gigaset/asyncdata.c switch (inbuf->data[inbuf->head]) { inbuf 365 drivers/staging/isdn/gigaset/asyncdata.c if (inbuf->inputstate & INS_command) inbuf 368 drivers/staging/isdn/gigaset/asyncdata.c inbuf->inputstate |= INS_command | INS_DLE_command; inbuf 369 drivers/staging/isdn/gigaset/asyncdata.c inbuf->head++; /* byte consumed */ inbuf 372 drivers/staging/isdn/gigaset/asyncdata.c if (!(inbuf->inputstate & INS_DLE_command)) inbuf 375 drivers/staging/isdn/gigaset/asyncdata.c inbuf->inputstate &= ~INS_DLE_command; inbuf 378 drivers/staging/isdn/gigaset/asyncdata.c inbuf->inputstate &= ~INS_command; inbuf 379 drivers/staging/isdn/gigaset/asyncdata.c inbuf->head++; /* byte consumed */ inbuf 383 drivers/staging/isdn/gigaset/asyncdata.c inbuf->inputstate |= INS_DLE_char; inbuf 384 drivers/staging/isdn/gigaset/asyncdata.c if (!(cs->dle || inbuf->inputstate & INS_DLE_command)) inbuf 390 drivers/staging/isdn/gigaset/asyncdata.c inbuf->data[inbuf->head]); inbuf 404 drivers/staging/isdn/gigaset/asyncdata.c void gigaset_m10x_input(struct inbuf_t *inbuf) inbuf 406 drivers/staging/isdn/gigaset/asyncdata.c struct cardstate *cs = inbuf->cs; inbuf 409 drivers/staging/isdn/gigaset/asyncdata.c gig_dbg(DEBUG_INTR, "buffer state: %u -> %u", inbuf->head, inbuf->tail); inbuf 411 drivers/staging/isdn/gigaset/asyncdata.c while (inbuf->head != inbuf->tail) { inbuf 413 drivers/staging/isdn/gigaset/asyncdata.c handle_dle(inbuf); inbuf 416 drivers/staging/isdn/gigaset/asyncdata.c numbytes = (inbuf->head > inbuf->tail ? inbuf 417 drivers/staging/isdn/gigaset/asyncdata.c RBUFSIZE : inbuf->tail) - inbuf->head; inbuf 425 drivers/staging/isdn/gigaset/asyncdata.c procbytes = lock_loop(numbytes, inbuf); inbuf 426 drivers/staging/isdn/gigaset/asyncdata.c else if (inbuf->inputstate & INS_command) inbuf 427 drivers/staging/isdn/gigaset/asyncdata.c procbytes = cmd_loop(numbytes, inbuf); inbuf 429 drivers/staging/isdn/gigaset/asyncdata.c procbytes = hdlc_loop(numbytes, inbuf); inbuf 431 drivers/staging/isdn/gigaset/asyncdata.c procbytes = iraw_loop(numbytes, inbuf); inbuf 432 drivers/staging/isdn/gigaset/asyncdata.c inbuf->head += procbytes; inbuf 435 drivers/staging/isdn/gigaset/asyncdata.c if (inbuf->head >= RBUFSIZE) inbuf 436 drivers/staging/isdn/gigaset/asyncdata.c inbuf->head = 0; inbuf 438 drivers/staging/isdn/gigaset/asyncdata.c gig_dbg(DEBUG_INTR, "head set to %u", inbuf->head); inbuf 477 drivers/staging/isdn/gigaset/bas-gigaset.c struct inbuf_t *inbuf = urb->context; inbuf 478 drivers/staging/isdn/gigaset/bas-gigaset.c struct cardstate *cs = inbuf->cs; inbuf 500 drivers/staging/isdn/gigaset/bas-gigaset.c if (gigaset_fill_inbuf(inbuf, ucs->rcvbuf, numbytes)) { inbuf 583 drivers/staging/isdn/gigaset/bas-gigaset.c read_ctrl_callback, cs->inbuf); inbuf 508 drivers/staging/isdn/gigaset/common.c kfree(cs->inbuf); inbuf 546 drivers/staging/isdn/gigaset/common.c static void gigaset_inbuf_init(struct inbuf_t *inbuf, struct cardstate *cs) inbuf 549 drivers/staging/isdn/gigaset/common.c inbuf->head = 0; inbuf 550 drivers/staging/isdn/gigaset/common.c inbuf->tail = 0; inbuf 551 drivers/staging/isdn/gigaset/common.c inbuf->cs = cs; inbuf 552 drivers/staging/isdn/gigaset/common.c inbuf->inputstate = INS_command; inbuf 563 drivers/staging/isdn/gigaset/common.c int gigaset_fill_inbuf(struct inbuf_t *inbuf, const unsigned char *src, inbuf 574 drivers/staging/isdn/gigaset/common.c tail = inbuf->tail; inbuf 575 drivers/staging/isdn/gigaset/common.c head = inbuf->head; inbuf 586 drivers/staging/isdn/gigaset/common.c dev_err(inbuf->cs->dev, inbuf 593 drivers/staging/isdn/gigaset/common.c memcpy(inbuf->data + tail, src, n); inbuf 599 drivers/staging/isdn/gigaset/common.c inbuf->tail = tail; inbuf 711 drivers/staging/isdn/gigaset/common.c cs->inbuf = kmalloc(sizeof(struct inbuf_t), GFP_KERNEL); inbuf 712 drivers/staging/isdn/gigaset/common.c if (!cs->bcs || !cs->inbuf) { inbuf 725 drivers/staging/isdn/gigaset/common.c gigaset_inbuf_init(cs->inbuf, cs); inbuf 830 drivers/staging/isdn/gigaset/common.c cs->inbuf->inputstate = INS_command; inbuf 831 drivers/staging/isdn/gigaset/common.c cs->inbuf->head = 0; inbuf 832 drivers/staging/isdn/gigaset/common.c cs->inbuf->tail = 0; inbuf 1147 drivers/staging/isdn/gigaset/ev-layer.c cs->inbuf[0].inputstate &= inbuf 1152 drivers/staging/isdn/gigaset/ev-layer.c cs->inbuf[0].inputstate = inbuf 1153 drivers/staging/isdn/gigaset/ev-layer.c (cs->inbuf[0].inputstate & ~INS_DLE_command) inbuf 1788 drivers/staging/isdn/gigaset/ev-layer.c cs->inbuf->inputstate = INS_command; inbuf 1904 drivers/staging/isdn/gigaset/ev-layer.c if (cs->inbuf->head != cs->inbuf->tail) { inbuf 1906 drivers/staging/isdn/gigaset/ev-layer.c cs->ops->handle_input(cs->inbuf); inbuf 430 drivers/staging/isdn/gigaset/gigaset.h struct inbuf_t *inbuf; inbuf 611 drivers/staging/isdn/gigaset/gigaset.h void (*handle_input)(struct inbuf_t *inbuf); inbuf 634 drivers/staging/isdn/gigaset/gigaset.h void gigaset_m10x_input(struct inbuf_t *inbuf); inbuf 645 drivers/staging/isdn/gigaset/gigaset.h void gigaset_isoc_input(struct inbuf_t *inbuf); inbuf 807 drivers/staging/isdn/gigaset/gigaset.h int gigaset_fill_inbuf(struct inbuf_t *inbuf, const unsigned char *src, inbuf 891 drivers/staging/isdn/gigaset/isocdata.c static void cmd_loop(unsigned char *src, int numbytes, struct inbuf_t *inbuf) inbuf 893 drivers/staging/isdn/gigaset/isocdata.c struct cardstate *cs = inbuf->cs; inbuf 938 drivers/staging/isdn/gigaset/isocdata.c void gigaset_isoc_input(struct inbuf_t *inbuf) inbuf 940 drivers/staging/isdn/gigaset/isocdata.c struct cardstate *cs = inbuf->cs; inbuf 944 drivers/staging/isdn/gigaset/isocdata.c head = inbuf->head; inbuf 945 drivers/staging/isdn/gigaset/isocdata.c while (head != (tail = inbuf->tail)) { inbuf 949 drivers/staging/isdn/gigaset/isocdata.c src = inbuf->data + head; inbuf 956 drivers/staging/isdn/gigaset/isocdata.c gigaset_if_receive(inbuf->cs, src, numbytes); inbuf 958 drivers/staging/isdn/gigaset/isocdata.c cmd_loop(src, numbytes, inbuf); inbuf 965 drivers/staging/isdn/gigaset/isocdata.c inbuf->head = head; inbuf 662 drivers/staging/isdn/gigaset/ser-gigaset.c struct inbuf_t *inbuf; inbuf 666 drivers/staging/isdn/gigaset/ser-gigaset.c inbuf = cs->inbuf; inbuf 667 drivers/staging/isdn/gigaset/ser-gigaset.c if (!inbuf) { inbuf 673 drivers/staging/isdn/gigaset/ser-gigaset.c tail = inbuf->tail; inbuf 674 drivers/staging/isdn/gigaset/ser-gigaset.c head = inbuf->head; inbuf 681 drivers/staging/isdn/gigaset/ser-gigaset.c memcpy(inbuf->data + tail, buf, n); inbuf 696 drivers/staging/isdn/gigaset/ser-gigaset.c memcpy(inbuf->data + tail, buf, count); inbuf 701 drivers/staging/isdn/gigaset/ser-gigaset.c inbuf->tail = tail; inbuf 345 drivers/staging/isdn/gigaset/usb-gigaset.c struct inbuf_t *inbuf = cs->inbuf; inbuf 363 drivers/staging/isdn/gigaset/usb-gigaset.c if (gigaset_fill_inbuf(inbuf, src, numbytes)) { inbuf 365 drivers/staging/isdn/gigaset/usb-gigaset.c gigaset_schedule_event(inbuf->cs); inbuf 1174 drivers/staging/wlan-ng/hfa384x.h union hfa384x_usbin inbuf; /* pkt buf for IN(a copy) */ inbuf 810 drivers/staging/wlan-ng/hfa384x_usb.c usbctlx_get_status(&ctlx->inbuf.cmdresp, &cmdresult); inbuf 1243 drivers/staging/wlan-ng/hfa384x_usb.c &ctlx->inbuf.cmdresp, inbuf 1331 drivers/staging/wlan-ng/hfa384x_usb.c &ctlx->inbuf.rridresp, inbuf 1418 drivers/staging/wlan-ng/hfa384x_usb.c &ctlx->inbuf.wridresp, inbuf 1503 drivers/staging/wlan-ng/hfa384x_usb.c &ctlx->inbuf.rmemresp, data, inbuf 1589 drivers/staging/wlan-ng/hfa384x_usb.c &ctlx->inbuf.wmemresp, inbuf 3156 drivers/staging/wlan-ng/hfa384x_usb.c memcpy(&ctlx->inbuf, usbin, sizeof(ctlx->inbuf)); inbuf 69 drivers/tty/hvc/hvsi.c uint8_t inbuf[HVSI_MAX_PACKET + HVSI_MAX_READ]; inbuf 174 drivers/tty/hvc/hvsi.c if (read_to != hp->inbuf) inbuf 175 drivers/tty/hvc/hvsi.c memmove(hp->inbuf, read_to, remaining); inbuf 177 drivers/tty/hvc/hvsi.c hp->inbuf_end = hp->inbuf + remaining; inbuf 391 drivers/tty/hvc/hvsi.c uint8_t *packet = hp->inbuf; inbuf 776 drivers/tty/hvc/hvsi.c hp->inbuf_end = hp->inbuf; /* discard remaining partial packets */ inbuf 1192 drivers/tty/hvc/hvsi.c hp->inbuf_end = hp->inbuf; inbuf 70 drivers/tty/hvc/hvsi_lib.c struct hvsi_control *pkt = (struct hvsi_control *)pv->inbuf; inbuf 86 drivers/tty/hvc/hvsi_lib.c struct hvsi_query *pkt = (struct hvsi_query *)pv->inbuf; inbuf 111 drivers/tty/hvc/hvsi_lib.c (struct hvsi_query_response *)pv->inbuf; inbuf 128 drivers/tty/hvc/hvsi_lib.c if (pv->inbuf[0] < 0xfc) { inbuf 132 drivers/tty/hvc/hvsi_lib.c type = pv->inbuf[0]; inbuf 133 drivers/tty/hvc/hvsi_lib.c len = pv->inbuf[1]; inbuf 161 drivers/tty/hvc/hvsi_lib.c memmove(pv->inbuf, &pv->inbuf[len], pv->inbuf_len); inbuf 170 drivers/tty/hvc/hvsi_lib.c &pv->inbuf[pv->inbuf_len], inbuf 203 drivers/tty/hvc/hvsi_lib.c memcpy(&buf[read], &pv->inbuf[pv->inbuf_cur], l); inbuf 215 drivers/tty/hvc/hvsi_lib.c memmove(pv->inbuf, &pv->inbuf[pv->inbuf_cur], inbuf 325 drivers/tty/vt/consolemap.c unsigned short inbuf[E_TABSZ]; inbuf 332 drivers/tty/vt/consolemap.c inbuf[i] = UNI_DIRECT_BASE | ubuf[i]; inbuf 335 drivers/tty/vt/consolemap.c memcpy(translations[USER_MAP], inbuf, sizeof(inbuf)); inbuf 360 drivers/tty/vt/consolemap.c unsigned short inbuf[E_TABSZ]; inbuf 362 drivers/tty/vt/consolemap.c if (copy_from_user(inbuf, arg, sizeof(inbuf))) inbuf 366 drivers/tty/vt/consolemap.c memcpy(translations[USER_MAP], inbuf, sizeof(inbuf)); inbuf 71 drivers/usb/class/cdc-wdm.c u8 *inbuf; /* buffer for response */ inbuf 207 drivers/usb/class/cdc-wdm.c memmove(desc->ubuf + desc->length, desc->inbuf, length); inbuf 339 drivers/usb/class/cdc-wdm.c kfree(desc->inbuf); inbuf 844 drivers/usb/class/cdc-wdm.c desc->inbuf = kmalloc(desc->wMaxCommand, GFP_KERNEL); inbuf 845 drivers/usb/class/cdc-wdm.c if (!desc->inbuf) inbuf 871 drivers/usb/class/cdc-wdm.c desc->inbuf, inbuf 234 fs/dlm/dir.c void dlm_copy_master_names(struct dlm_ls *ls, char *inbuf, int inlen, inbuf 245 fs/dlm/dir.c r = find_rsb_root(ls, inbuf, inlen); inbuf 247 fs/dlm/dir.c inbuf[inlen - 1] = '\0'; inbuf 249 fs/dlm/dir.c nodeid, inlen, inbuf); inbuf 19 fs/dlm/dir.h void dlm_copy_master_names(struct dlm_ls *ls, char *inbuf, int inlen, inbuf 5 include/linux/decompress/bunzip2.h int bunzip2(unsigned char *inbuf, long len, inbuf 5 include/linux/decompress/generic.h typedef int (*decompress_fn) (unsigned char *inbuf, long len, inbuf 37 include/linux/decompress/generic.h decompress_fn decompress_method(const unsigned char *inbuf, long len, inbuf 5 include/linux/decompress/inflate.h int gunzip(unsigned char *inbuf, long len, inbuf 5 include/linux/decompress/unlz4.h int unlz4(unsigned char *inbuf, long len, inbuf 5 include/linux/decompress/unlzo.h int unlzo(unsigned char *inbuf, long len, inbuf 48 include/linux/olpc-ec.h extern int olpc_ec_cmd(u8 cmd, u8 *inbuf, size_t inlen, u8 *outbuf, inbuf 61 include/linux/olpc-ec.h static inline int olpc_ec_cmd(u8 cmd, u8 *inbuf, size_t inlen, u8 *outbuf, inbuf 72 include/linux/sunrpc/gss_api.h struct xdr_buf *inbuf); inbuf 275 include/linux/sunrpc/gss_krb5.h gss_decrypt_xdr_buf(struct crypto_sync_skcipher *tfm, struct xdr_buf *inbuf, inbuf 1494 include/rdma/ib_verbs.h const void __user *inbuf; inbuf 2810 include/rdma/ib_verbs.h return copy_from_user(dest, udata->inbuf, len) ? -EFAULT : 0; inbuf 2840 include/rdma/ib_verbs.h return ib_is_buffer_cleared(udata->inbuf + offset, len); inbuf 58 lib/decompress.c decompress_fn __init decompress_method(const unsigned char *inbuf, long len, inbuf 69 lib/decompress.c pr_debug("Compressed data magic: %#.2x %#.2x\n", inbuf[0], inbuf[1]); inbuf 72 lib/decompress.c if (!memcmp(inbuf, cf->magic, 2)) inbuf 98 lib/decompress_bunzip2.c unsigned char *inbuf /*,*outbuf*/; inbuf 129 lib/decompress_bunzip2.c bd->inbufCount = bd->fill(bd->inbuf, BZIP2_IOBUF_SIZE); inbuf 144 lib/decompress_bunzip2.c bd->inbufBits = (bd->inbufBits << 8)|bd->inbuf[bd->inbufPos++]; inbuf 386 lib/decompress_bunzip2.c (bd->inbufBits << 8)|bd->inbuf[bd->inbufPos++]; inbuf 629 lib/decompress_bunzip2.c static int INIT start_bunzip(struct bunzip_data **bdp, void *inbuf, long len, inbuf 647 lib/decompress_bunzip2.c bd->inbuf = inbuf; inbuf 688 lib/decompress_bunzip2.c unsigned char *inbuf; inbuf 698 lib/decompress_bunzip2.c inbuf = buf; inbuf 700 lib/decompress_bunzip2.c inbuf = malloc(BZIP2_IOBUF_SIZE); inbuf 701 lib/decompress_bunzip2.c if (!inbuf) { inbuf 706 lib/decompress_bunzip2.c i = start_bunzip(&bd, inbuf, len, fill); inbuf 739 lib/decompress_bunzip2.c free(inbuf); inbuf 555 lib/decompress_unlzma.c unsigned char *inbuf; inbuf 561 lib/decompress_unlzma.c inbuf = buf; inbuf 563 lib/decompress_unlzma.c inbuf = malloc(LZMA_IOBUF_SIZE); inbuf 564 lib/decompress_unlzma.c if (!inbuf) { inbuf 578 lib/decompress_unlzma.c rc_init(&rc, fill, inbuf, in_len); inbuf 664 lib/decompress_unlzma.c free(inbuf); inbuf 569 scripts/dtc/flattree.c static void inbuf_init(struct inbuf *inb, void *base, void *limit) inbuf 576 scripts/dtc/flattree.c static void flat_read_chunk(struct inbuf *inb, void *p, int len) inbuf 586 scripts/dtc/flattree.c static uint32_t flat_read_word(struct inbuf *inb) inbuf 597 scripts/dtc/flattree.c static void flat_realign(struct inbuf *inb, int align) inbuf 606 scripts/dtc/flattree.c static char *flat_read_string(struct inbuf *inb) inbuf 627 scripts/dtc/flattree.c static struct data flat_read_data(struct inbuf *inb, int len) inbuf 644 scripts/dtc/flattree.c static char *flat_read_stringtable(struct inbuf *inb, int offset) inbuf 663 scripts/dtc/flattree.c static struct property *flat_read_property(struct inbuf *dtbuf, inbuf 664 scripts/dtc/flattree.c struct inbuf *strbuf, int flags) inbuf 684 scripts/dtc/flattree.c static struct reserve_info *flat_read_mem_reserve(struct inbuf *inb) inbuf 730 scripts/dtc/flattree.c static struct node *unflatten_tree(struct inbuf *dtbuf, inbuf 731 scripts/dtc/flattree.c struct inbuf *strbuf, inbuf 805 scripts/dtc/flattree.c struct inbuf dtbuf, strbuf; inbuf 806 scripts/dtc/flattree.c struct inbuf memresvbuf; inbuf 952 tools/perf/builtin-script.c struct perf_insn *x, u8 *inbuf, int len, inbuf 956 tools/perf/builtin-script.c dump_insn(x, ip, inbuf, len, NULL), inbuf 9 tools/perf/util/dump-insn.c u64 ip __maybe_unused, u8 *inbuf __maybe_unused, inbuf 22 tools/perf/util/dump-insn.h u8 *inbuf, int inlen, int *lenp); inbuf 183 tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c u8 *inbuf, int inlen, int *lenp) inbuf 189 tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c insn_init(&insn, inbuf, inlen, x->is64bit); inbuf 199 tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c n += snprintf(x->out + n, left, "%02x ", inbuf[i]);