in 127 arch/alpha/boot/misc.c uch *in, *out, ch; in 129 arch/alpha/boot/misc.c in = window; in 132 arch/alpha/boot/misc.c ch = *out++ = *in++; in 1057 arch/alpha/kernel/osf_sys.c SYSCALL_DEFINE3(osf_setitimer, int, which, struct itimerval32 __user *, in, in 1066 arch/alpha/kernel/osf_sys.c if (in) { in 1067 arch/alpha/kernel/osf_sys.c if (get_it32(&kin, in)) in 53 arch/arc/include/asm/entry-arcv2.h ; 2. STATUS32.Z flag set if in U mode at time of interrupt (U:1,K:0) in 78 arch/arc/include/asm/entry-arcv2.h ; 2. STATUS32.Z flag set if in U mode at time of exception (U:1,K:0) in 147 arch/arc/include/asm/entry-arcv2.h ; 1. Utilize the fact that Z bit is set if Intr taken in U mode in 242 arch/arc/include/asm/entry-arcv2.h btst r0, STATUS_U_BIT ; Z flag set if K, used in restoring SP in 30 arch/arc/include/asm/tlb-mmu1.h ; -- should be in cache since in same line in 45 arch/arc/include/asm/tlb-mmu1.h ; Faster than hack #1 in non-thrash case, but hard-coded for 2-way MMU in 46 arch/arc/include/asm/tlb-mmu1.h ; Slower in thrash case (where it matters) because more code is executed in 79 arch/arc/include/asm/tlb-mmu1.h mov_s r3, r1 ; save PD0 prepared by TLB_RELOAD in r3 in 29 arch/arm/crypto/aes-ce-glue.c asmlinkage void ce_aes_ecb_encrypt(u8 out[], u8 const in[], u32 const rk[], in 31 arch/arm/crypto/aes-ce-glue.c asmlinkage void ce_aes_ecb_decrypt(u8 out[], u8 const in[], u32 const rk[], in 34 arch/arm/crypto/aes-ce-glue.c asmlinkage void ce_aes_cbc_encrypt(u8 out[], u8 const in[], u32 const rk[], in 36 arch/arm/crypto/aes-ce-glue.c asmlinkage void ce_aes_cbc_decrypt(u8 out[], u8 const in[], u32 const rk[], in 38 arch/arm/crypto/aes-ce-glue.c asmlinkage void ce_aes_cbc_cts_encrypt(u8 out[], u8 const in[], u32 const rk[], in 40 arch/arm/crypto/aes-ce-glue.c asmlinkage void ce_aes_cbc_cts_decrypt(u8 out[], u8 const in[], u32 const rk[], in 43 arch/arm/crypto/aes-ce-glue.c asmlinkage void ce_aes_ctr_encrypt(u8 out[], u8 const in[], u32 const rk[], in 46 arch/arm/crypto/aes-ce-glue.c asmlinkage void ce_aes_xts_encrypt(u8 out[], u8 const in[], u32 const rk1[], in 49 arch/arm/crypto/aes-ce-glue.c asmlinkage void ce_aes_xts_decrypt(u8 out[], u8 const in[], u32 const rk1[], in 13 arch/arm/crypto/aes-cipher-glue.c asmlinkage void __aes_arm_encrypt(u32 *rk, int rounds, const u8 *in, u8 *out); in 14 arch/arm/crypto/aes-cipher-glue.c asmlinkage void __aes_arm_decrypt(u32 *rk, int rounds, const u8 *in, u8 *out); in 16 arch/arm/crypto/aes-cipher-glue.c static void aes_arm_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in 21 arch/arm/crypto/aes-cipher-glue.c __aes_arm_encrypt(ctx->key_enc, rounds, in, out); in 24 arch/arm/crypto/aes-cipher-glue.c static void aes_arm_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in 29 arch/arm/crypto/aes-cipher-glue.c __aes_arm_decrypt(ctx->key_dec, rounds, in, out); in 29 arch/arm/crypto/aes-neonbs-glue.c asmlinkage void aesbs_ecb_encrypt(u8 out[], u8 const in[], u8 const rk[], in 31 arch/arm/crypto/aes-neonbs-glue.c asmlinkage void aesbs_ecb_decrypt(u8 out[], u8 const in[], u8 const rk[], in 34 arch/arm/crypto/aes-neonbs-glue.c asmlinkage void aesbs_cbc_decrypt(u8 out[], u8 const in[], u8 const rk[], in 37 arch/arm/crypto/aes-neonbs-glue.c asmlinkage void aesbs_ctr_encrypt(u8 out[], u8 const in[], u8 const rk[], in 40 arch/arm/crypto/aes-neonbs-glue.c asmlinkage void aesbs_xts_encrypt(u8 out[], u8 const in[], u8 const rk[], in 42 arch/arm/crypto/aes-neonbs-glue.c asmlinkage void aesbs_xts_decrypt(u8 out[], u8 const in[], u8 const rk[], in 87 arch/arm/crypto/aes-neonbs-glue.c void (*fn)(u8 out[], u8 const in[], u8 const rk[], in 330 arch/arm/crypto/aes-neonbs-glue.c void (*fn)(u8 out[], u8 const in[], u8 const rk[], in 79 arch/arm/crypto/ghash-ce-glue.c const u8 *in = src; in 82 arch/arm/crypto/ghash-ce-glue.c in = head; in 89 arch/arm/crypto/ghash-ce-glue.c crypto_xor((u8 *)&dst, in, GHASH_BLOCK_SIZE); in 274 arch/arm/crypto/ghash-ce-glue.c static int ghash_async_import(struct ahash_request *req, const void *in) in 283 arch/arm/crypto/ghash-ce-glue.c return crypto_shash_import(desc, in); in 39 arch/arm/kernel/head-inflate-data.c char *in = __data_loc; in 43 arch/arm/kernel/head-inflate-data.c if (in[0] != 0x1f || in[1] != 0x8b || in[2] != 0x08 || in[3] & ~3) in 45 arch/arm/kernel/head-inflate-data.c in += 10; in 48 arch/arm/kernel/head-inflate-data.c strm->next_in = in; in 91 arch/arm/mach-footbridge/include/mach/hardware.h extern void nw_gpio_modify_io(unsigned int mask, unsigned int in); in 89 arch/arm/mach-footbridge/netwinder-hw.c static inline void __gpio_modify_io(int mask, int in) in 94 arch/arm/mach-footbridge/netwinder-hw.c new_gpio = (current_gpio_io & ~mask) | in; in 120 arch/arm/mach-footbridge/netwinder-hw.c void nw_gpio_modify_io(unsigned int mask, unsigned int in) in 125 arch/arm/mach-footbridge/netwinder-hw.c __gpio_modify_io(mask, in); in 492 arch/arm/mach-s3c24xx/mach-bast.c .in[0] = &(struct s3c_hwmon_chcfg) { in 498 arch/arm/mach-s3c24xx/mach-bast.c .in[1] = &(struct s3c_hwmon_chcfg) { in 504 arch/arm/mach-s3c24xx/mach-bast.c .in[2] = &(struct s3c_hwmon_chcfg) { in 510 arch/arm/mach-s3c24xx/mach-bast.c .in[3] = &(struct s3c_hwmon_chcfg) { in 178 arch/arm/mach-s3c64xx/mach-smartq.c .in[0] = &(struct s3c_hwmon_chcfg) { in 184 arch/arm/mach-s3c64xx/mach-smartq.c .in[1] = &(struct s3c_hwmon_chcfg) { in 207 arch/arm/mach-sa1100/neponset.c unsigned num, bool in, const char *const * names) in 211 arch/arm/mach-sa1100/neponset.c gc = gpio_reg_init(dev, reg, -1, num, label, in ? 0xffffffff : 0, in 32 arch/arm64/crypto/aes-ce-ccm-glue.c asmlinkage void ce_aes_ccm_auth_data(u8 mac[], u8 const in[], u32 abytes, in 35 arch/arm64/crypto/aes-ce-ccm-glue.c asmlinkage void ce_aes_ccm_encrypt(u8 out[], u8 const in[], u32 cbytes, in 39 arch/arm64/crypto/aes-ce-ccm-glue.c asmlinkage void ce_aes_ccm_decrypt(u8 out[], u8 const in[], u32 cbytes, in 105 arch/arm64/crypto/aes-ce-ccm-glue.c static void ccm_update_mac(struct crypto_aes_ctx *key, u8 mac[], u8 const in[], in 110 arch/arm64/crypto/aes-ce-ccm-glue.c ce_aes_ccm_auth_data(mac, in, abytes, macp, key->key_enc, in 117 arch/arm64/crypto/aes-ce-ccm-glue.c crypto_xor(&mac[*macp], in, added); in 120 arch/arm64/crypto/aes-ce-ccm-glue.c in += added; in 126 arch/arm64/crypto/aes-ce-ccm-glue.c crypto_xor(mac, in, AES_BLOCK_SIZE); in 128 arch/arm64/crypto/aes-ce-ccm-glue.c in += AES_BLOCK_SIZE; in 134 arch/arm64/crypto/aes-ce-ccm-glue.c crypto_xor(mac, in, abytes); in 27 arch/arm64/crypto/aes-ce-glue.c asmlinkage void __aes_ce_encrypt(u32 *rk, u8 *out, const u8 *in, int rounds); in 28 arch/arm64/crypto/aes-ce-glue.c asmlinkage void __aes_ce_decrypt(u32 *rk, u8 *out, const u8 *in, int rounds); in 32 arch/arm64/crypto/aes-ce-glue.c const struct aes_block *in); in 12 arch/arm64/crypto/aes-cipher-glue.c asmlinkage void __aes_arm64_encrypt(u32 *rk, u8 *out, const u8 *in, int rounds); in 13 arch/arm64/crypto/aes-cipher-glue.c asmlinkage void __aes_arm64_decrypt(u32 *rk, u8 *out, const u8 *in, int rounds); in 15 arch/arm64/crypto/aes-cipher-glue.c static void aes_arm64_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in 20 arch/arm64/crypto/aes-cipher-glue.c __aes_arm64_encrypt(ctx->key_enc, out, in, rounds); in 23 arch/arm64/crypto/aes-cipher-glue.c static void aes_arm64_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in 28 arch/arm64/crypto/aes-cipher-glue.c __aes_arm64_decrypt(ctx->key_dec, out, in, rounds); in 74 arch/arm64/crypto/aes-glue.c asmlinkage void aes_ecb_encrypt(u8 out[], u8 const in[], u32 const rk[], in 76 arch/arm64/crypto/aes-glue.c asmlinkage void aes_ecb_decrypt(u8 out[], u8 const in[], u32 const rk[], in 79 arch/arm64/crypto/aes-glue.c asmlinkage void aes_cbc_encrypt(u8 out[], u8 const in[], u32 const rk[], in 81 arch/arm64/crypto/aes-glue.c asmlinkage void aes_cbc_decrypt(u8 out[], u8 const in[], u32 const rk[], in 84 arch/arm64/crypto/aes-glue.c asmlinkage void aes_cbc_cts_encrypt(u8 out[], u8 const in[], u32 const rk[], in 86 arch/arm64/crypto/aes-glue.c asmlinkage void aes_cbc_cts_decrypt(u8 out[], u8 const in[], u32 const rk[], in 89 arch/arm64/crypto/aes-glue.c asmlinkage void aes_ctr_encrypt(u8 out[], u8 const in[], u32 const rk[], in 92 arch/arm64/crypto/aes-glue.c asmlinkage void aes_xts_encrypt(u8 out[], u8 const in[], u32 const rk1[], in 95 arch/arm64/crypto/aes-glue.c asmlinkage void aes_xts_decrypt(u8 out[], u8 const in[], u32 const rk1[], in 99 arch/arm64/crypto/aes-glue.c asmlinkage void aes_essiv_cbc_encrypt(u8 out[], u8 const in[], u32 const rk1[], in 102 arch/arm64/crypto/aes-glue.c asmlinkage void aes_essiv_cbc_decrypt(u8 out[], u8 const in[], u32 const rk1[], in 106 arch/arm64/crypto/aes-glue.c asmlinkage void aes_mac_update(u8 const in[], u32 const rk[], int rounds, in 872 arch/arm64/crypto/aes-glue.c static void mac_do_update(struct crypto_aes_ctx *ctx, u8 const in[], int blocks, in 879 arch/arm64/crypto/aes-glue.c aes_mac_update(in, ctx->key_enc, rounds, blocks, dg, enc_before, in 887 arch/arm64/crypto/aes-glue.c crypto_xor(dg, in, AES_BLOCK_SIZE); in 888 arch/arm64/crypto/aes-glue.c in += AES_BLOCK_SIZE; in 28 arch/arm64/crypto/aes-neonbs-glue.c asmlinkage void aesbs_ecb_encrypt(u8 out[], u8 const in[], u8 const rk[], in 30 arch/arm64/crypto/aes-neonbs-glue.c asmlinkage void aesbs_ecb_decrypt(u8 out[], u8 const in[], u8 const rk[], in 33 arch/arm64/crypto/aes-neonbs-glue.c asmlinkage void aesbs_cbc_decrypt(u8 out[], u8 const in[], u8 const rk[], in 36 arch/arm64/crypto/aes-neonbs-glue.c asmlinkage void aesbs_ctr_encrypt(u8 out[], u8 const in[], u8 const rk[], in 39 arch/arm64/crypto/aes-neonbs-glue.c asmlinkage void aesbs_xts_encrypt(u8 out[], u8 const in[], u8 const rk[], in 41 arch/arm64/crypto/aes-neonbs-glue.c asmlinkage void aesbs_xts_decrypt(u8 out[], u8 const in[], u8 const rk[], in 45 arch/arm64/crypto/aes-neonbs-glue.c asmlinkage void neon_aes_ecb_encrypt(u8 out[], u8 const in[], u32 const rk[], in 47 arch/arm64/crypto/aes-neonbs-glue.c asmlinkage void neon_aes_cbc_encrypt(u8 out[], u8 const in[], u32 const rk[], in 49 arch/arm64/crypto/aes-neonbs-glue.c asmlinkage void neon_aes_xts_encrypt(u8 out[], u8 const in[], in 52 arch/arm64/crypto/aes-neonbs-glue.c asmlinkage void neon_aes_xts_decrypt(u8 out[], u8 const in[], in 98 arch/arm64/crypto/aes-neonbs-glue.c void (*fn)(u8 out[], u8 const in[], u8 const rk[], in 318 arch/arm64/crypto/aes-neonbs-glue.c void (*fn)(u8 out[], u8 const in[], u8 const rk[], in 330 arch/arm64/crypto/aes-neonbs-glue.c u8 *out, *in; in 364 arch/arm64/crypto/aes-neonbs-glue.c in = walk.src.virt.addr; in 375 arch/arm64/crypto/aes-neonbs-glue.c fn(out, in, ctx->key.rk, ctx->key.rounds, blocks, in 379 arch/arm64/crypto/aes-neonbs-glue.c in += blocks * AES_BLOCK_SIZE; in 406 arch/arm64/crypto/aes-neonbs-glue.c in = walk.src.virt.addr; in 412 arch/arm64/crypto/aes-neonbs-glue.c neon_aes_xts_encrypt(out, in, ctx->cts.key_enc, ctx->key.rounds, in 415 arch/arm64/crypto/aes-neonbs-glue.c neon_aes_xts_decrypt(out, in, ctx->cts.key_dec, ctx->key.rounds, in 96 arch/arm64/crypto/ghash-ce-glue.c const u8 *in = src; in 99 arch/arm64/crypto/ghash-ce-glue.c in = head; in 106 arch/arm64/crypto/ghash-ce-glue.c crypto_xor((u8 *)&dst, in, GHASH_BLOCK_SIZE); in 18 arch/arm64/crypto/sm4-ce-glue.c asmlinkage void sm4_ce_do_crypt(const u32 *rk, void *out, const void *in); in 20 arch/arm64/crypto/sm4-ce-glue.c static void sm4_ce_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in 25 arch/arm64/crypto/sm4-ce-glue.c crypto_sm4_encrypt(tfm, out, in); in 28 arch/arm64/crypto/sm4-ce-glue.c sm4_ce_do_crypt(ctx->rkey_enc, out, in); in 33 arch/arm64/crypto/sm4-ce-glue.c static void sm4_ce_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in 38 arch/arm64/crypto/sm4-ce-glue.c crypto_sm4_decrypt(tfm, out, in); in 41 arch/arm64/crypto/sm4-ce-glue.c sm4_ce_do_crypt(ctx->rkey_dec, out, in); in 89 arch/arm64/include/asm/fpsimdmacros.h .if (\n) < (\min) || (\n) > (\max) in 47 arch/arm64/include/asm/traps.h int in; in 49 arch/arm64/include/asm/traps.h in = ptr >= (unsigned long)&__exception_text_start && in 52 arch/arm64/include/asm/traps.h return in ? : __in_irqentry_text(ptr); in 441 arch/ia64/include/asm/pal.h in : 1, /* 0 = MC, 1 = INIT */ in 699 arch/ia64/include/asm/pal.h #define pmci_proc_machine_check_or_init pme_processor.in in 9 arch/m68k/fpsp040/fpsp.h | file, README, in this same directory. in 105 arch/m68k/fpsp040/fpsp.h .set BINDEC_FLG,LV+117 | used in bindec in 106 arch/m68k/fpsp040/fpsp.h .set DNRM_FLG,LV+118 | used in res_func in 107 arch/m68k/fpsp040/fpsp.h .set RES_FLG,LV+119 | used in res_func in 175 arch/m68k/fpsp040/fpsp.h | ;equate only works when CMDREG1B is in in 178 arch/m68k/fpsp040/fpsp.h .set CMDWORD,LV-35 | command word in cmd1b in 179 arch/m68k/fpsp040/fpsp.h .set direction_bit,5 | bit 0 in opclass in 180 arch/m68k/fpsp040/fpsp.h .set size_bit2,12 | bit 2 in size field in 266 arch/m68k/fpsp040/fpsp.h | FPSR combinations used in the FPSP in 302 arch/m68k/fpsp040/fpsp.h .set signan_bit,6 | signalling nan bit in mantissa in 306 arch/m68k/fpsp040/fpsp.h | this can only be used if in a data register in 307 arch/m68k/fpsp040/fpsp.h .set sx_mask,0x01800000 | set s and x bits in word $48 in 316 arch/m68k/fpsp040/fpsp.h .set norm_tag,0x00 | tag bits in {7:5} position in 325 arch/m68k/fpsp040/fpsp.h | are in the $40s {$40-$4f} in 16332 arch/m68k/ifpsp060/src/fpsp.S # if the NAN bit is set, in which case BSUN and AIOP will be set. # in 16960 arch/m68k/ifpsp060/src/fpsp.S # if the NAN bit is set, in which case BSUN and AIOP will be set. # in 17530 arch/m68k/ifpsp060/src/fpsp.S # if the NAN bit is set, in which case BSUN and AIOP will be set. # in 578 arch/m68k/ifpsp060/src/isp.S # if exception occurred in user mode, then we have to restore a7 in case it in 68 arch/mips/boot/elf2ecoff.c static void copy(int out, int in, off_t offset, off_t size) in 74 arch/mips/boot/elf2ecoff.c if (lseek(in, offset, SEEK_SET) < 0) { in 85 arch/mips/boot/elf2ecoff.c if ((count = read(in, ibuf, cur)) != cur) { in 164 arch/mips/cavium-octeon/crypto/octeon-md5.c static int octeon_md5_import(struct shash_desc *desc, const void *in) in 168 arch/mips/cavium-octeon/crypto/octeon-md5.c memcpy(ctx, in, sizeof(*ctx)); in 193 arch/mips/cavium-octeon/crypto/octeon-sha1.c static int octeon_sha1_import(struct shash_desc *desc, const void *in) in 197 arch/mips/cavium-octeon/crypto/octeon-sha1.c memcpy(sctx, in, sizeof(*sctx)); in 217 arch/mips/cavium-octeon/crypto/octeon-sha256.c static int octeon_sha256_import(struct shash_desc *desc, const void *in) in 221 arch/mips/cavium-octeon/crypto/octeon-sha256.c memcpy(sctx, in, sizeof(*sctx)); in 418 arch/mips/include/asm/io.h static inline type pfx##in##bwlq##p(unsigned long port) \ in 137 arch/nios2/boot/compressed/misc.c uch *in, *out, ch; in 139 arch/nios2/boot/compressed/misc.c in = window; in 142 arch/nios2/boot/compressed/misc.c ch = *out++ = *in++; in 69 arch/parisc/kernel/pci.c u##size in##type (int addr) \ in 74 arch/parisc/kernel/pci.c return pci_port->in##type(parisc_pci_hba[b], PCI_PORT_ADDR(addr)); \ in 76 arch/parisc/kernel/pci.c EXPORT_SYMBOL(in##type); in 56 arch/powerpc/boot/decompress.c char *in = v; in 76 arch/powerpc/boot/decompress.c in += offset; in 84 arch/powerpc/boot/decompress.c memcpy(out, in, size); in 38 arch/powerpc/boot/ugecon.c static u32 ug_io_transaction(u32 in) in 50 arch/powerpc/boot/ugecon.c data = in; in 51 arch/powerpc/crypto/aes-spe-glue.c extern void ppc_encrypt_aes(u8 *out, const u8 *in, u32 *key_enc, u32 rounds); in 52 arch/powerpc/crypto/aes-spe-glue.c extern void ppc_decrypt_aes(u8 *out, const u8 *in, u32 *key_dec, u32 rounds); in 53 arch/powerpc/crypto/aes-spe-glue.c extern void ppc_encrypt_ecb(u8 *out, const u8 *in, u32 *key_enc, u32 rounds, in 55 arch/powerpc/crypto/aes-spe-glue.c extern void ppc_decrypt_ecb(u8 *out, const u8 *in, u32 *key_dec, u32 rounds, in 57 arch/powerpc/crypto/aes-spe-glue.c extern void ppc_encrypt_cbc(u8 *out, const u8 *in, u32 *key_enc, u32 rounds, in 59 arch/powerpc/crypto/aes-spe-glue.c extern void ppc_decrypt_cbc(u8 *out, const u8 *in, u32 *key_dec, u32 rounds, in 61 arch/powerpc/crypto/aes-spe-glue.c extern void ppc_crypt_ctr (u8 *out, const u8 *in, u32 *key_enc, u32 rounds, in 63 arch/powerpc/crypto/aes-spe-glue.c extern void ppc_encrypt_xts(u8 *out, const u8 *in, u32 *key_enc, u32 rounds, in 65 arch/powerpc/crypto/aes-spe-glue.c extern void ppc_decrypt_xts(u8 *out, const u8 *in, u32 *key_dec, u32 rounds, in 163 arch/powerpc/crypto/aes-spe-glue.c static void ppc_aes_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in 168 arch/powerpc/crypto/aes-spe-glue.c ppc_encrypt_aes(out, in, ctx->key_enc, ctx->rounds); in 172 arch/powerpc/crypto/aes-spe-glue.c static void ppc_aes_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in 177 arch/powerpc/crypto/aes-spe-glue.c ppc_decrypt_aes(out, in, ctx->key_dec, ctx->rounds); in 116 arch/powerpc/crypto/md5-glue.c static int ppc_md5_import(struct shash_desc *desc, const void *in) in 120 arch/powerpc/crypto/md5-glue.c memcpy(sctx, in, sizeof(*sctx)); in 162 arch/powerpc/crypto/sha1-spe-glue.c static int ppc_spe_sha1_import(struct shash_desc *desc, const void *in) in 166 arch/powerpc/crypto/sha1-spe-glue.c memcpy(sctx, in, sizeof(*sctx)); in 110 arch/powerpc/crypto/sha1.c static int sha1_import(struct shash_desc *desc, const void *in) in 114 arch/powerpc/crypto/sha1.c memcpy(sctx, in, sizeof(*sctx)); in 208 arch/powerpc/crypto/sha256-spe-glue.c static int ppc_spe_sha256_import(struct shash_desc *desc, const void *in) in 212 arch/powerpc/crypto/sha256-spe-glue.c memcpy(sctx, in, sizeof(*sctx)); in 465 arch/powerpc/include/asm/epapr_hcalls.h static inline unsigned long epapr_hypercall(unsigned long *in, in 470 arch/powerpc/include/asm/epapr_hcalls.h register unsigned long r3 asm("r3") = in[0]; in 471 arch/powerpc/include/asm/epapr_hcalls.h register unsigned long r4 asm("r4") = in[1]; in 472 arch/powerpc/include/asm/epapr_hcalls.h register unsigned long r5 asm("r5") = in[2]; in 473 arch/powerpc/include/asm/epapr_hcalls.h register unsigned long r6 asm("r6") = in[3]; in 474 arch/powerpc/include/asm/epapr_hcalls.h register unsigned long r7 asm("r7") = in[4]; in 475 arch/powerpc/include/asm/epapr_hcalls.h register unsigned long r8 asm("r8") = in[5]; in 476 arch/powerpc/include/asm/epapr_hcalls.h register unsigned long r9 asm("r9") = in[6]; in 477 arch/powerpc/include/asm/epapr_hcalls.h register unsigned long r10 asm("r10") = in[7]; in 501 arch/powerpc/include/asm/epapr_hcalls.h static unsigned long epapr_hypercall(unsigned long *in, in 511 arch/powerpc/include/asm/epapr_hcalls.h unsigned long in[8] = {0}; in 515 arch/powerpc/include/asm/epapr_hcalls.h r = epapr_hypercall(in, out, nr); in 523 arch/powerpc/include/asm/epapr_hcalls.h unsigned long in[8] = {0}; in 526 arch/powerpc/include/asm/epapr_hcalls.h return epapr_hypercall(in, out, nr); in 531 arch/powerpc/include/asm/epapr_hcalls.h unsigned long in[8] = {0}; in 534 arch/powerpc/include/asm/epapr_hcalls.h in[0] = p1; in 535 arch/powerpc/include/asm/epapr_hcalls.h return epapr_hypercall(in, out, nr); in 541 arch/powerpc/include/asm/epapr_hcalls.h unsigned long in[8] = {0}; in 544 arch/powerpc/include/asm/epapr_hcalls.h in[0] = p1; in 545 arch/powerpc/include/asm/epapr_hcalls.h in[1] = p2; in 546 arch/powerpc/include/asm/epapr_hcalls.h return epapr_hypercall(in, out, nr); in 552 arch/powerpc/include/asm/epapr_hcalls.h unsigned long in[8] = {0}; in 555 arch/powerpc/include/asm/epapr_hcalls.h in[0] = p1; in 556 arch/powerpc/include/asm/epapr_hcalls.h in[1] = p2; in 557 arch/powerpc/include/asm/epapr_hcalls.h in[2] = p3; in 558 arch/powerpc/include/asm/epapr_hcalls.h return epapr_hypercall(in, out, nr); in 565 arch/powerpc/include/asm/epapr_hcalls.h unsigned long in[8] = {0}; in 568 arch/powerpc/include/asm/epapr_hcalls.h in[0] = p1; in 569 arch/powerpc/include/asm/epapr_hcalls.h in[1] = p2; in 570 arch/powerpc/include/asm/epapr_hcalls.h in[2] = p3; in 571 arch/powerpc/include/asm/epapr_hcalls.h in[3] = p4; in 572 arch/powerpc/include/asm/epapr_hcalls.h return epapr_hypercall(in, out, nr); in 208 arch/powerpc/include/asm/lv1call.h #define LV1_CALL(name, in, out, num) \ in 209 arch/powerpc/include/asm/lv1call.h extern s64 _lv1_##name(LV1_##in##_IN_##out##_OUT_ARG_DECL); \ in 210 arch/powerpc/include/asm/lv1call.h static inline int lv1_##name(LV1_##in##_IN_##out##_OUT_ARG_DECL) \ in 211 arch/powerpc/include/asm/lv1call.h {return _lv1_##name(LV1_##in##_IN_##out##_OUT_ARGS);} in 70 arch/powerpc/include/asm/vio.h s64 in; in 407 arch/powerpc/kernel/kvm.c ulong in[8] = {0}; in 410 arch/powerpc/kernel/kvm.c in[0] = KVM_MAGIC_PAGE; in 411 arch/powerpc/kernel/kvm.c in[1] = KVM_MAGIC_PAGE | MAGIC_PAGE_FLAG_NOT_MAPPED_NX; in 413 arch/powerpc/kernel/kvm.c epapr_hypercall(in, out, KVM_HCALL_TOKEN(KVM_HC_PPC_MAP_MAGIC_PAGE)); in 318 arch/powerpc/kernel/nvram_64.c static int nvram_compress(const void *in, void *out, size_t inlen, in 329 arch/powerpc/kernel/nvram_64.c stream.next_in = in; in 45 arch/powerpc/platforms/embedded6xx/usbgecko_udbg.c static u32 ug_io_transaction(u32 in) in 57 arch/powerpc/platforms/embedded6xx/usbgecko_udbg.c data = in; in 9 arch/powerpc/platforms/ps3/exports.c #define LV1_CALL(name, in, out, num) \ in 10 arch/powerpc/platforms/ps3/exports.c extern s64 _lv1_##name(LV1_##in##_IN_##out##_OUT_ARG_DECL); \ in 28 arch/powerpc/platforms/ps3/repository.c const char *const in = (const char *)&n; in 32 arch/powerpc/platforms/ps3/repository.c s[i] = (in[i] <= 126 && in[i] >= 32) ? in[i] : '.'; in 249 arch/powerpc/platforms/pseries/ibmebus.c static char *ibmebus_chomp(const char *in, size_t count) in 256 arch/powerpc/platforms/pseries/ibmebus.c memcpy(out, in, count); in 1119 arch/powerpc/platforms/pseries/vio.c op->in, op->inlen, op->out, in 892 arch/powerpc/sysdev/fsl_pci.c struct pex_inbound_window *in; in 896 arch/powerpc/sysdev/fsl_pci.c in = pcie->cfg_type0 + PEX_RC_INWIN_BASE; in 899 arch/powerpc/sysdev/fsl_pci.c if (!(in_le32(&in[i].ar) & PEX_RCIWARn_EN)) in 902 arch/powerpc/sysdev/fsl_pci.c if (get_immrbase() == in_le32(&in[i].tar)) in 903 arch/powerpc/sysdev/fsl_pci.c return (u64)in_le32(&in[i].barh) << 32 | in 904 arch/powerpc/sysdev/fsl_pci.c in_le32(&in[i].barl); in 38 arch/riscv/include/asm/smp.h void riscv_cpuid_to_hartid_mask(const struct cpumask *in, struct cpumask *out); in 57 arch/riscv/kernel/smp.c void riscv_cpuid_to_hartid_mask(const struct cpumask *in, struct cpumask *out) in 62 arch/riscv/kernel/smp.c for_each_cpu(cpu, in) in 111 arch/s390/crypto/aes_s390.c static void crypto_aes_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in 116 arch/s390/crypto/aes_s390.c crypto_cipher_encrypt_one(sctx->fallback.cip, out, in); in 119 arch/s390/crypto/aes_s390.c cpacf_km(sctx->fc, &sctx->key, out, in, AES_BLOCK_SIZE); in 122 arch/s390/crypto/aes_s390.c static void crypto_aes_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in 127 arch/s390/crypto/aes_s390.c crypto_cipher_decrypt_one(sctx->fallback.cip, out, in); in 131 arch/s390/crypto/aes_s390.c &sctx->key, out, in, AES_BLOCK_SIZE); in 48 arch/s390/crypto/des_s390.c static void s390_des_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in 52 arch/s390/crypto/des_s390.c cpacf_km(CPACF_KM_DEA, ctx->key, out, in, DES_BLOCK_SIZE); in 55 arch/s390/crypto/des_s390.c static void s390_des_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in 60 arch/s390/crypto/des_s390.c ctx->key, out, in, DES_BLOCK_SIZE); in 56 arch/s390/crypto/sha1_s390.c static int sha1_import(struct shash_desc *desc, const void *in) in 59 arch/s390/crypto/sha1_s390.c const struct sha1_state *ictx = in; in 49 arch/s390/crypto/sha256_s390.c static int sha256_import(struct shash_desc *desc, const void *in) in 52 arch/s390/crypto/sha256_s390.c const struct sha256_state *ictx = in; in 44 arch/s390/crypto/sha3_256_s390.c static int sha3_256_import(struct shash_desc *desc, const void *in) in 47 arch/s390/crypto/sha3_256_s390.c const struct sha3_state *ictx = in; in 57 arch/s390/crypto/sha3_256_s390.c static int sha3_224_import(struct shash_desc *desc, const void *in) in 60 arch/s390/crypto/sha3_256_s390.c const struct sha3_state *ictx = in; in 45 arch/s390/crypto/sha3_512_s390.c static int sha3_512_import(struct shash_desc *desc, const void *in) in 48 arch/s390/crypto/sha3_512_s390.c const struct sha3_state *ictx = in; in 61 arch/s390/crypto/sha3_512_s390.c static int sha3_384_import(struct shash_desc *desc, const void *in) in 64 arch/s390/crypto/sha3_512_s390.c const struct sha3_state *ictx = in; in 51 arch/s390/crypto/sha512_s390.c static int sha512_import(struct shash_desc *desc, const void *in) in 54 arch/s390/crypto/sha512_s390.c const struct sha512_state *ictx = in; in 30 arch/s390/include/uapi/asm/guarded_storage.h __u8 in : 1; in 356 arch/s390/kernel/debug.c static debug_info_t *debug_info_copy(debug_info_t *in, int mode) in 364 arch/s390/kernel/debug.c rc = debug_info_alloc(in->name, in->pages_per_area, in 365 arch/s390/kernel/debug.c in->nr_areas, in->buf_size, in->level, mode); in 366 arch/s390/kernel/debug.c spin_lock_irqsave(&in->lock, flags); in 370 arch/s390/kernel/debug.c if ((rc->pages_per_area == in->pages_per_area) && in 371 arch/s390/kernel/debug.c (rc->nr_areas == in->nr_areas)) { in 374 arch/s390/kernel/debug.c spin_unlock_irqrestore(&in->lock, flags); in 381 arch/s390/kernel/debug.c for (i = 0; i < in->nr_areas; i++) { in 382 arch/s390/kernel/debug.c for (j = 0; j < in->pages_per_area; j++) in 383 arch/s390/kernel/debug.c memcpy(rc->areas[i][j], in->areas[i][j], PAGE_SIZE); in 386 arch/s390/kernel/debug.c spin_unlock_irqrestore(&in->lock, flags); in 168 arch/s390/kernel/sthyi.c static u32 scale_cap(u32 in) in 170 arch/s390/kernel/sthyi.c return (0x10000 * in) / 100; in 170 arch/sh/include/asm/io.h static inline type pfx##in##bwlq##p(unsigned long port) \ in 213 arch/sh/include/asm/io.h *__addr = in##bwlq(port); \ in 126 arch/sparc/crypto/md5_glue.c static int md5_sparc64_import(struct shash_desc *desc, const void *in) in 130 arch/sparc/crypto/md5_glue.c memcpy(sctx, in, sizeof(*sctx)); in 121 arch/sparc/crypto/sha1_glue.c static int sha1_sparc64_import(struct shash_desc *desc, const void *in) in 125 arch/sparc/crypto/sha1_glue.c memcpy(sctx, in, sizeof(*sctx)); in 152 arch/sparc/crypto/sha256_glue.c static int sha256_sparc64_import(struct shash_desc *desc, const void *in) in 156 arch/sparc/crypto/sha256_glue.c memcpy(sctx, in, sizeof(*sctx)); in 361 arch/um/drivers/chan_kern.c static int chan_pair_config_string(struct chan *in, struct chan *out, in 366 arch/um/drivers/chan_kern.c n = one_chan_config_string(in, str, size, error_out); in 370 arch/um/drivers/chan_kern.c if (in == out) { in 387 arch/um/drivers/chan_kern.c struct chan *in = line->chan_in, *out = line->chan_out; in 389 arch/um/drivers/chan_kern.c if (in && !in->primary) in 390 arch/um/drivers/chan_kern.c in = NULL; in 394 arch/um/drivers/chan_kern.c return chan_pair_config_string(in, out, str, size, error_out); in 493 arch/um/drivers/chan_kern.c char *in, *out; in 506 arch/um/drivers/chan_kern.c in = str; in 509 arch/um/drivers/chan_kern.c new = parse_chan(line, in, device, opts, error_out); in 778 arch/um/drivers/net_kern.c struct in_ifaddr *in; in 792 arch/um/drivers/net_kern.c in = ip->ifa_list; in 793 arch/um/drivers/net_kern.c while (in != NULL) { in 794 arch/um/drivers/net_kern.c uml_inetaddr_event(NULL, NETDEV_UP, in); in 795 arch/um/drivers/net_kern.c in = in->ifa_next; in 840 arch/um/drivers/net_kern.c struct in_ifaddr *in; in 844 arch/um/drivers/net_kern.c in = ip->ifa_list; in 845 arch/um/drivers/net_kern.c while (in != NULL) { in 846 arch/um/drivers/net_kern.c memcpy(address, &in->ifa_address, sizeof(address)); in 847 arch/um/drivers/net_kern.c memcpy(netmask, &in->ifa_mask, sizeof(netmask)); in 849 arch/um/drivers/net_kern.c in = in->ifa_next; in 857 arch/um/drivers/net_kern.c struct in_ifaddr *in; in 863 arch/um/drivers/net_kern.c in = ip->ifa_list; in 864 arch/um/drivers/net_kern.c if (in == NULL) in 867 arch/um/drivers/net_kern.c *mask_out = in->ifa_mask; in 87 arch/x86/crypto/aesni-intel_glue.c const u8 *in); in 89 arch/x86/crypto/aesni-intel_glue.c const u8 *in); in 91 arch/x86/crypto/aesni-intel_glue.c const u8 *in, unsigned int len); in 93 arch/x86/crypto/aesni-intel_glue.c const u8 *in, unsigned int len); in 95 arch/x86/crypto/aesni-intel_glue.c const u8 *in, unsigned int len, u8 *iv); in 97 arch/x86/crypto/aesni-intel_glue.c const u8 *in, unsigned int len, u8 *iv); in 105 arch/x86/crypto/aesni-intel_glue.c const u8 *in, unsigned int len, u8 *iv); in 107 arch/x86/crypto/aesni-intel_glue.c const u8 *in, unsigned int len, u8 *iv); in 110 arch/x86/crypto/aesni-intel_glue.c const u8 *in, bool enc, u8 *iv); in 129 arch/x86/crypto/aesni-intel_glue.c const u8 *in, unsigned long plaintext_len, u8 *iv, in 151 arch/x86/crypto/aesni-intel_glue.c const u8 *in, unsigned long ciphertext_len, u8 *iv, in 163 arch/x86/crypto/aesni-intel_glue.c const u8 *in, unsigned long plaintext_len); in 166 arch/x86/crypto/aesni-intel_glue.c const u8 *in, in 176 arch/x86/crypto/aesni-intel_glue.c const u8 *in, unsigned long plaintext_len); in 178 arch/x86/crypto/aesni-intel_glue.c const u8 *in, unsigned long ciphertext_len); in 191 arch/x86/crypto/aesni-intel_glue.c asmlinkage void aes_ctr_enc_128_avx_by8(const u8 *in, u8 *iv, in 193 arch/x86/crypto/aesni-intel_glue.c asmlinkage void aes_ctr_enc_192_avx_by8(const u8 *in, u8 *iv, in 195 arch/x86/crypto/aesni-intel_glue.c asmlinkage void aes_ctr_enc_256_avx_by8(const u8 *in, u8 *iv, in 211 arch/x86/crypto/aesni-intel_glue.c const u8 *in, unsigned long plaintext_len); in 214 arch/x86/crypto/aesni-intel_glue.c const u8 *in, in 222 arch/x86/crypto/aesni-intel_glue.c const u8 *in, unsigned long plaintext_len, u8 *iv, in 228 arch/x86/crypto/aesni-intel_glue.c const u8 *in, unsigned long ciphertext_len, u8 *iv, in 256 arch/x86/crypto/aesni-intel_glue.c const u8 *in, unsigned long plaintext_len); in 259 arch/x86/crypto/aesni-intel_glue.c const u8 *in, in 267 arch/x86/crypto/aesni-intel_glue.c const u8 *in, unsigned long plaintext_len, u8 *iv, in 273 arch/x86/crypto/aesni-intel_glue.c const u8 *in, unsigned long ciphertext_len, u8 *iv, in 486 arch/x86/crypto/aesni-intel_glue.c const u8 *in, unsigned int len, u8 *iv) in 495 arch/x86/crypto/aesni-intel_glue.c aes_ctr_enc_128_avx_by8(in, iv, (void *)ctx, out, len); in 497 arch/x86/crypto/aesni-intel_glue.c aes_ctr_enc_192_avx_by8(in, iv, (void *)ctx, out, len); in 499 arch/x86/crypto/aesni-intel_glue.c aes_ctr_enc_256_avx_by8(in, iv, (void *)ctx, out, len); in 553 arch/x86/crypto/aesni-intel_glue.c static void aesni_xts_tweak(void *ctx, u8 *out, const u8 *in) in 555 arch/x86/crypto/aesni-intel_glue.c aesni_enc(ctx, out, in); in 211 arch/x86/crypto/ghash-clmulni-intel_glue.c static int ghash_async_import(struct ahash_request *req, const void *in) in 218 arch/x86/crypto/ghash-clmulni-intel_glue.c memcpy(dctx, in, sizeof(*dctx)); in 26 arch/x86/include/asm/atomic64_32.h #define __alternative_atomic64(f, g, out, in...) \ in 28 arch/x86/include/asm/atomic64_32.h : out : [func] "i" (atomic64_##g##_cx8), ## in) in 32 arch/x86/include/asm/atomic64_32.h #define __alternative_atomic64(f, g, out, in...) \ in 34 arch/x86/include/asm/atomic64_32.h X86_FEATURE_CX8, ASM_OUTPUT2(out), ## in) in 45 arch/x86/include/asm/atomic64_32.h #define alternative_atomic64(f, out, in...) \ in 46 arch/x86/include/asm/atomic64_32.h __alternative_atomic64(f, f, ASM_OUTPUT2(out), ## in) in 35 arch/x86/include/asm/intel_pmc_ipc.h int intel_pmc_ipc_raw_cmd(u32 cmd, u32 sub, u8 *in, u32 inlen, in 37 arch/x86/include/asm/intel_pmc_ipc.h int intel_pmc_ipc_command(u32 cmd, u32 sub, u8 *in, u32 inlen, in 52 arch/x86/include/asm/intel_pmc_ipc.h static inline int intel_pmc_ipc_raw_cmd(u32 cmd, u32 sub, u8 *in, u32 inlen, in 58 arch/x86/include/asm/intel_pmc_ipc.h static inline int intel_pmc_ipc_command(u32 cmd, u32 sub, u8 *in, u32 inlen, in 84 arch/x86/include/asm/intel_punit_ipc.h int intel_punit_ipc_command(u32 cmd, u32 para1, u32 para2, u32 *in, u32 *out); in 95 arch/x86/include/asm/intel_punit_ipc.h u32 *in, u32 *out) in 51 arch/x86/include/asm/intel_scu_ipc.h int intel_scu_ipc_command(int cmd, int sub, u32 *in, int inlen, in 53 arch/x86/include/asm/intel_scu_ipc.h int intel_scu_ipc_raw_command(int cmd, int sub, u8 *in, int inlen, in 286 arch/x86/include/asm/io.h static inline unsigned type in##bwl(int port) \ in 300 arch/x86/include/asm/io.h static inline unsigned type in##bwl##_p(int port) \ in 302 arch/x86/include/asm/io.h unsigned type value = in##bwl(port); \ in 328 arch/x86/include/asm/io.h *value = in##bwl(port); \ in 352 arch/x86/include/asm/kvm_host.h int in; in 1369 arch/x86/include/asm/kvm_host.h int kvm_fast_pio(struct kvm_vcpu *vcpu, int size, unsigned short port, int in); in 4807 arch/x86/kvm/emulate.c I2bvIP(SrcImmUByte | DstAcc, em_in, in, check_perm_in), in 4813 arch/x86/kvm/emulate.c I2bvIP(SrcDX | DstAcc, em_in, in, check_perm_in), in 2927 arch/x86/kvm/svm.c int size, in, string; in 2932 arch/x86/kvm/svm.c in = (io_info & SVM_IOIO_TYPE_MASK) != 0; in 2940 arch/x86/kvm/svm.c return kvm_fast_pio(&svm->vcpu, size, port, in); in 4715 arch/x86/kvm/vmx/vmx.c int size, in, string; in 4728 arch/x86/kvm/vmx/vmx.c in = (exit_qualification & 8) != 0; in 4730 arch/x86/kvm/vmx/vmx.c return kvm_fast_pio(vcpu, size, port, in); in 5897 arch/x86/kvm/x86.c if (vcpu->arch.pio.in) in 5913 arch/x86/kvm/x86.c unsigned int count, bool in) in 5916 arch/x86/kvm/x86.c vcpu->arch.pio.in = in; in 5926 arch/x86/kvm/x86.c vcpu->run->io.direction = in ? KVM_EXIT_IO_IN : KVM_EXIT_IO_OUT; in 6809 arch/x86/kvm/x86.c if (!vcpu->arch.pio.in) { in 6957 arch/x86/kvm/x86.c int kvm_fast_pio(struct kvm_vcpu *vcpu, int size, unsigned short port, int in) in 6961 arch/x86/kvm/x86.c if (in) in 282 arch/x86/platform/efi/efi.c const efi_memory_desc_t *in = out; in 286 arch/x86/platform/efi/efi.c for (i = n_removal = 0; in < end; i++) { in 287 arch/x86/platform/efi/efi.c if (efi_memmap_entry_valid(in, i)) { in 288 arch/x86/platform/efi/efi.c if (out != in) in 289 arch/x86/platform/efi/efi.c memcpy(out, in, efi.memmap.desc_size); in 294 arch/x86/platform/efi/efi.c in = (void *)in + efi.memmap.desc_size; in 738 arch/x86/platform/uv/uv_nmi.c int in = atomic_read(&uv_nmi_cpus_in_nmi); in 739 arch/x86/platform/uv/uv_nmi.c int out = num_online_cpus() - in; in 733 arch/x86/xen/enlighten_pv.c unsigned in, out, count; in 738 arch/x86/xen/enlighten_pv.c for (in = out = 0; in < count; in++) { in 739 arch/x86/xen/enlighten_pv.c gate_desc *entry = (gate_desc *)(desc->address) + in; in 741 arch/x86/xen/enlighten_pv.c if (cvt_gate_to_trap(in, entry, &traps[out])) in 2560 arch/x86/xen/mmu_pv.c .in = { in 88 crypto/ablkcipher.c scatterwalk_advance(&walk->in, n); in 120 crypto/ablkcipher.c scatterwalk_done(&walk->in, 0, more); in 164 crypto/ablkcipher.c scatterwalk_copychunks(src, &walk->in, bsize, 0); in 205 crypto/ablkcipher.c walk->src.page = scatterwalk_page(&walk->in); in 206 crypto/ablkcipher.c walk->src.offset = offset_in_page(walk->in.offset); in 232 crypto/ablkcipher.c n = scatterwalk_clamp(&walk->in, n); in 236 crypto/ablkcipher.c !scatterwalk_aligned(&walk->in, alignmask) || in 281 crypto/ablkcipher.c scatterwalk_start(&walk->in, walk->in.sg); in 1182 crypto/aes_generic.c static void crypto_aes_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in 1189 crypto/aes_generic.c b0[0] = ctx->key_enc[0] ^ get_unaligned_le32(in); in 1190 crypto/aes_generic.c b0[1] = ctx->key_enc[1] ^ get_unaligned_le32(in + 4); in 1191 crypto/aes_generic.c b0[2] = ctx->key_enc[2] ^ get_unaligned_le32(in + 8); in 1192 crypto/aes_generic.c b0[3] = ctx->key_enc[3] ^ get_unaligned_le32(in + 12); in 1252 crypto/aes_generic.c static void crypto_aes_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in 1259 crypto/aes_generic.c b0[0] = ctx->key_dec[0] ^ get_unaligned_le32(in); in 1260 crypto/aes_generic.c b0[1] = ctx->key_dec[1] ^ get_unaligned_le32(in + 4); in 1261 crypto/aes_generic.c b0[2] = ctx->key_dec[2] ^ get_unaligned_le32(in + 8); in 1262 crypto/aes_generic.c b0[3] = ctx->key_dec[3] ^ get_unaligned_le32(in + 12); in 20 crypto/aes_ti.c static void aesti_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in 31 crypto/aes_ti.c aes_encrypt(ctx, out, in); in 36 crypto/aes_ti.c static void aesti_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in 47 crypto/aes_ti.c aes_decrypt(ctx, out, in); in 461 crypto/asymmetric_keys/asym_tpm.c const void *in, void *out) in 494 crypto/asymmetric_keys/asym_tpm.c sg_init_one(&in_sg, in, params->in_len); in 521 crypto/asymmetric_keys/asym_tpm.c const void *in, void *out) in 555 crypto/asymmetric_keys/asym_tpm.c in, params->in_len, out, params->out_len); in 645 crypto/asymmetric_keys/asym_tpm.c const void *in, void *out) in 674 crypto/asymmetric_keys/asym_tpm.c memcpy(asn1_wrapped + asn1->size, in, in_len); in 676 crypto/asymmetric_keys/asym_tpm.c in = asn1_wrapped; in 703 crypto/asymmetric_keys/asym_tpm.c r = tpm_sign(tb, keyhandle, keyauth, in, in_len, out, params->out_len); in 722 crypto/asymmetric_keys/asym_tpm.c const void *in, void *out) in 730 crypto/asymmetric_keys/asym_tpm.c ret = tpm_key_encrypt(tk, params, in, out); in 733 crypto/asymmetric_keys/asym_tpm.c ret = tpm_key_decrypt(tk, params, in, out); in 736 crypto/asymmetric_keys/asym_tpm.c ret = tpm_key_sign(tk, params, in, out); in 17 crypto/asymmetric_keys/asymmetric_keys.h const void *in, void *out); in 539 crypto/asymmetric_keys/asymmetric_type.c const void *in, void *out) in 556 crypto/asymmetric_keys/asymmetric_type.c ret = subtype->eds_op(params, in, out); in 563 crypto/asymmetric_keys/asymmetric_type.c const void *in, const void *in2) in 570 crypto/asymmetric_keys/asymmetric_type.c .digest = (void *)in, in 164 crypto/asymmetric_keys/public_key.c const void *in, void *out) in 210 crypto/asymmetric_keys/public_key.c sg_init_one(&in_sg, in, params->in_len); in 41 crypto/blkcipher.c walk->src.virt.addr = scatterwalk_map(&walk->in); in 91 crypto/blkcipher.c scatterwalk_advance(&walk->in, n); in 119 crypto/blkcipher.c scatterwalk_done(&walk->in, 0, more); in 167 crypto/blkcipher.c scatterwalk_copychunks(walk->src.virt.addr, &walk->in, bsize, 0); in 194 crypto/blkcipher.c walk->src.phys.page = scatterwalk_page(&walk->in); in 195 crypto/blkcipher.c walk->src.phys.offset = offset_in_page(walk->in.offset); in 233 crypto/blkcipher.c if (!scatterwalk_aligned(&walk->in, walk->alignmask) || in 243 crypto/blkcipher.c n = scatterwalk_clamp(&walk->in, n); in 334 crypto/blkcipher.c scatterwalk_start(&walk->in, walk->in.sg); in 997 crypto/camellia_generic.c static void camellia_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in 1000 crypto/camellia_generic.c const __be32 *src = (const __be32 *)in; in 1025 crypto/camellia_generic.c static void camellia_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in 1028 crypto/camellia_generic.c const __be32 *src = (const __be32 *)in; in 658 crypto/cryptd.c static int cryptd_hash_import(struct ahash_request *req, const void *in) in 666 crypto/cryptd.c return crypto_shash_import(desc, in); in 309 crypto/drbg.c const struct drbg_string *in); in 320 crypto/drbg.c struct list_head *in) in 331 crypto/drbg.c list_for_each_entry(curr, in, list) { in 634 crypto/drbg.c const struct list_head *in); in 1705 crypto/drbg.c const struct list_head *in) in 1711 crypto/drbg.c list_for_each_entry(input, in, list) in 1809 crypto/drbg.c const struct drbg_string *in) in 1815 crypto/drbg.c BUG_ON(in->len < drbg_blocklen(drbg)); in 1816 crypto/drbg.c crypto_cipher_encrypt_one(tfm, outval, in->buf); in 222 crypto/ecc.c static u64 vli_lshift(u64 *result, const u64 *in, unsigned int shift, in 229 crypto/ecc.c u64 temp = in[i]; in 1284 crypto/ecc.c static inline void ecc_swap_digits(const u64 *in, u64 *out, in 1287 crypto/ecc.c const __be64 *src = (__force __be64 *)in; in 90 crypto/hmac.c static int hmac_import(struct shash_desc *pdesc, const void *in) in 97 crypto/hmac.c return crypto_shash_import(desc, in); in 67 crypto/md4.c static void md4_transform(u32 *hash, u32 const *in) in 76 crypto/md4.c ROUND1(a, b, c, d, in[0], 3); in 77 crypto/md4.c ROUND1(d, a, b, c, in[1], 7); in 78 crypto/md4.c ROUND1(c, d, a, b, in[2], 11); in 79 crypto/md4.c ROUND1(b, c, d, a, in[3], 19); in 80 crypto/md4.c ROUND1(a, b, c, d, in[4], 3); in 81 crypto/md4.c ROUND1(d, a, b, c, in[5], 7); in 82 crypto/md4.c ROUND1(c, d, a, b, in[6], 11); in 83 crypto/md4.c ROUND1(b, c, d, a, in[7], 19); in 84 crypto/md4.c ROUND1(a, b, c, d, in[8], 3); in 85 crypto/md4.c ROUND1(d, a, b, c, in[9], 7); in 86 crypto/md4.c ROUND1(c, d, a, b, in[10], 11); in 87 crypto/md4.c ROUND1(b, c, d, a, in[11], 19); in 88 crypto/md4.c ROUND1(a, b, c, d, in[12], 3); in 89 crypto/md4.c ROUND1(d, a, b, c, in[13], 7); in 90 crypto/md4.c ROUND1(c, d, a, b, in[14], 11); in 91 crypto/md4.c ROUND1(b, c, d, a, in[15], 19); in 93 crypto/md4.c ROUND2(a, b, c, d,in[ 0], 3); in 94 crypto/md4.c ROUND2(d, a, b, c, in[4], 5); in 95 crypto/md4.c ROUND2(c, d, a, b, in[8], 9); in 96 crypto/md4.c ROUND2(b, c, d, a, in[12], 13); in 97 crypto/md4.c ROUND2(a, b, c, d, in[1], 3); in 98 crypto/md4.c ROUND2(d, a, b, c, in[5], 5); in 99 crypto/md4.c ROUND2(c, d, a, b, in[9], 9); in 100 crypto/md4.c ROUND2(b, c, d, a, in[13], 13); in 101 crypto/md4.c ROUND2(a, b, c, d, in[2], 3); in 102 crypto/md4.c ROUND2(d, a, b, c, in[6], 5); in 103 crypto/md4.c ROUND2(c, d, a, b, in[10], 9); in 104 crypto/md4.c ROUND2(b, c, d, a, in[14], 13); in 105 crypto/md4.c ROUND2(a, b, c, d, in[3], 3); in 106 crypto/md4.c ROUND2(d, a, b, c, in[7], 5); in 107 crypto/md4.c ROUND2(c, d, a, b, in[11], 9); in 108 crypto/md4.c ROUND2(b, c, d, a, in[15], 13); in 110 crypto/md4.c ROUND3(a, b, c, d,in[ 0], 3); in 111 crypto/md4.c ROUND3(d, a, b, c, in[8], 9); in 112 crypto/md4.c ROUND3(c, d, a, b, in[4], 11); in 113 crypto/md4.c ROUND3(b, c, d, a, in[12], 15); in 114 crypto/md4.c ROUND3(a, b, c, d, in[2], 3); in 115 crypto/md4.c ROUND3(d, a, b, c, in[10], 9); in 116 crypto/md4.c ROUND3(c, d, a, b, in[6], 11); in 117 crypto/md4.c ROUND3(b, c, d, a, in[14], 15); in 118 crypto/md4.c ROUND3(a, b, c, d, in[1], 3); in 119 crypto/md4.c ROUND3(d, a, b, c, in[9], 9); in 120 crypto/md4.c ROUND3(c, d, a, b, in[5], 11); in 121 crypto/md4.c ROUND3(b, c, d, a, in[13], 15); in 122 crypto/md4.c ROUND3(a, b, c, d, in[3], 3); in 123 crypto/md4.c ROUND3(d, a, b, c, in[11], 9); in 124 crypto/md4.c ROUND3(c, d, a, b, in[7], 11); in 125 crypto/md4.c ROUND3(b, c, d, a, in[15], 15); in 40 crypto/md5.c #define MD5STEP(f, w, x, y, z, in, s) \ in 41 crypto/md5.c (w += f(x, y, z) + in, w = (w<<s | w>>(32-s)) + x) in 43 crypto/md5.c static void md5_transform(__u32 *hash, __u32 const *in) in 52 crypto/md5.c MD5STEP(F1, a, b, c, d, in[0] + 0xd76aa478, 7); in 53 crypto/md5.c MD5STEP(F1, d, a, b, c, in[1] + 0xe8c7b756, 12); in 54 crypto/md5.c MD5STEP(F1, c, d, a, b, in[2] + 0x242070db, 17); in 55 crypto/md5.c MD5STEP(F1, b, c, d, a, in[3] + 0xc1bdceee, 22); in 56 crypto/md5.c MD5STEP(F1, a, b, c, d, in[4] + 0xf57c0faf, 7); in 57 crypto/md5.c MD5STEP(F1, d, a, b, c, in[5] + 0x4787c62a, 12); in 58 crypto/md5.c MD5STEP(F1, c, d, a, b, in[6] + 0xa8304613, 17); in 59 crypto/md5.c MD5STEP(F1, b, c, d, a, in[7] + 0xfd469501, 22); in 60 crypto/md5.c MD5STEP(F1, a, b, c, d, in[8] + 0x698098d8, 7); in 61 crypto/md5.c MD5STEP(F1, d, a, b, c, in[9] + 0x8b44f7af, 12); in 62 crypto/md5.c MD5STEP(F1, c, d, a, b, in[10] + 0xffff5bb1, 17); in 63 crypto/md5.c MD5STEP(F1, b, c, d, a, in[11] + 0x895cd7be, 22); in 64 crypto/md5.c MD5STEP(F1, a, b, c, d, in[12] + 0x6b901122, 7); in 65 crypto/md5.c MD5STEP(F1, d, a, b, c, in[13] + 0xfd987193, 12); in 66 crypto/md5.c MD5STEP(F1, c, d, a, b, in[14] + 0xa679438e, 17); in 67 crypto/md5.c MD5STEP(F1, b, c, d, a, in[15] + 0x49b40821, 22); in 69 crypto/md5.c MD5STEP(F2, a, b, c, d, in[1] + 0xf61e2562, 5); in 70 crypto/md5.c MD5STEP(F2, d, a, b, c, in[6] + 0xc040b340, 9); in 71 crypto/md5.c MD5STEP(F2, c, d, a, b, in[11] + 0x265e5a51, 14); in 72 crypto/md5.c MD5STEP(F2, b, c, d, a, in[0] + 0xe9b6c7aa, 20); in 73 crypto/md5.c MD5STEP(F2, a, b, c, d, in[5] + 0xd62f105d, 5); in 74 crypto/md5.c MD5STEP(F2, d, a, b, c, in[10] + 0x02441453, 9); in 75 crypto/md5.c MD5STEP(F2, c, d, a, b, in[15] + 0xd8a1e681, 14); in 76 crypto/md5.c MD5STEP(F2, b, c, d, a, in[4] + 0xe7d3fbc8, 20); in 77 crypto/md5.c MD5STEP(F2, a, b, c, d, in[9] + 0x21e1cde6, 5); in 78 crypto/md5.c MD5STEP(F2, d, a, b, c, in[14] + 0xc33707d6, 9); in 79 crypto/md5.c MD5STEP(F2, c, d, a, b, in[3] + 0xf4d50d87, 14); in 80 crypto/md5.c MD5STEP(F2, b, c, d, a, in[8] + 0x455a14ed, 20); in 81 crypto/md5.c MD5STEP(F2, a, b, c, d, in[13] + 0xa9e3e905, 5); in 82 crypto/md5.c MD5STEP(F2, d, a, b, c, in[2] + 0xfcefa3f8, 9); in 83 crypto/md5.c MD5STEP(F2, c, d, a, b, in[7] + 0x676f02d9, 14); in 84 crypto/md5.c MD5STEP(F2, b, c, d, a, in[12] + 0x8d2a4c8a, 20); in 86 crypto/md5.c MD5STEP(F3, a, b, c, d, in[5] + 0xfffa3942, 4); in 87 crypto/md5.c MD5STEP(F3, d, a, b, c, in[8] + 0x8771f681, 11); in 88 crypto/md5.c MD5STEP(F3, c, d, a, b, in[11] + 0x6d9d6122, 16); in 89 crypto/md5.c MD5STEP(F3, b, c, d, a, in[14] + 0xfde5380c, 23); in 90 crypto/md5.c MD5STEP(F3, a, b, c, d, in[1] + 0xa4beea44, 4); in 91 crypto/md5.c MD5STEP(F3, d, a, b, c, in[4] + 0x4bdecfa9, 11); in 92 crypto/md5.c MD5STEP(F3, c, d, a, b, in[7] + 0xf6bb4b60, 16); in 93 crypto/md5.c MD5STEP(F3, b, c, d, a, in[10] + 0xbebfbc70, 23); in 94 crypto/md5.c MD5STEP(F3, a, b, c, d, in[13] + 0x289b7ec6, 4); in 95 crypto/md5.c MD5STEP(F3, d, a, b, c, in[0] + 0xeaa127fa, 11); in 96 crypto/md5.c MD5STEP(F3, c, d, a, b, in[3] + 0xd4ef3085, 16); in 97 crypto/md5.c MD5STEP(F3, b, c, d, a, in[6] + 0x04881d05, 23); in 98 crypto/md5.c MD5STEP(F3, a, b, c, d, in[9] + 0xd9d4d039, 4); in 99 crypto/md5.c MD5STEP(F3, d, a, b, c, in[12] + 0xe6db99e5, 11); in 100 crypto/md5.c MD5STEP(F3, c, d, a, b, in[15] + 0x1fa27cf8, 16); in 101 crypto/md5.c MD5STEP(F3, b, c, d, a, in[2] + 0xc4ac5665, 23); in 103 crypto/md5.c MD5STEP(F4, a, b, c, d, in[0] + 0xf4292244, 6); in 104 crypto/md5.c MD5STEP(F4, d, a, b, c, in[7] + 0x432aff97, 10); in 105 crypto/md5.c MD5STEP(F4, c, d, a, b, in[14] + 0xab9423a7, 15); in 106 crypto/md5.c MD5STEP(F4, b, c, d, a, in[5] + 0xfc93a039, 21); in 107 crypto/md5.c MD5STEP(F4, a, b, c, d, in[12] + 0x655b59c3, 6); in 108 crypto/md5.c MD5STEP(F4, d, a, b, c, in[3] + 0x8f0ccc92, 10); in 109 crypto/md5.c MD5STEP(F4, c, d, a, b, in[10] + 0xffeff47d, 15); in 110 crypto/md5.c MD5STEP(F4, b, c, d, a, in[1] + 0x85845dd1, 21); in 111 crypto/md5.c MD5STEP(F4, a, b, c, d, in[8] + 0x6fa87e4f, 6); in 112 crypto/md5.c MD5STEP(F4, d, a, b, c, in[15] + 0xfe2ce6e0, 10); in 113 crypto/md5.c MD5STEP(F4, c, d, a, b, in[6] + 0xa3014314, 15); in 114 crypto/md5.c MD5STEP(F4, b, c, d, a, in[13] + 0x4e0811a1, 21); in 115 crypto/md5.c MD5STEP(F4, a, b, c, d, in[4] + 0xf7537e82, 6); in 116 crypto/md5.c MD5STEP(F4, d, a, b, c, in[11] + 0xbd3af235, 10); in 117 crypto/md5.c MD5STEP(F4, c, d, a, b, in[2] + 0x2ad7d2bb, 15); in 118 crypto/md5.c MD5STEP(F4, b, c, d, a, in[9] + 0xeb86d391, 21); in 213 crypto/md5.c static int md5_import(struct shash_desc *desc, const void *in) in 217 crypto/md5.c memcpy(ctx, in, sizeof(*ctx)); in 45 crypto/rmd128.c static void rmd128_transform(u32 *state, const __le32 *in) in 62 crypto/rmd128.c ROUND(aa, bb, cc, dd, F1, K1, in[0], 11); in 63 crypto/rmd128.c ROUND(dd, aa, bb, cc, F1, K1, in[1], 14); in 64 crypto/rmd128.c ROUND(cc, dd, aa, bb, F1, K1, in[2], 15); in 65 crypto/rmd128.c ROUND(bb, cc, dd, aa, F1, K1, in[3], 12); in 66 crypto/rmd128.c ROUND(aa, bb, cc, dd, F1, K1, in[4], 5); in 67 crypto/rmd128.c ROUND(dd, aa, bb, cc, F1, K1, in[5], 8); in 68 crypto/rmd128.c ROUND(cc, dd, aa, bb, F1, K1, in[6], 7); in 69 crypto/rmd128.c ROUND(bb, cc, dd, aa, F1, K1, in[7], 9); in 70 crypto/rmd128.c ROUND(aa, bb, cc, dd, F1, K1, in[8], 11); in 71 crypto/rmd128.c ROUND(dd, aa, bb, cc, F1, K1, in[9], 13); in 72 crypto/rmd128.c ROUND(cc, dd, aa, bb, F1, K1, in[10], 14); in 73 crypto/rmd128.c ROUND(bb, cc, dd, aa, F1, K1, in[11], 15); in 74 crypto/rmd128.c ROUND(aa, bb, cc, dd, F1, K1, in[12], 6); in 75 crypto/rmd128.c ROUND(dd, aa, bb, cc, F1, K1, in[13], 7); in 76 crypto/rmd128.c ROUND(cc, dd, aa, bb, F1, K1, in[14], 9); in 77 crypto/rmd128.c ROUND(bb, cc, dd, aa, F1, K1, in[15], 8); in 80 crypto/rmd128.c ROUND(aa, bb, cc, dd, F2, K2, in[7], 7); in 81 crypto/rmd128.c ROUND(dd, aa, bb, cc, F2, K2, in[4], 6); in 82 crypto/rmd128.c ROUND(cc, dd, aa, bb, F2, K2, in[13], 8); in 83 crypto/rmd128.c ROUND(bb, cc, dd, aa, F2, K2, in[1], 13); in 84 crypto/rmd128.c ROUND(aa, bb, cc, dd, F2, K2, in[10], 11); in 85 crypto/rmd128.c ROUND(dd, aa, bb, cc, F2, K2, in[6], 9); in 86 crypto/rmd128.c ROUND(cc, dd, aa, bb, F2, K2, in[15], 7); in 87 crypto/rmd128.c ROUND(bb, cc, dd, aa, F2, K2, in[3], 15); in 88 crypto/rmd128.c ROUND(aa, bb, cc, dd, F2, K2, in[12], 7); in 89 crypto/rmd128.c ROUND(dd, aa, bb, cc, F2, K2, in[0], 12); in 90 crypto/rmd128.c ROUND(cc, dd, aa, bb, F2, K2, in[9], 15); in 91 crypto/rmd128.c ROUND(bb, cc, dd, aa, F2, K2, in[5], 9); in 92 crypto/rmd128.c ROUND(aa, bb, cc, dd, F2, K2, in[2], 11); in 93 crypto/rmd128.c ROUND(dd, aa, bb, cc, F2, K2, in[14], 7); in 94 crypto/rmd128.c ROUND(cc, dd, aa, bb, F2, K2, in[11], 13); in 95 crypto/rmd128.c ROUND(bb, cc, dd, aa, F2, K2, in[8], 12); in 98 crypto/rmd128.c ROUND(aa, bb, cc, dd, F3, K3, in[3], 11); in 99 crypto/rmd128.c ROUND(dd, aa, bb, cc, F3, K3, in[10], 13); in 100 crypto/rmd128.c ROUND(cc, dd, aa, bb, F3, K3, in[14], 6); in 101 crypto/rmd128.c ROUND(bb, cc, dd, aa, F3, K3, in[4], 7); in 102 crypto/rmd128.c ROUND(aa, bb, cc, dd, F3, K3, in[9], 14); in 103 crypto/rmd128.c ROUND(dd, aa, bb, cc, F3, K3, in[15], 9); in 104 crypto/rmd128.c ROUND(cc, dd, aa, bb, F3, K3, in[8], 13); in 105 crypto/rmd128.c ROUND(bb, cc, dd, aa, F3, K3, in[1], 15); in 106 crypto/rmd128.c ROUND(aa, bb, cc, dd, F3, K3, in[2], 14); in 107 crypto/rmd128.c ROUND(dd, aa, bb, cc, F3, K3, in[7], 8); in 108 crypto/rmd128.c ROUND(cc, dd, aa, bb, F3, K3, in[0], 13); in 109 crypto/rmd128.c ROUND(bb, cc, dd, aa, F3, K3, in[6], 6); in 110 crypto/rmd128.c ROUND(aa, bb, cc, dd, F3, K3, in[13], 5); in 111 crypto/rmd128.c ROUND(dd, aa, bb, cc, F3, K3, in[11], 12); in 112 crypto/rmd128.c ROUND(cc, dd, aa, bb, F3, K3, in[5], 7); in 113 crypto/rmd128.c ROUND(bb, cc, dd, aa, F3, K3, in[12], 5); in 116 crypto/rmd128.c ROUND(aa, bb, cc, dd, F4, K4, in[1], 11); in 117 crypto/rmd128.c ROUND(dd, aa, bb, cc, F4, K4, in[9], 12); in 118 crypto/rmd128.c ROUND(cc, dd, aa, bb, F4, K4, in[11], 14); in 119 crypto/rmd128.c ROUND(bb, cc, dd, aa, F4, K4, in[10], 15); in 120 crypto/rmd128.c ROUND(aa, bb, cc, dd, F4, K4, in[0], 14); in 121 crypto/rmd128.c ROUND(dd, aa, bb, cc, F4, K4, in[8], 15); in 122 crypto/rmd128.c ROUND(cc, dd, aa, bb, F4, K4, in[12], 9); in 123 crypto/rmd128.c ROUND(bb, cc, dd, aa, F4, K4, in[4], 8); in 124 crypto/rmd128.c ROUND(aa, bb, cc, dd, F4, K4, in[13], 9); in 125 crypto/rmd128.c ROUND(dd, aa, bb, cc, F4, K4, in[3], 14); in 126 crypto/rmd128.c ROUND(cc, dd, aa, bb, F4, K4, in[7], 5); in 127 crypto/rmd128.c ROUND(bb, cc, dd, aa, F4, K4, in[15], 6); in 128 crypto/rmd128.c ROUND(aa, bb, cc, dd, F4, K4, in[14], 8); in 129 crypto/rmd128.c ROUND(dd, aa, bb, cc, F4, K4, in[5], 6); in 130 crypto/rmd128.c ROUND(cc, dd, aa, bb, F4, K4, in[6], 5); in 131 crypto/rmd128.c ROUND(bb, cc, dd, aa, F4, K4, in[2], 12); in 134 crypto/rmd128.c ROUND(aaa, bbb, ccc, ddd, F4, KK1, in[5], 8); in 135 crypto/rmd128.c ROUND(ddd, aaa, bbb, ccc, F4, KK1, in[14], 9); in 136 crypto/rmd128.c ROUND(ccc, ddd, aaa, bbb, F4, KK1, in[7], 9); in 137 crypto/rmd128.c ROUND(bbb, ccc, ddd, aaa, F4, KK1, in[0], 11); in 138 crypto/rmd128.c ROUND(aaa, bbb, ccc, ddd, F4, KK1, in[9], 13); in 139 crypto/rmd128.c ROUND(ddd, aaa, bbb, ccc, F4, KK1, in[2], 15); in 140 crypto/rmd128.c ROUND(ccc, ddd, aaa, bbb, F4, KK1, in[11], 15); in 141 crypto/rmd128.c ROUND(bbb, ccc, ddd, aaa, F4, KK1, in[4], 5); in 142 crypto/rmd128.c ROUND(aaa, bbb, ccc, ddd, F4, KK1, in[13], 7); in 143 crypto/rmd128.c ROUND(ddd, aaa, bbb, ccc, F4, KK1, in[6], 7); in 144 crypto/rmd128.c ROUND(ccc, ddd, aaa, bbb, F4, KK1, in[15], 8); in 145 crypto/rmd128.c ROUND(bbb, ccc, ddd, aaa, F4, KK1, in[8], 11); in 146 crypto/rmd128.c ROUND(aaa, bbb, ccc, ddd, F4, KK1, in[1], 14); in 147 crypto/rmd128.c ROUND(ddd, aaa, bbb, ccc, F4, KK1, in[10], 14); in 148 crypto/rmd128.c ROUND(ccc, ddd, aaa, bbb, F4, KK1, in[3], 12); in 149 crypto/rmd128.c ROUND(bbb, ccc, ddd, aaa, F4, KK1, in[12], 6); in 152 crypto/rmd128.c ROUND(aaa, bbb, ccc, ddd, F3, KK2, in[6], 9); in 153 crypto/rmd128.c ROUND(ddd, aaa, bbb, ccc, F3, KK2, in[11], 13); in 154 crypto/rmd128.c ROUND(ccc, ddd, aaa, bbb, F3, KK2, in[3], 15); in 155 crypto/rmd128.c ROUND(bbb, ccc, ddd, aaa, F3, KK2, in[7], 7); in 156 crypto/rmd128.c ROUND(aaa, bbb, ccc, ddd, F3, KK2, in[0], 12); in 157 crypto/rmd128.c ROUND(ddd, aaa, bbb, ccc, F3, KK2, in[13], 8); in 158 crypto/rmd128.c ROUND(ccc, ddd, aaa, bbb, F3, KK2, in[5], 9); in 159 crypto/rmd128.c ROUND(bbb, ccc, ddd, aaa, F3, KK2, in[10], 11); in 160 crypto/rmd128.c ROUND(aaa, bbb, ccc, ddd, F3, KK2, in[14], 7); in 161 crypto/rmd128.c ROUND(ddd, aaa, bbb, ccc, F3, KK2, in[15], 7); in 162 crypto/rmd128.c ROUND(ccc, ddd, aaa, bbb, F3, KK2, in[8], 12); in 163 crypto/rmd128.c ROUND(bbb, ccc, ddd, aaa, F3, KK2, in[12], 7); in 164 crypto/rmd128.c ROUND(aaa, bbb, ccc, ddd, F3, KK2, in[4], 6); in 165 crypto/rmd128.c ROUND(ddd, aaa, bbb, ccc, F3, KK2, in[9], 15); in 166 crypto/rmd128.c ROUND(ccc, ddd, aaa, bbb, F3, KK2, in[1], 13); in 167 crypto/rmd128.c ROUND(bbb, ccc, ddd, aaa, F3, KK2, in[2], 11); in 170 crypto/rmd128.c ROUND(aaa, bbb, ccc, ddd, F2, KK3, in[15], 9); in 171 crypto/rmd128.c ROUND(ddd, aaa, bbb, ccc, F2, KK3, in[5], 7); in 172 crypto/rmd128.c ROUND(ccc, ddd, aaa, bbb, F2, KK3, in[1], 15); in 173 crypto/rmd128.c ROUND(bbb, ccc, ddd, aaa, F2, KK3, in[3], 11); in 174 crypto/rmd128.c ROUND(aaa, bbb, ccc, ddd, F2, KK3, in[7], 8); in 175 crypto/rmd128.c ROUND(ddd, aaa, bbb, ccc, F2, KK3, in[14], 6); in 176 crypto/rmd128.c ROUND(ccc, ddd, aaa, bbb, F2, KK3, in[6], 6); in 177 crypto/rmd128.c ROUND(bbb, ccc, ddd, aaa, F2, KK3, in[9], 14); in 178 crypto/rmd128.c ROUND(aaa, bbb, ccc, ddd, F2, KK3, in[11], 12); in 179 crypto/rmd128.c ROUND(ddd, aaa, bbb, ccc, F2, KK3, in[8], 13); in 180 crypto/rmd128.c ROUND(ccc, ddd, aaa, bbb, F2, KK3, in[12], 5); in 181 crypto/rmd128.c ROUND(bbb, ccc, ddd, aaa, F2, KK3, in[2], 14); in 182 crypto/rmd128.c ROUND(aaa, bbb, ccc, ddd, F2, KK3, in[10], 13); in 183 crypto/rmd128.c ROUND(ddd, aaa, bbb, ccc, F2, KK3, in[0], 13); in 184 crypto/rmd128.c ROUND(ccc, ddd, aaa, bbb, F2, KK3, in[4], 7); in 185 crypto/rmd128.c ROUND(bbb, ccc, ddd, aaa, F2, KK3, in[13], 5); in 188 crypto/rmd128.c ROUND(aaa, bbb, ccc, ddd, F1, KK4, in[8], 15); in 189 crypto/rmd128.c ROUND(ddd, aaa, bbb, ccc, F1, KK4, in[6], 5); in 190 crypto/rmd128.c ROUND(ccc, ddd, aaa, bbb, F1, KK4, in[4], 8); in 191 crypto/rmd128.c ROUND(bbb, ccc, ddd, aaa, F1, KK4, in[1], 11); in 192 crypto/rmd128.c ROUND(aaa, bbb, ccc, ddd, F1, KK4, in[3], 14); in 193 crypto/rmd128.c ROUND(ddd, aaa, bbb, ccc, F1, KK4, in[11], 14); in 194 crypto/rmd128.c ROUND(ccc, ddd, aaa, bbb, F1, KK4, in[15], 6); in 195 crypto/rmd128.c ROUND(bbb, ccc, ddd, aaa, F1, KK4, in[0], 14); in 196 crypto/rmd128.c ROUND(aaa, bbb, ccc, ddd, F1, KK4, in[5], 6); in 197 crypto/rmd128.c ROUND(ddd, aaa, bbb, ccc, F1, KK4, in[12], 9); in 198 crypto/rmd128.c ROUND(ccc, ddd, aaa, bbb, F1, KK4, in[2], 12); in 199 crypto/rmd128.c ROUND(bbb, ccc, ddd, aaa, F1, KK4, in[13], 9); in 200 crypto/rmd128.c ROUND(aaa, bbb, ccc, ddd, F1, KK4, in[9], 12); in 201 crypto/rmd128.c ROUND(ddd, aaa, bbb, ccc, F1, KK4, in[7], 5); in 202 crypto/rmd128.c ROUND(ccc, ddd, aaa, bbb, F1, KK4, in[10], 15); in 203 crypto/rmd128.c ROUND(bbb, ccc, ddd, aaa, F1, KK4, in[14], 8); in 49 crypto/rmd160.c static void rmd160_transform(u32 *state, const __le32 *in) in 68 crypto/rmd160.c ROUND(aa, bb, cc, dd, ee, F1, K1, in[0], 11); in 69 crypto/rmd160.c ROUND(ee, aa, bb, cc, dd, F1, K1, in[1], 14); in 70 crypto/rmd160.c ROUND(dd, ee, aa, bb, cc, F1, K1, in[2], 15); in 71 crypto/rmd160.c ROUND(cc, dd, ee, aa, bb, F1, K1, in[3], 12); in 72 crypto/rmd160.c ROUND(bb, cc, dd, ee, aa, F1, K1, in[4], 5); in 73 crypto/rmd160.c ROUND(aa, bb, cc, dd, ee, F1, K1, in[5], 8); in 74 crypto/rmd160.c ROUND(ee, aa, bb, cc, dd, F1, K1, in[6], 7); in 75 crypto/rmd160.c ROUND(dd, ee, aa, bb, cc, F1, K1, in[7], 9); in 76 crypto/rmd160.c ROUND(cc, dd, ee, aa, bb, F1, K1, in[8], 11); in 77 crypto/rmd160.c ROUND(bb, cc, dd, ee, aa, F1, K1, in[9], 13); in 78 crypto/rmd160.c ROUND(aa, bb, cc, dd, ee, F1, K1, in[10], 14); in 79 crypto/rmd160.c ROUND(ee, aa, bb, cc, dd, F1, K1, in[11], 15); in 80 crypto/rmd160.c ROUND(dd, ee, aa, bb, cc, F1, K1, in[12], 6); in 81 crypto/rmd160.c ROUND(cc, dd, ee, aa, bb, F1, K1, in[13], 7); in 82 crypto/rmd160.c ROUND(bb, cc, dd, ee, aa, F1, K1, in[14], 9); in 83 crypto/rmd160.c ROUND(aa, bb, cc, dd, ee, F1, K1, in[15], 8); in 86 crypto/rmd160.c ROUND(ee, aa, bb, cc, dd, F2, K2, in[7], 7); in 87 crypto/rmd160.c ROUND(dd, ee, aa, bb, cc, F2, K2, in[4], 6); in 88 crypto/rmd160.c ROUND(cc, dd, ee, aa, bb, F2, K2, in[13], 8); in 89 crypto/rmd160.c ROUND(bb, cc, dd, ee, aa, F2, K2, in[1], 13); in 90 crypto/rmd160.c ROUND(aa, bb, cc, dd, ee, F2, K2, in[10], 11); in 91 crypto/rmd160.c ROUND(ee, aa, bb, cc, dd, F2, K2, in[6], 9); in 92 crypto/rmd160.c ROUND(dd, ee, aa, bb, cc, F2, K2, in[15], 7); in 93 crypto/rmd160.c ROUND(cc, dd, ee, aa, bb, F2, K2, in[3], 15); in 94 crypto/rmd160.c ROUND(bb, cc, dd, ee, aa, F2, K2, in[12], 7); in 95 crypto/rmd160.c ROUND(aa, bb, cc, dd, ee, F2, K2, in[0], 12); in 96 crypto/rmd160.c ROUND(ee, aa, bb, cc, dd, F2, K2, in[9], 15); in 97 crypto/rmd160.c ROUND(dd, ee, aa, bb, cc, F2, K2, in[5], 9); in 98 crypto/rmd160.c ROUND(cc, dd, ee, aa, bb, F2, K2, in[2], 11); in 99 crypto/rmd160.c ROUND(bb, cc, dd, ee, aa, F2, K2, in[14], 7); in 100 crypto/rmd160.c ROUND(aa, bb, cc, dd, ee, F2, K2, in[11], 13); in 101 crypto/rmd160.c ROUND(ee, aa, bb, cc, dd, F2, K2, in[8], 12); in 104 crypto/rmd160.c ROUND(dd, ee, aa, bb, cc, F3, K3, in[3], 11); in 105 crypto/rmd160.c ROUND(cc, dd, ee, aa, bb, F3, K3, in[10], 13); in 106 crypto/rmd160.c ROUND(bb, cc, dd, ee, aa, F3, K3, in[14], 6); in 107 crypto/rmd160.c ROUND(aa, bb, cc, dd, ee, F3, K3, in[4], 7); in 108 crypto/rmd160.c ROUND(ee, aa, bb, cc, dd, F3, K3, in[9], 14); in 109 crypto/rmd160.c ROUND(dd, ee, aa, bb, cc, F3, K3, in[15], 9); in 110 crypto/rmd160.c ROUND(cc, dd, ee, aa, bb, F3, K3, in[8], 13); in 111 crypto/rmd160.c ROUND(bb, cc, dd, ee, aa, F3, K3, in[1], 15); in 112 crypto/rmd160.c ROUND(aa, bb, cc, dd, ee, F3, K3, in[2], 14); in 113 crypto/rmd160.c ROUND(ee, aa, bb, cc, dd, F3, K3, in[7], 8); in 114 crypto/rmd160.c ROUND(dd, ee, aa, bb, cc, F3, K3, in[0], 13); in 115 crypto/rmd160.c ROUND(cc, dd, ee, aa, bb, F3, K3, in[6], 6); in 116 crypto/rmd160.c ROUND(bb, cc, dd, ee, aa, F3, K3, in[13], 5); in 117 crypto/rmd160.c ROUND(aa, bb, cc, dd, ee, F3, K3, in[11], 12); in 118 crypto/rmd160.c ROUND(ee, aa, bb, cc, dd, F3, K3, in[5], 7); in 119 crypto/rmd160.c ROUND(dd, ee, aa, bb, cc, F3, K3, in[12], 5); in 122 crypto/rmd160.c ROUND(cc, dd, ee, aa, bb, F4, K4, in[1], 11); in 123 crypto/rmd160.c ROUND(bb, cc, dd, ee, aa, F4, K4, in[9], 12); in 124 crypto/rmd160.c ROUND(aa, bb, cc, dd, ee, F4, K4, in[11], 14); in 125 crypto/rmd160.c ROUND(ee, aa, bb, cc, dd, F4, K4, in[10], 15); in 126 crypto/rmd160.c ROUND(dd, ee, aa, bb, cc, F4, K4, in[0], 14); in 127 crypto/rmd160.c ROUND(cc, dd, ee, aa, bb, F4, K4, in[8], 15); in 128 crypto/rmd160.c ROUND(bb, cc, dd, ee, aa, F4, K4, in[12], 9); in 129 crypto/rmd160.c ROUND(aa, bb, cc, dd, ee, F4, K4, in[4], 8); in 130 crypto/rmd160.c ROUND(ee, aa, bb, cc, dd, F4, K4, in[13], 9); in 131 crypto/rmd160.c ROUND(dd, ee, aa, bb, cc, F4, K4, in[3], 14); in 132 crypto/rmd160.c ROUND(cc, dd, ee, aa, bb, F4, K4, in[7], 5); in 133 crypto/rmd160.c ROUND(bb, cc, dd, ee, aa, F4, K4, in[15], 6); in 134 crypto/rmd160.c ROUND(aa, bb, cc, dd, ee, F4, K4, in[14], 8); in 135 crypto/rmd160.c ROUND(ee, aa, bb, cc, dd, F4, K4, in[5], 6); in 136 crypto/rmd160.c ROUND(dd, ee, aa, bb, cc, F4, K4, in[6], 5); in 137 crypto/rmd160.c ROUND(cc, dd, ee, aa, bb, F4, K4, in[2], 12); in 140 crypto/rmd160.c ROUND(bb, cc, dd, ee, aa, F5, K5, in[4], 9); in 141 crypto/rmd160.c ROUND(aa, bb, cc, dd, ee, F5, K5, in[0], 15); in 142 crypto/rmd160.c ROUND(ee, aa, bb, cc, dd, F5, K5, in[5], 5); in 143 crypto/rmd160.c ROUND(dd, ee, aa, bb, cc, F5, K5, in[9], 11); in 144 crypto/rmd160.c ROUND(cc, dd, ee, aa, bb, F5, K5, in[7], 6); in 145 crypto/rmd160.c ROUND(bb, cc, dd, ee, aa, F5, K5, in[12], 8); in 146 crypto/rmd160.c ROUND(aa, bb, cc, dd, ee, F5, K5, in[2], 13); in 147 crypto/rmd160.c ROUND(ee, aa, bb, cc, dd, F5, K5, in[10], 12); in 148 crypto/rmd160.c ROUND(dd, ee, aa, bb, cc, F5, K5, in[14], 5); in 149 crypto/rmd160.c ROUND(cc, dd, ee, aa, bb, F5, K5, in[1], 12); in 150 crypto/rmd160.c ROUND(bb, cc, dd, ee, aa, F5, K5, in[3], 13); in 151 crypto/rmd160.c ROUND(aa, bb, cc, dd, ee, F5, K5, in[8], 14); in 152 crypto/rmd160.c ROUND(ee, aa, bb, cc, dd, F5, K5, in[11], 11); in 153 crypto/rmd160.c ROUND(dd, ee, aa, bb, cc, F5, K5, in[6], 8); in 154 crypto/rmd160.c ROUND(cc, dd, ee, aa, bb, F5, K5, in[15], 5); in 155 crypto/rmd160.c ROUND(bb, cc, dd, ee, aa, F5, K5, in[13], 6); in 158 crypto/rmd160.c ROUND(aaa, bbb, ccc, ddd, eee, F5, KK1, in[5], 8); in 159 crypto/rmd160.c ROUND(eee, aaa, bbb, ccc, ddd, F5, KK1, in[14], 9); in 160 crypto/rmd160.c ROUND(ddd, eee, aaa, bbb, ccc, F5, KK1, in[7], 9); in 161 crypto/rmd160.c ROUND(ccc, ddd, eee, aaa, bbb, F5, KK1, in[0], 11); in 162 crypto/rmd160.c ROUND(bbb, ccc, ddd, eee, aaa, F5, KK1, in[9], 13); in 163 crypto/rmd160.c ROUND(aaa, bbb, ccc, ddd, eee, F5, KK1, in[2], 15); in 164 crypto/rmd160.c ROUND(eee, aaa, bbb, ccc, ddd, F5, KK1, in[11], 15); in 165 crypto/rmd160.c ROUND(ddd, eee, aaa, bbb, ccc, F5, KK1, in[4], 5); in 166 crypto/rmd160.c ROUND(ccc, ddd, eee, aaa, bbb, F5, KK1, in[13], 7); in 167 crypto/rmd160.c ROUND(bbb, ccc, ddd, eee, aaa, F5, KK1, in[6], 7); in 168 crypto/rmd160.c ROUND(aaa, bbb, ccc, ddd, eee, F5, KK1, in[15], 8); in 169 crypto/rmd160.c ROUND(eee, aaa, bbb, ccc, ddd, F5, KK1, in[8], 11); in 170 crypto/rmd160.c ROUND(ddd, eee, aaa, bbb, ccc, F5, KK1, in[1], 14); in 171 crypto/rmd160.c ROUND(ccc, ddd, eee, aaa, bbb, F5, KK1, in[10], 14); in 172 crypto/rmd160.c ROUND(bbb, ccc, ddd, eee, aaa, F5, KK1, in[3], 12); in 173 crypto/rmd160.c ROUND(aaa, bbb, ccc, ddd, eee, F5, KK1, in[12], 6); in 176 crypto/rmd160.c ROUND(eee, aaa, bbb, ccc, ddd, F4, KK2, in[6], 9); in 177 crypto/rmd160.c ROUND(ddd, eee, aaa, bbb, ccc, F4, KK2, in[11], 13); in 178 crypto/rmd160.c ROUND(ccc, ddd, eee, aaa, bbb, F4, KK2, in[3], 15); in 179 crypto/rmd160.c ROUND(bbb, ccc, ddd, eee, aaa, F4, KK2, in[7], 7); in 180 crypto/rmd160.c ROUND(aaa, bbb, ccc, ddd, eee, F4, KK2, in[0], 12); in 181 crypto/rmd160.c ROUND(eee, aaa, bbb, ccc, ddd, F4, KK2, in[13], 8); in 182 crypto/rmd160.c ROUND(ddd, eee, aaa, bbb, ccc, F4, KK2, in[5], 9); in 183 crypto/rmd160.c ROUND(ccc, ddd, eee, aaa, bbb, F4, KK2, in[10], 11); in 184 crypto/rmd160.c ROUND(bbb, ccc, ddd, eee, aaa, F4, KK2, in[14], 7); in 185 crypto/rmd160.c ROUND(aaa, bbb, ccc, ddd, eee, F4, KK2, in[15], 7); in 186 crypto/rmd160.c ROUND(eee, aaa, bbb, ccc, ddd, F4, KK2, in[8], 12); in 187 crypto/rmd160.c ROUND(ddd, eee, aaa, bbb, ccc, F4, KK2, in[12], 7); in 188 crypto/rmd160.c ROUND(ccc, ddd, eee, aaa, bbb, F4, KK2, in[4], 6); in 189 crypto/rmd160.c ROUND(bbb, ccc, ddd, eee, aaa, F4, KK2, in[9], 15); in 190 crypto/rmd160.c ROUND(aaa, bbb, ccc, ddd, eee, F4, KK2, in[1], 13); in 191 crypto/rmd160.c ROUND(eee, aaa, bbb, ccc, ddd, F4, KK2, in[2], 11); in 194 crypto/rmd160.c ROUND(ddd, eee, aaa, bbb, ccc, F3, KK3, in[15], 9); in 195 crypto/rmd160.c ROUND(ccc, ddd, eee, aaa, bbb, F3, KK3, in[5], 7); in 196 crypto/rmd160.c ROUND(bbb, ccc, ddd, eee, aaa, F3, KK3, in[1], 15); in 197 crypto/rmd160.c ROUND(aaa, bbb, ccc, ddd, eee, F3, KK3, in[3], 11); in 198 crypto/rmd160.c ROUND(eee, aaa, bbb, ccc, ddd, F3, KK3, in[7], 8); in 199 crypto/rmd160.c ROUND(ddd, eee, aaa, bbb, ccc, F3, KK3, in[14], 6); in 200 crypto/rmd160.c ROUND(ccc, ddd, eee, aaa, bbb, F3, KK3, in[6], 6); in 201 crypto/rmd160.c ROUND(bbb, ccc, ddd, eee, aaa, F3, KK3, in[9], 14); in 202 crypto/rmd160.c ROUND(aaa, bbb, ccc, ddd, eee, F3, KK3, in[11], 12); in 203 crypto/rmd160.c ROUND(eee, aaa, bbb, ccc, ddd, F3, KK3, in[8], 13); in 204 crypto/rmd160.c ROUND(ddd, eee, aaa, bbb, ccc, F3, KK3, in[12], 5); in 205 crypto/rmd160.c ROUND(ccc, ddd, eee, aaa, bbb, F3, KK3, in[2], 14); in 206 crypto/rmd160.c ROUND(bbb, ccc, ddd, eee, aaa, F3, KK3, in[10], 13); in 207 crypto/rmd160.c ROUND(aaa, bbb, ccc, ddd, eee, F3, KK3, in[0], 13); in 208 crypto/rmd160.c ROUND(eee, aaa, bbb, ccc, ddd, F3, KK3, in[4], 7); in 209 crypto/rmd160.c ROUND(ddd, eee, aaa, bbb, ccc, F3, KK3, in[13], 5); in 212 crypto/rmd160.c ROUND(ccc, ddd, eee, aaa, bbb, F2, KK4, in[8], 15); in 213 crypto/rmd160.c ROUND(bbb, ccc, ddd, eee, aaa, F2, KK4, in[6], 5); in 214 crypto/rmd160.c ROUND(aaa, bbb, ccc, ddd, eee, F2, KK4, in[4], 8); in 215 crypto/rmd160.c ROUND(eee, aaa, bbb, ccc, ddd, F2, KK4, in[1], 11); in 216 crypto/rmd160.c ROUND(ddd, eee, aaa, bbb, ccc, F2, KK4, in[3], 14); in 217 crypto/rmd160.c ROUND(ccc, ddd, eee, aaa, bbb, F2, KK4, in[11], 14); in 218 crypto/rmd160.c ROUND(bbb, ccc, ddd, eee, aaa, F2, KK4, in[15], 6); in 219 crypto/rmd160.c ROUND(aaa, bbb, ccc, ddd, eee, F2, KK4, in[0], 14); in 220 crypto/rmd160.c ROUND(eee, aaa, bbb, ccc, ddd, F2, KK4, in[5], 6); in 221 crypto/rmd160.c ROUND(ddd, eee, aaa, bbb, ccc, F2, KK4, in[12], 9); in 222 crypto/rmd160.c ROUND(ccc, ddd, eee, aaa, bbb, F2, KK4, in[2], 12); in 223 crypto/rmd160.c ROUND(bbb, ccc, ddd, eee, aaa, F2, KK4, in[13], 9); in 224 crypto/rmd160.c ROUND(aaa, bbb, ccc, ddd, eee, F2, KK4, in[9], 12); in 225 crypto/rmd160.c ROUND(eee, aaa, bbb, ccc, ddd, F2, KK4, in[7], 5); in 226 crypto/rmd160.c ROUND(ddd, eee, aaa, bbb, ccc, F2, KK4, in[10], 15); in 227 crypto/rmd160.c ROUND(ccc, ddd, eee, aaa, bbb, F2, KK4, in[14], 8); in 230 crypto/rmd160.c ROUND(bbb, ccc, ddd, eee, aaa, F1, KK5, in[12], 8); in 231 crypto/rmd160.c ROUND(aaa, bbb, ccc, ddd, eee, F1, KK5, in[15], 5); in 232 crypto/rmd160.c ROUND(eee, aaa, bbb, ccc, ddd, F1, KK5, in[10], 12); in 233 crypto/rmd160.c ROUND(ddd, eee, aaa, bbb, ccc, F1, KK5, in[4], 9); in 234 crypto/rmd160.c ROUND(ccc, ddd, eee, aaa, bbb, F1, KK5, in[1], 12); in 235 crypto/rmd160.c ROUND(bbb, ccc, ddd, eee, aaa, F1, KK5, in[5], 5); in 236 crypto/rmd160.c ROUND(aaa, bbb, ccc, ddd, eee, F1, KK5, in[8], 14); in 237 crypto/rmd160.c ROUND(eee, aaa, bbb, ccc, ddd, F1, KK5, in[7], 6); in 238 crypto/rmd160.c ROUND(ddd, eee, aaa, bbb, ccc, F1, KK5, in[6], 8); in 239 crypto/rmd160.c ROUND(ccc, ddd, eee, aaa, bbb, F1, KK5, in[2], 13); in 240 crypto/rmd160.c ROUND(bbb, ccc, ddd, eee, aaa, F1, KK5, in[13], 6); in 241 crypto/rmd160.c ROUND(aaa, bbb, ccc, ddd, eee, F1, KK5, in[14], 5); in 242 crypto/rmd160.c ROUND(eee, aaa, bbb, ccc, ddd, F1, KK5, in[0], 15); in 243 crypto/rmd160.c ROUND(ddd, eee, aaa, bbb, ccc, F1, KK5, in[3], 13); in 244 crypto/rmd160.c ROUND(ccc, ddd, eee, aaa, bbb, F1, KK5, in[9], 11); in 245 crypto/rmd160.c ROUND(bbb, ccc, ddd, eee, aaa, F1, KK5, in[11], 11); in 45 crypto/rmd256.c static void rmd256_transform(u32 *state, const __le32 *in) in 62 crypto/rmd256.c ROUND(aa, bb, cc, dd, F1, K1, in[0], 11); in 63 crypto/rmd256.c ROUND(dd, aa, bb, cc, F1, K1, in[1], 14); in 64 crypto/rmd256.c ROUND(cc, dd, aa, bb, F1, K1, in[2], 15); in 65 crypto/rmd256.c ROUND(bb, cc, dd, aa, F1, K1, in[3], 12); in 66 crypto/rmd256.c ROUND(aa, bb, cc, dd, F1, K1, in[4], 5); in 67 crypto/rmd256.c ROUND(dd, aa, bb, cc, F1, K1, in[5], 8); in 68 crypto/rmd256.c ROUND(cc, dd, aa, bb, F1, K1, in[6], 7); in 69 crypto/rmd256.c ROUND(bb, cc, dd, aa, F1, K1, in[7], 9); in 70 crypto/rmd256.c ROUND(aa, bb, cc, dd, F1, K1, in[8], 11); in 71 crypto/rmd256.c ROUND(dd, aa, bb, cc, F1, K1, in[9], 13); in 72 crypto/rmd256.c ROUND(cc, dd, aa, bb, F1, K1, in[10], 14); in 73 crypto/rmd256.c ROUND(bb, cc, dd, aa, F1, K1, in[11], 15); in 74 crypto/rmd256.c ROUND(aa, bb, cc, dd, F1, K1, in[12], 6); in 75 crypto/rmd256.c ROUND(dd, aa, bb, cc, F1, K1, in[13], 7); in 76 crypto/rmd256.c ROUND(cc, dd, aa, bb, F1, K1, in[14], 9); in 77 crypto/rmd256.c ROUND(bb, cc, dd, aa, F1, K1, in[15], 8); in 80 crypto/rmd256.c ROUND(aaa, bbb, ccc, ddd, F4, KK1, in[5], 8); in 81 crypto/rmd256.c ROUND(ddd, aaa, bbb, ccc, F4, KK1, in[14], 9); in 82 crypto/rmd256.c ROUND(ccc, ddd, aaa, bbb, F4, KK1, in[7], 9); in 83 crypto/rmd256.c ROUND(bbb, ccc, ddd, aaa, F4, KK1, in[0], 11); in 84 crypto/rmd256.c ROUND(aaa, bbb, ccc, ddd, F4, KK1, in[9], 13); in 85 crypto/rmd256.c ROUND(ddd, aaa, bbb, ccc, F4, KK1, in[2], 15); in 86 crypto/rmd256.c ROUND(ccc, ddd, aaa, bbb, F4, KK1, in[11], 15); in 87 crypto/rmd256.c ROUND(bbb, ccc, ddd, aaa, F4, KK1, in[4], 5); in 88 crypto/rmd256.c ROUND(aaa, bbb, ccc, ddd, F4, KK1, in[13], 7); in 89 crypto/rmd256.c ROUND(ddd, aaa, bbb, ccc, F4, KK1, in[6], 7); in 90 crypto/rmd256.c ROUND(ccc, ddd, aaa, bbb, F4, KK1, in[15], 8); in 91 crypto/rmd256.c ROUND(bbb, ccc, ddd, aaa, F4, KK1, in[8], 11); in 92 crypto/rmd256.c ROUND(aaa, bbb, ccc, ddd, F4, KK1, in[1], 14); in 93 crypto/rmd256.c ROUND(ddd, aaa, bbb, ccc, F4, KK1, in[10], 14); in 94 crypto/rmd256.c ROUND(ccc, ddd, aaa, bbb, F4, KK1, in[3], 12); in 95 crypto/rmd256.c ROUND(bbb, ccc, ddd, aaa, F4, KK1, in[12], 6); in 101 crypto/rmd256.c ROUND(aa, bb, cc, dd, F2, K2, in[7], 7); in 102 crypto/rmd256.c ROUND(dd, aa, bb, cc, F2, K2, in[4], 6); in 103 crypto/rmd256.c ROUND(cc, dd, aa, bb, F2, K2, in[13], 8); in 104 crypto/rmd256.c ROUND(bb, cc, dd, aa, F2, K2, in[1], 13); in 105 crypto/rmd256.c ROUND(aa, bb, cc, dd, F2, K2, in[10], 11); in 106 crypto/rmd256.c ROUND(dd, aa, bb, cc, F2, K2, in[6], 9); in 107 crypto/rmd256.c ROUND(cc, dd, aa, bb, F2, K2, in[15], 7); in 108 crypto/rmd256.c ROUND(bb, cc, dd, aa, F2, K2, in[3], 15); in 109 crypto/rmd256.c ROUND(aa, bb, cc, dd, F2, K2, in[12], 7); in 110 crypto/rmd256.c ROUND(dd, aa, bb, cc, F2, K2, in[0], 12); in 111 crypto/rmd256.c ROUND(cc, dd, aa, bb, F2, K2, in[9], 15); in 112 crypto/rmd256.c ROUND(bb, cc, dd, aa, F2, K2, in[5], 9); in 113 crypto/rmd256.c ROUND(aa, bb, cc, dd, F2, K2, in[2], 11); in 114 crypto/rmd256.c ROUND(dd, aa, bb, cc, F2, K2, in[14], 7); in 115 crypto/rmd256.c ROUND(cc, dd, aa, bb, F2, K2, in[11], 13); in 116 crypto/rmd256.c ROUND(bb, cc, dd, aa, F2, K2, in[8], 12); in 119 crypto/rmd256.c ROUND(aaa, bbb, ccc, ddd, F3, KK2, in[6], 9); in 120 crypto/rmd256.c ROUND(ddd, aaa, bbb, ccc, F3, KK2, in[11], 13); in 121 crypto/rmd256.c ROUND(ccc, ddd, aaa, bbb, F3, KK2, in[3], 15); in 122 crypto/rmd256.c ROUND(bbb, ccc, ddd, aaa, F3, KK2, in[7], 7); in 123 crypto/rmd256.c ROUND(aaa, bbb, ccc, ddd, F3, KK2, in[0], 12); in 124 crypto/rmd256.c ROUND(ddd, aaa, bbb, ccc, F3, KK2, in[13], 8); in 125 crypto/rmd256.c ROUND(ccc, ddd, aaa, bbb, F3, KK2, in[5], 9); in 126 crypto/rmd256.c ROUND(bbb, ccc, ddd, aaa, F3, KK2, in[10], 11); in 127 crypto/rmd256.c ROUND(aaa, bbb, ccc, ddd, F3, KK2, in[14], 7); in 128 crypto/rmd256.c ROUND(ddd, aaa, bbb, ccc, F3, KK2, in[15], 7); in 129 crypto/rmd256.c ROUND(ccc, ddd, aaa, bbb, F3, KK2, in[8], 12); in 130 crypto/rmd256.c ROUND(bbb, ccc, ddd, aaa, F3, KK2, in[12], 7); in 131 crypto/rmd256.c ROUND(aaa, bbb, ccc, ddd, F3, KK2, in[4], 6); in 132 crypto/rmd256.c ROUND(ddd, aaa, bbb, ccc, F3, KK2, in[9], 15); in 133 crypto/rmd256.c ROUND(ccc, ddd, aaa, bbb, F3, KK2, in[1], 13); in 134 crypto/rmd256.c ROUND(bbb, ccc, ddd, aaa, F3, KK2, in[2], 11); in 140 crypto/rmd256.c ROUND(aa, bb, cc, dd, F3, K3, in[3], 11); in 141 crypto/rmd256.c ROUND(dd, aa, bb, cc, F3, K3, in[10], 13); in 142 crypto/rmd256.c ROUND(cc, dd, aa, bb, F3, K3, in[14], 6); in 143 crypto/rmd256.c ROUND(bb, cc, dd, aa, F3, K3, in[4], 7); in 144 crypto/rmd256.c ROUND(aa, bb, cc, dd, F3, K3, in[9], 14); in 145 crypto/rmd256.c ROUND(dd, aa, bb, cc, F3, K3, in[15], 9); in 146 crypto/rmd256.c ROUND(cc, dd, aa, bb, F3, K3, in[8], 13); in 147 crypto/rmd256.c ROUND(bb, cc, dd, aa, F3, K3, in[1], 15); in 148 crypto/rmd256.c ROUND(aa, bb, cc, dd, F3, K3, in[2], 14); in 149 crypto/rmd256.c ROUND(dd, aa, bb, cc, F3, K3, in[7], 8); in 150 crypto/rmd256.c ROUND(cc, dd, aa, bb, F3, K3, in[0], 13); in 151 crypto/rmd256.c ROUND(bb, cc, dd, aa, F3, K3, in[6], 6); in 152 crypto/rmd256.c ROUND(aa, bb, cc, dd, F3, K3, in[13], 5); in 153 crypto/rmd256.c ROUND(dd, aa, bb, cc, F3, K3, in[11], 12); in 154 crypto/rmd256.c ROUND(cc, dd, aa, bb, F3, K3, in[5], 7); in 155 crypto/rmd256.c ROUND(bb, cc, dd, aa, F3, K3, in[12], 5); in 158 crypto/rmd256.c ROUND(aaa, bbb, ccc, ddd, F2, KK3, in[15], 9); in 159 crypto/rmd256.c ROUND(ddd, aaa, bbb, ccc, F2, KK3, in[5], 7); in 160 crypto/rmd256.c ROUND(ccc, ddd, aaa, bbb, F2, KK3, in[1], 15); in 161 crypto/rmd256.c ROUND(bbb, ccc, ddd, aaa, F2, KK3, in[3], 11); in 162 crypto/rmd256.c ROUND(aaa, bbb, ccc, ddd, F2, KK3, in[7], 8); in 163 crypto/rmd256.c ROUND(ddd, aaa, bbb, ccc, F2, KK3, in[14], 6); in 164 crypto/rmd256.c ROUND(ccc, ddd, aaa, bbb, F2, KK3, in[6], 6); in 165 crypto/rmd256.c ROUND(bbb, ccc, ddd, aaa, F2, KK3, in[9], 14); in 166 crypto/rmd256.c ROUND(aaa, bbb, ccc, ddd, F2, KK3, in[11], 12); in 167 crypto/rmd256.c ROUND(ddd, aaa, bbb, ccc, F2, KK3, in[8], 13); in 168 crypto/rmd256.c ROUND(ccc, ddd, aaa, bbb, F2, KK3, in[12], 5); in 169 crypto/rmd256.c ROUND(bbb, ccc, ddd, aaa, F2, KK3, in[2], 14); in 170 crypto/rmd256.c ROUND(aaa, bbb, ccc, ddd, F2, KK3, in[10], 13); in 171 crypto/rmd256.c ROUND(ddd, aaa, bbb, ccc, F2, KK3, in[0], 13); in 172 crypto/rmd256.c ROUND(ccc, ddd, aaa, bbb, F2, KK3, in[4], 7); in 173 crypto/rmd256.c ROUND(bbb, ccc, ddd, aaa, F2, KK3, in[13], 5); in 179 crypto/rmd256.c ROUND(aa, bb, cc, dd, F4, K4, in[1], 11); in 180 crypto/rmd256.c ROUND(dd, aa, bb, cc, F4, K4, in[9], 12); in 181 crypto/rmd256.c ROUND(cc, dd, aa, bb, F4, K4, in[11], 14); in 182 crypto/rmd256.c ROUND(bb, cc, dd, aa, F4, K4, in[10], 15); in 183 crypto/rmd256.c ROUND(aa, bb, cc, dd, F4, K4, in[0], 14); in 184 crypto/rmd256.c ROUND(dd, aa, bb, cc, F4, K4, in[8], 15); in 185 crypto/rmd256.c ROUND(cc, dd, aa, bb, F4, K4, in[12], 9); in 186 crypto/rmd256.c ROUND(bb, cc, dd, aa, F4, K4, in[4], 8); in 187 crypto/rmd256.c ROUND(aa, bb, cc, dd, F4, K4, in[13], 9); in 188 crypto/rmd256.c ROUND(dd, aa, bb, cc, F4, K4, in[3], 14); in 189 crypto/rmd256.c ROUND(cc, dd, aa, bb, F4, K4, in[7], 5); in 190 crypto/rmd256.c ROUND(bb, cc, dd, aa, F4, K4, in[15], 6); in 191 crypto/rmd256.c ROUND(aa, bb, cc, dd, F4, K4, in[14], 8); in 192 crypto/rmd256.c ROUND(dd, aa, bb, cc, F4, K4, in[5], 6); in 193 crypto/rmd256.c ROUND(cc, dd, aa, bb, F4, K4, in[6], 5); in 194 crypto/rmd256.c ROUND(bb, cc, dd, aa, F4, K4, in[2], 12); in 197 crypto/rmd256.c ROUND(aaa, bbb, ccc, ddd, F1, KK4, in[8], 15); in 198 crypto/rmd256.c ROUND(ddd, aaa, bbb, ccc, F1, KK4, in[6], 5); in 199 crypto/rmd256.c ROUND(ccc, ddd, aaa, bbb, F1, KK4, in[4], 8); in 200 crypto/rmd256.c ROUND(bbb, ccc, ddd, aaa, F1, KK4, in[1], 11); in 201 crypto/rmd256.c ROUND(aaa, bbb, ccc, ddd, F1, KK4, in[3], 14); in 202 crypto/rmd256.c ROUND(ddd, aaa, bbb, ccc, F1, KK4, in[11], 14); in 203 crypto/rmd256.c ROUND(ccc, ddd, aaa, bbb, F1, KK4, in[15], 6); in 204 crypto/rmd256.c ROUND(bbb, ccc, ddd, aaa, F1, KK4, in[0], 14); in 205 crypto/rmd256.c ROUND(aaa, bbb, ccc, ddd, F1, KK4, in[5], 6); in 206 crypto/rmd256.c ROUND(ddd, aaa, bbb, ccc, F1, KK4, in[12], 9); in 207 crypto/rmd256.c ROUND(ccc, ddd, aaa, bbb, F1, KK4, in[2], 12); in 208 crypto/rmd256.c ROUND(bbb, ccc, ddd, aaa, F1, KK4, in[13], 9); in 209 crypto/rmd256.c ROUND(aaa, bbb, ccc, ddd, F1, KK4, in[9], 12); in 210 crypto/rmd256.c ROUND(ddd, aaa, bbb, ccc, F1, KK4, in[7], 5); in 211 crypto/rmd256.c ROUND(ccc, ddd, aaa, bbb, F1, KK4, in[10], 15); in 212 crypto/rmd256.c ROUND(bbb, ccc, ddd, aaa, F1, KK4, in[14], 8); in 49 crypto/rmd320.c static void rmd320_transform(u32 *state, const __le32 *in) in 68 crypto/rmd320.c ROUND(aa, bb, cc, dd, ee, F1, K1, in[0], 11); in 69 crypto/rmd320.c ROUND(ee, aa, bb, cc, dd, F1, K1, in[1], 14); in 70 crypto/rmd320.c ROUND(dd, ee, aa, bb, cc, F1, K1, in[2], 15); in 71 crypto/rmd320.c ROUND(cc, dd, ee, aa, bb, F1, K1, in[3], 12); in 72 crypto/rmd320.c ROUND(bb, cc, dd, ee, aa, F1, K1, in[4], 5); in 73 crypto/rmd320.c ROUND(aa, bb, cc, dd, ee, F1, K1, in[5], 8); in 74 crypto/rmd320.c ROUND(ee, aa, bb, cc, dd, F1, K1, in[6], 7); in 75 crypto/rmd320.c ROUND(dd, ee, aa, bb, cc, F1, K1, in[7], 9); in 76 crypto/rmd320.c ROUND(cc, dd, ee, aa, bb, F1, K1, in[8], 11); in 77 crypto/rmd320.c ROUND(bb, cc, dd, ee, aa, F1, K1, in[9], 13); in 78 crypto/rmd320.c ROUND(aa, bb, cc, dd, ee, F1, K1, in[10], 14); in 79 crypto/rmd320.c ROUND(ee, aa, bb, cc, dd, F1, K1, in[11], 15); in 80 crypto/rmd320.c ROUND(dd, ee, aa, bb, cc, F1, K1, in[12], 6); in 81 crypto/rmd320.c ROUND(cc, dd, ee, aa, bb, F1, K1, in[13], 7); in 82 crypto/rmd320.c ROUND(bb, cc, dd, ee, aa, F1, K1, in[14], 9); in 83 crypto/rmd320.c ROUND(aa, bb, cc, dd, ee, F1, K1, in[15], 8); in 86 crypto/rmd320.c ROUND(aaa, bbb, ccc, ddd, eee, F5, KK1, in[5], 8); in 87 crypto/rmd320.c ROUND(eee, aaa, bbb, ccc, ddd, F5, KK1, in[14], 9); in 88 crypto/rmd320.c ROUND(ddd, eee, aaa, bbb, ccc, F5, KK1, in[7], 9); in 89 crypto/rmd320.c ROUND(ccc, ddd, eee, aaa, bbb, F5, KK1, in[0], 11); in 90 crypto/rmd320.c ROUND(bbb, ccc, ddd, eee, aaa, F5, KK1, in[9], 13); in 91 crypto/rmd320.c ROUND(aaa, bbb, ccc, ddd, eee, F5, KK1, in[2], 15); in 92 crypto/rmd320.c ROUND(eee, aaa, bbb, ccc, ddd, F5, KK1, in[11], 15); in 93 crypto/rmd320.c ROUND(ddd, eee, aaa, bbb, ccc, F5, KK1, in[4], 5); in 94 crypto/rmd320.c ROUND(ccc, ddd, eee, aaa, bbb, F5, KK1, in[13], 7); in 95 crypto/rmd320.c ROUND(bbb, ccc, ddd, eee, aaa, F5, KK1, in[6], 7); in 96 crypto/rmd320.c ROUND(aaa, bbb, ccc, ddd, eee, F5, KK1, in[15], 8); in 97 crypto/rmd320.c ROUND(eee, aaa, bbb, ccc, ddd, F5, KK1, in[8], 11); in 98 crypto/rmd320.c ROUND(ddd, eee, aaa, bbb, ccc, F5, KK1, in[1], 14); in 99 crypto/rmd320.c ROUND(ccc, ddd, eee, aaa, bbb, F5, KK1, in[10], 14); in 100 crypto/rmd320.c ROUND(bbb, ccc, ddd, eee, aaa, F5, KK1, in[3], 12); in 101 crypto/rmd320.c ROUND(aaa, bbb, ccc, ddd, eee, F5, KK1, in[12], 6); in 107 crypto/rmd320.c ROUND(ee, aa, bb, cc, dd, F2, K2, in[7], 7); in 108 crypto/rmd320.c ROUND(dd, ee, aa, bb, cc, F2, K2, in[4], 6); in 109 crypto/rmd320.c ROUND(cc, dd, ee, aa, bb, F2, K2, in[13], 8); in 110 crypto/rmd320.c ROUND(bb, cc, dd, ee, aa, F2, K2, in[1], 13); in 111 crypto/rmd320.c ROUND(aa, bb, cc, dd, ee, F2, K2, in[10], 11); in 112 crypto/rmd320.c ROUND(ee, aa, bb, cc, dd, F2, K2, in[6], 9); in 113 crypto/rmd320.c ROUND(dd, ee, aa, bb, cc, F2, K2, in[15], 7); in 114 crypto/rmd320.c ROUND(cc, dd, ee, aa, bb, F2, K2, in[3], 15); in 115 crypto/rmd320.c ROUND(bb, cc, dd, ee, aa, F2, K2, in[12], 7); in 116 crypto/rmd320.c ROUND(aa, bb, cc, dd, ee, F2, K2, in[0], 12); in 117 crypto/rmd320.c ROUND(ee, aa, bb, cc, dd, F2, K2, in[9], 15); in 118 crypto/rmd320.c ROUND(dd, ee, aa, bb, cc, F2, K2, in[5], 9); in 119 crypto/rmd320.c ROUND(cc, dd, ee, aa, bb, F2, K2, in[2], 11); in 120 crypto/rmd320.c ROUND(bb, cc, dd, ee, aa, F2, K2, in[14], 7); in 121 crypto/rmd320.c ROUND(aa, bb, cc, dd, ee, F2, K2, in[11], 13); in 122 crypto/rmd320.c ROUND(ee, aa, bb, cc, dd, F2, K2, in[8], 12); in 125 crypto/rmd320.c ROUND(eee, aaa, bbb, ccc, ddd, F4, KK2, in[6], 9); in 126 crypto/rmd320.c ROUND(ddd, eee, aaa, bbb, ccc, F4, KK2, in[11], 13); in 127 crypto/rmd320.c ROUND(ccc, ddd, eee, aaa, bbb, F4, KK2, in[3], 15); in 128 crypto/rmd320.c ROUND(bbb, ccc, ddd, eee, aaa, F4, KK2, in[7], 7); in 129 crypto/rmd320.c ROUND(aaa, bbb, ccc, ddd, eee, F4, KK2, in[0], 12); in 130 crypto/rmd320.c ROUND(eee, aaa, bbb, ccc, ddd, F4, KK2, in[13], 8); in 131 crypto/rmd320.c ROUND(ddd, eee, aaa, bbb, ccc, F4, KK2, in[5], 9); in 132 crypto/rmd320.c ROUND(ccc, ddd, eee, aaa, bbb, F4, KK2, in[10], 11); in 133 crypto/rmd320.c ROUND(bbb, ccc, ddd, eee, aaa, F4, KK2, in[14], 7); in 134 crypto/rmd320.c ROUND(aaa, bbb, ccc, ddd, eee, F4, KK2, in[15], 7); in 135 crypto/rmd320.c ROUND(eee, aaa, bbb, ccc, ddd, F4, KK2, in[8], 12); in 136 crypto/rmd320.c ROUND(ddd, eee, aaa, bbb, ccc, F4, KK2, in[12], 7); in 137 crypto/rmd320.c ROUND(ccc, ddd, eee, aaa, bbb, F4, KK2, in[4], 6); in 138 crypto/rmd320.c ROUND(bbb, ccc, ddd, eee, aaa, F4, KK2, in[9], 15); in 139 crypto/rmd320.c ROUND(aaa, bbb, ccc, ddd, eee, F4, KK2, in[1], 13); in 140 crypto/rmd320.c ROUND(eee, aaa, bbb, ccc, ddd, F4, KK2, in[2], 11); in 146 crypto/rmd320.c ROUND(dd, ee, aa, bb, cc, F3, K3, in[3], 11); in 147 crypto/rmd320.c ROUND(cc, dd, ee, aa, bb, F3, K3, in[10], 13); in 148 crypto/rmd320.c ROUND(bb, cc, dd, ee, aa, F3, K3, in[14], 6); in 149 crypto/rmd320.c ROUND(aa, bb, cc, dd, ee, F3, K3, in[4], 7); in 150 crypto/rmd320.c ROUND(ee, aa, bb, cc, dd, F3, K3, in[9], 14); in 151 crypto/rmd320.c ROUND(dd, ee, aa, bb, cc, F3, K3, in[15], 9); in 152 crypto/rmd320.c ROUND(cc, dd, ee, aa, bb, F3, K3, in[8], 13); in 153 crypto/rmd320.c ROUND(bb, cc, dd, ee, aa, F3, K3, in[1], 15); in 154 crypto/rmd320.c ROUND(aa, bb, cc, dd, ee, F3, K3, in[2], 14); in 155 crypto/rmd320.c ROUND(ee, aa, bb, cc, dd, F3, K3, in[7], 8); in 156 crypto/rmd320.c ROUND(dd, ee, aa, bb, cc, F3, K3, in[0], 13); in 157 crypto/rmd320.c ROUND(cc, dd, ee, aa, bb, F3, K3, in[6], 6); in 158 crypto/rmd320.c ROUND(bb, cc, dd, ee, aa, F3, K3, in[13], 5); in 159 crypto/rmd320.c ROUND(aa, bb, cc, dd, ee, F3, K3, in[11], 12); in 160 crypto/rmd320.c ROUND(ee, aa, bb, cc, dd, F3, K3, in[5], 7); in 161 crypto/rmd320.c ROUND(dd, ee, aa, bb, cc, F3, K3, in[12], 5); in 164 crypto/rmd320.c ROUND(ddd, eee, aaa, bbb, ccc, F3, KK3, in[15], 9); in 165 crypto/rmd320.c ROUND(ccc, ddd, eee, aaa, bbb, F3, KK3, in[5], 7); in 166 crypto/rmd320.c ROUND(bbb, ccc, ddd, eee, aaa, F3, KK3, in[1], 15); in 167 crypto/rmd320.c ROUND(aaa, bbb, ccc, ddd, eee, F3, KK3, in[3], 11); in 168 crypto/rmd320.c ROUND(eee, aaa, bbb, ccc, ddd, F3, KK3, in[7], 8); in 169 crypto/rmd320.c ROUND(ddd, eee, aaa, bbb, ccc, F3, KK3, in[14], 6); in 170 crypto/rmd320.c ROUND(ccc, ddd, eee, aaa, bbb, F3, KK3, in[6], 6); in 171 crypto/rmd320.c ROUND(bbb, ccc, ddd, eee, aaa, F3, KK3, in[9], 14); in 172 crypto/rmd320.c ROUND(aaa, bbb, ccc, ddd, eee, F3, KK3, in[11], 12); in 173 crypto/rmd320.c ROUND(eee, aaa, bbb, ccc, ddd, F3, KK3, in[8], 13); in 174 crypto/rmd320.c ROUND(ddd, eee, aaa, bbb, ccc, F3, KK3, in[12], 5); in 175 crypto/rmd320.c ROUND(ccc, ddd, eee, aaa, bbb, F3, KK3, in[2], 14); in 176 crypto/rmd320.c ROUND(bbb, ccc, ddd, eee, aaa, F3, KK3, in[10], 13); in 177 crypto/rmd320.c ROUND(aaa, bbb, ccc, ddd, eee, F3, KK3, in[0], 13); in 178 crypto/rmd320.c ROUND(eee, aaa, bbb, ccc, ddd, F3, KK3, in[4], 7); in 179 crypto/rmd320.c ROUND(ddd, eee, aaa, bbb, ccc, F3, KK3, in[13], 5); in 185 crypto/rmd320.c ROUND(cc, dd, ee, aa, bb, F4, K4, in[1], 11); in 186 crypto/rmd320.c ROUND(bb, cc, dd, ee, aa, F4, K4, in[9], 12); in 187 crypto/rmd320.c ROUND(aa, bb, cc, dd, ee, F4, K4, in[11], 14); in 188 crypto/rmd320.c ROUND(ee, aa, bb, cc, dd, F4, K4, in[10], 15); in 189 crypto/rmd320.c ROUND(dd, ee, aa, bb, cc, F4, K4, in[0], 14); in 190 crypto/rmd320.c ROUND(cc, dd, ee, aa, bb, F4, K4, in[8], 15); in 191 crypto/rmd320.c ROUND(bb, cc, dd, ee, aa, F4, K4, in[12], 9); in 192 crypto/rmd320.c ROUND(aa, bb, cc, dd, ee, F4, K4, in[4], 8); in 193 crypto/rmd320.c ROUND(ee, aa, bb, cc, dd, F4, K4, in[13], 9); in 194 crypto/rmd320.c ROUND(dd, ee, aa, bb, cc, F4, K4, in[3], 14); in 195 crypto/rmd320.c ROUND(cc, dd, ee, aa, bb, F4, K4, in[7], 5); in 196 crypto/rmd320.c ROUND(bb, cc, dd, ee, aa, F4, K4, in[15], 6); in 197 crypto/rmd320.c ROUND(aa, bb, cc, dd, ee, F4, K4, in[14], 8); in 198 crypto/rmd320.c ROUND(ee, aa, bb, cc, dd, F4, K4, in[5], 6); in 199 crypto/rmd320.c ROUND(dd, ee, aa, bb, cc, F4, K4, in[6], 5); in 200 crypto/rmd320.c ROUND(cc, dd, ee, aa, bb, F4, K4, in[2], 12); in 203 crypto/rmd320.c ROUND(ccc, ddd, eee, aaa, bbb, F2, KK4, in[8], 15); in 204 crypto/rmd320.c ROUND(bbb, ccc, ddd, eee, aaa, F2, KK4, in[6], 5); in 205 crypto/rmd320.c ROUND(aaa, bbb, ccc, ddd, eee, F2, KK4, in[4], 8); in 206 crypto/rmd320.c ROUND(eee, aaa, bbb, ccc, ddd, F2, KK4, in[1], 11); in 207 crypto/rmd320.c ROUND(ddd, eee, aaa, bbb, ccc, F2, KK4, in[3], 14); in 208 crypto/rmd320.c ROUND(ccc, ddd, eee, aaa, bbb, F2, KK4, in[11], 14); in 209 crypto/rmd320.c ROUND(bbb, ccc, ddd, eee, aaa, F2, KK4, in[15], 6); in 210 crypto/rmd320.c ROUND(aaa, bbb, ccc, ddd, eee, F2, KK4, in[0], 14); in 211 crypto/rmd320.c ROUND(eee, aaa, bbb, ccc, ddd, F2, KK4, in[5], 6); in 212 crypto/rmd320.c ROUND(ddd, eee, aaa, bbb, ccc, F2, KK4, in[12], 9); in 213 crypto/rmd320.c ROUND(ccc, ddd, eee, aaa, bbb, F2, KK4, in[2], 12); in 214 crypto/rmd320.c ROUND(bbb, ccc, ddd, eee, aaa, F2, KK4, in[13], 9); in 215 crypto/rmd320.c ROUND(aaa, bbb, ccc, ddd, eee, F2, KK4, in[9], 12); in 216 crypto/rmd320.c ROUND(eee, aaa, bbb, ccc, ddd, F2, KK4, in[7], 5); in 217 crypto/rmd320.c ROUND(ddd, eee, aaa, bbb, ccc, F2, KK4, in[10], 15); in 218 crypto/rmd320.c ROUND(ccc, ddd, eee, aaa, bbb, F2, KK4, in[14], 8); in 224 crypto/rmd320.c ROUND(bb, cc, dd, ee, aa, F5, K5, in[4], 9); in 225 crypto/rmd320.c ROUND(aa, bb, cc, dd, ee, F5, K5, in[0], 15); in 226 crypto/rmd320.c ROUND(ee, aa, bb, cc, dd, F5, K5, in[5], 5); in 227 crypto/rmd320.c ROUND(dd, ee, aa, bb, cc, F5, K5, in[9], 11); in 228 crypto/rmd320.c ROUND(cc, dd, ee, aa, bb, F5, K5, in[7], 6); in 229 crypto/rmd320.c ROUND(bb, cc, dd, ee, aa, F5, K5, in[12], 8); in 230 crypto/rmd320.c ROUND(aa, bb, cc, dd, ee, F5, K5, in[2], 13); in 231 crypto/rmd320.c ROUND(ee, aa, bb, cc, dd, F5, K5, in[10], 12); in 232 crypto/rmd320.c ROUND(dd, ee, aa, bb, cc, F5, K5, in[14], 5); in 233 crypto/rmd320.c ROUND(cc, dd, ee, aa, bb, F5, K5, in[1], 12); in 234 crypto/rmd320.c ROUND(bb, cc, dd, ee, aa, F5, K5, in[3], 13); in 235 crypto/rmd320.c ROUND(aa, bb, cc, dd, ee, F5, K5, in[8], 14); in 236 crypto/rmd320.c ROUND(ee, aa, bb, cc, dd, F5, K5, in[11], 11); in 237 crypto/rmd320.c ROUND(dd, ee, aa, bb, cc, F5, K5, in[6], 8); in 238 crypto/rmd320.c ROUND(cc, dd, ee, aa, bb, F5, K5, in[15], 5); in 239 crypto/rmd320.c ROUND(bb, cc, dd, ee, aa, F5, K5, in[13], 6); in 242 crypto/rmd320.c ROUND(bbb, ccc, ddd, eee, aaa, F1, KK5, in[12], 8); in 243 crypto/rmd320.c ROUND(aaa, bbb, ccc, ddd, eee, F1, KK5, in[15], 5); in 244 crypto/rmd320.c ROUND(eee, aaa, bbb, ccc, ddd, F1, KK5, in[10], 12); in 245 crypto/rmd320.c ROUND(ddd, eee, aaa, bbb, ccc, F1, KK5, in[4], 9); in 246 crypto/rmd320.c ROUND(ccc, ddd, eee, aaa, bbb, F1, KK5, in[1], 12); in 247 crypto/rmd320.c ROUND(bbb, ccc, ddd, eee, aaa, F1, KK5, in[5], 5); in 248 crypto/rmd320.c ROUND(aaa, bbb, ccc, ddd, eee, F1, KK5, in[8], 14); in 249 crypto/rmd320.c ROUND(eee, aaa, bbb, ccc, ddd, F1, KK5, in[7], 6); in 250 crypto/rmd320.c ROUND(ddd, eee, aaa, bbb, ccc, F1, KK5, in[6], 8); in 251 crypto/rmd320.c ROUND(ccc, ddd, eee, aaa, bbb, F1, KK5, in[2], 13); in 252 crypto/rmd320.c ROUND(bbb, ccc, ddd, eee, aaa, F1, KK5, in[13], 6); in 253 crypto/rmd320.c ROUND(aaa, bbb, ccc, ddd, eee, F1, KK5, in[14], 5); in 254 crypto/rmd320.c ROUND(eee, aaa, bbb, ccc, ddd, F1, KK5, in[0], 15); in 255 crypto/rmd320.c ROUND(ddd, eee, aaa, bbb, ccc, F1, KK5, in[3], 13); in 256 crypto/rmd320.c ROUND(ccc, ddd, eee, aaa, bbb, F1, KK5, in[9], 11); in 257 crypto/rmd320.c ROUND(bbb, ccc, ddd, eee, aaa, F1, KK5, in[11], 11); in 364 crypto/seed.c static void seed_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in 367 crypto/seed.c const __be32 *src = (const __be32 *)in; in 402 crypto/seed.c static void seed_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in 405 crypto/seed.c const __be32 *src = (const __be32 *)in; in 216 crypto/shash.c static int shash_default_import(struct shash_desc *desc, const void *in) in 218 crypto/shash.c memcpy(shash_desc_ctx(desc), in, crypto_shash_descsize(desc->tfm)); in 333 crypto/shash.c static int shash_async_import(struct ahash_request *req, const void *in) in 340 crypto/shash.c return crypto_shash_import(desc, in); in 60 crypto/skcipher.c walk->src.virt.addr = skcipher_map(&walk->in); in 70 crypto/skcipher.c skcipher_unmap(&walk->in, walk->src.virt.addr); in 150 crypto/skcipher.c scatterwalk_advance(&walk->in, n); in 152 crypto/skcipher.c scatterwalk_done(&walk->in, 0, nbytes); in 277 crypto/skcipher.c scatterwalk_copychunks(walk->src.virt.addr, &walk->in, bsize, 0); in 321 crypto/skcipher.c walk->src.phys.page = scatterwalk_page(&walk->in); in 322 crypto/skcipher.c walk->src.phys.offset = offset_in_page(walk->in.offset); in 354 crypto/skcipher.c n = scatterwalk_clamp(&walk->in, n); in 366 crypto/skcipher.c if (unlikely((walk->in.offset | walk->out.offset) & walk->alignmask)) { in 461 crypto/skcipher.c scatterwalk_start(&walk->in, req->src); in 525 crypto/skcipher.c scatterwalk_start(&walk->in, req->src); in 528 crypto/skcipher.c scatterwalk_copychunks(NULL, &walk->in, req->assoclen, 2); in 531 crypto/skcipher.c scatterwalk_done(&walk->in, 0, walk->total); in 172 crypto/sm4_generic.c static void sm4_do_crypt(const u32 *rk, u32 *out, const u32 *in) in 177 crypto/sm4_generic.c x[i] = get_unaligned_be32(&in[i]); in 193 crypto/sm4_generic.c void crypto_sm4_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in 197 crypto/sm4_generic.c sm4_do_crypt(ctx->rkey_enc, (u32 *)out, (u32 *)in); in 203 crypto/sm4_generic.c void crypto_sm4_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in 207 crypto/sm4_generic.c sm4_do_crypt(ctx->rkey_dec, (u32 *)out, (u32 *)in); in 62 crypto/tea.c const __le32 *in = (const __le32 *)src; in 65 crypto/tea.c y = le32_to_cpu(in[0]); in 66 crypto/tea.c z = le32_to_cpu(in[1]); in 90 crypto/tea.c const __le32 *in = (const __le32 *)src; in 93 crypto/tea.c y = le32_to_cpu(in[0]); in 94 crypto/tea.c z = le32_to_cpu(in[1]); in 135 crypto/tea.c const __le32 *in = (const __le32 *)src; in 138 crypto/tea.c y = le32_to_cpu(in[0]); in 139 crypto/tea.c z = le32_to_cpu(in[1]); in 155 crypto/tea.c const __le32 *in = (const __le32 *)src; in 158 crypto/tea.c y = le32_to_cpu(in[0]); in 159 crypto/tea.c z = le32_to_cpu(in[1]); in 179 crypto/tea.c const __le32 *in = (const __le32 *)src; in 182 crypto/tea.c y = le32_to_cpu(in[0]); in 183 crypto/tea.c z = le32_to_cpu(in[1]); in 199 crypto/tea.c const __le32 *in = (const __le32 *)src; in 202 crypto/tea.c y = le32_to_cpu(in[0]); in 203 crypto/tea.c z = le32_to_cpu(in[1]); in 999 crypto/testmgr.c const char *in = algname; in 1006 crypto/testmgr.c const char *in_saved = in; in 1008 crypto/testmgr.c while (*in && *in != '(' && *in != ')' && *in != ',') in 1009 crypto/testmgr.c *out++ = *in++; in 1010 crypto/testmgr.c if (*in != '(' && in > in_saved) { in 1017 crypto/testmgr.c } while ((*out++ = *in++) != '\0'); in 95 crypto/twofish_generic.c static void twofish_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in 98 crypto/twofish_generic.c const __le32 *src = (const __le32 *)in; in 132 crypto/twofish_generic.c static void twofish_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in 135 crypto/twofish_generic.c const __le32 *src = (const __le32 *)in; in 434 crypto/vmac.c u8 in[16] = { 0 }; in 448 crypto/vmac.c in[0] = 0x80; in 450 crypto/vmac.c crypto_cipher_encrypt_one(tctx->cipher, (u8 *)out, in); in 453 crypto/vmac.c in[15]++; in 457 crypto/vmac.c in[0] = 0xC0; in 458 crypto/vmac.c in[15] = 0; in 460 crypto/vmac.c crypto_cipher_encrypt_one(tctx->cipher, (u8 *)out, in); in 463 crypto/vmac.c in[15]++; in 467 crypto/vmac.c in[0] = 0xE0; in 468 crypto/vmac.c in[15] = 0; in 471 crypto/vmac.c crypto_cipher_encrypt_one(tctx->cipher, (u8 *)out, in); in 474 crypto/vmac.c in[15]++; in 19 drivers/acpi/acpica/rsxface.c #define ACPI_COPY_FIELD(out, in, field) ((out)->field = (in)->field) in 20 drivers/acpi/acpica/rsxface.c #define ACPI_COPY_ADDRESS(out, in) \ in 21 drivers/acpi/acpica/rsxface.c ACPI_COPY_FIELD(out, in, resource_type); \ in 22 drivers/acpi/acpica/rsxface.c ACPI_COPY_FIELD(out, in, producer_consumer); \ in 23 drivers/acpi/acpica/rsxface.c ACPI_COPY_FIELD(out, in, decode); \ in 24 drivers/acpi/acpica/rsxface.c ACPI_COPY_FIELD(out, in, min_address_fixed); \ in 25 drivers/acpi/acpica/rsxface.c ACPI_COPY_FIELD(out, in, max_address_fixed); \ in 26 drivers/acpi/acpica/rsxface.c ACPI_COPY_FIELD(out, in, info); \ in 27 drivers/acpi/acpica/rsxface.c ACPI_COPY_FIELD(out, in, address.granularity); \ in 28 drivers/acpi/acpica/rsxface.c ACPI_COPY_FIELD(out, in, address.minimum); \ in 29 drivers/acpi/acpica/rsxface.c ACPI_COPY_FIELD(out, in, address.maximum); \ in 30 drivers/acpi/acpica/rsxface.c ACPI_COPY_FIELD(out, in, address.translation_offset); \ in 31 drivers/acpi/acpica/rsxface.c ACPI_COPY_FIELD(out, in, address.address_length); \ in 32 drivers/acpi/acpica/rsxface.c ACPI_COPY_FIELD(out, in, resource_source); in 95 drivers/acpi/acpica/utmisc.c } in; in 99 drivers/acpi/acpica/utmisc.c in.value = value; in 101 drivers/acpi/acpica/utmisc.c out.bytes[0] = in.bytes[3]; in 102 drivers/acpi/acpica/utmisc.c out.bytes[1] = in.bytes[2]; in 103 drivers/acpi/acpica/utmisc.c out.bytes[2] = in.bytes[1]; in 104 drivers/acpi/acpica/utmisc.c out.bytes[3] = in.bytes[0]; in 556 drivers/atm/ambassador.c my_slot = ptrs->in; in 562 drivers/atm/ambassador.c *ptrs->in = *cmd; in 564 drivers/atm/ambassador.c ptrs->in = NEXTQ (ptrs->in, ptrs->start, ptrs->limit); in 567 drivers/atm/ambassador.c wr_mem (dev, offsetof(amb_mem, mb.adapter.cmd_address), virt_to_bus (ptrs->in)); in 624 drivers/atm/ambassador.c PRINTD (DBG_TX, "TX in slot %p", txq->in.ptr); in 626 drivers/atm/ambassador.c *txq->in.ptr = *tx; in 628 drivers/atm/ambassador.c txq->in.ptr = NEXTQ (txq->in.ptr, txq->in.start, txq->in.limit); in 630 drivers/atm/ambassador.c wr_mem (dev, offsetof(amb_mem, mb.adapter.tx_address), virt_to_bus (txq->in.ptr)); in 681 drivers/atm/ambassador.c PRINTD (DBG_RX, "RX in slot %p", rxq->in.ptr); in 683 drivers/atm/ambassador.c *rxq->in.ptr = *rx; in 685 drivers/atm/ambassador.c rxq->in.ptr = NEXTQ (rxq->in.ptr, rxq->in.start, rxq->in.limit); in 687 drivers/atm/ambassador.c wr_mem (dev, offsetof(amb_mem, mb.adapter.rx_address[pool]), virt_to_bus (rxq->in.ptr)); in 1537 drivers/atm/ambassador.c cq->ptrs.in = cmd; in 1547 drivers/atm/ambassador.c tx_in * in = memory; in 1556 drivers/atm/ambassador.c txq->in.start = in; in 1557 drivers/atm/ambassador.c txq->in.ptr = in; in 1558 drivers/atm/ambassador.c txq->in.limit = in + txs; in 1560 drivers/atm/ambassador.c memory = txq->in.limit; in 1573 drivers/atm/ambassador.c rx_in * in = memory; in 1585 drivers/atm/ambassador.c rxq->in.start = in; in 1586 drivers/atm/ambassador.c rxq->in.ptr = in; in 1587 drivers/atm/ambassador.c rxq->in.limit = in + rxs[pool]; in 1589 drivers/atm/ambassador.c memory = rxq->in.limit; in 1981 drivers/atm/ambassador.c a.tx_start = bus_addr (dev->txq.in.start); in 1982 drivers/atm/ambassador.c a.tx_end = bus_addr (dev->txq.in.limit); in 1988 drivers/atm/ambassador.c a.rec_struct[pool].buffer_start = bus_addr (dev->rxq[pool].in.start); in 1989 drivers/atm/ambassador.c a.rec_struct[pool].buffer_end = bus_addr (dev->rxq[pool].in.limit); in 530 drivers/atm/ambassador.h command * in; in 554 drivers/atm/ambassador.h } in; in 572 drivers/atm/ambassador.h } in; in 1441 drivers/auxdisplay/panel.c int in, out, bit, neg; in 1448 drivers/auxdisplay/panel.c in = idx - sigtab; in 1449 drivers/auxdisplay/panel.c neg = (in & 1); /* odd (lower) names are negated */ in 1450 drivers/auxdisplay/panel.c in >>= 1; in 1451 drivers/auxdisplay/panel.c im |= BIT(in); in 1463 drivers/auxdisplay/panel.c bit = (out * 5) + in; in 366 drivers/base/firmware_loader/main.c xz_buf.in = in_buffer; in 394 drivers/base/firmware_loader/main.c xz_buf.in = in_buffer; in 38 drivers/base/regmap/regmap-i3c.c xfers[1].data.in = val; in 204 drivers/bcma/sprom.c static s8 sprom_extract_antgain(const u16 *in, u16 offset, u16 mask, u16 shift) in 209 drivers/bcma/sprom.c v = in[SPOFF(offset)]; in 134 drivers/block/drbd/drbd_vli.h static inline int vli_decode_bits(u64 *out, const u64 in) in 140 drivers/block/drbd/drbd_vli.h if ((in & ((1 << b) -1)) == v) { \ in 141 drivers/block/drbd/drbd_vli.h *out = ((in & ((~0ULL) >> (64-t))) >> b) + adj; \ in 156 drivers/block/drbd/drbd_vli.h static inline int __vli_encode_bits(u64 *out, const u64 in) in 161 drivers/block/drbd/drbd_vli.h if (in == 0) in 166 drivers/block/drbd/drbd_vli.h if (in <= max) { \ in 168 drivers/block/drbd/drbd_vli.h *out = ((in - adj) << b) | v; \ in 328 drivers/block/drbd/drbd_vli.h static inline int vli_encode_bits(struct bitstream *bs, u64 in) in 331 drivers/block/drbd/drbd_vli.h int bits = __vli_encode_bits(&code, in); in 99 drivers/block/loop.c char *in, *out, *key; in 103 drivers/block/loop.c in = raw_buf; in 106 drivers/block/loop.c in = loop_buf; in 113 drivers/block/loop.c *out++ = *in++ ^ key[(i & 511) % keysize]; in 224 drivers/block/xsysace.c u16(*in) (struct ace_device * ace, int reg); in 265 drivers/block/xsysace.c .in = ace_in_8, in 330 drivers/block/xsysace.c .in = ace_in_be16, in 337 drivers/block/xsysace.c .in = ace_in_le16, in 345 drivers/block/xsysace.c return ace->reg_ops->in(ace, reg); in 337 drivers/bus/hisi_lpc.c .in = hisi_lpc_comm_in, in 1779 drivers/char/ipmi/ipmi_si_intf.c void *in) in 1781 drivers/char/ipmi/ipmi_si_intf.c struct smi_info *smi_info = in; in 588 drivers/char/random.c static void _mix_pool_bytes(struct entropy_store *r, const void *in, in 594 drivers/char/random.c const char *bytes = in; in 635 drivers/char/random.c static void __mix_pool_bytes(struct entropy_store *r, const void *in, in 639 drivers/char/random.c _mix_pool_bytes(r, in, nbytes); in 642 drivers/char/random.c static void mix_pool_bytes(struct entropy_store *r, const void *in, in 649 drivers/char/random.c _mix_pool_bytes(r, in, nbytes); in 54 drivers/char/tpm/tpm_tis_spi.c u8 *in, const u8 *out) in 68 drivers/char/tpm/tpm_tis_spi.c phy->iobuf[0] = (in ? 0x80 : 0) | (transfer_len - 1); in 110 drivers/char/tpm/tpm_tis_spi.c if (in) { in 124 drivers/char/tpm/tpm_tis_spi.c if (in) { in 125 drivers/char/tpm/tpm_tis_spi.c memcpy(in, phy->iobuf, transfer_len); in 126 drivers/char/tpm/tpm_tis_spi.c in += transfer_len; in 1232 drivers/crypto/atmel-sha.c static int atmel_sha_import(struct ahash_request *req, const void *in) in 1236 drivers/crypto/atmel-sha.c memcpy(ctx, in, sizeof(*ctx)); in 507 drivers/crypto/atmel-tdes.c int err, fast = 0, in, out; in 513 drivers/crypto/atmel-tdes.c in = IS_ALIGNED((u32)dd->in_sg->offset, sizeof(u32)) && in 517 drivers/crypto/atmel-tdes.c fast = in && out; in 240 drivers/crypto/axis/artpec6_crypto.c struct pdma_descr in[PDMA_DESCR_COUNT] __aligned(64); in 649 drivers/crypto/axis/artpec6_crypto.c ret = artpec6_crypto_dma_map_single(common, dma->in, in 650 drivers/crypto/axis/artpec6_crypto.c sizeof(dma->in[0]) * dma->in_cnt, in 747 drivers/crypto/axis/artpec6_crypto.c d = &dma->in[dma->in_cnt++]; in 986 drivers/crypto/axis/artpec6_crypto.c d = &dma->in[dma->in_cnt-1]; in 2470 drivers/crypto/axis/artpec6_crypto.c static int artpec6_crypto_hash_import(struct ahash_request *req, const void *in) in 2473 drivers/crypto/axis/artpec6_crypto.c const struct artpec6_hash_export_state *state = in; in 2505 drivers/crypto/axis/artpec6_crypto.c u32 in, out; in 2529 drivers/crypto/axis/artpec6_crypto.c in = FIELD_PREP(PDMA_IN_BUF_CFG_DATA_BUF_SIZE, in_data_buf_size) | in 2540 drivers/crypto/axis/artpec6_crypto.c writel_relaxed(in, base + A6_PDMA_IN_BUF_CFG); in 2546 drivers/crypto/axis/artpec6_crypto.c writel_relaxed(in, base + A7_PDMA_IN_BUF_CFG); in 2364 drivers/crypto/bcm/cipher.c static int ahash_import(struct ahash_request *req, const void *in) in 2367 drivers/crypto/bcm/cipher.c struct spu_hash_export_s *spu_exp = (struct spu_hash_export_s *)in; in 4345 drivers/crypto/caam/caamalg_qi2.c static int ahash_import(struct ahash_request *req, const void *in) in 4348 drivers/crypto/caam/caamalg_qi2.c const struct caam_export_state *export = in; in 1605 drivers/crypto/caam/caamhash.c static int ahash_import(struct ahash_request *req, const void *in) in 1608 drivers/crypto/caam/caamhash.c const struct caam_export_state *export = in; in 321 drivers/crypto/caam/desc_constr.h APPEND_SEQ_PTR_INTLEN(in, IN) in 39 drivers/crypto/cavium/cpt/cptvf_algs.c req_info->in[*argcnt].vptr = (void *)iv; in 40 drivers/crypto/cavium/cpt/cptvf_algs.c req_info->in[*argcnt].size = enc_iv_len; in 68 drivers/crypto/cavium/cpt/cptvf_algs.c req_info->in[*argcnt].vptr = (void *)ptr; in 69 drivers/crypto/cavium/cpt/cptvf_algs.c req_info->in[*argcnt].size = len; in 136 drivers/crypto/cavium/cpt/cptvf_algs.c req_info->in[*argcnt].vptr = (u8 *)offset_control; in 137 drivers/crypto/cavium/cpt/cptvf_algs.c req_info->in[*argcnt].size = CONTROL_WORD_LEN; in 141 drivers/crypto/cavium/cpt/cptvf_algs.c req_info->in[*argcnt].vptr = (u8 *)fctx; in 142 drivers/crypto/cavium/cpt/cptvf_algs.c req_info->in[*argcnt].size = sizeof(struct fc_context); in 142 drivers/crypto/cavium/cpt/cptvf_reqmanager.c ret = setup_sgio_components(cptvf, req->in, in 300 drivers/crypto/cavium/cpt/cptvf_reqmanager.c if (req->in[i].dma_addr) in 302 drivers/crypto/cavium/cpt/cptvf_reqmanager.c req->in[i].dma_addr, in 303 drivers/crypto/cavium/cpt/cptvf_reqmanager.c req->in[i].size, in 65 drivers/crypto/cavium/cpt/request_manager.h struct buf_ptr in[MAX_BUF_CNT]; in 517 drivers/crypto/cavium/nitrox/nitrox_req.h struct nitrox_sgtable in; in 60 drivers/crypto/cavium/nitrox/nitrox_reqmgr.c dma_unmap_sg(dev, sr->in.sg, sr->in.sgmap_cnt, DMA_BIDIRECTIONAL); in 61 drivers/crypto/cavium/nitrox/nitrox_reqmgr.c dma_unmap_single(dev, sr->in.sgcomp_dma, sr->in.sgcomp_len, in 63 drivers/crypto/cavium/nitrox/nitrox_reqmgr.c kfree(sr->in.sgcomp); in 64 drivers/crypto/cavium/nitrox/nitrox_reqmgr.c sr->in.sg = NULL; in 65 drivers/crypto/cavium/nitrox/nitrox_reqmgr.c sr->in.sgmap_cnt = 0; in 169 drivers/crypto/cavium/nitrox/nitrox_reqmgr.c sr->in.total_bytes += sg_dma_len(sg); in 171 drivers/crypto/cavium/nitrox/nitrox_reqmgr.c sr->in.sg = req->src; in 172 drivers/crypto/cavium/nitrox/nitrox_reqmgr.c sr->in.sgmap_cnt = nents; in 173 drivers/crypto/cavium/nitrox/nitrox_reqmgr.c ret = create_sg_component(sr, &sr->in, sr->in.sgmap_cnt); in 181 drivers/crypto/cavium/nitrox/nitrox_reqmgr.c sr->in.sgmap_cnt = 0; in 442 drivers/crypto/cavium/nitrox/nitrox_reqmgr.c sr->instr.dptr0 = cpu_to_be64(sr->in.sgcomp_dma); in 447 drivers/crypto/cavium/nitrox/nitrox_reqmgr.c sr->instr.ih.s.gsz = sr->in.sgmap_cnt; in 450 drivers/crypto/cavium/nitrox/nitrox_reqmgr.c sr->instr.ih.s.tlen = sr->instr.ih.s.fsz + sr->in.total_bytes; in 239 drivers/crypto/ccp/ccp-crypto-aes-cmac.c static int ccp_aes_cmac_import(struct ahash_request *req, const void *in) in 245 drivers/crypto/ccp/ccp-crypto-aes-cmac.c memcpy(&state, in, sizeof(state)); in 251 drivers/crypto/ccp/ccp-crypto-sha.c static int ccp_sha_import(struct ahash_request *req, const void *in) in 257 drivers/crypto/ccp/ccp-crypto-sha.c memcpy(&state, in, sizeof(state)); in 1526 drivers/crypto/ccree/cc_hash.c static int cc_hash_import(struct ahash_request *req, const void *in) in 1534 drivers/crypto/ccree/cc_hash.c memcpy(&tmp, in, sizeof(u32)); in 1537 drivers/crypto/ccree/cc_hash.c in += sizeof(u32); in 1541 drivers/crypto/ccree/cc_hash.c memcpy(state->digest_buff, in, ctx->inter_digestsize); in 1542 drivers/crypto/ccree/cc_hash.c in += ctx->inter_digestsize; in 1544 drivers/crypto/ccree/cc_hash.c memcpy(state->digest_bytes_len, in, ctx->hash_len); in 1545 drivers/crypto/ccree/cc_hash.c in += ctx->hash_len; in 1548 drivers/crypto/ccree/cc_hash.c memcpy(&tmp, in, sizeof(u32)); in 1551 drivers/crypto/ccree/cc_hash.c in += sizeof(u32); in 1554 drivers/crypto/ccree/cc_hash.c memcpy(state->buffers[0], in, tmp); in 2083 drivers/crypto/chelsio/chcr_algo.c static int chcr_ahash_import(struct ahash_request *areq, const void *in) in 2086 drivers/crypto/chelsio/chcr_algo.c struct chcr_ahash_req_ctx *state = (struct chcr_ahash_req_ctx *)in; in 179 drivers/crypto/geode-aes.c geode_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in 184 drivers/crypto/geode-aes.c crypto_cipher_encrypt_one(tctx->fallback.cip, out, in); in 188 drivers/crypto/geode-aes.c geode_aes_crypt(tctx, in, out, AES_BLOCK_SIZE, NULL, in 194 drivers/crypto/geode-aes.c geode_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in 199 drivers/crypto/geode-aes.c crypto_cipher_decrypt_one(tctx->fallback.cip, out, in); in 203 drivers/crypto/geode-aes.c geode_aes_crypt(tctx, in, out, AES_BLOCK_SIZE, NULL, in 376 drivers/crypto/hisilicon/sec/sec_algs.c sec_free_hw_sgl(el->in, el->dma_in, info); in 670 drivers/crypto/hisilicon/sec/sec_algs.c ret = sec_alloc_and_fill_hw_sgl(&el->in, &el->dma_in, el->sgl_in, in 699 drivers/crypto/hisilicon/sec/sec_algs.c sec_free_hw_sgl(el->in, el->dma_in, info); in 305 drivers/crypto/hisilicon/sec/sec_drv.h struct sec_hw_sgl *in; in 590 drivers/crypto/img-hash.c static int img_hash_import(struct ahash_request *req, const void *in) in 600 drivers/crypto/img-hash.c return crypto_ahash_import(&rctx->fallback_req, in); in 764 drivers/crypto/inside-secure/safexcel_hash.c static int safexcel_ahash_import(struct ahash_request *areq, const void *in) in 767 drivers/crypto/inside-secure/safexcel_hash.c const struct safexcel_ahash_export_state *export = in; in 883 drivers/crypto/marvell/hash.c static int mv_cesa_md5_import(struct ahash_request *req, const void *in) in 885 drivers/crypto/marvell/hash.c const struct md5_state *in_state = in; in 953 drivers/crypto/marvell/hash.c static int mv_cesa_sha1_import(struct ahash_request *req, const void *in) in 955 drivers/crypto/marvell/hash.c const struct sha1_state *in_state = in; in 1037 drivers/crypto/marvell/hash.c static int mv_cesa_sha256_import(struct ahash_request *req, const void *in) in 1039 drivers/crypto/marvell/hash.c const struct sha256_state *in_state = in; in 840 drivers/crypto/mediatek/mtk-sha.c static int mtk_sha_import(struct ahash_request *req, const void *in) in 844 drivers/crypto/mediatek/mtk-sha.c memcpy(ctx, in, sizeof(*ctx)); in 815 drivers/crypto/mxs-dcp.c static int dcp_sha_import(struct ahash_request *req, const void *in) in 820 drivers/crypto/mxs-dcp.c const struct dcp_export_state *export = in; in 363 drivers/crypto/n2_core.c static int n2_hash_async_noimport(struct ahash_request *req, const void *in) in 64 drivers/crypto/nx/nx-842-powernv.c static int (*nx842_powernv_exec)(const unsigned char *in, in 116 drivers/crypto/nx/nx-842-powernv.c bool in) in 123 drivers/crypto/nx/nx-842-powernv.c in ? "input" : "output", pa, DDE_BUFFER_ALIGN); in 134 drivers/crypto/nx/nx-842-powernv.c in ? "input" : "output", len, DDE_BUFFER_LAST_MULT); in 135 drivers/crypto/nx/nx-842-powernv.c if (in) in 157 drivers/crypto/nx/nx-842-powernv.c total_len, in ? "input" : "output", len); in 158 drivers/crypto/nx/nx-842-powernv.c if (in) in 384 drivers/crypto/nx/nx-842-powernv.c static int nx842_config_crb(const unsigned char *in, unsigned int inlen, in 401 drivers/crypto/nx/nx-842-powernv.c (unsigned char *)in, inlen, true); in 449 drivers/crypto/nx/nx-842-powernv.c static int nx842_exec_icswx(const unsigned char *in, unsigned int inlen, in 470 drivers/crypto/nx/nx-842-powernv.c ret = nx842_config_crb(in, inlen, out, outlen, wmem); in 552 drivers/crypto/nx/nx-842-powernv.c static int nx842_exec_vas(const unsigned char *in, unsigned int inlen, in 571 drivers/crypto/nx/nx-842-powernv.c ret = nx842_config_crb(in, inlen, out, outlen, wmem); in 633 drivers/crypto/nx/nx-842-powernv.c static int nx842_powernv_compress(const unsigned char *in, unsigned int inlen, in 637 drivers/crypto/nx/nx-842-powernv.c return nx842_powernv_exec(in, inlen, out, outlenp, in 661 drivers/crypto/nx/nx-842-powernv.c static int nx842_powernv_decompress(const unsigned char *in, unsigned int inlen, in 665 drivers/crypto/nx/nx-842-powernv.c return nx842_powernv_exec(in, inlen, out, outlenp, in 29 drivers/crypto/nx/nx-842-pseries.c static int check_constraints(unsigned long buf, unsigned int *len, bool in) in 33 drivers/crypto/nx/nx-842-pseries.c in ? "input" : "output", buf, in 39 drivers/crypto/nx/nx-842-pseries.c in ? "input" : "output", *len, in 41 drivers/crypto/nx/nx-842-pseries.c if (in) in 47 drivers/crypto/nx/nx-842-pseries.c in ? "input" : "output", *len, in 53 drivers/crypto/nx/nx-842-pseries.c in ? "input" : "output", *len, in 55 drivers/crypto/nx/nx-842-pseries.c if (in) in 277 drivers/crypto/nx/nx-842-pseries.c static int nx842_pseries_compress(const unsigned char *in, unsigned int inlen, in 295 drivers/crypto/nx/nx-842-pseries.c inbuf = (unsigned long)in; in 325 drivers/crypto/nx/nx-842-pseries.c op.in = nx842_get_pa((void *)inbuf); in 330 drivers/crypto/nx/nx-842-pseries.c op.in = nx842_get_pa(slin.entries); in 347 drivers/crypto/nx/nx-842-pseries.c __func__, (unsigned long)op.in, (long)op.inlen, in 407 drivers/crypto/nx/nx-842-pseries.c static int nx842_pseries_decompress(const unsigned char *in, unsigned int inlen, in 426 drivers/crypto/nx/nx-842-pseries.c inbuf = (unsigned long)in; in 457 drivers/crypto/nx/nx-842-pseries.c op.in = nx842_get_pa((void *)inbuf); in 462 drivers/crypto/nx/nx-842-pseries.c op.in = nx842_get_pa(slin.entries); in 479 drivers/crypto/nx/nx-842-pseries.c __func__, (unsigned long)op.in, (long)op.inlen, in 80 drivers/crypto/nx/nx-842.c u8 *in; in 95 drivers/crypto/nx/nx-842.c p->in += slen; in 167 drivers/crypto/nx/nx-842.c u8 *src = p->in, *dst = p->out; in 264 drivers/crypto/nx/nx-842.c p.in = (u8 *)src; in 282 drivers/crypto/nx/nx-842.c (u64)p.in % c.alignment || in 345 drivers/crypto/nx/nx-842.c u8 *src = p->in, *dst = p->out; in 402 drivers/crypto/nx/nx-842.c src = p->in + padding; in 445 drivers/crypto/nx/nx-842.c p.in = (u8 *)src; in 145 drivers/crypto/nx/nx-842.h int (*compress)(const unsigned char *in, unsigned int in_len, in 148 drivers/crypto/nx/nx-842.h int (*decompress)(const unsigned char *in, unsigned int in_len, in 255 drivers/crypto/nx/nx-sha256.c static int nx_sha256_import(struct shash_desc *desc, const void *in) in 259 drivers/crypto/nx/nx-sha256.c memcpy(sctx, in, sizeof(*sctx)); in 261 drivers/crypto/nx/nx-sha512.c static int nx_sha512_import(struct shash_desc *desc, const void *in) in 265 drivers/crypto/nx/nx-sha512.c memcpy(sctx, in, sizeof(*sctx)); in 313 drivers/crypto/nx/nx.c nx_ctx->op.in = __pa(nx_ctx->in_sg); in 321 drivers/crypto/nx/nx.c nx_ctx->op_aead.in = __pa(nx_ctx->in_sg); in 894 drivers/crypto/omap-aes.c BUG_ON(_calc_walked(in) > dd->in_sg->length); in 896 drivers/crypto/omap-aes.c src = sg_virt(dd->in_sg) + _calc_walked(in); in 902 drivers/crypto/omap-aes.c if (dd->in_sg->length == _calc_walked(in)) { in 908 drivers/crypto/omap-aes.c _calc_walked(in); in 865 drivers/crypto/omap-des.c BUG_ON(_calc_walked(in) > dd->in_sg->length); in 867 drivers/crypto/omap-des.c src = sg_virt(dd->in_sg) + _calc_walked(in); in 873 drivers/crypto/omap-des.c if (dd->in_sg->length == _calc_walked(in)) { in 879 drivers/crypto/omap-des.c _calc_walked(in); in 324 drivers/crypto/omap-sham.c u32 *in = (u32 *)ctx->digest; in 359 drivers/crypto/omap-sham.c hash[i] = be32_to_cpu(in[i]); in 362 drivers/crypto/omap-sham.c hash[i] = le32_to_cpu(in[i]); in 1440 drivers/crypto/omap-sham.c static int omap_sham_import(struct ahash_request *req, const void *in) in 1443 drivers/crypto/omap-sham.c const struct omap_sham_reqctx *ctx_in = in; in 1445 drivers/crypto/omap-sham.c memcpy(rctx, in, sizeof(*rctx) + ctx_in->bufcnt); in 208 drivers/crypto/padlock-aes.c static void ecb_crypt_copy(const u8 *in, u8 *out, u32 *key, in 218 drivers/crypto/padlock-aes.c memcpy(tmp, in, count * AES_BLOCK_SIZE); in 222 drivers/crypto/padlock-aes.c static u8 *cbc_crypt_copy(const u8 *in, u8 *out, u32 *key, in 232 drivers/crypto/padlock-aes.c memcpy(tmp, in, count * AES_BLOCK_SIZE); in 236 drivers/crypto/padlock-aes.c static inline void ecb_crypt(const u8 *in, u8 *out, u32 *key, in 242 drivers/crypto/padlock-aes.c if (unlikely(offset_in_page(in) + ecb_fetch_bytes > PAGE_SIZE)) { in 243 drivers/crypto/padlock-aes.c ecb_crypt_copy(in, out, key, cword, count); in 247 drivers/crypto/padlock-aes.c rep_xcrypt_ecb(in, out, key, cword, count); in 250 drivers/crypto/padlock-aes.c static inline u8 *cbc_crypt(const u8 *in, u8 *out, u32 *key, in 254 drivers/crypto/padlock-aes.c if (unlikely(offset_in_page(in) + cbc_fetch_bytes > PAGE_SIZE)) in 255 drivers/crypto/padlock-aes.c return cbc_crypt_copy(in, out, key, iv, cword, count); in 257 drivers/crypto/padlock-aes.c return rep_xcrypt_cbc(in, out, key, iv, cword, count); in 303 drivers/crypto/padlock-aes.c static void padlock_aes_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in 308 drivers/crypto/padlock-aes.c ecb_crypt(in, out, ctx->E, &ctx->cword.encrypt, 1); in 312 drivers/crypto/padlock-aes.c static void padlock_aes_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in 317 drivers/crypto/padlock-aes.c ecb_crypt(in, out, ctx->D, &ctx->cword.decrypt, 1); in 55 drivers/crypto/padlock-sha.c static int padlock_sha_import(struct shash_desc *desc, const void *in) in 61 drivers/crypto/padlock-sha.c return crypto_shash_import(&dctx->fallback, in); in 71 drivers/crypto/padlock-sha.c static int padlock_sha1_finup(struct shash_desc *desc, const u8 *in, in 91 drivers/crypto/padlock-sha.c return crypto_shash_finup(&dctx->fallback, in, count, out); in 97 drivers/crypto/padlock-sha.c err = crypto_shash_update(&dctx->fallback, in, space) ?: in 102 drivers/crypto/padlock-sha.c in += space; in 104 drivers/crypto/padlock-sha.c memcpy(state.buffer + leftover, in, count); in 105 drivers/crypto/padlock-sha.c in = state.buffer; in 117 drivers/crypto/padlock-sha.c "S"(in), "D"(result)); in 132 drivers/crypto/padlock-sha.c static int padlock_sha256_finup(struct shash_desc *desc, const u8 *in, in 152 drivers/crypto/padlock-sha.c return crypto_shash_finup(&dctx->fallback, in, count, out); in 158 drivers/crypto/padlock-sha.c err = crypto_shash_update(&dctx->fallback, in, space) ?: in 163 drivers/crypto/padlock-sha.c in += space; in 165 drivers/crypto/padlock-sha.c memcpy(state.buf + leftover, in, count); in 166 drivers/crypto/padlock-sha.c in = state.buf; in 178 drivers/crypto/padlock-sha.c "S"(in), "D"(result)); in 453 drivers/crypto/padlock-sha.c const void *in) in 458 drivers/crypto/padlock-sha.c memcpy(sctx, in, statesize); in 155 drivers/crypto/qat/qat_common/adf_admin.c void *in, void *out) in 170 drivers/crypto/qat/qat_common/adf_admin.c memcpy(admin->virt_addr + offset, in, ADF_ADMINMSG_LEN); in 131 drivers/crypto/qat/qat_common/qat_asym_algs.c } in; in 163 drivers/crypto/qat/qat_common/qat_asym_algs.c } in; in 198 drivers/crypto/qat/qat_common/qat_asym_algs.c req->src_align, req->in.dh.in.b); in 200 drivers/crypto/qat/qat_common/qat_asym_algs.c dma_unmap_single(dev, req->in.dh.in.b, in 297 drivers/crypto/qat/qat_common/qat_asym_algs.c qat_req->in.dh.in.xa = ctx->dma_xa; in 298 drivers/crypto/qat/qat_common/qat_asym_algs.c qat_req->in.dh.in.p = ctx->dma_p; in 302 drivers/crypto/qat/qat_common/qat_asym_algs.c qat_req->in.dh.in_g2.xa = ctx->dma_xa; in 303 drivers/crypto/qat/qat_common/qat_asym_algs.c qat_req->in.dh.in_g2.p = ctx->dma_p; in 306 drivers/crypto/qat/qat_common/qat_asym_algs.c qat_req->in.dh.in.b = ctx->dma_g; in 307 drivers/crypto/qat/qat_common/qat_asym_algs.c qat_req->in.dh.in.xa = ctx->dma_xa; in 308 drivers/crypto/qat/qat_common/qat_asym_algs.c qat_req->in.dh.in.p = ctx->dma_p; in 324 drivers/crypto/qat/qat_common/qat_asym_algs.c qat_req->in.dh.in.b = dma_map_single(dev, in 329 drivers/crypto/qat/qat_common/qat_asym_algs.c qat_req->in.dh.in.b))) in 337 drivers/crypto/qat/qat_common/qat_asym_algs.c &qat_req->in.dh.in.b, in 370 drivers/crypto/qat/qat_common/qat_asym_algs.c qat_req->in.dh.in_tab[n_input_params] = 0; in 373 drivers/crypto/qat/qat_common/qat_asym_algs.c qat_req->phy_in = dma_map_single(dev, &qat_req->in.dh.in.b, in 419 drivers/crypto/qat/qat_common/qat_asym_algs.c qat_req->in.dh.in.b); in 421 drivers/crypto/qat/qat_common/qat_asym_algs.c if (!dma_mapping_error(dev, qat_req->in.dh.in.b)) in 422 drivers/crypto/qat/qat_common/qat_asym_algs.c dma_unmap_single(dev, qat_req->in.dh.in.b, in 565 drivers/crypto/qat/qat_common/qat_asym_algs.c req->in.rsa.enc.m); in 567 drivers/crypto/qat/qat_common/qat_asym_algs.c dma_unmap_single(dev, req->in.rsa.enc.m, req->ctx.rsa->key_sz, in 719 drivers/crypto/qat/qat_common/qat_asym_algs.c qat_req->in.rsa.enc.e = ctx->dma_e; in 720 drivers/crypto/qat/qat_common/qat_asym_algs.c qat_req->in.rsa.enc.n = ctx->dma_n; in 732 drivers/crypto/qat/qat_common/qat_asym_algs.c qat_req->in.rsa.enc.m = dma_map_single(dev, sg_virt(req->src), in 734 drivers/crypto/qat/qat_common/qat_asym_algs.c if (unlikely(dma_mapping_error(dev, qat_req->in.rsa.enc.m))) in 741 drivers/crypto/qat/qat_common/qat_asym_algs.c &qat_req->in.rsa.enc.m, in 766 drivers/crypto/qat/qat_common/qat_asym_algs.c qat_req->in.rsa.in_tab[3] = 0; in 768 drivers/crypto/qat/qat_common/qat_asym_algs.c qat_req->phy_in = dma_map_single(dev, &qat_req->in.rsa.enc.m, in 812 drivers/crypto/qat/qat_common/qat_asym_algs.c qat_req->in.rsa.enc.m); in 814 drivers/crypto/qat/qat_common/qat_asym_algs.c if (!dma_mapping_error(dev, qat_req->in.rsa.enc.m)) in 815 drivers/crypto/qat/qat_common/qat_asym_algs.c dma_unmap_single(dev, qat_req->in.rsa.enc.m, in 856 drivers/crypto/qat/qat_common/qat_asym_algs.c qat_req->in.rsa.dec_crt.p = ctx->dma_p; in 857 drivers/crypto/qat/qat_common/qat_asym_algs.c qat_req->in.rsa.dec_crt.q = ctx->dma_q; in 858 drivers/crypto/qat/qat_common/qat_asym_algs.c qat_req->in.rsa.dec_crt.dp = ctx->dma_dp; in 859 drivers/crypto/qat/qat_common/qat_asym_algs.c qat_req->in.rsa.dec_crt.dq = ctx->dma_dq; in 860 drivers/crypto/qat/qat_common/qat_asym_algs.c qat_req->in.rsa.dec_crt.qinv = ctx->dma_qinv; in 862 drivers/crypto/qat/qat_common/qat_asym_algs.c qat_req->in.rsa.dec.d = ctx->dma_d; in 863 drivers/crypto/qat/qat_common/qat_asym_algs.c qat_req->in.rsa.dec.n = ctx->dma_n; in 876 drivers/crypto/qat/qat_common/qat_asym_algs.c qat_req->in.rsa.dec.c = dma_map_single(dev, sg_virt(req->src), in 878 drivers/crypto/qat/qat_common/qat_asym_algs.c if (unlikely(dma_mapping_error(dev, qat_req->in.rsa.dec.c))) in 885 drivers/crypto/qat/qat_common/qat_asym_algs.c &qat_req->in.rsa.dec.c, in 912 drivers/crypto/qat/qat_common/qat_asym_algs.c qat_req->in.rsa.in_tab[6] = 0; in 914 drivers/crypto/qat/qat_common/qat_asym_algs.c qat_req->in.rsa.in_tab[3] = 0; in 916 drivers/crypto/qat/qat_common/qat_asym_algs.c qat_req->phy_in = dma_map_single(dev, &qat_req->in.rsa.dec.c, in 964 drivers/crypto/qat/qat_common/qat_asym_algs.c qat_req->in.rsa.dec.c); in 966 drivers/crypto/qat/qat_common/qat_asym_algs.c if (!dma_mapping_error(dev, qat_req->in.rsa.dec.c)) in 967 drivers/crypto/qat/qat_common/qat_asym_algs.c dma_unmap_single(dev, qat_req->in.rsa.dec.c, in 204 drivers/crypto/qce/sha.c static int qce_ahash_import(struct ahash_request *req, const void *in) in 212 drivers/crypto/qce/sha.c const struct sha1_state *state = in; in 217 drivers/crypto/qce/sha.c const struct sha256_state *state = in; in 71 drivers/crypto/rockchip/rk3288_crypto.c int in, out, align; in 73 drivers/crypto/rockchip/rk3288_crypto.c in = IS_ALIGNED((uint32_t)sg_src->offset, 4) && in 76 drivers/crypto/rockchip/rk3288_crypto.c return in; in 79 drivers/crypto/rockchip/rk3288_crypto.c align = in && out; in 138 drivers/crypto/rockchip/rk3288_crypto_ahash.c static int rk_ahash_import(struct ahash_request *req, const void *in) in 148 drivers/crypto/rockchip/rk3288_crypto_ahash.c return crypto_ahash_import(&rctx->fallback_req, in); in 1739 drivers/crypto/s5p-sss.c static int s5p_hash_import(struct ahash_request *req, const void *in) in 1744 drivers/crypto/s5p-sss.c const struct s5p_hash_reqctx *ctx_in = in; in 1746 drivers/crypto/s5p-sss.c memcpy(ctx, in, sizeof(*ctx) + BUFLEN); in 1174 drivers/crypto/sahara.c static int sahara_sha_import(struct ahash_request *req, const void *in) in 1178 drivers/crypto/sahara.c memcpy(rctx, in, sizeof(struct sahara_sha_reqctx)); in 987 drivers/crypto/stm32/stm32-hash.c static int stm32_hash_import(struct ahash_request *req, const void *in) in 992 drivers/crypto/stm32/stm32-hash.c const u32 *preg = in; in 996 drivers/crypto/stm32/stm32-hash.c memcpy(rctx, in, sizeof(*rctx)); in 72 drivers/crypto/sunxi-ss/sun4i-ss-hash.c int sun4i_hash_import_md5(struct ahash_request *areq, const void *in) in 75 drivers/crypto/sunxi-ss/sun4i-ss-hash.c const struct md5_state *ictx = in; in 115 drivers/crypto/sunxi-ss/sun4i-ss-hash.c int sun4i_hash_import_sha1(struct ahash_request *areq, const void *in) in 118 drivers/crypto/sunxi-ss/sun4i-ss-hash.c const struct sha1_state *ictx = in; in 186 drivers/crypto/sunxi-ss/sun4i-ss.h int sun4i_hash_import_md5(struct ahash_request *areq, const void *in); in 188 drivers/crypto/sunxi-ss/sun4i-ss.h int sun4i_hash_import_sha1(struct ahash_request *areq, const void *in); in 2154 drivers/crypto/talitos.c static int ahash_import(struct ahash_request *areq, const void *in) in 2160 drivers/crypto/talitos.c const struct talitos_export_state *export = in; in 97 drivers/crypto/ux500/cryp/cryp_core.c static inline u32 uint8p_to_uint32_be(u8 *in) in 99 drivers/crypto/ux500/cryp/cryp_core.c u32 *data = (u32 *)in; in 161 drivers/crypto/ux500/cryp/cryp_core.c static inline void swap_words_in_key_and_bits_in_byte(const u8 *in, in 173 drivers/crypto/ux500/cryp/cryp_core.c swap_bits_in_byte(in[index]); in 1409 drivers/crypto/ux500/hash/hash_core.c static int ahash_noimport(struct ahash_request *req, const void *in) in 14 drivers/crypto/vmx/aesp8-ppc.h void aes_p8_encrypt(const u8 *in, u8 *out, const struct aes_key *key); in 15 drivers/crypto/vmx/aesp8-ppc.h void aes_p8_decrypt(const u8 *in, u8 *out, const struct aes_key *key); in 16 drivers/crypto/vmx/aesp8-ppc.h void aes_p8_cbc_encrypt(const u8 *in, u8 *out, size_t len, in 18 drivers/crypto/vmx/aesp8-ppc.h void aes_p8_ctr32_encrypt_blocks(const u8 *in, u8 *out, in 21 drivers/crypto/vmx/aesp8-ppc.h void aes_p8_xts_encrypt(const u8 *in, u8 *out, size_t len, in 23 drivers/crypto/vmx/aesp8-ppc.h void aes_p8_xts_decrypt(const u8 *in, u8 *out, size_t len, in 30 drivers/crypto/vmx/ghash.c const u8 *in, size_t len); in 994 drivers/edac/pnd2_edac.c #define dnv_get_bit(pmi, in, out) ((int)(((pmi) >> (in)) & 1u) << (out)) in 341 drivers/firmware/efi/libstub/arm-stub.c efi_memory_desc_t *in, *prev = NULL, *out = runtime_map; in 357 drivers/firmware/efi/libstub/arm-stub.c for (l = 0; l < map_size; l += desc_size, prev = in) { in 360 drivers/firmware/efi/libstub/arm-stub.c in = (void *)memory_map + l; in 361 drivers/firmware/efi/libstub/arm-stub.c if (!(in->attribute & EFI_MEMORY_RUNTIME)) in 364 drivers/firmware/efi/libstub/arm-stub.c paddr = in->phys_addr; in 365 drivers/firmware/efi/libstub/arm-stub.c size = in->num_pages * EFI_PAGE_SIZE; in 368 drivers/firmware/efi/libstub/arm-stub.c in->virt_addr = in->phys_addr; in 378 drivers/firmware/efi/libstub/arm-stub.c !regions_are_adjacent(prev, in)) || in 379 drivers/firmware/efi/libstub/arm-stub.c !regions_have_compatible_memory_type_attrs(prev, in)) { in 381 drivers/firmware/efi/libstub/arm-stub.c paddr = round_down(in->phys_addr, SZ_64K); in 382 drivers/firmware/efi/libstub/arm-stub.c size += in->phys_addr - paddr; in 390 drivers/firmware/efi/libstub/arm-stub.c if (IS_ALIGNED(in->phys_addr, SZ_2M) && size >= SZ_2M) in 396 drivers/firmware/efi/libstub/arm-stub.c in->virt_addr = efi_virt_base + in->phys_addr - paddr; in 399 drivers/firmware/efi/libstub/arm-stub.c memcpy(out, in, desc_size); in 55 drivers/firmware/efi/memattr.c static bool entry_is_valid(const efi_memory_desc_t *in, efi_memory_desc_t *out) in 57 drivers/firmware/efi/memattr.c u64 in_paddr = in->phys_addr; in 58 drivers/firmware/efi/memattr.c u64 in_size = in->num_pages << EFI_PAGE_SHIFT; in 61 drivers/firmware/efi/memattr.c *out = *in; in 63 drivers/firmware/efi/memattr.c if (in->type != EFI_RUNTIME_SERVICES_CODE && in 64 drivers/firmware/efi/memattr.c in->type != EFI_RUNTIME_SERVICES_DATA) { in 69 drivers/firmware/efi/memattr.c if (!(in->attribute & (EFI_MEMORY_RO | EFI_MEMORY_XP))) { in 75 drivers/firmware/efi/memattr.c (!PAGE_ALIGNED(in->phys_addr) || in 76 drivers/firmware/efi/memattr.c !PAGE_ALIGNED(in->num_pages << EFI_PAGE_SHIFT))) { in 111 drivers/firmware/efi/memattr.c if (md->type != in->type) { in 12 drivers/firmware/google/vpd_decode.c static int vpd_decode_len(const u32 max_len, const u8 *in, in 26 drivers/firmware/google/vpd_decode.c more = in[i] & 0x80; in 28 drivers/firmware/google/vpd_decode.c *length |= in[i] & 0x7f; in 452 drivers/firmware/qcom_scm-32.c __le32 in; in 455 drivers/firmware/qcom_scm-32.c in = cpu_to_le32(peripheral); in 458 drivers/firmware/qcom_scm-32.c &in, sizeof(in), in 511 drivers/firmware/qcom_scm-32.c __le32 in; in 514 drivers/firmware/qcom_scm-32.c in = cpu_to_le32(peripheral); in 517 drivers/firmware/qcom_scm-32.c &in, sizeof(in), in 526 drivers/firmware/qcom_scm-32.c __le32 in; in 529 drivers/firmware/qcom_scm-32.c in = cpu_to_le32(peripheral); in 532 drivers/firmware/qcom_scm-32.c &in, sizeof(in), in 541 drivers/firmware/qcom_scm-32.c __le32 in = cpu_to_le32(reset); in 545 drivers/firmware/qcom_scm-32.c &in, sizeof(in), in 65 drivers/fsi/fsi-master-gpio.c int in; in 75 drivers/fsi/fsi-master-gpio.c in = gpiod_get_value(master->gpio_data); in 79 drivers/fsi/fsi-master-gpio.c return in ? 1 : 0; in 137 drivers/gpio/gpio-max3191x.c u8 in = ((u8 *)max3191x->xfer.rx_buf)[i * 2]; in 140 drivers/gpio/gpio-max3191x.c val = (status & 0xf8) != crc8(max3191x_crc8, &in, 1, 0); in 210 drivers/gpio/gpio-max3191x.c u8 in; in 223 drivers/gpio/gpio-max3191x.c in = ((u8 *)max3191x->xfer.rx_buf)[chipnum * wordlen]; in 224 drivers/gpio/gpio-max3191x.c ret = (in >> (offset % MAX3191X_NGPIO)) & 1; in 244 drivers/gpio/gpio-max3191x.c unsigned long in, shift, index; in 251 drivers/gpio/gpio-max3191x.c in = ((u8 *)max3191x->xfer.rx_buf)[chipnum * wordlen]; in 255 drivers/gpio/gpio-max3191x.c bits[index] |= mask[index] & (in << shift); /* copy bits */ in 1351 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c struct _GET_VOLTAGE_INFO_INPUT_PARAMETER_V1_2 in; in 1373 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c args.in.ucVoltageType = VOLTAGE_TYPE_VDDC; in 1374 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c args.in.ucVoltageMode = ATOM_GET_VOLTAGE_EVV_VOLTAGE; in 1375 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c args.in.usVoltageLevel = cpu_to_le16(virtual_voltage_id); in 1376 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c args.in.ulSCLKFreq = in 223 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c int amdgpu_bo_create_list_entry_array(struct drm_amdgpu_bo_list_in *in, in 226 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c const void __user *uptr = u64_to_user_ptr(in->bo_info_ptr); in 231 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c info = kvmalloc_array(in->bo_number, info_size, GFP_KERNEL); in 237 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c if (likely(info_size == in->bo_info_size)) { in 238 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c unsigned long bytes = in->bo_number * in 239 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c in->bo_info_size; in 245 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c unsigned long bytes = min(in->bo_info_size, info_size); in 248 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c memset(info, 0, in->bo_number * info_size); in 249 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c for (i = 0; i < in->bo_number; ++i) { in 253 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c uptr += in->bo_info_size; in 271 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c uint32_t handle = args->in.list_handle; in 276 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c r = amdgpu_bo_create_list_entry_array(&args->in, &info); in 280 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c switch (args->in.operation) { in 282 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c r = amdgpu_bo_list_create(adev, filp, info, args->in.bo_number, in 303 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c r = amdgpu_bo_list_create(adev, filp, info, args->in.bo_number, in 57 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.h int amdgpu_bo_create_list_entry_array(struct drm_amdgpu_bo_list_in *in, in 116 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c if (cs->in.num_chunks == 0) in 119 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c chunk_array = kmalloc_array(cs->in.num_chunks, sizeof(uint64_t), GFP_KERNEL); in 123 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c p->ctx = amdgpu_ctx_get(fpriv, cs->in.ctx_id); in 138 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c chunk_array_user = u64_to_user_ptr(cs->in.chunks); in 140 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c sizeof(uint64_t)*cs->in.num_chunks)) { in 145 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c p->nchunks = cs->in.num_chunks; in 585 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c if (cs->in.bo_list_handle) { in 589 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c r = amdgpu_bo_list_get(fpriv, cs->in.bo_list_handle, in 1419 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c unsigned long timeout = amdgpu_gem_timeout(wait->in.timeout); in 1425 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c ctx = amdgpu_ctx_get(filp->driver_priv, wait->in.ctx_id); in 1429 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c r = amdgpu_ctx_get_entity(ctx, wait->in.ip_type, wait->in.ip_instance, in 1430 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c wait->in.ring, &entity); in 1436 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c fence = amdgpu_ctx_get_fence(ctx, entity, wait->in.handle); in 1500 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c fence = amdgpu_cs_get_fence(adev, filp, &info->in.fence); in 1507 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c switch (info->in.what) { in 1562 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c uint32_t fence_count = wait->in.fence_count; in 1568 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c unsigned long timeout = amdgpu_gem_timeout(wait->in.timeout_ns); in 1607 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c unsigned long timeout = amdgpu_gem_timeout(wait->in.timeout_ns); in 1608 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c uint32_t fence_count = wait->in.fence_count; in 1671 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c uint32_t fence_count = wait->in.fence_count; in 1682 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c fences_user = u64_to_user_ptr(wait->in.fences); in 1689 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c if (wait->in.wait_all) in 410 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c id = args->in.ctx_id; in 411 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c priority = amdgpu_to_sched_priority(args->in.priority); in 418 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c switch (args->in.op) { in 216 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c uint64_t flags = args->in.domain_flags; in 217 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c uint64_t size = args->in.bo_size; in 234 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c if (args->in.domains & ~AMDGPU_GEM_DOMAIN_MASK) in 238 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c if (args->in.domains & (AMDGPU_GEM_DOMAIN_GDS | in 258 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c r = amdgpu_gem_object_create(adev, size, args->in.alignment, in 259 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c (u32)(0xffffffff & args->in.domains), in 389 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c uint32_t handle = args->in.handle; in 428 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c uint32_t handle = args->in.handle; in 429 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c unsigned long timeout = amdgpu_gem_timeout(args->in.timeout); in 122 drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c priority = amdgpu_to_sched_priority(args->in.priority); in 126 drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c switch (args->in.op) { in 129 drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c args->in.fd, in 134 drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c args->in.fd, in 135 drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c args->in.ctx_id, in 139 drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c DRM_ERROR("Invalid sched op specified: %d\n", args->in.op); in 3072 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c switch (args->in.op) { in 1929 drivers/gpu/drm/drm_modes.c const struct drm_display_mode *in) in 1931 drivers/gpu/drm/drm_modes.c WARN(in->hdisplay > USHRT_MAX || in->hsync_start > USHRT_MAX || in 1932 drivers/gpu/drm/drm_modes.c in->hsync_end > USHRT_MAX || in->htotal > USHRT_MAX || in 1933 drivers/gpu/drm/drm_modes.c in->hskew > USHRT_MAX || in->vdisplay > USHRT_MAX || in 1934 drivers/gpu/drm/drm_modes.c in->vsync_start > USHRT_MAX || in->vsync_end > USHRT_MAX || in 1935 drivers/gpu/drm/drm_modes.c in->vtotal > USHRT_MAX || in->vscan > USHRT_MAX, in 1938 drivers/gpu/drm/drm_modes.c out->clock = in->clock; in 1939 drivers/gpu/drm/drm_modes.c out->hdisplay = in->hdisplay; in 1940 drivers/gpu/drm/drm_modes.c out->hsync_start = in->hsync_start; in 1941 drivers/gpu/drm/drm_modes.c out->hsync_end = in->hsync_end; in 1942 drivers/gpu/drm/drm_modes.c out->htotal = in->htotal; in 1943 drivers/gpu/drm/drm_modes.c out->hskew = in->hskew; in 1944 drivers/gpu/drm/drm_modes.c out->vdisplay = in->vdisplay; in 1945 drivers/gpu/drm/drm_modes.c out->vsync_start = in->vsync_start; in 1946 drivers/gpu/drm/drm_modes.c out->vsync_end = in->vsync_end; in 1947 drivers/gpu/drm/drm_modes.c out->vtotal = in->vtotal; in 1948 drivers/gpu/drm/drm_modes.c out->vscan = in->vscan; in 1949 drivers/gpu/drm/drm_modes.c out->vrefresh = in->vrefresh; in 1950 drivers/gpu/drm/drm_modes.c out->flags = in->flags; in 1951 drivers/gpu/drm/drm_modes.c out->type = in->type; in 1953 drivers/gpu/drm/drm_modes.c switch (in->picture_aspect_ratio) { in 1968 drivers/gpu/drm/drm_modes.c in->picture_aspect_ratio); in 1975 drivers/gpu/drm/drm_modes.c strncpy(out->name, in->name, DRM_DISPLAY_MODE_LEN); in 1993 drivers/gpu/drm/drm_modes.c const struct drm_mode_modeinfo *in) in 1995 drivers/gpu/drm/drm_modes.c if (in->clock > INT_MAX || in->vrefresh > INT_MAX) in 1998 drivers/gpu/drm/drm_modes.c out->clock = in->clock; in 1999 drivers/gpu/drm/drm_modes.c out->hdisplay = in->hdisplay; in 2000 drivers/gpu/drm/drm_modes.c out->hsync_start = in->hsync_start; in 2001 drivers/gpu/drm/drm_modes.c out->hsync_end = in->hsync_end; in 2002 drivers/gpu/drm/drm_modes.c out->htotal = in->htotal; in 2003 drivers/gpu/drm/drm_modes.c out->hskew = in->hskew; in 2004 drivers/gpu/drm/drm_modes.c out->vdisplay = in->vdisplay; in 2005 drivers/gpu/drm/drm_modes.c out->vsync_start = in->vsync_start; in 2006 drivers/gpu/drm/drm_modes.c out->vsync_end = in->vsync_end; in 2007 drivers/gpu/drm/drm_modes.c out->vtotal = in->vtotal; in 2008 drivers/gpu/drm/drm_modes.c out->vscan = in->vscan; in 2009 drivers/gpu/drm/drm_modes.c out->vrefresh = in->vrefresh; in 2010 drivers/gpu/drm/drm_modes.c out->flags = in->flags; in 2017 drivers/gpu/drm/drm_modes.c out->type = in->type & DRM_MODE_TYPE_ALL; in 2018 drivers/gpu/drm/drm_modes.c strncpy(out->name, in->name, DRM_DISPLAY_MODE_LEN); in 2027 drivers/gpu/drm/drm_modes.c switch (in->flags & DRM_MODE_FLAG_PIC_AR_MASK) { in 723 drivers/gpu/drm/i915/display/intel_sprite.c static const u8 in[8] = { 0, 1, 2, 4, 8, 16, 24, 32 }; in 727 drivers/gpu/drm/i915/display/intel_sprite.c gamma[i] = (in[i] << 8) / 32; in 508 drivers/gpu/drm/i915/selftests/i915_sw_fence.c struct i915_sw_fence *in, *out; in 518 drivers/gpu/drm/i915/selftests/i915_sw_fence.c i915_sw_fence_wait(ipc->in); in 529 drivers/gpu/drm/i915/selftests/i915_sw_fence.c ipc.in = alloc_fence(); in 530 drivers/gpu/drm/i915/selftests/i915_sw_fence.c if (!ipc.in) in 553 drivers/gpu/drm/i915/selftests/i915_sw_fence.c i915_sw_fence_commit(ipc.in); in 565 drivers/gpu/drm/i915/selftests/i915_sw_fence.c free_fence(ipc.in); in 48 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c static inline int CRASHDUMP_WRITE(u64 *in, u32 reg, u32 val) in 50 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c in[0] = val; in 51 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c in[1] = (((u64) reg) << 44 | (1 << 21) | 1); in 56 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c static inline int CRASHDUMP_READ(u64 *in, u32 reg, u32 dwords, u64 target) in 58 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c in[0] = target; in 59 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c in[1] = (((u64) reg) << 44 | dwords); in 64 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c static inline int CRASHDUMP_FINI(u64 *in) in 66 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c in[0] = 0; in 67 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c in[1] = 0; in 433 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c u64 *in = dumper->ptr; in 441 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c in += CRASHDUMP_WRITE(in, REG_A6XX_HLSQ_DBG_READ_SEL, in 449 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c in += CRASHDUMP_READ(in, offset, count, out); in 458 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c CRASHDUMP_FINI(in); in 501 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c u64 *in = dumper->ptr; in 508 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c in += CRASHDUMP_WRITE(in, cluster->sel_reg, cluster->sel_val); in 513 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c in += CRASHDUMP_WRITE(in, REG_A6XX_CP_APERTURE_CNTL_CD, in 519 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c in += CRASHDUMP_READ(in, cluster->registers[j], in 529 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c CRASHDUMP_FINI(in); in 570 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c u64 *in = dumper->ptr; in 578 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c in += CRASHDUMP_WRITE(in, REG_A6XX_HLSQ_DBG_READ_SEL, in 581 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c in += CRASHDUMP_READ(in, REG_A6XX_HLSQ_DBG_AHB_READ_APERTURE, in 585 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c CRASHDUMP_FINI(in); in 622 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c u64 *in = dumper->ptr; in 626 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c in += CRASHDUMP_WRITE(in, REG_A6XX_HLSQ_DBG_READ_SEL, regs->val1); in 633 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c in += CRASHDUMP_READ(in, offset, count, out); in 639 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c CRASHDUMP_FINI(in); in 660 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c u64 *in = dumper->ptr; in 666 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c in += CRASHDUMP_WRITE(in, regs->val0, regs->val1); in 671 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c in += CRASHDUMP_READ(in, regs->registers[i], count, out); in 677 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c CRASHDUMP_FINI(in); in 128 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c struct dsi_pll_input in; in 216 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c pll->in.fref = pll->vco_ref_clk_rate; in 217 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c pll->in.fdata = 0; in 218 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c pll->in.dsiclk_sel = 1; /* Use the /2 path in Mux */ in 219 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c pll->in.ldo_en = 0; /* disabled for now */ in 222 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c pll->in.refclk_dbler_en = 0; in 223 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c pll->in.vco_measure_time = 5; in 224 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c pll->in.kvco_measure_time = 5; in 225 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c pll->in.bandgap_timer = 4; in 226 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c pll->in.pll_wakeup_timer = 5; in 227 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c pll->in.plllock_cnt = 1; in 228 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c pll->in.plllock_rng = 0; in 234 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c pll->in.ssc_en = 1; in 235 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c pll->in.ssc_center = 0; /* down spread by default */ in 236 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c pll->in.ssc_spread = 5; /* PPM / 1000 */ in 237 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c pll->in.ssc_freq = 31500; /* default recommended */ in 238 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c pll->in.ssc_adj_period = 37; in 240 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c pll->in.pll_ie_trim = 4; in 241 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c pll->in.pll_ip_trim = 4; in 242 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c pll->in.pll_cpcset_cur = 1; in 243 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c pll->in.pll_cpmset_cur = 1; in 244 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c pll->in.pll_icpmset = 4; in 245 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c pll->in.pll_icpcset = 4; in 246 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c pll->in.pll_icpmset_p = 0; in 247 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c pll->in.pll_icpmset_m = 0; in 248 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c pll->in.pll_icpcset_p = 0; in 249 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c pll->in.pll_icpcset_m = 0; in 250 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c pll->in.pll_lpf_res1 = 3; in 251 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c pll->in.pll_lpf_cap1 = 11; in 252 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c pll->in.pll_lpf_cap2 = 1; in 253 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c pll->in.pll_iptat_trim = 7; in 254 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c pll->in.pll_c3ctrl = 2; in 255 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c pll->in.pll_r3ctrl = 1; in 268 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c ssc_period = pll->in.ssc_freq / 500; in 274 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c DBG("ssc freq=%d spread=%d period=%d", pll->in.ssc_freq, in 275 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c pll->in.ssc_spread, pll->out.ssc_period); in 283 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c step_size *= pll->in.ssc_spread; in 285 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c step_size *= (pll->in.ssc_adj_period + 1); in 301 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c struct dsi_pll_input *pin = &pll->in; in 354 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c struct dsi_pll_input *pin = &pll->in; in 394 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c struct dsi_pll_input *pin = &pll->in; in 579 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c struct dsi_pll_input *pin = &pll_14nm->in; in 87 drivers/gpu/drm/nouveau/dispnv50/base907c.c csc_drm_to_base(u64 in) in 90 drivers/gpu/drm/nouveau/dispnv50/base907c.c bool sign = in & BIT_ULL(63); in 91 drivers/gpu/drm/nouveau/dispnv50/base907c.c u32 integer = (in >> 32) & 0x7fffffff; in 92 drivers/gpu/drm/nouveau/dispnv50/base907c.c u32 fraction = in & 0xffffffff; in 258 drivers/gpu/drm/nouveau/dispnv50/head507d.c head507d_olut_load(struct drm_color_lut *in, int size, void __iomem *mem) in 260 drivers/gpu/drm/nouveau/dispnv50/head507d.c for (; size--; in++, mem += 8) { in 261 drivers/gpu/drm/nouveau/dispnv50/head507d.c writew(drm_color_lut_extract(in-> red, 11) << 3, mem + 0); in 262 drivers/gpu/drm/nouveau/dispnv50/head507d.c writew(drm_color_lut_extract(in->green, 11) << 3, mem + 2); in 263 drivers/gpu/drm/nouveau/dispnv50/head507d.c writew(drm_color_lut_extract(in-> blue, 11) << 3, mem + 4); in 217 drivers/gpu/drm/nouveau/dispnv50/head907d.c head907d_olut_load(struct drm_color_lut *in, int size, void __iomem *mem) in 219 drivers/gpu/drm/nouveau/dispnv50/head907d.c for (; size--; in++, mem += 8) { in 220 drivers/gpu/drm/nouveau/dispnv50/head907d.c writew(drm_color_lut_extract(in-> red, 14) + 0x6000, mem + 0); in 221 drivers/gpu/drm/nouveau/dispnv50/head907d.c writew(drm_color_lut_extract(in->green, 14) + 0x6000, mem + 2); in 222 drivers/gpu/drm/nouveau/dispnv50/head907d.c writew(drm_color_lut_extract(in-> blue, 14) + 0x6000, mem + 4); in 102 drivers/gpu/drm/nouveau/dispnv50/headc57d.c headc57d_olut_load_8(struct drm_color_lut *in, int size, void __iomem *mem) in 108 drivers/gpu/drm/nouveau/dispnv50/headc57d.c u16 r = drm_color_lut_extract(in-> red + 0, 16); in 109 drivers/gpu/drm/nouveau/dispnv50/headc57d.c u16 g = drm_color_lut_extract(in->green + 0, 16); in 110 drivers/gpu/drm/nouveau/dispnv50/headc57d.c u16 b = drm_color_lut_extract(in-> blue + 0, 16); in 113 drivers/gpu/drm/nouveau/dispnv50/headc57d.c if (in++, size) { in 114 drivers/gpu/drm/nouveau/dispnv50/headc57d.c ri = (drm_color_lut_extract(in-> red, 16) - r) / 4; in 115 drivers/gpu/drm/nouveau/dispnv50/headc57d.c gi = (drm_color_lut_extract(in->green, 16) - g) / 4; in 116 drivers/gpu/drm/nouveau/dispnv50/headc57d.c bi = (drm_color_lut_extract(in-> blue, 16) - b) / 4; in 135 drivers/gpu/drm/nouveau/dispnv50/headc57d.c headc57d_olut_load(struct drm_color_lut *in, int size, void __iomem *mem) in 140 drivers/gpu/drm/nouveau/dispnv50/headc57d.c for (; size--; in++, mem += 0x08) { in 141 drivers/gpu/drm/nouveau/dispnv50/headc57d.c writew(drm_color_lut_extract(in-> red, 16), mem + 0); in 142 drivers/gpu/drm/nouveau/dispnv50/headc57d.c writew(drm_color_lut_extract(in->green, 16), mem + 2); in 143 drivers/gpu/drm/nouveau/dispnv50/headc57d.c writew(drm_color_lut_extract(in-> blue, 16), mem + 4); in 35 drivers/gpu/drm/nouveau/dispnv50/lut.c struct drm_color_lut *in = blob ? blob->data : NULL; in 40 drivers/gpu/drm/nouveau/dispnv50/lut.c if (!in) { in 41 drivers/gpu/drm/nouveau/dispnv50/lut.c in = kvmalloc_array(1024, sizeof(*in), GFP_KERNEL); in 42 drivers/gpu/drm/nouveau/dispnv50/lut.c if (!WARN_ON(!in)) { in 44 drivers/gpu/drm/nouveau/dispnv50/lut.c in[i].red = in 45 drivers/gpu/drm/nouveau/dispnv50/lut.c in[i].green = in 46 drivers/gpu/drm/nouveau/dispnv50/lut.c in[i].blue = (i << 16) >> 10; in 48 drivers/gpu/drm/nouveau/dispnv50/lut.c load(in, 1024, mem); in 49 drivers/gpu/drm/nouveau/dispnv50/lut.c kvfree(in); in 52 drivers/gpu/drm/nouveau/dispnv50/lut.c load(in, blob->length / sizeof(*in), mem); in 137 drivers/gpu/drm/nouveau/dispnv50/wndwc57e.c wndwc57e_ilut_load(struct drm_color_lut *in, int size, void __iomem *mem) in 142 drivers/gpu/drm/nouveau/dispnv50/wndwc57e.c for (; size--; in++, mem += 0x08) { in 143 drivers/gpu/drm/nouveau/dispnv50/wndwc57e.c u16 r = fixedU0_16_FP16(drm_color_lut_extract(in-> red, 16)); in 144 drivers/gpu/drm/nouveau/dispnv50/wndwc57e.c u16 g = fixedU0_16_FP16(drm_color_lut_extract(in->green, 16)); in 145 drivers/gpu/drm/nouveau/dispnv50/wndwc57e.c u16 b = fixedU0_16_FP16(drm_color_lut_extract(in-> blue, 16)); in 3306 drivers/gpu/drm/radeon/radeon_atombios.c struct _GET_VOLTAGE_INFO_INPUT_PARAMETER_V1_2 in; in 3328 drivers/gpu/drm/radeon/radeon_atombios.c args.in.ucVoltageType = VOLTAGE_TYPE_VDDC; in 3329 drivers/gpu/drm/radeon/radeon_atombios.c args.in.ucVoltageMode = ATOM_GET_VOLTAGE_EVV_VOLTAGE; in 3330 drivers/gpu/drm/radeon/radeon_atombios.c args.in.usVoltageLevel = cpu_to_le16(virtual_voltage_id); in 3331 drivers/gpu/drm/radeon/radeon_atombios.c args.in.ulSCLKFreq = in 120 drivers/gpu/drm/tegra/dc.c static inline u32 compute_dda_inc(unsigned int in, unsigned int out, bool v, in 124 drivers/gpu/drm/tegra/dc.c fixed20_12 inf = dfixed_init(in); in 154 drivers/gpu/drm/tegra/dc.c static inline u32 compute_initial_dda(unsigned int in) in 156 drivers/gpu/drm/tegra/dc.c fixed20_12 inf = dfixed_init(in); in 95 drivers/gpu/drm/vc4/vc4_kms.c static u16 vc4_ctm_s31_32_to_s0_9(u64 in) in 100 drivers/gpu/drm/vc4/vc4_kms.c r = in & BIT_ULL(63) ? BIT(9) : 0; in 102 drivers/gpu/drm/vc4/vc4_kms.c if ((in & GENMASK_ULL(62, 32)) > 0) { in 107 drivers/gpu/drm/vc4/vc4_kms.c r |= (in >> 23) & GENMASK(8, 0); in 128 drivers/gpu/ipu-v3/ipu-dp.c enum ipu_color_space in, in 137 drivers/gpu/ipu-v3/ipu-dp.c if (in == out) { in 142 drivers/gpu/ipu-v3/ipu-dp.c if (in == IPUV3_COLORSPACE_RGB && out == IPUV3_COLORSPACE_YUV) { in 168 drivers/gpu/ipu-v3/ipu-dp.c enum ipu_color_space in, in 176 drivers/gpu/ipu-v3/ipu-dp.c dp->in_cs = in; in 84 drivers/gpu/ipu-v3/ipu-image-convert.c int in; in 147 drivers/gpu/ipu-v3/ipu-image-convert.c struct ipu_image_convert_image in; in 216 drivers/gpu/ipu-v3/ipu-image-convert.c .in = IPUV3_CHANNEL_MEM_IC_PRP_VF, in 225 drivers/gpu/ipu-v3/ipu-image-convert.c .in = IPUV3_CHANNEL_MEM_IC_PP, in 392 drivers/gpu/ipu-v3/ipu-image-convert.c struct ipu_image *in, in 395 drivers/gpu/ipu-v3/ipu-image-convert.c u32 downsized_width = in->rect.width; in 396 drivers/gpu/ipu-v3/ipu-image-convert.c u32 downsized_height = in->rect.height; in 455 drivers/gpu/ipu-v3/ipu-image-convert.c ctx->in.num_cols = cols; in 456 drivers/gpu/ipu-v3/ipu-image-convert.c ctx->in.num_rows = rows; in 652 drivers/gpu/ipu-v3/ipu-image-convert.c struct ipu_image_convert_image *in, in 660 drivers/gpu/ipu-v3/ipu-image-convert.c for (row = 0; row < in->num_rows; row++) { in 661 drivers/gpu/ipu-v3/ipu-image-convert.c tile_idx = in->num_cols * row + col; in 662 drivers/gpu/ipu-v3/ipu-image-convert.c in_tile = &in->tile[tile_idx]; in 684 drivers/gpu/ipu-v3/ipu-image-convert.c struct ipu_image_convert_image *in, in 692 drivers/gpu/ipu-v3/ipu-image-convert.c for (col = 0; col < in->num_cols; col++) { in 693 drivers/gpu/ipu-v3/ipu-image-convert.c tile_idx = in->num_cols * row + col; in 694 drivers/gpu/ipu-v3/ipu-image-convert.c in_tile = &in->tile[tile_idx]; in 716 drivers/gpu/ipu-v3/ipu-image-convert.c struct ipu_image_convert_image *in, in 724 drivers/gpu/ipu-v3/ipu-image-convert.c unsigned int in_left_align = tile_left_align(in->fmt); in 725 drivers/gpu/ipu-v3/ipu-image-convert.c unsigned int in_top_align = tile_top_align(in->fmt); in 732 drivers/gpu/ipu-v3/ipu-image-convert.c unsigned int in_right = in->base.rect.width; in 733 drivers/gpu/ipu-v3/ipu-image-convert.c unsigned int in_bottom = in->base.rect.height; in 751 drivers/gpu/ipu-v3/ipu-image-convert.c for (col = in->num_cols - 1; col > 0; col--) { in 754 drivers/gpu/ipu-v3/ipu-image-convert.c bool allow_out_overshoot = (col < in->num_cols - 1) && in 777 drivers/gpu/ipu-v3/ipu-image-convert.c fill_tile_column(ctx, col, in, in_left, in_right - in_left, in 791 drivers/gpu/ipu-v3/ipu-image-convert.c fill_tile_column(ctx, 0, in, 0, in_right, in 797 drivers/gpu/ipu-v3/ipu-image-convert.c for (row = in->num_rows - 1; row > 0; row--) { in 798 drivers/gpu/ipu-v3/ipu-image-convert.c bool allow_overshoot = row < in->num_rows - 1; in 815 drivers/gpu/ipu-v3/ipu-image-convert.c fill_tile_row(ctx, row, in, in_top, in_bottom - in_top, in 832 drivers/gpu/ipu-v3/ipu-image-convert.c fill_tile_row(ctx, 0, in, 0, in_bottom, in 907 drivers/gpu/ipu-v3/ipu-image-convert.c struct ipu_image_convert_image *s_image = &ctx->in; in 957 drivers/gpu/ipu-v3/ipu-image-convert.c struct ipu_image_convert_image *s_image = &ctx->in; in 1119 drivers/gpu/ipu-v3/ipu-image-convert.c for (col = 0; col < ctx->in.num_cols; col++) { in 1120 drivers/gpu/ipu-v3/ipu-image-convert.c bool closest = (col < ctx->in.num_cols - 1) && in 1127 drivers/gpu/ipu-v3/ipu-image-convert.c in_tile = &ctx->in.tile[tile_idx]; in 1160 drivers/gpu/ipu-v3/ipu-image-convert.c for (row = 0; row < ctx->in.num_rows; row++) { in 1161 drivers/gpu/ipu-v3/ipu-image-convert.c tile_idx = row * ctx->in.num_cols + col; in 1162 drivers/gpu/ipu-v3/ipu-image-convert.c in_tile = &ctx->in.tile[tile_idx]; in 1176 drivers/gpu/ipu-v3/ipu-image-convert.c for (row = 0; row < ctx->in.num_rows; row++) { in 1177 drivers/gpu/ipu-v3/ipu-image-convert.c bool closest = (row < ctx->in.num_rows - 1) && in 1183 drivers/gpu/ipu-v3/ipu-image-convert.c tile_idx = row * ctx->in.num_cols; in 1184 drivers/gpu/ipu-v3/ipu-image-convert.c in_tile = &ctx->in.tile[tile_idx]; in 1217 drivers/gpu/ipu-v3/ipu-image-convert.c for (col = 0; col < ctx->in.num_cols; col++) { in 1218 drivers/gpu/ipu-v3/ipu-image-convert.c tile_idx = row * ctx->in.num_cols + col; in 1219 drivers/gpu/ipu-v3/ipu-image-convert.c in_tile = &ctx->in.tile[tile_idx]; in 1372 drivers/gpu/ipu-v3/ipu-image-convert.c struct ipu_image_convert_image *s_image = &ctx->in; in 1486 drivers/gpu/ipu-v3/ipu-image-convert.c ctx->in.base.phys0 = run->in_phys; in 1604 drivers/gpu/ipu-v3/ipu-image-convert.c if (ctx->resize_coeffs_h[cur_tile % ctx->in.num_cols] != in 1605 drivers/gpu/ipu-v3/ipu-image-convert.c ctx->resize_coeffs_h[next_tile % ctx->in.num_cols] || in 1606 drivers/gpu/ipu-v3/ipu-image-convert.c ctx->resize_coeffs_v[cur_tile / ctx->in.num_cols] != in 1607 drivers/gpu/ipu-v3/ipu-image-convert.c ctx->resize_coeffs_v[next_tile / ctx->in.num_cols] || in 1608 drivers/gpu/ipu-v3/ipu-image-convert.c ctx->in.tile[cur_tile].width != ctx->in.tile[next_tile].width || in 1609 drivers/gpu/ipu-v3/ipu-image-convert.c ctx->in.tile[cur_tile].height != ctx->in.tile[next_tile].height || in 1623 drivers/gpu/ipu-v3/ipu-image-convert.c struct ipu_image_convert_image *s_image = &ctx->in; in 1840 drivers/gpu/ipu-v3/ipu-image-convert.c chan->in_chan = ipu_idmac_get(priv->ipu, dma->in); in 1933 drivers/gpu/ipu-v3/ipu-image-convert.c void ipu_image_convert_adjust(struct ipu_image *in, struct ipu_image *out, in 1940 drivers/gpu/ipu-v3/ipu-image-convert.c infmt = get_format(in->pix.pixelformat); in 1945 drivers/gpu/ipu-v3/ipu-image-convert.c in->pix.pixelformat = V4L2_PIX_FMT_RGB24; in 1954 drivers/gpu/ipu-v3/ipu-image-convert.c in->pix.field = out->pix.field = V4L2_FIELD_NONE; in 1959 drivers/gpu/ipu-v3/ipu-image-convert.c in->pix.width / 4); in 1961 drivers/gpu/ipu-v3/ipu-image-convert.c in->pix.height / 4); in 1964 drivers/gpu/ipu-v3/ipu-image-convert.c in->pix.width / 4); in 1966 drivers/gpu/ipu-v3/ipu-image-convert.c in->pix.height / 4); in 1974 drivers/gpu/ipu-v3/ipu-image-convert.c in->pix.width = clamp_align(in->pix.width, MIN_W, MAX_W, in 1976 drivers/gpu/ipu-v3/ipu-image-convert.c in->pix.height = clamp_align(in->pix.height, MIN_H, MAX_H, in 1990 drivers/gpu/ipu-v3/ipu-image-convert.c in->pix.bytesperline = infmt->planar ? in 1991 drivers/gpu/ipu-v3/ipu-image-convert.c clamp_align(in->pix.width, 2 << w_align_in, MAX_W, in 1993 drivers/gpu/ipu-v3/ipu-image-convert.c clamp_align((in->pix.width * infmt->bpp) >> 3, in 1997 drivers/gpu/ipu-v3/ipu-image-convert.c in->pix.sizeimage = infmt->planar ? in 1998 drivers/gpu/ipu-v3/ipu-image-convert.c (in->pix.height * in->pix.bytesperline * infmt->bpp) >> 3 : in 1999 drivers/gpu/ipu-v3/ipu-image-convert.c in->pix.height * in->pix.bytesperline; in 2013 drivers/gpu/ipu-v3/ipu-image-convert.c int ipu_image_convert_verify(struct ipu_image *in, struct ipu_image *out, in 2018 drivers/gpu/ipu-v3/ipu-image-convert.c testin = *in; in 2023 drivers/gpu/ipu-v3/ipu-image-convert.c if (testin.pix.width != in->pix.width || in 2024 drivers/gpu/ipu-v3/ipu-image-convert.c testin.pix.height != in->pix.height || in 2039 drivers/gpu/ipu-v3/ipu-image-convert.c struct ipu_image *in, struct ipu_image *out, in 2053 drivers/gpu/ipu-v3/ipu-image-convert.c if (!in || !out || !complete || in 2059 drivers/gpu/ipu-v3/ipu-image-convert.c ret = ipu_image_convert_verify(in, out, rot_mode); in 2081 drivers/gpu/ipu-v3/ipu-image-convert.c ret = calc_image_resize_coefficients(ctx, in, out); in 2085 drivers/gpu/ipu-v3/ipu-image-convert.c s_image = &ctx->in; in 2099 drivers/gpu/ipu-v3/ipu-image-convert.c ret = fill_image(ctx, s_image, in, IMAGE_CONVERT_IN); in 2158 drivers/gpu/ipu-v3/ipu-image-convert.c if (ctx->in.tile[i].width != ctx->in.tile[0].width || in 2159 drivers/gpu/ipu-v3/ipu-image-convert.c ctx->in.tile[i].height != ctx->in.tile[0].height || in 2166 drivers/gpu/ipu-v3/ipu-image-convert.c for (i = 1; i < ctx->in.num_cols; i++) { in 2172 drivers/gpu/ipu-v3/ipu-image-convert.c for (i = 1; i < ctx->in.num_rows; i++) { in 2374 drivers/gpu/ipu-v3/ipu-image-convert.c struct ipu_image *in, struct ipu_image *out, in 2383 drivers/gpu/ipu-v3/ipu-image-convert.c ctx = ipu_image_convert_prepare(ipu, ic_task, in, out, rot_mode, in 2395 drivers/gpu/ipu-v3/ipu-image-convert.c run->in_phys = in->phys0; in 2419 drivers/gpu/ipu-v3/ipu-image-convert.c struct ipu_image *in, struct ipu_image *out, in 2428 drivers/gpu/ipu-v3/ipu-image-convert.c run = ipu_image_convert(ipu, ic_task, in, out, rot_mode, in 48 drivers/hid/hid-tmff.c static inline int tmff_scale_u16(unsigned int in, int minimum, int maximum) in 52 drivers/hid/hid-tmff.c ret = (in * (maximum - minimum) / 0xffff) + minimum; in 61 drivers/hid/hid-tmff.c static inline int tmff_scale_s8(int in, int minimum, int maximum) in 65 drivers/hid/hid-tmff.c ret = (((in + 0x80) * (maximum - minimum)) / 0xff) + minimum; in 262 drivers/hv/hv_kvp.c struct hv_kvp_msg *in = in_msg; in 271 drivers/hv/hv_kvp.c len = utf8s_to_utf16s((char *)in->body.kvp_ip_val.ip_addr, in 272 drivers/hv/hv_kvp.c strlen((char *)in->body.kvp_ip_val.ip_addr), in 279 drivers/hv/hv_kvp.c len = utf8s_to_utf16s((char *)in->body.kvp_ip_val.sub_net, in 280 drivers/hv/hv_kvp.c strlen((char *)in->body.kvp_ip_val.sub_net), in 287 drivers/hv/hv_kvp.c len = utf8s_to_utf16s((char *)in->body.kvp_ip_val.gate_way, in 288 drivers/hv/hv_kvp.c strlen((char *)in->body.kvp_ip_val.gate_way), in 295 drivers/hv/hv_kvp.c len = utf8s_to_utf16s((char *)in->body.kvp_ip_val.dns_addr, in 296 drivers/hv/hv_kvp.c strlen((char *)in->body.kvp_ip_val.dns_addr), in 303 drivers/hv/hv_kvp.c len = utf8s_to_utf16s((char *)in->body.kvp_ip_val.adapter_id, in 304 drivers/hv/hv_kvp.c strlen((char *)in->body.kvp_ip_val.adapter_id), in 312 drivers/hv/hv_kvp.c in->body.kvp_ip_val.dhcp_enabled; in 314 drivers/hv/hv_kvp.c in->body.kvp_ip_val.addr_family; in 322 drivers/hv/hv_kvp.c struct hv_kvp_ip_msg *in = in_msg; in 330 drivers/hv/hv_kvp.c utf16s_to_utf8s((wchar_t *)in->kvp_ip_val.ip_addr, in 336 drivers/hv/hv_kvp.c utf16s_to_utf8s((wchar_t *)in->kvp_ip_val.sub_net, in 342 drivers/hv/hv_kvp.c utf16s_to_utf8s((wchar_t *)in->kvp_ip_val.gate_way, in 348 drivers/hv/hv_kvp.c utf16s_to_utf8s((wchar_t *)in->kvp_ip_val.dns_addr, in 354 drivers/hv/hv_kvp.c out->body.kvp_ip_val.dhcp_enabled = in->kvp_ip_val.dhcp_enabled; in 359 drivers/hv/hv_kvp.c utf16s_to_utf8s((wchar_t *)in->kvp_ip_val.adapter_id, in 365 drivers/hv/hv_kvp.c out->body.kvp_ip_val.addr_family = in->kvp_ip_val.addr_family; in 1191 drivers/hwmon/abituguru.c SENSOR_ATTR_2(in%d_input, 0444, show_bank1_value, NULL, 0, 0), in 1192 drivers/hwmon/abituguru.c SENSOR_ATTR_2(in%d_min, 0644, show_bank1_setting, in 1194 drivers/hwmon/abituguru.c SENSOR_ATTR_2(in%d_min_alarm, 0444, show_bank1_alarm, NULL, in 1196 drivers/hwmon/abituguru.c SENSOR_ATTR_2(in%d_max, 0644, show_bank1_setting, in 1198 drivers/hwmon/abituguru.c SENSOR_ATTR_2(in%d_max_alarm, 0444, show_bank1_alarm, NULL, in 1200 drivers/hwmon/abituguru.c SENSOR_ATTR_2(in%d_beep, 0644, show_bank1_mask, in 1202 drivers/hwmon/abituguru.c SENSOR_ATTR_2(in%d_shutdown, 0644, show_bank1_mask, in 1204 drivers/hwmon/abituguru.c SENSOR_ATTR_2(in%d_min_alarm_enable, 0644, show_bank1_mask, in 1206 drivers/hwmon/abituguru.c SENSOR_ATTR_2(in%d_max_alarm_enable, 0644, show_bank1_mask, in 913 drivers/hwmon/abituguru3.c SENSOR_ATTR_2(in%d_input, 0444, show_value, NULL, 0, 0), in 914 drivers/hwmon/abituguru3.c SENSOR_ATTR_2(in%d_min, 0444, show_value, NULL, 1, 0), in 915 drivers/hwmon/abituguru3.c SENSOR_ATTR_2(in%d_max, 0444, show_value, NULL, 2, 0), in 916 drivers/hwmon/abituguru3.c SENSOR_ATTR_2(in%d_min_alarm, 0444, show_alarm, NULL, in 918 drivers/hwmon/abituguru3.c SENSOR_ATTR_2(in%d_max_alarm, 0444, show_alarm, NULL, in 920 drivers/hwmon/abituguru3.c SENSOR_ATTR_2(in%d_beep, 0444, show_mask, NULL, in 922 drivers/hwmon/abituguru3.c SENSOR_ATTR_2(in%d_shutdown, 0444, show_mask, NULL, in 924 drivers/hwmon/abituguru3.c SENSOR_ATTR_2(in%d_min_alarm_enable, 0444, show_mask, NULL, in 926 drivers/hwmon/abituguru3.c SENSOR_ATTR_2(in%d_max_alarm_enable, 0444, show_mask, NULL, in 928 drivers/hwmon/abituguru3.c SENSOR_ATTR_2(in%d_label, 0444, show_label, NULL, 0, 0) in 52 drivers/hwmon/ad7418.c u16 in[4]; in 104 drivers/hwmon/ad7418.c data->in[data->adc_max - 1 - i] = val; in 153 drivers/hwmon/ad7418.c ((data->in[attr->index] >> 6) * 2500 + 512) / 1024); in 68 drivers/hwmon/adc128d818.c u16 in[3][8]; /* Register value, normalized to 12 bit in 94 drivers/hwmon/adc128d818.c data->in[0][i] = rv >> 4; in 100 drivers/hwmon/adc128d818.c data->in[1][i] = rv << 4; in 106 drivers/hwmon/adc128d818.c data->in[2][i] = rv << 4; in 158 drivers/hwmon/adc128d818.c val = DIV_ROUND_CLOSEST(data->in[index][nr] * data->vref, 4095); in 180 drivers/hwmon/adc128d818.c data->in[index][nr] = regval << 4; in 103 drivers/hwmon/adm1025.c u8 in[6]; /* register value */ in 126 drivers/hwmon/adm1025.c data->in[i] = i2c_smbus_read_byte_data(client, in 168 drivers/hwmon/adm1025.c return sprintf(buf, "%u\n", IN_FROM_REG(data->in[index], in 256 drivers/hwmon/adm1025.c static SENSOR_DEVICE_ATTR_RO(in0_input, in, 0); in 259 drivers/hwmon/adm1025.c static SENSOR_DEVICE_ATTR_RO(in1_input, in, 1); in 262 drivers/hwmon/adm1025.c static SENSOR_DEVICE_ATTR_RO(in2_input, in, 2); in 265 drivers/hwmon/adm1025.c static SENSOR_DEVICE_ATTR_RO(in3_input, in, 3); in 268 drivers/hwmon/adm1025.c static SENSOR_DEVICE_ATTR_RO(in4_input, in, 4); in 271 drivers/hwmon/adm1025.c static SENSOR_DEVICE_ATTR_RO(in5_input, in, 5); in 266 drivers/hwmon/adm1026.c u8 in[17]; /* Register value */ in 333 drivers/hwmon/adm1026.c data->in[i] = in 473 drivers/hwmon/adm1026.c return sprintf(buf, "%d\n", INS_FROM_REG(nr, data->in[nr])); in 532 drivers/hwmon/adm1026.c static SENSOR_DEVICE_ATTR_RO(in0_input, in, 0); in 535 drivers/hwmon/adm1026.c static SENSOR_DEVICE_ATTR_RO(in1_input, in, 1); in 538 drivers/hwmon/adm1026.c static SENSOR_DEVICE_ATTR_RO(in2_input, in, 2); in 541 drivers/hwmon/adm1026.c static SENSOR_DEVICE_ATTR_RO(in3_input, in, 3); in 544 drivers/hwmon/adm1026.c static SENSOR_DEVICE_ATTR_RO(in4_input, in, 4); in 547 drivers/hwmon/adm1026.c static SENSOR_DEVICE_ATTR_RO(in5_input, in, 5); in 550 drivers/hwmon/adm1026.c static SENSOR_DEVICE_ATTR_RO(in6_input, in, 6); in 553 drivers/hwmon/adm1026.c static SENSOR_DEVICE_ATTR_RO(in7_input, in, 7); in 556 drivers/hwmon/adm1026.c static SENSOR_DEVICE_ATTR_RO(in8_input, in, 8); in 559 drivers/hwmon/adm1026.c static SENSOR_DEVICE_ATTR_RO(in9_input, in, 9); in 562 drivers/hwmon/adm1026.c static SENSOR_DEVICE_ATTR_RO(in10_input, in, 10); in 565 drivers/hwmon/adm1026.c static SENSOR_DEVICE_ATTR_RO(in11_input, in, 11); in 568 drivers/hwmon/adm1026.c static SENSOR_DEVICE_ATTR_RO(in12_input, in, 12); in 571 drivers/hwmon/adm1026.c static SENSOR_DEVICE_ATTR_RO(in13_input, in, 13); in 574 drivers/hwmon/adm1026.c static SENSOR_DEVICE_ATTR_RO(in14_input, in, 14); in 577 drivers/hwmon/adm1026.c static SENSOR_DEVICE_ATTR_RO(in15_input, in, 15); in 585 drivers/hwmon/adm1026.c return sprintf(buf, "%d\n", INS_FROM_REG(16, data->in[16]) - in 131 drivers/hwmon/adm9240.c u8 in[6]; /* ro in0_input */ in 174 drivers/hwmon/adm9240.c data->in[i] = i2c_smbus_read_byte_data(client, in 298 drivers/hwmon/adm9240.c return sprintf(buf, "%d\n", IN_FROM_REG(data->in[attr->index], in 364 drivers/hwmon/adm9240.c static SENSOR_DEVICE_ATTR_RO(in0_input, in, 0); in 367 drivers/hwmon/adm9240.c static SENSOR_DEVICE_ATTR_RO(in1_input, in, 1); in 370 drivers/hwmon/adm9240.c static SENSOR_DEVICE_ATTR_RO(in2_input, in, 2); in 373 drivers/hwmon/adm9240.c static SENSOR_DEVICE_ATTR_RO(in3_input, in, 3); in 376 drivers/hwmon/adm9240.c static SENSOR_DEVICE_ATTR_RO(in4_input, in, 4); in 379 drivers/hwmon/adm9240.c static SENSOR_DEVICE_ATTR_RO(in5_input, in, 5); in 640 drivers/hwmon/adt7411.c HWMON_CHANNEL_INFO(in, in 190 drivers/hwmon/asb100.c u8 in[7]; /* Register value */ in 244 drivers/hwmon/asb100.c show_in_reg(in) in 271 drivers/hwmon/asb100.c static SENSOR_DEVICE_ATTR(in##offset##_input, S_IRUGO, \ in 273 drivers/hwmon/asb100.c static SENSOR_DEVICE_ATTR(in##offset##_min, S_IRUGO | S_IWUSR, \ in 275 drivers/hwmon/asb100.c static SENSOR_DEVICE_ATTR(in##offset##_max, S_IRUGO | S_IWUSR, \ in 954 drivers/hwmon/asb100.c data->in[i] = asb100_read_value(client, in 217 drivers/hwmon/dme1737.c u16 in[8]; in 617 drivers/hwmon/dme1737.c for (ix = 0; ix < ARRAY_SIZE(data->in); ix++) { in 625 drivers/hwmon/dme1737.c data->in[ix] = dme1737_read(data, in 666 drivers/hwmon/dme1737.c for (ix = 0; ix < ARRAY_SIZE(data->in); ix++) { in 669 drivers/hwmon/dme1737.c data->in[ix] |= (lsb[DME1737_REG_IN_LSB[ix]] << in 811 drivers/hwmon/dme1737.c res = IN_FROM_REG(data->in[ix], data->in_nominal[ix], 16); in 1512 drivers/hwmon/dme1737.c static SENSOR_DEVICE_ATTR_2(in##ix##_input, S_IRUGO, \ in 1514 drivers/hwmon/dme1737.c static SENSOR_DEVICE_ATTR_2(in##ix##_min, S_IRUGO | S_IWUSR, \ in 1516 drivers/hwmon/dme1737.c static SENSOR_DEVICE_ATTR_2(in##ix##_max, S_IRUGO | S_IWUSR, \ in 1518 drivers/hwmon/dme1737.c static SENSOR_DEVICE_ATTR_2(in##ix##_alarm, S_IRUGO, \ in 52 drivers/hwmon/emc6w201.c u8 in[3][6]; in 132 drivers/hwmon/emc6w201.c data->in[input][nr] = in 135 drivers/hwmon/emc6w201.c data->in[min][nr] = in 138 drivers/hwmon/emc6w201.c data->in[max][nr] = in 187 drivers/hwmon/emc6w201.c (unsigned)data->in[sf][nr] * nominal_mv[nr] / 0xC0); in 211 drivers/hwmon/emc6w201.c data->in[sf][nr] = val; in 212 drivers/hwmon/emc6w201.c err = emc6w201_write8(client, reg, data->in[sf][nr]); in 303 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RO(in0_input, in, 0, input); in 304 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(in0_min, in, 0, min); in 305 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(in0_max, in, 0, max); in 306 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RO(in1_input, in, 1, input); in 307 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(in1_min, in, 1, min); in 308 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(in1_max, in, 1, max); in 309 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RO(in2_input, in, 2, input); in 310 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(in2_min, in, 2, min); in 311 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(in2_max, in, 2, max); in 312 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RO(in3_input, in, 3, input); in 313 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(in3_min, in, 3, min); in 314 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(in3_max, in, 3, max); in 315 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RO(in4_input, in, 4, input); in 316 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(in4_min, in, 4, min); in 317 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(in4_max, in, 4, max); in 318 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RO(in5_input, in, 5, input); in 319 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(in5_min, in, 5, min); in 320 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RW(in5_max, in, 5, max); in 173 drivers/hwmon/f71805f.c u8 in[11]; in 387 drivers/hwmon/f71805f.c data->in[nr] = f71805f_read8(data, in 426 drivers/hwmon/f71805f.c return sprintf(buf, "%ld\n", in0_from_reg(data->in[nr])); in 498 drivers/hwmon/f71805f.c return sprintf(buf, "%ld\n", in_from_reg(data->in[nr])); in 262 drivers/hwmon/f71882fg.c u8 in[F71882FG_MAX_INS]; in 1358 drivers/hwmon/f71882fg.c data->in[nr] = f71882fg_read8(data, in 1470 drivers/hwmon/f71882fg.c return sprintf(buf, "%d\n", data->in[nr] * 8); in 93 drivers/hwmon/f75375s.c u8 in[4]; in 228 drivers/hwmon/f75375s.c data->in[nr] = in 513 drivers/hwmon/f75375s.c return sprintf(buf, "%d\n", VOLT_FROM_REG(data->in[nr])); in 1001 drivers/hwmon/fschmd.c int in = shuffle[dmi_data[i] - 1]; in 1004 drivers/hwmon/fschmd.c if (found & (1 << in)) in 1007 drivers/hwmon/fschmd.c mult[in] = dmi_data[i + 1] | (dmi_data[i + 2] << 8); in 1008 drivers/hwmon/fschmd.c offset[in] = dmi_data[i + 3] | (dmi_data[i + 4] << 8); in 1010 drivers/hwmon/fschmd.c found |= 1 << in; in 566 drivers/hwmon/ina3221.c HWMON_CHANNEL_INFO(in, in 528 drivers/hwmon/it87.c u8 in[NUM_VIN][3]; /* [nr][0]=in, [1]=min, [2]=max */ in 758 drivers/hwmon/it87.c data->in[i][0] = in 765 drivers/hwmon/it87.c data->in[i][1] = in 767 drivers/hwmon/it87.c data->in[i][2] = in 863 drivers/hwmon/it87.c return sprintf(buf, "%d\n", in_from_reg(data, nr, data->in[nr][index])); in 879 drivers/hwmon/it87.c data->in[nr][index] = in_to_reg(data, nr, val); in 883 drivers/hwmon/it87.c data->in[nr][index]); in 123 drivers/hwmon/lm78.c u8 in[7]; /* Register value */ in 147 drivers/hwmon/lm78.c return sprintf(buf, "%d\n", IN_FROM_REG(data->in[attr->index])); in 206 drivers/hwmon/lm78.c static SENSOR_DEVICE_ATTR_RO(in0_input, in, 0); in 209 drivers/hwmon/lm78.c static SENSOR_DEVICE_ATTR_RO(in1_input, in, 1); in 212 drivers/hwmon/lm78.c static SENSOR_DEVICE_ATTR_RO(in2_input, in, 2); in 215 drivers/hwmon/lm78.c static SENSOR_DEVICE_ATTR_RO(in3_input, in, 3); in 218 drivers/hwmon/lm78.c static SENSOR_DEVICE_ATTR_RO(in4_input, in, 4); in 221 drivers/hwmon/lm78.c static SENSOR_DEVICE_ATTR_RO(in5_input, in, 5); in 224 drivers/hwmon/lm78.c static SENSOR_DEVICE_ATTR_RO(in6_input, in, 6); in 743 drivers/hwmon/lm78.c data->in[i] = in 123 drivers/hwmon/lm80.c u8 in[i_num_in][7]; /* Register value, 1st index is enum in_index */ in 176 drivers/hwmon/lm80.c data->in[i_input][i] = rv; in 181 drivers/hwmon/lm80.c data->in[i_min][i] = rv; in 186 drivers/hwmon/lm80.c data->in[i_max][i] = rv; in 268 drivers/hwmon/lm80.c return sprintf(buf, "%d\n", IN_FROM_REG(data->in[nr][index])); in 287 drivers/hwmon/lm80.c data->in[nr][index] = IN_TO_REG(val); in 288 drivers/hwmon/lm80.c lm80_write_value(client, reg, data->in[nr][index]); in 450 drivers/hwmon/lm80.c static SENSOR_DEVICE_ATTR_2_RW(in0_min, in, i_min, 0); in 451 drivers/hwmon/lm80.c static SENSOR_DEVICE_ATTR_2_RW(in1_min, in, i_min, 1); in 452 drivers/hwmon/lm80.c static SENSOR_DEVICE_ATTR_2_RW(in2_min, in, i_min, 2); in 453 drivers/hwmon/lm80.c static SENSOR_DEVICE_ATTR_2_RW(in3_min, in, i_min, 3); in 454 drivers/hwmon/lm80.c static SENSOR_DEVICE_ATTR_2_RW(in4_min, in, i_min, 4); in 455 drivers/hwmon/lm80.c static SENSOR_DEVICE_ATTR_2_RW(in5_min, in, i_min, 5); in 456 drivers/hwmon/lm80.c static SENSOR_DEVICE_ATTR_2_RW(in6_min, in, i_min, 6); in 457 drivers/hwmon/lm80.c static SENSOR_DEVICE_ATTR_2_RW(in0_max, in, i_max, 0); in 458 drivers/hwmon/lm80.c static SENSOR_DEVICE_ATTR_2_RW(in1_max, in, i_max, 1); in 459 drivers/hwmon/lm80.c static SENSOR_DEVICE_ATTR_2_RW(in2_max, in, i_max, 2); in 460 drivers/hwmon/lm80.c static SENSOR_DEVICE_ATTR_2_RW(in3_max, in, i_max, 3); in 461 drivers/hwmon/lm80.c static SENSOR_DEVICE_ATTR_2_RW(in4_max, in, i_max, 4); in 462 drivers/hwmon/lm80.c static SENSOR_DEVICE_ATTR_2_RW(in5_max, in, i_max, 5); in 463 drivers/hwmon/lm80.c static SENSOR_DEVICE_ATTR_2_RW(in6_max, in, i_max, 6); in 464 drivers/hwmon/lm80.c static SENSOR_DEVICE_ATTR_2_RO(in0_input, in, i_input, 0); in 465 drivers/hwmon/lm80.c static SENSOR_DEVICE_ATTR_2_RO(in1_input, in, i_input, 1); in 466 drivers/hwmon/lm80.c static SENSOR_DEVICE_ATTR_2_RO(in2_input, in, i_input, 2); in 467 drivers/hwmon/lm80.c static SENSOR_DEVICE_ATTR_2_RO(in3_input, in, i_input, 3); in 468 drivers/hwmon/lm80.c static SENSOR_DEVICE_ATTR_2_RO(in4_input, in, i_input, 4); in 469 drivers/hwmon/lm80.c static SENSOR_DEVICE_ATTR_2_RO(in5_input, in, i_input, 5); in 470 drivers/hwmon/lm80.c static SENSOR_DEVICE_ATTR_2_RO(in6_input, in, i_input, 6); in 301 drivers/hwmon/lm85.c u8 in[8]; /* Register value */ in 407 drivers/hwmon/lm85.c data->in[i] = in 414 drivers/hwmon/lm85.c data->in[4] = lm85_read_value(client, LM85_REG_IN(4)); in 434 drivers/hwmon/lm85.c data->in[i] = lm85_read_value(client, in 848 drivers/hwmon/lm85.c return sprintf(buf, "%d\n", INSEXT_FROM_REG(nr, data->in[nr], in 908 drivers/hwmon/lm85.c static SENSOR_DEVICE_ATTR_RO(in0_input, in, 0); in 911 drivers/hwmon/lm85.c static SENSOR_DEVICE_ATTR_RO(in1_input, in, 1); in 914 drivers/hwmon/lm85.c static SENSOR_DEVICE_ATTR_RO(in2_input, in, 2); in 917 drivers/hwmon/lm85.c static SENSOR_DEVICE_ATTR_RO(in3_input, in, 3); in 920 drivers/hwmon/lm85.c static SENSOR_DEVICE_ATTR_RO(in4_input, in, 4); in 923 drivers/hwmon/lm85.c static SENSOR_DEVICE_ATTR_RO(in5_input, in, 5); in 926 drivers/hwmon/lm85.c static SENSOR_DEVICE_ATTR_RO(in6_input, in, 6); in 929 drivers/hwmon/lm85.c static SENSOR_DEVICE_ATTR_RO(in7_input, in, 7); in 150 drivers/hwmon/lm87.c u8 in[8]; /* register value */ in 198 drivers/hwmon/lm87.c data->in[i] = lm87_read_value(client, in 208 drivers/hwmon/lm87.c data->in[6+i] = lm87_read_value(client, in 272 drivers/hwmon/lm87.c return sprintf(buf, "%u\n", IN_FROM_REG(data->in[nr], in 1110 drivers/hwmon/lm93.c static SENSOR_DEVICE_ATTR_RO(in1_input, in, 0); in 1111 drivers/hwmon/lm93.c static SENSOR_DEVICE_ATTR_RO(in2_input, in, 1); in 1112 drivers/hwmon/lm93.c static SENSOR_DEVICE_ATTR_RO(in3_input, in, 2); in 1113 drivers/hwmon/lm93.c static SENSOR_DEVICE_ATTR_RO(in4_input, in, 3); in 1114 drivers/hwmon/lm93.c static SENSOR_DEVICE_ATTR_RO(in5_input, in, 4); in 1115 drivers/hwmon/lm93.c static SENSOR_DEVICE_ATTR_RO(in6_input, in, 5); in 1116 drivers/hwmon/lm93.c static SENSOR_DEVICE_ATTR_RO(in7_input, in, 6); in 1117 drivers/hwmon/lm93.c static SENSOR_DEVICE_ATTR_RO(in8_input, in, 7); in 1118 drivers/hwmon/lm93.c static SENSOR_DEVICE_ATTR_RO(in9_input, in, 8); in 1119 drivers/hwmon/lm93.c static SENSOR_DEVICE_ATTR_RO(in10_input, in, 9); in 1120 drivers/hwmon/lm93.c static SENSOR_DEVICE_ATTR_RO(in11_input, in, 10); in 1121 drivers/hwmon/lm93.c static SENSOR_DEVICE_ATTR_RO(in12_input, in, 11); in 1122 drivers/hwmon/lm93.c static SENSOR_DEVICE_ATTR_RO(in13_input, in, 12); in 1123 drivers/hwmon/lm93.c static SENSOR_DEVICE_ATTR_RO(in14_input, in, 13); in 1124 drivers/hwmon/lm93.c static SENSOR_DEVICE_ATTR_RO(in15_input, in, 14); in 1125 drivers/hwmon/lm93.c static SENSOR_DEVICE_ATTR_RO(in16_input, in, 15); in 326 drivers/hwmon/lochnagar-hwmon.c HWMON_CHANNEL_INFO(in, HWMON_I_INPUT | HWMON_I_LABEL, in 391 drivers/hwmon/ltc4245.c HWMON_CHANNEL_INFO(in, in 123 drivers/hwmon/max1111.c SENSOR_DEVICE_ATTR(in##_id##_input, S_IRUGO, show_adc, NULL, _id) in 216 drivers/hwmon/max197.c static SENSOR_DEVICE_ATTR(in##chan##_input, S_IRUGO, \ in 218 drivers/hwmon/max197.c static SENSOR_DEVICE_ATTR_2(in##chan##_min, S_IRUGO | S_IWUSR, \ in 222 drivers/hwmon/max197.c static SENSOR_DEVICE_ATTR_2(in##chan##_max, S_IRUGO | S_IWUSR, \ in 137 drivers/hwmon/menf21bmc_hwmon.c static SENSOR_DEVICE_ATTR_RO(in0_input, in, 0); in 141 drivers/hwmon/menf21bmc_hwmon.c static SENSOR_DEVICE_ATTR_RO(in1_input, in, 1); in 145 drivers/hwmon/menf21bmc_hwmon.c static SENSOR_DEVICE_ATTR_RO(in2_input, in, 2); in 149 drivers/hwmon/menf21bmc_hwmon.c static SENSOR_DEVICE_ATTR_RO(in3_input, in, 3); in 153 drivers/hwmon/menf21bmc_hwmon.c static SENSOR_DEVICE_ATTR_RO(in4_input, in, 4); in 309 drivers/hwmon/nct6683.c u8 in[3][NCT6683_NUM_REG_MON]; /* [0]=in, [1]=in_max, [2]=in_min */ in 608 drivers/hwmon/nct6683.c data->in[j][i] = in 671 drivers/hwmon/nct6683.c in_from_reg(data->in[index][nr], data->in_index[index])); in 1146 drivers/hwmon/nct6775.c u8 in[15][3]; /* [0]=in, [1]=in_max, [2]=in_min */ in 1786 drivers/hwmon/nct6775.c data->in[i][0] = nct6775_read_value(data, in 1788 drivers/hwmon/nct6775.c data->in[i][1] = nct6775_read_value(data, in 1790 drivers/hwmon/nct6775.c data->in[i][2] = nct6775_read_value(data, in 1878 drivers/hwmon/nct6775.c return sprintf(buf, "%ld\n", in_from_reg(data->in[nr][index], nr)); in 1896 drivers/hwmon/nct6775.c data->in[nr][index] = in_to_reg(val, nr); in 1898 drivers/hwmon/nct6775.c data->in[nr][index]); in 2052 drivers/hwmon/nct6775.c int in = index / 5; /* voltage index */ in 2054 drivers/hwmon/nct6775.c if (!(data->have_in & BIT(in))) in 4676 drivers/hwmon/nct6775.c data->in[i][1]); in 4678 drivers/hwmon/nct6775.c data->in[i][2]); in 722 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RO(in0_input, in, 0, 0); in 723 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RW(in0_min, in, 0, 1); in 724 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RW(in0_max, in, 0, 2); in 728 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RO(in1_input, in, 1, 0); in 730 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RO(in2_input, in, 2, 0); in 731 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RW(in2_min, in, 2, 1); in 732 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RW(in2_max, in, 2, 2); in 736 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RO(in3_input, in, 3, 0); in 737 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RW(in3_min, in, 3, 1); in 738 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RW(in3_max, in, 3, 2); in 742 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RO(in4_input, in, 4, 0); in 743 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RW(in4_min, in, 4, 1); in 744 drivers/hwmon/nct7802.c static SENSOR_DEVICE_ATTR_2_RW(in4_max, in, 4, 2); in 773 drivers/hwmon/nct7904.c HWMON_CHANNEL_INFO(in, in 195 drivers/hwmon/pc87360.c u8 in[14]; /* Register value */ in 397 drivers/hwmon/pc87360.c return sprintf(buf, "%u\n", IN_FROM_REG(data->in[attr->index], in 648 drivers/hwmon/pc87360.c return sprintf(buf, "%u\n", IN_FROM_REG(data->in[attr->index], in 1616 drivers/hwmon/pc87360.c data->in[i] = pc87360_read_value(data, LD_IN, in 85 drivers/hwmon/pcf8591.c static DEVICE_ATTR(in##channel##_input, S_IRUGO, \ in 90 drivers/hwmon/raspberrypi-hwmon.c HWMON_CHANNEL_INFO(in, in 27 drivers/hwmon/s3c-hwmon.c struct sensor_device_attribute in; in 160 drivers/hwmon/s3c-hwmon.c cfg = pdata->in[sen_attr->index]; in 188 drivers/hwmon/s3c-hwmon.c cfg = pdata->in[sen_attr->index]; in 217 drivers/hwmon/s3c-hwmon.c attr = &attrs->in; in 244 drivers/hwmon/s3c-hwmon.c device_remove_file(dev, &attrs->in.dev_attr); in 255 drivers/hwmon/s3c-hwmon.c device_remove_file(dev, &attrs->in.dev_attr); in 306 drivers/hwmon/s3c-hwmon.c for (i = 0; i < ARRAY_SIZE(pdata->in); i++) { in 307 drivers/hwmon/s3c-hwmon.c struct s3c_hwmon_chcfg *cfg = pdata->in[i]; in 322 drivers/hwmon/s3c-hwmon.c ret = s3c_hwmon_create_attr(&dev->dev, pdata->in[i], in 81 drivers/hwmon/sch5627.c u16 in[SCH5627_NO_IN]; in 132 drivers/hwmon/sch5627.c data->in[i] = val; in 302 drivers/hwmon/sch5627.c data->in[attr->index] * SCH5627_REG_IN_FACTOR[attr->index], in 363 drivers/hwmon/sch5627.c static SENSOR_DEVICE_ATTR_RO(in0_input, in, 0); in 364 drivers/hwmon/sch5627.c static SENSOR_DEVICE_ATTR_RO(in1_input, in, 1); in 365 drivers/hwmon/sch5627.c static SENSOR_DEVICE_ATTR_RO(in2_input, in, 2); in 366 drivers/hwmon/sch5627.c static SENSOR_DEVICE_ATTR_RO(in3_input, in, 3); in 367 drivers/hwmon/sch5627.c static SENSOR_DEVICE_ATTR_RO(in4_input, in, 4); in 62 drivers/hwmon/sch5636.c u8 in[SCH5636_NO_INS]; in 88 drivers/hwmon/sch5636.c data->in[i] = val; in 177 drivers/hwmon/sch5636.c data->in[attr->index] * SCH5636_REG_IN_FACTORS[attr->index], in 180 drivers/hwmon/sis5595.c u8 in[5]; /* Register value */ in 217 drivers/hwmon/sis5595.c return sprintf(buf, "%d\n", IN_FROM_REG(data->in[nr])); in 278 drivers/hwmon/sis5595.c static SENSOR_DEVICE_ATTR_RO(in0_input, in, 0); in 281 drivers/hwmon/sis5595.c static SENSOR_DEVICE_ATTR_RO(in1_input, in, 1); in 284 drivers/hwmon/sis5595.c static SENSOR_DEVICE_ATTR_RO(in2_input, in, 2); in 287 drivers/hwmon/sis5595.c static SENSOR_DEVICE_ATTR_RO(in3_input, in, 3); in 290 drivers/hwmon/sis5595.c static SENSOR_DEVICE_ATTR_RO(in4_input, in, 4); in 700 drivers/hwmon/sis5595.c data->in[i] = in 92 drivers/hwmon/smsc47m192.c u8 in[8]; /* Register value */ in 119 drivers/hwmon/smsc47m192.c data->in[i] = i2c_smbus_read_byte_data(client, in 175 drivers/hwmon/smsc47m192.c return sprintf(buf, "%d\n", IN_FROM_REG(data->in[nr], nr)); in 240 drivers/hwmon/smsc47m192.c static SENSOR_DEVICE_ATTR_RO(in0_input, in, 0); in 243 drivers/hwmon/smsc47m192.c static SENSOR_DEVICE_ATTR_RO(in1_input, in, 1); in 246 drivers/hwmon/smsc47m192.c static SENSOR_DEVICE_ATTR_RO(in2_input, in, 2); in 249 drivers/hwmon/smsc47m192.c static SENSOR_DEVICE_ATTR_RO(in3_input, in, 3); in 252 drivers/hwmon/smsc47m192.c static SENSOR_DEVICE_ATTR_RO(in4_input, in, 4); in 255 drivers/hwmon/smsc47m192.c static SENSOR_DEVICE_ATTR_RO(in5_input, in, 5); in 258 drivers/hwmon/smsc47m192.c static SENSOR_DEVICE_ATTR_RO(in6_input, in, 6); in 261 drivers/hwmon/smsc47m192.c static SENSOR_DEVICE_ATTR_RO(in7_input, in, 7); in 310 drivers/hwmon/via686a.c u8 in[5]; /* Register value */ in 349 drivers/hwmon/via686a.c return sprintf(buf, "%ld\n", IN_FROM_REG(data->in[nr], nr)); in 407 drivers/hwmon/via686a.c static SENSOR_DEVICE_ATTR_RO(in0_input, in, 0); in 410 drivers/hwmon/via686a.c static SENSOR_DEVICE_ATTR_RO(in1_input, in, 1); in 413 drivers/hwmon/via686a.c static SENSOR_DEVICE_ATTR_RO(in2_input, in, 2); in 416 drivers/hwmon/via686a.c static SENSOR_DEVICE_ATTR_RO(in3_input, in, 3); in 419 drivers/hwmon/via686a.c static SENSOR_DEVICE_ATTR_RO(in4_input, in, 4); in 757 drivers/hwmon/via686a.c data->in[i] = in 112 drivers/hwmon/vt1211.c u8 in[6]; in 260 drivers/hwmon/vt1211.c for (ix = 0; ix < ARRAY_SIZE(data->in); ix++) { in 262 drivers/hwmon/vt1211.c data->in[ix] = vt1211_read8(data, in 352 drivers/hwmon/vt1211.c res = IN_FROM_REG(ix, data->in[ix]); in 912 drivers/hwmon/vt1211.c { SENSOR_ATTR_2(in##ix##_input, S_IRUGO, \ in 914 drivers/hwmon/vt1211.c SENSOR_ATTR_2(in##ix##_min, S_IRUGO | S_IWUSR, \ in 916 drivers/hwmon/vt1211.c SENSOR_ATTR_2(in##ix##_max, S_IRUGO | S_IWUSR, \ in 918 drivers/hwmon/vt1211.c SENSOR_ATTR_2(in##ix##_alarm, S_IRUGO, \ in 151 drivers/hwmon/vt8231.c u8 in[6]; /* Register value */ in 189 drivers/hwmon/vt8231.c return sprintf(buf, "%d\n", ((data->in[nr] - 3) * 10000) / 958); in 259 drivers/hwmon/vt8231.c (((data->in[5] - 3) * 10000 * 54) / (958 * 34))); in 320 drivers/hwmon/vt8231.c static SENSOR_DEVICE_ATTR_RO(in0_input, in, 0); in 323 drivers/hwmon/vt8231.c static SENSOR_DEVICE_ATTR_RO(in1_input, in, 1); in 326 drivers/hwmon/vt8231.c static SENSOR_DEVICE_ATTR_RO(in2_input, in, 2); in 329 drivers/hwmon/vt8231.c static SENSOR_DEVICE_ATTR_RO(in3_input, in, 3); in 332 drivers/hwmon/vt8231.c static SENSOR_DEVICE_ATTR_RO(in4_input, in, 4); in 884 drivers/hwmon/vt8231.c data->in[i] = vt8231_read_value(data, in 452 drivers/hwmon/w83627ehf.c u8 in[10]; /* Register value */ in 804 drivers/hwmon/w83627ehf.c data->in[i] = w83627ehf_read_value(data, in 941 drivers/hwmon/w83627ehf.c show_in_reg(in) in 361 drivers/hwmon/w83627hf.c u8 in[9]; /* Register value */ in 481 drivers/hwmon/w83627hf.c return sprintf(buf, "%ld\n", (long)IN_FROM_REG(data->in[nr])); in 583 drivers/hwmon/w83627hf.c return show_in_0(data, buf, data->in[0]); in 1838 drivers/hwmon/w83627hf.c data->in[i] = in 212 drivers/hwmon/w83781d.c u8 in[9]; /* Register value - 8 & 9 for 782D only */ in 255 drivers/hwmon/w83781d.c show_in_reg(in); in 282 drivers/hwmon/w83781d.c static SENSOR_DEVICE_ATTR(in##offset##_input, S_IRUGO, \ in 284 drivers/hwmon/w83781d.c static SENSOR_DEVICE_ATTR(in##offset##_min, S_IRUGO | S_IWUSR, \ in 286 drivers/hwmon/w83781d.c static SENSOR_DEVICE_ATTR(in##offset##_max, S_IRUGO | S_IWUSR, \ in 1460 drivers/hwmon/w83781d.c data->in[i] = in 280 drivers/hwmon/w83791d.c u8 in[NUMBER_OF_VIN]; /* Register value */ in 364 drivers/hwmon/w83791d.c show_in_reg(in); in 1502 drivers/hwmon/w83791d.c data->in[i] = w83791d_read(client, in 1628 drivers/hwmon/w83791d.c dev_dbg(dev, "vin[%d] is: 0x%02x\n", i, data->in[i]); in 270 drivers/hwmon/w83792d.c u8 in[9]; /* Register value */ in 323 drivers/hwmon/w83792d.c return (data->in[nr] << 2) | ((data->low_bits >> (2 * nr)) & 0x03); in 1503 drivers/hwmon/w83792d.c data->in[i] = w83792d_read_value(client, in 1618 drivers/hwmon/w83792d.c dev_dbg(dev, "vin[%d] is: 0x%x\n", i, data->in[i]); in 217 drivers/hwmon/w83793.c u8 in[10][3]; /* Register value, read/high/low */ in 962 drivers/hwmon/w83793.c u16 val = data->in[index][nr]; in 1007 drivers/hwmon/w83793.c data->in[index][nr] = val; in 1009 drivers/hwmon/w83793.c data->in[index][nr]); in 1017 drivers/hwmon/w83793.c SENSOR_ATTR_2(in##index##_input, S_IRUGO, show_in, NULL, \ in 1019 drivers/hwmon/w83793.c SENSOR_ATTR_2(in##index##_max, S_IRUGO | S_IWUSR, show_in, \ in 1021 drivers/hwmon/w83793.c SENSOR_ATTR_2(in##index##_min, S_IRUGO | S_IWUSR, show_in, \ in 1023 drivers/hwmon/w83793.c SENSOR_ATTR_2(in##index##_alarm, S_IRUGO, show_alarm_beep, \ in 1025 drivers/hwmon/w83793.c SENSOR_ATTR_2(in##index##_beep, S_IWUSR | S_IRUGO, \ in 1958 drivers/hwmon/w83793.c for (j = 0; j < ARRAY_SIZE(data->in); j++) { in 1959 drivers/hwmon/w83793.c data->in[j][i] = in 2043 drivers/hwmon/w83793.c for (i = 0; i < ARRAY_SIZE(data->in); i++) in 2044 drivers/hwmon/w83793.c data->in[i][IN_READ] = in 330 drivers/hwmon/w83795.c u16 in[21][3]; /* Register value, read/high/low */ in 459 drivers/hwmon/w83795.c for (i = 0; i < ARRAY_SIZE(data->in); i++) { in 462 drivers/hwmon/w83795.c data->in[i][IN_MAX] = in 464 drivers/hwmon/w83795.c data->in[i][IN_LOW] = in 606 drivers/hwmon/w83795.c for (i = 0; i < ARRAY_SIZE(data->in); i++) { in 611 drivers/hwmon/w83795.c data->in[i][IN_READ] = tmp; in 622 drivers/hwmon/w83795.c data->in[i][IN_MAX] = in 624 drivers/hwmon/w83795.c data->in[i][IN_LOW] = in 1482 drivers/hwmon/w83795.c u16 val = data->in[index][nr]; in 1541 drivers/hwmon/w83795.c data->in[index][nr] = tmp; in 1610 drivers/hwmon/w83795.c SENSOR_ATTR_2(in##index##_input, S_IRUGO, show_in, NULL, \ in 1612 drivers/hwmon/w83795.c SENSOR_ATTR_2(in##index##_max, S_IRUGO | S_IWUSR, show_in, \ in 1614 drivers/hwmon/w83795.c SENSOR_ATTR_2(in##index##_min, S_IRUGO | S_IWUSR, show_in, \ in 1616 drivers/hwmon/w83795.c SENSOR_ATTR_2(in##index##_alarm, S_IRUGO, show_alarm_beep, \ in 1618 drivers/hwmon/w83795.c SENSOR_ATTR_2(in##index##_beep, S_IWUSR | S_IRUGO, \ in 121 drivers/hwmon/w83l786ng.c u8 in[3]; in 164 drivers/hwmon/w83l786ng.c data->in[i] = w83l786ng_read_value(client, in 232 drivers/hwmon/w83l786ng.c show_in_reg(in) in 71 drivers/hwmon/wm831x-hwmon.c static SENSOR_DEVICE_ATTR(in##id##_input, S_IRUGO, show_voltage, \ in 76 drivers/hwmon/wm831x-hwmon.c static SENSOR_DEVICE_ATTR(in##id##_label, S_IRUGO, show_label, \ in 47 drivers/hwmon/wm8350-hwmon.c static SENSOR_DEVICE_ATTR(in##id##_input, S_IRUGO, show_voltage,\ in 49 drivers/hwmon/wm8350-hwmon.c static SENSOR_DEVICE_ATTR(in##id##_label, S_IRUGO, show_label, \ in 70 drivers/hwtracing/coresight/coresight-platform.c int in = 0, out = 0; in 78 drivers/hwtracing/coresight/coresight-platform.c in++; in 84 drivers/hwtracing/coresight/coresight-platform.c *nr_inport = in; in 41 drivers/i3c/device.c if (!xfers[i].len || !xfers[i].data.in) in 866 drivers/i3c/master/dw-i3c-master.c cmd->rx_buf = i3c_xfers[i].data.in; in 775 drivers/i3c/master/i3c-master-cdns.c ccmd->rx_buf = xfers[i].data.in; in 337 drivers/ide/ide-acpi.c cmd.valid.in.tf = IDE_VALID_IN_TF | IDE_VALID_DEVICE; in 102 drivers/ide/ide-disk.c cmd.valid.in.tf = IDE_VALID_IN_TF | IDE_VALID_DEVICE; in 124 drivers/ide/ide-disk.c cmd.valid.in.hob = IDE_VALID_IN_HOB; in 220 drivers/ide/ide-disk.c cmd.valid.in.tf = IDE_VALID_IN_TF | IDE_VALID_DEVICE; in 223 drivers/ide/ide-disk.c cmd.valid.in.hob = IDE_VALID_IN_HOB; in 264 drivers/ide/ide-disk.c cmd.valid.in.tf = IDE_VALID_IN_TF | IDE_VALID_DEVICE; in 267 drivers/ide/ide-disk.c cmd.valid.in.hob = IDE_VALID_IN_HOB; in 517 drivers/ide/ide-disk.c cmd.valid.in.tf = IDE_VALID_IN_TF | IDE_VALID_DEVICE; in 592 drivers/ide/ide-disk.c cmd.valid.in.tf = IDE_VALID_IN_TF | IDE_VALID_DEVICE; in 777 drivers/ide/ide-disk.c cmd.valid.in.tf = IDE_VALID_IN_TF | IDE_VALID_DEVICE; in 21 drivers/ide/ide-disk_proc.c cmd.valid.in.tf = IDE_VALID_IN_TF | IDE_VALID_DEVICE; in 38 drivers/ide/ide-disk_proc.c cmd.valid.in.tf = IDE_VALID_IN_TF | IDE_VALID_DEVICE; in 225 drivers/ide/ide-io.c cmd.valid.in.tf = IDE_VALID_IN_TF | IDE_VALID_DEVICE; in 149 drivers/ide/ide-ioctls.c cmd.valid.in.tf = IDE_VALID_NSECT; in 153 drivers/ide/ide-ioctls.c cmd.valid.in.tf = IDE_VALID_NSECT; in 208 drivers/ide/ide-ioctls.c cmd.valid.in.tf = IDE_VALID_IN_TF | IDE_VALID_DEVICE; in 34 drivers/ide/ide-lib.c cmd.valid.in.tf = IDE_VALID_LBA; in 35 drivers/ide/ide-lib.c cmd.valid.in.hob = IDE_VALID_LBA; in 38 drivers/ide/ide-lib.c cmd.valid.in.tf = IDE_VALID_LBA | IDE_VALID_DEVICE; in 80 drivers/ide/ide-park.c cmd.valid.in.tf = IDE_VALID_IN_TF | IDE_VALID_DEVICE; in 186 drivers/ide/ide-pm.c cmd.valid.in.tf = IDE_VALID_IN_TF | IDE_VALID_DEVICE; in 200 drivers/ide/ide-proc.c cmd.valid.in.tf = IDE_VALID_NSECT; in 37 drivers/ide/ide-taskfile.c tp_ops->tf_read(drive, &cmd->tf, cmd->valid.in.tf); in 42 drivers/ide/ide-taskfile.c tp_ops->tf_read(drive, &cmd->hob, cmd->valid.in.hob); in 70 drivers/ide/ide-taskfile.c cmd.valid.in.tf = IDE_VALID_IN_TF | IDE_VALID_DEVICE; in 522 drivers/ide/ide-taskfile.c cmd.valid.in.tf = IDE_VALID_DEVICE | IDE_VALID_IN_TF; in 527 drivers/ide/ide-taskfile.c cmd.valid.in.hob = IDE_VALID_IN_HOB; in 115 drivers/iio/accel/mma9551_core.c struct i2c_msg in, out; in 152 drivers/iio/accel/mma9551_core.c in.addr = client->addr; in 153 drivers/iio/accel/mma9551_core.c in.flags = I2C_M_RD; in 154 drivers/iio/accel/mma9551_core.c in.len = sizeof(rsp); in 155 drivers/iio/accel/mma9551_core.c in.buf = (u8 *)&rsp; in 157 drivers/iio/accel/mma9551_core.c ret = i2c_transfer(client->adapter, &in, 1); in 857 drivers/infiniband/core/roce_gid_mgmt.c struct sockaddr_in in; in 861 drivers/infiniband/core/roce_gid_mgmt.c in.sin_family = AF_INET; in 862 drivers/infiniband/core/roce_gid_mgmt.c in.sin_addr.s_addr = ifa->ifa_address; in 865 drivers/infiniband/core/roce_gid_mgmt.c return addr_event(this, event, (struct sockaddr *)&in, ndev); in 1723 drivers/infiniband/core/ucma.c if (hdr.in + sizeof(hdr) > len) in 1729 drivers/infiniband/core/ucma.c ret = ucma_cmd_table[hdr.cmd](file, buf + sizeof(hdr), hdr.in, hdr.out); in 711 drivers/infiniband/core/uverbs_ioctl.c const struct uverbs_attr *in = in 716 drivers/infiniband/core/uverbs_ioctl.c if (!IS_ERR(in)) { in 717 drivers/infiniband/core/uverbs_ioctl.c udata->inlen = in->ptr_attr.len; in 718 drivers/infiniband/core/uverbs_ioctl.c if (uverbs_attr_ptr_is_inline(in)) in 720 drivers/infiniband/core/uverbs_ioctl.c &pbundle->user_attrs[in->ptr_attr.uattr_idx] in 723 drivers/infiniband/core/uverbs_ioctl.c udata->inbuf = u64_to_user_ptr(in->ptr_attr.data); in 985 drivers/infiniband/hw/hfi1/debugfs.c static int __i2c_debugfs_open(struct inode *in, struct file *fp, u32 target) in 999 drivers/infiniband/hw/hfi1/debugfs.c static int i2c1_debugfs_open(struct inode *in, struct file *fp) in 1001 drivers/infiniband/hw/hfi1/debugfs.c return __i2c_debugfs_open(in, fp, 0); in 1004 drivers/infiniband/hw/hfi1/debugfs.c static int i2c2_debugfs_open(struct inode *in, struct file *fp) in 1006 drivers/infiniband/hw/hfi1/debugfs.c return __i2c_debugfs_open(in, fp, 1); in 1009 drivers/infiniband/hw/hfi1/debugfs.c static int __i2c_debugfs_release(struct inode *in, struct file *fp, u32 target) in 1021 drivers/infiniband/hw/hfi1/debugfs.c static int i2c1_debugfs_release(struct inode *in, struct file *fp) in 1023 drivers/infiniband/hw/hfi1/debugfs.c return __i2c_debugfs_release(in, fp, 0); in 1026 drivers/infiniband/hw/hfi1/debugfs.c static int i2c2_debugfs_release(struct inode *in, struct file *fp) in 1028 drivers/infiniband/hw/hfi1/debugfs.c return __i2c_debugfs_release(in, fp, 1); in 1031 drivers/infiniband/hw/hfi1/debugfs.c static int __qsfp_debugfs_open(struct inode *in, struct file *fp, u32 target) in 1048 drivers/infiniband/hw/hfi1/debugfs.c static int qsfp1_debugfs_open(struct inode *in, struct file *fp) in 1050 drivers/infiniband/hw/hfi1/debugfs.c return __qsfp_debugfs_open(in, fp, 0); in 1053 drivers/infiniband/hw/hfi1/debugfs.c static int qsfp2_debugfs_open(struct inode *in, struct file *fp) in 1055 drivers/infiniband/hw/hfi1/debugfs.c return __qsfp_debugfs_open(in, fp, 1); in 1058 drivers/infiniband/hw/hfi1/debugfs.c static int __qsfp_debugfs_release(struct inode *in, struct file *fp, u32 target) in 1070 drivers/infiniband/hw/hfi1/debugfs.c static int qsfp1_debugfs_release(struct inode *in, struct file *fp) in 1072 drivers/infiniband/hw/hfi1/debugfs.c return __qsfp_debugfs_release(in, fp, 0); in 1075 drivers/infiniband/hw/hfi1/debugfs.c static int qsfp2_debugfs_release(struct inode *in, struct file *fp) in 1077 drivers/infiniband/hw/hfi1/debugfs.c return __qsfp_debugfs_release(in, fp, 1); in 1132 drivers/infiniband/hw/hfi1/debugfs.c static int exprom_wp_debugfs_open(struct inode *in, struct file *fp) in 1140 drivers/infiniband/hw/hfi1/debugfs.c static int exprom_wp_debugfs_release(struct inode *in, struct file *fp) in 1379 drivers/infiniband/hw/hfi1/verbs.c static inline u16 opa_speed_to_ib(u16 in) in 1383 drivers/infiniband/hw/hfi1/verbs.c if (in & OPA_LINK_SPEED_25G) in 1385 drivers/infiniband/hw/hfi1/verbs.c if (in & OPA_LINK_SPEED_12_5G) in 1396 drivers/infiniband/hw/hfi1/verbs.c static inline u16 opa_width_to_ib(u16 in) in 1398 drivers/infiniband/hw/hfi1/verbs.c switch (in) { in 4044 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.del_local_mac_ipaddr_entry.cqp, in 4045 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.del_local_mac_ipaddr_entry.scratch, in 4046 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.del_local_mac_ipaddr_entry.entry_idx, in 4047 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.del_local_mac_ipaddr_entry.ignore_ref_count, in 4051 drivers/infiniband/hw/i40iw/i40iw_ctrl.c status = i40iw_sc_ceq_destroy(pcmdinfo->in.u.ceq_destroy.ceq, in 4052 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.ceq_destroy.scratch, in 4056 drivers/infiniband/hw/i40iw/i40iw_ctrl.c status = i40iw_sc_aeq_destroy(pcmdinfo->in.u.aeq_destroy.aeq, in 4057 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.aeq_destroy.scratch, in 4063 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.del_arp_cache_entry.cqp, in 4064 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.del_arp_cache_entry.scratch, in 4065 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.del_arp_cache_entry.arp_index, in 4070 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.manage_apbvt_entry.cqp, in 4071 drivers/infiniband/hw/i40iw/i40iw_ctrl.c &pcmdinfo->in.u.manage_apbvt_entry.info, in 4072 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.manage_apbvt_entry.scratch, in 4076 drivers/infiniband/hw/i40iw/i40iw_ctrl.c status = i40iw_sc_ceq_create(pcmdinfo->in.u.ceq_create.ceq, in 4077 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.ceq_create.scratch, in 4081 drivers/infiniband/hw/i40iw/i40iw_ctrl.c status = i40iw_sc_aeq_create(pcmdinfo->in.u.aeq_create.aeq, in 4082 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.aeq_create.scratch, in 4087 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.alloc_local_mac_ipaddr_entry.cqp, in 4088 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.alloc_local_mac_ipaddr_entry.scratch, in 4093 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.add_local_mac_ipaddr_entry.cqp, in 4094 drivers/infiniband/hw/i40iw/i40iw_ctrl.c &pcmdinfo->in.u.add_local_mac_ipaddr_entry.info, in 4095 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.add_local_mac_ipaddr_entry.scratch, in 4100 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.manage_qhash_table_entry.cqp, in 4101 drivers/infiniband/hw/i40iw/i40iw_ctrl.c &pcmdinfo->in.u.manage_qhash_table_entry.info, in 4102 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.manage_qhash_table_entry.scratch, in 4108 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.qp_modify.qp, in 4109 drivers/infiniband/hw/i40iw/i40iw_ctrl.c &pcmdinfo->in.u.qp_modify.info, in 4110 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.qp_modify.scratch, in 4116 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.qp_upload_context.dev, in 4117 drivers/infiniband/hw/i40iw/i40iw_ctrl.c &pcmdinfo->in.u.qp_upload_context.info, in 4118 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.qp_upload_context.scratch, in 4124 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.cq_create.cq, in 4125 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.cq_create.scratch, in 4126 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.cq_create.check_overflow, in 4131 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.cq_destroy.cq, in 4132 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.cq_destroy.scratch, in 4138 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.qp_create.qp, in 4139 drivers/infiniband/hw/i40iw/i40iw_ctrl.c &pcmdinfo->in.u.qp_create.info, in 4140 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.qp_create.scratch, in 4145 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.qp_destroy.qp, in 4146 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.qp_destroy.scratch, in 4147 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.qp_destroy.remove_hash_idx, in 4148 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.qp_destroy. in 4155 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.alloc_stag.dev, in 4156 drivers/infiniband/hw/i40iw/i40iw_ctrl.c &pcmdinfo->in.u.alloc_stag.info, in 4157 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.alloc_stag.scratch, in 4162 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.mr_reg_non_shared.dev, in 4163 drivers/infiniband/hw/i40iw/i40iw_ctrl.c &pcmdinfo->in.u.mr_reg_non_shared.info, in 4164 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.mr_reg_non_shared.scratch, in 4170 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.dealloc_stag.dev, in 4171 drivers/infiniband/hw/i40iw/i40iw_ctrl.c &pcmdinfo->in.u.dealloc_stag.info, in 4172 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.dealloc_stag.scratch, in 4178 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.mw_alloc.dev, in 4179 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.mw_alloc.scratch, in 4180 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.mw_alloc.mw_stag_index, in 4181 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.mw_alloc.pd_id, in 4187 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.qp_flush_wqes.qp, in 4188 drivers/infiniband/hw/i40iw/i40iw_ctrl.c &pcmdinfo->in.u.qp_flush_wqes.info, in 4189 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.qp_flush_wqes. in 4194 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.gen_ae.qp, in 4195 drivers/infiniband/hw/i40iw/i40iw_ctrl.c &pcmdinfo->in.u.gen_ae.info, in 4196 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.gen_ae.scratch, in 4201 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.add_arp_cache_entry.cqp, in 4202 drivers/infiniband/hw/i40iw/i40iw_ctrl.c &pcmdinfo->in.u.add_arp_cache_entry.info, in 4203 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.add_arp_cache_entry.scratch, in 4208 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.manage_push_page.cqp, in 4209 drivers/infiniband/hw/i40iw/i40iw_ctrl.c &pcmdinfo->in.u.manage_push_page.info, in 4210 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.manage_push_page.scratch, in 4216 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.update_pe_sds.dev, in 4217 drivers/infiniband/hw/i40iw/i40iw_ctrl.c &pcmdinfo->in.u.update_pe_sds.info, in 4218 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.update_pe_sds. in 4224 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.manage_hmc_pm.dev->cqp, in 4225 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.manage_hmc_pm.scratch, in 4226 drivers/infiniband/hw/i40iw/i40iw_ctrl.c (u8)pcmdinfo->in.u.manage_hmc_pm.info.vf_id, in 4227 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.manage_hmc_pm.info.free_fcn, in 4232 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.suspend_resume.cqp, in 4233 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.suspend_resume.qp, in 4234 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.suspend_resume.scratch); in 4238 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.suspend_resume.cqp, in 4239 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.suspend_resume.qp, in 4240 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.suspend_resume.scratch); in 4244 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.manage_vf_pble_bp.cqp, in 4245 drivers/infiniband/hw/i40iw/i40iw_ctrl.c &pcmdinfo->in.u.manage_vf_pble_bp.info, in 4246 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.manage_vf_pble_bp.scratch, true); in 4249 drivers/infiniband/hw/i40iw/i40iw_ctrl.c values_mem.pa = pcmdinfo->in.u.query_fpm_values.fpm_values_pa; in 4250 drivers/infiniband/hw/i40iw/i40iw_ctrl.c values_mem.va = pcmdinfo->in.u.query_fpm_values.fpm_values_va; in 4252 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.query_fpm_values.cqp, in 4253 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.query_fpm_values.scratch, in 4254 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.query_fpm_values.hmc_fn_id, in 4258 drivers/infiniband/hw/i40iw/i40iw_ctrl.c values_mem.pa = pcmdinfo->in.u.commit_fpm_values.fpm_values_pa; in 4259 drivers/infiniband/hw/i40iw/i40iw_ctrl.c values_mem.va = pcmdinfo->in.u.commit_fpm_values.fpm_values_va; in 4261 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.commit_fpm_values.cqp, in 4262 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.commit_fpm_values.scratch, in 4263 drivers/infiniband/hw/i40iw/i40iw_ctrl.c pcmdinfo->in.u.commit_fpm_values.hmc_fn_id, in 458 drivers/infiniband/hw/i40iw/i40iw_hw.c info = &cqp_info->in.u.manage_apbvt_entry.info; in 466 drivers/infiniband/hw/i40iw/i40iw_hw.c cqp_info->in.u.manage_apbvt_entry.cqp = &iwdev->cqp.sc_cqp; in 467 drivers/infiniband/hw/i40iw/i40iw_hw.c cqp_info->in.u.manage_apbvt_entry.scratch = (uintptr_t)cqp_request; in 546 drivers/infiniband/hw/i40iw/i40iw_hw.c info = &cqp_info->in.u.add_arp_cache_entry.info; in 551 drivers/infiniband/hw/i40iw/i40iw_hw.c cqp_info->in.u.add_arp_cache_entry.scratch = (uintptr_t)cqp_request; in 552 drivers/infiniband/hw/i40iw/i40iw_hw.c cqp_info->in.u.add_arp_cache_entry.cqp = &iwdev->cqp.sc_cqp; in 555 drivers/infiniband/hw/i40iw/i40iw_hw.c cqp_info->in.u.del_arp_cache_entry.scratch = (uintptr_t)cqp_request; in 556 drivers/infiniband/hw/i40iw/i40iw_hw.c cqp_info->in.u.del_arp_cache_entry.cqp = &iwdev->cqp.sc_cqp; in 557 drivers/infiniband/hw/i40iw/i40iw_hw.c cqp_info->in.u.del_arp_cache_entry.arp_index = arp_index; in 560 drivers/infiniband/hw/i40iw/i40iw_hw.c cqp_info->in.u.add_arp_cache_entry.cqp = &iwdev->cqp.sc_cqp; in 561 drivers/infiniband/hw/i40iw/i40iw_hw.c cqp_info->in.u.add_arp_cache_entry.scratch = (uintptr_t)cqp_request; in 606 drivers/infiniband/hw/i40iw/i40iw_hw.c info = &cqp_info->in.u.manage_qhash_table_entry.info; in 652 drivers/infiniband/hw/i40iw/i40iw_hw.c cqp_info->in.u.manage_qhash_table_entry.cqp = &iwdev->cqp.sc_cqp; in 653 drivers/infiniband/hw/i40iw/i40iw_hw.c cqp_info->in.u.manage_qhash_table_entry.scratch = (uintptr_t)cqp_request; in 685 drivers/infiniband/hw/i40iw/i40iw_hw.c hw_info = &cqp_request->info.in.u.qp_flush_wqes.info; in 690 drivers/infiniband/hw/i40iw/i40iw_hw.c cqp_info->in.u.qp_flush_wqes.qp = qp; in 691 drivers/infiniband/hw/i40iw/i40iw_hw.c cqp_info->in.u.qp_flush_wqes.scratch = (uintptr_t)cqp_request; in 740 drivers/infiniband/hw/i40iw/i40iw_hw.c ae_info = &cqp_request->info.in.u.gen_ae.info; in 745 drivers/infiniband/hw/i40iw/i40iw_hw.c cqp_info->in.u.gen_ae.qp = qp; in 746 drivers/infiniband/hw/i40iw/i40iw_hw.c cqp_info->in.u.gen_ae.scratch = (uintptr_t)cqp_request; in 775 drivers/infiniband/hw/i40iw/i40iw_hw.c hw_info = &cqp_request->info.in.u.manage_vf_pble_bp.info; in 780 drivers/infiniband/hw/i40iw/i40iw_hw.c cqp_info->in.u.manage_vf_pble_bp.cqp = &iwdev->cqp.sc_cqp; in 781 drivers/infiniband/hw/i40iw/i40iw_hw.c cqp_info->in.u.manage_vf_pble_bp.scratch = (uintptr_t)cqp_request; in 1059 drivers/infiniband/hw/i40iw/i40iw_main.c cqp_info->in.u.del_local_mac_ipaddr_entry.cqp = &iwcqp->sc_cqp; in 1060 drivers/infiniband/hw/i40iw/i40iw_main.c cqp_info->in.u.del_local_mac_ipaddr_entry.scratch = (uintptr_t)cqp_request; in 1061 drivers/infiniband/hw/i40iw/i40iw_main.c cqp_info->in.u.del_local_mac_ipaddr_entry.entry_idx = idx; in 1062 drivers/infiniband/hw/i40iw/i40iw_main.c cqp_info->in.u.del_local_mac_ipaddr_entry.ignore_ref_count = 0; in 1093 drivers/infiniband/hw/i40iw/i40iw_main.c info = &cqp_info->in.u.add_local_mac_ipaddr_entry.info; in 1096 drivers/infiniband/hw/i40iw/i40iw_main.c cqp_info->in.u.add_local_mac_ipaddr_entry.scratch = (uintptr_t)cqp_request; in 1098 drivers/infiniband/hw/i40iw/i40iw_main.c cqp_info->in.u.add_local_mac_ipaddr_entry.cqp = &iwcqp->sc_cqp; in 1099 drivers/infiniband/hw/i40iw/i40iw_main.c cqp_info->in.u.add_local_mac_ipaddr_entry.scratch = (uintptr_t)cqp_request; in 1135 drivers/infiniband/hw/i40iw/i40iw_main.c cqp_info->in.u.alloc_local_mac_ipaddr_entry.cqp = &iwcqp->sc_cqp; in 1136 drivers/infiniband/hw/i40iw/i40iw_main.c cqp_info->in.u.alloc_local_mac_ipaddr_entry.scratch = (uintptr_t)cqp_request; in 1350 drivers/infiniband/hw/i40iw/i40iw_type.h struct cqp_info in; in 172 drivers/infiniband/hw/i40iw/i40iw_utils.c struct in_device *in; in 175 drivers/infiniband/hw/i40iw/i40iw_utils.c in = __in_dev_get_rcu(upper_dev); in 178 drivers/infiniband/hw/i40iw/i40iw_utils.c if (in) { in 181 drivers/infiniband/hw/i40iw/i40iw_utils.c ifa = rcu_dereference(in->ifa_list); in 665 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.qp_destroy.qp = &iwqp->sc_qp; in 666 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.qp_destroy.scratch = (uintptr_t)cqp_request; in 667 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.qp_destroy.remove_hash_idx = true; in 843 drivers/infiniband/hw/i40iw/i40iw_utils.c memcpy(&cqp_info->in.u.update_pe_sds.info, sdinfo, in 844 drivers/infiniband/hw/i40iw/i40iw_utils.c sizeof(cqp_info->in.u.update_pe_sds.info)); in 847 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.update_pe_sds.dev = dev; in 848 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.update_pe_sds.scratch = (uintptr_t)cqp_request; in 875 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.suspend_resume.cqp = cqp; in 876 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.suspend_resume.qp = qp; in 877 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.suspend_resume.scratch = (uintptr_t)cqp_request; in 1014 drivers/infiniband/hw/i40iw/i40iw_utils.c &cqp_request->info.in.u.manage_hmc_pm.info; in 1016 drivers/infiniband/hw/i40iw/i40iw_utils.c (struct i40iw_device *)cqp_request->info.in.u.manage_hmc_pm.dev->back_dev; in 1025 drivers/infiniband/hw/i40iw/i40iw_utils.c hmcfcninfo->callback_fcn(cqp_request->info.in.u.manage_hmc_pm.dev, in 1040 drivers/infiniband/hw/i40iw/i40iw_utils.c &cqp_request->info.in.u.manage_hmc_pm.info; in 1042 drivers/infiniband/hw/i40iw/i40iw_utils.c (struct i40iw_device *)cqp_request->info.in.u.manage_hmc_pm.dev-> in 1078 drivers/infiniband/hw/i40iw/i40iw_utils.c memcpy(&cqp_info->in.u.manage_hmc_pm.info, hmcfcninfo, in 1080 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.manage_hmc_pm.dev = dev; in 1083 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.manage_hmc_pm.scratch = (uintptr_t)cqp_request; in 1110 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.query_fpm_values.cqp = dev->cqp; in 1111 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.query_fpm_values.fpm_values_pa = values_mem->pa; in 1112 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.query_fpm_values.fpm_values_va = values_mem->va; in 1113 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.query_fpm_values.hmc_fn_id = hmc_fn_id; in 1116 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.query_fpm_values.scratch = (uintptr_t)cqp_request; in 1143 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.commit_fpm_values.cqp = dev->cqp; in 1144 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.commit_fpm_values.fpm_values_pa = values_mem->pa; in 1145 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.commit_fpm_values.fpm_values_va = values_mem->va; in 1146 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.commit_fpm_values.hmc_fn_id = hmc_fn_id; in 1149 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.commit_fpm_values.scratch = (uintptr_t)cqp_request; in 1204 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.cq_create.cq = cq; in 1205 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.cq_create.scratch = (uintptr_t)cqp_request; in 1233 drivers/infiniband/hw/i40iw/i40iw_utils.c qp_info = &cqp_request->info.in.u.qp_create.info; in 1242 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.qp_create.qp = qp; in 1243 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.qp_create.scratch = (uintptr_t)cqp_request; in 1284 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.qp_destroy.qp = qp; in 1285 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.qp_destroy.scratch = (uintptr_t)cqp_request; in 1286 drivers/infiniband/hw/i40iw/i40iw_utils.c cqp_info->in.u.qp_destroy.remove_hash_idx = true; in 232 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.manage_push_page.info.qs_handle = qp->qs_handle; in 233 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.manage_push_page.info.free_page = 0; in 234 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.manage_push_page.cqp = &iwdev->cqp.sc_cqp; in 235 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.manage_push_page.scratch = (uintptr_t)cqp_request; in 267 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.manage_push_page.info.push_idx = qp->push_idx; in 268 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.manage_push_page.info.qs_handle = qp->qs_handle; in 269 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.manage_push_page.info.free_page = 1; in 270 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.manage_push_page.cqp = &iwdev->cqp.sc_cqp; in 271 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.manage_push_page.scratch = (uintptr_t)cqp_request; in 702 drivers/infiniband/hw/i40iw/i40iw_verbs.c qp_info = &cqp_request->info.in.u.qp_create.info; in 711 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.qp_create.qp = qp; in 712 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.qp_create.scratch = (uintptr_t)cqp_request; in 803 drivers/infiniband/hw/i40iw/i40iw_verbs.c m_info = &cqp_info->in.u.qp_modify.info; in 807 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.qp_modify.qp = &iwqp->sc_qp; in 808 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.qp_modify.scratch = (uintptr_t)cqp_request; in 1046 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.cq_destroy.cq = cq; in 1047 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.cq_destroy.scratch = (uintptr_t)cqp_request; in 1192 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.cq_create.cq = cq; in 1193 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.cq_create.scratch = (uintptr_t)cqp_request; in 1523 drivers/infiniband/hw/i40iw/i40iw_verbs.c info = &cqp_info->in.u.alloc_stag.info; in 1532 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.alloc_stag.dev = &iwdev->sc_dev; in 1533 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.alloc_stag.scratch = (uintptr_t)cqp_request; in 1690 drivers/infiniband/hw/i40iw/i40iw_verbs.c stag_info = &cqp_info->in.u.mr_reg_non_shared.info; in 1715 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.mr_reg_non_shared.dev = &iwdev->sc_dev; in 1716 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.mr_reg_non_shared.scratch = (uintptr_t)cqp_request; in 2022 drivers/infiniband/hw/i40iw/i40iw_verbs.c info = &cqp_info->in.u.dealloc_stag.info; in 2034 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.dealloc_stag.dev = &iwdev->sc_dev; in 2035 drivers/infiniband/hw/i40iw/i40iw_verbs.c cqp_info->in.u.dealloc_stag.scratch = (uintptr_t)cqp_request; in 987 drivers/infiniband/hw/mlx4/mad.c const struct ib_mad_hdr *in, size_t in_mad_size, in 992 drivers/infiniband/hw/mlx4/mad.c const struct ib_mad *in_mad = (const struct ib_mad *)in; in 791 drivers/infiniband/hw/mlx4/mlx4_ib.h const struct ib_mad_hdr *in, size_t in_mad_size, in 38 drivers/infiniband/hw/mlx5/cmd.c u32 in[MLX5_ST_SZ_DW(query_special_contexts_in)] = {0}; in 41 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(query_special_contexts_in, in, opcode, in 43 drivers/infiniband/hw/mlx5/cmd.c err = mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 53 drivers/infiniband/hw/mlx5/cmd.c u32 in[MLX5_ST_SZ_DW(query_special_contexts_in)] = {}; in 56 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(query_special_contexts_in, in, opcode, in 58 drivers/infiniband/hw/mlx5/cmd.c err = mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 68 drivers/infiniband/hw/mlx5/cmd.c u32 in[MLX5_ST_SZ_DW(query_cong_params_in)] = { }; in 70 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(query_cong_params_in, in, opcode, in 72 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(query_cong_params_in, in, cong_protocol, cong_point); in 74 drivers/infiniband/hw/mlx5/cmd.c return mlx5_cmd_exec(dev, in, sizeof(in), out, out_size); in 78 drivers/infiniband/hw/mlx5/cmd.c void *in, int in_size) in 82 drivers/infiniband/hw/mlx5/cmd.c return mlx5_cmd_exec(dev, in, in_size, out, sizeof(out)); in 95 drivers/infiniband/hw/mlx5/cmd.c u32 in[MLX5_ST_SZ_DW(alloc_memic_in)] = {}; in 111 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(alloc_memic_in, in, opcode, MLX5_CMD_OP_ALLOC_MEMIC); in 112 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(alloc_memic_in, in, range_size, num_pages * PAGE_SIZE); in 113 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(alloc_memic_in, in, memic_size, length); in 114 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(alloc_memic_in, in, log_memic_addr_alignment, in 133 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET64(alloc_memic_in, in, range_start_addr, in 136 drivers/infiniband/hw/mlx5/cmd.c ret = mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 166 drivers/infiniband/hw/mlx5/cmd.c u32 in[MLX5_ST_SZ_DW(dealloc_memic_in)] = {0}; in 173 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(dealloc_memic_in, in, opcode, MLX5_CMD_OP_DEALLOC_MEMIC); in 174 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET64(dealloc_memic_in, in, memic_start_addr, addr); in 175 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(dealloc_memic_in, in, memic_size, length); in 177 drivers/infiniband/hw/mlx5/cmd.c err = mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 191 drivers/infiniband/hw/mlx5/cmd.c u32 in[MLX5_ST_SZ_DW(ppcnt_reg)] = {}; in 194 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(ppcnt_reg, in, local_port, 1); in 196 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(ppcnt_reg, in, grp, MLX5_ETHERNET_EXTENDED_COUNTERS_GROUP); in 197 drivers/infiniband/hw/mlx5/cmd.c return mlx5_core_access_reg(dev, in, sz, out, sz, MLX5_REG_PPCNT, in 203 drivers/infiniband/hw/mlx5/cmd.c u32 in[MLX5_ST_SZ_DW(destroy_tir_in)] = {}; in 206 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(destroy_tir_in, in, opcode, MLX5_CMD_OP_DESTROY_TIR); in 207 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(destroy_tir_in, in, tirn, tirn); in 208 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(destroy_tir_in, in, uid, uid); in 209 drivers/infiniband/hw/mlx5/cmd.c mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 214 drivers/infiniband/hw/mlx5/cmd.c u32 in[MLX5_ST_SZ_DW(destroy_tis_in)] = {0}; in 217 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(destroy_tis_in, in, opcode, MLX5_CMD_OP_DESTROY_TIS); in 218 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(destroy_tis_in, in, tisn, tisn); in 219 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(destroy_tis_in, in, uid, uid); in 220 drivers/infiniband/hw/mlx5/cmd.c mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 225 drivers/infiniband/hw/mlx5/cmd.c u32 in[MLX5_ST_SZ_DW(destroy_rqt_in)] = {}; in 228 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(destroy_rqt_in, in, opcode, MLX5_CMD_OP_DESTROY_RQT); in 229 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(destroy_rqt_in, in, rqtn, rqtn); in 230 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(destroy_rqt_in, in, uid, uid); in 231 drivers/infiniband/hw/mlx5/cmd.c mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 237 drivers/infiniband/hw/mlx5/cmd.c u32 in[MLX5_ST_SZ_DW(alloc_transport_domain_in)] = {0}; in 241 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(alloc_transport_domain_in, in, opcode, in 243 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(alloc_transport_domain_in, in, uid, uid); in 245 drivers/infiniband/hw/mlx5/cmd.c err = mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 256 drivers/infiniband/hw/mlx5/cmd.c u32 in[MLX5_ST_SZ_DW(dealloc_transport_domain_in)] = {0}; in 259 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(dealloc_transport_domain_in, in, opcode, in 261 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(dealloc_transport_domain_in, in, uid, uid); in 262 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(dealloc_transport_domain_in, in, transport_domain, tdn); in 263 drivers/infiniband/hw/mlx5/cmd.c mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 269 drivers/infiniband/hw/mlx5/cmd.c u32 in[MLX5_ST_SZ_DW(dealloc_pd_in)] = {}; in 271 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(dealloc_pd_in, in, opcode, MLX5_CMD_OP_DEALLOC_PD); in 272 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(dealloc_pd_in, in, pd, pdn); in 273 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(dealloc_pd_in, in, uid, uid); in 274 drivers/infiniband/hw/mlx5/cmd.c mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 281 drivers/infiniband/hw/mlx5/cmd.c u32 in[MLX5_ST_SZ_DW(attach_to_mcg_in)] = {}; in 284 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(attach_to_mcg_in, in, opcode, MLX5_CMD_OP_ATTACH_TO_MCG); in 285 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(attach_to_mcg_in, in, qpn, qpn); in 286 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(attach_to_mcg_in, in, uid, uid); in 287 drivers/infiniband/hw/mlx5/cmd.c gid = MLX5_ADDR_OF(attach_to_mcg_in, in, multicast_gid); in 289 drivers/infiniband/hw/mlx5/cmd.c return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 296 drivers/infiniband/hw/mlx5/cmd.c u32 in[MLX5_ST_SZ_DW(detach_from_mcg_in)] = {}; in 299 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(detach_from_mcg_in, in, opcode, MLX5_CMD_OP_DETACH_FROM_MCG); in 300 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(detach_from_mcg_in, in, qpn, qpn); in 301 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(detach_from_mcg_in, in, uid, uid); in 302 drivers/infiniband/hw/mlx5/cmd.c gid = MLX5_ADDR_OF(detach_from_mcg_in, in, multicast_gid); in 304 drivers/infiniband/hw/mlx5/cmd.c return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 310 drivers/infiniband/hw/mlx5/cmd.c u32 in[MLX5_ST_SZ_DW(alloc_xrcd_in)] = {}; in 313 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(alloc_xrcd_in, in, opcode, MLX5_CMD_OP_ALLOC_XRCD); in 314 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(alloc_xrcd_in, in, uid, uid); in 315 drivers/infiniband/hw/mlx5/cmd.c err = mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 324 drivers/infiniband/hw/mlx5/cmd.c u32 in[MLX5_ST_SZ_DW(dealloc_xrcd_in)] = {}; in 326 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(dealloc_xrcd_in, in, opcode, MLX5_CMD_OP_DEALLOC_XRCD); in 327 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(dealloc_xrcd_in, in, xrcd, xrcdn); in 328 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(dealloc_xrcd_in, in, uid, uid); in 329 drivers/infiniband/hw/mlx5/cmd.c return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 335 drivers/infiniband/hw/mlx5/cmd.c u32 in[MLX5_ST_SZ_DW(alloc_q_counter_in)] = {0}; in 339 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(alloc_q_counter_in, in, opcode, MLX5_CMD_OP_ALLOC_Q_COUNTER); in 340 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(alloc_q_counter_in, in, uid, uid); in 342 drivers/infiniband/hw/mlx5/cmd.c err = mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 358 drivers/infiniband/hw/mlx5/cmd.c u32 *in; in 360 drivers/infiniband/hw/mlx5/cmd.c in = kzalloc(inlen, GFP_KERNEL); in 362 drivers/infiniband/hw/mlx5/cmd.c if (!in || !out) in 365 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(mad_ifc_in, in, opcode, MLX5_CMD_OP_MAD_IFC); in 366 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(mad_ifc_in, in, op_mod, opmod); in 367 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(mad_ifc_in, in, port, port); in 369 drivers/infiniband/hw/mlx5/cmd.c data = MLX5_ADDR_OF(mad_ifc_in, in, mad); in 372 drivers/infiniband/hw/mlx5/cmd.c err = mlx5_cmd_exec(dev, in, inlen, out, outlen); in 382 drivers/infiniband/hw/mlx5/cmd.c kfree(in); in 46 drivers/infiniband/hw/mlx5/cmd.h void *in, int in_size); in 291 drivers/infiniband/hw/mlx5/cong.c void *in; in 303 drivers/infiniband/hw/mlx5/cong.c in = kvzalloc(inlen, GFP_KERNEL); in 304 drivers/infiniband/hw/mlx5/cong.c if (!in) { in 309 drivers/infiniband/hw/mlx5/cong.c MLX5_SET(modify_cong_params_in, in, opcode, in 313 drivers/infiniband/hw/mlx5/cong.c MLX5_SET(modify_cong_params_in, in, cong_protocol, node); in 315 drivers/infiniband/hw/mlx5/cong.c field = MLX5_ADDR_OF(modify_cong_params_in, in, congestion_parameters); in 318 drivers/infiniband/hw/mlx5/cong.c field = MLX5_ADDR_OF(modify_cong_params_in, in, field_select); in 322 drivers/infiniband/hw/mlx5/cong.c err = mlx5_cmd_modify_cong_params(mdev, in, inlen); in 323 drivers/infiniband/hw/mlx5/cong.c kvfree(in); in 1234 drivers/infiniband/hw/mlx5/cq.c u32 *in; in 1284 drivers/infiniband/hw/mlx5/cq.c in = kvzalloc(inlen, GFP_KERNEL); in 1285 drivers/infiniband/hw/mlx5/cq.c if (!in) { in 1290 drivers/infiniband/hw/mlx5/cq.c pas = (__be64 *)MLX5_ADDR_OF(modify_cq_in, in, pas); in 1297 drivers/infiniband/hw/mlx5/cq.c MLX5_SET(modify_cq_in, in, in 1303 drivers/infiniband/hw/mlx5/cq.c cqc = MLX5_ADDR_OF(modify_cq_in, in, cq_context); in 1313 drivers/infiniband/hw/mlx5/cq.c MLX5_SET(modify_cq_in, in, op_mod, MLX5_CQ_OPMOD_RESIZE); in 1314 drivers/infiniband/hw/mlx5/cq.c MLX5_SET(modify_cq_in, in, cqn, cq->mcq.cqn); in 1316 drivers/infiniband/hw/mlx5/cq.c err = mlx5_core_modify_cq(dev->mdev, &cq->mcq, in, inlen); in 1347 drivers/infiniband/hw/mlx5/cq.c kvfree(in); in 1351 drivers/infiniband/hw/mlx5/cq.c kvfree(in); in 118 drivers/infiniband/hw/mlx5/devx.c void *in; in 131 drivers/infiniband/hw/mlx5/devx.c u32 in[MLX5_ST_SZ_DW(create_uctx_in)] = {0}; in 142 drivers/infiniband/hw/mlx5/devx.c uctx = MLX5_ADDR_OF(create_uctx_in, in, uctx); in 151 drivers/infiniband/hw/mlx5/devx.c MLX5_SET(create_uctx_in, in, opcode, MLX5_CMD_OP_CREATE_UCTX); in 154 drivers/infiniband/hw/mlx5/devx.c err = mlx5_cmd_exec(dev->mdev, in, sizeof(in), out, sizeof(out)); in 164 drivers/infiniband/hw/mlx5/devx.c u32 in[MLX5_ST_SZ_DW(destroy_uctx_in)] = {0}; in 167 drivers/infiniband/hw/mlx5/devx.c MLX5_SET(destroy_uctx_in, in, opcode, MLX5_CMD_OP_DESTROY_UCTX); in 168 drivers/infiniband/hw/mlx5/devx.c MLX5_SET(destroy_uctx_in, in, uid, uid); in 170 drivers/infiniband/hw/mlx5/devx.c mlx5_cmd_exec(dev->mdev, in, sizeof(in), out, sizeof(out)); in 345 drivers/infiniband/hw/mlx5/devx.c static u64 devx_get_obj_id(const void *in) in 347 drivers/infiniband/hw/mlx5/devx.c u16 opcode = MLX5_GET(general_obj_in_cmd_hdr, in, opcode); in 354 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(general_obj_in_cmd_hdr, in, in 356 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(general_obj_in_cmd_hdr, in, in 361 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(query_mkey_in, in, in 366 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(query_cq_in, in, cqn)); in 370 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(modify_cq_in, in, cqn)); in 374 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(query_sq_in, in, sqn)); in 378 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(modify_sq_in, in, sqn)); in 382 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(query_rq_in, in, rqn)); in 386 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(modify_rq_in, in, rqn)); in 390 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(query_rmp_in, in, rmpn)); in 394 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(modify_rmp_in, in, rmpn)); in 398 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(query_rqt_in, in, rqtn)); in 402 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(modify_rqt_in, in, rqtn)); in 406 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(query_tir_in, in, tirn)); in 410 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(modify_tir_in, in, tirn)); in 414 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(query_tis_in, in, tisn)); in 418 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(modify_tis_in, in, tisn)); in 422 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(query_flow_table_in, in, in 427 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(modify_flow_table_in, in, in 432 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(query_flow_group_in, in, in 437 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(query_fte_in, in, in 442 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(set_fte_in, in, flow_index)); in 446 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(query_q_counter_in, in, in 451 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(query_flow_counter_in, in, in 456 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(general_obj_in_cmd_hdr, in, in 462 drivers/infiniband/hw/mlx5/devx.c in, scheduling_element_id)); in 467 drivers/infiniband/hw/mlx5/devx.c in, scheduling_element_id)); in 471 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(add_vxlan_udp_dport_in, in, in 476 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(query_l2_table_entry_in, in, in 481 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(set_l2_table_entry_in, in, in 486 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(query_qp_in, in, qpn)); in 490 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(rst2init_qp_in, in, qpn)); in 494 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(init2rtr_qp_in, in, qpn)); in 498 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(rtr2rts_qp_in, in, qpn)); in 502 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(rts2rts_qp_in, in, qpn)); in 506 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(sqerr2rts_qp_in, in, qpn)); in 510 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(qp_2err_in, in, qpn)); in 514 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(qp_2rst_in, in, qpn)); in 518 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(query_dct_in, in, dctn)); in 524 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(query_xrq_in, in, xrqn)); in 528 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(query_xrc_srq_in, in, in 533 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(arm_xrc_srq_in, in, xrc_srqn)); in 537 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(query_srq_in, in, srqn)); in 541 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(arm_rq_in, in, srq_number)); in 545 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(drain_dct_in, in, dctn)); in 552 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(arm_xrq_in, in, xrqn)); in 558 drivers/infiniband/hw/mlx5/devx.c in, packet_reformat_id)); in 568 drivers/infiniband/hw/mlx5/devx.c struct ib_uobject *uobj, const void *in) in 571 drivers/infiniband/hw/mlx5/devx.c u64 obj_id = devx_get_obj_id(in); in 654 drivers/infiniband/hw/mlx5/devx.c static void devx_set_umem_valid(const void *in) in 656 drivers/infiniband/hw/mlx5/devx.c u16 opcode = MLX5_GET(general_obj_in_cmd_hdr, in, opcode); in 660 drivers/infiniband/hw/mlx5/devx.c MLX5_SET(create_mkey_in, in, mkey_umem_valid, 1); in 666 drivers/infiniband/hw/mlx5/devx.c MLX5_SET(create_cq_in, in, cq_umem_valid, 1); in 667 drivers/infiniband/hw/mlx5/devx.c cqc = MLX5_ADDR_OF(create_cq_in, in, cq_context); in 675 drivers/infiniband/hw/mlx5/devx.c qpc = MLX5_ADDR_OF(create_qp_in, in, qpc); in 677 drivers/infiniband/hw/mlx5/devx.c MLX5_SET(create_qp_in, in, wq_umem_valid, 1); in 685 drivers/infiniband/hw/mlx5/devx.c rqc = MLX5_ADDR_OF(create_rq_in, in, ctx); in 696 drivers/infiniband/hw/mlx5/devx.c sqc = MLX5_ADDR_OF(create_sq_in, in, ctx); in 704 drivers/infiniband/hw/mlx5/devx.c MLX5_SET(modify_cq_in, in, cq_umem_valid, 1); in 711 drivers/infiniband/hw/mlx5/devx.c rmpc = MLX5_ADDR_OF(create_rmp_in, in, ctx); in 722 drivers/infiniband/hw/mlx5/devx.c xrqc = MLX5_ADDR_OF(create_xrq_in, in, xrq_context); in 733 drivers/infiniband/hw/mlx5/devx.c MLX5_SET(create_xrc_srq_in, in, xrc_srq_umem_valid, 1); in 734 drivers/infiniband/hw/mlx5/devx.c xrc_srqc = MLX5_ADDR_OF(create_xrc_srq_in, in, in 745 drivers/infiniband/hw/mlx5/devx.c static bool devx_is_obj_create_cmd(const void *in, u16 *opcode) in 747 drivers/infiniband/hw/mlx5/devx.c *opcode = MLX5_GET(general_obj_in_cmd_hdr, in, opcode); in 780 drivers/infiniband/hw/mlx5/devx.c u16 op_mod = MLX5_GET(set_fte_in, in, op_mod); in 787 drivers/infiniband/hw/mlx5/devx.c u8 num_psv = MLX5_GET(create_psv_in, in, num_psv); in 798 drivers/infiniband/hw/mlx5/devx.c static bool devx_is_obj_modify_cmd(const void *in) in 800 drivers/infiniband/hw/mlx5/devx.c u16 opcode = MLX5_GET(general_obj_in_cmd_hdr, in, opcode); in 832 drivers/infiniband/hw/mlx5/devx.c u16 op_mod = MLX5_GET(set_fte_in, in, op_mod); in 843 drivers/infiniband/hw/mlx5/devx.c static bool devx_is_obj_query_cmd(const void *in) in 845 drivers/infiniband/hw/mlx5/devx.c u16 opcode = MLX5_GET(general_obj_in_cmd_hdr, in, opcode); in 879 drivers/infiniband/hw/mlx5/devx.c static bool devx_is_whitelist_cmd(void *in) in 881 drivers/infiniband/hw/mlx5/devx.c u16 opcode = MLX5_GET(general_obj_in_cmd_hdr, in, opcode); in 914 drivers/infiniband/hw/mlx5/devx.c static bool devx_is_general_cmd(void *in, struct mlx5_ib_dev *dev) in 916 drivers/infiniband/hw/mlx5/devx.c u16 opcode = MLX5_GET(general_obj_in_cmd_hdr, in, opcode); in 920 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(general_obj_in_cmd_hdr, in, vhca_tunnel_id)) || in 1067 drivers/infiniband/hw/mlx5/devx.c static void devx_obj_build_destroy_cmd(void *in, void *out, void *din, in 1071 drivers/infiniband/hw/mlx5/devx.c u16 obj_type = MLX5_GET(general_obj_in_cmd_hdr, in, obj_type); in 1072 drivers/infiniband/hw/mlx5/devx.c u16 uid = MLX5_GET(general_obj_in_cmd_hdr, in, uid); in 1080 drivers/infiniband/hw/mlx5/devx.c switch (MLX5_GET(general_obj_in_cmd_hdr, in, opcode)) { in 1129 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(create_flow_table_in, in, other_vport)); in 1131 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(create_flow_table_in, in, vport_number)); in 1133 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(create_flow_table_in, in, table_type)); in 1142 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(create_flow_group_in, in, other_vport)); in 1144 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(create_flow_group_in, in, vport_number)); in 1146 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(create_flow_group_in, in, table_type)); in 1148 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(create_flow_group_in, in, table_id)); in 1155 drivers/infiniband/hw/mlx5/devx.c *obj_id = MLX5_GET(set_fte_in, in, flow_index); in 1157 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(set_fte_in, in, other_vport)); in 1159 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(set_fte_in, in, vport_number)); in 1161 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(set_fte_in, in, table_type)); in 1163 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(set_fte_in, in, table_id)); in 1186 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(create_scheduling_element_in, in, in 1195 drivers/infiniband/hw/mlx5/devx.c *obj_id = MLX5_GET(add_vxlan_udp_dport_in, in, vxlan_udp_port); in 1202 drivers/infiniband/hw/mlx5/devx.c *obj_id = MLX5_GET(set_l2_table_entry_in, in, table_index); in 1226 drivers/infiniband/hw/mlx5/devx.c MLX5_GET(attach_to_mcg_in, in, qpn)); in 1228 drivers/infiniband/hw/mlx5/devx.c MLX5_ADDR_OF(attach_to_mcg_in, in, multicast_gid), in 1250 drivers/infiniband/hw/mlx5/devx.c void *in, void *out) in 1258 drivers/infiniband/hw/mlx5/devx.c mkc = MLX5_ADDR_OF(create_mkey_in, in, memory_key_mkey_entry); in 1274 drivers/infiniband/hw/mlx5/devx.c void *in, int in_len) in 1285 drivers/infiniband/hw/mlx5/devx.c mkc = MLX5_ADDR_OF(create_mkey_in, in, memory_key_mkey_entry); in 1297 drivers/infiniband/hw/mlx5/devx.c MLX5_SET(create_mkey_in, in, mkey_umem_valid, 1); in 2149 drivers/infiniband/hw/mlx5/devx.c cmd->in = uverbs_zalloc(attrs, cmd->inlen); in 2150 drivers/infiniband/hw/mlx5/devx.c return PTR_ERR_OR_ZERO(cmd->in); in 2160 drivers/infiniband/hw/mlx5/devx.c umem = MLX5_ADDR_OF(create_umem_in, cmd->in, umem); in 2163 drivers/infiniband/hw/mlx5/devx.c MLX5_SET(create_umem_in, cmd->in, opcode, MLX5_CMD_OP_CREATE_UMEM); in 2203 drivers/infiniband/hw/mlx5/devx.c MLX5_SET(create_umem_in, cmd.in, uid, c->devx_uid); in 2204 drivers/infiniband/hw/mlx5/devx.c err = mlx5_cmd_exec(dev->mdev, cmd.in, cmd.inlen, cmd.out, in 2211 drivers/infiniband/hw/mlx5/devx.c devx_obj_build_destroy_cmd(cmd.in, cmd.out, obj->dinbox, &obj->dinlen, &obj_id); in 350 drivers/infiniband/hw/mlx5/flow.c u8 num_actions, void *in) in 365 drivers/infiniband/hw/mlx5/flow.c mlx5_modify_header_alloc(dev->mdev, namespace, num_actions, in); in 395 drivers/infiniband/hw/mlx5/flow.c void *in; in 401 drivers/infiniband/hw/mlx5/flow.c in = uverbs_attr_get_alloced_ptr(attrs, in 414 drivers/infiniband/hw/mlx5/flow.c action = mlx5_ib_create_modify_header(mdev, ft_type, num_actions, in); in 478 drivers/infiniband/hw/mlx5/flow.c void *in, size_t len) in 494 drivers/infiniband/hw/mlx5/flow.c in, namespace); in 541 drivers/infiniband/hw/mlx5/flow.c void *in; in 544 drivers/infiniband/hw/mlx5/flow.c in = uverbs_attr_get_alloced_ptr(attrs, in 546 drivers/infiniband/hw/mlx5/flow.c if (IS_ERR(in)) { in 547 drivers/infiniband/hw/mlx5/flow.c ret = PTR_ERR(in); in 555 drivers/infiniband/hw/mlx5/flow.c maction, ft_type, dv_prt, in, len); in 98 drivers/infiniband/hw/mlx5/ib_virt.c struct mlx5_hca_vport_context *in; in 102 drivers/infiniband/hw/mlx5/ib_virt.c in = kzalloc(sizeof(*in), GFP_KERNEL); in 103 drivers/infiniband/hw/mlx5/ib_virt.c if (!in) in 106 drivers/infiniband/hw/mlx5/ib_virt.c in->policy = net_to_mlx_policy(state); in 107 drivers/infiniband/hw/mlx5/ib_virt.c if (in->policy == MLX5_POLICY_INVALID) { in 111 drivers/infiniband/hw/mlx5/ib_virt.c in->field_select = MLX5_HCA_VPORT_SEL_STATE_POLICY; in 112 drivers/infiniband/hw/mlx5/ib_virt.c err = mlx5_core_modify_hca_vport_context(mdev, 1, 1, vf + 1, in); in 114 drivers/infiniband/hw/mlx5/ib_virt.c vfs_ctx[vf].policy = in->policy; in 117 drivers/infiniband/hw/mlx5/ib_virt.c kfree(in); in 156 drivers/infiniband/hw/mlx5/ib_virt.c struct mlx5_hca_vport_context *in; in 160 drivers/infiniband/hw/mlx5/ib_virt.c in = kzalloc(sizeof(*in), GFP_KERNEL); in 161 drivers/infiniband/hw/mlx5/ib_virt.c if (!in) in 164 drivers/infiniband/hw/mlx5/ib_virt.c in->field_select = MLX5_HCA_VPORT_SEL_NODE_GUID; in 165 drivers/infiniband/hw/mlx5/ib_virt.c in->node_guid = guid; in 166 drivers/infiniband/hw/mlx5/ib_virt.c err = mlx5_core_modify_hca_vport_context(mdev, 1, 1, vf + 1, in); in 169 drivers/infiniband/hw/mlx5/ib_virt.c kfree(in); in 177 drivers/infiniband/hw/mlx5/ib_virt.c struct mlx5_hca_vport_context *in; in 181 drivers/infiniband/hw/mlx5/ib_virt.c in = kzalloc(sizeof(*in), GFP_KERNEL); in 182 drivers/infiniband/hw/mlx5/ib_virt.c if (!in) in 185 drivers/infiniband/hw/mlx5/ib_virt.c in->field_select = MLX5_HCA_VPORT_SEL_PORT_GUID; in 186 drivers/infiniband/hw/mlx5/ib_virt.c in->port_guid = guid; in 187 drivers/infiniband/hw/mlx5/ib_virt.c err = mlx5_core_modify_hca_vport_context(mdev, 1, 1, vf + 1, in); in 190 drivers/infiniband/hw/mlx5/ib_virt.c kfree(in); in 274 drivers/infiniband/hw/mlx5/mad.c const struct ib_mad_hdr *in, size_t in_mad_size, in 279 drivers/infiniband/hw/mlx5/mad.c const struct ib_mad *in_mad = (const struct ib_mad *)in; in 816 drivers/infiniband/hw/mlx5/main.c struct mlx5_reg_node_desc in; in 821 drivers/infiniband/hw/mlx5/main.c memset(&in, 0, sizeof(in)); in 823 drivers/infiniband/hw/mlx5/main.c return mlx5_core_access_reg(dev->mdev, &in, sizeof(in), node_desc, in 1494 drivers/infiniband/hw/mlx5/main.c struct mlx5_reg_node_desc in; in 1508 drivers/infiniband/hw/mlx5/main.c memcpy(&in, props->node_desc, IB_DEVICE_NODE_DESC_MAX); in 1509 drivers/infiniband/hw/mlx5/main.c err = mlx5_core_access_reg(dev->mdev, &in, sizeof(in), &out, in 2474 drivers/infiniband/hw/mlx5/main.c u32 in[MLX5_ST_SZ_DW(alloc_pd_in)] = {}; in 2480 drivers/infiniband/hw/mlx5/main.c MLX5_SET(alloc_pd_in, in, opcode, MLX5_CMD_OP_ALLOC_PD); in 2481 drivers/infiniband/hw/mlx5/main.c MLX5_SET(alloc_pd_in, in, uid, uid); in 2482 drivers/infiniband/hw/mlx5/main.c err = mlx5_cmd_exec(to_mdev(ibdev)->mdev, in, sizeof(in), in 397 drivers/infiniband/hw/mlx5/mlx5_ib.h u32 *in; in 1183 drivers/infiniband/hw/mlx5/mlx5_ib.h const struct ib_mad_hdr *in, size_t in_mad_size, in 143 drivers/infiniband/hw/mlx5/mr.c u32 *in; in 147 drivers/infiniband/hw/mlx5/mr.c in = kzalloc(inlen, GFP_KERNEL); in 148 drivers/infiniband/hw/mlx5/mr.c if (!in) in 151 drivers/infiniband/hw/mlx5/mr.c mkc = MLX5_ADDR_OF(create_mkey_in, in, memory_key_mkey_entry); in 181 drivers/infiniband/hw/mlx5/mr.c &dev->async_ctx, in, inlen, in 194 drivers/infiniband/hw/mlx5/mr.c kfree(in); in 689 drivers/infiniband/hw/mlx5/mr.c u32 *in; in 696 drivers/infiniband/hw/mlx5/mr.c in = kzalloc(inlen, GFP_KERNEL); in 697 drivers/infiniband/hw/mlx5/mr.c if (!in) { in 702 drivers/infiniband/hw/mlx5/mr.c mkc = MLX5_ADDR_OF(create_mkey_in, in, memory_key_mkey_entry); in 716 drivers/infiniband/hw/mlx5/mr.c err = mlx5_core_create_mkey(mdev, &mr->mmkey, in, inlen); in 720 drivers/infiniband/hw/mlx5/mr.c kfree(in); in 729 drivers/infiniband/hw/mlx5/mr.c kfree(in); in 1061 drivers/infiniband/hw/mlx5/mr.c u32 *in; in 1075 drivers/infiniband/hw/mlx5/mr.c in = kvzalloc(inlen, GFP_KERNEL); in 1076 drivers/infiniband/hw/mlx5/mr.c if (!in) { in 1080 drivers/infiniband/hw/mlx5/mr.c pas = (__be64 *)MLX5_ADDR_OF(create_mkey_in, in, klm_pas_mtt); in 1087 drivers/infiniband/hw/mlx5/mr.c MLX5_SET(create_mkey_in, in, pg_access, !!(pg_cap)); in 1089 drivers/infiniband/hw/mlx5/mr.c mkc = MLX5_ADDR_OF(create_mkey_in, in, memory_key_mkey_entry); in 1108 drivers/infiniband/hw/mlx5/mr.c MLX5_SET(create_mkey_in, in, translations_octword_actual_size, in 1112 drivers/infiniband/hw/mlx5/mr.c err = mlx5_core_create_mkey(dev->mdev, &mr->mmkey, in, inlen); in 1120 drivers/infiniband/hw/mlx5/mr.c kvfree(in); in 1127 drivers/infiniband/hw/mlx5/mr.c kvfree(in); in 1155 drivers/infiniband/hw/mlx5/mr.c u32 *in; in 1162 drivers/infiniband/hw/mlx5/mr.c in = kzalloc(inlen, GFP_KERNEL); in 1163 drivers/infiniband/hw/mlx5/mr.c if (!in) { in 1168 drivers/infiniband/hw/mlx5/mr.c mkc = MLX5_ADDR_OF(create_mkey_in, in, memory_key_mkey_entry); in 1183 drivers/infiniband/hw/mlx5/mr.c err = mlx5_core_create_mkey(mdev, &mr->mmkey, in, inlen); in 1187 drivers/infiniband/hw/mlx5/mr.c kfree(in); in 1195 drivers/infiniband/hw/mlx5/mr.c kfree(in); in 1642 drivers/infiniband/hw/mlx5/mr.c static void mlx5_set_umr_free_mkey(struct ib_pd *pd, u32 *in, int ndescs, in 1647 drivers/infiniband/hw/mlx5/mr.c mkc = MLX5_ADDR_OF(create_mkey_in, in, memory_key_mkey_entry); in 1661 drivers/infiniband/hw/mlx5/mr.c int access_mode, u32 *in, int inlen) in 1674 drivers/infiniband/hw/mlx5/mr.c mlx5_set_umr_free_mkey(pd, in, ndescs, access_mode, page_shift); in 1676 drivers/infiniband/hw/mlx5/mr.c err = mlx5_core_create_mkey(dev->mdev, &mr->mmkey, in, inlen); in 1699 drivers/infiniband/hw/mlx5/mr.c u32 *in; in 1709 drivers/infiniband/hw/mlx5/mr.c in = kzalloc(inlen, GFP_KERNEL); in 1710 drivers/infiniband/hw/mlx5/mr.c if (!in) { in 1719 drivers/infiniband/hw/mlx5/mr.c access_mode, in, inlen); in 1724 drivers/infiniband/hw/mlx5/mr.c kfree(in); in 1729 drivers/infiniband/hw/mlx5/mr.c kfree(in); in 1736 drivers/infiniband/hw/mlx5/mr.c int ndescs, u32 *in, int inlen) in 1739 drivers/infiniband/hw/mlx5/mr.c PAGE_SHIFT, MLX5_MKC_ACCESS_MODE_MTT, in, in 1744 drivers/infiniband/hw/mlx5/mr.c int ndescs, u32 *in, int inlen) in 1747 drivers/infiniband/hw/mlx5/mr.c 0, MLX5_MKC_ACCESS_MODE_KLMS, in, inlen); in 1752 drivers/infiniband/hw/mlx5/mr.c u32 *in, int inlen) in 1791 drivers/infiniband/hw/mlx5/mr.c mkc = MLX5_ADDR_OF(create_mkey_in, in, memory_key_mkey_entry); in 1796 drivers/infiniband/hw/mlx5/mr.c MLX5_MKC_ACCESS_MODE_KLMS, in, inlen); in 1829 drivers/infiniband/hw/mlx5/mr.c u32 *in; in 1836 drivers/infiniband/hw/mlx5/mr.c in = kzalloc(inlen, GFP_KERNEL); in 1837 drivers/infiniband/hw/mlx5/mr.c if (!in) { in 1847 drivers/infiniband/hw/mlx5/mr.c err = mlx5_alloc_mem_reg_descs(pd, mr, ndescs, in, inlen); in 1850 drivers/infiniband/hw/mlx5/mr.c err = mlx5_alloc_sg_gaps_descs(pd, mr, ndescs, in, inlen); in 1854 drivers/infiniband/hw/mlx5/mr.c max_num_meta_sg, in, inlen); in 1864 drivers/infiniband/hw/mlx5/mr.c kfree(in); in 1869 drivers/infiniband/hw/mlx5/mr.c kfree(in); in 1894 drivers/infiniband/hw/mlx5/mr.c u32 *in = NULL; in 1919 drivers/infiniband/hw/mlx5/mr.c in = kzalloc(inlen, GFP_KERNEL); in 1920 drivers/infiniband/hw/mlx5/mr.c if (!mw || !in) { in 1925 drivers/infiniband/hw/mlx5/mr.c mkc = MLX5_ADDR_OF(create_mkey_in, in, memory_key_mkey_entry); in 1936 drivers/infiniband/hw/mlx5/mr.c err = mlx5_core_create_mkey(dev->mdev, &mw->mmkey, in, inlen); in 1954 drivers/infiniband/hw/mlx5/mr.c kfree(in); in 1959 drivers/infiniband/hw/mlx5/mr.c kfree(in); in 404 drivers/infiniband/hw/mlx5/odp.c u32 in[MLX5_ST_SZ_DW(page_fault_resume_in)] = { }; in 407 drivers/infiniband/hw/mlx5/odp.c MLX5_SET(page_fault_resume_in, in, opcode, MLX5_CMD_OP_PAGE_FAULT_RESUME); in 408 drivers/infiniband/hw/mlx5/odp.c MLX5_SET(page_fault_resume_in, in, page_fault_type, pfault->type); in 409 drivers/infiniband/hw/mlx5/odp.c MLX5_SET(page_fault_resume_in, in, token, pfault->token); in 410 drivers/infiniband/hw/mlx5/odp.c MLX5_SET(page_fault_resume_in, in, wq_number, wq_num); in 411 drivers/infiniband/hw/mlx5/odp.c MLX5_SET(page_fault_resume_in, in, error, !!error); in 413 drivers/infiniband/hw/mlx5/odp.c err = mlx5_cmd_exec(dev->mdev, in, sizeof(in), out, sizeof(out)); in 858 drivers/infiniband/hw/mlx5/qp.c u32 **in, in 930 drivers/infiniband/hw/mlx5/qp.c *in = kvzalloc(*inlen, GFP_KERNEL); in 931 drivers/infiniband/hw/mlx5/qp.c if (!*in) { in 938 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(create_qp_in, *in, uid, uid); in 939 drivers/infiniband/hw/mlx5/qp.c pas = (__be64 *)MLX5_ADDR_OF(create_qp_in, *in, pas); in 943 drivers/infiniband/hw/mlx5/qp.c qpc = MLX5_ADDR_OF(create_qp_in, *in, qpc); in 974 drivers/infiniband/hw/mlx5/qp.c kvfree(*in); in 1033 drivers/infiniband/hw/mlx5/qp.c u32 **in, int *inlen, in 1093 drivers/infiniband/hw/mlx5/qp.c *in = kvzalloc(*inlen, GFP_KERNEL); in 1094 drivers/infiniband/hw/mlx5/qp.c if (!*in) { in 1099 drivers/infiniband/hw/mlx5/qp.c qpc = MLX5_ADDR_OF(create_qp_in, *in, qpc); in 1114 drivers/infiniband/hw/mlx5/qp.c *in, pas)); in 1151 drivers/infiniband/hw/mlx5/qp.c kvfree(*in); in 1195 drivers/infiniband/hw/mlx5/qp.c u32 in[MLX5_ST_SZ_DW(create_tis_in)] = {0}; in 1196 drivers/infiniband/hw/mlx5/qp.c void *tisc = MLX5_ADDR_OF(create_tis_in, in, ctx); in 1198 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(create_tis_in, in, uid, to_mpd(pd)->uid); in 1203 drivers/infiniband/hw/mlx5/qp.c return mlx5_core_create_tis(dev->mdev, in, sizeof(in), &sq->tisn); in 1226 drivers/infiniband/hw/mlx5/qp.c void *in; in 1244 drivers/infiniband/hw/mlx5/qp.c in = kvzalloc(inlen, GFP_KERNEL); in 1245 drivers/infiniband/hw/mlx5/qp.c if (!in) { in 1250 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(create_sq_in, in, uid, to_mpd(pd)->uid); in 1251 drivers/infiniband/hw/mlx5/qp.c sqc = MLX5_ADDR_OF(create_sq_in, in, ctx); in 1277 drivers/infiniband/hw/mlx5/qp.c err = mlx5_core_create_sq_tracked(dev->mdev, in, inlen, &sq->base.mqp); in 1279 drivers/infiniband/hw/mlx5/qp.c kvfree(in); in 1323 drivers/infiniband/hw/mlx5/qp.c void *in; in 1335 drivers/infiniband/hw/mlx5/qp.c in = kvzalloc(inlen, GFP_KERNEL); in 1336 drivers/infiniband/hw/mlx5/qp.c if (!in) in 1339 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(create_rq_in, in, uid, to_mpd(pd)->uid); in 1340 drivers/infiniband/hw/mlx5/qp.c rqc = MLX5_ADDR_OF(create_rq_in, in, ctx); in 1367 drivers/infiniband/hw/mlx5/qp.c err = mlx5_core_create_rq_tracked(dev->mdev, in, inlen, &rq->base.mqp); in 1369 drivers/infiniband/hw/mlx5/qp.c kvfree(in); in 1405 drivers/infiniband/hw/mlx5/qp.c u32 *in; in 1411 drivers/infiniband/hw/mlx5/qp.c in = kvzalloc(inlen, GFP_KERNEL); in 1412 drivers/infiniband/hw/mlx5/qp.c if (!in) in 1415 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(create_tir_in, in, uid, to_mpd(pd)->uid); in 1416 drivers/infiniband/hw/mlx5/qp.c tirc = MLX5_ADDR_OF(create_tir_in, in, ctx); in 1436 drivers/infiniband/hw/mlx5/qp.c err = mlx5_core_create_tir_out(dev->mdev, in, inlen, out, outlen); in 1445 drivers/infiniband/hw/mlx5/qp.c kvfree(in); in 1451 drivers/infiniband/hw/mlx5/qp.c u32 *in, size_t inlen, in 1471 drivers/infiniband/hw/mlx5/qp.c err = create_raw_packet_qp_sq(dev, udata, sq, in, pd); in 1493 drivers/infiniband/hw/mlx5/qp.c err = create_raw_packet_qp_rq(dev, rq, in, inlen, pd); in 1597 drivers/infiniband/hw/mlx5/qp.c u32 *in; in 1679 drivers/infiniband/hw/mlx5/qp.c in = kvzalloc(inlen + outlen, GFP_KERNEL); in 1680 drivers/infiniband/hw/mlx5/qp.c if (!in) in 1683 drivers/infiniband/hw/mlx5/qp.c out = in + MLX5_ST_SZ_DW(create_tir_in); in 1684 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(create_tir_in, in, uid, to_mpd(pd)->uid); in 1685 drivers/infiniband/hw/mlx5/qp.c tirc = MLX5_ADDR_OF(create_tir_in, in, ctx); in 1794 drivers/infiniband/hw/mlx5/qp.c err = mlx5_core_create_tir_out(dev->mdev, in, inlen, out, outlen); in 1829 drivers/infiniband/hw/mlx5/qp.c kvfree(in); in 1838 drivers/infiniband/hw/mlx5/qp.c kvfree(in); in 1963 drivers/infiniband/hw/mlx5/qp.c u32 *in; in 2147 drivers/infiniband/hw/mlx5/qp.c err = create_user_qp(dev, pd, qp, udata, init_attr, &in, in 2152 drivers/infiniband/hw/mlx5/qp.c err = create_kernel_qp(dev, init_attr, qp, &in, &inlen, in 2161 drivers/infiniband/hw/mlx5/qp.c in = kvzalloc(inlen, GFP_KERNEL); in 2162 drivers/infiniband/hw/mlx5/qp.c if (!in) in 2171 drivers/infiniband/hw/mlx5/qp.c qpc = MLX5_ADDR_OF(create_qp_in, in, qpc); in 2284 drivers/infiniband/hw/mlx5/qp.c err = create_raw_packet_qp(dev, qp, in, inlen, pd, udata, in 2287 drivers/infiniband/hw/mlx5/qp.c err = mlx5_core_create_qp(dev->mdev, &base->mqp, in, inlen); in 2295 drivers/infiniband/hw/mlx5/qp.c kvfree(in); in 2326 drivers/infiniband/hw/mlx5/qp.c kvfree(in); in 2563 drivers/infiniband/hw/mlx5/qp.c qp->dct.in = kzalloc(MLX5_ST_SZ_BYTES(create_dct_in), GFP_KERNEL); in 2564 drivers/infiniband/hw/mlx5/qp.c if (!qp->dct.in) { in 2569 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(create_dct_in, qp->dct.in, uid, to_mpd(pd)->uid); in 2570 drivers/infiniband/hw/mlx5/qp.c dctc = MLX5_ADDR_OF(create_dct_in, qp->dct.in, dct_context_entry); in 2765 drivers/infiniband/hw/mlx5/qp.c kfree(mqp->dct.in); in 2857 drivers/infiniband/hw/mlx5/qp.c void *in; in 2863 drivers/infiniband/hw/mlx5/qp.c in = kvzalloc(inlen, GFP_KERNEL); in 2864 drivers/infiniband/hw/mlx5/qp.c if (!in) in 2867 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(modify_tis_in, in, bitmask.prio, 1); in 2868 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(modify_tis_in, in, uid, to_mpd(pd)->uid); in 2870 drivers/infiniband/hw/mlx5/qp.c tisc = MLX5_ADDR_OF(modify_tis_in, in, ctx); in 2873 drivers/infiniband/hw/mlx5/qp.c err = mlx5_core_modify_tis(dev, sq->tisn, in, inlen); in 2875 drivers/infiniband/hw/mlx5/qp.c kvfree(in); in 2884 drivers/infiniband/hw/mlx5/qp.c void *in; in 2890 drivers/infiniband/hw/mlx5/qp.c in = kvzalloc(inlen, GFP_KERNEL); in 2891 drivers/infiniband/hw/mlx5/qp.c if (!in) in 2894 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(modify_tis_in, in, bitmask.lag_tx_port_affinity, 1); in 2895 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(modify_tis_in, in, uid, to_mpd(pd)->uid); in 2897 drivers/infiniband/hw/mlx5/qp.c tisc = MLX5_ADDR_OF(modify_tis_in, in, ctx); in 2900 drivers/infiniband/hw/mlx5/qp.c err = mlx5_core_modify_tis(dev, sq->tisn, in, inlen); in 2902 drivers/infiniband/hw/mlx5/qp.c kvfree(in); in 3153 drivers/infiniband/hw/mlx5/qp.c void *in; in 3159 drivers/infiniband/hw/mlx5/qp.c in = kvzalloc(inlen, GFP_KERNEL); in 3160 drivers/infiniband/hw/mlx5/qp.c if (!in) in 3163 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(modify_rq_in, in, rq_state, rq->state); in 3164 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(modify_rq_in, in, uid, to_mpd(pd)->uid); in 3166 drivers/infiniband/hw/mlx5/qp.c rqc = MLX5_ADDR_OF(modify_rq_in, in, ctx); in 3171 drivers/infiniband/hw/mlx5/qp.c MLX5_SET64(modify_rq_in, in, modify_bitmask, in 3180 drivers/infiniband/hw/mlx5/qp.c err = mlx5_core_modify_rq(dev->mdev, rq->base.mqp.qpn, in, inlen); in 3187 drivers/infiniband/hw/mlx5/qp.c kvfree(in); in 3200 drivers/infiniband/hw/mlx5/qp.c void *in; in 3206 drivers/infiniband/hw/mlx5/qp.c in = kvzalloc(inlen, GFP_KERNEL); in 3207 drivers/infiniband/hw/mlx5/qp.c if (!in) in 3210 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(modify_sq_in, in, uid, to_mpd(pd)->uid); in 3211 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(modify_sq_in, in, sq_state, sq->state); in 3213 drivers/infiniband/hw/mlx5/qp.c sqc = MLX5_ADDR_OF(modify_sq_in, in, ctx); in 3238 drivers/infiniband/hw/mlx5/qp.c MLX5_SET64(modify_sq_in, in, modify_bitmask, 1); in 3243 drivers/infiniband/hw/mlx5/qp.c err = mlx5_core_modify_sq(dev, sq->base.mqp.qpn, in, inlen); in 3263 drivers/infiniband/hw/mlx5/qp.c kvfree(in); in 3813 drivers/infiniband/hw/mlx5/qp.c dctc = MLX5_ADDR_OF(create_dct_in, qp->dct.in, dct_context_entry); in 3867 drivers/infiniband/hw/mlx5/qp.c err = mlx5_core_create_dct(dev->mdev, &qp->dct.mdct, qp->dct.in, in 5924 drivers/infiniband/hw/mlx5/qp.c void *in; in 5933 drivers/infiniband/hw/mlx5/qp.c in = kvzalloc(inlen, GFP_KERNEL); in 5934 drivers/infiniband/hw/mlx5/qp.c if (!in) in 5937 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(create_rq_in, in, uid, to_mpd(pd)->uid); in 5938 drivers/infiniband/hw/mlx5/qp.c rqc = MLX5_ADDR_OF(create_rq_in, in, ctx); in 6002 drivers/infiniband/hw/mlx5/qp.c err = mlx5_core_create_rq_tracked(dev->mdev, in, inlen, &rwq->core_qp); in 6014 drivers/infiniband/hw/mlx5/qp.c kvfree(in); in 6205 drivers/infiniband/hw/mlx5/qp.c u32 *in; in 6230 drivers/infiniband/hw/mlx5/qp.c in = kvzalloc(inlen, GFP_KERNEL); in 6231 drivers/infiniband/hw/mlx5/qp.c if (!in) { in 6236 drivers/infiniband/hw/mlx5/qp.c rqtc = MLX5_ADDR_OF(create_rqt_in, in, rqt_context); in 6245 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(create_rqt_in, in, uid, rwq_ind_tbl->uid); in 6247 drivers/infiniband/hw/mlx5/qp.c err = mlx5_core_create_rqt(dev->mdev, in, inlen, &rwq_ind_tbl->rqtn); in 6248 drivers/infiniband/hw/mlx5/qp.c kvfree(in); in 6294 drivers/infiniband/hw/mlx5/qp.c void *in; in 6312 drivers/infiniband/hw/mlx5/qp.c in = kvzalloc(inlen, GFP_KERNEL); in 6313 drivers/infiniband/hw/mlx5/qp.c if (!in) in 6316 drivers/infiniband/hw/mlx5/qp.c rqc = MLX5_ADDR_OF(modify_rq_in, in, ctx); in 6326 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(modify_rq_in, in, rq_state, curr_wq_state); in 6327 drivers/infiniband/hw/mlx5/qp.c MLX5_SET(modify_rq_in, in, uid, to_mpd(wq->pd)->uid); in 6339 drivers/infiniband/hw/mlx5/qp.c MLX5_SET64(modify_rq_in, in, modify_bitmask, in 6357 drivers/infiniband/hw/mlx5/qp.c MLX5_SET64(modify_rq_in, in, modify_bitmask, in 6366 drivers/infiniband/hw/mlx5/qp.c err = mlx5_core_modify_rq(dev->mdev, rwq->core_qp.qpn, in, inlen); in 6371 drivers/infiniband/hw/mlx5/qp.c kvfree(in); in 45 drivers/infiniband/hw/mlx5/srq.c struct mlx5_srq_attr *in, in 75 drivers/infiniband/hw/mlx5/srq.c if (in->type != IB_SRQT_BASIC) { in 99 drivers/infiniband/hw/mlx5/srq.c in->pas = kvcalloc(ncont, sizeof(*in->pas), GFP_KERNEL); in 100 drivers/infiniband/hw/mlx5/srq.c if (!in->pas) { in 105 drivers/infiniband/hw/mlx5/srq.c mlx5_ib_populate_pas(dev, srq->umem, page_shift, in->pas, 0); in 113 drivers/infiniband/hw/mlx5/srq.c in->log_page_size = page_shift - MLX5_ADAPTER_PAGE_SHIFT; in 114 drivers/infiniband/hw/mlx5/srq.c in->page_offset = offset; in 115 drivers/infiniband/hw/mlx5/srq.c in->uid = (in->type != IB_SRQT_XRC) ? to_mpd(pd)->uid : 0; in 117 drivers/infiniband/hw/mlx5/srq.c in->type != IB_SRQT_BASIC) in 118 drivers/infiniband/hw/mlx5/srq.c in->user_index = uidx; in 123 drivers/infiniband/hw/mlx5/srq.c kvfree(in->pas); in 132 drivers/infiniband/hw/mlx5/srq.c struct mlx5_srq_attr *in, int buf_size) in 165 drivers/infiniband/hw/mlx5/srq.c in->pas = kvcalloc(srq->buf.npages, sizeof(*in->pas), GFP_KERNEL); in 166 drivers/infiniband/hw/mlx5/srq.c if (!in->pas) { in 170 drivers/infiniband/hw/mlx5/srq.c mlx5_fill_page_frag_array(&srq->buf, in->pas); in 179 drivers/infiniband/hw/mlx5/srq.c in->log_page_size = srq->buf.page_shift - MLX5_ADAPTER_PAGE_SHIFT; in 181 drivers/infiniband/hw/mlx5/srq.c in->type != IB_SRQT_BASIC) in 182 drivers/infiniband/hw/mlx5/srq.c in->user_index = MLX5_IB_DEFAULT_UIDX; in 187 drivers/infiniband/hw/mlx5/srq.c kvfree(in->pas); in 226 drivers/infiniband/hw/mlx5/srq.c struct mlx5_srq_attr in = {}; in 259 drivers/infiniband/hw/mlx5/srq.c in.type = init_attr->srq_type; in 262 drivers/infiniband/hw/mlx5/srq.c err = create_srq_user(ib_srq->pd, srq, &in, udata, buf_size); in 264 drivers/infiniband/hw/mlx5/srq.c err = create_srq_kernel(dev, srq, &in, buf_size); in 272 drivers/infiniband/hw/mlx5/srq.c in.log_size = ilog2(srq->msrq.max); in 273 drivers/infiniband/hw/mlx5/srq.c in.wqe_shift = srq->msrq.wqe_shift - 4; in 275 drivers/infiniband/hw/mlx5/srq.c in.flags |= MLX5_SRQ_FLAG_WQ_SIG; in 278 drivers/infiniband/hw/mlx5/srq.c in.xrcd = to_mxrcd(init_attr->ext.xrc.xrcd)->xrcdn; in 280 drivers/infiniband/hw/mlx5/srq.c in.xrcd = to_mxrcd(dev->devr.x0)->xrcdn; in 283 drivers/infiniband/hw/mlx5/srq.c in.tm_log_list_size = in 285 drivers/infiniband/hw/mlx5/srq.c if (in.tm_log_list_size > in 291 drivers/infiniband/hw/mlx5/srq.c in.flags |= MLX5_SRQ_FLAG_RNDV; in 295 drivers/infiniband/hw/mlx5/srq.c in.cqn = to_mcq(init_attr->ext.cq)->mcq.cqn; in 297 drivers/infiniband/hw/mlx5/srq.c in.cqn = to_mcq(dev->devr.c0)->mcq.cqn; in 299 drivers/infiniband/hw/mlx5/srq.c in.pd = to_mpd(ib_srq->pd)->pdn; in 300 drivers/infiniband/hw/mlx5/srq.c in.db_record = srq->db.dma; in 301 drivers/infiniband/hw/mlx5/srq.c err = mlx5_cmd_create_srq(dev, &srq->msrq, &in); in 302 drivers/infiniband/hw/mlx5/srq.c kvfree(in.pas); in 58 drivers/infiniband/hw/mlx5/srq.h struct mlx5_srq_attr *in); in 12 drivers/infiniband/hw/mlx5/srq_cmd.c static int get_pas_size(struct mlx5_srq_attr *in) in 14 drivers/infiniband/hw/mlx5/srq_cmd.c u32 log_page_size = in->log_page_size + 12; in 15 drivers/infiniband/hw/mlx5/srq_cmd.c u32 log_srq_size = in->log_size; in 16 drivers/infiniband/hw/mlx5/srq_cmd.c u32 log_rq_stride = in->wqe_shift; in 17 drivers/infiniband/hw/mlx5/srq_cmd.c u32 page_offset = in->page_offset; in 27 drivers/infiniband/hw/mlx5/srq_cmd.c static void set_wq(void *wq, struct mlx5_srq_attr *in) in 29 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(wq, wq, wq_signature, !!(in->flags in 31 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(wq, wq, log_wq_pg_sz, in->log_page_size); in 32 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(wq, wq, log_wq_stride, in->wqe_shift + 4); in 33 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(wq, wq, log_wq_sz, in->log_size); in 34 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(wq, wq, page_offset, in->page_offset); in 35 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(wq, wq, lwm, in->lwm); in 36 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(wq, wq, pd, in->pd); in 37 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET64(wq, wq, dbr_addr, in->db_record); in 40 drivers/infiniband/hw/mlx5/srq_cmd.c static void set_srqc(void *srqc, struct mlx5_srq_attr *in) in 42 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(srqc, srqc, wq_signature, !!(in->flags in 44 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(srqc, srqc, log_page_size, in->log_page_size); in 45 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(srqc, srqc, log_rq_stride, in->wqe_shift); in 46 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(srqc, srqc, log_srq_size, in->log_size); in 47 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(srqc, srqc, page_offset, in->page_offset); in 48 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(srqc, srqc, lwm, in->lwm); in 49 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(srqc, srqc, pd, in->pd); in 50 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET64(srqc, srqc, dbr_addr, in->db_record); in 51 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(srqc, srqc, xrcd, in->xrcd); in 52 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(srqc, srqc, cqn, in->cqn); in 55 drivers/infiniband/hw/mlx5/srq_cmd.c static void get_wq(void *wq, struct mlx5_srq_attr *in) in 58 drivers/infiniband/hw/mlx5/srq_cmd.c in->flags &= MLX5_SRQ_FLAG_WQ_SIG; in 59 drivers/infiniband/hw/mlx5/srq_cmd.c in->log_page_size = MLX5_GET(wq, wq, log_wq_pg_sz); in 60 drivers/infiniband/hw/mlx5/srq_cmd.c in->wqe_shift = MLX5_GET(wq, wq, log_wq_stride) - 4; in 61 drivers/infiniband/hw/mlx5/srq_cmd.c in->log_size = MLX5_GET(wq, wq, log_wq_sz); in 62 drivers/infiniband/hw/mlx5/srq_cmd.c in->page_offset = MLX5_GET(wq, wq, page_offset); in 63 drivers/infiniband/hw/mlx5/srq_cmd.c in->lwm = MLX5_GET(wq, wq, lwm); in 64 drivers/infiniband/hw/mlx5/srq_cmd.c in->pd = MLX5_GET(wq, wq, pd); in 65 drivers/infiniband/hw/mlx5/srq_cmd.c in->db_record = MLX5_GET64(wq, wq, dbr_addr); in 68 drivers/infiniband/hw/mlx5/srq_cmd.c static void get_srqc(void *srqc, struct mlx5_srq_attr *in) in 71 drivers/infiniband/hw/mlx5/srq_cmd.c in->flags &= MLX5_SRQ_FLAG_WQ_SIG; in 72 drivers/infiniband/hw/mlx5/srq_cmd.c in->log_page_size = MLX5_GET(srqc, srqc, log_page_size); in 73 drivers/infiniband/hw/mlx5/srq_cmd.c in->wqe_shift = MLX5_GET(srqc, srqc, log_rq_stride); in 74 drivers/infiniband/hw/mlx5/srq_cmd.c in->log_size = MLX5_GET(srqc, srqc, log_srq_size); in 75 drivers/infiniband/hw/mlx5/srq_cmd.c in->page_offset = MLX5_GET(srqc, srqc, page_offset); in 76 drivers/infiniband/hw/mlx5/srq_cmd.c in->lwm = MLX5_GET(srqc, srqc, lwm); in 77 drivers/infiniband/hw/mlx5/srq_cmd.c in->pd = MLX5_GET(srqc, srqc, pd); in 78 drivers/infiniband/hw/mlx5/srq_cmd.c in->db_record = MLX5_GET64(srqc, srqc, dbr_addr); in 96 drivers/infiniband/hw/mlx5/srq_cmd.c struct mlx5_srq_attr *in) in 106 drivers/infiniband/hw/mlx5/srq_cmd.c pas_size = get_pas_size(in); in 112 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(create_srq_in, create_in, uid, in->uid); in 116 drivers/infiniband/hw/mlx5/srq_cmd.c set_srqc(srqc, in); in 117 drivers/infiniband/hw/mlx5/srq_cmd.c memcpy(pas, in->pas, pas_size); in 127 drivers/infiniband/hw/mlx5/srq_cmd.c srq->uid = in->uid; in 194 drivers/infiniband/hw/mlx5/srq_cmd.c struct mlx5_srq_attr *in) in 204 drivers/infiniband/hw/mlx5/srq_cmd.c pas_size = get_pas_size(in); in 210 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(create_xrc_srq_in, create_in, uid, in->uid); in 215 drivers/infiniband/hw/mlx5/srq_cmd.c set_srqc(xrc_srqc, in); in 216 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(xrc_srqc, xrc_srqc, user_index, in->user_index); in 217 drivers/infiniband/hw/mlx5/srq_cmd.c memcpy(pas, in->pas, pas_size); in 228 drivers/infiniband/hw/mlx5/srq_cmd.c srq->uid = in->uid; in 300 drivers/infiniband/hw/mlx5/srq_cmd.c struct mlx5_srq_attr *in) in 311 drivers/infiniband/hw/mlx5/srq_cmd.c pas_size = get_pas_size(in); in 325 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(create_rmp_in, create_in, uid, in->uid); in 326 drivers/infiniband/hw/mlx5/srq_cmd.c set_wq(wq, in); in 327 drivers/infiniband/hw/mlx5/srq_cmd.c memcpy(MLX5_ADDR_OF(rmpc, rmpc, wq.pas), in->pas, pas_size); in 333 drivers/infiniband/hw/mlx5/srq_cmd.c srq->uid = in->uid; in 344 drivers/infiniband/hw/mlx5/srq_cmd.c u32 in[MLX5_ST_SZ_DW(destroy_rmp_in)] = {}; in 347 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(destroy_rmp_in, in, opcode, MLX5_CMD_OP_DESTROY_RMP); in 348 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(destroy_rmp_in, in, rmpn, srq->srqn); in 349 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(destroy_rmp_in, in, uid, srq->uid); in 350 drivers/infiniband/hw/mlx5/srq_cmd.c return mlx5_cmd_exec(dev->mdev, in, sizeof(in), out, sizeof(out)); in 357 drivers/infiniband/hw/mlx5/srq_cmd.c void *in = NULL; in 368 drivers/infiniband/hw/mlx5/srq_cmd.c in = kvzalloc(inlen, GFP_KERNEL); in 370 drivers/infiniband/hw/mlx5/srq_cmd.c if (!in || !out) { in 375 drivers/infiniband/hw/mlx5/srq_cmd.c rmpc = MLX5_ADDR_OF(modify_rmp_in, in, ctx); in 376 drivers/infiniband/hw/mlx5/srq_cmd.c bitmask = MLX5_ADDR_OF(modify_rmp_in, in, bitmask); in 379 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(modify_rmp_in, in, rmp_state, MLX5_RMPC_STATE_RDY); in 380 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(modify_rmp_in, in, rmpn, srq->srqn); in 381 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(modify_rmp_in, in, uid, srq->uid); in 385 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(modify_rmp_in, in, opcode, MLX5_CMD_OP_MODIFY_RMP); in 387 drivers/infiniband/hw/mlx5/srq_cmd.c err = mlx5_cmd_exec(dev->mdev, in, inlen, out, outlen); in 390 drivers/infiniband/hw/mlx5/srq_cmd.c kvfree(in); in 433 drivers/infiniband/hw/mlx5/srq_cmd.c struct mlx5_srq_attr *in) in 443 drivers/infiniband/hw/mlx5/srq_cmd.c pas_size = get_pas_size(in); in 452 drivers/infiniband/hw/mlx5/srq_cmd.c set_wq(wq, in); in 453 drivers/infiniband/hw/mlx5/srq_cmd.c memcpy(MLX5_ADDR_OF(xrqc, xrqc, wq.pas), in->pas, pas_size); in 455 drivers/infiniband/hw/mlx5/srq_cmd.c if (in->type == IB_SRQT_TM) { in 457 drivers/infiniband/hw/mlx5/srq_cmd.c if (in->flags & MLX5_SRQ_FLAG_RNDV) in 461 drivers/infiniband/hw/mlx5/srq_cmd.c in->tm_log_list_size); in 463 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(xrqc, xrqc, user_index, in->user_index); in 464 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(xrqc, xrqc, cqn, in->cqn); in 466 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(create_xrq_in, create_in, uid, in->uid); in 472 drivers/infiniband/hw/mlx5/srq_cmd.c srq->uid = in->uid; in 480 drivers/infiniband/hw/mlx5/srq_cmd.c u32 in[MLX5_ST_SZ_DW(destroy_xrq_in)] = {0}; in 483 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(destroy_xrq_in, in, opcode, MLX5_CMD_OP_DESTROY_XRQ); in 484 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(destroy_xrq_in, in, xrqn, srq->srqn); in 485 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(destroy_xrq_in, in, uid, srq->uid); in 487 drivers/infiniband/hw/mlx5/srq_cmd.c return mlx5_cmd_exec(dev->mdev, in, sizeof(in), out, sizeof(out)); in 495 drivers/infiniband/hw/mlx5/srq_cmd.c u32 in[MLX5_ST_SZ_DW(arm_rq_in)] = {0}; in 497 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(arm_rq_in, in, opcode, MLX5_CMD_OP_ARM_RQ); in 498 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(arm_rq_in, in, op_mod, MLX5_ARM_RQ_IN_OP_MOD_XRQ); in 499 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(arm_rq_in, in, srq_number, srq->srqn); in 500 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(arm_rq_in, in, lwm, lwm); in 501 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(arm_rq_in, in, uid, srq->uid); in 503 drivers/infiniband/hw/mlx5/srq_cmd.c return mlx5_cmd_exec(dev->mdev, in, sizeof(in), out, sizeof(out)); in 509 drivers/infiniband/hw/mlx5/srq_cmd.c u32 in[MLX5_ST_SZ_DW(query_xrq_in)] = {0}; in 519 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(query_xrq_in, in, opcode, MLX5_CMD_OP_QUERY_XRQ); in 520 drivers/infiniband/hw/mlx5/srq_cmd.c MLX5_SET(query_xrq_in, in, xrqn, srq->srqn); in 522 drivers/infiniband/hw/mlx5/srq_cmd.c err = mlx5_cmd_exec(dev->mdev, in, sizeof(in), xrq_out, outlen); in 546 drivers/infiniband/hw/mlx5/srq_cmd.c struct mlx5_srq_attr *in) in 549 drivers/infiniband/hw/mlx5/srq_cmd.c return create_srq_cmd(dev, srq, in); in 552 drivers/infiniband/hw/mlx5/srq_cmd.c return create_xrc_srq_cmd(dev, srq, in); in 554 drivers/infiniband/hw/mlx5/srq_cmd.c return create_xrq_cmd(dev, srq, in); in 556 drivers/infiniband/hw/mlx5/srq_cmd.c return create_rmp_cmd(dev, srq, in); in 575 drivers/infiniband/hw/mlx5/srq_cmd.c struct mlx5_srq_attr *in) in 580 drivers/infiniband/hw/mlx5/srq_cmd.c switch (in->type) { in 591 drivers/infiniband/hw/mlx5/srq_cmd.c err = create_srq_split(dev, srq, in); in 584 drivers/infiniband/hw/mthca/mthca_dev.h const struct ib_mad_hdr *in, size_t in_mad_size, in 204 drivers/infiniband/hw/mthca/mthca_mad.c const struct ib_mad_hdr *in, size_t in_mad_size, in 212 drivers/infiniband/hw/mthca/mthca_mad.c const struct ib_mad *in_mad = (const struct ib_mad *)in; in 255 drivers/infiniband/hw/ocrdma/ocrdma_ah.c const struct ib_mad_hdr *in, size_t in_mad_size, in 261 drivers/infiniband/hw/ocrdma/ocrdma_ah.c const struct ib_mad *in_mad = (const struct ib_mad *)in; in 64 drivers/infiniband/hw/ocrdma/ocrdma_ah.h const struct ib_mad_hdr *in, size_t in_mad_size, in 131 drivers/infiniband/hw/qib/qib_diag.c static int qib_diag_open(struct inode *in, struct file *fp); in 132 drivers/infiniband/hw/qib/qib_diag.c static int qib_diag_release(struct inode *in, struct file *fp); in 508 drivers/infiniband/hw/qib/qib_diag.c static int qib_diag_open(struct inode *in, struct file *fp) in 510 drivers/infiniband/hw/qib/qib_diag.c int unit = iminor(in) - QIB_DIAG_MINOR_BASE; in 676 drivers/infiniband/hw/qib/qib_diag.c static int qib_diag_release(struct inode *in, struct file *fp) in 1519 drivers/infiniband/hw/qib/qib_file_ops.c static int qib_open(struct inode *in, struct file *fp) in 1790 drivers/infiniband/hw/qib/qib_file_ops.c static int qib_close(struct inode *in, struct file *fp) in 2408 drivers/infiniband/hw/qib/qib_mad.c const struct ib_mad_hdr *in, size_t in_mad_size, in 2415 drivers/infiniband/hw/qib/qib_mad.c const struct ib_mad *in_mad = (const struct ib_mad *)in; in 248 drivers/infiniband/hw/qib/qib_verbs.h const struct ib_mad_hdr *in, size_t in_mad_size, in 72 drivers/infiniband/sw/rdmavt/mad.c const struct ib_mad_hdr *in, size_t in_mad_size, in 55 drivers/infiniband/sw/rdmavt/mad.h const struct ib_mad_hdr *in, size_t in_mad_size, in 654 drivers/input/serio/hil_mlc.c rc = mlc->in(mlc, node->arg); in 320 drivers/input/serio/hp_sdc_mlc.c mlc->in = &hp_sdc_mlc_in; in 404 drivers/md/persistent-data/dm-space-map-metadata.c in(smm); in 420 drivers/md/persistent-data/dm-space-map-metadata.c in(smm); in 437 drivers/md/persistent-data/dm-space-map-metadata.c in(smm); in 463 drivers/md/persistent-data/dm-space-map-metadata.c in(smm); in 44 drivers/media/dvb-frontends/gp8psk-fe.c st->ops->in(st->priv, GET_8PSK_CONFIG, 0, 0, &status, 1); in 59 drivers/media/dvb-frontends/gp8psk-fe.c st->ops->in(st->priv, GET_SIGNAL_LOCK, 0, 0, &st->lock, 1); in 60 drivers/media/dvb-frontends/gp8psk-fe.c st->ops->in(st->priv, GET_SIGNAL_STRENGTH, 0, 0, buf, 6); in 330 drivers/media/dvb-frontends/gp8psk-fe.c if (!ops || !ops->in || !ops->out || !ops->reload) { in 65 drivers/media/dvb-frontends/gp8psk-fe.h int (*in)(void *priv, u8 req, u16 value, u16 index, u8 *b, int blen); in 275 drivers/media/i2c/msp3400-driver.c void msp_set_scart(struct i2c_client *client, int in, int out) in 279 drivers/media/i2c/msp3400-driver.c state->in_scart = in; in 281 drivers/media/i2c/msp3400-driver.c if (in >= 0 && in <= 7 && out >= 0 && out <= 2) { in 282 drivers/media/i2c/msp3400-driver.c if (-1 == scarts[out][in + 1]) in 286 drivers/media/i2c/msp3400-driver.c state->acb |= scarts[out][in + 1]; in 291 drivers/media/i2c/msp3400-driver.c scart_names[in], out, state->acb); in 135 drivers/media/i2c/msp3400-driver.h void msp_set_scart(struct i2c_client *client, int in, int out); in 878 drivers/media/i2c/msp3400-kthreads.c static void msp34xxg_set_source(struct i2c_client *client, u16 reg, int in) in 907 drivers/media/i2c/msp3400-kthreads.c if (in == MSP_DSP_IN_TUNER) in 911 drivers/media/i2c/msp3400-kthreads.c else if (in >= MSP_DSP_IN_MAIN_AVC && state->has_dolby_pro_logic) in 912 drivers/media/i2c/msp3400-kthreads.c source = ((in + 1) << 8) | matrix; in 914 drivers/media/i2c/msp3400-kthreads.c source = (in << 8) | matrix; in 917 drivers/media/i2c/msp3400-kthreads.c "set source to %d (0x%x) for output %02x\n", in, source, reg); in 924 drivers/media/i2c/msp3400-kthreads.c u32 in = state->route_in; in 926 drivers/media/i2c/msp3400-kthreads.c msp34xxg_set_source(client, 0x0008, (in >> 4) & 0xf); in 928 drivers/media/i2c/msp3400-kthreads.c msp34xxg_set_source(client, 0x000c, (in >> 4) & 0xf); in 929 drivers/media/i2c/msp3400-kthreads.c msp34xxg_set_source(client, 0x0009, (in >> 8) & 0xf); in 930 drivers/media/i2c/msp3400-kthreads.c msp34xxg_set_source(client, 0x000a, (in >> 12) & 0xf); in 932 drivers/media/i2c/msp3400-kthreads.c msp34xxg_set_source(client, 0x0041, (in >> 16) & 0xf); in 933 drivers/media/i2c/msp3400-kthreads.c msp34xxg_set_source(client, 0x000b, (in >> 20) & 0xf); in 1033 drivers/media/pci/bt8xx/bttv-driver.c u32 in; in 1044 drivers/media/pci/bt8xx/bttv-driver.c in = MSP_INPUT_DEFAULT; in 1047 drivers/media/pci/bt8xx/bttv-driver.c in = MSP_INPUT(MSP_IN_SCART2, MSP_IN_TUNER1, in 1051 drivers/media/pci/bt8xx/bttv-driver.c in = MSP_INPUT(MSP_IN_SCART1, MSP_IN_TUNER1, in 1060 drivers/media/pci/bt8xx/bttv-driver.c in = MSP_INPUT(MSP_IN_SCART2, MSP_IN_TUNER1, in 1069 drivers/media/pci/bt8xx/bttv-driver.c in = MSP_INPUT(MSP_IN_SCART1, MSP_IN_TUNER2, \ in 1072 drivers/media/pci/bt8xx/bttv-driver.c in = MSP_INPUT_DEFAULT; in 1076 drivers/media/pci/bt8xx/bttv-driver.c in, MSP_OUTPUT_DEFAULT, 0); in 25 drivers/media/pci/cx18/cx18-audio.c const struct cx18_card_audio_input *in; in 31 drivers/media/pci/cx18/cx18-audio.c in = &cx->card->radio_input; in 33 drivers/media/pci/cx18/cx18-audio.c in = &cx->card->audio_inputs[cx->audio_input]; in 37 drivers/media/pci/cx18/cx18-audio.c (u32) in->muxer_input, 0, 0); in 40 drivers/media/pci/cx18/cx18-audio.c audio, s_routing, in->audio_input, 0, 0); in 47 drivers/media/pci/cx18/cx18-audio.c switch (in->audio_input) { in 61 drivers/media/pci/cx18/cx18-audio.c switch (in->audio_input) { in 757 drivers/media/pci/cx18/cx18-driver.c cx->vbi.in.type = V4L2_BUF_TYPE_VBI_CAPTURE; in 758 drivers/media/pci/cx18/cx18-driver.c cx->vbi.sliced_in = &cx->vbi.in.fmt.sliced; in 489 drivers/media/pci/cx18/cx18-driver.h struct v4l2_format in; in 690 drivers/media/pci/cx18/cx18-driver.h return cx->vbi.in.type == V4L2_BUF_TYPE_VBI_CAPTURE; in 319 drivers/media/pci/cx18/cx18-ioctl.c cx->vbi.in.type = V4L2_BUF_TYPE_VBI_CAPTURE; in 350 drivers/media/pci/cx18/cx18-ioctl.c cx->vbi.in.type = V4L2_BUF_TYPE_SLICED_VBI_CAPTURE; in 750 drivers/media/pci/cx18/cx18-mailbox.c int cx18_api_func(void *priv, u32 cmd, int in, int out, in 74 drivers/media/pci/cx18/cx18-mailbox.h int cx18_api_func(void *priv, u32 cmd, int in, int out, in 556 drivers/media/pci/cx18/cx18-streams.c v4l2_subdev_call(cx->sd_av, vbi, s_raw_fmt, &cx->vbi.in.fmt.vbi); in 558 drivers/media/pci/cx18/cx18-streams.c v4l2_subdev_call(cx->sd_av, vbi, s_sliced_fmt, &cx->vbi.in.fmt.sliced); in 747 drivers/media/pci/cx23885/cx23885-417.c int in, in 786 drivers/media/pci/cx23885/cx23885-417.c for (i = 0; i < in; i++) { in 853 drivers/media/pci/cx23885/cx23885-417.c static int cx23885_api_func(void *priv, u32 cmd, int in, int out, u32 data[CX2341X_MBOX_MAX_DATA]) in 855 drivers/media/pci/cx23885/cx23885-417.c return cx23885_mbox_func(priv, cmd, in, out, data); in 318 drivers/media/pci/cx88/cx88-blackbird.c static int blackbird_mbox_func(void *priv, u32 command, int in, in 352 drivers/media/pci/cx88/cx88-blackbird.c for (i = 0; i < in; i++) { in 179 drivers/media/pci/ddbridge/ddbridge-max.c static int max_set_input_unlocked(struct dvb_frontend *fe, int in) in 187 drivers/media/pci/ddbridge/ddbridge-max.c if (in > 3) in 189 drivers/media/pci/ddbridge/ddbridge-max.c if (dvb->input != in) { in 195 drivers/media/pci/ddbridge/ddbridge-max.c dvb->input = in; in 198 drivers/media/pci/ddbridge/ddbridge-max.c res = dvb->set_input(fe, in); in 782 drivers/media/pci/ivtv/ivtv-driver.c itv->vbi.in.type = V4L2_BUF_TYPE_VBI_CAPTURE; in 783 drivers/media/pci/ivtv/ivtv-driver.c itv->vbi.sliced_in = &itv->vbi.in.fmt.sliced; in 561 drivers/media/pci/ivtv/ivtv-driver.h struct v4l2_format in; /* current VBI capture format */ in 799 drivers/media/pci/ivtv/ivtv-driver.h return itv->vbi.in.type == V4L2_BUF_TYPE_VBI_CAPTURE; in 610 drivers/media/pci/ivtv/ivtv-ioctl.c itv->vbi.in.type = V4L2_BUF_TYPE_VBI_CAPTURE; in 628 drivers/media/pci/ivtv/ivtv-ioctl.c itv->vbi.in.type = V4L2_BUF_TYPE_SLICED_VBI_CAPTURE; in 325 drivers/media/pci/ivtv/ivtv-mailbox.c int ivtv_api_func(void *priv, u32 cmd, int in, int out, u32 data[CX2341X_MBOX_MAX_DATA]) in 327 drivers/media/pci/ivtv/ivtv-mailbox.c return ivtv_api(priv, cmd, in, data); in 20 drivers/media/pci/ivtv/ivtv-mailbox.h int ivtv_api_func(void *priv, u32 cmd, int in, int out, u32 data[CX2341X_MBOX_MAX_DATA]); in 24 drivers/media/pci/ivtv/ivtv-routing.c const struct ivtv_card_audio_input *in; in 29 drivers/media/pci/ivtv/ivtv-routing.c in = &itv->card->radio_input; in 31 drivers/media/pci/ivtv/ivtv-routing.c in = &itv->card->audio_inputs[itv->audio_input]; in 34 drivers/media/pci/ivtv/ivtv-routing.c input = in->muxer_input; in 40 drivers/media/pci/ivtv/ivtv-routing.c input = in->audio_input; in 389 drivers/media/pci/ivtv/ivtv-streams.c v4l2_subdev_call(itv->sd_video, vbi, s_raw_fmt, &itv->vbi.in.fmt.vbi); in 391 drivers/media/pci/ivtv/ivtv-streams.c v4l2_subdev_call(itv->sd_video, vbi, s_sliced_fmt, &itv->vbi.in.fmt.sliced); in 32 drivers/media/pci/ngene/ngene-i2c.c u8 *out, u8 outlen, u8 *in, u8 inlen, int flag) in 52 drivers/media/pci/ngene/ngene-i2c.c memcpy(in, com.cmd.raw8, inlen + 1); in 54 drivers/media/pci/ngene/ngene-i2c.c memcpy(in, com.cmd.raw8 + 1, inlen); in 875 drivers/media/pci/saa7134/saa7134-core.c struct saa7134_input *in = &card_in(dev, i); in 877 drivers/media/pci/saa7134/saa7134-core.c if (in->type == SAA7134_NO_INPUT) in 881 drivers/media/pci/saa7134/saa7134-core.c if (in->type == SAA7134_INPUT_COMPOSITE_OVER_SVIDEO) in 884 drivers/media/pci/saa7134/saa7134-core.c ent->name = saa7134_input_name[in->type]; in 888 drivers/media/pci/saa7134/saa7134-core.c switch (in->type) { in 925 drivers/media/pci/saa7134/saa7134-core.c struct saa7134_input *in = &saa7134_boards[dev->board].radio; in 928 drivers/media/pci/saa7134/saa7134-core.c ent->name = saa7134_input_name[in->type]; in 174 drivers/media/pci/saa7134/saa7134-tvaudio.c struct saa7134_input *in; in 179 drivers/media/pci/saa7134/saa7134-tvaudio.c in = dev->input; in 181 drivers/media/pci/saa7134/saa7134-tvaudio.c (dev->automute && (&card(dev).radio) != in)); in 188 drivers/media/pci/saa7134/saa7134-tvaudio.c in = &card(dev).mute; in 192 drivers/media/pci/saa7134/saa7134-tvaudio.c dev->hw_input == in && !dev->insuspend) { in 194 drivers/media/pci/saa7134/saa7134-tvaudio.c mute, saa7134_input_name[in->type]); in 201 drivers/media/pci/saa7134/saa7134-tvaudio.c saa7134_input_name[in->type]); in 203 drivers/media/pci/saa7134/saa7134-tvaudio.c dev->hw_input = in; in 214 drivers/media/pci/saa7134/saa7134-tvaudio.c switch (in->amux) { in 224 drivers/media/pci/saa7134/saa7134-tvaudio.c if (in->amux == TV) in 235 drivers/media/pci/saa7134/saa7134-tvaudio.c saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, mask, in->gpio); in 236 drivers/media/pci/saa7134/saa7134-tvaudio.c saa7134_track_gpio(dev, saa7134_input_name[in->type]); in 715 drivers/media/pci/saa7134/saa7134-tvaudio.c struct saa7134_input *in; in 747 drivers/media/pci/saa7134/saa7134-tvaudio.c in = &card(dev).mute; in 749 drivers/media/pci/saa7134/saa7134-tvaudio.c in = dev->input; in 752 drivers/media/pci/saa7134/saa7134-tvaudio.c saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, mask, in->gpio); in 753 drivers/media/pci/saa7134/saa7134-tvaudio.c saa7134_track_gpio(dev, saa7134_input_name[in->type]); in 922 drivers/media/pci/saa7134/saa7134-tvaudio.c struct saa7134_input *in) in 924 drivers/media/pci/saa7134/saa7134-tvaudio.c dev->input = in; in 882 drivers/media/pci/saa7134/saa7134.h struct saa7134_input *in); in 155 drivers/media/platform/coda/coda-bit.c kfifo->out = (kfifo->in & ~kfifo->mask) | in 157 drivers/media/platform/coda/coda-bit.c if (kfifo->out > kfifo->in) in 169 drivers/media/platform/coda/coda-bit.c wr_ptr = ctx->bitstream.paddr + (kfifo->in & kfifo->mask); in 179 drivers/media/platform/coda/coda-bit.c wr_ptr = ctx->bitstream.paddr + (kfifo->in & kfifo->mask); in 389 drivers/media/platform/coda/coda-bit.c start = ctx->bitstream_fifo.kfifo.in; in 404 drivers/media/platform/coda/coda-bit.c meta->end = ctx->bitstream_fifo.kfifo.in; in 2223 drivers/media/platform/coda/coda-bit.c if (meta->end == ctx->bitstream_fifo.kfifo.in) { in 1491 drivers/media/platform/coda/coda-common.c meta->end, ctx->bitstream_fifo.kfifo.in); in 335 drivers/media/platform/coda/coda.h return (int)(ctx->bitstream_fifo.kfifo.in - ALIGN(pos, 256)) > 512; in 44 drivers/media/platform/mtk-vcodec/venc_drv_base.h struct venc_enc_param *in); in 45 drivers/media/platform/mtk-vcodec/venc_drv_if.c enum venc_set_param_type type, struct venc_enc_param *in) in 51 drivers/media/platform/mtk-vcodec/venc_drv_if.c ret = ctx->enc_if->set_param(ctx->drv_handle, type, in); in 140 drivers/media/platform/mtk-vcodec/venc_drv_if.h struct venc_enc_param *in); in 2380 drivers/media/platform/omap3isp/ispccdc.c static bool ccdc_is_shiftable(u32 in, u32 out, unsigned int additional_shift) in 2384 drivers/media/platform/omap3isp/ispccdc.c if (in == out) in 2387 drivers/media/platform/omap3isp/ispccdc.c in_info = omap3isp_video_format_info(in); in 419 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_framerate *in = pdata, *frate = prop_data; in 421 drivers/media/platform/qcom/venus/hfi_cmds.c frate->buffer_type = in->buffer_type; in 422 drivers/media/platform/qcom/venus/hfi_cmds.c frate->framerate = in->framerate; in 427 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_uncompressed_format_select *in = pdata; in 430 drivers/media/platform/qcom/venus/hfi_cmds.c hfi->buffer_type = in->buffer_type; in 431 drivers/media/platform/qcom/venus/hfi_cmds.c hfi->format = in->format; in 436 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_framesize *in = pdata, *fsize = prop_data; in 438 drivers/media/platform/qcom/venus/hfi_cmds.c fsize->buffer_type = in->buffer_type; in 439 drivers/media/platform/qcom/venus/hfi_cmds.c fsize->height = in->height; in 440 drivers/media/platform/qcom/venus/hfi_cmds.c fsize->width = in->width; in 445 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_enable *in = pdata, *en = prop_data; in 447 drivers/media/platform/qcom/venus/hfi_cmds.c en->enable = in->enable; in 452 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_buffer_count_actual *in = pdata, *count = prop_data; in 454 drivers/media/platform/qcom/venus/hfi_cmds.c count->count_actual = in->count_actual; in 455 drivers/media/platform/qcom/venus/hfi_cmds.c count->type = in->type; in 460 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_buffer_size_actual *in = pdata, *sz = prop_data; in 462 drivers/media/platform/qcom/venus/hfi_cmds.c sz->size = in->size; in 463 drivers/media/platform/qcom/venus/hfi_cmds.c sz->type = in->type; in 468 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_buffer_display_hold_count_actual *in = pdata; in 471 drivers/media/platform/qcom/venus/hfi_cmds.c count->hold_count = in->hold_count; in 472 drivers/media/platform/qcom/venus/hfi_cmds.c count->type = in->type; in 477 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_nal_stream_format_select *in = pdata; in 480 drivers/media/platform/qcom/venus/hfi_cmds.c fmt->format = in->format; in 485 drivers/media/platform/qcom/venus/hfi_cmds.c u32 *in = pdata; in 487 drivers/media/platform/qcom/venus/hfi_cmds.c switch (*in) { in 496 drivers/media/platform/qcom/venus/hfi_cmds.c pkt->data[1] = *in; in 501 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_enable_picture *in = pdata, *en = prop_data; in 503 drivers/media/platform/qcom/venus/hfi_cmds.c en->picture_type = in->picture_type; in 508 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_enable *in = pdata, *en = prop_data; in 510 drivers/media/platform/qcom/venus/hfi_cmds.c en->enable = in->enable; in 515 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_enable *in = pdata; in 518 drivers/media/platform/qcom/venus/hfi_cmds.c en->enable = in->enable; in 523 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_multi_stream *in = pdata, *multi = prop_data; in 525 drivers/media/platform/qcom/venus/hfi_cmds.c multi->buffer_type = in->buffer_type; in 526 drivers/media/platform/qcom/venus/hfi_cmds.c multi->enable = in->enable; in 527 drivers/media/platform/qcom/venus/hfi_cmds.c multi->width = in->width; in 528 drivers/media/platform/qcom/venus/hfi_cmds.c multi->height = in->height; in 533 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_display_picture_buffer_count *in = pdata; in 536 drivers/media/platform/qcom/venus/hfi_cmds.c count->count = in->count; in 537 drivers/media/platform/qcom/venus/hfi_cmds.c count->enable = in->enable; in 542 drivers/media/platform/qcom/venus/hfi_cmds.c u32 *in = pdata; in 544 drivers/media/platform/qcom/venus/hfi_cmds.c switch (*in) { in 554 drivers/media/platform/qcom/venus/hfi_cmds.c pkt->data[1] = *in; in 559 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_enable *in = pdata, *en = prop_data; in 561 drivers/media/platform/qcom/venus/hfi_cmds.c en->enable = in->enable; in 566 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_enable *in = pdata, *en = prop_data; in 568 drivers/media/platform/qcom/venus/hfi_cmds.c en->enable = in->enable; in 573 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_enable *in = pdata, *en = prop_data; in 575 drivers/media/platform/qcom/venus/hfi_cmds.c en->enable = in->enable; in 580 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_enable *in = pdata, *en = prop_data; in 582 drivers/media/platform/qcom/venus/hfi_cmds.c en->enable = in->enable; in 594 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_bitrate *in = pdata, *brate = prop_data; in 596 drivers/media/platform/qcom/venus/hfi_cmds.c brate->bitrate = in->bitrate; in 597 drivers/media/platform/qcom/venus/hfi_cmds.c brate->layer_id = in->layer_id; in 602 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_bitrate *in = pdata, *hfi = prop_data; in 604 drivers/media/platform/qcom/venus/hfi_cmds.c hfi->bitrate = in->bitrate; in 605 drivers/media/platform/qcom/venus/hfi_cmds.c hfi->layer_id = in->layer_id; in 610 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_profile_level *in = pdata, *pl = prop_data; in 612 drivers/media/platform/qcom/venus/hfi_cmds.c pl->level = in->level; in 613 drivers/media/platform/qcom/venus/hfi_cmds.c pl->profile = in->profile; in 626 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_h264_entropy_control *in = pdata, *hfi = prop_data; in 628 drivers/media/platform/qcom/venus/hfi_cmds.c hfi->entropy_mode = in->entropy_mode; in 630 drivers/media/platform/qcom/venus/hfi_cmds.c hfi->cabac_model = in->cabac_model; in 635 drivers/media/platform/qcom/venus/hfi_cmds.c u32 *in = pdata; in 637 drivers/media/platform/qcom/venus/hfi_cmds.c switch (*in) { in 649 drivers/media/platform/qcom/venus/hfi_cmds.c pkt->data[1] = *in; in 654 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_mpeg4_time_resolution *in = pdata, *res = prop_data; in 656 drivers/media/platform/qcom/venus/hfi_cmds.c res->time_increment_resolution = in->time_increment_resolution; in 661 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_mpeg4_header_extension *in = pdata, *ext = prop_data; in 663 drivers/media/platform/qcom/venus/hfi_cmds.c ext->header_extension = in->header_extension; in 668 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_h264_db_control *in = pdata, *db = prop_data; in 670 drivers/media/platform/qcom/venus/hfi_cmds.c switch (in->mode) { in 680 drivers/media/platform/qcom/venus/hfi_cmds.c db->mode = in->mode; in 681 drivers/media/platform/qcom/venus/hfi_cmds.c db->slice_alpha_offset = in->slice_alpha_offset; in 682 drivers/media/platform/qcom/venus/hfi_cmds.c db->slice_beta_offset = in->slice_beta_offset; in 687 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_quantization *in = pdata, *quant = prop_data; in 689 drivers/media/platform/qcom/venus/hfi_cmds.c quant->qp_i = in->qp_i; in 690 drivers/media/platform/qcom/venus/hfi_cmds.c quant->qp_p = in->qp_p; in 691 drivers/media/platform/qcom/venus/hfi_cmds.c quant->qp_b = in->qp_b; in 692 drivers/media/platform/qcom/venus/hfi_cmds.c quant->layer_id = in->layer_id; in 697 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_quantization_range *in = pdata, *range = prop_data; in 700 drivers/media/platform/qcom/venus/hfi_cmds.c min_qp = in->min_qp; in 701 drivers/media/platform/qcom/venus/hfi_cmds.c max_qp = in->max_qp; in 717 drivers/media/platform/qcom/venus/hfi_cmds.c range->layer_id = in->layer_id; in 723 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_vc1e_perf_cfg_type *in = pdata, *perf = prop_data; in 726 drivers/media/platform/qcom/venus/hfi_cmds.c in->search_range_x_subsampled, in 729 drivers/media/platform/qcom/venus/hfi_cmds.c in->search_range_y_subsampled, in 737 drivers/media/platform/qcom/venus/hfi_cmds.c u32 *in = pdata; in 739 drivers/media/platform/qcom/venus/hfi_cmds.c bframes->max_num_b_frames = *in; in 744 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_intra_period *in = pdata, *intra = prop_data; in 746 drivers/media/platform/qcom/venus/hfi_cmds.c intra->pframes = in->pframes; in 747 drivers/media/platform/qcom/venus/hfi_cmds.c intra->bframes = in->bframes; in 752 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_idr_period *in = pdata, *idr = prop_data; in 754 drivers/media/platform/qcom/venus/hfi_cmds.c idr->idr_period = in->idr_period; in 760 drivers/media/platform/qcom/venus/hfi_cmds.c u32 *in = pdata; in 762 drivers/media/platform/qcom/venus/hfi_cmds.c color->conceal_color = *in; in 767 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_operations_type *in = pdata, *ops = prop_data; in 769 drivers/media/platform/qcom/venus/hfi_cmds.c switch (in->rotation) { in 780 drivers/media/platform/qcom/venus/hfi_cmds.c switch (in->flip) { in 790 drivers/media/platform/qcom/venus/hfi_cmds.c ops->rotation = in->rotation; in 791 drivers/media/platform/qcom/venus/hfi_cmds.c ops->flip = in->flip; in 796 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_intra_refresh *in = pdata, *intra = prop_data; in 798 drivers/media/platform/qcom/venus/hfi_cmds.c switch (in->mode) { in 810 drivers/media/platform/qcom/venus/hfi_cmds.c intra->mode = in->mode; in 811 drivers/media/platform/qcom/venus/hfi_cmds.c intra->air_mbs = in->air_mbs; in 812 drivers/media/platform/qcom/venus/hfi_cmds.c intra->air_ref = in->air_ref; in 813 drivers/media/platform/qcom/venus/hfi_cmds.c intra->cir_mbs = in->cir_mbs; in 818 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_multi_slice_control *in = pdata, *multi = prop_data; in 820 drivers/media/platform/qcom/venus/hfi_cmds.c switch (in->multi_slice) { in 831 drivers/media/platform/qcom/venus/hfi_cmds.c multi->multi_slice = in->multi_slice; in 832 drivers/media/platform/qcom/venus/hfi_cmds.c multi->slice_size = in->slice_size; in 837 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_enable *in = pdata, *en = prop_data; in 839 drivers/media/platform/qcom/venus/hfi_cmds.c en->enable = in->enable; in 844 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_h264_vui_timing_info *in = pdata, *vui = prop_data; in 846 drivers/media/platform/qcom/venus/hfi_cmds.c vui->enable = in->enable; in 847 drivers/media/platform/qcom/venus/hfi_cmds.c vui->fixed_framerate = in->fixed_framerate; in 848 drivers/media/platform/qcom/venus/hfi_cmds.c vui->time_scale = in->time_scale; in 853 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_enable *in = pdata, *en = prop_data; in 855 drivers/media/platform/qcom/venus/hfi_cmds.c en->enable = in->enable; in 860 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_enable *in = pdata, *en = prop_data; in 862 drivers/media/platform/qcom/venus/hfi_cmds.c en->enable = in->enable; in 867 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_buffer_alloc_mode *in = pdata, *mode = prop_data; in 869 drivers/media/platform/qcom/venus/hfi_cmds.c mode->type = in->type; in 870 drivers/media/platform/qcom/venus/hfi_cmds.c mode->mode = in->mode; in 875 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_enable *in = pdata, *en = prop_data; in 877 drivers/media/platform/qcom/venus/hfi_cmds.c en->enable = in->enable; in 882 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_enable *in = pdata, *en = prop_data; in 884 drivers/media/platform/qcom/venus/hfi_cmds.c en->enable = in->enable; in 889 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_enable *in = pdata, *en = prop_data; in 891 drivers/media/platform/qcom/venus/hfi_cmds.c en->enable = in->enable; in 897 drivers/media/platform/qcom/venus/hfi_cmds.c u32 *in = pdata; in 899 drivers/media/platform/qcom/venus/hfi_cmds.c thres->threshold_value = *in; in 904 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_mvc_buffer_layout_descp_type *in = pdata; in 907 drivers/media/platform/qcom/venus/hfi_cmds.c switch (in->layout_type) { in 916 drivers/media/platform/qcom/venus/hfi_cmds.c mvc->layout_type = in->layout_type; in 917 drivers/media/platform/qcom/venus/hfi_cmds.c mvc->bright_view_first = in->bright_view_first; in 918 drivers/media/platform/qcom/venus/hfi_cmds.c mvc->ngap = in->ngap; in 923 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_ltr_mode *in = pdata, *ltr = prop_data; in 925 drivers/media/platform/qcom/venus/hfi_cmds.c switch (in->ltr_mode) { in 935 drivers/media/platform/qcom/venus/hfi_cmds.c ltr->ltr_mode = in->ltr_mode; in 936 drivers/media/platform/qcom/venus/hfi_cmds.c ltr->ltr_count = in->ltr_count; in 937 drivers/media/platform/qcom/venus/hfi_cmds.c ltr->trust_mode = in->trust_mode; in 942 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_ltr_use *in = pdata, *ltr_use = prop_data; in 944 drivers/media/platform/qcom/venus/hfi_cmds.c ltr_use->frames = in->frames; in 945 drivers/media/platform/qcom/venus/hfi_cmds.c ltr_use->ref_ltr = in->ref_ltr; in 946 drivers/media/platform/qcom/venus/hfi_cmds.c ltr_use->use_constrnt = in->use_constrnt; in 951 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_ltr_mark *in = pdata, *ltr_mark = prop_data; in 953 drivers/media/platform/qcom/venus/hfi_cmds.c ltr_mark->mark_frame = in->mark_frame; in 958 drivers/media/platform/qcom/venus/hfi_cmds.c u32 *in = pdata; in 960 drivers/media/platform/qcom/venus/hfi_cmds.c pkt->data[1] = *in; in 965 drivers/media/platform/qcom/venus/hfi_cmds.c u32 *in = pdata; in 967 drivers/media/platform/qcom/venus/hfi_cmds.c pkt->data[1] = *in; in 972 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_enable *in = pdata, *en = prop_data; in 974 drivers/media/platform/qcom/venus/hfi_cmds.c en->enable = in->enable; in 979 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_initial_quantization *in = pdata, *quant = prop_data; in 981 drivers/media/platform/qcom/venus/hfi_cmds.c quant->init_qp_enable = in->init_qp_enable; in 982 drivers/media/platform/qcom/venus/hfi_cmds.c quant->qp_i = in->qp_i; in 983 drivers/media/platform/qcom/venus/hfi_cmds.c quant->qp_p = in->qp_p; in 984 drivers/media/platform/qcom/venus/hfi_cmds.c quant->qp_b = in->qp_b; in 989 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_vpe_color_space_conversion *in = pdata; in 992 drivers/media/platform/qcom/venus/hfi_cmds.c memcpy(csc->csc_matrix, in->csc_matrix, in 994 drivers/media/platform/qcom/venus/hfi_cmds.c memcpy(csc->csc_bias, in->csc_bias, sizeof(csc->csc_bias)); in 995 drivers/media/platform/qcom/venus/hfi_cmds.c memcpy(csc->csc_limit, in->csc_limit, sizeof(csc->csc_limit)); in 1000 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_enable *in = pdata, *en = prop_data; in 1002 drivers/media/platform/qcom/venus/hfi_cmds.c en->enable = in->enable; in 1007 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_enable *in = pdata, *en = prop_data; in 1009 drivers/media/platform/qcom/venus/hfi_cmds.c en->enable = in->enable; in 1014 drivers/media/platform/qcom/venus/hfi_cmds.c u32 *in = pdata; in 1016 drivers/media/platform/qcom/venus/hfi_cmds.c pkt->data[1] = *in; in 1021 drivers/media/platform/qcom/venus/hfi_cmds.c u32 *in = pdata; in 1023 drivers/media/platform/qcom/venus/hfi_cmds.c pkt->data[1] = *in; in 1028 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_enable *in = pdata, *en = prop_data; in 1030 drivers/media/platform/qcom/venus/hfi_cmds.c en->enable = in->enable; in 1035 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_hybrid_hierp *in = pdata, *hierp = prop_data; in 1037 drivers/media/platform/qcom/venus/hfi_cmds.c hierp->layers = in->layers; in 1120 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_multi_stream *in = pdata; in 1123 drivers/media/platform/qcom/venus/hfi_cmds.c multi->buffer_type = in->buffer_type; in 1124 drivers/media/platform/qcom/venus/hfi_cmds.c multi->enable = in->enable; in 1129 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_intra_refresh *in = pdata; in 1132 drivers/media/platform/qcom/venus/hfi_cmds.c switch (in->mode) { in 1144 drivers/media/platform/qcom/venus/hfi_cmds.c intra->mode = in->mode; in 1145 drivers/media/platform/qcom/venus/hfi_cmds.c intra->mbs = in->cir_mbs; in 1184 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_buffer_count_actual *in = pdata; in 1187 drivers/media/platform/qcom/venus/hfi_cmds.c count->count_actual = in->count_actual; in 1188 drivers/media/platform/qcom/venus/hfi_cmds.c count->type = in->type; in 1189 drivers/media/platform/qcom/venus/hfi_cmds.c count->count_min_host = in->count_actual; in 1194 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_video_work_mode *in = pdata, *wm = prop_data; in 1196 drivers/media/platform/qcom/venus/hfi_cmds.c wm->video_work_mode = in->video_work_mode; in 1201 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_videocores_usage_type *in = pdata, *cu = prop_data; in 1203 drivers/media/platform/qcom/venus/hfi_cmds.c cu->video_core_enable_mask = in->video_core_enable_mask; in 180 drivers/media/platform/rockchip/rga/rga-hw.c src_h = ctx->in.crop.height; in 181 drivers/media/platform/rockchip/rga/rga-hw.c src_w = ctx->in.crop.width; in 182 drivers/media/platform/rockchip/rga/rga-hw.c src_x = ctx->in.crop.left; in 183 drivers/media/platform/rockchip/rga/rga-hw.c src_y = ctx->in.crop.top; in 198 drivers/media/platform/rockchip/rga/rga-hw.c src_info.data.format = ctx->in.fmt->hw_format; in 199 drivers/media/platform/rockchip/rga/rga-hw.c src_info.data.swap = ctx->in.fmt->color_swap; in 203 drivers/media/platform/rockchip/rga/rga-hw.c if (ctx->in.fmt->hw_format >= RGA_COLOR_FMT_YUV422SP) { in 205 drivers/media/platform/rockchip/rga/rga-hw.c switch (ctx->in.colorspace) { in 302 drivers/media/platform/rockchip/rga/rga-hw.c src_vir_info.data.vir_stride = ctx->in.stride >> 2; in 303 drivers/media/platform/rockchip/rga/rga-hw.c src_vir_info.data.vir_width = ctx->in.stride >> 2; in 315 drivers/media/platform/rockchip/rga/rga-hw.c src_offsets = rga_get_addr_offset(&ctx->in, src_x, src_y, in 362 drivers/media/platform/rockchip/rga/rga.c return &ctx->in; in 381 drivers/media/platform/rockchip/rga/rga.c ctx->in = def_frame; in 51 drivers/media/platform/rockchip/rga/rga.h struct rga_frame in; in 87 drivers/media/platform/s5p-g2d/g2d.c return &ctx->in; in 244 drivers/media/platform/s5p-g2d/g2d.c ctx->in = def_frame; in 516 drivers/media/platform/s5p-g2d/g2d.c g2d_set_src_size(dev, &ctx->in); in 525 drivers/media/platform/s5p-g2d/g2d.c if (ctx->in.c_width != ctx->out.c_width || in 526 drivers/media/platform/s5p-g2d/g2d.c ctx->in.c_height != ctx->out.c_height) { in 530 drivers/media/platform/s5p-g2d/g2d.c g2d_set_v41_stretch(dev, &ctx->in, &ctx->out); in 54 drivers/media/platform/s5p-g2d/g2d.h struct g2d_frame in; in 926 drivers/media/platform/sti/bdisp/bdisp-v4l2.c struct v4l2_rect *in, out; in 948 drivers/media/platform/sti/bdisp/bdisp-v4l2.c in = &s->r; in 949 drivers/media/platform/sti/bdisp/bdisp-v4l2.c out = *in; in 952 drivers/media/platform/sti/bdisp/bdisp-v4l2.c out.left = ALIGN(in->left, frame->fmt->w_align); in 953 drivers/media/platform/sti/bdisp/bdisp-v4l2.c out.top = ALIGN(in->top, frame->fmt->h_align); in 965 drivers/media/platform/sti/bdisp/bdisp-v4l2.c out.width = ALIGN(in->width, frame->fmt->w_align); in 966 drivers/media/platform/sti/bdisp/bdisp-v4l2.c out.height = ALIGN(in->height, frame->fmt->w_align); in 978 drivers/media/platform/sti/bdisp/bdisp-v4l2.c if (s->flags & V4L2_SEL_FLAG_LE && !is_rect_enclosed(&out, in)) in 981 drivers/media/platform/sti/bdisp/bdisp-v4l2.c if (s->flags & V4L2_SEL_FLAG_GE && !is_rect_enclosed(in, &out)) in 984 drivers/media/platform/sti/bdisp/bdisp-v4l2.c if ((out.left != in->left) || (out.top != in->top) || in 985 drivers/media/platform/sti/bdisp/bdisp-v4l2.c (out.width != in->width) || (out.height != in->height)) { in 988 drivers/media/platform/sti/bdisp/bdisp-v4l2.c __func__, in->width, in->height, in->left, in->top, in 990 drivers/media/platform/sti/bdisp/bdisp-v4l2.c *in = out; in 54 drivers/media/platform/vicodec/codec-fwht.c rlc(const s16 *in, __be16 *output, int blocktype) in 68 drivers/media/platform/vicodec/codec-fwht.c *wp = in[x + y * 8]; in 137 drivers/media/platform/vicodec/codec-fwht.c s16 in; in 143 drivers/media/platform/vicodec/codec-fwht.c in = ntohs(*input++); in 144 drivers/media/platform/vicodec/codec-fwht.c length = in & 0xf; in 145 drivers/media/platform/vicodec/codec-fwht.c coeff = in >> 4; in 292 drivers/media/platform/vim2m.c struct vim2m_fmt *in = q_data_in->fmt; in 302 drivers/media/platform/vim2m.c switch (in->fourcc) { in 399 drivers/media/radio/radio-si476x.c * in multiples of in 175 drivers/media/rc/img-ir/img-ir-hw.c const struct img_ir_timing_range *in, in 180 drivers/media/rc/img-ir/img-ir-hw.c unsigned int min = in->min; in 181 drivers/media/rc/img-ir/img-ir-hw.c unsigned int max = in->max; in 177 drivers/media/rc/img-ir/img-ir-hw.h int (*filter)(const struct rc_scancode_filter *in, in 28 drivers/media/rc/img-ir/img-ir-jvc.c static int img_ir_jvc_filter(const struct rc_scancode_filter *in, in 34 drivers/media/rc/img-ir/img-ir-jvc.c cust = (in->data >> 8) & 0xff; in 35 drivers/media/rc/img-ir/img-ir-jvc.c cust_m = (in->mask >> 8) & 0xff; in 36 drivers/media/rc/img-ir/img-ir-jvc.c data = (in->data >> 0) & 0xff; in 37 drivers/media/rc/img-ir/img-ir-jvc.c data_m = (in->mask >> 0) & 0xff; in 53 drivers/media/rc/img-ir/img-ir-nec.c static int img_ir_nec_filter(const struct rc_scancode_filter *in, in 59 drivers/media/rc/img-ir/img-ir-nec.c data = in->data & 0xff; in 60 drivers/media/rc/img-ir/img-ir-nec.c data_m = in->mask & 0xff; in 70 drivers/media/rc/img-ir/img-ir-nec.c if ((in->data | in->mask) & 0xff000000) in 72 drivers/media/rc/img-ir/img-ir-nec.c else if ((in->data | in->mask) & 0x00ff0000) in 81 drivers/media/rc/img-ir/img-ir-nec.c addr = bitrev8(in->data >> 24); in 82 drivers/media/rc/img-ir/img-ir-nec.c addr_m = bitrev8(in->mask >> 24); in 83 drivers/media/rc/img-ir/img-ir-nec.c addr_inv = bitrev8(in->data >> 16); in 84 drivers/media/rc/img-ir/img-ir-nec.c addr_inv_m = bitrev8(in->mask >> 16); in 85 drivers/media/rc/img-ir/img-ir-nec.c data = bitrev8(in->data >> 8); in 86 drivers/media/rc/img-ir/img-ir-nec.c data_m = bitrev8(in->mask >> 8); in 87 drivers/media/rc/img-ir/img-ir-nec.c data_inv = bitrev8(in->data >> 0); in 88 drivers/media/rc/img-ir/img-ir-nec.c data_inv_m = bitrev8(in->mask >> 0); in 92 drivers/media/rc/img-ir/img-ir-nec.c addr = (in->data >> 16) & 0xff; in 93 drivers/media/rc/img-ir/img-ir-nec.c addr_m = (in->mask >> 16) & 0xff; in 94 drivers/media/rc/img-ir/img-ir-nec.c addr_inv = (in->data >> 8) & 0xff; in 95 drivers/media/rc/img-ir/img-ir-nec.c addr_inv_m = (in->mask >> 8) & 0xff; in 101 drivers/media/rc/img-ir/img-ir-nec.c addr = (in->data >> 8) & 0xff; in 102 drivers/media/rc/img-ir/img-ir-nec.c addr_m = (in->mask >> 8) & 0xff; in 39 drivers/media/rc/img-ir/img-ir-rc5.c static int img_ir_rc5_filter(const struct rc_scancode_filter *in, in 60 drivers/media/rc/img-ir/img-ir-rc6.c static int img_ir_rc6_filter(const struct rc_scancode_filter *in, in 49 drivers/media/rc/img-ir/img-ir-sanyo.c static int img_ir_sanyo_filter(const struct rc_scancode_filter *in, in 55 drivers/media/rc/img-ir/img-ir-sanyo.c data = in->data & 0xff; in 56 drivers/media/rc/img-ir/img-ir-sanyo.c data_m = in->mask & 0xff; in 59 drivers/media/rc/img-ir/img-ir-sanyo.c if (in->data & 0xff700000) in 62 drivers/media/rc/img-ir/img-ir-sanyo.c addr = (in->data >> 8) & 0x1fff; in 63 drivers/media/rc/img-ir/img-ir-sanyo.c addr_m = (in->mask >> 8) & 0x1fff; in 37 drivers/media/rc/img-ir/img-ir-sharp.c static int img_ir_sharp_filter(const struct rc_scancode_filter *in, in 43 drivers/media/rc/img-ir/img-ir-sharp.c addr = (in->data >> 8) & 0x1f; in 44 drivers/media/rc/img-ir/img-ir-sharp.c addr_m = (in->mask >> 8) & 0x1f; in 45 drivers/media/rc/img-ir/img-ir-sharp.c cmd = (in->data >> 0) & 0xff; in 46 drivers/media/rc/img-ir/img-ir-sharp.c cmd_m = (in->mask >> 0) & 0xff; in 53 drivers/media/rc/img-ir/img-ir-sony.c static int img_ir_sony_filter(const struct rc_scancode_filter *in, in 60 drivers/media/rc/img-ir/img-ir-sony.c dev = (in->data >> 16) & 0xff; in 61 drivers/media/rc/img-ir/img-ir-sony.c dev_m = (in->mask >> 16) & 0xff; in 62 drivers/media/rc/img-ir/img-ir-sony.c subdev = (in->data >> 8) & 0xff; in 63 drivers/media/rc/img-ir/img-ir-sony.c subdev_m = (in->mask >> 8) & 0xff; in 64 drivers/media/rc/img-ir/img-ir-sony.c func = (in->data >> 0) & 0x7f; in 65 drivers/media/rc/img-ir/img-ir-sony.c func_m = (in->mask >> 0) & 0x7f; in 718 drivers/media/usb/cx231xx/cx231xx-417.c static int cx231xx_mbox_func(void *priv, u32 command, int in, int out, in 756 drivers/media/usb/cx231xx/cx231xx-417.c for (i = 0; i < in; i++) { in 279 drivers/media/usb/dvb-usb/gp8psk.c .in = gp8psk_fe_in, in 25 drivers/media/usb/dvb-usb/vp7045.c int vp7045_usb_op(struct dvb_usb_device *d, u8 cmd, u8 *out, int outlen, u8 *in, int inlen, int msec) in 72 drivers/media/usb/dvb-usb/vp7045.c if (in != NULL && inlen > 0) in 73 drivers/media/usb/dvb-usb/vp7045.c memcpy(in, &buf[1], inlen); in 64 drivers/media/usb/dvb-usb/vp7045.h extern int vp7045_usb_op(struct dvb_usb_device *d, u8 cmd, u8 *out, int outlen, u8 *in, int inlen,int msec); in 623 drivers/media/usb/go7007/go7007-usb.c int value, int index, void *transfer_buffer, int length, int in) in 628 drivers/media/usb/go7007/go7007-usb.c if (in) { in 132 drivers/media/usb/go7007/s2250-board.c u16 value, u16 index, void *transfer_buffer, int length, int in) in 137 drivers/media/usb/go7007/s2250-board.c if (in) { in 4320 drivers/media/usb/gspca/ov519.c u8 *in, /* isoc packet */ in 4338 drivers/media/usb/gspca/ov519.c if (!(in[0] | in[1] | in[2] | in[3] | in[4] | in[5] | in[6] | in[7]) && in 4339 drivers/media/usb/gspca/ov519.c (in[8] & 0x08)) { in 4340 drivers/media/usb/gspca/ov519.c ov51x_handle_button(gspca_dev, (in[8] >> 2) & 1); in 4341 drivers/media/usb/gspca/ov519.c if (in[8] & 0x80) { in 4343 drivers/media/usb/gspca/ov519.c if ((in[9] + 1) * 8 != gspca_dev->pixfmt.width || in 4344 drivers/media/usb/gspca/ov519.c (in[10] + 1) * 8 != gspca_dev->pixfmt.height) { in 4346 drivers/media/usb/gspca/ov519.c (in[9] + 1) * 8, (in[10] + 1) * 8, in 4353 drivers/media/usb/gspca/ov519.c gspca_frame_add(gspca_dev, LAST_PACKET, in, 11); in 4357 drivers/media/usb/gspca/ov519.c gspca_frame_add(gspca_dev, FIRST_PACKET, in, 0); in 4366 drivers/media/usb/gspca/ov519.c gspca_frame_add(gspca_dev, INTER_PACKET, in, len); in 259 drivers/media/usb/gspca/touptek.c static int gainify(int in) in 267 drivers/media/usb/gspca/touptek.c if (in <= 0x7F) in 268 drivers/media/usb/gspca/touptek.c return 0x1000 | in; in 269 drivers/media/usb/gspca/touptek.c else if (in <= 0xFF) in 270 drivers/media/usb/gspca/touptek.c return 0x1080 | in / 2; in 272 drivers/media/usb/gspca/touptek.c return 0x1180 | in / 4; in 438 drivers/media/usb/s2255/s2255drv.c static void planar422p_to_yuv_packed(const unsigned char *in, in 448 drivers/media/usb/s2255/s2255drv.c pY = (unsigned char *)in; in 449 drivers/media/usb/s2255/s2255drv.c pCr = (unsigned char *)in + height * width; in 450 drivers/media/usb/s2255/s2255drv.c pCb = (unsigned char *)in + height * width + (height * width / 2); in 50 drivers/mfd/ucb1x00-core.c void ucb1x00_io_set_dir(struct ucb1x00 *ucb, unsigned int in, unsigned int out) in 56 drivers/mfd/ucb1x00-core.c ucb->io_dir &= ~in; in 66 drivers/misc/altera-stapl/altera-comp.c u32 altera_shrink(u8 *in, u32 in_length, u8 *out, u32 out_length, s32 version) in 83 drivers/misc/altera-stapl/altera-comp.c altera_read_packed(in, in 97 drivers/misc/altera-stapl/altera-comp.c if (altera_read_packed(in, 1, &bits_avail, in 101 drivers/misc/altera-stapl/altera-comp.c out[i] = (u8)altera_read_packed(in, in 110 drivers/misc/altera-stapl/altera-comp.c offset = altera_read_packed(in, altera_bits_req((s16) in 115 drivers/misc/altera-stapl/altera-comp.c length = altera_read_packed(in, CHAR_BITS, in 16 drivers/misc/altera-stapl/altera-exprt.h u32 altera_shrink(u8 *in, u32 in_length, u8 *out, u32 out_length, s32 version); in 497 drivers/misc/cxl/guest.c static int guest_afu_cr_write32(struct cxl_afu *afu, int cr, u64 off, u32 in) in 503 drivers/misc/cxl/guest.c static int guest_afu_cr_write16(struct cxl_afu *afu, int cr, u64 off, u16 in) in 509 drivers/misc/cxl/guest.c static int guest_afu_cr_write8(struct cxl_afu *afu, int cr, u64 off, u8 in) in 1519 drivers/misc/cxl/native.c static int native_afu_cr_write32(struct cxl_afu *afu, int cr, u64 off, u32 in) in 1526 drivers/misc/cxl/native.c (cr * afu->crs_len) + off, in); in 1530 drivers/misc/cxl/native.c static int native_afu_cr_write16(struct cxl_afu *afu, int cr, u64 off, u16 in) in 1542 drivers/misc/cxl/native.c val32 = (val32 & ~mask) | (in << shift); in 1548 drivers/misc/cxl/native.c static int native_afu_cr_write8(struct cxl_afu *afu, int cr, u64 off, u8 in) in 1559 drivers/misc/cxl/native.c val32 = (val32 & ~mask) | (in << shift); in 54 drivers/misc/fastrpc.c #define FASTRPC_BUILD_SCALARS(attr, method, in, out, oin, oout) \ in 57 drivers/misc/fastrpc.c ((in & 0xff) << 16) | \ in 62 drivers/misc/fastrpc.c #define FASTRPC_SCALARS(method, in, out) \ in 63 drivers/misc/fastrpc.c FASTRPC_BUILD_SCALARS(0, method, in, out, 0, 0) in 224 drivers/misc/habanalabs/command_buffer.c switch (args->in.op) { in 226 drivers/misc/habanalabs/command_buffer.c rc = hl_cb_create(hdev, &hpriv->cb_mgr, args->in.cb_size, in 233 drivers/misc/habanalabs/command_buffer.c args->in.cb_handle); in 631 drivers/misc/habanalabs/command_submission.c if (do_ctx_switch || (args->in.cs_flags & HL_CS_FLAGS_FORCE_RESTORE)) { in 634 drivers/misc/habanalabs/command_submission.c chunks = (void __user *)(uintptr_t)args->in.chunks_restore; in 635 drivers/misc/habanalabs/command_submission.c num_chunks = args->in.num_chunks_restore; in 710 drivers/misc/habanalabs/command_submission.c chunks = (void __user *)(uintptr_t)args->in.chunks_execute; in 711 drivers/misc/habanalabs/command_submission.c num_chunks = args->in.num_chunks_execute; in 772 drivers/misc/habanalabs/command_submission.c u64 seq = args->in.seq; in 775 drivers/misc/habanalabs/command_submission.c rc = _hl_cs_wait_ioctl(hdev, hpriv->ctx, args->in.timeout_us, seq); in 1101 drivers/misc/habanalabs/memory.c switch (args->in.op) { in 1103 drivers/misc/habanalabs/memory.c if (args->in.alloc.mem_size == 0) { in 1113 drivers/misc/habanalabs/memory.c args->in.flags |= HL_MEM_CONTIGUOUS; in 1114 drivers/misc/habanalabs/memory.c rc = alloc_device_memory(ctx, &args->in, &handle); in 1121 drivers/misc/habanalabs/memory.c rc = free_device_memory(ctx, args->in.free.handle); in 1125 drivers/misc/habanalabs/memory.c if (args->in.flags & HL_MEM_USERPTR) { in 1126 drivers/misc/habanalabs/memory.c device_addr = args->in.map_host.host_virt_addr; in 1129 drivers/misc/habanalabs/memory.c rc = get_paddr_from_handle(ctx, &args->in, in 1170 drivers/misc/habanalabs/memory.c switch (args->in.op) { in 1178 drivers/misc/habanalabs/memory.c if (args->in.alloc.mem_size == 0) { in 1184 drivers/misc/habanalabs/memory.c rc = alloc_device_memory(ctx, &args->in, &handle); in 1191 drivers/misc/habanalabs/memory.c rc = free_device_memory(ctx, args->in.free.handle); in 1195 drivers/misc/habanalabs/memory.c rc = map_device_va(ctx, &args->in, &device_addr); in 1202 drivers/misc/habanalabs/memory.c rc = unmap_device_va(ctx, args->in.unmap.device_virt_addr, in 63 drivers/mmc/core/sdio_ops.c unsigned addr, u8 in, u8 *out) in 80 drivers/mmc/core/sdio_ops.c cmd.arg |= in; in 109 drivers/mmc/core/sdio_ops.c unsigned addr, u8 in, u8 *out) in 111 drivers/mmc/core/sdio_ops.c return mmc_io_rw_direct_host(card->host, write, fn, addr, in, out); in 20 drivers/mmc/core/sdio_ops.h unsigned addr, u8 in, u8* out); in 187 drivers/mtd/nand/raw/ams-delta.c ams_delta_read_buf(priv, instr->ctx.data.buf.in, in 1104 drivers/mtd/nand/raw/denali.c instr->ctx.data.buf.in, in 631 drivers/mtd/nand/raw/fsmc_nand.c fsmc_read_buf_dma(host, instr->ctx.data.buf.in, in 634 drivers/mtd/nand/raw/fsmc_nand.c fsmc_read_buf(host, instr->ctx.data.buf.in, in 2469 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c buf_read = instr->ctx.data.buf.in; in 861 drivers/mtd/nand/raw/marvell_nand.c static int marvell_nfc_xfer_data_in_pio(struct marvell_nfc *nfc, u8 *in, in 869 drivers/mtd/nand/raw/marvell_nand.c ioread32_rep(nfc->regs + NDDB, in + i, FIFO_REP(FIFO_DEPTH)); in 875 drivers/mtd/nand/raw/marvell_nand.c memcpy(in + last_full_offset, tmp_buf, last_len); in 1741 drivers/mtd/nand/raw/marvell_nand.c u8 *in = instr->ctx.data.buf.in + offset; in 1743 drivers/mtd/nand/raw/marvell_nand.c ret = marvell_nfc_xfer_data_in_pio(nfc, in, len); in 574 drivers/mtd/nand/raw/meson_nand.c int page, bool in) in 587 drivers/mtd/nand/raw/meson_nand.c cmd0 = in ? NAND_CMD_READ0 : NAND_CMD_SEQIN; in 615 drivers/mtd/nand/raw/meson_nand.c if (in) { in 846 drivers/mtd/nand/raw/meson_nand.c if (meson_nfc_is_buffer_dma_safe(instr->ctx.data.buf.in)) in 847 drivers/mtd/nand/raw/meson_nand.c return instr->ctx.data.buf.in; in 860 drivers/mtd/nand/raw/meson_nand.c if (buf == instr->ctx.data.buf.in) in 863 drivers/mtd/nand/raw/meson_nand.c memcpy(instr->ctx.data.buf.in, buf, instr->ctx.data.len); in 427 drivers/mtd/nand/raw/mxic_nand.c instr->ctx.data.buf.in, in 159 drivers/mtd/nand/raw/nand_hynix.c static int hynix_get_majority(const u8 *in, int repeat, u8 *out) in 173 drivers/mtd/nand/raw/nand_hynix.c u8 val = in[i]; in 177 drivers/mtd/nand/raw/nand_hynix.c if (in[j] == val) in 2165 drivers/mtd/nand/raw/nandsim.c ns_nand_read_buf(chip, instr->ctx.data.buf.in, instr->ctx.data.len); in 1391 drivers/mtd/nand/raw/stm32_fmc2_nand.c stm32_fmc2_read_data(chip, instr->ctx.data.buf.in, in 1824 drivers/mtd/nand/raw/sunxi_nand.c inbuf = instr->ctx.data.buf.in + start; in 435 drivers/mtd/nand/raw/tegra_nand.c memcpy(instr_data_in->ctx.data.buf.in + offset, ®, size); in 455 drivers/mtd/nand/raw/vf610_nfc.c vf610_nfc_rd_from_sram(instr->ctx.data.buf.in + offset, in 253 drivers/mtd/nand/spi/core.c memcpy(req->databuf.in, spinand->databuf + req->dataoffs, in 258 drivers/mtd/nand/spi/core.c mtd_ooblayout_get_databytes(mtd, req->oobbuf.in, in 263 drivers/mtd/nand/spi/core.c memcpy(req->oobbuf.in, spinand->oobbuf + req->ooboffs, in 576 drivers/mtd/nand/spi/core.c .oobbuf.in = marker, in 260 drivers/mtd/spi-nor/spi-nor.c buf = op->data.buf.in; in 272 drivers/mtd/spi-nor/spi-nor.c rdbuf = op->data.buf.in; in 273 drivers/mtd/spi-nor/spi-nor.c op->data.buf.in = nor->bouncebuf; in 140 drivers/net/arcnet/rfc1201.c struct Incoming *in = &lp->rfc1201.incoming[saddr]; in 169 drivers/net/arcnet/rfc1201.c if (in->skb) { /* already assembling one! */ in 171 drivers/net/arcnet/rfc1201.c in->sequence, soft->split_flag, in 174 drivers/net/arcnet/rfc1201.c dev_kfree_skb_irq(in->skb); in 177 drivers/net/arcnet/rfc1201.c in->skb = NULL; in 179 drivers/net/arcnet/rfc1201.c in->sequence = soft->sequence; in 256 drivers/net/arcnet/rfc1201.c soft->split_flag, in->sequence); in 258 drivers/net/arcnet/rfc1201.c if (in->skb && in->sequence != soft->sequence) { in 260 drivers/net/arcnet/rfc1201.c saddr, in->sequence, soft->sequence, in 262 drivers/net/arcnet/rfc1201.c dev_kfree_skb_irq(in->skb); in 263 drivers/net/arcnet/rfc1201.c in->skb = NULL; in 266 drivers/net/arcnet/rfc1201.c in->lastpacket = in->numpackets = 0; in 271 drivers/net/arcnet/rfc1201.c if (in->skb) { /* already assembling one! */ in 273 drivers/net/arcnet/rfc1201.c in->sequence, soft->split_flag, in 277 drivers/net/arcnet/rfc1201.c dev_kfree_skb_irq(in->skb); in 279 drivers/net/arcnet/rfc1201.c in->sequence = soft->sequence; in 280 drivers/net/arcnet/rfc1201.c in->numpackets = ((unsigned)soft->split_flag >> 1) + 2; in 281 drivers/net/arcnet/rfc1201.c in->lastpacket = 1; in 283 drivers/net/arcnet/rfc1201.c if (in->numpackets > 16) { in 291 drivers/net/arcnet/rfc1201.c in->skb = skb = alloc_skb(508 * in->numpackets + ARC_HDR_SIZE, in 313 drivers/net/arcnet/rfc1201.c if (!in->skb) { in 324 drivers/net/arcnet/rfc1201.c in->lastpacket++; in 326 drivers/net/arcnet/rfc1201.c if (packetnum != in->lastpacket) { in 328 drivers/net/arcnet/rfc1201.c if (packetnum <= in->lastpacket - 1) { in 337 drivers/net/arcnet/rfc1201.c in->sequence, soft->split_flag, in 340 drivers/net/arcnet/rfc1201.c dev_kfree_skb_irq(in->skb); in 341 drivers/net/arcnet/rfc1201.c in->skb = NULL; in 344 drivers/net/arcnet/rfc1201.c in->lastpacket = in->numpackets = 0; in 347 drivers/net/arcnet/rfc1201.c pkt = (struct archdr *)in->skb->data; in 351 drivers/net/arcnet/rfc1201.c skb = in->skb; in 359 drivers/net/arcnet/rfc1201.c if (in->lastpacket == in->numpackets) { in 360 drivers/net/arcnet/rfc1201.c in->skb = NULL; in 361 drivers/net/arcnet/rfc1201.c in->lastpacket = in->numpackets = 0; in 198 drivers/net/can/usb/usb_8dev.c struct usb_8dev_cmd_msg *in) in 229 drivers/net/can/usb/usb_8dev.c memcpy(in, priv->cmd_msg_buffer, sizeof(struct usb_8dev_cmd_msg)); in 231 drivers/net/can/usb/usb_8dev.c if (in->begin != USB_8DEV_CMD_START || in->end != USB_8DEV_CMD_END || in 232 drivers/net/can/usb/usb_8dev.c num_bytes_read != 16 || in->opt1 != 0) in 429 drivers/net/dsa/mv88e6xxx/chip.h int (*port_pause_limit)(struct mv88e6xxx_chip *chip, int port, u8 in, in 772 drivers/net/dsa/mv88e6xxx/port.c int mv88e6097_port_pause_limit(struct mv88e6xxx_chip *chip, int port, u8 in, in 776 drivers/net/dsa/mv88e6xxx/port.c out << 8 | in); in 779 drivers/net/dsa/mv88e6xxx/port.c int mv88e6390_port_pause_limit(struct mv88e6xxx_chip *chip, int port, u8 in, in 786 drivers/net/dsa/mv88e6xxx/port.c MV88E6390_PORT_FLOW_CTL_LIMIT_IN | in); in 350 drivers/net/dsa/mv88e6xxx/port.h int mv88e6097_port_pause_limit(struct mv88e6xxx_chip *chip, int port, u8 in, in 352 drivers/net/dsa/mv88e6xxx/port.h int mv88e6390_port_pause_limit(struct mv88e6xxx_chip *chip, int port, u8 in, in 395 drivers/net/ethernet/amd/ariadne.c u_short in; in 400 drivers/net/ethernet/amd/ariadne.c in = lance->Reset; in 255 drivers/net/ethernet/apm/xgene/xgene_enet_cle.h u8 in; in 381 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c static void cxgb4_process_flow_actions(struct net_device *in, in 73 drivers/net/ethernet/mellanox/mlx5/core/cmd.c struct mlx5_cmd_msg *in, in 86 drivers/net/ethernet/mellanox/mlx5/core/cmd.c ent->in = in; in 200 drivers/net/ethernet/mellanox/mlx5/core/cmd.c calc_chain_sig(ent->in); in 736 drivers/net/ethernet/mellanox/mlx5/core/cmd.c static int mlx5_cmd_check(struct mlx5_core_dev *dev, void *in, void *out) in 748 drivers/net/ethernet/mellanox/mlx5/core/cmd.c opcode = MLX5_GET(mbox_in, in, opcode); in 749 drivers/net/ethernet/mellanox/mlx5/core/cmd.c op_mod = MLX5_GET(mbox_in, in, op_mod); in 750 drivers/net/ethernet/mellanox/mlx5/core/cmd.c uid = MLX5_GET(mbox_in, in, uid); in 772 drivers/net/ethernet/mellanox/mlx5/core/cmd.c struct mlx5_cmd_msg *msg = input ? ent->in : ent->out; in 773 drivers/net/ethernet/mellanox/mlx5/core/cmd.c u16 op = MLX5_GET(mbox_in, ent->lay->in, opcode); in 795 drivers/net/ethernet/mellanox/mlx5/core/cmd.c dump_buf(ent->lay->in, sizeof(ent->lay->in), 1, offset); in 796 drivers/net/ethernet/mellanox/mlx5/core/cmd.c offset += sizeof(ent->lay->in); in 823 drivers/net/ethernet/mellanox/mlx5/core/cmd.c static u16 msg_to_opcode(struct mlx5_cmd_msg *in) in 825 drivers/net/ethernet/mellanox/mlx5/core/cmd.c return MLX5_GET(mbox_in, in->first.data, opcode); in 842 drivers/net/ethernet/mellanox/mlx5/core/cmd.c mlx5_command_str(msg_to_opcode(ent->in)), in 843 drivers/net/ethernet/mellanox/mlx5/core/cmd.c msg_to_opcode(ent->in)); in 874 drivers/net/ethernet/mellanox/mlx5/core/cmd.c free_msg(dev, ent->in); in 895 drivers/net/ethernet/mellanox/mlx5/core/cmd.c memcpy(lay->in, ent->in->first.data, sizeof(lay->in)); in 896 drivers/net/ethernet/mellanox/mlx5/core/cmd.c ent->op = be32_to_cpu(lay->in[0]) >> 16; in 897 drivers/net/ethernet/mellanox/mlx5/core/cmd.c if (ent->in->next) in 898 drivers/net/ethernet/mellanox/mlx5/core/cmd.c lay->in_ptr = cpu_to_be64(ent->in->next->dma); in 899 drivers/net/ethernet/mellanox/mlx5/core/cmd.c lay->inlen = cpu_to_be32(ent->in->len); in 921 drivers/net/ethernet/mellanox/mlx5/core/cmd.c ent->ret = mlx5_internal_err_ret_value(dev, msg_to_opcode(ent->in), &drv_synd, &status); in 999 drivers/net/ethernet/mellanox/mlx5/core/cmd.c mlx5_command_str(msg_to_opcode(ent->in)), in 1000 drivers/net/ethernet/mellanox/mlx5/core/cmd.c msg_to_opcode(ent->in)); in 1003 drivers/net/ethernet/mellanox/mlx5/core/cmd.c mlx5_command_str(msg_to_opcode(ent->in)), in 1004 drivers/net/ethernet/mellanox/mlx5/core/cmd.c msg_to_opcode(ent->in)); in 1016 drivers/net/ethernet/mellanox/mlx5/core/cmd.c static int mlx5_cmd_invoke(struct mlx5_core_dev *dev, struct mlx5_cmd_msg *in, in 1032 drivers/net/ethernet/mellanox/mlx5/core/cmd.c ent = alloc_cmd(cmd, in, out, uout, uout_size, callback, context, in 1064 drivers/net/ethernet/mellanox/mlx5/core/cmd.c op = MLX5_GET(mbox_in, in->first.data, opcode); in 1545 drivers/net/ethernet/mellanox/mlx5/core/cmd.c ent->in->first.data, in 1550 drivers/net/ethernet/mellanox/mlx5/core/cmd.c free_msg(dev, ent->in); in 1668 drivers/net/ethernet/mellanox/mlx5/core/cmd.c static int is_manage_pages(void *in) in 1670 drivers/net/ethernet/mellanox/mlx5/core/cmd.c return MLX5_GET(mbox_in, in, opcode) == MLX5_CMD_OP_MANAGE_PAGES; in 1673 drivers/net/ethernet/mellanox/mlx5/core/cmd.c static int cmd_exec(struct mlx5_core_dev *dev, void *in, int in_size, void *out, in 1688 drivers/net/ethernet/mellanox/mlx5/core/cmd.c u16 opcode = MLX5_GET(mbox_in, in, opcode); in 1696 drivers/net/ethernet/mellanox/mlx5/core/cmd.c pages_queue = is_manage_pages(in); in 1707 drivers/net/ethernet/mellanox/mlx5/core/cmd.c err = mlx5_copy_to_msg(inb, in, in_size, token); in 1743 drivers/net/ethernet/mellanox/mlx5/core/cmd.c int mlx5_cmd_exec(struct mlx5_core_dev *dev, void *in, int in_size, void *out, in 1748 drivers/net/ethernet/mellanox/mlx5/core/cmd.c err = cmd_exec(dev, in, in_size, out, out_size, NULL, NULL, false); in 1749 drivers/net/ethernet/mellanox/mlx5/core/cmd.c return err ? : mlx5_cmd_check(dev, in, out); in 1788 drivers/net/ethernet/mellanox/mlx5/core/cmd.c int mlx5_cmd_exec_cb(struct mlx5_async_ctx *ctx, void *in, int in_size, in 1798 drivers/net/ethernet/mellanox/mlx5/core/cmd.c ret = cmd_exec(ctx->dev, in, in_size, out, out_size, in 1807 drivers/net/ethernet/mellanox/mlx5/core/cmd.c int mlx5_cmd_exec_polling(struct mlx5_core_dev *dev, void *in, int in_size, in 1812 drivers/net/ethernet/mellanox/mlx5/core/cmd.c err = cmd_exec(dev, in, in_size, out, out_size, NULL, NULL, true); in 1814 drivers/net/ethernet/mellanox/mlx5/core/cmd.c return err ? : mlx5_cmd_check(dev, in, out); in 91 drivers/net/ethernet/mellanox/mlx5/core/cq.c u32 *in, int inlen, u32 *out, int outlen) in 93 drivers/net/ethernet/mellanox/mlx5/core/cq.c int eqn = MLX5_GET(cqc, MLX5_ADDR_OF(create_cq_in, in, cq_context), c_eqn); in 104 drivers/net/ethernet/mellanox/mlx5/core/cq.c MLX5_SET(create_cq_in, in, opcode, MLX5_CMD_OP_CREATE_CQ); in 105 drivers/net/ethernet/mellanox/mlx5/core/cq.c err = mlx5_cmd_exec(dev, in, inlen, out, outlen); in 113 drivers/net/ethernet/mellanox/mlx5/core/cq.c cq->uid = MLX5_GET(create_cq_in, in, uid); in 158 drivers/net/ethernet/mellanox/mlx5/core/cq.c u32 in[MLX5_ST_SZ_DW(destroy_cq_in)] = {0}; in 164 drivers/net/ethernet/mellanox/mlx5/core/cq.c MLX5_SET(destroy_cq_in, in, opcode, MLX5_CMD_OP_DESTROY_CQ); in 165 drivers/net/ethernet/mellanox/mlx5/core/cq.c MLX5_SET(destroy_cq_in, in, cqn, cq->cqn); in 166 drivers/net/ethernet/mellanox/mlx5/core/cq.c MLX5_SET(destroy_cq_in, in, uid, cq->uid); in 167 drivers/net/ethernet/mellanox/mlx5/core/cq.c err = mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 184 drivers/net/ethernet/mellanox/mlx5/core/cq.c u32 in[MLX5_ST_SZ_DW(query_cq_in)] = {0}; in 186 drivers/net/ethernet/mellanox/mlx5/core/cq.c MLX5_SET(query_cq_in, in, opcode, MLX5_CMD_OP_QUERY_CQ); in 187 drivers/net/ethernet/mellanox/mlx5/core/cq.c MLX5_SET(query_cq_in, in, cqn, cq->cqn); in 188 drivers/net/ethernet/mellanox/mlx5/core/cq.c return mlx5_cmd_exec(dev, in, sizeof(in), out, outlen); in 193 drivers/net/ethernet/mellanox/mlx5/core/cq.c u32 *in, int inlen) in 197 drivers/net/ethernet/mellanox/mlx5/core/cq.c MLX5_SET(modify_cq_in, in, opcode, MLX5_CMD_OP_MODIFY_CQ); in 198 drivers/net/ethernet/mellanox/mlx5/core/cq.c MLX5_SET(modify_cq_in, in, uid, cq->uid); in 199 drivers/net/ethernet/mellanox/mlx5/core/cq.c return mlx5_cmd_exec(dev, in, inlen, out, sizeof(out)); in 208 drivers/net/ethernet/mellanox/mlx5/core/cq.c u32 in[MLX5_ST_SZ_DW(modify_cq_in)] = {0}; in 211 drivers/net/ethernet/mellanox/mlx5/core/cq.c MLX5_SET(modify_cq_in, in, cqn, cq->cqn); in 212 drivers/net/ethernet/mellanox/mlx5/core/cq.c cqc = MLX5_ADDR_OF(modify_cq_in, in, cq_context); in 215 drivers/net/ethernet/mellanox/mlx5/core/cq.c MLX5_SET(modify_cq_in, in, in 219 drivers/net/ethernet/mellanox/mlx5/core/cq.c return mlx5_core_modify_cq(dev, cq, in, sizeof(in)); in 290 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c u32 in[MLX5_ST_SZ_DW(query_eq_in)] = {}; in 292 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c MLX5_SET(query_eq_in, in, opcode, MLX5_CMD_OP_QUERY_EQ); in 293 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c MLX5_SET(query_eq_in, in, eq_number, eq->eqn); in 294 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c return mlx5_cmd_exec(dev, in, sizeof(in), out, outlen); in 43 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c u32 in[MLX5_ST_SZ_DW(mtrc_cap)] = {0}; in 47 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c err = mlx5_core_access_reg(dev, in, sizeof(in), out, sizeof(out), in 85 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c u32 in[MLX5_ST_SZ_DW(mtrc_cap)] = {0}; in 87 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c MLX5_SET(mtrc_cap, in, trace_owner, trace_owner); in 89 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c return mlx5_core_access_reg(dev, in, sizeof(in), out, out_size, in 180 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c u32 *in; in 185 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c in = kvzalloc(inlen, GFP_KERNEL); in 186 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c if (!in) in 189 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c MLX5_SET(create_mkey_in, in, translations_octword_actual_size, in 191 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c mtt = (u64 *)MLX5_ADDR_OF(create_mkey_in, in, klm_pas_mtt); in 195 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c mkc = MLX5_ADDR_OF(create_mkey_in, in, memory_key_mkey_entry); in 207 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c err = mlx5_core_create_mkey(dev, &tracer->buff.mkey, in, inlen); in 211 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c kvfree(in); in 265 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c u32 in[MLX5_ST_SZ_DW(mtrc_cap)] = {0}; in 280 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c MLX5_SET(mtrc_stdb, in, string_db_index, i); in 287 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c MLX5_SET(mtrc_stdb, in, read_size, STRINGS_DB_READ_SIZE_BYTES); in 289 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c MLX5_SET(mtrc_stdb, in, start_offset, offset); in 291 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c err = mlx5_core_access_reg(dev, in, sizeof(in), out, in 307 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c MLX5_SET(mtrc_stdb, in, read_size, in 310 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c MLX5_SET(mtrc_stdb, in, start_offset, offset); in 312 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c err = mlx5_core_access_reg(dev, in, sizeof(in), out, in 339 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c u32 in[MLX5_ST_SZ_DW(mtrc_ctrl)] = {0}; in 342 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c MLX5_SET(mtrc_ctrl, in, arm_event, 1); in 344 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c err = mlx5_core_access_reg(dev, in, sizeof(in), out, sizeof(out), in 740 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c u32 in[MLX5_ST_SZ_DW(mtrc_conf)] = {0}; in 743 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c MLX5_SET(mtrc_conf, in, trace_mode, TRACE_TO_MEMORY); in 744 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c MLX5_SET(mtrc_conf, in, log_trace_buffer_size, in 746 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c MLX5_SET(mtrc_conf, in, trace_mkey, tracer->buff.mkey.key); in 748 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c err = mlx5_core_access_reg(dev, in, sizeof(in), out, sizeof(out), in 760 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c u32 in[MLX5_ST_SZ_DW(mtrc_ctrl)] = {0}; in 763 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c MLX5_SET(mtrc_ctrl, in, modify_field_select, TRACE_STATUS); in 764 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c MLX5_SET(mtrc_ctrl, in, trace_status, status); in 765 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c MLX5_SET(mtrc_ctrl, in, arm_event, arm); in 767 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c err = mlx5_core_access_reg(dev, in, sizeof(in), out, sizeof(out), in 825 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c u32 *in, int size_in) in 833 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c return mlx5_core_access_reg(dev, in, size_in, out, sizeof(out), in 840 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c u32 in[MLX5_ST_SZ_DW(core_dump_reg)] = {}; in 848 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c MLX5_SET(core_dump_reg, in, core_dump_type, 0x0); in 850 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c err = mlx5_fw_tracer_set_core_dump_reg(dev, in, sizeof(in)); in 14 drivers/net/ethernet/mellanox/mlx5/core/ecpf.c u32 in[MLX5_ST_SZ_DW(enable_hca_in)] = {}; in 16 drivers/net/ethernet/mellanox/mlx5/core/ecpf.c MLX5_SET(enable_hca_in, in, opcode, MLX5_CMD_OP_ENABLE_HCA); in 17 drivers/net/ethernet/mellanox/mlx5/core/ecpf.c MLX5_SET(enable_hca_in, in, function_id, 0); in 18 drivers/net/ethernet/mellanox/mlx5/core/ecpf.c MLX5_SET(enable_hca_in, in, embedded_cpu_function, 0); in 19 drivers/net/ethernet/mellanox/mlx5/core/ecpf.c return mlx5_cmd_exec(dev, &in, sizeof(in), &out, sizeof(out)); in 25 drivers/net/ethernet/mellanox/mlx5/core/ecpf.c u32 in[MLX5_ST_SZ_DW(disable_hca_in)] = {}; in 27 drivers/net/ethernet/mellanox/mlx5/core/ecpf.c MLX5_SET(disable_hca_in, in, opcode, MLX5_CMD_OP_DISABLE_HCA); in 28 drivers/net/ethernet/mellanox/mlx5/core/ecpf.c MLX5_SET(disable_hca_in, in, function_id, 0); in 29 drivers/net/ethernet/mellanox/mlx5/core/ecpf.c MLX5_SET(disable_hca_in, in, embedded_cpu_function, 0); in 30 drivers/net/ethernet/mellanox/mlx5/core/ecpf.c return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 1005 drivers/net/ethernet/mellanox/mlx5/core/en.h void mlx5e_modify_tirs_hash(struct mlx5e_priv *priv, void *in, int inlen); in 1089 drivers/net/ethernet/mellanox/mlx5/core/en.h struct mlx5e_tir *tir, u32 *in, int inlen); in 1114 drivers/net/ethernet/mellanox/mlx5/core/en.h int mlx5e_create_tis(struct mlx5_core_dev *mdev, void *in, u32 *tisn); in 41 drivers/net/ethernet/mellanox/mlx5/core/en/monitor_stats.c u32 in[MLX5_ST_SZ_DW(arm_monitor_counter_in)] = {}; in 44 drivers/net/ethernet/mellanox/mlx5/core/en/monitor_stats.c MLX5_SET(arm_monitor_counter_in, in, opcode, in 46 drivers/net/ethernet/mellanox/mlx5/core/en/monitor_stats.c mlx5_cmd_exec(priv->mdev, in, sizeof(in), out, sizeof(out)); in 82 drivers/net/ethernet/mellanox/mlx5/core/en/monitor_stats.c static int fill_monitor_counter_ppcnt_set1(int cnt, u32 *in) in 89 drivers/net/ethernet/mellanox/mlx5/core/en/monitor_stats.c MLX5_SET(set_monitor_counter_in, in, in 92 drivers/net/ethernet/mellanox/mlx5/core/en/monitor_stats.c MLX5_SET(set_monitor_counter_in, in, in 99 drivers/net/ethernet/mellanox/mlx5/core/en/monitor_stats.c static int fill_monitor_counter_q_counter_set1(int cnt, int q_counter, u32 *in) in 101 drivers/net/ethernet/mellanox/mlx5/core/en/monitor_stats.c MLX5_SET(set_monitor_counter_in, in, in 104 drivers/net/ethernet/mellanox/mlx5/core/en/monitor_stats.c MLX5_SET(set_monitor_counter_in, in, in 107 drivers/net/ethernet/mellanox/mlx5/core/en/monitor_stats.c MLX5_SET(set_monitor_counter_in, in, in 121 drivers/net/ethernet/mellanox/mlx5/core/en/monitor_stats.c u32 in[MLX5_ST_SZ_DW(set_monitor_counter_in)] = {}; in 128 drivers/net/ethernet/mellanox/mlx5/core/en/monitor_stats.c cnt += fill_monitor_counter_ppcnt_set1(cnt, in); in 133 drivers/net/ethernet/mellanox/mlx5/core/en/monitor_stats.c cnt += fill_monitor_counter_q_counter_set1(cnt, q_counter, in); in 135 drivers/net/ethernet/mellanox/mlx5/core/en/monitor_stats.c MLX5_SET(set_monitor_counter_in, in, num_of_counters, cnt); in 136 drivers/net/ethernet/mellanox/mlx5/core/en/monitor_stats.c MLX5_SET(set_monitor_counter_in, in, opcode, in 139 drivers/net/ethernet/mellanox/mlx5/core/en/monitor_stats.c mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in 154 drivers/net/ethernet/mellanox/mlx5/core/en/monitor_stats.c u32 in[MLX5_ST_SZ_DW(set_monitor_counter_in)] = {}; in 157 drivers/net/ethernet/mellanox/mlx5/core/en/monitor_stats.c MLX5_SET(set_monitor_counter_in, in, num_of_counters, 0); in 158 drivers/net/ethernet/mellanox/mlx5/core/en/monitor_stats.c MLX5_SET(set_monitor_counter_in, in, opcode, in 161 drivers/net/ethernet/mellanox/mlx5/core/en/monitor_stats.c mlx5_cmd_exec(priv->mdev, in, sizeof(in), out, sizeof(out)); in 133 drivers/net/ethernet/mellanox/mlx5/core/en/port.c u32 in[MLX5_ST_SZ_DW(ptys_reg)]; in 143 drivers/net/ethernet/mellanox/mlx5/core/en/port.c memset(in, 0, sizeof(in)); in 145 drivers/net/ethernet/mellanox/mlx5/core/en/port.c MLX5_SET(ptys_reg, in, local_port, 1); in 146 drivers/net/ethernet/mellanox/mlx5/core/en/port.c MLX5_SET(ptys_reg, in, an_disable_admin, an_disable); in 147 drivers/net/ethernet/mellanox/mlx5/core/en/port.c MLX5_SET(ptys_reg, in, proto_mask, MLX5_PTYS_EN); in 149 drivers/net/ethernet/mellanox/mlx5/core/en/port.c MLX5_SET(ptys_reg, in, ext_eth_proto_admin, proto_admin); in 151 drivers/net/ethernet/mellanox/mlx5/core/en/port.c MLX5_SET(ptys_reg, in, eth_proto_admin, proto_admin); in 153 drivers/net/ethernet/mellanox/mlx5/core/en/port.c return mlx5_core_access_reg(dev, in, sizeof(in), out, in 241 drivers/net/ethernet/mellanox/mlx5/core/en/port.c void *in; in 244 drivers/net/ethernet/mellanox/mlx5/core/en/port.c in = kzalloc(sz, GFP_KERNEL); in 245 drivers/net/ethernet/mellanox/mlx5/core/en/port.c if (!in) in 248 drivers/net/ethernet/mellanox/mlx5/core/en/port.c MLX5_SET(pbmc_reg, in, local_port, 1); in 249 drivers/net/ethernet/mellanox/mlx5/core/en/port.c err = mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PBMC, 0, 0); in 251 drivers/net/ethernet/mellanox/mlx5/core/en/port.c kfree(in); in 255 drivers/net/ethernet/mellanox/mlx5/core/en/port.c int mlx5e_port_set_pbmc(struct mlx5_core_dev *mdev, void *in) in 265 drivers/net/ethernet/mellanox/mlx5/core/en/port.c MLX5_SET(pbmc_reg, in, local_port, 1); in 266 drivers/net/ethernet/mellanox/mlx5/core/en/port.c err = mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PBMC, 0, 1); in 278 drivers/net/ethernet/mellanox/mlx5/core/en/port.c void *in; in 282 drivers/net/ethernet/mellanox/mlx5/core/en/port.c in = kzalloc(sz, GFP_KERNEL); in 284 drivers/net/ethernet/mellanox/mlx5/core/en/port.c if (!in || !out) { in 289 drivers/net/ethernet/mellanox/mlx5/core/en/port.c MLX5_SET(pptb_reg, in, local_port, 1); in 290 drivers/net/ethernet/mellanox/mlx5/core/en/port.c err = mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPTB, 0, 0); in 300 drivers/net/ethernet/mellanox/mlx5/core/en/port.c kfree(in); in 310 drivers/net/ethernet/mellanox/mlx5/core/en/port.c void *in; in 314 drivers/net/ethernet/mellanox/mlx5/core/en/port.c in = kzalloc(sz, GFP_KERNEL); in 316 drivers/net/ethernet/mellanox/mlx5/core/en/port.c if (!in || !out) { in 322 drivers/net/ethernet/mellanox/mlx5/core/en/port.c MLX5_SET(pptb_reg, in, local_port, 1); in 323 drivers/net/ethernet/mellanox/mlx5/core/en/port.c err = mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPTB, 0, 0); in 327 drivers/net/ethernet/mellanox/mlx5/core/en/port.c memcpy(in, out, sz); in 328 drivers/net/ethernet/mellanox/mlx5/core/en/port.c MLX5_SET(pptb_reg, in, local_port, 1); in 331 drivers/net/ethernet/mellanox/mlx5/core/en/port.c MLX5_SET(pptb_reg, in, pm, 0xFF); in 336 drivers/net/ethernet/mellanox/mlx5/core/en/port.c MLX5_SET(pptb_reg, in, prio_x_buff, prio_x_buff); in 338 drivers/net/ethernet/mellanox/mlx5/core/en/port.c err = mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPTB, 0, 1); in 341 drivers/net/ethernet/mellanox/mlx5/core/en/port.c kfree(in); in 447 drivers/net/ethernet/mellanox/mlx5/core/en/port.c u32 in[MLX5_ST_SZ_DW(pplm_reg)] = {}; in 458 drivers/net/ethernet/mellanox/mlx5/core/en/port.c MLX5_SET(pplm_reg, in, local_port, 1); in 459 drivers/net/ethernet/mellanox/mlx5/core/en/port.c err = mlx5_core_access_reg(dev, in, sz, out, sz, MLX5_REG_PPLM, 0, 0); in 474 drivers/net/ethernet/mellanox/mlx5/core/en/port.c u32 in[MLX5_ST_SZ_DW(pplm_reg)] = {}; in 485 drivers/net/ethernet/mellanox/mlx5/core/en/port.c MLX5_SET(pplm_reg, in, local_port, 1); in 486 drivers/net/ethernet/mellanox/mlx5/core/en/port.c err = mlx5_core_access_reg(dev, in, sz, out, sz, MLX5_REG_PPLM, 0, 0); in 507 drivers/net/ethernet/mellanox/mlx5/core/en/port.c u32 in[MLX5_ST_SZ_DW(pplm_reg)] = {}; in 520 drivers/net/ethernet/mellanox/mlx5/core/en/port.c MLX5_SET(pplm_reg, in, local_port, 1); in 521 drivers/net/ethernet/mellanox/mlx5/core/en/port.c err = mlx5_core_access_reg(dev, in, sz, out, sz, MLX5_REG_PPLM, 0, 0); in 59 drivers/net/ethernet/mellanox/mlx5/core/en/port.h int mlx5e_port_set_pbmc(struct mlx5_core_dev *mdev, void *in); in 94 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c void *in; in 98 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c in = kzalloc(sz, GFP_KERNEL); in 99 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c if (!in) in 102 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c err = mlx5e_port_query_pbmc(mdev, in); in 107 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c buffer = MLX5_ADDR_OF(pbmc_reg, in, buffer[i]); in 119 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c err = mlx5e_port_set_pbmc(mdev, in); in 121 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c kfree(in); in 9 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls.c u32 in[MLX5_ST_SZ_DW(create_tis_in)] = {}; in 12 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls.c tisc = MLX5_ADDR_OF(create_tis_in, in, ctx); in 16 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls.c return mlx5e_create_tis(mdev, in, tisn); in 224 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c u32 *in; in 230 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c in = kvzalloc(inlen, GFP_KERNEL); in 231 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c if (!in || !ft->g) { in 233 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c kvfree(in); in 237 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c mc = MLX5_ADDR_OF(create_flow_group_in, in, match_criteria); in 279 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c MLX5_SET_CFG(in, match_criteria_enable, MLX5_MATCH_OUTER_HEADERS); in 280 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c MLX5_SET_CFG(in, start_flow_index, ix); in 282 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c MLX5_SET_CFG(in, end_flow_index, ix - 1); in 283 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in 288 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c memset(in, 0, inlen); in 289 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c MLX5_SET_CFG(in, start_flow_index, ix); in 291 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c MLX5_SET_CFG(in, end_flow_index, ix - 1); in 292 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in 297 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c kvfree(in); in 304 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c kvfree(in); in 40 drivers/net/ethernet/mellanox/mlx5/core/en_common.c struct mlx5e_tir *tir, u32 *in, int inlen) in 44 drivers/net/ethernet/mellanox/mlx5/core/en_common.c err = mlx5_core_create_tir(mdev, in, inlen, &tir->tirn); in 69 drivers/net/ethernet/mellanox/mlx5/core/en_common.c u32 *in; in 72 drivers/net/ethernet/mellanox/mlx5/core/en_common.c in = kvzalloc(inlen, GFP_KERNEL); in 73 drivers/net/ethernet/mellanox/mlx5/core/en_common.c if (!in) in 76 drivers/net/ethernet/mellanox/mlx5/core/en_common.c mkc = MLX5_ADDR_OF(create_mkey_in, in, memory_key_mkey_entry); in 85 drivers/net/ethernet/mellanox/mlx5/core/en_common.c err = mlx5_core_create_mkey(mdev, mkey, in, inlen); in 87 drivers/net/ethernet/mellanox/mlx5/core/en_common.c kvfree(in); in 152 drivers/net/ethernet/mellanox/mlx5/core/en_common.c void *in; in 155 drivers/net/ethernet/mellanox/mlx5/core/en_common.c in = kvzalloc(inlen, GFP_KERNEL); in 156 drivers/net/ethernet/mellanox/mlx5/core/en_common.c if (!in) { in 162 drivers/net/ethernet/mellanox/mlx5/core/en_common.c MLX5_SET(modify_tir_in, in, ctx.self_lb_block, in 165 drivers/net/ethernet/mellanox/mlx5/core/en_common.c MLX5_SET(modify_tir_in, in, bitmask.self_lb_en, 1); in 170 drivers/net/ethernet/mellanox/mlx5/core/en_common.c err = mlx5_core_modify_tir(mdev, tirn, in, inlen); in 176 drivers/net/ethernet/mellanox/mlx5/core/en_common.c kvfree(in); in 1163 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c void *in; in 1170 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c in = kvzalloc(inlen, GFP_KERNEL); in 1171 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c if (!in) in 1208 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c mlx5e_modify_tirs_hash(priv, in, inlen); in 1212 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c kvfree(in); in 913 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c u32 *in; in 921 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c in = kvzalloc(inlen, GFP_KERNEL); in 922 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c if (!in) { in 928 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c mc = MLX5_ADDR_OF(create_flow_group_in, in, match_criteria); in 934 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c MLX5_SET_CFG(in, match_criteria_enable, MLX5_MATCH_OUTER_HEADERS); in 935 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c MLX5_SET_CFG(in, start_flow_index, ix); in 937 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c MLX5_SET_CFG(in, end_flow_index, ix - 1); in 938 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in 945 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c MLX5_SET_CFG(in, start_flow_index, ix); in 947 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c MLX5_SET_CFG(in, end_flow_index, ix - 1); in 948 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in 954 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c memset(in, 0, inlen); in 955 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c MLX5_SET_CFG(in, start_flow_index, ix); in 957 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c MLX5_SET_CFG(in, end_flow_index, ix - 1); in 958 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in 963 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c kvfree(in); in 969 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c kvfree(in); in 1054 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c u32 *in; in 1061 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c in = kvzalloc(inlen, GFP_KERNEL); in 1062 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c if (!in) { in 1068 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c mc = MLX5_ADDR_OF(create_flow_group_in, in, match_criteria); in 1071 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c MLX5_SET_CFG(in, match_criteria_enable, MLX5_MATCH_INNER_HEADERS); in 1072 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c MLX5_SET_CFG(in, start_flow_index, ix); in 1074 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c MLX5_SET_CFG(in, end_flow_index, ix - 1); in 1075 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in 1082 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c MLX5_SET_CFG(in, start_flow_index, ix); in 1084 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c MLX5_SET_CFG(in, end_flow_index, ix - 1); in 1085 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in 1091 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c memset(in, 0, inlen); in 1092 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c MLX5_SET_CFG(in, start_flow_index, ix); in 1094 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c MLX5_SET_CFG(in, end_flow_index, ix - 1); in 1095 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in 1100 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c kvfree(in); in 1106 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c kvfree(in); in 1288 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c u32 *in; in 1295 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c in = kvzalloc(inlen, GFP_KERNEL); in 1296 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c if (!in) { in 1301 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c mc = MLX5_ADDR_OF(create_flow_group_in, in, match_criteria); in 1305 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c MLX5_SET_CFG(in, start_flow_index, ix); in 1307 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c MLX5_SET_CFG(in, end_flow_index, ix - 1); in 1308 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in 1315 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c MLX5_SET_CFG(in, match_criteria_enable, MLX5_MATCH_OUTER_HEADERS); in 1316 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c MLX5_SET_CFG(in, start_flow_index, ix); in 1318 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c MLX5_SET_CFG(in, end_flow_index, ix - 1); in 1319 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in 1327 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c MLX5_SET_CFG(in, start_flow_index, ix); in 1329 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c MLX5_SET_CFG(in, end_flow_index, ix - 1); in 1330 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in 1335 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c kvfree(in); in 1342 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c kvfree(in); in 1395 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c static int __mlx5e_create_vlan_table_groups(struct mlx5e_flow_table *ft, u32 *in, in 1400 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c u8 *mc = MLX5_ADDR_OF(create_flow_group_in, in, match_criteria); in 1402 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c memset(in, 0, inlen); in 1403 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c MLX5_SET_CFG(in, match_criteria_enable, MLX5_MATCH_OUTER_HEADERS); in 1406 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c MLX5_SET_CFG(in, start_flow_index, ix); in 1408 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c MLX5_SET_CFG(in, end_flow_index, ix - 1); in 1409 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in 1414 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c memset(in, 0, inlen); in 1415 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c MLX5_SET_CFG(in, match_criteria_enable, MLX5_MATCH_OUTER_HEADERS); in 1418 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c MLX5_SET_CFG(in, start_flow_index, ix); in 1420 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c MLX5_SET_CFG(in, end_flow_index, ix - 1); in 1421 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in 1426 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c memset(in, 0, inlen); in 1427 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c MLX5_SET_CFG(in, match_criteria_enable, MLX5_MATCH_OUTER_HEADERS); in 1429 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c MLX5_SET_CFG(in, start_flow_index, ix); in 1431 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c MLX5_SET_CFG(in, end_flow_index, ix - 1); in 1432 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in 1437 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c memset(in, 0, inlen); in 1438 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c MLX5_SET_CFG(in, match_criteria_enable, MLX5_MATCH_OUTER_HEADERS); in 1440 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c MLX5_SET_CFG(in, start_flow_index, ix); in 1442 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c MLX5_SET_CFG(in, end_flow_index, ix - 1); in 1443 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c ft->g[ft->num_groups] = mlx5_create_flow_group(ft->t, in); in 1460 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c u32 *in; in 1464 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c in = kvzalloc(inlen, GFP_KERNEL); in 1465 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c if (!in) in 1468 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c err = __mlx5e_create_vlan_table_groups(ft, in, inlen); in 1470 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c kvfree(in); in 819 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c void *in; in 848 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c in = kvzalloc(inlen, GFP_KERNEL); in 849 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c if (!in) in 858 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c mlx5e_modify_tirs_hash(priv, in, inlen); in 862 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c kvfree(in); in 273 drivers/net/ethernet/mellanox/mlx5/core/en_main.c u32 *in; in 276 drivers/net/ethernet/mellanox/mlx5/core/en_main.c in = kvzalloc(inlen, GFP_KERNEL); in 277 drivers/net/ethernet/mellanox/mlx5/core/en_main.c if (!in) in 280 drivers/net/ethernet/mellanox/mlx5/core/en_main.c mkc = MLX5_ADDR_OF(create_mkey_in, in, memory_key_mkey_entry); in 295 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = mlx5_core_create_mkey(mdev, umr_mkey, in, inlen); in 297 drivers/net/ethernet/mellanox/mlx5/core/en_main.c kvfree(in); in 679 drivers/net/ethernet/mellanox/mlx5/core/en_main.c void *in; in 687 drivers/net/ethernet/mellanox/mlx5/core/en_main.c in = kvzalloc(inlen, GFP_KERNEL); in 688 drivers/net/ethernet/mellanox/mlx5/core/en_main.c if (!in) in 691 drivers/net/ethernet/mellanox/mlx5/core/en_main.c rqc = MLX5_ADDR_OF(create_rq_in, in, ctx); in 705 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = mlx5_core_create_rq(mdev, in, inlen, &rq->rqn); in 707 drivers/net/ethernet/mellanox/mlx5/core/en_main.c kvfree(in); in 716 drivers/net/ethernet/mellanox/mlx5/core/en_main.c void *in; in 722 drivers/net/ethernet/mellanox/mlx5/core/en_main.c in = kvzalloc(inlen, GFP_KERNEL); in 723 drivers/net/ethernet/mellanox/mlx5/core/en_main.c if (!in) in 729 drivers/net/ethernet/mellanox/mlx5/core/en_main.c rqc = MLX5_ADDR_OF(modify_rq_in, in, ctx); in 731 drivers/net/ethernet/mellanox/mlx5/core/en_main.c MLX5_SET(modify_rq_in, in, rq_state, curr_state); in 734 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = mlx5_core_modify_rq(mdev, rq->rqn, in, inlen); in 736 drivers/net/ethernet/mellanox/mlx5/core/en_main.c kvfree(in); in 747 drivers/net/ethernet/mellanox/mlx5/core/en_main.c void *in; in 753 drivers/net/ethernet/mellanox/mlx5/core/en_main.c in = kvzalloc(inlen, GFP_KERNEL); in 754 drivers/net/ethernet/mellanox/mlx5/core/en_main.c if (!in) in 757 drivers/net/ethernet/mellanox/mlx5/core/en_main.c rqc = MLX5_ADDR_OF(modify_rq_in, in, ctx); in 759 drivers/net/ethernet/mellanox/mlx5/core/en_main.c MLX5_SET(modify_rq_in, in, rq_state, MLX5_RQC_STATE_RDY); in 760 drivers/net/ethernet/mellanox/mlx5/core/en_main.c MLX5_SET64(modify_rq_in, in, modify_bitmask, in 765 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = mlx5_core_modify_rq(mdev, rq->rqn, in, inlen); in 767 drivers/net/ethernet/mellanox/mlx5/core/en_main.c kvfree(in); in 776 drivers/net/ethernet/mellanox/mlx5/core/en_main.c void *in; in 782 drivers/net/ethernet/mellanox/mlx5/core/en_main.c in = kvzalloc(inlen, GFP_KERNEL); in 783 drivers/net/ethernet/mellanox/mlx5/core/en_main.c if (!in) in 786 drivers/net/ethernet/mellanox/mlx5/core/en_main.c rqc = MLX5_ADDR_OF(modify_rq_in, in, ctx); in 788 drivers/net/ethernet/mellanox/mlx5/core/en_main.c MLX5_SET(modify_rq_in, in, rq_state, MLX5_RQC_STATE_RDY); in 789 drivers/net/ethernet/mellanox/mlx5/core/en_main.c MLX5_SET64(modify_rq_in, in, modify_bitmask, in 794 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = mlx5_core_modify_rq(mdev, rq->rqn, in, inlen); in 796 drivers/net/ethernet/mellanox/mlx5/core/en_main.c kvfree(in); in 1208 drivers/net/ethernet/mellanox/mlx5/core/en_main.c void *in; in 1216 drivers/net/ethernet/mellanox/mlx5/core/en_main.c in = kvzalloc(inlen, GFP_KERNEL); in 1217 drivers/net/ethernet/mellanox/mlx5/core/en_main.c if (!in) in 1220 drivers/net/ethernet/mellanox/mlx5/core/en_main.c sqc = MLX5_ADDR_OF(create_sq_in, in, ctx); in 1243 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = mlx5_core_create_sq(mdev, in, inlen, sqn); in 1245 drivers/net/ethernet/mellanox/mlx5/core/en_main.c kvfree(in); in 1253 drivers/net/ethernet/mellanox/mlx5/core/en_main.c void *in; in 1259 drivers/net/ethernet/mellanox/mlx5/core/en_main.c in = kvzalloc(inlen, GFP_KERNEL); in 1260 drivers/net/ethernet/mellanox/mlx5/core/en_main.c if (!in) in 1263 drivers/net/ethernet/mellanox/mlx5/core/en_main.c sqc = MLX5_ADDR_OF(modify_sq_in, in, ctx); in 1265 drivers/net/ethernet/mellanox/mlx5/core/en_main.c MLX5_SET(modify_sq_in, in, sq_state, p->curr_state); in 1268 drivers/net/ethernet/mellanox/mlx5/core/en_main.c MLX5_SET64(modify_sq_in, in, modify_bitmask, 1); in 1272 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = mlx5_core_modify_sq(mdev, sqn, in, inlen); in 1274 drivers/net/ethernet/mellanox/mlx5/core/en_main.c kvfree(in); in 1603 drivers/net/ethernet/mellanox/mlx5/core/en_main.c void *in; in 1616 drivers/net/ethernet/mellanox/mlx5/core/en_main.c in = kvzalloc(inlen, GFP_KERNEL); in 1617 drivers/net/ethernet/mellanox/mlx5/core/en_main.c if (!in) in 1620 drivers/net/ethernet/mellanox/mlx5/core/en_main.c cqc = MLX5_ADDR_OF(create_cq_in, in, cq_context); in 1625 drivers/net/ethernet/mellanox/mlx5/core/en_main.c (__be64 *)MLX5_ADDR_OF(create_cq_in, in, pas)); in 1634 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = mlx5_core_create_cq(mdev, mcq, in, inlen, out, sizeof(out)); in 1636 drivers/net/ethernet/mellanox/mlx5/core/en_main.c kvfree(in); in 2441 drivers/net/ethernet/mellanox/mlx5/core/en_main.c u32 *in; in 2445 drivers/net/ethernet/mellanox/mlx5/core/en_main.c in = kvzalloc(inlen, GFP_KERNEL); in 2446 drivers/net/ethernet/mellanox/mlx5/core/en_main.c if (!in) in 2449 drivers/net/ethernet/mellanox/mlx5/core/en_main.c rqtc = MLX5_ADDR_OF(create_rqt_in, in, rqt_context); in 2457 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = mlx5_core_create_rqt(mdev, in, inlen, &rqt->rqtn); in 2461 drivers/net/ethernet/mellanox/mlx5/core/en_main.c kvfree(in); in 2558 drivers/net/ethernet/mellanox/mlx5/core/en_main.c u32 *in; in 2562 drivers/net/ethernet/mellanox/mlx5/core/en_main.c in = kvzalloc(inlen, GFP_KERNEL); in 2563 drivers/net/ethernet/mellanox/mlx5/core/en_main.c if (!in) in 2566 drivers/net/ethernet/mellanox/mlx5/core/en_main.c rqtc = MLX5_ADDR_OF(modify_rqt_in, in, ctx); in 2569 drivers/net/ethernet/mellanox/mlx5/core/en_main.c MLX5_SET(modify_rqt_in, in, bitmask.rqn_list, 1); in 2571 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = mlx5_core_modify_rqt(mdev, rqtn, in, inlen); in 2573 drivers/net/ethernet/mellanox/mlx5/core/en_main.c kvfree(in); in 2742 drivers/net/ethernet/mellanox/mlx5/core/en_main.c void mlx5e_modify_tirs_hash(struct mlx5e_priv *priv, void *in, int inlen) in 2744 drivers/net/ethernet/mellanox/mlx5/core/en_main.c void *tirc = MLX5_ADDR_OF(modify_tir_in, in, ctx); in 2751 drivers/net/ethernet/mellanox/mlx5/core/en_main.c MLX5_SET(modify_tir_in, in, bitmask.hash, 1); in 2758 drivers/net/ethernet/mellanox/mlx5/core/en_main.c mlx5_core_modify_tir(mdev, priv->indir_tir[tt].tirn, in, inlen); in 2770 drivers/net/ethernet/mellanox/mlx5/core/en_main.c mlx5_core_modify_tir(mdev, priv->inner_indir_tir[tt].tirn, in, in 2779 drivers/net/ethernet/mellanox/mlx5/core/en_main.c void *in; in 2787 drivers/net/ethernet/mellanox/mlx5/core/en_main.c in = kvzalloc(inlen, GFP_KERNEL); in 2788 drivers/net/ethernet/mellanox/mlx5/core/en_main.c if (!in) in 2791 drivers/net/ethernet/mellanox/mlx5/core/en_main.c MLX5_SET(modify_tir_in, in, bitmask.lro, 1); in 2792 drivers/net/ethernet/mellanox/mlx5/core/en_main.c tirc = MLX5_ADDR_OF(modify_tir_in, in, ctx); in 2797 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = mlx5_core_modify_tir(mdev, priv->indir_tir[tt].tirn, in, in 2805 drivers/net/ethernet/mellanox/mlx5/core/en_main.c in, inlen); in 2811 drivers/net/ethernet/mellanox/mlx5/core/en_main.c kvfree(in); in 3203 drivers/net/ethernet/mellanox/mlx5/core/en_main.c int mlx5e_create_tis(struct mlx5_core_dev *mdev, void *in, u32 *tisn) in 3205 drivers/net/ethernet/mellanox/mlx5/core/en_main.c void *tisc = MLX5_ADDR_OF(create_tis_in, in, ctx); in 3215 drivers/net/ethernet/mellanox/mlx5/core/en_main.c return mlx5_core_create_tis(mdev, in, MLX5_ST_SZ_BYTES(create_tis_in), tisn); in 3244 drivers/net/ethernet/mellanox/mlx5/core/en_main.c u32 in[MLX5_ST_SZ_DW(create_tis_in)] = {}; in 3247 drivers/net/ethernet/mellanox/mlx5/core/en_main.c tisc = MLX5_ADDR_OF(create_tis_in, in, ctx); in 3254 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = mlx5e_create_tis(priv->mdev, in, &priv->tisn[i][tc]); in 3320 drivers/net/ethernet/mellanox/mlx5/core/en_main.c u32 *in; in 3324 drivers/net/ethernet/mellanox/mlx5/core/en_main.c in = kvzalloc(inlen, GFP_KERNEL); in 3325 drivers/net/ethernet/mellanox/mlx5/core/en_main.c if (!in) in 3329 drivers/net/ethernet/mellanox/mlx5/core/en_main.c memset(in, 0, inlen); in 3331 drivers/net/ethernet/mellanox/mlx5/core/en_main.c tirc = MLX5_ADDR_OF(create_tir_in, in, ctx); in 3333 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = mlx5e_create_tir(priv->mdev, tir, in, inlen); in 3344 drivers/net/ethernet/mellanox/mlx5/core/en_main.c memset(in, 0, inlen); in 3346 drivers/net/ethernet/mellanox/mlx5/core/en_main.c tirc = MLX5_ADDR_OF(create_tir_in, in, ctx); in 3348 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = mlx5e_create_tir(priv->mdev, tir, in, inlen); in 3356 drivers/net/ethernet/mellanox/mlx5/core/en_main.c kvfree(in); in 3367 drivers/net/ethernet/mellanox/mlx5/core/en_main.c kvfree(in); in 3378 drivers/net/ethernet/mellanox/mlx5/core/en_main.c u32 *in; in 3382 drivers/net/ethernet/mellanox/mlx5/core/en_main.c in = kvzalloc(inlen, GFP_KERNEL); in 3383 drivers/net/ethernet/mellanox/mlx5/core/en_main.c if (!in) in 3387 drivers/net/ethernet/mellanox/mlx5/core/en_main.c memset(in, 0, inlen); in 3389 drivers/net/ethernet/mellanox/mlx5/core/en_main.c tirc = MLX5_ADDR_OF(create_tir_in, in, ctx); in 3391 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = mlx5e_create_tir(priv->mdev, tir, in, inlen); in 3404 drivers/net/ethernet/mellanox/mlx5/core/en_main.c kvfree(in); in 434 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c u32 in[MLX5_ST_SZ_DW(query_vnic_env_in)] = {0}; in 440 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c MLX5_SET(query_vnic_env_in, in, opcode, in 442 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c MLX5_SET(query_vnic_env_in, in, op_mod, 0); in 443 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c MLX5_SET(query_vnic_env_in, in, other_vport, 0); in 444 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c mlx5_cmd_exec(mdev, in, sizeof(in), out, outlen); in 523 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c u32 in[MLX5_ST_SZ_DW(query_vport_counter_in)] = {0}; in 526 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c MLX5_SET(query_vport_counter_in, in, opcode, MLX5_CMD_OP_QUERY_VPORT_COUNTER); in 527 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c MLX5_SET(query_vport_counter_in, in, op_mod, 0); in 528 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c MLX5_SET(query_vport_counter_in, in, other_vport, 0); in 529 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c mlx5_cmd_exec(mdev, in, sizeof(in), out, outlen); in 591 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c u32 in[MLX5_ST_SZ_DW(ppcnt_reg)] = {0}; in 598 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c MLX5_SET(ppcnt_reg, in, local_port, 1); in 600 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c MLX5_SET(ppcnt_reg, in, grp, MLX5_IEEE_802_3_COUNTERS_GROUP); in 601 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPCNT, 0, 0); in 645 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c u32 in[MLX5_ST_SZ_DW(ppcnt_reg)] = {0}; in 649 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c MLX5_SET(ppcnt_reg, in, local_port, 1); in 651 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c MLX5_SET(ppcnt_reg, in, grp, MLX5_RFC_2863_COUNTERS_GROUP); in 652 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPCNT, 0, 0); in 706 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c u32 in[MLX5_ST_SZ_DW(ppcnt_reg)] = {0}; in 713 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c MLX5_SET(ppcnt_reg, in, local_port, 1); in 715 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c MLX5_SET(ppcnt_reg, in, grp, MLX5_RFC_2819_COUNTERS_GROUP); in 716 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPCNT, 0, 0); in 810 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c u32 in[MLX5_ST_SZ_DW(ppcnt_reg)] = {0}; in 814 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c MLX5_SET(ppcnt_reg, in, local_port, 1); in 816 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c MLX5_SET(ppcnt_reg, in, grp, MLX5_PHYSICAL_LAYER_COUNTERS_GROUP); in 817 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPCNT, 0, 0); in 823 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c MLX5_SET(ppcnt_reg, in, grp, MLX5_PHYSICAL_LAYER_STATISTICAL_GROUP); in 824 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPCNT, 0, 0); in 873 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c u32 in[MLX5_ST_SZ_DW(ppcnt_reg)] = {0}; in 880 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c MLX5_SET(ppcnt_reg, in, local_port, 1); in 882 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c MLX5_SET(ppcnt_reg, in, grp, MLX5_ETHERNET_EXTENDED_COUNTERS_GROUP); in 883 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPCNT, 0, 0); in 977 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c u32 in[MLX5_ST_SZ_DW(mpcnt_reg)] = {0}; in 985 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c MLX5_SET(mpcnt_reg, in, grp, MLX5_PCIE_PERFORMANCE_COUNTERS_GROUP); in 986 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_MPCNT, 0, 0); in 1070 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c u32 in[MLX5_ST_SZ_DW(ppcnt_reg)] = {}; in 1078 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c MLX5_SET(ppcnt_reg, in, pnat, 2); in 1079 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c MLX5_SET(ppcnt_reg, in, grp, MLX5_PER_TRAFFIC_CLASS_COUNTERS_GROUP); in 1082 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c MLX5_SET(ppcnt_reg, in, prio_tc, prio); in 1083 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPCNT, 0, 0); in 1101 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c u32 in[MLX5_ST_SZ_DW(ppcnt_reg)] = {}; in 1109 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c MLX5_SET(ppcnt_reg, in, pnat, 2); in 1110 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c MLX5_SET(ppcnt_reg, in, grp, MLX5_PER_TRAFFIC_CLASS_CONGESTION_GROUP); in 1113 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c MLX5_SET(ppcnt_reg, in, prio_tc, prio); in 1114 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPCNT, 0, 0); in 1324 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c u32 in[MLX5_ST_SZ_DW(ppcnt_reg)] = {0}; in 1332 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c MLX5_SET(ppcnt_reg, in, local_port, 1); in 1333 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c MLX5_SET(ppcnt_reg, in, grp, MLX5_PER_PRIORITY_COUNTERS_GROUP); in 1336 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c MLX5_SET(ppcnt_reg, in, prio_tc, prio); in 1337 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c mlx5_core_access_reg(mdev, in, sz, out, sz, in 456 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c u32 in[MLX5_ST_SZ_DW(create_tir_in)] = {0}; in 464 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c tirc = MLX5_ADDR_OF(create_tir_in, in, ctx); in 470 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c err = mlx5_core_create_tir(hp->func_mdev, in, MLX5_ST_SZ_BYTES(create_tir_in), &hp->tirn); in 513 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c u32 *in; in 516 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c in = kvzalloc(inlen, GFP_KERNEL); in 517 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c if (!in) in 520 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c rqtc = MLX5_ADDR_OF(create_rqt_in, in, rqt_context); in 527 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c err = mlx5_core_create_rqt(mdev, in, inlen, &hp->indir_rqt.rqtn); in 531 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c kvfree(in); in 538 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c u32 in[MLX5_ST_SZ_DW(create_tir_in)]; in 545 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c memset(in, 0, MLX5_ST_SZ_BYTES(create_tir_in)); in 546 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c tirc = MLX5_ADDR_OF(create_tir_in, in, ctx); in 553 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c err = mlx5_core_create_tir(hp->func_mdev, in, in 106 drivers/net/ethernet/mellanox/mlx5/core/eq.c u32 in[MLX5_ST_SZ_DW(destroy_eq_in)] = {0}; in 108 drivers/net/ethernet/mellanox/mlx5/core/eq.c MLX5_SET(destroy_eq_in, in, opcode, MLX5_CMD_OP_DESTROY_EQ); in 109 drivers/net/ethernet/mellanox/mlx5/core/eq.c MLX5_SET(destroy_eq_in, in, eq_number, eqn); in 110 drivers/net/ethernet/mellanox/mlx5/core/eq.c return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 253 drivers/net/ethernet/mellanox/mlx5/core/eq.c u32 *in; in 273 drivers/net/ethernet/mellanox/mlx5/core/eq.c in = kvzalloc(inlen, GFP_KERNEL); in 274 drivers/net/ethernet/mellanox/mlx5/core/eq.c if (!in) { in 279 drivers/net/ethernet/mellanox/mlx5/core/eq.c pas = (__be64 *)MLX5_ADDR_OF(create_eq_in, in, pas); in 282 drivers/net/ethernet/mellanox/mlx5/core/eq.c MLX5_SET(create_eq_in, in, opcode, MLX5_CMD_OP_CREATE_EQ); in 284 drivers/net/ethernet/mellanox/mlx5/core/eq.c MLX5_SET(create_eq_in, in, uid, MLX5_SHARED_RESOURCE_UID); in 287 drivers/net/ethernet/mellanox/mlx5/core/eq.c MLX5_ARRAY_SET64(create_eq_in, in, event_bitmask, i, in 290 drivers/net/ethernet/mellanox/mlx5/core/eq.c eqc = MLX5_ADDR_OF(create_eq_in, in, eq_context_entry); in 297 drivers/net/ethernet/mellanox/mlx5/core/eq.c err = mlx5_cmd_exec(dev, in, inlen, out, sizeof(out)); in 311 drivers/net/ethernet/mellanox/mlx5/core/eq.c kvfree(in); in 318 drivers/net/ethernet/mellanox/mlx5/core/eq.c kvfree(in); in 86 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c int in[MLX5_ST_SZ_DW(modify_nic_vport_context_in)] = {0}; in 90 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c MLX5_SET(modify_nic_vport_context_in, in, in 92 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c MLX5_SET(modify_nic_vport_context_in, in, field_select.change_event, 1); in 93 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c MLX5_SET(modify_nic_vport_context_in, in, vport_number, vport); in 94 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c MLX5_SET(modify_nic_vport_context_in, in, other_vport, 1); in 96 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c in, nic_vport_context); in 110 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 115 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c void *in, int inlen) in 119 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c MLX5_SET(modify_esw_vport_context_in, in, opcode, in 121 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c MLX5_SET(modify_esw_vport_context_in, in, vport_number, vport); in 122 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c MLX5_SET(modify_esw_vport_context_in, in, other_vport, 1); in 123 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c return mlx5_cmd_exec(dev, in, inlen, out, sizeof(out)); in 127 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c void *in, int inlen) in 129 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c return modify_esw_vport_context_cmd(esw->dev, vport, in, inlen); in 135 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c u32 in[MLX5_ST_SZ_DW(query_esw_vport_context_in)] = {}; in 137 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c MLX5_SET(query_esw_vport_context_in, in, opcode, in 139 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c MLX5_SET(modify_esw_vport_context_in, in, vport_number, vport); in 140 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c MLX5_SET(modify_esw_vport_context_in, in, other_vport, 1); in 141 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c return mlx5_cmd_exec(dev, in, sizeof(in), out, outlen); in 153 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c u32 in[MLX5_ST_SZ_DW(modify_esw_vport_context_in)] = {0}; in 163 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c MLX5_SET(modify_esw_vport_context_in, in, in 168 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c MLX5_SET(modify_esw_vport_context_in, in, in 171 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c MLX5_SET(modify_esw_vport_context_in, in, in 173 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c MLX5_SET(modify_esw_vport_context_in, in, in 177 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c MLX5_SET(modify_esw_vport_context_in, in, in 179 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c MLX5_SET(modify_esw_vport_context_in, in, in 182 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c return modify_esw_vport_context_cmd(dev, vport, in, sizeof(in)); in 1793 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c u32 in[MLX5_ST_SZ_DW(query_esw_functions_in)] = {}; in 1801 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c MLX5_SET(query_esw_functions_in, in, opcode, in 1804 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c err = mlx5_cmd_exec(dev, in, sizeof(in), out, outlen); in 2501 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c u32 in[MLX5_ST_SZ_DW(query_vport_counter_in)] = {0}; in 2513 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c MLX5_SET(query_vport_counter_in, in, opcode, in 2515 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c MLX5_SET(query_vport_counter_in, in, op_mod, 0); in 2516 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c MLX5_SET(query_vport_counter_in, in, vport_number, vport->vport); in 2517 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c MLX5_SET(query_vport_counter_in, in, other_vport, 1); in 2519 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c err = mlx5_cmd_exec(esw->dev, in, sizeof(in), out, outlen); in 296 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h void *in, int inlen); in 595 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c u32 in[MLX5_ST_SZ_DW(modify_esw_vport_context_in)] = {}; in 615 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c MLX5_SET(modify_esw_vport_context_in, in, in 618 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c MLX5_SET(modify_esw_vport_context_in, in, in 622 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c in, sizeof(in)); in 266 drivers/net/ethernet/mellanox/mlx5/core/events.c u32 in[MLX5_ST_SZ_DW(mpein_reg)] = {0}; in 278 drivers/net/ethernet/mellanox/mlx5/core/events.c mlx5_core_access_reg(dev, in, sizeof(in), out, sizeof(out), in 47 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c u32 in[MLX5_FPGA_ACCESS_REG_SZ] = {0}; in 58 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c MLX5_SET(fpga_access_reg, in, size, size); in 59 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c MLX5_SET64(fpga_access_reg, in, address, addr); in 61 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c memcpy(MLX5_ADDR_OF(fpga_access_reg, in, data), buf, size); in 63 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c err = mlx5_core_access_reg(dev, in, sizeof(in), out, sizeof(out), in 76 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c u32 in[MLX5_ST_SZ_DW(fpga_cap)] = {0}; in 78 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c return mlx5_core_access_reg(dev, in, sizeof(in), dev->caps.fpga, in 85 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c u32 in[MLX5_ST_SZ_DW(fpga_ctrl)] = {0}; in 88 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c MLX5_SET(fpga_ctrl, in, operation, op); in 90 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c return mlx5_core_access_reg(dev, in, sizeof(in), out, sizeof(out), in 128 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c u32 in[MLX5_ST_SZ_DW(fpga_ctrl)] = {0}; in 132 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c err = mlx5_core_access_reg(dev, in, sizeof(in), out, sizeof(out), in 146 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c u32 in[MLX5_ST_SZ_DW(fpga_create_qp_in)] = {0}; in 150 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c MLX5_SET(fpga_create_qp_in, in, opcode, MLX5_CMD_OP_FPGA_CREATE_QP); in 151 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c memcpy(MLX5_ADDR_OF(fpga_create_qp_in, in, fpga_qpc), fpga_qpc, in 154 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c ret = mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 168 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c u32 in[MLX5_ST_SZ_DW(fpga_modify_qp_in)] = {0}; in 171 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c MLX5_SET(fpga_modify_qp_in, in, opcode, MLX5_CMD_OP_FPGA_MODIFY_QP); in 172 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c MLX5_SET(fpga_modify_qp_in, in, field_select, fields); in 173 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c MLX5_SET(fpga_modify_qp_in, in, fpga_qpn, fpga_qpn); in 174 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c memcpy(MLX5_ADDR_OF(fpga_modify_qp_in, in, fpga_qpc), fpga_qpc, in 177 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 183 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c u32 in[MLX5_ST_SZ_DW(fpga_query_qp_in)] = {0}; in 187 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c MLX5_SET(fpga_query_qp_in, in, opcode, MLX5_CMD_OP_FPGA_QUERY_QP); in 188 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c MLX5_SET(fpga_query_qp_in, in, fpga_qpn, fpga_qpn); in 190 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c ret = mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 201 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c u32 in[MLX5_ST_SZ_DW(fpga_destroy_qp_in)] = {0}; in 204 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c MLX5_SET(fpga_destroy_qp_in, in, opcode, MLX5_CMD_OP_FPGA_DESTROY_QP); in 205 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c MLX5_SET(fpga_destroy_qp_in, in, fpga_qpn, fpga_qpn); in 207 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 213 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c u32 in[MLX5_ST_SZ_DW(fpga_query_qp_counters_in)] = {0}; in 217 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c MLX5_SET(fpga_query_qp_counters_in, in, opcode, in 219 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c MLX5_SET(fpga_query_qp_counters_in, in, clear, clear); in 220 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c MLX5_SET(fpga_query_qp_counters_in, in, fpga_qpn, fpga_qpn); in 222 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c ret = mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 228 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c u32 *in; in 231 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c in = kvzalloc(inlen, GFP_KERNEL); in 232 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c if (!in) in 235 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c mkc = MLX5_ADDR_OF(create_mkey_in, in, memory_key_mkey_entry); in 244 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c err = mlx5_core_create_mkey(mdev, mkey, in, inlen); in 246 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c kvfree(in); in 438 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c void *cqc, *in; in 460 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c in = kvzalloc(inlen, GFP_KERNEL); in 461 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c if (!in) { in 468 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c kvfree(in); in 472 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c cqc = MLX5_ADDR_OF(create_cq_in, in, cq_context); in 480 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c pas = (__be64 *)MLX5_ADDR_OF(create_cq_in, in, pas); in 483 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c err = mlx5_core_create_cq(mdev, &conn->cq.mcq, in, inlen, out, sizeof(out)); in 484 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c kvfree(in); in 539 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c void *in = NULL, *qpc; in 575 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c in = kvzalloc(inlen, GFP_KERNEL); in 576 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c if (!in) { in 581 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c qpc = MLX5_ADDR_OF(create_qp_in, in, qpc); in 601 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c (__be64 *)MLX5_ADDR_OF(create_qp_in, in, pas)); in 603 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c err = mlx5_core_create_qp(mdev, &conn->qp.mqp, in, inlen); in 619 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c kvfree(in); in 997 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c u32 *in, in 1002 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c struct mlx5_flow_table *ft, u32 *in, in 1005 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c char *misc_params_c = MLX5_ADDR_OF(create_flow_group_in, in, in 1014 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c return create_flow_group(ns, ft, in, fg); in 1017 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c MLX5_GET(create_flow_group_in, in, match_criteria_enable); in 1021 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c return create_flow_group(ns, ft, in, fg); in 1027 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c MLX5_SET(create_flow_group_in, in, match_criteria_enable, in 1030 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c ret = create_flow_group(ns, ft, in, fg); in 1033 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c MLX5_SET(create_flow_group_in, in, match_criteria_enable, match_criteria_enable); in 1160 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c u32 *in, in 1163 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c return fpga_ipsec_fs_create_flow_group(ns, ft, in, fg, true); in 1197 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c u32 *in, in 1200 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c return fpga_ipsec_fs_create_flow_group(ns, ft, in, fg, false); in 73 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c u32 *in, in 158 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c u32 in[MLX5_ST_SZ_DW(set_flow_table_root_in)] = {0}; in 166 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(set_flow_table_root_in, in, opcode, in 168 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(set_flow_table_root_in, in, table_type, ft->type); in 171 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(set_flow_table_root_in, in, op_mod, 1); in 172 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(set_flow_table_root_in, in, table_id, 0); in 174 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(set_flow_table_root_in, in, op_mod, 0); in 175 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(set_flow_table_root_in, in, table_id, ft->id); in 178 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(set_flow_table_root_in, in, underlay_qpn, underlay_qpn); in 180 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(set_flow_table_root_in, in, vport_number, ft->vport); in 181 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(set_flow_table_root_in, in, other_vport, 1); in 184 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 196 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c u32 in[MLX5_ST_SZ_DW(create_flow_table_in)] = {0}; in 200 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(create_flow_table_in, in, opcode, in 203 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(create_flow_table_in, in, table_type, ft->type); in 204 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(create_flow_table_in, in, flow_table_context.level, ft->level); in 205 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(create_flow_table_in, in, flow_table_context.log_size, log_size); in 207 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(create_flow_table_in, in, vport_number, ft->vport); in 208 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(create_flow_table_in, in, other_vport, 1); in 211 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(create_flow_table_in, in, flow_table_context.decap_en, in 213 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(create_flow_table_in, in, flow_table_context.reformat_en, in 215 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(create_flow_table_in, in, flow_table_context.termination_table, in 221 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(create_flow_table_in, in, in 224 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(create_flow_table_in, in, in 227 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(create_flow_table_in, in, in 234 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(create_flow_table_in, in, op_mod, 0x1); in 236 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(create_flow_table_in, in, in 242 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c err = mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 252 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c u32 in[MLX5_ST_SZ_DW(destroy_flow_table_in)] = {0}; in 256 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(destroy_flow_table_in, in, opcode, in 258 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(destroy_flow_table_in, in, table_type, ft->type); in 259 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(destroy_flow_table_in, in, table_id, ft->id); in 261 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(destroy_flow_table_in, in, vport_number, ft->vport); in 262 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(destroy_flow_table_in, in, other_vport, 1); in 265 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 272 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c u32 in[MLX5_ST_SZ_DW(modify_flow_table_in)] = {0}; in 276 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(modify_flow_table_in, in, opcode, in 278 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(modify_flow_table_in, in, table_type, ft->type); in 279 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(modify_flow_table_in, in, table_id, ft->id); in 282 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(modify_flow_table_in, in, modify_field_select, in 285 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(modify_flow_table_in, in, in 288 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(modify_flow_table_in, in, in 293 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(modify_flow_table_in, in, vport_number, in 295 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(modify_flow_table_in, in, other_vport, 1); in 297 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(modify_flow_table_in, in, modify_field_select, in 300 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(modify_flow_table_in, in, in 303 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(modify_flow_table_in, in, in 307 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(modify_flow_table_in, in, in 313 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 318 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c u32 *in, in 326 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(create_flow_group_in, in, opcode, in 328 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(create_flow_group_in, in, table_type, ft->type); in 329 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(create_flow_group_in, in, table_id, ft->id); in 331 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(create_flow_group_in, in, vport_number, ft->vport); in 332 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(create_flow_group_in, in, other_vport, 1); in 335 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c err = mlx5_cmd_exec(dev, in, inlen, out, sizeof(out)); in 347 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c u32 in[MLX5_ST_SZ_DW(destroy_flow_group_in)] = {0}; in 350 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(destroy_flow_group_in, in, opcode, in 352 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(destroy_flow_group_in, in, table_type, ft->type); in 353 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(destroy_flow_group_in, in, table_id, ft->id); in 354 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(destroy_flow_group_in, in, group_id, fg->id); in 356 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(destroy_flow_group_in, in, vport_number, ft->vport); in 357 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(destroy_flow_group_in, in, other_vport, 1); in 360 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 413 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c u32 *in; in 425 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c in = kvzalloc(inlen, GFP_KERNEL); in 426 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c if (!in) in 429 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(set_fte_in, in, opcode, MLX5_CMD_OP_SET_FLOW_TABLE_ENTRY); in 430 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(set_fte_in, in, op_mod, opmod); in 431 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(set_fte_in, in, modify_enable_mask, modify_mask); in 432 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(set_fte_in, in, table_type, ft->type); in 433 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(set_fte_in, in, table_id, ft->id); in 434 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(set_fte_in, in, flow_index, fte->index); in 436 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(set_fte_in, in, vport_number, ft->vport); in 437 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(set_fte_in, in, other_vport, 1); in 440 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c in_flow_context = MLX5_ADDR_OF(set_fte_in, in, flow_context); in 561 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c err = mlx5_cmd_exec(dev, in, inlen, out, sizeof(out)); in 563 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c kvfree(in); in 601 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c u32 in[MLX5_ST_SZ_DW(delete_fte_in)] = {0}; in 604 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(delete_fte_in, in, opcode, MLX5_CMD_OP_DELETE_FLOW_TABLE_ENTRY); in 605 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(delete_fte_in, in, table_type, ft->type); in 606 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(delete_fte_in, in, table_id, ft->id); in 607 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(delete_fte_in, in, flow_index, fte->index); in 609 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(delete_fte_in, in, vport_number, ft->vport); in 610 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(delete_fte_in, in, other_vport, 1); in 613 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 620 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c u32 in[MLX5_ST_SZ_DW(alloc_flow_counter_in)] = {0}; in 624 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(alloc_flow_counter_in, in, opcode, in 626 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(alloc_flow_counter_in, in, flow_counter_bulk, alloc_bitmask); in 628 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c err = mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 641 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c u32 in[MLX5_ST_SZ_DW(dealloc_flow_counter_in)] = {0}; in 644 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(dealloc_flow_counter_in, in, opcode, in 646 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(dealloc_flow_counter_in, in, flow_counter_id, id); in 647 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 655 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c u32 in[MLX5_ST_SZ_DW(query_flow_counter_in)] = {0}; in 659 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(query_flow_counter_in, in, opcode, in 661 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(query_flow_counter_in, in, op_mod, 0); in 662 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(query_flow_counter_in, in, flow_counter_id, id); in 663 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c err = mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 683 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c u32 in[MLX5_ST_SZ_DW(query_flow_counter_in)] = {0}; in 685 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(query_flow_counter_in, in, opcode, in 687 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(query_flow_counter_in, in, op_mod, 0); in 688 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(query_flow_counter_in, in, flow_counter_id, base_id); in 689 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(query_flow_counter_in, in, num_of_counters, bulk_len); in 690 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c return mlx5_cmd_exec(dev, in, sizeof(in), out, outlen); in 707 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c u32 *in; in 720 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c in = kzalloc(MLX5_ST_SZ_BYTES(alloc_packet_reformat_context_in) + size, in 722 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c if (!in) in 726 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c in, packet_reformat_context); in 730 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c inlen = reformat - (void *)in + size; in 732 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c memset(in, 0, inlen); in 733 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(alloc_packet_reformat_context_in, in, opcode, in 742 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c err = mlx5_cmd_exec(dev, in, inlen, out, sizeof(out)); in 746 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c kfree(in); in 753 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c u32 in[MLX5_ST_SZ_DW(dealloc_packet_reformat_context_in)]; in 757 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c memset(in, 0, sizeof(in)); in 758 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(dealloc_packet_reformat_context_in, in, opcode, in 760 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(dealloc_packet_reformat_context_in, in, packet_reformat_id, in 763 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 776 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c u32 *in; in 809 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c in = kzalloc(inlen, GFP_KERNEL); in 810 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c if (!in) in 813 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(alloc_modify_header_context_in, in, opcode, in 815 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(alloc_modify_header_context_in, in, table_type, table_type); in 816 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(alloc_modify_header_context_in, in, num_of_actions, num_actions); in 818 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c actions_in = MLX5_ADDR_OF(alloc_modify_header_context_in, in, actions); in 822 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c err = mlx5_cmd_exec(dev, in, inlen, out, sizeof(out)); in 825 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c kfree(in); in 832 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c u32 in[MLX5_ST_SZ_DW(dealloc_modify_header_context_in)]; in 836 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c memset(in, 0, sizeof(in)); in 837 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(dealloc_modify_header_context_in, in, opcode, in 839 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(dealloc_modify_header_context_in, in, modify_header_id, in 842 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 52 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.h u32 *in, in 1376 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c u32 *in; in 1378 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c in = kvzalloc(inlen, GFP_KERNEL); in 1379 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c if (!in) in 1382 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c MLX5_SET(create_flow_group_in, in, match_criteria_enable, in 1384 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c MLX5_SET(create_flow_group_in, in, start_flow_index, fg->start_index); in 1385 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c MLX5_SET(create_flow_group_in, in, end_flow_index, fg->start_index + in 1392 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c MLX5_SET(create_flow_group_in, in, in 1396 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c in, match_criteria); in 1400 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c err = root->cmds->create_flow_group(root, ft, in, fg); in 1406 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c kvfree(in); in 74 drivers/net/ethernet/mellanox/mlx5/core/fw.c u32 in[MLX5_ST_SZ_DW(query_adapter_in)] = {0}; in 76 drivers/net/ethernet/mellanox/mlx5/core/fw.c MLX5_SET(query_adapter_in, in, opcode, MLX5_CMD_OP_QUERY_ADAPTER); in 77 drivers/net/ethernet/mellanox/mlx5/core/fw.c return mlx5_cmd_exec(dev, in, sizeof(in), out, outlen); in 254 drivers/net/ethernet/mellanox/mlx5/core/fw.c u32 in[MLX5_ST_SZ_DW(init_hca_in)] = {0}; in 257 drivers/net/ethernet/mellanox/mlx5/core/fw.c MLX5_SET(init_hca_in, in, opcode, MLX5_CMD_OP_INIT_HCA); in 261 drivers/net/ethernet/mellanox/mlx5/core/fw.c MLX5_ARRAY_SET(init_hca_in, in, sw_owner_id, i, in 265 drivers/net/ethernet/mellanox/mlx5/core/fw.c return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 271 drivers/net/ethernet/mellanox/mlx5/core/fw.c u32 in[MLX5_ST_SZ_DW(teardown_hca_in)] = {0}; in 273 drivers/net/ethernet/mellanox/mlx5/core/fw.c MLX5_SET(teardown_hca_in, in, opcode, MLX5_CMD_OP_TEARDOWN_HCA); in 274 drivers/net/ethernet/mellanox/mlx5/core/fw.c return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 280 drivers/net/ethernet/mellanox/mlx5/core/fw.c u32 in[MLX5_ST_SZ_DW(teardown_hca_in)] = {0}; in 289 drivers/net/ethernet/mellanox/mlx5/core/fw.c MLX5_SET(teardown_hca_in, in, opcode, MLX5_CMD_OP_TEARDOWN_HCA); in 290 drivers/net/ethernet/mellanox/mlx5/core/fw.c MLX5_SET(teardown_hca_in, in, profile, MLX5_TEARDOWN_HCA_IN_PROFILE_FORCE_CLOSE); in 292 drivers/net/ethernet/mellanox/mlx5/core/fw.c ret = mlx5_cmd_exec_polling(dev, in, sizeof(in), out, sizeof(out)); in 310 drivers/net/ethernet/mellanox/mlx5/core/fw.c u32 in[MLX5_ST_SZ_DW(teardown_hca_in)] = {0}; in 319 drivers/net/ethernet/mellanox/mlx5/core/fw.c MLX5_SET(teardown_hca_in, in, opcode, MLX5_CMD_OP_TEARDOWN_HCA); in 320 drivers/net/ethernet/mellanox/mlx5/core/fw.c MLX5_SET(teardown_hca_in, in, profile, in 323 drivers/net/ethernet/mellanox/mlx5/core/fw.c ret = mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 368 drivers/net/ethernet/mellanox/mlx5/core/fw.c u32 in[MLX5_ST_SZ_DW(mcc_reg)]; in 370 drivers/net/ethernet/mellanox/mlx5/core/fw.c memset(in, 0, sizeof(in)); in 372 drivers/net/ethernet/mellanox/mlx5/core/fw.c MLX5_SET(mcc_reg, in, instruction, instr); in 373 drivers/net/ethernet/mellanox/mlx5/core/fw.c MLX5_SET(mcc_reg, in, component_index, component_index); in 374 drivers/net/ethernet/mellanox/mlx5/core/fw.c MLX5_SET(mcc_reg, in, update_handle, update_handle); in 375 drivers/net/ethernet/mellanox/mlx5/core/fw.c MLX5_SET(mcc_reg, in, component_size, component_size); in 377 drivers/net/ethernet/mellanox/mlx5/core/fw.c return mlx5_core_access_reg(dev, in, sizeof(in), out, in 386 drivers/net/ethernet/mellanox/mlx5/core/fw.c u32 in[MLX5_ST_SZ_DW(mcc_reg)]; in 389 drivers/net/ethernet/mellanox/mlx5/core/fw.c memset(in, 0, sizeof(in)); in 391 drivers/net/ethernet/mellanox/mlx5/core/fw.c MLX5_SET(mcc_reg, in, update_handle, *update_handle); in 393 drivers/net/ethernet/mellanox/mlx5/core/fw.c err = mlx5_core_access_reg(dev, in, sizeof(in), out, in 415 drivers/net/ethernet/mellanox/mlx5/core/fw.c u32 *in; in 417 drivers/net/ethernet/mellanox/mlx5/core/fw.c in = kzalloc(in_size, GFP_KERNEL); in 418 drivers/net/ethernet/mellanox/mlx5/core/fw.c if (!in) in 421 drivers/net/ethernet/mellanox/mlx5/core/fw.c MLX5_SET(mcda_reg, in, update_handle, update_handle); in 422 drivers/net/ethernet/mellanox/mlx5/core/fw.c MLX5_SET(mcda_reg, in, offset, offset); in 423 drivers/net/ethernet/mellanox/mlx5/core/fw.c MLX5_SET(mcda_reg, in, size, size); in 428 drivers/net/ethernet/mellanox/mlx5/core/fw.c memcpy(MLX5_ADDR_OF(mcda_reg, in, data) + j, &data_element, 4); in 431 drivers/net/ethernet/mellanox/mlx5/core/fw.c err = mlx5_core_access_reg(dev, in, in_size, out, in 433 drivers/net/ethernet/mellanox/mlx5/core/fw.c kfree(in); in 442 drivers/net/ethernet/mellanox/mlx5/core/fw.c u32 in[MLX5_ST_SZ_DW(mcqi_reg)] = {}; in 446 drivers/net/ethernet/mellanox/mlx5/core/fw.c MLX5_SET(mcqi_reg, in, component_index, component_index); in 447 drivers/net/ethernet/mellanox/mlx5/core/fw.c MLX5_SET(mcqi_reg, in, read_pending_component, read_pending); in 448 drivers/net/ethernet/mellanox/mlx5/core/fw.c MLX5_SET(mcqi_reg, in, info_type, info_type); in 449 drivers/net/ethernet/mellanox/mlx5/core/fw.c MLX5_SET(mcqi_reg, in, data_size, data_size); in 451 drivers/net/ethernet/mellanox/mlx5/core/fw.c err = mlx5_core_access_reg(dev, in, sizeof(in), out, in 657 drivers/net/ethernet/mellanox/mlx5/core/fw.c u32 in[MLX5_ST_SZ_DW(mcqs_reg)] = {}; in 662 drivers/net/ethernet/mellanox/mlx5/core/fw.c MLX5_SET(mcqs_reg, in, component_index, component_index); in 664 drivers/net/ethernet/mellanox/mlx5/core/fw.c err = mlx5_core_access_reg(dev, in, sizeof(in), out, in 222 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c u32 *in = NULL; in 229 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c in = kvzalloc(inlen, GFP_KERNEL); in 230 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c if (!in) in 233 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c qpc = MLX5_ADDR_OF(create_qp_in, in, qpc); in 243 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c ret = mlx5_core_create_qp(mdev, qp, in, inlen); in 250 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c kvfree(in); in 261 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c u32 in[MLX5_ST_SZ_DW(create_tis_in)] = {}; in 264 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c tisc = MLX5_ADDR_OF(create_tis_in, in, ctx); in 268 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c return mlx5e_create_tis(mdev, in, tisn); in 50 drivers/net/ethernet/mellanox/mlx5/core/lag.c u32 in[MLX5_ST_SZ_DW(create_lag_in)] = {0}; in 52 drivers/net/ethernet/mellanox/mlx5/core/lag.c void *lag_ctx = MLX5_ADDR_OF(create_lag_in, in, ctx); in 54 drivers/net/ethernet/mellanox/mlx5/core/lag.c MLX5_SET(create_lag_in, in, opcode, MLX5_CMD_OP_CREATE_LAG); in 59 drivers/net/ethernet/mellanox/mlx5/core/lag.c return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 65 drivers/net/ethernet/mellanox/mlx5/core/lag.c u32 in[MLX5_ST_SZ_DW(modify_lag_in)] = {0}; in 67 drivers/net/ethernet/mellanox/mlx5/core/lag.c void *lag_ctx = MLX5_ADDR_OF(modify_lag_in, in, ctx); in 69 drivers/net/ethernet/mellanox/mlx5/core/lag.c MLX5_SET(modify_lag_in, in, opcode, MLX5_CMD_OP_MODIFY_LAG); in 70 drivers/net/ethernet/mellanox/mlx5/core/lag.c MLX5_SET(modify_lag_in, in, field_select, 0x1); in 75 drivers/net/ethernet/mellanox/mlx5/core/lag.c return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 80 drivers/net/ethernet/mellanox/mlx5/core/lag.c u32 in[MLX5_ST_SZ_DW(destroy_lag_in)] = {0}; in 83 drivers/net/ethernet/mellanox/mlx5/core/lag.c MLX5_SET(destroy_lag_in, in, opcode, MLX5_CMD_OP_DESTROY_LAG); in 85 drivers/net/ethernet/mellanox/mlx5/core/lag.c return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 90 drivers/net/ethernet/mellanox/mlx5/core/lag.c u32 in[MLX5_ST_SZ_DW(create_vport_lag_in)] = {0}; in 93 drivers/net/ethernet/mellanox/mlx5/core/lag.c MLX5_SET(create_vport_lag_in, in, opcode, MLX5_CMD_OP_CREATE_VPORT_LAG); in 95 drivers/net/ethernet/mellanox/mlx5/core/lag.c return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 101 drivers/net/ethernet/mellanox/mlx5/core/lag.c u32 in[MLX5_ST_SZ_DW(destroy_vport_lag_in)] = {0}; in 104 drivers/net/ethernet/mellanox/mlx5/core/lag.c MLX5_SET(destroy_vport_lag_in, in, opcode, MLX5_CMD_OP_DESTROY_VPORT_LAG); in 106 drivers/net/ethernet/mellanox/mlx5/core/lag.c return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 113 drivers/net/ethernet/mellanox/mlx5/core/lag.c u32 in[MLX5_ST_SZ_DW(query_cong_statistics_in)] = { }; in 115 drivers/net/ethernet/mellanox/mlx5/core/lag.c MLX5_SET(query_cong_statistics_in, in, opcode, in 117 drivers/net/ethernet/mellanox/mlx5/core/lag.c MLX5_SET(query_cong_statistics_in, in, clear, reset); in 118 drivers/net/ethernet/mellanox/mlx5/core/lag.c return mlx5_cmd_exec(dev, in, sizeof(in), out, out_size); in 108 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c u32 in[MLX5_ST_SZ_DW(mtpps_reg)] = {0}; in 122 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c MLX5_SET(mtpps_reg, in, pin, i); in 123 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c MLX5_SET64(mtpps_reg, in, time_stamp, tstart); in 124 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c MLX5_SET(mtpps_reg, in, field_select, MLX5_MTPPS_FS_TIME_STAMP); in 125 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c mlx5_set_mtpps(mdev, in, sizeof(in)); in 229 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c u32 in[MLX5_ST_SZ_DW(mtpps_reg)] = {0}; in 269 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c MLX5_SET(mtpps_reg, in, pin, pin); in 270 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c MLX5_SET(mtpps_reg, in, pin_mode, pin_mode); in 271 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c MLX5_SET(mtpps_reg, in, pattern, pattern); in 272 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c MLX5_SET(mtpps_reg, in, enable, on); in 273 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c MLX5_SET(mtpps_reg, in, field_select, field_select); in 275 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c err = mlx5_set_mtpps(mdev, in, sizeof(in)); in 291 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c u32 in[MLX5_ST_SZ_DW(mtpps_reg)] = {0}; in 348 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c MLX5_SET(mtpps_reg, in, pin, pin); in 349 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c MLX5_SET(mtpps_reg, in, pin_mode, pin_mode); in 350 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c MLX5_SET(mtpps_reg, in, pattern, pattern); in 351 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c MLX5_SET(mtpps_reg, in, enable, on); in 352 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c MLX5_SET64(mtpps_reg, in, time_stamp, time_stamp); in 353 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c MLX5_SET(mtpps_reg, in, field_select, field_select); in 355 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c err = mlx5_set_mtpps(mdev, in, sizeof(in)); in 11 drivers/net/ethernet/mellanox/mlx5/core/lib/crypto.c u32 in[MLX5_ST_SZ_DW(create_encryption_key_in)] = {}; in 19 drivers/net/ethernet/mellanox/mlx5/core/lib/crypto.c obj = MLX5_ADDR_OF(create_encryption_key_in, in, encryption_key_object); in 46 drivers/net/ethernet/mellanox/mlx5/core/lib/crypto.c MLX5_SET(general_obj_in_cmd_hdr, in, opcode, in 48 drivers/net/ethernet/mellanox/mlx5/core/lib/crypto.c MLX5_SET(general_obj_in_cmd_hdr, in, obj_type, in 52 drivers/net/ethernet/mellanox/mlx5/core/lib/crypto.c err = mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in 57 drivers/net/ethernet/mellanox/mlx5/core/lib/crypto.c memzero_explicit(in, sizeof(in)); in 64 drivers/net/ethernet/mellanox/mlx5/core/lib/crypto.c u32 in[MLX5_ST_SZ_DW(general_obj_in_cmd_hdr)] = {}; in 67 drivers/net/ethernet/mellanox/mlx5/core/lib/crypto.c MLX5_SET(general_obj_in_cmd_hdr, in, opcode, in 69 drivers/net/ethernet/mellanox/mlx5/core/lib/crypto.c MLX5_SET(general_obj_in_cmd_hdr, in, obj_type, in 71 drivers/net/ethernet/mellanox/mlx5/core/lib/crypto.c MLX5_SET(general_obj_in_cmd_hdr, in, obj_id, key_id); in 73 drivers/net/ethernet/mellanox/mlx5/core/lib/crypto.c mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in 97 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c u32 in[MLX5_ST_SZ_DW(create_sw_icm_in)] = {}; in 114 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c MLX5_SET(general_obj_in_cmd_hdr, in, opcode, in 116 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c MLX5_SET(general_obj_in_cmd_hdr, in, obj_type, MLX5_OBJ_TYPE_SW_ICM); in 117 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c MLX5_SET(general_obj_in_cmd_hdr, in, uid, uid); in 154 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c sw_icm = MLX5_ADDR_OF(create_sw_icm_in, in, sw_icm); in 160 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c ret = mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 182 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c u32 in[MLX5_ST_SZ_DW(general_obj_in_cmd_hdr)] = {}; in 205 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c MLX5_SET(general_obj_in_cmd_hdr, in, opcode, in 207 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c MLX5_SET(general_obj_in_cmd_hdr, in, obj_type, MLX5_OBJ_TYPE_SW_ICM); in 208 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c MLX5_SET(general_obj_in_cmd_hdr, in, obj_id, obj_id); in 209 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c MLX5_SET(general_obj_in_cmd_hdr, in, uid, uid); in 211 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c err = mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 22 drivers/net/ethernet/mellanox/mlx5/core/lib/geneve.c u32 in[MLX5_ST_SZ_DW(create_geneve_tlv_option_in)] = {}; in 33 drivers/net/ethernet/mellanox/mlx5/core/lib/geneve.c hdr = MLX5_ADDR_OF(create_geneve_tlv_option_in, in, hdr); in 34 drivers/net/ethernet/mellanox/mlx5/core/lib/geneve.c opt = MLX5_ADDR_OF(create_geneve_tlv_option_in, in, geneve_tlv_opt); in 43 drivers/net/ethernet/mellanox/mlx5/core/lib/geneve.c err = mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in 54 drivers/net/ethernet/mellanox/mlx5/core/lib/geneve.c u32 in[MLX5_ST_SZ_DW(general_obj_in_cmd_hdr)] = {}; in 56 drivers/net/ethernet/mellanox/mlx5/core/lib/geneve.c MLX5_SET(general_obj_in_cmd_hdr, in, opcode, MLX5_CMD_OP_DESTROY_GENERAL_OBJECT); in 57 drivers/net/ethernet/mellanox/mlx5/core/lib/geneve.c MLX5_SET(general_obj_in_cmd_hdr, in, obj_type, MLX5_OBJ_TYPE_GENEVE_TLV_OPT); in 58 drivers/net/ethernet/mellanox/mlx5/core/lib/geneve.c MLX5_SET(general_obj_in_cmd_hdr, in, obj_id, obj_id); in 60 drivers/net/ethernet/mellanox/mlx5/core/lib/geneve.c mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in 127 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c u32 in[MLX5_ST_SZ_DW(set_roce_address_in)] = {0}; in 129 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c void *in_addr = MLX5_ADDR_OF(set_roce_address_in, in, roce_address); in 152 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c MLX5_SET(set_roce_address_in, in, vhca_port_num, port_num); in 154 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c MLX5_SET(set_roce_address_in, in, roce_address_index, index); in 155 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c MLX5_SET(set_roce_address_in, in, opcode, MLX5_CMD_OP_SET_ROCE_ADDRESS); in 156 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 43 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c u32 in[MLX5_ST_SZ_DW(set_l2_table_entry_in)] = {0}; in 47 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c MLX5_SET(set_l2_table_entry_in, in, opcode, MLX5_CMD_OP_SET_L2_TABLE_ENTRY); in 48 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c MLX5_SET(set_l2_table_entry_in, in, table_index, index); in 50 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c in_mac_addr = MLX5_ADDR_OF(set_l2_table_entry_in, in, mac_address); in 53 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 58 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c u32 in[MLX5_ST_SZ_DW(delete_l2_table_entry_in)] = {0}; in 61 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c MLX5_SET(delete_l2_table_entry_in, in, opcode, MLX5_CMD_OP_DELETE_L2_TABLE_ENTRY); in 62 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c MLX5_SET(delete_l2_table_entry_in, in, table_index, index); in 63 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 46 drivers/net/ethernet/mellanox/mlx5/core/lib/port_tun.c u32 in[MLX5_ST_SZ_DW(pcmr_reg)] = {0}; in 49 drivers/net/ethernet/mellanox/mlx5/core/lib/port_tun.c err = mlx5_query_ports_check(mdev, in, sizeof(in)); in 52 drivers/net/ethernet/mellanox/mlx5/core/lib/port_tun.c MLX5_SET(pcmr_reg, in, local_port, 1); in 53 drivers/net/ethernet/mellanox/mlx5/core/lib/port_tun.c MLX5_SET(pcmr_reg, in, entropy_force, force); in 54 drivers/net/ethernet/mellanox/mlx5/core/lib/port_tun.c MLX5_SET(pcmr_reg, in, entropy_calc, enable); in 55 drivers/net/ethernet/mellanox/mlx5/core/lib/port_tun.c return mlx5_set_ports_check(mdev, in, sizeof(in)); in 61 drivers/net/ethernet/mellanox/mlx5/core/lib/port_tun.c u32 in[MLX5_ST_SZ_DW(pcmr_reg)] = {0}; in 64 drivers/net/ethernet/mellanox/mlx5/core/lib/port_tun.c err = mlx5_query_ports_check(mdev, in, sizeof(in)); in 67 drivers/net/ethernet/mellanox/mlx5/core/lib/port_tun.c MLX5_SET(pcmr_reg, in, local_port, 1); in 68 drivers/net/ethernet/mellanox/mlx5/core/lib/port_tun.c MLX5_SET(pcmr_reg, in, entropy_force, force); in 69 drivers/net/ethernet/mellanox/mlx5/core/lib/port_tun.c MLX5_SET(pcmr_reg, in, entropy_gre_calc, enable); in 70 drivers/net/ethernet/mellanox/mlx5/core/lib/port_tun.c return mlx5_set_ports_check(mdev, in, sizeof(in)); in 63 drivers/net/ethernet/mellanox/mlx5/core/lib/vxlan.c u32 in[MLX5_ST_SZ_DW(add_vxlan_udp_dport_in)] = {0}; in 66 drivers/net/ethernet/mellanox/mlx5/core/lib/vxlan.c MLX5_SET(add_vxlan_udp_dport_in, in, opcode, in 68 drivers/net/ethernet/mellanox/mlx5/core/lib/vxlan.c MLX5_SET(add_vxlan_udp_dport_in, in, vxlan_udp_port, port); in 69 drivers/net/ethernet/mellanox/mlx5/core/lib/vxlan.c return mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in 74 drivers/net/ethernet/mellanox/mlx5/core/lib/vxlan.c u32 in[MLX5_ST_SZ_DW(delete_vxlan_udp_dport_in)] = {0}; in 77 drivers/net/ethernet/mellanox/mlx5/core/lib/vxlan.c MLX5_SET(delete_vxlan_udp_dport_in, in, opcode, in 79 drivers/net/ethernet/mellanox/mlx5/core/lib/vxlan.c MLX5_SET(delete_vxlan_udp_dport_in, in, vxlan_udp_port, port); in 80 drivers/net/ethernet/mellanox/mlx5/core/lib/vxlan.c return mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in 208 drivers/net/ethernet/mellanox/mlx5/core/main.c u8 in[MLX5_ST_SZ_BYTES(set_driver_version_in)] = {0}; in 216 drivers/net/ethernet/mellanox/mlx5/core/main.c string = MLX5_ADDR_OF(set_driver_version_in, in, driver_version); in 233 drivers/net/ethernet/mellanox/mlx5/core/main.c MLX5_SET(set_driver_version_in, in, opcode, in 236 drivers/net/ethernet/mellanox/mlx5/core/main.c mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 355 drivers/net/ethernet/mellanox/mlx5/core/main.c u8 in[MLX5_ST_SZ_BYTES(query_hca_cap_in)]; in 361 drivers/net/ethernet/mellanox/mlx5/core/main.c memset(in, 0, sizeof(in)); in 366 drivers/net/ethernet/mellanox/mlx5/core/main.c MLX5_SET(query_hca_cap_in, in, opcode, MLX5_CMD_OP_QUERY_HCA_CAP); in 367 drivers/net/ethernet/mellanox/mlx5/core/main.c MLX5_SET(query_hca_cap_in, in, op_mod, opmod); in 368 drivers/net/ethernet/mellanox/mlx5/core/main.c err = mlx5_cmd_exec(dev, in, sizeof(in), out, out_sz); in 409 drivers/net/ethernet/mellanox/mlx5/core/main.c static int set_caps(struct mlx5_core_dev *dev, void *in, int in_sz, int opmod) in 413 drivers/net/ethernet/mellanox/mlx5/core/main.c MLX5_SET(set_hca_cap_in, in, opcode, MLX5_CMD_OP_SET_HCA_CAP); in 414 drivers/net/ethernet/mellanox/mlx5/core/main.c MLX5_SET(set_hca_cap_in, in, op_mod, opmod << 1); in 415 drivers/net/ethernet/mellanox/mlx5/core/main.c return mlx5_cmd_exec(dev, in, in_sz, out, sizeof(out)); in 645 drivers/net/ethernet/mellanox/mlx5/core/main.c u32 in[MLX5_ST_SZ_DW(enable_hca_in)] = {0}; in 647 drivers/net/ethernet/mellanox/mlx5/core/main.c MLX5_SET(enable_hca_in, in, opcode, MLX5_CMD_OP_ENABLE_HCA); in 648 drivers/net/ethernet/mellanox/mlx5/core/main.c MLX5_SET(enable_hca_in, in, function_id, func_id); in 649 drivers/net/ethernet/mellanox/mlx5/core/main.c MLX5_SET(enable_hca_in, in, embedded_cpu_function, in 651 drivers/net/ethernet/mellanox/mlx5/core/main.c return mlx5_cmd_exec(dev, &in, sizeof(in), &out, sizeof(out)); in 657 drivers/net/ethernet/mellanox/mlx5/core/main.c u32 in[MLX5_ST_SZ_DW(disable_hca_in)] = {0}; in 659 drivers/net/ethernet/mellanox/mlx5/core/main.c MLX5_SET(disable_hca_in, in, opcode, MLX5_CMD_OP_DISABLE_HCA); in 660 drivers/net/ethernet/mellanox/mlx5/core/main.c MLX5_SET(disable_hca_in, in, function_id, func_id); in 661 drivers/net/ethernet/mellanox/mlx5/core/main.c MLX5_SET(enable_hca_in, in, embedded_cpu_function, in 663 drivers/net/ethernet/mellanox/mlx5/core/main.c return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 43 drivers/net/ethernet/mellanox/mlx5/core/mcg.c u32 in[MLX5_ST_SZ_DW(attach_to_mcg_in)] = {0}; in 46 drivers/net/ethernet/mellanox/mlx5/core/mcg.c MLX5_SET(attach_to_mcg_in, in, opcode, MLX5_CMD_OP_ATTACH_TO_MCG); in 47 drivers/net/ethernet/mellanox/mlx5/core/mcg.c MLX5_SET(attach_to_mcg_in, in, qpn, qpn); in 48 drivers/net/ethernet/mellanox/mlx5/core/mcg.c gid = MLX5_ADDR_OF(attach_to_mcg_in, in, multicast_gid); in 50 drivers/net/ethernet/mellanox/mlx5/core/mcg.c return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 57 drivers/net/ethernet/mellanox/mlx5/core/mcg.c u32 in[MLX5_ST_SZ_DW(detach_from_mcg_in)] = {0}; in 60 drivers/net/ethernet/mellanox/mlx5/core/mcg.c MLX5_SET(detach_from_mcg_in, in, opcode, MLX5_CMD_OP_DETACH_FROM_MCG); in 61 drivers/net/ethernet/mellanox/mlx5/core/mcg.c MLX5_SET(detach_from_mcg_in, in, qpn, qpn); in 62 drivers/net/ethernet/mellanox/mlx5/core/mcg.c gid = MLX5_ADDR_OF(detach_from_mcg_in, in, multicast_gid); in 64 drivers/net/ethernet/mellanox/mlx5/core/mcg.c return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 51 drivers/net/ethernet/mellanox/mlx5/core/mr.c struct mlx5_async_ctx *async_ctx, u32 *in, in 66 drivers/net/ethernet/mellanox/mlx5/core/mr.c mkc = MLX5_ADDR_OF(create_mkey_in, in, memory_key_mkey_entry); in 68 drivers/net/ethernet/mellanox/mlx5/core/mr.c MLX5_SET(create_mkey_in, in, opcode, MLX5_CMD_OP_CREATE_MKEY); in 72 drivers/net/ethernet/mellanox/mlx5/core/mr.c return mlx5_cmd_exec_cb(async_ctx, in, inlen, out, outlen, in 75 drivers/net/ethernet/mellanox/mlx5/core/mr.c err = mlx5_cmd_exec(dev, in, inlen, lout, sizeof(lout)); in 102 drivers/net/ethernet/mellanox/mlx5/core/mr.c u32 *in, int inlen) in 104 drivers/net/ethernet/mellanox/mlx5/core/mr.c return mlx5_core_create_mkey_cb(dev, mkey, NULL, in, inlen, in 113 drivers/net/ethernet/mellanox/mlx5/core/mr.c u32 in[MLX5_ST_SZ_DW(destroy_mkey_in)] = {0}; in 121 drivers/net/ethernet/mellanox/mlx5/core/mr.c MLX5_SET(destroy_mkey_in, in, opcode, MLX5_CMD_OP_DESTROY_MKEY); in 122 drivers/net/ethernet/mellanox/mlx5/core/mr.c MLX5_SET(destroy_mkey_in, in, mkey_index, mlx5_mkey_to_idx(mkey->key)); in 123 drivers/net/ethernet/mellanox/mlx5/core/mr.c return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 130 drivers/net/ethernet/mellanox/mlx5/core/mr.c u32 in[MLX5_ST_SZ_DW(query_mkey_in)] = {0}; in 133 drivers/net/ethernet/mellanox/mlx5/core/mr.c MLX5_SET(query_mkey_in, in, opcode, MLX5_CMD_OP_QUERY_MKEY); in 134 drivers/net/ethernet/mellanox/mlx5/core/mr.c MLX5_SET(query_mkey_in, in, mkey_index, mlx5_mkey_to_idx(mkey->key)); in 135 drivers/net/ethernet/mellanox/mlx5/core/mr.c return mlx5_cmd_exec(dev, in, sizeof(in), out, outlen); in 153 drivers/net/ethernet/mellanox/mlx5/core/mr.c u32 in[MLX5_ST_SZ_DW(create_psv_in)] = {0}; in 159 drivers/net/ethernet/mellanox/mlx5/core/mr.c MLX5_SET(create_psv_in, in, opcode, MLX5_CMD_OP_CREATE_PSV); in 160 drivers/net/ethernet/mellanox/mlx5/core/mr.c MLX5_SET(create_psv_in, in, pd, pdn); in 161 drivers/net/ethernet/mellanox/mlx5/core/mr.c MLX5_SET(create_psv_in, in, num_psv, npsvs); in 163 drivers/net/ethernet/mellanox/mlx5/core/mr.c err = mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 177 drivers/net/ethernet/mellanox/mlx5/core/mr.c u32 in[MLX5_ST_SZ_DW(destroy_psv_in)] = {0}; in 179 drivers/net/ethernet/mellanox/mlx5/core/mr.c MLX5_SET(destroy_psv_in, in, opcode, MLX5_CMD_OP_DESTROY_PSV); in 180 drivers/net/ethernet/mellanox/mlx5/core/mr.c MLX5_SET(destroy_psv_in, in, psvn, psv_num); in 181 drivers/net/ethernet/mellanox/mlx5/core/mr.c return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 140 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c u32 in[MLX5_ST_SZ_DW(query_pages_in)] = {0}; in 143 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c MLX5_SET(query_pages_in, in, opcode, MLX5_CMD_OP_QUERY_PAGES); in 144 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c MLX5_SET(query_pages_in, in, op_mod, boot ? in 147 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c MLX5_SET(query_pages_in, in, embedded_cpu_function, mlx5_core_is_ecpf(dev)); in 149 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c err = mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 261 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c u32 in[MLX5_ST_SZ_DW(manage_pages_in)] = {0}; in 264 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c MLX5_SET(manage_pages_in, in, opcode, MLX5_CMD_OP_MANAGE_PAGES); in 265 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c MLX5_SET(manage_pages_in, in, op_mod, MLX5_PAGES_CANT_GIVE); in 266 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c MLX5_SET(manage_pages_in, in, function_id, func_id); in 267 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c MLX5_SET(manage_pages_in, in, embedded_cpu_function, ec_function); in 269 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c err = mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 282 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c u32 *in; in 286 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c in = kvzalloc(inlen, GFP_KERNEL); in 287 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c if (!in) { in 304 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c MLX5_ARRAY_SET64(manage_pages_in, in, pas, i, addr); in 307 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c MLX5_SET(manage_pages_in, in, opcode, MLX5_CMD_OP_MANAGE_PAGES); in 308 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c MLX5_SET(manage_pages_in, in, op_mod, MLX5_PAGES_GIVE); in 309 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c MLX5_SET(manage_pages_in, in, function_id, func_id); in 310 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c MLX5_SET(manage_pages_in, in, input_num_entries, npages); in 311 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c MLX5_SET(manage_pages_in, in, embedded_cpu_function, ec_function); in 313 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c err = mlx5_cmd_exec(dev, in, inlen, out, sizeof(out)); in 329 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c kvfree(in); in 334 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c free_4k(dev, MLX5_GET64(manage_pages_in, in, pas[i])); in 336 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c kvfree(in); in 343 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c u32 *in, int in_size, u32 *out, int out_size) in 352 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c return mlx5_cmd_exec(dev, in, in_size, out, out_size); in 355 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c npages = MLX5_GET(manage_pages_in, in, input_num_entries); in 356 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c func_id = MLX5_GET(manage_pages_in, in, function_id); in 377 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c u32 in[MLX5_ST_SZ_DW(manage_pages_in)] = {0}; in 391 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c MLX5_SET(manage_pages_in, in, opcode, MLX5_CMD_OP_MANAGE_PAGES); in 392 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c MLX5_SET(manage_pages_in, in, op_mod, MLX5_PAGES_TAKE); in 393 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c MLX5_SET(manage_pages_in, in, function_id, func_id); in 394 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c MLX5_SET(manage_pages_in, in, input_num_entries, npages); in 395 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c MLX5_SET(manage_pages_in, in, embedded_cpu_function, ec_function); in 398 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c err = reclaim_pages_cmd(dev, in, sizeof(in), out, outlen); in 42 drivers/net/ethernet/mellanox/mlx5/core/pd.c u32 in[MLX5_ST_SZ_DW(alloc_pd_in)] = {0}; in 45 drivers/net/ethernet/mellanox/mlx5/core/pd.c MLX5_SET(alloc_pd_in, in, opcode, MLX5_CMD_OP_ALLOC_PD); in 46 drivers/net/ethernet/mellanox/mlx5/core/pd.c err = mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 56 drivers/net/ethernet/mellanox/mlx5/core/pd.c u32 in[MLX5_ST_SZ_DW(dealloc_pd_in)] = {0}; in 58 drivers/net/ethernet/mellanox/mlx5/core/pd.c MLX5_SET(dealloc_pd_in, in, opcode, MLX5_CMD_OP_DEALLOC_PD); in 59 drivers/net/ethernet/mellanox/mlx5/core/pd.c MLX5_SET(dealloc_pd_in, in, pd, pdn); in 60 drivers/net/ethernet/mellanox/mlx5/core/pd.c return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 44 drivers/net/ethernet/mellanox/mlx5/core/port.c u32 *in = NULL; in 47 drivers/net/ethernet/mellanox/mlx5/core/port.c in = kvzalloc(inlen, GFP_KERNEL); in 49 drivers/net/ethernet/mellanox/mlx5/core/port.c if (!in || !out) in 52 drivers/net/ethernet/mellanox/mlx5/core/port.c data = MLX5_ADDR_OF(access_register_in, in, register_data); in 55 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(access_register_in, in, opcode, MLX5_CMD_OP_ACCESS_REG); in 56 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(access_register_in, in, op_mod, !write); in 57 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(access_register_in, in, argument, arg); in 58 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(access_register_in, in, register_id, reg_id); in 60 drivers/net/ethernet/mellanox/mlx5/core/port.c err = mlx5_cmd_exec(dev, in, inlen, out, outlen); in 69 drivers/net/ethernet/mellanox/mlx5/core/port.c kvfree(in); in 77 drivers/net/ethernet/mellanox/mlx5/core/port.c u32 in[MLX5_ST_SZ_DW(pcam_reg)] = {0}; in 80 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(pcam_reg, in, feature_group, feature_group); in 81 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(pcam_reg, in, access_reg_group, access_reg_group); in 83 drivers/net/ethernet/mellanox/mlx5/core/port.c return mlx5_core_access_reg(dev, in, sz, pcam, sz, MLX5_REG_PCAM, 0, 0); in 89 drivers/net/ethernet/mellanox/mlx5/core/port.c u32 in[MLX5_ST_SZ_DW(mcam_reg)] = {0}; in 92 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(mcam_reg, in, feature_group, feature_group); in 93 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(mcam_reg, in, access_reg_group, access_reg_group); in 95 drivers/net/ethernet/mellanox/mlx5/core/port.c return mlx5_core_access_reg(dev, in, sz, mcam, sz, MLX5_REG_MCAM, 0, 0); in 101 drivers/net/ethernet/mellanox/mlx5/core/port.c u32 in[MLX5_ST_SZ_DW(qcam_reg)] = {}; in 104 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(qcam_reg, in, feature_group, feature_group); in 105 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(qcam_reg, in, access_reg_group, access_reg_group); in 107 drivers/net/ethernet/mellanox/mlx5/core/port.c return mlx5_core_access_reg(mdev, in, sz, qcam, sz, MLX5_REG_QCAM, 0, 0); in 122 drivers/net/ethernet/mellanox/mlx5/core/port.c struct mlx5_reg_pcap in; in 125 drivers/net/ethernet/mellanox/mlx5/core/port.c memset(&in, 0, sizeof(in)); in 126 drivers/net/ethernet/mellanox/mlx5/core/port.c in.caps_127_96 = cpu_to_be32(caps); in 127 drivers/net/ethernet/mellanox/mlx5/core/port.c in.port_num = port_num; in 129 drivers/net/ethernet/mellanox/mlx5/core/port.c return mlx5_core_access_reg(dev, &in, sizeof(in), &out, in 137 drivers/net/ethernet/mellanox/mlx5/core/port.c u32 in[MLX5_ST_SZ_DW(ptys_reg)] = {0}; in 139 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(ptys_reg, in, local_port, local_port); in 140 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(ptys_reg, in, proto_mask, proto_mask); in 141 drivers/net/ethernet/mellanox/mlx5/core/port.c return mlx5_core_access_reg(dev, in, sizeof(in), ptys, in 148 drivers/net/ethernet/mellanox/mlx5/core/port.c u32 in[MLX5_ST_SZ_DW(mlcr_reg)] = {0}; in 151 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(mlcr_reg, in, local_port, 1); in 152 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(mlcr_reg, in, beacon_duration, beacon_duration); in 153 drivers/net/ethernet/mellanox/mlx5/core/port.c return mlx5_core_access_reg(dev, in, sizeof(in), out, in 205 drivers/net/ethernet/mellanox/mlx5/core/port.c u32 in[MLX5_ST_SZ_DW(paos_reg)] = {0}; in 208 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(paos_reg, in, local_port, 1); in 209 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(paos_reg, in, admin_status, status); in 210 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(paos_reg, in, ase, 1); in 211 drivers/net/ethernet/mellanox/mlx5/core/port.c return mlx5_core_access_reg(dev, in, sizeof(in), out, in 219 drivers/net/ethernet/mellanox/mlx5/core/port.c u32 in[MLX5_ST_SZ_DW(paos_reg)] = {0}; in 223 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(paos_reg, in, local_port, 1); in 224 drivers/net/ethernet/mellanox/mlx5/core/port.c err = mlx5_core_access_reg(dev, in, sizeof(in), out, in 236 drivers/net/ethernet/mellanox/mlx5/core/port.c u32 in[MLX5_ST_SZ_DW(pmtu_reg)] = {0}; in 239 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(pmtu_reg, in, local_port, port); in 240 drivers/net/ethernet/mellanox/mlx5/core/port.c mlx5_core_access_reg(dev, in, sizeof(in), out, in 253 drivers/net/ethernet/mellanox/mlx5/core/port.c u32 in[MLX5_ST_SZ_DW(pmtu_reg)] = {0}; in 256 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(pmtu_reg, in, admin_mtu, mtu); in 257 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(pmtu_reg, in, local_port, port); in 258 drivers/net/ethernet/mellanox/mlx5/core/port.c return mlx5_core_access_reg(dev, in, sizeof(in), out, in 279 drivers/net/ethernet/mellanox/mlx5/core/port.c u32 in[MLX5_ST_SZ_DW(pmlp_reg)] = {0}; in 284 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(pmlp_reg, in, local_port, 1); in 285 drivers/net/ethernet/mellanox/mlx5/core/port.c err = mlx5_core_access_reg(dev, in, sizeof(in), out, sizeof(out), in 324 drivers/net/ethernet/mellanox/mlx5/core/port.c u32 in[MLX5_ST_SZ_DW(mcia_reg)]; in 332 drivers/net/ethernet/mellanox/mlx5/core/port.c memset(in, 0, sizeof(in)); in 349 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(mcia_reg, in, l, 0); in 350 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(mcia_reg, in, module, module_num); in 351 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(mcia_reg, in, i2c_device_address, i2c_addr); in 352 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(mcia_reg, in, page_number, page_num); in 353 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(mcia_reg, in, device_address, offset); in 354 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(mcia_reg, in, size, size); in 356 drivers/net/ethernet/mellanox/mlx5/core/port.c err = mlx5_core_access_reg(dev, in, sizeof(in), out, in 377 drivers/net/ethernet/mellanox/mlx5/core/port.c u32 in[MLX5_ST_SZ_DW(pvlc_reg)] = {0}; in 379 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(pvlc_reg, in, local_port, local_port); in 380 drivers/net/ethernet/mellanox/mlx5/core/port.c return mlx5_core_access_reg(dev, in, sizeof(in), pvlc, in 403 drivers/net/ethernet/mellanox/mlx5/core/port.c u32 *in; in 406 drivers/net/ethernet/mellanox/mlx5/core/port.c in = kvzalloc(sz, GFP_KERNEL); in 407 drivers/net/ethernet/mellanox/mlx5/core/port.c if (!in) { in 412 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(ppcnt_reg, in, local_port, port_num); in 414 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(ppcnt_reg, in, grp, MLX5_INFINIBAND_PORT_COUNTERS_GROUP); in 415 drivers/net/ethernet/mellanox/mlx5/core/port.c err = mlx5_core_access_reg(dev, in, sz, out, in 418 drivers/net/ethernet/mellanox/mlx5/core/port.c kvfree(in); in 426 drivers/net/ethernet/mellanox/mlx5/core/port.c u32 in[MLX5_ST_SZ_DW(pfcc_reg)] = {0}; in 428 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(pfcc_reg, in, local_port, 1); in 430 drivers/net/ethernet/mellanox/mlx5/core/port.c return mlx5_core_access_reg(dev, in, sizeof(in), out, in 436 drivers/net/ethernet/mellanox/mlx5/core/port.c u32 in[MLX5_ST_SZ_DW(pfcc_reg)] = {0}; in 439 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(pfcc_reg, in, local_port, 1); in 440 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(pfcc_reg, in, pptx, tx_pause); in 441 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(pfcc_reg, in, pprx, rx_pause); in 443 drivers/net/ethernet/mellanox/mlx5/core/port.c return mlx5_core_access_reg(dev, in, sizeof(in), out, in 472 drivers/net/ethernet/mellanox/mlx5/core/port.c u32 in[MLX5_ST_SZ_DW(pfcc_reg)] = {0}; in 475 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(pfcc_reg, in, local_port, 1); in 476 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(pfcc_reg, in, pptx_mask_n, 1); in 477 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(pfcc_reg, in, pprx_mask_n, 1); in 478 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(pfcc_reg, in, ppan_mask_n, 1); in 479 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(pfcc_reg, in, critical_stall_mask, 1); in 480 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(pfcc_reg, in, minor_stall_mask, 1); in 481 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(pfcc_reg, in, device_stall_critical_watermark, in 483 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(pfcc_reg, in, device_stall_minor_watermark, stall_minor_watermark); in 485 drivers/net/ethernet/mellanox/mlx5/core/port.c return mlx5_core_access_reg(dev, in, sizeof(in), out, in 513 drivers/net/ethernet/mellanox/mlx5/core/port.c u32 in[MLX5_ST_SZ_DW(pfcc_reg)] = {0}; in 516 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(pfcc_reg, in, local_port, 1); in 517 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(pfcc_reg, in, pfctx, pfc_en_tx); in 518 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(pfcc_reg, in, pfcrx, pfc_en_rx); in 519 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET_TO_ONES(pfcc_reg, in, prio_mask_tx); in 520 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET_TO_ONES(pfcc_reg, in, prio_mask_rx); in 522 drivers/net/ethernet/mellanox/mlx5/core/port.c return mlx5_core_access_reg(dev, in, sizeof(in), out, in 555 drivers/net/ethernet/mellanox/mlx5/core/port.c u32 in[MLX5_ST_SZ_DW(dcbx_param)] = {0}; in 557 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(dcbx_param, in, port_number, 1); in 559 drivers/net/ethernet/mellanox/mlx5/core/port.c return mlx5_core_access_reg(mdev, in, sizeof(in), out, in 560 drivers/net/ethernet/mellanox/mlx5/core/port.c sizeof(in), MLX5_REG_DCBX_PARAM, 0, 0); in 563 drivers/net/ethernet/mellanox/mlx5/core/port.c int mlx5_set_port_dcbx_param(struct mlx5_core_dev *mdev, u32 *in) in 567 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(dcbx_param, in, port_number, 1); in 569 drivers/net/ethernet/mellanox/mlx5/core/port.c return mlx5_core_access_reg(mdev, in, sizeof(out), out, in 575 drivers/net/ethernet/mellanox/mlx5/core/port.c u32 in[MLX5_ST_SZ_DW(qtct_reg)] = {0}; in 584 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(qtct_reg, in, prio, i); in 585 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(qtct_reg, in, tclass, prio_tc[i]); in 587 drivers/net/ethernet/mellanox/mlx5/core/port.c err = mlx5_core_access_reg(mdev, in, sizeof(in), out, in 600 drivers/net/ethernet/mellanox/mlx5/core/port.c u32 in[MLX5_ST_SZ_DW(qtct_reg)]; in 604 drivers/net/ethernet/mellanox/mlx5/core/port.c memset(in, 0, sizeof(in)); in 607 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(qtct_reg, in, port_number, 1); in 608 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(qtct_reg, in, prio, prio); in 610 drivers/net/ethernet/mellanox/mlx5/core/port.c err = mlx5_core_access_reg(mdev, in, sizeof(in), out, in 619 drivers/net/ethernet/mellanox/mlx5/core/port.c static int mlx5_set_port_qetcr_reg(struct mlx5_core_dev *mdev, u32 *in, in 627 drivers/net/ethernet/mellanox/mlx5/core/port.c return mlx5_core_access_reg(mdev, in, inlen, out, sizeof(out), in 634 drivers/net/ethernet/mellanox/mlx5/core/port.c u32 in[MLX5_ST_SZ_DW(qetc_reg)]; in 639 drivers/net/ethernet/mellanox/mlx5/core/port.c memset(in, 0, sizeof(in)); in 640 drivers/net/ethernet/mellanox/mlx5/core/port.c return mlx5_core_access_reg(mdev, in, sizeof(in), out, outlen, in 646 drivers/net/ethernet/mellanox/mlx5/core/port.c u32 in[MLX5_ST_SZ_DW(qetc_reg)] = {0}; in 650 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(qetc_reg, in, tc_configuration[i].g, 1); in 651 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(qetc_reg, in, tc_configuration[i].group, tc_group[i]); in 654 drivers/net/ethernet/mellanox/mlx5/core/port.c return mlx5_set_port_qetcr_reg(mdev, in, sizeof(in)); in 681 drivers/net/ethernet/mellanox/mlx5/core/port.c u32 in[MLX5_ST_SZ_DW(qetc_reg)] = {0}; in 685 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(qetc_reg, in, tc_configuration[i].b, 1); in 686 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(qetc_reg, in, tc_configuration[i].bw_allocation, tc_bw[i]); in 689 drivers/net/ethernet/mellanox/mlx5/core/port.c return mlx5_set_port_qetcr_reg(mdev, in, sizeof(in)); in 718 drivers/net/ethernet/mellanox/mlx5/core/port.c u32 in[MLX5_ST_SZ_DW(qetc_reg)] = {0}; in 722 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(qetc_reg, in, port_number, 1); in 725 drivers/net/ethernet/mellanox/mlx5/core/port.c ets_tcn_conf = MLX5_ADDR_OF(qetc_reg, in, tc_configuration[i]); in 734 drivers/net/ethernet/mellanox/mlx5/core/port.c return mlx5_set_port_qetcr_reg(mdev, in, sizeof(in)); in 766 drivers/net/ethernet/mellanox/mlx5/core/port.c u32 in[MLX5_ST_SZ_DW(set_wol_rol_in)] = {0}; in 769 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(set_wol_rol_in, in, opcode, MLX5_CMD_OP_SET_WOL_ROL); in 770 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(set_wol_rol_in, in, wol_mode_valid, 1); in 771 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(set_wol_rol_in, in, wol_mode, wol_mode); in 772 drivers/net/ethernet/mellanox/mlx5/core/port.c return mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in 778 drivers/net/ethernet/mellanox/mlx5/core/port.c u32 in[MLX5_ST_SZ_DW(query_wol_rol_in)] = {0}; in 782 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(query_wol_rol_in, in, opcode, MLX5_CMD_OP_QUERY_WOL_ROL); in 783 drivers/net/ethernet/mellanox/mlx5/core/port.c err = mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in 793 drivers/net/ethernet/mellanox/mlx5/core/port.c u32 in[MLX5_ST_SZ_DW(pcmr_reg)] = {0}; in 795 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(pcmr_reg, in, local_port, 1); in 796 drivers/net/ethernet/mellanox/mlx5/core/port.c return mlx5_core_access_reg(mdev, in, sizeof(in), out, in 800 drivers/net/ethernet/mellanox/mlx5/core/port.c int mlx5_set_ports_check(struct mlx5_core_dev *mdev, u32 *in, int inlen) in 804 drivers/net/ethernet/mellanox/mlx5/core/port.c return mlx5_core_access_reg(mdev, in, inlen, out, in 810 drivers/net/ethernet/mellanox/mlx5/core/port.c u32 in[MLX5_ST_SZ_DW(pcmr_reg)] = {0}; in 813 drivers/net/ethernet/mellanox/mlx5/core/port.c err = mlx5_query_ports_check(mdev, in, sizeof(in)); in 816 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(pcmr_reg, in, local_port, 1); in 817 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(pcmr_reg, in, fcs_chk, enable); in 818 drivers/net/ethernet/mellanox/mlx5/core/port.c return mlx5_set_ports_check(mdev, in, sizeof(in)); in 841 drivers/net/ethernet/mellanox/mlx5/core/port.c u32 in[MLX5_ST_SZ_DW(mtpps_reg)] = {0}; in 843 drivers/net/ethernet/mellanox/mlx5/core/port.c return mlx5_core_access_reg(mdev, in, sizeof(in), mtpps, in 858 drivers/net/ethernet/mellanox/mlx5/core/port.c u32 in[MLX5_ST_SZ_DW(mtppse_reg)] = {0}; in 861 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(mtppse_reg, in, pin, pin); in 863 drivers/net/ethernet/mellanox/mlx5/core/port.c err = mlx5_core_access_reg(mdev, in, sizeof(in), out, in 868 drivers/net/ethernet/mellanox/mlx5/core/port.c *arm = MLX5_GET(mtppse_reg, in, event_arm); in 869 drivers/net/ethernet/mellanox/mlx5/core/port.c *mode = MLX5_GET(mtppse_reg, in, event_generation_mode); in 877 drivers/net/ethernet/mellanox/mlx5/core/port.c u32 in[MLX5_ST_SZ_DW(mtppse_reg)] = {0}; in 879 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(mtppse_reg, in, pin, pin); in 880 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(mtppse_reg, in, event_arm, arm); in 881 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(mtppse_reg, in, event_generation_mode, mode); in 883 drivers/net/ethernet/mellanox/mlx5/core/port.c return mlx5_core_access_reg(mdev, in, sizeof(in), out, in 890 drivers/net/ethernet/mellanox/mlx5/core/port.c u32 in[MLX5_ST_SZ_DW(qpts_reg)] = {}; in 893 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(qpts_reg, in, local_port, 1); in 894 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(qpts_reg, in, trust_state, trust_state); in 896 drivers/net/ethernet/mellanox/mlx5/core/port.c err = mlx5_core_access_reg(mdev, in, sizeof(in), out, in 904 drivers/net/ethernet/mellanox/mlx5/core/port.c u32 in[MLX5_ST_SZ_DW(qpts_reg)] = {}; in 907 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(qpts_reg, in, local_port, 1); in 909 drivers/net/ethernet/mellanox/mlx5/core/port.c err = mlx5_core_access_reg(mdev, in, sizeof(in), out, in 922 drivers/net/ethernet/mellanox/mlx5/core/port.c void *in; in 925 drivers/net/ethernet/mellanox/mlx5/core/port.c in = kzalloc(sz, GFP_KERNEL); in 927 drivers/net/ethernet/mellanox/mlx5/core/port.c if (!in || !out) { in 932 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(qpdpm_reg, in, local_port, 1); in 933 drivers/net/ethernet/mellanox/mlx5/core/port.c err = mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_QPDPM, 0, 0); in 937 drivers/net/ethernet/mellanox/mlx5/core/port.c memcpy(in, out, sz); in 938 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(qpdpm_reg, in, local_port, 1); in 941 drivers/net/ethernet/mellanox/mlx5/core/port.c qpdpm_dscp = MLX5_ADDR_OF(qpdpm_reg, in, dscp[dscp]); in 944 drivers/net/ethernet/mellanox/mlx5/core/port.c err = mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_QPDPM, 0, 1); in 947 drivers/net/ethernet/mellanox/mlx5/core/port.c kfree(in); in 959 drivers/net/ethernet/mellanox/mlx5/core/port.c void *in; in 963 drivers/net/ethernet/mellanox/mlx5/core/port.c in = kzalloc(sz, GFP_KERNEL); in 965 drivers/net/ethernet/mellanox/mlx5/core/port.c if (!in || !out) { in 970 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(qpdpm_reg, in, local_port, 1); in 971 drivers/net/ethernet/mellanox/mlx5/core/port.c err = mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_QPDPM, 0, 0); in 981 drivers/net/ethernet/mellanox/mlx5/core/port.c kfree(in); in 237 drivers/net/ethernet/mellanox/mlx5/core/qp.c u32 in[MLX5_ST_SZ_DW(destroy_dct_in)] = {0}; in 256 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(destroy_dct_in, in, opcode, MLX5_CMD_OP_DESTROY_DCT); in 257 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(destroy_dct_in, in, dctn, qp->qpn); in 258 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(destroy_dct_in, in, uid, qp->uid); in 259 drivers/net/ethernet/mellanox/mlx5/core/qp.c err = mlx5_cmd_exec(dev, (void *)&in, sizeof(in), in 266 drivers/net/ethernet/mellanox/mlx5/core/qp.c u32 *in, int inlen, in 273 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(create_dct_in, in, opcode, MLX5_CMD_OP_CREATE_DCT); in 275 drivers/net/ethernet/mellanox/mlx5/core/qp.c err = mlx5_cmd_exec(dev, in, inlen, out, outlen); in 282 drivers/net/ethernet/mellanox/mlx5/core/qp.c qp->uid = MLX5_GET(create_dct_in, in, uid); in 296 drivers/net/ethernet/mellanox/mlx5/core/qp.c u32 *in, int inlen) in 303 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(create_qp_in, in, opcode, MLX5_CMD_OP_CREATE_QP); in 305 drivers/net/ethernet/mellanox/mlx5/core/qp.c err = mlx5_cmd_exec(dev, in, inlen, out, sizeof(out)); in 309 drivers/net/ethernet/mellanox/mlx5/core/qp.c qp->uid = MLX5_GET(create_qp_in, in, uid); in 341 drivers/net/ethernet/mellanox/mlx5/core/qp.c u32 in[MLX5_ST_SZ_DW(drain_dct_in)] = {0}; in 344 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(drain_dct_in, in, opcode, MLX5_CMD_OP_DRAIN_DCT); in 345 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(drain_dct_in, in, dctn, qp->qpn); in 346 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(drain_dct_in, in, uid, qp->uid); in 347 drivers/net/ethernet/mellanox/mlx5/core/qp.c return mlx5_cmd_exec(dev, (void *)&in, sizeof(in), in 362 drivers/net/ethernet/mellanox/mlx5/core/qp.c u32 in[MLX5_ST_SZ_DW(destroy_qp_in)] = {0}; in 369 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(destroy_qp_in, in, opcode, MLX5_CMD_OP_DESTROY_QP); in 370 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(destroy_qp_in, in, qpn, qp->qpn); in 371 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(destroy_qp_in, in, uid, qp->uid); in 372 drivers/net/ethernet/mellanox/mlx5/core/qp.c err = mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 385 drivers/net/ethernet/mellanox/mlx5/core/qp.c u32 in[MLX5_ST_SZ_DW(set_delay_drop_params_in)] = {0}; in 387 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(set_delay_drop_params_in, in, opcode, in 389 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(set_delay_drop_params_in, in, delay_drop_timeout, in 391 drivers/net/ethernet/mellanox/mlx5/core/qp.c return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 396 drivers/net/ethernet/mellanox/mlx5/core/qp.c u32 *in; in 406 drivers/net/ethernet/mellanox/mlx5/core/qp.c mbox->in = kzalloc(mbox->inlen, GFP_KERNEL); in 408 drivers/net/ethernet/mellanox/mlx5/core/qp.c if (!mbox->in || !mbox->out) { in 409 drivers/net/ethernet/mellanox/mlx5/core/qp.c kfree(mbox->in); in 419 drivers/net/ethernet/mellanox/mlx5/core/qp.c kfree(mbox->in); in 428 drivers/net/ethernet/mellanox/mlx5/core/qp.c mbox->in = NULL; in 433 drivers/net/ethernet/mellanox/mlx5/core/qp.c #define MOD_QP_IN_SET(typ, in, _opcode, _qpn, _uid) \ in 435 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(typ##_in, in, opcode, _opcode); \ in 436 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(typ##_in, in, qpn, _qpn); \ in 437 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(typ##_in, in, uid, _uid); \ in 440 drivers/net/ethernet/mellanox/mlx5/core/qp.c #define MOD_QP_IN_SET_QPC(typ, in, _opcode, _qpn, _opt_p, _qpc, _uid) \ in 442 drivers/net/ethernet/mellanox/mlx5/core/qp.c MOD_QP_IN_SET(typ, in, _opcode, _qpn, _uid); \ in 443 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(typ##_in, in, opt_param_mask, _opt_p); \ in 444 drivers/net/ethernet/mellanox/mlx5/core/qp.c memcpy(MLX5_ADDR_OF(typ##_in, in, qpc), _qpc, \ in 453 drivers/net/ethernet/mellanox/mlx5/core/qp.c MOD_QP_IN_SET(qp_2rst, mbox->in, opcode, qpn, uid); in 458 drivers/net/ethernet/mellanox/mlx5/core/qp.c MOD_QP_IN_SET(qp_2err, mbox->in, opcode, qpn, uid); in 465 drivers/net/ethernet/mellanox/mlx5/core/qp.c MOD_QP_IN_SET_QPC(rst2init_qp, mbox->in, opcode, qpn, in 471 drivers/net/ethernet/mellanox/mlx5/core/qp.c MOD_QP_IN_SET_QPC(init2rtr_qp, mbox->in, opcode, qpn, in 477 drivers/net/ethernet/mellanox/mlx5/core/qp.c MOD_QP_IN_SET_QPC(rtr2rts_qp, mbox->in, opcode, qpn, in 483 drivers/net/ethernet/mellanox/mlx5/core/qp.c MOD_QP_IN_SET_QPC(rts2rts_qp, mbox->in, opcode, qpn, in 489 drivers/net/ethernet/mellanox/mlx5/core/qp.c MOD_QP_IN_SET_QPC(sqerr2rts_qp, mbox->in, opcode, qpn, in 495 drivers/net/ethernet/mellanox/mlx5/core/qp.c MOD_QP_IN_SET_QPC(init2init_qp, mbox->in, opcode, qpn, in 518 drivers/net/ethernet/mellanox/mlx5/core/qp.c err = mlx5_cmd_exec(dev, mbox.in, mbox.inlen, mbox.out, mbox.outlen); in 548 drivers/net/ethernet/mellanox/mlx5/core/qp.c u32 in[MLX5_ST_SZ_DW(query_qp_in)] = {0}; in 550 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(query_qp_in, in, opcode, MLX5_CMD_OP_QUERY_QP); in 551 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(query_qp_in, in, qpn, qp->qpn); in 552 drivers/net/ethernet/mellanox/mlx5/core/qp.c return mlx5_cmd_exec(dev, in, sizeof(in), out, outlen); in 559 drivers/net/ethernet/mellanox/mlx5/core/qp.c u32 in[MLX5_ST_SZ_DW(query_dct_in)] = {0}; in 562 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(query_dct_in, in, opcode, MLX5_CMD_OP_QUERY_DCT); in 563 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(query_dct_in, in, dctn, qp->qpn); in 565 drivers/net/ethernet/mellanox/mlx5/core/qp.c return mlx5_cmd_exec(dev, (void *)&in, sizeof(in), in 573 drivers/net/ethernet/mellanox/mlx5/core/qp.c u32 in[MLX5_ST_SZ_DW(alloc_xrcd_in)] = {0}; in 576 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(alloc_xrcd_in, in, opcode, MLX5_CMD_OP_ALLOC_XRCD); in 577 drivers/net/ethernet/mellanox/mlx5/core/qp.c err = mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 587 drivers/net/ethernet/mellanox/mlx5/core/qp.c u32 in[MLX5_ST_SZ_DW(dealloc_xrcd_in)] = {0}; in 589 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(dealloc_xrcd_in, in, opcode, MLX5_CMD_OP_DEALLOC_XRCD); in 590 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(dealloc_xrcd_in, in, xrcd, xrcdn); in 591 drivers/net/ethernet/mellanox/mlx5/core/qp.c return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 597 drivers/net/ethernet/mellanox/mlx5/core/qp.c u32 in[MLX5_ST_SZ_DW(destroy_rq_in)] = {}; in 600 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(destroy_rq_in, in, opcode, MLX5_CMD_OP_DESTROY_RQ); in 601 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(destroy_rq_in, in, rqn, rqn); in 602 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(destroy_rq_in, in, uid, uid); in 603 drivers/net/ethernet/mellanox/mlx5/core/qp.c mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 606 drivers/net/ethernet/mellanox/mlx5/core/qp.c int mlx5_core_create_rq_tracked(struct mlx5_core_dev *dev, u32 *in, int inlen, in 612 drivers/net/ethernet/mellanox/mlx5/core/qp.c err = mlx5_core_create_rq(dev, in, inlen, &rqn); in 616 drivers/net/ethernet/mellanox/mlx5/core/qp.c rq->uid = MLX5_GET(create_rq_in, in, uid); in 641 drivers/net/ethernet/mellanox/mlx5/core/qp.c u32 in[MLX5_ST_SZ_DW(destroy_sq_in)] = {}; in 644 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(destroy_sq_in, in, opcode, MLX5_CMD_OP_DESTROY_SQ); in 645 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(destroy_sq_in, in, sqn, sqn); in 646 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(destroy_sq_in, in, uid, uid); in 647 drivers/net/ethernet/mellanox/mlx5/core/qp.c mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 650 drivers/net/ethernet/mellanox/mlx5/core/qp.c int mlx5_core_create_sq_tracked(struct mlx5_core_dev *dev, u32 *in, int inlen, in 656 drivers/net/ethernet/mellanox/mlx5/core/qp.c err = mlx5_core_create_sq(dev, in, inlen, &sqn); in 660 drivers/net/ethernet/mellanox/mlx5/core/qp.c sq->uid = MLX5_GET(create_sq_in, in, uid); in 685 drivers/net/ethernet/mellanox/mlx5/core/qp.c u32 in[MLX5_ST_SZ_DW(alloc_q_counter_in)] = {0}; in 689 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(alloc_q_counter_in, in, opcode, MLX5_CMD_OP_ALLOC_Q_COUNTER); in 690 drivers/net/ethernet/mellanox/mlx5/core/qp.c err = mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 700 drivers/net/ethernet/mellanox/mlx5/core/qp.c u32 in[MLX5_ST_SZ_DW(dealloc_q_counter_in)] = {0}; in 703 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(dealloc_q_counter_in, in, opcode, in 705 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(dealloc_q_counter_in, in, counter_set_id, counter_id); in 706 drivers/net/ethernet/mellanox/mlx5/core/qp.c return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 713 drivers/net/ethernet/mellanox/mlx5/core/qp.c u32 in[MLX5_ST_SZ_DW(query_q_counter_in)] = {0}; in 715 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(query_q_counter_in, in, opcode, MLX5_CMD_OP_QUERY_Q_COUNTER); in 716 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(query_q_counter_in, in, clear, reset); in 717 drivers/net/ethernet/mellanox/mlx5/core/qp.c MLX5_SET(query_q_counter_in, in, counter_set_id, counter_id); in 718 drivers/net/ethernet/mellanox/mlx5/core/qp.c return mlx5_cmd_exec(dev, in, sizeof(in), out, out_size); in 43 drivers/net/ethernet/mellanox/mlx5/core/rl.c u32 in[MLX5_ST_SZ_DW(create_scheduling_element_in)] = {0}; in 48 drivers/net/ethernet/mellanox/mlx5/core/rl.c schedc = MLX5_ADDR_OF(create_scheduling_element_in, in, in 50 drivers/net/ethernet/mellanox/mlx5/core/rl.c MLX5_SET(create_scheduling_element_in, in, opcode, in 52 drivers/net/ethernet/mellanox/mlx5/core/rl.c MLX5_SET(create_scheduling_element_in, in, scheduling_hierarchy, in 56 drivers/net/ethernet/mellanox/mlx5/core/rl.c err = mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 69 drivers/net/ethernet/mellanox/mlx5/core/rl.c u32 in[MLX5_ST_SZ_DW(modify_scheduling_element_in)] = {0}; in 73 drivers/net/ethernet/mellanox/mlx5/core/rl.c schedc = MLX5_ADDR_OF(modify_scheduling_element_in, in, in 75 drivers/net/ethernet/mellanox/mlx5/core/rl.c MLX5_SET(modify_scheduling_element_in, in, opcode, in 77 drivers/net/ethernet/mellanox/mlx5/core/rl.c MLX5_SET(modify_scheduling_element_in, in, scheduling_element_id, in 79 drivers/net/ethernet/mellanox/mlx5/core/rl.c MLX5_SET(modify_scheduling_element_in, in, modify_bitmask, in 81 drivers/net/ethernet/mellanox/mlx5/core/rl.c MLX5_SET(modify_scheduling_element_in, in, scheduling_hierarchy, in 85 drivers/net/ethernet/mellanox/mlx5/core/rl.c return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 91 drivers/net/ethernet/mellanox/mlx5/core/rl.c u32 in[MLX5_ST_SZ_DW(destroy_scheduling_element_in)] = {0}; in 94 drivers/net/ethernet/mellanox/mlx5/core/rl.c MLX5_SET(destroy_scheduling_element_in, in, opcode, in 96 drivers/net/ethernet/mellanox/mlx5/core/rl.c MLX5_SET(destroy_scheduling_element_in, in, scheduling_element_id, in 98 drivers/net/ethernet/mellanox/mlx5/core/rl.c MLX5_SET(destroy_scheduling_element_in, in, scheduling_hierarchy, in 101 drivers/net/ethernet/mellanox/mlx5/core/rl.c return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 132 drivers/net/ethernet/mellanox/mlx5/core/rl.c u32 in[MLX5_ST_SZ_DW(set_pp_rate_limit_in)] = {0}; in 135 drivers/net/ethernet/mellanox/mlx5/core/rl.c MLX5_SET(set_pp_rate_limit_in, in, opcode, in 137 drivers/net/ethernet/mellanox/mlx5/core/rl.c MLX5_SET(set_pp_rate_limit_in, in, rate_limit_index, index); in 138 drivers/net/ethernet/mellanox/mlx5/core/rl.c MLX5_SET(set_pp_rate_limit_in, in, rate_limit, rl->rate); in 139 drivers/net/ethernet/mellanox/mlx5/core/rl.c MLX5_SET(set_pp_rate_limit_in, in, burst_upper_bound, rl->max_burst_sz); in 140 drivers/net/ethernet/mellanox/mlx5/core/rl.c MLX5_SET(set_pp_rate_limit_in, in, typical_packet_size, rl->typical_pkt_sz); in 141 drivers/net/ethernet/mellanox/mlx5/core/rl.c return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 42 drivers/net/ethernet/mellanox/mlx5/core/sriov.c struct mlx5_hca_vport_context *in; in 49 drivers/net/ethernet/mellanox/mlx5/core/sriov.c in = kzalloc(sizeof(*in), GFP_KERNEL); in 50 drivers/net/ethernet/mellanox/mlx5/core/sriov.c if (!in) in 53 drivers/net/ethernet/mellanox/mlx5/core/sriov.c in->node_guid = sriov->vfs_ctx[vf].node_guid; in 54 drivers/net/ethernet/mellanox/mlx5/core/sriov.c in->port_guid = sriov->vfs_ctx[vf].port_guid; in 55 drivers/net/ethernet/mellanox/mlx5/core/sriov.c in->policy = sriov->vfs_ctx[vf].policy; in 56 drivers/net/ethernet/mellanox/mlx5/core/sriov.c in->field_select = in 57 drivers/net/ethernet/mellanox/mlx5/core/sriov.c !!(in->port_guid) * MLX5_HCA_VPORT_SEL_PORT_GUID | in 58 drivers/net/ethernet/mellanox/mlx5/core/sriov.c !!(in->node_guid) * MLX5_HCA_VPORT_SEL_NODE_GUID | in 59 drivers/net/ethernet/mellanox/mlx5/core/sriov.c !!(in->policy) * MLX5_HCA_VPORT_SEL_STATE_POLICY; in 61 drivers/net/ethernet/mellanox/mlx5/core/sriov.c err = mlx5_core_modify_hca_vport_context(dev, 1, 1, vf + 1, in); in 65 drivers/net/ethernet/mellanox/mlx5/core/sriov.c kfree(in); in 13 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c u32 in[MLX5_ST_SZ_DW(query_esw_vport_context_in)] = {}; in 16 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c MLX5_SET(query_esw_vport_context_in, in, opcode, in 18 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c MLX5_SET(query_esw_vport_context_in, in, other_vport, other_vport); in 19 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c MLX5_SET(query_esw_vport_context_in, in, vport_number, vport_number); in 21 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c err = mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in 37 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c u32 in[MLX5_ST_SZ_DW(query_hca_cap_in)] = {}; in 47 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c MLX5_SET(query_hca_cap_in, in, opcode, MLX5_CMD_OP_QUERY_HCA_CAP); in 48 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c MLX5_SET(query_hca_cap_in, in, other_function, other_vport); in 49 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c MLX5_SET(query_hca_cap_in, in, function_id, vport_number); in 50 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c MLX5_SET(query_hca_cap_in, in, op_mod, in 54 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c err = mlx5_cmd_exec(mdev, in, sizeof(in), out, out_size); in 135 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c u32 in[MLX5_ST_SZ_DW(query_flow_table_in)] = {}; in 138 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c MLX5_SET(query_flow_table_in, in, opcode, in 141 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c MLX5_SET(query_flow_table_in, in, table_type, type); in 142 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c MLX5_SET(query_flow_table_in, in, table_id, table_id); in 144 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c err = mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 162 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c u32 in[MLX5_ST_SZ_DW(sync_steering_in)] = {}; in 164 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c MLX5_SET(sync_steering_in, in, opcode, MLX5_CMD_OP_SYNC_STEERING); in 166 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c return mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in 180 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c u32 *in; in 186 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c in = kvzalloc(inlen, GFP_KERNEL); in 187 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c if (!in) in 190 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c MLX5_SET(set_fte_in, in, opcode, MLX5_CMD_OP_SET_FLOW_TABLE_ENTRY); in 191 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c MLX5_SET(set_fte_in, in, table_type, table_type); in 192 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c MLX5_SET(set_fte_in, in, table_id, table_id); in 194 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c in_flow_context = MLX5_ADDR_OF(set_fte_in, in, flow_context); in 207 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c err = mlx5_cmd_exec(mdev, in, inlen, out, sizeof(out)); in 208 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c kvfree(in); in 218 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c u32 in[MLX5_ST_SZ_DW(delete_fte_in)] = {}; in 220 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c MLX5_SET(delete_fte_in, in, opcode, MLX5_CMD_OP_DELETE_FLOW_TABLE_ENTRY); in 221 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c MLX5_SET(delete_fte_in, in, table_type, table_type); in 222 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c MLX5_SET(delete_fte_in, in, table_id, table_id); in 224 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c return mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in 236 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c u32 *in; in 241 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c in = kvzalloc(inlen, GFP_KERNEL); in 242 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c if (!in) in 245 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c MLX5_SET(alloc_modify_header_context_in, in, opcode, in 247 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c MLX5_SET(alloc_modify_header_context_in, in, table_type, table_type); in 248 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c MLX5_SET(alloc_modify_header_context_in, in, num_of_actions, num_of_actions); in 249 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c p_actions = MLX5_ADDR_OF(alloc_modify_header_context_in, in, actions); in 252 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c err = mlx5_cmd_exec(mdev, in, inlen, out, sizeof(out)); in 259 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c kvfree(in); in 267 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c u32 in[MLX5_ST_SZ_DW(dealloc_modify_header_context_in)] = {}; in 269 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c MLX5_SET(dealloc_modify_header_context_in, in, opcode, in 271 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c MLX5_SET(dealloc_modify_header_context_in, in, modify_header_id, in 274 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c return mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in 284 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c u32 *in; in 287 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c in = kzalloc(inlen, GFP_KERNEL); in 288 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c if (!in) in 291 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c MLX5_SET(create_flow_group_in, in, opcode, MLX5_CMD_OP_CREATE_FLOW_GROUP); in 292 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c MLX5_SET(create_flow_group_in, in, table_type, table_type); in 293 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c MLX5_SET(create_flow_group_in, in, table_id, table_id); in 295 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c err = mlx5_cmd_exec(mdev, in, inlen, out, sizeof(out)); in 302 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c kfree(in); in 311 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c u32 in[MLX5_ST_SZ_DW(destroy_flow_group_in)] = {}; in 314 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c MLX5_SET(create_flow_group_in, in, opcode, MLX5_CMD_OP_DESTROY_FLOW_GROUP); in 315 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c MLX5_SET(destroy_flow_group_in, in, table_type, table_type); in 316 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c MLX5_SET(destroy_flow_group_in, in, table_id, table_id); in 317 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c MLX5_SET(destroy_flow_group_in, in, group_id, group_id); in 319 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c return mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in 333 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c u32 in[MLX5_ST_SZ_DW(create_flow_table_in)] = {}; in 337 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c MLX5_SET(create_flow_table_in, in, opcode, MLX5_CMD_OP_CREATE_FLOW_TABLE); in 338 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c MLX5_SET(create_flow_table_in, in, table_type, table_type); in 340 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c ft_mdev = MLX5_ADDR_OF(create_flow_table_in, in, flow_table_context); in 363 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c err = mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in 382 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c u32 in[MLX5_ST_SZ_DW(destroy_flow_table_in)] = {}; in 384 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c MLX5_SET(destroy_flow_table_in, in, opcode, in 386 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c MLX5_SET(destroy_flow_table_in, in, table_type, table_type); in 387 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c MLX5_SET(destroy_flow_table_in, in, table_id, table_id); in 389 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c return mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in 402 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c void *in; in 409 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c in = kvzalloc(inlen, GFP_KERNEL); in 410 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c if (!in) in 413 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c MLX5_SET(alloc_packet_reformat_context_in, in, opcode, in 416 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c prctx = MLX5_ADDR_OF(alloc_packet_reformat_context_in, in, packet_reformat_context); in 423 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c err = mlx5_cmd_exec(mdev, in, inlen, out, sizeof(out)); in 428 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c kvfree(in); in 437 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c u32 in[MLX5_ST_SZ_DW(dealloc_packet_reformat_context_in)] = {}; in 439 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c MLX5_SET(dealloc_packet_reformat_context_in, in, opcode, in 441 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c MLX5_SET(dealloc_packet_reformat_context_in, in, packet_reformat_id, in 444 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in 451 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c u32 in[MLX5_ST_SZ_DW(query_roce_address_in)] = {}; in 454 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c MLX5_SET(query_roce_address_in, in, opcode, in 457 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c MLX5_SET(query_roce_address_in, in, roce_address_index, index); in 458 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c MLX5_SET(query_roce_address_in, in, vhca_port_num, vhca_port_num); in 460 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c err = mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in 75 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_icm_pool.c u32 in[MLX5_ST_SZ_DW(create_mkey_in)] = {}; in 78 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_icm_pool.c mkc = MLX5_ADDR_OF(create_mkey_in, in, memory_key_mkey_entry); in 94 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_icm_pool.c return mlx5_core_create_mkey(mdev, mkey, in, inlen); in 116 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c void *in; in 155 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c in = kvzalloc(inlen, GFP_KERNEL); in 156 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c if (!in) { in 161 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c qpc = MLX5_ADDR_OF(create_qp_in, in, qpc); in 181 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c in, pas)); in 183 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c err = mlx5_core_create_qp(mdev, &dr_qp->mqp, in, inlen); in 184 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c kfree(in); in 578 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c u32 in[MLX5_ST_SZ_DW(rst2init_qp_in)] = {}; in 581 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c qpc = MLX5_ADDR_OF(rst2init_qp_in, in, qpc); in 596 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c u32 in[MLX5_ST_SZ_DW(rtr2rts_qp_in)] = {}; in 599 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c qpc = MLX5_ADDR_OF(rtr2rts_qp_in, in, qpc); in 601 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c MLX5_SET(rtr2rts_qp_in, in, qpn, dr_qp->mqp.qpn); in 615 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c u32 in[MLX5_ST_SZ_DW(init2rtr_qp_in)] = {}; in 618 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c qpc = MLX5_ADDR_OF(init2rtr_qp_in, in, qpc); in 620 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c MLX5_SET(init2rtr_qp_in, in, qpn, dr_qp->mqp.qpn); in 709 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c void *cqc, *in; in 736 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c in = kvzalloc(inlen, GFP_KERNEL); in 737 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c if (!in) in 743 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c kvfree(in); in 747 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c cqc = MLX5_ADDR_OF(create_cq_in, in, cq_context); in 755 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c pas = (__be64 *)MLX5_ADDR_OF(create_cq_in, in, pas); in 761 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c err = mlx5_core_create_cq(mdev, &cq->mcq, in, inlen, out, sizeof(out)); in 762 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c kvfree(in); in 800 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c u32 in[MLX5_ST_SZ_DW(create_mkey_in)] = {}; in 803 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c mkc = MLX5_ADDR_OF(create_mkey_in, in, memory_key_mkey_entry); in 815 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c return mlx5_core_create_mkey(mdev, mkey, in, sizeof(in)); in 134 drivers/net/ethernet/mellanox/mlx5/core/steering/fs_dr.c u32 *in, in 138 drivers/net/ethernet/mellanox/mlx5/core/steering/fs_dr.c u16 priority = MLX5_GET(create_flow_group_in, in, in 141 drivers/net/ethernet/mellanox/mlx5/core/steering/fs_dr.c in, in 146 drivers/net/ethernet/mellanox/mlx5/core/steering/fs_dr.c return mlx5_fs_cmd_get_fw_cmds()->create_flow_group(ns, ft, in, in 150 drivers/net/ethernet/mellanox/mlx5/core/steering/fs_dr.c in, match_criteria); in 39 drivers/net/ethernet/mellanox/mlx5/core/transobj.c u32 in[MLX5_ST_SZ_DW(alloc_transport_domain_in)] = {0}; in 43 drivers/net/ethernet/mellanox/mlx5/core/transobj.c MLX5_SET(alloc_transport_domain_in, in, opcode, in 46 drivers/net/ethernet/mellanox/mlx5/core/transobj.c err = mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 57 drivers/net/ethernet/mellanox/mlx5/core/transobj.c u32 in[MLX5_ST_SZ_DW(dealloc_transport_domain_in)] = {0}; in 60 drivers/net/ethernet/mellanox/mlx5/core/transobj.c MLX5_SET(dealloc_transport_domain_in, in, opcode, in 62 drivers/net/ethernet/mellanox/mlx5/core/transobj.c MLX5_SET(dealloc_transport_domain_in, in, transport_domain, tdn); in 63 drivers/net/ethernet/mellanox/mlx5/core/transobj.c mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 67 drivers/net/ethernet/mellanox/mlx5/core/transobj.c int mlx5_core_create_rq(struct mlx5_core_dev *dev, u32 *in, int inlen, u32 *rqn) in 72 drivers/net/ethernet/mellanox/mlx5/core/transobj.c MLX5_SET(create_rq_in, in, opcode, MLX5_CMD_OP_CREATE_RQ); in 73 drivers/net/ethernet/mellanox/mlx5/core/transobj.c err = mlx5_cmd_exec(dev, in, inlen, out, sizeof(out)); in 81 drivers/net/ethernet/mellanox/mlx5/core/transobj.c int mlx5_core_modify_rq(struct mlx5_core_dev *dev, u32 rqn, u32 *in, int inlen) in 85 drivers/net/ethernet/mellanox/mlx5/core/transobj.c MLX5_SET(modify_rq_in, in, rqn, rqn); in 86 drivers/net/ethernet/mellanox/mlx5/core/transobj.c MLX5_SET(modify_rq_in, in, opcode, MLX5_CMD_OP_MODIFY_RQ); in 89 drivers/net/ethernet/mellanox/mlx5/core/transobj.c return mlx5_cmd_exec(dev, in, inlen, out, sizeof(out)); in 95 drivers/net/ethernet/mellanox/mlx5/core/transobj.c u32 in[MLX5_ST_SZ_DW(destroy_rq_in)] = {0}; in 98 drivers/net/ethernet/mellanox/mlx5/core/transobj.c MLX5_SET(destroy_rq_in, in, opcode, MLX5_CMD_OP_DESTROY_RQ); in 99 drivers/net/ethernet/mellanox/mlx5/core/transobj.c MLX5_SET(destroy_rq_in, in, rqn, rqn); in 100 drivers/net/ethernet/mellanox/mlx5/core/transobj.c mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 106 drivers/net/ethernet/mellanox/mlx5/core/transobj.c u32 in[MLX5_ST_SZ_DW(query_rq_in)] = {0}; in 109 drivers/net/ethernet/mellanox/mlx5/core/transobj.c MLX5_SET(query_rq_in, in, opcode, MLX5_CMD_OP_QUERY_RQ); in 110 drivers/net/ethernet/mellanox/mlx5/core/transobj.c MLX5_SET(query_rq_in, in, rqn, rqn); in 112 drivers/net/ethernet/mellanox/mlx5/core/transobj.c return mlx5_cmd_exec(dev, in, sizeof(in), out, outlen); in 116 drivers/net/ethernet/mellanox/mlx5/core/transobj.c int mlx5_core_create_sq(struct mlx5_core_dev *dev, u32 *in, int inlen, u32 *sqn) in 121 drivers/net/ethernet/mellanox/mlx5/core/transobj.c MLX5_SET(create_sq_in, in, opcode, MLX5_CMD_OP_CREATE_SQ); in 122 drivers/net/ethernet/mellanox/mlx5/core/transobj.c err = mlx5_cmd_exec(dev, in, inlen, out, sizeof(out)); in 129 drivers/net/ethernet/mellanox/mlx5/core/transobj.c int mlx5_core_modify_sq(struct mlx5_core_dev *dev, u32 sqn, u32 *in, int inlen) in 133 drivers/net/ethernet/mellanox/mlx5/core/transobj.c MLX5_SET(modify_sq_in, in, sqn, sqn); in 134 drivers/net/ethernet/mellanox/mlx5/core/transobj.c MLX5_SET(modify_sq_in, in, opcode, MLX5_CMD_OP_MODIFY_SQ); in 135 drivers/net/ethernet/mellanox/mlx5/core/transobj.c return mlx5_cmd_exec(dev, in, inlen, out, sizeof(out)); in 141 drivers/net/ethernet/mellanox/mlx5/core/transobj.c u32 in[MLX5_ST_SZ_DW(destroy_sq_in)] = {0}; in 144 drivers/net/ethernet/mellanox/mlx5/core/transobj.c MLX5_SET(destroy_sq_in, in, opcode, MLX5_CMD_OP_DESTROY_SQ); in 145 drivers/net/ethernet/mellanox/mlx5/core/transobj.c MLX5_SET(destroy_sq_in, in, sqn, sqn); in 146 drivers/net/ethernet/mellanox/mlx5/core/transobj.c mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 151 drivers/net/ethernet/mellanox/mlx5/core/transobj.c u32 in[MLX5_ST_SZ_DW(query_sq_in)] = {0}; in 154 drivers/net/ethernet/mellanox/mlx5/core/transobj.c MLX5_SET(query_sq_in, in, opcode, MLX5_CMD_OP_QUERY_SQ); in 155 drivers/net/ethernet/mellanox/mlx5/core/transobj.c MLX5_SET(query_sq_in, in, sqn, sqn); in 156 drivers/net/ethernet/mellanox/mlx5/core/transobj.c return mlx5_cmd_exec(dev, in, sizeof(in), out, outlen); in 186 drivers/net/ethernet/mellanox/mlx5/core/transobj.c u32 *in, int inlen, in 189 drivers/net/ethernet/mellanox/mlx5/core/transobj.c MLX5_SET(create_tir_in, in, opcode, MLX5_CMD_OP_CREATE_TIR); in 191 drivers/net/ethernet/mellanox/mlx5/core/transobj.c return mlx5_cmd_exec(dev, in, inlen, out, outlen); in 195 drivers/net/ethernet/mellanox/mlx5/core/transobj.c int mlx5_core_create_tir(struct mlx5_core_dev *dev, u32 *in, int inlen, in 201 drivers/net/ethernet/mellanox/mlx5/core/transobj.c err = mlx5_core_create_tir_out(dev, in, inlen, in 210 drivers/net/ethernet/mellanox/mlx5/core/transobj.c int mlx5_core_modify_tir(struct mlx5_core_dev *dev, u32 tirn, u32 *in, in 215 drivers/net/ethernet/mellanox/mlx5/core/transobj.c MLX5_SET(modify_tir_in, in, tirn, tirn); in 216 drivers/net/ethernet/mellanox/mlx5/core/transobj.c MLX5_SET(modify_tir_in, in, opcode, MLX5_CMD_OP_MODIFY_TIR); in 217 drivers/net/ethernet/mellanox/mlx5/core/transobj.c return mlx5_cmd_exec(dev, in, inlen, out, sizeof(out)); in 222 drivers/net/ethernet/mellanox/mlx5/core/transobj.c u32 in[MLX5_ST_SZ_DW(destroy_tir_in)] = {0}; in 225 drivers/net/ethernet/mellanox/mlx5/core/transobj.c MLX5_SET(destroy_tir_in, in, opcode, MLX5_CMD_OP_DESTROY_TIR); in 226 drivers/net/ethernet/mellanox/mlx5/core/transobj.c MLX5_SET(destroy_tir_in, in, tirn, tirn); in 227 drivers/net/ethernet/mellanox/mlx5/core/transobj.c mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 231 drivers/net/ethernet/mellanox/mlx5/core/transobj.c int mlx5_core_create_tis(struct mlx5_core_dev *dev, u32 *in, int inlen, in 237 drivers/net/ethernet/mellanox/mlx5/core/transobj.c MLX5_SET(create_tis_in, in, opcode, MLX5_CMD_OP_CREATE_TIS); in 238 drivers/net/ethernet/mellanox/mlx5/core/transobj.c err = mlx5_cmd_exec(dev, in, inlen, out, sizeof(out)); in 246 drivers/net/ethernet/mellanox/mlx5/core/transobj.c int mlx5_core_modify_tis(struct mlx5_core_dev *dev, u32 tisn, u32 *in, in 251 drivers/net/ethernet/mellanox/mlx5/core/transobj.c MLX5_SET(modify_tis_in, in, tisn, tisn); in 252 drivers/net/ethernet/mellanox/mlx5/core/transobj.c MLX5_SET(modify_tis_in, in, opcode, MLX5_CMD_OP_MODIFY_TIS); in 254 drivers/net/ethernet/mellanox/mlx5/core/transobj.c return mlx5_cmd_exec(dev, in, inlen, out, sizeof(out)); in 260 drivers/net/ethernet/mellanox/mlx5/core/transobj.c u32 in[MLX5_ST_SZ_DW(destroy_tis_in)] = {0}; in 263 drivers/net/ethernet/mellanox/mlx5/core/transobj.c MLX5_SET(destroy_tis_in, in, opcode, MLX5_CMD_OP_DESTROY_TIS); in 264 drivers/net/ethernet/mellanox/mlx5/core/transobj.c MLX5_SET(destroy_tis_in, in, tisn, tisn); in 265 drivers/net/ethernet/mellanox/mlx5/core/transobj.c mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 269 drivers/net/ethernet/mellanox/mlx5/core/transobj.c int mlx5_core_create_rqt(struct mlx5_core_dev *dev, u32 *in, int inlen, in 275 drivers/net/ethernet/mellanox/mlx5/core/transobj.c MLX5_SET(create_rqt_in, in, opcode, MLX5_CMD_OP_CREATE_RQT); in 276 drivers/net/ethernet/mellanox/mlx5/core/transobj.c err = mlx5_cmd_exec(dev, in, inlen, out, sizeof(out)); in 284 drivers/net/ethernet/mellanox/mlx5/core/transobj.c int mlx5_core_modify_rqt(struct mlx5_core_dev *dev, u32 rqtn, u32 *in, in 289 drivers/net/ethernet/mellanox/mlx5/core/transobj.c MLX5_SET(modify_rqt_in, in, rqtn, rqtn); in 290 drivers/net/ethernet/mellanox/mlx5/core/transobj.c MLX5_SET(modify_rqt_in, in, opcode, MLX5_CMD_OP_MODIFY_RQT); in 291 drivers/net/ethernet/mellanox/mlx5/core/transobj.c return mlx5_cmd_exec(dev, in, inlen, out, sizeof(out)); in 296 drivers/net/ethernet/mellanox/mlx5/core/transobj.c u32 in[MLX5_ST_SZ_DW(destroy_rqt_in)] = {0}; in 299 drivers/net/ethernet/mellanox/mlx5/core/transobj.c MLX5_SET(destroy_rqt_in, in, opcode, MLX5_CMD_OP_DESTROY_RQT); in 300 drivers/net/ethernet/mellanox/mlx5/core/transobj.c MLX5_SET(destroy_rqt_in, in, rqtn, rqtn); in 301 drivers/net/ethernet/mellanox/mlx5/core/transobj.c mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 308 drivers/net/ethernet/mellanox/mlx5/core/transobj.c u32 in[MLX5_ST_SZ_DW(create_rq_in)] = {0}; in 311 drivers/net/ethernet/mellanox/mlx5/core/transobj.c rqc = MLX5_ADDR_OF(create_rq_in, in, ctx); in 321 drivers/net/ethernet/mellanox/mlx5/core/transobj.c return mlx5_core_create_rq(mdev, in, MLX5_ST_SZ_BYTES(create_rq_in), rqn); in 327 drivers/net/ethernet/mellanox/mlx5/core/transobj.c u32 in[MLX5_ST_SZ_DW(create_sq_in)] = {0}; in 330 drivers/net/ethernet/mellanox/mlx5/core/transobj.c sqc = MLX5_ADDR_OF(create_sq_in, in, ctx); in 339 drivers/net/ethernet/mellanox/mlx5/core/transobj.c return mlx5_core_create_sq(mdev, in, MLX5_ST_SZ_BYTES(create_sq_in), sqn); in 386 drivers/net/ethernet/mellanox/mlx5/core/transobj.c u32 in[MLX5_ST_SZ_DW(modify_rq_in)] = {0}; in 389 drivers/net/ethernet/mellanox/mlx5/core/transobj.c rqc = MLX5_ADDR_OF(modify_rq_in, in, ctx); in 396 drivers/net/ethernet/mellanox/mlx5/core/transobj.c MLX5_SET(modify_rq_in, in, rq_state, curr_state); in 400 drivers/net/ethernet/mellanox/mlx5/core/transobj.c in, MLX5_ST_SZ_BYTES(modify_rq_in)); in 407 drivers/net/ethernet/mellanox/mlx5/core/transobj.c u32 in[MLX5_ST_SZ_DW(modify_sq_in)] = {0}; in 410 drivers/net/ethernet/mellanox/mlx5/core/transobj.c sqc = MLX5_ADDR_OF(modify_sq_in, in, ctx); in 417 drivers/net/ethernet/mellanox/mlx5/core/transobj.c MLX5_SET(modify_sq_in, in, sq_state, curr_state); in 421 drivers/net/ethernet/mellanox/mlx5/core/transobj.c in, MLX5_ST_SZ_BYTES(modify_sq_in)); in 43 drivers/net/ethernet/mellanox/mlx5/core/uar.c u32 in[MLX5_ST_SZ_DW(alloc_uar_in)] = {0}; in 46 drivers/net/ethernet/mellanox/mlx5/core/uar.c MLX5_SET(alloc_uar_in, in, opcode, MLX5_CMD_OP_ALLOC_UAR); in 47 drivers/net/ethernet/mellanox/mlx5/core/uar.c err = mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 57 drivers/net/ethernet/mellanox/mlx5/core/uar.c u32 in[MLX5_ST_SZ_DW(dealloc_uar_in)] = {0}; in 59 drivers/net/ethernet/mellanox/mlx5/core/uar.c MLX5_SET(dealloc_uar_in, in, opcode, MLX5_CMD_OP_DEALLOC_UAR); in 60 drivers/net/ethernet/mellanox/mlx5/core/uar.c MLX5_SET(dealloc_uar_in, in, uar, uarn); in 61 drivers/net/ethernet/mellanox/mlx5/core/uar.c return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in 46 drivers/net/ethernet/mellanox/mlx5/core/vport.c u32 in[MLX5_ST_SZ_DW(query_vport_state_in)] = {0}; in 48 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(query_vport_state_in, in, opcode, in 50 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(query_vport_state_in, in, op_mod, opmod); in 51 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(query_vport_state_in, in, vport_number, vport); in 53 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(query_vport_state_in, in, other_vport, 1); in 55 drivers/net/ethernet/mellanox/mlx5/core/vport.c return mlx5_cmd_exec(mdev, in, sizeof(in), out, outlen); in 70 drivers/net/ethernet/mellanox/mlx5/core/vport.c u32 in[MLX5_ST_SZ_DW(modify_vport_state_in)] = {0}; in 73 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(modify_vport_state_in, in, opcode, in 75 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(modify_vport_state_in, in, op_mod, opmod); in 76 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(modify_vport_state_in, in, vport_number, vport); in 77 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(modify_vport_state_in, in, other_vport, other_vport); in 78 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(modify_vport_state_in, in, admin_state, state); in 80 drivers/net/ethernet/mellanox/mlx5/core/vport.c return mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in 86 drivers/net/ethernet/mellanox/mlx5/core/vport.c u32 in[MLX5_ST_SZ_DW(query_nic_vport_context_in)] = {0}; in 88 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(query_nic_vport_context_in, in, opcode, in 90 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(query_nic_vport_context_in, in, vport_number, vport); in 92 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(query_nic_vport_context_in, in, other_vport, 1); in 94 drivers/net/ethernet/mellanox/mlx5/core/vport.c return mlx5_cmd_exec(mdev, in, sizeof(in), out, outlen); in 97 drivers/net/ethernet/mellanox/mlx5/core/vport.c static int mlx5_modify_nic_vport_context(struct mlx5_core_dev *mdev, void *in, in 102 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(modify_nic_vport_context_in, in, opcode, in 104 drivers/net/ethernet/mellanox/mlx5/core/vport.c return mlx5_cmd_exec(mdev, in, inlen, out, sizeof(out)); in 142 drivers/net/ethernet/mellanox/mlx5/core/vport.c u32 in[MLX5_ST_SZ_DW(modify_nic_vport_context_in)] = {0}; in 146 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(modify_nic_vport_context_in, in, in 148 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(modify_nic_vport_context_in, in, vport_number, vport); in 149 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(modify_nic_vport_context_in, in, other_vport, 1); in 152 drivers/net/ethernet/mellanox/mlx5/core/vport.c in, nic_vport_context); in 156 drivers/net/ethernet/mellanox/mlx5/core/vport.c return mlx5_modify_nic_vport_context(mdev, in, inlen); in 163 drivers/net/ethernet/mellanox/mlx5/core/vport.c u32 in[MLX5_ST_SZ_DW(query_nic_vport_context_in)] = {}; in 175 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(query_nic_vport_context_in, in, opcode, in 177 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(query_nic_vport_context_in, in, vport_number, vport); in 178 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(query_nic_vport_context_in, in, other_vport, other); in 180 drivers/net/ethernet/mellanox/mlx5/core/vport.c err = mlx5_cmd_exec(mdev, in, sizeof(in), out, outlen); in 198 drivers/net/ethernet/mellanox/mlx5/core/vport.c void *in; in 204 drivers/net/ethernet/mellanox/mlx5/core/vport.c in = kvzalloc(inlen, GFP_KERNEL); in 205 drivers/net/ethernet/mellanox/mlx5/core/vport.c if (!in) in 208 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(modify_nic_vport_context_in, in, in 210 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(modify_nic_vport_context_in, in, vport_number, vport); in 211 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(modify_nic_vport_context_in, in, other_vport, 1); in 214 drivers/net/ethernet/mellanox/mlx5/core/vport.c in, nic_vport_context); in 220 drivers/net/ethernet/mellanox/mlx5/core/vport.c err = mlx5_modify_nic_vport_context(mdev, in, inlen); in 222 drivers/net/ethernet/mellanox/mlx5/core/vport.c kvfree(in); in 251 drivers/net/ethernet/mellanox/mlx5/core/vport.c void *in; in 254 drivers/net/ethernet/mellanox/mlx5/core/vport.c in = kvzalloc(inlen, GFP_KERNEL); in 255 drivers/net/ethernet/mellanox/mlx5/core/vport.c if (!in) in 258 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(modify_nic_vport_context_in, in, field_select.mtu, 1); in 259 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(modify_nic_vport_context_in, in, nic_vport_context.mtu, mtu); in 261 drivers/net/ethernet/mellanox/mlx5/core/vport.c err = mlx5_modify_nic_vport_context(mdev, in, inlen); in 263 drivers/net/ethernet/mellanox/mlx5/core/vport.c kvfree(in); in 274 drivers/net/ethernet/mellanox/mlx5/core/vport.c u32 in[MLX5_ST_SZ_DW(query_nic_vport_context_in)] = {0}; in 302 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(query_nic_vport_context_in, in, opcode, in 304 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(query_nic_vport_context_in, in, allowed_list_type, list_type); in 305 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(query_nic_vport_context_in, in, vport_number, vport); in 306 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(query_nic_vport_context_in, in, other_vport, 1); in 308 drivers/net/ethernet/mellanox/mlx5/core/vport.c err = mlx5_cmd_exec(dev, in, sizeof(in), out, out_sz); in 339 drivers/net/ethernet/mellanox/mlx5/core/vport.c void *in; in 354 drivers/net/ethernet/mellanox/mlx5/core/vport.c in = kzalloc(in_sz, GFP_KERNEL); in 355 drivers/net/ethernet/mellanox/mlx5/core/vport.c if (!in) in 358 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(modify_nic_vport_context_in, in, opcode, in 360 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(modify_nic_vport_context_in, in, in 363 drivers/net/ethernet/mellanox/mlx5/core/vport.c nic_vport_ctx = MLX5_ADDR_OF(modify_nic_vport_context_in, in, in 378 drivers/net/ethernet/mellanox/mlx5/core/vport.c err = mlx5_cmd_exec(dev, in, in_sz, out, sizeof(out)); in 379 drivers/net/ethernet/mellanox/mlx5/core/vport.c kfree(in); in 392 drivers/net/ethernet/mellanox/mlx5/core/vport.c void *in; in 405 drivers/net/ethernet/mellanox/mlx5/core/vport.c in = kzalloc(in_sz, GFP_KERNEL); in 406 drivers/net/ethernet/mellanox/mlx5/core/vport.c if (!in) in 409 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(modify_nic_vport_context_in, in, opcode, in 411 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(modify_nic_vport_context_in, in, in 414 drivers/net/ethernet/mellanox/mlx5/core/vport.c nic_vport_ctx = MLX5_ADDR_OF(modify_nic_vport_context_in, in, in 429 drivers/net/ethernet/mellanox/mlx5/core/vport.c err = mlx5_cmd_exec(dev, in, in_sz, out, sizeof(out)); in 430 drivers/net/ethernet/mellanox/mlx5/core/vport.c kfree(in); in 481 drivers/net/ethernet/mellanox/mlx5/core/vport.c void *in; in 489 drivers/net/ethernet/mellanox/mlx5/core/vport.c in = kvzalloc(inlen, GFP_KERNEL); in 490 drivers/net/ethernet/mellanox/mlx5/core/vport.c if (!in) in 493 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(modify_nic_vport_context_in, in, in 495 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(modify_nic_vport_context_in, in, vport_number, vport); in 496 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(modify_nic_vport_context_in, in, other_vport, 1); in 499 drivers/net/ethernet/mellanox/mlx5/core/vport.c in, nic_vport_context); in 502 drivers/net/ethernet/mellanox/mlx5/core/vport.c err = mlx5_modify_nic_vport_context(mdev, in, inlen); in 504 drivers/net/ethernet/mellanox/mlx5/core/vport.c kvfree(in); in 538 drivers/net/ethernet/mellanox/mlx5/core/vport.c void *in = NULL; in 559 drivers/net/ethernet/mellanox/mlx5/core/vport.c in = kzalloc(in_sz, GFP_KERNEL); in 561 drivers/net/ethernet/mellanox/mlx5/core/vport.c if (!in || !out) { in 566 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(query_hca_vport_gid_in, in, opcode, MLX5_CMD_OP_QUERY_HCA_VPORT_GID); in 569 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(query_hca_vport_gid_in, in, vport_number, vf_num); in 570 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(query_hca_vport_gid_in, in, other_vport, 1); in 576 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(query_hca_vport_gid_in, in, gid_index, gid_index); in 579 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(query_hca_vport_gid_in, in, port_num, port_num); in 581 drivers/net/ethernet/mellanox/mlx5/core/vport.c err = mlx5_cmd_exec(dev, in, in_sz, out, out_sz); in 590 drivers/net/ethernet/mellanox/mlx5/core/vport.c kfree(in); in 604 drivers/net/ethernet/mellanox/mlx5/core/vport.c void *in = NULL; in 624 drivers/net/ethernet/mellanox/mlx5/core/vport.c in = kzalloc(in_sz, GFP_KERNEL); in 626 drivers/net/ethernet/mellanox/mlx5/core/vport.c if (!in || !out) { in 631 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(query_hca_vport_pkey_in, in, opcode, MLX5_CMD_OP_QUERY_HCA_VPORT_PKEY); in 634 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(query_hca_vport_pkey_in, in, vport_number, vf_num); in 635 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(query_hca_vport_pkey_in, in, other_vport, 1); in 641 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(query_hca_vport_pkey_in, in, pkey_index, pkey_index); in 644 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(query_hca_vport_pkey_in, in, port_num, port_num); in 646 drivers/net/ethernet/mellanox/mlx5/core/vport.c err = mlx5_cmd_exec(dev, in, in_sz, out, out_sz); in 655 drivers/net/ethernet/mellanox/mlx5/core/vport.c kfree(in); in 667 drivers/net/ethernet/mellanox/mlx5/core/vport.c int in[MLX5_ST_SZ_DW(query_hca_vport_context_in)] = {0}; in 679 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(query_hca_vport_context_in, in, opcode, MLX5_CMD_OP_QUERY_HCA_VPORT_CONTEXT); in 683 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(query_hca_vport_context_in, in, other_vport, 1); in 684 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(query_hca_vport_context_in, in, vport_number, vf_num); in 692 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(query_hca_vport_context_in, in, port_num, port_num); in 694 drivers/net/ethernet/mellanox/mlx5/core/vport.c err = mlx5_cmd_exec(dev, in, sizeof(in), out, out_sz); in 813 drivers/net/ethernet/mellanox/mlx5/core/vport.c void *in; in 817 drivers/net/ethernet/mellanox/mlx5/core/vport.c in = kvzalloc(inlen, GFP_KERNEL); in 818 drivers/net/ethernet/mellanox/mlx5/core/vport.c if (!in) in 821 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(modify_nic_vport_context_in, in, field_select.promisc, 1); in 822 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(modify_nic_vport_context_in, in, in 824 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(modify_nic_vport_context_in, in, in 826 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(modify_nic_vport_context_in, in, in 829 drivers/net/ethernet/mellanox/mlx5/core/vport.c err = mlx5_modify_nic_vport_context(mdev, in, inlen); in 831 drivers/net/ethernet/mellanox/mlx5/core/vport.c kvfree(in); in 845 drivers/net/ethernet/mellanox/mlx5/core/vport.c void *in; in 852 drivers/net/ethernet/mellanox/mlx5/core/vport.c in = kvzalloc(inlen, GFP_KERNEL); in 853 drivers/net/ethernet/mellanox/mlx5/core/vport.c if (!in) in 856 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(modify_nic_vport_context_in, in, in 858 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(modify_nic_vport_context_in, in, in 862 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(modify_nic_vport_context_in, in, in 866 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(modify_nic_vport_context_in, in, in 869 drivers/net/ethernet/mellanox/mlx5/core/vport.c err = mlx5_modify_nic_vport_context(mdev, in, inlen); in 875 drivers/net/ethernet/mellanox/mlx5/core/vport.c kvfree(in); in 917 drivers/net/ethernet/mellanox/mlx5/core/vport.c void *in; in 921 drivers/net/ethernet/mellanox/mlx5/core/vport.c in = kvzalloc(inlen, GFP_KERNEL); in 922 drivers/net/ethernet/mellanox/mlx5/core/vport.c if (!in) in 925 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(modify_nic_vport_context_in, in, field_select.roce_en, 1); in 926 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(modify_nic_vport_context_in, in, nic_vport_context.roce_en, in 929 drivers/net/ethernet/mellanox/mlx5/core/vport.c err = mlx5_modify_nic_vport_context(mdev, in, inlen); in 931 drivers/net/ethernet/mellanox/mlx5/core/vport.c kvfree(in); in 976 drivers/net/ethernet/mellanox/mlx5/core/vport.c void *in; in 980 drivers/net/ethernet/mellanox/mlx5/core/vport.c in = kvzalloc(in_sz, GFP_KERNEL); in 981 drivers/net/ethernet/mellanox/mlx5/core/vport.c if (!in) { in 986 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(query_vport_counter_in, in, opcode, in 990 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(query_vport_counter_in, in, other_vport, 1); in 991 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(query_vport_counter_in, in, vport_number, vf + 1); in 998 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(query_vport_counter_in, in, port_num, port_num); in 1000 drivers/net/ethernet/mellanox/mlx5/core/vport.c err = mlx5_cmd_exec(dev, in, in_sz, out, out_sz); in 1002 drivers/net/ethernet/mellanox/mlx5/core/vport.c kvfree(in); in 1012 drivers/net/ethernet/mellanox/mlx5/core/vport.c u32 in[MLX5_ST_SZ_DW(query_vnic_env_in)] = {0}; in 1015 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(query_vnic_env_in, in, opcode, in 1017 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(query_vnic_env_in, in, op_mod, 0); in 1018 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(query_vnic_env_in, in, vport_number, vport); in 1019 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(query_vnic_env_in, in, other_vport, other_vport); in 1021 drivers/net/ethernet/mellanox/mlx5/core/vport.c err = mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in 1040 drivers/net/ethernet/mellanox/mlx5/core/vport.c void *in; in 1046 drivers/net/ethernet/mellanox/mlx5/core/vport.c in = kzalloc(in_sz, GFP_KERNEL); in 1047 drivers/net/ethernet/mellanox/mlx5/core/vport.c if (!in) in 1051 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(modify_hca_vport_context_in, in, opcode, MLX5_CMD_OP_MODIFY_HCA_VPORT_CONTEXT); in 1054 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(modify_hca_vport_context_in, in, other_vport, 1); in 1055 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(modify_hca_vport_context_in, in, vport_number, vf); in 1063 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(modify_hca_vport_context_in, in, port_num, port_num); in 1065 drivers/net/ethernet/mellanox/mlx5/core/vport.c ctx = MLX5_ADDR_OF(modify_hca_vport_context_in, in, hca_vport_context); in 1087 drivers/net/ethernet/mellanox/mlx5/core/vport.c err = mlx5_cmd_exec(dev, in, in_sz, out, sizeof(out)); in 1089 drivers/net/ethernet/mellanox/mlx5/core/vport.c kfree(in); in 1098 drivers/net/ethernet/mellanox/mlx5/core/vport.c void *in; in 1101 drivers/net/ethernet/mellanox/mlx5/core/vport.c in = kvzalloc(inlen, GFP_KERNEL); in 1102 drivers/net/ethernet/mellanox/mlx5/core/vport.c if (!in) in 1109 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(modify_nic_vport_context_in, in, field_select.affiliation, 1); in 1110 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(modify_nic_vport_context_in, in, in 1113 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(modify_nic_vport_context_in, in, in 1117 drivers/net/ethernet/mellanox/mlx5/core/vport.c err = mlx5_modify_nic_vport_context(port_mdev, in, inlen); in 1122 drivers/net/ethernet/mellanox/mlx5/core/vport.c kvfree(in); in 1130 drivers/net/ethernet/mellanox/mlx5/core/vport.c void *in; in 1133 drivers/net/ethernet/mellanox/mlx5/core/vport.c in = kvzalloc(inlen, GFP_KERNEL); in 1134 drivers/net/ethernet/mellanox/mlx5/core/vport.c if (!in) in 1137 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(modify_nic_vport_context_in, in, field_select.affiliation, 1); in 1138 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(modify_nic_vport_context_in, in, in 1140 drivers/net/ethernet/mellanox/mlx5/core/vport.c MLX5_SET(modify_nic_vport_context_in, in, in 1143 drivers/net/ethernet/mellanox/mlx5/core/vport.c err = mlx5_modify_nic_vport_context(port_mdev, in, inlen); in 1147 drivers/net/ethernet/mellanox/mlx5/core/vport.c kvfree(in); in 439 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c dec_buf.in = mfa2_file->cb; in 704 drivers/net/ethernet/qlogic/qed/qed.h struct qed_int_param in; in 535 drivers/net/ethernet/qlogic/qed/qed_main.c cnt = int_params->in.num_vectors; in 541 drivers/net/ethernet/qlogic/qed/qed_main.c int_params->in.min_msix_cnt, cnt); in 542 drivers/net/ethernet/qlogic/qed/qed_main.c if (rc < cnt && rc >= int_params->in.min_msix_cnt && in 553 drivers/net/ethernet/qlogic/qed/qed_main.c cnt, int_params->in.num_vectors); in 581 drivers/net/ethernet/qlogic/qed/qed_main.c switch (int_params->in.int_mode) { in 584 drivers/net/ethernet/qlogic/qed/qed_main.c cnt = int_params->in.num_vectors; in 622 drivers/net/ethernet/qlogic/qed/qed_main.c int_params->in.int_mode); in 899 drivers/net/ethernet/qlogic/qed/qed_main.c cdev->int_params.in.int_mode = int_mode; in 903 drivers/net/ethernet/qlogic/qed/qed_main.c cdev->int_params.in.num_vectors += sb_cnt_info.cnt; in 904 drivers/net/ethernet/qlogic/qed/qed_main.c cdev->int_params.in.num_vectors++; /* slowpath */ in 908 drivers/net/ethernet/qlogic/qed/qed_main.c cdev->int_params.in.min_msix_cnt = cdev->num_hwfns * 2; in 913 drivers/net/ethernet/qlogic/qed/qed_main.c cdev->int_params.in.min_msix_cnt); in 914 drivers/net/ethernet/qlogic/qed/qed_main.c cdev->int_params.in.num_vectors = in 915 drivers/net/ethernet/qlogic/qed/qed_main.c cdev->int_params.in.min_msix_cnt; in 962 drivers/net/ethernet/qlogic/qed/qed_main.c cdev->int_params.in.int_mode = QED_INT_MODE_MSIX; in 965 drivers/net/ethernet/qlogic/qed/qed_main.c &cdev->int_params.in.num_vectors); in 970 drivers/net/ethernet/qlogic/qed/qed_main.c cdev->int_params.in.num_vectors += vectors; in 974 drivers/net/ethernet/qlogic/qed/qed_main.c cdev->int_params.in.min_msix_cnt = cdev->num_hwfns; in 2418 drivers/net/ethernet/sfc/efx.c static int efx_udp_tunnel_type_map(enum udp_parsable_tunnel_type in) in 2420 drivers/net/ethernet/sfc/efx.c switch (in) { in 554 drivers/net/ethernet/sfc/falcon/falcon.c const void *in, void *out, size_t len) in 577 drivers/net/ethernet/sfc/falcon/falcon.c if (in != NULL) { in 578 drivers/net/ethernet/sfc/falcon/falcon.c memcpy(®, in, len); in 1262 drivers/net/fddi/skfp/smt.c u_short in ; in 1275 drivers/net/fddi/skfp/smt.c in = smc->mib.fddiSMTConnectionPolicy ; in 1277 drivers/net/fddi/skfp/smt.c if (in & 1) in 1279 drivers/net/fddi/skfp/smt.c in >>= 1 ; in 315 drivers/net/phy/nxp-tja11xx.c HWMON_CHANNEL_INFO(in, HWMON_I_LCRIT_ALARM), in 92 drivers/net/sb1000.c unsigned char in[]); in 94 drivers/net/sb1000.c const unsigned char out[], unsigned char in[]); in 102 drivers/net/sb1000.c static void sb1000_read_status(const int ioaddr[], unsigned char in[]); in 281 drivers/net/sb1000.c card_wait_for_ready(const int ioaddr[], const char* name, unsigned char in[]) in 300 drivers/net/sb1000.c in[1] = inb(ioaddr[0] + 1); in 301 drivers/net/sb1000.c in[2] = inb(ioaddr[0] + 2); in 302 drivers/net/sb1000.c in[3] = inb(ioaddr[0] + 3); in 303 drivers/net/sb1000.c in[4] = inb(ioaddr[0] + 4); in 304 drivers/net/sb1000.c in[0] = inb(ioaddr[0] + 5); in 305 drivers/net/sb1000.c in[6] = inb(ioaddr[0] + 6); in 306 drivers/net/sb1000.c in[5] = inb(ioaddr[1] + 6); in 313 drivers/net/sb1000.c const unsigned char out[], unsigned char in[]) in 328 drivers/net/sb1000.c if ((status = card_wait_for_ready(ioaddr, name, in))) in 336 drivers/net/sb1000.c in[0], in[1], in[2], in[3], in[4], in[5], in[6]); in 345 drivers/net/sb1000.c if (out[0] >= 0x80 && in[0] != (out[1] | 0x80)) in 426 drivers/net/sb1000.c sb1000_read_status(const int ioaddr[], unsigned char in[]) in 428 drivers/net/sb1000.c in[1] = inb(ioaddr[0] + 1); in 429 drivers/net/sb1000.c in[2] = inb(ioaddr[0] + 2); in 430 drivers/net/sb1000.c in[3] = inb(ioaddr[0] + 3); in 431 drivers/net/sb1000.c in[4] = inb(ioaddr[0] + 4); in 432 drivers/net/sb1000.c in[0] = inb(ioaddr[0] + 5); in 680 drivers/net/usb/cdc_ncm.c struct usb_host_endpoint *e, *in = NULL, *out = NULL; in 700 drivers/net/usb/cdc_ncm.c if (!in) in 701 drivers/net/usb/cdc_ncm.c in = e; in 712 drivers/net/usb/cdc_ncm.c if (in && !dev->in) in 713 drivers/net/usb/cdc_ncm.c dev->in = usb_rcvbulkpipe(dev->udev, in 714 drivers/net/usb/cdc_ncm.c in->desc.bEndpointAddress & in 910 drivers/net/usb/cdc_ncm.c if (!dev->in || !dev->out || !dev->status) { in 118 drivers/net/usb/cdc_subset.c .in = 2, .out = 2, // direction distinguishes these in 165 drivers/net/usb/cdc_subset.c .in = 4, .out = 3, in 182 drivers/net/usb/gl620a.c dev->in = usb_rcvbulkpipe(dev->udev, dev->driver_info->in); in 194 drivers/net/usb/gl620a.c .in = 1, .out = 2, in 161 drivers/net/usb/int51x1.c .in = 1, in 140 drivers/net/usb/kalmia.c dev->in = usb_rcvbulkpipe(dev->udev, 0x81 & USB_ENDPOINT_NUMBER_MASK); in 2876 drivers/net/usb/lan78xx.c struct usb_host_endpoint *in = NULL, *out = NULL; in 2882 drivers/net/usb/lan78xx.c in = NULL; in 2904 drivers/net/usb/lan78xx.c if (!intr && !in) in 2905 drivers/net/usb/lan78xx.c in = e; in 2913 drivers/net/usb/lan78xx.c if (in && out) in 2916 drivers/net/usb/lan78xx.c if (!alt || !in || !out) in 2920 drivers/net/usb/lan78xx.c in->desc.bEndpointAddress & in 567 drivers/net/usb/mcs7830.c .in = 1, in 577 drivers/net/usb/mcs7830.c .in = 1, in 85 drivers/net/usb/usbnet.c struct usb_host_endpoint *in = NULL, *out = NULL; in 91 drivers/net/usb/usbnet.c in = out = status = NULL; in 120 drivers/net/usb/usbnet.c if (!intr && !in) in 121 drivers/net/usb/usbnet.c in = e; in 129 drivers/net/usb/usbnet.c if (in && out) in 132 drivers/net/usb/usbnet.c if (!alt || !in || !out) in 143 drivers/net/usb/usbnet.c dev->in = usb_rcvbulkpipe (dev->udev, in 144 drivers/net/usb/usbnet.c in->desc.bEndpointAddress & USB_ENDPOINT_NUMBER_MASK); in 498 drivers/net/usb/usbnet.c usb_fill_bulk_urb (urb, dev->udev, dev->in, in 1164 drivers/net/usb/usbnet.c status = usb_clear_halt (dev->udev, dev->in); in 1755 drivers/net/usb/usbnet.c } else if (!info->in || !info->out) in 1758 drivers/net/usb/usbnet.c dev->in = usb_rcvbulkpipe (xdev, info->in); in 547 drivers/net/wimax/i2400m/rx.c unsigned in, out; in 598 drivers/net/wimax/i2400m/rx.c if (roq->log->in - roq->log->out == I2400M_ROQ_LOG_LENGTH) in 600 drivers/net/wimax/i2400m/rx.c cnt_idx = roq->log->in++ % I2400M_ROQ_LOG_LENGTH; in 623 drivers/net/wimax/i2400m/rx.c BUG_ON(roq->log->out > roq->log->in); in 624 drivers/net/wimax/i2400m/rx.c for (cnt = roq->log->out; cnt < roq->log->in; cnt++) { in 630 drivers/net/wimax/i2400m/rx.c roq->log->in = roq->log->out = 0; in 16 drivers/net/wireless/ath/ath10k/wmi-ops.h void (*map_svc)(const __le32 *in, unsigned long *out, size_t len); in 17 drivers/net/wireless/ath/ath10k/wmi-ops.h void (*map_svc_ext)(const __le32 *in, unsigned long *out, size_t len); in 235 drivers/net/wireless/ath/ath10k/wmi-ops.h ath10k_wmi_map_svc(struct ath10k *ar, const __le32 *in, unsigned long *out, in 241 drivers/net/wireless/ath/ath10k/wmi-ops.h ar->wmi.ops->map_svc(in, out, len); in 246 drivers/net/wireless/ath/ath10k/wmi-ops.h ath10k_wmi_map_svc_ext(struct ath10k *ar, const __le32 *in, unsigned long *out, in 252 drivers/net/wireless/ath/ath10k/wmi-ops.h ar->wmi.ops->map_svc_ext(in, out, len); in 1424 drivers/net/wireless/ath/ath10k/wmi-tlv.h if ((WMI_SERVICE_IS_ENABLED((in), (x), (len))) || \ in 1425 drivers/net/wireless/ath/ath10k/wmi-tlv.h (WMI_TLV_EXT_SERVICE_IS_ENABLED((in), (x), (len)))) \ in 1430 drivers/net/wireless/ath/ath10k/wmi-tlv.h wmi_tlv_svc_map(const __le32 *in, unsigned long *out, size_t len) in 1581 drivers/net/wireless/ath/ath10k/wmi-tlv.h wmi_tlv_svc_map_ext(const __le32 *in, unsigned long *out, size_t len) in 526 drivers/net/wireless/ath/ath10k/wmi.h if ((WMI_SERVICE_IS_ENABLED((in), (x), (len))) || \ in 527 drivers/net/wireless/ath/ath10k/wmi.h (WMI_EXT_SERVICE_IS_ENABLED((in), (x), (len)))) \ in 531 drivers/net/wireless/ath/ath10k/wmi.h static inline void wmi_10x_svc_map(const __le32 *in, unsigned long *out, in 602 drivers/net/wireless/ath/ath10k/wmi.h static inline void wmi_main_svc_map(const __le32 *in, unsigned long *out, in 671 drivers/net/wireless/ath/ath10k/wmi.h static inline void wmi_10_4_svc_map(const __le32 *in, unsigned long *out, in 412 drivers/net/wireless/ath/ath9k/common-spectral.c ath_cmn_copy_fft_frame(u8 *in, u8 *out, int sample_len, int sample_bytes) in 417 drivers/net/wireless/ath/ath9k/common-spectral.c memcpy(&out[1], in, in 422 drivers/net/wireless/ath/ath9k/common-spectral.c memcpy(out, in, sample_len); in 428 drivers/net/wireless/ath/ath9k/common-spectral.c memcpy(&out[1], in, 30); in 429 drivers/net/wireless/ath/ath9k/common-spectral.c out[31] = in[31]; in 430 drivers/net/wireless/ath/ath9k/common-spectral.c memcpy(&out[32], &in[33], in 437 drivers/net/wireless/ath/ath9k/common-spectral.c memcpy(out, in, 30); in 438 drivers/net/wireless/ath/ath9k/common-spectral.c out[30] = in[31]; in 439 drivers/net/wireless/ath/ath9k/common-spectral.c memcpy(&out[31], &in[33], in 2652 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c sinfo->connected_time = le32_to_cpu(sta_info_le.in); in 544 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil_types.h __le32 in; /* seconds elapsed since associated */ in 44 drivers/net/wireless/intel/iwlegacy/3945.c #define IL_DECLARE_RATE_INFO(r, ip, in, rp, rn, pp, np) \ in 48 drivers/net/wireless/intel/iwlegacy/3945.c RATE_##in##M_IDX, \ in 61 drivers/net/wireless/intel/iwlegacy/4965-rs.c #define IL_DECLARE_RATE_INFO(r, s, ip, in, rp, rn, pp, np) \ in 67 drivers/net/wireless/intel/iwlegacy/4965-rs.c RATE_##in##M_IDX, \ in 61 drivers/net/wireless/intel/iwlwifi/dvm/rs.c #define IWL_DECLARE_RATE_INFO(r, s, ip, in, rp, rn, pp, np) \ in 68 drivers/net/wireless/intel/iwlwifi/dvm/rs.c IWL_RATE_##in##M_INDEX, \ in 757 drivers/nfc/port100.c struct sk_buff *in, int in_len) in 774 drivers/nfc/port100.c dev->in_urb->transfer_buffer = in->data; in 1771 drivers/ntb/hw/idt/ntb_hw_idt.c return idt_nt_read(ndev, ntdata_tbl.msgs[midx].in); in 1176 drivers/ntb/hw/idt/ntb_hw_idt.h unsigned int in; in 154 drivers/nvdimm/btt.c __le32 in; in 163 drivers/nvdimm/btt.c ret = arena_read_bytes(arena, ns_off, &in, MAP_ENT_SIZE, rwb_flags); in 167 drivers/nvdimm/btt.c raw_mapping = le32_to_cpu(in); in 268 drivers/parisc/pdc_stable.c char in[64], *temp; in 276 drivers/parisc/pdc_stable.c count = min_t(size_t, count, sizeof(in)-1); in 277 drivers/parisc/pdc_stable.c strncpy(in, buf, count); in 278 drivers/parisc/pdc_stable.c in[count] = '\0'; in 284 drivers/parisc/pdc_stable.c if (!(temp = strrchr(in, '/'))) in 288 drivers/parisc/pdc_stable.c in[temp-in] = '\0'; /* truncate the remaining string. just precaution */ in 296 drivers/parisc/pdc_stable.c for (i=5; ((temp = strrchr(in, '/'))) && (temp-in > 0) && (likely(i)); i--) { in 298 drivers/parisc/pdc_stable.c in[temp-in] = '\0'; in 303 drivers/parisc/pdc_stable.c hwpath.bc[i] = simple_strtoul(in, NULL, 10); in 384 drivers/parisc/pdc_stable.c char in[64], *temp; in 390 drivers/parisc/pdc_stable.c count = min_t(size_t, count, sizeof(in)-1); in 391 drivers/parisc/pdc_stable.c strncpy(in, buf, count); in 392 drivers/parisc/pdc_stable.c in[count] = '\0'; in 398 drivers/parisc/pdc_stable.c if (unlikely(!isdigit(*in))) in 400 drivers/parisc/pdc_stable.c layers[0] = simple_strtoul(in, NULL, 10); in 403 drivers/parisc/pdc_stable.c temp = in; in 747 drivers/parisc/pdc_stable.c char in[8], *temp; in 757 drivers/parisc/pdc_stable.c count = min_t(size_t, count, sizeof(in)-1); in 758 drivers/parisc/pdc_stable.c strncpy(in, buf, count); in 759 drivers/parisc/pdc_stable.c in[count] = '\0'; in 771 drivers/parisc/pdc_stable.c temp = skip_spaces(in); in 849 drivers/parisc/pdc_stable.c u8 in[16]; in 864 drivers/parisc/pdc_stable.c memset(in, 0, 16); in 865 drivers/parisc/pdc_stable.c memcpy(in, buf, count); in 867 drivers/parisc/pdc_stable.c if (pdc_stable_write(PDCS_ADDR_OSD1, &in, sizeof(in)) != PDC_OK) in 888 drivers/parisc/pdc_stable.c u8 in[4]; in 910 drivers/parisc/pdc_stable.c memset(in, 0, 4); in 911 drivers/parisc/pdc_stable.c memcpy(in, buf+i, (count-i < 4) ? count-i : 4); in 912 drivers/parisc/pdc_stable.c if (unlikely(pdc_stable_write(PDCS_ADDR_OSD2 + i, &in, in 913 drivers/parisc/pdc_stable.c sizeof(in)) != PDC_OK)) in 1105 drivers/parisc/sba_iommu.c Tells where the dvi bits are located in the address. in 353 drivers/perf/xgene_pmu.c XGENE_PMU_EVENT_ATTR(in-rd-collision, 0x0e), in 354 drivers/perf/xgene_pmu.c XGENE_PMU_EVENT_ATTR(in-wr-collision, 0x0f), in 142 drivers/pinctrl/pinctrl-as3722.c FUNCTION_GROUP(gpio-in-interrupt, GPIO_INTERRUPT), in 145 drivers/pinctrl/pinctrl-as3722.c FUNCTION_GROUP(voltage-in-standby, VOLTAGE_IN_STBY), in 149 drivers/pinctrl/pinctrl-as3722.c FUNCTION_GROUP(pwm-in, PWM_INPUT), in 152 drivers/pinctrl/pinctrl-as3722.c FUNCTION_GROUP(watchdog-in, WATCHDOG_INPUT), in 153 drivers/pinctrl/pinctrl-as3722.c FUNCTION_GROUP(soft-reset-in, SOFT_RESET_IN), in 660 drivers/pinctrl/ti/pinctrl-ti-iodelay.c u32 in, oen, out; in 669 drivers/pinctrl/ti/pinctrl-ti-iodelay.c regmap_read(iod->regmap, offset, &in); in 678 drivers/pinctrl/ti/pinctrl-ti-iodelay.c in, oen, out, DRIVER_NAME); in 47 drivers/platform/chrome/wilco_ec/debugfs.c static int parse_hex_sentence(const char *in, int isize, u8 *out, int osize) in 60 drivers/platform/chrome/wilco_ec/debugfs.c while (word_start < isize && isspace(in[word_start])) in 68 drivers/platform/chrome/wilco_ec/debugfs.c while (word_end < isize && !isspace(in[word_end])) in 75 drivers/platform/chrome/wilco_ec/debugfs.c memcpy(tmp, in + word_start, word_len); in 947 drivers/platform/x86/acer-wmi.c WMI_execute_u32(u32 method_id, u32 in, u32 *out) in 949 drivers/platform/x86/acer-wmi.c struct acpi_buffer input = { (acpi_size) sizeof(u32), (void *)(&in) }; in 440 drivers/platform/x86/intel_pmc_ipc.c int intel_pmc_ipc_raw_cmd(u32 cmd, u32 sub, u8 *in, u32 inlen, u32 *out, in 455 drivers/platform/x86/intel_pmc_ipc.c memcpy(wbuf, in, inlen); in 488 drivers/platform/x86/intel_pmc_ipc.c int intel_pmc_ipc_command(u32 cmd, u32 sub, u8 *in, u32 inlen, in 491 drivers/platform/x86/intel_pmc_ipc.c return intel_pmc_ipc_raw_cmd(cmd, sub, in, inlen, out, outlen, 0, 0); in 179 drivers/platform/x86/intel_punit_ipc.c int intel_punit_ipc_command(u32 cmd, u32 para1, u32 para2, u32 *in, u32 *out) in 191 drivers/platform/x86/intel_punit_ipc.c if (in) { in 192 drivers/platform/x86/intel_punit_ipc.c ipc_write_data_low(ipcdev, type, *in); in 194 drivers/platform/x86/intel_punit_ipc.c ipc_write_data_high(ipcdev, type, *++in); in 460 drivers/platform/x86/intel_scu_ipc.c int intel_scu_ipc_command(int cmd, int sub, u32 *in, int inlen, in 473 drivers/platform/x86/intel_scu_ipc.c ipc_data_writel(scu, *in++, 4 * i); in 506 drivers/platform/x86/intel_scu_ipc.c int intel_scu_ipc_raw_command(int cmd, int sub, u8 *in, int inlen, in 534 drivers/platform/x86/intel_scu_ipc.c memcpy(inbuf, in, inlen); in 395 drivers/platform/x86/samsung-laptop.c struct sabi_data *in, in 406 drivers/platform/x86/samsung-laptop.c if (in) in 409 drivers/platform/x86/samsung-laptop.c command, in->d0, in->d1, in->d2, in->d3); in 421 drivers/platform/x86/samsung-laptop.c if (in) { in 422 drivers/platform/x86/samsung-laptop.c writel(in->d0, samsung->sabi_iface + SABI_IFACE_DATA); in 423 drivers/platform/x86/samsung-laptop.c writel(in->d1, samsung->sabi_iface + SABI_IFACE_DATA + 4); in 424 drivers/platform/x86/samsung-laptop.c writew(in->d2, samsung->sabi_iface + SABI_IFACE_DATA + 8); in 425 drivers/platform/x86/samsung-laptop.c writeb(in->d3, samsung->sabi_iface + SABI_IFACE_DATA + 10); in 471 drivers/platform/x86/samsung-laptop.c struct sabi_data in = { { { .d0 = 0, .d1 = 0, .d2 = 0, .d3 = 0 } } }; in 473 drivers/platform/x86/samsung-laptop.c in.data[0] = data; in 474 drivers/platform/x86/samsung-laptop.c return sabi_command(samsung, command, &in, NULL); in 734 drivers/platform/x86/sony-laptop.c union acpi_object in; in 735 drivers/platform/x86/sony-laptop.c in.type = ACPI_TYPE_INTEGER; in 736 drivers/platform/x86/sony-laptop.c in.integer.value = *value; in 738 drivers/platform/x86/sony-laptop.c params.pointer = ∈ in 85 drivers/platform/x86/tc1100-wmi.c static int set_state(u32 *in, u8 instance) in 91 drivers/platform/x86/tc1100-wmi.c if (!in) in 99 drivers/platform/x86/tc1100-wmi.c value = (*in) ? 1 : 2; in 102 drivers/platform/x86/tc1100-wmi.c value = (*in) ? 0 : 1; in 311 drivers/platform/x86/toshiba_acpi.c const u32 in[TCI_WORDS], u32 out[TCI_WORDS]) in 323 drivers/platform/x86/toshiba_acpi.c in_objs[i].integer.value = in[i]; in 349 drivers/platform/x86/toshiba_acpi.c u32 in[TCI_WORDS] = { HCI_SET, reg, in1, 0, 0, 0 }; in 351 drivers/platform/x86/toshiba_acpi.c acpi_status status = tci_raw(dev, in, out); in 358 drivers/platform/x86/toshiba_acpi.c u32 in[TCI_WORDS] = { HCI_GET, reg, 0, 0, 0, 0 }; in 360 drivers/platform/x86/toshiba_acpi.c acpi_status status = tci_raw(dev, in, out); in 376 drivers/platform/x86/toshiba_acpi.c u32 in[TCI_WORDS] = { SCI_OPEN, 0, 0, 0, 0, 0 }; in 378 drivers/platform/x86/toshiba_acpi.c acpi_status status = tci_raw(dev, in, out); in 413 drivers/platform/x86/toshiba_acpi.c u32 in[TCI_WORDS] = { SCI_CLOSE, 0, 0, 0, 0, 0 }; in 415 drivers/platform/x86/toshiba_acpi.c acpi_status status = tci_raw(dev, in, out); in 432 drivers/platform/x86/toshiba_acpi.c u32 in[TCI_WORDS] = { SCI_GET, reg, 0, 0, 0, 0 }; in 434 drivers/platform/x86/toshiba_acpi.c acpi_status status = tci_raw(dev, in, out); in 446 drivers/platform/x86/toshiba_acpi.c u32 in[TCI_WORDS] = { SCI_SET, reg, in1, 0, 0, 0 }; in 448 drivers/platform/x86/toshiba_acpi.c acpi_status status = tci_raw(dev, in, out); in 456 drivers/platform/x86/toshiba_acpi.c u32 in[TCI_WORDS] = { SCI_GET, SCI_ILLUMINATION, 0, 0, 0, 0 }; in 466 drivers/platform/x86/toshiba_acpi.c status = tci_raw(dev, in, out); in 526 drivers/platform/x86/toshiba_acpi.c u32 in[TCI_WORDS] = { SCI_GET, SCI_KBD_ILLUM_STATUS, 0, 0, 0, 0 }; in 537 drivers/platform/x86/toshiba_acpi.c status = tci_raw(dev, in, out); in 671 drivers/platform/x86/toshiba_acpi.c u32 in[TCI_WORDS] = { HCI_GET, HCI_ECO_MODE, 0, 0, 0, 0 }; in 678 drivers/platform/x86/toshiba_acpi.c status = tci_raw(dev, in, out); in 694 drivers/platform/x86/toshiba_acpi.c in[3] = 1; in 695 drivers/platform/x86/toshiba_acpi.c status = tci_raw(dev, in, out); in 713 drivers/platform/x86/toshiba_acpi.c u32 in[TCI_WORDS] = { HCI_GET, HCI_ECO_MODE, 0, 1, 0, 0 }; in 717 drivers/platform/x86/toshiba_acpi.c status = tci_raw(dev, in, out); in 734 drivers/platform/x86/toshiba_acpi.c u32 in[TCI_WORDS] = { HCI_SET, HCI_ECO_MODE, 0, 1, 0, 0 }; in 739 drivers/platform/x86/toshiba_acpi.c in[2] = (brightness) ? 1 : 0; in 740 drivers/platform/x86/toshiba_acpi.c status = tci_raw(dev, in, out); in 748 drivers/platform/x86/toshiba_acpi.c u32 in[TCI_WORDS] = { HCI_GET, HCI_ACCELEROMETER2, 0, 0, 0, 0 }; in 758 drivers/platform/x86/toshiba_acpi.c status = tci_raw(dev, in, out); in 773 drivers/platform/x86/toshiba_acpi.c u32 in[TCI_WORDS] = { HCI_GET, HCI_ACCELEROMETER, 0, 1, 0, 0 }; in 778 drivers/platform/x86/toshiba_acpi.c status = tci_raw(dev, in, out); in 799 drivers/platform/x86/toshiba_acpi.c u32 in[TCI_WORDS] = { SCI_GET, SCI_USB_SLEEP_CHARGE, 0, 0, 0, 0 }; in 808 drivers/platform/x86/toshiba_acpi.c status = tci_raw(dev, in, out); in 822 drivers/platform/x86/toshiba_acpi.c in[5] = SCI_USB_CHARGE_BAT_LVL; in 823 drivers/platform/x86/toshiba_acpi.c status = tci_raw(dev, in, out); in 877 drivers/platform/x86/toshiba_acpi.c u32 in[TCI_WORDS] = { SCI_GET, SCI_USB_SLEEP_CHARGE, 0, 0, 0, 0 }; in 884 drivers/platform/x86/toshiba_acpi.c in[5] = SCI_USB_CHARGE_BAT_LVL; in 885 drivers/platform/x86/toshiba_acpi.c status = tci_raw(dev, in, out); in 907 drivers/platform/x86/toshiba_acpi.c u32 in[TCI_WORDS] = { SCI_SET, SCI_USB_SLEEP_CHARGE, 0, 0, 0, 0 }; in 914 drivers/platform/x86/toshiba_acpi.c in[2] = mode; in 915 drivers/platform/x86/toshiba_acpi.c in[5] = SCI_USB_CHARGE_BAT_LVL; in 916 drivers/platform/x86/toshiba_acpi.c status = tci_raw(dev, in, out); in 932 drivers/platform/x86/toshiba_acpi.c u32 in[TCI_WORDS] = { SCI_GET, SCI_USB_SLEEP_CHARGE, 0, 0, 0, 0 }; in 939 drivers/platform/x86/toshiba_acpi.c in[5] = SCI_USB_CHARGE_RAPID_DSP; in 940 drivers/platform/x86/toshiba_acpi.c status = tci_raw(dev, in, out); in 961 drivers/platform/x86/toshiba_acpi.c u32 in[TCI_WORDS] = { SCI_SET, SCI_USB_SLEEP_CHARGE, 0, 0, 0, 0 }; in 968 drivers/platform/x86/toshiba_acpi.c in[2] = state; in 969 drivers/platform/x86/toshiba_acpi.c in[5] = SCI_USB_CHARGE_RAPID_DSP; in 970 drivers/platform/x86/toshiba_acpi.c status = tci_raw(dev, in, out); in 1126 drivers/platform/x86/toshiba_acpi.c u32 in[TCI_WORDS] = { HCI_GET, HCI_SYSTEM_INFO, 0x03, 0, 0, 0 }; in 1130 drivers/platform/x86/toshiba_acpi.c status = tci_raw(dev, in, out); in 1150 drivers/platform/x86/toshiba_acpi.c u32 in[TCI_WORDS] = { HCI_GET, HCI_WIRELESS, 0, 0, 0, 0 }; in 1154 drivers/platform/x86/toshiba_acpi.c in[3] = HCI_WIRELESS_STATUS; in 1155 drivers/platform/x86/toshiba_acpi.c status = tci_raw(dev, in, out); in 1176 drivers/platform/x86/toshiba_acpi.c u32 in[TCI_WORDS] = { HCI_GET, HCI_WIRELESS, 0, 0, 0, 0 }; in 1192 drivers/platform/x86/toshiba_acpi.c in[3] = HCI_WIRELESS_WWAN; in 1193 drivers/platform/x86/toshiba_acpi.c status = tci_raw(dev, in, out); in 1207 drivers/platform/x86/toshiba_acpi.c u32 in[TCI_WORDS] = { HCI_SET, HCI_WIRELESS, state, 0, 0, 0 }; in 1211 drivers/platform/x86/toshiba_acpi.c in[3] = HCI_WIRELESS_WWAN_STATUS; in 1212 drivers/platform/x86/toshiba_acpi.c status = tci_raw(dev, in, out); in 1229 drivers/platform/x86/toshiba_acpi.c in[3] = HCI_WIRELESS_WWAN_POWER; in 1230 drivers/platform/x86/toshiba_acpi.c status = tci_raw(dev, in, out); in 1245 drivers/platform/x86/toshiba_acpi.c u32 in[TCI_WORDS] = { HCI_GET, HCI_COOLING_METHOD, 0, 0, 0, 0 }; in 1252 drivers/platform/x86/toshiba_acpi.c status = tci_raw(dev, in, out); in 2503 drivers/platform/x86/toshiba_acpi.c u32 in[TCI_WORDS] = { regs->eax, regs->ebx, regs->ecx, in 2508 drivers/platform/x86/toshiba_acpi.c status = tci_raw(toshiba_acpi, in, out); in 230 drivers/platform/x86/wmi.c u32 method_id, const struct acpi_buffer *in, struct acpi_buffer *out) in 237 drivers/platform/x86/wmi.c in, out); in 252 drivers/platform/x86/wmi.c u32 method_id, const struct acpi_buffer *in, struct acpi_buffer *out) in 279 drivers/platform/x86/wmi.c if (in) { in 287 drivers/platform/x86/wmi.c params[2].buffer.length = in->length; in 288 drivers/platform/x86/wmi.c params[2].buffer.pointer = in->pointer; in 406 drivers/platform/x86/wmi.c const struct acpi_buffer *in) in 415 drivers/platform/x86/wmi.c if (!guid_string || !in) in 441 drivers/platform/x86/wmi.c params[1].buffer.length = in->length; in 442 drivers/platform/x86/wmi.c params[1].buffer.pointer = in->pointer; in 262 drivers/power/supply/power_supply_hwmon.c HWMON_CHANNEL_INFO(in, in 145 drivers/regulator/tps6524x-regulator.c u16 cmd = CMD_READ(reg), in; in 158 drivers/regulator/tps6524x-regulator.c t[1].rx_buf = ∈ in 173 drivers/regulator/tps6524x-regulator.c reg, in, status); in 181 drivers/regulator/tps6524x-regulator.c return in; in 178 drivers/rtc/rtc-ds2404.c u8 in[1] = { 0x10 }; /* enable oscillator */ in 179 drivers/rtc/rtc-ds2404.c ds2404_write_memory(dev, 0x201, 1, in); in 113 drivers/s390/char/tape_3590.c static void ext_to_int_kekl(struct tape390_kekl *in, in 119 drivers/s390/char/tape_3590.c if (in->type == TAPE390_KEKL_TYPE_HASH) in 121 drivers/s390/char/tape_3590.c if (in->type_on_tape == TAPE390_KEKL_TYPE_HASH) in 123 drivers/s390/char/tape_3590.c len = min(sizeof(out->label), strlen(in->label)); in 124 drivers/s390/char/tape_3590.c memcpy(out->label, in->label, len); in 129 drivers/s390/char/tape_3590.c static void int_to_ext_kekl(struct tape3592_kekl *in, in 133 drivers/s390/char/tape_3590.c if(in->flags & 0x40) in 137 drivers/s390/char/tape_3590.c if(in->flags & 0x80) in 141 drivers/s390/char/tape_3590.c memcpy(out->label, in->label, sizeof(in->label)); in 142 drivers/s390/char/tape_3590.c EBCASC(out->label, sizeof(in->label)); in 146 drivers/s390/char/tape_3590.c static void int_to_ext_kekl_pair(struct tape3592_kekl_pair *in, in 149 drivers/s390/char/tape_3590.c if (in->count == 0) { in 154 drivers/s390/char/tape_3590.c } else if (in->count == 1) { in 155 drivers/s390/char/tape_3590.c int_to_ext_kekl(&in->kekl[0], &out->kekl[0]); in 158 drivers/s390/char/tape_3590.c } else if (in->count == 2) { in 159 drivers/s390/char/tape_3590.c int_to_ext_kekl(&in->kekl[0], &out->kekl[0]); in 160 drivers/s390/char/tape_3590.c int_to_ext_kekl(&in->kekl[1], &out->kekl[1]); in 162 drivers/s390/char/tape_3590.c printk("Invalid KEKL number: %d\n", in->count); in 219 drivers/s390/cio/qdio.h struct qdio_input_q in; in 368 drivers/s390/cio/qdio.h (test_bit(QDIO_QUEUE_IRQS_DISABLED, &q->u.in.queue_irq_state) == 0) in 370 drivers/s390/cio/qdio.h (test_bit(QDIO_QUEUE_IRQS_DISABLED, &q->u.in.queue_irq_state) != 0) in 128 drivers/s390/cio/qdio_debug.c q->u.in.polling, q->u.in.ack_start, in 129 drivers/s390/cio/qdio_debug.c q->u.in.ack_count); in 133 drivers/s390/cio/qdio_debug.c &q->u.in.queue_irq_state)); in 40 drivers/s390/cio/qdio_main.c register unsigned long in asm ("3") = in_mask; in 48 drivers/s390/cio/qdio_main.c : "d" (__fc), "d" (__schid), "d" (out), "d" (in) : "cc"); in 395 drivers/s390/cio/qdio_main.c if (!q->u.in.polling) in 398 drivers/s390/cio/qdio_main.c q->u.in.polling = 0; in 403 drivers/s390/cio/qdio_main.c set_buf_states(q, q->u.in.ack_start, SLSB_P_INPUT_NOT_INIT, in 404 drivers/s390/cio/qdio_main.c q->u.in.ack_count); in 405 drivers/s390/cio/qdio_main.c q->u.in.ack_count = 0; in 407 drivers/s390/cio/qdio_main.c set_buf_state(q, q->u.in.ack_start, SLSB_P_INPUT_NOT_INIT); in 463 drivers/s390/cio/qdio_main.c if (!q->u.in.polling) { in 464 drivers/s390/cio/qdio_main.c q->u.in.polling = 1; in 465 drivers/s390/cio/qdio_main.c q->u.in.ack_count = count; in 466 drivers/s390/cio/qdio_main.c q->u.in.ack_start = start; in 471 drivers/s390/cio/qdio_main.c set_buf_states(q, q->u.in.ack_start, SLSB_P_INPUT_NOT_INIT, in 472 drivers/s390/cio/qdio_main.c q->u.in.ack_count); in 473 drivers/s390/cio/qdio_main.c q->u.in.ack_count = count; in 474 drivers/s390/cio/qdio_main.c q->u.in.ack_start = start; in 483 drivers/s390/cio/qdio_main.c if (q->u.in.polling) { in 486 drivers/s390/cio/qdio_main.c set_buf_state(q, q->u.in.ack_start, SLSB_P_INPUT_NOT_INIT); in 488 drivers/s390/cio/qdio_main.c q->u.in.polling = 1; in 492 drivers/s390/cio/qdio_main.c q->u.in.ack_start = new; in 559 drivers/s390/cio/qdio_main.c q->u.in.timestamp = get_tod_clock(); in 590 drivers/s390/cio/qdio_main.c if (get_tod_clock_fast() > q->u.in.timestamp + QDIO_INPUT_THRESHOLD) { in 962 drivers/s390/cio/qdio_main.c if (q->u.in.queue_start_poll) { in 965 drivers/s390/cio/qdio_main.c &q->u.in.queue_irq_state)) { in 969 drivers/s390/cio/qdio_main.c q->u.in.queue_start_poll(q->irq_ptr->cdev, q->nr, in 1484 drivers/s390/cio/qdio_main.c if (!q->u.in.polling) in 1490 drivers/s390/cio/qdio_main.c q->u.in.polling = 0; in 1491 drivers/s390/cio/qdio_main.c q->u.in.ack_count = 0; in 1493 drivers/s390/cio/qdio_main.c } else if (buf_in_between(q->u.in.ack_start, bufnr, count)) { in 1497 drivers/s390/cio/qdio_main.c diff = sub_buf(diff, q->u.in.ack_start); in 1498 drivers/s390/cio/qdio_main.c q->u.in.ack_count -= diff; in 1499 drivers/s390/cio/qdio_main.c if (q->u.in.ack_count <= 0) { in 1500 drivers/s390/cio/qdio_main.c q->u.in.polling = 0; in 1501 drivers/s390/cio/qdio_main.c q->u.in.ack_count = 0; in 1504 drivers/s390/cio/qdio_main.c q->u.in.ack_start = add_buf(q->u.in.ack_start, diff); in 1508 drivers/s390/cio/qdio_main.c q->u.in.polling = 0; in 1642 drivers/s390/cio/qdio_main.c clear_bit(QDIO_QUEUE_IRQS_DISABLED, &q->u.in.queue_irq_state); in 1656 drivers/s390/cio/qdio_main.c &q->u.in.queue_irq_state)) in 1760 drivers/s390/cio/qdio_main.c &q->u.in.queue_irq_state)) in 229 drivers/s390/cio/qdio_setup.c q->u.in.queue_start_poll = qdio_init->queue_start_poll_array ? in 153 drivers/s390/cio/qdio_thinint.c if (q->u.in.queue_start_poll) { in 156 drivers/s390/cio/qdio_thinint.c &q->u.in.queue_irq_state)) { in 162 drivers/s390/cio/qdio_thinint.c q->u.in.queue_start_poll(irq->cdev, q->nr, in 1643 drivers/scsi/cxgbi/libcxgbi.c int opcode = tcp_conn->in.hdr->opcode & ISCSI_OPCODE_MASK; in 1670 drivers/scsi/cxgbi/libcxgbi.c skb, opcode, ntohl(tcp_conn->in.hdr->itt), in 1671 drivers/scsi/cxgbi/libcxgbi.c tcp_conn->in.datalen, offloaded ? "is" : "not"); in 153 drivers/scsi/iscsi_tcp.c iscsi_tcp_segment_unmap(&tcp_conn->in.segment); in 405 drivers/scsi/libiscsi_tcp.c iscsi_segment_init_linear(&tcp_conn->in.segment, in 406 drivers/scsi/libiscsi_tcp.c tcp_conn->in.hdr_buf, sizeof(struct iscsi_hdr), in 424 drivers/scsi/libiscsi_tcp.c rc = iscsi_complete_pdu(conn, tcp_conn->in.hdr, in 425 drivers/scsi/libiscsi_tcp.c conn->data, tcp_conn->in.datalen); in 443 drivers/scsi/libiscsi_tcp.c iscsi_segment_init_linear(&tcp_conn->in.segment, in 444 drivers/scsi/libiscsi_tcp.c conn->data, tcp_conn->in.datalen, in 490 drivers/scsi/libiscsi_tcp.c struct iscsi_data_rsp *rhdr = (struct iscsi_data_rsp *)tcp_conn->in.hdr; in 501 drivers/scsi/libiscsi_tcp.c if (tcp_conn->in.datalen == 0) in 513 drivers/scsi/libiscsi_tcp.c if (tcp_task->data_offset + tcp_conn->in.datalen > total_in_length) { in 516 drivers/scsi/libiscsi_tcp.c tcp_conn->in.datalen, total_in_length); in 534 drivers/scsi/libiscsi_tcp.c struct iscsi_r2t_rsp *rhdr = (struct iscsi_r2t_rsp *)tcp_conn->in.hdr; in 541 drivers/scsi/libiscsi_tcp.c if (tcp_conn->in.datalen) { in 544 drivers/scsi/libiscsi_tcp.c tcp_conn->in.datalen); in 620 drivers/scsi/libiscsi_tcp.c struct iscsi_hdr *hdr = tcp_conn->in.hdr; in 628 drivers/scsi/libiscsi_tcp.c rc = iscsi_complete_pdu(conn, tcp_conn->in.hdr, NULL, 0); in 655 drivers/scsi/libiscsi_tcp.c tcp_conn->in.datalen = ntoh24(hdr->dlength); in 656 drivers/scsi/libiscsi_tcp.c if (tcp_conn->in.datalen > conn->max_recv_dlength) { in 659 drivers/scsi/libiscsi_tcp.c tcp_conn->in.datalen, conn->max_recv_dlength); in 675 drivers/scsi/libiscsi_tcp.c opcode, ahslen, tcp_conn->in.datalen); in 690 drivers/scsi/libiscsi_tcp.c if (tcp_conn->in.datalen) { in 710 drivers/scsi/libiscsi_tcp.c tcp_conn->in.datalen); in 712 drivers/scsi/libiscsi_tcp.c rc = iscsi_segment_seek_sg(&tcp_conn->in.segment, in 716 drivers/scsi/libiscsi_tcp.c tcp_conn->in.datalen, in 726 drivers/scsi/libiscsi_tcp.c if (tcp_conn->in.datalen) { in 757 drivers/scsi/libiscsi_tcp.c if (ISCSI_DEF_MAX_RECV_SEG_LEN < tcp_conn->in.datalen) { in 762 drivers/scsi/libiscsi_tcp.c tcp_conn->in.datalen, in 771 drivers/scsi/libiscsi_tcp.c if (tcp_conn->in.datalen) { in 789 drivers/scsi/libiscsi_tcp.c if (tcp_conn->in.datalen) in 817 drivers/scsi/libiscsi_tcp.c hdr = (struct iscsi_hdr *) tcp_conn->in.hdr_buf; in 825 drivers/scsi/libiscsi_tcp.c if (sizeof(*hdr) + ahslen > sizeof(tcp_conn->in.hdr_buf)) in 857 drivers/scsi/libiscsi_tcp.c tcp_conn->in.hdr = hdr; in 870 drivers/scsi/libiscsi_tcp.c return tcp_conn->in.segment.done == iscsi_tcp_hdr_recv_done; in 889 drivers/scsi/libiscsi_tcp.c struct iscsi_segment *segment = &tcp_conn->in.segment; in 522 drivers/scsi/qla2xxx/qla_def.h void *out, *in; in 1176 drivers/scsi/qla2xxx/qla_init.c dma_pool_free(ha->s_dma_pool, sp->u.iocb_cmd.u.mbx.in, in 1348 drivers/scsi/qla2xxx/qla_init.c mbx->u.mbx.in = (void *)pd; in 1412 drivers/scsi/qla2xxx/qla_init.c pd = (struct port_database_24xx *)sp->u.iocb_cmd.u.mbx.in; in 135 drivers/scsi/qlogicpti.c #define QUEUE_DEPTH(in, out, ql) ((in - out) & (ql)) in 136 drivers/scsi/qlogicpti.c #define REQ_QUEUE_DEPTH(in, out) QUEUE_DEPTH(in, out, \ in 138 drivers/scsi/qlogicpti.c #define RES_QUEUE_DEPTH(in, out) QUEUE_DEPTH(in, out, RES_QUEUE_LEN) in 228 drivers/scsi/sym53c8xx_2/sym_fw.c sym_fw_fill_data (u32 *in, u32 *out) in 233 drivers/scsi/sym53c8xx_2/sym_fw.c *in++ = SCR_CHMOV_TBL ^ SCR_DATA_IN; in 234 drivers/scsi/sym53c8xx_2/sym_fw.c *in++ = offsetof (struct sym_dsb, data[i]); in 411 drivers/scsi/virtio_scsi.c struct sg_table *out, *in; in 414 drivers/scsi/virtio_scsi.c out = in = NULL; in 420 drivers/scsi/virtio_scsi.c in = &sc->sdb.table; in 440 drivers/scsi/virtio_scsi.c if (in) { in 444 drivers/scsi/virtio_scsi.c sgs[out_num + in_num++] = in->sgl; in 130 drivers/soc/qcom/smp2p.c struct smp2p_smem_item *in; in 174 drivers/soc/qcom/smp2p.c struct smp2p_smem_item *in; in 186 drivers/soc/qcom/smp2p.c in = smp2p->in; in 189 drivers/soc/qcom/smp2p.c if (!in) { in 190 drivers/soc/qcom/smp2p.c in = qcom_smem_get(pid, smem_id, &size); in 191 drivers/soc/qcom/smp2p.c if (IS_ERR(in)) { in 197 drivers/soc/qcom/smp2p.c smp2p->in = in; in 201 drivers/soc/qcom/smp2p.c for (i = smp2p->valid_entries; i < in->valid_entries; i++) { in 203 drivers/soc/qcom/smp2p.c memcpy(buf, in->entries[i].name, sizeof(buf)); in 205 drivers/soc/qcom/smp2p.c entry->value = &in->entries[i].value; in 866 drivers/soundwire/cadence_master.c ret = cdns_allocate_pdi(cdns, &stream->in, in 892 drivers/soundwire/cadence_master.c ret = cdns_allocate_pdi(cdns, &stream->in, in 1283 drivers/soundwire/cadence_master.c pdis = cdns_get_num_pdi(cdns, stream->in, stream->num_in, ch); in 1311 drivers/soundwire/cadence_master.c pdi = cdns_find_pdi(cdns, stream->num_in, stream->in); in 71 drivers/soundwire/cadence_master.h struct sdw_cdns_pdi *in; in 457 drivers/soundwire/intel.c intel_pdi_get_ch_update(sdw, stream->in, stream->num_in, in 352 drivers/spi/atmel-quadspi.c _memcpy_fromio(op->data.buf.in, aq->mem + offset, in 306 drivers/spi/spi-bcm-qspi.c u32 *buf = (u32 *)qspi->bspi_rf_op->data.buf.in; in 310 drivers/spi/spi-bcm-qspi.c qspi->bspi_rf_op->data.buf.in, qspi->bspi_rf_op_len); in 935 drivers/spi/spi-bcm-qspi.c t[1].rx_buf = op->data.buf.in; in 959 drivers/spi/spi-bcm-qspi.c buf = op->data.buf.in; in 542 drivers/spi/spi-fsl-qspi.c memcpy_fromio(op->data.buf.in, in 577 drivers/spi/spi-fsl-qspi.c u8 *buf = op->data.buf.in; in 53 drivers/spi/spi-mem.c return spi_map_buf(ctlr, dmadev, sgt, op->data.buf.in, op->data.nbytes, in 356 drivers/spi/spi-mem.c xfers[xferpos].rx_buf = op->data.buf.in; in 449 drivers/spi/spi-mem.c op.data.buf.in = buf; in 415 drivers/spi/spi-mxic.c op->data.buf.in : NULL, in 470 drivers/spi/spi-npcm-fiu.c u8 *data = op->data.buf.in; in 552 drivers/spi/spi-npcm-fiu.c buf = op->data.buf.in; in 649 drivers/spi/spi-nxp-fspi.c memcpy_fromio(op->data.buf.in, (f->ahb_addr + op->addr.val), len); in 702 drivers/spi/spi-nxp-fspi.c u8 *buf = (u8 *) op->data.buf.in; in 725 drivers/spi/spi-nxp-fspi.c buf = op->data.buf.in + i; in 162 drivers/spi/spi-stm32-qspi.c buf = op->data.buf.in; in 187 drivers/spi/spi-stm32-qspi.c memcpy_fromio(op->data.buf.in, qspi->mm_base + op->addr.val, in 557 drivers/spi/spi-ti-qspi.c if (virt_addr_valid(op->data.buf.in) && in 565 drivers/spi/spi-ti-qspi.c op->data.buf.in, in 569 drivers/spi/spi-ti-qspi.c memcpy_fromio(op->data.buf.in, qspi->mmap_base + from, in 586 drivers/spi/spi-zynq-qspi.c xqspi->rxbuf = (u8 *)op->data.buf.in; in 87 drivers/ssb/pci.c u32 in, out, outenable; in 93 drivers/ssb/pci.c err = pci_read_config_dword(bus->host_pci, SSB_GPIO_IN, &in); in 110 drivers/ssb/pci.c if (!(in & SSB_GPIO_XTAL)) { in 172 drivers/ssb/pci.c out->_outvar = ((in[SPOFF(_offset)] & (_mask)) >> (_shift)) in 174 drivers/ssb/pci.c out->_outvar = ((((u32)in[SPOFF((_offset)+2)] << 16 | \ in 175 drivers/ssb/pci.c in[SPOFF(_offset)]) & (_mask)) >> (_shift)) in 232 drivers/ssb/pci.c static void sprom_get_mac(char *mac, const u16 *in) in 236 drivers/ssb/pci.c *mac++ = in[i] >> 8; in 237 drivers/ssb/pci.c *mac++ = in[i]; in 327 drivers/ssb/pci.c static s8 sprom_extract_antgain(u8 sprom_revision, const u16 *in, u16 offset, in 333 drivers/ssb/pci.c v = in[SPOFF(offset)]; in 348 drivers/ssb/pci.c static void sprom_extract_r23(struct ssb_sprom *out, const u16 *in) in 363 drivers/ssb/pci.c static void sprom_extract_r123(struct ssb_sprom *out, const u16 *in) in 374 drivers/ssb/pci.c sprom_get_mac(out->il0mac, &in[SPOFF(loc[0])]); in 376 drivers/ssb/pci.c sprom_get_mac(out->et0mac, &in[SPOFF(loc[1])]); in 377 drivers/ssb/pci.c sprom_get_mac(out->et1mac, &in[SPOFF(loc[2])]); in 417 drivers/ssb/pci.c out->antenna_gain.a0 = sprom_extract_antgain(out->revision, in, in 421 drivers/ssb/pci.c out->antenna_gain.a1 = sprom_extract_antgain(out->revision, in, in 426 drivers/ssb/pci.c sprom_extract_r23(out, in); in 430 drivers/ssb/pci.c static void sprom_extract_r458(struct ssb_sprom *out, const u16 *in) in 469 drivers/ssb/pci.c static void sprom_extract_r45(struct ssb_sprom *out, const u16 *in) in 486 drivers/ssb/pci.c sprom_get_mac(out->il0mac, &in[SPOFF(il0mac_offset)]); in 535 drivers/ssb/pci.c out->antenna_gain.a0 = sprom_extract_antgain(out->revision, in, in 539 drivers/ssb/pci.c out->antenna_gain.a1 = sprom_extract_antgain(out->revision, in, in 543 drivers/ssb/pci.c out->antenna_gain.a2 = sprom_extract_antgain(out->revision, in, in 547 drivers/ssb/pci.c out->antenna_gain.a3 = sprom_extract_antgain(out->revision, in, in 589 drivers/ssb/pci.c sprom_extract_r458(out, in); in 594 drivers/ssb/pci.c static void sprom_extract_r8(struct ssb_sprom *out, const u16 *in) in 606 drivers/ssb/pci.c sprom_get_mac(out->il0mac, &in[SPOFF(SSB_SPROM8_IL0MAC)]); in 677 drivers/ssb/pci.c out->antenna_gain.a0 = sprom_extract_antgain(out->revision, in, in 681 drivers/ssb/pci.c out->antenna_gain.a1 = sprom_extract_antgain(out->revision, in, in 685 drivers/ssb/pci.c out->antenna_gain.a2 = sprom_extract_antgain(out->revision, in, in 689 drivers/ssb/pci.c out->antenna_gain.a3 = sprom_extract_antgain(out->revision, in, in 806 drivers/ssb/pci.c sprom_extract_r458(out, in); in 812 drivers/ssb/pci.c const u16 *in, u16 size) in 816 drivers/ssb/pci.c out->revision = in[size - 1] & 0x00FF; in 833 drivers/ssb/pci.c sprom_extract_r123(out, in); in 837 drivers/ssb/pci.c sprom_extract_r45(out, in); in 840 drivers/ssb/pci.c sprom_extract_r8(out, in); in 846 drivers/ssb/pci.c sprom_extract_r123(out, in); in 72 drivers/staging/fwserial/dma_fifo.c fifo->in = 0; in 122 drivers/staging/fwserial/dma_fifo.c fifo->in = 0; in 153 drivers/staging/fwserial/dma_fifo.c ofs = fifo->in % fifo->capacity; in 158 drivers/staging/fwserial/dma_fifo.c if (FAIL(fifo, addr_check(fifo->done, fifo->in, fifo->in + n) || in 161 drivers/staging/fwserial/dma_fifo.c fifo->in, fifo->out, fifo->done, n, fifo->avail)) in 164 drivers/staging/fwserial/dma_fifo.c fifo->in += n; in 167 drivers/staging/fwserial/dma_fifo.c df_trace("in:%u out:%u done:%u n:%d avail:%d", fifo->in, fifo->out, in 195 drivers/staging/fwserial/dma_fifo.c len = fifo->in - fifo->out; in 210 drivers/staging/fwserial/dma_fifo.c fifo->in = fifo->out; in 213 drivers/staging/fwserial/dma_fifo.c fifo->in = fifo->out; in 216 drivers/staging/fwserial/dma_fifo.c df_trace("in: %u out: %u done: %u n: %d len: %u avail: %d", fifo->in, in 272 drivers/staging/fwserial/dma_fifo.c addr_check(fifo->in, fifo->done, pending->next), in 274 drivers/staging/fwserial/dma_fifo.c fifo->in, fifo->out, fifo->done, pending->out, in 283 drivers/staging/fwserial/dma_fifo.c df_trace("in: %u out: %u done: %u len: %u avail: %d", fifo->in, in 39 drivers/staging/fwserial/dma_fifo.h unsigned int in; in 94 drivers/staging/fwserial/dma_fifo.h return fifo->in - fifo->out; in 232 drivers/staging/greybus/light.c gb_lights_fade_attr(in); in 161 drivers/staging/isdn/gigaset/capi.c static int encode_ie(char *in, u8 *out, int maxlen) in 164 drivers/staging/isdn/gigaset/capi.c while (*in) { in 165 drivers/staging/isdn/gigaset/capi.c if (!isxdigit(in[0]) || !isxdigit(in[1]) || l >= maxlen) in 167 drivers/staging/isdn/gigaset/capi.c out[++l] = (hex_to_bin(in[0]) << 4) + hex_to_bin(in[1]); in 168 drivers/staging/isdn/gigaset/capi.c in += 2; in 178 drivers/staging/isdn/gigaset/capi.c static void decode_ie(u8 *in, char *out) in 180 drivers/staging/isdn/gigaset/capi.c int i = *in; in 183 drivers/staging/isdn/gigaset/capi.c *out++ = toupper(hex_asc_hi(*++in)); in 184 drivers/staging/isdn/gigaset/capi.c *out++ = toupper(hex_asc_lo(*in)); in 654 drivers/staging/isdn/gigaset/gigaset.h int gigaset_isoc_buildframe(struct bc_state *bcs, unsigned char *in, int len); in 395 drivers/staging/isdn/gigaset/isocdata.c unsigned char *in, int count) in 409 drivers/staging/isdn/gigaset/isocdata.c dump_bytes(DEBUG_STREAM_DUMP, "snd data", in, count); in 415 drivers/staging/isdn/gigaset/isocdata.c c = *in++; in 448 drivers/staging/isdn/gigaset/isocdata.c unsigned char *in, int count) in 463 drivers/staging/isdn/gigaset/isocdata.c dump_bytes(DEBUG_STREAM_DUMP, "snd data", in, count); in 467 drivers/staging/isdn/gigaset/isocdata.c c = bitrev8(*in++); in 477 drivers/staging/isdn/gigaset/isocdata.c int gigaset_isoc_buildframe(struct bc_state *bcs, unsigned char *in, int len) in 483 drivers/staging/isdn/gigaset/isocdata.c result = hdlc_buildframe(bcs->hw.bas->isooutbuf, in, len); in 488 drivers/staging/isdn/gigaset/isocdata.c result = trans_buildframe(bcs->hw.bas->isooutbuf, in, len); in 507 drivers/staging/media/imx/imx-media-csc-scaler.c struct ipu_image in, out; in 522 drivers/staging/media/imx/imx-media-csc-scaler.c ipu_image_from_q_data(&in, q_data); in 527 drivers/staging/media/imx/imx-media-csc-scaler.c ctx->icc = ipu_image_convert_prepare(ipu, ic_task, &in, &out, in 863 drivers/staging/media/imx/imx-media-csi.c static const struct csi_skip_desc *csi_find_best_skip(struct v4l2_fract *in, in 873 drivers/staging/media/imx/imx-media-csi.c in->numerator == 0 || in->denominator == 0) { in 874 drivers/staging/media/imx/imx-media-csi.c *out = *in; in 884 drivers/staging/media/imx/imx-media-csi.c tmp = div_u64((u64)USEC_PER_SEC * in->numerator * in 885 drivers/staging/media/imx/imx-media-csi.c skip->max_ratio, in->denominator * skip->keep); in 894 drivers/staging/media/imx/imx-media-csi.c *out = *in; in 1431 drivers/staging/media/ipu3/ipu3-abi.h struct imgu_abi_frame_sp in; in 919 drivers/staging/media/ipu3/ipu3-css.c sp_stage->frames.in.buf_attr = buffer_sp_init; in 938 drivers/staging/media/ipu3/ipu3-css.c sp_stage->frames.in.info.res.width = in 940 drivers/staging/media/ipu3/ipu3-css.c sp_stage->frames.in.info.res.height = in 942 drivers/staging/media/ipu3/ipu3-css.c sp_stage->frames.in.info.padded_width = in 944 drivers/staging/media/ipu3/ipu3-css.c sp_stage->frames.in.info.format = in 946 drivers/staging/media/ipu3/ipu3-css.c sp_stage->frames.in.info.raw_bit_depth = in 948 drivers/staging/media/ipu3/ipu3-css.c sp_stage->frames.in.info.raw_bayer_order = in 950 drivers/staging/media/ipu3/ipu3-css.c sp_stage->frames.in.info.raw_type = IMGU_ABI_RAW_TYPE_BAYER; in 951 drivers/staging/media/ipu3/ipu3-css.c sp_stage->frames.in.buf_attr.buf_src.queue_id = IMGU_ABI_QUEUE_C_ID; in 952 drivers/staging/media/ipu3/ipu3-css.c sp_stage->frames.in.buf_attr.buf_type = in 1604 drivers/staging/media/ipu3/ipu3-css.c const struct v4l2_pix_format_mplane *in = in 1656 drivers/staging/media/ipu3/ipu3-css.c if (in->width < bi->info.isp.sp.input.min_width || in 1657 drivers/staging/media/ipu3/ipu3-css.c in->width > bi->info.isp.sp.input.max_width || in 1658 drivers/staging/media/ipu3/ipu3-css.c in->height < bi->info.isp.sp.input.min_height || in 1659 drivers/staging/media/ipu3/ipu3-css.c in->height > bi->info.isp.sp.input.max_height) in 1748 drivers/staging/media/ipu3/ipu3-css.c struct v4l2_pix_format_mplane *in, *out, *vf; in 1755 drivers/staging/media/ipu3/ipu3-css.c in = &q[IPU3_CSS_QUEUE_IN].fmt.mpix; in 1800 drivers/staging/media/ipu3/ipu3-css.c out->width = in->width; in 1801 drivers/staging/media/ipu3/ipu3-css.c out->height = in->height; in 1804 drivers/staging/media/ipu3/ipu3-css.c eff->width = in->width; in 1805 drivers/staging/media/ipu3/ipu3-css.c eff->height = in->height; in 1816 drivers/staging/media/ipu3/ipu3-css.c in->width = imgu_css_adjust(in->width, 1); in 1817 drivers/staging/media/ipu3/ipu3-css.c in->height = imgu_css_adjust(in->height, 1); in 1865 drivers/staging/media/ipu3/ipu3-css.c in->width, in->height, eff->width, eff->height, in 5080 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct rtw_ieee80211_channel *in, u32 in_num) in 5092 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c set_idx = rtw_ch_set_search_ch(pmlmeext->channel_set, in[i].hw_value); in 5093 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (in[i].hw_value && !(in[i].flags & RTW_IEEE80211_CHAN_DISABLED) && in 5095 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c out[j] = in[i]; in 785 drivers/staging/rtl8188eu/core/rtw_security.c static void byte_sub(u8 *in, u8 *out); in 786 drivers/staging/rtl8188eu/core/rtw_security.c static void shift_row(u8 *in, u8 *out); in 787 drivers/staging/rtl8188eu/core/rtw_security.c static void mix_column(u8 *in, u8 *out); in 840 drivers/staging/rtl8188eu/core/rtw_security.c static void byte_sub(u8 *in, u8 *out) in 844 drivers/staging/rtl8188eu/core/rtw_security.c out[i] = sbox(in[i]); in 847 drivers/staging/rtl8188eu/core/rtw_security.c static void shift_row(u8 *in, u8 *out) in 849 drivers/staging/rtl8188eu/core/rtw_security.c out[0] = in[0]; in 850 drivers/staging/rtl8188eu/core/rtw_security.c out[1] = in[5]; in 851 drivers/staging/rtl8188eu/core/rtw_security.c out[2] = in[10]; in 852 drivers/staging/rtl8188eu/core/rtw_security.c out[3] = in[15]; in 853 drivers/staging/rtl8188eu/core/rtw_security.c out[4] = in[4]; in 854 drivers/staging/rtl8188eu/core/rtw_security.c out[5] = in[9]; in 855 drivers/staging/rtl8188eu/core/rtw_security.c out[6] = in[14]; in 856 drivers/staging/rtl8188eu/core/rtw_security.c out[7] = in[3]; in 857 drivers/staging/rtl8188eu/core/rtw_security.c out[8] = in[8]; in 858 drivers/staging/rtl8188eu/core/rtw_security.c out[9] = in[13]; in 859 drivers/staging/rtl8188eu/core/rtw_security.c out[10] = in[2]; in 860 drivers/staging/rtl8188eu/core/rtw_security.c out[11] = in[7]; in 861 drivers/staging/rtl8188eu/core/rtw_security.c out[12] = in[12]; in 862 drivers/staging/rtl8188eu/core/rtw_security.c out[13] = in[1]; in 863 drivers/staging/rtl8188eu/core/rtw_security.c out[14] = in[6]; in 864 drivers/staging/rtl8188eu/core/rtw_security.c out[15] = in[11]; in 867 drivers/staging/rtl8188eu/core/rtw_security.c static void mix_column(u8 *in, u8 *out) in 880 drivers/staging/rtl8188eu/core/rtw_security.c if ((in[i] & 0x80) == 0x80) in 886 drivers/staging/rtl8188eu/core/rtw_security.c swap_halves[0] = in[2]; /* Swap halves */ in 887 drivers/staging/rtl8188eu/core/rtw_security.c swap_halves[1] = in[3]; in 888 drivers/staging/rtl8188eu/core/rtw_security.c swap_halves[2] = in[0]; in 889 drivers/staging/rtl8188eu/core/rtw_security.c swap_halves[3] = in[1]; in 891 drivers/staging/rtl8188eu/core/rtw_security.c rotl[0] = in[3]; /* Rotate left 8 bits */ in 892 drivers/staging/rtl8188eu/core/rtw_security.c rotl[1] = in[0]; in 893 drivers/staging/rtl8188eu/core/rtw_security.c rotl[2] = in[1]; in 894 drivers/staging/rtl8188eu/core/rtw_security.c rotl[3] = in[2]; in 896 drivers/staging/rtl8188eu/core/rtw_security.c andf7[0] = in[0] & 0x7f; in 897 drivers/staging/rtl8188eu/core/rtw_security.c andf7[1] = in[1] & 0x7f; in 898 drivers/staging/rtl8188eu/core/rtw_security.c andf7[2] = in[2] & 0x7f; in 899 drivers/staging/rtl8188eu/core/rtw_security.c andf7[3] = in[3] & 0x7f; in 911 drivers/staging/rtl8188eu/core/rtw_security.c xor_32(in, add1bf7, rotr); in 782 drivers/staging/rtl8712/rtl871x_security.c static void byte_sub(u8 *in, u8 *out) in 787 drivers/staging/rtl8712/rtl871x_security.c out[i] = sbox(in[i]); in 790 drivers/staging/rtl8712/rtl871x_security.c static void shift_row(u8 *in, u8 *out) in 792 drivers/staging/rtl8712/rtl871x_security.c out[0] = in[0]; in 793 drivers/staging/rtl8712/rtl871x_security.c out[1] = in[5]; in 794 drivers/staging/rtl8712/rtl871x_security.c out[2] = in[10]; in 795 drivers/staging/rtl8712/rtl871x_security.c out[3] = in[15]; in 796 drivers/staging/rtl8712/rtl871x_security.c out[4] = in[4]; in 797 drivers/staging/rtl8712/rtl871x_security.c out[5] = in[9]; in 798 drivers/staging/rtl8712/rtl871x_security.c out[6] = in[14]; in 799 drivers/staging/rtl8712/rtl871x_security.c out[7] = in[3]; in 800 drivers/staging/rtl8712/rtl871x_security.c out[8] = in[8]; in 801 drivers/staging/rtl8712/rtl871x_security.c out[9] = in[13]; in 802 drivers/staging/rtl8712/rtl871x_security.c out[10] = in[2]; in 803 drivers/staging/rtl8712/rtl871x_security.c out[11] = in[7]; in 804 drivers/staging/rtl8712/rtl871x_security.c out[12] = in[12]; in 805 drivers/staging/rtl8712/rtl871x_security.c out[13] = in[1]; in 806 drivers/staging/rtl8712/rtl871x_security.c out[14] = in[6]; in 807 drivers/staging/rtl8712/rtl871x_security.c out[15] = in[11]; in 810 drivers/staging/rtl8712/rtl871x_security.c static void mix_column(u8 *in, u8 *out) in 823 drivers/staging/rtl8712/rtl871x_security.c if ((in[i] & 0x80) == 0x80) in 828 drivers/staging/rtl8712/rtl871x_security.c swap_halves[0] = in[2]; /* Swap halves */ in 829 drivers/staging/rtl8712/rtl871x_security.c swap_halves[1] = in[3]; in 830 drivers/staging/rtl8712/rtl871x_security.c swap_halves[2] = in[0]; in 831 drivers/staging/rtl8712/rtl871x_security.c swap_halves[3] = in[1]; in 832 drivers/staging/rtl8712/rtl871x_security.c rotl[0] = in[3]; /* Rotate left 8 bits */ in 833 drivers/staging/rtl8712/rtl871x_security.c rotl[1] = in[0]; in 834 drivers/staging/rtl8712/rtl871x_security.c rotl[2] = in[1]; in 835 drivers/staging/rtl8712/rtl871x_security.c rotl[3] = in[2]; in 836 drivers/staging/rtl8712/rtl871x_security.c andf7[0] = in[0] & 0x7f; in 837 drivers/staging/rtl8712/rtl871x_security.c andf7[1] = in[1] & 0x7f; in 838 drivers/staging/rtl8712/rtl871x_security.c andf7[2] = in[2] & 0x7f; in 839 drivers/staging/rtl8712/rtl871x_security.c andf7[3] = in[3] & 0x7f; in 848 drivers/staging/rtl8712/rtl871x_security.c xor_32(in, add1bf7, rotr); in 6283 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u32 out_num, struct rtw_ieee80211_channel *in, u32 in_num) in 6296 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c DBG_871X(FUNC_ADPT_FMT" "CHAN_FMT"\n", FUNC_ADPT_ARG(padapter), CHAN_ARG(&in[i])); in 6298 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c set_idx = rtw_ch_set_search_ch(pmlmeext->channel_set, in[i].hw_value); in 6299 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (in[i].hw_value && !(in[i].flags & RTW_IEEE80211_CHAN_DISABLED) in 6301 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c && rtw_mlme_band_check(padapter, in[i].hw_value) in 6309 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy(&out[j], &in[i], sizeof(struct rtw_ieee80211_channel)); in 951 drivers/staging/rtl8723bs/core/rtw_security.c static void byte_sub(u8 *in, u8 *out); in 952 drivers/staging/rtl8723bs/core/rtw_security.c static void shift_row(u8 *in, u8 *out); in 953 drivers/staging/rtl8723bs/core/rtw_security.c static void mix_column(u8 *in, u8 *out); in 1013 drivers/staging/rtl8723bs/core/rtw_security.c static void byte_sub(u8 *in, u8 *out) in 1018 drivers/staging/rtl8723bs/core/rtw_security.c out[i] = sbox(in[i]); in 1023 drivers/staging/rtl8723bs/core/rtw_security.c static void shift_row(u8 *in, u8 *out) in 1025 drivers/staging/rtl8723bs/core/rtw_security.c out[0] = in[0]; in 1026 drivers/staging/rtl8723bs/core/rtw_security.c out[1] = in[5]; in 1027 drivers/staging/rtl8723bs/core/rtw_security.c out[2] = in[10]; in 1028 drivers/staging/rtl8723bs/core/rtw_security.c out[3] = in[15]; in 1029 drivers/staging/rtl8723bs/core/rtw_security.c out[4] = in[4]; in 1030 drivers/staging/rtl8723bs/core/rtw_security.c out[5] = in[9]; in 1031 drivers/staging/rtl8723bs/core/rtw_security.c out[6] = in[14]; in 1032 drivers/staging/rtl8723bs/core/rtw_security.c out[7] = in[3]; in 1033 drivers/staging/rtl8723bs/core/rtw_security.c out[8] = in[8]; in 1034 drivers/staging/rtl8723bs/core/rtw_security.c out[9] = in[13]; in 1035 drivers/staging/rtl8723bs/core/rtw_security.c out[10] = in[2]; in 1036 drivers/staging/rtl8723bs/core/rtw_security.c out[11] = in[7]; in 1037 drivers/staging/rtl8723bs/core/rtw_security.c out[12] = in[12]; in 1038 drivers/staging/rtl8723bs/core/rtw_security.c out[13] = in[1]; in 1039 drivers/staging/rtl8723bs/core/rtw_security.c out[14] = in[6]; in 1040 drivers/staging/rtl8723bs/core/rtw_security.c out[15] = in[11]; in 1044 drivers/staging/rtl8723bs/core/rtw_security.c static void mix_column(u8 *in, u8 *out) in 1057 drivers/staging/rtl8723bs/core/rtw_security.c if ((in[i] & 0x80) == 0x80) in 1063 drivers/staging/rtl8723bs/core/rtw_security.c swap_halfs[0] = in[2]; /* Swap halfs */ in 1064 drivers/staging/rtl8723bs/core/rtw_security.c swap_halfs[1] = in[3]; in 1065 drivers/staging/rtl8723bs/core/rtw_security.c swap_halfs[2] = in[0]; in 1066 drivers/staging/rtl8723bs/core/rtw_security.c swap_halfs[3] = in[1]; in 1068 drivers/staging/rtl8723bs/core/rtw_security.c rotl[0] = in[3]; /* Rotate left 8 bits */ in 1069 drivers/staging/rtl8723bs/core/rtw_security.c rotl[1] = in[0]; in 1070 drivers/staging/rtl8723bs/core/rtw_security.c rotl[2] = in[1]; in 1071 drivers/staging/rtl8723bs/core/rtw_security.c rotl[3] = in[2]; in 1073 drivers/staging/rtl8723bs/core/rtw_security.c andf7[0] = in[0] & 0x7f; in 1074 drivers/staging/rtl8723bs/core/rtw_security.c andf7[1] = in[1] & 0x7f; in 1075 drivers/staging/rtl8723bs/core/rtw_security.c andf7[2] = in[2] & 0x7f; in 1076 drivers/staging/rtl8723bs/core/rtw_security.c andf7[3] = in[3] & 0x7f; in 1088 drivers/staging/rtl8723bs/core/rtw_security.c xor_32(in, add1bf7, rotr); in 265 drivers/staging/rtl8723bs/include/hal_com.h bool GetU1ByteIntegerFromStringInDecimal(char *str, u8 *in); in 247 drivers/thunderbolt/dma_port.c u32 in; in 249 drivers/thunderbolt/dma_port.c ret = dma_port_read(sw->tb->ctl, &in, tb_route(sw), dma->port, in 254 drivers/thunderbolt/dma_port.c } else if (!(in & MAIL_IN_OP_REQUEST)) { in 278 drivers/thunderbolt/dma_port.c static int dma_port_request(struct tb_dma_port *dma, u32 in, in 285 drivers/thunderbolt/dma_port.c ret = dma_port_write(sw->tb->ctl, &in, tb_route(sw), dma->port, in 306 drivers/thunderbolt/dma_port.c u32 in, dwaddress, dwords; in 312 drivers/thunderbolt/dma_port.c in = MAIL_IN_CMD_FLASH_READ << MAIL_IN_CMD_SHIFT; in 314 drivers/thunderbolt/dma_port.c in |= (dwords << MAIL_IN_DWORDS_SHIFT) & MAIL_IN_DWORDS_MASK; in 315 drivers/thunderbolt/dma_port.c in |= (dwaddress << MAIL_IN_ADDRESS_SHIFT) & MAIL_IN_ADDRESS_MASK; in 316 drivers/thunderbolt/dma_port.c in |= MAIL_IN_OP_REQUEST; in 318 drivers/thunderbolt/dma_port.c ret = dma_port_request(dma, in, DMA_PORT_TIMEOUT); in 330 drivers/thunderbolt/dma_port.c u32 in, dwaddress, dwords; in 339 drivers/thunderbolt/dma_port.c in = MAIL_IN_CMD_FLASH_WRITE << MAIL_IN_CMD_SHIFT; in 344 drivers/thunderbolt/dma_port.c in |= MAIL_IN_CSS; in 349 drivers/thunderbolt/dma_port.c in |= ((dwords - 1) << MAIL_IN_DWORDS_SHIFT) & MAIL_IN_DWORDS_MASK; in 350 drivers/thunderbolt/dma_port.c in |= (dwaddress << MAIL_IN_ADDRESS_SHIFT) & MAIL_IN_ADDRESS_MASK; in 351 drivers/thunderbolt/dma_port.c in |= MAIL_IN_OP_REQUEST; in 353 drivers/thunderbolt/dma_port.c return dma_port_request(dma, in, DMA_PORT_TIMEOUT); in 460 drivers/thunderbolt/dma_port.c u32 in; in 462 drivers/thunderbolt/dma_port.c in = MAIL_IN_CMD_FLASH_UPDATE_AUTH << MAIL_IN_CMD_SHIFT; in 463 drivers/thunderbolt/dma_port.c in |= MAIL_IN_OP_REQUEST; in 465 drivers/thunderbolt/dma_port.c return dma_port_request(dma, in, 150); in 513 drivers/thunderbolt/dma_port.c u32 in; in 515 drivers/thunderbolt/dma_port.c in = MAIL_IN_CMD_POWER_CYCLE << MAIL_IN_CMD_SHIFT; in 516 drivers/thunderbolt/dma_port.c in |= MAIL_IN_OP_REQUEST; in 518 drivers/thunderbolt/dma_port.c return dma_port_request(dma, in, 150); in 678 drivers/thunderbolt/switch.c static int tb_port_alloc_hopid(struct tb_port *port, bool in, int min_hopid, in 684 drivers/thunderbolt/switch.c if (in) { in 366 drivers/thunderbolt/tb.c struct tb_port *in; in 375 drivers/thunderbolt/tb.c in = tb_find_unused_port(sw, TB_TYPE_DP_HDMI_IN); in 376 drivers/thunderbolt/tb.c } while (!in); in 378 drivers/thunderbolt/tb.c tunnel = tb_tunnel_alloc_dp(tb, in, out); in 231 drivers/thunderbolt/tunnel.c struct tb_port *in = tunnel->src_port; in 239 drivers/thunderbolt/tunnel.c if (in->sw->generation < 2 || out->sw->generation < 2) in 243 drivers/thunderbolt/tunnel.c ret = tb_port_read(in, &in_dp_cap, TB_CFG_PORT, in 244 drivers/thunderbolt/tunnel.c in->cap_adap + TB_DP_LOCAL_CAP, 1); in 259 drivers/thunderbolt/tunnel.c return tb_port_write(in, &out_dp_cap, TB_CFG_PORT, in 260 drivers/thunderbolt/tunnel.c in->cap_adap + TB_DP_REMOTE_CAP, 1); in 349 drivers/thunderbolt/tunnel.c struct tb_tunnel *tb_tunnel_discover_dp(struct tb *tb, struct tb_port *in) in 355 drivers/thunderbolt/tunnel.c if (!tb_dp_port_is_enabled(in)) in 364 drivers/thunderbolt/tunnel.c tunnel->src_port = in; in 366 drivers/thunderbolt/tunnel.c path = tb_path_discover(in, TB_DP_VIDEO_HOPID, NULL, -1, in 370 drivers/thunderbolt/tunnel.c tb_dp_port_enable(in, false); in 376 drivers/thunderbolt/tunnel.c path = tb_path_discover(in, TB_DP_AUX_TX_HOPID, NULL, -1, NULL, "AUX TX"); in 382 drivers/thunderbolt/tunnel.c path = tb_path_discover(tunnel->dst_port, -1, in, TB_DP_AUX_RX_HOPID, in 391 drivers/thunderbolt/tunnel.c tb_port_warn(in, "path does not end on a DP adapter, cleaning up\n"); in 428 drivers/thunderbolt/tunnel.c struct tb_tunnel *tb_tunnel_alloc_dp(struct tb *tb, struct tb_port *in, in 435 drivers/thunderbolt/tunnel.c if (WARN_ON(!in->cap_adap || !out->cap_adap)) in 444 drivers/thunderbolt/tunnel.c tunnel->src_port = in; in 449 drivers/thunderbolt/tunnel.c path = tb_path_alloc(tb, in, TB_DP_VIDEO_HOPID, out, TB_DP_VIDEO_HOPID, in 456 drivers/thunderbolt/tunnel.c path = tb_path_alloc(tb, in, TB_DP_AUX_TX_HOPID, out, in 463 drivers/thunderbolt/tunnel.c path = tb_path_alloc(tb, out, TB_DP_AUX_RX_HOPID, in, in 48 drivers/thunderbolt/tunnel.h struct tb_tunnel *tb_tunnel_discover_dp(struct tb *tb, struct tb_port *in); in 49 drivers/thunderbolt/tunnel.h struct tb_tunnel *tb_tunnel_alloc_dp(struct tb *tb, struct tb_port *in, in 141 drivers/tty/hvc/hvc_xen.c BUG_ON((prod - cons) > sizeof(intf->in)); in 144 drivers/tty/hvc/hvc_xen.c buf[recv++] = intf->in[MASK_XENCONS_IDX(cons++, intf->in)]; in 72 drivers/tty/serial/uartlite.c u32 (*in)(void __iomem *addr); in 87 drivers/tty/serial/uartlite.c .in = uartlite_inbe32, in 102 drivers/tty/serial/uartlite.c .in = uartlite_inle32, in 110 drivers/tty/serial/uartlite.c return pdata->reg_ops->in(port->membase + offset); in 580 drivers/usb/class/cdc-acm.c usb_clear_halt(acm->dev, acm->in); in 1365 drivers/usb/class/cdc-acm.c acm->in = usb_rcvintpipe(usb_dev, epread->bEndpointAddress); in 1367 drivers/usb/class/cdc-acm.c acm->in = usb_rcvbulkpipe(usb_dev, epread->bEndpointAddress); in 1406 drivers/usb/class/cdc-acm.c usb_fill_int_urb(urb, acm->dev, acm->in, rb->base, in 1411 drivers/usb/class/cdc-acm.c usb_fill_bulk_urb(urb, acm->dev, acm->in, rb->base, in 1503 drivers/usb/class/cdc-acm.c usb_clear_halt(usb_dev, acm->in); in 87 drivers/usb/class/cdc-acm.h unsigned in, out; /* i/o pipes */ in 89 drivers/usb/core/endpoint.c unsigned in; in 91 drivers/usb/core/endpoint.c in = (ep->desc->bEndpointAddress & USB_DIR_IN); in 105 drivers/usb/core/endpoint.c if (ep->udev->speed == USB_SPEED_HIGH && !in) in 154 drivers/usb/dwc2/debugfs.c u32 in, out; in 156 drivers/usb/dwc2/debugfs.c in = dwc2_readl(hsotg, DIEPCTL(idx)); in 160 drivers/usb/dwc2/debugfs.c idx, in, out); in 162 drivers/usb/dwc2/debugfs.c in = dwc2_readl(hsotg, DIEPTSIZ(idx)); in 166 drivers/usb/dwc2/debugfs.c in, out); in 328 drivers/usb/early/xhci-dbc.c ep_in = (struct xdbc_ep_context *)&ctx->in; in 85 drivers/usb/early/xhci-dbc.h struct xdbc_ep_context in; in 444 drivers/usb/gadget/function/f_acm.c if (!acm->port.in->desc || !acm->port.out->desc) { in 448 drivers/usb/gadget/function/f_acm.c acm->port.in) || in 451 drivers/usb/gadget/function/f_acm.c acm->port.in->desc = NULL; in 652 drivers/usb/gadget/function/f_acm.c acm->port.in = ep; in 696 drivers/usb/gadget/function/f_acm.c acm->port.in->name, acm->port.out->name, in 338 drivers/usb/gadget/function/f_eem.c struct usb_ep *in = port->in_ep; in 352 drivers/usb/gadget/function/f_eem.c if (((len + EEM_HLEN + ETH_FCS_LEN) % in->maxpacket) == 0) in 198 drivers/usb/gadget/function/f_fs.c unsigned char in; /* P: ffs->eps_lock */ in 969 drivers/usb/gadget/function/f_fs.c halt = (!io_data->read == !epfile->in); in 1984 drivers/usb/gadget/function/f_fs.c epfile->in = usb_endpoint_dir_in(ep->ep->desc); in 205 drivers/usb/gadget/function/f_obex.c if (obex->port.in->enabled) { in 211 drivers/usb/gadget/function/f_obex.c if (!obex->port.in->desc || !obex->port.out->desc) { in 215 drivers/usb/gadget/function/f_obex.c obex->port.in) || in 219 drivers/usb/gadget/function/f_obex.c obex->port.in->desc = NULL; in 346 drivers/usb/gadget/function/f_obex.c obex->port.in = ep; in 371 drivers/usb/gadget/function/f_obex.c obex->port.in->name, obex->port.out->name); in 153 drivers/usb/gadget/function/f_serial.c if (gser->port.in->enabled) { in 158 drivers/usb/gadget/function/f_serial.c if (!gser->port.in->desc || !gser->port.out->desc) { in 161 drivers/usb/gadget/function/f_serial.c if (config_ep_by_speed(cdev->gadget, f, gser->port.in) || in 163 drivers/usb/gadget/function/f_serial.c gser->port.in->desc = NULL; in 218 drivers/usb/gadget/function/f_serial.c gser->port.in = ep; in 243 drivers/usb/gadget/function/f_serial.c gser->port.in->name, gser->port.out->name); in 305 drivers/usb/gadget/function/f_sourcesink.c struct usb_ep *in, struct usb_ep *out, in 308 drivers/usb/gadget/function/f_sourcesink.c disable_ep(cdev, in); in 70 drivers/usb/gadget/function/g_zero.h struct usb_ep *in, struct usb_ep *out, in 480 drivers/usb/gadget/function/u_ether.c struct usb_ep *in; in 485 drivers/usb/gadget/function/u_ether.c in = dev->port_usb->in_ep; in 488 drivers/usb/gadget/function/u_ether.c in = NULL; in 493 drivers/usb/gadget/function/u_ether.c if (skb && !in) { in 570 drivers/usb/gadget/function/u_ether.c (length % in->maxpacket) == 0) in 579 drivers/usb/gadget/function/u_ether.c if (req->zero && !dev->zlp && (length % in->maxpacket) == 0) in 584 drivers/usb/gadget/function/u_ether.c retval = usb_ep_queue(in, req, GFP_ATOMIC); in 657 drivers/usb/gadget/function/u_ether.c const struct usb_endpoint_descriptor *in; in 672 drivers/usb/gadget/function/u_ether.c in = link->in_ep->desc; in 678 drivers/usb/gadget/function/u_ether.c link->in_ep->desc = in; in 230 drivers/usb/gadget/function/u_serial.c struct usb_ep *in; in 237 drivers/usb/gadget/function/u_serial.c in = port->port_usb->in; in 247 drivers/usb/gadget/function/u_serial.c len = gs_send_packet(port, req->buf, in->maxpacket); in 271 drivers/usb/gadget/function/u_serial.c status = usb_ep_queue(in, req, GFP_ATOMIC); in 277 drivers/usb/gadget/function/u_serial.c __func__, "queue", in->name, status); in 552 drivers/usb/gadget/function/u_serial.c status = gs_alloc_requests(port->port_usb->in, &port->write_pool, in 570 drivers/usb/gadget/function/u_serial.c gs_free_requests(port->port_usb->in, &port->write_pool, in 958 drivers/usb/gadget/function/u_serial.c ep = port->port_usb->in; in 995 drivers/usb/gadget/function/u_serial.c || !port->port_usb->in || !info->console_req) in 999 drivers/usb/gadget/function/u_serial.c ep = port->port_usb->in; in 1299 drivers/usb/gadget/function/u_serial.c status = usb_ep_enable(gser->in); in 1302 drivers/usb/gadget/function/u_serial.c gser->in->driver_data = port; in 1340 drivers/usb/gadget/function/u_serial.c usb_ep_disable(gser->in); in 1380 drivers/usb/gadget/function/u_serial.c usb_ep_disable(gser->in); in 1388 drivers/usb/gadget/function/u_serial.c gs_free_requests(gser->in, &port->write_pool, NULL); in 1393 drivers/usb/gadget/function/u_serial.c gs_console_disconnect(gser->in); in 40 drivers/usb/gadget/function/u_serial.h struct usb_ep *in; in 263 drivers/usb/gadget/legacy/dbgp.c dbgp.serial->in = dbgp.i_ep; in 266 drivers/usb/gadget/legacy/dbgp.c dbgp.serial->in->desc = &i_desc; in 525 drivers/usb/gadget/udc/amd5536udc.h in : 1; in 1067 drivers/usb/gadget/udc/fusb300_udc.c u8 in; in 1242 drivers/usb/gadget/udc/fusb300_udc.c in = (reg & FUSB300_EPSET1_DIRIN) ? 1 : 0; in 1243 drivers/usb/gadget/udc/fusb300_udc.c if (in) in 177 drivers/usb/gadget/udc/pch_udc.c #define PCH_UDC_EPINT(in, num)\ in 178 drivers/usb/gadget/udc/pch_udc.c (1 << (num + (in ? UDC_EPINT_IN_SHIFT : UDC_EPINT_OUT_SHIFT))) in 297 drivers/usb/gadget/udc/pch_udc.c in:1, in 623 drivers/usb/gadget/udc/pch_udc.c if (ep->in) { in 935 drivers/usb/gadget/udc/pch_udc.c if (!ep->in) { in 951 drivers/usb/gadget/udc/pch_udc.c __func__, ep->num, (ep->in ? "in" : "out")); in 982 drivers/usb/gadget/udc/pch_udc.c if (ep->in) in 986 drivers/usb/gadget/udc/pch_udc.c pch_udc_ep_set_bufsz(ep, buff_size, ep->in); in 989 drivers/usb/gadget/udc/pch_udc.c pch_udc_ep_fifo_flush(ep, ep->in); in 991 drivers/usb/gadget/udc/pch_udc.c val = ep->num << UDC_CSR_NE_NUM_SHIFT | ep->in << UDC_CSR_NE_DIR_SHIFT | in 999 drivers/usb/gadget/udc/pch_udc.c if (ep->in) in 1011 drivers/usb/gadget/udc/pch_udc.c if (ep->in) { in 1450 drivers/usb/gadget/udc/pch_udc.c if (ep->in) in 1460 drivers/usb/gadget/udc/pch_udc.c if (ep->in) in 1477 drivers/usb/gadget/udc/pch_udc.c if (!ep->in) in 1609 drivers/usb/gadget/udc/pch_udc.c if (ep->in) in 1702 drivers/usb/gadget/udc/pch_udc.c pch_udc_enable_ep_interrupts(ep->dev, PCH_UDC_EPINT(ep->in, ep->num)); in 1732 drivers/usb/gadget/udc/pch_udc.c pch_udc_disable_ep_interrupts(ep->dev, PCH_UDC_EPINT(ep->in, ep->num)); in 1849 drivers/usb/gadget/udc/pch_udc.c if (ep->in) in 1865 drivers/usb/gadget/udc/pch_udc.c if (ep->in) { in 1894 drivers/usb/gadget/udc/pch_udc.c if (!ep->in) { in 1983 drivers/usb/gadget/udc/pch_udc.c ep->dev, PCH_UDC_EPINT(ep->in, ep->num)); in 2026 drivers/usb/gadget/udc/pch_udc.c PCH_UDC_EPINT(ep->in, ep->num)); in 2047 drivers/usb/gadget/udc/pch_udc.c pch_udc_ep_fifo_flush(ep, ep->in); in 2114 drivers/usb/gadget/udc/pch_udc.c pch_udc_enable_ep_interrupts(ep->dev, PCH_UDC_EPINT(ep->in, ep->num)); in 2151 drivers/usb/gadget/udc/pch_udc.c PCH_UDC_EPINT(ep->in, ep->num)); in 2154 drivers/usb/gadget/udc/pch_udc.c PCH_UDC_EPINT(ep->in, ep->num)); in 2244 drivers/usb/gadget/udc/pch_udc.c PCH_UDC_EPINT(ep->in, ep->num)); in 2252 drivers/usb/gadget/udc/pch_udc.c PCH_UDC_EPINT(ep->in, ep->num)); in 2294 drivers/usb/gadget/udc/pch_udc.c PCH_UDC_EPINT(ep->in, ep->num)); in 2302 drivers/usb/gadget/udc/pch_udc.c PCH_UDC_EPINT(ep->in, ep->num)); in 2310 drivers/usb/gadget/udc/pch_udc.c PCH_UDC_EPINT(ep->in, ep->num)); in 2385 drivers/usb/gadget/udc/pch_udc.c dev->ep[UDC_EP0IN_IDX].in); in 2420 drivers/usb/gadget/udc/pch_udc.c PCH_UDC_EPINT(ep->in, ep->num)); in 2451 drivers/usb/gadget/udc/pch_udc.c pch_udc_enable_ep_interrupts(ep->dev, PCH_UDC_EPINT(ep->in, ep->num)); in 2494 drivers/usb/gadget/udc/pch_udc.c pch_udc_ep_fifo_flush(ep, ep->in); in 2495 drivers/usb/gadget/udc/pch_udc.c pch_udc_ep_set_bufsz(ep, UDC_EP0IN_BUFF_SIZE, ep->in); in 2506 drivers/usb/gadget/udc/pch_udc.c pch_udc_ep_fifo_flush(ep, ep->in); in 2507 drivers/usb/gadget/udc/pch_udc.c pch_udc_ep_set_bufsz(ep, UDC_EP0OUT_BUFF_SIZE, ep->in); in 2560 drivers/usb/gadget/udc/pch_udc.c pch_udc_ep_fifo_flush(ep, ep->in); in 2852 drivers/usb/gadget/udc/pch_udc.c ep->in = ~i & 1; in 2855 drivers/usb/gadget/udc/pch_udc.c if (ep->in) { in 291 drivers/usb/gadget/udc/snps_udc_core.c if (!ep || !(ep->in)) in 366 drivers/usb/gadget/udc/snps_udc_core.c if (ep->in) { in 400 drivers/usb/gadget/udc/snps_udc_core.c if (use_dma && !ep->in) { in 417 drivers/usb/gadget/udc/snps_udc_core.c tmp = AMD_ADDBITS(tmp, ep->in, UDC_CSR_NE_DIR); in 438 drivers/usb/gadget/udc/snps_udc_core.c if (!use_dma || ep->in) { in 474 drivers/usb/gadget/udc/snps_udc_core.c if (ep->in) { in 780 drivers/usb/gadget/udc/snps_udc_core.c if (!ep->in) in 839 drivers/usb/gadget/udc/snps_udc_core.c if (ep->in) { in 857 drivers/usb/gadget/udc/snps_udc_core.c if (ep->in) { in 901 drivers/usb/gadget/udc/snps_udc_core.c if (ep->in) { in 914 drivers/usb/gadget/udc/snps_udc_core.c if (ep->in) { in 978 drivers/usb/gadget/udc/snps_udc_core.c usb_gadget_unmap_request(&dev->gadget, &req->req, ep->in); in 1075 drivers/usb/gadget/udc/snps_udc_core.c VDBG(ep->dev, "udc_queue(): ep%d-in=%d\n", ep->num, ep->in); in 1084 drivers/usb/gadget/udc/snps_udc_core.c retval = usb_gadget_map_request(&udc->gadget, usbreq, ep->in); in 1133 drivers/usb/gadget/udc/snps_udc_core.c if (ep->in) { in 1142 drivers/usb/gadget/udc/snps_udc_core.c if (!ep->in) { in 1177 drivers/usb/gadget/udc/snps_udc_core.c if (ep->in) { in 1183 drivers/usb/gadget/udc/snps_udc_core.c } else if (ep->in) { in 1196 drivers/usb/gadget/udc/snps_udc_core.c if (ep->in) { in 1217 drivers/usb/gadget/udc/snps_udc_core.c if (!ep->in) { in 1276 drivers/usb/gadget/udc/snps_udc_core.c if (ep->in) in 1556 drivers/usb/gadget/udc/snps_udc_core.c ep->in = 1; in 1559 drivers/usb/gadget/udc/snps_udc_core.c ep->in = 0; in 1857 drivers/usb/gadget/udc/snps_udc_core.c dev->ep[UDC_EP0IN_IX].in = 1; in 1858 drivers/usb/gadget/udc/snps_udc_core.c dev->ep[UDC_EP0OUT_IX].in = 0; in 2432 drivers/usb/gadget/udc/snps_udc_core.c } else if (!use_dma && ep->in) { in 2796 drivers/usb/gadget/udc/snps_udc_core.c if (ep->in) { in 2849 drivers/usb/gadget/udc/snps_udc_core.c if (ep->in) { in 130 drivers/usb/host/xhci-dbgcap.h struct dbc_ep *in; in 83 drivers/usb/host/xhci-dbgtty.c status = dbc_ep_queue(port->in, req, GFP_ATOMIC); in 430 drivers/usb/host/xhci-dbgtty.c port->in = get_in_ep(xhci); in 462 drivers/usb/host/xhci-dbgtty.c ret = xhci_dbc_alloc_requests(port->in, &port->read_pool, in 477 drivers/usb/host/xhci-dbgtty.c xhci_dbc_free_requests(port->in, &port->read_pool); in 1372 drivers/usb/host/xhci-mem.c int in; in 1374 drivers/usb/host/xhci-mem.c in = usb_endpoint_dir_in(&ep->desc); in 1380 drivers/usb/host/xhci-mem.c return in ? BULK_IN_EP : BULK_OUT_EP; in 1382 drivers/usb/host/xhci-mem.c return in ? ISOC_IN_EP : ISOC_OUT_EP; in 1384 drivers/usb/host/xhci-mem.c return in ? INT_IN_EP : INT_OUT_EP; in 161 drivers/usb/image/mdc800.c char in [8]; // Command Input Buffer in 824 drivers/usb/image/mdc800.c mdc800->in[mdc800->in_count] = c; in 846 drivers/usb/image/mdc800.c answersize=mdc800_getAnswerSize (mdc800->in[1]); in 849 drivers/usb/image/mdc800.c memcpy (mdc800->write_urb->transfer_buffer, mdc800->in,8); in 869 drivers/usb/image/mdc800.c switch ((unsigned char) mdc800->in[1]) in 914 drivers/usb/image/mdc800.c if (mdc800->in [1] == (char) 0x07) in 129 drivers/usb/misc/usbtest.c struct usb_host_endpoint **in, in 134 drivers/usb/misc/usbtest.c if (!*in) in 135 drivers/usb/misc/usbtest.c *in = e; in 147 drivers/usb/misc/usbtest.c struct usb_host_endpoint *in, *out; in 155 drivers/usb/misc/usbtest.c in = out = NULL; in 176 drivers/usb/misc/usbtest.c endpoint_update(edi, &in, &out, e); in 190 drivers/usb/misc/usbtest.c if ((in && out) || iso_in || iso_out || int_in || int_out) in 206 drivers/usb/misc/usbtest.c if (in) in 208 drivers/usb/misc/usbtest.c in->desc.bEndpointAddress & USB_ENDPOINT_NUMBER_MASK); in 148 drivers/usb/mtu3/mtu3_debugfs.c int in = mep->is_in; in 154 drivers/usb/mtu3/mtu3_debugfs.c regs[0].name = in ? "TCR0" : "RCR0"; in 155 drivers/usb/mtu3/mtu3_debugfs.c regs[0].offset = in ? MU3D_EP_TXCR0(epnum) : MU3D_EP_RXCR0(epnum); in 156 drivers/usb/mtu3/mtu3_debugfs.c regs[1].name = in ? "TCR1" : "RCR1"; in 157 drivers/usb/mtu3/mtu3_debugfs.c regs[1].offset = in ? MU3D_EP_TXCR1(epnum) : MU3D_EP_RXCR1(epnum); in 158 drivers/usb/mtu3/mtu3_debugfs.c regs[2].name = in ? "TCR2" : "RCR2"; in 159 drivers/usb/mtu3/mtu3_debugfs.c regs[2].offset = in ? MU3D_EP_TXCR2(epnum) : MU3D_EP_RXCR2(epnum); in 160 drivers/usb/mtu3/mtu3_debugfs.c regs[3].name = in ? "TQHIAR" : "RQHIAR"; in 161 drivers/usb/mtu3/mtu3_debugfs.c regs[3].offset = in ? USB_QMU_TQHIAR(epnum) : USB_QMU_RQHIAR(epnum); in 162 drivers/usb/mtu3/mtu3_debugfs.c regs[4].name = in ? "TQCSR" : "RQCSR"; in 163 drivers/usb/mtu3/mtu3_debugfs.c regs[4].offset = in ? USB_QMU_TQCSR(epnum) : USB_QMU_RQCSR(epnum); in 164 drivers/usb/mtu3/mtu3_debugfs.c regs[5].name = in ? "TQSAR" : "RQSAR"; in 165 drivers/usb/mtu3/mtu3_debugfs.c regs[5].offset = in ? USB_QMU_TQSAR(epnum) : USB_QMU_RQSAR(epnum); in 166 drivers/usb/mtu3/mtu3_debugfs.c regs[6].name = in ? "TQCPR" : "RQCPR"; in 167 drivers/usb/mtu3/mtu3_debugfs.c regs[6].offset = in ? USB_QMU_TQCPR(epnum) : USB_QMU_RQCPR(epnum); in 94 drivers/usb/usbip/vudc_sysfs.c const char *in, size_t count) in 104 drivers/usb/usbip/vudc_sysfs.c rv = kstrtoint(in, 0, &sockfd); in 609 drivers/vhost/net.c unsigned int *out, unsigned int *in, in 615 drivers/vhost/net.c ret = vhost_net_tx_get_vq_desc(net, nvq, out, in, msg, busyloop_intr); in 620 drivers/vhost/net.c if (*in) { in 622 drivers/vhost/net.c *out, *in); in 761 drivers/vhost/net.c unsigned out, in; in 781 drivers/vhost/net.c head = get_tx_bufs(net, nvq, &msg, &out, &in, &len, in 850 drivers/vhost/net.c unsigned out, in; in 873 drivers/vhost/net.c head = get_tx_bufs(net, nvq, &msg, &out, &in, &len, in 1034 drivers/vhost/net.c unsigned int out, in; in 1051 drivers/vhost/net.c &in, log, log_num); in 1060 drivers/vhost/net.c if (unlikely(out || in <= 0)) { in 1062 drivers/vhost/net.c "out %d, in %d\n", out, in); in 1071 drivers/vhost/net.c len = iov_length(vq->iov + seg, in); in 1075 drivers/vhost/net.c seg += in; in 1099 drivers/vhost/net.c unsigned uninitialized_var(in), log; in 1149 drivers/vhost/net.c vhost_len, &in, vq_log, &log, in 1180 drivers/vhost/net.c iov_iter_init(&msg.msg_iter, READ, vq->iov, in, vhost_len); in 1228 drivers/vhost/net.c vq->iov, in); in 217 drivers/vhost/scsi.c unsigned int out, in; in 452 drivers/vhost/scsi.c unsigned out, in; in 463 drivers/vhost/scsi.c ARRAY_SIZE(vq->iov), &out, &in, in 819 drivers/vhost/scsi.c ARRAY_SIZE(vq->iov), &vc->out, &vc->in, in 823 drivers/vhost/scsi.c vc->head, vc->out, vc->in); in 843 drivers/vhost/scsi.c vc->in_size = iov_length(&vq->iov[vc->out], vc->in); in 1002 drivers/vhost/scsi.c iov_iter_init(&in_iter, READ, &vq->iov[vc.out], vc.in, in 1079 drivers/vhost/scsi.c cmd->tvc_in_iovs = vc.in; in 1139 drivers/vhost/scsi.c iov_iter_init(&iov_iter, READ, &vq->iov[vc->out], vc->in, sizeof(rsp)); in 1161 drivers/vhost/scsi.c iov_iter_init(&iov_iter, READ, &vq->iov[vc->out], vc->in, sizeof(rsp)); in 46 drivers/vhost/test.c unsigned out, in; in 63 drivers/vhost/test.c &out, &in, in 76 drivers/vhost/test.c if (in) { in 78 drivers/vhost/test.c "out %d, int %d\n", out, in); in 103 drivers/vhost/vsock.c unsigned out, in; in 121 drivers/vhost/vsock.c &out, &in, NULL, NULL); in 150 drivers/vhost/vsock.c iov_len = iov_length(&vq->iov[out], in); in 157 drivers/vhost/vsock.c iov_iter_init(&iov_iter, READ, &vq->iov[out], in, iov_len); in 316 drivers/vhost/vsock.c unsigned int out, unsigned int in) in 323 drivers/vhost/vsock.c if (in != 0) { in 324 drivers/vhost/vsock.c vq_err(vq, "Expected 0 input buffers, got %u\n", in); in 395 drivers/vhost/vsock.c unsigned int out, in; in 416 drivers/vhost/vsock.c &out, &in, NULL, NULL); in 428 drivers/vhost/vsock.c pkt = vhost_vsock_alloc_pkt(vq, out, in); in 86 drivers/video/backlight/adp8860_bl.c #define FADE_VAL(in, out) ((0xF & (in)) | ((0xF & (out)) << 4)) in 103 drivers/video/backlight/adp8870_bl.c #define FADE_VAL(in, out) ((0xF & (in)) | ((0xF & (out)) << 4)) in 40 drivers/video/fbdev/core/fbcon_rotate.h static inline void rotate_ud(const char *in, char *out, u32 width, u32 height) in 49 drivers/video/fbdev/core/fbcon_rotate.h if (pattern_test_bit(j, i, width, in)) in 58 drivers/video/fbdev/core/fbcon_rotate.h static inline void rotate_cw(const char *in, char *out, u32 width, u32 height) in 68 drivers/video/fbdev/core/fbcon_rotate.h if (pattern_test_bit(j, i, width, in)) in 76 drivers/video/fbdev/core/fbcon_rotate.h static inline void rotate_ccw(const char *in, char *out, u32 width, u32 height) in 86 drivers/video/fbdev/core/fbcon_rotate.h if (pattern_test_bit(j, i, width, in)) in 357 drivers/video/fbdev/core/fbmem.c static void fb_rotate_logo_ud(const u8 *in, u8 *out, u32 width, u32 height) in 364 drivers/video/fbdev/core/fbmem.c *out-- = *in++; in 367 drivers/video/fbdev/core/fbmem.c static void fb_rotate_logo_cw(const u8 *in, u8 *out, u32 width, u32 height) in 373 drivers/video/fbdev/core/fbmem.c out[height * j + h - i] = *in++; in 376 drivers/video/fbdev/core/fbmem.c static void fb_rotate_logo_ccw(const u8 *in, u8 *out, u32 width, u32 height) in 382 drivers/video/fbdev/core/fbmem.c out[height * (w - j) + i] = *in++; in 39 drivers/video/fbdev/matrox/matroxfb_DAC1064.c unsigned int *in, unsigned int *feed, in 49 drivers/video/fbdev/matrox/matroxfb_DAC1064.c fvco = PLL_calcclock(minfo, freq, fmax, in, feed, &p); in 284 drivers/video/fbdev/matrox/matroxfb_Ti3026.c unsigned int freq, unsigned int fmax, int *in, in 294 drivers/video/fbdev/matrox/matroxfb_Ti3026.c *in = 64 - lin; in 227 drivers/video/fbdev/matrox/matroxfb_maven.c unsigned int* in, unsigned int* feed, unsigned int* post, in 284 drivers/video/fbdev/matrox/matroxfb_maven.c *in = m; in 294 drivers/video/fbdev/matrox/matroxfb_maven.c dprintk(KERN_ERR "clk: %02X %02X %02X %d %d\n", *in, *feed, *post, fxtal, fwant); in 295 drivers/video/fbdev/matrox/matroxfb_maven.c return fxtal * (*feed) / (*in) * ctl->den; in 300 drivers/video/fbdev/matrox/matroxfb_maven.c unsigned int* in, unsigned int* feed, unsigned int* post, in 305 drivers/video/fbdev/matrox/matroxfb_maven.c fvco = matroxfb_PLL_mavenclock(&maven1000_pll, ctl, htotal, vtotal, in, feed, &p, htotal2); in 322 drivers/video/fbdev/matrox/matroxfb_maven.c unsigned int* in, unsigned int* feed, unsigned int* post) { in 326 drivers/video/fbdev/matrox/matroxfb_maven.c fvco = matroxfb_PLL_calcclock(&maven_pll, freq, fmax, in, feed, &p); in 130 drivers/video/fbdev/matrox/matroxfb_misc.c unsigned int* in, unsigned int* feed, unsigned int* post) { in 180 drivers/video/fbdev/matrox/matroxfb_misc.c *in = m; in 186 drivers/video/fbdev/matrox/matroxfb_misc.c dprintk(KERN_ERR "clk: %02X %02X %02X %d %d %d\n", *in, *feed, *post, fxtal, bestvco, fwant); in 9 drivers/video/fbdev/matrox/matroxfb_misc.h unsigned int* in, unsigned int* feed, unsigned int* post); in 12 drivers/video/fbdev/matrox/matroxfb_misc.h unsigned int *in, unsigned int *feed, in 15 drivers/video/fbdev/matrox/matroxfb_misc.h return matroxfb_PLL_calcclock(&minfo->features.pll, freq, fmax, in, feed, post); in 19 drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c struct omap_dss_device *in; in 49 drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c struct omap_dss_device *in = ddata->in; in 57 drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c r = in->ops.atv->connect(in, dssdev); in 67 drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c struct omap_dss_device *in = ddata->in; in 74 drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c in->ops.atv->disconnect(in, dssdev); in 80 drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c struct omap_dss_device *in = ddata->in; in 91 drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c in->ops.atv->set_timings(in, &ddata->timings); in 94 drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c in->ops.atv->set_type(in, OMAP_DSS_VENC_TYPE_COMPOSITE); in 96 drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c in->ops.atv->invert_vid_out_polarity(in, in 100 drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c r = in->ops.atv->enable(in); in 112 drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c struct omap_dss_device *in = ddata->in; in 119 drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c in->ops.atv->disable(in); in 128 drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c struct omap_dss_device *in = ddata->in; in 133 drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c in->ops.atv->set_timings(in, timings); in 148 drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c struct omap_dss_device *in = ddata->in; in 150 drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c return in->ops.atv->check_timings(in, timings); in 156 drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c struct omap_dss_device *in = ddata->in; in 158 drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c return in->ops.atv->get_wss(in); in 164 drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c struct omap_dss_device *in = ddata->in; in 166 drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c return in->ops.atv->set_wss(in, wss); in 190 drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c struct omap_dss_device *in, *dssdev; in 194 drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c in = omap_dss_find_output(pdata->source); in 195 drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c if (in == NULL) { in 200 drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c ddata->in = in; in 214 drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c struct omap_dss_device *in; in 216 drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c in = omapdss_of_find_source_for_first_ep(node); in 217 drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c if (IS_ERR(in)) { in 219 drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c return PTR_ERR(in); in 222 drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c ddata->in = in; in 269 drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c omap_dss_put_device(ddata->in); in 277 drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c struct omap_dss_device *in = ddata->in; in 284 drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c omap_dss_put_device(in); in 41 drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c struct omap_dss_device *in; in 53 drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c struct omap_dss_device *in = ddata->in; in 59 drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c r = in->ops.dvi->connect(in, dssdev); in 69 drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c struct omap_dss_device *in = ddata->in; in 74 drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c in->ops.dvi->disconnect(in, dssdev); in 80 drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c struct omap_dss_device *in = ddata->in; in 89 drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c in->ops.dvi->set_timings(in, &ddata->timings); in 91 drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c r = in->ops.dvi->enable(in); in 103 drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c struct omap_dss_device *in = ddata->in; in 108 drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c in->ops.dvi->disable(in); in 117 drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c struct omap_dss_device *in = ddata->in; in 122 drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c in->ops.dvi->set_timings(in, timings); in 137 drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c struct omap_dss_device *in = ddata->in; in 139 drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c return in->ops.dvi->check_timings(in, timings); in 239 drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c struct omap_dss_device *in; in 243 drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c in = omapdss_of_find_source_for_first_ep(node); in 244 drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c if (IS_ERR(in)) { in 246 drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c return PTR_ERR(in); in 249 drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c ddata->in = in; in 256 drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c omap_dss_put_device(ddata->in); in 303 drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c omap_dss_put_device(ddata->in); in 314 drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c struct omap_dss_device *in = ddata->in; in 321 drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c omap_dss_put_device(in); in 38 drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c struct omap_dss_device *in; in 52 drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c struct omap_dss_device *in = ddata->in; in 60 drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c r = in->ops.hdmi->connect(in, dssdev); in 70 drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c struct omap_dss_device *in = ddata->in; in 77 drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c in->ops.hdmi->disconnect(in, dssdev); in 83 drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c struct omap_dss_device *in = ddata->in; in 94 drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c in->ops.hdmi->set_timings(in, &ddata->timings); in 96 drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c r = in->ops.hdmi->enable(in); in 108 drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c struct omap_dss_device *in = ddata->in; in 115 drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c in->ops.hdmi->disable(in); in 124 drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c struct omap_dss_device *in = ddata->in; in 129 drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c in->ops.hdmi->set_timings(in, timings); in 144 drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c struct omap_dss_device *in = ddata->in; in 146 drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c return in->ops.hdmi->check_timings(in, timings); in 153 drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c struct omap_dss_device *in = ddata->in; in 155 drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c return in->ops.hdmi->read_edid(in, edid, len); in 161 drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c struct omap_dss_device *in = ddata->in; in 166 drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c return in->ops.hdmi->detect(in); in 172 drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c struct omap_dss_device *in = ddata->in; in 174 drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c return in->ops.hdmi->set_hdmi_mode(in, hdmi_mode); in 181 drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c struct omap_dss_device *in = ddata->in; in 183 drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c return in->ops.hdmi->set_infoframe(in, avi); in 209 drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c struct omap_dss_device *in; in 219 drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c in = omapdss_of_find_source_for_first_ep(node); in 220 drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c if (IS_ERR(in)) { in 222 drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c return PTR_ERR(in); in 225 drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c ddata->in = in; in 274 drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c omap_dss_put_device(ddata->in); in 282 drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c struct omap_dss_device *in = ddata->in; in 289 drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c omap_dss_put_device(in); in 24 drivers/video/fbdev/omap2/omapfb/displays/encoder-opa362.c struct omap_dss_device *in; in 37 drivers/video/fbdev/omap2/omapfb/displays/encoder-opa362.c struct omap_dss_device *in = ddata->in; in 45 drivers/video/fbdev/omap2/omapfb/displays/encoder-opa362.c r = in->ops.atv->connect(in, dssdev); in 59 drivers/video/fbdev/omap2/omapfb/displays/encoder-opa362.c struct omap_dss_device *in = ddata->in; in 74 drivers/video/fbdev/omap2/omapfb/displays/encoder-opa362.c in->ops.atv->disconnect(in, &ddata->dssdev); in 80 drivers/video/fbdev/omap2/omapfb/displays/encoder-opa362.c struct omap_dss_device *in = ddata->in; in 91 drivers/video/fbdev/omap2/omapfb/displays/encoder-opa362.c in->ops.atv->set_timings(in, &ddata->timings); in 93 drivers/video/fbdev/omap2/omapfb/displays/encoder-opa362.c r = in->ops.atv->enable(in); in 108 drivers/video/fbdev/omap2/omapfb/displays/encoder-opa362.c struct omap_dss_device *in = ddata->in; in 118 drivers/video/fbdev/omap2/omapfb/displays/encoder-opa362.c in->ops.atv->disable(in); in 127 drivers/video/fbdev/omap2/omapfb/displays/encoder-opa362.c struct omap_dss_device *in = ddata->in; in 134 drivers/video/fbdev/omap2/omapfb/displays/encoder-opa362.c in->ops.atv->set_timings(in, timings); in 151 drivers/video/fbdev/omap2/omapfb/displays/encoder-opa362.c struct omap_dss_device *in = ddata->in; in 155 drivers/video/fbdev/omap2/omapfb/displays/encoder-opa362.c return in->ops.atv->check_timings(in, timings); in 184 drivers/video/fbdev/omap2/omapfb/displays/encoder-opa362.c struct omap_dss_device *dssdev, *in; in 207 drivers/video/fbdev/omap2/omapfb/displays/encoder-opa362.c in = omapdss_of_find_source_for_first_ep(node); in 208 drivers/video/fbdev/omap2/omapfb/displays/encoder-opa362.c if (IS_ERR(in)) { in 210 drivers/video/fbdev/omap2/omapfb/displays/encoder-opa362.c return PTR_ERR(in); in 213 drivers/video/fbdev/omap2/omapfb/displays/encoder-opa362.c ddata->in = in; in 230 drivers/video/fbdev/omap2/omapfb/displays/encoder-opa362.c omap_dss_put_device(ddata->in); in 238 drivers/video/fbdev/omap2/omapfb/displays/encoder-opa362.c struct omap_dss_device *in = ddata->in; in 250 drivers/video/fbdev/omap2/omapfb/displays/encoder-opa362.c omap_dss_put_device(in); in 19 drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c struct omap_dss_device *in; in 33 drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c struct omap_dss_device *in = ddata->in; in 39 drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c r = in->ops.dpi->connect(in, dssdev); in 53 drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c struct omap_dss_device *in = ddata->in; in 66 drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c in->ops.dpi->disconnect(in, &ddata->dssdev); in 72 drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c struct omap_dss_device *in = ddata->in; in 81 drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c in->ops.dpi->set_timings(in, &ddata->timings); in 83 drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c in->ops.dpi->set_data_lines(in, ddata->data_lines); in 85 drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c r = in->ops.dpi->enable(in); in 100 drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c struct omap_dss_device *in = ddata->in; in 108 drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c in->ops.dpi->disable(in); in 124 drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c struct omap_dss_device *in = ddata->in; in 131 drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c in->ops.dpi->set_timings(in, timings); in 146 drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c struct omap_dss_device *in = ddata->in; in 150 drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c return in->ops.dpi->check_timings(in, timings); in 169 drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c struct omap_dss_device *in; in 181 drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c in = omapdss_of_find_source_for_first_ep(node); in 182 drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c if (IS_ERR(in)) { in 184 drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c return PTR_ERR(in); in 187 drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c ddata->in = in; in 239 drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c omap_dss_put_device(ddata->in); in 247 drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c struct omap_dss_device *in = ddata->in; in 259 drivers/video/fbdev/omap2/omapfb/displays/encoder-tfp410.c omap_dss_put_device(in); in 21 drivers/video/fbdev/omap2/omapfb/displays/encoder-tpd12s015.c struct omap_dss_device *in; in 36 drivers/video/fbdev/omap2/omapfb/displays/encoder-tpd12s015.c struct omap_dss_device *in = ddata->in; in 39 drivers/video/fbdev/omap2/omapfb/displays/encoder-tpd12s015.c r = in->ops.hdmi->connect(in, dssdev); in 59 drivers/video/fbdev/omap2/omapfb/displays/encoder-tpd12s015.c struct omap_dss_device *in = ddata->in; in 71 drivers/video/fbdev/omap2/omapfb/displays/encoder-tpd12s015.c in->ops.hdmi->disconnect(in, &ddata->dssdev); in 77 drivers/video/fbdev/omap2/omapfb/displays/encoder-tpd12s015.c struct omap_dss_device *in = ddata->in; in 83 drivers/video/fbdev/omap2/omapfb/displays/encoder-tpd12s015.c in->ops.hdmi->set_timings(in, &ddata->timings); in 85 drivers/video/fbdev/omap2/omapfb/displays/encoder-tpd12s015.c r = in->ops.hdmi->enable(in); in 97 drivers/video/fbdev/omap2/omapfb/displays/encoder-tpd12s015.c struct omap_dss_device *in = ddata->in; in 102 drivers/video/fbdev/omap2/omapfb/displays/encoder-tpd12s015.c in->ops.hdmi->disable(in); in 111 drivers/video/fbdev/omap2/omapfb/displays/encoder-tpd12s015.c struct omap_dss_device *in = ddata->in; in 116 drivers/video/fbdev/omap2/omapfb/displays/encoder-tpd12s015.c in->ops.hdmi->set_timings(in, timings); in 131 drivers/video/fbdev/omap2/omapfb/displays/encoder-tpd12s015.c struct omap_dss_device *in = ddata->in; in 134 drivers/video/fbdev/omap2/omapfb/displays/encoder-tpd12s015.c r = in->ops.hdmi->check_timings(in, timings); in 143 drivers/video/fbdev/omap2/omapfb/displays/encoder-tpd12s015.c struct omap_dss_device *in = ddata->in; in 151 drivers/video/fbdev/omap2/omapfb/displays/encoder-tpd12s015.c r = in->ops.hdmi->read_edid(in, edid, len); in 169 drivers/video/fbdev/omap2/omapfb/displays/encoder-tpd12s015.c struct omap_dss_device *in = ddata->in; in 171 drivers/video/fbdev/omap2/omapfb/displays/encoder-tpd12s015.c return in->ops.hdmi->set_infoframe(in, avi); in 178 drivers/video/fbdev/omap2/omapfb/displays/encoder-tpd12s015.c struct omap_dss_device *in = ddata->in; in 180 drivers/video/fbdev/omap2/omapfb/displays/encoder-tpd12s015.c return in->ops.hdmi->set_hdmi_mode(in, hdmi_mode); in 204 drivers/video/fbdev/omap2/omapfb/displays/encoder-tpd12s015.c struct omap_dss_device *in; in 206 drivers/video/fbdev/omap2/omapfb/displays/encoder-tpd12s015.c in = omapdss_of_find_source_for_first_ep(node); in 207 drivers/video/fbdev/omap2/omapfb/displays/encoder-tpd12s015.c if (IS_ERR(in)) { in 209 drivers/video/fbdev/omap2/omapfb/displays/encoder-tpd12s015.c return PTR_ERR(in); in 212 drivers/video/fbdev/omap2/omapfb/displays/encoder-tpd12s015.c ddata->in = in; in 282 drivers/video/fbdev/omap2/omapfb/displays/encoder-tpd12s015.c omap_dss_put_device(ddata->in); in 290 drivers/video/fbdev/omap2/omapfb/displays/encoder-tpd12s015.c struct omap_dss_device *in = ddata->in; in 302 drivers/video/fbdev/omap2/omapfb/displays/encoder-tpd12s015.c omap_dss_put_device(in); in 22 drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c struct omap_dss_device *in; in 39 drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c struct omap_dss_device *in = ddata->in; in 45 drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c r = in->ops.dpi->connect(in, dssdev); in 55 drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c struct omap_dss_device *in = ddata->in; in 60 drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c in->ops.dpi->disconnect(in, dssdev); in 66 drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c struct omap_dss_device *in = ddata->in; in 76 drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c in->ops.dpi->set_data_lines(in, ddata->data_lines); in 77 drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c in->ops.dpi->set_timings(in, &ddata->videomode); in 79 drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c r = in->ops.dpi->enable(in); in 96 drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c struct omap_dss_device *in = ddata->in; in 106 drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c in->ops.dpi->disable(in); in 115 drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c struct omap_dss_device *in = ddata->in; in 120 drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c in->ops.dpi->set_timings(in, timings); in 135 drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c struct omap_dss_device *in = ddata->in; in 137 drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c return in->ops.dpi->check_timings(in, timings); in 158 drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c struct omap_dss_device *dssdev, *in; in 164 drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c in = omap_dss_find_output(pdata->source); in 165 drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c if (in == NULL) { in 171 drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c ddata->in = in; in 193 drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c omap_dss_put_device(ddata->in); in 201 drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c struct omap_dss_device *in; in 224 drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c in = omapdss_of_find_source_for_first_ep(node); in 225 drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c if (IS_ERR(in)) { in 227 drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c return PTR_ERR(in); in 230 drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c ddata->in = in; in 284 drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c omap_dss_put_device(ddata->in); in 292 drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c struct omap_dss_device *in = ddata->in; in 299 drivers/video/fbdev/omap2/omapfb/displays/panel-dpi.c omap_dss_put_device(in); in 40 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c struct omap_dss_device *in; in 108 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c struct omap_dss_device *in = ddata->in; in 112 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c r = in->ops.dsi->dcs_read(in, ddata->channel, dcs_cmd, buf, 1); in 124 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c struct omap_dss_device *in = ddata->in; in 125 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c return in->ops.dsi->dcs_write(in, ddata->channel, &dcs_cmd, 1); in 130 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c struct omap_dss_device *in = ddata->in; in 133 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c return in->ops.dsi->dcs_write(in, ddata->channel, buf, 2); in 139 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c struct omap_dss_device *in = ddata->in; in 146 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c r = in->ops.dsi->dcs_write_nosync(in, ddata->channel, &cmd, 1); in 194 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c struct omap_dss_device *in = ddata->in; in 208 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c r = in->ops.dsi->dcs_write_nosync(in, ddata->channel, buf, sizeof(buf)); in 218 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c r = in->ops.dsi->dcs_write_nosync(in, ddata->channel, buf, sizeof(buf)); in 222 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in->ops.dsi->bta_sync(in, ddata->channel); in 241 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c struct omap_dss_device *in = ddata->in; in 256 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in->ops.dsi->disable(in, false, true); in 275 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c struct omap_dss_device *in = ddata->in; in 281 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c r = in->ops.dsi->enable(in); in 287 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in->ops.dsi->enable_hs(in, ddata->channel, true); in 332 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c struct omap_dss_device *in = ddata->in; in 347 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in->ops.dsi->bus_lock(in); in 353 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in->ops.dsi->bus_unlock(in); in 388 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c struct omap_dss_device *in = ddata->in; in 395 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in->ops.dsi->bus_lock(in); in 402 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in->ops.dsi->bus_unlock(in); in 419 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c struct omap_dss_device *in = ddata->in; in 426 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in->ops.dsi->bus_lock(in); in 432 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in->ops.dsi->bus_unlock(in); in 450 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c struct omap_dss_device *in = ddata->in; in 461 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in->ops.dsi->bus_lock(in); in 468 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in->ops.dsi->bus_unlock(in); in 498 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c struct omap_dss_device *in = ddata->in; in 511 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in->ops.dsi->bus_lock(in); in 513 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in->ops.dsi->bus_unlock(in); in 575 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c struct omap_dss_device *in = ddata->in; in 589 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c r = in->ops.dsi->configure_pins(in, &ddata->pin_config); in 597 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c r = in->ops.dsi->set_config(in, &dsi_config); in 603 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c r = in->ops.dsi->enable(in); in 611 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in->ops.dsi->enable_hs(in, ddata->channel, false); in 643 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c r = in->ops.dsi->enable_video_output(in, ddata->channel); in 655 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in->ops.dsi->enable_hs(in, ddata->channel, true); in 663 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in->ops.dsi->disable(in, true, false); in 670 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c struct omap_dss_device *in = ddata->in; in 673 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in->ops.dsi->disable_video_output(in, ddata->channel); in 685 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in->ops.dsi->disable(in, true, false); in 702 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c struct omap_dss_device *in = ddata->in; in 709 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c r = in->ops.dsi->connect(in, dssdev); in 715 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c r = in->ops.dsi->request_vc(ddata->in, &ddata->channel); in 721 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c r = in->ops.dsi->set_vc_id(ddata->in, ddata->channel, TCH); in 730 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in->ops.dsi->release_vc(ddata->in, ddata->channel); in 732 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in->ops.dsi->disconnect(in, dssdev); in 739 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c struct omap_dss_device *in = ddata->in; in 744 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in->ops.dsi->release_vc(in, ddata->channel); in 745 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in->ops.dsi->disconnect(in, dssdev); in 751 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c struct omap_dss_device *in = ddata->in; in 768 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in->ops.dsi->bus_lock(in); in 772 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in->ops.dsi->bus_unlock(in); in 791 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c struct omap_dss_device *in = ddata->in; in 800 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in->ops.dsi->bus_lock(in); in 808 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in->ops.dsi->bus_unlock(in); in 818 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c struct omap_dss_device *in = ddata->in; in 821 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in->ops.dsi->bus_unlock(ddata->in); in 827 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c struct omap_dss_device *in = ddata->in; in 836 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c r = in->ops.dsi->update(in, ddata->channel, dsicm_framedone_cb, in 845 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in->ops.dsi->bus_unlock(in); in 853 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c struct omap_dss_device *in = ddata->in; in 858 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in->ops.dsi->bus_unlock(in); in 865 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c struct omap_dss_device *in = ddata->in; in 871 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in->ops.dsi->bus_lock(in); in 894 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c r = in->ops.dsi->update(in, ddata->channel, dsicm_framedone_cb, in 904 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in->ops.dsi->bus_unlock(in); in 912 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c struct omap_dss_device *in = ddata->in; in 917 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in->ops.dsi->bus_lock(in); in 918 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in->ops.dsi->bus_unlock(in); in 928 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c struct omap_dss_device *in = ddata->in; in 937 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in->ops.dsi->enable_te(in, enable); in 948 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c struct omap_dss_device *in = ddata->in; in 956 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in->ops.dsi->bus_lock(in); in 970 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in->ops.dsi->bus_unlock(in); in 976 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in->ops.dsi->bus_unlock(in); in 999 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c struct omap_dss_device *in = ddata->in; in 1019 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in->ops.dsi->bus_lock(in); in 1035 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c r = in->ops.dsi->set_max_rx_packet_size(in, ddata->channel, plen); in 1043 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c r = in->ops.dsi->dcs_read(in, ddata->channel, dcs_cmd, in 1069 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in->ops.dsi->set_max_rx_packet_size(in, ddata->channel, 1); in 1071 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in->ops.dsi->bus_unlock(in); in 1082 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c struct omap_dss_device *in = ddata->in; in 1091 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in->ops.dsi->bus_lock(in); in 1095 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in->ops.dsi->bus_unlock(in); in 1122 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c struct omap_dss_device *in; in 1140 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c in = omapdss_of_find_source_for_first_ep(node); in 1141 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c if (IS_ERR(in)) { in 1143 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c return PTR_ERR(in); in 1146 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c ddata->in = in; in 1298 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c omap_dss_put_device(ddata->in); in 41 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c struct omap_dss_device *in; in 120 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c struct omap_dss_device *in = ddata->in; in 126 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c r = in->ops.dpi->connect(in, dssdev); in 138 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c struct omap_dss_device *in = ddata->in; in 143 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c in->ops.dpi->disconnect(in, dssdev); in 149 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c struct omap_dss_device *in = ddata->in; in 159 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c in->ops.dpi->set_data_lines(in, ddata->data_lines); in 160 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c in->ops.dpi->set_timings(in, &ddata->videomode); in 162 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c r = in->ops.dpi->enable(in); in 180 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c struct omap_dss_device *in = ddata->in; in 191 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c in->ops.dpi->disable(in); in 200 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c struct omap_dss_device *in = ddata->in; in 205 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c in->ops.dpi->set_timings(in, timings); in 220 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c struct omap_dss_device *in = ddata->in; in 222 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c return in->ops.dpi->check_timings(in, timings); in 243 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c struct omap_dss_device *in; in 256 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c in = omapdss_of_find_source_for_first_ep(node); in 257 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c if (IS_ERR(in)) { in 259 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c return PTR_ERR(in); in 262 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c ddata->in = in; in 315 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c omap_dss_put_device(ddata->in); in 323 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c struct omap_dss_device *in = ddata->in; in 330 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c omap_dss_put_device(in); in 21 drivers/video/fbdev/omap2/omapfb/displays/panel-nec-nl8048hl11.c struct omap_dss_device *in; in 119 drivers/video/fbdev/omap2/omapfb/displays/panel-nec-nl8048hl11.c struct omap_dss_device *in = ddata->in; in 125 drivers/video/fbdev/omap2/omapfb/displays/panel-nec-nl8048hl11.c r = in->ops.dpi->connect(in, dssdev); in 135 drivers/video/fbdev/omap2/omapfb/displays/panel-nec-nl8048hl11.c struct omap_dss_device *in = ddata->in; in 140 drivers/video/fbdev/omap2/omapfb/displays/panel-nec-nl8048hl11.c in->ops.dpi->disconnect(in, dssdev); in 146 drivers/video/fbdev/omap2/omapfb/displays/panel-nec-nl8048hl11.c struct omap_dss_device *in = ddata->in; in 156 drivers/video/fbdev/omap2/omapfb/displays/panel-nec-nl8048hl11.c in->ops.dpi->set_data_lines(in, ddata->data_lines); in 157 drivers/video/fbdev/omap2/omapfb/displays/panel-nec-nl8048hl11.c in->ops.dpi->set_timings(in, &ddata->videomode); in 159 drivers/video/fbdev/omap2/omapfb/displays/panel-nec-nl8048hl11.c r = in->ops.dpi->enable(in); in 174 drivers/video/fbdev/omap2/omapfb/displays/panel-nec-nl8048hl11.c struct omap_dss_device *in = ddata->in; in 182 drivers/video/fbdev/omap2/omapfb/displays/panel-nec-nl8048hl11.c in->ops.dpi->disable(in); in 191 drivers/video/fbdev/omap2/omapfb/displays/panel-nec-nl8048hl11.c struct omap_dss_device *in = ddata->in; in 196 drivers/video/fbdev/omap2/omapfb/displays/panel-nec-nl8048hl11.c in->ops.dpi->set_timings(in, timings); in 211 drivers/video/fbdev/omap2/omapfb/displays/panel-nec-nl8048hl11.c struct omap_dss_device *in = ddata->in; in 213 drivers/video/fbdev/omap2/omapfb/displays/panel-nec-nl8048hl11.c return in->ops.dpi->check_timings(in, timings); in 235 drivers/video/fbdev/omap2/omapfb/displays/panel-nec-nl8048hl11.c struct omap_dss_device *in; in 248 drivers/video/fbdev/omap2/omapfb/displays/panel-nec-nl8048hl11.c in = omapdss_of_find_source_for_first_ep(node); in 249 drivers/video/fbdev/omap2/omapfb/displays/panel-nec-nl8048hl11.c if (IS_ERR(in)) { in 251 drivers/video/fbdev/omap2/omapfb/displays/panel-nec-nl8048hl11.c return PTR_ERR(in); in 254 drivers/video/fbdev/omap2/omapfb/displays/panel-nec-nl8048hl11.c ddata->in = in; in 326 drivers/video/fbdev/omap2/omapfb/displays/panel-nec-nl8048hl11.c omap_dss_put_device(ddata->in); in 334 drivers/video/fbdev/omap2/omapfb/displays/panel-nec-nl8048hl11.c struct omap_dss_device *in = ddata->in; in 343 drivers/video/fbdev/omap2/omapfb/displays/panel-nec-nl8048hl11.c omap_dss_put_device(in); in 21 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c struct omap_dss_device *in; in 61 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c struct omap_dss_device *in = ddata->in; in 67 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c r = in->ops.dpi->connect(in, dssdev); in 77 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c struct omap_dss_device *in = ddata->in; in 82 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c in->ops.dpi->disconnect(in, dssdev); in 88 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c struct omap_dss_device *in = ddata->in; in 98 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c in->ops.dpi->set_data_lines(in, ddata->data_lines); in 99 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c in->ops.dpi->set_timings(in, &ddata->videomode); in 107 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c r = in->ops.dpi->enable(in); in 130 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c struct omap_dss_device *in = ddata->in; in 145 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c in->ops.dpi->disable(in); in 157 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c struct omap_dss_device *in = ddata->in; in 162 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c in->ops.dpi->set_timings(in, timings); in 177 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c struct omap_dss_device *in = ddata->in; in 179 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c return in->ops.dpi->check_timings(in, timings); in 215 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c struct omap_dss_device *in; in 249 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c in = omapdss_of_find_source_for_first_ep(node); in 250 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c if (IS_ERR(in)) { in 252 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c return PTR_ERR(in); in 255 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c ddata->in = in; in 298 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c omap_dss_put_device(ddata->in); in 306 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c struct omap_dss_device *in = ddata->in; in 313 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c omap_dss_put_device(in); in 58 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c struct omap_dss_device *in; in 508 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c struct omap_dss_device *in = ddata->in; in 514 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c r = in->ops.sdi->connect(in, dssdev); in 524 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c struct omap_dss_device *in = ddata->in; in 529 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c in->ops.sdi->disconnect(in, dssdev); in 535 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c struct omap_dss_device *in = ddata->in; in 540 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c in->ops.sdi->set_timings(in, &ddata->videomode); in 543 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c in->ops.sdi->set_datapairs(in, ddata->datapairs); in 545 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c r = in->ops.sdi->enable(in); in 586 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c struct omap_dss_device *in = ddata->in; in 610 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c in->ops.sdi->disable(in); in 657 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c struct omap_dss_device *in = ddata->in; in 662 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c in->ops.sdi->set_timings(in, timings); in 677 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c struct omap_dss_device *in = ddata->in; in 679 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c return in->ops.sdi->check_timings(in, timings); in 700 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c struct omap_dss_device *dssdev, *in; in 706 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c in = omap_dss_find_output(pdata->source); in 707 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c if (in == NULL) { in 712 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c ddata->in = in; in 729 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c ddata->in = omapdss_of_find_source_for_first_ep(np); in 730 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c if (IS_ERR(ddata->in)) { in 732 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c return PTR_ERR(ddata->in); in 861 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c omap_dss_put_device(ddata->in); in 869 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c struct omap_dss_device *in = ddata->in; in 881 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c omap_dss_put_device(in); in 24 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c struct omap_dss_device *in; in 161 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c struct omap_dss_device *in = ddata->in; in 167 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c r = in->ops.dpi->connect(in, dssdev); in 177 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c struct omap_dss_device *in = ddata->in; in 182 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c in->ops.dpi->disconnect(in, dssdev); in 188 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c struct omap_dss_device *in = ddata->in; in 198 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c in->ops.dpi->set_data_lines(in, ddata->data_lines); in 199 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c in->ops.dpi->set_timings(in, &ddata->videomode); in 201 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c r = in->ops.dpi->enable(in); in 298 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c struct omap_dss_device *in = ddata->in; in 310 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c in->ops.dpi->disable(in); in 319 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c struct omap_dss_device *in = ddata->in; in 324 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c in->ops.dpi->set_timings(in, timings); in 339 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c struct omap_dss_device *in = ddata->in; in 341 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c return in->ops.dpi->check_timings(in, timings); in 360 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c struct omap_dss_device *in; in 362 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c in = omapdss_of_find_source_for_first_ep(node); in 363 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c if (IS_ERR(in)) { in 365 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c return PTR_ERR(in); in 368 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c ddata->in = in; in 424 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c omap_dss_put_device(ddata->in); in 432 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c struct omap_dss_device *in = ddata->in; in 441 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c omap_dss_put_device(in); in 53 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c struct omap_dss_device *in; in 339 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c struct omap_dss_device *in = ddata->in; in 345 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c r = in->ops.dpi->connect(in, dssdev); in 355 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c struct omap_dss_device *in = ddata->in; in 360 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c in->ops.dpi->disconnect(in, dssdev); in 366 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c struct omap_dss_device *in = ddata->in; in 376 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c in->ops.dpi->set_data_lines(in, ddata->data_lines); in 377 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c in->ops.dpi->set_timings(in, &ddata->videomode); in 379 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c r = in->ops.dpi->enable(in); in 390 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c in->ops.dpi->disable(in); in 403 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c struct omap_dss_device *in = ddata->in; in 408 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c in->ops.dpi->disable(in); in 420 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c struct omap_dss_device *in = ddata->in; in 425 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c in->ops.dpi->set_timings(in, timings); in 440 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c struct omap_dss_device *in = ddata->in; in 442 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c return in->ops.dpi->check_timings(in, timings); in 467 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c struct omap_dss_device *in; in 477 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c in = omapdss_of_find_source_for_first_ep(node); in 478 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c if (IS_ERR(in)) { in 480 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c return PTR_ERR(in); in 483 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c ddata->in = in; in 568 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c omap_dss_put_device(ddata->in); in 576 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c struct omap_dss_device *in = ddata->in; in 585 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c omap_dss_put_device(in); in 408 drivers/video/fbdev/valkyriefb.c int sense, in; in 412 drivers/video/fbdev/valkyriefb.c sense = ((in = in_8(&p->valkyrie_regs->msense.r)) & 0x70) << 4; in 416 drivers/video/fbdev/valkyriefb.c sense |= ((in = in_8(&p->valkyrie_regs->msense.r)) & 0x30); in 419 drivers/video/fbdev/valkyriefb.c sense |= ((in = in_8(&p->valkyrie_regs->msense.r)) & 0x40) >> 3; in 420 drivers/video/fbdev/valkyriefb.c sense |= (in & 0x10) >> 2; in 423 drivers/video/fbdev/valkyriefb.c sense |= ((in = in_8(&p->valkyrie_regs->msense.r)) & 0x60) >> 5; in 982 drivers/virt/vboxguest/vboxguest_core.c if (vbg_ioctl_chk(&info->hdr, sizeof(info->u.in), sizeof(info->u.out))) in 985 drivers/virt/vboxguest/vboxguest_core.c req_maj_version = info->u.in.req_version >> 16; in 986 drivers/virt/vboxguest/vboxguest_core.c min_maj_version = info->u.in.min_version >> 16; in 988 drivers/virt/vboxguest/vboxguest_core.c if (info->u.in.min_version > info->u.in.req_version || in 992 drivers/virt/vboxguest/vboxguest_core.c if (info->u.in.min_version <= VBG_IOC_VERSION && in 1041 drivers/virt/vboxguest/vboxguest_core.c u32 timeout_ms = wait->u.in.timeout_ms; in 1042 drivers/virt/vboxguest/vboxguest_core.c u32 event_mask = wait->u.in.events; in 1047 drivers/virt/vboxguest/vboxguest_core.c if (vbg_ioctl_chk(&wait->hdr, sizeof(wait->u.in), sizeof(wait->u.out))) in 1230 drivers/virt/vboxguest/vboxguest_core.c if (vbg_ioctl_chk(&conn->hdr, sizeof(conn->u.in), sizeof(conn->u.out))) in 1246 drivers/virt/vboxguest/vboxguest_core.c ret = vbg_hgcm_connect(gdev, session->requestor, &conn->u.in.loc, in 1269 drivers/virt/vboxguest/vboxguest_core.c if (vbg_ioctl_chk(&disconn->hdr, sizeof(disconn->u.in), 0)) in 1272 drivers/virt/vboxguest/vboxguest_core.c client_id = disconn->u.in.client_id; in 1410 drivers/virt/vboxguest/vboxguest_core.c log->u.in.msg); in 1421 drivers/virt/vboxguest/vboxguest_core.c if (vbg_ioctl_chk(&filter->hdr, sizeof(filter->u.in), 0)) in 1424 drivers/virt/vboxguest/vboxguest_core.c or_mask = filter->u.in.or_mask; in 1425 drivers/virt/vboxguest/vboxguest_core.c not_mask = filter->u.in.not_mask; in 1440 drivers/virt/vboxguest/vboxguest_core.c if (vbg_ioctl_chk(&caps->hdr, sizeof(caps->u.in), sizeof(caps->u.out))) in 1443 drivers/virt/vboxguest/vboxguest_core.c or_mask = caps->u.in.or_mask; in 1444 drivers/virt/vboxguest/vboxguest_core.c not_mask = caps->u.in.not_mask; in 1482 drivers/virt/vboxguest/vboxguest_core.c if (vbg_ioctl_chk(&dump->hdr, sizeof(dump->u.in), 0)) in 1490 drivers/virt/vboxguest/vboxguest_core.c req->flags = dump->u.in.flags; in 36 drivers/watchdog/intel-mid_wdt.c static inline int wdt_command(int sub, u32 *in, int inlen) in 38 drivers/watchdog/intel-mid_wdt.c return intel_scu_ipc_command(IPC_WATCHDOG, sub, in, inlen, NULL, 0); in 129 drivers/xen/pvcalls-back.c vec[0].iov_base = data->in + masked_prod; in 133 drivers/xen/pvcalls-back.c vec[0].iov_base = data->in + masked_prod; in 135 drivers/xen/pvcalls-back.c vec[1].iov_base = data->in; in 347 drivers/xen/pvcalls-back.c map->data.in = map->bytes; in 340 drivers/xen/pvcalls-front.c free_pages((unsigned long)map->active.data.in, in 360 drivers/xen/pvcalls-front.c map->active.data.in = bytes; in 379 drivers/xen/pvcalls-front.c bytes = map->active.data.in; in 601 drivers/xen/pvcalls-front.c len = copy_to_iter(data->in + masked_cons, len, msg_iter); in 604 drivers/xen/pvcalls-front.c int ret = copy_to_iter(data->in + masked_cons, in 610 drivers/xen/pvcalls-front.c len = ret + copy_to_iter(data->in, len - ret, msg_iter); in 612 drivers/xen/pvcalls-front.c len = copy_to_iter(data->in + masked_cons, len, msg_iter); in 80 fs/autofs/dev-ioctl.c copy_dev_ioctl(struct autofs_dev_ioctl __user *in) in 84 fs/autofs/dev-ioctl.c if (copy_from_user(&tmp, in, AUTOFS_DEV_IOCTL_SIZE)) in 93 fs/autofs/dev-ioctl.c res = memdup_user(in, tmp.size); in 515 fs/autofs/dev-ioctl.c type = param->ismountpoint.in.type; in 51 fs/befs/linuxvfs.c static int befs_utf2nls(struct super_block *sb, const char *in, int in_len, in 53 fs/befs/linuxvfs.c static int befs_nls2utf(struct super_block *sb, const char *in, int in_len, in 505 fs/befs/linuxvfs.c befs_utf2nls(struct super_block *sb, const char *in, in 533 fs/befs/linuxvfs.c utflen = utf8_to_utf32(&in[i], in_len - i, &uni); in 582 fs/befs/linuxvfs.c befs_nls2utf(struct super_block *sb, const char *in, in 614 fs/befs/linuxvfs.c unilen = nls->char2uni(&in[i], in_len - i, &uni); in 510 fs/ceph/dir.c rde->name_len, rde->name, &rde->inode.in); in 512 fs/ceph/dir.c BUG_ON(!rde->inode.in); in 513 fs/ceph/dir.c ftype = le32_to_cpu(rde->inode.in->mode) >> 12; in 514 fs/ceph/dir.c vino.ino = le64_to_cpu(rde->inode.in->ino); in 515 fs/ceph/dir.c vino.snap = le64_to_cpu(rde->inode.in->snapid); in 469 fs/ceph/export.c BUG_ON(!rde->inode.in); in 471 fs/ceph/export.c le64_to_cpu(rde->inode.in->snapid)) { in 736 fs/ceph/inode.c struct ceph_mds_reply_inode *info = iinfo->in; in 1150 fs/ceph/inode.c static int splice_dentry(struct dentry **pdn, struct inode *in) in 1157 fs/ceph/inode.c if (S_ISDIR(in->i_mode)) { in 1162 fs/ceph/inode.c realdn = d_find_any_alias(in); in 1181 fs/ceph/inode.c realdn = d_splice_alias(in, dn); in 1184 fs/ceph/inode.c PTR_ERR(realdn), dn, in, ceph_vinop(in)); in 1219 fs/ceph/inode.c struct inode *in = NULL; in 1263 fs/ceph/inode.c tvino.ino = le64_to_cpu(rinfo->targeti.in->ino); in 1264 fs/ceph/inode.c tvino.snap = le64_to_cpu(rinfo->targeti.in->snapid); in 1297 fs/ceph/inode.c tvino.ino = le64_to_cpu(rinfo->targeti.in->ino); in 1298 fs/ceph/inode.c tvino.snap = le64_to_cpu(rinfo->targeti.in->snapid); in 1300 fs/ceph/inode.c in = ceph_get_inode(sb, tvino); in 1301 fs/ceph/inode.c if (IS_ERR(in)) { in 1302 fs/ceph/inode.c err = PTR_ERR(in); in 1305 fs/ceph/inode.c req->r_target_inode = in; in 1307 fs/ceph/inode.c err = fill_inode(in, req->r_locked_page, &rinfo->targeti, NULL, in 1314 fs/ceph/inode.c in, ceph_vinop(in)); in 1342 fs/ceph/inode.c dvino.ino = le64_to_cpu(rinfo->diri.in->ino); in 1343 fs/ceph/inode.c dvino.snap = le64_to_cpu(rinfo->diri.in->snapid); in 1350 fs/ceph/inode.c (le32_to_cpu(rinfo->diri.in->cap.caps) & in 1416 fs/ceph/inode.c ihold(in); in 1417 fs/ceph/inode.c err = splice_dentry(&req->r_dentry, in); in 1421 fs/ceph/inode.c } else if (d_really_is_positive(dn) && d_inode(dn) != in) { in 1424 fs/ceph/inode.c ceph_vinop(in)); in 1445 fs/ceph/inode.c dout(" linking snapped dir %p to dn %p\n", in, req->r_dentry); in 1447 fs/ceph/inode.c ihold(in); in 1448 fs/ceph/inode.c err = splice_dentry(&req->r_dentry, in); in 1454 fs/ceph/inode.c dvino.ino = le64_to_cpu(rinfo->diri.in->ino); in 1455 fs/ceph/inode.c dvino.snap = le64_to_cpu(rinfo->diri.in->snapid); in 1457 fs/ceph/inode.c tvino.ino = le64_to_cpu(rinfo->targeti.in->ino); in 1458 fs/ceph/inode.c tvino.snap = le64_to_cpu(rinfo->targeti.in->snapid); in 1483 fs/ceph/inode.c struct inode *in; in 1486 fs/ceph/inode.c vino.ino = le64_to_cpu(rde->inode.in->ino); in 1487 fs/ceph/inode.c vino.snap = le64_to_cpu(rde->inode.in->snapid); in 1489 fs/ceph/inode.c in = ceph_get_inode(req->r_dentry->d_sb, vino); in 1490 fs/ceph/inode.c if (IS_ERR(in)) { in 1491 fs/ceph/inode.c err = PTR_ERR(in); in 1495 fs/ceph/inode.c rc = fill_inode(in, NULL, &rde->inode, NULL, session, in 1499 fs/ceph/inode.c pr_err("fill_inode badness on %p got %d\n", in, rc); in 1503 fs/ceph/inode.c ceph_async_iput(in); in 1565 fs/ceph/inode.c struct inode *in; in 1632 fs/ceph/inode.c tvino.ino = le64_to_cpu(rde->inode.in->ino); in 1633 fs/ceph/inode.c tvino.snap = le64_to_cpu(rde->inode.in->snapid); in 1684 fs/ceph/inode.c in = d_inode(dn); in 1686 fs/ceph/inode.c in = ceph_get_inode(parent->d_sb, tvino); in 1687 fs/ceph/inode.c if (IS_ERR(in)) { in 1691 fs/ceph/inode.c err = PTR_ERR(in); in 1696 fs/ceph/inode.c ret = fill_inode(in, NULL, &rde->inode, NULL, session, in 1700 fs/ceph/inode.c pr_err("fill_inode badness on %p\n", in); in 1704 fs/ceph/inode.c ceph_async_iput(in); in 1712 fs/ceph/inode.c if (ceph_security_xattr_deadlock(in)) { in 1714 fs/ceph/inode.c " (security xattr deadlock)\n", dn, in); in 1715 fs/ceph/inode.c ceph_async_iput(in); in 1720 fs/ceph/inode.c err = splice_dentry(&dn, in); in 118 fs/ceph/mds_client.c info->in = *p; in 120 fs/ceph/mds_client.c sizeof(*info->in->fragtree.splits) * in 121 fs/ceph/mds_client.c le32_to_cpu(info->in->fragtree.nsplits); in 58 fs/ceph/mds_client.h struct ceph_mds_reply_inode *in; in 131 fs/ceph/quota.c struct inode *in; in 154 fs/ceph/quota.c in = qri->inode; in 156 fs/ceph/quota.c in = ERR_PTR(ret); in 158 fs/ceph/quota.c in = ceph_lookup_inode(sb, realm->ino); in 161 fs/ceph/quota.c if (IS_ERR(in)) { in 163 fs/ceph/quota.c realm->ino, PTR_ERR(in)); in 167 fs/ceph/quota.c qri->inode = in; in 171 fs/ceph/quota.c return in; in 214 fs/ceph/quota.c struct inode *in; in 232 fs/ceph/quota.c in = has_inode ? igrab(realm->inode) : NULL; in 234 fs/ceph/quota.c if (has_inode && !in) in 236 fs/ceph/quota.c if (!in) { in 238 fs/ceph/quota.c in = lookup_quotarealm_inode(mdsc, inode->i_sb, realm); in 240 fs/ceph/quota.c if (IS_ERR_OR_NULL(in)) in 248 fs/ceph/quota.c ci = ceph_inode(in); in 251 fs/ceph/quota.c ceph_async_iput(in); in 319 fs/ceph/quota.c struct inode *in; in 339 fs/ceph/quota.c in = has_inode ? igrab(realm->inode) : NULL; in 341 fs/ceph/quota.c if (has_inode && !in) in 343 fs/ceph/quota.c if (!in) { in 345 fs/ceph/quota.c in = lookup_quotarealm_inode(mdsc, inode->i_sb, realm); in 347 fs/ceph/quota.c if (IS_ERR_OR_NULL(in)) in 352 fs/ceph/quota.c ci = ceph_inode(in); in 389 fs/ceph/quota.c ceph_async_iput(in); in 483 fs/ceph/quota.c struct inode *in; in 494 fs/ceph/quota.c in = realm->inode ? igrab(realm->inode) : NULL; in 496 fs/ceph/quota.c if (in) { in 497 fs/ceph/quota.c ci = ceph_inode(in); in 514 fs/ceph/quota.c iput(in); in 959 fs/ceph/super.h extern bool ceph_security_xattr_deadlock(struct inode *in); in 960 fs/ceph/super.h extern bool ceph_security_xattr_wanted(struct inode *in); in 962 fs/ceph/super.h static inline bool ceph_security_xattr_deadlock(struct inode *in) in 966 fs/ceph/super.h static inline bool ceph_security_xattr_wanted(struct inode *in) in 807 fs/ceph/xattr.c static inline int __get_request_mask(struct inode *in) { in 810 fs/ceph/xattr.c if (req && req->r_target_inode == in) { in 1180 fs/ceph/xattr.c bool ceph_security_xattr_wanted(struct inode *in) in 1182 fs/ceph/xattr.c return in->i_security != NULL; in 1185 fs/ceph/xattr.c bool ceph_security_xattr_deadlock(struct inode *in) in 1189 fs/ceph/xattr.c if (!in->i_security) in 1191 fs/ceph/xattr.c ci = ceph_inode(in); in 109 fs/cifs/cifs_unicode.h wchar_t cifs_toupper(wchar_t in); in 59 fs/cifs/smbencrypt.c smbhash(unsigned char *out, const unsigned char *in, unsigned char *key) in 72 fs/cifs/smbencrypt.c des_encrypt(&ctx, out, in); in 21 fs/cifs/winucase.c wchar_t cifs_toupper(wchar_t in); /* quiet sparse */ in 627 fs/cifs/winucase.c cifs_toupper(wchar_t in) in 634 fs/cifs/winucase.c idx = (in & 0xff00) >> 8; in 639 fs/cifs/winucase.c return in; in 642 fs/cifs/winucase.c idx = in & 0xff; in 649 fs/cifs/winucase.c return in; in 512 fs/coda/upcall.c data->vi.in, data->vi.in_size)) { in 198 fs/dlm/lockspace.c static int do_uevent(struct dlm_ls *ls, int in) in 202 fs/dlm/lockspace.c if (in) in 207 fs/dlm/lockspace.c log_rinfo(ls, "%s the lockspace group...", in ? "joining" : "leaving"); in 223 fs/dlm/lockspace.c log_error(ls, "group %s failed %d %d", in ? "join" : "leave", in 55 fs/efs/inode.c struct efs_inode_info *in; in 66 fs/efs/inode.c in = INODE_INFO(inode); in 127 fs/efs/inode.c in->numextents = be16_to_cpu(efs_inode->di_numextents); in 128 fs/efs/inode.c in->lastextent = 0; in 132 fs/efs/inode.c extent_copy(&(efs_inode->di_u.di_extents[i]), &(in->extents[i])); in 133 fs/efs/inode.c if (i < in->numextents && in->extents[i].cooked.ex_magic != 0) { in 143 fs/efs/inode.c inode->i_ino, in->numextents, inode->i_mode); in 201 fs/efs/inode.c struct efs_inode_info *in = INODE_INFO(inode); in 209 fs/efs/inode.c last = in->lastextent; in 211 fs/efs/inode.c if (in->numextents <= EFS_DIRECTEXTENTS) { in 213 fs/efs/inode.c if ((result = efs_extent_check(&in->extents[last], block, sb))) in 217 fs/efs/inode.c if (in->numextents == 1) { in 222 fs/efs/inode.c direxts = in->numextents; in 229 fs/efs/inode.c cur = (last + dirext) % in->numextents; in 230 fs/efs/inode.c if ((result = efs_extent_check(&in->extents[cur], block, sb))) { in 231 fs/efs/inode.c in->lastextent = cur; in 242 fs/efs/inode.c direxts = in->extents[0].cooked.ex_offset; in 243 fs/efs/inode.c indexts = in->numextents; in 257 fs/efs/inode.c ibase += in->extents[dirext].cooked.ex_length * in 270 fs/efs/inode.c iblock = sb->fs_start + in->extents[dirext].cooked.ex_bn + in 304 fs/efs/inode.c in->lastextent = cur; in 19 fs/erofs/compress.h struct page **in, **out; in 93 fs/erofs/decompressor.c struct page **in = rq->in; in 101 fs/erofs/decompressor.c src = kmap_atomic(*in); in 108 fs/erofs/decompressor.c ++in; in 123 fs/erofs/decompressor.c src = kmap_atomic(*rq->in); in 151 fs/erofs/decompressor.c rq->out[nr - 1] != rq->in[0] || in 303 fs/erofs/decompressor.c if (rq->out[0] == *rq->in) { in 308 fs/erofs/decompressor.c src = kmap_atomic(*rq->in); in 317 fs/erofs/decompressor.c if (rq->out[1] == *rq->in) { in 897 fs/erofs/zdata.c .in = compressed_pages, in 186 fs/erofs/zmap.c u8 *in, unsigned int pos, u8 *type) in 188 fs/erofs/zmap.c const unsigned int v = get_unaligned_le32(in + pos / 8) >> (pos & 7); in 204 fs/erofs/zmap.c u8 *in, type; in 215 fs/erofs/zmap.c in = m->kaddr + base; in 220 fs/erofs/zmap.c in, encodebits * i, &type); in 234 fs/erofs/zmap.c in, encodebits * (i - 1), &type); in 247 fs/erofs/zmap.c in, encodebits * i, &type); in 254 fs/erofs/zmap.c in += (vcnt << amortizedshift) - sizeof(__le32); in 255 fs/erofs/zmap.c m->pblk = le32_to_cpu(*(__le32 *)in) + nblk; in 16 fs/ext4/hash.c static void TEA_transform(__u32 buf[4], __u32 const in[]) in 20 fs/ext4/hash.c __u32 a = in[0], b = in[1], c = in[2], d = in[3]; in 53 fs/ext4/hash.c static __u32 half_md4_transform(__u32 buf[4], __u32 const in[8]) in 58 fs/ext4/hash.c ROUND(F, a, b, c, d, in[0] + K1, 3); in 59 fs/ext4/hash.c ROUND(F, d, a, b, c, in[1] + K1, 7); in 60 fs/ext4/hash.c ROUND(F, c, d, a, b, in[2] + K1, 11); in 61 fs/ext4/hash.c ROUND(F, b, c, d, a, in[3] + K1, 19); in 62 fs/ext4/hash.c ROUND(F, a, b, c, d, in[4] + K1, 3); in 63 fs/ext4/hash.c ROUND(F, d, a, b, c, in[5] + K1, 7); in 64 fs/ext4/hash.c ROUND(F, c, d, a, b, in[6] + K1, 11); in 65 fs/ext4/hash.c ROUND(F, b, c, d, a, in[7] + K1, 19); in 68 fs/ext4/hash.c ROUND(G, a, b, c, d, in[1] + K2, 3); in 69 fs/ext4/hash.c ROUND(G, d, a, b, c, in[3] + K2, 5); in 70 fs/ext4/hash.c ROUND(G, c, d, a, b, in[5] + K2, 9); in 71 fs/ext4/hash.c ROUND(G, b, c, d, a, in[7] + K2, 13); in 72 fs/ext4/hash.c ROUND(G, a, b, c, d, in[0] + K2, 3); in 73 fs/ext4/hash.c ROUND(G, d, a, b, c, in[2] + K2, 5); in 74 fs/ext4/hash.c ROUND(G, c, d, a, b, in[4] + K2, 9); in 75 fs/ext4/hash.c ROUND(G, b, c, d, a, in[6] + K2, 13); in 78 fs/ext4/hash.c ROUND(H, a, b, c, d, in[3] + K3, 3); in 79 fs/ext4/hash.c ROUND(H, d, a, b, c, in[7] + K3, 9); in 80 fs/ext4/hash.c ROUND(H, c, d, a, b, in[2] + K3, 11); in 81 fs/ext4/hash.c ROUND(H, b, c, d, a, in[6] + K3, 15); in 82 fs/ext4/hash.c ROUND(H, a, b, c, d, in[1] + K3, 3); in 83 fs/ext4/hash.c ROUND(H, d, a, b, c, in[5] + K3, 9); in 84 fs/ext4/hash.c ROUND(H, c, d, a, b, in[0] + K3, 11); in 85 fs/ext4/hash.c ROUND(H, b, c, d, a, in[4] + K3, 15); in 207 fs/ext4/hash.c __u32 in[8], buf[4]; in 240 fs/ext4/hash.c (*str2hashbuf)(p, len, in, 8); in 241 fs/ext4/hash.c half_md4_transform(buf, in); in 254 fs/ext4/hash.c (*str2hashbuf)(p, len, in, 4); in 255 fs/ext4/hash.c TEA_transform(buf, in); in 2048 fs/f2fs/file.c __u32 in; in 2054 fs/f2fs/file.c if (get_user(in, (__u32 __user *)arg)) in 2057 fs/f2fs/file.c if (in != F2FS_GOING_DOWN_FULLSYNC) { in 2063 fs/f2fs/file.c switch (in) { in 2113 fs/f2fs/file.c if (in != F2FS_GOING_DOWN_FULLSYNC) in 2116 fs/f2fs/file.c trace_f2fs_shutdown(sbi, in, ret); in 26 fs/f2fs/hash.c static void TEA_transform(unsigned int buf[4], unsigned int const in[]) in 30 fs/f2fs/hash.c __u32 a = in[0], b = in[1], c = in[2], d = in[3]; in 77 fs/f2fs/hash.c __u32 in[8], buf[4]; in 96 fs/f2fs/hash.c str2hashbuf(p, len, in, 4); in 97 fs/f2fs/hash.c TEA_transform(buf, in); in 921 fs/f2fs/node.c child_nid = le32_to_cpu(rn->in.nid[i]); in 934 fs/f2fs/node.c child_nid = le32_to_cpu(rn->in.nid[i]); in 369 fs/f2fs/node.h rn->in.nid[off] = cpu_to_le32(nid); in 379 fs/f2fs/node.h return le32_to_cpu(rn->in.nid[off]); in 303 fs/fuse/cuse.c struct cuse_init_in in; in 443 fs/fuse/cuse.c ia->in.major = FUSE_KERNEL_VERSION; in 444 fs/fuse/cuse.c ia->in.minor = FUSE_KERNEL_MINOR_VERSION; in 445 fs/fuse/cuse.c ia->in.flags |= CUSE_UNRESTRICTED_IOCTL; in 448 fs/fuse/cuse.c ap->args.in_args[0].size = sizeof(ia->in); in 449 fs/fuse/cuse.c ap->args.in_args[0].value = &ia->in; in 136 fs/fuse/dev.c req->in.h.uid = from_kuid(fc->user_ns, current_fsuid()); in 137 fs/fuse/dev.c req->in.h.gid = from_kgid(fc->user_ns, current_fsgid()); in 138 fs/fuse/dev.c req->in.h.pid = pid_nr_ns(task_pid(current), fc->pid_ns); in 144 fs/fuse/dev.c if (unlikely(req->in.h.uid == ((uid_t)-1) || in 145 fs/fuse/dev.c req->in.h.gid == ((gid_t)-1))) { in 225 fs/fuse/dev.c req->in.h.len = sizeof(struct fuse_in_header) + in 263 fs/fuse/dev.c req->in.h.unique = fuse_get_unique(fiq); in 415 fs/fuse/dev.c req->in.h.unique = fuse_get_unique(fiq); in 462 fs/fuse/dev.c req->in.h.uid = from_kuid_munged(fc->user_ns, current_fsuid()); in 463 fs/fuse/dev.c req->in.h.gid = from_kgid_munged(fc->user_ns, current_fsgid()); in 464 fs/fuse/dev.c req->in.h.pid = pid_nr_ns(task_pid(current), fc->pid_ns); in 469 fs/fuse/dev.c req->in.h.opcode = args->opcode; in 470 fs/fuse/dev.c req->in.h.nodeid = args->nodeid; in 584 fs/fuse/dev.c req->in.h.unique = unique; in 1036 fs/fuse/dev.c ih.unique = (req->in.h.unique | FUSE_INT_REQ_BIT); in 1037 fs/fuse/dev.c arg.unique = req->in.h.unique; in 1246 fs/fuse/dev.c reqsize = req->in.h.len; in 1261 fs/fuse/dev.c err = fuse_copy_one(cs, &req->in.h, sizeof(req->in.h)); in 1280 fs/fuse/dev.c hash = fuse_req_hash(req->in.h.unique); in 1333 fs/fuse/dev.c static ssize_t fuse_dev_splice_read(struct file *in, loff_t *ppos, in 1341 fs/fuse/dev.c struct fuse_dev *fud = fuse_get_dev(in); in 1354 fs/fuse/dev.c ret = fuse_dev_do_read(fud, in, &cs, len); in 1789 fs/fuse/dev.c if (req->in.h.unique == unique) in 375 fs/fuse/file.c curr_index = wpa->ia.write.in.offset >> PAGE_SHIFT; in 557 fs/fuse/file.c ia->read.in.fh = ff->fh; in 558 fs/fuse/file.c ia->read.in.offset = pos; in 559 fs/fuse/file.c ia->read.in.size = count; in 560 fs/fuse/file.c ia->read.in.flags = file->f_flags; in 564 fs/fuse/file.c args->in_args[0].size = sizeof(ia->read.in); in 565 fs/fuse/file.c args->in_args[0].value = &ia->read.in; in 685 fs/fuse/file.c if (ia->write.out.size > ia->write.in.size) { in 687 fs/fuse/file.c } else if (ia->write.in.size != ia->write.out.size) { in 688 fs/fuse/file.c pos = ia->write.in.offset - io->offset + in 694 fs/fuse/file.c if (ia->read.in.size != outsize) in 695 fs/fuse/file.c pos = ia->read.in.offset - io->offset + outsize; in 731 fs/fuse/file.c ia->read.in.read_flags |= FUSE_READ_LOCKOWNER; in 732 fs/fuse/file.c ia->read.in.lock_owner = fuse_lock_owner_id(fc, owner); in 847 fs/fuse/file.c size_t count = ia->read.in.size; in 1024 fs/fuse/file.c ia->write.in.fh = ff->fh; in 1025 fs/fuse/file.c ia->write.in.offset = pos; in 1026 fs/fuse/file.c ia->write.in.size = count; in 1033 fs/fuse/file.c args->in_args[0].size = sizeof(ia->write.in); in 1034 fs/fuse/file.c args->in_args[0].value = &ia->write.in; in 1060 fs/fuse/file.c struct fuse_write_in *inarg = &ia->write.in; in 1112 fs/fuse/file.c ia->write.in.flags = fuse_write_flags(iocb); in 1467 fs/fuse/file.c ia->write.in.write_flags |= FUSE_WRITE_KILL_PRIV; in 1634 fs/fuse/file.c struct fuse_write_in *inarg = &wpa->ia.write.in; in 1717 fs/fuse/file.c struct fuse_write_in *inarg = &wpa->ia.write.in; in 1844 fs/fuse/file.c wpa->ia.write.in.write_flags |= FUSE_WRITE_CACHE; in 1983 fs/fuse/file.c curr_index = tmp->ia.write.in.offset >> PAGE_SHIFT; in 2080 fs/fuse/file.c wpa->ia.write.in.write_flags |= FUSE_WRITE_CACHE; in 348 fs/fuse/fuse_i.h } in; in 828 fs/fuse/fuse_i.h struct fuse_read_in in; in 832 fs/fuse/fuse_i.h struct fuse_write_in in; in 880 fs/fuse/inode.c struct fuse_init_in in; in 979 fs/fuse/inode.c ia->in.major = FUSE_KERNEL_VERSION; in 980 fs/fuse/inode.c ia->in.minor = FUSE_KERNEL_MINOR_VERSION; in 981 fs/fuse/inode.c ia->in.max_readahead = fc->sb->s_bdi->ra_pages * PAGE_SIZE; in 982 fs/fuse/inode.c ia->in.flags |= in 994 fs/fuse/inode.c ia->args.in_args[0].size = sizeof(ia->in); in 995 fs/fuse/inode.c ia->args.in_args[0].value = &ia->in; in 911 fs/fuse/virtio_fs.c sg_init_one(&sg[out_sgs++], &req->in.h, sizeof(req->in.h)); in 997 fs/fuse/virtio_fs.c __func__, req->in.h.opcode, req->in.h.unique, in 998 fs/fuse/virtio_fs.c req->in.h.nodeid, req->in.h.len, in 33 fs/hfs/trans.c int hfs_mac2asc(struct super_block *sb, char *out, const struct hfs_name *in) in 41 fs/hfs/trans.c src = in->name; in 42 fs/hfs/trans.c srclen = in->len; in 97 fs/hfs/trans.c void hfs_asc2mac(struct super_block *sb, struct hfs_name *out, const struct qstr *in) in 105 fs/hfs/trans.c src = in->name; in 106 fs/hfs/trans.c srclen = in->len; in 5411 fs/nfsd/nfs4state.c static __be32 check_stateid_generation(stateid_t *in, stateid_t *ref, bool has_session) in 5417 fs/nfsd/nfs4state.c if (has_session && in->si_generation == 0) in 5420 fs/nfsd/nfs4state.c if (in->si_generation == ref->si_generation) in 5424 fs/nfsd/nfs4state.c if (nfsd4_stateid_generation_after(in, ref)) in 5439 fs/nfsd/nfs4state.c static __be32 nfsd4_stid_check_stateid_generation(stateid_t *in, struct nfs4_stid *s, bool has_session) in 5446 fs/nfsd/nfs4state.c ret = check_stateid_generation(in, &s->sc_stateid, has_session); in 209 fs/ocfs2/dir.c static void TEA_transform(__u32 buf[4], __u32 const in[]) in 213 fs/ocfs2/dir.c __u32 a = in[0], b = in[1], c = in[2], d = in[3]; in 258 fs/ocfs2/dir.c __u32 in[8], buf[4]; in 284 fs/ocfs2/dir.c str2hashbuf(p, len, in, 4); in 285 fs/ocfs2/dir.c TEA_transform(buf, in); in 273 fs/pstore/platform.c static int pstore_compress(const void *in, void *out, in 278 fs/pstore/platform.c ret = crypto_comp_compress(tfm, in, inlen, out, &outlen); in 1396 fs/read_write.c struct fd in, out; in 1407 fs/read_write.c in = fdget(in_fd); in 1408 fs/read_write.c if (!in.file) in 1410 fs/read_write.c if (!(in.file->f_mode & FMODE_READ)) in 1414 fs/read_write.c pos = in.file->f_pos; in 1417 fs/read_write.c if (!(in.file->f_mode & FMODE_PREAD)) in 1420 fs/read_write.c retval = rw_verify_area(READ, in.file, &pos, count); in 1435 fs/read_write.c in_inode = file_inode(in.file); in 1460 fs/read_write.c if (in.file->f_flags & O_NONBLOCK) in 1464 fs/read_write.c retval = do_splice_direct(in.file, &pos, out.file, &out_pos, count, fl); in 1470 fs/read_write.c fsnotify_access(in.file); in 1476 fs/read_write.c in.file->f_pos = pos; in 1487 fs/read_write.c fdput(in); in 374 fs/select.c unsigned long *in, *out, *ex; in 413 fs/select.c #define FDS_IN(fds, n) (fds->in + n) in 465 fs/select.c static inline void wait_key_set(poll_table *wait, unsigned long in, in 470 fs/select.c if (in & bit) in 509 fs/select.c inp = fds->in; outp = fds->out; exp = fds->ex; in 513 fs/select.c unsigned long in, out, ex, all_bits, bit = 1, j; in 517 fs/select.c in = *inp++; out = *outp++; ex = *exp++; in 518 fs/select.c all_bits = in | out | ex; in 532 fs/select.c wait_key_set(wait, in, out, bit, in 537 fs/select.c if ((mask & POLLIN_SET) && (in & bit)) { in 662 fs/select.c fds.in = bits; in 669 fs/select.c if ((ret = get_fd_set(n, inp, fds.in)) || in 1208 fs/select.c fds.in = (unsigned long *) bits; in 1215 fs/select.c if ((ret = compat_get_fd_set(n, inp, fds.in)) || in 295 fs/splice.c ssize_t generic_file_splice_read(struct file *in, loff_t *ppos, in 305 fs/splice.c init_sync_kiocb(&kiocb, in); in 307 fs/splice.c ret = call_read_iter(in, &kiocb, &to); in 310 fs/splice.c file_accessed(in); in 365 fs/splice.c static ssize_t default_file_splice_read(struct file *in, loff_t *ppos, in 414 fs/splice.c res = kernel_readv(in, vec, nr_pages, *ppos); in 854 fs/splice.c static long do_splice_to(struct file *in, loff_t *ppos, in 862 fs/splice.c if (unlikely(!(in->f_mode & FMODE_READ))) in 865 fs/splice.c ret = rw_verify_area(READ, in, ppos, len); in 872 fs/splice.c if (in->f_op->splice_read) in 873 fs/splice.c splice_read = in->f_op->splice_read; in 877 fs/splice.c return splice_read(in, ppos, pipe, len, flags); in 893 fs/splice.c ssize_t splice_direct_to_actor(struct file *in, struct splice_desc *sd, in 907 fs/splice.c i_mode = file_inode(in)->i_mode; in 955 fs/splice.c ret = do_splice_to(in, &pos, pipe, read_len, flags); in 994 fs/splice.c file_accessed(in); in 1041 fs/splice.c long do_splice_direct(struct file *in, loff_t *ppos, struct file *out, in 1064 fs/splice.c ret = splice_direct_to_actor(in, &sd, direct_splice_actor); in 1098 fs/splice.c static long do_splice(struct file *in, loff_t __user *off_in, in 1107 fs/splice.c ipipe = get_pipe_info(in); in 1114 fs/splice.c if (!(in->f_mode & FMODE_READ)) in 1124 fs/splice.c if ((in->f_flags | out->f_flags) & O_NONBLOCK) in 1152 fs/splice.c if (in->f_flags & O_NONBLOCK) in 1171 fs/splice.c if (!(in->f_mode & FMODE_PREAD)) in 1176 fs/splice.c offset = in->f_pos; in 1191 fs/splice.c ret = do_splice_to(in, &offset, opipe, len, flags); in 1197 fs/splice.c in->f_pos = offset; in 1417 fs/splice.c struct fd in, out; in 1427 fs/splice.c in = fdget(fd_in); in 1428 fs/splice.c if (in.file) { in 1429 fs/splice.c if (in.file->f_mode & FMODE_READ) { in 1433 fs/splice.c error = do_splice(in.file, off_in, in 1439 fs/splice.c fdput(in); in 1734 fs/splice.c static long do_tee(struct file *in, struct file *out, size_t len, in 1737 fs/splice.c struct pipe_inode_info *ipipe = get_pipe_info(in); in 1746 fs/splice.c if ((in->f_flags | out->f_flags) & O_NONBLOCK) in 1766 fs/splice.c struct fd in; in 1776 fs/splice.c in = fdget(fdin); in 1777 fs/splice.c if (in.file) { in 1778 fs/splice.c if (in.file->f_mode & FMODE_READ) { in 1782 fs/splice.c error = do_tee(in.file, out.file, in 1787 fs/splice.c fdput(in); in 167 fs/squashfs/block.c int in, pg_offset = 0; in 171 fs/squashfs/block.c in = min(bytes, msblk->devblksize - offset); in 172 fs/squashfs/block.c bytes -= in; in 173 fs/squashfs/block.c while (in) { in 178 fs/squashfs/block.c avail = min_t(int, in, PAGE_SIZE - in 182 fs/squashfs/block.c in -= avail; in 138 fs/squashfs/xz_wrapper.c stream->buf.in = bh[k]->b_data + offset; in 8 fs/udf/udfend.h static inline struct kernel_lb_addr lelb_to_cpu(struct lb_addr in) in 12 fs/udf/udfend.h out.logicalBlockNum = le32_to_cpu(in.logicalBlockNum); in 13 fs/udf/udfend.h out.partitionReferenceNum = le16_to_cpu(in.partitionReferenceNum); in 18 fs/udf/udfend.h static inline struct lb_addr cpu_to_lelb(struct kernel_lb_addr in) in 22 fs/udf/udfend.h out.logicalBlockNum = cpu_to_le32(in.logicalBlockNum); in 23 fs/udf/udfend.h out.partitionReferenceNum = cpu_to_le16(in.partitionReferenceNum); in 28 fs/udf/udfend.h static inline struct short_ad lesa_to_cpu(struct short_ad in) in 32 fs/udf/udfend.h out.extLength = le32_to_cpu(in.extLength); in 33 fs/udf/udfend.h out.extPosition = le32_to_cpu(in.extPosition); in 38 fs/udf/udfend.h static inline struct short_ad cpu_to_lesa(struct short_ad in) in 42 fs/udf/udfend.h out.extLength = cpu_to_le32(in.extLength); in 43 fs/udf/udfend.h out.extPosition = cpu_to_le32(in.extPosition); in 48 fs/udf/udfend.h static inline struct kernel_long_ad lela_to_cpu(struct long_ad in) in 52 fs/udf/udfend.h out.extLength = le32_to_cpu(in.extLength); in 53 fs/udf/udfend.h out.extLocation = lelb_to_cpu(in.extLocation); in 58 fs/udf/udfend.h static inline struct long_ad cpu_to_lela(struct kernel_long_ad in) in 62 fs/udf/udfend.h out.extLength = cpu_to_le32(in.extLength); in 63 fs/udf/udfend.h out.extLocation = cpu_to_lelb(in.extLocation); in 68 fs/udf/udfend.h static inline struct kernel_extent_ad leea_to_cpu(struct extent_ad in) in 72 fs/udf/udfend.h out.extLength = le32_to_cpu(in.extLength); in 73 fs/udf/udfend.h out.extLocation = le32_to_cpu(in.extLocation); in 29 fs/xfs/xfs_fsops.c xfs_growfs_data_t *in) /* growfs data input struct */ in 41 fs/xfs/xfs_fsops.c nb = in->newblocks; in 174 fs/xfs/xfs_fsops.c xfs_growfs_log_t *in) /* growfs log input struct */ in 178 fs/xfs/xfs_fsops.c nb = in->newblocks; in 182 fs/xfs/xfs_fsops.c in->isint == (mp->m_sb.sb_logstart != 0)) in 224 fs/xfs/xfs_fsops.c struct xfs_growfs_data *in) in 234 fs/xfs/xfs_fsops.c if (in->imaxpct != mp->m_sb.sb_imax_pct) { in 235 fs/xfs/xfs_fsops.c error = xfs_growfs_imaxpct(mp, in->imaxpct); in 240 fs/xfs/xfs_fsops.c if (in->newblocks != mp->m_sb.sb_dblocks) { in 241 fs/xfs/xfs_fsops.c error = xfs_growfs_data_private(mp, in); in 271 fs/xfs/xfs_fsops.c xfs_growfs_log_t *in) in 279 fs/xfs/xfs_fsops.c error = xfs_growfs_log_private(mp, in); in 9 fs/xfs/xfs_fsops.h extern int xfs_growfs_data(xfs_mount_t *mp, xfs_growfs_data_t *in); in 10 fs/xfs/xfs_fsops.h extern int xfs_growfs_log(xfs_mount_t *mp, xfs_growfs_log_t *in); in 2272 fs/xfs/xfs_ioctl.c uint64_t in; in 2288 fs/xfs/xfs_ioctl.c in = inout.resblks; in 2289 fs/xfs/xfs_ioctl.c error = xfs_reserve_blocks(mp, &in, &inout); in 2316 fs/xfs/xfs_ioctl.c xfs_growfs_data_t in; in 2318 fs/xfs/xfs_ioctl.c if (copy_from_user(&in, arg, sizeof(in))) in 2324 fs/xfs/xfs_ioctl.c error = xfs_growfs_data(mp, &in); in 2330 fs/xfs/xfs_ioctl.c xfs_growfs_log_t in; in 2332 fs/xfs/xfs_ioctl.c if (copy_from_user(&in, arg, sizeof(in))) in 2338 fs/xfs/xfs_ioctl.c error = xfs_growfs_log(mp, &in); in 2344 fs/xfs/xfs_ioctl.c xfs_growfs_rt_t in; in 2346 fs/xfs/xfs_ioctl.c if (copy_from_user(&in, arg, sizeof(in))) in 2352 fs/xfs/xfs_ioctl.c error = xfs_growfs_rt(mp, &in); in 2358 fs/xfs/xfs_ioctl.c uint32_t in; in 2363 fs/xfs/xfs_ioctl.c if (get_user(in, (uint32_t __user *)arg)) in 2366 fs/xfs/xfs_ioctl.c return xfs_fs_goingdown(mp, in); in 2370 fs/xfs/xfs_ioctl.c xfs_error_injection_t in; in 2375 fs/xfs/xfs_ioctl.c if (copy_from_user(&in, arg, sizeof(in))) in 2378 fs/xfs/xfs_ioctl.c return xfs_errortag_add(mp, in.errtag); in 62 fs/xfs/xfs_ioctl32.c struct xfs_growfs_data *in, in 65 fs/xfs/xfs_ioctl32.c if (get_user(in->newblocks, &arg32->newblocks) || in 66 fs/xfs/xfs_ioctl32.c get_user(in->imaxpct, &arg32->imaxpct)) in 73 fs/xfs/xfs_ioctl32.c struct xfs_growfs_rt *in, in 76 fs/xfs/xfs_ioctl32.c if (get_user(in->newblocks, &arg32->newblocks) || in 77 fs/xfs/xfs_ioctl32.c get_user(in->extsize, &arg32->extsize)) in 578 fs/xfs/xfs_ioctl32.c struct xfs_growfs_data in; in 580 fs/xfs/xfs_ioctl32.c if (xfs_compat_growfs_data_copyin(&in, arg)) in 585 fs/xfs/xfs_ioctl32.c error = xfs_growfs_data(mp, &in); in 590 fs/xfs/xfs_ioctl32.c struct xfs_growfs_rt in; in 592 fs/xfs/xfs_ioctl32.c if (xfs_compat_growfs_rt_copyin(&in, arg)) in 597 fs/xfs/xfs_ioctl32.c error = xfs_growfs_rt(mp, &in); in 883 fs/xfs/xfs_rtalloc.c xfs_growfs_rt_t *in) /* growfs rt input struct */ in 910 fs/xfs/xfs_rtalloc.c (nrblocks = in->newblocks) <= sbp->sb_rblocks || in 911 fs/xfs/xfs_rtalloc.c (sbp->sb_rblocks && (in->extsize != sbp->sb_rextsize))) in 929 fs/xfs/xfs_rtalloc.c do_div(nrextents, in->extsize); in 984 fs/xfs/xfs_rtalloc.c nsbp->sb_rextsize = in->extsize; in 98 fs/xfs/xfs_rtalloc.h xfs_growfs_rt_t *in); /* user supplied growfs struct */ in 142 fs/xfs/xfs_rtalloc.h # define xfs_growfs_rt(mp,in) (ENOSYS) in 77 include/crypto/aes.h void aes_encrypt(const struct crypto_aes_ctx *ctx, u8 *out, const u8 *in); in 85 include/crypto/aes.h void aes_decrypt(const struct crypto_aes_ctx *ctx, u8 *out, const u8 *in); in 101 include/crypto/algapi.h struct scatter_walk in; in 124 include/crypto/algapi.h struct scatter_walk in; in 327 include/crypto/algapi.h walk->in.sg = src; in 337 include/crypto/algapi.h walk->in.sg = src; in 21 include/crypto/arc4.h void arc4_crypt(struct arc4_ctx *ctx, u8 *out, const u8 *in, unsigned int len); in 42 include/crypto/chacha.h void hchacha_block(const u32 *in, u32 *out, int nrounds); in 135 include/crypto/hash.h int (*import)(struct ahash_request *req, const void *in); in 189 include/crypto/hash.h int (*import)(struct shash_desc *desc, const void *in); in 210 include/crypto/hash.h int (*import)(struct ahash_request *req, const void *in); in 484 include/crypto/hash.h static inline int crypto_ahash_import(struct ahash_request *req, const void *in) in 491 include/crypto/hash.h return tfm->import(req, in); in 874 include/crypto/hash.h static inline int crypto_shash_import(struct shash_desc *desc, const void *in) in 881 include/crypto/hash.h return crypto_shash_alg(tfm)->import(desc, in); in 47 include/crypto/internal/skcipher.h struct scatter_walk in; in 28 include/crypto/sm4.h void crypto_sm4_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in); in 29 include/crypto/sm4.h void crypto_sm4_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in); in 467 include/drm/drm_modes.h const struct drm_display_mode *in); in 470 include/drm/drm_modes.h const struct drm_mode_modeinfo *in); in 40 include/keys/asymmetric-subtype.h const void *in, void *out); in 130 include/keys/trusted.h static inline void storebytes(struct tpm_buf *buf, const unsigned char *in, in 133 include/keys/trusted.h memcpy(buf->data + buf->len, in, len); in 369 include/linux/acpi.h const struct acpi_buffer *in, in 374 include/linux/acpi.h const struct acpi_buffer *in); in 22 include/linux/ascii85.h ascii85_encode(u32 in, char *out) in 26 include/linux/ascii85.h if (in == 0) in 31 include/linux/ascii85.h out[i] = '!' + in % 85; in 32 include/linux/ascii85.h in /= 85; in 671 include/linux/compat.h struct compat_itimerval __user *in, in 13 include/linux/decompress/unxz.h int unxz(unsigned char *in, long in_size, in 313 include/linux/f2fs_fs.h struct indirect_node in; in 3131 include/linux/fs.h extern long do_splice_direct(struct file *in, loff_t *ppos, struct file *out, in 142 include/linux/hil_mlc.h hil_mlc_in *in; in 65 include/linux/i3c/device.h void *in; in 336 include/linux/ide.h } out, in; in 154 include/linux/key-type.h const void *in, void *out); in 156 include/linux/key-type.h const void *in, const void *in2); in 45 include/linux/kfifo.h unsigned int in; in 128 include/linux/kfifo.h __kfifo->in = 0; \ in 148 include/linux/kfifo.h .in = 0, \ in 212 include/linux/kfifo.h __tmp->kfifo.in = __tmp->kfifo.out = 0; \ in 226 include/linux/kfifo.h __tmp->kfifo.out = __tmp->kfifo.in; \ in 236 include/linux/kfifo.h __tmpl->kfifo.in - __tmpl->kfifo.out; \ in 246 include/linux/kfifo.h __tmpq->kfifo.in == __tmpq->kfifo.out; \ in 390 include/linux/kfifo.h )[__kfifo->in & __tmp->kfifo.mask] = \ in 393 include/linux/kfifo.h __kfifo->in++; \ in 678 include/linux/kfifo.h __kfifo->in += __len / sizeof(*__tmp->type); \ in 31 include/linux/logic_pio.h u32 (*in)(void *hostdata, unsigned long addr, size_t dwidth); in 108 include/linux/mfd/adp5520.h #define FADE_VAL(in, out) ((0xF & (in)) | ((0xF & (out)) << 4)) in 188 include/linux/mlx5/cq.h u32 *in, int inlen, u32 *out, int outlen); in 193 include/linux/mlx5/cq.h u32 *in, int inlen); in 514 include/linux/mlx5/device.h __be32 in[4]; in 751 include/linux/mlx5/driver.h struct mlx5_cmd_msg *in; in 914 include/linux/mlx5/driver.h int mlx5_cmd_exec_cb(struct mlx5_async_ctx *ctx, void *in, int in_size, in 918 include/linux/mlx5/driver.h int mlx5_cmd_exec(struct mlx5_core_dev *dev, void *in, int in_size, void *out, in 920 include/linux/mlx5/driver.h int mlx5_cmd_exec_polling(struct mlx5_core_dev *dev, void *in, int in_size, in 950 include/linux/mlx5/driver.h struct mlx5_async_ctx *async_ctx, u32 *in, in 956 include/linux/mlx5/driver.h u32 *in, int inlen); in 183 include/linux/mlx5/fs.h mlx5_create_flow_group(struct mlx5_flow_table *ft, u32 *in); in 187 include/linux/mlx5/port.h int mlx5_set_ports_check(struct mlx5_core_dev *mdev, u32 *in, int inlen); in 195 include/linux/mlx5/port.h int mlx5_set_port_dcbx_param(struct mlx5_core_dev *mdev, u32 *in); in 563 include/linux/mlx5/qp.h u32 *in, int inlen, in 567 include/linux/mlx5/qp.h u32 *in, in 590 include/linux/mlx5/qp.h int mlx5_core_create_rq_tracked(struct mlx5_core_dev *dev, u32 *in, int inlen, in 594 include/linux/mlx5/qp.h int mlx5_core_create_sq_tracked(struct mlx5_core_dev *dev, u32 *in, int inlen, in 40 include/linux/mlx5/transobj.h int mlx5_core_create_rq(struct mlx5_core_dev *dev, u32 *in, int inlen, in 42 include/linux/mlx5/transobj.h int mlx5_core_modify_rq(struct mlx5_core_dev *dev, u32 rqn, u32 *in, int inlen); in 45 include/linux/mlx5/transobj.h int mlx5_core_create_sq(struct mlx5_core_dev *dev, u32 *in, int inlen, in 47 include/linux/mlx5/transobj.h int mlx5_core_modify_sq(struct mlx5_core_dev *dev, u32 sqn, u32 *in, int inlen); in 51 include/linux/mlx5/transobj.h int mlx5_core_create_tir(struct mlx5_core_dev *dev, u32 *in, int inlen, in 54 include/linux/mlx5/transobj.h u32 *in, int inlen, in 56 include/linux/mlx5/transobj.h int mlx5_core_modify_tir(struct mlx5_core_dev *dev, u32 tirn, u32 *in, in 59 include/linux/mlx5/transobj.h int mlx5_core_create_tis(struct mlx5_core_dev *dev, u32 *in, int inlen, in 61 include/linux/mlx5/transobj.h int mlx5_core_modify_tis(struct mlx5_core_dev *dev, u32 tisn, u32 *in, in 64 include/linux/mlx5/transobj.h int mlx5_core_create_rqt(struct mlx5_core_dev *dev, u32 *in, int inlen, in 66 include/linux/mlx5/transobj.h int mlx5_core_modify_rqt(struct mlx5_core_dev *dev, u32 rqtn, u32 *in, in 105 include/linux/mtd/nand.h void *in; in 111 include/linux/mtd/nand.h void *in; in 638 include/linux/mtd/nand.h iter->req.databuf.in = req->datbuf; in 642 include/linux/mtd/nand.h iter->req.oobbuf.in = req->oobbuf; in 660 include/linux/mtd/nand.h iter->req.databuf.in += iter->req.datalen; in 662 include/linux/mtd/nand.h iter->req.oobbuf.in += iter->req.ooblen; in 550 include/linux/mtd/rawnand.h void *in; in 649 include/linux/mtd/rawnand.h .buf.in = b, \ in 671 include/linux/mtd/rawnand.h .buf.in = b, \ in 69 include/linux/netfilter.h struct net_device *in; in 149 include/linux/netfilter.h p->in = indev; in 286 include/linux/netfilter.h struct sk_buff *skb, struct net_device *in, struct net_device *out, in 293 include/linux/netfilter.h ((ret = nf_hook(pf, hook, net, sk, skb, in, out, okfn)) == 1)) in 300 include/linux/netfilter.h struct net_device *in, struct net_device *out, in 303 include/linux/netfilter.h int ret = nf_hook(pf, hook, net, sk, skb, in, out, okfn); in 311 include/linux/netfilter.h struct list_head *head, struct net_device *in, struct net_device *out, in 320 include/linux/netfilter.h if (nf_hook(pf, hook, net, sk, skb, in, out, okfn) == 1) in 388 include/linux/netfilter.h struct sk_buff *skb, struct net_device *in, struct net_device *out, in 397 include/linux/netfilter.h struct sk_buff *skb, struct net_device *in, struct net_device *out, in 405 include/linux/netfilter.h struct list_head *head, struct net_device *in, struct net_device *out, in 30 include/linux/netfilter/nfnetlink_osf.h int hooknum, struct net_device *in, struct net_device *out, in 51 include/linux/netfilter/x_tables.h return par->state->in; in 56 include/linux/netfilter/x_tables.h return par->state->in->name; in 23 include/linux/netfilter_bridge/ebtables.h bool (*match)(const struct sk_buff *skb, const struct net_device *in, in 41 include/linux/netfilter_bridge/ebtables.h const struct net_device *in, const struct net_device *out, in 59 include/linux/netfilter_bridge/ebtables.h const struct net_device *in, const struct net_device *out, in 21 include/linux/netpoll.h struct in_addr in; in 33 include/linux/platform_data/hwmon-s3c.h struct s3c_hwmon_chcfg *in[8]; in 260 include/linux/scatterlist.h int sg_split(struct scatterlist *in, const int in_mapped_nents, in 43 include/linux/spi/spi-mem.h .buf.in = __buf, \ in 113 include/linux/spi/spi-mem.h void *in; in 75 include/linux/sunrpc/gss_krb5.h void *iv, void *in, void *out, in 78 include/linux/sunrpc/gss_krb5.h void *iv, void *in, void *out, in 81 include/linux/sunrpc/gss_krb5.h struct xdr_netobj *in, in 264 include/linux/sunrpc/gss_krb5.h void *iv, void *in, void *out, int length); in 268 include/linux/sunrpc/gss_krb5.h void *iv, void *in, void *out, int length); in 42 include/linux/usb/usbnet.h unsigned in, out; in 171 include/linux/usb/usbnet.h int in; /* rx endpoint */ in 26 include/linux/wmi.h const struct acpi_buffer *in, in 137 include/linux/xz.h const uint8_t *in; in 79 include/media/drv-intf/cx2341x.h typedef int (*cx2341x_mbox_func)(void *priv, u32 cmd, int in, int out, in 77 include/media/drv-intf/msp3400.h #define MSP_SCART_TO_DSP(in) (in) in 81 include/media/drv-intf/msp3400.h #define MSP_TUNER_TO_DSP(in) ((in) << 3) in 108 include/media/drv-intf/msp3400.h #define MSP_DSP_TO_MAIN(in) ((in) << 4) in 109 include/media/drv-intf/msp3400.h #define MSP_DSP_TO_AUX(in) ((in) << 8) in 110 include/media/drv-intf/msp3400.h #define MSP_DSP_TO_SCART1(in) ((in) << 12) in 111 include/media/drv-intf/msp3400.h #define MSP_DSP_TO_SCART2(in) ((in) << 16) in 112 include/media/drv-intf/msp3400.h #define MSP_DSP_TO_I2S(in) ((in) << 20) in 124 include/media/drv-intf/msp3400.h #define MSP_SC_TO_SCART1(in) (in) in 125 include/media/drv-intf/msp3400.h #define MSP_SC_TO_SCART2(in) ((in) << 4) in 43 include/net/netfilter/nf_log.h const struct net_device *in, in 82 include/net/netfilter/nf_log.h const struct net_device *in, in 92 include/net/netfilter/nf_log.h const struct net_device *in, in 113 include/net/netfilter/nf_log.h const struct net_device *in, in 121 include/net/netfilter/nf_log.h const struct net_device *in, in 46 include/net/netfilter/nf_tables.h return pkt->xt.state->in; in 79 include/net/netfilter/nf_tproxy.h const struct net_device *in, in 118 include/net/netfilter/nf_tproxy.h const struct net_device *in, in 16 include/net/netfilter/nft_fib.h nft_fib_is_loopback(const struct sk_buff *skb, const struct net_device *in) in 18 include/net/netfilter/nft_fib.h return skb->pkt_type == PACKET_LOOPBACK || in->flags & IFF_LOOPBACK; in 1443 include/net/sctp/structs.h GENRADIX(struct sctp_stream_in) in; in 1477 include/net/sctp/structs.h return genradix_ptr(&stream->in, sid); in 63 include/scsi/libiscsi_tcp.h struct iscsi_tcp_recv in; /* TCP receive context */ in 12 include/trace/events/gpio.h TP_PROTO(unsigned gpio, int in, int err), in 14 include/trace/events/gpio.h TP_ARGS(gpio, in, err), in 18 include/trace/events/gpio.h __field(int, in) in 24 include/trace/events/gpio.h __entry->in = in; in 29 include/trace/events/gpio.h __entry->in ? "in" : "out", __entry->err) in 154 include/uapi/drm/amdgpu_drm.h struct drm_amdgpu_gem_create_in in; in 192 include/uapi/drm/amdgpu_drm.h struct drm_amdgpu_bo_list_in in; in 260 include/uapi/drm/amdgpu_drm.h struct drm_amdgpu_ctx_in in; in 280 include/uapi/drm/amdgpu_drm.h struct drm_amdgpu_vm_in in; in 298 include/uapi/drm/amdgpu_drm.h struct drm_amdgpu_sched_in in; in 386 include/uapi/drm/amdgpu_drm.h struct drm_amdgpu_gem_mmap_in in; in 407 include/uapi/drm/amdgpu_drm.h struct drm_amdgpu_gem_wait_idle_in in; in 431 include/uapi/drm/amdgpu_drm.h struct drm_amdgpu_wait_cs_in in; in 457 include/uapi/drm/amdgpu_drm.h struct drm_amdgpu_wait_fences_in in; in 565 include/uapi/drm/amdgpu_drm.h struct drm_amdgpu_cs_in in; in 637 include/uapi/drm/amdgpu_drm.h } in; in 74 include/uapi/linux/auto_dev-ioctl.h } in; in 115 include/uapi/linux/auto_dev-ioctl.h static inline void init_autofs_dev_ioctl(struct autofs_dev_ioctl *in) in 117 include/uapi/linux/auto_dev-ioctl.h memset(in, 0, AUTOFS_DEV_IOCTL_SIZE); in 118 include/uapi/linux/auto_dev-ioctl.h in->ver_major = AUTOFS_DEV_IOCTL_VERSION_MAJOR; in 119 include/uapi/linux/auto_dev-ioctl.h in->ver_minor = AUTOFS_DEV_IOCTL_VERSION_MINOR; in 120 include/uapi/linux/auto_dev-ioctl.h in->size = AUTOFS_DEV_IOCTL_SIZE; in 121 include/uapi/linux/auto_dev-ioctl.h in->ioctlfd = -1; in 317 include/uapi/linux/coda.h struct coda_in_hdr in; in 637 include/uapi/linux/coda.h struct coda_in_hdr in; in 736 include/uapi/linux/coda.h void __user *in; /* Data to be transferred in */ in 72 include/uapi/linux/netfilter.h struct in_addr in; in 174 include/uapi/linux/netfilter_bridge/ebtables.h char in[IFNAMSIZ]; in 80 include/uapi/linux/vboxguest.h } in; in 115 include/uapi/linux/vboxguest.h } in; in 133 include/uapi/linux/vboxguest.h } in; in 197 include/uapi/linux/vboxguest.h } in; in 214 include/uapi/linux/vboxguest.h } in; in 250 include/uapi/linux/vboxguest.h } in; in 270 include/uapi/linux/vboxguest.h } in; in 322 include/uapi/linux/vboxguest.h } in; in 204 include/uapi/misc/habanalabs.h struct hl_cb_in in; in 269 include/uapi/misc/habanalabs.h struct hl_cs_in in; in 296 include/uapi/misc/habanalabs.h struct hl_wait_cs_in in; in 396 include/uapi/misc/habanalabs.h struct hl_mem_in in; in 86 include/uapi/rdma/rdma_user_cm.h __u16 in; in 209 include/uapi/sound/hdspm.h unsigned int in[HDSPM_MIXER_CHANNELS]; in 65 include/video/imx-ipu-image-convert.h void ipu_image_convert_adjust(struct ipu_image *in, struct ipu_image *out, in 79 include/video/imx-ipu-image-convert.h int ipu_image_convert_verify(struct ipu_image *in, struct ipu_image *out, in 101 include/video/imx-ipu-image-convert.h struct ipu_image *in, struct ipu_image *out, in 174 include/video/imx-ipu-image-convert.h struct ipu_image *in, struct ipu_image *out, in 194 include/video/imx-ipu-image-convert.h struct ipu_image *in, struct ipu_image *out, in 333 include/video/imx-ipu-v3.h enum ipu_color_space in, enum ipu_color_space out); in 18 include/xen/interface/io/console.h char in[1024]; in 413 include/xen/interface/io/ring.h unsigned char *in; /* half of the allocation */ \ in 71 include/xen/interface/memory.h struct xen_memory_reservation in; in 299 ipc/msg.c copy_msqid_to_user(void __user *buf, struct msqid64_ds *in, int version) in 303 ipc/msg.c return copy_to_user(buf, in, sizeof(*in)); in 310 ipc/msg.c ipc64_perm_to_ipc_perm(&in->msg_perm, &out.msg_perm); in 312 ipc/msg.c out.msg_stime = in->msg_stime; in 313 ipc/msg.c out.msg_rtime = in->msg_rtime; in 314 ipc/msg.c out.msg_ctime = in->msg_ctime; in 316 ipc/msg.c if (in->msg_cbytes > USHRT_MAX) in 319 ipc/msg.c out.msg_cbytes = in->msg_cbytes; in 320 ipc/msg.c out.msg_lcbytes = in->msg_cbytes; in 322 ipc/msg.c if (in->msg_qnum > USHRT_MAX) in 325 ipc/msg.c out.msg_qnum = in->msg_qnum; in 327 ipc/msg.c if (in->msg_qbytes > USHRT_MAX) in 330 ipc/msg.c out.msg_qbytes = in->msg_qbytes; in 331 ipc/msg.c out.msg_lqbytes = in->msg_qbytes; in 333 ipc/msg.c out.msg_lspid = in->msg_lspid; in 334 ipc/msg.c out.msg_lrpid = in->msg_lrpid; in 670 ipc/msg.c static int copy_compat_msqid_to_user(void __user *buf, struct msqid64_ds *in, in 676 ipc/msg.c to_compat_ipc64_perm(&v.msg_perm, &in->msg_perm); in 677 ipc/msg.c v.msg_stime = lower_32_bits(in->msg_stime); in 678 ipc/msg.c v.msg_stime_high = upper_32_bits(in->msg_stime); in 679 ipc/msg.c v.msg_rtime = lower_32_bits(in->msg_rtime); in 680 ipc/msg.c v.msg_rtime_high = upper_32_bits(in->msg_rtime); in 681 ipc/msg.c v.msg_ctime = lower_32_bits(in->msg_ctime); in 682 ipc/msg.c v.msg_ctime_high = upper_32_bits(in->msg_ctime); in 683 ipc/msg.c v.msg_cbytes = in->msg_cbytes; in 684 ipc/msg.c v.msg_qnum = in->msg_qnum; in 685 ipc/msg.c v.msg_qbytes = in->msg_qbytes; in 686 ipc/msg.c v.msg_lspid = in->msg_lspid; in 687 ipc/msg.c v.msg_lrpid = in->msg_lrpid; in 692 ipc/msg.c to_compat_ipc_perm(&v.msg_perm, &in->msg_perm); in 693 ipc/msg.c v.msg_stime = in->msg_stime; in 694 ipc/msg.c v.msg_rtime = in->msg_rtime; in 695 ipc/msg.c v.msg_ctime = in->msg_ctime; in 696 ipc/msg.c v.msg_cbytes = in->msg_cbytes; in 697 ipc/msg.c v.msg_qnum = in->msg_qnum; in 698 ipc/msg.c v.msg_qbytes = in->msg_qbytes; in 699 ipc/msg.c v.msg_lspid = in->msg_lspid; in 700 ipc/msg.c v.msg_lrpid = in->msg_lrpid; in 1176 ipc/sem.c static unsigned long copy_semid_to_user(void __user *buf, struct semid64_ds *in, int version) in 1180 ipc/sem.c return copy_to_user(buf, in, sizeof(*in)); in 1187 ipc/sem.c ipc64_perm_to_ipc_perm(&in->sem_perm, &out.sem_perm); in 1189 ipc/sem.c out.sem_otime = in->sem_otime; in 1190 ipc/sem.c out.sem_ctime = in->sem_ctime; in 1191 ipc/sem.c out.sem_nsems = in->sem_nsems; in 1732 ipc/sem.c static int copy_compat_semid_to_user(void __user *buf, struct semid64_ds *in, in 1738 ipc/sem.c to_compat_ipc64_perm(&v.sem_perm, &in->sem_perm); in 1739 ipc/sem.c v.sem_otime = lower_32_bits(in->sem_otime); in 1740 ipc/sem.c v.sem_otime_high = upper_32_bits(in->sem_otime); in 1741 ipc/sem.c v.sem_ctime = lower_32_bits(in->sem_ctime); in 1742 ipc/sem.c v.sem_ctime_high = upper_32_bits(in->sem_ctime); in 1743 ipc/sem.c v.sem_nsems = in->sem_nsems; in 1748 ipc/sem.c to_compat_ipc_perm(&v.sem_perm, &in->sem_perm); in 1749 ipc/sem.c v.sem_otime = in->sem_otime; in 1750 ipc/sem.c v.sem_ctime = in->sem_ctime; in 1751 ipc/sem.c v.sem_nsems = in->sem_nsems; in 750 ipc/shm.c static inline unsigned long copy_shmid_to_user(void __user *buf, struct shmid64_ds *in, int version) in 754 ipc/shm.c return copy_to_user(buf, in, sizeof(*in)); in 760 ipc/shm.c ipc64_perm_to_ipc_perm(&in->shm_perm, &out.shm_perm); in 761 ipc/shm.c out.shm_segsz = in->shm_segsz; in 762 ipc/shm.c out.shm_atime = in->shm_atime; in 763 ipc/shm.c out.shm_dtime = in->shm_dtime; in 764 ipc/shm.c out.shm_ctime = in->shm_ctime; in 765 ipc/shm.c out.shm_cpid = in->shm_cpid; in 766 ipc/shm.c out.shm_lpid = in->shm_lpid; in 767 ipc/shm.c out.shm_nattch = in->shm_nattch; in 802 ipc/shm.c static inline unsigned long copy_shminfo_to_user(void __user *buf, struct shminfo64 *in, int version) in 806 ipc/shm.c return copy_to_user(buf, in, sizeof(*in)); in 811 ipc/shm.c if (in->shmmax > INT_MAX) in 814 ipc/shm.c out.shmmax = (int)in->shmmax; in 816 ipc/shm.c out.shmmin = in->shmmin; in 817 ipc/shm.c out.shmmni = in->shmmni; in 818 ipc/shm.c out.shmseg = in->shmseg; in 819 ipc/shm.c out.shmall = in->shmall; in 1247 ipc/shm.c static int copy_compat_shminfo_to_user(void __user *buf, struct shminfo64 *in, in 1250 ipc/shm.c if (in->shmmax > INT_MAX) in 1251 ipc/shm.c in->shmmax = INT_MAX; in 1255 ipc/shm.c info.shmmax = in->shmmax; in 1256 ipc/shm.c info.shmmin = in->shmmin; in 1257 ipc/shm.c info.shmmni = in->shmmni; in 1258 ipc/shm.c info.shmseg = in->shmseg; in 1259 ipc/shm.c info.shmall = in->shmall; in 1264 ipc/shm.c info.shmmax = in->shmmax; in 1265 ipc/shm.c info.shmmin = in->shmmin; in 1266 ipc/shm.c info.shmmni = in->shmmni; in 1267 ipc/shm.c info.shmseg = in->shmseg; in 1268 ipc/shm.c info.shmall = in->shmall; in 1288 ipc/shm.c static int copy_compat_shmid_to_user(void __user *buf, struct shmid64_ds *in, in 1294 ipc/shm.c to_compat_ipc64_perm(&v.shm_perm, &in->shm_perm); in 1295 ipc/shm.c v.shm_atime = lower_32_bits(in->shm_atime); in 1296 ipc/shm.c v.shm_atime_high = upper_32_bits(in->shm_atime); in 1297 ipc/shm.c v.shm_dtime = lower_32_bits(in->shm_dtime); in 1298 ipc/shm.c v.shm_dtime_high = upper_32_bits(in->shm_dtime); in 1299 ipc/shm.c v.shm_ctime = lower_32_bits(in->shm_ctime); in 1300 ipc/shm.c v.shm_ctime_high = upper_32_bits(in->shm_ctime); in 1301 ipc/shm.c v.shm_segsz = in->shm_segsz; in 1302 ipc/shm.c v.shm_nattch = in->shm_nattch; in 1303 ipc/shm.c v.shm_cpid = in->shm_cpid; in 1304 ipc/shm.c v.shm_lpid = in->shm_lpid; in 1309 ipc/shm.c to_compat_ipc_perm(&v.shm_perm, &in->shm_perm); in 1310 ipc/shm.c v.shm_perm.key = in->shm_perm.key; in 1311 ipc/shm.c v.shm_atime = in->shm_atime; in 1312 ipc/shm.c v.shm_dtime = in->shm_dtime; in 1313 ipc/shm.c v.shm_ctime = in->shm_ctime; in 1314 ipc/shm.c v.shm_segsz = in->shm_segsz; in 1315 ipc/shm.c v.shm_nattch = in->shm_nattch; in 1316 ipc/shm.c v.shm_cpid = in->shm_cpid; in 1317 ipc/shm.c v.shm_lpid = in->shm_lpid; in 553 ipc/util.c void kernel_to_ipc64_perm(struct kern_ipc_perm *in, struct ipc64_perm *out) in 555 ipc/util.c out->key = in->key; in 556 ipc/util.c out->uid = from_kuid_munged(current_user_ns(), in->uid); in 557 ipc/util.c out->gid = from_kgid_munged(current_user_ns(), in->gid); in 558 ipc/util.c out->cuid = from_kuid_munged(current_user_ns(), in->cuid); in 559 ipc/util.c out->cgid = from_kgid_munged(current_user_ns(), in->cgid); in 560 ipc/util.c out->mode = in->mode; in 561 ipc/util.c out->seq = in->seq; in 572 ipc/util.c void ipc64_perm_to_ipc_perm(struct ipc64_perm *in, struct ipc_perm *out) in 574 ipc/util.c out->key = in->key; in 575 ipc/util.c SET_UID(out->uid, in->uid); in 576 ipc/util.c SET_GID(out->gid, in->gid); in 577 ipc/util.c SET_UID(out->cuid, in->cuid); in 578 ipc/util.c SET_GID(out->cgid, in->cgid); in 579 ipc/util.c out->mode = in->mode; in 580 ipc/util.c out->seq = in->seq; in 653 ipc/util.c int ipc_update_perm(struct ipc64_perm *in, struct kern_ipc_perm *out) in 655 ipc/util.c kuid_t uid = make_kuid(current_user_ns(), in->uid); in 656 ipc/util.c kgid_t gid = make_kgid(current_user_ns(), in->gid); in 663 ipc/util.c | (in->mode & S_IRWXUGO); in 176 ipc/util.h void kernel_to_ipc64_perm(struct kern_ipc_perm *in, struct ipc64_perm *out); in 177 ipc/util.h void ipc64_perm_to_ipc_perm(struct ipc64_perm *in, struct ipc_perm *out); in 178 ipc/util.h int ipc_update_perm(struct ipc64_perm *in, struct kern_ipc_perm *out); in 270 kernel/kexec.c struct compat_kexec_segment in; in 286 kernel/kexec.c result = copy_from_user(&in, &segments[i], sizeof(in)); in 290 kernel/kexec.c out.buf = compat_ptr(in.buf); in 291 kernel/kexec.c out.bufsz = in.bufsz; in 292 kernel/kexec.c out.mem = in.mem; in 293 kernel/kexec.c out.memsz = in.memsz; in 1198 kernel/relay.c static ssize_t subbuf_splice_actor(struct file *in, in 1206 kernel/relay.c struct rchan_buf *rbuf = in->private_data; in 1290 kernel/relay.c static ssize_t relay_file_splice_read(struct file *in, in 1304 kernel/relay.c ret = subbuf_splice_actor(in, ppos, pipe, len, flags, &nonpad_ret); in 314 kernel/time/itimer.c struct compat_itimerval __user *, in, in 320 kernel/time/itimer.c if (in) { in 321 kernel/time/itimer.c if (get_compat_itimerval(&kin, in)) in 89 lib/842/842_compress.c u8 *in; in 110 lib/842/842_compress.c be##b##_to_cpu(get_unaligned((__be##b *)((p)->in + (o)))) in 145 lib/842/842_compress.c (unsigned int)((p)->in - (p)->instart), \ in 343 lib/842/842_compress.c ret = add_bits(p, p->in[i], 8); in 425 lib/842/842_compress.c u64 pos = p->in - p->instart; in 477 lib/842/842_compress.c int sw842_compress(const u8 *in, unsigned int ilen, in 492 lib/842/842_compress.c p->in = (u8 *)in; in 493 lib/842/842_compress.c p->instart = p->in; in 514 lib/842/842_compress.c last = ~get_unaligned((u64 *)p->in); in 517 lib/842/842_compress.c next = get_unaligned((u64 *)p->in); in 551 lib/842/842_compress.c p->in += 8; in 567 lib/842/842_compress.c p->in += p->ilen; in 582 lib/842/842_compress.c crc = crc32_be(0, in, ilen); in 51 lib/842/842_decompress.c u8 *in; in 89 lib/842/842_decompress.c u8 *in = p->in, b = p->bit, bits = b + n; in 110 lib/842/842_decompress.c *d = *in >> (8 - bits); in 112 lib/842/842_decompress.c *d = be16_to_cpu(get_unaligned((__be16 *)in)) >> (16 - bits); in 114 lib/842/842_decompress.c *d = be32_to_cpu(get_unaligned((__be32 *)in)) >> (32 - bits); in 116 lib/842/842_decompress.c *d = be64_to_cpu(get_unaligned((__be64 *)in)) >> (64 - bits); in 123 lib/842/842_decompress.c p->in += p->bit / 8; in 277 lib/842/842_decompress.c int sw842_decompress(const u8 *in, unsigned int ilen, in 285 lib/842/842_decompress.c p.in = (u8 *)in; in 102 lib/chacha.c void hchacha_block(const u32 *in, u32 *out, int nrounds) in 106 lib/chacha.c memcpy(x, in, 64); in 147 lib/crypto/aes.c static __always_inline u32 subshift(u32 in[], int pos) in 149 lib/crypto/aes.c return (aes_sbox[in[pos] & 0xff]) ^ in 150 lib/crypto/aes.c (aes_sbox[(in[(pos + 1) % 4] >> 8) & 0xff] << 8) ^ in 151 lib/crypto/aes.c (aes_sbox[(in[(pos + 2) % 4] >> 16) & 0xff] << 16) ^ in 152 lib/crypto/aes.c (aes_sbox[(in[(pos + 3) % 4] >> 24) & 0xff] << 24); in 155 lib/crypto/aes.c static __always_inline u32 inv_subshift(u32 in[], int pos) in 157 lib/crypto/aes.c return (aes_inv_sbox[in[pos] & 0xff]) ^ in 158 lib/crypto/aes.c (aes_inv_sbox[(in[(pos + 3) % 4] >> 8) & 0xff] << 8) ^ in 159 lib/crypto/aes.c (aes_inv_sbox[(in[(pos + 2) % 4] >> 16) & 0xff] << 16) ^ in 160 lib/crypto/aes.c (aes_inv_sbox[(in[(pos + 1) % 4] >> 24) & 0xff] << 24); in 163 lib/crypto/aes.c static u32 subw(u32 in) in 165 lib/crypto/aes.c return (aes_sbox[in & 0xff]) ^ in 166 lib/crypto/aes.c (aes_sbox[(in >> 8) & 0xff] << 8) ^ in 167 lib/crypto/aes.c (aes_sbox[(in >> 16) & 0xff] << 16) ^ in 168 lib/crypto/aes.c (aes_sbox[(in >> 24) & 0xff] << 24); in 258 lib/crypto/aes.c void aes_encrypt(const struct crypto_aes_ctx *ctx, u8 *out, const u8 *in) in 265 lib/crypto/aes.c st0[0] = ctx->key_enc[0] ^ get_unaligned_le32(in); in 266 lib/crypto/aes.c st0[1] = ctx->key_enc[1] ^ get_unaligned_le32(in + 4); in 267 lib/crypto/aes.c st0[2] = ctx->key_enc[2] ^ get_unaligned_le32(in + 8); in 268 lib/crypto/aes.c st0[3] = ctx->key_enc[3] ^ get_unaligned_le32(in + 12); in 309 lib/crypto/aes.c void aes_decrypt(const struct crypto_aes_ctx *ctx, u8 *out, const u8 *in) in 316 lib/crypto/aes.c st0[0] = ctx->key_dec[0] ^ get_unaligned_le32(in); in 317 lib/crypto/aes.c st0[1] = ctx->key_dec[1] ^ get_unaligned_le32(in + 4); in 318 lib/crypto/aes.c st0[2] = ctx->key_dec[2] ^ get_unaligned_le32(in + 8); in 319 lib/crypto/aes.c st0[3] = ctx->key_dec[3] ^ get_unaligned_le32(in + 12); in 37 lib/crypto/arc4.c void arc4_crypt(struct arc4_ctx *ctx, u8 *out, const u8 *in, unsigned int len) in 61 lib/crypto/arc4.c *out++ = *in++ ^ S[a]; in 251 lib/decompress_unxz.c STATIC int INIT unxz(unsigned char *in, long in_size, in 287 lib/decompress_unxz.c if (in == NULL) { in 289 lib/decompress_unxz.c in = malloc(XZ_IOBUF_SIZE); in 290 lib/decompress_unxz.c if (in == NULL) in 294 lib/decompress_unxz.c b.in = in; in 309 lib/decompress_unxz.c in_size = fill(in, XZ_IOBUF_SIZE); in 340 lib/decompress_unxz.c free(in); in 78 lib/digsig.c MPI in = NULL, res = NULL, pkey[2]; in 135 lib/digsig.c in = mpi_read_from_buffer(sig, &nret); in 136 lib/digsig.c if (IS_ERR(in)) { in 137 lib/digsig.c err = PTR_ERR(in); in 141 lib/digsig.c res = mpi_alloc(mpi_get_nlimbs(in) * 2); in 145 lib/digsig.c err = mpi_powm(res, in, pkey[1], pkey[0]); in 173 lib/digsig.c mpi_free(in); in 21 lib/kfifo.c return (fifo->mask + 1) - (fifo->in - fifo->out); in 33 lib/kfifo.c fifo->in = 0; in 58 lib/kfifo.c fifo->in = 0; in 74 lib/kfifo.c fifo->in = 0; in 122 lib/kfifo.c kfifo_copy_in(fifo, buf, len, fifo->in); in 123 lib/kfifo.c fifo->in += len; in 157 lib/kfifo.c l = fifo->in - fifo->out; in 225 lib/kfifo.c ret = kfifo_copy_from_user(fifo, from, len, fifo->in, copied); in 231 lib/kfifo.c fifo->in += len; in 281 lib/kfifo.c l = fifo->in - fifo->out; in 365 lib/kfifo.c return setup_sgl(fifo, sgl, nents, len, fifo->in); in 374 lib/kfifo.c l = fifo->in - fifo->out; in 412 lib/kfifo.c #define __KFIFO_POKE(data, in, mask, val) \ in 414 lib/kfifo.c (data)[(in) & (mask)] = (unsigned char)(val) \ in 426 lib/kfifo.c __KFIFO_POKE(data, fifo->in, mask, n); in 429 lib/kfifo.c __KFIFO_POKE(data, fifo->in + 1, mask, n >> 8); in 446 lib/kfifo.c kfifo_copy_in(fifo, buf, len, fifo->in + recsize); in 447 lib/kfifo.c fifo->in += len + recsize; in 469 lib/kfifo.c if (fifo->in == fifo->out) in 481 lib/kfifo.c if (fifo->in == fifo->out) in 513 lib/kfifo.c ret = kfifo_copy_from_user(fifo, from, len, fifo->in + recsize, copied); in 518 lib/kfifo.c fifo->in += len + recsize; in 529 lib/kfifo.c if (fifo->in == fifo->out) { in 558 lib/kfifo.c return setup_sgl(fifo, sgl, nents, len, fifo->in + recsize); in 567 lib/kfifo.c fifo->in += len + recsize; in 578 lib/kfifo.c if (len + recsize > fifo->in - fifo->out) in 241 lib/logic_pio.c ret = entry->ops->in(entry->hostdata, \ in 22 lib/lzo/lzo1x_compress.c lzo1x_1_do_compress(const unsigned char *in, size_t in_len, in 29 lib/lzo/lzo1x_compress.c const unsigned char * const in_end = in + in_len; in 30 lib/lzo/lzo1x_compress.c const unsigned char * const ip_end = in + in_len - 20; in 35 lib/lzo/lzo1x_compress.c ip = in; in 109 lib/lzo/lzo1x_compress.c m_pos = in + dict[t]; in 110 lib/lzo/lzo1x_compress.c dict[t] = (lzo_dict_t) (ip - in); in 304 lib/lzo/lzo1x_compress.c int lzogeneric1x_1_compress(const unsigned char *in, size_t in_len, in 308 lib/lzo/lzo1x_compress.c const unsigned char *ip = in; in 344 lib/lzo/lzo1x_compress.c const unsigned char *ii = in + in_len - t; in 381 lib/lzo/lzo1x_compress.c int lzo1x_1_compress(const unsigned char *in, size_t in_len, in 385 lib/lzo/lzo1x_compress.c return lzogeneric1x_1_compress(in, in_len, out, out_len, wrkmem, 0); in 388 lib/lzo/lzo1x_compress.c int lzorle1x_1_compress(const unsigned char *in, size_t in_len, in 392 lib/lzo/lzo1x_compress.c return lzogeneric1x_1_compress(in, in_len, out, out_len, in 39 lib/lzo/lzo1x_decompress_safe.c int lzo1x_decompress_safe(const unsigned char *in, size_t in_len, in 47 lib/lzo/lzo1x_decompress_safe.c const unsigned char * const ip_end = in + in_len; in 53 lib/lzo/lzo1x_decompress_safe.c ip = in; in 20 lib/sg_split.c static int sg_calculate_split(struct scatterlist *in, int nents, int nb_splits, in 35 lib/sg_split.c for_each_sg(in, sg, nents, i) { in 148 lib/sg_split.c int sg_split(struct scatterlist *in, const int in_mapped_nents, in 161 lib/sg_split.c ret = sg_calculate_split(in, sg_nents(in), nb_splits, skip, split_sizes, in 180 lib/sg_split.c ret = sg_calculate_split(in, in_mapped_nents, nb_splits, skip, in 15 lib/test-string_helpers.c char *in, size_t p, in 25 lib/test-string_helpers.c in, p, true); in 35 lib/test-string_helpers.c const char *in; in 42 lib/test-string_helpers.c .in = "\\f\\ \\n\\r\\t\\v", in 47 lib/test-string_helpers.c .in = "\\40\\1\\387\\0064\\05\\040\\8a\\110\\777", in 52 lib/test-string_helpers.c .in = "\\xv\\xa\\x2c\\xD\\x6f2", in 57 lib/test-string_helpers.c .in = "\\h\\\\\\\"\\a\\e\\", in 67 lib/test-string_helpers.c char *in = kmalloc(q_real, GFP_KERNEL); in 72 lib/test-string_helpers.c if (!in || !out_test || !out_real) in 76 lib/test-string_helpers.c const char *s = strings[i].in; in 77 lib/test-string_helpers.c int len = strlen(strings[i].in); in 80 lib/test-string_helpers.c memcpy(&in[p], s, len); in 91 lib/test-string_helpers.c in[p++] = '\0'; in 95 lib/test-string_helpers.c memcpy(out_real, in, p); in 101 lib/test-string_helpers.c q_real = string_unescape_any(in, out_real, q_real); in 103 lib/test-string_helpers.c q_real = string_unescape(in, out_real, q_real, flags); in 106 lib/test-string_helpers.c test_string_check_buf(name, flags, in, p - 1, out_real, q_real, in 111 lib/test-string_helpers.c kfree(in); in 121 lib/test-string_helpers.c const char *in; in 127 lib/test-string_helpers.c .in = "\f\\ \n\r\t\v", in 141 lib/test-string_helpers.c .in = "\\h\\\"\a\e\\", in 155 lib/test-string_helpers.c .in = "\eb \\C\007\"\x90\r]", in 211 lib/test-string_helpers.c .in = "\f\\ \n\r\t\v", in 222 lib/test-string_helpers.c .in = "\\h\\\"\a\e\\", in 230 lib/test-string_helpers.c .in = "\eb \\C\007\"\x90\r]", in 248 lib/test-string_helpers.c return s2->in; in 264 lib/test-string_helpers.c test_string_escape_overflow(const char *in, int p, unsigned int flags, const char *esc, in 269 lib/test-string_helpers.c q_real = string_escape_mem(in, p, NULL, 0, flags, esc); in 282 lib/test-string_helpers.c char *in = kmalloc(256, GFP_KERNEL); in 286 lib/test-string_helpers.c if (!out_test || !out_real || !in) in 289 lib/test-string_helpers.c for (; s2->in; s2++) { in 295 lib/test-string_helpers.c in[p++] = '\0'; in 306 lib/test-string_helpers.c len = strlen(s2->in); in 307 lib/test-string_helpers.c memcpy(&in[p], s2->in, len); in 316 lib/test-string_helpers.c q_real = string_escape_mem(in, p, out_real, out_size, flags, esc); in 318 lib/test-string_helpers.c test_string_check_buf(name, flags, in, p, out_real, q_real, out_test, in 321 lib/test-string_helpers.c test_string_escape_overflow(in, p, flags, esc, q_test, name); in 324 lib/test-string_helpers.c kfree(in); in 213 lib/test_bitmap.c const char *in; in 298 lib/test_bitmap.c size_t len = strlen(ptest.in); in 302 lib/test_bitmap.c err = bitmap_parselist_user(ptest.in, len, in 308 lib/test_bitmap.c err = bitmap_parselist(ptest.in, bmap, ptest.nbits); in 314 lib/test_bitmap.c mode, i, ptest.in, err, ptest.errno); in 321 lib/test_bitmap.c mode, i, ptest.in, bmap[0], in 328 lib/test_bitmap.c mode, i, ptest.in, time); in 115 lib/test_siphash.c u8 in[64] __aligned(SIPHASH_ALIGNMENT); in 121 lib/test_siphash.c in[i] = i; in 123 lib/test_siphash.c if (siphash(in, i, &test_key_siphash) != in 133 lib/test_siphash.c if (hsiphash(in, i, &test_key_hsiphash) != in 109 lib/xz/xz_dec_lzma2.c const uint8_t *in; in 390 lib/xz/xz_dec_lzma2.c memcpy(dict->buf + dict->pos, b->in + b->in_pos, copy_size); in 400 lib/xz/xz_dec_lzma2.c memcpy(b->out + b->out_pos, b->in + b->in_pos, in 455 lib/xz/xz_dec_lzma2.c rc->code = (rc->code << 8) + b->in[b->in_pos++]; in 482 lib/xz/xz_dec_lzma2.c rc->code = (rc->code << RC_SHIFT_BITS) + rc->in[rc->in_pos++]; in 859 lib/xz/xz_dec_lzma2.c memcpy(s->temp.buf + s->temp.size, b->in + b->in_pos, tmp); in 874 lib/xz/xz_dec_lzma2.c s->rc.in = s->temp.buf; in 895 lib/xz/xz_dec_lzma2.c s->rc.in = b->in; in 919 lib/xz/xz_dec_lzma2.c memcpy(s->temp.buf, b->in + b->in_pos, in_avail); in 970 lib/xz/xz_dec_lzma2.c tmp = b->in[b->in_pos++]; in 1018 lib/xz/xz_dec_lzma2.c += (uint32_t)b->in[b->in_pos++] << 8; in 1024 lib/xz/xz_dec_lzma2.c += (uint32_t)b->in[b->in_pos++] + 1; in 1030 lib/xz/xz_dec_lzma2.c = (uint32_t)b->in[b->in_pos++] << 8; in 1036 lib/xz/xz_dec_lzma2.c += (uint32_t)b->in[b->in_pos++] + 1; in 1041 lib/xz/xz_dec_lzma2.c if (!lzma_props(s, b->in[b->in_pos++])) in 162 lib/xz/xz_dec_stream.c memcpy(s->temp.buf + s->temp.pos, b->in + b->in_pos, copy_size); in 175 lib/xz/xz_dec_stream.c static enum xz_ret dec_vli(struct xz_dec *s, const uint8_t *in, in 184 lib/xz/xz_dec_stream.c byte = in[*in_pos]; in 285 lib/xz/xz_dec_stream.c s->crc32 = xz_crc32(b->in + s->in_start, in_used, s->crc32); in 301 lib/xz/xz_dec_stream.c ret = dec_vli(s, b->in, &b->in_pos, b->in_size); in 352 lib/xz/xz_dec_stream.c if (((s->crc32 >> s->pos) & 0xFF) != b->in[b->in_pos++]) in 594 lib/xz/xz_dec_stream.c if (b->in[b->in_pos] == 0) { in 605 lib/xz/xz_dec_stream.c = ((uint32_t)b->in[b->in_pos] + 1) * 4; in 646 lib/xz/xz_dec_stream.c if (b->in[b->in_pos++] != 0) in 688 lib/xz/xz_dec_stream.c if (b->in[b->in_pos++] != 0) in 53 lib/xz/xz_dec_test.c .in = buffer_in, in 91 lib/zlib_inflate/inffast.c const unsigned char *in; /* local strm->next_in */ in 118 lib/zlib_inflate/inffast.c in = strm->next_in - OFF; in 119 lib/zlib_inflate/inffast.c last = in + (strm->avail_in - 5); in 141 lib/zlib_inflate/inffast.c hold += (unsigned long)(PUP(in)) << bits; in 143 lib/zlib_inflate/inffast.c hold += (unsigned long)(PUP(in)) << bits; in 160 lib/zlib_inflate/inffast.c hold += (unsigned long)(PUP(in)) << bits; in 168 lib/zlib_inflate/inffast.c hold += (unsigned long)(PUP(in)) << bits; in 170 lib/zlib_inflate/inffast.c hold += (unsigned long)(PUP(in)) << bits; in 183 lib/zlib_inflate/inffast.c hold += (unsigned long)(PUP(in)) << bits; in 186 lib/zlib_inflate/inffast.c hold += (unsigned long)(PUP(in)) << bits; in 330 lib/zlib_inflate/inffast.c } while (in < last && out < end); in 334 lib/zlib_inflate/inffast.c in -= len; in 339 lib/zlib_inflate/inffast.c strm->next_in = in + OFF; in 341 lib/zlib_inflate/inffast.c strm->avail_in = (unsigned)(in < last ? 5 + (last - in) : 5 - (in - last)); in 325 lib/zlib_inflate/inflate.c unsigned in, out; /* save starting available input and output */ in 346 lib/zlib_inflate/inflate.c in = have; in 732 lib/zlib_inflate/inflate.c in -= strm->avail_in; in 734 lib/zlib_inflate/inflate.c strm->total_in += in; in 748 lib/zlib_inflate/inflate.c if (((in == 0 && out == 0) || flush == Z_FINISH) && ret == Z_OK) in 170 mm/page_idle.c const u64 *in = (u64 *)buf; in 188 mm/page_idle.c if ((*in >> bit) & 1) { in 197 mm/page_idle.c in++; in 200 mm/page_idle.c return (char *)in - buf; in 913 net/9p/trans_fd.c int rc, count, in[4]; in 915 net/9p/trans_fd.c rc = sscanf(buf, "%d.%d.%d.%d", &in[0], &in[1], &in[2], &in[3]); in 919 net/9p/trans_fd.c if (in[count] > 255) in 254 net/9p/trans_virtio.c int in, out, out_sgs, in_sgs; in 272 net/9p/trans_virtio.c in = pack_sg_list(chan->sg, out, in 274 net/9p/trans_virtio.c if (in) in 391 net/9p/trans_virtio.c int in, out, err, out_sgs, in_sgs; in 463 net/9p/trans_virtio.c in = pack_sg_list(chan->sg, out, in 465 net/9p/trans_virtio.c if (in) in 469 net/9p/trans_virtio.c sgs[out_sgs + in_sgs++] = chan->sg + out + in; in 470 net/9p/trans_virtio.c in += pack_sg_list_p(chan->sg, out + in, VIRTQUEUE_NUM, in 220 net/9p/trans_xen.c xen_9pfs_read_packet(&h, ring->data.in, sizeof(h), in 238 net/9p/trans_xen.c xen_9pfs_read_packet(req->rc.sdata, ring->data.in, h.size, in 297 net/9p/trans_xen.c if (priv->rings[i].data.in) { in 304 net/9p/trans_xen.c free_pages((unsigned long)priv->rings[i].data.in, in 358 net/9p/trans_xen.c ring->data.in = bytes; in 284 net/ax25/ax25_addr.c void ax25_digi_invert(const ax25_digi *in, ax25_digi *out) in 288 net/ax25/ax25_addr.c out->ndigi = in->ndigi; in 289 net/ax25/ax25_addr.c out->lastrepeat = in->ndigi - in->lastrepeat - 2; in 292 net/ax25/ax25_addr.c for (ct = 0; ct < in->ndigi; ct++) { in 293 net/ax25/ax25_addr.c out->calls[ct] = in->calls[in->ndigi - ct - 1]; in 44 net/bluetooth/ecdh_helper.c static inline void swap_digits(u64 *in, u64 *out, unsigned int ndigits) in 49 net/bluetooth/ecdh_helper.c out[i] = __swab64(in[ndigits - 1 - i]); in 488 net/bridge/br_netfilter_hooks.c p = br_port_get_rcu(state->in); in 543 net/bridge/br_netfilter_hooks.c struct net_device *in; in 553 net/bridge/br_netfilter_hooks.c in = nf_bridge->physindev; in 560 net/bridge/br_netfilter_hooks.c in = *((struct net_device **)(skb->cb)); in 564 net/bridge/br_netfilter_hooks.c br_nf_hook_thresh(NF_BR_FORWARD, net, sk, skb, in, skb->dev, in 635 net/bridge/br_netfilter_hooks.c brnf_get_logical_dev(skb, state->in, state->net), in 673 net/bridge/br_netfilter_hooks.c *d = state->in; in 675 net/bridge/br_netfilter_hooks.c state->in, state->out, br_nf_forward_finish); in 75 net/bridge/netfilter/ebt_log.c const struct sk_buff *skb, const struct net_device *in, in 88 net/bridge/netfilter/ebt_log.c in ? in->name : "", out ? out->name : "", in 66 net/bridge/netfilter/ebtable_broute.c NFPROTO_BRIDGE, s->in, NULL, NULL, in 119 net/bridge/netfilter/ebtables.c const struct net_device *in, const struct net_device *out) in 137 net/bridge/netfilter/ebtables.c if (NF_INVF(e, EBT_IIN, ebt_dev_check(e->in, in))) in 142 net/bridge/netfilter/ebtables.c if (in && (p = br_port_get_rcu(in)) != NULL && in 214 net/bridge/netfilter/ebtables.c if (ebt_basic_match(point, skb, state->in, state->out)) in 19 net/bridge/netfilter/nf_log_bridge.c const struct net_device *in, in 25 net/bridge/netfilter/nf_log_bridge.c in, out, loginfo, prefix); in 26 net/bridge/netfilter/nft_meta_bridge.c const struct net_device *in = nft_in(pkt), *out = nft_out(pkt); in 32 net/bridge/netfilter/nft_meta_bridge.c br_dev = nft_meta_get_bridge(in); in 40 net/bridge/netfilter/nft_meta_bridge.c br_dev = nft_meta_get_bridge(in); in 44 net/bridge/netfilter/nft_meta_bridge.c br_vlan_get_pvid_rcu(in, &p_pvid); in 51 net/bridge/netfilter/nft_meta_bridge.c br_dev = nft_meta_get_bridge(in); in 376 net/ceph/crush/mapper.c static int crush_bucket_choose(const struct crush_bucket *in, in 382 net/ceph/crush/mapper.c dprintk(" crush_bucket_choose %d x=%d r=%d\n", in->id, x, r); in 383 net/ceph/crush/mapper.c BUG_ON(in->size == 0); in 384 net/ceph/crush/mapper.c switch (in->alg) { in 387 net/ceph/crush/mapper.c (const struct crush_bucket_uniform *)in, in 390 net/ceph/crush/mapper.c return bucket_list_choose((const struct crush_bucket_list *)in, in 393 net/ceph/crush/mapper.c return bucket_tree_choose((const struct crush_bucket_tree *)in, in 397 net/ceph/crush/mapper.c (const struct crush_bucket_straw *)in, in 401 net/ceph/crush/mapper.c (const struct crush_bucket_straw2 *)in, in 404 net/ceph/crush/mapper.c dprintk("unknown bucket %d alg %d\n", in->id, in->alg); in 405 net/ceph/crush/mapper.c return in->items[0]; in 470 net/ceph/crush/mapper.c const struct crush_bucket *in = bucket; in 490 net/ceph/crush/mapper.c in = bucket; /* initial bucket */ in 502 net/ceph/crush/mapper.c if (in->size == 0) { in 507 net/ceph/crush/mapper.c flocal >= (in->size>>1) && in 510 net/ceph/crush/mapper.c in, work->work[-1-in->id], in 514 net/ceph/crush/mapper.c in, work->work[-1-in->id], in 517 net/ceph/crush/mapper.c &choose_args[-1-in->id] : NULL), in 540 net/ceph/crush/mapper.c in = map->buckets[-1-item]; in 602 net/ceph/crush/mapper.c flocal <= in->size + local_fallback_retries) in 656 net/ceph/crush/mapper.c const struct crush_bucket *in = bucket; in 695 net/ceph/crush/mapper.c in = bucket; /* initial bucket */ in 710 net/ceph/crush/mapper.c if (in->alg == CRUSH_BUCKET_UNIFORM && in 711 net/ceph/crush/mapper.c in->size % numrep == 0) in 719 net/ceph/crush/mapper.c if (in->size == 0) { in 725 net/ceph/crush/mapper.c in, work->work[-1-in->id], in 728 net/ceph/crush/mapper.c &choose_args[-1-in->id] : NULL), in 758 net/ceph/crush/mapper.c in = map->buckets[-1-item]; in 23 net/ceph/crypto.h int ceph_crypto_key_unarmor(struct ceph_crypto_key *key, const char *in); in 204 net/core/fib_rules.c struct fib_rule_uid_range *in; in 207 net/core/fib_rules.c in = (struct fib_rule_uid_range *)nla_data(tb[FRA_UID_RANGE]); in 209 net/core/fib_rules.c out.start = make_kuid(current_user_ns(), in->start); in 210 net/core/fib_rules.c out.end = make_kuid(current_user_ns(), in->end); in 21 net/core/lwt_bpf.c struct bpf_lwt_prog in; in 122 net/core/lwt_bpf.c if (bpf->in.prog) { in 123 net/core/lwt_bpf.c ret = run_lwt_bpf(skb, &bpf->in, dst, NO_REDIRECT); in 322 net/core/lwt_bpf.c bpf_lwt_prog_destroy(&bpf->in); in 400 net/core/lwt_bpf.c ret = bpf_parse_prog(tb[LWT_BPF_IN], &bpf->in, in 467 net/core/lwt_bpf.c if (bpf_fill_lwt_prog(skb, LWT_BPF_IN, &bpf->in) < 0 || in 507 net/core/lwt_bpf.c return bpf_lwt_prog_cmp(&a_bpf->in, &b_bpf->in) || in 413 net/core/utils.c struct sockaddr_in *in = (struct sockaddr_in *)addr; in 415 net/core/utils.c if (in->sin_addr.s_addr == htonl(INADDR_ANY)) in 201 net/ipv4/netfilter/arp_tables.c indev = state->in ? state->in->name : nulldevname; in 190 net/ipv4/netfilter/ip_tables.c const struct net_device *in, in 211 net/ipv4/netfilter/ip_tables.c nf_log_trace(net, AF_INET, hook, skb, in, out, &trace_loginfo, in 245 net/ipv4/netfilter/ip_tables.c indev = state->in ? state->in->name : nulldevname; in 307 net/ipv4/netfilter/ip_tables.c trace_packet(state->net, skb, hook, state->in, in 49 net/ipv4/netfilter/ipt_rpfilter.c rpfilter_is_loopback(const struct sk_buff *skb, const struct net_device *in) in 51 net/ipv4/netfilter/ipt_rpfilter.c return skb->pkt_type == PACKET_LOOPBACK || in->flags & IFF_LOOPBACK; in 79 net/ipv4/netfilter/nf_log_arp.c const struct net_device *in, in 95 net/ipv4/netfilter/nf_log_arp.c nf_log_dump_packet_common(m, pf, hooknum, skb, in, out, loginfo, in 311 net/ipv4/netfilter/nf_log_ipv4.c const struct net_device *in, in 327 net/ipv4/netfilter/nf_log_ipv4.c nf_log_dump_packet_common(m, pf, hooknum, skb, in, in 330 net/ipv4/netfilter/nf_log_ipv4.c if (in != NULL) in 78 net/ipv4/netfilter/nf_socket_ipv4.c const struct net_device *in) in 84 net/ipv4/netfilter/nf_socket_ipv4.c in->ifindex); in 87 net/ipv4/netfilter/nf_socket_ipv4.c in->ifindex); in 79 net/ipv4/netfilter/nf_tproxy_ipv4.c const struct net_device *in, in 100 net/ipv4/netfilter/nf_tproxy_ipv4.c in->ifindex, 0); in 113 net/ipv4/netfilter/nf_tproxy_ipv4.c in->ifindex); in 122 net/ipv4/netfilter/nf_tproxy_ipv4.c in->ifindex); in 693 net/ipv6/ip6_fib.c struct fib6_node *fn, *in, *ln; in 824 net/ipv6/ip6_fib.c in = node_alloc(net); in 827 net/ipv6/ip6_fib.c if (!in || !ln) { in 828 net/ipv6/ip6_fib.c if (in) in 829 net/ipv6/ip6_fib.c node_free_immediate(net, in); in 843 net/ipv6/ip6_fib.c in->fn_bit = bit; in 845 net/ipv6/ip6_fib.c RCU_INIT_POINTER(in->parent, pn); in 846 net/ipv6/ip6_fib.c in->leaf = fn->leaf; in 847 net/ipv6/ip6_fib.c fib6_info_hold(rcu_dereference_protected(in->leaf, in 852 net/ipv6/ip6_fib.c rcu_assign_pointer(pn->right, in); in 854 net/ipv6/ip6_fib.c rcu_assign_pointer(pn->left, in); in 858 net/ipv6/ip6_fib.c RCU_INIT_POINTER(ln->parent, in); in 859 net/ipv6/ip6_fib.c rcu_assign_pointer(fn->parent, in); in 862 net/ipv6/ip6_fib.c rcu_assign_pointer(in->right, ln); in 863 net/ipv6/ip6_fib.c rcu_assign_pointer(in->left, fn); in 865 net/ipv6/ip6_fib.c rcu_assign_pointer(in->left, ln); in 866 net/ipv6/ip6_fib.c rcu_assign_pointer(in->right, fn); in 215 net/ipv6/netfilter/ip6_tables.c const struct net_device *in, in 236 net/ipv6/netfilter/ip6_tables.c nf_log_trace(net, AF_INET6, hook, skb, in, out, &trace_loginfo, in 268 net/ipv6/netfilter/ip6_tables.c indev = state->in ? state->in->name : nulldevname; in 330 net/ipv6/netfilter/ip6_tables.c trace_packet(state->net, skb, hook, state->in, in 85 net/ipv6/netfilter/ip6t_rpfilter.c rpfilter_is_loopback(const struct sk_buff *skb, const struct net_device *in) in 87 net/ipv6/netfilter/ip6t_rpfilter.c return skb->pkt_type == PACKET_LOOPBACK || in->flags & IFF_LOOPBACK; in 343 net/ipv6/netfilter/nf_log_ipv6.c const struct net_device *in, in 359 net/ipv6/netfilter/nf_log_ipv6.c nf_log_dump_packet_common(m, pf, hooknum, skb, in, out, in 362 net/ipv6/netfilter/nf_log_ipv6.c if (in != NULL) in 82 net/ipv6/netfilter/nf_socket_ipv6.c const struct net_device *in) in 88 net/ipv6/netfilter/nf_socket_ipv6.c in->ifindex); in 91 net/ipv6/netfilter/nf_socket_ipv6.c in->ifindex); in 80 net/ipv6/netfilter/nf_tproxy_ipv6.c const struct net_device *in, in 100 net/ipv6/netfilter/nf_tproxy_ipv6.c in->ifindex, 0); in 113 net/ipv6/netfilter/nf_tproxy_ipv6.c in->ifindex, 0); in 122 net/ipv6/netfilter/nf_tproxy_ipv6.c in->ifindex); in 183 net/netfilter/ipset/ip_set_hash_netiface.c STRLCPY(e.iface, SRCDIR ? IFACE(in) : IFACE(out)); in 390 net/netfilter/ipset/ip_set_hash_netiface.c STRLCPY(e.iface, SRCDIR ? IFACE(in) : IFACE(out)); in 269 net/netfilter/ipvs/ip_vs_sync.c struct sockaddr_in in; in 1461 net/netfilter/ipvs/ip_vs_sync.c sa->in = (struct sockaddr_in) { in 1465 net/netfilter/ipvs/ip_vs_sync.c sa->in.sin_addr = c->mcast_group.in; in 1466 net/netfilter/ipvs/ip_vs_sync.c *salen = sizeof(sa->in); in 1567 net/netfilter/ipvs/ip_vs_sync.c result = join_mcast_group(sock->sk, &mcast_addr.in.sin_addr, in 316 net/netfilter/nf_conntrack_proto_icmp.c struct nf_icmp_net *in = nf_icmp_pernet(net); in 320 net/netfilter/nf_conntrack_proto_icmp.c timeout = &in->timeout; in 325 net/netfilter/nf_conntrack_proto_icmp.c *timeout = in->timeout; in 351 net/netfilter/nf_conntrack_proto_icmp.c struct nf_icmp_net *in = nf_icmp_pernet(net); in 353 net/netfilter/nf_conntrack_proto_icmp.c in->timeout = nf_ct_icmp_timeout; in 235 net/netfilter/nf_conntrack_proto_icmpv6.c struct nf_icmp_net *in = nf_icmpv6_pernet(net); in 244 net/netfilter/nf_conntrack_proto_icmpv6.c *timeout = in->timeout; in 270 net/netfilter/nf_conntrack_proto_icmpv6.c struct nf_icmp_net *in = nf_icmpv6_pernet(net); in 272 net/netfilter/nf_conntrack_proto_icmpv6.c in->timeout = nf_ct_icmpv6_timeout; in 40 net/netfilter/nf_flow_table_core.c ft->src_v4 = ctt->src.u3.in; in 41 net/netfilter/nf_flow_table_core.c ft->dst_v4 = ctt->dst.u3.in; in 254 net/netfilter/nf_flow_table_ip.c if (nf_flow_tuple_ip(skb, state->in, &tuple) < 0) in 484 net/netfilter/nf_flow_table_ip.c if (nf_flow_tuple_ipv6(skb, state->in, &tuple) < 0) in 219 net/netfilter/nf_log.c const struct net_device *in, in 238 net/netfilter/nf_log.c logger->logfn(net, pf, hooknum, skb, in, out, loginfo, prefix); in 248 net/netfilter/nf_log.c const struct net_device *in, in 262 net/netfilter/nf_log.c logger->logfn(net, pf, hooknum, skb, in, out, loginfo, prefix); in 152 net/netfilter/nf_log_common.c const struct net_device *in, in 161 net/netfilter/nf_log_common.c in ? in->name : "", in 165 net/netfilter/nf_log_common.c if (physindev && in != physindev) in 179 net/netfilter/nf_log_common.c const struct net_device *in, in 186 net/netfilter/nf_log_common.c nf_log_packet(net, NFPROTO_IPV4, hooknum, skb, in, out, in 190 net/netfilter/nf_log_common.c nf_log_packet(net, NFPROTO_IPV6, hooknum, skb, in, out, in 195 net/netfilter/nf_log_common.c nf_log_packet(net, NFPROTO_ARP, hooknum, skb, in, out, in 18 net/netfilter/nf_log_netdev.c const struct net_device *in, in 23 net/netfilter/nf_log_netdev.c nf_log_l2packet(net, pf, skb->protocol, hooknum, skb, in, out, in 72 net/netfilter/nf_queue.c if (state->in) in 73 net/netfilter/nf_queue.c dev_put(state->in); in 106 net/netfilter/nf_queue.c if (state->in) in 107 net/netfilter/nf_queue.c dev_hold(state->in); in 678 net/netfilter/nfnetlink_log.c const struct net_device *in, in 725 net/netfilter/nfnetlink_log.c if (in && skb_mac_header_was_set(skb)) { in 794 net/netfilter/nfnetlink_log.c hooknum, in, out, prefix, plen, in 196 net/netfilter/nfnetlink_osf.c int hooknum, struct net_device *in, struct net_device *out, in 234 net/netfilter/nfnetlink_osf.c in, out, NULL, in 247 net/netfilter/nfnetlink_osf.c nf_log_packet(net, family, hooknum, skb, in, out, NULL, in 491 net/netfilter/nfnetlink_queue.c indev = entry->state.in; in 912 net/netfilter/nfnetlink_queue.c if (entry->state.in) in 913 net/netfilter/nfnetlink_queue.c if (entry->state.in->ifindex == ifindex) in 177 net/netfilter/nft_compat.c static void target_compat_from_user(struct xt_target *t, void *in, void *out) in 181 net/netfilter/nft_compat.c memcpy(out, in, t->targetsize); in 421 net/netfilter/nft_compat.c static void match_compat_from_user(struct xt_match *m, void *in, void *out) in 425 net/netfilter/nft_compat.c memcpy(out, in, m->matchsize); in 65 net/netfilter/nft_meta.c const struct net_device *in = nft_in(pkt), *out = nft_out(pkt); in 91 net/netfilter/nft_meta.c *dest = in ? in->ifindex : 0; in 97 net/netfilter/nft_meta.c strncpy((char *)dest, in ? in->name : "", IFNAMSIZ); in 103 net/netfilter/nft_meta.c if (in == NULL) in 105 net/netfilter/nft_meta.c nft_reg_store16(dest, in->type); in 211 net/netfilter/nft_meta.c if (in == NULL) in 213 net/netfilter/nft_meta.c *dest = in->group; in 240 net/netfilter/nft_meta.c if (in == NULL || in->rtnl_link_ops == NULL) in 242 net/netfilter/nft_meta.c strncpy((char *)dest, in->rtnl_link_ops->kind, IFNAMSIZ); in 221 net/netfilter/nft_tproxy.c alen = FIELD_SIZEOF(union nf_inet_addr, in); in 42 net/netfilter/xt_TEE.c nf_dup_ipv4(xt_net(par), skb, xt_hooknum(par), &info->gw.in, oif); in 231 net/sched/act_ipt.c .in = skb->dev, in 96 net/sched/em_ipset.c state.in = indev ? indev : dev; in 3641 net/sctp/sm_make_chunk.c bool out, bool in) in 3650 net/sctp/sm_make_chunk.c inlen = (sizeof(inreq) + stream_len) * in; in 3725 net/sctp/sm_make_chunk.c __u16 out, __u16 in) in 3731 net/sctp/sm_make_chunk.c retval = sctp_make_reconf(asoc, (!!out + !!in) * size); in 3745 net/sctp/sm_make_chunk.c if (in) { in 3748 net/sctp/sm_make_chunk.c addstrm.number_of_streams = htons(in); in 102 net/sctp/stream.c ret = genradix_prealloc(&stream->in, incnt, gfp); in 149 net/sctp/stream.c genradix_free(&stream->in); in 185 net/sctp/stream.c genradix_free(&stream->in); in 210 net/sctp/stream.c stream->in = new->in; in 217 net/sctp/stream.c new->in.tree.root = NULL; in 267 net/sctp/stream.c bool out, in; in 281 net/sctp/stream.c in = params->srs_flags & SCTP_STREAM_RESET_INCOMING; in 282 net/sctp/stream.c if (!out && !in) in 299 net/sctp/stream.c if (in) { in 328 net/sctp/stream.c chunk = sctp_make_strreset_req(asoc, str_nums, nstr_list, out, in); in 368 net/sctp/stream.c asoc->strreset_outstanding = out + in; in 425 net/sctp/stream.c __u16 out, in; in 439 net/sctp/stream.c in = params->sas_instrms; in 441 net/sctp/stream.c incnt = stream->incnt + in; in 443 net/sctp/stream.c (!out && !in)) { in 454 net/sctp/stream.c chunk = sctp_make_strreset_addstrm(asoc, out, in); in 470 net/sctp/stream.c asoc->strreset_outstanding = !!out + !!in; in 782 net/sctp/stream.c __u16 in, i; in 799 net/sctp/stream.c in = ntohs(addstrm->number_of_streams); in 800 net/sctp/stream.c incnt = stream->incnt + in; in 801 net/sctp/stream.c if (!in || incnt > SCTP_MAX_STREAM) in 102 net/sctp/stream_interleave.c return !SSN_lt(ssn, sctp_ssn_peek(stream, in, sid)); in 121 net/sctp/stream_interleave.c return !MID_lt(mid, sctp_mid_peek(stream, in, sid)); in 439 net/sctp/stream_interleave.c if (cevent->mid != sctp_mid_peek(stream, in, sid)) in 442 net/sctp/stream_interleave.c sctp_mid_next(stream, in, sid); in 459 net/sctp/stream_interleave.c if (event->mid != sctp_mid_peek(stream, in, sid)) { in 464 net/sctp/stream_interleave.c sctp_mid_next(stream, in, sid); in 1035 net/sctp/stream_interleave.c if (!MID_lt(cmid, sctp_mid_peek(stream, in, csid))) in 1050 net/sctp/stream_interleave.c if (csid == sid && cmid == sctp_mid_peek(stream, in, csid)) { in 1051 net/sctp/stream_interleave.c sctp_mid_next(stream, in, csid); in 1085 net/sctp/stream_interleave.c sctp_mid_skip(stream, in, sid, mid); in 1276 net/sctp/stream_interleave.c if (MID_lt(mid, sctp_mid_peek(stream, in, sid))) in 1284 net/sctp/stream_interleave.c sctp_mid_skip(stream, in, sid, mid); in 774 net/sctp/ulpqueue.c if (cssn != sctp_ssn_peek(stream, in, sid)) in 778 net/sctp/ulpqueue.c sctp_ssn_next(stream, in, sid); in 853 net/sctp/ulpqueue.c if (ssn != sctp_ssn_peek(stream, in, sid)) { in 862 net/sctp/ulpqueue.c sctp_ssn_next(stream, in, sid); in 904 net/sctp/ulpqueue.c if (!SSN_lt(cssn, sctp_ssn_peek(stream, in, csid))) in 924 net/sctp/ulpqueue.c if (csid == sid && cssn == sctp_ssn_peek(stream, in, csid)) { in 925 net/sctp/ulpqueue.c sctp_ssn_next(stream, in, csid); in 953 net/sctp/ulpqueue.c if (SSN_lt(ssn, sctp_ssn_peek(stream, in, sid))) in 957 net/sctp/ulpqueue.c sctp_ssn_skip(stream, in, sid, ssn); in 58 net/sunrpc/auth_gss/gss_krb5_crypto.c void * in, in 79 net/sunrpc/auth_gss/gss_krb5_crypto.c memcpy(out, in, length); in 97 net/sunrpc/auth_gss/gss_krb5_crypto.c void * in, in 117 net/sunrpc/auth_gss/gss_krb5_crypto.c memcpy(out, in, length); in 73 net/sunrpc/auth_gss/gss_krb5_keys.c static void krb5_nfold(u32 inbits, const u8 *in, in 110 net/sunrpc/auth_gss/gss_krb5_keys.c byte += (((in[((inbits - 1) - (msbit >> 3)) % inbits] << 8)| in 111 net/sunrpc/auth_gss/gss_krb5_keys.c (in[((inbits) - (msbit >> 3)) % inbits])) in 46 net/sunrpc/auth_gss/gss_rpc_xdr.c const struct gssp_in_token *in) in 53 net/sunrpc/auth_gss/gss_rpc_xdr.c *p = cpu_to_be32(in->page_len); in 56 net/sunrpc/auth_gss/gss_rpc_xdr.c xdr_write_pages(xdr, in->pages, in->page_base, in->page_len); in 51 net/tls/tls_device_fallback.c struct scatter_walk *in, in 62 net/tls/tls_device_fallback.c scatterwalk_copychunks(buf, in, len, 0); in 69 net/tls/tls_device_fallback.c scatterwalk_pagedone(in, 0, 1); in 86 net/tls/tls_device_fallback.c chain_to_walk(sg_in + 1, in); in 106 net/tls/tls_device_fallback.c scatterwalk_copychunks(NULL, in, len, 2); in 107 net/tls/tls_device_fallback.c scatterwalk_pagedone(in, 0, 1); in 145 net/tls/tls_device_fallback.c struct scatter_walk out, in; in 148 net/tls/tls_device_fallback.c scatterwalk_start(&in, sg_in); in 153 net/tls/tls_device_fallback.c cpu_to_be64(rcd_sn), &in, &out, &len); in 158 net/tls/tls_device_fallback.c scatterwalk_done(&in, 0, 0); in 1458 net/x25/af_x25.c int in = facilities.throughput & 0x0f; in 1464 net/x25/af_x25.c if (!in) in 1467 net/x25/af_x25.c else if (in < 0x03 || in > 0x0D) in 110 scripts/kallsyms.c static int read_symbol(FILE *in, struct sym_entry *s) in 115 scripts/kallsyms.c rc = fscanf(in, "%llx %c %499s\n", &s->addr, &stype, sym); in 117 scripts/kallsyms.c if (rc != EOF && fgets(sym, 500, in) == NULL) in 273 scripts/kallsyms.c static void read_map(FILE *in) in 275 scripts/kallsyms.c while (!feof(in)) { in 284 scripts/kallsyms.c if (read_symbol(in, &table[table_cnt]) == 0) { in 74 scripts/kconfig/conf.c static void xfgets(char *str, int size, FILE *in) in 76 scripts/kconfig/conf.c if (!fgets(str, size, in)) in 352 scripts/kconfig/confdata.c FILE *in = NULL; in 360 scripts/kconfig/confdata.c in = zconf_fopen(name); in 365 scripts/kconfig/confdata.c in = zconf_fopen(name); in 366 scripts/kconfig/confdata.c if (in) in 378 scripts/kconfig/confdata.c in = zconf_fopen(name); in 379 scripts/kconfig/confdata.c if (in) { in 386 scripts/kconfig/confdata.c if (!in) in 413 scripts/kconfig/confdata.c while (compat_getline(&line, &line_asize, in) != -1) { in 509 scripts/kconfig/confdata.c fclose(in); in 34 scripts/kconfig/lkc_proto.h const char * sym_escape_string_value(const char *in); in 17 scripts/kconfig/preprocess.c static char *expand_string_with_args(const char *in, int argc, char *argv[]); in 18 scripts/kconfig/preprocess.c static char *expand_string(const char *in); in 498 scripts/kconfig/preprocess.c const char *in, *p; in 506 scripts/kconfig/preprocess.c p = in = *str; in 510 scripts/kconfig/preprocess.c in_len = p - in; in 515 scripts/kconfig/preprocess.c strncat(out, in, in_len); in 518 scripts/kconfig/preprocess.c in = p; in 528 scripts/kconfig/preprocess.c in_len = p - in; in 531 scripts/kconfig/preprocess.c strncat(out, in, in_len); in 549 scripts/kconfig/preprocess.c static char *expand_string_with_args(const char *in, int argc, char *argv[]) in 551 scripts/kconfig/preprocess.c return __expand_string(&in, is_end_of_str, argc, argv); in 554 scripts/kconfig/preprocess.c static char *expand_string(const char *in) in 556 scripts/kconfig/preprocess.c return expand_string_with_args(in, 0, NULL); in 870 scripts/kconfig/symbol.c const char *sym_escape_string_value(const char *in) in 877 scripts/kconfig/symbol.c reslen = strlen(in) + strlen("\"\"") + 1; in 879 scripts/kconfig/symbol.c p = in; in 896 scripts/kconfig/symbol.c p = in; in 2104 scripts/mod/modpost.c FILE *in = stdin; in 2108 scripts/mod/modpost.c in = fopen(filename, "r"); in 2109 scripts/mod/modpost.c if (!in) in 2113 scripts/mod/modpost.c while (fgets(fname, PATH_MAX, in) != NULL) { in 2119 scripts/mod/modpost.c if (in != stdin) in 2120 scripts/mod/modpost.c fclose(in); in 88 scripts/mod/sumversion.c static void md4_transform(uint32_t *hash, uint32_t const *in) in 97 scripts/mod/sumversion.c ROUND1(a, b, c, d, in[0], 3); in 98 scripts/mod/sumversion.c ROUND1(d, a, b, c, in[1], 7); in 99 scripts/mod/sumversion.c ROUND1(c, d, a, b, in[2], 11); in 100 scripts/mod/sumversion.c ROUND1(b, c, d, a, in[3], 19); in 101 scripts/mod/sumversion.c ROUND1(a, b, c, d, in[4], 3); in 102 scripts/mod/sumversion.c ROUND1(d, a, b, c, in[5], 7); in 103 scripts/mod/sumversion.c ROUND1(c, d, a, b, in[6], 11); in 104 scripts/mod/sumversion.c ROUND1(b, c, d, a, in[7], 19); in 105 scripts/mod/sumversion.c ROUND1(a, b, c, d, in[8], 3); in 106 scripts/mod/sumversion.c ROUND1(d, a, b, c, in[9], 7); in 107 scripts/mod/sumversion.c ROUND1(c, d, a, b, in[10], 11); in 108 scripts/mod/sumversion.c ROUND1(b, c, d, a, in[11], 19); in 109 scripts/mod/sumversion.c ROUND1(a, b, c, d, in[12], 3); in 110 scripts/mod/sumversion.c ROUND1(d, a, b, c, in[13], 7); in 111 scripts/mod/sumversion.c ROUND1(c, d, a, b, in[14], 11); in 112 scripts/mod/sumversion.c ROUND1(b, c, d, a, in[15], 19); in 114 scripts/mod/sumversion.c ROUND2(a, b, c, d,in[ 0], 3); in 115 scripts/mod/sumversion.c ROUND2(d, a, b, c, in[4], 5); in 116 scripts/mod/sumversion.c ROUND2(c, d, a, b, in[8], 9); in 117 scripts/mod/sumversion.c ROUND2(b, c, d, a, in[12], 13); in 118 scripts/mod/sumversion.c ROUND2(a, b, c, d, in[1], 3); in 119 scripts/mod/sumversion.c ROUND2(d, a, b, c, in[5], 5); in 120 scripts/mod/sumversion.c ROUND2(c, d, a, b, in[9], 9); in 121 scripts/mod/sumversion.c ROUND2(b, c, d, a, in[13], 13); in 122 scripts/mod/sumversion.c ROUND2(a, b, c, d, in[2], 3); in 123 scripts/mod/sumversion.c ROUND2(d, a, b, c, in[6], 5); in 124 scripts/mod/sumversion.c ROUND2(c, d, a, b, in[10], 9); in 125 scripts/mod/sumversion.c ROUND2(b, c, d, a, in[14], 13); in 126 scripts/mod/sumversion.c ROUND2(a, b, c, d, in[3], 3); in 127 scripts/mod/sumversion.c ROUND2(d, a, b, c, in[7], 5); in 128 scripts/mod/sumversion.c ROUND2(c, d, a, b, in[11], 9); in 129 scripts/mod/sumversion.c ROUND2(b, c, d, a, in[15], 13); in 131 scripts/mod/sumversion.c ROUND3(a, b, c, d,in[ 0], 3); in 132 scripts/mod/sumversion.c ROUND3(d, a, b, c, in[8], 9); in 133 scripts/mod/sumversion.c ROUND3(c, d, a, b, in[4], 11); in 134 scripts/mod/sumversion.c ROUND3(b, c, d, a, in[12], 15); in 135 scripts/mod/sumversion.c ROUND3(a, b, c, d, in[2], 3); in 136 scripts/mod/sumversion.c ROUND3(d, a, b, c, in[10], 9); in 137 scripts/mod/sumversion.c ROUND3(c, d, a, b, in[6], 11); in 138 scripts/mod/sumversion.c ROUND3(b, c, d, a, in[14], 15); in 139 scripts/mod/sumversion.c ROUND3(a, b, c, d, in[1], 3); in 140 scripts/mod/sumversion.c ROUND3(d, a, b, c, in[9], 9); in 141 scripts/mod/sumversion.c ROUND3(c, d, a, b, in[5], 11); in 142 scripts/mod/sumversion.c ROUND3(b, c, d, a, in[13], 15); in 143 scripts/mod/sumversion.c ROUND3(a, b, c, d, in[3], 3); in 144 scripts/mod/sumversion.c ROUND3(d, a, b, c, in[11], 9); in 145 scripts/mod/sumversion.c ROUND3(c, d, a, b, in[7], 11); in 146 scripts/mod/sumversion.c ROUND3(b, c, d, a, in[15], 15); in 213 security/keys/keyctl_pkey.c void *in, *out; in 238 security/keys/keyctl_pkey.c in = memdup_user(_in, params.in_len); in 239 security/keys/keyctl_pkey.c if (IS_ERR(in)) { in 240 security/keys/keyctl_pkey.c ret = PTR_ERR(in); in 249 security/keys/keyctl_pkey.c ret = params.key->type->asym_eds_op(¶ms, in, out); in 259 security/keys/keyctl_pkey.c kfree(in); in 288 security/keys/keyctl_pkey.c void *in, *in2; in 300 security/keys/keyctl_pkey.c in = memdup_user(_in, params.in_len); in 301 security/keys/keyctl_pkey.c if (IS_ERR(in)) { in 302 security/keys/keyctl_pkey.c ret = PTR_ERR(in); in 313 security/keys/keyctl_pkey.c ret = params.key->type->asym_verify_signature(¶ms, in, in2); in 317 security/keys/keyctl_pkey.c kfree(in); in 5644 security/selinux/hooks.c return selinux_ip_forward(skb, state->in, PF_INET); in 5652 security/selinux/hooks.c return selinux_ip_forward(skb, state->in, PF_INET6); in 78 sound/aoa/soundbus/i2sbus/core.c iounmap(i2sdev->in.dbdma); in 82 sound/aoa/soundbus/i2sbus/core.c free_dbdma_descriptor_ring(i2sdev, &i2sdev->in.dbdma_ring); in 286 sound/aoa/soundbus/i2sbus/core.c dev->in.dbdma = ioremap(r->start, rlen); in 288 sound/aoa/soundbus/i2sbus/core.c if (!dev->intfregs || !dev->out.dbdma || !dev->in.dbdma) in 294 sound/aoa/soundbus/i2sbus/core.c if (alloc_dbdma_descriptor_ring(dev, &dev->in.dbdma_ring, in 319 sound/aoa/soundbus/i2sbus/core.c free_dbdma_descriptor_ring(dev, &dev->in.dbdma_ring); in 322 sound/aoa/soundbus/i2sbus/core.c iounmap(dev->in.dbdma); in 70 sound/aoa/soundbus/i2sbus/i2sbus.h struct pcm_info out, in; in 18 sound/aoa/soundbus/i2sbus/pcm.c static inline void get_pcm_info(struct i2sbus_dev *i2sdev, int in, in 21 sound/aoa/soundbus/i2sbus/pcm.c if (in) { in 23 sound/aoa/soundbus/i2sbus/pcm.c *pi = &i2sdev->in; in 30 sound/aoa/soundbus/i2sbus/pcm.c *other = &i2sdev->in; in 72 sound/aoa/soundbus/i2sbus/pcm.c static int i2sbus_pcm_open(struct i2sbus_dev *i2sdev, int in) in 88 sound/aoa/soundbus/i2sbus/pcm.c get_pcm_info(i2sdev, in, &pi, &other); in 106 sound/aoa/soundbus/i2sbus/pcm.c if (ti->transfer_in == in in 229 sound/aoa/soundbus/i2sbus/pcm.c static int i2sbus_pcm_close(struct i2sbus_dev *i2sdev, int in) in 237 sound/aoa/soundbus/i2sbus/pcm.c get_pcm_info(i2sdev, in, &pi, NULL); in 303 sound/aoa/soundbus/i2sbus/pcm.c static inline int i2sbus_hw_free(struct snd_pcm_substream *substream, int in) in 308 sound/aoa/soundbus/i2sbus/pcm.c get_pcm_info(i2sdev, in, &pi, NULL); in 325 sound/aoa/soundbus/i2sbus/pcm.c static int i2sbus_pcm_prepare(struct i2sbus_dev *i2sdev, int in) in 346 sound/aoa/soundbus/i2sbus/pcm.c get_pcm_info(i2sdev, in, &pi, &other); in 393 sound/aoa/soundbus/i2sbus/pcm.c cmd = (in? INPUT_MORE: OUTPUT_MORE) | BR_IFSET | INTR_ALWAYS; in 538 sound/aoa/soundbus/i2sbus/pcm.c static int i2sbus_pcm_trigger(struct i2sbus_dev *i2sdev, int in, int cmd) in 547 sound/aoa/soundbus/i2sbus/pcm.c get_pcm_info(i2sdev, in, &pi, NULL); in 619 sound/aoa/soundbus/i2sbus/pcm.c static snd_pcm_uframes_t i2sbus_pcm_pointer(struct i2sbus_dev *i2sdev, int in) in 624 sound/aoa/soundbus/i2sbus/pcm.c get_pcm_info(i2sdev, in, &pi, NULL); in 634 sound/aoa/soundbus/i2sbus/pcm.c static inline void handle_interrupt(struct i2sbus_dev *i2sdev, int in) in 644 sound/aoa/soundbus/i2sbus/pcm.c get_pcm_info(i2sdev, in, &pi, NULL); in 680 sound/aoa/soundbus/i2sbus/pcm.c if (!(status & ACTIVE) && (!in || (status & 0x80))) in 797 sound/aoa/soundbus/i2sbus/pcm.c i2sdev->in.substream = substream; in 808 sound/aoa/soundbus/i2sbus/pcm.c if (i2sdev->in.substream != substream) in 812 sound/aoa/soundbus/i2sbus/pcm.c i2sdev->in.substream = NULL; in 822 sound/aoa/soundbus/i2sbus/pcm.c if (i2sdev->in.substream != substream) in 833 sound/aoa/soundbus/i2sbus/pcm.c if (i2sdev->in.substream != substream) in 845 sound/aoa/soundbus/i2sbus/pcm.c if (i2sdev->in.substream != substream) in 868 sound/aoa/soundbus/i2sbus/pcm.c i2sdev->in.created = 0; in 883 sound/aoa/soundbus/i2sbus/pcm.c int err, in = 0, out = 0; in 926 sound/aoa/soundbus/i2sbus/pcm.c in = 1; in 974 sound/aoa/soundbus/i2sbus/pcm.c out = in = 1; in 994 sound/aoa/soundbus/i2sbus/pcm.c if (!i2sdev->in.created && in) { in 1008 sound/aoa/soundbus/i2sbus/pcm.c i2sdev->in.created = 1; in 1275 sound/pci/echoaudio/echoaudio.c unsigned int in = ucontrol->id.index % num_busses_in(chip); in 1277 sound/pci/echoaudio/echoaudio.c if (out >= ECHO_MAXAUDIOOUTPUTS || in >= ECHO_MAXAUDIOINPUTS) in 1280 sound/pci/echoaudio/echoaudio.c ucontrol->value.integer.value[0] = chip->monitor_gain[out][in]; in 1289 sound/pci/echoaudio/echoaudio.c unsigned int out, in; in 1294 sound/pci/echoaudio/echoaudio.c in = ucontrol->id.index % num_busses_in(chip); in 1295 sound/pci/echoaudio/echoaudio.c if (out >= ECHO_MAXAUDIOOUTPUTS || in >= ECHO_MAXAUDIOINPUTS) in 1300 sound/pci/echoaudio/echoaudio.c if (chip->monitor_gain[out][in] != gain) { in 1302 sound/pci/echoaudio/echoaudio.c set_monitor_gain(chip, out, in, gain); in 557 sound/pci/echoaudio/echoaudio.h static inline int monitor_index(const struct echoaudio *chip, int out, int in) in 559 sound/pci/echoaudio/echoaudio.h return out * num_busses_in(chip) + in; in 651 sound/pci/riptide/riptide.c static u32 atoh(const unsigned char *in, unsigned int len) in 660 sound/pci/riptide/riptide.c c = in[len - 1]; in 670 sound/pci/riptide/riptide.c static int senddata(struct cmdif *cif, const unsigned char *in, u32 offset) in 677 sound/pci/riptide/riptide.c i = atoh(&in[1], 2); in 678 sound/pci/riptide/riptide.c addr = offset + atoh(&in[3], 4); in 681 sound/pci/riptide/riptide.c p = in + 9; in 697 sound/pci/riptide/riptide.c const unsigned char *in; in 703 sound/pci/riptide/riptide.c in = img; in 704 sound/pci/riptide/riptide.c if (in[0] == ':') { in 705 sound/pci/riptide/riptide.c t = atoh(&in[7], 2); in 708 sound/pci/riptide/riptide.c err = senddata(cif, in, laddr + saddr); in 711 sound/pci/riptide/riptide.c saddr = atoh(&in[9], 4) << 4; in 714 sound/pci/riptide/riptide.c laddr = atoh(&in[9], 4) << 16; in 717 sound/pci/riptide/riptide.c val = atoh(&in[9], 8); in 610 sound/pci/rme9652/hdsp.c static int hdsp_playback_to_output_key (struct hdsp *hdsp, int in, int out) in 618 sound/pci/rme9652/hdsp.c return (64 * out) + (32 + (in)); in 620 sound/pci/rme9652/hdsp.c return (52 * out) + (26 + (in)); in 622 sound/pci/rme9652/hdsp.c return (32 * out) + (16 + (in)); in 624 sound/pci/rme9652/hdsp.c return (52 * out) + (26 + (in)); in 628 sound/pci/rme9652/hdsp.c static int hdsp_input_to_output_key (struct hdsp *hdsp, int in, int out) in 636 sound/pci/rme9652/hdsp.c return (64 * out) + in; in 638 sound/pci/rme9652/hdsp.c return (52 * out) + in; in 640 sound/pci/rme9652/hdsp.c return (32 * out) + in; in 642 sound/pci/rme9652/hdsp.c return (52 * out) + in; in 1652 sound/pci/rme9652/hdsp.c static int hdsp_set_spdif_input(struct hdsp *hdsp, int in) in 1655 sound/pci/rme9652/hdsp.c hdsp->control_register |= hdsp_encode_spdif_in(in); in 1147 sound/pci/rme9652/hdspm.c unsigned int in) in 1149 sound/pci/rme9652/hdspm.c if (chan >= HDSPM_MIXER_CHANNELS || in >= HDSPM_MIXER_CHANNELS) in 1152 sound/pci/rme9652/hdspm.c return hdspm->mixer->ch[chan].in[in]; in 1164 sound/pci/rme9652/hdspm.c unsigned int in, unsigned short data) in 1166 sound/pci/rme9652/hdspm.c if (chan >= HDSPM_MIXER_CHANNELS || in >= HDSPM_MIXER_CHANNELS) in 1171 sound/pci/rme9652/hdspm.c ((in + 128 * chan) * sizeof(u32)), in 1172 sound/pci/rme9652/hdspm.c (hdspm->mixer->ch[chan].in[in] = data & 0xFFFF)); in 953 sound/pci/rme9652/rme9652.c static int rme9652_set_spdif_input(struct snd_rme9652 *rme9652, int in) in 958 sound/pci/rme9652/rme9652.c rme9652->control_register |= rme9652_encode_spdif_in(in); in 107 sound/soc/codecs/rl6231.c static unsigned int find_best_div(unsigned int in, in 112 sound/soc/codecs/rl6231.c if (in <= max) in 115 sound/soc/codecs/rl6231.c d = in / max; in 116 sound/soc/codecs/rl6231.c if (in % max) in 990 sound/soc/codecs/sgtl5000.c unsigned int in, int_div, frac_div; in 994 sound/soc/codecs/sgtl5000.c in = sgtl5000->sysclk / 2; in 997 sound/soc/codecs/sgtl5000.c in = sgtl5000->sysclk; in 1003 sound/soc/codecs/sgtl5000.c t = do_div(out, in); in 1006 sound/soc/codecs/sgtl5000.c do_div(t, in); in 229 sound/soc/codecs/wm8580.c unsigned int in; in 498 sound/soc/codecs/wm8580.c state->in = freq_in; in 2185 sound/soc/codecs/wm8994.c wm8994->fll[id].in == freq_in && wm8994->fll[id].out == freq_out) in 2195 sound/soc/codecs/wm8994.c ret = wm8994_get_fll_config(control, &fll, wm8994->fll[id].in, in 2321 sound/soc/codecs/wm8994.c wm8994->fll[id].in = freq_in; in 3187 sound/soc/codecs/wm8994.c wm8994->fll_suspend[i].in, in 64 sound/soc/codecs/wm8994.h int in; in 373 sound/soc/codecs/wm8995.c int in; in 1843 sound/soc/codecs/wm8995.c wm8995->fll[id].in == freq_in && wm8995->fll[id].out == freq_out) in 1853 sound/soc/codecs/wm8995.c ret = wm8995_get_fll_config(&fll, wm8995->fll[id].in, in 1890 sound/soc/codecs/wm8995.c wm8995->fll[id].in = freq_in; in 1243 sound/soc/codecs/wm_adsp.c static unsigned int wmfw_convert_flags(unsigned int in, unsigned int len) in 1261 sound/soc/codecs/wm_adsp.c if (in) { in 1263 sound/soc/codecs/wm_adsp.c if (in & WMFW_CTL_FLAG_WRITEABLE) in 1265 sound/soc/codecs/wm_adsp.c if (in & WMFW_CTL_FLAG_VOLATILE) in 183 sound/soc/fsl/fsl_asrc.c static void fsl_asrc_set_watermarks(struct fsl_asrc_pair *pair, u32 in, u32 out) in 193 sound/soc/fsl/fsl_asrc.c ASRMCRi_INFIFO_THRESHOLD(in) | in 270 sound/soc/fsl/fsl_asrc.c int in, out, channels; in 297 sound/soc/fsl/fsl_asrc.c for (in = 0; in < ARRAY_SIZE(supported_asrc_rate); in++) in 298 sound/soc/fsl/fsl_asrc.c if (inrate == supported_asrc_rate[in]) in 301 sound/soc/fsl/fsl_asrc.c if (in == ARRAY_SIZE(supported_asrc_rate)) { in 239 sound/soc/fsl/fsl_esai.c bool in = dir == SND_SOC_CLOCK_IN; in 246 sound/soc/fsl/fsl_esai.c in ? "in" : "out", tx ? 'T' : 'R'); in 259 sound/soc/fsl/fsl_esai.c ESAI_xCCR_xHCKD, in ? 0 : ESAI_xCCR_xHCKD); in 261 sound/soc/fsl/fsl_esai.c if (in) in 39 sound/soc/meson/g12a-tohdmitx.c struct snd_soc_dapm_widget *in; in 53 sound/soc/meson/g12a-tohdmitx.c in = g12a_tohdmitx_get_input(p->source); in 54 sound/soc/meson/g12a-tohdmitx.c if (in) in 55 sound/soc/meson/g12a-tohdmitx.c return in; in 64 sound/soc/meson/g12a-tohdmitx.c struct snd_soc_dapm_widget *in = in 68 sound/soc/meson/g12a-tohdmitx.c if (WARN_ON(!in)) in 71 sound/soc/meson/g12a-tohdmitx.c dai = in->priv; in 171 sound/soc/sh/rcar/adg.c u32 *in, u32 *out, u32 *en) in 200 sound/soc/sh/rcar/adg.c if (in) in 201 sound/soc/sh/rcar/adg.c *in = _in; in 239 sound/soc/sh/rcar/adg.c u32 in, out; in 248 sound/soc/sh/rcar/adg.c &in, &out, &en); in 250 sound/soc/sh/rcar/adg.c in = in << shift; in 254 sound/soc/sh/rcar/adg.c rsnd_mod_bset(adg_mod, SRCIN_TIMSEL(id / 2), mask, in); in 1432 sound/soc/soc-dapm.c int in, out; in 1436 sound/soc/soc-dapm.c in = is_connected_input_ep(w, NULL, NULL); in 1438 sound/soc/soc-dapm.c return out != 0 && in != 0; in 2103 sound/soc/soc-dapm.c int in, out; in 2115 sound/soc/soc-dapm.c in = 0; in 2118 sound/soc/soc-dapm.c in = is_connected_input_ep(w, NULL, NULL); in 2124 sound/soc/soc-dapm.c w->force ? " (forced)" : "", in, out); in 183 sound/soc/ti/omap3pandora.c SND_SOC_DAILINK_DEFS(in, in 204 sound/soc/ti/omap3pandora.c SND_SOC_DAILINK_REG(in), in 55 sound/usb/6fire/midi.c if (rt->in) in 56 sound/usb/6fire/midi.c snd_rawmidi_receive(rt->in, data, length); in 132 sound/usb/6fire/midi.c rt->in = alsa_sub; in 134 sound/usb/6fire/midi.c rt->in = NULL; in 19 sound/usb/6fire/midi.h struct snd_rawmidi_substream *in; in 567 sound/usb/6fire/pcm.c struct sfire_chip *chip, bool in, int ep, in 576 sound/usb/6fire/pcm.c urb->instance.pipe = in ? usb_rcvisocpipe(chip->dev, ep) in 28 sound/usb/line6/capture.c index = find_first_zero_bit(&line6pcm->in.active_urbs, in 36 sound/usb/line6/capture.c urb_in = line6pcm->in.urbs[index]; in 48 sound/usb/line6/capture.c line6pcm->in.buffer + in 56 sound/usb/line6/capture.c set_bit(index, &line6pcm->in.active_urbs); in 97 sound/usb/line6/capture.c if (line6pcm->in.pos_done + frames > runtime->buffer_size) { in 104 sound/usb/line6/capture.c len = runtime->buffer_size - line6pcm->in.pos_done; in 108 sound/usb/line6/capture.c line6pcm->in.pos_done * bytes_per_frame, fbuf, in 120 sound/usb/line6/capture.c line6pcm->in.pos_done * bytes_per_frame, fbuf, fsize); in 123 sound/usb/line6/capture.c line6pcm->in.pos_done += frames; in 124 sound/usb/line6/capture.c if (line6pcm->in.pos_done >= runtime->buffer_size) in 125 sound/usb/line6/capture.c line6pcm->in.pos_done -= runtime->buffer_size; in 133 sound/usb/line6/capture.c line6pcm->in.bytes += length; in 134 sound/usb/line6/capture.c if (line6pcm->in.bytes >= line6pcm->in.period) { in 135 sound/usb/line6/capture.c line6pcm->in.bytes %= line6pcm->in.period; in 136 sound/usb/line6/capture.c spin_unlock(&line6pcm->in.lock); in 138 sound/usb/line6/capture.c spin_lock(&line6pcm->in.lock); in 152 sound/usb/line6/capture.c line6pcm->in.last_frame = urb->start_frame; in 156 sound/usb/line6/capture.c if (urb == line6pcm->in.urbs[index]) in 159 sound/usb/line6/capture.c spin_lock_irqsave(&line6pcm->in.lock, flags); in 196 sound/usb/line6/capture.c if (!test_bit(LINE6_STREAM_IMPULSE, &line6pcm->in.running) && in 197 sound/usb/line6/capture.c test_bit(LINE6_STREAM_PCM, &line6pcm->in.running) && in 202 sound/usb/line6/capture.c clear_bit(index, &line6pcm->in.active_urbs); in 204 sound/usb/line6/capture.c if (test_and_clear_bit(index, &line6pcm->in.unlink_urbs)) in 210 sound/usb/line6/capture.c if (!test_bit(LINE6_STREAM_IMPULSE, &line6pcm->in.running) && in 211 sound/usb/line6/capture.c test_bit(LINE6_STREAM_PCM, &line6pcm->in.running)) in 215 sound/usb/line6/capture.c spin_unlock_irqrestore(&line6pcm->in.lock, flags); in 263 sound/usb/line6/capture.c line6pcm->in.urbs = kcalloc(line6->iso_buffers, sizeof(struct urb *), in 265 sound/usb/line6/capture.c if (line6pcm->in.urbs == NULL) in 273 sound/usb/line6/capture.c urb = line6pcm->in.urbs[i] = in 141 sound/usb/line6/pcm.c &line6pcm->out : &line6pcm->in; in 481 sound/usb/line6/pcm.c cleanup_urbs(&line6pcm->in, line6pcm->line6->iso_buffers); in 517 sound/usb/line6/pcm.c line6_unlink_audio_urbs(line6pcm, &line6pcm->in); in 519 sound/usb/line6/pcm.c line6_wait_clear_audio_urbs(line6pcm, &line6pcm->in); in 554 sound/usb/line6/pcm.c spin_lock_init(&line6pcm->in.lock); in 609 sound/usb/line6/pcm.c line6pcm->in.count = 0; in 610 sound/usb/line6/pcm.c line6pcm->in.pos_done = 0; in 611 sound/usb/line6/pcm.c line6pcm->in.bytes = 0; in 150 sound/usb/line6/pcm.h struct line6_pcm_stream in; in 246 sound/usb/line6/playback.c spin_lock_nested(&line6pcm->in.lock, SINGLE_DEPTH_NESTING); in 251 sound/usb/line6/playback.c if (test_bit(LINE6_STREAM_PCM, &line6pcm->in.running)) { in 261 sound/usb/line6/playback.c && line6pcm->out.running && line6pcm->in.running) in 269 sound/usb/line6/playback.c spin_unlock(&line6pcm->in.lock); in 126 sound/usb/midi.c struct snd_usb_midi_in_endpoint *in; in 367 sound/usb/midi.c struct snd_usb_midi_in_endpoint *in = umidi->endpoints[i].in; in 368 sound/usb/midi.c if (in && in->error_resubmit) { in 369 sound/usb/midi.c in->error_resubmit = 0; in 371 sound/usb/midi.c if (atomic_read(&in->urbs[j]->use_count)) in 373 sound/usb/midi.c in->urbs[j]->dev = umidi->dev; in 374 sound/usb/midi.c snd_usbmidi_submit_urb(in->urbs[j], GFP_ATOMIC); in 1287 sound/usb/midi.c rep->in = NULL; in 1330 sound/usb/midi.c rep->in = ep; in 1475 sound/usb/midi.c if (ep->in) in 1476 sound/usb/midi.c snd_usbmidi_in_endpoint_delete(ep->in); in 1517 sound/usb/midi.c if (ep->in) in 1519 sound/usb/midi.c usb_kill_urb(ep->in->urbs[j]); in 1523 sound/usb/midi.c if (ep->in) { in 1524 sound/usb/midi.c snd_usbmidi_in_endpoint_delete(ep->in); in 1525 sound/usb/midi.c ep->in = NULL; in 1819 sound/usb/midi.c &umidi->endpoints[i].in->ports[j].substream); in 2228 sound/usb/midi.c &umidi->endpoints[0].in->ports[cable].substream); in 2277 sound/usb/midi.c if (ep->in) in 2279 sound/usb/midi.c usb_kill_urb(ep->in->urbs[j]); in 2310 sound/usb/midi.c snd_usbmidi_input_start_ep(umidi->endpoints[i].in); in 989 sound/usb/mixer_quirks.c int in, out, err; in 996 sound/usb/mixer_quirks.c for (in = 0; in < 8; in++) { in 997 sound/usb/mixer_quirks.c cmask = 1 << in; in 1000 sound/usb/mixer_quirks.c in + 1, out + 1); in 1007 sound/usb/mixer_quirks.c for (in = 8; in < 16; in++) { in 1008 sound/usb/mixer_quirks.c cmask = 1 << in; in 1011 sound/usb/mixer_quirks.c in - 7, out + 1); in 2402 tools/include/nolibc/nolibc.h const char *ltoa(long in) in 2407 tools/include/nolibc/nolibc.h int neg = in < 0; in 2408 tools/include/nolibc/nolibc.h unsigned long n = neg ? -in : in; in 39 tools/lib/subcmd/pager.c fd_set in; in 42 tools/lib/subcmd/pager.c FD_ZERO(&in); in 44 tools/lib/subcmd/pager.c FD_SET(0, &in); in 46 tools/lib/subcmd/pager.c select(1, &in, NULL, &exception, NULL); in 98 tools/lib/subcmd/pager.c pager_process.in = -1; in 105 tools/lib/subcmd/pager.c dup2(pager_process.in, 1); in 107 tools/lib/subcmd/pager.c dup2(pager_process.in, 2); in 108 tools/lib/subcmd/pager.c close(pager_process.in); in 40 tools/lib/subcmd/run-command.c need_in = !cmd->no_stdin && cmd->in < 0; in 47 tools/lib/subcmd/run-command.c cmd->in = fdin[1]; in 57 tools/lib/subcmd/run-command.c else if (cmd->in) in 58 tools/lib/subcmd/run-command.c close(cmd->in); in 69 tools/lib/subcmd/run-command.c else if (cmd->in) in 70 tools/lib/subcmd/run-command.c close(cmd->in); in 88 tools/lib/subcmd/run-command.c } else if (cmd->in) { in 89 tools/lib/subcmd/run-command.c dup2(cmd->in, 0); in 90 tools/lib/subcmd/run-command.c close(cmd->in); in 137 tools/lib/subcmd/run-command.c else if (cmd->in) in 138 tools/lib/subcmd/run-command.c close(cmd->in); in 152 tools/lib/subcmd/run-command.c else if (cmd->in) in 153 tools/lib/subcmd/run-command.c close(cmd->in); in 39 tools/lib/subcmd/run-command.h int in; in 882 tools/perf/builtin-top.c ret = ordered_events__queue(top->qe.in, event, last_timestamp, 0); in 1073 tools/perf/builtin-top.c struct ordered_events *in = top->qe.in; in 1075 tools/perf/builtin-top.c if (top->qe.in == &top->qe.data[1]) in 1076 tools/perf/builtin-top.c top->qe.in = &top->qe.data[0]; in 1078 tools/perf/builtin-top.c top->qe.in = &top->qe.data[1]; in 1080 tools/perf/builtin-top.c return in; in 1088 tools/perf/builtin-top.c struct ordered_events *out, *in = top->qe.in; in 1090 tools/perf/builtin-top.c if (!in->nr_events) { in 1213 tools/perf/builtin-top.c top->qe.in = &top->qe.data[0]; in 51 tools/perf/util/demangle-rust.c static bool unescape(const char **in, char **out, const char *seq, char value); in 184 tools/perf/util/demangle-rust.c const char *in; in 191 tools/perf/util/demangle-rust.c in = sym; in 195 tools/perf/util/demangle-rust.c while (in < end) in 196 tools/perf/util/demangle-rust.c switch (*in) { in 198 tools/perf/util/demangle-rust.c if (!(unescape(&in, &out, "$C$", ',') in 199 tools/perf/util/demangle-rust.c || unescape(&in, &out, "$SP$", '@') in 200 tools/perf/util/demangle-rust.c || unescape(&in, &out, "$BP$", '*') in 201 tools/perf/util/demangle-rust.c || unescape(&in, &out, "$RF$", '&') in 202 tools/perf/util/demangle-rust.c || unescape(&in, &out, "$LT$", '<') in 203 tools/perf/util/demangle-rust.c || unescape(&in, &out, "$GT$", '>') in 204 tools/perf/util/demangle-rust.c || unescape(&in, &out, "$LP$", '(') in 205 tools/perf/util/demangle-rust.c || unescape(&in, &out, "$RP$", ')') in 206 tools/perf/util/demangle-rust.c || unescape(&in, &out, "$u20$", ' ') in 207 tools/perf/util/demangle-rust.c || unescape(&in, &out, "$u27$", '\'') in 208 tools/perf/util/demangle-rust.c || unescape(&in, &out, "$u5b$", '[') in 209 tools/perf/util/demangle-rust.c || unescape(&in, &out, "$u5d$", ']') in 210 tools/perf/util/demangle-rust.c || unescape(&in, &out, "$u7e$", '~'))) { in 223 tools/perf/util/demangle-rust.c if ((in == sym || in[-1] == ':') && in[1] == '$') in 224 tools/perf/util/demangle-rust.c in++; in 226 tools/perf/util/demangle-rust.c *out++ = *in++; in 229 tools/perf/util/demangle-rust.c if (in[1] == '.') { in 233 tools/perf/util/demangle-rust.c in += 2; in 237 tools/perf/util/demangle-rust.c in++; in 244 tools/perf/util/demangle-rust.c *out++ = *in++; in 248 tools/perf/util/demangle-rust.c *in); in 256 tools/perf/util/demangle-rust.c static bool unescape(const char **in, char **out, const char *seq, char value) in 260 tools/perf/util/demangle-rust.c if (strncmp(*in, seq, len)) in 265 tools/perf/util/demangle-rust.c *in += len; in 176 tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c struct intel_pt_insn in; in 177 tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c if (intel_pt_get_insn(buf, len, x86_64, &in) < 0) in 179 tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c return in.branch != INTEL_PT_BR_NO_BRANCH; in 23 tools/perf/util/intlist.h void intlist__remove(struct intlist *ilist, struct int_node *in); in 51 tools/perf/util/intlist.h static inline struct int_node *intlist__next(struct int_node *in) in 54 tools/perf/util/intlist.h if (!in) in 56 tools/perf/util/intlist.h rn = rb_next(&in->rb_node); in 41 tools/perf/util/jitdump.c FILE *in; in 110 tools/perf/util/jitdump.c if (!(jd && jd->in)) in 112 tools/perf/util/jitdump.c funlockfile(jd->in); in 113 tools/perf/util/jitdump.c fclose(jd->in); in 114 tools/perf/util/jitdump.c jd->in = NULL; in 141 tools/perf/util/jitdump.c jd->in = fopen(name, "r"); in 142 tools/perf/util/jitdump.c if (!jd->in) in 154 tools/perf/util/jitdump.c flockfile(jd->in); in 156 tools/perf/util/jitdump.c ret = fread(buf, sizeof(header), 1, jd->in); in 222 tools/perf/util/jitdump.c ret = fread(buf, bs - bsz, 1, jd->in); in 234 tools/perf/util/jitdump.c funlockfile(jd->in); in 235 tools/perf/util/jitdump.c fclose(jd->in); in 248 tools/perf/util/jitdump.c if (!(jd && jd->in)) in 268 tools/perf/util/jitdump.c ret = fread(prefix, sizeof(*prefix), 1, jd->in); in 298 tools/perf/util/jitdump.c ret = fread(addr, bs - sizeof(*prefix), 1, jd->in); in 212 tools/perf/util/string.c char *asprintf_expr_inout_ints(const char *var, bool in, size_t nints, int *ints) in 228 tools/perf/util/string.c if (!in) { in 23 tools/perf/util/string2.h char *asprintf_expr_inout_ints(const char *var, bool in, size_t nints, int *ints); in 49 tools/perf/util/top.h struct ordered_events *in; in 755 tools/testing/nvdimm/test/nfit.c struct nd_intel_smart_set_threshold *in, in 763 tools/testing/nvdimm/test/nfit.c size = sizeof(*in) - 4; in 766 tools/testing/nvdimm/test/nfit.c memcpy(thresh->data, in, size); in 767 tools/testing/nvdimm/test/nfit.c in->status = 0; in 285 tools/testing/selftests/bpf/prog_tests/core_reloc.c char in[256]; in 345 tools/testing/selftests/bpf/prog_tests/core_reloc.c memcpy(data.in, test_case->input, test_case->input_len); in 11 tools/testing/selftests/bpf/progs/test_core_reloc_arrays.c char in[256]; in 37 tools/testing/selftests/bpf/progs/test_core_reloc_arrays.c struct core_reloc_arrays *in = (void *)&data.in; in 41 tools/testing/selftests/bpf/progs/test_core_reloc_arrays.c if (BPF_CORE_READ(&out->a2, &in->a[2])) in 44 tools/testing/selftests/bpf/progs/test_core_reloc_arrays.c if (BPF_CORE_READ(&out->b123, &in->b[1][2][3])) in 47 tools/testing/selftests/bpf/progs/test_core_reloc_arrays.c if (BPF_CORE_READ(&out->c1c, &in->c[1].c)) in 50 tools/testing/selftests/bpf/progs/test_core_reloc_arrays.c if (BPF_CORE_READ(&out->d00d, &in->d[0][0].d)) in 11 tools/testing/selftests/bpf/progs/test_core_reloc_flavors.c char in[256]; in 45 tools/testing/selftests/bpf/progs/test_core_reloc_flavors.c struct core_reloc_flavors *in_orig = (void *)&data.in; in 46 tools/testing/selftests/bpf/progs/test_core_reloc_flavors.c struct core_reloc_flavors___reversed *in_rev = (void *)&data.in; in 47 tools/testing/selftests/bpf/progs/test_core_reloc_flavors.c struct core_reloc_flavors___weird *in_weird = (void *)&data.in; in 11 tools/testing/selftests/bpf/progs/test_core_reloc_ints.c char in[256]; in 29 tools/testing/selftests/bpf/progs/test_core_reloc_ints.c struct core_reloc_ints *in = (void *)&data.in; in 32 tools/testing/selftests/bpf/progs/test_core_reloc_ints.c if (BPF_CORE_READ(&out->u8_field, &in->u8_field) || in 33 tools/testing/selftests/bpf/progs/test_core_reloc_ints.c BPF_CORE_READ(&out->s8_field, &in->s8_field) || in 34 tools/testing/selftests/bpf/progs/test_core_reloc_ints.c BPF_CORE_READ(&out->u16_field, &in->u16_field) || in 35 tools/testing/selftests/bpf/progs/test_core_reloc_ints.c BPF_CORE_READ(&out->s16_field, &in->s16_field) || in 36 tools/testing/selftests/bpf/progs/test_core_reloc_ints.c BPF_CORE_READ(&out->u32_field, &in->u32_field) || in 37 tools/testing/selftests/bpf/progs/test_core_reloc_ints.c BPF_CORE_READ(&out->s32_field, &in->s32_field) || in 38 tools/testing/selftests/bpf/progs/test_core_reloc_ints.c BPF_CORE_READ(&out->u64_field, &in->u64_field) || in 39 tools/testing/selftests/bpf/progs/test_core_reloc_ints.c BPF_CORE_READ(&out->s64_field, &in->s64_field)) in 11 tools/testing/selftests/bpf/progs/test_core_reloc_kernel.c char in[256]; in 11 tools/testing/selftests/bpf/progs/test_core_reloc_misc.c char in[256]; in 38 tools/testing/selftests/bpf/progs/test_core_reloc_misc.c struct core_reloc_misc___a *in_a = (void *)&data.in; in 39 tools/testing/selftests/bpf/progs/test_core_reloc_misc.c struct core_reloc_misc___b *in_b = (void *)&data.in; in 40 tools/testing/selftests/bpf/progs/test_core_reloc_misc.c struct core_reloc_misc_extensible *in_ext = (void *)&data.in; in 11 tools/testing/selftests/bpf/progs/test_core_reloc_mods.c char in[256]; in 47 tools/testing/selftests/bpf/progs/test_core_reloc_mods.c struct core_reloc_mods *in = (void *)&data.in; in 50 tools/testing/selftests/bpf/progs/test_core_reloc_mods.c if (BPF_CORE_READ(&out->a, &in->a) || in 51 tools/testing/selftests/bpf/progs/test_core_reloc_mods.c BPF_CORE_READ(&out->b, &in->b) || in 52 tools/testing/selftests/bpf/progs/test_core_reloc_mods.c BPF_CORE_READ(&out->c, &in->c) || in 53 tools/testing/selftests/bpf/progs/test_core_reloc_mods.c BPF_CORE_READ(&out->d, &in->d) || in 54 tools/testing/selftests/bpf/progs/test_core_reloc_mods.c BPF_CORE_READ(&out->e, &in->e[2]) || in 55 tools/testing/selftests/bpf/progs/test_core_reloc_mods.c BPF_CORE_READ(&out->f, &in->f[1]) || in 56 tools/testing/selftests/bpf/progs/test_core_reloc_mods.c BPF_CORE_READ(&out->g, &in->g.x) || in 57 tools/testing/selftests/bpf/progs/test_core_reloc_mods.c BPF_CORE_READ(&out->h, &in->h.y)) in 11 tools/testing/selftests/bpf/progs/test_core_reloc_nesting.c char in[256]; in 36 tools/testing/selftests/bpf/progs/test_core_reloc_nesting.c struct core_reloc_nesting *in = (void *)&data.in; in 39 tools/testing/selftests/bpf/progs/test_core_reloc_nesting.c if (BPF_CORE_READ(&out->a.a.a, &in->a.a.a)) in 41 tools/testing/selftests/bpf/progs/test_core_reloc_nesting.c if (BPF_CORE_READ(&out->b.b.b, &in->b.b.b)) in 11 tools/testing/selftests/bpf/progs/test_core_reloc_primitives.c char in[256]; in 31 tools/testing/selftests/bpf/progs/test_core_reloc_primitives.c struct core_reloc_primitives *in = (void *)&data.in; in 34 tools/testing/selftests/bpf/progs/test_core_reloc_primitives.c if (BPF_CORE_READ(&out->a, &in->a) || in 35 tools/testing/selftests/bpf/progs/test_core_reloc_primitives.c BPF_CORE_READ(&out->b, &in->b) || in 36 tools/testing/selftests/bpf/progs/test_core_reloc_primitives.c BPF_CORE_READ(&out->c, &in->c) || in 37 tools/testing/selftests/bpf/progs/test_core_reloc_primitives.c BPF_CORE_READ(&out->d, &in->d) || in 38 tools/testing/selftests/bpf/progs/test_core_reloc_primitives.c BPF_CORE_READ(&out->f, &in->f)) in 11 tools/testing/selftests/bpf/progs/test_core_reloc_ptr_as_arr.c char in[256]; in 22 tools/testing/selftests/bpf/progs/test_core_reloc_ptr_as_arr.c struct core_reloc_ptr_as_arr *in = (void *)&data.in; in 25 tools/testing/selftests/bpf/progs/test_core_reloc_ptr_as_arr.c if (BPF_CORE_READ(&out->a, &in[2].a)) in 989 tools/testing/selftests/bpf/test_sockmap.c int in = BPF_F_INGRESS; in 992 tools/testing/selftests/bpf/test_sockmap.c err = bpf_map_update_elem(map_fd[6], &i, &in, BPF_ANY); in 47 tools/testing/selftests/net/nettest.c struct in_addr in; in 53 tools/testing/selftests/net/nettest.c struct in_addr in; in 84 tools/testing/selftests/net/nettest.c struct in_addr in; in 90 tools/testing/selftests/net/nettest.c struct in_addr in; in 242 tools/testing/selftests/net/nettest.c sin.sin_addr = args->remote_addr.in; in 1018 tools/testing/selftests/net/nettest.c if_addr = args->local_addr.in.s_addr; in 1051 tools/testing/selftests/net/nettest.c args->local_addr.in.s_addr, args->ifindex)) in 1087 tools/testing/selftests/net/nettest.c serv_addr.sin_addr = args->local_addr.in; in 1364 tools/testing/selftests/net/nettest.c sin.sin_addr = args->remote_addr.in; in 1415 tools/testing/selftests/net/nettest.c struct in_addr *in; in 1453 tools/testing/selftests/net/nettest.c in = (struct in_addr *) addr; in 1455 tools/testing/selftests/net/nettest.c if (inet_pton(AF_INET, str, in) == 0) { in 1461 tools/testing/selftests/net/nettest.c in->s_addr = htonl(INADDR_ANY); in 759 tools/testing/selftests/net/psock_tpacket.c char in[512], *ptr; in 769 tools/testing/selftests/net/psock_tpacket.c ret = read(fd, in, sizeof(in)); in 777 tools/testing/selftests/net/psock_tpacket.c ptr = in; in 18 tools/testing/selftests/powerpc/dscr/dscr_default_test.c static void *do_test(void *in) in 20 tools/testing/selftests/powerpc/dscr/dscr_default_test.c unsigned long thread = (unsigned long)in; in 39 tools/testing/selftests/powerpc/tm/tm-tmspr.c void tfiar_tfhar(void *in) in 46 tools/testing/selftests/powerpc/tm/tm-tmspr.c cpu = (unsigned long)in >> 1; in 51 tools/testing/selftests/powerpc/tm/tm-tmspr.c tfiar = ((unsigned long)in) + 1; in 56 tools/testing/selftests/powerpc/tm/tm-tmspr.c tfhar = ((unsigned long)in); in 72 tools/testing/selftests/powerpc/tm/tm-tmspr.c void texasr(void *in) in 234 tools/usb/ffs-test.c } __attribute__((packed)) *const in = descriptors_v2; in 235 tools/usb/ffs-test.c const __le32 *counts = in->counts; in 238 tools/usb/ffs-test.c if (le32_to_cpu(in->header.magic) != in 241 tools/usb/ffs-test.c length = le32_to_cpu(in->header.length); in 242 tools/usb/ffs-test.c if (length <= sizeof in->header) in 244 tools/usb/ffs-test.c length -= sizeof in->header; in 245 tools/usb/ffs-test.c flags = le32_to_cpu(in->header.flags); in 347 tools/usb/ffs-test.c ssize_t (*in)(struct thread *, void *, size_t); in 434 tools/usb/ffs-test.c ret = t->in(t, t->buf, t->buf_size);