input 59 arch/arm/boot/compressed/decompress.c int do_decompress(u8 *input, int len, u8 *output, void (*error)(char *x)) input 61 arch/arm/boot/compressed/decompress.c return __decompress(input, len, NULL, NULL, output, 0, NULL, error); input 138 arch/arm/boot/compressed/misc.c extern int do_decompress(u8 *input, int len, u8 *output, void (*error)(char *x)); input 26 arch/arm/crypto/aes-ce-glue.c asmlinkage u32 ce_aes_sub(u32 input); input 1237 arch/arm/mach-davinci/board-da850-evm.c .input = { input 1252 arch/arm/mach-davinci/board-da850-evm.c .input = { input 230 arch/arm/mach-davinci/board-dm355-evm.c .input = INPUT_CVBS_VI2B, input 234 arch/arm/mach-davinci/board-dm355-evm.c .input = INPUT_SVIDEO_VI2C_VI1C, input 391 arch/arm/mach-davinci/board-dm365-evm.c .input = INPUT_CVBS_VI2B, input 395 arch/arm/mach-davinci/board-dm365-evm.c .input = INPUT_SVIDEO_VI2C_VI1C, input 266 arch/arm/mach-davinci/board-dm644x-evm.c .input = INPUT_CVBS_VI2B, input 270 arch/arm/mach-davinci/board-dm644x-evm.c .input = INPUT_SVIDEO_VI2C_VI1C, input 697 arch/arm/mach-davinci/board-dm646x-evm.c .input = { input 712 arch/arm/mach-davinci/board-dm646x-evm.c .input = { input 35 arch/arm/mach-davinci/pdata-quirks.c .input = { input 50 arch/arm/mach-davinci/pdata-quirks.c .input = { input 96 arch/arm/plat-orion/gpio.c __set_direction(struct orion_gpio_chip *ochip, unsigned pin, int input) input 101 arch/arm/plat-orion/gpio.c if (input) input 8321 arch/m68k/ifpsp060/src/fplsp.S # if the input is exactly equal to one, then exit through ld_pzero. input 8427 arch/m68k/ifpsp060/src/fpsp.S # if the input is exactly equal to one, then exit through ld_pzero. input 129 arch/mips/include/asm/octeon/cvmx-asm.h #define CVMX_POP(result, input) \ input 130 arch/mips/include/asm/octeon/cvmx-asm.h asm ("pop %[rd],%[rs]" : [rd] "=d" (result) : [rs] "d" (input)) input 131 arch/mips/include/asm/octeon/cvmx-asm.h #define CVMX_DPOP(result, input) \ input 132 arch/mips/include/asm/octeon/cvmx-asm.h asm ("dpop %[rd],%[rs]" : [rd] "=d" (result) : [rs] "d" (input)) input 1330 arch/powerpc/kernel/fadump.c int input = -1; input 1335 arch/powerpc/kernel/fadump.c if (kstrtoint(buf, 0, &input)) input 1338 arch/powerpc/kernel/fadump.c if (input == 1) { input 1372 arch/powerpc/kernel/fadump.c int input = -1; input 1377 arch/powerpc/kernel/fadump.c if (kstrtoint(buf, 0, &input)) input 1382 arch/powerpc/kernel/fadump.c switch (input) { input 570 arch/powerpc/platforms/powernv/opal-core.c int input = -1; input 572 arch/powerpc/platforms/powernv/opal-core.c if (kstrtoint(buf, 0, &input)) input 575 arch/powerpc/platforms/powernv/opal-core.c if (input == 1) { input 47 arch/s390/include/asm/fcx.h u64 input; input 176 arch/s390/kernel/uprobes.c __typeof__(*(ptr)) input; \ input 183 arch/s390/kernel/uprobes.c else if (get_user(input, ptr)) \ input 186 arch/s390/kernel/uprobes.c *(output) = input; \ input 190 arch/s390/kernel/uprobes.c #define emu_store_ril(regs, ptr, input) \ input 200 arch/s390/kernel/uprobes.c else if (put_user(*(input), __ptr)) \ input 212 arch/s390/kernel/uprobes.c __typeof__(*(ptr)) input; \ input 219 arch/s390/kernel/uprobes.c else if (get_user(input, ptr)) \ input 221 arch/s390/kernel/uprobes.c else if (input > *(cmp)) \ input 223 arch/s390/kernel/uprobes.c else if (input < *(cmp)) \ input 35 arch/sparc/crypto/aes_glue.c void (*encrypt)(const u64 *key, const u32 *input, u32 *output); input 36 arch/sparc/crypto/aes_glue.c void (*decrypt)(const u64 *key, const u32 *input, u32 *output); input 39 arch/sparc/crypto/aes_glue.c void (*ecb_encrypt)(const u64 *key, const u64 *input, u64 *output, input 41 arch/sparc/crypto/aes_glue.c void (*ecb_decrypt)(const u64 *key, const u64 *input, u64 *output, input 43 arch/sparc/crypto/aes_glue.c void (*cbc_encrypt)(const u64 *key, const u64 *input, u64 *output, input 45 arch/sparc/crypto/aes_glue.c void (*cbc_decrypt)(const u64 *key, const u64 *input, u64 *output, input 47 arch/sparc/crypto/aes_glue.c void (*ctr_crypt)(const u64 *key, const u64 *input, u64 *output, input 58 arch/sparc/crypto/aes_glue.c extern void aes_sparc64_encrypt_128(const u64 *key, const u32 *input, input 60 arch/sparc/crypto/aes_glue.c extern void aes_sparc64_encrypt_192(const u64 *key, const u32 *input, input 62 arch/sparc/crypto/aes_glue.c extern void aes_sparc64_encrypt_256(const u64 *key, const u32 *input, input 65 arch/sparc/crypto/aes_glue.c extern void aes_sparc64_decrypt_128(const u64 *key, const u32 *input, input 67 arch/sparc/crypto/aes_glue.c extern void aes_sparc64_decrypt_192(const u64 *key, const u32 *input, input 69 arch/sparc/crypto/aes_glue.c extern void aes_sparc64_decrypt_256(const u64 *key, const u32 *input, input 80 arch/sparc/crypto/aes_glue.c extern void aes_sparc64_ecb_encrypt_128(const u64 *key, const u64 *input, input 82 arch/sparc/crypto/aes_glue.c extern void aes_sparc64_ecb_encrypt_192(const u64 *key, const u64 *input, input 84 arch/sparc/crypto/aes_glue.c extern void aes_sparc64_ecb_encrypt_256(const u64 *key, const u64 *input, input 87 arch/sparc/crypto/aes_glue.c extern void aes_sparc64_ecb_decrypt_128(const u64 *key, const u64 *input, input 89 arch/sparc/crypto/aes_glue.c extern void aes_sparc64_ecb_decrypt_192(const u64 *key, const u64 *input, input 91 arch/sparc/crypto/aes_glue.c extern void aes_sparc64_ecb_decrypt_256(const u64 *key, const u64 *input, input 94 arch/sparc/crypto/aes_glue.c extern void aes_sparc64_cbc_encrypt_128(const u64 *key, const u64 *input, input 98 arch/sparc/crypto/aes_glue.c extern void aes_sparc64_cbc_encrypt_192(const u64 *key, const u64 *input, input 102 arch/sparc/crypto/aes_glue.c extern void aes_sparc64_cbc_encrypt_256(const u64 *key, const u64 *input, input 106 arch/sparc/crypto/aes_glue.c extern void aes_sparc64_cbc_decrypt_128(const u64 *key, const u64 *input, input 110 arch/sparc/crypto/aes_glue.c extern void aes_sparc64_cbc_decrypt_192(const u64 *key, const u64 *input, input 114 arch/sparc/crypto/aes_glue.c extern void aes_sparc64_cbc_decrypt_256(const u64 *key, const u64 *input, input 118 arch/sparc/crypto/aes_glue.c extern void aes_sparc64_ctr_crypt_128(const u64 *key, const u64 *input, input 121 arch/sparc/crypto/aes_glue.c extern void aes_sparc64_ctr_crypt_192(const u64 *key, const u64 *input, input 124 arch/sparc/crypto/aes_glue.c extern void aes_sparc64_ctr_crypt_256(const u64 *key, const u64 *input, input 55 arch/sparc/crypto/camellia_glue.c extern void camellia_sparc64_crypt(const u64 *key, const u32 *input, input 78 arch/sparc/crypto/camellia_glue.c typedef void ecb_crypt_op(const u64 *input, u64 *output, unsigned int len, input 141 arch/sparc/crypto/camellia_glue.c typedef void cbc_crypt_op(const u64 *input, u64 *output, unsigned int len, input 64 arch/sparc/crypto/des_glue.c extern void des_sparc64_crypt(const u64 *key, const u64 *input, input 85 arch/sparc/crypto/des_glue.c extern void des_sparc64_ecb_crypt(const u64 *input, u64 *output, input 135 arch/sparc/crypto/des_glue.c extern void des_sparc64_cbc_encrypt(const u64 *input, u64 *output, input 166 arch/sparc/crypto/des_glue.c extern void des_sparc64_cbc_decrypt(const u64 *input, u64 *output, input 230 arch/sparc/crypto/des_glue.c extern void des3_ede_sparc64_crypt(const u64 *key, const u64 *input, input 251 arch/sparc/crypto/des_glue.c extern void des3_ede_sparc64_ecb_crypt(const u64 *expkey, const u64 *input, input 302 arch/sparc/crypto/des_glue.c extern void des3_ede_sparc64_cbc_encrypt(const u64 *expkey, const u64 *input, input 338 arch/sparc/crypto/des_glue.c extern void des3_ede_sparc64_cbc_decrypt(const u64 *expkey, const u64 *input, input 21 arch/um/drivers/chan.h unsigned int input:1; input 22 arch/um/drivers/chan_kern.c static int not_configged_open(int input, int output, int primary, void *data, input 93 arch/um/drivers/chan_kern.c else fd = (*chan->ops->open)(chan->input, chan->output, chan->primary, input 159 arch/um/drivers/chan_kern.c err = line_setup_irq(chan->fd, chan->input, chan->output, line, input 197 arch/um/drivers/chan_kern.c if (chan->input && chan->enabled) input 217 arch/um/drivers/chan_kern.c if (chan->input && chan->enabled) input 478 arch/um/drivers/chan_kern.c .input = 0, input 513 arch/um/drivers/chan_kern.c new->input = 1; input 531 arch/um/drivers/chan_kern.c new->input = 1; input 50 arch/um/drivers/fd.c static int fd_open(int input, int output, int primary, void *d, char **dev_out) input 267 arch/um/drivers/line.c int line_setup_irq(int fd, int input, int output, struct line *line, void *data) input 272 arch/um/drivers/line.c if (input) input 79 arch/um/drivers/line.h extern int line_setup_irq(int fd, int input, int output, struct line *line, input 20 arch/um/drivers/null.c static int null_open(int input, int output, int primary, void *d, input 70 arch/um/drivers/port_user.c static int port_open(int input, int output, int primary, void *d, input 40 arch/um/drivers/pty.c static int pts_open(int input, int output, int primary, void *d, input 113 arch/um/drivers/pty.c static int pty_open(int input, int output, int primary, void *d, input 39 arch/um/drivers/tty.c static int tty_open(int input, int output, int primary, void *d, input 45 arch/um/drivers/tty.c if (input && output) input 47 arch/um/drivers/tty.c else if (input) input 84 arch/um/drivers/xterm.c static int xterm_open(int input, int output, int primary, void *d, input 369 arch/x86/boot/compressed/kaslr.c static void mem_avoid_init(unsigned long input, unsigned long input_size, input 381 arch/x86/boot/compressed/kaslr.c mem_avoid[MEM_AVOID_ZO_RANGE].start = input; input 382 arch/x86/boot/compressed/kaslr.c mem_avoid[MEM_AVOID_ZO_RANGE].size = (output + init_size) - input; input 848 arch/x86/boot/compressed/kaslr.c void choose_random_location(unsigned long input, input 875 arch/x86/boot/compressed/kaslr.c mem_avoid_init(input, input_size, *output); input 79 arch/x86/boot/compressed/misc.h void choose_random_location(unsigned long input, input 87 arch/x86/boot/compressed/misc.h static inline void choose_random_location(unsigned long input, input 220 arch/x86/include/asm/alternative.h #define alternative_input(oldinstr, newinstr, feature, input...) \ input 222 arch/x86/include/asm/alternative.h : : "i" (0), ## input) input 233 arch/x86/include/asm/alternative.h feature2, input...) \ input 236 arch/x86/include/asm/alternative.h : : "i" (0), ## input) input 239 arch/x86/include/asm/alternative.h #define alternative_io(oldinstr, newinstr, feature, output, input...) \ input 241 arch/x86/include/asm/alternative.h : output : "i" (0), ## input) input 244 arch/x86/include/asm/alternative.h #define alternative_call(oldfunc, newfunc, feature, output, input...) \ input 246 arch/x86/include/asm/alternative.h : output : [old] "i" (oldfunc), [new] "i" (newfunc), ## input) input 255 arch/x86/include/asm/alternative.h output, input...) \ input 260 arch/x86/include/asm/alternative.h [new2] "i" (newfunc2), ## input) input 105 arch/x86/include/asm/fpu/internal.h #define user_insn(insn, output, input...) \ input 120 arch/x86/include/asm/fpu/internal.h : "0"(0), input); \ input 124 arch/x86/include/asm/fpu/internal.h #define kernel_insn_err(insn, output, input...) \ input 135 arch/x86/include/asm/fpu/internal.h : "0"(0), input); \ input 139 arch/x86/include/asm/fpu/internal.h #define kernel_insn(insn, output, input...) \ input 143 arch/x86/include/asm/fpu/internal.h : output : input) input 74 arch/x86/include/asm/mshyperv.h static inline u64 hv_do_hypercall(u64 control, void *input, void *output) input 76 arch/x86/include/asm/mshyperv.h u64 input_address = input ? virt_to_phys(input) : 0; input 182 arch/x86/include/asm/mshyperv.h void *input, void *output) input 192 arch/x86/include/asm/mshyperv.h status = hv_do_hypercall(control, input, output); input 1662 arch/x86/kvm/hyperv.c vcpu->run->hyperv.u.hcall.input = param; input 769 block/blk-cgroup.c char *input = *inputp; input 774 block/blk-cgroup.c if (sscanf(input, "%u:%u%n", &major, &minor, &key_len) != 2) input 777 block/blk-cgroup.c input += key_len; input 778 block/blk-cgroup.c if (!isspace(*input)) input 780 block/blk-cgroup.c input = skip_spaces(input); input 790 block/blk-cgroup.c *inputp = input; input 807 block/blk-cgroup.c char *input, struct blkg_conf_ctx *ctx) input 815 block/blk-cgroup.c disk = blkcg_conf_get_disk(&input); input 883 block/blk-cgroup.c ctx->body = input; input 2207 block/blk-iocost.c static ssize_t ioc_qos_write(struct kernfs_open_file *of, char *input, input 2217 block/blk-iocost.c disk = blkcg_conf_get_disk(&input); input 2235 block/blk-iocost.c while ((p = strsep(&input, " \t\n"))) { input 2373 block/blk-iocost.c static ssize_t ioc_cost_model_write(struct kernfs_open_file *of, char *input, input 2383 block/blk-iocost.c disk = blkcg_conf_get_disk(&input); input 2400 block/blk-iocost.c while ((p = strsep(&input, " \t\n"))) { input 482 crypto/crypto_user_base.c .input = crypto_netlink_rcv, input 826 crypto/drbg.c unsigned char input[5]; input 831 crypto/drbg.c input[0] = 1; input 832 crypto/drbg.c drbg_cpu_to_be32((outlen * 8), &input[1]); input 835 crypto/drbg.c drbg_string_fill(&data, input, 5); input 846 crypto/drbg.c input[0]++; input 1708 crypto/drbg.c struct drbg_string *input = NULL; input 1711 crypto/drbg.c list_for_each_entry(input, in, list) input 1712 crypto/drbg.c crypto_shash_update(&sdesc->shash, input->buf, input->len); input 858 crypto/ecc.c void vli_mod_inv(u64 *result, const u64 *input, const u64 *mod, input 866 crypto/ecc.c if (vli_is_zero(input, ndigits)) { input 871 crypto/ecc.c vli_set(a, input, ndigits); input 211 crypto/ecc.h void vli_mod_inv(u64 *result, const u64 *input, const u64 *mod, input 88 crypto/sha512_generic.c static inline void LOAD_OP(int I, u64 *W, const u8 *input) input 90 crypto/sha512_generic.c W[I] = get_unaligned_be64((__u64 *)input + I); input 99 crypto/sha512_generic.c sha512_transform(u64 *state, const u8 *input) input 118 crypto/sha512_generic.c LOAD_OP(i + j, W, input); input 720 crypto/testmgr.c struct iov_iter input; input 723 crypto/testmgr.c iov_iter_kvec(&input, WRITE, inputs, nr_inputs, src_total_len); input 728 crypto/testmgr.c &input, NULL); input 1042 crypto/testmgr.c struct iov_iter input; input 1046 crypto/testmgr.c iov_iter_kvec(&input, WRITE, &kv, 1, vec->psize); input 1048 crypto/testmgr.c &input, divs); input 1855 crypto/testmgr.c struct kvec input[2]; input 1902 crypto/testmgr.c input[0].iov_base = (void *)vec->assoc; input 1903 crypto/testmgr.c input[0].iov_len = vec->alen; input 1904 crypto/testmgr.c input[1].iov_base = enc ? (void *)vec->ptext : (void *)vec->ctext; input 1905 crypto/testmgr.c input[1].iov_len = enc ? vec->plen : vec->clen; input 1911 crypto/testmgr.c input, 2); input 2358 crypto/testmgr.c const char *input, *result; input 2377 crypto/testmgr.c input = enc ? template[i].ptext : template[i].ctext; input 2386 crypto/testmgr.c memcpy(data, input, template[i].len); input 2454 crypto/testmgr.c struct kvec input; input 2498 crypto/testmgr.c input.iov_base = enc ? (void *)vec->ptext : (void *)vec->ctext; input 2499 crypto/testmgr.c input.iov_len = vec->len; input 2501 crypto/testmgr.c vec->len, vec->len, &input, 1); input 2938 crypto/testmgr.c ret = crypto_comp_compress(tfm, ctemplate[i].input, input 2965 crypto/testmgr.c if (memcmp(decomp_output, ctemplate[i].input, input 2982 crypto/testmgr.c ret = crypto_comp_decompress(tfm, dtemplate[i].input, input 3044 crypto/testmgr.c input_vec = kmemdup(ctemplate[i].input, ilen, GFP_KERNEL); input 3121 crypto/testmgr.c input_vec = kmemdup(dtemplate[i].input, ilen, GFP_KERNEL); input 29529 crypto/testmgr.h char input[COMP_BUF_SIZE]; input 29542 crypto/testmgr.h .input = "Join us now and share the software " input 29552 crypto/testmgr.h .input = "This document describes a compression method based on the DEFLATE" input 29578 crypto/testmgr.h .input = "\x5d\x8d\x31\x0e\xc2\x30\x10\x04" input 29600 crypto/testmgr.h .input = "\xf3\xca\xcf\xcc\x53\x28\x2d\x56" input 29614 crypto/testmgr.h .input = "Join us now and share the software " input 29625 crypto/testmgr.h .input = "This document describes a compression method based on the DEFLATE" input 29652 crypto/testmgr.h .input = "\x78\x9c\x5d\x8d\x31\x0e\xc2\x30" input 29674 crypto/testmgr.h .input = "\x78\x9c\xf3\xca\xcf\xcc\x53\x28" input 29692 crypto/testmgr.h .input = "Join us now and share the software " input 29705 crypto/testmgr.h .input = "This document describes a compression method based on the LZO " input 29732 crypto/testmgr.h .input = "\x00\x2b\x54\x68\x69\x73\x20\x64" input 29755 crypto/testmgr.h .input = "\x00\x0d\x4a\x6f\x69\x6e\x20\x75" input 29770 crypto/testmgr.h .input = "Join us now and share the software " input 29783 crypto/testmgr.h .input = "This document describes a compression method based on the LZO " input 29810 crypto/testmgr.h .input = "\x00\x2b\x54\x68\x69\x73\x20\x64" input 29833 crypto/testmgr.h .input = "\x11\x01\x00\x0d\x4a\x6f\x69\x6e" input 30884 crypto/testmgr.h .input = "LZ4 is lossless compression algorithm, providing" input 30915 crypto/testmgr.h .input = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73" input 30945 crypto/testmgr.h .input = "LZ4 is lossless compression algorithm, providing" input 30976 crypto/testmgr.h .input = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73" input 31006 crypto/testmgr.h .input = "The algorithm is zstd. " input 31017 crypto/testmgr.h .input = "zstd, short for Zstandard, is a fast lossless " input 31042 crypto/testmgr.h .input = "\x28\xb5\x2f\xfd\x04\x50\xf5\x00\x00\xb8\x54\x68\x65" input 31053 crypto/testmgr.h .input = "\x28\xb5\x2f\xfd\x04\x50\x75\x04\x00\x42\x4b\x1e\x17" input 175 drivers/acpi/acpi_video.c struct input_dev *input; input 1568 drivers/acpi/acpi_video.c struct input_dev *input; input 1571 drivers/acpi/acpi_video.c if (!video || !video->input) input 1574 drivers/acpi/acpi_video.c input = video->input; input 1610 drivers/acpi/acpi_video.c input_report_key(input, keycode, 1); input 1611 drivers/acpi/acpi_video.c input_sync(input); input 1612 drivers/acpi/acpi_video.c input_report_key(input, keycode, 0); input 1613 drivers/acpi/acpi_video.c input_sync(input); input 1634 drivers/acpi/acpi_video.c struct input_dev *input; input 1642 drivers/acpi/acpi_video.c input = bus->input; input 1682 drivers/acpi/acpi_video.c input_report_key(input, keycode, 1); input 1683 drivers/acpi/acpi_video.c input_sync(input); input 1684 drivers/acpi/acpi_video.c input_report_key(input, keycode, 0); input 1685 drivers/acpi/acpi_video.c input_sync(input); input 1927 drivers/acpi/acpi_video.c struct input_dev *input; input 1931 drivers/acpi/acpi_video.c video->input = input = input_allocate_device(); input 1932 drivers/acpi/acpi_video.c if (!input) { input 1944 drivers/acpi/acpi_video.c input->name = acpi_device_name(video->device); input 1945 drivers/acpi/acpi_video.c input->phys = video->phys; input 1946 drivers/acpi/acpi_video.c input->id.bustype = BUS_HOST; input 1947 drivers/acpi/acpi_video.c input->id.product = 0x06; input 1948 drivers/acpi/acpi_video.c input->dev.parent = &video->device->dev; input 1949 drivers/acpi/acpi_video.c input->evbit[0] = BIT(EV_KEY); input 1950 drivers/acpi/acpi_video.c set_bit(KEY_SWITCHVIDEOMODE, input->keybit); input 1951 drivers/acpi/acpi_video.c set_bit(KEY_VIDEO_NEXT, input->keybit); input 1952 drivers/acpi/acpi_video.c set_bit(KEY_VIDEO_PREV, input->keybit); input 1953 drivers/acpi/acpi_video.c set_bit(KEY_BRIGHTNESS_CYCLE, input->keybit); input 1954 drivers/acpi/acpi_video.c set_bit(KEY_BRIGHTNESSUP, input->keybit); input 1955 drivers/acpi/acpi_video.c set_bit(KEY_BRIGHTNESSDOWN, input->keybit); input 1956 drivers/acpi/acpi_video.c set_bit(KEY_BRIGHTNESS_ZERO, input->keybit); input 1957 drivers/acpi/acpi_video.c set_bit(KEY_DISPLAY_OFF, input->keybit); input 1959 drivers/acpi/acpi_video.c error = input_register_device(input); input 1973 drivers/acpi/acpi_video.c input_free_device(input); input 1974 drivers/acpi/acpi_video.c video->input = NULL; input 1998 drivers/acpi/acpi_video.c input_unregister_device(video->input); input 1999 drivers/acpi/acpi_video.c video->input = NULL; input 45 drivers/acpi/acpica/acconvert.h void cv_process_comment_state(char input); input 45 drivers/acpi/apei/apei-internal.h u64 input) input 47 drivers/acpi/apei/apei-internal.h ctx->value = input; input 192 drivers/acpi/bus.c struct acpi_object_list input; input 207 drivers/acpi/bus.c input.count = 4; input 208 drivers/acpi/bus.c input.pointer = in_params; input 220 drivers/acpi/bus.c status = acpi_evaluate_object(handle, "_OSC", &input, &output); input 133 drivers/acpi/button.c struct input_dev *input; input 232 drivers/acpi/button.c input_report_switch(button->input, input 234 drivers/acpi/button.c input_sync(button->input); input 242 drivers/acpi/button.c input_report_switch(button->input, SW_LID, !state); input 243 drivers/acpi/button.c input_sync(button->input); input 410 drivers/acpi/button.c struct input_dev *input; input 418 drivers/acpi/button.c input = button->input; input 420 drivers/acpi/button.c mutex_lock(&button->input->mutex); input 421 drivers/acpi/button.c users = button->input->users; input 422 drivers/acpi/button.c mutex_unlock(&button->input->mutex); input 432 drivers/acpi/button.c keycode = test_bit(KEY_SLEEP, input->keybit) ? input 434 drivers/acpi/button.c input_report_key(input, keycode, 1); input 435 drivers/acpi/button.c input_sync(input); input 436 drivers/acpi/button.c input_report_key(input, keycode, 0); input 437 drivers/acpi/button.c input_sync(input); input 468 drivers/acpi/button.c if (button->type == ACPI_BUTTON_TYPE_LID && button->input->users) { input 477 drivers/acpi/button.c static int acpi_lid_input_open(struct input_dev *input) input 479 drivers/acpi/button.c struct acpi_device *device = input_get_drvdata(input); input 492 drivers/acpi/button.c struct input_dev *input; input 506 drivers/acpi/button.c button->input = input = input_allocate_device(); input 507 drivers/acpi/button.c if (!input) { input 532 drivers/acpi/button.c input->open = acpi_lid_input_open; input 545 drivers/acpi/button.c input->name = name; input 546 drivers/acpi/button.c input->phys = button->phys; input 547 drivers/acpi/button.c input->id.bustype = BUS_HOST; input 548 drivers/acpi/button.c input->id.product = button->type; input 549 drivers/acpi/button.c input->dev.parent = &device->dev; input 553 drivers/acpi/button.c input_set_capability(input, EV_KEY, KEY_POWER); input 557 drivers/acpi/button.c input_set_capability(input, EV_KEY, KEY_SLEEP); input 561 drivers/acpi/button.c input_set_capability(input, EV_SW, SW_LID); input 565 drivers/acpi/button.c input_set_drvdata(input, device); input 566 drivers/acpi/button.c error = input_register_device(input); input 584 drivers/acpi/button.c input_free_device(input); input 595 drivers/acpi/button.c input_unregister_device(button->input); input 300 drivers/acpi/nfit/core.c struct acpi_object_list input = { input 319 drivers/acpi/nfit/core.c rc = acpi_evaluate_object(handle, "_LSW", &input, &buf); input 330 drivers/acpi/nfit/core.c struct acpi_object_list input = { input 344 drivers/acpi/nfit/core.c rc = acpi_evaluate_object(handle, "_LSR", &input, &buf); input 622 drivers/acpi/utils.c struct acpi_object_list input = { input 642 drivers/acpi/utils.c ret = acpi_evaluate_object(handle, "_DSM", &input, &buf); input 351 drivers/ata/libata-acpi.c struct acpi_object_list input; input 365 drivers/ata/libata-acpi.c input.count = 3; input 366 drivers/ata/libata-acpi.c input.pointer = in_params; input 369 drivers/ata/libata-acpi.c &input, NULL); input 775 drivers/ata/libata-acpi.c struct acpi_object_list input; input 784 drivers/ata/libata-acpi.c input.count = 1; input 785 drivers/ata/libata-acpi.c input.pointer = in_params; input 793 drivers/ata/libata-acpi.c status = acpi_evaluate_object(ata_dev_acpi_handle(dev), "_SDD", &input, input 203 drivers/ata/libata-scsi.c long int input; input 207 drivers/ata/libata-scsi.c rc = kstrtol(buf, 10, &input); input 210 drivers/ata/libata-scsi.c if (input < -2) input 212 drivers/ata/libata-scsi.c if (input > ATA_TMOUT_MAX_PARK) { input 214 drivers/ata/libata-scsi.c input = ATA_TMOUT_MAX_PARK; input 231 drivers/ata/libata-scsi.c if (input >= 0) { input 237 drivers/ata/libata-scsi.c dev->unpark_deadline = ata_deadline(jiffies, input); input 242 drivers/ata/libata-scsi.c switch (input) { input 294 drivers/ata/libata-scsi.c long int input; input 297 drivers/ata/libata-scsi.c rc = kstrtol(buf, 10, &input); input 300 drivers/ata/libata-scsi.c if ((input < 0) || (input > 1)) input 309 drivers/ata/libata-scsi.c if (input) input 321 drivers/ata/libata-scsi.c if (input) { input 1218 drivers/auxdisplay/panel.c static inline int input_state_high(struct logical_input *input) input 1238 drivers/auxdisplay/panel.c if (((phys_prev & input->mask) == input->value) && input 1239 drivers/auxdisplay/panel.c ((phys_curr & input->mask) > input->value)) { input 1240 drivers/auxdisplay/panel.c input->state = INPUT_ST_LOW; /* invalidate */ input 1245 drivers/auxdisplay/panel.c if ((phys_curr & input->mask) == input->value) { input 1246 drivers/auxdisplay/panel.c if ((input->type == INPUT_TYPE_STD) && input 1247 drivers/auxdisplay/panel.c (input->high_timer == 0)) { input 1248 drivers/auxdisplay/panel.c input->high_timer++; input 1249 drivers/auxdisplay/panel.c if (input->u.std.press_fct) input 1250 drivers/auxdisplay/panel.c input->u.std.press_fct(input->u.std.press_data); input 1251 drivers/auxdisplay/panel.c } else if (input->type == INPUT_TYPE_KBD) { input 1255 drivers/auxdisplay/panel.c if (input->high_timer == 0) { input 1256 drivers/auxdisplay/panel.c char *press_str = input->u.kbd.press_str; input 1259 drivers/auxdisplay/panel.c int s = sizeof(input->u.kbd.press_str); input 1265 drivers/auxdisplay/panel.c if (input->u.kbd.repeat_str[0]) { input 1266 drivers/auxdisplay/panel.c char *repeat_str = input->u.kbd.repeat_str; input 1268 drivers/auxdisplay/panel.c if (input->high_timer >= KEYPAD_REP_START) { input 1269 drivers/auxdisplay/panel.c int s = sizeof(input->u.kbd.repeat_str); input 1271 drivers/auxdisplay/panel.c input->high_timer -= KEYPAD_REP_DELAY; input 1278 drivers/auxdisplay/panel.c if (input->high_timer < 255) input 1279 drivers/auxdisplay/panel.c input->high_timer++; input 1285 drivers/auxdisplay/panel.c input->state = INPUT_ST_FALLING; input 1286 drivers/auxdisplay/panel.c input->fall_timer = 0; input 1291 drivers/auxdisplay/panel.c static inline void input_state_falling(struct logical_input *input) input 1295 drivers/auxdisplay/panel.c if (((phys_prev & input->mask) == input->value) && input 1296 drivers/auxdisplay/panel.c ((phys_curr & input->mask) > input->value)) { input 1297 drivers/auxdisplay/panel.c input->state = INPUT_ST_LOW; /* invalidate */ input 1302 drivers/auxdisplay/panel.c if ((phys_curr & input->mask) == input->value) { input 1303 drivers/auxdisplay/panel.c if (input->type == INPUT_TYPE_KBD) { input 1307 drivers/auxdisplay/panel.c if (input->u.kbd.repeat_str[0]) { input 1308 drivers/auxdisplay/panel.c char *repeat_str = input->u.kbd.repeat_str; input 1310 drivers/auxdisplay/panel.c if (input->high_timer >= KEYPAD_REP_START) { input 1311 drivers/auxdisplay/panel.c int s = sizeof(input->u.kbd.repeat_str); input 1313 drivers/auxdisplay/panel.c input->high_timer -= KEYPAD_REP_DELAY; input 1320 drivers/auxdisplay/panel.c if (input->high_timer < 255) input 1321 drivers/auxdisplay/panel.c input->high_timer++; input 1323 drivers/auxdisplay/panel.c input->state = INPUT_ST_HIGH; input 1324 drivers/auxdisplay/panel.c } else if (input->fall_timer >= input->fall_time) { input 1326 drivers/auxdisplay/panel.c if (input->type == INPUT_TYPE_STD) { input 1327 drivers/auxdisplay/panel.c void (*release_fct)(int) = input->u.std.release_fct; input 1330 drivers/auxdisplay/panel.c release_fct(input->u.std.release_data); input 1331 drivers/auxdisplay/panel.c } else if (input->type == INPUT_TYPE_KBD) { input 1332 drivers/auxdisplay/panel.c char *release_str = input->u.kbd.release_str; input 1335 drivers/auxdisplay/panel.c int s = sizeof(input->u.kbd.release_str); input 1341 drivers/auxdisplay/panel.c input->state = INPUT_ST_LOW; input 1343 drivers/auxdisplay/panel.c input->fall_timer++; input 1350 drivers/auxdisplay/panel.c struct logical_input *input; input 1354 drivers/auxdisplay/panel.c list_for_each_entry(input, &logical_inputs, list) { input 1355 drivers/auxdisplay/panel.c switch (input->state) { input 1357 drivers/auxdisplay/panel.c if ((phys_curr & input->mask) != input->value) input 1366 drivers/auxdisplay/panel.c if ((phys_prev & input->mask) == input->value) input 1368 drivers/auxdisplay/panel.c input->rise_timer = 0; input 1369 drivers/auxdisplay/panel.c input->state = INPUT_ST_RISING; input 1372 drivers/auxdisplay/panel.c if ((phys_curr & input->mask) != input->value) { input 1373 drivers/auxdisplay/panel.c input->state = INPUT_ST_LOW; input 1376 drivers/auxdisplay/panel.c if (input->rise_timer < input->rise_time) { input 1378 drivers/auxdisplay/panel.c input->rise_timer++; input 1381 drivers/auxdisplay/panel.c input->high_timer = 0; input 1382 drivers/auxdisplay/panel.c input->state = INPUT_ST_HIGH; input 1385 drivers/auxdisplay/panel.c if (input_state_high(input)) input 1389 drivers/auxdisplay/panel.c input_state_falling(input); input 50 drivers/clk/at91/at91sam9260.c .input = { .min = 1000000, .max = 32000000 }, input 66 drivers/clk/at91/at91sam9260.c .input = { .min = 1000000, .max = 5000000 }, input 143 drivers/clk/at91/at91sam9260.c .input = { .min = 2000000, .max = 32000000 }, input 159 drivers/clk/at91/at91sam9260.c .input = { .min = 2000000, .max = 32000000 }, input 191 drivers/clk/at91/at91sam9260.c .input = { .min = 1000000, .max = 32000000 }, input 207 drivers/clk/at91/at91sam9260.c .input = { .min = 1000000, .max = 5000000 }, input 271 drivers/clk/at91/at91sam9260.c .input = { .min = 1000000, .max = 32000000 }, input 23 drivers/clk/at91/at91sam9rl.c .input = { .min = 1000000, .max = 32000000 }, input 32 drivers/clk/at91/at91sam9x5.c .input = { .min = 2000000, .max = 32000000 }, input 138 drivers/clk/at91/clk-pll.c if (parent_rate < characteristics->input.min) input 151 drivers/clk/at91/clk-pll.c if (parent_rate > characteristics->input.max) { input 152 drivers/clk/at91/clk-pll.c tmpdiv = DIV_ROUND_UP(parent_rate, characteristics->input.max); input 495 drivers/clk/at91/dt-compat.c struct clk_range input; input 501 drivers/clk/at91/dt-compat.c if (of_at91_get_clk_range(np, "atmel,clk-input-range", &input)) input 567 drivers/clk/at91/dt-compat.c characteristics->input = input; input 63 drivers/clk/at91/pmc.h struct clk_range input; input 29 drivers/clk/at91/sam9x60.c .input = { .min = 12000000, .max = 48000000 }, input 39 drivers/clk/at91/sam9x60.c .input = { .min = 12000000, .max = 48000000 }, input 24 drivers/clk/at91/sama5d2.c .input = { .min = 12000000, .max = 24000000 }, input 24 drivers/clk/at91/sama5d4.c .input = { .min = 12000000, .max = 12000000 }, input 1146 drivers/clk/clk-qoriq.c const char *input = "cg-sysclk"; input 1156 drivers/clk/clk-qoriq.c input = "cg-coreclk"; input 1217 drivers/clk/clk-qoriq.c pll->div[i].name, input, 0, mult, i + 1); input 71 drivers/clk/st/clkgen-fsyn.c static int clk_fs660c32_dig_get_params(unsigned long input, input 260 drivers/clk/st/clkgen-fsyn.c static int clk_fs660c32_vco_get_rate(unsigned long input, struct stm_fs *fs, input 265 drivers/clk/st/clkgen-fsyn.c *rate = input * nd; input 287 drivers/clk/st/clkgen-fsyn.c static int clk_fs660c32_vco_get_params(unsigned long input, input 300 drivers/clk/st/clkgen-fsyn.c if (input > 40000000) input 305 drivers/clk/st/clkgen-fsyn.c input /= 1000; input 308 drivers/clk/st/clkgen-fsyn.c n = output * pdiv / input; input 560 drivers/clk/st/clkgen-fsyn.c static int clk_fs660c32_dig_get_rate(unsigned long input, input 578 drivers/clk/st/clkgen-fsyn.c *rate = (unsigned long)div64_u64(input * P20 * 32, res); input 585 drivers/clk/st/clkgen-fsyn.c signed long input, unsigned long output, uint64_t *p, input 594 drivers/clk/st/clkgen-fsyn.c *p = (uint64_t)input * P20 - (32LL + (uint64_t)m) * val * (P20 / 32LL); input 606 drivers/clk/st/clkgen-fsyn.c clk_fs660c32_dig_get_rate(input, &fs_tmp, &new_freq); input 620 drivers/clk/st/clkgen-fsyn.c static int clk_fs660c32_dig_get_params(unsigned long input, input 637 drivers/clk/st/clkgen-fsyn.c input, output, &p1, fs); input 639 drivers/clk/st/clkgen-fsyn.c input, output, &p2, fs); input 648 drivers/clk/st/clkgen-fsyn.c input, output, &p, fs); input 669 drivers/clk/st/clkgen-fsyn.c clk_fs660c32_dig_get_rate(input, &fs_tmp, &new_freq); input 253 drivers/clk/st/clkgen-pll.c static int clk_pll3200c32_get_params(unsigned long input, unsigned long output, input 270 drivers/clk/st/clkgen-pll.c input /= 1000; input 274 drivers/clk/st/clkgen-pll.c n = i * output / (2 * input); input 282 drivers/clk/st/clkgen-pll.c new_freq = (input * 2 * n) / i; input 303 drivers/clk/st/clkgen-pll.c static int clk_pll3200c32_get_rate(unsigned long input, struct stm_pll *pll, input 309 drivers/clk/st/clkgen-pll.c *rate = ((2 * (input / 1000) * pll->ndiv) / pll->idf) * 1000; input 414 drivers/clk/st/clkgen-pll.c static int clk_pll4600c28_get_params(unsigned long input, unsigned long output, input 429 drivers/clk/st/clkgen-pll.c infin = input / i; input 459 drivers/clk/st/clkgen-pll.c static int clk_pll4600c28_get_rate(unsigned long input, struct stm_pll *pll, input 465 drivers/clk/st/clkgen-pll.c *rate = (input / pll->idf) * 2 * pll->ndiv; input 256 drivers/connector/connector.c .input = cn_rx_skb, input 151 drivers/cpufreq/cpufreq_conservative.c unsigned int input; input 153 drivers/cpufreq/cpufreq_conservative.c ret = sscanf(buf, "%u", &input); input 155 drivers/cpufreq/cpufreq_conservative.c if (ret != 1 || input > MAX_SAMPLING_DOWN_FACTOR || input < 1) input 158 drivers/cpufreq/cpufreq_conservative.c dbs_data->sampling_down_factor = input; input 167 drivers/cpufreq/cpufreq_conservative.c unsigned int input; input 169 drivers/cpufreq/cpufreq_conservative.c ret = sscanf(buf, "%u", &input); input 171 drivers/cpufreq/cpufreq_conservative.c if (ret != 1 || input > 100 || input <= cs_tuners->down_threshold) input 174 drivers/cpufreq/cpufreq_conservative.c dbs_data->up_threshold = input; input 183 drivers/cpufreq/cpufreq_conservative.c unsigned int input; input 185 drivers/cpufreq/cpufreq_conservative.c ret = sscanf(buf, "%u", &input); input 188 drivers/cpufreq/cpufreq_conservative.c if (ret != 1 || input < 1 || input > 100 || input 189 drivers/cpufreq/cpufreq_conservative.c input >= dbs_data->up_threshold) input 192 drivers/cpufreq/cpufreq_conservative.c cs_tuners->down_threshold = input; input 200 drivers/cpufreq/cpufreq_conservative.c unsigned int input; input 203 drivers/cpufreq/cpufreq_conservative.c ret = sscanf(buf, "%u", &input); input 207 drivers/cpufreq/cpufreq_conservative.c if (input > 1) input 208 drivers/cpufreq/cpufreq_conservative.c input = 1; input 210 drivers/cpufreq/cpufreq_conservative.c if (input == dbs_data->ignore_nice_load) /* nothing to do */ input 213 drivers/cpufreq/cpufreq_conservative.c dbs_data->ignore_nice_load = input; input 226 drivers/cpufreq/cpufreq_conservative.c unsigned int input; input 228 drivers/cpufreq/cpufreq_conservative.c ret = sscanf(buf, "%u", &input); input 233 drivers/cpufreq/cpufreq_conservative.c if (input > 100) input 234 drivers/cpufreq/cpufreq_conservative.c input = 100; input 240 drivers/cpufreq/cpufreq_conservative.c cs_tuners->freq_step = input; input 207 drivers/cpufreq/cpufreq_ondemand.c unsigned int input; input 210 drivers/cpufreq/cpufreq_ondemand.c ret = sscanf(buf, "%u", &input); input 213 drivers/cpufreq/cpufreq_ondemand.c dbs_data->io_is_busy = !!input; input 225 drivers/cpufreq/cpufreq_ondemand.c unsigned int input; input 227 drivers/cpufreq/cpufreq_ondemand.c ret = sscanf(buf, "%u", &input); input 229 drivers/cpufreq/cpufreq_ondemand.c if (ret != 1 || input > MAX_FREQUENCY_UP_THRESHOLD || input 230 drivers/cpufreq/cpufreq_ondemand.c input < MIN_FREQUENCY_UP_THRESHOLD) { input 234 drivers/cpufreq/cpufreq_ondemand.c dbs_data->up_threshold = input; input 243 drivers/cpufreq/cpufreq_ondemand.c unsigned int input; input 245 drivers/cpufreq/cpufreq_ondemand.c ret = sscanf(buf, "%u", &input); input 247 drivers/cpufreq/cpufreq_ondemand.c if (ret != 1 || input > MAX_SAMPLING_DOWN_FACTOR || input < 1) input 250 drivers/cpufreq/cpufreq_ondemand.c dbs_data->sampling_down_factor = input; input 270 drivers/cpufreq/cpufreq_ondemand.c unsigned int input; input 273 drivers/cpufreq/cpufreq_ondemand.c ret = sscanf(buf, "%u", &input); input 277 drivers/cpufreq/cpufreq_ondemand.c if (input > 1) input 278 drivers/cpufreq/cpufreq_ondemand.c input = 1; input 280 drivers/cpufreq/cpufreq_ondemand.c if (input == dbs_data->ignore_nice_load) { /* nothing to do */ input 283 drivers/cpufreq/cpufreq_ondemand.c dbs_data->ignore_nice_load = input; input 297 drivers/cpufreq/cpufreq_ondemand.c unsigned int input; input 299 drivers/cpufreq/cpufreq_ondemand.c ret = sscanf(buf, "%u", &input); input 304 drivers/cpufreq/cpufreq_ondemand.c if (input > 1000) input 305 drivers/cpufreq/cpufreq_ondemand.c input = 1000; input 307 drivers/cpufreq/cpufreq_ondemand.c od_tuners->powersave_bias = input; input 1043 drivers/cpufreq/intel_pstate.c unsigned int input; input 1046 drivers/cpufreq/intel_pstate.c ret = sscanf(buf, "%u", &input); input 1067 drivers/cpufreq/intel_pstate.c global.no_turbo = clamp_t(int, input, 0, 1); input 1131 drivers/cpufreq/intel_pstate.c unsigned int input; input 1134 drivers/cpufreq/intel_pstate.c ret = sscanf(buf, "%u", &input); input 1147 drivers/cpufreq/intel_pstate.c global.max_perf_pct = clamp_t(int, input, global.min_perf_pct, 100); input 1164 drivers/cpufreq/intel_pstate.c unsigned int input; input 1167 drivers/cpufreq/intel_pstate.c ret = sscanf(buf, "%u", &input); input 1180 drivers/cpufreq/intel_pstate.c global.min_perf_pct = clamp_t(int, input, input 1205 drivers/cpufreq/intel_pstate.c unsigned int input; input 1208 drivers/cpufreq/intel_pstate.c ret = kstrtouint(buf, 10, &input); input 1213 drivers/cpufreq/intel_pstate.c hwp_boost = !!input; input 303 drivers/cpufreq/pcc-cpufreq.c struct acpi_object_list input; input 312 drivers/cpufreq/pcc-cpufreq.c input.count = 4; input 313 drivers/cpufreq/pcc-cpufreq.c input.pointer = in_params; input 328 drivers/cpufreq/pcc-cpufreq.c status = acpi_evaluate_object(*handle, "_OSC", &input, &output); input 357 drivers/cpufreq/pcc-cpufreq.c status = acpi_evaluate_object(*handle, "_OSC", &input, &output); input 123 drivers/crypto/cavium/zip/common.h u8 *input; input 80 drivers/crypto/cavium/zip/zip_crypto.c comp_ctx->input = zip_data_buf_alloc(MAX_INPUT_BUFFER_SIZE); input 81 drivers/crypto/cavium/zip/zip_crypto.c if (!comp_ctx->input) input 88 drivers/crypto/cavium/zip/zip_crypto.c decomp_ctx->input = zip_data_buf_alloc(MAX_INPUT_BUFFER_SIZE); input 89 drivers/crypto/cavium/zip/zip_crypto.c if (!decomp_ctx->input) input 99 drivers/crypto/cavium/zip/zip_crypto.c zip_data_buf_free(decomp_ctx->input, MAX_INPUT_BUFFER_SIZE); input 105 drivers/crypto/cavium/zip/zip_crypto.c zip_data_buf_free(comp_ctx->input, MAX_INPUT_BUFFER_SIZE); input 115 drivers/crypto/cavium/zip/zip_crypto.c zip_data_buf_free(comp_ctx->input, MAX_INPUT_BUFFER_SIZE); input 118 drivers/crypto/cavium/zip/zip_crypto.c zip_data_buf_free(dec_ctx->input, MAX_INPUT_BUFFER_SIZE); input 146 drivers/crypto/cavium/zip/zip_crypto.c memcpy(zip_ops->input, src, slen); input 179 drivers/crypto/cavium/zip/zip_crypto.c memcpy(zip_ops->input, src, slen); input 183 drivers/crypto/cavium/zip/zip_crypto.c zip_ops->input[slen++] = 0; input 85 drivers/crypto/cavium/zip/zip_deflate.c zip_cmd->s.inp_ptr_addr.s.addr = __pa(zip_ops->input); input 104 drivers/crypto/cavium/zip/zip_inflate.c zip_cmd->s.inp_ptr_addr.s.addr = __pa((u8 *)zip_ops->input); input 352 drivers/crypto/ccp/psp-dev.c struct sev_user_data_pek_csr input; input 357 drivers/crypto/ccp/psp-dev.c if (copy_from_user(&input, (void __user *)argp->data, sizeof(input))) input 365 drivers/crypto/ccp/psp-dev.c if (!input.address || !input.length) input 369 drivers/crypto/ccp/psp-dev.c if (!access_ok(input.address, input.length) || input 370 drivers/crypto/ccp/psp-dev.c input.length > SEV_FW_BLOB_MAX_SIZE) { input 375 drivers/crypto/ccp/psp-dev.c blob = kmalloc(input.length, GFP_KERNEL); input 382 drivers/crypto/ccp/psp-dev.c data->len = input.length; input 394 drivers/crypto/ccp/psp-dev.c input.length = data->len; input 396 drivers/crypto/ccp/psp-dev.c if (copy_to_user((void __user *)argp->data, &input, sizeof(input))) { input 402 drivers/crypto/ccp/psp-dev.c if (copy_to_user((void __user *)input.address, blob, input.length)) input 538 drivers/crypto/ccp/psp-dev.c struct sev_user_data_pek_cert_import input; input 543 drivers/crypto/ccp/psp-dev.c if (copy_from_user(&input, (void __user *)argp->data, sizeof(input))) input 551 drivers/crypto/ccp/psp-dev.c pek_blob = psp_copy_user_blob(input.pek_cert_address, input.pek_cert_len); input 558 drivers/crypto/ccp/psp-dev.c data->pek_cert_len = input.pek_cert_len; input 561 drivers/crypto/ccp/psp-dev.c oca_blob = psp_copy_user_blob(input.oca_cert_address, input.oca_cert_len); input 568 drivers/crypto/ccp/psp-dev.c data->oca_cert_len = input.oca_cert_len; input 590 drivers/crypto/ccp/psp-dev.c struct sev_user_data_get_id2 input; input 599 drivers/crypto/ccp/psp-dev.c if (copy_from_user(&input, (void __user *)argp->data, sizeof(input))) input 603 drivers/crypto/ccp/psp-dev.c if (input.address && input 604 drivers/crypto/ccp/psp-dev.c input.length && input 605 drivers/crypto/ccp/psp-dev.c !access_ok(input.address, input.length)) input 612 drivers/crypto/ccp/psp-dev.c if (input.address && input.length) { input 613 drivers/crypto/ccp/psp-dev.c id_blob = kmalloc(input.length, GFP_KERNEL); input 620 drivers/crypto/ccp/psp-dev.c data->len = input.length; input 629 drivers/crypto/ccp/psp-dev.c input.length = data->len; input 631 drivers/crypto/ccp/psp-dev.c if (copy_to_user((void __user *)argp->data, &input, sizeof(input))) { input 637 drivers/crypto/ccp/psp-dev.c if (copy_to_user((void __user *)input.address, input 693 drivers/crypto/ccp/psp-dev.c struct sev_user_data_pdh_cert_export input; input 698 drivers/crypto/ccp/psp-dev.c if (copy_from_user(&input, (void __user *)argp->data, sizeof(input))) input 706 drivers/crypto/ccp/psp-dev.c if (!input.pdh_cert_address || input 707 drivers/crypto/ccp/psp-dev.c !input.pdh_cert_len || input 708 drivers/crypto/ccp/psp-dev.c !input.cert_chain_address) input 712 drivers/crypto/ccp/psp-dev.c if ((input.pdh_cert_len > SEV_FW_BLOB_MAX_SIZE) || input 713 drivers/crypto/ccp/psp-dev.c !access_ok(input.pdh_cert_address, input.pdh_cert_len)) { input 719 drivers/crypto/ccp/psp-dev.c if ((input.cert_chain_len > SEV_FW_BLOB_MAX_SIZE) || input 720 drivers/crypto/ccp/psp-dev.c !access_ok(input.cert_chain_address, input.cert_chain_len)) { input 725 drivers/crypto/ccp/psp-dev.c pdh_blob = kmalloc(input.pdh_cert_len, GFP_KERNEL); input 732 drivers/crypto/ccp/psp-dev.c data->pdh_cert_len = input.pdh_cert_len; input 734 drivers/crypto/ccp/psp-dev.c cert_blob = kmalloc(input.cert_chain_len, GFP_KERNEL); input 741 drivers/crypto/ccp/psp-dev.c data->cert_chain_len = input.cert_chain_len; input 754 drivers/crypto/ccp/psp-dev.c input.cert_chain_len = data->cert_chain_len; input 755 drivers/crypto/ccp/psp-dev.c input.pdh_cert_len = data->pdh_cert_len; input 757 drivers/crypto/ccp/psp-dev.c if (copy_to_user((void __user *)argp->data, &input, sizeof(input))) { input 763 drivers/crypto/ccp/psp-dev.c if (copy_to_user((void __user *)input.pdh_cert_address, input 764 drivers/crypto/ccp/psp-dev.c pdh_blob, input.pdh_cert_len)) { input 771 drivers/crypto/ccp/psp-dev.c if (copy_to_user((void __user *)input.cert_chain_address, input 772 drivers/crypto/ccp/psp-dev.c cert_blob, input.cert_chain_len)) input 788 drivers/crypto/ccp/psp-dev.c struct sev_issue_cmd input; input 797 drivers/crypto/ccp/psp-dev.c if (copy_from_user(&input, argp, sizeof(struct sev_issue_cmd))) input 800 drivers/crypto/ccp/psp-dev.c if (input.cmd > SEV_MAX) input 805 drivers/crypto/ccp/psp-dev.c switch (input.cmd) { input 808 drivers/crypto/ccp/psp-dev.c ret = sev_ioctl_do_reset(&input); input 811 drivers/crypto/ccp/psp-dev.c ret = sev_ioctl_do_platform_status(&input); input 814 drivers/crypto/ccp/psp-dev.c ret = sev_ioctl_do_pek_pdh_gen(SEV_CMD_PEK_GEN, &input); input 817 drivers/crypto/ccp/psp-dev.c ret = sev_ioctl_do_pek_pdh_gen(SEV_CMD_PDH_GEN, &input); input 820 drivers/crypto/ccp/psp-dev.c ret = sev_ioctl_do_pek_csr(&input); input 823 drivers/crypto/ccp/psp-dev.c ret = sev_ioctl_do_pek_import(&input); input 826 drivers/crypto/ccp/psp-dev.c ret = sev_ioctl_do_pdh_export(&input); input 830 drivers/crypto/ccp/psp-dev.c ret = sev_ioctl_do_get_id(&input); input 833 drivers/crypto/ccp/psp-dev.c ret = sev_ioctl_do_get_id2(&input); input 840 drivers/crypto/ccp/psp-dev.c if (copy_to_user(argp, &input, sizeof(struct sev_issue_cmd))) input 97 drivers/crypto/chelsio/chcr_algo.c unsigned char *input, int err); input 176 drivers/crypto/chelsio/chcr_algo.c void chcr_verify_tag(struct aead_request *req, u8 *input, int *err) input 184 drivers/crypto/chelsio/chcr_algo.c fw6_pld = (struct cpl_fw6_pld *)input; input 215 drivers/crypto/chelsio/chcr_algo.c unsigned char *input, input 224 drivers/crypto/chelsio/chcr_algo.c chcr_verify_tag(req, input, &err); input 1112 drivers/crypto/chelsio/chcr_algo.c unsigned char *input, int err) input 1118 drivers/crypto/chelsio/chcr_algo.c struct cpl_fw6_pld *fw6_pld = (struct cpl_fw6_pld *)input; input 1988 drivers/crypto/chelsio/chcr_algo.c unsigned char *input, input 1998 drivers/crypto/chelsio/chcr_algo.c if (input == NULL) input 2016 drivers/crypto/chelsio/chcr_algo.c memcpy(req->result, input + sizeof(struct cpl_fw6_pld), input 2020 drivers/crypto/chelsio/chcr_algo.c input + sizeof(struct cpl_fw6_pld), input 2026 drivers/crypto/chelsio/chcr_algo.c memcpy(reqctx->partial_hash, input + sizeof(struct cpl_fw6_pld), input 2047 drivers/crypto/chelsio/chcr_algo.c int chcr_handle_resp(struct crypto_async_request *req, unsigned char *input, input 2056 drivers/crypto/chelsio/chcr_algo.c err = chcr_handle_aead_resp(aead_request_cast(req), input, err); input 2061 drivers/crypto/chelsio/chcr_algo.c input, err); input 2064 drivers/crypto/chelsio/chcr_algo.c chcr_handle_ahash_resp(ahash_request_cast(req), input, err); input 31 drivers/crypto/chelsio/chcr_core.c typedef int (*chcr_handler_func)(struct chcr_dev *dev, unsigned char *input); input 32 drivers/crypto/chelsio/chcr_core.c static int cpl_fw6_pld_handler(struct chcr_dev *dev, unsigned char *input); input 156 drivers/crypto/chelsio/chcr_core.c unsigned char *input) input 164 drivers/crypto/chelsio/chcr_core.c fw6_pld = (struct cpl_fw6_pld *)input; input 174 drivers/crypto/chelsio/chcr_core.c error_status = chcr_handle_resp(req, input, error_status); input 221 drivers/crypto/chelsio/chcr_core.h int chcr_handle_resp(struct crypto_async_request *req, unsigned char *input, input 315 drivers/crypto/chelsio/chcr_crypto.h void chcr_verify_tag(struct aead_request *req, u8 *input, int *err); input 470 drivers/crypto/hisilicon/zip/zip_crypto.c dma_addr_t input; input 478 drivers/crypto/hisilicon/zip/zip_crypto.c req->req_id << 1, &input); input 481 drivers/crypto/hisilicon/zip/zip_crypto.c req->dma_src = input; input 492 drivers/crypto/hisilicon/zip/zip_crypto.c hisi_zip_fill_sqe(zip_sqe, qp->req_type, input, output, a_req->slen, input 191 drivers/crypto/padlock-aes.c static inline void rep_xcrypt_ecb(const u8 *input, u8 *output, void *key, input 195 drivers/crypto/padlock-aes.c : "+S"(input), "+D"(output) input 199 drivers/crypto/padlock-aes.c static inline u8 *rep_xcrypt_cbc(const u8 *input, u8 *output, void *key, input 203 drivers/crypto/padlock-aes.c : "+S" (input), "+D" (output), "+a" (iv) input 260 drivers/crypto/padlock-aes.c static inline void padlock_xcrypt_ecb(const u8 *input, u8 *output, void *key, input 266 drivers/crypto/padlock-aes.c ecb_crypt(input, output, key, control_word, count); input 274 drivers/crypto/padlock-aes.c : "+S"(input), "+D"(output) input 278 drivers/crypto/padlock-aes.c : "+S"(input), "+D"(output) input 282 drivers/crypto/padlock-aes.c static inline u8 *padlock_xcrypt_cbc(const u8 *input, u8 *output, void *key, input 288 drivers/crypto/padlock-aes.c return cbc_crypt(input, output, key, iv, control_word, count); input 294 drivers/crypto/padlock-aes.c : "+S" (input), "+D" (output), "+a" (iv) input 298 drivers/crypto/padlock-aes.c : "+S" (input), "+D" (output), "+a" (iv) input 143 drivers/crypto/virtio/virtio_crypto_algs.c vcrypto->input.status = cpu_to_le32(VIRTIO_CRYPTO_ERR); input 162 drivers/crypto/virtio/virtio_crypto_algs.c sg_init_one(&inhdr, &vcrypto->input, sizeof(vcrypto->input)); input 182 drivers/crypto/virtio/virtio_crypto_algs.c if (le32_to_cpu(vcrypto->input.status) != VIRTIO_CRYPTO_OK) { input 185 drivers/crypto/virtio/virtio_crypto_algs.c le32_to_cpu(vcrypto->input.status)); input 192 drivers/crypto/virtio/virtio_crypto_algs.c le64_to_cpu(vcrypto->input.session_id); input 195 drivers/crypto/virtio/virtio_crypto_algs.c le64_to_cpu(vcrypto->input.session_id); input 69 drivers/crypto/virtio/virtio_crypto_common.h struct virtio_crypto_session_input input; input 69 drivers/extcon/extcon-arizona.c struct input_dev *input; input 968 drivers/extcon/extcon-arizona.c input_report_key(info->input, input 975 drivers/extcon/extcon-arizona.c input_report_key(info->input, key, 1); input 976 drivers/extcon/extcon-arizona.c input_sync(info->input); input 992 drivers/extcon/extcon-arizona.c input_report_key(info->input, input 994 drivers/extcon/extcon-arizona.c input_sync(info->input); input 1178 drivers/extcon/extcon-arizona.c input_report_key(info->input, input 1180 drivers/extcon/extcon-arizona.c input_sync(info->input); input 1428 drivers/extcon/extcon-arizona.c info->input = devm_input_allocate_device(&pdev->dev); input 1429 drivers/extcon/extcon-arizona.c if (!info->input) { input 1435 drivers/extcon/extcon-arizona.c info->input->name = "Headset"; input 1436 drivers/extcon/extcon-arizona.c info->input->phys = "arizona/extcon"; input 1575 drivers/extcon/extcon-arizona.c input_set_capability(info->input, EV_KEY, input 1692 drivers/extcon/extcon-arizona.c ret = input_register_device(info->input); input 724 drivers/firmware/google/gsmi.c u64 input; input 725 drivers/firmware/google/gsmi.c memcpy(&input, s, 8); input 726 drivers/firmware/google/gsmi.c return local_hash_64(input, 32); input 33 drivers/gpio/gpio-aspeed.c u32 input; input 261 drivers/gpio/gpio-aspeed.c return !(props->input || props->output); input 285 drivers/gpio/gpio-aspeed.c (!props || ((props->input | props->output) & GPIO_BIT(offset))); input 292 drivers/gpio/gpio-aspeed.c return !props || (props->input & GPIO_BIT(offset)); input 696 drivers/gpio/gpio-aspeed.c const unsigned long int input = props->input; input 699 drivers/gpio/gpio-aspeed.c for_each_clear_bit(offset, &input, 32) { input 179 drivers/gpio/gpio-lpc32xx.c unsigned pin, int input) input 181 drivers/gpio/gpio-lpc32xx.c if (input) input 190 drivers/gpio/gpio-lpc32xx.c unsigned pin, int input) input 194 drivers/gpio/gpio-lpc32xx.c if (input) input 124 drivers/gpio/gpio-pca953x.c int input; input 131 drivers/gpio/gpio-pca953x.c .input = PCA953X_INPUT, input 138 drivers/gpio/gpio-pca953x.c .input = PCA957X_IN, input 405 drivers/gpio/gpio-pca953x.c u8 inreg = pca953x_recalc_addr(chip, chip->regs->input, off, input 708 drivers/gpio/gpio-pca953x.c ret = pca953x_read_regs(chip, chip->regs->input, cur_stat); input 782 drivers/gpio/gpio-pca953x.c ret = pca953x_read_regs(chip, chip->regs->input, chip->irq_stat); input 304 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c struct atpx_power_control input; input 307 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c input.size = 3; input 308 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c input.dgpu_state = state; input 309 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c params.length = input.size; input 310 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c params.pointer = &input; input 340 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c struct atpx_mux input; input 343 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c input.size = 4; input 344 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c input.mux = mux_id; input 345 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c params.length = input.size; input 346 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c params.pointer = &input; input 372 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c struct atpx_mux input; input 375 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c input.size = 4; input 376 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c input.mux = mux_id; input 377 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c params.length = input.size; input 378 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c params.pointer = &input; input 404 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c struct atpx_mux input; input 407 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c input.size = 4; input 408 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c input.mux = mux_id; input 409 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c params.length = input.size; input 410 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c params.pointer = &input; input 436 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c struct atpx_mux input; input 439 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c input.size = 4; input 440 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c input.mux = mux_id; input 441 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c params.length = input.size; input 442 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c params.pointer = &input; input 881 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c !!(amdgpu_connector->edid->input & DRM_EDID_INPUT_DIGITAL); input 1006 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c !!(amdgpu_connector->edid->input & DRM_EDID_INPUT_DIGITAL); input 1354 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c char *input = amdgpu_lockup_timeout; input 1368 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c if (strnlen(input, AMDGPU_MAX_TIMEOUT_PARAM_LENTH)) { input 1369 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c while ((timeout_setting = strsep(&input, ",")) && input 89 drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h struct mes_add_queue_input *input); input 92 drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h struct mes_remove_queue_input *input); input 95 drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h struct mes_suspend_gang_input *input); input 98 drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h struct mes_resume_gang_input *input); input 35 drivers/gpu/drm/amd/amdgpu/mes_v10_1.c struct mes_add_queue_input *input) input 41 drivers/gpu/drm/amd/amdgpu/mes_v10_1.c struct mes_remove_queue_input *input) input 47 drivers/gpu/drm/amd/amdgpu/mes_v10_1.c struct mes_suspend_gang_input *input) input 53 drivers/gpu/drm/amd/amdgpu/mes_v10_1.c struct mes_resume_gang_input *input) input 2710 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct dc_dcc_surface_param input; input 2716 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c memset(&input, 0, sizeof(input)); input 2731 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c input.format = format; input 2732 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c input.surface_size.width = plane_size->surface_size.width; input 2733 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c input.surface_size.height = plane_size->surface_size.height; input 2734 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c input.swizzle_mode = tiling_info->gfx9.swizzle; input 2737 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c input.scan = SCAN_DIRECTION_HORIZONTAL; input 2739 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c input.scan = SCAN_DIRECTION_VERTICAL; input 2741 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if (!dc->cap_funcs.get_dcc_compression_cap(dc, &input, &output)) input 305 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c struct _vcs_dpi_display_pipe_params_st *input) input 307 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->src.is_hsplit = false; input 309 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->src.is_hsplit = true; input 311 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->src.is_hsplit = true; input 318 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->src.dcc = pipe->plane_state->dcc.enable ? 1 : 0; input 328 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->src.dcc = pipe->plane_res.dpp->ctx->dc->res_pool->hubbub->funcs-> input 331 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->src.dcc_rate = 1; input 332 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->src.meta_pitch = pipe->plane_state->dcc.meta_pitch; input 333 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->src.source_scan = dm_horz; input 334 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->src.sw_mode = pipe->plane_state->tiling_info.gfx9.swizzle; input 336 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->src.viewport_width = pipe->plane_res.scl_data.viewport.width; input 337 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->src.viewport_height = pipe->plane_res.scl_data.viewport.height; input 338 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->src.data_pitch = pipe->plane_res.scl_data.viewport.width; input 339 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->src.data_pitch_c = pipe->plane_res.scl_data.viewport.width; input 340 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->src.cur0_src_width = 128; /* TODO: Cursor calcs, not curently stored */ input 341 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->src.cur0_bpp = 32; input 343 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->src.macro_tile_size = swizzle_mode_to_macro_tile_size(pipe->plane_state->tiling_info.gfx9.swizzle); input 348 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->src.source_scan = dm_horz; input 352 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->src.source_scan = dm_vert; input 363 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->src.source_format = dm_420_8; input 364 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->src.viewport_width_c = input->src.viewport_width / 2; input 365 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->src.viewport_height_c = input->src.viewport_height / 2; input 369 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->src.source_format = dm_420_10; input 370 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->src.viewport_width_c = input->src.viewport_width / 2; input 371 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->src.viewport_height_c = input->src.viewport_height / 2; input 376 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->src.source_format = dm_444_64; input 377 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->src.viewport_width_c = input->src.viewport_width; input 378 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->src.viewport_height_c = input->src.viewport_height; input 381 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->src.source_format = dm_444_32; input 382 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->src.viewport_width_c = input->src.viewport_width; input 383 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->src.viewport_height_c = input->src.viewport_height; input 387 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->scale_taps.htaps = pipe->plane_res.scl_data.taps.h_taps; input 388 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->scale_ratio_depth.hscl_ratio = pipe->plane_res.scl_data.ratios.horz.value/4294967296.0; input 389 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->scale_ratio_depth.vscl_ratio = pipe->plane_res.scl_data.ratios.vert.value/4294967296.0; input 390 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->scale_ratio_depth.vinit = pipe->plane_res.scl_data.inits.v.value/4294967296.0; input 391 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c if (input->scale_ratio_depth.vinit < 1.0) input 392 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->scale_ratio_depth.vinit = 1; input 393 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->scale_taps.vtaps = pipe->plane_res.scl_data.taps.v_taps; input 394 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->scale_taps.vtaps_c = pipe->plane_res.scl_data.taps.v_taps_c; input 395 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->scale_taps.htaps_c = pipe->plane_res.scl_data.taps.h_taps_c; input 396 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->scale_ratio_depth.hscl_ratio_c = pipe->plane_res.scl_data.ratios.horz_c.value/4294967296.0; input 397 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->scale_ratio_depth.vscl_ratio_c = pipe->plane_res.scl_data.ratios.vert_c.value/4294967296.0; input 398 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->scale_ratio_depth.vinit_c = pipe->plane_res.scl_data.inits.v_c.value/4294967296.0; input 399 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c if (input->scale_ratio_depth.vinit_c < 1.0) input 400 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->scale_ratio_depth.vinit_c = 1; input 403 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->scale_ratio_depth.lb_depth = 30; break; input 405 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->scale_ratio_depth.lb_depth = 36; break; input 407 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->scale_ratio_depth.lb_depth = 24; break; input 411 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->dest.vactive = pipe->stream->timing.v_addressable + pipe->stream->timing.v_border_top input 414 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->dest.recout_width = pipe->plane_res.scl_data.recout.width; input 415 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->dest.recout_height = pipe->plane_res.scl_data.recout.height; input 417 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->dest.full_recout_width = pipe->plane_res.scl_data.recout.width; input 418 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->dest.full_recout_height = pipe->plane_res.scl_data.recout.height; input 420 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->dest.htotal = pipe->stream->timing.h_total; input 421 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->dest.hblank_start = input->dest.htotal - pipe->stream->timing.h_front_porch; input 422 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->dest.hblank_end = input->dest.hblank_start input 427 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->dest.vtotal = pipe->stream->timing.v_total; input 428 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->dest.vblank_start = input->dest.vtotal - pipe->stream->timing.v_front_porch; input 429 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->dest.vblank_end = input->dest.vblank_start input 433 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->dest.pixel_rate_mhz = pipe->stream->timing.pix_clk_100hz/10000.0; input 434 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->dest.vstartup_start = pipe->pipe_dlg_param.vstartup_start; input 435 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->dest.vupdate_offset = pipe->pipe_dlg_param.vupdate_offset; input 436 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->dest.vupdate_offset = pipe->pipe_dlg_param.vupdate_offset; input 437 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input->dest.vupdate_width = pipe->pipe_dlg_param.vupdate_width; input 453 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c struct _vcs_dpi_display_e2e_pipe_params_st input = { { { 0 } } }; input 479 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c pipe_ctx_to_e2e_pipe_params(pipe, &input.pipe); input 480 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input.clks_cfg.dcfclk_mhz = v->dcfclk; input 481 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input.clks_cfg.dispclk_mhz = v->dispclk; input 482 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input.clks_cfg.dppclk_mhz = v->dppclk; input 483 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input.clks_cfg.refclk_mhz = dc->res_pool->ref_clocks.dchub_ref_clock_inKhz / 1000.0; input 484 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input.clks_cfg.socclk_mhz = v->socclk; input 485 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input.clks_cfg.voltage = v->voltage_level; input 487 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input.dout.output_format = (v->output_format[in_idx] == dcn_bw_420) ? dm_420 : dm_444; input 488 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input.dout.output_type = (v->output[in_idx] == dcn_bw_hdmi) ? dm_hdmi : dm_dp; input 494 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c dml1_rq_dlg_get_rq_params(dml, &rq_param, input.pipe.src); input 502 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input, input 205 drivers/gpu/drm/amd/display/dc/dc.h const struct dc_dcc_surface_param *input, input 856 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c const struct dc_dcc_surface_param *input, input 873 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c if (!hubbub1->base.funcs->dcc_support_pixel_format(input->format, &bpe)) input 876 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c if (!hubbub1->base.funcs->dcc_support_swizzle(input->swizzle_mode, bpe, input 880 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c hubbub1_det_request_size(input->surface_size.height, input->surface_size.width, input 885 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c } else if (input->scan == SCAN_DIRECTION_HORIZONTAL) { input 892 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c } else if (input->scan == SCAN_DIRECTION_VERTICAL) { input 1119 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c const struct dc_dcc_surface_param *input, input 1124 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c input, input 216 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.c const struct dc_dcc_surface_param *input, input 231 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.c if (!hubbub->funcs->dcc_support_pixel_format(input->format, input 235 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.c if (!hubbub->funcs->dcc_support_swizzle(input->swizzle_mode, bpe, input 239 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.c hubbub2_det_request_size(input->surface_size.height, input->surface_size.width, input 244 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.c } else if (input->scan == SCAN_DIRECTION_HORIZONTAL) { input 251 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.c } else if (input->scan == SCAN_DIRECTION_VERTICAL) { input 273 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.c if ((bpe == 2) && (input->swizzle_mode == DC_SW_64KB_R_X)) input 103 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.h const struct dc_dcc_surface_param *input, input 107 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.h const struct dc_dcc_surface_param *input, input 2962 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c const struct dc_dcc_surface_param *input, input 2967 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c input, input 69 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.h const struct dc_dcc_surface_param *input, input 121 drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h const struct dc_dcc_surface_param *input, input 275 drivers/gpu/drm/amd/include/kgd_pp_interface.h int (*set_power_profile_mode)(void *handle, long *input, uint32_t size); input 276 drivers/gpu/drm/amd/include/kgd_pp_interface.h int (*odn_edit_dpm_table)(void *handle, uint32_t type, long *input, uint32_t size); input 283 drivers/gpu/drm/amd/include/kgd_pp_interface.h const struct amd_pp_display_configuration *input); input 888 drivers/gpu/drm/amd/powerplay/amd_powerplay.c static int pp_set_power_profile_mode(void *handle, long *input, uint32_t size) input 907 drivers/gpu/drm/amd/powerplay/amd_powerplay.c ret = hwmgr->hwmgr_func->set_power_profile_mode(hwmgr, input, size); input 912 drivers/gpu/drm/amd/powerplay/amd_powerplay.c static int pp_odn_edit_dpm_table(void *handle, uint32_t type, long *input, uint32_t size) input 924 drivers/gpu/drm/amd/powerplay/amd_powerplay.c return hwmgr->hwmgr_func->odn_edit_dpm_table(hwmgr, type, input, size); input 1422 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c long *input, input 1426 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c uint32_t profile_mode = input[size]; input 193 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c static int smu10_set_clock_limit(struct pp_hwmgr *hwmgr, const void *input) input 264 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c static int smu10_set_power_state_tasks(struct pp_hwmgr *hwmgr, const void *input) input 266 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c return smu10_set_clock_limit(hwmgr, input); input 1286 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c static int smu10_set_power_profile_mode(struct pp_hwmgr *hwmgr, long *input, uint32_t size) input 1291 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c if (input[size] > PP_SMC_POWER_PROFILE_COMPUTE) { input 1292 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c pr_err("Invalid power profile mode %ld\n", input[size]); input 1295 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c if (hwmgr->power_profile_mode == input[size]) input 1300 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c conv_power_profile_to_pplib_workload(input[size]); input 1310 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c hwmgr->power_profile_mode = input[size]; input 3592 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c static int smu7_find_dpm_states_clocks_in_dpm_table(struct pp_hwmgr *hwmgr, const void *input) input 3595 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c (const struct phm_set_power_state_input *)input; input 3672 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c struct pp_hwmgr *hwmgr, const void *input) input 3675 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c (const struct phm_set_power_state_input *)input; input 3755 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c struct pp_hwmgr *hwmgr, const void *input) input 3849 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c struct pp_hwmgr *hwmgr, const void *input) input 3853 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c (const struct phm_set_power_state_input *)input; input 3911 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c struct pp_hwmgr *hwmgr, const void *input) input 3914 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c (const struct phm_set_power_state_input *)input; input 3961 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c static int smu7_set_power_state_tasks(struct pp_hwmgr *hwmgr, const void *input) input 3966 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp_result = smu7_find_dpm_states_clocks_in_dpm_table(hwmgr, input); input 3974 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_request_link_speed_change_before_state_change(hwmgr, input); input 3984 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp_result = smu7_populate_and_upload_sclk_mclk_dpm_levels(hwmgr, input); input 3994 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp_result = smu7_generate_dpm_level_enable_mask(hwmgr, input); input 4022 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c smu7_notify_link_speed_change_after_state_change(hwmgr, input); input 4850 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c long *input, uint32_t size) input 4861 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c PP_ASSERT_WITH_CODE(input, "NULL user input for clock and voltage", input 4893 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (i + 3 > size || input[i] >= podn_dpm_table_in_backend->num_of_pl) { input 4897 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c input_level = input[i]; input 4898 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c input_clk = input[i+1] * 100; input 4899 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c input_vol = input[i+2]; input 5001 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c static int smu7_set_power_profile_mode(struct pp_hwmgr *hwmgr, long *input, uint32_t size) input 5007 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (input == NULL) input 5010 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c mode = input[size]; input 5024 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp.bupdate_sclk = input[0]; input 5025 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp.sclk_up_hyst = input[1]; input 5026 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp.sclk_down_hyst = input[2]; input 5027 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp.sclk_activity = input[3]; input 5028 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp.bupdate_mclk = input[4]; input 5029 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp.mclk_up_hyst = input[5]; input 5030 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp.mclk_down_hyst = input[6]; input 5031 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c tmp.mclk_activity = input[7]; input 846 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c static int smu8_update_low_mem_pstate(struct pp_hwmgr *hwmgr, const void *input) input 851 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c const struct phm_set_power_state_input *states = (struct phm_set_power_state_input *)input; input 868 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c static int smu8_set_power_state_tasks(struct pp_hwmgr *hwmgr, const void *input) input 878 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c smu8_update_low_mem_pstate(hwmgr, input); input 3283 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c static int vega10_find_dpm_states_clocks_in_dpm_table(struct pp_hwmgr *hwmgr, const void *input) input 3287 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c (const struct phm_set_power_state_input *)input; input 3329 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c struct pp_hwmgr *hwmgr, const void *input) input 3580 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c struct pp_hwmgr *hwmgr, const void *input) input 3584 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c (const struct phm_set_power_state_input *)input; input 3664 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c const void *input) input 3670 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c tmp_result = vega10_find_dpm_states_clocks_in_dpm_table(hwmgr, input); input 3675 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c tmp_result = vega10_populate_and_upload_sclk_mclk_dpm_levels(hwmgr, input); input 3680 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c tmp_result = vega10_generate_dpm_level_enable_mask(hwmgr, input); input 4945 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c static int vega10_set_power_profile_mode(struct pp_hwmgr *hwmgr, long *input, uint32_t size) input 4952 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c uint32_t power_profile_mode = input[size]; input 4969 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->custom_profile_mode[0] = busy_set_point = input[0]; input 4970 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->custom_profile_mode[1] = FPS = input[1]; input 4971 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->custom_profile_mode[2] = use_rlc_busy = input[2]; input 4972 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c data->custom_profile_mode[3] = min_active_level = input[3]; input 5157 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c long *input, uint32_t size) input 5168 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c PP_ASSERT_WITH_CODE(input, "NULL user input for clock and voltage", input 5201 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (i + 3 > size || input[i] >= podn_vdd_dep_table->count) { input 5205 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c input_level = input[i]; input 5206 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c input_clk = input[i+1] * 100; input 5207 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c input_vol = input[i+2]; input 440 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.h int vega10_update_vce_dpm(struct pp_hwmgr *hwmgr, const void *input); input 2907 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c long *input, uint32_t size) input 2919 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c PP_ASSERT_WITH_CODE(input, "NULL user input for clock and voltage", input 2937 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c input_index = input[i]; input 2938 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c input_clk = input[i + 1]; input 2980 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c input_index = input[i]; input 2981 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c input_clk = input[i + 1]; input 3024 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c input_index = input[i]; input 3025 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c input_clk = input[i + 1]; input 3026 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c input_vol = input[i + 2]; input 3987 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c static int vega20_set_power_profile_mode(struct pp_hwmgr *hwmgr, long *input, uint32_t size) input 3991 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c uint32_t power_profile_mode = input[size]; input 4020 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c switch (input[0]) { input 4022 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c activity_monitor.Gfx_FPS = input[1]; input 4023 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c activity_monitor.Gfx_UseRlcBusy = input[2]; input 4024 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c activity_monitor.Gfx_MinActiveFreqType = input[3]; input 4025 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c activity_monitor.Gfx_MinActiveFreq = input[4]; input 4026 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c activity_monitor.Gfx_BoosterFreqType = input[5]; input 4027 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c activity_monitor.Gfx_BoosterFreq = input[6]; input 4028 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c activity_monitor.Gfx_PD_Data_limit_c = input[7]; input 4029 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c activity_monitor.Gfx_PD_Data_error_coeff = input[8]; input 4030 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c activity_monitor.Gfx_PD_Data_error_rate_coeff = input[9]; input 4033 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c activity_monitor.Soc_FPS = input[1]; input 4034 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c activity_monitor.Soc_UseRlcBusy = input[2]; input 4035 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c activity_monitor.Soc_MinActiveFreqType = input[3]; input 4036 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c activity_monitor.Soc_MinActiveFreq = input[4]; input 4037 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c activity_monitor.Soc_BoosterFreqType = input[5]; input 4038 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c activity_monitor.Soc_BoosterFreq = input[6]; input 4039 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c activity_monitor.Soc_PD_Data_limit_c = input[7]; input 4040 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c activity_monitor.Soc_PD_Data_error_coeff = input[8]; input 4041 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c activity_monitor.Soc_PD_Data_error_rate_coeff = input[9]; input 4044 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c activity_monitor.Mem_FPS = input[1]; input 4045 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c activity_monitor.Mem_UseRlcBusy = input[2]; input 4046 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c activity_monitor.Mem_MinActiveFreqType = input[3]; input 4047 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c activity_monitor.Mem_MinActiveFreq = input[4]; input 4048 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c activity_monitor.Mem_BoosterFreqType = input[5]; input 4049 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c activity_monitor.Mem_BoosterFreq = input[6]; input 4050 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c activity_monitor.Mem_PD_Data_limit_c = input[7]; input 4051 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c activity_monitor.Mem_PD_Data_error_coeff = input[8]; input 4052 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c activity_monitor.Mem_PD_Data_error_rate_coeff = input[9]; input 4055 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c activity_monitor.Fclk_FPS = input[1]; input 4056 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c activity_monitor.Fclk_UseRlcBusy = input[2]; input 4057 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c activity_monitor.Fclk_MinActiveFreqType = input[3]; input 4058 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c activity_monitor.Fclk_MinActiveFreq = input[4]; input 4059 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c activity_monitor.Fclk_BoosterFreqType = input[5]; input 4060 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c activity_monitor.Fclk_BoosterFreq = input[6]; input 4061 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c activity_monitor.Fclk_PD_Data_limit_c = input[7]; input 4062 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c activity_monitor.Fclk_PD_Data_error_coeff = input[8]; input 4063 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c activity_monitor.Fclk_PD_Data_error_rate_coeff = input[9]; input 417 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h long *input, uint32_t size); input 429 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h int (*set_power_profile_mode)(struct smu_context *smu, long *input, uint32_t size); input 646 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h #define smu_od_edit_dpm_table(smu, type, input, size) \ input 647 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h ((smu)->ppt_funcs->od_edit_dpm_table ? (smu)->ppt_funcs->od_edit_dpm_table((smu), (type), (input), (size)) : 0) input 339 drivers/gpu/drm/amd/powerplay/inc/hwmgr.h int (*set_power_profile_mode)(struct pp_hwmgr *hwmgr, long *input, uint32_t size); input 342 drivers/gpu/drm/amd/powerplay/inc/hwmgr.h long *input, uint32_t size); input 1133 drivers/gpu/drm/amd/powerplay/navi10_ppt.c static int navi10_set_power_profile_mode(struct smu_context *smu, long *input, uint32_t size) input 1138 drivers/gpu/drm/amd/powerplay/navi10_ppt.c smu->power_profile_mode = input[size]; input 1157 drivers/gpu/drm/amd/powerplay/navi10_ppt.c switch (input[0]) { input 1159 drivers/gpu/drm/amd/powerplay/navi10_ppt.c activity_monitor.Gfx_FPS = input[1]; input 1160 drivers/gpu/drm/amd/powerplay/navi10_ppt.c activity_monitor.Gfx_MinFreqStep = input[2]; input 1161 drivers/gpu/drm/amd/powerplay/navi10_ppt.c activity_monitor.Gfx_MinActiveFreqType = input[3]; input 1162 drivers/gpu/drm/amd/powerplay/navi10_ppt.c activity_monitor.Gfx_MinActiveFreq = input[4]; input 1163 drivers/gpu/drm/amd/powerplay/navi10_ppt.c activity_monitor.Gfx_BoosterFreqType = input[5]; input 1164 drivers/gpu/drm/amd/powerplay/navi10_ppt.c activity_monitor.Gfx_BoosterFreq = input[6]; input 1165 drivers/gpu/drm/amd/powerplay/navi10_ppt.c activity_monitor.Gfx_PD_Data_limit_c = input[7]; input 1166 drivers/gpu/drm/amd/powerplay/navi10_ppt.c activity_monitor.Gfx_PD_Data_error_coeff = input[8]; input 1167 drivers/gpu/drm/amd/powerplay/navi10_ppt.c activity_monitor.Gfx_PD_Data_error_rate_coeff = input[9]; input 1170 drivers/gpu/drm/amd/powerplay/navi10_ppt.c activity_monitor.Soc_FPS = input[1]; input 1171 drivers/gpu/drm/amd/powerplay/navi10_ppt.c activity_monitor.Soc_MinFreqStep = input[2]; input 1172 drivers/gpu/drm/amd/powerplay/navi10_ppt.c activity_monitor.Soc_MinActiveFreqType = input[3]; input 1173 drivers/gpu/drm/amd/powerplay/navi10_ppt.c activity_monitor.Soc_MinActiveFreq = input[4]; input 1174 drivers/gpu/drm/amd/powerplay/navi10_ppt.c activity_monitor.Soc_BoosterFreqType = input[5]; input 1175 drivers/gpu/drm/amd/powerplay/navi10_ppt.c activity_monitor.Soc_BoosterFreq = input[6]; input 1176 drivers/gpu/drm/amd/powerplay/navi10_ppt.c activity_monitor.Soc_PD_Data_limit_c = input[7]; input 1177 drivers/gpu/drm/amd/powerplay/navi10_ppt.c activity_monitor.Soc_PD_Data_error_coeff = input[8]; input 1178 drivers/gpu/drm/amd/powerplay/navi10_ppt.c activity_monitor.Soc_PD_Data_error_rate_coeff = input[9]; input 1181 drivers/gpu/drm/amd/powerplay/navi10_ppt.c activity_monitor.Mem_FPS = input[1]; input 1182 drivers/gpu/drm/amd/powerplay/navi10_ppt.c activity_monitor.Mem_MinFreqStep = input[2]; input 1183 drivers/gpu/drm/amd/powerplay/navi10_ppt.c activity_monitor.Mem_MinActiveFreqType = input[3]; input 1184 drivers/gpu/drm/amd/powerplay/navi10_ppt.c activity_monitor.Mem_MinActiveFreq = input[4]; input 1185 drivers/gpu/drm/amd/powerplay/navi10_ppt.c activity_monitor.Mem_BoosterFreqType = input[5]; input 1186 drivers/gpu/drm/amd/powerplay/navi10_ppt.c activity_monitor.Mem_BoosterFreq = input[6]; input 1187 drivers/gpu/drm/amd/powerplay/navi10_ppt.c activity_monitor.Mem_PD_Data_limit_c = input[7]; input 1188 drivers/gpu/drm/amd/powerplay/navi10_ppt.c activity_monitor.Mem_PD_Data_error_coeff = input[8]; input 1189 drivers/gpu/drm/amd/powerplay/navi10_ppt.c activity_monitor.Mem_PD_Data_error_rate_coeff = input[9]; input 583 drivers/gpu/drm/amd/powerplay/smu_v11_0.c struct atom_get_smu_clock_info_parameters_v3_1 input = {0}; input 586 drivers/gpu/drm/amd/powerplay/smu_v11_0.c input.clk_id = SMU11_SYSPLL0_SOCCLK_ID; input 587 drivers/gpu/drm/amd/powerplay/smu_v11_0.c input.command = GET_SMU_CLOCK_INFO_V3_1_GET_CLOCK_FREQ; input 592 drivers/gpu/drm/amd/powerplay/smu_v11_0.c (uint32_t *)&input); input 596 drivers/gpu/drm/amd/powerplay/smu_v11_0.c output = (struct atom_get_smu_clock_info_output_parameters_v3_1 *)&input; input 599 drivers/gpu/drm/amd/powerplay/smu_v11_0.c memset(&input, 0, sizeof(input)); input 600 drivers/gpu/drm/amd/powerplay/smu_v11_0.c input.clk_id = SMU11_SYSPLL0_DCEFCLK_ID; input 601 drivers/gpu/drm/amd/powerplay/smu_v11_0.c input.command = GET_SMU_CLOCK_INFO_V3_1_GET_CLOCK_FREQ; input 606 drivers/gpu/drm/amd/powerplay/smu_v11_0.c (uint32_t *)&input); input 610 drivers/gpu/drm/amd/powerplay/smu_v11_0.c output = (struct atom_get_smu_clock_info_output_parameters_v3_1 *)&input; input 613 drivers/gpu/drm/amd/powerplay/smu_v11_0.c memset(&input, 0, sizeof(input)); input 614 drivers/gpu/drm/amd/powerplay/smu_v11_0.c input.clk_id = SMU11_SYSPLL0_ECLK_ID; input 615 drivers/gpu/drm/amd/powerplay/smu_v11_0.c input.command = GET_SMU_CLOCK_INFO_V3_1_GET_CLOCK_FREQ; input 620 drivers/gpu/drm/amd/powerplay/smu_v11_0.c (uint32_t *)&input); input 624 drivers/gpu/drm/amd/powerplay/smu_v11_0.c output = (struct atom_get_smu_clock_info_output_parameters_v3_1 *)&input; input 627 drivers/gpu/drm/amd/powerplay/smu_v11_0.c memset(&input, 0, sizeof(input)); input 628 drivers/gpu/drm/amd/powerplay/smu_v11_0.c input.clk_id = SMU11_SYSPLL0_VCLK_ID; input 629 drivers/gpu/drm/amd/powerplay/smu_v11_0.c input.command = GET_SMU_CLOCK_INFO_V3_1_GET_CLOCK_FREQ; input 634 drivers/gpu/drm/amd/powerplay/smu_v11_0.c (uint32_t *)&input); input 638 drivers/gpu/drm/amd/powerplay/smu_v11_0.c output = (struct atom_get_smu_clock_info_output_parameters_v3_1 *)&input; input 641 drivers/gpu/drm/amd/powerplay/smu_v11_0.c memset(&input, 0, sizeof(input)); input 642 drivers/gpu/drm/amd/powerplay/smu_v11_0.c input.clk_id = SMU11_SYSPLL0_DCLK_ID; input 643 drivers/gpu/drm/amd/powerplay/smu_v11_0.c input.command = GET_SMU_CLOCK_INFO_V3_1_GET_CLOCK_FREQ; input 648 drivers/gpu/drm/amd/powerplay/smu_v11_0.c (uint32_t *)&input); input 652 drivers/gpu/drm/amd/powerplay/smu_v11_0.c output = (struct atom_get_smu_clock_info_output_parameters_v3_1 *)&input; input 657 drivers/gpu/drm/amd/powerplay/smu_v11_0.c memset(&input, 0, sizeof(input)); input 658 drivers/gpu/drm/amd/powerplay/smu_v11_0.c input.clk_id = SMU11_SYSPLL1_0_FCLK_ID; input 659 drivers/gpu/drm/amd/powerplay/smu_v11_0.c input.syspll_id = SMU11_SYSPLL1_2_ID; input 660 drivers/gpu/drm/amd/powerplay/smu_v11_0.c input.command = GET_SMU_CLOCK_INFO_V3_1_GET_CLOCK_FREQ; input 665 drivers/gpu/drm/amd/powerplay/smu_v11_0.c (uint32_t *)&input); input 669 drivers/gpu/drm/amd/powerplay/smu_v11_0.c output = (struct atom_get_smu_clock_info_output_parameters_v3_1 *)&input; input 1896 drivers/gpu/drm/amd/powerplay/vega20_ppt.c static int vega20_set_power_profile_mode(struct smu_context *smu, long *input, uint32_t size) input 1901 drivers/gpu/drm/amd/powerplay/vega20_ppt.c smu->power_profile_mode = input[size]; input 1919 drivers/gpu/drm/amd/powerplay/vega20_ppt.c switch (input[0]) { input 1921 drivers/gpu/drm/amd/powerplay/vega20_ppt.c activity_monitor.Gfx_FPS = input[1]; input 1922 drivers/gpu/drm/amd/powerplay/vega20_ppt.c activity_monitor.Gfx_UseRlcBusy = input[2]; input 1923 drivers/gpu/drm/amd/powerplay/vega20_ppt.c activity_monitor.Gfx_MinActiveFreqType = input[3]; input 1924 drivers/gpu/drm/amd/powerplay/vega20_ppt.c activity_monitor.Gfx_MinActiveFreq = input[4]; input 1925 drivers/gpu/drm/amd/powerplay/vega20_ppt.c activity_monitor.Gfx_BoosterFreqType = input[5]; input 1926 drivers/gpu/drm/amd/powerplay/vega20_ppt.c activity_monitor.Gfx_BoosterFreq = input[6]; input 1927 drivers/gpu/drm/amd/powerplay/vega20_ppt.c activity_monitor.Gfx_PD_Data_limit_c = input[7]; input 1928 drivers/gpu/drm/amd/powerplay/vega20_ppt.c activity_monitor.Gfx_PD_Data_error_coeff = input[8]; input 1929 drivers/gpu/drm/amd/powerplay/vega20_ppt.c activity_monitor.Gfx_PD_Data_error_rate_coeff = input[9]; input 1932 drivers/gpu/drm/amd/powerplay/vega20_ppt.c activity_monitor.Soc_FPS = input[1]; input 1933 drivers/gpu/drm/amd/powerplay/vega20_ppt.c activity_monitor.Soc_UseRlcBusy = input[2]; input 1934 drivers/gpu/drm/amd/powerplay/vega20_ppt.c activity_monitor.Soc_MinActiveFreqType = input[3]; input 1935 drivers/gpu/drm/amd/powerplay/vega20_ppt.c activity_monitor.Soc_MinActiveFreq = input[4]; input 1936 drivers/gpu/drm/amd/powerplay/vega20_ppt.c activity_monitor.Soc_BoosterFreqType = input[5]; input 1937 drivers/gpu/drm/amd/powerplay/vega20_ppt.c activity_monitor.Soc_BoosterFreq = input[6]; input 1938 drivers/gpu/drm/amd/powerplay/vega20_ppt.c activity_monitor.Soc_PD_Data_limit_c = input[7]; input 1939 drivers/gpu/drm/amd/powerplay/vega20_ppt.c activity_monitor.Soc_PD_Data_error_coeff = input[8]; input 1940 drivers/gpu/drm/amd/powerplay/vega20_ppt.c activity_monitor.Soc_PD_Data_error_rate_coeff = input[9]; input 1943 drivers/gpu/drm/amd/powerplay/vega20_ppt.c activity_monitor.Mem_FPS = input[1]; input 1944 drivers/gpu/drm/amd/powerplay/vega20_ppt.c activity_monitor.Mem_UseRlcBusy = input[2]; input 1945 drivers/gpu/drm/amd/powerplay/vega20_ppt.c activity_monitor.Mem_MinActiveFreqType = input[3]; input 1946 drivers/gpu/drm/amd/powerplay/vega20_ppt.c activity_monitor.Mem_MinActiveFreq = input[4]; input 1947 drivers/gpu/drm/amd/powerplay/vega20_ppt.c activity_monitor.Mem_BoosterFreqType = input[5]; input 1948 drivers/gpu/drm/amd/powerplay/vega20_ppt.c activity_monitor.Mem_BoosterFreq = input[6]; input 1949 drivers/gpu/drm/amd/powerplay/vega20_ppt.c activity_monitor.Mem_PD_Data_limit_c = input[7]; input 1950 drivers/gpu/drm/amd/powerplay/vega20_ppt.c activity_monitor.Mem_PD_Data_error_coeff = input[8]; input 1951 drivers/gpu/drm/amd/powerplay/vega20_ppt.c activity_monitor.Mem_PD_Data_error_rate_coeff = input[9]; input 1954 drivers/gpu/drm/amd/powerplay/vega20_ppt.c activity_monitor.Fclk_FPS = input[1]; input 1955 drivers/gpu/drm/amd/powerplay/vega20_ppt.c activity_monitor.Fclk_UseRlcBusy = input[2]; input 1956 drivers/gpu/drm/amd/powerplay/vega20_ppt.c activity_monitor.Fclk_MinActiveFreqType = input[3]; input 1957 drivers/gpu/drm/amd/powerplay/vega20_ppt.c activity_monitor.Fclk_MinActiveFreq = input[4]; input 1958 drivers/gpu/drm/amd/powerplay/vega20_ppt.c activity_monitor.Fclk_BoosterFreqType = input[5]; input 1959 drivers/gpu/drm/amd/powerplay/vega20_ppt.c activity_monitor.Fclk_BoosterFreq = input[6]; input 1960 drivers/gpu/drm/amd/powerplay/vega20_ppt.c activity_monitor.Fclk_PD_Data_limit_c = input[7]; input 1961 drivers/gpu/drm/amd/powerplay/vega20_ppt.c activity_monitor.Fclk_PD_Data_error_coeff = input[8]; input 1962 drivers/gpu/drm/amd/powerplay/vega20_ppt.c activity_monitor.Fclk_PD_Data_error_rate_coeff = input[9]; input 2614 drivers/gpu/drm/amd/powerplay/vega20_ppt.c long *input, uint32_t size) input 2631 drivers/gpu/drm/amd/powerplay/vega20_ppt.c if (!input) { input 2650 drivers/gpu/drm/amd/powerplay/vega20_ppt.c input_index = input[i]; input 2651 drivers/gpu/drm/amd/powerplay/vega20_ppt.c input_clk = input[i + 1]; input 2699 drivers/gpu/drm/amd/powerplay/vega20_ppt.c input_index = input[i]; input 2700 drivers/gpu/drm/amd/powerplay/vega20_ppt.c input_clk = input[i + 1]; input 2743 drivers/gpu/drm/amd/powerplay/vega20_ppt.c input_index = input[i]; input 2744 drivers/gpu/drm/amd/powerplay/vega20_ppt.c input_clk = input[i + 1]; input 2745 drivers/gpu/drm/amd/powerplay/vega20_ppt.c input_vol = input[i + 2]; input 159 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c struct komeda_component_output *input = &st->inputs[idx]; input 163 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c return input->component->hw_id + input->output_port; input 270 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c struct komeda_component *input; input 274 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c input = komeda_pipeline_get_component(pipe, id); input 275 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c if (!input) { input 282 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c input->supported_outputs |= BIT(c->id); input 347 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h struct komeda_component_output input; input 185 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c struct komeda_component_output *input, input 198 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c memcmp(&state->inputs[idx], input, sizeof(*input))) { input 199 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c memcpy(&state->inputs[idx], input, sizeof(*input)); input 208 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c struct komeda_component_output *input, input 215 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c input->component->name, c->name, idx); input 221 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c input->component->name, c->name, idx); input 370 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c komeda_component_set_output(&dflow->input, &layer->base, 0); input 409 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c komeda_component_add_input(&st->base, &dflow->input, 0); input 410 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c komeda_component_set_output(&dflow->input, &wb_layer->base, 0); input 453 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c if (has_bit(dflow->input.component->id, KOMEDA_PIPELINE_COMPIZS)) input 500 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c scaler = komeda_component_get_avail_scaler(dflow->input.component, input 535 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c komeda_component_add_input(&st->base, &dflow->input, 0); input 536 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c komeda_component_set_output(&dflow->input, &scaler->base, 0); input 586 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c komeda_component_add_input(&st->base, &dflow->input, 0); input 587 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c komeda_component_set_output(&l_output->input, &splitter->base, 0); input 588 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c komeda_component_set_output(&r_output->input, &splitter->base, 1); input 632 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c komeda_component_add_input(c_st, &left_input->input, 0); input 633 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c komeda_component_add_input(c_st, &right_input->input, 1); input 634 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c komeda_component_set_output(&output->input, &merger->base, 0); input 677 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c if (komeda_component_check_input(c_st, &dflow->input, idx)) input 696 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c komeda_component_add_input(c_st, &dflow->input, idx); input 697 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c komeda_component_set_output(&dflow->input, &compiz->base, 0); input 719 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c komeda_component_set_output(&dflow->input, &compiz->base, 0); input 759 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c komeda_component_add_input(&st->base, &dflow->input, 0); input 760 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c komeda_component_set_output(&dflow->input, &improc->base, 0); input 781 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c komeda_component_add_input(&st->base, &dflow->input, 0); input 782 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c komeda_component_set_output(&dflow->input, &ctrlr->base, 0); input 827 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c return has_bit(dflow->input.component->id, avail_inputs); input 1067 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c if (r_dflow.input.component == l_dflow.input.component) input 25 drivers/gpu/drm/arm/display/komeda/komeda_wb_connector.c dflow->input.component = &wb_layer->base.pipeline->compiz->base; input 456 drivers/gpu/drm/bridge/cdns-dsi.c struct cdns_dsi_input input; input 468 drivers/gpu/drm/bridge/cdns-dsi.c static inline struct cdns_dsi *input_to_dsi(struct cdns_dsi_input *input) input 470 drivers/gpu/drm/bridge/cdns-dsi.c return container_of(input, struct cdns_dsi, input); input 650 drivers/gpu/drm/bridge/cdns-dsi.c struct cdns_dsi_input *input = bridge_to_cdns_dsi_input(bridge); input 651 drivers/gpu/drm/bridge/cdns-dsi.c struct cdns_dsi *dsi = input_to_dsi(input); input 667 drivers/gpu/drm/bridge/cdns-dsi.c struct cdns_dsi_input *input = bridge_to_cdns_dsi_input(bridge); input 668 drivers/gpu/drm/bridge/cdns-dsi.c struct cdns_dsi *dsi = input_to_dsi(input); input 698 drivers/gpu/drm/bridge/cdns-dsi.c struct cdns_dsi_input *input = bridge_to_cdns_dsi_input(bridge); input 699 drivers/gpu/drm/bridge/cdns-dsi.c struct cdns_dsi *dsi = input_to_dsi(input); input 707 drivers/gpu/drm/bridge/cdns-dsi.c val = readl(dsi->regs + MCTL_MAIN_EN) & ~IF_EN(input->id); input 780 drivers/gpu/drm/bridge/cdns-dsi.c struct cdns_dsi_input *input = bridge_to_cdns_dsi_input(bridge); input 781 drivers/gpu/drm/bridge/cdns-dsi.c struct cdns_dsi *dsi = input_to_dsi(input); input 908 drivers/gpu/drm/bridge/cdns-dsi.c tmp |= IF_VID_MODE | IF_VID_SELECT(input->id) | VID_EN; input 912 drivers/gpu/drm/bridge/cdns-dsi.c tmp = readl(dsi->regs + MCTL_MAIN_EN) | IF_EN(input->id); input 928 drivers/gpu/drm/bridge/cdns-dsi.c struct cdns_dsi_input *input = &dsi->input; input 984 drivers/gpu/drm/bridge/cdns-dsi.c drm_bridge_add(&input->bridge); input 994 drivers/gpu/drm/bridge/cdns-dsi.c struct cdns_dsi_input *input = &dsi->input; input 996 drivers/gpu/drm/bridge/cdns-dsi.c drm_bridge_remove(&input->bridge); input 1171 drivers/gpu/drm/bridge/cdns-dsi.c struct cdns_dsi_input *input; input 1182 drivers/gpu/drm/bridge/cdns-dsi.c input = &dsi->input; input 1234 drivers/gpu/drm/bridge/cdns-dsi.c input->id = CDNS_DPI_INPUT; input 1235 drivers/gpu/drm/bridge/cdns-dsi.c input->bridge.funcs = &cdns_dsi_bridge_funcs; input 1236 drivers/gpu/drm/bridge/cdns-dsi.c input->bridge.of_node = pdev->dev.of_node; input 1245 drivers/gpu/drm/drm_dp_mst_topology.c if (!port->input) { input 1657 drivers/gpu/drm/drm_dp_mst_topology.c port->input = port_msg->input_port; input 1676 drivers/gpu/drm/drm_dp_mst_topology.c if (!port->input) { input 1685 drivers/gpu/drm/drm_dp_mst_topology.c if (old_pdt != port->pdt && !port->input) { input 1693 drivers/gpu/drm/drm_dp_mst_topology.c if (created && !port->input) { input 1750 drivers/gpu/drm/drm_dp_mst_topology.c if (old_pdt != port->pdt && !port->input) { input 1855 drivers/gpu/drm/drm_dp_mst_topology.c if (port->input) input 3621 drivers/gpu/drm/drm_dp_mst_topology.c seq_printf(m, "%sport: %d: input: %d: pdt: %d, ddps: %d ldps: %d, sdp: %d/%d, %p, conn: %p\n", prefix, port->port_num, port->input, port->pdt, port->ddps, port->ldps, port->num_sdp_streams, port->num_sdp_stream_sinks, port, port->connector); input 2033 drivers/gpu/drm/drm_edid.c return ((edid->input & DRM_EDID_INPUT_DIGITAL) != 0); input 4659 drivers/gpu/drm/drm_edid.c if (!(edid->input & DRM_EDID_INPUT_DIGITAL)) input 4672 drivers/gpu/drm/drm_edid.c edid->input & DRM_EDID_DIGITAL_DFP_1_X) { input 4682 drivers/gpu/drm/drm_edid.c switch (edid->input & DRM_EDID_DIGITAL_DEPTH_MASK) { input 141 drivers/gpu/drm/gma500/cdv_intel_hdmi.c if (edid->input & DRM_EDID_INPUT_DIGITAL) { input 1364 drivers/gpu/drm/gma500/psb_intel_sdvo.c if (edid->input & DRM_EDID_INPUT_DIGITAL) { input 1428 drivers/gpu/drm/gma500/psb_intel_sdvo.c if (edid->input & DRM_EDID_INPUT_DIGITAL) input 1472 drivers/gpu/drm/gma500/psb_intel_sdvo.c bool monitor_is_digital = !!(edid->input & DRM_EDID_INPUT_DIGITAL); input 1658 drivers/gpu/drm/gma500/psb_intel_sdvo.c if (edid != NULL && edid->input & DRM_EDID_INPUT_DIGITAL) input 135 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c unsigned int input = 1; input 141 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c input = 0; input 147 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c control_value |= HIBMC_FIELD(HIBMC_PW_MODE_CTL_OSC_INPUT, input); input 114 drivers/gpu/drm/i915/display/intel_color.c static u64 *ctm_mult_by_limited(u64 *result, const u64 *input) input 119 drivers/gpu/drm/i915/display/intel_color.c u64 user_coeff = input[i]; input 207 drivers/gpu/drm/i915/display/intel_color.c const u64 *input; input 212 drivers/gpu/drm/i915/display/intel_color.c input = ctm_mult_by_limited(temp, ctm->matrix); input 214 drivers/gpu/drm/i915/display/intel_color.c input = ctm->matrix; input 221 drivers/gpu/drm/i915/display/intel_color.c u64 abs_coeff = ((1ULL << 63) - 1) & input[i]; input 232 drivers/gpu/drm/i915/display/intel_color.c if (CTM_COEFF_NEGATIVE(input[i])) input 616 drivers/gpu/drm/i915/display/intel_crt.c bool is_digital = edid->input & DRM_EDID_INPUT_DIGITAL; input 2527 drivers/gpu/drm/i915/display/intel_hdmi.c if (edid && edid->input & DRM_EDID_INPUT_DIGITAL) { input 1365 drivers/gpu/drm/i915/display/intel_sdvo.c #define UPDATE_PROPERTY(input, NAME) \ input 1367 drivers/gpu/drm/i915/display/intel_sdvo.c val = input; \ input 2001 drivers/gpu/drm/i915/display/intel_sdvo.c if (edid->input & DRM_EDID_INPUT_DIGITAL) { input 2019 drivers/gpu/drm/i915/display/intel_sdvo.c bool monitor_is_digital = !!(edid->input & DRM_EDID_INPUT_DIGITAL); input 1772 drivers/gpu/drm/i915/display/intel_tv.c const struct input_res *input = &input_res_table[i]; input 1775 drivers/gpu/drm/i915/display/intel_tv.c if (input->w > 1024 && input 1781 drivers/gpu/drm/i915/display/intel_tv.c if (IS_GEN(dev_priv, 3) && input->w > 1024 && input 1782 drivers/gpu/drm/i915/display/intel_tv.c input->h > intel_tv_mode_vdisplay(tv_mode)) input 1801 drivers/gpu/drm/i915/display/intel_tv.c intel_tv_scale_mode_horiz(mode, input->w, 0, 0); input 1802 drivers/gpu/drm/i915/display/intel_tv.c intel_tv_scale_mode_vert(mode, input->h, 0, 0); input 1688 drivers/gpu/drm/meson/meson_registers.h #define VIU_OSD_BLEND_BLEN2_PREMULT_EN(input) ((input & 0x3) << 27) input 23 drivers/gpu/drm/meson/meson_vpp.h struct drm_rect *input); input 608 drivers/gpu/drm/nouveau/nouveau_connector.c if (nv_connector->edid->input & DRM_EDID_INPUT_DIGITAL) input 42 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c u8 pstate, u8 domain, u32 input) input 55 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c input = max(boostE.min, input); input 56 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c input = min(boostE.max, input); input 64 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c input = input * boostS.percent / 100; input 65 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c input = max(boostS.min, input); input 66 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c input = min(boostS.max, input); input 72 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c return input; input 257 drivers/gpu/drm/panel/panel-ilitek-ili9322.c enum ili9322_input input; input 277 drivers/gpu/drm/panel/panel-ilitek-ili9322.c enum ili9322_input input; input 437 drivers/gpu/drm/panel/panel-ilitek-ili9322.c reg = (ili->input << 4); input 450 drivers/gpu/drm/panel/panel-ilitek-ili9322.c ili9322_inputs[ili->input], input 664 drivers/gpu/drm/panel/panel-ilitek-ili9322.c switch (ili->input) { input 884 drivers/gpu/drm/panel/panel-ilitek-ili9322.c if (ili->conf->input == ILI9322_INPUT_UNKNOWN) { input 891 drivers/gpu/drm/panel/panel-ilitek-ili9322.c ili->input = (val >> 4) & 0x0f; input 892 drivers/gpu/drm/panel/panel-ilitek-ili9322.c if (ili->input >= ILI9322_INPUT_UNKNOWN) input 893 drivers/gpu/drm/panel/panel-ilitek-ili9322.c ili->input = ILI9322_INPUT_UNKNOWN; input 895 drivers/gpu/drm/panel/panel-ilitek-ili9322.c ili->input = ili->conf->input; input 921 drivers/gpu/drm/panel/panel-ilitek-ili9322.c .input = ILI9322_INPUT_ITU_R_BT656_640X320_YCBCR, input 275 drivers/gpu/drm/radeon/radeon_atpx_handler.c struct atpx_power_control input; input 278 drivers/gpu/drm/radeon/radeon_atpx_handler.c input.size = 3; input 279 drivers/gpu/drm/radeon/radeon_atpx_handler.c input.dgpu_state = state; input 280 drivers/gpu/drm/radeon/radeon_atpx_handler.c params.length = input.size; input 281 drivers/gpu/drm/radeon/radeon_atpx_handler.c params.pointer = &input; input 311 drivers/gpu/drm/radeon/radeon_atpx_handler.c struct atpx_mux input; input 314 drivers/gpu/drm/radeon/radeon_atpx_handler.c input.size = 4; input 315 drivers/gpu/drm/radeon/radeon_atpx_handler.c input.mux = mux_id; input 316 drivers/gpu/drm/radeon/radeon_atpx_handler.c params.length = input.size; input 317 drivers/gpu/drm/radeon/radeon_atpx_handler.c params.pointer = &input; input 343 drivers/gpu/drm/radeon/radeon_atpx_handler.c struct atpx_mux input; input 346 drivers/gpu/drm/radeon/radeon_atpx_handler.c input.size = 4; input 347 drivers/gpu/drm/radeon/radeon_atpx_handler.c input.mux = mux_id; input 348 drivers/gpu/drm/radeon/radeon_atpx_handler.c params.length = input.size; input 349 drivers/gpu/drm/radeon/radeon_atpx_handler.c params.pointer = &input; input 375 drivers/gpu/drm/radeon/radeon_atpx_handler.c struct atpx_mux input; input 378 drivers/gpu/drm/radeon/radeon_atpx_handler.c input.size = 4; input 379 drivers/gpu/drm/radeon/radeon_atpx_handler.c input.mux = mux_id; input 380 drivers/gpu/drm/radeon/radeon_atpx_handler.c params.length = input.size; input 381 drivers/gpu/drm/radeon/radeon_atpx_handler.c params.pointer = &input; input 407 drivers/gpu/drm/radeon/radeon_atpx_handler.c struct atpx_mux input; input 410 drivers/gpu/drm/radeon/radeon_atpx_handler.c input.size = 4; input 411 drivers/gpu/drm/radeon/radeon_atpx_handler.c input.mux = mux_id; input 412 drivers/gpu/drm/radeon/radeon_atpx_handler.c params.length = input.size; input 413 drivers/gpu/drm/radeon/radeon_atpx_handler.c params.pointer = &input; input 1053 drivers/gpu/drm/radeon/radeon_connectors.c !!(radeon_connector->edid->input & DRM_EDID_INPUT_DIGITAL); input 1306 drivers/gpu/drm/radeon/radeon_connectors.c !!(radeon_connector->edid->input & DRM_EDID_INPUT_DIGITAL); input 84 drivers/gpu/drm/rcar-du/rcar_du_crtc.c unsigned long input, input 132 drivers/gpu/drm/rcar-du/rcar_du_crtc.c unsigned long fout = input * (n + 1) / (m + 1); input 910 drivers/gpu/drm/tegra/sor.c u64 input, output, watermark, num; input 919 drivers/gpu/drm/tegra/sor.c input = pclk * config->bits_per_pixel; input 921 drivers/gpu/drm/tegra/sor.c if (input >= output) input 925 drivers/gpu/drm/tegra/sor.c params.ratio = div64_u64(input * f, output); input 513 drivers/gpu/drm/tiny/gm12u320.c .input = 0x08, /* Analog input */ input 77 drivers/hid/hid-a4tech.c struct input_dev *input; input 82 drivers/hid/hid-a4tech.c input = field->hidinput->input; input 91 drivers/hid/hid-a4tech.c input_event(input, EV_REL, value ? REL_HWHEEL : input 93 drivers/hid/hid-a4tech.c input_event(input, EV_REL, value ? REL_HWHEEL_HI_RES : input 105 drivers/hid/hid-a4tech.c input_event(input, usage->type, REL_HWHEEL, value); input 106 drivers/hid/hid-a4tech.c input_event(input, usage->type, REL_HWHEEL_HI_RES, value * 120); input 96 drivers/hid/hid-alps.c struct input_dev *input; input 169 drivers/hid/hid-alps.c u8 *input; input 172 drivers/hid/hid-alps.c input = kzalloc(T4_FEATURE_REPORT_LEN, GFP_KERNEL); input 173 drivers/hid/hid-alps.c if (!input) input 176 drivers/hid/hid-alps.c input[0] = T4_FEATURE_REPORT_ID; input 178 drivers/hid/hid-alps.c input[1] = T4_CMD_REGISTER_READ; input 179 drivers/hid/hid-alps.c input[8] = 0x00; input 181 drivers/hid/hid-alps.c input[1] = T4_CMD_REGISTER_WRITE; input 182 drivers/hid/hid-alps.c input[8] = write_val; input 184 drivers/hid/hid-alps.c put_unaligned_le32(address, input + 2); input 185 drivers/hid/hid-alps.c input[6] = 1; input 186 drivers/hid/hid-alps.c input[7] = 0; input 189 drivers/hid/hid-alps.c check_sum = t4_calc_check_sum(input, 1, 8); input 190 drivers/hid/hid-alps.c input[9] = (u8)check_sum; input 191 drivers/hid/hid-alps.c input[10] = (u8)(check_sum >> 8); input 192 drivers/hid/hid-alps.c input[11] = 0; input 194 drivers/hid/hid-alps.c ret = hid_hw_raw_request(hdev, T4_FEATURE_REPORT_ID, input, input 247 drivers/hid/hid-alps.c kfree(input); input 256 drivers/hid/hid-alps.c u8 *input; input 259 drivers/hid/hid-alps.c input = kzalloc(U1_FEATURE_REPORT_LEN, GFP_KERNEL); input 260 drivers/hid/hid-alps.c if (!input) input 263 drivers/hid/hid-alps.c input[0] = U1_FEATURE_REPORT_ID; input 265 drivers/hid/hid-alps.c input[1] = U1_CMD_REGISTER_READ; input 266 drivers/hid/hid-alps.c input[6] = 0x00; input 268 drivers/hid/hid-alps.c input[1] = U1_CMD_REGISTER_WRITE; input 269 drivers/hid/hid-alps.c input[6] = write_val; input 272 drivers/hid/hid-alps.c put_unaligned_le32(address, input + 2); input 277 drivers/hid/hid-alps.c check_sum += input[i]; input 279 drivers/hid/hid-alps.c input[7] = check_sum; input 280 drivers/hid/hid-alps.c ret = hid_hw_raw_request(hdev, U1_FEATURE_REPORT_ID, input, input 314 drivers/hid/hid-alps.c kfree(input); input 337 drivers/hid/hid-alps.c input_mt_slot(hdata->input, i); input 339 drivers/hid/hid-alps.c input_mt_report_slot_state(hdata->input, input 345 drivers/hid/hid-alps.c input_report_abs(hdata->input, ABS_MT_POSITION_X, x); input 346 drivers/hid/hid-alps.c input_report_abs(hdata->input, ABS_MT_POSITION_Y, y); input 347 drivers/hid/hid-alps.c input_report_abs(hdata->input, ABS_MT_PRESSURE, z); input 349 drivers/hid/hid-alps.c input_mt_sync_frame(hdata->input); input 351 drivers/hid/hid-alps.c input_report_key(hdata->input, BTN_LEFT, p_report->button); input 353 drivers/hid/hid-alps.c input_sync(hdata->input); input 378 drivers/hid/hid-alps.c input_mt_slot(hdata->input, i); input 381 drivers/hid/hid-alps.c input_mt_report_slot_state(hdata->input, input 383 drivers/hid/hid-alps.c input_report_abs(hdata->input, input 385 drivers/hid/hid-alps.c input_report_abs(hdata->input, input 387 drivers/hid/hid-alps.c input_report_abs(hdata->input, input 390 drivers/hid/hid-alps.c input_mt_report_slot_state(hdata->input, input 395 drivers/hid/hid-alps.c input_mt_sync_frame(hdata->input); input 397 drivers/hid/hid-alps.c input_report_key(hdata->input, BTN_LEFT, input 399 drivers/hid/hid-alps.c input_report_key(hdata->input, BTN_RIGHT, input 401 drivers/hid/hid-alps.c input_report_key(hdata->input, BTN_MIDDLE, input 404 drivers/hid/hid-alps.c input_sync(hdata->input); input 676 drivers/hid/hid-alps.c struct input_dev *input = hi->input, *input2; input 680 drivers/hid/hid-alps.c data->input = input; input 703 drivers/hid/hid-alps.c __set_bit(EV_ABS, input->evbit); input 704 drivers/hid/hid-alps.c input_set_abs_params(input, ABS_MT_POSITION_X, input 706 drivers/hid/hid-alps.c input_set_abs_params(input, ABS_MT_POSITION_Y, input 713 drivers/hid/hid-alps.c input_abs_set_res(input, ABS_MT_POSITION_X, res_x); input 714 drivers/hid/hid-alps.c input_abs_set_res(input, ABS_MT_POSITION_Y, res_y); input 717 drivers/hid/hid-alps.c input_set_abs_params(input, ABS_MT_PRESSURE, 0, 64, 0, 0); input 719 drivers/hid/hid-alps.c input_mt_init_slots(input, data->max_fingers, INPUT_MT_POINTER); input 721 drivers/hid/hid-alps.c __set_bit(EV_KEY, input->evbit); input 724 drivers/hid/hid-alps.c __set_bit(INPUT_PROP_BUTTONPAD, input->propbit); input 727 drivers/hid/hid-alps.c __set_bit(BTN_LEFT + i, input->keybit); input 738 drivers/hid/hid-alps.c input2->phys = input->phys; input 741 drivers/hid/hid-alps.c input2->id.vendor = input->id.vendor; input 742 drivers/hid/hid-alps.c input2->id.product = input->id.product; input 743 drivers/hid/hid-alps.c input2->id.version = input->id.version; input 744 drivers/hid/hid-alps.c input2->dev.parent = input->dev.parent; input 178 drivers/hid/hid-apple.c static int hidinput_apple_event(struct hid_device *hid, struct input_dev *input, input 188 drivers/hid/hid-apple.c input_event(input, usage->type, usage->code, value); input 204 drivers/hid/hid-apple.c if (test_bit(trans->from, input->key)) input 206 drivers/hid/hid-apple.c else if (test_bit(trans->to, input->key)) input 229 drivers/hid/hid-apple.c input_event(input, usage->type, code, value); input 235 drivers/hid/hid-apple.c test_bit(LED_NUML, input->led))) { input 247 drivers/hid/hid-apple.c input_event(input, usage->type, trans->to, input 259 drivers/hid/hid-apple.c input_event(input, usage->type, trans->to, value); input 268 drivers/hid/hid-apple.c input_event(input, usage->type, trans->to, value); input 287 drivers/hid/hid-apple.c input_event(field->hidinput->input, usage->type, usage->code, input 293 drivers/hid/hid-apple.c hidinput_apple_event(hdev, field->hidinput->input, input 318 drivers/hid/hid-apple.c static void apple_setup_input(struct input_dev *input) input 322 drivers/hid/hid-apple.c set_bit(KEY_NUMLOCK, input->keybit); input 326 drivers/hid/hid-apple.c set_bit(trans->to, input->keybit); input 329 drivers/hid/hid-apple.c set_bit(trans->to, input->keybit); input 332 drivers/hid/hid-apple.c set_bit(trans->to, input->keybit); input 335 drivers/hid/hid-apple.c set_bit(trans->to, input->keybit); input 346 drivers/hid/hid-apple.c set_bit(EV_REP, hi->input->evbit); input 348 drivers/hid/hid-apple.c apple_setup_input(hi->input); input 254 drivers/hid/hid-appleir.c struct input_dev *input_dev = hidinput->input; input 110 drivers/hid/hid-asus.c struct input_dev *input; input 170 drivers/hid/hid-asus.c struct input_dev *input = drvdat->input; input 176 drivers/hid/hid-asus.c input_report_abs(input, ABS_MT_POSITION_X, x); input 177 drivers/hid/hid-asus.c input_report_abs(input, ABS_MT_POSITION_Y, y); input 190 drivers/hid/hid-asus.c input_report_abs(input, ABS_MT_TOUCH_MAJOR, touch_major); input 191 drivers/hid/hid-asus.c input_report_abs(input, ABS_MT_PRESSURE, pressure); input 197 drivers/hid/hid-asus.c struct input_mt *mt = drvdat->input->mt; input 222 drivers/hid/hid-asus.c input_report_abs(drvdat->input, ABS_TOOL_WIDTH, input 242 drivers/hid/hid-asus.c input_mt_slot(drvdat->input, i); input 243 drivers/hid/hid-asus.c input_mt_report_slot_state(drvdat->input, toolType, down); input 251 drivers/hid/hid-asus.c input_report_key(drvdat->input, BTN_LEFT, data[1] & BTN_LEFT_MASK); input 254 drivers/hid/hid-asus.c input_mt_sync_frame(drvdat->input); input 255 drivers/hid/hid-asus.c input_sync(drvdat->input); input 610 drivers/hid/hid-asus.c struct input_dev *input = hi->input; input 621 drivers/hid/hid-asus.c input_set_abs_params(input, ABS_MT_POSITION_X, 0, input 623 drivers/hid/hid-asus.c input_set_abs_params(input, ABS_MT_POSITION_Y, 0, input 625 drivers/hid/hid-asus.c input_abs_set_res(input, ABS_MT_POSITION_X, drvdata->tp->res_x); input 626 drivers/hid/hid-asus.c input_abs_set_res(input, ABS_MT_POSITION_Y, drvdata->tp->res_y); input 629 drivers/hid/hid-asus.c input_set_abs_params(input, ABS_TOOL_WIDTH, 0, input 631 drivers/hid/hid-asus.c input_set_abs_params(input, ABS_MT_TOUCH_MAJOR, 0, input 633 drivers/hid/hid-asus.c input_set_abs_params(input, ABS_MT_PRESSURE, 0, input 637 drivers/hid/hid-asus.c __set_bit(BTN_LEFT, input->keybit); input 638 drivers/hid/hid-asus.c __set_bit(INPUT_PROP_BUTTONPAD, input->propbit); input 640 drivers/hid/hid-asus.c ret = input_mt_init_slots(input, drvdata->tp->max_contacts, input 649 drivers/hid/hid-asus.c drvdata->input = input; input 697 drivers/hid/hid-asus.c set_bit(EV_REP, hi->input->evbit); input 744 drivers/hid/hid-asus.c set_bit(EV_REP, hi->input->evbit); input 911 drivers/hid/hid-asus.c if (!drvdata->input) { input 918 drivers/hid/hid-asus.c drvdata->input->name = "Asus TouchPad"; input 920 drivers/hid/hid-asus.c drvdata->input->name = "Asus Keyboard"; input 78 drivers/hid/hid-axff.c dev = hidinput->input; input 63 drivers/hid/hid-betopff.c struct input_dev *dev = hidinput->input; input 351 drivers/hid/hid-bigbenff.c set_bit(FF_RUMBLE, hidinput->input->ffbit); input 355 drivers/hid/hid-bigbenff.c error = input_ff_create_memless(hidinput->input, NULL, input 33 drivers/hid/hid-chicony.c set_bit(EV_REP, hi->input->evbit); input 81 drivers/hid/hid-cmedia.c struct input_dev *input_dev = hidinput->input; input 2564 drivers/hid/hid-core.c if (hidinput->input->key[i]) input 623 drivers/hid/hid-corsair.c struct hid_input *input, input 635 drivers/hid/hid-corsair.c hid_map_usage_clear(input, usage, bit, max, EV_KEY, input 643 drivers/hid/hid-corsair.c hid_map_usage_clear(input, usage, bit, max, EV_KEY, input 648 drivers/hid/hid-corsair.c hid_map_usage_clear(input, usage, bit, max, EV_KEY, input 653 drivers/hid/hid-corsair.c hid_map_usage_clear(input, usage, bit, max, EV_KEY, input 658 drivers/hid/hid-corsair.c hid_map_usage_clear(input, usage, bit, max, EV_KEY, input 663 drivers/hid/hid-corsair.c hid_map_usage_clear(input, usage, bit, max, EV_KEY, input 73 drivers/hid/hid-cougar.c struct input_dev *input; input 235 drivers/hid/hid-cougar.c if (hidinput->registered && hidinput->input != NULL) { input 236 drivers/hid/hid-cougar.c cougar->shared->input = hidinput->input; input 271 drivers/hid/hid-cougar.c if (!shared->enabled || !shared->input) input 278 drivers/hid/hid-cougar.c input_event(shared->input, EV_KEY, input 280 drivers/hid/hid-cougar.c input_sync(shared->input); input 188 drivers/hid/hid-creative-sb0540.c struct input_dev *input_dev = hidinput->input; input 87 drivers/hid/hid-cypress.c struct input_dev *input = field->hidinput->input; input 89 drivers/hid/hid-cypress.c input_event(input, usage->type, REL_HWHEEL, value); input 89 drivers/hid/hid-dr.c dev = hidinput->input; input 41 drivers/hid/hid-elan.c struct input_dev *input; input 155 drivers/hid/hid-elan.c struct input_dev *input; input 165 drivers/hid/hid-elan.c input = devm_input_allocate_device(&hdev->dev); input 166 drivers/hid/hid-elan.c if (!input) input 169 drivers/hid/hid-elan.c input->name = "Elan Touchpad"; input 170 drivers/hid/hid-elan.c input->phys = hdev->phys; input 171 drivers/hid/hid-elan.c input->uniq = hdev->uniq; input 172 drivers/hid/hid-elan.c input->id.bustype = hdev->bus; input 173 drivers/hid/hid-elan.c input->id.vendor = hdev->vendor; input 174 drivers/hid/hid-elan.c input->id.product = hdev->product; input 175 drivers/hid/hid-elan.c input->id.version = hdev->version; input 176 drivers/hid/hid-elan.c input->dev.parent = &hdev->dev; input 178 drivers/hid/hid-elan.c input_set_abs_params(input, ABS_MT_POSITION_X, 0, drvdata->max_x, input 180 drivers/hid/hid-elan.c input_set_abs_params(input, ABS_MT_POSITION_Y, 0, drvdata->max_y, input 182 drivers/hid/hid-elan.c input_set_abs_params(input, ABS_MT_PRESSURE, 0, ELAN_MAX_PRESSURE, input 185 drivers/hid/hid-elan.c __set_bit(BTN_LEFT, input->keybit); input 186 drivers/hid/hid-elan.c __set_bit(INPUT_PROP_BUTTONPAD, input->propbit); input 188 drivers/hid/hid-elan.c ret = input_mt_init_slots(input, ELAN_MAX_FINGERS, INPUT_MT_POINTER); input 194 drivers/hid/hid-elan.c input_abs_set_res(input, ABS_X, drvdata->res_x); input 195 drivers/hid/hid-elan.c input_abs_set_res(input, ABS_Y, drvdata->res_y); input 197 drivers/hid/hid-elan.c ret = input_register_device(input); input 201 drivers/hid/hid-elan.c input_free_device(input); input 205 drivers/hid/hid-elan.c drvdata->input = input; input 213 drivers/hid/hid-elan.c struct input_dev *input = drvdata->input; input 218 drivers/hid/hid-elan.c input_mt_slot(input, slot_num); input 219 drivers/hid/hid-elan.c input_mt_report_slot_state(input, MT_TOOL_FINGER, active); input 226 drivers/hid/hid-elan.c input_report_abs(input, ABS_MT_POSITION_X, x); input 227 drivers/hid/hid-elan.c input_report_abs(input, ABS_MT_POSITION_Y, y); input 228 drivers/hid/hid-elan.c input_report_abs(input, ABS_MT_PRESSURE, p); input 235 drivers/hid/hid-elan.c struct input_dev *input = drvdata->input; input 279 drivers/hid/hid-elan.c input_report_key(input, BTN_LEFT, data[2] & 0x01); input 312 drivers/hid/hid-elan.c input_report_key(input, BTN_LEFT, prev_report[2] & 0x01); input 315 drivers/hid/hid-elan.c input_mt_sync_frame(input); input 316 drivers/hid/hid-elan.c input_sync(input); input 321 drivers/hid/hid-elan.c struct input_dev *input = drvdata->input; input 354 drivers/hid/hid-elan.c input_report_key(input, BTN_LEFT, data[1] & 0x01); input 355 drivers/hid/hid-elan.c input_mt_sync_frame(input); input 356 drivers/hid/hid-elan.c input_sync(input); input 495 drivers/hid/hid-elan.c if (!drvdata->input) { input 42 drivers/hid/hid-elo.c struct input_dev *input = hidinput->input; input 49 drivers/hid/hid-elo.c clear_bit(BTN_LEFT, input->keybit); input 50 drivers/hid/hid-elo.c set_bit(BTN_TOUCH, input->keybit); input 51 drivers/hid/hid-elo.c set_bit(ABS_PRESSURE, input->absbit); input 52 drivers/hid/hid-elo.c input_set_abs_params(input, ABS_PRESSURE, 0, 256, 0, 0); input 57 drivers/hid/hid-elo.c static void elo_process_data(struct input_dev *input, const u8 *data, int size) input 61 drivers/hid/hid-elo.c input_report_abs(input, ABS_X, (data[3] << 8) | data[2]); input 62 drivers/hid/hid-elo.c input_report_abs(input, ABS_Y, (data[5] << 8) | data[4]); input 67 drivers/hid/hid-elo.c input_report_abs(input, ABS_PRESSURE, press); input 70 drivers/hid/hid-elo.c input_report_key(input, BTN_TOUCH, 1); input 71 drivers/hid/hid-elo.c input_sync(input); input 75 drivers/hid/hid-elo.c input_report_key(input, BTN_TOUCH, 0); input 77 drivers/hid/hid-elo.c input_sync(input); input 93 drivers/hid/hid-elo.c elo_process_data(hidinput->input, data, size); input 61 drivers/hid/hid-emsff.c dev = hidinput->input; input 56 drivers/hid/hid-ezkey.c struct input_dev *input = field->hidinput->input; input 57 drivers/hid/hid-ezkey.c input_event(input, usage->type, REL_WHEEL, -value); input 79 drivers/hid/hid-gaff.c dev = hidinput->input; input 94 drivers/hid/hid-gfrm.c input_enable_softrepeat(hidinput->input, 400, 100); input 36 drivers/hid/hid-google-hammer.c struct input_dev *input; input 119 drivers/hid/hid-google-hammer.c input_report_switch(cbas_ec.input, input 122 drivers/hid/hid-google-hammer.c input_sync(cbas_ec.input); input 154 drivers/hid/hid-google-hammer.c input_report_switch(cbas_ec.input, SW_TABLET_MODE, 1); input 155 drivers/hid/hid-google-hammer.c input_sync(cbas_ec.input); input 166 drivers/hid/hid-google-hammer.c static void cbas_ec_set_input(struct input_dev *input) input 170 drivers/hid/hid-google-hammer.c cbas_ec.input = input; input 177 drivers/hid/hid-google-hammer.c struct input_dev *input; input 188 drivers/hid/hid-google-hammer.c input = devm_input_allocate_device(&pdev->dev); input 189 drivers/hid/hid-google-hammer.c if (!input) input 192 drivers/hid/hid-google-hammer.c input->name = "Whiskers Tablet Mode Switch"; input 193 drivers/hid/hid-google-hammer.c input->id.bustype = BUS_HOST; input 195 drivers/hid/hid-google-hammer.c input_set_capability(input, EV_SW, SW_TABLET_MODE); input 197 drivers/hid/hid-google-hammer.c error = input_register_device(input); input 211 drivers/hid/hid-google-hammer.c input_report_switch(input, SW_TABLET_MODE, !cbas_ec.base_present); input 213 drivers/hid/hid-google-hammer.c cbas_ec_set_input(input); input 235 drivers/hid/hid-google-hammer.c if (cbas_ec.input) { input 387 drivers/hid/hid-google-hammer.c if (cbas_ec.input && cbas_ec.base_present) { input 388 drivers/hid/hid-google-hammer.c input_report_switch(cbas_ec.input, input 390 drivers/hid/hid-google-hammer.c input_sync(cbas_ec.input); input 31 drivers/hid/hid-gyration.c set_bit(EV_REP, hi->input->evbit); input 63 drivers/hid/hid-gyration.c struct input_dev *input = field->hidinput->input; input 64 drivers/hid/hid-gyration.c input_event(input, usage->type, usage->code, 1); input 65 drivers/hid/hid-gyration.c input_sync(input); input 66 drivers/hid/hid-gyration.c input_event(input, usage->type, usage->code, 0); input 67 drivers/hid/hid-gyration.c input_sync(input); input 136 drivers/hid/hid-holtek-kbd.c return boot_hid_input->input->event(boot_hid_input->input, type, code, input 152 drivers/hid/hid-holtek-kbd.c hidinput->input->event = holtek_kbd_input_event; input 138 drivers/hid/hid-holtekff.c dev = hidinput->input; input 182 drivers/hid/hid-icade.c input_event(field->hidinput->input, usage->type, input 201 drivers/hid/hid-icade.c set_bit(trans->to, hi->input->keybit); input 216 drivers/hid/hid-icade.c set_bit(usage->type, hi->input->evbit); input 562 drivers/hid/hid-input.c struct input_dev *input = hidinput->input; input 563 drivers/hid/hid-input.c struct hid_device *device = input_get_drvdata(input); input 596 drivers/hid/hid-input.c set_bit(EV_REP, input->evbit); input 716 drivers/hid/hid-input.c set_bit(REL_WHEEL, input->relbit); input 772 drivers/hid/hid-input.c __set_bit(INPUT_PROP_POINTER, input->propbit); input 774 drivers/hid/hid-input.c __set_bit(INPUT_PROP_DIRECT, input->propbit); input 781 drivers/hid/hid-input.c if (!test_bit(BTN_TOUCH, input->keybit)) { input 783 drivers/hid/hid-input.c set_bit(EV_KEY, input->evbit); input 784 drivers/hid/hid-input.c set_bit(BTN_TOUCH, input->keybit); input 842 drivers/hid/hid-input.c bit = input->mscbit; input 1029 drivers/hid/hid-input.c set_bit(REL_HWHEEL, input->relbit); input 1067 drivers/hid/hid-input.c set_bit(EV_REP, input->evbit); input 1086 drivers/hid/hid-input.c set_bit(EV_REP, input->evbit); input 1099 drivers/hid/hid-input.c set_bit(EV_REP, input->evbit); input 1145 drivers/hid/hid-input.c set_bit(usage->type, input->evbit); input 1187 drivers/hid/hid-input.c input_set_abs_params(input, usage->code, a, b, (b - a) >> 8, (b - a) >> 4); input 1188 drivers/hid/hid-input.c else input_set_abs_params(input, usage->code, a, b, 0, 0); input 1190 drivers/hid/hid-input.c input_abs_set_res(input, usage->code, input 1194 drivers/hid/hid-input.c if (usage->code == ABS_MT_POSITION_X && input->hint_events_per_packet == 0) input 1195 drivers/hid/hid-input.c input_set_events_per_packet(input, 60); input 1202 drivers/hid/hid-input.c input_set_abs_params(input, i, -1, 1, 0, 0); input 1203 drivers/hid/hid-input.c set_bit(i, input->absbit); input 1215 drivers/hid/hid-input.c set_bit(KEY_VOLUMEUP, input->keybit); input 1216 drivers/hid/hid-input.c set_bit(KEY_VOLUMEDOWN, input->keybit); input 1220 drivers/hid/hid-input.c set_bit(EV_MSC, input->evbit); input 1221 drivers/hid/hid-input.c set_bit(MSC_SCAN, input->mscbit); input 1232 drivers/hid/hid-input.c struct input_dev *input, input 1259 drivers/hid/hid-input.c input_event(input, EV_REL, code, lo_res); input 1260 drivers/hid/hid-input.c input_event(input, EV_REL, usage->code, hi_res); input 1265 drivers/hid/hid-input.c struct input_dev *input; input 1279 drivers/hid/hid-input.c input = field->hidinput->input; input 1286 drivers/hid/hid-input.c input_event(input, usage->type, usage->code , hid_hat_to_axis[hat_dir].x); input 1287 drivers/hid/hid-input.c input_event(input, usage->type, usage->code + 1, hid_hat_to_axis[hat_dir].y); input 1298 drivers/hid/hid-input.c input_event(input, usage->type, (*quirks & HID_QUIRK_INVERT) ? BTN_TOOL_RUBBER : usage->code, 1); input 1301 drivers/hid/hid-input.c input_event(input, usage->type, usage->code, 0); input 1302 drivers/hid/hid-input.c input_event(input, usage->type, BTN_TOOL_RUBBER, 0); input 1309 drivers/hid/hid-input.c input_event(input, EV_KEY, BTN_TOUCH, value > a + ((b - a) >> 3)); input 1327 drivers/hid/hid-input.c hidinput_handle_scroll(usage, input, value); input 1338 drivers/hid/hid-input.c input_event(input, EV_KEY, direction, 1); input 1339 drivers/hid/hid-input.c input_sync(input); input 1340 drivers/hid/hid-input.c input_event(input, EV_KEY, direction, 0); input 1341 drivers/hid/hid-input.c input_sync(input); input 1389 drivers/hid/hid-input.c (!test_bit(usage->code, input->key)) == value) input 1390 drivers/hid/hid-input.c input_event(input, EV_MSC, MSC_SCAN, usage->hid); input 1392 drivers/hid/hid-input.c input_event(input, usage->type, usage->code, value); input 1396 drivers/hid/hid-input.c input_sync(input); input 1397 drivers/hid/hid-input.c input_event(input, usage->type, usage->code, 0); input 1409 drivers/hid/hid-input.c input_sync(hidinput->input); input 1735 drivers/hid/hid-input.c hidinput->input = input_dev; input 1756 drivers/hid/hid-input.c r |= hidinput->input->evbit[i]; input 1759 drivers/hid/hid-input.c r |= hidinput->input->keybit[i]; input 1762 drivers/hid/hid-input.c r |= hidinput->input->relbit[i]; input 1765 drivers/hid/hid-input.c r |= hidinput->input->absbit[i]; input 1768 drivers/hid/hid-input.c r |= hidinput->input->mscbit[i]; input 1771 drivers/hid/hid-input.c r |= hidinput->input->ledbit[i]; input 1774 drivers/hid/hid-input.c r |= hidinput->input->sndbit[i]; input 1777 drivers/hid/hid-input.c r |= hidinput->input->ffbit[i]; input 1780 drivers/hid/hid-input.c r |= hidinput->input->swbit[i]; input 1792 drivers/hid/hid-input.c input_free_device(hidinput->input); input 1935 drivers/hid/hid-input.c if (input_register_device(hidinput->input)) input 1968 drivers/hid/hid-input.c input_unregister_device(hidinput->input); input 1970 drivers/hid/hid-input.c input_free_device(hidinput->input); input 17 drivers/hid/hid-ite.c struct input_dev *input; input 22 drivers/hid/hid-ite.c input = field->hidinput->input; input 30 drivers/hid/hid-ite.c input_event(input, EV_KEY, KEY_RFKILL, 1); input 31 drivers/hid/hid-ite.c input_sync(input); input 32 drivers/hid/hid-ite.c input_event(input, EV_KEY, KEY_RFKILL, 0); input 33 drivers/hid/hid-ite.c input_sync(input); input 377 drivers/hid/hid-lenovo.c input_event(field->hidinput->input, input 379 drivers/hid/hid-lenovo.c input_sync(field->hidinput->input); input 380 drivers/hid/hid-lenovo.c input_event(field->hidinput->input, input 382 drivers/hid/hid-lenovo.c input_sync(field->hidinput->input); input 899 drivers/hid/hid-lenovo.c if (test_bit(EV_REL, hi->input->evbit)) { input 901 drivers/hid/hid-lenovo.c __set_bit(INPUT_PROP_POINTER, hi->input->propbit); input 903 drivers/hid/hid-lenovo.c hi->input->propbit); input 544 drivers/hid/hid-lg.c set_bit(EV_REP, hi->input->evbit); input 748 drivers/hid/hid-lg.c input_event(field->hidinput->input, usage->type, usage->code, input 62 drivers/hid/hid-lg2ff.c dev = hidinput->input; input 131 drivers/hid/hid-lg3ff.c dev = hidinput->input; input 316 drivers/hid/hid-lg4ff.c input_event(field->hidinput->input, usage->type, usage->code, new_value); input 1274 drivers/hid/hid-lg4ff.c dev = hidinput->input; input 129 drivers/hid/hid-lgff.c dev = hidinput->input; input 167 drivers/hid/hid-logitech-hidpp.c struct input_dev *input; input 2054 drivers/hid/hid-logitech-hidpp.c struct input_dev *idev = hidinput->input; input 2064 drivers/hid/hid-logitech-hidpp.c struct input_dev *idev = hidinput->input; input 2110 drivers/hid/hid-logitech-hidpp.c dev = hidinput->input; input 2249 drivers/hid/hid-logitech-hidpp.c slot = input_mt_get_slot_by_key(hidpp->input, touch_report->finger_id); input 2251 drivers/hid/hid-logitech-hidpp.c input_mt_slot(hidpp->input, slot); input 2252 drivers/hid/hid-logitech-hidpp.c input_mt_report_slot_state(hidpp->input, MT_TOOL_FINGER, input 2255 drivers/hid/hid-logitech-hidpp.c input_event(hidpp->input, EV_ABS, ABS_MT_POSITION_X, input 2257 drivers/hid/hid-logitech-hidpp.c input_event(hidpp->input, EV_ABS, ABS_MT_POSITION_Y, input 2260 drivers/hid/hid-logitech-hidpp.c input_event(hidpp->input, EV_ABS, ABS_MT_PRESSURE, input 2275 drivers/hid/hid-logitech-hidpp.c input_event(hidpp->input, EV_KEY, BTN_LEFT, raw->button); input 2278 drivers/hid/hid-logitech-hidpp.c input_mt_sync_frame(hidpp->input); input 2279 drivers/hid/hid-logitech-hidpp.c input_sync(hidpp->input); input 2329 drivers/hid/hid-logitech-hidpp.c if (!wd || !hidpp->input) input 2340 drivers/hid/hid-logitech-hidpp.c input_event(hidpp->input, EV_KEY, BTN_LEFT, input 2342 drivers/hid/hid-logitech-hidpp.c input_event(hidpp->input, EV_KEY, BTN_RIGHT, input 2344 drivers/hid/hid-logitech-hidpp.c input_sync(hidpp->input); input 2494 drivers/hid/hid-logitech-hidpp.c if (!hidpp->input) { input 2521 drivers/hid/hid-logitech-hidpp.c input_report_key(hidpp->input, BTN_MIDDLE, 1); input 2524 drivers/hid/hid-logitech-hidpp.c input_report_key(hidpp->input, BTN_FORWARD, 1); input 2527 drivers/hid/hid-logitech-hidpp.c input_report_key(hidpp->input, BTN_BACK, 1); input 2530 drivers/hid/hid-logitech-hidpp.c input_report_key(hidpp->input, BTN_BACK, 0); input 2531 drivers/hid/hid-logitech-hidpp.c input_report_key(hidpp->input, BTN_FORWARD, 0); input 2532 drivers/hid/hid-logitech-hidpp.c input_report_key(hidpp->input, BTN_MIDDLE, 0); input 2538 drivers/hid/hid-logitech-hidpp.c input_sync(hidpp->input); input 2552 drivers/hid/hid-logitech-hidpp.c input_report_key(hidpp->input, BTN_LEFT, input 2554 drivers/hid/hid-logitech-hidpp.c input_report_key(hidpp->input, BTN_RIGHT, input 2558 drivers/hid/hid-logitech-hidpp.c input_report_rel(hidpp->input, REL_HWHEEL, -1); input 2559 drivers/hid/hid-logitech-hidpp.c input_report_rel(hidpp->input, REL_HWHEEL_HI_RES, input 2562 drivers/hid/hid-logitech-hidpp.c input_report_rel(hidpp->input, REL_HWHEEL, 1); input 2563 drivers/hid/hid-logitech-hidpp.c input_report_rel(hidpp->input, REL_HWHEEL_HI_RES, input 2568 drivers/hid/hid-logitech-hidpp.c input_report_rel(hidpp->input, REL_X, v); input 2571 drivers/hid/hid-logitech-hidpp.c input_report_rel(hidpp->input, REL_Y, v); input 2575 drivers/hid/hid-logitech-hidpp.c hidpp_scroll_counter_handle_scroll(hidpp->input, input 2578 drivers/hid/hid-logitech-hidpp.c input_sync(hidpp->input); input 2786 drivers/hid/hid-logitech-hidpp.c if (!hidpp->input) input 2798 drivers/hid/hid-logitech-hidpp.c input_report_rel(hidpp->input, REL_WHEEL, value); input 2799 drivers/hid/hid-logitech-hidpp.c input_report_rel(hidpp->input, REL_WHEEL_HI_RES, value * 120); input 2800 drivers/hid/hid-logitech-hidpp.c input_report_rel(hidpp->input, REL_HWHEEL, hvalue); input 2801 drivers/hid/hid-logitech-hidpp.c input_report_rel(hidpp->input, REL_HWHEEL_HI_RES, hvalue * 120); input 2802 drivers/hid/hid-logitech-hidpp.c input_sync(hidpp->input); input 2832 drivers/hid/hid-logitech-hidpp.c if (!hidpp->input) input 2849 drivers/hid/hid-logitech-hidpp.c input_report_key(hidpp->input, BTN_MOUSE + i, input 2854 drivers/hid/hid-logitech-hidpp.c input_report_key(hidpp->input, BTN_MISC + i, input 2857 drivers/hid/hid-logitech-hidpp.c input_sync(hidpp->input); input 3032 drivers/hid/hid-logitech-hidpp.c struct input_dev *input) input 3034 drivers/hid/hid-logitech-hidpp.c hidpp->input = input; input 3037 drivers/hid/hid-logitech-hidpp.c wtp_populate_input(hidpp, input); input 3039 drivers/hid/hid-logitech-hidpp.c m560_populate_input(hidpp, input); input 3042 drivers/hid/hid-logitech-hidpp.c hidpp10_wheel_populate_input(hidpp, input); input 3045 drivers/hid/hid-logitech-hidpp.c hidpp10_extra_mouse_buttons_populate_input(hidpp, input); input 3052 drivers/hid/hid-logitech-hidpp.c struct input_dev *input = hidinput->input; input 3057 drivers/hid/hid-logitech-hidpp.c hidpp_populate_input(hidpp, input); input 3207 drivers/hid/hid-logitech-hidpp.c || hidpp->input == NULL || counter->wheel_multiplier == 0) input 3210 drivers/hid/hid-logitech-hidpp.c hidpp_scroll_counter_handle_scroll(hidpp->input, counter, value); input 3355 drivers/hid/hid-logitech-hidpp.c struct input_dev *input; input 3445 drivers/hid/hid-logitech-hidpp.c input = hidpp_allocate_input(hdev); input 3446 drivers/hid/hid-logitech-hidpp.c if (!input) { input 3451 drivers/hid/hid-logitech-hidpp.c hidpp_populate_input(hidpp, input); input 3453 drivers/hid/hid-logitech-hidpp.c ret = input_register_device(input); input 3455 drivers/hid/hid-logitech-hidpp.c input_free_device(input); input 3457 drivers/hid/hid-logitech-hidpp.c hidpp->delayed_input = input; input 115 drivers/hid/hid-magicmouse.c struct input_dev *input; input 157 drivers/hid/hid-magicmouse.c int last_state = test_bit(BTN_LEFT, msc->input->key) << 0 | input 158 drivers/hid/hid-magicmouse.c test_bit(BTN_RIGHT, msc->input->key) << 1 | input 159 drivers/hid/hid-magicmouse.c test_bit(BTN_MIDDLE, msc->input->key) << 2; input 182 drivers/hid/hid-magicmouse.c input_report_key(msc->input, BTN_MIDDLE, state & 4); input 185 drivers/hid/hid-magicmouse.c input_report_key(msc->input, BTN_LEFT, state & 1); input 186 drivers/hid/hid-magicmouse.c input_report_key(msc->input, BTN_RIGHT, state & 2); input 194 drivers/hid/hid-magicmouse.c struct input_dev *input = msc->input; input 198 drivers/hid/hid-magicmouse.c if (input->id.product == USB_DEVICE_ID_APPLE_MAGICMOUSE) { input 208 drivers/hid/hid-magicmouse.c } else if (input->id.product == USB_DEVICE_ID_APPLE_MAGICTRACKPAD2) { input 240 drivers/hid/hid-magicmouse.c if (emulate_scroll_wheel && (input->id.product != input 267 drivers/hid/hid-magicmouse.c input_report_rel(input, REL_HWHEEL, -step_x); input 275 drivers/hid/hid-magicmouse.c input_report_rel(input, REL_WHEEL, step_y); input 284 drivers/hid/hid-magicmouse.c input_mt_slot(input, id); input 285 drivers/hid/hid-magicmouse.c input_mt_report_slot_state(input, MT_TOOL_FINGER, down); input 289 drivers/hid/hid-magicmouse.c input_report_abs(input, ABS_MT_TOUCH_MAJOR, touch_major << 2); input 290 drivers/hid/hid-magicmouse.c input_report_abs(input, ABS_MT_TOUCH_MINOR, touch_minor << 2); input 291 drivers/hid/hid-magicmouse.c input_report_abs(input, ABS_MT_ORIENTATION, -orientation); input 292 drivers/hid/hid-magicmouse.c input_report_abs(input, ABS_MT_POSITION_X, x); input 293 drivers/hid/hid-magicmouse.c input_report_abs(input, ABS_MT_POSITION_Y, y); input 295 drivers/hid/hid-magicmouse.c if (input->id.product == USB_DEVICE_ID_APPLE_MAGICTRACKPAD2) input 296 drivers/hid/hid-magicmouse.c input_report_abs(input, ABS_MT_PRESSURE, pressure); input 299 drivers/hid/hid-magicmouse.c if (input->id.product == USB_DEVICE_ID_APPLE_MAGICMOUSE) input 300 drivers/hid/hid-magicmouse.c input_event(input, EV_MSC, MSC_RAW, tdata[7]); input 301 drivers/hid/hid-magicmouse.c else if (input->id.product != input 303 drivers/hid/hid-magicmouse.c input_event(input, EV_MSC, MSC_RAW, tdata[8]); input 312 drivers/hid/hid-magicmouse.c struct input_dev *input = msc->input; input 395 drivers/hid/hid-magicmouse.c if (input->id.product == USB_DEVICE_ID_APPLE_MAGICMOUSE) { input 397 drivers/hid/hid-magicmouse.c input_report_rel(input, REL_X, x); input 398 drivers/hid/hid-magicmouse.c input_report_rel(input, REL_Y, y); input 399 drivers/hid/hid-magicmouse.c } else if (input->id.product == USB_DEVICE_ID_APPLE_MAGICTRACKPAD2) { input 400 drivers/hid/hid-magicmouse.c input_mt_sync_frame(input); input 401 drivers/hid/hid-magicmouse.c input_report_key(input, BTN_MOUSE, clicks & 1); input 403 drivers/hid/hid-magicmouse.c input_report_key(input, BTN_MOUSE, clicks & 1); input 404 drivers/hid/hid-magicmouse.c input_mt_report_pointer_emulation(input, true); input 407 drivers/hid/hid-magicmouse.c input_sync(input); input 411 drivers/hid/hid-magicmouse.c static int magicmouse_setup_input(struct input_dev *input, struct hid_device *hdev) input 416 drivers/hid/hid-magicmouse.c __set_bit(EV_KEY, input->evbit); input 418 drivers/hid/hid-magicmouse.c if (input->id.product == USB_DEVICE_ID_APPLE_MAGICMOUSE) { input 419 drivers/hid/hid-magicmouse.c __set_bit(BTN_LEFT, input->keybit); input 420 drivers/hid/hid-magicmouse.c __set_bit(BTN_RIGHT, input->keybit); input 422 drivers/hid/hid-magicmouse.c __set_bit(BTN_MIDDLE, input->keybit); input 424 drivers/hid/hid-magicmouse.c __set_bit(EV_REL, input->evbit); input 425 drivers/hid/hid-magicmouse.c __set_bit(REL_X, input->relbit); input 426 drivers/hid/hid-magicmouse.c __set_bit(REL_Y, input->relbit); input 428 drivers/hid/hid-magicmouse.c __set_bit(REL_WHEEL, input->relbit); input 429 drivers/hid/hid-magicmouse.c __set_bit(REL_HWHEEL, input->relbit); input 431 drivers/hid/hid-magicmouse.c } else if (input->id.product == USB_DEVICE_ID_APPLE_MAGICTRACKPAD2) { input 435 drivers/hid/hid-magicmouse.c input->name = "Apple Inc. Magic Trackpad 2"; input 437 drivers/hid/hid-magicmouse.c __clear_bit(EV_MSC, input->evbit); input 438 drivers/hid/hid-magicmouse.c __clear_bit(BTN_0, input->keybit); input 439 drivers/hid/hid-magicmouse.c __clear_bit(BTN_RIGHT, input->keybit); input 440 drivers/hid/hid-magicmouse.c __clear_bit(BTN_MIDDLE, input->keybit); input 441 drivers/hid/hid-magicmouse.c __set_bit(BTN_MOUSE, input->keybit); input 442 drivers/hid/hid-magicmouse.c __set_bit(INPUT_PROP_BUTTONPAD, input->propbit); input 443 drivers/hid/hid-magicmouse.c __set_bit(BTN_TOOL_FINGER, input->keybit); input 453 drivers/hid/hid-magicmouse.c __clear_bit(BTN_RIGHT, input->keybit); input 454 drivers/hid/hid-magicmouse.c __clear_bit(BTN_MIDDLE, input->keybit); input 455 drivers/hid/hid-magicmouse.c __set_bit(BTN_MOUSE, input->keybit); input 456 drivers/hid/hid-magicmouse.c __set_bit(BTN_TOOL_FINGER, input->keybit); input 457 drivers/hid/hid-magicmouse.c __set_bit(BTN_TOOL_DOUBLETAP, input->keybit); input 458 drivers/hid/hid-magicmouse.c __set_bit(BTN_TOOL_TRIPLETAP, input->keybit); input 459 drivers/hid/hid-magicmouse.c __set_bit(BTN_TOOL_QUADTAP, input->keybit); input 460 drivers/hid/hid-magicmouse.c __set_bit(BTN_TOOL_QUINTTAP, input->keybit); input 461 drivers/hid/hid-magicmouse.c __set_bit(BTN_TOUCH, input->keybit); input 462 drivers/hid/hid-magicmouse.c __set_bit(INPUT_PROP_POINTER, input->propbit); input 463 drivers/hid/hid-magicmouse.c __set_bit(INPUT_PROP_BUTTONPAD, input->propbit); input 467 drivers/hid/hid-magicmouse.c __set_bit(EV_ABS, input->evbit); input 469 drivers/hid/hid-magicmouse.c error = input_mt_init_slots(input, 16, mt_flags); input 472 drivers/hid/hid-magicmouse.c input_set_abs_params(input, ABS_MT_TOUCH_MAJOR, 0, 255 << 2, input 474 drivers/hid/hid-magicmouse.c input_set_abs_params(input, ABS_MT_TOUCH_MINOR, 0, 255 << 2, input 483 drivers/hid/hid-magicmouse.c if (input->id.product == USB_DEVICE_ID_APPLE_MAGICMOUSE) { input 484 drivers/hid/hid-magicmouse.c input_set_abs_params(input, ABS_MT_ORIENTATION, -31, 32, 1, 0); input 485 drivers/hid/hid-magicmouse.c input_set_abs_params(input, ABS_MT_POSITION_X, input 487 drivers/hid/hid-magicmouse.c input_set_abs_params(input, ABS_MT_POSITION_Y, input 490 drivers/hid/hid-magicmouse.c input_abs_set_res(input, ABS_MT_POSITION_X, input 492 drivers/hid/hid-magicmouse.c input_abs_set_res(input, ABS_MT_POSITION_Y, input 494 drivers/hid/hid-magicmouse.c } else if (input->id.product == USB_DEVICE_ID_APPLE_MAGICTRACKPAD2) { input 495 drivers/hid/hid-magicmouse.c input_set_abs_params(input, ABS_MT_PRESSURE, 0, 253, 0, 0); input 496 drivers/hid/hid-magicmouse.c input_set_abs_params(input, ABS_PRESSURE, 0, 253, 0, 0); input 497 drivers/hid/hid-magicmouse.c input_set_abs_params(input, ABS_MT_ORIENTATION, -3, 4, 0, 0); input 498 drivers/hid/hid-magicmouse.c input_set_abs_params(input, ABS_X, TRACKPAD2_MIN_X, input 500 drivers/hid/hid-magicmouse.c input_set_abs_params(input, ABS_Y, TRACKPAD2_MIN_Y, input 502 drivers/hid/hid-magicmouse.c input_set_abs_params(input, ABS_MT_POSITION_X, input 504 drivers/hid/hid-magicmouse.c input_set_abs_params(input, ABS_MT_POSITION_Y, input 507 drivers/hid/hid-magicmouse.c input_abs_set_res(input, ABS_X, TRACKPAD2_RES_X); input 508 drivers/hid/hid-magicmouse.c input_abs_set_res(input, ABS_Y, TRACKPAD2_RES_Y); input 509 drivers/hid/hid-magicmouse.c input_abs_set_res(input, ABS_MT_POSITION_X, TRACKPAD2_RES_X); input 510 drivers/hid/hid-magicmouse.c input_abs_set_res(input, ABS_MT_POSITION_Y, TRACKPAD2_RES_Y); input 512 drivers/hid/hid-magicmouse.c input_set_abs_params(input, ABS_MT_ORIENTATION, -31, 32, 1, 0); input 513 drivers/hid/hid-magicmouse.c input_set_abs_params(input, ABS_X, TRACKPAD_MIN_X, input 515 drivers/hid/hid-magicmouse.c input_set_abs_params(input, ABS_Y, TRACKPAD_MIN_Y, input 517 drivers/hid/hid-magicmouse.c input_set_abs_params(input, ABS_MT_POSITION_X, input 519 drivers/hid/hid-magicmouse.c input_set_abs_params(input, ABS_MT_POSITION_Y, input 522 drivers/hid/hid-magicmouse.c input_abs_set_res(input, ABS_X, TRACKPAD_RES_X); input 523 drivers/hid/hid-magicmouse.c input_abs_set_res(input, ABS_Y, TRACKPAD_RES_Y); input 524 drivers/hid/hid-magicmouse.c input_abs_set_res(input, ABS_MT_POSITION_X, input 526 drivers/hid/hid-magicmouse.c input_abs_set_res(input, ABS_MT_POSITION_Y, input 530 drivers/hid/hid-magicmouse.c input_set_events_per_packet(input, 60); input 533 drivers/hid/hid-magicmouse.c input->id.product != USB_DEVICE_ID_APPLE_MAGICTRACKPAD2) { input 534 drivers/hid/hid-magicmouse.c __set_bit(EV_MSC, input->evbit); input 535 drivers/hid/hid-magicmouse.c __set_bit(MSC_RAW, input->mscbit); input 547 drivers/hid/hid-magicmouse.c if (!msc->input) input 548 drivers/hid/hid-magicmouse.c msc->input = hi->input; input 551 drivers/hid/hid-magicmouse.c if ((hi->input->id.product == USB_DEVICE_ID_APPLE_MAGICTRACKPAD || input 552 drivers/hid/hid-magicmouse.c hi->input->id.product == USB_DEVICE_ID_APPLE_MAGICTRACKPAD2) && input 566 drivers/hid/hid-magicmouse.c ret = magicmouse_setup_input(msc->input, hdev); input 570 drivers/hid/hid-magicmouse.c msc->input = NULL; input 619 drivers/hid/hid-magicmouse.c if (!msc->input) { input 68 drivers/hid/hid-mf.c struct hid_input *input; input 89 drivers/hid/hid-mf.c input = list_entry(input_ptr, struct hid_input, list); input 95 drivers/hid/hid-mf.c dev = input->input; input 83 drivers/hid/hid-microsoft.c struct input_dev *input = hi->input; input 110 drivers/hid/hid-microsoft.c set_bit(KEY_KPLEFTPAREN, input->keybit); input 111 drivers/hid/hid-microsoft.c set_bit(KEY_KPRIGHTPAREN, input->keybit); input 128 drivers/hid/hid-microsoft.c set_bit(EV_REP, input->evbit); input 130 drivers/hid/hid-microsoft.c set_bit(KEY_F14, input->keybit); input 131 drivers/hid/hid-microsoft.c set_bit(KEY_F15, input->keybit); input 132 drivers/hid/hid-microsoft.c set_bit(KEY_F16, input->keybit); input 133 drivers/hid/hid-microsoft.c set_bit(KEY_F17, input->keybit); input 134 drivers/hid/hid-microsoft.c set_bit(KEY_F18, input->keybit); input 148 drivers/hid/hid-microsoft.c set_bit(EV_REP, hi->input->evbit); input 230 drivers/hid/hid-microsoft.c struct input_dev *input; input 236 drivers/hid/hid-microsoft.c input = field->hidinput->input; input 241 drivers/hid/hid-microsoft.c input_report_key(input, KEY_KPEQUAL, value & 0x01); input 242 drivers/hid/hid-microsoft.c input_report_key(input, KEY_KPLEFTPAREN, value & 0x02); input 243 drivers/hid/hid-microsoft.c input_report_key(input, KEY_KPRIGHTPAREN, value & 0x04); input 253 drivers/hid/hid-microsoft.c input_report_rel(input, REL_WHEEL, step); input 256 drivers/hid/hid-microsoft.c input_report_rel(input, REL_WHEEL, -step); input 273 drivers/hid/hid-microsoft.c input_event(input, usage->type, key, 1); input 276 drivers/hid/hid-microsoft.c input_event(input, usage->type, last_key, 0); input 340 drivers/hid/hid-microsoft.c input_dev = hidinput->input; input 494 drivers/hid/hid-multitouch.c static void set_abs(struct input_dev *input, unsigned int code, input 500 drivers/hid/hid-multitouch.c input_set_abs_params(input, code, fmin, fmax, fuzz, 0); input 501 drivers/hid/hid-multitouch.c input_abs_set_res(input, code, hidinput_calc_abs_res(field, code)); input 727 drivers/hid/hid-multitouch.c set_abs(hi->input, code, field, cls->sn_move); input 735 drivers/hid/hid-multitouch.c hi->input->propbit); input 736 drivers/hid/hid-multitouch.c input_set_abs_params(hi->input, input 752 drivers/hid/hid-multitouch.c set_abs(hi->input, code, field, cls->sn_move); input 762 drivers/hid/hid-multitouch.c input_set_abs_params(hi->input, input 775 drivers/hid/hid-multitouch.c input_set_abs_params(hi->input, input 784 drivers/hid/hid-multitouch.c input_set_capability(hi->input, input 794 drivers/hid/hid-multitouch.c set_abs(hi->input, ABS_MT_TOUCH_MAJOR, field, input 800 drivers/hid/hid-multitouch.c set_abs(hi->input, ABS_MT_TOUCH_MINOR, field, input 808 drivers/hid/hid-multitouch.c hi->input->absbit)) input 809 drivers/hid/hid-multitouch.c input_set_abs_params(hi->input, input 815 drivers/hid/hid-multitouch.c set_abs(hi->input, ABS_MT_PRESSURE, field, input 820 drivers/hid/hid-multitouch.c input_set_capability(hi->input, EV_MSC, MSC_TIMESTAMP); input 834 drivers/hid/hid-multitouch.c input_set_abs_params(hi->input, ABS_MT_ORIENTATION, input 867 drivers/hid/hid-multitouch.c input_set_capability(hi->input, EV_KEY, code); input 880 drivers/hid/hid-multitouch.c struct input_dev *input) input 896 drivers/hid/hid-multitouch.c return input_mt_get_slot_by_key(input, *slot->contactid); input 901 drivers/hid/hid-multitouch.c struct input_dev *input) input 909 drivers/hid/hid-multitouch.c input_mt_slot(input, slotnum); input 910 drivers/hid/hid-multitouch.c input_mt_report_slot_state(input, MT_TOOL_PALM, false); input 916 drivers/hid/hid-multitouch.c input_mt_sync_frame(input); input 917 drivers/hid/hid-multitouch.c input_sync(input); input 926 drivers/hid/hid-multitouch.c struct input_dev *input) input 929 drivers/hid/hid-multitouch.c input_event(input, EV_KEY, BTN_LEFT, app->left_button_state); input 931 drivers/hid/hid-multitouch.c input_mt_sync_frame(input); input 932 drivers/hid/hid-multitouch.c input_event(input, EV_MSC, MSC_TIMESTAMP, app->timestamp); input 933 drivers/hid/hid-multitouch.c input_sync(input); input 935 drivers/hid/hid-multitouch.c mt_release_pending_palms(td, app, input); input 977 drivers/hid/hid-multitouch.c static int mt_process_slot(struct mt_device *td, struct input_dev *input, input 981 drivers/hid/hid-multitouch.c struct input_mt *mt = input->mt; input 1009 drivers/hid/hid-multitouch.c slotnum = mt_compute_slot(td, app, slot, input); input 1049 drivers/hid/hid-multitouch.c input_mt_slot(input, slotnum); input 1050 drivers/hid/hid-multitouch.c input_mt_report_slot_state(input, tool, active); input 1072 drivers/hid/hid-multitouch.c max_azimuth = input_abs_get_max(input, input 1088 drivers/hid/hid-multitouch.c input_event(input, EV_ABS, ABS_MT_POSITION_X, *slot->x); input 1089 drivers/hid/hid-multitouch.c input_event(input, EV_ABS, ABS_MT_POSITION_Y, *slot->y); input 1090 drivers/hid/hid-multitouch.c input_event(input, EV_ABS, ABS_MT_TOOL_X, *slot->cx); input 1091 drivers/hid/hid-multitouch.c input_event(input, EV_ABS, ABS_MT_TOOL_Y, *slot->cy); input 1092 drivers/hid/hid-multitouch.c input_event(input, EV_ABS, ABS_MT_DISTANCE, !*slot->tip_state); input 1093 drivers/hid/hid-multitouch.c input_event(input, EV_ABS, ABS_MT_ORIENTATION, orientation); input 1094 drivers/hid/hid-multitouch.c input_event(input, EV_ABS, ABS_MT_PRESSURE, *slot->p); input 1095 drivers/hid/hid-multitouch.c input_event(input, EV_ABS, ABS_MT_TOUCH_MAJOR, major); input 1096 drivers/hid/hid-multitouch.c input_event(input, EV_ABS, ABS_MT_TOUCH_MINOR, minor); input 1112 drivers/hid/hid-multitouch.c struct input_dev *input = field->hidinput->input; input 1140 drivers/hid/hid-multitouch.c input_event(input, usage->type, usage->code, value); input 1150 drivers/hid/hid-multitouch.c struct input_dev *input; input 1191 drivers/hid/hid-multitouch.c input = report->field[0]->hidinput->input; input 1194 drivers/hid/hid-multitouch.c if (!mt_process_slot(td, input, app, slot)) input 1212 drivers/hid/hid-multitouch.c mt_sync_frame(td, app, input); input 1249 drivers/hid/hid-multitouch.c struct input_dev *input = hi->input; input 1271 drivers/hid/hid-multitouch.c __set_bit(INPUT_PROP_BUTTONPAD, input->propbit); input 1273 drivers/hid/hid-multitouch.c app->pending_palm_slots = devm_kcalloc(&hi->input->dev, input 1280 drivers/hid/hid-multitouch.c ret = input_mt_init_slots(input, td->maxcontacts, app->mt_flags); input 1333 drivers/hid/hid-multitouch.c set_bit(EV_REP, hi->input->evbit); input 1406 drivers/hid/hid-multitouch.c if (field && field->hidinput && field->hidinput->input) input 1407 drivers/hid/hid-multitouch.c input_sync(field->hidinput->input); input 1582 drivers/hid/hid-multitouch.c hi->input->name = hdev->name; input 1586 drivers/hid/hid-multitouch.c __set_bit(BTN_STYLUS, hi->input->keybit); input 1600 drivers/hid/hid-multitouch.c name = devm_kzalloc(&hi->input->dev, input 1605 drivers/hid/hid-multitouch.c hi->input->name = name; input 1647 drivers/hid/hid-multitouch.c struct input_dev *input_dev = hidinput->input; input 470 drivers/hid/hid-ntrig.c input_set_abs_params(hi->input, ABS_X, input 492 drivers/hid/hid-ntrig.c input_set_abs_params(hi->input, ABS_Y, input 531 drivers/hid/hid-ntrig.c input_set_abs_params(hi->input, ABS_MT_ORIENTATION, input 570 drivers/hid/hid-ntrig.c struct input_dev *input; input 578 drivers/hid/hid-ntrig.c if(!(field->hidinput && field->hidinput->input)) input 581 drivers/hid/hid-ntrig.c input = field->hidinput->input; input 626 drivers/hid/hid-ntrig.c input_report_key(input, BTN_TOUCH, input 628 drivers/hid/hid-ntrig.c input_report_key(input, BTN_TOOL_DOUBLETAP, input 630 drivers/hid/hid-ntrig.c input_event(input, EV_ABS, ABS_X, nd->x); input 631 drivers/hid/hid-ntrig.c input_event(input, EV_ABS, ABS_Y, nd->y); input 723 drivers/hid/hid-ntrig.c input_event(input, EV_ABS, ABS_X, nd->x); input 724 drivers/hid/hid-ntrig.c input_event(input, EV_ABS, ABS_Y, nd->y); input 728 drivers/hid/hid-ntrig.c input_event(input, EV_ABS, ABS_MT_POSITION_X, nd->x); input 729 drivers/hid/hid-ntrig.c input_event(input, EV_ABS, ABS_MT_POSITION_Y, nd->y); input 736 drivers/hid/hid-ntrig.c input_event(input, EV_ABS, input 738 drivers/hid/hid-ntrig.c input_event(input, EV_ABS, input 740 drivers/hid/hid-ntrig.c input_event(input, EV_ABS, input 743 drivers/hid/hid-ntrig.c input_event(input, EV_ABS, input 745 drivers/hid/hid-ntrig.c input_event(input, EV_ABS, input 747 drivers/hid/hid-ntrig.c input_event(input, EV_ABS, input 750 drivers/hid/hid-ntrig.c input_mt_sync(field->hidinput->input); input 836 drivers/hid/hid-ntrig.c input_report_key(input, BTN_TOOL_DOUBLETAP, 1); input 837 drivers/hid/hid-ntrig.c input_report_key(input, BTN_TOUCH, 1); input 839 drivers/hid/hid-ntrig.c input_report_key(input, BTN_TOOL_DOUBLETAP, 0); input 840 drivers/hid/hid-ntrig.c input_report_key(input, BTN_TOUCH, 0); input 862 drivers/hid/hid-ntrig.c struct input_dev *input = hidinput->input; input 869 drivers/hid/hid-ntrig.c input->name = "N-Trig Pen"; input 874 drivers/hid/hid-ntrig.c __clear_bit(BTN_TOOL_PEN, input->keybit); input 875 drivers/hid/hid-ntrig.c __clear_bit(BTN_TOOL_FINGER, input->keybit); input 876 drivers/hid/hid-ntrig.c __clear_bit(BTN_0, input->keybit); input 877 drivers/hid/hid-ntrig.c __set_bit(BTN_TOOL_DOUBLETAP, input->keybit); input 884 drivers/hid/hid-ntrig.c input->name = (hidinput->report->field[0]->physical) ? input 147 drivers/hid/hid-pl.c dev = hidinput->input; input 513 drivers/hid/hid-prodikeys.c struct pcmidi_snd *pm, struct input_dev *input) input 541 drivers/hid/hid-prodikeys.c pm->input_ep82 = input; input 769 drivers/hid/hid-prodikeys.c pcmidi_setup_extra_keys(pm, hi->input); input 57 drivers/hid/hid-retrode.c hi->input->name = name; input 437 drivers/hid/hid-rmi.c if (field && field->hidinput && field->hidinput->input) input 438 drivers/hid/hid-rmi.c input_sync(field->hidinput->input); input 501 drivers/hid/hid-rmi.c struct input_dev *input = hi->input; input 507 drivers/hid/hid-rmi.c data->xport.input = input; input 154 drivers/hid/hid-saitek.c struct input_dev *input = field->hidinput->input; input 162 drivers/hid/hid-saitek.c input_report_key(input, usage->code, 1); input 165 drivers/hid/hid-saitek.c input_report_key(input, usage->code, 0); input 281 drivers/hid/hid-sensor-custom.c bool input = false; input 290 drivers/hid/hid-sensor-custom.c input = true; input 345 drivers/hid/hid-sensor-custom.c } else if (input) input 90 drivers/hid/hid-sjoy.c dev = hidinput->input; input 944 drivers/hid/hid-sony.c struct input_dev *input_dev = hidinput->input; input 2282 drivers/hid/hid-sony.c input_dev = hidinput->input; input 118 drivers/hid/hid-steam.c struct input_dev __rcu *input; input 386 drivers/hid/hid-steam.c struct input_dev *input; input 390 drivers/hid/hid-steam.c input = rcu_dereference(steam->input); input 392 drivers/hid/hid-steam.c if (input) { input 397 drivers/hid/hid-steam.c input = input_allocate_device(); input 398 drivers/hid/hid-steam.c if (!input) input 401 drivers/hid/hid-steam.c input_set_drvdata(input, steam); input 402 drivers/hid/hid-steam.c input->dev.parent = &hdev->dev; input 403 drivers/hid/hid-steam.c input->open = steam_input_open; input 404 drivers/hid/hid-steam.c input->close = steam_input_close; input 406 drivers/hid/hid-steam.c input->name = (steam->quirks & STEAM_QUIRK_WIRELESS) ? input 409 drivers/hid/hid-steam.c input->phys = hdev->phys; input 410 drivers/hid/hid-steam.c input->uniq = steam->serial_no; input 411 drivers/hid/hid-steam.c input->id.bustype = hdev->bus; input 412 drivers/hid/hid-steam.c input->id.vendor = hdev->vendor; input 413 drivers/hid/hid-steam.c input->id.product = hdev->product; input 414 drivers/hid/hid-steam.c input->id.version = hdev->version; input 416 drivers/hid/hid-steam.c input_set_capability(input, EV_KEY, BTN_TR2); input 417 drivers/hid/hid-steam.c input_set_capability(input, EV_KEY, BTN_TL2); input 418 drivers/hid/hid-steam.c input_set_capability(input, EV_KEY, BTN_TR); input 419 drivers/hid/hid-steam.c input_set_capability(input, EV_KEY, BTN_TL); input 420 drivers/hid/hid-steam.c input_set_capability(input, EV_KEY, BTN_Y); input 421 drivers/hid/hid-steam.c input_set_capability(input, EV_KEY, BTN_B); input 422 drivers/hid/hid-steam.c input_set_capability(input, EV_KEY, BTN_X); input 423 drivers/hid/hid-steam.c input_set_capability(input, EV_KEY, BTN_A); input 424 drivers/hid/hid-steam.c input_set_capability(input, EV_KEY, BTN_DPAD_UP); input 425 drivers/hid/hid-steam.c input_set_capability(input, EV_KEY, BTN_DPAD_RIGHT); input 426 drivers/hid/hid-steam.c input_set_capability(input, EV_KEY, BTN_DPAD_LEFT); input 427 drivers/hid/hid-steam.c input_set_capability(input, EV_KEY, BTN_DPAD_DOWN); input 428 drivers/hid/hid-steam.c input_set_capability(input, EV_KEY, BTN_SELECT); input 429 drivers/hid/hid-steam.c input_set_capability(input, EV_KEY, BTN_MODE); input 430 drivers/hid/hid-steam.c input_set_capability(input, EV_KEY, BTN_START); input 431 drivers/hid/hid-steam.c input_set_capability(input, EV_KEY, BTN_GEAR_DOWN); input 432 drivers/hid/hid-steam.c input_set_capability(input, EV_KEY, BTN_GEAR_UP); input 433 drivers/hid/hid-steam.c input_set_capability(input, EV_KEY, BTN_THUMBR); input 434 drivers/hid/hid-steam.c input_set_capability(input, EV_KEY, BTN_THUMBL); input 435 drivers/hid/hid-steam.c input_set_capability(input, EV_KEY, BTN_THUMB); input 436 drivers/hid/hid-steam.c input_set_capability(input, EV_KEY, BTN_THUMB2); input 438 drivers/hid/hid-steam.c input_set_abs_params(input, ABS_HAT2Y, 0, 255, 0, 0); input 439 drivers/hid/hid-steam.c input_set_abs_params(input, ABS_HAT2X, 0, 255, 0, 0); input 440 drivers/hid/hid-steam.c input_set_abs_params(input, ABS_X, -32767, 32767, 0, 0); input 441 drivers/hid/hid-steam.c input_set_abs_params(input, ABS_Y, -32767, 32767, 0, 0); input 442 drivers/hid/hid-steam.c input_set_abs_params(input, ABS_RX, -32767, 32767, input 444 drivers/hid/hid-steam.c input_set_abs_params(input, ABS_RY, -32767, 32767, input 446 drivers/hid/hid-steam.c input_set_abs_params(input, ABS_HAT0X, -32767, 32767, input 448 drivers/hid/hid-steam.c input_set_abs_params(input, ABS_HAT0Y, -32767, 32767, input 450 drivers/hid/hid-steam.c input_abs_set_res(input, ABS_X, STEAM_JOYSTICK_RESOLUTION); input 451 drivers/hid/hid-steam.c input_abs_set_res(input, ABS_Y, STEAM_JOYSTICK_RESOLUTION); input 452 drivers/hid/hid-steam.c input_abs_set_res(input, ABS_RX, STEAM_PAD_RESOLUTION); input 453 drivers/hid/hid-steam.c input_abs_set_res(input, ABS_RY, STEAM_PAD_RESOLUTION); input 454 drivers/hid/hid-steam.c input_abs_set_res(input, ABS_HAT0X, STEAM_PAD_RESOLUTION); input 455 drivers/hid/hid-steam.c input_abs_set_res(input, ABS_HAT0Y, STEAM_PAD_RESOLUTION); input 456 drivers/hid/hid-steam.c input_abs_set_res(input, ABS_HAT2Y, STEAM_TRIGGER_RESOLUTION); input 457 drivers/hid/hid-steam.c input_abs_set_res(input, ABS_HAT2X, STEAM_TRIGGER_RESOLUTION); input 459 drivers/hid/hid-steam.c ret = input_register_device(input); input 463 drivers/hid/hid-steam.c rcu_assign_pointer(steam->input, input); input 467 drivers/hid/hid-steam.c input_free_device(input); input 473 drivers/hid/hid-steam.c struct input_dev *input; input 475 drivers/hid/hid-steam.c input = rcu_dereference(steam->input); input 477 drivers/hid/hid-steam.c if (!input) input 479 drivers/hid/hid-steam.c RCU_INIT_POINTER(steam->input, NULL); input 481 drivers/hid/hid-steam.c input_unregister_device(input); input 916 drivers/hid/hid-steam.c struct input_dev *input, u8 *data) input 927 drivers/hid/hid-steam.c input_report_abs(input, ABS_HAT2Y, data[11]); input 928 drivers/hid/hid-steam.c input_report_abs(input, ABS_HAT2X, data[12]); input 943 drivers/hid/hid-steam.c input_report_abs(input, lpad_touched ? ABS_HAT0X : ABS_X, x); input 944 drivers/hid/hid-steam.c input_report_abs(input, lpad_touched ? ABS_HAT0Y : ABS_Y, y); input 947 drivers/hid/hid-steam.c input_report_abs(input, ABS_X, 0); input 948 drivers/hid/hid-steam.c input_report_abs(input, ABS_Y, 0); input 952 drivers/hid/hid-steam.c input_report_abs(input, ABS_HAT0X, 0); input 953 drivers/hid/hid-steam.c input_report_abs(input, ABS_HAT0Y, 0); input 956 drivers/hid/hid-steam.c input_report_abs(input, ABS_RX, steam_le16(data + 20)); input 957 drivers/hid/hid-steam.c input_report_abs(input, ABS_RY, -steam_le16(data + 22)); input 959 drivers/hid/hid-steam.c input_event(input, EV_KEY, BTN_TR2, !!(b8 & BIT(0))); input 960 drivers/hid/hid-steam.c input_event(input, EV_KEY, BTN_TL2, !!(b8 & BIT(1))); input 961 drivers/hid/hid-steam.c input_event(input, EV_KEY, BTN_TR, !!(b8 & BIT(2))); input 962 drivers/hid/hid-steam.c input_event(input, EV_KEY, BTN_TL, !!(b8 & BIT(3))); input 963 drivers/hid/hid-steam.c input_event(input, EV_KEY, BTN_Y, !!(b8 & BIT(4))); input 964 drivers/hid/hid-steam.c input_event(input, EV_KEY, BTN_B, !!(b8 & BIT(5))); input 965 drivers/hid/hid-steam.c input_event(input, EV_KEY, BTN_X, !!(b8 & BIT(6))); input 966 drivers/hid/hid-steam.c input_event(input, EV_KEY, BTN_A, !!(b8 & BIT(7))); input 967 drivers/hid/hid-steam.c input_event(input, EV_KEY, BTN_SELECT, !!(b9 & BIT(4))); input 968 drivers/hid/hid-steam.c input_event(input, EV_KEY, BTN_MODE, !!(b9 & BIT(5))); input 969 drivers/hid/hid-steam.c input_event(input, EV_KEY, BTN_START, !!(b9 & BIT(6))); input 970 drivers/hid/hid-steam.c input_event(input, EV_KEY, BTN_GEAR_DOWN, !!(b9 & BIT(7))); input 971 drivers/hid/hid-steam.c input_event(input, EV_KEY, BTN_GEAR_UP, !!(b10 & BIT(0))); input 972 drivers/hid/hid-steam.c input_event(input, EV_KEY, BTN_THUMBR, !!(b10 & BIT(2))); input 973 drivers/hid/hid-steam.c input_event(input, EV_KEY, BTN_THUMBL, !!(b10 & BIT(6))); input 974 drivers/hid/hid-steam.c input_event(input, EV_KEY, BTN_THUMB, lpad_touched || lpad_and_joy); input 975 drivers/hid/hid-steam.c input_event(input, EV_KEY, BTN_THUMB2, !!(b10 & BIT(4))); input 976 drivers/hid/hid-steam.c input_event(input, EV_KEY, BTN_DPAD_UP, !!(b9 & BIT(0))); input 977 drivers/hid/hid-steam.c input_event(input, EV_KEY, BTN_DPAD_RIGHT, !!(b9 & BIT(1))); input 978 drivers/hid/hid-steam.c input_event(input, EV_KEY, BTN_DPAD_LEFT, !!(b9 & BIT(2))); input 979 drivers/hid/hid-steam.c input_event(input, EV_KEY, BTN_DPAD_DOWN, !!(b9 & BIT(3))); input 981 drivers/hid/hid-steam.c input_sync(input); input 1020 drivers/hid/hid-steam.c struct input_dev *input; input 1053 drivers/hid/hid-steam.c input = rcu_dereference(steam->input); input 1054 drivers/hid/hid-steam.c if (likely(input)) input 1055 drivers/hid/hid-steam.c steam_do_input_event(steam, input, data); input 137 drivers/hid/hid-tmff.c input_dev = hidinput->input; input 56 drivers/hid/hid-uclogic-core.c struct input_dev *input = drvdata->pen_input; input 58 drivers/hid/hid-uclogic-core.c if (input == NULL) input 60 drivers/hid/hid-uclogic-core.c input_report_abs(input, ABS_PRESSURE, 0); input 62 drivers/hid/hid-uclogic-core.c if (test_bit(BTN_TOUCH, input->key)) { input 63 drivers/hid/hid-uclogic-core.c input_event(input, EV_MSC, MSC_SCAN, input 66 drivers/hid/hid-uclogic-core.c input_report_key(input, BTN_TOUCH, 0); input 68 drivers/hid/hid-uclogic-core.c input_report_key(input, BTN_TOOL_PEN, 0); input 69 drivers/hid/hid-uclogic-core.c input_sync(input); input 122 drivers/hid/hid-uclogic-core.c drvdata->pen_input = hi->input; input 150 drivers/hid/hid-uclogic-core.c name = devm_kzalloc(&hi->input->dev, len, GFP_KERNEL); input 153 drivers/hid/hid-uclogic-core.c hi->input->name = name; input 638 drivers/hid/hid-wiimote-core.c wdata->input = input_allocate_device(); input 639 drivers/hid/hid-wiimote-core.c if (!wdata->input) input 642 drivers/hid/hid-wiimote-core.c input_set_drvdata(wdata->input, wdata); input 643 drivers/hid/hid-wiimote-core.c wdata->input->dev.parent = &wdata->hdev->dev; input 644 drivers/hid/hid-wiimote-core.c wdata->input->id.bustype = wdata->hdev->bus; input 645 drivers/hid/hid-wiimote-core.c wdata->input->id.vendor = wdata->hdev->vendor; input 646 drivers/hid/hid-wiimote-core.c wdata->input->id.product = wdata->hdev->product; input 647 drivers/hid/hid-wiimote-core.c wdata->input->id.version = wdata->hdev->version; input 648 drivers/hid/hid-wiimote-core.c wdata->input->name = WIIMOTE_NAME; input 661 drivers/hid/hid-wiimote-core.c if (wdata->input) { input 662 drivers/hid/hid-wiimote-core.c ret = input_register_device(wdata->input); input 679 drivers/hid/hid-wiimote-core.c if (wdata->input) { input 680 drivers/hid/hid-wiimote-core.c input_free_device(wdata->input); input 681 drivers/hid/hid-wiimote-core.c wdata->input = NULL; input 701 drivers/hid/hid-wiimote-core.c if (wdata->input) { input 702 drivers/hid/hid-wiimote-core.c input_get_device(wdata->input); input 703 drivers/hid/hid-wiimote-core.c input_unregister_device(wdata->input); input 712 drivers/hid/hid-wiimote-core.c if (wdata->input) { input 713 drivers/hid/hid-wiimote-core.c input_put_device(wdata->input); input 714 drivers/hid/hid-wiimote-core.c wdata->input = NULL; input 64 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_LEFT], input 66 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_RIGHT], input 68 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_DOWN], input 70 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_UP], input 72 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_PLUS], input 74 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_TWO], input 76 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_ONE], input 78 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_B], input 80 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_A], input 82 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_MINUS], input 84 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_HOME], input 86 drivers/hid/hid-wiimote-modules.c input_sync(wdata->input); input 94 drivers/hid/hid-wiimote-modules.c set_bit(EV_KEY, wdata->input->evbit); input 96 drivers/hid/hid-wiimote-modules.c set_bit(wiimod_keys_map[i], wdata->input->keybit); input 160 drivers/hid/hid-wiimote-modules.c set_bit(FF_RUMBLE, wdata->input->ffbit); input 161 drivers/hid/hid-wiimote-modules.c if (input_ff_create_memless(wdata->input, NULL, wiimod_rumble_play)) input 878 drivers/hid/hid-wiimote-modules.c input_report_abs(wdata->extension.input, ABS_HAT0X, bx); input 879 drivers/hid/hid-wiimote-modules.c input_report_abs(wdata->extension.input, ABS_HAT0Y, by); input 881 drivers/hid/hid-wiimote-modules.c input_report_abs(wdata->extension.input, ABS_RX, x); input 882 drivers/hid/hid-wiimote-modules.c input_report_abs(wdata->extension.input, ABS_RY, y); input 883 drivers/hid/hid-wiimote-modules.c input_report_abs(wdata->extension.input, ABS_RZ, z); input 886 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 889 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 893 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 896 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 901 drivers/hid/hid-wiimote-modules.c input_sync(wdata->extension.input); input 933 drivers/hid/hid-wiimote-modules.c wdata->extension.input = input_allocate_device(); input 934 drivers/hid/hid-wiimote-modules.c if (!wdata->extension.input) input 937 drivers/hid/hid-wiimote-modules.c input_set_drvdata(wdata->extension.input, wdata); input 938 drivers/hid/hid-wiimote-modules.c wdata->extension.input->open = wiimod_nunchuk_open; input 939 drivers/hid/hid-wiimote-modules.c wdata->extension.input->close = wiimod_nunchuk_close; input 940 drivers/hid/hid-wiimote-modules.c wdata->extension.input->dev.parent = &wdata->hdev->dev; input 941 drivers/hid/hid-wiimote-modules.c wdata->extension.input->id.bustype = wdata->hdev->bus; input 942 drivers/hid/hid-wiimote-modules.c wdata->extension.input->id.vendor = wdata->hdev->vendor; input 943 drivers/hid/hid-wiimote-modules.c wdata->extension.input->id.product = wdata->hdev->product; input 944 drivers/hid/hid-wiimote-modules.c wdata->extension.input->id.version = wdata->hdev->version; input 945 drivers/hid/hid-wiimote-modules.c wdata->extension.input->name = WIIMOTE_NAME " Nunchuk"; input 947 drivers/hid/hid-wiimote-modules.c set_bit(EV_KEY, wdata->extension.input->evbit); input 950 drivers/hid/hid-wiimote-modules.c wdata->extension.input->keybit); input 952 drivers/hid/hid-wiimote-modules.c set_bit(EV_ABS, wdata->extension.input->evbit); input 953 drivers/hid/hid-wiimote-modules.c set_bit(ABS_HAT0X, wdata->extension.input->absbit); input 954 drivers/hid/hid-wiimote-modules.c set_bit(ABS_HAT0Y, wdata->extension.input->absbit); input 955 drivers/hid/hid-wiimote-modules.c input_set_abs_params(wdata->extension.input, input 957 drivers/hid/hid-wiimote-modules.c input_set_abs_params(wdata->extension.input, input 959 drivers/hid/hid-wiimote-modules.c set_bit(ABS_RX, wdata->extension.input->absbit); input 960 drivers/hid/hid-wiimote-modules.c set_bit(ABS_RY, wdata->extension.input->absbit); input 961 drivers/hid/hid-wiimote-modules.c set_bit(ABS_RZ, wdata->extension.input->absbit); input 962 drivers/hid/hid-wiimote-modules.c input_set_abs_params(wdata->extension.input, input 964 drivers/hid/hid-wiimote-modules.c input_set_abs_params(wdata->extension.input, input 966 drivers/hid/hid-wiimote-modules.c input_set_abs_params(wdata->extension.input, input 969 drivers/hid/hid-wiimote-modules.c ret = input_register_device(wdata->extension.input); input 976 drivers/hid/hid-wiimote-modules.c input_free_device(wdata->extension.input); input 977 drivers/hid/hid-wiimote-modules.c wdata->extension.input = NULL; input 984 drivers/hid/hid-wiimote-modules.c if (!wdata->extension.input) input 987 drivers/hid/hid-wiimote-modules.c input_unregister_device(wdata->extension.input); input 988 drivers/hid/hid-wiimote-modules.c wdata->extension.input = NULL; input 1113 drivers/hid/hid-wiimote-modules.c input_report_abs(wdata->extension.input, ABS_HAT1X, lx - 0x20); input 1114 drivers/hid/hid-wiimote-modules.c input_report_abs(wdata->extension.input, ABS_HAT1Y, ly - 0x20); input 1115 drivers/hid/hid-wiimote-modules.c input_report_abs(wdata->extension.input, ABS_HAT2X, rx - 0x20); input 1116 drivers/hid/hid-wiimote-modules.c input_report_abs(wdata->extension.input, ABS_HAT2Y, ry - 0x20); input 1117 drivers/hid/hid-wiimote-modules.c input_report_abs(wdata->extension.input, ABS_HAT3X, rt); input 1118 drivers/hid/hid-wiimote-modules.c input_report_abs(wdata->extension.input, ABS_HAT3Y, lt); input 1120 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 1123 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 1126 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 1129 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 1132 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 1135 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 1138 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 1141 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 1144 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 1147 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 1150 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 1153 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 1156 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 1161 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 1164 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 1168 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 1171 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 1176 drivers/hid/hid-wiimote-modules.c input_sync(wdata->extension.input); input 1208 drivers/hid/hid-wiimote-modules.c wdata->extension.input = input_allocate_device(); input 1209 drivers/hid/hid-wiimote-modules.c if (!wdata->extension.input) input 1212 drivers/hid/hid-wiimote-modules.c input_set_drvdata(wdata->extension.input, wdata); input 1213 drivers/hid/hid-wiimote-modules.c wdata->extension.input->open = wiimod_classic_open; input 1214 drivers/hid/hid-wiimote-modules.c wdata->extension.input->close = wiimod_classic_close; input 1215 drivers/hid/hid-wiimote-modules.c wdata->extension.input->dev.parent = &wdata->hdev->dev; input 1216 drivers/hid/hid-wiimote-modules.c wdata->extension.input->id.bustype = wdata->hdev->bus; input 1217 drivers/hid/hid-wiimote-modules.c wdata->extension.input->id.vendor = wdata->hdev->vendor; input 1218 drivers/hid/hid-wiimote-modules.c wdata->extension.input->id.product = wdata->hdev->product; input 1219 drivers/hid/hid-wiimote-modules.c wdata->extension.input->id.version = wdata->hdev->version; input 1220 drivers/hid/hid-wiimote-modules.c wdata->extension.input->name = WIIMOTE_NAME " Classic Controller"; input 1222 drivers/hid/hid-wiimote-modules.c set_bit(EV_KEY, wdata->extension.input->evbit); input 1225 drivers/hid/hid-wiimote-modules.c wdata->extension.input->keybit); input 1227 drivers/hid/hid-wiimote-modules.c set_bit(EV_ABS, wdata->extension.input->evbit); input 1228 drivers/hid/hid-wiimote-modules.c set_bit(ABS_HAT1X, wdata->extension.input->absbit); input 1229 drivers/hid/hid-wiimote-modules.c set_bit(ABS_HAT1Y, wdata->extension.input->absbit); input 1230 drivers/hid/hid-wiimote-modules.c set_bit(ABS_HAT2X, wdata->extension.input->absbit); input 1231 drivers/hid/hid-wiimote-modules.c set_bit(ABS_HAT2Y, wdata->extension.input->absbit); input 1232 drivers/hid/hid-wiimote-modules.c set_bit(ABS_HAT3X, wdata->extension.input->absbit); input 1233 drivers/hid/hid-wiimote-modules.c set_bit(ABS_HAT3Y, wdata->extension.input->absbit); input 1234 drivers/hid/hid-wiimote-modules.c input_set_abs_params(wdata->extension.input, input 1236 drivers/hid/hid-wiimote-modules.c input_set_abs_params(wdata->extension.input, input 1238 drivers/hid/hid-wiimote-modules.c input_set_abs_params(wdata->extension.input, input 1240 drivers/hid/hid-wiimote-modules.c input_set_abs_params(wdata->extension.input, input 1242 drivers/hid/hid-wiimote-modules.c input_set_abs_params(wdata->extension.input, input 1244 drivers/hid/hid-wiimote-modules.c input_set_abs_params(wdata->extension.input, input 1247 drivers/hid/hid-wiimote-modules.c ret = input_register_device(wdata->extension.input); input 1254 drivers/hid/hid-wiimote-modules.c input_free_device(wdata->extension.input); input 1255 drivers/hid/hid-wiimote-modules.c wdata->extension.input = NULL; input 1262 drivers/hid/hid-wiimote-modules.c if (!wdata->extension.input) input 1265 drivers/hid/hid-wiimote-modules.c input_unregister_device(wdata->extension.input); input 1266 drivers/hid/hid-wiimote-modules.c wdata->extension.input = NULL; input 1292 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, BTN_A, input 1294 drivers/hid/hid-wiimote-modules.c input_sync(wdata->extension.input); input 1363 drivers/hid/hid-wiimote-modules.c input_report_abs(wdata->extension.input, ABS_HAT0X, val[0]); input 1364 drivers/hid/hid-wiimote-modules.c input_report_abs(wdata->extension.input, ABS_HAT0Y, val[1]); input 1365 drivers/hid/hid-wiimote-modules.c input_report_abs(wdata->extension.input, ABS_HAT1X, val[2]); input 1366 drivers/hid/hid-wiimote-modules.c input_report_abs(wdata->extension.input, ABS_HAT1Y, val[3]); input 1367 drivers/hid/hid-wiimote-modules.c input_sync(wdata->extension.input); input 1479 drivers/hid/hid-wiimote-modules.c wdata->extension.input = input_allocate_device(); input 1480 drivers/hid/hid-wiimote-modules.c if (!wdata->extension.input) input 1490 drivers/hid/hid-wiimote-modules.c input_set_drvdata(wdata->extension.input, wdata); input 1491 drivers/hid/hid-wiimote-modules.c wdata->extension.input->open = wiimod_bboard_open; input 1492 drivers/hid/hid-wiimote-modules.c wdata->extension.input->close = wiimod_bboard_close; input 1493 drivers/hid/hid-wiimote-modules.c wdata->extension.input->dev.parent = &wdata->hdev->dev; input 1494 drivers/hid/hid-wiimote-modules.c wdata->extension.input->id.bustype = wdata->hdev->bus; input 1495 drivers/hid/hid-wiimote-modules.c wdata->extension.input->id.vendor = wdata->hdev->vendor; input 1496 drivers/hid/hid-wiimote-modules.c wdata->extension.input->id.product = wdata->hdev->product; input 1497 drivers/hid/hid-wiimote-modules.c wdata->extension.input->id.version = wdata->hdev->version; input 1498 drivers/hid/hid-wiimote-modules.c wdata->extension.input->name = WIIMOTE_NAME " Balance Board"; input 1500 drivers/hid/hid-wiimote-modules.c set_bit(EV_KEY, wdata->extension.input->evbit); input 1501 drivers/hid/hid-wiimote-modules.c set_bit(BTN_A, wdata->extension.input->keybit); input 1503 drivers/hid/hid-wiimote-modules.c set_bit(EV_ABS, wdata->extension.input->evbit); input 1504 drivers/hid/hid-wiimote-modules.c set_bit(ABS_HAT0X, wdata->extension.input->absbit); input 1505 drivers/hid/hid-wiimote-modules.c set_bit(ABS_HAT0Y, wdata->extension.input->absbit); input 1506 drivers/hid/hid-wiimote-modules.c set_bit(ABS_HAT1X, wdata->extension.input->absbit); input 1507 drivers/hid/hid-wiimote-modules.c set_bit(ABS_HAT1Y, wdata->extension.input->absbit); input 1508 drivers/hid/hid-wiimote-modules.c input_set_abs_params(wdata->extension.input, input 1510 drivers/hid/hid-wiimote-modules.c input_set_abs_params(wdata->extension.input, input 1512 drivers/hid/hid-wiimote-modules.c input_set_abs_params(wdata->extension.input, input 1514 drivers/hid/hid-wiimote-modules.c input_set_abs_params(wdata->extension.input, input 1517 drivers/hid/hid-wiimote-modules.c ret = input_register_device(wdata->extension.input); input 1527 drivers/hid/hid-wiimote-modules.c input_free_device(wdata->extension.input); input 1528 drivers/hid/hid-wiimote-modules.c wdata->extension.input = NULL; input 1535 drivers/hid/hid-wiimote-modules.c if (!wdata->extension.input) input 1538 drivers/hid/hid-wiimote-modules.c input_unregister_device(wdata->extension.input); input 1539 drivers/hid/hid-wiimote-modules.c wdata->extension.input = NULL; input 1683 drivers/hid/hid-wiimote-modules.c input_report_abs(wdata->extension.input, ABS_X, lx); input 1684 drivers/hid/hid-wiimote-modules.c input_report_abs(wdata->extension.input, ABS_Y, ly); input 1685 drivers/hid/hid-wiimote-modules.c input_report_abs(wdata->extension.input, ABS_RX, rx); input 1686 drivers/hid/hid-wiimote-modules.c input_report_abs(wdata->extension.input, ABS_RY, ry); input 1688 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 1691 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 1694 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 1697 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 1700 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 1703 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 1706 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 1710 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 1713 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 1716 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 1719 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 1722 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 1725 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 1728 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 1731 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 1735 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 1738 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 1742 drivers/hid/hid-wiimote-modules.c input_sync(wdata->extension.input); input 1859 drivers/hid/hid-wiimote-modules.c wdata->extension.input = input_allocate_device(); input 1860 drivers/hid/hid-wiimote-modules.c if (!wdata->extension.input) input 1863 drivers/hid/hid-wiimote-modules.c set_bit(FF_RUMBLE, wdata->extension.input->ffbit); input 1864 drivers/hid/hid-wiimote-modules.c input_set_drvdata(wdata->extension.input, wdata); input 1866 drivers/hid/hid-wiimote-modules.c if (input_ff_create_memless(wdata->extension.input, NULL, input 1879 drivers/hid/hid-wiimote-modules.c wdata->extension.input->open = wiimod_pro_open; input 1880 drivers/hid/hid-wiimote-modules.c wdata->extension.input->close = wiimod_pro_close; input 1881 drivers/hid/hid-wiimote-modules.c wdata->extension.input->dev.parent = &wdata->hdev->dev; input 1882 drivers/hid/hid-wiimote-modules.c wdata->extension.input->id.bustype = wdata->hdev->bus; input 1883 drivers/hid/hid-wiimote-modules.c wdata->extension.input->id.vendor = wdata->hdev->vendor; input 1884 drivers/hid/hid-wiimote-modules.c wdata->extension.input->id.product = wdata->hdev->product; input 1885 drivers/hid/hid-wiimote-modules.c wdata->extension.input->id.version = wdata->hdev->version; input 1886 drivers/hid/hid-wiimote-modules.c wdata->extension.input->name = WIIMOTE_NAME " Pro Controller"; input 1888 drivers/hid/hid-wiimote-modules.c set_bit(EV_KEY, wdata->extension.input->evbit); input 1891 drivers/hid/hid-wiimote-modules.c wdata->extension.input->keybit); input 1893 drivers/hid/hid-wiimote-modules.c set_bit(EV_ABS, wdata->extension.input->evbit); input 1894 drivers/hid/hid-wiimote-modules.c set_bit(ABS_X, wdata->extension.input->absbit); input 1895 drivers/hid/hid-wiimote-modules.c set_bit(ABS_Y, wdata->extension.input->absbit); input 1896 drivers/hid/hid-wiimote-modules.c set_bit(ABS_RX, wdata->extension.input->absbit); input 1897 drivers/hid/hid-wiimote-modules.c set_bit(ABS_RY, wdata->extension.input->absbit); input 1898 drivers/hid/hid-wiimote-modules.c input_set_abs_params(wdata->extension.input, input 1900 drivers/hid/hid-wiimote-modules.c input_set_abs_params(wdata->extension.input, input 1902 drivers/hid/hid-wiimote-modules.c input_set_abs_params(wdata->extension.input, input 1904 drivers/hid/hid-wiimote-modules.c input_set_abs_params(wdata->extension.input, input 1907 drivers/hid/hid-wiimote-modules.c ret = input_register_device(wdata->extension.input); input 1917 drivers/hid/hid-wiimote-modules.c input_free_device(wdata->extension.input); input 1918 drivers/hid/hid-wiimote-modules.c wdata->extension.input = NULL; input 1927 drivers/hid/hid-wiimote-modules.c if (!wdata->extension.input) input 1930 drivers/hid/hid-wiimote-modules.c input_unregister_device(wdata->extension.input); input 1931 drivers/hid/hid-wiimote-modules.c wdata->extension.input = NULL; input 1968 drivers/hid/hid-wiimote-modules.c input_report_abs(wdata->extension.input, code, *store); input 1971 drivers/hid/hid-wiimote-modules.c input_report_abs(wdata->extension.input, code, *store); input 2056 drivers/hid/hid-wiimote-modules.c input_report_abs(wdata->extension.input, ABS_X, sx - 0x20); input 2057 drivers/hid/hid-wiimote-modules.c input_report_abs(wdata->extension.input, ABS_Y, sy - 0x20); input 2059 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, BTN_START, bp); input 2060 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, BTN_SELECT, bm); input 2062 drivers/hid/hid-wiimote-modules.c input_sync(wdata->extension.input); input 2094 drivers/hid/hid-wiimote-modules.c wdata->extension.input = input_allocate_device(); input 2095 drivers/hid/hid-wiimote-modules.c if (!wdata->extension.input) input 2098 drivers/hid/hid-wiimote-modules.c input_set_drvdata(wdata->extension.input, wdata); input 2099 drivers/hid/hid-wiimote-modules.c wdata->extension.input->open = wiimod_drums_open; input 2100 drivers/hid/hid-wiimote-modules.c wdata->extension.input->close = wiimod_drums_close; input 2101 drivers/hid/hid-wiimote-modules.c wdata->extension.input->dev.parent = &wdata->hdev->dev; input 2102 drivers/hid/hid-wiimote-modules.c wdata->extension.input->id.bustype = wdata->hdev->bus; input 2103 drivers/hid/hid-wiimote-modules.c wdata->extension.input->id.vendor = wdata->hdev->vendor; input 2104 drivers/hid/hid-wiimote-modules.c wdata->extension.input->id.product = wdata->hdev->product; input 2105 drivers/hid/hid-wiimote-modules.c wdata->extension.input->id.version = wdata->hdev->version; input 2106 drivers/hid/hid-wiimote-modules.c wdata->extension.input->name = WIIMOTE_NAME " Drums"; input 2108 drivers/hid/hid-wiimote-modules.c set_bit(EV_KEY, wdata->extension.input->evbit); input 2109 drivers/hid/hid-wiimote-modules.c set_bit(BTN_START, wdata->extension.input->keybit); input 2110 drivers/hid/hid-wiimote-modules.c set_bit(BTN_SELECT, wdata->extension.input->keybit); input 2112 drivers/hid/hid-wiimote-modules.c set_bit(EV_ABS, wdata->extension.input->evbit); input 2113 drivers/hid/hid-wiimote-modules.c set_bit(ABS_X, wdata->extension.input->absbit); input 2114 drivers/hid/hid-wiimote-modules.c set_bit(ABS_Y, wdata->extension.input->absbit); input 2115 drivers/hid/hid-wiimote-modules.c set_bit(ABS_HAT0X, wdata->extension.input->absbit); input 2116 drivers/hid/hid-wiimote-modules.c set_bit(ABS_HAT0Y, wdata->extension.input->absbit); input 2117 drivers/hid/hid-wiimote-modules.c set_bit(ABS_HAT1X, wdata->extension.input->absbit); input 2118 drivers/hid/hid-wiimote-modules.c set_bit(ABS_HAT2X, wdata->extension.input->absbit); input 2119 drivers/hid/hid-wiimote-modules.c set_bit(ABS_HAT2Y, wdata->extension.input->absbit); input 2120 drivers/hid/hid-wiimote-modules.c set_bit(ABS_HAT3X, wdata->extension.input->absbit); input 2121 drivers/hid/hid-wiimote-modules.c set_bit(ABS_HAT3Y, wdata->extension.input->absbit); input 2122 drivers/hid/hid-wiimote-modules.c input_set_abs_params(wdata->extension.input, input 2124 drivers/hid/hid-wiimote-modules.c input_set_abs_params(wdata->extension.input, input 2126 drivers/hid/hid-wiimote-modules.c input_set_abs_params(wdata->extension.input, input 2128 drivers/hid/hid-wiimote-modules.c input_set_abs_params(wdata->extension.input, input 2130 drivers/hid/hid-wiimote-modules.c input_set_abs_params(wdata->extension.input, input 2132 drivers/hid/hid-wiimote-modules.c input_set_abs_params(wdata->extension.input, input 2134 drivers/hid/hid-wiimote-modules.c input_set_abs_params(wdata->extension.input, input 2136 drivers/hid/hid-wiimote-modules.c input_set_abs_params(wdata->extension.input, input 2138 drivers/hid/hid-wiimote-modules.c input_set_abs_params(wdata->extension.input, input 2141 drivers/hid/hid-wiimote-modules.c ret = input_register_device(wdata->extension.input); input 2148 drivers/hid/hid-wiimote-modules.c input_free_device(wdata->extension.input); input 2149 drivers/hid/hid-wiimote-modules.c wdata->extension.input = NULL; input 2156 drivers/hid/hid-wiimote-modules.c if (!wdata->extension.input) input 2159 drivers/hid/hid-wiimote-modules.c input_unregister_device(wdata->extension.input); input 2160 drivers/hid/hid-wiimote-modules.c wdata->extension.input = NULL; input 2259 drivers/hid/hid-wiimote-modules.c input_report_abs(wdata->extension.input, ABS_X, sx - 0x20); input 2260 drivers/hid/hid-wiimote-modules.c input_report_abs(wdata->extension.input, ABS_Y, sy - 0x20); input 2261 drivers/hid/hid-wiimote-modules.c input_report_abs(wdata->extension.input, ABS_HAT0X, tb); input 2262 drivers/hid/hid-wiimote-modules.c input_report_abs(wdata->extension.input, ABS_HAT1X, wb - 0x10); input 2264 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 2267 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 2270 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 2273 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 2276 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 2279 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 2282 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 2285 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 2288 drivers/hid/hid-wiimote-modules.c input_report_key(wdata->extension.input, input 2292 drivers/hid/hid-wiimote-modules.c input_sync(wdata->extension.input); input 2324 drivers/hid/hid-wiimote-modules.c wdata->extension.input = input_allocate_device(); input 2325 drivers/hid/hid-wiimote-modules.c if (!wdata->extension.input) input 2328 drivers/hid/hid-wiimote-modules.c input_set_drvdata(wdata->extension.input, wdata); input 2329 drivers/hid/hid-wiimote-modules.c wdata->extension.input->open = wiimod_guitar_open; input 2330 drivers/hid/hid-wiimote-modules.c wdata->extension.input->close = wiimod_guitar_close; input 2331 drivers/hid/hid-wiimote-modules.c wdata->extension.input->dev.parent = &wdata->hdev->dev; input 2332 drivers/hid/hid-wiimote-modules.c wdata->extension.input->id.bustype = wdata->hdev->bus; input 2333 drivers/hid/hid-wiimote-modules.c wdata->extension.input->id.vendor = wdata->hdev->vendor; input 2334 drivers/hid/hid-wiimote-modules.c wdata->extension.input->id.product = wdata->hdev->product; input 2335 drivers/hid/hid-wiimote-modules.c wdata->extension.input->id.version = wdata->hdev->version; input 2336 drivers/hid/hid-wiimote-modules.c wdata->extension.input->name = WIIMOTE_NAME " Guitar"; input 2338 drivers/hid/hid-wiimote-modules.c set_bit(EV_KEY, wdata->extension.input->evbit); input 2341 drivers/hid/hid-wiimote-modules.c wdata->extension.input->keybit); input 2343 drivers/hid/hid-wiimote-modules.c set_bit(EV_ABS, wdata->extension.input->evbit); input 2344 drivers/hid/hid-wiimote-modules.c set_bit(ABS_X, wdata->extension.input->absbit); input 2345 drivers/hid/hid-wiimote-modules.c set_bit(ABS_Y, wdata->extension.input->absbit); input 2346 drivers/hid/hid-wiimote-modules.c set_bit(ABS_HAT0X, wdata->extension.input->absbit); input 2347 drivers/hid/hid-wiimote-modules.c set_bit(ABS_HAT1X, wdata->extension.input->absbit); input 2348 drivers/hid/hid-wiimote-modules.c input_set_abs_params(wdata->extension.input, input 2350 drivers/hid/hid-wiimote-modules.c input_set_abs_params(wdata->extension.input, input 2352 drivers/hid/hid-wiimote-modules.c input_set_abs_params(wdata->extension.input, input 2354 drivers/hid/hid-wiimote-modules.c input_set_abs_params(wdata->extension.input, input 2357 drivers/hid/hid-wiimote-modules.c ret = input_register_device(wdata->extension.input); input 2364 drivers/hid/hid-wiimote-modules.c input_free_device(wdata->extension.input); input 2365 drivers/hid/hid-wiimote-modules.c wdata->extension.input = NULL; input 2372 drivers/hid/hid-wiimote-modules.c if (!wdata->extension.input) input 2375 drivers/hid/hid-wiimote-modules.c input_unregister_device(wdata->extension.input); input 2376 drivers/hid/hid-wiimote-modules.c wdata->extension.input = NULL; input 145 drivers/hid/hid-wiimote.h struct input_dev *input; input 157 drivers/hid/hid-wiimote.h struct input_dev *input; input 34 drivers/hid/hid-xinmo.c input_event(field->hidinput->input, usage->type, input 66 drivers/hid/hid-zpff.c dev = hidinput->input; input 51 drivers/hid/hid-zydacron.c zc->input_ep81 = hi->input; input 578 drivers/hid/uhid.c hid_input_report(uhid->hid, HID_INPUT_REPORT, ev->u.input.data, input 579 drivers/hid/uhid.c min_t(size_t, ev->u.input.size, UHID_DATA_MAX), 0); input 1231 drivers/hid/usbhid/hid-pidff.c struct input_dev *dev = hidinput->input; input 152 drivers/hid/wacom.h struct input_dev *input; input 2546 drivers/hid/wacom_sys.c remote->remotes[index].input = wacom_allocate_input(wacom); input 2547 drivers/hid/wacom_sys.c if (!remote->remotes[index].input) { input 2551 drivers/hid/wacom_sys.c remote->remotes[index].input->uniq = remote->remotes[index].group.name; input 2552 drivers/hid/wacom_sys.c remote->remotes[index].input->name = wacom->wacom_wac.pad_name; input 2554 drivers/hid/wacom_sys.c if (!remote->remotes[index].input->name) { input 2559 drivers/hid/wacom_sys.c error = wacom_setup_pad_input_capabilities(remote->remotes[index].input, input 2566 drivers/hid/wacom_sys.c error = input_register_device(remote->remotes[index].input); input 2571 drivers/hid/wacom_sys.c &remote->remotes[index].input->dev, input 91 drivers/hid/wacom_wac.c struct input_dev *input = wacom->pen_input; input 98 drivers/hid/wacom_wac.c input_report_key(input, wacom->tool[0], 1); input 99 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MISC, wacom->id[0]); /* report tool id */ input 100 drivers/hid/wacom_wac.c input_report_abs(input, ABS_X, get_unaligned_le16(&data[1])); input 101 drivers/hid/wacom_wac.c input_report_abs(input, ABS_Y, get_unaligned_le16(&data[3])); input 102 drivers/hid/wacom_wac.c input_report_abs(input, ABS_PRESSURE, (signed char)data[6] + 127); input 103 drivers/hid/wacom_wac.c input_report_key(input, BTN_TOUCH, ((signed char)data[6] > -127)); input 104 drivers/hid/wacom_wac.c input_report_key(input, BTN_STYLUS, (data[5] & 0x40)); input 106 drivers/hid/wacom_wac.c input_report_key(input, wacom->tool[0], 0); input 107 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MISC, 0); /* report tool id */ input 108 drivers/hid/wacom_wac.c input_report_abs(input, ABS_PRESSURE, -1); input 109 drivers/hid/wacom_wac.c input_report_key(input, BTN_TOUCH, 0); input 114 drivers/hid/wacom_wac.c input_report_key(input, BTN_TOOL_PEN, 1); input 115 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MISC, STYLUS_DEVICE_ID); /* report tool id */ input 116 drivers/hid/wacom_wac.c input_report_abs(input, ABS_X, get_unaligned_le16(&data[1])); input 117 drivers/hid/wacom_wac.c input_report_abs(input, ABS_Y, get_unaligned_le16(&data[3])); input 118 drivers/hid/wacom_wac.c input_report_abs(input, ABS_PRESSURE, (signed char)data[6] + 127); input 119 drivers/hid/wacom_wac.c input_report_key(input, BTN_TOUCH, ((signed char)data[6] > -80) && !(data[5] & 0x20)); input 120 drivers/hid/wacom_wac.c input_report_key(input, BTN_STYLUS, (data[5] & 0x40)); input 124 drivers/hid/wacom_wac.c dev_dbg(input->dev.parent, input 136 drivers/hid/wacom_wac.c struct input_dev *input = wacom->pen_input; input 140 drivers/hid/wacom_wac.c dev_dbg(input->dev.parent, input 163 drivers/hid/wacom_wac.c input_report_key(input, BTN_TOOL_RUBBER, 0); input 164 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MISC, 0); input 165 drivers/hid/wacom_wac.c input_sync(input); input 176 drivers/hid/wacom_wac.c input_report_abs(input, ABS_X, data[3] | (data[2] << 7) | ((data[1] & 0x03) << 14)); input 177 drivers/hid/wacom_wac.c input_report_abs(input, ABS_Y, data[6] | (data[5] << 7) | ((data[4] & 0x03) << 14)); input 178 drivers/hid/wacom_wac.c input_report_abs(input, ABS_PRESSURE, pressure); input 180 drivers/hid/wacom_wac.c input_report_key(input, BTN_TOUCH, data[4] & 0x08); input 181 drivers/hid/wacom_wac.c input_report_key(input, BTN_STYLUS, data[4] & 0x10); input 183 drivers/hid/wacom_wac.c input_report_key(input, BTN_STYLUS2, (wacom->tool[0] == BTN_TOOL_PEN) && (data[4] & 0x20)); input 188 drivers/hid/wacom_wac.c input_report_key(input, wacom->tool[0], prox); input 189 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MISC, wacom->id[0]); input 196 drivers/hid/wacom_wac.c struct input_dev *input = wacom->pen_input; input 199 drivers/hid/wacom_wac.c dev_dbg(input->dev.parent, input 205 drivers/hid/wacom_wac.c input_report_key(input, BTN_TOOL_RUBBER, data[1] & 0x20); input 206 drivers/hid/wacom_wac.c input_report_key(input, BTN_TOUCH, data[1] & 0x08); input 209 drivers/hid/wacom_wac.c input_report_key(input, BTN_TOOL_PEN, data[1] & 0x20); input 210 drivers/hid/wacom_wac.c input_report_key(input, BTN_TOUCH, data[1] & 0x01); input 213 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MISC, wacom->id[0]); /* report tool id */ input 214 drivers/hid/wacom_wac.c input_report_abs(input, ABS_X, le16_to_cpup((__le16 *)&data[2])); input 215 drivers/hid/wacom_wac.c input_report_abs(input, ABS_Y, le16_to_cpup((__le16 *)&data[4])); input 216 drivers/hid/wacom_wac.c input_report_abs(input, ABS_PRESSURE, le16_to_cpup((__le16 *)&data[6])); input 217 drivers/hid/wacom_wac.c input_report_key(input, BTN_STYLUS, data[1] & 0x02); input 218 drivers/hid/wacom_wac.c input_report_key(input, BTN_STYLUS2, data[1] & 0x10); input 225 drivers/hid/wacom_wac.c struct input_dev *input = wacom->pen_input; input 228 drivers/hid/wacom_wac.c dev_dbg(input->dev.parent, input 239 drivers/hid/wacom_wac.c input_report_key(input, BTN_STYLUS, data[1] & 0x02); input 240 drivers/hid/wacom_wac.c input_report_key(input, BTN_STYLUS2, data[1] & 0x10); input 241 drivers/hid/wacom_wac.c input_report_abs(input, ABS_X, le16_to_cpup((__le16 *)&data[2])); input 242 drivers/hid/wacom_wac.c input_report_abs(input, ABS_Y, le16_to_cpup((__le16 *)&data[4])); input 243 drivers/hid/wacom_wac.c input_report_abs(input, ABS_PRESSURE, ((data[7] & 0x01) << 8) | data[6]); input 244 drivers/hid/wacom_wac.c input_report_key(input, BTN_TOUCH, data[1] & 0x05); input 247 drivers/hid/wacom_wac.c input_report_key(input, wacom->tool[0], prox); input 248 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MISC, wacom->id[0]); input 255 drivers/hid/wacom_wac.c struct input_dev *input = wacom->pen_input; input 259 drivers/hid/wacom_wac.c dev_dbg(input->dev.parent, input 263 drivers/hid/wacom_wac.c input = wacom->pad_input; input 264 drivers/hid/wacom_wac.c input_report_key(input, BTN_0, (data[1] & 0x01)); input 265 drivers/hid/wacom_wac.c input_report_key(input, BTN_1, (data[1] & 0x02)); input 266 drivers/hid/wacom_wac.c input_report_key(input, BTN_2, (data[1] & 0x04)); input 267 drivers/hid/wacom_wac.c input_report_key(input, BTN_3, (data[1] & 0x08)); input 268 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MISC, input 287 drivers/hid/wacom_wac.c input_report_key(input, BTN_STYLUS, data[1] & 0x20); input 288 drivers/hid/wacom_wac.c input_report_key(input, BTN_STYLUS2, data[1] & 0x40); input 289 drivers/hid/wacom_wac.c input_report_abs(input, ABS_X, get_unaligned_be16(&data[3])); input 290 drivers/hid/wacom_wac.c input_report_abs(input, ABS_Y, get_unaligned_be16(&data[5])); input 292 drivers/hid/wacom_wac.c input_report_abs(input, ABS_PRESSURE, pressure); input 293 drivers/hid/wacom_wac.c input_report_key(input, BTN_TOUCH, pressure > 10); input 297 drivers/hid/wacom_wac.c input_report_key(input, wacom->tool[0], prox); input 298 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MISC, wacom->id[0]); input 307 drivers/hid/wacom_wac.c struct input_dev *input = wacom->pen_input; input 316 drivers/hid/wacom_wac.c dev_dbg(input->dev.parent, input 322 drivers/hid/wacom_wac.c dev_dbg(input->dev.parent, input 343 drivers/hid/wacom_wac.c input_report_key(input, BTN_MIDDLE, data[1] & 0x04); input 352 drivers/hid/wacom_wac.c input_report_abs(input, ABS_X, le16_to_cpup((__le16 *)&data[2])); input 353 drivers/hid/wacom_wac.c input_report_abs(input, ABS_Y, le16_to_cpup((__le16 *)&data[4])); input 356 drivers/hid/wacom_wac.c input_report_abs(input, ABS_PRESSURE, data[6] | input 359 drivers/hid/wacom_wac.c input_report_abs(input, ABS_PRESSURE, data[6] | input 361 drivers/hid/wacom_wac.c input_report_key(input, BTN_TOUCH, data[1] & 0x01); input 362 drivers/hid/wacom_wac.c input_report_key(input, BTN_STYLUS, data[1] & 0x02); input 363 drivers/hid/wacom_wac.c input_report_key(input, BTN_STYLUS2, data[1] & 0x04); input 365 drivers/hid/wacom_wac.c input_report_key(input, BTN_LEFT, data[1] & 0x01); input 366 drivers/hid/wacom_wac.c input_report_key(input, BTN_RIGHT, data[1] & 0x02); input 369 drivers/hid/wacom_wac.c input_report_abs(input, ABS_DISTANCE, data[6] & 0x3f); input 375 drivers/hid/wacom_wac.c input_report_abs(input, ABS_DISTANCE, rw); input 378 drivers/hid/wacom_wac.c input_report_key(input, BTN_MIDDLE, input 386 drivers/hid/wacom_wac.c input_report_abs(input, ABS_DISTANCE, data[7] & 0x3f); input 389 drivers/hid/wacom_wac.c input_report_rel(input, REL_WHEEL, rw); input 394 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MISC, wacom->id[0]); /* report tool id */ input 395 drivers/hid/wacom_wac.c input_report_key(input, wacom->tool[0], prox); input 396 drivers/hid/wacom_wac.c input_sync(input); /* sync last event */ input 479 drivers/hid/wacom_wac.c struct input_dev *input = wacom->pad_input; input 543 drivers/hid/wacom_wac.c input_report_abs(input, ABS_X, be16_to_cpup((__be16 *)&data[4])); input 544 drivers/hid/wacom_wac.c input_report_abs(input, ABS_Y, be16_to_cpup((__be16 *)&data[6])); input 545 drivers/hid/wacom_wac.c input_report_abs(input, ABS_Z, be16_to_cpup((__be16 *)&data[8])); input 605 drivers/hid/wacom_wac.c wacom_report_numbered_buttons(input, nbuttons, buttons); input 608 drivers/hid/wacom_wac.c input_report_key(input, KEY_PROG1 + i, keys & (1 << i)); input 610 drivers/hid/wacom_wac.c input_report_key(input, KEY_BUTTONCONFIG, wrench); input 611 drivers/hid/wacom_wac.c input_report_key(input, KEY_ONSCREEN_KEYBOARD, keyboard); input 612 drivers/hid/wacom_wac.c input_report_key(input, KEY_CONTROLPANEL, menu); input 613 drivers/hid/wacom_wac.c input_report_key(input, KEY_INFO, info); input 622 drivers/hid/wacom_wac.c input_report_abs(input, ABS_RX, strip1); input 623 drivers/hid/wacom_wac.c input_report_abs(input, ABS_RY, strip2); input 625 drivers/hid/wacom_wac.c input_report_abs(input, ABS_WHEEL, (ring1 & 0x80) ? (ring1 & 0x7f) : 0); input 626 drivers/hid/wacom_wac.c input_report_abs(input, ABS_THROTTLE, (ring2 & 0x80) ? (ring2 & 0x7f) : 0); input 628 drivers/hid/wacom_wac.c input_report_key(input, wacom->tool[1], prox ? 1 : 0); input 629 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MISC, prox ? PAD_DEVICE_ID : 0); input 631 drivers/hid/wacom_wac.c input_event(input, EV_MSC, MSC_SERIAL, 0xffffffff); input 731 drivers/hid/wacom_wac.c struct input_dev *input = wacom->pen_input; input 740 drivers/hid/wacom_wac.c input_report_abs(input, ABS_X, 0); input 741 drivers/hid/wacom_wac.c input_report_abs(input, ABS_Y, 0); input 742 drivers/hid/wacom_wac.c input_report_abs(input, ABS_DISTANCE, 0); input 743 drivers/hid/wacom_wac.c input_report_abs(input, ABS_TILT_X, 0); input 744 drivers/hid/wacom_wac.c input_report_abs(input, ABS_TILT_Y, 0); input 746 drivers/hid/wacom_wac.c input_report_key(input, BTN_LEFT, 0); input 747 drivers/hid/wacom_wac.c input_report_key(input, BTN_MIDDLE, 0); input 748 drivers/hid/wacom_wac.c input_report_key(input, BTN_RIGHT, 0); input 749 drivers/hid/wacom_wac.c input_report_key(input, BTN_SIDE, 0); input 750 drivers/hid/wacom_wac.c input_report_key(input, BTN_EXTRA, 0); input 751 drivers/hid/wacom_wac.c input_report_abs(input, ABS_THROTTLE, 0); input 752 drivers/hid/wacom_wac.c input_report_abs(input, ABS_RZ, 0); input 754 drivers/hid/wacom_wac.c input_report_abs(input, ABS_PRESSURE, 0); input 755 drivers/hid/wacom_wac.c input_report_key(input, BTN_STYLUS, 0); input 756 drivers/hid/wacom_wac.c input_report_key(input, BTN_STYLUS2, 0); input 757 drivers/hid/wacom_wac.c input_report_key(input, BTN_TOUCH, 0); input 758 drivers/hid/wacom_wac.c input_report_abs(input, ABS_WHEEL, 0); input 760 drivers/hid/wacom_wac.c input_report_abs(input, ABS_Z, 0); input 762 drivers/hid/wacom_wac.c input_report_key(input, wacom->tool[idx], 0); input 763 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MISC, 0); /* reset tool id */ input 764 drivers/hid/wacom_wac.c input_event(input, EV_MSC, MSC_SERIAL, wacom->serial[idx]); input 772 drivers/hid/wacom_wac.c struct input_dev *input = wacom->pen_input; input 803 drivers/hid/wacom_wac.c input_report_key(input, BTN_TOUCH, 0); input 804 drivers/hid/wacom_wac.c input_report_abs(input, ABS_PRESSURE, 0); input 805 drivers/hid/wacom_wac.c input_report_abs(input, ABS_DISTANCE, wacom->features.distance_max); input 841 drivers/hid/wacom_wac.c struct input_dev *input = wacom->pen_input; input 890 drivers/hid/wacom_wac.c input_report_abs(input, ABS_X, x); input 891 drivers/hid/wacom_wac.c input_report_abs(input, ABS_Y, y); input 892 drivers/hid/wacom_wac.c input_report_abs(input, ABS_DISTANCE, distance); input 903 drivers/hid/wacom_wac.c input_report_abs(input, ABS_PRESSURE, t); input 905 drivers/hid/wacom_wac.c input_report_abs(input, ABS_TILT_X, input 907 drivers/hid/wacom_wac.c input_report_abs(input, ABS_TILT_Y, (data[8] & 0x7f) - 64); input 909 drivers/hid/wacom_wac.c input_report_key(input, BTN_STYLUS, data[1] & 2); input 910 drivers/hid/wacom_wac.c input_report_key(input, BTN_STYLUS2, data[1] & 4); input 911 drivers/hid/wacom_wac.c input_report_key(input, BTN_TOUCH, t > 10); input 916 drivers/hid/wacom_wac.c input_report_abs(input, ABS_WHEEL, input 918 drivers/hid/wacom_wac.c input_report_abs(input, ABS_TILT_X, input 920 drivers/hid/wacom_wac.c input_report_abs(input, ABS_TILT_Y, (data[8] & 0x7f) - 64); input 930 drivers/hid/wacom_wac.c input_report_abs(input, ABS_Z, t); input 934 drivers/hid/wacom_wac.c input_report_abs(input, ABS_RZ, (data[7] & 0x20) ? input 941 drivers/hid/wacom_wac.c input_report_key(input, BTN_LEFT, data[8] & 0x01); input 942 drivers/hid/wacom_wac.c input_report_key(input, BTN_MIDDLE, data[8] & 0x02); input 943 drivers/hid/wacom_wac.c input_report_key(input, BTN_RIGHT, data[8] & 0x04); input 945 drivers/hid/wacom_wac.c input_report_key(input, BTN_SIDE, data[8] & 0x20); input 946 drivers/hid/wacom_wac.c input_report_key(input, BTN_EXTRA, data[8] & 0x10); input 948 drivers/hid/wacom_wac.c input_report_abs(input, ABS_THROTTLE, (data[8] & 0x08) ? -t : t); input 953 drivers/hid/wacom_wac.c input_report_key(input, BTN_LEFT, data[6] & 0x01); input 954 drivers/hid/wacom_wac.c input_report_key(input, BTN_MIDDLE, data[6] & 0x02); input 955 drivers/hid/wacom_wac.c input_report_key(input, BTN_RIGHT, data[6] & 0x04); input 956 drivers/hid/wacom_wac.c input_report_rel(input, REL_WHEEL, ((data[7] & 0x80) >> 7) input 958 drivers/hid/wacom_wac.c input_report_key(input, BTN_SIDE, data[6] & 0x08); input 959 drivers/hid/wacom_wac.c input_report_key(input, BTN_EXTRA, data[6] & 0x10); input 961 drivers/hid/wacom_wac.c input_report_abs(input, ABS_TILT_X, input 963 drivers/hid/wacom_wac.c input_report_abs(input, ABS_TILT_Y, (data[8] & 0x7f) - 64); input 969 drivers/hid/wacom_wac.c input_report_key(input, BTN_LEFT, data[8] & 0x04); input 970 drivers/hid/wacom_wac.c input_report_key(input, BTN_MIDDLE, data[8] & 0x08); input 971 drivers/hid/wacom_wac.c input_report_key(input, BTN_RIGHT, data[8] & 0x10); input 972 drivers/hid/wacom_wac.c input_report_rel(input, REL_WHEEL, (data[8] & 0x01) input 977 drivers/hid/wacom_wac.c input_report_key(input, BTN_SIDE, data[8] & 0x40); input 978 drivers/hid/wacom_wac.c input_report_key(input, BTN_EXTRA, data[8] & 0x20); input 983 drivers/hid/wacom_wac.c input_report_key(input, BTN_LEFT, data[8] & 0x01); input 984 drivers/hid/wacom_wac.c input_report_key(input, BTN_MIDDLE, data[8] & 0x02); input 985 drivers/hid/wacom_wac.c input_report_key(input, BTN_RIGHT, data[8] & 0x04); input 986 drivers/hid/wacom_wac.c input_report_key(input, BTN_SIDE, data[8] & 0x10); input 987 drivers/hid/wacom_wac.c input_report_key(input, BTN_EXTRA, data[8] & 0x08); input 1002 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MISC, input 1004 drivers/hid/wacom_wac.c input_report_key(input, wacom->tool[idx], 1); input 1005 drivers/hid/wacom_wac.c input_event(input, EV_MSC, MSC_SERIAL, wacom->serial[idx]); input 1013 drivers/hid/wacom_wac.c struct input_dev *input = wacom->pen_input; input 1024 drivers/hid/wacom_wac.c dev_dbg(input->dev.parent, input 1050 drivers/hid/wacom_wac.c struct input_dev *input; input 1079 drivers/hid/wacom_wac.c input = remote->remotes[index].input; input 1081 drivers/hid/wacom_wac.c input_report_key(input, BTN_0, (data[9] & 0x01)); input 1082 drivers/hid/wacom_wac.c input_report_key(input, BTN_1, (data[9] & 0x02)); input 1083 drivers/hid/wacom_wac.c input_report_key(input, BTN_2, (data[9] & 0x04)); input 1084 drivers/hid/wacom_wac.c input_report_key(input, BTN_3, (data[9] & 0x08)); input 1085 drivers/hid/wacom_wac.c input_report_key(input, BTN_4, (data[9] & 0x10)); input 1086 drivers/hid/wacom_wac.c input_report_key(input, BTN_5, (data[9] & 0x20)); input 1087 drivers/hid/wacom_wac.c input_report_key(input, BTN_6, (data[9] & 0x40)); input 1088 drivers/hid/wacom_wac.c input_report_key(input, BTN_7, (data[9] & 0x80)); input 1090 drivers/hid/wacom_wac.c input_report_key(input, BTN_8, (data[10] & 0x01)); input 1091 drivers/hid/wacom_wac.c input_report_key(input, BTN_9, (data[10] & 0x02)); input 1092 drivers/hid/wacom_wac.c input_report_key(input, BTN_A, (data[10] & 0x04)); input 1093 drivers/hid/wacom_wac.c input_report_key(input, BTN_B, (data[10] & 0x08)); input 1094 drivers/hid/wacom_wac.c input_report_key(input, BTN_C, (data[10] & 0x10)); input 1095 drivers/hid/wacom_wac.c input_report_key(input, BTN_X, (data[10] & 0x20)); input 1096 drivers/hid/wacom_wac.c input_report_key(input, BTN_Y, (data[10] & 0x40)); input 1097 drivers/hid/wacom_wac.c input_report_key(input, BTN_Z, (data[10] & 0x80)); input 1099 drivers/hid/wacom_wac.c input_report_key(input, BTN_BASE, (data[11] & 0x01)); input 1100 drivers/hid/wacom_wac.c input_report_key(input, BTN_BASE2, (data[11] & 0x02)); input 1103 drivers/hid/wacom_wac.c input_report_abs(input, ABS_WHEEL, (data[12] & 0x7f) - 1); input 1105 drivers/hid/wacom_wac.c input_report_abs(input, ABS_WHEEL, 0); input 1111 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MISC, PAD_DEVICE_ID); input 1113 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MISC, 0); input 1115 drivers/hid/wacom_wac.c input_event(input, EV_MSC, MSC_SERIAL, serial); input 1117 drivers/hid/wacom_wac.c input_sync(input); input 1230 drivers/hid/wacom_wac.c struct input_dev *input = wacom->touch_input; input 1239 drivers/hid/wacom_wac.c return test_bit(BTN_TOUCH, input->key) && input 1242 drivers/hid/wacom_wac.c for (i = 0; i < input->mt->num_slots; i++) { input 1243 drivers/hid/wacom_wac.c struct input_mt_slot *ps = &input->mt->slots[i]; input 1519 drivers/hid/wacom_wac.c struct input_dev *input = wacom->touch_input; input 1553 drivers/hid/wacom_wac.c int slot = input_mt_get_slot_by_key(input, data[offset + 1]); input 1557 drivers/hid/wacom_wac.c input_mt_slot(input, slot); input 1558 drivers/hid/wacom_wac.c input_mt_report_slot_state(input, MT_TOOL_FINGER, touch); input 1564 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MT_POSITION_X, t_x); input 1565 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MT_POSITION_Y, t_y); input 1573 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MT_TOUCH_MAJOR, min(w,h)); input 1574 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MT_WIDTH_MAJOR, input 1576 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MT_WIDTH_MINOR, min(w, h)); input 1577 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MT_ORIENTATION, w > h); input 1581 drivers/hid/wacom_wac.c input_mt_sync_frame(input); input 1593 drivers/hid/wacom_wac.c struct input_dev *input = wacom->touch_input; input 1618 drivers/hid/wacom_wac.c int slot = input_mt_get_slot_by_key(input, id); input 1623 drivers/hid/wacom_wac.c input_mt_slot(input, slot); input 1624 drivers/hid/wacom_wac.c input_mt_report_slot_state(input, MT_TOOL_FINGER, touch); input 1628 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MT_POSITION_X, x); input 1629 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MT_POSITION_Y, y); input 1632 drivers/hid/wacom_wac.c input_mt_sync_frame(input); input 1644 drivers/hid/wacom_wac.c struct input_dev *input = wacom->touch_input; input 1652 drivers/hid/wacom_wac.c input_mt_slot(input, i); input 1653 drivers/hid/wacom_wac.c input_mt_report_slot_state(input, MT_TOOL_FINGER, touch); input 1658 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MT_POSITION_X, x); input 1659 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MT_POSITION_Y, y); input 1662 drivers/hid/wacom_wac.c input_mt_sync_frame(input); input 1673 drivers/hid/wacom_wac.c struct input_dev *input = wacom->touch_input; input 1695 drivers/hid/wacom_wac.c input_report_abs(input, ABS_X, x); input 1696 drivers/hid/wacom_wac.c input_report_abs(input, ABS_Y, y); input 1698 drivers/hid/wacom_wac.c input_report_key(input, BTN_TOUCH, prox); input 1709 drivers/hid/wacom_wac.c struct input_dev *input = wacom->pen_input; input 1723 drivers/hid/wacom_wac.c input_report_key(input, BTN_STYLUS, data[1] & 0x02); input 1724 drivers/hid/wacom_wac.c input_report_key(input, BTN_STYLUS2, data[1] & 0x10); input 1725 drivers/hid/wacom_wac.c input_report_abs(input, ABS_X, le16_to_cpup((__le16 *)&data[2])); input 1726 drivers/hid/wacom_wac.c input_report_abs(input, ABS_Y, le16_to_cpup((__le16 *)&data[4])); input 1727 drivers/hid/wacom_wac.c input_report_abs(input, ABS_PRESSURE, ((data[7] & 0x07) << 8) | data[6]); input 1728 drivers/hid/wacom_wac.c input_report_key(input, BTN_TOUCH, data[1] & 0x05); input 1729 drivers/hid/wacom_wac.c input_report_key(input, wacom->tool[0], prox); input 1778 drivers/hid/wacom_wac.c static int wacom_offset_rotation(struct input_dev *input, struct hid_usage *usage, input 1781 drivers/hid/wacom_wac.c struct input_absinfo *abs = &input->absinfo[usage->code]; input 1836 drivers/hid/wacom_wac.c static void wacom_map_usage(struct input_dev *input, struct hid_usage *usage, input 1839 drivers/hid/wacom_wac.c struct wacom *wacom = input_get_drvdata(input); input 1863 drivers/hid/wacom_wac.c set_bit(type, input->evbit); input 1867 drivers/hid/wacom_wac.c input_set_abs_params(input, code, fmin, fmax, fuzz, 0); input 1868 drivers/hid/wacom_wac.c input_abs_set_res(input, code, input 1872 drivers/hid/wacom_wac.c input_set_capability(input, EV_KEY, code); input 1875 drivers/hid/wacom_wac.c input_set_capability(input, EV_MSC, code); input 1878 drivers/hid/wacom_wac.c input_set_capability(input, EV_SW, code); input 1965 drivers/hid/wacom_wac.c struct input_dev *input = wacom_wac->pad_input; input 1970 drivers/hid/wacom_wac.c __set_bit(INPUT_PROP_ACCELEROMETER, input->propbit); input 1971 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_X, 0); input 1975 drivers/hid/wacom_wac.c __set_bit(INPUT_PROP_ACCELEROMETER, input->propbit); input 1976 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_Y, 0); input 1980 drivers/hid/wacom_wac.c __set_bit(INPUT_PROP_ACCELEROMETER, input->propbit); input 1981 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_Z, 0); input 1990 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_KEY, input 2012 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_RX, 0); input 2016 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_RY, 0); input 2020 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_WHEEL, 0); input 2030 drivers/hid/wacom_wac.c set_bit(EV_ABS, input->evbit); input 2034 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_KEY, KEY_BUTTONCONFIG, 0); input 2038 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_KEY, KEY_ONSCREEN_KEYBOARD, 0); input 2042 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_KEY, KEY_CONTROLPANEL, 0); input 2057 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_KEY, input 2071 drivers/hid/wacom_wac.c struct input_dev *input = wacom_wac->pad_input; input 2108 drivers/hid/wacom_wac.c value = wacom_offset_rotation(input, usage, value, 3, 16); input 2112 drivers/hid/wacom_wac.c value = wacom_offset_rotation(input, usage, value, 1, 2); input 2115 drivers/hid/wacom_wac.c value = wacom_offset_rotation(input, usage, value, 1, 4); input 2121 drivers/hid/wacom_wac.c input_event(input, usage->type, usage->code, 0); input 2158 drivers/hid/wacom_wac.c input_event(input, usage->type, usage->code, value); input 2178 drivers/hid/wacom_wac.c struct input_dev *input = wacom_wac->pad_input; input 2183 drivers/hid/wacom_wac.c input_event(input, EV_ABS, ABS_MISC, active ? PAD_DEVICE_ID : 0); input 2184 drivers/hid/wacom_wac.c input_sync(input); input 2196 drivers/hid/wacom_wac.c struct input_dev *input = wacom_wac->pen_input; input 2201 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_X, 4); input 2204 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_Y, 4); input 2208 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_DISTANCE, 0); input 2211 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_PRESSURE, 0); input 2214 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_KEY, BTN_TOOL_PEN, 0); input 2217 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_KEY, input 2221 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_TILT_X, 0); input 2224 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_TILT_Y, 0); input 2227 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_Z, 0); input 2231 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_KEY, BTN_TOUCH, 0); input 2234 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_KEY, BTN_STYLUS, 0); input 2237 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_KEY, BTN_STYLUS2, 0); input 2241 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_MSC, MSC_SERIAL, 0); input 2245 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_KEY, BTN_TOOL_PEN, 0); input 2248 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_MISC, 0); input 2251 drivers/hid/wacom_wac.c set_bit(EV_KEY, input->evbit); input 2252 drivers/hid/wacom_wac.c input_set_capability(input, EV_KEY, BTN_TOOL_PEN); input 2253 drivers/hid/wacom_wac.c input_set_capability(input, EV_KEY, BTN_TOOL_RUBBER); input 2254 drivers/hid/wacom_wac.c input_set_capability(input, EV_KEY, BTN_TOOL_BRUSH); input 2255 drivers/hid/wacom_wac.c input_set_capability(input, EV_KEY, BTN_TOOL_PENCIL); input 2256 drivers/hid/wacom_wac.c input_set_capability(input, EV_KEY, BTN_TOOL_AIRBRUSH); input 2258 drivers/hid/wacom_wac.c input_set_capability(input, EV_KEY, BTN_TOOL_MOUSE); input 2259 drivers/hid/wacom_wac.c input_set_capability(input, EV_KEY, BTN_TOOL_LENS); input 2264 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_WHEEL, 0); input 2275 drivers/hid/wacom_wac.c struct input_dev *input = wacom_wac->pen_input; input 2320 drivers/hid/wacom_wac.c value = wacom_offset_rotation(input, usage, value, 1, 4); input 2392 drivers/hid/wacom_wac.c input_event(input, usage->type, usage->code, value); input 2394 drivers/hid/wacom_wac.c input_event(input, usage->type, usage->code, 0); input 2412 drivers/hid/wacom_wac.c struct input_dev *input = wacom_wac->pen_input; input 2437 drivers/hid/wacom_wac.c input_report_key(input, BTN_STYLUS, sw_state == 1); input 2438 drivers/hid/wacom_wac.c input_report_key(input, BTN_STYLUS2, sw_state == 2); input 2439 drivers/hid/wacom_wac.c input_report_key(input, BTN_STYLUS3, sw_state == 3); input 2453 drivers/hid/wacom_wac.c input_report_key(input, BTN_TOUCH, input 2455 drivers/hid/wacom_wac.c input_report_key(input, wacom_wac->tool[0], sense); input 2457 drivers/hid/wacom_wac.c input_event(input, EV_MSC, MSC_SERIAL, wacom_wac->serial[0]); input 2458 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MISC, sense ? id : 0); input 2463 drivers/hid/wacom_wac.c input_sync(input); input 2478 drivers/hid/wacom_wac.c struct input_dev *input = wacom_wac->touch_input; input 2485 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_X, 4); input 2487 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, input 2492 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_Y, 4); input 2494 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, input 2499 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_MT_TOUCH_MAJOR, 0); input 2500 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_MT_TOUCH_MINOR, 0); input 2501 drivers/hid/wacom_wac.c input_set_abs_params(input, ABS_MT_ORIENTATION, 0, 1, 0, 0); input 2504 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_KEY, BTN_TOUCH, 0); input 2525 drivers/hid/wacom_wac.c struct input_dev *input) input 2546 drivers/hid/wacom_wac.c slot = input_mt_get_slot_by_key(input, hid_data->id); input 2547 drivers/hid/wacom_wac.c input_mt_slot(input, slot); input 2548 drivers/hid/wacom_wac.c input_mt_report_slot_state(input, MT_TOOL_FINGER, prox); input 2551 drivers/hid/wacom_wac.c input_report_key(input, BTN_TOUCH, prox); input 2555 drivers/hid/wacom_wac.c input_report_abs(input, mt ? ABS_MT_POSITION_X : ABS_X, input 2557 drivers/hid/wacom_wac.c input_report_abs(input, mt ? ABS_MT_POSITION_Y : ABS_Y, input 2560 drivers/hid/wacom_wac.c if (test_bit(ABS_MT_TOUCH_MAJOR, input->absbit)) { input 2561 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MT_TOUCH_MAJOR, max(hid_data->width, hid_data->height)); input 2562 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MT_TOUCH_MINOR, min(hid_data->width, hid_data->height)); input 2564 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MT_ORIENTATION, hid_data->width <= hid_data->height ? 0 : 1); input 2669 drivers/hid/wacom_wac.c struct input_dev *input = wacom_wac->touch_input; input 2680 drivers/hid/wacom_wac.c input_mt_sync_frame(input); input 2682 drivers/hid/wacom_wac.c input_sync(input); input 2839 drivers/hid/wacom_wac.c struct input_dev *input = wacom->touch_input; input 2852 drivers/hid/wacom_wac.c input_mt_slot(input, i); input 2853 drivers/hid/wacom_wac.c input_mt_report_slot_state(input, MT_TOOL_FINGER, touch); input 2861 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MT_POSITION_X, x); input 2862 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MT_POSITION_Y, y); input 2866 drivers/hid/wacom_wac.c input_mt_sync_frame(input); input 2880 drivers/hid/wacom_wac.c struct input_dev *input = wacom->touch_input; input 2882 drivers/hid/wacom_wac.c int slot = input_mt_get_slot_by_key(input, data[0]); input 2889 drivers/hid/wacom_wac.c input_mt_slot(input, slot); input 2890 drivers/hid/wacom_wac.c input_mt_report_slot_state(input, MT_TOOL_FINGER, touch); input 2907 drivers/hid/wacom_wac.c int x_res = input_abs_get_res(input, ABS_MT_POSITION_X); input 2908 drivers/hid/wacom_wac.c int y_res = input_abs_get_res(input, ABS_MT_POSITION_Y); input 2913 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MT_POSITION_X, x); input 2914 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MT_POSITION_Y, y); input 2915 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MT_TOUCH_MAJOR, width); input 2916 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MT_TOUCH_MINOR, height); input 2922 drivers/hid/wacom_wac.c struct input_dev *input = wacom->pad_input; input 2926 drivers/hid/wacom_wac.c input_report_key(input, BTN_LEFT, (data[1] & 0x02) != 0); input 2927 drivers/hid/wacom_wac.c input_report_key(input, BTN_BACK, (data[1] & 0x08) != 0); input 2929 drivers/hid/wacom_wac.c input_report_key(input, BTN_BACK, (data[1] & 0x02) != 0); input 2930 drivers/hid/wacom_wac.c input_report_key(input, BTN_LEFT, (data[1] & 0x08) != 0); input 2932 drivers/hid/wacom_wac.c input_report_key(input, BTN_FORWARD, (data[1] & 0x04) != 0); input 2933 drivers/hid/wacom_wac.c input_report_key(input, BTN_RIGHT, (data[1] & 0x01) != 0); input 2970 drivers/hid/wacom_wac.c struct input_dev *input = wacom->pen_input; input 3020 drivers/hid/wacom_wac.c input_report_key(input, BTN_TOUCH, pen); input 3021 drivers/hid/wacom_wac.c input_report_key(input, BTN_STYLUS, btn1); input 3022 drivers/hid/wacom_wac.c input_report_key(input, BTN_STYLUS2, btn2); input 3025 drivers/hid/wacom_wac.c input_report_abs(input, ABS_X, x); input 3026 drivers/hid/wacom_wac.c input_report_abs(input, ABS_Y, y); input 3028 drivers/hid/wacom_wac.c input_report_abs(input, ABS_PRESSURE, p); input 3029 drivers/hid/wacom_wac.c input_report_abs(input, ABS_DISTANCE, d); input 3031 drivers/hid/wacom_wac.c input_report_key(input, wacom->tool[0], range); /* PEN or RUBBER */ input 3032 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MISC, wacom->id[0]); /* TOOL ID */ input 3088 drivers/hid/wacom_wac.c struct input_dev *input = wacom->touch_input; input 3100 drivers/hid/wacom_wac.c input_mt_slot(input, id); input 3101 drivers/hid/wacom_wac.c input_mt_report_slot_state(input, MT_TOOL_FINGER, valid); input 3110 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MT_POSITION_X, x); input 3111 drivers/hid/wacom_wac.c input_report_abs(input, ABS_MT_POSITION_Y, y); input 3114 drivers/hid/wacom_wac.c input_mt_sync_frame(input); input 3116 drivers/hid/wacom_wac.c input_report_key(input, BTN_LEFT, prefix & 0x40); input 3117 drivers/hid/wacom_wac.c input_report_key(input, BTN_RIGHT, prefix & 0x80); input 280 drivers/hwmon/abx500.c static SENSOR_DEVICE_ATTR_RO(temp1_input, input, 0); input 289 drivers/hwmon/abx500.c static SENSOR_DEVICE_ATTR_RO(temp2_input, input, 1); input 298 drivers/hwmon/abx500.c static SENSOR_DEVICE_ATTR_RO(temp3_input, input, 2); input 307 drivers/hwmon/abx500.c static SENSOR_DEVICE_ATTR_RO(temp4_input, input, 3); input 1364 drivers/hwmon/adt7462.c static int cvt_auto_temp(int input) input 1366 drivers/hwmon/adt7462.c if (input == 0xF) input 1368 drivers/hwmon/adt7462.c if (input == 0x9) input 1370 drivers/hwmon/adt7462.c if (input < 1 || !is_power_of_2(input)) input 1372 drivers/hwmon/adt7462.c return ilog2(input); input 922 drivers/hwmon/adt7470.c static int cvt_auto_temp(int input) input 924 drivers/hwmon/adt7470.c if (input == ADT7470_PWM_ALL_TEMPS) input 926 drivers/hwmon/adt7470.c if (input < 1 || !is_power_of_2(input)) input 928 drivers/hwmon/adt7470.c return ilog2(input) + 1; input 686 drivers/hwmon/applesmc.c struct input_dev *idev = dev->input; input 863 drivers/hwmon/applesmc.c unsigned long input; input 866 drivers/hwmon/applesmc.c if (kstrtoul(sysfsbuf, 10, &input) < 0) input 874 drivers/hwmon/applesmc.c if (input) input 1160 drivers/hwmon/applesmc.c idev = applesmc_idev->input; input 132 drivers/hwmon/emc6w201.c data->in[input][nr] = input 144 drivers/hwmon/emc6w201.c data->temp[input][nr] = input 156 drivers/hwmon/emc6w201.c data->fan[input][nr] = input 303 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RO(in0_input, in, 0, input); input 306 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RO(in1_input, in, 1, input); input 309 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RO(in2_input, in, 2, input); input 312 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RO(in3_input, in, 3, input); input 315 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RO(in4_input, in, 4, input); input 318 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RO(in5_input, in, 5, input); input 322 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RO(temp1_input, temp, 0, input); input 325 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RO(temp2_input, temp, 1, input); input 328 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RO(temp3_input, temp, 2, input); input 331 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RO(temp4_input, temp, 3, input); input 334 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RO(temp5_input, temp, 4, input); input 337 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RO(temp6_input, temp, 5, input); input 341 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RO(fan1_input, fan, 0, input); input 343 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RO(fan2_input, fan, 1, input); input 345 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RO(fan3_input, fan, 2, input); input 347 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RO(fan4_input, fan, 3, input); input 349 drivers/hwmon/emc6w201.c static SENSOR_DEVICE_ATTR_2_RO(fan5_input, fan, 4, input); input 274 drivers/hwmon/ina3221.c struct ina3221_input *input = &ina->inputs[channel]; input 275 drivers/hwmon/ina3221.c int resistance_uo = input->shunt_resistor; input 369 drivers/hwmon/ina3221.c struct ina3221_input *input = &ina->inputs[channel]; input 370 drivers/hwmon/ina3221.c int resistance_uo = input->shunt_resistor; input 512 drivers/hwmon/ina3221.c const struct ina3221_input *input = NULL; input 531 drivers/hwmon/ina3221.c input = &ina->inputs[channel - 1]; input 533 drivers/hwmon/ina3221.c return (input && input->label) ? 0444 : 0; input 603 drivers/hwmon/ina3221.c struct ina3221_input *input = &ina->inputs[channel]; input 605 drivers/hwmon/ina3221.c return snprintf(buf, PAGE_SIZE, "%d\n", input->shunt_resistor); input 615 drivers/hwmon/ina3221.c struct ina3221_input *input = &ina->inputs[channel]; input 625 drivers/hwmon/ina3221.c input->shunt_resistor = val; input 665 drivers/hwmon/ina3221.c struct ina3221_input *input; input 678 drivers/hwmon/ina3221.c input = &ina->inputs[val]; input 682 drivers/hwmon/ina3221.c input->disconnected = true; input 687 drivers/hwmon/ina3221.c of_property_read_string(child, "label", &input->label); input 696 drivers/hwmon/ina3221.c input->shunt_resistor = val; input 23 drivers/hwmon/scpi-hwmon.c char input[20]; input 181 drivers/hwmon/scpi-hwmon.c snprintf(sensor->input, sizeof(sensor->input), input 183 drivers/hwmon/scpi-hwmon.c snprintf(sensor->label, sizeof(sensor->input), input 188 drivers/hwmon/scpi-hwmon.c snprintf(sensor->input, sizeof(sensor->input), input 190 drivers/hwmon/scpi-hwmon.c snprintf(sensor->label, sizeof(sensor->input), input 195 drivers/hwmon/scpi-hwmon.c snprintf(sensor->input, sizeof(sensor->input), input 197 drivers/hwmon/scpi-hwmon.c snprintf(sensor->label, sizeof(sensor->input), input 202 drivers/hwmon/scpi-hwmon.c snprintf(sensor->input, sizeof(sensor->input), input 204 drivers/hwmon/scpi-hwmon.c snprintf(sensor->label, sizeof(sensor->input), input 209 drivers/hwmon/scpi-hwmon.c snprintf(sensor->input, sizeof(sensor->input), input 211 drivers/hwmon/scpi-hwmon.c snprintf(sensor->label, sizeof(sensor->input), input 223 drivers/hwmon/scpi-hwmon.c sensor->dev_attr_input.attr.name = sensor->input; input 399 drivers/hwmon/smm665.c SMM665_ATTR(in1, input, SMM665_MISC16_ADC_DATA_12V); input 400 drivers/hwmon/smm665.c SMM665_ATTR(in2, input, SMM665_MISC16_ADC_DATA_VDD); input 401 drivers/hwmon/smm665.c SMM665_ATTR(in3, input, SMM665_MISC16_ADC_DATA_A); input 402 drivers/hwmon/smm665.c SMM665_ATTR(in4, input, SMM665_MISC16_ADC_DATA_B); input 403 drivers/hwmon/smm665.c SMM665_ATTR(in5, input, SMM665_MISC16_ADC_DATA_C); input 404 drivers/hwmon/smm665.c SMM665_ATTR(in6, input, SMM665_MISC16_ADC_DATA_D); input 405 drivers/hwmon/smm665.c SMM665_ATTR(in7, input, SMM665_MISC16_ADC_DATA_E); input 406 drivers/hwmon/smm665.c SMM665_ATTR(in8, input, SMM665_MISC16_ADC_DATA_F); input 407 drivers/hwmon/smm665.c SMM665_ATTR(in9, input, SMM665_MISC16_ADC_DATA_AIN1); input 408 drivers/hwmon/smm665.c SMM665_ATTR(in10, input, SMM665_MISC16_ADC_DATA_AIN2); input 471 drivers/hwmon/smm665.c SMM665_ATTR(temp1, input, SMM665_MISC16_ADC_DATA_INT_TEMP); input 741 drivers/hwmon/stts751.c static SENSOR_DEVICE_ATTR_RO(temp1_input, input, 0); input 89 drivers/i2c/busses/i2c-scmi.c struct acpi_object_list input; input 165 drivers/i2c/busses/i2c-scmi.c input.count = 3; input 169 drivers/i2c/busses/i2c-scmi.c input.count = 5; input 172 drivers/i2c/busses/i2c-scmi.c input.pointer = mt_params; input 180 drivers/i2c/busses/i2c-scmi.c status = acpi_evaluate_object(smbus_cmi->handle, method, &input, input 478 drivers/ide/ide-acpi.c struct acpi_object_list input; input 486 drivers/ide/ide-acpi.c input.count = 3; input 487 drivers/ide/ide-acpi.c input.pointer = in_params; input 500 drivers/ide/ide-acpi.c &input, NULL); input 120 drivers/ide/ide-park.c long int input; input 123 drivers/ide/ide-park.c rc = kstrtol(buf, 10, &input); input 126 drivers/ide/ide-park.c if (input < -2) input 128 drivers/ide/ide-park.c if (input > MAX_PARK_TIMEOUT) { input 129 drivers/ide/ide-park.c input = MAX_PARK_TIMEOUT; input 134 drivers/ide/ide-park.c if (input >= 0) { input 137 drivers/ide/ide-park.c else if (input || drive->dev_flags & IDE_DFLAG_PARKED) input 138 drivers/ide/ide-park.c issue_park_cmd(drive, msecs_to_jiffies(input)); input 141 drivers/ide/ide-park.c switch (input) { input 1091 drivers/iio/adc/at91_adc.c struct input_dev *input; input 1095 drivers/iio/adc/at91_adc.c input = input_allocate_device(); input 1096 drivers/iio/adc/at91_adc.c if (!input) { input 1101 drivers/iio/adc/at91_adc.c input->name = DRIVER_NAME; input 1102 drivers/iio/adc/at91_adc.c input->id.bustype = BUS_HOST; input 1103 drivers/iio/adc/at91_adc.c input->dev.parent = &pdev->dev; input 1104 drivers/iio/adc/at91_adc.c input->open = atmel_ts_open; input 1105 drivers/iio/adc/at91_adc.c input->close = atmel_ts_close; input 1107 drivers/iio/adc/at91_adc.c __set_bit(EV_ABS, input->evbit); input 1108 drivers/iio/adc/at91_adc.c __set_bit(EV_KEY, input->evbit); input 1109 drivers/iio/adc/at91_adc.c __set_bit(BTN_TOUCH, input->keybit); input 1111 drivers/iio/adc/at91_adc.c input_set_abs_params(input, ABS_X, 0, (1 << MAX_POS_BITS) - 1, input 1113 drivers/iio/adc/at91_adc.c input_set_abs_params(input, ABS_Y, 0, (1 << MAX_POS_BITS) - 1, input 1115 drivers/iio/adc/at91_adc.c input_set_abs_params(input, ABS_PRESSURE, 0, 0xffffff, 0, 0); input 1124 drivers/iio/adc/at91_adc.c input_set_abs_params(input, ABS_X, 0, (1 << MAX_RLPOS_BITS) - 1, input 1126 drivers/iio/adc/at91_adc.c input_set_abs_params(input, ABS_Y, 0, (1 << MAX_RLPOS_BITS) - 1, input 1130 drivers/iio/adc/at91_adc.c st->ts_input = input; input 1131 drivers/iio/adc/at91_adc.c input_set_drvdata(input, st); input 1133 drivers/iio/adc/at91_adc.c ret = input_register_device(input); input 123 drivers/iio/adc/exynos_adc.c struct input_dev *input; input 636 drivers/iio/adc/exynos_adc.c while (info->input->users) { input 643 drivers/iio/adc/exynos_adc.c input_report_key(info->input, BTN_TOUCH, 0); input 644 drivers/iio/adc/exynos_adc.c input_sync(info->input); input 648 drivers/iio/adc/exynos_adc.c input_report_abs(info->input, ABS_X, x & ADC_DATX_MASK); input 649 drivers/iio/adc/exynos_adc.c input_report_abs(info->input, ABS_Y, y & ADC_DATY_MASK); input 650 drivers/iio/adc/exynos_adc.c input_report_key(info->input, BTN_TOUCH, 1); input 651 drivers/iio/adc/exynos_adc.c input_sync(info->input); input 734 drivers/iio/adc/exynos_adc.c info->input = input_allocate_device(); input 735 drivers/iio/adc/exynos_adc.c if (!info->input) input 738 drivers/iio/adc/exynos_adc.c info->input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); input 739 drivers/iio/adc/exynos_adc.c info->input->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); input 741 drivers/iio/adc/exynos_adc.c input_set_abs_params(info->input, ABS_X, 0, 0x3FF, 0, 0); input 742 drivers/iio/adc/exynos_adc.c input_set_abs_params(info->input, ABS_Y, 0, 0x3FF, 0, 0); input 744 drivers/iio/adc/exynos_adc.c info->input->name = "S3C24xx TouchScreen"; input 745 drivers/iio/adc/exynos_adc.c info->input->id.bustype = BUS_HOST; input 746 drivers/iio/adc/exynos_adc.c info->input->open = exynos_adc_ts_open; input 747 drivers/iio/adc/exynos_adc.c info->input->close = exynos_adc_ts_close; input 749 drivers/iio/adc/exynos_adc.c input_set_drvdata(info->input, info); input 751 drivers/iio/adc/exynos_adc.c ret = input_register_device(info->input); input 753 drivers/iio/adc/exynos_adc.c input_free_device(info->input); input 761 drivers/iio/adc/exynos_adc.c input_unregister_device(info->input); input 911 drivers/iio/adc/exynos_adc.c input_unregister_device(info->input); input 934 drivers/iio/adc/exynos_adc.c if (IS_REACHABLE(CONFIG_INPUT) && info->input) { input 936 drivers/iio/adc/exynos_adc.c input_unregister_device(info->input); input 122 drivers/iio/adc/qcom-vadc-common.c u32 tablesize, s32 input, int *output) input 137 drivers/iio/adc/qcom-vadc-common.c if ((descending) && (pts[i].x < input)) { input 142 drivers/iio/adc/qcom-vadc-common.c (pts[i].x > input)) { input 158 drivers/iio/adc/qcom-vadc-common.c (input - pts[i - 1].x)) / input 469 drivers/iio/adc/ti-ads7950.c int input) input 477 drivers/iio/adc/ti-ads7950.c if (input && (st->gpio_cmd_settings_bitmask & BIT(offset))) input 479 drivers/iio/adc/ti-ads7950.c else if (!input && !(st->gpio_cmd_settings_bitmask & BIT(offset))) input 240 drivers/iio/light/si1133.c static int si1133_calculate_polynomial_inner(s32 input, u8 fraction, u16 mag, input 243 drivers/iio/light/si1133.c return ((input << fraction) / mag) << shift; input 33 drivers/iio/trigger/iio-trig-sysfs.c unsigned long input; input 35 drivers/iio/trigger/iio-trig-sysfs.c ret = kstrtoul(buf, 10, &input); input 38 drivers/iio/trigger/iio-trig-sysfs.c ret = iio_sysfs_trigger_probe(input); input 52 drivers/iio/trigger/iio-trig-sysfs.c unsigned long input; input 54 drivers/iio/trigger/iio-trig-sysfs.c ret = kstrtoul(buf, 10, &input); input 57 drivers/iio/trigger/iio-trig-sysfs.c ret = iio_sysfs_trigger_remove(input); input 313 drivers/infiniband/core/netlink.c .input = rdma_nl_rcv, input 353 drivers/infiniband/hw/bnxt_re/main.c static void bnxt_re_init_hwrm_hdr(struct bnxt_re_dev *rdev, struct input *hdr, input 1940 drivers/infiniband/hw/mlx5/qp.c static inline bool check_flags_mask(uint64_t input, uint64_t supported) input 1942 drivers/infiniband/hw/mlx5/qp.c return (input & ~supported) == 0; input 277 drivers/infiniband/hw/qedr/qedr_roce_cm.c data.input.conn_type = QED_LL2_TYPE_ROCE; input 278 drivers/infiniband/hw/qedr/qedr_roce_cm.c data.input.mtu = dev->ndev->mtu; input 279 drivers/infiniband/hw/qedr/qedr_roce_cm.c data.input.rx_num_desc = attrs->cap.max_recv_wr; input 280 drivers/infiniband/hw/qedr/qedr_roce_cm.c data.input.rx_drop_ttl0_flg = true; input 281 drivers/infiniband/hw/qedr/qedr_roce_cm.c data.input.rx_vlan_removal_en = false; input 282 drivers/infiniband/hw/qedr/qedr_roce_cm.c data.input.tx_num_desc = attrs->cap.max_send_wr; input 283 drivers/infiniband/hw/qedr/qedr_roce_cm.c data.input.tx_tc = 0; input 284 drivers/infiniband/hw/qedr/qedr_roce_cm.c data.input.tx_dest = QED_LL2_TX_DEST_NW; input 285 drivers/infiniband/hw/qedr/qedr_roce_cm.c data.input.ai_err_packet_too_big = QED_LL2_DROP_PACKET; input 286 drivers/infiniband/hw/qedr/qedr_roce_cm.c data.input.ai_err_no_buf = QED_LL2_DROP_PACKET; input 287 drivers/infiniband/hw/qedr/qedr_roce_cm.c data.input.gsi_enable = 1; input 97 drivers/input/apm-power.c MODULE_DEVICE_TABLE(input, apmpower_ids); input 82 drivers/input/evbug.c MODULE_DEVICE_TABLE(input, evbug_ids); input 1418 drivers/input/evdev.c MODULE_DEVICE_TABLE(input, evdev_ids); input 53 drivers/input/input-leds.c struct input_dev *input = led->handle->dev; input 55 drivers/input/input-leds.c return test_bit(led->code, input->led) ? cdev->max_brightness : 0; input 195 drivers/input/input-leds.c MODULE_DEVICE_TABLE(input, input_leds_ids); input 41 drivers/input/input-polldev.c static int input_open_polled_device(struct input_dev *input) input 43 drivers/input/input-polldev.c struct input_polled_dev *dev = input_get_drvdata(input); input 57 drivers/input/input-polldev.c static void input_close_polled_device(struct input_dev *input) input 59 drivers/input/input-polldev.c struct input_polled_dev *dev = input_get_drvdata(input); input 82 drivers/input/input-polldev.c struct input_dev *input = polldev->input; input 96 drivers/input/input-polldev.c mutex_lock(&input->mutex); input 100 drivers/input/input-polldev.c if (input->users) { input 106 drivers/input/input-polldev.c mutex_unlock(&input->mutex); input 165 drivers/input/input-polldev.c dev->input = input_allocate_device(); input 166 drivers/input/input-polldev.c if (!dev->input) { input 192 drivers/input/input-polldev.c __func__, dev_name(&polldev->input->dev)); input 194 drivers/input/input-polldev.c input_put_device(polldev->input); input 204 drivers/input/input-polldev.c __func__, dev_name(&polldev->input->dev)); input 205 drivers/input/input-polldev.c input_unregister_device(polldev->input); input 250 drivers/input/input-polldev.c polldev->input->dev.parent = dev; input 271 drivers/input/input-polldev.c WARN_ON(devres_destroy(dev->input->dev.parent, input 275 drivers/input/input-polldev.c input_put_device(dev->input); input 294 drivers/input/input-polldev.c struct input_dev *input = dev->input; input 306 drivers/input/input-polldev.c input_set_drvdata(input, dev); input 314 drivers/input/input-polldev.c input->open = input_open_polled_device; input 315 drivers/input/input-polldev.c input->close = input_close_polled_device; input 317 drivers/input/input-polldev.c input->dev.groups = input_polldev_attribute_groups; input 319 drivers/input/input-polldev.c error = input_register_device(input); input 332 drivers/input/input-polldev.c input_get_device(input); input 335 drivers/input/input-polldev.c dev_dbg(input->dev.parent, "%s: registering %s with devres.\n", input 336 drivers/input/input-polldev.c __func__, dev_name(&input->dev)); input 337 drivers/input/input-polldev.c devres_add(input->dev.parent, devres); input 355 drivers/input/input-polldev.c WARN_ON(devres_destroy(dev->input->dev.parent, input 360 drivers/input/input-polldev.c input_unregister_device(dev->input); input 22 drivers/input/input-poller.c struct input_dev *input; input 42 drivers/input/input-poller.c poller->poll(poller->input); input 58 drivers/input/input-poller.c poller->poll(poller->input); input 86 drivers/input/input-poller.c poller->input = dev; input 132 drivers/input/input-poller.c struct input_dev *input = to_input_dev(dev); input 134 drivers/input/input-poller.c return sprintf(buf, "%d\n", input->poller->poll_interval); input 141 drivers/input/input-poller.c struct input_dev *input = to_input_dev(dev); input 142 drivers/input/input-poller.c struct input_dev_poller *poller = input->poller; input 156 drivers/input/input-poller.c mutex_lock(&input->mutex); input 160 drivers/input/input-poller.c if (input->users) { input 166 drivers/input/input-poller.c mutex_unlock(&input->mutex); input 177 drivers/input/input-poller.c struct input_dev *input = to_input_dev(dev); input 179 drivers/input/input-poller.c return sprintf(buf, "%d\n", input->poller->poll_interval_max); input 187 drivers/input/input-poller.c struct input_dev *input = to_input_dev(dev); input 189 drivers/input/input-poller.c return sprintf(buf, "%d\n", input->poller->poll_interval_min); input 198 drivers/input/input-poller.c struct input_dev *input = to_input_dev(dev); input 200 drivers/input/input-poller.c return input->poller ? attr->mode : 0; input 1839 drivers/input/input.c struct input_dev *input; input 1846 drivers/input/input.c return devres->input == data; input 1852 drivers/input/input.c struct input_dev *input = devres->input; input 1855 drivers/input/input.c __func__, dev_name(&input->dev)); input 1856 drivers/input/input.c input_put_device(input); input 1879 drivers/input/input.c struct input_dev *input; input 1887 drivers/input/input.c input = input_allocate_device(); input 1888 drivers/input/input.c if (!input) { input 1893 drivers/input/input.c input->dev.parent = dev; input 1894 drivers/input/input.c input->devres_managed = true; input 1896 drivers/input/input.c devres->input = input; input 1899 drivers/input/input.c return input; input 2109 drivers/input/input.c struct input_dev *input = devres->input; input 2112 drivers/input/input.c __func__, dev_name(&input->dev)); input 2113 drivers/input/input.c __input_unregister_device(input); input 2175 drivers/input/input.c devres->input = dev; input 289 drivers/input/joydev.c struct input_dev *input, input 306 drivers/input/joydev.c input->key); input 342 drivers/input/joydev.c struct input_dev *input, input 349 drivers/input/joydev.c spin_lock_irq(&input->event_lock); input 356 drivers/input/joydev.c test_bit(joydev->keypam[i], input->key) ? (1 << i) : 0; input 368 drivers/input/joydev.c spin_unlock_irq(&input->event_lock); input 389 drivers/input/joydev.c struct input_dev *input = joydev->handle.dev; input 400 drivers/input/joydev.c return joydev_0x_read(client, input, buf); input 414 drivers/input/joydev.c joydev_generate_startup_event(client, input, &event)) { input 1062 drivers/input/joydev.c MODULE_DEVICE_TABLE(input, joydev_ids); input 161 drivers/input/joystick/psxpad-spi.c input_set_capability(pad->pdev->input, EV_FF, FF_RUMBLE); input 163 drivers/input/joystick/psxpad-spi.c err = input_ff_create_memless(pad->pdev->input, NULL, input 209 drivers/input/joystick/psxpad-spi.c struct input_dev *input = pdev->input; input 231 drivers/input/joystick/psxpad-spi.c input_report_abs(input, ABS_X, REVERSE_BIT(pad->response[7])); input 232 drivers/input/joystick/psxpad-spi.c input_report_abs(input, ABS_Y, REVERSE_BIT(pad->response[8])); input 233 drivers/input/joystick/psxpad-spi.c input_report_abs(input, ABS_RX, REVERSE_BIT(pad->response[5])); input 234 drivers/input/joystick/psxpad-spi.c input_report_abs(input, ABS_RY, REVERSE_BIT(pad->response[6])); input 235 drivers/input/joystick/psxpad-spi.c input_report_key(input, BTN_DPAD_UP, b_rsp3 & BIT(3)); input 236 drivers/input/joystick/psxpad-spi.c input_report_key(input, BTN_DPAD_DOWN, b_rsp3 & BIT(1)); input 237 drivers/input/joystick/psxpad-spi.c input_report_key(input, BTN_DPAD_LEFT, b_rsp3 & BIT(0)); input 238 drivers/input/joystick/psxpad-spi.c input_report_key(input, BTN_DPAD_RIGHT, b_rsp3 & BIT(2)); input 239 drivers/input/joystick/psxpad-spi.c input_report_key(input, BTN_X, b_rsp4 & BIT(3)); input 240 drivers/input/joystick/psxpad-spi.c input_report_key(input, BTN_A, b_rsp4 & BIT(2)); input 241 drivers/input/joystick/psxpad-spi.c input_report_key(input, BTN_B, b_rsp4 & BIT(1)); input 242 drivers/input/joystick/psxpad-spi.c input_report_key(input, BTN_Y, b_rsp4 & BIT(0)); input 243 drivers/input/joystick/psxpad-spi.c input_report_key(input, BTN_TL, b_rsp4 & BIT(5)); input 244 drivers/input/joystick/psxpad-spi.c input_report_key(input, BTN_TR, b_rsp4 & BIT(4)); input 245 drivers/input/joystick/psxpad-spi.c input_report_key(input, BTN_TL2, b_rsp4 & BIT(7)); input 246 drivers/input/joystick/psxpad-spi.c input_report_key(input, BTN_TR2, b_rsp4 & BIT(6)); input 247 drivers/input/joystick/psxpad-spi.c input_report_key(input, BTN_THUMBL, b_rsp3 & BIT(6)); input 248 drivers/input/joystick/psxpad-spi.c input_report_key(input, BTN_THUMBR, b_rsp3 & BIT(5)); input 249 drivers/input/joystick/psxpad-spi.c input_report_key(input, BTN_SELECT, b_rsp3 & BIT(7)); input 250 drivers/input/joystick/psxpad-spi.c input_report_key(input, BTN_START, b_rsp3 & BIT(4)); input 258 drivers/input/joystick/psxpad-spi.c input_report_abs(input, ABS_X, 0x80); input 259 drivers/input/joystick/psxpad-spi.c input_report_abs(input, ABS_Y, 0x80); input 260 drivers/input/joystick/psxpad-spi.c input_report_abs(input, ABS_RX, 0x80); input 261 drivers/input/joystick/psxpad-spi.c input_report_abs(input, ABS_RY, 0x80); input 262 drivers/input/joystick/psxpad-spi.c input_report_key(input, BTN_DPAD_UP, b_rsp3 & BIT(3)); input 263 drivers/input/joystick/psxpad-spi.c input_report_key(input, BTN_DPAD_DOWN, b_rsp3 & BIT(1)); input 264 drivers/input/joystick/psxpad-spi.c input_report_key(input, BTN_DPAD_LEFT, b_rsp3 & BIT(0)); input 265 drivers/input/joystick/psxpad-spi.c input_report_key(input, BTN_DPAD_RIGHT, b_rsp3 & BIT(2)); input 266 drivers/input/joystick/psxpad-spi.c input_report_key(input, BTN_X, b_rsp4 & BIT(3)); input 267 drivers/input/joystick/psxpad-spi.c input_report_key(input, BTN_A, b_rsp4 & BIT(2)); input 268 drivers/input/joystick/psxpad-spi.c input_report_key(input, BTN_B, b_rsp4 & BIT(1)); input 269 drivers/input/joystick/psxpad-spi.c input_report_key(input, BTN_Y, b_rsp4 & BIT(0)); input 270 drivers/input/joystick/psxpad-spi.c input_report_key(input, BTN_TL, b_rsp4 & BIT(5)); input 271 drivers/input/joystick/psxpad-spi.c input_report_key(input, BTN_TR, b_rsp4 & BIT(4)); input 272 drivers/input/joystick/psxpad-spi.c input_report_key(input, BTN_TL2, b_rsp4 & BIT(7)); input 273 drivers/input/joystick/psxpad-spi.c input_report_key(input, BTN_TR2, b_rsp4 & BIT(6)); input 274 drivers/input/joystick/psxpad-spi.c input_report_key(input, BTN_THUMBL, false); input 275 drivers/input/joystick/psxpad-spi.c input_report_key(input, BTN_THUMBR, false); input 276 drivers/input/joystick/psxpad-spi.c input_report_key(input, BTN_SELECT, b_rsp3 & BIT(7)); input 277 drivers/input/joystick/psxpad-spi.c input_report_key(input, BTN_START, b_rsp3 & BIT(4)); input 281 drivers/input/joystick/psxpad-spi.c input_sync(input); input 315 drivers/input/joystick/psxpad-spi.c idev = pdev->input; input 22 drivers/input/joystick/pxrc.c struct input_dev *input; input 61 drivers/input/joystick/pxrc.c input_report_abs(pxrc->input, ABS_X, data[0]); input 62 drivers/input/joystick/pxrc.c input_report_abs(pxrc->input, ABS_Y, data[2]); input 63 drivers/input/joystick/pxrc.c input_report_abs(pxrc->input, ABS_RX, data[3]); input 64 drivers/input/joystick/pxrc.c input_report_abs(pxrc->input, ABS_RY, data[4]); input 65 drivers/input/joystick/pxrc.c input_report_abs(pxrc->input, ABS_RUDDER, data[5]); input 66 drivers/input/joystick/pxrc.c input_report_abs(pxrc->input, ABS_THROTTLE, data[6]); input 67 drivers/input/joystick/pxrc.c input_report_abs(pxrc->input, ABS_MISC, data[7]); input 69 drivers/input/joystick/pxrc.c input_report_key(pxrc->input, BTN_A, data[1]); input 81 drivers/input/joystick/pxrc.c static int pxrc_open(struct input_dev *input) input 83 drivers/input/joystick/pxrc.c struct pxrc *pxrc = input_get_drvdata(input); input 103 drivers/input/joystick/pxrc.c static void pxrc_close(struct input_dev *input) input 105 drivers/input/joystick/pxrc.c struct pxrc *pxrc = input_get_drvdata(input); input 167 drivers/input/joystick/pxrc.c pxrc->input = devm_input_allocate_device(&intf->dev); input 168 drivers/input/joystick/pxrc.c if (!pxrc->input) { input 173 drivers/input/joystick/pxrc.c pxrc->input->name = "PXRC Flight Controller Adapter"; input 177 drivers/input/joystick/pxrc.c pxrc->input->phys = pxrc->phys; input 179 drivers/input/joystick/pxrc.c usb_to_input_id(udev, &pxrc->input->id); input 181 drivers/input/joystick/pxrc.c pxrc->input->open = pxrc_open; input 182 drivers/input/joystick/pxrc.c pxrc->input->close = pxrc_close; input 184 drivers/input/joystick/pxrc.c input_set_capability(pxrc->input, EV_KEY, BTN_A); input 185 drivers/input/joystick/pxrc.c input_set_abs_params(pxrc->input, ABS_X, 0, 255, 0, 0); input 186 drivers/input/joystick/pxrc.c input_set_abs_params(pxrc->input, ABS_Y, 0, 255, 0, 0); input 187 drivers/input/joystick/pxrc.c input_set_abs_params(pxrc->input, ABS_RX, 0, 255, 0, 0); input 188 drivers/input/joystick/pxrc.c input_set_abs_params(pxrc->input, ABS_RY, 0, 255, 0, 0); input 189 drivers/input/joystick/pxrc.c input_set_abs_params(pxrc->input, ABS_RUDDER, 0, 255, 0, 0); input 190 drivers/input/joystick/pxrc.c input_set_abs_params(pxrc->input, ABS_THROTTLE, 0, 255, 0, 0); input 191 drivers/input/joystick/pxrc.c input_set_abs_params(pxrc->input, ABS_MISC, 0, 255, 0, 0); input 193 drivers/input/joystick/pxrc.c input_set_drvdata(pxrc->input, pxrc); input 195 drivers/input/joystick/pxrc.c error = input_register_device(pxrc->input); input 1885 drivers/input/joystick/xpad.c struct input_dev *input = xpad->dev; input 1904 drivers/input/joystick/xpad.c mutex_lock(&input->mutex); input 1905 drivers/input/joystick/xpad.c if (input->users) input 1907 drivers/input/joystick/xpad.c mutex_unlock(&input->mutex); input 1918 drivers/input/joystick/xpad.c struct input_dev *input = xpad->dev; input 1924 drivers/input/joystick/xpad.c mutex_lock(&input->mutex); input 1925 drivers/input/joystick/xpad.c if (input->users) { input 1935 drivers/input/joystick/xpad.c mutex_unlock(&input->mutex); input 58 drivers/input/keyboard/adc-keys.c input_report_key(dev->input, st->last_key, 0); input 61 drivers/input/keyboard/adc-keys.c input_report_key(dev->input, keycode, 1); input 63 drivers/input/keyboard/adc-keys.c input_sync(dev->input); input 112 drivers/input/keyboard/adc-keys.c struct input_dev *input; input 160 drivers/input/keyboard/adc-keys.c input = poll_dev->input; input 162 drivers/input/keyboard/adc-keys.c input->name = pdev->name; input 163 drivers/input/keyboard/adc-keys.c input->phys = "adc-keys/input0"; input 165 drivers/input/keyboard/adc-keys.c input->id.bustype = BUS_HOST; input 166 drivers/input/keyboard/adc-keys.c input->id.vendor = 0x0001; input 167 drivers/input/keyboard/adc-keys.c input->id.product = 0x0001; input 168 drivers/input/keyboard/adc-keys.c input->id.version = 0x0100; input 170 drivers/input/keyboard/adc-keys.c __set_bit(EV_KEY, input->evbit); input 172 drivers/input/keyboard/adc-keys.c __set_bit(st->map[i].keycode, input->keybit); input 175 drivers/input/keyboard/adc-keys.c __set_bit(EV_REP, input->evbit); input 17 drivers/input/keyboard/adp5520-keys.c struct input_dev *input; input 30 drivers/input/keyboard/adp5520-keys.c input_report_key(dev->input, dev->keycode[i], value); input 32 drivers/input/keyboard/adp5520-keys.c input_sync(dev->input); input 74 drivers/input/keyboard/adp5520-keys.c struct input_dev *input; input 98 drivers/input/keyboard/adp5520-keys.c input = devm_input_allocate_device(&pdev->dev); input 99 drivers/input/keyboard/adp5520-keys.c if (!input) input 103 drivers/input/keyboard/adp5520-keys.c dev->input = input; input 105 drivers/input/keyboard/adp5520-keys.c input->name = pdev->name; input 106 drivers/input/keyboard/adp5520-keys.c input->phys = "adp5520-keys/input0"; input 107 drivers/input/keyboard/adp5520-keys.c input->dev.parent = &pdev->dev; input 109 drivers/input/keyboard/adp5520-keys.c input->id.bustype = BUS_I2C; input 110 drivers/input/keyboard/adp5520-keys.c input->id.vendor = 0x0001; input 111 drivers/input/keyboard/adp5520-keys.c input->id.product = 0x5520; input 112 drivers/input/keyboard/adp5520-keys.c input->id.version = 0x0001; input 114 drivers/input/keyboard/adp5520-keys.c input->keycodesize = sizeof(dev->keycode[0]); input 115 drivers/input/keyboard/adp5520-keys.c input->keycodemax = pdata->keymapsize; input 116 drivers/input/keyboard/adp5520-keys.c input->keycode = dev->keycode; input 119 drivers/input/keyboard/adp5520-keys.c pdata->keymapsize * input->keycodesize); input 122 drivers/input/keyboard/adp5520-keys.c __set_bit(EV_KEY, input->evbit); input 125 drivers/input/keyboard/adp5520-keys.c __set_bit(EV_REP, input->evbit); input 127 drivers/input/keyboard/adp5520-keys.c for (i = 0; i < input->keycodemax; i++) input 128 drivers/input/keyboard/adp5520-keys.c __set_bit(dev->keycode[i], input->keybit); input 129 drivers/input/keyboard/adp5520-keys.c __clear_bit(KEY_RESERVED, input->keybit); input 131 drivers/input/keyboard/adp5520-keys.c ret = input_register_device(input); input 42 drivers/input/keyboard/adp5588-keys.c struct input_dev *input; input 278 drivers/input/keyboard/adp5588-keys.c input_report_switch(kpad->input, input 285 drivers/input/keyboard/adp5588-keys.c input_report_key(kpad->input, input 308 drivers/input/keyboard/adp5588-keys.c input_sync(kpad->input); input 422 drivers/input/keyboard/adp5588-keys.c input_report_switch(kpad->input, input 427 drivers/input/keyboard/adp5588-keys.c input_sync(kpad->input); input 437 drivers/input/keyboard/adp5588-keys.c struct input_dev *input; input 500 drivers/input/keyboard/adp5588-keys.c input = input_allocate_device(); input 501 drivers/input/keyboard/adp5588-keys.c if (!kpad || !input) { input 507 drivers/input/keyboard/adp5588-keys.c kpad->input = input; input 520 drivers/input/keyboard/adp5588-keys.c input->name = client->name; input 521 drivers/input/keyboard/adp5588-keys.c input->phys = "adp5588-keys/input0"; input 522 drivers/input/keyboard/adp5588-keys.c input->dev.parent = &client->dev; input 524 drivers/input/keyboard/adp5588-keys.c input_set_drvdata(input, kpad); input 526 drivers/input/keyboard/adp5588-keys.c input->id.bustype = BUS_I2C; input 527 drivers/input/keyboard/adp5588-keys.c input->id.vendor = 0x0001; input 528 drivers/input/keyboard/adp5588-keys.c input->id.product = 0x0001; input 529 drivers/input/keyboard/adp5588-keys.c input->id.version = revid; input 531 drivers/input/keyboard/adp5588-keys.c input->keycodesize = sizeof(kpad->keycode[0]); input 532 drivers/input/keyboard/adp5588-keys.c input->keycodemax = pdata->keymapsize; input 533 drivers/input/keyboard/adp5588-keys.c input->keycode = kpad->keycode; input 536 drivers/input/keyboard/adp5588-keys.c pdata->keymapsize * input->keycodesize); input 542 drivers/input/keyboard/adp5588-keys.c __set_bit(EV_KEY, input->evbit); input 545 drivers/input/keyboard/adp5588-keys.c __set_bit(EV_REP, input->evbit); input 547 drivers/input/keyboard/adp5588-keys.c for (i = 0; i < input->keycodemax; i++) input 549 drivers/input/keyboard/adp5588-keys.c __set_bit(kpad->keycode[i], input->keybit); input 550 drivers/input/keyboard/adp5588-keys.c __clear_bit(KEY_RESERVED, input->keybit); input 553 drivers/input/keyboard/adp5588-keys.c __set_bit(EV_SW, input->evbit); input 555 drivers/input/keyboard/adp5588-keys.c __set_bit(kpad->gpimap[i].sw_evt, input->swbit); input 557 drivers/input/keyboard/adp5588-keys.c error = input_register_device(input); input 592 drivers/input/keyboard/adp5588-keys.c input_unregister_device(input); input 593 drivers/input/keyboard/adp5588-keys.c input = NULL; input 595 drivers/input/keyboard/adp5588-keys.c input_free_device(input); input 608 drivers/input/keyboard/adp5588-keys.c input_unregister_device(kpad->input); input 231 drivers/input/keyboard/adp5589-keys.c struct input_dev *input; input 591 drivers/input/keyboard/adp5589-keys.c input_report_switch(kpad->input, input 611 drivers/input/keyboard/adp5589-keys.c input_report_key(kpad->input, input 633 drivers/input/keyboard/adp5589-keys.c input_sync(kpad->input); input 852 drivers/input/keyboard/adp5589-keys.c input_report_switch(kpad->input, input 857 drivers/input/keyboard/adp5589-keys.c input_sync(kpad->input); input 866 drivers/input/keyboard/adp5589-keys.c struct input_dev *input; input 950 drivers/input/keyboard/adp5589-keys.c input = input_allocate_device(); input 951 drivers/input/keyboard/adp5589-keys.c if (!input) { input 957 drivers/input/keyboard/adp5589-keys.c kpad->input = input; input 967 drivers/input/keyboard/adp5589-keys.c input->name = client->name; input 968 drivers/input/keyboard/adp5589-keys.c input->phys = "adp5589-keys/input0"; input 969 drivers/input/keyboard/adp5589-keys.c input->dev.parent = &client->dev; input 971 drivers/input/keyboard/adp5589-keys.c input_set_drvdata(input, kpad); input 973 drivers/input/keyboard/adp5589-keys.c input->id.bustype = BUS_I2C; input 974 drivers/input/keyboard/adp5589-keys.c input->id.vendor = 0x0001; input 975 drivers/input/keyboard/adp5589-keys.c input->id.product = 0x0001; input 976 drivers/input/keyboard/adp5589-keys.c input->id.version = revid; input 978 drivers/input/keyboard/adp5589-keys.c input->keycodesize = sizeof(kpad->keycode[0]); input 979 drivers/input/keyboard/adp5589-keys.c input->keycodemax = pdata->keymapsize; input 980 drivers/input/keyboard/adp5589-keys.c input->keycode = kpad->keycode; input 983 drivers/input/keyboard/adp5589-keys.c pdata->keymapsize * input->keycodesize); input 989 drivers/input/keyboard/adp5589-keys.c __set_bit(EV_KEY, input->evbit); input 992 drivers/input/keyboard/adp5589-keys.c __set_bit(EV_REP, input->evbit); input 994 drivers/input/keyboard/adp5589-keys.c for (i = 0; i < input->keycodemax; i++) input 996 drivers/input/keyboard/adp5589-keys.c __set_bit(kpad->keycode[i], input->keybit); input 997 drivers/input/keyboard/adp5589-keys.c __clear_bit(KEY_RESERVED, input->keybit); input 1000 drivers/input/keyboard/adp5589-keys.c __set_bit(EV_SW, input->evbit); input 1002 drivers/input/keyboard/adp5589-keys.c __set_bit(kpad->gpimap[i].sw_evt, input->swbit); input 1004 drivers/input/keyboard/adp5589-keys.c error = input_register_device(input); input 1038 drivers/input/keyboard/adp5589-keys.c input_unregister_device(input); input 1039 drivers/input/keyboard/adp5589-keys.c input = NULL; input 1041 drivers/input/keyboard/adp5589-keys.c input_free_device(input); input 1054 drivers/input/keyboard/adp5589-keys.c input_unregister_device(kpad->input); input 989 drivers/input/keyboard/applespi.c static void report_finger_data(struct input_dev *input, int slot, input 993 drivers/input/keyboard/applespi.c input_mt_slot(input, slot); input 994 drivers/input/keyboard/applespi.c input_mt_report_slot_state(input, MT_TOOL_FINGER, true); input 996 drivers/input/keyboard/applespi.c input_report_abs(input, ABS_MT_TOUCH_MAJOR, input 998 drivers/input/keyboard/applespi.c input_report_abs(input, ABS_MT_TOUCH_MINOR, input 1000 drivers/input/keyboard/applespi.c input_report_abs(input, ABS_MT_WIDTH_MAJOR, input 1002 drivers/input/keyboard/applespi.c input_report_abs(input, ABS_MT_WIDTH_MINOR, input 1004 drivers/input/keyboard/applespi.c input_report_abs(input, ABS_MT_ORIENTATION, input 1006 drivers/input/keyboard/applespi.c input_report_abs(input, ABS_MT_POSITION_X, pos->x); input 1007 drivers/input/keyboard/applespi.c input_report_abs(input, ABS_MT_POSITION_Y, pos->y); input 1014 drivers/input/keyboard/applespi.c struct input_dev *input; input 1019 drivers/input/keyboard/applespi.c input = smp_load_acquire(&applespi->touchpad_input_dev); input 1020 drivers/input/keyboard/applespi.c if (!input) input 1038 drivers/input/keyboard/applespi.c input_mt_assign_slots(input, applespi->slots, applespi->pos, n, 0); input 1041 drivers/input/keyboard/applespi.c report_finger_data(input, applespi->slots[i], input 1044 drivers/input/keyboard/applespi.c input_mt_sync_frame(input); input 1045 drivers/input/keyboard/applespi.c input_report_key(input, BTN_LEFT, t->clicked); input 1047 drivers/input/keyboard/applespi.c input_sync(input); input 91 drivers/input/keyboard/applespi_trace.h #define TRACE_INCLUDE_PATH ../../drivers/input/keyboard input 35 drivers/input/keyboard/clps711x-keypad.c const unsigned short *keycodes = dev->input->keycode; input 64 drivers/input/keyboard/clps711x-keypad.c input_event(dev->input, EV_MSC, input 71 drivers/input/keyboard/clps711x-keypad.c input_report_key(dev->input, input 83 drivers/input/keyboard/clps711x-keypad.c input_sync(dev->input); input 135 drivers/input/keyboard/clps711x-keypad.c poll_dev->input->name = pdev->name; input 136 drivers/input/keyboard/clps711x-keypad.c poll_dev->input->dev.parent = dev; input 137 drivers/input/keyboard/clps711x-keypad.c poll_dev->input->id.bustype = BUS_HOST; input 138 drivers/input/keyboard/clps711x-keypad.c poll_dev->input->id.vendor = 0x0001; input 139 drivers/input/keyboard/clps711x-keypad.c poll_dev->input->id.product = 0x0001; input 140 drivers/input/keyboard/clps711x-keypad.c poll_dev->input->id.version = 0x0100; input 144 drivers/input/keyboard/clps711x-keypad.c NULL, poll_dev->input); input 148 drivers/input/keyboard/clps711x-keypad.c input_set_capability(poll_dev->input, EV_MSC, MSC_SCAN); input 150 drivers/input/keyboard/clps711x-keypad.c __set_bit(EV_REP, poll_dev->input->evbit); input 53 drivers/input/keyboard/davinci_keyscan.c struct input_dev *input; input 65 drivers/input/keyboard/davinci_keyscan.c struct device *dev = &davinci_ks->input->dev; input 108 drivers/input/keyboard/davinci_keyscan.c struct device *dev = &davinci_ks->input->dev; input 136 drivers/input/keyboard/davinci_keyscan.c input_report_key(davinci_ks->input, keycode, input 138 drivers/input/keyboard/davinci_keyscan.c input_sync(davinci_ks->input); input 191 drivers/input/keyboard/davinci_keyscan.c davinci_ks->input = key_dev; input 249 drivers/input/keyboard/davinci_keyscan.c error = input_register_device(davinci_ks->input); input 274 drivers/input/keyboard/davinci_keyscan.c input_unregister_device(davinci_ks->input); input 294 drivers/input/keyboard/davinci_keyscan.c input_unregister_device(davinci_ks->input); input 22 drivers/input/keyboard/dlink-dir685-touchkeys.c struct input_dev *input; input 52 drivers/input/keyboard/dlink-dir685-touchkeys.c input_report_key(tk->input, tk->codes[i], test_bit(i, &key)); input 57 drivers/input/keyboard/dlink-dir685-touchkeys.c input_sync(tk->input); input 75 drivers/input/keyboard/dlink-dir685-touchkeys.c tk->input = devm_input_allocate_device(dev); input 76 drivers/input/keyboard/dlink-dir685-touchkeys.c if (!tk->input) input 82 drivers/input/keyboard/dlink-dir685-touchkeys.c tk->input->keycodesize = sizeof(u16); input 83 drivers/input/keyboard/dlink-dir685-touchkeys.c tk->input->keycodemax = ARRAY_SIZE(tk->codes); input 84 drivers/input/keyboard/dlink-dir685-touchkeys.c tk->input->keycode = tk->codes; input 97 drivers/input/keyboard/dlink-dir685-touchkeys.c __set_bit(EV_KEY, tk->input->evbit); input 99 drivers/input/keyboard/dlink-dir685-touchkeys.c __set_bit(tk->codes[i], tk->input->keybit); input 100 drivers/input/keyboard/dlink-dir685-touchkeys.c __clear_bit(KEY_RESERVED, tk->input->keybit); input 102 drivers/input/keyboard/dlink-dir685-touchkeys.c tk->input->name = "D-Link DIR-685 touchkeys"; input 103 drivers/input/keyboard/dlink-dir685-touchkeys.c tk->input->id.bustype = BUS_I2C; input 105 drivers/input/keyboard/dlink-dir685-touchkeys.c err = input_register_device(tk->input); input 30 drivers/input/keyboard/goldfish_events.c struct input_dev *input; input 45 drivers/input/keyboard/goldfish_events.c input_event(edev->input, type, code, value); input 46 drivers/input/keyboard/goldfish_events.c input_sync(edev->input); input 75 drivers/input/keyboard/goldfish_events.c struct input_dev *input_dev = edev->input; input 138 drivers/input/keyboard/goldfish_events.c edev->input = input_dev; input 34 drivers/input/keyboard/gpio_keys.c struct input_dev *input; input 55 drivers/input/keyboard/gpio_keys.c struct input_dev *input; input 235 drivers/input/keyboard/gpio_keys.c const unsigned long *bitmap = get_bm_events_by_type(ddata->input, type); input 359 drivers/input/keyboard/gpio_keys.c struct input_dev *input = bdata->input; input 365 drivers/input/keyboard/gpio_keys.c dev_err(input->dev.parent, input 372 drivers/input/keyboard/gpio_keys.c input_event(input, type, button->code, button->value); input 374 drivers/input/keyboard/gpio_keys.c input_event(input, type, *bdata->code, state); input 376 drivers/input/keyboard/gpio_keys.c input_sync(input); input 387 drivers/input/keyboard/gpio_keys.c pm_relax(bdata->input->dev.parent); input 399 drivers/input/keyboard/gpio_keys.c pm_stay_awake(bdata->input->dev.parent); input 407 drivers/input/keyboard/gpio_keys.c input_report_key(bdata->input, button->code, 1); input 421 drivers/input/keyboard/gpio_keys.c struct input_dev *input = bdata->input; input 426 drivers/input/keyboard/gpio_keys.c input_event(input, EV_KEY, *bdata->code, 0); input 427 drivers/input/keyboard/gpio_keys.c input_sync(input); input 436 drivers/input/keyboard/gpio_keys.c struct input_dev *input = bdata->input; input 445 drivers/input/keyboard/gpio_keys.c pm_wakeup_event(bdata->input->dev.parent, 0); input 447 drivers/input/keyboard/gpio_keys.c input_event(input, EV_KEY, *bdata->code, 1); input 448 drivers/input/keyboard/gpio_keys.c input_sync(input); input 451 drivers/input/keyboard/gpio_keys.c input_event(input, EV_KEY, *bdata->code, 0); input 452 drivers/input/keyboard/gpio_keys.c input_sync(input); input 478 drivers/input/keyboard/gpio_keys.c struct input_dev *input, input 492 drivers/input/keyboard/gpio_keys.c bdata->input = input; input 614 drivers/input/keyboard/gpio_keys.c input_set_capability(input, button->type ?: EV_KEY, *bdata->code); input 647 drivers/input/keyboard/gpio_keys.c struct input_dev *input = ddata->input; input 655 drivers/input/keyboard/gpio_keys.c input_sync(input); input 658 drivers/input/keyboard/gpio_keys.c static int gpio_keys_open(struct input_dev *input) input 660 drivers/input/keyboard/gpio_keys.c struct gpio_keys_drvdata *ddata = input_get_drvdata(input); input 665 drivers/input/keyboard/gpio_keys.c error = pdata->enable(input->dev.parent); input 676 drivers/input/keyboard/gpio_keys.c static void gpio_keys_close(struct input_dev *input) input 678 drivers/input/keyboard/gpio_keys.c struct gpio_keys_drvdata *ddata = input_get_drvdata(input); input 682 drivers/input/keyboard/gpio_keys.c pdata->disable(input->dev.parent); input 770 drivers/input/keyboard/gpio_keys.c struct input_dev *input; input 793 drivers/input/keyboard/gpio_keys.c input = devm_input_allocate_device(dev); input 794 drivers/input/keyboard/gpio_keys.c if (!input) { input 800 drivers/input/keyboard/gpio_keys.c ddata->input = input; input 804 drivers/input/keyboard/gpio_keys.c input_set_drvdata(input, ddata); input 806 drivers/input/keyboard/gpio_keys.c input->name = pdata->name ? : pdev->name; input 807 drivers/input/keyboard/gpio_keys.c input->phys = "gpio-keys/input0"; input 808 drivers/input/keyboard/gpio_keys.c input->dev.parent = dev; input 809 drivers/input/keyboard/gpio_keys.c input->open = gpio_keys_open; input 810 drivers/input/keyboard/gpio_keys.c input->close = gpio_keys_close; input 812 drivers/input/keyboard/gpio_keys.c input->id.bustype = BUS_HOST; input 813 drivers/input/keyboard/gpio_keys.c input->id.vendor = 0x0001; input 814 drivers/input/keyboard/gpio_keys.c input->id.product = 0x0001; input 815 drivers/input/keyboard/gpio_keys.c input->id.version = 0x0100; input 817 drivers/input/keyboard/gpio_keys.c input->keycode = ddata->keymap; input 818 drivers/input/keyboard/gpio_keys.c input->keycodesize = sizeof(ddata->keymap[0]); input 819 drivers/input/keyboard/gpio_keys.c input->keycodemax = pdata->nbuttons; input 823 drivers/input/keyboard/gpio_keys.c __set_bit(EV_REP, input->evbit); input 838 drivers/input/keyboard/gpio_keys.c error = gpio_keys_setup_key(pdev, input, ddata, input 851 drivers/input/keyboard/gpio_keys.c error = input_register_device(input); input 870 drivers/input/keyboard/gpio_keys.c dev_err(bdata->input->dev.parent, input 880 drivers/input/keyboard/gpio_keys.c dev_err(bdata->input->dev.parent, input 903 drivers/input/keyboard/gpio_keys.c dev_warn(bdata->input->dev.parent, input 910 drivers/input/keyboard/gpio_keys.c dev_warn(bdata->input->dev.parent, input 962 drivers/input/keyboard/gpio_keys.c struct input_dev *input = ddata->input; input 970 drivers/input/keyboard/gpio_keys.c mutex_lock(&input->mutex); input 971 drivers/input/keyboard/gpio_keys.c if (input->users) input 972 drivers/input/keyboard/gpio_keys.c gpio_keys_close(input); input 973 drivers/input/keyboard/gpio_keys.c mutex_unlock(&input->mutex); input 982 drivers/input/keyboard/gpio_keys.c struct input_dev *input = ddata->input; input 988 drivers/input/keyboard/gpio_keys.c mutex_lock(&input->mutex); input 989 drivers/input/keyboard/gpio_keys.c if (input->users) input 990 drivers/input/keyboard/gpio_keys.c error = gpio_keys_open(input); input 991 drivers/input/keyboard/gpio_keys.c mutex_unlock(&input->mutex); input 50 drivers/input/keyboard/gpio_keys_polled.c struct input_dev *input = dev->input; input 55 drivers/input/keyboard/gpio_keys_polled.c input_event(input, type, button->code, button->value); input 60 drivers/input/keyboard/gpio_keys_polled.c input_event(input, type, button->code, button->value); input 64 drivers/input/keyboard/gpio_keys_polled.c input_event(input, type, button->code, state); input 65 drivers/input/keyboard/gpio_keys_polled.c input_sync(input); input 77 drivers/input/keyboard/gpio_keys_polled.c dev_err(dev->input->dev.parent, input 93 drivers/input/keyboard/gpio_keys_polled.c struct input_dev *input = dev->input; input 112 drivers/input/keyboard/gpio_keys_polled.c for_each_set_bit(i, input->relbit, REL_CNT) { input 114 drivers/input/keyboard/gpio_keys_polled.c input_event(input, EV_REL, i, 0); input 117 drivers/input/keyboard/gpio_keys_polled.c for_each_set_bit(i, input->absbit, ABS_CNT) { input 119 drivers/input/keyboard/gpio_keys_polled.c input_event(input, EV_ABS, i, 0); input 122 drivers/input/keyboard/gpio_keys_polled.c input_sync(input); input 203 drivers/input/keyboard/gpio_keys_polled.c static void gpio_keys_polled_set_abs_params(struct input_dev *input, input 220 drivers/input/keyboard/gpio_keys_polled.c input_set_abs_params(input, code, min, max, 0, 0); input 236 drivers/input/keyboard/gpio_keys_polled.c struct input_dev *input; input 270 drivers/input/keyboard/gpio_keys_polled.c input = poll_dev->input; input 272 drivers/input/keyboard/gpio_keys_polled.c input->name = pdata->name ?: pdev->name; input 273 drivers/input/keyboard/gpio_keys_polled.c input->phys = DRV_NAME"/input0"; input 275 drivers/input/keyboard/gpio_keys_polled.c input->id.bustype = BUS_HOST; input 276 drivers/input/keyboard/gpio_keys_polled.c input->id.vendor = 0x0001; input 277 drivers/input/keyboard/gpio_keys_polled.c input->id.product = 0x0001; input 278 drivers/input/keyboard/gpio_keys_polled.c input->id.version = 0x0100; input 280 drivers/input/keyboard/gpio_keys_polled.c __set_bit(EV_KEY, input->evbit); input 282 drivers/input/keyboard/gpio_keys_polled.c __set_bit(EV_REP, input->evbit); input 348 drivers/input/keyboard/gpio_keys_polled.c input_set_capability(input, type, button->code); input 350 drivers/input/keyboard/gpio_keys_polled.c gpio_keys_polled_set_abs_params(input, pdata, input 372 drivers/input/keyboard/gpio_keys_polled.c input_sync(input); input 25 drivers/input/keyboard/ipaq-micro-keys.c struct input_dev *input; input 50 drivers/input/keyboard/ipaq-micro-keys.c input_report_key(keys->input, keys->codes[key], down); input 51 drivers/input/keyboard/ipaq-micro-keys.c input_sync(keys->input); input 71 drivers/input/keyboard/ipaq-micro-keys.c static int micro_key_open(struct input_dev *input) input 73 drivers/input/keyboard/ipaq-micro-keys.c struct ipaq_micro_keys *keys = input_get_drvdata(input); input 80 drivers/input/keyboard/ipaq-micro-keys.c static void micro_key_close(struct input_dev *input) input 82 drivers/input/keyboard/ipaq-micro-keys.c struct ipaq_micro_keys *keys = input_get_drvdata(input); input 99 drivers/input/keyboard/ipaq-micro-keys.c keys->input = devm_input_allocate_device(&pdev->dev); input 100 drivers/input/keyboard/ipaq-micro-keys.c if (!keys->input) input 103 drivers/input/keyboard/ipaq-micro-keys.c keys->input->keycodesize = sizeof(micro_keycodes[0]); input 104 drivers/input/keyboard/ipaq-micro-keys.c keys->input->keycodemax = ARRAY_SIZE(micro_keycodes); input 106 drivers/input/keyboard/ipaq-micro-keys.c keys->input->keycodesize * keys->input->keycodemax, input 108 drivers/input/keyboard/ipaq-micro-keys.c keys->input->keycode = keys->codes; input 110 drivers/input/keyboard/ipaq-micro-keys.c __set_bit(EV_KEY, keys->input->evbit); input 112 drivers/input/keyboard/ipaq-micro-keys.c __set_bit(micro_keycodes[i], keys->input->keybit); input 114 drivers/input/keyboard/ipaq-micro-keys.c keys->input->name = "h3600 micro keys"; input 115 drivers/input/keyboard/ipaq-micro-keys.c keys->input->open = micro_key_open; input 116 drivers/input/keyboard/ipaq-micro-keys.c keys->input->close = micro_key_close; input 117 drivers/input/keyboard/ipaq-micro-keys.c input_set_drvdata(keys->input, keys); input 119 drivers/input/keyboard/ipaq-micro-keys.c error = input_register_device(keys->input); input 139 drivers/input/keyboard/ipaq-micro-keys.c struct input_dev *input = keys->input; input 141 drivers/input/keyboard/ipaq-micro-keys.c mutex_lock(&input->mutex); input 143 drivers/input/keyboard/ipaq-micro-keys.c if (input->users) input 146 drivers/input/keyboard/ipaq-micro-keys.c mutex_unlock(&input->mutex); input 76 drivers/input/keyboard/jornada680_kbd.c struct input_dev *input_dev = jornadakbd->poll_dev->input; input 206 drivers/input/keyboard/jornada680_kbd.c input_dev = poll_dev->input; input 49 drivers/input/keyboard/jornada720_kbd.c struct input_dev *input; input 56 drivers/input/keyboard/jornada720_kbd.c struct input_dev *input = jornadakbd->input; input 75 drivers/input/keyboard/jornada720_kbd.c input_event(input, EV_MSC, MSC_SCAN, scan_code); input 76 drivers/input/keyboard/jornada720_kbd.c input_report_key(input, jornadakbd->keymap[scan_code], input 78 drivers/input/keyboard/jornada720_kbd.c input_sync(input); input 107 drivers/input/keyboard/jornada720_kbd.c jornadakbd->input = input_dev; input 131 drivers/input/keyboard/jornada720_kbd.c return input_register_device(jornadakbd->input); input 35 drivers/input/keyboard/lm8333.c struct input_dev *input; input 78 drivers/input/keyboard/lm8333.c struct input_dev *input = lm8333->input; input 95 drivers/input/keyboard/lm8333.c input_event(input, EV_MSC, MSC_SCAN, code); input 96 drivers/input/keyboard/lm8333.c input_report_key(input, lm8333->keycodes[code], pressed); input 99 drivers/input/keyboard/lm8333.c input_sync(input); input 134 drivers/input/keyboard/lm8333.c struct input_dev *input; input 147 drivers/input/keyboard/lm8333.c input = input_allocate_device(); input 148 drivers/input/keyboard/lm8333.c if (!lm8333 || !input) { input 154 drivers/input/keyboard/lm8333.c lm8333->input = input; input 156 drivers/input/keyboard/lm8333.c input->name = client->name; input 157 drivers/input/keyboard/lm8333.c input->dev.parent = &client->dev; input 158 drivers/input/keyboard/lm8333.c input->id.bustype = BUS_I2C; input 160 drivers/input/keyboard/lm8333.c input_set_capability(input, EV_MSC, MSC_SCAN); input 164 drivers/input/keyboard/lm8333.c lm8333->keycodes, input); input 188 drivers/input/keyboard/lm8333.c err = input_register_device(input); input 198 drivers/input/keyboard/lm8333.c input_free_device(input); input 208 drivers/input/keyboard/lm8333.c input_unregister_device(lm8333->input); input 60 drivers/input/keyboard/locomokbd.c struct input_dev *input; input 137 drivers/input/keyboard/locomokbd.c input_report_key(locomokbd->input, key, pressed); input 153 drivers/input/keyboard/locomokbd.c input_event(locomokbd->input, EV_PWR, input 163 drivers/input/keyboard/locomokbd.c input_sync(locomokbd->input); input 256 drivers/input/keyboard/locomokbd.c locomokbd->input = input_dev; input 289 drivers/input/keyboard/locomokbd.c err = input_register_device(locomokbd->input); input 315 drivers/input/keyboard/locomokbd.c input_unregister_device(locomokbd->input); input 57 drivers/input/keyboard/lpc32xx-keys.c struct input_dev *input; input 74 drivers/input/keyboard/lpc32xx-keys.c struct input_dev *input = kscandat->input; input 88 drivers/input/keyboard/lpc32xx-keys.c input_event(input, EV_MSC, MSC_SCAN, scancode); input 89 drivers/input/keyboard/lpc32xx-keys.c input_report_key(input, keycode, key & (1 << row)); input 104 drivers/input/keyboard/lpc32xx-keys.c input_sync(kscandat->input); input 162 drivers/input/keyboard/lpc32xx-keys.c struct input_dev *input; input 195 drivers/input/keyboard/lpc32xx-keys.c kscandat->input = input = devm_input_allocate_device(&pdev->dev); input 196 drivers/input/keyboard/lpc32xx-keys.c if (!input) { input 202 drivers/input/keyboard/lpc32xx-keys.c input->name = pdev->name; input 203 drivers/input/keyboard/lpc32xx-keys.c input->phys = "lpc32xx/input0"; input 204 drivers/input/keyboard/lpc32xx-keys.c input->id.vendor = 0x0001; input 205 drivers/input/keyboard/lpc32xx-keys.c input->id.product = 0x0001; input 206 drivers/input/keyboard/lpc32xx-keys.c input->id.version = 0x0100; input 207 drivers/input/keyboard/lpc32xx-keys.c input->open = lpc32xx_kscan_open; input 208 drivers/input/keyboard/lpc32xx-keys.c input->close = lpc32xx_kscan_close; input 209 drivers/input/keyboard/lpc32xx-keys.c input->dev.parent = &pdev->dev; input 211 drivers/input/keyboard/lpc32xx-keys.c input_set_capability(input, EV_MSC, MSC_SCAN); input 216 drivers/input/keyboard/lpc32xx-keys.c kscandat->keymap, kscandat->input); input 222 drivers/input/keyboard/lpc32xx-keys.c input_set_drvdata(kscandat->input, kscandat); input 256 drivers/input/keyboard/lpc32xx-keys.c error = input_register_device(kscandat->input); input 272 drivers/input/keyboard/lpc32xx-keys.c struct input_dev *input = kscandat->input; input 274 drivers/input/keyboard/lpc32xx-keys.c mutex_lock(&input->mutex); input 276 drivers/input/keyboard/lpc32xx-keys.c if (input->users) { input 282 drivers/input/keyboard/lpc32xx-keys.c mutex_unlock(&input->mutex); input 290 drivers/input/keyboard/lpc32xx-keys.c struct input_dev *input = kscandat->input; input 293 drivers/input/keyboard/lpc32xx-keys.c mutex_lock(&input->mutex); input 295 drivers/input/keyboard/lpc32xx-keys.c if (input->users) { input 302 drivers/input/keyboard/lpc32xx-keys.c mutex_unlock(&input->mutex); input 59 drivers/input/keyboard/mcs_touchkey.c struct input_dev *input = data->input_dev; input 84 drivers/input/keyboard/mcs_touchkey.c input_event(input, EV_MSC, MSC_SCAN, data->key_val); input 85 drivers/input/keyboard/mcs_touchkey.c input_report_key(input, data->key_code, pressed); input 86 drivers/input/keyboard/mcs_touchkey.c input_sync(input); input 122 drivers/input/keyboard/mpr121_touchkey.c struct input_dev *input = mpr121->input_dev; input 150 drivers/input/keyboard/mpr121_touchkey.c input_event(input, EV_MSC, MSC_SCAN, key_num); input 151 drivers/input/keyboard/mpr121_touchkey.c input_report_key(input, key_val, pressed); input 157 drivers/input/keyboard/mpr121_touchkey.c input_sync(input); input 65 drivers/input/keyboard/nomadik-ske-keypad.c struct input_dev *input; input 142 drivers/input/keyboard/nomadik-ske-keypad.c struct input_dev *input = keypad->input; input 158 drivers/input/keyboard/nomadik-ske-keypad.c input_event(input, EV_MSC, MSC_SCAN, code); input 159 drivers/input/keyboard/nomadik-ske-keypad.c input_report_key(input, keypad->keymap[code], key_pressed); input 160 drivers/input/keyboard/nomadik-ske-keypad.c input_sync(input); input 227 drivers/input/keyboard/nomadik-ske-keypad.c struct input_dev *input; input 248 drivers/input/keyboard/nomadik-ske-keypad.c input = input_allocate_device(); input 249 drivers/input/keyboard/nomadik-ske-keypad.c if (!keypad || !input) { input 257 drivers/input/keyboard/nomadik-ske-keypad.c keypad->input = input; input 287 drivers/input/keyboard/nomadik-ske-keypad.c input->id.bustype = BUS_HOST; input 288 drivers/input/keyboard/nomadik-ske-keypad.c input->name = "ux500-ske-keypad"; input 289 drivers/input/keyboard/nomadik-ske-keypad.c input->dev.parent = &pdev->dev; input 293 drivers/input/keyboard/nomadik-ske-keypad.c keypad->keymap, input); input 299 drivers/input/keyboard/nomadik-ske-keypad.c input_set_capability(input, EV_MSC, MSC_SCAN); input 301 drivers/input/keyboard/nomadik-ske-keypad.c __set_bit(EV_REP, input->evbit); input 333 drivers/input/keyboard/nomadik-ske-keypad.c error = input_register_device(input); input 362 drivers/input/keyboard/nomadik-ske-keypad.c input_free_device(input); input 374 drivers/input/keyboard/nomadik-ske-keypad.c input_unregister_device(keypad->input); input 35 drivers/input/keyboard/nspire-keypad.c struct input_dev *input; input 53 drivers/input/keyboard/nspire-keypad.c struct input_dev *input = keypad->input; input 54 drivers/input/keyboard/nspire-keypad.c unsigned short *keymap = input->keycode; input 83 drivers/input/keyboard/nspire-keypad.c input_event(input, EV_MSC, MSC_SCAN, code); input 84 drivers/input/keyboard/nspire-keypad.c input_report_key(input, keymap[code], input 89 drivers/input/keyboard/nspire-keypad.c input_sync(input); input 133 drivers/input/keyboard/nspire-keypad.c static int nspire_keypad_open(struct input_dev *input) input 135 drivers/input/keyboard/nspire-keypad.c struct nspire_keypad *keypad = input_get_drvdata(input); input 151 drivers/input/keyboard/nspire-keypad.c static void nspire_keypad_close(struct input_dev *input) input 153 drivers/input/keyboard/nspire-keypad.c struct nspire_keypad *keypad = input_get_drvdata(input); input 162 drivers/input/keyboard/nspire-keypad.c struct input_dev *input; input 207 drivers/input/keyboard/nspire-keypad.c keypad->input = input = devm_input_allocate_device(&pdev->dev); input 208 drivers/input/keyboard/nspire-keypad.c if (!input) { input 213 drivers/input/keyboard/nspire-keypad.c input_set_drvdata(input, keypad); input 215 drivers/input/keyboard/nspire-keypad.c input->id.bustype = BUS_HOST; input 216 drivers/input/keyboard/nspire-keypad.c input->name = "nspire-keypad"; input 217 drivers/input/keyboard/nspire-keypad.c input->open = nspire_keypad_open; input 218 drivers/input/keyboard/nspire-keypad.c input->close = nspire_keypad_close; input 220 drivers/input/keyboard/nspire-keypad.c __set_bit(EV_KEY, input->evbit); input 221 drivers/input/keyboard/nspire-keypad.c __set_bit(EV_REP, input->evbit); input 222 drivers/input/keyboard/nspire-keypad.c input_set_capability(input, EV_MSC, MSC_SCAN); input 227 drivers/input/keyboard/nspire-keypad.c NULL, input); input 240 drivers/input/keyboard/nspire-keypad.c error = input_register_device(input); input 39 drivers/input/keyboard/omap-keypad.c struct input_dev *input; input 94 drivers/input/keyboard/omap-keypad.c unsigned short *keycodes = omap_kp_data->input->keycode; input 125 drivers/input/keyboard/omap-keypad.c input_report_key(omap_kp_data->input, key & ~GROUP_MASK, input 130 drivers/input/keyboard/omap-keypad.c input_sync(omap_kp_data->input); input 204 drivers/input/keyboard/omap-keypad.c omap_kp->input = input_dev; input 252 drivers/input/keyboard/omap-keypad.c ret = input_register_device(omap_kp->input); input 274 drivers/input/keyboard/omap-keypad.c input_unregister_device(omap_kp->input); input 303 drivers/input/keyboard/omap-keypad.c input_unregister_device(omap_kp->input); input 69 drivers/input/keyboard/omap4-keypad.c struct input_dev *input; input 125 drivers/input/keyboard/omap4-keypad.c struct input_dev *input_dev = keypad_data->input; input 162 drivers/input/keyboard/omap4-keypad.c static int omap4_keypad_open(struct input_dev *input) input 164 drivers/input/keyboard/omap4-keypad.c struct omap4_keypad *keypad_data = input_get_drvdata(input); input 166 drivers/input/keyboard/omap4-keypad.c pm_runtime_get_sync(input->dev.parent); input 189 drivers/input/keyboard/omap4-keypad.c static void omap4_keypad_close(struct input_dev *input) input 191 drivers/input/keyboard/omap4-keypad.c struct omap4_keypad *keypad_data = input_get_drvdata(input); input 206 drivers/input/keyboard/omap4-keypad.c pm_runtime_put_sync(input->dev.parent); input 305 drivers/input/keyboard/omap4-keypad.c keypad_data->input = input_dev = input_allocate_device(); input 357 drivers/input/keyboard/omap4-keypad.c error = input_register_device(keypad_data->input); input 393 drivers/input/keyboard/omap4-keypad.c input_unregister_device(keypad_data->input); input 19 drivers/input/keyboard/opencores-kbd.c struct input_dev *input; input 28 drivers/input/keyboard/opencores-kbd.c struct input_dev *input = opencores_kbd->input; input 32 drivers/input/keyboard/opencores-kbd.c input_report_key(input, c & 0x7f, c & 0x80 ? 0 : 1); input 33 drivers/input/keyboard/opencores-kbd.c input_sync(input); input 40 drivers/input/keyboard/opencores-kbd.c struct input_dev *input; input 60 drivers/input/keyboard/opencores-kbd.c input = devm_input_allocate_device(&pdev->dev); input 61 drivers/input/keyboard/opencores-kbd.c if (!input) { input 66 drivers/input/keyboard/opencores-kbd.c opencores_kbd->input = input; input 72 drivers/input/keyboard/opencores-kbd.c input->name = pdev->name; input 73 drivers/input/keyboard/opencores-kbd.c input->phys = "opencores-kbd/input0"; input 75 drivers/input/keyboard/opencores-kbd.c input->id.bustype = BUS_HOST; input 76 drivers/input/keyboard/opencores-kbd.c input->id.vendor = 0x0001; input 77 drivers/input/keyboard/opencores-kbd.c input->id.product = 0x0001; input 78 drivers/input/keyboard/opencores-kbd.c input->id.version = 0x0100; input 80 drivers/input/keyboard/opencores-kbd.c input->keycode = opencores_kbd->keycodes; input 81 drivers/input/keyboard/opencores-kbd.c input->keycodesize = sizeof(opencores_kbd->keycodes[0]); input 82 drivers/input/keyboard/opencores-kbd.c input->keycodemax = ARRAY_SIZE(opencores_kbd->keycodes); input 84 drivers/input/keyboard/opencores-kbd.c __set_bit(EV_KEY, input->evbit); input 92 drivers/input/keyboard/opencores-kbd.c __set_bit(opencores_kbd->keycodes[i], input->keybit); input 94 drivers/input/keyboard/opencores-kbd.c __clear_bit(KEY_RESERVED, input->keybit); input 104 drivers/input/keyboard/opencores-kbd.c error = input_register_device(input); input 94 drivers/input/keyboard/pmic8xxx-keypad.c struct input_dev *input; input 240 drivers/input/keyboard/pmic8xxx-keypad.c input_event(kp->input, EV_MSC, MSC_SCAN, code); input 241 drivers/input/keyboard/pmic8xxx-keypad.c input_report_key(kp->input, input 245 drivers/input/keyboard/pmic8xxx-keypad.c input_sync(kp->input); input 540 drivers/input/keyboard/pmic8xxx-keypad.c kp->input = devm_input_allocate_device(&pdev->dev); input 541 drivers/input/keyboard/pmic8xxx-keypad.c if (!kp->input) { input 554 drivers/input/keyboard/pmic8xxx-keypad.c kp->input->name = "PMIC8XXX keypad"; input 555 drivers/input/keyboard/pmic8xxx-keypad.c kp->input->phys = "pmic8xxx_keypad/input0"; input 557 drivers/input/keyboard/pmic8xxx-keypad.c kp->input->id.bustype = BUS_I2C; input 558 drivers/input/keyboard/pmic8xxx-keypad.c kp->input->id.version = 0x0001; input 559 drivers/input/keyboard/pmic8xxx-keypad.c kp->input->id.product = 0x0001; input 560 drivers/input/keyboard/pmic8xxx-keypad.c kp->input->id.vendor = 0x0001; input 562 drivers/input/keyboard/pmic8xxx-keypad.c kp->input->open = pmic8xxx_kp_open; input 563 drivers/input/keyboard/pmic8xxx-keypad.c kp->input->close = pmic8xxx_kp_close; input 567 drivers/input/keyboard/pmic8xxx-keypad.c kp->keycodes, kp->input); input 574 drivers/input/keyboard/pmic8xxx-keypad.c __set_bit(EV_REP, kp->input->evbit); input 575 drivers/input/keyboard/pmic8xxx-keypad.c input_set_capability(kp->input, EV_MSC, MSC_SCAN); input 577 drivers/input/keyboard/pmic8xxx-keypad.c input_set_drvdata(kp->input, kp); input 613 drivers/input/keyboard/pmic8xxx-keypad.c rc = input_register_device(kp->input); input 629 drivers/input/keyboard/pmic8xxx-keypad.c struct input_dev *input_dev = kp->input; input 649 drivers/input/keyboard/pmic8xxx-keypad.c struct input_dev *input_dev = kp->input; input 116 drivers/input/keyboard/qt1050.c struct input_dev *input; input 251 drivers/input/keyboard/qt1050.c struct input_dev *input = ts->input; input 277 drivers/input/keyboard/qt1050.c input_report_key(input, ts->keys[i].keycode, input 281 drivers/input/keyboard/qt1050.c input_sync(input); input 431 drivers/input/keyboard/qt1050.c struct input_dev *input; input 454 drivers/input/keyboard/qt1050.c input = devm_input_allocate_device(dev); input 455 drivers/input/keyboard/qt1050.c if (!input) input 463 drivers/input/keyboard/qt1050.c ts->input = input; input 479 drivers/input/keyboard/qt1050.c input->name = "AT42QT1050 QTouch Sensor"; input 480 drivers/input/keyboard/qt1050.c input->dev.parent = &client->dev; input 481 drivers/input/keyboard/qt1050.c input->id.bustype = BUS_I2C; input 484 drivers/input/keyboard/qt1050.c input->keycode = ts->keycodes; input 485 drivers/input/keyboard/qt1050.c input->keycodesize = sizeof(ts->keycodes[0]); input 486 drivers/input/keyboard/qt1050.c input->keycodemax = QT1050_MAX_KEYS; input 488 drivers/input/keyboard/qt1050.c __set_bit(EV_KEY, input->evbit); input 491 drivers/input/keyboard/qt1050.c __set_bit(ts->keycodes[i], input->keybit); input 540 drivers/input/keyboard/qt1050.c err = input_register_device(ts->input); input 50 drivers/input/keyboard/qt1070.c struct input_dev *input; input 107 drivers/input/keyboard/qt1070.c struct input_dev *input = data->input; input 120 drivers/input/keyboard/qt1070.c input_report_key(input, data->keycodes[i], keyval); input 123 drivers/input/keyboard/qt1070.c input_sync(input); input 133 drivers/input/keyboard/qt1070.c struct input_dev *input; input 154 drivers/input/keyboard/qt1070.c input = input_allocate_device(); input 155 drivers/input/keyboard/qt1070.c if (!data || !input) { input 162 drivers/input/keyboard/qt1070.c data->input = input; input 165 drivers/input/keyboard/qt1070.c input->name = "AT42QT1070 QTouch Sensor"; input 166 drivers/input/keyboard/qt1070.c input->dev.parent = &client->dev; input 167 drivers/input/keyboard/qt1070.c input->id.bustype = BUS_I2C; input 170 drivers/input/keyboard/qt1070.c input->keycode = data->keycodes; input 171 drivers/input/keyboard/qt1070.c input->keycodesize = sizeof(data->keycodes[0]); input 172 drivers/input/keyboard/qt1070.c input->keycodemax = ARRAY_SIZE(qt1070_key2code); input 174 drivers/input/keyboard/qt1070.c __set_bit(EV_KEY, input->evbit); input 178 drivers/input/keyboard/qt1070.c __set_bit(qt1070_key2code[i], input->keybit); input 198 drivers/input/keyboard/qt1070.c err = input_register_device(data->input); input 214 drivers/input/keyboard/qt1070.c input_free_device(input); input 226 drivers/input/keyboard/qt1070.c input_unregister_device(data->input); input 56 drivers/input/keyboard/qt2160.c struct input_dev *input; input 161 drivers/input/keyboard/qt2160.c struct input_dev *input = qt2160->input; input 187 drivers/input/keyboard/qt2160.c input_report_key(input, qt2160->keycodes[i], keyval); input 193 drivers/input/keyboard/qt2160.c input_sync(input); input 345 drivers/input/keyboard/qt2160.c struct input_dev *input; input 363 drivers/input/keyboard/qt2160.c input = input_allocate_device(); input 364 drivers/input/keyboard/qt2160.c if (!qt2160 || !input) { input 371 drivers/input/keyboard/qt2160.c qt2160->input = input; input 374 drivers/input/keyboard/qt2160.c input->name = "AT42QT2160 Touch Sense Keyboard"; input 375 drivers/input/keyboard/qt2160.c input->id.bustype = BUS_I2C; input 377 drivers/input/keyboard/qt2160.c input->keycode = qt2160->keycodes; input 378 drivers/input/keyboard/qt2160.c input->keycodesize = sizeof(qt2160->keycodes[0]); input 379 drivers/input/keyboard/qt2160.c input->keycodemax = ARRAY_SIZE(qt2160_key2code); input 381 drivers/input/keyboard/qt2160.c __set_bit(EV_KEY, input->evbit); input 382 drivers/input/keyboard/qt2160.c __clear_bit(EV_REP, input->evbit); input 385 drivers/input/keyboard/qt2160.c __set_bit(qt2160_key2code[i], input->keybit); input 387 drivers/input/keyboard/qt2160.c __clear_bit(KEY_RESERVED, input->keybit); input 412 drivers/input/keyboard/qt2160.c error = input_register_device(qt2160->input); input 430 drivers/input/keyboard/qt2160.c input_free_device(input); input 447 drivers/input/keyboard/qt2160.c input_unregister_device(qt2160->input); input 37 drivers/input/keyboard/sh_keysc.c struct input_dev *input; input 146 drivers/input/keyboard/sh_keysc.c input_event(priv->input, EV_KEY, k, 1); input 151 drivers/input/keyboard/sh_keysc.c input_event(priv->input, EV_KEY, k, 0); input 156 drivers/input/keyboard/sh_keysc.c input_sync(priv->input); input 166 drivers/input/keyboard/sh_keysc.c struct input_dev *input; input 205 drivers/input/keyboard/sh_keysc.c priv->input = input_allocate_device(); input 206 drivers/input/keyboard/sh_keysc.c if (!priv->input) { input 212 drivers/input/keyboard/sh_keysc.c input = priv->input; input 213 drivers/input/keyboard/sh_keysc.c input->evbit[0] = BIT_MASK(EV_KEY); input 215 drivers/input/keyboard/sh_keysc.c input->name = pdev->name; input 216 drivers/input/keyboard/sh_keysc.c input->phys = "sh-keysc-keys/input0"; input 217 drivers/input/keyboard/sh_keysc.c input->dev.parent = &pdev->dev; input 219 drivers/input/keyboard/sh_keysc.c input->id.bustype = BUS_HOST; input 220 drivers/input/keyboard/sh_keysc.c input->id.vendor = 0x0001; input 221 drivers/input/keyboard/sh_keysc.c input->id.product = 0x0001; input 222 drivers/input/keyboard/sh_keysc.c input->id.version = 0x0100; input 224 drivers/input/keyboard/sh_keysc.c input->keycode = pdata->keycodes; input 225 drivers/input/keyboard/sh_keysc.c input->keycodesize = sizeof(pdata->keycodes[0]); input 226 drivers/input/keyboard/sh_keysc.c input->keycodemax = ARRAY_SIZE(pdata->keycodes); input 236 drivers/input/keyboard/sh_keysc.c __set_bit(pdata->keycodes[i], input->keybit); input 237 drivers/input/keyboard/sh_keysc.c __clear_bit(KEY_RESERVED, input->keybit); input 239 drivers/input/keyboard/sh_keysc.c error = input_register_device(input); input 259 drivers/input/keyboard/sh_keysc.c input_free_device(input); input 274 drivers/input/keyboard/sh_keysc.c input_unregister_device(priv->input); input 39 drivers/input/keyboard/snvs_pwrkey.c struct input_dev *input; input 45 drivers/input/keyboard/snvs_pwrkey.c struct input_dev *input = pdata->input; input 54 drivers/input/keyboard/snvs_pwrkey.c input_event(input, EV_KEY, pdata->keycode, state); input 55 drivers/input/keyboard/snvs_pwrkey.c input_sync(input); input 56 drivers/input/keyboard/snvs_pwrkey.c pm_relax(pdata->input->dev.parent); input 72 drivers/input/keyboard/snvs_pwrkey.c pm_wakeup_event(pdata->input->dev.parent, 0); input 94 drivers/input/keyboard/snvs_pwrkey.c struct input_dev *input = NULL; input 131 drivers/input/keyboard/snvs_pwrkey.c input = devm_input_allocate_device(&pdev->dev); input 132 drivers/input/keyboard/snvs_pwrkey.c if (!input) { input 137 drivers/input/keyboard/snvs_pwrkey.c input->name = pdev->name; input 138 drivers/input/keyboard/snvs_pwrkey.c input->phys = "snvs-pwrkey/input0"; input 139 drivers/input/keyboard/snvs_pwrkey.c input->id.bustype = BUS_HOST; input 141 drivers/input/keyboard/snvs_pwrkey.c input_set_capability(input, EV_KEY, pdata->keycode); input 150 drivers/input/keyboard/snvs_pwrkey.c pdata->input = input; input 162 drivers/input/keyboard/snvs_pwrkey.c error = input_register_device(input); input 56 drivers/input/keyboard/spear-keyboard.c struct input_dev *input; input 72 drivers/input/keyboard/spear-keyboard.c struct input_dev *input = kbd->input; input 81 drivers/input/keyboard/spear-keyboard.c input_report_key(input, kbd->last_key, 0); input 90 drivers/input/keyboard/spear-keyboard.c input_event(input, EV_MSC, MSC_SCAN, val); input 91 drivers/input/keyboard/spear-keyboard.c input_report_key(input, key, 1); input 92 drivers/input/keyboard/spear-keyboard.c input_sync(input); input 209 drivers/input/keyboard/spear-keyboard.c kbd->input = input_dev; input 281 drivers/input/keyboard/spear-keyboard.c input_unregister_device(kbd->input); input 291 drivers/input/keyboard/spear-keyboard.c struct input_dev *input_dev = kbd->input; input 344 drivers/input/keyboard/spear-keyboard.c struct input_dev *input_dev = kbd->input; input 218 drivers/input/keyboard/st-keyscan.c struct input_dev *input = keypad->input_dev; input 220 drivers/input/keyboard/st-keyscan.c mutex_lock(&input->mutex); input 224 drivers/input/keyboard/st-keyscan.c else if (input->users) input 227 drivers/input/keyboard/st-keyscan.c mutex_unlock(&input->mutex); input 235 drivers/input/keyboard/st-keyscan.c struct input_dev *input = keypad->input_dev; input 238 drivers/input/keyboard/st-keyscan.c mutex_lock(&input->mutex); input 242 drivers/input/keyboard/st-keyscan.c else if (input->users) input 245 drivers/input/keyboard/st-keyscan.c mutex_unlock(&input->mutex); input 130 drivers/input/keyboard/stmpe-keypad.c struct input_dev *input; input 165 drivers/input/keyboard/stmpe-keypad.c struct input_dev *input = keypad->input; input 186 drivers/input/keyboard/stmpe-keypad.c input_event(input, EV_MSC, MSC_SCAN, code); input 187 drivers/input/keyboard/stmpe-keypad.c input_report_key(input, keypad->keymap[code], !up); input 188 drivers/input/keyboard/stmpe-keypad.c input_sync(input); input 335 drivers/input/keyboard/stmpe-keypad.c struct input_dev *input; input 357 drivers/input/keyboard/stmpe-keypad.c input = devm_input_allocate_device(&pdev->dev); input 358 drivers/input/keyboard/stmpe-keypad.c if (!input) input 361 drivers/input/keyboard/stmpe-keypad.c input->name = "STMPE keypad"; input 362 drivers/input/keyboard/stmpe-keypad.c input->id.bustype = BUS_I2C; input 363 drivers/input/keyboard/stmpe-keypad.c input->dev.parent = &pdev->dev; input 370 drivers/input/keyboard/stmpe-keypad.c keypad->keymap, input); input 374 drivers/input/keyboard/stmpe-keypad.c input_set_capability(input, EV_MSC, MSC_SCAN); input 376 drivers/input/keyboard/stmpe-keypad.c __set_bit(EV_REP, input->evbit); input 380 drivers/input/keyboard/stmpe-keypad.c keypad->input = input; input 394 drivers/input/keyboard/stmpe-keypad.c error = input_register_device(input); input 84 drivers/input/keyboard/sun4i-lradc-keys.c struct input_dev *input; input 107 drivers/input/keyboard/sun4i-lradc-keys.c input_report_key(lradc->input, lradc->chan0_keycode, 0); input 124 drivers/input/keyboard/sun4i-lradc-keys.c input_report_key(lradc->input, lradc->chan0_keycode, 1); input 127 drivers/input/keyboard/sun4i-lradc-keys.c input_sync(lradc->input); input 251 drivers/input/keyboard/sun4i-lradc-keys.c lradc->input = devm_input_allocate_device(dev); input 252 drivers/input/keyboard/sun4i-lradc-keys.c if (!lradc->input) input 255 drivers/input/keyboard/sun4i-lradc-keys.c lradc->input->name = pdev->name; input 256 drivers/input/keyboard/sun4i-lradc-keys.c lradc->input->phys = "sun4i_lradc/input0"; input 257 drivers/input/keyboard/sun4i-lradc-keys.c lradc->input->open = sun4i_lradc_open; input 258 drivers/input/keyboard/sun4i-lradc-keys.c lradc->input->close = sun4i_lradc_close; input 259 drivers/input/keyboard/sun4i-lradc-keys.c lradc->input->id.bustype = BUS_HOST; input 260 drivers/input/keyboard/sun4i-lradc-keys.c lradc->input->id.vendor = 0x0001; input 261 drivers/input/keyboard/sun4i-lradc-keys.c lradc->input->id.product = 0x0001; input 262 drivers/input/keyboard/sun4i-lradc-keys.c lradc->input->id.version = 0x0100; input 264 drivers/input/keyboard/sun4i-lradc-keys.c __set_bit(EV_KEY, lradc->input->evbit); input 266 drivers/input/keyboard/sun4i-lradc-keys.c __set_bit(lradc->chan0_map[i].keycode, lradc->input->keybit); input 268 drivers/input/keyboard/sun4i-lradc-keys.c input_set_drvdata(lradc->input, lradc); input 281 drivers/input/keyboard/sun4i-lradc-keys.c error = input_register_device(lradc->input); input 106 drivers/input/keyboard/tc3589x-keypad.c struct input_dev *input; input 211 drivers/input/keyboard/tc3589x-keypad.c input_event(keypad->input, EV_MSC, MSC_SCAN, code); input 212 drivers/input/keyboard/tc3589x-keypad.c input_report_key(keypad->input, keypad->keymap[code], !up); input 213 drivers/input/keyboard/tc3589x-keypad.c input_sync(keypad->input); input 292 drivers/input/keyboard/tc3589x-keypad.c static int tc3589x_keypad_open(struct input_dev *input) input 295 drivers/input/keyboard/tc3589x-keypad.c struct tc_keypad *keypad = input_get_drvdata(input); input 300 drivers/input/keyboard/tc3589x-keypad.c dev_err(&input->dev, "failed to enable keypad module\n"); input 306 drivers/input/keyboard/tc3589x-keypad.c dev_err(&input->dev, "failed to configure keypad module\n"); input 313 drivers/input/keyboard/tc3589x-keypad.c static void tc3589x_keypad_close(struct input_dev *input) input 315 drivers/input/keyboard/tc3589x-keypad.c struct tc_keypad *keypad = input_get_drvdata(input); input 378 drivers/input/keyboard/tc3589x-keypad.c struct input_dev *input; input 397 drivers/input/keyboard/tc3589x-keypad.c input = devm_input_allocate_device(&pdev->dev); input 398 drivers/input/keyboard/tc3589x-keypad.c if (!input) { input 404 drivers/input/keyboard/tc3589x-keypad.c keypad->input = input; input 407 drivers/input/keyboard/tc3589x-keypad.c input->id.bustype = BUS_I2C; input 408 drivers/input/keyboard/tc3589x-keypad.c input->name = pdev->name; input 409 drivers/input/keyboard/tc3589x-keypad.c input->dev.parent = &pdev->dev; input 411 drivers/input/keyboard/tc3589x-keypad.c input->open = tc3589x_keypad_open; input 412 drivers/input/keyboard/tc3589x-keypad.c input->close = tc3589x_keypad_close; input 416 drivers/input/keyboard/tc3589x-keypad.c NULL, input); input 422 drivers/input/keyboard/tc3589x-keypad.c keypad->keymap = input->keycode; input 424 drivers/input/keyboard/tc3589x-keypad.c input_set_capability(input, EV_MSC, MSC_SCAN); input 426 drivers/input/keyboard/tc3589x-keypad.c __set_bit(EV_REP, input->evbit); input 428 drivers/input/keyboard/tc3589x-keypad.c input_set_drvdata(input, keypad); input 443 drivers/input/keyboard/tc3589x-keypad.c error = input_register_device(input); input 35 drivers/input/keyboard/tca6416-keypad.c struct input_dev *input; input 45 drivers/input/keyboard/tca6416-keypad.c struct input_dev *input; input 90 drivers/input/keyboard/tca6416-keypad.c struct input_dev *input = chip->input; input 111 drivers/input/keyboard/tca6416-keypad.c input_event(input, type, button->code, !!state); input 112 drivers/input/keyboard/tca6416-keypad.c input_sync(input); input 202 drivers/input/keyboard/tca6416-keypad.c struct input_dev *input; input 220 drivers/input/keyboard/tca6416-keypad.c input = input_allocate_device(); input 221 drivers/input/keyboard/tca6416-keypad.c if (!chip || !input) { input 227 drivers/input/keyboard/tca6416-keypad.c chip->input = input; input 234 drivers/input/keyboard/tca6416-keypad.c input->phys = "tca6416-keys/input0"; input 235 drivers/input/keyboard/tca6416-keypad.c input->name = client->name; input 236 drivers/input/keyboard/tca6416-keypad.c input->dev.parent = &client->dev; input 238 drivers/input/keyboard/tca6416-keypad.c input->open = tca6416_keys_open; input 239 drivers/input/keyboard/tca6416-keypad.c input->close = tca6416_keys_close; input 241 drivers/input/keyboard/tca6416-keypad.c input->id.bustype = BUS_HOST; input 242 drivers/input/keyboard/tca6416-keypad.c input->id.vendor = 0x0001; input 243 drivers/input/keyboard/tca6416-keypad.c input->id.product = 0x0001; input 244 drivers/input/keyboard/tca6416-keypad.c input->id.version = 0x0100; input 248 drivers/input/keyboard/tca6416-keypad.c __set_bit(EV_REP, input->evbit); input 255 drivers/input/keyboard/tca6416-keypad.c input_set_capability(input, type, pdata->buttons[i].code); input 258 drivers/input/keyboard/tca6416-keypad.c input_set_drvdata(input, chip); input 288 drivers/input/keyboard/tca6416-keypad.c error = input_register_device(input); input 306 drivers/input/keyboard/tca6416-keypad.c input_free_device(input); input 320 drivers/input/keyboard/tca6416-keypad.c input_unregister_device(chip->input); input 114 drivers/input/keyboard/tca8418_keypad.c struct input_dev *input; input 161 drivers/input/keyboard/tca8418_keypad.c struct input_dev *input = keypad_data->input; input 162 drivers/input/keyboard/tca8418_keypad.c unsigned short *keymap = input->keycode; input 188 drivers/input/keyboard/tca8418_keypad.c input_event(input, EV_MSC, MSC_SCAN, code); input 189 drivers/input/keyboard/tca8418_keypad.c input_report_key(input, keymap[code], state); input 193 drivers/input/keyboard/tca8418_keypad.c input_sync(input); input 267 drivers/input/keyboard/tca8418_keypad.c struct input_dev *input; input 309 drivers/input/keyboard/tca8418_keypad.c input = devm_input_allocate_device(dev); input 310 drivers/input/keyboard/tca8418_keypad.c if (!input) input 313 drivers/input/keyboard/tca8418_keypad.c keypad_data->input = input; input 315 drivers/input/keyboard/tca8418_keypad.c input->name = client->name; input 316 drivers/input/keyboard/tca8418_keypad.c input->id.bustype = BUS_I2C; input 317 drivers/input/keyboard/tca8418_keypad.c input->id.vendor = 0x0001; input 318 drivers/input/keyboard/tca8418_keypad.c input->id.product = 0x001; input 319 drivers/input/keyboard/tca8418_keypad.c input->id.version = 0x0001; input 321 drivers/input/keyboard/tca8418_keypad.c error = matrix_keypad_build_keymap(NULL, NULL, rows, cols, NULL, input); input 328 drivers/input/keyboard/tca8418_keypad.c __set_bit(EV_REP, input->evbit); input 330 drivers/input/keyboard/tca8418_keypad.c input_set_capability(input, EV_MSC, MSC_SCAN); input 347 drivers/input/keyboard/tca8418_keypad.c error = input_register_device(input); input 112 drivers/input/keyboard/tegra-kbc.c static void tegra_kbc_report_released_keys(struct input_dev *input, input 126 drivers/input/keyboard/tegra-kbc.c input_report_key(input, old_keycodes[i], 0); input 130 drivers/input/keyboard/tegra-kbc.c static void tegra_kbc_report_pressed_keys(struct input_dev *input, input 138 drivers/input/keyboard/tegra-kbc.c input_event(input, EV_MSC, MSC_SCAN, scancodes[i]); input 139 drivers/input/keyboard/tegra-kbc.c input_report_key(input, keycodes[i], 1); input 56 drivers/input/keyboard/twl4030_keypad.c struct input_dev *input; input 196 drivers/input/keyboard/twl4030_keypad.c struct input_dev *input = kp->input; input 232 drivers/input/keyboard/twl4030_keypad.c input_event(input, EV_MSC, MSC_SCAN, code); input 233 drivers/input/keyboard/twl4030_keypad.c input_report_key(input, kp->keymap[code], input 238 drivers/input/keyboard/twl4030_keypad.c input_sync(input); input 328 drivers/input/keyboard/twl4030_keypad.c struct input_dev *input; input 336 drivers/input/keyboard/twl4030_keypad.c input = devm_input_allocate_device(&pdev->dev); input 337 drivers/input/keyboard/twl4030_keypad.c if (!input) input 342 drivers/input/keyboard/twl4030_keypad.c kp->input = input; input 345 drivers/input/keyboard/twl4030_keypad.c input->name = "TWL4030 Keypad"; input 346 drivers/input/keyboard/twl4030_keypad.c input->phys = "twl4030_keypad/input0"; input 348 drivers/input/keyboard/twl4030_keypad.c input->id.bustype = BUS_HOST; input 349 drivers/input/keyboard/twl4030_keypad.c input->id.vendor = 0x0001; input 350 drivers/input/keyboard/twl4030_keypad.c input->id.product = 0x0001; input 351 drivers/input/keyboard/twl4030_keypad.c input->id.version = 0x0003; input 387 drivers/input/keyboard/twl4030_keypad.c kp->keymap, input); input 393 drivers/input/keyboard/twl4030_keypad.c input_set_capability(input, EV_MSC, MSC_SCAN); input 396 drivers/input/keyboard/twl4030_keypad.c __set_bit(EV_REP, input->evbit); input 398 drivers/input/keyboard/twl4030_keypad.c error = input_register_device(input); input 53 drivers/input/misc/ab8500-ponkey.c struct input_dev *input; input 70 drivers/input/misc/ab8500-ponkey.c input = devm_input_allocate_device(&pdev->dev); input 71 drivers/input/misc/ab8500-ponkey.c if (!input) input 74 drivers/input/misc/ab8500-ponkey.c ponkey->idev = input; input 79 drivers/input/misc/ab8500-ponkey.c input->name = "AB8500 POn(PowerOn) Key"; input 80 drivers/input/misc/ab8500-ponkey.c input->dev.parent = &pdev->dev; input 82 drivers/input/misc/ab8500-ponkey.c input_set_capability(input, EV_KEY, KEY_POWER); input 74 drivers/input/misc/ad714x.c struct input_dev *input; input 83 drivers/input/misc/ad714x.c struct input_dev *input; input 102 drivers/input/misc/ad714x.c struct input_dev *input; input 111 drivers/input/misc/ad714x.c struct input_dev *input; input 223 drivers/input/misc/ad714x.c input_report_key(sw->input, hw->keycode, 1); input 224 drivers/input/misc/ad714x.c input_sync(sw->input); input 233 drivers/input/misc/ad714x.c input_report_key(sw->input, hw->keycode, 0); input 234 drivers/input/misc/ad714x.c input_sync(sw->input); input 379 drivers/input/misc/ad714x.c input_report_abs(sw->input, ABS_X, sw->flt_pos); input 380 drivers/input/misc/ad714x.c input_report_key(sw->input, BTN_TOUCH, 1); input 387 drivers/input/misc/ad714x.c input_report_key(sw->input, BTN_TOUCH, 0); input 391 drivers/input/misc/ad714x.c input_sync(sw->input); input 551 drivers/input/misc/ad714x.c input_report_abs(sw->input, ABS_WHEEL, input 553 drivers/input/misc/ad714x.c input_report_key(sw->input, BTN_TOUCH, 1); input 560 drivers/input/misc/ad714x.c input_report_key(sw->input, BTN_TOUCH, 0); input 565 drivers/input/misc/ad714x.c input_sync(sw->input); input 844 drivers/input/misc/ad714x.c input_report_abs(sw->input, ABS_X, input 846 drivers/input/misc/ad714x.c input_report_abs(sw->input, ABS_Y, input 848 drivers/input/misc/ad714x.c input_report_key(sw->input, BTN_TOUCH, input 857 drivers/input/misc/ad714x.c input_report_key(sw->input, BTN_TOUCH, 0); input 861 drivers/input/misc/ad714x.c input_sync(sw->input); input 967 drivers/input/misc/ad714x.c struct input_dev *input; input 1035 drivers/input/misc/ad714x.c input = devm_input_allocate_device(dev); input 1036 drivers/input/misc/ad714x.c if (!input) input 1039 drivers/input/misc/ad714x.c __set_bit(EV_ABS, input->evbit); input 1040 drivers/input/misc/ad714x.c __set_bit(EV_KEY, input->evbit); input 1041 drivers/input/misc/ad714x.c __set_bit(ABS_X, input->absbit); input 1042 drivers/input/misc/ad714x.c __set_bit(BTN_TOUCH, input->keybit); input 1043 drivers/input/misc/ad714x.c input_set_abs_params(input, input 1046 drivers/input/misc/ad714x.c input->id.bustype = bus_type; input 1047 drivers/input/misc/ad714x.c input->id.product = ad714x->product; input 1048 drivers/input/misc/ad714x.c input->id.version = ad714x->version; input 1049 drivers/input/misc/ad714x.c input->name = "ad714x_captouch_slider"; input 1050 drivers/input/misc/ad714x.c input->dev.parent = dev; input 1052 drivers/input/misc/ad714x.c error = input_register_device(input); input 1056 drivers/input/misc/ad714x.c sd_drv[i].input = input; input 1065 drivers/input/misc/ad714x.c input = devm_input_allocate_device(dev); input 1066 drivers/input/misc/ad714x.c if (!input) input 1069 drivers/input/misc/ad714x.c __set_bit(EV_KEY, input->evbit); input 1070 drivers/input/misc/ad714x.c __set_bit(EV_ABS, input->evbit); input 1071 drivers/input/misc/ad714x.c __set_bit(ABS_WHEEL, input->absbit); input 1072 drivers/input/misc/ad714x.c __set_bit(BTN_TOUCH, input->keybit); input 1073 drivers/input/misc/ad714x.c input_set_abs_params(input, input 1076 drivers/input/misc/ad714x.c input->id.bustype = bus_type; input 1077 drivers/input/misc/ad714x.c input->id.product = ad714x->product; input 1078 drivers/input/misc/ad714x.c input->id.version = ad714x->version; input 1079 drivers/input/misc/ad714x.c input->name = "ad714x_captouch_wheel"; input 1080 drivers/input/misc/ad714x.c input->dev.parent = dev; input 1082 drivers/input/misc/ad714x.c error = input_register_device(input); input 1086 drivers/input/misc/ad714x.c wl_drv[i].input = input; input 1095 drivers/input/misc/ad714x.c input = devm_input_allocate_device(dev); input 1096 drivers/input/misc/ad714x.c if (!input) input 1099 drivers/input/misc/ad714x.c __set_bit(EV_ABS, input->evbit); input 1100 drivers/input/misc/ad714x.c __set_bit(EV_KEY, input->evbit); input 1101 drivers/input/misc/ad714x.c __set_bit(ABS_X, input->absbit); input 1102 drivers/input/misc/ad714x.c __set_bit(ABS_Y, input->absbit); input 1103 drivers/input/misc/ad714x.c __set_bit(BTN_TOUCH, input->keybit); input 1104 drivers/input/misc/ad714x.c input_set_abs_params(input, input 1106 drivers/input/misc/ad714x.c input_set_abs_params(input, input 1109 drivers/input/misc/ad714x.c input->id.bustype = bus_type; input 1110 drivers/input/misc/ad714x.c input->id.product = ad714x->product; input 1111 drivers/input/misc/ad714x.c input->id.version = ad714x->version; input 1112 drivers/input/misc/ad714x.c input->name = "ad714x_captouch_pad"; input 1113 drivers/input/misc/ad714x.c input->dev.parent = dev; input 1115 drivers/input/misc/ad714x.c error = input_register_device(input); input 1119 drivers/input/misc/ad714x.c tp_drv[i].input = input; input 1127 drivers/input/misc/ad714x.c input = devm_input_allocate_device(dev); input 1128 drivers/input/misc/ad714x.c if (!input) { input 1133 drivers/input/misc/ad714x.c __set_bit(EV_KEY, input->evbit); input 1135 drivers/input/misc/ad714x.c bt_drv[i].input = input; input 1136 drivers/input/misc/ad714x.c __set_bit(bt_plat[i].keycode, input->keybit); input 1139 drivers/input/misc/ad714x.c input->id.bustype = bus_type; input 1140 drivers/input/misc/ad714x.c input->id.product = ad714x->product; input 1141 drivers/input/misc/ad714x.c input->id.version = ad714x->version; input 1142 drivers/input/misc/ad714x.c input->name = "ad714x_captouch_button"; input 1143 drivers/input/misc/ad714x.c input->dev.parent = dev; input 1145 drivers/input/misc/ad714x.c error = input_register_device(input); input 192 drivers/input/misc/adxl34x.c struct input_dev *input; input 263 drivers/input/misc/adxl34x.c input_event(ac->input, pdata->ev_type, pdata->ev_code_x, input 265 drivers/input/misc/adxl34x.c input_event(ac->input, pdata->ev_type, pdata->ev_code_y, input 267 drivers/input/misc/adxl34x.c input_event(ac->input, pdata->ev_type, pdata->ev_code_z, input 271 drivers/input/misc/adxl34x.c static void adxl34x_report_key_single(struct input_dev *input, int key) input 273 drivers/input/misc/adxl34x.c input_report_key(input, key, true); input 274 drivers/input/misc/adxl34x.c input_sync(input); input 275 drivers/input/misc/adxl34x.c input_report_key(input, key, false); input 285 drivers/input/misc/adxl34x.c input_report_key(ac->input, input 294 drivers/input/misc/adxl34x.c input_sync(ac->input); input 317 drivers/input/misc/adxl34x.c adxl34x_report_key_single(ac->input, pdata->ev_code_ff); input 331 drivers/input/misc/adxl34x.c input_report_key(ac->input, input 334 drivers/input/misc/adxl34x.c input_report_key(ac->input, input 350 drivers/input/misc/adxl34x.c adxl34x_report_key_single(ac->input, input 362 drivers/input/misc/adxl34x.c adxl34x_report_key_single(ac->input, input 396 drivers/input/misc/adxl34x.c input_sync(ac->input); input 661 drivers/input/misc/adxl34x.c static int adxl34x_input_open(struct input_dev *input) input 663 drivers/input/misc/adxl34x.c struct adxl34x *ac = input_get_drvdata(input); input 677 drivers/input/misc/adxl34x.c static void adxl34x_input_close(struct input_dev *input) input 679 drivers/input/misc/adxl34x.c struct adxl34x *ac = input_get_drvdata(input); input 726 drivers/input/misc/adxl34x.c ac->input = input_dev; input 903 drivers/input/misc/adxl34x.c input_unregister_device(ac->input); input 64 drivers/input/misc/apanel.c static void report_key(struct input_dev *input, unsigned keycode) input 67 drivers/input/misc/apanel.c input_report_key(input, keycode, 1); input 68 drivers/input/misc/apanel.c input_sync(input); input 70 drivers/input/misc/apanel.c input_report_key(input, keycode, 0); input 71 drivers/input/misc/apanel.c input_sync(input); input 85 drivers/input/misc/apanel.c struct input_dev *idev = ipdev->input; input 200 drivers/input/misc/apanel.c idev = ipdev->input; input 108 drivers/input/misc/arizona-haptics.c static int arizona_haptics_play(struct input_dev *input, void *data, input 111 drivers/input/misc/arizona-haptics.c struct arizona_haptics *haptics = input_get_drvdata(input); input 139 drivers/input/misc/arizona-haptics.c static void arizona_haptics_close(struct input_dev *input) input 141 drivers/input/misc/arizona-haptics.c struct arizona_haptics *haptics = input_get_drvdata(input); input 70 drivers/input/misc/atmel_captouch.c struct input_dev *input; input 150 drivers/input/misc/atmel_captouch.c input_report_key(capdev->input, input 155 drivers/input/misc/atmel_captouch.c input_sync(capdev->input); input 194 drivers/input/misc/atmel_captouch.c capdev->input = devm_input_allocate_device(dev); input 195 drivers/input/misc/atmel_captouch.c if (!capdev->input) { input 200 drivers/input/misc/atmel_captouch.c capdev->input->id.bustype = BUS_I2C; input 201 drivers/input/misc/atmel_captouch.c capdev->input->id.product = 0x880A; input 202 drivers/input/misc/atmel_captouch.c capdev->input->id.version = 0; input 203 drivers/input/misc/atmel_captouch.c capdev->input->name = "ATMegaXX Capacitive Button Controller"; input 204 drivers/input/misc/atmel_captouch.c __set_bit(EV_KEY, capdev->input->evbit); input 213 drivers/input/misc/atmel_captouch.c __set_bit(EV_REP, capdev->input->evbit); input 229 drivers/input/misc/atmel_captouch.c __set_bit(capdev->keycodes[i], capdev->input->keybit); input 231 drivers/input/misc/atmel_captouch.c capdev->input->keycode = capdev->keycodes; input 232 drivers/input/misc/atmel_captouch.c capdev->input->keycodesize = sizeof(capdev->keycodes[0]); input 233 drivers/input/misc/atmel_captouch.c capdev->input->keycodemax = capdev->num_btn; input 235 drivers/input/misc/atmel_captouch.c err = input_register_device(capdev->input); input 41 drivers/input/misc/axp20x-pek.c struct input_dev *input; input 243 drivers/input/misc/axp20x-pek.c axp20x_pek->input = devm_input_allocate_device(&pdev->dev); input 244 drivers/input/misc/axp20x-pek.c if (!axp20x_pek->input) input 247 drivers/input/misc/axp20x-pek.c idev = axp20x_pek->input; input 127 drivers/input/misc/bma150.c struct input_dev *input; input 326 drivers/input/misc/bma150.c input_report_abs(bma150->input, ABS_X, x); input 327 drivers/input/misc/bma150.c input_report_abs(bma150->input, ABS_Y, y); input 328 drivers/input/misc/bma150.c input_report_abs(bma150->input, ABS_Z, z); input 329 drivers/input/misc/bma150.c input_sync(bma150->input); input 373 drivers/input/misc/bma150.c static int bma150_irq_open(struct input_dev *input) input 375 drivers/input/misc/bma150.c struct bma150_data *bma150 = input_get_drvdata(input); input 380 drivers/input/misc/bma150.c static void bma150_irq_close(struct input_dev *input) input 382 drivers/input/misc/bma150.c struct bma150_data *bma150 = input_get_drvdata(input); input 471 drivers/input/misc/bma150.c bma150->input = idev; input 499 drivers/input/misc/bma150.c bma150_init_input_device(bma150, ipoll_dev->input); input 502 drivers/input/misc/bma150.c bma150->input = ipoll_dev->input; input 572 drivers/input/misc/bma150.c input_unregister_device(bma150->input); input 600 drivers/input/misc/bma150.c input_unregister_device(bma150->input); input 38 drivers/input/misc/cobalt_btns.c struct input_dev *input = dev->input; input 47 drivers/input/misc/cobalt_btns.c input_event(input, EV_MSC, MSC_SCAN, i); input 48 drivers/input/misc/cobalt_btns.c input_report_key(input, bdev->keymap[i], 1); input 49 drivers/input/misc/cobalt_btns.c input_sync(input); input 53 drivers/input/misc/cobalt_btns.c input_event(input, EV_MSC, MSC_SCAN, i); input 54 drivers/input/misc/cobalt_btns.c input_report_key(input, bdev->keymap[i], 0); input 55 drivers/input/misc/cobalt_btns.c input_sync(input); input 66 drivers/input/misc/cobalt_btns.c struct input_dev *input; input 83 drivers/input/misc/cobalt_btns.c input = poll_dev->input; input 84 drivers/input/misc/cobalt_btns.c input->name = "Cobalt buttons"; input 85 drivers/input/misc/cobalt_btns.c input->phys = "cobalt/input0"; input 86 drivers/input/misc/cobalt_btns.c input->id.bustype = BUS_HOST; input 87 drivers/input/misc/cobalt_btns.c input->dev.parent = &pdev->dev; input 89 drivers/input/misc/cobalt_btns.c input->keycode = bdev->keymap; input 90 drivers/input/misc/cobalt_btns.c input->keycodemax = ARRAY_SIZE(bdev->keymap); input 91 drivers/input/misc/cobalt_btns.c input->keycodesize = sizeof(unsigned short); input 93 drivers/input/misc/cobalt_btns.c input_set_capability(input, EV_MSC, MSC_SCAN); input 94 drivers/input/misc/cobalt_btns.c __set_bit(EV_KEY, input->evbit); input 96 drivers/input/misc/cobalt_btns.c __set_bit(bdev->keymap[i], input->keybit); input 97 drivers/input/misc/cobalt_btns.c __clear_bit(KEY_RESERVED, input->keybit); input 20 drivers/input/misc/da9052_onkey.c struct input_dev *input; input 40 drivers/input/misc/da9052_onkey.c input_report_key(onkey->input, KEY_POWER, pressed); input 41 drivers/input/misc/da9052_onkey.c input_sync(onkey->input); input 91 drivers/input/misc/da9052_onkey.c onkey->input = input_dev; input 110 drivers/input/misc/da9052_onkey.c error = input_register_device(onkey->input); input 137 drivers/input/misc/da9052_onkey.c input_unregister_device(onkey->input); input 19 drivers/input/misc/da9055_onkey.c struct input_dev *input; input 37 drivers/input/misc/da9055_onkey.c input_report_key(onkey->input, KEY_POWER, 0); input 38 drivers/input/misc/da9055_onkey.c input_sync(onkey->input); input 63 drivers/input/misc/da9055_onkey.c input_report_key(onkey->input, KEY_POWER, 1); input 64 drivers/input/misc/da9055_onkey.c input_sync(onkey->input); input 94 drivers/input/misc/da9055_onkey.c onkey->input = input_dev; input 143 drivers/input/misc/da9055_onkey.c input_unregister_device(onkey->input); input 37 drivers/input/misc/da9063_onkey.c struct input_dev *input; input 114 drivers/input/misc/da9063_onkey.c input_report_key(onkey->input, KEY_POWER, 0); input 115 drivers/input/misc/da9063_onkey.c input_sync(onkey->input); input 128 drivers/input/misc/da9063_onkey.c dev_warn(&onkey->input->dev, input 135 drivers/input/misc/da9063_onkey.c dev_warn(&onkey->input->dev, input 142 drivers/input/misc/da9063_onkey.c dev_dbg(&onkey->input->dev, input 148 drivers/input/misc/da9063_onkey.c dev_err(&onkey->input->dev, input 170 drivers/input/misc/da9063_onkey.c input_report_key(onkey->input, KEY_POWER, 1); input 171 drivers/input/misc/da9063_onkey.c input_sync(onkey->input); input 175 drivers/input/misc/da9063_onkey.c input_report_key(onkey->input, KEY_POWER, 1); input 176 drivers/input/misc/da9063_onkey.c input_sync(onkey->input); input 177 drivers/input/misc/da9063_onkey.c input_report_key(onkey->input, KEY_POWER, 0); input 178 drivers/input/misc/da9063_onkey.c input_sync(onkey->input); input 223 drivers/input/misc/da9063_onkey.c onkey->input = devm_input_allocate_device(&pdev->dev); input 224 drivers/input/misc/da9063_onkey.c if (!onkey->input) { input 229 drivers/input/misc/da9063_onkey.c onkey->input->name = onkey->config->name; input 232 drivers/input/misc/da9063_onkey.c onkey->input->phys = onkey->phys; input 233 drivers/input/misc/da9063_onkey.c onkey->input->dev.parent = &pdev->dev; input 235 drivers/input/misc/da9063_onkey.c input_set_capability(onkey->input, EV_KEY, KEY_POWER); input 261 drivers/input/misc/da9063_onkey.c error = input_register_device(onkey->input); input 29 drivers/input/misc/dm355evm_keys.c struct input_dev *input; input 152 drivers/input/misc/dm355evm_keys.c ke = sparse_keymap_entry_from_scancode(keys->input, event); input 159 drivers/input/misc/dm355evm_keys.c input_report_key(keys->input, keycode, 1); input 160 drivers/input/misc/dm355evm_keys.c input_sync(keys->input); input 161 drivers/input/misc/dm355evm_keys.c input_report_key(keys->input, keycode, 0); input 162 drivers/input/misc/dm355evm_keys.c input_sync(keys->input); input 173 drivers/input/misc/dm355evm_keys.c struct input_dev *input; input 181 drivers/input/misc/dm355evm_keys.c input = devm_input_allocate_device(&pdev->dev); input 182 drivers/input/misc/dm355evm_keys.c if (!input) input 186 drivers/input/misc/dm355evm_keys.c keys->input = input; input 188 drivers/input/misc/dm355evm_keys.c input->name = "DM355 EVM Controls"; input 189 drivers/input/misc/dm355evm_keys.c input->phys = "dm355evm/input0"; input 191 drivers/input/misc/dm355evm_keys.c input->id.bustype = BUS_I2C; input 192 drivers/input/misc/dm355evm_keys.c input->id.product = 0x0355; input 193 drivers/input/misc/dm355evm_keys.c input->id.version = dm355evm_msp_read(DM355EVM_MSP_FIRMREV); input 195 drivers/input/misc/dm355evm_keys.c error = sparse_keymap_setup(input, dm355evm_keys, NULL); input 214 drivers/input/misc/dm355evm_keys.c error = input_register_device(input); input 271 drivers/input/misc/drv260x.c static int drv260x_haptics_play(struct input_dev *input, void *data, input 274 drivers/input/misc/drv260x.c struct drv260x_data *haptics = input_get_drvdata(input); input 290 drivers/input/misc/drv260x.c static void drv260x_close(struct input_dev *input) input 292 drivers/input/misc/drv260x.c struct drv260x_data *haptics = input_get_drvdata(input); input 103 drivers/input/misc/drv2665.c static int drv2665_haptics_play(struct input_dev *input, void *data, input 106 drivers/input/misc/drv2665.c struct drv2665_data *haptics = input_get_drvdata(input); input 113 drivers/input/misc/drv2665.c static void drv2665_close(struct input_dev *input) input 115 drivers/input/misc/drv2665.c struct drv2665_data *haptics = input_get_drvdata(input); input 226 drivers/input/misc/drv2667.c static int drv2667_haptics_play(struct input_dev *input, void *data, input 229 drivers/input/misc/drv2667.c struct drv2667_data *haptics = input_get_drvdata(input); input 243 drivers/input/misc/drv2667.c static void drv2667_close(struct input_dev *input) input 245 drivers/input/misc/drv2667.c struct drv2667_data *haptics = input_get_drvdata(input); input 63 drivers/input/misc/e3x0-button.c struct input_dev *input; input 75 drivers/input/misc/e3x0-button.c input = devm_input_allocate_device(&pdev->dev); input 76 drivers/input/misc/e3x0-button.c if (!input) input 79 drivers/input/misc/e3x0-button.c input->name = "NI Ettus Research USRP E3x0 Button Driver"; input 80 drivers/input/misc/e3x0-button.c input->phys = "e3x0_button/input0"; input 81 drivers/input/misc/e3x0-button.c input->dev.parent = &pdev->dev; input 83 drivers/input/misc/e3x0-button.c input_set_capability(input, EV_KEY, KEY_POWER); input 87 drivers/input/misc/e3x0-button.c "e3x0-button", input); input 96 drivers/input/misc/e3x0-button.c "e3x0-button", input); input 103 drivers/input/misc/e3x0-button.c error = input_register_device(input); input 20 drivers/input/misc/gp2ap002a00f.c struct input_dev *input; input 43 drivers/input/misc/gp2ap002a00f.c input_report_switch(dt->input, SW_FRONT_PROXIMITY, !vo); input 44 drivers/input/misc/gp2ap002a00f.c input_sync(dt->input); input 155 drivers/input/misc/gp2ap002a00f.c dt->input = input_allocate_device(); input 156 drivers/input/misc/gp2ap002a00f.c if (!dt->input) { input 161 drivers/input/misc/gp2ap002a00f.c input_set_drvdata(dt->input, dt); input 163 drivers/input/misc/gp2ap002a00f.c dt->input->open = gp2a_device_open; input 164 drivers/input/misc/gp2ap002a00f.c dt->input->close = gp2a_device_close; input 165 drivers/input/misc/gp2ap002a00f.c dt->input->name = GP2A_I2C_NAME; input 166 drivers/input/misc/gp2ap002a00f.c dt->input->id.bustype = BUS_I2C; input 167 drivers/input/misc/gp2ap002a00f.c dt->input->dev.parent = &client->dev; input 169 drivers/input/misc/gp2ap002a00f.c input_set_capability(dt->input, EV_SW, SW_FRONT_PROXIMITY); input 180 drivers/input/misc/gp2ap002a00f.c error = input_register_device(dt->input); input 194 drivers/input/misc/gp2ap002a00f.c input_free_device(dt->input); input 212 drivers/input/misc/gp2ap002a00f.c input_unregister_device(dt->input); input 232 drivers/input/misc/gp2ap002a00f.c mutex_lock(&dt->input->mutex); input 233 drivers/input/misc/gp2ap002a00f.c if (dt->input->users) input 235 drivers/input/misc/gp2ap002a00f.c mutex_unlock(&dt->input->mutex); input 250 drivers/input/misc/gp2ap002a00f.c mutex_lock(&dt->input->mutex); input 251 drivers/input/misc/gp2ap002a00f.c if (dt->input->users) input 253 drivers/input/misc/gp2ap002a00f.c mutex_unlock(&dt->input->mutex); input 53 drivers/input/misc/gpio-beeper.c static void gpio_beeper_close(struct input_dev *input) input 55 drivers/input/misc/gpio-beeper.c struct gpio_beeper *beep = input_get_drvdata(input); input 64 drivers/input/misc/gpio-beeper.c struct input_dev *input; input 74 drivers/input/misc/gpio-beeper.c input = devm_input_allocate_device(&pdev->dev); input 75 drivers/input/misc/gpio-beeper.c if (!input) input 80 drivers/input/misc/gpio-beeper.c input->name = pdev->name; input 81 drivers/input/misc/gpio-beeper.c input->id.bustype = BUS_HOST; input 82 drivers/input/misc/gpio-beeper.c input->id.vendor = 0x0001; input 83 drivers/input/misc/gpio-beeper.c input->id.product = 0x0001; input 84 drivers/input/misc/gpio-beeper.c input->id.version = 0x0100; input 85 drivers/input/misc/gpio-beeper.c input->close = gpio_beeper_close; input 86 drivers/input/misc/gpio-beeper.c input->event = gpio_beeper_event; input 88 drivers/input/misc/gpio-beeper.c input_set_capability(input, EV_SND, SND_BELL); input 90 drivers/input/misc/gpio-beeper.c input_set_drvdata(input, beep); input 92 drivers/input/misc/gpio-beeper.c return input_register_device(input); input 28 drivers/input/misc/gpio-vibra.c struct input_dev *input; input 39 drivers/input/misc/gpio-vibra.c struct device *pdev = vibrator->input->dev.parent; input 93 drivers/input/misc/gpio-vibra.c static void gpio_vibrator_close(struct input_dev *input) input 95 drivers/input/misc/gpio-vibra.c struct gpio_vibrator *vibrator = input_get_drvdata(input); input 111 drivers/input/misc/gpio-vibra.c vibrator->input = devm_input_allocate_device(&pdev->dev); input 112 drivers/input/misc/gpio-vibra.c if (!vibrator->input) input 135 drivers/input/misc/gpio-vibra.c vibrator->input->name = "gpio-vibrator"; input 136 drivers/input/misc/gpio-vibra.c vibrator->input->id.bustype = BUS_HOST; input 137 drivers/input/misc/gpio-vibra.c vibrator->input->close = gpio_vibrator_close; input 139 drivers/input/misc/gpio-vibra.c input_set_drvdata(vibrator->input, vibrator); input 140 drivers/input/misc/gpio-vibra.c input_set_capability(vibrator->input, EV_FF, FF_RUMBLE); input 142 drivers/input/misc/gpio-vibra.c err = input_ff_create_memless(vibrator->input, NULL, input 149 drivers/input/misc/gpio-vibra.c err = input_register_device(vibrator->input); input 63 drivers/input/misc/gpio_decoder.c input_report_abs(poll_dev->input, decoder->axis, state); input 64 drivers/input/misc/gpio_decoder.c input_sync(poll_dev->input); input 104 drivers/input/misc/gpio_decoder.c poll_dev->input->name = pdev->name; input 105 drivers/input/misc/gpio_decoder.c poll_dev->input->id.bustype = BUS_HOST; input 106 drivers/input/misc/gpio_decoder.c input_set_abs_params(poll_dev->input, decoder->axis, 0, max, 0, 0); input 31 drivers/input/misc/hisi_powerkey.c struct input_dev *input = q; input 33 drivers/input/misc/hisi_powerkey.c pm_wakeup_event(input->dev.parent, MAX_HELD_TIME); input 34 drivers/input/misc/hisi_powerkey.c input_report_key(input, KEY_POWER, 1); input 35 drivers/input/misc/hisi_powerkey.c input_sync(input); input 42 drivers/input/misc/hisi_powerkey.c struct input_dev *input = q; input 44 drivers/input/misc/hisi_powerkey.c pm_wakeup_event(input->dev.parent, MAX_HELD_TIME); input 45 drivers/input/misc/hisi_powerkey.c input_report_key(input, KEY_POWER, 0); input 46 drivers/input/misc/hisi_powerkey.c input_sync(input); input 53 drivers/input/misc/hisi_powerkey.c struct input_dev *input = q; input 54 drivers/input/misc/hisi_powerkey.c int value = test_bit(KEY_RESTART, input->key); input 56 drivers/input/misc/hisi_powerkey.c pm_wakeup_event(input->dev.parent, MAX_HELD_TIME); input 57 drivers/input/misc/hisi_powerkey.c input_report_key(input, KEY_RESTART, !value); input 58 drivers/input/misc/hisi_powerkey.c input_sync(input); input 75 drivers/input/misc/hisi_powerkey.c struct input_dev *input; input 78 drivers/input/misc/hisi_powerkey.c input = devm_input_allocate_device(dev); input 79 drivers/input/misc/hisi_powerkey.c if (!input) { input 84 drivers/input/misc/hisi_powerkey.c input->phys = "hisi_on/input0"; input 85 drivers/input/misc/hisi_powerkey.c input->name = "HISI 65xx PowerOn Key"; input 87 drivers/input/misc/hisi_powerkey.c input_set_capability(input, EV_KEY, KEY_POWER); input 88 drivers/input/misc/hisi_powerkey.c input_set_capability(input, EV_KEY, KEY_RESTART); input 100 drivers/input/misc/hisi_powerkey.c input); input 108 drivers/input/misc/hisi_powerkey.c error = input_register_device(input); input 25 drivers/input/misc/ims-pcu.c struct input_dev *input; input 32 drivers/input/misc/ims-pcu.c struct input_dev *input; input 186 drivers/input/misc/ims-pcu.c struct input_dev *input = buttons->input; input 193 drivers/input/misc/ims-pcu.c input_report_key(input, keycode, data & (1UL << i)); input 196 drivers/input/misc/ims-pcu.c input_sync(input); input 204 drivers/input/misc/ims-pcu.c struct input_dev *input; input 208 drivers/input/misc/ims-pcu.c input = input_allocate_device(); input 209 drivers/input/misc/ims-pcu.c if (!input) { input 223 drivers/input/misc/ims-pcu.c input->name = buttons->name; input 224 drivers/input/misc/ims-pcu.c input->phys = buttons->phys; input 225 drivers/input/misc/ims-pcu.c usb_to_input_id(pcu->udev, &input->id); input 226 drivers/input/misc/ims-pcu.c input->dev.parent = &pcu->ctrl_intf->dev; input 228 drivers/input/misc/ims-pcu.c input->keycode = buttons->keymap; input 229 drivers/input/misc/ims-pcu.c input->keycodemax = ARRAY_SIZE(buttons->keymap); input 230 drivers/input/misc/ims-pcu.c input->keycodesize = sizeof(buttons->keymap[0]); input 232 drivers/input/misc/ims-pcu.c __set_bit(EV_KEY, input->evbit); input 234 drivers/input/misc/ims-pcu.c __set_bit(buttons->keymap[i], input->keybit); input 235 drivers/input/misc/ims-pcu.c __clear_bit(KEY_RESERVED, input->keybit); input 237 drivers/input/misc/ims-pcu.c error = input_register_device(input); input 242 drivers/input/misc/ims-pcu.c input_free_device(input); input 246 drivers/input/misc/ims-pcu.c buttons->input = input; input 254 drivers/input/misc/ims-pcu.c input_unregister_device(buttons->input); input 265 drivers/input/misc/ims-pcu.c struct input_dev *input = gamepad->input; input 271 drivers/input/misc/ims-pcu.c input_report_abs(input, ABS_X, x); input 272 drivers/input/misc/ims-pcu.c input_report_abs(input, ABS_Y, y); input 274 drivers/input/misc/ims-pcu.c input_report_key(input, BTN_A, data & (1 << 7)); input 275 drivers/input/misc/ims-pcu.c input_report_key(input, BTN_B, data & (1 << 8)); input 276 drivers/input/misc/ims-pcu.c input_report_key(input, BTN_X, data & (1 << 9)); input 277 drivers/input/misc/ims-pcu.c input_report_key(input, BTN_Y, data & (1 << 10)); input 278 drivers/input/misc/ims-pcu.c input_report_key(input, BTN_START, data & (1 << 15)); input 279 drivers/input/misc/ims-pcu.c input_report_key(input, BTN_SELECT, data & (1 << 16)); input 281 drivers/input/misc/ims-pcu.c input_sync(input); input 287 drivers/input/misc/ims-pcu.c struct input_dev *input; input 291 drivers/input/misc/ims-pcu.c input = input_allocate_device(); input 292 drivers/input/misc/ims-pcu.c if (!gamepad || !input) { input 299 drivers/input/misc/ims-pcu.c gamepad->input = input; input 307 drivers/input/misc/ims-pcu.c input->name = gamepad->name; input 308 drivers/input/misc/ims-pcu.c input->phys = gamepad->phys; input 309 drivers/input/misc/ims-pcu.c usb_to_input_id(pcu->udev, &input->id); input 310 drivers/input/misc/ims-pcu.c input->dev.parent = &pcu->ctrl_intf->dev; input 312 drivers/input/misc/ims-pcu.c __set_bit(EV_KEY, input->evbit); input 313 drivers/input/misc/ims-pcu.c __set_bit(BTN_A, input->keybit); input 314 drivers/input/misc/ims-pcu.c __set_bit(BTN_B, input->keybit); input 315 drivers/input/misc/ims-pcu.c __set_bit(BTN_X, input->keybit); input 316 drivers/input/misc/ims-pcu.c __set_bit(BTN_Y, input->keybit); input 317 drivers/input/misc/ims-pcu.c __set_bit(BTN_START, input->keybit); input 318 drivers/input/misc/ims-pcu.c __set_bit(BTN_SELECT, input->keybit); input 320 drivers/input/misc/ims-pcu.c __set_bit(EV_ABS, input->evbit); input 321 drivers/input/misc/ims-pcu.c input_set_abs_params(input, ABS_X, -1, 1, 0, 0); input 322 drivers/input/misc/ims-pcu.c input_set_abs_params(input, ABS_Y, -1, 1, 0, 0); input 324 drivers/input/misc/ims-pcu.c error = input_register_device(input); input 336 drivers/input/misc/ims-pcu.c input_free_device(input); input 345 drivers/input/misc/ims-pcu.c input_unregister_device(gamepad->input); input 107 drivers/input/misc/keyspan_remote.c struct input_dev *input; input 169 drivers/input/misc/keyspan_remote.c struct input_dev *input = remote->input; input 171 drivers/input/misc/keyspan_remote.c input_event(input, EV_MSC, MSC_SCAN, button); input 172 drivers/input/misc/keyspan_remote.c input_report_key(input, remote->keymap[button], press); input 173 drivers/input/misc/keyspan_remote.c input_sync(input); input 464 drivers/input/misc/keyspan_remote.c remote->input = input_dev; input 538 drivers/input/misc/keyspan_remote.c error = input_register_device(remote->input); input 566 drivers/input/misc/keyspan_remote.c input_unregister_device(remote->input); input 271 drivers/input/misc/kxtj9.c static int kxtj9_input_open(struct input_dev *input) input 273 drivers/input/misc/kxtj9.c struct kxtj9_data *tj9 = input_get_drvdata(input); input 436 drivers/input/misc/kxtj9.c tj9->input_dev = poll_dev->input; input 443 drivers/input/misc/kxtj9.c kxtj9_init_input_device(tj9, poll_dev->input); input 21 drivers/input/misc/max77650-onkey.c struct input_dev *input; input 29 drivers/input/misc/max77650-onkey.c input_report_key(onkey->input, onkey->code, 0); input 30 drivers/input/misc/max77650-onkey.c input_sync(onkey->input); input 39 drivers/input/misc/max77650-onkey.c input_report_key(onkey->input, onkey->code, 1); input 40 drivers/input/misc/max77650-onkey.c input_sync(onkey->input); input 89 drivers/input/misc/max77650-onkey.c onkey->input = devm_input_allocate_device(dev); input 90 drivers/input/misc/max77650-onkey.c if (!onkey->input) input 93 drivers/input/misc/max77650-onkey.c onkey->input->name = "max77650_onkey"; input 94 drivers/input/misc/max77650-onkey.c onkey->input->phys = "max77650_onkey/input0"; input 95 drivers/input/misc/max77650-onkey.c onkey->input->id.bustype = BUS_I2C; input 96 drivers/input/misc/max77650-onkey.c input_set_capability(onkey->input, type, onkey->code); input 108 drivers/input/misc/max77650-onkey.c return input_register_device(onkey->input); input 70 drivers/input/misc/max8925_onkey.c struct input_dev *input; input 86 drivers/input/misc/max8925_onkey.c input = devm_input_allocate_device(&pdev->dev); input 87 drivers/input/misc/max8925_onkey.c if (!input) input 90 drivers/input/misc/max8925_onkey.c info->idev = input; input 96 drivers/input/misc/max8925_onkey.c input->name = "max8925_on"; input 97 drivers/input/misc/max8925_onkey.c input->phys = "max8925_on/input0"; input 98 drivers/input/misc/max8925_onkey.c input->id.bustype = BUS_I2C; input 99 drivers/input/misc/max8925_onkey.c input->dev.parent = &pdev->dev; input 100 drivers/input/misc/max8925_onkey.c input_set_capability(input, EV_KEY, KEY_POWER); input 117 drivers/input/misc/mma8450.c input_report_abs(dev->input, ABS_X, x); input 118 drivers/input/misc/mma8450.c input_report_abs(dev->input, ABS_Y, y); input 119 drivers/input/misc/mma8450.c input_report_abs(dev->input, ABS_Z, z); input 120 drivers/input/misc/mma8450.c input_sync(dev->input); input 176 drivers/input/misc/mma8450.c idev->input->name = MMA8450_DRV_NAME; input 177 drivers/input/misc/mma8450.c idev->input->id.bustype = BUS_I2C; input 184 drivers/input/misc/mma8450.c __set_bit(EV_ABS, idev->input->evbit); input 185 drivers/input/misc/mma8450.c input_set_abs_params(idev->input, ABS_X, -2048, 2047, 32, 32); input 186 drivers/input/misc/mma8450.c input_set_abs_params(idev->input, ABS_Y, -2048, 2047, 32, 32); input 187 drivers/input/misc/mma8450.c input_set_abs_params(idev->input, ABS_Z, -2048, 2047, 32, 32); input 33 drivers/input/misc/msm-vibrator.c struct input_dev *input; input 59 drivers/input/misc/msm-vibrator.c dev_err(&vibrator->input->dev, input 66 drivers/input/misc/msm-vibrator.c dev_err(&vibrator->input->dev, input 73 drivers/input/misc/msm-vibrator.c dev_err(&vibrator->input->dev, input 146 drivers/input/misc/msm-vibrator.c static void msm_vibrator_close(struct input_dev *input) input 148 drivers/input/misc/msm-vibrator.c struct msm_vibrator *vibrator = input_get_drvdata(input); input 164 drivers/input/misc/msm-vibrator.c vibrator->input = devm_input_allocate_device(&pdev->dev); input 165 drivers/input/misc/msm-vibrator.c if (!vibrator->input) input 210 drivers/input/misc/msm-vibrator.c vibrator->input->name = "msm-vibrator"; input 211 drivers/input/misc/msm-vibrator.c vibrator->input->id.bustype = BUS_HOST; input 212 drivers/input/misc/msm-vibrator.c vibrator->input->close = msm_vibrator_close; input 214 drivers/input/misc/msm-vibrator.c input_set_drvdata(vibrator->input, vibrator); input 215 drivers/input/misc/msm-vibrator.c input_set_capability(vibrator->input, EV_FF, FF_RUMBLE); input 217 drivers/input/misc/msm-vibrator.c ret = input_ff_create_memless(vibrator->input, NULL, input 224 drivers/input/misc/msm-vibrator.c ret = input_register_device(vibrator->input); input 19 drivers/input/misc/pcap_keys.c struct input_dev *input; input 34 drivers/input/misc/pcap_keys.c input_report_key(pcap_keys->input, KEY_POWER, !pstat); input 37 drivers/input/misc/pcap_keys.c input_report_key(pcap_keys->input, KEY_HP, !pstat); input 41 drivers/input/misc/pcap_keys.c input_sync(pcap_keys->input); input 62 drivers/input/misc/pcap_keys.c pcap_keys->input = input_dev; input 109 drivers/input/misc/pcap_keys.c input_unregister_device(pcap_keys->input); input 33 drivers/input/misc/pcf50633-input.c struct pcf50633_input *input; input 36 drivers/input/misc/pcf50633-input.c input = data; input 39 drivers/input/misc/pcf50633-input.c onkey_released = pcf50633_reg_read(input->pcf, PCF50633_REG_OOCSTAT) input 43 drivers/input/misc/pcf50633-input.c input_report_key(input->input_dev, KEY_POWER, 1); input 45 drivers/input/misc/pcf50633-input.c input_report_key(input->input_dev, KEY_POWER, 0); input 47 drivers/input/misc/pcf50633-input.c input_sync(input->input_dev); input 52 drivers/input/misc/pcf50633-input.c struct pcf50633_input *input; input 57 drivers/input/misc/pcf50633-input.c input = kzalloc(sizeof(*input), GFP_KERNEL); input 58 drivers/input/misc/pcf50633-input.c if (!input) input 63 drivers/input/misc/pcf50633-input.c kfree(input); input 67 drivers/input/misc/pcf50633-input.c platform_set_drvdata(pdev, input); input 68 drivers/input/misc/pcf50633-input.c input->pcf = dev_to_pcf50633(pdev->dev.parent); input 69 drivers/input/misc/pcf50633-input.c input->input_dev = input_dev; input 79 drivers/input/misc/pcf50633-input.c kfree(input); input 82 drivers/input/misc/pcf50633-input.c pcf50633_register_irq(input->pcf, PCF50633_IRQ_ONKEYR, input 83 drivers/input/misc/pcf50633-input.c pcf50633_input_irq, input); input 84 drivers/input/misc/pcf50633-input.c pcf50633_register_irq(input->pcf, PCF50633_IRQ_ONKEYF, input 85 drivers/input/misc/pcf50633-input.c pcf50633_input_irq, input); input 92 drivers/input/misc/pcf50633-input.c struct pcf50633_input *input = platform_get_drvdata(pdev); input 94 drivers/input/misc/pcf50633-input.c pcf50633_free_irq(input->pcf, PCF50633_IRQ_ONKEYR); input 95 drivers/input/misc/pcf50633-input.c pcf50633_free_irq(input->pcf, PCF50633_IRQ_ONKEYF); input 97 drivers/input/misc/pcf50633-input.c input_unregister_device(input->input_dev); input 98 drivers/input/misc/pcf50633-input.c kfree(input); input 50 drivers/input/misc/pm8941-pwrkey.c struct input_dev *input; input 129 drivers/input/misc/pm8941-pwrkey.c input_report_key(pwrkey->input, pwrkey->code, input 131 drivers/input/misc/pm8941-pwrkey.c input_sync(pwrkey->input); input 226 drivers/input/misc/pm8941-pwrkey.c pwrkey->input = devm_input_allocate_device(&pdev->dev); input 227 drivers/input/misc/pm8941-pwrkey.c if (!pwrkey->input) { input 232 drivers/input/misc/pm8941-pwrkey.c input_set_capability(pwrkey->input, EV_KEY, pwrkey->code); input 234 drivers/input/misc/pm8941-pwrkey.c pwrkey->input->name = "pm8941_pwrkey"; input 235 drivers/input/misc/pm8941-pwrkey.c pwrkey->input->phys = "pm8941_pwrkey/input0"; input 267 drivers/input/misc/pm8941-pwrkey.c error = input_register_device(pwrkey->input); input 69 drivers/input/misc/powermate.c struct input_dev *input; input 110 drivers/input/misc/powermate.c input_report_key(pm->input, BTN_0, pm->data[0] & 0x01); input 111 drivers/input/misc/powermate.c input_report_rel(pm->input, REL_DIAL, pm->data[1]); input 112 drivers/input/misc/powermate.c input_sync(pm->input); input 341 drivers/input/misc/powermate.c pm->input = input_dev; input 397 drivers/input/misc/powermate.c error = input_register_device(pm->input); input 427 drivers/input/misc/powermate.c input_unregister_device(pm->input); input 19 drivers/input/misc/pwm-beeper.c struct input_dev *input; input 80 drivers/input/misc/pwm-beeper.c static int pwm_beeper_event(struct input_dev *input, input 83 drivers/input/misc/pwm-beeper.c struct pwm_beeper *beeper = input_get_drvdata(input); input 115 drivers/input/misc/pwm-beeper.c static void pwm_beeper_close(struct input_dev *input) input 117 drivers/input/misc/pwm-beeper.c struct pwm_beeper *beeper = input_get_drvdata(input); input 174 drivers/input/misc/pwm-beeper.c beeper->input = devm_input_allocate_device(dev); input 175 drivers/input/misc/pwm-beeper.c if (!beeper->input) { input 180 drivers/input/misc/pwm-beeper.c beeper->input->name = "pwm-beeper"; input 181 drivers/input/misc/pwm-beeper.c beeper->input->phys = "pwm/input0"; input 182 drivers/input/misc/pwm-beeper.c beeper->input->id.bustype = BUS_HOST; input 183 drivers/input/misc/pwm-beeper.c beeper->input->id.vendor = 0x001f; input 184 drivers/input/misc/pwm-beeper.c beeper->input->id.product = 0x0001; input 185 drivers/input/misc/pwm-beeper.c beeper->input->id.version = 0x0100; input 187 drivers/input/misc/pwm-beeper.c input_set_capability(beeper->input, EV_SND, SND_TONE); input 188 drivers/input/misc/pwm-beeper.c input_set_capability(beeper->input, EV_SND, SND_BELL); input 190 drivers/input/misc/pwm-beeper.c beeper->input->event = pwm_beeper_event; input 191 drivers/input/misc/pwm-beeper.c beeper->input->close = pwm_beeper_close; input 193 drivers/input/misc/pwm-beeper.c input_set_drvdata(beeper->input, beeper); input 195 drivers/input/misc/pwm-beeper.c error = input_register_device(beeper->input); input 215 drivers/input/misc/pwm-beeper.c spin_lock_irq(&beeper->input->event_lock); input 217 drivers/input/misc/pwm-beeper.c spin_unlock_irq(&beeper->input->event_lock); input 228 drivers/input/misc/pwm-beeper.c spin_lock_irq(&beeper->input->event_lock); input 230 drivers/input/misc/pwm-beeper.c spin_unlock_irq(&beeper->input->event_lock); input 25 drivers/input/misc/pwm-vibra.c struct input_dev *input; input 38 drivers/input/misc/pwm-vibra.c struct device *pdev = vibrator->input->dev.parent; input 114 drivers/input/misc/pwm-vibra.c static void pwm_vibrator_close(struct input_dev *input) input 116 drivers/input/misc/pwm-vibra.c struct pwm_vibrator *vibrator = input_get_drvdata(input); input 132 drivers/input/misc/pwm-vibra.c vibrator->input = devm_input_allocate_device(&pdev->dev); input 133 drivers/input/misc/pwm-vibra.c if (!vibrator->input) input 199 drivers/input/misc/pwm-vibra.c vibrator->input->name = "pwm-vibrator"; input 200 drivers/input/misc/pwm-vibra.c vibrator->input->id.bustype = BUS_HOST; input 201 drivers/input/misc/pwm-vibra.c vibrator->input->dev.parent = &pdev->dev; input 202 drivers/input/misc/pwm-vibra.c vibrator->input->close = pwm_vibrator_close; input 204 drivers/input/misc/pwm-vibra.c input_set_drvdata(vibrator->input, vibrator); input 205 drivers/input/misc/pwm-vibra.c input_set_capability(vibrator->input, EV_FF, FF_RUMBLE); input 207 drivers/input/misc/pwm-vibra.c err = input_ff_create_memless(vibrator->input, NULL, input 214 drivers/input/misc/pwm-vibra.c err = input_register_device(vibrator->input); input 51 drivers/input/misc/rb532_button.c input_report_key(poll_dev->input, RB532_BTN_KSYM, input 53 drivers/input/misc/rb532_button.c input_sync(poll_dev->input); input 68 drivers/input/misc/rb532_button.c poll_dev->input->name = "rb532 button"; input 69 drivers/input/misc/rb532_button.c poll_dev->input->phys = "rb532/button0"; input 70 drivers/input/misc/rb532_button.c poll_dev->input->id.bustype = BUS_HOST; input 71 drivers/input/misc/rb532_button.c poll_dev->input->dev.parent = &pdev->dev; input 75 drivers/input/misc/rb532_button.c input_set_capability(poll_dev->input, EV_KEY, RB532_BTN_KSYM); input 94 drivers/input/misc/regulator-haptic.c static int regulator_haptic_play_effect(struct input_dev *input, void *data, input 97 drivers/input/misc/regulator-haptic.c struct regulator_haptic *haptic = input_get_drvdata(input); input 108 drivers/input/misc/regulator-haptic.c static void regulator_haptic_close(struct input_dev *input) input 110 drivers/input/misc/regulator-haptic.c struct regulator_haptic *haptic = input_get_drvdata(input); input 34 drivers/input/misc/rotary_encoder.c struct input_dev *input; input 77 drivers/input/misc/rotary_encoder.c input_report_rel(encoder->input, input 98 drivers/input/misc/rotary_encoder.c input_report_abs(encoder->input, encoder->axis, encoder->pos); input 101 drivers/input/misc/rotary_encoder.c input_sync(encoder->input); input 189 drivers/input/misc/rotary_encoder.c struct input_dev *input; input 250 drivers/input/misc/rotary_encoder.c input = devm_input_allocate_device(dev); input 251 drivers/input/misc/rotary_encoder.c if (!input) input 254 drivers/input/misc/rotary_encoder.c encoder->input = input; input 256 drivers/input/misc/rotary_encoder.c input->name = pdev->name; input 257 drivers/input/misc/rotary_encoder.c input->id.bustype = BUS_HOST; input 258 drivers/input/misc/rotary_encoder.c input->dev.parent = dev; input 261 drivers/input/misc/rotary_encoder.c input_set_capability(input, EV_REL, encoder->axis); input 263 drivers/input/misc/rotary_encoder.c input_set_abs_params(input, input 306 drivers/input/misc/rotary_encoder.c err = input_register_device(input); input 58 drivers/input/misc/sc27xx-vibra.c static int sc27xx_vibra_play(struct input_dev *input, void *data, input 61 drivers/input/misc/sc27xx-vibra.c struct vibra_info *info = input_get_drvdata(input); input 69 drivers/input/misc/sc27xx-vibra.c static void sc27xx_vibra_close(struct input_dev *input) input 71 drivers/input/misc/sc27xx-vibra.c struct vibra_info *info = input_get_drvdata(input); input 56 drivers/input/misc/sgi_btns.c struct input_dev *input = dev->input; input 65 drivers/input/misc/sgi_btns.c input_event(input, EV_MSC, MSC_SCAN, i); input 66 drivers/input/misc/sgi_btns.c input_report_key(input, bdev->keymap[i], 1); input 67 drivers/input/misc/sgi_btns.c input_sync(input); input 71 drivers/input/misc/sgi_btns.c input_event(input, EV_MSC, MSC_SCAN, i); input 72 drivers/input/misc/sgi_btns.c input_report_key(input, bdev->keymap[i], 0); input 73 drivers/input/misc/sgi_btns.c input_sync(input); input 84 drivers/input/misc/sgi_btns.c struct input_dev *input; input 100 drivers/input/misc/sgi_btns.c input = poll_dev->input; input 101 drivers/input/misc/sgi_btns.c input->name = "SGI buttons"; input 102 drivers/input/misc/sgi_btns.c input->phys = "sgi/input0"; input 103 drivers/input/misc/sgi_btns.c input->id.bustype = BUS_HOST; input 104 drivers/input/misc/sgi_btns.c input->dev.parent = &pdev->dev; input 106 drivers/input/misc/sgi_btns.c input->keycode = bdev->keymap; input 107 drivers/input/misc/sgi_btns.c input->keycodemax = ARRAY_SIZE(bdev->keymap); input 108 drivers/input/misc/sgi_btns.c input->keycodesize = sizeof(unsigned short); input 110 drivers/input/misc/sgi_btns.c input_set_capability(input, EV_MSC, MSC_SCAN); input 111 drivers/input/misc/sgi_btns.c __set_bit(EV_KEY, input->evbit); input 113 drivers/input/misc/sgi_btns.c __set_bit(bdev->keymap[i], input->keybit); input 114 drivers/input/misc/sgi_btns.c __clear_bit(KEY_RESERVED, input->keybit); input 20 drivers/input/misc/sirfsoc-onkey.c struct input_dev *input; input 47 drivers/input/misc/sirfsoc-onkey.c input_event(pwrcdrv->input, EV_KEY, KEY_POWER, 0); input 48 drivers/input/misc/sirfsoc-onkey.c input_sync(pwrcdrv->input); input 62 drivers/input/misc/sirfsoc-onkey.c input_event(pwrcdrv->input, EV_KEY, KEY_POWER, 1); input 63 drivers/input/misc/sirfsoc-onkey.c input_sync(pwrcdrv->input); input 83 drivers/input/misc/sirfsoc-onkey.c static int sirfsoc_pwrc_open(struct input_dev *input) input 85 drivers/input/misc/sirfsoc-onkey.c struct sirfsoc_pwrc_drvdata *pwrcdrv = input_get_drvdata(input); input 92 drivers/input/misc/sirfsoc-onkey.c static void sirfsoc_pwrc_close(struct input_dev *input) input 94 drivers/input/misc/sirfsoc-onkey.c struct sirfsoc_pwrc_drvdata *pwrcdrv = input_get_drvdata(input); input 131 drivers/input/misc/sirfsoc-onkey.c pwrcdrv->input = devm_input_allocate_device(&pdev->dev); input 132 drivers/input/misc/sirfsoc-onkey.c if (!pwrcdrv->input) input 135 drivers/input/misc/sirfsoc-onkey.c pwrcdrv->input->name = "sirfsoc pwrckey"; input 136 drivers/input/misc/sirfsoc-onkey.c pwrcdrv->input->phys = "pwrc/input0"; input 137 drivers/input/misc/sirfsoc-onkey.c pwrcdrv->input->evbit[0] = BIT_MASK(EV_KEY); input 138 drivers/input/misc/sirfsoc-onkey.c input_set_capability(pwrcdrv->input, EV_KEY, KEY_POWER); input 142 drivers/input/misc/sirfsoc-onkey.c pwrcdrv->input->open = sirfsoc_pwrc_open; input 143 drivers/input/misc/sirfsoc-onkey.c pwrcdrv->input->close = sirfsoc_pwrc_close; input 145 drivers/input/misc/sirfsoc-onkey.c input_set_drvdata(pwrcdrv->input, pwrcdrv); input 160 drivers/input/misc/sirfsoc-onkey.c error = input_register_device(pwrcdrv->input); input 177 drivers/input/misc/sirfsoc-onkey.c struct input_dev *input = pwrcdrv->input; input 183 drivers/input/misc/sirfsoc-onkey.c mutex_lock(&input->mutex); input 184 drivers/input/misc/sirfsoc-onkey.c if (input->users) input 186 drivers/input/misc/sirfsoc-onkey.c mutex_unlock(&input->mutex); input 122 drivers/input/misc/twl4030-vibra.c static int vibra_play(struct input_dev *input, void *data, input 125 drivers/input/misc/twl4030-vibra.c struct vibra_info *info = input_get_drvdata(input); input 135 drivers/input/misc/twl4030-vibra.c static void twl4030_vibra_close(struct input_dev *input) input 137 drivers/input/misc/twl4030-vibra.c struct vibra_info *info = input_get_drvdata(input); input 189 drivers/input/misc/twl6040-vibra.c static int vibra_play(struct input_dev *input, void *data, input 192 drivers/input/misc/twl6040-vibra.c struct vibra_info *info = input_get_drvdata(input); input 203 drivers/input/misc/twl6040-vibra.c static void twl6040_vibra_close(struct input_dev *input) input 205 drivers/input/misc/twl6040-vibra.c struct vibra_info *info = input_get_drvdata(input); input 1117 drivers/input/misc/wistron_btns.c sparse_keymap_entry_from_scancode(wistron_idev->input, code); input 1136 drivers/input/misc/wistron_btns.c sparse_keymap_report_entry(wistron_idev->input, input 1222 drivers/input/misc/wistron_btns.c input_dev = wistron_idev->input; input 201 drivers/input/mouse/appletouch.c struct input_dev *input; /* input dev */ input 432 drivers/input/mouse/appletouch.c static inline void atp_report_fingers(struct input_dev *input, int fingers) input 434 drivers/input/mouse/appletouch.c input_report_key(input, BTN_TOOL_FINGER, fingers == 1); input 435 drivers/input/mouse/appletouch.c input_report_key(input, BTN_TOOL_DOUBLETAP, fingers == 2); input 436 drivers/input/mouse/appletouch.c input_report_key(input, BTN_TOOL_TRIPLETAP, fingers > 2); input 500 drivers/input/mouse/appletouch.c input_set_abs_params(dev->input, ABS_X, 0, input 616 drivers/input/mouse/appletouch.c input_report_key(dev->input, BTN_TOUCH, 1); input 617 drivers/input/mouse/appletouch.c input_report_abs(dev->input, ABS_X, x); input 618 drivers/input/mouse/appletouch.c input_report_abs(dev->input, ABS_Y, y); input 619 drivers/input/mouse/appletouch.c input_report_abs(dev->input, ABS_PRESSURE, input 621 drivers/input/mouse/appletouch.c atp_report_fingers(dev->input, fingers); input 630 drivers/input/mouse/appletouch.c input_report_key(dev->input, BTN_TOUCH, 0); input 631 drivers/input/mouse/appletouch.c input_report_abs(dev->input, ABS_PRESSURE, 0); input 632 drivers/input/mouse/appletouch.c atp_report_fingers(dev->input, 0); input 642 drivers/input/mouse/appletouch.c input_report_key(dev->input, BTN_LEFT, key); input 643 drivers/input/mouse/appletouch.c input_sync(dev->input); input 736 drivers/input/mouse/appletouch.c input_report_key(dev->input, BTN_TOUCH, 1); input 737 drivers/input/mouse/appletouch.c input_report_abs(dev->input, ABS_X, x); input 738 drivers/input/mouse/appletouch.c input_report_abs(dev->input, ABS_Y, y); input 739 drivers/input/mouse/appletouch.c input_report_abs(dev->input, ABS_PRESSURE, input 741 drivers/input/mouse/appletouch.c atp_report_fingers(dev->input, fingers); input 750 drivers/input/mouse/appletouch.c input_report_key(dev->input, BTN_TOUCH, 0); input 751 drivers/input/mouse/appletouch.c input_report_abs(dev->input, ABS_PRESSURE, 0); input 752 drivers/input/mouse/appletouch.c atp_report_fingers(dev->input, 0); input 762 drivers/input/mouse/appletouch.c input_report_key(dev->input, BTN_LEFT, key); input 763 drivers/input/mouse/appletouch.c input_sync(dev->input); input 796 drivers/input/mouse/appletouch.c static int atp_open(struct input_dev *input) input 798 drivers/input/mouse/appletouch.c struct atp *dev = input_get_drvdata(input); input 807 drivers/input/mouse/appletouch.c static void atp_close(struct input_dev *input) input 809 drivers/input/mouse/appletouch.c struct atp *dev = input_get_drvdata(input); input 867 drivers/input/mouse/appletouch.c dev->input = input_dev; input 919 drivers/input/mouse/appletouch.c error = input_register_device(dev->input); input 949 drivers/input/mouse/appletouch.c input_unregister_device(dev->input); input 278 drivers/input/mouse/bcm5974.c struct input_dev *input; /* input dev */ input 508 drivers/input/mouse/bcm5974.c static void set_abs(struct input_dev *input, unsigned int code, input 512 drivers/input/mouse/bcm5974.c input_set_abs_params(input, code, p->min, p->max, fuzz, 0); input 558 drivers/input/mouse/bcm5974.c input_report_key(dev->input, BTN_LEFT, dev->bt_data->button); input 559 drivers/input/mouse/bcm5974.c input_sync(dev->input); input 564 drivers/input/mouse/bcm5974.c static void report_finger_data(struct input_dev *input, int slot, input 568 drivers/input/mouse/bcm5974.c input_mt_slot(input, slot); input 569 drivers/input/mouse/bcm5974.c input_mt_report_slot_state(input, MT_TOOL_FINGER, true); input 571 drivers/input/mouse/bcm5974.c input_report_abs(input, ABS_MT_TOUCH_MAJOR, input 573 drivers/input/mouse/bcm5974.c input_report_abs(input, ABS_MT_TOUCH_MINOR, input 575 drivers/input/mouse/bcm5974.c input_report_abs(input, ABS_MT_WIDTH_MAJOR, input 577 drivers/input/mouse/bcm5974.c input_report_abs(input, ABS_MT_WIDTH_MINOR, input 579 drivers/input/mouse/bcm5974.c input_report_abs(input, ABS_MT_ORIENTATION, input 581 drivers/input/mouse/bcm5974.c input_report_abs(input, ABS_MT_POSITION_X, pos->x); input 582 drivers/input/mouse/bcm5974.c input_report_abs(input, ABS_MT_POSITION_Y, pos->y); input 585 drivers/input/mouse/bcm5974.c static void report_synaptics_data(struct input_dev *input, input 600 drivers/input/mouse/bcm5974.c input_report_abs(input, ABS_PRESSURE, abs_p); input 601 drivers/input/mouse/bcm5974.c input_report_abs(input, ABS_TOOL_WIDTH, abs_w); input 609 drivers/input/mouse/bcm5974.c struct input_dev *input = dev->input; input 626 drivers/input/mouse/bcm5974.c input_mt_assign_slots(input, dev->slots, dev->pos, n, 0); input 629 drivers/input/mouse/bcm5974.c report_finger_data(input, dev->slots[i], input 632 drivers/input/mouse/bcm5974.c input_mt_sync_frame(input); input 634 drivers/input/mouse/bcm5974.c report_synaptics_data(input, c, get_tp_finger(dev, 0), raw_n); input 639 drivers/input/mouse/bcm5974.c input_report_key(input, BTN_LEFT, ibt); input 642 drivers/input/mouse/bcm5974.c input_sync(input); input 828 drivers/input/mouse/bcm5974.c static int bcm5974_open(struct input_dev *input) input 830 drivers/input/mouse/bcm5974.c struct bcm5974 *dev = input_get_drvdata(input); input 851 drivers/input/mouse/bcm5974.c static void bcm5974_close(struct input_dev *input) input 853 drivers/input/mouse/bcm5974.c struct bcm5974 *dev = input_get_drvdata(input); input 916 drivers/input/mouse/bcm5974.c dev->input = input_dev; input 974 drivers/input/mouse/bcm5974.c error = input_register_device(dev->input); input 1007 drivers/input/mouse/bcm5974.c input_unregister_device(dev->input); input 368 drivers/input/mouse/cyapa.c static int cyapa_open(struct input_dev *input) input 370 drivers/input/mouse/cyapa.c struct cyapa *cyapa = input_get_drvdata(input); input 413 drivers/input/mouse/cyapa.c static void cyapa_close(struct input_dev *input) input 415 drivers/input/mouse/cyapa.c struct cyapa *cyapa = input_get_drvdata(input); input 436 drivers/input/mouse/cyapa.c struct input_dev *input; input 442 drivers/input/mouse/cyapa.c input = devm_input_allocate_device(dev); input 443 drivers/input/mouse/cyapa.c if (!input) { input 448 drivers/input/mouse/cyapa.c input->name = CYAPA_NAME; input 449 drivers/input/mouse/cyapa.c input->phys = cyapa->phys; input 450 drivers/input/mouse/cyapa.c input->id.bustype = BUS_I2C; input 451 drivers/input/mouse/cyapa.c input->id.version = 1; input 452 drivers/input/mouse/cyapa.c input->id.product = 0; /* Means any product in eventcomm. */ input 453 drivers/input/mouse/cyapa.c input->dev.parent = &cyapa->client->dev; input 455 drivers/input/mouse/cyapa.c input->open = cyapa_open; input 456 drivers/input/mouse/cyapa.c input->close = cyapa_close; input 458 drivers/input/mouse/cyapa.c input_set_drvdata(input, cyapa); input 460 drivers/input/mouse/cyapa.c __set_bit(EV_ABS, input->evbit); input 463 drivers/input/mouse/cyapa.c input_set_abs_params(input, ABS_MT_POSITION_X, 0, cyapa->max_abs_x, 0, input 465 drivers/input/mouse/cyapa.c input_set_abs_params(input, ABS_MT_POSITION_Y, 0, cyapa->max_abs_y, 0, input 467 drivers/input/mouse/cyapa.c input_set_abs_params(input, ABS_MT_PRESSURE, 0, cyapa->max_z, 0, 0); input 469 drivers/input/mouse/cyapa.c input_set_abs_params(input, ABS_MT_TOUCH_MAJOR, 0, 255, 0, 0); input 470 drivers/input/mouse/cyapa.c input_set_abs_params(input, ABS_MT_TOUCH_MINOR, 0, 255, 0, 0); input 482 drivers/input/mouse/cyapa.c input_set_abs_params(input, ABS_MT_ORIENTATION, input 486 drivers/input/mouse/cyapa.c input_set_abs_params(input, ABS_MT_WIDTH_MAJOR, 0, 255, 0, 0); input 487 drivers/input/mouse/cyapa.c input_set_abs_params(input, ABS_MT_WIDTH_MINOR, 0, 255, 0, 0); input 488 drivers/input/mouse/cyapa.c input_set_abs_params(input, ABS_DISTANCE, 0, 1, 0, 0); input 491 drivers/input/mouse/cyapa.c input_abs_set_res(input, ABS_MT_POSITION_X, input 493 drivers/input/mouse/cyapa.c input_abs_set_res(input, ABS_MT_POSITION_Y, input 497 drivers/input/mouse/cyapa.c __set_bit(BTN_LEFT, input->keybit); input 499 drivers/input/mouse/cyapa.c __set_bit(BTN_MIDDLE, input->keybit); input 501 drivers/input/mouse/cyapa.c __set_bit(BTN_RIGHT, input->keybit); input 504 drivers/input/mouse/cyapa.c __set_bit(INPUT_PROP_BUTTONPAD, input->propbit); input 507 drivers/input/mouse/cyapa.c error = input_mt_init_slots(input, CYAPA_MAX_MT_SLOTS, input 515 drivers/input/mouse/cyapa.c error = input_register_device(input); input 521 drivers/input/mouse/cyapa.c cyapa->input = input; input 527 drivers/input/mouse/cyapa.c struct input_dev *input = cyapa->input; input 529 drivers/input/mouse/cyapa.c if (!input || !input->users) { input 536 drivers/input/mouse/cyapa.c if (!input || cyapa->operational) input 547 drivers/input/mouse/cyapa.c struct input_dev *input = cyapa->input; input 549 drivers/input/mouse/cyapa.c if (!input || !input->users) { input 552 drivers/input/mouse/cyapa.c if (!input || cyapa->operational) input 630 drivers/input/mouse/cyapa.c struct input_dev *input = cyapa->input; input 645 drivers/input/mouse/cyapa.c if (!input && cyapa->operational) { input 655 drivers/input/mouse/cyapa.c if (!input || !input->users) { input 690 drivers/input/mouse/cyapa.c if (!cyapa->input) { input 1095 drivers/input/mouse/cyapa.c if (cyapa->input) { input 1101 drivers/input/mouse/cyapa.c input_unregister_device(cyapa->input); input 1102 drivers/input/mouse/cyapa.c cyapa->input = NULL; input 338 drivers/input/mouse/cyapa.h struct input_dev *input; input 910 drivers/input/mouse/cyapa_gen3.c struct input_dev *input = cyapa->input; input 955 drivers/input/mouse/cyapa_gen3.c if (cyapa->operational && input && input->users && input 1147 drivers/input/mouse/cyapa_gen3.c struct input_dev *input = cyapa->input; input 1157 drivers/input/mouse/cyapa_gen3.c input_mt_slot(input, slot); input 1158 drivers/input/mouse/cyapa_gen3.c input_mt_report_slot_state(input, MT_TOOL_FINGER, true); input 1159 drivers/input/mouse/cyapa_gen3.c input_report_abs(input, ABS_MT_POSITION_X, input 1161 drivers/input/mouse/cyapa_gen3.c input_report_abs(input, ABS_MT_POSITION_Y, input 1163 drivers/input/mouse/cyapa_gen3.c input_report_abs(input, ABS_MT_PRESSURE, touch->pressure); input 1166 drivers/input/mouse/cyapa_gen3.c input_mt_sync_frame(input); input 1169 drivers/input/mouse/cyapa_gen3.c input_report_key(input, BTN_LEFT, input 1172 drivers/input/mouse/cyapa_gen3.c input_report_key(input, BTN_MIDDLE, input 1175 drivers/input/mouse/cyapa_gen3.c input_report_key(input, BTN_RIGHT, input 1177 drivers/input/mouse/cyapa_gen3.c input_sync(input); input 445 drivers/input/mouse/cyapa_gen5.c struct input_dev *input = cyapa->input; input 521 drivers/input/mouse/cyapa_gen5.c } else if (cyapa->operational && input && input->users && input 2676 drivers/input/mouse/cyapa_gen5.c struct input_dev *input = cyapa->input; input 2682 drivers/input/mouse/cyapa_gen5.c input_report_key(input, BTN_LEFT, input 2686 drivers/input/mouse/cyapa_gen5.c input_report_key(input, BTN_MIDDLE, input 2690 drivers/input/mouse/cyapa_gen5.c input_report_key(input, BTN_RIGHT, input 2694 drivers/input/mouse/cyapa_gen5.c input_sync(input); input 2700 drivers/input/mouse/cyapa_gen5.c struct input_dev *input = cyapa->input; input 2704 drivers/input/mouse/cyapa_gen5.c input_report_abs(input, ABS_DISTANCE, distance); input 2705 drivers/input/mouse/cyapa_gen5.c input_sync(input); input 2711 drivers/input/mouse/cyapa_gen5.c struct input_dev *input = cyapa->input; input 2719 drivers/input/mouse/cyapa_gen5.c input_mt_slot(input, slot); input 2720 drivers/input/mouse/cyapa_gen5.c input_mt_report_slot_state(input, MT_TOOL_FINGER, true); input 2727 drivers/input/mouse/cyapa_gen5.c input_report_abs(input, ABS_MT_POSITION_X, x); input 2728 drivers/input/mouse/cyapa_gen5.c input_report_abs(input, ABS_MT_POSITION_Y, y); input 2729 drivers/input/mouse/cyapa_gen5.c input_report_abs(input, ABS_DISTANCE, 0); input 2730 drivers/input/mouse/cyapa_gen5.c input_report_abs(input, ABS_MT_PRESSURE, input 2732 drivers/input/mouse/cyapa_gen5.c input_report_abs(input, ABS_MT_TOUCH_MAJOR, input 2734 drivers/input/mouse/cyapa_gen5.c input_report_abs(input, ABS_MT_TOUCH_MINOR, input 2737 drivers/input/mouse/cyapa_gen5.c input_report_abs(input, ABS_MT_WIDTH_MAJOR, input 2739 drivers/input/mouse/cyapa_gen5.c input_report_abs(input, ABS_MT_WIDTH_MINOR, input 2742 drivers/input/mouse/cyapa_gen5.c input_report_abs(input, ABS_MT_ORIENTATION, input 2749 drivers/input/mouse/cyapa_gen5.c struct input_dev *input = cyapa->input; input 2760 drivers/input/mouse/cyapa_gen5.c input_mt_sync_frame(input); input 2761 drivers/input/mouse/cyapa_gen5.c input_sync(input); input 365 drivers/input/mouse/cypress_ps2.c static int cypress_set_input_params(struct input_dev *input, input 373 drivers/input/mouse/cypress_ps2.c __set_bit(EV_ABS, input->evbit); input 374 drivers/input/mouse/cypress_ps2.c input_set_abs_params(input, ABS_X, 0, cytp->tp_max_abs_x, 0, 0); input 375 drivers/input/mouse/cypress_ps2.c input_set_abs_params(input, ABS_Y, 0, cytp->tp_max_abs_y, 0, 0); input 376 drivers/input/mouse/cypress_ps2.c input_set_abs_params(input, ABS_PRESSURE, input 378 drivers/input/mouse/cypress_ps2.c input_set_abs_params(input, ABS_TOOL_WIDTH, 0, 255, 0, 0); input 381 drivers/input/mouse/cypress_ps2.c input_set_abs_params(input, ABS_MT_POSITION_X, 0, cytp->tp_max_abs_x, 0, 0); input 382 drivers/input/mouse/cypress_ps2.c input_set_abs_params(input, ABS_MT_POSITION_Y, 0, cytp->tp_max_abs_y, 0, 0); input 383 drivers/input/mouse/cypress_ps2.c input_set_abs_params(input, ABS_MT_PRESSURE, 0, 255, 0, 0); input 385 drivers/input/mouse/cypress_ps2.c ret = input_mt_init_slots(input, CYTP_MAX_MT_SLOTS, input 390 drivers/input/mouse/cypress_ps2.c __set_bit(INPUT_PROP_SEMI_MT, input->propbit); input 392 drivers/input/mouse/cypress_ps2.c input_abs_set_res(input, ABS_X, cytp->tp_res_x); input 393 drivers/input/mouse/cypress_ps2.c input_abs_set_res(input, ABS_Y, cytp->tp_res_y); input 395 drivers/input/mouse/cypress_ps2.c input_abs_set_res(input, ABS_MT_POSITION_X, cytp->tp_res_x); input 396 drivers/input/mouse/cypress_ps2.c input_abs_set_res(input, ABS_MT_POSITION_Y, cytp->tp_res_y); input 398 drivers/input/mouse/cypress_ps2.c __set_bit(BTN_TOUCH, input->keybit); input 399 drivers/input/mouse/cypress_ps2.c __set_bit(BTN_TOOL_FINGER, input->keybit); input 400 drivers/input/mouse/cypress_ps2.c __set_bit(BTN_TOOL_DOUBLETAP, input->keybit); input 401 drivers/input/mouse/cypress_ps2.c __set_bit(BTN_TOOL_TRIPLETAP, input->keybit); input 402 drivers/input/mouse/cypress_ps2.c __set_bit(BTN_TOOL_QUADTAP, input->keybit); input 403 drivers/input/mouse/cypress_ps2.c __set_bit(BTN_TOOL_QUINTTAP, input->keybit); input 405 drivers/input/mouse/cypress_ps2.c __clear_bit(EV_REL, input->evbit); input 406 drivers/input/mouse/cypress_ps2.c __clear_bit(REL_X, input->relbit); input 407 drivers/input/mouse/cypress_ps2.c __clear_bit(REL_Y, input->relbit); input 409 drivers/input/mouse/cypress_ps2.c __set_bit(EV_KEY, input->evbit); input 410 drivers/input/mouse/cypress_ps2.c __set_bit(BTN_LEFT, input->keybit); input 411 drivers/input/mouse/cypress_ps2.c __set_bit(BTN_RIGHT, input->keybit); input 412 drivers/input/mouse/cypress_ps2.c __set_bit(BTN_MIDDLE, input->keybit); input 516 drivers/input/mouse/cypress_ps2.c struct input_dev *input = psmouse->dev; input 536 drivers/input/mouse/cypress_ps2.c input_mt_assign_slots(input, slots, pos, n, 0); input 540 drivers/input/mouse/cypress_ps2.c input_mt_slot(input, slots[i]); input 541 drivers/input/mouse/cypress_ps2.c input_mt_report_slot_state(input, MT_TOOL_FINGER, true); input 542 drivers/input/mouse/cypress_ps2.c input_report_abs(input, ABS_MT_POSITION_X, contact->x); input 543 drivers/input/mouse/cypress_ps2.c input_report_abs(input, ABS_MT_POSITION_Y, contact->y); input 544 drivers/input/mouse/cypress_ps2.c input_report_abs(input, ABS_MT_PRESSURE, contact->z); input 547 drivers/input/mouse/cypress_ps2.c input_mt_sync_frame(input); input 549 drivers/input/mouse/cypress_ps2.c input_mt_report_finger_count(input, report_data.contact_cnt); input 551 drivers/input/mouse/cypress_ps2.c input_report_key(input, BTN_LEFT, report_data.left); input 552 drivers/input/mouse/cypress_ps2.c input_report_key(input, BTN_RIGHT, report_data.right); input 553 drivers/input/mouse/cypress_ps2.c input_report_key(input, BTN_MIDDLE, report_data.middle); input 555 drivers/input/mouse/cypress_ps2.c input_sync(input); input 63 drivers/input/mouse/elan_i2c_core.c struct input_dev *input; input 893 drivers/input/mouse/elan_i2c_core.c struct input_dev *input = data->input; input 909 drivers/input/mouse/elan_i2c_core.c dev_dbg(input->dev.parent, input 931 drivers/input/mouse/elan_i2c_core.c input_mt_slot(input, contact_num); input 932 drivers/input/mouse/elan_i2c_core.c input_mt_report_slot_state(input, MT_TOOL_FINGER, true); input 933 drivers/input/mouse/elan_i2c_core.c input_report_abs(input, ABS_MT_POSITION_X, pos_x); input 934 drivers/input/mouse/elan_i2c_core.c input_report_abs(input, ABS_MT_POSITION_Y, data->max_y - pos_y); input 935 drivers/input/mouse/elan_i2c_core.c input_report_abs(input, ABS_MT_PRESSURE, scaled_pressure); input 936 drivers/input/mouse/elan_i2c_core.c input_report_abs(input, ABS_TOOL_WIDTH, mk_x); input 937 drivers/input/mouse/elan_i2c_core.c input_report_abs(input, ABS_MT_TOUCH_MAJOR, major); input 938 drivers/input/mouse/elan_i2c_core.c input_report_abs(input, ABS_MT_TOUCH_MINOR, minor); input 940 drivers/input/mouse/elan_i2c_core.c input_mt_slot(input, contact_num); input 941 drivers/input/mouse/elan_i2c_core.c input_mt_report_slot_state(input, MT_TOOL_FINGER, false); input 947 drivers/input/mouse/elan_i2c_core.c struct input_dev *input = data->input; input 963 drivers/input/mouse/elan_i2c_core.c input_report_key(input, BTN_LEFT, tp_info & BIT(0)); input 964 drivers/input/mouse/elan_i2c_core.c input_report_key(input, BTN_MIDDLE, tp_info & BIT(2)); input 965 drivers/input/mouse/elan_i2c_core.c input_report_key(input, BTN_RIGHT, tp_info & BIT(1)); input 966 drivers/input/mouse/elan_i2c_core.c input_report_abs(input, ABS_DISTANCE, hover_event != 0); input 967 drivers/input/mouse/elan_i2c_core.c input_mt_report_pointer_emulation(input, true); input 968 drivers/input/mouse/elan_i2c_core.c input_sync(input); input 973 drivers/input/mouse/elan_i2c_core.c struct input_dev *input = data->tp_input; input 983 drivers/input/mouse/elan_i2c_core.c input_report_key(input, BTN_LEFT, packet[0] & 0x01); input 984 drivers/input/mouse/elan_i2c_core.c input_report_key(input, BTN_RIGHT, packet[0] & 0x02); input 985 drivers/input/mouse/elan_i2c_core.c input_report_key(input, BTN_MIDDLE, packet[0] & 0x04); input 991 drivers/input/mouse/elan_i2c_core.c input_report_rel(input, REL_X, x); input 992 drivers/input/mouse/elan_i2c_core.c input_report_rel(input, REL_Y, y); input 995 drivers/input/mouse/elan_i2c_core.c input_sync(input); input 1046 drivers/input/mouse/elan_i2c_core.c struct input_dev *input; input 1048 drivers/input/mouse/elan_i2c_core.c input = devm_input_allocate_device(dev); input 1049 drivers/input/mouse/elan_i2c_core.c if (!input) input 1052 drivers/input/mouse/elan_i2c_core.c input->name = "Elan TrackPoint"; input 1053 drivers/input/mouse/elan_i2c_core.c input->id.bustype = BUS_I2C; input 1054 drivers/input/mouse/elan_i2c_core.c input->id.vendor = ELAN_VENDOR_ID; input 1055 drivers/input/mouse/elan_i2c_core.c input->id.product = data->product_id; input 1056 drivers/input/mouse/elan_i2c_core.c input_set_drvdata(input, data); input 1058 drivers/input/mouse/elan_i2c_core.c input_set_capability(input, EV_REL, REL_X); input 1059 drivers/input/mouse/elan_i2c_core.c input_set_capability(input, EV_REL, REL_Y); input 1060 drivers/input/mouse/elan_i2c_core.c input_set_capability(input, EV_KEY, BTN_LEFT); input 1061 drivers/input/mouse/elan_i2c_core.c input_set_capability(input, EV_KEY, BTN_RIGHT); input 1062 drivers/input/mouse/elan_i2c_core.c input_set_capability(input, EV_KEY, BTN_MIDDLE); input 1064 drivers/input/mouse/elan_i2c_core.c __set_bit(INPUT_PROP_POINTER, input->propbit); input 1065 drivers/input/mouse/elan_i2c_core.c __set_bit(INPUT_PROP_POINTING_STICK, input->propbit); input 1067 drivers/input/mouse/elan_i2c_core.c data->tp_input = input; input 1075 drivers/input/mouse/elan_i2c_core.c struct input_dev *input; input 1080 drivers/input/mouse/elan_i2c_core.c input = devm_input_allocate_device(dev); input 1081 drivers/input/mouse/elan_i2c_core.c if (!input) input 1084 drivers/input/mouse/elan_i2c_core.c input->name = "Elan Touchpad"; input 1085 drivers/input/mouse/elan_i2c_core.c input->id.bustype = BUS_I2C; input 1086 drivers/input/mouse/elan_i2c_core.c input->id.vendor = ELAN_VENDOR_ID; input 1087 drivers/input/mouse/elan_i2c_core.c input->id.product = data->product_id; input 1088 drivers/input/mouse/elan_i2c_core.c input_set_drvdata(input, data); input 1090 drivers/input/mouse/elan_i2c_core.c error = input_mt_init_slots(input, ETP_MAX_FINGERS, input 1097 drivers/input/mouse/elan_i2c_core.c __set_bit(EV_ABS, input->evbit); input 1098 drivers/input/mouse/elan_i2c_core.c __set_bit(INPUT_PROP_POINTER, input->propbit); input 1100 drivers/input/mouse/elan_i2c_core.c __set_bit(INPUT_PROP_BUTTONPAD, input->propbit); input 1102 drivers/input/mouse/elan_i2c_core.c __set_bit(BTN_RIGHT, input->keybit); input 1104 drivers/input/mouse/elan_i2c_core.c __set_bit(BTN_MIDDLE, input->keybit); input 1106 drivers/input/mouse/elan_i2c_core.c __set_bit(BTN_LEFT, input->keybit); input 1109 drivers/input/mouse/elan_i2c_core.c input_set_abs_params(input, ABS_X, 0, data->max_x, 0, 0); input 1110 drivers/input/mouse/elan_i2c_core.c input_set_abs_params(input, ABS_Y, 0, data->max_y, 0, 0); input 1111 drivers/input/mouse/elan_i2c_core.c input_abs_set_res(input, ABS_X, data->x_res); input 1112 drivers/input/mouse/elan_i2c_core.c input_abs_set_res(input, ABS_Y, data->y_res); input 1113 drivers/input/mouse/elan_i2c_core.c input_set_abs_params(input, ABS_PRESSURE, 0, ETP_MAX_PRESSURE, 0, 0); input 1114 drivers/input/mouse/elan_i2c_core.c input_set_abs_params(input, ABS_TOOL_WIDTH, 0, ETP_FINGER_WIDTH, 0, 0); input 1115 drivers/input/mouse/elan_i2c_core.c input_set_abs_params(input, ABS_DISTANCE, 0, 1, 0, 0); input 1118 drivers/input/mouse/elan_i2c_core.c input_set_abs_params(input, ABS_MT_POSITION_X, 0, data->max_x, 0, 0); input 1119 drivers/input/mouse/elan_i2c_core.c input_set_abs_params(input, ABS_MT_POSITION_Y, 0, data->max_y, 0, 0); input 1120 drivers/input/mouse/elan_i2c_core.c input_abs_set_res(input, ABS_MT_POSITION_X, data->x_res); input 1121 drivers/input/mouse/elan_i2c_core.c input_abs_set_res(input, ABS_MT_POSITION_Y, data->y_res); input 1122 drivers/input/mouse/elan_i2c_core.c input_set_abs_params(input, ABS_MT_PRESSURE, 0, input 1124 drivers/input/mouse/elan_i2c_core.c input_set_abs_params(input, ABS_MT_TOUCH_MAJOR, 0, input 1126 drivers/input/mouse/elan_i2c_core.c input_set_abs_params(input, ABS_MT_TOUCH_MINOR, 0, input 1129 drivers/input/mouse/elan_i2c_core.c data->input = input; input 1270 drivers/input/mouse/elan_i2c_core.c error = input_register_device(data->input); input 49 drivers/input/mouse/gpio_mouse.c struct input_dev *input = dev->input; input 53 drivers/input/mouse/gpio_mouse.c input_report_key(input, BTN_LEFT, input 56 drivers/input/mouse/gpio_mouse.c input_report_key(input, BTN_MIDDLE, input 59 drivers/input/mouse/gpio_mouse.c input_report_key(input, BTN_RIGHT, input 65 drivers/input/mouse/gpio_mouse.c input_report_rel(input, REL_X, x); input 66 drivers/input/mouse/gpio_mouse.c input_report_rel(input, REL_Y, y); input 67 drivers/input/mouse/gpio_mouse.c input_sync(input); input 75 drivers/input/mouse/gpio_mouse.c struct input_dev *input; input 128 drivers/input/mouse/gpio_mouse.c input = input_poll->input; input 129 drivers/input/mouse/gpio_mouse.c input->name = pdev->name; input 130 drivers/input/mouse/gpio_mouse.c input->id.bustype = BUS_HOST; input 131 drivers/input/mouse/gpio_mouse.c input->dev.parent = &pdev->dev; input 133 drivers/input/mouse/gpio_mouse.c input_set_capability(input, EV_REL, REL_X); input 134 drivers/input/mouse/gpio_mouse.c input_set_capability(input, EV_REL, REL_Y); input 136 drivers/input/mouse/gpio_mouse.c input_set_capability(input, EV_KEY, BTN_LEFT); input 138 drivers/input/mouse/gpio_mouse.c input_set_capability(input, EV_KEY, BTN_MIDDLE); input 140 drivers/input/mouse/gpio_mouse.c input_set_capability(input, EV_KEY, BTN_RIGHT); input 538 drivers/input/mouse/hgpk.c static void hgpk_setup_input_device(struct input_dev *input, input 543 drivers/input/mouse/hgpk.c input->name = old_input->name; input 544 drivers/input/mouse/hgpk.c input->phys = old_input->phys; input 545 drivers/input/mouse/hgpk.c input->id = old_input->id; input 546 drivers/input/mouse/hgpk.c input->dev.parent = old_input->dev.parent; input 549 drivers/input/mouse/hgpk.c memset(input->evbit, 0, sizeof(input->evbit)); input 550 drivers/input/mouse/hgpk.c memset(input->relbit, 0, sizeof(input->relbit)); input 551 drivers/input/mouse/hgpk.c memset(input->keybit, 0, sizeof(input->keybit)); input 554 drivers/input/mouse/hgpk.c __set_bit(EV_KEY, input->evbit); input 555 drivers/input/mouse/hgpk.c __set_bit(BTN_LEFT, input->keybit); input 556 drivers/input/mouse/hgpk.c __set_bit(BTN_RIGHT, input->keybit); input 560 drivers/input/mouse/hgpk.c __set_bit(EV_REL, input->evbit); input 561 drivers/input/mouse/hgpk.c __set_bit(REL_X, input->relbit); input 562 drivers/input/mouse/hgpk.c __set_bit(REL_Y, input->relbit); input 566 drivers/input/mouse/hgpk.c __set_bit(BTN_TOUCH, input->keybit); input 567 drivers/input/mouse/hgpk.c __set_bit(BTN_TOOL_FINGER, input->keybit); input 569 drivers/input/mouse/hgpk.c __set_bit(EV_ABS, input->evbit); input 572 drivers/input/mouse/hgpk.c input_set_abs_params(input, ABS_PRESSURE, 0, 15, 0, 0); input 575 drivers/input/mouse/hgpk.c input_set_abs_params(input, ABS_X, 0, 399, 0, 0); input 576 drivers/input/mouse/hgpk.c input_set_abs_params(input, ABS_Y, 0, 290, 0, 0); input 579 drivers/input/mouse/hgpk.c input_abs_set_res(input, ABS_X, 8); input 580 drivers/input/mouse/hgpk.c input_abs_set_res(input, ABS_Y, 8); input 584 drivers/input/mouse/hgpk.c __set_bit(BTN_TOUCH, input->keybit); input 585 drivers/input/mouse/hgpk.c __set_bit(BTN_TOOL_FINGER, input->keybit); input 587 drivers/input/mouse/hgpk.c __set_bit(EV_ABS, input->evbit); input 590 drivers/input/mouse/hgpk.c input_set_abs_params(input, ABS_X, 0, 999, 0, 0); input 591 drivers/input/mouse/hgpk.c input_set_abs_params(input, ABS_Y, 5, 239, 0, 0); input 594 drivers/input/mouse/hgpk.c input_abs_set_res(input, ABS_X, 6); input 595 drivers/input/mouse/hgpk.c input_abs_set_res(input, ABS_Y, 8); input 33 drivers/input/mouse/navpoint.c struct input_dev *input; input 96 drivers/input/mouse/navpoint.c input_report_key(navpoint->input, BTN_TOUCH, finger); input 97 drivers/input/mouse/navpoint.c input_report_abs(navpoint->input, ABS_X, x); input 98 drivers/input/mouse/navpoint.c input_report_abs(navpoint->input, ABS_Y, y); input 99 drivers/input/mouse/navpoint.c input_report_abs(navpoint->input, ABS_PRESSURE, z); input 100 drivers/input/mouse/navpoint.c input_report_key(navpoint->input, BTN_TOOL_FINGER, finger); input 101 drivers/input/mouse/navpoint.c input_report_key(navpoint->input, BTN_LEFT, gesture); input 102 drivers/input/mouse/navpoint.c input_sync(navpoint->input); input 189 drivers/input/mouse/navpoint.c static int navpoint_open(struct input_dev *input) input 191 drivers/input/mouse/navpoint.c struct navpoint *navpoint = input_get_drvdata(input); input 198 drivers/input/mouse/navpoint.c static void navpoint_close(struct input_dev *input) input 200 drivers/input/mouse/navpoint.c struct navpoint *navpoint = input_get_drvdata(input); input 210 drivers/input/mouse/navpoint.c struct input_dev *input; input 239 drivers/input/mouse/navpoint.c input = input_allocate_device(); input 240 drivers/input/mouse/navpoint.c if (!navpoint || !input) { input 246 drivers/input/mouse/navpoint.c navpoint->input = input; input 250 drivers/input/mouse/navpoint.c input->name = pdev->name; input 251 drivers/input/mouse/navpoint.c input->dev.parent = &pdev->dev; input 253 drivers/input/mouse/navpoint.c __set_bit(EV_KEY, input->evbit); input 254 drivers/input/mouse/navpoint.c __set_bit(EV_ABS, input->evbit); input 255 drivers/input/mouse/navpoint.c __set_bit(BTN_LEFT, input->keybit); input 256 drivers/input/mouse/navpoint.c __set_bit(BTN_TOUCH, input->keybit); input 257 drivers/input/mouse/navpoint.c __set_bit(BTN_TOOL_FINGER, input->keybit); input 259 drivers/input/mouse/navpoint.c input_set_abs_params(input, ABS_X, input 261 drivers/input/mouse/navpoint.c input_set_abs_params(input, ABS_Y, input 263 drivers/input/mouse/navpoint.c input_set_abs_params(input, ABS_PRESSURE, input 267 drivers/input/mouse/navpoint.c input->open = navpoint_open; input 268 drivers/input/mouse/navpoint.c input->close = navpoint_close; input 270 drivers/input/mouse/navpoint.c input_set_drvdata(input, navpoint); input 276 drivers/input/mouse/navpoint.c error = input_register_device(input); input 288 drivers/input/mouse/navpoint.c input_free_device(input); input 307 drivers/input/mouse/navpoint.c input_unregister_device(navpoint->input); input 322 drivers/input/mouse/navpoint.c struct input_dev *input = navpoint->input; input 324 drivers/input/mouse/navpoint.c mutex_lock(&input->mutex); input 325 drivers/input/mouse/navpoint.c if (input->users) input 327 drivers/input/mouse/navpoint.c mutex_unlock(&input->mutex); input 336 drivers/input/mouse/navpoint.c struct input_dev *input = navpoint->input; input 338 drivers/input/mouse/navpoint.c mutex_lock(&input->mutex); input 339 drivers/input/mouse/navpoint.c if (input->users) input 341 drivers/input/mouse/navpoint.c mutex_unlock(&input->mutex); input 46 drivers/input/mouse/pxa930_trkball.c struct input_dev *input; input 52 drivers/input/mouse/pxa930_trkball.c struct input_dev *input = trkball->input; input 64 drivers/input/mouse/pxa930_trkball.c input_report_rel(input, REL_X, x); input 65 drivers/input/mouse/pxa930_trkball.c input_report_rel(input, REL_Y, y); input 66 drivers/input/mouse/pxa930_trkball.c input_sync(input); input 145 drivers/input/mouse/pxa930_trkball.c struct input_dev *input; input 189 drivers/input/mouse/pxa930_trkball.c input = input_allocate_device(); input 190 drivers/input/mouse/pxa930_trkball.c if (!input) { input 196 drivers/input/mouse/pxa930_trkball.c input->name = pdev->name; input 197 drivers/input/mouse/pxa930_trkball.c input->id.bustype = BUS_HOST; input 198 drivers/input/mouse/pxa930_trkball.c input->open = pxa930_trkball_open; input 199 drivers/input/mouse/pxa930_trkball.c input->close = pxa930_trkball_close; input 200 drivers/input/mouse/pxa930_trkball.c input->dev.parent = &pdev->dev; input 201 drivers/input/mouse/pxa930_trkball.c input_set_drvdata(input, trkball); input 203 drivers/input/mouse/pxa930_trkball.c trkball->input = input; input 205 drivers/input/mouse/pxa930_trkball.c input_set_capability(input, EV_REL, REL_X); input 206 drivers/input/mouse/pxa930_trkball.c input_set_capability(input, EV_REL, REL_Y); input 208 drivers/input/mouse/pxa930_trkball.c error = input_register_device(input); input 217 drivers/input/mouse/pxa930_trkball.c input_free_device(input); input 232 drivers/input/mouse/pxa930_trkball.c input_unregister_device(trkball->input); input 220 drivers/input/mouse/synaptics_i2c.c struct input_dev *input; input 337 drivers/input/mouse/synaptics_i2c.c struct input_dev *input = touch->input; input 361 drivers/input/mouse/synaptics_i2c.c input_report_key(input, BTN_LEFT, gesture); input 364 drivers/input/mouse/synaptics_i2c.c input_report_rel(input, REL_X, x_delta); input 365 drivers/input/mouse/synaptics_i2c.c input_report_rel(input, REL_Y, -y_delta); input 366 drivers/input/mouse/synaptics_i2c.c input_sync(input); input 454 drivers/input/mouse/synaptics_i2c.c static int synaptics_i2c_open(struct input_dev *input) input 456 drivers/input/mouse/synaptics_i2c.c struct synaptics_i2c *touch = input_get_drvdata(input); input 470 drivers/input/mouse/synaptics_i2c.c static void synaptics_i2c_close(struct input_dev *input) input 472 drivers/input/mouse/synaptics_i2c.c struct synaptics_i2c *touch = input_get_drvdata(input); input 485 drivers/input/mouse/synaptics_i2c.c struct input_dev *input = touch->input; input 487 drivers/input/mouse/synaptics_i2c.c input->name = touch->client->name; input 488 drivers/input/mouse/synaptics_i2c.c input->phys = touch->client->adapter->name; input 489 drivers/input/mouse/synaptics_i2c.c input->id.bustype = BUS_I2C; input 490 drivers/input/mouse/synaptics_i2c.c input->id.version = synaptics_i2c_word_get(touch->client, input 492 drivers/input/mouse/synaptics_i2c.c input->dev.parent = &touch->client->dev; input 493 drivers/input/mouse/synaptics_i2c.c input->open = synaptics_i2c_open; input 494 drivers/input/mouse/synaptics_i2c.c input->close = synaptics_i2c_close; input 495 drivers/input/mouse/synaptics_i2c.c input_set_drvdata(input, touch); input 498 drivers/input/mouse/synaptics_i2c.c __set_bit(EV_REL, input->evbit); input 499 drivers/input/mouse/synaptics_i2c.c __set_bit(REL_X, input->relbit); input 500 drivers/input/mouse/synaptics_i2c.c __set_bit(REL_Y, input->relbit); input 503 drivers/input/mouse/synaptics_i2c.c __set_bit(EV_KEY, input->evbit); input 504 drivers/input/mouse/synaptics_i2c.c __set_bit(BTN_LEFT, input->keybit); input 541 drivers/input/mouse/synaptics_i2c.c touch->input = input_allocate_device(); input 542 drivers/input/mouse/synaptics_i2c.c if (!touch->input) { input 571 drivers/input/mouse/synaptics_i2c.c ret = input_register_device(touch->input); input 583 drivers/input/mouse/synaptics_i2c.c input_free_device(touch->input); input 597 drivers/input/mouse/synaptics_i2c.c input_unregister_device(touch->input); input 86 drivers/input/mouse/synaptics_usb.c struct input_dev *input; input 96 drivers/input/mouse/synaptics_usb.c struct input_dev *input_dev = synusb->input; input 105 drivers/input/mouse/synaptics_usb.c struct input_dev *input_dev = synusb->input; input 127 drivers/input/mouse/synaptics_usb.c struct input_dev *input_dev = synusb->input; input 323 drivers/input/mouse/synaptics_usb.c synusb->input = input_dev; input 441 drivers/input/mouse/synaptics_usb.c synusb_close(synusb->input); input 461 drivers/input/mouse/synaptics_usb.c synusb_close(synusb->input); input 463 drivers/input/mouse/synaptics_usb.c input_unregister_device(synusb->input); input 1051 drivers/input/mousedev.c MODULE_DEVICE_TABLE(input, mousedev_ids); input 71 drivers/input/rmi4/rmi_2d_sensor.c struct input_dev *input = sensor->input; input 75 drivers/input/rmi4/rmi_2d_sensor.c input_mt_slot(input, sensor->tracking_slots[slot]); input 77 drivers/input/rmi4/rmi_2d_sensor.c input_mt_slot(input, slot); input 79 drivers/input/rmi4/rmi_2d_sensor.c input_mt_report_slot_state(input, obj->mt_tool, input 98 drivers/input/rmi4/rmi_2d_sensor.c input_event(sensor->input, EV_ABS, ABS_MT_POSITION_X, obj->x); input 99 drivers/input/rmi4/rmi_2d_sensor.c input_event(sensor->input, EV_ABS, ABS_MT_POSITION_Y, obj->y); input 100 drivers/input/rmi4/rmi_2d_sensor.c input_event(sensor->input, EV_ABS, ABS_MT_ORIENTATION, wide); input 101 drivers/input/rmi4/rmi_2d_sensor.c input_event(sensor->input, EV_ABS, ABS_MT_PRESSURE, obj->z); input 102 drivers/input/rmi4/rmi_2d_sensor.c input_event(sensor->input, EV_ABS, ABS_MT_TOUCH_MAJOR, major); input 103 drivers/input/rmi4/rmi_2d_sensor.c input_event(sensor->input, EV_ABS, ABS_MT_TOUCH_MINOR, minor); input 105 drivers/input/rmi4/rmi_2d_sensor.c rmi_dbg(RMI_DEBUG_2D_SENSOR, &sensor->input->dev, input 130 drivers/input/rmi4/rmi_2d_sensor.c input_report_rel(sensor->input, REL_X, x); input 131 drivers/input/rmi4/rmi_2d_sensor.c input_report_rel(sensor->input, REL_Y, y); input 138 drivers/input/rmi4/rmi_2d_sensor.c struct input_dev *input = sensor->input; input 155 drivers/input/rmi4/rmi_2d_sensor.c set_bit(EV_ABS, input->evbit); input 161 drivers/input/rmi4/rmi_2d_sensor.c input_set_abs_params(input, ABS_MT_POSITION_X, 0, max_x, 0, 0); input 162 drivers/input/rmi4/rmi_2d_sensor.c input_set_abs_params(input, ABS_MT_POSITION_Y, 0, max_y, 0, 0); input 170 drivers/input/rmi4/rmi_2d_sensor.c input_abs_set_res(input, ABS_X, res_x); input 171 drivers/input/rmi4/rmi_2d_sensor.c input_abs_set_res(input, ABS_Y, res_y); input 173 drivers/input/rmi4/rmi_2d_sensor.c input_abs_set_res(input, ABS_MT_POSITION_X, res_x); input 174 drivers/input/rmi4/rmi_2d_sensor.c input_abs_set_res(input, ABS_MT_POSITION_Y, res_y); input 180 drivers/input/rmi4/rmi_2d_sensor.c input_set_abs_params(input, ABS_MT_PRESSURE, 0, 0xff, 0, 0); input 181 drivers/input/rmi4/rmi_2d_sensor.c input_set_abs_params(input, ABS_MT_TOUCH_MAJOR, 0, 0x0f, 0, 0); input 182 drivers/input/rmi4/rmi_2d_sensor.c input_set_abs_params(input, ABS_MT_TOUCH_MINOR, 0, 0x0f, 0, 0); input 183 drivers/input/rmi4/rmi_2d_sensor.c input_set_abs_params(input, ABS_MT_ORIENTATION, 0, 1, 0, 0); input 184 drivers/input/rmi4/rmi_2d_sensor.c input_set_abs_params(input, ABS_MT_TOOL_TYPE, input 195 drivers/input/rmi4/rmi_2d_sensor.c input_mt_init_slots(input, sensor->nbr_fingers, input_flags); input 199 drivers/input/rmi4/rmi_2d_sensor.c set_bit(EV_REL, input->evbit); input 200 drivers/input/rmi4/rmi_2d_sensor.c set_bit(REL_X, input->relbit); input 201 drivers/input/rmi4/rmi_2d_sensor.c set_bit(REL_Y, input->relbit); input 205 drivers/input/rmi4/rmi_2d_sensor.c set_bit(INPUT_PROP_TOPBUTTONPAD, input->propbit); input 214 drivers/input/rmi4/rmi_2d_sensor.c if (!drv_data->input) input 217 drivers/input/rmi4/rmi_2d_sensor.c sensor->input = drv_data->input; input 60 drivers/input/rmi4/rmi_2d_sensor.h struct input_dev *input; input 160 drivers/input/rmi4/rmi_driver.c if (data->input) input 161 drivers/input/rmi4/rmi_driver.c input_sync(data->input); input 343 drivers/input/rmi4/rmi_driver.c struct input_dev *input) input 345 drivers/input/rmi4/rmi_driver.c input->name = SYNAPTICS_INPUT_DEVICE_NAME; input 346 drivers/input/rmi4/rmi_driver.c input->id.vendor = SYNAPTICS_VENDOR_ID; input 347 drivers/input/rmi4/rmi_driver.c input->id.bustype = BUS_RMI; input 352 drivers/input/rmi4/rmi_driver.c struct input_dev *input) input 363 drivers/input/rmi4/rmi_driver.c input->name = name; input 1180 drivers/input/rmi4/rmi_driver.c if (rmi_dev->xport->input) { input 1188 drivers/input/rmi4/rmi_driver.c data->input = rmi_dev->xport->input; input 1190 drivers/input/rmi4/rmi_driver.c data->input = devm_input_allocate_device(dev); input 1191 drivers/input/rmi4/rmi_driver.c if (!data->input) { input 1197 drivers/input/rmi4/rmi_driver.c rmi_driver_set_input_params(rmi_dev, data->input); input 1198 drivers/input/rmi4/rmi_driver.c data->input->phys = devm_kasprintf(dev, GFP_KERNEL, input 1210 drivers/input/rmi4/rmi_driver.c if (data->input) { input 1211 drivers/input/rmi4/rmi_driver.c rmi_driver_set_input_name(rmi_dev, data->input); input 1212 drivers/input/rmi4/rmi_driver.c if (!rmi_dev->xport->input) { input 1213 drivers/input/rmi4/rmi_driver.c retval = input_register_device(data->input); input 602 drivers/input/rmi4/rmi_f11.c input_mt_assign_slots(sensor->input, input 617 drivers/input/rmi4/rmi_f11.c input_mt_sync_frame(sensor->input); input 188 drivers/input/rmi4/rmi_f12.c input_mt_assign_slots(sensor->input, input 231 drivers/input/rmi4/rmi_f12.c input_mt_sync_frame(sensor->input); input 78 drivers/input/rmi4/rmi_f30.c struct input_dev *input; input 118 drivers/input/rmi4/rmi_f30.c input_report_key(f30->input, key_code, key_down); input 228 drivers/input/rmi4/rmi_f30.c struct input_dev *input = f30->input; input 253 drivers/input/rmi4/rmi_f30.c input_set_capability(input, EV_KEY, button++); input 258 drivers/input/rmi4/rmi_f30.c input->keycode = f30->gpioled_key_map; input 259 drivers/input/rmi4/rmi_f30.c input->keycodesize = sizeof(f30->gpioled_key_map[0]); input 260 drivers/input/rmi4/rmi_f30.c input->keycodemax = f30->gpioled_count; input 268 drivers/input/rmi4/rmi_f30.c __set_bit(INPUT_PROP_BUTTONPAD, input->propbit); input 378 drivers/input/rmi4/rmi_f30.c if (!drv_data->input) { input 387 drivers/input/rmi4/rmi_f30.c f30->input = drv_data->input; input 119 drivers/input/rmi4/rmi_f54.c int input; input 219 drivers/input/rmi4/rmi_f54.c switch (rmi_f54_get_reptype(f54, f54->input)) { input 301 drivers/input/rmi4/rmi_f54.c reptype = rmi_f54_get_reptype(f54, f54->input); input 416 drivers/input/rmi4/rmi_f54.c f54->input = i; input 438 drivers/input/rmi4/rmi_f54.c *i = f54->input; input 32 drivers/input/tablet/acecad.c struct input_dev *input; input 43 drivers/input/tablet/acecad.c struct input_dev *dev = acecad->input; input 155 drivers/input/tablet/acecad.c acecad->input = input_dev; input 214 drivers/input/tablet/acecad.c err = input_register_device(acecad->input); input 236 drivers/input/tablet/acecad.c input_unregister_device(acecad->input); input 157 drivers/input/touchscreen/ad7877.c struct input_dev *input; input 319 drivers/input/touchscreen/ad7877.c struct input_dev *input_dev = ts->input; input 367 drivers/input/touchscreen/ad7877.c struct input_dev *input_dev = ts->input; input 712 drivers/input/touchscreen/ad7877.c ts->input = input_dev; input 109 drivers/input/touchscreen/ad7879.c struct input_dev *input; input 167 drivers/input/touchscreen/ad7879.c struct input_dev *input_dev = ts->input; input 231 drivers/input/touchscreen/ad7879.c struct input_dev *input_dev = ts->input; input 283 drivers/input/touchscreen/ad7879.c static int ad7879_open(struct input_dev *input) input 285 drivers/input/touchscreen/ad7879.c struct ad7879 *ts = input_get_drvdata(input); input 294 drivers/input/touchscreen/ad7879.c static void ad7879_close(struct input_dev *input) input 296 drivers/input/touchscreen/ad7879.c struct ad7879 *ts = input_get_drvdata(input); input 307 drivers/input/touchscreen/ad7879.c mutex_lock(&ts->input->mutex); input 309 drivers/input/touchscreen/ad7879.c if (!ts->suspended && !ts->disabled && ts->input->users) input 314 drivers/input/touchscreen/ad7879.c mutex_unlock(&ts->input->mutex); input 323 drivers/input/touchscreen/ad7879.c mutex_lock(&ts->input->mutex); input 325 drivers/input/touchscreen/ad7879.c if (ts->suspended && !ts->disabled && ts->input->users) input 330 drivers/input/touchscreen/ad7879.c mutex_unlock(&ts->input->mutex); input 340 drivers/input/touchscreen/ad7879.c mutex_lock(&ts->input->mutex); input 342 drivers/input/touchscreen/ad7879.c if (!ts->suspended && ts->input->users != 0) { input 355 drivers/input/touchscreen/ad7879.c mutex_unlock(&ts->input->mutex); input 545 drivers/input/touchscreen/ad7879.c ts->input = input_dev; input 94 drivers/input/touchscreen/ads7846.c struct input_dev *input; input 827 drivers/input/touchscreen/ads7846.c struct input_dev *input = ts->input; input 830 drivers/input/touchscreen/ads7846.c input_report_key(input, BTN_TOUCH, 1); input 835 drivers/input/touchscreen/ads7846.c touchscreen_report_pos(input, &ts->core_prop, x, y, false); input 836 drivers/input/touchscreen/ads7846.c input_report_abs(input, ABS_PRESSURE, ts->pressure_max - Rt); input 838 drivers/input/touchscreen/ads7846.c input_sync(input); input 871 drivers/input/touchscreen/ads7846.c struct input_dev *input = ts->input; input 873 drivers/input/touchscreen/ads7846.c input_report_key(input, BTN_TOUCH, 0); input 874 drivers/input/touchscreen/ads7846.c input_report_abs(input, ABS_PRESSURE, 0); input 875 drivers/input/touchscreen/ads7846.c input_sync(input); input 1303 drivers/input/touchscreen/ads7846.c ts->input = input_dev; input 1377 drivers/input/touchscreen/ads7846.c touchscreen_parse_properties(ts->input, false, &ts->core_prop); input 1489 drivers/input/touchscreen/ads7846.c input_unregister_device(ts->input); input 27 drivers/input/touchscreen/ar1021_i2c.c struct input_dev *input; input 34 drivers/input/touchscreen/ar1021_i2c.c struct input_dev *input = ar1021->input; input 52 drivers/input/touchscreen/ar1021_i2c.c input_report_abs(input, ABS_X, x); input 53 drivers/input/touchscreen/ar1021_i2c.c input_report_abs(input, ABS_Y, y); input 54 drivers/input/touchscreen/ar1021_i2c.c input_report_key(input, BTN_TOUCH, button); input 55 drivers/input/touchscreen/ar1021_i2c.c input_sync(input); input 94 drivers/input/touchscreen/ar1021_i2c.c struct input_dev *input; input 106 drivers/input/touchscreen/ar1021_i2c.c input = devm_input_allocate_device(&client->dev); input 107 drivers/input/touchscreen/ar1021_i2c.c if (!input) input 111 drivers/input/touchscreen/ar1021_i2c.c ar1021->input = input; input 113 drivers/input/touchscreen/ar1021_i2c.c input->name = "ar1021 I2C Touchscreen"; input 114 drivers/input/touchscreen/ar1021_i2c.c input->id.bustype = BUS_I2C; input 115 drivers/input/touchscreen/ar1021_i2c.c input->dev.parent = &client->dev; input 116 drivers/input/touchscreen/ar1021_i2c.c input->open = ar1021_i2c_open; input 117 drivers/input/touchscreen/ar1021_i2c.c input->close = ar1021_i2c_close; input 119 drivers/input/touchscreen/ar1021_i2c.c __set_bit(INPUT_PROP_DIRECT, input->propbit); input 120 drivers/input/touchscreen/ar1021_i2c.c input_set_capability(input, EV_KEY, BTN_TOUCH); input 121 drivers/input/touchscreen/ar1021_i2c.c input_set_abs_params(input, ABS_X, 0, AR1021_MAX_X, 0, 0); input 122 drivers/input/touchscreen/ar1021_i2c.c input_set_abs_params(input, ABS_Y, 0, AR1021_MAX_Y, 0, 0); input 124 drivers/input/touchscreen/ar1021_i2c.c input_set_drvdata(input, ar1021); input 139 drivers/input/touchscreen/ar1021_i2c.c error = input_register_device(ar1021->input); input 250 drivers/input/touchscreen/atmel_mxt_ts.c int input; input 758 drivers/input/touchscreen/atmel_mxt_ts.c struct input_dev *input = data->input_dev; input 766 drivers/input/touchscreen/atmel_mxt_ts.c input_report_key(input, data->t19_keymap[i], input 2362 drivers/input/touchscreen/atmel_mxt_ts.c switch (data->dbg.input) { input 2455 drivers/input/touchscreen/atmel_mxt_ts.c data->dbg.input = i; input 2469 drivers/input/touchscreen/atmel_mxt_ts.c *i = data->dbg.input; input 105 drivers/input/touchscreen/auo-pixcir-ts.c struct input_dev *input; input 186 drivers/input/touchscreen/auo-pixcir-ts.c input_mt_sync(ts->input); input 187 drivers/input/touchscreen/auo-pixcir-ts.c input_report_key(ts->input, BTN_TOUCH, 0); input 188 drivers/input/touchscreen/auo-pixcir-ts.c input_sync(ts->input); input 206 drivers/input/touchscreen/auo-pixcir-ts.c input_report_abs(ts->input, ABS_MT_POSITION_X, input 208 drivers/input/touchscreen/auo-pixcir-ts.c input_report_abs(ts->input, ABS_MT_POSITION_Y, input 210 drivers/input/touchscreen/auo-pixcir-ts.c input_report_abs(ts->input, ABS_MT_TOUCH_MAJOR, input 212 drivers/input/touchscreen/auo-pixcir-ts.c input_report_abs(ts->input, ABS_MT_TOUCH_MINOR, input 214 drivers/input/touchscreen/auo-pixcir-ts.c input_report_abs(ts->input, ABS_MT_ORIENTATION, input 216 drivers/input/touchscreen/auo-pixcir-ts.c input_mt_sync(ts->input); input 229 drivers/input/touchscreen/auo-pixcir-ts.c input_report_key(ts->input, BTN_TOUCH, fingers > 0); input 232 drivers/input/touchscreen/auo-pixcir-ts.c input_report_abs(ts->input, ABS_X, point[abs].coord_x); input 233 drivers/input/touchscreen/auo-pixcir-ts.c input_report_abs(ts->input, ABS_Y, point[abs].coord_y); input 236 drivers/input/touchscreen/auo-pixcir-ts.c input_sync(ts->input); input 407 drivers/input/touchscreen/auo-pixcir-ts.c struct input_dev *input = ts->input; input 410 drivers/input/touchscreen/auo-pixcir-ts.c mutex_lock(&input->mutex); input 417 drivers/input/touchscreen/auo-pixcir-ts.c if (!input->users) { input 425 drivers/input/touchscreen/auo-pixcir-ts.c } else if (input->users) { input 430 drivers/input/touchscreen/auo-pixcir-ts.c mutex_unlock(&input->mutex); input 439 drivers/input/touchscreen/auo-pixcir-ts.c struct input_dev *input = ts->input; input 442 drivers/input/touchscreen/auo-pixcir-ts.c mutex_lock(&input->mutex); input 448 drivers/input/touchscreen/auo-pixcir-ts.c if (!input->users) { input 455 drivers/input/touchscreen/auo-pixcir-ts.c } else if (input->users) { input 460 drivers/input/touchscreen/auo-pixcir-ts.c mutex_unlock(&input->mutex); input 551 drivers/input/touchscreen/auo-pixcir-ts.c ts->input = input_dev; input 586 drivers/input/touchscreen/auo-pixcir-ts.c input_set_drvdata(ts->input, ts); input 188 drivers/input/touchscreen/bu21013_ts.c struct input_dev *input = ts->in_dev; input 222 drivers/input/touchscreen/bu21013_ts.c input_mt_assign_slots(input, slots, pos, finger_down_count, DELTA_MIN); input 224 drivers/input/touchscreen/bu21013_ts.c input_mt_slot(input, slots[i]); input 225 drivers/input/touchscreen/bu21013_ts.c input_mt_report_slot_state(input, MT_TOOL_FINGER, true); input 226 drivers/input/touchscreen/bu21013_ts.c input_report_abs(input, ABS_MT_POSITION_X, pos[i].x); input 227 drivers/input/touchscreen/bu21013_ts.c input_report_abs(input, ABS_MT_POSITION_Y, pos[i].y); input 230 drivers/input/touchscreen/bu21013_ts.c input_mt_sync_frame(input); input 231 drivers/input/touchscreen/bu21013_ts.c input_sync(input); input 50 drivers/input/touchscreen/chipone_icn8318.c struct input_dev *input; input 115 drivers/input/touchscreen/chipone_icn8318.c input_mt_slot(data->input, touch->slot); input 116 drivers/input/touchscreen/chipone_icn8318.c input_mt_report_slot_state(data->input, MT_TOOL_FINGER, act); input 120 drivers/input/touchscreen/chipone_icn8318.c touchscreen_report_pos(data->input, &data->prop, input 125 drivers/input/touchscreen/chipone_icn8318.c input_mt_sync_frame(data->input); input 126 drivers/input/touchscreen/chipone_icn8318.c input_sync(data->input); input 156 drivers/input/touchscreen/chipone_icn8318.c mutex_lock(&data->input->mutex); input 157 drivers/input/touchscreen/chipone_icn8318.c if (data->input->users) input 158 drivers/input/touchscreen/chipone_icn8318.c icn8318_stop(data->input); input 159 drivers/input/touchscreen/chipone_icn8318.c mutex_unlock(&data->input->mutex); input 168 drivers/input/touchscreen/chipone_icn8318.c mutex_lock(&data->input->mutex); input 169 drivers/input/touchscreen/chipone_icn8318.c if (data->input->users) input 170 drivers/input/touchscreen/chipone_icn8318.c icn8318_start(data->input); input 171 drivers/input/touchscreen/chipone_icn8318.c mutex_unlock(&data->input->mutex); input 184 drivers/input/touchscreen/chipone_icn8318.c struct input_dev *input; input 204 drivers/input/touchscreen/chipone_icn8318.c input = devm_input_allocate_device(dev); input 205 drivers/input/touchscreen/chipone_icn8318.c if (!input) input 208 drivers/input/touchscreen/chipone_icn8318.c input->name = client->name; input 209 drivers/input/touchscreen/chipone_icn8318.c input->id.bustype = BUS_I2C; input 210 drivers/input/touchscreen/chipone_icn8318.c input->open = icn8318_start; input 211 drivers/input/touchscreen/chipone_icn8318.c input->close = icn8318_stop; input 212 drivers/input/touchscreen/chipone_icn8318.c input->dev.parent = dev; input 214 drivers/input/touchscreen/chipone_icn8318.c input_set_capability(input, EV_ABS, ABS_MT_POSITION_X); input 215 drivers/input/touchscreen/chipone_icn8318.c input_set_capability(input, EV_ABS, ABS_MT_POSITION_Y); input 217 drivers/input/touchscreen/chipone_icn8318.c touchscreen_parse_properties(input, true, &data->prop); input 218 drivers/input/touchscreen/chipone_icn8318.c if (!input_abs_get_max(input, ABS_MT_POSITION_X) || input 219 drivers/input/touchscreen/chipone_icn8318.c !input_abs_get_max(input, ABS_MT_POSITION_Y)) { input 224 drivers/input/touchscreen/chipone_icn8318.c error = input_mt_init_slots(input, ICN8318_MAX_TOUCHES, input 230 drivers/input/touchscreen/chipone_icn8318.c data->input = input; input 231 drivers/input/touchscreen/chipone_icn8318.c input_set_drvdata(input, data); input 241 drivers/input/touchscreen/chipone_icn8318.c icn8318_stop(data->input); input 243 drivers/input/touchscreen/chipone_icn8318.c error = input_register_device(input); input 70 drivers/input/touchscreen/chipone_icn8505.c struct input_dev *input; input 346 drivers/input/touchscreen/chipone_icn8505.c input_mt_slot(icn8505->input, touch->slot); input 347 drivers/input/touchscreen/chipone_icn8505.c input_mt_report_slot_state(icn8505->input, MT_TOOL_FINGER, act); input 351 drivers/input/touchscreen/chipone_icn8505.c touchscreen_report_pos(icn8505->input, &icn8505->prop, input 357 drivers/input/touchscreen/chipone_icn8505.c input_mt_sync_frame(icn8505->input); input 358 drivers/input/touchscreen/chipone_icn8505.c input_report_key(icn8505->input, KEY_LEFTMETA, input 360 drivers/input/touchscreen/chipone_icn8505.c input_sync(icn8505->input); input 400 drivers/input/touchscreen/chipone_icn8505.c struct input_dev *input; input 413 drivers/input/touchscreen/chipone_icn8505.c input = devm_input_allocate_device(dev); input 414 drivers/input/touchscreen/chipone_icn8505.c if (!input) input 417 drivers/input/touchscreen/chipone_icn8505.c input->name = client->name; input 418 drivers/input/touchscreen/chipone_icn8505.c input->id.bustype = BUS_I2C; input 420 drivers/input/touchscreen/chipone_icn8505.c input_set_capability(input, EV_ABS, ABS_MT_POSITION_X); input 421 drivers/input/touchscreen/chipone_icn8505.c input_set_capability(input, EV_ABS, ABS_MT_POSITION_Y); input 422 drivers/input/touchscreen/chipone_icn8505.c input_set_capability(input, EV_KEY, KEY_LEFTMETA); input 425 drivers/input/touchscreen/chipone_icn8505.c icn8505->input = input; input 426 drivers/input/touchscreen/chipone_icn8505.c input_set_drvdata(input, icn8505); input 443 drivers/input/touchscreen/chipone_icn8505.c input_set_abs_params(input, ABS_MT_POSITION_X, 0, input 445 drivers/input/touchscreen/chipone_icn8505.c input_set_abs_params(input, ABS_MT_POSITION_Y, 0, input 448 drivers/input/touchscreen/chipone_icn8505.c touchscreen_parse_properties(input, true, &icn8505->prop); input 449 drivers/input/touchscreen/chipone_icn8505.c if (!input_abs_get_max(input, ABS_MT_POSITION_X) || input 450 drivers/input/touchscreen/chipone_icn8505.c !input_abs_get_max(input, ABS_MT_POSITION_Y)) { input 455 drivers/input/touchscreen/chipone_icn8505.c error = input_mt_init_slots(input, ICN8505_MAX_TOUCHES, input 467 drivers/input/touchscreen/chipone_icn8505.c error = input_register_device(input); input 264 drivers/input/touchscreen/colibri-vf50-ts.c struct input_dev *input; input 303 drivers/input/touchscreen/colibri-vf50-ts.c input = devm_input_allocate_device(dev); input 304 drivers/input/touchscreen/colibri-vf50-ts.c if (!input) { input 309 drivers/input/touchscreen/colibri-vf50-ts.c input->name = DRIVER_NAME; input 310 drivers/input/touchscreen/colibri-vf50-ts.c input->id.bustype = BUS_HOST; input 311 drivers/input/touchscreen/colibri-vf50-ts.c input->dev.parent = dev; input 312 drivers/input/touchscreen/colibri-vf50-ts.c input->open = vf50_ts_open; input 313 drivers/input/touchscreen/colibri-vf50-ts.c input->close = vf50_ts_close; input 315 drivers/input/touchscreen/colibri-vf50-ts.c input_set_capability(input, EV_KEY, BTN_TOUCH); input 316 drivers/input/touchscreen/colibri-vf50-ts.c input_set_abs_params(input, ABS_X, 0, VF_ADC_MAX, 0, 0); input 317 drivers/input/touchscreen/colibri-vf50-ts.c input_set_abs_params(input, ABS_Y, 0, VF_ADC_MAX, 0, 0); input 318 drivers/input/touchscreen/colibri-vf50-ts.c input_set_abs_params(input, ABS_PRESSURE, 0, VF_ADC_MAX, 0, 0); input 320 drivers/input/touchscreen/colibri-vf50-ts.c touchdev->ts_input = input; input 321 drivers/input/touchscreen/colibri-vf50-ts.c input_set_drvdata(input, touchdev); input 323 drivers/input/touchscreen/colibri-vf50-ts.c error = input_register_device(input); input 45 drivers/input/touchscreen/cy8ctmg110_ts.c struct input_dev *input; input 113 drivers/input/touchscreen/cy8ctmg110_ts.c struct input_dev *input = tsc->input; input 128 drivers/input/touchscreen/cy8ctmg110_ts.c input_report_key(input, BTN_TOUCH, 0); input 130 drivers/input/touchscreen/cy8ctmg110_ts.c input_report_key(input, BTN_TOUCH, 1); input 131 drivers/input/touchscreen/cy8ctmg110_ts.c input_report_abs(input, ABS_X, x); input 132 drivers/input/touchscreen/cy8ctmg110_ts.c input_report_abs(input, ABS_Y, y); input 135 drivers/input/touchscreen/cy8ctmg110_ts.c input_sync(input); input 192 drivers/input/touchscreen/cy8ctmg110_ts.c ts->input = input_dev; input 320 drivers/input/touchscreen/cy8ctmg110_ts.c input_unregister_device(ts->input); input 746 drivers/input/touchscreen/cyttsp4_core.c input_mt_slot(md->input, t); input 747 drivers/input/touchscreen/cyttsp4_core.c input_mt_report_slot_state(md->input, input 760 drivers/input/touchscreen/cyttsp4_core.c input_sync(md->input); input 772 drivers/input/touchscreen/cyttsp4_core.c dev_vdbg(&md->input->dev, input 783 drivers/input/touchscreen/cyttsp4_core.c dev_vdbg(&md->input->dev, input 793 drivers/input/touchscreen/cyttsp4_core.c struct device *dev = &md->input->dev; input 840 drivers/input/touchscreen/cyttsp4_core.c static void cyttsp4_final_sync(struct input_dev *input, int max_slots, int *ids) input 847 drivers/input/touchscreen/cyttsp4_core.c input_mt_slot(input, t); input 848 drivers/input/touchscreen/cyttsp4_core.c input_mt_report_slot_state(input, MT_TOOL_FINGER, false); input 851 drivers/input/touchscreen/cyttsp4_core.c input_sync(input); input 856 drivers/input/touchscreen/cyttsp4_core.c struct device *dev = &md->input->dev; input 889 drivers/input/touchscreen/cyttsp4_core.c input_mt_slot(md->input, t); input 890 drivers/input/touchscreen/cyttsp4_core.c input_mt_report_slot_state(md->input, MT_TOOL_FINGER, input 900 drivers/input/touchscreen/cyttsp4_core.c input_report_abs(md->input, sig, input 919 drivers/input/touchscreen/cyttsp4_core.c input_report_abs(md->input, sig, input 946 drivers/input/touchscreen/cyttsp4_core.c cyttsp4_final_sync(md->input, si->si_ofs.tch_abs[CY_TCH_T].max, ids); input 957 drivers/input/touchscreen/cyttsp4_core.c struct device *dev = &md->input->dev; input 1875 drivers/input/touchscreen/cyttsp4_core.c static int cyttsp4_mt_open(struct input_dev *input) input 1877 drivers/input/touchscreen/cyttsp4_core.c pm_runtime_get(input->dev.parent); input 1881 drivers/input/touchscreen/cyttsp4_core.c static void cyttsp4_mt_close(struct input_dev *input) input 1883 drivers/input/touchscreen/cyttsp4_core.c struct cyttsp4_mt_data *md = input_get_drvdata(input); input 1886 drivers/input/touchscreen/cyttsp4_core.c pm_runtime_put(input->dev.parent); input 1902 drivers/input/touchscreen/cyttsp4_core.c __set_bit(EV_ABS, md->input->evbit); input 1903 drivers/input/touchscreen/cyttsp4_core.c __set_bit(EV_REL, md->input->evbit); input 1904 drivers/input/touchscreen/cyttsp4_core.c __set_bit(EV_KEY, md->input->evbit); input 1924 drivers/input/touchscreen/cyttsp4_core.c __set_bit(signal, md->input->absbit); input 1939 drivers/input/touchscreen/cyttsp4_core.c input_set_abs_params(md->input, signal, min, max, input 1953 drivers/input/touchscreen/cyttsp4_core.c input_mt_init_slots(md->input, md->si->si_ofs.tch_abs[CY_TCH_T].max, input 1955 drivers/input/touchscreen/cyttsp4_core.c rc = input_register_device(md->input); input 1974 drivers/input/touchscreen/cyttsp4_core.c md->input = input_allocate_device(); input 1975 drivers/input/touchscreen/cyttsp4_core.c if (md->input == NULL) { input 1982 drivers/input/touchscreen/cyttsp4_core.c md->input->name = pdata->inp_dev_name; input 1984 drivers/input/touchscreen/cyttsp4_core.c md->input->phys = md->phys; input 1985 drivers/input/touchscreen/cyttsp4_core.c md->input->id.bustype = cd->bus_ops->bustype; input 1986 drivers/input/touchscreen/cyttsp4_core.c md->input->dev.parent = dev; input 1987 drivers/input/touchscreen/cyttsp4_core.c md->input->open = cyttsp4_mt_open; input 1988 drivers/input/touchscreen/cyttsp4_core.c md->input->close = cyttsp4_mt_close; input 1989 drivers/input/touchscreen/cyttsp4_core.c input_set_drvdata(md->input, md); input 2001 drivers/input/touchscreen/cyttsp4_core.c input_free_device(md->input); input 2135 drivers/input/touchscreen/cyttsp4_core.c input_unregister_device(md->input); input 2136 drivers/input/touchscreen/cyttsp4_core.c input_set_drvdata(md->input, NULL); input 325 drivers/input/touchscreen/cyttsp4_core.h struct input_dev *input; input 301 drivers/input/touchscreen/cyttsp_core.c struct input_dev *input = ts->input; input 329 drivers/input/touchscreen/cyttsp_core.c input_mt_slot(input, ids[i]); input 330 drivers/input/touchscreen/cyttsp_core.c input_mt_report_slot_state(input, MT_TOOL_FINGER, true); input 331 drivers/input/touchscreen/cyttsp_core.c input_report_abs(input, ABS_MT_POSITION_X, be16_to_cpu(tch->x)); input 332 drivers/input/touchscreen/cyttsp_core.c input_report_abs(input, ABS_MT_POSITION_Y, be16_to_cpu(tch->y)); input 333 drivers/input/touchscreen/cyttsp_core.c input_report_abs(input, ABS_MT_TOUCH_MAJOR, tch->z); input 342 drivers/input/touchscreen/cyttsp_core.c input_mt_slot(input, i); input 343 drivers/input/touchscreen/cyttsp_core.c input_mt_report_slot_state(input, MT_TOOL_FINGER, false); input 346 drivers/input/touchscreen/cyttsp_core.c input_sync(input); input 480 drivers/input/touchscreen/cyttsp_core.c mutex_lock(&ts->input->mutex); input 482 drivers/input/touchscreen/cyttsp_core.c if (ts->input->users) { input 488 drivers/input/touchscreen/cyttsp_core.c mutex_unlock(&ts->input->mutex); input 497 drivers/input/touchscreen/cyttsp_core.c mutex_lock(&ts->input->mutex); input 499 drivers/input/touchscreen/cyttsp_core.c if (ts->input->users) input 504 drivers/input/touchscreen/cyttsp_core.c mutex_unlock(&ts->input->mutex); input 616 drivers/input/touchscreen/cyttsp_core.c ts->input = input_dev; input 116 drivers/input/touchscreen/cyttsp_core.h struct input_dev *input; input 53 drivers/input/touchscreen/da9052_tsi.c struct input_dev *input = tsi->dev; input 86 drivers/input/touchscreen/da9052_tsi.c input_report_key(input, BTN_TOUCH, 1); input 87 drivers/input/touchscreen/da9052_tsi.c input_report_abs(input, ABS_X, x); input 88 drivers/input/touchscreen/da9052_tsi.c input_report_abs(input, ABS_Y, y); input 89 drivers/input/touchscreen/da9052_tsi.c input_report_abs(input, ABS_PRESSURE, z); input 90 drivers/input/touchscreen/da9052_tsi.c input_sync(input); input 112 drivers/input/touchscreen/da9052_tsi.c struct input_dev *input = tsi->dev; input 118 drivers/input/touchscreen/da9052_tsi.c input_report_key(input, BTN_TOUCH, 0); input 119 drivers/input/touchscreen/da9052_tsi.c input_report_abs(input, ABS_PRESSURE, 0); input 120 drivers/input/touchscreen/da9052_tsi.c input_sync(input); input 87 drivers/input/touchscreen/edt-ft5x06.c struct input_dev *input; input 250 drivers/input/touchscreen/edt-ft5x06.c input_mt_slot(tsdata->input, id); input 251 drivers/input/touchscreen/edt-ft5x06.c if (input_mt_report_slot_state(tsdata->input, MT_TOOL_FINGER, input 253 drivers/input/touchscreen/edt-ft5x06.c touchscreen_report_pos(tsdata->input, &tsdata->prop, input 257 drivers/input/touchscreen/edt-ft5x06.c input_mt_report_pointer_emulation(tsdata->input, true); input 258 drivers/input/touchscreen/edt-ft5x06.c input_sync(tsdata->input); input 1045 drivers/input/touchscreen/edt-ft5x06.c struct input_dev *input; input 1097 drivers/input/touchscreen/edt-ft5x06.c input = devm_input_allocate_device(&client->dev); input 1098 drivers/input/touchscreen/edt-ft5x06.c if (!input) { input 1105 drivers/input/touchscreen/edt-ft5x06.c tsdata->input = input; input 1128 drivers/input/touchscreen/edt-ft5x06.c input->name = tsdata->name; input 1129 drivers/input/touchscreen/edt-ft5x06.c input->id.bustype = BUS_I2C; input 1130 drivers/input/touchscreen/edt-ft5x06.c input->dev.parent = &client->dev; input 1135 drivers/input/touchscreen/edt-ft5x06.c input_set_abs_params(input, ABS_MT_POSITION_X, input 1137 drivers/input/touchscreen/edt-ft5x06.c input_set_abs_params(input, ABS_MT_POSITION_Y, input 1141 drivers/input/touchscreen/edt-ft5x06.c input_set_abs_params(input, ABS_MT_POSITION_X, input 1143 drivers/input/touchscreen/edt-ft5x06.c input_set_abs_params(input, ABS_MT_POSITION_Y, input 1147 drivers/input/touchscreen/edt-ft5x06.c touchscreen_parse_properties(input, true, &tsdata->prop); input 1149 drivers/input/touchscreen/edt-ft5x06.c error = input_mt_init_slots(input, tsdata->max_support_points, input 1175 drivers/input/touchscreen/edt-ft5x06.c error = input_register_device(input); input 28 drivers/input/touchscreen/eeti_ts.c struct input_dev *input; input 59 drivers/input/touchscreen/eeti_ts.c input_report_abs(eeti->input, ABS_PRESSURE, buf[5]); input 61 drivers/input/touchscreen/eeti_ts.c touchscreen_report_pos(eeti->input, &eeti->props, x, y, false); input 62 drivers/input/touchscreen/eeti_ts.c input_report_key(eeti->input, BTN_TOUCH, buf[0] & REPORT_BIT_PRESSED); input 63 drivers/input/touchscreen/eeti_ts.c input_sync(eeti->input); input 166 drivers/input/touchscreen/eeti_ts.c struct input_dev *input; input 184 drivers/input/touchscreen/eeti_ts.c input = devm_input_allocate_device(dev); input 185 drivers/input/touchscreen/eeti_ts.c if (!input) { input 190 drivers/input/touchscreen/eeti_ts.c input_set_capability(input, EV_KEY, BTN_TOUCH); input 192 drivers/input/touchscreen/eeti_ts.c input_set_abs_params(input, ABS_X, 0, EETI_MAXVAL, 0, 0); input 193 drivers/input/touchscreen/eeti_ts.c input_set_abs_params(input, ABS_Y, 0, EETI_MAXVAL, 0, 0); input 194 drivers/input/touchscreen/eeti_ts.c input_set_abs_params(input, ABS_PRESSURE, 0, 0xff, 0, 0); input 196 drivers/input/touchscreen/eeti_ts.c touchscreen_parse_properties(input, false, &eeti->props); input 198 drivers/input/touchscreen/eeti_ts.c input->name = client->name; input 199 drivers/input/touchscreen/eeti_ts.c input->id.bustype = BUS_I2C; input 200 drivers/input/touchscreen/eeti_ts.c input->open = eeti_ts_open; input 201 drivers/input/touchscreen/eeti_ts.c input->close = eeti_ts_close; input 204 drivers/input/touchscreen/eeti_ts.c eeti->input = input; input 211 drivers/input/touchscreen/eeti_ts.c input_set_drvdata(input, eeti); input 229 drivers/input/touchscreen/eeti_ts.c error = input_register_device(input); input 240 drivers/input/touchscreen/eeti_ts.c struct input_dev *input_dev = eeti->input; input 259 drivers/input/touchscreen/eeti_ts.c struct input_dev *input_dev = eeti->input; input 41 drivers/input/touchscreen/egalax_ts_serial.c struct input_dev *input; input 50 drivers/input/touchscreen/egalax_ts_serial.c struct input_dev *dev = egalax->input; input 110 drivers/input/touchscreen/egalax_ts_serial.c egalax->input = input_dev; input 156 drivers/input/touchscreen/egalax_ts_serial.c input_unregister_device(egalax->input); input 45 drivers/input/touchscreen/ektf2127.c struct input_dev *input; input 84 drivers/input/touchscreen/ektf2127.c input_mt_assign_slots(ts->input, slots, touches, input 88 drivers/input/touchscreen/ektf2127.c input_mt_slot(ts->input, slots[i]); input 89 drivers/input/touchscreen/ektf2127.c input_mt_report_slot_state(ts->input, MT_TOOL_FINGER, true); input 90 drivers/input/touchscreen/ektf2127.c touchscreen_report_pos(ts->input, &ts->prop, input 94 drivers/input/touchscreen/ektf2127.c input_mt_sync_frame(ts->input); input 95 drivers/input/touchscreen/ektf2127.c input_sync(ts->input); input 156 drivers/input/touchscreen/ektf2127.c mutex_lock(&ts->input->mutex); input 157 drivers/input/touchscreen/ektf2127.c if (ts->input->users) input 158 drivers/input/touchscreen/ektf2127.c ektf2127_stop(ts->input); input 159 drivers/input/touchscreen/ektf2127.c mutex_unlock(&ts->input->mutex); input 168 drivers/input/touchscreen/ektf2127.c mutex_lock(&ts->input->mutex); input 169 drivers/input/touchscreen/ektf2127.c if (ts->input->users) input 170 drivers/input/touchscreen/ektf2127.c ektf2127_start(ts->input); input 171 drivers/input/touchscreen/ektf2127.c mutex_unlock(&ts->input->mutex); input 224 drivers/input/touchscreen/ektf2127.c struct input_dev *input; input 247 drivers/input/touchscreen/ektf2127.c input = devm_input_allocate_device(dev); input 248 drivers/input/touchscreen/ektf2127.c if (!input) input 251 drivers/input/touchscreen/ektf2127.c input->name = client->name; input 252 drivers/input/touchscreen/ektf2127.c input->id.bustype = BUS_I2C; input 253 drivers/input/touchscreen/ektf2127.c input->open = ektf2127_start; input 254 drivers/input/touchscreen/ektf2127.c input->close = ektf2127_stop; input 271 drivers/input/touchscreen/ektf2127.c input_set_abs_params(input, ABS_MT_POSITION_X, 0, max_x, 0, 0); input 272 drivers/input/touchscreen/ektf2127.c input_set_abs_params(input, ABS_MT_POSITION_Y, 0, max_y, 0, 0); input 273 drivers/input/touchscreen/ektf2127.c touchscreen_parse_properties(input, true, &ts->prop); input 275 drivers/input/touchscreen/ektf2127.c error = input_mt_init_slots(input, EKTF2127_MAX_TOUCHES, input 282 drivers/input/touchscreen/ektf2127.c ts->input = input; input 283 drivers/input/touchscreen/ektf2127.c input_set_drvdata(input, ts); input 294 drivers/input/touchscreen/ektf2127.c ektf2127_stop(ts->input); input 296 drivers/input/touchscreen/ektf2127.c error = input_register_device(input); input 119 drivers/input/touchscreen/elants_i2c.c struct input_dev *input; input 782 drivers/input/touchscreen/elants_i2c.c struct input_dev *input = ts->input; input 808 drivers/input/touchscreen/elants_i2c.c input_mt_slot(input, i); input 809 drivers/input/touchscreen/elants_i2c.c input_mt_report_slot_state(input, MT_TOOL_FINGER, true); input 810 drivers/input/touchscreen/elants_i2c.c input_event(input, EV_ABS, ABS_MT_POSITION_X, x); input 811 drivers/input/touchscreen/elants_i2c.c input_event(input, EV_ABS, ABS_MT_POSITION_Y, y); input 812 drivers/input/touchscreen/elants_i2c.c input_event(input, EV_ABS, ABS_MT_PRESSURE, p); input 813 drivers/input/touchscreen/elants_i2c.c input_event(input, EV_ABS, ABS_MT_TOUCH_MAJOR, w); input 821 drivers/input/touchscreen/elants_i2c.c input_mt_sync_frame(input); input 822 drivers/input/touchscreen/elants_i2c.c input_sync(input); input 1216 drivers/input/touchscreen/elants_i2c.c ts->input = devm_input_allocate_device(&client->dev); input 1217 drivers/input/touchscreen/elants_i2c.c if (!ts->input) { input 1222 drivers/input/touchscreen/elants_i2c.c ts->input->name = "Elan Touchscreen"; input 1223 drivers/input/touchscreen/elants_i2c.c ts->input->id.bustype = BUS_I2C; input 1225 drivers/input/touchscreen/elants_i2c.c __set_bit(BTN_TOUCH, ts->input->keybit); input 1226 drivers/input/touchscreen/elants_i2c.c __set_bit(EV_ABS, ts->input->evbit); input 1227 drivers/input/touchscreen/elants_i2c.c __set_bit(EV_KEY, ts->input->evbit); input 1230 drivers/input/touchscreen/elants_i2c.c input_set_abs_params(ts->input, ABS_X, 0, ts->x_max, 0, 0); input 1231 drivers/input/touchscreen/elants_i2c.c input_set_abs_params(ts->input, ABS_Y, 0, ts->y_max, 0, 0); input 1232 drivers/input/touchscreen/elants_i2c.c input_set_abs_params(ts->input, ABS_PRESSURE, 0, 255, 0, 0); input 1233 drivers/input/touchscreen/elants_i2c.c input_abs_set_res(ts->input, ABS_X, ts->x_res); input 1234 drivers/input/touchscreen/elants_i2c.c input_abs_set_res(ts->input, ABS_Y, ts->y_res); input 1237 drivers/input/touchscreen/elants_i2c.c error = input_mt_init_slots(ts->input, MAX_CONTACT_NUM, input 1245 drivers/input/touchscreen/elants_i2c.c input_set_abs_params(ts->input, ABS_MT_POSITION_X, 0, ts->x_max, 0, 0); input 1246 drivers/input/touchscreen/elants_i2c.c input_set_abs_params(ts->input, ABS_MT_POSITION_Y, 0, ts->y_max, 0, 0); input 1247 drivers/input/touchscreen/elants_i2c.c input_set_abs_params(ts->input, ABS_MT_TOUCH_MAJOR, 0, 255, 0, 0); input 1248 drivers/input/touchscreen/elants_i2c.c input_set_abs_params(ts->input, ABS_MT_PRESSURE, 0, 255, 0, 0); input 1249 drivers/input/touchscreen/elants_i2c.c input_abs_set_res(ts->input, ABS_MT_POSITION_X, ts->x_res); input 1250 drivers/input/touchscreen/elants_i2c.c input_abs_set_res(ts->input, ABS_MT_POSITION_Y, ts->y_res); input 1252 drivers/input/touchscreen/elants_i2c.c error = input_register_device(ts->input); input 31 drivers/input/touchscreen/exc3000.c struct input_dev *input; input 37 drivers/input/touchscreen/exc3000.c static void exc3000_report_slots(struct input_dev *input, input 43 drivers/input/touchscreen/exc3000.c input_mt_slot(input, buf[1]); input 44 drivers/input/touchscreen/exc3000.c input_mt_report_slot_state(input, MT_TOOL_FINGER, true); input 45 drivers/input/touchscreen/exc3000.c touchscreen_report_pos(input, prop, input 57 drivers/input/touchscreen/exc3000.c input_mt_sync_frame(data->input); input 58 drivers/input/touchscreen/exc3000.c input_sync(data->input); input 116 drivers/input/touchscreen/exc3000.c struct input_dev *input = data->input; input 136 drivers/input/touchscreen/exc3000.c exc3000_report_slots(input, &data->prop, buf + 4, slots); input 141 drivers/input/touchscreen/exc3000.c input_mt_sync_frame(input); input 142 drivers/input/touchscreen/exc3000.c input_sync(input); input 152 drivers/input/touchscreen/exc3000.c struct input_dev *input; input 162 drivers/input/touchscreen/exc3000.c input = devm_input_allocate_device(&client->dev); input 163 drivers/input/touchscreen/exc3000.c if (!input) input 166 drivers/input/touchscreen/exc3000.c data->input = input; input 168 drivers/input/touchscreen/exc3000.c input->name = "EETI EXC3000 Touch Screen"; input 169 drivers/input/touchscreen/exc3000.c input->id.bustype = BUS_I2C; input 171 drivers/input/touchscreen/exc3000.c input_set_abs_params(input, ABS_MT_POSITION_X, 0, 4095, 0, 0); input 172 drivers/input/touchscreen/exc3000.c input_set_abs_params(input, ABS_MT_POSITION_Y, 0, 4095, 0, 0); input 173 drivers/input/touchscreen/exc3000.c touchscreen_parse_properties(input, true, &data->prop); input 175 drivers/input/touchscreen/exc3000.c error = input_mt_init_slots(input, EXC3000_NUM_SLOTS, input 180 drivers/input/touchscreen/exc3000.c error = input_register_device(input); input 692 drivers/input/touchscreen/hideep.c static void hideep_report_slot(struct input_dev *input, input 695 drivers/input/touchscreen/hideep.c input_mt_slot(input, event->index & 0x0f); input 696 drivers/input/touchscreen/hideep.c input_mt_report_slot_state(input, input 700 drivers/input/touchscreen/hideep.c input_report_abs(input, ABS_MT_POSITION_X, input 702 drivers/input/touchscreen/hideep.c input_report_abs(input, ABS_MT_POSITION_Y, input 704 drivers/input/touchscreen/hideep.c input_report_abs(input, ABS_MT_PRESSURE, input 706 drivers/input/touchscreen/hideep.c input_report_abs(input, ABS_MT_TOUCH_MAJOR, event->w); input 38 drivers/input/touchscreen/ili210x.c struct input_dev *input; input 140 drivers/input/touchscreen/ili210x.c struct input_dev *input = priv->input; input 156 drivers/input/touchscreen/ili210x.c input_mt_slot(input, i); input 157 drivers/input/touchscreen/ili210x.c input_mt_report_slot_state(input, MT_TOOL_FINGER, touch); input 160 drivers/input/touchscreen/ili210x.c touchscreen_report_pos(input, &priv->prop, x, y, input 164 drivers/input/touchscreen/ili210x.c input_mt_report_pointer_emulation(input, false); input 165 drivers/input/touchscreen/ili210x.c input_sync(input); input 269 drivers/input/touchscreen/ili210x.c struct input_dev *input; input 302 drivers/input/touchscreen/ili210x.c input = devm_input_allocate_device(dev); input 303 drivers/input/touchscreen/ili210x.c if (!input) input 307 drivers/input/touchscreen/ili210x.c priv->input = input; input 329 drivers/input/touchscreen/ili210x.c input->name = "ILI210x Touchscreen"; input 330 drivers/input/touchscreen/ili210x.c input->id.bustype = BUS_I2C; input 331 drivers/input/touchscreen/ili210x.c input->dev.parent = dev; input 334 drivers/input/touchscreen/ili210x.c input_set_abs_params(input, ABS_MT_POSITION_X, 0, 0xffff, 0, 0); input 335 drivers/input/touchscreen/ili210x.c input_set_abs_params(input, ABS_MT_POSITION_Y, 0, 0xffff, 0, 0); input 336 drivers/input/touchscreen/ili210x.c touchscreen_parse_properties(input, true, &priv->prop); input 338 drivers/input/touchscreen/ili210x.c error = input_mt_init_slots(input, priv->max_touches, INPUT_MT_DIRECT); input 363 drivers/input/touchscreen/ili210x.c error = input_register_device(priv->input); input 84 drivers/input/touchscreen/imx6ul_tsc.c struct input_dev *input; input 290 drivers/input/touchscreen/imx6ul_tsc.c input_report_key(tsc->input, BTN_TOUCH, 1); input 291 drivers/input/touchscreen/imx6ul_tsc.c input_report_abs(tsc->input, ABS_X, x); input 292 drivers/input/touchscreen/imx6ul_tsc.c input_report_abs(tsc->input, ABS_Y, y); input 294 drivers/input/touchscreen/imx6ul_tsc.c input_report_key(tsc->input, BTN_TOUCH, 0); input 297 drivers/input/touchscreen/imx6ul_tsc.c input_sync(tsc->input); input 393 drivers/input/touchscreen/imx6ul_tsc.c tsc->input = input_dev; input 493 drivers/input/touchscreen/imx6ul_tsc.c err = input_register_device(tsc->input); input 508 drivers/input/touchscreen/imx6ul_tsc.c struct input_dev *input_dev = tsc->input; input 528 drivers/input/touchscreen/imx6ul_tsc.c struct input_dev *input_dev = tsc->input; input 23 drivers/input/touchscreen/ipaq-micro-ts.c struct input_dev *input; input 32 drivers/input/touchscreen/ipaq-micro-ts.c input_report_abs(ts->input, ABS_X, input 34 drivers/input/touchscreen/ipaq-micro-ts.c input_report_abs(ts->input, ABS_Y, input 36 drivers/input/touchscreen/ipaq-micro-ts.c input_report_key(ts->input, BTN_TOUCH, 1); input 37 drivers/input/touchscreen/ipaq-micro-ts.c input_sync(ts->input); input 39 drivers/input/touchscreen/ipaq-micro-ts.c input_report_abs(ts->input, ABS_X, 0); input 40 drivers/input/touchscreen/ipaq-micro-ts.c input_report_abs(ts->input, ABS_Y, 0); input 41 drivers/input/touchscreen/ipaq-micro-ts.c input_report_key(ts->input, BTN_TOUCH, 0); input 42 drivers/input/touchscreen/ipaq-micro-ts.c input_sync(ts->input); input 63 drivers/input/touchscreen/ipaq-micro-ts.c static int micro_ts_open(struct input_dev *input) input 65 drivers/input/touchscreen/ipaq-micro-ts.c struct touchscreen_data *ts = input_get_drvdata(input); input 72 drivers/input/touchscreen/ipaq-micro-ts.c static void micro_ts_close(struct input_dev *input) input 74 drivers/input/touchscreen/ipaq-micro-ts.c struct touchscreen_data *ts = input_get_drvdata(input); input 91 drivers/input/touchscreen/ipaq-micro-ts.c ts->input = devm_input_allocate_device(&pdev->dev); input 92 drivers/input/touchscreen/ipaq-micro-ts.c if (!ts->input) { input 97 drivers/input/touchscreen/ipaq-micro-ts.c ts->input->name = "ipaq micro ts"; input 98 drivers/input/touchscreen/ipaq-micro-ts.c ts->input->open = micro_ts_open; input 99 drivers/input/touchscreen/ipaq-micro-ts.c ts->input->close = micro_ts_close; input 101 drivers/input/touchscreen/ipaq-micro-ts.c input_set_drvdata(ts->input, ts); input 103 drivers/input/touchscreen/ipaq-micro-ts.c input_set_capability(ts->input, EV_KEY, BTN_TOUCH); input 104 drivers/input/touchscreen/ipaq-micro-ts.c input_set_capability(ts->input, EV_ABS, ABS_X); input 105 drivers/input/touchscreen/ipaq-micro-ts.c input_set_capability(ts->input, EV_ABS, ABS_Y); input 106 drivers/input/touchscreen/ipaq-micro-ts.c input_set_abs_params(ts->input, ABS_X, 0, 1023, 0, 0); input 107 drivers/input/touchscreen/ipaq-micro-ts.c input_set_abs_params(ts->input, ABS_Y, 0, 1023, 0, 0); input 109 drivers/input/touchscreen/ipaq-micro-ts.c error = input_register_device(ts->input); input 134 drivers/input/touchscreen/ipaq-micro-ts.c struct input_dev *input = ts->input; input 136 drivers/input/touchscreen/ipaq-micro-ts.c mutex_lock(&input->mutex); input 138 drivers/input/touchscreen/ipaq-micro-ts.c if (input->users) input 141 drivers/input/touchscreen/ipaq-micro-ts.c mutex_unlock(&input->mutex); input 100 drivers/input/touchscreen/iqs5xx.c struct input_dev *input; input 467 drivers/input/touchscreen/iqs5xx.c static int iqs5xx_open(struct input_dev *input) input 469 drivers/input/touchscreen/iqs5xx.c struct iqs5xx_private *iqs5xx = input_get_drvdata(input); input 474 drivers/input/touchscreen/iqs5xx.c static void iqs5xx_close(struct input_dev *input) input 476 drivers/input/touchscreen/iqs5xx.c struct iqs5xx_private *iqs5xx = input_get_drvdata(input); input 485 drivers/input/touchscreen/iqs5xx.c struct input_dev *input; input 491 drivers/input/touchscreen/iqs5xx.c if (!iqs5xx->input) { input 492 drivers/input/touchscreen/iqs5xx.c input = devm_input_allocate_device(&client->dev); input 493 drivers/input/touchscreen/iqs5xx.c if (!input) input 496 drivers/input/touchscreen/iqs5xx.c input->name = client->name; input 497 drivers/input/touchscreen/iqs5xx.c input->id.bustype = BUS_I2C; input 498 drivers/input/touchscreen/iqs5xx.c input->open = iqs5xx_open; input 499 drivers/input/touchscreen/iqs5xx.c input->close = iqs5xx_close; input 501 drivers/input/touchscreen/iqs5xx.c input_set_capability(input, EV_ABS, ABS_MT_POSITION_X); input 502 drivers/input/touchscreen/iqs5xx.c input_set_capability(input, EV_ABS, ABS_MT_POSITION_Y); input 503 drivers/input/touchscreen/iqs5xx.c input_set_capability(input, EV_ABS, ABS_MT_PRESSURE); input 505 drivers/input/touchscreen/iqs5xx.c input_set_drvdata(input, iqs5xx); input 506 drivers/input/touchscreen/iqs5xx.c iqs5xx->input = input; input 509 drivers/input/touchscreen/iqs5xx.c touchscreen_parse_properties(iqs5xx->input, true, &prop); input 550 drivers/input/touchscreen/iqs5xx.c input_abs_set_max(iqs5xx->input, input 567 drivers/input/touchscreen/iqs5xx.c input_abs_set_max(iqs5xx->input, input 592 drivers/input/touchscreen/iqs5xx.c error = input_mt_init_slots(iqs5xx->input, IQS5XX_NUM_CONTACTS, input 707 drivers/input/touchscreen/iqs5xx.c struct input_dev *input = iqs5xx->input; input 726 drivers/input/touchscreen/iqs5xx.c input_mt_slot(input, i); input 727 drivers/input/touchscreen/iqs5xx.c if (input_mt_report_slot_state(input, MT_TOOL_FINGER, input 729 drivers/input/touchscreen/iqs5xx.c input_report_abs(input, ABS_MT_POSITION_X, input 731 drivers/input/touchscreen/iqs5xx.c input_report_abs(input, ABS_MT_POSITION_Y, input 733 drivers/input/touchscreen/iqs5xx.c input_report_abs(input, ABS_MT_PRESSURE, pressure); input 737 drivers/input/touchscreen/iqs5xx.c input_mt_sync_frame(input); input 738 drivers/input/touchscreen/iqs5xx.c input_sync(input); input 961 drivers/input/touchscreen/iqs5xx.c bool input_reg = !iqs5xx->input; input 986 drivers/input/touchscreen/iqs5xx.c error = input_register_device(iqs5xx->input); input 1012 drivers/input/touchscreen/iqs5xx.c struct input_dev *input = iqs5xx->input; input 1015 drivers/input/touchscreen/iqs5xx.c if (!input) input 1018 drivers/input/touchscreen/iqs5xx.c mutex_lock(&input->mutex); input 1020 drivers/input/touchscreen/iqs5xx.c if (input->users) input 1023 drivers/input/touchscreen/iqs5xx.c mutex_unlock(&input->mutex); input 1031 drivers/input/touchscreen/iqs5xx.c struct input_dev *input = iqs5xx->input; input 1034 drivers/input/touchscreen/iqs5xx.c if (!input) input 1037 drivers/input/touchscreen/iqs5xx.c mutex_lock(&input->mutex); input 1039 drivers/input/touchscreen/iqs5xx.c if (input->users) input 1042 drivers/input/touchscreen/iqs5xx.c mutex_unlock(&input->mutex); input 1093 drivers/input/touchscreen/iqs5xx.c if (iqs5xx->input) { input 1094 drivers/input/touchscreen/iqs5xx.c error = input_register_device(iqs5xx->input); input 68 drivers/input/touchscreen/jornada720_ts.c struct input_dev *input = jornada_ts->dev; input 73 drivers/input/touchscreen/jornada720_ts.c input_report_key(input, BTN_TOUCH, 0); input 74 drivers/input/touchscreen/jornada720_ts.c input_sync(input); input 85 drivers/input/touchscreen/jornada720_ts.c input_report_key(input, BTN_TOUCH, 1); input 86 drivers/input/touchscreen/jornada720_ts.c input_report_abs(input, ABS_X, x); input 87 drivers/input/touchscreen/jornada720_ts.c input_report_abs(input, ABS_Y, y); input 88 drivers/input/touchscreen/jornada720_ts.c input_sync(input); input 83 drivers/input/touchscreen/lpc32xx_ts.c struct input_dev *input = tsc->dev; input 114 drivers/input/touchscreen/lpc32xx_ts.c input_report_abs(input, ABS_X, (xs[1] + xs[2]) / 2); input 115 drivers/input/touchscreen/lpc32xx_ts.c input_report_abs(input, ABS_Y, (ys[1] + ys[2]) / 2); input 116 drivers/input/touchscreen/lpc32xx_ts.c input_report_key(input, BTN_TOUCH, 1); input 118 drivers/input/touchscreen/lpc32xx_ts.c input_report_key(input, BTN_TOUCH, 0); input 121 drivers/input/touchscreen/lpc32xx_ts.c input_sync(input); input 202 drivers/input/touchscreen/lpc32xx_ts.c struct input_dev *input; input 219 drivers/input/touchscreen/lpc32xx_ts.c input = input_allocate_device(); input 220 drivers/input/touchscreen/lpc32xx_ts.c if (!tsc || !input) { input 226 drivers/input/touchscreen/lpc32xx_ts.c tsc->dev = input; input 251 drivers/input/touchscreen/lpc32xx_ts.c input->name = MOD_NAME; input 252 drivers/input/touchscreen/lpc32xx_ts.c input->phys = "lpc32xx/input0"; input 253 drivers/input/touchscreen/lpc32xx_ts.c input->id.bustype = BUS_HOST; input 254 drivers/input/touchscreen/lpc32xx_ts.c input->id.vendor = 0x0001; input 255 drivers/input/touchscreen/lpc32xx_ts.c input->id.product = 0x0002; input 256 drivers/input/touchscreen/lpc32xx_ts.c input->id.version = 0x0100; input 257 drivers/input/touchscreen/lpc32xx_ts.c input->dev.parent = &pdev->dev; input 258 drivers/input/touchscreen/lpc32xx_ts.c input->open = lpc32xx_ts_open; input 259 drivers/input/touchscreen/lpc32xx_ts.c input->close = lpc32xx_ts_close; input 261 drivers/input/touchscreen/lpc32xx_ts.c input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); input 262 drivers/input/touchscreen/lpc32xx_ts.c input->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); input 263 drivers/input/touchscreen/lpc32xx_ts.c input_set_abs_params(input, ABS_X, LPC32XX_TSC_MIN_XY_VAL, input 265 drivers/input/touchscreen/lpc32xx_ts.c input_set_abs_params(input, ABS_Y, LPC32XX_TSC_MIN_XY_VAL, input 268 drivers/input/touchscreen/lpc32xx_ts.c input_set_drvdata(input, tsc); input 277 drivers/input/touchscreen/lpc32xx_ts.c error = input_register_device(input); input 297 drivers/input/touchscreen/lpc32xx_ts.c input_free_device(input); input 327 drivers/input/touchscreen/lpc32xx_ts.c struct input_dev *input = tsc->dev; input 335 drivers/input/touchscreen/lpc32xx_ts.c mutex_lock(&input->mutex); input 337 drivers/input/touchscreen/lpc32xx_ts.c if (input->users) { input 344 drivers/input/touchscreen/lpc32xx_ts.c mutex_unlock(&input->mutex); input 352 drivers/input/touchscreen/lpc32xx_ts.c struct input_dev *input = tsc->dev; input 354 drivers/input/touchscreen/lpc32xx_ts.c mutex_lock(&input->mutex); input 356 drivers/input/touchscreen/lpc32xx_ts.c if (input->users) { input 363 drivers/input/touchscreen/lpc32xx_ts.c mutex_unlock(&input->mutex); input 149 drivers/input/touchscreen/melfas_mip4.c struct input_dev *input; input 393 drivers/input/touchscreen/melfas_mip4.c input_mt_slot(ts->input, i); input 394 drivers/input/touchscreen/melfas_mip4.c input_mt_report_slot_state(ts->input, MT_TOOL_FINGER, 0); input 399 drivers/input/touchscreen/melfas_mip4.c input_report_key(ts->input, ts->key_code[i], 0); input 401 drivers/input/touchscreen/melfas_mip4.c input_sync(ts->input); input 457 drivers/input/touchscreen/melfas_mip4.c input_event(ts->input, EV_MSC, MSC_SCAN, keycode); input 458 drivers/input/touchscreen/melfas_mip4.c input_report_key(ts->input, keycode, down); input 527 drivers/input/touchscreen/melfas_mip4.c input_mt_slot(ts->input, id); input 528 drivers/input/touchscreen/melfas_mip4.c input_mt_report_slot_state(ts->input, MT_TOOL_FINGER, true); input 529 drivers/input/touchscreen/melfas_mip4.c input_report_abs(ts->input, ABS_MT_POSITION_X, x); input 530 drivers/input/touchscreen/melfas_mip4.c input_report_abs(ts->input, ABS_MT_POSITION_Y, y); input 531 drivers/input/touchscreen/melfas_mip4.c input_report_abs(ts->input, ABS_MT_PRESSURE, pressure); input 532 drivers/input/touchscreen/melfas_mip4.c input_report_abs(ts->input, ABS_MT_TOUCH_MAJOR, touch_major); input 533 drivers/input/touchscreen/melfas_mip4.c input_report_abs(ts->input, ABS_MT_TOUCH_MINOR, touch_minor); input 536 drivers/input/touchscreen/melfas_mip4.c input_mt_slot(ts->input, id); input 537 drivers/input/touchscreen/melfas_mip4.c input_mt_report_slot_state(ts->input, MT_TOOL_FINGER, 0); input 540 drivers/input/touchscreen/melfas_mip4.c input_mt_sync_frame(ts->input); input 631 drivers/input/touchscreen/melfas_mip4.c input_sync(ts->input); input 1143 drivers/input/touchscreen/melfas_mip4.c input_set_abs_params(ts->input, ABS_MT_POSITION_X, 0, ts->max_x, 0, 0); input 1144 drivers/input/touchscreen/melfas_mip4.c input_set_abs_params(ts->input, ABS_MT_POSITION_Y, 0, ts->max_y, 0, 0); input 1145 drivers/input/touchscreen/melfas_mip4.c input_set_abs_params(ts->input, ABS_X, 0, ts->max_x, 0, 0); input 1146 drivers/input/touchscreen/melfas_mip4.c input_set_abs_params(ts->input, ABS_Y, 0, ts->max_y, 0, 0); input 1147 drivers/input/touchscreen/melfas_mip4.c input_abs_set_res(ts->input, ABS_MT_POSITION_X, ts->ppm_x); input 1148 drivers/input/touchscreen/melfas_mip4.c input_abs_set_res(ts->input, ABS_MT_POSITION_Y, ts->ppm_y); input 1149 drivers/input/touchscreen/melfas_mip4.c input_abs_set_res(ts->input, ABS_X, ts->ppm_x); input 1150 drivers/input/touchscreen/melfas_mip4.c input_abs_set_res(ts->input, ABS_Y, ts->ppm_y); input 1259 drivers/input/touchscreen/melfas_mip4.c if (ts->input->users) { input 1279 drivers/input/touchscreen/melfas_mip4.c if (ts->input->users) input 1309 drivers/input/touchscreen/melfas_mip4.c mutex_lock(&ts->input->mutex); input 1313 drivers/input/touchscreen/melfas_mip4.c mutex_unlock(&ts->input->mutex); input 1337 drivers/input/touchscreen/melfas_mip4.c mutex_lock(&ts->input->mutex); input 1343 drivers/input/touchscreen/melfas_mip4.c mutex_unlock(&ts->input->mutex); input 1359 drivers/input/touchscreen/melfas_mip4.c mutex_lock(&ts->input->mutex); input 1368 drivers/input/touchscreen/melfas_mip4.c mutex_unlock(&ts->input->mutex); input 1383 drivers/input/touchscreen/melfas_mip4.c mutex_lock(&ts->input->mutex); input 1387 drivers/input/touchscreen/melfas_mip4.c mutex_unlock(&ts->input->mutex); input 1402 drivers/input/touchscreen/melfas_mip4.c mutex_lock(&ts->input->mutex); input 1407 drivers/input/touchscreen/melfas_mip4.c mutex_unlock(&ts->input->mutex); input 1430 drivers/input/touchscreen/melfas_mip4.c struct input_dev *input; input 1442 drivers/input/touchscreen/melfas_mip4.c input = devm_input_allocate_device(&client->dev); input 1443 drivers/input/touchscreen/melfas_mip4.c if (!input) input 1447 drivers/input/touchscreen/melfas_mip4.c ts->input = input; input 1470 drivers/input/touchscreen/melfas_mip4.c input->name = "MELFAS MIP4 Touchscreen"; input 1471 drivers/input/touchscreen/melfas_mip4.c input->phys = ts->phys; input 1473 drivers/input/touchscreen/melfas_mip4.c input->id.bustype = BUS_I2C; input 1474 drivers/input/touchscreen/melfas_mip4.c input->id.vendor = 0x13c5; input 1475 drivers/input/touchscreen/melfas_mip4.c input->id.product = ts->product_id; input 1477 drivers/input/touchscreen/melfas_mip4.c input->open = mip4_input_open; input 1478 drivers/input/touchscreen/melfas_mip4.c input->close = mip4_input_close; input 1480 drivers/input/touchscreen/melfas_mip4.c input_set_drvdata(input, ts); input 1482 drivers/input/touchscreen/melfas_mip4.c input->keycode = ts->key_code; input 1483 drivers/input/touchscreen/melfas_mip4.c input->keycodesize = sizeof(*ts->key_code); input 1484 drivers/input/touchscreen/melfas_mip4.c input->keycodemax = ts->key_num; input 1486 drivers/input/touchscreen/melfas_mip4.c input_set_abs_params(input, ABS_MT_POSITION_X, 0, ts->max_x, 0, 0); input 1487 drivers/input/touchscreen/melfas_mip4.c input_set_abs_params(input, ABS_MT_POSITION_Y, 0, ts->max_y, 0, 0); input 1488 drivers/input/touchscreen/melfas_mip4.c input_set_abs_params(input, ABS_MT_PRESSURE, input 1490 drivers/input/touchscreen/melfas_mip4.c input_set_abs_params(input, ABS_MT_TOUCH_MAJOR, input 1492 drivers/input/touchscreen/melfas_mip4.c input_set_abs_params(input, ABS_MT_TOUCH_MINOR, input 1494 drivers/input/touchscreen/melfas_mip4.c input_abs_set_res(ts->input, ABS_MT_POSITION_X, ts->ppm_x); input 1495 drivers/input/touchscreen/melfas_mip4.c input_abs_set_res(ts->input, ABS_MT_POSITION_Y, ts->ppm_y); input 1497 drivers/input/touchscreen/melfas_mip4.c error = input_mt_init_slots(input, MIP4_MAX_FINGERS, INPUT_MT_DIRECT); input 1515 drivers/input/touchscreen/melfas_mip4.c error = input_register_device(input); input 1536 drivers/input/touchscreen/melfas_mip4.c struct input_dev *input = ts->input; input 1538 drivers/input/touchscreen/melfas_mip4.c mutex_lock(&input->mutex); input 1542 drivers/input/touchscreen/melfas_mip4.c else if (input->users) input 1545 drivers/input/touchscreen/melfas_mip4.c mutex_unlock(&input->mutex); input 1554 drivers/input/touchscreen/melfas_mip4.c struct input_dev *input = ts->input; input 1556 drivers/input/touchscreen/melfas_mip4.c mutex_lock(&input->mutex); input 1560 drivers/input/touchscreen/melfas_mip4.c else if (input->users) input 1563 drivers/input/touchscreen/melfas_mip4.c mutex_unlock(&input->mutex); input 25 drivers/input/touchscreen/migor_ts.c struct input_dev *input; input 73 drivers/input/touchscreen/migor_ts.c input_report_key(priv->input, BTN_TOUCH, 1); input 74 drivers/input/touchscreen/migor_ts.c input_report_abs(priv->input, ABS_X, ypos); /*X-Y swap*/ input 75 drivers/input/touchscreen/migor_ts.c input_report_abs(priv->input, ABS_Y, xpos); input 76 drivers/input/touchscreen/migor_ts.c input_sync(priv->input); input 80 drivers/input/touchscreen/migor_ts.c input_report_key(priv->input, BTN_TOUCH, 0); input 81 drivers/input/touchscreen/migor_ts.c input_sync(priv->input); input 123 drivers/input/touchscreen/migor_ts.c struct input_dev *input; input 127 drivers/input/touchscreen/migor_ts.c input = input_allocate_device(); input 128 drivers/input/touchscreen/migor_ts.c if (!priv || !input) { input 135 drivers/input/touchscreen/migor_ts.c priv->input = input; input 138 drivers/input/touchscreen/migor_ts.c input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); input 140 drivers/input/touchscreen/migor_ts.c __set_bit(BTN_TOUCH, input->keybit); input 142 drivers/input/touchscreen/migor_ts.c input_set_abs_params(input, ABS_X, 95, 955, 0, 0); input 143 drivers/input/touchscreen/migor_ts.c input_set_abs_params(input, ABS_Y, 85, 935, 0, 0); input 145 drivers/input/touchscreen/migor_ts.c input->name = client->name; input 146 drivers/input/touchscreen/migor_ts.c input->id.bustype = BUS_I2C; input 147 drivers/input/touchscreen/migor_ts.c input->dev.parent = &client->dev; input 149 drivers/input/touchscreen/migor_ts.c input->open = migor_ts_open; input 150 drivers/input/touchscreen/migor_ts.c input->close = migor_ts_close; input 152 drivers/input/touchscreen/migor_ts.c input_set_drvdata(input, priv); input 162 drivers/input/touchscreen/migor_ts.c error = input_register_device(input); input 174 drivers/input/touchscreen/migor_ts.c input_free_device(input); input 184 drivers/input/touchscreen/migor_ts.c input_unregister_device(priv->input); input 578 drivers/input/touchscreen/mxs-lradc-ts.c struct input_dev *input; input 581 drivers/input/touchscreen/mxs-lradc-ts.c input = devm_input_allocate_device(dev); input 582 drivers/input/touchscreen/mxs-lradc-ts.c if (!input) input 585 drivers/input/touchscreen/mxs-lradc-ts.c input->name = "mxs-lradc-ts"; input 586 drivers/input/touchscreen/mxs-lradc-ts.c input->id.bustype = BUS_HOST; input 587 drivers/input/touchscreen/mxs-lradc-ts.c input->open = mxs_lradc_ts_open; input 588 drivers/input/touchscreen/mxs-lradc-ts.c input->close = mxs_lradc_ts_close; input 590 drivers/input/touchscreen/mxs-lradc-ts.c __set_bit(INPUT_PROP_DIRECT, input->propbit); input 591 drivers/input/touchscreen/mxs-lradc-ts.c input_set_capability(input, EV_KEY, BTN_TOUCH); input 592 drivers/input/touchscreen/mxs-lradc-ts.c input_set_abs_params(input, ABS_X, 0, LRADC_SINGLE_SAMPLE_MASK, 0, 0); input 593 drivers/input/touchscreen/mxs-lradc-ts.c input_set_abs_params(input, ABS_Y, 0, LRADC_SINGLE_SAMPLE_MASK, 0, 0); input 594 drivers/input/touchscreen/mxs-lradc-ts.c input_set_abs_params(input, ABS_PRESSURE, 0, LRADC_SINGLE_SAMPLE_MASK, input 597 drivers/input/touchscreen/mxs-lradc-ts.c ts->ts_input = input; input 598 drivers/input/touchscreen/mxs-lradc-ts.c input_set_drvdata(input, ts); input 600 drivers/input/touchscreen/mxs-lradc-ts.c return input_register_device(input); input 64 drivers/input/touchscreen/of_touchscreen.c void touchscreen_parse_properties(struct input_dev *input, bool multitouch, input 67 drivers/input/touchscreen/of_touchscreen.c struct device *dev = input->dev.parent; input 73 drivers/input/touchscreen/of_touchscreen.c input_alloc_absinfo(input); input 74 drivers/input/touchscreen/of_touchscreen.c if (!input->absinfo) input 79 drivers/input/touchscreen/of_touchscreen.c input_abs_get_min(input, axis), input 82 drivers/input/touchscreen/of_touchscreen.c input_abs_get_max(input, input 86 drivers/input/touchscreen/of_touchscreen.c input_abs_get_fuzz(input, axis), input 89 drivers/input/touchscreen/of_touchscreen.c touchscreen_set_params(input, axis, minimum, maximum - 1, fuzz); input 93 drivers/input/touchscreen/of_touchscreen.c input_abs_get_min(input, axis), input 96 drivers/input/touchscreen/of_touchscreen.c input_abs_get_max(input, input 100 drivers/input/touchscreen/of_touchscreen.c input_abs_get_fuzz(input, axis), input 103 drivers/input/touchscreen/of_touchscreen.c touchscreen_set_params(input, axis, minimum, maximum - 1, fuzz); input 108 drivers/input/touchscreen/of_touchscreen.c input_abs_get_max(input, axis), input 112 drivers/input/touchscreen/of_touchscreen.c input_abs_get_fuzz(input, axis), input 115 drivers/input/touchscreen/of_touchscreen.c touchscreen_set_params(input, axis, 0, maximum, fuzz); input 122 drivers/input/touchscreen/of_touchscreen.c prop->max_x = input_abs_get_max(input, axis); input 123 drivers/input/touchscreen/of_touchscreen.c prop->max_y = input_abs_get_max(input, axis + 1); input 128 drivers/input/touchscreen/of_touchscreen.c absinfo = &input->absinfo[axis]; input 136 drivers/input/touchscreen/of_touchscreen.c absinfo = &input->absinfo[axis + 1]; input 144 drivers/input/touchscreen/of_touchscreen.c swap(input->absinfo[axis], input->absinfo[axis + 1]); input 195 drivers/input/touchscreen/of_touchscreen.c void touchscreen_report_pos(struct input_dev *input, input 201 drivers/input/touchscreen/of_touchscreen.c input_report_abs(input, multitouch ? ABS_MT_POSITION_X : ABS_X, x); input 202 drivers/input/touchscreen/of_touchscreen.c input_report_abs(input, multitouch ? ABS_MT_POSITION_Y : ABS_Y, y); input 22 drivers/input/touchscreen/pcap_ts.c struct input_dev *input; input 56 drivers/input/touchscreen/pcap_ts.c input_report_abs(pcap_ts->input, ABS_PRESSURE, 0); input 57 drivers/input/touchscreen/pcap_ts.c input_report_key(pcap_ts->input, BTN_TOUCH, 0); input 63 drivers/input/touchscreen/pcap_ts.c input_report_abs(pcap_ts->input, ABS_X, pcap_ts->x); input 64 drivers/input/touchscreen/pcap_ts.c input_report_abs(pcap_ts->input, ABS_Y, pcap_ts->y); input 65 drivers/input/touchscreen/pcap_ts.c input_report_key(pcap_ts->input, BTN_TOUCH, 1); input 66 drivers/input/touchscreen/pcap_ts.c input_report_abs(pcap_ts->input, ABS_PRESSURE, input 74 drivers/input/touchscreen/pcap_ts.c input_sync(pcap_ts->input); input 77 drivers/input/touchscreen/pcap_ts.c dev_warn(&pcap_ts->input->dev, input 158 drivers/input/touchscreen/pcap_ts.c pcap_ts->input = input_dev; input 178 drivers/input/touchscreen/pcap_ts.c err = input_register_device(pcap_ts->input); input 207 drivers/input/touchscreen/pcap_ts.c input_unregister_device(pcap_ts->input); input 66 drivers/input/touchscreen/penmount.c static void pm_mtevent(struct pm *pm, struct input_dev *input) input 71 drivers/input/touchscreen/penmount.c input_mt_slot(input, i); input 72 drivers/input/touchscreen/penmount.c input_mt_report_slot_state(input, MT_TOOL_FINGER, input 75 drivers/input/touchscreen/penmount.c input_event(input, EV_ABS, ABS_MT_POSITION_X, pm->slots[i].x); input 76 drivers/input/touchscreen/penmount.c input_event(input, EV_ABS, ABS_MT_POSITION_Y, pm->slots[i].y); input 80 drivers/input/touchscreen/penmount.c input_mt_report_pointer_emulation(input, true); input 81 drivers/input/touchscreen/penmount.c input_sync(input); input 26 drivers/input/touchscreen/pixcir_i2c_ts.c struct input_dev *input; input 110 drivers/input/touchscreen/pixcir_i2c_ts.c input_mt_assign_slots(ts->input, slots, report->pos, n, 0); input 114 drivers/input/touchscreen/pixcir_i2c_ts.c slot = input_mt_get_slot_by_key(ts->input, input 125 drivers/input/touchscreen/pixcir_i2c_ts.c input_mt_slot(ts->input, slot); input 126 drivers/input/touchscreen/pixcir_i2c_ts.c input_mt_report_slot_state(ts->input, MT_TOOL_FINGER, true); input 128 drivers/input/touchscreen/pixcir_i2c_ts.c input_report_abs(ts->input, ABS_MT_POSITION_X, input 130 drivers/input/touchscreen/pixcir_i2c_ts.c input_report_abs(ts->input, ABS_MT_POSITION_Y, input 137 drivers/input/touchscreen/pixcir_i2c_ts.c input_mt_sync_frame(ts->input); input 138 drivers/input/touchscreen/pixcir_i2c_ts.c input_sync(ts->input); input 159 drivers/input/touchscreen/pixcir_i2c_ts.c input_mt_sync_frame(tsdata->input); input 160 drivers/input/touchscreen/pixcir_i2c_ts.c input_sync(tsdata->input); input 362 drivers/input/touchscreen/pixcir_i2c_ts.c struct input_dev *input = ts->input; input 365 drivers/input/touchscreen/pixcir_i2c_ts.c mutex_lock(&input->mutex); input 368 drivers/input/touchscreen/pixcir_i2c_ts.c if (!input->users) { input 375 drivers/input/touchscreen/pixcir_i2c_ts.c } else if (input->users) { input 380 drivers/input/touchscreen/pixcir_i2c_ts.c mutex_unlock(&input->mutex); input 389 drivers/input/touchscreen/pixcir_i2c_ts.c struct input_dev *input = ts->input; input 392 drivers/input/touchscreen/pixcir_i2c_ts.c mutex_lock(&input->mutex); input 395 drivers/input/touchscreen/pixcir_i2c_ts.c if (!input->users) { input 402 drivers/input/touchscreen/pixcir_i2c_ts.c } else if (input->users) { input 407 drivers/input/touchscreen/pixcir_i2c_ts.c mutex_unlock(&input->mutex); input 442 drivers/input/touchscreen/pixcir_i2c_ts.c struct input_dev *input; input 465 drivers/input/touchscreen/pixcir_i2c_ts.c input = devm_input_allocate_device(dev); input 466 drivers/input/touchscreen/pixcir_i2c_ts.c if (!input) { input 472 drivers/input/touchscreen/pixcir_i2c_ts.c tsdata->input = input; input 474 drivers/input/touchscreen/pixcir_i2c_ts.c input->name = client->name; input 475 drivers/input/touchscreen/pixcir_i2c_ts.c input->id.bustype = BUS_I2C; input 476 drivers/input/touchscreen/pixcir_i2c_ts.c input->open = pixcir_input_open; input 477 drivers/input/touchscreen/pixcir_i2c_ts.c input->close = pixcir_input_close; input 478 drivers/input/touchscreen/pixcir_i2c_ts.c input->dev.parent = dev; input 481 drivers/input/touchscreen/pixcir_i2c_ts.c input_set_abs_params(input, ABS_MT_POSITION_X, 0, pdata->x_max, 0, 0); input 482 drivers/input/touchscreen/pixcir_i2c_ts.c input_set_abs_params(input, ABS_MT_POSITION_Y, 0, pdata->y_max, 0, 0); input 484 drivers/input/touchscreen/pixcir_i2c_ts.c input_set_capability(input, EV_ABS, ABS_MT_POSITION_X); input 485 drivers/input/touchscreen/pixcir_i2c_ts.c input_set_capability(input, EV_ABS, ABS_MT_POSITION_Y); input 486 drivers/input/touchscreen/pixcir_i2c_ts.c touchscreen_parse_properties(input, true, &tsdata->prop); input 487 drivers/input/touchscreen/pixcir_i2c_ts.c if (!input_abs_get_max(input, ABS_MT_POSITION_X) || input 488 drivers/input/touchscreen/pixcir_i2c_ts.c !input_abs_get_max(input, ABS_MT_POSITION_Y)) { input 501 drivers/input/touchscreen/pixcir_i2c_ts.c error = input_mt_init_slots(input, tsdata->max_fingers, input 508 drivers/input/touchscreen/pixcir_i2c_ts.c input_set_drvdata(input, tsdata); input 568 drivers/input/touchscreen/pixcir_i2c_ts.c error = input_register_device(input); input 62 drivers/input/touchscreen/raspberrypi-ts.c struct input_dev *input = dev->input; input 96 drivers/input/touchscreen/raspberrypi-ts.c input_mt_slot(input, touchid); input 97 drivers/input/touchscreen/raspberrypi-ts.c input_mt_report_slot_state(input, MT_TOOL_FINGER, 1); input 98 drivers/input/touchscreen/raspberrypi-ts.c touchscreen_report_pos(input, &ts->prop, x, y, true); input 104 drivers/input/touchscreen/raspberrypi-ts.c input_mt_slot(input, i); input 105 drivers/input/touchscreen/raspberrypi-ts.c input_mt_report_slot_state(input, MT_TOOL_FINGER, 0); input 110 drivers/input/touchscreen/raspberrypi-ts.c input_mt_sync_frame(input); input 111 drivers/input/touchscreen/raspberrypi-ts.c input_sync(input); input 129 drivers/input/touchscreen/raspberrypi-ts.c struct input_dev *input; input 179 drivers/input/touchscreen/raspberrypi-ts.c input = poll_dev->input; input 181 drivers/input/touchscreen/raspberrypi-ts.c input->name = "raspberrypi-ts"; input 182 drivers/input/touchscreen/raspberrypi-ts.c input->id.bustype = BUS_HOST; input 187 drivers/input/touchscreen/raspberrypi-ts.c input_set_abs_params(input, ABS_MT_POSITION_X, 0, input 189 drivers/input/touchscreen/raspberrypi-ts.c input_set_abs_params(input, ABS_MT_POSITION_Y, 0, input 191 drivers/input/touchscreen/raspberrypi-ts.c touchscreen_parse_properties(input, true, &ts->prop); input 193 drivers/input/touchscreen/raspberrypi-ts.c error = input_mt_init_slots(input, RPI_TS_MAX_SUPPORTED_POINTS, input 117 drivers/input/touchscreen/raydium_i2c_ts.c struct input_dev *input; input 803 drivers/input/touchscreen/raydium_i2c_ts.c input_mt_slot(ts->input, i); input 804 drivers/input/touchscreen/raydium_i2c_ts.c input_mt_report_slot_state(ts->input, MT_TOOL_FINGER, state); input 809 drivers/input/touchscreen/raydium_i2c_ts.c input_report_abs(ts->input, ABS_MT_POSITION_X, input 811 drivers/input/touchscreen/raydium_i2c_ts.c input_report_abs(ts->input, ABS_MT_POSITION_Y, input 813 drivers/input/touchscreen/raydium_i2c_ts.c input_report_abs(ts->input, ABS_MT_PRESSURE, input 819 drivers/input/touchscreen/raydium_i2c_ts.c input_report_abs(ts->input, ABS_MT_TOUCH_MAJOR, max(wx, wy)); input 820 drivers/input/touchscreen/raydium_i2c_ts.c input_report_abs(ts->input, ABS_MT_TOUCH_MINOR, min(wx, wy)); input 823 drivers/input/touchscreen/raydium_i2c_ts.c input_mt_sync_frame(ts->input); input 824 drivers/input/touchscreen/raydium_i2c_ts.c input_sync(ts->input); input 1075 drivers/input/touchscreen/raydium_i2c_ts.c ts->input = devm_input_allocate_device(&client->dev); input 1076 drivers/input/touchscreen/raydium_i2c_ts.c if (!ts->input) { input 1081 drivers/input/touchscreen/raydium_i2c_ts.c ts->input->name = "Raydium Touchscreen"; input 1082 drivers/input/touchscreen/raydium_i2c_ts.c ts->input->id.bustype = BUS_I2C; input 1084 drivers/input/touchscreen/raydium_i2c_ts.c input_set_abs_params(ts->input, ABS_MT_POSITION_X, input 1086 drivers/input/touchscreen/raydium_i2c_ts.c input_set_abs_params(ts->input, ABS_MT_POSITION_Y, input 1088 drivers/input/touchscreen/raydium_i2c_ts.c input_abs_set_res(ts->input, ABS_MT_POSITION_X, ts->info.x_res); input 1089 drivers/input/touchscreen/raydium_i2c_ts.c input_abs_set_res(ts->input, ABS_MT_POSITION_Y, ts->info.y_res); input 1091 drivers/input/touchscreen/raydium_i2c_ts.c input_set_abs_params(ts->input, ABS_MT_TOUCH_MAJOR, 0, 255, 0, 0); input 1092 drivers/input/touchscreen/raydium_i2c_ts.c input_set_abs_params(ts->input, ABS_MT_PRESSURE, 0, 255, 0, 0); input 1094 drivers/input/touchscreen/raydium_i2c_ts.c error = input_mt_init_slots(ts->input, RM_MAX_TOUCH_NUM, input 1102 drivers/input/touchscreen/raydium_i2c_ts.c error = input_register_device(ts->input); input 39 drivers/input/touchscreen/resistive-adc-touch.c struct input_dev *input; input 57 drivers/input/touchscreen/resistive-adc-touch.c input_report_key(st->input, BTN_TOUCH, 0); input 58 drivers/input/touchscreen/resistive-adc-touch.c input_sync(st->input); input 63 drivers/input/touchscreen/resistive-adc-touch.c touchscreen_report_pos(st->input, &st->prop, x, y, false); input 65 drivers/input/touchscreen/resistive-adc-touch.c input_report_abs(st->input, ABS_PRESSURE, press); input 66 drivers/input/touchscreen/resistive-adc-touch.c input_report_key(st->input, BTN_TOUCH, 1); input 67 drivers/input/touchscreen/resistive-adc-touch.c input_sync(st->input); input 100 drivers/input/touchscreen/resistive-adc-touch.c struct input_dev *input; input 136 drivers/input/touchscreen/resistive-adc-touch.c input = devm_input_allocate_device(dev); input 137 drivers/input/touchscreen/resistive-adc-touch.c if (!input) { input 142 drivers/input/touchscreen/resistive-adc-touch.c input->name = DRIVER_NAME; input 143 drivers/input/touchscreen/resistive-adc-touch.c input->id.bustype = BUS_HOST; input 144 drivers/input/touchscreen/resistive-adc-touch.c input->open = grts_open; input 145 drivers/input/touchscreen/resistive-adc-touch.c input->close = grts_close; input 147 drivers/input/touchscreen/resistive-adc-touch.c input_set_abs_params(input, ABS_X, 0, GRTS_MAX_POS_MASK - 1, 0, 0); input 148 drivers/input/touchscreen/resistive-adc-touch.c input_set_abs_params(input, ABS_Y, 0, GRTS_MAX_POS_MASK - 1, 0, 0); input 150 drivers/input/touchscreen/resistive-adc-touch.c input_set_abs_params(input, ABS_PRESSURE, st->pressure_min, input 153 drivers/input/touchscreen/resistive-adc-touch.c input_set_capability(input, EV_KEY, BTN_TOUCH); input 156 drivers/input/touchscreen/resistive-adc-touch.c touchscreen_parse_properties(input, false, &st->prop); input 158 drivers/input/touchscreen/resistive-adc-touch.c st->input = input; input 159 drivers/input/touchscreen/resistive-adc-touch.c input_set_drvdata(input, st); input 161 drivers/input/touchscreen/resistive-adc-touch.c error = input_register_device(input); input 259 drivers/input/touchscreen/rohm_bu21023.c struct input_dev *input; input 524 drivers/input/touchscreen/rohm_bu21023.c struct input_dev *input_dev = ts->input; input 751 drivers/input/touchscreen/rohm_bu21023.c error = mutex_lock_interruptible(&ts->input->mutex); input 764 drivers/input/touchscreen/rohm_bu21023.c mutex_unlock(&ts->input->mutex); input 790 drivers/input/touchscreen/rohm_bu21023.c error = mutex_lock_interruptible(&ts->input->mutex); input 803 drivers/input/touchscreen/rohm_bu21023.c mutex_unlock(&ts->input->mutex); input 829 drivers/input/touchscreen/rohm_bu21023.c error = mutex_lock_interruptible(&ts->input->mutex); input 842 drivers/input/touchscreen/rohm_bu21023.c mutex_unlock(&ts->input->mutex); input 1103 drivers/input/touchscreen/rohm_bu21023.c struct input_dev *input; input 1129 drivers/input/touchscreen/rohm_bu21023.c input = devm_input_allocate_device(dev); input 1130 drivers/input/touchscreen/rohm_bu21023.c if (!input) input 1133 drivers/input/touchscreen/rohm_bu21023.c input->name = BU21023_NAME; input 1134 drivers/input/touchscreen/rohm_bu21023.c input->id.bustype = BUS_I2C; input 1135 drivers/input/touchscreen/rohm_bu21023.c input->open = rohm_ts_open; input 1136 drivers/input/touchscreen/rohm_bu21023.c input->close = rohm_ts_close; input 1138 drivers/input/touchscreen/rohm_bu21023.c ts->input = input; input 1139 drivers/input/touchscreen/rohm_bu21023.c input_set_drvdata(input, ts); input 1141 drivers/input/touchscreen/rohm_bu21023.c input_set_abs_params(input, ABS_MT_POSITION_X, input 1143 drivers/input/touchscreen/rohm_bu21023.c input_set_abs_params(input, ABS_MT_POSITION_Y, input 1146 drivers/input/touchscreen/rohm_bu21023.c error = input_mt_init_slots(input, MAX_CONTACTS, input 1162 drivers/input/touchscreen/rohm_bu21023.c error = input_register_device(input); input 65 drivers/input/touchscreen/s3c2410_ts.c struct input_dev *input; input 111 drivers/input/touchscreen/s3c2410_ts.c input_report_abs(ts.input, ABS_X, ts.xp); input 112 drivers/input/touchscreen/s3c2410_ts.c input_report_abs(ts.input, ABS_Y, ts.yp); input 114 drivers/input/touchscreen/s3c2410_ts.c input_report_key(ts.input, BTN_TOUCH, 1); input 115 drivers/input/touchscreen/s3c2410_ts.c input_sync(ts.input); input 128 drivers/input/touchscreen/s3c2410_ts.c input_report_key(ts.input, BTN_TOUCH, 0); input 129 drivers/input/touchscreen/s3c2410_ts.c input_sync(ts.input); input 306 drivers/input/touchscreen/s3c2410_ts.c ts.input = input_dev; input 307 drivers/input/touchscreen/s3c2410_ts.c ts.input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); input 308 drivers/input/touchscreen/s3c2410_ts.c ts.input->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); input 309 drivers/input/touchscreen/s3c2410_ts.c input_set_abs_params(ts.input, ABS_X, 0, 0x3FF, 0, 0); input 310 drivers/input/touchscreen/s3c2410_ts.c input_set_abs_params(ts.input, ABS_Y, 0, 0x3FF, 0, 0); input 312 drivers/input/touchscreen/s3c2410_ts.c ts.input->name = "S3C24XX TouchScreen"; input 313 drivers/input/touchscreen/s3c2410_ts.c ts.input->id.bustype = BUS_HOST; input 314 drivers/input/touchscreen/s3c2410_ts.c ts.input->id.vendor = 0xDEAD; input 315 drivers/input/touchscreen/s3c2410_ts.c ts.input->id.product = 0xBEEF; input 316 drivers/input/touchscreen/s3c2410_ts.c ts.input->id.version = 0x0102; input 322 drivers/input/touchscreen/s3c2410_ts.c "s3c2410_ts_pen", ts.input); input 331 drivers/input/touchscreen/s3c2410_ts.c ret = input_register_device(ts.input); input 341 drivers/input/touchscreen/s3c2410_ts.c free_irq(ts.irq_tc, ts.input); input 343 drivers/input/touchscreen/s3c2410_ts.c input_free_device(ts.input); input 362 drivers/input/touchscreen/s3c2410_ts.c free_irq(ts.irq_tc, ts.input); input 368 drivers/input/touchscreen/s3c2410_ts.c input_unregister_device(ts.input); input 104 drivers/input/touchscreen/s6sy761.c struct input_dev *input; input 151 drivers/input/touchscreen/s6sy761.c input_mt_slot(sdata->input, tid); input 153 drivers/input/touchscreen/s6sy761.c input_mt_report_slot_state(sdata->input, MT_TOOL_FINGER, true); input 154 drivers/input/touchscreen/s6sy761.c input_report_abs(sdata->input, ABS_MT_POSITION_X, x); input 155 drivers/input/touchscreen/s6sy761.c input_report_abs(sdata->input, ABS_MT_POSITION_Y, y); input 156 drivers/input/touchscreen/s6sy761.c input_report_abs(sdata->input, ABS_MT_TOUCH_MAJOR, major); input 157 drivers/input/touchscreen/s6sy761.c input_report_abs(sdata->input, ABS_MT_TOUCH_MINOR, minor); input 158 drivers/input/touchscreen/s6sy761.c input_report_abs(sdata->input, ABS_MT_PRESSURE, z); input 160 drivers/input/touchscreen/s6sy761.c input_sync(sdata->input); input 166 drivers/input/touchscreen/s6sy761.c input_mt_slot(sdata->input, tid); input 167 drivers/input/touchscreen/s6sy761.c input_mt_report_slot_state(sdata->input, MT_TOOL_FINGER, false); input 169 drivers/input/touchscreen/s6sy761.c input_sync(sdata->input); input 427 drivers/input/touchscreen/s6sy761.c sdata->input = devm_input_allocate_device(&client->dev); input 428 drivers/input/touchscreen/s6sy761.c if (!sdata->input) input 431 drivers/input/touchscreen/s6sy761.c sdata->input->name = S6SY761_DEV_NAME; input 432 drivers/input/touchscreen/s6sy761.c sdata->input->id.bustype = BUS_I2C; input 433 drivers/input/touchscreen/s6sy761.c sdata->input->open = s6sy761_input_open; input 434 drivers/input/touchscreen/s6sy761.c sdata->input->close = s6sy761_input_close; input 436 drivers/input/touchscreen/s6sy761.c input_set_abs_params(sdata->input, ABS_MT_POSITION_X, 0, max_x, 0, 0); input 437 drivers/input/touchscreen/s6sy761.c input_set_abs_params(sdata->input, ABS_MT_POSITION_Y, 0, max_y, 0, 0); input 438 drivers/input/touchscreen/s6sy761.c input_set_abs_params(sdata->input, ABS_MT_TOUCH_MAJOR, 0, 255, 0, 0); input 439 drivers/input/touchscreen/s6sy761.c input_set_abs_params(sdata->input, ABS_MT_TOUCH_MINOR, 0, 255, 0, 0); input 440 drivers/input/touchscreen/s6sy761.c input_set_abs_params(sdata->input, ABS_MT_TOUCH_MAJOR, 0, 255, 0, 0); input 441 drivers/input/touchscreen/s6sy761.c input_set_abs_params(sdata->input, ABS_MT_TOUCH_MINOR, 0, 255, 0, 0); input 442 drivers/input/touchscreen/s6sy761.c input_set_abs_params(sdata->input, ABS_MT_PRESSURE, 0, 255, 0, 0); input 444 drivers/input/touchscreen/s6sy761.c touchscreen_parse_properties(sdata->input, true, &sdata->prop); input 446 drivers/input/touchscreen/s6sy761.c if (!input_abs_get_max(sdata->input, ABS_X) || input 447 drivers/input/touchscreen/s6sy761.c !input_abs_get_max(sdata->input, ABS_Y)) { input 451 drivers/input/touchscreen/s6sy761.c err = input_mt_init_slots(sdata->input, sdata->tx_channel, input 456 drivers/input/touchscreen/s6sy761.c input_set_drvdata(sdata->input, sdata); input 458 drivers/input/touchscreen/s6sy761.c err = input_register_device(sdata->input); input 68 drivers/input/touchscreen/silead.c struct input_dev *input; input 89 drivers/input/touchscreen/silead.c data->input = devm_input_allocate_device(dev); input 90 drivers/input/touchscreen/silead.c if (!data->input) { input 96 drivers/input/touchscreen/silead.c input_set_abs_params(data->input, ABS_MT_POSITION_X, 0, 4095, 0, 0); input 97 drivers/input/touchscreen/silead.c input_set_abs_params(data->input, ABS_MT_POSITION_Y, 0, 4095, 0, 0); input 98 drivers/input/touchscreen/silead.c touchscreen_parse_properties(data->input, true, &data->prop); input 100 drivers/input/touchscreen/silead.c input_mt_init_slots(data->input, data->max_fingers, input 105 drivers/input/touchscreen/silead.c input_set_capability(data->input, EV_KEY, KEY_LEFTMETA); input 107 drivers/input/touchscreen/silead.c data->input->name = SILEAD_TS_NAME; input 108 drivers/input/touchscreen/silead.c data->input->phys = "input/ts"; input 109 drivers/input/touchscreen/silead.c data->input->id.bustype = BUS_I2C; input 111 drivers/input/touchscreen/silead.c error = input_register_device(data->input); input 134 drivers/input/touchscreen/silead.c struct input_dev *input = data->input; input 183 drivers/input/touchscreen/silead.c input_mt_assign_slots(input, data->slots, data->pos, touch_nr, 0); input 186 drivers/input/touchscreen/silead.c input_mt_slot(input, data->slots[i]); input 187 drivers/input/touchscreen/silead.c input_mt_report_slot_state(input, MT_TOOL_FINGER, true); input 188 drivers/input/touchscreen/silead.c input_report_abs(input, ABS_MT_POSITION_X, data->pos[i].x); input 189 drivers/input/touchscreen/silead.c input_report_abs(input, ABS_MT_POSITION_Y, data->pos[i].y); input 195 drivers/input/touchscreen/silead.c input_mt_sync_frame(input); input 196 drivers/input/touchscreen/silead.c input_report_key(input, KEY_LEFTMETA, softbutton_pressed); input 197 drivers/input/touchscreen/silead.c input_sync(input); input 96 drivers/input/touchscreen/sis_i2c.c struct input_dev *input; input 174 drivers/input/touchscreen/sis_i2c.c struct input_dev *input = ts->input; input 187 drivers/input/touchscreen/sis_i2c.c slot = input_mt_get_slot_by_key(input, data[SIS_CONTACT_ID_OFFSET]); input 191 drivers/input/touchscreen/sis_i2c.c input_mt_slot(input, slot); input 192 drivers/input/touchscreen/sis_i2c.c input_mt_report_slot_state(input, MT_TOOL_FINGER, input 211 drivers/input/touchscreen/sis_i2c.c input_report_abs(input, ABS_MT_TOUCH_MAJOR, input 213 drivers/input/touchscreen/sis_i2c.c input_report_abs(input, ABS_MT_TOUCH_MINOR, input 215 drivers/input/touchscreen/sis_i2c.c input_report_abs(input, ABS_MT_PRESSURE, pressure); input 216 drivers/input/touchscreen/sis_i2c.c input_report_abs(input, ABS_MT_POSITION_X, x); input 217 drivers/input/touchscreen/sis_i2c.c input_report_abs(input, ABS_MT_POSITION_Y, y); input 272 drivers/input/touchscreen/sis_i2c.c input_mt_sync_frame(ts->input); input 273 drivers/input/touchscreen/sis_i2c.c input_sync(ts->input); input 303 drivers/input/touchscreen/sis_i2c.c struct input_dev *input; input 334 drivers/input/touchscreen/sis_i2c.c ts->input = input = devm_input_allocate_device(&client->dev); input 335 drivers/input/touchscreen/sis_i2c.c if (!input) { input 340 drivers/input/touchscreen/sis_i2c.c input->name = "SiS Touchscreen"; input 341 drivers/input/touchscreen/sis_i2c.c input->id.bustype = BUS_I2C; input 343 drivers/input/touchscreen/sis_i2c.c input_set_abs_params(input, ABS_MT_POSITION_X, 0, SIS_MAX_X, 0, 0); input 344 drivers/input/touchscreen/sis_i2c.c input_set_abs_params(input, ABS_MT_POSITION_Y, 0, SIS_MAX_Y, 0, 0); input 345 drivers/input/touchscreen/sis_i2c.c input_set_abs_params(input, ABS_MT_PRESSURE, 0, SIS_MAX_PRESSURE, 0, 0); input 346 drivers/input/touchscreen/sis_i2c.c input_set_abs_params(input, ABS_MT_TOUCH_MAJOR, input 348 drivers/input/touchscreen/sis_i2c.c input_set_abs_params(input, ABS_MT_TOUCH_MINOR, input 351 drivers/input/touchscreen/sis_i2c.c error = input_mt_init_slots(input, SIS_MAX_FINGERS, INPUT_MT_DIRECT); input 367 drivers/input/touchscreen/sis_i2c.c error = input_register_device(ts->input); input 79 drivers/input/touchscreen/stmfts.c struct input_dev *input; input 182 drivers/input/touchscreen/stmfts.c input_mt_slot(sdata->input, slot_id); input 184 drivers/input/touchscreen/stmfts.c input_mt_report_slot_state(sdata->input, MT_TOOL_FINGER, true); input 185 drivers/input/touchscreen/stmfts.c input_report_abs(sdata->input, ABS_MT_POSITION_X, x); input 186 drivers/input/touchscreen/stmfts.c input_report_abs(sdata->input, ABS_MT_POSITION_Y, y); input 187 drivers/input/touchscreen/stmfts.c input_report_abs(sdata->input, ABS_MT_TOUCH_MAJOR, maj); input 188 drivers/input/touchscreen/stmfts.c input_report_abs(sdata->input, ABS_MT_TOUCH_MINOR, min); input 189 drivers/input/touchscreen/stmfts.c input_report_abs(sdata->input, ABS_MT_PRESSURE, area); input 190 drivers/input/touchscreen/stmfts.c input_report_abs(sdata->input, ABS_MT_ORIENTATION, orientation); input 192 drivers/input/touchscreen/stmfts.c input_sync(sdata->input); input 200 drivers/input/touchscreen/stmfts.c input_mt_slot(sdata->input, slot_id); input 201 drivers/input/touchscreen/stmfts.c input_mt_report_slot_state(sdata->input, MT_TOOL_FINGER, false); input 203 drivers/input/touchscreen/stmfts.c input_sync(sdata->input); input 213 drivers/input/touchscreen/stmfts.c input_report_abs(sdata->input, ABS_X, x); input 214 drivers/input/touchscreen/stmfts.c input_report_abs(sdata->input, ABS_Y, y); input 215 drivers/input/touchscreen/stmfts.c input_report_abs(sdata->input, ABS_DISTANCE, z); input 217 drivers/input/touchscreen/stmfts.c input_sync(sdata->input); input 224 drivers/input/touchscreen/stmfts.c input_report_key(sdata->input, KEY_BACK, 0); input 225 drivers/input/touchscreen/stmfts.c input_report_key(sdata->input, KEY_MENU, 0); input 229 drivers/input/touchscreen/stmfts.c input_report_key(sdata->input, KEY_BACK, 1); input 233 drivers/input/touchscreen/stmfts.c input_report_key(sdata->input, KEY_MENU, 1); input 242 drivers/input/touchscreen/stmfts.c input_sync(sdata->input); input 654 drivers/input/touchscreen/stmfts.c sdata->input = devm_input_allocate_device(&client->dev); input 655 drivers/input/touchscreen/stmfts.c if (!sdata->input) input 658 drivers/input/touchscreen/stmfts.c sdata->input->name = STMFTS_DEV_NAME; input 659 drivers/input/touchscreen/stmfts.c sdata->input->id.bustype = BUS_I2C; input 660 drivers/input/touchscreen/stmfts.c sdata->input->open = stmfts_input_open; input 661 drivers/input/touchscreen/stmfts.c sdata->input->close = stmfts_input_close; input 663 drivers/input/touchscreen/stmfts.c input_set_capability(sdata->input, EV_ABS, ABS_MT_POSITION_X); input 664 drivers/input/touchscreen/stmfts.c input_set_capability(sdata->input, EV_ABS, ABS_MT_POSITION_Y); input 665 drivers/input/touchscreen/stmfts.c touchscreen_parse_properties(sdata->input, true, &sdata->prop); input 667 drivers/input/touchscreen/stmfts.c input_set_abs_params(sdata->input, ABS_MT_TOUCH_MAJOR, 0, 255, 0, 0); input 668 drivers/input/touchscreen/stmfts.c input_set_abs_params(sdata->input, ABS_MT_TOUCH_MINOR, 0, 255, 0, 0); input 669 drivers/input/touchscreen/stmfts.c input_set_abs_params(sdata->input, ABS_MT_ORIENTATION, 0, 255, 0, 0); input 670 drivers/input/touchscreen/stmfts.c input_set_abs_params(sdata->input, ABS_MT_PRESSURE, 0, 255, 0, 0); input 671 drivers/input/touchscreen/stmfts.c input_set_abs_params(sdata->input, ABS_DISTANCE, 0, 255, 0, 0); input 676 drivers/input/touchscreen/stmfts.c input_set_capability(sdata->input, EV_KEY, KEY_MENU); input 677 drivers/input/touchscreen/stmfts.c input_set_capability(sdata->input, EV_KEY, KEY_BACK); input 680 drivers/input/touchscreen/stmfts.c err = input_mt_init_slots(sdata->input, input 685 drivers/input/touchscreen/stmfts.c input_set_drvdata(sdata->input, sdata); input 712 drivers/input/touchscreen/stmfts.c err = input_register_device(sdata->input); input 108 drivers/input/touchscreen/sun4i-ts.c struct input_dev *input; input 126 drivers/input/touchscreen/sun4i-ts.c input_report_abs(ts->input, ABS_X, x); input 127 drivers/input/touchscreen/sun4i-ts.c input_report_abs(ts->input, ABS_Y, y); input 133 drivers/input/touchscreen/sun4i-ts.c input_report_key(ts->input, BTN_TOUCH, 1); input 134 drivers/input/touchscreen/sun4i-ts.c input_sync(ts->input); input 142 drivers/input/touchscreen/sun4i-ts.c input_report_key(ts->input, BTN_TOUCH, 0); input 143 drivers/input/touchscreen/sun4i-ts.c input_sync(ts->input); input 157 drivers/input/touchscreen/sun4i-ts.c if (ts->input) input 285 drivers/input/touchscreen/sun4i-ts.c ts->input = devm_input_allocate_device(dev); input 286 drivers/input/touchscreen/sun4i-ts.c if (!ts->input) input 289 drivers/input/touchscreen/sun4i-ts.c ts->input->name = pdev->name; input 290 drivers/input/touchscreen/sun4i-ts.c ts->input->phys = "sun4i_ts/input0"; input 291 drivers/input/touchscreen/sun4i-ts.c ts->input->open = sun4i_ts_open; input 292 drivers/input/touchscreen/sun4i-ts.c ts->input->close = sun4i_ts_close; input 293 drivers/input/touchscreen/sun4i-ts.c ts->input->id.bustype = BUS_HOST; input 294 drivers/input/touchscreen/sun4i-ts.c ts->input->id.vendor = 0x0001; input 295 drivers/input/touchscreen/sun4i-ts.c ts->input->id.product = 0x0001; input 296 drivers/input/touchscreen/sun4i-ts.c ts->input->id.version = 0x0100; input 297 drivers/input/touchscreen/sun4i-ts.c ts->input->evbit[0] = BIT(EV_SYN) | BIT(EV_KEY) | BIT(EV_ABS); input 298 drivers/input/touchscreen/sun4i-ts.c __set_bit(BTN_TOUCH, ts->input->keybit); input 299 drivers/input/touchscreen/sun4i-ts.c input_set_abs_params(ts->input, ABS_X, 0, 4095, 0, 0); input 300 drivers/input/touchscreen/sun4i-ts.c input_set_abs_params(ts->input, ABS_Y, 0, 4095, 0, 0); input 301 drivers/input/touchscreen/sun4i-ts.c input_set_drvdata(ts->input, ts); input 367 drivers/input/touchscreen/sun4i-ts.c error = input_register_device(ts->input); input 383 drivers/input/touchscreen/sun4i-ts.c if (ts->input) input 384 drivers/input/touchscreen/sun4i-ts.c input_unregister_device(ts->input); input 209 drivers/input/touchscreen/sur40.c struct input_polled_dev *input; input 412 drivers/input/touchscreen/sur40.c static void sur40_report_blob(struct sur40_blob *blob, struct input_dev *input) input 420 drivers/input/touchscreen/sur40.c slotnum = input_mt_get_slot_by_key(input, blob->blob_id); input 433 drivers/input/touchscreen/sur40.c input_mt_slot(input, slotnum); input 434 drivers/input/touchscreen/sur40.c input_mt_report_slot_state(input, MT_TOOL_FINGER, 1); input 439 drivers/input/touchscreen/sur40.c input_report_abs(input, ABS_MT_POSITION_X, pos_x); input 440 drivers/input/touchscreen/sur40.c input_report_abs(input, ABS_MT_POSITION_Y, pos_y); input 441 drivers/input/touchscreen/sur40.c input_report_abs(input, ABS_MT_TOOL_X, ctr_x); input 442 drivers/input/touchscreen/sur40.c input_report_abs(input, ABS_MT_TOOL_Y, ctr_y); input 445 drivers/input/touchscreen/sur40.c input_report_abs(input, ABS_MT_ORIENTATION, wide); input 446 drivers/input/touchscreen/sur40.c input_report_abs(input, ABS_MT_TOUCH_MAJOR, major); input 447 drivers/input/touchscreen/sur40.c input_report_abs(input, ABS_MT_TOUCH_MINOR, minor); input 454 drivers/input/touchscreen/sur40.c struct input_dev *input = polldev->input; input 515 drivers/input/touchscreen/sur40.c sur40_report_blob(&(inblob[i]), input); input 520 drivers/input/touchscreen/sur40.c input_mt_sync_frame(input); input 521 drivers/input/touchscreen/sur40.c input_sync(input); input 692 drivers/input/touchscreen/sur40.c sur40_input_setup(poll_dev->input); input 694 drivers/input/touchscreen/sur40.c poll_dev->input->name = DRIVER_LONG; input 695 drivers/input/touchscreen/sur40.c usb_to_input_id(usbdev, &poll_dev->input->id); input 698 drivers/input/touchscreen/sur40.c poll_dev->input->phys = sur40->phys; input 699 drivers/input/touchscreen/sur40.c poll_dev->input->dev.parent = &interface->dev; input 703 drivers/input/touchscreen/sur40.c sur40->input = poll_dev; input 800 drivers/input/touchscreen/sur40.c input_free_polled_device(sur40->input); input 816 drivers/input/touchscreen/sur40.c input_unregister_polled_device(sur40->input); input 817 drivers/input/touchscreen/sur40.c input_free_polled_device(sur40->input); input 254 drivers/input/touchscreen/surface3_spi.c struct input_dev *input; input 257 drivers/input/touchscreen/surface3_spi.c input = devm_input_allocate_device(&data->spi->dev); input 258 drivers/input/touchscreen/surface3_spi.c if (!input) input 261 drivers/input/touchscreen/surface3_spi.c data->input_dev = input; input 263 drivers/input/touchscreen/surface3_spi.c input_set_abs_params(input, ABS_MT_POSITION_X, 0, 9600, 0, 0); input 264 drivers/input/touchscreen/surface3_spi.c input_abs_set_res(input, ABS_MT_POSITION_X, 40); input 265 drivers/input/touchscreen/surface3_spi.c input_set_abs_params(input, ABS_MT_POSITION_Y, 0, 7200, 0, 0); input 266 drivers/input/touchscreen/surface3_spi.c input_abs_set_res(input, ABS_MT_POSITION_Y, 48); input 267 drivers/input/touchscreen/surface3_spi.c input_set_abs_params(input, ABS_MT_WIDTH_MAJOR, 0, 1024, 0, 0); input 268 drivers/input/touchscreen/surface3_spi.c input_set_abs_params(input, ABS_MT_WIDTH_MINOR, 0, 1024, 0, 0); input 269 drivers/input/touchscreen/surface3_spi.c input_mt_init_slots(input, 10, INPUT_MT_DIRECT); input 271 drivers/input/touchscreen/surface3_spi.c input->name = "Surface3 SPI Capacitive TouchScreen"; input 272 drivers/input/touchscreen/surface3_spi.c input->phys = "input/ts"; input 273 drivers/input/touchscreen/surface3_spi.c input->id.bustype = BUS_SPI; input 274 drivers/input/touchscreen/surface3_spi.c input->id.vendor = 0x045e; /* Microsoft */ input 275 drivers/input/touchscreen/surface3_spi.c input->id.product = 0x0001; input 276 drivers/input/touchscreen/surface3_spi.c input->id.version = 0x0000; input 278 drivers/input/touchscreen/surface3_spi.c error = input_register_device(input); input 290 drivers/input/touchscreen/surface3_spi.c struct input_dev *input; input 293 drivers/input/touchscreen/surface3_spi.c input = devm_input_allocate_device(&data->spi->dev); input 294 drivers/input/touchscreen/surface3_spi.c if (!input) input 297 drivers/input/touchscreen/surface3_spi.c data->pen_input_dev = input; input 300 drivers/input/touchscreen/surface3_spi.c __set_bit(INPUT_PROP_DIRECT, input->propbit); input 301 drivers/input/touchscreen/surface3_spi.c __set_bit(INPUT_PROP_POINTER, input->propbit); input 302 drivers/input/touchscreen/surface3_spi.c input_set_abs_params(input, ABS_X, 0, 9600, 0, 0); input 303 drivers/input/touchscreen/surface3_spi.c input_abs_set_res(input, ABS_X, 40); input 304 drivers/input/touchscreen/surface3_spi.c input_set_abs_params(input, ABS_Y, 0, 7200, 0, 0); input 305 drivers/input/touchscreen/surface3_spi.c input_abs_set_res(input, ABS_Y, 48); input 306 drivers/input/touchscreen/surface3_spi.c input_set_abs_params(input, ABS_PRESSURE, 0, 1024, 0, 0); input 307 drivers/input/touchscreen/surface3_spi.c input_set_capability(input, EV_KEY, BTN_TOUCH); input 308 drivers/input/touchscreen/surface3_spi.c input_set_capability(input, EV_KEY, BTN_STYLUS); input 309 drivers/input/touchscreen/surface3_spi.c input_set_capability(input, EV_KEY, BTN_TOOL_PEN); input 310 drivers/input/touchscreen/surface3_spi.c input_set_capability(input, EV_KEY, BTN_TOOL_RUBBER); input 312 drivers/input/touchscreen/surface3_spi.c input->name = "Surface3 SPI Pen Input"; input 313 drivers/input/touchscreen/surface3_spi.c input->phys = "input/ts"; input 314 drivers/input/touchscreen/surface3_spi.c input->id.bustype = BUS_SPI; input 315 drivers/input/touchscreen/surface3_spi.c input->id.vendor = 0x045e; /* Microsoft */ input 316 drivers/input/touchscreen/surface3_spi.c input->id.product = 0x0002; input 317 drivers/input/touchscreen/surface3_spi.c input->id.version = 0x0000; input 319 drivers/input/touchscreen/surface3_spi.c error = input_register_device(input); input 97 drivers/input/touchscreen/sx8654.c struct input_dev *input; input 111 drivers/input/touchscreen/sx8654.c struct input_dev *input_dev = ts->input; input 181 drivers/input/touchscreen/sx8654.c touchscreen_report_pos(ts->input, &ts->props, x, y, false); input 182 drivers/input/touchscreen/sx8654.c input_report_key(ts->input, BTN_TOUCH, 1); input 183 drivers/input/touchscreen/sx8654.c input_sync(ts->input); input 210 drivers/input/touchscreen/sx8654.c input_report_key(sx8654->input, BTN_TOUCH, 0); input 211 drivers/input/touchscreen/sx8654.c input_sync(sx8654->input); input 228 drivers/input/touchscreen/sx8654.c touchscreen_report_pos(sx8654->input, &sx8654->props, x, y, input 230 drivers/input/touchscreen/sx8654.c input_report_key(sx8654->input, BTN_TOUCH, 1); input 231 drivers/input/touchscreen/sx8654.c input_sync(sx8654->input); input 313 drivers/input/touchscreen/sx8654.c struct input_dev *input; input 349 drivers/input/touchscreen/sx8654.c input = devm_input_allocate_device(&client->dev); input 350 drivers/input/touchscreen/sx8654.c if (!input) input 353 drivers/input/touchscreen/sx8654.c input->name = "SX8654 I2C Touchscreen"; input 354 drivers/input/touchscreen/sx8654.c input->id.bustype = BUS_I2C; input 355 drivers/input/touchscreen/sx8654.c input->dev.parent = &client->dev; input 356 drivers/input/touchscreen/sx8654.c input->open = sx8654_open; input 357 drivers/input/touchscreen/sx8654.c input->close = sx8654_close; input 359 drivers/input/touchscreen/sx8654.c __set_bit(INPUT_PROP_DIRECT, input->propbit); input 360 drivers/input/touchscreen/sx8654.c input_set_capability(input, EV_KEY, BTN_TOUCH); input 361 drivers/input/touchscreen/sx8654.c input_set_abs_params(input, ABS_X, 0, MAX_12BIT, 0, 0); input 362 drivers/input/touchscreen/sx8654.c input_set_abs_params(input, ABS_Y, 0, MAX_12BIT, 0, 0); input 364 drivers/input/touchscreen/sx8654.c touchscreen_parse_properties(input, false, &sx8654->props); input 367 drivers/input/touchscreen/sx8654.c sx8654->input = input; input 369 drivers/input/touchscreen/sx8654.c input_set_drvdata(sx8654->input, sx8654); input 415 drivers/input/touchscreen/sx8654.c error = input_register_device(sx8654->input); input 48 drivers/input/touchscreen/ti_am335x_tsc.c struct input_dev *input; input 272 drivers/input/touchscreen/ti_am335x_tsc.c struct input_dev *input_dev = ts_dev->input; input 425 drivers/input/touchscreen/ti_am335x_tsc.c ts_dev->input = input_dev; input 501 drivers/input/touchscreen/ti_am335x_tsc.c input_unregister_device(ts_dev->input); input 154 drivers/input/touchscreen/tps6507x-ts.c struct input_dev *input_dev = poll_dev->input; input 256 drivers/input/touchscreen/tps6507x-ts.c input_dev = poll_dev->input; input 75 drivers/input/touchscreen/ts4800-ts.c struct input_dev *input_dev = dev->input; input 179 drivers/input/touchscreen/ts4800-ts.c poll_dev->input->name = "TS-4800 Touchscreen"; input 180 drivers/input/touchscreen/ts4800-ts.c poll_dev->input->phys = ts->phys; input 182 drivers/input/touchscreen/ts4800-ts.c input_set_capability(poll_dev->input, EV_KEY, BTN_TOUCH); input 183 drivers/input/touchscreen/ts4800-ts.c input_set_abs_params(poll_dev->input, ABS_X, 0, MAX_12BIT, 0, 0); input 184 drivers/input/touchscreen/ts4800-ts.c input_set_abs_params(poll_dev->input, ABS_Y, 0, MAX_12BIT, 0, 0); input 59 drivers/input/touchscreen/tsc2007.h struct input_dev *input; input 113 drivers/input/touchscreen/tsc2007_core.c struct input_dev *input = ts->input; input 143 drivers/input/touchscreen/tsc2007_core.c input_report_key(input, BTN_TOUCH, 1); input 144 drivers/input/touchscreen/tsc2007_core.c input_report_abs(input, ABS_X, tc.x); input 145 drivers/input/touchscreen/tsc2007_core.c input_report_abs(input, ABS_Y, tc.y); input 146 drivers/input/touchscreen/tsc2007_core.c input_report_abs(input, ABS_PRESSURE, rt); input 148 drivers/input/touchscreen/tsc2007_core.c input_sync(input); input 164 drivers/input/touchscreen/tsc2007_core.c input_report_key(input, BTN_TOUCH, 0); input 165 drivers/input/touchscreen/tsc2007_core.c input_report_abs(input, ABS_PRESSURE, 0); input 166 drivers/input/touchscreen/tsc2007_core.c input_sync(input); input 349 drivers/input/touchscreen/tsc2007_core.c ts->input = input_dev; input 410 drivers/input/touchscreen/tsc200x-core.c static int tsc200x_open(struct input_dev *input) input 412 drivers/input/touchscreen/tsc200x-core.c struct tsc200x *ts = input_get_drvdata(input); input 426 drivers/input/touchscreen/tsc200x-core.c static void tsc200x_close(struct input_dev *input) input 428 drivers/input/touchscreen/tsc200x-core.c struct tsc200x *ts = input_get_drvdata(input); input 96 drivers/input/touchscreen/usbtouchscreen.c struct input_dev *input; input 561 drivers/input/touchscreen/usbtouchscreen.c input_set_abs_params(usbtouch->input, ABS_X, 0, 0xffff, 0, 0); input 562 drivers/input/touchscreen/usbtouchscreen.c input_set_abs_params(usbtouch->input, ABS_Y, 0, 0xffff, 0, 0); input 1068 drivers/input/touchscreen/usbtouchscreen.c input_set_abs_params(usbtouch->input, ABS_X, input 1071 drivers/input/touchscreen/usbtouchscreen.c input_set_abs_params(usbtouch->input, ABS_Y, input 1101 drivers/input/touchscreen/usbtouchscreen.c input_report_abs(usbtouch->input, input 1103 drivers/input/touchscreen/usbtouchscreen.c input_report_abs(usbtouch->input, input 1105 drivers/input/touchscreen/usbtouchscreen.c input_report_abs(usbtouch->input, input 1107 drivers/input/touchscreen/usbtouchscreen.c input_report_abs(usbtouch->input, input 1109 drivers/input/touchscreen/usbtouchscreen.c input_report_abs(usbtouch->input, input 1111 drivers/input/touchscreen/usbtouchscreen.c input_mt_sync(usbtouch->input); input 1393 drivers/input/touchscreen/usbtouchscreen.c input_report_key(usbtouch->input, BTN_TOUCH, usbtouch->touch); input 1396 drivers/input/touchscreen/usbtouchscreen.c input_report_abs(usbtouch->input, ABS_X, usbtouch->y); input 1397 drivers/input/touchscreen/usbtouchscreen.c input_report_abs(usbtouch->input, ABS_Y, usbtouch->x); input 1399 drivers/input/touchscreen/usbtouchscreen.c input_report_abs(usbtouch->input, ABS_X, usbtouch->x); input 1400 drivers/input/touchscreen/usbtouchscreen.c input_report_abs(usbtouch->input, ABS_Y, usbtouch->y); input 1403 drivers/input/touchscreen/usbtouchscreen.c input_report_abs(usbtouch->input, ABS_PRESSURE, usbtouch->press); input 1404 drivers/input/touchscreen/usbtouchscreen.c input_sync(usbtouch->input); input 1527 drivers/input/touchscreen/usbtouchscreen.c static int usbtouch_open(struct input_dev *input) input 1529 drivers/input/touchscreen/usbtouchscreen.c struct usbtouch_usb *usbtouch = input_get_drvdata(input); input 1555 drivers/input/touchscreen/usbtouchscreen.c static void usbtouch_close(struct input_dev *input) input 1557 drivers/input/touchscreen/usbtouchscreen.c struct usbtouch_usb *usbtouch = input_get_drvdata(input); input 1702 drivers/input/touchscreen/usbtouchscreen.c usbtouch->input = input_dev; input 1777 drivers/input/touchscreen/usbtouchscreen.c err = input_register_device(usbtouch->input); input 1830 drivers/input/touchscreen/usbtouchscreen.c input_unregister_device(usbtouch->input); input 35 drivers/input/touchscreen/wacom_i2c.c struct input_dev *input; input 92 drivers/input/touchscreen/wacom_i2c.c struct input_dev *input = wac_i2c->input; input 117 drivers/input/touchscreen/wacom_i2c.c input_report_key(input, BTN_TOUCH, tsw || ers); input 118 drivers/input/touchscreen/wacom_i2c.c input_report_key(input, wac_i2c->tool, wac_i2c->prox); input 119 drivers/input/touchscreen/wacom_i2c.c input_report_key(input, BTN_STYLUS, f1); input 120 drivers/input/touchscreen/wacom_i2c.c input_report_key(input, BTN_STYLUS2, f2); input 121 drivers/input/touchscreen/wacom_i2c.c input_report_abs(input, ABS_X, x); input 122 drivers/input/touchscreen/wacom_i2c.c input_report_abs(input, ABS_Y, y); input 123 drivers/input/touchscreen/wacom_i2c.c input_report_abs(input, ABS_PRESSURE, pressure); input 124 drivers/input/touchscreen/wacom_i2c.c input_sync(input); input 152 drivers/input/touchscreen/wacom_i2c.c struct input_dev *input; input 166 drivers/input/touchscreen/wacom_i2c.c input = input_allocate_device(); input 167 drivers/input/touchscreen/wacom_i2c.c if (!wac_i2c || !input) { input 173 drivers/input/touchscreen/wacom_i2c.c wac_i2c->input = input; input 175 drivers/input/touchscreen/wacom_i2c.c input->name = "Wacom I2C Digitizer"; input 176 drivers/input/touchscreen/wacom_i2c.c input->id.bustype = BUS_I2C; input 177 drivers/input/touchscreen/wacom_i2c.c input->id.vendor = 0x56a; input 178 drivers/input/touchscreen/wacom_i2c.c input->id.version = features.fw_version; input 179 drivers/input/touchscreen/wacom_i2c.c input->dev.parent = &client->dev; input 180 drivers/input/touchscreen/wacom_i2c.c input->open = wacom_i2c_open; input 181 drivers/input/touchscreen/wacom_i2c.c input->close = wacom_i2c_close; input 183 drivers/input/touchscreen/wacom_i2c.c input->evbit[0] |= BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); input 185 drivers/input/touchscreen/wacom_i2c.c __set_bit(BTN_TOOL_PEN, input->keybit); input 186 drivers/input/touchscreen/wacom_i2c.c __set_bit(BTN_TOOL_RUBBER, input->keybit); input 187 drivers/input/touchscreen/wacom_i2c.c __set_bit(BTN_STYLUS, input->keybit); input 188 drivers/input/touchscreen/wacom_i2c.c __set_bit(BTN_STYLUS2, input->keybit); input 189 drivers/input/touchscreen/wacom_i2c.c __set_bit(BTN_TOUCH, input->keybit); input 191 drivers/input/touchscreen/wacom_i2c.c input_set_abs_params(input, ABS_X, 0, features.x_max, 0, 0); input 192 drivers/input/touchscreen/wacom_i2c.c input_set_abs_params(input, ABS_Y, 0, features.y_max, 0, 0); input 193 drivers/input/touchscreen/wacom_i2c.c input_set_abs_params(input, ABS_PRESSURE, input 196 drivers/input/touchscreen/wacom_i2c.c input_set_drvdata(input, wac_i2c); input 210 drivers/input/touchscreen/wacom_i2c.c error = input_register_device(wac_i2c->input); input 223 drivers/input/touchscreen/wacom_i2c.c input_free_device(input); input 234 drivers/input/touchscreen/wacom_i2c.c input_unregister_device(wac_i2c->input); input 180 drivers/input/touchscreen/wdt87xx_i2c.c struct input_dev *input; input 952 drivers/input/touchscreen/wdt87xx_i2c.c static void wdt87xx_report_contact(struct input_dev *input, input 982 drivers/input/touchscreen/wdt87xx_i2c.c dev_dbg(input->dev.parent, "tip on (%d), x(%d), y(%d)\n", input 985 drivers/input/touchscreen/wdt87xx_i2c.c input_mt_slot(input, finger_id); input 986 drivers/input/touchscreen/wdt87xx_i2c.c input_mt_report_slot_state(input, MT_TOOL_FINGER, 1); input 987 drivers/input/touchscreen/wdt87xx_i2c.c input_report_abs(input, ABS_MT_TOUCH_MAJOR, w); input 988 drivers/input/touchscreen/wdt87xx_i2c.c input_report_abs(input, ABS_MT_PRESSURE, p); input 989 drivers/input/touchscreen/wdt87xx_i2c.c input_report_abs(input, ABS_MT_POSITION_X, x); input 990 drivers/input/touchscreen/wdt87xx_i2c.c input_report_abs(input, ABS_MT_POSITION_Y, y); input 1012 drivers/input/touchscreen/wdt87xx_i2c.c wdt87xx_report_contact(wdt->input, input 1017 drivers/input/touchscreen/wdt87xx_i2c.c input_mt_sync_frame(wdt->input); input 1018 drivers/input/touchscreen/wdt87xx_i2c.c input_sync(wdt->input); input 1027 drivers/input/touchscreen/wdt87xx_i2c.c struct input_dev *input; input 1031 drivers/input/touchscreen/wdt87xx_i2c.c input = devm_input_allocate_device(dev); input 1032 drivers/input/touchscreen/wdt87xx_i2c.c if (!input) { input 1036 drivers/input/touchscreen/wdt87xx_i2c.c wdt->input = input; input 1038 drivers/input/touchscreen/wdt87xx_i2c.c input->name = "WDT87xx Touchscreen"; input 1039 drivers/input/touchscreen/wdt87xx_i2c.c input->id.bustype = BUS_I2C; input 1040 drivers/input/touchscreen/wdt87xx_i2c.c input->id.vendor = wdt->param.vendor_id; input 1041 drivers/input/touchscreen/wdt87xx_i2c.c input->id.product = wdt->param.product_id; input 1042 drivers/input/touchscreen/wdt87xx_i2c.c input->phys = wdt->phys; input 1044 drivers/input/touchscreen/wdt87xx_i2c.c input_set_abs_params(input, ABS_MT_POSITION_X, 0, input 1046 drivers/input/touchscreen/wdt87xx_i2c.c input_set_abs_params(input, ABS_MT_POSITION_Y, 0, input 1048 drivers/input/touchscreen/wdt87xx_i2c.c input_abs_set_res(input, ABS_MT_POSITION_X, res); input 1049 drivers/input/touchscreen/wdt87xx_i2c.c input_abs_set_res(input, ABS_MT_POSITION_Y, res); input 1051 drivers/input/touchscreen/wdt87xx_i2c.c input_set_abs_params(input, ABS_MT_TOUCH_MAJOR, input 1053 drivers/input/touchscreen/wdt87xx_i2c.c input_set_abs_params(input, ABS_MT_PRESSURE, 0, 0xFF, 0, 0); input 1055 drivers/input/touchscreen/wdt87xx_i2c.c input_mt_init_slots(input, WDT_MAX_FINGER, input 1058 drivers/input/touchscreen/wdt87xx_i2c.c error = input_register_device(input); input 27 drivers/input/touchscreen/zet6223.c struct input_dev *input; input 84 drivers/input/touchscreen/zet6223.c input_mt_slot(ts->input, i); input 85 drivers/input/touchscreen/zet6223.c input_mt_report_slot_state(ts->input, MT_TOOL_FINGER, true); input 86 drivers/input/touchscreen/zet6223.c input_event(ts->input, EV_ABS, ABS_MT_POSITION_X, input 88 drivers/input/touchscreen/zet6223.c input_event(ts->input, EV_ABS, ABS_MT_POSITION_Y, input 92 drivers/input/touchscreen/zet6223.c input_mt_sync_frame(ts->input); input 93 drivers/input/touchscreen/zet6223.c input_sync(ts->input); input 175 drivers/input/touchscreen/zet6223.c struct input_dev *input; input 197 drivers/input/touchscreen/zet6223.c ts->input = input = devm_input_allocate_device(dev); input 198 drivers/input/touchscreen/zet6223.c if (!input) input 201 drivers/input/touchscreen/zet6223.c input_set_drvdata(input, ts); input 203 drivers/input/touchscreen/zet6223.c input->name = client->name; input 204 drivers/input/touchscreen/zet6223.c input->id.bustype = BUS_I2C; input 205 drivers/input/touchscreen/zet6223.c input->open = zet6223_start; input 206 drivers/input/touchscreen/zet6223.c input->close = zet6223_stop; input 208 drivers/input/touchscreen/zet6223.c input_set_abs_params(input, ABS_MT_POSITION_X, 0, ts->max_x, 0, 0); input 209 drivers/input/touchscreen/zet6223.c input_set_abs_params(input, ABS_MT_POSITION_Y, 0, ts->max_y, 0, 0); input 211 drivers/input/touchscreen/zet6223.c touchscreen_parse_properties(input, true, &ts->prop); input 213 drivers/input/touchscreen/zet6223.c error = input_mt_init_slots(input, ts->fingernum, input 226 drivers/input/touchscreen/zet6223.c zet6223_stop(input); input 228 drivers/input/touchscreen/zet6223.c error = input_register_device(input); input 108 drivers/input/touchscreen/zforce_ts.c struct input_dev *input; input 387 drivers/input/touchscreen/zforce_ts.c input_mt_slot(ts->input, point.id - 1); input 389 drivers/input/touchscreen/zforce_ts.c input_mt_report_slot_state(ts->input, MT_TOOL_FINGER, input 393 drivers/input/touchscreen/zforce_ts.c input_report_abs(ts->input, ABS_MT_POSITION_X, input 395 drivers/input/touchscreen/zforce_ts.c input_report_abs(ts->input, ABS_MT_POSITION_Y, input 397 drivers/input/touchscreen/zforce_ts.c input_report_abs(ts->input, ABS_MT_TOUCH_MAJOR, input 399 drivers/input/touchscreen/zforce_ts.c input_report_abs(ts->input, ABS_MT_TOUCH_MINOR, input 401 drivers/input/touchscreen/zforce_ts.c input_report_abs(ts->input, ABS_MT_ORIENTATION, input 407 drivers/input/touchscreen/zforce_ts.c input_mt_sync_frame(ts->input); input 409 drivers/input/touchscreen/zforce_ts.c input_mt_report_finger_count(ts->input, num); input 411 drivers/input/touchscreen/zforce_ts.c input_sync(ts->input); input 615 drivers/input/touchscreen/zforce_ts.c struct input_dev *input = ts->input; input 618 drivers/input/touchscreen/zforce_ts.c mutex_lock(&input->mutex); input 629 drivers/input/touchscreen/zforce_ts.c if (!input->users) { input 636 drivers/input/touchscreen/zforce_ts.c } else if (input->users) { input 651 drivers/input/touchscreen/zforce_ts.c mutex_unlock(&input->mutex); input 660 drivers/input/touchscreen/zforce_ts.c struct input_dev *input = ts->input; input 663 drivers/input/touchscreen/zforce_ts.c mutex_lock(&input->mutex); input 673 drivers/input/touchscreen/zforce_ts.c if (!input->users) { input 678 drivers/input/touchscreen/zforce_ts.c } else if (input->users) { input 689 drivers/input/touchscreen/zforce_ts.c mutex_unlock(&input->mutex); input 841 drivers/input/touchscreen/zforce_ts.c ts->input = input_dev; input 867 drivers/input/touchscreen/zforce_ts.c input_set_drvdata(ts->input, ts); input 211 drivers/macintosh/adbhid.c struct input_dev *input; input 332 drivers/macintosh/adbhid.c input_report_key(ahid->input, KEY_CAPSLOCK, 1); input 333 drivers/macintosh/adbhid.c input_sync(ahid->input); input 334 drivers/macintosh/adbhid.c input_report_key(ahid->input, KEY_CAPSLOCK, 0); input 335 drivers/macintosh/adbhid.c input_sync(ahid->input); input 396 drivers/macintosh/adbhid.c input_report_key(adbhid[id]->input, key, !up_flag); input 397 drivers/macintosh/adbhid.c input_sync(adbhid[id]->input); input 488 drivers/macintosh/adbhid.c input_report_key(adbhid[id]->input, BTN_LEFT, !((data[1] >> 7) & 1)); input 489 drivers/macintosh/adbhid.c input_report_key(adbhid[id]->input, BTN_MIDDLE, !((data[2] >> 7) & 1)); input 492 drivers/macintosh/adbhid.c input_report_key(adbhid[id]->input, BTN_RIGHT, !((data[3] >> 7) & 1)); input 494 drivers/macintosh/adbhid.c input_report_rel(adbhid[id]->input, REL_X, input 496 drivers/macintosh/adbhid.c input_report_rel(adbhid[id]->input, REL_Y, input 499 drivers/macintosh/adbhid.c input_sync(adbhid[id]->input); input 520 drivers/macintosh/adbhid.c input_report_key(adbhid[id]->input, KEY_SOUND, down); input 524 drivers/macintosh/adbhid.c input_report_key(adbhid[id]->input, KEY_MUTE, down); input 528 drivers/macintosh/adbhid.c input_report_key(adbhid[id]->input, KEY_VOLUMEDOWN, down); input 532 drivers/macintosh/adbhid.c input_report_key(adbhid[id]->input, KEY_VOLUMEUP, down); input 554 drivers/macintosh/adbhid.c input_report_key(adbhid[id]->input, KEY_MUTE, down); input 558 drivers/macintosh/adbhid.c input_report_key(adbhid[id]->input, KEY_VOLUMEDOWN, down); input 562 drivers/macintosh/adbhid.c input_report_key(adbhid[id]->input, KEY_VOLUMEUP, down); input 566 drivers/macintosh/adbhid.c input_report_key(adbhid[id]->input, KEY_EJECTCD, down); input 574 drivers/macintosh/adbhid.c input_report_key(adbhid[id]->input, KEY_BRIGHTNESSDOWN, down); input 582 drivers/macintosh/adbhid.c input_report_key(adbhid[id]->input, KEY_BRIGHTNESSUP, down); input 586 drivers/macintosh/adbhid.c input_report_key(adbhid[id]->input, KEY_SWITCHVIDEOMODE, down); input 590 drivers/macintosh/adbhid.c input_report_key(adbhid[id]->input, KEY_KBDILLUMTOGGLE, down); input 594 drivers/macintosh/adbhid.c input_report_key(adbhid[id]->input, KEY_KBDILLUMDOWN, down); input 602 drivers/macintosh/adbhid.c input_report_key(adbhid[id]->input, KEY_KBDILLUMUP, down); input 625 drivers/macintosh/adbhid.c input_sync(adbhid[id]->input); input 727 drivers/macintosh/adbhid.c del_timer_sync(&adbhid[i]->input->timer); input 776 drivers/macintosh/adbhid.c hid->input = input_dev; input 919 drivers/macintosh/adbhid.c input_unregister_device(adbhid[id]->input); input 931 drivers/macintosh/adbhid.c if (adbhid[id]->input->id.product != input 30 drivers/macintosh/ams/ams-input.c struct input_dev *idev = dev->input; input 53 drivers/macintosh/ams/ams-input.c struct input_dev *input; input 69 drivers/macintosh/ams/ams-input.c input = ams_info.idev->input; input 70 drivers/macintosh/ams/ams-input.c input->name = "Apple Motion Sensor"; input 71 drivers/macintosh/ams/ams-input.c input->id.bustype = ams_info.bustype; input 72 drivers/macintosh/ams/ams-input.c input->id.vendor = 0; input 73 drivers/macintosh/ams/ams-input.c input->dev.parent = &ams_info.of_dev->dev; input 75 drivers/macintosh/ams/ams-input.c input_set_abs_params(input, ABS_X, -50, 50, 3, 0); input 76 drivers/macintosh/ams/ams-input.c input_set_abs_params(input, ABS_Y, -50, 50, 3, 0); input 77 drivers/macintosh/ams/ams-input.c input_set_abs_params(input, ABS_Z, -50, 50, 3, 0); input 79 drivers/macintosh/ams/ams-input.c set_bit(EV_ABS, input->evbit); input 80 drivers/macintosh/ams/ams-input.c set_bit(EV_KEY, input->evbit); input 81 drivers/macintosh/ams/ams-input.c set_bit(BTN_TOUCH, input->keybit); input 152 drivers/macintosh/mac_hid.c MODULE_DEVICE_TABLE(input, mac_hid_emumouse_ids); input 122 drivers/md/dm-cache-target.c blk_status_t input; input 129 drivers/md/dm-cache-target.c k->input = 0; input 200 drivers/md/dm-cache-target.c k->input = r; input 1181 drivers/md/dm-cache-target.c mg->k.input = BLK_STS_IOERR; input 1223 drivers/md/dm-cache-target.c mg->k.input = bio->bi_status; input 1278 drivers/md/dm-cache-target.c else if (mg->k.input) input 1279 drivers/md/dm-cache-target.c mg->overwrite_bio->bi_status = mg->k.input; input 1324 drivers/md/dm-cache-target.c mg_complete(mg, mg->k.input == 0); input 1396 drivers/md/dm-cache-target.c if (mg->k.input) input 1410 drivers/md/dm-cache-target.c if (mg->k.input) input 1562 drivers/md/dm-cache-target.c invalidate_complete(mg, !mg->k.input); input 574 drivers/md/dm-table.c int dm_split_args(int *argc, char ***argvp, char *input) input 576 drivers/md/dm-table.c char *start, *end = input, *out, **argv = NULL; input 581 drivers/md/dm-table.c if (!input) { input 114 drivers/md/dm.h int dm_split_args(int *argc, char ***argvp, char *input); input 561 drivers/media/dvb-frontends/au8522_decoder.c u32 input, u32 output, u32 config) input 565 drivers/media/dvb-frontends/au8522_decoder.c switch(input) { input 569 drivers/media/dvb-frontends/au8522_decoder.c state->vid_input = input; input 598 drivers/media/dvb-frontends/au8522_decoder.c u32 input, u32 output, u32 config) input 602 drivers/media/dvb-frontends/au8522_decoder.c state->aud_input = input; input 776 drivers/media/dvb-frontends/mxl5xx.c static int set_input(struct dvb_frontend *fe, int input) input 780 drivers/media/dvb-frontends/mxl5xx.c state->tuner = input; input 128 drivers/media/dvb-frontends/nxt200x.c u16 input = (u16) c & 0xFF; input 130 drivers/media/dvb-frontends/nxt200x.c input<<=8; input 132 drivers/media/dvb-frontends/nxt200x.c if((crc^input) & 0x8000) input 136 drivers/media/dvb-frontends/nxt200x.c input<<=1; input 793 drivers/media/firewire/firedtv-avc.c stat->input = r->operand[12] >> 7 & 1; input 35 drivers/media/firewire/firedtv.h unsigned input:1; input 751 drivers/media/i2c/ad9389b.c static int ad9389b_s_routing(struct v4l2_subdev *sd, u32 input, u32 output, u32 config) input 43 drivers/media/i2c/adv7170.c int input; input 192 drivers/media/i2c/adv7170.c if (encoder->input == 0) input 198 drivers/media/i2c/adv7170.c if (encoder->input == 0) input 213 drivers/media/i2c/adv7170.c u32 input, u32 output, u32 config) input 222 drivers/media/i2c/adv7170.c input == 0 ? "decoder" : "ZR36060"); input 224 drivers/media/i2c/adv7170.c switch (input) { input 244 drivers/media/i2c/adv7170.c v4l2_dbg(1, debug, sd, "illegal input: %d\n", input); input 247 drivers/media/i2c/adv7170.c v4l2_dbg(1, debug, sd, "switched to %s\n", inputs[input]); input 248 drivers/media/i2c/adv7170.c encoder->input = input; input 357 drivers/media/i2c/adv7170.c encoder->input = 0; input 40 drivers/media/i2c/adv7175.c int input; input 198 drivers/media/i2c/adv7175.c if (encoder->input == 0) input 204 drivers/media/i2c/adv7175.c if (encoder->input == 0) input 216 drivers/media/i2c/adv7175.c if (encoder->input == 0) input 231 drivers/media/i2c/adv7175.c u32 input, u32 output, u32 config) input 239 drivers/media/i2c/adv7175.c switch (input) { input 282 drivers/media/i2c/adv7175.c v4l2_dbg(1, debug, sd, "illegal input: %d\n", input); input 285 drivers/media/i2c/adv7175.c v4l2_dbg(1, debug, sd, "switched to %s\n", inputs[input]); input 286 drivers/media/i2c/adv7175.c encoder->input = input; input 412 drivers/media/i2c/adv7175.c encoder->input = 0; input 197 drivers/media/i2c/adv7180.c int (*select_input)(struct adv7180_state *st, unsigned int input); input 211 drivers/media/i2c/adv7180.c u8 input; input 379 drivers/media/i2c/adv7180.c static int adv7180_s_routing(struct v4l2_subdev *sd, u32 input, input 388 drivers/media/i2c/adv7180.c if (input > 31 || !(BIT(input) & state->chip_info->valid_input_mask)) { input 393 drivers/media/i2c/adv7180.c ret = state->chip_info->select_input(state, input); input 396 drivers/media/i2c/adv7180.c state->input = input; input 914 drivers/media/i2c/adv7180.c (std << 4) | state->input); input 917 drivers/media/i2c/adv7180.c static int adv7180_select_input(struct adv7180_state *state, unsigned int input) input 926 drivers/media/i2c/adv7180.c ret |= input; input 982 drivers/media/i2c/adv7180.c static enum adv7182_input_type adv7182_get_input_type(unsigned int input) input 984 drivers/media/i2c/adv7180.c switch (input) { input 1027 drivers/media/i2c/adv7180.c static int adv7182_select_input(struct adv7180_state *state, unsigned int input) input 1034 drivers/media/i2c/adv7180.c ret = adv7180_write(state, ADV7180_REG_INPUT_CONTROL, input); input 1042 drivers/media/i2c/adv7180.c input_type = adv7182_get_input_type(input); input 1354 drivers/media/i2c/adv7180.c state->input = 0; input 29 drivers/media/i2c/adv7183.c u32 input; input 240 drivers/media/i2c/adv7183.c u32 input, u32 output, u32 config) input 245 drivers/media/i2c/adv7183.c if ((input > ADV7183_COMPONENT1) || (output > ADV7183_16BIT_OUT)) input 248 drivers/media/i2c/adv7183.c if (input != decoder->input) { input 249 drivers/media/i2c/adv7183.c decoder->input = input; input 251 drivers/media/i2c/adv7183.c switch (input) { input 591 drivers/media/i2c/adv7183.c decoder->input = ADV7183_COMPOSITE4; input 340 drivers/media/i2c/adv7343.c u32 input, u32 output, u32 config) input 327 drivers/media/i2c/adv7393.c u32 input, u32 output, u32 config) input 157 drivers/media/i2c/adv748x/adv748x-afe.c static int adv748x_afe_s_input(struct adv748x_afe *afe, unsigned int input) input 161 drivers/media/i2c/adv748x/adv748x-afe.c return sdp_write(state, ADV748X_SDP_INSEL, input); input 280 drivers/media/i2c/adv748x/adv748x-afe.c ret = adv748x_afe_s_input(afe, afe->input); input 507 drivers/media/i2c/adv748x/adv748x-afe.c afe->input = 0; input 518 drivers/media/i2c/adv748x/adv748x-afe.c afe->input = i; input 523 drivers/media/i2c/adv748x/adv748x-afe.c adv748x_afe_s_input(afe, afe->input); input 525 drivers/media/i2c/adv748x/adv748x-afe.c adv_dbg(state, "AFE Default input set to %d\n", afe->input); input 160 drivers/media/i2c/adv748x/adv748x.h unsigned int input; input 1178 drivers/media/i2c/adv7511-v4l2.c static int adv7511_s_routing(struct v4l2_subdev *sd, u32 input, u32 output, u32 config) input 1787 drivers/media/i2c/adv7604.c u32 input, u32 output, u32 config) input 1792 drivers/media/i2c/adv7604.c __func__, input, state->selected_input); input 1794 drivers/media/i2c/adv7604.c if (input == state->selected_input) input 1797 drivers/media/i2c/adv7604.c if (input > state->info->max_port) input 1800 drivers/media/i2c/adv7604.c state->selected_input = input; input 1951 drivers/media/i2c/adv7842.c u32 input, u32 output, u32 config) input 1955 drivers/media/i2c/adv7842.c v4l2_dbg(2, debug, sd, "%s: input %d\n", __func__, input); input 1957 drivers/media/i2c/adv7842.c switch (input) { input 3475 drivers/media/i2c/adv7842.c state->hdmi_port_a = pdata->input == ADV7842_SELECT_HDMI_PORT_A; input 46 drivers/media/i2c/bt819.c int input; input 285 drivers/media/i2c/bt819.c u32 input, u32 output, u32 config) input 289 drivers/media/i2c/bt819.c v4l2_dbg(1, debug, sd, "set input %x\n", input); input 291 drivers/media/i2c/bt819.c if (input > 7) input 297 drivers/media/i2c/bt819.c if (decoder->input != input) { input 299 drivers/media/i2c/bt819.c decoder->input = input; input 301 drivers/media/i2c/bt819.c if (decoder->input == 0) { input 422 drivers/media/i2c/bt819.c decoder->input = 0; input 131 drivers/media/i2c/bt856.c u32 input, u32 output, u32 config) input 135 drivers/media/i2c/bt856.c v4l2_dbg(1, debug, sd, "set input %d\n", input); input 140 drivers/media/i2c/bt856.c switch (input) { input 89 drivers/media/i2c/bt866.c u32 input, u32 output, u32 config) input 127 drivers/media/i2c/bt866.c if (input == 0) input 135 drivers/media/i2c/bt866.c if (input == 2) input 141 drivers/media/i2c/bt866.c v4l2_dbg(1, debug, sd, "set input %d\n", input); input 143 drivers/media/i2c/bt866.c switch (input) { input 58 drivers/media/i2c/cs5345.c u32 input, u32 output, u32 config) input 60 drivers/media/i2c/cs5345.c if ((input & 0xf) > 6) { input 61 drivers/media/i2c/cs5345.c v4l2_err(sd, "Invalid input %d.\n", input); input 64 drivers/media/i2c/cs5345.c cs5345_write(sd, 0x09, input & 0xf); input 65 drivers/media/i2c/cs5345.c cs5345_write(sd, 0x05, input & 0xf0); input 63 drivers/media/i2c/cs53l32a.c u32 input, u32 output, u32 config) input 69 drivers/media/i2c/cs53l32a.c if (input > 2) { input 70 drivers/media/i2c/cs53l32a.c v4l2_err(sd, "Invalid input %d.\n", input); input 73 drivers/media/i2c/cs53l32a.c cs53l32a_write(sd, 0x01, 0x01 + (input << 4)); input 2500 drivers/media/i2c/cx25840/cx25840-core.c u32 input, u32 output, u32 config) input 2513 drivers/media/i2c/cx25840/cx25840-core.c return set_input(client, input, state->aud_input); input 2517 drivers/media/i2c/cx25840/cx25840-core.c u32 input, u32 output, u32 config) input 2524 drivers/media/i2c/cx25840/cx25840-core.c return set_input(client, state->vid_input, input); input 402 drivers/media/i2c/ks0127.c u32 input, u32 output, u32 config) input 406 drivers/media/i2c/ks0127.c switch (input) { input 414 drivers/media/i2c/ks0127.c "s_routing %d: Composite\n", input); input 420 drivers/media/i2c/ks0127.c ks0127_and_or(sd, KS_CMDB, 0xb0, input); input 448 drivers/media/i2c/ks0127.c "s_routing %d: S-Video\n", input); input 454 drivers/media/i2c/ks0127.c ks0127_and_or(sd, KS_CMDB, 0xb0, input); input 489 drivers/media/i2c/ks0127.c ks0127_and_or(sd, KS_CMDB, 0xb0, (input | 0x40)); input 524 drivers/media/i2c/ks0127.c "s_routing: Unknown input %d\n", input); input 27 drivers/media/i2c/m52790.c u16 input; input 43 drivers/media/i2c/m52790.c u8 sw1 = (state->input | state->output) & 0xff; input 44 drivers/media/i2c/m52790.c u8 sw2 = (state->input | state->output) >> 8; input 58 drivers/media/i2c/m52790.c u32 input, u32 output, u32 config) input 62 drivers/media/i2c/m52790.c state->input = input; input 76 drivers/media/i2c/m52790.c reg->val = state->input | state->output; input 86 drivers/media/i2c/m52790.c state->input = reg->val & 0x0303; input 98 drivers/media/i2c/m52790.c (state->input | state->output) & 0xff); input 100 drivers/media/i2c/m52790.c (state->input | state->output) >> 8); input 151 drivers/media/i2c/m52790.c state->input = M52790_IN_TUNER; input 471 drivers/media/i2c/msp3400-driver.c u32 input, u32 output, u32 config) input 475 drivers/media/i2c/msp3400-driver.c int tuner = (input >> 3) & 1; input 476 drivers/media/i2c/msp3400-driver.c int sc_in = input & 0x7; input 483 drivers/media/i2c/msp3400-driver.c if (state->route_in == input && state->route_out == output) input 485 drivers/media/i2c/msp3400-driver.c state->route_in = input; input 489 drivers/media/i2c/msp3400-driver.c if (((input >> (4 + i * 4)) & 0xf) == 0) input 712 drivers/media/i2c/msp3400-driver.c state->input = -1; input 92 drivers/media/i2c/msp3400-driver.h int input; input 481 drivers/media/i2c/mt9v032.c static unsigned int mt9v032_calc_ratio(unsigned int input, unsigned int output) input 487 drivers/media/i2c/mt9v032.c if (output * 3 > input * 2) input 489 drivers/media/i2c/mt9v032.c if (output * 3 > input) input 47 drivers/media/i2c/saa7110.c int input; input 162 drivers/media/i2c/saa7110.c decoder->input = chan; input 185 drivers/media/i2c/saa7110.c saa7110_selmux(sd, decoder->input); input 291 drivers/media/i2c/saa7110.c u32 input, u32 output, u32 config) input 295 drivers/media/i2c/saa7110.c if (input >= SAA7110_MAX_INPUT) { input 296 drivers/media/i2c/saa7110.c v4l2_dbg(1, debug, sd, "input=%d not available\n", input); input 299 drivers/media/i2c/saa7110.c if (decoder->input != input) { input 300 drivers/media/i2c/saa7110.c saa7110_selmux(sd, input); input 301 drivers/media/i2c/saa7110.c v4l2_dbg(1, debug, sd, "switched to input=%d\n", input); input 382 drivers/media/i2c/saa7110.c decoder->input = 0; input 82 drivers/media/i2c/saa7115.c int input; input 1287 drivers/media/i2c/saa7115.c u32 input, u32 output, u32 config) input 1293 drivers/media/i2c/saa7115.c input, output); input 1298 drivers/media/i2c/saa7115.c (input == SAA7115_COMPOSITE4 || input 1299 drivers/media/i2c/saa7115.c input == SAA7115_COMPOSITE5)) { input 1302 drivers/media/i2c/saa7115.c if (input > SAA7115_SVIDEO3) input 1304 drivers/media/i2c/saa7115.c if (state->input == input && state->output == output) input 1307 drivers/media/i2c/saa7115.c (input >= SAA7115_SVIDEO0) ? "S-Video" : "Composite", input 1309 drivers/media/i2c/saa7115.c state->input = input; input 1313 drivers/media/i2c/saa7115.c if (input >= SAA7115_COMPOSITE4) input 1314 drivers/media/i2c/saa7115.c input -= 2; input 1327 drivers/media/i2c/saa7115.c input); input 1332 drivers/media/i2c/saa7115.c (state->input >= SAA7115_SVIDEO0 ? 0x80 : 0x0)); input 1545 drivers/media/i2c/saa7115.c if (state->input >= 6) input 1546 drivers/media/i2c/saa7115.c v4l2_info(sd, "Input: S-Video %d\n", state->input - 6); input 1548 drivers/media/i2c/saa7115.c v4l2_info(sd, "Input: Composite %d\n", state->input); input 1882 drivers/media/i2c/saa7115.c state->input = -1; input 559 drivers/media/i2c/saa7127.c static int saa7127_set_input_type(struct v4l2_subdev *sd, int input) input 563 drivers/media/i2c/saa7127.c switch (input) { input 578 drivers/media/i2c/saa7127.c state->input_type = input; input 594 drivers/media/i2c/saa7127.c u32 input, u32 output, u32 config) input 599 drivers/media/i2c/saa7127.c if (state->input_type != input) input 600 drivers/media/i2c/saa7127.c rc = saa7127_set_input_type(sd, input); input 47 drivers/media/i2c/saa717x.c int input; input 912 drivers/media/i2c/saa717x.c u32 input, u32 output, u32 config) input 915 drivers/media/i2c/saa717x.c int is_tuner = input & 0x80; /* tuner input flag */ input 917 drivers/media/i2c/saa717x.c input &= 0x7f; input 919 drivers/media/i2c/saa717x.c v4l2_dbg(1, debug, sd, "decoder set input (%d)\n", input); input 922 drivers/media/i2c/saa717x.c if (input > 9 || input == 5) input 925 drivers/media/i2c/saa717x.c if (decoder->input != input) { input 926 drivers/media/i2c/saa717x.c int input_line = input; input 928 drivers/media/i2c/saa717x.c decoder->input = input_line; input 1071 drivers/media/i2c/saa717x.c u32 input, u32 output, u32 config) input 1075 drivers/media/i2c/saa717x.c if (input < 3) { /* FIXME! --tadachi */ input 1076 drivers/media/i2c/saa717x.c decoder->audio_input = input; input 1301 drivers/media/i2c/saa717x.c decoder->input = -1; input 234 drivers/media/i2c/saa7185.c u32 input, u32 output, u32 config) input 241 drivers/media/i2c/saa7185.c switch (input) { input 1443 drivers/media/i2c/tda1997x.c int input = (source & MASK_RATE_A_ST)?0:1; input 1444 drivers/media/i2c/tda1997x.c u8 mask = 1<<input; input 1452 drivers/media/i2c/tda1997x.c input+'A'); input 1463 drivers/media/i2c/tda1997x.c state->input_detect[input] = 0; input 1471 drivers/media/i2c/tda1997x.c input+'A'); input 1472 drivers/media/i2c/tda1997x.c state->input_detect[input] = 1; input 132 drivers/media/i2c/tvaudio.c int input; input 1756 drivers/media/i2c/tvaudio.c desc->inputmap[chip->input],desc->inputmask); input 1795 drivers/media/i2c/tvaudio.c u32 input, u32 output, u32 config) input 1802 drivers/media/i2c/tvaudio.c if (input >= 4) input 1805 drivers/media/i2c/tvaudio.c chip->input = input; input 1809 drivers/media/i2c/tvaudio.c desc->inputmap[chip->input], desc->inputmask); input 114 drivers/media/i2c/tvp514x.c u32 input; input 555 drivers/media/i2c/tvp514x.c input_sel = decoder->input; input 652 drivers/media/i2c/tvp514x.c u32 input, u32 output, u32 config) input 659 drivers/media/i2c/tvp514x.c if ((input >= INPUT_INVALID) || input 664 drivers/media/i2c/tvp514x.c input_sel = input; input 680 drivers/media/i2c/tvp514x.c decoder->input = input; input 66 drivers/media/i2c/tvp5150.c u32 input; input 264 drivers/media/i2c/tvp5150.c int input = 0; input 270 drivers/media/i2c/tvp5150.c input = 8; input 273 drivers/media/i2c/tvp5150.c switch (decoder->input) { input 275 drivers/media/i2c/tvp5150.c input |= 2; input 281 drivers/media/i2c/tvp5150.c input |= 1; input 286 drivers/media/i2c/tvp5150.c decoder->input, decoder->output, input 287 drivers/media/i2c/tvp5150.c input, opmode); input 290 drivers/media/i2c/tvp5150.c regmap_write(decoder->regmap, TVP5150_VD_IN_SRC_SEL_1, input); input 300 drivers/media/i2c/tvp5150.c if (decoder->input == TVP5150_SVIDEO) input 1194 drivers/media/i2c/tvp5150.c decoder->input = i; input 1240 drivers/media/i2c/tvp5150.c u32 input, u32 output, u32 config) input 1244 drivers/media/i2c/tvp5150.c decoder->input = input; input 1361 drivers/media/i2c/tvp5150.c struct media_entity *input = &decoder->input_ent[i]; input 1364 drivers/media/i2c/tvp5150.c if (!input->name) input 1369 drivers/media/i2c/tvp5150.c ret = media_entity_pads_init(input, 1, pad); input 1373 drivers/media/i2c/tvp5150.c ret = media_device_register_entity(sd->v4l2_dev->mdev, input); input 1377 drivers/media/i2c/tvp5150.c ret = media_create_pad_link(input, 0, &sd->entity, input 1380 drivers/media/i2c/tvp5150.c media_device_unregister_entity(input); input 1600 drivers/media/i2c/tvp5150.c struct media_entity *input; input 1649 drivers/media/i2c/tvp5150.c input = &decoder->input_ent[input_type]; input 1652 drivers/media/i2c/tvp5150.c if (input->name) { input 1655 drivers/media/i2c/tvp5150.c input->name); input 1664 drivers/media/i2c/tvp5150.c input->function = MEDIA_ENT_F_CONN_COMPOSITE; input 1667 drivers/media/i2c/tvp5150.c input->function = MEDIA_ENT_F_CONN_SVIDEO; input 1671 drivers/media/i2c/tvp5150.c input->flags = MEDIA_ENT_FL_CONNECTOR; input 1682 drivers/media/i2c/tvp5150.c input->name = name; input 1762 drivers/media/i2c/tvp5150.c core->input = TVP5150_COMPOSITE1; input 31 drivers/media/i2c/tw2804.c u8 input:1; input 147 drivers/media/i2c/tw2804.c v4l2_info(sd, "Input: %d\n", state->input); input 274 drivers/media/i2c/tw2804.c static int tw2804_s_video_routing(struct v4l2_subdev *sd, u32 input, u32 output, input 304 drivers/media/i2c/tw2804.c if (input > 1) input 307 drivers/media/i2c/tw2804.c if (input == dec->input) input 313 drivers/media/i2c/tw2804.c if (input == 0) input 321 drivers/media/i2c/tw2804.c dec->input = input; input 107 drivers/media/i2c/tw9903.c static int tw9903_s_video_routing(struct v4l2_subdev *sd, u32 input, input 110 drivers/media/i2c/tw9903.c write_reg(sd, 0x02, 0x40 | (input << 1)); input 78 drivers/media/i2c/tw9906.c static int tw9906_s_video_routing(struct v4l2_subdev *sd, u32 input, input 81 drivers/media/i2c/tw9906.c write_reg(sd, 0x02, 0x40 | (input << 1)); input 22 drivers/media/i2c/uda1342.c u32 input, u32 output, u32 config) input 26 drivers/media/i2c/uda1342.c switch (input) { input 34 drivers/media/i2c/uda1342.c v4l2_err(sd, "input %d not supported\n", input); input 114 drivers/media/i2c/upd64031a.c u32 input, u32 output, u32 config) input 119 drivers/media/i2c/upd64031a.c state->gr_mode = (input & 3) << 6; input 120 drivers/media/i2c/upd64031a.c state->direct_3dycs_connect = (input & 0xc) << 4; input 122 drivers/media/i2c/upd64031a.c (input & UPD64031A_COMPOSITE_EXTERNAL) << 1; input 124 drivers/media/i2c/upd64031a.c (input & UPD64031A_VERTICAL_EXTERNAL) << 2; input 91 drivers/media/i2c/upd64083.c u32 input, u32 output, u32 config) input 96 drivers/media/i2c/upd64083.c if (input > 7 || (input & 6) == 6) input 98 drivers/media/i2c/upd64083.c state->mode = (input & 3) << 6; input 99 drivers/media/i2c/upd64083.c state->ext_y_adc = (input & UPD64083_EXT_Y_ADC) << 3; input 38 drivers/media/i2c/vpx3220.c int input; input 370 drivers/media/i2c/vpx3220.c u32 input, u32 output, u32 config) input 384 drivers/media/i2c/vpx3220.c if (input > 2) input 387 drivers/media/i2c/vpx3220.c v4l2_dbg(1, debug, sd, "input switched to %s\n", inputs[input]); input 389 drivers/media/i2c/vpx3220.c vpx3220_write(sd, 0x33, input_vals[input][0]); input 396 drivers/media/i2c/vpx3220.c data | (input_vals[input][1] << 5) | 0x0010); input 479 drivers/media/i2c/vpx3220.c decoder->input = 0; input 50 drivers/media/i2c/wm8775.c u8 input; /* Last selected input (0-0xf) */ input 95 drivers/media/i2c/wm8775.c wm8775_write(sd, R21, 0x0c0 | state->input); input 102 drivers/media/i2c/wm8775.c wm8775_write(sd, R21, state->input); input 106 drivers/media/i2c/wm8775.c u32 input, u32 output, u32 config) input 115 drivers/media/i2c/wm8775.c if (input > 15) { input 116 drivers/media/i2c/wm8775.c v4l2_err(sd, "Invalid input %d.\n", input); input 119 drivers/media/i2c/wm8775.c state->input = input; input 149 drivers/media/i2c/wm8775.c v4l2_info(sd, "Input: %d\n", state->input); input 218 drivers/media/i2c/wm8775.c state->input = 2; input 45 drivers/media/pci/bt8xx/bttv-cards.c static void rv605_muxsel(struct bttv *btv, unsigned int input); input 46 drivers/media/pci/bt8xx/bttv-cards.c static void eagle_muxsel(struct bttv *btv, unsigned int input); input 47 drivers/media/pci/bt8xx/bttv-cards.c static void xguard_muxsel(struct bttv *btv, unsigned int input); input 48 drivers/media/pci/bt8xx/bttv-cards.c static void ivc120_muxsel(struct bttv *btv, unsigned int input); input 49 drivers/media/pci/bt8xx/bttv-cards.c static void gvc1100_muxsel(struct bttv *btv, unsigned int input); input 51 drivers/media/pci/bt8xx/bttv-cards.c static void PXC200_muxsel(struct bttv *btv, unsigned int input); input 53 drivers/media/pci/bt8xx/bttv-cards.c static void picolo_tetra_muxsel(struct bttv *btv, unsigned int input); input 56 drivers/media/pci/bt8xx/bttv-cards.c static void tibetCS16_muxsel(struct bttv *btv, unsigned int input); input 59 drivers/media/pci/bt8xx/bttv-cards.c static void kodicom4400r_muxsel(struct bttv *btv, unsigned int input); input 62 drivers/media/pci/bt8xx/bttv-cards.c static void sigmaSLC_muxsel(struct bttv *btv, unsigned int input); input 63 drivers/media/pci/bt8xx/bttv-cards.c static void sigmaSQ_muxsel(struct bttv *btv, unsigned int input); input 65 drivers/media/pci/bt8xx/bttv-cards.c static void geovision_muxsel(struct bttv *btv, unsigned int input); input 67 drivers/media/pci/bt8xx/bttv-cards.c static void phytec_muxsel(struct bttv *btv, unsigned int input); input 69 drivers/media/pci/bt8xx/bttv-cards.c static void gv800s_muxsel(struct bttv *btv, unsigned int input); input 72 drivers/media/pci/bt8xx/bttv-cards.c static void td3116_muxsel(struct bttv *btv, unsigned int input); input 3168 drivers/media/pci/bt8xx/bttv-cards.c static void eagle_muxsel(struct bttv *btv, unsigned int input) input 3170 drivers/media/pci/bt8xx/bttv-cards.c gpio_bits(3, input & 3); input 3183 drivers/media/pci/bt8xx/bttv-cards.c static void gvc1100_muxsel(struct bttv *btv, unsigned int input) input 3186 drivers/media/pci/bt8xx/bttv-cards.c gpio_write(masks[input%4]); input 3210 drivers/media/pci/bt8xx/bttv-cards.c static void sigmaSQ_muxsel(struct bttv *btv, unsigned int input) input 3212 drivers/media/pci/bt8xx/bttv-cards.c unsigned int inmux = input % 8; input 3217 drivers/media/pci/bt8xx/bttv-cards.c static void sigmaSLC_muxsel(struct bttv *btv, unsigned int input) input 3219 drivers/media/pci/bt8xx/bttv-cards.c unsigned int inmux = input % 4; input 3224 drivers/media/pci/bt8xx/bttv-cards.c static void geovision_muxsel(struct bttv *btv, unsigned int input) input 3226 drivers/media/pci/bt8xx/bttv-cards.c unsigned int inmux = input % 16; input 3249 drivers/media/pci/bt8xx/bttv-cards.c static void td3116_muxsel(struct bttv *btv, unsigned int input) input 3254 drivers/media/pci/bt8xx/bttv-cards.c highbit = (input & 0x8) >> 3 ; input 3258 drivers/media/pci/bt8xx/bttv-cards.c value |= ((input & 0x7) << 1) << (4 * highbit); input 4389 drivers/media/pci/bt8xx/bttv-cards.c static void rv605_muxsel(struct bttv *btv, unsigned int input) input 4394 drivers/media/pci/bt8xx/bttv-cards.c gpio_bits(0x07f, muxgpio[input]); input 4437 drivers/media/pci/bt8xx/bttv-cards.c static void tibetCS16_muxsel(struct bttv *btv, unsigned int input) input 4440 drivers/media/pci/bt8xx/bttv-cards.c gpio_bits(0x0f0000, input << 16); input 4497 drivers/media/pci/bt8xx/bttv-cards.c static void kodicom4400r_muxsel(struct bttv *btv, unsigned int input) input 4509 drivers/media/pci/bt8xx/bttv-cards.c xaddr = input & 0xf; input 4569 drivers/media/pci/bt8xx/bttv-cards.c static void xguard_muxsel(struct bttv *btv, unsigned int input) input 4577 drivers/media/pci/bt8xx/bttv-cards.c gpio_write(masks[input%16]); input 4585 drivers/media/pci/bt8xx/bttv-cards.c static void picolo_tetra_muxsel (struct bttv* btv, unsigned int input) input 4588 drivers/media/pci/bt8xx/bttv-cards.c dprintk("%d : picolo_tetra_muxsel => input = %d\n", btv->c.nr, input); input 4591 drivers/media/pci/bt8xx/bttv-cards.c btwrite (input<<20,BT848_GPIO_DATA); input 4627 drivers/media/pci/bt8xx/bttv-cards.c static void ivc120_muxsel(struct bttv *btv, unsigned int input) input 4630 drivers/media/pci/bt8xx/bttv-cards.c int key = input % 4; input 4631 drivers/media/pci/bt8xx/bttv-cards.c int matrix = input / 4; input 4634 drivers/media/pci/bt8xx/bttv-cards.c btv->c.nr, input, matrix, key); input 4677 drivers/media/pci/bt8xx/bttv-cards.c static void PXC200_muxsel(struct bttv *btv, unsigned int input) input 4708 drivers/media/pci/bt8xx/bttv-cards.c mux = input; input 4742 drivers/media/pci/bt8xx/bttv-cards.c static void phytec_muxsel(struct bttv *btv, unsigned int input) input 4744 drivers/media/pci/bt8xx/bttv-cards.c unsigned int mux = input % 4; input 4746 drivers/media/pci/bt8xx/bttv-cards.c if (input == btv->svhs) input 4809 drivers/media/pci/bt8xx/bttv-cards.c static void gv800s_muxsel(struct bttv *btv, unsigned int input) input 4817 drivers/media/pci/bt8xx/bttv-cards.c input = input%4; input 4824 drivers/media/pci/bt8xx/bttv-cards.c xaddr = map[yaddr][input] & 0xf; input 853 drivers/media/pci/bt8xx/bttv-driver.c if (btv->input == btv->dig) { input 936 drivers/media/pci/bt8xx/bttv-driver.c video_mux(struct bttv *btv, unsigned int input) input 940 drivers/media/pci/bt8xx/bttv-driver.c if (input >= bttv_tvcards[btv->c.type].video_inputs) input 948 drivers/media/pci/bt8xx/bttv-driver.c if (input == btv->svhs) { input 955 drivers/media/pci/bt8xx/bttv-driver.c mux = bttv_muxsel(btv, input); input 957 drivers/media/pci/bt8xx/bttv-driver.c dprintk("%d: video mux: input=%d mux=%d\n", btv->c.nr, input, mux); input 961 drivers/media/pci/bt8xx/bttv-driver.c bttv_tvcards[btv->c.type].muxsel_hook (btv, input); input 971 drivers/media/pci/bt8xx/bttv-driver.c audio_mux_gpio(struct bttv *btv, int input, int mute) input 986 drivers/media/pci/bt8xx/bttv-driver.c gpio_val = bttv_tvcards[btv->c.type].gpiomux[input]; input 999 drivers/media/pci/bt8xx/bttv-driver.c bttv_gpio_tracking(btv, audio_modes[mute_gpio ? 4 : input]); input 1028 drivers/media/pci/bt8xx/bttv-driver.c audio_input(struct bttv *btv, int input) input 1030 drivers/media/pci/bt8xx/bttv-driver.c audio_mux_gpio(btv, input, btv->mute); input 1040 drivers/media/pci/bt8xx/bttv-driver.c switch (input) { input 1080 drivers/media/pci/bt8xx/bttv-driver.c input, 0, 0); input 1161 drivers/media/pci/bt8xx/bttv-driver.c set_input(struct bttv *btv, unsigned int input, unsigned int norm) input 1165 drivers/media/pci/bt8xx/bttv-driver.c btv->input = input; input 1170 drivers/media/pci/bt8xx/bttv-driver.c btv->new_input = input; input 1172 drivers/media/pci/bt8xx/bttv-driver.c video_mux(btv,input); input 1176 drivers/media/pci/bt8xx/bttv-driver.c video_mux(btv,input); input 1178 drivers/media/pci/bt8xx/bttv-driver.c btv->audio_input = (btv->tuner_type != TUNER_ABSENT && input == 0) ? input 1249 drivers/media/pci/bt8xx/bttv-driver.c set_input(btv, btv->input, btv->tvnorm); input 1752 drivers/media/pci/bt8xx/bttv-driver.c if (i->index == btv->input) { input 1769 drivers/media/pci/bt8xx/bttv-driver.c *i = btv->input; input 3005 drivers/media/pci/bt8xx/bttv-driver.c set_input(btv, btv->input, btv->tvnorm); input 4102 drivers/media/pci/bt8xx/bttv-driver.c btv->input = 0; input 337 drivers/media/pci/bt8xx/bttv-risc.c if (btv->input == btv->dig) { input 387 drivers/media/pci/bt8xx/bttv-risc.c || btv->input == btv->dig) { input 221 drivers/media/pci/bt8xx/bttv.h void (*muxsel_hook)(struct bttv *btv, unsigned int input); input 416 drivers/media/pci/bt8xx/bttvp.h unsigned int input; input 509 drivers/media/pci/bt8xx/bttvp.h unsigned int input) input 511 drivers/media/pci/bt8xx/bttvp.h return (bttv_tvcards[btv->c.type].muxsel >> (input * 2)) & 3; input 218 drivers/media/pci/cobalt/cobalt-driver.h u32 input; input 217 drivers/media/pci/cobalt/cobalt-v4l2.c s->input == 0 ? "hdmi" : "generator", input 610 drivers/media/pci/cobalt/cobalt-v4l2.c if (s->input == 1) { input 628 drivers/media/pci/cobalt/cobalt-v4l2.c if (s->input == 1) { input 655 drivers/media/pci/cobalt/cobalt-v4l2.c if (s->input == 1) { input 668 drivers/media/pci/cobalt/cobalt-v4l2.c if (s->input == 1) { input 718 drivers/media/pci/cobalt/cobalt-v4l2.c if (s->input == 1) { input 757 drivers/media/pci/cobalt/cobalt-v4l2.c if (s->input == 1) { input 971 drivers/media/pci/cobalt/cobalt-v4l2.c *i = s->input; input 983 drivers/media/pci/cobalt/cobalt-v4l2.c s->input = i; input 987 drivers/media/pci/cobalt/cobalt-v4l2.c if (s->input == 1) /* Test Pattern Generator */ input 1079 drivers/media/pci/cobalt/cobalt-v4l2.c if (s->input == 1) input 1098 drivers/media/pci/cobalt/cobalt-v4l2.c if (s->input == 1) input 743 drivers/media/pci/cx18/cx18-av-core.c u32 input, u32 output, u32 config) input 747 drivers/media/pci/cx18/cx18-av-core.c return set_input(cx, input, state->aud_input); input 751 drivers/media/pci/cx18/cx18-av-core.c u32 input, u32 output, u32 config) input 755 drivers/media/pci/cx18/cx18-av-core.c return set_input(cx, state->vid_input, input); input 580 drivers/media/pci/cx18/cx18-cards.c int cx18_get_input(struct cx18 *cx, u16 index, struct v4l2_input *input) input 595 drivers/media/pci/cx18/cx18-cards.c input->index = index; input 596 drivers/media/pci/cx18/cx18-cards.c strscpy(input->name, input_strs[card_input->video_type - 1], input 597 drivers/media/pci/cx18/cx18-cards.c sizeof(input->name)); input 598 drivers/media/pci/cx18/cx18-cards.c input->type = (card_input->video_type == CX18_CARD_INPUT_VID_TUNER ? input 600 drivers/media/pci/cx18/cx18-cards.c input->audioset = (1 << cx->nof_audio_inputs) - 1; input 601 drivers/media/pci/cx18/cx18-cards.c input->std = (input->type == V4L2_INPUT_TYPE_TUNER) ? input 137 drivers/media/pci/cx18/cx18-cards.h int cx18_get_input(struct cx18 *cx, u16 index, struct v4l2_input *input); input 138 drivers/media/pci/cx18/cx18-cards.h int cx18_get_audio_input(struct cx18 *cx, u16 index, struct v4l2_audio *input); input 145 drivers/media/pci/cx18/cx18-gpio.c u32 input, u32 output, u32 config) input 150 drivers/media/pci/cx18/cx18-gpio.c switch (input) { input 49 drivers/media/pci/cx23885/cx23885-cards.c .input = {{ input 66 drivers/media/pci/cx23885/cx23885-cards.c .input = {{ input 92 drivers/media/pci/cx23885/cx23885-cards.c .input = {{ input 126 drivers/media/pci/cx23885/cx23885-cards.c .input = {{ input 166 drivers/media/pci/cx23885/cx23885-cards.c .input = {{ input 219 drivers/media/pci/cx23885/cx23885-cards.c .input = {{ input 254 drivers/media/pci/cx23885/cx23885-cards.c .input = {{ input 321 drivers/media/pci/cx23885/cx23885-cards.c .input = {{ input 350 drivers/media/pci/cx23885/cx23885-cards.c .input = {{ input 377 drivers/media/pci/cx23885/cx23885-cards.c .input = { input 407 drivers/media/pci/cx23885/cx23885-cards.c .input = { input 438 drivers/media/pci/cx23885/cx23885-cards.c .input = {{ input 479 drivers/media/pci/cx23885/cx23885-cards.c .input = {{ input 506 drivers/media/pci/cx23885/cx23885-cards.c .input = {{ input 530 drivers/media/pci/cx23885/cx23885-cards.c .input = { { input 538 drivers/media/pci/cx23885/cx23885-cards.c .input = {{ input 567 drivers/media/pci/cx23885/cx23885-cards.c .input = { input 626 drivers/media/pci/cx23885/cx23885-cards.c .input = {{ input 658 drivers/media/pci/cx23885/cx23885-cards.c .input = {{ input 713 drivers/media/pci/cx23885/cx23885-cards.c .input = {{ input 736 drivers/media/pci/cx23885/cx23885-cards.c .input = {{ input 785 drivers/media/pci/cx23885/cx23885-cards.c .input = {{ input 808 drivers/media/pci/cx23885/cx23885-cards.c .input = {{ input 203 drivers/media/pci/cx23885/cx23885-video.c static int cx23885_flatiron_mux(struct cx23885_dev *dev, int input) input 206 drivers/media/pci/cx23885/cx23885-video.c dprintk(1, "%s(input = %d)\n", __func__, input); input 208 drivers/media/pci/cx23885/cx23885-video.c if (input == 1) input 210 drivers/media/pci/cx23885/cx23885-video.c else if (input == 2) input 228 drivers/media/pci/cx23885/cx23885-video.c static int cx23885_video_mux(struct cx23885_dev *dev, unsigned int input) input 232 drivers/media/pci/cx23885/cx23885-video.c input, INPUT(input)->vmux, input 233 drivers/media/pci/cx23885/cx23885-video.c INPUT(input)->gpio0, INPUT(input)->gpio1, input 234 drivers/media/pci/cx23885/cx23885-video.c INPUT(input)->gpio2, INPUT(input)->gpio3); input 235 drivers/media/pci/cx23885/cx23885-video.c dev->input = input; input 241 drivers/media/pci/cx23885/cx23885-video.c if (INPUT(input)->type == CX23885_VMUX_TELEVISION) input 247 drivers/media/pci/cx23885/cx23885-video.c INPUT(input)->vmux, 0, 0); input 264 drivers/media/pci/cx23885/cx23885-video.c INPUT(input)->amux, 0, 0); input 266 drivers/media/pci/cx23885/cx23885-video.c if (INPUT(input)->amux == CX25840_AUDIO7) input 268 drivers/media/pci/cx23885/cx23885-video.c else if (INPUT(input)->amux == CX25840_AUDIO6) input 275 drivers/media/pci/cx23885/cx23885-video.c static int cx23885_audio_mux(struct cx23885_dev *dev, unsigned int input) input 277 drivers/media/pci/cx23885/cx23885-video.c dprintk(1, "%s(input=%d)\n", __func__, input); input 288 drivers/media/pci/cx23885/cx23885-video.c if (INPUT(input)->amux == CX25840_AUDIO7) input 290 drivers/media/pci/cx23885/cx23885-video.c else if (INPUT(input)->amux == CX25840_AUDIO6) input 746 drivers/media/pci/cx23885/cx23885-video.c if (dev->input == n) { input 770 drivers/media/pci/cx23885/cx23885-video.c *i = dev->input; input 849 drivers/media/pci/cx23885/cx23885-video.c if ((CX23885_VMUX_TELEVISION == INPUT(dev->input)->type) || input 850 drivers/media/pci/cx23885/cx23885-video.c (CX23885_VMUX_CABLE == INPUT(dev->input)->type)) input 864 drivers/media/pci/cx23885/cx23885-video.c if ((CX23885_VMUX_TELEVISION == INPUT(dev->input)->type) || input 865 drivers/media/pci/cx23885/cx23885-video.c (CX23885_VMUX_CABLE == INPUT(dev->input)->type)) { input 37 drivers/media/pci/cx23885/cx23885.h #define INPUT(nr) (&cx23885_boards[dev->board].input[nr]) input 217 drivers/media/pci/cx23885/cx23885.h struct cx23885_input input[MAX_CX23885_INPUT]; input 395 drivers/media/pci/cx23885/cx23885.h unsigned int input; input 251 drivers/media/pci/cx25821/cx25821.h unsigned int input; input 956 drivers/media/pci/cx88/cx88-blackbird.c *i = core->input; input 58 drivers/media/pci/cx88/cx88-cards.c .input = { { input 79 drivers/media/pci/cx88/cx88-cards.c .input = { { input 107 drivers/media/pci/cx88/cx88-cards.c .input = { { input 121 drivers/media/pci/cx88/cx88-cards.c .input = { { input 144 drivers/media/pci/cx88/cx88-cards.c .input = { { input 165 drivers/media/pci/cx88/cx88-cards.c .input = { { input 202 drivers/media/pci/cx88/cx88-cards.c .input = { { input 229 drivers/media/pci/cx88/cx88-cards.c .input = { { input 263 drivers/media/pci/cx88/cx88-cards.c .input = { { input 301 drivers/media/pci/cx88/cx88-cards.c .input = { { input 330 drivers/media/pci/cx88/cx88-cards.c .input = { { input 348 drivers/media/pci/cx88/cx88-cards.c .input = { { input 373 drivers/media/pci/cx88/cx88-cards.c .input = { { input 396 drivers/media/pci/cx88/cx88-cards.c .input = { { input 419 drivers/media/pci/cx88/cx88-cards.c .input = { { input 438 drivers/media/pci/cx88/cx88-cards.c .input = { { input 455 drivers/media/pci/cx88/cx88-cards.c .input = { { input 500 drivers/media/pci/cx88/cx88-cards.c .input = { { input 525 drivers/media/pci/cx88/cx88-cards.c .input = { { input 537 drivers/media/pci/cx88/cx88-cards.c .input = { { input 549 drivers/media/pci/cx88/cx88-cards.c .input = { { input 562 drivers/media/pci/cx88/cx88-cards.c .input = { { input 579 drivers/media/pci/cx88/cx88-cards.c .input = { { input 611 drivers/media/pci/cx88/cx88-cards.c .input = { { input 638 drivers/media/pci/cx88/cx88-cards.c .input = { { input 671 drivers/media/pci/cx88/cx88-cards.c .input = { { input 701 drivers/media/pci/cx88/cx88-cards.c .input = { { input 727 drivers/media/pci/cx88/cx88-cards.c .input = { { input 752 drivers/media/pci/cx88/cx88-cards.c .input = { { input 773 drivers/media/pci/cx88/cx88-cards.c .input = { { input 789 drivers/media/pci/cx88/cx88-cards.c .input = { { input 808 drivers/media/pci/cx88/cx88-cards.c .input = { { input 830 drivers/media/pci/cx88/cx88-cards.c .input = { { input 858 drivers/media/pci/cx88/cx88-cards.c .input = { { input 880 drivers/media/pci/cx88/cx88-cards.c .input = { { input 910 drivers/media/pci/cx88/cx88-cards.c .input = { { input 929 drivers/media/pci/cx88/cx88-cards.c .input = { { input 960 drivers/media/pci/cx88/cx88-cards.c .input = { { input 984 drivers/media/pci/cx88/cx88-cards.c .input = { { input 997 drivers/media/pci/cx88/cx88-cards.c .input = { { input 1022 drivers/media/pci/cx88/cx88-cards.c .input = { { input 1042 drivers/media/pci/cx88/cx88-cards.c .input = { { input 1060 drivers/media/pci/cx88/cx88-cards.c .input = { { input 1088 drivers/media/pci/cx88/cx88-cards.c .input = { { input 1107 drivers/media/pci/cx88/cx88-cards.c .input = { { input 1124 drivers/media/pci/cx88/cx88-cards.c .input = { { input 1153 drivers/media/pci/cx88/cx88-cards.c .input = { { input 1175 drivers/media/pci/cx88/cx88-cards.c .input = { { input 1201 drivers/media/pci/cx88/cx88-cards.c .input = { { input 1217 drivers/media/pci/cx88/cx88-cards.c .input = { { input 1230 drivers/media/pci/cx88/cx88-cards.c .input = { { input 1255 drivers/media/pci/cx88/cx88-cards.c .input = { { input 1300 drivers/media/pci/cx88/cx88-cards.c .input = { { input 1344 drivers/media/pci/cx88/cx88-cards.c .input = { { input 1361 drivers/media/pci/cx88/cx88-cards.c .input = { { input 1395 drivers/media/pci/cx88/cx88-cards.c .input = { { input 1415 drivers/media/pci/cx88/cx88-cards.c .input = { { input 1449 drivers/media/pci/cx88/cx88-cards.c .input = { { input 1482 drivers/media/pci/cx88/cx88-cards.c .input = { { input 1494 drivers/media/pci/cx88/cx88-cards.c .input = { { input 1514 drivers/media/pci/cx88/cx88-cards.c .input = { { input 1541 drivers/media/pci/cx88/cx88-cards.c .input = { { input 1564 drivers/media/pci/cx88/cx88-cards.c .input = { { input 1602 drivers/media/pci/cx88/cx88-cards.c .input = { { input 1638 drivers/media/pci/cx88/cx88-cards.c .input = { { input 1674 drivers/media/pci/cx88/cx88-cards.c .input = { { input 1709 drivers/media/pci/cx88/cx88-cards.c .input = { { input 1753 drivers/media/pci/cx88/cx88-cards.c .input = { { input 1790 drivers/media/pci/cx88/cx88-cards.c .input = { { input 1807 drivers/media/pci/cx88/cx88-cards.c .input = { { input 1826 drivers/media/pci/cx88/cx88-cards.c .input = { { input 1849 drivers/media/pci/cx88/cx88-cards.c .input = { { input 1888 drivers/media/pci/cx88/cx88-cards.c .input = { { input 1960 drivers/media/pci/cx88/cx88-cards.c .input = { { input 1994 drivers/media/pci/cx88/cx88-cards.c .input = { { input 2006 drivers/media/pci/cx88/cx88-cards.c .input = { { input 2018 drivers/media/pci/cx88/cx88-cards.c .input = { { input 2030 drivers/media/pci/cx88/cx88-cards.c .input = { { input 2042 drivers/media/pci/cx88/cx88-cards.c .input = { { input 2054 drivers/media/pci/cx88/cx88-cards.c .input = { { input 2066 drivers/media/pci/cx88/cx88-cards.c .input = { { input 2079 drivers/media/pci/cx88/cx88-cards.c .input = { { input 2091 drivers/media/pci/cx88/cx88-cards.c .input = { { input 2103 drivers/media/pci/cx88/cx88-cards.c .input = { { input 2115 drivers/media/pci/cx88/cx88-cards.c .input = { { input 2163 drivers/media/pci/cx88/cx88-cards.c .input = { { input 2204 drivers/media/pci/cx88/cx88-cards.c .input = { { input 2245 drivers/media/pci/cx88/cx88-cards.c .input = { { input 2289 drivers/media/pci/cx88/cx88-cards.c .input = { { input 2301 drivers/media/pci/cx88/cx88-cards.c .input = { { input 2995 drivers/media/pci/cx88/cx88-cards.c switch (INPUT(core->input).type) { input 3131 drivers/media/pci/cx88/cx88-cards.c switch (INPUT(core->input).type) { input 3317 drivers/media/pci/cx88/cx88-cards.c cx_write(MO_GP0_IO, core->board.input[0].gpio0); input 719 drivers/media/pci/cx88/cx88-core.c if (INPUT(core->input).type == CX88_VMUX_SVIDEO) input 819 drivers/media/pci/cx88/cx88-core.c if (INPUT(core->input).type != CX88_VMUX_TELEVISION && input 820 drivers/media/pci/cx88/cx88-core.c INPUT(core->input).type != CX88_VMUX_CABLE) input 524 drivers/media/pci/cx88/cx88-mpeg.c core->last_analog_input = core->input; input 525 drivers/media/pci/cx88/cx88-mpeg.c core->input = 0; input 527 drivers/media/pci/cx88/cx88-mpeg.c i < (sizeof(core->board.input) / input 530 drivers/media/pci/cx88/cx88-mpeg.c if (core->board.input[i].type == CX88_VMUX_DVB) { input 531 drivers/media/pci/cx88/cx88-mpeg.c core->input = i; input 561 drivers/media/pci/cx88/cx88-mpeg.c core->input = core->last_analog_input; input 282 drivers/media/pci/cx88/cx88-video.c int cx88_video_mux(struct cx88_core *core, unsigned int input) input 287 drivers/media/pci/cx88/cx88-video.c input, INPUT(input).vmux, input 288 drivers/media/pci/cx88/cx88-video.c INPUT(input).gpio0, INPUT(input).gpio1, input 289 drivers/media/pci/cx88/cx88-video.c INPUT(input).gpio2, INPUT(input).gpio3); input 290 drivers/media/pci/cx88/cx88-video.c core->input = input; input 291 drivers/media/pci/cx88/cx88-video.c cx_andor(MO_INPUT_FORMAT, 0x03 << 14, INPUT(input).vmux << 14); input 292 drivers/media/pci/cx88/cx88-video.c cx_write(MO_GP3_IO, INPUT(input).gpio3); input 293 drivers/media/pci/cx88/cx88-video.c cx_write(MO_GP0_IO, INPUT(input).gpio0); input 294 drivers/media/pci/cx88/cx88-video.c cx_write(MO_GP1_IO, INPUT(input).gpio1); input 295 drivers/media/pci/cx88/cx88-video.c cx_write(MO_GP2_IO, INPUT(input).gpio2); input 297 drivers/media/pci/cx88/cx88-video.c switch (INPUT(input).type) { input 316 drivers/media/pci/cx88/cx88-video.c if (INPUT(input).audioroute) { input 324 drivers/media/pci/cx88/cx88-video.c INPUT(input).audioroute, 0, 0); input 331 drivers/media/pci/cx88/cx88-video.c if (INPUT(input).type != CX88_VMUX_TELEVISION && input 332 drivers/media/pci/cx88/cx88-video.c INPUT(input).type != CX88_VMUX_CABLE) { input 889 drivers/media/pci/cx88/cx88-video.c *i = core->input; input 264 drivers/media/pci/cx88/cx88.h struct cx88_input input[MAX_CX88_INPUT]; input 294 drivers/media/pci/cx88/cx88.h #define INPUT(nr) (core->board.input[nr]) input 382 drivers/media/pci/cx88/cx88.h u32 input; input 726 drivers/media/pci/cx88/cx88.h int cx88_video_mux(struct cx88_core *core, unsigned int input); input 156 drivers/media/pci/ddbridge/ddbridge-core.c if (dev->port[i].input[0]) input 157 drivers/media/pci/ddbridge/ddbridge-core.c ddb_set_dma_table(dev->port[i].input[0]); input 158 drivers/media/pci/ddbridge/ddbridge-core.c if (dev->port[i].input[1]) input 159 drivers/media/pci/ddbridge/ddbridge-core.c ddb_set_dma_table(dev->port[i].input[1]); input 201 drivers/media/pci/ddbridge/ddbridge-core.c if (port->input[0]) { input 202 drivers/media/pci/ddbridge/ddbridge-core.c iredi = port->input[0]->redi; input 203 drivers/media/pci/ddbridge/ddbridge-core.c iredo = port->input[0]->redo; input 207 drivers/media/pci/ddbridge/ddbridge-core.c if (iredo->port->input[0]) { input 208 drivers/media/pci/ddbridge/ddbridge-core.c iredo->port->input[0]->redi = iredi; input 212 drivers/media/pci/ddbridge/ddbridge-core.c port->input[0]->redo = NULL; input 213 drivers/media/pci/ddbridge/ddbridge-core.c ddb_set_dma_table(port->input[0]); input 216 drivers/media/pci/ddbridge/ddbridge-core.c port->input[0]->redi = NULL; input 230 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_input *input, *input2; input 248 drivers/media/pci/ddbridge/ddbridge-core.c input = &idev->input[i & 7]; input 249 drivers/media/pci/ddbridge/ddbridge-core.c if (!input) input 253 drivers/media/pci/ddbridge/ddbridge-core.c if (port->output->dma->running || input->dma->running) { input 257 drivers/media/pci/ddbridge/ddbridge-core.c input2 = port->input[0]; input 259 drivers/media/pci/ddbridge/ddbridge-core.c if (input->redi) { input 260 drivers/media/pci/ddbridge/ddbridge-core.c input2->redi = input->redi; input 261 drivers/media/pci/ddbridge/ddbridge-core.c input->redi = NULL; input 263 drivers/media/pci/ddbridge/ddbridge-core.c input2->redi = input; input 266 drivers/media/pci/ddbridge/ddbridge-core.c input->redo = port->output; input 267 drivers/media/pci/ddbridge/ddbridge-core.c port->output->redi = input; input 269 drivers/media/pci/ddbridge/ddbridge-core.c ddb_redirect_dma(input->port->dev, input->dma, port->output->dma); input 345 drivers/media/pci/ddbridge/ddbridge-core.c if (port->input[0]->dma) input 346 drivers/media/pci/ddbridge/ddbridge-core.c if (dma_alloc(dev->pdev, port->input[0]->dma, 0) input 349 drivers/media/pci/ddbridge/ddbridge-core.c if (port->input[1]->dma) input 350 drivers/media/pci/ddbridge/ddbridge-core.c if (dma_alloc(dev->pdev, port->input[1]->dma, 0) input 356 drivers/media/pci/ddbridge/ddbridge-core.c if (port->input[0]->dma) input 357 drivers/media/pci/ddbridge/ddbridge-core.c if (dma_alloc(dev->pdev, port->input[0]->dma, 0) input 381 drivers/media/pci/ddbridge/ddbridge-core.c if (port->input[0] && port->input[0]->dma) input 382 drivers/media/pci/ddbridge/ddbridge-core.c dma_free(dev->pdev, port->input[0]->dma, 0); input 383 drivers/media/pci/ddbridge/ddbridge-core.c if (port->input[1] && port->input[1]->dma) input 384 drivers/media/pci/ddbridge/ddbridge-core.c dma_free(dev->pdev, port->input[1]->dma, 0); input 468 drivers/media/pci/ddbridge/ddbridge-core.c if (output->port->input[0]->port->class == DDB_PORT_LOOP) input 504 drivers/media/pci/ddbridge/ddbridge-core.c static void ddb_input_stop(struct ddb_input *input) input 506 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb *dev = input->port->dev; input 507 drivers/media/pci/ddbridge/ddbridge-core.c u32 tag = DDB_LINK_TAG(input->port->lnr); input 509 drivers/media/pci/ddbridge/ddbridge-core.c spin_lock_irq(&input->dma->lock); input 511 drivers/media/pci/ddbridge/ddbridge-core.c ddbwritel(dev, 0, tag | TS_CONTROL(input)); input 513 drivers/media/pci/ddbridge/ddbridge-core.c ddbwritel(dev, 0, DMA_BUFFER_CONTROL(input->dma)); input 514 drivers/media/pci/ddbridge/ddbridge-core.c input->dma->running = 0; input 515 drivers/media/pci/ddbridge/ddbridge-core.c spin_unlock_irq(&input->dma->lock); input 518 drivers/media/pci/ddbridge/ddbridge-core.c static void ddb_input_start(struct ddb_input *input) input 520 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb *dev = input->port->dev; input 522 drivers/media/pci/ddbridge/ddbridge-core.c spin_lock_irq(&input->dma->lock); input 523 drivers/media/pci/ddbridge/ddbridge-core.c input->dma->cbuf = 0; input 524 drivers/media/pci/ddbridge/ddbridge-core.c input->dma->coff = 0; input 525 drivers/media/pci/ddbridge/ddbridge-core.c input->dma->stat = 0; input 526 drivers/media/pci/ddbridge/ddbridge-core.c ddbwritel(dev, 0, DMA_BUFFER_CONTROL(input->dma)); input 528 drivers/media/pci/ddbridge/ddbridge-core.c ddbwritel(dev, 0, TS_CONTROL(input)); input 529 drivers/media/pci/ddbridge/ddbridge-core.c ddbwritel(dev, 2, TS_CONTROL(input)); input 530 drivers/media/pci/ddbridge/ddbridge-core.c ddbwritel(dev, 0, TS_CONTROL(input)); input 532 drivers/media/pci/ddbridge/ddbridge-core.c ddbwritel(dev, input->dma->bufval, input 533 drivers/media/pci/ddbridge/ddbridge-core.c DMA_BUFFER_SIZE(input->dma)); input 534 drivers/media/pci/ddbridge/ddbridge-core.c ddbwritel(dev, 0, DMA_BUFFER_ACK(input->dma)); input 536 drivers/media/pci/ddbridge/ddbridge-core.c ddbwritel(dev, 3, DMA_BUFFER_CONTROL(input->dma)); input 538 drivers/media/pci/ddbridge/ddbridge-core.c ddbwritel(dev, 0x09, TS_CONTROL(input)); input 540 drivers/media/pci/ddbridge/ddbridge-core.c if (input->port->type == DDB_TUNER_DUMMY) input 541 drivers/media/pci/ddbridge/ddbridge-core.c ddbwritel(dev, 0x000fff01, TS_CONTROL2(input)); input 543 drivers/media/pci/ddbridge/ddbridge-core.c input->dma->running = 1; input 544 drivers/media/pci/ddbridge/ddbridge-core.c spin_unlock_irq(&input->dma->lock); input 547 drivers/media/pci/ddbridge/ddbridge-core.c static void ddb_input_start_all(struct ddb_input *input) input 549 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_input *i = input; input 555 drivers/media/pci/ddbridge/ddbridge-core.c i = o->port->input[0]; input 559 drivers/media/pci/ddbridge/ddbridge-core.c ddb_input_start(input); input 563 drivers/media/pci/ddbridge/ddbridge-core.c static void ddb_input_stop_all(struct ddb_input *input) input 565 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_input *i = input; input 569 drivers/media/pci/ddbridge/ddbridge-core.c ddb_input_stop(input); input 572 drivers/media/pci/ddbridge/ddbridge-core.c i = o->port->input[0]; input 653 drivers/media/pci/ddbridge/ddbridge-core.c static u32 ddb_input_avail(struct ddb_input *input) input 655 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb *dev = input->port->dev; input 656 drivers/media/pci/ddbridge/ddbridge-core.c u32 idx, off, stat = input->dma->stat; input 657 drivers/media/pci/ddbridge/ddbridge-core.c u32 ctrl = ddbreadl(dev, DMA_BUFFER_CONTROL(input->dma)); input 664 drivers/media/pci/ddbridge/ddbridge-core.c ddbwritel(dev, stat, DMA_BUFFER_ACK(input->dma)); input 667 drivers/media/pci/ddbridge/ddbridge-core.c if (input->dma->cbuf != idx) input 672 drivers/media/pci/ddbridge/ddbridge-core.c static ssize_t ddb_input_read(struct ddb_input *input, input 675 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb *dev = input->port->dev; input 677 drivers/media/pci/ddbridge/ddbridge-core.c u32 idx, free, stat = input->dma->stat; input 683 drivers/media/pci/ddbridge/ddbridge-core.c if (input->dma->cbuf == idx) input 685 drivers/media/pci/ddbridge/ddbridge-core.c free = input->dma->size - input->dma->coff; input 691 drivers/media/pci/ddbridge/ddbridge-core.c input->dma->pbuf[input->dma->cbuf], input 692 drivers/media/pci/ddbridge/ddbridge-core.c input->dma->size, DMA_FROM_DEVICE); input 693 drivers/media/pci/ddbridge/ddbridge-core.c ret = copy_to_user(buf, input->dma->vbuf[input->dma->cbuf] + input 694 drivers/media/pci/ddbridge/ddbridge-core.c input->dma->coff, free); input 697 drivers/media/pci/ddbridge/ddbridge-core.c input->dma->coff += free; input 698 drivers/media/pci/ddbridge/ddbridge-core.c if (input->dma->coff == input->dma->size) { input 699 drivers/media/pci/ddbridge/ddbridge-core.c input->dma->coff = 0; input 700 drivers/media/pci/ddbridge/ddbridge-core.c input->dma->cbuf = (input->dma->cbuf + 1) % input 701 drivers/media/pci/ddbridge/ddbridge-core.c input->dma->num; input 706 drivers/media/pci/ddbridge/ddbridge-core.c (input->dma->cbuf << 11) | (input->dma->coff >> 7), input 707 drivers/media/pci/ddbridge/ddbridge-core.c DMA_BUFFER_ACK(input->dma)); input 749 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_input *input = output->port->input[0]; input 757 drivers/media/pci/ddbridge/ddbridge-core.c if (ddb_input_avail(input) < 188) { input 761 drivers/media/pci/ddbridge/ddbridge-core.c input->dma->wq, input 762 drivers/media/pci/ddbridge/ddbridge-core.c ddb_input_avail(input) >= 188) < 0) input 765 drivers/media/pci/ddbridge/ddbridge-core.c stat = ddb_input_read(input, buf, left); input 778 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_input *input = output->port->input[0]; input 782 drivers/media/pci/ddbridge/ddbridge-core.c poll_wait(file, &input->dma->wq, wait); input 784 drivers/media/pci/ddbridge/ddbridge-core.c if (ddb_input_avail(input) >= 188) input 795 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_input *input = NULL; input 799 drivers/media/pci/ddbridge/ddbridge-core.c input = output->port->input[0]; input 803 drivers/media/pci/ddbridge/ddbridge-core.c if (!input) input 805 drivers/media/pci/ddbridge/ddbridge-core.c ddb_input_stop(input); input 819 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_input *input = NULL; input 823 drivers/media/pci/ddbridge/ddbridge-core.c input = output->port->input[0]; input 827 drivers/media/pci/ddbridge/ddbridge-core.c if (!input) input 829 drivers/media/pci/ddbridge/ddbridge-core.c if (input->redo || input->redi) input 842 drivers/media/pci/ddbridge/ddbridge-core.c ddb_input_start(input); input 871 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_input *input = fe->sec_priv; input 872 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_port *port = input->port; input 873 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_dvb *dvb = &port->dvb[input->nr & 1]; input 886 drivers/media/pci/ddbridge/ddbridge-core.c static int demod_attach_drxk(struct ddb_input *input) input 888 drivers/media/pci/ddbridge/ddbridge-core.c struct i2c_adapter *i2c = &input->port->i2c->adap; input 889 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_dvb *dvb = &input->port->dvb[input->nr & 1]; input 890 drivers/media/pci/ddbridge/ddbridge-core.c struct device *dev = input->port->dev->dev; input 894 drivers/media/pci/ddbridge/ddbridge-core.c config.adr = 0x29 + (input->nr & 1); input 902 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe->sec_priv = input; input 908 drivers/media/pci/ddbridge/ddbridge-core.c static int tuner_attach_tda18271(struct ddb_input *input) input 910 drivers/media/pci/ddbridge/ddbridge-core.c struct i2c_adapter *i2c = &input->port->i2c->adap; input 911 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_dvb *dvb = &input->port->dvb[input->nr & 1]; input 912 drivers/media/pci/ddbridge/ddbridge-core.c struct device *dev = input->port->dev->dev; input 949 drivers/media/pci/ddbridge/ddbridge-core.c static int demod_attach_stv0367(struct ddb_input *input) input 951 drivers/media/pci/ddbridge/ddbridge-core.c struct i2c_adapter *i2c = &input->port->i2c->adap; input 952 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_dvb *dvb = &input->port->dvb[input->nr & 1]; input 953 drivers/media/pci/ddbridge/ddbridge-core.c struct device *dev = input->port->dev->dev; input 957 drivers/media/pci/ddbridge/ddbridge-core.c &ddb_stv0367_config[(input->nr & 1)], i2c); input 963 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe->sec_priv = input; input 969 drivers/media/pci/ddbridge/ddbridge-core.c static int tuner_tda18212_ping(struct ddb_input *input, unsigned short adr) input 971 drivers/media/pci/ddbridge/ddbridge-core.c struct i2c_adapter *adapter = &input->port->i2c->adap; input 972 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_dvb *dvb = &input->port->dvb[input->nr & 1]; input 973 drivers/media/pci/ddbridge/ddbridge-core.c struct device *dev = input->port->dev->dev; input 992 drivers/media/pci/ddbridge/ddbridge-core.c static int demod_attach_cxd28xx(struct ddb_input *input, int par, int osc24) input 994 drivers/media/pci/ddbridge/ddbridge-core.c struct i2c_adapter *i2c = &input->port->i2c->adap; input 995 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_dvb *dvb = &input->port->dvb[input->nr & 1]; input 996 drivers/media/pci/ddbridge/ddbridge-core.c struct device *dev = input->port->dev->dev; input 1000 drivers/media/pci/ddbridge/ddbridge-core.c cfg.i2c_addr = ((input->nr & 1) ? 0x6d : 0x6c) << 1; input 1017 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe->sec_priv = input; input 1023 drivers/media/pci/ddbridge/ddbridge-core.c static int tuner_attach_tda18212(struct ddb_input *input, u32 porttype) input 1025 drivers/media/pci/ddbridge/ddbridge-core.c struct i2c_adapter *adapter = &input->port->i2c->adap; input 1026 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_dvb *dvb = &input->port->dvb[input->nr & 1]; input 1027 drivers/media/pci/ddbridge/ddbridge-core.c struct device *dev = input->port->dev->dev; input 1039 drivers/media/pci/ddbridge/ddbridge-core.c u8 addr = (input->nr & 1) ? 0x63 : 0x60; input 1046 drivers/media/pci/ddbridge/ddbridge-core.c tuner_tda18212_ping(input, addr); input 1120 drivers/media/pci/ddbridge/ddbridge-core.c static int demod_attach_stv0900(struct ddb_input *input, int type) input 1122 drivers/media/pci/ddbridge/ddbridge-core.c struct i2c_adapter *i2c = &input->port->i2c->adap; input 1124 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_dvb *dvb = &input->port->dvb[input->nr & 1]; input 1125 drivers/media/pci/ddbridge/ddbridge-core.c struct device *dev = input->port->dev->dev; input 1128 drivers/media/pci/ddbridge/ddbridge-core.c (input->nr & 1) ? STV090x_DEMODULATOR_1 input 1135 drivers/media/pci/ddbridge/ddbridge-core.c 0, (input->nr & 1) ? input 1144 drivers/media/pci/ddbridge/ddbridge-core.c static int tuner_attach_stv6110(struct ddb_input *input, int type) input 1146 drivers/media/pci/ddbridge/ddbridge-core.c struct i2c_adapter *i2c = &input->port->i2c->adap; input 1147 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_dvb *dvb = &input->port->dvb[input->nr & 1]; input 1148 drivers/media/pci/ddbridge/ddbridge-core.c struct device *dev = input->port->dev->dev; input 1150 drivers/media/pci/ddbridge/ddbridge-core.c struct stv6110x_config *tunerconf = (input->nr & 1) ? input 1160 drivers/media/pci/ddbridge/ddbridge-core.c input->nr, tunerconf->addr); input 1197 drivers/media/pci/ddbridge/ddbridge-core.c static int demod_attach_stv0910(struct ddb_input *input, int type, int tsfast) input 1199 drivers/media/pci/ddbridge/ddbridge-core.c struct i2c_adapter *i2c = &input->port->i2c->adap; input 1200 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_dvb *dvb = &input->port->dvb[input->nr & 1]; input 1201 drivers/media/pci/ddbridge/ddbridge-core.c struct device *dev = input->port->dev->dev; input 1216 drivers/media/pci/ddbridge/ddbridge-core.c dvb->fe = dvb_attach(stv0910_attach, i2c, &cfg, (input->nr & 1)); input 1220 drivers/media/pci/ddbridge/ddbridge-core.c &cfg, (input->nr & 1)); input 1231 drivers/media/pci/ddbridge/ddbridge-core.c lnbcfg.i2c_address = (((input->nr & 1) ? 0x0d : 0x0c) << 1); input 1233 drivers/media/pci/ddbridge/ddbridge-core.c lnbcfg.i2c_address = (((input->nr & 1) ? 0x09 : 0x08) << 1); input 1244 drivers/media/pci/ddbridge/ddbridge-core.c static int tuner_attach_stv6111(struct ddb_input *input, int type) input 1246 drivers/media/pci/ddbridge/ddbridge-core.c struct i2c_adapter *i2c = &input->port->i2c->adap; input 1247 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_dvb *dvb = &input->port->dvb[input->nr & 1]; input 1248 drivers/media/pci/ddbridge/ddbridge-core.c struct device *dev = input->port->dev->dev; input 1250 drivers/media/pci/ddbridge/ddbridge-core.c u8 adr = (type ? 0 : 4) + ((input->nr & 1) ? 0x63 : 0x60); input 1263 drivers/media/pci/ddbridge/ddbridge-core.c static int demod_attach_dummy(struct ddb_input *input) input 1265 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_dvb *dvb = &input->port->dvb[input->nr & 1]; input 1266 drivers/media/pci/ddbridge/ddbridge-core.c struct device *dev = input->port->dev->dev; input 1280 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_input *input = dvbdmx->priv; input 1281 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_dvb *dvb = &input->port->dvb[input->nr & 1]; input 1284 drivers/media/pci/ddbridge/ddbridge-core.c ddb_input_start_all(input); input 1292 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_input *input = dvbdmx->priv; input 1293 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_dvb *dvb = &input->port->dvb[input->nr & 1]; input 1298 drivers/media/pci/ddbridge/ddbridge-core.c ddb_input_stop_all(input); input 1302 drivers/media/pci/ddbridge/ddbridge-core.c static void dvb_input_detach(struct ddb_input *input) input 1304 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_dvb *dvb = &input->port->dvb[input->nr & 1]; input 1445 drivers/media/pci/ddbridge/ddbridge-core.c static int dvb_input_attach(struct ddb_input *input) input 1448 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_dvb *dvb = &input->port->dvb[input->nr & 1]; input 1449 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_port *port = input->port; input 1452 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_ids *devids = &input->port->dev->link[input->port->lnr].ids; input 1474 drivers/media/pci/ddbridge/ddbridge-core.c dvbdemux->priv = input; input 1511 drivers/media/pci/ddbridge/ddbridge-core.c if (ddb_fe_attach_mxl5xx(input) < 0) input 1515 drivers/media/pci/ddbridge/ddbridge-core.c if (demod_attach_stv0900(input, 0) < 0) input 1517 drivers/media/pci/ddbridge/ddbridge-core.c if (tuner_attach_stv6110(input, 0) < 0) input 1521 drivers/media/pci/ddbridge/ddbridge-core.c if (demod_attach_stv0900(input, 1) < 0) input 1523 drivers/media/pci/ddbridge/ddbridge-core.c if (tuner_attach_stv6110(input, 1) < 0) input 1527 drivers/media/pci/ddbridge/ddbridge-core.c if (demod_attach_stv0910(input, 0, tsfast) < 0) input 1529 drivers/media/pci/ddbridge/ddbridge-core.c if (tuner_attach_stv6111(input, 0) < 0) input 1533 drivers/media/pci/ddbridge/ddbridge-core.c if (demod_attach_stv0910(input, 1, tsfast) < 0) input 1535 drivers/media/pci/ddbridge/ddbridge-core.c if (tuner_attach_stv6111(input, 1) < 0) input 1539 drivers/media/pci/ddbridge/ddbridge-core.c if (demod_attach_stv0910(input, 0, tsfast) < 0) input 1541 drivers/media/pci/ddbridge/ddbridge-core.c if (tuner_attach_stv6111(input, 1) < 0) input 1545 drivers/media/pci/ddbridge/ddbridge-core.c if (demod_attach_drxk(input) < 0) input 1547 drivers/media/pci/ddbridge/ddbridge-core.c if (tuner_attach_tda18271(input) < 0) input 1551 drivers/media/pci/ddbridge/ddbridge-core.c if (demod_attach_stv0367(input) < 0) input 1553 drivers/media/pci/ddbridge/ddbridge-core.c if (tuner_attach_tda18212(input, port->type) < 0) input 1557 drivers/media/pci/ddbridge/ddbridge-core.c if (input->port->dev->link[input->port->lnr].info->ts_quirks & input 1566 drivers/media/pci/ddbridge/ddbridge-core.c if (input->port->dev->link[input->port->lnr].info->ts_quirks input 1571 drivers/media/pci/ddbridge/ddbridge-core.c if (demod_attach_cxd28xx(input, par, osc24) < 0) input 1573 drivers/media/pci/ddbridge/ddbridge-core.c if (tuner_attach_tda18212(input, port->type) < 0) input 1582 drivers/media/pci/ddbridge/ddbridge-core.c if (demod_attach_cxd28xx(input, 0, osc24) < 0) input 1584 drivers/media/pci/ddbridge/ddbridge-core.c if (tuner_attach_tda18212(input, port->type) < 0) input 1588 drivers/media/pci/ddbridge/ddbridge-core.c if (demod_attach_dummy(input) < 0) input 1592 drivers/media/pci/ddbridge/ddbridge-core.c if (ddb_fe_attach_mci(input, port->type) < 0) input 1627 drivers/media/pci/ddbridge/ddbridge-core.c dvb_input_detach(input); input 2024 drivers/media/pci/ddbridge/ddbridge-core.c ret = dvb_input_attach(port->input[0]); input 2027 drivers/media/pci/ddbridge/ddbridge-core.c ret = dvb_input_attach(port->input[1]); input 2029 drivers/media/pci/ddbridge/ddbridge-core.c dvb_input_detach(port->input[0]); input 2032 drivers/media/pci/ddbridge/ddbridge-core.c port->input[0]->redi = port->input[0]; input 2033 drivers/media/pci/ddbridge/ddbridge-core.c port->input[1]->redi = port->input[1]; input 2104 drivers/media/pci/ddbridge/ddbridge-core.c dvb_input_detach(port->input[1]); input 2105 drivers/media/pci/ddbridge/ddbridge-core.c dvb_input_detach(port->input[0]); input 2118 drivers/media/pci/ddbridge/ddbridge-core.c static void input_write_output(struct ddb_input *input, input 2122 drivers/media/pci/ddbridge/ddbridge-core.c input->dma->stat, DMA_BUFFER_ACK(output->dma)); input 2123 drivers/media/pci/ddbridge/ddbridge-core.c output->dma->cbuf = (input->dma->stat >> 11) & 0x1f; input 2124 drivers/media/pci/ddbridge/ddbridge-core.c output->dma->coff = (input->dma->stat & 0x7ff) << 7; input 2128 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_input *input) input 2130 drivers/media/pci/ddbridge/ddbridge-core.c ddbwritel(input->port->dev, input 2131 drivers/media/pci/ddbridge/ddbridge-core.c output->dma->stat, DMA_BUFFER_ACK(input->dma)); input 2134 drivers/media/pci/ddbridge/ddbridge-core.c static void input_write_dvb(struct ddb_input *input, input 2139 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb *dev = input->port->dev; input 2142 drivers/media/pci/ddbridge/ddbridge-core.c dma = input->dma; input 2143 drivers/media/pci/ddbridge/ddbridge-core.c dma2 = input->dma; input 2148 drivers/media/pci/ddbridge/ddbridge-core.c if (input->redo) { input 2149 drivers/media/pci/ddbridge/ddbridge-core.c dma2 = input->redo->dma; input 2176 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_input *input = (struct ddb_input *)dma->io; input 2177 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb *dev = input->port->dev; input 2188 drivers/media/pci/ddbridge/ddbridge-core.c if (input->redi) input 2189 drivers/media/pci/ddbridge/ddbridge-core.c input_write_dvb(input, input->redi); input 2190 drivers/media/pci/ddbridge/ddbridge-core.c if (input->redo) input 2191 drivers/media/pci/ddbridge/ddbridge-core.c input_write_output(input, input->redo); input 2198 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_input *input = (struct ddb_input *)data; input 2199 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_dma *dma = input->dma; input 2283 drivers/media/pci/ddbridge/ddbridge-core.c struct ddb_input *input = &dev->input[anr]; input 2286 drivers/media/pci/ddbridge/ddbridge-core.c port->input[pnr] = input; input 2287 drivers/media/pci/ddbridge/ddbridge-core.c input->nr = nr; input 2288 drivers/media/pci/ddbridge/ddbridge-core.c input->port = port; input 2289 drivers/media/pci/ddbridge/ddbridge-core.c rm = io_regmap(input, 1); input 2290 drivers/media/pci/ddbridge/ddbridge-core.c input->regs = DDB_LINK_TAG(port->lnr) | input 2291 drivers/media/pci/ddbridge/ddbridge-core.c (rm->input->base + rm->input->size * nr); input 2293 drivers/media/pci/ddbridge/ddbridge-core.c port->lnr, nr, input->regs); input 2296 drivers/media/pci/ddbridge/ddbridge-core.c const struct ddb_regmap *rm0 = io_regmap(input, 0); input 2306 drivers/media/pci/ddbridge/ddbridge-core.c ddb_irq_set(dev, 0, dma_nr + base, &input_handler, input); input 2307 drivers/media/pci/ddbridge/ddbridge-core.c ddb_dma_init(input, dma_nr, 0); input 2462 drivers/media/pci/ddbridge/ddbridge-core.c if (port->input[0] && port->input[0]->dma) input 2463 drivers/media/pci/ddbridge/ddbridge-core.c cancel_work_sync(&port->input[0]->dma->work); input 2464 drivers/media/pci/ddbridge/ddbridge-core.c if (port->input[1] && port->input[1]->dma) input 2465 drivers/media/pci/ddbridge/ddbridge-core.c cancel_work_sync(&port->input[1]->dma->work); input 84 drivers/media/pci/ddbridge/ddbridge-hw.c .input = &octopus_input, input 79 drivers/media/pci/ddbridge/ddbridge-max.c struct ddb_input *input = fe->sec_priv; input 80 drivers/media/pci/ddbridge/ddbridge-max.c struct ddb_port *port = input->port; input 82 drivers/media/pci/ddbridge/ddbridge-max.c struct ddb_dvb *dvb = &port->dvb[input->nr & 1]; input 93 drivers/media/pci/ddbridge/ddbridge-max.c ddbwritel(dev, 0, tag | LNB_BUF_LEVEL(dvb->input)); input 95 drivers/media/pci/ddbridge/ddbridge-max.c ddbwritel(dev, cmd->msg[i], tag | LNB_BUF_WRITE(dvb->input)); input 96 drivers/media/pci/ddbridge/ddbridge-max.c lnb_command(dev, port->lnr, dvb->input, LNB_CMD_DISEQC); input 101 drivers/media/pci/ddbridge/ddbridge-max.c static int lnb_send_diseqc(struct ddb *dev, u32 link, u32 input, input 107 drivers/media/pci/ddbridge/ddbridge-max.c ddbwritel(dev, 0, tag | LNB_BUF_LEVEL(input)); input 109 drivers/media/pci/ddbridge/ddbridge-max.c ddbwritel(dev, cmd->msg[i], tag | LNB_BUF_WRITE(input)); input 110 drivers/media/pci/ddbridge/ddbridge-max.c lnb_command(dev, link, input, LNB_CMD_DISEQC); input 114 drivers/media/pci/ddbridge/ddbridge-max.c static int lnb_set_sat(struct ddb *dev, u32 link, u32 input, u32 sat, u32 band, input 123 drivers/media/pci/ddbridge/ddbridge-max.c return lnb_send_diseqc(dev, link, input, &cmd); input 126 drivers/media/pci/ddbridge/ddbridge-max.c static int lnb_set_tone(struct ddb *dev, u32 link, u32 input, input 130 drivers/media/pci/ddbridge/ddbridge-max.c u32 mask = (1ULL << input); input 136 drivers/media/pci/ddbridge/ddbridge-max.c dev->link[link].lnb.tone &= ~(1ULL << input); input 141 drivers/media/pci/ddbridge/ddbridge-max.c dev->link[link].lnb.tone |= (1ULL << input); input 148 drivers/media/pci/ddbridge/ddbridge-max.c s = lnb_command(dev, link, input, LNB_CMD_NOP); input 152 drivers/media/pci/ddbridge/ddbridge-max.c static int lnb_set_voltage(struct ddb *dev, u32 link, u32 input, input 157 drivers/media/pci/ddbridge/ddbridge-max.c if (dev->link[link].lnb.oldvoltage[input] == voltage) input 161 drivers/media/pci/ddbridge/ddbridge-max.c if (dev->link[link].lnb.voltage[input]) input 163 drivers/media/pci/ddbridge/ddbridge-max.c lnb_command(dev, link, input, LNB_CMD_OFF); input 166 drivers/media/pci/ddbridge/ddbridge-max.c lnb_command(dev, link, input, LNB_CMD_LOW); input 169 drivers/media/pci/ddbridge/ddbridge-max.c lnb_command(dev, link, input, LNB_CMD_HIGH); input 175 drivers/media/pci/ddbridge/ddbridge-max.c dev->link[link].lnb.oldvoltage[input] = voltage; input 181 drivers/media/pci/ddbridge/ddbridge-max.c struct ddb_input *input = fe->sec_priv; input 182 drivers/media/pci/ddbridge/ddbridge-max.c struct ddb_port *port = input->port; input 184 drivers/media/pci/ddbridge/ddbridge-max.c struct ddb_dvb *dvb = &port->dvb[input->nr & 1]; input 189 drivers/media/pci/ddbridge/ddbridge-max.c if (dvb->input != in) { input 190 drivers/media/pci/ddbridge/ddbridge-max.c u32 bit = (1ULL << input->nr); input 192 drivers/media/pci/ddbridge/ddbridge-max.c dev->link[port->lnr].lnb.voltage[dvb->input & 3] & bit; input 194 drivers/media/pci/ddbridge/ddbridge-max.c dev->link[port->lnr].lnb.voltage[dvb->input & 3] &= ~bit; input 195 drivers/media/pci/ddbridge/ddbridge-max.c dvb->input = in; input 196 drivers/media/pci/ddbridge/ddbridge-max.c dev->link[port->lnr].lnb.voltage[dvb->input & 3] |= obit; input 204 drivers/media/pci/ddbridge/ddbridge-max.c struct ddb_input *input = fe->sec_priv; input 205 drivers/media/pci/ddbridge/ddbridge-max.c struct ddb_port *port = input->port; input 207 drivers/media/pci/ddbridge/ddbridge-max.c struct ddb_dvb *dvb = &port->dvb[input->nr & 1]; input 218 drivers/media/pci/ddbridge/ddbridge-max.c res = lnb_set_tone(dev, port->lnr, dvb->input, tone); input 242 drivers/media/pci/ddbridge/ddbridge-max.c struct ddb_input *input = fe->sec_priv; input 243 drivers/media/pci/ddbridge/ddbridge-max.c struct ddb_port *port = input->port; input 245 drivers/media/pci/ddbridge/ddbridge-max.c struct ddb_dvb *dvb = &port->dvb[input->nr & 1]; input 261 drivers/media/pci/ddbridge/ddbridge-max.c dev->link[port->lnr].lnb.voltage[dvb->input] &= input 262 drivers/media/pci/ddbridge/ddbridge-max.c ~(1ULL << input->nr); input 264 drivers/media/pci/ddbridge/ddbridge-max.c dev->link[port->lnr].lnb.voltage[dvb->input] |= input 265 drivers/media/pci/ddbridge/ddbridge-max.c (1ULL << input->nr); input 267 drivers/media/pci/ddbridge/ddbridge-max.c res = lnb_set_voltage(dev, port->lnr, dvb->input, voltage); input 273 drivers/media/pci/ddbridge/ddbridge-max.c ~(1ULL << input->nr); input 276 drivers/media/pci/ddbridge/ddbridge-max.c (1ULL << input->nr); input 408 drivers/media/pci/ddbridge/ddbridge-max.c int ddb_fe_attach_mxl5xx(struct ddb_input *input) input 410 drivers/media/pci/ddbridge/ddbridge-max.c struct ddb *dev = input->port->dev; input 411 drivers/media/pci/ddbridge/ddbridge-max.c struct i2c_adapter *i2c = &input->port->i2c->adap; input 412 drivers/media/pci/ddbridge/ddbridge-max.c struct ddb_dvb *dvb = &input->port->dvb[input->nr & 1]; input 413 drivers/media/pci/ddbridge/ddbridge-max.c struct ddb_port *port = input->port; input 422 drivers/media/pci/ddbridge/ddbridge-max.c demod = input->nr; input 440 drivers/media/pci/ddbridge/ddbridge-max.c if (input->nr < 4) { input 441 drivers/media/pci/ddbridge/ddbridge-max.c lnb_command(dev, port->lnr, input->nr, LNB_CMD_INIT); input 442 drivers/media/pci/ddbridge/ddbridge-max.c lnb_set_voltage(dev, port->lnr, input->nr, SEC_VOLTAGE_OFF); input 452 drivers/media/pci/ddbridge/ddbridge-max.c dvb->fe->sec_priv = input; input 453 drivers/media/pci/ddbridge/ddbridge-max.c dvb->input = tuner; input 460 drivers/media/pci/ddbridge/ddbridge-max.c int ddb_fe_attach_mci(struct ddb_input *input, u32 type) input 462 drivers/media/pci/ddbridge/ddbridge-max.c struct ddb *dev = input->port->dev; input 463 drivers/media/pci/ddbridge/ddbridge-max.c struct ddb_dvb *dvb = &input->port->dvb[input->nr & 1]; input 464 drivers/media/pci/ddbridge/ddbridge-max.c struct ddb_port *port = input->port; input 469 drivers/media/pci/ddbridge/ddbridge-max.c demod = input->nr; input 480 drivers/media/pci/ddbridge/ddbridge-max.c dvb->fe = ddb_mci_attach(input, &cfg, demod, &dvb->set_input); input 489 drivers/media/pci/ddbridge/ddbridge-max.c if (input->nr < 4) { input 490 drivers/media/pci/ddbridge/ddbridge-max.c lnb_command(dev, port->lnr, input->nr, LNB_CMD_INIT); input 491 drivers/media/pci/ddbridge/ddbridge-max.c lnb_set_voltage(dev, port->lnr, input->nr, SEC_VOLTAGE_OFF); input 501 drivers/media/pci/ddbridge/ddbridge-max.c dvb->fe->sec_priv = input; input 502 drivers/media/pci/ddbridge/ddbridge-max.c dvb->input = tuner; input 27 drivers/media/pci/ddbridge/ddbridge-max.h int ddb_fe_attach_mxl5xx(struct ddb_input *input); input 28 drivers/media/pci/ddbridge/ddbridge-max.h int ddb_fe_attach_mci(struct ddb_input *input, u32 type); input 127 drivers/media/pci/ddbridge/ddbridge-mci.c *ddb_mci_attach(struct ddb_input *input, struct mci_cfg *cfg, int nr, input 128 drivers/media/pci/ddbridge/ddbridge-mci.c int (**fn_set_input)(struct dvb_frontend *fe, int input)) input 130 drivers/media/pci/ddbridge/ddbridge-mci.c struct ddb_port *port = input->port; input 248 drivers/media/pci/ddbridge/ddbridge-mci.h int (*set_input)(struct dvb_frontend *fe, int input); input 259 drivers/media/pci/ddbridge/ddbridge-mci.h *ddb_mci_attach(struct ddb_input *input, struct mci_cfg *cfg, int nr, input 260 drivers/media/pci/ddbridge/ddbridge-mci.h int (**fn_set_input)(struct dvb_frontend *fe, int input)); input 153 drivers/media/pci/ddbridge/ddbridge-sx8.c u32 input = state->mci.tuner; input 169 drivers/media/pci/ddbridge/ddbridge-sx8.c sx8_base->tuner_use_count[input]--; input 170 drivers/media/pci/ddbridge/ddbridge-sx8.c if (!sx8_base->tuner_use_count[input]) input 171 drivers/media/pci/ddbridge/ddbridge-sx8.c mci_set_tuner(fe, input, 0); input 192 drivers/media/pci/ddbridge/ddbridge-sx8.c u32 input = state->mci.tuner; input 267 drivers/media/pci/ddbridge/ddbridge-sx8.c if (!sx8_base->tuner_use_count[input]) input 268 drivers/media/pci/ddbridge/ddbridge-sx8.c mci_set_tuner(fe, input, 1); input 269 drivers/media/pci/ddbridge/ddbridge-sx8.c sx8_base->tuner_use_count[input]++; input 318 drivers/media/pci/ddbridge/ddbridge-sx8.c u32 input = state->mci.tuner; input 334 drivers/media/pci/ddbridge/ddbridge-sx8.c if (!sx8_base->tuner_use_count[input]) input 335 drivers/media/pci/ddbridge/ddbridge-sx8.c mci_set_tuner(fe, input, 1); input 336 drivers/media/pci/ddbridge/ddbridge-sx8.c sx8_base->tuner_use_count[input]++; input 438 drivers/media/pci/ddbridge/ddbridge-sx8.c static int set_input(struct dvb_frontend *fe, int input) input 443 drivers/media/pci/ddbridge/ddbridge-sx8.c if (input >= SX8_TUNER_NUM) input 446 drivers/media/pci/ddbridge/ddbridge-sx8.c state->mci.tuner = input; input 447 drivers/media/pci/ddbridge/ddbridge-sx8.c dev_dbg(mci_base->dev, "MCI-%d: input=%d\n", state->mci.nr, input); input 88 drivers/media/pci/ddbridge/ddbridge.h const struct ddb_regset *input; input 177 drivers/media/pci/ddbridge/ddbridge.h u8 input; input 185 drivers/media/pci/ddbridge/ddbridge.h int (*set_input)(struct dvb_frontend *fe, int input); input 265 drivers/media/pci/ddbridge/ddbridge.h struct ddb_input *input[2]; input 335 drivers/media/pci/ddbridge/ddbridge.h struct ddb_input input[DDB_MAX_INPUT]; input 356 drivers/media/pci/dt3155/dt3155.c struct v4l2_input *input) input 358 drivers/media/pci/dt3155/dt3155.c if (input->index > 3) input 360 drivers/media/pci/dt3155/dt3155.c if (input->index) input 361 drivers/media/pci/dt3155/dt3155.c snprintf(input->name, sizeof(input->name), "VID%d", input 362 drivers/media/pci/dt3155/dt3155.c input->index); input 364 drivers/media/pci/dt3155/dt3155.c strscpy(input->name, "J2/VID0", sizeof(input->name)); input 365 drivers/media/pci/dt3155/dt3155.c input->type = V4L2_INPUT_TYPE_CAMERA; input 366 drivers/media/pci/dt3155/dt3155.c input->std = V4L2_STD_ALL; input 367 drivers/media/pci/dt3155/dt3155.c input->status = 0; input 375 drivers/media/pci/dt3155/dt3155.c *i = pd->input; input 385 drivers/media/pci/dt3155/dt3155.c pd->input = i; input 181 drivers/media/pci/dt3155/dt3155.h unsigned input; input 1141 drivers/media/pci/intel/ipu3/ipu3-cio2.c cio2_video_enum_input(struct file *file, void *fh, struct v4l2_input *input) input 1143 drivers/media/pci/intel/ipu3/ipu3-cio2.c if (input->index > 0) input 1146 drivers/media/pci/intel/ipu3/ipu3-cio2.c strscpy(input->name, "camera", sizeof(input->name)); input 1147 drivers/media/pci/intel/ipu3/ipu3-cio2.c input->type = V4L2_INPUT_TYPE_CAMERA; input 1153 drivers/media/pci/intel/ipu3/ipu3-cio2.c cio2_video_g_input(struct file *file, void *fh, unsigned int *input) input 1155 drivers/media/pci/intel/ipu3/ipu3-cio2.c *input = 0; input 1161 drivers/media/pci/intel/ipu3/ipu3-cio2.c cio2_video_s_input(struct file *file, void *fh, unsigned int input) input 1163 drivers/media/pci/intel/ipu3/ipu3-cio2.c return input == 0 ? 0 : -EINVAL; input 1293 drivers/media/pci/ivtv/ivtv-cards.c int ivtv_get_input(struct ivtv *itv, u16 index, struct v4l2_input *input) input 1307 drivers/media/pci/ivtv/ivtv-cards.c input->index = index; input 1308 drivers/media/pci/ivtv/ivtv-cards.c strscpy(input->name, input_strs[card_input->video_type - 1], input 1309 drivers/media/pci/ivtv/ivtv-cards.c sizeof(input->name)); input 1310 drivers/media/pci/ivtv/ivtv-cards.c input->type = (card_input->video_type == IVTV_CARD_INPUT_VID_TUNER ? input 1312 drivers/media/pci/ivtv/ivtv-cards.c input->audioset = (1 << itv->nof_audio_inputs) - 1; input 1313 drivers/media/pci/ivtv/ivtv-cards.c input->std = (input->type == V4L2_INPUT_TYPE_TUNER) ? input 282 drivers/media/pci/ivtv/ivtv-cards.h int ivtv_get_input(struct ivtv *itv, u16 index, struct v4l2_input *input); input 284 drivers/media/pci/ivtv/ivtv-cards.h int ivtv_get_audio_input(struct ivtv *itv, u16 index, struct v4l2_audio *input); input 223 drivers/media/pci/ivtv/ivtv-gpio.c u32 input, u32 output, u32 config) input 228 drivers/media/pci/ivtv/ivtv-gpio.c if (input > 2) input 231 drivers/media/pci/ivtv/ivtv-gpio.c switch (input) { input 279 drivers/media/pci/ivtv/ivtv-gpio.c u32 input, u32 output, u32 config) input 284 drivers/media/pci/ivtv/ivtv-gpio.c if (input > 2) /* 0:Tuner 1:Composite 2:S-Video */ input 287 drivers/media/pci/ivtv/ivtv-gpio.c if (input == 0) input 289 drivers/media/pci/ivtv/ivtv-gpio.c else if (input == 1) input 25 drivers/media/pci/ivtv/ivtv-routing.c u32 input, output = 0; input 34 drivers/media/pci/ivtv/ivtv-routing.c input = in->muxer_input; input 38 drivers/media/pci/ivtv/ivtv-routing.c input, output, 0); input 40 drivers/media/pci/ivtv/ivtv-routing.c input = in->audio_input; input 45 drivers/media/pci/ivtv/ivtv-routing.c input, output, 0); input 53 drivers/media/pci/ivtv/ivtv-routing.c u32 input; input 62 drivers/media/pci/ivtv/ivtv-routing.c input = 0; /* Tuner */ input 64 drivers/media/pci/ivtv/ivtv-routing.c input = 2; /* S-Video */ input 66 drivers/media/pci/ivtv/ivtv-routing.c input = 1; /* Composite */ input 71 drivers/media/pci/ivtv/ivtv-routing.c input, 0, 0); input 77 drivers/media/pci/ivtv/ivtv-routing.c input = UPD64031A_GR_ON | UPD64031A_3DYCS_COMPOSITE; input 80 drivers/media/pci/ivtv/ivtv-routing.c input = UPD64031A_GR_OFF | UPD64031A_3DYCS_DISABLE; input 82 drivers/media/pci/ivtv/ivtv-routing.c input |= itv->card->gr_config; input 85 drivers/media/pci/ivtv/ivtv-routing.c input, 0, 0); input 89 drivers/media/pci/ivtv/ivtv-routing.c input = UPD64083_YCS_MODE; input 94 drivers/media/pci/ivtv/ivtv-routing.c input |= UPD64083_YCNR_MODE; input 101 drivers/media/pci/ivtv/ivtv-routing.c input |= UPD64083_EXT_Y_ADC; input 105 drivers/media/pci/ivtv/ivtv-routing.c input, 0, 0); input 403 drivers/media/pci/saa7134/saa7134-alsa.c dev->dmasound.input = addr; input 533 drivers/media/pci/saa7134/saa7134-alsa.c fmt |= (MIXER_ADDR_TVTUNER == dev->dmasound.input) ? 0xc0 : 0x80; input 571 drivers/media/pci/saa7134/saa7134-alsa.c snd_saa7134_capsrc_set(saa7134->capture_ctl[dev->dmasound.input], 1, 1, input 811 drivers/media/pci/saa7134/saa7134-alsa.c amux = dev->input->amux; input 814 drivers/media/pci/saa7134/saa7134-alsa.c dev->dmasound.input = amux - 1; input 179 drivers/media/pci/saa7134/saa7134-tvaudio.c in = dev->input; input 200 drivers/media/pci/saa7134/saa7134-tvaudio.c saa7134_input_name[dev->input->type], mute, input 718 drivers/media/pci/saa7134/saa7134-tvaudio.c switch (dev->input->amux) { input 749 drivers/media/pci/saa7134/saa7134-tvaudio.c in = dev->input; input 781 drivers/media/pci/saa7134/saa7134-tvaudio.c } else if (&card(dev).radio == dev->input) { input 880 drivers/media/pci/saa7134/saa7134-tvaudio.c i2s_format = (dev->input->amux == TV) ? 0x00 : 0x01; input 924 drivers/media/pci/saa7134/saa7134-tvaudio.c dev->input = in; input 1048 drivers/media/pci/saa7134/saa7134-tvaudio.c if (dev->input->amux != TV) { input 383 drivers/media/pci/saa7134/saa7134-video.c static void video_mux(struct saa7134_dev *dev, int input) input 386 drivers/media/pci/saa7134/saa7134-video.c input, saa7134_input_name[card_in(dev, input).type]); input 387 drivers/media/pci/saa7134/saa7134-video.c dev->ctl_input = input; input 389 drivers/media/pci/saa7134/saa7134-video.c saa7134_tvaudio_setinput(dev, &card_in(dev, input)); input 1887 drivers/media/pci/saa7134/saa7134-video.c if (dev->input->amux == TV) { input 494 drivers/media/pci/saa7134/saa7134.h enum saa7134_audio_in input; input 653 drivers/media/pci/saa7134/saa7134.h struct saa7134_input *input; input 170 drivers/media/pci/saa7146/hexium_gemini.c static int hexium_set_input(struct hexium *hexium, int input) input 176 drivers/media/pci/saa7146/hexium_gemini.c data.byte = hexium_input_select[input].byte; input 177 drivers/media/pci/saa7146/hexium_gemini.c if (0 != i2c_smbus_xfer(&hexium->i2c_adapter, 0x6c, 0, I2C_SMBUS_WRITE, hexium_input_select[input].adr, I2C_SMBUS_BYTE_DATA, &data)) { input 216 drivers/media/pci/saa7146/hexium_gemini.c static int vidioc_g_input(struct file *file, void *fh, unsigned int *input) input 221 drivers/media/pci/saa7146/hexium_gemini.c *input = hexium->cur_input; input 223 drivers/media/pci/saa7146/hexium_gemini.c DEB_D("VIDIOC_G_INPUT: %d\n", *input); input 227 drivers/media/pci/saa7146/hexium_gemini.c static int vidioc_s_input(struct file *file, void *fh, unsigned int input) input 232 drivers/media/pci/saa7146/hexium_gemini.c DEB_EE("VIDIOC_S_INPUT %d\n", input); input 234 drivers/media/pci/saa7146/hexium_gemini.c if (input >= HEXIUM_INPUTS) input 237 drivers/media/pci/saa7146/hexium_gemini.c hexium->cur_input = input; input 238 drivers/media/pci/saa7146/hexium_gemini.c hexium_set_input(hexium, input); input 295 drivers/media/pci/saa7146/hexium_orion.c static int hexium_set_input(struct hexium *hexium, int input) input 303 drivers/media/pci/saa7146/hexium_orion.c int adr = hexium_input_select[input].data[i].adr; input 304 drivers/media/pci/saa7146/hexium_orion.c data.byte = hexium_input_select[input].data[i].byte; input 308 drivers/media/pci/saa7146/hexium_orion.c pr_debug("%d: 0x%02x => 0x%02x\n", input, adr, data.byte); input 327 drivers/media/pci/saa7146/hexium_orion.c static int vidioc_g_input(struct file *file, void *fh, unsigned int *input) input 332 drivers/media/pci/saa7146/hexium_orion.c *input = hexium->cur_input; input 334 drivers/media/pci/saa7146/hexium_orion.c DEB_D("VIDIOC_G_INPUT: %d\n", *input); input 338 drivers/media/pci/saa7146/hexium_orion.c static int vidioc_s_input(struct file *file, void *fh, unsigned int input) input 343 drivers/media/pci/saa7146/hexium_orion.c if (input >= HEXIUM_INPUTS) input 346 drivers/media/pci/saa7146/hexium_orion.c hexium->cur_input = input; input 347 drivers/media/pci/saa7146/hexium_orion.c hexium_set_input(hexium, input); input 83 drivers/media/pci/saa7146/mxb.c u32 input; input 185 drivers/media/pci/saa7146/mxb.c TEA6420_cd[idx][0].input, TEA6420_cd[idx][0].output, 0); input 187 drivers/media/pci/saa7146/mxb.c TEA6420_cd[idx][1].input, TEA6420_cd[idx][1].output, 0); input 189 drivers/media/pci/saa7146/mxb.c TEA6420_line[idx][0].input, TEA6420_line[idx][0].output, 0); input 191 drivers/media/pci/saa7146/mxb.c TEA6420_line[idx][1].input, TEA6420_line[idx][1].output, 0); input 468 drivers/media/pci/saa7146/mxb.c static int vidioc_s_input(struct file *file, void *fh, unsigned int input) input 475 drivers/media/pci/saa7146/mxb.c DEB_EE("VIDIOC_S_INPUT %d\n", input); input 477 drivers/media/pci/saa7146/mxb.c if (input >= MXB_INPUTS) input 480 drivers/media/pci/saa7146/mxb.c mxb->cur_input = input; input 482 drivers/media/pci/saa7146/mxb.c saa7146_set_hps_source_and_sync(dev, input_port_selection[input].hps_source, input 483 drivers/media/pci/saa7146/mxb.c input_port_selection[input].hps_sync); input 487 drivers/media/pci/saa7146/mxb.c switch (input) { input 520 drivers/media/pci/saa7146/mxb.c mxb->cur_audinput = video_audio_connect[input]; input 778 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c struct v4l2_input *input) input 783 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c if (input->index) input 786 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c snprintf(input->name, sizeof(input->name), "Encoder %d", input 788 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c input->type = V4L2_INPUT_TYPE_CAMERA; input 789 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c input->std = solo_enc->vfd->tvnorms; input 792 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c input->status = V4L2_IN_ST_NO_SIGNAL; input 385 drivers/media/pci/solo6x10/solo6x10-v4l2.c struct v4l2_input *input) input 387 drivers/media/pci/solo6x10/solo6x10-v4l2.c int ext = input->index - solo_dev->nr_chans; input 395 drivers/media/pci/solo6x10/solo6x10-v4l2.c snprintf(input->name, sizeof(input->name), input 409 drivers/media/pci/solo6x10/solo6x10-v4l2.c struct v4l2_input *input) input 413 drivers/media/pci/solo6x10/solo6x10-v4l2.c if (input->index >= solo_dev->nr_chans) { input 414 drivers/media/pci/solo6x10/solo6x10-v4l2.c int ret = solo_enum_ext_input(solo_dev, input); input 419 drivers/media/pci/solo6x10/solo6x10-v4l2.c snprintf(input->name, sizeof(input->name), "Camera %d", input 420 drivers/media/pci/solo6x10/solo6x10-v4l2.c input->index + 1); input 423 drivers/media/pci/solo6x10/solo6x10-v4l2.c if (!tw28_get_video_status(solo_dev, input->index)) input 424 drivers/media/pci/solo6x10/solo6x10-v4l2.c input->status = V4L2_IN_ST_NO_SIGNAL; input 427 drivers/media/pci/solo6x10/solo6x10-v4l2.c input->type = V4L2_INPUT_TYPE_CAMERA; input 428 drivers/media/pci/solo6x10/solo6x10-v4l2.c input->std = solo_dev->vfd->tvnorms; input 124 drivers/media/pci/sta2x11/sta2x11_vip.c unsigned int input; input 522 drivers/media/pci/sta2x11/sta2x11_vip.c vip->input = i; input 541 drivers/media/pci/sta2x11/sta2x11_vip.c *i = vip->input; input 465 drivers/media/pci/ttpci/av7110_v4l.c static int vidioc_g_input(struct file *file, void *fh, unsigned int *input) input 470 drivers/media/pci/ttpci/av7110_v4l.c *input = av7110->current_input; input 471 drivers/media/pci/ttpci/av7110_v4l.c dprintk(2, "VIDIOC_G_INPUT: %d\n", *input); input 475 drivers/media/pci/ttpci/av7110_v4l.c static int vidioc_s_input(struct file *file, void *fh, unsigned int input) input 480 drivers/media/pci/ttpci/av7110_v4l.c dprintk(2, "VIDIOC_S_INPUT: %d\n", input); input 483 drivers/media/pci/ttpci/av7110_v4l.c return input ? -EINVAL : 0; input 485 drivers/media/pci/ttpci/av7110_v4l.c if (input >= 4) input 488 drivers/media/pci/ttpci/av7110_v4l.c av7110->current_input = input; input 437 drivers/media/pci/ttpci/budget-av.c static int saa7113_setinput(struct budget_av *budget_av, int input) input 444 drivers/media/pci/ttpci/budget-av.c if (input == 1) { input 447 drivers/media/pci/ttpci/budget-av.c } else if (input == 0) { input 453 drivers/media/pci/ttpci/budget-av.c budget_av->cur_input = input; input 1422 drivers/media/pci/ttpci/budget-av.c static int vidioc_s_input(struct file *file, void *fh, unsigned int input) input 1427 drivers/media/pci/ttpci/budget-av.c dprintk(1, "VIDIOC_S_INPUT %d\n", input); input 1428 drivers/media/pci/ttpci/budget-av.c return saa7113_setinput(budget_av, input); input 126 drivers/media/pci/tw5864/tw5864-core.c struct tw5864_input *input = &dev->inputs[channel]; input 141 drivers/media/pci/tw5864/tw5864-core.c cur_frame->input = input; input 143 drivers/media/pci/tw5864/tw5864-core.c cur_frame->seqno = input->frame_seqno; input 144 drivers/media/pci/tw5864/tw5864-core.c cur_frame->gop_seqno = input->frame_gop_seqno; input 151 drivers/media/pci/tw5864/tw5864-core.c spin_lock(&input->slock); input 152 drivers/media/pci/tw5864/tw5864-core.c input->frame_seqno++; input 153 drivers/media/pci/tw5864/tw5864-core.c input->frame_gop_seqno++; input 154 drivers/media/pci/tw5864/tw5864-core.c if (input->frame_gop_seqno >= input->gop) input 155 drivers/media/pci/tw5864/tw5864-core.c input->frame_gop_seqno = 0; input 156 drivers/media/pci/tw5864/tw5864-core.c spin_unlock(&input->slock); input 175 drivers/media/pci/tw5864/tw5864-core.c static void tw5864_input_deadline_update(struct tw5864_input *input) input 177 drivers/media/pci/tw5864/tw5864-core.c input->new_frame_deadline = jiffies + msecs_to_jiffies(1000); input 202 drivers/media/pci/tw5864/tw5864-core.c struct tw5864_input *input = &dev->inputs[next_input]; input 205 drivers/media/pci/tw5864/tw5864-core.c spin_lock_irqsave(&input->slock, flags); input 206 drivers/media/pci/tw5864/tw5864-core.c if (!input->enabled) input 211 drivers/media/pci/tw5864/tw5864-core.c 2 * input->nr); input 213 drivers/media/pci/tw5864/tw5864-core.c if (input->buf_id != raw_buf_id) { input 214 drivers/media/pci/tw5864/tw5864-core.c input->buf_id = raw_buf_id; input 215 drivers/media/pci/tw5864/tw5864-core.c tw5864_input_deadline_update(input); input 216 drivers/media/pci/tw5864/tw5864-core.c spin_unlock_irqrestore(&input->slock, flags); input 223 drivers/media/pci/tw5864/tw5864-core.c tw5864_request_encoded_frame(input); input 228 drivers/media/pci/tw5864/tw5864-core.c if (time_is_after_jiffies(input->new_frame_deadline)) { input 231 drivers/media/pci/tw5864/tw5864-core.c 2 * input->nr, input->buf_id + 3); input 232 drivers/media/pci/tw5864/tw5864-core.c tw5864_input_deadline_update(input); input 235 drivers/media/pci/tw5864/tw5864-core.c spin_unlock_irqrestore(&input->slock, flags); input 180 drivers/media/pci/tw5864/tw5864-video.c static void tw5864_frame_interval_set(struct tw5864_input *input); input 208 drivers/media/pci/tw5864/tw5864-video.c static int tw5864_input_std_get(struct tw5864_input *input, input 211 drivers/media/pci/tw5864/tw5864-video.c struct tw5864_dev *dev = input->root; input 212 drivers/media/pci/tw5864/tw5864-video.c u8 std_reg = tw_indir_readb(TW5864_INDIR_VIN_E(input->nr)); input 225 drivers/media/pci/tw5864/tw5864-video.c static int tw5864_enable_input(struct tw5864_input *input) input 227 drivers/media/pci/tw5864/tw5864-video.c struct tw5864_dev *dev = input->root; input 228 drivers/media/pci/tw5864/tw5864-video.c int nr = input->nr; input 240 drivers/media/pci/tw5864/tw5864-video.c input->frame_seqno = 0; input 241 drivers/media/pci/tw5864/tw5864-video.c input->frame_gop_seqno = 0; input 242 drivers/media/pci/tw5864/tw5864-video.c input->h264_idr_pic_id = 0; input 244 drivers/media/pci/tw5864/tw5864-video.c input->reg_dsp_qp = input->qp; input 245 drivers/media/pci/tw5864/tw5864-video.c input->reg_dsp_ref_mvp_lambda = lambda_lookup_table[input->qp]; input 246 drivers/media/pci/tw5864/tw5864-video.c input->reg_dsp_i4x4_weight = intra4x4_lambda3[input->qp]; input 247 drivers/media/pci/tw5864/tw5864-video.c input->reg_emu = TW5864_EMU_EN_LPF | TW5864_EMU_EN_BHOST input 249 drivers/media/pci/tw5864/tw5864-video.c input->reg_dsp = nr /* channel id */ input 254 drivers/media/pci/tw5864/tw5864-video.c input->resolution = D1; input 256 drivers/media/pci/tw5864/tw5864-video.c d1_height = (input->std == STD_NTSC) ? 480 : 576; input 258 drivers/media/pci/tw5864/tw5864-video.c input->width = d1_width; input 259 drivers/media/pci/tw5864/tw5864-video.c input->height = d1_height; input 261 drivers/media/pci/tw5864/tw5864-video.c input->reg_interlacing = 0x4; input 263 drivers/media/pci/tw5864/tw5864-video.c switch (input->resolution) { input 266 drivers/media/pci/tw5864/tw5864-video.c frame_height_bus_value = input->height - 1; input 270 drivers/media/pci/tw5864/tw5864-video.c input->reg_dsp_codec |= TW5864_CIF_MAP_MD | TW5864_HD1_MAP_MD; input 271 drivers/media/pci/tw5864/tw5864-video.c input->reg_emu |= TW5864_DSP_FRAME_TYPE_D1; input 272 drivers/media/pci/tw5864/tw5864-video.c input->reg_interlacing = TW5864_DI_EN | TW5864_DSP_INTER_ST; input 277 drivers/media/pci/tw5864/tw5864-video.c input->height /= 2; input 278 drivers/media/pci/tw5864/tw5864-video.c input->width /= 2; input 280 drivers/media/pci/tw5864/tw5864-video.c frame_height_bus_value = input->height * 2 - 1; input 284 drivers/media/pci/tw5864/tw5864-video.c input->reg_dsp_codec |= TW5864_HD1_MAP_MD; input 285 drivers/media/pci/tw5864/tw5864-video.c input->reg_emu |= TW5864_DSP_FRAME_TYPE_D1; input 291 drivers/media/pci/tw5864/tw5864-video.c input->height /= 4; input 292 drivers/media/pci/tw5864/tw5864-video.c input->width /= 2; input 294 drivers/media/pci/tw5864/tw5864-video.c frame_height_bus_value = input->height * 2 - 1; input 298 drivers/media/pci/tw5864/tw5864-video.c input->reg_dsp_codec |= TW5864_CIF_MAP_MD; input 303 drivers/media/pci/tw5864/tw5864-video.c input->height /= 4; input 304 drivers/media/pci/tw5864/tw5864-video.c input->width /= 4; input 306 drivers/media/pci/tw5864/tw5864-video.c frame_height_bus_value = input->height * 2 - 1; input 310 drivers/media/pci/tw5864/tw5864-video.c input->reg_dsp_codec |= TW5864_CIF_MAP_MD; input 321 drivers/media/pci/tw5864/tw5864-video.c tw_indir_writeb(TW5864_INDIR_OUT_PIC_WIDTH(nr), input->width / 4); input 322 drivers/media/pci/tw5864/tw5864-video.c tw_indir_writeb(TW5864_INDIR_OUT_PIC_HEIGHT(nr), input->height / 4); input 328 drivers/media/pci/tw5864/tw5864-video.c input->width = 704; input 334 drivers/media/pci/tw5864/tw5864-video.c ((input->width / 16) << 8) | (input->height / 16)); input 345 drivers/media/pci/tw5864/tw5864-video.c tw5864_frame_interval_set(input); input 357 drivers/media/pci/tw5864/tw5864-video.c input->std == STD_NTSC ? 29 : 24); input 364 drivers/media/pci/tw5864/tw5864-video.c input->enabled = 1; input 370 drivers/media/pci/tw5864/tw5864-video.c void tw5864_request_encoded_frame(struct tw5864_input *input) input 372 drivers/media/pci/tw5864/tw5864-video.c struct tw5864_dev *dev = input->root; input 376 drivers/media/pci/tw5864/tw5864-video.c tw_writel(TW5864_EMU, input->reg_emu); input 377 drivers/media/pci/tw5864/tw5864-video.c tw_writel(TW5864_INTERLACING, input->reg_interlacing); input 378 drivers/media/pci/tw5864/tw5864-video.c tw_writel(TW5864_DSP, input->reg_dsp); input 380 drivers/media/pci/tw5864/tw5864-video.c tw_writel(TW5864_DSP_QP, input->reg_dsp_qp); input 381 drivers/media/pci/tw5864/tw5864-video.c tw_writel(TW5864_DSP_REF_MVP_LAMBDA, input->reg_dsp_ref_mvp_lambda); input 382 drivers/media/pci/tw5864/tw5864-video.c tw_writel(TW5864_DSP_I4x4_WEIGHT, input->reg_dsp_i4x4_weight); input 387 drivers/media/pci/tw5864/tw5864-video.c if (input->frame_gop_seqno == 0) { input 390 drivers/media/pci/tw5864/tw5864-video.c input->h264_idr_pic_id++; input 391 drivers/media/pci/tw5864/tw5864-video.c input->h264_idr_pic_id &= TW5864_DSP_REF_FRM; input 397 drivers/media/pci/tw5864/tw5864-video.c tw5864_prepare_frame_headers(input); input 400 drivers/media/pci/tw5864/tw5864-video.c ((input->tail_nb_bits + 24) << TW5864_VLC_BIT_ALIGN_SHIFT) | input 401 drivers/media/pci/tw5864/tw5864-video.c input->reg_dsp_qp); input 404 drivers/media/pci/tw5864/tw5864-video.c 2 * input->nr); input 414 drivers/media/pci/tw5864/tw5864-video.c static int tw5864_disable_input(struct tw5864_input *input) input 416 drivers/media/pci/tw5864/tw5864-video.c struct tw5864_dev *dev = input->root; input 419 drivers/media/pci/tw5864/tw5864-video.c dev_dbg(&dev->pci->dev, "Disabling channel %d\n", input->nr); input 422 drivers/media/pci/tw5864/tw5864-video.c input->enabled = 0; input 429 drivers/media/pci/tw5864/tw5864-video.c struct tw5864_input *input = vb2_get_drv_priv(q); input 432 drivers/media/pci/tw5864/tw5864-video.c ret = tw5864_enable_input(input); input 436 drivers/media/pci/tw5864/tw5864-video.c while (!list_empty(&input->active)) { input 437 drivers/media/pci/tw5864/tw5864-video.c struct tw5864_buf *buf = list_entry(input->active.next, input 449 drivers/media/pci/tw5864/tw5864-video.c struct tw5864_input *input = vb2_get_drv_priv(q); input 451 drivers/media/pci/tw5864/tw5864-video.c tw5864_disable_input(input); input 453 drivers/media/pci/tw5864/tw5864-video.c spin_lock_irqsave(&input->slock, flags); input 454 drivers/media/pci/tw5864/tw5864-video.c if (input->vb) { input 455 drivers/media/pci/tw5864/tw5864-video.c vb2_buffer_done(&input->vb->vb.vb2_buf, VB2_BUF_STATE_ERROR); input 456 drivers/media/pci/tw5864/tw5864-video.c input->vb = NULL; input 458 drivers/media/pci/tw5864/tw5864-video.c while (!list_empty(&input->active)) { input 459 drivers/media/pci/tw5864/tw5864-video.c struct tw5864_buf *buf = list_entry(input->active.next, input 465 drivers/media/pci/tw5864/tw5864-video.c spin_unlock_irqrestore(&input->slock, flags); input 479 drivers/media/pci/tw5864/tw5864-video.c struct tw5864_input *input = input 481 drivers/media/pci/tw5864/tw5864-video.c struct tw5864_dev *dev = input->root; input 486 drivers/media/pci/tw5864/tw5864-video.c tw_indir_writeb(TW5864_INDIR_VIN_A_BRIGHT(input->nr), input 490 drivers/media/pci/tw5864/tw5864-video.c tw_indir_writeb(TW5864_INDIR_VIN_7_HUE(input->nr), input 494 drivers/media/pci/tw5864/tw5864-video.c tw_indir_writeb(TW5864_INDIR_VIN_9_CNTRST(input->nr), input 498 drivers/media/pci/tw5864/tw5864-video.c tw_indir_writeb(TW5864_INDIR_VIN_B_SAT_U(input->nr), input 500 drivers/media/pci/tw5864/tw5864-video.c tw_indir_writeb(TW5864_INDIR_VIN_C_SAT_V(input->nr), input 504 drivers/media/pci/tw5864/tw5864-video.c input->gop = ctrl->val; input 507 drivers/media/pci/tw5864/tw5864-video.c spin_lock_irqsave(&input->slock, flags); input 508 drivers/media/pci/tw5864/tw5864-video.c input->qp = ctrl->val; input 509 drivers/media/pci/tw5864/tw5864-video.c input->reg_dsp_qp = input->qp; input 510 drivers/media/pci/tw5864/tw5864-video.c input->reg_dsp_ref_mvp_lambda = lambda_lookup_table[input->qp]; input 511 drivers/media/pci/tw5864/tw5864-video.c input->reg_dsp_i4x4_weight = intra4x4_lambda3[input->qp]; input 512 drivers/media/pci/tw5864/tw5864-video.c spin_unlock_irqrestore(&input->slock, flags); input 515 drivers/media/pci/tw5864/tw5864-video.c memset(input->md_threshold_grid_values, ctrl->val, input 516 drivers/media/pci/tw5864/tw5864-video.c sizeof(input->md_threshold_grid_values)); input 522 drivers/media/pci/tw5864/tw5864-video.c memcpy(input->md_threshold_grid_values, input 523 drivers/media/pci/tw5864/tw5864-video.c input->md_threshold_grid_ctrl->p_new.p_u16, input 524 drivers/media/pci/tw5864/tw5864-video.c sizeof(input->md_threshold_grid_values)); input 533 drivers/media/pci/tw5864/tw5864-video.c struct tw5864_input *input = video_drvdata(file); input 536 drivers/media/pci/tw5864/tw5864-video.c switch (input->std) { input 558 drivers/media/pci/tw5864/tw5864-video.c struct tw5864_input *input = video_drvdata(file); input 559 drivers/media/pci/tw5864/tw5864-video.c struct tw5864_dev *dev = input->root; input 561 drivers/media/pci/tw5864/tw5864-video.c u8 indir_0x000 = tw_indir_readb(TW5864_INDIR_VIN_0(input->nr)); input 562 drivers/media/pci/tw5864/tw5864-video.c u8 indir_0x00d = tw_indir_readb(TW5864_INDIR_VIN_D(input->nr)); input 570 drivers/media/pci/tw5864/tw5864-video.c snprintf(i->name, sizeof(i->name), "Encoder %d", input->nr); input 602 drivers/media/pci/tw5864/tw5864-video.c struct tw5864_input *input = video_drvdata(file); input 606 drivers/media/pci/tw5864/tw5864-video.c input->nr); input 607 drivers/media/pci/tw5864/tw5864-video.c sprintf(cap->bus_info, "PCI:%s", pci_name(input->root->pci)); input 613 drivers/media/pci/tw5864/tw5864-video.c struct tw5864_input *input = video_drvdata(file); input 617 drivers/media/pci/tw5864/tw5864-video.c ret = tw5864_input_std_get(input, &tw_std); input 627 drivers/media/pci/tw5864/tw5864-video.c struct tw5864_input *input = video_drvdata(file); input 629 drivers/media/pci/tw5864/tw5864-video.c *std = input->v4l2_std; input 635 drivers/media/pci/tw5864/tw5864-video.c struct tw5864_input *input = video_drvdata(file); input 636 drivers/media/pci/tw5864/tw5864-video.c struct tw5864_dev *dev = input->root; input 638 drivers/media/pci/tw5864/tw5864-video.c input->v4l2_std = std; input 639 drivers/media/pci/tw5864/tw5864-video.c input->std = tw5864_from_v4l2_std(std); input 640 drivers/media/pci/tw5864/tw5864-video.c tw_indir_writeb(TW5864_INDIR_VIN_E(input->nr), input->std); input 669 drivers/media/pci/tw5864/tw5864-video.c static void tw5864_frame_interval_set(struct tw5864_input *input) input 694 drivers/media/pci/tw5864/tw5864-video.c struct tw5864_dev *dev = input->root; input 697 drivers/media/pci/tw5864/tw5864-video.c int std_max_fps = input->std == STD_NTSC ? 30 : 25; input 699 drivers/media/pci/tw5864/tw5864-video.c for (shift = 0; shift < std_max_fps; shift += input->frame_interval) input 702 drivers/media/pci/tw5864/tw5864-video.c tw_writel(TW5864_H264EN_RATE_CNTL_LO_WORD(input->nr, 0), input 704 drivers/media/pci/tw5864/tw5864-video.c tw_writel(TW5864_H264EN_RATE_CNTL_HI_WORD(input->nr, 0), input 708 drivers/media/pci/tw5864/tw5864-video.c static int tw5864_frameinterval_get(struct tw5864_input *input, input 711 drivers/media/pci/tw5864/tw5864-video.c struct tw5864_dev *dev = input->root; input 713 drivers/media/pci/tw5864/tw5864-video.c switch (input->std) { input 725 drivers/media/pci/tw5864/tw5864-video.c input->std); input 735 drivers/media/pci/tw5864/tw5864-video.c struct tw5864_input *input = video_drvdata(file); input 744 drivers/media/pci/tw5864/tw5864-video.c fsize->discrete.height = input->std == STD_NTSC ? 480 : 576; input 752 drivers/media/pci/tw5864/tw5864-video.c struct tw5864_input *input = video_drvdata(file); input 754 drivers/media/pci/tw5864/tw5864-video.c int std_max_fps = input->std == STD_NTSC ? 30 : 25; input 769 drivers/media/pci/tw5864/tw5864-video.c ret = tw5864_frameinterval_get(input, &frameinterval); input 781 drivers/media/pci/tw5864/tw5864-video.c struct tw5864_input *input = video_drvdata(file); input 787 drivers/media/pci/tw5864/tw5864-video.c ret = tw5864_frameinterval_get(input, &cp->timeperframe); input 788 drivers/media/pci/tw5864/tw5864-video.c cp->timeperframe.numerator *= input->frame_interval; input 798 drivers/media/pci/tw5864/tw5864-video.c struct tw5864_input *input = video_drvdata(file); input 803 drivers/media/pci/tw5864/tw5864-video.c ret = tw5864_frameinterval_get(input, &time_base); input 808 drivers/media/pci/tw5864/tw5864-video.c t->numerator = time_base.numerator * input->frame_interval; input 816 drivers/media/pci/tw5864/tw5864-video.c input->frame_interval = t->numerator / time_base.numerator; input 817 drivers/media/pci/tw5864/tw5864-video.c if (input->frame_interval < 1) input 818 drivers/media/pci/tw5864/tw5864-video.c input->frame_interval = 1; input 819 drivers/media/pci/tw5864/tw5864-video.c tw5864_frame_interval_set(input); input 844 drivers/media/pci/tw5864/tw5864-video.c struct tw5864_input *input = video_drvdata(file); input 845 drivers/media/pci/tw5864/tw5864-video.c struct tw5864_dev *dev = input->root; input 866 drivers/media/pci/tw5864/tw5864-video.c struct tw5864_input *input = video_drvdata(file); input 867 drivers/media/pci/tw5864/tw5864-video.c struct tw5864_dev *dev = input->root; input 1093 drivers/media/pci/tw5864/tw5864-video.c static int tw5864_video_input_init(struct tw5864_input *input, int video_nr) input 1095 drivers/media/pci/tw5864/tw5864-video.c struct tw5864_dev *dev = input->root; input 1097 drivers/media/pci/tw5864/tw5864-video.c struct v4l2_ctrl_handler *hdl = &input->hdl; input 1099 drivers/media/pci/tw5864/tw5864-video.c mutex_init(&input->lock); input 1100 drivers/media/pci/tw5864/tw5864-video.c spin_lock_init(&input->slock); input 1103 drivers/media/pci/tw5864/tw5864-video.c INIT_LIST_HEAD(&input->active); input 1104 drivers/media/pci/tw5864/tw5864-video.c input->vidq.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; input 1105 drivers/media/pci/tw5864/tw5864-video.c input->vidq.timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC; input 1106 drivers/media/pci/tw5864/tw5864-video.c input->vidq.io_modes = VB2_MMAP | VB2_READ | VB2_DMABUF; input 1107 drivers/media/pci/tw5864/tw5864-video.c input->vidq.ops = &tw5864_video_qops; input 1108 drivers/media/pci/tw5864/tw5864-video.c input->vidq.mem_ops = &vb2_dma_contig_memops; input 1109 drivers/media/pci/tw5864/tw5864-video.c input->vidq.drv_priv = input; input 1110 drivers/media/pci/tw5864/tw5864-video.c input->vidq.gfp_flags = 0; input 1111 drivers/media/pci/tw5864/tw5864-video.c input->vidq.buf_struct_size = sizeof(struct tw5864_buf); input 1112 drivers/media/pci/tw5864/tw5864-video.c input->vidq.lock = &input->lock; input 1113 drivers/media/pci/tw5864/tw5864-video.c input->vidq.min_buffers_needed = 2; input 1114 drivers/media/pci/tw5864/tw5864-video.c input->vidq.dev = &input->root->pci->dev; input 1115 drivers/media/pci/tw5864/tw5864-video.c ret = vb2_queue_init(&input->vidq); input 1119 drivers/media/pci/tw5864/tw5864-video.c input->vdev = tw5864_video_template; input 1120 drivers/media/pci/tw5864/tw5864-video.c input->vdev.v4l2_dev = &input->root->v4l2_dev; input 1121 drivers/media/pci/tw5864/tw5864-video.c input->vdev.lock = &input->lock; input 1122 drivers/media/pci/tw5864/tw5864-video.c input->vdev.queue = &input->vidq; input 1123 drivers/media/pci/tw5864/tw5864-video.c video_set_drvdata(&input->vdev, input); input 1146 drivers/media/pci/tw5864/tw5864-video.c input->md_threshold_grid_ctrl = input 1152 drivers/media/pci/tw5864/tw5864-video.c input->vdev.ctrl_handler = hdl; input 1155 drivers/media/pci/tw5864/tw5864-video.c input->qp = QP_VALUE; input 1156 drivers/media/pci/tw5864/tw5864-video.c input->gop = GOP_SIZE; input 1157 drivers/media/pci/tw5864/tw5864-video.c input->frame_interval = 1; input 1159 drivers/media/pci/tw5864/tw5864-video.c ret = video_register_device(&input->vdev, VFL_TYPE_GRABBER, video_nr); input 1163 drivers/media/pci/tw5864/tw5864-video.c dev_info(&input->root->pci->dev, "Registered video device %s\n", input 1164 drivers/media/pci/tw5864/tw5864-video.c video_device_node_name(&input->vdev)); input 1170 drivers/media/pci/tw5864/tw5864-video.c input->v4l2_std = V4L2_STD_NTSC_M; input 1171 drivers/media/pci/tw5864/tw5864-video.c input->std = STD_NTSC; input 1181 drivers/media/pci/tw5864/tw5864-video.c vb2_queue_release(&input->vidq); input 1183 drivers/media/pci/tw5864/tw5864-video.c mutex_destroy(&input->lock); input 1214 drivers/media/pci/tw5864/tw5864-video.c void tw5864_prepare_frame_headers(struct tw5864_input *input) input 1216 drivers/media/pci/tw5864/tw5864-video.c struct tw5864_buf *vb = input->vb; input 1222 drivers/media/pci/tw5864/tw5864-video.c spin_lock_irqsave(&input->slock, flags); input 1223 drivers/media/pci/tw5864/tw5864-video.c if (list_empty(&input->active)) { input 1224 drivers/media/pci/tw5864/tw5864-video.c spin_unlock_irqrestore(&input->slock, flags); input 1225 drivers/media/pci/tw5864/tw5864-video.c input->vb = NULL; input 1228 drivers/media/pci/tw5864/tw5864-video.c vb = list_first_entry(&input->active, struct tw5864_buf, list); input 1230 drivers/media/pci/tw5864/tw5864-video.c spin_unlock_irqrestore(&input->slock, flags); input 1251 drivers/media/pci/tw5864/tw5864-video.c if (input->frame_gop_seqno == 0) input 1252 drivers/media/pci/tw5864/tw5864-video.c tw5864_h264_put_stream_header(&dst, &dst_space, input->qp, input 1253 drivers/media/pci/tw5864/tw5864-video.c input->width, input->height); input 1256 drivers/media/pci/tw5864/tw5864-video.c tw5864_h264_put_slice_header(&dst, &dst_space, input->h264_idr_pic_id, input 1257 drivers/media/pci/tw5864/tw5864-video.c input->frame_gop_seqno, input 1258 drivers/media/pci/tw5864/tw5864-video.c &input->tail_nb_bits, &input->tail); input 1259 drivers/media/pci/tw5864/tw5864-video.c input->vb = vb; input 1260 drivers/media/pci/tw5864/tw5864-video.c input->buf_cur_ptr = dst; input 1261 drivers/media/pci/tw5864/tw5864-video.c input->buf_cur_space_left = dst_space; input 1298 drivers/media/pci/tw5864/tw5864-video.c struct tw5864_input *input = frame->input; input 1304 drivers/media/pci/tw5864/tw5864-video.c const u16 thresh = input->md_threshold_grid_values[i]; input 1363 drivers/media/pci/tw5864/tw5864-video.c struct tw5864_input *input = frame->input; input 1364 drivers/media/pci/tw5864/tw5864-video.c struct tw5864_dev *dev = input->root; input 1368 drivers/media/pci/tw5864/tw5864-video.c u8 *dst = input->buf_cur_ptr; input 1384 drivers/media/pci/tw5864/tw5864-video.c spin_lock_irqsave(&input->slock, flags); input 1385 drivers/media/pci/tw5864/tw5864-video.c vb = input->vb; input 1386 drivers/media/pci/tw5864/tw5864-video.c input->vb = NULL; input 1387 drivers/media/pci/tw5864/tw5864-video.c spin_unlock_irqrestore(&input->slock, flags); input 1400 drivers/media/pci/tw5864/tw5864-video.c if (input->buf_cur_space_left < frame_len * 5 / 4) { input 1403 drivers/media/pci/tw5864/tw5864-video.c input->buf_cur_space_left, frame_len); input 1407 drivers/media/pci/tw5864/tw5864-video.c for (i = 0; i < 8 - input->tail_nb_bits; i++) input 1411 drivers/media/pci/tw5864/tw5864-video.c dst[0] = (input->tail & tail_mask) | (vlc_first_byte & vlc_mask); input 1451 drivers/media/pci/tw5864/tw5864-video.c v4l2_event_queue(&input->vdev, &ev); input 137 drivers/media/pci/tw5864/tw5864.h struct tw5864_input *input; input 189 drivers/media/pci/tw5864/tw5864.h void tw5864_prepare_frame_headers(struct tw5864_input *input); input 196 drivers/media/pci/tw5864/tw5864.h void tw5864_request_encoded_frame(struct tw5864_input *input); input 674 drivers/media/pci/tw68/tw68-video.c if (n == dev->input) { input 697 drivers/media/pci/tw68/tw68-video.c *i = dev->input; input 707 drivers/media/pci/tw68/tw68-video.c dev->input = i; input 708 drivers/media/pci/tw68/tw68-video.c tw_andorb(TW68_INFORM, 0x03 << 2, dev->input << 2); input 162 drivers/media/pci/tw68/tw68.h int input; input 985 drivers/media/pci/tw686x/tw686x-video.c vc->input = i; input 999 drivers/media/pci/tw686x/tw686x-video.c if (i == vc->input) input 1015 drivers/media/pci/tw686x/tw686x-video.c *i = vc->input; input 98 drivers/media/pci/tw686x/tw686x.h unsigned int input; input 1739 drivers/media/platform/am437x/am437x-vpfe.c u32 input, output; input 1762 drivers/media/platform/am437x/am437x-vpfe.c input = route->input; input 1766 drivers/media/platform/am437x/am437x-vpfe.c s_routing, input, output, 0); input 76 drivers/media/platform/am437x/am437x-vpfe.h u32 input; input 509 drivers/media/platform/davinci/vpbe_venc.c static int venc_s_routing(struct v4l2_subdev *sd, u32 input, u32 output, input 1024 drivers/media/platform/davinci/vpfe_capture.c u32 input, output; input 1055 drivers/media/platform/davinci/vpfe_capture.c input = route->input; input 1058 drivers/media/platform/davinci/vpfe_capture.c input = 0; input 1063 drivers/media/platform/davinci/vpfe_capture.c ret = v4l2_subdev_call(sd, video, s_routing, input, output, 0); input 708 drivers/media/platform/davinci/vpif_capture.c u32 input = 0, output = 0; input 734 drivers/media/platform/davinci/vpif_capture.c input = chan_cfg->inputs[index].input_route; input 737 drivers/media/platform/davinci/vpif_capture.c input, output, 0); input 749 drivers/media/platform/davinci/vpif_capture.c ch->video_dev.tvnorms = chan_cfg->inputs[index].input.std; input 794 drivers/media/platform/davinci/vpif_capture.c struct v4l2_input input; input 802 drivers/media/platform/davinci/vpif_capture.c input = chan_cfg->inputs[ch->input_idx].input; input 803 drivers/media/platform/davinci/vpif_capture.c if (input.capabilities != V4L2_IN_CAP_STD) input 823 drivers/media/platform/davinci/vpif_capture.c struct v4l2_input input; input 832 drivers/media/platform/davinci/vpif_capture.c input = chan_cfg->inputs[ch->input_idx].input; input 833 drivers/media/platform/davinci/vpif_capture.c if (input.capabilities != V4L2_IN_CAP_STD) input 865 drivers/media/platform/davinci/vpif_capture.c struct v4l2_input *input) input 875 drivers/media/platform/davinci/vpif_capture.c if (input->index >= chan_cfg->input_count) input 878 drivers/media/platform/davinci/vpif_capture.c memcpy(input, &chan_cfg->inputs[input->index].input, input 879 drivers/media/platform/davinci/vpif_capture.c sizeof(*input)); input 1102 drivers/media/platform/davinci/vpif_capture.c struct v4l2_input input; input 1109 drivers/media/platform/davinci/vpif_capture.c input = chan_cfg->inputs[ch->input_idx].input; input 1110 drivers/media/platform/davinci/vpif_capture.c if (input.capabilities != V4L2_IN_CAP_DV_TIMINGS) input 1136 drivers/media/platform/davinci/vpif_capture.c struct v4l2_input input; input 1143 drivers/media/platform/davinci/vpif_capture.c input = chan_cfg->inputs[ch->input_idx].input; input 1144 drivers/media/platform/davinci/vpif_capture.c if (input.capabilities != V4L2_IN_CAP_DV_TIMINGS) input 1172 drivers/media/platform/davinci/vpif_capture.c struct v4l2_input input; input 1179 drivers/media/platform/davinci/vpif_capture.c input = chan_cfg->inputs[ch->input_idx].input; input 1180 drivers/media/platform/davinci/vpif_capture.c if (input.capabilities != V4L2_IN_CAP_DV_TIMINGS) input 1267 drivers/media/platform/davinci/vpif_capture.c struct v4l2_input input; input 1273 drivers/media/platform/davinci/vpif_capture.c input = chan_cfg->inputs[ch->input_idx].input; input 1274 drivers/media/platform/davinci/vpif_capture.c if (input.capabilities != V4L2_IN_CAP_DV_TIMINGS) input 1561 drivers/media/platform/davinci/vpif_capture.c chan->inputs[i].input.type = V4L2_INPUT_TYPE_CAMERA; input 1562 drivers/media/platform/davinci/vpif_capture.c chan->inputs[i].input.std = V4L2_STD_ALL; input 1563 drivers/media/platform/davinci/vpif_capture.c chan->inputs[i].input.capabilities = V4L2_IN_CAP_STD; input 812 drivers/media/platform/davinci/vpif_display.c u32 input = 0, output = 0; input 821 drivers/media/platform/davinci/vpif_display.c input = chan_cfg->outputs[index].input_route; input 823 drivers/media/platform/davinci/vpif_display.c ret = v4l2_subdev_call(sd, video, s_routing, input, output, 0); input 1215 drivers/media/platform/exynos4-is/fimc-capture.c if (vc->input == GRP_ID_FIMC_IS) input 1399 drivers/media/platform/exynos4-is/fimc-capture.c fimc->vid_cap.input); input 1402 drivers/media/platform/exynos4-is/fimc-capture.c fimc->vid_cap.input = 0; input 1406 drivers/media/platform/exynos4-is/fimc-capture.c if (vc->input != 0) input 1409 drivers/media/platform/exynos4-is/fimc-capture.c vc->input = sd->grp_id; input 323 drivers/media/platform/exynos4-is/fimc-core.h u32 input; input 1456 drivers/media/platform/marvell-ccic/mcam-core.c struct v4l2_input *input) input 1458 drivers/media/platform/marvell-ccic/mcam-core.c if (input->index != 0) input 1461 drivers/media/platform/marvell-ccic/mcam-core.c input->type = V4L2_INPUT_TYPE_CAMERA; input 1462 drivers/media/platform/marvell-ccic/mcam-core.c strscpy(input->name, "Camera", sizeof(input->name)); input 429 drivers/media/platform/omap3isp/isp.c enum ccdc_input_entity input, input 442 drivers/media/platform/omap3isp/isp.c switch (input) { input 888 drivers/media/platform/omap3isp/isp.c if (pipe->input) input 889 drivers/media/platform/omap3isp/isp.c omap3isp_video_cancel_stream(pipe->input); input 906 drivers/media/platform/omap3isp/isp.c omap3isp_video_resume(pipe->input, 0); input 1614 drivers/media/platform/omap3isp/isp.c struct media_entity *input; input 1626 drivers/media/platform/omap3isp/isp.c input = &isp->isp_ccdc.subdev.entity; input 1632 drivers/media/platform/omap3isp/isp.c input = &isp->isp_csi2a.subdev.entity; input 1639 drivers/media/platform/omap3isp/isp.c input = &isp->isp_ccp2.subdev.entity; input 1645 drivers/media/platform/omap3isp/isp.c input = &isp->isp_csi2c.subdev.entity; input 1662 drivers/media/platform/omap3isp/isp.c if (!input->num_pads) { input 1678 drivers/media/platform/omap3isp/isp.c return media_create_pad_link(entity, i, input, pad, flags); input 247 drivers/media/platform/omap3isp/isp.h enum ccdc_input_entity input, input 853 drivers/media/platform/omap3isp/ispccdc.c if (pipe->input) input 948 drivers/media/platform/omap3isp/ispccdc.c if (ccdc->input == CCDC_INPUT_PARALLEL) input 1138 drivers/media/platform/omap3isp/ispccdc.c if (ccdc->input == CCDC_INPUT_PARALLEL) { input 1172 drivers/media/platform/omap3isp/ispccdc.c omap3isp_configure_bridge(isp, ccdc->input, parcfg, shift, bridge); input 2413 drivers/media/platform/omap3isp/ispccdc.c if (ccdc->input == CCDC_INPUT_PARALLEL) { input 2522 drivers/media/platform/omap3isp/ispccdc.c ccdc->input = CCDC_INPUT_NONE; input 2526 drivers/media/platform/omap3isp/ispccdc.c if (ccdc->input != CCDC_INPUT_NONE) input 2530 drivers/media/platform/omap3isp/ispccdc.c ccdc->input = CCDC_INPUT_CCP2B; input 2532 drivers/media/platform/omap3isp/ispccdc.c ccdc->input = CCDC_INPUT_CSI2A; input 2534 drivers/media/platform/omap3isp/ispccdc.c ccdc->input = CCDC_INPUT_CSI2C; input 2536 drivers/media/platform/omap3isp/ispccdc.c ccdc->input = CCDC_INPUT_PARALLEL; input 2638 drivers/media/platform/omap3isp/ispccdc.c ccdc->input = CCDC_INPUT_NONE; input 133 drivers/media/platform/omap3isp/ispccdc.h enum ccdc_input_entity input; input 650 drivers/media/platform/omap3isp/ispccp2.c if (ccp2->input == CCP2_INPUT_SENSOR) { input 657 drivers/media/platform/omap3isp/ispccp2.c } else if (ccp2->input == CCP2_INPUT_MEMORY) { input 880 drivers/media/platform/omap3isp/ispccp2.c if (ccp2->input == CCP2_INPUT_MEMORY) { input 883 drivers/media/platform/omap3isp/ispccp2.c } else if (ccp2->input == CCP2_INPUT_SENSOR) { input 970 drivers/media/platform/omap3isp/ispccp2.c if (ccp2->input == CCP2_INPUT_SENSOR) input 972 drivers/media/platform/omap3isp/ispccp2.c ccp2->input = CCP2_INPUT_MEMORY; input 974 drivers/media/platform/omap3isp/ispccp2.c if (ccp2->input == CCP2_INPUT_MEMORY) input 975 drivers/media/platform/omap3isp/ispccp2.c ccp2->input = CCP2_INPUT_NONE; input 982 drivers/media/platform/omap3isp/ispccp2.c if (ccp2->input == CCP2_INPUT_MEMORY) input 984 drivers/media/platform/omap3isp/ispccp2.c ccp2->input = CCP2_INPUT_SENSOR; input 986 drivers/media/platform/omap3isp/ispccp2.c if (ccp2->input == CCP2_INPUT_SENSOR) input 987 drivers/media/platform/omap3isp/ispccp2.c ccp2->input = CCP2_INPUT_NONE; input 1066 drivers/media/platform/omap3isp/ispccp2.c ccp2->input = CCP2_INPUT_NONE; input 65 drivers/media/platform/omap3isp/ispccp2.h enum ccp2_input_entity input; input 1176 drivers/media/platform/omap3isp/isppreview.c if (prev->input != PREVIEW_INPUT_MEMORY) { input 1402 drivers/media/platform/omap3isp/isppreview.c if (prev->input == PREVIEW_INPUT_CCDC) input 1451 drivers/media/platform/omap3isp/isppreview.c if (prev->input == PREVIEW_INPUT_MEMORY) input 1489 drivers/media/platform/omap3isp/isppreview.c if (prev->input == PREVIEW_INPUT_MEMORY) { input 1540 drivers/media/platform/omap3isp/isppreview.c if (prev->input == PREVIEW_INPUT_MEMORY || input 1658 drivers/media/platform/omap3isp/isppreview.c if (prev->input == PREVIEW_INPUT_MEMORY) input 1751 drivers/media/platform/omap3isp/isppreview.c if (prev->input == PREVIEW_INPUT_MEMORY) { input 1828 drivers/media/platform/omap3isp/isppreview.c if (prev->input == PREVIEW_INPUT_CCDC) { input 2154 drivers/media/platform/omap3isp/isppreview.c if (prev->input == PREVIEW_INPUT_CCDC) input 2156 drivers/media/platform/omap3isp/isppreview.c prev->input = PREVIEW_INPUT_MEMORY; input 2158 drivers/media/platform/omap3isp/isppreview.c if (prev->input == PREVIEW_INPUT_MEMORY) input 2159 drivers/media/platform/omap3isp/isppreview.c prev->input = PREVIEW_INPUT_NONE; input 2166 drivers/media/platform/omap3isp/isppreview.c if (prev->input == PREVIEW_INPUT_MEMORY) input 2168 drivers/media/platform/omap3isp/isppreview.c prev->input = PREVIEW_INPUT_CCDC; input 2170 drivers/media/platform/omap3isp/isppreview.c if (prev->input == PREVIEW_INPUT_CCDC) input 2171 drivers/media/platform/omap3isp/isppreview.c prev->input = PREVIEW_INPUT_NONE; input 2264 drivers/media/platform/omap3isp/isppreview.c prev->input = PREVIEW_INPUT_NONE; input 128 drivers/media/platform/omap3isp/isppreview.h enum preview_input_entity input; input 553 drivers/media/platform/omap3isp/ispresizer.c if (res->input != RESIZER_INPUT_MEMORY) { input 778 drivers/media/platform/omap3isp/ispresizer.c struct v4l2_rect *input, input 799 drivers/media/platform/omap3isp/ispresizer.c min_height = ((input->height - 7) * 256 - 32 - 64 * spv) / 1024 + 1; input 801 drivers/media/platform/omap3isp/ispresizer.c max_height = ((input->height - 4) * 256 + 255 - 16 - 32 * spv) / 64 + 1; input 805 drivers/media/platform/omap3isp/ispresizer.c ratio->vert = ((input->height - 4) * 256 + 255 - 16 - 32 * spv) input 808 drivers/media/platform/omap3isp/ispresizer.c ratio->vert = ((input->height - 7) * 256 + 255 - 32 - 64 * spv) input 827 drivers/media/platform/omap3isp/ispresizer.c min_width = ((input->width - 7) * 256 - 32 - 64 * sph) / 1024 + 1; input 861 drivers/media/platform/omap3isp/ispresizer.c max_width = min(((input->width - 7) * 256 + 255 - 16 - 32 * sph) / 64 input 876 drivers/media/platform/omap3isp/ispresizer.c ratio->horz = ((input->width - 7) * 256 + 255 - 16 - 32 * sph) input 879 drivers/media/platform/omap3isp/ispresizer.c ratio->horz = ((input->width - 7) * 256 + 255 - 32 - 64 * sph) input 895 drivers/media/platform/omap3isp/ispresizer.c input->left += (input->width - width) / 2; input 896 drivers/media/platform/omap3isp/ispresizer.c input->top += (input->height - height) / 2; input 897 drivers/media/platform/omap3isp/ispresizer.c input->width = width; input 898 drivers/media/platform/omap3isp/ispresizer.c input->height = height; input 909 drivers/media/platform/omap3isp/ispresizer.c const struct v4l2_mbus_framefmt *input, input 922 drivers/media/platform/omap3isp/ispresizer.c if (res->input == RESIZER_INPUT_MEMORY) { input 924 drivers/media/platform/omap3isp/ispresizer.c res->crop_offset = (res->crop.active.top * input->width + input 961 drivers/media/platform/omap3isp/ispresizer.c resizer_set_source(res, res->input); input 967 drivers/media/platform/omap3isp/ispresizer.c if (res->input == RESIZER_INPUT_VP) input 1032 drivers/media/platform/omap3isp/ispresizer.c if (res->input == RESIZER_INPUT_MEMORY) { input 1156 drivers/media/platform/omap3isp/ispresizer.c if (res->input == RESIZER_INPUT_MEMORY) input 1355 drivers/media/platform/omap3isp/ispresizer.c if (res->input == RESIZER_INPUT_MEMORY) { input 1633 drivers/media/platform/omap3isp/ispresizer.c if (res->input == RESIZER_INPUT_VP) input 1635 drivers/media/platform/omap3isp/ispresizer.c res->input = RESIZER_INPUT_MEMORY; input 1637 drivers/media/platform/omap3isp/ispresizer.c if (res->input == RESIZER_INPUT_MEMORY) input 1638 drivers/media/platform/omap3isp/ispresizer.c res->input = RESIZER_INPUT_NONE; input 1645 drivers/media/platform/omap3isp/ispresizer.c if (res->input == RESIZER_INPUT_MEMORY) input 1647 drivers/media/platform/omap3isp/ispresizer.c res->input = RESIZER_INPUT_VP; input 1649 drivers/media/platform/omap3isp/ispresizer.c if (res->input == RESIZER_INPUT_VP) input 1650 drivers/media/platform/omap3isp/ispresizer.c res->input = RESIZER_INPUT_NONE; input 1720 drivers/media/platform/omap3isp/ispresizer.c res->input = RESIZER_INPUT_NONE; input 96 drivers/media/platform/omap3isp/ispresizer.h enum resizer_input_entity input; input 264 drivers/media/platform/omap3isp/ispvideo.c pipe->input = far_end; input 270 drivers/media/platform/omap3isp/ispvideo.c pipe->input = video; input 471 drivers/media/platform/omap3isp/ispvideo.c if (pipe->input) input 583 drivers/media/platform/omap3isp/ispvideo.c if (video->type == V4L2_BUF_TYPE_VIDEO_CAPTURE && pipe->input != NULL) { input 976 drivers/media/platform/omap3isp/ispvideo.c if (pipe->input != NULL) input 1242 drivers/media/platform/omap3isp/ispvideo.c isp_video_enum_input(struct file *file, void *fh, struct v4l2_input *input) input 1244 drivers/media/platform/omap3isp/ispvideo.c if (input->index > 0) input 1247 drivers/media/platform/omap3isp/ispvideo.c strscpy(input->name, "camera", sizeof(input->name)); input 1248 drivers/media/platform/omap3isp/ispvideo.c input->type = V4L2_INPUT_TYPE_CAMERA; input 1254 drivers/media/platform/omap3isp/ispvideo.c isp_video_g_input(struct file *file, void *fh, unsigned int *input) input 1256 drivers/media/platform/omap3isp/ispvideo.c *input = 0; input 1262 drivers/media/platform/omap3isp/ispvideo.c isp_video_s_input(struct file *file, void *fh, unsigned int input) input 1264 drivers/media/platform/omap3isp/ispvideo.c return input == 0 ? 0 : -EINVAL; input 87 drivers/media/platform/omap3isp/ispvideo.h struct isp_video *input; input 668 drivers/media/platform/qcom/camss/camss-vfe-4-1.c static inline u8 vfe_calc_interp_reso(u16 input, u16 output) input 670 drivers/media/platform/qcom/camss/camss-vfe-4-1.c if (input / output >= 16) input 673 drivers/media/platform/qcom/camss/camss-vfe-4-1.c if (input / output >= 8) input 676 drivers/media/platform/qcom/camss/camss-vfe-4-1.c if (input / output >= 4) input 686 drivers/media/platform/qcom/camss/camss-vfe-4-1.c u16 input, output; input 692 drivers/media/platform/qcom/camss/camss-vfe-4-1.c input = line->fmt[MSM_VFE_PAD_SINK].width; input 694 drivers/media/platform/qcom/camss/camss-vfe-4-1.c reg = (output << 16) | input; input 697 drivers/media/platform/qcom/camss/camss-vfe-4-1.c interp_reso = vfe_calc_interp_reso(input, output); input 698 drivers/media/platform/qcom/camss/camss-vfe-4-1.c phase_mult = input * (1 << (13 + interp_reso)) / output; input 702 drivers/media/platform/qcom/camss/camss-vfe-4-1.c input = line->fmt[MSM_VFE_PAD_SINK].height; input 704 drivers/media/platform/qcom/camss/camss-vfe-4-1.c reg = (output << 16) | input; input 707 drivers/media/platform/qcom/camss/camss-vfe-4-1.c interp_reso = vfe_calc_interp_reso(input, output); input 708 drivers/media/platform/qcom/camss/camss-vfe-4-1.c phase_mult = input * (1 << (13 + interp_reso)) / output; input 714 drivers/media/platform/qcom/camss/camss-vfe-4-1.c input = line->fmt[MSM_VFE_PAD_SINK].width; input 716 drivers/media/platform/qcom/camss/camss-vfe-4-1.c reg = (output << 16) | input; input 719 drivers/media/platform/qcom/camss/camss-vfe-4-1.c interp_reso = vfe_calc_interp_reso(input, output); input 720 drivers/media/platform/qcom/camss/camss-vfe-4-1.c phase_mult = input * (1 << (13 + interp_reso)) / output; input 724 drivers/media/platform/qcom/camss/camss-vfe-4-1.c input = line->fmt[MSM_VFE_PAD_SINK].height; input 728 drivers/media/platform/qcom/camss/camss-vfe-4-1.c reg = (output << 16) | input; input 731 drivers/media/platform/qcom/camss/camss-vfe-4-1.c interp_reso = vfe_calc_interp_reso(input, output); input 732 drivers/media/platform/qcom/camss/camss-vfe-4-1.c phase_mult = input * (1 << (13 + interp_reso)) / output; input 771 drivers/media/platform/qcom/camss/camss-vfe-4-7.c static inline u8 vfe_calc_interp_reso(u16 input, u16 output) input 773 drivers/media/platform/qcom/camss/camss-vfe-4-7.c if (input / output >= 16) input 776 drivers/media/platform/qcom/camss/camss-vfe-4-7.c if (input / output >= 8) input 779 drivers/media/platform/qcom/camss/camss-vfe-4-7.c if (input / output >= 4) input 789 drivers/media/platform/qcom/camss/camss-vfe-4-7.c u16 input, output; input 795 drivers/media/platform/qcom/camss/camss-vfe-4-7.c input = line->fmt[MSM_VFE_PAD_SINK].width - 1; input 797 drivers/media/platform/qcom/camss/camss-vfe-4-7.c reg = (output << 16) | input; input 800 drivers/media/platform/qcom/camss/camss-vfe-4-7.c interp_reso = vfe_calc_interp_reso(input, output); input 801 drivers/media/platform/qcom/camss/camss-vfe-4-7.c phase_mult = input * (1 << (14 + interp_reso)) / output; input 805 drivers/media/platform/qcom/camss/camss-vfe-4-7.c input = line->fmt[MSM_VFE_PAD_SINK].height - 1; input 807 drivers/media/platform/qcom/camss/camss-vfe-4-7.c reg = (output << 16) | input; input 810 drivers/media/platform/qcom/camss/camss-vfe-4-7.c interp_reso = vfe_calc_interp_reso(input, output); input 811 drivers/media/platform/qcom/camss/camss-vfe-4-7.c phase_mult = input * (1 << (14 + interp_reso)) / output; input 817 drivers/media/platform/qcom/camss/camss-vfe-4-7.c input = line->fmt[MSM_VFE_PAD_SINK].width - 1; input 819 drivers/media/platform/qcom/camss/camss-vfe-4-7.c reg = (output << 16) | input; input 822 drivers/media/platform/qcom/camss/camss-vfe-4-7.c interp_reso = vfe_calc_interp_reso(input, output); input 823 drivers/media/platform/qcom/camss/camss-vfe-4-7.c phase_mult = input * (1 << (14 + interp_reso)) / output; input 827 drivers/media/platform/qcom/camss/camss-vfe-4-7.c input = line->fmt[MSM_VFE_PAD_SINK].height - 1; input 831 drivers/media/platform/qcom/camss/camss-vfe-4-7.c reg = (output << 16) | input; input 834 drivers/media/platform/qcom/camss/camss-vfe-4-7.c interp_reso = vfe_calc_interp_reso(input, output); input 835 drivers/media/platform/qcom/camss/camss-vfe-4-7.c phase_mult = input * (1 << (14 + interp_reso)) / output; input 681 drivers/media/platform/qcom/camss/camss-video.c struct v4l2_input *input) input 683 drivers/media/platform/qcom/camss/camss-video.c if (input->index > 0) input 686 drivers/media/platform/qcom/camss/camss-video.c strscpy(input->name, "camera", sizeof(input->name)); input 687 drivers/media/platform/qcom/camss/camss-video.c input->type = V4L2_INPUT_TYPE_CAMERA; input 692 drivers/media/platform/qcom/camss/camss-video.c static int video_g_input(struct file *file, void *fh, unsigned int *input) input 694 drivers/media/platform/qcom/camss/camss-video.c *input = 0; input 699 drivers/media/platform/qcom/camss/camss-video.c static int video_s_input(struct file *file, void *fh, unsigned int input) input 701 drivers/media/platform/qcom/camss/camss-video.c return input == 0 ? 0 : -EINVAL; input 765 drivers/media/platform/qcom/camss/camss.c struct media_entity *input = &csiphy->subdev.entity; input 779 drivers/media/platform/qcom/camss/camss.c input, MSM_CSIPHY_PAD_SINK, input 784 drivers/media/platform/qcom/camss/camss.c sensor->name, input->name, ret); input 648 drivers/media/platform/s3c-camif/camif-capture.c struct v4l2_input *input) input 653 drivers/media/platform/s3c-camif/camif-capture.c if (input->index || sensor == NULL) input 656 drivers/media/platform/s3c-camif/camif-capture.c input->type = V4L2_INPUT_TYPE_CAMERA; input 657 drivers/media/platform/s3c-camif/camif-capture.c strscpy(input->name, sensor->name, sizeof(input->name)); input 96 drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.h enum csi_input input; input 292 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c writel(CSI_CFG_INPUT_FMT(csi_fmt->input) | input 26 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c .input = CSI_INPUT_YUV, input 284 drivers/media/platform/ti-vpe/cal.c int input; input 1164 drivers/media/platform/ti-vpe/cal.c *i = ctx->input; input 1175 drivers/media/platform/ti-vpe/cal.c ctx->input = i; input 753 drivers/media/platform/via-camera.c struct v4l2_input *input) input 755 drivers/media/platform/via-camera.c if (input->index != 0) input 758 drivers/media/platform/via-camera.c input->type = V4L2_INPUT_TYPE_CAMERA; input 759 drivers/media/platform/via-camera.c strscpy(input->name, "Camera", sizeof(input->name)); input 117 drivers/media/platform/vicodec/codec-fwht.c const __be16 *input = *rlc_in; input 124 drivers/media/platform/vicodec/codec-fwht.c if (input > end_of_input) input 126 drivers/media/platform/vicodec/codec-fwht.c stat = ntohs(*input++); input 141 drivers/media/platform/vicodec/codec-fwht.c if (input > end_of_input) input 143 drivers/media/platform/vicodec/codec-fwht.c in = ntohs(*input++); input 169 drivers/media/platform/vicodec/codec-fwht.c *rlc_in = input; input 576 drivers/media/platform/vicodec/codec-fwht.c static void fill_encoder_block(const u8 *input, s16 *dst, input 582 drivers/media/platform/vicodec/codec-fwht.c for (j = 0; j < 8; j++, input += input_step) input 583 drivers/media/platform/vicodec/codec-fwht.c *dst++ = *input; input 584 drivers/media/platform/vicodec/codec-fwht.c input += stride - 8 * input_step; input 588 drivers/media/platform/vicodec/codec-fwht.c static int var_intra(const s16 *input) input 592 drivers/media/platform/vicodec/codec-fwht.c const s16 *tmp = input; input 598 drivers/media/platform/vicodec/codec-fwht.c tmp = input; input 642 drivers/media/platform/vicodec/codec-fwht.c static void fill_decoder_block(u8 *dst, const s16 *input, int stride, input 648 drivers/media/platform/vicodec/codec-fwht.c for (j = 0; j < 8; j++, input++, dst += dst_step) { input 649 drivers/media/platform/vicodec/codec-fwht.c if (*input < 0) input 651 drivers/media/platform/vicodec/codec-fwht.c else if (*input > 255) input 654 drivers/media/platform/vicodec/codec-fwht.c *dst = *input; input 683 drivers/media/platform/vicodec/codec-fwht.c static u32 encode_plane(u8 *input, u8 *refp, __be16 **rlco, __be16 *rlco_max, input 688 drivers/media/platform/vicodec/codec-fwht.c u8 *input_start = input; input 700 drivers/media/platform/vicodec/codec-fwht.c input = input_start + j * 8 * stride; input 707 drivers/media/platform/vicodec/codec-fwht.c blocktype = decide_blocktype(input, refp, input 710 drivers/media/platform/vicodec/codec-fwht.c fwht(input, cf->coeffs, stride, input_step, 1); input 728 drivers/media/platform/vicodec/codec-fwht.c input += 8 * input_step; input 758 drivers/media/platform/vicodec/codec-fwht.c input = input_start; input 766 drivers/media/platform/vicodec/codec-fwht.c for (i = 0, p = input; i < width; i++, p += input_step) input 768 drivers/media/platform/vicodec/codec-fwht.c input += stride; input 312 drivers/media/platform/vivid/vivid-core.h unsigned input; input 534 drivers/media/platform/vivid/vivid-core.h return dev->input_type[dev->input] == WEBCAM; input 539 drivers/media/platform/vivid/vivid-core.h return dev->input_type[dev->input] == TV; input 544 drivers/media/platform/vivid/vivid-core.h return dev->input_type[dev->input] == SVID; input 549 drivers/media/platform/vivid/vivid-core.h return dev->input_type[dev->input] == HDMI; input 313 drivers/media/platform/vivid/vivid-ctrls.c dev->input_brightness[dev->input] = ctrl->val - dev->input * 128; input 314 drivers/media/platform/vivid/vivid-ctrls.c tpg_s_brightness(&dev->tpg, dev->input_brightness[dev->input]); input 468 drivers/media/platform/vivid/vivid-ctrls.c dev->std_aspect_ratio[dev->input] = ctrl->val; input 472 drivers/media/platform/vivid/vivid-ctrls.c dev->dv_timings_signal_mode[dev->input] = input 474 drivers/media/platform/vivid/vivid-ctrls.c dev->query_dv_timings[dev->input] = dev->ctrl_dv_timings->val; input 489 drivers/media/platform/vivid/vivid-ctrls.c dev->dv_timings_signal_mode[dev->input] == input 496 drivers/media/platform/vivid/vivid-ctrls.c dev->dv_timings_aspect_ratio[dev->input] = ctrl->val; input 1189 drivers/media/platform/vivid/vivid-ctrls.c dev->std_signal_mode[dev->input] = input 1191 drivers/media/platform/vivid/vivid-ctrls.c if (dev->std_signal_mode[dev->input] == SELECTED_STD) input 1192 drivers/media/platform/vivid/vivid-ctrls.c dev->query_std[dev->input] = input 1195 drivers/media/platform/vivid/vivid-ctrls.c dev->std_signal_mode[dev->input] == input 46 drivers/media/platform/vivid/vivid-kthread-cap.c return dev->std_cap[dev->input]; input 411 drivers/media/platform/vivid/vivid-kthread-cap.c bool is_60hz = is_tv && (dev->std_cap[dev->input] & V4L2_STD_525_60); input 422 drivers/media/platform/vivid/vivid-kthread-cap.c !VIVID_INVALID_SIGNAL(dev->std_signal_mode[dev->input])) || input 424 drivers/media/platform/vivid/vivid-kthread-cap.c !VIVID_INVALID_SIGNAL(dev->dv_timings_signal_mode[dev->input])))) input 493 drivers/media/platform/vivid/vivid-kthread-cap.c dev->src_rect.width, dev->src_rect.height, dev->input); input 21 drivers/media/platform/vivid/vivid-vbi-cap.c bool is_60hz = dev->std_cap[dev->input] & V4L2_STD_525_60; input 68 drivers/media/platform/vivid/vivid-vbi-cap.c bool is_60hz = dev->std_cap[dev->input] & V4L2_STD_525_60; input 96 drivers/media/platform/vivid/vivid-vbi-cap.c if (!VIVID_INVALID_SIGNAL(dev->std_signal_mode[dev->input])) input 114 drivers/media/platform/vivid/vivid-vbi-cap.c if (!VIVID_INVALID_SIGNAL(dev->std_signal_mode[dev->input])) { input 127 drivers/media/platform/vivid/vivid-vbi-cap.c bool is_60hz = dev->std_cap[dev->input] & V4L2_STD_525_60; input 147 drivers/media/platform/vivid/vivid-vbi-cap.c bool is_60hz = dev->std_cap[dev->input] & V4L2_STD_525_60; input 305 drivers/media/platform/vivid/vivid-vbi-cap.c bool is_60hz = dev->std_cap[dev->input] & V4L2_STD_525_60; input 340 drivers/media/platform/vivid/vivid-vbi-cap.c is_60hz = dev->std_cap[dev->input] & V4L2_STD_525_60; input 194 drivers/media/platform/vivid/vivid-vid-cap.c if (dev->std_cap[dev->input] & V4L2_STD_525_60) input 295 drivers/media/platform/vivid/vivid-vid-cap.c VIVID_INVALID_SIGNAL(dev->dv_timings_signal_mode[dev->input])) { input 300 drivers/media/platform/vivid/vivid-vid-cap.c VIVID_INVALID_SIGNAL(dev->std_signal_mode[dev->input])) { input 355 drivers/media/platform/vivid/vivid-vid-cap.c return dev->std_aspect_ratio[dev->input]; input 358 drivers/media/platform/vivid/vivid-vid-cap.c return dev->dv_timings_aspect_ratio[dev->input]; input 366 drivers/media/platform/vivid/vivid-vid-cap.c return (dev->std_cap[dev->input] & V4L2_STD_525_60) ? input 383 drivers/media/platform/vivid/vivid-vid-cap.c struct v4l2_bt_timings *bt = &dev->dv_timings_cap[dev->input].bt; input 387 drivers/media/platform/vivid/vivid-vid-cap.c switch (dev->input_type[dev->input]) { input 400 drivers/media/platform/vivid/vivid-vid-cap.c if (dev->std_cap[dev->input] & V4L2_STD_525_60) { input 483 drivers/media/platform/vivid/vivid-vid-cap.c return dev->dv_timings_cap[dev->input].bt.interlaced ? input 583 drivers/media/platform/vivid/vivid-vid-cap.c h = (dev->std_cap[dev->input] & V4L2_STD_525_60) ? 480 : 576; input 1307 drivers/media/platform/vivid/vivid-vid-cap.c dev->dv_timings_signal_mode[dev->input] == NO_SIGNAL) input 1309 drivers/media/platform/vivid/vivid-vid-cap.c else if (dev->dv_timings_signal_mode[dev->input] == NO_LOCK || input 1310 drivers/media/platform/vivid/vivid-vid-cap.c dev->dv_timings_signal_mode[dev->input] == OUT_OF_RANGE) input 1318 drivers/media/platform/vivid/vivid-vid-cap.c if (dev->input == inp->index && vivid_is_sdtv_cap(dev)) { input 1319 drivers/media/platform/vivid/vivid-vid-cap.c if (dev->std_signal_mode[dev->input] == NO_SIGNAL) { input 1321 drivers/media/platform/vivid/vivid-vid-cap.c } else if (dev->std_signal_mode[dev->input] == NO_LOCK) { input 1343 drivers/media/platform/vivid/vivid-vid-cap.c *i = dev->input; input 1350 drivers/media/platform/vivid/vivid-vid-cap.c struct v4l2_bt_timings *bt = &dev->dv_timings_cap[dev->input].bt; input 1356 drivers/media/platform/vivid/vivid-vid-cap.c if (i == dev->input) input 1362 drivers/media/platform/vivid/vivid-vid-cap.c dev->input = i; input 1409 drivers/media/platform/vivid/vivid-vid-cap.c dev->dv_timings_signal_mode[dev->input] == input 1413 drivers/media/platform/vivid/vivid-vid-cap.c dev->std_signal_mode[dev->input]); input 1417 drivers/media/platform/vivid/vivid-vid-cap.c dev->dv_timings_signal_mode[dev->input]); input 1419 drivers/media/platform/vivid/vivid-vid-cap.c dev->query_dv_timings[dev->input]); input 1422 drivers/media/platform/vivid/vivid-vid-cap.c dev->std_signal_mode[dev->input]); input 1424 drivers/media/platform/vivid/vivid-vid-cap.c dev->std_signal_mode[dev->input]); input 1521 drivers/media/platform/vivid/vivid-vid-cap.c (dev->std_cap[dev->input] & V4L2_STD_NTSC_M) ? 4 : 3; input 1531 drivers/media/platform/vivid/vivid-vid-cap.c if (dev->std_cap[dev->input] & V4L2_STD_NTSC_M) input 1588 drivers/media/platform/vivid/vivid-vid-cap.c unsigned int last = dev->query_std_last[dev->input]; input 1592 drivers/media/platform/vivid/vivid-vid-cap.c if (dev->std_signal_mode[dev->input] == NO_SIGNAL || input 1593 drivers/media/platform/vivid/vivid-vid-cap.c dev->std_signal_mode[dev->input] == NO_LOCK) { input 1599 drivers/media/platform/vivid/vivid-vid-cap.c } else if (dev->std_signal_mode[dev->input] == CURRENT_STD) { input 1600 drivers/media/platform/vivid/vivid-vid-cap.c *id = dev->std_cap[dev->input]; input 1601 drivers/media/platform/vivid/vivid-vid-cap.c } else if (dev->std_signal_mode[dev->input] == SELECTED_STD) { input 1602 drivers/media/platform/vivid/vivid-vid-cap.c *id = dev->query_std[dev->input]; input 1605 drivers/media/platform/vivid/vivid-vid-cap.c dev->query_std_last[dev->input] = input 1618 drivers/media/platform/vivid/vivid-vid-cap.c if (dev->std_cap[dev->input] == id) input 1622 drivers/media/platform/vivid/vivid-vid-cap.c dev->std_cap[dev->input] = id; input 1699 drivers/media/platform/vivid/vivid-vid-cap.c if (v4l2_match_dv_timings(timings, &dev->dv_timings_cap[dev->input], input 1705 drivers/media/platform/vivid/vivid-vid-cap.c dev->dv_timings_cap[dev->input] = *timings; input 1714 drivers/media/platform/vivid/vivid-vid-cap.c unsigned int input = dev->input; input 1715 drivers/media/platform/vivid/vivid-vid-cap.c unsigned int last = dev->query_dv_timings_last[input]; input 1719 drivers/media/platform/vivid/vivid-vid-cap.c if (dev->dv_timings_signal_mode[input] == NO_SIGNAL || input 1722 drivers/media/platform/vivid/vivid-vid-cap.c if (dev->dv_timings_signal_mode[input] == NO_LOCK) input 1724 drivers/media/platform/vivid/vivid-vid-cap.c if (dev->dv_timings_signal_mode[input] == OUT_OF_RANGE) { input 1728 drivers/media/platform/vivid/vivid-vid-cap.c if (dev->dv_timings_signal_mode[input] == CURRENT_DV_TIMINGS) { input 1729 drivers/media/platform/vivid/vivid-vid-cap.c *timings = dev->dv_timings_cap[input]; input 1730 drivers/media/platform/vivid/vivid-vid-cap.c } else if (dev->dv_timings_signal_mode[input] == input 1733 drivers/media/platform/vivid/vivid-vid-cap.c v4l2_dv_timings_presets[dev->query_dv_timings[input]]; input 1737 drivers/media/platform/vivid/vivid-vid-cap.c dev->query_dv_timings_last[input] = input 774 drivers/media/platform/vivid/vivid-vid-common.c if (!(dev->std_cap[dev->input] & V4L2_STD_525_60) != input 934 drivers/media/platform/vivid/vivid-vid-common.c *id = dev->std_cap[dev->input]; input 952 drivers/media/platform/vivid/vivid-vid-common.c *timings = dev->dv_timings_cap[dev->input]; input 979 drivers/media/platform/vsp1/vsp1_drm.c struct vsp1_rwpf *input = vsp1->rpf[i]; input 981 drivers/media/platform/vsp1/vsp1_drm.c INIT_LIST_HEAD(&input->entity.list_pipe); input 277 drivers/media/platform/vsp1/vsp1_sru.c struct v4l2_mbus_framefmt *input; input 281 drivers/media/platform/vsp1/vsp1_sru.c input = vsp1_entity_get_pad_format(&sru->entity, sru->entity.config, input 286 drivers/media/platform/vsp1/vsp1_sru.c if (input->code == MEDIA_BUS_FMT_ARGB8888_1X32) input 292 drivers/media/platform/vsp1/vsp1_sru.c if (input->width != output->width) input 308 drivers/media/platform/vsp1/vsp1_sru.c struct v4l2_mbus_framefmt *input; input 311 drivers/media/platform/vsp1/vsp1_sru.c input = vsp1_entity_get_pad_format(&sru->entity, sru->entity.config, input 321 drivers/media/platform/vsp1/vsp1_sru.c if (input->width != output->width) input 334 drivers/media/platform/vsp1/vsp1_sru.c struct v4l2_mbus_framefmt *input; input 337 drivers/media/platform/vsp1/vsp1_sru.c input = vsp1_entity_get_pad_format(&sru->entity, sru->entity.config, input 343 drivers/media/platform/vsp1/vsp1_sru.c if (input->width != output->width) { input 54 drivers/media/platform/vsp1/vsp1_uds.c static unsigned int uds_output_size(unsigned int input, unsigned int ratio) input 63 drivers/media/platform/vsp1/vsp1_uds.c return (input - 1) / mp * mp * 4096 / ratio + 1; input 66 drivers/media/platform/vsp1/vsp1_uds.c return (input - 1) * 4096 / ratio + 1; input 76 drivers/media/platform/vsp1/vsp1_uds.c static void uds_output_limits(unsigned int input, input 79 drivers/media/platform/vsp1/vsp1_uds.c *minimum = max(uds_output_size(input, UDS_MAX_FACTOR), UDS_MIN_SIZE); input 80 drivers/media/platform/vsp1/vsp1_uds.c *maximum = min(uds_output_size(input, UDS_MIN_FACTOR), UDS_MAX_SIZE); input 103 drivers/media/platform/vsp1/vsp1_uds.c static unsigned int uds_compute_ratio(unsigned int input, unsigned int output) input 106 drivers/media/platform/vsp1/vsp1_uds.c return (input - 1) * 4096 / (output - 1); input 265 drivers/media/platform/vsp1/vsp1_uds.c const struct v4l2_mbus_framefmt *input; input 270 drivers/media/platform/vsp1/vsp1_uds.c input = vsp1_entity_get_pad_format(&uds->entity, uds->entity.config, input 275 drivers/media/platform/vsp1/vsp1_uds.c hscale = uds_compute_ratio(input->width, output->width); input 276 drivers/media/platform/vsp1/vsp1_uds.c vscale = uds_compute_ratio(input->height, output->height); input 337 drivers/media/platform/vsp1/vsp1_uds.c const struct v4l2_mbus_framefmt *input; input 340 drivers/media/platform/vsp1/vsp1_uds.c input = vsp1_entity_get_pad_format(&uds->entity, uds->entity.config, input 344 drivers/media/platform/vsp1/vsp1_uds.c hscale = output->width / input->width; input 376 drivers/media/platform/vsp1/vsp1_uds.c const struct v4l2_mbus_framefmt *input; input 382 drivers/media/platform/vsp1/vsp1_uds.c input = vsp1_entity_get_pad_format(&uds->entity, uds->entity.config, input 387 drivers/media/platform/vsp1/vsp1_uds.c partition->uds_sink.width = window->width * input->width input 389 drivers/media/platform/vsp1/vsp1_uds.c partition->uds_sink.left = window->left * input->width input 469 drivers/media/platform/vsp1/vsp1_video.c struct vsp1_rwpf *input, input 478 drivers/media/platform/vsp1/vsp1_video.c ret = media_entity_enum_init(&ent_enum, &input->entity.vsp1->media_dev); input 487 drivers/media/platform/vsp1/vsp1_video.c pad = vsp1_entity_remote_pad(&input->entity.pads[RWPF_PAD_SOURCE]); input 517 drivers/media/platform/vsp1/vsp1_video.c brx->inputs[pad->index].rpf = input; input 518 drivers/media/platform/vsp1/vsp1_video.c input->brx_input = pad->index; input 540 drivers/media/platform/vsp1/vsp1_video.c pipe->uds_input = brx ? &brx->entity : &input->entity; input 325 drivers/media/platform/vsp1/vsp1_wpf.c struct vsp1_rwpf *input = pipe->inputs[i]; input 327 drivers/media/platform/vsp1/vsp1_wpf.c if (!input) input 331 drivers/media/platform/vsp1/vsp1_wpf.c ? VI6_WPF_SRCRPF_RPF_ACT_MST(input->entity.index) input 332 drivers/media/platform/vsp1/vsp1_wpf.c : VI6_WPF_SRCRPF_RPF_ACT_SUB(input->entity.index); input 675 drivers/media/rc/rc-main.c struct input_dev *input = dev->input_dev; input 680 drivers/media/rc/rc-main.c input_event(input, EV_KEY, dev->last_keycode, 2); input 681 drivers/media/rc/rc-main.c input_sync(input); input 682 drivers/media/rc/rc-main.c if (input->rep[REP_PERIOD]) input 684 drivers/media/rc/rc-main.c msecs_to_jiffies(input->rep[REP_PERIOD])); input 43 drivers/media/usb/au0828/au0828-cards.c .input = { input 70 drivers/media/usb/au0828/au0828-cards.c .input = { input 1311 drivers/media/usb/au0828/au0828-video.c struct v4l2_input *input) input 1328 drivers/media/usb/au0828/au0828-video.c tmp = input->index; input 1335 drivers/media/usb/au0828/au0828-video.c input->index = tmp; input 1336 drivers/media/usb/au0828/au0828-video.c strscpy(input->name, inames[AUVI_INPUT(tmp).type], sizeof(input->name)); input 1339 drivers/media/usb/au0828/au0828-video.c input->type |= V4L2_INPUT_TYPE_TUNER; input 1340 drivers/media/usb/au0828/au0828-video.c input->audioset = 1; input 1342 drivers/media/usb/au0828/au0828-video.c input->type |= V4L2_INPUT_TYPE_CAMERA; input 1343 drivers/media/usb/au0828/au0828-video.c input->audioset = 2; input 1346 drivers/media/usb/au0828/au0828-video.c input->std = dev->vdev.tvnorms; input 82 drivers/media/usb/au0828/au0828.h struct au0828_input input[AU0828_MAX_INPUT]; input 107 drivers/media/usb/au0828/au0828.h #define AUVI_INPUT(nr) (dev->board.input[nr]) input 553 drivers/media/usb/cx231xx/cx231xx-avcore.c int cx231xx_set_video_input_mux(struct cx231xx *dev, u8 input) input 557 drivers/media/usb/cx231xx/cx231xx-avcore.c switch (INPUT(input)->type) { input 573 drivers/media/usb/cx231xx/cx231xx-avcore.c INPUT(input)->type, input 574 drivers/media/usb/cx231xx/cx231xx-avcore.c INPUT(input)->vmux); input 593 drivers/media/usb/cx231xx/cx231xx-avcore.c INPUT(input)->vmux); input 597 drivers/media/usb/cx231xx/cx231xx-avcore.c INPUT(input)->vmux); input 602 drivers/media/usb/cx231xx/cx231xx-avcore.c __func__, INPUT(input)->type); input 607 drivers/media/usb/cx231xx/cx231xx-avcore.c dev->video_input = input; input 613 drivers/media/usb/cx231xx/cx231xx-avcore.c u8 pin_type, u8 input) input 629 drivers/media/usb/cx231xx/cx231xx-avcore.c status = cx231xx_afe_set_input_mux(dev, input); input 1072 drivers/media/usb/cx231xx/cx231xx-avcore.c int cx231xx_set_audio_input(struct cx231xx *dev, u8 input) input 1077 drivers/media/usb/cx231xx/cx231xx-avcore.c switch (INPUT(input)->amux) { input 1082 drivers/media/usb/cx231xx/cx231xx-avcore.c status = cx231xx_i2s_blk_set_audio_input(dev, input); input 60 drivers/media/usb/cx231xx/cx231xx-cards.c .input = {{ input 100 drivers/media/usb/cx231xx/cx231xx-cards.c .input = {{ input 140 drivers/media/usb/cx231xx/cx231xx-cards.c .input = {{ input 180 drivers/media/usb/cx231xx/cx231xx-cards.c .input = {{ input 221 drivers/media/usb/cx231xx/cx231xx-cards.c .input = {{ input 257 drivers/media/usb/cx231xx/cx231xx-cards.c .input = {{ input 292 drivers/media/usb/cx231xx/cx231xx-cards.c .input = {{ input 320 drivers/media/usb/cx231xx/cx231xx-cards.c .input = {{ input 348 drivers/media/usb/cx231xx/cx231xx-cards.c .input = {{ input 379 drivers/media/usb/cx231xx/cx231xx-cards.c .input = {{ input 412 drivers/media/usb/cx231xx/cx231xx-cards.c .input = {{ input 450 drivers/media/usb/cx231xx/cx231xx-cards.c .input = {{ input 489 drivers/media/usb/cx231xx/cx231xx-cards.c .input = {{ input 521 drivers/media/usb/cx231xx/cx231xx-cards.c .input = {{ input 547 drivers/media/usb/cx231xx/cx231xx-cards.c .input = {{ input 577 drivers/media/usb/cx231xx/cx231xx-cards.c .input = {{ input 612 drivers/media/usb/cx231xx/cx231xx-cards.c .input = {{ input 643 drivers/media/usb/cx231xx/cx231xx-cards.c .input = {{ input 674 drivers/media/usb/cx231xx/cx231xx-cards.c .input = {{ input 709 drivers/media/usb/cx231xx/cx231xx-cards.c .input = {{ input 748 drivers/media/usb/cx231xx/cx231xx-cards.c .input = {{ input 787 drivers/media/usb/cx231xx/cx231xx-cards.c .input = {{ input 818 drivers/media/usb/cx231xx/cx231xx-cards.c .input = {{ input 843 drivers/media/usb/cx231xx/cx231xx-cards.c .input = {{ input 876 drivers/media/usb/cx231xx/cx231xx-cards.c .input = {{ input 899 drivers/media/usb/cx231xx/cx231xx-cards.c .input = {{ input 933 drivers/media/usb/cx231xx/cx231xx-cards.c .input = {{ input 973 drivers/media/usb/cx231xx/cx231xx-cards.c .input = {{ input 310 drivers/media/usb/cx231xx/cx231xx.h #define INPUT(nr) (&cx231xx_boards[dev->model].input[nr]) input 371 drivers/media/usb/cx231xx/cx231xx.h struct cx231xx_input input[MAX_CX231XX_INPUT]; input 723 drivers/media/usb/cx231xx/cx231xx.h unsigned int input; input 929 drivers/media/usb/cx231xx/cx231xx.h int cx231xx_set_video_input_mux(struct cx231xx *dev, u8 input); input 930 drivers/media/usb/cx231xx/cx231xx.h int cx231xx_set_decoder_video_input(struct cx231xx *dev, u8 pin_type, u8 input); input 932 drivers/media/usb/cx231xx/cx231xx.h int cx231xx_set_audio_input(struct cx231xx *dev, u8 input); input 749 drivers/media/usb/dvb-usb/cxusb-analog.c if (cxdev->input == 0) input 760 drivers/media/usb/dvb-usb/cxusb-analog.c (unsigned int)cxdev->input); input 1069 drivers/media/usb/dvb-usb/cxusb-analog.c struct v4l2_input input; input 1072 drivers/media/usb/dvb-usb/cxusb-analog.c { .input = { .name = "TV tuner", .type = V4L2_INPUT_TYPE_TUNER, input 1076 drivers/media/usb/dvb-usb/cxusb-analog.c { .input = { .name = "Composite", .type = V4L2_INPUT_TYPE_CAMERA, input 1080 drivers/media/usb/dvb-usb/cxusb-analog.c { .input = { .name = "S-Video", .type = V4L2_INPUT_TYPE_CAMERA, input 1097 drivers/media/usb/dvb-usb/cxusb-analog.c *inp = cxusb_medion_inputs[index].input; input 1101 drivers/media/usb/dvb-usb/cxusb-analog.c if (index == cxdev->input) { input 1124 drivers/media/usb/dvb-usb/cxusb-analog.c *i = cxdev->input; input 1137 drivers/media/usb/dvb-usb/cxusb-analog.c (unsigned int)cxdev->input, input 1145 drivers/media/usb/dvb-usb/cxusb-analog.c if (cxdev->input != 0) { input 1203 drivers/media/usb/dvb-usb/cxusb-analog.c cxdev->input = i; input 1204 drivers/media/usb/dvb-usb/cxusb-analog.c cxdev->videodev->tvnorms = cxusb_medion_inputs[i].input.std; input 1206 drivers/media/usb/dvb-usb/cxusb-analog.c norm = cxdev->norm & cxusb_medion_inputs[i].input.std; input 1208 drivers/media/usb/dvb-usb/cxusb-analog.c norm = cxusb_medion_inputs[i].input.std; input 1381 drivers/media/usb/dvb-usb/cxusb-analog.c if (cxdev->input == 0) input 1390 drivers/media/usb/dvb-usb/cxusb-analog.c (unsigned int)cxdev->input); input 1395 drivers/media/usb/dvb-usb/cxusb-analog.c (unsigned int)cxdev->input, (unsigned long)*norm); input 1492 drivers/media/usb/dvb-usb/cxusb-analog.c cxdev->input = 1; input 132 drivers/media/usb/dvb-usb/cxusb.h u32 input; input 656 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 669 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 701 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 712 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 727 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 747 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 767 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 790 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 807 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 827 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 847 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 867 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 892 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 915 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 925 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 940 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 959 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 975 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 985 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 1001 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 1022 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 1043 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 1066 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 1084 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 1102 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 1120 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 1191 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 1293 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 1320 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 1346 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 1372 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 1398 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 1424 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 1450 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 1477 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 1502 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 1523 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 1542 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 1557 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 1575 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 1595 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 1613 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 1629 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 1648 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 1671 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 1692 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 1719 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 1742 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 1764 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 1786 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 1817 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 1846 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 1869 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 1893 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 1919 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 1946 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 1970 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 1995 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 2014 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 2041 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 2062 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 2086 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 2102 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 2122 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 2141 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 2159 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 2180 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 2255 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 2378 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 2418 drivers/media/usb/em28xx/em28xx-cards.c .input = { { input 365 drivers/media/usb/em28xx/em28xx-core.c u8 input; input 369 drivers/media/usb/em28xx/em28xx-core.c input = EM2800_AUDIO_SRC_TUNER; input 371 drivers/media/usb/em28xx/em28xx-core.c input = EM2800_AUDIO_SRC_LINE; input 373 drivers/media/usb/em28xx/em28xx-core.c ret = em28xx_write_regs(dev, EM2800_R08_AUDIOSRC, &input, 1); input 379 drivers/media/usb/em28xx/em28xx-core.c input = EM28XX_AUDIO_SRC_TUNER; input 383 drivers/media/usb/em28xx/em28xx-core.c input = EM28XX_AUDIO_SRC_TUNER; input 386 drivers/media/usb/em28xx/em28xx-core.c input = EM28XX_AUDIO_SRC_LINE; input 396 drivers/media/usb/em28xx/em28xx-core.c ret = em28xx_write_reg_bits(dev, EM28XX_R0E_AUDIOSRC, input, 0xc0); input 427 drivers/media/usb/em28xx/em28xx.h #define INPUT(nr) (&em28xx_boards[dev->model].input[nr]) input 510 drivers/media/usb/em28xx/em28xx.h struct em28xx_input input[MAX_EM28XX_INPUT]; input 713 drivers/media/usb/go7007/go7007-driver.c go->input = 0; input 184 drivers/media/usb/go7007/go7007-priv.h int input; input 633 drivers/media/usb/go7007/go7007-v4l2.c static int vidioc_g_input(struct file *file, void *priv, unsigned int *input) input 637 drivers/media/usb/go7007/go7007-v4l2.c *input = go->input; input 680 drivers/media/usb/go7007/go7007-v4l2.c unsigned int input = go->input; input 683 drivers/media/usb/go7007/go7007-v4l2.c go->board_info->inputs[input].video_input, 0, input 686 drivers/media/usb/go7007/go7007-v4l2.c int aud_input = go->board_info->inputs[input].audio_index; input 694 drivers/media/usb/go7007/go7007-v4l2.c static int vidioc_s_input(struct file *file, void *priv, unsigned int input) input 698 drivers/media/usb/go7007/go7007-v4l2.c if (input >= go->board_info->num_inputs) input 703 drivers/media/usb/go7007/go7007-v4l2.c go->input = input; input 115 drivers/media/usb/go7007/s2250-board.c int input; input 319 drivers/media/usb/go7007/s2250-board.c static int s2250_s_video_routing(struct v4l2_subdev *sd, u32 input, u32 output, input 327 drivers/media/usb/go7007/s2250-board.c if (input == 0) { input 332 drivers/media/usb/go7007/s2250-board.c } else if (input == 1) { input 340 drivers/media/usb/go7007/s2250-board.c state->input = input; input 350 drivers/media/usb/go7007/s2250-board.c vidsource = (state->input == 1) ? 0x040 : 0x020; input 424 drivers/media/usb/go7007/s2250-board.c static int s2250_s_audio_routing(struct v4l2_subdev *sd, u32 input, u32 output, input 429 drivers/media/usb/go7007/s2250-board.c switch (input) { input 442 drivers/media/usb/go7007/s2250-board.c state->audio_input = input; input 455 drivers/media/usb/go7007/s2250-board.c v4l2_info(sd, "Input: %s\n", state->input == 0 ? "Composite" : input 456 drivers/media/usb/go7007/s2250-board.c state->input == 1 ? "S-video" : input 1209 drivers/media/usb/gspca/gspca.c struct v4l2_input *input) input 1213 drivers/media/usb/gspca/gspca.c if (input->index != 0) input 1215 drivers/media/usb/gspca/gspca.c input->type = V4L2_INPUT_TYPE_CAMERA; input 1216 drivers/media/usb/gspca/gspca.c input->status = gspca_dev->cam.input_flags; input 1217 drivers/media/usb/gspca/gspca.c strscpy(input->name, gspca_dev->sd_desc->name, input 1218 drivers/media/usb/gspca/gspca.c sizeof input->name); input 120 drivers/media/usb/hdpvr/hdpvr-control.c int hdpvr_set_audio(struct hdpvr_device *dev, u8 input, input 128 drivers/media/usb/hdpvr/hdpvr-control.c dev->usbc_buf[0] = input; input 150 drivers/media/usb/hdpvr/hdpvr-control.c ret = hdpvr_config_call(dev, CTRL_AUDIO_INPUT_VALUE, input); input 295 drivers/media/usb/hdpvr/hdpvr.h int hdpvr_set_audio(struct hdpvr_device *dev, u8 input, input 51 drivers/media/usb/pvrusb2/pvrusb2-audio.c u32 input; input 60 drivers/media/usb/pvrusb2/pvrusb2-audio.c input = sp->def[hdw->input_val]; input 67 drivers/media/usb/pvrusb2/pvrusb2-audio.c sd->ops->audio->s_routing(sd, input, input 52 drivers/media/usb/pvrusb2/pvrusb2-cs53l32a.c u32 input; input 65 drivers/media/usb/pvrusb2/pvrusb2-cs53l32a.c input = sp->def[hdw->input_val]; input 66 drivers/media/usb/pvrusb2/pvrusb2-cs53l32a.c sd->ops->audio->s_routing(sd, input, 0, 0); input 363 drivers/media/usb/pvrusb2/pvrusb2-hdw-internal.h VCREATE_DATA(input); input 1128 drivers/media/usb/pvrusb2/pvrusb2-hdw.c DEFREF(input), input 69 drivers/media/usb/pvrusb2/pvrusb2-video-v4l.c u32 input; input 84 drivers/media/usb/pvrusb2/pvrusb2-video-v4l.c input = sp->def[hdw->input_val]; input 85 drivers/media/usb/pvrusb2/pvrusb2-video-v4l.c sd->ops->video->s_routing(sd, input, 0, 0); input 27 drivers/media/usb/pvrusb2/pvrusb2-wm8775.c u32 input; input 31 drivers/media/usb/pvrusb2/pvrusb2-wm8775.c input = 1; input 35 drivers/media/usb/pvrusb2/pvrusb2-wm8775.c input = 2; input 39 drivers/media/usb/pvrusb2/pvrusb2-wm8775.c hdw->input_val, input); input 41 drivers/media/usb/pvrusb2/pvrusb2-wm8775.c sd->ops->audio->s_routing(sd, input, 0, 0); input 31 drivers/media/usb/stk1160/stk1160-core.c static unsigned int input; input 32 drivers/media/usb/stk1160/stk1160-core.c module_param(input, int, 0644); input 33 drivers/media/usb/stk1160/stk1160-core.c MODULE_PARM_DESC(input, "Set default input"); input 308 drivers/media/usb/stk1160/stk1160-core.c dev->ctl_input = input; input 804 drivers/media/usb/stkwebcam/stk-webcam.c void *priv, struct v4l2_input *input) input 806 drivers/media/usb/stkwebcam/stk-webcam.c if (input->index != 0) input 809 drivers/media/usb/stkwebcam/stk-webcam.c strscpy(input->name, "Syntek USB Camera", sizeof(input->name)); input 810 drivers/media/usb/stkwebcam/stk-webcam.c input->type = V4L2_INPUT_TYPE_CAMERA; input 742 drivers/media/usb/tm6000/tm6000-core.c mux = dev->vinput[dev->input].amux; input 802 drivers/media/usb/tm6000/tm6000-core.c mux = dev->vinput[dev->input].amux; input 464 drivers/media/usb/tm6000/tm6000-stds.c struct tm6000_input *input; input 474 drivers/media/usb/tm6000/tm6000-stds.c input = &dev->vinput[dev->input]; input 476 drivers/media/usb/tm6000/tm6000-stds.c input = &dev->rinput; input 479 drivers/media/usb/tm6000/tm6000-stds.c switch (input->vmux) { input 508 drivers/media/usb/tm6000/tm6000-stds.c switch (input->amux) { input 555 drivers/media/usb/tm6000/tm6000-stds.c switch (input->vmux) { input 561 drivers/media/usb/tm6000/tm6000-stds.c REQ_03_SET_GET_MCU_PIN, input->v_gpio, 0); input 568 drivers/media/usb/tm6000/tm6000-stds.c REQ_03_SET_GET_MCU_PIN, input->v_gpio, 0); input 575 drivers/media/usb/tm6000/tm6000-stds.c REQ_03_SET_GET_MCU_PIN, input->v_gpio, 1); input 580 drivers/media/usb/tm6000/tm6000-stds.c switch (input->amux) { input 593 drivers/media/usb/tm6000/tm6000-stds.c if (input->type == TM6000_INPUT_SVIDEO) { input 616 drivers/media/usb/tm6000/tm6000-stds.c ((input->amux == TM6000_AMUX_SIF1) || input 617 drivers/media/usb/tm6000/tm6000-stds.c (input->amux == TM6000_AMUX_SIF2))) input 1098 drivers/media/usb/tm6000/tm6000-video.c *i = dev->input; input 1114 drivers/media/usb/tm6000/tm6000-video.c dev->input = i; input 217 drivers/media/usb/tm6000/tm6000.h int input; input 87 drivers/media/usb/usbtv/usbtv-video.c static int usbtv_select_input(struct usbtv *usbtv, int input) input 107 drivers/media/usb/usbtv/usbtv-video.c switch (input) { input 119 drivers/media/usb/usbtv/usbtv-video.c usbtv->input = input; input 341 drivers/media/usb/usbtv/usbtv-video.c ret = usbtv_select_input(usbtv, usbtv->input); input 677 drivers/media/usb/usbtv/usbtv-video.c *i = usbtv->input; input 110 drivers/media/usb/usbtv/usbtv.h } input; input 531 drivers/media/usb/usbvision/usbvision-video.c static int vidioc_g_input(struct file *file, void *priv, unsigned int *input) input 535 drivers/media/usb/usbvision/usbvision-video.c *input = usbvision->ctl_input; input 539 drivers/media/usb/usbvision/usbvision-video.c static int vidioc_s_input(struct file *file, void *priv, unsigned int input) input 543 drivers/media/usb/usbvision/usbvision-video.c if (input >= usbvision->video_inputs) input 546 drivers/media/usb/usbvision/usbvision-video.c usbvision_muxsel(usbvision, input); input 23 drivers/media/usb/uvc/uvc_status.c struct input_dev *input; input 26 drivers/media/usb/uvc/uvc_status.c input = input_allocate_device(); input 27 drivers/media/usb/uvc/uvc_status.c if (input == NULL) input 33 drivers/media/usb/uvc/uvc_status.c input->name = dev->name; input 34 drivers/media/usb/uvc/uvc_status.c input->phys = dev->input_phys; input 35 drivers/media/usb/uvc/uvc_status.c usb_to_input_id(dev->udev, &input->id); input 36 drivers/media/usb/uvc/uvc_status.c input->dev.parent = &dev->intf->dev; input 38 drivers/media/usb/uvc/uvc_status.c __set_bit(EV_KEY, input->evbit); input 39 drivers/media/usb/uvc/uvc_status.c __set_bit(KEY_CAMERA, input->keybit); input 41 drivers/media/usb/uvc/uvc_status.c if ((ret = input_register_device(input)) < 0) input 44 drivers/media/usb/uvc/uvc_status.c dev->input = input; input 48 drivers/media/usb/uvc/uvc_status.c input_free_device(input); input 54 drivers/media/usb/uvc/uvc_status.c if (dev->input) input 55 drivers/media/usb/uvc/uvc_status.c input_unregister_device(dev->input); input 61 drivers/media/usb/uvc/uvc_status.c if (dev->input) { input 62 drivers/media/usb/uvc/uvc_status.c input_report_key(dev->input, code, value); input 63 drivers/media/usb/uvc/uvc_status.c input_sync(dev->input); input 823 drivers/media/usb/uvc/uvc_v4l2.c struct v4l2_input *input) input 829 drivers/media/usb/uvc/uvc_v4l2.c u32 index = input->index; input 854 drivers/media/usb/uvc/uvc_v4l2.c memset(input, 0, sizeof(*input)); input 855 drivers/media/usb/uvc/uvc_v4l2.c input->index = index; input 856 drivers/media/usb/uvc/uvc_v4l2.c strscpy(input->name, iterm->name, sizeof(input->name)); input 858 drivers/media/usb/uvc/uvc_v4l2.c input->type = V4L2_INPUT_TYPE_CAMERA; input 863 drivers/media/usb/uvc/uvc_v4l2.c static int uvc_ioctl_g_input(struct file *file, void *fh, unsigned int *input) input 872 drivers/media/usb/uvc/uvc_v4l2.c *input = 0; input 882 drivers/media/usb/uvc/uvc_v4l2.c *input = i - 1; input 886 drivers/media/usb/uvc/uvc_v4l2.c static int uvc_ioctl_s_input(struct file *file, void *fh, unsigned int input) input 899 drivers/media/usb/uvc/uvc_v4l2.c if (input) input 904 drivers/media/usb/uvc/uvc_v4l2.c if (input >= chain->selector->bNrInPins) input 907 drivers/media/usb/uvc/uvc_v4l2.c i = input + 1; input 667 drivers/media/usb/uvc/uvcvideo.h struct input_dev *input; input 1060 drivers/media/v4l2-core/v4l2-dv-timings.c u16 v4l2_phys_addr_for_input(u16 phys_addr, u8 input) input 1063 drivers/media/v4l2-core/v4l2-dv-timings.c if (WARN_ON(input == 0 || input > 0xf)) input 1067 drivers/media/v4l2-core/v4l2-dv-timings.c return input << 12; input 1070 drivers/media/v4l2-core/v4l2-dv-timings.c return phys_addr | (input << 8); input 1073 drivers/media/v4l2-core/v4l2-dv-timings.c return phys_addr | (input << 4); input 1076 drivers/media/v4l2-core/v4l2-dv-timings.c return phys_addr | input; input 20 drivers/mfd/ucb1x00-assabet.c #define UCB1X00_ATTR(name,input)\ input 27 drivers/mfd/ucb1x00-assabet.c val = ucb1x00_adc_read(ucb, input, UCB_NOSYNC); \ input 26 drivers/mfd/wm831x-auxadc.c enum wm831x_auxadc input; input 32 drivers/mfd/wm831x-auxadc.c enum wm831x_auxadc input) input 43 drivers/mfd/wm831x-auxadc.c req->input = input; input 64 drivers/mfd/wm831x-auxadc.c if (!(wm831x->auxadc_active & (1 << input))) { input 66 drivers/mfd/wm831x-auxadc.c 1 << input, 1 << input); input 73 drivers/mfd/wm831x-auxadc.c wm831x->auxadc_active |= 1 << input; input 112 drivers/mfd/wm831x-auxadc.c int ret, input, val; input 121 drivers/mfd/wm831x-auxadc.c input = ((ret & WM831X_AUX_DATA_SRC_MASK) input 124 drivers/mfd/wm831x-auxadc.c if (input == 14) input 125 drivers/mfd/wm831x-auxadc.c input = WM831X_AUX_CAL; input 133 drivers/mfd/wm831x-auxadc.c 1 << input, 0); input 134 drivers/mfd/wm831x-auxadc.c wm831x->auxadc_active &= ~(1 << input); input 142 drivers/mfd/wm831x-auxadc.c if (req->input == input) { input 154 drivers/mfd/wm831x-auxadc.c enum wm831x_auxadc input) input 168 drivers/mfd/wm831x-auxadc.c src = input; input 224 drivers/mfd/wm831x-auxadc.c if (src != input) { input 226 drivers/mfd/wm831x-auxadc.c src, input); input 245 drivers/mfd/wm831x-auxadc.c int wm831x_auxadc_read(struct wm831x *wm831x, enum wm831x_auxadc input) input 247 drivers/mfd/wm831x-auxadc.c return wm831x->auxadc_read(wm831x, input); input 257 drivers/mfd/wm831x-auxadc.c int wm831x_auxadc_read_uv(struct wm831x *wm831x, enum wm831x_auxadc input) input 261 drivers/mfd/wm831x-auxadc.c ret = wm831x_auxadc_read(wm831x, input); input 270 drivers/misc/cardreader/rtl8411.c static int rtl8411_conv_clk_and_div_n(int input, int dir) input 275 drivers/misc/cardreader/rtl8411.c output = input * 4 / 5 - 2; input 277 drivers/misc/cardreader/rtl8411.c output = (input + 2) * 5 / 4; input 232 drivers/misc/habanalabs/goya/goya_coresight.c struct hl_debug_params_stm *input; input 246 drivers/misc/habanalabs/goya/goya_coresight.c input = params->input; input 248 drivers/misc/habanalabs/goya/goya_coresight.c if (!input) input 254 drivers/misc/habanalabs/goya/goya_coresight.c WREG32(base_reg + 0xD00, lower_32_bits(input->he_mask)); input 255 drivers/misc/habanalabs/goya/goya_coresight.c WREG32(base_reg + 0xD20, lower_32_bits(input->sp_mask)); input 257 drivers/misc/habanalabs/goya/goya_coresight.c WREG32(base_reg + 0xD00, upper_32_bits(input->he_mask)); input 258 drivers/misc/habanalabs/goya/goya_coresight.c WREG32(base_reg + 0xD20, upper_32_bits(input->sp_mask)); input 264 drivers/misc/habanalabs/goya/goya_coresight.c WREG32(base_reg + 0xEF4, input->id); input 266 drivers/misc/habanalabs/goya/goya_coresight.c WREG32(base_reg + 0xE8C, input->frequency); input 268 drivers/misc/habanalabs/goya/goya_coresight.c WREG32(base_reg + 0xE80, 0x7 | (input->id << 16)); input 301 drivers/misc/habanalabs/goya/goya_coresight.c struct hl_debug_params_etf *input; input 340 drivers/misc/habanalabs/goya/goya_coresight.c input = params->input; input 342 drivers/misc/habanalabs/goya/goya_coresight.c if (!input) input 346 drivers/misc/habanalabs/goya/goya_coresight.c WREG32(base_reg + 0x28, input->sink_mode); input 379 drivers/misc/habanalabs/goya/goya_coresight.c struct hl_debug_params_etr *input; input 409 drivers/misc/habanalabs/goya/goya_coresight.c input = params->input; input 411 drivers/misc/habanalabs/goya/goya_coresight.c if (!input) input 414 drivers/misc/habanalabs/goya/goya_coresight.c if (input->buffer_size == 0) { input 421 drivers/misc/habanalabs/goya/goya_coresight.c input->buffer_address, input->buffer_size)) { input 427 drivers/misc/habanalabs/goya/goya_coresight.c WREG32(base_reg + 0x4, input->buffer_size); input 428 drivers/misc/habanalabs/goya/goya_coresight.c WREG32(base_reg + 0x28, input->sink_mode); input 431 drivers/misc/habanalabs/goya/goya_coresight.c lower_32_bits(input->buffer_address)); input 433 drivers/misc/habanalabs/goya/goya_coresight.c upper_32_bits(input->buffer_address)); input 485 drivers/misc/habanalabs/goya/goya_coresight.c struct hl_debug_params_bmon *input; input 499 drivers/misc/habanalabs/goya/goya_coresight.c input = params->input; input 501 drivers/misc/habanalabs/goya/goya_coresight.c if (!input) input 504 drivers/misc/habanalabs/goya/goya_coresight.c WREG32(base_reg + 0x200, lower_32_bits(input->start_addr0)); input 505 drivers/misc/habanalabs/goya/goya_coresight.c WREG32(base_reg + 0x204, upper_32_bits(input->start_addr0)); input 506 drivers/misc/habanalabs/goya/goya_coresight.c WREG32(base_reg + 0x208, lower_32_bits(input->addr_mask0)); input 507 drivers/misc/habanalabs/goya/goya_coresight.c WREG32(base_reg + 0x20C, upper_32_bits(input->addr_mask0)); input 508 drivers/misc/habanalabs/goya/goya_coresight.c WREG32(base_reg + 0x240, lower_32_bits(input->start_addr1)); input 509 drivers/misc/habanalabs/goya/goya_coresight.c WREG32(base_reg + 0x244, upper_32_bits(input->start_addr1)); input 510 drivers/misc/habanalabs/goya/goya_coresight.c WREG32(base_reg + 0x248, lower_32_bits(input->addr_mask1)); input 511 drivers/misc/habanalabs/goya/goya_coresight.c WREG32(base_reg + 0x24C, upper_32_bits(input->addr_mask1)); input 514 drivers/misc/habanalabs/goya/goya_coresight.c WREG32(base_reg + 0x30C, input->bw_win); input 515 drivers/misc/habanalabs/goya/goya_coresight.c WREG32(base_reg + 0x308, input->win_capture); input 524 drivers/misc/habanalabs/goya/goya_coresight.c WREG32(base_reg + 0x700, pcie_base | 0xB00 | (input->id << 12)); input 525 drivers/misc/habanalabs/goya/goya_coresight.c WREG32(base_reg + 0x708, pcie_base | 0xA00 | (input->id << 12)); input 526 drivers/misc/habanalabs/goya/goya_coresight.c WREG32(base_reg + 0x70C, pcie_base | 0xC00 | (input->id << 12)); input 558 drivers/misc/habanalabs/goya/goya_coresight.c struct hl_debug_params_spmu *input = params->input; input 574 drivers/misc/habanalabs/goya/goya_coresight.c input = params->input; input 576 drivers/misc/habanalabs/goya/goya_coresight.c if (!input) input 579 drivers/misc/habanalabs/goya/goya_coresight.c if (input->event_types_num < 3) { input 585 drivers/misc/habanalabs/goya/goya_coresight.c if (input->event_types_num > SPMU_MAX_COUNTERS) { input 594 drivers/misc/habanalabs/goya/goya_coresight.c for (i = 0 ; i < input->event_types_num ; i++) input 596 drivers/misc/habanalabs/goya/goya_coresight.c input->event_types[i]); input 899 drivers/misc/habanalabs/habanalabs.h void *input; input 136 drivers/misc/habanalabs/habanalabs_ioctl.c void *input = NULL, *output = NULL; input 148 drivers/misc/habanalabs/habanalabs_ioctl.c input = kzalloc(hl_debug_struct_size[args->op], GFP_KERNEL); input 149 drivers/misc/habanalabs/habanalabs_ioctl.c if (!input) { input 154 drivers/misc/habanalabs/habanalabs_ioctl.c if (copy_from_user(input, u64_to_user_ptr(args->input_ptr), input 161 drivers/misc/habanalabs/habanalabs_ioctl.c params->input = input; input 196 drivers/misc/habanalabs/habanalabs_ioctl.c kfree(input); input 122 drivers/misc/ibmasm/remote.c static void print_input(struct remote_input *input) input 124 drivers/misc/ibmasm/remote.c if (input->type == INPUT_TYPE_MOUSE) { input 125 drivers/misc/ibmasm/remote.c unsigned char buttons = input->mouse_buttons; input 127 drivers/misc/ibmasm/remote.c input->data.mouse.x, input->data.mouse.y, input 136 drivers/misc/ibmasm/remote.c input->data.keyboard.key_code, input 137 drivers/misc/ibmasm/remote.c input->data.keyboard.key_code, input 138 drivers/misc/ibmasm/remote.c input->data.keyboard.key_flag, input 139 drivers/misc/ibmasm/remote.c input->data.keyboard.key_down input 144 drivers/misc/ibmasm/remote.c static void send_mouse_event(struct input_dev *dev, struct remote_input *input) input 146 drivers/misc/ibmasm/remote.c unsigned char buttons = input->mouse_buttons; input 148 drivers/misc/ibmasm/remote.c input_report_abs(dev, ABS_X, input->data.mouse.x); input 149 drivers/misc/ibmasm/remote.c input_report_abs(dev, ABS_Y, input->data.mouse.y); input 157 drivers/misc/ibmasm/remote.c struct remote_input *input) input 160 drivers/misc/ibmasm/remote.c unsigned short code = input->data.keyboard.key_code; input 166 drivers/misc/ibmasm/remote.c input_report_key(dev, key, input->data.keyboard.key_down); input 174 drivers/misc/ibmasm/remote.c struct remote_input input; input 180 drivers/misc/ibmasm/remote.c memcpy_fromio(&input, get_queue_entry(sp, reader), input 183 drivers/misc/ibmasm/remote.c print_input(&input); input 184 drivers/misc/ibmasm/remote.c if (input.type == INPUT_TYPE_MOUSE) { input 185 drivers/misc/ibmasm/remote.c send_mouse_event(sp->remote.mouse_dev, &input); input 186 drivers/misc/ibmasm/remote.c } else if (input.type == INPUT_TYPE_KEYBOARD) { input 187 drivers/misc/ibmasm/remote.c send_keyboard_event(sp->remote.keybd_dev, &input); input 444 drivers/misc/lis3lv02d/lis3lv02d.c input_report_abs(pidev->input, ABS_X, x); input 445 drivers/misc/lis3lv02d/lis3lv02d.c input_report_abs(pidev->input, ABS_Y, y); input 446 drivers/misc/lis3lv02d/lis3lv02d.c input_report_abs(pidev->input, ABS_Z, z); input 447 drivers/misc/lis3lv02d/lis3lv02d.c input_sync(pidev->input); input 500 drivers/misc/lis3lv02d/lis3lv02d.c struct input_dev *dev = lis3->idev->input; input 691 drivers/misc/lis3lv02d/lis3lv02d.c input_dev = lis3->idev->input; input 898 drivers/misc/lis3lv02d/lis3lv02d.c struct input_dev *input_dev = lis3->idev->input; input 338 drivers/net/dsa/bcm_sf2_cfp.c struct ethtool_rx_flow_spec_input input = {}; input 373 drivers/net/dsa/bcm_sf2_cfp.c input.fs = fs; input 374 drivers/net/dsa/bcm_sf2_cfp.c flow = ethtool_rx_flow_rule_create(&input); input 602 drivers/net/dsa/bcm_sf2_cfp.c struct ethtool_rx_flow_spec_input input = {}; input 665 drivers/net/dsa/bcm_sf2_cfp.c input.fs = fs; input 666 drivers/net/dsa/bcm_sf2_cfp.c flow = ethtool_rx_flow_rule_create(&input); input 542 drivers/net/dsa/mv88e6xxx/chip.h bool input); input 170 drivers/net/dsa/mv88e6xxx/global2_scratch.c unsigned int pin, bool input) input 172 drivers/net/dsa/mv88e6xxx/global2_scratch.c int value = (input ? MV88E6352_G2_SCRATCH_GPIO_DIR_IN : input 71 drivers/net/dsa/mv88e6xxx/ptp.c int func, int input) input 78 drivers/net/dsa/mv88e6xxx/ptp.c err = chip->info->ops->gpio_ops->set_dir(chip, pin, input); input 817 drivers/net/dsa/sja1105/sja1105_dynamic_config.c u64 input = (vlanid << 48) | ether_addr_to_u64(addr); input 823 drivers/net/dsa/sja1105/sja1105_dynamic_config.c u8 byte = (input & (0xffull << i)) >> i; input 401 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h void bnx2x_link_status_update(struct link_params *input, input 2443 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c struct cmng_init_input *input) input 2462 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c input->vnic_min_rate[vn] = vn_min_rate; input 2467 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c input->flags.cmng_enables &= input 2471 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c input->flags.cmng_enables &= input 2476 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c input->flags.cmng_enables |= input 2481 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c struct cmng_init_input *input) input 2501 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c input->vnic_max_rate[vn] = vn_max_rate; input 2552 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c struct cmng_init_input input; input 2553 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c memset(&input, 0, sizeof(struct cmng_init_input)); input 2555 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c input.port_rate = bp->link_vars.line_speed; input 2557 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c if (cmng_type == CMNG_FNS_MINMAX && input.port_rate) { input 2565 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bnx2x_calc_vn_min(bp, &input); input 2570 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bnx2x_calc_vn_max(bp, vn, &input); input 2573 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c input.flags.cmng_enables |= input 2576 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bnx2x_init_cmng(&input, &bp->cmng); input 4140 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct input *req = request; input 4181 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct input *req = msg; input 1926 drivers/net/ethernet/broadcom/bnxt/bnxt.h static inline bool bnxt_kong_hwrm_message(struct bnxt *bp, struct input *req) input 1932 drivers/net/ethernet/broadcom/bnxt/bnxt.h static inline bool bnxt_hwrm_kong_chnl(struct bnxt *bp, struct input *req) input 1940 drivers/net/ethernet/broadcom/bnxt/bnxt.h if (bnxt_hwrm_kong_chnl(bp, (struct input *)req)) input 1078 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c struct input *encap_req = vf->hwrm_cmd_req_addr; input 230 drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c struct input *req; input 288 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c enum cxgb4_dcb_state_input input = input 313 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c cxgb4_dcb_state_fsm(dev, input); input 57 drivers/net/ethernet/ibm/emac/rgmii.c static inline u32 rgmii_mode_mask(int mode, int input) input 64 drivers/net/ethernet/ibm/emac/rgmii.c return RGMII_FER_RGMII(input); input 66 drivers/net/ethernet/ibm/emac/rgmii.c return RGMII_FER_TBI(input); input 68 drivers/net/ethernet/ibm/emac/rgmii.c return RGMII_FER_GMII(input); input 70 drivers/net/ethernet/ibm/emac/rgmii.c return RGMII_FER_MII(input); input 72 drivers/net/ethernet/ibm/emac/rgmii.c return RGMII_FER_RTBI(input); input 78 drivers/net/ethernet/ibm/emac/rgmii.c int rgmii_attach(struct platform_device *ofdev, int input, int mode) input 83 drivers/net/ethernet/ibm/emac/rgmii.c RGMII_DBG(dev, "attach(%d)" NL, input); input 86 drivers/net/ethernet/ibm/emac/rgmii.c if (input < 0 || !rgmii_valid_mode(mode)) { input 95 drivers/net/ethernet/ibm/emac/rgmii.c out_be32(&p->fer, in_be32(&p->fer) | rgmii_mode_mask(mode, input)); input 98 drivers/net/ethernet/ibm/emac/rgmii.c ofdev->dev.of_node, input, phy_modes(mode)); input 107 drivers/net/ethernet/ibm/emac/rgmii.c void rgmii_set_speed(struct platform_device *ofdev, int input, int speed) input 115 drivers/net/ethernet/ibm/emac/rgmii.c ssr = in_be32(&p->ssr) & ~RGMII_SSR_MASK(input); input 117 drivers/net/ethernet/ibm/emac/rgmii.c RGMII_DBG(dev, "speed(%d, %d)" NL, input, speed); input 120 drivers/net/ethernet/ibm/emac/rgmii.c ssr |= RGMII_SSR_1000(input); input 122 drivers/net/ethernet/ibm/emac/rgmii.c ssr |= RGMII_SSR_100(input); input 124 drivers/net/ethernet/ibm/emac/rgmii.c ssr |= RGMII_SSR_10(input); input 131 drivers/net/ethernet/ibm/emac/rgmii.c void rgmii_get_mdio(struct platform_device *ofdev, int input) input 137 drivers/net/ethernet/ibm/emac/rgmii.c RGMII_DBG2(dev, "get_mdio(%d)" NL, input); input 145 drivers/net/ethernet/ibm/emac/rgmii.c fer |= 0x00080000u >> input; input 152 drivers/net/ethernet/ibm/emac/rgmii.c void rgmii_put_mdio(struct platform_device *ofdev, int input) input 158 drivers/net/ethernet/ibm/emac/rgmii.c RGMII_DBG2(dev, "put_mdio(%d)" NL, input); input 164 drivers/net/ethernet/ibm/emac/rgmii.c fer &= ~(0x00080000u >> input); input 173 drivers/net/ethernet/ibm/emac/rgmii.c void rgmii_detach(struct platform_device *ofdev, int input) input 183 drivers/net/ethernet/ibm/emac/rgmii.c RGMII_DBG(dev, "detach(%d)" NL, input); input 186 drivers/net/ethernet/ibm/emac/rgmii.c out_be32(&p->fer, in_be32(&p->fer) & ~RGMII_FER_MASK(input)); input 57 drivers/net/ethernet/ibm/emac/rgmii.h int rgmii_attach(struct platform_device *ofdev, int input, int mode); input 58 drivers/net/ethernet/ibm/emac/rgmii.h void rgmii_detach(struct platform_device *ofdev, int input); input 59 drivers/net/ethernet/ibm/emac/rgmii.h void rgmii_get_mdio(struct platform_device *ofdev, int input); input 60 drivers/net/ethernet/ibm/emac/rgmii.h void rgmii_put_mdio(struct platform_device *ofdev, int input); input 61 drivers/net/ethernet/ibm/emac/rgmii.h void rgmii_set_speed(struct platform_device *ofdev, int input, int speed); input 67 drivers/net/ethernet/ibm/emac/zmii.c static inline u32 zmii_mode_mask(int mode, int input) input 71 drivers/net/ethernet/ibm/emac/zmii.c return ZMII_FER_MII(input); input 73 drivers/net/ethernet/ibm/emac/zmii.c return ZMII_FER_RMII(input); input 75 drivers/net/ethernet/ibm/emac/zmii.c return ZMII_FER_SMII(input); input 81 drivers/net/ethernet/ibm/emac/zmii.c int zmii_attach(struct platform_device *ofdev, int input, int *mode) input 86 drivers/net/ethernet/ibm/emac/zmii.c ZMII_DBG(dev, "init(%d, %d)" NL, input, *mode); input 127 drivers/net/ethernet/ibm/emac/zmii.c ofdev->dev.of_node, *mode, input); input 139 drivers/net/ethernet/ibm/emac/zmii.c out_be32(&p->fer, in_be32(&p->fer) | zmii_mode_mask(dev->mode, input)); input 147 drivers/net/ethernet/ibm/emac/zmii.c void zmii_get_mdio(struct platform_device *ofdev, int input) input 152 drivers/net/ethernet/ibm/emac/zmii.c ZMII_DBG2(dev, "get_mdio(%d)" NL, input); input 157 drivers/net/ethernet/ibm/emac/zmii.c out_be32(&dev->base->fer, fer | ZMII_FER_MDI(input)); input 160 drivers/net/ethernet/ibm/emac/zmii.c void zmii_put_mdio(struct platform_device *ofdev, int input) input 164 drivers/net/ethernet/ibm/emac/zmii.c ZMII_DBG2(dev, "put_mdio(%d)" NL, input); input 169 drivers/net/ethernet/ibm/emac/zmii.c void zmii_set_speed(struct platform_device *ofdev, int input, int speed) input 178 drivers/net/ethernet/ibm/emac/zmii.c ZMII_DBG(dev, "speed(%d, %d)" NL, input, speed); input 181 drivers/net/ethernet/ibm/emac/zmii.c ssr |= ZMII_SSR_SP(input); input 183 drivers/net/ethernet/ibm/emac/zmii.c ssr &= ~ZMII_SSR_SP(input); input 190 drivers/net/ethernet/ibm/emac/zmii.c void zmii_detach(struct platform_device *ofdev, int input) input 198 drivers/net/ethernet/ibm/emac/zmii.c ZMII_DBG(dev, "detach(%d)" NL, input); input 202 drivers/net/ethernet/ibm/emac/zmii.c in_be32(&dev->base->fer) & ~zmii_mode_mask(dev->mode, input)); input 53 drivers/net/ethernet/ibm/emac/zmii.h int zmii_attach(struct platform_device *ofdev, int input, int *mode); input 54 drivers/net/ethernet/ibm/emac/zmii.h void zmii_detach(struct platform_device *ofdev, int input); input 55 drivers/net/ethernet/ibm/emac/zmii.h void zmii_get_mdio(struct platform_device *ofdev, int input); input 56 drivers/net/ethernet/ibm/emac/zmii.h void zmii_put_mdio(struct platform_device *ofdev, int input); input 57 drivers/net/ethernet/ibm/emac/zmii.h void zmii_set_speed(struct platform_device *ofdev, int input, int speed); input 1030 drivers/net/ethernet/intel/i40e/i40e.h struct i40e_fdir_filter *input, bool add); input 1500 drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h u8 input[3]; input 3513 drivers/net/ethernet/intel/i40e/i40e_ethtool.c struct i40e_fdir_filter *input, input 3547 drivers/net/ethernet/intel/i40e/i40e_ethtool.c if (!input) input 3551 drivers/net/ethernet/intel/i40e/i40e_ethtool.c INIT_HLIST_NODE(&input->fdir_node); input 3555 drivers/net/ethernet/intel/i40e/i40e_ethtool.c hlist_add_behind(&input->fdir_node, &parent->fdir_node); input 3557 drivers/net/ethernet/intel/i40e/i40e_ethtool.c hlist_add_head(&input->fdir_node, input 4401 drivers/net/ethernet/intel/i40e/i40e_ethtool.c struct i40e_fdir_filter *input) input 4414 drivers/net/ethernet/intel/i40e/i40e_ethtool.c if (rule->fd_id == input->fd_id) input 4420 drivers/net/ethernet/intel/i40e/i40e_ethtool.c if (i40e_match_fdir_filter(rule, input)) { input 4444 drivers/net/ethernet/intel/i40e/i40e_ethtool.c struct i40e_fdir_filter *input; input 4513 drivers/net/ethernet/intel/i40e/i40e_ethtool.c input = kzalloc(sizeof(*input), GFP_KERNEL); input 4515 drivers/net/ethernet/intel/i40e/i40e_ethtool.c if (!input) input 4518 drivers/net/ethernet/intel/i40e/i40e_ethtool.c input->fd_id = fsp->location; input 4519 drivers/net/ethernet/intel/i40e/i40e_ethtool.c input->q_index = q_index; input 4520 drivers/net/ethernet/intel/i40e/i40e_ethtool.c input->dest_vsi = dest_vsi; input 4521 drivers/net/ethernet/intel/i40e/i40e_ethtool.c input->dest_ctl = dest_ctl; input 4522 drivers/net/ethernet/intel/i40e/i40e_ethtool.c input->fd_status = I40E_FILTER_PROGRAM_DESC_FD_STATUS_FD_ID; input 4523 drivers/net/ethernet/intel/i40e/i40e_ethtool.c input->cnt_index = I40E_FD_SB_STAT_IDX(pf->hw.pf_id); input 4524 drivers/net/ethernet/intel/i40e/i40e_ethtool.c input->dst_ip = fsp->h_u.tcp_ip4_spec.ip4src; input 4525 drivers/net/ethernet/intel/i40e/i40e_ethtool.c input->src_ip = fsp->h_u.tcp_ip4_spec.ip4dst; input 4526 drivers/net/ethernet/intel/i40e/i40e_ethtool.c input->flow_type = fsp->flow_type & ~FLOW_EXT; input 4527 drivers/net/ethernet/intel/i40e/i40e_ethtool.c input->ip4_proto = fsp->h_u.usr_ip4_spec.proto; input 4532 drivers/net/ethernet/intel/i40e/i40e_ethtool.c input->dst_port = fsp->h_u.tcp_ip4_spec.psrc; input 4533 drivers/net/ethernet/intel/i40e/i40e_ethtool.c input->src_port = fsp->h_u.tcp_ip4_spec.pdst; input 4534 drivers/net/ethernet/intel/i40e/i40e_ethtool.c input->dst_ip = fsp->h_u.tcp_ip4_spec.ip4src; input 4535 drivers/net/ethernet/intel/i40e/i40e_ethtool.c input->src_ip = fsp->h_u.tcp_ip4_spec.ip4dst; input 4538 drivers/net/ethernet/intel/i40e/i40e_ethtool.c input->flex_filter = true; input 4539 drivers/net/ethernet/intel/i40e/i40e_ethtool.c input->flex_word = cpu_to_be16(userdef.flex_word); input 4540 drivers/net/ethernet/intel/i40e/i40e_ethtool.c input->flex_offset = userdef.flex_offset; input 4544 drivers/net/ethernet/intel/i40e/i40e_ethtool.c ret = i40e_disallow_matching_filters(vsi, input); input 4552 drivers/net/ethernet/intel/i40e/i40e_ethtool.c i40e_update_ethtool_fdir_entry(vsi, input, fsp->location, NULL); input 4553 drivers/net/ethernet/intel/i40e/i40e_ethtool.c ret = i40e_add_del_fdir(vsi, input, true); input 4559 drivers/net/ethernet/intel/i40e/i40e_ethtool.c hlist_del(&input->fdir_node); input 4562 drivers/net/ethernet/intel/i40e/i40e_ethtool.c kfree(input); input 470 drivers/net/ethernet/intel/i40e/i40e_txrx.c struct i40e_fdir_filter *input, bool add) input 475 drivers/net/ethernet/intel/i40e/i40e_txrx.c switch (input->flow_type & ~FLOW_EXT) { input 477 drivers/net/ethernet/intel/i40e/i40e_txrx.c ret = i40e_add_del_fdir_tcpv4(vsi, input, add); input 480 drivers/net/ethernet/intel/i40e/i40e_txrx.c ret = i40e_add_del_fdir_udpv4(vsi, input, add); input 483 drivers/net/ethernet/intel/i40e/i40e_txrx.c ret = i40e_add_del_fdir_sctpv4(vsi, input, add); input 486 drivers/net/ethernet/intel/i40e/i40e_txrx.c switch (input->ip4_proto) { input 488 drivers/net/ethernet/intel/i40e/i40e_txrx.c ret = i40e_add_del_fdir_tcpv4(vsi, input, add); input 491 drivers/net/ethernet/intel/i40e/i40e_txrx.c ret = i40e_add_del_fdir_udpv4(vsi, input, add); input 494 drivers/net/ethernet/intel/i40e/i40e_txrx.c ret = i40e_add_del_fdir_sctpv4(vsi, input, add); input 497 drivers/net/ethernet/intel/i40e/i40e_txrx.c ret = i40e_add_del_fdir_ipv4(vsi, input, add); input 502 drivers/net/ethernet/intel/i40e/i40e_txrx.c input->ip4_proto); input 508 drivers/net/ethernet/intel/i40e/i40e_txrx.c input->flow_type); input 726 drivers/net/ethernet/intel/igb/igb.h struct igb_nfc_filter *input); input 728 drivers/net/ethernet/intel/igb/igb.h struct igb_nfc_filter *input); input 2702 drivers/net/ethernet/intel/igb/igb_ethtool.c struct igb_nfc_filter *input) input 2722 drivers/net/ethernet/intel/igb/igb_ethtool.c etype = ntohs(input->filter.etype & ETHER_TYPE_FULL_MASK); input 2729 drivers/net/ethernet/intel/igb/igb_ethtool.c etqf |= ((input->action << E1000_ETQF_QUEUE_SHIFT) input 2735 drivers/net/ethernet/intel/igb/igb_ethtool.c input->etype_reg_index = i; input 2741 drivers/net/ethernet/intel/igb/igb_ethtool.c struct igb_nfc_filter *input) input 2749 drivers/net/ethernet/intel/igb/igb_ethtool.c vlan_priority = (ntohs(input->filter.vlan_tci) & VLAN_PRIO_MASK) input 2755 drivers/net/ethernet/intel/igb/igb_ethtool.c (queue_index != input->action)) { input 2761 drivers/net/ethernet/intel/igb/igb_ethtool.c vlapqf |= E1000_VLAPQF_QUEUE_SEL(vlan_priority, input->action); input 2768 drivers/net/ethernet/intel/igb/igb_ethtool.c int igb_add_filter(struct igb_adapter *adapter, struct igb_nfc_filter *input) input 2774 drivers/net/ethernet/intel/igb/igb_ethtool.c !(input->filter.match_flags & ~IGB_FILTER_FLAG_SRC_MAC_ADDR)) { input 2780 drivers/net/ethernet/intel/igb/igb_ethtool.c if (input->filter.match_flags & IGB_FILTER_FLAG_ETHER_TYPE) { input 2781 drivers/net/ethernet/intel/igb/igb_ethtool.c err = igb_rxnfc_write_etype_filter(adapter, input); input 2786 drivers/net/ethernet/intel/igb/igb_ethtool.c if (input->filter.match_flags & IGB_FILTER_FLAG_DST_MAC_ADDR) { input 2788 drivers/net/ethernet/intel/igb/igb_ethtool.c input->filter.dst_addr, input 2789 drivers/net/ethernet/intel/igb/igb_ethtool.c input->action, 0); input 2795 drivers/net/ethernet/intel/igb/igb_ethtool.c if (input->filter.match_flags & IGB_FILTER_FLAG_SRC_MAC_ADDR) { input 2797 drivers/net/ethernet/intel/igb/igb_ethtool.c input->filter.src_addr, input 2798 drivers/net/ethernet/intel/igb/igb_ethtool.c input->action, input 2805 drivers/net/ethernet/intel/igb/igb_ethtool.c if (input->filter.match_flags & IGB_FILTER_FLAG_VLAN_TCI) input 2806 drivers/net/ethernet/intel/igb/igb_ethtool.c err = igb_rxnfc_write_vlan_prio_filter(adapter, input); input 2843 drivers/net/ethernet/intel/igb/igb_ethtool.c int igb_erase_filter(struct igb_adapter *adapter, struct igb_nfc_filter *input) input 2845 drivers/net/ethernet/intel/igb/igb_ethtool.c if (input->filter.match_flags & IGB_FILTER_FLAG_ETHER_TYPE) input 2847 drivers/net/ethernet/intel/igb/igb_ethtool.c input->etype_reg_index); input 2849 drivers/net/ethernet/intel/igb/igb_ethtool.c if (input->filter.match_flags & IGB_FILTER_FLAG_VLAN_TCI) input 2851 drivers/net/ethernet/intel/igb/igb_ethtool.c ntohs(input->filter.vlan_tci)); input 2853 drivers/net/ethernet/intel/igb/igb_ethtool.c if (input->filter.match_flags & IGB_FILTER_FLAG_SRC_MAC_ADDR) input 2854 drivers/net/ethernet/intel/igb/igb_ethtool.c igb_del_mac_steering_filter(adapter, input->filter.src_addr, input 2855 drivers/net/ethernet/intel/igb/igb_ethtool.c input->action, input 2858 drivers/net/ethernet/intel/igb/igb_ethtool.c if (input->filter.match_flags & IGB_FILTER_FLAG_DST_MAC_ADDR) input 2859 drivers/net/ethernet/intel/igb/igb_ethtool.c igb_del_mac_steering_filter(adapter, input->filter.dst_addr, input 2860 drivers/net/ethernet/intel/igb/igb_ethtool.c input->action, 0); input 2866 drivers/net/ethernet/intel/igb/igb_ethtool.c struct igb_nfc_filter *input, input 2884 drivers/net/ethernet/intel/igb/igb_ethtool.c if (!input) input 2895 drivers/net/ethernet/intel/igb/igb_ethtool.c if (!input) input 2899 drivers/net/ethernet/intel/igb/igb_ethtool.c INIT_HLIST_NODE(&input->nfc_node); input 2903 drivers/net/ethernet/intel/igb/igb_ethtool.c hlist_add_behind(&input->nfc_node, &parent->nfc_node); input 2905 drivers/net/ethernet/intel/igb/igb_ethtool.c hlist_add_head(&input->nfc_node, &adapter->nfc_filter_list); input 2919 drivers/net/ethernet/intel/igb/igb_ethtool.c struct igb_nfc_filter *input, *rule; input 2943 drivers/net/ethernet/intel/igb/igb_ethtool.c input = kzalloc(sizeof(*input), GFP_KERNEL); input 2944 drivers/net/ethernet/intel/igb/igb_ethtool.c if (!input) input 2948 drivers/net/ethernet/intel/igb/igb_ethtool.c input->filter.etype = fsp->h_u.ether_spec.h_proto; input 2949 drivers/net/ethernet/intel/igb/igb_ethtool.c input->filter.match_flags = IGB_FILTER_FLAG_ETHER_TYPE; input 2954 drivers/net/ethernet/intel/igb/igb_ethtool.c input->filter.match_flags |= IGB_FILTER_FLAG_SRC_MAC_ADDR; input 2955 drivers/net/ethernet/intel/igb/igb_ethtool.c ether_addr_copy(input->filter.src_addr, input 2961 drivers/net/ethernet/intel/igb/igb_ethtool.c input->filter.match_flags |= IGB_FILTER_FLAG_DST_MAC_ADDR; input 2962 drivers/net/ethernet/intel/igb/igb_ethtool.c ether_addr_copy(input->filter.dst_addr, input 2971 drivers/net/ethernet/intel/igb/igb_ethtool.c input->filter.vlan_tci = fsp->h_ext.vlan_tci; input 2972 drivers/net/ethernet/intel/igb/igb_ethtool.c input->filter.match_flags |= IGB_FILTER_FLAG_VLAN_TCI; input 2975 drivers/net/ethernet/intel/igb/igb_ethtool.c input->action = fsp->ring_cookie; input 2976 drivers/net/ethernet/intel/igb/igb_ethtool.c input->sw_idx = fsp->location; input 2981 drivers/net/ethernet/intel/igb/igb_ethtool.c if (!memcmp(&input->filter, &rule->filter, input 2982 drivers/net/ethernet/intel/igb/igb_ethtool.c sizeof(input->filter))) { input 2990 drivers/net/ethernet/intel/igb/igb_ethtool.c err = igb_add_filter(adapter, input); input 2994 drivers/net/ethernet/intel/igb/igb_ethtool.c igb_update_ethtool_nfc_entry(adapter, input, input->sw_idx); input 3002 drivers/net/ethernet/intel/igb/igb_ethtool.c kfree(input); input 2585 drivers/net/ethernet/intel/igb/igb_main.c struct igb_nfc_filter *input) input 2611 drivers/net/ethernet/intel/igb/igb_main.c input->filter.match_flags |= input 2613 drivers/net/ethernet/intel/igb/igb_main.c ether_addr_copy(input->filter.dst_addr, match.key->dst); input 2622 drivers/net/ethernet/intel/igb/igb_main.c input->filter.match_flags |= input 2624 drivers/net/ethernet/intel/igb/igb_main.c ether_addr_copy(input->filter.src_addr, match.key->src); input 2638 drivers/net/ethernet/intel/igb/igb_main.c input->filter.match_flags |= IGB_FILTER_FLAG_ETHER_TYPE; input 2639 drivers/net/ethernet/intel/igb/igb_main.c input->filter.etype = match.key->n_proto; input 2653 drivers/net/ethernet/intel/igb/igb_main.c input->filter.match_flags |= IGB_FILTER_FLAG_VLAN_TCI; input 2654 drivers/net/ethernet/intel/igb/igb_main.c input->filter.vlan_tci = match.key->vlan_priority; input 2658 drivers/net/ethernet/intel/igb/igb_main.c input->action = traffic_class; input 2659 drivers/net/ethernet/intel/igb/igb_main.c input->cookie = f->cookie; input 392 drivers/net/ethernet/intel/igb/igb_ptp.c static void igb_pin_direction(int pin, int input, u32 *ctrl, u32 *ctrl_ext) input 402 drivers/net/ethernet/intel/igb/igb_ptp.c if (input) input 513 drivers/net/ethernet/intel/igc/igc.h struct igc_nfc_filter *input); input 515 drivers/net/ethernet/intel/igc/igc.h struct igc_nfc_filter *input); input 1137 drivers/net/ethernet/intel/igc/igc_ethtool.c struct igc_nfc_filter *input) input 1157 drivers/net/ethernet/intel/igc/igc_ethtool.c etype = ntohs(input->filter.etype & ETHER_TYPE_FULL_MASK); input 1164 drivers/net/ethernet/intel/igc/igc_ethtool.c etqf |= ((input->action << IGC_ETQF_QUEUE_SHIFT) input 1170 drivers/net/ethernet/intel/igc/igc_ethtool.c input->etype_reg_index = i; input 1176 drivers/net/ethernet/intel/igc/igc_ethtool.c struct igc_nfc_filter *input) input 1184 drivers/net/ethernet/intel/igc/igc_ethtool.c vlan_priority = (ntohs(input->filter.vlan_tci) & VLAN_PRIO_MASK) input 1190 drivers/net/ethernet/intel/igc/igc_ethtool.c queue_index != input->action) { input 1196 drivers/net/ethernet/intel/igc/igc_ethtool.c vlapqf |= IGC_VLAPQF_QUEUE_SEL(vlan_priority, input->action); input 1203 drivers/net/ethernet/intel/igc/igc_ethtool.c int igc_add_filter(struct igc_adapter *adapter, struct igc_nfc_filter *input) input 1209 drivers/net/ethernet/intel/igc/igc_ethtool.c !(input->filter.match_flags & ~IGC_FILTER_FLAG_SRC_MAC_ADDR)) { input 1215 drivers/net/ethernet/intel/igc/igc_ethtool.c if (input->filter.match_flags & IGC_FILTER_FLAG_ETHER_TYPE) { input 1216 drivers/net/ethernet/intel/igc/igc_ethtool.c err = igc_rxnfc_write_etype_filter(adapter, input); input 1221 drivers/net/ethernet/intel/igc/igc_ethtool.c if (input->filter.match_flags & IGC_FILTER_FLAG_DST_MAC_ADDR) { input 1223 drivers/net/ethernet/intel/igc/igc_ethtool.c input->filter.dst_addr, input 1224 drivers/net/ethernet/intel/igc/igc_ethtool.c input->action, 0); input 1230 drivers/net/ethernet/intel/igc/igc_ethtool.c if (input->filter.match_flags & IGC_FILTER_FLAG_SRC_MAC_ADDR) { input 1232 drivers/net/ethernet/intel/igc/igc_ethtool.c input->filter.src_addr, input 1233 drivers/net/ethernet/intel/igc/igc_ethtool.c input->action, input 1240 drivers/net/ethernet/intel/igc/igc_ethtool.c if (input->filter.match_flags & IGC_FILTER_FLAG_VLAN_TCI) input 1241 drivers/net/ethernet/intel/igc/igc_ethtool.c err = igc_rxnfc_write_vlan_prio_filter(adapter, input); input 1278 drivers/net/ethernet/intel/igc/igc_ethtool.c int igc_erase_filter(struct igc_adapter *adapter, struct igc_nfc_filter *input) input 1280 drivers/net/ethernet/intel/igc/igc_ethtool.c if (input->filter.match_flags & IGC_FILTER_FLAG_ETHER_TYPE) input 1282 drivers/net/ethernet/intel/igc/igc_ethtool.c input->etype_reg_index); input 1284 drivers/net/ethernet/intel/igc/igc_ethtool.c if (input->filter.match_flags & IGC_FILTER_FLAG_VLAN_TCI) input 1286 drivers/net/ethernet/intel/igc/igc_ethtool.c ntohs(input->filter.vlan_tci)); input 1288 drivers/net/ethernet/intel/igc/igc_ethtool.c if (input->filter.match_flags & IGC_FILTER_FLAG_SRC_MAC_ADDR) input 1289 drivers/net/ethernet/intel/igc/igc_ethtool.c igc_del_mac_steering_filter(adapter, input->filter.src_addr, input 1290 drivers/net/ethernet/intel/igc/igc_ethtool.c input->action, input 1293 drivers/net/ethernet/intel/igc/igc_ethtool.c if (input->filter.match_flags & IGC_FILTER_FLAG_DST_MAC_ADDR) input 1294 drivers/net/ethernet/intel/igc/igc_ethtool.c igc_del_mac_steering_filter(adapter, input->filter.dst_addr, input 1295 drivers/net/ethernet/intel/igc/igc_ethtool.c input->action, 0); input 1301 drivers/net/ethernet/intel/igc/igc_ethtool.c struct igc_nfc_filter *input, input 1319 drivers/net/ethernet/intel/igc/igc_ethtool.c if (!input) input 1330 drivers/net/ethernet/intel/igc/igc_ethtool.c if (!input) input 1334 drivers/net/ethernet/intel/igc/igc_ethtool.c INIT_HLIST_NODE(&input->nfc_node); input 1338 drivers/net/ethernet/intel/igc/igc_ethtool.c hlist_add_behind(&input->nfc_node, &parent->nfc_node); input 1340 drivers/net/ethernet/intel/igc/igc_ethtool.c hlist_add_head(&input->nfc_node, &adapter->nfc_filter_list); input 1354 drivers/net/ethernet/intel/igc/igc_ethtool.c struct igc_nfc_filter *input, *rule; input 1378 drivers/net/ethernet/intel/igc/igc_ethtool.c input = kzalloc(sizeof(*input), GFP_KERNEL); input 1379 drivers/net/ethernet/intel/igc/igc_ethtool.c if (!input) input 1383 drivers/net/ethernet/intel/igc/igc_ethtool.c input->filter.etype = fsp->h_u.ether_spec.h_proto; input 1384 drivers/net/ethernet/intel/igc/igc_ethtool.c input->filter.match_flags = IGC_FILTER_FLAG_ETHER_TYPE; input 1389 drivers/net/ethernet/intel/igc/igc_ethtool.c input->filter.match_flags |= IGC_FILTER_FLAG_SRC_MAC_ADDR; input 1390 drivers/net/ethernet/intel/igc/igc_ethtool.c ether_addr_copy(input->filter.src_addr, input 1396 drivers/net/ethernet/intel/igc/igc_ethtool.c input->filter.match_flags |= IGC_FILTER_FLAG_DST_MAC_ADDR; input 1397 drivers/net/ethernet/intel/igc/igc_ethtool.c ether_addr_copy(input->filter.dst_addr, input 1406 drivers/net/ethernet/intel/igc/igc_ethtool.c input->filter.vlan_tci = fsp->h_ext.vlan_tci; input 1407 drivers/net/ethernet/intel/igc/igc_ethtool.c input->filter.match_flags |= IGC_FILTER_FLAG_VLAN_TCI; input 1410 drivers/net/ethernet/intel/igc/igc_ethtool.c input->action = fsp->ring_cookie; input 1411 drivers/net/ethernet/intel/igc/igc_ethtool.c input->sw_idx = fsp->location; input 1416 drivers/net/ethernet/intel/igc/igc_ethtool.c if (!memcmp(&input->filter, &rule->filter, input 1417 drivers/net/ethernet/intel/igc/igc_ethtool.c sizeof(input->filter))) { input 1425 drivers/net/ethernet/intel/igc/igc_ethtool.c err = igc_add_filter(adapter, input); input 1429 drivers/net/ethernet/intel/igc/igc_ethtool.c igc_update_ethtool_nfc_entry(adapter, input, input->sw_idx); input 1437 drivers/net/ethernet/intel/igc/igc_ethtool.c kfree(input); input 895 drivers/net/ethernet/intel/ixgbe/ixgbe.h union ixgbe_atr_hash_dword input, input 901 drivers/net/ethernet/intel/ixgbe/ixgbe.h union ixgbe_atr_input *input, input 904 drivers/net/ethernet/intel/ixgbe/ixgbe.h union ixgbe_atr_input *input, input 906 drivers/net/ethernet/intel/ixgbe/ixgbe.h void ixgbe_atr_compute_perfect_hash_82599(union ixgbe_atr_input *input, input 909 drivers/net/ethernet/intel/ixgbe/ixgbe.h struct ixgbe_fdir_filter *input, input 1297 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c static u32 ixgbe_atr_compute_sig_hash_82599(union ixgbe_atr_hash_dword input, input 1304 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c flow_vm_vlan = ntohl(input.dword); input 1364 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c union ixgbe_atr_hash_dword input, input 1377 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c tunnel = !!(input.formatted.flow_type & IXGBE_ATR_L4TYPE_TUNNEL_MASK); input 1378 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c flow_type = input.formatted.flow_type & input 1406 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c fdirhashcmd |= ixgbe_atr_compute_sig_hash_82599(input, common); input 1434 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c void ixgbe_atr_compute_perfect_hash_82599(union ixgbe_atr_input *input, input 1445 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c input->dword_stream[i] &= input_mask->dword_stream[i]; input 1448 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c flow_vm_vlan = ntohl(input->dword_stream[0]); input 1452 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c hi_dword ^= input->dword_stream[i]; input 1479 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c input->formatted.bkt_hash = (__force __be16)(bucket_hash & 0x1FFF); input 1631 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c union ixgbe_atr_input *input, input 1639 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c input->formatted.src_ip[0]); input 1641 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c input->formatted.src_ip[1]); input 1643 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c input->formatted.src_ip[2]); input 1646 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c IXGBE_WRITE_REG_BE32(hw, IXGBE_FDIRIPSA, input->formatted.src_ip[0]); input 1649 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c IXGBE_WRITE_REG_BE32(hw, IXGBE_FDIRIPDA, input->formatted.dst_ip[0]); input 1652 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c fdirport = ntohs(input->formatted.dst_port); input 1654 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c fdirport |= ntohs(input->formatted.src_port); input 1658 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c fdirvlan = IXGBE_STORE_AS_BE16((__force u16)input->formatted.flex_bytes); input 1660 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c fdirvlan |= ntohs(input->formatted.vlan_id); input 1664 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c fdirhash = (__force u32)input->formatted.bkt_hash; input 1679 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c fdircmd |= input->formatted.flow_type << IXGBE_FDIRCMD_FLOW_TYPE_SHIFT; input 1681 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c fdircmd |= (u32)input->formatted.vm_pool << IXGBE_FDIRCMD_VT_POOL_SHIFT; input 1694 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c union ixgbe_atr_input *input, input 1702 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c fdirhash = (__force u32)input->formatted.bkt_hash; input 2577 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c struct ixgbe_fdir_filter *input, input 2598 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c if (!input || (rule->filter.formatted.bkt_hash != input 2599 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c input->filter.formatted.bkt_hash)) { input 2614 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c if (!input) input 2618 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c INIT_HLIST_NODE(&input->fdir_node); input 2622 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c hlist_add_behind(&input->fdir_node, &parent->fdir_node); input 2624 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c hlist_add_head(&input->fdir_node, input 2680 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c struct ixgbe_fdir_filter *input; input 2718 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c input = kzalloc(sizeof(*input), GFP_ATOMIC); input 2719 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c if (!input) input 2725 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c input->sw_idx = fsp->location; input 2729 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c &input->filter.formatted.flow_type)) { input 2737 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c if (input->filter.formatted.flow_type == IXGBE_ATR_FLOW_TYPE_IPV4) input 2741 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c input->filter.formatted.src_ip[0] = fsp->h_u.tcp_ip4_spec.ip4src; input 2743 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c input->filter.formatted.dst_ip[0] = fsp->h_u.tcp_ip4_spec.ip4dst; input 2745 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c input->filter.formatted.src_port = fsp->h_u.tcp_ip4_spec.psrc; input 2747 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c input->filter.formatted.dst_port = fsp->h_u.tcp_ip4_spec.pdst; input 2751 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c input->filter.formatted.vm_pool = input 2755 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c input->filter.formatted.vlan_id = fsp->h_ext.vlan_tci; input 2757 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c input->filter.formatted.flex_bytes = input 2764 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c input->action = IXGBE_FDIR_DROP_QUEUE; input 2766 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c input->action = fsp->ring_cookie; input 2784 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c ixgbe_atr_compute_perfect_hash_82599(&input->filter, &mask); input 2788 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c &input->filter, input->sw_idx, queue); input 2792 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c ixgbe_update_ethtool_fdir_entry(adapter, input, input->sw_idx); input 2800 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c kfree(input); input 8358 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c union ixgbe_atr_hash_dword input = { .dword = 0 }; input 8461 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c input.formatted.vlan_id = vlan_id; input 8475 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c input.formatted.flow_type = IXGBE_ATR_FLOW_TYPE_TCPV4; input 8479 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c input.formatted.flow_type = IXGBE_ATR_FLOW_TYPE_TCPV6; input 8494 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c input.formatted.flow_type |= IXGBE_ATR_L4TYPE_TUNNEL_MASK; input 8498 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c input, common, ring->queue_index); input 9207 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c kfree(jump->input); input 9352 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c static int ixgbe_clsu32_build_input(struct ixgbe_fdir_filter *input, input 9369 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c field_ptr[j].val(input, mask, (__force u32)val, input 9371 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c input->filter.formatted.flow_type |= input 9398 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (input->filter.formatted.flow_type == IXGBE_ATR_FLOW_TYPE_IPV4) input 9411 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c struct ixgbe_fdir_filter *input = NULL; input 9493 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c input = kzalloc(sizeof(*input), GFP_KERNEL); input 9494 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (!input) { input 9503 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c jump->input = input; input 9507 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c err = ixgbe_clsu32_build_input(input, mask, cls, input 9515 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c kfree(input); input 9522 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c input = kzalloc(sizeof(*input), GFP_KERNEL); input 9523 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (!input) input 9532 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if ((adapter->jump_tables[uhtid])->input) input 9533 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c memcpy(input, (adapter->jump_tables[uhtid])->input, input 9534 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c sizeof(*input)); input 9553 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c err = ixgbe_clsu32_build_input(input, mask, cls, field_ptr, NULL); input 9557 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c err = parse_tc_actions(adapter, cls->knode.exts, &input->action, input 9562 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c input->sw_idx = loc; input 9576 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c ixgbe_atr_compute_perfect_hash_82599(&input->filter, mask); input 9577 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c err = ixgbe_fdir_write_perfect_filter_82599(hw, &input->filter, input 9578 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c input->sw_idx, queue); input 9580 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c ixgbe_update_ethtool_fdir_entry(adapter, input, input->sw_idx); input 9593 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c kfree(input); input 11265 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c kfree(adapter->jump_tables[i]->input); input 12 drivers/net/ethernet/intel/ixgbe/ixgbe_model.h int (*val)(struct ixgbe_fdir_filter *input, input 20 drivers/net/ethernet/intel/ixgbe/ixgbe_model.h struct ixgbe_fdir_filter *input; input 28 drivers/net/ethernet/intel/ixgbe/ixgbe_model.h static inline int ixgbe_mat_prgm_sip(struct ixgbe_fdir_filter *input, input 32 drivers/net/ethernet/intel/ixgbe/ixgbe_model.h input->filter.formatted.src_ip[0] = (__force __be32)val; input 37 drivers/net/ethernet/intel/ixgbe/ixgbe_model.h static inline int ixgbe_mat_prgm_dip(struct ixgbe_fdir_filter *input, input 41 drivers/net/ethernet/intel/ixgbe/ixgbe_model.h input->filter.formatted.dst_ip[0] = (__force __be32)val; input 54 drivers/net/ethernet/intel/ixgbe/ixgbe_model.h static inline int ixgbe_mat_prgm_ports(struct ixgbe_fdir_filter *input, input 58 drivers/net/ethernet/intel/ixgbe/ixgbe_model.h input->filter.formatted.src_port = (__force __be16)(val & 0xffff); input 60 drivers/net/ethernet/intel/ixgbe/ixgbe_model.h input->filter.formatted.dst_port = (__force __be16)(val >> 16); input 1350 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c struct ethtool_rx_flow_spec_input input = {}; input 1362 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c input.fs = &info->fs; input 1368 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c input.rss_ctx = info->rss_context; input 1370 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c ethtool_rule = ethtool_rx_flow_rule_create(&input); input 770 drivers/net/ethernet/mellanox/mlx5/core/cmd.c struct mlx5_cmd_work_ent *ent, int input) input 772 drivers/net/ethernet/mellanox/mlx5/core/cmd.c struct mlx5_cmd_msg *msg = input ? ent->in : ent->out; input 787 drivers/net/ethernet/mellanox/mlx5/core/cmd.c input ? "INPUT" : "OUTPUT"); input 791 drivers/net/ethernet/mellanox/mlx5/core/cmd.c input ? "INPUT" : "OUTPUT"); input 794 drivers/net/ethernet/mellanox/mlx5/core/cmd.c if (input) { input 2653 drivers/net/ethernet/qlogic/qed/qed_iwarp.c data.input.conn_type = QED_LL2_TYPE_IWARP; input 2654 drivers/net/ethernet/qlogic/qed/qed_iwarp.c data.input.mtu = params->max_mtu; input 2655 drivers/net/ethernet/qlogic/qed/qed_iwarp.c data.input.rx_num_desc = QED_IWARP_LL2_SYN_RX_SIZE; input 2656 drivers/net/ethernet/qlogic/qed/qed_iwarp.c data.input.tx_num_desc = QED_IWARP_LL2_SYN_TX_SIZE; input 2657 drivers/net/ethernet/qlogic/qed/qed_iwarp.c data.input.tx_max_bds_per_packet = 1; /* will never be fragmented */ input 2658 drivers/net/ethernet/qlogic/qed/qed_iwarp.c data.input.tx_tc = PKT_LB_TC; input 2659 drivers/net/ethernet/qlogic/qed/qed_iwarp.c data.input.tx_dest = QED_LL2_TX_DEST_LB; input 2685 drivers/net/ethernet/qlogic/qed/qed_iwarp.c data.input.conn_type = QED_LL2_TYPE_OOO; input 2686 drivers/net/ethernet/qlogic/qed/qed_iwarp.c data.input.mtu = params->max_mtu; input 2692 drivers/net/ethernet/qlogic/qed/qed_iwarp.c data.input.rx_num_desc = n_ooo_bufs; input 2693 drivers/net/ethernet/qlogic/qed/qed_iwarp.c data.input.rx_num_ooo_buffers = n_ooo_bufs; input 2695 drivers/net/ethernet/qlogic/qed/qed_iwarp.c data.input.tx_max_bds_per_packet = 1; /* will never be fragmented */ input 2696 drivers/net/ethernet/qlogic/qed/qed_iwarp.c data.input.tx_num_desc = QED_IWARP_LL2_OOO_DEF_TX_SIZE; input 2712 drivers/net/ethernet/qlogic/qed/qed_iwarp.c data.input.conn_type = QED_LL2_TYPE_IWARP; input 2713 drivers/net/ethernet/qlogic/qed/qed_iwarp.c data.input.mtu = params->max_mtu; input 2718 drivers/net/ethernet/qlogic/qed/qed_iwarp.c data.input.rx_num_desc = n_ooo_bufs * 2; input 2719 drivers/net/ethernet/qlogic/qed/qed_iwarp.c data.input.tx_num_desc = data.input.rx_num_desc; input 2720 drivers/net/ethernet/qlogic/qed/qed_iwarp.c data.input.tx_max_bds_per_packet = QED_IWARP_MAX_BDS_PER_FPDU; input 2721 drivers/net/ethernet/qlogic/qed/qed_iwarp.c data.input.tx_tc = PKT_LB_TC; input 2722 drivers/net/ethernet/qlogic/qed/qed_iwarp.c data.input.tx_dest = QED_LL2_TX_DEST_LB; input 2724 drivers/net/ethernet/qlogic/qed/qed_iwarp.c data.input.secondary_queue = true; input 2736 drivers/net/ethernet/qlogic/qed/qed_iwarp.c data.input.rx_num_desc, input 2759 drivers/net/ethernet/qlogic/qed/qed_iwarp.c iwarp_info->mpa_bufs = kcalloc(data.input.rx_num_desc, input 2767 drivers/net/ethernet/qlogic/qed/qed_iwarp.c for (i = 0; i < data.input.rx_num_desc; i++) input 2380 drivers/net/ethernet/qlogic/qed/qed_l2.c struct qed_update_vport_rss_params *input, input 2391 drivers/net/ethernet/qlogic/qed/qed_l2.c rss->rss_caps = input->rss_caps; input 2392 drivers/net/ethernet/qlogic/qed/qed_l2.c memcpy(rss->rss_key, input->rss_key, QED_RSS_KEY_SIZE * sizeof(u32)); input 2402 drivers/net/ethernet/qlogic/qed/qed_l2.c input->rss_ind_table, input 2413 drivers/net/ethernet/qlogic/qed/qed_l2.c struct qed_queue_cid *cid = input->rss_ind_table[i]; input 322 drivers/net/ethernet/qlogic/qed/qed_ll2.c if (p_ll2_conn->input.conn_type == QED_LL2_TYPE_OOO) { input 491 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_ll2_conn->input.conn_type); input 588 drivers/net/ethernet/qlogic/qed/qed_ll2.c if (p_ll2_conn->input.conn_type == QED_LL2_TYPE_OOO) { input 944 drivers/net/ethernet/qlogic/qed/qed_ll2.c enum qed_ll2_conn_type conn_type = p_ll2_conn->input.conn_type; input 970 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_ramrod->mtu = cpu_to_le16(p_ll2_conn->input.mtu); input 977 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_ramrod->drop_ttl0_flg = p_ll2_conn->input.rx_drop_ttl0_flg; input 979 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_ll2_conn->input.rx_vlan_removal_en; input 982 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_ll2_conn->input.conn_type == QED_LL2_TYPE_FCOE) input 998 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_ramrod->gsi_offload_flag = p_ll2_conn->input.gsi_enable; input 1005 drivers/net/ethernet/qlogic/qed/qed_ll2.c enum qed_ll2_conn_type conn_type = p_ll2_conn->input.conn_type; input 1016 drivers/net/ethernet/qlogic/qed/qed_ll2.c if (p_ll2_conn->input.conn_type == QED_LL2_TYPE_OOO) input 1037 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_ramrod->mtu = cpu_to_le16(p_ll2_conn->input.mtu); input 1046 drivers/net/ethernet/qlogic/qed/qed_ll2.c switch (p_ll2_conn->input.tx_tc) { input 1084 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_ramrod->gsi_offload_flag = p_ll2_conn->input.gsi_enable; input 1156 drivers/net/ethernet/qlogic/qed/qed_ll2.c if (!p_ll2_info->input.rx_num_desc) input 1163 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_ll2_info->input.rx_num_desc, input 1185 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_ll2_info->input.rx_num_desc, input 1195 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_ll2_info->input.conn_type, p_ll2_info->input.rx_num_desc); input 1209 drivers/net/ethernet/qlogic/qed/qed_ll2.c if (!p_ll2_info->input.tx_num_desc) input 1216 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_ll2_info->input.tx_num_desc, input 1225 drivers/net/ethernet/qlogic/qed/qed_ll2.c (p_ll2_info->input.tx_max_bds_per_packet - 1) * input 1237 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_ll2_info->input.conn_type, p_ll2_info->input.tx_num_desc); input 1243 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_ll2_info->input.tx_num_desc); input 1256 drivers/net/ethernet/qlogic/qed/qed_ll2.c if (p_ll2_info->input.conn_type != QED_LL2_TYPE_OOO) input 1260 drivers/net/ethernet/qlogic/qed/qed_ll2.c if (!p_ll2_info->input.rx_num_ooo_buffers) { input 1261 drivers/net/ethernet/qlogic/qed/qed_ll2.c u16 num_desc = p_ll2_info->input.rx_num_desc; input 1265 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_ll2_info->input.rx_num_ooo_buffers = num_desc * 2; input 1268 drivers/net/ethernet/qlogic/qed/qed_ll2.c for (buf_idx = 0; buf_idx < p_ll2_info->input.rx_num_ooo_buffers; input 1296 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_ll2_info->input.rx_num_ooo_buffers, p_buf->rx_buffer_size); input 1362 drivers/net/ethernet/qlogic/qed/qed_ll2.c memcpy(&p_ll2_info->input, &data->input, sizeof(p_ll2_info->input)); input 1364 drivers/net/ethernet/qlogic/qed/qed_ll2.c switch (data->input.tx_dest) { input 1378 drivers/net/ethernet/qlogic/qed/qed_ll2.c if (data->input.conn_type == QED_LL2_TYPE_OOO || input 1379 drivers/net/ethernet/qlogic/qed/qed_ll2.c data->input.secondary_queue) input 1385 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_tx_max = &p_ll2_info->input.tx_max_bds_per_packet; input 1407 drivers/net/ethernet/qlogic/qed/qed_ll2.c data->input.mtu); input 1412 drivers/net/ethernet/qlogic/qed/qed_ll2.c if (data->input.conn_type == QED_LL2_TYPE_OOO) { input 1420 drivers/net/ethernet/qlogic/qed/qed_ll2.c if (data->input.rx_num_desc) { input 1428 drivers/net/ethernet/qlogic/qed/qed_ll2.c if (data->input.tx_num_desc) { input 1456 drivers/net/ethernet/qlogic/qed/qed_ll2.c error_input = p_ll2_conn->input.ai_err_packet_too_big; input 1460 drivers/net/ethernet/qlogic/qed/qed_ll2.c error_input = p_ll2_conn->input.ai_err_no_buf; input 1471 drivers/net/ethernet/qlogic/qed/qed_ll2.c if (p_ll2_conn->input.conn_type != QED_LL2_TYPE_OOO) input 1524 drivers/net/ethernet/qlogic/qed/qed_ll2.c (p_ll2_conn->input.tx_max_bds_per_packet - 1) * input 1573 drivers/net/ethernet/qlogic/qed/qed_ll2.c if (p_ll2_conn->input.conn_type == QED_LL2_TYPE_FCOE) { input 1739 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_ll2->input.conn_type == QED_LL2_TYPE_OOO) { input 1745 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_ll2->input.conn_type == QED_LL2_TYPE_FCOE) input 1771 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_ll2->input.conn_type, input 1841 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_ll2_conn->input.conn_type, p_tx->db_msg.spq_prod); input 1863 drivers/net/ethernet/qlogic/qed/qed_ll2.c if (pkt->num_of_bds > p_ll2_conn->input.tx_max_bds_per_packet) input 1976 drivers/net/ethernet/qlogic/qed/qed_ll2.c if (p_ll2_conn->input.conn_type == QED_LL2_TYPE_OOO) input 1979 drivers/net/ethernet/qlogic/qed/qed_ll2.c if (p_ll2_conn->input.conn_type == QED_LL2_TYPE_FCOE) { input 1999 drivers/net/ethernet/qlogic/qed/qed_ll2.c if (p_ll2_conn->input.conn_type != QED_LL2_TYPE_OOO) input 2178 drivers/net/ethernet/qlogic/qed/qed_ll2.c if (p_ll2_conn->input.gsi_enable) input 2234 drivers/net/ethernet/qlogic/qed/qed_ll2.c data->input.conn_type = conn_type; input 2235 drivers/net/ethernet/qlogic/qed/qed_ll2.c data->input.mtu = params->mtu; input 2236 drivers/net/ethernet/qlogic/qed/qed_ll2.c data->input.rx_num_desc = QED_LL2_RX_SIZE; input 2237 drivers/net/ethernet/qlogic/qed/qed_ll2.c data->input.rx_drop_ttl0_flg = params->drop_ttl0_packets; input 2238 drivers/net/ethernet/qlogic/qed/qed_ll2.c data->input.rx_vlan_removal_en = params->rx_vlan_stripping; input 2239 drivers/net/ethernet/qlogic/qed/qed_ll2.c data->input.tx_num_desc = QED_LL2_TX_SIZE; input 2245 drivers/net/ethernet/qlogic/qed/qed_ll2.c data->input.tx_tc = PKT_LB_TC; input 2246 drivers/net/ethernet/qlogic/qed/qed_ll2.c data->input.tx_dest = QED_LL2_TX_DEST_LB; input 2248 drivers/net/ethernet/qlogic/qed/qed_ll2.c data->input.tx_tc = 0; input 2249 drivers/net/ethernet/qlogic/qed/qed_ll2.c data->input.tx_dest = QED_LL2_TX_DEST_NW; input 117 drivers/net/ethernet/qlogic/qed/qed_ll2.h struct qed_ll2_acquire_data_inputs input; input 2051 drivers/net/ethernet/qlogic/qede/qede_filter.c struct ethtool_rx_flow_spec_input input = {}; input 2074 drivers/net/ethernet/qlogic/qede/qede_filter.c input.fs = fs; input 2075 drivers/net/ethernet/qlogic/qede/qede_filter.c flow = ethtool_rx_flow_rule_create(&input); input 887 drivers/net/netconsole.c char *input = config; input 889 drivers/net/netconsole.c if (strnlen(input, MAX_PARAM_LENGTH)) { input 890 drivers/net/netconsole.c while ((target_config = strsep(&input, ";"))) { input 1507 drivers/net/wireless/ath/carl9170/main.c struct input_dev *input; input 1513 drivers/net/wireless/ath/carl9170/main.c input = input_allocate_device(); input 1514 drivers/net/wireless/ath/carl9170/main.c if (!input) input 1523 drivers/net/wireless/ath/carl9170/main.c input->name = ar->wps.name; input 1524 drivers/net/wireless/ath/carl9170/main.c input->phys = ar->wps.phys; input 1525 drivers/net/wireless/ath/carl9170/main.c input->id.bustype = BUS_USB; input 1526 drivers/net/wireless/ath/carl9170/main.c input->dev.parent = &ar->hw->wiphy->dev; input 1528 drivers/net/wireless/ath/carl9170/main.c input_set_capability(input, EV_KEY, KEY_WPS_BUTTON); input 1530 drivers/net/wireless/ath/carl9170/main.c err = input_register_device(input); input 1532 drivers/net/wireless/ath/carl9170/main.c input_free_device(input); input 1536 drivers/net/wireless/ath/carl9170/main.c ar->wps.pbc = input; input 1204 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c u32 input, current_aid = 0; input 1238 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c input = FW_RA_REFRESH; input 1239 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c rtl_write_dword(rtlpriv, WFM5, input); input 1255 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c input = FW_RA_IOT_N_COMB; input 1256 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c rtl_write_dword(rtlpriv, WFM5, input); input 1262 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c input = FW_RA_IOT_BG_COMB; input 1263 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c rtl_write_dword(rtlpriv, WFM5, input); input 286 drivers/net/wireless/realtek/rtw88/debug.c u32 input; input 291 drivers/net/wireless/realtek/rtw88/debug.c num = kstrtoint(tmp, 0, &input); input 298 drivers/net/wireless/realtek/rtw88/debug.c debugfs_priv->cb_data = input; input 252 drivers/nvdimm/namespace_devs.c char *input, *pos, *alt_name, **ns_altname; input 269 drivers/nvdimm/namespace_devs.c input = kstrndup(buf, len, GFP_KERNEL); input 270 drivers/nvdimm/namespace_devs.c if (!input) input 273 drivers/nvdimm/namespace_devs.c pos = strim(input); input 290 drivers/nvdimm/namespace_devs.c kfree(input); input 409 drivers/perf/xgene_pmu.c XGENE_PMU_EVENT_ATTR(input-req-async-fifo-stall, 0x12), input 886 drivers/pinctrl/bcm/pinctrl-bcm2835.c bool input) input 889 drivers/pinctrl/bcm/pinctrl-bcm2835.c enum bcm2835_fsel fsel = input ? input 964 drivers/pinctrl/cirrus/pinctrl-lochnagar.c bool input) input 967 drivers/pinctrl/cirrus/pinctrl-lochnagar.c if (input) input 675 drivers/pinctrl/cirrus/pinctrl-madera-core.c bool input) input 683 drivers/pinctrl/cirrus/pinctrl-madera-core.c if (input) input 832 drivers/pinctrl/core.c static int pinctrl_gpio_direction(unsigned gpio, bool input) input 848 drivers/pinctrl/core.c ret = pinmux_gpio_direction(pctldev, range, pin, input); input 100 drivers/pinctrl/freescale/pinctrl-imx.h bool input); input 264 drivers/pinctrl/freescale/pinctrl-imx7ulp.c unsigned offset, bool input) input 275 drivers/pinctrl/freescale/pinctrl-imx7ulp.c if (input) input 295 drivers/pinctrl/freescale/pinctrl-vf610.c unsigned offset, bool input) input 307 drivers/pinctrl/freescale/pinctrl-vf610.c if (input) input 817 drivers/pinctrl/intel/pinctrl-baytrail.c bool input) input 829 drivers/pinctrl/intel/pinctrl-baytrail.c if (input) input 937 drivers/pinctrl/intel/pinctrl-cherryview.c unsigned int offset, bool input) input 947 drivers/pinctrl/intel/pinctrl-cherryview.c if (input) input 447 drivers/pinctrl/intel/pinctrl-intel.c static void __intel_gpio_set_direction(void __iomem *padcfg0, bool input) input 452 drivers/pinctrl/intel/pinctrl-intel.c if (input) { input 524 drivers/pinctrl/intel/pinctrl-intel.c unsigned int pin, bool input) input 533 drivers/pinctrl/intel/pinctrl-intel.c __intel_gpio_set_direction(padcfg0, input); input 86 drivers/pinctrl/mediatek/pinctrl-moore.c unsigned int pin, bool input) input 94 drivers/pinctrl/mediatek/pinctrl-moore.c return mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, !input); input 70 drivers/pinctrl/mediatek/pinctrl-mtk-common.c bool input) input 82 drivers/pinctrl/mediatek/pinctrl-mtk-common.c if (input) input 65 drivers/pinctrl/mediatek/pinctrl-paris.c unsigned int pin, bool input) input 73 drivers/pinctrl/mediatek/pinctrl-paris.c return mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_DIR, !input); input 461 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c unsigned int offset, bool input) input 467 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c offset, range->name, offset, input ? "input" : "output"); input 469 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c if (input) input 300 drivers/pinctrl/mvebu/pinctrl-dove.c unsigned pid, bool input) input 339 drivers/pinctrl/mvebu/pinctrl-mvebu.c struct pinctrl_gpio_range *range, unsigned offset, bool input) input 350 drivers/pinctrl/mvebu/pinctrl-mvebu.c return grp->ctrl->mpp_gpio_dir(grp->data, offset, input); input 356 drivers/pinctrl/mvebu/pinctrl-mvebu.c if ((input && (setting->flags & MVEBU_SETTING_GPI)) || input 357 drivers/pinctrl/mvebu/pinctrl-mvebu.c (!input && (setting->flags & MVEBU_SETTING_GPO))) input 58 drivers/pinctrl/mvebu/pinctrl-mvebu.h bool input); input 1687 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c unsigned int offset, bool input) input 1695 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c input); input 1696 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c if (input) input 275 drivers/pinctrl/pinctrl-as3722.c static int as3722_pinctrl_gpio_get_mode(unsigned gpio_mode_prop, bool input) input 285 drivers/pinctrl/pinctrl-as3722.c if (input) { input 308 drivers/pinctrl/pinctrl-as3722.c struct pinctrl_gpio_range *range, unsigned offset, bool input) input 315 drivers/pinctrl/pinctrl-as3722.c as_pci->gpio_control[offset].mode_prop, input); input 318 drivers/pinctrl/pinctrl-as3722.c (input) ? "Input" : "Output", offset); input 814 drivers/pinctrl/pinctrl-at91.c static void at91_mux_gpio_enable(void __iomem *pio, unsigned mask, bool input) input 817 drivers/pinctrl/pinctrl-at91.c writel_relaxed(mask, pio + (input ? PIO_ODR : PIO_OER)); input 260 drivers/pinctrl/pinctrl-axp209.c unsigned int offset, bool input) input 264 drivers/pinctrl/pinctrl-axp209.c if (input) input 211 drivers/pinctrl/pinctrl-digicolor.c u8 input; input 213 drivers/pinctrl/pinctrl-digicolor.c input = readb_relaxed(pmap->regs + reg_off); input 215 drivers/pinctrl/pinctrl-digicolor.c return !!(input & BIT(bit_off)); input 1722 drivers/pinctrl/pinctrl-ingenic.c unsigned int pin, bool input) input 1729 drivers/pinctrl/pinctrl-ingenic.c 'A' + offt, idx, input ? "in" : "out"); input 1734 drivers/pinctrl/pinctrl-ingenic.c ingenic_shadow_config_pin(jzpc, pin, JZ4760_GPIO_PAT1, input); input 1739 drivers/pinctrl/pinctrl-ingenic.c ingenic_config_pin(jzpc, pin, JZ4760_GPIO_PAT1, input); input 1742 drivers/pinctrl/pinctrl-ingenic.c ingenic_config_pin(jzpc, pin, JZ4740_GPIO_DIR, !input); input 432 drivers/pinctrl/pinctrl-ocelot.c unsigned int pin, bool input) input 438 drivers/pinctrl/pinctrl-ocelot.c input ? 0 : BIT(p)); input 807 drivers/pinctrl/pinctrl-oxnas.c unsigned int offset, bool input) input 811 drivers/pinctrl/pinctrl-oxnas.c if (input) input 1857 drivers/pinctrl/pinctrl-pic32.c unsigned offset, bool input) input 1861 drivers/pinctrl/pinctrl-pic32.c if (input) input 319 drivers/pinctrl/pinctrl-rk805.c unsigned int offset, bool input) input 338 drivers/pinctrl/pinctrl-rk805.c input ? 0 : pci->pin_cfg[offset].dir_msk); input 2223 drivers/pinctrl/pinctrl-rockchip.c int pin, bool input) input 2241 drivers/pinctrl/pinctrl-rockchip.c if (!input) input 2255 drivers/pinctrl/pinctrl-rockchip.c unsigned offset, bool input) input 2264 drivers/pinctrl/pinctrl-rockchip.c offset, range->name, pin, input ? "input" : "output"); input 2267 drivers/pinctrl/pinctrl-rockchip.c input); input 102 drivers/pinctrl/pinctrl-rza1.c u16 input: 1; input 259 drivers/pinctrl/pinctrl-rza1.c { .port = 2, .pin = 7, .func = 4, .input = 0 }, input 260 drivers/pinctrl/pinctrl-rza1.c { .port = 2, .pin = 11, .func = 4, .input = 0 }, input 261 drivers/pinctrl/pinctrl-rza1.c { .port = 3, .pin = 7, .func = 3, .input = 0 }, input 262 drivers/pinctrl/pinctrl-rza1.c { .port = 3, .pin = 7, .func = 8, .input = 0 }, input 263 drivers/pinctrl/pinctrl-rza1.c { .port = 4, .pin = 7, .func = 5, .input = 0 }, input 264 drivers/pinctrl/pinctrl-rza1.c { .port = 4, .pin = 7, .func = 11, .input = 0 }, input 265 drivers/pinctrl/pinctrl-rza1.c { .port = 4, .pin = 15, .func = 6, .input = 0 }, input 266 drivers/pinctrl/pinctrl-rza1.c { .port = 5, .pin = 0, .func = 1, .input = 1 }, input 267 drivers/pinctrl/pinctrl-rza1.c { .port = 5, .pin = 1, .func = 1, .input = 1 }, input 268 drivers/pinctrl/pinctrl-rza1.c { .port = 5, .pin = 2, .func = 1, .input = 1 }, input 269 drivers/pinctrl/pinctrl-rza1.c { .port = 5, .pin = 3, .func = 1, .input = 1 }, input 270 drivers/pinctrl/pinctrl-rza1.c { .port = 5, .pin = 4, .func = 1, .input = 1 }, input 271 drivers/pinctrl/pinctrl-rza1.c { .port = 5, .pin = 5, .func = 1, .input = 1 }, input 272 drivers/pinctrl/pinctrl-rza1.c { .port = 5, .pin = 6, .func = 1, .input = 1 }, input 273 drivers/pinctrl/pinctrl-rza1.c { .port = 5, .pin = 7, .func = 1, .input = 1 }, input 274 drivers/pinctrl/pinctrl-rza1.c { .port = 7, .pin = 4, .func = 6, .input = 0 }, input 275 drivers/pinctrl/pinctrl-rza1.c { .port = 7, .pin = 11, .func = 2, .input = 0 }, input 276 drivers/pinctrl/pinctrl-rza1.c { .port = 8, .pin = 10, .func = 8, .input = 0 }, input 277 drivers/pinctrl/pinctrl-rza1.c { .port = 10, .pin = 15, .func = 2, .input = 0 }, input 402 drivers/pinctrl/pinctrl-rza1.c { .port = 2, .pin = 8, .func = 2, .input = 0 }, input 403 drivers/pinctrl/pinctrl-rza1.c { .port = 5, .pin = 6, .func = 3, .input = 0 }, input 404 drivers/pinctrl/pinctrl-rza1.c { .port = 6, .pin = 6, .func = 3, .input = 0 }, input 405 drivers/pinctrl/pinctrl-rza1.c { .port = 6, .pin = 10, .func = 3, .input = 0 }, input 406 drivers/pinctrl/pinctrl-rza1.c { .port = 7, .pin = 10, .func = 2, .input = 0 }, input 407 drivers/pinctrl/pinctrl-rza1.c { .port = 8, .pin = 2, .func = 3, .input = 0 }, input 533 drivers/pinctrl/pinctrl-rza1.c return swio_pin->input; input 637 drivers/pinctrl/pinctrl-rza1.c unsigned int pin, bool input) input 644 drivers/pinctrl/pinctrl-rza1.c if (input) { input 550 drivers/pinctrl/pinctrl-st.c int input = ST_PINCONF_UNPACK_OE(config) ? 0 : 1; input 565 drivers/pinctrl/pinctrl-st.c ((input) << RT_D_CFG_DELAY_INNOTOUT_SHIFT) | input 914 drivers/pinctrl/pinctrl-st.c bool input) input 923 drivers/pinctrl/pinctrl-st.c st_gpio_direction(bank, gpio, input ? input 301 drivers/pinctrl/pinmux.c unsigned pin, bool input) input 309 drivers/pinctrl/pinmux.c ret = ops->gpio_set_direction(pctldev, range, pin, input); input 27 drivers/pinctrl/pinmux.h unsigned pin, bool input); input 68 drivers/pinctrl/pinmux.h unsigned pin, bool input) input 85 drivers/pinctrl/pxa/pinctrl-pxa2xx.c bool input) input 94 drivers/pinctrl/pxa/pinctrl-pxa2xx.c pin, !input); input 99 drivers/pinctrl/pxa/pinctrl-pxa2xx.c val = (val & ~BIT(pin % 32)) | (input ? 0 : BIT(pin % 32)); input 110 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c bool input; input 178 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c } else if (pin->input && pin->output) { input 188 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c } else if (pin->input) { input 335 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c arg = pin->input; input 390 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c pin->input = true; input 449 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c pin->input = true; input 452 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c pin->input = true; input 476 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c pin->input = false; input 480 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c pin->input = false; input 497 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c if (!pin->input) input 568 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c } else if (pin->input && pin->output) { input 573 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c } else if (pin->input) { input 671 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c pin->input = true; input 684 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c pin->input = true; input 704 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c pin->input = true; input 592 drivers/pinctrl/samsung/pinctrl-samsung.c unsigned offset, bool input) input 615 drivers/pinctrl/samsung/pinctrl-samsung.c if (!input) input 322 drivers/pinctrl/sh-pfc/core.c range = &pfc->info->input; input 2711 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c .input = { PINMUX_INPUT_BEGIN, PINMUX_INPUT_END }, input 3747 drivers/pinctrl/sh-pfc/pfc-r8a7740.c .input = { PINMUX_INPUT_BEGIN, input 1575 drivers/pinctrl/sh-pfc/pfc-sh7203.c .input = { PINMUX_INPUT_BEGIN, PINMUX_INPUT_END, FORCE_IN }, input 2118 drivers/pinctrl/sh-pfc/pfc-sh7264.c .input = { PINMUX_INPUT_BEGIN, PINMUX_INPUT_END, FORCE_IN }, input 2833 drivers/pinctrl/sh-pfc/pfc-sh7269.c .input = { PINMUX_INPUT_BEGIN, PINMUX_INPUT_END, FORCE_IN }, input 4394 drivers/pinctrl/sh-pfc/pfc-sh73a0.c .input = { PINMUX_INPUT_BEGIN, PINMUX_INPUT_END }, input 1189 drivers/pinctrl/sh-pfc/pfc-sh7720.c .input = { PINMUX_INPUT_BEGIN, PINMUX_INPUT_END }, input 1733 drivers/pinctrl/sh-pfc/pfc-sh7722.c .input = { PINMUX_INPUT_BEGIN, PINMUX_INPUT_END }, input 1881 drivers/pinctrl/sh-pfc/pfc-sh7723.c .input = { PINMUX_INPUT_BEGIN, PINMUX_INPUT_END }, input 2163 drivers/pinctrl/sh-pfc/pfc-sh7724.c .input = { PINMUX_INPUT_BEGIN, PINMUX_INPUT_END }, input 2448 drivers/pinctrl/sh-pfc/pfc-sh7734.c .input = { PINMUX_INPUT_BEGIN, PINMUX_INPUT_END }, input 2225 drivers/pinctrl/sh-pfc/pfc-sh7757.c .input = { PINMUX_INPUT_BEGIN, PINMUX_INPUT_END }, input 1257 drivers/pinctrl/sh-pfc/pfc-sh7785.c .input = { PINMUX_INPUT_BEGIN, PINMUX_INPUT_END }, input 801 drivers/pinctrl/sh-pfc/pfc-sh7786.c .input = { PINMUX_INPUT_BEGIN, PINMUX_INPUT_END }, input 547 drivers/pinctrl/sh-pfc/pfc-shx3.c .input = { PINMUX_INPUT_BEGIN, PINMUX_INPUT_END }, input 442 drivers/pinctrl/sh-pfc/pinctrl.c unsigned offset, bool input) input 446 drivers/pinctrl/sh-pfc/pinctrl.c int new_type = input ? PINMUX_TYPE_INPUT : PINMUX_TYPE_OUTPUT; input 457 drivers/pinctrl/sh-pfc/pinctrl.c dir = input ? SH_PFC_PIN_CFG_INPUT : SH_PFC_PIN_CFG_OUTPUT; input 273 drivers/pinctrl/sh-pfc/sh_pfc.h struct pinmux_range input; input 791 drivers/pinctrl/stm32/pinctrl-stm32.c bool input) input 796 drivers/pinctrl/stm32/pinctrl-stm32.c return stm32_pmx_set_mode(bank, pin, !input, 0); input 741 drivers/pinctrl/sunxi/pinctrl-sunxi.c bool input) input 747 drivers/pinctrl/sunxi/pinctrl-sunxi.c if (input) input 148 drivers/pinctrl/vt8500/pinctrl-wmt.c bool input) input 152 drivers/pinctrl/vt8500/pinctrl-wmt.c wmt_set_pinmux(data, (input ? WMT_FSEL_GPIO_IN : WMT_FSEL_GPIO_OUT), input 27 drivers/platform/chrome/cros_kbd_led_backlight.c struct acpi_object_list input; input 32 drivers/platform/chrome/cros_kbd_led_backlight.c input.count = 1; input 33 drivers/platform/chrome/cros_kbd_led_backlight.c input.pointer = ¶m; input 36 drivers/platform/chrome/cros_kbd_led_backlight.c &input, NULL); input 685 drivers/platform/x86/acer-wmi.c struct acpi_buffer input; input 687 drivers/platform/x86/acer-wmi.c input.length = sizeof(struct wmab_args); input 688 drivers/platform/x86/acer-wmi.c input.pointer = (u8 *)regbuf; input 690 drivers/platform/x86/acer-wmi.c status = wmi_evaluate_method(AMW0_GUID1, 0, 1, &input, result); input 949 drivers/platform/x86/acer-wmi.c struct acpi_buffer input = { (acpi_size) sizeof(u32), (void *)(&in) }; input 955 drivers/platform/x86/acer-wmi.c status = wmi_evaluate_method(WMID_GUID1, 0, method_id, &input, &result); input 1069 drivers/platform/x86/acer-wmi.c struct acpi_buffer input = { input 1075 drivers/platform/x86/acer-wmi.c status = wmi_evaluate_method(WMID_GUID3, 0, 0x2, &input, &output); input 1511 drivers/platform/x86/acer-wmi.c static int acer_gsensor_open(struct input_dev *input) input 1789 drivers/platform/x86/acer-wmi.c struct acpi_buffer input = { sizeof(struct func_input_params), params }; input 1792 drivers/platform/x86/acer-wmi.c status = wmi_evaluate_method(WMID_GUID3, 0, 0x1, &input, &output); input 285 drivers/platform/x86/alienware-wmi.c struct acpi_buffer input; input 295 drivers/platform/x86/alienware-wmi.c input.length = (acpi_size) sizeof(wmax_basic_args); input 296 drivers/platform/x86/alienware-wmi.c input.pointer = &wmax_basic_args; input 309 drivers/platform/x86/alienware-wmi.c input.length = (acpi_size) sizeof(legacy_args); input 310 drivers/platform/x86/alienware-wmi.c input.pointer = &legacy_args; input 314 drivers/platform/x86/alienware-wmi.c status = wmi_evaluate_method(guid, 0, method_id, &input, NULL); input 356 drivers/platform/x86/alienware-wmi.c struct acpi_buffer input; input 361 drivers/platform/x86/alienware-wmi.c input.length = (acpi_size) sizeof(args); input 362 drivers/platform/x86/alienware-wmi.c input.pointer = &args; input 364 drivers/platform/x86/alienware-wmi.c WMAX_METHOD_BRIGHTNESS, &input, NULL); input 510 drivers/platform/x86/alienware-wmi.c struct acpi_buffer input; input 513 drivers/platform/x86/alienware-wmi.c input.length = (acpi_size) sizeof(*in_args); input 514 drivers/platform/x86/alienware-wmi.c input.pointer = in_args; input 519 drivers/platform/x86/alienware-wmi.c command, &input, &output); input 528 drivers/platform/x86/alienware-wmi.c command, &input, NULL); input 451 drivers/platform/x86/asus-laptop.c struct device *parent = ipd->input->dev.parent; input 460 drivers/platform/x86/asus-laptop.c input_report_abs(ipd->input, ABS_X, 0); input 461 drivers/platform/x86/asus-laptop.c input_report_abs(ipd->input, ABS_Y, 0); input 462 drivers/platform/x86/asus-laptop.c input_report_abs(ipd->input, ABS_Z, 0); input 463 drivers/platform/x86/asus-laptop.c input_sync(ipd->input); input 474 drivers/platform/x86/asus-laptop.c input_report_abs(ipd->input, ABS_X, -asus->pega_acc_x); input 475 drivers/platform/x86/asus-laptop.c input_report_abs(ipd->input, ABS_Y, -asus->pega_acc_y); input 476 drivers/platform/x86/asus-laptop.c input_report_abs(ipd->input, ABS_Z, asus->pega_acc_z); input 477 drivers/platform/x86/asus-laptop.c input_sync(ipd->input); input 511 drivers/platform/x86/asus-laptop.c ipd->input->name = PEGA_ACCEL_DESC; input 512 drivers/platform/x86/asus-laptop.c ipd->input->phys = PEGA_ACCEL_NAME "/input0"; input 513 drivers/platform/x86/asus-laptop.c ipd->input->dev.parent = &asus->platform_device->dev; input 514 drivers/platform/x86/asus-laptop.c ipd->input->id.bustype = BUS_HOST; input 516 drivers/platform/x86/asus-laptop.c set_bit(EV_ABS, ipd->input->evbit); input 517 drivers/platform/x86/asus-laptop.c input_set_abs_params(ipd->input, ABS_X, input 519 drivers/platform/x86/asus-laptop.c input_set_abs_params(ipd->input, ABS_Y, input 521 drivers/platform/x86/asus-laptop.c input_set_abs_params(ipd->input, ABS_Z, input 1484 drivers/platform/x86/asus-laptop.c struct input_dev *input; input 1487 drivers/platform/x86/asus-laptop.c input = input_allocate_device(); input 1488 drivers/platform/x86/asus-laptop.c if (!input) input 1491 drivers/platform/x86/asus-laptop.c input->name = "Asus Laptop extra buttons"; input 1492 drivers/platform/x86/asus-laptop.c input->phys = ASUS_LAPTOP_FILE "/input0"; input 1493 drivers/platform/x86/asus-laptop.c input->id.bustype = BUS_HOST; input 1494 drivers/platform/x86/asus-laptop.c input->dev.parent = &asus->platform_device->dev; input 1496 drivers/platform/x86/asus-laptop.c error = sparse_keymap_setup(input, asus_keymap, NULL); input 1501 drivers/platform/x86/asus-laptop.c error = input_register_device(input); input 1507 drivers/platform/x86/asus-laptop.c asus->inputdev = input; input 1511 drivers/platform/x86/asus-laptop.c input_free_device(input); input 1553 drivers/platform/x86/asus-laptop.c kobject_uevent(&asus->pega_accel_poll->input->dev.kobj, input 266 drivers/platform/x86/asus-wmi.c struct acpi_buffer input = { (acpi_size) sizeof(args), &args }; input 273 drivers/platform/x86/asus-wmi.c &input, &output); input 301 drivers/platform/x86/asus-wmi.c struct acpi_buffer input; input 310 drivers/platform/x86/asus-wmi.c input.pointer = kmemdup(args.pointer, args.length, GFP_DMA | GFP_KERNEL); input 311 drivers/platform/x86/asus-wmi.c input.length = args.length; input 312 drivers/platform/x86/asus-wmi.c if (!input.pointer) input 314 drivers/platform/x86/asus-wmi.c phys_addr = virt_to_phys(input.pointer); input 319 drivers/platform/x86/asus-wmi.c memcpy(args.pointer, input.pointer, args.length); input 321 drivers/platform/x86/asus-wmi.c kfree(input.pointer); input 1220 drivers/platform/x86/asus-wmi.c struct acpi_buffer input = { (acpi_size) sizeof(args), &args }; input 1226 drivers/platform/x86/asus-wmi.c status = asus_wmi_evaluate_method_agfn(input); input 1247 drivers/platform/x86/asus-wmi.c struct acpi_buffer input = { (acpi_size) sizeof(args), &args }; input 1254 drivers/platform/x86/asus-wmi.c status = asus_wmi_evaluate_method_agfn(input); input 2327 drivers/platform/x86/asus-wmi.c struct acpi_buffer input = { (acpi_size) sizeof(args), &args }; input 2334 drivers/platform/x86/asus-wmi.c &input, &output); input 76 drivers/platform/x86/classmate-laptop.c struct acpi_object_list input; input 87 drivers/platform/x86/classmate-laptop.c input.count = 4; input 88 drivers/platform/x86/classmate-laptop.c input.pointer = param; input 89 drivers/platform/x86/classmate-laptop.c status = acpi_evaluate_object(handle, "ACMD", &input, NULL); input 96 drivers/platform/x86/classmate-laptop.c struct acpi_object_list input; input 107 drivers/platform/x86/classmate-laptop.c input.count = 4; input 108 drivers/platform/x86/classmate-laptop.c input.pointer = param; input 109 drivers/platform/x86/classmate-laptop.c status = acpi_evaluate_object(handle, "ACMD", &input, NULL); input 116 drivers/platform/x86/classmate-laptop.c struct acpi_object_list input; input 126 drivers/platform/x86/classmate-laptop.c input.count = 4; input 127 drivers/platform/x86/classmate-laptop.c input.pointer = param; input 128 drivers/platform/x86/classmate-laptop.c return acpi_evaluate_object(handle, "ACMD", &input, NULL); input 134 drivers/platform/x86/classmate-laptop.c struct acpi_object_list input; input 144 drivers/platform/x86/classmate-laptop.c input.count = 4; input 145 drivers/platform/x86/classmate-laptop.c input.pointer = param; input 146 drivers/platform/x86/classmate-laptop.c return acpi_evaluate_object(handle, "ACMD", &input, NULL); input 155 drivers/platform/x86/classmate-laptop.c struct acpi_object_list input; input 168 drivers/platform/x86/classmate-laptop.c input.count = 4; input 169 drivers/platform/x86/classmate-laptop.c input.pointer = param; input 170 drivers/platform/x86/classmate-laptop.c status = acpi_evaluate_object(handle, "ACMD", &input, &output); input 299 drivers/platform/x86/classmate-laptop.c static int cmpc_accel_open_v4(struct input_dev *input) input 304 drivers/platform/x86/classmate-laptop.c acpi = to_acpi_device(input->dev.parent); input 305 drivers/platform/x86/classmate-laptop.c accel = dev_get_drvdata(&input->dev); input 317 drivers/platform/x86/classmate-laptop.c static void cmpc_accel_close_v4(struct input_dev *input) input 322 drivers/platform/x86/classmate-laptop.c acpi = to_acpi_device(input->dev.parent); input 323 drivers/platform/x86/classmate-laptop.c accel = dev_get_drvdata(&input->dev); input 456 drivers/platform/x86/classmate-laptop.c struct acpi_object_list input; input 462 drivers/platform/x86/classmate-laptop.c input.count = 2; input 463 drivers/platform/x86/classmate-laptop.c input.pointer = param; input 464 drivers/platform/x86/classmate-laptop.c status = acpi_evaluate_object(handle, "ACMD", &input, NULL); input 471 drivers/platform/x86/classmate-laptop.c struct acpi_object_list input; input 477 drivers/platform/x86/classmate-laptop.c input.count = 2; input 478 drivers/platform/x86/classmate-laptop.c input.pointer = param; input 479 drivers/platform/x86/classmate-laptop.c status = acpi_evaluate_object(handle, "ACMD", &input, NULL); input 486 drivers/platform/x86/classmate-laptop.c struct acpi_object_list input; input 492 drivers/platform/x86/classmate-laptop.c input.count = 2; input 493 drivers/platform/x86/classmate-laptop.c input.pointer = param; input 494 drivers/platform/x86/classmate-laptop.c return acpi_evaluate_object(handle, "ACMD", &input, NULL); input 503 drivers/platform/x86/classmate-laptop.c struct acpi_object_list input; input 511 drivers/platform/x86/classmate-laptop.c input.count = 2; input 512 drivers/platform/x86/classmate-laptop.c input.pointer = param; input 513 drivers/platform/x86/classmate-laptop.c status = acpi_evaluate_object(handle, "ACMD", &input, &output); input 589 drivers/platform/x86/classmate-laptop.c static int cmpc_accel_open(struct input_dev *input) input 593 drivers/platform/x86/classmate-laptop.c acpi = to_acpi_device(input->dev.parent); input 599 drivers/platform/x86/classmate-laptop.c static void cmpc_accel_close(struct input_dev *input) input 603 drivers/platform/x86/classmate-laptop.c acpi = to_acpi_device(input->dev.parent); input 682 drivers/platform/x86/classmate-laptop.c struct acpi_object_list input; input 688 drivers/platform/x86/classmate-laptop.c input.count = 1; input 689 drivers/platform/x86/classmate-laptop.c input.pointer = ¶m; input 690 drivers/platform/x86/classmate-laptop.c status = acpi_evaluate_integer(handle, "TCMD", &input, &output); input 778 drivers/platform/x86/classmate-laptop.c struct acpi_object_list input; input 784 drivers/platform/x86/classmate-laptop.c input.count = 1; input 785 drivers/platform/x86/classmate-laptop.c input.pointer = ¶m; input 786 drivers/platform/x86/classmate-laptop.c status = acpi_evaluate_integer(handle, "GRDI", &input, &output); input 796 drivers/platform/x86/classmate-laptop.c struct acpi_object_list input; input 804 drivers/platform/x86/classmate-laptop.c input.count = 2; input 805 drivers/platform/x86/classmate-laptop.c input.pointer = param; input 806 drivers/platform/x86/classmate-laptop.c status = acpi_evaluate_integer(handle, "GWRI", &input, &output); input 850 drivers/platform/x86/classmate-laptop.c struct acpi_object_list input; input 856 drivers/platform/x86/classmate-laptop.c input.count = 1; input 857 drivers/platform/x86/classmate-laptop.c input.pointer = ¶m; input 858 drivers/platform/x86/classmate-laptop.c status = acpi_evaluate_integer(handle, "GRDI", &input, &output); input 868 drivers/platform/x86/classmate-laptop.c struct acpi_object_list input; input 876 drivers/platform/x86/classmate-laptop.c input.count = 2; input 877 drivers/platform/x86/classmate-laptop.c input.pointer = param; input 878 drivers/platform/x86/classmate-laptop.c status = acpi_evaluate_integer(handle, "GWRI", &input, &output); input 343 drivers/platform/x86/dell-laptop.c buffer->input[0] = arg0; input 344 drivers/platform/x86/dell-laptop.c buffer->input[1] = arg1; input 345 drivers/platform/x86/dell-laptop.c buffer->input[2] = arg2; input 346 drivers/platform/x86/dell-laptop.c buffer->input[3] = arg3; input 68 drivers/platform/x86/dell-rbtn.c struct acpi_object_list input; input 74 drivers/platform/x86/dell-rbtn.c input.count = 1; input 75 drivers/platform/x86/dell-rbtn.c input.pointer = ¶m; input 77 drivers/platform/x86/dell-rbtn.c status = acpi_evaluate_object(device->handle, "ARBT", &input, NULL); input 220 drivers/platform/x86/dell-smbios-base.c if (da_tokens[i].location != buffer->input[0]) input 229 drivers/platform/x86/dell-smbios-base.c buffer->input[0]); input 82 drivers/platform/x86/dell-smbios-smm.c static int dell_smbios_smm_call(struct calling_interface_buffer *input) input 95 drivers/platform/x86/dell-smbios-smm.c memcpy(buffer, input, size); input 97 drivers/platform/x86/dell-smbios-smm.c memcpy(input, buffer, size); input 119 drivers/platform/x86/dell-smbios-smm.c buffer->input[0] = wsmt->location; input 50 drivers/platform/x86/dell-smbios-wmi.c struct acpi_buffer input; input 55 drivers/platform/x86/dell-smbios-wmi.c input.length = priv->req_buf_size - sizeof(u64); input 56 drivers/platform/x86/dell-smbios-wmi.c input.pointer = &priv->buf->std; input 60 drivers/platform/x86/dell-smbios-wmi.c priv->buf->std.input[0], priv->buf->std.input[1], input 61 drivers/platform/x86/dell-smbios-wmi.c priv->buf->std.input[2], priv->buf->std.input[3]); input 63 drivers/platform/x86/dell-smbios-wmi.c status = wmidev_evaluate_method(wdev, 0, 1, &input, &output); input 129 drivers/platform/x86/dell-smbios-wmi.c priv->buf->std.input[0]); input 54 drivers/platform/x86/dell-wmi-led.c struct acpi_buffer input; input 68 drivers/platform/x86/dell-wmi-led.c input.length = sizeof(struct bios_args); input 69 drivers/platform/x86/dell-wmi-led.c input.pointer = &args; input 71 drivers/platform/x86/dell-wmi-led.c status = wmi_evaluate_method(DELL_LED_BIOS_GUID, 0, 1, &input, &output); input 653 drivers/platform/x86/dell-wmi.c buffer->input[0] = 0x10000; input 654 drivers/platform/x86/dell-wmi.c buffer->input[1] = 0x51534554; input 655 drivers/platform/x86/dell-wmi.c buffer->input[3] = enable; input 1159 drivers/platform/x86/eeepc-laptop.c struct input_dev *input; input 1162 drivers/platform/x86/eeepc-laptop.c input = input_allocate_device(); input 1163 drivers/platform/x86/eeepc-laptop.c if (!input) input 1166 drivers/platform/x86/eeepc-laptop.c input->name = "Asus EeePC extra buttons"; input 1167 drivers/platform/x86/eeepc-laptop.c input->phys = EEEPC_LAPTOP_FILE "/input0"; input 1168 drivers/platform/x86/eeepc-laptop.c input->id.bustype = BUS_HOST; input 1169 drivers/platform/x86/eeepc-laptop.c input->dev.parent = &eeepc->platform_device->dev; input 1171 drivers/platform/x86/eeepc-laptop.c error = sparse_keymap_setup(input, eeepc_keymap, NULL); input 1177 drivers/platform/x86/eeepc-laptop.c error = input_register_device(input); input 1183 drivers/platform/x86/eeepc-laptop.c eeepc->inputdev = input; input 1187 drivers/platform/x86/eeepc-laptop.c input_free_device(input); input 117 drivers/platform/x86/fujitsu-laptop.c struct input_dev *input; input 128 drivers/platform/x86/fujitsu-laptop.c struct input_dev *input; input 345 drivers/platform/x86/fujitsu-laptop.c priv->input = devm_input_allocate_device(&device->dev); input 346 drivers/platform/x86/fujitsu-laptop.c if (!priv->input) input 352 drivers/platform/x86/fujitsu-laptop.c priv->input->name = acpi_device_name(device); input 353 drivers/platform/x86/fujitsu-laptop.c priv->input->phys = priv->phys; input 354 drivers/platform/x86/fujitsu-laptop.c priv->input->id.bustype = BUS_HOST; input 355 drivers/platform/x86/fujitsu-laptop.c priv->input->id.product = 0x06; input 357 drivers/platform/x86/fujitsu-laptop.c ret = sparse_keymap_setup(priv->input, keymap_backlight, NULL); input 361 drivers/platform/x86/fujitsu-laptop.c return input_register_device(priv->input); input 426 drivers/platform/x86/fujitsu-laptop.c sparse_keymap_report_event(priv->input, -1, 1, true); input 443 drivers/platform/x86/fujitsu-laptop.c sparse_keymap_report_event(priv->input, oldb < newb, 1, true); input 522 drivers/platform/x86/fujitsu-laptop.c priv->input = devm_input_allocate_device(&device->dev); input 523 drivers/platform/x86/fujitsu-laptop.c if (!priv->input) input 529 drivers/platform/x86/fujitsu-laptop.c priv->input->name = acpi_device_name(device); input 530 drivers/platform/x86/fujitsu-laptop.c priv->input->phys = priv->phys; input 531 drivers/platform/x86/fujitsu-laptop.c priv->input->id.bustype = BUS_HOST; input 534 drivers/platform/x86/fujitsu-laptop.c ret = sparse_keymap_setup(priv->input, keymap, NULL); input 538 drivers/platform/x86/fujitsu-laptop.c return input_register_device(priv->input); input 869 drivers/platform/x86/fujitsu-laptop.c dev_info(&priv->input->dev, "Could not push scancode [0x%x]\n", input 873 drivers/platform/x86/fujitsu-laptop.c sparse_keymap_report_event(priv->input, scancode, 1, false); input 874 drivers/platform/x86/fujitsu-laptop.c dev_dbg(&priv->input->dev, "Push scancode into ringbuffer [0x%x]\n", input 888 drivers/platform/x86/fujitsu-laptop.c sparse_keymap_report_event(priv->input, scancode, 0, false); input 889 drivers/platform/x86/fujitsu-laptop.c dev_dbg(&priv->input->dev, input 904 drivers/platform/x86/fujitsu-laptop.c sparse_keymap_report_event(priv->input, -1, 1, true); input 916 drivers/platform/x86/fujitsu-laptop.c if (sparse_keymap_entry_from_scancode(priv->input, scancode)) input 935 drivers/platform/x86/fujitsu-laptop.c sparse_keymap_report_event(priv->input, BIT(i), 1, true); input 323 drivers/platform/x86/hdaps.c struct input_dev *input_dev = dev->input; input 575 drivers/platform/x86/hdaps.c idev = hdaps_idev->input; input 221 drivers/platform/x86/hp-wmi.c struct acpi_buffer input = { sizeof(struct bios_args), &args }; input 233 drivers/platform/x86/hp-wmi.c wmi_evaluate_method(HPWMI_BIOS_GUID, 0, mid, &input, &output); input 26 drivers/platform/x86/intel-wmi-thunderbolt.c struct acpi_buffer input; input 30 drivers/platform/x86/intel-wmi-thunderbolt.c input.length = sizeof(u8); input 31 drivers/platform/x86/intel-wmi-thunderbolt.c input.pointer = &mode; input 36 drivers/platform/x86/intel-wmi-thunderbolt.c &input, NULL); input 22 drivers/platform/x86/intel_chtdc_ti_pwrbtn.c struct input_dev *input = dev_id; input 23 drivers/platform/x86/intel_chtdc_ti_pwrbtn.c struct device *dev = input->dev.parent; input 29 drivers/platform/x86/intel_chtdc_ti_pwrbtn.c input_report_key(input, KEY_POWER, !(state & SIRQ_PWRBTN_REL)); input 30 drivers/platform/x86/intel_chtdc_ti_pwrbtn.c input_sync(input); input 40 drivers/platform/x86/intel_chtdc_ti_pwrbtn.c struct input_dev *input; input 46 drivers/platform/x86/intel_chtdc_ti_pwrbtn.c input = devm_input_allocate_device(dev); input 47 drivers/platform/x86/intel_chtdc_ti_pwrbtn.c if (!input) input 49 drivers/platform/x86/intel_chtdc_ti_pwrbtn.c input->name = pdev->name; input 50 drivers/platform/x86/intel_chtdc_ti_pwrbtn.c input->phys = "power-button/input0"; input 51 drivers/platform/x86/intel_chtdc_ti_pwrbtn.c input->id.bustype = BUS_HOST; input 52 drivers/platform/x86/intel_chtdc_ti_pwrbtn.c input_set_capability(input, EV_KEY, KEY_POWER); input 53 drivers/platform/x86/intel_chtdc_ti_pwrbtn.c err = input_register_device(input); input 61 drivers/platform/x86/intel_chtdc_ti_pwrbtn.c 0, KBUILD_MODNAME, input); input 45 drivers/platform/x86/intel_mid_powerbtn.c struct input_dev *input; input 54 drivers/platform/x86/intel_mid_powerbtn.c struct input_dev *input = ddata->input; input 62 drivers/platform/x86/intel_mid_powerbtn.c dev_dbg(input->dev.parent, "PB_INT status= %d\n", pbstat); input 85 drivers/platform/x86/intel_mid_powerbtn.c struct input_dev *input = ddata->input; input 91 drivers/platform/x86/intel_mid_powerbtn.c dev_err(input->dev.parent, input 94 drivers/platform/x86/intel_mid_powerbtn.c input_event(input, EV_KEY, KEY_POWER, value); input 95 drivers/platform/x86/intel_mid_powerbtn.c input_sync(input); input 125 drivers/platform/x86/intel_mid_powerbtn.c struct input_dev *input; input 138 drivers/platform/x86/intel_mid_powerbtn.c input = devm_input_allocate_device(&pdev->dev); input 139 drivers/platform/x86/intel_mid_powerbtn.c if (!input) input 142 drivers/platform/x86/intel_mid_powerbtn.c input->name = pdev->name; input 143 drivers/platform/x86/intel_mid_powerbtn.c input->phys = "power-button/input0"; input 144 drivers/platform/x86/intel_mid_powerbtn.c input->id.bustype = BUS_HOST; input 145 drivers/platform/x86/intel_mid_powerbtn.c input->dev.parent = &pdev->dev; input 147 drivers/platform/x86/intel_mid_powerbtn.c input_set_capability(input, EV_KEY, KEY_POWER); input 156 drivers/platform/x86/intel_mid_powerbtn.c ddata->input = input; input 172 drivers/platform/x86/intel_mid_powerbtn.c error = input_register_device(input); input 24 drivers/platform/x86/intel_mrfld_pwrbtn.c struct input_dev *input = dev_id; input 25 drivers/platform/x86/intel_mrfld_pwrbtn.c struct device *dev = input->dev.parent; input 35 drivers/platform/x86/intel_mrfld_pwrbtn.c input_report_key(input, KEY_POWER, !(state & BCOVE_PBSTATUS_PBLVL)); input 36 drivers/platform/x86/intel_mrfld_pwrbtn.c input_sync(input); input 46 drivers/platform/x86/intel_mrfld_pwrbtn.c struct input_dev *input; input 53 drivers/platform/x86/intel_mrfld_pwrbtn.c input = devm_input_allocate_device(dev); input 54 drivers/platform/x86/intel_mrfld_pwrbtn.c if (!input) input 56 drivers/platform/x86/intel_mrfld_pwrbtn.c input->name = pdev->name; input 57 drivers/platform/x86/intel_mrfld_pwrbtn.c input->phys = "power-button/input0"; input 58 drivers/platform/x86/intel_mrfld_pwrbtn.c input->id.bustype = BUS_HOST; input 59 drivers/platform/x86/intel_mrfld_pwrbtn.c input->dev.parent = dev; input 60 drivers/platform/x86/intel_mrfld_pwrbtn.c input_set_capability(input, EV_KEY, KEY_POWER); input 61 drivers/platform/x86/intel_mrfld_pwrbtn.c ret = input_register_device(input); input 69 drivers/platform/x86/intel_mrfld_pwrbtn.c input); input 121 drivers/platform/x86/msi-wmi.c struct acpi_buffer input = { sizeof(int), &value }; input 126 drivers/platform/x86/msi-wmi.c status = wmi_set_block(MSIWMI_BIOS_GUID, instance, &input); input 37 drivers/platform/x86/mxm-wmi.c struct acpi_buffer input = { (acpi_size)sizeof(args), &args }; input 43 drivers/platform/x86/mxm-wmi.c status = wmi_evaluate_method(MXM_WMMX_GUID, 0x0, adapter, &input, input 62 drivers/platform/x86/mxm-wmi.c struct acpi_buffer input = { (acpi_size)sizeof(args), &args }; input 68 drivers/platform/x86/mxm-wmi.c status = wmi_evaluate_method(MXM_WMMX_GUID, 0x0, adapter, &input, input 38 drivers/platform/x86/peaq-wmi.c struct acpi_buffer input = { sizeof(dummy), &dummy }; input 43 drivers/platform/x86/peaq-wmi.c &input, &output); input 48 drivers/platform/x86/surface3-wmi.c struct input_dev *input; input 99 drivers/platform/x86/surface3-wmi.c input_report_switch(s3_wmi.input, SW_LID, lid_sw); input 100 drivers/platform/x86/surface3-wmi.c input_sync(s3_wmi.input); input 174 drivers/platform/x86/surface3-wmi.c struct input_dev *input; input 177 drivers/platform/x86/surface3-wmi.c input = devm_input_allocate_device(&pdev->dev); input 178 drivers/platform/x86/surface3-wmi.c if (!input) input 181 drivers/platform/x86/surface3-wmi.c input->name = "Lid Switch"; input 182 drivers/platform/x86/surface3-wmi.c input->phys = "button/input0"; input 183 drivers/platform/x86/surface3-wmi.c input->id.bustype = BUS_HOST; input 184 drivers/platform/x86/surface3-wmi.c input->id.product = 0x0005; input 186 drivers/platform/x86/surface3-wmi.c input_set_capability(input, EV_SW, SW_LID); input 188 drivers/platform/x86/surface3-wmi.c error = input_register_device(input); input 192 drivers/platform/x86/surface3-wmi.c s3_wmi.input = input; input 196 drivers/platform/x86/surface3-wmi.c input_free_device(s3_wmi.input); input 70 drivers/platform/x86/surfacepro3_button.c struct input_dev *input; input 79 drivers/platform/x86/surfacepro3_button.c struct input_dev *input; input 120 drivers/platform/x86/surfacepro3_button.c input = button->input; input 127 drivers/platform/x86/surfacepro3_button.c input_report_key(input, key_code, pressed?1:0); input 128 drivers/platform/x86/surfacepro3_button.c input_sync(input); input 192 drivers/platform/x86/surfacepro3_button.c struct input_dev *input; input 209 drivers/platform/x86/surfacepro3_button.c button->input = input = input_allocate_device(); input 210 drivers/platform/x86/surfacepro3_button.c if (!input) { input 219 drivers/platform/x86/surfacepro3_button.c input->name = name; input 220 drivers/platform/x86/surfacepro3_button.c input->phys = button->phys; input 221 drivers/platform/x86/surfacepro3_button.c input->id.bustype = BUS_HOST; input 222 drivers/platform/x86/surfacepro3_button.c input->dev.parent = &device->dev; input 223 drivers/platform/x86/surfacepro3_button.c input_set_capability(input, EV_KEY, KEY_POWER); input 224 drivers/platform/x86/surfacepro3_button.c input_set_capability(input, EV_KEY, KEY_LEFTMETA); input 225 drivers/platform/x86/surfacepro3_button.c input_set_capability(input, EV_KEY, KEY_VOLUMEUP); input 226 drivers/platform/x86/surfacepro3_button.c input_set_capability(input, EV_KEY, KEY_VOLUMEDOWN); input 228 drivers/platform/x86/surfacepro3_button.c error = input_register_device(input); input 238 drivers/platform/x86/surfacepro3_button.c input_free_device(input); input 248 drivers/platform/x86/surfacepro3_button.c input_unregister_device(button->input); input 89 drivers/platform/x86/tc1100-wmi.c struct acpi_buffer input; input 108 drivers/platform/x86/tc1100-wmi.c input.length = sizeof(u32); input 109 drivers/platform/x86/tc1100-wmi.c input.pointer = &value; input 111 drivers/platform/x86/tc1100-wmi.c status = wmi_set_block(GUID, instance, &input); input 30 drivers/platform/x86/topstar-laptop.c struct input_dev *input; input 138 drivers/platform/x86/topstar-laptop.c if (!sparse_keymap_report_event(topstar->input, event, 1, true)) input 144 drivers/platform/x86/topstar-laptop.c struct input_dev *input; input 147 drivers/platform/x86/topstar-laptop.c input = input_allocate_device(); input 148 drivers/platform/x86/topstar-laptop.c if (!input) input 151 drivers/platform/x86/topstar-laptop.c input->name = "Topstar Laptop extra buttons"; input 152 drivers/platform/x86/topstar-laptop.c input->phys = TOPSTAR_LAPTOP_CLASS "/input0"; input 153 drivers/platform/x86/topstar-laptop.c input->id.bustype = BUS_HOST; input 154 drivers/platform/x86/topstar-laptop.c input->dev.parent = &topstar->platform->dev; input 156 drivers/platform/x86/topstar-laptop.c err = sparse_keymap_setup(input, topstar_keymap, NULL); input 162 drivers/platform/x86/topstar-laptop.c err = input_register_device(input); input 168 drivers/platform/x86/topstar-laptop.c topstar->input = input; input 172 drivers/platform/x86/topstar-laptop.c input_free_device(input); input 178 drivers/platform/x86/topstar-laptop.c input_unregister_device(topstar->input); input 258 drivers/platform/x86/wmi.c struct acpi_object_list input; input 272 drivers/platform/x86/wmi.c input.count = 2; input 273 drivers/platform/x86/wmi.c input.pointer = params; input 280 drivers/platform/x86/wmi.c input.count = 3; input 293 drivers/platform/x86/wmi.c status = acpi_evaluate_object(handle, method, &input, out); input 305 drivers/platform/x86/wmi.c struct acpi_object_list input; input 323 drivers/platform/x86/wmi.c input.count = 1; input 324 drivers/platform/x86/wmi.c input.pointer = wq_params; input 329 drivers/platform/x86/wmi.c input.count = 0; input 349 drivers/platform/x86/wmi.c status = acpi_evaluate_object(handle, method, &input, out); input 411 drivers/platform/x86/wmi.c struct acpi_object_list input; input 431 drivers/platform/x86/wmi.c input.count = 2; input 432 drivers/platform/x86/wmi.c input.pointer = params; input 446 drivers/platform/x86/wmi.c return acpi_evaluate_object(handle, method, &input, NULL); input 606 drivers/platform/x86/wmi.c struct acpi_object_list input; input 611 drivers/platform/x86/wmi.c input.count = 1; input 612 drivers/platform/x86/wmi.c input.pointer = params; input 622 drivers/platform/x86/wmi.c "_WED", &input, out); input 842 drivers/platform/x86/wmi.c struct wmi_ioctl_buffer __user *input = input 858 drivers/platform/x86/wmi.c if (get_user(buf->length, &input->length)) { input 878 drivers/platform/x86/wmi.c if (copy_from_user(buf, input, wblock->req_buf_size)) { input 898 drivers/platform/x86/wmi.c if (copy_to_user(input, buf, wblock->req_buf_size)) { input 1298 drivers/platform/x86/wmi.c struct acpi_object_list input; input 1306 drivers/platform/x86/wmi.c input.count = 1; input 1307 drivers/platform/x86/wmi.c input.pointer = params; input 1312 drivers/platform/x86/wmi.c "_WED", &input, &evdata); input 41 drivers/platform/x86/xo15-ebook.c struct input_dev *input; input 56 drivers/platform/x86/xo15-ebook.c input_report_switch(button->input, SW_TABLET_MODE, !state); input 57 drivers/platform/x86/xo15-ebook.c input_sync(button->input); input 87 drivers/platform/x86/xo15-ebook.c struct input_dev *input; input 98 drivers/platform/x86/xo15-ebook.c button->input = input = input_allocate_device(); input 99 drivers/platform/x86/xo15-ebook.c if (!input) { input 118 drivers/platform/x86/xo15-ebook.c input->name = name; input 119 drivers/platform/x86/xo15-ebook.c input->phys = button->phys; input 120 drivers/platform/x86/xo15-ebook.c input->id.bustype = BUS_HOST; input 121 drivers/platform/x86/xo15-ebook.c input->dev.parent = &device->dev; input 123 drivers/platform/x86/xo15-ebook.c input->evbit[0] = BIT_MASK(EV_SW); input 124 drivers/platform/x86/xo15-ebook.c set_bit(SW_TABLET_MODE, input->swbit); input 126 drivers/platform/x86/xo15-ebook.c error = input_register_device(input); input 142 drivers/platform/x86/xo15-ebook.c input_free_device(input); input 152 drivers/platform/x86/xo15-ebook.c input_unregister_device(button->input); input 219 drivers/power/reset/at91-sama5d2_shdwc.c u32 mode = 0, tmp, input; input 238 drivers/power/reset/at91-sama5d2_shdwc.c input = at91_shdwc_get_wakeup_input(pdev, np); input 239 drivers/power/reset/at91-sama5d2_shdwc.c writel(input, shdw->shdwc_base + AT91_SHDW_WUIR); input 51 drivers/power/reset/gpio-poweroff.c bool input = false; input 62 drivers/power/reset/gpio-poweroff.c input = device_property_read_bool(&pdev->dev, "input"); input 63 drivers/power/reset/gpio-poweroff.c if (input) input 164 drivers/power/supply/axp20x_usb_power.c unsigned int input, v; input 228 drivers/power/supply/axp20x_usb_power.c ret = regmap_read(power->regmap, AXP20X_PWR_INPUT_STATUS, &input); input 234 drivers/power/supply/axp20x_usb_power.c if (!(input & AXP20X_PWR_STATUS_VBUS_PRESENT)) { input 253 drivers/power/supply/axp20x_usb_power.c val->intval = !!(input & AXP20X_PWR_STATUS_VBUS_PRESENT); input 256 drivers/power/supply/axp20x_usb_power.c val->intval = !!(input & AXP20X_PWR_STATUS_VBUS_USED); input 58 drivers/s390/char/con3270.c struct string *input; /* input string for read request. */ input 306 drivers/s390/char/con3270.c switch (cp->input->string[0]) { input 380 drivers/s390/char/con3270.c raw3270_request_set_data(rrq, cp->input->string, cp->input->len); input 642 drivers/s390/char/con3270.c condev->input = alloc_string(&condev->freemem, 80); input 90 drivers/s390/char/tty3270.c struct string *input; /* Input string for read request. */ input 137 drivers/s390/char/tty3270.c tty3270_update_prompt(struct tty3270 *tp, char *input, int count) input 149 drivers/s390/char/tty3270.c memcpy(line->string + 6, input, count); input 187 drivers/s390/char/tty3270.c tp->input = alloc_string(&tp->freemem, tp->view.cols * 2 - 9 + 6); input 457 drivers/s390/char/tty3270.c tty3270_rcl_add(struct tty3270 *tp, char *input, int len) input 471 drivers/s390/char/tty3270.c memcpy(s->string, input, len); input 563 drivers/s390/char/tty3270.c char *input; input 572 drivers/s390/char/tty3270.c input = NULL; input 574 drivers/s390/char/tty3270.c if (tp->input->string[0] == 0x7d) { input 576 drivers/s390/char/tty3270.c input = tp->input->string + 6; input 577 drivers/s390/char/tty3270.c len = tp->input->len - 6 - rrq->rescnt; input 579 drivers/s390/char/tty3270.c tty3270_rcl_add(tp, input, len); input 588 drivers/s390/char/tty3270.c } else if (tp->input->string[0] == 0x6d) { input 602 drivers/s390/char/tty3270.c kbd_keycode(tp->kbd, *input++); input 604 drivers/s390/char/tty3270.c kbd_keycode(tp->kbd, 256 + tp->input->string[0]); input 639 drivers/s390/char/tty3270.c raw3270_request_set_data(rrq, tp->input->string, tp->input->len); input 42 drivers/s390/cio/fcx.c return (void *) ((addr_t) tcw->input); input 210 drivers/s390/cio/fcx.c tcw->input = (u64) ((addr_t) data); input 129 drivers/s390/cio/qdio.h u8 input:1; input 343 drivers/s390/cio/qdio.h #define need_siga_in(q) (q->irq_ptr->siga_flag.input) input 285 drivers/s390/cio/qdio_main.c unsigned int input) input 299 drivers/s390/cio/qdio_main.c cc = do_siga_sync(schid, output, input, fc); input 264 drivers/s390/cio/qdio_setup.c irq_ptr->siga_flag.input = 1; input 531 drivers/s390/cio/qdio_setup.c (irq_ptr->siga_flag.input) ? "R" : " ", input 569 drivers/scsi/aic7xxx/aicasm/aicasm.c int input; input 578 drivers/scsi/aic7xxx/aicasm/aicasm.c input = getchar(); input 579 drivers/scsi/aic7xxx/aicasm/aicasm.c input = toupper(input); input 581 drivers/scsi/aic7xxx/aicasm/aicasm.c if (input == 'T') { input 584 drivers/scsi/aic7xxx/aicasm/aicasm.c } else if (input == 'F') { input 590 drivers/scsi/aic7xxx/aicasm/aicasm.c putchar(input); input 115 drivers/scsi/scsi_netlink.c .input = scsi_nl_rcv_msg, input 4552 drivers/scsi/scsi_transport_iscsi.c .input = iscsi_if_rx, input 3805 drivers/staging/comedi/drivers/ni_mio_common.c unsigned char mask, input = 0; input 3837 drivers/staging/comedi/drivers/ni_mio_common.c input |= mask; input 3841 drivers/staging/comedi/drivers/ni_mio_common.c *data_in = input; input 81 drivers/staging/gdm724x/netlink_k.c .input = netlink_rcv, input 1641 drivers/staging/media/ipu3/ipu3-abi.h struct imgu_abi_binary_input_info input; input 31 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.isp.sp.input.min_width, input 32 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.isp.sp.input.min_height, input 33 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.isp.sp.input.max_width, input 34 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.isp.sp.input.max_height, input 117 drivers/staging/media/ipu3/ipu3-css-params.c imgu_css_scaler_calc_scaled_output(unsigned int input, input 120 drivers/staging/media/ipu3/ipu3-css-params.c unsigned int arg1 = input * info->phase_step + input 1639 drivers/staging/media/ipu3/ipu3-css.c if (bi->info.isp.sp.input.source != input 1656 drivers/staging/media/ipu3/ipu3-css.c if (in->width < bi->info.isp.sp.input.min_width || input 1657 drivers/staging/media/ipu3/ipu3-css.c in->width > bi->info.isp.sp.input.max_width || input 1658 drivers/staging/media/ipu3/ipu3-css.c in->height < bi->info.isp.sp.input.min_height || input 1659 drivers/staging/media/ipu3/ipu3-css.c in->height > bi->info.isp.sp.input.max_height) input 849 drivers/staging/media/ipu3/ipu3-v4l2.c struct v4l2_input *input) input 851 drivers/staging/media/ipu3/ipu3-v4l2.c if (input->index > 0) input 853 drivers/staging/media/ipu3/ipu3-v4l2.c strscpy(input->name, "camera", sizeof(input->name)); input 854 drivers/staging/media/ipu3/ipu3-v4l2.c input->type = V4L2_INPUT_TYPE_CAMERA; input 859 drivers/staging/media/ipu3/ipu3-v4l2.c static int imgu_vidioc_g_input(struct file *file, void *fh, unsigned int *input) input 861 drivers/staging/media/ipu3/ipu3-v4l2.c *input = 0; input 866 drivers/staging/media/ipu3/ipu3-v4l2.c static int imgu_vidioc_s_input(struct file *file, void *fh, unsigned int input) input 868 drivers/staging/media/ipu3/ipu3-v4l2.c return input == 0 ? 0 : -EINVAL; input 171 drivers/staging/media/omap4iss/iss.c enum ipipeif_input_entity input) input 182 drivers/staging/media/omap4iss/iss.c switch (input) { input 526 drivers/staging/media/omap4iss/iss.c if (pipe->input) input 527 drivers/staging/media/omap4iss/iss.c omap4iss_video_cancel_stream(pipe->input); input 1031 drivers/staging/media/omap4iss/iss.c struct media_entity *input; input 1047 drivers/staging/media/omap4iss/iss.c input = &iss->csi2a.subdev.entity; input 1054 drivers/staging/media/omap4iss/iss.c input = &iss->csi2b.subdev.entity; input 1067 drivers/staging/media/omap4iss/iss.c ret = media_create_pad_link(&sensor->entity, 0, input, pad, input 139 drivers/staging/media/omap4iss/iss.h enum ipipeif_input_entity input); input 453 drivers/staging/media/omap4iss/iss_ipipe.c ipipe->input = IPIPE_INPUT_NONE; input 457 drivers/staging/media/omap4iss/iss_ipipe.c if (ipipe->input != IPIPE_INPUT_NONE) input 461 drivers/staging/media/omap4iss/iss_ipipe.c ipipe->input = IPIPE_INPUT_IPIPEIF; input 502 drivers/staging/media/omap4iss/iss_ipipe.c ipipe->input = IPIPE_INPUT_NONE; input 45 drivers/staging/media/omap4iss/iss_ipipe.h enum ipipe_input_entity input; input 128 drivers/staging/media/omap4iss/iss_ipipeif.c omap4iss_configure_bridge(iss, ipipeif->input); input 671 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif->input = IPIPEIF_INPUT_NONE; input 675 drivers/staging/media/omap4iss/iss_ipipeif.c if (ipipeif->input != IPIPEIF_INPUT_NONE) input 679 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif->input = IPIPEIF_INPUT_CSI2A; input 681 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif->input = IPIPEIF_INPUT_CSI2B; input 733 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif->input = IPIPEIF_INPUT_NONE; input 64 drivers/staging/media/omap4iss/iss_ipipeif.h enum ipipeif_input_entity input; input 198 drivers/staging/media/omap4iss/iss_resizer.c resizer->input == RESIZER_INPUT_IPIPEIF ? input 725 drivers/staging/media/omap4iss/iss_resizer.c resizer->input = RESIZER_INPUT_NONE; input 729 drivers/staging/media/omap4iss/iss_resizer.c if (resizer->input != RESIZER_INPUT_NONE) input 733 drivers/staging/media/omap4iss/iss_resizer.c resizer->input = RESIZER_INPUT_IPIPEIF; input 735 drivers/staging/media/omap4iss/iss_resizer.c resizer->input = RESIZER_INPUT_IPIPE; input 776 drivers/staging/media/omap4iss/iss_resizer.c resizer->input = RESIZER_INPUT_NONE; input 47 drivers/staging/media/omap4iss/iss_resizer.h enum resizer_input_entity input; input 483 drivers/staging/media/omap4iss/iss_video.c if (video->type == V4L2_BUF_TYPE_VIDEO_CAPTURE && pipe->input) { input 916 drivers/staging/media/omap4iss/iss_video.c pipe->input = far_end; input 925 drivers/staging/media/omap4iss/iss_video.c pipe->input = video; input 956 drivers/staging/media/omap4iss/iss_video.c if (!pipe->input) { input 1040 drivers/staging/media/omap4iss/iss_video.c iss_video_enum_input(struct file *file, void *fh, struct v4l2_input *input) input 1042 drivers/staging/media/omap4iss/iss_video.c if (input->index > 0) input 1045 drivers/staging/media/omap4iss/iss_video.c strscpy(input->name, "camera", sizeof(input->name)); input 1046 drivers/staging/media/omap4iss/iss_video.c input->type = V4L2_INPUT_TYPE_CAMERA; input 1052 drivers/staging/media/omap4iss/iss_video.c iss_video_g_input(struct file *file, void *fh, unsigned int *input) input 1054 drivers/staging/media/omap4iss/iss_video.c *input = 0; input 1060 drivers/staging/media/omap4iss/iss_video.c iss_video_s_input(struct file *file, void *fh, unsigned int input) input 1062 drivers/staging/media/omap4iss/iss_video.c return input == 0 ? 0 : -EINVAL; input 82 drivers/staging/media/omap4iss/iss_video.h struct iss_video *input; input 302 drivers/staging/most/video/video.c struct v4l2_input *input) input 307 drivers/staging/most/video/video.c if (input->index >= V4L2_CMP_MAX_INPUT) input 310 drivers/staging/most/video/video.c strcpy(input->name, "MOST Video"); input 311 drivers/staging/most/video/video.c input->type |= V4L2_INPUT_TYPE_CAMERA; input 312 drivers/staging/most/video/video.c input->audioset = 0; input 314 drivers/staging/most/video/video.c input->std = mdev->vdev->tvnorms; input 32 drivers/staging/nvec/nvec_kbd.c struct input_dev *input; input 75 drivers/staging/nvec/nvec_kbd.c input_report_key(keys_dev.input, code_tabs[_size][code], input 77 drivers/staging/nvec/nvec_kbd.c input_sync(keys_dev.input); input 143 drivers/staging/nvec/nvec_kbd.c keys_dev.input = idev; input 4892 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c u8 *input = NULL; input 4922 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c input = rtw_zmalloc(input_len); input 4923 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (NULL == input) input 4925 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (copy_from_user(input, wdata.data.pointer, input_len)) { input 4929 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c ptr = input; input 4930 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c len = strlen(input); input 5091 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c kfree(input); input 5092 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c input = NULL; input 5194 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c kfree(input); input 323 drivers/staging/sm750fb/ddk750_chip.c unsigned int input, request; input 340 drivers/staging/sm750fb/ddk750_chip.c input = pll->inputFreq / 1000; input 355 drivers/staging/sm750fb/ddk750_chip.c quo = RN / input; input 356 drivers/staging/sm750fb/ddk750_chip.c rem = RN % input;/* rem always small than 14318181 */ input 357 drivers/staging/sm750fb/ddk750_chip.c fl_quo = rem * 10000 / input; input 406 drivers/staging/speakup/i18n.c static char *next_specifier(char *input) input 409 drivers/staging/speakup/i18n.c char *next_percent = input; input 429 drivers/staging/speakup/i18n.c static char *skip_flags(char *input) input 431 drivers/staging/speakup/i18n.c while ((*input != '\0') && strchr(" 0+-#", *input)) input 432 drivers/staging/speakup/i18n.c input++; input 433 drivers/staging/speakup/i18n.c return input; input 437 drivers/staging/speakup/i18n.c static char *skip_width(char *input) input 439 drivers/staging/speakup/i18n.c while (isdigit(*input)) input 440 drivers/staging/speakup/i18n.c input++; input 441 drivers/staging/speakup/i18n.c if (*input == '.') { input 442 drivers/staging/speakup/i18n.c input++; input 443 drivers/staging/speakup/i18n.c while (isdigit(*input)) input 444 drivers/staging/speakup/i18n.c input++; input 446 drivers/staging/speakup/i18n.c return input; input 455 drivers/staging/speakup/i18n.c static char *skip_conversion(char *input) input 457 drivers/staging/speakup/i18n.c if ((input[0] == 'l') && (input[1] == 'd')) input 458 drivers/staging/speakup/i18n.c input += 2; input 459 drivers/staging/speakup/i18n.c else if ((*input != '\0') && strchr("cdsx", *input)) input 460 drivers/staging/speakup/i18n.c input++; input 461 drivers/staging/speakup/i18n.c return input; input 468 drivers/staging/speakup/i18n.c static char *find_specifier_end(char *input) input 470 drivers/staging/speakup/i18n.c input++; /* Advance over %. */ input 471 drivers/staging/speakup/i18n.c input = skip_flags(input); input 472 drivers/staging/speakup/i18n.c input = skip_width(input); input 473 drivers/staging/speakup/i18n.c input = skip_conversion(input); input 474 drivers/staging/speakup/i18n.c return input; input 63 drivers/staging/speakup/speakup.h int spk_set_mask_bits(const char *input, const int which, const int how); input 178 drivers/staging/speakup/varhandlers.c int spk_set_num_var(int input, struct st_var_header *var, int how) input 192 drivers/staging/speakup/varhandlers.c if (input < var_data->u.n.low || input > var_data->u.n.high) input 194 drivers/staging/speakup/varhandlers.c var_data->u.n.default_val = input; input 200 drivers/staging/speakup/varhandlers.c val = input; input 203 drivers/staging/speakup/varhandlers.c val += input; input 206 drivers/staging/speakup/varhandlers.c val -= input; input 277 drivers/staging/speakup/varhandlers.c int spk_set_mask_bits(const char *input, const int which, const int how) input 286 drivers/staging/speakup/varhandlers.c cp = (u_char *)input; input 302 drivers/staging/speakup/varhandlers.c cp = (u_char *)input; input 750 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c &dev->component[COMP_PREVIEW]->input[0]); input 787 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c dst = &dev->component[COMP_PREVIEW]->input[0]; input 1130 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c &dev->component[COMP_PREVIEW]->input[0]); input 1160 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c &encode_component->input[0]); input 1649 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c component->input[idx].type = MMAL_PORT_TYPE_INPUT; input 1650 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c component->input[idx].index = idx; input 1651 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c component->input[idx].component = component; input 1652 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c spin_lock_init(&component->input[idx].slock); input 1653 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c INIT_LIST_HEAD(&component->input[idx].buffers); input 1654 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c ret = port_info_get(instance, &component->input[idx]); input 91 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.h struct vchiq_mmal_port input[MAX_PORT_COUNT]; /* input ports */ input 90 drivers/thermal/clock_cooling.c unsigned long input, input 133 drivers/thermal/clock_cooling.c level = descend ? input : (max_level - input); input 144 drivers/thermal/clock_cooling.c if (property == GET_LEVEL && (unsigned int)input == freq) { input 529 drivers/tty/n_gsm.c static int gsm_stuff_frame(const u8 *input, u8 *output, int len) input 533 drivers/tty/n_gsm.c if (*input == GSM1_SOF || *input == GSM1_ESCAPE input 534 drivers/tty/n_gsm.c || *input == XON || *input == XOFF) { input 536 drivers/tty/n_gsm.c *output++ = *input++ ^ GSM1_ESCAPE_BITS; input 539 drivers/tty/n_gsm.c *output++ = *input++; input 1601 drivers/tty/vt/keyboard.c MODULE_DEVICE_TABLE(input, kbd_ids); input 154 drivers/usb/host/u132-hcd.c unsigned input:1; input 354 drivers/usb/host/u132-hcd.c if (endp->input) { input 1451 drivers/usb/host/u132-hcd.c if (endp->input) { input 1897 drivers/usb/host/u132-hcd.c endp->input = 1; input 1904 drivers/usb/host/u132-hcd.c endp->input = 0; input 1989 drivers/usb/host/u132-hcd.c endp->input = 1; input 1997 drivers/usb/host/u132-hcd.c endp->input = 0; input 2095 drivers/usb/host/u132-hcd.c endp->input = 1; input 2116 drivers/usb/host/u132-hcd.c endp->input = 1; input 2404 drivers/usb/host/u132-hcd.c endp->input ? 'I' : ' ', endp->output ? 'O' : ' ', input 2426 drivers/usb/host/u132-hcd.c endp->input ? 'I' : ' ', endp->output ? 'O' : ' ', input 2489 drivers/usb/host/u132-hcd.c endp->input ? 'I' : ' ', input 373 drivers/video/fbdev/au1200fb.c .input = FB_DISP_RGB, input 401 drivers/video/fbdev/au1200fb.c .input = FB_DISP_RGB, input 428 drivers/video/fbdev/au1200fb.c .input = FB_DISP_RGB, input 455 drivers/video/fbdev/au1200fb.c .input = FB_DISP_RGB, input 482 drivers/video/fbdev/au1200fb.c .input = FB_DISP_RGB, input 509 drivers/video/fbdev/au1200fb.c .input = FB_DISP_RGB, input 536 drivers/video/fbdev/au1200fb.c .input = FB_DISP_RGB, input 566 drivers/video/fbdev/au1200fb.c .input = FB_DISP_RGB, input 596 drivers/video/fbdev/au1200fb.c .input = FB_DISP_RGB, input 625 drivers/video/fbdev/au1200fb.c .input = FB_DISP_RGB, input 784 drivers/video/fbdev/core/fbmon.c specs->input = 0; input 786 drivers/video/fbdev/core/fbmon.c specs->input |= FB_DISP_DDI; input 793 drivers/video/fbdev/core/fbmon.c specs->input |= FB_DISP_ANA_700_300; input 797 drivers/video/fbdev/core/fbmon.c specs->input |= FB_DISP_ANA_714_286; input 801 drivers/video/fbdev/core/fbmon.c specs->input |= FB_DISP_ANA_1000_400; input 805 drivers/video/fbdev/core/fbmon.c specs->input |= FB_DISP_ANA_700_000; input 859 drivers/video/fbdev/core/fbmon.c specs->input |= FB_DISP_MONO; input 863 drivers/video/fbdev/core/fbmon.c specs->input |= FB_DISP_RGB; input 867 drivers/video/fbdev/core/fbmon.c specs->input |= FB_DISP_MULTI; input 871 drivers/video/fbdev/core/fbmon.c specs->input |= FB_DISP_UNKNOWN; input 1598 drivers/video/fbdev/fsl-diu-fb.c ::[input]"r"(&coherence_data[i])); input 299 drivers/video/fbdev/matrox/matroxfb_base.h int (*compute)(void* altout_dev, struct my_timming* input); input 408 drivers/video/fbdev/nvidia/nv_setup.c FlatPanel = (monA->input & FB_DISP_DDI) ? 1 : 0; input 539 drivers/video/fbdev/nvidia/nv_setup.c FlatPanel = (monA->input & FB_DISP_DDI) ? 1 : 0; input 541 drivers/video/fbdev/nvidia/nv_setup.c FlatPanel = (monB->input & FB_DISP_DDI) ? 1 : 0; input 584 drivers/video/fbdev/nvidia/nv_setup.c if (((monA->input & FB_DISP_DDI) && input 586 drivers/video/fbdev/nvidia/nv_setup.c ((!(monA->input & FB_DISP_DDI)) && input 599 drivers/video/fbdev/nvidia/nv_setup.c if (((monB->input & FB_DISP_DDI) && input 601 drivers/video/fbdev/nvidia/nv_setup.c ((!(monB->input & FB_DISP_DDI)) && input 1846 drivers/video/fbdev/riva/fbdev.c if (info->monspecs.input & FB_DISP_DDI) input 897 drivers/video/fbdev/via/hw.c u32 via_parse_odev(char *input, char **end) input 899 drivers/video/fbdev/via/hw.c char *ptr = input; input 637 drivers/video/fbdev/via/hw.h u32 via_parse_odev(char *input, char **end); input 85 drivers/virt/vboxguest/vboxguest_core.h struct input_dev *input; input 200 drivers/virt/vboxguest/vboxguest_linux.c static int vbg_input_open(struct input_dev *input) input 202 drivers/virt/vboxguest/vboxguest_linux.c struct vbg_dev *gdev = input_get_drvdata(input); input 218 drivers/virt/vboxguest/vboxguest_linux.c static void vbg_input_close(struct input_dev *input) input 220 drivers/virt/vboxguest/vboxguest_linux.c struct vbg_dev *gdev = input_get_drvdata(input); input 232 drivers/virt/vboxguest/vboxguest_linux.c struct input_dev *input; input 234 drivers/virt/vboxguest/vboxguest_linux.c input = devm_input_allocate_device(gdev->dev); input 235 drivers/virt/vboxguest/vboxguest_linux.c if (!input) input 238 drivers/virt/vboxguest/vboxguest_linux.c input->id.bustype = BUS_PCI; input 239 drivers/virt/vboxguest/vboxguest_linux.c input->id.vendor = VBOX_VENDORID; input 240 drivers/virt/vboxguest/vboxguest_linux.c input->id.product = VMMDEV_DEVICEID; input 241 drivers/virt/vboxguest/vboxguest_linux.c input->open = vbg_input_open; input 242 drivers/virt/vboxguest/vboxguest_linux.c input->close = vbg_input_close; input 243 drivers/virt/vboxguest/vboxguest_linux.c input->dev.parent = gdev->dev; input 244 drivers/virt/vboxguest/vboxguest_linux.c input->name = "VirtualBox mouse integration"; input 246 drivers/virt/vboxguest/vboxguest_linux.c input_set_abs_params(input, ABS_X, VMMDEV_MOUSE_RANGE_MIN, input 248 drivers/virt/vboxguest/vboxguest_linux.c input_set_abs_params(input, ABS_Y, VMMDEV_MOUSE_RANGE_MIN, input 250 drivers/virt/vboxguest/vboxguest_linux.c input_set_capability(input, EV_KEY, BTN_MOUSE); input 251 drivers/virt/vboxguest/vboxguest_linux.c input_set_drvdata(input, gdev); input 253 drivers/virt/vboxguest/vboxguest_linux.c gdev->input = input; input 255 drivers/virt/vboxguest/vboxguest_linux.c return input_register_device(gdev->input); input 476 drivers/virt/vboxguest/vboxguest_linux.c input_report_abs(gdev->input, ABS_X, input 478 drivers/virt/vboxguest/vboxguest_linux.c input_report_abs(gdev->input, ABS_Y, input 480 drivers/virt/vboxguest/vboxguest_linux.c input_sync(gdev->input); input 3077 fs/cifs/smb2pdu.c size_t output_len, size_t input_len, void *input) input 3100 fs/cifs/smb2pdu.c memcpy(req->Buffer, input, input_len); input 177 fs/cifs/smb2proto.h size_t input_len, void *input); input 2691 fs/ext4/ext4.h struct ext4_new_group_data *input); input 700 fs/ext4/ioctl.c struct ext4_new_group_data *input) input 720 fs/ext4/ioctl.c err = ext4_group_add(sb, input); input 731 fs/ext4/ioctl.c err = ext4_register_li_request(sb, input->group); input 1005 fs/ext4/ioctl.c struct ext4_new_group_data input; input 1007 fs/ext4/ioctl.c if (copy_from_user(&input, (struct ext4_new_group_input __user *)arg, input 1008 fs/ext4/ioctl.c sizeof(input))) input 1011 fs/ext4/ioctl.c return ext4_ioctl_group_add(filp, &input); input 1346 fs/ext4/ioctl.c struct ext4_new_group_data input; input 1350 fs/ext4/ioctl.c err = get_user(input.group, &uinput->group); input 1351 fs/ext4/ioctl.c err |= get_user(input.block_bitmap, &uinput->block_bitmap); input 1352 fs/ext4/ioctl.c err |= get_user(input.inode_bitmap, &uinput->inode_bitmap); input 1353 fs/ext4/ioctl.c err |= get_user(input.inode_table, &uinput->inode_table); input 1354 fs/ext4/ioctl.c err |= get_user(input.blocks_count, &uinput->blocks_count); input 1355 fs/ext4/ioctl.c err |= get_user(input.reserved_blocks, input 1359 fs/ext4/ioctl.c return ext4_ioctl_group_add(file, &input); input 116 fs/ext4/resize.c struct ext4_new_group_data *input) input 121 fs/ext4/resize.c ext4_fsblk_t end = start + input->blocks_count; input 122 fs/ext4/resize.c ext4_group_t group = input->group; input 123 fs/ext4/resize.c ext4_fsblk_t itend = input->inode_table + sbi->s_itb_per_group; input 132 fs/ext4/resize.c input->group, sbi->s_groups_count); input 138 fs/ext4/resize.c input->free_clusters_count = free_blocks_count = input 139 fs/ext4/resize.c input->blocks_count - 2 - overhead - sbi->s_itb_per_group; input 144 fs/ext4/resize.c ext4_bg_has_super(sb, input->group) ? "normal" : input 145 fs/ext4/resize.c "no-super", input->group, input->blocks_count, input 146 fs/ext4/resize.c free_blocks_count, input->reserved_blocks); input 151 fs/ext4/resize.c else if (input->reserved_blocks > input->blocks_count / 5) input 153 fs/ext4/resize.c input->reserved_blocks); input 156 fs/ext4/resize.c input->blocks_count); input 162 fs/ext4/resize.c } else if (outside(input->block_bitmap, start, end)) input 164 fs/ext4/resize.c (unsigned long long)input->block_bitmap); input 165 fs/ext4/resize.c else if (outside(input->inode_bitmap, start, end)) input 167 fs/ext4/resize.c (unsigned long long)input->inode_bitmap); input 168 fs/ext4/resize.c else if (outside(input->inode_table, start, end) || input 171 fs/ext4/resize.c (unsigned long long)input->inode_table, itend - 1); input 172 fs/ext4/resize.c else if (input->inode_bitmap == input->block_bitmap) input 174 fs/ext4/resize.c (unsigned long long)input->block_bitmap); input 175 fs/ext4/resize.c else if (inside(input->block_bitmap, input->inode_table, itend)) input 178 fs/ext4/resize.c (unsigned long long)input->block_bitmap, input 179 fs/ext4/resize.c (unsigned long long)input->inode_table, itend - 1); input 180 fs/ext4/resize.c else if (inside(input->inode_bitmap, input->inode_table, itend)) input 183 fs/ext4/resize.c (unsigned long long)input->inode_bitmap, input 184 fs/ext4/resize.c (unsigned long long)input->inode_table, itend - 1); input 185 fs/ext4/resize.c else if (inside(input->block_bitmap, start, metaend)) input 187 fs/ext4/resize.c (unsigned long long)input->block_bitmap, input 189 fs/ext4/resize.c else if (inside(input->inode_bitmap, start, metaend)) input 191 fs/ext4/resize.c (unsigned long long)input->inode_bitmap, input 193 fs/ext4/resize.c else if (inside(input->inode_table, start, metaend) || input 197 fs/ext4/resize.c (unsigned long long)input->inode_table, input 1646 fs/ext4/resize.c int ext4_group_add(struct super_block *sb, struct ext4_new_group_data *input) input 1651 fs/ext4/resize.c int reserved_gdb = ext4_bg_has_super(sb, input->group) ? input 1658 fs/ext4/resize.c gdb_off = input->group % EXT4_DESC_PER_BLOCK(sb); input 1665 fs/ext4/resize.c if (ext4_blocks_count(es) + input->blocks_count < input 1692 fs/ext4/resize.c err = verify_group_input(sb, input); input 1696 fs/ext4/resize.c err = ext4_alloc_flex_bg_array(sb, input->group + 1); input 1700 fs/ext4/resize.c err = ext4_mb_alloc_groupinfo(sb, input->group + 1); input 1705 fs/ext4/resize.c flex_gd.groups = input; input 501 fs/hfsplus/hfsplus_fs.h int hfsplus_parse_options_remount(char *input, int *force); input 502 fs/hfsplus/hfsplus_fs.h int hfsplus_parse_options(char *input, struct hfsplus_sb_info *sbi); input 72 fs/hfsplus/options.c int hfsplus_parse_options_remount(char *input, int *force) input 78 fs/hfsplus/options.c if (!input) input 81 fs/hfsplus/options.c while ((p = strsep(&input, ",")) != NULL) { input 100 fs/hfsplus/options.c int hfsplus_parse_options(char *input, struct hfsplus_sb_info *sbi) input 106 fs/hfsplus/options.c if (!input) input 109 fs/hfsplus/options.c while ((p = strsep(&input, ",")) != NULL) { input 843 fs/ocfs2/ioctl.c struct ocfs2_new_group_input input; input 896 fs/ocfs2/ioctl.c if (copy_from_user(&input, (int __user *) arg, sizeof(input))) input 902 fs/ocfs2/ioctl.c status = ocfs2_group_add(inode, &input); input 373 fs/ocfs2/resize.c struct ocfs2_new_group_input *input, input 386 fs/ocfs2/resize.c if (le16_to_cpu(gd->bg_chain) != input->chain) input 390 fs/ocfs2/resize.c le16_to_cpu(gd->bg_chain), input->chain); input 391 fs/ocfs2/resize.c else if (le16_to_cpu(gd->bg_bits) != input->clusters * cl_bpc) input 395 fs/ocfs2/resize.c le16_to_cpu(gd->bg_bits), input->clusters); input 396 fs/ocfs2/resize.c else if (le16_to_cpu(gd->bg_free_bits_count) != input->frees * cl_bpc) input 401 fs/ocfs2/resize.c input->frees * cl_bpc); input 411 fs/ocfs2/resize.c struct ocfs2_new_group_input *input, input 417 fs/ocfs2/resize.c u32 cluster = ocfs2_blocks_to_clusters(inode->i_sb, input->group); input 423 fs/ocfs2/resize.c else if (input->chain >= cl_count) input 425 fs/ocfs2/resize.c else if (next_free != cl_count && next_free != input->chain) input 428 fs/ocfs2/resize.c else if (total_clusters + input->clusters < total_clusters) input 430 fs/ocfs2/resize.c else if (input->clusters > cl_cpg) input 432 fs/ocfs2/resize.c else if (input->frees > input->clusters) input 437 fs/ocfs2/resize.c else if (input->group != ocfs2_which_cluster_group(inode, cluster)) input 439 fs/ocfs2/resize.c else if ((ret = ocfs2_check_new_group(inode, di, input, group_bh))) input 448 fs/ocfs2/resize.c int ocfs2_group_add(struct inode *inode, struct ocfs2_new_group_input *input) input 494 fs/ocfs2/resize.c ret = ocfs2_read_blocks_sync(osb, input->group, 1, &group_bh); input 497 fs/ocfs2/resize.c "from the device.", (unsigned long long)input->group); input 503 fs/ocfs2/resize.c ret = ocfs2_verify_group_and_input(main_bm_inode, fe, input, group_bh); input 509 fs/ocfs2/resize.c trace_ocfs2_group_add((unsigned long long)input->group, input 510 fs/ocfs2/resize.c input->chain, input->clusters, input->frees); input 521 fs/ocfs2/resize.c cr = &cl->cl_recs[input->chain]; input 543 fs/ocfs2/resize.c if (input->chain == le16_to_cpu(cl->cl_next_free_rec)) { input 548 fs/ocfs2/resize.c cr->c_blkno = cpu_to_le64(input->group); input 549 fs/ocfs2/resize.c le32_add_cpu(&cr->c_total, input->clusters * cl_bpc); input 550 fs/ocfs2/resize.c le32_add_cpu(&cr->c_free, input->frees * cl_bpc); input 552 fs/ocfs2/resize.c le32_add_cpu(&fe->id1.bitmap1.i_total, input->clusters *cl_bpc); input 554 fs/ocfs2/resize.c (input->clusters - input->frees) * cl_bpc); input 555 fs/ocfs2/resize.c le32_add_cpu(&fe->i_clusters, input->clusters); input 561 fs/ocfs2/resize.c le64_add_cpu(&fe->i_size, (u64)input->clusters << osb->s_clustersize_bits); input 565 fs/ocfs2/resize.c ocfs2_update_super_and_backups(main_bm_inode, input->clusters); input 16 fs/ocfs2/resize.h int ocfs2_group_add(struct inode *inode, struct ocfs2_new_group_input *input); input 27 fs/squashfs/lz4_wrapper.c void *input; input 60 fs/squashfs/lz4_wrapper.c stream->input = vmalloc(block_size); input 61 fs/squashfs/lz4_wrapper.c if (stream->input == NULL) input 70 fs/squashfs/lz4_wrapper.c vfree(stream->input); input 84 fs/squashfs/lz4_wrapper.c vfree(stream->input); input 96 fs/squashfs/lz4_wrapper.c void *buff = stream->input, *data; input 108 fs/squashfs/lz4_wrapper.c res = LZ4_decompress_safe(stream->input, stream->output, input 24 fs/squashfs/lzo_wrapper.c void *input; input 35 fs/squashfs/lzo_wrapper.c stream->input = vmalloc(block_size); input 36 fs/squashfs/lzo_wrapper.c if (stream->input == NULL) input 45 fs/squashfs/lzo_wrapper.c vfree(stream->input); input 58 fs/squashfs/lzo_wrapper.c vfree(stream->input); input 70 fs/squashfs/lzo_wrapper.c void *buff = stream->input, *data; input 83 fs/squashfs/lzo_wrapper.c res = lzo1x_decompress_safe(stream->input, (size_t)length, input 224 include/crypto/kpp.h struct scatterlist *input, input 227 include/crypto/kpp.h req->src = input; input 140 include/crypto/sha.h extern int sha256_update(struct sha256_state *sctx, const u8 *input, input 158 include/crypto/sha.h extern int sha224_update(struct sha256_state *sctx, const u8 *input, input 83 include/drm/drm_dp_mst_helper.h bool input; input 297 include/drm/drm_edid.h u8 input; input 239 include/linux/blk-cgroup.h char *input, struct blkg_conf_ctx *ctx); input 135 include/linux/cgroup.h int cgroup_parse_float(const char *input, unsigned dec_shift, s64 *v); input 420 include/linux/ethtool.h ethtool_rx_flow_rule_create(const struct ethtool_rx_flow_spec_input *input); input 79 include/linux/fb.h __u16 input; /* display type - see FB_DISP_* */ input 523 include/linux/hid.h struct input_dev *input; input 967 include/linux/hid.h struct input_dev *input = hidinput->input; input 974 include/linux/hid.h *bit = input->absbit; input 978 include/linux/hid.h *bit = input->relbit; input 982 include/linux/hid.h *bit = input->keybit; input 986 include/linux/hid.h *bit = input->ledbit; input 44 include/linux/input-polldev.h struct input_dev *input; input 20 include/linux/input/touchscreen.h void touchscreen_parse_properties(struct input_dev *input, bool multitouch, input 27 include/linux/input/touchscreen.h void touchscreen_report_pos(struct input_dev *input, input 210 include/linux/mfd/wm831x/auxadc.h int wm831x_auxadc_read(struct wm831x *wm831x, enum wm831x_auxadc input); input 211 include/linux/mfd/wm831x/auxadc.h int wm831x_auxadc_read_uv(struct wm831x *wm831x, enum wm831x_auxadc input); input 358 include/linux/mfd/wm831x/core.h enum wm831x_auxadc input); input 47 include/linux/netlink.h void (*input)(struct sk_buff *skb); input 81 include/linux/pinctrl/pinmux.h bool input); input 185 include/linux/qed/qed_ll2_if.h struct qed_ll2_acquire_data_inputs input; input 271 include/linux/rmi.h struct input_dev *input; input 307 include/linux/rmi.h struct input_dev *input); input 352 include/linux/rmi.h struct input_dev *input; input 95 include/linux/xxhash.h uint32_t xxh32(const void *input, size_t length, uint32_t seed); input 108 include/linux/xxhash.h uint64_t xxh64(const void *input, size_t length, uint64_t seed); input 123 include/linux/xxhash.h static inline unsigned long xxhash(const void *input, size_t length, input 127 include/linux/xxhash.h return xxh64(input, length, seed); input 129 include/linux/xxhash.h return xxh32(input, length, seed); input 191 include/linux/xxhash.h int xxh32_update(struct xxh32_state *state, const void *input, size_t length); input 224 include/linux/xxhash.h int xxh64_update(struct xxh64_state *state, const void *input, size_t length); input 606 include/linux/zstd.h ZSTD_inBuffer *input); input 744 include/linux/zstd.h ZSTD_inBuffer *input); input 48 include/media/davinci/vpfe_capture.h u32 input; input 56 include/media/davinci/vpif_types.h struct v4l2_input input; input 148 include/media/i2c/adv7842.h unsigned input; input 251 include/media/v4l2-dv-timings.h u16 v4l2_phys_addr_for_input(u16 phys_addr, u8 input); input 307 include/media/v4l2-subdev.h int (*s_routing)(struct v4l2_subdev *sd, u32 input, u32 output, u32 config); input 416 include/media/v4l2-subdev.h int (*s_routing)(struct v4l2_subdev *sd, u32 input, u32 output, u32 config); input 34 include/net/dst.h int (*input)(struct sk_buff *); input 442 include/net/dst.h return skb_dst(skb)->input(skb); input 43 include/net/lwtunnel.h int (*input)(struct sk_buff *skb); input 139 include/net/lwtunnel.h dst->lwtstate->orig_input = dst->input; input 140 include/net/lwtunnel.h dst->input = lwtunnel_input; input 402 include/net/xfrm.h int (*input)(struct xfrm_state *, struct sk_buff *skb); input 620 include/net/xfrm.h } input; input 97 include/sound/rawmidi.h struct snd_rawmidi_substream *input; input 195 include/uapi/linux/dvb/dmx.h enum dmx_input input; input 200 include/uapi/linux/kvm.h __u64 input; input 185 include/uapi/linux/uhid.h struct uhid_input_req input; input 30 include/uapi/linux/wmi.h volatile __u32 input[4]; input 1539 kernel/audit.c .input = audit_receive, input 6335 kernel/cgroup/cgroup.c int cgroup_parse_float(const char *input, unsigned dec_shift, s64 *v) input 6340 kernel/cgroup/cgroup.c if (!sscanf(input, "%lld.%n%lld%n", &whole, &fstart, &frac, &fend)) input 36 lib/crypto/sha256.c static inline void LOAD_OP(int I, u32 *W, const u8 *input) input 38 lib/crypto/sha256.c W[I] = get_unaligned_be32((__u32 *)input + I); input 46 lib/crypto/sha256.c static void sha256_transform(u32 *state, const u8 *input) input 54 lib/crypto/sha256.c LOAD_OP(i, W, input); input 31 lib/decompress_unlz4.c STATIC inline int INIT unlz4(u8 *input, long in_len, input 45 lib/decompress_unlz4.c size_t out_len = get_unaligned_le32(input + in_len); input 63 lib/decompress_unlz4.c if (input && fill) { input 66 lib/decompress_unlz4.c } else if (input) { input 67 lib/decompress_unlz4.c inp = input; input 189 lib/decompress_unlz4.c if (!input) input 41 lib/decompress_unlzo.c STATIC inline long INIT parse_header(u8 *input, long *skip, long in_len) input 44 lib/decompress_unlzo.c u8 *parse = input; input 45 lib/decompress_unlzo.c u8 *end = input + in_len; input 94 lib/decompress_unlzo.c *skip = parse - input; input 98 lib/decompress_unlzo.c STATIC int INIT unlzo(u8 *input, long in_len, input 124 lib/decompress_unlzo.c if (input && fill) { input 127 lib/decompress_unlzo.c } else if (input) { input 128 lib/decompress_unlzo.c in_buf = input; input 268 lib/decompress_unlzo.c if (!input) input 761 lib/kobject_uevent.c .input = uevent_net_rcv, input 55 lib/sha1.c #define SHA_ROUND(t, input, fn, constant, A, B, C, D, E) do { \ input 56 lib/sha1.c __u32 TEMP = input(t); setW(t, TEMP); \ input 94 lib/xxhash.c static uint32_t xxh32_round(uint32_t seed, const uint32_t input) input 96 lib/xxhash.c seed += input * PRIME32_2; input 102 lib/xxhash.c uint32_t xxh32(const void *input, const size_t len, const uint32_t seed) input 104 lib/xxhash.c const uint8_t *p = (const uint8_t *)input; input 156 lib/xxhash.c static uint64_t xxh64_round(uint64_t acc, const uint64_t input) input 158 lib/xxhash.c acc += input * PRIME64_2; input 172 lib/xxhash.c uint64_t xxh64(const void *input, const size_t len, const uint64_t seed) input 174 lib/xxhash.c const uint8_t *p = (const uint8_t *)input; input 270 lib/xxhash.c int xxh32_update(struct xxh32_state *state, const void *input, const size_t len) input 272 lib/xxhash.c const uint8_t *p = (const uint8_t *)input; input 275 lib/xxhash.c if (input == NULL) input 282 lib/xxhash.c memcpy((uint8_t *)(state->mem32) + state->memsize, input, len); input 290 lib/xxhash.c memcpy((uint8_t *)(state->mem32) + state->memsize, input, input 377 lib/xxhash.c int xxh64_update(struct xxh64_state *state, const void *input, const size_t len) input 379 lib/xxhash.c const uint8_t *p = (const uint8_t *)input; input 382 lib/xxhash.c if (input == NULL) input 388 lib/xxhash.c memcpy(((uint8_t *)state->mem64) + state->memsize, input, len); input 396 lib/xxhash.c memcpy(((uint8_t *)p64) + state->memsize, input, input 3223 lib/zstd/compress.c size_t ZSTD_compressStream(ZSTD_CStream *zcs, ZSTD_outBuffer *output, ZSTD_inBuffer *input) input 3225 lib/zstd/compress.c size_t sizeRead = input->size - input->pos; input 3228 lib/zstd/compress.c ZSTD_compressStream_generic(zcs, (char *)(output->dst) + output->pos, &sizeWritten, (const char *)(input->src) + input->pos, &sizeRead, zsf_gather); input 3229 lib/zstd/compress.c input->pos += sizeRead; input 2298 lib/zstd/decompress.c size_t ZSTD_decompressStream(ZSTD_DStream *zds, ZSTD_outBuffer *output, ZSTD_inBuffer *input) input 2300 lib/zstd/decompress.c const char *const istart = (const char *)(input->src) + input->pos; input 2301 lib/zstd/decompress.c const char *const iend = (const char *)(input->src) + input->size; input 2323 lib/zstd/decompress.c input->pos = input->size; input 2464 lib/zstd/decompress.c input->pos += (size_t)(ip - istart); input 2471 lib/zstd/decompress.c if (input->pos >= input->size) { input 2475 lib/zstd/decompress.c input->pos++; /* release hostage */ input 2480 lib/zstd/decompress.c input->pos--; /* note : pos > 0, otherwise, impossible to finish reading last block */ input 2689 mm/hugetlb.c unsigned long input; input 2695 mm/hugetlb.c err = kstrtoul(buf, 10, &input); input 2700 mm/hugetlb.c h->nr_overcommit_huge_pages = input; input 81 net/bluetooth/hidp/core.c if (session->input) { input 82 net/bluetooth/hidp/core.c ci->vendor = session->input->id.vendor; input 83 net/bluetooth/hidp/core.c ci->product = session->input->id.product; input 84 net/bluetooth/hidp/core.c ci->version = session->input->id.version; input 85 net/bluetooth/hidp/core.c if (session->input->name) input 86 net/bluetooth/hidp/core.c strlcpy(ci->name, session->input->name, 128); input 180 net/bluetooth/hidp/core.c struct input_dev *dev = session->input; input 517 net/bluetooth/hidp/core.c if (session->input) input 600 net/bluetooth/hidp/core.c if (session->input) input 659 net/bluetooth/hidp/core.c struct input_dev *input; input 662 net/bluetooth/hidp/core.c input = input_allocate_device(); input 663 net/bluetooth/hidp/core.c if (!input) input 666 net/bluetooth/hidp/core.c session->input = input; input 668 net/bluetooth/hidp/core.c input_set_drvdata(input, session); input 670 net/bluetooth/hidp/core.c input->name = "Bluetooth HID Boot Protocol Device"; input 672 net/bluetooth/hidp/core.c input->id.bustype = BUS_BLUETOOTH; input 673 net/bluetooth/hidp/core.c input->id.vendor = req->vendor; input 674 net/bluetooth/hidp/core.c input->id.product = req->product; input 675 net/bluetooth/hidp/core.c input->id.version = req->version; input 678 net/bluetooth/hidp/core.c set_bit(EV_KEY, input->evbit); input 679 net/bluetooth/hidp/core.c set_bit(EV_LED, input->evbit); input 680 net/bluetooth/hidp/core.c set_bit(EV_REP, input->evbit); input 682 net/bluetooth/hidp/core.c set_bit(LED_NUML, input->ledbit); input 683 net/bluetooth/hidp/core.c set_bit(LED_CAPSL, input->ledbit); input 684 net/bluetooth/hidp/core.c set_bit(LED_SCROLLL, input->ledbit); input 685 net/bluetooth/hidp/core.c set_bit(LED_COMPOSE, input->ledbit); input 686 net/bluetooth/hidp/core.c set_bit(LED_KANA, input->ledbit); input 689 net/bluetooth/hidp/core.c set_bit(hidp_keycode[i], input->keybit); input 690 net/bluetooth/hidp/core.c clear_bit(0, input->keybit); input 694 net/bluetooth/hidp/core.c input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); input 695 net/bluetooth/hidp/core.c input->keybit[BIT_WORD(BTN_MOUSE)] = BIT_MASK(BTN_LEFT) | input 697 net/bluetooth/hidp/core.c input->relbit[0] = BIT_MASK(REL_X) | BIT_MASK(REL_Y); input 698 net/bluetooth/hidp/core.c input->keybit[BIT_WORD(BTN_MOUSE)] |= BIT_MASK(BTN_SIDE) | input 700 net/bluetooth/hidp/core.c input->relbit[0] |= BIT_MASK(REL_WHEEL); input 703 net/bluetooth/hidp/core.c input->dev.parent = &session->conn->hcon->dev; input 705 net/bluetooth/hidp/core.c input->event = hidp_input_event; input 839 net/bluetooth/hidp/core.c else if (session->input) input 840 net/bluetooth/hidp/core.c input_put_device(session->input); input 861 net/bluetooth/hidp/core.c } else if (session->input) { input 862 net/bluetooth/hidp/core.c ret = input_register_device(session->input); input 865 net/bluetooth/hidp/core.c input_get_device(session->input); input 876 net/bluetooth/hidp/core.c else if (session->input) input 877 net/bluetooth/hidp/core.c input_unregister_device(session->input); input 1052 net/bluetooth/hidp/core.c } else if (session->input) { input 1053 net/bluetooth/hidp/core.c vendor = session->input->id.vendor; input 1054 net/bluetooth/hidp/core.c product = session->input->id.product; input 1116 net/bluetooth/hidp/core.c if (session->input) { input 1127 net/bluetooth/hidp/core.c if (session->input) input 1138 net/bluetooth/hidp/core.c if (session->input) input 1171 net/bluetooth/hidp/core.c if (session->input || input 162 net/bluetooth/hidp/hidp.h struct input_dev *input; input 60 net/core/dst.c dst->input = dst_discard; input 161 net/core/dst.c dst->input = dst_discard; input 268 net/core/dst.c dst->input = dst_md_discard; input 2866 net/core/ethtool.c ethtool_rx_flow_rule_create(const struct ethtool_rx_flow_spec_input *input) input 2868 net/core/ethtool.c const struct ethtool_rx_flow_spec *fs = input->fs; input 3100 net/core/ethtool.c act->queue.ctx = input->rss_ctx; input 515 net/core/lwt_bpf.c .input = bpf_input, input 399 net/core/lwtunnel.c if (likely(ops && ops->input)) input 400 net/core/lwtunnel.c ret = ops->input(skb); input 5324 net/core/rtnetlink.c .input = rtnetlink_rcv, input 312 net/core/sock_diag.c .input = sock_diag_rcv, input 1201 net/decnet/dn_route.c rt->dst.input = dn_rt_bug; input 1204 net/decnet/dn_route.c rt->dst.input = dn_nsp_rx; input 1469 net/decnet/dn_route.c rt->dst.input = dn_forward; input 1473 net/decnet/dn_route.c rt->dst.input = dn_nsp_rx; input 1480 net/decnet/dn_route.c rt->dst.input = dst_discard; input 128 net/decnet/netfilter/dn_rtmsg.c .input = dnrmg_receive_user_skb, input 406 net/ipv4/ah4.c *seqhi = XFRM_SKB_CB(skb)->seq.input.hi; input 563 net/ipv4/ah4.c .input = ah_input, input 679 net/ipv4/esp4.c esph->seq_no = XFRM_SKB_CB(skb)->seq.input.hi; input 1014 net/ipv4/esp4.c .input = esp_input, input 1395 net/ipv4/fib_frontend.c .input = nl_fib_input, input 159 net/ipv4/ipcomp.c .input = ipcomp_input, input 774 net/ipv4/netfilter/ipt_CLUSTERIP.c static ssize_t clusterip_proc_write(struct file *file, const char __user *input, input 785 net/ipv4/netfilter/ipt_CLUSTERIP.c if (copy_from_user(buffer, input, size)) input 1645 net/ipv4/route.c rt->dst.input = ip_local_deliver; input 1675 net/ipv4/route.c new_rt->dst.input = rt->dst.input; input 1746 net/ipv4/route.c rth->dst.input = ip_mr_input; input 1860 net/ipv4/route.c rth->dst.input = ip_forward; input 2192 net/ipv4/route.c rth->dst.input= ip_error; input 2202 net/ipv4/route.c WARN_ON(rth->dst.input == lwtunnel_input); input 2203 net/ipv4/route.c rth->dst.lwtstate->orig_input = rth->dst.input; input 2204 net/ipv4/route.c rth->dst.input = lwtunnel_input; input 2423 net/ipv4/route.c rth->dst.input = ip_mr_input; input 2688 net/ipv4/route.c new->input = dst_discard; input 50 net/ipv4/xfrm4_tunnel.c .input = ipip_xfrm_rcv, input 607 net/ipv6/ah6.c *seqhi = XFRM_SKB_CB(skb)->seq.input.hi; input 763 net/ipv6/ah6.c .input = ah6_input, input 579 net/ipv6/esp6.c esph->seq_no = XFRM_SKB_CB(skb)->seq.input.hi; input 905 net/ipv6/esp6.c .input = esp6_input, input 310 net/ipv6/ila/ila_lwt.c .input = ila_input, input 179 net/ipv6/ipcomp6.c .input = ipcomp_input, input 333 net/ipv6/mip6.c .input = mip6_destopt_input, input 465 net/ipv6/mip6.c .input = mip6_rthdr_input, input 309 net/ipv6/route.c .input = ip6_pkt_discard, input 323 net/ipv6/route.c .input = ip6_pkt_prohibit, input 335 net/ipv6/route.c .input = dst_discard, input 1078 net/ipv6/route.c rt->dst.input = dst_discard; input 1082 net/ipv6/route.c rt->dst.input = ip6_pkt_prohibit; input 1088 net/ipv6/route.c rt->dst.input = ip6_pkt_discard; input 1106 net/ipv6/route.c rt->dst.input = ip6_input; input 1108 net/ipv6/route.c rt->dst.input = ip6_mc_input; input 1110 net/ipv6/route.c rt->dst.input = ip6_forward; input 2552 net/ipv6/route.c new->input = dst_discard; input 3176 net/ipv6/route.c rt->dst.input = ip6_input; input 498 net/ipv6/seg6_iptunnel.c .input = seg6_input, input 39 net/ipv6/seg6_local.c int (*input)(struct sk_buff *skb, struct seg6_local_lwt *slwt); input 551 net/ipv6/seg6_local.c .input = input_action_end, input 556 net/ipv6/seg6_local.c .input = input_action_end_x, input 561 net/ipv6/seg6_local.c .input = input_action_end_t, input 566 net/ipv6/seg6_local.c .input = input_action_end_dx2, input 571 net/ipv6/seg6_local.c .input = input_action_end_dx6, input 576 net/ipv6/seg6_local.c .input = input_action_end_dx4, input 581 net/ipv6/seg6_local.c .input = input_action_end_dt6, input 586 net/ipv6/seg6_local.c .input = input_action_end_b6, input 591 net/ipv6/seg6_local.c .input = input_action_end_b6_encap, input 597 net/ipv6/seg6_local.c .input = input_action_end_bpf, input 631 net/ipv6/seg6_local.c return desc->input(skb, slwt); input 937 net/ipv6/seg6_local.c if (!desc->input) input 1107 net/ipv6/seg6_local.c .input = seg6_local_input, input 133 net/ipv6/xfrm6_input.c if (x->type->input(x, skb) > 0) { input 299 net/ipv6/xfrm6_tunnel.c .input = xfrm6_tunnel_input, input 3292 net/netfilter/nf_tables_api.c static __be64 nf_jiffies64_to_msecs(u64 input) input 3294 net/netfilter/nf_tables_api.c return cpu_to_be64(jiffies64_to_msecs(input)); input 591 net/netfilter/nfnetlink.c .input = nfnetlink_rcv, input 551 net/netfilter/xt_recent.c recent_mt_proc_write(struct file *file, const char __user *input, input 566 net/netfilter/xt_recent.c if (copy_from_user(buf, input, size) != 0) input 2059 net/netlink/af_netlink.c if (cfg && cfg->input) input 2060 net/netlink/af_netlink.c nlk_sk(sk)->netlink_rcv = cfg->input; input 1042 net/netlink/genetlink.c .input = genl_rcv, input 494 net/xfrm/xfrm_input.c seq = XFRM_SKB_CB(skb)->seq.input.low; input 630 net/xfrm/xfrm_input.c XFRM_SKB_CB(skb)->seq.input.low = seq; input 631 net/xfrm/xfrm_input.c XFRM_SKB_CB(skb)->seq.input.hi = seq_hi; input 638 net/xfrm/xfrm_input.c nexthdr = x->type->input(x, skb); input 2613 net/xfrm/xfrm_policy.c dst1->input = dst_discard; input 2899 net/xfrm/xfrm_policy.c dst1->input = dst_discard; input 485 net/xfrm/xfrm_replay.c if (unlikely(XFRM_SKB_CB(skb)->seq.input.hi != input 3336 net/xfrm/xfrm_user.c .input = xfrm_netlink_rcv, input 284 samples/uhid/uhid-example.c ev.u.input.size = 5; input 286 samples/uhid/uhid-example.c ev.u.input.data[0] = 0x1; input 288 samples/uhid/uhid-example.c ev.u.input.data[1] |= 0x1; input 290 samples/uhid/uhid-example.c ev.u.input.data[1] |= 0x2; input 292 samples/uhid/uhid-example.c ev.u.input.data[1] |= 0x4; input 294 samples/uhid/uhid-example.c ev.u.input.data[2] = abs_hor; input 295 samples/uhid/uhid-example.c ev.u.input.data[3] = abs_ver; input 296 samples/uhid/uhid-example.c ev.u.input.data[4] = wheel; input 73 samples/v4l/v4l2-pci-skeleton.c unsigned input; input 323 samples/v4l/v4l2-pci-skeleton.c if (skel->input == 0) { input 415 samples/v4l/v4l2-pci-skeleton.c if (skel->input) input 447 samples/v4l/v4l2-pci-skeleton.c if (skel->input) input 466 samples/v4l/v4l2-pci-skeleton.c if (skel->input) input 494 samples/v4l/v4l2-pci-skeleton.c if (skel->input == 0) input 533 samples/v4l/v4l2-pci-skeleton.c if (skel->input == 0) input 546 samples/v4l/v4l2-pci-skeleton.c if (skel->input == 0) input 568 samples/v4l/v4l2-pci-skeleton.c if (skel->input == 0) input 597 samples/v4l/v4l2-pci-skeleton.c if (skel->input == 0) input 636 samples/v4l/v4l2-pci-skeleton.c skel->input = i; input 653 samples/v4l/v4l2-pci-skeleton.c *i = skel->input; input 112 scripts/kconfig/parser.y input: mainmenu_stmt stmt_list | stmt_list; input 182 scripts/unifdef.c static FILE *input; /* input file pointer */ input 319 scripts/unifdef.c input = fopen(filename, "rb"); input 320 scripts/unifdef.c if (input == NULL) input 324 scripts/unifdef.c input = stdin; input 332 scripts/unifdef.c fstat(fileno(input), &ist) == 0) input 649 scripts/unifdef.c if (fgets(tline, MAXLINE, input) == NULL) input 723 scripts/unifdef.c if (fgets(tline + len, MAXLINE - len, input) == NULL) { input 43 security/selinux/ss/avtab.c #define mix(input) { \ input 44 security/selinux/ss/avtab.c u32 v = input; \ input 2439 security/selinux/ss/services.c static int match_ipv6_addrmask(u32 *input, u32 *addr, u32 *mask) input 2444 security/selinux/ss/services.c if (addr[i] != (input[i] & mask[i])) { input 302 sound/core/rawmidi.c rfile->input = rfile->output = NULL; input 333 sound/core/rawmidi.c rfile->input = sinput; input 450 sound/core/rawmidi.c if (rawmidi_file->input && rawmidi_file->input->runtime) input 451 sound/core/rawmidi.c rawmidi_file->input->runtime->oss = (maj == SOUND_MAJOR); input 508 sound/core/rawmidi.c if (rfile->input) { input 509 sound/core/rawmidi.c close_substream(rmidi, rfile->input, 1); input 510 sound/core/rawmidi.c rfile->input = NULL; input 743 sound/core/rawmidi.c return snd_rawmidi_info_user(rfile->input, info); input 762 sound/core/rawmidi.c if (rfile->input == NULL) input 764 sound/core/rawmidi.c return snd_rawmidi_input_params(rfile->input, ¶ms); input 783 sound/core/rawmidi.c if (rfile->input == NULL) input 785 sound/core/rawmidi.c err = snd_rawmidi_input_status(rfile->input, &status); input 823 sound/core/rawmidi.c if (rfile->input == NULL) input 825 sound/core/rawmidi.c return snd_rawmidi_drain_input(rfile->input); input 1019 sound/core/rawmidi.c substream = rfile->input; input 1417 sound/core/rawmidi.c if (rfile->input != NULL) { input 1418 sound/core/rawmidi.c runtime = rfile->input->runtime; input 1419 sound/core/rawmidi.c snd_rawmidi_input_trigger(rfile->input, 1); input 1427 sound/core/rawmidi.c if (rfile->input != NULL) { input 1428 sound/core/rawmidi.c if (snd_rawmidi_ready(rfile->input)) input 37 sound/core/rawmidi_compat.c if (!rfile->input) input 39 sound/core/rawmidi_compat.c return snd_rawmidi_input_params(rfile->input, ¶ms); input 68 sound/core/rawmidi_compat.c if (!rfile->input) input 70 sound/core/rawmidi_compat.c err = snd_rawmidi_input_status(rfile->input, &status); input 115 sound/core/rawmidi_compat.c if (!rfile->input) input 117 sound/core/rawmidi_compat.c err = snd_rawmidi_input_status(rfile->input, &status); input 177 sound/core/seq/seq_midi.c runtime = msynth->input_rfile.input->runtime; input 181 sound/core/seq/seq_midi.c if ((err = snd_rawmidi_input_params(msynth->input_rfile.input, ¶ms)) < 0) { input 188 sound/core/seq/seq_midi.c snd_rawmidi_kernel_read(msynth->input_rfile.input, NULL, 0); input 198 sound/core/seq/seq_midi.c if (snd_BUG_ON(!msynth->input_rfile.input)) input 130 sound/core/seq/seq_virmidi.c unsigned char input; input 144 sound/core/seq/seq_virmidi.c if (snd_rawmidi_transmit(substream, &input, 1) != 1) input 146 sound/core/seq/seq_virmidi.c if (!snd_midi_event_encode_byte(vmidi->parser, input, input 173 sound/drivers/mpu401/mpu401_uart.c static void snd_mpu401_uart_add_timer (struct snd_mpu401 *mpu, int input) input 182 sound/drivers/mpu401/mpu401_uart.c mpu->timer_invoked |= input ? MPU401_MODE_INPUT_TIMER : input 190 sound/drivers/mpu401/mpu401_uart.c static void snd_mpu401_uart_remove_timer (struct snd_mpu401 *mpu, int input) input 196 sound/drivers/mpu401/mpu401_uart.c mpu->timer_invoked &= input ? ~MPU401_MODE_INPUT_TIMER : input 119 sound/drivers/mtpav.c struct snd_rawmidi_substream *input; input 345 sound/drivers/mtpav.c portp->input = substream; input 363 sound/drivers/mtpav.c portp->input = NULL; input 495 sound/drivers/mtpav.c snd_rawmidi_receive(portp->input, &inbyte, 1); input 208 sound/firewire/bebob/bebob.h u8 input[7]); input 218 sound/firewire/bebob/bebob_command.c u8 addr[AVC_BRIDGECO_ADDR_BYTES], u8 input[7]) input 246 sound/firewire/bebob/bebob_command.c memcpy(input, buf + 10, 5); input 124 sound/firewire/bebob/bebob_stream.c u8 addr[AVC_BRIDGECO_ADDR_BYTES], input[7]; input 165 sound/firewire/bebob/bebob_stream.c err = avc_bridgeco_get_plug_input(bebob->unit, addr, input); input 177 sound/firewire/bebob/bebob_stream.c if (input[0] == 0xff) { input 183 sound/firewire/bebob/bebob_stream.c if (input[0] == AVC_BRIDGECO_PLUG_DIR_OUT) { input 189 sound/firewire/bebob/bebob_stream.c if (input[1] == AVC_BRIDGECO_PLUG_MODE_SUBUNIT && input 190 sound/firewire/bebob/bebob_stream.c input[2] == 0x0c) { input 195 sound/firewire/bebob/bebob_stream.c } else if (input[1] == AVC_BRIDGECO_PLUG_MODE_UNIT) { input 196 sound/firewire/bebob/bebob_stream.c if (input[2] == AVC_BRIDGECO_PLUG_UNIT_ISOC) { input 197 sound/firewire/bebob/bebob_stream.c if (input[3] == 0x00) { input 216 sound/firewire/bebob/bebob_stream.c } else if (input[2] == AVC_BRIDGECO_PLUG_UNIT_EXT) { input 221 sound/firewire/bebob/bebob_stream.c input[3]); input 12 sound/firewire/fireworks/fireworks_proc.c get_phys_name(struct snd_efw_phys_grp *grp, bool input) input 21 sound/firewire/fireworks/fireworks_proc.c else if (input) input 19 sound/firewire/oxfw/oxfw-scs1x.c struct snd_rawmidi_substream *input; input 114 sound/firewire/oxfw/oxfw-scs1x.c stream = READ_ONCE(scs->input); input 293 sound/firewire/oxfw/oxfw-scs1x.c WRITE_ONCE(scs->input, stream); input 295 sound/firewire/oxfw/oxfw-scs1x.c WRITE_ONCE(scs->input, NULL); input 61 sound/pci/ctxfi/ctamixer.c amixer->input = rsc; input 114 sound/pci/ctxfi/ctamixer.c struct rsc *input; input 118 sound/pci/ctxfi/ctamixer.c input = amixer->input; input 123 sound/pci/ctxfi/ctamixer.c if (input) input 124 sound/pci/ctxfi/ctamixer.c input->ops->master(input); input 131 sound/pci/ctxfi/ctamixer.c if (input) { input 133 sound/pci/ctxfi/ctamixer.c input->ops->output_slot(input)); input 134 sound/pci/ctxfi/ctamixer.c input->ops->next_conj(input); input 146 sound/pci/ctxfi/ctamixer.c if (input) input 147 sound/pci/ctxfi/ctamixer.c input->ops->master(input); input 175 sound/pci/ctxfi/ctamixer.c static int amixer_setup(struct amixer *amixer, struct rsc *input, input 178 sound/pci/ctxfi/ctamixer.c amixer_set_input(amixer, input); input 210 sound/pci/ctxfi/ctamixer.c amixer->input = NULL; input 223 sound/pci/ctxfi/ctamixer.c amixer->input = NULL; input 55 sound/pci/ctxfi/ctamixer.h struct rsc *input; /* pointer to a resource acting as source */ input 68 sound/pci/ctxfi/ctamixer.h int (*setup)(struct amixer *amixer, struct rsc *input, input 156 sound/pci/ctxfi/ctdaio.c static int dao_set_left_input(struct dao *dao, struct rsc *input) input 168 sound/pci/ctxfi/ctdaio.c input->ops->master(input); input 171 sound/pci/ctxfi/ctdaio.c entry->slot = input->ops->output_slot(input); input 176 sound/pci/ctxfi/ctdaio.c input->ops->next_conj(input); input 179 sound/pci/ctxfi/ctdaio.c input->ops->master(input); input 185 sound/pci/ctxfi/ctdaio.c static int dao_set_right_input(struct dao *dao, struct rsc *input) input 197 sound/pci/ctxfi/ctdaio.c input->ops->master(input); input 200 sound/pci/ctxfi/ctdaio.c entry->slot = input->ops->output_slot(input); input 205 sound/pci/ctxfi/ctdaio.c input->ops->next_conj(input); input 208 sound/pci/ctxfi/ctdaio.c input->ops->master(input); input 74 sound/pci/ctxfi/ctdaio.h int (*set_left_input)(struct dao *dao, struct rsc *input); input 75 sound/pci/ctxfi/ctdaio.h int (*set_right_input)(struct dao *dao, struct rsc *input); input 1191 sound/pci/ctxfi/cthw20k1.c unsigned char input; /* the input source of ADC */ input 1693 sound/pci/ctxfi/cthw20k1.c static int adc_init_SB055x(struct hw *hw, int input, int mic20db) input 1695 sound/pci/ctxfi/cthw20k1.c return adc_input_select_SB055x(hw, input, mic20db); input 1698 sound/pci/ctxfi/cthw20k1.c static int adc_init_SBx(struct hw *hw, int input, int mic20db) input 1706 sound/pci/ctxfi/cthw20k1.c switch (input) { input 1766 sound/pci/ctxfi/cthw20k1.c return adc_init_SB055x(hw, info->input, info->mic20db); input 1768 sound/pci/ctxfi/cthw20k1.c return adc_init_SBx(hw, info->input, info->mic20db); input 2063 sound/pci/ctxfi/cthw20k1.c adc_info.input = ADC_LINEIN; input 1134 sound/pci/ctxfi/cthw20k2.c unsigned char input; /* the input source of ADC */ input 1781 sound/pci/ctxfi/cthw20k2.c static void hw_wm8775_input_select(struct hw *hw, u8 input, s8 gain_in_db) input 1785 sound/pci/ctxfi/cthw20k2.c if (input > 3) input 1786 sound/pci/ctxfi/cthw20k2.c input = 3; input 1788 sound/pci/ctxfi/cthw20k2.c adcmc = ((u32)1 << input) | 0x100; /* Link L+R gain... */ input 2182 sound/pci/ctxfi/cthw20k2.c adc_info.input = ADC_LINEIN; input 617 sound/pci/ctxfi/ctsrc.c static int srcimp_map(struct srcimp *srcimp, struct src *src, struct rsc *input) input 624 sound/pci/ctxfi/ctsrc.c input->ops->master(input); input 629 sound/pci/ctxfi/ctsrc.c entry->slot = input->ops->output_slot(input); input 636 sound/pci/ctxfi/ctsrc.c input->ops->next_conj(input); input 640 sound/pci/ctxfi/ctsrc.c input->ops->master(input); input 113 sound/pci/ctxfi/ctsrc.h int (*map)(struct srcimp *srcimp, struct src *user, struct rsc *input); input 570 sound/pci/echoaudio/echoaudio_dsp.c static int set_monitor_gain(struct echoaudio *chip, u16 output, u16 input, input 574 sound/pci/echoaudio/echoaudio_dsp.c input >= num_busses_in(chip))) input 580 sound/pci/echoaudio/echoaudio_dsp.c chip->monitor_gain[output][input] = gain; input 581 sound/pci/echoaudio/echoaudio_dsp.c chip->comm_page->monitors[monitor_index(chip, output, input)] = gain; input 178 sound/pci/echoaudio/gina20_dsp.c static int set_input_gain(struct echoaudio *chip, u16 input, int gain) input 180 sound/pci/echoaudio/gina20_dsp.c if (snd_BUG_ON(input >= num_busses_in(chip))) input 186 sound/pci/echoaudio/gina20_dsp.c chip->input_gain[input] = gain; input 188 sound/pci/echoaudio/gina20_dsp.c chip->comm_page->line_in_level[input] = gain; input 252 sound/pci/echoaudio/layla20_dsp.c static int set_input_gain(struct echoaudio *chip, u16 input, int gain) input 254 sound/pci/echoaudio/layla20_dsp.c if (snd_BUG_ON(input >= num_busses_in(chip))) input 260 sound/pci/echoaudio/layla20_dsp.c chip->input_gain[input] = gain; input 262 sound/pci/echoaudio/layla20_dsp.c chip->comm_page->line_in_level[input] = gain; input 1305 sound/pci/emu10k1/emufx.c #define A_ADD_VOLUME_IN(var,vol,input) \ input 1306 sound/pci/emu10k1/emufx.c A_OP(icode, &ptr, iMAC0, A_GPR(var), A_GPR(var), A_GPR(vol), A_EXTIN(input)) input 532 sound/pci/hda/hda_auto_parser.c int input) input 537 sound/pci/hda/hda_auto_parser.c defc = snd_hda_codec_get_pincfg(codec, cfg->inputs[input].pin); input 569 sound/pci/hda/hda_auto_parser.c int input) input 571 sound/pci/hda/hda_auto_parser.c int type = cfg->inputs[input].type; input 574 sound/pci/hda/hda_auto_parser.c if ((input > 0 && cfg->inputs[input - 1].type == type) || input 575 sound/pci/hda/hda_auto_parser.c (input < cfg->num_inputs - 1 && cfg->inputs[input + 1].type == type)) input 578 sound/pci/hda/hda_auto_parser.c has_multiple_pins &= check_mic_location_need(codec, cfg, input); input 580 sound/pci/hda/hda_auto_parser.c return hda_get_input_pin_label(codec, &cfg->inputs[input], input 581 sound/pci/hda/hda_auto_parser.c cfg->inputs[input].pin, input 43 sound/pci/hda/hda_auto_parser.h int input); input 437 sound/pci/rme9652/hdsp.c struct snd_rawmidi_substream *input; input 1352 sound/pci/rme9652/hdsp.c if (hmidi->input) { input 1358 sound/pci/rme9652/hdsp.c snd_rawmidi_receive (hmidi->input, buf, n_pending); input 1450 sound/pci/rme9652/hdsp.c hmidi->input = substream; input 1476 sound/pci/rme9652/hdsp.c hmidi->input = NULL; input 1516 sound/pci/rme9652/hdsp.c hdsp->midi[id].input = NULL; input 5172 sound/pci/rme9652/hdsp.c hdsp->midi[0].input = NULL; input 5173 sound/pci/rme9652/hdsp.c hdsp->midi[1].input = NULL; input 959 sound/pci/rme9652/hdspm.c struct snd_rawmidi_substream *input; input 974 sound/pci/rme9652/hdspm.c int input; /* 0: LTC, 1:Video, 2: WC*/ input 1887 sound/pci/rme9652/hdspm.c if (hmidi->input) { input 1894 sound/pci/rme9652/hdspm.c snd_rawmidi_receive (hmidi->input, buf, input 1990 sound/pci/rme9652/hdspm.c hmidi->input = substream; input 2016 sound/pci/rme9652/hdspm.c hmidi->input = NULL; input 4111 sound/pci/rme9652/hdspm.c switch (hdspm->tco->input) { input 4406 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = hdspm->tco->input; input 4416 sound/pci/rme9652/hdspm.c if (hdspm->tco->input != ucontrol->value.enumerated.item[0]) { input 4417 sound/pci/rme9652/hdspm.c hdspm->tco->input = ucontrol->value.enumerated.item[0]; input 972 sound/soc/codecs/wm8350.c static inline int fll_factors(struct _fll_div *fll_div, unsigned int input, input 991 sound/soc/codecs/wm8350.c if (input > 48000) input 997 sound/soc/codecs/wm8350.c t2 = input * fll_div->ratio; input 657 sound/soc/intel/atom/sst-atom-controls.c cmd.nb_inputs = fill_swm_input(cmpnt, &cmd.input[0], val); input 658 sound/soc/intel/atom/sst-atom-controls.c cmd.header.length = offsetof(struct sst_cmd_set_swm, input) input 660 sound/soc/intel/atom/sst-atom-controls.c + (cmd.nb_inputs * sizeof(cmd.input[0])); input 374 sound/soc/intel/atom/sst-atom-controls.h struct swm_input_ids input[SST_CMD_SWM_MAX_INPUTS]; input 2165 sound/soc/intel/skylake/skl-topology.c m_pin = &res->input[pin_idx]; input 352 sound/soc/intel/skylake/skl-topology.h struct skl_module_pin_resources input[MAX_IN_QUEUE]; input 590 sound/usb/caiaq/input.c struct input_dev *input; input 593 sound/usb/caiaq/input.c input = input_allocate_device(); input 594 sound/usb/caiaq/input.c if (!input) input 600 sound/usb/caiaq/input.c input->name = cdev->product_name; input 601 sound/usb/caiaq/input.c input->phys = cdev->phys; input 602 sound/usb/caiaq/input.c usb_to_input_id(usb_dev, &input->id); input 603 sound/usb/caiaq/input.c input->dev.parent = &usb_dev->dev; input 605 sound/usb/caiaq/input.c input_set_drvdata(input, cdev); input 609 sound/usb/caiaq/input.c input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); input 610 sound/usb/caiaq/input.c input->absbit[0] = BIT_MASK(ABS_X) | BIT_MASK(ABS_Y) | input 614 sound/usb/caiaq/input.c input->keycodemax = ARRAY_SIZE(keycode_rk2); input 615 sound/usb/caiaq/input.c input_set_abs_params(input, ABS_X, 0, 4096, 0, 10); input 616 sound/usb/caiaq/input.c input_set_abs_params(input, ABS_Y, 0, 4096, 0, 10); input 617 sound/usb/caiaq/input.c input_set_abs_params(input, ABS_Z, 0, 4096, 0, 10); input 621 sound/usb/caiaq/input.c input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); input 622 sound/usb/caiaq/input.c input->absbit[0] = BIT_MASK(ABS_X) | BIT_MASK(ABS_Y) | input 626 sound/usb/caiaq/input.c input->keycodemax = ARRAY_SIZE(keycode_rk3); input 627 sound/usb/caiaq/input.c input_set_abs_params(input, ABS_X, 0, 1024, 0, 10); input 628 sound/usb/caiaq/input.c input_set_abs_params(input, ABS_Y, 0, 1024, 0, 10); input 629 sound/usb/caiaq/input.c input_set_abs_params(input, ABS_Z, 0, 1024, 0, 10); input 633 sound/usb/caiaq/input.c input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); input 634 sound/usb/caiaq/input.c input->absbit[0] = BIT_MASK(ABS_X); input 637 sound/usb/caiaq/input.c input->keycodemax = ARRAY_SIZE(keycode_ak1); input 638 sound/usb/caiaq/input.c input_set_abs_params(input, ABS_X, 0, 999, 0, 10); input 643 sound/usb/caiaq/input.c input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); input 644 sound/usb/caiaq/input.c input->absbit[0] = BIT_MASK(ABS_HAT0X) | BIT_MASK(ABS_HAT0Y) | input 650 sound/usb/caiaq/input.c input->absbit[BIT_WORD(ABS_MISC)] |= BIT_MASK(ABS_MISC); input 653 sound/usb/caiaq/input.c input->keycodemax = ARRAY_SIZE(keycode_kore); input 654 sound/usb/caiaq/input.c input_set_abs_params(input, ABS_HAT0X, 0, 999, 0, 10); input 655 sound/usb/caiaq/input.c input_set_abs_params(input, ABS_HAT0Y, 0, 999, 0, 10); input 656 sound/usb/caiaq/input.c input_set_abs_params(input, ABS_HAT1X, 0, 999, 0, 10); input 657 sound/usb/caiaq/input.c input_set_abs_params(input, ABS_HAT1Y, 0, 999, 0, 10); input 658 sound/usb/caiaq/input.c input_set_abs_params(input, ABS_HAT2X, 0, 999, 0, 10); input 659 sound/usb/caiaq/input.c input_set_abs_params(input, ABS_HAT2Y, 0, 999, 0, 10); input 660 sound/usb/caiaq/input.c input_set_abs_params(input, ABS_HAT3X, 0, 999, 0, 10); input 661 sound/usb/caiaq/input.c input_set_abs_params(input, ABS_HAT3Y, 0, 999, 0, 10); input 662 sound/usb/caiaq/input.c input_set_abs_params(input, ABS_X, 0, 4096, 0, 10); input 663 sound/usb/caiaq/input.c input_set_abs_params(input, ABS_Y, 0, 4096, 0, 10); input 664 sound/usb/caiaq/input.c input_set_abs_params(input, ABS_Z, 0, 4096, 0, 10); input 665 sound/usb/caiaq/input.c input_set_abs_params(input, ABS_MISC, 0, 255, 0, 1); input 669 sound/usb/caiaq/input.c input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); input 670 sound/usb/caiaq/input.c input->absbit[0] = BIT_MASK(ABS_HAT0X) | BIT_MASK(ABS_HAT0Y) | input 676 sound/usb/caiaq/input.c input->absbit[BIT_WORD(ABS_MISC)] |= BIT_MASK(ABS_MISC); input 680 sound/usb/caiaq/input.c input->keycodemax = KONTROLX1_INPUTS; input 683 sound/usb/caiaq/input.c input_set_abs_params(input, ABS_HAT0X, 0, 4096, 0, 10); input 684 sound/usb/caiaq/input.c input_set_abs_params(input, ABS_HAT0Y, 0, 4096, 0, 10); input 685 sound/usb/caiaq/input.c input_set_abs_params(input, ABS_HAT1X, 0, 4096, 0, 10); input 686 sound/usb/caiaq/input.c input_set_abs_params(input, ABS_HAT1Y, 0, 4096, 0, 10); input 687 sound/usb/caiaq/input.c input_set_abs_params(input, ABS_HAT2X, 0, 4096, 0, 10); input 688 sound/usb/caiaq/input.c input_set_abs_params(input, ABS_HAT2Y, 0, 4096, 0, 10); input 689 sound/usb/caiaq/input.c input_set_abs_params(input, ABS_HAT3X, 0, 4096, 0, 10); input 690 sound/usb/caiaq/input.c input_set_abs_params(input, ABS_HAT3Y, 0, 4096, 0, 10); input 693 sound/usb/caiaq/input.c input_set_abs_params(input, ABS_X, 0, 0xf, 0, 1); input 694 sound/usb/caiaq/input.c input_set_abs_params(input, ABS_Y, 0, 0xf, 0, 1); input 695 sound/usb/caiaq/input.c input_set_abs_params(input, ABS_Z, 0, 0xf, 0, 1); input 696 sound/usb/caiaq/input.c input_set_abs_params(input, ABS_MISC, 0, 0xf, 0, 1); input 717 sound/usb/caiaq/input.c input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); input 721 sound/usb/caiaq/input.c input->keycodemax = KONTROLS4_BUTTONS; input 725 sound/usb/caiaq/input.c input->absbit[BIT_WORD(axis)] |= BIT_MASK(axis); input 730 sound/usb/caiaq/input.c input_set_abs_params(input, KONTROLS4_ABS(i), 0, 0xfff, 0, 10); input 733 sound/usb/caiaq/input.c input_set_abs_params(input, KONTROLS4_ABS(36), 0, 0x3ff, 0, 1); input 734 sound/usb/caiaq/input.c input_set_abs_params(input, KONTROLS4_ABS(37), 0, 0x3ff, 0, 1); input 738 sound/usb/caiaq/input.c input_set_abs_params(input, KONTROLS4_ABS(38+i), 0, 0xf, 0, 1); input 759 sound/usb/caiaq/input.c input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); input 760 sound/usb/caiaq/input.c input->absbit[0] = BIT_MASK(ABS_HAT0X) | BIT_MASK(ABS_HAT0Y) | input 769 sound/usb/caiaq/input.c input->keycodemax = ARRAY_SIZE(keycode_maschine); input 772 sound/usb/caiaq/input.c input->absbit[0] |= MASCHINE_PAD(i); input 773 sound/usb/caiaq/input.c input_set_abs_params(input, MASCHINE_PAD(i), 0, 0xfff, 5, 10); input 776 sound/usb/caiaq/input.c input_set_abs_params(input, ABS_HAT0X, 0, 999, 0, 10); input 777 sound/usb/caiaq/input.c input_set_abs_params(input, ABS_HAT0Y, 0, 999, 0, 10); input 778 sound/usb/caiaq/input.c input_set_abs_params(input, ABS_HAT1X, 0, 999, 0, 10); input 779 sound/usb/caiaq/input.c input_set_abs_params(input, ABS_HAT1Y, 0, 999, 0, 10); input 780 sound/usb/caiaq/input.c input_set_abs_params(input, ABS_HAT2X, 0, 999, 0, 10); input 781 sound/usb/caiaq/input.c input_set_abs_params(input, ABS_HAT2Y, 0, 999, 0, 10); input 782 sound/usb/caiaq/input.c input_set_abs_params(input, ABS_HAT3X, 0, 999, 0, 10); input 783 sound/usb/caiaq/input.c input_set_abs_params(input, ABS_HAT3Y, 0, 999, 0, 10); input 784 sound/usb/caiaq/input.c input_set_abs_params(input, ABS_RX, 0, 999, 0, 10); input 785 sound/usb/caiaq/input.c input_set_abs_params(input, ABS_RY, 0, 999, 0, 10); input 786 sound/usb/caiaq/input.c input_set_abs_params(input, ABS_RZ, 0, 999, 0, 10); input 810 sound/usb/caiaq/input.c input->open = snd_usb_caiaq_input_open; input 811 sound/usb/caiaq/input.c input->close = snd_usb_caiaq_input_close; input 812 sound/usb/caiaq/input.c input->keycode = cdev->keycode; input 813 sound/usb/caiaq/input.c input->keycodesize = sizeof(unsigned short); input 814 sound/usb/caiaq/input.c for (i = 0; i < input->keycodemax; i++) input 815 sound/usb/caiaq/input.c __set_bit(cdev->keycode[i], input->keybit); input 817 sound/usb/caiaq/input.c cdev->input_dev = input; input 819 sound/usb/caiaq/input.c ret = input_register_device(input); input 826 sound/usb/caiaq/input.c input_free_device(input); input 102 sound/usb/midi.c void (*input)(struct snd_usb_midi_in_endpoint*, uint8_t*, int); input 261 sound/usb/midi.c ep->umidi->usb_protocol_ops->input(ep, urb->transfer_buffer, input 676 sound/usb/midi.c .input = snd_usbmidi_standard_input, input 682 sound/usb/midi.c .input = snd_usbmidi_midiman_input, input 689 sound/usb/midi.c .input = snd_usbmidi_maudio_broken_running_status_input, input 695 sound/usb/midi.c .input = snd_usbmidi_cme_input, input 701 sound/usb/midi.c .input = ch345_broken_sysex_input, input 801 sound/usb/midi.c .input = snd_usbmidi_akai_input, input 841 sound/usb/midi.c .input = snd_usbmidi_novation_input, input 873 sound/usb/midi.c .input = snd_usbmidi_raw_input, input 889 sound/usb/midi.c .input = snd_usbmidi_ftdi_input, input 934 sound/usb/midi.c .input = snd_usbmidi_us122l_input, input 1067 sound/usb/midi.c .input = snd_usbmidi_emagic_input, input 901 tools/firewire/nosy-dump.c FILE *output = NULL, *input = NULL; input 925 tools/firewire/nosy-dump.c input = fopen(option_input, "r"); input 926 tools/firewire/nosy-dump.c if (input == NULL) { input 974 tools/firewire/nosy-dump.c if (input != NULL) { input 975 tools/firewire/nosy-dump.c if (fread(&length, sizeof length, 1, input) != 1) input 977 tools/firewire/nosy-dump.c fread(buf, 1, length, input); input 71 tools/iio/iio_generic_buffer.c void print1byte(uint8_t input, struct iio_channel_info *info) input 77 tools/iio/iio_generic_buffer.c input >>= info->shift; input 78 tools/iio/iio_generic_buffer.c input &= info->mask; input 80 tools/iio/iio_generic_buffer.c int8_t val = (int8_t)(input << (8 - info->bits_used)) >> input 84 tools/iio/iio_generic_buffer.c printf("%05f ", ((float)input + info->offset) * info->scale); input 88 tools/iio/iio_generic_buffer.c void print2byte(uint16_t input, struct iio_channel_info *info) input 92 tools/iio/iio_generic_buffer.c input = be16toh(input); input 94 tools/iio/iio_generic_buffer.c input = le16toh(input); input 100 tools/iio/iio_generic_buffer.c input >>= info->shift; input 101 tools/iio/iio_generic_buffer.c input &= info->mask; input 103 tools/iio/iio_generic_buffer.c int16_t val = (int16_t)(input << (16 - info->bits_used)) >> input 107 tools/iio/iio_generic_buffer.c printf("%05f ", ((float)input + info->offset) * info->scale); input 111 tools/iio/iio_generic_buffer.c void print4byte(uint32_t input, struct iio_channel_info *info) input 115 tools/iio/iio_generic_buffer.c input = be32toh(input); input 117 tools/iio/iio_generic_buffer.c input = le32toh(input); input 123 tools/iio/iio_generic_buffer.c input >>= info->shift; input 124 tools/iio/iio_generic_buffer.c input &= info->mask; input 126 tools/iio/iio_generic_buffer.c int32_t val = (int32_t)(input << (32 - info->bits_used)) >> input 130 tools/iio/iio_generic_buffer.c printf("%05f ", ((float)input + info->offset) * info->scale); input 134 tools/iio/iio_generic_buffer.c void print8byte(uint64_t input, struct iio_channel_info *info) input 138 tools/iio/iio_generic_buffer.c input = be64toh(input); input 140 tools/iio/iio_generic_buffer.c input = le64toh(input); input 146 tools/iio/iio_generic_buffer.c input >>= info->shift; input 147 tools/iio/iio_generic_buffer.c input &= info->mask; input 149 tools/iio/iio_generic_buffer.c int64_t val = (int64_t)(input << (64 - info->bits_used)) >> input 158 tools/iio/iio_generic_buffer.c printf("%05f ", ((float)input + info->offset) * info->scale); input 200 tools/include/uapi/linux/kvm.h __u64 input; input 36 tools/lib/traceevent/parse-filter.c const char *input; input 41 tools/lib/traceevent/parse-filter.c input = tep_get_input_buf(); input 43 tools/lib/traceevent/parse-filter.c len = input ? strlen(input) : 0; input 46 tools/lib/traceevent/parse-filter.c strcpy(error_buf, input); input 3814 tools/perf/builtin-script.c int input; input 3823 tools/perf/builtin-script.c input = open(data.path, O_RDONLY); /* input_name */ input 3824 tools/perf/builtin-script.c if (input < 0) { input 3830 tools/perf/builtin-script.c err = fstat(input, &perf_stat); input 71 tools/perf/ui/browser.h int ui_browser__input_window(const char *title, const char *text, char *input, input 71 tools/perf/ui/tui/util.c int ui_browser__input_window(const char *title, const char *text, char *input, input 159 tools/perf/ui/tui/util.c strncpy(input, buf, len+1); input 11 tools/perf/util/compress.h int gzip_decompress_to_file(const char *input, int output_fd); input 12 tools/perf/util/compress.h bool gzip_is_compressed(const char *input); input 16 tools/perf/util/compress.h int lzma_decompress_to_file(const char *input, int output_fd); input 17 tools/perf/util/compress.h bool lzma_is_compressed(const char *input); input 1576 tools/perf/util/data-convert-bt.c int bt_convert__perf2ctf(const char *input, const char *path, input 1581 tools/perf/util/data-convert-bt.c .path = input, input 208 tools/perf/util/dso.c int (*decompress)(const char *input, int output); input 209 tools/perf/util/dso.c bool (*is_compressed)(const char *input); input 1947 tools/perf/util/header.c int input, u64 offset, u64 size) input 1962 tools/perf/util/header.c if (readn(input, &old_bev, sizeof(old_bev)) != sizeof(old_bev)) input 1969 tools/perf/util/header.c if (readn(input, filename, len) != len) input 1993 tools/perf/util/header.c int input, u64 offset, u64 size) input 2004 tools/perf/util/header.c if (readn(input, &bev, sizeof(bev)) != sizeof(bev)) input 2011 tools/perf/util/header.c if (readn(input, filename, len) != len) input 2027 tools/perf/util/header.c if (lseek(input, orig_offset, SEEK_SET) == (off_t)-1) input 2029 tools/perf/util/header.c return perf_header__read_build_ids_abi_quirk(header, input, offset, size); input 66 tools/perf/util/jitdump.c struct perf_data input; input 35 tools/perf/util/lzma.c int lzma_decompress_to_file(const char *input, int output_fd) input 46 tools/perf/util/lzma.c infile = fopen(input, "rb"); input 49 tools/perf/util/lzma.c input, strerror(errno)); input 108 tools/perf/util/lzma.c bool lzma_is_compressed(const char *input) input 110 tools/perf/util/lzma.c int fd = open(input, O_RDONLY); input 131 tools/perf/util/srcline.c const char *input; input 249 tools/perf/util/srcline.c a2l->input = strdup(path); input 250 tools/perf/util/srcline.c if (a2l->input == NULL) input 260 tools/perf/util/srcline.c zfree((char **)&a2l->input); input 271 tools/perf/util/srcline.c zfree((char **)&a2l->input); input 16 tools/perf/util/zlib.c int gzip_decompress_to_file(const char *input, int output_fd) input 32 tools/perf/util/zlib.c input_fd = open(input, O_RDONLY); input 83 tools/perf/util/zlib.c bool gzip_is_compressed(const char *input) input 85 tools/perf/util/zlib.c int fd = open(input, O_RDONLY); input 62 tools/perf/util/zstd.c ZSTD_inBuffer input = { src, src_size, 0 }; input 66 tools/perf/util/zstd.c while (input.pos < input.size) { input 74 tools/perf/util/zstd.c ret = ZSTD_compressStream(data->cstream, &output, &input); input 96 tools/perf/util/zstd.c ZSTD_inBuffer input = { src, src_size, 0 }; input 99 tools/perf/util/zstd.c while (input.pos < input.size) { input 100 tools/perf/util/zstd.c ret = ZSTD_decompressStream(data->dstream, &output, &input); input 3500 tools/power/x86/turbostat/turbostat.c FILE *input; input 3511 tools/power/x86/turbostat/turbostat.c input = fopen(path, "r"); input 3512 tools/power/x86/turbostat/turbostat.c if (input == NULL) input 3514 tools/power/x86/turbostat/turbostat.c if (!fgets(name_buf, sizeof(name_buf), input)) input 3522 tools/power/x86/turbostat/turbostat.c fclose(input); input 3526 tools/power/x86/turbostat/turbostat.c input = fopen(path, "r"); input 3527 tools/power/x86/turbostat/turbostat.c if (input == NULL) input 3529 tools/power/x86/turbostat/turbostat.c if (!fgets(desc, sizeof(desc), input)) input 3533 tools/power/x86/turbostat/turbostat.c fclose(input); input 3542 tools/power/x86/turbostat/turbostat.c FILE *input; input 3547 tools/power/x86/turbostat/turbostat.c input = fopen(path, "r"); input 3548 tools/power/x86/turbostat/turbostat.c if (input == NULL) { input 3552 tools/power/x86/turbostat/turbostat.c if (!fgets(driver_buf, sizeof(driver_buf), input)) input 3554 tools/power/x86/turbostat/turbostat.c fclose(input); input 3558 tools/power/x86/turbostat/turbostat.c input = fopen(path, "r"); input 3559 tools/power/x86/turbostat/turbostat.c if (input == NULL) { input 3563 tools/power/x86/turbostat/turbostat.c if (!fgets(governor_buf, sizeof(governor_buf), input)) input 3565 tools/power/x86/turbostat/turbostat.c fclose(input); input 3571 tools/power/x86/turbostat/turbostat.c input = fopen(path, "r"); input 3572 tools/power/x86/turbostat/turbostat.c if (input != NULL) { input 3573 tools/power/x86/turbostat/turbostat.c if (fscanf(input, "%d", &turbo) != 1) input 3576 tools/power/x86/turbostat/turbostat.c fclose(input); input 3580 tools/power/x86/turbostat/turbostat.c input = fopen(path, "r"); input 3581 tools/power/x86/turbostat/turbostat.c if (input != NULL) { input 3582 tools/power/x86/turbostat/turbostat.c if (fscanf(input, "%d", &turbo) != 1) input 3585 tools/power/x86/turbostat/turbostat.c fclose(input); input 5511 tools/power/x86/turbostat/turbostat.c FILE *input; input 5522 tools/power/x86/turbostat/turbostat.c input = fopen(path, "r"); input 5523 tools/power/x86/turbostat/turbostat.c if (input == NULL) input 5525 tools/power/x86/turbostat/turbostat.c if (!fgets(name_buf, sizeof(name_buf), input)) input 5535 tools/power/x86/turbostat/turbostat.c fclose(input); input 5550 tools/power/x86/turbostat/turbostat.c input = fopen(path, "r"); input 5551 tools/power/x86/turbostat/turbostat.c if (input == NULL) input 5553 tools/power/x86/turbostat/turbostat.c if (!fgets(name_buf, sizeof(name_buf), input)) input 5560 tools/power/x86/turbostat/turbostat.c fclose(input); input 20 tools/testing/selftests/bpf/prog_tests/core_reloc.c .input = FLAVORS_DATA(core_reloc_##name), \ input 43 tools/testing/selftests/bpf/prog_tests/core_reloc.c .input = NESTING_DATA(core_reloc_##name), \ input 68 tools/testing/selftests/bpf/prog_tests/core_reloc.c .input = ARRAYS_DATA(core_reloc_##name), \ input 99 tools/testing/selftests/bpf/prog_tests/core_reloc.c .input = PRIMITIVES_DATA(core_reloc_##name), \ input 114 tools/testing/selftests/bpf/prog_tests/core_reloc.c .input = STRUCT_TO_CHAR_PTR(core_reloc_##name) { \ input 136 tools/testing/selftests/bpf/prog_tests/core_reloc.c .input = (const char *)&(struct core_reloc_##name []){ \ input 166 tools/testing/selftests/bpf/prog_tests/core_reloc.c .input = INTS_DATA(core_reloc_##name), \ input 181 tools/testing/selftests/bpf/prog_tests/core_reloc.c const char *input; input 194 tools/testing/selftests/bpf/prog_tests/core_reloc.c .input = "", input 269 tools/testing/selftests/bpf/prog_tests/core_reloc.c .input = (const char *)&(struct core_reloc_misc_extensible[]){ input 345 tools/testing/selftests/bpf/prog_tests/core_reloc.c memcpy(data.in, test_case->input, test_case->input_len); input 369 tools/testing/selftests/bpf/prog_tests/core_reloc.c j, test_case->input[j]); input 6265 tools/testing/selftests/bpf/test_btf.c struct btf_raw_data input; input 6274 tools/testing/selftests/bpf/test_btf.c .input = { input 6296 tools/testing/selftests/bpf/test_btf.c .input = { input 6329 tools/testing/selftests/bpf/test_btf.c .input = { input 6403 tools/testing/selftests/bpf/test_btf.c .input = { input 6446 tools/testing/selftests/bpf/test_btf.c .input = { input 6483 tools/testing/selftests/bpf/test_btf.c .input = { input 6539 tools/testing/selftests/bpf/test_btf.c .input = { input 6581 tools/testing/selftests/bpf/test_btf.c .input = { input 6625 tools/testing/selftests/bpf/test_btf.c .input = { input 6736 tools/testing/selftests/bpf/test_btf.c raw_btf = btf_raw_create(&hdr_tmpl, test->input.raw_types, input 6737 tools/testing/selftests/bpf/test_btf.c test->input.str_sec, test->input.str_sec_size, input 424 tools/testing/selftests/bpf/test_progs.c struct test_env *env = state->input; input 83 tools/testing/selftests/powerpc/tm/tm-unavailable.c void *tm_una_ping(void *input) input 23 tools/testing/selftests/powerpc/vphn/test-vphn.c long input[VPHN_REGISTER_COUNT]; input 371 tools/testing/selftests/powerpc/vphn/test-vphn.c vphn_unpack_associativity(test->input, output); input 36 tools/wmi/dell-smbios-example.c buffer->std.input[0], buffer->std.input[1], input 37 tools/wmi/dell-smbios-example.c buffer->std.input[2], buffer->std.input[3], input 101 tools/wmi/dell-smbios-example.c buffer->std.input[0] = *location; input 137 tools/wmi/dell-smbios-example.c buffer->std.input[0] = location; input 138 tools/wmi/dell-smbios-example.c buffer->std.input[1] = 1; input 179 tools/wmi/dell-smbios-example.c buffer->std.input[0] = 2;