field 328 arch/arm/include/asm/cputype.h int field) field 330 arch/arm/include/asm/cputype.h int feature = (features >> field) & 15; field 339 arch/arm/include/asm/cputype.h #define cpuid_feature_extract(reg, field) \ field 340 arch/arm/include/asm/cputype.h cpuid_feature_extract_field(read_cpuid_ext(reg), field) field 36 arch/arm/include/asm/vfpmacros.h and \tmp, \tmp, #MVFR0_A_SIMD_MASK @ A_SIMD field field 60 arch/arm/include/asm/vfpmacros.h and \tmp, \tmp, #MVFR0_A_SIMD_MASK @ A_SIMD field field 61 arch/arm/mach-at91/pm.c #define at91_ramc_read(id, field) \ field 62 arch/arm/mach-at91/pm.c __raw_readl(soc_pm.data.ramc[id] + field) field 64 arch/arm/mach-at91/pm.c #define at91_ramc_write(id, field, value) \ field 65 arch/arm/mach-at91/pm.c __raw_writel(value, soc_pm.data.ramc[id] + field) field 460 arch/arm/mach-davinci/dm355.c static int dm355_vpbe_setup_pinmux(u32 if_type, int field) field 467 arch/arm/mach-davinci/dm355.c if (field) field 946 arch/arm/mach-davinci/dm365.c static int dm365_vpbe_setup_pinmux(u32 if_type, int field) field 955 arch/arm/mach-davinci/dm365.c if (field) field 36 arch/arm/mach-imx/iomux-imx31.c u32 field; field 42 arch/arm/mach-imx/iomux-imx31.c field = pin_mode & 0x3; field 48 arch/arm/mach-imx/iomux-imx31.c l &= ~(0xff << (field * 8)); field 49 arch/arm/mach-imx/iomux-imx31.c l |= mode << (field * 8); field 60 arch/arm/mach-imx/iomux-imx31.c u32 field, l; field 65 arch/arm/mach-imx/iomux-imx31.c field = (pin + 2) % 3; field 68 arch/arm/mach-imx/iomux-imx31.c __func__, (pin + 2) / 3, field); field 73 arch/arm/mach-imx/iomux-imx31.c l &= ~(0x1ff << (field * 10)); field 74 arch/arm/mach-imx/iomux-imx31.c l |= config << (field * 10); field 427 arch/arm64/include/asm/cpufeature.h cpuid_feature_extract_signed_field_width(u64 features, int field, int width) field 429 arch/arm64/include/asm/cpufeature.h return (s64)(features << (64 - width - field)) >> (64 - width); field 433 arch/arm64/include/asm/cpufeature.h cpuid_feature_extract_signed_field(u64 features, int field) field 435 arch/arm64/include/asm/cpufeature.h return cpuid_feature_extract_signed_field_width(features, field, 4); field 439 arch/arm64/include/asm/cpufeature.h cpuid_feature_extract_unsigned_field_width(u64 features, int field, int width) field 441 arch/arm64/include/asm/cpufeature.h return (u64)(features << (64 - width - field)) >> (64 - width); field 445 arch/arm64/include/asm/cpufeature.h cpuid_feature_extract_unsigned_field(u64 features, int field) field 447 arch/arm64/include/asm/cpufeature.h return cpuid_feature_extract_unsigned_field_width(features, field, 4); field 461 arch/arm64/include/asm/cpufeature.h cpuid_feature_extract_field_width(u64 features, int field, int width, bool sign) field 464 arch/arm64/include/asm/cpufeature.h cpuid_feature_extract_signed_field_width(features, field, width) : field 465 arch/arm64/include/asm/cpufeature.h cpuid_feature_extract_unsigned_field_width(features, field, width); field 469 arch/arm64/include/asm/cpufeature.h cpuid_feature_extract_field(u64 features, int field, bool sign) field 471 arch/arm64/include/asm/cpufeature.h return cpuid_feature_extract_field_width(features, field, 4, sign); field 25 arch/arm64/include/asm/image.h #define arm64_image_flag_field(flags, field) \ field 26 arch/arm64/include/asm/image.h (((flags) >> field##_SHIFT) & field##_MASK) field 1570 arch/arm64/kernel/cpufeature.c #define HWCAP_CPUID_MATCH(reg, field, s, min_value) \ field 1573 arch/arm64/kernel/cpufeature.c .field_pos = field, \ field 1583 arch/arm64/kernel/cpufeature.c #define HWCAP_CAP(reg, field, s, min_value, cap_type, cap) \ field 1586 arch/arm64/kernel/cpufeature.c HWCAP_CPUID_MATCH(reg, field, s, min_value) \ field 41 arch/arm64/kernel/image.h #define __HEAD_FLAG(field) (__HEAD_FLAG_##field << \ field 42 arch/arm64/kernel/image.h ARM64_IMAGE_FLAG_##field##_SHIFT) field 824 arch/ia64/kernel/setup.c } field; field 834 arch/ia64/kernel/setup.c memcpy(c->vendor, cpuid.field.vendor, 16); field 849 arch/ia64/kernel/setup.c c->ppn = cpuid.field.ppn; field 850 arch/ia64/kernel/setup.c c->number = cpuid.field.number; field 851 arch/ia64/kernel/setup.c c->revision = cpuid.field.revision; field 852 arch/ia64/kernel/setup.c c->model = cpuid.field.model; field 853 arch/ia64/kernel/setup.c c->family = cpuid.field.family; field 854 arch/ia64/kernel/setup.c c->archrev = cpuid.field.archrev; field 855 arch/ia64/kernel/setup.c c->features = cpuid.field.features; field 180 arch/m68k/fpsp040/fpsp.h .set size_bit2,12 | bit 2 in size field field 21 arch/m68k/include/asm/MC68328.h #define PUT_FIELD(field, val) (((val) << field##_SHIFT) & field##_MASK) field 22 arch/m68k/include/asm/MC68328.h #define GET_FIELD(reg, field) (((reg) & field##_MASK) >> field##_SHIFT) field 22 arch/m68k/include/asm/MC68EZ328.h #define PUT_FIELD(field, val) (((val) << field##_SHIFT) & field##_MASK) field 23 arch/m68k/include/asm/MC68EZ328.h #define GET_FIELD(reg, field) (((reg) & field##_MASK) >> field##_SHIFT) field 24 arch/m68k/include/asm/MC68VZ328.h #define PUT_FIELD(field, val) (((val) << field##_SHIFT) & field##_MASK) field 25 arch/m68k/include/asm/MC68VZ328.h #define GET_FIELD(reg, field) (((reg) & field##_MASK) >> field##_SHIFT) field 52 arch/mips/cavium-octeon/executive/cvmx-bootmem.c #define SIZEOF_FIELD(s, field) sizeof(((s *)NULL)->field) field 65 arch/mips/cavium-octeon/executive/cvmx-bootmem.c #define CVMX_BOOTMEM_NAMED_GET_FIELD(addr, field) \ field 67 arch/mips/cavium-octeon/executive/cvmx-bootmem.c offsetof(struct cvmx_bootmem_named_block_desc, field), \ field 68 arch/mips/cavium-octeon/executive/cvmx-bootmem.c SIZEOF_FIELD(struct cvmx_bootmem_named_block_desc, field)) field 51 arch/mips/cavium-octeon/executive/cvmx-l2c.c uint32_t field; field 64 arch/mips/cavium-octeon/executive/cvmx-l2c.c field = (core & 0x3) * 8; field 73 arch/mips/cavium-octeon/executive/cvmx-l2c.c return (cvmx_read_csr(CVMX_L2C_SPAR0) & (0xFF << field)) >> field; field 75 arch/mips/cavium-octeon/executive/cvmx-l2c.c return (cvmx_read_csr(CVMX_L2C_SPAR1) & (0xFF << field)) >> field; field 77 arch/mips/cavium-octeon/executive/cvmx-l2c.c return (cvmx_read_csr(CVMX_L2C_SPAR2) & (0xFF << field)) >> field; field 79 arch/mips/cavium-octeon/executive/cvmx-l2c.c return (cvmx_read_csr(CVMX_L2C_SPAR3) & (0xFF << field)) >> field; field 86 arch/mips/cavium-octeon/executive/cvmx-l2c.c uint32_t field; field 110 arch/mips/cavium-octeon/executive/cvmx-l2c.c field = (core & 0x3) * 8; field 120 arch/mips/cavium-octeon/executive/cvmx-l2c.c (cvmx_read_csr(CVMX_L2C_SPAR0) & ~(0xFF << field)) | field 121 arch/mips/cavium-octeon/executive/cvmx-l2c.c mask << field); field 125 arch/mips/cavium-octeon/executive/cvmx-l2c.c (cvmx_read_csr(CVMX_L2C_SPAR1) & ~(0xFF << field)) | field 126 arch/mips/cavium-octeon/executive/cvmx-l2c.c mask << field); field 130 arch/mips/cavium-octeon/executive/cvmx-l2c.c (cvmx_read_csr(CVMX_L2C_SPAR2) & ~(0xFF << field)) | field 131 arch/mips/cavium-octeon/executive/cvmx-l2c.c mask << field); field 135 arch/mips/cavium-octeon/executive/cvmx-l2c.c (cvmx_read_csr(CVMX_L2C_SPAR3) & ~(0xFF << field)) | field 136 arch/mips/cavium-octeon/executive/cvmx-l2c.c mask << field); field 20 arch/mips/include/asm/mach-pnx833x/pnx833x.h #define PNX833X_BIT(val, reg, field) ((val) & PNX833X_##reg##_##field) field 21 arch/mips/include/asm/mach-pnx833x/pnx833x.h #define PNX833X_REGBIT(reg, field) PNX833X_BIT(PNX833X_##reg, reg, field) field 24 arch/mips/include/asm/mach-pnx833x/pnx833x.h #define PNX_FIELD(cpu, val, reg, field) \ field 25 arch/mips/include/asm/mach-pnx833x/pnx833x.h (((val) & PNX##cpu##_##reg##_##field##_MASK) >> \ field 26 arch/mips/include/asm/mach-pnx833x/pnx833x.h PNX##cpu##_##reg##_##field##_SHIFT) field 27 arch/mips/include/asm/mach-pnx833x/pnx833x.h #define PNX833X_FIELD(val, reg, field) PNX_FIELD(833X, val, reg, field) field 28 arch/mips/include/asm/mach-pnx833x/pnx833x.h #define PNX8330_FIELD(val, reg, field) PNX_FIELD(8330, val, reg, field) field 29 arch/mips/include/asm/mach-pnx833x/pnx833x.h #define PNX8335_FIELD(val, reg, field) PNX_FIELD(8335, val, reg, field) field 32 arch/mips/include/asm/mach-pnx833x/pnx833x.h #define PNX833X_REGFIELD(reg, field) PNX833X_FIELD(PNX833X_##reg, reg, field) field 33 arch/mips/include/asm/mach-pnx833x/pnx833x.h #define PNX8330_REGFIELD(reg, field) PNX8330_FIELD(PNX8330_##reg, reg, field) field 34 arch/mips/include/asm/mach-pnx833x/pnx833x.h #define PNX8335_REGFIELD(reg, field) PNX8335_FIELD(PNX8335_##reg, reg, field) field 37 arch/mips/include/asm/mach-pnx833x/pnx833x.h #define PNX_WRITEFIELD(cpu, val, reg, field) \ field 38 arch/mips/include/asm/mach-pnx833x/pnx833x.h (PNX##cpu##_##reg = (PNX##cpu##_##reg & ~(PNX##cpu##_##reg##_##field##_MASK)) | \ field 39 arch/mips/include/asm/mach-pnx833x/pnx833x.h ((val) << PNX##cpu##_##reg##_##field##_SHIFT)) field 40 arch/mips/include/asm/mach-pnx833x/pnx833x.h #define PNX833X_WRITEFIELD(val, reg, field) \ field 41 arch/mips/include/asm/mach-pnx833x/pnx833x.h PNX_WRITEFIELD(833X, val, reg, field) field 42 arch/mips/include/asm/mach-pnx833x/pnx833x.h #define PNX8330_WRITEFIELD(val, reg, field) \ field 43 arch/mips/include/asm/mach-pnx833x/pnx833x.h PNX_WRITEFIELD(8330, val, reg, field) field 44 arch/mips/include/asm/mach-pnx833x/pnx833x.h #define PNX8335_WRITEFIELD(val, reg, field) \ field 45 arch/mips/include/asm/mach-pnx833x/pnx833x.h PNX_WRITEFIELD(8335, val, reg, field) field 456 arch/mips/include/asm/octeon/cvmx.h #define CVMX_WAIT_FOR_FIELD64(address, type, field, op, value, timeout_usec)\ field 466 arch/mips/include/asm/octeon/cvmx.h if ((c.s.field) op(value)) { \ field 16 arch/mips/include/uapi/asm/bitfield.h #define __BITFIELD_FIELD(field, more) \ field 17 arch/mips/include/uapi/asm/bitfield.h field; \ field 22 arch/mips/include/uapi/asm/bitfield.h #define __BITFIELD_FIELD(field, more) \ field 24 arch/mips/include/uapi/asm/bitfield.h field; field 169 arch/mips/kernel/traps.c const int field = 2 * sizeof(unsigned long); field 177 arch/mips/kernel/traps.c if (i && ((i % (64 / field)) == 0)) { field 191 arch/mips/kernel/traps.c pr_cont(" %0*lx", field, stackdata); field 253 arch/mips/kernel/traps.c const int field = 2 * sizeof(unsigned long); field 267 arch/mips/kernel/traps.c pr_cont(" %0*lx", field, 0UL); field 269 arch/mips/kernel/traps.c pr_cont(" %*s", field, ""); field 271 arch/mips/kernel/traps.c pr_cont(" %0*lx", field, regs->regs[i]); field 279 arch/mips/kernel/traps.c printk("Acx : %0*lx\n", field, regs->acx); field 282 arch/mips/kernel/traps.c printk("Hi : %0*lx\n", field, regs->hi); field 283 arch/mips/kernel/traps.c printk("Lo : %0*lx\n", field, regs->lo); field 289 arch/mips/kernel/traps.c printk("epc : %0*lx %pS\n", field, regs->cp0_epc, field 291 arch/mips/kernel/traps.c printk("ra : %0*lx %pS\n", field, regs->regs[31], field 343 arch/mips/kernel/traps.c printk("BadVA : %0*lx\n", field, regs->cp0_badvaddr); field 360 arch/mips/kernel/traps.c const int field = 2 * sizeof(unsigned long); field 367 arch/mips/kernel/traps.c field, current_thread_info()->tp_value); field 373 arch/mips/kernel/traps.c printk("*HwTLS: %0*lx\n", field, tls); field 442 arch/mips/kernel/traps.c const int field = 2 * sizeof(unsigned long); field 479 arch/mips/kernel/traps.c field, regs->cp0_epc, field, regs->regs[31]); field 1785 arch/mips/kernel/traps.c const int field = 2 * sizeof(unsigned long); field 1790 arch/mips/kernel/traps.c printk("cp0_errorepc == %0*lx\n", field, read_c0_errorepc()); field 1822 arch/mips/kernel/traps.c printk("DErrAddr0: 0x%0*lx\n", field, read_c0_derraddr0()); field 1825 arch/mips/kernel/traps.c printk("DErrAddr1: 0x%0*lx\n", field, read_c0_derraddr1()); field 1833 arch/mips/kernel/traps.c const int field = 2 * sizeof(unsigned long); field 1842 arch/mips/kernel/traps.c pr_err("cp0_errorepc == %0*lx\n", field, read_c0_errorepc()); field 1866 arch/mips/kernel/traps.c const int field = 2 * sizeof(unsigned long); field 1873 arch/mips/kernel/traps.c printk(KERN_DEBUG "c0_depc = %0*lx, DEBUG = %08x\n", field, depc, debug); field 20 arch/mips/lib/dump_tlb.c const int field = 2 * sizeof(unsigned long); field 26 arch/mips/lib/dump_tlb.c pr_info("EntryHi : %0*lx\n", field, read_c0_entryhi()); field 27 arch/mips/lib/dump_tlb.c pr_info("EntryLo0 : %0*lx\n", field, read_c0_entrylo0()); field 28 arch/mips/lib/dump_tlb.c pr_info("EntryLo1 : %0*lx\n", field, read_c0_entrylo1()); field 41 arch/mips/lib/dump_tlb.c pr_info("PWField : %0*lx\n", field, read_c0_pwfield()); field 42 arch/mips/lib/dump_tlb.c pr_info("PWSize : %0*lx\n", field, read_c0_pwsize()); field 44 arch/mips/mm/fault.c const int field = sizeof(unsigned long) * 2; field 53 arch/mips/mm/fault.c current->comm, current->pid, field, address, write, field 54 arch/mips/mm/fault.c field, regs->cp0_epc); field 128 arch/mips/mm/fault.c field, address, write, field 129 arch/mips/mm/fault.c field, regs->cp0_epc); field 139 arch/mips/mm/fault.c field, address, write, field 140 arch/mips/mm/fault.c field, regs->cp0_epc); field 215 arch/mips/mm/fault.c field, address); field 216 arch/mips/mm/fault.c pr_info("epc = %0*lx in", field, field 220 arch/mips/mm/fault.c pr_info("ra = %0*lx in", field, field 245 arch/mips/mm/fault.c raw_smp_processor_id(), field, address, field, regs->cp0_epc, field 246 arch/mips/mm/fault.c field, regs->regs[31]); field 276 arch/mips/mm/fault.c field, address, field 277 arch/mips/mm/fault.c field, (unsigned long) regs->cp0_epc, field 278 arch/mips/mm/fault.c field, (unsigned long) regs->regs[31]); field 2437 arch/mips/mm/tlbex.c const int field = 2 * sizeof(unsigned long); field 2441 arch/mips/mm/tlbex.c field, config, field 2450 arch/mips/mm/tlbex.c field, config, field 91 arch/mips/sgi-ip22/ip22-berr.c const int field = 2 * sizeof(unsigned long); field 98 arch/mips/sgi-ip22/ip22-berr.c field, regs->cp0_epc, field, regs->regs[31]); field 241 arch/mips/sgi-ip22/ip28-berr.c const int field = 2 * sizeof(unsigned long); field 301 arch/mips/sgi-ip22/ip28-berr.c field, regs->cp0_epc, field, regs->regs[31]); field 29 arch/mips/sgi-ip32/crime.c const int field = 2 * sizeof(unsigned long); field 39 arch/mips/sgi-ip32/crime.c id, rev, field, (unsigned long) CRIME_BASE); field 104 arch/mips/txx9/generic/smsc_fdc37m81x.c const int field = sizeof(unsigned long) * 2; field 108 arch/mips/txx9/generic/smsc_fdc37m81x.c pr_warn("%s: stepping on old base=0x%0*lx\n", __func__, field, field 588 arch/parisc/kernel/drivers.c #define pa_dev_attr(name, field, format_string) \ field 592 arch/parisc/kernel/drivers.c return sprintf(buf, format_string, padev->field); \ field 596 arch/parisc/kernel/drivers.c #define pa_dev_attr_id(field, format) pa_dev_attr(field, id.field, format) field 294 arch/powerpc/platforms/ps3/os-area.c static void dump_field(char *s, const u8 *field, int size_of_field) field 300 arch/powerpc/platforms/ps3/os-area.c s[i] = isprint(field[i]) ? field[i] : '.'; field 29 arch/powerpc/platforms/pseries/vphn.c const __be16 *field = (const __be16 *) be_packed; field 42 arch/powerpc/platforms/pseries/vphn.c u16 new = be16_to_cpup(field++); field 4043 arch/powerpc/xmon/xmon.c #define DUMP_VALUE(format, field, value) \ field 4049 arch/powerpc/xmon/xmon.c #field, value); \ field 4055 arch/powerpc/xmon/xmon.c DUMP_WIDTH, #field); \ field 4060 arch/powerpc/xmon/xmon.c #define DUMP_FIELD(obj, format, field) \ field 4061 arch/powerpc/xmon/xmon.c DUMP_VALUE(format, field, obj->field) field 21 arch/riscv/include/asm/image.h #define __HEAD_FLAG(field) (__HEAD_FLAG_##field << \ field 22 arch/riscv/include/asm/image.h RISCV_IMAGE_FLAG_##field##_SHIFT) field 109 arch/sh/drivers/dma/dma-sysfs.c #define dma_ro_attr(field, fmt) \ field 110 arch/sh/drivers/dma/dma-sysfs.c static ssize_t dma_show_##field(struct device *dev, \ field 114 arch/sh/drivers/dma/dma-sysfs.c return sprintf(buf, fmt, channel->field); \ field 116 arch/sh/drivers/dma/dma-sysfs.c static DEVICE_ATTR(field, S_IRUGO, dma_show_##field, NULL); field 85 arch/x86/kernel/sysfb_efi.c #define choose_value(dmivalue, fwvalue, field, flags) ({ \ field 87 arch/x86/kernel/sysfb_efi.c if ((flags) & (field)) \ field 77 arch/x86/kvm/vmx/evmcs.h static __always_inline int get_evmcs_offset(unsigned long field, field 80 arch/x86/kvm/vmx/evmcs.h unsigned int index = ROL16(field, 6); field 85 arch/x86/kvm/vmx/evmcs.h field); field 99 arch/x86/kvm/vmx/evmcs.h static inline void evmcs_write64(unsigned long field, u64 value) field 102 arch/x86/kvm/vmx/evmcs.h int offset = get_evmcs_offset(field, &clean_field); field 112 arch/x86/kvm/vmx/evmcs.h static inline void evmcs_write32(unsigned long field, u32 value) field 115 arch/x86/kvm/vmx/evmcs.h int offset = get_evmcs_offset(field, &clean_field); field 124 arch/x86/kvm/vmx/evmcs.h static inline void evmcs_write16(unsigned long field, u16 value) field 127 arch/x86/kvm/vmx/evmcs.h int offset = get_evmcs_offset(field, &clean_field); field 136 arch/x86/kvm/vmx/evmcs.h static inline u64 evmcs_read64(unsigned long field) field 138 arch/x86/kvm/vmx/evmcs.h int offset = get_evmcs_offset(field, NULL); field 146 arch/x86/kvm/vmx/evmcs.h static inline u32 evmcs_read32(unsigned long field) field 148 arch/x86/kvm/vmx/evmcs.h int offset = get_evmcs_offset(field, NULL); field 156 arch/x86/kvm/vmx/evmcs.h static inline u16 evmcs_read16(unsigned long field) field 158 arch/x86/kvm/vmx/evmcs.h int offset = get_evmcs_offset(field, NULL); field 189 arch/x86/kvm/vmx/evmcs.h static inline void evmcs_write64(unsigned long field, u64 value) {} field 190 arch/x86/kvm/vmx/evmcs.h static inline void evmcs_write32(unsigned long field, u32 value) {} field 191 arch/x86/kvm/vmx/evmcs.h static inline void evmcs_write16(unsigned long field, u16 value) {} field 192 arch/x86/kvm/vmx/evmcs.h static inline u64 evmcs_read64(unsigned long field) { return 0; } field 193 arch/x86/kvm/vmx/evmcs.h static inline u32 evmcs_read32(unsigned long field) { return 0; } field 194 arch/x86/kvm/vmx/evmcs.h static inline u16 evmcs_read16(unsigned long field) { return 0; } field 79 arch/x86/kvm/vmx/nested.c u16 field = entry.encoding; field 81 arch/x86/kvm/vmx/nested.c if (vmcs_field_width(field) == VMCS_FIELD_WIDTH_U64 && field 83 arch/x86/kvm/vmx/nested.c shadow_read_only_fields[i + 1].encoding != field + 1)) field 85 arch/x86/kvm/vmx/nested.c field + 1); field 87 arch/x86/kvm/vmx/nested.c clear_bit(field, vmx_vmread_bitmap); field 88 arch/x86/kvm/vmx/nested.c if (field & 1) field 100 arch/x86/kvm/vmx/nested.c u16 field = entry.encoding; field 102 arch/x86/kvm/vmx/nested.c if (vmcs_field_width(field) == VMCS_FIELD_WIDTH_U64 && field 104 arch/x86/kvm/vmx/nested.c shadow_read_write_fields[i + 1].encoding != field + 1)) field 106 arch/x86/kvm/vmx/nested.c field + 1); field 108 arch/x86/kvm/vmx/nested.c WARN_ONCE(field >= GUEST_ES_AR_BYTES && field 109 arch/x86/kvm/vmx/nested.c field <= GUEST_TR_AR_BYTES, field 117 arch/x86/kvm/vmx/nested.c switch (field) { field 134 arch/x86/kvm/vmx/nested.c clear_bit(field, vmx_vmwrite_bitmap); field 135 arch/x86/kvm/vmx/nested.c clear_bit(field, vmx_vmread_bitmap); field 136 arch/x86/kvm/vmx/nested.c if (field & 1) field 1370 arch/x86/kvm/vmx/nested.c struct shadow_vmcs_field field; field 1382 arch/x86/kvm/vmx/nested.c field = shadow_read_write_fields[i]; field 1383 arch/x86/kvm/vmx/nested.c val = __vmcs_readl(field.encoding); field 1384 arch/x86/kvm/vmx/nested.c vmcs12_write_any(vmcs12, field.encoding, field.offset, val); field 1405 arch/x86/kvm/vmx/nested.c struct shadow_vmcs_field field; field 1416 arch/x86/kvm/vmx/nested.c field = fields[q][i]; field 1417 arch/x86/kvm/vmx/nested.c val = vmcs12_read_any(vmcs12, field.encoding, field 1418 arch/x86/kvm/vmx/nested.c field.offset); field 1419 arch/x86/kvm/vmx/nested.c __vmcs_writel(field.encoding, val); field 3535 arch/x86/kvm/vmx/nested.c static bool is_vmcs12_ext_field(unsigned long field) field 3537 arch/x86/kvm/vmx/nested.c switch (field) { field 4601 arch/x86/kvm/vmx/nested.c unsigned long field; field 4626 arch/x86/kvm/vmx/nested.c field = kvm_register_readl(vcpu, (((vmx_instruction_info) >> 28) & 0xf)); field 4628 arch/x86/kvm/vmx/nested.c offset = vmcs_field_to_offset(field); field 4633 arch/x86/kvm/vmx/nested.c if (!is_guest_mode(vcpu) && is_vmcs12_ext_field(field)) field 4637 arch/x86/kvm/vmx/nested.c field_value = vmcs12_read_any(vmcs12, field, offset); field 4662 arch/x86/kvm/vmx/nested.c static bool is_shadow_field_rw(unsigned long field) field 4664 arch/x86/kvm/vmx/nested.c switch (field) { field 4674 arch/x86/kvm/vmx/nested.c static bool is_shadow_field_ro(unsigned long field) field 4676 arch/x86/kvm/vmx/nested.c switch (field) { field 4688 arch/x86/kvm/vmx/nested.c unsigned long field; field 4734 arch/x86/kvm/vmx/nested.c field = kvm_register_readl(vcpu, (((vmx_instruction_info) >> 28) & 0xf)); field 4736 arch/x86/kvm/vmx/nested.c offset = vmcs_field_to_offset(field); field 4745 arch/x86/kvm/vmx/nested.c if (vmcs_field_readonly(field) && field 4754 arch/x86/kvm/vmx/nested.c if (!is_guest_mode(vcpu) && !is_shadow_field_rw(field)) field 4765 arch/x86/kvm/vmx/nested.c if (field >= GUEST_ES_AR_BYTES && field <= GUEST_TR_AR_BYTES) field 4768 arch/x86/kvm/vmx/nested.c vmcs12_write_any(vmcs12, field, offset, field_value); field 4776 arch/x86/kvm/vmx/nested.c if (!is_guest_mode(vcpu) && !is_shadow_field_rw(field)) { field 4781 arch/x86/kvm/vmx/nested.c if (enable_shadow_vmcs && is_shadow_field_ro(field)) { field 4785 arch/x86/kvm/vmx/nested.c __vmcs_writel(field, field_value); field 5299 arch/x86/kvm/vmx/nested.c unsigned long field; field 5307 arch/x86/kvm/vmx/nested.c field = kvm_register_read(vcpu, (((vmx_instruction_info) >> 28) & 0xf)); field 5310 arch/x86/kvm/vmx/nested.c if (field >> 15) field 5313 arch/x86/kvm/vmx/nested.c if (kvm_vcpu_read_guest(vcpu, bitmap + field/8, &b, 1)) field 5316 arch/x86/kvm/vmx/nested.c return 1 & (b >> (field & 7)); field 15 arch/x86/kvm/vmx/ops.h asmlinkage void vmread_error(unsigned long field, bool fault); field 16 arch/x86/kvm/vmx/ops.h __attribute__((regparm(0))) void vmread_error_trampoline(unsigned long field, field 18 arch/x86/kvm/vmx/ops.h void vmwrite_error(unsigned long field, unsigned long value); field 24 arch/x86/kvm/vmx/ops.h static __always_inline void vmcs_check16(unsigned long field) field 26 arch/x86/kvm/vmx/ops.h BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2000, field 28 arch/x86/kvm/vmx/ops.h BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2001, field 30 arch/x86/kvm/vmx/ops.h BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x4000, field 32 arch/x86/kvm/vmx/ops.h BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x6000, field 36 arch/x86/kvm/vmx/ops.h static __always_inline void vmcs_check32(unsigned long field) field 38 arch/x86/kvm/vmx/ops.h BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0, field 40 arch/x86/kvm/vmx/ops.h BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x6000, field 44 arch/x86/kvm/vmx/ops.h static __always_inline void vmcs_check64(unsigned long field) field 46 arch/x86/kvm/vmx/ops.h BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0, field 48 arch/x86/kvm/vmx/ops.h BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2001, field 50 arch/x86/kvm/vmx/ops.h BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x4000, field 52 arch/x86/kvm/vmx/ops.h BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x6000, field 56 arch/x86/kvm/vmx/ops.h static __always_inline void vmcs_checkl(unsigned long field) field 58 arch/x86/kvm/vmx/ops.h BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0, field 60 arch/x86/kvm/vmx/ops.h BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2000, field 62 arch/x86/kvm/vmx/ops.h BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2001, field 64 arch/x86/kvm/vmx/ops.h BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x4000, field 68 arch/x86/kvm/vmx/ops.h static __always_inline unsigned long __vmcs_readl(unsigned long field) field 100 arch/x86/kvm/vmx/ops.h : ASM_CALL_CONSTRAINT, "=r"(value) : "r"(field) : "cc"); field 104 arch/x86/kvm/vmx/ops.h static __always_inline u16 vmcs_read16(unsigned long field) field 106 arch/x86/kvm/vmx/ops.h vmcs_check16(field); field 108 arch/x86/kvm/vmx/ops.h return evmcs_read16(field); field 109 arch/x86/kvm/vmx/ops.h return __vmcs_readl(field); field 112 arch/x86/kvm/vmx/ops.h static __always_inline u32 vmcs_read32(unsigned long field) field 114 arch/x86/kvm/vmx/ops.h vmcs_check32(field); field 116 arch/x86/kvm/vmx/ops.h return evmcs_read32(field); field 117 arch/x86/kvm/vmx/ops.h return __vmcs_readl(field); field 120 arch/x86/kvm/vmx/ops.h static __always_inline u64 vmcs_read64(unsigned long field) field 122 arch/x86/kvm/vmx/ops.h vmcs_check64(field); field 124 arch/x86/kvm/vmx/ops.h return evmcs_read64(field); field 126 arch/x86/kvm/vmx/ops.h return __vmcs_readl(field); field 128 arch/x86/kvm/vmx/ops.h return __vmcs_readl(field) | ((u64)__vmcs_readl(field+1) << 32); field 132 arch/x86/kvm/vmx/ops.h static __always_inline unsigned long vmcs_readl(unsigned long field) field 134 arch/x86/kvm/vmx/ops.h vmcs_checkl(field); field 136 arch/x86/kvm/vmx/ops.h return evmcs_read64(field); field 137 arch/x86/kvm/vmx/ops.h return __vmcs_readl(field); field 170 arch/x86/kvm/vmx/ops.h static __always_inline void __vmcs_writel(unsigned long field, unsigned long value) field 172 arch/x86/kvm/vmx/ops.h vmx_asm2(vmwrite, "r"(field), "rm"(value), field, value); field 175 arch/x86/kvm/vmx/ops.h static __always_inline void vmcs_write16(unsigned long field, u16 value) field 177 arch/x86/kvm/vmx/ops.h vmcs_check16(field); field 179 arch/x86/kvm/vmx/ops.h return evmcs_write16(field, value); field 181 arch/x86/kvm/vmx/ops.h __vmcs_writel(field, value); field 184 arch/x86/kvm/vmx/ops.h static __always_inline void vmcs_write32(unsigned long field, u32 value) field 186 arch/x86/kvm/vmx/ops.h vmcs_check32(field); field 188 arch/x86/kvm/vmx/ops.h return evmcs_write32(field, value); field 190 arch/x86/kvm/vmx/ops.h __vmcs_writel(field, value); field 193 arch/x86/kvm/vmx/ops.h static __always_inline void vmcs_write64(unsigned long field, u64 value) field 195 arch/x86/kvm/vmx/ops.h vmcs_check64(field); field 197 arch/x86/kvm/vmx/ops.h return evmcs_write64(field, value); field 199 arch/x86/kvm/vmx/ops.h __vmcs_writel(field, value); field 201 arch/x86/kvm/vmx/ops.h __vmcs_writel(field+1, value >> 32); field 205 arch/x86/kvm/vmx/ops.h static __always_inline void vmcs_writel(unsigned long field, unsigned long value) field 207 arch/x86/kvm/vmx/ops.h vmcs_checkl(field); field 209 arch/x86/kvm/vmx/ops.h return evmcs_write64(field, value); field 211 arch/x86/kvm/vmx/ops.h __vmcs_writel(field, value); field 214 arch/x86/kvm/vmx/ops.h static __always_inline void vmcs_clear_bits(unsigned long field, u32 mask) field 216 arch/x86/kvm/vmx/ops.h BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x2000, field 219 arch/x86/kvm/vmx/ops.h return evmcs_write32(field, evmcs_read32(field) & ~mask); field 221 arch/x86/kvm/vmx/ops.h __vmcs_writel(field, __vmcs_readl(field) & ~mask); field 224 arch/x86/kvm/vmx/ops.h static __always_inline void vmcs_set_bits(unsigned long field, u32 mask) field 226 arch/x86/kvm/vmx/ops.h BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x2000, field 229 arch/x86/kvm/vmx/ops.h return evmcs_write32(field, evmcs_read32(field) | mask); field 231 arch/x86/kvm/vmx/ops.h __vmcs_writel(field, __vmcs_readl(field) | mask); field 140 arch/x86/kvm/vmx/vmcs.h static inline int vmcs_field_width(unsigned long field) field 142 arch/x86/kvm/vmx/vmcs.h if (0x1 & field) /* the *_HIGH fields are all 32 bit */ field 144 arch/x86/kvm/vmx/vmcs.h return (field >> 13) & 0x3; field 147 arch/x86/kvm/vmx/vmcs.h static inline int vmcs_field_readonly(unsigned long field) field 149 arch/x86/kvm/vmx/vmcs.h return (((field >> 10) & 0x3) == 1); field 218 arch/x86/kvm/vmx/vmcs12.h #define CHECK_OFFSET(field, loc) \ field 219 arch/x86/kvm/vmx/vmcs12.h BUILD_BUG_ON_MSG(offsetof(struct vmcs12, field) != (loc), \ field 220 arch/x86/kvm/vmx/vmcs12.h "Offset of " #field " in struct vmcs12 has changed.") field 377 arch/x86/kvm/vmx/vmcs12.h static inline short vmcs_field_to_offset(unsigned long field) field 382 arch/x86/kvm/vmx/vmcs12.h if (field >> 15) field 385 arch/x86/kvm/vmx/vmcs12.h index = ROL16(field, 6); field 398 arch/x86/kvm/vmx/vmcs12.h static inline u64 vmcs12_read_any(struct vmcs12 *vmcs12, unsigned long field, field 403 arch/x86/kvm/vmx/vmcs12.h switch (vmcs_field_width(field)) { field 418 arch/x86/kvm/vmx/vmcs12.h static inline void vmcs12_write_any(struct vmcs12 *vmcs12, unsigned long field, field 423 arch/x86/kvm/vmx/vmcs12.h switch (vmcs_field_width(field)) { field 357 arch/x86/kvm/vmx/vmx.c asmlinkage void vmread_error(unsigned long field, bool fault) field 362 arch/x86/kvm/vmx/vmx.c vmx_insn_failed("kvm: vmread failed: field=%lx\n", field); field 365 arch/x86/kvm/vmx/vmx.c noinline void vmwrite_error(unsigned long field, unsigned long value) field 368 arch/x86/kvm/vmx/vmx.c field, value, vmcs_read32(VM_INSTRUCTION_ERROR)); field 701 arch/x86/kvm/vmx/vmx.c unsigned field) field 704 arch/x86/kvm/vmx/vmx.c u32 mask = 1 << (seg * SEG_FIELD_NR + field); field 60 arch/x86/tools/insn_decoder_test.c struct insn_field *field) field 64 arch/x86/tools/insn_decoder_test.c indent, field->value, field->bytes[0], field->bytes[1], field 65 arch/x86/tools/insn_decoder_test.c field->bytes[2], field->bytes[3]); field 67 arch/x86/tools/insn_decoder_test.c field->got, field->nbytes); field 57 arch/x86/tools/insn_sanity.c struct insn_field *field) field 61 arch/x86/tools/insn_sanity.c indent, field->value, field->bytes[0], field->bytes[1], field 62 arch/x86/tools/insn_sanity.c field->bytes[2], field->bytes[3]); field 64 arch/x86/tools/insn_sanity.c field->got, field->nbytes); field 30 arch/x86/xen/pmu.c #define field_offset(ctxt, field) ((void *)((uintptr_t)ctxt + \ field 31 arch/x86/xen/pmu.c (uintptr_t)ctxt->field)) field 356 drivers/acpi/acpica/acmacros.h #define ACPI_EXTRACT_1BIT_FLAG(field, position) (ACPI_GET_1BIT_FLAG ((field) >> position)) field 357 drivers/acpi/acpica/acmacros.h #define ACPI_EXTRACT_2BIT_FLAG(field, position) (ACPI_GET_2BIT_FLAG ((field) >> position)) field 358 drivers/acpi/acpica/acmacros.h #define ACPI_EXTRACT_3BIT_FLAG(field, position) (ACPI_GET_3BIT_FLAG ((field) >> position)) field 359 drivers/acpi/acpica/acmacros.h #define ACPI_EXTRACT_4BIT_FLAG(field, position) (ACPI_GET_4BIT_FLAG ((field) >> position)) field 382 drivers/acpi/acpica/acobject.h struct acpi_object_region_field field; field 746 drivers/acpi/acpica/dbtest.c region_obj = obj_desc->field.region_obj; field 523 drivers/acpi/acpica/dsfield.c && !(region_node->object->field.internal_pcc_buffer = field 225 drivers/acpi/acpica/evregion.c context->connection = field_obj->field.resource_buffer; field 226 drivers/acpi/acpica/evregion.c context->length = field_obj->field.resource_length; field 227 drivers/acpi/acpica/evregion.c context->access_length = field_obj->field.access_length; field 234 drivers/acpi/acpica/evregion.c context->connection = field_obj->field.resource_buffer; field 235 drivers/acpi/acpica/evregion.c context->length = field_obj->field.resource_length; field 236 drivers/acpi/acpica/evregion.c context->access_length = field_obj->field.access_length; field 237 drivers/acpi/acpica/evregion.c address = field_obj->field.pin_number_index; field 238 drivers/acpi/acpica/evregion.c bit_width = field_obj->field.bit_length; field 169 drivers/acpi/acpica/exdump.c {ACPI_EXD_UINT8, ACPI_EXD_OFFSET(field.access_length), "AccessLength"}, field 170 drivers/acpi/acpica/exdump.c {ACPI_EXD_POINTER, ACPI_EXD_OFFSET(field.region_obj), "Region Object"}, field 171 drivers/acpi/acpica/exdump.c {ACPI_EXD_POINTER, ACPI_EXD_OFFSET(field.resource_buffer), field 776 drivers/acpi/acpica/exdump.c "byte=%X bit=%X of below:\n", obj_desc->field.bit_length, field 777 drivers/acpi/acpica/exdump.c obj_desc->field.access_byte_width, field 778 drivers/acpi/acpica/exdump.c obj_desc->field.field_flags & AML_FIELD_LOCK_RULE_MASK, field 779 drivers/acpi/acpica/exdump.c obj_desc->field.field_flags & AML_FIELD_UPDATE_RULE_MASK, field 780 drivers/acpi/acpica/exdump.c obj_desc->field.base_byte_offset, field 781 drivers/acpi/acpica/exdump.c obj_desc->field.start_field_bit_offset); field 783 drivers/acpi/acpica/exdump.c acpi_ex_dump_operand(obj_desc->field.region_obj, depth + 1); field 136 drivers/acpi/acpica/exfield.c (obj_desc->field.region_obj->region.space_id == field 138 drivers/acpi/acpica/exfield.c || obj_desc->field.region_obj->region.space_id == field 140 drivers/acpi/acpica/exfield.c || obj_desc->field.region_obj->region.space_id == field 160 drivers/acpi/acpica/exfield.c (acpi_size)ACPI_ROUND_BITS_UP_TO_BYTES(obj_desc->field.bit_length); field 184 drivers/acpi/acpica/exfield.c (obj_desc->field.region_obj->region.space_id == field 192 drivers/acpi/acpica/exfield.c (obj_desc->field.region_obj->region.space_id == field 200 drivers/acpi/acpica/exfield.c obj_desc->field.bit_length)); field 203 drivers/acpi/acpica/exfield.c obj_desc->field.region_obj->field.internal_pcc_buffer + field 204 drivers/acpi/acpica/exfield.c obj_desc->field.base_byte_offset, field 205 drivers/acpi/acpica/exfield.c (acpi_size)ACPI_ROUND_BITS_UP_TO_BYTES(obj_desc->field. field 285 drivers/acpi/acpica/exfield.c (obj_desc->field.region_obj->region.space_id == field 293 drivers/acpi/acpica/exfield.c (obj_desc->field.region_obj->region.space_id == field 295 drivers/acpi/acpica/exfield.c || obj_desc->field.region_obj->region.space_id == field 297 drivers/acpi/acpica/exfield.c || obj_desc->field.region_obj->region.space_id == field 307 drivers/acpi/acpica/exfield.c (obj_desc->field.region_obj->region.space_id == field 317 drivers/acpi/acpica/exfield.c (acpi_size)ACPI_ROUND_BITS_UP_TO_BYTES(obj_desc->field. field 319 drivers/acpi/acpica/exfield.c memcpy(obj_desc->field.region_obj->field.internal_pcc_buffer + field 320 drivers/acpi/acpica/exfield.c obj_desc->field.base_byte_offset, field 323 drivers/acpi/acpica/exfield.c if ((obj_desc->field.region_obj->region.address == field 325 drivers/acpi/acpica/exfield.c && MASTER_SUBSPACE_COMMAND(obj_desc->field. field 327 drivers/acpi/acpica/exfield.c || GENERIC_SUBSPACE_COMMAND(obj_desc->field. field 337 drivers/acpi/acpica/exfield.c (u64 *)obj_desc->field. field 338 drivers/acpi/acpica/exfield.c region_obj->field. field 431 drivers/acpi/acpica/exprep.c obj_desc->field.region_obj = field 436 drivers/acpi/acpica/exprep.c obj_desc->field.access_length = info->access_length; field 449 drivers/acpi/acpica/exprep.c obj_desc->field.resource_buffer = field 451 drivers/acpi/acpica/exprep.c obj_desc->field.resource_length = field 454 drivers/acpi/acpica/exprep.c obj_desc->field.resource_buffer = info->resource_buffer; field 455 drivers/acpi/acpica/exprep.c obj_desc->field.resource_length = info->resource_length; field 458 drivers/acpi/acpica/exprep.c obj_desc->field.pin_number_index = info->pin_number_index; field 462 drivers/acpi/acpica/exprep.c if ((obj_desc->field.region_obj->region.space_id == field 478 drivers/acpi/acpica/exprep.c acpi_ut_add_reference(obj_desc->field.region_obj); field 482 drivers/acpi/acpica/exprep.c obj_desc->field.start_field_bit_offset, field 483 drivers/acpi/acpica/exprep.c obj_desc->field.base_byte_offset, field 484 drivers/acpi/acpica/exprep.c obj_desc->field.access_byte_width, field 485 drivers/acpi/acpica/exprep.c obj_desc->field.region_obj)); field 505 drivers/acpi/acpica/exprep.c obj_desc->field.access_byte_width, field 574 drivers/acpi/acpica/exprep.c obj_desc->field.access_byte_width, field 46 drivers/acpi/acpica/exserial.c obj_desc->field.pin_number_index, field 47 drivers/acpi/acpica/exserial.c obj_desc->field.bit_length)); field 104 drivers/acpi/acpica/exserial.c obj_desc->field.pin_number_index, field 105 drivers/acpi/acpica/exserial.c obj_desc->field.bit_length)); field 158 drivers/acpi/acpica/exserial.c switch (obj_desc->field.region_obj->region.space_id) { field 162 drivers/acpi/acpica/exserial.c function = ACPI_READ | (obj_desc->field.attribute << 16); field 173 drivers/acpi/acpica/exserial.c accessor_type = obj_desc->field.attribute; field 281 drivers/acpi/acpica/exserial.c switch (obj_desc->field.region_obj->region.space_id) { field 285 drivers/acpi/acpica/exserial.c function = ACPI_WRITE | (obj_desc->field.attribute << 16); field 296 drivers/acpi/acpica/exserial.c accessor_type = obj_desc->field.attribute; field 575 drivers/acpi/acpica/nsdump.c obj_desc = (void *)obj_desc->field.region_obj; field 459 drivers/acpi/acpica/psargs.c union acpi_parse_object *field; field 510 drivers/acpi/acpica/psargs.c field = acpi_ps_alloc_op(opcode, aml); field 511 drivers/acpi/acpica/psargs.c if (!field) { field 524 drivers/acpi/acpica/psargs.c acpi_ps_set_name(field, name); field 535 drivers/acpi/acpica/psargs.c if (field->common.inline_comment) { field 536 drivers/acpi/acpica/psargs.c field->common.name_comment = field 537 drivers/acpi/acpica/psargs.c field->common.inline_comment; field 539 drivers/acpi/acpica/psargs.c field->common.inline_comment = acpi_gbl_current_inline_comment; field 545 drivers/acpi/acpica/psargs.c field->common.value.size = field 553 drivers/acpi/acpica/psargs.c field->common.value.size = field 573 drivers/acpi/acpica/psargs.c field->common.value.integer = (u8)access_type; field 574 drivers/acpi/acpica/psargs.c field->common.value.integer |= (u16)(access_attribute << 8); field 582 drivers/acpi/acpica/psargs.c field->common.value.integer |= field 611 drivers/acpi/acpica/psargs.c acpi_ps_free_op(field); field 662 drivers/acpi/acpica/psargs.c acpi_ps_free_op(field); field 674 drivers/acpi/acpica/psargs.c acpi_ps_append_arg(field, arg); field 683 drivers/acpi/acpica/psargs.c return_PTR(field); field 709 drivers/acpi/acpica/psargs.c union acpi_parse_object *field; field 752 drivers/acpi/acpica/psargs.c field = acpi_ps_get_next_field(parser_state); field 753 drivers/acpi/acpica/psargs.c if (!field) { field 758 drivers/acpi/acpica/psargs.c prev->common.next = field; field 760 drivers/acpi/acpica/psargs.c arg = field; field 762 drivers/acpi/acpica/psargs.c prev = field; field 19 drivers/acpi/acpica/rsxface.c #define ACPI_COPY_FIELD(out, in, field) ((out)->field = (in)->field) field 260 drivers/acpi/acpica/utdelete.c if (object->field.internal_pcc_buffer) { field 261 drivers/acpi/acpica/utdelete.c ACPI_FREE(object->field.internal_pcc_buffer); field 573 drivers/acpi/acpica/utdelete.c next_object = object->field.region_obj; field 368 drivers/ata/libata-scsi.c struct scsi_cmnd *cmd, u16 field, u8 bit) field 373 drivers/ata/libata-scsi.c field, bit, 1); field 377 drivers/ata/libata-scsi.c struct scsi_cmnd *cmd, u16 field) field 382 drivers/ata/libata-scsi.c field, 0xff, 0); field 204 drivers/ata/libata-transport.c #define ata_port_show_simple(field, name, format_string, cast) \ field 211 drivers/ata/libata-transport.c return snprintf(buf, 20, format_string, cast ap->field); \ field 214 drivers/ata/libata-transport.c #define ata_port_simple_attr(field, name, format_string, type) \ field 215 drivers/ata/libata-transport.c ata_port_show_simple(field, name, format_string, (type)) \ field 330 drivers/ata/libata-transport.c #define ata_link_show_linkspeed(field, format) \ field 332 drivers/ata/libata-transport.c show_ata_link_##field(struct device *dev, \ field 337 drivers/ata/libata-transport.c return sprintf(buf, "%s\n", sata_spd_string(format(link->field))); \ field 340 drivers/ata/libata-transport.c #define ata_link_linkspeed_attr(field, format) \ field 341 drivers/ata/libata-transport.c ata_link_show_linkspeed(field, format) \ field 342 drivers/ata/libata-transport.c static DEVICE_ATTR(field, S_IRUGO, show_ata_link_##field, NULL) field 455 drivers/ata/libata-transport.c #define ata_dev_show_class(title, field) \ field 457 drivers/ata/libata-transport.c show_ata_dev_##field(struct device *dev, \ field 462 drivers/ata/libata-transport.c return get_ata_##title##_names(ata_dev->field, buf); \ field 465 drivers/ata/libata-transport.c #define ata_dev_attr(title, field) \ field 466 drivers/ata/libata-transport.c ata_dev_show_class(title, field) \ field 467 drivers/ata/libata-transport.c static DEVICE_ATTR(field, S_IRUGO, show_ata_dev_##field, NULL) field 475 drivers/ata/libata-transport.c #define ata_dev_show_simple(field, format_string, cast) \ field 477 drivers/ata/libata-transport.c show_ata_dev_##field(struct device *dev, \ field 482 drivers/ata/libata-transport.c return snprintf(buf, 20, format_string, cast ata_dev->field); \ field 485 drivers/ata/libata-transport.c #define ata_dev_simple_attr(field, format_string, type) \ field 486 drivers/ata/libata-transport.c ata_dev_show_simple(field, format_string, (type)) \ field 487 drivers/ata/libata-transport.c static DEVICE_ATTR(field, S_IRUGO, \ field 488 drivers/ata/libata-transport.c show_ata_dev_##field, NULL) field 691 drivers/ata/libata-transport.c #define SETUP_TEMPLATE(attrb, field, perm, test) \ field 692 drivers/ata/libata-transport.c i->private_##attrb[count] = dev_attr_##field; \ field 698 drivers/ata/libata-transport.c #define SETUP_LINK_ATTRIBUTE(field) \ field 699 drivers/ata/libata-transport.c SETUP_TEMPLATE(link_attrs, field, S_IRUGO, 1) field 701 drivers/ata/libata-transport.c #define SETUP_PORT_ATTRIBUTE(field) \ field 702 drivers/ata/libata-transport.c SETUP_TEMPLATE(port_attrs, field, S_IRUGO, 1) field 704 drivers/ata/libata-transport.c #define SETUP_DEV_ATTRIBUTE(field) \ field 705 drivers/ata/libata-transport.c SETUP_TEMPLATE(dev_attrs, field, S_IRUGO, 1) field 1254 drivers/base/regmap/regmap.c struct regmap_field *field) field 1256 drivers/base/regmap/regmap.c devm_kfree(dev, field); field 1290 drivers/base/regmap/regmap.c void regmap_field_free(struct regmap_field *field) field 1292 drivers/base/regmap/regmap.c kfree(field); field 2006 drivers/base/regmap/regmap.c int regmap_field_update_bits_base(struct regmap_field *field, field 2010 drivers/base/regmap/regmap.c mask = (mask << field->shift) & field->mask; field 2012 drivers/base/regmap/regmap.c return regmap_update_bits_base(field->regmap, field->reg, field 2013 drivers/base/regmap/regmap.c mask, val << field->shift, field 2033 drivers/base/regmap/regmap.c int regmap_fields_update_bits_base(struct regmap_field *field, unsigned int id, field 2037 drivers/base/regmap/regmap.c if (id >= field->id_size) field 2040 drivers/base/regmap/regmap.c mask = (mask << field->shift) & field->mask; field 2042 drivers/base/regmap/regmap.c return regmap_update_bits_base(field->regmap, field 2043 drivers/base/regmap/regmap.c field->reg + (field->id_offset * id), field 2044 drivers/base/regmap/regmap.c mask, val << field->shift, field 2739 drivers/base/regmap/regmap.c int regmap_field_read(struct regmap_field *field, unsigned int *val) field 2743 drivers/base/regmap/regmap.c ret = regmap_read(field->regmap, field->reg, ®_val); field 2747 drivers/base/regmap/regmap.c reg_val &= field->mask; field 2748 drivers/base/regmap/regmap.c reg_val >>= field->shift; field 2765 drivers/base/regmap/regmap.c int regmap_fields_read(struct regmap_field *field, unsigned int id, field 2771 drivers/base/regmap/regmap.c if (id >= field->id_size) field 2774 drivers/base/regmap/regmap.c ret = regmap_read(field->regmap, field 2775 drivers/base/regmap/regmap.c field->reg + (field->id_offset * id), field 2780 drivers/base/regmap/regmap.c reg_val &= field->mask; field 2781 drivers/base/regmap/regmap.c reg_val >>= field->shift; field 504 drivers/char/mwave/mwavedd.c #define mwave_show_function(attr_name, format_string, field) \ field 509 drivers/char/mwave/mwavedd.c return sprintf(buf, format_string, pSettings->field); \ field 513 drivers/char/mwave/mwavedd.c #define mwave_dev_rd_attr(attr_name, format_string, field) \ field 514 drivers/char/mwave/mwavedd.c mwave_show_function(attr_name, format_string, field) \ field 185 drivers/clk/st/clkgen-pll.c struct clkgen_field *field = &pll->data->locked_status; field 194 drivers/clk/st/clkgen-pll.c ret = readl_relaxed_poll_timeout(base + field->offset, reg, field 195 drivers/clk/st/clkgen-pll.c !!((reg >> field->shift) & field->mask), 0, 10000); field 22 drivers/clk/st/clkgen.h struct clkgen_field *field) field 24 drivers/clk/st/clkgen.h return (readl(base + field->offset) >> field->shift) & field->mask; field 28 drivers/clk/st/clkgen.h static inline void clkgen_write(void __iomem *base, struct clkgen_field *field, field 31 drivers/clk/st/clkgen.h writel((readl(base + field->offset) & field 32 drivers/clk/st/clkgen.h ~(field->mask << field->shift)) | (val << field->shift), field 33 drivers/clk/st/clkgen.h base + field->offset); field 44 drivers/clk/st/clkgen.h #define CLKGEN_READ(pll, field) clkgen_read(pll->regs_base, \ field 45 drivers/clk/st/clkgen.h &pll->data->field) field 47 drivers/clk/st/clkgen.h #define CLKGEN_WRITE(pll, field, val) clkgen_write(pll->regs_base, \ field 48 drivers/clk/st/clkgen.h &pll->data->field, val) field 109 drivers/cpufreq/sti-cpufreq.c int hw_info_offset, int field) field 112 drivers/cpufreq/sti-cpufreq.c struct reg_field reg_field = reg_fields[field]; field 129 drivers/cpufreq/sti-cpufreq.c field ? "SUBSTRATE" : "PCODE"); field 46 drivers/crypto/caam/dpseci_cmd.h #define DPSECI_MASK(field) \ field 47 drivers/crypto/caam/dpseci_cmd.h GENMASK(DPSECI_##field##_SHIFT + DPSECI_##field##_SIZE - 1, \ field 48 drivers/crypto/caam/dpseci_cmd.h DPSECI_##field##_SHIFT) field 50 drivers/crypto/caam/dpseci_cmd.h #define dpseci_set_field(var, field, val) \ field 51 drivers/crypto/caam/dpseci_cmd.h ((var) |= (((val) << DPSECI_##field##_SHIFT) & DPSECI_MASK(field))) field 53 drivers/crypto/caam/dpseci_cmd.h #define dpseci_get_field(var, field) \ field 54 drivers/crypto/caam/dpseci_cmd.h (((var) & DPSECI_MASK(field)) >> DPSECI_##field##_SHIFT) field 233 drivers/dma/ioat/hw.h uint64_t field[8]; field 36 drivers/dma/ioat/prep.c raw->field[xor_idx_to_field[idx]] = addr + offset; field 43 drivers/dma/ioat/prep.c return raw->field[pq_idx_to_field[idx]]; field 50 drivers/dma/ioat/prep.c return raw->field[pq16_idx_to_field[idx]]; field 59 drivers/dma/ioat/prep.c raw->field[pq_idx_to_field[idx]] = addr + offset; field 71 drivers/dma/ioat/prep.c raw->field[pq16_idx_to_field[idx]] = addr + offset; field 448 drivers/dma/iop-adma.h struct iop3xx_dma_desc_ctrl field; field 452 drivers/dma/iop-adma.h u_desc_ctrl.field.mem_to_mem_en = 1; field 453 drivers/dma/iop-adma.h u_desc_ctrl.field.pci_transaction = 0xe; /* memory read block */ field 454 drivers/dma/iop-adma.h u_desc_ctrl.field.int_en = flags & DMA_PREP_INTERRUPT; field 466 drivers/dma/iop-adma.h struct iop3xx_aau_desc_ctrl field; field 470 drivers/dma/iop-adma.h u_desc_ctrl.field.blk1_cmd_ctrl = 0x2; /* memory block fill */ field 471 drivers/dma/iop-adma.h u_desc_ctrl.field.dest_write_en = 1; field 472 drivers/dma/iop-adma.h u_desc_ctrl.field.int_en = flags & DMA_PREP_INTERRUPT; field 484 drivers/dma/iop-adma.h struct iop3xx_aau_desc_ctrl field; field 490 drivers/dma/iop-adma.h u_desc_ctrl.field.blk_ctrl = 0x3; /* use EDCR[2:0] */ field 501 drivers/dma/iop-adma.h if (!u_desc_ctrl.field.blk_ctrl) { field 503 drivers/dma/iop-adma.h u_desc_ctrl.field.blk_ctrl = 0x3; /* use EDCR[2:0] */ field 515 drivers/dma/iop-adma.h if (!u_desc_ctrl.field.blk_ctrl) field 516 drivers/dma/iop-adma.h u_desc_ctrl.field.blk_ctrl = 0x2; /* use EDCR0 */ field 533 drivers/dma/iop-adma.h if (!u_desc_ctrl.field.blk_ctrl && src_cnt > 4) field 534 drivers/dma/iop-adma.h u_desc_ctrl.field.blk_ctrl = 0x1; /* use mini-desc */ field 537 drivers/dma/iop-adma.h u_desc_ctrl.field.dest_write_en = 1; field 538 drivers/dma/iop-adma.h u_desc_ctrl.field.blk1_cmd_ctrl = 0x7; /* direct fill */ field 539 drivers/dma/iop-adma.h u_desc_ctrl.field.int_en = flags & DMA_PREP_INTERRUPT; field 561 drivers/dma/iop-adma.h struct iop3xx_aau_desc_ctrl field; field 571 drivers/dma/iop-adma.h u_desc_ctrl.field.dest_write_en = 0; field 572 drivers/dma/iop-adma.h u_desc_ctrl.field.zero_result_en = 1; field 573 drivers/dma/iop-adma.h u_desc_ctrl.field.int_en = flags & DMA_PREP_INTERRUPT; field 597 drivers/dma/iop-adma.h struct iop3xx_aau_desc_ctrl field; field 603 drivers/dma/iop-adma.h u_desc_ctrl.field.blk_ctrl = 0x3; /* use EDCR[2:0] */ field 607 drivers/dma/iop-adma.h if (!u_desc_ctrl.field.blk_ctrl) { field 609 drivers/dma/iop-adma.h u_desc_ctrl.field.blk_ctrl = 0x3; /* use EDCR[2:0] */ field 614 drivers/dma/iop-adma.h if (!u_desc_ctrl.field.blk_ctrl) field 615 drivers/dma/iop-adma.h u_desc_ctrl.field.blk_ctrl = 0x2; /* use EDCR0 */ field 619 drivers/dma/iop-adma.h if (!u_desc_ctrl.field.blk_ctrl && src_cnt > 4) field 620 drivers/dma/iop-adma.h u_desc_ctrl.field.blk_ctrl = 0x1; /* use mini-desc */ field 623 drivers/dma/iop-adma.h u_desc_ctrl.field.dest_write_en = 0; field 624 drivers/dma/iop-adma.h u_desc_ctrl.field.int_en = flags & DMA_PREP_INTERRUPT; field 89 drivers/dma/mxs-dma.c #define BF_CCW(value, field) (((value) << BP_CCW_##field) & BM_CCW_##field) field 17 drivers/firmware/dmi-id.c int field; field 26 drivers/firmware/dmi-id.c int field = to_dmi_dev_attr(attr)->field; field 28 drivers/firmware/dmi-id.c len = scnprintf(page, PAGE_SIZE, "%s\n", dmi_get_system_info(field)); field 35 drivers/firmware/dmi-id.c .field = _field } field 76 drivers/firmware/dmi-id.c int field; field 104 drivers/firmware/dmi-id.c c = dmi_get_system_info(f->field); field 898 drivers/firmware/dmi_scan.c const char *dmi_get_system_info(int field) field 900 drivers/firmware/dmi_scan.c return dmi_ident[field]; field 982 drivers/firmware/dmi_scan.c bool dmi_get_date(int field, int *yearp, int *monthp, int *dayp) field 989 drivers/firmware/dmi_scan.c s = dmi_get_system_info(field); field 671 drivers/firmware/efi/efi.c #define UEFI_PARAM(name, prop, field) \ field 675 drivers/firmware/efi/efi.c offsetof(struct efi_fdt_params, field), \ field 676 drivers/firmware/efi/efi.c FIELD_SIZEOF(struct efi_fdt_params, field) \ field 1109 drivers/gpu/drm/amd/amdgpu/amdgpu.h #define REG_FIELD_SHIFT(reg, field) reg##__##field##__SHIFT field 1110 drivers/gpu/drm/amd/amdgpu/amdgpu.h #define REG_FIELD_MASK(reg, field) reg##__##field##_MASK field 1112 drivers/gpu/drm/amd/amdgpu/amdgpu.h #define REG_SET_FIELD(orig_val, reg, field, field_val) \ field 1113 drivers/gpu/drm/amd/amdgpu/amdgpu.h (((orig_val) & ~REG_FIELD_MASK(reg, field)) | \ field 1114 drivers/gpu/drm/amd/amdgpu/amdgpu.h (REG_FIELD_MASK(reg, field) & ((field_val) << REG_FIELD_SHIFT(reg, field)))) field 1116 drivers/gpu/drm/amd/amdgpu/amdgpu.h #define REG_GET_FIELD(value, reg, field) \ field 1117 drivers/gpu/drm/amd/amdgpu/amdgpu.h (((value) & REG_FIELD_MASK(reg, field)) >> REG_FIELD_SHIFT(reg, field)) field 1119 drivers/gpu/drm/amd/amdgpu/amdgpu.h #define WREG32_FIELD(reg, field, val) \ field 1120 drivers/gpu/drm/amd/amdgpu/amdgpu.h WREG32(mm##reg, (RREG32(mm##reg) & ~REG_FIELD_MASK(reg, field)) | (val) << REG_FIELD_SHIFT(reg, field)) field 1122 drivers/gpu/drm/amd/amdgpu/amdgpu.h #define WREG32_FIELD_OFFSET(reg, offset, field, val) \ field 1123 drivers/gpu/drm/amd/amdgpu/amdgpu.h WREG32(mm##reg + offset, (RREG32(mm##reg + offset) & ~REG_FIELD_MASK(reg, field)) | (val) << REG_FIELD_SHIFT(reg, field)) field 381 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c #define FW_VERSION_ATTR(name, mode, field) \ field 389 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c return snprintf(buf, PAGE_SIZE, "0x%08x\n", adev->field); \ field 223 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h #define AMDGPU_FW_VRAM_VF2PF_WRITE(adev, field, val) \ field 225 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h ((amdgim_vf2pf_info *)adev->virt.fw_reserve.p_vf2pf)->field = (val); \ field 228 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h #define AMDGPU_FW_VRAM_VF2PF_READ(adev, field, val) \ field 230 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h (*val) = ((amdgim_vf2pf_info *)adev->virt.fw_reserve.p_vf2pf)->field; \ field 233 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h #define AMDGPU_FW_VRAM_PF2VF_READ(adev, field, val) \ field 239 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h *(val) = ((struct amdgim_pf2vf_info_v1 *)adev->virt.fw_reserve.p_pf2vf)->field; \ field 241 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h *(val) = ((struct amdgim_pf2vf_info_v2 *)adev->virt.fw_reserve.p_pf2vf)->field; \ field 490 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c u32 field; field 522 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c field = adev->vm_manager.fragment_size; field 525 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c (field << VM_L2_CNTL3__BANK_SELECT__SHIFT) | field 526 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c (field << VM_L2_CNTL3__L2_CACHE_BIGK_FRAGMENT_SIZE__SHIFT)); field 586 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c u32 tmp, field; field 620 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c field = adev->vm_manager.fragment_size; field 623 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL3, BANK_SELECT, field); field 624 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL3, L2_CACHE_BIGK_FRAGMENT_SIZE, field); field 813 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c u32 tmp, field; field 848 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c field = adev->vm_manager.fragment_size; field 851 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL3, BANK_SELECT, field); field 852 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c tmp = REG_SET_FIELD(tmp, VM_L2_CNTL3, L2_CACHE_BIGK_FRAGMENT_SIZE, field); field 30 drivers/gpu/drm/amd/amdgpu/soc15_common.h #define WREG32_FIELD15(ip, idx, reg, field, val) \ field 33 drivers/gpu/drm/amd/amdgpu/soc15_common.h & ~REG_FIELD_MASK(reg, field)) | (val) << REG_FIELD_SHIFT(reg, field)) field 122 drivers/gpu/drm/amd/amdgpu/soc15_common.h #define WREG32_FIELD15_RLC(ip, idx, reg, field, val) \ field 125 drivers/gpu/drm/amd/amdgpu/soc15_common.h & ~REG_FIELD_MASK(reg, field)) | (val) << REG_FIELD_SHIFT(reg, field)) field 65 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/rv1_clk_mgr_vbios_smu.c #define FN(reg_name, field) \ field 66 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/rv1_clk_mgr_vbios_smu.c FD(reg_name##__##field) field 38 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c #define FN(reg_name, field) \ field 39 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c FD(reg_name##__##field) field 409 drivers/gpu/drm/amd/display/dc/dce/dce_audio.c uint32_t field = 0; field 457 drivers/gpu/drm/amd/display/dc/dce/dce_audio.c field = get_reg_field_value(value, field 461 drivers/gpu/drm/amd/display/dc/dce/dce_audio.c field &= ~0x1; field 464 drivers/gpu/drm/amd/display/dc/dce/dce_audio.c field, field 79 drivers/gpu/drm/amd/display/dc/dce/dce_aux.c uint32_t field = get_reg_field_value( field 84 drivers/gpu/drm/amd/display/dc/dce/dce_aux.c return (field != DMCU_CAN_ACCESS_AUX); field 92 drivers/gpu/drm/amd/display/dc/dce/dce_aux.c uint32_t field = get_reg_field_value( field 96 drivers/gpu/drm/amd/display/dc/dce/dce_aux.c if (field == DMCU_CAN_ACCESS_AUX) field 100 drivers/gpu/drm/amd/display/dc/dce/dce_aux.c field = get_reg_field_value(value, field 104 drivers/gpu/drm/amd/display/dc/dce/dce_aux.c if (field == 0) { field 145 drivers/gpu/drm/amd/display/dc/dce/dce_aux.c field = get_reg_field_value( field 150 drivers/gpu/drm/amd/display/dc/dce/dce_aux.c return (field == SW_CAN_ACCESS_AUX); field 479 drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c uint32_t field = 0; field 486 drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c REG_GET(PLL_CNTL, PLL_REF_DIV_SRC, &field); field 487 drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c pll_settings->use_external_clk = (field > 1); field 1354 drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c uint32_t field; field 1358 drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c REG_GET(DIG_BE_CNTL, DIG_FE_SOURCE_SELECT, &field); field 1361 drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c field |= get_frontend_source(engine); field 1363 drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c field &= ~get_frontend_source(engine); field 1365 drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c REG_UPDATE(DIG_BE_CNTL, DIG_FE_SOURCE_SELECT, field); field 96 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c uint32_t field = 0; field 101 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c field = get_reg_field_value(value, CRTC_STATUS, CRTC_V_BLANK); field 102 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c return field == 1; field 195 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c uint32_t field = 0; field 513 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c uint32_t field = get_reg_field_value( field 516 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c return field; field 2089 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c uint32_t field = 0; field 2094 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c field = get_reg_field_value(value, CRTC_CONTROL, field 2096 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c return field == 1; field 2181 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c uint32_t field = 0; field 2186 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c field = get_reg_field_value(value, CRTC_CRC_CNTL, CRTC_CRC_EN); field 2189 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c if (!field) field 145 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator_v.c uint32_t field = 0; field 149 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator_v.c field = get_reg_field_value(value, CRTCV_STATUS, CRTC_V_BLANK); field 150 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator_v.c return field == 1; field 607 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator_v.c uint32_t field = get_reg_field_value( field 610 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator_v.c return field; field 48 drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c #define CRTC_REG_UPDATE(reg, field, val) \ field 49 drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c CRTC_REG_UPDATE_N(reg, 1, FD(reg##__##field), val) field 63 drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c #define CRTC_REG_SET(reg, field, val) \ field 64 drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c CRTC_REG_SET_N(reg, 1, FD(reg##__##field), val) field 88 drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c uint32_t field = 0; field 95 drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c field = get_reg_field_value(value, CRTC0_CRTC_STATUS, CRTC_V_BLANK); field 96 drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c return field == 1; field 177 drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c uint32_t field = get_reg_field_value( field 180 drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c return field; field 1121 drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c uint32_t value, field; field 1125 drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c field = get_reg_field_value(value, CRTC0_CRTC_CONTROL, field 1128 drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c return field == 1; field 1181 drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c uint32_t value, field; field 1185 drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c field = get_reg_field_value(value, CRTC0_CRTC_CRC_CNTL, CRTC_CRC_EN); field 1188 drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c if (!field) field 1321 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c uint32_t field; field 1325 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c REG_GET(DIG_BE_CNTL, DIG_FE_SOURCE_SELECT, &field); field 1328 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c field |= get_frontend_source(engine); field 1330 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c field &= ~get_frontend_source(engine); field 1332 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c REG_UPDATE(DIG_BE_CNTL, DIG_FE_SOURCE_SELECT, field); field 1348 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c #define HPD_REG_UPDATE(reg_name, field, val) \ field 1350 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c FN(reg_name, field), val) field 1380 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c #define AUX_REG_UPDATE(reg_name, field, val) \ field 1382 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c FN(reg_name, field), val) field 1455 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c uint32_t field = 0; field 1458 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c REG_GET(OTG_CRC_CNTL, OTG_CRC_EN, &field); field 1461 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c if (!field) field 60 drivers/gpu/drm/amd/display/dc/inc/reg_helper.h #define FN(reg_name, field) \ field 61 drivers/gpu/drm/amd/display/dc/inc/reg_helper.h FD(reg_name##__##field) field 63 drivers/gpu/drm/amd/display/dc/inc/reg_helper.h #define REG_SET(reg_name, initial_val, field, val) \ field 65 drivers/gpu/drm/amd/display/dc/inc/reg_helper.h FN(reg_name, field), val) field 156 drivers/gpu/drm/amd/display/dc/inc/reg_helper.h #define REG_GET(reg_name, field, val) \ field 158 drivers/gpu/drm/amd/display/dc/inc/reg_helper.h FN(reg_name, field), val) field 218 drivers/gpu/drm/amd/display/dc/inc/reg_helper.h #define REG_WAIT(reg_name, field, val, delay_between_poll_us, max_try) \ field 220 drivers/gpu/drm/amd/display/dc/inc/reg_helper.h REG(reg_name), FN(reg_name, field), val,\ field 230 drivers/gpu/drm/amd/display/dc/inc/reg_helper.h #define REG_UPDATE(reg_name, field, val) \ field 232 drivers/gpu/drm/amd/display/dc/inc/reg_helper.h FN(reg_name, field), val) field 121 drivers/gpu/drm/amd/include/cgs_common.h #define CGS_REG_FIELD_SHIFT(reg, field) reg##__##field##__SHIFT field 122 drivers/gpu/drm/amd/include/cgs_common.h #define CGS_REG_FIELD_MASK(reg, field) reg##__##field##_MASK field 124 drivers/gpu/drm/amd/include/cgs_common.h #define CGS_REG_SET_FIELD(orig_val, reg, field, field_val) \ field 125 drivers/gpu/drm/amd/include/cgs_common.h (((orig_val) & ~CGS_REG_FIELD_MASK(reg, field)) | \ field 126 drivers/gpu/drm/amd/include/cgs_common.h (CGS_REG_FIELD_MASK(reg, field) & ((field_val) << CGS_REG_FIELD_SHIFT(reg, field)))) field 128 drivers/gpu/drm/amd/include/cgs_common.h #define CGS_REG_GET_FIELD(value, reg, field) \ field 129 drivers/gpu/drm/amd/include/cgs_common.h (((value) & CGS_REG_FIELD_MASK(reg, field)) >> CGS_REG_FIELD_SHIFT(reg, field)) field 131 drivers/gpu/drm/amd/include/cgs_common.h #define CGS_WREG32_FIELD(device, reg, field, val) \ field 132 drivers/gpu/drm/amd/include/cgs_common.h cgs_write_register(device, mm##reg, (cgs_read_register(device, mm##reg) & ~CGS_REG_FIELD_MASK(reg, field)) | (val) << CGS_REG_FIELD_SHIFT(reg, field)) field 134 drivers/gpu/drm/amd/include/cgs_common.h #define CGS_WREG32_FIELD_IND(device, space, reg, field, val) \ field 135 drivers/gpu/drm/amd/include/cgs_common.h cgs_write_ind_register(device, space, ix##reg, (cgs_read_ind_register(device, space, ix##reg) & ~CGS_REG_FIELD_MASK(reg, field)) | (val) << CGS_REG_FIELD_SHIFT(reg, field)) field 89 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c uint32_t phm_set_field_to_u32(u32 offset, u32 original_data, u32 field, u32 size) field 101 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c original_data |= (field << shift); field 97 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h extern uint32_t phm_set_field_to_u32(u32 offset, u32 original_data, u32 field, u32 size); field 124 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h #define PHM_FIELD_SHIFT(reg, field) reg##__##field##__SHIFT field 125 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h #define PHM_FIELD_MASK(reg, field) reg##__##field##_MASK field 127 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h #define PHM_SET_FIELD(origval, reg, field, fieldval) \ field 128 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h (((origval) & ~PHM_FIELD_MASK(reg, field)) | \ field 129 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h (PHM_FIELD_MASK(reg, field) & ((fieldval) << PHM_FIELD_SHIFT(reg, field)))) field 131 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h #define PHM_GET_FIELD(value, reg, field) \ field 132 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h (((value) & PHM_FIELD_MASK(reg, field)) >> \ field 133 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h PHM_FIELD_SHIFT(reg, field)) field 138 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h #define PHM_READ_FIELD(device, reg, field) \ field 139 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h PHM_GET_FIELD(cgs_read_register(device, mm##reg), reg, field) field 141 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h #define PHM_READ_INDIRECT_FIELD(device, port, reg, field) \ field 143 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h reg, field) field 145 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h #define PHM_READ_VFPF_INDIRECT_FIELD(device, port, reg, field) \ field 147 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h reg, field) field 149 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h #define PHM_WRITE_FIELD(device, reg, field, fieldval) \ field 151 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h cgs_read_register(device, mm##reg), reg, field, fieldval)) field 153 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h #define PHM_WRITE_INDIRECT_FIELD(device, port, reg, field, fieldval) \ field 156 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h reg, field, fieldval)) field 158 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h #define PHM_WRITE_VFPF_INDIRECT_FIELD(device, port, reg, field, fieldval) \ field 161 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h reg, field, fieldval)) field 170 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h #define PHM_WAIT_INDIRECT_FIELD(hwmgr, port, reg, field, fieldval) \ field 172 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h << PHM_FIELD_SHIFT(reg, field), PHM_FIELD_MASK(reg, field)) field 181 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h #define PHM_WAIT_INDIRECT_FIELD_UNEQUAL(hwmgr, port, reg, field, fieldval) \ field 183 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h (fieldval) << PHM_FIELD_SHIFT(reg, field), \ field 184 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h PHM_FIELD_MASK(reg, field) ) field 195 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h #define PHM_WAIT_VFPF_INDIRECT_FIELD_UNEQUAL(hwmgr, port, reg, field, fieldval) \ field 197 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h (fieldval) << PHM_FIELD_SHIFT(reg, field), \ field 198 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h PHM_FIELD_MASK(reg, field)) field 209 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h #define PHM_WAIT_VFPF_INDIRECT_FIELD(hwmgr, port, reg, field, fieldval) \ field 211 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h (fieldval) << PHM_FIELD_SHIFT(reg, field), \ field 212 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h PHM_FIELD_MASK(reg, field)) field 223 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h #define PHM_WAIT_FIELD_UNEQUAL(hwmgr, reg, field, fieldval) \ field 225 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h (fieldval) << PHM_FIELD_SHIFT(reg, field), \ field 226 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h PHM_FIELD_MASK(reg, field)) field 13 drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c #define EXTRACT(val, field) (((val) & field##__MASK) >> field##__SHIFT) field 171 drivers/gpu/drm/etnaviv/etnaviv_gpu.c #define etnaviv_field(val, field) \ field 172 drivers/gpu/drm/etnaviv/etnaviv_gpu.c (((val) & field##__MASK) >> field##__SHIFT) field 1280 drivers/gpu/drm/gma500/psb_intel_reg.h #define SET_FIELD(value, field) (((value) << field ## _SHIFT) & field ## _MASK) field 1281 drivers/gpu/drm/gma500/psb_intel_reg.h #define GET_FIELD(word, field) (((word) & field ## _MASK) >> field ## _SHIFT) field 190 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_regs.h #define HIBMC_FIELD(field, value) (field(value) & field##_MASK) field 6486 drivers/gpu/drm/i915/display/intel_dp.c #define assign_final(field) final->field = (max(cur.field, vbt.field) == 0 ? \ field 6487 drivers/gpu/drm/i915/display/intel_dp.c spec.field : \ field 6488 drivers/gpu/drm/i915/display/intel_dp.c max(cur.field, vbt.field)) field 6496 drivers/gpu/drm/i915/display/intel_dp.c #define get_delay(field) (DIV_ROUND_UP(final->field, 10)) field 48 drivers/gpu/drm/i915/gt/intel_gt.h enum intel_gt_scratch_field field) field 50 drivers/gpu/drm/i915/gt/intel_gt.h return i915_ggtt_offset(gt->scratch) + field; field 31 drivers/gpu/drm/nouveau/dispnv04/hw.h #define MASK(field) ( \ field 32 drivers/gpu/drm/nouveau/dispnv04/hw.h (0xffffffff >> (31 - ((1 ? field) - (0 ? field)))) << (0 ? field)) field 76 drivers/gpu/drm/nouveau/nvkm/engine/disp/dacnv50.c const u32 field = 0xc0000000 | (0x00000055 << shift); field 79 drivers/gpu/drm/nouveau/nvkm/engine/disp/dacnv50.c nvkm_mask(device, 0x61a004 + doff, field, state); field 65 drivers/gpu/drm/nouveau/nvkm/engine/disp/piornv50.c const u32 field = 0x80000000 | (0x00000101 << shift); field 68 drivers/gpu/drm/nouveau/nvkm/engine/disp/piornv50.c nvkm_mask(device, 0x61e004 + poff, field, state); field 54 drivers/gpu/drm/nouveau/nvkm/engine/disp/sornv50.c const u32 field = 0x80000000 | (0x00000001 << shift); field 57 drivers/gpu/drm/nouveau/nvkm/engine/disp/sornv50.c nvkm_mask(device, 0x61c004 + soff, field, state); field 367 drivers/gpu/drm/panel/panel-simple.c #define PANEL_SIMPLE_BOUNDS_CHECK(to_check, bounds, field) \ field 368 drivers/gpu/drm/panel/panel-simple.c (to_check->field.typ >= bounds->field.min && \ field 369 drivers/gpu/drm/panel/panel-simple.c to_check->field.typ <= bounds->field.max) field 201 drivers/gpu/drm/rockchip/cdn-dp-reg.c u8 field[8]; field 203 drivers/gpu/drm/rockchip/cdn-dp-reg.c field[0] = (addr >> 8) & 0xff; field 204 drivers/gpu/drm/rockchip/cdn-dp-reg.c field[1] = addr & 0xff; field 205 drivers/gpu/drm/rockchip/cdn-dp-reg.c field[2] = start_bit; field 206 drivers/gpu/drm/rockchip/cdn-dp-reg.c field[3] = bits_no; field 207 drivers/gpu/drm/rockchip/cdn-dp-reg.c field[4] = (val >> 24) & 0xff; field 208 drivers/gpu/drm/rockchip/cdn-dp-reg.c field[5] = (val >> 16) & 0xff; field 209 drivers/gpu/drm/rockchip/cdn-dp-reg.c field[6] = (val >> 8) & 0xff; field 210 drivers/gpu/drm/rockchip/cdn-dp-reg.c field[7] = val & 0xff; field 213 drivers/gpu/drm/rockchip/cdn-dp-reg.c sizeof(field), field); field 134 drivers/gpu/drm/sun4i/sun4i_tv.c bool field; field 205 drivers/gpu/drm/sun4i/sun4i_tv.c .field = false, .line = 14, .pixel = 12, field 209 drivers/gpu/drm/sun4i/sun4i_tv.c .field = true, .line = 13, .pixel = 12, field 464 drivers/gpu/drm/sun4i/sun4i_tv.c (tv_mode->resync_params->field ? field 231 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c u32 field = sun6i_dsi_ecc_array[i]; field 237 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c if (!(BIT(j) & field)) field 11 drivers/gpu/drm/v3d/v3d_regs.h #define V3D_SET_FIELD(value, field) \ field 13 drivers/gpu/drm/v3d/v3d_regs.h u32 fieldval = (value) << field##_SHIFT; \ field 14 drivers/gpu/drm/v3d/v3d_regs.h WARN_ON((fieldval & ~field##_MASK) != 0); \ field 15 drivers/gpu/drm/v3d/v3d_regs.h fieldval & field##_MASK; \ field 18 drivers/gpu/drm/v3d/v3d_regs.h #define V3D_GET_FIELD(word, field) (((word) & field##_MASK) >> \ field 19 drivers/gpu/drm/v3d/v3d_regs.h field##_SHIFT) field 210 drivers/gpu/drm/vc4/vc4_qpu_defines.h #define QPU_GET_FIELD(word, field) \ field 211 drivers/gpu/drm/vc4/vc4_qpu_defines.h ((uint32_t)(((word) & field ## _MASK) >> field ## _SHIFT)) field 13 drivers/gpu/drm/vc4/vc4_regs.h #define VC4_SET_FIELD(value, field) \ field 15 drivers/gpu/drm/vc4/vc4_regs.h uint32_t fieldval = (value) << field##_SHIFT; \ field 16 drivers/gpu/drm/vc4/vc4_regs.h WARN_ON((fieldval & ~field##_MASK) != 0); \ field 17 drivers/gpu/drm/vc4/vc4_regs.h fieldval & field##_MASK; \ field 20 drivers/gpu/drm/vc4/vc4_regs.h #define VC4_GET_FIELD(word, field) (((word) & field##_MASK) >> \ field 21 drivers/gpu/drm/vc4/vc4_regs.h field##_SHIFT) field 321 drivers/gpu/ipu-v3/ipu-csi.c ipu_csi_translate_field(enum v4l2_field field, v4l2_std_id std) field 323 drivers/gpu/ipu-v3/ipu-csi.c return (field != V4L2_FIELD_ALTERNATE) ? field : field 356 drivers/gpu/ipu-v3/ipu-csi.c if (V4L2_FIELD_HAS_BOTH(mbus_fmt->field) || field 357 drivers/gpu/ipu-v3/ipu-csi.c mbus_fmt->field == V4L2_FIELD_ALTERNATE) field 387 drivers/gpu/ipu-v3/ipu-csi.c infield = ipu_csi_translate_field(infmt->field, std); field 388 drivers/gpu/ipu-v3/ipu-csi.c outfield = ipu_csi_translate_field(outfmt->field, std); field 445 drivers/gpu/ipu-v3/ipu-csi.c if (infmt->field == V4L2_FIELD_ALTERNATE) field 1954 drivers/gpu/ipu-v3/ipu-image-convert.c in->pix.field = out->pix.field = V4L2_FIELD_NONE; field 56 drivers/gpu/ipu-v3/ipu-vdi.c void ipu_vdi_set_field_order(struct ipu_vdi *vdi, v4l2_std_id std, u32 field) field 62 drivers/gpu/ipu-v3/ipu-vdi.c switch (field) { field 440 drivers/greybus/interface.c #define gb_interface_attr(field, type) \ field 441 drivers/greybus/interface.c static ssize_t field##_show(struct device *dev, \ field 446 drivers/greybus/interface.c return scnprintf(buf, PAGE_SIZE, type"\n", intf->field); \ field 448 drivers/greybus/interface.c static DEVICE_ATTR_RO(field) field 35 drivers/hid/hid-a4tech.c struct hid_field *field, struct hid_usage *usage, field 57 drivers/hid/hid-a4tech.c struct hid_field *field, struct hid_usage *usage, field 73 drivers/hid/hid-a4tech.c static int a4_event(struct hid_device *hdev, struct hid_field *field, field 79 drivers/hid/hid-a4tech.c if (!(hdev->claimed & HID_CLAIMED_INPUT) || !field->hidinput) field 82 drivers/hid/hid-a4tech.c input = field->hidinput->input; field 21 drivers/hid/hid-accutouch.c struct hid_field *field, field 774 drivers/hid/hid-alps.c struct hid_input *hi, struct hid_field *field, field 276 drivers/hid/hid-apple.c static int apple_event(struct hid_device *hdev, struct hid_field *field, field 281 drivers/hid/hid-apple.c if (!(hdev->claimed & HID_CLAIMED_INPUT) || !field->hidinput || field 287 drivers/hid/hid-apple.c input_event(field->hidinput->input, usage->type, usage->code, field 293 drivers/hid/hid-apple.c hidinput_apple_event(hdev, field->hidinput->input, field 339 drivers/hid/hid-apple.c struct hid_field *field, struct hid_usage *usage, field 357 drivers/hid/hid-apple.c struct hid_field *field, struct hid_usage *usage, field 275 drivers/hid/hid-appleir.c struct hid_input *hi, struct hid_field *field, field 260 drivers/hid/hid-asus.c static int asus_event(struct hid_device *hdev, struct hid_field *field, field 662 drivers/hid/hid-asus.c struct hid_input *hi, struct hid_field *field, field 681 drivers/hid/hid-asus.c if (field->application == (HID_UP_GENDESK | 0x0080) || field 690 drivers/hid/hid-asus.c if (field->application == HID_GD_MOUSE && field 49 drivers/hid/hid-axff.c for (j = 0; j < report->field[i]->report_count; j++) { field 50 drivers/hid/hid-axff.c report->field[i]->value[j] = field 87 drivers/hid/hid-axff.c for (j = 0; j < report->field[i]->report_count; j++) { field 88 drivers/hid/hid-axff.c report->field[i]->value[j] = 0x00; field 27 drivers/hid/hid-belkin.c struct hid_field *field, struct hid_usage *usage, field 47 drivers/hid/hid-betopff.c betopff->report->field[2]->value[0] = left / 256; field 48 drivers/hid/hid-betopff.c betopff->report->field[3]->value[0] = right / 256; field 83 drivers/hid/hid-betopff.c for (j = 0; j < report->field[i]->report_count; j++) { field 84 drivers/hid/hid-betopff.c report->field[i]->value[j] = 0x00; field 192 drivers/hid/hid-bigbenff.c struct hid_field *report_field = bigben->report->field[0]; field 39 drivers/hid/hid-cherry.c struct hid_field *field, struct hid_usage *usage, field 27 drivers/hid/hid-chicony.c struct hid_field *field, struct hid_usage *usage, field 95 drivers/hid/hid-cmedia.c struct hid_input *hi, struct hid_field *field, field 95 drivers/hid/hid-core.c struct hid_field *field; field 102 drivers/hid/hid-core.c field = kzalloc((sizeof(struct hid_field) + field 105 drivers/hid/hid-core.c if (!field) field 108 drivers/hid/hid-core.c field->index = report->maxfield++; field 109 drivers/hid/hid-core.c report->field[field->index] = field; field 110 drivers/hid/hid-core.c field->usage = (struct hid_usage *)(field + 1); field 111 drivers/hid/hid-core.c field->value = (s32 *)(field->usage + usages); field 112 drivers/hid/hid-core.c field->report = report; field 114 drivers/hid/hid-core.c return field; field 260 drivers/hid/hid-core.c struct hid_field *field; field 303 drivers/hid/hid-core.c field = hid_register_field(report, usages, parser->global.report_count); field 304 drivers/hid/hid-core.c if (!field) field 307 drivers/hid/hid-core.c field->physical = hid_lookup_collection(parser, HID_COLLECTION_PHYSICAL); field 308 drivers/hid/hid-core.c field->logical = hid_lookup_collection(parser, HID_COLLECTION_LOGICAL); field 309 drivers/hid/hid-core.c field->application = application; field 316 drivers/hid/hid-core.c field->usage[i].hid = parser->local.usage[j]; field 317 drivers/hid/hid-core.c field->usage[i].collection_index = field 319 drivers/hid/hid-core.c field->usage[i].usage_index = i; field 320 drivers/hid/hid-core.c field->usage[i].resolution_multiplier = 1; field 323 drivers/hid/hid-core.c field->maxusage = usages; field 324 drivers/hid/hid-core.c field->flags = flags; field 325 drivers/hid/hid-core.c field->report_offset = offset; field 326 drivers/hid/hid-core.c field->report_type = report_type; field 327 drivers/hid/hid-core.c field->report_size = parser->global.report_size; field 328 drivers/hid/hid-core.c field->report_count = parser->global.report_count; field 329 drivers/hid/hid-core.c field->logical_minimum = parser->global.logical_minimum; field 330 drivers/hid/hid-core.c field->logical_maximum = parser->global.logical_maximum; field 331 drivers/hid/hid-core.c field->physical_minimum = parser->global.physical_minimum; field 332 drivers/hid/hid-core.c field->physical_maximum = parser->global.physical_maximum; field 333 drivers/hid/hid-core.c field->unit_exponent = parser->global.unit_exponent; field 334 drivers/hid/hid-core.c field->unit = parser->global.unit; field 660 drivers/hid/hid-core.c kfree(report->field[n]); field 999 drivers/hid/hid-core.c if (report->field[field_index]->report_count < report_counts) { field 1048 drivers/hid/hid-core.c struct hid_field *field, field 1062 drivers/hid/hid-core.c for (i = 0; i < field->maxusage; i++) { field 1063 drivers/hid/hid-core.c usage = &field->usage[i]; field 1082 drivers/hid/hid-core.c struct hid_field *field; field 1115 drivers/hid/hid-core.c field = rep->field[i]; field 1116 drivers/hid/hid-core.c hid_apply_multiplier_to_field(hid, field, field 1157 drivers/hid/hid-core.c if (rep->field[i]->report_count < 1) field 1160 drivers/hid/hid-core.c for (j = 0; j < rep->field[i]->maxusage; j++) { field 1161 drivers/hid/hid-core.c usage = &rep->field[i]->usage[j]; field 1164 drivers/hid/hid-core.c rep->field[i]); field 1492 drivers/hid/hid-core.c static void hid_process_event(struct hid_device *hid, struct hid_field *field, field 1502 drivers/hid/hid-core.c ret = hdrv->event(hid, field, usage, value); field 1512 drivers/hid/hid-core.c hidinput_hid_event(hid, field, usage, value); field 1514 drivers/hid/hid-core.c hid->hiddev_hid_event(hid, field, usage, value); field 1523 drivers/hid/hid-core.c static void hid_input_field(struct hid_device *hid, struct hid_field *field, field 1527 drivers/hid/hid-core.c unsigned count = field->report_count; field 1528 drivers/hid/hid-core.c unsigned offset = field->report_offset; field 1529 drivers/hid/hid-core.c unsigned size = field->report_size; field 1530 drivers/hid/hid-core.c __s32 min = field->logical_minimum; field 1531 drivers/hid/hid-core.c __s32 max = field->logical_maximum; field 1546 drivers/hid/hid-core.c if (!(field->flags & HID_MAIN_ITEM_VARIABLE) && field 1548 drivers/hid/hid-core.c value[n] - min < field->maxusage && field 1549 drivers/hid/hid-core.c field->usage[value[n] - min].hid == HID_UP_KEYBOARD + 1) field 1555 drivers/hid/hid-core.c if (HID_MAIN_ITEM_VARIABLE & field->flags) { field 1556 drivers/hid/hid-core.c hid_process_event(hid, field, &field->usage[n], value[n], interrupt); field 1560 drivers/hid/hid-core.c if (field->value[n] >= min && field->value[n] <= max field 1561 drivers/hid/hid-core.c && field->value[n] - min < field->maxusage field 1562 drivers/hid/hid-core.c && field->usage[field->value[n] - min].hid field 1563 drivers/hid/hid-core.c && search(value, field->value[n], count)) field 1564 drivers/hid/hid-core.c hid_process_event(hid, field, &field->usage[field->value[n] - min], 0, interrupt); field 1567 drivers/hid/hid-core.c && value[n] - min < field->maxusage field 1568 drivers/hid/hid-core.c && field->usage[value[n] - min].hid field 1569 drivers/hid/hid-core.c && search(field->value, value[n], count)) field 1570 drivers/hid/hid-core.c hid_process_event(hid, field, &field->usage[value[n] - min], 1, interrupt); field 1573 drivers/hid/hid-core.c memcpy(field->value, value, count * sizeof(__s32)); field 1583 drivers/hid/hid-core.c struct hid_field *field, __u8 *data) field 1585 drivers/hid/hid-core.c unsigned count = field->report_count; field 1586 drivers/hid/hid-core.c unsigned offset = field->report_offset; field 1587 drivers/hid/hid-core.c unsigned size = field->report_size; field 1591 drivers/hid/hid-core.c if (field->logical_minimum < 0) /* signed values */ field 1593 drivers/hid/hid-core.c s32ton(field->value[n], size)); field 1596 drivers/hid/hid-core.c field->value[n]); field 1614 drivers/hid/hid-core.c hid_output_field(report->device, report->field[n], data); field 1640 drivers/hid/hid-core.c int hid_set_field(struct hid_field *field, unsigned offset, __s32 value) field 1644 drivers/hid/hid-core.c if (!field) field 1647 drivers/hid/hid-core.c size = field->report_size; field 1649 drivers/hid/hid-core.c hid_dump_input(field->report->device, field->usage + offset, value); field 1651 drivers/hid/hid-core.c if (offset >= field->report_count) { field 1652 drivers/hid/hid-core.c hid_err(field->report->device, "offset (%d) exceeds report_count (%d)\n", field 1653 drivers/hid/hid-core.c offset, field->report_count); field 1656 drivers/hid/hid-core.c if (field->logical_minimum < 0) { field 1658 drivers/hid/hid-core.c hid_err(field->report->device, "value %d is out of range\n", value); field 1662 drivers/hid/hid-core.c field->value[offset] = value; field 1765 drivers/hid/hid-core.c hid_input_field(hid, report->field[a], cdata, interrupt); field 600 drivers/hid/hid-corsair.c static int corsair_event(struct hid_device *dev, struct hid_field *field, field 624 drivers/hid/hid-corsair.c struct hid_field *field, field 210 drivers/hid/hid-creative-sb0540.c struct hid_input *hi, struct hid_field *field, field 52 drivers/hid/hid-cypress.c struct hid_field *field, struct hid_usage *usage, field 68 drivers/hid/hid-cypress.c static int cp_event(struct hid_device *hdev, struct hid_field *field, field 73 drivers/hid/hid-cypress.c if (!(hdev->claimed & HID_CLAIMED_INPUT) || !field->hidinput || field 87 drivers/hid/hid-cypress.c struct input_dev *input = field->hidinput->input; field 522 drivers/hid/hid-debug.c void hid_dump_field(struct hid_field *field, int n, struct seq_file *f) { field 525 drivers/hid/hid-debug.c if (field->physical) { field 528 drivers/hid/hid-debug.c hid_resolv_usage(field->physical, f); seq_printf(f, ")\n"); field 530 drivers/hid/hid-debug.c if (field->logical) { field 533 drivers/hid/hid-debug.c hid_resolv_usage(field->logical, f); seq_printf(f, ")\n"); field 535 drivers/hid/hid-debug.c if (field->application) { field 538 drivers/hid/hid-debug.c hid_resolv_usage(field->application, f); seq_printf(f, ")\n"); field 540 drivers/hid/hid-debug.c tab(n, f); seq_printf(f, "Usage(%d)\n", field->maxusage); field 541 drivers/hid/hid-debug.c for (j = 0; j < field->maxusage; j++) { field 542 drivers/hid/hid-debug.c tab(n+2, f); hid_resolv_usage(field->usage[j].hid, f); seq_printf(f, "\n"); field 544 drivers/hid/hid-debug.c if (field->logical_minimum != field->logical_maximum) { field 545 drivers/hid/hid-debug.c tab(n, f); seq_printf(f, "Logical Minimum(%d)\n", field->logical_minimum); field 546 drivers/hid/hid-debug.c tab(n, f); seq_printf(f, "Logical Maximum(%d)\n", field->logical_maximum); field 548 drivers/hid/hid-debug.c if (field->physical_minimum != field->physical_maximum) { field 549 drivers/hid/hid-debug.c tab(n, f); seq_printf(f, "Physical Minimum(%d)\n", field->physical_minimum); field 550 drivers/hid/hid-debug.c tab(n, f); seq_printf(f, "Physical Maximum(%d)\n", field->physical_maximum); field 552 drivers/hid/hid-debug.c if (field->unit_exponent) { field 553 drivers/hid/hid-debug.c tab(n, f); seq_printf(f, "Unit Exponent(%d)\n", field->unit_exponent); field 555 drivers/hid/hid-debug.c if (field->unit) { field 567 drivers/hid/hid-debug.c __u32 data = field->unit; field 601 drivers/hid/hid-debug.c tab(n, f); seq_printf(f, "Report Size(%u)\n", field->report_size); field 602 drivers/hid/hid-debug.c tab(n, f); seq_printf(f, "Report Count(%u)\n", field->report_count); field 603 drivers/hid/hid-debug.c tab(n, f); seq_printf(f, "Report Offset(%u)\n", field->report_offset); field 606 drivers/hid/hid-debug.c j = field->flags; field 642 drivers/hid/hid-debug.c hid_dump_field(report->field[k], 6, f); field 1020 drivers/hid/hid-debug.c for ( j = 0; j < report->field[i]->maxusage; j++) { field 1021 drivers/hid/hid-debug.c usage = report->field[i]->usage + j; field 53 drivers/hid/hid-dr.c drff->report->field[0]->value[0] = 0x51; field 54 drivers/hid/hid-dr.c drff->report->field[0]->value[1] = 0x00; field 55 drivers/hid/hid-dr.c drff->report->field[0]->value[2] = weak; field 56 drivers/hid/hid-dr.c drff->report->field[0]->value[4] = strong; field 59 drivers/hid/hid-dr.c drff->report->field[0]->value[0] = 0xfa; field 60 drivers/hid/hid-dr.c drff->report->field[0]->value[1] = 0xfe; field 62 drivers/hid/hid-dr.c drff->report->field[0]->value[0] = 0xf3; field 63 drivers/hid/hid-dr.c drff->report->field[0]->value[1] = 0x00; field 66 drivers/hid/hid-dr.c drff->report->field[0]->value[2] = 0x00; field 67 drivers/hid/hid-dr.c drff->report->field[0]->value[4] = 0x00; field 102 drivers/hid/hid-dr.c if (report->field[0]->report_count < 7) { field 120 drivers/hid/hid-dr.c drff->report->field[0]->value[0] = 0xf3; field 121 drivers/hid/hid-dr.c drff->report->field[0]->value[1] = 0x00; field 122 drivers/hid/hid-dr.c drff->report->field[0]->value[2] = 0x00; field 123 drivers/hid/hid-dr.c drff->report->field[0]->value[3] = 0x00; field 124 drivers/hid/hid-dr.c drff->report->field[0]->value[4] = 0x00; field 125 drivers/hid/hid-dr.c drff->report->field[0]->value[5] = 0x00; field 126 drivers/hid/hid-dr.c drff->report->field[0]->value[6] = 0x00; field 249 drivers/hid/hid-dr.c struct hid_field *field, struct hid_usage *usage, field 259 drivers/hid/hid-dr.c if (field->flags & HID_MAIN_ITEM_RELATIVE) field 64 drivers/hid/hid-elan.c struct hid_field *field, struct hid_usage *usage, field 70 drivers/hid/hid-elan.c if (field->report->id == ELAN_SINGLE_FINGER || field 71 drivers/hid/hid-elan.c field->report->id == ELAN_MT_FIRST_FINGER || field 72 drivers/hid/hid-elan.c field->report->id == ELAN_MT_SECOND_FINGER || field 73 drivers/hid/hid-elan.c field->report->id == ELAN_MT_I2C) field 37 drivers/hid/hid-emsff.c emsff->report->field[0]->value[1] = weak; field 38 drivers/hid/hid-emsff.c emsff->report->field[0]->value[2] = strong; field 74 drivers/hid/hid-emsff.c if (report->field[0]->report_count < 7) { field 92 drivers/hid/hid-emsff.c emsff->report->field[0]->value[0] = 0x01; field 93 drivers/hid/hid-emsff.c emsff->report->field[0]->value[1] = 0x00; field 94 drivers/hid/hid-emsff.c emsff->report->field[0]->value[2] = 0x00; field 95 drivers/hid/hid-emsff.c emsff->report->field[0]->value[3] = 0x00; field 96 drivers/hid/hid-emsff.c emsff->report->field[0]->value[4] = 0x00; field 97 drivers/hid/hid-emsff.c emsff->report->field[0]->value[5] = 0x00; field 98 drivers/hid/hid-emsff.c emsff->report->field[0]->value[6] = 0x00; field 26 drivers/hid/hid-ezkey.c struct hid_field *field, struct hid_usage *usage, field 47 drivers/hid/hid-ezkey.c static int ez_event(struct hid_device *hdev, struct hid_field *field, field 50 drivers/hid/hid-ezkey.c if (!(hdev->claimed & HID_CLAIMED_INPUT) || !field->hidinput || field 56 drivers/hid/hid-ezkey.c struct input_dev *input = field->hidinput->input; field 44 drivers/hid/hid-gaff.c gaff->report->field[0]->value[0] = 0x51; field 45 drivers/hid/hid-gaff.c gaff->report->field[0]->value[1] = 0x0; field 46 drivers/hid/hid-gaff.c gaff->report->field[0]->value[2] = right; field 47 drivers/hid/hid-gaff.c gaff->report->field[0]->value[3] = 0; field 48 drivers/hid/hid-gaff.c gaff->report->field[0]->value[4] = left; field 49 drivers/hid/hid-gaff.c gaff->report->field[0]->value[5] = 0; field 53 drivers/hid/hid-gaff.c gaff->report->field[0]->value[0] = 0xfa; field 54 drivers/hid/hid-gaff.c gaff->report->field[0]->value[1] = 0xfe; field 55 drivers/hid/hid-gaff.c gaff->report->field[0]->value[2] = 0x0; field 56 drivers/hid/hid-gaff.c gaff->report->field[0]->value[4] = 0x0; field 94 drivers/hid/hid-gaff.c if (report->field[0]->report_count < 6) { field 112 drivers/hid/hid-gaff.c gaff->report->field[0]->value[0] = 0x51; field 113 drivers/hid/hid-gaff.c gaff->report->field[0]->value[1] = 0x00; field 114 drivers/hid/hid-gaff.c gaff->report->field[0]->value[2] = 0x00; field 115 drivers/hid/hid-gaff.c gaff->report->field[0]->value[3] = 0x00; field 118 drivers/hid/hid-gaff.c gaff->report->field[0]->value[0] = 0xfa; field 119 drivers/hid/hid-gaff.c gaff->report->field[0]->value[1] = 0xfe; field 28 drivers/hid/hid-gfrm.c struct hid_field *field, struct hid_usage *usage, field 353 drivers/hid/hid-google-hammer.c struct hid_field *field, field 370 drivers/hid/hid-google-hammer.c static int hammer_event(struct hid_device *hid, struct hid_field *field, field 423 drivers/hid/hid-google-hammer.c struct hid_field *field = report->field[i]; field 425 drivers/hid/hid-google-hammer.c for (j = 0; j < field->maxusage; j++) field 426 drivers/hid/hid-google-hammer.c if (field->usage[j].hid == HID_AD_BRIGHTNESS) field 25 drivers/hid/hid-gyration.c struct hid_field *field, struct hid_usage *usage, field 54 drivers/hid/hid-gyration.c static int gyration_event(struct hid_device *hdev, struct hid_field *field, field 58 drivers/hid/hid-gyration.c if (!(hdev->claimed & HID_CLAIMED_INPUT) || !field->hidinput) field 63 drivers/hid/hid-gyration.c struct input_dev *input = field->hidinput->input; field 72 drivers/hid/hid-holtekff.c struct hid_field *field; field 82 drivers/hid/hid-holtekff.c holtekff->field->value[i] = data[i]; field 87 drivers/hid/hid-holtekff.c hid_hw_request(hid, holtekff->field->report, HID_REQ_SET_REPORT); field 147 drivers/hid/hid-holtekff.c if (report->maxfield < 1 || report->field[0]->report_count != 7) { field 158 drivers/hid/hid-holtekff.c holtekff->field = report->field[0]; field 164 drivers/hid/hid-icade.c static int icade_event(struct hid_device *hdev, struct hid_field *field, field 169 drivers/hid/hid-icade.c if (!(hdev->claimed & HID_CLAIMED_INPUT) || !field->hidinput || field 182 drivers/hid/hid-icade.c input_event(field->hidinput->input, usage->type, field 189 drivers/hid/hid-icade.c struct hid_field *field, struct hid_usage *usage, field 212 drivers/hid/hid-icade.c struct hid_field *field, struct hid_usage *usage, field 97 drivers/hid/hid-input.c for (j = 0; j < report->field[i]->maxusage; j++) { field 98 drivers/hid/hid-input.c usage = report->field[i]->usage + j; field 199 drivers/hid/hid-input.c __s32 hidinput_calc_abs_res(const struct hid_field *field, __u16 code) field 201 drivers/hid/hid-input.c __s32 unit_exponent = field->unit_exponent; field 202 drivers/hid/hid-input.c __s32 logical_extents = field->logical_maximum - field 203 drivers/hid/hid-input.c field->logical_minimum; field 204 drivers/hid/hid-input.c __s32 physical_extents = field->physical_maximum - field 205 drivers/hid/hid-input.c field->physical_minimum; field 226 drivers/hid/hid-input.c if (field->unit == 0x11) { /* If centimeters */ field 229 drivers/hid/hid-input.c } else if (field->unit == 0x13) { /* If inches */ field 247 drivers/hid/hid-input.c if (field->unit == 0x14) { /* If degrees */ field 254 drivers/hid/hid-input.c } else if (field->unit != 0x12) { /* If not radians */ field 431 drivers/hid/hid-input.c static int hidinput_setup_battery(struct hid_device *dev, unsigned report_type, struct hid_field *field) field 468 drivers/hid/hid-input.c min = field->logical_minimum; field 469 drivers/hid/hid-input.c max = field->logical_maximum; field 482 drivers/hid/hid-input.c dev->battery_report_id = field->report->id; field 490 drivers/hid/hid-input.c field->physical == HID_DG_STYLUS; field 545 drivers/hid/hid-input.c struct hid_field *field) field 559 drivers/hid/hid-input.c static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_field *field, field 567 drivers/hid/hid-input.c field->hidinput = hidinput; field 569 drivers/hid/hid-input.c if (field->flags & HID_MAIN_ITEM_CONSTANT) field 573 drivers/hid/hid-input.c if (field->report_count < 1) field 577 drivers/hid/hid-input.c if (field->report_type == HID_OUTPUT_REPORT && field 583 drivers/hid/hid-input.c int ret = device->driver->input_mapping(device, hidinput, field, field 609 drivers/hid/hid-input.c switch (field->application) { field 625 drivers/hid/hid-input.c switch (field->physical) { field 685 drivers/hid/hid-input.c if (field->application == HID_GD_SYSTEM_CONTROL) field 696 drivers/hid/hid-input.c if (field->dpad) { field 697 drivers/hid/hid-input.c map_abs(field->dpad); field 708 drivers/hid/hid-input.c if (field->flags & HID_MAIN_ITEM_RELATIVE) field 715 drivers/hid/hid-input.c if (field->flags & HID_MAIN_ITEM_RELATIVE) { field 723 drivers/hid/hid-input.c if (field->flags & HID_MAIN_ITEM_RELATIVE) field 730 drivers/hid/hid-input.c usage->hat_min = field->logical_minimum; field 731 drivers/hid/hid-input.c usage->hat_max = field->logical_maximum; field 740 drivers/hid/hid-input.c if (field->application == HID_GD_WIRELESS_RADIO_CTLS) { field 743 drivers/hid/hid-input.c field->flags |= HID_MAIN_ITEM_RELATIVE; field 771 drivers/hid/hid-input.c if ((field->application & 0xff) == 0x01) /* Digitizer */ field 773 drivers/hid/hid-input.c else if ((field->application & 0xff) == 0x02) /* Pen */ field 790 drivers/hid/hid-input.c switch (field->physical & 0xff) { field 798 drivers/hid/hid-input.c hidinput_setup_battery(device, HID_INPUT_REPORT, field); field 1060 drivers/hid/hid-input.c hidinput_setup_battery(device, HID_INPUT_REPORT, field); field 1118 drivers/hid/hid-input.c if (field->report_size == 1) { field 1119 drivers/hid/hid-input.c if (field->report->type == HID_OUTPUT_REPORT) { field 1126 drivers/hid/hid-input.c if (field->flags & HID_MAIN_ITEM_RELATIVE) { field 1136 drivers/hid/hid-input.c device->driver->input_mapped(device, hidinput, field, usage, field 1178 drivers/hid/hid-input.c int a = field->logical_minimum; field 1179 drivers/hid/hid-input.c int b = field->logical_maximum; field 1182 drivers/hid/hid-input.c a = field->logical_minimum = 0; field 1183 drivers/hid/hid-input.c b = field->logical_maximum = 255; field 1186 drivers/hid/hid-input.c if (field->application == HID_GD_GAMEPAD || field->application == HID_GD_JOYSTICK) field 1191 drivers/hid/hid-input.c hidinput_calc_abs_res(field, usage->code)); field 1205 drivers/hid/hid-input.c if (usage->hat_dir && !field->dpad) field 1206 drivers/hid/hid-input.c field->dpad = usage->code; field 1213 drivers/hid/hid-input.c if ((usage->type == EV_ABS) && (field->flags & HID_MAIN_ITEM_RELATIVE) && field 1263 drivers/hid/hid-input.c void hidinput_hid_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value) field 1276 drivers/hid/hid-input.c if (!field->hidinput) field 1279 drivers/hid/hid-input.c input = field->hidinput->input; field 1307 drivers/hid/hid-input.c int a = field->logical_minimum; field 1308 drivers/hid/hid-input.c int b = field->logical_maximum; field 1331 drivers/hid/hid-input.c if ((usage->type == EV_ABS) && (field->flags & HID_MAIN_ITEM_RELATIVE) && field 1357 drivers/hid/hid-input.c if ((field->flags & HID_MAIN_ITEM_VARIABLE) && field 1358 drivers/hid/hid-input.c (field->logical_minimum < field->logical_maximum)) { field 1359 drivers/hid/hid-input.c if (field->flags & HID_MAIN_ITEM_NULL_STATE && field 1360 drivers/hid/hid-input.c (value < field->logical_minimum || field 1361 drivers/hid/hid-input.c value > field->logical_maximum)) { field 1366 drivers/hid/hid-input.c field->logical_minimum, field 1367 drivers/hid/hid-input.c field->logical_maximum); field 1380 drivers/hid/hid-input.c if (!(field->flags & (HID_MAIN_ITEM_RELATIVE | field 1382 drivers/hid/hid-input.c (field->flags & HID_MAIN_ITEM_VARIABLE) && field 1383 drivers/hid/hid-input.c usage->usage_index < field->maxusage && field 1384 drivers/hid/hid-input.c value == field->value[usage->usage_index]) field 1394 drivers/hid/hid-input.c if ((field->flags & HID_MAIN_ITEM_RELATIVE) && field 1413 drivers/hid/hid-input.c int hidinput_find_field(struct hid_device *hid, unsigned int type, unsigned int code, struct hid_field **field) field 1420 drivers/hid/hid-input.c *field = report->field[i]; field 1421 drivers/hid/hid-input.c for (j = 0; j < (*field)->maxusage; j++) field 1422 drivers/hid/hid-input.c if ((*field)->usage[j].type == type && (*field)->usage[j].code == code) field 1433 drivers/hid/hid-input.c struct hid_field *field; field 1440 drivers/hid/hid-input.c field = report->field[i]; field 1441 drivers/hid/hid-input.c for (j = 0; j < field->maxusage; j++) field 1442 drivers/hid/hid-input.c if (field->usage[j].type == EV_LED) field 1443 drivers/hid/hid-input.c return field; field 1453 drivers/hid/hid-input.c struct hid_field *field; field 1461 drivers/hid/hid-input.c field = report->field[i]; field 1462 drivers/hid/hid-input.c for (j = 0; j < field->maxusage; j++) field 1463 drivers/hid/hid-input.c if (field->usage[j].type == EV_LED && field 1464 drivers/hid/hid-input.c field->value[j]) field 1476 drivers/hid/hid-input.c struct hid_field *field; field 1482 drivers/hid/hid-input.c field = hidinput_get_led_field(hid); field 1483 drivers/hid/hid-input.c if (!field) field 1499 drivers/hid/hid-input.c report = field->report; field 1524 drivers/hid/hid-input.c struct hid_field *field; field 1533 drivers/hid/hid-input.c if ((offset = hidinput_find_field(hid, type, code, &field)) == -1) { field 1538 drivers/hid/hid-input.c hid_set_field(field, offset, value); field 1580 drivers/hid/hid-input.c report->field[i]->logical_maximum : field 1581 drivers/hid/hid-input.c report->field[i]->logical_minimum; field 1587 drivers/hid/hid-input.c if (report->field[i]->report_count != 1) field 1590 drivers/hid/hid-input.c for (j = 0; j < report->field[i]->maxusage; j++) { field 1591 drivers/hid/hid-input.c usage = &report->field[i]->usage[j]; field 1596 drivers/hid/hid-input.c report->field[i]->value[j] = value; field 1641 drivers/hid/hid-input.c if (rep->field[i]->report_count < 1) field 1644 drivers/hid/hid-input.c for (j = 0; j < rep->field[i]->maxusage; j++) { field 1645 drivers/hid/hid-input.c usage = &rep->field[i]->usage[j]; field 1650 drivers/hid/hid-input.c rep->field[i]); field 1653 drivers/hid/hid-input.c drv->feature_mapping(hid, rep->field[i], usage); field 1804 drivers/hid/hid-input.c if (report->field[i]->hidinput == hidinput) field 1805 drivers/hid/hid-input.c report->field[i]->hidinput = NULL; field 1845 drivers/hid/hid-input.c for (j = 0; j < report->field[i]->maxusage; j++) field 1846 drivers/hid/hid-input.c hidinput_configure_usage(hidinput, report->field[i], field 1847 drivers/hid/hid-input.c report->field[i]->usage + j); field 14 drivers/hid/hid-ite.c static int ite_event(struct hid_device *hdev, struct hid_field *field, field 19 drivers/hid/hid-ite.c if (!(hdev->claimed & HID_CLAIMED_INPUT) || !field->hidinput) field 22 drivers/hid/hid-ite.c input = field->hidinput->input; field 21 drivers/hid/hid-jabra.c struct hid_field *field, field 31 drivers/hid/hid-jabra.c field->application, field 21 drivers/hid/hid-kensington.c struct hid_field *field, struct hid_usage *usage, field 684 drivers/hid/hid-kye.c if (report->maxfield < 1 || report->field[0]->report_count < 7) { field 689 drivers/hid/hid-kye.c value = report->field[0]->value; field 21 drivers/hid/hid-lcpower.c struct hid_field *field, struct hid_usage *usage, field 85 drivers/hid/hid-lenovo.c struct hid_input *hi, struct hid_field *field, field 98 drivers/hid/hid-lenovo.c struct hid_input *hi, struct hid_field *field, field 152 drivers/hid/hid-lenovo.c field->flags |= HID_MAIN_ITEM_RELATIVE | HID_MAIN_ITEM_VARIABLE; field 153 drivers/hid/hid-lenovo.c field->logical_minimum = -127; field 154 drivers/hid/hid-lenovo.c field->logical_maximum = 127; field 172 drivers/hid/hid-lenovo.c struct hid_input *hi, struct hid_field *field, field 183 drivers/hid/hid-lenovo.c struct hid_input *hi, struct hid_field *field, field 188 drivers/hid/hid-lenovo.c return lenovo_input_mapping_tpkbd(hdev, hi, field, field 192 drivers/hid/hid-lenovo.c return lenovo_input_mapping_cptkbd(hdev, hi, field, field 200 drivers/hid/hid-lenovo.c return lenovo_input_mapping_scrollpoint(hdev, hi, field, field 358 drivers/hid/hid-lenovo.c struct hid_field *field, struct hid_usage *usage, __s32 value) field 377 drivers/hid/hid-lenovo.c input_event(field->hidinput->input, field 379 drivers/hid/hid-lenovo.c input_sync(field->hidinput->input); field 380 drivers/hid/hid-lenovo.c input_event(field->hidinput->input, field 382 drivers/hid/hid-lenovo.c input_sync(field->hidinput->input); field 392 drivers/hid/hid-lenovo.c static int lenovo_event(struct hid_device *hdev, struct hid_field *field, field 398 drivers/hid/hid-lenovo.c return lenovo_event_cptkbd(hdev, field, usage, value); field 411 drivers/hid/hid-lenovo.c report->field[0]->value[0] = data_pointer->press_to_select ? 0x01 : 0x02; field 412 drivers/hid/hid-lenovo.c report->field[0]->value[0] |= data_pointer->dragging ? 0x04 : 0x08; field 413 drivers/hid/hid-lenovo.c report->field[0]->value[0] |= data_pointer->release_to_select ? 0x10 : 0x20; field 414 drivers/hid/hid-lenovo.c report->field[0]->value[0] |= data_pointer->select_right ? 0x80 : 0x40; field 415 drivers/hid/hid-lenovo.c report->field[1]->value[0] = 0x03; // unknown setting, imitate windows driver field 416 drivers/hid/hid-lenovo.c report->field[2]->value[0] = data_pointer->sensitivity; field 417 drivers/hid/hid-lenovo.c report->field[3]->value[0] = data_pointer->press_speed; field 679 drivers/hid/hid-lenovo.c report->field[0]->value[0] = (data_pointer->led_state >> 0) & 1; field 680 drivers/hid/hid-lenovo.c report->field[0]->value[1] = (data_pointer->led_state >> 1) & 1; field 649 drivers/hid/hid-lg.c struct hid_field *field, struct hid_usage *usage, field 684 drivers/hid/hid-lg.c if (field->application == HID_GD_MOUSE) { field 702 drivers/hid/hid-lg.c struct hid_field *field, struct hid_usage *usage, field 708 drivers/hid/hid-lg.c (field->flags & HID_MAIN_ITEM_RELATIVE)) field 709 drivers/hid/hid-lg.c field->flags &= ~HID_MAIN_ITEM_RELATIVE; field 732 drivers/hid/hid-lg.c field->application = HID_GD_MULTIAXIS; field 742 drivers/hid/hid-lg.c static int lg_event(struct hid_device *hdev, struct hid_field *field, field 748 drivers/hid/hid-lg.c input_event(field->hidinput->input, usage->type, usage->code, field 753 drivers/hid/hid-lg.c return lg4ff_adjust_input_event(hdev, field, usage, value, drv_data); field 36 drivers/hid/hid-lg2ff.c lg2ff->report->field[0]->value[0] = 0x51; field 37 drivers/hid/hid-lg2ff.c lg2ff->report->field[0]->value[2] = weak; field 38 drivers/hid/hid-lg2ff.c lg2ff->report->field[0]->value[4] = strong; field 40 drivers/hid/hid-lg2ff.c lg2ff->report->field[0]->value[0] = 0xf3; field 41 drivers/hid/hid-lg2ff.c lg2ff->report->field[0]->value[2] = 0x00; field 42 drivers/hid/hid-lg2ff.c lg2ff->report->field[0]->value[4] = 0x00; field 82 drivers/hid/hid-lg2ff.c report->field[0]->value[0] = 0xf3; field 83 drivers/hid/hid-lg2ff.c report->field[0]->value[1] = 0x00; field 84 drivers/hid/hid-lg2ff.c report->field[0]->value[2] = 0x00; field 85 drivers/hid/hid-lg2ff.c report->field[0]->value[3] = 0x00; field 86 drivers/hid/hid-lg2ff.c report->field[0]->value[4] = 0x00; field 87 drivers/hid/hid-lg2ff.c report->field[0]->value[5] = 0x00; field 88 drivers/hid/hid-lg2ff.c report->field[0]->value[6] = 0x00; field 60 drivers/hid/hid-lg3ff.c memset(report->field[0]->value, 0, field 61 drivers/hid/hid-lg3ff.c sizeof(__s32) * report->field[0]->report_count); field 73 drivers/hid/hid-lg3ff.c report->field[0]->value[0] = 0x51; field 79 drivers/hid/hid-lg3ff.c report->field[0]->value[1] = (unsigned char)(-x); field 80 drivers/hid/hid-lg3ff.c report->field[0]->value[31] = (unsigned char)(-y); field 98 drivers/hid/hid-lg3ff.c report->field[0]->value[0] = 0x51; field 99 drivers/hid/hid-lg3ff.c report->field[0]->value[1] = 0x00; field 100 drivers/hid/hid-lg3ff.c report->field[0]->value[2] = 0x00; field 101 drivers/hid/hid-lg3ff.c report->field[0]->value[3] = 0x7F; field 102 drivers/hid/hid-lg3ff.c report->field[0]->value[4] = 0x7F; field 103 drivers/hid/hid-lg3ff.c report->field[0]->value[31] = 0x00; field 104 drivers/hid/hid-lg3ff.c report->field[0]->value[32] = 0x00; field 105 drivers/hid/hid-lg3ff.c report->field[0]->value[33] = 0x7F; field 106 drivers/hid/hid-lg3ff.c report->field[0]->value[34] = 0x7F; field 300 drivers/hid/hid-lg4ff.c int lg4ff_adjust_input_event(struct hid_device *hid, struct hid_field *field, field 316 drivers/hid/hid-lg4ff.c input_event(field->hidinput->input, usage->type, usage->code, new_value); field 426 drivers/hid/hid-lg4ff.c value = entry->report->field[0]->value; field 488 drivers/hid/hid-lg4ff.c value = entry->report->field[0]->value; field 568 drivers/hid/hid-lg4ff.c value = entry->report->field[0]->value; field 602 drivers/hid/hid-lg4ff.c value = entry->report->field[0]->value; field 638 drivers/hid/hid-lg4ff.c value = entry->report->field[0]->value; field 782 drivers/hid/hid-lg4ff.c value = entry->report->field[0]->value; field 1100 drivers/hid/hid-lg4ff.c value = entry->report->field[0]->value; field 8 drivers/hid/hid-lg4ff.h int lg4ff_adjust_input_event(struct hid_device *hid, struct hid_field *field, field 15 drivers/hid/hid-lg4ff.h static inline int lg4ff_adjust_input_event(struct hid_device *hid, struct hid_field *field, field 73 drivers/hid/hid-lgff.c report->field[0]->value[0] = 0x51; field 74 drivers/hid/hid-lgff.c report->field[0]->value[1] = 0x08; field 75 drivers/hid/hid-lgff.c report->field[0]->value[2] = x; field 76 drivers/hid/hid-lgff.c report->field[0]->value[3] = y; field 88 drivers/hid/hid-lgff.c report->field[0]->value[0] = 0x42; field 89 drivers/hid/hid-lgff.c report->field[0]->value[1] = 0x00; field 90 drivers/hid/hid-lgff.c report->field[0]->value[2] = left; field 91 drivers/hid/hid-lgff.c report->field[0]->value[3] = right; field 104 drivers/hid/hid-lgff.c __s32 *value = report->field[0]->value; field 1103 drivers/hid/hid-logitech-dj.c report->field[0]->value[i] = data[i]; field 2204 drivers/hid/hid-logitech-hidpp.c struct hid_field *field, struct hid_usage *usage, field 2604 drivers/hid/hid-logitech-hidpp.c struct hid_field *field, struct hid_usage *usage, field 2992 drivers/hid/hid-logitech-hidpp.c struct hid_field *field, struct hid_usage *usage, field 3001 drivers/hid/hid-logitech-hidpp.c return wtp_input_mapping(hdev, hi, field, usage, bit, max); field 3003 drivers/hid/hid-logitech-hidpp.c field->application != HID_GD_MOUSE) field 3004 drivers/hid/hid-logitech-hidpp.c return m560_input_mapping(hdev, hi, field, usage, bit, max); field 3010 drivers/hid/hid-logitech-hidpp.c struct hid_field *field, struct hid_usage *usage, field 3023 drivers/hid/hid-logitech-hidpp.c field->application = HID_GD_MULTIAXIS; field 3188 drivers/hid/hid-logitech-hidpp.c static int hidpp_event(struct hid_device *hdev, struct hid_field *field, field 3481 drivers/hid/hid-logitech-hidpp.c return report->field[0]->report_count + 1; field 542 drivers/hid/hid-magicmouse.c struct hid_input *hi, struct hid_field *field, field 553 drivers/hid/hid-magicmouse.c field->flags & HID_MAIN_ITEM_RELATIVE) field 50 drivers/hid/hid-mf.c mf->report->field[0]->value[0] = weak; field 51 drivers/hid/hid-mf.c mf->report->field[0]->value[1] = strong; field 78 drivers/hid/hid-mf.c if (report->maxfield < 1 || report->field[0]->report_count < 2) { field 105 drivers/hid/hid-mf.c mf->report->field[0]->value[0] = 0x00; field 106 drivers/hid/hid-mf.c mf->report->field[0]->value[1] = 0x00; field 161 drivers/hid/hid-microsoft.c static int ms_surface_dial_quirk(struct hid_input *hi, struct hid_field *field, field 186 drivers/hid/hid-microsoft.c struct hid_field *field, struct hid_usage *usage, field 203 drivers/hid/hid-microsoft.c int ret = ms_surface_dial_quirk(hi, field, usage, bit, max); field 213 drivers/hid/hid-microsoft.c struct hid_field *field, struct hid_usage *usage, field 225 drivers/hid/hid-microsoft.c static int ms_event(struct hid_device *hdev, struct hid_field *field, field 232 drivers/hid/hid-microsoft.c if (!(hdev->claimed & HID_CLAIMED_INPUT) || !field->hidinput || field 236 drivers/hid/hid-microsoft.c input = field->hidinput->input; field 34 drivers/hid/hid-monterey.c struct hid_field *field, struct hid_usage *usage, field 458 drivers/hid/hid-multitouch.c struct hid_field *field, struct hid_usage *usage) field 464 drivers/hid/hid-multitouch.c mt_get_feature(hdev, field->report); field 466 drivers/hid/hid-multitouch.c td->maxcontacts = field->value[0]; field 468 drivers/hid/hid-multitouch.c field->logical_maximum <= MT_MAX_MAXCONTACT) field 469 drivers/hid/hid-multitouch.c td->maxcontacts = field->logical_maximum; field 476 drivers/hid/hid-multitouch.c if (usage->usage_index >= field->report_count) { field 481 drivers/hid/hid-multitouch.c mt_get_feature(hdev, field->report); field 482 drivers/hid/hid-multitouch.c if (field->value[usage->usage_index] == MT_BUTTONTYPE_CLICKPAD) field 489 drivers/hid/hid-multitouch.c mt_get_feature(hdev, field->report); field 495 drivers/hid/hid-multitouch.c struct hid_field *field, int snratio) field 497 drivers/hid/hid-multitouch.c int fmin = field->logical_minimum; field 498 drivers/hid/hid-multitouch.c int fmax = field->logical_maximum; field 501 drivers/hid/hid-multitouch.c input_abs_set_res(input, code, hidinput_calc_abs_res(field, code)); field 593 drivers/hid/hid-multitouch.c struct hid_field *field; field 609 drivers/hid/hid-multitouch.c field = report->field[r]; field 611 drivers/hid/hid-multitouch.c if (!(HID_MAIN_ITEM_VARIABLE & field->flags)) field 614 drivers/hid/hid-multitouch.c for (n = 0; n < field->report_count; n++) { field 615 drivers/hid/hid-multitouch.c if (field->usage[n].hid == HID_DG_CONTACTID) field 686 drivers/hid/hid-multitouch.c &field->value[usage->usage_index], \ field 690 drivers/hid/hid-multitouch.c struct hid_field *field, struct hid_usage *usage, field 701 drivers/hid/hid-multitouch.c if (field->application == HID_DG_TOUCHSCREEN && field 712 drivers/hid/hid-multitouch.c prev_usage = &field->usage[usage->usage_index - 1]; field 727 drivers/hid/hid-multitouch.c set_abs(hi->input, code, field, cls->sn_move); field 733 drivers/hid/hid-multitouch.c if (field->application == HID_GD_SYSTEM_MULTIAXIS) { field 752 drivers/hid/hid-multitouch.c set_abs(hi->input, code, field, cls->sn_move); field 770 drivers/hid/hid-multitouch.c (field->application == HID_DG_TOUCHPAD || field 771 drivers/hid/hid-multitouch.c field->application == HID_DG_TOUCHSCREEN)) field 783 drivers/hid/hid-multitouch.c if (field->application != HID_GD_SYSTEM_MULTIAXIS) field 794 drivers/hid/hid-multitouch.c set_abs(hi->input, ABS_MT_TOUCH_MAJOR, field, field 800 drivers/hid/hid-multitouch.c set_abs(hi->input, ABS_MT_TOUCH_MINOR, field, field 815 drivers/hid/hid-multitouch.c set_abs(hi->input, ABS_MT_PRESSURE, field, field 821 drivers/hid/hid-multitouch.c app->scantime = &field->value[usage->usage_index]; field 822 drivers/hid/hid-multitouch.c app->scantime_logical_max = field->logical_maximum; field 826 drivers/hid/hid-multitouch.c app->raw_cc = &field->value[usage->usage_index]; field 835 drivers/hid/hid-multitouch.c -field->logical_maximum / 4, field 836 drivers/hid/hid-multitouch.c field->logical_maximum / 4, field 838 drivers/hid/hid-multitouch.c field->logical_maximum / cls->sn_move : 0, 0); field 859 drivers/hid/hid-multitouch.c field->application == HID_DG_TOUCHPAD && field 863 drivers/hid/hid-multitouch.c if (field->application == HID_GD_SYSTEM_MULTIAXIS) field 967 drivers/hid/hid-multitouch.c static int mt_touch_event(struct hid_device *hid, struct hid_field *field, field 972 drivers/hid/hid-multitouch.c hid->hiddev_hid_event(hid, field, usage, value); field 1106 drivers/hid/hid-multitouch.c struct hid_field *field, field 1112 drivers/hid/hid-multitouch.c struct input_dev *input = field->hidinput->input; field 1149 drivers/hid/hid-multitouch.c struct hid_field *field; field 1191 drivers/hid/hid-multitouch.c input = report->field[0]->hidinput->input; field 1199 drivers/hid/hid-multitouch.c field = report->field[r]; field 1200 drivers/hid/hid-multitouch.c count = field->report_count; field 1202 drivers/hid/hid-multitouch.c if (!(HID_MAIN_ITEM_VARIABLE & field->flags)) field 1206 drivers/hid/hid-multitouch.c mt_process_mt_event(hid, app, field, field 1207 drivers/hid/hid-multitouch.c &field->usage[n], field->value[n], field 1291 drivers/hid/hid-multitouch.c struct hid_field *field, struct hid_usage *usage, field 1298 drivers/hid/hid-multitouch.c rdata = mt_find_report_data(td, field->report); field 1313 drivers/hid/hid-multitouch.c field->application != HID_DG_TOUCHSCREEN && field 1314 drivers/hid/hid-multitouch.c field->application != HID_DG_PEN && field 1315 drivers/hid/hid-multitouch.c field->application != HID_DG_TOUCHPAD && field 1316 drivers/hid/hid-multitouch.c field->application != HID_GD_KEYBOARD && field 1317 drivers/hid/hid-multitouch.c field->application != HID_GD_SYSTEM_CONTROL && field 1318 drivers/hid/hid-multitouch.c field->application != HID_CP_CONSUMER_CONTROL && field 1319 drivers/hid/hid-multitouch.c field->application != HID_GD_WIRELESS_RADIO_CTLS && field 1320 drivers/hid/hid-multitouch.c field->application != HID_GD_SYSTEM_MULTIAXIS && field 1321 drivers/hid/hid-multitouch.c !(field->application == HID_VD_ASUS_CUSTOM_MEDIA_KEYS && field 1330 drivers/hid/hid-multitouch.c if (field->application == HID_VD_ASUS_CUSTOM_MEDIA_KEYS && field 1334 drivers/hid/hid-multitouch.c if (field->flags & HID_MAIN_ITEM_VARIABLE) field 1335 drivers/hid/hid-multitouch.c field->flags &= ~HID_MAIN_ITEM_VARIABLE; field 1349 drivers/hid/hid-multitouch.c return mt_touch_input_mapping(hdev, hi, field, usage, bit, max, field 1356 drivers/hid/hid-multitouch.c if (field->physical == HID_DG_STYLUS) field 1364 drivers/hid/hid-multitouch.c struct hid_field *field, struct hid_usage *usage, field 1370 drivers/hid/hid-multitouch.c rdata = mt_find_report_data(td, field->report); field 1380 drivers/hid/hid-multitouch.c static int mt_event(struct hid_device *hid, struct hid_field *field, field 1386 drivers/hid/hid-multitouch.c rdata = mt_find_report_data(td, field->report); field 1388 drivers/hid/hid-multitouch.c return mt_touch_event(hid, field, usage, value); field 1396 drivers/hid/hid-multitouch.c struct hid_field *field = report->field[0]; field 1406 drivers/hid/hid-multitouch.c if (field && field->hidinput && field->hidinput->input) field 1407 drivers/hid/hid-multitouch.c input_sync(field->hidinput->input); field 1411 drivers/hid/hid-multitouch.c struct hid_field *field, field 1420 drivers/hid/hid-multitouch.c struct hid_report *report = field->report; field 1450 drivers/hid/hid-multitouch.c field->value[index] = td->inputmode_value; field 1456 drivers/hid/hid-multitouch.c max = min_t(int, field->logical_maximum, field 1458 drivers/hid/hid-multitouch.c if (field->value[index] != max) { field 1459 drivers/hid/hid-multitouch.c field->value[index] = max; field 1466 drivers/hid/hid-multitouch.c field->value[index] = latency; field 1470 drivers/hid/hid-multitouch.c field->value[index] = surface_switch; field 1474 drivers/hid/hid-multitouch.c field->value[index] = button_switch; field 1497 drivers/hid/hid-multitouch.c if (rep->field[i]->report_count < 1) field 1500 drivers/hid/hid-multitouch.c for (j = 0; j < rep->field[i]->maxusage; j++) { field 1501 drivers/hid/hid-multitouch.c usage = &rep->field[i]->usage[j]; field 1504 drivers/hid/hid-multitouch.c rep->field[i], field 1612 drivers/hid/hid-multitouch.c static void mt_fix_const_field(struct hid_field *field, unsigned int usage) field 1614 drivers/hid/hid-multitouch.c if (field->usage[0].hid != usage || field 1615 drivers/hid/hid-multitouch.c !(field->flags & HID_MAIN_ITEM_CONSTANT)) field 1618 drivers/hid/hid-multitouch.c field->flags &= ~HID_MAIN_ITEM_CONSTANT; field 1619 drivers/hid/hid-multitouch.c field->flags |= HID_MAIN_ITEM_VARIABLE; field 1635 drivers/hid/hid-multitouch.c if (report->field[i]->maxusage >= 1) field 1636 drivers/hid/hid-multitouch.c mt_fix_const_field(report->field[i], usage); field 115 drivers/hid/hid-ntrig.c report->field[0]->report_count < 1) field 120 drivers/hid/hid-ntrig.c return (int)report->field[0]->value[0]; field 455 drivers/hid/hid-ntrig.c struct hid_field *field, struct hid_usage *usage, field 461 drivers/hid/hid-ntrig.c if (field->physical) field 471 drivers/hid/hid-ntrig.c field->logical_minimum, field 472 drivers/hid/hid-ntrig.c field->logical_maximum, 0, 0); field 476 drivers/hid/hid-ntrig.c field->logical_maximum - field 477 drivers/hid/hid-ntrig.c field->logical_minimum; field 479 drivers/hid/hid-ntrig.c field->physical_maximum - field 480 drivers/hid/hid-ntrig.c field->physical_minimum; field 493 drivers/hid/hid-ntrig.c field->logical_minimum, field 494 drivers/hid/hid-ntrig.c field->logical_maximum, 0, 0); field 498 drivers/hid/hid-ntrig.c field->logical_maximum - field 499 drivers/hid/hid-ntrig.c field->logical_minimum; field 501 drivers/hid/hid-ntrig.c field->physical_maximum - field 502 drivers/hid/hid-ntrig.c field->physical_minimum; field 546 drivers/hid/hid-ntrig.c struct hid_field *field, struct hid_usage *usage, field 550 drivers/hid/hid-ntrig.c if (field->physical) field 566 drivers/hid/hid-ntrig.c static int ntrig_event (struct hid_device *hid, struct hid_field *field, field 578 drivers/hid/hid-ntrig.c if(!(field->hidinput && field->hidinput->input)) field 581 drivers/hid/hid-ntrig.c input = field->hidinput->input; field 584 drivers/hid/hid-ntrig.c if (field->application == HID_DG_PEN) field 750 drivers/hid/hid-ntrig.c input_mt_sync(field->hidinput->input); field 853 drivers/hid/hid-ntrig.c hid->hiddev_hid_event(hid, field, usage, value); field 867 drivers/hid/hid-ntrig.c switch (hidinput->report->field[0]->application) { field 884 drivers/hid/hid-ntrig.c input->name = (hidinput->report->field[0]->physical) ? field 19 drivers/hid/hid-penmount.c struct hid_input *hi, struct hid_field *field, field 38 drivers/hid/hid-petalynx.c struct hid_field *field, struct hid_usage *usage, field 29 drivers/hid/hid-picolcd_backlight.c if (!report || report->maxfield != 1 || report->field[0]->report_count != 1) field 35 drivers/hid/hid-picolcd_backlight.c hid_set_field(report->field[0], 0, data->lcd_power == FB_BLANK_UNBLANK ? data->lcd_brightness : 0); field 60 drivers/hid/hid-picolcd_backlight.c if (report->maxfield != 1 || report->field[0]->report_count != 1 || field 61 drivers/hid/hid-picolcd_backlight.c report->field[0]->report_size != 8) { field 93 drivers/hid/hid-picolcd_core.c for (j = 0; j < report->field[i]->report_count; j++) { field 94 drivers/hid/hid-picolcd_core.c hid_set_field(report->field[i], j, k < size ? raw_data[k] : 0); field 231 drivers/hid/hid-picolcd_core.c hid_set_field(report->field[0], 0, 1); field 286 drivers/hid/hid-picolcd_core.c hid_set_field(report->field[0], 0, timeout & 0xff); field 287 drivers/hid/hid-picolcd_core.c hid_set_field(report->field[0], 1, (timeout >> 8) & 0xff); field 417 drivers/hid/hid-picolcd_core.c if (report->maxfield != 1 || report->field[0]->report_count != 2 || field 418 drivers/hid/hid-picolcd_core.c report->field[0]->report_size != 8) { field 858 drivers/hid/hid-picolcd_debugfs.c if (flash_r && flash_r->maxfield == 1 && flash_r->field[0]->report_size == 8) field 859 drivers/hid/hid-picolcd_debugfs.c data->addr_sz = flash_r->field[0]->report_count - 1; field 110 drivers/hid/hid-picolcd_fb.c hid_set_field(report1->field[0], 0, chip << 2); field 111 drivers/hid/hid-picolcd_fb.c hid_set_field(report1->field[0], 1, 0x02); field 112 drivers/hid/hid-picolcd_fb.c hid_set_field(report1->field[0], 2, 0x00); field 113 drivers/hid/hid-picolcd_fb.c hid_set_field(report1->field[0], 3, 0x00); field 114 drivers/hid/hid-picolcd_fb.c hid_set_field(report1->field[0], 4, 0xb8 | tile); field 115 drivers/hid/hid-picolcd_fb.c hid_set_field(report1->field[0], 5, 0x00); field 116 drivers/hid/hid-picolcd_fb.c hid_set_field(report1->field[0], 6, 0x00); field 117 drivers/hid/hid-picolcd_fb.c hid_set_field(report1->field[0], 7, 0x40); field 118 drivers/hid/hid-picolcd_fb.c hid_set_field(report1->field[0], 8, 0x00); field 119 drivers/hid/hid-picolcd_fb.c hid_set_field(report1->field[0], 9, 0x00); field 120 drivers/hid/hid-picolcd_fb.c hid_set_field(report1->field[0], 10, 32); field 122 drivers/hid/hid-picolcd_fb.c hid_set_field(report2->field[0], 0, (chip << 2) | 0x01); field 123 drivers/hid/hid-picolcd_fb.c hid_set_field(report2->field[0], 1, 0x00); field 124 drivers/hid/hid-picolcd_fb.c hid_set_field(report2->field[0], 2, 0x00); field 125 drivers/hid/hid-picolcd_fb.c hid_set_field(report2->field[0], 3, 32); field 130 drivers/hid/hid-picolcd_fb.c hid_set_field(report1->field[0], 11 + i, tdata[i]); field 132 drivers/hid/hid-picolcd_fb.c hid_set_field(report2->field[0], 4 + i - 32, tdata[i]); field 198 drivers/hid/hid-picolcd_fb.c for (j = 0; j < report->field[0]->maxusage; j++) field 200 drivers/hid/hid-picolcd_fb.c hid_set_field(report->field[0], j, i << 2); field 202 drivers/hid/hid-picolcd_fb.c hid_set_field(report->field[0], j, mapcmd[j]); field 204 drivers/hid/hid-picolcd_fb.c hid_set_field(report->field[0], j, 0); field 32 drivers/hid/hid-picolcd_lcd.c if (!report || report->maxfield != 1 || report->field[0]->report_count != 1) field 37 drivers/hid/hid-picolcd_lcd.c hid_set_field(report->field[0], 0, data->lcd_contrast); field 62 drivers/hid/hid-picolcd_lcd.c if (report->maxfield != 1 || report->field[0]->report_count != 1 || field 63 drivers/hid/hid-picolcd_lcd.c report->field[0]->report_size != 8) { field 40 drivers/hid/hid-picolcd_leds.c if (!report || report->maxfield != 1 || report->field[0]->report_count != 1) field 44 drivers/hid/hid-picolcd_leds.c hid_set_field(report->field[0], 0, data->led_state); field 106 drivers/hid/hid-picolcd_leds.c if (report->maxfield != 1 || report->field[0]->report_count != 1 || field 107 drivers/hid/hid-picolcd_leds.c report->field[0]->report_size != 8) { field 117 drivers/hid/hid-pl.c if (report->field[0]->report_count >= 4) { field 118 drivers/hid/hid-pl.c report->field[0]->value[0] = 0x00; field 119 drivers/hid/hid-pl.c report->field[0]->value[1] = 0x00; field 120 drivers/hid/hid-pl.c strong = &report->field[0]->value[2]; field 121 drivers/hid/hid-pl.c weak = &report->field[0]->value[3]; field 123 drivers/hid/hid-pl.c } else if (report->field[0]->maxusage == 1 && field 124 drivers/hid/hid-pl.c report->field[0]->usage[0].hid == field 127 drivers/hid/hid-pl.c report->field[0]->report_count >= 1 && field 128 drivers/hid/hid-pl.c report->field[1]->report_count >= 1 && field 129 drivers/hid/hid-pl.c report->field[2]->report_count >= 1 && field 130 drivers/hid/hid-pl.c report->field[3]->report_count >= 1) { field 131 drivers/hid/hid-pl.c report->field[0]->value[0] = 0x00; field 132 drivers/hid/hid-pl.c report->field[1]->value[0] = 0x00; field 133 drivers/hid/hid-pl.c strong = &report->field[2]->value[0]; field 134 drivers/hid/hid-pl.c weak = &report->field[3]->value[0]; field 36 drivers/hid/hid-plantronics.c #define PLT_ALLOW_CONSUMER (field->application == HID_CP_CONSUMERCONTROL && \ field 41 drivers/hid/hid-plantronics.c struct hid_field *field, field 49 drivers/hid/hid-plantronics.c if (field->application == HID_GD_JOYSTICK) field 74 drivers/hid/hid-plantronics.c else if (!((field->application ^ plt_type) & HID_USAGE_PAGE)) { field 98 drivers/hid/hid-plantronics.c usage->hid, field->application); field 104 drivers/hid/hid-plantronics.c usage->hid, field->application, mapped_key); field 285 drivers/hid/hid-prodikeys.c if (report->field[0]->report_count != 2) { field 300 drivers/hid/hid-prodikeys.c report->field[0]->value[0] = 0x01; field 301 drivers/hid/hid-prodikeys.c report->field[0]->value[1] = state; field 759 drivers/hid/hid-prodikeys.c struct hid_field *field, struct hid_usage *usage, field 22 drivers/hid/hid-retrode.c struct hid_field *field = hi->report->field[0]; field 27 drivers/hid/hid-retrode.c switch (field->report->id) { field 34 drivers/hid/hid-retrode.c number = field->report->id; field 39 drivers/hid/hid-retrode.c number = field->report->id - 2; field 42 drivers/hid/hid-retrode.c hid_err(hdev, "Got unhandled report id %d\n", field->report->id); field 399 drivers/hid/hid-rmi.c static int rmi_event(struct hid_device *hdev, struct hid_field *field, field 405 drivers/hid/hid-rmi.c (field->application == HID_GD_POINTER || field 406 drivers/hid/hid-rmi.c field->application == HID_GD_MOUSE)) { field 425 drivers/hid/hid-rmi.c struct hid_field *field = report->field[0]; field 437 drivers/hid/hid-rmi.c if (field && field->hidinput && field->hidinput->input) field 438 drivers/hid/hid-rmi.c input_sync(field->hidinput->input); field 544 drivers/hid/hid-rmi.c struct hid_input *hi, struct hid_field *field, field 572 drivers/hid/hid-rmi.c unsigned app = (*report)->field[i]->application; field 150 drivers/hid/hid-saitek.c static int saitek_event(struct hid_device *hdev, struct hid_field *field, field 154 drivers/hid/hid-saitek.c struct input_dev *input = field->hidinput->input; field 96 drivers/hid/hid-samsung.c struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, field 137 drivers/hid/hid-samsung.c struct hid_field *field, struct hid_usage *usage, field 144 drivers/hid/hid-samsung.c hi, field, usage, bit, max); field 473 drivers/hid/hid-sensor-custom.c struct hid_field *field) field 488 drivers/hid/hid-sensor-custom.c if (field->logical) field 489 drivers/hid/hid-sensor-custom.c sensor_field->attribute.attrib_id = field->logical; field 491 drivers/hid/hid-sensor-custom.c sensor_field->attribute.attrib_id = field->usage[0].hid; field 495 drivers/hid/hid-sensor-custom.c sensor_field->attribute.units = field->unit; field 496 drivers/hid/hid-sensor-custom.c sensor_field->attribute.unit_expo = field->unit_exponent; field 497 drivers/hid/hid-sensor-custom.c sensor_field->attribute.size = (field->report_size / 8); field 498 drivers/hid/hid-sensor-custom.c sensor_field->attribute.logical_minimum = field->logical_minimum; field 499 drivers/hid/hid-sensor-custom.c sensor_field->attribute.logical_maximum = field->logical_maximum; field 512 drivers/hid/hid-sensor-custom.c sensor_inst->input_report_size += (field->report_size * field 513 drivers/hid/hid-sensor-custom.c field->report_count) / 8; field 530 drivers/hid/hid-sensor-custom.c struct hid_field *field; field 535 drivers/hid/hid-sensor-custom.c field = report->field[i]; field 536 drivers/hid/hid-sensor-custom.c if (field->maxusage && field 537 drivers/hid/hid-sensor-custom.c ((field->usage[0].collection_index >= field 539 drivers/hid/hid-sensor-custom.c (field->usage[0].collection_index < field 546 drivers/hid/hid-sensor-custom.c field); field 87 drivers/hid/hid-sensor-hub.c s32 index, s32 report_id, struct hid_field *field) field 91 drivers/hid/hid-sensor-hub.c info->units = field->unit; field 92 drivers/hid/hid-sensor-hub.c info->unit_expo = field->unit_exponent; field 93 drivers/hid/hid-sensor-hub.c info->size = (field->report_size * field->report_count)/8; field 94 drivers/hid/hid-sensor-hub.c info->logical_minimum = field->logical_minimum; field 95 drivers/hid/hid-sensor-hub.c info->logical_maximum = field->logical_maximum; field 213 drivers/hid/hid-sensor-hub.c hid_set_field(report->field[field_index], i, field 221 drivers/hid/hid-sensor-hub.c hid_set_field(report->field[field_index], i, field 250 drivers/hid/hid-sensor-hub.c report->field[field_index]->report_count < 1) { field 258 drivers/hid/hid-sensor-hub.c report_size = DIV_ROUND_UP(report->field[field_index]->report_size, field 260 drivers/hid/hid-sensor-hub.c report->field[field_index]->report_count; field 267 drivers/hid/hid-sensor-hub.c val_ptr = (u8 *)report->field[field_index]->value; field 268 drivers/hid/hid-sensor-hub.c for (i = 0; i < report->field[field_index]->report_count; ++i) { field 273 drivers/hid/hid-sensor-hub.c report->field[field_index]->report_size / 8); field 275 drivers/hid/hid-sensor-hub.c buffer_index += (report->field[field_index]->report_size / 8); field 352 drivers/hid/hid-sensor-hub.c struct hid_field *field; field 359 drivers/hid/hid-sensor-hub.c field = report->field[field_index]; field 360 drivers/hid/hid-sensor-hub.c for (i = 0; i < field->maxusage; ++i) { field 361 drivers/hid/hid-sensor-hub.c if (field->usage[i].hid == usage_id) field 362 drivers/hid/hid-sensor-hub.c return field->usage[i].usage_index; field 379 drivers/hid/hid-sensor-hub.c struct hid_field *field; field 394 drivers/hid/hid-sensor-hub.c field = report->field[i]; field 395 drivers/hid/hid-sensor-hub.c if (field->maxusage) { field 396 drivers/hid/hid-sensor-hub.c if (field->physical == usage_id && field 397 drivers/hid/hid-sensor-hub.c (field->logical == attr_usage_id || field 398 drivers/hid/hid-sensor-hub.c field->usage[0].hid == field 400 drivers/hid/hid-sensor-hub.c (field->usage[0].collection_index >= field 402 drivers/hid/hid-sensor-hub.c (field->usage[0].collection_index < field 407 drivers/hid/hid-sensor-hub.c field); field 492 drivers/hid/hid-sensor-hub.c i, report->field[i]->usage->collection_index, field 493 drivers/hid/hid-sensor-hub.c report->field[i]->usage->hid, field 494 drivers/hid/hid-sensor-hub.c (report->field[i]->report_size * field 495 drivers/hid/hid-sensor-hub.c report->field[i]->report_count)/8); field 496 drivers/hid/hid-sensor-hub.c sz = (report->field[i]->report_size * field 497 drivers/hid/hid-sensor-hub.c report->field[i]->report_count)/8; field 499 drivers/hid/hid-sensor-hub.c report->field[i]->usage->collection_index]; field 504 drivers/hid/hid-sensor-hub.c report->field[i]->physical, field 505 drivers/hid/hid-sensor-hub.c report->field[i]->usage[0].collection_index, field 512 drivers/hid/hid-sensor-hub.c report->field[i]->usage->hid || field 514 drivers/hid/hid-sensor-hub.c report->field[i]->logical)) { field 524 drivers/hid/hid-sensor-hub.c if (report->field[i]->logical) field 526 drivers/hid/hid-sensor-hub.c report->field[i]->logical, sz, ptr, field 530 drivers/hid/hid-sensor-hub.c report->field[i]->usage->hid, sz, ptr, field 43 drivers/hid/hid-sjoy.c sjoyff->report->field[0]->value[1] = right; field 44 drivers/hid/hid-sjoy.c sjoyff->report->field[0]->value[2] = left; field 81 drivers/hid/hid-sjoy.c if (report->field[0]->report_count < 3) { field 101 drivers/hid/hid-sjoy.c sjoyff->report->field[0]->value[0] = 0x01; field 102 drivers/hid/hid-sjoy.c sjoyff->report->field[0]->value[1] = 0x00; field 103 drivers/hid/hid-sjoy.c sjoyff->report->field[0]->value[2] = 0x00; field 680 drivers/hid/hid-sony.c struct hid_field *field, struct hid_usage *usage, field 714 drivers/hid/hid-sony.c struct hid_field *field, struct hid_usage *usage, field 762 drivers/hid/hid-sony.c struct hid_field *field, struct hid_usage *usage, field 810 drivers/hid/hid-sony.c struct hid_field *field, struct hid_usage *usage, field 1323 drivers/hid/hid-sony.c struct hid_field *field, struct hid_usage *usage, field 1352 drivers/hid/hid-sony.c return ps3remote_mapping(hdev, hi, field, usage, bit, max); field 1355 drivers/hid/hid-sony.c return navigation_mapping(hdev, hi, field, usage, bit, max); field 1358 drivers/hid/hid-sony.c return sixaxis_mapping(hdev, hi, field, usage, bit, max); field 1361 drivers/hid/hid-sony.c return ds4_mapping(hdev, hi, field, usage, bit, max); field 1830 drivers/hid/hid-sony.c s32 *value = report->field[0]->value; field 26 drivers/hid/hid-speedlink.c struct hid_field *field, struct hid_usage *usage, field 42 drivers/hid/hid-speedlink.c static int speedlink_event(struct hid_device *hdev, struct hid_field *field, field 113 drivers/hid/hid-steelseries.c __s32 *value = report->field[0]->value; field 36 drivers/hid/hid-sunplus.c struct hid_field *field, struct hid_usage *usage, field 23 drivers/hid/hid-tivo.c struct hid_field *field, struct hid_usage *usage, field 149 drivers/hid/hid-tmff.c struct hid_field *field = report->field[fieldnum]; field 151 drivers/hid/hid-tmff.c if (field->maxusage <= 0) field 154 drivers/hid/hid-tmff.c switch (field->usage[0].hid) { field 156 drivers/hid/hid-tmff.c if (field->report_count < 2) { field 161 drivers/hid/hid-tmff.c if (field->logical_maximum == field 162 drivers/hid/hid-tmff.c field->logical_minimum) { field 172 drivers/hid/hid-tmff.c if (tmff->ff_field && tmff->ff_field != field) { field 178 drivers/hid/hid-tmff.c tmff->ff_field = field; field 187 drivers/hid/hid-tmff.c field->usage[0].hid); field 27 drivers/hid/hid-topseed.c struct hid_field *field, struct hid_usage *usage, field 62 drivers/hid/hid-twinhan.c struct hid_field *field, struct hid_usage *usage, field 86 drivers/hid/hid-uclogic-core.c struct hid_field *field, field 95 drivers/hid/hid-uclogic-core.c if (params->pen_unused && (field->application == HID_DG_PEN)) field 109 drivers/hid/hid-uclogic-core.c struct hid_field *field; field 125 drivers/hid/hid-uclogic-core.c field = hi->report->field[0]; field 127 drivers/hid/hid-uclogic-core.c switch (field->application) { field 25 drivers/hid/hid-xinmo.c static int xinmo_event(struct hid_device *hdev, struct hid_field *field, field 34 drivers/hid/hid-xinmo.c input_event(field->hidinput->input, usage->type, field 45 drivers/hid/hid-zpff.c zpff->report->field[2]->value[0] = left; field 46 drivers/hid/hid-zpff.c zpff->report->field[3]->value[0] = right; field 87 drivers/hid/hid-zpff.c zpff->report->field[0]->value[0] = 0x00; field 88 drivers/hid/hid-zpff.c zpff->report->field[1]->value[0] = 0x02; field 89 drivers/hid/hid-zpff.c zpff->report->field[2]->value[0] = 0x00; field 90 drivers/hid/hid-zpff.c zpff->report->field[3]->value[0] = 0x00; field 46 drivers/hid/hid-zydacron.c struct hid_field *field, struct hid_usage *usage, field 806 drivers/hid/usbhid/hid-core.c struct hid_field *field; field 812 drivers/hid/usbhid/hid-core.c field = report->field[i]; field 813 drivers/hid/usbhid/hid-core.c for (j = 0; j < field->maxusage; j++) { field 814 drivers/hid/usbhid/hid-core.c usage = &field->usage[j]; field 817 drivers/hid/usbhid/hid-core.c *pfield = field; field 828 drivers/hid/usbhid/hid-core.c struct hid_field *field; field 831 drivers/hid/usbhid/hid-core.c if ((offset = hid_find_field_early(hid, HID_UP_LED, 0x01, &field)) != -1) { field 832 drivers/hid/usbhid/hid-core.c hid_set_field(field, offset, 0); field 833 drivers/hid/usbhid/hid-core.c usbhid_submit_report(hid, field->report, USB_DIR_OUT); field 140 drivers/hid/usbhid/hid-pidff.c struct hid_field *field; field 192 drivers/hid/usbhid/hid-pidff.c static int pidff_rescale(int i, int max, struct hid_field *field) field 194 drivers/hid/usbhid/hid-pidff.c return i * (field->logical_maximum - field->logical_minimum) / max + field 195 drivers/hid/usbhid/hid-pidff.c field->logical_minimum; field 201 drivers/hid/usbhid/hid-pidff.c static int pidff_rescale_signed(int i, struct hid_field *field) field 204 drivers/hid/usbhid/hid-pidff.c 0 ? i * field->logical_maximum / 0x7fff : i * field 205 drivers/hid/usbhid/hid-pidff.c field->logical_minimum / -0x8000; field 210 drivers/hid/usbhid/hid-pidff.c usage->value[0] = pidff_rescale(value, 0xffff, usage->field); field 216 drivers/hid/usbhid/hid-pidff.c if (usage->field->logical_minimum < 0) field 217 drivers/hid/usbhid/hid-pidff.c usage->value[0] = pidff_rescale_signed(value, usage->field); field 221 drivers/hid/usbhid/hid-pidff.c pidff_rescale(-value, 0x8000, usage->field); field 224 drivers/hid/usbhid/hid-pidff.c pidff_rescale(value, 0x7fff, usage->field); field 241 drivers/hid/usbhid/hid-pidff.c pidff->set_envelope[PID_ATTACK_LEVEL].field); field 245 drivers/hid/usbhid/hid-pidff.c pidff->set_envelope[PID_FADE_LEVEL].field); field 309 drivers/hid/usbhid/hid-pidff.c pidff->set_effect[PID_GAIN].field->logical_maximum; field 721 drivers/hid/usbhid/hid-pidff.c struct hid_field *field = field 722 drivers/hid/usbhid/hid-pidff.c pidff->block_load[PID_EFFECT_BLOCK_INDEX].field; field 725 drivers/hid/usbhid/hid-pidff.c pidff_playback_pid(pidff, field->logical_minimum, 0); field 729 drivers/hid/usbhid/hid-pidff.c pidff_playback_pid(pidff, field->logical_minimum, 1); field 732 drivers/hid/usbhid/hid-pidff.c pidff->block_load[PID_EFFECT_BLOCK_INDEX].field->logical_minimum; field 766 drivers/hid/usbhid/hid-pidff.c if (report->field[i]->maxusage != field 767 drivers/hid/usbhid/hid-pidff.c report->field[i]->report_count) { field 771 drivers/hid/usbhid/hid-pidff.c for (j = 0; j < report->field[i]->maxusage; j++) { field 772 drivers/hid/usbhid/hid-pidff.c if (report->field[i]->usage[j].hid == field 776 drivers/hid/usbhid/hid-pidff.c usage[k].field = report->field[i]; field 778 drivers/hid/usbhid/hid-pidff.c &report->field[i]->value[j]; field 822 drivers/hid/usbhid/hid-pidff.c ret = pidff_check_usage(report->field[0]->logical); field 837 drivers/hid/usbhid/hid-pidff.c i = report->field[0]->usage[0].collection_index; field 877 drivers/hid/usbhid/hid-pidff.c if (report->field[i]->logical == (HID_UP_PID | usage) && field 878 drivers/hid/usbhid/hid-pidff.c report->field[i]->report_count > 0) { field 880 drivers/hid/usbhid/hid-pidff.c report->field[i]->logical_minimum == 1) field 881 drivers/hid/usbhid/hid-pidff.c return report->field[i]; field 913 drivers/hid/usbhid/hid-pidff.c #define PIDFF_FIND_SPECIAL_KEYS(keys, field, name) \ field 914 drivers/hid/usbhid/hid-pidff.c pidff_find_special_keys(pidff->keys, pidff->field, pidff_ ## name, \ field 1208 drivers/hid/usbhid/hid-pidff.c pidff->block_load[PID_EFFECT_BLOCK_INDEX].field->logical_minimum + 1) { field 1277 drivers/hid/usbhid/hid-pidff.c pidff->block_load[PID_EFFECT_BLOCK_INDEX].field->logical_maximum - field 1278 drivers/hid/usbhid/hid-pidff.c pidff->block_load[PID_EFFECT_BLOCK_INDEX].field->logical_minimum + field 114 drivers/hid/usbhid/hiddev.c struct hid_field *field; field 125 drivers/hid/usbhid/hiddev.c field = report->field[i]; field 126 drivers/hid/usbhid/hiddev.c for (j = 0; j < field->maxusage; j++) { field 127 drivers/hid/usbhid/hiddev.c if (field->usage[j].hid == uref->usage_code) { field 131 drivers/hid/usbhid/hiddev.c return field; field 166 drivers/hid/usbhid/hiddev.c void hiddev_hid_event(struct hid_device *hid, struct hid_field *field, field 169 drivers/hid/usbhid/hiddev.c unsigned type = field->report_type; field 176 drivers/hid/usbhid/hiddev.c uref.report_id = field->report->id; field 177 drivers/hid/usbhid/hiddev.c uref.field_index = field->index; field 178 drivers/hid/usbhid/hiddev.c uref.usage_index = (usage - field->usage); field 434 drivers/hid/usbhid/hiddev.c struct hid_field *field; field 462 drivers/hid/usbhid/hiddev.c field = report->field[uref->field_index]; field 463 drivers/hid/usbhid/hiddev.c if (uref->usage_index >= field->maxusage) field 466 drivers/hid/usbhid/hiddev.c field->maxusage); field 468 drivers/hid/usbhid/hiddev.c uref->usage_code = field->usage[uref->usage_index].hid; field 482 drivers/hid/usbhid/hiddev.c field = hiddev_lookup_usage(hid, uref); field 483 drivers/hid/usbhid/hiddev.c if (field == NULL) field 496 drivers/hid/usbhid/hiddev.c field = report->field[uref->field_index]; field 499 drivers/hid/usbhid/hiddev.c if (uref->usage_index >= field->maxusage) field 503 drivers/hid/usbhid/hiddev.c field->maxusage); field 504 drivers/hid/usbhid/hiddev.c } else if (uref->usage_index >= field->report_count) field 511 drivers/hid/usbhid/hiddev.c field->report_count) field 516 drivers/hid/usbhid/hiddev.c field->report_count - field 522 drivers/hid/usbhid/hiddev.c uref->value = field->value[uref->usage_index]; field 528 drivers/hid/usbhid/hiddev.c field->value[uref->usage_index] = uref->value; field 532 drivers/hid/usbhid/hiddev.c i = field->usage[uref->usage_index].collection_index; field 538 drivers/hid/usbhid/hiddev.c field->value[uref->usage_index + i]; field 545 drivers/hid/usbhid/hiddev.c field->value[uref->usage_index + i] = field 600 drivers/hid/usbhid/hiddev.c struct hid_field *field; field 762 drivers/hid/usbhid/hiddev.c field = report->field[finfo.field_index]; field 766 drivers/hid/usbhid/hiddev.c finfo.field_index = field->report_count - 1; field 767 drivers/hid/usbhid/hiddev.c finfo.maxusage = field->maxusage; field 768 drivers/hid/usbhid/hiddev.c finfo.flags = field->flags; field 769 drivers/hid/usbhid/hiddev.c finfo.physical = field->physical; field 770 drivers/hid/usbhid/hiddev.c finfo.logical = field->logical; field 771 drivers/hid/usbhid/hiddev.c finfo.application = field->application; field 772 drivers/hid/usbhid/hiddev.c finfo.logical_minimum = field->logical_minimum; field 773 drivers/hid/usbhid/hiddev.c finfo.logical_maximum = field->logical_maximum; field 774 drivers/hid/usbhid/hiddev.c finfo.physical_minimum = field->physical_minimum; field 775 drivers/hid/usbhid/hiddev.c finfo.physical_maximum = field->physical_maximum; field 776 drivers/hid/usbhid/hiddev.c finfo.unit_exponent = field->unit_exponent; field 777 drivers/hid/usbhid/hiddev.c finfo.unit = field->unit; field 231 drivers/hid/wacom.h struct hid_field *field, struct hid_usage *usage); field 232 drivers/hid/wacom.h void wacom_wac_event(struct hid_device *hdev, struct hid_field *field, field 105 drivers/hid/wacom_sys.c for (j = 0; j < report->field[i]->maxusage; j++) { field 106 drivers/hid/wacom_sys.c struct hid_field *field = report->field[i]; field 107 drivers/hid/wacom_sys.c struct hid_usage *usage = &field->usage[j]; field 119 drivers/hid/wacom_sys.c offset = field->report_offset; field 120 drivers/hid/wacom_sys.c size = field->report_size; field 201 drivers/hid/wacom_sys.c struct hid_field field = { field 208 drivers/hid/wacom_sys.c return hidinput_calc_abs_res(&field, ABS_X); field 212 drivers/hid/wacom_sys.c struct hid_field *field, struct hid_usage *usage) field 224 drivers/hid/wacom_sys.c field->application == HID_UP_MSVENDOR) { field 225 drivers/hid/wacom_sys.c wacom->wacom_wac.mode_report = field->report->id; field 239 drivers/hid/wacom_sys.c field->application == HID_DG_PEN && field 240 drivers/hid/wacom_sys.c field->physical == HID_DG_STYLUS) { field 243 drivers/hid/wacom_sys.c if (i-4 >= 0 && i+1 < field->maxusage && field 244 drivers/hid/wacom_sys.c field->usage[i-4].hid == HID_DG_TIPSWITCH && field 245 drivers/hid/wacom_sys.c field->usage[i-3].hid == HID_DG_BARRELSWITCH && field 246 drivers/hid/wacom_sys.c field->usage[i-2].hid == HID_DG_ERASER && field 247 drivers/hid/wacom_sys.c field->usage[i-1].hid == HID_DG_INVERT && field 248 drivers/hid/wacom_sys.c field->usage[i+1].hid == HID_DG_INRANGE) { field 262 drivers/hid/wacom_sys.c field->report_size == 16 && field 263 drivers/hid/wacom_sys.c field->index + 2 < field->report->maxfield) { field 264 drivers/hid/wacom_sys.c struct hid_field *a = field->report->field[field->index + 1]; field 265 drivers/hid/wacom_sys.c struct hid_field *b = field->report->field[field->index + 2]; field 275 drivers/hid/wacom_sys.c field->logical_minimum = S16_MIN; field 276 drivers/hid/wacom_sys.c field->logical_maximum = S16_MAX; field 288 drivers/hid/wacom_sys.c WACOM_PEN_FIELD(field) && field 290 drivers/hid/wacom_sys.c field->logical_maximum = 43200; field 295 drivers/hid/wacom_sys.c struct hid_field *field, struct hid_usage *usage) field 305 drivers/hid/wacom_sys.c wacom_hid_usage_quirk(hdev, field, usage); field 315 drivers/hid/wacom_sys.c n = hid_report_len(field->report); field 316 drivers/hid/wacom_sys.c data = hid_alloc_report_buf(field->report, GFP_KERNEL); field 319 drivers/hid/wacom_sys.c data[0] = field->report->id; field 339 drivers/hid/wacom_sys.c if (usage->usage_index >= field->report_count) { field 344 drivers/hid/wacom_sys.c hid_data->inputmode = field->report->id; field 349 drivers/hid/wacom_sys.c if (field->report->id == 0x0B && field 350 drivers/hid/wacom_sys.c (field->application == WACOM_HID_G9_PEN || field 351 drivers/hid/wacom_sys.c field->application == WACOM_HID_G11_PEN)) { field 352 drivers/hid/wacom_sys.c wacom->wacom_wac.mode_report = field->report->id; field 358 drivers/hid/wacom_sys.c wacom->wacom_wac.mode_report = field->report->id; field 364 drivers/hid/wacom_sys.c if (field->report->id == 0x03 && field 365 drivers/hid/wacom_sys.c (field->application == WACOM_HID_G9_TOUCHSCREEN || field 366 drivers/hid/wacom_sys.c field->application == WACOM_HID_G11_TOUCHSCREEN)) { field 367 drivers/hid/wacom_sys.c wacom->wacom_wac.mode_report = field->report->id; field 376 drivers/hid/wacom_sys.c n = hid_report_len(field->report); field 377 drivers/hid/wacom_sys.c data = hid_alloc_report_buf(field->report, GFP_KERNEL); field 380 drivers/hid/wacom_sys.c data[0] = field->report->id; field 428 drivers/hid/wacom_sys.c struct hid_field *field, struct hid_usage *usage) field 432 drivers/hid/wacom_sys.c bool finger = WACOM_FINGER_FIELD(field); field 433 drivers/hid/wacom_sys.c bool pen = WACOM_PEN_FIELD(field); field 448 drivers/hid/wacom_sys.c wacom_hid_usage_quirk(hdev, field, usage); field 452 drivers/hid/wacom_sys.c features->x_max = field->logical_maximum; field 454 drivers/hid/wacom_sys.c features->x_phy = field->physical_maximum; field 457 drivers/hid/wacom_sys.c features->unit = field->unit; field 458 drivers/hid/wacom_sys.c features->unitExpo = field->unit_exponent; field 463 drivers/hid/wacom_sys.c features->y_max = field->logical_maximum; field 465 drivers/hid/wacom_sys.c features->y_phy = field->physical_maximum; field 468 drivers/hid/wacom_sys.c features->unit = field->unit; field 469 drivers/hid/wacom_sys.c features->unitExpo = field->unit_exponent; field 475 drivers/hid/wacom_sys.c features->pressure_max = field->logical_maximum; field 480 drivers/hid/wacom_sys.c wacom_wac_usage_mapping(hdev, field, usage); field 523 drivers/hid/wacom_sys.c if (hreport->field[i]->report_count < 1) field 526 drivers/hid/wacom_sys.c for (j = 0; j < hreport->field[i]->maxusage; j++) { field 527 drivers/hid/wacom_sys.c wacom_feature_mapping(hdev, hreport->field[i], field 528 drivers/hid/wacom_sys.c hreport->field[i]->usage + j); field 541 drivers/hid/wacom_sys.c for (j = 0; j < hreport->field[i]->maxusage; j++) field 542 drivers/hid/wacom_sys.c wacom_usage_mapping(hdev, hreport->field[i], field 543 drivers/hid/wacom_sys.c hreport->field[i]->usage + j); field 562 drivers/hid/wacom_sys.c r->field[0]->value[hid_data->inputmode_index] = 2; field 1099 drivers/hid/wacom_sys.c #define DEVICE_LUMINANCE_ATTR(name, field) \ field 1106 drivers/hid/wacom_sys.c return wacom_luminance_store(wacom, &wacom->led.field, \ field 1113 drivers/hid/wacom_sys.c return scnprintf(buf, PAGE_SIZE, "%d\n", wacom->led.field); \ field 1837 drivers/hid/wacom_wac.c struct hid_field *field, __u8 type, __u16 code, int fuzz) field 1842 drivers/hid/wacom_wac.c int fmin = field->logical_minimum; field 1843 drivers/hid/wacom_wac.c int fmax = field->logical_maximum; field 1869 drivers/hid/wacom_wac.c hidinput_calc_abs_res(field, resolution_code)); field 1884 drivers/hid/wacom_wac.c struct hid_field *field, struct hid_usage *usage) field 1900 drivers/hid/wacom_wac.c static void wacom_wac_battery_event(struct hid_device *hdev, struct hid_field *field, field 1913 drivers/hid/wacom_wac.c value = value * 100 / (field->logical_maximum - field->logical_minimum); field 1920 drivers/hid/wacom_wac.c value = value * 100 / (field->logical_maximum - field->logical_minimum); field 1960 drivers/hid/wacom_wac.c struct hid_field *field, struct hid_usage *usage) field 1971 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_X, 0); field 1976 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_Y, 0); field 1981 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_Z, 0); field 1990 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_KEY, field 2012 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_RX, 0); field 2016 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_RY, 0); field 2020 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_WHEEL, 0); field 2034 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_KEY, KEY_BUTTONCONFIG, 0); field 2038 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_KEY, KEY_ONSCREEN_KEYBOARD, 0); field 2042 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_KEY, KEY_CONTROLPANEL, 0); field 2057 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_KEY, field 2066 drivers/hid/wacom_wac.c static void wacom_wac_pad_event(struct hid_device *hdev, struct hid_field *field, field 2084 drivers/hid/wacom_wac.c if (wacom_equivalent_usage(field->physical) == HID_DG_TABLETFUNCTIONKEY) { field 2104 drivers/hid/wacom_wac.c value = (field->logical_maximum - value); field 2174 drivers/hid/wacom_wac.c struct hid_report *report, struct hid_field *field) field 2191 drivers/hid/wacom_wac.c struct hid_field *field, struct hid_usage *usage) field 2201 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_X, 4); field 2204 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_Y, 4); field 2208 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_DISTANCE, 0); field 2211 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_PRESSURE, 0); field 2214 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_KEY, BTN_TOOL_PEN, 0); field 2217 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_KEY, field 2221 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_TILT_X, 0); field 2224 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_TILT_Y, 0); field 2227 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_Z, 0); field 2231 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_KEY, BTN_TOUCH, 0); field 2234 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_KEY, BTN_STYLUS, 0); field 2237 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_KEY, BTN_STYLUS2, 0); field 2241 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_MSC, MSC_SERIAL, 0); field 2245 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_KEY, BTN_TOOL_PEN, 0); field 2248 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_MISC, 0); field 2264 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_WHEEL, 0); field 2269 drivers/hid/wacom_wac.c static void wacom_wac_pen_event(struct hid_device *hdev, struct hid_field *field, field 2288 drivers/hid/wacom_wac.c value = field->logical_maximum - value; field 2311 drivers/hid/wacom_wac.c wacom_wac->serial[0] |= wacom_s32tou(value, field->report_size); field 2327 drivers/hid/wacom_wac.c __u32 raw_value = wacom_s32tou(value, field->report_size); field 2349 drivers/hid/wacom_wac.c wacom_wac->id[0] |= wacom_s32tou(value, field->report_size); field 2474 drivers/hid/wacom_wac.c struct hid_field *field, struct hid_usage *usage) field 2485 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_X, 4); field 2487 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, field 2492 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_Y, 4); field 2494 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, field 2499 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_MT_TOUCH_MAJOR, 0); field 2500 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_ABS, ABS_MT_TOUCH_MINOR, 0); field 2504 drivers/hid/wacom_wac.c wacom_map_usage(input, usage, field, EV_KEY, BTN_TOUCH, 0); field 2507 drivers/hid/wacom_wac.c wacom_wac->hid_data.cc_report = field->report->id; field 2508 drivers/hid/wacom_wac.c wacom_wac->hid_data.cc_index = field->index; field 2512 drivers/hid/wacom_wac.c if ((field->logical_maximum - field->logical_minimum) < touch_max) { field 2518 drivers/hid/wacom_wac.c field->logical_maximum = 255; field 2570 drivers/hid/wacom_wac.c struct hid_field *field, struct hid_usage *usage, __s32 value) field 2607 drivers/hid/wacom_wac.c if (usage->usage_index + 1 == field->report_count) { field 2624 drivers/hid/wacom_wac.c struct hid_field *field = report->field[i]; field 2627 drivers/hid/wacom_wac.c for (j = 0; j < field->maxusage; j++) { field 2628 drivers/hid/wacom_wac.c struct hid_usage *usage = &field->usage[j]; field 2654 drivers/hid/wacom_wac.c struct hid_field *field = report->field[hid_data->cc_index]; field 2655 drivers/hid/wacom_wac.c int value = field->value[hid_data->cc_value_index]; field 2690 drivers/hid/wacom_wac.c struct hid_field *field, struct hid_usage *usage) field 2696 drivers/hid/wacom_wac.c if (WACOM_DIRECT_DEVICE(field)) field 2701 drivers/hid/wacom_wac.c wacom_wac_battery_usage_mapping(hdev, field, usage); field 2702 drivers/hid/wacom_wac.c else if (WACOM_PAD_FIELD(field)) field 2703 drivers/hid/wacom_wac.c wacom_wac_pad_usage_mapping(hdev, field, usage); field 2704 drivers/hid/wacom_wac.c else if (WACOM_PEN_FIELD(field)) field 2705 drivers/hid/wacom_wac.c wacom_wac_pen_usage_mapping(hdev, field, usage); field 2706 drivers/hid/wacom_wac.c else if (WACOM_FINGER_FIELD(field)) field 2707 drivers/hid/wacom_wac.c wacom_wac_finger_usage_mapping(hdev, field, usage); field 2710 drivers/hid/wacom_wac.c void wacom_wac_event(struct hid_device *hdev, struct hid_field *field, field 2718 drivers/hid/wacom_wac.c if (value > field->logical_maximum || value < field->logical_minimum) field 2723 drivers/hid/wacom_wac.c wacom_wac_battery_event(hdev, field, usage, value); field 2724 drivers/hid/wacom_wac.c else if (WACOM_PAD_FIELD(field) && wacom->wacom_wac.pad_input) field 2725 drivers/hid/wacom_wac.c wacom_wac_pad_event(hdev, field, usage, value); field 2726 drivers/hid/wacom_wac.c else if (WACOM_PEN_FIELD(field) && wacom->wacom_wac.pen_input) field 2727 drivers/hid/wacom_wac.c wacom_wac_pen_event(hdev, field, usage, value); field 2728 drivers/hid/wacom_wac.c else if (WACOM_FINGER_FIELD(field) && wacom->wacom_wac.touch_input) field 2729 drivers/hid/wacom_wac.c wacom_wac_finger_event(hdev, field, usage, value); field 2739 drivers/hid/wacom_wac.c struct hid_field *field; field 2742 drivers/hid/wacom_wac.c field = report->field[r]; field 2743 drivers/hid/wacom_wac.c count = field->report_count; field 2745 drivers/hid/wacom_wac.c if (!(HID_MAIN_ITEM_VARIABLE & field->flags)) field 2749 drivers/hid/wacom_wac.c if (field->usage[n].collection_index == collection_index) field 2750 drivers/hid/wacom_wac.c wacom_wac_event(hdev, field, &field->usage[n], field 2751 drivers/hid/wacom_wac.c field->value[n]); field 2759 drivers/hid/wacom_wac.c int collection_index, struct hid_field *field, field 2776 drivers/hid/wacom_wac.c if (WACOM_PEN_FIELD(field) && wacom->wacom_wac.pen_input) field 2778 drivers/hid/wacom_wac.c else if (WACOM_FINGER_FIELD(field) && wacom->wacom_wac.touch_input) field 2788 drivers/hid/wacom_wac.c struct hid_field *field; field 2798 drivers/hid/wacom_wac.c field = report->field[r]; field 2800 drivers/hid/wacom_wac.c if (WACOM_PAD_FIELD(field)) field 2802 drivers/hid/wacom_wac.c if (WACOM_PEN_FIELD(field)) field 2804 drivers/hid/wacom_wac.c if (WACOM_FINGER_FIELD(field)) field 2806 drivers/hid/wacom_wac.c if (wacom_equivalent_usage(field->physical) == HID_DG_TABLETFUNCTIONKEY) field 2820 drivers/hid/wacom_wac.c field = report->field[r]; field 2822 drivers/hid/wacom_wac.c if (field->usage[0].collection_index != prev_collection) { field 2824 drivers/hid/wacom_wac.c field->usage[0].collection_index, field, r) < 0) field 2826 drivers/hid/wacom_wac.c prev_collection = field->usage[0].collection_index; field 2833 drivers/hid/wacom_wac.c wacom_wac_pad_report(hdev, report, field); field 127 drivers/hwmon/dell-smm-hwmon.c static inline const char *i8k_get_dmi_data(int field) field 129 drivers/hwmon/dell-smm-hwmon.c const char *dmi_data = dmi_get_system_info(field); field 25 drivers/hwspinlock/qcom_hwspinlock.c struct regmap_field *field = lock->priv; field 29 drivers/hwspinlock/qcom_hwspinlock.c ret = regmap_field_write(field, QCOM_MUTEX_APPS_PROC_ID); field 33 drivers/hwspinlock/qcom_hwspinlock.c ret = regmap_field_read(field, &lock_owner); field 42 drivers/hwspinlock/qcom_hwspinlock.c struct regmap_field *field = lock->priv; field 46 drivers/hwspinlock/qcom_hwspinlock.c ret = regmap_field_read(field, &lock_owner); field 57 drivers/hwspinlock/qcom_hwspinlock.c ret = regmap_field_write(field, 0); field 78 drivers/hwspinlock/qcom_hwspinlock.c struct reg_field field; field 117 drivers/hwspinlock/qcom_hwspinlock.c field.reg = base + i * stride; field 118 drivers/hwspinlock/qcom_hwspinlock.c field.lsb = 0; field 119 drivers/hwspinlock/qcom_hwspinlock.c field.msb = 31; field 122 drivers/hwspinlock/qcom_hwspinlock.c regmap, field); field 1684 drivers/ide/ide-tape.c #define ide_tape_devset_get(name, field) \ field 1688 drivers/ide/ide-tape.c return tape->field; \ field 1691 drivers/ide/ide-tape.c #define ide_tape_devset_set(name, field) \ field 1695 drivers/ide/ide-tape.c tape->field = arg; \ field 272 drivers/iio/gyro/fxas21002c_core.c enum fxas21002c_fields field, int bits) field 289 drivers/iio/gyro/fxas21002c_core.c ret = regmap_field_write(data->regmap_fields[field], bits); field 142 drivers/iio/health/afe4403.c ret = regmap_field_read(afe->fields[afe440x_attr->field], ®_val); field 175 drivers/iio/health/afe4403.c ret = regmap_field_write(afe->fields[afe440x_attr->field], val); field 246 drivers/iio/health/afe4403.c unsigned int field = afe4403_channel_leds[chan->address]; field 262 drivers/iio/health/afe4403.c ret = regmap_field_read(afe->fields[field], val); field 284 drivers/iio/health/afe4403.c unsigned int field = afe4403_channel_leds[chan->address]; field 290 drivers/iio/health/afe4403.c return regmap_field_write(afe->fields[field], val); field 176 drivers/iio/health/afe4404.c ret = regmap_field_read(afe->fields[afe440x_attr->field], ®_val); field 209 drivers/iio/health/afe4404.c ret = regmap_field_write(afe->fields[afe440x_attr->field], val); field 137 drivers/iio/health/afe440x.h unsigned int field; field 150 drivers/iio/health/afe440x.h .field = _field, \ field 191 drivers/infiniband/core/sa_query.c #define PATH_REC_FIELD(field) \ field 192 drivers/infiniband/core/sa_query.c .struct_offset_bytes = offsetof(struct sa_path_rec, field), \ field 193 drivers/infiniband/core/sa_query.c .struct_size_bytes = sizeof((struct sa_path_rec *)0)->field, \ field 194 drivers/infiniband/core/sa_query.c .field_name = "sa_path_rec:" #field field 291 drivers/infiniband/core/sa_query.c #define OPA_PATH_REC_FIELD(field) \ field 293 drivers/infiniband/core/sa_query.c offsetof(struct sa_path_rec, field), \ field 295 drivers/infiniband/core/sa_query.c sizeof((struct sa_path_rec *)0)->field, \ field 296 drivers/infiniband/core/sa_query.c .field_name = "sa_path_rec:" #field field 421 drivers/infiniband/core/sa_query.c #define MCMEMBER_REC_FIELD(field) \ field 422 drivers/infiniband/core/sa_query.c .struct_offset_bytes = offsetof(struct ib_sa_mcmember_rec, field), \ field 423 drivers/infiniband/core/sa_query.c .struct_size_bytes = sizeof ((struct ib_sa_mcmember_rec *) 0)->field, \ field 424 drivers/infiniband/core/sa_query.c .field_name = "sa_mcmember_rec:" #field field 505 drivers/infiniband/core/sa_query.c #define SERVICE_REC_FIELD(field) \ field 506 drivers/infiniband/core/sa_query.c .struct_offset_bytes = offsetof(struct ib_sa_service_rec, field), \ field 507 drivers/infiniband/core/sa_query.c .struct_size_bytes = sizeof ((struct ib_sa_service_rec *) 0)->field, \ field 508 drivers/infiniband/core/sa_query.c .field_name = "sa_service_rec:" #field field 553 drivers/infiniband/core/sa_query.c #define CLASSPORTINFO_REC_FIELD(field) \ field 554 drivers/infiniband/core/sa_query.c .struct_offset_bytes = offsetof(struct ib_class_port_info, field), \ field 555 drivers/infiniband/core/sa_query.c .struct_size_bytes = sizeof((struct ib_class_port_info *)0)->field, \ field 556 drivers/infiniband/core/sa_query.c .field_name = "ib_class_port_info:" #field field 629 drivers/infiniband/core/sa_query.c #define OPA_CLASSPORTINFO_REC_FIELD(field) \ field 631 drivers/infiniband/core/sa_query.c offsetof(struct opa_class_port_info, field), \ field 633 drivers/infiniband/core/sa_query.c sizeof((struct opa_class_port_info *)0)->field, \ field 634 drivers/infiniband/core/sa_query.c .field_name = "opa_class_port_info:" #field field 711 drivers/infiniband/core/sa_query.c #define GUIDINFO_REC_FIELD(field) \ field 712 drivers/infiniband/core/sa_query.c .struct_offset_bytes = offsetof(struct ib_sa_guidinfo_rec, field), \ field 713 drivers/infiniband/core/sa_query.c .struct_size_bytes = sizeof((struct ib_sa_guidinfo_rec *) 0)->field, \ field 714 drivers/infiniband/core/sa_query.c .field_name = "sa_guidinfo_rec:" #field field 42 drivers/infiniband/core/ud_header.c #define STRUCT_FIELD(header, field) \ field 43 drivers/infiniband/core/ud_header.c .struct_offset_bytes = offsetof(struct ib_unpacked_ ## header, field), \ field 44 drivers/infiniband/core/ud_header.c .struct_size_bytes = sizeof ((struct ib_unpacked_ ## header *) 0)->field, \ field 45 drivers/infiniband/core/ud_header.c .field_name = #header ":" #field field 60 drivers/infiniband/hw/hfi1/exp_rcv.h #define EXP_TID_GET(tid, field) \ field 61 drivers/infiniband/hw/hfi1/exp_rcv.h (((tid) >> EXP_TID_TID##field##_SHIFT) & EXP_TID_TID##field##_MASK) field 63 drivers/infiniband/hw/hfi1/exp_rcv.h #define EXP_TID_SET(field, value) \ field 64 drivers/infiniband/hw/hfi1/exp_rcv.h (((value) & EXP_TID_TID##field##_MASK) << \ field 65 drivers/infiniband/hw/hfi1/exp_rcv.h EXP_TID_TID##field##_SHIFT) field 66 drivers/infiniband/hw/hfi1/exp_rcv.h #define EXP_TID_CLEAR(tid, field) ({ \ field 67 drivers/infiniband/hw/hfi1/exp_rcv.h (tid) &= ~(EXP_TID_TID##field##_MASK << \ field 68 drivers/infiniband/hw/hfi1/exp_rcv.h EXP_TID_TID##field##_SHIFT); \ field 70 drivers/infiniband/hw/hfi1/exp_rcv.h #define EXP_TID_RESET(tid, field, value) do { \ field 71 drivers/infiniband/hw/hfi1/exp_rcv.h EXP_TID_CLEAR(tid, field); \ field 72 drivers/infiniband/hw/hfi1/exp_rcv.h (tid) |= EXP_TID_SET(field, (value)); \ field 100 drivers/infiniband/hw/hfi1/exp_rcv.h #define KDETH_GET(val, field) \ field 101 drivers/infiniband/hw/hfi1/exp_rcv.h (((le32_to_cpu((val))) >> KDETH_##field##_SHIFT) & KDETH_##field##_MASK) field 102 drivers/infiniband/hw/hfi1/exp_rcv.h #define KDETH_SET(dw, field, val) do { \ field 104 drivers/infiniband/hw/hfi1/exp_rcv.h dwval &= ~(KDETH_##field##_MASK << KDETH_##field##_SHIFT); \ field 105 drivers/infiniband/hw/hfi1/exp_rcv.h dwval |= (((val) & KDETH_##field##_MASK) << \ field 106 drivers/infiniband/hw/hfi1/exp_rcv.h KDETH_##field##_SHIFT); \ field 110 drivers/infiniband/hw/hfi1/exp_rcv.h #define KDETH_RESET(dw, field, val) ({ dw = 0; KDETH_SET(dw, field, val); }) field 167 drivers/infiniband/hw/hfi1/file_ops.c #define HFI1_MMAP_TOKEN_SET(field, val) \ field 168 drivers/infiniband/hw/hfi1/file_ops.c (((val) & HFI1_MMAP_##field##_MASK) << HFI1_MMAP_##field##_SHIFT) field 169 drivers/infiniband/hw/hfi1/file_ops.c #define HFI1_MMAP_TOKEN_GET(field, token) \ field 170 drivers/infiniband/hw/hfi1/file_ops.c (((token) >> HFI1_MMAP_##field##_SHIFT) & HFI1_MMAP_##field##_MASK) field 2019 drivers/infiniband/hw/hfi1/firmware.c int field, u32 *field_len_bits, field 2040 drivers/infiniband/hw/hfi1/firmware.c if (field && field < platform_config_table_limits[table]) field 2042 drivers/infiniband/hw/hfi1/firmware.c pcfgcache->config_tables[table].table_metadata + field; field 722 drivers/infiniband/hw/hfi1/trace_tx.h #define BCT(field) \ field 724 drivers/infiniband/hw/hfi1/trace_tx.h ((struct buffer_control *)__get_dynamic_array(bct))->field \ field 88 drivers/infiniband/hw/i40iw/i40iw_d.h #define LS_64(val, field) (((u64)val << field ## _SHIFT) & (field ## _MASK)) field 90 drivers/infiniband/hw/i40iw/i40iw_d.h #define RS_64(val, field) ((u64)(val & field ## _MASK) >> field ## _SHIFT) field 91 drivers/infiniband/hw/i40iw/i40iw_d.h #define LS_32(val, field) ((val << field ## _SHIFT) & (field ## _MASK)) field 92 drivers/infiniband/hw/i40iw/i40iw_d.h #define RS_32(val, field) ((val & field ## _MASK) >> field ## _SHIFT) field 1342 drivers/infiniband/hw/mlx4/main.c #define FIELDS_NOT_SUPPORTED(filter, field)\ field 1343 drivers/infiniband/hw/mlx4/main.c memchr_inv((void *)&filter.field +\ field 1344 drivers/infiniband/hw/mlx4/main.c sizeof(filter.field), 0,\ field 1346 drivers/infiniband/hw/mlx4/main.c offsetof(typeof(filter), field) -\ field 1347 drivers/infiniband/hw/mlx4/main.c sizeof(filter.field)) field 93 drivers/infiniband/hw/mlx5/cong.c static u32 mlx5_get_cc_param_val(void *field, int offset) field 97 drivers/infiniband/hw/mlx5/cong.c return MLX5_GET(cong_control_r_roce_ecn_rp, field, field 100 drivers/infiniband/hw/mlx5/cong.c return MLX5_GET(cong_control_r_roce_ecn_rp, field, field 103 drivers/infiniband/hw/mlx5/cong.c return MLX5_GET(cong_control_r_roce_ecn_rp, field, field 106 drivers/infiniband/hw/mlx5/cong.c return MLX5_GET(cong_control_r_roce_ecn_rp, field, field 109 drivers/infiniband/hw/mlx5/cong.c return MLX5_GET(cong_control_r_roce_ecn_rp, field, field 112 drivers/infiniband/hw/mlx5/cong.c return MLX5_GET(cong_control_r_roce_ecn_rp, field, field 115 drivers/infiniband/hw/mlx5/cong.c return MLX5_GET(cong_control_r_roce_ecn_rp, field, field 118 drivers/infiniband/hw/mlx5/cong.c return MLX5_GET(cong_control_r_roce_ecn_rp, field, field 121 drivers/infiniband/hw/mlx5/cong.c return MLX5_GET(cong_control_r_roce_ecn_rp, field, field 124 drivers/infiniband/hw/mlx5/cong.c return MLX5_GET(cong_control_r_roce_ecn_rp, field, field 127 drivers/infiniband/hw/mlx5/cong.c return MLX5_GET(cong_control_r_roce_ecn_rp, field, field 130 drivers/infiniband/hw/mlx5/cong.c return MLX5_GET(cong_control_r_roce_ecn_rp, field, field 133 drivers/infiniband/hw/mlx5/cong.c return MLX5_GET(cong_control_r_roce_ecn_rp, field, field 136 drivers/infiniband/hw/mlx5/cong.c return MLX5_GET(cong_control_r_roce_ecn_rp, field, field 139 drivers/infiniband/hw/mlx5/cong.c return MLX5_GET(cong_control_r_roce_ecn_rp, field, field 142 drivers/infiniband/hw/mlx5/cong.c return MLX5_GET(cong_control_r_roce_ecn_np, field, field 145 drivers/infiniband/hw/mlx5/cong.c return MLX5_GET(cong_control_r_roce_ecn_np, field, field 148 drivers/infiniband/hw/mlx5/cong.c return MLX5_GET(cong_control_r_roce_ecn_np, field, field 155 drivers/infiniband/hw/mlx5/cong.c static void mlx5_ib_set_cc_param_mask_val(void *field, int offset, field 161 drivers/infiniband/hw/mlx5/cong.c MLX5_SET(cong_control_r_roce_ecn_rp, field, field 166 drivers/infiniband/hw/mlx5/cong.c MLX5_SET(cong_control_r_roce_ecn_rp, field, field 171 drivers/infiniband/hw/mlx5/cong.c MLX5_SET(cong_control_r_roce_ecn_rp, field, field 176 drivers/infiniband/hw/mlx5/cong.c MLX5_SET(cong_control_r_roce_ecn_rp, field, field 181 drivers/infiniband/hw/mlx5/cong.c MLX5_SET(cong_control_r_roce_ecn_rp, field, field 186 drivers/infiniband/hw/mlx5/cong.c MLX5_SET(cong_control_r_roce_ecn_rp, field, field 191 drivers/infiniband/hw/mlx5/cong.c MLX5_SET(cong_control_r_roce_ecn_rp, field, field 196 drivers/infiniband/hw/mlx5/cong.c MLX5_SET(cong_control_r_roce_ecn_rp, field, field 201 drivers/infiniband/hw/mlx5/cong.c MLX5_SET(cong_control_r_roce_ecn_rp, field, field 206 drivers/infiniband/hw/mlx5/cong.c MLX5_SET(cong_control_r_roce_ecn_rp, field, field 211 drivers/infiniband/hw/mlx5/cong.c MLX5_SET(cong_control_r_roce_ecn_rp, field, field 216 drivers/infiniband/hw/mlx5/cong.c MLX5_SET(cong_control_r_roce_ecn_rp, field, field 221 drivers/infiniband/hw/mlx5/cong.c MLX5_SET(cong_control_r_roce_ecn_rp, field, field 226 drivers/infiniband/hw/mlx5/cong.c MLX5_SET(cong_control_r_roce_ecn_rp, field, field 231 drivers/infiniband/hw/mlx5/cong.c MLX5_SET(cong_control_r_roce_ecn_rp, field, field 236 drivers/infiniband/hw/mlx5/cong.c MLX5_SET(cong_control_r_roce_ecn_np, field, cnp_dscp, var); field 240 drivers/infiniband/hw/mlx5/cong.c MLX5_SET(cong_control_r_roce_ecn_np, field, cnp_prio_mode, var); field 244 drivers/infiniband/hw/mlx5/cong.c MLX5_SET(cong_control_r_roce_ecn_np, field, cnp_prio_mode, 0); field 245 drivers/infiniband/hw/mlx5/cong.c MLX5_SET(cong_control_r_roce_ecn_np, field, cnp_802p_prio, var); field 255 drivers/infiniband/hw/mlx5/cong.c void *field; field 277 drivers/infiniband/hw/mlx5/cong.c field = MLX5_ADDR_OF(query_cong_params_out, out, congestion_parameters); field 278 drivers/infiniband/hw/mlx5/cong.c *var = mlx5_get_cc_param_val(field, offset); field 292 drivers/infiniband/hw/mlx5/cong.c void *field; field 315 drivers/infiniband/hw/mlx5/cong.c field = MLX5_ADDR_OF(modify_cong_params_in, in, congestion_parameters); field 316 drivers/infiniband/hw/mlx5/cong.c mlx5_ib_set_cc_param_mask_val(field, offset, var, &attr_mask); field 318 drivers/infiniband/hw/mlx5/cong.c field = MLX5_ADDR_OF(modify_cong_params_in, in, field_select); field 319 drivers/infiniband/hw/mlx5/cong.c MLX5_SET(field_select_r_roce_rp, field, field_select_r_roce_rp, field 2620 drivers/infiniband/hw/mlx5/main.c #define FIELDS_NOT_SUPPORTED(filter, field)\ field 2621 drivers/infiniband/hw/mlx5/main.c memchr_inv((void *)&filter.field +\ field 2622 drivers/infiniband/hw/mlx5/main.c sizeof(filter.field), 0,\ field 2624 drivers/infiniband/hw/mlx5/main.c offsetof(typeof(filter), field) -\ field 2625 drivers/infiniband/hw/mlx5/main.c sizeof(filter.field)) field 993 drivers/infiniband/hw/mthca/mthca_cmd.c u8 field; field 1070 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_RSVD_QP_OFFSET); field 1071 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->reserved_qps = 1 << (field & 0xf); field 1072 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_MAX_QP_OFFSET); field 1073 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->max_qps = 1 << (field & 0x1f); field 1074 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_RSVD_SRQ_OFFSET); field 1075 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->reserved_srqs = 1 << (field >> 4); field 1076 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_MAX_SRQ_OFFSET); field 1077 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->max_srqs = 1 << (field & 0x1f); field 1078 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_RSVD_EEC_OFFSET); field 1079 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->reserved_eecs = 1 << (field & 0xf); field 1080 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_MAX_EEC_OFFSET); field 1081 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->max_eecs = 1 << (field & 0x1f); field 1082 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_MAX_CQ_SZ_OFFSET); field 1083 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->max_cq_sz = 1 << field; field 1084 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_RSVD_CQ_OFFSET); field 1085 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->reserved_cqs = 1 << (field & 0xf); field 1086 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_MAX_CQ_OFFSET); field 1087 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->max_cqs = 1 << (field & 0x1f); field 1088 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_MAX_MPT_OFFSET); field 1089 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->max_mpts = 1 << (field & 0x3f); field 1090 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_RSVD_EQ_OFFSET); field 1091 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->reserved_eqs = 1 << (field & 0xf); field 1092 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_MAX_EQ_OFFSET); field 1093 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->max_eqs = 1 << (field & 0x7); field 1094 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_RSVD_MTT_OFFSET); field 1096 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->reserved_mtts = ALIGN((1 << (field >> 4)) * sizeof(u64), field 1099 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->reserved_mtts = 1 << (field >> 4); field 1100 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_MAX_MRW_SZ_OFFSET); field 1101 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->max_mrw_sz = 1 << field; field 1102 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_RSVD_MRW_OFFSET); field 1103 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->reserved_mrws = 1 << (field & 0xf); field 1104 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_MAX_MTT_SEG_OFFSET); field 1105 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->max_mtt_seg = 1 << (field & 0x3f); field 1106 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_MAX_REQ_QP_OFFSET); field 1107 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->max_requester_per_qp = 1 << (field & 0x3f); field 1108 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_MAX_RES_QP_OFFSET); field 1109 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->max_responder_per_qp = 1 << (field & 0x3f); field 1110 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_MAX_RDMA_OFFSET); field 1111 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->max_rdma_global = 1 << (field & 0x3f); field 1112 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_ACK_DELAY_OFFSET); field 1113 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->local_ca_ack_delay = field & 0x1f; field 1114 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_MTU_WIDTH_OFFSET); field 1115 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->max_mtu = field >> 4; field 1116 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->max_port_width = field & 0xf; field 1117 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_VL_PORT_OFFSET); field 1118 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->max_vl = field >> 4; field 1119 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->num_ports = field & 0xf; field 1120 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_MAX_GID_OFFSET); field 1121 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->max_gids = 1 << (field & 0xf); field 1124 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_MAX_PKEY_OFFSET); field 1125 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->max_pkeys = 1 << (field & 0xf); field 1127 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_RSVD_UAR_OFFSET); field 1128 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->reserved_uars = field >> 4; field 1129 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_UAR_SZ_OFFSET); field 1130 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->uar_size = 1 << ((field & 0x3f) + 20); field 1131 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_PAGE_SZ_OFFSET); field 1132 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->min_page_sz = 1 << field; field 1133 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_MAX_SG_OFFSET); field 1134 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->max_sg = field; field 1139 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_MAX_QP_MCG_OFFSET); field 1140 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->max_qp_per_mcg = 1 << field; field 1141 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_RSVD_MCG_OFFSET); field 1142 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->reserved_mgms = field & 0xf; field 1143 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_MAX_MCG_OFFSET); field 1144 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->max_mcgs = 1 << field; field 1145 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_RSVD_PD_OFFSET); field 1146 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->reserved_pds = field >> 4; field 1147 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_MAX_PD_OFFSET); field 1148 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->max_pds = 1 << (field & 0x3f); field 1149 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_RSVD_RDD_OFFSET); field 1150 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->reserved_rdds = field >> 4; field 1151 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_MAX_RDD_OFFSET); field 1152 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->max_rdds = 1 << (field & 0x3f); field 1172 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_MAX_SRQ_SZ_OFFSET); field 1173 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->max_srq_sz = 1 << field; field 1174 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_MAX_QP_SZ_OFFSET); field 1175 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->max_qp_sz = 1 << field; field 1176 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_RSZ_SRQ_OFFSET); field 1177 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->hca.arbel.resize_srq = field & 1; field 1178 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_MAX_SG_RQ_OFFSET); field 1179 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->max_sg = min_t(int, field, dev_lim->max_sg); field 1184 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_PBL_SZ_OFFSET); field 1185 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->hca.arbel.max_pbl_sz = 1 << (field & 0x3f); field 1190 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_LAMR_OFFSET); field 1191 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->hca.arbel.lam_required = field & 1; field 1207 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_MAX_SRQ_SZ_OFFSET); field 1208 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->max_srq_sz = (1 << field) - 1; field 1209 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_MAX_QP_SZ_OFFSET); field 1210 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->max_qp_sz = (1 << field) - 1; field 1211 drivers/infiniband/hw/mthca/mthca_cmd.c MTHCA_GET(field, outbox, QUERY_DEV_LIM_MAX_AV_OFFSET); field 1212 drivers/infiniband/hw/mthca/mthca_cmd.c dev_lim->hca.tavor.max_avs = 1 << (field & 0x3f); field 1051 drivers/input/misc/ims-pcu.c char *field = (char *)pcu + attr->field_offset; field 1053 drivers/input/misc/ims-pcu.c return scnprintf(buf, PAGE_SIZE, "%.*s\n", attr->field_length, field); field 1065 drivers/input/misc/ims-pcu.c char *field = (char *)pcu + attr->field_offset; field 1080 drivers/input/misc/ims-pcu.c memset(field, 0, attr->field_length); field 1081 drivers/input/misc/ims-pcu.c memcpy(field, buf, data_len); field 1873 drivers/input/mouse/psmouse-base.c unsigned int *field = (unsigned int *)((char *)psmouse + (size_t)offset); field 1875 drivers/input/mouse/psmouse-base.c return sprintf(buf, "%u\n", *field); field 1880 drivers/input/mouse/psmouse-base.c unsigned int *field = (unsigned int *)((char *)psmouse + (size_t)offset); field 1888 drivers/input/mouse/psmouse-base.c *field = value; field 120 drivers/input/mouse/trackpoint.c u8 *field = (void *)tp + attr->field_offset; field 128 drivers/input/mouse/trackpoint.c *field = value; field 149 drivers/input/mouse/trackpoint.c bool *field = (void *)tp + attr->field_offset; field 160 drivers/input/mouse/trackpoint.c if (*field != value) { field 161 drivers/input/mouse/trackpoint.c *field = value; field 420 drivers/input/rmi4/rmi_f54.c f->field = V4L2_FIELD_NONE; field 2450 drivers/input/touchscreen/atmel_mxt_ts.c f->field = V4L2_FIELD_NONE; field 370 drivers/input/touchscreen/edt-ft5x06.c u8 *field = (u8 *)tsdata + attr->field_offset; field 413 drivers/input/touchscreen/edt-ft5x06.c val = *field; field 416 drivers/input/touchscreen/edt-ft5x06.c if (val != *field) { field 419 drivers/input/touchscreen/edt-ft5x06.c dattr->attr.name, val, *field); field 420 drivers/input/touchscreen/edt-ft5x06.c *field = val; field 437 drivers/input/touchscreen/edt-ft5x06.c u8 *field = (u8 *)tsdata + attr->field_offset; field 487 drivers/input/touchscreen/edt-ft5x06.c *field = val; field 1029 drivers/input/touchscreen/elants_i2c.c u8 *field = (u8 *)((char *)ts + attr->field_offset); field 1034 drivers/input/touchscreen/elants_i2c.c val = *field; field 1037 drivers/input/touchscreen/elants_i2c.c val = *(u16 *)field; field 188 drivers/input/touchscreen/sur40.c .field = V4L2_FIELD_NONE, field 197 drivers/input/touchscreen/sur40.c .field = V4L2_FIELD_NONE, field 606 drivers/input/touchscreen/sur40.c new_buf->vb.field = V4L2_FIELD_NONE; field 102 drivers/ipack/ipack.c #define ipack_device_attr(field, format_string) \ field 104 drivers/ipack/ipack.c field##_show(struct device *dev, struct device_attribute *attr, \ field 108 drivers/ipack/ipack.c return sprintf(buf, format_string, idev->field); \ field 112 drivers/md/dm-init.c char *field[4]; field 115 drivers/md/dm-init.c field[0] = str; field 117 drivers/md/dm-init.c for (i = 0; i < ARRAY_SIZE(field) - 1; i++) { field 118 drivers/md/dm-init.c field[i + 1] = str_field_delimit(&field[i], ' '); field 119 drivers/md/dm-init.c if (!field[i + 1]) field 123 drivers/md/dm-init.c next = str_field_delimit(&field[i], ','); field 131 drivers/md/dm-init.c if (kstrtoull(field[0], 0, &sp->sector_start)) field 134 drivers/md/dm-init.c if (kstrtoull(field[1], 0, &sp->length)) field 137 drivers/md/dm-init.c strscpy(sp->target_type, field[2], sizeof(sp->target_type)); field 143 drivers/md/dm-init.c dev->target_args_array[n] = kstrndup(field[3], DM_MAX_STR_SIZE, field 190 drivers/md/dm-init.c char *field[5]; field 194 drivers/md/dm-init.c field[0] = str; field 196 drivers/md/dm-init.c for (i = 0; i < ARRAY_SIZE(field) - 1; i++) { field 197 drivers/md/dm-init.c field[i+1] = str_field_delimit(&field[i], ','); field 198 drivers/md/dm-init.c if (!field[i+1]) field 202 drivers/md/dm-init.c next = str_field_delimit(&field[i], ';'); field 205 drivers/md/dm-init.c strscpy(dev->dmi.name, field[0], sizeof(dev->dmi.name)); field 207 drivers/md/dm-init.c strscpy(dev->dmi.uuid, field[1], sizeof(dev->dmi.uuid)); field 209 drivers/md/dm-init.c if (strlen(field[2])) { field 210 drivers/md/dm-init.c if (kstrtoull(field[2], 0, &dev->dmi.dev)) field 215 drivers/md/dm-init.c if (!strcmp(field[3], "ro")) field 217 drivers/md/dm-init.c else if (strcmp(field[3], "rw")) field 220 drivers/md/dm-init.c if (dm_parse_table(dev, field[4])) field 1601 drivers/md/dm.c #define __dm_part_stat_sub(part, field, subnd) \ field 1602 drivers/md/dm.c (part_stat_get(part, field) -= (subnd)) field 65 drivers/media/common/b2c2/flexcop-hw-filter.c #define pid_ctrl(vregname,field,enablefield,trans_field,transval) \ field 68 drivers/media/common/b2c2/flexcop-hw-filter.c vpid.vregname.field = onoff ? pid : 0x1fff; \ field 546 drivers/media/common/saa7146/saa7146_fops.c fmt->field = V4L2_FIELD_ANY; field 213 drivers/media/common/saa7146/saa7146_hlp.c static int calculate_v_scale_registers(struct saa7146_dev *dev, enum v4l2_field field, field 235 drivers/media/common/saa7146/saa7146_hlp.c if (V4L2_FIELD_HAS_BOTH(field)) { field 239 drivers/media/common/saa7146/saa7146_hlp.c } else if (field == V4L2_FIELD_TOP field 240 drivers/media/common/saa7146/saa7146_hlp.c || field == V4L2_FIELD_ALTERNATE field 241 drivers/media/common/saa7146/saa7146_hlp.c || field == V4L2_FIELD_BOTTOM) { field 339 drivers/media/common/saa7146/saa7146_hlp.c struct saa7146_video_dma *vdma2, u32* clip_format, u32* arbtr_ctrl, enum v4l2_field field) field 460 drivers/media/common/saa7146/saa7146_hlp.c if (V4L2_FIELD_HAS_BOTH(field)) { field 487 drivers/media/common/saa7146/saa7146_hlp.c enum v4l2_field field = vv->ov.win.field; field 501 drivers/media/common/saa7146/saa7146_hlp.c calculate_clipping_registers_rect(dev, fh, &vdma2, &clip_format, &arbtr_ctrl, field); field 524 drivers/media/common/saa7146/saa7146_hlp.c static void saa7146_set_window(struct saa7146_dev *dev, int width, int height, enum v4l2_field field) field 536 drivers/media/common/saa7146/saa7146_hlp.c calculate_v_scale_registers(dev, field, vv->standard->v_field*2, height, &hps_v_scale, &hps_v_gain); field 560 drivers/media/common/saa7146/saa7146_hlp.c static void saa7146_set_position(struct saa7146_dev *dev, int w_x, int w_y, int w_height, enum v4l2_field field, u32 pixelformat) field 591 drivers/media/common/saa7146/saa7146_hlp.c if (V4L2_FIELD_HAS_BOTH(field)) { field 592 drivers/media/common/saa7146/saa7146_hlp.c } else if (field == V4L2_FIELD_ALTERNATE) { field 596 drivers/media/common/saa7146/saa7146_hlp.c } else if (field == V4L2_FIELD_TOP) { field 599 drivers/media/common/saa7146/saa7146_hlp.c } else if (field == V4L2_FIELD_BOTTOM) { field 653 drivers/media/common/saa7146/saa7146_hlp.c saa7146_set_window(dev, vv->ov.win.w.width, vv->ov.win.w.height, vv->ov.win.field); field 654 drivers/media/common/saa7146/saa7146_hlp.c saa7146_set_position(dev, vv->ov.win.w.left, vv->ov.win.w.top, vv->ov.win.w.height, vv->ov.win.field, vv->ov_fmt->pixelformat); field 712 drivers/media/common/saa7146/saa7146_hlp.c enum v4l2_field field = buf->fmt->field; field 717 drivers/media/common/saa7146/saa7146_hlp.c width, height, v4l2_field_names[field]); field 737 drivers/media/common/saa7146/saa7146_hlp.c if (V4L2_FIELD_HAS_BOTH(field)) { field 738 drivers/media/common/saa7146/saa7146_hlp.c } else if (field == V4L2_FIELD_ALTERNATE) { field 748 drivers/media/common/saa7146/saa7146_hlp.c } else if (field == V4L2_FIELD_TOP) { field 751 drivers/media/common/saa7146/saa7146_hlp.c } else if (field == V4L2_FIELD_BOTTOM) { field 836 drivers/media/common/saa7146/saa7146_hlp.c enum v4l2_field field = buf->fmt->field; field 843 drivers/media/common/saa7146/saa7146_hlp.c width, height, v4l2_field_names[field]); field 885 drivers/media/common/saa7146/saa7146_hlp.c if (V4L2_FIELD_HAS_BOTH(field)) { field 886 drivers/media/common/saa7146/saa7146_hlp.c } else if (field == V4L2_FIELD_ALTERNATE) { field 894 drivers/media/common/saa7146/saa7146_hlp.c } else if (field == V4L2_FIELD_TOP) { field 901 drivers/media/common/saa7146/saa7146_hlp.c } else if (field == V4L2_FIELD_BOTTOM) { field 1012 drivers/media/common/saa7146/saa7146_hlp.c saa7146_set_window(dev, buf->fmt->width, buf->fmt->height, buf->fmt->field); field 219 drivers/media/common/saa7146/saa7146_vbi.c static int buffer_prepare(struct videobuf_queue *q, struct videobuf_buffer *vb,enum v4l2_field field) field 249 drivers/media/common/saa7146/saa7146_vbi.c buf->vb.field = field; // FIXME: check this field 143 drivers/media/common/saa7146/saa7146_video.c vv->ov_fmt->pixelformat, v4l2_field_names[vv->ov.win.field]); field 616 drivers/media/common/saa7146/saa7146_video.c enum v4l2_field field; field 626 drivers/media/common/saa7146/saa7146_video.c field = f->fmt.pix.field; field 630 drivers/media/common/saa7146/saa7146_video.c if (V4L2_FIELD_ANY == field) { field 631 drivers/media/common/saa7146/saa7146_video.c field = (f->fmt.pix.height > maxh / 2) field 635 drivers/media/common/saa7146/saa7146_video.c switch (field) { field 649 drivers/media/common/saa7146/saa7146_video.c DEB_D("no known field mode '%d'\n", field); field 653 drivers/media/common/saa7146/saa7146_video.c f->fmt.pix.field = field; field 682 drivers/media/common/saa7146/saa7146_video.c enum v4l2_field field; field 705 drivers/media/common/saa7146/saa7146_video.c field = win->field; field 709 drivers/media/common/saa7146/saa7146_video.c if (V4L2_FIELD_ANY == field) { field 710 drivers/media/common/saa7146/saa7146_video.c field = (win->w.height > maxh / 2) field 714 drivers/media/common/saa7146/saa7146_video.c switch (field) { field 723 drivers/media/common/saa7146/saa7146_video.c DEB_D("no known field mode '%d'\n", field); field 727 drivers/media/common/saa7146/saa7146_video.c win->field = field; field 1039 drivers/media/common/saa7146/saa7146_video.c struct videobuf_buffer *vb, enum v4l2_field field) field 1068 drivers/media/common/saa7146/saa7146_video.c size, v4l2_field_names[vv->video_fmt.field]); field 1073 drivers/media/common/saa7146/saa7146_video.c buf->vb.field != field || field 1074 drivers/media/common/saa7146/saa7146_video.c buf->vb.field != vv->video_fmt.field || field 1086 drivers/media/common/saa7146/saa7146_video.c buf->vb.field = field; field 1088 drivers/media/common/saa7146/saa7146_video.c buf->vb.field = vv->video_fmt.field; field 104 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->field = V4L2_FIELD_NONE; field 488 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c u32 field) field 494 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->field = field; field 496 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c if (V4L2_FIELD_HAS_T_OR_B(field)) field 1959 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c unsigned step = V4L2_FIELD_HAS_T_OR_B(tpg->field) ? 2 : 1; field 1980 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c if (tpg->field == V4L2_FIELD_BOTTOM) field 1982 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c else if (tpg->field == V4L2_FIELD_SEQ_TB || tpg->field == V4L2_FIELD_SEQ_BT) field 2060 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c unsigned field) field 2062 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c switch (field) { field 2077 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c unsigned field) field 2080 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c switch (field) { field 2141 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c if (tpg->field == V4L2_FIELD_SEQ_TB) field 2143 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c else if (tpg->field == V4L2_FIELD_SEQ_BT) field 2184 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c pr_info("tpg field: %u\n", tpg->field); field 2278 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c params->sav_eav_f = tpg->field == field 2456 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c switch (tpg->field) { field 2495 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c switch (tpg->field) { field 2528 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c unsigned factor = V4L2_FIELD_HAS_T_OR_B(tpg->field) ? 2 : 1; field 2554 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c params.frame_line = tpg_calc_frameline(tpg, src_y, tpg->field); field 2556 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf_line = tpg_calc_buffer_line(tpg, h, tpg->field); field 2580 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c if (tpg->field == V4L2_FIELD_SEQ_BT || field 2581 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg->field == V4L2_FIELD_SEQ_TB) { field 2590 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg_calc_frameline(tpg, next_src_y, tpg->field); field 2595 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c tpg_calc_frameline(tpg, src_y, tpg->field); field 182 drivers/media/common/videobuf2/videobuf2-v4l2.c if (b->field == V4L2_FIELD_ALTERNATE && q->is_output) { field 323 drivers/media/common/videobuf2/videobuf2-v4l2.c vbuf->field = b->field; field 478 drivers/media/common/videobuf2/videobuf2-v4l2.c b->field = vbuf->field; field 198 drivers/media/dvb-frontends/stv0910.c static int write_field(struct stv *state, u32 field, u8 val) field 203 drivers/media/dvb-frontends/stv0910.c status = read_reg(state, field >> 16, &old); field 206 drivers/media/dvb-frontends/stv0910.c mask = field & 0xff; field 207 drivers/media/dvb-frontends/stv0910.c shift = (field >> 12) & 0xf; field 211 drivers/media/dvb-frontends/stv0910.c return write_reg(state, field >> 16, new); field 281 drivers/media/i2c/adv7170.c mf->field = V4L2_FIELD_ANY; field 319 drivers/media/i2c/adv7175.c mf->field = V4L2_FIELD_ANY; field 218 drivers/media/i2c/adv7180.c enum v4l2_field field; field 508 drivers/media/i2c/adv7180.c if (state->field == V4L2_FIELD_NONE) field 657 drivers/media/i2c/adv7180.c if (state->field == V4L2_FIELD_ALTERNATE) field 668 drivers/media/i2c/adv7180.c if (state->field == V4L2_FIELD_NONE) { field 711 drivers/media/i2c/adv7180.c format->format.field = state->field; field 725 drivers/media/i2c/adv7180.c switch (format->format.field) { field 731 drivers/media/i2c/adv7180.c format->format.field = V4L2_FIELD_ALTERNATE; field 738 drivers/media/i2c/adv7180.c if (state->field != format->format.field) { field 739 drivers/media/i2c/adv7180.c state->field = format->format.field; field 1320 drivers/media/i2c/adv7180.c state->field = V4L2_FIELD_ALTERNATE; field 435 drivers/media/i2c/adv7183.c fmt->field = V4L2_FIELD_SEQ_TB; field 439 drivers/media/i2c/adv7183.c fmt->field = V4L2_FIELD_SEQ_BT; field 119 drivers/media/i2c/adv748x/adv748x-afe.c fmt->field = V4L2_FIELD_ALTERNATE; field 96 drivers/media/i2c/adv748x/adv748x-hdmi.c fmt->field = hdmi->timings.bt.interlaced ? field 105 drivers/media/i2c/adv748x/adv748x-hdmi.c if (fmt->field == V4L2_FIELD_ALTERNATE) field 1257 drivers/media/i2c/adv7511-v4l2.c format->field = V4L2_FIELD_NONE; field 1832 drivers/media/i2c/adv7604.c format->field = V4L2_FIELD_NONE; field 2014 drivers/media/i2c/adv7842.c format->field = V4L2_FIELD_NONE; field 106 drivers/media/i2c/ak881x.c mf->field = V4L2_FIELD_INTERLACED; field 1762 drivers/media/i2c/cx25840/cx25840-core.c fmt->field = V4L2_FIELD_INTERLACED; field 604 drivers/media/i2c/imx214.c __format->field = V4L2_FIELD_NONE; field 704 drivers/media/i2c/imx258.c try_fmt->field = V4L2_FIELD_NONE; field 828 drivers/media/i2c/imx258.c fmt->format.field = V4L2_FIELD_NONE; field 920 drivers/media/i2c/imx274.c tgt_fmt->field = V4L2_FIELD_NONE; field 978 drivers/media/i2c/imx274.c fmt->field = V4L2_FIELD_NONE; field 1843 drivers/media/i2c/imx274.c imx274->format.field = V4L2_FIELD_NONE; field 1871 drivers/media/i2c/imx319.c try_fmt->field = V4L2_FIELD_NONE; field 1996 drivers/media/i2c/imx319.c fmt->format.field = V4L2_FIELD_NONE; field 1172 drivers/media/i2c/imx355.c try_fmt->field = V4L2_FIELD_NONE; field 1297 drivers/media/i2c/imx355.c fmt->format.field = V4L2_FIELD_NONE; field 57 drivers/media/i2c/m5mols/m5mols_core.c .field = V4L2_FIELD_NONE, field 64 drivers/media/i2c/m5mols/m5mols_core.c .field = V4L2_FIELD_NONE, field 593 drivers/media/i2c/m5mols/m5mols_core.c format->field = V4L2_FIELD_NONE; field 215 drivers/media/i2c/ml86v7667.c fmt->field = V4L2_FIELD_INTERLACED_TB; field 342 drivers/media/i2c/mt9m001.c mf->field = V4L2_FIELD_NONE; field 406 drivers/media/i2c/mt9m001.c mf->field = V4L2_FIELD_NONE; field 670 drivers/media/i2c/mt9m001.c try_fmt->field = V4L2_FIELD_NONE; field 756 drivers/media/i2c/mt9m032.c sensor->format.field = V4L2_FIELD_NONE; field 544 drivers/media/i2c/mt9m111.c mf->field = V4L2_FIELD_NONE; field 675 drivers/media/i2c/mt9m111.c mf->field = V4L2_FIELD_NONE; field 1132 drivers/media/i2c/mt9m111.c format->field = V4L2_FIELD_NONE; field 961 drivers/media/i2c/mt9p031.c format->field = V4L2_FIELD_NONE; field 1131 drivers/media/i2c/mt9p031.c mt9p031->format.field = V4L2_FIELD_NONE; field 811 drivers/media/i2c/mt9t001.c format->field = V4L2_FIELD_NONE; field 936 drivers/media/i2c/mt9t001.c mt9t001->format.field = V4L2_FIELD_NONE; field 929 drivers/media/i2c/mt9t112.c mf->field = V4L2_FIELD_NONE; field 981 drivers/media/i2c/mt9t112.c mf->field = V4L2_FIELD_NONE; field 352 drivers/media/i2c/mt9v011.c fmt->field = V4L2_FIELD_NONE; field 940 drivers/media/i2c/mt9v032.c format->field = V4L2_FIELD_NONE; field 1154 drivers/media/i2c/mt9v032.c mt9v032->format.field = V4L2_FIELD_NONE; field 110 drivers/media/i2c/mt9v111.c .field = V4L2_FIELD_NONE, field 522 drivers/media/i2c/noon010pc30.c mf->field = V4L2_FIELD_NONE; field 554 drivers/media/i2c/noon010pc30.c fmt->format.field = V4L2_FIELD_NONE; field 646 drivers/media/i2c/noon010pc30.c mf->field = V4L2_FIELD_NONE; field 1161 drivers/media/i2c/ov13858.c try_fmt->field = V4L2_FIELD_NONE; field 1313 drivers/media/i2c/ov13858.c fmt->format.field = V4L2_FIELD_NONE; field 940 drivers/media/i2c/ov2640.c mf->field = V4L2_FIELD_NONE; field 968 drivers/media/i2c/ov2640.c mf->field = V4L2_FIELD_NONE; field 1020 drivers/media/i2c/ov2640.c try_fmt->field = V4L2_FIELD_NONE; field 973 drivers/media/i2c/ov2659.c format->field = V4L2_FIELD_NONE; field 1130 drivers/media/i2c/ov2659.c mf->field = V4L2_FIELD_NONE; field 903 drivers/media/i2c/ov2680.c sensor->fmt.field = V4L2_FIELD_NONE; field 327 drivers/media/i2c/ov2685.c fmt->field = V4L2_FIELD_NONE; field 2971 drivers/media/i2c/ov5640.c fmt->field = V4L2_FIELD_NONE; field 950 drivers/media/i2c/ov5645.c __format->field = V4L2_FIELD_NONE; field 523 drivers/media/i2c/ov5647.c format->field = V4L2_FIELD_NONE; field 1947 drivers/media/i2c/ov5670.c try_fmt->field = V4L2_FIELD_NONE; field 2179 drivers/media/i2c/ov5670.c fmt->format.field = V4L2_FIELD_NONE; field 739 drivers/media/i2c/ov5675.c fmt->field = V4L2_FIELD_NONE; field 822 drivers/media/i2c/ov5695.c fmt->format.field = V4L2_FIELD_NONE; field 862 drivers/media/i2c/ov5695.c fmt->format.field = V4L2_FIELD_NONE; field 1067 drivers/media/i2c/ov5695.c try_fmt->field = V4L2_FIELD_NONE; field 221 drivers/media/i2c/ov6650.c .field = V4L2_FIELD_NONE, field 1085 drivers/media/i2c/ov7251.c __format->field = V4L2_FIELD_NONE; field 983 drivers/media/i2c/ov7670.c fmt->field = V4L2_FIELD_NONE; field 1704 drivers/media/i2c/ov7670.c format->field = V4L2_FIELD_NONE; field 1174 drivers/media/i2c/ov772x.c mf->field = V4L2_FIELD_NONE; field 1197 drivers/media/i2c/ov772x.c mf->field = V4L2_FIELD_NONE; field 797 drivers/media/i2c/ov7740.c fmt->field = V4L2_FIELD_NONE; field 900 drivers/media/i2c/ov7740.c format->field = V4L2_FIELD_NONE; field 829 drivers/media/i2c/ov8856.c fmt->field = V4L2_FIELD_NONE; field 532 drivers/media/i2c/ov9640.c mf->field = V4L2_FIELD_NONE; field 1069 drivers/media/i2c/ov9650.c mf->field = V4L2_FIELD_NONE; field 1232 drivers/media/i2c/ov9650.c mf->field = V4L2_FIELD_NONE; field 621 drivers/media/i2c/rj54n1cb0c.c mf->field = V4L2_FIELD_NONE; field 1005 drivers/media/i2c/rj54n1cb0c.c mf->field = V4L2_FIELD_NONE; field 1122 drivers/media/i2c/rj54n1cb0c.c mf->field = V4L2_FIELD_NONE; field 122 drivers/media/i2c/s5c73m3/s5c73m3-core.c mf->field = V4L2_FIELD_NONE; field 559 drivers/media/i2c/s5k4ecgx.c mf->field = V4L2_FIELD_NONE; field 590 drivers/media/i2c/s5k4ecgx.c fmt->format.field = V4L2_FIELD_NONE; field 695 drivers/media/i2c/s5k4ecgx.c mf->field = V4L2_FIELD_NONE; field 1257 drivers/media/i2c/s5k5baf.c mf->field = V4L2_FIELD_NONE; field 1273 drivers/media/i2c/s5k5baf.c mf->field = V4L2_FIELD_NONE; field 1296 drivers/media/i2c/s5k5baf.c mf->field = V4L2_FIELD_NONE; field 1316 drivers/media/i2c/s5k5baf.c mf->field = V4L2_FIELD_NONE; field 1714 drivers/media/i2c/s5k5baf.c mf->field = V4L2_FIELD_NONE; field 85 drivers/media/i2c/s5k6a3.c .field = V4L2_FIELD_NONE, field 118 drivers/media/i2c/s5k6a3.c mf->field = V4L2_FIELD_NONE; field 1088 drivers/media/i2c/s5k6aa.c mf->field = V4L2_FIELD_NONE; field 1435 drivers/media/i2c/s5k6aa.c format->field = V4L2_FIELD_NONE; field 560 drivers/media/i2c/saa6752hs.c f->field = V4L2_FIELD_INTERLACED; field 594 drivers/media/i2c/saa6752hs.c f->field = V4L2_FIELD_INTERLACED; field 1177 drivers/media/i2c/saa7115.c fmt->field = V4L2_FIELD_INTERLACED; field 1412 drivers/media/i2c/saa7115.c if (data->field == 0) { field 343 drivers/media/i2c/saa7127.c if (enable && (data->field != 0 || data->line != 16)) field 375 drivers/media/i2c/saa7127.c if (enable && (data->field != 0 || data->line != 21)) field 402 drivers/media/i2c/saa7127.c if (enable && (data->field != 1 || data->line != 21)) field 427 drivers/media/i2c/saa7127.c if (enable && (data->field != 0 || data->line != 23)) field 643 drivers/media/i2c/saa7127.c if (data->field == 0) field 1000 drivers/media/i2c/saa717x.c fmt->field = V4L2_FIELD_INTERLACED; field 1643 drivers/media/i2c/smiapp/smiapp-core.c fmt->format.field = V4L2_FIELD_NONE; field 1819 drivers/media/i2c/smiapp/smiapp-core.c fmt->format.field = V4L2_FIELD_NONE; field 2654 drivers/media/i2c/smiapp/smiapp-core.c try_fmt->field = V4L2_FIELD_NONE; field 501 drivers/media/i2c/sr030pc30.c mf->field = V4L2_FIELD_NONE; field 182 drivers/media/i2c/st-mipid02.c fmt->field = V4L2_FIELD_NONE; field 1678 drivers/media/i2c/tc358743.c format->format.field = V4L2_FIELD_NONE; field 1760 drivers/media/i2c/tda1997x.c format->field = (bt->interlaced) ? field 907 drivers/media/i2c/tvp514x.c format->format.field = V4L2_FIELD_INTERLACED; field 926 drivers/media/i2c/tvp514x.c if (fmt->format.field != V4L2_FIELD_INTERLACED || field 967 drivers/media/i2c/tvp514x.c .field = V4L2_FIELD_INTERLACED, field 1005 drivers/media/i2c/tvp5150.c f->field = TVP5150_FIELD; field 827 drivers/media/i2c/tvp7002.c fmt->format.field = tvp7002->current_timings->scanmode; field 769 drivers/media/i2c/tw9910.c mf->field = V4L2_FIELD_INTERLACED_BT; field 780 drivers/media/i2c/tw9910.c WARN_ON(mf->field != V4L2_FIELD_ANY && field 781 drivers/media/i2c/tw9910.c mf->field != V4L2_FIELD_INTERLACED_BT); field 811 drivers/media/i2c/tw9910.c if (mf->field == V4L2_FIELD_ANY) { field 812 drivers/media/i2c/tw9910.c mf->field = V4L2_FIELD_INTERLACED_BT; field 813 drivers/media/i2c/tw9910.c } else if (mf->field != V4L2_FIELD_INTERLACED_BT) { field 814 drivers/media/i2c/tw9910.c dev_err(&client->dev, "Field type %d invalid\n", mf->field); field 425 drivers/media/i2c/video-i2c.c vbuf->field = V4L2_FIELD_NONE; field 670 drivers/media/i2c/video-i2c.c pix->field = V4L2_FIELD_NONE; field 57 drivers/media/i2c/vs6624.c .field = V4L2_FIELD_NONE, field 586 drivers/media/i2c/vs6624.c fmt->field = V4L2_FIELD_NONE; field 1532 drivers/media/pci/bt8xx/bttv-driver.c enum v4l2_field field) field 1571 drivers/media/pci/bt8xx/bttv-driver.c switch (field) { field 1594 drivers/media/pci/bt8xx/bttv-driver.c buf->vb.field != field || field 1602 drivers/media/pci/bt8xx/bttv-driver.c buf->vb.field = field; field 1643 drivers/media/pci/bt8xx/bttv-driver.c enum v4l2_field field) field 1649 drivers/media/pci/bt8xx/bttv-driver.c fh->width, fh->height, field); field 1902 drivers/media/pci/bt8xx/bttv-driver.c enum v4l2_field field) field 1904 drivers/media/pci/bt8xx/bttv-driver.c __s32 frame_height = height << !V4L2_FIELD_HAS_BOTH(field); field 1948 drivers/media/pci/bt8xx/bttv-driver.c enum v4l2_field field, field 2014 drivers/media/pci/bt8xx/bttv-driver.c max_height >>= !V4L2_FIELD_HAS_BOTH(field); field 2024 drivers/media/pci/bt8xx/bttv-driver.c bttv_crop_adjust(c, b, *width, *height, field); field 2059 drivers/media/pci/bt8xx/bttv-driver.c enum v4l2_field field; field 2072 drivers/media/pci/bt8xx/bttv-driver.c field = win->field; field 2074 drivers/media/pci/bt8xx/bttv-driver.c switch (field) { field 2080 drivers/media/pci/bt8xx/bttv-driver.c field = V4L2_FIELD_ANY; field 2083 drivers/media/pci/bt8xx/bttv-driver.c if (V4L2_FIELD_ANY == field) { field 2087 drivers/media/pci/bt8xx/bttv-driver.c field = (win->w.height > height2) field 2091 drivers/media/pci/bt8xx/bttv-driver.c win->field = field; field 2115 drivers/media/pci/bt8xx/bttv-driver.c field, width_mask, field 2180 drivers/media/pci/bt8xx/bttv-driver.c fh->ov.field = win->field; field 2185 drivers/media/pci/bt8xx/bttv-driver.c btv->init.ov.field = win->field; field 2274 drivers/media/pci/bt8xx/bttv-driver.c f->fmt.pix.field = fh->cap.field; field 2287 drivers/media/pci/bt8xx/bttv-driver.c f->fmt.win.field = fh->ov.field; field 2311 drivers/media/pci/bt8xx/bttv-driver.c enum v4l2_field field; field 2321 drivers/media/pci/bt8xx/bttv-driver.c field = f->fmt.pix.field; field 2323 drivers/media/pci/bt8xx/bttv-driver.c switch (field) { field 2332 drivers/media/pci/bt8xx/bttv-driver.c field = V4L2_FIELD_SEQ_TB; field 2338 drivers/media/pci/bt8xx/bttv-driver.c field = (f->fmt.pix.height > height2) field 2348 drivers/media/pci/bt8xx/bttv-driver.c rc = limit_scaled_size_lock(fh, &width, &height, field, field 2356 drivers/media/pci/bt8xx/bttv-driver.c f->fmt.pix.field = field; field 2383 drivers/media/pci/bt8xx/bttv-driver.c enum v4l2_field field; field 2395 drivers/media/pci/bt8xx/bttv-driver.c field = f->fmt.pix.field; field 2399 drivers/media/pci/bt8xx/bttv-driver.c retval = limit_scaled_size_lock(fh, &width, &height, f->fmt.pix.field, field 2406 drivers/media/pci/bt8xx/bttv-driver.c f->fmt.pix.field = field; field 2410 drivers/media/pci/bt8xx/bttv-driver.c fh->cap.field = f->fmt.pix.field; field 2906 drivers/media/pci/bt8xx/bttv-driver.c enum v4l2_field field; field 2939 drivers/media/pci/bt8xx/bttv-driver.c field = videobuf_next_field(&fh->cap); field 2940 drivers/media/pci/bt8xx/bttv-driver.c if (0 != fh->cap.ops->buf_prepare(&fh->cap,fh->cap.read_buf,field)) { field 3474 drivers/media/pci/bt8xx/bttv-driver.c if (V4L2_FIELD_HAS_TOP(item->vb.field)) field 3476 drivers/media/pci/bt8xx/bttv-driver.c if (V4L2_FIELD_HAS_BOTTOM(item->vb.field)) field 3480 drivers/media/pci/bt8xx/bttv-driver.c if (!V4L2_FIELD_HAS_BOTH(item->vb.field) && field 3510 drivers/media/pci/bt8xx/bttv-driver.c if (!V4L2_FIELD_HAS_BOTH(item->vb.field)) { field 3512 drivers/media/pci/bt8xx/bttv-driver.c V4L2_FIELD_BOTTOM == item->vb.field) { field 3523 drivers/media/pci/bt8xx/bttv-driver.c if (V4L2_FIELD_HAS_BOTH(btv->screen->vb.field)) { field 3529 drivers/media/pci/bt8xx/bttv-driver.c if (V4L2_FIELD_TOP == btv->screen->vb.field && field 3533 drivers/media/pci/bt8xx/bttv-driver.c if (V4L2_FIELD_BOTTOM == btv->screen->vb.field && field 4101 drivers/media/pci/bt8xx/bttv-driver.c btv->init.ov.field = V4L2_FIELD_INTERLACED; field 703 drivers/media/pci/bt8xx/bttv-risc.c btv->c.nr, v4l2_field_names[buf->vb.field], field 712 drivers/media/pci/bt8xx/bttv-risc.c V4L2_FIELD_HAS_BOTH(buf->vb.field), field 715 drivers/media/pci/bt8xx/bttv-risc.c switch (buf->vb.field) { field 763 drivers/media/pci/bt8xx/bttv-risc.c switch (buf->vb.field) { field 837 drivers/media/pci/bt8xx/bttv-risc.c buf->vb.field = V4L2_FIELD_SEQ_TB; field 864 drivers/media/pci/bt8xx/bttv-risc.c btv->c.nr, v4l2_field_names[buf->vb.field], field 869 drivers/media/pci/bt8xx/bttv-risc.c V4L2_FIELD_HAS_BOTH(ov->field), field 873 drivers/media/pci/bt8xx/bttv-risc.c switch (ov->field) { field 891 drivers/media/pci/bt8xx/bttv-risc.c buf->vb.field = ov->field; field 93 drivers/media/pci/bt8xx/bttv-vbi.c enum v4l2_field field) field 187 drivers/media/pci/bt8xx/bttv-vbi.c buf->vb.field = field; field 190 drivers/media/pci/bt8xx/bttv-vbi.c v4l2_field_names[buf->vb.field]); field 171 drivers/media/pci/bt8xx/bttvp.h enum v4l2_field field; field 102 drivers/media/pci/cobalt/cobalt-v4l2.c vbuf->field = V4L2_FIELD_NONE; field 716 drivers/media/pci/cobalt/cobalt-v4l2.c pix->field = V4L2_FIELD_NONE; field 787 drivers/media/pci/cobalt/cobalt-v4l2.c pix->field = V4L2_FIELD_NONE; field 862 drivers/media/pci/cobalt/cobalt-v4l2.c pix->field = V4L2_FIELD_NONE; field 876 drivers/media/pci/cobalt/cobalt-v4l2.c pix->field = V4L2_FIELD_NONE; field 945 drivers/media/pci/cx18/cx18-av-core.c fmt->field = V4L2_FIELD_INTERLACED; field 47 drivers/media/pci/cx18/cx18-ioctl.c static int valid_service_line(int field, int line, int is_pal) field 50 drivers/media/pci/cx18/cx18-ioctl.c ((field == 0 && line <= 23) || (field == 1 && line <= 22))) || field 61 drivers/media/pci/cx18/cx18-ioctl.c static u16 select_service_from_set(int field, int line, u16 set, int is_pal) field 67 drivers/media/pci/cx18/cx18-ioctl.c if (set == 0 || !valid_service_line(field, line, is_pal)) field 73 drivers/media/pci/cx18/cx18-ioctl.c if (line == 16 && field == 0 && (set & V4L2_SLICED_VPS)) field 75 drivers/media/pci/cx18/cx18-ioctl.c if (line == 23 && field == 0 && (set & V4L2_SLICED_WSS_625)) field 145 drivers/media/pci/cx18/cx18-ioctl.c pixfmt->field = V4L2_FIELD_INTERLACED; field 108 drivers/media/pci/cx18/cx18-streams.c enum v4l2_field field) field 125 drivers/media/pci/cx18/cx18-streams.c buf->vb.field != field || s->pixelformat != pixelformat || field 130 drivers/media/pci/cx18/cx18-streams.c buf->vb.field = field; field 146 drivers/media/pci/cx18/cx18-streams.c if (buf->vb.field == 0) field 147 drivers/media/pci/cx18/cx18-streams.c buf->vb.field = V4L2_FIELD_INTERLACED; field 152 drivers/media/pci/cx18/cx18-streams.c buf->vb.field = field; field 194 drivers/media/pci/cx18/cx18-streams.c q->field = V4L2_FIELD_INTERLACED; field 202 drivers/media/pci/cx18/cx18-streams.c enum v4l2_field field) field 210 drivers/media/pci/cx18/cx18-streams.c cx->cxhdl.width, cx->cxhdl.height, field); field 56 drivers/media/pci/cx18/cx18-vbi.c f = sdata->field; field 166 drivers/media/pci/cx18/cx18-vbi.c cx->vbi.sliced_data[line].field = vbi.is_second_field; field 226 drivers/media/pci/cx18/cx18-vbi.c cx->vbi.sliced_data[0].field = 0; field 12 drivers/media/pci/cx18/cx18-vbi.h int cx18_used_line(struct cx18 *cx, int line, int field); field 1359 drivers/media/pci/cx23885/cx23885-417.c f->fmt.pix.field = V4L2_FIELD_INTERLACED; field 1375 drivers/media/pci/cx23885/cx23885-417.c f->fmt.pix.field = V4L2_FIELD_INTERLACED; field 1391 drivers/media/pci/cx23885/cx23885-417.c f->fmt.pix.field = V4L2_FIELD_INTERLACED; field 1393 drivers/media/pci/cx23885/cx23885-417.c f->fmt.pix.width, f->fmt.pix.height, f->fmt.pix.field); field 1401 drivers/media/pci/cx23885/cx23885-core.c dev->width, dev->height, dev->field); field 130 drivers/media/pci/cx23885/cx23885-video.c dev->field = V4L2_FIELD_INTERLACED; field 136 drivers/media/pci/cx23885/cx23885-video.c format.format.field = dev->field; field 356 drivers/media/pci/cx23885/cx23885-video.c switch (dev->field) { field 534 drivers/media/pci/cx23885/cx23885-video.c f->fmt.pix.field = dev->field; field 550 drivers/media/pci/cx23885/cx23885-video.c enum v4l2_field field; field 557 drivers/media/pci/cx23885/cx23885-video.c field = f->fmt.pix.field; field 561 drivers/media/pci/cx23885/cx23885-video.c if (V4L2_FIELD_ANY == field) { field 562 drivers/media/pci/cx23885/cx23885-video.c field = (f->fmt.pix.height > maxh/2) field 567 drivers/media/pci/cx23885/cx23885-video.c switch (field) { field 577 drivers/media/pci/cx23885/cx23885-video.c field = V4L2_FIELD_INTERLACED; field 581 drivers/media/pci/cx23885/cx23885-video.c f->fmt.pix.field = field; field 615 drivers/media/pci/cx23885/cx23885-video.c dev->field = f->fmt.pix.field; field 617 drivers/media/pci/cx23885/cx23885-video.c dev->width, dev->height, dev->field); field 622 drivers/media/pci/cx23885/cx23885-video.c f->fmt.pix.field = dev->field; field 1196 drivers/media/pci/cx23885/cx23885-video.c dev->field = V4L2_FIELD_INTERLACED; field 425 drivers/media/pci/cx23885/cx23885.h unsigned field; field 162 drivers/media/pci/cx25821/cx25821-video.c buf->vb.field = chan->field; field 177 drivers/media/pci/cx25821/cx25821-video.c switch (chan->field) { field 324 drivers/media/pci/cx25821/cx25821-video.c f->fmt.pix.field = chan->field; field 339 drivers/media/pci/cx25821/cx25821-video.c enum v4l2_field field = f->fmt.pix.field; field 349 drivers/media/pci/cx25821/cx25821-video.c if (field != V4L2_FIELD_BOTTOM) field 350 drivers/media/pci/cx25821/cx25821-video.c field = V4L2_FIELD_TOP; field 360 drivers/media/pci/cx25821/cx25821-video.c field = V4L2_FIELD_INTERLACED; field 362 drivers/media/pci/cx25821/cx25821-video.c f->fmt.pix.field = field; field 385 drivers/media/pci/cx25821/cx25821-video.c chan->field = f->fmt.pix.field; field 545 drivers/media/pci/cx25821/cx25821-video.c f->fmt.pix.field = V4L2_FIELD_INTERLACED; field 564 drivers/media/pci/cx25821/cx25821-video.c chan->field = f->fmt.pix.field; field 711 drivers/media/pci/cx25821/cx25821-video.c chan->field = V4L2_FIELD_INTERLACED; field 209 drivers/media/pci/cx25821/cx25821.h unsigned field; field 824 drivers/media/pci/cx88/cx88-blackbird.c f->fmt.pix.field = core->field; field 834 drivers/media/pci/cx88/cx88-blackbird.c enum v4l2_field field; field 844 drivers/media/pci/cx88/cx88-blackbird.c field = f->fmt.pix.field; field 846 drivers/media/pci/cx88/cx88-blackbird.c switch (field) { field 854 drivers/media/pci/cx88/cx88-blackbird.c field = (f->fmt.pix.height > maxh / 2) field 859 drivers/media/pci/cx88/cx88-blackbird.c if (V4L2_FIELD_HAS_T_OR_B(field)) field 864 drivers/media/pci/cx88/cx88-blackbird.c f->fmt.pix.field = field; field 882 drivers/media/pci/cx88/cx88-blackbird.c core->field = f->fmt.pix.field; field 884 drivers/media/pci/cx88/cx88-blackbird.c f->fmt.pix.field); field 907 drivers/media/pci/cx88/cx88-blackbird.c cx88_set_scale(core, core->width, core->height, core->field); field 3685 drivers/media/pci/cx88/cx88-cards.c core->field = V4L2_FIELD_INTERLACED; field 526 drivers/media/pci/cx88/cx88-core.c buf->vb.field = core->field; field 669 drivers/media/pci/cx88/cx88-core.c unsigned int height, enum v4l2_field field) field 676 drivers/media/pci/cx88/cx88-core.c V4L2_FIELD_HAS_TOP(field) ? "T" : "", field 677 drivers/media/pci/cx88/cx88-core.c V4L2_FIELD_HAS_BOTTOM(field) ? "B" : "", field 679 drivers/media/pci/cx88/cx88-core.c if (!V4L2_FIELD_HAS_BOTH(field)) field 721 drivers/media/pci/cx88/cx88-core.c if (field == V4L2_FIELD_INTERLACED) field 79 drivers/media/pci/cx88/cx88-mpeg.c core->width, core->height, core->field); field 358 drivers/media/pci/cx88/cx88-video.c cx88_set_scale(core, core->width, core->height, core->field); field 448 drivers/media/pci/cx88/cx88-video.c switch (core->field) { field 714 drivers/media/pci/cx88/cx88-video.c f->fmt.pix.field = core->field; field 730 drivers/media/pci/cx88/cx88-video.c enum v4l2_field field; field 740 drivers/media/pci/cx88/cx88-video.c field = f->fmt.pix.field; field 742 drivers/media/pci/cx88/cx88-video.c switch (field) { field 750 drivers/media/pci/cx88/cx88-video.c field = (f->fmt.pix.height > maxh / 2) field 755 drivers/media/pci/cx88/cx88-video.c if (V4L2_FIELD_HAS_T_OR_B(field)) field 760 drivers/media/pci/cx88/cx88-video.c f->fmt.pix.field = field; field 786 drivers/media/pci/cx88/cx88-video.c core->field = f->fmt.pix.field; field 378 drivers/media/pci/cx88/cx88.h unsigned int field; field 639 drivers/media/pci/cx88/cx88.h unsigned int height, enum v4l2_field field); field 262 drivers/media/pci/dt3155/dt3155.c ipd->curr_buf->field = V4L2_FIELD_NONE; field 319 drivers/media/pci/dt3155/dt3155.c f->fmt.pix.field = V4L2_FIELD_NONE; field 575 drivers/media/pci/intel/ipu3/ipu3-cio2.c b->vbb.field = V4L2_FIELD_NONE; field 1114 drivers/media/pci/intel/ipu3/ipu3-cio2.c mpix->field = V4L2_FIELD_NONE; field 1216 drivers/media/pci/intel/ipu3/ipu3-cio2.c .field = V4L2_FIELD_NONE, field 1567 drivers/media/pci/intel/ipu3/ipu3-cio2.c fmt->field = V4L2_FIELD_NONE; field 1573 drivers/media/pci/intel/ipu3/ipu3-cio2.c q->format.field = V4L2_FIELD_NONE; field 48 drivers/media/pci/ivtv/ivtv-ioctl.c static int valid_service_line(int field, int line, int is_pal) field 50 drivers/media/pci/ivtv/ivtv-ioctl.c return (is_pal && line >= 6 && (line != 23 || field == 0)) || field 54 drivers/media/pci/ivtv/ivtv-ioctl.c static u16 select_service_from_set(int field, int line, u16 set, int is_pal) field 60 drivers/media/pci/ivtv/ivtv-ioctl.c if (set == 0 || !valid_service_line(field, line, is_pal)) { field 68 drivers/media/pci/ivtv/ivtv-ioctl.c if (line == 16 && field == 0 && (set & V4L2_SLICED_VPS)) field 70 drivers/media/pci/ivtv/ivtv-ioctl.c if (line == 23 && field == 0 && (set & V4L2_SLICED_WSS_625)) field 345 drivers/media/pci/ivtv/ivtv-ioctl.c pixfmt->field = V4L2_FIELD_INTERLACED; field 411 drivers/media/pci/ivtv/ivtv-ioctl.c pixfmt->field = V4L2_FIELD_INTERLACED; field 415 drivers/media/pci/ivtv/ivtv-ioctl.c pixfmt->field = (itv->yuv_info.lace_mode & IVTV_YUV_SYNC_MASK) ? field 419 drivers/media/pci/ivtv/ivtv-ioctl.c pixfmt->field = V4L2_FIELD_NONE; field 422 drivers/media/pci/ivtv/ivtv-ioctl.c pixfmt->field = V4L2_FIELD_ANY; field 452 drivers/media/pci/ivtv/ivtv-ioctl.c winfmt->field = V4L2_FIELD_INTERLACED; field 521 drivers/media/pci/ivtv/ivtv-ioctl.c int field = fmt->fmt.pix.field; field 544 drivers/media/pci/ivtv/ivtv-ioctl.c fmt->fmt.pix.field = field; field 654 drivers/media/pci/ivtv/ivtv-ioctl.c switch (fmt->fmt.pix.field) { field 1404 drivers/media/pci/ivtv/ivtv-ioctl.c fb->fmt.field = V4L2_FIELD_INTERLACED; field 1407 drivers/media/pci/ivtv/ivtv-ioctl.c fb->fmt.field = V4L2_FIELD_INTERLACED; field 859 drivers/media/pci/ivtv/ivtv-irq.c .u.vsync.field = V4L2_FIELD_TOP, field 863 drivers/media/pci/ivtv/ivtv-irq.c .u.vsync.field = V4L2_FIELD_BOTTOM, field 22 drivers/media/pci/ivtv/ivtv-vbi.c data.field = 0; field 39 drivers/media/pci/ivtv/ivtv-vbi.c data.field = 0; field 44 drivers/media/pci/ivtv/ivtv-vbi.c data.field = 1; field 67 drivers/media/pci/ivtv/ivtv-vbi.c data.field = 0; field 90 drivers/media/pci/ivtv/ivtv-vbi.c if (d->field) { field 98 drivers/media/pci/ivtv/ivtv-vbi.c } else if (d->id == V4L2_SLICED_VPS && d->line == 16 && d->field == 0) { field 111 drivers/media/pci/ivtv/ivtv-vbi.c d->line == 23 && d->field == 0) { field 197 drivers/media/pci/ivtv/ivtv-vbi.c f = itv->vbi.sliced_data[i].field; field 280 drivers/media/pci/ivtv/ivtv-vbi.c itv->vbi.sliced_dec_data[line].field = i >= 18; field 290 drivers/media/pci/ivtv/ivtv-vbi.c itv->vbi.sliced_dec_data[line].field = 0; field 354 drivers/media/pci/ivtv/ivtv-vbi.c itv->vbi.sliced_data[line].field = vbi.is_second_field; field 409 drivers/media/pci/ivtv/ivtv-vbi.c itv->vbi.sliced_data[0].field = 0; field 472 drivers/media/pci/ivtv/ivtv-vbi.c data.field = 0; field 487 drivers/media/pci/ivtv/ivtv-vbi.c data.field = 0; field 493 drivers/media/pci/ivtv/ivtv-vbi.c data.field = 1; field 17 drivers/media/pci/ivtv/ivtv-vbi.h int ivtv_used_line(struct ivtv *itv, int line, int field); field 1123 drivers/media/pci/meye/meye.c if (f->fmt.pix.field != V4L2_FIELD_ANY && field 1124 drivers/media/pci/meye/meye.c f->fmt.pix.field != V4L2_FIELD_NONE) field 1127 drivers/media/pci/meye/meye.c f->fmt.pix.field = V4L2_FIELD_NONE; field 1158 drivers/media/pci/meye/meye.c f->fmt.pix.field = V4L2_FIELD_NONE; field 1175 drivers/media/pci/meye/meye.c if (f->fmt.pix.field != V4L2_FIELD_ANY && field 1176 drivers/media/pci/meye/meye.c f->fmt.pix.field != V4L2_FIELD_NONE) field 1179 drivers/media/pci/meye/meye.c f->fmt.pix.field = V4L2_FIELD_NONE; field 1268 drivers/media/pci/meye/meye.c buf->field = V4L2_FIELD_NONE; field 1334 drivers/media/pci/meye/meye.c buf->field = V4L2_FIELD_NONE; field 601 drivers/media/pci/ngene/ngene.h enum v4l2_field field; field 395 drivers/media/pci/saa7134/saa7134-core.c cap = dev->field; field 99 drivers/media/pci/saa7134/saa7134-ts.c vbuf->field = dev->field; field 309 drivers/media/pci/saa7134/saa7134-ts.c enum v4l2_field field; field 313 drivers/media/pci/saa7134/saa7134-ts.c field = dev->ts_field; field 314 drivers/media/pci/saa7134/saa7134-ts.c if (field != V4L2_FIELD_TOP) { field 658 drivers/media/pci/saa7134/saa7134-video.c enum v4l2_field field; field 672 drivers/media/pci/saa7134/saa7134-video.c field = win->field; field 676 drivers/media/pci/saa7134/saa7134-video.c if (V4L2_FIELD_ANY == field) { field 677 drivers/media/pci/saa7134/saa7134-video.c field = (win->w.height > maxh/2) field 681 drivers/media/pci/saa7134/saa7134-video.c switch (field) { field 687 drivers/media/pci/saa7134/saa7134-video.c field = V4L2_FIELD_INTERLACED; field 691 drivers/media/pci/saa7134/saa7134-video.c win->field = field; field 708 drivers/media/pci/saa7134/saa7134-video.c dev->ovfield = dev->win.field; field 832 drivers/media/pci/saa7134/saa7134-video.c V4L2_FIELD_HAS_BOTH(dev->field)); field 852 drivers/media/pci/saa7134/saa7134-video.c if (V4L2_FIELD_HAS_BOTH(dev->field)) { field 875 drivers/media/pci/saa7134/saa7134-video.c if (V4L2_FIELD_HAS_BOTH(dev->field)) { field 931 drivers/media/pci/saa7134/saa7134-video.c vbuf->field = dev->field; field 1252 drivers/media/pci/saa7134/saa7134-video.c f->fmt.pix.field = dev->field; field 1300 drivers/media/pci/saa7134/saa7134-video.c enum v4l2_field field; field 1307 drivers/media/pci/saa7134/saa7134-video.c field = f->fmt.pix.field; field 1311 drivers/media/pci/saa7134/saa7134-video.c if (V4L2_FIELD_ANY == field) { field 1312 drivers/media/pci/saa7134/saa7134-video.c field = (f->fmt.pix.height > maxh/2) field 1316 drivers/media/pci/saa7134/saa7134-video.c switch (field) { field 1322 drivers/media/pci/saa7134/saa7134-video.c field = V4L2_FIELD_INTERLACED; field 1326 drivers/media/pci/saa7134/saa7134-video.c f->fmt.pix.field = field; field 1376 drivers/media/pci/saa7134/saa7134-video.c dev->field = f->fmt.pix.field; field 2096 drivers/media/pci/saa7134/saa7134-video.c dev->field = V4L2_FIELD_INTERLACED; field 2099 drivers/media/pci/saa7134/saa7134-video.c dev->win.field = V4L2_FIELD_INTERLACED; field 2250 drivers/media/pci/saa7134/saa7134-video.c enum v4l2_field field; field 2254 drivers/media/pci/saa7134/saa7134-video.c field = dev->field; field 2255 drivers/media/pci/saa7134/saa7134-video.c if (V4L2_FIELD_HAS_BOTH(field)) { field 2263 drivers/media/pci/saa7134/saa7134-video.c } else if (field == V4L2_FIELD_TOP) { field 2266 drivers/media/pci/saa7134/saa7134-video.c } else if (field == V4L2_FIELD_BOTTOM) { field 607 drivers/media/pci/saa7134/saa7134.h enum v4l2_field field; field 520 drivers/media/pci/saa7164/saa7164-encoder.c f->fmt.pix.field = V4L2_FIELD_INTERLACED; field 868 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c switch (pix->field) { field 874 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c pix->field = V4L2_FIELD_INTERLACED; field 932 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c pix->field = solo_enc->interlaced ? V4L2_FIELD_INTERLACED : field 477 drivers/media/pci/solo6x10/solo6x10-v4l2.c pix->field = V4L2_FIELD_INTERLACED; field 505 drivers/media/pci/solo6x10/solo6x10-v4l2.c pix->field = V4L2_FIELD_INTERLACED; field 152 drivers/media/pci/sta2x11/sta2x11_vip.c .field = V4L2_FIELD_INTERLACED, field 160 drivers/media/pci/sta2x11/sta2x11_vip.c .field = V4L2_FIELD_TOP, field 168 drivers/media/pci/sta2x11/sta2x11_vip.c .field = V4L2_FIELD_BOTTOM, field 180 drivers/media/pci/sta2x11/sta2x11_vip.c .field = V4L2_FIELD_INTERLACED, field 188 drivers/media/pci/sta2x11/sta2x11_vip.c .field = V4L2_FIELD_TOP, field 196 drivers/media/pci/sta2x11/sta2x11_vip.c .field = V4L2_FIELD_BOTTOM, field 217 drivers/media/pci/sta2x11/sta2x11_vip.c if (vip->format.field == V4L2_FIELD_INTERLACED) field 599 drivers/media/pci/sta2x11/sta2x11_vip.c switch (f->fmt.pix.field) { field 603 drivers/media/pci/sta2x11/sta2x11_vip.c f->fmt.pix.field = V4L2_FIELD_INTERLACED; field 605 drivers/media/pci/sta2x11/sta2x11_vip.c f->fmt.pix.field = V4L2_FIELD_BOTTOM; field 658 drivers/media/pci/sta2x11/sta2x11_vip.c switch (vip->format.field) { field 617 drivers/media/pci/ttpci/av7110_v4l.c if ((d.id != 0 && d.id != V4L2_SLICED_WSS_625) || d.field != 0 || d.line != 23) field 548 drivers/media/pci/tw5864/tw5864-video.c f->fmt.pix.field = V4L2_FIELD_INTERLACED; field 1437 drivers/media/pci/tw5864/tw5864-video.c v4l2_buf->field = V4L2_FIELD_INTERLACED; field 251 drivers/media/pci/tw68/tw68-video.c unsigned int height, enum v4l2_field field) field 259 drivers/media/pci/tw68/tw68-video.c if (V4L2_FIELD_HAS_BOTH(field)) /* if field is interlaced */ field 264 drivers/media/pci/tw68/tw68-video.c __func__, width, height, V4L2_FIELD_HAS_BOTH(field), field 289 drivers/media/pci/tw68/tw68-video.c V4L2_FIELD_HAS_TOP(field) ? "T" : "", field 290 drivers/media/pci/tw68/tw68-video.c V4L2_FIELD_HAS_BOTTOM(field) ? "B" : "", field 323 drivers/media/pci/tw68/tw68-video.c tw68_set_scale(dev, dev->width, dev->height, dev->field); field 453 drivers/media/pci/tw68/tw68-video.c switch (dev->field) { field 578 drivers/media/pci/tw68/tw68-video.c f->fmt.pix.field = dev->field; field 593 drivers/media/pci/tw68/tw68-video.c enum v4l2_field field; field 600 drivers/media/pci/tw68/tw68-video.c field = f->fmt.pix.field; field 603 drivers/media/pci/tw68/tw68-video.c switch (field) { field 613 drivers/media/pci/tw68/tw68-video.c field = (f->fmt.pix.height > maxh / 2) field 619 drivers/media/pci/tw68/tw68-video.c f->fmt.pix.field = field; field 656 drivers/media/pci/tw68/tw68-video.c dev->field = f->fmt.pix.field; field 943 drivers/media/pci/tw68/tw68-video.c dev->field = V4L2_FIELD_INTERLACED; field 991 drivers/media/pci/tw68/tw68-video.c buf->vb.field = dev->field; field 155 drivers/media/pci/tw68/tw68.h unsigned field; field 60 drivers/media/pci/tw686x/tw686x-video.c vb->field = dev->dma_ops->field; field 151 drivers/media/pci/tw686x/tw686x-video.c .field = V4L2_FIELD_INTERLACED, field 181 drivers/media/pci/tw686x/tw686x-video.c .field = V4L2_FIELD_INTERLACED, field 337 drivers/media/pci/tw686x/tw686x-video.c .field = V4L2_FIELD_SEQ_TB, field 631 drivers/media/pci/tw686x/tw686x-video.c f->fmt.pix.field = dev->dma_ops->field; field 666 drivers/media/pci/tw686x/tw686x-video.c f->fmt.pix.field = dev->dma_ops->field; field 110 drivers/media/pci/tw686x/tw686x.h enum v4l2_field field; field 277 drivers/media/platform/am437x/am437x-vpfe.c lhs->fmt.pix.field == rhs->fmt.pix.field && field 1019 drivers/media/platform/am437x/am437x-vpfe.c f->fmt.pix.field = V4L2_FIELD_NONE; field 1022 drivers/media/platform/am437x/am437x-vpfe.c f->fmt.pix.field = V4L2_FIELD_INTERLACED; field 1024 drivers/media/platform/am437x/am437x-vpfe.c f->fmt.pix.field = V4L2_FIELD_SEQ_TB; field 1055 drivers/media/platform/am437x/am437x-vpfe.c switch (vpfe->fmt.fmt.pix.field) { field 1128 drivers/media/platform/am437x/am437x-vpfe.c pix->field = V4L2_FIELD_INTERLACED; field 1130 drivers/media/platform/am437x/am437x-vpfe.c pix->field = V4L2_FIELD_NONE; field 1274 drivers/media/platform/am437x/am437x-vpfe.c vpfe->cur_frm->vb.field = vpfe->fmt.fmt.pix.field; field 1291 drivers/media/platform/am437x/am437x-vpfe.c enum v4l2_field field; field 1298 drivers/media/platform/am437x/am437x-vpfe.c field = vpfe->fmt.fmt.pix.field; field 1300 drivers/media/platform/am437x/am437x-vpfe.c if (field == V4L2_FIELD_NONE) { field 1312 drivers/media/platform/am437x/am437x-vpfe.c vpfe->field ^= 1; field 1313 drivers/media/platform/am437x/am437x-vpfe.c if (fid == vpfe->field) { field 1328 drivers/media/platform/am437x/am437x-vpfe.c if (field == V4L2_FIELD_SEQ_TB) field 1349 drivers/media/platform/am437x/am437x-vpfe.c vpfe->field = fid; field 1356 drivers/media/platform/am437x/am437x-vpfe.c if (vpfe->fmt.fmt.pix.field == V4L2_FIELD_NONE && field 1623 drivers/media/platform/am437x/am437x-vpfe.c pix.field = V4L2_FIELD_NONE; field 1942 drivers/media/platform/am437x/am437x-vpfe.c vbuf->field = vpfe->fmt.fmt.pix.field; field 1980 drivers/media/platform/am437x/am437x-vpfe.c vpfe->field = 0; field 232 drivers/media/platform/am437x/am437x-vpfe.h unsigned field; field 588 drivers/media/platform/aspeed-video.c buf->vb.field = V4L2_FIELD_NONE; field 1512 drivers/media/platform/aspeed-video.c video->pix_fmt.field = V4L2_FIELD_NONE; field 563 drivers/media/platform/atmel/atmel-isc-base.c vbuf->field = isc->fmt.fmt.pix.field; field 1301 drivers/media/platform/atmel/atmel-isc-base.c pixfmt->field = V4L2_FIELD_NONE; field 1999 drivers/media/platform/atmel/atmel-isc-base.c .field = V4L2_FIELD_NONE, field 183 drivers/media/platform/atmel/atmel-isi.c vbuf->field = V4L2_FIELD_NONE; field 586 drivers/media/platform/atmel/atmel-isi.c pixfmt->field = V4L2_FIELD_NONE; field 938 drivers/media/platform/atmel/atmel-isi.c .field = V4L2_FIELD_NONE, field 137 drivers/media/platform/cadence/cdns-csi2tx.c .field = V4L2_FIELD_NONE, field 2463 drivers/media/platform/coda/coda-bit.c dst_buf->field = V4L2_FIELD_NONE; field 434 drivers/media/platform/coda/coda-common.c f->fmt.pix.field = V4L2_FIELD_NONE; field 525 drivers/media/platform/coda/coda-common.c enum v4l2_field field; field 527 drivers/media/platform/coda/coda-common.c field = f->fmt.pix.field; field 528 drivers/media/platform/coda/coda-common.c if (field == V4L2_FIELD_ANY) field 529 drivers/media/platform/coda/coda-common.c field = V4L2_FIELD_NONE; field 530 drivers/media/platform/coda/coda-common.c else if (V4L2_FIELD_NONE != field) field 535 drivers/media/platform/coda/coda-common.c f->fmt.pix.field = field; field 1606 drivers/media/platform/coda/coda-common.c if (vbuf->field == V4L2_FIELD_ANY) field 1607 drivers/media/platform/coda/coda-common.c vbuf->field = V4L2_FIELD_NONE; field 1608 drivers/media/platform/coda/coda-common.c if (vbuf->field != V4L2_FIELD_NONE) { field 150 drivers/media/platform/davinci/vpbe_display.c if ((V4L2_FIELD_NONE == layer->pix_fmt.field) && field 580 drivers/media/platform/davinci/vpbe_display.c if ((pixfmt->field != V4L2_FIELD_INTERLACED) && field 581 drivers/media/platform/davinci/vpbe_display.c (pixfmt->field != V4L2_FIELD_NONE)) { field 583 drivers/media/platform/davinci/vpbe_display.c pixfmt->field = V4L2_FIELD_INTERLACED; field 585 drivers/media/platform/davinci/vpbe_display.c pixfmt->field = V4L2_FIELD_NONE; field 588 drivers/media/platform/davinci/vpbe_display.c if (pixfmt->field == V4L2_FIELD_INTERLACED) field 261 drivers/media/platform/davinci/vpfe_capture.c switch (vpfe_dev->fmt.fmt.pix.field) { field 332 drivers/media/platform/davinci/vpfe_capture.c pix->field = V4L2_FIELD_INTERLACED; field 338 drivers/media/platform/davinci/vpfe_capture.c pix->field = V4L2_FIELD_NONE; field 492 drivers/media/platform/davinci/vpfe_capture.c enum v4l2_field field; field 496 drivers/media/platform/davinci/vpfe_capture.c field = vpfe_dev->fmt.fmt.pix.field; field 506 drivers/media/platform/davinci/vpfe_capture.c if (field == V4L2_FIELD_NONE) { field 536 drivers/media/platform/davinci/vpfe_capture.c if (field == V4L2_FIELD_SEQ_TB) field 580 drivers/media/platform/davinci/vpfe_capture.c if ((vpfe_dev->fmt.fmt.pix.field == V4L2_FIELD_NONE) && field 773 drivers/media/platform/davinci/vpfe_capture.c if (pixfmt->field == V4L2_FIELD_ANY) { field 775 drivers/media/platform/davinci/vpfe_capture.c pixfmt->field = vpfe_dev->fmt.fmt.pix.field; field 782 drivers/media/platform/davinci/vpfe_capture.c if (vpfe_dev->fmt.fmt.pix.field != pixfmt->field) { field 787 drivers/media/platform/davinci/vpfe_capture.c switch (pixfmt->field) { field 792 drivers/media/platform/davinci/vpfe_capture.c pixfmt->field = V4L2_FIELD_NONE; field 796 drivers/media/platform/davinci/vpfe_capture.c pixfmt->field = V4L2_FIELD_INTERLACED; field 801 drivers/media/platform/davinci/vpfe_capture.c pixfmt->field = vpfe_dev->fmt.fmt.pix.field; field 807 drivers/media/platform/davinci/vpfe_capture.c if (pixfmt->field == V4L2_FIELD_INTERLACED || field 808 drivers/media/platform/davinci/vpfe_capture.c pixfmt->field == V4L2_FIELD_SEQ_TB) field 822 drivers/media/platform/davinci/vpfe_capture.c if (pixfmt->field == V4L2_FIELD_INTERLACED) field 1177 drivers/media/platform/davinci/vpfe_capture.c enum v4l2_field field) field 1191 drivers/media/platform/davinci/vpfe_capture.c vb->field = field; field 1287 drivers/media/platform/davinci/vpfe_capture.c vpfe_dev->fmt.fmt.pix.field, field 84 drivers/media/platform/davinci/vpif_capture.c vbuf->field = common->fmt.fmt.pix.field; field 386 drivers/media/platform/davinci/vpif_capture.c common->fmt.fmt.pix.field == V4L2_FIELD_NONE) { field 476 drivers/media/platform/davinci/vpif_capture.c if (pixfmt->field == V4L2_FIELD_ANY || field 477 drivers/media/platform/davinci/vpif_capture.c pixfmt->field == V4L2_FIELD_NONE) field 478 drivers/media/platform/davinci/vpif_capture.c pixfmt->field = V4L2_FIELD_NONE; field 536 drivers/media/platform/davinci/vpif_capture.c common->fmt.fmt.pix.field = V4L2_FIELD_NONE; field 538 drivers/media/platform/davinci/vpif_capture.c common->fmt.fmt.pix.field = V4L2_FIELD_INTERLACED; field 563 drivers/media/platform/davinci/vpif_capture.c enum v4l2_field field = common->fmt.fmt.pix.field; field 567 drivers/media/platform/davinci/vpif_capture.c if (V4L2_FIELD_ANY == field) { field 573 drivers/media/platform/davinci/vpif_capture.c vid_ch->buf_field = common->fmt.fmt.pix.field; field 609 drivers/media/platform/davinci/vpif_capture.c if ((field == V4L2_FIELD_ANY) field 610 drivers/media/platform/davinci/vpif_capture.c || (field == V4L2_FIELD_INTERLACED)) field 965 drivers/media/platform/davinci/vpif_capture.c pixfmt->field = common->fmt.fmt.pix.field; field 979 drivers/media/platform/davinci/vpif_capture.c pixfmt->field, pixfmt->sizeimage); field 1032 drivers/media/platform/davinci/vpif_capture.c mbus_fmt->code, pix_fmt->field, pix_fmt->sizeimage); field 18 drivers/media/platform/davinci/vpif_capture.h #define VPIF_VALID_FIELD(field) (((V4L2_FIELD_ANY == field) || \ field 19 drivers/media/platform/davinci/vpif_capture.h (V4L2_FIELD_NONE == field)) || \ field 20 drivers/media/platform/davinci/vpif_capture.h (((V4L2_FIELD_INTERLACED == field) || \ field 21 drivers/media/platform/davinci/vpif_capture.h (V4L2_FIELD_SEQ_TB == field)) || \ field 22 drivers/media/platform/davinci/vpif_capture.h (V4L2_FIELD_SEQ_BT == field))) field 83 drivers/media/platform/davinci/vpif_display.c vbuf->field = common->fmt.fmt.pix.field; field 489 drivers/media/platform/davinci/vpif_display.c common->fmt.fmt.pix.field = V4L2_FIELD_NONE; field 491 drivers/media/platform/davinci/vpif_display.c common->fmt.fmt.pix.field = V4L2_FIELD_INTERLACED; field 504 drivers/media/platform/davinci/vpif_display.c enum v4l2_field field = common->fmt.fmt.pix.field; field 508 drivers/media/platform/davinci/vpif_display.c if (V4L2_FIELD_ANY == common->fmt.fmt.pix.field) { field 514 drivers/media/platform/davinci/vpif_display.c vid_ch->buf_field = common->fmt.fmt.pix.field; field 549 drivers/media/platform/davinci/vpif_display.c if ((field == V4L2_FIELD_ANY) || field 550 drivers/media/platform/davinci/vpif_display.c (field == V4L2_FIELD_INTERLACED)) field 642 drivers/media/platform/davinci/vpif_display.c pixfmt->field = common->fmt.fmt.pix.field; field 28 drivers/media/platform/davinci/vpif_display.h #define VPIF_VALID_FIELD(field) \ field 29 drivers/media/platform/davinci/vpif_display.h (((V4L2_FIELD_ANY == field) || (V4L2_FIELD_NONE == field)) || \ field 30 drivers/media/platform/davinci/vpif_display.h (((V4L2_FIELD_INTERLACED == field) || (V4L2_FIELD_SEQ_TB == field)) || \ field 31 drivers/media/platform/davinci/vpif_display.h (V4L2_FIELD_SEQ_BT == field))) field 409 drivers/media/platform/exynos-gsc/gsc-core.c if (pix_mp->field == V4L2_FIELD_ANY) field 410 drivers/media/platform/exynos-gsc/gsc-core.c pix_mp->field = V4L2_FIELD_NONE; field 411 drivers/media/platform/exynos-gsc/gsc-core.c else if (pix_mp->field != V4L2_FIELD_NONE) { field 412 drivers/media/platform/exynos-gsc/gsc-core.c pr_debug("Not supported field order(%d)\n", pix_mp->field); field 493 drivers/media/platform/exynos-gsc/gsc-core.c pix_mp->field = V4L2_FIELD_NONE; field 1721 drivers/media/platform/exynos4-is/fimc-capture.c .field = V4L2_FIELD_NONE, field 681 drivers/media/platform/exynos4-is/fimc-core.c pixm->field = V4L2_FIELD_NONE; field 706 drivers/media/platform/exynos4-is/fimc-core.c pix->field = V4L2_FIELD_NONE; field 391 drivers/media/platform/exynos4-is/fimc-isp-video.c pixm->field = V4L2_FIELD_NONE; field 369 drivers/media/platform/exynos4-is/fimc-isp.c .field = V4L2_FIELD_NONE, field 594 drivers/media/platform/exynos4-is/fimc-lite.c mf->field = V4L2_FIELD_NONE; field 684 drivers/media/platform/exynos4-is/fimc-lite.c pixm->field = V4L2_FIELD_NONE; field 729 drivers/media/platform/exynos4-is/fimc-lite.c pixm->field = V4L2_FIELD_NONE; field 283 drivers/media/platform/exynos4-is/fimc-m2m.c if (pix->field == V4L2_FIELD_ANY) field 284 drivers/media/platform/exynos4-is/fimc-m2m.c pix->field = V4L2_FIELD_NONE; field 285 drivers/media/platform/exynos4-is/fimc-m2m.c else if (pix->field != V4L2_FIELD_NONE) field 127 drivers/media/platform/fsl-viu.c int field; field 250 drivers/media/platform/fsl-viu.c dev->field = 0; field 287 drivers/media/platform/fsl-viu.c dev->field = 0; field 433 drivers/media/platform/fsl-viu.c dev->capfield = buf->vb.field; field 436 drivers/media/platform/fsl-viu.c if (!V4L2_FIELD_HAS_BOTH(buf->vb.field)) field 448 drivers/media/platform/fsl-viu.c enum v4l2_field field) field 466 drivers/media/platform/fsl-viu.c buf->vb.field != field) { field 470 drivers/media/platform/fsl-viu.c buf->vb.field = field; field 480 drivers/media/platform/fsl-viu.c buf->vb.field = field; field 588 drivers/media/platform/fsl-viu.c f->fmt.pix.field = fh->vb_vidq.field; field 613 drivers/media/platform/fsl-viu.c f->fmt.pix.field = V4L2_FIELD_INTERLACED; field 645 drivers/media/platform/fsl-viu.c fh->vb_vidq.field = f->fmt.pix.field; field 661 drivers/media/platform/fsl-viu.c enum v4l2_field field; field 671 drivers/media/platform/fsl-viu.c field = win->field; field 675 drivers/media/platform/fsl-viu.c if (field == V4L2_FIELD_ANY) { field 676 drivers/media/platform/fsl-viu.c field = (win->w.height > maxh/2) field 680 drivers/media/platform/fsl-viu.c switch (field) { field 691 drivers/media/platform/fsl-viu.c win->field = field; field 736 drivers/media/platform/fsl-viu.c dev->ovfield = fh->win.field; field 1035 drivers/media/platform/fsl-viu.c if (((field_num == 0) && (dev->field == 0)) || field 1036 drivers/media/platform/fsl-viu.c (field_num && (dev->field == 1))) field 1037 drivers/media/platform/fsl-viu.c dev->field++; field 1060 drivers/media/platform/fsl-viu.c (unsigned long)addr, dev->field); field 1072 drivers/media/platform/fsl-viu.c if (dma_done && field_num && (dev->field == 2)) { field 1073 drivers/media/platform/fsl-viu.c dev->field = 0; field 762 drivers/media/platform/imx-pxp.c out_vb->field = in_vb->field; field 1091 drivers/media/platform/imx-pxp.c f->fmt.pix.field = V4L2_FIELD_NONE; field 1143 drivers/media/platform/imx-pxp.c f->fmt.pix.field = V4L2_FIELD_NONE; field 1403 drivers/media/platform/imx-pxp.c if (vbuf->field == V4L2_FIELD_ANY) field 1404 drivers/media/platform/imx-pxp.c vbuf->field = V4L2_FIELD_NONE; field 1405 drivers/media/platform/imx-pxp.c if (vbuf->field != V4L2_FIELD_NONE) { field 64 drivers/media/platform/m2m-deinterlace.c enum v4l2_field field; field 379 drivers/media/platform/m2m-deinterlace.c switch (dst_q_data->field) { field 406 drivers/media/platform/m2m-deinterlace.c switch (dst_q_data->field) { field 494 drivers/media/platform/m2m-deinterlace.c f->fmt.pix.field = q_data->field; field 551 drivers/media/platform/m2m-deinterlace.c if (f->fmt.pix.field != V4L2_FIELD_INTERLACED_TB && field 552 drivers/media/platform/m2m-deinterlace.c f->fmt.pix.field != V4L2_FIELD_INTERLACED_BT && field 553 drivers/media/platform/m2m-deinterlace.c f->fmt.pix.field != V4L2_FIELD_NONE) field 554 drivers/media/platform/m2m-deinterlace.c f->fmt.pix.field = V4L2_FIELD_INTERLACED_TB; field 571 drivers/media/platform/m2m-deinterlace.c if (f->fmt.pix.field != V4L2_FIELD_SEQ_TB && field 572 drivers/media/platform/m2m-deinterlace.c f->fmt.pix.field != V4L2_FIELD_SEQ_BT) field 573 drivers/media/platform/m2m-deinterlace.c f->fmt.pix.field = V4L2_FIELD_SEQ_TB; field 601 drivers/media/platform/m2m-deinterlace.c f->fmt.pix.pixelformat, f->fmt.pix.field); field 607 drivers/media/platform/m2m-deinterlace.c q_data->field = f->fmt.pix.field; field 623 drivers/media/platform/m2m-deinterlace.c q_data->field); field 673 drivers/media/platform/m2m-deinterlace.c switch (s_q_data->field) { field 675 drivers/media/platform/m2m-deinterlace.c if (d_q_data->field != V4L2_FIELD_NONE && field 676 drivers/media/platform/m2m-deinterlace.c d_q_data->field != V4L2_FIELD_INTERLACED_BT) { field 679 drivers/media/platform/m2m-deinterlace.c s_q_data->field, d_q_data->field); field 684 drivers/media/platform/m2m-deinterlace.c if (d_q_data->field != V4L2_FIELD_NONE && field 685 drivers/media/platform/m2m-deinterlace.c d_q_data->field != V4L2_FIELD_INTERLACED_TB) { field 688 drivers/media/platform/m2m-deinterlace.c s_q_data->field, d_q_data->field); field 814 drivers/media/platform/m2m-deinterlace.c q_data[V4L2_M2M_SRC].field = V4L2_FIELD_SEQ_TB; field 833 drivers/media/platform/m2m-deinterlace.c q_data[V4L2_M2M_SRC].field = V4L2_FIELD_INTERLACED_TB; field 169 drivers/media/platform/marvell-ccic/mcam-core.c .field = V4L2_FIELD_NONE, field 214 drivers/media/platform/marvell-ccic/mcam-core.c vbuf->field = V4L2_FIELD_NONE; field 208 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c pix_mp->field = V4L2_FIELD_NONE; field 282 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c pix_mp->field = V4L2_FIELD_NONE; field 194 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c pix_mp->field = V4L2_FIELD_NONE; field 655 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c pix_mp->field = V4L2_FIELD_NONE; field 574 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c q_data->field = V4L2_FIELD_NONE; field 586 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c q_data->field = V4L2_FIELD_NONE; field 658 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c pix_fmt_mp->field = V4L2_FIELD_NONE; field 987 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c pix_mp->field = V4L2_FIELD_NONE; field 130 drivers/media/platform/mtk-vcodec/mtk_vcodec_drv.h enum v4l2_field field; field 292 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c pix_fmt_mp->field = V4L2_FIELD_NONE; field 455 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c q_data->field = f->fmt.pix_mp.field; field 528 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c q_data->field = f->fmt.pix_mp.field; field 563 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c pix->field = q_data->field; field 1189 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c q_data->field = V4L2_FIELD_NONE; field 1221 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c q_data->field = V4L2_FIELD_NONE; field 440 drivers/media/platform/mx2_emmaprp.c f->fmt.pix.field = V4L2_FIELD_NONE; field 465 drivers/media/platform/mx2_emmaprp.c enum v4l2_field field; field 471 drivers/media/platform/mx2_emmaprp.c field = f->fmt.pix.field; field 472 drivers/media/platform/mx2_emmaprp.c if (field == V4L2_FIELD_ANY) field 473 drivers/media/platform/mx2_emmaprp.c field = V4L2_FIELD_NONE; field 474 drivers/media/platform/mx2_emmaprp.c else if (V4L2_FIELD_NONE != field) field 479 drivers/media/platform/mx2_emmaprp.c f->fmt.pix.field = field; field 141 drivers/media/platform/omap/omap_vout.c pix->field = V4L2_FIELD_NONE; field 777 drivers/media/platform/omap/omap_vout.c win->field = vout->win.field; field 977 drivers/media/platform/omap/omap_vout.c voutbuf->vbuf.field = V4L2_FIELD_NONE; field 1209 drivers/media/platform/omap/omap_vout.c a->fmt.field = V4L2_FIELD_NONE; field 1325 drivers/media/platform/omap/omap_vout.c pix->field = V4L2_FIELD_NONE; field 1347 drivers/media/platform/omap/omap_vout.c vout->win.field = V4L2_FIELD_NONE; field 98 drivers/media/platform/omap/omap_voutlib.c new_win->field = V4L2_FIELD_NONE; field 127 drivers/media/platform/omap/omap_voutlib.c win->field = new_win->field; field 886 drivers/media/platform/omap3isp/ispccdc.c enum v4l2_field field) field 894 drivers/media/platform/omap3isp/ispccdc.c switch (field) { field 1250 drivers/media/platform/omap3isp/ispccdc.c format->field); field 1256 drivers/media/platform/omap3isp/ispccdc.c if (ccdc->formats[CCDC_PAD_SINK].field == V4L2_FIELD_ALTERNATE && field 1257 drivers/media/platform/omap3isp/ispccdc.c (format->field == V4L2_FIELD_INTERLACED_TB || field 1258 drivers/media/platform/omap3isp/ispccdc.c format->field == V4L2_FIELD_INTERLACED_BT)) field 1538 drivers/media/platform/omap3isp/ispccdc.c enum v4l2_field of_field = ccdc->formats[CCDC_PAD_SOURCE_OF].field; field 1539 drivers/media/platform/omap3isp/ispccdc.c enum v4l2_field field; field 1546 drivers/media/platform/omap3isp/ispccdc.c field = isp_reg_readl(isp, OMAP3_ISP_IOMEM_CCDC, ISPCCDC_SYN_MODE) field 1554 drivers/media/platform/omap3isp/ispccdc.c pipe->field = field; field 1559 drivers/media/platform/omap3isp/ispccdc.c ccdc->fields |= field == V4L2_FIELD_BOTTOM field 1568 drivers/media/platform/omap3isp/ispccdc.c if ((of_field == V4L2_FIELD_INTERLACED_TB && field == V4L2_FIELD_TOP) || field 1569 drivers/media/platform/omap3isp/ispccdc.c (of_field == V4L2_FIELD_INTERLACED_BT && field == V4L2_FIELD_BOTTOM)) field 1968 drivers/media/platform/omap3isp/ispccdc.c enum v4l2_field field; field 1987 drivers/media/platform/omap3isp/ispccdc.c if (fmt->field == V4L2_FIELD_ANY) field 1988 drivers/media/platform/omap3isp/ispccdc.c fmt->field = V4L2_FIELD_NONE; field 1994 drivers/media/platform/omap3isp/ispccdc.c field = fmt->field; field 2027 drivers/media/platform/omap3isp/ispccdc.c if (fmt->field == V4L2_FIELD_ALTERNATE && field 2028 drivers/media/platform/omap3isp/ispccdc.c (field == V4L2_FIELD_INTERLACED_TB || field 2029 drivers/media/platform/omap3isp/ispccdc.c field == V4L2_FIELD_INTERLACED_BT)) { field 2030 drivers/media/platform/omap3isp/ispccdc.c fmt->field = field; field 679 drivers/media/platform/omap3isp/ispccp2.c fmt->field = V4L2_FIELD_NONE; field 885 drivers/media/platform/omap3isp/ispcsi2.c fmt->field = V4L2_FIELD_NONE; field 1799 drivers/media/platform/omap3isp/isppreview.c fmt->field = V4L2_FIELD_NONE; field 1404 drivers/media/platform/omap3isp/ispresizer.c fmt->field = V4L2_FIELD_NONE; field 178 drivers/media/platform/omap3isp/ispvideo.c pix->field = mbus->field; field 202 drivers/media/platform/omap3isp/ispvideo.c mbus->field = pix->field; field 319 drivers/media/platform/omap3isp/ispvideo.c vfh->format.fmt.pix.field != format.fmt.pix.field) field 546 drivers/media/platform/omap3isp/ispvideo.c if (pipe->field != V4L2_FIELD_NONE) field 549 drivers/media/platform/omap3isp/ispvideo.c buf->vb.field = pipe->field; field 692 drivers/media/platform/omap3isp/ispvideo.c switch (format->fmt.pix.field) { field 699 drivers/media/platform/omap3isp/ispvideo.c format->fmt.pix.field = V4L2_FIELD_NONE; field 706 drivers/media/platform/omap3isp/ispvideo.c format->fmt.pix.field = V4L2_FIELD_INTERLACED_TB; field 712 drivers/media/platform/omap3isp/ispvideo.c format->fmt.pix.field = V4L2_FIELD_NONE; field 722 drivers/media/platform/omap3isp/ispvideo.c format->fmt.pix.field = V4L2_FIELD_NONE; field 1152 drivers/media/platform/omap3isp/ispvideo.c pipe->field = vfh->format.fmt.pix.field; field 92 drivers/media/platform/omap3isp/ispvideo.h enum v4l2_field field; field 991 drivers/media/platform/pxa_camera.c vbuf->field = V4L2_FIELD_NONE; field 1868 drivers/media/platform/pxa_camera.c pix->field = pcdev->current_pix.field; field 1914 drivers/media/platform/pxa_camera.c switch (mf->field) { field 1917 drivers/media/platform/pxa_camera.c pix->field = V4L2_FIELD_NONE; field 1922 drivers/media/platform/pxa_camera.c mf->field); field 2166 drivers/media/platform/pxa_camera.c pix->field = V4L2_FIELD_NONE; field 804 drivers/media/platform/qcom/camss/camss-csid.c fmt->field = V4L2_FIELD_NONE; field 833 drivers/media/platform/qcom/camss/camss-csid.c fmt->field = V4L2_FIELD_NONE; field 360 drivers/media/platform/qcom/camss/camss-csiphy.c fmt->field = V4L2_FIELD_NONE; field 886 drivers/media/platform/qcom/camss/camss-ispif.c fmt->field = V4L2_FIELD_NONE; field 1553 drivers/media/platform/qcom/camss/camss-vfe.c fmt->field = V4L2_FIELD_NONE; field 393 drivers/media/platform/qcom/camss/camss-video.c vbuf->field = V4L2_FIELD_NONE; field 424 drivers/media/platform/qcom/camss/camss-video.c pix->field != format.fmt.pix_mp.field) field 625 drivers/media/platform/qcom/camss/camss-video.c pix_mp->field = V4L2_FIELD_NONE; field 1058 drivers/media/platform/qcom/venus/helpers.c if (vbuf->field == V4L2_FIELD_ANY) field 1059 drivers/media/platform/qcom/venus/helpers.c vbuf->field = V4L2_FIELD_NONE; field 1060 drivers/media/platform/qcom/venus/helpers.c if (vbuf->field != V4L2_FIELD_NONE) { field 170 drivers/media/platform/qcom/venus/vdec.c if (pixmp->field == V4L2_FIELD_ANY) field 171 drivers/media/platform/qcom/venus/vdec.c pixmp->field = V4L2_FIELD_NONE; field 1128 drivers/media/platform/qcom/venus/vdec.c vbuf->field = V4L2_FIELD_NONE; field 324 drivers/media/platform/qcom/venus/venc.c if (pixmp->field == V4L2_FIELD_ANY) field 325 drivers/media/platform/qcom/venus/venc.c pixmp->field = V4L2_FIELD_NONE; field 488 drivers/media/platform/rcar-vin/rcar-csi2.c priv->mf.field == V4L2_FIELD_NONE ? 'p' : 'i'); field 514 drivers/media/platform/rcar-vin/rcar-csi2.c if (priv->mf.field == V4L2_FIELD_ALTERNATE) { field 560 drivers/media/platform/rcar-vin/rcar-dma.c switch (vin->format.field) { field 587 drivers/media/platform/rcar-vin/rcar-dma.c switch (vin->format.field) { field 620 drivers/media/platform/rcar-vin/rcar-dma.c switch (vin->format.field) { field 951 drivers/media/platform/rcar-vin/rcar-dma.c vin->queue_buf[slot]->field = vin->format.field; field 1062 drivers/media/platform/rcar-vin/rcar-dma.c switch (fmt.format.field) { field 1074 drivers/media/platform/rcar-vin/rcar-dma.c switch (vin->format.field) { field 113 drivers/media/platform/rcar-vin/rcar-v4l2.c switch (pix->field) { field 127 drivers/media/platform/rcar-vin/rcar-v4l2.c pix->field = V4L2_FIELD_INTERLACED; field 131 drivers/media/platform/rcar-vin/rcar-v4l2.c pix->field = RVIN_DEFAULT_FIELD; field 190 drivers/media/platform/rcar-vin/rcar-v4l2.c enum v4l2_field field; field 204 drivers/media/platform/rcar-vin/rcar-v4l2.c field = pix->field; field 225 drivers/media/platform/rcar-vin/rcar-v4l2.c if (pix->field == V4L2_FIELD_ALTERNATE) field 229 drivers/media/platform/rcar-vin/rcar-v4l2.c if (field != V4L2_FIELD_ANY) field 230 drivers/media/platform/rcar-vin/rcar-v4l2.c pix->field = field; field 913 drivers/media/platform/rcar-vin/rcar-v4l2.c vin->format.field = RVIN_DEFAULT_FIELD; field 584 drivers/media/platform/rcar_drif.c fbuf->vb.field = V4L2_FIELD_NONE; field 525 drivers/media/platform/rcar_fdp1.c enum v4l2_field field; field 907 drivers/media/platform/rcar_fdp1.c if (job->active->field == V4L2_FIELD_BOTTOM) { field 1148 drivers/media/platform/rcar_fdp1.c if (V4L2_FIELD_HAS_BOTH(src_q_data->format.field)) field 1479 drivers/media/platform/rcar_fdp1.c if (pix->field != V4L2_FIELD_NONE && field 1480 drivers/media/platform/rcar_fdp1.c pix->field != V4L2_FIELD_ALTERNATE && field 1481 drivers/media/platform/rcar_fdp1.c !V4L2_FIELD_HAS_BOTH(pix->field)) field 1482 drivers/media/platform/rcar_fdp1.c pix->field = V4L2_FIELD_INTERLACED; field 1504 drivers/media/platform/rcar_fdp1.c if (pix->field == V4L2_FIELD_ALTERNATE) field 1556 drivers/media/platform/rcar_fdp1.c pix->field = V4L2_FIELD_NONE; field 1581 drivers/media/platform/rcar_fdp1.c if (src_data->format.field == V4L2_FIELD_ALTERNATE) field 1601 drivers/media/platform/rcar_fdp1.c f->fmt.pix_mp.width, f->fmt.pix_mp.height, f->fmt.pix_mp.field); field 1622 drivers/media/platform/rcar_fdp1.c if (pix->field != V4L2_FIELD_NONE) field 1629 drivers/media/platform/rcar_fdp1.c if (pix->field == V4L2_FIELD_INTERLACED || field 1630 drivers/media/platform/rcar_fdp1.c pix->field == V4L2_FIELD_INTERLACED_TB || field 1631 drivers/media/platform/rcar_fdp1.c pix->field == V4L2_FIELD_INTERLACED_BT) { field 1648 drivers/media/platform/rcar_fdp1.c dst_data->format.field = V4L2_FIELD_NONE; field 1649 drivers/media/platform/rcar_fdp1.c if (pix->field == V4L2_FIELD_ALTERNATE) field 1676 drivers/media/platform/rcar_fdp1.c f->fmt.pix_mp.width, f->fmt.pix_mp.height, f->fmt.pix_mp.field); field 1689 drivers/media/platform/rcar_fdp1.c if (V4L2_FIELD_HAS_BOTH(src_q_data->format.field)) field 1798 drivers/media/platform/rcar_fdp1.c num_fields = V4L2_FIELD_HAS_BOTH(vbuf->field) ? 2 : 1; field 1806 drivers/media/platform/rcar_fdp1.c switch (vbuf->field) { field 1813 drivers/media/platform/rcar_fdp1.c fbuf->field = (q_data->format.height < 576) == field_num field 1818 drivers/media/platform/rcar_fdp1.c fbuf->field = field_num ? V4L2_FIELD_BOTTOM : V4L2_FIELD_TOP; field 1822 drivers/media/platform/rcar_fdp1.c fbuf->field = field_num ? V4L2_FIELD_TOP : V4L2_FIELD_BOTTOM; field 1825 drivers/media/platform/rcar_fdp1.c fbuf->field = vbuf->field; field 1834 drivers/media/platform/rcar_fdp1.c switch (vbuf->field) { field 1863 drivers/media/platform/rcar_fdp1.c switch (q_data->format.field) { field 1865 drivers/media/platform/rcar_fdp1.c if (vbuf->field != V4L2_FIELD_NONE) field 1870 drivers/media/platform/rcar_fdp1.c if (vbuf->field != V4L2_FIELD_TOP && field 1871 drivers/media/platform/rcar_fdp1.c vbuf->field != V4L2_FIELD_BOTTOM) field 1880 drivers/media/platform/rcar_fdp1.c if (vbuf->field != q_data->format.field) field 1888 drivers/media/platform/rcar_fdp1.c vbuf->field, q_data->format.field); field 1892 drivers/media/platform/rcar_fdp1.c vbuf->field = V4L2_FIELD_NONE; field 1911 drivers/media/platform/rcar_fdp1.c buf->num_fields = V4L2_FIELD_HAS_BOTH(vbuf->field) ? 2 : 1; field 1937 drivers/media/platform/rcar_fdp1.c if (q_data->format.field == V4L2_FIELD_NONE) field 794 drivers/media/platform/rcar_jpu.c pix->field = V4L2_FIELD_NONE; field 1049 drivers/media/platform/rcar_jpu.c if (vbuf->field == V4L2_FIELD_ANY) field 1050 drivers/media/platform/rcar_jpu.c vbuf->field = V4L2_FIELD_NONE; field 1051 drivers/media/platform/rcar_jpu.c if (vbuf->field != V4L2_FIELD_NONE) { field 1543 drivers/media/platform/rcar_jpu.c dst_buf->field = src_buf->field; field 187 drivers/media/platform/renesas-ceu.c enum v4l2_field field; field 527 drivers/media/platform/renesas-ceu.c vbuf->field = ceudev->field; field 917 drivers/media/platform/renesas-ceu.c ceudev->field = V4L2_FIELD_NONE; field 935 drivers/media/platform/renesas-ceu.c .field = V4L2_FIELD_NONE, field 956 drivers/media/platform/renesas-ceu.c ceudev->field = V4L2_FIELD_NONE; field 477 drivers/media/platform/rockchip/rga/rga.c f->fmt.pix.field = V4L2_FIELD_NONE; field 496 drivers/media/platform/rockchip/rga/rga.c f->fmt.pix.field = V4L2_FIELD_NONE; field 702 drivers/media/platform/s3c-camif/camif-capture.c pix->field = V4L2_FIELD_NONE; field 751 drivers/media/platform/s3c-camif/camif-capture.c pix->field = V4L2_FIELD_NONE; field 1242 drivers/media/platform/s3c-camif/camif-capture.c mf->field = V4L2_FIELD_NONE; field 1292 drivers/media/platform/s3c-camif/camif-capture.c mf->field = V4L2_FIELD_NONE; field 320 drivers/media/platform/s5p-g2d/g2d.c f->fmt.pix.field = V4L2_FIELD_NONE; field 330 drivers/media/platform/s5p-g2d/g2d.c enum v4l2_field *field; field 336 drivers/media/platform/s5p-g2d/g2d.c field = &f->fmt.pix.field; field 337 drivers/media/platform/s5p-g2d/g2d.c if (*field == V4L2_FIELD_ANY) field 338 drivers/media/platform/s5p-g2d/g2d.c *field = V4L2_FIELD_NONE; field 339 drivers/media/platform/s5p-g2d/g2d.c else if (*field != V4L2_FIELD_NONE) field 1350 drivers/media/platform/s5p-jpeg/jpeg-core.c pix->field = V4L2_FIELD_NONE; field 1433 drivers/media/platform/s5p-jpeg/jpeg-core.c if (pix->field == V4L2_FIELD_ANY) field 1434 drivers/media/platform/s5p-jpeg/jpeg-core.c pix->field = V4L2_FIELD_NONE; field 1435 drivers/media/platform/s5p-jpeg/jpeg-core.c else if (pix->field != V4L2_FIELD_NONE) field 240 drivers/media/platform/s5p-mfc/s5p_mfc.c dst_buf->b->field = V4L2_FIELD_NONE; field 242 drivers/media/platform/s5p-mfc/s5p_mfc.c dst_buf->b->field = V4L2_FIELD_INTERLACED; field 339 drivers/media/platform/s5p-mfc/s5p_mfc.c dst_buf->b->field = V4L2_FIELD_NONE; field 341 drivers/media/platform/s5p-mfc/s5p_mfc.c dst_buf->b->field = field 326 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c pix_mp->field = V4L2_FIELD_NONE; field 341 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c pix_mp->field = V4L2_FIELD_NONE; field 1356 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c pix_fmt_mp->field = V4L2_FIELD_NONE; field 1367 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c pix_fmt_mp->field = V4L2_FIELD_NONE; field 398 drivers/media/platform/sh_veu.c pix->field = V4L2_FIELD_NONE; field 431 drivers/media/platform/sh_veu.c switch (pix->field) { field 434 drivers/media/platform/sh_veu.c pix->field = V4L2_FIELD_NONE; field 462 drivers/media/platform/sh_veu.c pr_debug("%s(%d;%d)\n", __func__, f->type, f->fmt.pix.field); field 661 drivers/media/platform/sh_vou.c pix->field = V4L2_FIELD_INTERLACED; field 696 drivers/media/platform/sh_vou.c .format.field = V4L2_FIELD_INTERLACED, field 938 drivers/media/platform/sh_vou.c .format.field = V4L2_FIELD_INTERLACED, field 1064 drivers/media/platform/sh_vou.c vb->vb.field = V4L2_FIELD_INTERLACED; field 1258 drivers/media/platform/sh_vou.c pix->field = V4L2_FIELD_INTERLACED; field 423 drivers/media/platform/sti/bdisp/bdisp-debug.c if (frame.field == V4L2_FIELD_INTERLACED) field 674 drivers/media/platform/sti/bdisp/bdisp-hw.c c->src_interlaced = (src->field == V4L2_FIELD_INTERLACED); field 112 drivers/media/platform/sti/bdisp/bdisp-v4l2.c .field = V4L2_FIELD_NONE, field 732 drivers/media/platform/sti/bdisp/bdisp-v4l2.c pix->field = frame->field; field 764 drivers/media/platform/sti/bdisp/bdisp-v4l2.c (pix->field != V4L2_FIELD_INTERLACED)) field 765 drivers/media/platform/sti/bdisp/bdisp-v4l2.c pix->field = V4L2_FIELD_NONE; field 826 drivers/media/platform/sti/bdisp/bdisp-v4l2.c frame->field = pix->field; field 72 drivers/media/platform/sti/bdisp/bdisp.h enum v4l2_field field; field 22 drivers/media/platform/sti/delta/delta-debug.c (s->field == V4L2_FIELD_NONE) ? "progressive" : "interlaced", field 44 drivers/media/platform/sti/delta/delta-debug.c (f->field == V4L2_FIELD_NONE) ? "progressive" : "interlaced", field 314 drivers/media/platform/sti/delta/delta-mjpeg-dec.c frame->field = V4L2_FIELD_NONE; field 362 drivers/media/platform/sti/delta/delta-mjpeg-dec.c streaminfo->field = V4L2_FIELD_NONE; field 86 drivers/media/platform/sti/delta/delta-v4l2.c frame_field_str(frame->field), field 258 drivers/media/platform/sti/delta/delta-v4l2.c frameinfo->field = V4L2_FIELD_NONE; field 268 drivers/media/platform/sti/delta/delta-v4l2.c streaminfo->field = V4L2_FIELD_NONE; field 442 drivers/media/platform/sti/delta/delta-v4l2.c pix->field = streaminfo->field; field 471 drivers/media/platform/sti/delta/delta-v4l2.c pix->field = frameinfo->field; field 539 drivers/media/platform/sti/delta/delta-v4l2.c if (pix->field == V4L2_FIELD_ANY) field 540 drivers/media/platform/sti/delta/delta-v4l2.c pix->field = V4L2_FIELD_NONE; field 599 drivers/media/platform/sti/delta/delta-v4l2.c if (pix->field == V4L2_FIELD_ANY) field 600 drivers/media/platform/sti/delta/delta-v4l2.c pix->field = V4L2_FIELD_NONE; field 686 drivers/media/platform/sti/delta/delta-v4l2.c frameinfo.field = pix->field; field 712 drivers/media/platform/sti/delta/delta-v4l2.c pix->field = frameinfo.field; field 1133 drivers/media/platform/sti/delta/delta-v4l2.c if (vbuf->field == V4L2_FIELD_ANY) field 1134 drivers/media/platform/sti/delta/delta-v4l2.c vbuf->field = V4L2_FIELD_NONE; field 1202 drivers/media/platform/sti/delta/delta-v4l2.c frameinfo->field = streaminfo->field; field 1503 drivers/media/platform/sti/delta/delta-v4l2.c vbuf->field = frame->field; field 74 drivers/media/platform/sti/delta/delta.h enum v4l2_field field; field 142 drivers/media/platform/sti/delta/delta.h enum v4l2_field field; field 180 drivers/media/platform/sti/delta/delta.h enum v4l2_field field; field 526 drivers/media/platform/sti/delta/delta.h static inline char *frame_field_str(enum v4l2_field field) field 528 drivers/media/platform/sti/delta/delta.h if (field == V4L2_FIELD_NONE) field 530 drivers/media/platform/sti/delta/delta.h if (field == V4L2_FIELD_TOP) field 532 drivers/media/platform/sti/delta/delta.h if (field == V4L2_FIELD_BOTTOM) field 534 drivers/media/platform/sti/delta/delta.h if (field == V4L2_FIELD_INTERLACED) field 536 drivers/media/platform/sti/delta/delta.h if (field == V4L2_FIELD_INTERLACED_TB) field 538 drivers/media/platform/sti/delta/delta.h if (field == V4L2_FIELD_INTERLACED_BT) field 303 drivers/media/platform/sti/hva/hva-v4l2.c f->fmt.pix.field = V4L2_FIELD_NONE; field 322 drivers/media/platform/sti/hva/hva-v4l2.c f->fmt.pix.field = V4L2_FIELD_NONE; field 394 drivers/media/platform/sti/hva/hva-v4l2.c pix->field = V4L2_FIELD_NONE; field 445 drivers/media/platform/sti/hva/hva-v4l2.c pix->field = V4L2_FIELD_NONE; field 837 drivers/media/platform/sti/hva/hva-v4l2.c dst_buf->field = V4L2_FIELD_NONE; field 942 drivers/media/platform/sti/hva/hva-v4l2.c if (vbuf->field == V4L2_FIELD_ANY) field 943 drivers/media/platform/sti/hva/hva-v4l2.c vbuf->field = V4L2_FIELD_NONE; field 944 drivers/media/platform/sti/hva/hva-v4l2.c if (vbuf->field != V4L2_FIELD_NONE) { field 947 drivers/media/platform/sti/hva/hva-v4l2.c ctx->name, vb->index, vbuf->field); field 220 drivers/media/platform/stm32/stm32-dcmi.c vbuf->field = V4L2_FIELD_NONE; field 1039 drivers/media/platform/stm32/stm32-dcmi.c pix->field = V4L2_FIELD_NONE; field 1542 drivers/media/platform/stm32/stm32-dcmi.c .field = V4L2_FIELD_NONE, field 170 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c v_buf->field = csi->fmt.field; field 106 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c pix->field = V4L2_FIELD_NONE; field 269 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c .field = V4L2_FIELD_NONE, field 240 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c u32 pixformat, u32 field) field 244 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c if (field == V4L2_FIELD_INTERLACED field 245 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c || field == V4L2_FIELD_INTERLACED_TB field 246 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c || field == V4L2_FIELD_INTERLACED_BT) field 382 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c if (csi->config.field == V4L2_FIELD_INTERLACED field 383 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c || csi->config.field == V4L2_FIELD_INTERLACED_TB field 384 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c || csi->config.field == V4L2_FIELD_INTERLACED_BT) field 480 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c csi->config.field); field 487 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c if (csi->config.field == V4L2_FIELD_TOP) field 489 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c else if (csi->config.field == V4L2_FIELD_BOTTOM) field 30 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.h u32 field; field 127 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c vbuf->field = video->fmt.fmt.pix.field; field 159 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c config.field = video->fmt.fmt.pix.field; field 366 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c if (pixfmt->field == V4L2_FIELD_ANY) field 367 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c pixfmt->field = V4L2_FIELD_NONE; field 624 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c fmt.fmt.pix.field = V4L2_FIELD_NONE; field 81 drivers/media/platform/ti-vpe/cal.c #define reg_write_field(dev, offset, field, mask) { \ field 83 drivers/media/platform/ti-vpe/cal.c set_field(&val, field, mask); \ field 351 drivers/media/platform/ti-vpe/cal.c static inline void set_field(u32 *valp, u32 field, u32 mask) field 356 drivers/media/platform/ti-vpe/cal.c val |= (field << __ffs(mask)) & mask; field 827 drivers/media/platform/ti-vpe/cal.c ctx->cur_frm->vb.field = ctx->m_fmt.field; field 1028 drivers/media/platform/ti-vpe/cal.c f->fmt.pix.field = ctx->v_fmt.fmt.pix.field; field 291 drivers/media/platform/ti-vpe/vpdma.c static void write_field_reg(struct vpdma_data *vpdma, int offset, u32 field, field 297 drivers/media/platform/ti-vpe/vpdma.c val |= (field & mask) << shift; field 818 drivers/media/platform/ti-vpe/vpdma.c int field = 0; field 841 drivers/media/platform/ti-vpe/vpdma.c field, field 883 drivers/media/platform/ti-vpe/vpdma.c enum vpdma_channel chan, int field, u32 flags, int frame_width, field 909 drivers/media/platform/ti-vpe/vpdma.c field, field 254 drivers/media/platform/ti-vpe/vpdma.h enum vpdma_channel chan, int field, u32 flags, int frame_width, field 253 drivers/media/platform/ti-vpe/vpdma_priv.h static inline u32 dtd_type_ctl_stride(int type, bool notify, int field, field 258 drivers/media/platform/ti-vpe/vpdma_priv.h (field << DTD_FIELD_SHFT) | (one_d << DTD_1D_SHFT) | field 319 drivers/media/platform/ti-vpe/vpe.c enum v4l2_field field; /* supported field value */ field 392 drivers/media/platform/ti-vpe/vpe.c unsigned int field; /* current field */ field 459 drivers/media/platform/ti-vpe/vpe.c static void write_field(u32 *valp, u32 field, u32 mask, int shift) field 464 drivers/media/platform/ti-vpe/vpe.c val |= (field & mask) << shift; field 468 drivers/media/platform/ti-vpe/vpe.c static void write_field_reg(struct vpe_dev *dev, int offset, u32 field, field 473 drivers/media/platform/ti-vpe/vpe.c write_field(&val, field, mask, shift); field 859 drivers/media/platform/ti-vpe/vpe.c ctx->field = V4L2_FIELD_TOP; field 1081 drivers/media/platform/ti-vpe/vpe.c int field = vbuf->field == V4L2_FIELD_BOTTOM; field 1127 drivers/media/platform/ti-vpe/vpe.c field = (p_data->vb_index + (ctx->sequence % 2)) % 2; field 1129 drivers/media/platform/ti-vpe/vpe.c if (field) { field 1157 drivers/media/platform/ti-vpe/vpe.c p_data->channel, field, flags, frame_width, field 1421 drivers/media/platform/ti-vpe/vpe.c d_vb->field = ctx->field; field 1422 drivers/media/platform/ti-vpe/vpe.c if (ctx->field == V4L2_FIELD_BOTTOM) { field 1424 drivers/media/platform/ti-vpe/vpe.c ctx->field = V4L2_FIELD_TOP; field 1426 drivers/media/platform/ti-vpe/vpe.c WARN_ON(ctx->field != V4L2_FIELD_TOP); field 1427 drivers/media/platform/ti-vpe/vpe.c ctx->field = V4L2_FIELD_BOTTOM; field 1430 drivers/media/platform/ti-vpe/vpe.c d_vb->field = V4L2_FIELD_NONE; field 1550 drivers/media/platform/ti-vpe/vpe.c pix->field = q_data->field; field 1588 drivers/media/platform/ti-vpe/vpe.c if (pix->field != V4L2_FIELD_NONE && pix->field != V4L2_FIELD_ALTERNATE field 1589 drivers/media/platform/ti-vpe/vpe.c && pix->field != V4L2_FIELD_SEQ_TB) field 1590 drivers/media/platform/ti-vpe/vpe.c pix->field = V4L2_FIELD_NONE; field 1643 drivers/media/platform/ti-vpe/vpe.c if (pix->field == V4L2_FIELD_SEQ_TB) field 1734 drivers/media/platform/ti-vpe/vpe.c q_data->field = pix->field; field 1749 drivers/media/platform/ti-vpe/vpe.c if (q_data->field == V4L2_FIELD_ALTERNATE) field 1751 drivers/media/platform/ti-vpe/vpe.c else if (q_data->field == V4L2_FIELD_SEQ_TB) field 2042 drivers/media/platform/ti-vpe/vpe.c vbuf->field = V4L2_FIELD_NONE; field 2044 drivers/media/platform/ti-vpe/vpe.c if (vbuf->field != V4L2_FIELD_TOP && field 2045 drivers/media/platform/ti-vpe/vpe.c vbuf->field != V4L2_FIELD_BOTTOM && field 2046 drivers/media/platform/ti-vpe/vpe.c vbuf->field != V4L2_FIELD_SEQ_TB) field 2304 drivers/media/platform/ti-vpe/vpe.c s_q_data->field = V4L2_FIELD_NONE; field 371 drivers/media/platform/via-camera.c vb->vbuf.field = V4L2_FIELD_NONE; field 784 drivers/media/platform/via-camera.c .field = V4L2_FIELD_NONE, field 829 drivers/media/platform/via-camera.c userfmt->field = sensorfmt->field; field 791 drivers/media/platform/vicodec/vicodec-core.c pix->field = V4L2_FIELD_NONE; field 809 drivers/media/platform/vicodec/vicodec-core.c pix_mp->field = V4L2_FIELD_NONE; field 863 drivers/media/platform/vicodec/vicodec-core.c pix->field = V4L2_FIELD_NONE; field 887 drivers/media/platform/vicodec/vicodec-core.c pix_mp->field = V4L2_FIELD_NONE; field 1432 drivers/media/platform/vicodec/vicodec-core.c vbuf->field = V4L2_FIELD_NONE; field 1446 drivers/media/platform/vicodec/vicodec-core.c if (vbuf->field == V4L2_FIELD_ANY) field 1447 drivers/media/platform/vicodec/vicodec-core.c vbuf->field = V4L2_FIELD_NONE; field 1448 drivers/media/platform/vicodec/vicodec-core.c if (vbuf->field != V4L2_FIELD_NONE) { field 1491 drivers/media/platform/vicodec/vicodec-core.c vbuf->field = V4L2_FIELD_NONE; field 35 drivers/media/platform/video-mux.c .field = V4L2_FIELD_NONE, field 283 drivers/media/platform/video-mux.c if (sdformat->format.field == V4L2_FIELD_ANY) field 284 drivers/media/platform/video-mux.c sdformat->format.field = V4L2_FIELD_NONE; field 748 drivers/media/platform/vim2m.c f->fmt.pix.field = V4L2_FIELD_NONE; field 794 drivers/media/platform/vim2m.c f->fmt.pix.field = V4L2_FIELD_NONE; field 1027 drivers/media/platform/vim2m.c if (vbuf->field == V4L2_FIELD_ANY) field 1028 drivers/media/platform/vim2m.c vbuf->field = V4L2_FIELD_NONE; field 1029 drivers/media/platform/vim2m.c if (vbuf->field != V4L2_FIELD_NONE) { field 45 drivers/media/platform/vimc/vimc-capture.c .field = V4L2_FIELD_NONE, field 111 drivers/media/platform/vimc/vimc-capture.c if (format->field == V4L2_FIELD_ANY) field 112 drivers/media/platform/vimc/vimc-capture.c format->field = fmt_default.field; field 381 drivers/media/platform/vimc/vimc-capture.c vimc_buf->vb2.field = vcap->format.field; field 326 drivers/media/platform/vimc/vimc-common.c if (source_fmt.format.field != sink_fmt.format.field && field 327 drivers/media/platform/vimc/vimc-common.c sink_fmt.format.field != V4L2_FIELD_NONE) field 60 drivers/media/platform/vimc/vimc-debayer.c .field = V4L2_FIELD_NONE, field 238 drivers/media/platform/vimc/vimc-debayer.c if (fmt->field == V4L2_FIELD_ANY) field 239 drivers/media/platform/vimc/vimc-debayer.c fmt->field = sink_fmt_default.field; field 46 drivers/media/platform/vimc/vimc-scaler.c .field = V4L2_FIELD_NONE, field 146 drivers/media/platform/vimc/vimc-scaler.c if (fmt->field == V4L2_FIELD_ANY) field 147 drivers/media/platform/vimc/vimc-scaler.c fmt->field = sink_fmt_default.field; field 38 drivers/media/platform/vimc/vimc-sensor.c .field = V4L2_FIELD_NONE, field 113 drivers/media/platform/vimc/vimc-sensor.c vsen->mbus_format.height, vsen->mbus_format.field); field 118 drivers/media/platform/vimc/vimc-sensor.c tpg_s_field(&vsen->tpg, vsen->mbus_format.field, false); field 140 drivers/media/platform/vimc/vimc-sensor.c if (fmt->field == V4L2_FIELD_ANY || fmt->field == V4L2_FIELD_ALTERNATE) field 141 drivers/media/platform/vimc/vimc-sensor.c fmt->field = fmt_default.field; field 275 drivers/media/platform/vivid/vivid-kthread-cap.c vid_cap_buf->vb.field = vid_out_buf->vb.field; field 435 drivers/media/platform/vivid/vivid-kthread-cap.c buf->vb.field = ((dev->vid_cap_seq_count & 1) ^ is_60hz) ? field 443 drivers/media/platform/vivid/vivid-kthread-cap.c buf->vb.field = dev->field_cap; field 445 drivers/media/platform/vivid/vivid-kthread-cap.c tpg_s_field(tpg, buf->vb.field, field 487 drivers/media/platform/vivid/vivid-kthread-cap.c (buf->vb.field == V4L2_FIELD_TOP ? field 612 drivers/media/platform/vivid/vivid-kthread-cap.c dev->overlay_cap_field != buf->vb.field) field 121 drivers/media/platform/vivid/vivid-vbi-gen.c if (data->field) field 123 drivers/media/platform/vivid/vivid-vbi-gen.c line -= vbi_fmt->start[data->field]; field 126 drivers/media/platform/vivid/vivid-vbi-gen.c linebuf += (line * 2 + data->field) * field 129 drivers/media/platform/vivid/vivid-vbi-gen.c linebuf += (line + data->field * vbi_fmt->count[0]) * field 271 drivers/media/platform/vivid/vivid-vbi-gen.c data0->field = 1; field 282 drivers/media/platform/vivid/vivid-vbi-gen.c data1->field = 1; field 234 drivers/media/platform/vivid/vivid-vbi-out.c dev->vbi_out_have_cc[!!vbi->field] = true; field 235 drivers/media/platform/vivid/vivid-vbi-out.c dev->vbi_out_cc[!!vbi->field][0] = vbi->data[0]; field 236 drivers/media/platform/vivid/vivid-vbi-out.c dev->vbi_out_cc[!!vbi->field][1] = vbi->data[1]; field 241 drivers/media/platform/vivid/vivid-vbi-out.c vbi->field == 0 && vbi->line == 23) { field 465 drivers/media/platform/vivid/vivid-vid-cap.c static enum v4l2_field vivid_field_cap(struct vivid_dev *dev, enum v4l2_field field) field 468 drivers/media/platform/vivid/vivid-vid-cap.c switch (field) { field 476 drivers/media/platform/vivid/vivid-vid-cap.c return field; field 532 drivers/media/platform/vivid/vivid-vid-cap.c mp->field = dev->field_cap; field 572 drivers/media/platform/vivid/vivid-vid-cap.c mp->field = vivid_field_cap(dev, mp->field); field 588 drivers/media/platform/vivid/vivid-vid-cap.c if (V4L2_FIELD_HAS_T_OR_B(mp->field)) field 674 drivers/media/platform/vivid/vivid-vid-cap.c if (V4L2_FIELD_HAS_T_OR_B(mp->field)) field 763 drivers/media/platform/vivid/vivid-vid-cap.c dev->field_cap = mp->field; field 770 drivers/media/platform/vivid/vivid-vid-cap.c dev->tv_field_cap = mp->field; field 1073 drivers/media/platform/vivid/vivid-vid-cap.c win->field = dev->overlay_cap_field; field 1109 drivers/media/platform/vivid/vivid-vid-cap.c if (win->field != V4L2_FIELD_BOTTOM && win->field != V4L2_FIELD_TOP) field 1110 drivers/media/platform/vivid/vivid-vid-cap.c win->field = V4L2_FIELD_ANY; field 1177 drivers/media/platform/vivid/vivid-vid-cap.c dev->overlay_cap_field = win->field; field 1219 drivers/media/platform/vivid/vivid-vid-cap.c a->fmt.field = V4L2_FIELD_NONE; field 820 drivers/media/platform/vivid/vivid-vid-common.c mp->field = pix->field; field 850 drivers/media/platform/vivid/vivid-vid-common.c pix->field = mp->field; field 95 drivers/media/platform/vivid/vivid-vid-out.c vbuf->field = dev->field_out; field 96 drivers/media/platform/vivid/vivid-vid-out.c else if (vbuf->field != V4L2_FIELD_TOP && field 97 drivers/media/platform/vivid/vivid-vid-out.c vbuf->field != V4L2_FIELD_BOTTOM) field 282 drivers/media/platform/vivid/vivid-vid-out.c static enum v4l2_field vivid_field_out(struct vivid_dev *dev, enum v4l2_field field) field 285 drivers/media/platform/vivid/vivid-vid-out.c switch (field) { field 291 drivers/media/platform/vivid/vivid-vid-out.c return field; field 327 drivers/media/platform/vivid/vivid-vid-out.c mp->field = dev->field_out; field 370 drivers/media/platform/vivid/vivid-vid-out.c mp->field = vivid_field_out(dev, mp->field); field 378 drivers/media/platform/vivid/vivid-vid-out.c if (V4L2_FIELD_HAS_T_OR_B(mp->field)) field 467 drivers/media/platform/vivid/vivid-vid-out.c mp->field != dev->field_out)) { field 481 drivers/media/platform/vivid/vivid-vid-out.c if (V4L2_FIELD_HAS_T_OR_B(mp->field)) field 559 drivers/media/platform/vivid/vivid-vid-out.c dev->field_out = mp->field; field 561 drivers/media/platform/vivid/vivid-vid-out.c dev->tv_field_out = mp->field; field 848 drivers/media/platform/vivid/vivid-vid-out.c win->field = V4L2_FIELD_ANY; field 888 drivers/media/platform/vivid/vivid-vid-out.c win->field = V4L2_FIELD_ANY; field 999 drivers/media/platform/vivid/vivid-vid-out.c a->fmt.field = V4L2_FIELD_NONE; field 130 drivers/media/platform/vsp1/vsp1_brx.c fmt->field = V4L2_FIELD_NONE; field 138 drivers/media/platform/vsp1/vsp1_drm.c format.format.field = V4L2_FIELD_NONE; field 341 drivers/media/platform/vsp1/vsp1_drm.c format.format.field = V4L2_FIELD_NONE; field 488 drivers/media/platform/vsp1/vsp1_drm.c format.format.field = V4L2_FIELD_NONE; field 399 drivers/media/platform/vsp1/vsp1_entity.c format->field = V4L2_FIELD_NONE; field 379 drivers/media/platform/vsp1/vsp1_histo.c fmt->format.field = V4L2_FIELD_NONE; field 97 drivers/media/platform/vsp1/vsp1_hsit.c format->field = V4L2_FIELD_NONE; field 99 drivers/media/platform/vsp1/vsp1_rwpf.c format->field = V4L2_FIELD_NONE; field 214 drivers/media/platform/vsp1/vsp1_sru.c fmt->field = V4L2_FIELD_NONE; field 198 drivers/media/platform/vsp1/vsp1_uds.c fmt->field = V4L2_FIELD_NONE; field 124 drivers/media/platform/vsp1/vsp1_video.c pix->field = V4L2_FIELD_NONE; field 308 drivers/media/platform/xilinx/xilinx-dma.c buf->buf.field = V4L2_FIELD_NONE; field 556 drivers/media/platform/xilinx/xilinx-dma.c pix->field = V4L2_FIELD_NONE; field 666 drivers/media/platform/xilinx/xilinx-dma.c dma->format.field = V4L2_FIELD_NONE; field 816 drivers/media/platform/xilinx/xilinx-tpg.c xtpg->default_format.field = V4L2_FIELD_NONE; field 128 drivers/media/radio/radio-gemtek.c #define MKMASK(field) (((1UL<<BU2614_##field##_BITS) - 1) << \ field 129 drivers/media/radio/radio-gemtek.c BU2614_##field##_SHIFT) field 144 drivers/media/radio/radio-gemtek.c #define gemtek_bu2614_set(dev, field, data) ((dev)->bu2614data = \ field 145 drivers/media/radio/radio-gemtek.c ((dev)->bu2614data & ~field##_MASK) | ((data) << field##_SHIFT)) field 72 drivers/media/rc/tango-ir.c u32 data, field, toggle, addr, cmd, code; field 78 drivers/media/rc/tango-ir.c field = data >> 12 & 1; field 81 drivers/media/rc/tango-ir.c cmd = (data & 0x3f) | (field ^ 1) << 6; field 301 drivers/media/usb/au0828/au0828-video.c vb->field = V4L2_FIELD_INTERLACED; field 1155 drivers/media/usb/au0828/au0828-video.c format->fmt.pix.field = V4L2_FIELD_INTERLACED; field 1228 drivers/media/usb/au0828/au0828-video.c f->fmt.pix.field = V4L2_FIELD_INTERLACED; field 136 drivers/media/usb/au0828/au0828.h int field; field 322 drivers/media/usb/cpia2/cpia2_v4l.c f->fmt.pix.field = V4L2_FIELD_NONE; field 432 drivers/media/usb/cpia2/cpia2_v4l.c f->fmt.pix.field = V4L2_FIELD_NONE; field 909 drivers/media/usb/cpia2/cpia2_v4l.c buf->field = V4L2_FIELD_NONE; field 1398 drivers/media/usb/cx231xx/cx231xx-417.c struct videobuf_buffer *vb, enum v4l2_field field) field 1412 drivers/media/usb/cx231xx/cx231xx-417.c buf->vb.field = field; field 1614 drivers/media/usb/cx231xx/cx231xx-417.c f->fmt.pix.field = V4L2_FIELD_INTERLACED; field 1631 drivers/media/usb/cx231xx/cx231xx-417.c f->fmt.pix.field = V4L2_FIELD_INTERLACED; field 205 drivers/media/usb/cx231xx/cx231xx-vbi.c enum v4l2_field field) field 223 drivers/media/usb/cx231xx/cx231xx-vbi.c buf->vb.field = field; field 224 drivers/media/usb/cx231xx/cx231xx-vbi.c buf->vb.field = V4L2_FIELD_SEQ_TB; field 764 drivers/media/usb/cx231xx/cx231xx-video.c enum v4l2_field field) field 780 drivers/media/usb/cx231xx/cx231xx-video.c buf->vb.field = field; field 944 drivers/media/usb/cx231xx/cx231xx-video.c f->fmt.pix.field = V4L2_FIELD_INTERLACED; field 988 drivers/media/usb/cx231xx/cx231xx-video.c f->fmt.pix.field = V4L2_FIELD_INTERLACED; field 166 drivers/media/usb/cx231xx/cx231xx.h int field; field 200 drivers/media/usb/cx231xx/cx231xx.h int field; field 512 drivers/media/usb/dvb-usb/cxusb-analog.c cxdev->vbuf->vb2.field = cxdev->field_order; field 744 drivers/media/usb/dvb-usb/cxusb-analog.c u32 field; field 752 drivers/media/usb/dvb-usb/cxusb-analog.c field = cxusb_medion_norm2field_order(cxdev->norm); field 753 drivers/media/usb/dvb-usb/cxusb-analog.c if (field != V4L2_FIELD_NONE) field 754 drivers/media/usb/dvb-usb/cxusb-analog.c return field; field 762 drivers/media/usb/dvb-usb/cxusb-analog.c field = cxusb_medion_norm2field_order(norm); field 763 drivers/media/usb/dvb-usb/cxusb-analog.c if (field != V4L2_FIELD_NONE) field 764 drivers/media/usb/dvb-usb/cxusb-analog.c return field; field 1002 drivers/media/usb/dvb-usb/cxusb-analog.c f->fmt.pix.field = vb2_start_streaming_called(&cxdev->videoqueue) ? field 1018 drivers/media/usb/dvb-usb/cxusb-analog.c u32 field; field 1024 drivers/media/usb/dvb-usb/cxusb-analog.c field = vb2_start_streaming_called(&cxdev->videoqueue) ? field 1033 drivers/media/usb/dvb-usb/cxusb-analog.c subfmt.format.field = field; field 1043 drivers/media/usb/dvb-usb/cxusb-analog.c f->fmt.pix.field = field; field 1515 drivers/media/usb/dvb-usb/cxusb-analog.c subfmt.format.field = V4L2_FIELD_SEQ_TB; field 444 drivers/media/usb/em28xx/em28xx-video.c buf->vb.field = V4L2_FIELD_NONE; field 446 drivers/media/usb/em28xx/em28xx-video.c buf->vb.field = V4L2_FIELD_INTERLACED; field 1065 drivers/media/usb/em28xx/em28xx-video.c em28xx_videodbg("%s, field=%d\n", __func__, vbuf->field); field 1437 drivers/media/usb/em28xx/em28xx-video.c f->fmt.pix.field = V4L2_FIELD_NONE; field 1439 drivers/media/usb/em28xx/em28xx-video.c f->fmt.pix.field = v4l2->interlaced_fieldmode ? field 1509 drivers/media/usb/em28xx/em28xx-video.c f->fmt.pix.field = V4L2_FIELD_NONE; field 1511 drivers/media/usb/em28xx/em28xx-video.c f->fmt.pix.field = v4l2->interlaced_fieldmode ? field 228 drivers/media/usb/go7007/go7007-v4l2.c fmt->fmt.pix.field = V4L2_FIELD_NONE; field 316 drivers/media/usb/go7007/go7007-v4l2.c fmt->fmt.pix.field = V4L2_FIELD_NONE; field 394 drivers/media/usb/go7007/go7007-v4l2.c vbuf->field = V4L2_FIELD_NONE; field 454 drivers/media/usb/gspca/gspca.c buf->vb.field = V4L2_FIELD_NONE; field 258 drivers/media/usb/gspca/se401.c sd->fmts[i].field = V4L2_FIELD_NONE; field 206 drivers/media/usb/gspca/stv0680.c sd->mode.field = V4L2_FIELD_NONE; field 1032 drivers/media/usb/hdpvr/hdpvr-video.c f->fmt.pix.field = V4L2_FIELD_INTERLACED; field 1036 drivers/media/usb/hdpvr/hdpvr-video.c f->fmt.pix.field = V4L2_FIELD_NONE; field 82 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c .field = V4L2_FIELD_INTERLACED, field 261 drivers/media/usb/pwc/pwc-if.c fbuf->vb.field = V4L2_FIELD_NONE; field 392 drivers/media/usb/pwc/pwc-v4l.c f->fmt.pix.field = V4L2_FIELD_NONE; field 238 drivers/media/usb/s2255/s2255drv.c enum v4l2_field field; field 559 drivers/media/usb/s2255/s2255drv.c buf->vb.field = vc->field; field 747 drivers/media/usb/s2255/s2255drv.c f->fmt.pix.field = V4L2_FIELD_INTERLACED; field 749 drivers/media/usb/s2255/s2255drv.c f->fmt.pix.field = V4L2_FIELD_TOP; field 761 drivers/media/usb/s2255/s2255drv.c enum v4l2_field field; field 770 drivers/media/usb/s2255/s2255drv.c field = f->fmt.pix.field; field 778 drivers/media/usb/s2255/s2255drv.c field = V4L2_FIELD_INTERLACED; field 781 drivers/media/usb/s2255/s2255drv.c field = V4L2_FIELD_TOP; field 791 drivers/media/usb/s2255/s2255drv.c field = V4L2_FIELD_INTERLACED; field 794 drivers/media/usb/s2255/s2255drv.c field = V4L2_FIELD_TOP; field 801 drivers/media/usb/s2255/s2255drv.c f->fmt.pix.field = field; field 806 drivers/media/usb/s2255/s2255drv.c f->fmt.pix.width, f->fmt.pix.height, f->fmt.pix.field); field 838 drivers/media/usb/s2255/s2255drv.c vc->field = f->fmt.pix.field; field 359 drivers/media/usb/stk1160/stk1160-v4l.c f->fmt.pix.field = V4L2_FIELD_INTERLACED; field 452 drivers/media/usb/stk1160/stk1160-v4l.c f->fmt.pix.field = V4L2_FIELD_INTERLACED; field 90 drivers/media/usb/stk1160/stk1160-video.c buf->vb.field = V4L2_FIELD_INTERLACED; field 530 drivers/media/usb/stkwebcam/stk-webcam.c buf->v4lbuf.field = V4L2_FIELD_NONE; field 906 drivers/media/usb/stkwebcam/stk-webcam.c pix_format->field = V4L2_FIELD_NONE; field 950 drivers/media/usb/stkwebcam/stk-webcam.c fmtd->fmt.pix.field = V4L2_FIELD_NONE; field 30 drivers/media/usb/tm6000/tm6000-usb-isoc.h int vfield, field; field 123 drivers/media/usb/tm6000/tm6000-video.c unsigned int cmd, cpysize, pktsize, size, field, block, line, pos = 0; field 177 drivers/media/usb/tm6000/tm6000-video.c field = (header >> 11) & 0x1; field 190 drivers/media/usb/tm6000/tm6000-video.c if ((dev->isoc_ctl.vfield != field) && field 191 drivers/media/usb/tm6000/tm6000-video.c (field == 1)) { field 208 drivers/media/usb/tm6000/tm6000-video.c pos = ((line << 1) - field - 1) * field 213 drivers/media/usb/tm6000/tm6000-video.c dev->isoc_ctl.vfield = field; field 229 drivers/media/usb/tm6000/tm6000-video.c field = dev->isoc_ctl.field; field 256 drivers/media/usb/tm6000/tm6000-video.c field, pts); field 269 drivers/media/usb/tm6000/tm6000-video.c dev->isoc_ctl.field = field; field 717 drivers/media/usb/tm6000/tm6000-video.c enum v4l2_field field) field 736 drivers/media/usb/tm6000/tm6000-video.c buf->vb.field != field) { field 740 drivers/media/usb/tm6000/tm6000-video.c buf->vb.field = field; field 886 drivers/media/usb/tm6000/tm6000-video.c f->fmt.pix.field = fh->vb_vidq.field; field 912 drivers/media/usb/tm6000/tm6000-video.c enum v4l2_field field; field 921 drivers/media/usb/tm6000/tm6000-video.c field = f->fmt.pix.field; field 923 drivers/media/usb/tm6000/tm6000-video.c field = V4L2_FIELD_INTERLACED; field 932 drivers/media/usb/tm6000/tm6000-video.c f->fmt.pix.field = field; field 956 drivers/media/usb/tm6000/tm6000-video.c fh->vb_vidq.field = f->fmt.pix.field; field 441 drivers/media/usb/usbtv/usbtv-video.c buf->vb.field = V4L2_FIELD_INTERLACED; field 648 drivers/media/usb/usbtv/usbtv-video.c f->fmt.pix.field = V4L2_FIELD_INTERLACED; field 695 drivers/media/usb/usbvision/usbvision-video.c vb->field = V4L2_FIELD_NONE; field 769 drivers/media/usb/usbvision/usbvision-video.c vb->field = V4L2_FIELD_NONE; field 823 drivers/media/usb/usbvision/usbvision-video.c vf->fmt.pix.field = V4L2_FIELD_NONE; /* Always progressive image */ field 852 drivers/media/usb/usbvision/usbvision-video.c vf->fmt.pix.field = V4L2_FIELD_NONE; /* Always progressive image */ field 252 drivers/media/usb/uvc/uvc_v4l2.c fmt->fmt.pix.field = V4L2_FIELD_NONE; field 288 drivers/media/usb/uvc/uvc_v4l2.c fmt->fmt.pix.field = V4L2_FIELD_NONE; field 1065 drivers/media/usb/uvc/uvc_video.c buf->buf.field = V4L2_FIELD_NONE; field 1320 drivers/media/usb/uvc/uvc_video.c vb2_meta->field = vb2_video->field; field 368 drivers/media/usb/zr364xx/zr364xx.c enum v4l2_field field) field 375 drivers/media/usb/zr364xx/zr364xx.c DBG("%s, field=%d\n", __func__, field); field 389 drivers/media/usb/zr364xx/zr364xx.c buf->vb.field = field; field 784 drivers/media/usb/zr364xx/zr364xx.c f->fmt.pix.field = V4L2_FIELD_NONE; field 790 drivers/media/usb/zr364xx/zr364xx.c f->fmt.pix.field); field 804 drivers/media/usb/zr364xx/zr364xx.c f->fmt.pix.field = V4L2_FIELD_NONE; field 846 drivers/media/usb/zr364xx/zr364xx.c cam->vb_vidq.field = f->fmt.pix.field; field 903 drivers/media/usb/zr364xx/zr364xx.c f->fmt.pix.field); field 145 drivers/media/v4l2-core/v4l2-compat-ioctl32.c __u32 field; /* enum v4l2_field */ field 164 drivers/media/v4l2-core/v4l2-compat-ioctl32.c assign_in_user(&p64->field, &p32->field) || field 204 drivers/media/v4l2-core/v4l2-compat-ioctl32.c assign_in_user(&p32->field, &p64->field) || field 476 drivers/media/v4l2-core/v4l2-compat-ioctl32.c __u32 field; /* enum v4l2_field */ field 612 drivers/media/v4l2-core/v4l2-compat-ioctl32.c assign_in_user(&p64->field, &p32->field) || field 705 drivers/media/v4l2-core/v4l2-compat-ioctl32.c assign_in_user(&p32->field, &p64->field) || field 772 drivers/media/v4l2-core/v4l2-compat-ioctl32.c __u32 field; field 34 drivers/media/v4l2-core/v4l2-ioctl.c #define CLEAR_AFTER_FIELD(p, field) \ field 35 drivers/media/v4l2-core/v4l2-ioctl.c memset((u8 *)(p) + offsetof(typeof(*(p)), field) + sizeof((p)->field), \ field 36 drivers/media/v4l2-core/v4l2-ioctl.c 0, sizeof(*(p)) - offsetof(typeof(*(p)), field) - sizeof((p)->field)) field 300 drivers/media/v4l2-core/v4l2-ioctl.c prt_names(pix->field, v4l2_field_names), field 314 drivers/media/v4l2-core/v4l2-ioctl.c prt_names(mp->field, v4l2_field_names), field 331 drivers/media/v4l2-core/v4l2-ioctl.c prt_names(win->field, v4l2_field_names), field 484 drivers/media/v4l2-core/v4l2-ioctl.c p->flags, prt_names(p->field, v4l2_field_names), field 830 drivers/media/v4l2-core/v4l2-ioctl.c prt_names(p->u.vsync.field, v4l2_field_names)); field 1476 drivers/media/v4l2-core/v4l2-ioctl.c p->field = V4L2_FIELD_NONE; field 2641 drivers/media/v4l2-core/v4l2-ioctl.c #define INFO_FL_CLEAR(v4l2_struct, field) \ field 2642 drivers/media/v4l2-core/v4l2-ioctl.c ((offsetof(struct v4l2_struct, field) + \ field 2643 drivers/media/v4l2-core/v4l2-ioctl.c sizeof(((struct v4l2_struct *)0)->field)) << 16) field 992 drivers/media/v4l2-core/v4l2-mem2mem.c cap_vb->field = out_vb->field; field 690 drivers/media/v4l2-core/v4l2-subdev.c if (source_fmt->format.field != sink_fmt->format.field && field 691 drivers/media/v4l2-core/v4l2-subdev.c sink_fmt->format.field != V4L2_FIELD_NONE) field 147 drivers/media/v4l2-core/videobuf-core.c enum v4l2_field field, field 159 drivers/media/v4l2-core/videobuf-core.c q->field = field; field 299 drivers/media/v4l2-core/videobuf-core.c enum v4l2_field field = q->field; field 301 drivers/media/v4l2-core/videobuf-core.c BUG_ON(V4L2_FIELD_ANY == field); field 303 drivers/media/v4l2-core/videobuf-core.c if (V4L2_FIELD_ALTERNATE == field) { field 305 drivers/media/v4l2-core/videobuf-core.c field = V4L2_FIELD_BOTTOM; field 308 drivers/media/v4l2-core/videobuf-core.c field = V4L2_FIELD_TOP; field 312 drivers/media/v4l2-core/videobuf-core.c return field; field 366 drivers/media/v4l2-core/videobuf-core.c b->field = vb->field; field 530 drivers/media/v4l2-core/videobuf-core.c enum v4l2_field field; field 580 drivers/media/v4l2-core/videobuf-core.c buf->field = b->field; field 603 drivers/media/v4l2-core/videobuf-core.c field = videobuf_next_field(q); field 604 drivers/media/v4l2-core/videobuf-core.c retval = q->ops->buf_prepare(q, buf, field); field 789 drivers/media/v4l2-core/videobuf-core.c enum v4l2_field field; field 804 drivers/media/v4l2-core/videobuf-core.c field = videobuf_next_field(q); field 805 drivers/media/v4l2-core/videobuf-core.c retval = q->ops->buf_prepare(q, q->read_buf, field); field 877 drivers/media/v4l2-core/videobuf-core.c enum v4l2_field field; field 908 drivers/media/v4l2-core/videobuf-core.c field = videobuf_next_field(q); field 909 drivers/media/v4l2-core/videobuf-core.c retval = q->ops->buf_prepare(q, q->read_buf, field); field 962 drivers/media/v4l2-core/videobuf-core.c enum v4l2_field field; field 981 drivers/media/v4l2-core/videobuf-core.c field = videobuf_next_field(q); field 982 drivers/media/v4l2-core/videobuf-core.c err = q->ops->buf_prepare(q, q->bufs[i], field); field 352 drivers/media/v4l2-core/videobuf-dma-contig.c enum v4l2_field field, field 357 drivers/media/v4l2-core/videobuf-dma-contig.c videobuf_queue_core_init(q, ops, dev, irqlock, type, field, msize, field 678 drivers/media/v4l2-core/videobuf-dma-sg.c enum v4l2_field field, field 683 drivers/media/v4l2-core/videobuf-dma-sg.c videobuf_queue_core_init(q, ops, dev, irqlock, type, field, msize, field 282 drivers/media/v4l2-core/videobuf-vmalloc.c enum v4l2_field field, field 287 drivers/media/v4l2-core/videobuf-vmalloc.c videobuf_queue_core_init(q, ops, dev, irqlock, type, field, msize, field 476 drivers/memory/omap-gpmc.c #define GPMC_GET_RAW(reg, st, end, field) \ field 477 drivers/memory/omap-gpmc.c get_gpmc_timing_reg(cs, (reg), (st), (end), 0, field, GPMC_CD_FCLK, 0, 1, 0) field 478 drivers/memory/omap-gpmc.c #define GPMC_GET_RAW_MAX(reg, st, end, max, field) \ field 479 drivers/memory/omap-gpmc.c get_gpmc_timing_reg(cs, (reg), (st), (end), (max), field, GPMC_CD_FCLK, 0, 1, 0) field 480 drivers/memory/omap-gpmc.c #define GPMC_GET_RAW_BOOL(reg, st, end, field) \ field 481 drivers/memory/omap-gpmc.c get_gpmc_timing_reg(cs, (reg), (st), (end), 0, field, GPMC_CD_FCLK, 0, 1, 1) field 482 drivers/memory/omap-gpmc.c #define GPMC_GET_RAW_SHIFT_MAX(reg, st, end, shift, max, field) \ field 483 drivers/memory/omap-gpmc.c get_gpmc_timing_reg(cs, (reg), (st), (end), (max), field, GPMC_CD_FCLK, (shift), 1, 1) field 484 drivers/memory/omap-gpmc.c #define GPMC_GET_TICKS(reg, st, end, field) \ field 485 drivers/memory/omap-gpmc.c get_gpmc_timing_reg(cs, (reg), (st), (end), 0, field, GPMC_CD_FCLK, 0, 0, 0) field 486 drivers/memory/omap-gpmc.c #define GPMC_GET_TICKS_CD(reg, st, end, field, cd) \ field 487 drivers/memory/omap-gpmc.c get_gpmc_timing_reg(cs, (reg), (st), (end), 0, field, (cd), 0, 0, 0) field 488 drivers/memory/omap-gpmc.c #define GPMC_GET_TICKS_CD_MAX(reg, st, end, max, field, cd) \ field 489 drivers/memory/omap-gpmc.c get_gpmc_timing_reg(cs, (reg), (st), (end), (max), field, (cd), 0, 0, 0) field 640 drivers/memory/omap-gpmc.c #define GPMC_SET_ONE_CD_MAX(reg, st, end, max, field, cd) \ field 642 drivers/memory/omap-gpmc.c t->field, (cd), #field) < 0) \ field 645 drivers/memory/omap-gpmc.c #define GPMC_SET_ONE(reg, st, end, field) \ field 646 drivers/memory/omap-gpmc.c GPMC_SET_ONE_CD_MAX(reg, st, end, 0, field, GPMC_CD_FCLK) field 1049 drivers/misc/habanalabs/habanalabs.h #define REG_FIELD_SHIFT(reg, field) reg##_##field##_SHIFT field 1050 drivers/misc/habanalabs/habanalabs.h #define REG_FIELD_MASK(reg, field) reg##_##field##_MASK field 1051 drivers/misc/habanalabs/habanalabs.h #define WREG32_FIELD(reg, field, val) \ field 1052 drivers/misc/habanalabs/habanalabs.h WREG32(mm##reg, (RREG32(mm##reg) & ~REG_FIELD_MASK(reg, field)) | \ field 1053 drivers/misc/habanalabs/habanalabs.h (val) << REG_FIELD_SHIFT(reg, field)) field 31 drivers/mmc/core/sdio_bus.c #define sdio_config_attr(field, format_string) \ field 33 drivers/mmc/core/sdio_bus.c field##_show(struct device *dev, struct device_attribute *attr, char *buf) \ field 38 drivers/mmc/core/sdio_bus.c return sprintf (buf, format_string, func->field); \ field 40 drivers/mmc/core/sdio_bus.c static DEVICE_ATTR_RO(field) field 560 drivers/mmc/host/mtk-sd.c static void sdr_set_field(void __iomem *reg, u32 field, u32 val) field 564 drivers/mmc/host/mtk-sd.c tv &= ~field; field 565 drivers/mmc/host/mtk-sd.c tv |= ((val) << (ffs((unsigned int)field) - 1)); field 569 drivers/mmc/host/mtk-sd.c static void sdr_get_field(void __iomem *reg, u32 field, u32 *val) field 573 drivers/mmc/host/mtk-sd.c *val = ((tv & field) >> (ffs((unsigned int)field) - 1)); field 2305 drivers/mtd/chips/cfi_cmdset_0001.c u_int chip_num, chip_step, field, reg_fact_size, reg_user_size; field 2336 drivers/mtd/chips/cfi_cmdset_0001.c field = 0; field 2415 drivers/mtd/chips/cfi_cmdset_0001.c if (++field == extp->NumProtectionFields) field 35 drivers/mtd/spi-nor/nxp-spifi.c #define SPIFI_CMD_FIELDFORM(field) ((field) << 19) field 76 drivers/mux/mmio.c struct reg_field field; field 92 drivers/mux/mmio.c field.reg = reg; field 93 drivers/mux/mmio.c field.msb = fls(mask) - 1; field 94 drivers/mux/mmio.c field.lsb = ffs(mask) - 1; field 96 drivers/mux/mmio.c if (mask != GENMASK(field.msb, field.lsb)) { field 102 drivers/mux/mmio.c fields[i] = devm_regmap_field_alloc(dev, regmap, field); field 110 drivers/mux/mmio.c bits = 1 + field.msb - field.lsb; field 75 drivers/net/ethernet/apm/xgene-v2/mac.h #define SET_REG_BITS(var, field, val) \ field 76 drivers/net/ethernet/apm/xgene-v2/mac.h xgene_set_reg_bits(var, field ## _POS, field ## _LEN, val) field 78 drivers/net/ethernet/apm/xgene-v2/mac.h #define SET_REG_BIT(var, field, val) \ field 79 drivers/net/ethernet/apm/xgene-v2/mac.h xgene_set_reg_bits(var, field ## _POS, 1, val) field 81 drivers/net/ethernet/apm/xgene-v2/mac.h #define GET_REG_BITS(var, field) \ field 82 drivers/net/ethernet/apm/xgene-v2/mac.h xgene_get_reg_bits(var, field ## _POS, field ## _LEN) field 84 drivers/net/ethernet/apm/xgene-v2/mac.h #define GET_REG_BIT(var, field) ((var) & (field)) field 95 drivers/net/ethernet/apm/xgene-v2/ring.h #define SET_BITS(field, val) \ field 96 drivers/net/ethernet/apm/xgene-v2/ring.h xge_set_desc_bits(field ## _POS, field ## _LEN, val) field 98 drivers/net/ethernet/apm/xgene-v2/ring.h #define GET_BITS(field, src) \ field 99 drivers/net/ethernet/apm/xgene-v2/ring.h xge_get_desc_bits(field ## _POS, field ## _LEN, src) field 204 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define SHMEM_ADDR(bp, field) (bp->common.shmem_base + \ field 205 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h offsetof(struct shmem_region, field)) field 206 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define SHMEM_RD(bp, field) REG_RD(bp, SHMEM_ADDR(bp, field)) field 207 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define SHMEM_WR(bp, field, val) REG_WR(bp, SHMEM_ADDR(bp, field), val) field 209 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define SHMEM2_ADDR(bp, field) (bp->common.shmem2_base + \ field 210 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h offsetof(struct shmem2_region, field)) field 211 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define SHMEM2_RD(bp, field) REG_RD(bp, SHMEM2_ADDR(bp, field)) field 212 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define SHMEM2_WR(bp, field, val) REG_WR(bp, SHMEM2_ADDR(bp, field), val) field 213 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define MF_CFG_ADDR(bp, field) (bp->common.mf_cfg_base + \ field 214 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h offsetof(struct mf_cfg, field)) field 215 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define MF2_CFG_ADDR(bp, field) (bp->common.mf2_cfg_base + \ field 216 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h offsetof(struct mf2_cfg, field)) field 218 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define MF_CFG_RD(bp, field) REG_RD(bp, MF_CFG_ADDR(bp, field)) field 219 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define MF_CFG_WR(bp, field, val) REG_WR(bp,\ field 220 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h MF_CFG_ADDR(bp, field), (val)) field 221 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define MF2_CFG_RD(bp, field) REG_RD(bp, MF2_CFG_ADDR(bp, field)) field 223 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define SHMEM2_HAS(bp, field) ((bp)->common.shmem2_base && \ field 225 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h offsetof(struct shmem2_region, field))) field 346 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h #define bnx2x_vf_sp(bp, vf, field) ((bp)->vfdb->sp_dma.addr + \ field 348 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h offsetof(struct bnx2x_vf_sp, field)) field 349 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h #define bnx2x_vf_sp_map(bp, vf, field) ((bp)->vfdb->sp_dma.mapping + \ field 351 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h offsetof(struct bnx2x_vf_sp, field)) field 2254 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c int field = 0; field 2261 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c field = 0; field 2267 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c if (field == desired_field) field 2272 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c field++; field 385 drivers/net/ethernet/broadcom/cnic.h #define BNX2X_SHMEM_ADDR(base, field) (base + \ field 386 drivers/net/ethernet/broadcom/cnic.h offsetof(struct shmem_region, field)) field 388 drivers/net/ethernet/broadcom/cnic.h #define BNX2X_SHMEM2_ADDR(base, field) (base + \ field 389 drivers/net/ethernet/broadcom/cnic.h offsetof(struct shmem2_region, field)) field 391 drivers/net/ethernet/broadcom/cnic.h #define BNX2X_SHMEM2_HAS(base, field) \ field 394 drivers/net/ethernet/broadcom/cnic.h offsetof(struct shmem2_region, field))) field 396 drivers/net/ethernet/broadcom/cnic.h #define BNX2X_MF_CFG_ADDR(base, field) \ field 397 drivers/net/ethernet/broadcom/cnic.h ((base) + offsetof(struct mf_cfg, field)) field 324 drivers/net/ethernet/cavium/liquidio/octeon_iq.h #define INCR_INSTRQUEUE_PKT_COUNT(octeon_dev_ptr, iq_no, field, count) \ field 325 drivers/net/ethernet/cavium/liquidio/octeon_iq.h (((octeon_dev_ptr)->instr_queue[iq_no]->stats.field) += count) field 276 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c u8 field) field 284 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c if (pedits[i].field == field) { field 84 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.h u8 field; field 89 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.h #define PEDIT_FIELDS(type, field, size, fs_field, offset) \ field 90 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.h { type## field, size, \ field 832 drivers/net/ethernet/emulex/benet/be.h #define AMAP_BIT_OFFSET(_struct, field) \ field 833 drivers/net/ethernet/emulex/benet/be.h (((size_t)&(((_struct *)0)->field))%32) field 849 drivers/net/ethernet/emulex/benet/be.h #define AMAP_SET_BITS(_struct, field, ptr, val) \ field 851 drivers/net/ethernet/emulex/benet/be.h offsetof(_struct, field)/32, \ field 852 drivers/net/ethernet/emulex/benet/be.h amap_mask(sizeof(((_struct *)0)->field)), \ field 853 drivers/net/ethernet/emulex/benet/be.h AMAP_BIT_OFFSET(_struct, field), \ field 862 drivers/net/ethernet/emulex/benet/be.h #define AMAP_GET_BITS(_struct, field, ptr) \ field 864 drivers/net/ethernet/emulex/benet/be.h offsetof(_struct, field)/32, \ field 865 drivers/net/ethernet/emulex/benet/be.h amap_mask(sizeof(((_struct *)0)->field)), \ field 866 drivers/net/ethernet/emulex/benet/be.h AMAP_BIT_OFFSET(_struct, field)) field 868 drivers/net/ethernet/emulex/benet/be.h #define GET_RX_COMPL_V0_BITS(field, ptr) \ field 869 drivers/net/ethernet/emulex/benet/be.h AMAP_GET_BITS(struct amap_eth_rx_compl_v0, field, ptr) field 871 drivers/net/ethernet/emulex/benet/be.h #define GET_RX_COMPL_V1_BITS(field, ptr) \ field 872 drivers/net/ethernet/emulex/benet/be.h AMAP_GET_BITS(struct amap_eth_rx_compl_v1, field, ptr) field 874 drivers/net/ethernet/emulex/benet/be.h #define GET_TX_COMPL_BITS(field, ptr) \ field 875 drivers/net/ethernet/emulex/benet/be.h AMAP_GET_BITS(struct amap_eth_tx_compl, field, ptr) field 877 drivers/net/ethernet/emulex/benet/be.h #define SET_TX_WRB_HDR_BITS(field, ptr, val) \ field 878 drivers/net/ethernet/emulex/benet/be.h AMAP_SET_BITS(struct amap_eth_hdr_wrb, field, ptr, val) field 26 drivers/net/ethernet/emulex/benet/be_ethtool.c #define FIELDINFO(_struct, field) FIELD_SIZEOF(_struct, field), \ field 27 drivers/net/ethernet/emulex/benet/be_ethtool.c offsetof(_struct, field) field 28 drivers/net/ethernet/emulex/benet/be_ethtool.c #define DRVSTAT_TX_INFO(field) #field, DRVSTAT_TX,\ field 29 drivers/net/ethernet/emulex/benet/be_ethtool.c FIELDINFO(struct be_tx_stats, field) field 30 drivers/net/ethernet/emulex/benet/be_ethtool.c #define DRVSTAT_RX_INFO(field) #field, DRVSTAT_RX,\ field 31 drivers/net/ethernet/emulex/benet/be_ethtool.c FIELDINFO(struct be_rx_stats, field) field 32 drivers/net/ethernet/emulex/benet/be_ethtool.c #define DRVSTAT_INFO(field) #field, DRVSTAT,\ field 33 drivers/net/ethernet/emulex/benet/be_ethtool.c FIELDINFO(struct be_drv_stats, field) field 2918 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c int dpaa2_eth_cls_fld_off(int prot, int field) field 2924 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c dist_fields[i].cls_field == field) field 2988 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c key->extract.from_hdr.field = dist_fields[i].cls_field; field 523 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h int dpaa2_eth_cls_fld_off(int prot, int field); field 450 drivers/net/ethernet/freescale/dpaa2/dpkg.h u32 field; field 90 drivers/net/ethernet/freescale/dpaa2/dpni-cmd.h #define DPNI_MASK(field) \ field 91 drivers/net/ethernet/freescale/dpaa2/dpni-cmd.h GENMASK(DPNI_##field##_SHIFT + DPNI_##field##_SIZE - 1, \ field 92 drivers/net/ethernet/freescale/dpaa2/dpni-cmd.h DPNI_##field##_SHIFT) field 94 drivers/net/ethernet/freescale/dpaa2/dpni-cmd.h #define dpni_set_field(var, field, val) \ field 95 drivers/net/ethernet/freescale/dpaa2/dpni-cmd.h ((var) |= (((val) << DPNI_##field##_SHIFT) & DPNI_MASK(field))) field 96 drivers/net/ethernet/freescale/dpaa2/dpni-cmd.h #define dpni_get_field(var, field) \ field 97 drivers/net/ethernet/freescale/dpaa2/dpni-cmd.h (((var) & DPNI_MASK(field)) >> DPNI_##field##_SHIFT) field 412 drivers/net/ethernet/freescale/dpaa2/dpni-cmd.h __le32 field; field 42 drivers/net/ethernet/freescale/dpaa2/dpni.c extr->field = cpu_to_le32( field 43 drivers/net/ethernet/freescale/dpaa2/dpni.c cfg->extracts[i].extract.from_hdr.field); field 415 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h #define MAC_STATS_FIELD_OFF(field) (offsetof(struct mac_hw_stats, field)) field 3059 drivers/net/ethernet/intel/i40e/i40e_ethtool.c static int i40e_check_mask(u64 mask, u64 field) field 3061 drivers/net/ethernet/intel/i40e/i40e_ethtool.c u64 value = mask & field; field 3063 drivers/net/ethernet/intel/i40e/i40e_ethtool.c if (value == field) field 692 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c static int mvpp2_cls_hek_field_size(u32 field) field 694 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c switch (field) { field 775 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c int n_fields, i, field; field 780 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c field = mvpp2_cls_flow_hek_get(fe, i); field 782 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c switch (field) { field 258 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c struct nix_lso_format field = {0}; field 261 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c field.layer = NIX_TXLAYER_OL3; field 263 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c field.offset = v4 ? 2 : 4; field 264 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c field.sizem1 = 1; /* i.e 2 bytes */ field 265 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c field.alg = NIX_LSOALG_ADD_PAYLEN; field 268 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c *(u64 *)&field); field 275 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c field.layer = NIX_TXLAYER_OL3; field 276 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c field.offset = 4; field 277 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c field.sizem1 = 1; /* i.e 2 bytes */ field 278 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c field.alg = NIX_LSOALG_ADD_SEGNUM; field 281 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c *(u64 *)&field); field 287 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c struct nix_lso_format field = {0}; field 290 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c field.layer = NIX_TXLAYER_OL4; field 291 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c field.offset = 4; field 292 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c field.sizem1 = 3; /* i.e 4 bytes */ field 293 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c field.alg = NIX_LSOALG_ADD_OFFSET; field 296 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c *(u64 *)&field); field 299 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c field.layer = NIX_TXLAYER_OL4; field 300 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c field.offset = 12; field 301 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c field.sizem1 = 1; /* 2 bytes */ field 302 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c field.alg = NIX_LSOALG_TCP_FLAGS; field 305 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c *(u64 *)&field); field 1994 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c struct nix_rx_flowkey_alg *field; field 2025 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c field = &tmp; max_bit_pos = fls(flow_cfg); field 2037 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c field->sel_chan = true; field 2039 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c field->bytesm1 = 1; field 2044 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c field->lid = NPC_LID_LC; field 2045 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c field->ltype_match = NPC_LT_LC_IP; field 2046 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c field->hdr_offset = 12; /* SIP offset */ field 2047 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c field->bytesm1 = 7; /* SIP + DIP, 8 bytes */ field 2048 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c field->ltype_mask = 0xF; /* Match only IPv4 */ field 2053 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c field->lid = NPC_LID_LC; field 2054 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c field->ltype_match = NPC_LT_LC_IP6; field 2055 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c field->hdr_offset = 8; /* SIP offset */ field 2056 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c field->bytesm1 = 31; /* SIP + DIP, 32 bytes */ field 2057 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c field->ltype_mask = 0xF; /* Match only IPv6 */ field 2064 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c field->lid = NPC_LID_LD; field 2065 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c field->bytesm1 = 3; /* Sport + Dport, 4 bytes */ field 2067 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c field->ltype_match |= NPC_LT_LD_TCP; field 2071 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c field->ltype_match |= NPC_LT_LD_UDP; field 2075 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c field->ltype_match |= NPC_LT_LD_SCTP; field 2078 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c field->ltype_mask = ~field->ltype_match; field 2095 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c field->ena = 1; field 2099 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c field->key_offset = key_off; field 2100 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c memcpy(&alg[nr_field], field, sizeof(*field)); field 2101 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c max_key_off = max(max_key_off, field->bytesm1 + 1); field 2123 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c u64 field[FIELDS_PER_ALG]; field 2136 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c rc = set_flowkey_fields((struct nix_rx_flowkey_alg *)field, flow_cfg); field 2144 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c fid), field[fid]); field 1315 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c #define all_zeros_or_all_ones(field) \ field 1316 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c ((field) == 0 || (field) == (__force typeof(field))-1) field 209 drivers/net/ethernet/mellanox/mlx4/fw.c u8 field; field 235 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_FUNC_BUS_OFFSET); field 236 drivers/net/ethernet/mellanox/mlx4/fw.c func->bus = field & 0xf; field 237 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_FUNC_DEVICE_OFFSET); field 238 drivers/net/ethernet/mellanox/mlx4/fw.c func->device = field & 0xf1; field 239 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_FUNC_FUNCTION_OFFSET); field 240 drivers/net/ethernet/mellanox/mlx4/fw.c func->function = field & 0x7; field 241 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_FUNC_PHYSICAL_FUNCTION_OFFSET); field 242 drivers/net/ethernet/mellanox/mlx4/fw.c func->physical_function = field & 0xf; field 247 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_FUNC_RSVD_UARS_OFFSET); field 248 drivers/net/ethernet/mellanox/mlx4/fw.c func->rsvd_uars = field & 0x0f; field 332 drivers/net/ethernet/mellanox/mlx4/fw.c u8 field, port; field 406 drivers/net/ethernet/mellanox/mlx4/fw.c field = vhcr->in_modifier - field 408 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(outbox->buf, field, QUERY_FUNC_CAP_PHYS_PORT_OFFSET); field 414 drivers/net/ethernet/mellanox/mlx4/fw.c field = QUERY_FUNC_CAP_FLAGS1_NIC_INFO; field 418 drivers/net/ethernet/mellanox/mlx4/fw.c field |= QUERY_FUNC_CAP_VF_ENABLE_QP0; field 422 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(outbox->buf, field, QUERY_FUNC_CAP_FLAGS1_OFFSET); field 443 drivers/net/ethernet/mellanox/mlx4/fw.c field = 0; field 445 drivers/net/ethernet/mellanox/mlx4/fw.c field |= QUERY_FUNC_CAP_PHV_BIT; field 447 drivers/net/ethernet/mellanox/mlx4/fw.c field |= QUERY_FUNC_CAP_VLAN_OFFLOAD_DISABLE; field 448 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(outbox->buf, field, QUERY_FUNC_CAP_FLAGS0_OFFSET); field 459 drivers/net/ethernet/mellanox/mlx4/fw.c field = (QUERY_FUNC_CAP_FLAG_ETH | QUERY_FUNC_CAP_FLAG_RDMA | field 462 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(outbox->buf, field, QUERY_FUNC_CAP_FLAGS_OFFSET); field 464 drivers/net/ethernet/mellanox/mlx4/fw.c field = min( field 467 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(outbox->buf, field, QUERY_FUNC_CAP_NUM_PORTS_OFFSET); field 472 drivers/net/ethernet/mellanox/mlx4/fw.c field = 0; /* protected FMR support not available as yet */ field 473 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(outbox->buf, field, QUERY_FUNC_CAP_FMR_OFFSET); field 544 drivers/net/ethernet/mellanox/mlx4/fw.c u8 field, op_modifier; field 568 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_FUNC_CAP_FLAGS_OFFSET); field 569 drivers/net/ethernet/mellanox/mlx4/fw.c if (!(field & (QUERY_FUNC_CAP_FLAG_ETH | QUERY_FUNC_CAP_FLAG_RDMA))) { field 574 drivers/net/ethernet/mellanox/mlx4/fw.c func_cap->flags = field; field 577 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_FUNC_CAP_NUM_PORTS_OFFSET); field 578 drivers/net/ethernet/mellanox/mlx4/fw.c func_cap->num_ports = field; field 670 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_FUNC_CAP_FLAGS0_OFFSET); field 671 drivers/net/ethernet/mellanox/mlx4/fw.c if (field & QUERY_FUNC_CAP_FLAGS0_FORCE_PHY_WQE_GID) { field 678 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_FUNC_CAP_PHYS_PORT_OFFSET); field 679 drivers/net/ethernet/mellanox/mlx4/fw.c func_cap->physical_port = field; field 729 drivers/net/ethernet/mellanox/mlx4/fw.c u8 field; field 844 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_RSVD_QP_OFFSET); field 845 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->reserved_qps = 1 << (field & 0xf); field 846 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_MAX_QP_OFFSET); field 847 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->max_qps = 1 << (field & 0x1f); field 848 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_RSVD_SRQ_OFFSET); field 849 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->reserved_srqs = 1 << (field >> 4); field 850 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_MAX_SRQ_OFFSET); field 851 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->max_srqs = 1 << (field & 0x1f); field 852 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_MAX_CQ_SZ_OFFSET); field 853 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->max_cq_sz = 1 << field; field 854 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_RSVD_CQ_OFFSET); field 855 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->reserved_cqs = 1 << (field & 0xf); field 856 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_MAX_CQ_OFFSET); field 857 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->max_cqs = 1 << (field & 0x1f); field 858 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_MAX_MPT_OFFSET); field 859 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->max_mpts = 1 << (field & 0x3f); field 860 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_RSVD_EQ_OFFSET); field 861 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->reserved_eqs = 1 << (field & 0xf); field 862 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_MAX_EQ_OFFSET); field 863 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->max_eqs = 1 << (field & 0xf); field 864 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_RSVD_MTT_OFFSET); field 865 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->reserved_mtts = 1 << (field >> 4); field 866 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_RSVD_MRW_OFFSET); field 867 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->reserved_mrws = 1 << (field & 0xf); field 870 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_MAX_REQ_QP_OFFSET); field 871 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->max_requester_per_qp = 1 << (field & 0x3f); field 872 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_MAX_RES_QP_OFFSET); field 873 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->max_responder_per_qp = 1 << (field & 0x3f); field 874 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_MAX_GSO_OFFSET); field 875 drivers/net/ethernet/mellanox/mlx4/fw.c field &= 0x1f; field 876 drivers/net/ethernet/mellanox/mlx4/fw.c if (!field) field 879 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->max_gso_sz = 1 << field; field 881 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_RSS_OFFSET); field 882 drivers/net/ethernet/mellanox/mlx4/fw.c if (field & 0x20) field 884 drivers/net/ethernet/mellanox/mlx4/fw.c if (field & 0x10) field 886 drivers/net/ethernet/mellanox/mlx4/fw.c field &= 0xf; field 887 drivers/net/ethernet/mellanox/mlx4/fw.c if (field) { field 889 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->max_rss_tbl_sz = 1 << field; field 892 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_MAX_RDMA_OFFSET); field 893 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->max_rdma_global = 1 << (field & 0x3f); field 894 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_ACK_DELAY_OFFSET); field 895 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->local_ca_ack_delay = field & 0x1f; field 896 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_VL_PORT_OFFSET); field 897 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->num_ports = field & 0xf; field 898 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_MAX_MSG_SZ_OFFSET); field 899 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->max_msg_sz = 1 << (field & 0x1f); field 900 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_PORT_FLOWSTATS_COUNTERS_OFFSET); field 901 drivers/net/ethernet/mellanox/mlx4/fw.c if (field & 0x10) field 903 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_FLOW_STEERING_RANGE_EN_OFFSET); field 904 drivers/net/ethernet/mellanox/mlx4/fw.c if (field & 0x80) field 906 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->fs_log_max_ucast_qp_range_size = field & 0x1f; field 907 drivers/net/ethernet/mellanox/mlx4/fw.c if (field & 0x20) field 909 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_PORT_BEACON_OFFSET); field 910 drivers/net/ethernet/mellanox/mlx4/fw.c if (field & 0x80) field 912 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_FLOW_STEERING_IPOIB_OFFSET); field 913 drivers/net/ethernet/mellanox/mlx4/fw.c if (field & 0x80) field 915 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_FLOW_STEERING_MAX_QP_OFFSET); field 916 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->fs_max_num_qp_per_entry = field; field 917 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_SL2VL_EVENT_OFFSET); field 918 drivers/net/ethernet/mellanox/mlx4/fw.c if (field & (1 << 5)) field 920 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_ECN_QCN_VER_OFFSET); field 921 drivers/net/ethernet/mellanox/mlx4/fw.c if (field & 0x1) field 925 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_CQ_TS_SUPPORT_OFFSET); field 926 drivers/net/ethernet/mellanox/mlx4/fw.c if (field & 0x80) field 931 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_WOL_OFFSET); field 932 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->wol_port[1] = !!(field & 0x20); field 933 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->wol_port[2] = !!(field & 0x40); field 934 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_RSVD_UAR_OFFSET); field 935 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->reserved_uars = field >> 4; field 936 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_UAR_SZ_OFFSET); field 937 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->uar_size = 1 << ((field & 0x3f) + 20); field 938 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_PAGE_SZ_OFFSET); field 939 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->min_page_sz = 1 << field; field 941 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_BF_OFFSET); field 942 drivers/net/ethernet/mellanox/mlx4/fw.c if (field & 0x80) { field 943 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_LOG_BF_REG_SZ_OFFSET); field 944 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->bf_reg_size = 1 << (field & 0x1f); field 945 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_LOG_MAX_BF_REGS_PER_PAGE_OFFSET); field 946 drivers/net/ethernet/mellanox/mlx4/fw.c if ((1 << (field & 0x3f)) > (PAGE_SIZE / dev_cap->bf_reg_size)) field 947 drivers/net/ethernet/mellanox/mlx4/fw.c field = 3; field 948 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->bf_regs_per_page = 1 << (field & 0x3f); field 953 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_MAX_SG_SQ_OFFSET); field 954 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->max_sq_sg = field; field 958 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_USER_MAC_EN_OFFSET); field 959 drivers/net/ethernet/mellanox/mlx4/fw.c if (field & (1 << 2)) field 961 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_SVLAN_BY_QP_OFFSET); field 962 drivers/net/ethernet/mellanox/mlx4/fw.c if (field & 0x1) field 964 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_MAX_QP_MCG_OFFSET); field 965 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->max_qp_per_mcg = 1 << field; field 966 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_RSVD_MCG_OFFSET); field 967 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->reserved_mgms = field & 0xf; field 968 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_MAX_MCG_OFFSET); field 969 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->max_mcgs = 1 << field; field 970 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_RSVD_PD_OFFSET); field 971 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->reserved_pds = field >> 4; field 972 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_MAX_PD_OFFSET); field 973 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->max_pds = 1 << (field & 0x3f); field 974 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_RSVD_XRC_OFFSET); field 975 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->reserved_xrcds = field >> 4; field 976 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_MAX_XRC_OFFSET); field 977 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->max_xrcds = 1 << (field & 0x1f); field 1000 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_MAX_SRQ_SZ_OFFSET); field 1001 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->max_srq_sz = 1 << field; field 1002 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_MAX_QP_SZ_OFFSET); field 1003 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->max_qp_sz = 1 << field; field 1004 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_RSZ_SRQ_OFFSET); field 1005 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->resize_srq = field & 1; field 1006 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_MAX_SG_RQ_OFFSET); field 1007 drivers/net/ethernet/mellanox/mlx4/fw.c dev_cap->max_rq_sg = field; field 1010 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_CQ_EQ_CACHE_LINE_STRIDE); field 1011 drivers/net/ethernet/mellanox/mlx4/fw.c if (field & (1 << 4)) field 1013 drivers/net/ethernet/mellanox/mlx4/fw.c if (field & (1 << 5)) field 1015 drivers/net/ethernet/mellanox/mlx4/fw.c if (field & (1 << 6)) field 1017 drivers/net/ethernet/mellanox/mlx4/fw.c if (field & (1 << 7)) field 1025 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_CONFIG_DEV_OFFSET); field 1026 drivers/net/ethernet/mellanox/mlx4/fw.c if (field & 0x20) field 1028 drivers/net/ethernet/mellanox/mlx4/fw.c if (field & (1 << 2)) field 1030 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_PHV_EN_OFFSET); field 1031 drivers/net/ethernet/mellanox/mlx4/fw.c if (field & 0x80) field 1033 drivers/net/ethernet/mellanox/mlx4/fw.c if (field & 0x40) field 1048 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_FW_REASSIGN_MAC); field 1049 drivers/net/ethernet/mellanox/mlx4/fw.c if (field & 1<<6) field 1051 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_VXLAN); field 1052 drivers/net/ethernet/mellanox/mlx4/fw.c if (field & 1<<3) field 1054 drivers/net/ethernet/mellanox/mlx4/fw.c if (field & (1 << 5)) field 1187 drivers/net/ethernet/mellanox/mlx4/fw.c u8 field; field 1204 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_VL_PORT_OFFSET); field 1205 drivers/net/ethernet/mellanox/mlx4/fw.c port_cap->max_vl = field >> 4; field 1206 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_MTU_WIDTH_OFFSET); field 1207 drivers/net/ethernet/mellanox/mlx4/fw.c port_cap->ib_mtu = field >> 4; field 1208 drivers/net/ethernet/mellanox/mlx4/fw.c port_cap->max_port_width = field & 0xf; field 1209 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_MAX_GID_OFFSET); field 1210 drivers/net/ethernet/mellanox/mlx4/fw.c port_cap->max_gids = 1 << (field & 0xf); field 1211 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_DEV_CAP_MAX_PKEY_OFFSET); field 1212 drivers/net/ethernet/mellanox/mlx4/fw.c port_cap->max_pkeys = 1 << (field & 0xf); field 1231 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_PORT_SUPPORTED_TYPE_OFFSET); field 1232 drivers/net/ethernet/mellanox/mlx4/fw.c port_cap->link_state = (field & 0x80) >> 7; field 1233 drivers/net/ethernet/mellanox/mlx4/fw.c port_cap->supported_port_types = field & 3; field 1234 drivers/net/ethernet/mellanox/mlx4/fw.c port_cap->suggested_type = (field >> 3) & 1; field 1235 drivers/net/ethernet/mellanox/mlx4/fw.c port_cap->default_sense = (field >> 4) & 1; field 1236 drivers/net/ethernet/mellanox/mlx4/fw.c port_cap->dmfs_optimized_state = (field >> 5) & 1; field 1237 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_PORT_MTU_OFFSET); field 1238 drivers/net/ethernet/mellanox/mlx4/fw.c port_cap->ib_mtu = field & 0xf; field 1239 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_PORT_WIDTH_OFFSET); field 1240 drivers/net/ethernet/mellanox/mlx4/fw.c port_cap->max_port_width = field & 0xf; field 1241 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_PORT_MAX_GID_PKEY_OFFSET); field 1242 drivers/net/ethernet/mellanox/mlx4/fw.c port_cap->max_gids = 1 << (field >> 4); field 1243 drivers/net/ethernet/mellanox/mlx4/fw.c port_cap->max_pkeys = 1 << (field & 0xf); field 1244 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_PORT_MAX_VL_OFFSET); field 1245 drivers/net/ethernet/mellanox/mlx4/fw.c port_cap->max_vl = field & 0xf; field 1246 drivers/net/ethernet/mellanox/mlx4/fw.c port_cap->max_tc_eth = field >> 4; field 1247 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_PORT_MAX_MACVLAN_OFFSET); field 1248 drivers/net/ethernet/mellanox/mlx4/fw.c port_cap->log_max_macs = field & 0xf; field 1249 drivers/net/ethernet/mellanox/mlx4/fw.c port_cap->log_max_vlans = field >> 4; field 1277 drivers/net/ethernet/mellanox/mlx4/fw.c u8 field; field 1315 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox->buf, QUERY_DEV_CAP_VL_PORT_OFFSET); field 1316 drivers/net/ethernet/mellanox/mlx4/fw.c field &= ~0x0F; field 1317 drivers/net/ethernet/mellanox/mlx4/fw.c field |= bitmap_weight(actv_ports.ports, dev->caps.num_ports) & 0x0F; field 1318 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(outbox->buf, field, QUERY_DEV_CAP_VL_PORT_OFFSET); field 1321 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox->buf, QUERY_DEV_CAP_CQ_TS_SUPPORT_OFFSET); field 1322 drivers/net/ethernet/mellanox/mlx4/fw.c field &= 0x7f; field 1323 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(outbox->buf, field, QUERY_DEV_CAP_CQ_TS_SUPPORT_OFFSET); field 1326 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox->buf, QUERY_DEV_CAP_VXLAN); field 1327 drivers/net/ethernet/mellanox/mlx4/fw.c field &= 0xd7; field 1328 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(outbox->buf, field, QUERY_DEV_CAP_VXLAN); field 1331 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox->buf, QUERY_DEV_CAP_PORT_BEACON_OFFSET); field 1332 drivers/net/ethernet/mellanox/mlx4/fw.c field &= 0x7f; field 1333 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(outbox->buf, field, QUERY_DEV_CAP_PORT_BEACON_OFFSET); field 1336 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox->buf, QUERY_DEV_CAP_BF_OFFSET); field 1337 drivers/net/ethernet/mellanox/mlx4/fw.c field &= 0x7f; field 1338 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(outbox->buf, field, QUERY_DEV_CAP_BF_OFFSET); field 1348 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox->buf, field 1350 drivers/net/ethernet/mellanox/mlx4/fw.c field &= 0x7f; field 1351 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(outbox->buf, field, field 1356 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox->buf, QUERY_DEV_CAP_FLOW_STEERING_IPOIB_OFFSET); field 1357 drivers/net/ethernet/mellanox/mlx4/fw.c field &= ~0x80; field 1358 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(outbox->buf, field, QUERY_DEV_CAP_FLOW_STEERING_IPOIB_OFFSET); field 1367 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox->buf, QUERY_DEV_CAP_ECN_QCN_VER_OFFSET); field 1368 drivers/net/ethernet/mellanox/mlx4/fw.c field &= 0xfe; field 1369 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(outbox->buf, field, QUERY_DEV_CAP_ECN_QCN_VER_OFFSET); field 1376 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox->buf, QUERY_DEV_CAP_CQ_EQ_CACHE_LINE_STRIDE); field 1377 drivers/net/ethernet/mellanox/mlx4/fw.c field &= 0xef; field 1378 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(outbox->buf, field, QUERY_DEV_CAP_CQ_EQ_CACHE_LINE_STRIDE); field 1381 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox->buf, QUERY_DEV_CAP_CONFIG_DEV_OFFSET); field 1382 drivers/net/ethernet/mellanox/mlx4/fw.c field &= 0xfb; field 1383 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(outbox->buf, field, QUERY_DEV_CAP_CONFIG_DEV_OFFSET); field 1489 drivers/net/ethernet/mellanox/mlx4/fw.c u16 field; field 1504 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_PORT_CUR_MAX_GID_OFFSET); field 1505 drivers/net/ethernet/mellanox/mlx4/fw.c *gid_tbl_len = field; field 1507 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(field, outbox, QUERY_PORT_CUR_MAX_PKEY_OFFSET); field 1508 drivers/net/ethernet/mellanox/mlx4/fw.c *pkey_tbl_len = field; field 2299 drivers/net/ethernet/mellanox/mlx4/fw.c u16 field; field 2326 drivers/net/ethernet/mellanox/mlx4/fw.c field = 128 << dev->caps.ib_mtu_cap[port]; field 2327 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(inbox, field, INIT_PORT_MTU_OFFSET); field 2328 drivers/net/ethernet/mellanox/mlx4/fw.c field = dev->caps.gid_table_len[port]; field 2329 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(inbox, field, INIT_PORT_MAX_GID_OFFSET); field 2330 drivers/net/ethernet/mellanox/mlx4/fw.c field = dev->caps.pkey_table_len[port]; field 2331 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(inbox, field, INIT_PORT_MAX_PKEY_OFFSET); field 128 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c u64 field = 0; field 135 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c field = div64_u64(stats->sum, stats->n); field 137 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c ret = snprintf(tbuf, sizeof(tbuf), "%llu\n", field); field 378 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c u64 field; field 385 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c field = qp_read_field(d->dev, d->object, desc->i, &is_str); field 389 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c field = eq_read_field(d->dev, d->object, desc->i); field 393 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c field = cq_read_field(d->dev, d->object, desc->i); field 402 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c ret = snprintf(tbuf, sizeof(tbuf), "%s\n", (const char *)(unsigned long)field); field 404 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c ret = snprintf(tbuf, sizeof(tbuf), "0x%llx\n", field); field 417 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c int rsn, char **field, int nfile, void *data) field 435 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c debugfs_create_file(field[i], 0400, d->root, &d->fields[i], field 495 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c #define all_ones(field) (field == (__force typeof(field))-1) field 496 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c #define all_zeros_or_all_ones(field) \ field 497 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c ((field) == 0 || (field) == (__force typeof(field))-1) field 2246 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c u8 field; field 2252 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c #define OFFLOAD(fw_field, size, field, off, match_field) \ field 2254 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c offsetof(struct pedit_headers, field) + (off), \ field 2384 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c printk(KERN_WARNING "mlx5: can't set and add to the same HW field (%x)\n", f->field); field 2446 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c MLX5_SET(set_action_in, action, field, f->field); field 1814 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c MLX5_SET(set_action_in, action, field, MLX5_ACTION_IN_FIELD_METADATA_REG_C_0); field 482 drivers/net/ethernet/mellanox/mlx5/core/main.c #define ODP_CAP_SET_MAX(dev, field) \ field 484 drivers/net/ethernet/mellanox/mlx5/core/main.c u32 _res = MLX5_CAP_ODP_MAX(dev, field); \ field 487 drivers/net/ethernet/mellanox/mlx5/core/main.c MLX5_SET(odp_cap, set_hca_cap, field, _res); \ field 1230 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c sw_field = MLX5_GET(set_action_in, sw_action, field); field 1291 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c sw_field = MLX5_GET(set_action_in, sw_action, field); field 1330 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c u16 sw_field = MLX5_GET(set_action_in, sw_action, field); field 38 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_fw.c MLX5_SET(set_action_in, &modify_ttl_action, field, MLX5_ACTION_IN_FIELD_OUT_IP_TTL); field 7963 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c static void mlxsw_sp_mp_hash_field_set(char *recr2_pl, int field) field 7965 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_reg_recr2_outer_header_fields_enable_set(recr2_pl, field, true); field 1023 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c unsigned int field, buf_field_cnt, buf_off; field 1028 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c field = id * 2 + flash; field 1031 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c if (buf_field_cnt <= field) field 134 drivers/net/ethernet/ni/nixge.c #define nixge_hw_dma_bd_set_addr(bd, field, addr) \ field 136 drivers/net/ethernet/ni/nixge.c (bd)->field##_lo = lower_32_bits((addr)); \ field 137 drivers/net/ethernet/ni/nixge.c (bd)->field##_hi = upper_32_bits((addr)); \ field 140 drivers/net/ethernet/ni/nixge.c #define nixge_hw_dma_bd_set_addr(bd, field, addr) \ field 141 drivers/net/ethernet/ni/nixge.c ((bd)->field##_lo = lower_32_bits((addr))) field 154 drivers/net/ethernet/ni/nixge.c #define nixge_hw_dma_bd_get_addr(bd, field) \ field 155 drivers/net/ethernet/ni/nixge.c (dma_addr_t)((((u64)(bd)->field##_hi) << 32) | ((bd)->field##_lo)) field 157 drivers/net/ethernet/ni/nixge.c #define nixge_hw_dma_bd_get_addr(bd, field) \ field 158 drivers/net/ethernet/ni/nixge.c (dma_addr_t)((bd)->field##_lo) field 99 drivers/net/ethernet/qlogic/qed/qed.h #define QED_MFW_GET_FIELD(name, field) \ field 100 drivers/net/ethernet/qlogic/qed/qed.h (((name) & (field ## _MASK)) >> (field ## _SHIFT)) field 102 drivers/net/ethernet/qlogic/qed/qed.h #define QED_MFW_SET_FIELD(name, field, value) \ field 104 drivers/net/ethernet/qlogic/qed/qed.h (name) &= ~(field ## _MASK); \ field 105 drivers/net/ethernet/qlogic/qed/qed.h (name) |= (((value) << (field ## _SHIFT)) & (field ## _MASK));\ field 328 drivers/net/ethernet/qlogic/qed/qed_debug.c #define FIELD_BIT_OFFSET(type, field) type ## _ ## field ## _ ## OFFSET field 329 drivers/net/ethernet/qlogic/qed/qed_debug.c #define FIELD_BIT_SIZE(type, field) type ## _ ## field ## _ ## SIZE field 330 drivers/net/ethernet/qlogic/qed/qed_debug.c #define FIELD_DWORD_OFFSET(type, field) \ field 331 drivers/net/ethernet/qlogic/qed/qed_debug.c (int)(FIELD_BIT_OFFSET(type, field) / 32) field 332 drivers/net/ethernet/qlogic/qed/qed_debug.c #define FIELD_DWORD_SHIFT(type, field) (FIELD_BIT_OFFSET(type, field) % 32) field 333 drivers/net/ethernet/qlogic/qed/qed_debug.c #define FIELD_BIT_MASK(type, field) \ field 334 drivers/net/ethernet/qlogic/qed/qed_debug.c (((1 << FIELD_BIT_SIZE(type, field)) - 1) << \ field 335 drivers/net/ethernet/qlogic/qed/qed_debug.c FIELD_DWORD_SHIFT(type, field)) field 337 drivers/net/ethernet/qlogic/qed/qed_debug.c #define SET_VAR_FIELD(var, type, field, val) \ field 339 drivers/net/ethernet/qlogic/qed/qed_debug.c var[FIELD_DWORD_OFFSET(type, field)] &= \ field 340 drivers/net/ethernet/qlogic/qed/qed_debug.c (~FIELD_BIT_MASK(type, field)); \ field 341 drivers/net/ethernet/qlogic/qed/qed_debug.c var[FIELD_DWORD_OFFSET(type, field)] |= \ field 342 drivers/net/ethernet/qlogic/qed/qed_debug.c (val) << FIELD_DWORD_SHIFT(type, field); \ field 176 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c #define QM_CMD_SET_FIELD(var, cmd, field, value) \ field 177 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c SET_FIELD(var[cmd ## _ ## field ## _OFFSET], \ field 178 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c cmd ## _ ## field, \ field 45 drivers/net/ethernet/sfc/bitfield.h #define EFX_VAL(field, attribute) field ## _ ## attribute field 47 drivers/net/ethernet/sfc/bitfield.h #define EFX_LOW_BIT(field) EFX_VAL(field, LBN) field 49 drivers/net/ethernet/sfc/bitfield.h #define EFX_WIDTH(field) EFX_VAL(field, WIDTH) field 51 drivers/net/ethernet/sfc/bitfield.h #define EFX_HIGH_BIT(field) (EFX_LOW_BIT(field) + EFX_WIDTH(field) - 1) field 168 drivers/net/ethernet/sfc/bitfield.h #define EFX_OWORD_FIELD64(oword, field) \ field 169 drivers/net/ethernet/sfc/bitfield.h EFX_EXTRACT_OWORD64(oword, EFX_LOW_BIT(field), \ field 170 drivers/net/ethernet/sfc/bitfield.h EFX_HIGH_BIT(field)) field 172 drivers/net/ethernet/sfc/bitfield.h #define EFX_QWORD_FIELD64(qword, field) \ field 173 drivers/net/ethernet/sfc/bitfield.h EFX_EXTRACT_QWORD64(qword, EFX_LOW_BIT(field), \ field 174 drivers/net/ethernet/sfc/bitfield.h EFX_HIGH_BIT(field)) field 176 drivers/net/ethernet/sfc/bitfield.h #define EFX_OWORD_FIELD32(oword, field) \ field 177 drivers/net/ethernet/sfc/bitfield.h EFX_EXTRACT_OWORD32(oword, EFX_LOW_BIT(field), \ field 178 drivers/net/ethernet/sfc/bitfield.h EFX_HIGH_BIT(field)) field 180 drivers/net/ethernet/sfc/bitfield.h #define EFX_QWORD_FIELD32(qword, field) \ field 181 drivers/net/ethernet/sfc/bitfield.h EFX_EXTRACT_QWORD32(qword, EFX_LOW_BIT(field), \ field 182 drivers/net/ethernet/sfc/bitfield.h EFX_HIGH_BIT(field)) field 184 drivers/net/ethernet/sfc/bitfield.h #define EFX_DWORD_FIELD(dword, field) \ field 185 drivers/net/ethernet/sfc/bitfield.h EFX_EXTRACT_DWORD(dword, EFX_LOW_BIT(field), \ field 186 drivers/net/ethernet/sfc/bitfield.h EFX_HIGH_BIT(field)) field 265 drivers/net/ethernet/sfc/bitfield.h #define EFX_INSERT_FIELD_NATIVE(min, max, field, value) \ field 266 drivers/net/ethernet/sfc/bitfield.h EFX_INSERT_NATIVE(min, max, EFX_LOW_BIT(field), \ field 267 drivers/net/ethernet/sfc/bitfield.h EFX_HIGH_BIT(field), value) field 499 drivers/net/ethernet/sfc/bitfield.h #define EFX_SET_OWORD_FIELD64(oword, field, value) \ field 500 drivers/net/ethernet/sfc/bitfield.h EFX_SET_OWORD64(oword, EFX_LOW_BIT(field), \ field 501 drivers/net/ethernet/sfc/bitfield.h EFX_HIGH_BIT(field), value) field 503 drivers/net/ethernet/sfc/bitfield.h #define EFX_SET_QWORD_FIELD64(qword, field, value) \ field 504 drivers/net/ethernet/sfc/bitfield.h EFX_SET_QWORD64(qword, EFX_LOW_BIT(field), \ field 505 drivers/net/ethernet/sfc/bitfield.h EFX_HIGH_BIT(field), value) field 507 drivers/net/ethernet/sfc/bitfield.h #define EFX_SET_OWORD_FIELD32(oword, field, value) \ field 508 drivers/net/ethernet/sfc/bitfield.h EFX_SET_OWORD32(oword, EFX_LOW_BIT(field), \ field 509 drivers/net/ethernet/sfc/bitfield.h EFX_HIGH_BIT(field), value) field 511 drivers/net/ethernet/sfc/bitfield.h #define EFX_SET_QWORD_FIELD32(qword, field, value) \ field 512 drivers/net/ethernet/sfc/bitfield.h EFX_SET_QWORD32(qword, EFX_LOW_BIT(field), \ field 513 drivers/net/ethernet/sfc/bitfield.h EFX_HIGH_BIT(field), value) field 515 drivers/net/ethernet/sfc/bitfield.h #define EFX_SET_DWORD_FIELD(dword, field, value) \ field 516 drivers/net/ethernet/sfc/bitfield.h EFX_SET_DWORD32(dword, EFX_LOW_BIT(field), \ field 517 drivers/net/ethernet/sfc/bitfield.h EFX_HIGH_BIT(field), value) field 27 drivers/net/ethernet/sfc/ethtool.c u64(*get_stat) (void *field); /* Reader function */ field 31 drivers/net/ethernet/sfc/ethtool.c #define EFX_ETHTOOL_STAT(stat_name, source_name, field, field_type, \ field 36 drivers/net/ethernet/sfc/ethtool.c &((struct efx_##source_name *)0)->field) ? \ field 37 drivers/net/ethernet/sfc/ethtool.c offsetof(struct efx_##source_name, field) : \ field 38 drivers/net/ethernet/sfc/ethtool.c offsetof(struct efx_##source_name, field)), \ field 42 drivers/net/ethernet/sfc/ethtool.c static u64 efx_get_uint_stat(void *field) field 44 drivers/net/ethernet/sfc/ethtool.c return *(unsigned int *)field; field 47 drivers/net/ethernet/sfc/ethtool.c static u64 efx_get_atomic_stat(void *field) field 49 drivers/net/ethernet/sfc/ethtool.c return atomic_read((atomic_t *) field); field 52 drivers/net/ethernet/sfc/ethtool.c #define EFX_ETHTOOL_ATOMIC_NIC_ERROR_STAT(field) \ field 53 drivers/net/ethernet/sfc/ethtool.c EFX_ETHTOOL_STAT(field, nic, field, \ field 56 drivers/net/ethernet/sfc/ethtool.c #define EFX_ETHTOOL_UINT_CHANNEL_STAT(field) \ field 57 drivers/net/ethernet/sfc/ethtool.c EFX_ETHTOOL_STAT(field, channel, n_##field, \ field 60 drivers/net/ethernet/sfc/ethtool.c #define EFX_ETHTOOL_UINT_TXQ_STAT(field) \ field 61 drivers/net/ethernet/sfc/ethtool.c EFX_ETHTOOL_STAT(tx_##field, tx_queue, field, \ field 45 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_VAL(field, attribute) field ## _ ## attribute field 47 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_LOW_BIT(field) EF4_VAL(field, LBN) field 49 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_WIDTH(field) EF4_VAL(field, WIDTH) field 51 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_HIGH_BIT(field) (EF4_LOW_BIT(field) + EF4_WIDTH(field) - 1) field 168 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_OWORD_FIELD64(oword, field) \ field 169 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_EXTRACT_OWORD64(oword, EF4_LOW_BIT(field), \ field 170 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_HIGH_BIT(field)) field 172 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_QWORD_FIELD64(qword, field) \ field 173 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_EXTRACT_QWORD64(qword, EF4_LOW_BIT(field), \ field 174 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_HIGH_BIT(field)) field 176 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_OWORD_FIELD32(oword, field) \ field 177 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_EXTRACT_OWORD32(oword, EF4_LOW_BIT(field), \ field 178 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_HIGH_BIT(field)) field 180 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_QWORD_FIELD32(qword, field) \ field 181 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_EXTRACT_QWORD32(qword, EF4_LOW_BIT(field), \ field 182 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_HIGH_BIT(field)) field 184 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_DWORD_FIELD(dword, field) \ field 185 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_EXTRACT_DWORD(dword, EF4_LOW_BIT(field), \ field 186 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_HIGH_BIT(field)) field 265 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_INSERT_FIELD_NATIVE(min, max, field, value) \ field 266 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_INSERT_NATIVE(min, max, EF4_LOW_BIT(field), \ field 267 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_HIGH_BIT(field), value) field 496 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_SET_OWORD_FIELD64(oword, field, value) \ field 497 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_SET_OWORD64(oword, EF4_LOW_BIT(field), \ field 498 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_HIGH_BIT(field), value) field 500 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_SET_QWORD_FIELD64(qword, field, value) \ field 501 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_SET_QWORD64(qword, EF4_LOW_BIT(field), \ field 502 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_HIGH_BIT(field), value) field 504 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_SET_OWORD_FIELD32(oword, field, value) \ field 505 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_SET_OWORD32(oword, EF4_LOW_BIT(field), \ field 506 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_HIGH_BIT(field), value) field 508 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_SET_QWORD_FIELD32(qword, field, value) \ field 509 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_SET_QWORD32(qword, EF4_LOW_BIT(field), \ field 510 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_HIGH_BIT(field), value) field 512 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_SET_DWORD_FIELD(dword, field, value) \ field 513 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_SET_DWORD32(dword, EF4_LOW_BIT(field), \ field 514 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_HIGH_BIT(field), value) field 27 drivers/net/ethernet/sfc/falcon/ethtool.c u64(*get_stat) (void *field); /* Reader function */ field 31 drivers/net/ethernet/sfc/falcon/ethtool.c #define EF4_ETHTOOL_STAT(stat_name, source_name, field, field_type, \ field 36 drivers/net/ethernet/sfc/falcon/ethtool.c &((struct ef4_##source_name *)0)->field) ? \ field 37 drivers/net/ethernet/sfc/falcon/ethtool.c offsetof(struct ef4_##source_name, field) : \ field 38 drivers/net/ethernet/sfc/falcon/ethtool.c offsetof(struct ef4_##source_name, field)), \ field 42 drivers/net/ethernet/sfc/falcon/ethtool.c static u64 ef4_get_uint_stat(void *field) field 44 drivers/net/ethernet/sfc/falcon/ethtool.c return *(unsigned int *)field; field 47 drivers/net/ethernet/sfc/falcon/ethtool.c static u64 ef4_get_atomic_stat(void *field) field 49 drivers/net/ethernet/sfc/falcon/ethtool.c return atomic_read((atomic_t *) field); field 52 drivers/net/ethernet/sfc/falcon/ethtool.c #define EF4_ETHTOOL_ATOMIC_NIC_ERROR_STAT(field) \ field 53 drivers/net/ethernet/sfc/falcon/ethtool.c EF4_ETHTOOL_STAT(field, nic, field, \ field 56 drivers/net/ethernet/sfc/falcon/ethtool.c #define EF4_ETHTOOL_UINT_CHANNEL_STAT(field) \ field 57 drivers/net/ethernet/sfc/falcon/ethtool.c EF4_ETHTOOL_STAT(field, channel, n_##field, \ field 60 drivers/net/ethernet/sfc/falcon/ethtool.c #define EF4_ETHTOOL_UINT_TXQ_STAT(field) \ field 61 drivers/net/ethernet/sfc/falcon/ethtool.c EF4_ETHTOOL_STAT(tx_##field, tx_queue, field, \ field 274 drivers/net/ethernet/sfc/falcon/falcon.c #define SPI_DEV_TYPE_FIELD(type, field) \ field 275 drivers/net/ethernet/sfc/falcon/falcon.c (((type) >> EF4_LOW_BIT(field)) & EF4_MASK32(EF4_WIDTH(field))) field 19 drivers/net/ethernet/stmicro/stmmac/dwmac5.c #define STAT_OFF(field) offsetof(struct stmmac_safety_stats, field) field 604 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c #define STAT_OFF(field) offsetof(struct stmmac_safety_stats, field) field 783 drivers/net/ethernet/ti/netcp_ethss.c #define GBE_STATSA_INFO(field) \ field 785 drivers/net/ethernet/ti/netcp_ethss.c "GBE_A:"#field, GBE_STATSA_MODULE, \ field 786 drivers/net/ethernet/ti/netcp_ethss.c FIELD_SIZEOF(struct gbe_hw_stats, field), \ field 787 drivers/net/ethernet/ti/netcp_ethss.c offsetof(struct gbe_hw_stats, field) \ field 790 drivers/net/ethernet/ti/netcp_ethss.c #define GBE_STATSB_INFO(field) \ field 792 drivers/net/ethernet/ti/netcp_ethss.c "GBE_B:"#field, GBE_STATSB_MODULE, \ field 793 drivers/net/ethernet/ti/netcp_ethss.c FIELD_SIZEOF(struct gbe_hw_stats, field), \ field 794 drivers/net/ethernet/ti/netcp_ethss.c offsetof(struct gbe_hw_stats, field) \ field 797 drivers/net/ethernet/ti/netcp_ethss.c #define GBE_STATSC_INFO(field) \ field 799 drivers/net/ethernet/ti/netcp_ethss.c "GBE_C:"#field, GBE_STATSC_MODULE, \ field 800 drivers/net/ethernet/ti/netcp_ethss.c FIELD_SIZEOF(struct gbe_hw_stats, field), \ field 801 drivers/net/ethernet/ti/netcp_ethss.c offsetof(struct gbe_hw_stats, field) \ field 804 drivers/net/ethernet/ti/netcp_ethss.c #define GBE_STATSD_INFO(field) \ field 806 drivers/net/ethernet/ti/netcp_ethss.c "GBE_D:"#field, GBE_STATSD_MODULE, \ field 807 drivers/net/ethernet/ti/netcp_ethss.c FIELD_SIZEOF(struct gbe_hw_stats, field), \ field 808 drivers/net/ethernet/ti/netcp_ethss.c offsetof(struct gbe_hw_stats, field) \ field 957 drivers/net/ethernet/ti/netcp_ethss.c #define GBENU_STATS_HOST(field) \ field 959 drivers/net/ethernet/ti/netcp_ethss.c "GBE_HOST:"#field, GBENU_STATS0_MODULE, \ field 960 drivers/net/ethernet/ti/netcp_ethss.c FIELD_SIZEOF(struct gbenu_hw_stats, field), \ field 961 drivers/net/ethernet/ti/netcp_ethss.c offsetof(struct gbenu_hw_stats, field) \ field 967 drivers/net/ethernet/ti/netcp_ethss.c #define GBENU_STATS_P1(field) \ field 969 drivers/net/ethernet/ti/netcp_ethss.c "GBE_P1:"#field, GBENU_STATS1_MODULE, \ field 970 drivers/net/ethernet/ti/netcp_ethss.c FIELD_SIZEOF(struct gbenu_hw_stats, field), \ field 971 drivers/net/ethernet/ti/netcp_ethss.c offsetof(struct gbenu_hw_stats, field) \ field 974 drivers/net/ethernet/ti/netcp_ethss.c #define GBENU_STATS_P2(field) \ field 976 drivers/net/ethernet/ti/netcp_ethss.c "GBE_P2:"#field, GBENU_STATS2_MODULE, \ field 977 drivers/net/ethernet/ti/netcp_ethss.c FIELD_SIZEOF(struct gbenu_hw_stats, field), \ field 978 drivers/net/ethernet/ti/netcp_ethss.c offsetof(struct gbenu_hw_stats, field) \ field 981 drivers/net/ethernet/ti/netcp_ethss.c #define GBENU_STATS_P3(field) \ field 983 drivers/net/ethernet/ti/netcp_ethss.c "GBE_P3:"#field, GBENU_STATS3_MODULE, \ field 984 drivers/net/ethernet/ti/netcp_ethss.c FIELD_SIZEOF(struct gbenu_hw_stats, field), \ field 985 drivers/net/ethernet/ti/netcp_ethss.c offsetof(struct gbenu_hw_stats, field) \ field 988 drivers/net/ethernet/ti/netcp_ethss.c #define GBENU_STATS_P4(field) \ field 990 drivers/net/ethernet/ti/netcp_ethss.c "GBE_P4:"#field, GBENU_STATS4_MODULE, \ field 991 drivers/net/ethernet/ti/netcp_ethss.c FIELD_SIZEOF(struct gbenu_hw_stats, field), \ field 992 drivers/net/ethernet/ti/netcp_ethss.c offsetof(struct gbenu_hw_stats, field) \ field 995 drivers/net/ethernet/ti/netcp_ethss.c #define GBENU_STATS_P5(field) \ field 997 drivers/net/ethernet/ti/netcp_ethss.c "GBE_P5:"#field, GBENU_STATS5_MODULE, \ field 998 drivers/net/ethernet/ti/netcp_ethss.c FIELD_SIZEOF(struct gbenu_hw_stats, field), \ field 999 drivers/net/ethernet/ti/netcp_ethss.c offsetof(struct gbenu_hw_stats, field) \ field 1002 drivers/net/ethernet/ti/netcp_ethss.c #define GBENU_STATS_P6(field) \ field 1004 drivers/net/ethernet/ti/netcp_ethss.c "GBE_P6:"#field, GBENU_STATS6_MODULE, \ field 1005 drivers/net/ethernet/ti/netcp_ethss.c FIELD_SIZEOF(struct gbenu_hw_stats, field), \ field 1006 drivers/net/ethernet/ti/netcp_ethss.c offsetof(struct gbenu_hw_stats, field) \ field 1009 drivers/net/ethernet/ti/netcp_ethss.c #define GBENU_STATS_P7(field) \ field 1011 drivers/net/ethernet/ti/netcp_ethss.c "GBE_P7:"#field, GBENU_STATS7_MODULE, \ field 1012 drivers/net/ethernet/ti/netcp_ethss.c FIELD_SIZEOF(struct gbenu_hw_stats, field), \ field 1013 drivers/net/ethernet/ti/netcp_ethss.c offsetof(struct gbenu_hw_stats, field) \ field 1016 drivers/net/ethernet/ti/netcp_ethss.c #define GBENU_STATS_P8(field) \ field 1018 drivers/net/ethernet/ti/netcp_ethss.c "GBE_P8:"#field, GBENU_STATS8_MODULE, \ field 1019 drivers/net/ethernet/ti/netcp_ethss.c FIELD_SIZEOF(struct gbenu_hw_stats, field), \ field 1020 drivers/net/ethernet/ti/netcp_ethss.c offsetof(struct gbenu_hw_stats, field) \ field 1607 drivers/net/ethernet/ti/netcp_ethss.c #define XGBE_STATS0_INFO(field) \ field 1609 drivers/net/ethernet/ti/netcp_ethss.c "GBE_0:"#field, XGBE_STATS0_MODULE, \ field 1610 drivers/net/ethernet/ti/netcp_ethss.c FIELD_SIZEOF(struct xgbe_hw_stats, field), \ field 1611 drivers/net/ethernet/ti/netcp_ethss.c offsetof(struct xgbe_hw_stats, field) \ field 1614 drivers/net/ethernet/ti/netcp_ethss.c #define XGBE_STATS1_INFO(field) \ field 1616 drivers/net/ethernet/ti/netcp_ethss.c "GBE_1:"#field, XGBE_STATS1_MODULE, \ field 1617 drivers/net/ethernet/ti/netcp_ethss.c FIELD_SIZEOF(struct xgbe_hw_stats, field), \ field 1618 drivers/net/ethernet/ti/netcp_ethss.c offsetof(struct xgbe_hw_stats, field) \ field 1621 drivers/net/ethernet/ti/netcp_ethss.c #define XGBE_STATS2_INFO(field) \ field 1623 drivers/net/ethernet/ti/netcp_ethss.c "GBE_2:"#field, XGBE_STATS2_MODULE, \ field 1624 drivers/net/ethernet/ti/netcp_ethss.c FIELD_SIZEOF(struct xgbe_hw_stats, field), \ field 1625 drivers/net/ethernet/ti/netcp_ethss.c offsetof(struct xgbe_hw_stats, field) \ field 19 drivers/net/phy/mdio-cavium.h #define OCT_MDIO_BITFIELD_FIELD(field, more) \ field 20 drivers/net/phy/mdio-cavium.h field; \ field 24 drivers/net/phy/mdio-cavium.h #define OCT_MDIO_BITFIELD_FIELD(field, more) \ field 26 drivers/net/phy/mdio-cavium.h field; field 104 drivers/net/phy/mdio-xgene.h #define SET_VAL(field, val) \ field 105 drivers/net/phy/mdio-xgene.h xgene_enet_set_field_value(field ## _POS, field ## _LEN, val) field 107 drivers/net/phy/mdio-xgene.h #define SET_BIT(field) \ field 108 drivers/net/phy/mdio-xgene.h xgene_enet_set_field_value(field ## _POS, 1, 1) field 118 drivers/net/phy/mdio-xgene.h #define GET_VAL(field, src) \ field 119 drivers/net/phy/mdio-xgene.h xgene_enet_get_field_value(field ## _POS, field ## _LEN, src) field 121 drivers/net/phy/mdio-xgene.h #define GET_BIT(field, src) \ field 122 drivers/net/phy/mdio-xgene.h xgene_enet_get_field_value(field ## _POS, 1, src) field 504 drivers/net/phy/micrel.c const char *field[], u8 numfields) field 514 drivers/net/phy/micrel.c if (!of_property_read_u32(of_node, field[i], val + i)) field 659 drivers/net/phy/micrel.c char *field[], u8 numfields) field 677 drivers/net/phy/micrel.c if (!of_property_read_s32(of_node, field[i], &skewval)) { field 221 drivers/net/wireless/ath/ath5k/phy.c num_bits = rfreg->field.len; field 222 drivers/net/wireless/ath/ath5k/phy.c first_bit = rfreg->field.pos; field 223 drivers/net/wireless/ath/ath5k/phy.c col = rfreg->field.col; field 96 drivers/net/wireless/ath/ath5k/rfbuffer.h struct ath5k_rfb_field field; field 32 drivers/net/wireless/ath/ath9k/eeprom.h #define EEPROM_FIELD_SWAB16(field) \ field 33 drivers/net/wireless/ath/ath9k/eeprom.h (field = (__force __le16)swab16((__force u16)field)) field 34 drivers/net/wireless/ath/ath9k/eeprom.h #define EEPROM_FIELD_SWAB32(field) \ field 35 drivers/net/wireless/ath/ath9k/eeprom.h (field = (__force __le32)swab32((__force u32)field)) field 142 drivers/net/wireless/broadcom/b43/phy_n.c static void b43_nphy_rf_ctl_override_rev19(struct b43_wldev *dev, u16 field, field 150 drivers/net/wireless/broadcom/b43/phy_n.c static void b43_nphy_rf_ctl_override_rev7(struct b43_wldev *dev, u16 field, field 160 drivers/net/wireless/broadcom/b43/phy_n.c u16 en_mask = field; field 170 drivers/net/wireless/broadcom/b43/phy_n.c e = b43_nphy_get_rf_ctl_over_rev7(dev, field, override); field 241 drivers/net/wireless/broadcom/b43/phy_n.c static void b43_nphy_rf_ctl_override(struct b43_wldev *dev, u16 field, field 245 drivers/net/wireless/broadcom/b43/phy_n.c u8 index = fls(field); field 248 drivers/net/wireless/broadcom/b43/phy_n.c B43_WARN_ON(field & (~(1 << (index - 1)))); field 266 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_mask(dev, en_addr, ~(field)); field 271 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_set(dev, en_addr, field); field 281 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_mask(dev, B43_NPHY_RFCTL_OVER, ~(field)); field 284 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_set(dev, B43_NPHY_RFCTL_OVER, field); field 3836 drivers/net/wireless/broadcom/b43/tables_nphy.c struct b43_wldev *dev, u16 field, u8 override) field 3860 drivers/net/wireless/broadcom/b43/tables_nphy.c if (e[i].field == field) field 40 drivers/net/wireless/broadcom/b43/tables_nphy.h u16 field; field 221 drivers/net/wireless/broadcom/b43/tables_nphy.h struct b43_wldev *dev, u16 field, u8 override); field 96 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c #define CORE_SB(base, field) \ field 97 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c (base + SBCONFIGOFF + offsetof(struct sbconfig, field)) field 10 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.h #define CORE_CC_REG(base, field) \ field 11 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.h (base + offsetof(struct chipcregs, field)) field 236 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c #define brcmf_skb_if_flags_set_field(skb, field, value) \ field 238 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c BRCMF_SKB_IF_FLAGS_ ## field ## _MASK, \ field 239 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c BRCMF_SKB_IF_FLAGS_ ## field ## _SHIFT, (value)) field 240 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c #define brcmf_skb_if_flags_get_field(skb, field) \ field 242 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c BRCMF_SKB_IF_FLAGS_ ## field ## _MASK, \ field 243 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c BRCMF_SKB_IF_FLAGS_ ## field ## _SHIFT) field 271 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c #define brcmf_skb_htod_tag_set_field(skb, field, value) \ field 273 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c BRCMF_SKB_HTOD_TAG_ ## field ## _MASK, \ field 274 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c BRCMF_SKB_HTOD_TAG_ ## field ## _SHIFT, (value)) field 275 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c #define brcmf_skb_htod_tag_get_field(skb, field) \ field 277 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c BRCMF_SKB_HTOD_TAG_ ## field ## _MASK, \ field 278 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c BRCMF_SKB_HTOD_TAG_ ## field ## _SHIFT) field 287 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c #define brcmf_skb_htod_seq_set_field(skb, field, value) \ field 289 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c BRCMF_SKB_HTOD_SEQ_ ## field ## _MASK, \ field 290 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c BRCMF_SKB_HTOD_SEQ_ ## field ## _SHIFT, (value)) field 291 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c #define brcmf_skb_htod_seq_get_field(skb, field) \ field 293 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c BRCMF_SKB_HTOD_SEQ_ ## field ## _MASK, \ field 294 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c BRCMF_SKB_HTOD_SEQ_ ## field ## _SHIFT) field 307 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c #define brcmf_txstatus_get_field(txs, field) \ field 308 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c brcmu_maskget32(txs, BRCMF_FWS_TXSTAT_ ## field ## _MASK, \ field 309 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c BRCMF_FWS_TXSTAT_ ## field ## _SHIFT) field 1473 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c __le32 *field; field 1479 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c field = (__le32 *)&data[BRCMF_RAMSIZE_OFFSET]; field 1480 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c if (le32_to_cpup(field) != BRCMF_RAMSIZE_MAGIC) field 1482 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c field++; field 1483 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c newsize = le32_to_cpup(field); field 158 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c #define SD_REG(field) \ field 159 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c (offsetof(struct sdpcmd_regs, field)) field 434 drivers/net/wireless/broadcom/brcm80211/brcmsmac/d11.h #define D11REGOFFS(field) offsetof(struct d11regs, field) field 37 drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c #define DMA64REGOFFS(field) offsetof(struct dma64regs, field) field 38 drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c #define DMA64TXREGOFFS(di, field) (di->d64txregbase + DMA64REGOFFS(field)) field 39 drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c #define DMA64RXREGOFFS(di, field) (di->d64rxregbase + DMA64REGOFFS(field)) field 59 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.h #define GFIELD(val, field) \ field 60 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.h (((val) >> field ## _S) & field ## _M) field 61 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.h #define SFIELD(val, field, bits) \ field 62 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.h (((val) & (~(field ## _M << field ## _S))) | \ field 63 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.h ((unsigned)(bits) << field ## _S)) field 14810 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c wlc_phy_rfctrl_override_nphy_rev7(struct brcms_phy *pi, u16 field, u16 value, field 14818 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c en_mask = field; field 14822 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c switch (field) { field 14907 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c switch (field) { field 15013 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c switch (field) { field 17167 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c wlc_phy_rfctrl_override_nphy(struct brcms_phy *pi, u16 field, u16 value, field 17177 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c en_mask = field; field 17180 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c switch (field) { field 17299 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c and_phy_reg(pi, 0xec, ~field); field 17302 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c or_phy_reg(pi, 0xec, field); field 17307 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c switch (field) { field 17336 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c switch (field) { field 18040 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c wlc_phy_rfctrlintc_override_nphy(struct brcms_phy *pi, u8 field, u16 value, field 18064 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c if (field == NPHY_RfctrlIntc_override_OFF) { field 18071 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c } else if (field == NPHY_RfctrlIntc_override_TRSW) { field 18129 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c } else if (field == NPHY_RfctrlIntc_override_PA) { field 18162 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c } else if (field == field 18215 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c } else if (field == field 11 drivers/net/wireless/broadcom/brcm80211/include/chipcommon.h #define CHIPCREGOFFS(field) offsetof(struct chipcregs, field) field 2753 drivers/net/wireless/intel/ipw2x00/ipw2100.c rxq->drv[i].status.info.field = 0; field 3037 drivers/net/wireless/intel/ipw2x00/ipw2100.c tbd->status.info.field = field 3139 drivers/net/wireless/intel/ipw2x00/ipw2100.c tbd->status.info.field = field 3156 drivers/net/wireless/intel/ipw2x00/ipw2100.c tbd->status.info.field = field 3160 drivers/net/wireless/intel/ipw2x00/ipw2100.c tbd->status.info.field = field 142 drivers/net/wireless/intel/ipw2x00/ipw2100.h u8 field; field 16 drivers/net/wireless/mediatek/mt76/mt7615/mac.c static inline s8 to_rssi(u32 field, u32 rxv) field 18 drivers/net/wireless/mediatek/mt76/mt7615/mac.c return (FIELD_GET(field, rxv) - 220) / 2; field 46 drivers/net/wireless/mediatek/mt76/mt76x02_eeprom.c enum mt76x02_eeprom_field field, field 49 drivers/net/wireless/mediatek/mt76/mt76x02_eeprom.c if (field + len > dev->mt76.eeprom.size) field 52 drivers/net/wireless/mediatek/mt76/mt76x02_eeprom.c memcpy(dest, dev->mt76.eeprom.data + field, len); field 166 drivers/net/wireless/mediatek/mt76/mt76x02_eeprom.h enum mt76x02_eeprom_field field) field 168 drivers/net/wireless/mediatek/mt76/mt76x02_eeprom.h if ((field & 1) || field >= __MT_EE_MAX) field 171 drivers/net/wireless/mediatek/mt76/mt76x02_eeprom.h return get_unaligned_le16(dev->mt76.eeprom.data + field); field 184 drivers/net/wireless/mediatek/mt76/mt76x02_eeprom.h enum mt76x02_eeprom_field field, field 98 drivers/net/wireless/ralink/rt2x00/rt2500usb.c struct rt2x00_field16 field, field 105 drivers/net/wireless/ralink/rt2x00/rt2500usb.c if (!rt2x00_get_field16(*reg, field)) field 1678 drivers/net/wireless/ralink/rt2x00/rt2800lib.c struct rt2x00_field32 field; field 1704 drivers/net/wireless/ralink/rt2x00/rt2800lib.c field.bit_offset = 4 * (key->hw_key_idx % 8); field 1705 drivers/net/wireless/ralink/rt2x00/rt2800lib.c field.bit_mask = 0x7 << field.bit_offset; field 1710 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field32(®, field, field 10381 drivers/net/wireless/ralink/rt2x00/rt2800lib.c struct rt2x00_field32 field; field 10407 drivers/net/wireless/ralink/rt2x00/rt2800lib.c field.bit_offset = (queue_idx & 1) * 16; field 10408 drivers/net/wireless/ralink/rt2x00/rt2800lib.c field.bit_mask = 0xffff << field.bit_offset; field 10411 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field32(®, field, queue->txop); field 10415 drivers/net/wireless/ralink/rt2x00/rt2800lib.c field.bit_offset = queue_idx * 4; field 10416 drivers/net/wireless/ralink/rt2x00/rt2800lib.c field.bit_mask = 0xf << field.bit_offset; field 10419 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field32(®, field, queue->aifs); field 10423 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field32(®, field, queue->cw_min); field 10427 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_set_field32(®, field, queue->cw_max); field 59 drivers/net/wireless/ralink/rt2x00/rt2800lib.h const struct rt2x00_field32 field, u32 *reg); field 126 drivers/net/wireless/ralink/rt2x00/rt2800lib.h const struct rt2x00_field32 field, field 131 drivers/net/wireless/ralink/rt2x00/rt2800lib.h return rt2800ops->regbusy_read(rt2x00dev, offset, field, reg); field 26 drivers/net/wireless/ralink/rt2x00/rt2x00mmio.c const struct rt2x00_field32 field, field 36 drivers/net/wireless/ralink/rt2x00/rt2x00mmio.c if (!rt2x00_get_field32(*reg, field)) field 64 drivers/net/wireless/ralink/rt2x00/rt2x00mmio.h const struct rt2x00_field32 field, field 144 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c const struct rt2x00_field32 field, field 154 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c if (!rt2x00_get_field32(*reg, field)) field 306 drivers/net/wireless/ralink/rt2x00/rt2x00usb.h const struct rt2x00_field32 field, field 2803 drivers/net/wireless/ralink/rt2x00/rt61pci.c struct rt2x00_field32 field; field 2829 drivers/net/wireless/ralink/rt2x00/rt61pci.c field.bit_offset = (queue_idx & 1) * 16; field 2830 drivers/net/wireless/ralink/rt2x00/rt61pci.c field.bit_mask = 0xffff << field.bit_offset; field 2833 drivers/net/wireless/ralink/rt2x00/rt61pci.c rt2x00_set_field32(®, field, queue->txop); field 2837 drivers/net/wireless/ralink/rt2x00/rt61pci.c field.bit_offset = queue_idx * 4; field 2838 drivers/net/wireless/ralink/rt2x00/rt61pci.c field.bit_mask = 0xf << field.bit_offset; field 2841 drivers/net/wireless/ralink/rt2x00/rt61pci.c rt2x00_set_field32(®, field, queue->aifs); field 2845 drivers/net/wireless/ralink/rt2x00/rt61pci.c rt2x00_set_field32(®, field, queue->cw_min); field 2849 drivers/net/wireless/ralink/rt2x00/rt61pci.c rt2x00_set_field32(®, field, queue->cw_max); field 261 drivers/net/wireless/ralink/rt2x00/rt73usb.c struct rt2x00_field32 field; field 308 drivers/net/wireless/ralink/rt2x00/rt73usb.c field.bit_offset = (3 * key->hw_key_idx); field 309 drivers/net/wireless/ralink/rt2x00/rt73usb.c field.bit_mask = 0x7 << field.bit_offset; field 312 drivers/net/wireless/ralink/rt2x00/rt73usb.c rt2x00_set_field32(®, field, crypto->cipher); field 315 drivers/net/wireless/ralink/rt2x00/rt73usb.c field.bit_offset = (3 * (key->hw_key_idx - 8)); field 316 drivers/net/wireless/ralink/rt2x00/rt73usb.c field.bit_mask = 0x7 << field.bit_offset; field 319 drivers/net/wireless/ralink/rt2x00/rt73usb.c rt2x00_set_field32(®, field, crypto->cipher); field 2226 drivers/net/wireless/ralink/rt2x00/rt73usb.c struct rt2x00_field32 field; field 2252 drivers/net/wireless/ralink/rt2x00/rt73usb.c field.bit_offset = (queue_idx & 1) * 16; field 2253 drivers/net/wireless/ralink/rt2x00/rt73usb.c field.bit_mask = 0xffff << field.bit_offset; field 2256 drivers/net/wireless/ralink/rt2x00/rt73usb.c rt2x00_set_field32(®, field, queue->txop); field 2260 drivers/net/wireless/ralink/rt2x00/rt73usb.c field.bit_offset = queue_idx * 4; field 2261 drivers/net/wireless/ralink/rt2x00/rt73usb.c field.bit_mask = 0xf << field.bit_offset; field 2264 drivers/net/wireless/ralink/rt2x00/rt73usb.c rt2x00_set_field32(®, field, queue->aifs); field 2268 drivers/net/wireless/ralink/rt2x00/rt73usb.c rt2x00_set_field32(®, field, queue->cw_min); field 2272 drivers/net/wireless/ralink/rt2x00/rt73usb.c rt2x00_set_field32(®, field, queue->cw_max); field 1428 drivers/net/wireless/ti/wlcore/main.c struct wl12xx_rx_filter_field *field; field 1435 drivers/net/wireless/ti/wlcore/main.c field = &filter->fields[filter->num_fields]; field 1437 drivers/net/wireless/ti/wlcore/main.c field->pattern = kzalloc(len, GFP_KERNEL); field 1438 drivers/net/wireless/ti/wlcore/main.c if (!field->pattern) { field 1445 drivers/net/wireless/ti/wlcore/main.c field->offset = cpu_to_le16(offset); field 1446 drivers/net/wireless/ti/wlcore/main.c field->flags = flags; field 1447 drivers/net/wireless/ti/wlcore/main.c field->len = len; field 1448 drivers/net/wireless/ti/wlcore/main.c memcpy(field->pattern, pattern, len); field 1469 drivers/net/wireless/ti/wlcore/main.c struct wl12xx_rx_filter_field *field; field 1472 drivers/net/wireless/ti/wlcore/main.c field = (struct wl12xx_rx_filter_field *)buf; field 1474 drivers/net/wireless/ti/wlcore/main.c field->offset = filter->fields[i].offset; field 1475 drivers/net/wireless/ti/wlcore/main.c field->flags = filter->fields[i].flags; field 1476 drivers/net/wireless/ti/wlcore/main.c field->len = filter->fields[i].len; field 1478 drivers/net/wireless/ti/wlcore/main.c memcpy(&field->pattern, filter->fields[i].pattern, field->len); field 1480 drivers/net/wireless/ti/wlcore/main.c sizeof(u8 *) + field->len; field 949 drivers/ntb/hw/idt/ntb_hw_idt.h #define GET_FIELD(field, data) \ field 950 drivers/ntb/hw/idt/ntb_hw_idt.h (((u32)(data) & IDT_ ##field## _MASK) >> IDT_ ##field## _FLD) field 951 drivers/ntb/hw/idt/ntb_hw_idt.h #define SET_FIELD(field, data, value) \ field 952 drivers/ntb/hw/idt/ntb_hw_idt.h (((u32)(data) & ~IDT_ ##field## _MASK) | \ field 953 drivers/ntb/hw/idt/ntb_hw_idt.h ((u32)(value) << IDT_ ##field## _FLD)) field 954 drivers/ntb/hw/idt/ntb_hw_idt.h #define IS_FLD_SET(field, data, value) \ field 955 drivers/ntb/hw/idt/ntb_hw_idt.h (((u32)(data) & IDT_ ##field## _MASK) == IDT_ ##field## _ ##value) field 86 drivers/nvdimm/nd.h #define namespace_label_has(ndd, field) \ field 87 drivers/nvdimm/nd.h (offsetof(struct nd_namespace_label, field) \ field 2558 drivers/nvme/host/core.c #define nvme_subsys_show_str_function(field) \ field 2559 drivers/nvme/host/core.c static ssize_t subsys_##field##_show(struct device *dev, \ field 2565 drivers/nvme/host/core.c (int)sizeof(subsys->field), subsys->field); \ field 2567 drivers/nvme/host/core.c static SUBSYS_ATTR_RO(field, S_IRUGO, subsys_##field##_show); field 3159 drivers/nvme/host/core.c #define nvme_show_str_function(field) \ field 3160 drivers/nvme/host/core.c static ssize_t field##_show(struct device *dev, \ field 3165 drivers/nvme/host/core.c (int)sizeof(ctrl->subsys->field), ctrl->subsys->field); \ field 3167 drivers/nvme/host/core.c static DEVICE_ATTR(field, S_IRUGO, field##_show, NULL); field 3173 drivers/nvme/host/core.c #define nvme_show_int_function(field) \ field 3174 drivers/nvme/host/core.c static ssize_t field##_show(struct device *dev, \ field 3178 drivers/nvme/host/core.c return sprintf(buf, "%d\n", ctrl->field); \ field 3180 drivers/nvme/host/core.c static DEVICE_ATTR(field, S_IRUGO, field##_show, NULL); field 52 drivers/nvmem/vf610-ocotp.c #define BF(value, field) (((value) << field) & field##_MASK) field 35 drivers/pci/pci-sysfs.c #define pci_config_attr(field, format_string) \ field 37 drivers/pci/pci-sysfs.c field##_show(struct device *dev, struct device_attribute *attr, char *buf) \ field 42 drivers/pci/pci-sysfs.c return sprintf(buf, format_string, pdev->field); \ field 44 drivers/pci/pci-sysfs.c static DEVICE_ATTR_RO(field) field 607 drivers/pci/pcie/aer.c #define aer_stats_rootport_attr(name, field) \ field 613 drivers/pci/pcie/aer.c return sprintf(buf, "%llu\n", pdev->aer_stats->field); \ field 315 drivers/pci/switch/switchtec.c #define DEVICE_ATTR_SYS_INFO_STR(field) \ field 316 drivers/pci/switch/switchtec.c static ssize_t field ## _show(struct device *dev, \ field 320 drivers/pci/switch/switchtec.c return io_string_show(buf, &stdev->mmio_sys_info->field, \ field 321 drivers/pci/switch/switchtec.c sizeof(stdev->mmio_sys_info->field)); \ field 324 drivers/pci/switch/switchtec.c static DEVICE_ATTR_RO(field) field 1002 drivers/pcmcia/ds.c #define pcmcia_device_attr(field, test, format) \ field 1003 drivers/pcmcia/ds.c static ssize_t field##_show (struct device *dev, struct device_attribute *attr, char *buf) \ field 1006 drivers/pcmcia/ds.c return p_dev->test ? sprintf(buf, format, p_dev->field) : -ENODEV; \ field 1008 drivers/pcmcia/ds.c static DEVICE_ATTR_RO(field); field 1010 drivers/pcmcia/ds.c #define pcmcia_device_stringattr(name, field) \ field 1014 drivers/pcmcia/ds.c return p_dev->field ? sprintf(buf, "%s\n", p_dev->field) : -ENODEV; \ field 288 drivers/perf/qcom_l2_pmu.c u64 field; field 294 drivers/perf/qcom_l2_pmu.c field = ((u64)(event_cc & L2PMRESR_GROUP_MASK) << shift); field 300 drivers/perf/qcom_l2_pmu.c resr_val |= field; field 131 drivers/phy/broadcom/phy-brcm-usb-init.c #define USB_CTRL_MASK(reg, field) \ field 132 drivers/phy/broadcom/phy-brcm-usb-init.c USB_CTRL_##reg##_##field##_MASK field 133 drivers/phy/broadcom/phy-brcm-usb-init.c #define USB_CTRL_MASK_FAMILY(params, reg, field) \ field 134 drivers/phy/broadcom/phy-brcm-usb-init.c (params->usb_reg_bits_map[USB_CTRL_##reg##_##field##_SELECTOR]) field 136 drivers/phy/broadcom/phy-brcm-usb-init.c #define USB_CTRL_SET_FAMILY(params, reg, field) \ field 138 drivers/phy/broadcom/phy-brcm-usb-init.c USB_CTRL_##reg##_##field##_SELECTOR) field 139 drivers/phy/broadcom/phy-brcm-usb-init.c #define USB_CTRL_UNSET_FAMILY(params, reg, field) \ field 141 drivers/phy/broadcom/phy-brcm-usb-init.c USB_CTRL_##reg##_##field##_SELECTOR) field 143 drivers/phy/broadcom/phy-brcm-usb-init.c #define USB_CTRL_SET(base, reg, field) \ field 145 drivers/phy/broadcom/phy-brcm-usb-init.c USB_CTRL_##reg##_##field##_MASK) field 146 drivers/phy/broadcom/phy-brcm-usb-init.c #define USB_CTRL_UNSET(base, reg, field) \ field 148 drivers/phy/broadcom/phy-brcm-usb-init.c USB_CTRL_##reg##_##field##_MASK) field 416 drivers/phy/broadcom/phy-brcm-usb-init.c u32 reg_offset, u32 field) field 421 drivers/phy/broadcom/phy-brcm-usb-init.c mask = params->usb_reg_bits_map[field]; field 428 drivers/phy/broadcom/phy-brcm-usb-init.c u32 reg_offset, u32 field) field 433 drivers/phy/broadcom/phy-brcm-usb-init.c mask = params->usb_reg_bits_map[field]; field 438 drivers/phy/broadcom/phy-brcm-usb-init.c static inline void usb_ctrl_set(void __iomem *reg, u32 field) field 443 drivers/phy/broadcom/phy-brcm-usb-init.c brcmusb_writel(value | field, reg); field 446 drivers/phy/broadcom/phy-brcm-usb-init.c static inline void usb_ctrl_unset(void __iomem *reg, u32 field) field 451 drivers/phy/broadcom/phy-brcm-usb-init.c brcmusb_writel(value & ~field, reg); field 54 drivers/phy/socionext/phy-uniphier-usb3hs.c } field; field 176 drivers/phy/socionext/phy-uniphier-usb3hs.c u32 field_mask = GENMASK(p->field.msb, p->field.lsb); field 181 drivers/phy/socionext/phy-uniphier-usb3hs.c val |= FIELD_PREP(HSPHY_CFG1_ADR_MASK, p->field.reg_no) field 191 drivers/phy/socionext/phy-uniphier-usb3hs.c data = field_mask & (p->value << p->field.lsb); field 48 drivers/phy/socionext/phy-uniphier-usb3ss.c } field; field 80 drivers/phy/socionext/phy-uniphier-usb3ss.c u8 field_mask = GENMASK(p->field.msb, p->field.lsb); field 85 drivers/phy/socionext/phy-uniphier-usb3ss.c val |= FIELD_PREP(TESTI_ADR_MASK, p->field.reg_no); field 91 drivers/phy/socionext/phy-uniphier-usb3ss.c data = field_mask & (p->value << p->field.lsb); field 93 drivers/phy/socionext/phy-uniphier-usb3ss.c val |= FIELD_PREP(TESTI_ADR_MASK, p->field.reg_no); field 100 drivers/phy/socionext/phy-uniphier-usb3ss.c val |= FIELD_PREP(TESTI_ADR_MASK, p->field.reg_no); field 242 drivers/phy/ti/phy-gmii-sel.c const struct reg_field *field; field 248 drivers/phy/ti/phy-gmii-sel.c field = &soc_data->regfields[i][PHY_GMII_SEL_PORT_MODE]; field 250 drivers/phy/ti/phy-gmii-sel.c field->reg, field->msb, field->lsb); field 252 drivers/phy/ti/phy-gmii-sel.c regfield = devm_regmap_field_alloc(dev, priv->regmap, *field); field 257 drivers/phy/ti/phy-gmii-sel.c field = &soc_data->regfields[i][PHY_GMII_SEL_RGMII_ID_MODE]; field 258 drivers/phy/ti/phy-gmii-sel.c if (field->reg != (~0)) { field 261 drivers/phy/ti/phy-gmii-sel.c *field); field 268 drivers/phy/ti/phy-gmii-sel.c field = &soc_data->regfields[i][PHY_GMII_SEL_RMII_IO_CLK_EN]; field 269 drivers/phy/ti/phy-gmii-sel.c if (field->reg != (~0)) { field 272 drivers/phy/ti/phy-gmii-sel.c *field); field 67 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c int field, struct mtk_pin_field *pfd) field 73 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c if (hw->soc->reg_cal && hw->soc->reg_cal[field].range) { field 74 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c rc = &hw->soc->reg_cal[field]; field 78 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c field, desc->number, desc->name); field 93 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c field, desc->number, desc->name); field 100 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c field, desc->number, desc->name); field 130 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c int field, struct mtk_pin_field *pfd) field 132 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c if (field < 0 || field >= PINCTRL_PIN_REG_MAX) { field 133 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c dev_err(hw->dev, "Invalid Field %d\n", field); field 137 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c return mtk_hw_pin_field_lookup(hw, desc, field, pfd); field 176 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c int field, int value) field 181 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c err = mtk_hw_pin_field_get(hw, desc, field, &pf); field 195 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c int field, int *value) field 200 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c err = mtk_hw_pin_field_get(hw, desc, field, &pf); field 254 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h int field, int value); field 256 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h int field, int *value); field 461 drivers/pinctrl/pinctrl-artpec6.c static unsigned int artpec6_pconf_drive_field_to_mA(int field) field 463 drivers/pinctrl/pinctrl-artpec6.c switch (field) { field 503 drivers/pinctrl/pinctrl-st.c static void st_regmap_field_bit_set_clear_pin(struct regmap_field *field, field 508 drivers/pinctrl/pinctrl-st.c regmap_field_read(field, &val); field 513 drivers/pinctrl/pinctrl-st.c regmap_field_write(field, val); field 210 drivers/pinctrl/sh-pfc/core.c unsigned int field, u32 value) field 216 drivers/pinctrl/sh-pfc/core.c sh_pfc_config_reg_helper(pfc, crp, field, &mapped_reg, &mask, &pos); field 220 drivers/pinctrl/sh-pfc/core.c crp->reg, value, field, crp->reg_width, hweight32(mask)); field 332 drivers/pinctrl/sh-pfc/core.c unsigned int field; field 376 drivers/pinctrl/sh-pfc/core.c ret = sh_pfc_get_config_reg(pfc, enum_id, &cr, &field, &value); field 380 drivers/pinctrl/sh-pfc/core.c sh_pfc_write_config_reg(pfc, cr, field, value); field 486 drivers/pinctrl/sh-pfc/pinctrl.c const struct pinmux_drive_reg_field *field; field 492 drivers/pinctrl/sh-pfc/pinctrl.c field = ®->fields[i]; field 494 drivers/pinctrl/sh-pfc/pinctrl.c if (field->size && field->pin == pin) { field 495 drivers/pinctrl/sh-pfc/pinctrl.c *offset = field->offset; field 496 drivers/pinctrl/sh-pfc/pinctrl.c *size = field->size; field 102 drivers/platform/chrome/wilco_ec/telemetry.c u8 field; field 683 drivers/power/supply/bq24257_charger.c int field; field 703 drivers/power/supply/bq24257_charger.c ret = bq24257_field_write(bq, init_data[i].field, field 272 drivers/power/supply/rt9455_charger.c enum rt9455_fields field, field 278 drivers/power/supply/rt9455_charger.c ret = regmap_field_read(info->regmap_fields[field], &v); field 289 drivers/power/supply/rt9455_charger.c enum rt9455_fields field, field 294 drivers/power/supply/rt9455_charger.c return regmap_field_write(info->regmap_fields[field], idx); field 18 drivers/rapidio/rio-sysfs.c #define rio_config_attr(field, format_string) \ field 20 drivers/rapidio/rio-sysfs.c field##_show(struct device *dev, struct device_attribute *attr, char *buf) \ field 24 drivers/rapidio/rio-sysfs.c return sprintf(buf, format_string, rdev->field); \ field 26 drivers/rapidio/rio-sysfs.c static DEVICE_ATTR_RO(field); field 227 drivers/regulator/da9063-regulator.c struct regmap_field *field; field 256 drivers/regulator/da9063-regulator.c field = regl->suspend_sleep; field 258 drivers/regulator/da9063-regulator.c field = regl->sleep; field 260 drivers/regulator/da9063-regulator.c ret = regmap_field_read(field, &val); field 299 drivers/regulator/da9063-regulator.c struct regmap_field *field; field 309 drivers/regulator/da9063-regulator.c field = regl->suspend_sleep; field 311 drivers/regulator/da9063-regulator.c field = regl->sleep; field 313 drivers/regulator/da9063-regulator.c ret = regmap_field_read(field, &val); field 132 drivers/regulator/tps6524x-regulator.c struct field enable, voltage, ilimsel; field 281 drivers/regulator/tps6524x-regulator.c static int read_field(struct tps6524x *hw, const struct field *field) field 285 drivers/regulator/tps6524x-regulator.c tmp = read_reg(hw, field->reg); field 289 drivers/regulator/tps6524x-regulator.c return (tmp >> field->shift) & field->mask; field 292 drivers/regulator/tps6524x-regulator.c static int write_field(struct tps6524x *hw, const struct field *field, field 295 drivers/regulator/tps6524x-regulator.c if (val & ~field->mask) field 298 drivers/regulator/tps6524x-regulator.c return rmw_protect(hw, field->reg, field 299 drivers/regulator/tps6524x-regulator.c field->mask << field->shift, field 300 drivers/regulator/tps6524x-regulator.c val << field->shift); field 318 drivers/rpmsg/rpmsg_core.c #define rpmsg_show_attr(field, path, format_string) \ field 320 drivers/rpmsg/rpmsg_core.c field##_show(struct device *dev, \ field 327 drivers/rpmsg/rpmsg_core.c static DEVICE_ATTR_RO(field); field 329 drivers/rpmsg/rpmsg_core.c #define rpmsg_string_attr(field, member) \ field 331 drivers/rpmsg/rpmsg_core.c field##_store(struct device *dev, struct device_attribute *attr, \ field 357 drivers/rpmsg/rpmsg_core.c field##_show(struct device *dev, \ field 364 drivers/rpmsg/rpmsg_core.c static DEVICE_ATTR_RW(field) field 35 drivers/rtc/rtc-at91rm9200.c #define at91_rtc_read(field) \ field 36 drivers/rtc/rtc-at91rm9200.c readl_relaxed(at91_rtc_regs + field) field 37 drivers/rtc/rtc-at91rm9200.c #define at91_rtc_write(field, val) \ field 38 drivers/rtc/rtc-at91rm9200.c writel_relaxed((val), at91_rtc_regs + field) field 81 drivers/rtc/rtc-at91sam9.c #define rtt_readl(rtc, field) \ field 82 drivers/rtc/rtc-at91sam9.c readl((rtc)->rtt + AT91_RTT_ ## field) field 83 drivers/rtc/rtc-at91sam9.c #define rtt_writel(rtc, field, val) \ field 84 drivers/rtc/rtc-at91sam9.c writel((val), (rtc)->rtt + AT91_RTT_ ## field) field 65 drivers/s390/char/sclp_cpi_sys.c static void set_data(char *field, char *data) field 67 drivers/s390/char/sclp_cpi_sys.c memset(field, ' ', CPI_LENGTH_NAME); field 68 drivers/s390/char/sclp_cpi_sys.c memcpy(field, data, strlen(data)); field 69 drivers/s390/char/sclp_cpi_sys.c sclp_ascebc_str(field, CPI_LENGTH_NAME); field 234 drivers/s390/crypto/ap_bus.c static inline int ap_test_config(unsigned int *field, unsigned int nr) field 236 drivers/s390/crypto/ap_bus.c return ap_test_bit((field + (nr >> 5)), (nr & 0x1f)); field 424 drivers/s390/net/qeth_core_mpc.h #define SETASS_DATA_SIZEOF(field) FIELD_SIZEOF(struct qeth_ipacmd_setassparms,\ field 425 drivers/s390/net/qeth_core_mpc.h data.field) field 538 drivers/s390/net/qeth_core_mpc.h #define SETADP_DATA_SIZEOF(field) FIELD_SIZEOF(struct qeth_ipacmd_setadpparms,\ field 539 drivers/s390/net/qeth_core_mpc.h data.field) field 651 drivers/s390/net/qeth_core_mpc.h #define VNICC_DATA_SIZEOF(field) FIELD_SIZEOF(struct qeth_ipacmd_vnicc,\ field 652 drivers/s390/net/qeth_core_mpc.h data.field) field 732 drivers/s390/net/qeth_core_mpc.h #define SBP_DATA_SIZEOF(field) FIELD_SIZEOF(struct qeth_ipacmd_setbridgeport,\ field 733 drivers/s390/net/qeth_core_mpc.h data.field) field 793 drivers/s390/net/qeth_core_mpc.h #define IPA_DATA_SIZEOF(field) FIELD_SIZEOF(struct qeth_ipa_cmd, data.field) field 234 drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c int field; field 236 drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c field = FALSE; field 246 drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c field = TRUE; field 256 drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c || (field field 261 drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c || (!field && (curnode->symbol->info.rinfo->address > field 276 drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c if ((field field 281 drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c || (!field field 127 drivers/scsi/aic7xxx/queue.h #define SLIST_FOREACH(var, head, field) \ field 130 drivers/scsi/aic7xxx/queue.h (var) = SLIST_NEXT((var), field)) field 136 drivers/scsi/aic7xxx/queue.h #define SLIST_INSERT_AFTER(slistelm, elm, field) do { \ field 137 drivers/scsi/aic7xxx/queue.h SLIST_NEXT((elm), field) = SLIST_NEXT((slistelm), field); \ field 138 drivers/scsi/aic7xxx/queue.h SLIST_NEXT((slistelm), field) = (elm); \ field 141 drivers/scsi/aic7xxx/queue.h #define SLIST_INSERT_HEAD(head, elm, field) do { \ field 142 drivers/scsi/aic7xxx/queue.h SLIST_NEXT((elm), field) = SLIST_FIRST((head)); \ field 146 drivers/scsi/aic7xxx/queue.h #define SLIST_NEXT(elm, field) ((elm)->field.sle_next) field 148 drivers/scsi/aic7xxx/queue.h #define SLIST_REMOVE(head, elm, type, field) do { \ field 150 drivers/scsi/aic7xxx/queue.h SLIST_REMOVE_HEAD((head), field); \ field 154 drivers/scsi/aic7xxx/queue.h while (SLIST_NEXT(curelm, field) != (elm)) \ field 155 drivers/scsi/aic7xxx/queue.h curelm = SLIST_NEXT(curelm, field); \ field 156 drivers/scsi/aic7xxx/queue.h SLIST_NEXT(curelm, field) = \ field 157 drivers/scsi/aic7xxx/queue.h SLIST_NEXT(SLIST_NEXT(curelm, field), field); \ field 161 drivers/scsi/aic7xxx/queue.h #define SLIST_REMOVE_HEAD(head, field) do { \ field 162 drivers/scsi/aic7xxx/queue.h SLIST_FIRST((head)) = SLIST_NEXT(SLIST_FIRST((head)), field); \ field 189 drivers/scsi/aic7xxx/queue.h #define STAILQ_FOREACH(var, head, field) \ field 192 drivers/scsi/aic7xxx/queue.h (var) = STAILQ_NEXT((var), field)) field 199 drivers/scsi/aic7xxx/queue.h #define STAILQ_INSERT_AFTER(head, tqelm, elm, field) do { \ field 200 drivers/scsi/aic7xxx/queue.h if ((STAILQ_NEXT((elm), field) = STAILQ_NEXT((tqelm), field)) == NULL)\ field 201 drivers/scsi/aic7xxx/queue.h (head)->stqh_last = &STAILQ_NEXT((elm), field); \ field 202 drivers/scsi/aic7xxx/queue.h STAILQ_NEXT((tqelm), field) = (elm); \ field 205 drivers/scsi/aic7xxx/queue.h #define STAILQ_INSERT_HEAD(head, elm, field) do { \ field 206 drivers/scsi/aic7xxx/queue.h if ((STAILQ_NEXT((elm), field) = STAILQ_FIRST((head))) == NULL) \ field 207 drivers/scsi/aic7xxx/queue.h (head)->stqh_last = &STAILQ_NEXT((elm), field); \ field 211 drivers/scsi/aic7xxx/queue.h #define STAILQ_INSERT_TAIL(head, elm, field) do { \ field 212 drivers/scsi/aic7xxx/queue.h STAILQ_NEXT((elm), field) = NULL; \ field 214 drivers/scsi/aic7xxx/queue.h (head)->stqh_last = &STAILQ_NEXT((elm), field); \ field 219 drivers/scsi/aic7xxx/queue.h #define STAILQ_NEXT(elm, field) ((elm)->field.stqe_next) field 221 drivers/scsi/aic7xxx/queue.h #define STAILQ_REMOVE(head, elm, type, field) do { \ field 223 drivers/scsi/aic7xxx/queue.h STAILQ_REMOVE_HEAD(head, field); \ field 227 drivers/scsi/aic7xxx/queue.h while (STAILQ_NEXT(curelm, field) != (elm)) \ field 228 drivers/scsi/aic7xxx/queue.h curelm = STAILQ_NEXT(curelm, field); \ field 229 drivers/scsi/aic7xxx/queue.h if ((STAILQ_NEXT(curelm, field) = \ field 230 drivers/scsi/aic7xxx/queue.h STAILQ_NEXT(STAILQ_NEXT(curelm, field), field)) == NULL)\ field 231 drivers/scsi/aic7xxx/queue.h (head)->stqh_last = &STAILQ_NEXT((curelm), field);\ field 235 drivers/scsi/aic7xxx/queue.h #define STAILQ_REMOVE_HEAD(head, field) do { \ field 237 drivers/scsi/aic7xxx/queue.h STAILQ_NEXT(STAILQ_FIRST((head)), field)) == NULL) \ field 241 drivers/scsi/aic7xxx/queue.h #define STAILQ_REMOVE_HEAD_UNTIL(head, elm, field) do { \ field 242 drivers/scsi/aic7xxx/queue.h if ((STAILQ_FIRST((head)) = STAILQ_NEXT((elm), field)) == NULL) \ field 271 drivers/scsi/aic7xxx/queue.h #define LIST_FOREACH(var, head, field) \ field 274 drivers/scsi/aic7xxx/queue.h (var) = LIST_NEXT((var), field)) field 280 drivers/scsi/aic7xxx/queue.h #define LIST_INSERT_AFTER(listelm, elm, field) do { \ field 281 drivers/scsi/aic7xxx/queue.h if ((LIST_NEXT((elm), field) = LIST_NEXT((listelm), field)) != NULL)\ field 282 drivers/scsi/aic7xxx/queue.h LIST_NEXT((listelm), field)->field.le_prev = \ field 283 drivers/scsi/aic7xxx/queue.h &LIST_NEXT((elm), field); \ field 284 drivers/scsi/aic7xxx/queue.h LIST_NEXT((listelm), field) = (elm); \ field 285 drivers/scsi/aic7xxx/queue.h (elm)->field.le_prev = &LIST_NEXT((listelm), field); \ field 288 drivers/scsi/aic7xxx/queue.h #define LIST_INSERT_BEFORE(listelm, elm, field) do { \ field 289 drivers/scsi/aic7xxx/queue.h (elm)->field.le_prev = (listelm)->field.le_prev; \ field 290 drivers/scsi/aic7xxx/queue.h LIST_NEXT((elm), field) = (listelm); \ field 291 drivers/scsi/aic7xxx/queue.h *(listelm)->field.le_prev = (elm); \ field 292 drivers/scsi/aic7xxx/queue.h (listelm)->field.le_prev = &LIST_NEXT((elm), field); \ field 295 drivers/scsi/aic7xxx/queue.h #define LIST_INSERT_HEAD(head, elm, field) do { \ field 296 drivers/scsi/aic7xxx/queue.h if ((LIST_NEXT((elm), field) = LIST_FIRST((head))) != NULL) \ field 297 drivers/scsi/aic7xxx/queue.h LIST_FIRST((head))->field.le_prev = &LIST_NEXT((elm), field);\ field 299 drivers/scsi/aic7xxx/queue.h (elm)->field.le_prev = &LIST_FIRST((head)); \ field 302 drivers/scsi/aic7xxx/queue.h #define LIST_NEXT(elm, field) ((elm)->field.le_next) field 304 drivers/scsi/aic7xxx/queue.h #define LIST_REMOVE(elm, field) do { \ field 305 drivers/scsi/aic7xxx/queue.h if (LIST_NEXT((elm), field) != NULL) \ field 306 drivers/scsi/aic7xxx/queue.h LIST_NEXT((elm), field)->field.le_prev = \ field 307 drivers/scsi/aic7xxx/queue.h (elm)->field.le_prev; \ field 308 drivers/scsi/aic7xxx/queue.h *(elm)->field.le_prev = LIST_NEXT((elm), field); \ field 336 drivers/scsi/aic7xxx/queue.h #define TAILQ_FOREACH(var, head, field) \ field 339 drivers/scsi/aic7xxx/queue.h (var) = TAILQ_NEXT((var), field)) field 341 drivers/scsi/aic7xxx/queue.h #define TAILQ_FOREACH_REVERSE(var, head, headname, field) \ field 344 drivers/scsi/aic7xxx/queue.h (var) = TAILQ_PREV((var), headname, field)) field 351 drivers/scsi/aic7xxx/queue.h #define TAILQ_INSERT_AFTER(head, listelm, elm, field) do { \ field 352 drivers/scsi/aic7xxx/queue.h if ((TAILQ_NEXT((elm), field) = TAILQ_NEXT((listelm), field)) != NULL)\ field 353 drivers/scsi/aic7xxx/queue.h TAILQ_NEXT((elm), field)->field.tqe_prev = \ field 354 drivers/scsi/aic7xxx/queue.h &TAILQ_NEXT((elm), field); \ field 356 drivers/scsi/aic7xxx/queue.h (head)->tqh_last = &TAILQ_NEXT((elm), field); \ field 357 drivers/scsi/aic7xxx/queue.h TAILQ_NEXT((listelm), field) = (elm); \ field 358 drivers/scsi/aic7xxx/queue.h (elm)->field.tqe_prev = &TAILQ_NEXT((listelm), field); \ field 361 drivers/scsi/aic7xxx/queue.h #define TAILQ_INSERT_BEFORE(listelm, elm, field) do { \ field 362 drivers/scsi/aic7xxx/queue.h (elm)->field.tqe_prev = (listelm)->field.tqe_prev; \ field 363 drivers/scsi/aic7xxx/queue.h TAILQ_NEXT((elm), field) = (listelm); \ field 364 drivers/scsi/aic7xxx/queue.h *(listelm)->field.tqe_prev = (elm); \ field 365 drivers/scsi/aic7xxx/queue.h (listelm)->field.tqe_prev = &TAILQ_NEXT((elm), field); \ field 368 drivers/scsi/aic7xxx/queue.h #define TAILQ_INSERT_HEAD(head, elm, field) do { \ field 369 drivers/scsi/aic7xxx/queue.h if ((TAILQ_NEXT((elm), field) = TAILQ_FIRST((head))) != NULL) \ field 370 drivers/scsi/aic7xxx/queue.h TAILQ_FIRST((head))->field.tqe_prev = \ field 371 drivers/scsi/aic7xxx/queue.h &TAILQ_NEXT((elm), field); \ field 373 drivers/scsi/aic7xxx/queue.h (head)->tqh_last = &TAILQ_NEXT((elm), field); \ field 375 drivers/scsi/aic7xxx/queue.h (elm)->field.tqe_prev = &TAILQ_FIRST((head)); \ field 378 drivers/scsi/aic7xxx/queue.h #define TAILQ_INSERT_TAIL(head, elm, field) do { \ field 379 drivers/scsi/aic7xxx/queue.h TAILQ_NEXT((elm), field) = NULL; \ field 380 drivers/scsi/aic7xxx/queue.h (elm)->field.tqe_prev = (head)->tqh_last; \ field 382 drivers/scsi/aic7xxx/queue.h (head)->tqh_last = &TAILQ_NEXT((elm), field); \ field 388 drivers/scsi/aic7xxx/queue.h #define TAILQ_NEXT(elm, field) ((elm)->field.tqe_next) field 390 drivers/scsi/aic7xxx/queue.h #define TAILQ_PREV(elm, headname, field) \ field 391 drivers/scsi/aic7xxx/queue.h (*(((struct headname *)((elm)->field.tqe_prev))->tqh_last)) field 393 drivers/scsi/aic7xxx/queue.h #define TAILQ_REMOVE(head, elm, field) do { \ field 394 drivers/scsi/aic7xxx/queue.h if ((TAILQ_NEXT((elm), field)) != NULL) \ field 395 drivers/scsi/aic7xxx/queue.h TAILQ_NEXT((elm), field)->field.tqe_prev = \ field 396 drivers/scsi/aic7xxx/queue.h (elm)->field.tqe_prev; \ field 398 drivers/scsi/aic7xxx/queue.h (head)->tqh_last = (elm)->field.tqe_prev; \ field 399 drivers/scsi/aic7xxx/queue.h *(elm)->field.tqe_prev = TAILQ_NEXT((elm), field); \ field 427 drivers/scsi/aic7xxx/queue.h #define CIRCLEQ_FOREACH(var, head, field) \ field 430 drivers/scsi/aic7xxx/queue.h (var) = CIRCLEQ_NEXT((var), field)) field 432 drivers/scsi/aic7xxx/queue.h #define CIRCLEQ_FOREACH_REVERSE(var, head, field) \ field 435 drivers/scsi/aic7xxx/queue.h (var) = CIRCLEQ_PREV((var), field)) field 442 drivers/scsi/aic7xxx/queue.h #define CIRCLEQ_INSERT_AFTER(head, listelm, elm, field) do { \ field 443 drivers/scsi/aic7xxx/queue.h CIRCLEQ_NEXT((elm), field) = CIRCLEQ_NEXT((listelm), field); \ field 444 drivers/scsi/aic7xxx/queue.h CIRCLEQ_PREV((elm), field) = (listelm); \ field 445 drivers/scsi/aic7xxx/queue.h if (CIRCLEQ_NEXT((listelm), field) == (void *)(head)) \ field 448 drivers/scsi/aic7xxx/queue.h CIRCLEQ_PREV(CIRCLEQ_NEXT((listelm), field), field) = (elm);\ field 449 drivers/scsi/aic7xxx/queue.h CIRCLEQ_NEXT((listelm), field) = (elm); \ field 452 drivers/scsi/aic7xxx/queue.h #define CIRCLEQ_INSERT_BEFORE(head, listelm, elm, field) do { \ field 453 drivers/scsi/aic7xxx/queue.h CIRCLEQ_NEXT((elm), field) = (listelm); \ field 454 drivers/scsi/aic7xxx/queue.h CIRCLEQ_PREV((elm), field) = CIRCLEQ_PREV((listelm), field); \ field 455 drivers/scsi/aic7xxx/queue.h if (CIRCLEQ_PREV((listelm), field) == (void *)(head)) \ field 458 drivers/scsi/aic7xxx/queue.h CIRCLEQ_NEXT(CIRCLEQ_PREV((listelm), field), field) = (elm);\ field 459 drivers/scsi/aic7xxx/queue.h CIRCLEQ_PREV((listelm), field) = (elm); \ field 462 drivers/scsi/aic7xxx/queue.h #define CIRCLEQ_INSERT_HEAD(head, elm, field) do { \ field 463 drivers/scsi/aic7xxx/queue.h CIRCLEQ_NEXT((elm), field) = CIRCLEQ_FIRST((head)); \ field 464 drivers/scsi/aic7xxx/queue.h CIRCLEQ_PREV((elm), field) = (void *)(head); \ field 468 drivers/scsi/aic7xxx/queue.h CIRCLEQ_PREV(CIRCLEQ_FIRST((head)), field) = (elm); \ field 472 drivers/scsi/aic7xxx/queue.h #define CIRCLEQ_INSERT_TAIL(head, elm, field) do { \ field 473 drivers/scsi/aic7xxx/queue.h CIRCLEQ_NEXT((elm), field) = (void *)(head); \ field 474 drivers/scsi/aic7xxx/queue.h CIRCLEQ_PREV((elm), field) = CIRCLEQ_LAST((head)); \ field 478 drivers/scsi/aic7xxx/queue.h CIRCLEQ_NEXT(CIRCLEQ_LAST((head)), field) = (elm); \ field 484 drivers/scsi/aic7xxx/queue.h #define CIRCLEQ_NEXT(elm,field) ((elm)->field.cqe_next) field 486 drivers/scsi/aic7xxx/queue.h #define CIRCLEQ_PREV(elm,field) ((elm)->field.cqe_prev) field 488 drivers/scsi/aic7xxx/queue.h #define CIRCLEQ_REMOVE(head, elm, field) do { \ field 489 drivers/scsi/aic7xxx/queue.h if (CIRCLEQ_NEXT((elm), field) == (void *)(head)) \ field 490 drivers/scsi/aic7xxx/queue.h CIRCLEQ_LAST((head)) = CIRCLEQ_PREV((elm), field); \ field 492 drivers/scsi/aic7xxx/queue.h CIRCLEQ_PREV(CIRCLEQ_NEXT((elm), field), field) = \ field 493 drivers/scsi/aic7xxx/queue.h CIRCLEQ_PREV((elm), field); \ field 494 drivers/scsi/aic7xxx/queue.h if (CIRCLEQ_PREV((elm), field) == (void *)(head)) \ field 495 drivers/scsi/aic7xxx/queue.h CIRCLEQ_FIRST((head)) = CIRCLEQ_NEXT((elm), field); \ field 497 drivers/scsi/aic7xxx/queue.h CIRCLEQ_NEXT(CIRCLEQ_PREV((elm), field), field) = \ field 498 drivers/scsi/aic7xxx/queue.h CIRCLEQ_NEXT((elm), field); \ field 155 drivers/scsi/be2iscsi/be.h #define AMAP_BIT_OFFSET(_struct, field) \ field 156 drivers/scsi/be2iscsi/be.h (((size_t)&(((_struct *)0)->field))%32) field 172 drivers/scsi/be2iscsi/be.h #define AMAP_SET_BITS(_struct, field, ptr, val) \ field 174 drivers/scsi/be2iscsi/be.h offsetof(_struct, field)/32, \ field 175 drivers/scsi/be2iscsi/be.h amap_mask(sizeof(((_struct *)0)->field)), \ field 176 drivers/scsi/be2iscsi/be.h AMAP_BIT_OFFSET(_struct, field), \ field 185 drivers/scsi/be2iscsi/be.h #define AMAP_GET_BITS(_struct, field, ptr) \ field 187 drivers/scsi/be2iscsi/be.h offsetof(_struct, field)/32, \ field 188 drivers/scsi/be2iscsi/be.h amap_mask(sizeof(((_struct *)0)->field)), \ field 189 drivers/scsi/be2iscsi/be.h AMAP_BIT_OFFSET(_struct, field)) field 134 drivers/scsi/bnx2i/bnx2i.h #define GET_STATS_64(__hba, dst, field) \ field 137 drivers/scsi/bnx2i/bnx2i.h dst->field##_lo = __hba->stats.field##_lo; \ field 138 drivers/scsi/bnx2i/bnx2i.h dst->field##_hi = __hba->stats.field##_hi; \ field 142 drivers/scsi/bnx2i/bnx2i.h #define ADD_STATS_64(__hba, field, len) \ field 145 drivers/scsi/bnx2i/bnx2i.h if (__hba->stats.field##_lo + len < \ field 146 drivers/scsi/bnx2i/bnx2i.h __hba->stats.field##_lo) \ field 147 drivers/scsi/bnx2i/bnx2i.h __hba->stats.field##_hi++; \ field 148 drivers/scsi/bnx2i/bnx2i.h __hba->stats.field##_lo += len; \ field 154 drivers/scsi/bnx2i/bnx2i.h #define GET_STATS_64(__hba, dst, field) \ field 158 drivers/scsi/bnx2i/bnx2i.h val = __hba->bnx2i_stats.field; \ field 159 drivers/scsi/bnx2i/bnx2i.h out = (u64 *)&__hba->stats.field##_lo; \ field 161 drivers/scsi/bnx2i/bnx2i.h out = (u64 *)&dst->field##_lo; \ field 165 drivers/scsi/bnx2i/bnx2i.h #define ADD_STATS_64(__hba, field, len) \ field 167 drivers/scsi/bnx2i/bnx2i.h __hba->bnx2i_stats.field += len; \ field 3291 drivers/scsi/dpt_i2o.c int group, int field, void *buf, int buflen) field 3293 drivers/scsi/dpt_i2o.c u16 opblk[] = { 1, 0, I2O_PARAMS_FIELD_GET, group, 1, field }; field 3318 drivers/scsi/dpt_i2o.c if (field == -1) /* whole group */ field 270 drivers/scsi/dpti.h int group, int field, void *buf, int buflen); field 136 drivers/scsi/fcoe/fcoe_sysfs.c #define fcoe_ctlr_show_function(field, format_string, sz, cast) \ field 137 drivers/scsi/fcoe/fcoe_sysfs.c static ssize_t show_fcoe_ctlr_device_##field(struct device *dev, \ field 142 drivers/scsi/fcoe/fcoe_sysfs.c if (ctlr->f->get_fcoe_ctlr_##field) \ field 143 drivers/scsi/fcoe/fcoe_sysfs.c ctlr->f->get_fcoe_ctlr_##field(ctlr); \ field 145 drivers/scsi/fcoe/fcoe_sysfs.c cast fcoe_ctlr_##field(ctlr)); \ field 148 drivers/scsi/fcoe/fcoe_sysfs.c #define fcoe_fcf_show_function(field, format_string, sz, cast) \ field 149 drivers/scsi/fcoe/fcoe_sysfs.c static ssize_t show_fcoe_fcf_device_##field(struct device *dev, \ field 155 drivers/scsi/fcoe/fcoe_sysfs.c if (ctlr->f->get_fcoe_fcf_##field) \ field 156 drivers/scsi/fcoe/fcoe_sysfs.c ctlr->f->get_fcoe_fcf_##field(fcf); \ field 158 drivers/scsi/fcoe/fcoe_sysfs.c cast fcoe_fcf_##field(fcf)); \ field 161 drivers/scsi/fcoe/fcoe_sysfs.c #define fcoe_ctlr_private_show_function(field, format_string, sz, cast) \ field 162 drivers/scsi/fcoe/fcoe_sysfs.c static ssize_t show_fcoe_ctlr_device_##field(struct device *dev, \ field 167 drivers/scsi/fcoe/fcoe_sysfs.c return snprintf(buf, sz, format_string, cast fcoe_ctlr_##field(ctlr)); \ field 170 drivers/scsi/fcoe/fcoe_sysfs.c #define fcoe_fcf_private_show_function(field, format_string, sz, cast) \ field 171 drivers/scsi/fcoe/fcoe_sysfs.c static ssize_t show_fcoe_fcf_device_##field(struct device *dev, \ field 176 drivers/scsi/fcoe/fcoe_sysfs.c return snprintf(buf, sz, format_string, cast fcoe_fcf_##field(fcf)); \ field 179 drivers/scsi/fcoe/fcoe_sysfs.c #define fcoe_ctlr_private_rd_attr(field, format_string, sz) \ field 180 drivers/scsi/fcoe/fcoe_sysfs.c fcoe_ctlr_private_show_function(field, format_string, sz, ) \ field 181 drivers/scsi/fcoe/fcoe_sysfs.c static FCOE_DEVICE_ATTR(ctlr, field, S_IRUGO, \ field 182 drivers/scsi/fcoe/fcoe_sysfs.c show_fcoe_ctlr_device_##field, NULL) field 184 drivers/scsi/fcoe/fcoe_sysfs.c #define fcoe_ctlr_rd_attr(field, format_string, sz) \ field 185 drivers/scsi/fcoe/fcoe_sysfs.c fcoe_ctlr_show_function(field, format_string, sz, ) \ field 186 drivers/scsi/fcoe/fcoe_sysfs.c static FCOE_DEVICE_ATTR(ctlr, field, S_IRUGO, \ field 187 drivers/scsi/fcoe/fcoe_sysfs.c show_fcoe_ctlr_device_##field, NULL) field 189 drivers/scsi/fcoe/fcoe_sysfs.c #define fcoe_fcf_rd_attr(field, format_string, sz) \ field 190 drivers/scsi/fcoe/fcoe_sysfs.c fcoe_fcf_show_function(field, format_string, sz, ) \ field 191 drivers/scsi/fcoe/fcoe_sysfs.c static FCOE_DEVICE_ATTR(fcf, field, S_IRUGO, \ field 192 drivers/scsi/fcoe/fcoe_sysfs.c show_fcoe_fcf_device_##field, NULL) field 194 drivers/scsi/fcoe/fcoe_sysfs.c #define fcoe_fcf_private_rd_attr(field, format_string, sz) \ field 195 drivers/scsi/fcoe/fcoe_sysfs.c fcoe_fcf_private_show_function(field, format_string, sz, ) \ field 196 drivers/scsi/fcoe/fcoe_sysfs.c static FCOE_DEVICE_ATTR(fcf, field, S_IRUGO, \ field 197 drivers/scsi/fcoe/fcoe_sysfs.c show_fcoe_fcf_device_##field, NULL) field 199 drivers/scsi/fcoe/fcoe_sysfs.c #define fcoe_ctlr_private_rd_attr_cast(field, format_string, sz, cast) \ field 200 drivers/scsi/fcoe/fcoe_sysfs.c fcoe_ctlr_private_show_function(field, format_string, sz, (cast)) \ field 201 drivers/scsi/fcoe/fcoe_sysfs.c static FCOE_DEVICE_ATTR(ctlr, field, S_IRUGO, \ field 202 drivers/scsi/fcoe/fcoe_sysfs.c show_fcoe_ctlr_device_##field, NULL) field 204 drivers/scsi/fcoe/fcoe_sysfs.c #define fcoe_fcf_private_rd_attr_cast(field, format_string, sz, cast) \ field 205 drivers/scsi/fcoe/fcoe_sysfs.c fcoe_fcf_private_show_function(field, format_string, sz, (cast)) \ field 206 drivers/scsi/fcoe/fcoe_sysfs.c static FCOE_DEVICE_ATTR(fcf, field, S_IRUGO, \ field 207 drivers/scsi/fcoe/fcoe_sysfs.c show_fcoe_fcf_device_##field, NULL) field 6899 drivers/scsi/lpfc/lpfc_attr.c #define lpfc_rport_show_function(field, format_string, sz, cast) \ field 6901 drivers/scsi/lpfc/lpfc_attr.c lpfc_show_rport_##field (struct device *dev, \ field 6908 drivers/scsi/lpfc/lpfc_attr.c (rdata->target) ? cast rdata->target->field : 0); \ field 6911 drivers/scsi/lpfc/lpfc_attr.c #define lpfc_rport_rd_attr(field, format_string, sz) \ field 6912 drivers/scsi/lpfc/lpfc_attr.c lpfc_rport_show_function(field, format_string, sz, ) \ field 6913 drivers/scsi/lpfc/lpfc_attr.c static FC_RPORT_ATTR(field, S_IRUGO, lpfc_show_rport_##field, NULL) field 159 drivers/scsi/scsi_sysfs.c #define shost_show_function(name, field, format_string) \ field 165 drivers/scsi/scsi_sysfs.c return snprintf (buf, 20, format_string, shost->field); \ field 172 drivers/scsi/scsi_sysfs.c #define shost_rd_attr2(name, field, format_string) \ field 173 drivers/scsi/scsi_sysfs.c shost_show_function(name, field, format_string) \ field 176 drivers/scsi/scsi_sysfs.c #define shost_rd_attr(field, format_string) \ field 177 drivers/scsi/scsi_sysfs.c shost_rd_attr2(field, field, format_string) field 559 drivers/scsi/scsi_sysfs.c #define sdev_show_function(field, format_string) \ field 561 drivers/scsi/scsi_sysfs.c sdev_show_##field (struct device *dev, struct device_attribute *attr, \ field 566 drivers/scsi/scsi_sysfs.c return snprintf (buf, 20, format_string, sdev->field); \ field 573 drivers/scsi/scsi_sysfs.c #define sdev_rd_attr(field, format_string) \ field 574 drivers/scsi/scsi_sysfs.c sdev_show_function(field, format_string) \ field 575 drivers/scsi/scsi_sysfs.c static DEVICE_ATTR(field, S_IRUGO, sdev_show_##field, NULL); field 582 drivers/scsi/scsi_sysfs.c #define sdev_rw_attr(field, format_string) \ field 583 drivers/scsi/scsi_sysfs.c sdev_show_function(field, format_string) \ field 586 drivers/scsi/scsi_sysfs.c sdev_store_##field (struct device *dev, struct device_attribute *attr, \ field 591 drivers/scsi/scsi_sysfs.c sscanf (buf, format_string, &sdev->field); \ field 594 drivers/scsi/scsi_sysfs.c static DEVICE_ATTR(field, S_IRUGO | S_IWUSR, sdev_show_##field, sdev_store_##field); field 603 drivers/scsi/scsi_sysfs.c #define sdev_rw_attr_bit(field) \ field 604 drivers/scsi/scsi_sysfs.c sdev_show_function(field, "%d\n") \ field 607 drivers/scsi/scsi_sysfs.c sdev_store_##field (struct device *dev, struct device_attribute *attr, \ field 615 drivers/scsi/scsi_sysfs.c sdev->field = ret; \ field 620 drivers/scsi/scsi_sysfs.c static DEVICE_ATTR(field, S_IRUGO | S_IWUSR, sdev_show_##field, sdev_store_##field); field 904 drivers/scsi/scsi_sysfs.c #define show_sdev_iostat(field) \ field 906 drivers/scsi/scsi_sysfs.c show_iostat_##field(struct device *dev, struct device_attribute *attr, \ field 910 drivers/scsi/scsi_sysfs.c unsigned long long count = atomic_read(&sdev->field); \ field 913 drivers/scsi/scsi_sysfs.c static DEVICE_ATTR(field, S_IRUGO, show_iostat_##field, NULL) field 689 drivers/scsi/scsi_transport_fc.c #define fc_rport_show_function(field, format_string, sz, cast) \ field 691 drivers/scsi/scsi_transport_fc.c show_fc_rport_##field (struct device *dev, \ field 697 drivers/scsi/scsi_transport_fc.c if ((i->f->get_rport_##field) && \ field 701 drivers/scsi/scsi_transport_fc.c i->f->get_rport_##field(rport); \ field 702 drivers/scsi/scsi_transport_fc.c return snprintf(buf, sz, format_string, cast rport->field); \ field 705 drivers/scsi/scsi_transport_fc.c #define fc_rport_store_function(field) \ field 707 drivers/scsi/scsi_transport_fc.c store_fc_rport_##field(struct device *dev, \ field 723 drivers/scsi/scsi_transport_fc.c i->f->set_rport_##field(rport, val); \ field 727 drivers/scsi/scsi_transport_fc.c #define fc_rport_rd_attr(field, format_string, sz) \ field 728 drivers/scsi/scsi_transport_fc.c fc_rport_show_function(field, format_string, sz, ) \ field 729 drivers/scsi/scsi_transport_fc.c static FC_DEVICE_ATTR(rport, field, S_IRUGO, \ field 730 drivers/scsi/scsi_transport_fc.c show_fc_rport_##field, NULL) field 732 drivers/scsi/scsi_transport_fc.c #define fc_rport_rd_attr_cast(field, format_string, sz, cast) \ field 733 drivers/scsi/scsi_transport_fc.c fc_rport_show_function(field, format_string, sz, (cast)) \ field 734 drivers/scsi/scsi_transport_fc.c static FC_DEVICE_ATTR(rport, field, S_IRUGO, \ field 735 drivers/scsi/scsi_transport_fc.c show_fc_rport_##field, NULL) field 737 drivers/scsi/scsi_transport_fc.c #define fc_rport_rw_attr(field, format_string, sz) \ field 738 drivers/scsi/scsi_transport_fc.c fc_rport_show_function(field, format_string, sz, ) \ field 739 drivers/scsi/scsi_transport_fc.c fc_rport_store_function(field) \ field 740 drivers/scsi/scsi_transport_fc.c static FC_DEVICE_ATTR(rport, field, S_IRUGO | S_IWUSR, \ field 741 drivers/scsi/scsi_transport_fc.c show_fc_rport_##field, \ field 742 drivers/scsi/scsi_transport_fc.c store_fc_rport_##field) field 745 drivers/scsi/scsi_transport_fc.c #define fc_private_rport_show_function(field, format_string, sz, cast) \ field 747 drivers/scsi/scsi_transport_fc.c show_fc_rport_##field (struct device *dev, \ field 751 drivers/scsi/scsi_transport_fc.c return snprintf(buf, sz, format_string, cast rport->field); \ field 754 drivers/scsi/scsi_transport_fc.c #define fc_private_rport_rd_attr(field, format_string, sz) \ field 755 drivers/scsi/scsi_transport_fc.c fc_private_rport_show_function(field, format_string, sz, ) \ field 756 drivers/scsi/scsi_transport_fc.c static FC_DEVICE_ATTR(rport, field, S_IRUGO, \ field 757 drivers/scsi/scsi_transport_fc.c show_fc_rport_##field, NULL) field 759 drivers/scsi/scsi_transport_fc.c #define fc_private_rport_rd_attr_cast(field, format_string, sz, cast) \ field 760 drivers/scsi/scsi_transport_fc.c fc_private_rport_show_function(field, format_string, sz, (cast)) \ field 761 drivers/scsi/scsi_transport_fc.c static FC_DEVICE_ATTR(rport, field, S_IRUGO, \ field 762 drivers/scsi/scsi_transport_fc.c show_fc_rport_##field, NULL) field 781 drivers/scsi/scsi_transport_fc.c #define SETUP_RPORT_ATTRIBUTE_RD(field) \ field 782 drivers/scsi/scsi_transport_fc.c i->private_rport_attrs[count] = device_attr_rport_##field; \ field 786 drivers/scsi/scsi_transport_fc.c if (i->f->show_rport_##field) \ field 789 drivers/scsi/scsi_transport_fc.c #define SETUP_PRIVATE_RPORT_ATTRIBUTE_RD(field) \ field 790 drivers/scsi/scsi_transport_fc.c i->private_rport_attrs[count] = device_attr_rport_##field; \ field 796 drivers/scsi/scsi_transport_fc.c #define SETUP_RPORT_ATTRIBUTE_RW(field) \ field 797 drivers/scsi/scsi_transport_fc.c i->private_rport_attrs[count] = device_attr_rport_##field; \ field 798 drivers/scsi/scsi_transport_fc.c if (!i->f->set_rport_##field) { \ field 803 drivers/scsi/scsi_transport_fc.c if (i->f->show_rport_##field) \ field 806 drivers/scsi/scsi_transport_fc.c #define SETUP_PRIVATE_RPORT_ATTRIBUTE_RW(field) \ field 808 drivers/scsi/scsi_transport_fc.c i->private_rport_attrs[count] = device_attr_rport_##field; \ field 1004 drivers/scsi/scsi_transport_fc.c #define fc_starget_show_function(field, format_string, sz, cast) \ field 1006 drivers/scsi/scsi_transport_fc.c show_fc_starget_##field (struct device *dev, \ field 1014 drivers/scsi/scsi_transport_fc.c fc_starget_##field(starget) = rport->field; \ field 1015 drivers/scsi/scsi_transport_fc.c else if (i->f->get_starget_##field) \ field 1016 drivers/scsi/scsi_transport_fc.c i->f->get_starget_##field(starget); \ field 1018 drivers/scsi/scsi_transport_fc.c cast fc_starget_##field(starget)); \ field 1021 drivers/scsi/scsi_transport_fc.c #define fc_starget_rd_attr(field, format_string, sz) \ field 1022 drivers/scsi/scsi_transport_fc.c fc_starget_show_function(field, format_string, sz, ) \ field 1023 drivers/scsi/scsi_transport_fc.c static FC_DEVICE_ATTR(starget, field, S_IRUGO, \ field 1024 drivers/scsi/scsi_transport_fc.c show_fc_starget_##field, NULL) field 1026 drivers/scsi/scsi_transport_fc.c #define fc_starget_rd_attr_cast(field, format_string, sz, cast) \ field 1027 drivers/scsi/scsi_transport_fc.c fc_starget_show_function(field, format_string, sz, (cast)) \ field 1028 drivers/scsi/scsi_transport_fc.c static FC_DEVICE_ATTR(starget, field, S_IRUGO, \ field 1029 drivers/scsi/scsi_transport_fc.c show_fc_starget_##field, NULL) field 1031 drivers/scsi/scsi_transport_fc.c #define SETUP_STARGET_ATTRIBUTE_RD(field) \ field 1032 drivers/scsi/scsi_transport_fc.c i->private_starget_attrs[count] = device_attr_starget_##field; \ field 1036 drivers/scsi/scsi_transport_fc.c if (i->f->show_starget_##field) \ field 1039 drivers/scsi/scsi_transport_fc.c #define SETUP_STARGET_ATTRIBUTE_RW(field) \ field 1040 drivers/scsi/scsi_transport_fc.c i->private_starget_attrs[count] = device_attr_starget_##field; \ field 1041 drivers/scsi/scsi_transport_fc.c if (!i->f->set_starget_##field) { \ field 1046 drivers/scsi/scsi_transport_fc.c if (i->f->show_starget_##field) \ field 1059 drivers/scsi/scsi_transport_fc.c #define fc_vport_show_function(field, format_string, sz, cast) \ field 1061 drivers/scsi/scsi_transport_fc.c show_fc_vport_##field (struct device *dev, \ field 1067 drivers/scsi/scsi_transport_fc.c if ((i->f->get_vport_##field) && \ field 1069 drivers/scsi/scsi_transport_fc.c i->f->get_vport_##field(vport); \ field 1070 drivers/scsi/scsi_transport_fc.c return snprintf(buf, sz, format_string, cast vport->field); \ field 1073 drivers/scsi/scsi_transport_fc.c #define fc_vport_store_function(field) \ field 1075 drivers/scsi/scsi_transport_fc.c store_fc_vport_##field(struct device *dev, \ field 1089 drivers/scsi/scsi_transport_fc.c i->f->set_vport_##field(vport, val); \ field 1093 drivers/scsi/scsi_transport_fc.c #define fc_vport_store_str_function(field, slen) \ field 1095 drivers/scsi/scsi_transport_fc.c store_fc_vport_##field(struct device *dev, \ field 1109 drivers/scsi/scsi_transport_fc.c memcpy(vport->field, buf, cnt); \ field 1110 drivers/scsi/scsi_transport_fc.c i->f->set_vport_##field(vport); \ field 1114 drivers/scsi/scsi_transport_fc.c #define fc_vport_rd_attr(field, format_string, sz) \ field 1115 drivers/scsi/scsi_transport_fc.c fc_vport_show_function(field, format_string, sz, ) \ field 1116 drivers/scsi/scsi_transport_fc.c static FC_DEVICE_ATTR(vport, field, S_IRUGO, \ field 1117 drivers/scsi/scsi_transport_fc.c show_fc_vport_##field, NULL) field 1119 drivers/scsi/scsi_transport_fc.c #define fc_vport_rd_attr_cast(field, format_string, sz, cast) \ field 1120 drivers/scsi/scsi_transport_fc.c fc_vport_show_function(field, format_string, sz, (cast)) \ field 1121 drivers/scsi/scsi_transport_fc.c static FC_DEVICE_ATTR(vport, field, S_IRUGO, \ field 1122 drivers/scsi/scsi_transport_fc.c show_fc_vport_##field, NULL) field 1124 drivers/scsi/scsi_transport_fc.c #define fc_vport_rw_attr(field, format_string, sz) \ field 1125 drivers/scsi/scsi_transport_fc.c fc_vport_show_function(field, format_string, sz, ) \ field 1126 drivers/scsi/scsi_transport_fc.c fc_vport_store_function(field) \ field 1127 drivers/scsi/scsi_transport_fc.c static FC_DEVICE_ATTR(vport, field, S_IRUGO | S_IWUSR, \ field 1128 drivers/scsi/scsi_transport_fc.c show_fc_vport_##field, \ field 1129 drivers/scsi/scsi_transport_fc.c store_fc_vport_##field) field 1131 drivers/scsi/scsi_transport_fc.c #define fc_private_vport_show_function(field, format_string, sz, cast) \ field 1133 drivers/scsi/scsi_transport_fc.c show_fc_vport_##field (struct device *dev, \ field 1137 drivers/scsi/scsi_transport_fc.c return snprintf(buf, sz, format_string, cast vport->field); \ field 1140 drivers/scsi/scsi_transport_fc.c #define fc_private_vport_store_u32_function(field) \ field 1142 drivers/scsi/scsi_transport_fc.c store_fc_vport_##field(struct device *dev, \ field 1154 drivers/scsi/scsi_transport_fc.c vport->field = val; \ field 1159 drivers/scsi/scsi_transport_fc.c #define fc_private_vport_rd_attr(field, format_string, sz) \ field 1160 drivers/scsi/scsi_transport_fc.c fc_private_vport_show_function(field, format_string, sz, ) \ field 1161 drivers/scsi/scsi_transport_fc.c static FC_DEVICE_ATTR(vport, field, S_IRUGO, \ field 1162 drivers/scsi/scsi_transport_fc.c show_fc_vport_##field, NULL) field 1164 drivers/scsi/scsi_transport_fc.c #define fc_private_vport_rd_attr_cast(field, format_string, sz, cast) \ field 1165 drivers/scsi/scsi_transport_fc.c fc_private_vport_show_function(field, format_string, sz, (cast)) \ field 1166 drivers/scsi/scsi_transport_fc.c static FC_DEVICE_ATTR(vport, field, S_IRUGO, \ field 1167 drivers/scsi/scsi_transport_fc.c show_fc_vport_##field, NULL) field 1169 drivers/scsi/scsi_transport_fc.c #define fc_private_vport_rw_u32_attr(field, format_string, sz) \ field 1170 drivers/scsi/scsi_transport_fc.c fc_private_vport_show_function(field, format_string, sz, ) \ field 1171 drivers/scsi/scsi_transport_fc.c fc_private_vport_store_u32_function(field) \ field 1172 drivers/scsi/scsi_transport_fc.c static FC_DEVICE_ATTR(vport, field, S_IRUGO | S_IWUSR, \ field 1173 drivers/scsi/scsi_transport_fc.c show_fc_vport_##field, \ field 1174 drivers/scsi/scsi_transport_fc.c store_fc_vport_##field) field 1194 drivers/scsi/scsi_transport_fc.c #define SETUP_VPORT_ATTRIBUTE_RD(field) \ field 1195 drivers/scsi/scsi_transport_fc.c i->private_vport_attrs[count] = device_attr_vport_##field; \ field 1199 drivers/scsi/scsi_transport_fc.c if (i->f->get_##field) \ field 1203 drivers/scsi/scsi_transport_fc.c #define SETUP_PRIVATE_VPORT_ATTRIBUTE_RD(field) \ field 1204 drivers/scsi/scsi_transport_fc.c i->private_vport_attrs[count] = device_attr_vport_##field; \ field 1210 drivers/scsi/scsi_transport_fc.c #define SETUP_VPORT_ATTRIBUTE_WR(field) \ field 1211 drivers/scsi/scsi_transport_fc.c i->private_vport_attrs[count] = device_attr_vport_##field; \ field 1213 drivers/scsi/scsi_transport_fc.c if (i->f->field) \ field 1217 drivers/scsi/scsi_transport_fc.c #define SETUP_VPORT_ATTRIBUTE_RW(field) \ field 1218 drivers/scsi/scsi_transport_fc.c i->private_vport_attrs[count] = device_attr_vport_##field; \ field 1219 drivers/scsi/scsi_transport_fc.c if (!i->f->set_vport_##field) { \ field 1227 drivers/scsi/scsi_transport_fc.c #define SETUP_PRIVATE_VPORT_ATTRIBUTE_RW(field) \ field 1229 drivers/scsi/scsi_transport_fc.c i->private_vport_attrs[count] = device_attr_vport_##field; \ field 1328 drivers/scsi/scsi_transport_fc.c #define fc_host_show_function(field, format_string, sz, cast) \ field 1330 drivers/scsi/scsi_transport_fc.c show_fc_host_##field (struct device *dev, \ field 1335 drivers/scsi/scsi_transport_fc.c if (i->f->get_host_##field) \ field 1336 drivers/scsi/scsi_transport_fc.c i->f->get_host_##field(shost); \ field 1337 drivers/scsi/scsi_transport_fc.c return snprintf(buf, sz, format_string, cast fc_host_##field(shost)); \ field 1340 drivers/scsi/scsi_transport_fc.c #define fc_host_store_function(field) \ field 1342 drivers/scsi/scsi_transport_fc.c store_fc_host_##field(struct device *dev, \ field 1354 drivers/scsi/scsi_transport_fc.c i->f->set_host_##field(shost, val); \ field 1358 drivers/scsi/scsi_transport_fc.c #define fc_host_store_str_function(field, slen) \ field 1360 drivers/scsi/scsi_transport_fc.c store_fc_host_##field(struct device *dev, \ field 1373 drivers/scsi/scsi_transport_fc.c memcpy(fc_host_##field(shost), buf, cnt); \ field 1374 drivers/scsi/scsi_transport_fc.c i->f->set_host_##field(shost); \ field 1378 drivers/scsi/scsi_transport_fc.c #define fc_host_rd_attr(field, format_string, sz) \ field 1379 drivers/scsi/scsi_transport_fc.c fc_host_show_function(field, format_string, sz, ) \ field 1380 drivers/scsi/scsi_transport_fc.c static FC_DEVICE_ATTR(host, field, S_IRUGO, \ field 1381 drivers/scsi/scsi_transport_fc.c show_fc_host_##field, NULL) field 1383 drivers/scsi/scsi_transport_fc.c #define fc_host_rd_attr_cast(field, format_string, sz, cast) \ field 1384 drivers/scsi/scsi_transport_fc.c fc_host_show_function(field, format_string, sz, (cast)) \ field 1385 drivers/scsi/scsi_transport_fc.c static FC_DEVICE_ATTR(host, field, S_IRUGO, \ field 1386 drivers/scsi/scsi_transport_fc.c show_fc_host_##field, NULL) field 1388 drivers/scsi/scsi_transport_fc.c #define fc_host_rw_attr(field, format_string, sz) \ field 1389 drivers/scsi/scsi_transport_fc.c fc_host_show_function(field, format_string, sz, ) \ field 1390 drivers/scsi/scsi_transport_fc.c fc_host_store_function(field) \ field 1391 drivers/scsi/scsi_transport_fc.c static FC_DEVICE_ATTR(host, field, S_IRUGO | S_IWUSR, \ field 1392 drivers/scsi/scsi_transport_fc.c show_fc_host_##field, \ field 1393 drivers/scsi/scsi_transport_fc.c store_fc_host_##field) field 1412 drivers/scsi/scsi_transport_fc.c #define SETUP_HOST_ATTRIBUTE_RD(field) \ field 1413 drivers/scsi/scsi_transport_fc.c i->private_host_attrs[count] = device_attr_host_##field; \ field 1417 drivers/scsi/scsi_transport_fc.c if (i->f->show_host_##field) \ field 1420 drivers/scsi/scsi_transport_fc.c #define SETUP_HOST_ATTRIBUTE_RD_NS(field) \ field 1421 drivers/scsi/scsi_transport_fc.c i->private_host_attrs[count] = device_attr_host_##field; \ field 1427 drivers/scsi/scsi_transport_fc.c #define SETUP_HOST_ATTRIBUTE_RW(field) \ field 1428 drivers/scsi/scsi_transport_fc.c i->private_host_attrs[count] = device_attr_host_##field; \ field 1429 drivers/scsi/scsi_transport_fc.c if (!i->f->set_host_##field) { \ field 1434 drivers/scsi/scsi_transport_fc.c if (i->f->show_host_##field) \ field 1438 drivers/scsi/scsi_transport_fc.c #define fc_private_host_show_function(field, format_string, sz, cast) \ field 1440 drivers/scsi/scsi_transport_fc.c show_fc_host_##field (struct device *dev, \ field 1444 drivers/scsi/scsi_transport_fc.c return snprintf(buf, sz, format_string, cast fc_host_##field(shost)); \ field 1447 drivers/scsi/scsi_transport_fc.c #define fc_private_host_rd_attr(field, format_string, sz) \ field 1448 drivers/scsi/scsi_transport_fc.c fc_private_host_show_function(field, format_string, sz, ) \ field 1449 drivers/scsi/scsi_transport_fc.c static FC_DEVICE_ATTR(host, field, S_IRUGO, \ field 1450 drivers/scsi/scsi_transport_fc.c show_fc_host_##field, NULL) field 1452 drivers/scsi/scsi_transport_fc.c #define fc_private_host_rd_attr_cast(field, format_string, sz, cast) \ field 1453 drivers/scsi/scsi_transport_fc.c fc_private_host_show_function(field, format_string, sz, (cast)) \ field 1454 drivers/scsi/scsi_transport_fc.c static FC_DEVICE_ATTR(host, field, S_IRUGO, \ field 1455 drivers/scsi/scsi_transport_fc.c show_fc_host_##field, NULL) field 1457 drivers/scsi/scsi_transport_fc.c #define SETUP_PRIVATE_HOST_ATTRIBUTE_RD(field) \ field 1458 drivers/scsi/scsi_transport_fc.c i->private_host_attrs[count] = device_attr_host_##field; \ field 1464 drivers/scsi/scsi_transport_fc.c #define SETUP_PRIVATE_HOST_ATTRIBUTE_RW(field) \ field 1466 drivers/scsi/scsi_transport_fc.c i->private_host_attrs[count] = device_attr_host_##field; \ field 3767 drivers/scsi/scsi_transport_iscsi.c #define iscsi_conn_attr(field, param) \ field 3769 drivers/scsi/scsi_transport_iscsi.c static ISCSI_CLASS_ATTR(conn, field, S_IRUGO, show_conn_param_##param, \ field 3831 drivers/scsi/scsi_transport_iscsi.c #define iscsi_conn_ep_attr(field, param) \ field 3833 drivers/scsi/scsi_transport_iscsi.c static ISCSI_CLASS_ATTR(conn, field, S_IRUGO, \ field 3971 drivers/scsi/scsi_transport_iscsi.c #define iscsi_session_attr(field, param, perm) \ field 3973 drivers/scsi/scsi_transport_iscsi.c static ISCSI_CLASS_ATTR(sess, field, S_IRUGO, show_session_param_##param, \ field 4045 drivers/scsi/scsi_transport_iscsi.c #define iscsi_priv_session_attr_show(field, format) \ field 4047 drivers/scsi/scsi_transport_iscsi.c show_priv_session_##field(struct device *dev, \ field 4052 drivers/scsi/scsi_transport_iscsi.c if (session->field == -1) \ field 4054 drivers/scsi/scsi_transport_iscsi.c return sprintf(buf, format"\n", session->field); \ field 4057 drivers/scsi/scsi_transport_iscsi.c #define iscsi_priv_session_attr_store(field) \ field 4059 drivers/scsi/scsi_transport_iscsi.c store_priv_session_##field(struct device *dev, \ field 4071 drivers/scsi/scsi_transport_iscsi.c session->field = -1; \ field 4072 drivers/scsi/scsi_transport_iscsi.c session->field##_sysfs_override = true; \ field 4077 drivers/scsi/scsi_transport_iscsi.c session->field = val; \ field 4078 drivers/scsi/scsi_transport_iscsi.c session->field##_sysfs_override = true; \ field 4083 drivers/scsi/scsi_transport_iscsi.c #define iscsi_priv_session_rw_attr(field, format) \ field 4084 drivers/scsi/scsi_transport_iscsi.c iscsi_priv_session_attr_show(field, format) \ field 4085 drivers/scsi/scsi_transport_iscsi.c iscsi_priv_session_attr_store(field) \ field 4086 drivers/scsi/scsi_transport_iscsi.c static ISCSI_CLASS_ATTR(priv_sess, field, S_IRUGO | S_IWUSR, \ field 4087 drivers/scsi/scsi_transport_iscsi.c show_priv_session_##field, \ field 4088 drivers/scsi/scsi_transport_iscsi.c store_priv_session_##field) field 4262 drivers/scsi/scsi_transport_iscsi.c #define iscsi_host_attr(field, param) \ field 4264 drivers/scsi/scsi_transport_iscsi.c static ISCSI_CLASS_ATTR(host, field, S_IRUGO, show_host_param_##param, \ field 417 drivers/scsi/scsi_transport_sas.c #define sas_phy_show_simple(field, name, format_string, cast) \ field 424 drivers/scsi/scsi_transport_sas.c return snprintf(buf, 20, format_string, cast phy->field); \ field 427 drivers/scsi/scsi_transport_sas.c #define sas_phy_simple_attr(field, name, format_string, type) \ field 428 drivers/scsi/scsi_transport_sas.c sas_phy_show_simple(field, name, format_string, (type)) \ field 431 drivers/scsi/scsi_transport_sas.c #define sas_phy_show_protocol(field, name) \ field 438 drivers/scsi/scsi_transport_sas.c if (!phy->field) \ field 440 drivers/scsi/scsi_transport_sas.c return get_sas_protocol_names(phy->field, buf); \ field 443 drivers/scsi/scsi_transport_sas.c #define sas_phy_protocol_attr(field, name) \ field 444 drivers/scsi/scsi_transport_sas.c sas_phy_show_protocol(field, name) \ field 447 drivers/scsi/scsi_transport_sas.c #define sas_phy_show_linkspeed(field) \ field 449 drivers/scsi/scsi_transport_sas.c show_sas_phy_##field(struct device *dev, \ field 454 drivers/scsi/scsi_transport_sas.c return get_sas_linkspeed_names(phy->field, buf); \ field 458 drivers/scsi/scsi_transport_sas.c #define sas_phy_store_linkspeed(field) \ field 460 drivers/scsi/scsi_transport_sas.c store_sas_phy_##field(struct device *dev, \ field 474 drivers/scsi/scsi_transport_sas.c rates.field = value; \ field 480 drivers/scsi/scsi_transport_sas.c #define sas_phy_linkspeed_rw_attr(field) \ field 481 drivers/scsi/scsi_transport_sas.c sas_phy_show_linkspeed(field) \ field 482 drivers/scsi/scsi_transport_sas.c sas_phy_store_linkspeed(field) \ field 483 drivers/scsi/scsi_transport_sas.c static DEVICE_ATTR(field, S_IRUGO, show_sas_phy_##field, \ field 484 drivers/scsi/scsi_transport_sas.c store_sas_phy_##field) field 486 drivers/scsi/scsi_transport_sas.c #define sas_phy_linkspeed_attr(field) \ field 487 drivers/scsi/scsi_transport_sas.c sas_phy_show_linkspeed(field) \ field 488 drivers/scsi/scsi_transport_sas.c static DEVICE_ATTR(field, S_IRUGO, show_sas_phy_##field, NULL) field 491 drivers/scsi/scsi_transport_sas.c #define sas_phy_show_linkerror(field) \ field 493 drivers/scsi/scsi_transport_sas.c show_sas_phy_##field(struct device *dev, \ field 504 drivers/scsi/scsi_transport_sas.c return snprintf(buf, 20, "%u\n", phy->field); \ field 507 drivers/scsi/scsi_transport_sas.c #define sas_phy_linkerror_attr(field) \ field 508 drivers/scsi/scsi_transport_sas.c sas_phy_show_linkerror(field) \ field 509 drivers/scsi/scsi_transport_sas.c static DEVICE_ATTR(field, S_IRUGO, show_sas_phy_##field, NULL) field 783 drivers/scsi/scsi_transport_sas.c #define sas_port_show_simple(field, name, format_string, cast) \ field 790 drivers/scsi/scsi_transport_sas.c return snprintf(buf, 20, format_string, cast port->field); \ field 793 drivers/scsi/scsi_transport_sas.c #define sas_port_simple_attr(field, name, format_string, type) \ field 794 drivers/scsi/scsi_transport_sas.c sas_port_show_simple(field, name, format_string, (type)) \ field 1130 drivers/scsi/scsi_transport_sas.c #define sas_rphy_show_simple(field, name, format_string, cast) \ field 1137 drivers/scsi/scsi_transport_sas.c return snprintf(buf, 20, format_string, cast rphy->field); \ field 1140 drivers/scsi/scsi_transport_sas.c #define sas_rphy_simple_attr(field, name, format_string, type) \ field 1141 drivers/scsi/scsi_transport_sas.c sas_rphy_show_simple(field, name, format_string, (type)) \ field 1145 drivers/scsi/scsi_transport_sas.c #define sas_rphy_show_protocol(field, name) \ field 1152 drivers/scsi/scsi_transport_sas.c if (!rphy->field) \ field 1154 drivers/scsi/scsi_transport_sas.c return get_sas_protocol_names(rphy->field, buf); \ field 1157 drivers/scsi/scsi_transport_sas.c #define sas_rphy_protocol_attr(field, name) \ field 1158 drivers/scsi/scsi_transport_sas.c sas_rphy_show_protocol(field, name) \ field 1265 drivers/scsi/scsi_transport_sas.c #define sas_end_dev_show_simple(field, name, format_string, cast) \ field 1273 drivers/scsi/scsi_transport_sas.c return snprintf(buf, 20, format_string, cast rdev->field); \ field 1276 drivers/scsi/scsi_transport_sas.c #define sas_end_dev_simple_attr(field, name, format_string, type) \ field 1277 drivers/scsi/scsi_transport_sas.c sas_end_dev_show_simple(field, name, format_string, (type)) \ field 1294 drivers/scsi/scsi_transport_sas.c #define sas_expander_show_simple(field, name, format_string, cast) \ field 1302 drivers/scsi/scsi_transport_sas.c return snprintf(buf, 20, format_string, cast edev->field); \ field 1305 drivers/scsi/scsi_transport_sas.c #define sas_expander_simple_attr(field, name, format_string, type) \ field 1306 drivers/scsi/scsi_transport_sas.c sas_expander_show_simple(field, name, format_string, (type)) \ field 1684 drivers/scsi/scsi_transport_sas.c #define SETUP_TEMPLATE(attrb, field, perm, test) \ field 1685 drivers/scsi/scsi_transport_sas.c i->private_##attrb[count] = dev_attr_##field; \ field 1691 drivers/scsi/scsi_transport_sas.c #define SETUP_TEMPLATE_RW(attrb, field, perm, test, ro_test, ro_perm) \ field 1692 drivers/scsi/scsi_transport_sas.c i->private_##attrb[count] = dev_attr_##field; \ field 1702 drivers/scsi/scsi_transport_sas.c #define SETUP_RPORT_ATTRIBUTE(field) \ field 1703 drivers/scsi/scsi_transport_sas.c SETUP_TEMPLATE(rphy_attrs, field, S_IRUGO, 1) field 1705 drivers/scsi/scsi_transport_sas.c #define SETUP_OPTIONAL_RPORT_ATTRIBUTE(field, func) \ field 1706 drivers/scsi/scsi_transport_sas.c SETUP_TEMPLATE(rphy_attrs, field, S_IRUGO, i->f->func) field 1708 drivers/scsi/scsi_transport_sas.c #define SETUP_PHY_ATTRIBUTE(field) \ field 1709 drivers/scsi/scsi_transport_sas.c SETUP_TEMPLATE(phy_attrs, field, S_IRUGO, 1) field 1711 drivers/scsi/scsi_transport_sas.c #define SETUP_PHY_ATTRIBUTE_RW(field) \ field 1712 drivers/scsi/scsi_transport_sas.c SETUP_TEMPLATE_RW(phy_attrs, field, S_IRUGO | S_IWUSR, 1, \ field 1715 drivers/scsi/scsi_transport_sas.c #define SETUP_OPTIONAL_PHY_ATTRIBUTE_RW(field, func) \ field 1716 drivers/scsi/scsi_transport_sas.c SETUP_TEMPLATE_RW(phy_attrs, field, S_IRUGO | S_IWUSR, 1, \ field 1719 drivers/scsi/scsi_transport_sas.c #define SETUP_PORT_ATTRIBUTE(field) \ field 1720 drivers/scsi/scsi_transport_sas.c SETUP_TEMPLATE(port_attrs, field, S_IRUGO, 1) field 1722 drivers/scsi/scsi_transport_sas.c #define SETUP_OPTIONAL_PHY_ATTRIBUTE(field, func) \ field 1723 drivers/scsi/scsi_transport_sas.c SETUP_TEMPLATE(phy_attrs, field, S_IRUGO, i->f->func) field 1725 drivers/scsi/scsi_transport_sas.c #define SETUP_PHY_ATTRIBUTE_WRONLY(field) \ field 1726 drivers/scsi/scsi_transport_sas.c SETUP_TEMPLATE(phy_attrs, field, S_IWUSR, 1) field 1728 drivers/scsi/scsi_transport_sas.c #define SETUP_OPTIONAL_PHY_ATTRIBUTE_WRONLY(field, func) \ field 1729 drivers/scsi/scsi_transport_sas.c SETUP_TEMPLATE(phy_attrs, field, S_IWUSR, i->f->func) field 1731 drivers/scsi/scsi_transport_sas.c #define SETUP_END_DEV_ATTRIBUTE(field) \ field 1732 drivers/scsi/scsi_transport_sas.c SETUP_TEMPLATE(end_dev_attrs, field, S_IRUGO, 1) field 1734 drivers/scsi/scsi_transport_sas.c #define SETUP_EXPANDER_ATTRIBUTE(field) \ field 1735 drivers/scsi/scsi_transport_sas.c SETUP_TEMPLATE(expander_attrs, expander_##field, S_IRUGO, 1) field 265 drivers/scsi/scsi_transport_spi.c #define spi_transport_show_simple(field, format_string) \ field 268 drivers/scsi/scsi_transport_spi.c show_spi_transport_##field(struct device *dev, \ field 275 drivers/scsi/scsi_transport_spi.c return snprintf(buf, 20, format_string, tp->field); \ field 278 drivers/scsi/scsi_transport_spi.c #define spi_transport_store_simple(field, format_string) \ field 281 drivers/scsi/scsi_transport_spi.c store_spi_transport_##field(struct device *dev, \ field 291 drivers/scsi/scsi_transport_spi.c tp->field = val; \ field 295 drivers/scsi/scsi_transport_spi.c #define spi_transport_show_function(field, format_string) \ field 298 drivers/scsi/scsi_transport_spi.c show_spi_transport_##field(struct device *dev, \ field 306 drivers/scsi/scsi_transport_spi.c if (i->f->get_##field) \ field 307 drivers/scsi/scsi_transport_spi.c i->f->get_##field(starget); \ field 308 drivers/scsi/scsi_transport_spi.c return snprintf(buf, 20, format_string, tp->field); \ field 311 drivers/scsi/scsi_transport_spi.c #define spi_transport_store_function(field, format_string) \ field 313 drivers/scsi/scsi_transport_spi.c store_spi_transport_##field(struct device *dev, \ field 322 drivers/scsi/scsi_transport_spi.c if (!i->f->set_##field) \ field 325 drivers/scsi/scsi_transport_spi.c i->f->set_##field(starget, val); \ field 329 drivers/scsi/scsi_transport_spi.c #define spi_transport_store_max(field, format_string) \ field 331 drivers/scsi/scsi_transport_spi.c store_spi_transport_##field(struct device *dev, \ field 342 drivers/scsi/scsi_transport_spi.c if (i->f->set_##field) \ field 345 drivers/scsi/scsi_transport_spi.c if (val > tp->max_##field) \ field 346 drivers/scsi/scsi_transport_spi.c val = tp->max_##field; \ field 347 drivers/scsi/scsi_transport_spi.c i->f->set_##field(starget, val); \ field 351 drivers/scsi/scsi_transport_spi.c #define spi_transport_rd_attr(field, format_string) \ field 352 drivers/scsi/scsi_transport_spi.c spi_transport_show_function(field, format_string) \ field 353 drivers/scsi/scsi_transport_spi.c spi_transport_store_function(field, format_string) \ field 354 drivers/scsi/scsi_transport_spi.c static DEVICE_ATTR(field, S_IRUGO, \ field 355 drivers/scsi/scsi_transport_spi.c show_spi_transport_##field, \ field 356 drivers/scsi/scsi_transport_spi.c store_spi_transport_##field); field 358 drivers/scsi/scsi_transport_spi.c #define spi_transport_simple_attr(field, format_string) \ field 359 drivers/scsi/scsi_transport_spi.c spi_transport_show_simple(field, format_string) \ field 360 drivers/scsi/scsi_transport_spi.c spi_transport_store_simple(field, format_string) \ field 361 drivers/scsi/scsi_transport_spi.c static DEVICE_ATTR(field, S_IRUGO, \ field 362 drivers/scsi/scsi_transport_spi.c show_spi_transport_##field, \ field 363 drivers/scsi/scsi_transport_spi.c store_spi_transport_##field); field 365 drivers/scsi/scsi_transport_spi.c #define spi_transport_max_attr(field, format_string) \ field 366 drivers/scsi/scsi_transport_spi.c spi_transport_show_function(field, format_string) \ field 367 drivers/scsi/scsi_transport_spi.c spi_transport_store_max(field, format_string) \ field 368 drivers/scsi/scsi_transport_spi.c spi_transport_simple_attr(max_##field, format_string) \ field 369 drivers/scsi/scsi_transport_spi.c static DEVICE_ATTR(field, S_IRUGO, \ field 370 drivers/scsi/scsi_transport_spi.c show_spi_transport_##field, \ field 371 drivers/scsi/scsi_transport_spi.c store_spi_transport_##field); field 17 drivers/sh/superhyway/superhyway-sysfs.c #define superhyway_ro_attr(name, fmt, field) \ field 21 drivers/sh/superhyway/superhyway-sysfs.c return sprintf(buf, fmt, s->field); \ field 269 drivers/soc/xilinx/xlnx_vcu.c u32 field, u32 mask, int shift) field 274 drivers/soc/xilinx/xlnx_vcu.c val |= (field & mask) << shift; field 118 drivers/spi/spi.c #define SPI_STATISTICS_ATTRS(field, file) \ field 119 drivers/spi/spi.c static ssize_t spi_controller_##field##_show(struct device *dev, \ field 125 drivers/spi/spi.c return spi_statistics_##field##_show(&ctlr->statistics, buf); \ field 127 drivers/spi/spi.c static struct device_attribute dev_attr_spi_controller_##field = { \ field 129 drivers/spi/spi.c .show = spi_controller_##field##_show, \ field 131 drivers/spi/spi.c static ssize_t spi_device_##field##_show(struct device *dev, \ field 136 drivers/spi/spi.c return spi_statistics_##field##_show(&spi->statistics, buf); \ field 138 drivers/spi/spi.c static struct device_attribute dev_attr_spi_device_##field = { \ field 140 drivers/spi/spi.c .show = spi_device_##field##_show, \ field 143 drivers/spi/spi.c #define SPI_STATISTICS_SHOW_NAME(name, file, field, format_string) \ field 150 drivers/spi/spi.c len = sprintf(buf, format_string, stat->field); \ field 156 drivers/spi/spi.c #define SPI_STATISTICS_SHOW(field, format_string) \ field 157 drivers/spi/spi.c SPI_STATISTICS_SHOW_NAME(field, __stringify(field), \ field 158 drivers/spi/spi.c field, format_string) field 354 drivers/ssb/main.c #define ssb_config_attr(attrib, field, format_string) \ field 358 drivers/ssb/main.c return sprintf(buf, format_string, dev_to_ssb_dev(dev)->field); \ field 73 drivers/staging/fsl-dpaa2/ethsw/dpsw-cmd.h #define DPSW_MASK(field) \ field 74 drivers/staging/fsl-dpaa2/ethsw/dpsw-cmd.h GENMASK(DPSW_##field##_SHIFT + DPSW_##field##_SIZE - 1, \ field 75 drivers/staging/fsl-dpaa2/ethsw/dpsw-cmd.h DPSW_##field##_SHIFT) field 76 drivers/staging/fsl-dpaa2/ethsw/dpsw-cmd.h #define dpsw_set_field(var, field, val) \ field 77 drivers/staging/fsl-dpaa2/ethsw/dpsw-cmd.h ((var) |= (((val) << DPSW_##field##_SHIFT) & DPSW_MASK(field))) field 78 drivers/staging/fsl-dpaa2/ethsw/dpsw-cmd.h #define dpsw_get_field(var, field) \ field 79 drivers/staging/fsl-dpaa2/ethsw/dpsw-cmd.h (((var) & DPSW_MASK(field)) >> DPSW_##field##_SHIFT) field 106 drivers/staging/fwserial/fwserial.h #define to_peer(ptr, field) (container_of(ptr, struct fwtty_peer, field)) field 276 drivers/staging/fwserial/fwserial.h #define to_port(ptr, field) (container_of(ptr, struct fwtty_port, field)) field 337 drivers/staging/fwserial/fwserial.h #define to_serial(ptr, field) (container_of(ptr, struct fw_serial, field)) field 122 drivers/staging/greybus/loopback.c #define gb_loopback_ro_attr(field) \ field 123 drivers/staging/greybus/loopback.c static ssize_t field##_show(struct device *dev, \ field 128 drivers/staging/greybus/loopback.c return sprintf(buf, "%u\n", gb->field); \ field 130 drivers/staging/greybus/loopback.c static DEVICE_ATTR_RO(field) field 132 drivers/staging/greybus/loopback.c #define gb_loopback_ro_stats_attr(name, field, type) \ field 133 drivers/staging/greybus/loopback.c static ssize_t name##_##field##_show(struct device *dev, \ field 141 drivers/staging/greybus/loopback.c return sprintf(buf, "%" #type "\n", gb->name.field); \ field 143 drivers/staging/greybus/loopback.c static DEVICE_ATTR_RO(name##_##field) field 165 drivers/staging/greybus/loopback.c #define gb_loopback_stats_attrs(field) \ field 166 drivers/staging/greybus/loopback.c gb_loopback_ro_stats_attr(field, min, u); \ field 167 drivers/staging/greybus/loopback.c gb_loopback_ro_stats_attr(field, max, u); \ field 168 drivers/staging/greybus/loopback.c gb_loopback_ro_avg_attr(field) field 170 drivers/staging/greybus/loopback.c #define gb_loopback_attr(field, type) \ field 171 drivers/staging/greybus/loopback.c static ssize_t field##_show(struct device *dev, \ field 176 drivers/staging/greybus/loopback.c return sprintf(buf, "%" #type "\n", gb->field); \ field 178 drivers/staging/greybus/loopback.c static ssize_t field##_store(struct device *dev, \ field 186 drivers/staging/greybus/loopback.c ret = sscanf(buf, "%"#type, &gb->field); \ field 194 drivers/staging/greybus/loopback.c static DEVICE_ATTR_RW(field) field 196 drivers/staging/greybus/loopback.c #define gb_dev_loopback_ro_attr(field, conn) \ field 197 drivers/staging/greybus/loopback.c static ssize_t field##_show(struct device *dev, \ field 202 drivers/staging/greybus/loopback.c return sprintf(buf, "%u\n", gb->field); \ field 204 drivers/staging/greybus/loopback.c static DEVICE_ATTR_RO(field) field 206 drivers/staging/greybus/loopback.c #define gb_dev_loopback_rw_attr(field, type) \ field 207 drivers/staging/greybus/loopback.c static ssize_t field##_show(struct device *dev, \ field 212 drivers/staging/greybus/loopback.c return sprintf(buf, "%" #type "\n", gb->field); \ field 214 drivers/staging/greybus/loopback.c static ssize_t field##_store(struct device *dev, \ field 222 drivers/staging/greybus/loopback.c ret = sscanf(buf, "%"#type, &gb->field); \ field 230 drivers/staging/greybus/loopback.c static DEVICE_ATTR_RW(field) field 110 drivers/staging/greybus/tools/loopback_test.c #define GET_MAX(field) \ field 111 drivers/staging/greybus/tools/loopback_test.c static int get_##field##_aggregate(struct loopback_test *t) \ field 118 drivers/staging/greybus/tools/loopback_test.c if (t->devices[i].results.field > max) \ field 119 drivers/staging/greybus/tools/loopback_test.c max = t->devices[i].results.field; \ field 124 drivers/staging/greybus/tools/loopback_test.c #define GET_MIN(field) \ field 125 drivers/staging/greybus/tools/loopback_test.c static int get_##field##_aggregate(struct loopback_test *t) \ field 132 drivers/staging/greybus/tools/loopback_test.c if (t->devices[i].results.field < min) \ field 133 drivers/staging/greybus/tools/loopback_test.c min = t->devices[i].results.field; \ field 138 drivers/staging/greybus/tools/loopback_test.c #define GET_AVG(field) \ field 139 drivers/staging/greybus/tools/loopback_test.c static int get_##field##_aggregate(struct loopback_test *t) \ field 148 drivers/staging/greybus/tools/loopback_test.c val += t->devices[i].results.field; \ field 2118 drivers/staging/media/allegro-dvt/allegro-core.c if (vbuf->field == V4L2_FIELD_ANY) field 2119 drivers/staging/media/allegro-dvt/allegro-core.c vbuf->field = V4L2_FIELD_NONE; field 2120 drivers/staging/media/allegro-dvt/allegro-core.c if (vbuf->field != V4L2_FIELD_NONE) { field 2405 drivers/staging/media/allegro-dvt/allegro-core.c f->fmt.pix.field = V4L2_FIELD_NONE; field 2424 drivers/staging/media/allegro-dvt/allegro-core.c f->fmt.pix.field = V4L2_FIELD_NONE; field 2444 drivers/staging/media/allegro-dvt/allegro-core.c f->fmt.pix.field = V4L2_FIELD_NONE; field 2464 drivers/staging/media/allegro-dvt/allegro-core.c f->fmt.pix.field = V4L2_FIELD_NONE; field 252 drivers/staging/media/hantro/hantro_h264.c static s32 get_poc(enum v4l2_field field, s32 top_field_order_cnt, field 255 drivers/staging/media/hantro/hantro_h264.c switch (field) { field 288 drivers/staging/media/hantro/hantro_h264.c b->curpoc = get_poc(buf->field, dec_param->top_field_order_cnt, field 314 drivers/staging/media/hantro/hantro_h264.c b->pocs[i] = get_poc(buf->field, dpb[i].top_field_order_cnt, field 233 drivers/staging/media/hantro/hantro_v4l2.c pix_mp->field = V4L2_FIELD_NONE; field 283 drivers/staging/media/hantro/hantro_v4l2.c fmt->field = V4L2_FIELD_NONE; field 693 drivers/staging/media/hantro/hantro_v4l2.c vbuf->field = V4L2_FIELD_NONE; field 190 drivers/staging/media/imx/imx-ic-prp.c if (sdformat->format.field == V4L2_FIELD_ANY) field 191 drivers/staging/media/imx/imx-ic-prp.c sdformat->format.field = V4L2_FIELD_NONE; field 207 drivers/staging/media/imx/imx-ic-prpencvf.c done->vbuf.field = vdev->fmt.fmt.pix.field; field 373 drivers/staging/media/imx/imx-ic-prpencvf.c interweave = V4L2_FIELD_IS_INTERLACED(image.pix.field) && field 374 drivers/staging/media/imx/imx-ic-prpencvf.c V4L2_FIELD_IS_SEQUENTIAL(outfmt->field); field 376 drivers/staging/media/imx/imx-ic-prpencvf.c image.pix.field == V4L2_FIELD_INTERLACED_BT; field 900 drivers/staging/media/imx/imx-ic-prpencvf.c sdformat->format.field = infmt->field; field 915 drivers/staging/media/imx/imx-ic-prpencvf.c if (sdformat->format.field == V4L2_FIELD_ANY) field 916 drivers/staging/media/imx/imx-ic-prpencvf.c sdformat->format.field = V4L2_FIELD_NONE; field 235 drivers/staging/media/imx/imx-media-capture.c if (V4L2_FIELD_IS_INTERLACED(f->fmt.pix.field)) { field 236 drivers/staging/media/imx/imx-media-capture.c switch (fmt_src->format.field) { field 238 drivers/staging/media/imx/imx-media-capture.c fmt_src->format.field = V4L2_FIELD_INTERLACED_TB; field 241 drivers/staging/media/imx/imx-media-capture.c fmt_src->format.field = V4L2_FIELD_INTERLACED_BT; field 195 drivers/staging/media/imx/imx-media-csc-scaler.c enum v4l2_field field; field 197 drivers/staging/media/imx/imx-media-csc-scaler.c field = f->fmt.pix.field; field 198 drivers/staging/media/imx/imx-media-csc-scaler.c if (field == V4L2_FIELD_ANY) field 199 drivers/staging/media/imx/imx-media-csc-scaler.c field = V4L2_FIELD_NONE; field 200 drivers/staging/media/imx/imx-media-csc-scaler.c else if (field != V4L2_FIELD_NONE) field 261 drivers/staging/media/imx/imx-media-csc-scaler.c q_data->cur_fmt.field = f->fmt.pix.field; field 454 drivers/staging/media/imx/imx-media-csc-scaler.c if (vbuf->field == V4L2_FIELD_ANY) field 455 drivers/staging/media/imx/imx-media-csc-scaler.c vbuf->field = V4L2_FIELD_NONE; field 456 drivers/staging/media/imx/imx-media-csc-scaler.c if (vbuf->field != V4L2_FIELD_NONE) { field 735 drivers/staging/media/imx/imx-media-csc-scaler.c .field = V4L2_FIELD_NONE, field 271 drivers/staging/media/imx/imx-media-csi.c done->vbuf.field = vdev->fmt.fmt.pix.field; field 442 drivers/staging/media/imx/imx-media-csi.c interweave = V4L2_FIELD_IS_INTERLACED(image.pix.field) && field 443 drivers/staging/media/imx/imx-media-csi.c V4L2_FIELD_IS_SEQUENTIAL(outfmt->field); field 445 drivers/staging/media/imx/imx-media-csi.c image.pix.field == V4L2_FIELD_INTERLACED_BT; field 1202 drivers/staging/media/imx/imx-media-csi.c if (infmt->field == V4L2_FIELD_ALTERNATE) field 1212 drivers/staging/media/imx/imx-media-csi.c (V4L2_FIELD_HAS_BOTH(infmt->field) || field 1213 drivers/staging/media/imx/imx-media-csi.c infmt->field == V4L2_FIELD_ALTERNATE)) { field 1381 drivers/staging/media/imx/imx-media-csi.c if (sdformat->format.field == V4L2_FIELD_ANY) field 1382 drivers/staging/media/imx/imx-media-csi.c sdformat->format.field = V4L2_FIELD_NONE; field 1386 drivers/staging/media/imx/imx-media-csi.c switch (infmt->field) { field 1394 drivers/staging/media/imx/imx-media-csi.c if (!V4L2_FIELD_IS_SEQUENTIAL(sdformat->format.field)) field 1395 drivers/staging/media/imx/imx-media-csi.c sdformat->format.field = infmt->field; field 1407 drivers/staging/media/imx/imx-media-csi.c if (!V4L2_FIELD_IS_SEQUENTIAL(sdformat->format.field)) field 1408 drivers/staging/media/imx/imx-media-csi.c sdformat->format.field = (infmt->height == 480 / 2) ? field 1413 drivers/staging/media/imx/imx-media-csi.c sdformat->format.field = infmt->field; field 1486 drivers/staging/media/imx/imx-media-csi.c if (sdformat->format.field == V4L2_FIELD_ALTERNATE) field 1591 drivers/staging/media/imx/imx-media-csi.c if (infmt->field == V4L2_FIELD_ALTERNATE) field 458 drivers/staging/media/imx/imx-media-utils.c u32 width, u32 height, u32 code, u32 field, field 465 drivers/staging/media/imx/imx-media-utils.c mbus->field = field; field 617 drivers/staging/media/imx/imx-media-utils.c pix->field = mbus->field; field 657 drivers/staging/media/imx/imx-media-utils.c mbus->field = image->pix.field; field 313 drivers/staging/media/imx/imx-media-vdic.c priv->fieldtype = infmt->field; field 381 drivers/staging/media/imx/imx-media-vdic.c ipu_vdi_set_field_order(priv->vdi, V4L2_STD_UNKNOWN, infmt->field); field 602 drivers/staging/media/imx/imx-media-vdic.c sdformat->format.field = V4L2_FIELD_NONE; field 612 drivers/staging/media/imx/imx-media-vdic.c if (!V4L2_FIELD_HAS_BOTH(sdformat->format.field)) field 613 drivers/staging/media/imx/imx-media-vdic.c sdformat->format.field = V4L2_FIELD_SEQ_TB; field 171 drivers/staging/media/imx/imx-media.h u32 width, u32 height, u32 code, u32 field, field 634 drivers/staging/media/imx/imx7-media-csi.c done->vbuf.field = vdev->fmt.fmt.pix.field; field 770 drivers/staging/media/imx/imx7-media-csi.c if (out_pix->field == V4L2_FIELD_INTERLACED) { field 1012 drivers/staging/media/imx/imx7-media-csi.c sdformat->format.field = in_fmt->field; field 1028 drivers/staging/media/imx/imx7-media-csi.c if (sdformat->format.field != V4L2_FIELD_INTERLACED) field 1029 drivers/staging/media/imx/imx7-media-csi.c sdformat->format.field = V4L2_FIELD_NONE; field 893 drivers/staging/media/imx/imx7-mipi-csis.c state->format_mbus.field = V4L2_FIELD_NONE; field 169 drivers/staging/media/ipu3/ipu3-css.c f->field = V4L2_FIELD_NONE; field 44 drivers/staging/media/ipu3/ipu3-v4l2.c try_fmt->field = V4L2_FIELD_NONE; field 1168 drivers/staging/media/ipu3/ipu3-v4l2.c def_bus_fmt.field = V4L2_FIELD_NONE; field 1176 drivers/staging/media/ipu3/ipu3-v4l2.c def_pix_fmt.field = def_bus_fmt.field; field 549 drivers/staging/media/ipu3/ipu3.c buf->vid_buf.vbb.field = V4L2_FIELD_NONE; field 160 drivers/staging/media/meson/vdec/codec_mpeg12.c u32 field = V4L2_FIELD_NONE; field 183 drivers/staging/media/meson/vdec/codec_mpeg12.c field = (pic_info & PICINFO_TOP_FIRST) ? field 190 drivers/staging/media/meson/vdec/codec_mpeg12.c amvdec_dst_buf_done_idx(sess, buffer_index, offset, field); field 231 drivers/staging/media/meson/vdec/esparser.c vbuf->field = V4L2_FIELD_NONE; field 423 drivers/staging/media/meson/vdec/vdec.c vbuf->field = V4L2_FIELD_NONE; field 531 drivers/staging/media/meson/vdec/vdec.c if (pixmp->field == V4L2_FIELD_ANY) field 532 drivers/staging/media/meson/vdec/vdec.c pixmp->field = V4L2_FIELD_NONE; field 254 drivers/staging/media/meson/vdec/vdec_helpers.c u32 field, field 287 drivers/staging/media/meson/vdec/vdec_helpers.c vbuf->field = field; field 295 drivers/staging/media/meson/vdec/vdec_helpers.c struct vb2_v4l2_buffer *vbuf, u32 field) field 319 drivers/staging/media/meson/vdec/vdec_helpers.c dst_buf_done(sess, vbuf, field, timestamp); field 326 drivers/staging/media/meson/vdec/vdec_helpers.c u32 offset, u32 field, bool allow_drop) field 372 drivers/staging/media/meson/vdec/vdec_helpers.c dst_buf_done(sess, vbuf, field, timestamp); field 379 drivers/staging/media/meson/vdec/vdec_helpers.c u32 buf_idx, u32 offset, u32 field) field 395 drivers/staging/media/meson/vdec/vdec_helpers.c amvdec_dst_buf_done_offset(sess, vbuf, offset, field, true); field 397 drivers/staging/media/meson/vdec/vdec_helpers.c amvdec_dst_buf_done(sess, vbuf, field); field 39 drivers/staging/media/meson/vdec/vdec_helpers.h u32 offset, u32 field); field 41 drivers/staging/media/meson/vdec/vdec_helpers.h struct vb2_v4l2_buffer *vbuf, u32 field); field 44 drivers/staging/media/meson/vdec/vdec_helpers.h u32 offset, u32 field, bool allow_drop); field 886 drivers/staging/media/omap4iss/iss_csi2.c fmt->field = V4L2_FIELD_NONE; field 235 drivers/staging/media/omap4iss/iss_ipipe.c fmt->field = V4L2_FIELD_NONE; field 434 drivers/staging/media/omap4iss/iss_ipipeif.c fmt->field = V4L2_FIELD_NONE; field 484 drivers/staging/media/omap4iss/iss_resizer.c fmt->field = V4L2_FIELD_NONE; field 156 drivers/staging/media/omap4iss/iss_video.c pix->field = mbus->field; field 185 drivers/staging/media/omap4iss/iss_video.c mbus->field = pix->field; field 176 drivers/staging/media/soc_camera/imx074.c mf->field = V4L2_FIELD_NONE; field 203 drivers/staging/media/soc_camera/imx074.c mf->field = V4L2_FIELD_NONE; field 357 drivers/staging/media/soc_camera/mt9t031.c mf->field = V4L2_FIELD_NONE; field 559 drivers/staging/media/soc_camera/soc_camera.c icd->field = pix->field; field 664 drivers/staging/media/soc_camera/soc_camera.c .field = icd->field, field 891 drivers/staging/media/soc_camera/soc_camera.c pix->field = icd->field; field 1194 drivers/staging/media/soc_camera/soc_camera.c icd->field = V4L2_FIELD_ANY; field 1205 drivers/staging/media/soc_camera/soc_camera.c icd->field = mf->field; field 395 drivers/staging/media/soc_camera/soc_mt9v022.c mf->field = V4L2_FIELD_NONE; field 809 drivers/staging/media/soc_camera/soc_ov5642.c mf->field = V4L2_FIELD_NONE; field 835 drivers/staging/media/soc_camera/soc_ov5642.c mf->field = V4L2_FIELD_NONE; field 698 drivers/staging/media/soc_camera/soc_ov9740.c mf->field = V4L2_FIELD_NONE; field 58 drivers/staging/media/sunxi/cedrus/cedrus_h264.c unsigned int field) field 66 drivers/staging/media/sunxi/cedrus/cedrus_h264.c addr += field * ctx->codec.h264.mv_col_buf_field_size; field 205 drivers/staging/media/sunxi/cedrus/cedrus_h264.c if (ref_buf->field == V4L2_FIELD_BOTTOM) field 99 drivers/staging/media/sunxi/cedrus/cedrus_video.c pix_fmt->field = V4L2_FIELD_NONE; field 418 drivers/staging/media/sunxi/cedrus/cedrus_video.c vbuf->field = V4L2_FIELD_NONE; field 225 drivers/staging/most/video/video.c f->fmt.pix.field = V4L2_FIELD_NONE; field 385 drivers/staging/octeon-usb/octeon-hcd.c #define USB_SET_FIELD32(address, _union, field, value) \ field 390 drivers/staging/octeon-usb/octeon-hcd.c c.s.field = value; \ field 1584 drivers/staging/qlge/qlge_dbg.c #define DUMP_QDEV_FIELD(qdev, type, field) \ field 1585 drivers/staging/qlge/qlge_dbg.c pr_err("qdev->%-24s = " type "\n", #field, qdev->field) field 1586 drivers/staging/qlge/qlge_dbg.c #define DUMP_QDEV_DMA_FIELD(qdev, field) \ field 1587 drivers/staging/qlge/qlge_dbg.c pr_err("qdev->%-24s = %llx\n", #field, (unsigned long long)qdev->field) field 1588 drivers/staging/qlge/qlge_dbg.c #define DUMP_QDEV_ARRAY(qdev, type, array, index, field) \ field 1590 drivers/staging/qlge/qlge_dbg.c #array, index, #field, qdev->array[index].field); field 27 drivers/staging/rtl8192e/rtl819x_BA.h } field; field 38 drivers/staging/rtl8192e/rtl819x_BA.h } field; field 48 drivers/staging/rtl8192e/rtl819x_BA.h } field; field 144 drivers/staging/rtl8192e/rtl819x_BAProc.c DelbaParamSet.field.Initiator = (TxRxSelect == TX_DIR) ? 1 : 0; field 145 drivers/staging/rtl8192e/rtl819x_BAProc.c DelbaParamSet.field.TID = pBA->BaParamSet.field.TID; field 263 drivers/staging/rtl8192e/rtl819x_BAProc.c (u8)(pBaParamSet->field.TID), RX_DIR, true)) { field 270 drivers/staging/rtl8192e/rtl819x_BAProc.c if (pBaParamSet->field.BAPolicy == BA_POLICY_DELAYED) { field 287 drivers/staging/rtl8192e/rtl819x_BAProc.c pBA->BaParamSet.field.BufferSize = 1; field 289 drivers/staging/rtl8192e/rtl819x_BAProc.c pBA->BaParamSet.field.BufferSize = 32; field 303 drivers/staging/rtl8192e/rtl819x_BAProc.c BA.BaParamSet.field.BAPolicy = BA_POLICY_IMMEDIATE; field 349 drivers/staging/rtl8192e/rtl819x_BAProc.c (u8)(pBaParamSet->field.TID), TX_DIR, false)) { field 380 drivers/staging/rtl8192e/rtl819x_BAProc.c if (pBaParamSet->field.BAPolicy == BA_POLICY_DELAYED) { field 443 drivers/staging/rtl8192e/rtl819x_BAProc.c if (pDelBaParamSet->field.Initiator == 1) { field 447 drivers/staging/rtl8192e/rtl819x_BAProc.c (u8)pDelBaParamSet->field.TID, RX_DIR, false)) { field 451 drivers/staging/rtl8192e/rtl819x_BAProc.c (u8)pDelBaParamSet->field.TID); field 460 drivers/staging/rtl8192e/rtl819x_BAProc.c (u8)pDelBaParamSet->field.TID, TX_DIR, false)) { field 486 drivers/staging/rtl8192e/rtl819x_BAProc.c pBA->BaParamSet.field.AMSDU_Support = 0; field 487 drivers/staging/rtl8192e/rtl819x_BAProc.c pBA->BaParamSet.field.BAPolicy = Policy; field 488 drivers/staging/rtl8192e/rtl819x_BAProc.c pBA->BaParamSet.field.TID = field 489 drivers/staging/rtl8192e/rtl819x_BAProc.c pTS->TsCommonInfo.TSpec.f.TSInfo.field.ucTSID; field 490 drivers/staging/rtl8192e/rtl819x_BAProc.c pBA->BaParamSet.field.BufferSize = 32; field 492 drivers/staging/rtl8192e/rtl819x_BAProc.c pBA->BaStartSeqCtrl.field.SeqNum = (pTS->TxCurSeq + 3) % 4096; field 56 drivers/staging/rtl8192e/rtl819x_Qos.h } field; field 254 drivers/staging/rtl8192e/rtl819x_TSProc.c pRet->TSpec.f.TSInfo.field.ucTSID == TID && field 255 drivers/staging/rtl8192e/rtl819x_TSProc.c pRet->TSpec.f.TSInfo.field.ucDirection == dir) field 374 drivers/staging/rtl8192e/rtl819x_TSProc.c pTSInfo->field.ucTrafficType = 0; field 375 drivers/staging/rtl8192e/rtl819x_TSProc.c pTSInfo->field.ucTSID = UP; field 376 drivers/staging/rtl8192e/rtl819x_TSProc.c pTSInfo->field.ucDirection = Dir; field 377 drivers/staging/rtl8192e/rtl819x_TSProc.c pTSInfo->field.ucAccessPolicy = 1; field 378 drivers/staging/rtl8192e/rtl819x_TSProc.c pTSInfo->field.ucAggregation = 0; field 379 drivers/staging/rtl8192e/rtl819x_TSProc.c pTSInfo->field.ucPSB = 0; field 380 drivers/staging/rtl8192e/rtl819x_TSProc.c pTSInfo->field.ucUP = UP; field 381 drivers/staging/rtl8192e/rtl819x_TSProc.c pTSInfo->field.ucTSInfoAckPolicy = 0; field 382 drivers/staging/rtl8192e/rtl819x_TSProc.c pTSInfo->field.ucSchedule = 0; field 882 drivers/staging/rtl8192e/rtllib.h } field; field 1000 drivers/staging/rtl8192e/rtllib.h (fc & RTLLIB_FCTL_FROMDS)) ? 30 : 24)))->field.tid; field 780 drivers/staging/rtl8192e/rtllib_rx.c (((union frameqos *)(skb->data + RTLLIB_3ADDR_LEN))->field.reserved)) field 311 drivers/staging/rtl8192e/rtllib_tx.c if (SN_LESS(pTxTs->TxAdmittedBARecord.BaStartSeqCtrl.field.SeqNum, field 1050 drivers/staging/rtl8192u/ieee80211/ieee80211.h } field; field 1195 drivers/staging/rtl8192u/ieee80211/ieee80211.h return (u8)((frameqos *)(buf + (((fc & IEEE80211_FCTL_TODS) && (fc & IEEE80211_FCTL_FROMDS)) ? 30 : 24)))->field.tid; field 771 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c (((frameqos *)(skb->data + IEEE80211_3ADDR_LEN))->field.reserved)) { field 317 drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c if (SN_LESS(pTxTs->tx_admitted_ba_record.start_seq_ctrl.field.seq_num, (pTxTs->tx_cur_seq + 1) % 4096)) field 23 drivers/staging/rtl8192u/ieee80211/rtl819x_BA.h } field; field 33 drivers/staging/rtl8192u/ieee80211/rtl819x_BA.h } field; field 42 drivers/staging/rtl8192u/ieee80211/rtl819x_BA.h } field; field 202 drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c DelbaParamSet.field.initiator = (TxRxSelect == TX_DIR) ? 1 : 0; field 203 drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c DelbaParamSet.field.tid = pBA->param_set.field.tid; field 361 drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c (u8)(pBaParamSet->field.tid), field 373 drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c if (pBaParamSet->field.ba_policy == BA_POLICY_DELAYED) { field 387 drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c pBA->param_set.field.buffer_size = 1; field 389 drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c pBA->param_set.field.buffer_size = 32; field 402 drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c BA.param_set.field.ba_policy = BA_POLICY_IMMEDIATE; field 460 drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c (u8)(pBaParamSet->field.tid), field 497 drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c if (pBaParamSet->field.ba_policy == BA_POLICY_DELAYED) { field 564 drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c if (pDelBaParamSet->field.initiator == 1) { field 571 drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c (u8)pDelBaParamSet->field.tid, field 586 drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c (u8)pDelBaParamSet->field.tid, field 623 drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c pBA->param_set.field.amsdu_support = 0; // Do not support A-MSDU with A-MPDU now!! field 624 drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c pBA->param_set.field.ba_policy = Policy; // Policy: Delayed or Immediate field 625 drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c pBA->param_set.field.tid = pTS->ts_common_info.t_spec.ts_info.uc_tsid; // TID field 627 drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c pBA->param_set.field.buffer_size = 32; // buffer_size: This need to be set according to A-MPDU vector field 629 drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c pBA->start_seq_ctrl.field.seq_num = (pTS->tx_cur_seq + 3) % 4096; // Block Ack will start after 3 packets later. field 24 drivers/staging/rtl8712/basic_types.h #define FIELD_OFFSET(s, field) ((addr_t)&((s *)(0))->field) field 18 drivers/staging/rtl8723bs/include/basic_types.h #define FIELD_OFFSET(s, field) ((__kernel_ssize_t)&((s*)(0))->field) field 213 drivers/staging/rtl8723bs/include/drv_types.h #define RGTRY_OFT(field) ((u32)FIELD_OFFSET(struct registry_priv, field)) field 214 drivers/staging/rtl8723bs/include/drv_types.h #define RGTRY_SZ(field) sizeof(((struct registry_priv*) 0)->field) field 215 drivers/staging/rtl8723bs/include/drv_types.h #define BSSID_OFT(field) ((u32)FIELD_OFFSET(struct wlan_bssid_ex, field)) field 216 drivers/staging/rtl8723bs/include/drv_types.h #define BSSID_SZ(field) sizeof(((struct wlan_bssid_ex *) 0)->field) field 383 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c buf->vb.field = V4L2_FIELD_NONE; field 714 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c f->fmt.win.field = V4L2_FIELD_NONE; field 907 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c f->fmt.pix.field = V4L2_FIELD_NONE; field 940 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c f->fmt.pix.field = V4L2_FIELD_NONE; field 1883 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c dev->overlay.field = V4L2_FIELD_NONE; field 129 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.h (pix_fmt)->width, (pix_fmt)->height, (pix_fmt)->field, \ field 142 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.h (win_fmt)->field, \ field 265 drivers/tty/serial/qcom_geni_serial.c int offset, int field, bool set) field 293 drivers/tty/serial/qcom_geni_serial.c if ((bool)(reg & field) == set) field 36 drivers/usb/core/endpoint.c #define usb_ep_attr(field, format_string) \ field 37 drivers/usb/core/endpoint.c static ssize_t field##_show(struct device *dev, \ field 42 drivers/usb/core/endpoint.c return sprintf(buf, format_string, ep->desc->field); \ field 44 drivers/usb/core/endpoint.c static DEVICE_ATTR_RO(field) field 30 drivers/usb/core/quirks.c char *p, *field; field 68 drivers/usb/core/quirks.c field = strsep(&p, ":"); field 69 drivers/usb/core/quirks.c if (!field) field 72 drivers/usb/core/quirks.c if (kstrtou16(field, 16, &vid)) field 75 drivers/usb/core/quirks.c field = strsep(&p, ":"); field 76 drivers/usb/core/quirks.c if (!field) field 79 drivers/usb/core/quirks.c if (kstrtou16(field, 16, &pid)) field 82 drivers/usb/core/quirks.c field = strsep(&p, ","); field 83 drivers/usb/core/quirks.c if (!field || !*field) field 87 drivers/usb/core/quirks.c for (flags = 0; *field; field++) { field 88 drivers/usb/core/quirks.c switch (*field) { field 24 drivers/usb/core/sysfs.c #define usb_actconfig_show(field, format_string) \ field 25 drivers/usb/core/sysfs.c static ssize_t field##_show(struct device *dev, \ field 39 drivers/usb/core/sysfs.c actconfig->desc.field); \ field 44 drivers/usb/core/sysfs.c #define usb_actconfig_attr(field, format_string) \ field 45 drivers/usb/core/sysfs.c usb_actconfig_show(field, format_string) \ field 46 drivers/usb/core/sysfs.c static DEVICE_ATTR_RO(field) field 709 drivers/usb/core/sysfs.c #define usb_descriptor_attr_le16(field, format_string) \ field 711 drivers/usb/core/sysfs.c field##_show(struct device *dev, struct device_attribute *attr, \ field 718 drivers/usb/core/sysfs.c le16_to_cpu(udev->descriptor.field)); \ field 720 drivers/usb/core/sysfs.c static DEVICE_ATTR_RO(field) field 726 drivers/usb/core/sysfs.c #define usb_descriptor_attr(field, format_string) \ field 728 drivers/usb/core/sysfs.c field##_show(struct device *dev, struct device_attribute *attr, \ field 734 drivers/usb/core/sysfs.c return sprintf(buf, format_string, udev->descriptor.field); \ field 736 drivers/usb/core/sysfs.c static DEVICE_ATTR_RO(field) field 1078 drivers/usb/core/sysfs.c #define usb_intf_assoc_attr(field, format_string) \ field 1080 drivers/usb/core/sysfs.c iad_##field##_show(struct device *dev, struct device_attribute *attr, \ field 1086 drivers/usb/core/sysfs.c intf->intf_assoc->field); \ field 1088 drivers/usb/core/sysfs.c static DEVICE_ATTR_RO(iad_##field) field 1097 drivers/usb/core/sysfs.c #define usb_intf_attr(field, format_string) \ field 1099 drivers/usb/core/sysfs.c field##_show(struct device *dev, struct device_attribute *attr, \ field 1105 drivers/usb/core/sysfs.c intf->cur_altsetting->desc.field); \ field 1107 drivers/usb/core/sysfs.c static DEVICE_ATTR_RO(field) field 211 drivers/usb/early/xhci-dbc.c link_trb->field[0] = cpu_to_le32(lower_32_bits(seg->dma)); field 212 drivers/usb/early/xhci-dbc.c link_trb->field[1] = cpu_to_le32(upper_32_bits(seg->dma)); field 213 drivers/usb/early/xhci-dbc.c link_trb->field[3] = cpu_to_le32(TRB_TYPE(TRB_LINK)) | cpu_to_le32(LINK_TOGGLE); field 394 drivers/usb/early/xhci-dbc.c trb->field[0] = cpu_to_le32(field1); field 395 drivers/usb/early/xhci-dbc.c trb->field[1] = cpu_to_le32(field2); field 396 drivers/usb/early/xhci-dbc.c trb->field[2] = cpu_to_le32(field3); field 397 drivers/usb/early/xhci-dbc.c trb->field[3] = cpu_to_le32(field4); field 403 drivers/usb/early/xhci-dbc.c link_trb->field[3] |= cpu_to_le32(TRB_CYCLE); field 405 drivers/usb/early/xhci-dbc.c link_trb->field[3] &= cpu_to_le32(~TRB_CYCLE); field 515 drivers/usb/early/xhci-dbc.c trb->field[3] |= cpu_to_le32(cycle); field 517 drivers/usb/early/xhci-dbc.c trb->field[3] &= cpu_to_le32(~TRB_CYCLE); field 719 drivers/usb/early/xhci-dbc.c comp_code = GET_COMP_CODE(le32_to_cpu(evt_trb->field[2])); field 720 drivers/usb/early/xhci-dbc.c ep_id = TRB_TO_EP_ID(le32_to_cpu(evt_trb->field[3])); field 802 drivers/usb/early/xhci-dbc.c while ((le32_to_cpu(evt_trb->field[3]) & TRB_CYCLE) == xdbc.evt_ring.cycle_state) { field 809 drivers/usb/early/xhci-dbc.c switch ((le32_to_cpu(evt_trb->field[3]) & TRB_TYPE_BITMASK)) { field 56 drivers/usb/early/xhci-dbc.h __le32 field[4]; field 326 drivers/usb/gadget/function/uvc_queue.c buf->buf.field = V4L2_FIELD_NONE; field 87 drivers/usb/gadget/function/uvc_v4l2.c fmt->fmt.pix.field = V4L2_FIELD_NONE; field 128 drivers/usb/gadget/function/uvc_v4l2.c fmt->fmt.pix.field = V4L2_FIELD_NONE; field 365 drivers/usb/host/max3421-hcd.c (field(reg, MAX3421_SPI_REG_SHIFT) | field 366 drivers/usb/host/max3421-hcd.c field(MAX3421_SPI_DIR_RD, MAX3421_SPI_DIR_SHIFT)); field 391 drivers/usb/host/max3421-hcd.c (field(reg, MAX3421_SPI_REG_SHIFT) | field 392 drivers/usb/host/max3421-hcd.c field(MAX3421_SPI_DIR_WR, MAX3421_SPI_DIR_SHIFT)); field 415 drivers/usb/host/max3421-hcd.c (field(reg, MAX3421_SPI_REG_SHIFT) | field 416 drivers/usb/host/max3421-hcd.c field(MAX3421_SPI_DIR_RD, MAX3421_SPI_DIR_SHIFT)); field 441 drivers/usb/host/max3421-hcd.c (field(reg, MAX3421_SPI_REG_SHIFT) | field 442 drivers/usb/host/max3421-hcd.c field(MAX3421_SPI_DIR_WR, MAX3421_SPI_DIR_SHIFT)); field 166 drivers/usb/host/xhci-dbgcap.c trb->generic.field[0] = 0; field 167 drivers/usb/host/xhci-dbgcap.c trb->generic.field[1] = 0; field 168 drivers/usb/host/xhci-dbgcap.c trb->generic.field[2] = 0; field 169 drivers/usb/host/xhci-dbgcap.c trb->generic.field[3] &= cpu_to_le32(TRB_CYCLE); field 170 drivers/usb/host/xhci-dbgcap.c trb->generic.field[3] |= cpu_to_le32(TRB_TYPE(TRB_TR_NOOP)); field 223 drivers/usb/host/xhci-dbgcap.c trb->generic.field[0] = cpu_to_le32(field1); field 224 drivers/usb/host/xhci-dbgcap.c trb->generic.field[1] = cpu_to_le32(field2); field 225 drivers/usb/host/xhci-dbgcap.c trb->generic.field[2] = cpu_to_le32(field3); field 226 drivers/usb/host/xhci-dbgcap.c trb->generic.field[3] = cpu_to_le32(field4); field 279 drivers/usb/host/xhci-dbgcap.c trb->generic.field[3] |= cpu_to_le32(TRB_CYCLE); field 281 drivers/usb/host/xhci-dbgcap.c trb->generic.field[3] &= cpu_to_le32(~TRB_CYCLE); field 600 drivers/usb/host/xhci-dbgcap.c comp_code = GET_COMP_CODE(le32_to_cpu(event->generic.field[2])); field 601 drivers/usb/host/xhci-dbgcap.c remain_length = EVENT_TRB_LEN(le32_to_cpu(event->generic.field[2])); field 602 drivers/usb/host/xhci-dbgcap.c ep_id = TRB_TO_EP_ID(le32_to_cpu(event->generic.field[3])); field 205 drivers/usb/host/xhci-debugfs.c xhci_decode_trb(le32_to_cpu(trb->generic.field[0]), field 206 drivers/usb/host/xhci-debugfs.c le32_to_cpu(trb->generic.field[1]), field 207 drivers/usb/host/xhci-debugfs.c le32_to_cpu(trb->generic.field[2]), field 208 drivers/usb/host/xhci-debugfs.c le32_to_cpu(trb->generic.field[3]))); field 82 drivers/usb/host/xhci-ring.c return TRB_TYPE_NOOP_LE32(trb->generic.field[3]); field 126 drivers/usb/host/xhci-ring.c trb->generic.field[0] = 0; field 127 drivers/usb/host/xhci-ring.c trb->generic.field[1] = 0; field 128 drivers/usb/host/xhci-ring.c trb->generic.field[2] = 0; field 130 drivers/usb/host/xhci-ring.c trb->generic.field[3] &= cpu_to_le32(TRB_CYCLE); field 131 drivers/usb/host/xhci-ring.c trb->generic.field[3] |= cpu_to_le32(TRB_TYPE(noop_type)); field 210 drivers/usb/host/xhci-ring.c chain = le32_to_cpu(ring->enqueue->generic.field[3]) & TRB_CHAIN; field 635 drivers/usb/host/xhci-ring.c trb->generic.field[3] ^= cpu_to_le32(TRB_CYCLE); field 730 drivers/usb/host/xhci-ring.c if (unlikely(TRB_TO_SUSPEND_PORT(le32_to_cpu(trb->generic.field[3])))) { field 739 drivers/usb/host/xhci-ring.c ep_index = TRB_TO_EP_INDEX(le32_to_cpu(trb->generic.field[3])); field 1064 drivers/usb/host/xhci-ring.c ep_index = TRB_TO_EP_INDEX(le32_to_cpu(trb->generic.field[3])); field 1065 drivers/usb/host/xhci-ring.c stream_id = TRB_TO_STREAM_ID(le32_to_cpu(trb->generic.field[2])); field 1155 drivers/usb/host/xhci-ring.c ep_index = TRB_TO_EP_INDEX(le32_to_cpu(trb->generic.field[3])); field 1189 drivers/usb/host/xhci-ring.c if ((le32_to_cpu(trb->generic.field[3])) & TRB_TSP) field 1451 drivers/usb/host/xhci-ring.c cmd_type = TRB_FIELD_TO_TYPE(le32_to_cpu(cmd_trb->generic.field[3])); field 1471 drivers/usb/host/xhci-ring.c le32_to_cpu(cmd_trb->generic.field[3]))); field 1477 drivers/usb/host/xhci-ring.c le32_to_cpu(cmd_trb->generic.field[3]))); field 1487 drivers/usb/host/xhci-ring.c le32_to_cpu(cmd_trb->generic.field[3]))); field 1495 drivers/usb/host/xhci-ring.c le32_to_cpu(cmd_trb->generic.field[3])); field 1527 drivers/usb/host/xhci-ring.c trb_type = TRB_FIELD_TO_TYPE(le32_to_cpu(event->generic.field[3])); field 1539 drivers/usb/host/xhci-ring.c slot_id = TRB_TO_SLOT_ID(le32_to_cpu(event->generic.field[3])); field 1596 drivers/usb/host/xhci-ring.c if (GET_COMP_CODE(le32_to_cpu(event->generic.field[2])) != COMP_SUCCESS) field 1600 drivers/usb/host/xhci-ring.c port_id = GET_PORT_ID(le32_to_cpu(event->generic.field[0])); field 2025 drivers/usb/host/xhci-ring.c sum += TRB_LEN(le32_to_cpu(trb->generic.field[2])); field 2045 drivers/usb/host/xhci-ring.c trb_type = TRB_FIELD_TO_TYPE(le32_to_cpu(ep_trb->generic.field[3])); field 2155 drivers/usb/host/xhci-ring.c ep_trb_len = TRB_LEN(le32_to_cpu(ep_trb->generic.field[2])); field 2267 drivers/usb/host/xhci-ring.c ep_trb_len = TRB_LEN(le32_to_cpu(ep_trb->generic.field[2])); field 2918 drivers/usb/host/xhci-ring.c trb->field[0] = cpu_to_le32(field1); field 2919 drivers/usb/host/xhci-ring.c trb->field[1] = cpu_to_le32(field2); field 2920 drivers/usb/host/xhci-ring.c trb->field[2] = cpu_to_le32(field3); field 2921 drivers/usb/host/xhci-ring.c trb->field[3] = cpu_to_le32(field4); field 3126 drivers/usb/host/xhci-ring.c start_trb->field[3] |= cpu_to_le32(start_cycle); field 3128 drivers/usb/host/xhci-ring.c start_trb->field[3] &= cpu_to_le32(~TRB_CYCLE); field 3307 drivers/usb/host/xhci-ring.c u32 field, length_field, remainder; field 3353 drivers/usb/host/xhci-ring.c field = TRB_TYPE(TRB_NORMAL); field 3366 drivers/usb/host/xhci-ring.c field |= TRB_CYCLE; field 3368 drivers/usb/host/xhci-ring.c field |= ring->cycle_state; field 3374 drivers/usb/host/xhci-ring.c field |= TRB_CHAIN; field 3386 drivers/usb/host/xhci-ring.c field &= ~TRB_CHAIN; field 3387 drivers/usb/host/xhci-ring.c field |= TRB_IOC; field 3395 drivers/usb/host/xhci-ring.c field |= TRB_IDT; field 3401 drivers/usb/host/xhci-ring.c field |= TRB_ISP; field 3415 drivers/usb/host/xhci-ring.c field); field 3440 drivers/usb/host/xhci-ring.c field = TRB_TYPE(TRB_NORMAL) | ring->cycle_state | TRB_IOC; field 3441 drivers/usb/host/xhci-ring.c queue_trb(xhci, ring, 0, 0, 0, TRB_INTR_TARGET(0), field); field 3460 drivers/usb/host/xhci-ring.c u32 field; field 3504 drivers/usb/host/xhci-ring.c field = 0; field 3505 drivers/usb/host/xhci-ring.c field |= TRB_IDT | TRB_TYPE(TRB_SETUP); field 3507 drivers/usb/host/xhci-ring.c field |= 0x1; field 3513 drivers/usb/host/xhci-ring.c field |= TRB_TX_TYPE(TRB_DATA_IN); field 3515 drivers/usb/host/xhci-ring.c field |= TRB_TX_TYPE(TRB_DATA_OUT); field 3524 drivers/usb/host/xhci-ring.c field); field 3529 drivers/usb/host/xhci-ring.c field = TRB_ISP | TRB_TYPE(TRB_DATA); field 3531 drivers/usb/host/xhci-ring.c field = TRB_TYPE(TRB_DATA); field 3541 drivers/usb/host/xhci-ring.c field |= TRB_IDT; field 3554 drivers/usb/host/xhci-ring.c field |= TRB_DIR_IN; field 3559 drivers/usb/host/xhci-ring.c field | ep_ring->cycle_state); field 3568 drivers/usb/host/xhci-ring.c field = 0; field 3570 drivers/usb/host/xhci-ring.c field = TRB_DIR_IN; field 3576 drivers/usb/host/xhci-ring.c field | TRB_IOC | TRB_TYPE(TRB_STATUS) | ep_ring->cycle_state); field 3738 drivers/usb/host/xhci-ring.c u32 field, length_field; field 3804 drivers/usb/host/xhci-ring.c field = TRB_TYPE(TRB_ISOC) | field 3811 drivers/usb/host/xhci-ring.c field |= TRB_TBC(burst_count); field 3819 drivers/usb/host/xhci-ring.c field = TRB_TYPE(TRB_NORMAL) | field 3824 drivers/usb/host/xhci-ring.c field |= TRB_ISP; field 3829 drivers/usb/host/xhci-ring.c field |= TRB_CHAIN; field 3833 drivers/usb/host/xhci-ring.c field |= TRB_IOC; field 3838 drivers/usb/host/xhci-ring.c field |= TRB_BEI; field 3864 drivers/usb/host/xhci-ring.c field); field 128 drivers/usb/host/xhci-trace.h __entry->field0 = le32_to_cpu(trb->field[0]); field 129 drivers/usb/host/xhci-trace.h __entry->field1 = le32_to_cpu(trb->field[1]); field 130 drivers/usb/host/xhci-trace.h __entry->field2 = le32_to_cpu(trb->field[2]); field 131 drivers/usb/host/xhci-trace.h __entry->field3 = le32_to_cpu(trb->field[3]); field 4330 drivers/usb/host/xhci.c u32 field; field 4333 drivers/usb/host/xhci.c field = le32_to_cpu(udev->bos->ext_cap->bmAttributes); field 4335 drivers/usb/host/xhci.c if (field & USB_BESL_SUPPORT) { field 4341 drivers/usb/host/xhci.c if (field & USB_BESL_BASELINE_VALID) field 4342 drivers/usb/host/xhci.c besl_device = USB_GET_BESL_BASELINE(field); field 4343 drivers/usb/host/xhci.c else if (field & USB_BESL_DEEP_VALID) field 4344 drivers/usb/host/xhci.c besl_device = USB_GET_BESL_DEEP(field); field 4362 drivers/usb/host/xhci.c u32 field; field 4367 drivers/usb/host/xhci.c field = le32_to_cpu(udev->bos->ext_cap->bmAttributes); field 4373 drivers/usb/host/xhci.c if (field & USB_BESL_DEEP_VALID) { field 4374 drivers/usb/host/xhci.c besld = USB_GET_BESL_DEEP(field); field 4387 drivers/usb/host/xhci.c u32 pm_val, hlpm_val, field; field 4422 drivers/usb/host/xhci.c field = le32_to_cpu(udev->bos->ext_cap->bmAttributes); field 4423 drivers/usb/host/xhci.c if ((field & USB_BESL_SUPPORT) && field 4424 drivers/usb/host/xhci.c (field & USB_BESL_BASELINE_VALID)) field 4425 drivers/usb/host/xhci.c hird = USB_GET_BESL_BASELINE(field); field 1334 drivers/usb/host/xhci.h __le32 field[4]; field 66 drivers/video/fbdev/ps3fb.c u32 field; field 40 drivers/watchdog/at91sam9_wdt.c #define wdt_read(wdt, field) \ field 41 drivers/watchdog/at91sam9_wdt.c readl_relaxed((wdt)->base + (field)) field 42 drivers/watchdog/at91sam9_wdt.c #define wdt_write(wtd, field, val) \ field 43 drivers/watchdog/at91sam9_wdt.c writel_relaxed((val), (wdt)->base + (field)) field 50 drivers/watchdog/sama5d4_wdt.c #define wdt_read(wdt, field) \ field 51 drivers/watchdog/sama5d4_wdt.c readl_relaxed((wdt)->reg_base + (field)) field 56 drivers/watchdog/sama5d4_wdt.c static void wdt_write(struct sama5d4_wdt *wdt, u32 field, u32 val) field 65 drivers/watchdog/sama5d4_wdt.c writel_relaxed(val, wdt->reg_base + field); field 69 drivers/watchdog/sama5d4_wdt.c static void wdt_write_nosleep(struct sama5d4_wdt *wdt, u32 field, u32 val) field 73 drivers/watchdog/sama5d4_wdt.c writel_relaxed(val, wdt->reg_base + field); field 45 drivers/xen/xen-pciback/conf_space.c const struct config_field *field = entry->field; field 49 drivers/xen/xen-pciback/conf_space.c switch (field->size) { field 51 drivers/xen/xen-pciback/conf_space.c if (field->u.b.read) field 52 drivers/xen/xen-pciback/conf_space.c ret = field->u.b.read(dev, offset, (u8 *) value, field 56 drivers/xen/xen-pciback/conf_space.c if (field->u.w.read) field 57 drivers/xen/xen-pciback/conf_space.c ret = field->u.w.read(dev, offset, (u16 *) value, field 61 drivers/xen/xen-pciback/conf_space.c if (field->u.dw.read) field 62 drivers/xen/xen-pciback/conf_space.c ret = field->u.dw.read(dev, offset, value, entry->data); field 73 drivers/xen/xen-pciback/conf_space.c const struct config_field *field = entry->field; field 75 drivers/xen/xen-pciback/conf_space.c switch (field->size) { field 77 drivers/xen/xen-pciback/conf_space.c if (field->u.b.write) field 78 drivers/xen/xen-pciback/conf_space.c ret = field->u.b.write(dev, offset, (u8) value, field 82 drivers/xen/xen-pciback/conf_space.c if (field->u.w.write) field 83 drivers/xen/xen-pciback/conf_space.c ret = field->u.w.write(dev, offset, (u16) value, field 87 drivers/xen/xen-pciback/conf_space.c if (field->u.dw.write) field 88 drivers/xen/xen-pciback/conf_space.c ret = field->u.dw.write(dev, offset, value, field 151 drivers/xen/xen-pciback/conf_space.c const struct config_field *field; field 180 drivers/xen/xen-pciback/conf_space.c field = cfg_entry->field; field 183 drivers/xen/xen-pciback/conf_space.c field_end = OFFSET(cfg_entry) + field->size; field 192 drivers/xen/xen-pciback/conf_space.c get_mask(field->size), field 211 drivers/xen/xen-pciback/conf_space.c const struct config_field *field; field 224 drivers/xen/xen-pciback/conf_space.c field = cfg_entry->field; field 227 drivers/xen/xen-pciback/conf_space.c field_end = OFFSET(cfg_entry) + field->size; field 293 drivers/xen/xen-pciback/conf_space.c const struct config_field *field; field 301 drivers/xen/xen-pciback/conf_space.c field = cfg_entry->field; field 303 drivers/xen/xen-pciback/conf_space.c if (field->clean) { field 304 drivers/xen/xen-pciback/conf_space.c field->clean((struct config_field *)field); field 319 drivers/xen/xen-pciback/conf_space.c const struct config_field *field; field 326 drivers/xen/xen-pciback/conf_space.c field = cfg_entry->field; field 328 drivers/xen/xen-pciback/conf_space.c if (field->reset) field 329 drivers/xen/xen-pciback/conf_space.c field->reset(dev, OFFSET(cfg_entry), cfg_entry->data); field 337 drivers/xen/xen-pciback/conf_space.c const struct config_field *field; field 346 drivers/xen/xen-pciback/conf_space.c field = cfg_entry->field; field 348 drivers/xen/xen-pciback/conf_space.c if (field->release) field 349 drivers/xen/xen-pciback/conf_space.c field->release(dev, OFFSET(cfg_entry), cfg_entry->data); field 356 drivers/xen/xen-pciback/conf_space.c const struct config_field *field, field 371 drivers/xen/xen-pciback/conf_space.c cfg_entry->field = field; field 379 drivers/xen/xen-pciback/conf_space.c if (field->init) { field 380 drivers/xen/xen-pciback/conf_space.c tmp = field->init(dev, OFFSET(cfg_entry)); field 43 drivers/xen/xen-pciback/conf_space.h void (*clean) (struct config_field *field); field 63 drivers/xen/xen-pciback/conf_space.h const struct config_field *field; field 70 drivers/xen/xen-pciback/conf_space.h #define OFFSET(cfg_entry) ((cfg_entry)->base_offset+(cfg_entry)->field->offset) field 76 drivers/xen/xen-pciback/conf_space.h const struct config_field *field, field 80 drivers/xen/xen-pciback/conf_space.h const struct config_field *field) field 82 drivers/xen/xen-pciback/conf_space.h return xen_pcibk_config_add_field_offset(dev, field, 0); field 86 drivers/xen/xen-pciback/conf_space.h const struct config_field *field) field 89 drivers/xen/xen-pciback/conf_space.h for (i = 0; field[i].size != 0; i++) { field 90 drivers/xen/xen-pciback/conf_space.h err = xen_pcibk_config_add_field(dev, &field[i]); field 98 drivers/xen/xen-pciback/conf_space.h const struct config_field *field, field 102 drivers/xen/xen-pciback/conf_space.h for (i = 0; field[i].size != 0; i++) { field 103 drivers/xen/xen-pciback/conf_space.h err = xen_pcibk_config_add_field_offset(dev, &field[i], offset); field 65 drivers/xen/xen-pciback/conf_space_quirks.c *field) field 69 drivers/xen/xen-pciback/conf_space_quirks.c switch (field->size) { field 71 drivers/xen/xen-pciback/conf_space_quirks.c field->u.b.read = xen_pcibk_read_config_byte; field 72 drivers/xen/xen-pciback/conf_space_quirks.c field->u.b.write = xen_pcibk_write_config_byte; field 75 drivers/xen/xen-pciback/conf_space_quirks.c field->u.w.read = xen_pcibk_read_config_word; field 76 drivers/xen/xen-pciback/conf_space_quirks.c field->u.w.write = xen_pcibk_write_config_word; field 79 drivers/xen/xen-pciback/conf_space_quirks.c field->u.dw.read = xen_pcibk_read_config_dword; field 80 drivers/xen/xen-pciback/conf_space_quirks.c field->u.dw.write = xen_pcibk_write_config_dword; field 87 drivers/xen/xen-pciback/conf_space_quirks.c xen_pcibk_config_add_field(dev, field); field 119 drivers/xen/xen-pciback/conf_space_quirks.c void xen_pcibk_config_field_free(struct config_field *field) field 121 drivers/xen/xen-pciback/conf_space_quirks.c kfree(field); field 22 drivers/xen/xen-pciback/conf_space_quirks.h *field); field 28 drivers/xen/xen-pciback/conf_space_quirks.h void xen_pcibk_config_field_free(struct config_field *field); field 1141 drivers/xen/xen-pciback/pci_stub.c struct config_field *field; field 1153 drivers/xen/xen-pciback/pci_stub.c field = kzalloc(sizeof(*field), GFP_KERNEL); field 1154 drivers/xen/xen-pciback/pci_stub.c if (!field) { field 1159 drivers/xen/xen-pciback/pci_stub.c field->offset = reg; field 1160 drivers/xen/xen-pciback/pci_stub.c field->size = size; field 1161 drivers/xen/xen-pciback/pci_stub.c field->mask = mask; field 1162 drivers/xen/xen-pciback/pci_stub.c field->init = NULL; field 1163 drivers/xen/xen-pciback/pci_stub.c field->reset = NULL; field 1164 drivers/xen/xen-pciback/pci_stub.c field->release = NULL; field 1165 drivers/xen/xen-pciback/pci_stub.c field->clean = xen_pcibk_config_field_free; field 1167 drivers/xen/xen-pciback/pci_stub.c err = xen_pcibk_config_quirks_add_field(dev, field); field 1169 drivers/xen/xen-pciback/pci_stub.c kfree(field); field 1331 drivers/xen/xen-pciback/pci_stub.c const struct config_field *field; field 1351 drivers/xen/xen-pciback/pci_stub.c field = cfg_entry->field; field 1358 drivers/xen/xen-pciback/pci_stub.c field->offset, field->size, field 1359 drivers/xen/xen-pciback/pci_stub.c field->mask); field 25 drivers/zorro/zorro-sysfs.c #define zorro_config_attr(name, field, format_string) \ field 32 drivers/zorro/zorro-sysfs.c return sprintf(buf, format_string, z->field); \ field 408 fs/btrfs/sysfs.c #define SPACE_INFO_ATTR(field) \ field 409 fs/btrfs/sysfs.c static ssize_t btrfs_space_info_show_##field(struct kobject *kobj, \ field 414 fs/btrfs/sysfs.c return btrfs_show_u64(&sinfo->field, &sinfo->lock, buf); \ field 416 fs/btrfs/sysfs.c BTRFS_ATTR(space_info, field, btrfs_space_info_show_##field) field 810 fs/ext4/ext4.h #define EXT4_FITS_IN_INODE(ext4_inode, einode, field) \ field 811 fs/ext4/ext4.h ((offsetof(typeof(*ext4_inode), field) + \ field 812 fs/ext4/ext4.h sizeof((ext4_inode)->field)) \ field 1583 fs/ext4/ext4.h #define sbi_array_rcu_deref(sbi, field, index) \ field 1585 fs/ext4/ext4.h typeof(*((sbi)->field)) _v; \ field 1587 fs/ext4/ext4.h _v = ((typeof(_v)*)rcu_dereference((sbi)->field))[index]; \ field 1610 fs/ext4/ext4.h #define EXT4_INODE_BIT_FNS(name, field, offset) \ field 1613 fs/ext4/ext4.h return test_bit(bit + (offset), &EXT4_I(inode)->i_##field); \ field 1617 fs/ext4/ext4.h set_bit(bit + (offset), &EXT4_I(inode)->i_##field); \ field 1621 fs/ext4/ext4.h clear_bit(bit + (offset), &EXT4_I(inode)->i_##field); \ field 2848 fs/f2fs/f2fs.h #define F2FS_FITS_IN_INODE(f2fs_inode, extra_isize, field) \ field 2849 fs/f2fs/f2fs.h ((offsetof(typeof(*(f2fs_inode)), field) + \ field 2850 fs/f2fs/f2fs.h sizeof((f2fs_inode)->field)) \ field 573 fs/gfs2/sys.c static ssize_t tune_set(struct gfs2_sbd *sdp, unsigned int *field, field 591 fs/gfs2/sys.c *field = x; field 167 fs/gfs2/util.h #define gfs2_tune_get(sdp, field) \ field 168 fs/gfs2/util.h gfs2_tune_get_i(&(sdp)->sd_tune, &(sdp)->sd_tune.field) field 692 fs/pstore/ram.c #define parse_size(name, field) { \ field 696 fs/pstore/ram.c field = value; \ field 3124 fs/reiserfs/reiserfs.h #define PROC_INFO_MAX( sb, field, value ) \ field 3125 fs/reiserfs/reiserfs.h __PINFO( sb ).field = \ field 3126 fs/reiserfs/reiserfs.h max( REISERFS_SB( sb ) -> s_proc_info_data.field, value ) field 3127 fs/reiserfs/reiserfs.h #define PROC_INFO_INC( sb, field ) ( ++ ( __PINFO( sb ).field ) ) field 3128 fs/reiserfs/reiserfs.h #define PROC_INFO_ADD( sb, field, val ) ( __PINFO( sb ).field += ( val ) ) field 3156 fs/reiserfs/reiserfs.h #define PROC_INFO_MAX( sb, field, value ) VOID_V field 3157 fs/reiserfs/reiserfs.h #define PROC_INFO_INC( sb, field ) VOID_V field 3158 fs/reiserfs/reiserfs.h #define PROC_INFO_ADD( sb, field, val ) VOID_V field 326 fs/xfs/libxfs/xfs_ag_resv.c uint field; field 341 fs/xfs/libxfs/xfs_ag_resv.c field = args->wasdel ? XFS_TRANS_SB_RES_FDBLOCKS : field 343 fs/xfs/libxfs/xfs_ag_resv.c xfs_trans_mod_sb(args->tp, field, -(int64_t)args->len); field 117 fs/xfs/xfs_qm.h uint field, int64_t delta); field 339 fs/xfs/xfs_trans.c uint field, field 345 fs/xfs/xfs_trans.c switch (field) { field 532 fs/xfs/xfs_trans.c uint8_t *field, field 535 fs/xfs/xfs_trans.c int8_t counter = *field; field 542 fs/xfs/xfs_trans.c *field = counter; field 548 fs/xfs/xfs_trans.c uint32_t *field, field 551 fs/xfs/xfs_trans.c int32_t counter = *field; field 558 fs/xfs/xfs_trans.c *field = counter; field 564 fs/xfs/xfs_trans.c uint64_t *field, field 567 fs/xfs/xfs_trans.c int64_t counter = *field; field 574 fs/xfs/xfs_trans.c *field = counter; field 129 fs/xfs/xfs_trans_dquot.c uint field, field 143 fs/xfs/xfs_trans_dquot.c (void) xfs_trans_mod_dquot(tp, ip->i_udquot, field, delta); field 145 fs/xfs/xfs_trans_dquot.c (void) xfs_trans_mod_dquot(tp, ip->i_gdquot, field, delta); field 147 fs/xfs/xfs_trans_dquot.c (void) xfs_trans_mod_dquot(tp, ip->i_pdquot, field, delta); field 186 fs/xfs/xfs_trans_dquot.c uint field, field 206 fs/xfs/xfs_trans_dquot.c switch (field) { field 259 include/acpi/platform/acenv.h #define ACPI_STRUCT_INIT(field, value) value field 167 include/acpi/platform/aclinux.h #define ACPI_STRUCT_INIT(field, value) .field = value field 103 include/linux/bitfield.h static __always_inline u64 field_multiplier(u64 field) field 105 include/linux/bitfield.h if ((field | (field - 1)) & ((field | (field - 1)) + 1)) field 107 include/linux/bitfield.h return field & -field; field 109 include/linux/bitfield.h static __always_inline u64 field_mask(u64 field) field 111 include/linux/bitfield.h return field / field_multiplier(field); field 114 include/linux/bitfield.h static __always_inline __##type type##_encode_bits(base v, base field) \ field 116 include/linux/bitfield.h if (__builtin_constant_p(v) && (v & ~field_mask(field))) \ field 118 include/linux/bitfield.h return to((v & field_mask(field)) * field_multiplier(field)); \ field 121 include/linux/bitfield.h base val, base field) \ field 123 include/linux/bitfield.h return (old & ~to(field)) | type##_encode_bits(val, field); \ field 126 include/linux/bitfield.h base val, base field) \ field 128 include/linux/bitfield.h *p = (*p & ~to(field)) | type##_encode_bits(val, field); \ field 130 include/linux/bitfield.h static __always_inline base type##_get_bits(__##type v, base field) \ field 132 include/linux/bitfield.h return (from(v) & field)/field_multiplier(field); \ field 53 include/linux/crash_core.h #define VMCOREINFO_OFFSET(name, field) \ field 54 include/linux/crash_core.h vmcoreinfo_append_str("OFFSET(%s.%s)=%lu\n", #name, #field, \ field 55 include/linux/crash_core.h (unsigned long)offsetof(struct name, field)) field 102 include/linux/dmi.h extern const char * dmi_get_system_info(int field); field 106 include/linux/dmi.h extern bool dmi_get_date(int field, int *yearp, int *monthp, int *dayp); field 120 include/linux/dmi.h static inline const char * dmi_get_system_info(int field) { return NULL; } field 124 include/linux/dmi.h static inline bool dmi_get_date(int field, int *yearp, int *monthp, int *dayp) field 418 include/linux/filter.h #define BPF_FIELD_SIZEOF(type, field) \ field 420 include/linux/filter.h const int __size = bytes_to_bpf_size(FIELD_SIZEOF(type, field)); \ field 763 include/linux/filter.h #define bpf_ctx_wide_access_ok(off, size, type, field) \ field 765 include/linux/filter.h off >= offsetof(type, field) && \ field 766 include/linux/filter.h off + sizeof(__u64) <= offsetofend(type, field) && \ field 306 include/linux/genhd.h #define part_stat_get_cpu(part, field, cpu) \ field 307 include/linux/genhd.h (per_cpu_ptr((part)->dkstats, (cpu))->field) field 309 include/linux/genhd.h #define part_stat_get(part, field) \ field 310 include/linux/genhd.h part_stat_get_cpu(part, field, smp_processor_id()) field 312 include/linux/genhd.h #define part_stat_read(part, field) \ field 314 include/linux/genhd.h typeof((part)->dkstats->field) res = 0; \ field 317 include/linux/genhd.h res += per_cpu_ptr((part)->dkstats, _cpu)->field; \ field 347 include/linux/genhd.h #define part_stat_get(part, field) ((part)->dkstats.field) field 348 include/linux/genhd.h #define part_stat_get_cpu(part, field, cpu) part_stat_get(part, field) field 349 include/linux/genhd.h #define part_stat_read(part, field) part_stat_get(part, field) field 370 include/linux/genhd.h #define part_stat_read_accum(part, field) \ field 371 include/linux/genhd.h (part_stat_read(part, field[STAT_READ]) + \ field 372 include/linux/genhd.h part_stat_read(part, field[STAT_WRITE]) + \ field 373 include/linux/genhd.h part_stat_read(part, field[STAT_DISCARD])) field 375 include/linux/genhd.h #define __part_stat_add(part, field, addnd) \ field 376 include/linux/genhd.h (part_stat_get(part, field) += (addnd)) field 378 include/linux/genhd.h #define part_stat_add(part, field, addnd) do { \ field 379 include/linux/genhd.h __part_stat_add((part), field, addnd); \ field 382 include/linux/genhd.h field, addnd); \ field 385 include/linux/genhd.h #define part_stat_dec(gendiskp, field) \ field 386 include/linux/genhd.h part_stat_add(gendiskp, field, -1) field 387 include/linux/genhd.h #define part_stat_inc(gendiskp, field) \ field 388 include/linux/genhd.h part_stat_add(gendiskp, field, 1) field 389 include/linux/genhd.h #define part_stat_sub(gendiskp, field, subnd) \ field 390 include/linux/genhd.h part_stat_add(gendiskp, field, -subnd) field 392 include/linux/genhd.h #define part_stat_local_dec(gendiskp, field) \ field 393 include/linux/genhd.h local_dec(&(part_stat_get(gendiskp, field))) field 394 include/linux/genhd.h #define part_stat_local_inc(gendiskp, field) \ field 395 include/linux/genhd.h local_inc(&(part_stat_get(gendiskp, field))) field 396 include/linux/genhd.h #define part_stat_local_read(gendiskp, field) \ field 397 include/linux/genhd.h local_read(&(part_stat_get(gendiskp, field))) field 398 include/linux/genhd.h #define part_stat_local_read_cpu(gendiskp, field, cpu) \ field 399 include/linux/genhd.h local_read(&(part_stat_get_cpu(gendiskp, field, cpu))) field 480 include/linux/hid.h struct hid_field *field[HID_MAX_FIELDS]; /* fields of the report */ field 609 include/linux/hid.h void (*hiddev_hid_event) (struct hid_device *, struct hid_field *field, field 751 include/linux/hid.h int (*event)(struct hid_device *hdev, struct hid_field *field, field 759 include/linux/hid.h struct hid_input *hidinput, struct hid_field *field, field 762 include/linux/hid.h struct hid_input *hidinput, struct hid_field *field, field 767 include/linux/hid.h struct hid_field *field, field 881 include/linux/hid.h int hidinput_find_field(struct hid_device *hid, unsigned int type, unsigned int code, struct hid_field **field); field 884 include/linux/hid.h __s32 hidinput_calc_abs_res(const struct hid_field *field, __u16 code); field 43 include/linux/hiddev.h void hiddev_hid_event(struct hid_device *hid, struct hid_field *field, field 51 include/linux/hiddev.h static inline void hiddev_hid_event(struct hid_device *hid, struct hid_field *field, field 879 include/linux/ide.h #define ide_devset_get(name, field) \ field 882 include/linux/ide.h return drive->field; \ field 885 include/linux/ide.h #define ide_devset_set(name, field) \ field 888 include/linux/ide.h drive->field = arg; \ field 1803 include/linux/lsm_hooks.h int (*audit_rule_init)(u32 field, u32 op, char *rulestr, field 1806 include/linux/lsm_hooks.h int (*audit_rule_match)(u32 secid, u32 field, u32 op, void *lsmrule); field 815 include/linux/mlx5/driver.h #define STRUCT_FIELD(header, field) \ field 816 include/linux/mlx5/driver.h .struct_offset_bytes = offsetof(struct ib_unpacked_ ## header, field), \ field 817 include/linux/mlx5/driver.h .struct_size_bytes = sizeof((struct ib_unpacked_ ## header *)0)->field field 5456 include/linux/mlx5/mlx5_ifc.h u8 field[0xc]; field 5467 include/linux/mlx5/mlx5_ifc.h u8 field[0xc]; field 126 include/linux/mlx5/port.h #define MLX5_GET_ETH_PROTO(reg, out, ext, field) \ field 127 include/linux/mlx5/port.h (ext ? MLX5_GET(reg, out, ext_##field) : \ field 128 include/linux/mlx5/port.h MLX5_GET(reg, out, field)) field 109 include/linux/rbtree.h #define rbtree_postorder_for_each_entry_safe(pos, n, root, field) \ field 110 include/linux/rbtree.h for (pos = rb_entry_safe(rb_first_postorder(root), typeof(*pos), field); \ field 111 include/linux/rbtree.h pos && ({ n = rb_entry_safe(rb_next_postorder(&pos->field), \ field 112 include/linux/rbtree.h typeof(*pos), field); 1; }); \ field 86 include/linux/regmap.h #define regmap_field_write(field, val) \ field 87 include/linux/regmap.h regmap_field_update_bits_base(field, ~0, val, NULL, false, false) field 88 include/linux/regmap.h #define regmap_field_force_write(field, val) \ field 89 include/linux/regmap.h regmap_field_update_bits_base(field, ~0, val, NULL, false, true) field 90 include/linux/regmap.h #define regmap_field_update_bits(field, mask, val)\ field 91 include/linux/regmap.h regmap_field_update_bits_base(field, mask, val, NULL, false, false) field 92 include/linux/regmap.h #define regmap_field_force_update_bits(field, mask, val) \ field 93 include/linux/regmap.h regmap_field_update_bits_base(field, mask, val, NULL, false, true) field 95 include/linux/regmap.h #define regmap_fields_write(field, id, val) \ field 96 include/linux/regmap.h regmap_fields_update_bits_base(field, id, ~0, val, NULL, false, false) field 97 include/linux/regmap.h #define regmap_fields_force_write(field, id, val) \ field 98 include/linux/regmap.h regmap_fields_update_bits_base(field, id, ~0, val, NULL, false, true) field 99 include/linux/regmap.h #define regmap_fields_update_bits(field, id, mask, val)\ field 100 include/linux/regmap.h regmap_fields_update_bits_base(field, id, mask, val, NULL, false, false) field 101 include/linux/regmap.h #define regmap_fields_force_update_bits(field, id, mask, val) \ field 102 include/linux/regmap.h regmap_fields_update_bits_base(field, id, mask, val, NULL, false, true) field 165 include/linux/regmap.h #define regmap_field_read_poll_timeout(field, val, cond, sleep_us, timeout_us) \ field 173 include/linux/regmap.h pollret = regmap_field_read((field), &(val)); \ field 179 include/linux/regmap.h pollret = regmap_field_read((field), &(val)); \ field 1094 include/linux/regmap.h void regmap_field_free(struct regmap_field *field); field 1098 include/linux/regmap.h void devm_regmap_field_free(struct device *dev, struct regmap_field *field); field 1100 include/linux/regmap.h int regmap_field_read(struct regmap_field *field, unsigned int *val); field 1101 include/linux/regmap.h int regmap_field_update_bits_base(struct regmap_field *field, field 1104 include/linux/regmap.h int regmap_fields_read(struct regmap_field *field, unsigned int id, field 1106 include/linux/regmap.h int regmap_fields_update_bits_base(struct regmap_field *field, unsigned int id, field 1368 include/linux/regmap.h static inline int regmap_field_update_bits_base(struct regmap_field *field, field 1376 include/linux/regmap.h static inline int regmap_fields_update_bits_base(struct regmap_field *field, field 1780 include/linux/security.h int security_audit_rule_init(u32 field, u32 op, char *rulestr, void **lsmrule); field 1782 include/linux/security.h int security_audit_rule_match(u32 secid, u32 field, u32 op, void *lsmrule); field 1787 include/linux/security.h static inline int security_audit_rule_init(u32 field, u32 op, char *rulestr, field 1798 include/linux/security.h static inline int security_audit_rule_match(u32 secid, u32 field, u32 op, field 111 include/linux/spi/mxs-spi.h #define BF_SSP(value, field) (((value) << BP_SSP_##field) & BM_SSP_##field) field 81 include/linux/spi/spi.h #define SPI_STATISTICS_ADD_TO_FIELD(stats, field, count) \ field 85 include/linux/spi/spi.h (stats)->field += count; \ field 89 include/linux/spi/spi.h #define SPI_STATISTICS_INCREMENT_FIELD(stats, field) \ field 90 include/linux/spi/spi.h SPI_STATISTICS_ADD_TO_FIELD(stats, field, 1) field 34 include/media/davinci/vpbe_display.h #define VPBE_DISPLAY_VALID_FIELD(field) ((V4L2_FIELD_NONE == field) || \ field 35 include/media/davinci/vpbe_display.h (V4L2_FIELD_ANY == field) || (V4L2_FIELD_INTERLACED == field)) field 21 include/media/davinci/vpbe_venc.h int (*setup_pinmux)(u32 if_type, int field); field 45 include/media/soc_camera.h enum v4l2_field field; /* Preserve field over close() */ field 140 include/media/tpg/v4l2-tpg.h u32 field; field 239 include/media/tpg/v4l2-tpg.h u32 field); field 524 include/media/tpg/v4l2-tpg.h static inline void tpg_s_field(struct tpg_data *tpg, unsigned field, bool alternate) field 526 include/media/tpg/v4l2-tpg.h tpg->field = field; field 115 include/media/v4l2-mediabus.h pix_fmt->field = mbus_fmt->field; field 137 include/media/v4l2-mediabus.h mbus_fmt->field = pix_fmt->field; field 158 include/media/v4l2-mediabus.h pix_mp_fmt->field = mbus_fmt->field; field 178 include/media/v4l2-mediabus.h mbus_fmt->field = pix_mp_fmt->field; field 72 include/media/videobuf-core.h enum v4l2_field field; field 107 include/media/videobuf-core.h enum v4l2_field field); field 142 include/media/videobuf-core.h enum v4l2_field field; field 190 include/media/videobuf-core.h enum v4l2_field field, field 21 include/media/videobuf-dma-contig.h enum v4l2_field field, field 96 include/media/videobuf-dma-sg.h enum v4l2_field field, field 34 include/media/videobuf-vmalloc.h enum v4l2_field field, field 45 include/media/videobuf2-v4l2.h __u32 field; field 29 include/net/icmp.h #define ICMP_INC_STATS(net, field) SNMP_INC_STATS((net)->mib.icmp_statistics, field) field 30 include/net/icmp.h #define __ICMP_INC_STATS(net, field) __SNMP_INC_STATS((net)->mib.icmp_statistics, field) field 31 include/net/icmp.h #define ICMPMSGOUT_INC_STATS(net, field) SNMP_INC_STATS_ATOMIC_LONG((net)->mib.icmpmsg_statistics, field+256) field 32 include/net/icmp.h #define ICMPMSGIN_INC_STATS(net, field) SNMP_INC_STATS_ATOMIC_LONG((net)->mib.icmpmsg_statistics, field) field 285 include/net/ip.h #define IP_INC_STATS(net, field) SNMP_INC_STATS64((net)->mib.ip_statistics, field) field 286 include/net/ip.h #define __IP_INC_STATS(net, field) __SNMP_INC_STATS64((net)->mib.ip_statistics, field) field 287 include/net/ip.h #define IP_ADD_STATS(net, field, val) SNMP_ADD_STATS64((net)->mib.ip_statistics, field, val) field 288 include/net/ip.h #define __IP_ADD_STATS(net, field, val) __SNMP_ADD_STATS64((net)->mib.ip_statistics, field, val) field 289 include/net/ip.h #define IP_UPD_PO_STATS(net, field, val) SNMP_UPD_PO_STATS64((net)->mib.ip_statistics, field, val) field 290 include/net/ip.h #define __IP_UPD_PO_STATS(net, field, val) __SNMP_UPD_PO_STATS64((net)->mib.ip_statistics, field, val) field 291 include/net/ip.h #define NET_INC_STATS(net, field) SNMP_INC_STATS((net)->mib.net_statistics, field) field 292 include/net/ip.h #define __NET_INC_STATS(net, field) __SNMP_INC_STATS((net)->mib.net_statistics, field) field 293 include/net/ip.h #define NET_ADD_STATS(net, field, adnd) SNMP_ADD_STATS((net)->mib.net_statistics, field, adnd) field 294 include/net/ip.h #define __NET_ADD_STATS(net, field, adnd) __SNMP_ADD_STATS((net)->mib.net_statistics, field, adnd) field 206 include/net/ipv6.h #define _DEVINC(net, statname, mod, idev, field) \ field 210 include/net/ipv6.h mod##SNMP_INC_STATS64((_idev)->stats.statname, (field));\ field 211 include/net/ipv6.h mod##SNMP_INC_STATS64((net)->mib.statname##_statistics, (field));\ field 215 include/net/ipv6.h #define _DEVINCATOMIC(net, statname, mod, idev, field) \ field 219 include/net/ipv6.h SNMP_INC_STATS_ATOMIC_LONG((_idev)->stats.statname##dev, (field)); \ field 220 include/net/ipv6.h mod##SNMP_INC_STATS((net)->mib.statname##_statistics, (field));\ field 224 include/net/ipv6.h #define _DEVINC_ATOMIC_ATOMIC(net, statname, idev, field) \ field 228 include/net/ipv6.h SNMP_INC_STATS_ATOMIC_LONG((_idev)->stats.statname##dev, (field)); \ field 229 include/net/ipv6.h SNMP_INC_STATS_ATOMIC_LONG((net)->mib.statname##_statistics, (field));\ field 232 include/net/ipv6.h #define _DEVADD(net, statname, mod, idev, field, val) \ field 236 include/net/ipv6.h mod##SNMP_ADD_STATS((_idev)->stats.statname, (field), (val)); \ field 237 include/net/ipv6.h mod##SNMP_ADD_STATS((net)->mib.statname##_statistics, (field), (val));\ field 240 include/net/ipv6.h #define _DEVUPD(net, statname, mod, idev, field, val) \ field 244 include/net/ipv6.h mod##SNMP_UPD_PO_STATS((_idev)->stats.statname, field, (val)); \ field 245 include/net/ipv6.h mod##SNMP_UPD_PO_STATS((net)->mib.statname##_statistics, field, (val));\ field 250 include/net/ipv6.h #define IP6_INC_STATS(net, idev,field) \ field 251 include/net/ipv6.h _DEVINC(net, ipv6, , idev, field) field 252 include/net/ipv6.h #define __IP6_INC_STATS(net, idev,field) \ field 253 include/net/ipv6.h _DEVINC(net, ipv6, __, idev, field) field 254 include/net/ipv6.h #define IP6_ADD_STATS(net, idev,field,val) \ field 255 include/net/ipv6.h _DEVADD(net, ipv6, , idev, field, val) field 256 include/net/ipv6.h #define __IP6_ADD_STATS(net, idev,field,val) \ field 257 include/net/ipv6.h _DEVADD(net, ipv6, __, idev, field, val) field 258 include/net/ipv6.h #define IP6_UPD_PO_STATS(net, idev,field,val) \ field 259 include/net/ipv6.h _DEVUPD(net, ipv6, , idev, field, val) field 260 include/net/ipv6.h #define __IP6_UPD_PO_STATS(net, idev,field,val) \ field 261 include/net/ipv6.h _DEVUPD(net, ipv6, __, idev, field, val) field 262 include/net/ipv6.h #define ICMP6_INC_STATS(net, idev, field) \ field 263 include/net/ipv6.h _DEVINCATOMIC(net, icmpv6, , idev, field) field 264 include/net/ipv6.h #define __ICMP6_INC_STATS(net, idev, field) \ field 265 include/net/ipv6.h _DEVINCATOMIC(net, icmpv6, __, idev, field) field 267 include/net/ipv6.h #define ICMP6MSGOUT_INC_STATS(net, idev, field) \ field 268 include/net/ipv6.h _DEVINC_ATOMIC_ATOMIC(net, icmpv6msg, idev, field +256) field 269 include/net/ipv6.h #define ICMP6MSGIN_INC_STATS(net, idev, field) \ field 270 include/net/ipv6.h _DEVINC_ATOMIC_ATOMIC(net, icmpv6msg, idev, field) field 132 include/net/neighbour.h #define NEIGH_CACHE_STAT_INC(tbl, field) this_cpu_inc((tbl)->stats->field) field 209 include/net/sctp/sctp.h #define SCTP_INC_STATS(net, field) SNMP_INC_STATS((net)->sctp.sctp_statistics, field) field 210 include/net/sctp/sctp.h #define __SCTP_INC_STATS(net, field) __SNMP_INC_STATS((net)->sctp.sctp_statistics, field) field 211 include/net/sctp/sctp.h #define SCTP_DEC_STATS(net, field) SNMP_DEC_STATS((net)->sctp.sctp_statistics, field) field 121 include/net/snmp.h #define __SNMP_INC_STATS(mib, field) \ field 122 include/net/snmp.h __this_cpu_inc(mib->mibs[field]) field 124 include/net/snmp.h #define SNMP_INC_STATS_ATOMIC_LONG(mib, field) \ field 125 include/net/snmp.h atomic_long_inc(&mib->mibs[field]) field 127 include/net/snmp.h #define SNMP_INC_STATS(mib, field) \ field 128 include/net/snmp.h this_cpu_inc(mib->mibs[field]) field 130 include/net/snmp.h #define SNMP_DEC_STATS(mib, field) \ field 131 include/net/snmp.h this_cpu_dec(mib->mibs[field]) field 133 include/net/snmp.h #define __SNMP_ADD_STATS(mib, field, addend) \ field 134 include/net/snmp.h __this_cpu_add(mib->mibs[field], addend) field 136 include/net/snmp.h #define SNMP_ADD_STATS(mib, field, addend) \ field 137 include/net/snmp.h this_cpu_add(mib->mibs[field], addend) field 154 include/net/snmp.h #define __SNMP_ADD_STATS64(mib, field, addend) \ field 158 include/net/snmp.h ptr->mibs[field] += addend; \ field 162 include/net/snmp.h #define SNMP_ADD_STATS64(mib, field, addend) \ field 165 include/net/snmp.h __SNMP_ADD_STATS64(mib, field, addend); \ field 169 include/net/snmp.h #define __SNMP_INC_STATS64(mib, field) SNMP_ADD_STATS64(mib, field, 1) field 170 include/net/snmp.h #define SNMP_INC_STATS64(mib, field) SNMP_ADD_STATS64(mib, field, 1) field 187 include/net/snmp.h #define __SNMP_INC_STATS64(mib, field) __SNMP_INC_STATS(mib, field) field 188 include/net/snmp.h #define SNMP_INC_STATS64(mib, field) SNMP_INC_STATS(mib, field) field 189 include/net/snmp.h #define SNMP_DEC_STATS64(mib, field) SNMP_DEC_STATS(mib, field) field 190 include/net/snmp.h #define __SNMP_ADD_STATS64(mib, field, addend) __SNMP_ADD_STATS(mib, field, addend) field 191 include/net/snmp.h #define SNMP_ADD_STATS64(mib, field, addend) SNMP_ADD_STATS(mib, field, addend) field 308 include/net/tcp.h #define TCP_INC_STATS(net, field) SNMP_INC_STATS((net)->mib.tcp_statistics, field) field 309 include/net/tcp.h #define __TCP_INC_STATS(net, field) __SNMP_INC_STATS((net)->mib.tcp_statistics, field) field 310 include/net/tcp.h #define TCP_DEC_STATS(net, field) SNMP_DEC_STATS((net)->mib.tcp_statistics, field) field 311 include/net/tcp.h #define TCP_ADD_STATS(net, field, val) SNMP_ADD_STATS((net)->mib.tcp_statistics, field, val) field 399 include/net/udp.h #define UDP_INC_STATS(net, field, is_udplite) do { \ field 400 include/net/udp.h if (is_udplite) SNMP_INC_STATS((net)->mib.udplite_statistics, field); \ field 401 include/net/udp.h else SNMP_INC_STATS((net)->mib.udp_statistics, field); } while(0) field 402 include/net/udp.h #define __UDP_INC_STATS(net, field, is_udplite) do { \ field 403 include/net/udp.h if (is_udplite) __SNMP_INC_STATS((net)->mib.udplite_statistics, field); \ field 404 include/net/udp.h else __SNMP_INC_STATS((net)->mib.udp_statistics, field); } while(0) field 406 include/net/udp.h #define __UDP6_INC_STATS(net, field, is_udplite) do { \ field 407 include/net/udp.h if (is_udplite) __SNMP_INC_STATS((net)->mib.udplite_stats_in6, field);\ field 408 include/net/udp.h else __SNMP_INC_STATS((net)->mib.udp_stats_in6, field); \ field 410 include/net/udp.h #define UDP6_INC_STATS(net, field, __lite) do { \ field 411 include/net/udp.h if (__lite) SNMP_INC_STATS((net)->mib.udplite_stats_in6, field); \ field 412 include/net/udp.h else SNMP_INC_STATS((net)->mib.udp_stats_in6, field); \ field 431 include/net/udp.h #define __UDPX_INC_STATS(sk, field) \ field 432 include/net/udp.h __SNMP_INC_STATS(__UDPX_MIB(sk, (sk)->sk_family == AF_INET), field) field 52 include/net/xfrm.h #define XFRM_INC_STATS(net, field) SNMP_INC_STATS((net)->mib.xfrm_statistics, field) field 54 include/net/xfrm.h #define XFRM_INC_STATS(net, field) ((void)(net)) field 874 include/soc/fsl/qman.h #define qm_mcr_np_get(np, field) \ field 875 include/soc/fsl/qman.h ((np)->field & (qm_mcr_##field##_mask)) field 11 include/trace/bpf_probe.h #define __get_dynamic_array(field) \ field 12 include/trace/bpf_probe.h ((void *)__entry + (__entry->__data_loc_##field & 0xffff)) field 15 include/trace/bpf_probe.h #define __get_dynamic_array_len(field) \ field 16 include/trace/bpf_probe.h ((__entry->__data_loc_##field >> 16) & 0xffff) field 19 include/trace/bpf_probe.h #define __get_str(field) ((char *)__get_dynamic_array(field)) field 22 include/trace/bpf_probe.h #define __get_bitmask(field) (char *)__get_dynamic_array(field) field 38 include/trace/events/v4l2.h #define show_field(field) \ field 39 include/trace/events/v4l2.h __print_symbolic(field, SHOW_FIELD) field 111 include/trace/events/v4l2.h __field(u32, field) field 132 include/trace/events/v4l2.h __entry->field = buf->field; field 155 include/trace/events/v4l2.h show_field(__entry->field), field 188 include/trace/events/v4l2.h __field(u32, field) field 209 include/trace/events/v4l2.h __entry->field = vbuf->field; field 229 include/trace/events/v4l2.h show_field(__entry->field), field 11 include/trace/perf.h #define __get_dynamic_array(field) \ field 12 include/trace/perf.h ((void *)__entry + (__entry->__data_loc_##field & 0xffff)) field 15 include/trace/perf.h #define __get_dynamic_array_len(field) \ field 16 include/trace/perf.h ((__entry->__data_loc_##field >> 16) & 0xffff) field 19 include/trace/perf.h #define __get_str(field) ((char *)__get_dynamic_array(field)) field 22 include/trace/perf.h #define __get_bitmask(field) (char *)__get_dynamic_array(field) field 262 include/trace/trace_events.h #define __entry field field 268 include/trace/trace_events.h #define __get_dynamic_array(field) \ field 269 include/trace/trace_events.h ((void *)__entry + (__entry->__data_loc_##field & 0xffff)) field 272 include/trace/trace_events.h #define __get_dynamic_array_len(field) \ field 273 include/trace/trace_events.h ((__entry->__data_loc_##field >> 16) & 0xffff) field 276 include/trace/trace_events.h #define __get_str(field) ((char *)__get_dynamic_array(field)) field 279 include/trace/trace_events.h #define __get_bitmask(field) \ field 281 include/trace/trace_events.h void *__bitmask = __get_dynamic_array(field); \ field 283 include/trace/trace_events.h __bitmask_size = __get_dynamic_array_len(field); \ field 351 include/trace/trace_events.h struct trace_event_raw_##call *field; \ field 354 include/trace/trace_events.h field = (typeof(field))iter->ent; \ field 374 include/trace/trace_events.h struct trace_event_raw_##template *field; \ field 385 include/trace/trace_events.h field = (typeof(field))entry; \ field 399 include/trace/trace_events.h offsetof(typeof(field), item), \ field 400 include/trace/trace_events.h sizeof(field.item), \ field 408 include/trace/trace_events.h offsetof(typeof(field), item), \ field 409 include/trace/trace_events.h sizeof(field.item), \ field 427 include/trace/trace_events.h offsetof(typeof(field), item), \ field 428 include/trace/trace_events.h sizeof(field.item), \ field 437 include/trace/trace_events.h offsetof(typeof(field), __data_loc_##item), \ field 438 include/trace/trace_events.h sizeof(field.__data_loc_##item), \ field 452 include/trace/trace_events.h struct trace_event_raw_##call field; \ field 680 include/trace/trace_events.h #define __get_bitmask(field) (char *)__get_dynamic_array(field) field 350 include/uapi/drm/amdgpu_drm.h #define AMDGPU_TILING_SET(field, value) \ field 351 include/uapi/drm/amdgpu_drm.h (((__u64)(value) & AMDGPU_TILING_##field##_MASK) << AMDGPU_TILING_##field##_SHIFT) field 352 include/uapi/drm/amdgpu_drm.h #define AMDGPU_TILING_GET(value, field) \ field 353 include/uapi/drm/amdgpu_drm.h (((__u64)(value) >> AMDGPU_TILING_##field##_SHIFT) & AMDGPU_TILING_##field##_MASK) field 11 include/uapi/linux/bcache.h #define BITMASK(name, type, field, offset, size) \ field 13 include/uapi/linux/bcache.h { return (k->field >> offset) & ~(~0ULL << size); } \ field 17 include/uapi/linux/bcache.h k->field &= ~(~(~0ULL << size) << offset); \ field 18 include/uapi/linux/bcache.h k->field |= (v & ~(~0ULL << size)) << offset; \ field 29 include/uapi/linux/bcache.h #define KEY_FIELD(name, field, offset, size) \ field 30 include/uapi/linux/bcache.h BITMASK(name, struct bkey, field, offset, size) field 34 include/uapi/linux/v4l2-mediabus.h __u32 field; field 109 include/uapi/linux/videodev2.h #define V4L2_FIELD_HAS_TOP(field) \ field 110 include/uapi/linux/videodev2.h ((field) == V4L2_FIELD_TOP ||\ field 111 include/uapi/linux/videodev2.h (field) == V4L2_FIELD_INTERLACED ||\ field 112 include/uapi/linux/videodev2.h (field) == V4L2_FIELD_INTERLACED_TB ||\ field 113 include/uapi/linux/videodev2.h (field) == V4L2_FIELD_INTERLACED_BT ||\ field 114 include/uapi/linux/videodev2.h (field) == V4L2_FIELD_SEQ_TB ||\ field 115 include/uapi/linux/videodev2.h (field) == V4L2_FIELD_SEQ_BT) field 116 include/uapi/linux/videodev2.h #define V4L2_FIELD_HAS_BOTTOM(field) \ field 117 include/uapi/linux/videodev2.h ((field) == V4L2_FIELD_BOTTOM ||\ field 118 include/uapi/linux/videodev2.h (field) == V4L2_FIELD_INTERLACED ||\ field 119 include/uapi/linux/videodev2.h (field) == V4L2_FIELD_INTERLACED_TB ||\ field 120 include/uapi/linux/videodev2.h (field) == V4L2_FIELD_INTERLACED_BT ||\ field 121 include/uapi/linux/videodev2.h (field) == V4L2_FIELD_SEQ_TB ||\ field 122 include/uapi/linux/videodev2.h (field) == V4L2_FIELD_SEQ_BT) field 123 include/uapi/linux/videodev2.h #define V4L2_FIELD_HAS_BOTH(field) \ field 124 include/uapi/linux/videodev2.h ((field) == V4L2_FIELD_INTERLACED ||\ field 125 include/uapi/linux/videodev2.h (field) == V4L2_FIELD_INTERLACED_TB ||\ field 126 include/uapi/linux/videodev2.h (field) == V4L2_FIELD_INTERLACED_BT ||\ field 127 include/uapi/linux/videodev2.h (field) == V4L2_FIELD_SEQ_TB ||\ field 128 include/uapi/linux/videodev2.h (field) == V4L2_FIELD_SEQ_BT) field 129 include/uapi/linux/videodev2.h #define V4L2_FIELD_HAS_T_OR_B(field) \ field 130 include/uapi/linux/videodev2.h ((field) == V4L2_FIELD_BOTTOM ||\ field 131 include/uapi/linux/videodev2.h (field) == V4L2_FIELD_TOP ||\ field 132 include/uapi/linux/videodev2.h (field) == V4L2_FIELD_ALTERNATE) field 133 include/uapi/linux/videodev2.h #define V4L2_FIELD_IS_INTERLACED(field) \ field 134 include/uapi/linux/videodev2.h ((field) == V4L2_FIELD_INTERLACED ||\ field 135 include/uapi/linux/videodev2.h (field) == V4L2_FIELD_INTERLACED_TB ||\ field 136 include/uapi/linux/videodev2.h (field) == V4L2_FIELD_INTERLACED_BT) field 137 include/uapi/linux/videodev2.h #define V4L2_FIELD_IS_SEQUENTIAL(field) \ field 138 include/uapi/linux/videodev2.h ((field) == V4L2_FIELD_SEQ_TB ||\ field 139 include/uapi/linux/videodev2.h (field) == V4L2_FIELD_SEQ_BT) field 494 include/uapi/linux/videodev2.h __u32 field; /* enum v4l2_field */ field 992 include/uapi/linux/videodev2.h __u32 field; field 1103 include/uapi/linux/videodev2.h __u32 field; /* enum v4l2_field */ field 1135 include/uapi/linux/videodev2.h __u32 field; /* enum v4l2_field */ field 2096 include/uapi/linux/videodev2.h __u32 field; /* 0: first field, 1: second field */ field 2184 include/uapi/linux/videodev2.h __u32 field; field 2271 include/uapi/linux/videodev2.h __u8 field; field 88 include/video/gbe.h #define GET_GBE_FIELD(reg, field, v) \ field 89 include/video/gbe.h GET((v), GBE_##reg##_##field##_MSB, GBE_##reg##_##field##_LSB) field 90 include/video/gbe.h #define SET_GBE_FIELD(reg, field, v, f) \ field 91 include/video/gbe.h SET((v), (f), GBE_##reg##_##field##_MSB, GBE_##reg##_##field##_LSB) field 465 include/video/imx-ipu-v3.h void ipu_vdi_set_field_order(struct ipu_vdi *vdi, v4l2_std_id std, u32 field); field 773 kernel/module.c #define MODINFO_ATTR(field) \ field 774 kernel/module.c static void setup_modinfo_##field(struct module *mod, const char *s) \ field 776 kernel/module.c mod->field = kstrdup(s, GFP_KERNEL); \ field 778 kernel/module.c static ssize_t show_modinfo_##field(struct module_attribute *mattr, \ field 781 kernel/module.c return scnprintf(buffer, PAGE_SIZE, "%s\n", mk->mod->field); \ field 783 kernel/module.c static int modinfo_##field##_exists(struct module *mod) \ field 785 kernel/module.c return mod->field != NULL; \ field 787 kernel/module.c static void free_modinfo_##field(struct module *mod) \ field 789 kernel/module.c kfree(mod->field); \ field 790 kernel/module.c mod->field = NULL; \ field 792 kernel/module.c static struct module_attribute modinfo_##field = { \ field 793 kernel/module.c .attr = { .name = __stringify(field), .mode = 0444 }, \ field 794 kernel/module.c .show = show_modinfo_##field, \ field 795 kernel/module.c .setup = setup_modinfo_##field, \ field 796 kernel/module.c .test = modinfo_##field##_exists, \ field 797 kernel/module.c .free = free_modinfo_##field, \ field 4515 kernel/signal.c #define CHECK_OFFSET(field) \ field 4516 kernel/signal.c BUILD_BUG_ON(offsetof(siginfo_t, field) != offsetof(kernel_siginfo_t, field)) field 375 kernel/trace/ring_buffer.c struct buffer_data_page field; field 379 kernel/trace/ring_buffer.c (unsigned int)sizeof(field.time_stamp), field 384 kernel/trace/ring_buffer.c (unsigned int)offsetof(typeof(field), commit), field 385 kernel/trace/ring_buffer.c (unsigned int)sizeof(field.commit), field 390 kernel/trace/ring_buffer.c (unsigned int)offsetof(typeof(field), commit), field 396 kernel/trace/ring_buffer.c (unsigned int)offsetof(typeof(field), data), field 1542 kernel/trace/trace.h struct ftrace_event_field *field; field 1548 kernel/trace/trace.h static inline bool is_string_field(struct ftrace_event_field *field) field 1550 kernel/trace/trace.h return field->filter_type == FILTER_DYN_STRING || field 1551 kernel/trace/trace.h field->filter_type == FILTER_STATIC_STRING || field 1552 kernel/trace/trace.h field->filter_type == FILTER_PTR_STRING || field 1553 kernel/trace/trace.h field->filter_type == FILTER_COMM; field 1556 kernel/trace/trace.h static inline bool is_function_field(struct ftrace_event_field *field) field 1558 kernel/trace/trace.h return field->filter_type == FILTER_TRACE_FN; field 143 kernel/trace/trace_branch.c struct trace_branch *field; field 145 kernel/trace/trace_branch.c trace_assign_type(field, iter->ent); field 148 kernel/trace/trace_branch.c field->correct ? " ok " : " MISS ", field 149 kernel/trace/trace_branch.c field->func, field 150 kernel/trace/trace_branch.c field->file, field 151 kernel/trace/trace_branch.c field->line); field 77 kernel/trace/trace_events.c struct ftrace_event_field *field; field 79 kernel/trace/trace_events.c list_for_each_entry(field, head, link) { field 80 kernel/trace/trace_events.c if (!strcmp(field->name, name)) field 81 kernel/trace/trace_events.c return field; field 90 kernel/trace/trace_events.c struct ftrace_event_field *field; field 94 kernel/trace/trace_events.c field = __find_event_field(head, name); field 95 kernel/trace/trace_events.c if (field) field 96 kernel/trace/trace_events.c return field; field 98 kernel/trace/trace_events.c field = __find_event_field(&ftrace_generic_fields, name); field 99 kernel/trace/trace_events.c if (field) field 100 kernel/trace/trace_events.c return field; field 109 kernel/trace/trace_events.c struct ftrace_event_field *field; field 111 kernel/trace/trace_events.c field = kmem_cache_alloc(field_cachep, GFP_TRACE); field 112 kernel/trace/trace_events.c if (!field) field 115 kernel/trace/trace_events.c field->name = name; field 116 kernel/trace/trace_events.c field->type = type; field 119 kernel/trace/trace_events.c field->filter_type = filter_assign_type(type); field 121 kernel/trace/trace_events.c field->filter_type = filter_type; field 123 kernel/trace/trace_events.c field->offset = offset; field 124 kernel/trace/trace_events.c field->size = size; field 125 kernel/trace/trace_events.c field->is_signed = is_signed; field 127 kernel/trace/trace_events.c list_add(&field->link, head); field 190 kernel/trace/trace_events.c struct ftrace_event_field *field, *next; field 194 kernel/trace/trace_events.c list_for_each_entry_safe(field, next, head, link) { field 195 kernel/trace/trace_events.c list_del(&field->link); field 196 kernel/trace/trace_events.c kmem_cache_free(field_cachep, field); field 1218 kernel/trace/trace_events.c struct ftrace_event_field *field; field 1238 kernel/trace/trace_events.c field = list_entry(v, struct ftrace_event_field, link); field 1246 kernel/trace/trace_events.c array_descriptor = strchr(field->type, '['); field 1248 kernel/trace/trace_events.c if (str_has_prefix(field->type, "__data_loc")) field 1253 kernel/trace/trace_events.c field->type, field->name, field->offset, field 1254 kernel/trace/trace_events.c field->size, !!field->is_signed); field 1257 kernel/trace/trace_events.c (int)(array_descriptor - field->type), field 1258 kernel/trace/trace_events.c field->type, field->name, field 1259 kernel/trace/trace_events.c array_descriptor, field->offset, field 1260 kernel/trace/trace_events.c field->size, !!field->is_signed); field 1157 kernel/trace/trace_events_filter.c struct ftrace_event_field *field; field 1188 kernel/trace/trace_events_filter.c field = trace_find_event_field(call, field_name); field 1190 kernel/trace/trace_events_filter.c if (!field) { field 1221 kernel/trace/trace_events_filter.c pred->field = field; field 1222 kernel/trace/trace_events_filter.c pred->offset = field->offset; field 1233 kernel/trace/trace_events_filter.c if (strcmp(field->name, "ip") != 0) { field 1286 kernel/trace/trace_events_filter.c if (!is_string_field(field)) { field 1314 kernel/trace/trace_events_filter.c if (field->filter_type == FILTER_COMM) { field 1317 kernel/trace/trace_events_filter.c } else if (field->filter_type == FILTER_STATIC_STRING) { field 1319 kernel/trace/trace_events_filter.c pred->regex.field_len = field->size; field 1321 kernel/trace/trace_events_filter.c } else if (field->filter_type == FILTER_DYN_STRING) field 1331 kernel/trace/trace_events_filter.c if (is_string_field(field)) { field 1359 kernel/trace/trace_events_filter.c if (field->is_signed) field 1370 kernel/trace/trace_events_filter.c if (field->filter_type == FILTER_CPU) field 1373 kernel/trace/trace_events_filter.c pred->fn = select_comparison_fn(pred->op, field->size, field 1374 kernel/trace/trace_events_filter.c field->is_signed); field 1975 kernel/trace/trace_events_filter.c struct ftrace_event_field *field = pred->field; field 1985 kernel/trace/trace_events_filter.c if (strcmp(field->name, "ip")) field 2182 kernel/trace/trace_events_filter.c struct ftrace_event_field *field = pred->field; field 2185 kernel/trace/trace_events_filter.c printk(KERN_INFO "\npred visited %s\n", field->name); field 2197 kernel/trace/trace_events_filter.c struct ftrace_event_field *field = pred->field; field 2201 kernel/trace/trace_events_filter.c if (!field) { field 2206 kernel/trace/trace_events_filter.c if (!strchr(fields, *field->name)) field 83 kernel/trace/trace_events_hist.c typedef u64 (*hist_field_fn_t) (struct hist_field *field, field 116 kernel/trace/trace_events_hist.c struct ftrace_event_field *field; field 153 kernel/trace/trace_events_hist.c static u64 hist_field_none(struct hist_field *field, field 161 kernel/trace/trace_events_hist.c static u64 hist_field_counter(struct hist_field *field, field 174 kernel/trace/trace_events_hist.c char *addr = (char *)(event + hist_field->field->offset); field 184 kernel/trace/trace_events_hist.c u32 str_item = *(u32 *)(event + hist_field->field->offset); field 196 kernel/trace/trace_events_hist.c char **addr = (char **)(event + hist_field->field->offset); field 260 kernel/trace/trace_events_hist.c type *addr = (type *)(event + hist_field->field->offset); \ field 943 kernel/trace/trace_events_hist.c struct synth_field *field = event->fields[i]; field 946 kernel/trace/trace_events_hist.c switch (field->size) { field 1030 kernel/trace/trace_events_hist.c static void free_synth_field(struct synth_field *field) field 1032 kernel/trace/trace_events_hist.c kfree(field->type); field 1033 kernel/trace/trace_events_hist.c kfree(field->name); field 1034 kernel/trace/trace_events_hist.c kfree(field); field 1040 kernel/trace/trace_events_hist.c struct synth_field *field; field 1059 kernel/trace/trace_events_hist.c field = kzalloc(sizeof(*field), GFP_KERNEL); field 1060 kernel/trace/trace_events_hist.c if (!field) field 1070 kernel/trace/trace_events_hist.c field->name = kmemdup_nul(field_name, len, GFP_KERNEL); field 1071 kernel/trace/trace_events_hist.c if (!field->name) { field 1084 kernel/trace/trace_events_hist.c field->type = kzalloc(len, GFP_KERNEL); field 1085 kernel/trace/trace_events_hist.c if (!field->type) { field 1090 kernel/trace/trace_events_hist.c strcat(field->type, prefix); field 1091 kernel/trace/trace_events_hist.c strcat(field->type, field_type); field 1093 kernel/trace/trace_events_hist.c strcat(field->type, array); field 1094 kernel/trace/trace_events_hist.c if (field->type[len - 1] == ';') field 1095 kernel/trace/trace_events_hist.c field->type[len - 1] = '\0'; field 1098 kernel/trace/trace_events_hist.c field->size = synth_field_size(field->type); field 1099 kernel/trace/trace_events_hist.c if (!field->size) { field 1104 kernel/trace/trace_events_hist.c if (synth_field_is_string(field->type)) field 1105 kernel/trace/trace_events_hist.c field->is_string = true; field 1107 kernel/trace/trace_events_hist.c field->is_signed = synth_field_signed(field->type); field 1110 kernel/trace/trace_events_hist.c return field; field 1112 kernel/trace/trace_events_hist.c free_synth_field(field); field 1113 kernel/trace/trace_events_hist.c field = ERR_PTR(ret); field 1320 kernel/trace/trace_events_hist.c struct synth_field *field, *fields[SYNTH_FIELDS_MAX]; field 1350 kernel/trace/trace_events_hist.c field = parse_synth_field(argc - i, &argv[i], &consumed); field 1351 kernel/trace/trace_events_hist.c if (IS_ERR(field)) { field 1352 kernel/trace/trace_events_hist.c ret = PTR_ERR(field); field 1355 kernel/trace/trace_events_hist.c fields[n_fields++] = field; field 1454 kernel/trace/trace_events_hist.c struct synth_field *field; field 1460 kernel/trace/trace_events_hist.c field = event->fields[i]; field 1463 kernel/trace/trace_events_hist.c seq_printf(m, "%s %s%s", field->type, field->name, field 1657 kernel/trace/trace_events_hist.c struct hist_field *field; field 1662 kernel/trace/trace_events_hist.c field = hist_data->fields[i]; field 1663 kernel/trace/trace_events_hist.c if (field && field->flags & HIST_FIELD_FL_VAR) { field 1664 kernel/trace/trace_events_hist.c if (find_any_var_ref(hist_data, field->var.idx)) { field 1990 kernel/trace/trace_events_hist.c static const char *hist_field_name(struct hist_field *field, field 1998 kernel/trace/trace_events_hist.c if (field->field) field 1999 kernel/trace/trace_events_hist.c field_name = field->field->name; field 2000 kernel/trace/trace_events_hist.c else if (field->flags & HIST_FIELD_FL_LOG2 || field 2001 kernel/trace/trace_events_hist.c field->flags & HIST_FIELD_FL_ALIAS) field 2002 kernel/trace/trace_events_hist.c field_name = hist_field_name(field->operands[0], ++level); field 2003 kernel/trace/trace_events_hist.c else if (field->flags & HIST_FIELD_FL_CPU) field 2005 kernel/trace/trace_events_hist.c else if (field->flags & HIST_FIELD_FL_EXPR || field 2006 kernel/trace/trace_events_hist.c field->flags & HIST_FIELD_FL_VAR_REF) { field 2007 kernel/trace/trace_events_hist.c if (field->system) { field 2010 kernel/trace/trace_events_hist.c strcat(full_name, field->system); field 2012 kernel/trace/trace_events_hist.c strcat(full_name, field->event_name); field 2014 kernel/trace/trace_events_hist.c strcat(full_name, field->name); field 2017 kernel/trace/trace_events_hist.c field_name = field->name; field 2018 kernel/trace/trace_events_hist.c } else if (field->flags & HIST_FIELD_FL_TIMESTAMP) field 2360 kernel/trace/trace_events_hist.c static void expr_field_str(struct hist_field *field, char *expr) field 2362 kernel/trace/trace_events_hist.c if (field->flags & HIST_FIELD_FL_VAR_REF) field 2365 kernel/trace/trace_events_hist.c strcat(expr, hist_field_name(field, 0)); field 2367 kernel/trace/trace_events_hist.c if (field->flags && !(field->flags & HIST_FIELD_FL_VAR_REF)) { field 2368 kernel/trace/trace_events_hist.c const char *flags_str = get_hist_field_flags(field); field 2377 kernel/trace/trace_events_hist.c static char *expr_str(struct hist_field *field, unsigned int level) field 2388 kernel/trace/trace_events_hist.c if (!field->operands[0]) { field 2389 kernel/trace/trace_events_hist.c expr_field_str(field, expr); field 2393 kernel/trace/trace_events_hist.c if (field->operator == FIELD_OP_UNARY_MINUS) { field 2397 kernel/trace/trace_events_hist.c subexpr = expr_str(field->operands[0], ++level); field 2410 kernel/trace/trace_events_hist.c expr_field_str(field->operands[0], expr); field 2412 kernel/trace/trace_events_hist.c switch (field->operator) { field 2424 kernel/trace/trace_events_hist.c expr_field_str(field->operands[1], expr); field 2496 kernel/trace/trace_events_hist.c struct ftrace_event_field *field, field 2502 kernel/trace/trace_events_hist.c if (field && is_function_field(field)) field 2538 kernel/trace/trace_events_hist.c hist_field->operands[0] = create_hist_field(hist_data, field, fl, NULL); field 2564 kernel/trace/trace_events_hist.c if (WARN_ON_ONCE(!field)) field 2567 kernel/trace/trace_events_hist.c if (is_string_field(field)) { field 2571 kernel/trace/trace_events_hist.c hist_field->type = kstrdup(field->type, GFP_KERNEL); field 2575 kernel/trace/trace_events_hist.c if (field->filter_type == FILTER_STATIC_STRING) field 2577 kernel/trace/trace_events_hist.c else if (field->filter_type == FILTER_DYN_STRING) field 2582 kernel/trace/trace_events_hist.c hist_field->size = field->size; field 2583 kernel/trace/trace_events_hist.c hist_field->is_signed = field->is_signed; field 2584 kernel/trace/trace_events_hist.c hist_field->type = kstrdup(field->type, GFP_KERNEL); field 2588 kernel/trace/trace_events_hist.c hist_field->fn = select_value_fn(field->size, field 2589 kernel/trace/trace_events_hist.c field->is_signed); field 2596 kernel/trace/trace_events_hist.c hist_field->field = field; field 2759 kernel/trace/trace_events_hist.c char *name, *field; field 2766 kernel/trace/trace_events_hist.c field = hist_data->attrs->var_defs.expr[i]; field 2767 kernel/trace/trace_events_hist.c if (contains_operator(field) || is_var_ref(field)) field 2769 kernel/trace/trace_events_hist.c return field; field 2830 kernel/trace/trace_events_hist.c struct ftrace_event_field *field = NULL; field 2857 kernel/trace/trace_events_hist.c field = ERR_PTR(-EINVAL); field 2870 kernel/trace/trace_events_hist.c field = trace_find_event_field(file->event_call, field_name); field 2871 kernel/trace/trace_events_hist.c if (!field || !field->size) { field 2873 kernel/trace/trace_events_hist.c field = ERR_PTR(-EINVAL); field 2880 kernel/trace/trace_events_hist.c return field; field 2912 kernel/trace/trace_events_hist.c struct ftrace_event_field *field = NULL; field 2951 kernel/trace/trace_events_hist.c field = parse_field(hist_data, file, str, flags); field 2952 kernel/trace/trace_events_hist.c if (IS_ERR(field)) { field 2953 kernel/trace/trace_events_hist.c ret = PTR_ERR(field); field 2957 kernel/trace/trace_events_hist.c hist_field = create_hist_field(hist_data, field, *flags, var_name); field 3377 kernel/trace/trace_events_hist.c strcat(cmd, key_field->field->name); field 4183 kernel/trace/trace_events_hist.c struct synth_field *field; field 4188 kernel/trace/trace_events_hist.c field = event->fields[field_pos]; field 4190 kernel/trace/trace_events_hist.c if (strcmp(field->type, hist_field->type) != 0) field 5179 kernel/trace/trace_events_hist.c struct ftrace_event_field *field; field 5188 kernel/trace/trace_events_hist.c field = hist_field->field; field 5192 kernel/trace/trace_events_hist.c else if (!field) field 5195 kernel/trace/trace_events_hist.c else if (is_string_field(field)) field 5198 kernel/trace/trace_events_hist.c cmp_fn = tracing_map_cmp_num(field->size, field 5199 kernel/trace/trace_events_hist.c field->is_signed); field 5318 kernel/trace/trace_events_hist.c struct ftrace_event_field *field; field 5320 kernel/trace/trace_events_hist.c field = key_field->field; field 5321 kernel/trace/trace_events_hist.c if (field->filter_type == FILTER_DYN_STRING) field 5322 kernel/trace/trace_events_hist.c size = *(u32 *)(rec + field->offset) >> 16; field 5323 kernel/trace/trace_events_hist.c else if (field->filter_type == FILTER_PTR_STRING) field 5325 kernel/trace/trace_events_hist.c else if (field->filter_type == FILTER_STATIC_STRING) field 5326 kernel/trace/trace_events_hist.c size = field->size; field 5663 kernel/trace/trace_events_hist.c struct hist_field *field; field 5675 kernel/trace/trace_events_hist.c field = hist_data->fields[i]; field 5680 kernel/trace/trace_events_hist.c if (field->flags & HIST_FIELD_FL_STACKTRACE) field 5683 kernel/trace/trace_events_hist.c hist_field_print(m, field); field 5689 kernel/trace/trace_events_hist.c field = hist_data->fields[i]; field 5690 kernel/trace/trace_events_hist.c if (field->flags & HIST_FIELD_FL_VAR) { field 5699 kernel/trace/trace_events_hist.c hist_field_print(m, field); field 5709 kernel/trace/trace_events_hist.c field = hist_data->fields[i]; field 5711 kernel/trace/trace_events_hist.c if (field->flags & HIST_FIELD_FL_VAR) { field 5714 kernel/trace/trace_events_hist.c hist_field_print(m, field); field 5880 kernel/trace/trace_events_hist.c static bool compatible_field(struct ftrace_event_field *field, field 5883 kernel/trace/trace_events_hist.c if (field == test_field) field 5885 kernel/trace/trace_events_hist.c if (field == NULL || test_field == NULL) field 5887 kernel/trace/trace_events_hist.c if (strcmp(field->name, test_field->name) != 0) field 5889 kernel/trace/trace_events_hist.c if (strcmp(field->type, test_field->type) != 0) field 5891 kernel/trace/trace_events_hist.c if (field->size != test_field->size) field 5893 kernel/trace/trace_events_hist.c if (field->is_signed != test_field->is_signed) field 5936 kernel/trace/trace_events_hist.c if (!compatible_field(key_field->field, key_field_test->field)) field 85 kernel/trace/trace_export.c offsetof(typeof(field), item), \ field 86 kernel/trace/trace_export.c sizeof(field.item), \ field 94 kernel/trace/trace_export.c offsetof(typeof(field), \ field 96 kernel/trace/trace_export.c sizeof(field.container.item), \ field 107 kernel/trace/trace_export.c offsetof(typeof(field), item), \ field 108 kernel/trace/trace_export.c sizeof(field.item), \ field 118 kernel/trace/trace_export.c offsetof(typeof(field), \ field 120 kernel/trace/trace_export.c sizeof(field.container.item), \ field 128 kernel/trace/trace_export.c offsetof(typeof(field), item), \ field 138 kernel/trace/trace_export.c struct struct_name field; \ field 865 kernel/trace/trace_functions_graph.c print_graph_entry(struct ftrace_graph_ent_entry *field, struct trace_seq *s, field 869 kernel/trace/trace_functions_graph.c struct ftrace_graph_ent *call = &field->graph_ent; field 879 kernel/trace/trace_functions_graph.c leaf_ret = get_return_for_leaf(iter, field); field 881 kernel/trace/trace_functions_graph.c ret = print_graph_entry_leaf(iter, field, leaf_ret, s, flags); field 883 kernel/trace/trace_functions_graph.c ret = print_graph_entry_nested(iter, field, s, cpu, flags); field 1041 kernel/trace/trace_functions_graph.c struct ftrace_graph_ent_entry *field; field 1058 kernel/trace/trace_functions_graph.c field = &data->ent; field 1060 kernel/trace/trace_functions_graph.c ret = print_graph_entry(field, s, iter, flags); field 1078 kernel/trace/trace_functions_graph.c trace_assign_type(field, entry); field 1079 kernel/trace/trace_functions_graph.c saved = *field; field 1083 kernel/trace/trace_functions_graph.c struct ftrace_graph_ret_entry *field; field 1084 kernel/trace/trace_functions_graph.c trace_assign_type(field, entry); field 1085 kernel/trace/trace_functions_graph.c return print_graph_return(&field->ret, s, entry, iter, flags); field 1276 kernel/trace/trace_kprobe.c struct kprobe_trace_entry_head *field; field 1280 kernel/trace/trace_kprobe.c field = (struct kprobe_trace_entry_head *)iter->ent; field 1288 kernel/trace/trace_kprobe.c if (!seq_print_ip_sym(s, field->ip, flags | TRACE_ITER_SYM_OFFSET)) field 1294 kernel/trace/trace_kprobe.c (u8 *)&field[1], field) < 0) field 1306 kernel/trace/trace_kprobe.c struct kretprobe_trace_entry_head *field; field 1310 kernel/trace/trace_kprobe.c field = (struct kretprobe_trace_entry_head *)iter->ent; field 1318 kernel/trace/trace_kprobe.c if (!seq_print_ip_sym(s, field->ret_ip, flags | TRACE_ITER_SYM_OFFSET)) field 1323 kernel/trace/trace_kprobe.c if (!seq_print_ip_sym(s, field->func, flags & ~TRACE_ITER_SYM_OFFSET)) field 1329 kernel/trace/trace_kprobe.c (u8 *)&field[1], field) < 0) field 1342 kernel/trace/trace_kprobe.c struct kprobe_trace_entry_head field; field 1351 kernel/trace/trace_kprobe.c return traceprobe_define_arg_fields(event_call, sizeof(field), tp); field 1357 kernel/trace/trace_kprobe.c struct kretprobe_trace_entry_head field; field 1367 kernel/trace/trace_kprobe.c return traceprobe_define_arg_fields(event_call, sizeof(field), tp); field 170 kernel/trace/trace_mmiotrace.c struct trace_mmiotrace_rw *field; field 177 kernel/trace/trace_mmiotrace.c trace_assign_type(field, entry); field 178 kernel/trace/trace_mmiotrace.c rw = &field->rw; field 215 kernel/trace/trace_mmiotrace.c struct trace_mmiotrace_map *field; field 222 kernel/trace/trace_mmiotrace.c trace_assign_type(field, entry); field 223 kernel/trace/trace_mmiotrace.c m = &field->map; field 29 kernel/trace/trace_output.c struct bputs_entry *field; field 31 kernel/trace/trace_output.c trace_assign_type(field, entry); field 33 kernel/trace/trace_output.c trace_seq_puts(s, field->str); field 42 kernel/trace/trace_output.c struct bprint_entry *field; field 44 kernel/trace/trace_output.c trace_assign_type(field, entry); field 46 kernel/trace/trace_output.c trace_seq_bprintf(s, field->fmt, field->buf); field 55 kernel/trace/trace_output.c struct print_entry *field; field 57 kernel/trace/trace_output.c trace_assign_type(field, entry); field 59 kernel/trace/trace_output.c trace_seq_puts(s, field->buf); field 822 kernel/trace/trace_output.c struct ftrace_entry *field; field 825 kernel/trace/trace_output.c trace_assign_type(field, iter->ent); field 827 kernel/trace/trace_output.c seq_print_ip_sym(s, field->ip, flags); field 829 kernel/trace/trace_output.c if ((flags & TRACE_ITER_PRINT_PARENT) && field->parent_ip) { field 831 kernel/trace/trace_output.c seq_print_ip_sym(s, field->parent_ip, flags); field 842 kernel/trace/trace_output.c struct ftrace_entry *field; field 844 kernel/trace/trace_output.c trace_assign_type(field, iter->ent); field 847 kernel/trace/trace_output.c field->ip, field 848 kernel/trace/trace_output.c field->parent_ip); field 856 kernel/trace/trace_output.c struct ftrace_entry *field; field 859 kernel/trace/trace_output.c trace_assign_type(field, iter->ent); field 861 kernel/trace/trace_output.c SEQ_PUT_HEX_FIELD(s, field->ip); field 862 kernel/trace/trace_output.c SEQ_PUT_HEX_FIELD(s, field->parent_ip); field 870 kernel/trace/trace_output.c struct ftrace_entry *field; field 873 kernel/trace/trace_output.c trace_assign_type(field, iter->ent); field 875 kernel/trace/trace_output.c SEQ_PUT_FIELD(s, field->ip); field 876 kernel/trace/trace_output.c SEQ_PUT_FIELD(s, field->parent_ip); field 897 kernel/trace/trace_output.c struct ctx_switch_entry *field; field 902 kernel/trace/trace_output.c trace_assign_type(field, iter->ent); field 904 kernel/trace/trace_output.c T = task_index_to_char(field->next_state); field 905 kernel/trace/trace_output.c S = task_index_to_char(field->prev_state); field 906 kernel/trace/trace_output.c trace_find_cmdline(field->next_pid, comm); field 909 kernel/trace/trace_output.c field->prev_pid, field 910 kernel/trace/trace_output.c field->prev_prio, field 912 kernel/trace/trace_output.c field->next_cpu, field 913 kernel/trace/trace_output.c field->next_pid, field 914 kernel/trace/trace_output.c field->next_prio, field 934 kernel/trace/trace_output.c struct ctx_switch_entry *field; field 937 kernel/trace/trace_output.c trace_assign_type(field, iter->ent); field 940 kernel/trace/trace_output.c S = task_index_to_char(field->prev_state); field 941 kernel/trace/trace_output.c T = task_index_to_char(field->next_state); field 943 kernel/trace/trace_output.c field->prev_pid, field 944 kernel/trace/trace_output.c field->prev_prio, field 946 kernel/trace/trace_output.c field->next_cpu, field 947 kernel/trace/trace_output.c field->next_pid, field 948 kernel/trace/trace_output.c field->next_prio, field 969 kernel/trace/trace_output.c struct ctx_switch_entry *field; field 973 kernel/trace/trace_output.c trace_assign_type(field, iter->ent); field 976 kernel/trace/trace_output.c S = task_index_to_char(field->prev_state); field 977 kernel/trace/trace_output.c T = task_index_to_char(field->next_state); field 979 kernel/trace/trace_output.c SEQ_PUT_HEX_FIELD(s, field->prev_pid); field 980 kernel/trace/trace_output.c SEQ_PUT_HEX_FIELD(s, field->prev_prio); field 982 kernel/trace/trace_output.c SEQ_PUT_HEX_FIELD(s, field->next_cpu); field 983 kernel/trace/trace_output.c SEQ_PUT_HEX_FIELD(s, field->next_pid); field 984 kernel/trace/trace_output.c SEQ_PUT_HEX_FIELD(s, field->next_prio); field 1005 kernel/trace/trace_output.c struct ctx_switch_entry *field; field 1008 kernel/trace/trace_output.c trace_assign_type(field, iter->ent); field 1010 kernel/trace/trace_output.c SEQ_PUT_FIELD(s, field->prev_pid); field 1011 kernel/trace/trace_output.c SEQ_PUT_FIELD(s, field->prev_prio); field 1012 kernel/trace/trace_output.c SEQ_PUT_FIELD(s, field->prev_state); field 1013 kernel/trace/trace_output.c SEQ_PUT_FIELD(s, field->next_cpu); field 1014 kernel/trace/trace_output.c SEQ_PUT_FIELD(s, field->next_pid); field 1015 kernel/trace/trace_output.c SEQ_PUT_FIELD(s, field->next_prio); field 1016 kernel/trace/trace_output.c SEQ_PUT_FIELD(s, field->next_state); field 1050 kernel/trace/trace_output.c struct stack_entry *field; field 1055 kernel/trace/trace_output.c trace_assign_type(field, iter->ent); field 1060 kernel/trace/trace_output.c for (p = field->caller; p && p < end && *p != ULONG_MAX; p++) { field 1087 kernel/trace/trace_output.c struct userstack_entry *field; field 1092 kernel/trace/trace_output.c trace_assign_type(field, iter->ent); field 1103 kernel/trace/trace_output.c task = find_task_by_vpid(field->tgid); field 1110 kernel/trace/trace_output.c unsigned long ip = field->caller[i]; field 1142 kernel/trace/trace_output.c struct hwlat_entry *field; field 1144 kernel/trace/trace_output.c trace_assign_type(field, entry); field 1147 kernel/trace/trace_output.c field->seqnum, field 1148 kernel/trace/trace_output.c field->duration, field 1149 kernel/trace/trace_output.c field->outer_duration, field 1150 kernel/trace/trace_output.c (long long)field->timestamp.tv_sec, field 1151 kernel/trace/trace_output.c field->timestamp.tv_nsec); field 1153 kernel/trace/trace_output.c if (field->nmi_count) { field 1160 kernel/trace/trace_output.c field->nmi_total_ts); field 1162 kernel/trace/trace_output.c field->nmi_count); field 1175 kernel/trace/trace_output.c struct hwlat_entry *field; field 1178 kernel/trace/trace_output.c trace_assign_type(field, iter->ent); field 1181 kernel/trace/trace_output.c field->duration, field 1182 kernel/trace/trace_output.c field->outer_duration, field 1183 kernel/trace/trace_output.c (long long)field->timestamp.tv_sec, field 1184 kernel/trace/trace_output.c field->timestamp.tv_nsec, field 1185 kernel/trace/trace_output.c field->seqnum); field 1207 kernel/trace/trace_output.c struct bputs_entry *field; field 1209 kernel/trace/trace_output.c trace_assign_type(field, entry); field 1211 kernel/trace/trace_output.c seq_print_ip_sym(s, field->ip, flags); field 1213 kernel/trace/trace_output.c trace_seq_puts(s, field->str); field 1223 kernel/trace/trace_output.c struct bputs_entry *field; field 1226 kernel/trace/trace_output.c trace_assign_type(field, iter->ent); field 1228 kernel/trace/trace_output.c trace_seq_printf(s, ": %lx : ", field->ip); field 1229 kernel/trace/trace_output.c trace_seq_puts(s, field->str); field 1251 kernel/trace/trace_output.c struct bprint_entry *field; field 1253 kernel/trace/trace_output.c trace_assign_type(field, entry); field 1255 kernel/trace/trace_output.c seq_print_ip_sym(s, field->ip, flags); field 1257 kernel/trace/trace_output.c trace_seq_bprintf(s, field->fmt, field->buf); field 1267 kernel/trace/trace_output.c struct bprint_entry *field; field 1270 kernel/trace/trace_output.c trace_assign_type(field, iter->ent); field 1272 kernel/trace/trace_output.c trace_seq_printf(s, ": %lx : ", field->ip); field 1273 kernel/trace/trace_output.c trace_seq_bprintf(s, field->fmt, field->buf); field 1292 kernel/trace/trace_output.c struct print_entry *field; field 1295 kernel/trace/trace_output.c trace_assign_type(field, iter->ent); field 1297 kernel/trace/trace_output.c seq_print_ip_sym(s, field->ip, flags); field 1298 kernel/trace/trace_output.c trace_seq_printf(s, ": %s", field->buf); field 1306 kernel/trace/trace_output.c struct print_entry *field; field 1308 kernel/trace/trace_output.c trace_assign_type(field, iter->ent); field 1310 kernel/trace/trace_output.c trace_seq_printf(&iter->seq, "# %lx %s", field->ip, field->buf); field 1328 kernel/trace/trace_output.c struct raw_data_entry *field; field 1331 kernel/trace/trace_output.c trace_assign_type(field, iter->ent); field 1333 kernel/trace/trace_output.c trace_seq_printf(&iter->seq, "# %x buf:", field->id); field 1337 kernel/trace/trace_output.c (unsigned char)field->buf[i]); field 47 kernel/trace/trace_probe.h offsetof(typeof(field), item), \ field 48 kernel/trace/trace_probe.h sizeof(field.item), is_signed, \ field 218 kernel/trace/trace_probe_tmpl.h u8 *data, void *field) field 228 kernel/trace/trace_probe_tmpl.h if (!a->type->print(s, data + a->offset, field)) field 235 kernel/trace/trace_probe_tmpl.h if (!a->type->print(s, p, field)) field 201 kernel/trace/trace_syscalls.c #define SYSCALL_FIELD(type, field, name) \ field 202 kernel/trace/trace_syscalls.c sizeof(type) != sizeof(trace.field) ? \ field 204 kernel/trace/trace_syscalls.c #type, #name, offsetof(typeof(trace), field), \ field 205 kernel/trace/trace_syscalls.c sizeof(trace.field), is_signed_type(type) field 1165 kernel/trace/trace_uprobe.c struct uprobe_trace_entry_head field; field 853 kernel/trace/tracing_map.c struct tracing_map_field *field; field 863 kernel/trace/tracing_map.c field = &elt_a->fields[sort_key->field_idx]; field 864 kernel/trace/tracing_map.c cmp_fn = field->cmp_fn; field 881 kernel/trace/tracing_map.c struct tracing_map_field *field; field 891 kernel/trace/tracing_map.c field = &elt_a->fields[sort_key->field_idx]; field 893 kernel/trace/tracing_map.c cmp_fn = field->cmp_fn; field 895 kernel/trace/tracing_map.c val_a = elt_a->key + field->offset; field 896 kernel/trace/tracing_map.c val_b = elt_b->key + field->offset; field 12 lib/test_bitfield.c #define CHECK_ENC_GET_U(tp, v, field, res) do { \ field 16 lib/test_bitfield.c _res = u##tp##_encode_bits(v, field); \ field 18 lib/test_bitfield.c pr_warn("u" #tp "_encode_bits(" #v ", " #field ") is 0x%llx != " #res "\n",\ field 22 lib/test_bitfield.c if (u##tp##_get_bits(_res, field) != v) \ field 27 lib/test_bitfield.c #define CHECK_ENC_GET_LE(tp, v, field, res) do { \ field 31 lib/test_bitfield.c _res = le##tp##_encode_bits(v, field); \ field 33 lib/test_bitfield.c pr_warn("le" #tp "_encode_bits(" #v ", " #field ") is 0x%llx != 0x%llx\n",\ field 38 lib/test_bitfield.c if (le##tp##_get_bits(_res, field) != v) \ field 43 lib/test_bitfield.c #define CHECK_ENC_GET_BE(tp, v, field, res) do { \ field 47 lib/test_bitfield.c _res = be##tp##_encode_bits(v, field); \ field 49 lib/test_bitfield.c pr_warn("be" #tp "_encode_bits(" #v ", " #field ") is 0x%llx != 0x%llx\n",\ field 54 lib/test_bitfield.c if (be##tp##_get_bits(_res, field) != v) \ field 59 lib/test_bitfield.c #define CHECK_ENC_GET(tp, v, field, res) do { \ field 60 lib/test_bitfield.c CHECK_ENC_GET_U(tp, v, field, res); \ field 61 lib/test_bitfield.c CHECK_ENC_GET_LE(tp, v, field, res); \ field 62 lib/test_bitfield.c CHECK_ENC_GET_BE(tp, v, field, res); \ field 1690 net/core/devlink.c struct devlink_dpipe_field *field = &header->fields[match->field_id]; field 1700 net/core/devlink.c nla_put_u32(skb, DEVLINK_ATTR_DPIPE_FIELD_ID, field->id) || field 1738 net/core/devlink.c struct devlink_dpipe_field *field = &header->fields[action->field_id]; field 1748 net/core/devlink.c nla_put_u32(skb, DEVLINK_ATTR_DPIPE_FIELD_ID, field->id) || field 2217 net/core/devlink.c struct devlink_dpipe_field *field; field 2222 net/core/devlink.c field = &header->fields[i]; field 2227 net/core/devlink.c if (nla_put_string(skb, DEVLINK_ATTR_DPIPE_FIELD_NAME, field->name) || field 2228 net/core/devlink.c nla_put_u32(skb, DEVLINK_ATTR_DPIPE_FIELD_ID, field->id) || field 2229 net/core/devlink.c nla_put_u32(skb, DEVLINK_ATTR_DPIPE_FIELD_BITWIDTH, field->bitwidth) || field 2230 net/core/devlink.c nla_put_u32(skb, DEVLINK_ATTR_DPIPE_FIELD_MAPPING_TYPE, field->mapping_type)) field 56 net/core/net-sysfs.c #define NETDEVICE_SHOW(field, format_string) \ field 57 net/core/net-sysfs.c static ssize_t format_##field(const struct net_device *dev, char *buf) \ field 59 net/core/net-sysfs.c return sprintf(buf, format_string, dev->field); \ field 61 net/core/net-sysfs.c static ssize_t field##_show(struct device *dev, \ field 64 net/core/net-sysfs.c return netdev_show(dev, attr, buf, format_##field); \ field 67 net/core/net-sysfs.c #define NETDEVICE_SHOW_RO(field, format_string) \ field 68 net/core/net-sysfs.c NETDEVICE_SHOW(field, format_string); \ field 69 net/core/net-sysfs.c static DEVICE_ATTR_RO(field) field 71 net/core/net-sysfs.c #define NETDEVICE_SHOW_RW(field, format_string) \ field 72 net/core/net-sysfs.c NETDEVICE_SHOW(field, format_string); \ field 73 net/core/net-sysfs.c static DEVICE_ATTR_RW(field) field 923 net/core/skbuff.c #define CHECK_SKB_FIELD(field) \ field 924 net/core/skbuff.c BUILD_BUG_ON(offsetof(struct sk_buff, field) < \ field 926 net/core/skbuff.c BUILD_BUG_ON(offsetof(struct sk_buff, field) > \ field 198 net/dccp/dccp.h #define DCCP_INC_STATS(field) SNMP_INC_STATS(dccp_statistics, field) field 199 net/dccp/dccp.h #define __DCCP_INC_STATS(field) __SNMP_INC_STATS(dccp_statistics, field) field 200 net/dccp/dccp.h #define DCCP_DEC_STATS(field) SNMP_DEC_STATS(dccp_statistics, field) field 198 net/ipv4/route.c #define RT_CACHE_STAT_INC(field) raw_cpu_inc(rt_cache_stat.field) field 67 net/mac80211/debugfs_netdev.c #define IEEE80211_IF_FMT(name, field, format_string) \ field 72 net/mac80211/debugfs_netdev.c return scnprintf(buf, buflen, format_string, sdata->field); \ field 74 net/mac80211/debugfs_netdev.c #define IEEE80211_IF_FMT_DEC(name, field) \ field 75 net/mac80211/debugfs_netdev.c IEEE80211_IF_FMT(name, field, "%d\n") field 76 net/mac80211/debugfs_netdev.c #define IEEE80211_IF_FMT_HEX(name, field) \ field 77 net/mac80211/debugfs_netdev.c IEEE80211_IF_FMT(name, field, "%#x\n") field 78 net/mac80211/debugfs_netdev.c #define IEEE80211_IF_FMT_LHEX(name, field) \ field 79 net/mac80211/debugfs_netdev.c IEEE80211_IF_FMT(name, field, "%#lx\n") field 80 net/mac80211/debugfs_netdev.c #define IEEE80211_IF_FMT_SIZE(name, field) \ field 81 net/mac80211/debugfs_netdev.c IEEE80211_IF_FMT(name, field, "%zd\n") field 83 net/mac80211/debugfs_netdev.c #define IEEE80211_IF_FMT_HEXARRAY(name, field) \ field 90 net/mac80211/debugfs_netdev.c for (i = 0; i < sizeof(sdata->field); i++) { \ field 92 net/mac80211/debugfs_netdev.c sdata->field[i]); \ field 98 net/mac80211/debugfs_netdev.c #define IEEE80211_IF_FMT_ATOMIC(name, field) \ field 103 net/mac80211/debugfs_netdev.c return scnprintf(buf, buflen, "%d\n", atomic_read(&sdata->field));\ field 106 net/mac80211/debugfs_netdev.c #define IEEE80211_IF_FMT_MAC(name, field) \ field 111 net/mac80211/debugfs_netdev.c return scnprintf(buf, buflen, "%pM\n", sdata->field); \ field 114 net/mac80211/debugfs_netdev.c #define IEEE80211_IF_FMT_JIFFIES_TO_MS(name, field) \ field 120 net/mac80211/debugfs_netdev.c jiffies_to_msecs(sdata->field)); \ field 164 net/mac80211/debugfs_netdev.c #define IEEE80211_IF_FILE(name, field, format) \ field 165 net/mac80211/debugfs_netdev.c IEEE80211_IF_FMT_##format(name, field) \ field 21 net/mac80211/debugfs_sta.c #define STA_READ(name, field, format_string) \ field 28 net/mac80211/debugfs_sta.c format_string, sta->field); \ field 30 net/mac80211/debugfs_sta.c #define STA_READ_D(name, field) STA_READ(name, field, "%d\n") field 47 net/mac80211/debugfs_sta.c #define STA_FILE(name, field, format) \ field 48 net/mac80211/debugfs_sta.c STA_READ_##format(name, field) \ field 931 net/mac80211/debugfs_sta.c #define DEBUGFS_ADD_COUNTER(name, field) \ field 932 net/mac80211/debugfs_sta.c if (sizeof(sta->field) == sizeof(u32)) \ field 934 net/mac80211/debugfs_sta.c (u32 *) &sta->field); \ field 937 net/mac80211/debugfs_sta.c (u64 *) &sta->field); field 1361 net/mpls/af_mpls.c #define MPLS_PERDEV_SYSCTL_OFFSET(field) \ field 1362 net/mpls/af_mpls.c (&((struct mpls_dev *)0)->field) field 2619 net/mpls/af_mpls.c #define MPLS_NS_SYSCTL_OFFSET(field) \ field 2620 net/mpls/af_mpls.c (&((struct net *)0)->field) field 46 net/mpls/internal.h #define MPLS_INC_STATS(mdev, field) \ field 52 net/mpls/internal.h ptr->stats.field++; \ field 65 net/mpls/internal.h #define MPLS_INC_STATS(mdev, field) \ field 66 net/mpls/internal.h this_cpu_inc((mdev)->stats->stats.field) field 114 net/openvswitch/flow_netlink.c #define SW_FLOW_KEY_PUT(match, field, value, is_mask) \ field 116 net/openvswitch/flow_netlink.c update_range(match, offsetof(struct sw_flow_key, field), \ field 117 net/openvswitch/flow_netlink.c sizeof((match)->key->field), is_mask); \ field 119 net/openvswitch/flow_netlink.c (match)->mask->key.field = value; \ field 121 net/openvswitch/flow_netlink.c (match)->key->field = value; \ field 134 net/openvswitch/flow_netlink.c #define SW_FLOW_KEY_MEMCPY(match, field, value_p, len, is_mask) \ field 135 net/openvswitch/flow_netlink.c SW_FLOW_KEY_MEMCPY_OFFSET(match, offsetof(struct sw_flow_key, field), \ field 138 net/openvswitch/flow_netlink.c #define SW_FLOW_KEY_MEMSET_FIELD(match, field, value, is_mask) \ field 140 net/openvswitch/flow_netlink.c update_range(match, offsetof(struct sw_flow_key, field), \ field 141 net/openvswitch/flow_netlink.c sizeof((match)->key->field), is_mask); \ field 143 net/openvswitch/flow_netlink.c memset((u8 *)&(match)->mask->key.field, value, \ field 144 net/openvswitch/flow_netlink.c sizeof((match)->mask->key.field)); \ field 146 net/openvswitch/flow_netlink.c memset((u8 *)&(match)->key->field, value, \ field 147 net/openvswitch/flow_netlink.c sizeof((match)->key->field)); \ field 950 net/rxrpc/rxkad.c #define Z(field) \ field 953 net/rxrpc/rxkad.c eproto = tracepoint_string("rxkad_bad_"#field); \ field 955 net/rxrpc/rxkad.c if (!q || q - p > (field##_SZ)) \ field 13700 net/wireless/nl80211.c #define SET_FTM(field, name, type) \ field 13703 net/wireless/nl80211.c ftm_stats.field)) \ field 13705 net/wireless/nl80211.c #define SET_FTM_U64(field, name) \ field 13708 net/wireless/nl80211.c ftm_stats.field, NL80211_FTM_STATS_PAD)) \ field 79 samples/v4l/v4l2-pci-skeleton.c unsigned field; field 145 samples/v4l/v4l2-pci-skeleton.c new_buf->vb.field = skel->field; field 146 samples/v4l/v4l2-pci-skeleton.c if (skel->format.field == V4L2_FIELD_ALTERNATE) { field 147 samples/v4l/v4l2-pci-skeleton.c if (skel->field == V4L2_FIELD_BOTTOM) field 148 samples/v4l/v4l2-pci-skeleton.c skel->field = V4L2_FIELD_TOP; field 149 samples/v4l/v4l2-pci-skeleton.c else if (skel->field == V4L2_FIELD_TOP) field 150 samples/v4l/v4l2-pci-skeleton.c skel->field = V4L2_FIELD_BOTTOM; field 171 samples/v4l/v4l2-pci-skeleton.c skel->field = skel->format.field; field 172 samples/v4l/v4l2-pci-skeleton.c if (skel->field == V4L2_FIELD_ALTERNATE) { field 179 samples/v4l/v4l2-pci-skeleton.c skel->field = V4L2_FIELD_TOP; field 327 samples/v4l/v4l2-pci-skeleton.c pix->field = V4L2_FIELD_INTERLACED; field 334 samples/v4l/v4l2-pci-skeleton.c pix->field = V4L2_FIELD_ALTERNATE; field 337 samples/v4l/v4l2-pci-skeleton.c pix->field = V4L2_FIELD_NONE; field 46 samples/vfs/test-statx.c static void print_time(const char *field, struct statx_timestamp *ts) field 63 samples/vfs/test-statx.c printf("%s", field); field 234 scripts/dtc/libfdt/libfdt.h #define fdt_get_header(fdt, field) \ field 235 scripts/dtc/libfdt/libfdt.h (fdt32_ld(&((const struct fdt_header *)(fdt))->field)) field 290 scripts/gcc-plugins/randomize_layout_plugin.c static bool is_flexible_array(const_tree field) field 297 scripts/gcc-plugins/randomize_layout_plugin.c fieldtype = TREE_TYPE(field); field 324 scripts/gcc-plugins/randomize_layout_plugin.c tree field; field 358 scripts/gcc-plugins/randomize_layout_plugin.c for (field = TYPE_FIELDS(type), i = 0; field; field = TREE_CHAIN(field), i++) { field 359 scripts/gcc-plugins/randomize_layout_plugin.c gcc_assert(TREE_CODE(field) == FIELD_DECL); field 360 scripts/gcc-plugins/randomize_layout_plugin.c newtree[i] = field; field 418 scripts/gcc-plugins/randomize_layout_plugin.c static const_tree get_field_type(const_tree field) field 420 scripts/gcc-plugins/randomize_layout_plugin.c return strip_array_types(TREE_TYPE(field)); field 435 scripts/gcc-plugins/randomize_layout_plugin.c const_tree field; field 439 scripts/gcc-plugins/randomize_layout_plugin.c for (field = TYPE_FIELDS(node); field; field = TREE_CHAIN(field)) { field 440 scripts/gcc-plugins/randomize_layout_plugin.c const_tree fieldtype = get_field_type(field); field 485 scripts/gcc-plugins/randomize_layout_plugin.c tree lastval, lastidx, field, init, type, flexsize; field 507 scripts/gcc-plugins/randomize_layout_plugin.c for (field = TYPE_FIELDS(TREE_TYPE(decl)); TREE_CHAIN(field); field = TREE_CHAIN(field)) field 510 scripts/gcc-plugins/randomize_layout_plugin.c if (lastidx != field) field 621 scripts/gcc-plugins/randomize_layout_plugin.c tree field, val; field 624 scripts/gcc-plugins/randomize_layout_plugin.c FOR_EACH_CONSTRUCTOR_ELT(CONSTRUCTOR_ELTS(init), idx, field, val) { field 632 scripts/gcc-plugins/randomize_layout_plugin.c if (field == NULL_TREE) field 634 scripts/gcc-plugins/randomize_layout_plugin.c field_type = TREE_TYPE(field); field 78 scripts/gcc-plugins/structleak_plugin.c static tree get_field_type(tree field) field 80 scripts/gcc-plugins/structleak_plugin.c return strip_array_types(TREE_TYPE(field)); field 85 scripts/gcc-plugins/structleak_plugin.c tree field; field 87 scripts/gcc-plugins/structleak_plugin.c for (field = TYPE_FIELDS(type); field; field = TREE_CHAIN(field)) { field 88 scripts/gcc-plugins/structleak_plugin.c tree fieldtype = get_field_type(field); field 95 scripts/gcc-plugins/structleak_plugin.c if (lookup_attribute("user", DECL_ATTRIBUTES(field))) field 6 scripts/mod/devicetable-offsets.c #define DEVID_FIELD(devid, field) \ field 7 scripts/mod/devicetable-offsets.c DEFINE(OFF_##devid##_##field, offsetof(struct devid, field)) field 85 scripts/mod/file2alias.c #define ADD(str, sep, cond, field) \ field 90 scripts/mod/file2alias.c sizeof(field) == 1 ? "%02X" : \ field 91 scripts/mod/file2alias.c sizeof(field) == 2 ? "%04X" : \ field 92 scripts/mod/file2alias.c sizeof(field) == 4 ? "%08X" : "", \ field 93 scripts/mod/file2alias.c field); \ field 934 scripts/mod/file2alias.c int field; field 972 scripts/mod/file2alias.c (*matches)[j].slot == dmi_fields[i].field) { field 178 security/apparmor/audit.c int aa_audit_rule_init(u32 field, u32 op, char *rulestr, void **vrule) field 182 security/apparmor/audit.c switch (field) { field 225 security/apparmor/audit.c int aa_audit_rule_match(u32 sid, u32 field, u32 op, void *vrule) field 239 security/apparmor/audit.c switch (field) { field 189 security/apparmor/include/audit.h int aa_audit_rule_init(u32 field, u32 op, char *rulestr, void **vrule); field 191 security/apparmor/include/audit.h int aa_audit_rule_match(u32 sid, u32 field, u32 op, void *vrule); field 747 security/commoncap.c #define __cap_gained(field, target, source) \ field 748 security/commoncap.c !cap_issubset(target->cap_##field, source->cap_##field) field 751 security/commoncap.c #define __cap_full(field, cred) \ field 752 security/commoncap.c cap_issubset(CAP_FULL_SET, cred->cap_##field) field 367 security/integrity/ima/ima.h static inline int security_filter_rule_init(u32 field, u32 op, char *rulestr, field 373 security/integrity/ima/ima.h static inline int security_filter_rule_match(u32 secid, u32 field, u32 op, field 55 security/integrity/ima/ima_api.c const struct ima_template_field *field = field 59 security/integrity/ima/ima_api.c result = field->field_init(event_data, field 178 security/integrity/ima/ima_fs.c const struct ima_template_field *field = field 181 security/integrity/ima/ima_fs.c if (is_ima_template && strcmp(field->field_id, "d") == 0) field 183 security/integrity/ima/ima_fs.c if (is_ima_template && strcmp(field->field_id, "n") == 0) field 185 security/integrity/ima/ima_fs.c field->field_show(m, show, &e->template_data[i]); field 2350 security/security.c int security_audit_rule_init(u32 field, u32 op, char *rulestr, void **lsmrule) field 2352 security/security.c return call_int_hook(audit_rule_init, 0, field, op, rulestr, lsmrule); field 2365 security/security.c int security_audit_rule_match(u32 secid, u32 field, u32 op, void *lsmrule) field 2367 security/security.c return call_int_hook(audit_rule_match, 0, secid, field, op, lsmrule); field 39 security/selinux/avc.c #define avc_cache_stats_incr(field) this_cpu_inc(avc_cache_stats.field) field 41 security/selinux/avc.c #define avc_cache_stats_incr(field) do {} while (0) field 26 security/selinux/include/audit.h int selinux_audit_rule_init(u32 field, u32 op, char *rulestr, void **rule); field 47 security/selinux/include/audit.h int selinux_audit_rule_match(u32 sid, u32 field, u32 op, void *rule); field 3280 security/selinux/ss/services.c int selinux_audit_rule_init(u32 field, u32 op, char *rulestr, void **vrule) field 3296 security/selinux/ss/services.c switch (field) { field 3330 security/selinux/ss/services.c switch (field) { field 3404 security/selinux/ss/services.c int selinux_audit_rule_match(u32 sid, u32 field, u32 op, void *vrule) field 3434 security/selinux/ss/services.c switch (field) { field 3472 security/selinux/ss/services.c level = ((field == AUDIT_SUBJ_SEN || field 3473 security/selinux/ss/services.c field == AUDIT_OBJ_LEV_LOW) ? field 4338 security/smack/smack_lsm.c static int smack_audit_rule_init(u32 field, u32 op, char *rulestr, void **vrule) field 4344 security/smack/smack_lsm.c if (field != AUDIT_SUBJ_USER && field != AUDIT_OBJ_USER) field 4392 security/smack/smack_lsm.c static int smack_audit_rule_match(u32 secid, u32 field, u32 op, void *vrule) field 4402 security/smack/smack_lsm.c if (field != AUDIT_SUBJ_USER && field != AUDIT_OBJ_USER) field 173 sound/mips/ad1843.c const struct ad1843_bitfield *field) field 177 sound/mips/ad1843.c w = ad1843->read(ad1843->chip, field->reg); field 178 sound/mips/ad1843.c return w >> field->lo_bit & ((1 << field->nbits) - 1); field 186 sound/mips/ad1843.c const struct ad1843_bitfield *field, field 191 sound/mips/ad1843.c w = ad1843->read(ad1843->chip, field->reg); field 192 sound/mips/ad1843.c mask = ((1 << field->nbits) - 1) << field->lo_bit; field 193 sound/mips/ad1843.c oldval = (w & mask) >> field->lo_bit; field 194 sound/mips/ad1843.c newbits = (newval << field->lo_bit) & mask; field 196 sound/mips/ad1843.c ad1843->write(ad1843->chip, field->reg, w); field 64 sound/pci/ctxfi/cthardware.c unsigned int get_field(unsigned int data, unsigned int field) field 68 sound/pci/ctxfi/cthardware.c if (WARN_ON(!field)) field 71 sound/pci/ctxfi/cthardware.c for (i = 0; !(field & (1 << i)); ) field 74 sound/pci/ctxfi/cthardware.c return (data & field) >> i; field 77 sound/pci/ctxfi/cthardware.c void set_field(unsigned int *data, unsigned int field, unsigned int value) field 81 sound/pci/ctxfi/cthardware.c if (WARN_ON(!field)) field 84 sound/pci/ctxfi/cthardware.c for (i = 0; !(field & (1 << i)); ) field 87 sound/pci/ctxfi/cthardware.c *data = (*data & (~field)) | ((value << i) & field); field 197 sound/pci/ctxfi/cthardware.h unsigned int get_field(unsigned int data, unsigned int field); field 198 sound/pci/ctxfi/cthardware.h void set_field(unsigned int *data, unsigned int field, unsigned int value); field 52 sound/pci/hda/hda_sysfs.c #define CODEC_INFO_SHOW(type, field) \ field 58 sound/pci/hda/hda_sysfs.c return sprintf(buf, "0x%x\n", codec->field); \ field 61 sound/pci/hda/hda_sysfs.c #define CODEC_INFO_STR_SHOW(type, field) \ field 68 sound/pci/hda/hda_sysfs.c codec->field ? codec->field : ""); \ field 166 sound/pci/hda/hda_sysfs.c #define CODEC_INFO_STORE(type, field) \ field 176 sound/pci/hda/hda_sysfs.c codec->field = val; \ field 180 sound/pci/hda/hda_sysfs.c #define CODEC_INFO_STR_STORE(type, field) \ field 189 sound/pci/hda/hda_sysfs.c kfree(codec->field); \ field 190 sound/pci/hda/hda_sysfs.c codec->field = s; \ field 54 sound/soc/codecs/sti-sas.c struct regmap_field **field; field 61 sound/soc/codecs/sti-sas.c struct regmap_field **field; field 477 sound/soc/codecs/wm_adsp.c #define HOST_BUFFER_FIELD(field) \ field 478 sound/soc/codecs/wm_adsp.c (offsetof(struct wm_adsp_buffer, field) / sizeof(__be32)) field 480 sound/soc/codecs/wm_adsp.c #define ALG_XM_FIELD(field) \ field 481 sound/soc/codecs/wm_adsp.c (offsetof(struct wm_adsp_alg_xm_struct, field) / sizeof(__be32)) field 1729 sound/soc/soc-core.c static int is_dmi_valid(const char *field) field 1734 sound/soc/soc-core.c if (strstr(field, dmi_blacklist[i])) field 97 tools/include/linux/rbtree.h #define rbtree_postorder_for_each_entry_safe(pos, n, root, field) \ field 98 tools/include/linux/rbtree.h for (pos = rb_entry_safe(rb_first_postorder(root), typeof(*pos), field); \ field 99 tools/include/linux/rbtree.h pos && ({ n = rb_entry_safe(rb_next_postorder(&pos->field), \ field 100 tools/include/linux/rbtree.h typeof(*pos), field); 1; }); \ field 87 tools/lib/traceevent/event-parse-local.h void tep_free_format_field(struct tep_format_field *field); field 880 tools/lib/traceevent/event-parse.c free(arg->field.name); field 883 tools/lib/traceevent/event-parse.c free_arg(arg->flags.field); field 888 tools/lib/traceevent/event-parse.c free_arg(arg->symbol.field); field 893 tools/lib/traceevent/event-parse.c free_arg(arg->hex.field); field 897 tools/lib/traceevent/event-parse.c free_arg(arg->int_array.field); field 1373 tools/lib/traceevent/event-parse.c static int field_is_string(struct tep_format_field *field) field 1375 tools/lib/traceevent/event-parse.c if ((field->flags & TEP_FIELD_IS_ARRAY) && field 1376 tools/lib/traceevent/event-parse.c (strstr(field->type, "char") || strstr(field->type, "u8") || field 1377 tools/lib/traceevent/event-parse.c strstr(field->type, "s8"))) field 1383 tools/lib/traceevent/event-parse.c static int field_is_dynamic(struct tep_format_field *field) field 1385 tools/lib/traceevent/event-parse.c if (strncmp(field->type, "__data_loc", 10) == 0) field 1391 tools/lib/traceevent/event-parse.c static int field_is_long(struct tep_format_field *field) field 1394 tools/lib/traceevent/event-parse.c if (strstr(field->type, "long")) field 1430 tools/lib/traceevent/event-parse.c struct tep_format_field *field = NULL; field 1471 tools/lib/traceevent/event-parse.c field = calloc(1, sizeof(*field)); field 1472 tools/lib/traceevent/event-parse.c if (!field) field 1475 tools/lib/traceevent/event-parse.c field->event = event; field 1490 tools/lib/traceevent/event-parse.c field->flags |= TEP_FIELD_IS_POINTER; field 1492 tools/lib/traceevent/event-parse.c if (field->type) { field 1494 tools/lib/traceevent/event-parse.c new_type = realloc(field->type, field 1495 tools/lib/traceevent/event-parse.c strlen(field->type) + field 1501 tools/lib/traceevent/event-parse.c field->type = new_type; field 1502 tools/lib/traceevent/event-parse.c strcat(field->type, " "); field 1503 tools/lib/traceevent/event-parse.c strcat(field->type, last_token); field 1506 tools/lib/traceevent/event-parse.c field->type = last_token; field 1514 tools/lib/traceevent/event-parse.c if (!field->type) { field 1518 tools/lib/traceevent/event-parse.c field->name = field->alias = last_token; field 1529 tools/lib/traceevent/event-parse.c field->flags |= TEP_FIELD_IS_ARRAY; field 1534 tools/lib/traceevent/event-parse.c field->arraylen = strtoul(token, NULL, 0); field 1536 tools/lib/traceevent/event-parse.c field->arraylen = 0; field 1558 tools/lib/traceevent/event-parse.c field->arraylen = strtoul(token, NULL, 0); field 1586 tools/lib/traceevent/event-parse.c new_type = realloc(field->type, field 1587 tools/lib/traceevent/event-parse.c strlen(field->type) + field 1588 tools/lib/traceevent/event-parse.c strlen(field->name) + field 1594 tools/lib/traceevent/event-parse.c field->type = new_type; field 1595 tools/lib/traceevent/event-parse.c strcat(field->type, " "); field 1596 tools/lib/traceevent/event-parse.c strcat(field->type, field->name); field 1597 tools/lib/traceevent/event-parse.c size_dynamic = type_size(field->name); field 1598 tools/lib/traceevent/event-parse.c free_token(field->name); field 1599 tools/lib/traceevent/event-parse.c strcat(field->type, brackets); field 1600 tools/lib/traceevent/event-parse.c field->name = field->alias = token; field 1604 tools/lib/traceevent/event-parse.c new_type = realloc(field->type, field 1605 tools/lib/traceevent/event-parse.c strlen(field->type) + field 1611 tools/lib/traceevent/event-parse.c field->type = new_type; field 1612 tools/lib/traceevent/event-parse.c strcat(field->type, brackets); field 1617 tools/lib/traceevent/event-parse.c if (field_is_string(field)) field 1618 tools/lib/traceevent/event-parse.c field->flags |= TEP_FIELD_IS_STRING; field 1619 tools/lib/traceevent/event-parse.c if (field_is_dynamic(field)) field 1620 tools/lib/traceevent/event-parse.c field->flags |= TEP_FIELD_IS_DYNAMIC; field 1621 tools/lib/traceevent/event-parse.c if (field_is_long(field)) field 1622 tools/lib/traceevent/event-parse.c field->flags |= TEP_FIELD_IS_LONG; field 1636 tools/lib/traceevent/event-parse.c field->offset = strtoul(token, NULL, 0); field 1650 tools/lib/traceevent/event-parse.c field->size = strtoul(token, NULL, 0); field 1671 tools/lib/traceevent/event-parse.c field->flags |= TEP_FIELD_IS_SIGNED; field 1683 tools/lib/traceevent/event-parse.c if (field->flags & TEP_FIELD_IS_ARRAY) { field 1684 tools/lib/traceevent/event-parse.c if (field->arraylen) field 1685 tools/lib/traceevent/event-parse.c field->elementsize = field->size / field->arraylen; field 1686 tools/lib/traceevent/event-parse.c else if (field->flags & TEP_FIELD_IS_DYNAMIC) field 1687 tools/lib/traceevent/event-parse.c field->elementsize = size_dynamic; field 1688 tools/lib/traceevent/event-parse.c else if (field->flags & TEP_FIELD_IS_STRING) field 1689 tools/lib/traceevent/event-parse.c field->elementsize = 1; field 1690 tools/lib/traceevent/event-parse.c else if (field->flags & TEP_FIELD_IS_LONG) field 1691 tools/lib/traceevent/event-parse.c field->elementsize = event->tep ? field 1695 tools/lib/traceevent/event-parse.c field->elementsize = field->size; field 1697 tools/lib/traceevent/event-parse.c *fields = field; field 1698 tools/lib/traceevent/event-parse.c fields = &field->next; field 1707 tools/lib/traceevent/event-parse.c if (field) { field 1708 tools/lib/traceevent/event-parse.c free(field->type); field 1709 tools/lib/traceevent/event-parse.c free(field->name); field 1710 tools/lib/traceevent/event-parse.c free(field); field 2148 tools/lib/traceevent/event-parse.c char *field; field 2156 tools/lib/traceevent/event-parse.c field = token; field 2159 tools/lib/traceevent/event-parse.c arg->field.name = field; field 2162 tools/lib/traceevent/event-parse.c arg->field.field = tep_find_any_field(event, arg->field.name); field 2163 tools/lib/traceevent/event-parse.c arg->field.field->flags |= TEP_FIELD_IS_FLAG; field 2166 tools/lib/traceevent/event-parse.c arg->field.field = tep_find_any_field(event, arg->field.name); field 2167 tools/lib/traceevent/event-parse.c arg->field.field->flags |= TEP_FIELD_IS_SYMBOLIC; field 2186 tools/lib/traceevent/event-parse.c struct tep_print_arg *field; field 2191 tools/lib/traceevent/event-parse.c field = alloc_arg(); field 2192 tools/lib/traceevent/event-parse.c if (!field) { field 2198 tools/lib/traceevent/event-parse.c type = process_arg(event, field, &token); field 2203 tools/lib/traceevent/event-parse.c free_arg(field); field 2207 tools/lib/traceevent/event-parse.c *print_arg = field; field 2522 tools/lib/traceevent/event-parse.c struct tep_print_flag_sym *field; field 2548 tools/lib/traceevent/event-parse.c field = calloc(1, sizeof(*field)); field 2549 tools/lib/traceevent/event-parse.c if (!field) field 2555 tools/lib/traceevent/event-parse.c field->value = strdup(value); field 2556 tools/lib/traceevent/event-parse.c if (field->value == NULL) field 2572 tools/lib/traceevent/event-parse.c field->str = strdup(value); field 2573 tools/lib/traceevent/event-parse.c if (field->str == NULL) field 2578 tools/lib/traceevent/event-parse.c *list = field; field 2579 tools/lib/traceevent/event-parse.c list = &field->next; field 2589 tools/lib/traceevent/event-parse.c free_flag_sym(field); field 2601 tools/lib/traceevent/event-parse.c struct tep_print_arg *field; field 2608 tools/lib/traceevent/event-parse.c field = alloc_arg(); field 2609 tools/lib/traceevent/event-parse.c if (!field) { field 2614 tools/lib/traceevent/event-parse.c type = process_field_arg(event, field, &token); field 2618 tools/lib/traceevent/event-parse.c type = process_op(event, field, &token); field 2624 tools/lib/traceevent/event-parse.c arg->flags.field = field; field 2644 tools/lib/traceevent/event-parse.c free_arg(field); field 2654 tools/lib/traceevent/event-parse.c struct tep_print_arg *field; field 2661 tools/lib/traceevent/event-parse.c field = alloc_arg(); field 2662 tools/lib/traceevent/event-parse.c if (!field) { field 2667 tools/lib/traceevent/event-parse.c type = process_field_arg(event, field, &token); field 2672 tools/lib/traceevent/event-parse.c arg->symbol.field = field; field 2683 tools/lib/traceevent/event-parse.c free_arg(field); field 2697 tools/lib/traceevent/event-parse.c if (alloc_and_process_delim(event, ",", &arg->hex.field)) field 2706 tools/lib/traceevent/event-parse.c free_arg(arg->hex.field); field 2707 tools/lib/traceevent/event-parse.c arg->hex.field = NULL; field 2732 tools/lib/traceevent/event-parse.c if (alloc_and_process_delim(event, ",", &arg->int_array.field)) field 2747 tools/lib/traceevent/event-parse.c free_arg(arg->int_array.field); field 2748 tools/lib/traceevent/event-parse.c arg->int_array.field = NULL; field 2757 tools/lib/traceevent/event-parse.c struct tep_format_field *field; field 2775 tools/lib/traceevent/event-parse.c field = tep_find_field(event, token); field 2776 tools/lib/traceevent/event-parse.c if (!field) field 2779 tools/lib/traceevent/event-parse.c arg->dynarray.field = field; field 2822 tools/lib/traceevent/event-parse.c struct tep_format_field *field; field 2832 tools/lib/traceevent/event-parse.c field = tep_find_field(event, token); field 2833 tools/lib/traceevent/event-parse.c if (!field) field 2836 tools/lib/traceevent/event-parse.c arg->dynarray.field = field; field 3430 tools/lib/traceevent/event-parse.c int tep_read_number_field(struct tep_format_field *field, const void *data, field 3433 tools/lib/traceevent/event-parse.c if (!field) field 3435 tools/lib/traceevent/event-parse.c switch (field->size) { field 3440 tools/lib/traceevent/event-parse.c *value = tep_read_number(field->event->tep, field 3441 tools/lib/traceevent/event-parse.c data + field->offset, field->size); field 3452 tools/lib/traceevent/event-parse.c struct tep_format_field *field; field 3464 tools/lib/traceevent/event-parse.c field = tep_find_common_field(event, type); field 3465 tools/lib/traceevent/event-parse.c if (!field) field 3468 tools/lib/traceevent/event-parse.c *offset = field->offset; field 3469 tools/lib/traceevent/event-parse.c *size = field->size; field 3616 tools/lib/traceevent/event-parse.c if (!arg->field.field) { field 3617 tools/lib/traceevent/event-parse.c arg->field.field = tep_find_any_field(event, arg->field.name); field 3618 tools/lib/traceevent/event-parse.c if (!arg->field.field) field 3623 tools/lib/traceevent/event-parse.c val = tep_read_number(tep, data + arg->field.field->offset, field 3624 tools/lib/traceevent/event-parse.c arg->field.field->size); field 3668 tools/lib/traceevent/event-parse.c data + larg->dynarray.field->offset, field 3669 tools/lib/traceevent/event-parse.c larg->dynarray.field->size); field 3670 tools/lib/traceevent/event-parse.c if (larg->dynarray.field->elementsize) field 3671 tools/lib/traceevent/event-parse.c field_size = larg->dynarray.field->elementsize; field 3681 tools/lib/traceevent/event-parse.c if (!larg->field.field) { field 3682 tools/lib/traceevent/event-parse.c larg->field.field = field 3683 tools/lib/traceevent/event-parse.c tep_find_any_field(event, larg->field.name); field 3684 tools/lib/traceevent/event-parse.c if (!larg->field.field) { field 3689 tools/lib/traceevent/event-parse.c field_size = larg->field.field->elementsize; field 3690 tools/lib/traceevent/event-parse.c offset = larg->field.field->offset + field 3691 tools/lib/traceevent/event-parse.c right * larg->field.field->elementsize; field 3798 tools/lib/traceevent/event-parse.c data + arg->dynarray.field->offset, field 3799 tools/lib/traceevent/event-parse.c arg->dynarray.field->size); field 3810 tools/lib/traceevent/event-parse.c data + arg->dynarray.field->offset, field 3811 tools/lib/traceevent/event-parse.c arg->dynarray.field->size); field 3831 tools/lib/traceevent/event-parse.c __func__, arg->field.name); field 3944 tools/lib/traceevent/event-parse.c struct tep_format_field *field; field 3961 tools/lib/traceevent/event-parse.c field = arg->field.field; field 3962 tools/lib/traceevent/event-parse.c if (!field) { field 3963 tools/lib/traceevent/event-parse.c field = tep_find_any_field(event, arg->field.name); field 3964 tools/lib/traceevent/event-parse.c if (!field) { field 3965 tools/lib/traceevent/event-parse.c str = arg->field.name; field 3968 tools/lib/traceevent/event-parse.c arg->field.field = field; field 3971 tools/lib/traceevent/event-parse.c len = field->size ? : size - field->offset; field 3978 tools/lib/traceevent/event-parse.c if (!(field->flags & TEP_FIELD_IS_ARRAY) && field 3979 tools/lib/traceevent/event-parse.c field->size == tep->long_size) { field 3995 tools/lib/traceevent/event-parse.c *(unsigned long long *)(data + field->offset) : field 3996 tools/lib/traceevent/event-parse.c (unsigned long long)*(unsigned int *)(data + field->offset); field 4012 tools/lib/traceevent/event-parse.c memcpy(str, data + field->offset, len); field 4018 tools/lib/traceevent/event-parse.c val = eval_num_arg(data, size, event, arg->flags.field); field 4041 tools/lib/traceevent/event-parse.c val = eval_num_arg(data, size, event, arg->symbol.field); field 4054 tools/lib/traceevent/event-parse.c if (arg->hex.field->type == TEP_PRINT_DYNAMIC_ARRAY) { field 4057 tools/lib/traceevent/event-parse.c data + arg->hex.field->dynarray.field->offset, field 4058 tools/lib/traceevent/event-parse.c arg->hex.field->dynarray.field->size); field 4061 tools/lib/traceevent/event-parse.c field = arg->hex.field->field.field; field 4062 tools/lib/traceevent/event-parse.c if (!field) { field 4063 tools/lib/traceevent/event-parse.c str = arg->hex.field->field.name; field 4064 tools/lib/traceevent/event-parse.c field = tep_find_any_field(event, str); field 4065 tools/lib/traceevent/event-parse.c if (!field) field 4067 tools/lib/traceevent/event-parse.c arg->hex.field->field.field = field; field 4069 tools/lib/traceevent/event-parse.c hex = data + field->offset; field 4083 tools/lib/traceevent/event-parse.c if (arg->int_array.field->type == TEP_PRINT_DYNAMIC_ARRAY) { field 4085 tools/lib/traceevent/event-parse.c struct tep_format_field *field = field 4086 tools/lib/traceevent/event-parse.c arg->int_array.field->dynarray.field; field 4088 tools/lib/traceevent/event-parse.c data + field->offset, field 4089 tools/lib/traceevent/event-parse.c field->size); field 4092 tools/lib/traceevent/event-parse.c field = arg->int_array.field->field.field; field 4093 tools/lib/traceevent/event-parse.c if (!field) { field 4094 tools/lib/traceevent/event-parse.c str = arg->int_array.field->field.name; field 4095 tools/lib/traceevent/event-parse.c field = tep_find_any_field(event, str); field 4096 tools/lib/traceevent/event-parse.c if (!field) field 4098 tools/lib/traceevent/event-parse.c arg->int_array.field->field.field = field; field 4100 tools/lib/traceevent/event-parse.c num = data + field->offset; field 4189 tools/lib/traceevent/event-parse.c __func__, arg->field.name); field 4292 tools/lib/traceevent/event-parse.c struct tep_format_field *field, *ip_field; field 4299 tools/lib/traceevent/event-parse.c field = tep->bprint_buf_field; field 4302 tools/lib/traceevent/event-parse.c if (!field) { field 4303 tools/lib/traceevent/event-parse.c field = tep_find_field(event, "buf"); field 4304 tools/lib/traceevent/event-parse.c if (!field) { field 4313 tools/lib/traceevent/event-parse.c tep->bprint_buf_field = field; field 4338 tools/lib/traceevent/event-parse.c for (ptr = fmt + 5, bptr = data + field->offset; field 4481 tools/lib/traceevent/event-parse.c struct tep_format_field *field; field 4485 tools/lib/traceevent/event-parse.c field = tep->bprint_fmt_field; field 4487 tools/lib/traceevent/event-parse.c if (!field) { field 4488 tools/lib/traceevent/event-parse.c field = tep_find_field(event, "fmt"); field 4489 tools/lib/traceevent/event-parse.c if (!field) { field 4493 tools/lib/traceevent/event-parse.c tep->bprint_fmt_field = field; field 4496 tools/lib/traceevent/event-parse.c addr = tep_read_number(tep, data + field->offset, field->size); field 4530 tools/lib/traceevent/event-parse.c if (!arg->field.field) { field 4531 tools/lib/traceevent/event-parse.c arg->field.field = field 4532 tools/lib/traceevent/event-parse.c tep_find_any_field(event, arg->field.name); field 4533 tools/lib/traceevent/event-parse.c if (!arg->field.field) { field 4535 tools/lib/traceevent/event-parse.c __func__, arg->field.name); field 4539 tools/lib/traceevent/event-parse.c if (arg->field.field->size != 6) { field 4543 tools/lib/traceevent/event-parse.c buf = data + arg->field.field->offset; field 4680 tools/lib/traceevent/event-parse.c if (!arg->field.field) { field 4681 tools/lib/traceevent/event-parse.c arg->field.field = field 4682 tools/lib/traceevent/event-parse.c tep_find_any_field(event, arg->field.name); field 4683 tools/lib/traceevent/event-parse.c if (!arg->field.field) { field 4685 tools/lib/traceevent/event-parse.c __func__, arg->field.name); field 4690 tools/lib/traceevent/event-parse.c buf = data + arg->field.field->offset; field 4692 tools/lib/traceevent/event-parse.c if (arg->field.field->size != 4) { field 4726 tools/lib/traceevent/event-parse.c if (!arg->field.field) { field 4727 tools/lib/traceevent/event-parse.c arg->field.field = field 4728 tools/lib/traceevent/event-parse.c tep_find_any_field(event, arg->field.name); field 4729 tools/lib/traceevent/event-parse.c if (!arg->field.field) { field 4731 tools/lib/traceevent/event-parse.c __func__, arg->field.name); field 4736 tools/lib/traceevent/event-parse.c buf = data + arg->field.field->offset; field 4738 tools/lib/traceevent/event-parse.c if (arg->field.field->size != 16) { field 4784 tools/lib/traceevent/event-parse.c if (!arg->field.field) { field 4785 tools/lib/traceevent/event-parse.c arg->field.field = field 4786 tools/lib/traceevent/event-parse.c tep_find_any_field(event, arg->field.name); field 4787 tools/lib/traceevent/event-parse.c if (!arg->field.field) { field 4789 tools/lib/traceevent/event-parse.c __func__, arg->field.name); field 4794 tools/lib/traceevent/event-parse.c sa = (struct sockaddr_storage *) (data + arg->field.field->offset); field 4799 tools/lib/traceevent/event-parse.c if (arg->field.field->size < sizeof(struct sockaddr_in)) { field 4812 tools/lib/traceevent/event-parse.c if (arg->field.field->size < sizeof(struct sockaddr_in6)) { field 4876 tools/lib/traceevent/event-parse.c struct tep_format_field *field) field 4880 tools/lib/traceevent/event-parse.c struct tep_handle *tep = field->event->tep; field 4882 tools/lib/traceevent/event-parse.c if (field->flags & TEP_FIELD_IS_ARRAY) { field 4883 tools/lib/traceevent/event-parse.c offset = field->offset; field 4884 tools/lib/traceevent/event-parse.c len = field->size; field 4885 tools/lib/traceevent/event-parse.c if (field->flags & TEP_FIELD_IS_DYNAMIC) { field 4891 tools/lib/traceevent/event-parse.c if (field->flags & TEP_FIELD_IS_STRING && field 4903 tools/lib/traceevent/event-parse.c field->flags &= ~TEP_FIELD_IS_STRING; field 4906 tools/lib/traceevent/event-parse.c val = tep_read_number(tep, data + field->offset, field 4907 tools/lib/traceevent/event-parse.c field->size); field 4908 tools/lib/traceevent/event-parse.c if (field->flags & TEP_FIELD_IS_POINTER) { field 4910 tools/lib/traceevent/event-parse.c } else if (field->flags & TEP_FIELD_IS_SIGNED) { field 4911 tools/lib/traceevent/event-parse.c switch (field->size) { field 4917 tools/lib/traceevent/event-parse.c if (field->flags & TEP_FIELD_IS_LONG) field 4932 tools/lib/traceevent/event-parse.c if (field->flags & TEP_FIELD_IS_LONG) field 4943 tools/lib/traceevent/event-parse.c struct tep_format_field *field; field 4945 tools/lib/traceevent/event-parse.c field = event->format.fields; field 4946 tools/lib/traceevent/event-parse.c while (field) { field 4947 tools/lib/traceevent/event-parse.c trace_seq_printf(s, " %s=", field->name); field 4948 tools/lib/traceevent/event-parse.c tep_print_field(s, data, field); field 4949 tools/lib/traceevent/event-parse.c field = field->next; field 5865 tools/lib/traceevent/event-parse.c struct tep_format_field *field; field 5872 tools/lib/traceevent/event-parse.c for (field = list; field; field = field->next) { field 5873 tools/lib/traceevent/event-parse.c fields[i++] = field; field 5919 tools/lib/traceevent/event-parse.c static void print_fields(struct trace_seq *s, struct tep_print_flag_sym *field) field 5921 tools/lib/traceevent/event-parse.c trace_seq_printf(s, "{ %s, %s }", field->value, field->str); field 5922 tools/lib/traceevent/event-parse.c if (field->next) { field 5924 tools/lib/traceevent/event-parse.c print_fields(s, field->next); field 5942 tools/lib/traceevent/event-parse.c printf("REC->%s", args->field.name); field 5946 tools/lib/traceevent/event-parse.c print_args(args->flags.field); field 5956 tools/lib/traceevent/event-parse.c print_args(args->symbol.field); field 5966 tools/lib/traceevent/event-parse.c print_args(args->hex.field); field 5973 tools/lib/traceevent/event-parse.c print_args(args->hex.field); field 5980 tools/lib/traceevent/event-parse.c print_args(args->int_array.field); field 6019 tools/lib/traceevent/event-parse.c static void parse_header_field(const char *field, field 6044 tools/lib/traceevent/event-parse.c if (read_expected(TEP_EVENT_ITEM, field) < 0) field 6049 tools/lib/traceevent/event-parse.c if (strcmp(token, field) != 0) field 6286 tools/lib/traceevent/event-parse.c struct tep_format_field *field; field 6291 tools/lib/traceevent/event-parse.c for (field = event->format.fields; field; field = field->next) { field 6298 tools/lib/traceevent/event-parse.c arg->field.name = strdup(field->name); field 6299 tools/lib/traceevent/event-parse.c if (!arg->field.name) { field 6304 tools/lib/traceevent/event-parse.c arg->field.field = field; field 6397 tools/lib/traceevent/event-parse.c int get_field_val(struct trace_seq *s, struct tep_format_field *field, field 6401 tools/lib/traceevent/event-parse.c if (!field) { field 6407 tools/lib/traceevent/event-parse.c if (tep_read_number_field(field, record->data, val)) { field 6434 tools/lib/traceevent/event-parse.c struct tep_format_field *field; field 6442 tools/lib/traceevent/event-parse.c field = tep_find_field(event, name); field 6444 tools/lib/traceevent/event-parse.c if (!field) { field 6454 tools/lib/traceevent/event-parse.c offset = field->offset; field 6455 tools/lib/traceevent/event-parse.c if (field->flags & TEP_FIELD_IS_DYNAMIC) { field 6457 tools/lib/traceevent/event-parse.c data + offset, field->size); field 6461 tools/lib/traceevent/event-parse.c *len = field->size; field 6481 tools/lib/traceevent/event-parse.c struct tep_format_field *field; field 6486 tools/lib/traceevent/event-parse.c field = tep_find_field(event, name); field 6488 tools/lib/traceevent/event-parse.c return get_field_val(s, field, name, record, val, err); field 6506 tools/lib/traceevent/event-parse.c struct tep_format_field *field; field 6511 tools/lib/traceevent/event-parse.c field = tep_find_common_field(event, name); field 6513 tools/lib/traceevent/event-parse.c return get_field_val(s, field, name, record, val, err); field 6531 tools/lib/traceevent/event-parse.c struct tep_format_field *field; field 6536 tools/lib/traceevent/event-parse.c field = tep_find_any_field(event, name); field 6538 tools/lib/traceevent/event-parse.c return get_field_val(s, field, name, record, val, err); field 6557 tools/lib/traceevent/event-parse.c struct tep_format_field *field = tep_find_field(event, name); field 6560 tools/lib/traceevent/event-parse.c if (!field) field 6563 tools/lib/traceevent/event-parse.c if (tep_read_number_field(field, record->data, &val)) field 6590 tools/lib/traceevent/event-parse.c struct tep_format_field *field = tep_find_field(event, name); field 6596 tools/lib/traceevent/event-parse.c if (!field) field 6599 tools/lib/traceevent/event-parse.c if (tep_read_number_field(field, record->data, &val)) field 6942 tools/lib/traceevent/event-parse.c void tep_free_format_field(struct tep_format_field *field) field 6944 tools/lib/traceevent/event-parse.c free(field->type); field 6945 tools/lib/traceevent/event-parse.c if (field->alias != field->name) field 6946 tools/lib/traceevent/event-parse.c free(field->alias); field 6947 tools/lib/traceevent/event-parse.c free(field->name); field 6948 tools/lib/traceevent/event-parse.c free(field); field 6951 tools/lib/traceevent/event-parse.c static void free_format_fields(struct tep_format_field *field) field 6955 tools/lib/traceevent/event-parse.c while (field) { field 6956 tools/lib/traceevent/event-parse.c next = field->next; field 6957 tools/lib/traceevent/event-parse.c tep_free_format_field(field); field 6958 tools/lib/traceevent/event-parse.c field = next; field 180 tools/lib/traceevent/event-parse.h struct tep_format_field *field; field 195 tools/lib/traceevent/event-parse.h struct tep_print_arg *field; field 201 tools/lib/traceevent/event-parse.h struct tep_print_arg *field; field 206 tools/lib/traceevent/event-parse.h struct tep_print_arg *field; field 211 tools/lib/traceevent/event-parse.h struct tep_print_arg *field; field 217 tools/lib/traceevent/event-parse.h struct tep_format_field *field; field 261 tools/lib/traceevent/event-parse.h struct tep_print_arg_field field; field 517 tools/lib/traceevent/event-parse.h int tep_read_number_field(struct tep_format_field *field, const void *data, field 540 tools/lib/traceevent/event-parse.h struct tep_format_field *field); field 655 tools/lib/traceevent/event-parse.h struct tep_format_field *field; field 686 tools/lib/traceevent/event-parse.h struct tep_format_field *field; field 696 tools/lib/traceevent/event-parse.h struct tep_filter_arg_field field; field 340 tools/lib/traceevent/parse-filter.c struct tep_format_field *field; field 372 tools/lib/traceevent/parse-filter.c field = tep_find_any_field(event, token); field 373 tools/lib/traceevent/parse-filter.c if (!field) { field 376 tools/lib/traceevent/parse-filter.c field = &comm; field 378 tools/lib/traceevent/parse-filter.c field = &cpu; field 387 tools/lib/traceevent/parse-filter.c arg->field.field = field; field 554 tools/lib/traceevent/parse-filter.c op->str.field = left->field.field; field 563 tools/lib/traceevent/parse-filter.c op->str.buffer = malloc(op->str.field->size + 1); field 569 tools/lib/traceevent/parse-filter.c op->str.buffer[op->str.field->size] = 0; field 1545 tools/lib/traceevent/parse-filter.c struct tep_format_field *field, struct tep_record *record) field 1550 tools/lib/traceevent/parse-filter.c if (field == &comm) { field 1558 tools/lib/traceevent/parse-filter.c if (field == &cpu) field 1561 tools/lib/traceevent/parse-filter.c tep_read_number_field(field, record->data, &val); field 1563 tools/lib/traceevent/parse-filter.c if (!(field->flags & TEP_FIELD_IS_SIGNED)) field 1566 tools/lib/traceevent/parse-filter.c switch (field->size) { field 1644 tools/lib/traceevent/parse-filter.c return get_value(event, arg->field.field, record); field 1714 tools/lib/traceevent/parse-filter.c if (arg->str.field->flags & TEP_FIELD_IS_STRING) { field 1715 tools/lib/traceevent/parse-filter.c val = record->data + arg->str.field->offset; field 1716 tools/lib/traceevent/parse-filter.c size = arg->str.field->size; field 1718 tools/lib/traceevent/parse-filter.c if (arg->str.field->flags & TEP_FIELD_IS_DYNAMIC) { field 1730 tools/lib/traceevent/parse-filter.c memcpy(arg->str.buffer, val, arg->str.field->size); field 1736 tools/lib/traceevent/parse-filter.c event = arg->str.field->event; field 1738 tools/lib/traceevent/parse-filter.c addr = get_value(event, arg->str.field, record); field 1740 tools/lib/traceevent/parse-filter.c if (arg->str.field->flags & (TEP_FIELD_IS_POINTER | TEP_FIELD_IS_LONG)) field 1759 tools/lib/traceevent/parse-filter.c if (arg->str.field == &comm) field 2021 tools/lib/traceevent/parse-filter.c return strdup(arg->field.field->name); field 2152 tools/lib/traceevent/parse-filter.c arg->str.field->name, op, arg->str.val); field 30 tools/lib/traceevent/plugins/plugin_kmem.c struct tep_format_field *field; field 35 tools/lib/traceevent/plugins/plugin_kmem.c field = tep_find_field(event, "call_site"); field 36 tools/lib/traceevent/plugins/plugin_kmem.c if (!field) field 39 tools/lib/traceevent/plugins/plugin_kmem.c if (tep_read_number_field(field, data, &val)) field 252 tools/lib/traceevent/plugins/plugin_kvm.c struct tep_event *event, const char *field) field 258 tools/lib/traceevent/plugins/plugin_kvm.c if (tep_get_field_val(s, event, field, record, &val, 1) < 0) field 48 tools/lib/traceevent/plugins/plugin_sched_switch.c static void write_and_save_comm(struct tep_format_field *field, field 55 tools/lib/traceevent/plugins/plugin_sched_switch.c comm = (char *)(record->data + field->offset); field 58 tools/lib/traceevent/plugins/plugin_sched_switch.c field->size, comm); field 65 tools/lib/traceevent/plugins/plugin_sched_switch.c tep_register_comm(field->event->tep, comm, pid); field 72 tools/lib/traceevent/plugins/plugin_sched_switch.c struct tep_format_field *field; field 78 tools/lib/traceevent/plugins/plugin_sched_switch.c field = tep_find_any_field(event, "comm"); field 79 tools/lib/traceevent/plugins/plugin_sched_switch.c if (field) { field 80 tools/lib/traceevent/plugins/plugin_sched_switch.c write_and_save_comm(field, record, s, val); field 101 tools/lib/traceevent/plugins/plugin_sched_switch.c struct tep_format_field *field; field 107 tools/lib/traceevent/plugins/plugin_sched_switch.c field = tep_find_any_field(event, "prev_comm"); field 108 tools/lib/traceevent/plugins/plugin_sched_switch.c if (field) { field 109 tools/lib/traceevent/plugins/plugin_sched_switch.c write_and_save_comm(field, record, s, val); field 125 tools/lib/traceevent/plugins/plugin_sched_switch.c field = tep_find_any_field(event, "next_comm"); field 126 tools/lib/traceevent/plugins/plugin_sched_switch.c if (field) { field 127 tools/lib/traceevent/plugins/plugin_sched_switch.c write_and_save_comm(field, record, s, val); field 456 tools/perf/builtin-kvm.c #define GET_EVENT_KEY(func, field) \ field 460 tools/perf/builtin-kvm.c return event->total.field; \ field 465 tools/perf/builtin-kvm.c return event->vcpu[vcpu].field; \ field 468 tools/perf/builtin-kvm.c #define COMPARE_EVENT_KEY(func, field) \ field 469 tools/perf/builtin-kvm.c GET_EVENT_KEY(func, field) \ field 119 tools/perf/builtin-script.c enum perf_output_field field; field 121 tools/perf/builtin-script.c {.str = "comm", .field = PERF_OUTPUT_COMM}, field 122 tools/perf/builtin-script.c {.str = "tid", .field = PERF_OUTPUT_TID}, field 123 tools/perf/builtin-script.c {.str = "pid", .field = PERF_OUTPUT_PID}, field 124 tools/perf/builtin-script.c {.str = "time", .field = PERF_OUTPUT_TIME}, field 125 tools/perf/builtin-script.c {.str = "cpu", .field = PERF_OUTPUT_CPU}, field 126 tools/perf/builtin-script.c {.str = "event", .field = PERF_OUTPUT_EVNAME}, field 127 tools/perf/builtin-script.c {.str = "trace", .field = PERF_OUTPUT_TRACE}, field 128 tools/perf/builtin-script.c {.str = "ip", .field = PERF_OUTPUT_IP}, field 129 tools/perf/builtin-script.c {.str = "sym", .field = PERF_OUTPUT_SYM}, field 130 tools/perf/builtin-script.c {.str = "dso", .field = PERF_OUTPUT_DSO}, field 131 tools/perf/builtin-script.c {.str = "addr", .field = PERF_OUTPUT_ADDR}, field 132 tools/perf/builtin-script.c {.str = "symoff", .field = PERF_OUTPUT_SYMOFFSET}, field 133 tools/perf/builtin-script.c {.str = "srcline", .field = PERF_OUTPUT_SRCLINE}, field 134 tools/perf/builtin-script.c {.str = "period", .field = PERF_OUTPUT_PERIOD}, field 135 tools/perf/builtin-script.c {.str = "iregs", .field = PERF_OUTPUT_IREGS}, field 136 tools/perf/builtin-script.c {.str = "uregs", .field = PERF_OUTPUT_UREGS}, field 137 tools/perf/builtin-script.c {.str = "brstack", .field = PERF_OUTPUT_BRSTACK}, field 138 tools/perf/builtin-script.c {.str = "brstacksym", .field = PERF_OUTPUT_BRSTACKSYM}, field 139 tools/perf/builtin-script.c {.str = "data_src", .field = PERF_OUTPUT_DATA_SRC}, field 140 tools/perf/builtin-script.c {.str = "weight", .field = PERF_OUTPUT_WEIGHT}, field 141 tools/perf/builtin-script.c {.str = "bpf-output", .field = PERF_OUTPUT_BPF_OUTPUT}, field 142 tools/perf/builtin-script.c {.str = "callindent", .field = PERF_OUTPUT_CALLINDENT}, field 143 tools/perf/builtin-script.c {.str = "insn", .field = PERF_OUTPUT_INSN}, field 144 tools/perf/builtin-script.c {.str = "insnlen", .field = PERF_OUTPUT_INSNLEN}, field 145 tools/perf/builtin-script.c {.str = "brstackinsn", .field = PERF_OUTPUT_BRSTACKINSN}, field 146 tools/perf/builtin-script.c {.str = "brstackoff", .field = PERF_OUTPUT_BRSTACKOFF}, field 147 tools/perf/builtin-script.c {.str = "synth", .field = PERF_OUTPUT_SYNTH}, field 148 tools/perf/builtin-script.c {.str = "phys_addr", .field = PERF_OUTPUT_PHYS_ADDR}, field 149 tools/perf/builtin-script.c {.str = "metric", .field = PERF_OUTPUT_METRIC}, field 150 tools/perf/builtin-script.c {.str = "misc", .field = PERF_OUTPUT_MISC}, field 151 tools/perf/builtin-script.c {.str = "srccode", .field = PERF_OUTPUT_SRCCODE}, field 152 tools/perf/builtin-script.c {.str = "ipc", .field = PERF_OUTPUT_IPC}, field 336 tools/perf/builtin-script.c static const char *output_field2str(enum perf_output_field field) field 342 tools/perf/builtin-script.c if (all_output_options[i].field == field) { field 354 tools/perf/builtin-script.c enum perf_output_field field, field 364 tools/perf/builtin-script.c if (output[type].user_set_fields & field) { field 370 tools/perf/builtin-script.c evname, sample_msg, output_field2str(field)); field 375 tools/perf/builtin-script.c output[type].fields &= ~field; field 379 tools/perf/builtin-script.c evname, sample_msg, output_field2str(field)); field 386 tools/perf/builtin-script.c enum perf_output_field field) field 388 tools/perf/builtin-script.c return perf_evsel__do_check_stype(evsel, sample_type, sample_msg, field, field 2760 tools/perf/builtin-script.c if (output[j].invalid_fields & all_output_options[i].field) { field 2765 tools/perf/builtin-script.c output[j].fields &= ~all_output_options[i].field; field 2766 tools/perf/builtin-script.c output[j].user_set_fields &= ~all_output_options[i].field; field 2768 tools/perf/builtin-script.c output[j].fields |= all_output_options[i].field; field 2769 tools/perf/builtin-script.c output[j].user_set_fields |= all_output_options[i].field; field 2776 tools/perf/builtin-script.c if (output[type].invalid_fields & all_output_options[i].field) { field 2784 tools/perf/builtin-script.c output[type].fields &= ~all_output_options[i].field; field 2786 tools/perf/builtin-script.c output[type].fields |= all_output_options[i].field; field 174 tools/perf/builtin-trace.c u64 (*integer)(struct tp_field *field, struct perf_sample *sample); field 175 tools/perf/builtin-trace.c void *(*pointer)(struct tp_field *field, struct perf_sample *sample); field 180 tools/perf/builtin-trace.c static u64 tp_field__u##bits(struct tp_field *field, struct perf_sample *sample) \ field 183 tools/perf/builtin-trace.c memcpy(&value, sample->raw_data + field->offset, sizeof(value)); \ field 193 tools/perf/builtin-trace.c static u64 tp_field__swapped_u##bits(struct tp_field *field, struct perf_sample *sample) \ field 196 tools/perf/builtin-trace.c memcpy(&value, sample->raw_data + field->offset, sizeof(value)); \ field 204 tools/perf/builtin-trace.c static int __tp_field__init_uint(struct tp_field *field, int size, int offset, bool needs_swap) field 206 tools/perf/builtin-trace.c field->offset = offset; field 210 tools/perf/builtin-trace.c field->integer = tp_field__u8; field 213 tools/perf/builtin-trace.c field->integer = needs_swap ? tp_field__swapped_u16 : tp_field__u16; field 216 tools/perf/builtin-trace.c field->integer = needs_swap ? tp_field__swapped_u32 : tp_field__u32; field 219 tools/perf/builtin-trace.c field->integer = needs_swap ? tp_field__swapped_u64 : tp_field__u64; field 228 tools/perf/builtin-trace.c static int tp_field__init_uint(struct tp_field *field, struct tep_format_field *format_field, bool needs_swap) field 230 tools/perf/builtin-trace.c return __tp_field__init_uint(field, format_field->size, format_field->offset, needs_swap); field 233 tools/perf/builtin-trace.c static void *tp_field__ptr(struct tp_field *field, struct perf_sample *sample) field 235 tools/perf/builtin-trace.c return sample->raw_data + field->offset; field 238 tools/perf/builtin-trace.c static int __tp_field__init_ptr(struct tp_field *field, int offset) field 240 tools/perf/builtin-trace.c field->offset = offset; field 241 tools/perf/builtin-trace.c field->pointer = tp_field__ptr; field 245 tools/perf/builtin-trace.c static int tp_field__init_ptr(struct tp_field *field, struct tep_format_field *format_field) field 247 tools/perf/builtin-trace.c return __tp_field__init_ptr(field, format_field->offset); field 258 tools/perf/builtin-trace.c struct tp_field *field, field 266 tools/perf/builtin-trace.c return tp_field__init_uint(field, format_field, evsel->needs_swap); field 274 tools/perf/builtin-trace.c struct tp_field *field, field 282 tools/perf/builtin-trace.c return tp_field__init_ptr(field, format_field); field 1458 tools/perf/builtin-trace.c struct tep_format_field *field, *last_field = NULL; field 1461 tools/perf/builtin-trace.c for (field = sc->args; field; field = field->next, ++idx) { field 1462 tools/perf/builtin-trace.c last_field = field; field 1467 tools/perf/builtin-trace.c len = strlen(field->name); field 1469 tools/perf/builtin-trace.c if (strcmp(field->type, "const char *") == 0 && field 1470 tools/perf/builtin-trace.c ((len >= 4 && strcmp(field->name + len - 4, "name") == 0) || field 1471 tools/perf/builtin-trace.c strstr(field->name, "path") != NULL)) field 1473 tools/perf/builtin-trace.c else if ((field->flags & TEP_FIELD_IS_POINTER) || strstr(field->name, "addr")) field 1475 tools/perf/builtin-trace.c else if (strcmp(field->type, "pid_t") == 0) field 1477 tools/perf/builtin-trace.c else if (strcmp(field->type, "umode_t") == 0) field 1479 tools/perf/builtin-trace.c else if ((strcmp(field->type, "int") == 0 || field 1480 tools/perf/builtin-trace.c strcmp(field->type, "unsigned int") == 0 || field 1481 tools/perf/builtin-trace.c strcmp(field->type, "long") == 0) && field 1482 tools/perf/builtin-trace.c len >= 2 && strcmp(field->name + len - 2, "fd") == 0) { field 1732 tools/perf/builtin-trace.c struct tep_format_field *field; field 1734 tools/perf/builtin-trace.c for (field = sc->args; field; field 1735 tools/perf/builtin-trace.c field = field->next, ++arg.idx, bit <<= 1) { field 1763 tools/perf/builtin-trace.c printed += scnprintf(bf + printed, size - printed, "%s: ", field->name); field 2929 tools/perf/builtin-trace.c struct tep_format_field *field, *candidate_field; field 2935 tools/perf/builtin-trace.c for (field = sc->args; field; field = field->next) { field 2936 tools/perf/builtin-trace.c if (field->flags & TEP_FIELD_IS_POINTER) field 2952 tools/perf/builtin-trace.c for (field = sc->args, candidate_field = pair->args; field 2953 tools/perf/builtin-trace.c field && candidate_field; field = field->next, candidate_field = candidate_field->next) { field 2954 tools/perf/builtin-trace.c bool is_pointer = field->flags & TEP_FIELD_IS_POINTER, field 2970 tools/perf/builtin-trace.c if (strcmp(field->type, candidate_field->type)) field 170 tools/perf/pmu-events/jevents.c const char *field; field 195 tools/perf/pmu-events/jevents.c static int match_field(char *map, jsmntok_t *field, int nz, field 198 tools/perf/pmu-events/jevents.c struct field *f; field 201 tools/perf/pmu-events/jevents.c for (f = fields; f->field; f++) field 202 tools/perf/pmu-events/jevents.c if (json_streq(map, field, f->field) && nz) { field 376 tools/perf/pmu-events/jevents.c #define ADD_EVENT_FIELD(field) do { if (field) { \ field 377 tools/perf/pmu-events/jevents.c es->field = strdup(field); \ field 378 tools/perf/pmu-events/jevents.c if (!es->field) \ field 382 tools/perf/pmu-events/jevents.c #define FREE_EVENT_FIELD(field) free(es->field) field 384 tools/perf/pmu-events/jevents.c #define TRY_FIXUP_FIELD(field) do { if (es->field && !*field) {\ field 385 tools/perf/pmu-events/jevents.c *field = strdup(es->field); \ field 386 tools/perf/pmu-events/jevents.c if (!*field) \ field 548 tools/perf/pmu-events/jevents.c jsmntok_t *field, *val; field 552 tools/perf/pmu-events/jevents.c field = tok + j; field 553 tools/perf/pmu-events/jevents.c EXPECT(field->type == JSMN_STRING, tok + j, field 560 tools/perf/pmu-events/jevents.c if (match_field(map, field, nz, &event, val)) { field 562 tools/perf/pmu-events/jevents.c } else if (json_streq(map, field, "EventCode")) { field 567 tools/perf/pmu-events/jevents.c } else if (json_streq(map, field, "ExtSel")) { field 572 tools/perf/pmu-events/jevents.c } else if (json_streq(map, field, "EventName")) { field 574 tools/perf/pmu-events/jevents.c } else if (json_streq(map, field, "BriefDescription")) { field 577 tools/perf/pmu-events/jevents.c } else if (json_streq(map, field, field 581 tools/perf/pmu-events/jevents.c } else if (json_streq(map, field, "PEBS") && nz) { field 583 tools/perf/pmu-events/jevents.c } else if (json_streq(map, field, "MSRIndex") && nz) { field 585 tools/perf/pmu-events/jevents.c } else if (json_streq(map, field, "MSRValue")) { field 587 tools/perf/pmu-events/jevents.c } else if (json_streq(map, field, "Errata") && field 591 tools/perf/pmu-events/jevents.c } else if (json_streq(map, field, "Data_LA") && nz) { field 595 tools/perf/pmu-events/jevents.c } else if (json_streq(map, field, "Unit")) { field 611 tools/perf/pmu-events/jevents.c } else if (json_streq(map, field, "Filter")) { field 613 tools/perf/pmu-events/jevents.c } else if (json_streq(map, field, "ScaleUnit")) { field 615 tools/perf/pmu-events/jevents.c } else if (json_streq(map, field, "PerPkg")) { field 617 tools/perf/pmu-events/jevents.c } else if (json_streq(map, field, "MetricName")) { field 619 tools/perf/pmu-events/jevents.c } else if (json_streq(map, field, "MetricGroup")) { field 621 tools/perf/pmu-events/jevents.c } else if (json_streq(map, field, "MetricExpr")) { field 625 tools/perf/pmu-events/jevents.c } else if (json_streq(map, field, "ArchStdEvent")) { field 65 tools/perf/tests/attr.c #define WRITE_ASS(field, fmt) __WRITE_ASS(field, fmt, attr->field) field 11 tools/perf/tests/evsel-tp-sched.c struct tep_format_field *field = perf_evsel__field(evsel, name); field 15 tools/perf/tests/evsel-tp-sched.c if (field == NULL) { field 20 tools/perf/tests/evsel-tp-sched.c is_signed = !!(field->flags & TEP_FIELD_IS_SIGNED); field 27 tools/perf/tests/evsel-tp-sched.c if (field->size != size) { field 29 tools/perf/tests/evsel-tp-sched.c evsel->name, name, field->size, size); field 236 tools/perf/util/cputopo.c char field[32]; field 255 tools/perf/util/cputopo.c if (sscanf(buf, "%*s %*d %31s %"PRIu64, field, &mem) != 2) field 257 tools/perf/util/cputopo.c if (!strcmp(field, "MemTotal:")) field 259 tools/perf/util/cputopo.c if (!strcmp(field, "MemFree:")) field 99 tools/perf/util/data-convert-bt.c struct bt_ctf_field *field; field 103 tools/perf/util/data-convert-bt.c field = bt_ctf_field_create(type); field 104 tools/perf/util/data-convert-bt.c if (!field) { field 110 tools/perf/util/data-convert-bt.c ret = bt_ctf_field_signed_integer_set_value(field, val); field 116 tools/perf/util/data-convert-bt.c ret = bt_ctf_field_unsigned_integer_set_value(field, val); field 123 tools/perf/util/data-convert-bt.c ret = bt_ctf_event_set_payload(event, name, field); field 132 tools/perf/util/data-convert-bt.c bt_ctf_field_put(field); field 154 tools/perf/util/data-convert-bt.c static int string_set_value(struct bt_ctf_field *field, const char *string); field 160 tools/perf/util/data-convert-bt.c struct bt_ctf_field *field; field 163 tools/perf/util/data-convert-bt.c field = bt_ctf_field_create(type); field 164 tools/perf/util/data-convert-bt.c if (!field) { field 169 tools/perf/util/data-convert-bt.c ret = string_set_value(field, string); field 175 tools/perf/util/data-convert-bt.c ret = bt_ctf_event_set_payload(event, name, field); field 180 tools/perf/util/data-convert-bt.c bt_ctf_field_put(field); field 185 tools/perf/util/data-convert-bt.c get_tracepoint_field_type(struct ctf_writer *cw, struct tep_format_field *field) field 187 tools/perf/util/data-convert-bt.c unsigned long flags = field->flags; field 199 tools/perf/util/data-convert-bt.c if (field->size == 8) field 205 tools/perf/util/data-convert-bt.c if (field->size == 8) field 248 tools/perf/util/data-convert-bt.c static int string_set_value(struct bt_ctf_field *field, const char *string) field 269 tools/perf/util/data-convert-bt.c return bt_ctf_field_string_set_value(field, "UNPRINTABLE-STRING"); field 280 tools/perf/util/data-convert-bt.c return bt_ctf_field_string_set_value(field, string); field 281 tools/perf/util/data-convert-bt.c err = bt_ctf_field_string_set_value(field, buffer); field 294 tools/perf/util/data-convert-bt.c struct bt_ctf_field *field; field 342 tools/perf/util/data-convert-bt.c field = bt_ctf_field_array_get_field(array_field, i); field 344 tools/perf/util/data-convert-bt.c field = bt_ctf_field_create(type); field 346 tools/perf/util/data-convert-bt.c if (!field) { field 352 tools/perf/util/data-convert-bt.c ret = string_set_value(field, data + offset + i * len); field 362 tools/perf/util/data-convert-bt.c field, value_int); field 365 tools/perf/util/data-convert-bt.c field, adjust_signedness(value_int, len)); field 373 tools/perf/util/data-convert-bt.c ret = bt_ctf_event_set_payload(event, name, field); field 379 tools/perf/util/data-convert-bt.c bt_ctf_field_put(field); field 392 tools/perf/util/data-convert-bt.c bt_ctf_field_put(field); field 402 tools/perf/util/data-convert-bt.c struct tep_format_field *field; field 405 tools/perf/util/data-convert-bt.c for (field = fields; field; field = field->next) { field 407 tools/perf/util/data-convert-bt.c field); field 973 tools/perf/util/data-convert-bt.c struct tep_format_field *field) field 981 tools/perf/util/data-convert-bt.c if (field->alias != field->name) field 983 tools/perf/util/data-convert-bt.c (char *)field->alias); field 985 tools/perf/util/data-convert-bt.c name = field->name; field 989 tools/perf/util/data-convert-bt.c name = change_name(name, field->name, -1); field 997 tools/perf/util/data-convert-bt.c name = change_name(name, field->name, dup++); field 999 tools/perf/util/data-convert-bt.c pr_err("Failed to create dup name for '%s'\n", field->name); field 1006 tools/perf/util/data-convert-bt.c field->alias = name; field 1015 tools/perf/util/data-convert-bt.c struct tep_format_field *field; field 1018 tools/perf/util/data-convert-bt.c for (field = fields; field; field = field->next) { field 1020 tools/perf/util/data-convert-bt.c unsigned long flags = field->flags; field 1022 tools/perf/util/data-convert-bt.c pr2(" field '%s'\n", field->name); field 1024 tools/perf/util/data-convert-bt.c type = get_tracepoint_field_type(cw, field); field 1037 tools/perf/util/data-convert-bt.c type = bt_ctf_field_type_array_create(type, field->arraylen); field 1039 tools/perf/util/data-convert-bt.c ret = event_class_add_field(event_class, type, field); field 1046 tools/perf/util/data-convert-bt.c field->name, ret); field 2264 tools/perf/util/evsel.c struct tep_format_field *field = perf_evsel__field(evsel, name); field 2267 tools/perf/util/evsel.c if (!field) field 2270 tools/perf/util/evsel.c offset = field->offset; field 2272 tools/perf/util/evsel.c if (field->flags & TEP_FIELD_IS_DYNAMIC) { field 2273 tools/perf/util/evsel.c offset = *(int *)(sample->raw_data + field->offset); field 2280 tools/perf/util/evsel.c u64 format_field__intval(struct tep_format_field *field, struct perf_sample *sample, field 2284 tools/perf/util/evsel.c void *ptr = sample->raw_data + field->offset; field 2286 tools/perf/util/evsel.c switch (field->size) { field 2305 tools/perf/util/evsel.c switch (field->size) { field 2322 tools/perf/util/evsel.c struct tep_format_field *field = perf_evsel__field(evsel, name); field 2324 tools/perf/util/evsel.c if (!field) field 2327 tools/perf/util/evsel.c return field ? format_field__intval(field, sample, evsel->needs_swap) : 0; field 248 tools/perf/util/evsel.h u64 format_field__intval(struct tep_format_field *field, struct perf_sample *sample, bool needs_swap); field 78 tools/perf/util/evsel_fprintf.c struct tep_format_field *field; field 85 tools/perf/util/evsel_fprintf.c field = evsel->tp_format->format.fields; field 86 tools/perf/util/evsel_fprintf.c if (field == NULL) { field 91 tools/perf/util/evsel_fprintf.c printed += comma_fprintf(fp, &first, " trace_fields: %s", field->name); field 93 tools/perf/util/evsel_fprintf.c field = field->next; field 94 tools/perf/util/evsel_fprintf.c while (field) { field 95 tools/perf/util/evsel_fprintf.c printed += comma_fprintf(fp, &first, "%s", field->name); field 96 tools/perf/util/evsel_fprintf.c field = field->next; field 238 tools/perf/util/pmu.c static void perf_pmu_assign_str(char *name, const char *field, char **old_str, field 247 tools/perf/util/pmu.c name, field); field 1603 tools/perf/util/probe-event.c fieldp = &arg->field; field 1863 tools/perf/util/probe-event.c struct perf_probe_arg_field *field = pa->field; field 1878 tools/perf/util/probe-event.c while (field) { field 1879 tools/perf/util/probe-event.c if (field->name[0] == '[') field 1880 tools/perf/util/probe-event.c err = strbuf_addstr(&buf, field->name); field 1882 tools/perf/util/probe-event.c err = strbuf_addf(&buf, "%s%s", field->ref ? "->" : ".", field 1883 tools/perf/util/probe-event.c field->name); field 1884 tools/perf/util/probe-event.c field = field->next; field 2214 tools/perf/util/probe-event.c struct perf_probe_arg_field *field, *next; field 2226 tools/perf/util/probe-event.c field = pev->args[i].field; field 2227 tools/perf/util/probe-event.c while (field) { field 2228 tools/perf/util/probe-event.c next = field->next; field 2229 tools/perf/util/probe-event.c zfree(&field->name); field 2230 tools/perf/util/probe-event.c free(field); field 2231 tools/perf/util/probe-event.c field = next; field 2260 tools/perf/util/probe-event.c struct perf_probe_arg_field *field, **ppfield; field 2266 tools/perf/util/probe-event.c field = src->field; field 2267 tools/perf/util/probe-event.c ppfield = &(dst->field); field 2268 tools/perf/util/probe-event.c while (field) { field 2269 tools/perf/util/probe-event.c *ppfield = zalloc(sizeof(*field)); field 2272 tools/perf/util/probe-event.c (*ppfield)->name = strdup_or_goto(field->name, out_err); field 2273 tools/perf/util/probe-event.c (*ppfield)->index = field->index; field 2274 tools/perf/util/probe-event.c (*ppfield)->ref = field->ref; field 2275 tools/perf/util/probe-event.c field = field->next; field 85 tools/perf/util/probe-event.h struct perf_probe_arg_field *field; /* Structure fields */ field 401 tools/perf/util/probe-finder.c struct perf_probe_arg_field *field, field 410 tools/perf/util/probe-finder.c pr_debug("converting %s in %s\n", field->name, varname); field 419 tools/perf/util/probe-finder.c if (field->name[0] == '[' && field 439 tools/perf/util/probe-finder.c ref->offset += dwarf_bytesize(&type) * field->index; field 444 tools/perf/util/probe-finder.c if (!field->ref) { field 446 tools/perf/util/probe-finder.c field->name); field 476 tools/perf/util/probe-finder.c if (field->name[0] == '[') { field 482 tools/perf/util/probe-finder.c if (field->ref && dwarf_diename(vr_die)) { field 484 tools/perf/util/probe-finder.c field->name); field 494 tools/perf/util/probe-finder.c if (die_find_member(&type, field->name, die_mem) == NULL) { field 496 tools/perf/util/probe-finder.c dwarf_diename(&type), field->name); field 507 tools/perf/util/probe-finder.c field->name); field 516 tools/perf/util/probe-finder.c return convert_variable_fields(die_mem, varname, field, field 521 tools/perf/util/probe-finder.c if (field->next) field 522 tools/perf/util/probe-finder.c return convert_variable_fields(die_mem, field->name, field 523 tools/perf/util/probe-finder.c field->next, &ref, die_mem, user_access); field 546 tools/perf/util/probe-finder.c else if (ret == 0 && pf->pvar->field) { field 548 tools/perf/util/probe-finder.c pf->pvar->field, &pf->tvar->ref, field 355 tools/perf/util/python.c tracepoint_field(struct pyrf_event *pe, struct tep_format_field *field) field 357 tools/perf/util/python.c struct tep_handle *pevent = field->event->tep; field 363 tools/perf/util/python.c if (field->flags & TEP_FIELD_IS_ARRAY) { field 364 tools/perf/util/python.c offset = field->offset; field 365 tools/perf/util/python.c len = field->size; field 366 tools/perf/util/python.c if (field->flags & TEP_FIELD_IS_DYNAMIC) { field 372 tools/perf/util/python.c if (field->flags & TEP_FIELD_IS_STRING && field 377 tools/perf/util/python.c field->flags &= ~TEP_FIELD_IS_STRING; field 380 tools/perf/util/python.c val = tep_read_number(pevent, data + field->offset, field 381 tools/perf/util/python.c field->size); field 382 tools/perf/util/python.c if (field->flags & TEP_FIELD_IS_POINTER) field 384 tools/perf/util/python.c else if (field->flags & TEP_FIELD_IS_SIGNED) field 398 tools/perf/util/python.c struct tep_format_field *field; field 410 tools/perf/util/python.c field = tep_find_any_field(evsel->tp_format, str); field 411 tools/perf/util/python.c if (!field) field 414 tools/perf/util/python.c return tracepoint_field(pevent, field); field 104 tools/perf/util/scripting-engines/trace-event-perl.c static void define_symbolic_values(struct tep_print_flag_sym *field, field 108 tools/perf/util/scripting-engines/trace-event-perl.c define_symbolic_value(ev_name, field_name, field->value, field->str); field 109 tools/perf/util/scripting-engines/trace-event-perl.c if (field->next) field 110 tools/perf/util/scripting-engines/trace-event-perl.c define_symbolic_values(field->next, ev_name, field_name); field 162 tools/perf/util/scripting-engines/trace-event-perl.c static void define_flag_values(struct tep_print_flag_sym *field, field 166 tools/perf/util/scripting-engines/trace-event-perl.c define_flag_value(ev_name, field_name, field->value, field->str); field 167 tools/perf/util/scripting-engines/trace-event-perl.c if (field->next) field 168 tools/perf/util/scripting-engines/trace-event-perl.c define_flag_values(field->next, ev_name, field_name); field 211 tools/perf/util/scripting-engines/trace-event-perl.c cur_field_name = strdup(args->field.name); field 214 tools/perf/util/scripting-engines/trace-event-perl.c define_event_symbols(event, ev_name, args->flags.field); field 219 tools/perf/util/scripting-engines/trace-event-perl.c define_event_symbols(event, ev_name, args->symbol.field); field 226 tools/perf/util/scripting-engines/trace-event-perl.c define_event_symbols(event, ev_name, args->hex.field); field 230 tools/perf/util/scripting-engines/trace-event-perl.c define_event_symbols(event, ev_name, args->int_array.field); field 344 tools/perf/util/scripting-engines/trace-event-perl.c struct tep_format_field *field; field 392 tools/perf/util/scripting-engines/trace-event-perl.c for (field = event->format.fields; field; field = field->next) { field 393 tools/perf/util/scripting-engines/trace-event-perl.c if (field->flags & TEP_FIELD_IS_STRING) { field 395 tools/perf/util/scripting-engines/trace-event-perl.c if (field->flags & TEP_FIELD_IS_DYNAMIC) { field 396 tools/perf/util/scripting-engines/trace-event-perl.c offset = *(int *)(data + field->offset); field 399 tools/perf/util/scripting-engines/trace-event-perl.c offset = field->offset; field 402 tools/perf/util/scripting-engines/trace-event-perl.c val = read_size(event, data + field->offset, field 403 tools/perf/util/scripting-engines/trace-event-perl.c field->size); field 404 tools/perf/util/scripting-engines/trace-event-perl.c if (field->flags & TEP_FIELD_IS_SIGNED) { field 231 tools/perf/util/scripting-engines/trace-event-python.c struct tep_print_flag_sym *field, field 235 tools/perf/util/scripting-engines/trace-event-python.c define_value(field_type, ev_name, field_name, field->value, field 236 tools/perf/util/scripting-engines/trace-event-python.c field->str); field 238 tools/perf/util/scripting-engines/trace-event-python.c if (field->next) field 239 tools/perf/util/scripting-engines/trace-event-python.c define_values(field_type, field->next, ev_name, field_name); field 288 tools/perf/util/scripting-engines/trace-event-python.c cur_field_name = strdup(args->field.name); field 291 tools/perf/util/scripting-engines/trace-event-python.c define_event_symbols(event, ev_name, args->flags.field); field 298 tools/perf/util/scripting-engines/trace-event-python.c define_event_symbols(event, ev_name, args->symbol.field); field 305 tools/perf/util/scripting-engines/trace-event-python.c define_event_symbols(event, ev_name, args->hex.field); field 309 tools/perf/util/scripting-engines/trace-event-python.c define_event_symbols(event, ev_name, args->int_array.field); field 340 tools/perf/util/scripting-engines/trace-event-python.c struct tep_format_field *field, void *data) field 342 tools/perf/util/scripting-engines/trace-event-python.c bool is_array = field->flags & TEP_FIELD_IS_ARRAY; field 348 tools/perf/util/scripting-engines/trace-event-python.c list = PyList_New(field->arraylen); field 349 tools/perf/util/scripting-engines/trace-event-python.c item_size = field->size / field->arraylen; field 350 tools/perf/util/scripting-engines/trace-event-python.c n_items = field->arraylen; field 352 tools/perf/util/scripting-engines/trace-event-python.c item_size = field->size; field 358 tools/perf/util/scripting-engines/trace-event-python.c val = read_size(event, data + field->offset + i * item_size, field 360 tools/perf/util/scripting-engines/trace-event-python.c if (field->flags & TEP_FIELD_IS_SIGNED) { field 800 tools/perf/util/scripting-engines/trace-event-python.c struct tep_format_field *field; field 869 tools/perf/util/scripting-engines/trace-event-python.c for (field = event->format.fields; field; field = field->next) { field 873 tools/perf/util/scripting-engines/trace-event-python.c if (field->flags & TEP_FIELD_IS_ARRAY) { field 874 tools/perf/util/scripting-engines/trace-event-python.c offset = field->offset; field 875 tools/perf/util/scripting-engines/trace-event-python.c len = field->size; field 876 tools/perf/util/scripting-engines/trace-event-python.c if (field->flags & TEP_FIELD_IS_DYNAMIC) { field 883 tools/perf/util/scripting-engines/trace-event-python.c if (field->flags & TEP_FIELD_IS_STRING && field 888 tools/perf/util/scripting-engines/trace-event-python.c field->flags &= ~TEP_FIELD_IS_STRING; field 891 tools/perf/util/scripting-engines/trace-event-python.c obj = get_field_numeric_entry(event, field, data); field 896 tools/perf/util/scripting-engines/trace-event-python.c pydict_set_item_string_decref(dict, field->name, obj); field 1991 tools/perf/util/sort.c struct tep_format_field *field; field 2000 tools/perf/util/sort.c int namelen = strlen(hde->field->name); field 2001 tools/perf/util/sort.c int fieldlen = hde->field->size; field 2006 tools/perf/util/sort.c if (!(hde->field->flags & TEP_FIELD_IS_STRING)) { field 2008 tools/perf/util/sort.c fieldlen = hde->field->size * 2 + 2; field 2022 tools/perf/util/sort.c struct tep_format_field *field = hde->field; field 2033 tools/perf/util/sort.c namelen = strlen(field->name); field 2043 tools/perf/util/sort.c if (!strncmp(str, field->name, namelen)) { field 2074 tools/perf/util/sort.c return scnprintf(hpp->buf, hpp->size, "%*.*s", len, len, hde->field->name); field 2107 tools/perf/util/sort.c struct tep_format_field *field; field 2123 tools/perf/util/sort.c field = hde->field; field 2124 tools/perf/util/sort.c namelen = strlen(field->name); field 2134 tools/perf/util/sort.c if (!strncmp(str, field->name, namelen)) { field 2154 tools/perf/util/sort.c tep_print_field(&seq, he->raw_data, hde->field); field 2167 tools/perf/util/sort.c struct tep_format_field *field; field 2177 tools/perf/util/sort.c field = hde->field; field 2178 tools/perf/util/sort.c if (field->flags & TEP_FIELD_IS_DYNAMIC) { field 2181 tools/perf/util/sort.c tep_read_number_field(field, a->raw_data, &dyn); field 2189 tools/perf/util/sort.c offset = field->offset; field 2190 tools/perf/util/sort.c size = field->size; field 2212 tools/perf/util/sort.c return hde_a->field == hde_b->field; field 2224 tools/perf/util/sort.c __alloc_dynamic_entry(struct evsel *evsel, struct tep_format_field *field, field 2236 tools/perf/util/sort.c hde->field = field; field 2239 tools/perf/util/sort.c hde->hpp.name = field->name; field 2289 tools/perf/util/sort.c static int parse_field_name(char *str, char **event, char **field, char **opt) field 2308 tools/perf/util/sort.c *field = field_name; field 2359 tools/perf/util/sort.c struct tep_format_field *field, field 2364 tools/perf/util/sort.c hde = __alloc_dynamic_entry(evsel, field, level); field 2377 tools/perf/util/sort.c struct tep_format_field *field; field 2379 tools/perf/util/sort.c field = evsel->tp_format->format.fields; field 2380 tools/perf/util/sort.c while (field) { field 2381 tools/perf/util/sort.c ret = __dynamic_dimension__add(evsel, field, raw_trace, level); field 2385 tools/perf/util/sort.c field = field->next; field 2412 tools/perf/util/sort.c struct tep_format_field *field; field 2418 tools/perf/util/sort.c field = tep_find_any_field(evsel->tp_format, field_name); field 2419 tools/perf/util/sort.c if (field == NULL) field 2422 tools/perf/util/sort.c ret = __dynamic_dimension__add(evsel, field, raw_trace, level); field 2434 tools/perf/util/sort.c struct tep_format_field *field; field 2485 tools/perf/util/sort.c field = tep_find_any_field(evsel->tp_format, field_name); field 2486 tools/perf/util/sort.c if (field == NULL) { field 2492 tools/perf/util/sort.c ret = __dynamic_dimension__add(evsel, field, raw_trace, level); field 20 tools/perf/util/trace-event-parse.c struct tep_format_field *field; field 28 tools/perf/util/trace-event-parse.c field = tep_find_common_field(event, type); field 29 tools/perf/util/trace-event-parse.c if (!field) field 31 tools/perf/util/trace-event-parse.c *offset = field->offset; field 32 tools/perf/util/trace-event-parse.c *size = field->size; field 83 tools/perf/util/trace-event-parse.c struct tep_format_field *field; field 86 tools/perf/util/trace-event-parse.c field = tep_find_any_field(event, name); field 87 tools/perf/util/trace-event-parse.c if (!field) field 90 tools/perf/util/trace-event-parse.c tep_read_number_field(field, data, &val); field 1 tools/testing/selftests/bpf/verifier/wide_access.c #define BPF_SOCK_ADDR_STORE(field, off, res, err) \ field 3 tools/testing/selftests/bpf/verifier/wide_access.c "wide store to bpf_sock_addr." #field "[" #off "]", \ field 7 tools/testing/selftests/bpf/verifier/wide_access.c offsetof(struct bpf_sock_addr, field[off])), \ field 38 tools/testing/selftests/bpf/verifier/wide_access.c #define BPF_SOCK_ADDR_LOAD(field, off, res, err) \ field 40 tools/testing/selftests/bpf/verifier/wide_access.c "wide load from bpf_sock_addr." #field "[" #off "]", \ field 43 tools/testing/selftests/bpf/verifier/wide_access.c offsetof(struct bpf_sock_addr, field[off])), \ field 227 tools/testing/selftests/networking/timestamping/rxtimestamp.c #define VALIDATE(field) \ field 229 tools/testing/selftests/networking/timestamping/rxtimestamp.c if (expected.field != actual.field) { \ field 230 tools/testing/selftests/networking/timestamping/rxtimestamp.c if (expected.field) \ field 231 tools/testing/selftests/networking/timestamping/rxtimestamp.c error(0, 0, "Expected " #field " to be set."); \ field 234 tools/testing/selftests/networking/timestamping/rxtimestamp.c "Expected " #field " to not be set."); \ field 29 tools/testing/selftests/powerpc/vphn/vphn.c const __be16 *field = (const __be16 *) be_packed; field 42 tools/testing/selftests/powerpc/vphn/vphn.c u16 new = be16_to_cpup(field++); field 302 virt/kvm/arm/vgic/vgic-mmio-v3.c u64 vgic_sanitise_shareability(u64 field) field 304 virt/kvm/arm/vgic/vgic-mmio-v3.c switch (field) { field 308 virt/kvm/arm/vgic/vgic-mmio-v3.c return field; field 313 virt/kvm/arm/vgic/vgic-mmio-v3.c u64 vgic_sanitise_inner_cacheability(u64 field) field 315 virt/kvm/arm/vgic/vgic-mmio-v3.c switch (field) { field 320 virt/kvm/arm/vgic/vgic-mmio-v3.c return field; field 325 virt/kvm/arm/vgic/vgic-mmio-v3.c u64 vgic_sanitise_outer_cacheability(u64 field) field 327 virt/kvm/arm/vgic/vgic-mmio-v3.c switch (field) { field 330 virt/kvm/arm/vgic/vgic-mmio-v3.c return field; field 339 virt/kvm/arm/vgic/vgic-mmio-v3.c u64 field = (reg & field_mask) >> field_shift; field 341 virt/kvm/arm/vgic/vgic-mmio-v3.c field = sanitise_fn(field) << field_shift; field 342 virt/kvm/arm/vgic/vgic-mmio-v3.c return (reg & ~field_mask) | field;