gen 74 arch/arc/plat-eznps/include/plat/ctop.h u32 gen:1, gdis:1, clk_gate_dis:1, asb:1, gen 1141 arch/mips/include/asm/kvm_host.h static inline void kvm_arch_memslots_updated(struct kvm *kvm, u64 gen) {} gen 115 arch/mips/include/asm/txx9/tx4939.h } gen; gen 858 arch/powerpc/include/asm/kvm_host.h static inline void kvm_arch_memslots_updated(struct kvm *kvm, u64 gen) {} gen 14 arch/powerpc/perf/req-gen/_begin.h #define REQ_GEN_PREFIX req-gen gen 920 arch/s390/include/asm/kvm_host.h static inline void kvm_arch_memslots_updated(struct kvm *kvm, u64 gen) {} gen 216 arch/sparc/include/asm/obio.h static inline void cc_set_igen(unsigned int gen) gen 219 arch/sparc/include/asm/obio.h "r" (gen), gen 1280 arch/x86/include/asm/kvm_host.h void kvm_mmu_invalidate_mmio_sptes(struct kvm *kvm, u64 gen); gen 435 arch/x86/kvm/mmu.c static u64 generation_mmio_spte_mask(u64 gen) gen 439 arch/x86/kvm/mmu.c WARN_ON(gen & ~MMIO_SPTE_GEN_MASK); gen 442 arch/x86/kvm/mmu.c mask = (gen << MMIO_SPTE_GEN_LOW_START) & MMIO_SPTE_GEN_LOW_MASK; gen 443 arch/x86/kvm/mmu.c mask |= (gen << MMIO_SPTE_GEN_HIGH_START) & MMIO_SPTE_GEN_HIGH_MASK; gen 449 arch/x86/kvm/mmu.c u64 gen; gen 451 arch/x86/kvm/mmu.c gen = (spte & MMIO_SPTE_GEN_LOW_MASK) >> MMIO_SPTE_GEN_LOW_START; gen 452 arch/x86/kvm/mmu.c gen |= (spte & MMIO_SPTE_GEN_HIGH_MASK) >> MMIO_SPTE_GEN_HIGH_START; gen 453 arch/x86/kvm/mmu.c return gen; gen 459 arch/x86/kvm/mmu.c u64 gen = kvm_vcpu_memslots(vcpu)->generation & MMIO_SPTE_GEN_MASK; gen 460 arch/x86/kvm/mmu.c u64 mask = generation_mmio_spte_mask(gen); gen 469 arch/x86/kvm/mmu.c trace_mark_mmio_spte(sptep, gfn, access, gen); gen 501 arch/x86/kvm/mmu.c u64 kvm_gen, spte_gen, gen; gen 503 arch/x86/kvm/mmu.c gen = kvm_vcpu_memslots(vcpu)->generation; gen 504 arch/x86/kvm/mmu.c if (unlikely(gen & KVM_MEMSLOT_GEN_UPDATE_IN_PROGRESS)) gen 507 arch/x86/kvm/mmu.c kvm_gen = gen & MMIO_SPTE_GEN_MASK; gen 6142 arch/x86/kvm/mmu.c void kvm_mmu_invalidate_mmio_sptes(struct kvm *kvm, u64 gen) gen 6144 arch/x86/kvm/mmu.c WARN_ON(gen & KVM_MEMSLOT_GEN_UPDATE_IN_PROGRESS); gen 6146 arch/x86/kvm/mmu.c gen &= MMIO_SPTE_GEN_MASK; gen 6155 arch/x86/kvm/mmu.c gen &= ~((u64)KVM_ADDRESS_SPACE_NUM - 1); gen 6161 arch/x86/kvm/mmu.c if (unlikely(gen == 0)) { gen 205 arch/x86/kvm/mmutrace.h TP_PROTO(u64 *sptep, gfn_t gfn, unsigned access, unsigned int gen), gen 206 arch/x86/kvm/mmutrace.h TP_ARGS(sptep, gfn, access, gen), gen 212 arch/x86/kvm/mmutrace.h __field(unsigned int, gen) gen 219 arch/x86/kvm/mmutrace.h __entry->gen = gen; gen 223 arch/x86/kvm/mmutrace.h __entry->gfn, __entry->access, __entry->gen) gen 9810 arch/x86/kvm/x86.c void kvm_arch_memslots_updated(struct kvm *kvm, u64 gen) gen 9819 arch/x86/kvm/x86.c kvm_mmu_invalidate_mmio_sptes(kvm, gen); gen 189 arch/x86/kvm/x86.h u64 gen = kvm_memslots(vcpu->kvm)->generation; gen 191 arch/x86/kvm/x86.h if (unlikely(gen & KVM_MEMSLOT_GEN_UPDATE_IN_PROGRESS)) gen 201 arch/x86/kvm/x86.h vcpu->arch.mmio_gen = gen; gen 4331 drivers/ata/sata_mv.c const char *scc_s, *gen; gen 4345 drivers/ata/sata_mv.c gen = "I"; gen 4347 drivers/ata/sata_mv.c gen = "II"; gen 4349 drivers/ata/sata_mv.c gen = "IIE"; gen 4351 drivers/ata/sata_mv.c gen = "?"; gen 4354 drivers/ata/sata_mv.c gen, (unsigned)MV_MAX_Q_DEPTH, host->n_ports, gen 43 drivers/char/agp/intel-gtt.c unsigned int gen : 8; gen 91 drivers/char/agp/intel-gtt.c #define INTEL_GTT_GEN intel_private.driver->gen gen 1183 drivers/char/agp/intel-gtt.c .gen = 1, gen 1192 drivers/char/agp/intel-gtt.c .gen = 2, gen 1202 drivers/char/agp/intel-gtt.c .gen = 3, gen 1213 drivers/char/agp/intel-gtt.c .gen = 3, gen 1223 drivers/char/agp/intel-gtt.c .gen = 3, gen 1233 drivers/char/agp/intel-gtt.c .gen = 4, gen 1243 drivers/char/agp/intel-gtt.c .gen = 5, gen 1252 drivers/char/agp/intel-gtt.c .gen = 5, gen 36 drivers/clk/tegra/clk-tegra-super-gen4.c enum tegra_super_gen gen; gen 60 drivers/clk/tegra/clk-tegra-super-gen4.c .gen = gen4, gen 86 drivers/clk/tegra/clk-tegra-super-gen4.c .gen = gen5, gen 177 drivers/clk/tegra/clk-tegra-super-gen4.c if (gen_info->gen == gen5) { gen 198 drivers/clk/tegra/clk-tegra-super-gen4.c if (gen_info->gen == gen5) { gen 227 drivers/clk/tegra/clk-tegra-super-gen4.c if (gen_info->gen == gen5) gen 976 drivers/firewire/core-device.c int fw_device_set_broadcast_channel(struct device *dev, void *gen) gen 979 drivers/firewire/core-device.c set_broadcast_channel(fw_device(dev), (long)gen); gen 152 drivers/firewire/core.h int fw_device_set_broadcast_channel(struct device *dev, void *gen); gen 1145 drivers/gpio/gpio-omap.c u32 l = 0, gen, gen0, gen1; gen 1204 drivers/gpio/gpio-omap.c gen = l & (~(bank->context.fallingdetect) & gen 1207 drivers/gpio/gpio-omap.c gen |= gen0 | gen1; gen 1209 drivers/gpio/gpio-omap.c if (gen) { gen 1216 drivers/gpio/gpio-omap.c writel_relaxed(old0 | gen, bank->base + gen 1218 drivers/gpio/gpio-omap.c writel_relaxed(old1 | gen, bank->base + gen 127 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c unsigned int gen; gen 1301 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c if (phy->gen == 1) { gen 1335 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c if (phy->gen == 1) { gen 2476 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c .gen = 1, gen 2480 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c .gen = 2, gen 2486 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c .gen = 2, gen 2492 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c .gen = 2, gen 2497 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c .gen = 2, gen 2502 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c .gen = 2, gen 249 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c unsigned int gen; /** Cached value of INTEL_GEN */ gen 903 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c cache->gen = INTEL_GEN(i915); gen 906 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c cache->has_fence = cache->gen < 4; gen 1192 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c cache->gen > 5 ? 0 : I915_DISPATCH_SECURE); gen 1272 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c const unsigned int gen = eb->reloc_cache.gen; gen 1279 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c else if (gen >= 4) gen 1309 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c } else if (gen >= 6) { gen 1314 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c } else if (gen >= 4) { gen 45 drivers/gpu/drm/i915/gem/selftests/igt_gem_utils.c const int gen = INTEL_GEN(vma->vm->i915); gen 66 drivers/gpu/drm/i915/gem/selftests/igt_gem_utils.c if (gen >= 8) { gen 71 drivers/gpu/drm/i915/gem/selftests/igt_gem_utils.c } else if (gen >= 4) { gen 73 drivers/gpu/drm/i915/gem/selftests/igt_gem_utils.c (gen < 6 ? MI_USE_GGTT : 0); gen 65 drivers/gpu/drm/i915/gt/intel_engine_cs.c u32 gen : 8; gen 76 drivers/gpu/drm/i915/gt/intel_engine_cs.c { .gen = 1, .base = RENDER_RING_BASE } gen 84 drivers/gpu/drm/i915/gt/intel_engine_cs.c { .gen = 6, .base = BLT_RING_BASE } gen 92 drivers/gpu/drm/i915/gt/intel_engine_cs.c { .gen = 11, .base = GEN11_BSD_RING_BASE }, gen 93 drivers/gpu/drm/i915/gt/intel_engine_cs.c { .gen = 6, .base = GEN6_BSD_RING_BASE }, gen 94 drivers/gpu/drm/i915/gt/intel_engine_cs.c { .gen = 4, .base = BSD_RING_BASE } gen 102 drivers/gpu/drm/i915/gt/intel_engine_cs.c { .gen = 11, .base = GEN11_BSD2_RING_BASE }, gen 103 drivers/gpu/drm/i915/gt/intel_engine_cs.c { .gen = 8, .base = GEN8_BSD2_RING_BASE } gen 111 drivers/gpu/drm/i915/gt/intel_engine_cs.c { .gen = 11, .base = GEN11_BSD3_RING_BASE } gen 119 drivers/gpu/drm/i915/gt/intel_engine_cs.c { .gen = 11, .base = GEN11_BSD4_RING_BASE } gen 127 drivers/gpu/drm/i915/gt/intel_engine_cs.c { .gen = 11, .base = GEN11_VEBOX_RING_BASE }, gen 128 drivers/gpu/drm/i915/gt/intel_engine_cs.c { .gen = 7, .base = VEBOX_RING_BASE } gen 136 drivers/gpu/drm/i915/gt/intel_engine_cs.c { .gen = 11, .base = GEN11_VEBOX2_RING_BASE } gen 230 drivers/gpu/drm/i915/gt/intel_engine_cs.c if (INTEL_GEN(i915) >= bases[i].gen) gen 38 drivers/gpu/drm/i915/gt/intel_renderstate.h const struct intel_renderstate_rodata gen ## _g ## _null_state = { \ gen 39 drivers/gpu/drm/i915/gt/intel_renderstate.h .reloc = gen ## _g ## _null_state_relocs, \ gen 40 drivers/gpu/drm/i915/gt/intel_renderstate.h .batch = gen ## _g ## _null_state_batch, \ gen 41 drivers/gpu/drm/i915/gt/intel_renderstate.h .batch_items = sizeof(gen ## _g ## _null_state_batch)/4, \ gen 18 drivers/gpu/drm/i915/gt/selftest_engine_cs.c u8 gen = info->mmio_bases[j].gen; gen 21 drivers/gpu/drm/i915/gt/selftest_engine_cs.c if (gen >= prev) { gen 26 drivers/gpu/drm/i915/gt/selftest_engine_cs.c prev, gen); gen 30 drivers/gpu/drm/i915/gt/selftest_engine_cs.c if (gen == 0) gen 38 drivers/gpu/drm/i915/gt/selftest_engine_cs.c base, gen, j); gen 42 drivers/gpu/drm/i915/gt/selftest_engine_cs.c prev = gen; gen 1535 drivers/gpu/drm/i915/i915_drv.c BUG_ON(device_info->gen > BITS_PER_TYPE(device_info->gen_mask)); gen 1574 drivers/gpu/drm/i915/i915_drv.c if (!i915_modparams.nuclear_pageflip && match_info->gen < 5) gen 1839 drivers/gpu/drm/i915/i915_drv.h #define INTEL_GEN(dev_priv) (INTEL_INFO(dev_priv)->gen) gen 1856 drivers/gpu/drm/i915/i915_drv.h INTEL_INFO(dev_priv)->gen == (n)) gen 38 drivers/gpu/drm/i915/i915_pci.c #define GEN(x) .gen = (x), .gen_mask = BIT((x) - 1) gen 151 drivers/gpu/drm/i915/intel_device_info.h u8 gen; gen 953 drivers/gpu/drm/i915/intel_uncore.c const i915_reg_t *regs = gen##x##_shadowed_regs; \ gen 954 drivers/gpu/drm/i915/intel_uncore.c return BSEARCH(offset, regs, ARRAY_SIZE(gen##x##_shadowed_regs), \ gen 766 drivers/gpu/drm/i915/selftests/i915_request.c const int gen = INTEL_GEN(i915); gen 791 drivers/gpu/drm/i915/selftests/i915_request.c if (gen >= 8) { gen 795 drivers/gpu/drm/i915/selftests/i915_request.c } else if (gen >= 6) { gen 174 drivers/gpu/drm/i915/selftests/mock_gem_device.c mkwrite_device_info(i915)->gen = -1; gen 328 drivers/gpu/drm/nouveau/nouveau_display.c #define PROP_ENUM(p,gen,n,list) do { \ gen 332 drivers/gpu/drm/nouveau/nouveau_display.c if (l->gen_mask & (1 << (gen))) \ gen 340 drivers/gpu/drm/nouveau/nouveau_display.c if (l->gen_mask & (1 << (gen))) { \ gen 464 drivers/gpu/drm/nouveau/nouveau_display.c int gen; gen 467 drivers/gpu/drm/nouveau/nouveau_display.c gen = 0; gen 470 drivers/gpu/drm/nouveau/nouveau_display.c gen = 1; gen 472 drivers/gpu/drm/nouveau/nouveau_display.c gen = 2; gen 474 drivers/gpu/drm/nouveau/nouveau_display.c PROP_ENUM(disp->dithering_mode, gen, "dithering mode", dither_mode); gen 475 drivers/gpu/drm/nouveau/nouveau_display.c PROP_ENUM(disp->dithering_depth, gen, "dithering depth", dither_depth); gen 476 drivers/gpu/drm/nouveau/nouveau_display.c PROP_ENUM(disp->underscan_property, gen, "underscan", underscan); gen 484 drivers/gpu/drm/nouveau/nouveau_display.c if (gen < 1) gen 382 drivers/gpu/drm/rcar-du/rcar_du_crtc.c if (rcdu->info->gen < 3) { gen 811 drivers/gpu/drm/rcar-du/rcar_du_crtc.c if (rcdu->info->gen < 3) gen 1111 drivers/gpu/drm/rcar-du/rcar_du_crtc.c if (rcdu->info->gen < 3) { gen 1191 drivers/gpu/drm/rcar-du/rcar_du_crtc.c rcdu->info->gen <= 2 ? gen 37 drivers/gpu/drm/rcar-du/rcar_du_drv.c .gen = 2, gen 59 drivers/gpu/drm/rcar-du/rcar_du_drv.c .gen = 2, gen 80 drivers/gpu/drm/rcar-du/rcar_du_drv.c .gen = 2, gen 106 drivers/gpu/drm/rcar-du/rcar_du_drv.c .gen = 3, gen 135 drivers/gpu/drm/rcar-du/rcar_du_drv.c .gen = 3, gen 161 drivers/gpu/drm/rcar-du/rcar_du_drv.c .gen = 1, gen 182 drivers/gpu/drm/rcar-du/rcar_du_drv.c .gen = 2, gen 211 drivers/gpu/drm/rcar-du/rcar_du_drv.c .gen = 2, gen 234 drivers/gpu/drm/rcar-du/rcar_du_drv.c .gen = 2, gen 253 drivers/gpu/drm/rcar-du/rcar_du_drv.c .gen = 2, gen 275 drivers/gpu/drm/rcar-du/rcar_du_drv.c .gen = 3, gen 308 drivers/gpu/drm/rcar-du/rcar_du_drv.c .gen = 3, gen 337 drivers/gpu/drm/rcar-du/rcar_du_drv.c .gen = 3, gen 366 drivers/gpu/drm/rcar-du/rcar_du_drv.c .gen = 3, gen 387 drivers/gpu/drm/rcar-du/rcar_du_drv.c .gen = 3, gen 60 drivers/gpu/drm/rcar-du/rcar_du_drv.h unsigned int gen; gen 105 drivers/gpu/drm/rcar-du/rcar_du_encoder.c if (rcdu->info->gen >= 3 && output == RCAR_DU_OUTPUT_LVDS1) { gen 61 drivers/gpu/drm/rcar-du/rcar_du_group.c if (rcdu->info->gen < 3) { gen 103 drivers/gpu/drm/rcar-du/rcar_du_group.c if (rcdu->info->gen < 3 && rgrp->index == 0) { gen 110 drivers/gpu/drm/rcar-du/rcar_du_group.c } else if (rcdu->info->gen == 3 && rgrp->num_crtcs > 1) { gen 141 drivers/gpu/drm/rcar-du/rcar_du_group.c if (rcdu->info->gen < 3) { gen 150 drivers/gpu/drm/rcar-du/rcar_du_group.c if (rcdu->info->gen >= 2) { gen 155 drivers/gpu/drm/rcar-du/rcar_du_group.c if (rcdu->info->gen >= 3) gen 265 drivers/gpu/drm/rcar-du/rcar_du_group.c if (rcdu->info->gen < 2) gen 275 drivers/gpu/drm/rcar-du/rcar_du_group.c index = rcdu->info->gen < 3 ? 0 : DIV_ROUND_UP(rcdu->num_crtcs, 2) - 1; gen 304 drivers/gpu/drm/rcar-du/rcar_du_group.c if (rcdu->info->gen < 2) gen 323 drivers/gpu/drm/rcar-du/rcar_du_kms.c if (rcdu->info->gen < 3) { gen 641 drivers/gpu/drm/rcar-du/rcar_du_kms.c if (rcdu->info->gen < 3) { gen 690 drivers/gpu/drm/rcar-du/rcar_du_kms.c ? (rcdu->info->gen >= 3 ? 0x04 : 0xf0) gen 749 drivers/gpu/drm/rcar-du/rcar_du_kms.c if (rcdu->info->gen >= 3) { gen 522 drivers/gpu/drm/rcar-du/rcar_du_plane.c if (rcdu->info->gen < 3) gen 533 drivers/gpu/drm/rcar-du/rcar_du_plane.c if (rcdu->info->gen < 3) { gen 552 drivers/gpu/drm/rcar-du/rcar_du_plane.c if (rcdu->info->gen < 3) gen 77 drivers/gpu/drm/rcar-du/rcar_du_vsp.c if (rcdu->info->gen >= 3) gen 368 drivers/gpu/drm/rcar-du/rcar_du_vsp.c vsp->num_planes = rcdu->info->gen >= 3 ? 5 : 4; gen 46 drivers/gpu/drm/rcar-du/rcar_lvds.c unsigned int gen; gen 477 drivers/gpu/drm/rcar-du/rcar_lvds.c if (lvds->info->gen < 3) { gen 847 drivers/gpu/drm/rcar-du/rcar_lvds.c .gen = 2, gen 912 drivers/gpu/drm/rcar-du/rcar_lvds.c .gen = 2, gen 917 drivers/gpu/drm/rcar-du/rcar_lvds.c .gen = 3, gen 923 drivers/gpu/drm/rcar-du/rcar_lvds.c .gen = 3, gen 929 drivers/gpu/drm/rcar-du/rcar_lvds.c .gen = 3, gen 936 drivers/gpu/drm/rcar-du/rcar_lvds.c .gen = 3, gen 76 drivers/gpu/ipu-v3/ipu-di.c #define DI_SW_GEN0(gen) (0x000c + 4 * ((gen) - 1)) gen 77 drivers/gpu/ipu-v3/ipu-di.c #define DI_SW_GEN1(gen) (0x0030 + 4 * ((gen) - 1)) gen 78 drivers/gpu/ipu-v3/ipu-di.c #define DI_STP_REP(gen) (0x0148 + 4 * (((gen) - 1)/2)) gen 80 drivers/gpu/ipu-v3/ipu-di.c #define DI_DW_GEN(gen) (0x0058 + 4 * (gen)) gen 81 drivers/gpu/ipu-v3/ipu-di.c #define DI_DW_SET(gen, set) (0x0088 + 4 * ((gen) + 0xc * (set))) gen 159 drivers/infiniband/hw/cxgb4/cq.c cq->gen = 1; gen 196 drivers/infiniband/hw/cxgb4/cq.c cqe.bits_type_ts = cpu_to_be64(CQE_GENBIT_V((u64)cq->gen)); gen 231 drivers/infiniband/hw/cxgb4/cq.c cqe.bits_type_ts = cpu_to_be64(CQE_GENBIT_V((u64)cq->gen)); gen 1003 drivers/infiniband/hw/cxgb4/qp.c cqe.bits_type_ts = cpu_to_be64(CQE_GENBIT_V((u64)cq->gen)); gen 1054 drivers/infiniband/hw/cxgb4/qp.c cqe.bits_type_ts = cpu_to_be64(CQE_GENBIT_V((u64)cq->gen)); gen 294 drivers/infiniband/hw/cxgb4/restrack.c if (rdma_nl_put_driver_u32(msg, "gen", cq->gen)) gen 321 drivers/infiniband/hw/cxgb4/restrack.c be32_to_cpu(cqe->u.gen.wrid_hi))) gen 324 drivers/infiniband/hw/cxgb4/restrack.c be32_to_cpu(cqe->u.gen.wrid_low))) gen 190 drivers/infiniband/hw/cxgb4/t4.h } gen; gen 281 drivers/infiniband/hw/cxgb4/t4.h #define CQE_WRID_HI(x) (be32_to_cpu((x)->u.gen.wrid_hi)) gen 282 drivers/infiniband/hw/cxgb4/t4.h #define CQE_WRID_LOW(x) (be32_to_cpu((x)->u.gen.wrid_low)) gen 712 drivers/infiniband/hw/cxgb4/t4.h u8 gen; gen 781 drivers/infiniband/hw/cxgb4/t4.h cq->gen ^= 1; gen 787 drivers/infiniband/hw/cxgb4/t4.h return (CQE_GENBIT(cqe) == cq->gen); gen 78 drivers/infiniband/hw/hfi1/affinity.c set->gen = 0; gen 89 drivers/infiniband/hw/hfi1/affinity.c set->gen++; gen 96 drivers/infiniband/hw/hfi1/affinity.c if (cpumask_empty(&set->used) && set->gen) { gen 97 drivers/infiniband/hw/hfi1/affinity.c set->gen--; gen 176 drivers/infiniband/hw/hfi1/affinity.c node_affinity.proc.gen = 0; gen 1116 drivers/infiniband/hw/hfi1/affinity.c cpumask_copy(intrs_mask, (entry->def_intr.gen ? gen 1119 drivers/infiniband/hw/hfi1/affinity.c cpumask_or(intrs_mask, intrs_mask, (entry->rcv_intr.gen ? gen 70 drivers/infiniband/hw/hfi1/affinity.h uint gen; gen 2148 drivers/infiniband/hw/hfi1/sdma.c u8 gen; gen 2175 drivers/infiniband/hw/hfi1/sdma.c gen = (desc[1] >> SDMA_DESC1_GENERATION_SHIFT) gen 2181 drivers/infiniband/hw/hfi1/sdma.c head, flags, addr, gen, len); gen 2217 drivers/infiniband/hw/hfi1/sdma.c u8 gen; gen 2258 drivers/infiniband/hw/hfi1/sdma.c gen = (desc[1] >> SDMA_DESC1_GENERATION_SHIFT) gen 2264 drivers/infiniband/hw/hfi1/sdma.c head, flags, addr, gen, len); gen 758 drivers/infiniband/hw/hfi1/tid_rdma.c static u32 kern_flow_generation_next(u32 gen) gen 760 drivers/infiniband/hw/hfi1/tid_rdma.c u32 generation = mask_generation(gen + 1); gen 4660 drivers/infiniband/hw/hfi1/tid_rdma.c u32 gen; gen 4663 drivers/infiniband/hw/hfi1/tid_rdma.c gen = flow->flow_state.generation; gen 4664 drivers/infiniband/hw/hfi1/tid_rdma.c if (WARN_ON(gen == generation && gen 720 drivers/infiniband/hw/qib/qib_common.h __u32 gen:8; gen 687 drivers/infiniband/hw/qib/qib_sdma.c u16 gen, dwlen, dwoffset; gen 715 drivers/infiniband/hw/qib/qib_sdma.c gen = (desc[0] >> 30) & 3ULL; gen 720 drivers/infiniband/hw/qib/qib_sdma.c head, flags, addr, gen, dwlen, dwoffset); gen 1178 drivers/infiniband/hw/qib/qib_user_sdma.c static inline __le64 qib_sdma_make_desc0(u8 gen, gen 1184 drivers/infiniband/hw/qib/qib_user_sdma.c ((gen & 3ULL) << 30) | gen 1210 drivers/infiniband/hw/qib/qib_user_sdma.c unsigned ofs, u16 tail, u8 gen) gen 1220 drivers/infiniband/hw/qib/qib_user_sdma.c descq0 = qib_sdma_make_desc0(gen, addr, dwlen, ofs); gen 1241 drivers/infiniband/hw/qib/qib_user_sdma.c u8 gen, gen_c; gen 1250 drivers/infiniband/hw/qib/qib_user_sdma.c gen_c = gen = ppd->sdma_generation; gen 1260 drivers/infiniband/hw/qib/qib_user_sdma.c qib_user_sdma_send_frag(ppd, pkt, i, ofs, tail, gen); gen 1265 drivers/infiniband/hw/qib/qib_user_sdma.c ++gen; gen 1291 drivers/infiniband/hw/qib/qib_user_sdma.c gen_c = gen; gen 219 drivers/infiniband/sw/rdmavt/mr.c rkt->gen++; gen 224 drivers/infiniband/sw/rdmavt/mr.c ((((1 << (24 - dev->dparms.lkey_table_size)) - 1) & rkt->gen) gen 228 drivers/infiniband/sw/rdmavt/mr.c rkt->gen++; gen 1732 drivers/infiniband/ulp/srp/ib_srp.c state.gen.next = next_mr; gen 1733 drivers/infiniband/ulp/srp/ib_srp.c state.gen.end = end_mr; gen 1951 drivers/infiniband/ulp/srp/ib_srp.c ret = srp_map_idb(ch, req, state.gen.next, state.gen.end, gen 338 drivers/infiniband/ulp/srp/ib_srp.h } gen; gen 46 drivers/input/mouse/cyapa.c if (cyapa->gen == CYAPA_GEN6 && cyapa->state == CYAPA_STATE_GEN6_BL) gen 49 drivers/input/mouse/cyapa.c if (cyapa->gen == CYAPA_GEN5 && cyapa->state == CYAPA_STATE_GEN5_BL) gen 57 drivers/input/mouse/cyapa.c if (cyapa->gen == CYAPA_GEN6 && cyapa->state == CYAPA_STATE_GEN6_APP) gen 60 drivers/input/mouse/cyapa.c if (cyapa->gen == CYAPA_GEN5 && cyapa->state == CYAPA_STATE_GEN5_APP) gen 71 drivers/input/mouse/cyapa.c if (cyapa->gen == CYAPA_GEN3 && gen 84 drivers/input/mouse/cyapa.c if (cyapa->gen == CYAPA_GEN3 && cyapa->state == CYAPA_STATE_OP) gen 208 drivers/input/mouse/cyapa.c if (cyapa->gen == CYAPA_GEN_UNKNOWN || gen 209 drivers/input/mouse/cyapa.c cyapa->gen == CYAPA_GEN3) { gen 215 drivers/input/mouse/cyapa.c if (cyapa->gen == CYAPA_GEN_UNKNOWN || gen 216 drivers/input/mouse/cyapa.c cyapa->gen == CYAPA_GEN6 || gen 217 drivers/input/mouse/cyapa.c cyapa->gen == CYAPA_GEN5) { gen 224 drivers/input/mouse/cyapa.c if ((cyapa->gen == CYAPA_GEN_UNKNOWN || gen 225 drivers/input/mouse/cyapa.c cyapa->gen == CYAPA_GEN5) && gen 319 drivers/input/mouse/cyapa.c switch (cyapa->gen) { gen 468 drivers/input/mouse/cyapa.c if (cyapa->gen > CYAPA_GEN3) { gen 485 drivers/input/mouse/cyapa.c if (cyapa->gen >= CYAPA_GEN5) { gen 540 drivers/input/mouse/cyapa.c if (cyapa->gen >= CYAPA_GEN5) gen 550 drivers/input/mouse/cyapa.c if (cyapa->gen >= CYAPA_GEN5) gen 595 drivers/input/mouse/cyapa.c cyapa->gen = CYAPA_GEN_UNKNOWN; gen 768 drivers/input/mouse/cyapa.c cyapa->gen == CYAPA_GEN3 ? gen 882 drivers/input/mouse/cyapa.c cyapa->gen == CYAPA_GEN3 ? gen 1214 drivers/input/mouse/cyapa.c cyapa->gen, cyapa_state_to_string(cyapa)); gen 358 drivers/input/mouse/cyapa.h u8 gen; gen 349 drivers/input/mouse/cyapa_gen3.c cyapa->gen = CYAPA_GEN3; gen 354 drivers/input/mouse/cyapa_gen3.c cyapa->gen = CYAPA_GEN3; gen 374 drivers/input/mouse/cyapa_gen3.c cyapa->gen = CYAPA_GEN3; gen 380 drivers/input/mouse/cyapa_gen3.c cyapa->gen = CYAPA_GEN3; gen 384 drivers/input/mouse/cyapa_gen3.c cyapa->gen = CYAPA_GEN3; gen 388 drivers/input/mouse/cyapa_gen3.c if (cyapa->gen == CYAPA_GEN3 && (cyapa->state == CYAPA_STATE_OP || gen 1004 drivers/input/mouse/cyapa_gen3.c cyapa->gen = query_data[20] & 0x0f; gen 1097 drivers/input/mouse/cyapa_gen3.c if (cyapa->gen != CYAPA_GEN3) { gen 1099 drivers/input/mouse/cyapa_gen3.c cyapa->gen); gen 1126 drivers/input/mouse/cyapa_gen3.c if (cyapa->gen != CYAPA_GEN3) gen 790 drivers/input/mouse/cyapa_gen5.c cyapa->gen = CYAPA_GEN5; gen 860 drivers/input/mouse/cyapa_gen5.c cyapa->gen = CYAPA_GEN5; gen 867 drivers/input/mouse/cyapa_gen5.c cyapa->gen = CYAPA_GEN5; gen 874 drivers/input/mouse/cyapa_gen5.c cyapa->gen = CYAPA_GEN5; gen 881 drivers/input/mouse/cyapa_gen5.c cyapa->gen = CYAPA_GEN5; gen 917 drivers/input/mouse/cyapa_gen5.c cyapa->gen = CYAPA_GEN5; gen 943 drivers/input/mouse/cyapa_gen5.c cyapa->gen = CYAPA_GEN5; gen 947 drivers/input/mouse/cyapa_gen5.c cyapa->gen = CYAPA_GEN5; gen 959 drivers/input/mouse/cyapa_gen5.c cyapa->gen = CYAPA_GEN5; gen 966 drivers/input/mouse/cyapa_gen5.c cyapa->gen = CYAPA_GEN5; gen 997 drivers/input/mouse/cyapa_gen5.c cyapa->gen = CYAPA_GEN5; gen 1002 drivers/input/mouse/cyapa_gen5.c cyapa->gen = CYAPA_GEN5; gen 1015 drivers/input/mouse/cyapa_gen5.c if (cyapa->gen == CYAPA_GEN5) { gen 1200 drivers/input/mouse/cyapa_gen5.c if (cyapa->gen == CYAPA_GEN5) gen 1202 drivers/input/mouse/cyapa_gen5.c else if (cyapa->gen == CYAPA_GEN6) gen 1213 drivers/input/mouse/cyapa_gen5.c switch (cyapa->gen) { gen 2499 drivers/input/mouse/cyapa_gen5.c if (cyapa->gen == CYAPA_GEN5 && cyapa->platform_ver < 2) { gen 2544 drivers/input/mouse/cyapa_gen5.c if (cyapa->gen != CYAPA_GEN5) gen 2773 drivers/input/mouse/cyapa_gen5.c cyapa->gen, cyapa->state); gen 181 drivers/input/mouse/cyapa_gen6.c cyapa->gen = CYAPA_GEN6; gen 186 drivers/input/mouse/cyapa_gen6.c cyapa->gen = CYAPA_GEN5; gen 670 drivers/input/mouse/cyapa_gen6.c if (cyapa->gen != CYAPA_GEN6) gen 78 drivers/md/bcache/alloc.c uint8_t ret = ++b->gen; gen 513 drivers/md/bcache/alloc.c k->ptr[i] = MAKE_PTR(ca->buckets[b].gen, gen 200 drivers/md/bcache/bcache.h uint8_t gen; gen 813 drivers/md/bcache/bcache.h return gen_after(PTR_BUCKET(c, k, i)->gen, PTR_GEN(k, i)); gen 897 drivers/md/bcache/bcache.h return b->gen - b->last_gc; gen 1299 drivers/md/bcache/btree.c b->gen = PTR_GEN(k, i); gen 1751 drivers/md/bcache/btree.c b->last_gc = b->gen; gen 201 drivers/md/bcache/extents.c g->prio, g->gen, g->last_gc, GC_MARK(g)); gen 533 drivers/md/bcache/extents.c g->prio, g->gen, g->last_gc, GC_MARK(g)); gen 574 drivers/md/bcache/super.c d->gen = b->gen; gen 642 drivers/md/bcache/super.c b->gen = b->last_gc = d->gen; gen 49 drivers/md/dm-zoned-metadata.c __le64 gen; /* 16 */ gen 649 drivers/md/dm-zoned-metadata.c sb->gen = cpu_to_le64(sb_gen); gen 837 drivers/md/dm-zoned-metadata.c u64 gen; gen 839 drivers/md/dm-zoned-metadata.c gen = le64_to_cpu(sb->gen); gen 842 drivers/md/dm-zoned-metadata.c crc = crc32_le(gen, (unsigned char *)sb, DMZ_BLOCK_SIZE); gen 1061 drivers/md/dm-zoned-metadata.c sb_gen[0] = le64_to_cpu(zmd->sb[0].sb->gen); gen 1066 drivers/md/dm-zoned-metadata.c sb_gen[1] = le64_to_cpu(zmd->sb[1].sb->gen); gen 61 drivers/media/platform/vsp1/vsp1.h unsigned int gen; gen 651 drivers/media/platform/vsp1/vsp1_drv.c .gen = 2, gen 663 drivers/media/platform/vsp1/vsp1_drv.c .gen = 2, gen 673 drivers/media/platform/vsp1/vsp1_drv.c .gen = 2, gen 684 drivers/media/platform/vsp1/vsp1_drv.c .gen = 2, gen 696 drivers/media/platform/vsp1/vsp1_drv.c .gen = 2, gen 707 drivers/media/platform/vsp1/vsp1_drv.c .gen = 2, gen 718 drivers/media/platform/vsp1/vsp1_drv.c .gen = 3, gen 729 drivers/media/platform/vsp1/vsp1_drv.c .gen = 3, gen 738 drivers/media/platform/vsp1/vsp1_drv.c .gen = 3, gen 748 drivers/media/platform/vsp1/vsp1_drv.c .gen = 3, gen 756 drivers/media/platform/vsp1/vsp1_drv.c .gen = 3, gen 766 drivers/media/platform/vsp1/vsp1_drv.c .gen = 3, gen 776 drivers/media/platform/vsp1/vsp1_drv.c .gen = 3, gen 199 drivers/media/platform/vsp1/vsp1_hgo.c vsp1->info->gen == 3 ? 2 : 1); gen 202 drivers/media/platform/vsp1/vsp1_hgo.c if (vsp1->info->gen == 3) gen 221 drivers/media/platform/vsp1/vsp1_pipe.c if (vsp1->info->gen != 2) { gen 158 drivers/media/platform/vsp1/vsp1_rpf.c if (entity->vsp1->info->gen == 3) { gen 307 drivers/media/platform/vsp1/vsp1_rpf.c if (vsp1->info->gen == 3 && format->num_planes == 3 && gen 273 drivers/media/platform/vsp1/vsp1_video.c if (vsp1->info->gen == 3) { gen 518 drivers/media/platform/vsp1/vsp1_wpf.c if (vsp1->info->gen == 3 && format->num_planes == 3 && gen 573 drivers/media/platform/vsp1/vsp1_wpf.c if (vsp1->info->gen == 2) { gen 56 drivers/memory/mtk-smi.c enum mtk_smi_gen gen; gen 384 drivers/memory/mtk-smi.c .gen = MTK_SMI_GEN1, gen 388 drivers/memory/mtk-smi.c .gen = MTK_SMI_GEN2, gen 392 drivers/memory/mtk-smi.c .gen = MTK_SMI_GEN2, gen 455 drivers/memory/mtk-smi.c if (common->plat->gen == MTK_SMI_GEN1) { gen 497 drivers/memory/mtk-smi.c if (common->plat->gen == MTK_SMI_GEN2 && bus_sel) gen 427 drivers/misc/sgi-gru/grukservices.c struct gru_control_block_status *gen = (void *)cb; gen 430 drivers/misc/sgi-gru/grukservices.c if (ret > 0 && gen->istatus == CBS_EXCEPTION) { gen 435 drivers/misc/sgi-gru/grukservices.c gen, excdet.opc, excdet.exopc, excdet.ecause, gen 443 drivers/misc/sgi-gru/grukservices.c static int gru_wait_idle_or_exception(struct gru_control_block_status *gen) gen 445 drivers/misc/sgi-gru/grukservices.c while (gen->istatus >= CBS_ACTIVE) { gen 449 drivers/misc/sgi-gru/grukservices.c return gen->istatus; gen 454 drivers/misc/sgi-gru/grukservices.c struct gru_control_block_status *gen = (void *)cb; gen 459 drivers/misc/sgi-gru/grukservices.c if (gru_wait_idle_or_exception(gen) == CBS_IDLE) gen 469 drivers/misc/sgi-gru/grukservices.c gen->icmd = 1; gen 470 drivers/misc/sgi-gru/grukservices.c gru_flush_cache(gen); gen 477 drivers/misc/sgi-gru/grukservices.c struct gru_control_block_status *gen = (void *)cb; gen 480 drivers/misc/sgi-gru/grukservices.c ret = gen->istatus; gen 490 drivers/misc/sgi-gru/grukservices.c struct gru_control_block_status *gen = (void *)cb; gen 493 drivers/misc/sgi-gru/grukservices.c ret = gru_wait_idle_or_exception(gen); gen 1050 drivers/misc/sgi-gru/grukservices.c struct gru_control_block_status *gen; gen 1091 drivers/misc/sgi-gru/grukservices.c gen = cb; gen 1092 drivers/misc/sgi-gru/grukservices.c gen->istatus = CBS_CALL_OS; /* don't handle this CBR again */ gen 1580 drivers/mmc/host/sdhci-pci-core.c enum amd_chipset_gen gen; gen 1585 drivers/mmc/host/sdhci-pci-core.c gen = AMD_CHIPSET_BEFORE_ML; gen 1591 drivers/mmc/host/sdhci-pci-core.c gen = AMD_CHIPSET_CZ; gen 1593 drivers/mmc/host/sdhci-pci-core.c gen = AMD_CHIPSET_NL; gen 1595 drivers/mmc/host/sdhci-pci-core.c gen = AMD_CHIPSET_UNKNOWN; gen 1599 drivers/mmc/host/sdhci-pci-core.c if (gen == AMD_CHIPSET_BEFORE_ML || gen == AMD_CHIPSET_CZ) gen 1110 drivers/net/ethernet/broadcom/cnic.c uinfo->mem[1].addr = (unsigned long) cp->status_blk.gen & gen 3031 drivers/net/ethernet/broadcom/cnic.c prefetch(cp->status_blk.gen); gen 4482 drivers/net/ethernet/broadcom/cnic.c struct status_block *sblk = cp->status_blk.gen; gen 4540 drivers/net/ethernet/broadcom/cnic.c struct status_block *s_blk = cp->status_blk.gen; gen 4605 drivers/net/ethernet/broadcom/cnic.c struct status_block *s_blk = cp->status_blk.gen; gen 4713 drivers/net/ethernet/broadcom/cnic.c struct status_block *sblk = cp->status_blk.gen; gen 5062 drivers/net/ethernet/broadcom/cnic.c struct host_hc_status_block_e2 *sb = cp->status_blk.gen; gen 5069 drivers/net/ethernet/broadcom/cnic.c struct host_hc_status_block_e1x *sb = cp->status_blk.gen; gen 5078 drivers/net/ethernet/broadcom/cnic.c struct host_hc_status_block_e2 *sb = cp->status_blk.gen; gen 5329 drivers/net/ethernet/broadcom/cnic.c cp->status_blk.gen = ethdev->irq_arr[0].status_blk; gen 256 drivers/net/ethernet/broadcom/cnic.h void *gen; gen 1141 drivers/net/ethernet/chelsio/cxgb/sge.c unsigned int len, unsigned int gen, gen 1148 drivers/net/ethernet/chelsio/cxgb/sge.c e->len_gen = V_CMD_LEN(len) | V_CMD_GEN1(gen); gen 1149 drivers/net/ethernet/chelsio/cxgb/sge.c e->flags = F_CMD_DATAVALID | V_CMD_EOP(eop) | V_CMD_GEN2(gen); gen 1161 drivers/net/ethernet/chelsio/cxgb/sge.c unsigned int *gen, gen 1174 drivers/net/ethernet/chelsio/cxgb/sge.c *gen, nfrags == 0 && *desc_len == 0); gen 1183 drivers/net/ethernet/chelsio/cxgb/sge.c *gen ^= 1; gen 1200 drivers/net/ethernet/chelsio/cxgb/sge.c unsigned int pidx, unsigned int gen, gen 1220 drivers/net/ethernet/chelsio/cxgb/sge.c V_CMD_GEN2(gen); gen 1225 drivers/net/ethernet/chelsio/cxgb/sge.c e->len_gen = V_CMD_LEN(first_desc_len) | V_CMD_GEN1(gen); gen 1237 drivers/net/ethernet/chelsio/cxgb/sge.c gen ^= 1; gen 1241 drivers/net/ethernet/chelsio/cxgb/sge.c pidx = write_large_page_tx_descs(pidx, &e1, &ce, &gen, gen 1246 drivers/net/ethernet/chelsio/cxgb/sge.c write_tx_desc(e1, desc_mapping, desc_len, gen, gen 1260 drivers/net/ethernet/chelsio/cxgb/sge.c gen ^= 1; gen 1270 drivers/net/ethernet/chelsio/cxgb/sge.c pidx = write_large_page_tx_descs(pidx, &e1, &ce, &gen, gen 1274 drivers/net/ethernet/chelsio/cxgb/sge.c write_tx_desc(e1, desc_mapping, desc_len, gen, gen 109 drivers/net/ethernet/chelsio/cxgb3/adapter.h unsigned int gen; /* free list generation */ gen 134 drivers/net/ethernet/chelsio/cxgb3/adapter.h unsigned int gen; /* current generation bit */ gen 173 drivers/net/ethernet/chelsio/cxgb3/adapter.h unsigned int gen; /* current value of generation bit */ gen 738 drivers/net/ethernet/chelsio/cxgb3/common.h unsigned int size, unsigned int token, int gen, gen 742 drivers/net/ethernet/chelsio/cxgb3/common.h unsigned int esize, unsigned int cong_thres, int gen, gen 746 drivers/net/ethernet/chelsio/cxgb3/common.h unsigned int fl_thres, int gen, unsigned int cidx); gen 413 drivers/net/ethernet/chelsio/cxgb3/sge.c unsigned int gen, struct pci_dev *pdev) gen 426 drivers/net/ethernet/chelsio/cxgb3/sge.c d->len_gen = cpu_to_be32(V_FLD_GEN1(gen)); gen 427 drivers/net/ethernet/chelsio/cxgb3/sge.c d->gen2 = cpu_to_be32(V_FLD_GEN2(gen)); gen 432 drivers/net/ethernet/chelsio/cxgb3/sge.c unsigned int gen) gen 437 drivers/net/ethernet/chelsio/cxgb3/sge.c d->len_gen = cpu_to_be32(V_FLD_GEN1(gen)); gen 438 drivers/net/ethernet/chelsio/cxgb3/sge.c d->gen2 = cpu_to_be32(V_FLD_GEN2(gen)); gen 524 drivers/net/ethernet/chelsio/cxgb3/sge.c add_one_rx_chunk(mapping, d, q->gen); gen 538 drivers/net/ethernet/chelsio/cxgb3/sge.c q->gen, adap->pdev); gen 549 drivers/net/ethernet/chelsio/cxgb3/sge.c q->gen ^= 1; gen 588 drivers/net/ethernet/chelsio/cxgb3/sge.c to->len_gen = cpu_to_be32(V_FLD_GEN1(q->gen)); gen 589 drivers/net/ethernet/chelsio/cxgb3/sge.c to->gen2 = cpu_to_be32(V_FLD_GEN2(q->gen)); gen 593 drivers/net/ethernet/chelsio/cxgb3/sge.c q->gen ^= 1; gen 1065 drivers/net/ethernet/chelsio/cxgb3/sge.c static inline void wr_gen2(struct tx_desc *d, unsigned int gen) gen 1068 drivers/net/ethernet/chelsio/cxgb3/sge.c d->flit[TX_DESC_FLITS - 1] = cpu_to_be64(gen); gen 1096 drivers/net/ethernet/chelsio/cxgb3/sge.c unsigned int gen, __be32 wr_hi, gen 1115 drivers/net/ethernet/chelsio/cxgb3/sge.c V_WR_GEN(gen)) | wr_lo; gen 1116 drivers/net/ethernet/chelsio/cxgb3/sge.c wr_gen2(d, gen); gen 1118 drivers/net/ethernet/chelsio/cxgb3/sge.c unsigned int ogen = gen; gen 1142 drivers/net/ethernet/chelsio/cxgb3/sge.c gen ^= 1; gen 1153 drivers/net/ethernet/chelsio/cxgb3/sge.c V_WR_GEN(gen)) | wr_lo; gen 1154 drivers/net/ethernet/chelsio/cxgb3/sge.c wr_gen2(d, gen); gen 1181 drivers/net/ethernet/chelsio/cxgb3/sge.c unsigned int pidx, unsigned int gen, gen 1230 drivers/net/ethernet/chelsio/cxgb3/sge.c cpl->wr.wr_lo = htonl(V_WR_LEN(flits) | V_WR_GEN(gen) | gen 1232 drivers/net/ethernet/chelsio/cxgb3/sge.c wr_gen2(d, gen); gen 1243 drivers/net/ethernet/chelsio/cxgb3/sge.c write_wr_hdr_sgl(ndesc, skb, d, pidx, q, sgl, flits, sgl_flits, gen, gen 1266 drivers/net/ethernet/chelsio/cxgb3/sge.c unsigned int ndesc, pidx, credits, gen, compl; gen 1320 drivers/net/ethernet/chelsio/cxgb3/sge.c gen = q->gen; gen 1328 drivers/net/ethernet/chelsio/cxgb3/sge.c q->gen ^= 1; gen 1366 drivers/net/ethernet/chelsio/cxgb3/sge.c write_tx_pkt_wr(adap, skb, pi, pidx, gen, q, ndesc, compl, addr); gen 1384 drivers/net/ethernet/chelsio/cxgb3/sge.c unsigned int len, unsigned int gen) gen 1397 drivers/net/ethernet/chelsio/cxgb3/sge.c to->wr_lo = from->wr_lo | htonl(V_WR_GEN(gen) | gen 1399 drivers/net/ethernet/chelsio/cxgb3/sge.c wr_gen2(d, gen); gen 1503 drivers/net/ethernet/chelsio/cxgb3/sge.c write_imm(&q->desc[q->pidx], skb, skb->len, q->gen); gen 1508 drivers/net/ethernet/chelsio/cxgb3/sge.c q->gen ^= 1; gen 1535 drivers/net/ethernet/chelsio/cxgb3/sge.c write_imm(&q->desc[q->pidx], skb, skb->len, q->gen); gen 1539 drivers/net/ethernet/chelsio/cxgb3/sge.c q->gen ^= 1; gen 1631 drivers/net/ethernet/chelsio/cxgb3/sge.c unsigned int gen, unsigned int ndesc, gen 1641 drivers/net/ethernet/chelsio/cxgb3/sge.c write_imm(d, skb, skb->len, gen); gen 1662 drivers/net/ethernet/chelsio/cxgb3/sge.c gen, from->wr_hi, from->wr_lo); gen 1698 drivers/net/ethernet/chelsio/cxgb3/sge.c unsigned int ndesc = calc_tx_descs_ofld(skb), pidx, gen; gen 1719 drivers/net/ethernet/chelsio/cxgb3/sge.c gen = q->gen; gen 1725 drivers/net/ethernet/chelsio/cxgb3/sge.c q->gen ^= 1; gen 1729 drivers/net/ethernet/chelsio/cxgb3/sge.c write_ofld_wr(adap, skb, q, pidx, gen, ndesc, (dma_addr_t *)skb->head); gen 1753 drivers/net/ethernet/chelsio/cxgb3/sge.c unsigned int gen, pidx; gen 1771 drivers/net/ethernet/chelsio/cxgb3/sge.c gen = q->gen; gen 1778 drivers/net/ethernet/chelsio/cxgb3/sge.c q->gen ^= 1; gen 1783 drivers/net/ethernet/chelsio/cxgb3/sge.c write_ofld_wr(adap, skb, q, pidx, gen, ndesc, gen 2287 drivers/net/ethernet/chelsio/cxgb3/sge.c return (r->intr_gen & F_RSPD_GEN2) == q->gen; gen 2415 drivers/net/ethernet/chelsio/cxgb3/sge.c q->gen ^= 1; gen 2539 drivers/net/ethernet/chelsio/cxgb3/sge.c q->gen ^= 1; gen 3081 drivers/net/ethernet/chelsio/cxgb3/sge.c q->txq[i].gen = 1; gen 3092 drivers/net/ethernet/chelsio/cxgb3/sge.c q->fl[0].gen = q->fl[1].gen = 1; gen 3096 drivers/net/ethernet/chelsio/cxgb3/sge.c q->rspq.gen = 1; gen 2243 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c unsigned int size, unsigned int token, int gen, gen 2263 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c V_EC_TYPE(type) | V_EC_GEN(gen) | V_EC_UP_TOKEN(token) | gen 2286 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c unsigned int bsize, unsigned int cong_thres, int gen, gen 2301 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c V_FL_GEN(gen) | V_FL_INDEX_HI(cidx >> 12) | gen 2326 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c unsigned int fl_thres, int gen, unsigned int cidx) gen 2343 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c V_CQ_BASE_HI((u32) base_addr) | intr | V_RQ_GEN(gen)); gen 678 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h u8 gen; /* current generation bit */ gen 2731 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c R("RspQ Gen:", rspq.gen); gen 2795 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c R("RspQ Gen:", rspq.gen); gen 2825 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c R("RspQ Gen:", rspq.gen); gen 2845 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c R("RspQ Gen:", rspq.gen); gen 2871 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c R("RspQ Gen:", rspq.gen); gen 2897 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c R("RspQ Gen:", rspq.gen); gen 2931 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c R("RspQ Gen:", rspq.gen); gen 2971 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c seq_printf(seq, "%-12s %16u\n", "RspQ Gen:", evtq->gen); gen 3102 drivers/net/ethernet/chelsio/cxgb4/sge.c return (r->type_gen >> RSPD_GEN_S) == q->gen; gen 3116 drivers/net/ethernet/chelsio/cxgb4/sge.c q->gen ^= 1; gen 3611 drivers/net/ethernet/chelsio/cxgb4/sge.c iq->gen = 1; gen 169 drivers/net/ethernet/chelsio/cxgb4vf/adapter.h u8 gen; /* current generation bit */ gen 2100 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c R("RspQ Gen:", rspq.gen); gen 2120 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c seq_printf(seq, "%-12s %16u\n", "RspQ Gen:", evtq->gen); gen 2131 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c seq_printf(seq, "%-12s %16u\n", "RspQ Gen:", intrq->gen); gen 2267 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c seq_printf(seq, "%-16s %8u\n", "RspQ Gen:", evtq->gen); gen 2275 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c seq_printf(seq, "%-16s %8u\n", "RspQ Gen:", intrq->gen); gen 1688 drivers/net/ethernet/chelsio/cxgb4vf/sge.c return ((rc->type_gen >> RSPD_GEN_S) & 0x1) == rspq->gen; gen 1739 drivers/net/ethernet/chelsio/cxgb4vf/sge.c rspq->gen ^= 1; gen 2345 drivers/net/ethernet/chelsio/cxgb4vf/sge.c rspq->gen = 1; gen 895 drivers/net/ethernet/intel/i40e/i40e.h u8 gen, snap; gen 898 drivers/net/ethernet/intel/i40e/i40e.h gen = (u8)(full_ver >> I40E_OEM_GEN_SHIFT); gen 903 drivers/net/ethernet/intel/i40e/i40e.h snprintf(buf, sizeof(buf), "%x.%x.%x", gen, snap, release); gen 2079 drivers/net/fddi/defxx.c bp->stats.gen.rx_packets = bp->rcv_total_frames; gen 2080 drivers/net/fddi/defxx.c bp->stats.gen.tx_packets = bp->xmt_total_frames; gen 2081 drivers/net/fddi/defxx.c bp->stats.gen.rx_bytes = bp->rcv_total_bytes; gen 2082 drivers/net/fddi/defxx.c bp->stats.gen.tx_bytes = bp->xmt_total_bytes; gen 2083 drivers/net/fddi/defxx.c bp->stats.gen.rx_errors = bp->rcv_crc_errors + gen 2086 drivers/net/fddi/defxx.c bp->stats.gen.tx_errors = bp->xmt_length_errors; gen 2087 drivers/net/fddi/defxx.c bp->stats.gen.rx_dropped = bp->rcv_discards; gen 2088 drivers/net/fddi/defxx.c bp->stats.gen.tx_dropped = bp->xmt_discards; gen 2089 drivers/net/fddi/defxx.c bp->stats.gen.multicast = bp->rcv_multicast_frames; gen 2090 drivers/net/fddi/defxx.c bp->stats.gen.collisions = 0; /* always zero (0) for FDDI */ gen 1055 drivers/net/fddi/skfp/skfddi.c bp->MacStat.gen.tx_errors++; /* bump error counter */ gen 1505 drivers/net/fddi/skfp/skfddi.c smc->os.MacStat.gen.tx_packets++; // Count transmitted packets. gen 1506 drivers/net/fddi/skfp/skfddi.c smc->os.MacStat.gen.tx_bytes+=skb->len; // Count bytes gen 1588 drivers/net/fddi/skfp/skfddi.c smc->os.MacStat.gen.rx_errors++; gen 1641 drivers/net/fddi/skfp/skfddi.c smc->os.MacStat.gen.rx_packets++; // Count indicated receive gen 1643 drivers/net/fddi/skfp/skfddi.c smc->os.MacStat.gen.rx_bytes+=len; // Count bytes. gen 1648 drivers/net/fddi/skfp/skfddi.c smc->os.MacStat.gen.multicast++; gen 1664 drivers/net/fddi/skfp/skfddi.c smc->os.MacStat.gen.rx_errors++; // Count receive packets gen 2039 drivers/net/fddi/skfp/skfddi.c smc->os.MacStat.gen.rx_errors++; gen 127 drivers/net/vmxnet3/vmxnet3_defs.h u32 gen:1; /* generation bit */ gen 131 drivers/net/vmxnet3/vmxnet3_defs.h u32 gen:1; /* generation bit */ gen 197 drivers/net/vmxnet3/vmxnet3_defs.h u32 gen:1; /* generation bit */ gen 204 drivers/net/vmxnet3/vmxnet3_defs.h u32 gen:1; /* Generation bit */ gen 214 drivers/net/vmxnet3/vmxnet3_defs.h u32 gen:1; /* Generation bit */ gen 264 drivers/net/vmxnet3/vmxnet3_defs.h u32 gen:1; /* generation bit */ gen 286 drivers/net/vmxnet3/vmxnet3_defs.h u32 gen:1; /* generation bit */ gen 297 drivers/net/vmxnet3/vmxnet3_defs.h u32 gen:1; /* generation bit */ gen 319 drivers/net/vmxnet3/vmxnet3_defs.h u32 gen:1; /* generation bit */ gen 732 drivers/net/vmxnet3/vmxnet3_defs.h #define VMXNET3_FLIP_RING_GEN(gen) ((gen) = (gen) ^ 0x1) gen 301 drivers/net/vmxnet3/vmxnet3_drv.c # define VMXNET3_TXDESC_GET_GEN(txdesc) ((txdesc)->gen) gen 303 drivers/net/vmxnet3/vmxnet3_drv.c # define VMXNET3_TCD_GET_GEN(tcd) ((tcd)->gen) gen 371 drivers/net/vmxnet3/vmxnet3_drv.c while (VMXNET3_TCD_GET_GEN(&gdesc->tcd) == tq->comp_ring.gen) { gen 424 drivers/net/vmxnet3/vmxnet3_drv.c tq->tx_ring.gen = VMXNET3_INIT_GEN; gen 427 drivers/net/vmxnet3/vmxnet3_drv.c tq->comp_ring.gen = VMXNET3_INIT_GEN; gen 484 drivers/net/vmxnet3/vmxnet3_drv.c tq->tx_ring.gen = VMXNET3_INIT_GEN; gen 493 drivers/net/vmxnet3/vmxnet3_drv.c tq->comp_ring.gen = VMXNET3_INIT_GEN; gen 632 drivers/net/vmxnet3/vmxnet3_drv.c gd->dword[2] = cpu_to_le32((!ring->gen << VMXNET3_RXD_GEN_SHIFT) gen 640 drivers/net/vmxnet3/vmxnet3_drv.c gd->dword[2] |= cpu_to_le32(ring->gen << VMXNET3_RXD_GEN_SHIFT); gen 687 drivers/net/vmxnet3/vmxnet3_drv.c dw2 = (tq->tx_ring.gen ^ 0x1) << VMXNET3_TXD_GEN_SHIFT; gen 711 drivers/net/vmxnet3/vmxnet3_drv.c dw2 = tq->tx_ring.gen << VMXNET3_TXD_GEN_SHIFT; gen 739 drivers/net/vmxnet3/vmxnet3_drv.c BUG_ON(gdesc->txd.gen == tq->tx_ring.gen); gen 750 drivers/net/vmxnet3/vmxnet3_drv.c dw2 = tq->tx_ring.gen << VMXNET3_TXD_GEN_SHIFT; gen 781 drivers/net/vmxnet3/vmxnet3_drv.c BUG_ON(gdesc->txd.gen == tq->tx_ring.gen); gen 792 drivers/net/vmxnet3/vmxnet3_drv.c dw2 = tq->tx_ring.gen << VMXNET3_TXD_GEN_SHIFT; gen 1295 drivers/net/vmxnet3/vmxnet3_drv.c while (rcd->gen == rq->comp_ring.gen) { gen 1558 drivers/net/vmxnet3/vmxnet3_drv.c rxd->gen = ring->gen; gen 1609 drivers/net/vmxnet3/vmxnet3_drv.c rq->rx_ring[ring_idx].gen = VMXNET3_INIT_GEN; gen 1614 drivers/net/vmxnet3/vmxnet3_drv.c rq->comp_ring.gen = VMXNET3_INIT_GEN; gen 1727 drivers/net/vmxnet3/vmxnet3_drv.c rq->rx_ring[i].gen = VMXNET3_INIT_GEN; gen 1740 drivers/net/vmxnet3/vmxnet3_drv.c rq->comp_ring.gen = VMXNET3_INIT_GEN; gen 402 drivers/net/vmxnet3/vmxnet3_ethtool.c buf[j++] = tq->tx_ring.gen; gen 413 drivers/net/vmxnet3/vmxnet3_ethtool.c buf[j++] = tq->comp_ring.gen; gen 432 drivers/net/vmxnet3/vmxnet3_ethtool.c buf[j++] = rq->rx_ring[0].gen; gen 439 drivers/net/vmxnet3/vmxnet3_ethtool.c buf[j++] = rq->rx_ring[1].gen; gen 450 drivers/net/vmxnet3/vmxnet3_ethtool.c buf[j++] = rq->comp_ring.gen; gen 134 drivers/net/vmxnet3/vmxnet3_int.h u8 gen; gen 144 drivers/net/vmxnet3/vmxnet3_int.h VMXNET3_FLIP_RING_GEN(ring->gen); gen 165 drivers/net/vmxnet3/vmxnet3_int.h u8 gen; gen 176 drivers/net/vmxnet3/vmxnet3_int.h VMXNET3_FLIP_RING_GEN(ring->gen); gen 99 drivers/phy/marvell/phy-armada38x-comphy.c unsigned int gen; gen 107 drivers/phy/marvell/phy-armada38x-comphy.c gen = GEN_SGMII_1_25GBPS; gen 111 drivers/phy/marvell/phy-armada38x-comphy.c gen = GEN_SGMII_3_125GBPS; gen 118 drivers/phy/marvell/phy-armada38x-comphy.c a38x_comphy_set_speed(lane, gen, gen); gen 435 drivers/phy/st/phy-miphy28lp.c struct miphy28lp_pll_gen *gen = &sata_pll_gen[i]; gen 438 drivers/phy/st/phy-miphy28lp.c writeb_relaxed(gen->bank, base + MIPHY_CONF); gen 439 drivers/phy/st/phy-miphy28lp.c writeb_relaxed(gen->speed, base + MIPHY_SPEED); gen 440 drivers/phy/st/phy-miphy28lp.c writeb_relaxed(gen->bias_boost_1, base + MIPHY_BIAS_BOOST_1); gen 441 drivers/phy/st/phy-miphy28lp.c writeb_relaxed(gen->bias_boost_2, base + MIPHY_BIAS_BOOST_2); gen 444 drivers/phy/st/phy-miphy28lp.c writeb_relaxed(gen->tx_ctrl_2, base + MIPHY_TX_CTRL_2); gen 445 drivers/phy/st/phy-miphy28lp.c writeb_relaxed(gen->tx_ctrl_3, base + MIPHY_TX_CTRL_3); gen 448 drivers/phy/st/phy-miphy28lp.c writeb_relaxed(gen->rx_buff_ctrl, base + MIPHY_RX_BUFFER_CTRL); gen 449 drivers/phy/st/phy-miphy28lp.c writeb_relaxed(gen->rx_vga_gain, base + MIPHY_RX_VGA_GAIN); gen 450 drivers/phy/st/phy-miphy28lp.c writeb_relaxed(gen->rx_equ_gain_1, base + MIPHY_RX_EQU_GAIN_1); gen 451 drivers/phy/st/phy-miphy28lp.c writeb_relaxed(gen->rx_equ_gain_2, base + MIPHY_RX_EQU_GAIN_2); gen 452 drivers/phy/st/phy-miphy28lp.c writeb_relaxed(gen->rx_equ_gain_3, base + MIPHY_RX_EQU_GAIN_3); gen 462 drivers/phy/st/phy-miphy28lp.c struct miphy28lp_pll_gen *gen = &pcie_pll_gen[i]; gen 465 drivers/phy/st/phy-miphy28lp.c writeb_relaxed(gen->bank, base + MIPHY_CONF); gen 466 drivers/phy/st/phy-miphy28lp.c writeb_relaxed(gen->speed, base + MIPHY_SPEED); gen 467 drivers/phy/st/phy-miphy28lp.c writeb_relaxed(gen->bias_boost_1, base + MIPHY_BIAS_BOOST_1); gen 468 drivers/phy/st/phy-miphy28lp.c writeb_relaxed(gen->bias_boost_2, base + MIPHY_BIAS_BOOST_2); gen 471 drivers/phy/st/phy-miphy28lp.c writeb_relaxed(gen->tx_ctrl_1, base + MIPHY_TX_CTRL_1); gen 472 drivers/phy/st/phy-miphy28lp.c writeb_relaxed(gen->tx_ctrl_2, base + MIPHY_TX_CTRL_2); gen 473 drivers/phy/st/phy-miphy28lp.c writeb_relaxed(gen->tx_ctrl_3, base + MIPHY_TX_CTRL_3); gen 475 drivers/phy/st/phy-miphy28lp.c writeb_relaxed(gen->rx_k_gain, base + MIPHY_RX_K_GAIN); gen 478 drivers/phy/st/phy-miphy28lp.c writeb_relaxed(gen->rx_buff_ctrl, base + MIPHY_RX_BUFFER_CTRL); gen 479 drivers/phy/st/phy-miphy28lp.c writeb_relaxed(gen->rx_vga_gain, base + MIPHY_RX_VGA_GAIN); gen 480 drivers/phy/st/phy-miphy28lp.c writeb_relaxed(gen->rx_equ_gain_1, base + MIPHY_RX_EQU_GAIN_1); gen 481 drivers/phy/st/phy-miphy28lp.c writeb_relaxed(gen->rx_equ_gain_2, base + MIPHY_RX_EQU_GAIN_2); gen 3550 drivers/scsi/gdth.c static void gdth_ioc_cacheservice(gdth_ha_str *ha, gdth_ioctl_general *gen, gen 3555 drivers/scsi/gdth.c gen->command.u.cache64.BlockCnt = gen->command.u.cache.BlockCnt; gen 3556 drivers/scsi/gdth.c gen->command.u.cache64.BlockNo = gen->command.u.cache.BlockNo; gen 3557 drivers/scsi/gdth.c gen->command.u.cache64.DeviceNo = gen->command.u.cache.DeviceNo; gen 3560 drivers/scsi/gdth.c gen->command.u.cache64.DestAddr = (u64)-1; gen 3561 drivers/scsi/gdth.c gen->command.u.cache64.sg_canz = 1; gen 3562 drivers/scsi/gdth.c gen->command.u.cache64.sg_lst[0].sg_ptr = paddr; gen 3563 drivers/scsi/gdth.c gen->command.u.cache64.sg_lst[0].sg_len = gen->data_len; gen 3564 drivers/scsi/gdth.c gen->command.u.cache64.sg_lst[1].sg_len = 0; gen 3566 drivers/scsi/gdth.c gen->command.u.cache64.DestAddr = paddr; gen 3567 drivers/scsi/gdth.c gen->command.u.cache64.sg_canz = 0; gen 3571 drivers/scsi/gdth.c gen->command.u.cache.DestAddr = 0xffffffff; gen 3572 drivers/scsi/gdth.c gen->command.u.cache.sg_canz = 1; gen 3573 drivers/scsi/gdth.c gen->command.u.cache.sg_lst[0].sg_ptr = (u32)paddr; gen 3574 drivers/scsi/gdth.c gen->command.u.cache.sg_lst[0].sg_len = gen->data_len; gen 3575 drivers/scsi/gdth.c gen->command.u.cache.sg_lst[1].sg_len = 0; gen 3577 drivers/scsi/gdth.c gen->command.u.cache.DestAddr = paddr; gen 3578 drivers/scsi/gdth.c gen->command.u.cache.sg_canz = 0; gen 3583 drivers/scsi/gdth.c static void gdth_ioc_scsiraw(gdth_ha_str *ha, gdth_ioctl_general *gen, gen 3590 drivers/scsi/gdth.c gen->command.u.raw64.sense_len = gen->command.u.raw.sense_len; gen 3591 drivers/scsi/gdth.c gen->command.u.raw64.bus = gen->command.u.raw.bus; gen 3592 drivers/scsi/gdth.c gen->command.u.raw64.lun = gen->command.u.raw.lun; gen 3593 drivers/scsi/gdth.c gen->command.u.raw64.target = gen->command.u.raw.target; gen 3594 drivers/scsi/gdth.c memcpy(cmd, gen->command.u.raw.cmd, 16); gen 3595 drivers/scsi/gdth.c memcpy(gen->command.u.raw64.cmd, cmd, 16); gen 3596 drivers/scsi/gdth.c gen->command.u.raw64.clen = gen->command.u.raw.clen; gen 3597 drivers/scsi/gdth.c gen->command.u.raw64.sdlen = gen->command.u.raw.sdlen; gen 3598 drivers/scsi/gdth.c gen->command.u.raw64.direction = gen->command.u.raw.direction; gen 3602 drivers/scsi/gdth.c gen->command.u.raw64.sdata = (u64)-1; gen 3603 drivers/scsi/gdth.c gen->command.u.raw64.sg_ranz = 1; gen 3604 drivers/scsi/gdth.c gen->command.u.raw64.sg_lst[0].sg_ptr = paddr; gen 3605 drivers/scsi/gdth.c gen->command.u.raw64.sg_lst[0].sg_len = gen->data_len; gen 3606 drivers/scsi/gdth.c gen->command.u.raw64.sg_lst[1].sg_len = 0; gen 3608 drivers/scsi/gdth.c gen->command.u.raw64.sdata = paddr; gen 3609 drivers/scsi/gdth.c gen->command.u.raw64.sg_ranz = 0; gen 3612 drivers/scsi/gdth.c gen->command.u.raw64.sense_data = paddr + gen->data_len; gen 3615 drivers/scsi/gdth.c gen->command.u.raw.sdata = 0xffffffff; gen 3616 drivers/scsi/gdth.c gen->command.u.raw.sg_ranz = 1; gen 3617 drivers/scsi/gdth.c gen->command.u.raw.sg_lst[0].sg_ptr = (u32)paddr; gen 3618 drivers/scsi/gdth.c gen->command.u.raw.sg_lst[0].sg_len = gen->data_len; gen 3619 drivers/scsi/gdth.c gen->command.u.raw.sg_lst[1].sg_len = 0; gen 3621 drivers/scsi/gdth.c gen->command.u.raw.sdata = paddr; gen 3622 drivers/scsi/gdth.c gen->command.u.raw.sg_ranz = 0; gen 3625 drivers/scsi/gdth.c gen->command.u.raw.sense_data = (u32)paddr + gen->data_len; gen 3631 drivers/scsi/gdth.c gdth_ioctl_general gen; gen 3637 drivers/scsi/gdth.c if (copy_from_user(&gen, arg, sizeof(gdth_ioctl_general))) gen 3639 drivers/scsi/gdth.c ha = gdth_find_ha(gen.ionode); gen 3643 drivers/scsi/gdth.c if (gen.data_len > INT_MAX) gen 3645 drivers/scsi/gdth.c if (gen.sense_len > INT_MAX) gen 3647 drivers/scsi/gdth.c if (gen.data_len + gen.sense_len > INT_MAX) gen 3650 drivers/scsi/gdth.c if (gen.data_len + gen.sense_len > 0) { gen 3652 drivers/scsi/gdth.c gen.data_len + gen.sense_len, &paddr, gen 3659 drivers/scsi/gdth.c gen.data_len + gen.sense_len)) gen 3662 drivers/scsi/gdth.c if (gen.command.OpCode == GDT_IOCTL) gen 3663 drivers/scsi/gdth.c gen.command.u.ioctl.p_param = paddr; gen 3664 drivers/scsi/gdth.c else if (gen.command.Service == CACHESERVICE) gen 3665 drivers/scsi/gdth.c gdth_ioc_cacheservice(ha, &gen, paddr); gen 3666 drivers/scsi/gdth.c else if (gen.command.Service == SCSIRAWSERVICE) gen 3667 drivers/scsi/gdth.c gdth_ioc_scsiraw(ha, &gen, paddr); gen 3672 drivers/scsi/gdth.c rval = __gdth_execute(ha->sdev, &gen.command, cmnd, gen.timeout, gen 3673 drivers/scsi/gdth.c &gen.info); gen 3676 drivers/scsi/gdth.c gen.status = rval; gen 3680 drivers/scsi/gdth.c gen.data_len + gen.sense_len)) gen 3682 drivers/scsi/gdth.c if (copy_to_user(arg, &gen, gen 3689 drivers/scsi/gdth.c dma_free_coherent(&ha->pdev->dev, gen.data_len + gen.sense_len, gen 453 drivers/scsi/libfc/fc_lport.c struct fc_els_rnid_gen gen; gen 475 drivers/scsi/libfc/fc_lport.c len -= sizeof(rp->gen); gen 487 drivers/scsi/libfc/fc_lport.c rp->rnid.rnid_sid_len = sizeof(rp->gen); gen 488 drivers/scsi/libfc/fc_lport.c memcpy(&rp->gen, &lport->rnid_gen, gen 489 drivers/scsi/libfc/fc_lport.c sizeof(rp->gen)); gen 7841 drivers/scsi/ncr53c8xx.c static unsigned __init ncrgetfreq (struct ncb *np, int gen) gen 7868 drivers/scsi/ncr53c8xx.c OUTB (nc_stime1, gen); /* set to nominal delay of 1<<gen * 125us */ gen 7882 drivers/scsi/ncr53c8xx.c printk ("%s: Delay (GEN=%d): %u msec\n", ncr_name(np), gen, ms); gen 7886 drivers/scsi/ncr53c8xx.c return ms ? ((1 << gen) * 4340) / ms : 0; gen 289 drivers/scsi/sym53c8xx_2/sym_hipd.c static unsigned getfreq (struct sym_hcb *np, int gen) gen 324 drivers/scsi/sym53c8xx_2/sym_hipd.c OUTB(np, nc_stime1, gen); /* set to nominal delay of 1<<gen * 125us */ gen 345 drivers/scsi/sym53c8xx_2/sym_hipd.c f = ms ? ((1 << gen) * (4340*4)) / ms : 0; gen 356 drivers/scsi/sym53c8xx_2/sym_hipd.c sym_name(np), gen, ms/4, f); gen 364 drivers/scsi/sym53c8xx_2/sym_hipd.c int gen = 8; gen 366 drivers/scsi/sym53c8xx_2/sym_hipd.c getfreq (np, gen); /* throw away first result */ gen 367 drivers/scsi/sym53c8xx_2/sym_hipd.c f1 = getfreq (np, gen); gen 368 drivers/scsi/sym53c8xx_2/sym_hipd.c f2 = getfreq (np, gen); gen 951 drivers/thunderbolt/xdomain.c u32 gen = 0; gen 956 drivers/thunderbolt/xdomain.c &block, &gen); gen 975 drivers/thunderbolt/xdomain.c if (xd->properties && gen <= xd->property_block_gen) { gen 1005 drivers/thunderbolt/xdomain.c xd->property_block_gen = gen; gen 124 drivers/usb/host/pci-quirks.c enum amd_chipset_gen gen; gen 151 drivers/usb/host/pci-quirks.c pinfo->sb_type.gen = AMD_CHIPSET_UNKNOWN; gen 158 drivers/usb/host/pci-quirks.c pinfo->sb_type.gen = AMD_CHIPSET_SB600; gen 160 drivers/usb/host/pci-quirks.c pinfo->sb_type.gen = AMD_CHIPSET_SB700; gen 162 drivers/usb/host/pci-quirks.c pinfo->sb_type.gen = AMD_CHIPSET_SB800; gen 170 drivers/usb/host/pci-quirks.c pinfo->sb_type.gen = AMD_CHIPSET_HUDSON2; gen 172 drivers/usb/host/pci-quirks.c pinfo->sb_type.gen = AMD_CHIPSET_BOLTON; gen 174 drivers/usb/host/pci-quirks.c pinfo->sb_type.gen = AMD_CHIPSET_YANGTZE; gen 180 drivers/usb/host/pci-quirks.c pinfo->sb_type.gen = AMD_CHIPSET_TAISHAN; gen 182 drivers/usb/host/pci-quirks.c pinfo->sb_type.gen = NOT_AMD_CHIPSET; gen 225 drivers/usb/host/pci-quirks.c switch (info.sb_type.gen) { gen 290 drivers/usb/host/pci-quirks.c if (amd_chipset.sb_type.gen == AMD_CHIPSET_YANGTZE || gen 291 drivers/usb/host/pci-quirks.c amd_chipset.sb_type.gen == AMD_CHIPSET_TAISHAN) { gen 306 drivers/usb/host/pci-quirks.c return amd_chipset.sb_type.gen == AMD_CHIPSET_SB600 || gen 307 drivers/usb/host/pci-quirks.c (amd_chipset.sb_type.gen == AMD_CHIPSET_SB700 && gen 316 drivers/usb/host/pci-quirks.c return amd_chipset.sb_type.gen == AMD_CHIPSET_SB800; gen 359 drivers/usb/host/pci-quirks.c if (amd_chipset.sb_type.gen == AMD_CHIPSET_SB800 || gen 360 drivers/usb/host/pci-quirks.c amd_chipset.sb_type.gen == AMD_CHIPSET_HUDSON2 || gen 361 drivers/usb/host/pci-quirks.c amd_chipset.sb_type.gen == AMD_CHIPSET_BOLTON) { gen 372 drivers/usb/host/pci-quirks.c } else if (amd_chipset.sb_type.gen == AMD_CHIPSET_SB700 && gen 1509 drivers/video/fbdev/core/fbmem.c static bool apertures_overlap(struct aperture *gen, struct aperture *hw) gen 1512 drivers/video/fbdev/core/fbmem.c if (gen->base == hw->base) gen 1515 drivers/video/fbdev/core/fbmem.c if (gen->base > hw->base && gen->base < hw->base + hw->size) gen 1592 fs/btrfs/ctree.c u64 gen; gen 1630 fs/btrfs/ctree.c gen = btrfs_node_ptr_generation(parent, i); gen 1650 fs/btrfs/ctree.c uptodate = btrfs_buffer_uptodate(cur, gen, 0); gen 1655 fs/btrfs/ctree.c cur = read_tree_block(fs_info, blocknr, gen, gen 1665 fs/btrfs/ctree.c err = btrfs_read_buffer(cur, gen, gen 2281 fs/btrfs/ctree.c u64 gen; gen 2294 fs/btrfs/ctree.c gen = btrfs_node_ptr_generation(parent, slot - 1); gen 2301 fs/btrfs/ctree.c if (eb && btrfs_buffer_uptodate(eb, gen, 1) != 0) gen 2307 fs/btrfs/ctree.c gen = btrfs_node_ptr_generation(parent, slot + 1); gen 2309 fs/btrfs/ctree.c if (eb && btrfs_buffer_uptodate(eb, gen, 1) != 0) gen 2418 fs/btrfs/ctree.c u64 gen; gen 2426 fs/btrfs/ctree.c gen = btrfs_node_ptr_generation(b, slot); gen 2433 fs/btrfs/ctree.c if (btrfs_buffer_uptodate(tmp, gen, 1) > 0) { gen 2440 fs/btrfs/ctree.c parent_level - 1, &first_key, gen)) { gen 2457 fs/btrfs/ctree.c ret = btrfs_read_buffer(tmp, gen, parent_level - 1, &first_key); gen 2481 fs/btrfs/ctree.c tmp = read_tree_block(fs_info, blocknr, gen, parent_level - 1, gen 5203 fs/btrfs/ctree.c u64 gen; gen 5205 fs/btrfs/ctree.c gen = btrfs_node_ptr_generation(cur, slot); gen 5206 fs/btrfs/ctree.c if (gen < min_trans) { gen 5322 fs/btrfs/ctree.c u64 gen = btrfs_node_ptr_generation(c, slot); gen 5324 fs/btrfs/ctree.c if (gen < min_trans) { gen 1945 fs/btrfs/disk-io.c u64 gen = btrfs_super_generation(super); gen 1947 fs/btrfs/disk-io.c newest = find_newest_super_backup(info, gen); gen 37 fs/btrfs/export.c fid->gen = inode->i_generation; gen 150 fs/btrfs/export.c generation = fid->gen; gen 13 fs/btrfs/export.h u32 gen; gen 293 fs/btrfs/extent_map.c u64 gen) gen 307 fs/btrfs/extent_map.c em->generation = gen; gen 99 fs/btrfs/extent_map.h int unpin_extent_cache(struct extent_map_tree *tree, u64 start, u64 len, u64 gen); gen 595 fs/btrfs/file.c u64 gen; gen 625 fs/btrfs/file.c gen = em->generation; gen 669 fs/btrfs/file.c split->generation = gen; gen 686 fs/btrfs/file.c split->generation = gen; gen 436 fs/btrfs/free-space-cache.c __le64 *gen; gen 451 fs/btrfs/free-space-cache.c gen = io_ctl->cur; gen 452 fs/btrfs/free-space-cache.c if (le64_to_cpu(*gen) != generation) { gen 455 fs/btrfs/free-space-cache.c *gen, generation); gen 554 fs/btrfs/ref-verify.c u64 block_bytenr, gen; gen 563 fs/btrfs/ref-verify.c gen = btrfs_node_ptr_generation(path->nodes[level], gen 567 fs/btrfs/ref-verify.c eb = read_tree_block(fs_info, block_bytenr, gen, gen 239 fs/btrfs/scrub.c u64 gen, int mirror_num, u8 *csum, int force, gen 2223 fs/btrfs/scrub.c u64 gen, int mirror_num, u8 *csum, int force, gen 2262 fs/btrfs/scrub.c spage->generation = gen; gen 2473 fs/btrfs/scrub.c u64 gen, int mirror_num, u64 physical_for_dev_replace) gen 2512 fs/btrfs/scrub.c ret = scrub_pages(sctx, logical, l, physical, dev, flags, gen, gen 2528 fs/btrfs/scrub.c u64 flags, u64 gen, int mirror_num, u8 *csum) gen 2573 fs/btrfs/scrub.c spage->generation = gen; gen 2612 fs/btrfs/scrub.c u64 flags, u64 gen, int mirror_num) gen 2644 fs/btrfs/scrub.c flags, gen, mirror_num, gen 3715 fs/btrfs/scrub.c u64 gen; gen 3724 fs/btrfs/scrub.c gen = scrub_dev->generation; gen 3726 fs/btrfs/scrub.c gen = fs_info->last_trans_committed; gen 3735 fs/btrfs/scrub.c scrub_dev, BTRFS_EXTENT_FLAG_SUPER, gen, i, gen 227 fs/btrfs/send.c u64 gen; gen 246 fs/btrfs/send.c u64 gen; gen 262 fs/btrfs/send.c u64 gen; gen 825 fs/btrfs/send.c u64 ino, u64 *size, u64 *gen, u64 *mode, u64 *uid, gen 846 fs/btrfs/send.c if (gen) gen 847 fs/btrfs/send.c *gen = btrfs_inode_generation(path->nodes[0], ii); gen 861 fs/btrfs/send.c u64 ino, u64 *size, u64 *gen, gen 871 fs/btrfs/send.c ret = __get_inode_info(root, path, ino, size, gen, mode, uid, gid, gen 1538 fs/btrfs/send.c u64 ino, u64 gen, gen 1554 fs/btrfs/send.c ino, gen, idx); gen 1609 fs/btrfs/send.c static int get_cur_inode_state(struct send_ctx *sctx, u64 ino, u64 gen) gen 1634 fs/btrfs/send.c if (left_gen == gen && right_gen == gen) { gen 1636 fs/btrfs/send.c } else if (left_gen == gen) { gen 1641 fs/btrfs/send.c } else if (right_gen == gen) { gen 1650 fs/btrfs/send.c if (left_gen == gen) { gen 1659 fs/btrfs/send.c if (right_gen == gen) { gen 1675 fs/btrfs/send.c static int is_inode_existent(struct send_ctx *sctx, u64 ino, u64 gen) gen 1682 fs/btrfs/send.c ret = get_cur_inode_state(sctx, ino, gen); gen 1847 fs/btrfs/send.c u64 gen; gen 1864 fs/btrfs/send.c ret = get_inode_info(sctx->parent_root, dir, NULL, &gen, NULL, gen 1872 fs/btrfs/send.c if (gen != dir_gen) gen 1920 fs/btrfs/send.c u64 gen; gen 1932 fs/btrfs/send.c ret = get_inode_info(sctx->send_root, dir, NULL, &gen, NULL, gen 1940 fs/btrfs/send.c if (gen != dir_gen) gen 1955 fs/btrfs/send.c ret = get_inode_info(sctx->send_root, ow_inode, NULL, &gen, NULL, NULL, gen 1960 fs/btrfs/send.c if (ow_inode == ino && gen == ino_gen) { gen 1973 fs/btrfs/send.c gen == sctx->cur_inode_gen)) gen 1987 fs/btrfs/send.c static int did_overwrite_first_ref(struct send_ctx *sctx, u64 ino, u64 gen) gen 2005 fs/btrfs/send.c ret = did_overwrite_ref(sctx, dir, dir_gen, ino, gen, gen 2076 fs/btrfs/send.c u64 ino, u64 gen) gen 2086 fs/btrfs/send.c if (cur->ino == ino && cur->gen == gen) gen 2141 fs/btrfs/send.c u64 ino, u64 gen, gen 2155 fs/btrfs/send.c nce = name_cache_search(sctx, ino, gen); gen 2178 fs/btrfs/send.c ret = is_inode_existent(sctx, ino, gen); gen 2183 fs/btrfs/send.c ret = gen_unique_name(sctx, ino, gen, dest); gen 2207 fs/btrfs/send.c ret = did_overwrite_ref(sctx, *parent_ino, *parent_gen, ino, gen, gen 2213 fs/btrfs/send.c ret = gen_unique_name(sctx, ino, gen, dest); gen 2230 fs/btrfs/send.c nce->gen = gen; gen 2276 fs/btrfs/send.c static int get_cur_path(struct send_ctx *sctx, u64 ino, u64 gen, gen 2300 fs/btrfs/send.c ret = gen_unique_name(sctx, ino, gen, name); gen 2309 fs/btrfs/send.c ret = gen_unique_name(sctx, ino, gen, name); gen 2315 fs/btrfs/send.c ret = __get_cur_name_and_parent(sctx, ino, gen, gen 2330 fs/btrfs/send.c gen = parent_gen; gen 2431 fs/btrfs/send.c static int send_truncate(struct send_ctx *sctx, u64 ino, u64 gen, u64 size) gen 2447 fs/btrfs/send.c ret = get_cur_path(sctx, ino, gen, p); gen 2461 fs/btrfs/send.c static int send_chmod(struct send_ctx *sctx, u64 ino, u64 gen, u64 mode) gen 2477 fs/btrfs/send.c ret = get_cur_path(sctx, ino, gen, p); gen 2491 fs/btrfs/send.c static int send_chown(struct send_ctx *sctx, u64 ino, u64 gen, u64 uid, u64 gid) gen 2508 fs/btrfs/send.c ret = get_cur_path(sctx, ino, gen, p); gen 2523 fs/btrfs/send.c static int send_utimes(struct send_ctx *sctx, u64 ino, u64 gen) gen 2563 fs/btrfs/send.c ret = get_cur_path(sctx, ino, gen, p); gen 2592 fs/btrfs/send.c u64 gen; gen 2603 fs/btrfs/send.c ret = get_inode_info(sctx->send_root, ino, NULL, &gen, &mode, gen 2608 fs/btrfs/send.c gen = sctx->cur_inode_gen; gen 2636 fs/btrfs/send.c ret = gen_unique_name(sctx, ino, gen, p); gen 2837 fs/btrfs/send.c static int orphanize_inode(struct send_ctx *sctx, u64 ino, u64 gen, gen 2847 fs/btrfs/send.c ret = gen_unique_name(sctx, ino, gen, orphan); gen 2881 fs/btrfs/send.c odi->gen = 0; gen 2990 fs/btrfs/send.c odi->gen = dir_gen; gen 3003 fs/btrfs/send.c odi->gen = dir_gen; gen 3105 fs/btrfs/send.c pm->gen = ino_gen; gen 3172 fs/btrfs/send.c u64 ino, u64 gen, u64 *ancestor_ino) gen 3191 fs/btrfs/send.c ret = __get_cur_name_and_parent(sctx, ino, gen, gen 3208 fs/btrfs/send.c gen = parent_gen; gen 3242 fs/btrfs/send.c pm->gen, from_path); gen 3258 fs/btrfs/send.c ret = path_loop(sctx, name, pm->ino, pm->gen, &ancestor); gen 3264 fs/btrfs/send.c ret = add_pending_dir_move(sctx, pm->ino, pm->gen, ancestor, gen 3279 fs/btrfs/send.c ret = get_cur_path(sctx, pm->ino, pm->gen, to_path); gen 3289 fs/btrfs/send.c u64 gen; gen 3296 fs/btrfs/send.c gen = odi->gen; gen 3298 fs/btrfs/send.c ret = can_rmdir(sctx, rmdir_ino, gen, sctx->cur_ino); gen 3309 fs/btrfs/send.c ret = get_cur_path(sctx, rmdir_ino, gen, name); gen 3318 fs/btrfs/send.c ret = send_utimes(sctx, pm->ino, pm->gen); gen 4214 fs/btrfs/send.c u64 gen; gen 4220 fs/btrfs/send.c ret = get_inode_info(root, dir, NULL, &gen, NULL, NULL, gen 4225 fs/btrfs/send.c ret = get_cur_path(sctx, dir, gen, p); gen 4232 fs/btrfs/send.c ret = __record_ref(refs, dir, gen, p); gen 4927 fs/btrfs/send.c u64 gen; gen 4952 fs/btrfs/send.c &gen, NULL, NULL, NULL, NULL); gen 4955 fs/btrfs/send.c ret = get_cur_path(sctx, clone_root->ino, gen, p); gen 290 fs/btrfs/tree-log.c struct walk_control *wc, u64 gen, int level); gen 298 fs/btrfs/tree-log.c struct walk_control *wc, u64 gen, int level) gen 308 fs/btrfs/tree-log.c ret = btrfs_read_buffer(eb, gen, level, NULL); gen 317 fs/btrfs/tree-log.c if (!ret && btrfs_buffer_uptodate(eb, gen, 0)) { gen 2536 fs/btrfs/tree-log.c struct walk_control *wc, u64 gen, int level) gen 2545 fs/btrfs/tree-log.c ret = btrfs_read_buffer(eb, gen, level, NULL); gen 617 fs/ceph/caps.c u32 gen; gen 632 fs/ceph/caps.c gen = session->s_cap_gen; gen 660 fs/ceph/caps.c if (cap->cap_gen < gen) gen 754 fs/ceph/caps.c cap->cap_gen = gen; gen 768 fs/ceph/caps.c u32 gen; gen 771 fs/ceph/caps.c gen = cap->session->s_cap_gen; gen 775 fs/ceph/caps.c if (cap->cap_gen < gen || time_after_eq(jiffies, ttl)) { gen 778 fs/ceph/caps.c cap, ceph_cap_string(cap->issued), cap->cap_gen, gen); gen 1431 fs/ceph/dir.c u32 gen; gen 1435 fs/ceph/dir.c gen = session->s_cap_gen; gen 1439 fs/ceph/dir.c if (di->lease_gen == gen && gen 61 fs/dlm/member.c static void log_slots(struct dlm_ls *ls, uint32_t gen, int num_slots, gen 93 fs/dlm/member.c log_rinfo(ls, "generation %u slots %d%s", gen, num_slots, line); gen 104 fs/dlm/member.c uint32_t gen; gen 109 fs/dlm/member.c gen = le32_to_cpu(rf->rf_generation); gen 110 fs/dlm/member.c if (gen <= ls->ls_generation) { gen 112 fs/dlm/member.c gen, ls->ls_generation); gen 114 fs/dlm/member.c ls->ls_generation = gen; gen 127 fs/dlm/member.c log_slots(ls, gen, num_slots, ro0, NULL, 0); gen 174 fs/dlm/member.c uint32_t gen = 0; gen 187 fs/dlm/member.c if (memb->generation > gen) gen 188 fs/dlm/member.c gen = memb->generation; gen 269 fs/dlm/member.c gen++; gen 271 fs/dlm/member.c log_slots(ls, gen, num, NULL, array, array_size); gen 283 fs/dlm/member.c *gen_out = gen; gen 175 fs/dlm/recover.c uint32_t gen; gen 189 fs/dlm/recover.c rv = dlm_slots_assign(ls, &num_slots, &slots_size, &slots, &gen); gen 196 fs/dlm/recover.c ls->ls_generation = gen; gen 374 fs/exportfs/expfs.c fid->i32.gen = inode->i_generation; gen 1125 fs/ext4/ialloc.c __le32 gen = cpu_to_le32(inode->i_generation); gen 1128 fs/ext4/ialloc.c ei->i_csum_seed = ext4_chksum(sbi, csum, (__u8 *)&gen, gen 1129 fs/ext4/ialloc.c sizeof(gen)); gen 4904 fs/ext4/inode.c __le32 gen = raw_inode->i_generation; gen 4907 fs/ext4/inode.c ei->i_csum_seed = ext4_chksum(sbi, csum, (__u8 *)&gen, gen 4908 fs/ext4/inode.c sizeof(gen)); gen 94 fs/ext4/ioctl.c __le32 gen = cpu_to_le32(inode->i_generation); gen 101 fs/ext4/ioctl.c ei->i_csum_seed = ext4_chksum(sbi, csum, (__u8 *)&gen, sizeof(gen)); gen 144 fs/f2fs/inode.c __le32 gen = ri->i_generation; gen 152 fs/f2fs/inode.c chksum_seed = f2fs_chksum(sbi, chksum, (__u8 *)&gen, sizeof(gen)); gen 468 fs/gfs2/lock_dlm.c __le32 gen; gen 470 fs/gfs2/lock_dlm.c memcpy(&gen, lvb_bits, sizeof(__le32)); gen 471 fs/gfs2/lock_dlm.c *lvb_gen = le32_to_cpu(gen); gen 477 fs/gfs2/lock_dlm.c __le32 gen; gen 479 fs/gfs2/lock_dlm.c gen = cpu_to_le32(lvb_gen); gen 480 fs/gfs2/lock_dlm.c memcpy(ls->ls_control_lvb, &gen, sizeof(__le32)); gen 624 fs/kernfs/dir.c u32 gen; gen 640 fs/kernfs/dir.c gen = root->next_generation; gen 647 fs/kernfs/dir.c kn->id.generation = gen; gen 932 fs/libfs.c (struct super_block *sb, u64 ino, u32 gen)) gen 942 fs/libfs.c inode = get_inode(sb, fid->i32.ino, fid->i32.gen); gen 965 fs/libfs.c (struct super_block *sb, u64 ino, u32 gen)) gen 253 fs/nfsd/nfsfh.c sfid.i32.gen = fh->ofh_generation; gen 20 fs/nilfs2/export.h u32 gen; gen 457 fs/nilfs2/namei.c u64 ino, u32 gen) gen 474 fs/nilfs2/namei.c if (gen && inode->i_generation != gen) { gen 491 fs/nilfs2/namei.c return nilfs_get_dentry(sb, fid->cno, fid->ino, fid->gen); gen 524 fs/nilfs2/namei.c fid->gen = inode->i_generation; gen 30 fs/ocfs2/dcache.c unsigned long gen = gen 33 fs/ocfs2/dcache.c dentry->d_fsdata = (void *)gen; gen 57 fs/ocfs2/dcache.c unsigned long gen = (unsigned long) dentry->d_fsdata; gen 64 fs/ocfs2/dcache.c pgen, gen); gen 65 fs/ocfs2/dcache.c if (gen != pgen) gen 1310 fs/ocfs2/dlmglue.c unsigned int gen; gen 1325 fs/ocfs2/dlmglue.c gen = lockres_set_pending(lockres); gen 1334 fs/ocfs2/dlmglue.c lockres_clear_pending(lockres, gen, osb); gen 1475 fs/ocfs2/dlmglue.c unsigned int gen; gen 1566 fs/ocfs2/dlmglue.c gen = lockres_set_pending(lockres); gen 1582 fs/ocfs2/dlmglue.c lockres_clear_pending(lockres, gen, osb); gen 2067 fs/ocfs2/dlmglue.c unsigned int gen; gen 2093 fs/ocfs2/dlmglue.c gen = ocfs2_prepare_downconvert(lockres, DLM_LOCK_NL); gen 2097 fs/ocfs2/dlmglue.c ret = ocfs2_downconvert_lock(osb, lockres, DLM_LOCK_NL, 0, gen); gen 3714 fs/ocfs2/dlmglue.c unsigned int gen; gen 3884 fs/ocfs2/dlmglue.c gen = ocfs2_prepare_downconvert(lockres, new_level); gen 3887 fs/ocfs2/dlmglue.c gen); gen 1818 fs/ocfs2/journal.c u32 gen; gen 1833 fs/ocfs2/journal.c gen = ocfs2_get_recovery_generation(di); gen 1838 fs/ocfs2/journal.c osb->slot_recovery_generations[i] = gen; gen 2414 fs/ocfs2/ocfs2_trace.h unsigned long gen), gen 2415 fs/ocfs2/ocfs2_trace.h TP_ARGS(len, name, pgen, gen), gen 2420 fs/ocfs2/ocfs2_trace.h __field(unsigned long, gen) gen 2426 fs/ocfs2/ocfs2_trace.h __entry->gen = gen; gen 2429 fs/ocfs2/ocfs2_trace.h __entry->pgen, __entry->gen) gen 2307 fs/reiserfs/reiserfs.h #define __fs_changed(gen,s) (gen != get_generation (s)) gen 2308 fs/reiserfs/reiserfs.h #define fs_changed(gen,s) \ gen 2311 fs/reiserfs/reiserfs.h __fs_changed(gen, s); \ gen 1342 fs/unicode/mkutf8data.c int gen; gen 1379 fs/unicode/mkutf8data.c if (left->gen != right->gen) gen 1396 fs/unicode/mkutf8data.c if (left->gen != right->gen) gen 1420 fs/unicode/mkutf8data.c leaf->code, leaf->ccc, leaf->gen); gen 1435 fs/unicode/mkutf8data.c leaf->code, leaf->ccc, leaf->gen); gen 1512 fs/unicode/mkutf8data.c *data++ = leaf->gen; gen 1533 fs/unicode/mkutf8data.c *data++ = leaf->gen; gen 1696 fs/unicode/mkutf8data.c if (unicode_data[unichar].gen < 0) gen 1768 fs/unicode/mkutf8data.c if (data->gen != -1) gen 1775 fs/unicode/mkutf8data.c if (data->gen == -1) gen 1777 fs/unicode/mkutf8data.c if (data->gen != LEAF_GEN(leaf)) gen 1810 fs/unicode/mkutf8data.c unichar, data->code, data->gen, gen 1940 fs/unicode/mkutf8data.c int gen; gen 1952 fs/unicode/mkutf8data.c gen = 0; gen 1990 fs/unicode/mkutf8data.c gen = 0; gen 1995 fs/unicode/mkutf8data.c ages[++gen] = gen 1999 fs/unicode/mkutf8data.c major, minor, revision, gen); gen 2006 fs/unicode/mkutf8data.c ages[++gen] = UNICODE_AGE(major, minor, 0); gen 2009 fs/unicode/mkutf8data.c major, minor, gen); gen 2018 fs/unicode/mkutf8data.c unicode_data[unichar].gen = gen; gen 2021 fs/unicode/mkutf8data.c printf(" %X..%X gen %d\n", first, last, gen); gen 2028 fs/unicode/mkutf8data.c unicode_data[unichar].gen = gen; gen 2031 fs/unicode/mkutf8data.c printf(" %X gen %d\n", unichar, gen); gen 2037 fs/unicode/mkutf8data.c unicode_maxage = ages[gen]; gen 2044 fs/unicode/mkutf8data.c unicode_data[unichar].gen = -1; gen 3281 fs/unicode/mkutf8data.c int gen; gen 3305 fs/unicode/mkutf8data.c for (gen = 0; gen < ages_count; gen++) { gen 3307 fs/unicode/mkutf8data.c ages[gen], trees[t].index, gen 3308 fs/unicode/mkutf8data.c ages[gen] == unicode_maxage ? "" : ","); gen 3309 fs/unicode/mkutf8data.c if (trees[t].maxage == ages[gen]) gen 3316 fs/unicode/mkutf8data.c for (gen = 0; gen < ages_count; gen++) { gen 3318 fs/unicode/mkutf8data.c ages[gen], trees[t].index, gen 3319 fs/unicode/mkutf8data.c ages[gen] == unicode_maxage ? "" : ","); gen 3320 fs/unicode/mkutf8data.c if (trees[t].maxage == ages[gen]) gen 270 fs/xfs/libxfs/xfs_ialloc.c unsigned int gen) gen 320 fs/xfs/libxfs/xfs_ialloc.c mp->m_sb.sb_inodesize, length, gen); gen 347 fs/xfs/libxfs/xfs_ialloc.c free->di_gen = cpu_to_be32(gen); gen 135 fs/xfs/libxfs/xfs_ialloc.h xfs_agblock_t length, unsigned int gen); gen 92 fs/xfs/scrub/trace.h __field(unsigned int, gen) gen 102 fs/xfs/scrub/trace.h __entry->gen = sm->sm_gen; gen 112 fs/xfs/scrub/trace.h __entry->gen, gen 91 fs/xfs/xfs_export.c fid->i32.gen = inode->i_generation; gen 99 fs/xfs/xfs_export.c fid64->gen = inode->i_generation; gen 171 fs/xfs/xfs_export.c inode = xfs_nfs_get_inode(sb, fid->i32.ino, fid->i32.gen); gen 175 fs/xfs/xfs_export.c inode = xfs_nfs_get_inode(sb, fid64->ino, fid64->gen); gen 52 fs/xfs/xfs_export.h u32 gen; gen 164 fs/xfs/xfs_ioctl.c fid.gen = handle.ha_fid.fid_gen; gen 2138 fs/xfs/xfs_trace.h __field(unsigned int, gen) gen 2147 fs/xfs/xfs_trace.h __entry->gen = be32_to_cpu(in_f->icl_gen); gen 2152 fs/xfs/xfs_trace.h __entry->length, __entry->gen) gen 122 include/linux/ceph/osd_client.h u32 gen; gen 506 include/linux/ceph/rados.h __le32 gen; /* registration generation */ gen 117 include/linux/exportfs.h u32 gen; gen 226 include/linux/exportfs.h struct inode *(*get_inode) (struct super_block *sb, u64 ino, u32 gen)); gen 229 include/linux/exportfs.h struct inode *(*get_inode) (struct super_block *sb, u64 ino, u32 gen)); gen 31 include/linux/if_fddi.h struct net_device_stats gen; gen 684 include/linux/kvm_host.h void kvm_arch_memslots_updated(struct kvm *kvm, u64 gen); gen 535 include/linux/nvme.h __le32 gen; gen 359 include/linux/virtio_config.h u32 old, gen = vdev->config->generation ? gen 365 include/linux/virtio_config.h old = gen; gen 371 include/linux/virtio_config.h gen = vdev->config->generation ? gen 373 include/linux/virtio_config.h } while (gen != old); gen 835 include/net/ip_vs.h int gen; /* Generation */ gen 160 include/net/net_namespace.h struct net_generic __rcu *gen; gen 45 include/net/netns/generic.h ng = rcu_dereference(net->gen); gen 102 include/rdma/rdmavt_mr.h u32 gen; /* generation count */ gen 94 include/uapi/linux/bcache.h #define MAKE_PTR(gen, offset, dev) \ gen 95 include/uapi/linux/bcache.h ((((__u64) dev) << 51) | ((__u64) offset) << 8 | gen) gen 312 include/uapi/linux/bcache.h __u8 gen; gen 769 include/xen/interface/xen.h } gen; gen 7446 kernel/events/core.c u64 ino = 0, gen = 0; gen 7496 kernel/events/core.c gen = inode->i_generation; gen 7545 kernel/events/core.c mmap_event->ino_generation = gen; gen 932 net/ceph/osd_client.c op->watch.gen = 0; gen 1007 net/ceph/osd_client.c dst->watch.gen = cpu_to_le32(src->watch.gen); gen 3019 net/ceph/osd_client.c op->watch.gen = ++lreq->register_gen; gen 3021 net/ceph/osd_client.c op->watch.gen); gen 3047 net/ceph/osd_client.c if (lreq->register_gen == req->r_ops[0].watch.gen) { gen 3056 net/ceph/osd_client.c lreq->register_gen, req->r_ops[0].watch.gen); gen 3088 net/ceph/osd_client.c op->watch.gen = lreq->register_gen; gen 90 net/core/net_namespace.c old_ng = rcu_dereference_protected(net->gen, gen 116 net/core/net_namespace.c rcu_assign_pointer(net->gen, ng); gen 422 net/core/net_namespace.c rcu_assign_pointer(net->gen, ng); gen 438 net/core/net_namespace.c kfree(rcu_access_pointer(net->gen)); gen 1106 net/core/net_namespace.c rcu_assign_pointer(init_net.gen, ng); gen 654 net/mac80211/key.c key->u.gen.rx_pn[i][j] = gen 119 net/mac80211/key.h } gen; gen 875 net/mac80211/wpa.c rx_pn = key->u.gen.rx_pn[qos_tid]; gen 2363 net/netfilter/ipvs/ip_vs_core.c ipvs->gen = atomic_read(&ipvs_netns_cnt); gen 2415 net/netfilter/ipvs/ip_vs_core.c IP_VS_DBG(2, "ipvs netns %d released\n", ipvs->gen); gen 1878 net/netfilter/ipvs/ip_vs_sync.c task = kthread_run(threadfn, tinfo, name, ipvs->gen, id); gen 284 net/rds/cong.c unsigned long gen = atomic_read(&rds_cong_generation); gen 286 net/rds/cong.c if (likely(*recent == gen)) gen 288 net/rds/cong.c *recent = gen; gen 56 net/tipc/monitor.c u16 gen; gen 268 net/tipc/monitor.c dom->gen = ++mon->dom_gen; gen 270 net/tipc/monitor.c cache->gen = htons(dom->gen); gen 452 net/tipc/monitor.c u16 new_gen = ntohs(arrv_dom->gen); gen 510 net/tipc/monitor.c dom->gen = new_gen; gen 530 net/tipc/monitor.c u16 gen = mon->dom_gen; gen 540 net/tipc/monitor.c if (likely(state->acked_gen == gen)) { gen 544 net/tipc/monitor.c dom->gen = htons(gen); gen 734 net/tipc/monitor.c if (nla_put_u32(msg->skb, TIPC_NLA_MON_PEER_DOMGEN, dom->gen)) gen 23 sound/pci/hda/patch_analog.c struct hda_gen_spec gen; gen 177 sound/pci/hda/patch_analog.c struct auto_pin_cfg *cfg = &spec->gen.autocfg; gen 184 sound/pci/hda/patch_analog.c spec->gen.indep_hp = indep_hp; gen 185 sound/pci/hda/patch_analog.c if (!spec->gen.add_stereo_mix_input) gen 186 sound/pci/hda/patch_analog.c spec->gen.add_stereo_mix_input = HDA_HINT_STEREO_MIX_AUTO; gen 210 sound/pci/hda/patch_analog.c snd_hda_gen_spec_init(&spec->gen); gen 227 sound/pci/hda/patch_analog.c spec->gen.keep_eapd_on = 1; gen 228 sound/pci/hda/patch_analog.c spec->gen.vmaster_mute.hook = ad_vmaster_eapd_hook; gen 241 sound/pci/hda/patch_analog.c spec->gen.keep_eapd_on = 1; gen 254 sound/pci/hda/patch_analog.c spec->gen.add_stereo_mix_input = HDA_HINT_STEREO_MIX_ENABLE; gen 409 sound/pci/hda/patch_analog.c spec->gen.mixer_nid = 0x07; gen 410 sound/pci/hda/patch_analog.c spec->gen.beep_nid = 0x19; gen 419 sound/pci/hda/patch_analog.c spec->gen.multiout.no_share_stream = 1; gen 421 sound/pci/hda/patch_analog.c spec->gen.preferred_dacs = preferred_pairs; gen 424 sound/pci/hda/patch_analog.c spec->gen.auto_mute_via_amp = 1; gen 456 sound/pci/hda/patch_analog.c hda_nid_t dig_out = spec->gen.multiout.dig_out_nid; gen 483 sound/pci/hda/patch_analog.c hda_nid_t dig_out = spec->gen.multiout.dig_out_nid; gen 507 sound/pci/hda/patch_analog.c hda_nid_t dig_out = spec->gen.multiout.dig_out_nid; gen 515 sound/pci/hda/patch_analog.c if (!snd_hda_gen_add_kctl(&spec->gen, NULL, &ad1983_auto_smux_mixer)) gen 532 sound/pci/hda/patch_analog.c spec->gen.mixer_nid = 0x0e; gen 533 sound/pci/hda/patch_analog.c spec->gen.beep_nid = 0x10; gen 564 sound/pci/hda/patch_analog.c spec->gen.vmaster_mute.hook = ad_vmaster_eapd_hook; gen 620 sound/pci/hda/patch_analog.c spec->gen.mixer_nid = 0x0e; gen 621 sound/pci/hda/patch_analog.c spec->gen.beep_nid = 0x10; gen 795 sound/pci/hda/patch_analog.c if (!spec->gen.autocfg.dig_outs) gen 843 sound/pci/hda/patch_analog.c if (!spec->gen.autocfg.dig_outs || gen 852 sound/pci/hda/patch_analog.c struct nid_path *path = snd_array_new(&spec->gen.paths); gen 861 sound/pci/hda/patch_analog.c if (!snd_hda_gen_add_kctl(&spec->gen, NULL, &ad1988_auto_smux_mixer)) gen 909 sound/pci/hda/patch_analog.c spec->gen.mixer_nid = 0x20; gen 910 sound/pci/hda/patch_analog.c spec->gen.mixer_merge_nid = 0x21; gen 911 sound/pci/hda/patch_analog.c spec->gen.beep_nid = 0x10; gen 994 sound/pci/hda/patch_analog.c spec->gen.vmaster_mute.hook = ad1884_vmaster_hp_gpio_hook; gen 995 sound/pci/hda/patch_analog.c spec->gen.own_eapd_ctl = 1; gen 1004 sound/pci/hda/patch_analog.c if (spec->gen.autocfg.line_out_type == AUTO_PIN_SPEAKER_OUT) gen 1005 sound/pci/hda/patch_analog.c spec->eapd_nid = spec->gen.autocfg.line_out_pins[0]; gen 1007 sound/pci/hda/patch_analog.c spec->eapd_nid = spec->gen.autocfg.speaker_pins[0]; gen 1018 sound/pci/hda/patch_analog.c spec->gen.keep_eapd_on = 1; gen 1019 sound/pci/hda/patch_analog.c spec->gen.vmaster_mute.hook = ad_vmaster_eapd_hook; gen 1023 sound/pci/hda/patch_analog.c spec->gen.beep_nid = 0; /* no digital beep */ gen 1089 sound/pci/hda/patch_analog.c spec->gen.mixer_nid = 0x20; gen 1090 sound/pci/hda/patch_analog.c spec->gen.mixer_merge_nid = 0x21; gen 1091 sound/pci/hda/patch_analog.c spec->gen.beep_nid = 0x10; gen 1135 sound/pci/hda/patch_analog.c spec->gen.mixer_nid = 0x20; gen 1136 sound/pci/hda/patch_analog.c spec->gen.mixer_merge_nid = 0x21; gen 1137 sound/pci/hda/patch_analog.c spec->gen.beep_nid = 0x10; gen 23 sound/pci/hda/patch_cirrus.c struct hda_gen_spec gen; gen 159 sound/pci/hda/patch_cirrus.c spec->gen.master_mute = !!(spec->spdif_present && spec->sense_b); gen 164 sound/pci/hda/patch_cirrus.c if (spec->gen.automute_speaker) gen 165 sound/pci/hda/patch_cirrus.c spec->gpio_data = spec->gen.hp_jack_present ? gen 353 sound/pci/hda/patch_cirrus.c err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, 0); gen 357 sound/pci/hda/patch_cirrus.c err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); gen 362 sound/pci/hda/patch_cirrus.c if (spec->gen.dyn_adc_switch) { gen 364 sound/pci/hda/patch_cirrus.c for (i = 0; i < spec->gen.input_mux.num_items; i++) { gen 365 sound/pci/hda/patch_cirrus.c int idx = spec->gen.dyn_adc_idx[i]; gen 369 sound/pci/hda/patch_cirrus.c spec->gen.adc_nids[idx]); gen 580 sound/pci/hda/patch_cirrus.c snd_hda_gen_spec_init(&spec->gen); gen 595 sound/pci/hda/patch_cirrus.c spec->gen.automute_hook = cs_automute; gen 701 sound/pci/hda/patch_cirrus.c hda_nid_t pin = spec->gen.autocfg.dig_out_pins[0]; gen 716 sound/pci/hda/patch_cirrus.c if (!spec->gen.autocfg.dig_out_pins[0]) gen 776 sound/pci/hda/patch_cirrus.c spec->gen.automute_hook = cs_automute; gen 778 sound/pci/hda/patch_cirrus.c spec->gen.out_vol_mask = 1ULL << 0x10; gen 1024 sound/pci/hda/patch_cirrus.c hda_nid_t spdif_pin = spec->gen.autocfg.dig_out_pins[0]; gen 1045 sound/pci/hda/patch_cirrus.c struct auto_pin_cfg *cfg = &spec->gen.autocfg; gen 1106 sound/pci/hda/patch_cirrus.c err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, 0); gen 1110 sound/pci/hda/patch_cirrus.c err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); gen 1116 sound/pci/hda/patch_cirrus.c if (spec->gen.autocfg.speaker_outs && gen 1118 sound/pci/hda/patch_cirrus.c if (!snd_hda_gen_add_kctl(&spec->gen, NULL, gen 1174 sound/pci/hda/patch_cirrus.c spec->gen.automute_hook = cs_automute; gen 21 sound/pci/hda/patch_cmedia.c struct hda_gen_spec gen; gen 47 sound/pci/hda/patch_cmedia.c cfg = &spec->gen.autocfg; gen 48 sound/pci/hda/patch_cmedia.c snd_hda_gen_spec_init(&spec->gen); gen 76 sound/pci/hda/patch_cmedia.c cfg = &spec->gen.autocfg; gen 77 sound/pci/hda/patch_cmedia.c snd_hda_gen_spec_init(&spec->gen); gen 82 sound/pci/hda/patch_cmedia.c spec->gen.out_vol_mask = (1ULL << 0x10); gen 96 sound/pci/hda/patch_cmedia.c if (!snd_hda_gen_add_kctl(&spec->gen, NULL, &_kctl)) { gen 25 sound/pci/hda/patch_conexant.c struct hda_gen_spec gen; gen 63 sound/pci/hda/patch_conexant.c spec->gen.beep_nid = nid; gen 65 sound/pci/hda/patch_conexant.c knew = snd_hda_gen_add_kctl(&spec->gen, NULL, gen 227 sound/pci/hda/patch_conexant.c spec->gen.inv_dmic_split = 1; gen 249 sound/pci/hda/patch_conexant.c struct auto_pin_cfg *cfg = &spec->gen.autocfg; gen 251 sound/pci/hda/patch_conexant.c hda_nid_t mux_pin = spec->gen.imux_pins[spec->gen.cur_mux[0]]; gen 261 sound/pci/hda/patch_conexant.c spec->gen.hp_jack_present = false; gen 264 sound/pci/hda/patch_conexant.c spec->gen.hp_jack_present = snd_hda_jack_detect(codec, spec->gen.autocfg.hp_pins[0]); gen 288 sound/pci/hda/patch_conexant.c WARN_ON(spec->gen.cap_sync_hook); gen 289 sound/pci/hda/patch_conexant.c spec->gen.cap_sync_hook = cxt_update_headset_mode_hook; gen 290 sound/pci/hda/patch_conexant.c spec->gen.automute_hook = cxt_update_headset_mode; gen 353 sound/pci/hda/patch_conexant.c cur_input = spec->gen.input_paths[0][spec->gen.cur_mux[0]]; gen 540 sound/pci/hda/patch_conexant.c spec->gen.mic_autoswitch_hook = olpc_xo_automic; gen 541 sound/pci/hda/patch_conexant.c spec->gen.pcm_capture_hook = olpc_xo_capture_hook; gen 553 sound/pci/hda/patch_conexant.c snd_array_for_each(&spec->gen.kctls, i, kctl) { gen 569 sound/pci/hda/patch_conexant.c spec->gen.vmaster_mute.hook = cx_auto_vmaster_hook_mute_led; gen 648 sound/pci/hda/patch_conexant.c spec->gen.micmute_led.led_value); gen 663 sound/pci/hda/patch_conexant.c spec->gen.vmaster_mute.hook = cxt_fixup_gpio_mute_hook; gen 972 sound/pci/hda/patch_conexant.c spec->gen.dac_min_mute = true; gen 985 sound/pci/hda/patch_conexant.c snd_hda_gen_spec_init(&spec->gen); gen 990 sound/pci/hda/patch_conexant.c spec->gen.own_eapd_ctl = 1; gen 992 sound/pci/hda/patch_conexant.c spec->gen.vmaster_mute.hook = cx_auto_vmaster_hook; gen 997 sound/pci/hda/patch_conexant.c spec->gen.mixer_nid = 0x17; gen 998 sound/pci/hda/patch_conexant.c spec->gen.add_stereo_mix_input = HDA_HINT_STEREO_MIX_AUTO; gen 1004 sound/pci/hda/patch_conexant.c spec->gen.mixer_nid = 0x19; gen 1005 sound/pci/hda/patch_conexant.c spec->gen.add_stereo_mix_input = HDA_HINT_STEREO_MIX_AUTO; gen 1033 sound/pci/hda/patch_conexant.c spec->gen.vmaster_mute_enum = 1; gen 1039 sound/pci/hda/patch_conexant.c err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, gen 1044 sound/pci/hda/patch_conexant.c err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); gen 70 sound/pci/hda/patch_realtek.c struct hda_gen_spec gen; /* must be at head */ gen 568 sound/pci/hda/patch_realtek.c if (spec->gen.autocfg.hp_pins[0]) gen 569 sound/pci/hda/patch_realtek.c return spec->gen.autocfg.hp_pins[0]; gen 570 sound/pci/hda/patch_realtek.c if (spec->gen.autocfg.line_out_type == AC_JACK_HP_OUT) gen 571 sound/pci/hda/patch_realtek.c return spec->gen.autocfg.line_out_pins[0]; gen 788 sound/pci/hda/patch_realtek.c if (found_in_nid_list(nid, spec->gen.autocfg.line_out_pins, gen 789 sound/pci/hda/patch_realtek.c spec->gen.autocfg.line_outs)) gen 791 sound/pci/hda/patch_realtek.c spec->gen.autocfg.hp_pins[0] = nid; gen 818 sound/pci/hda/patch_realtek.c spec->gen.inv_dmic_split = 1; gen 860 sound/pci/hda/patch_realtek.c spec->gen.skip_verbs = 1; /* applied in below */ gen 1062 sound/pci/hda/patch_realtek.c knew = snd_hda_gen_add_kctl(&spec->gen, NULL, gen 1110 sound/pci/hda/patch_realtek.c struct auto_pin_cfg *cfg = &spec->gen.autocfg; gen 1137 sound/pci/hda/patch_realtek.c snd_hda_gen_spec_init(&spec->gen); gen 1138 sound/pci/hda/patch_realtek.c spec->gen.mixer_nid = mixer_nid; gen 1139 sound/pci/hda/patch_realtek.c spec->gen.own_eapd_ctl = 1; gen 1585 sound/pci/hda/patch_realtek.c spec->gen.need_dac_fix = 1; gen 1586 sound/pci/hda/patch_realtek.c spec->gen.beep_nid = 0x01; gen 1601 sound/pci/hda/patch_realtek.c if (!spec->gen.no_analog) { gen 1648 sound/pci/hda/patch_realtek.c alc_update_gpio_data(codec, 0x01, spec->gen.hp_jack_present); gen 1659 sound/pci/hda/patch_realtek.c spec->gen.automute_hook = alc260_gpio1_automute; gen 1660 sound/pci/hda/patch_realtek.c spec->gen.detect_hp = 1; gen 1661 sound/pci/hda/patch_realtek.c spec->gen.automute_speaker = 1; gen 1662 sound/pci/hda/patch_realtek.c spec->gen.autocfg.hp_pins[0] = 0x0f; /* copy it for automute */ gen 1710 sound/pci/hda/patch_realtek.c spec->gen.add_jack_modes = 1; gen 1711 sound/pci/hda/patch_realtek.c spec->gen.hp_mic = 1; gen 1838 sound/pci/hda/patch_realtek.c spec->gen.prefer_hp_amp = 1; gen 1839 sound/pci/hda/patch_realtek.c spec->gen.beep_nid = 0x01; gen 1854 sound/pci/hda/patch_realtek.c if (!spec->gen.no_analog) { gen 1984 sound/pci/hda/patch_realtek.c spec->gen.keep_vref_in_automute = 1; gen 2001 sound/pci/hda/patch_realtek.c spec->gen.keep_vref_in_automute = 1; gen 2043 sound/pci/hda/patch_realtek.c spec->gen.no_primary_hp = 1; gen 2044 sound/pci/hda/patch_realtek.c spec->gen.no_multi_io = 1; gen 2062 sound/pci/hda/patch_realtek.c spec->gen.suppress_vmaster = 1; gen 2064 sound/pci/hda/patch_realtek.c spec->gen.suppress_auto_mute = 1; gen 2065 sound/pci/hda/patch_realtek.c spec->gen.suppress_auto_mic = 1; gen 2067 sound/pci/hda/patch_realtek.c spec->gen.mixer_nid = 0; gen 2568 sound/pci/hda/patch_realtek.c spec->gen.beep_nid = 0x01; gen 2575 sound/pci/hda/patch_realtek.c if (!spec->gen.no_analog && spec->gen.beep_nid) { gen 2723 sound/pci/hda/patch_realtek.c spec->gen.shared_mic_vref_pin = 0x18; gen 2744 sound/pci/hda/patch_realtek.c spec->gen.beep_nid = 0x01; gen 2751 sound/pci/hda/patch_realtek.c if (!spec->gen.no_analog && spec->gen.beep_nid) { gen 2878 sound/pci/hda/patch_realtek.c spec->gen.beep_nid = 0x01; gen 2892 sound/pci/hda/patch_realtek.c if (err > 0 && !spec->gen.no_analog && gen 2893 sound/pci/hda/patch_realtek.c spec->gen.autocfg.speaker_pins[0] != 0x1d) { gen 2895 sound/pci/hda/patch_realtek.c if (!snd_hda_gen_add_kctl(&spec->gen, NULL, gen 3856 sound/pci/hda/patch_realtek.c spec->gen.stream_analog_playback = &alc269_44k_pcm_analog_playback; gen 3857 sound/pci/hda/patch_realtek.c spec->gen.stream_analog_capture = &alc269_44k_pcm_analog_capture; gen 3886 sound/pci/hda/patch_realtek.c spec->gen.automute_hook = alc269_quanta_automute; gen 3897 sound/pci/hda/patch_realtek.c vref = spec->gen.hp_jack_present ? PIN_VREF80 : 0; gen 3978 sound/pci/hda/patch_realtek.c spec->gen.hp_automute_hook = alc269_x101_hp_automute_hook; gen 4038 sound/pci/hda/patch_realtek.c spec->gen.vmaster_mute.hook = alc269_fixup_mic_mute_hook; gen 4039 sound/pci/hda/patch_realtek.c spec->gen.vmaster_mute_enum = 1; gen 4057 sound/pci/hda/patch_realtek.c spec->gen.vmaster_mute.hook = alc269_fixup_mic_mute_hook; gen 4058 sound/pci/hda/patch_realtek.c spec->gen.vmaster_mute_enum = 1; gen 4107 sound/pci/hda/patch_realtek.c spec->gen.micmute_led.led_value); gen 4124 sound/pci/hda/patch_realtek.c spec->gen.vmaster_mute.hook = alc_fixup_gpio_mute_hook; gen 4160 sound/pci/hda/patch_realtek.c if (spec->gen.micmute_led.led_value) gen 4226 sound/pci/hda/patch_realtek.c spec->gen.vmaster_mute.hook = alc_fixup_mute_led_coefbit_hook; gen 4227 sound/pci/hda/patch_realtek.c spec->gen.vmaster_mute_enum = 1; gen 4243 sound/pci/hda/patch_realtek.c spec->gen.vmaster_mute.hook = alc_fixup_mute_led_coefbit_hook; gen 4244 sound/pci/hda/patch_realtek.c spec->gen.vmaster_mute_enum = 1; gen 4253 sound/pci/hda/patch_realtek.c if (spec->gen.micmute_led.led_value) gen 5236 sound/pci/hda/patch_realtek.c hda_nid_t mux_pin = spec->gen.imux_pins[spec->gen.cur_mux[0]]; gen 5260 sound/pci/hda/patch_realtek.c spec->gen.hp_jack_present = false; gen 5269 sound/pci/hda/patch_realtek.c spec->gen.hp_jack_present = true; gen 5273 sound/pci/hda/patch_realtek.c spec->gen.hp_jack_present = false; gen 5277 sound/pci/hda/patch_realtek.c spec->gen.hp_jack_present = true; gen 5309 sound/pci/hda/patch_realtek.c struct auto_pin_cfg *cfg = &spec->gen.autocfg; gen 5319 sound/pci/hda/patch_realtek.c WARN_ON(spec->gen.cap_sync_hook); gen 5320 sound/pci/hda/patch_realtek.c spec->gen.cap_sync_hook = alc_update_headset_mode_hook; gen 5321 sound/pci/hda/patch_realtek.c spec->gen.automute_hook = alc_update_headset_mode; gen 5322 sound/pci/hda/patch_realtek.c spec->gen.hp_automute_hook = alc_update_headset_jack_cb; gen 5417 sound/pci/hda/patch_realtek.c alc_update_gpio_data(codec, 0x40, spec->gen.hp_jack_present); gen 5429 sound/pci/hda/patch_realtek.c spec->gen.hp_automute_hook = alc288_update_headset_jack_cb; gen 5438 sound/pci/hda/patch_realtek.c spec->gen.auto_mute_via_amp = 1; gen 5457 sound/pci/hda/patch_realtek.c spec->gen.mixer_nid = 0; gen 5517 sound/pci/hda/patch_realtek.c spec->gen.preferred_dacs = preferred_pairs; gen 5535 sound/pci/hda/patch_realtek.c struct hda_input_mux *imux = &spec->gen.input_mux; gen 5549 sound/pci/hda/patch_realtek.c if (spec->gen.imux_pins[i] == 0x12) { gen 5550 sound/pci/hda/patch_realtek.c spec->gen.cur_mux[0] = i; gen 5565 sound/pci/hda/patch_realtek.c spec->gen.hp_mic = 1; /* Mic-in is same pin as headphone */ gen 5590 sound/pci/hda/patch_realtek.c struct auto_pin_cfg *cfg = &spec->gen.autocfg; gen 5629 sound/pci/hda/patch_realtek.c struct auto_pin_cfg *cfg = &spec->gen.autocfg; gen 5665 sound/pci/hda/patch_realtek.c vref = spec->gen.hp_jack_present ? PIN_VREF80 : 0; gen 5681 sound/pci/hda/patch_realtek.c spec->gen.mixer_nid = 0; gen 5700 sound/pci/hda/patch_realtek.c spec->gen.hp_automute_hook = alc283_hp_automute_hook; gen 5716 sound/pci/hda/patch_realtek.c spec->gen.mute_bits |= (1ULL << 0x14); gen 5734 sound/pci/hda/patch_realtek.c spec->gen.auto_mute_via_amp = 1; gen 5735 sound/pci/hda/patch_realtek.c spec->gen.automute_hook = asus_tx300_automute; gen 5811 sound/pci/hda/patch_realtek.c alc_update_gpio_led(codec, 0x10, !spec->gen.hp_jack_present); gen 5831 sound/pci/hda/patch_realtek.c spec->gen.hp_automute_hook = alc280_hp_gpio4_automute_hook; gen 5894 sound/pci/hda/patch_realtek.c spec->gen.preferred_dacs = preferred_pairs; gen 5895 sound/pci/hda/patch_realtek.c spec->gen.auto_mute_via_amp = 1; gen 8239 sound/pci/hda/patch_realtek.c spec->gen.shared_mic_vref_pin = 0x18; gen 8320 sound/pci/hda/patch_realtek.c spec->gen.mixer_nid = 0; /* ALC256 does not have any loopback mixer path */ gen 8326 sound/pci/hda/patch_realtek.c spec->gen.mixer_nid = 0; gen 8336 sound/pci/hda/patch_realtek.c spec->gen.mixer_nid = 0; gen 8344 sound/pci/hda/patch_realtek.c spec->gen.mixer_nid = 0; /* no loopback on ALC225, ALC295 and ALC299 */ gen 8350 sound/pci/hda/patch_realtek.c spec->gen.mixer_nid = 0; /* ALC2x4 does not have any loopback mixer path */ gen 8356 sound/pci/hda/patch_realtek.c spec->gen.mixer_nid = 0; /* no loopback on ALC300 */ gen 8366 sound/pci/hda/patch_realtek.c spec->gen.mixer_nid = 0; /* ALC700 does not have any loopback mixer path */ gen 8391 sound/pci/hda/patch_realtek.c spec->gen.beep_nid = 0x01; gen 8398 sound/pci/hda/patch_realtek.c if (!spec->gen.no_analog && spec->gen.beep_nid && spec->gen.mixer_nid) { gen 8399 sound/pci/hda/patch_realtek.c err = set_beep_amp(spec, spec->gen.mixer_nid, 0x04, HDA_INPUT); gen 8447 sound/pci/hda/patch_realtek.c spec->gen.keep_vref_in_automute = 1; gen 8518 sound/pci/hda/patch_realtek.c spec->gen.beep_nid = 0x23; gen 8534 sound/pci/hda/patch_realtek.c if (!spec->gen.no_analog) { gen 8620 sound/pci/hda/patch_realtek.c spec->gen.beep_nid = 0x23; gen 8634 sound/pci/hda/patch_realtek.c if (!spec->gen.no_analog) { gen 8709 sound/pci/hda/patch_realtek.c spec->gen.pcm_rec[0]->stream[0].chmap = asus_pcm_2_1_chmaps; gen 8744 sound/pci/hda/patch_realtek.c vref = spec->gen.hp_jack_present ? PIN_VREF80 : 0; gen 8756 sound/pci/hda/patch_realtek.c spec->gen.hp_automute_hook = alc662_usi_automute_hook; gen 8814 sound/pci/hda/patch_realtek.c spec->gen.mixer_nid = 0; gen 9504 sound/pci/hda/patch_realtek.c spec->gen.beep_nid = 0x01; gen 9519 sound/pci/hda/patch_realtek.c if (!spec->gen.no_analog && spec->gen.beep_nid) { gen 171 sound/pci/hda/patch_sigmatel.c struct hda_gen_spec gen; gen 261 sound/pci/hda/patch_sigmatel.c for (i = 0; i < spec->gen.num_all_adcs; i++) { gen 262 sound/pci/hda/patch_sigmatel.c if (spec->gen.all_adcs[i] == hinfo->nid) { gen 327 sound/pci/hda/patch_sigmatel.c if (spec->gen.micmute_led.led_value) gen 407 sound/pci/hda/patch_sigmatel.c spec->gen.master_mute = gen 415 sound/pci/hda/patch_sigmatel.c if (spec->gen.speaker_muted) gen 801 sound/pci/hda/patch_sigmatel.c if (spec->gen.autocfg.line_out_type == AUTO_PIN_SPEAKER_OUT) { gen 802 sound/pci/hda/patch_sigmatel.c nid_pin = spec->gen.autocfg.line_out_pins; gen 803 sound/pci/hda/patch_sigmatel.c nids = spec->gen.autocfg.line_outs; gen 805 sound/pci/hda/patch_sigmatel.c nid_pin = spec->gen.autocfg.speaker_pins; gen 806 sound/pci/hda/patch_sigmatel.c nids = spec->gen.autocfg.speaker_outs; gen 842 sound/pci/hda/patch_sigmatel.c knew = snd_hda_gen_add_kctl(&spec->gen, gen 852 sound/pci/hda/patch_sigmatel.c knew = snd_hda_gen_add_kctl(&spec->gen, gen 893 sound/pci/hda/patch_sigmatel.c if (!snd_hda_gen_add_kctl(&spec->gen, NULL, &stac_dig_beep_ctrl)) gen 930 sound/pci/hda/patch_sigmatel.c spec->gen.autocfg.dig_out_pins[smux_idx], gen 950 sound/pci/hda/patch_sigmatel.c struct auto_pin_cfg *cfg = &spec->gen.autocfg; gen 970 sound/pci/hda/patch_sigmatel.c kctl = snd_hda_gen_add_kctl(&spec->gen, NULL, &stac_smux_mixer); gen 1358 sound/pci/hda/patch_sigmatel.c spec->gen.suppress_auto_mute = 1; gen 1870 sound/pci/hda/patch_sigmatel.c spec->gen.suppress_auto_mute = 1; gen 2102 sound/pci/hda/patch_sigmatel.c spec->gen.line_in_auto_switch = true; gen 2193 sound/pci/hda/patch_sigmatel.c spec->gen.preferred_dacs = preferred_pairs; gen 2972 sound/pci/hda/patch_sigmatel.c if (!snd_hda_gen_add_kctl(&spec->gen, "Bass Speaker Playback Switch", gen 4264 sound/pci/hda/patch_sigmatel.c err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, flags); gen 4269 sound/pci/hda/patch_sigmatel.c spec->gen.pcm_playback_hook = stac_playback_pcm_hook; gen 4270 sound/pci/hda/patch_sigmatel.c spec->gen.pcm_capture_hook = stac_capture_pcm_hook; gen 4272 sound/pci/hda/patch_sigmatel.c spec->gen.automute_hook = stac_update_outputs; gen 4274 sound/pci/hda/patch_sigmatel.c err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); gen 4294 sound/pci/hda/patch_sigmatel.c if (spec->gen.beep_nid) { gen 4295 sound/pci/hda/patch_sigmatel.c hda_nid_t nid = spec->gen.beep_nid; gen 4316 sound/pci/hda/patch_sigmatel.c spec->gen.vmaster_mute.hook = stac_vmaster_hook; gen 4324 sound/pci/hda/patch_sigmatel.c if (!snd_hda_gen_add_kctl(&spec->gen, NULL, spec->aloopback_ctl)) gen 4365 sound/pci/hda/patch_sigmatel.c for (i = 0; i < spec->gen.num_all_adcs; i++) { gen 4368 sound/pci/hda/patch_sigmatel.c snd_hda_codec_write(codec, spec->gen.all_adcs[i], 0, gen 4467 sound/pci/hda/patch_sigmatel.c snd_hda_gen_spec_init(&spec->gen); gen 4470 sound/pci/hda/patch_sigmatel.c spec->gen.dac_min_mute = true; gen 4486 sound/pci/hda/patch_sigmatel.c spec->gen.own_eapd_ctl = 1; gen 4518 sound/pci/hda/patch_sigmatel.c spec->gen.own_eapd_ctl = 1; gen 4554 sound/pci/hda/patch_sigmatel.c spec->gen.mixer_nid = 0x1d; gen 4579 sound/pci/hda/patch_sigmatel.c spec->gen.beep_nid = 0x1c; /* digital beep */ gen 4590 sound/pci/hda/patch_sigmatel.c spec->gen.own_eapd_ctl = 1; gen 4591 sound/pci/hda/patch_sigmatel.c spec->gen.power_down_unused = 1; gen 4658 sound/pci/hda/patch_sigmatel.c spec->gen.own_eapd_ctl = 1; gen 4659 sound/pci/hda/patch_sigmatel.c spec->gen.power_down_unused = 1; gen 4660 sound/pci/hda/patch_sigmatel.c spec->gen.mixer_nid = 0x1b; gen 4662 sound/pci/hda/patch_sigmatel.c spec->gen.beep_nid = 0x21; /* digital beep */ gen 4707 sound/pci/hda/patch_sigmatel.c spec->gen.own_eapd_ctl = 1; gen 4708 sound/pci/hda/patch_sigmatel.c spec->gen.power_down_unused = 1; gen 4710 sound/pci/hda/patch_sigmatel.c spec->gen.beep_nid = 0x19; /* digital beep */ gen 4748 sound/pci/hda/patch_sigmatel.c spec->gen.own_eapd_ctl = 1; gen 4749 sound/pci/hda/patch_sigmatel.c spec->gen.power_down_unused = 1; gen 4750 sound/pci/hda/patch_sigmatel.c spec->gen.mixer_nid = 0x17; gen 4795 sound/pci/hda/patch_sigmatel.c spec->gen.beep_nid = 0x26; /* digital beep */ gen 4829 sound/pci/hda/patch_sigmatel.c spec->gen.own_eapd_ctl = 1; gen 4871 sound/pci/hda/patch_sigmatel.c spec->gen.own_eapd_ctl = 1; gen 4875 sound/pci/hda/patch_sigmatel.c spec->gen.beep_nid = 0x23; /* digital beep */ gen 4929 sound/pci/hda/patch_sigmatel.c spec->gen.own_eapd_ctl = 1; gen 4932 sound/pci/hda/patch_sigmatel.c spec->gen.beep_nid = 0x23; /* digital beep */ gen 5016 sound/pci/hda/patch_sigmatel.c spec->gen.own_eapd_ctl = 1; gen 78 sound/pci/hda/patch_via.c struct hda_gen_spec gen; gen 109 sound/pci/hda/patch_via.c snd_hda_gen_spec_init(&spec->gen); gen 114 sound/pci/hda/patch_via.c spec->gen.indep_hp = 1; gen 115 sound/pci/hda/patch_via.c spec->gen.keep_eapd_on = 1; gen 116 sound/pci/hda/patch_via.c spec->gen.pcm_playback_hook = via_playback_pcm_hook; gen 117 sound/pci/hda/patch_via.c spec->gen.add_stereo_mix_input = HDA_HINT_STEREO_MIX_AUTO; gen 119 sound/pci/hda/patch_via.c spec->gen.power_down_unused = 1; gen 186 sound/pci/hda/patch_via.c if (spec->codec_type != VT1708 || !spec->gen.autocfg.hp_outs) gen 199 sound/pci/hda/patch_via.c if (spec->codec_type != VT1708 || !spec->gen.autocfg.hp_outs) gen 224 sound/pci/hda/patch_via.c ucontrol->value.enumerated.item[0] = spec->gen.power_down_unused; gen 235 sound/pci/hda/patch_via.c if (val == spec->gen.power_down_unused) gen 238 sound/pci/hda/patch_via.c spec->gen.power_down_unused = val; gen 265 sound/pci/hda/patch_via.c spec->gen.beep_nid = nid; gen 267 sound/pci/hda/patch_via.c knew = snd_hda_gen_add_kctl(&spec->gen, NULL, gen 297 sound/pci/hda/patch_via.c p = spec->gen.loopback.amplist; gen 321 sound/pci/hda/patch_via.c enable = is_aa_path_mute(codec) && !spec->gen.active_streams; gen 410 sound/pci/hda/patch_via.c return snd_hda_check_amp_list_power(codec, &spec->gen.loopback, nid); gen 515 sound/pci/hda/patch_via.c spec->gen.main_out_badness = &via_main_out_badness; gen 516 sound/pci/hda/patch_via.c spec->gen.extra_out_badness = &via_extra_out_badness; gen 518 sound/pci/hda/patch_via.c err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, 0); gen 522 sound/pci/hda/patch_via.c err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); gen 530 sound/pci/hda/patch_via.c if (!snd_hda_gen_add_kctl(&spec->gen, NULL, &via_pin_power_ctl_enum)) gen 535 sound/pci/hda/patch_via.c spec->gen.power_down_unused = 0; gen 576 sound/pci/hda/patch_via.c for (i = 0; i < ARRAY_SIZE(spec->gen.pcm_rec); i++) { gen 577 sound/pci/hda/patch_via.c struct hda_pcm *info = spec->gen.pcm_rec[i]; gen 603 sound/pci/hda/patch_via.c spec->gen.mixer_nid = 0x17; gen 611 sound/pci/hda/patch_via.c spec->gen.suppress_auto_mic = 1; gen 613 sound/pci/hda/patch_via.c spec->gen.auto_mute_via_amp = 1; gen 629 sound/pci/hda/patch_via.c if (!snd_hda_gen_add_kctl(&spec->gen, NULL, &vt1708_jack_detect_ctl)) { gen 654 sound/pci/hda/patch_via.c spec->gen.mixer_nid = 0x18; gen 681 sound/pci/hda/patch_via.c spec->gen.mixer_nid = 0x16; gen 726 sound/pci/hda/patch_via.c spec->gen.mixer_nid = 0x16; gen 773 sound/pci/hda/patch_via.c spec->gen.mixer_nid = 0x1a; gen 819 sound/pci/hda/patch_via.c if (!spec->gen.mixer_nid) gen 821 sound/pci/hda/patch_via.c nums = snd_hda_get_connections(codec, spec->gen.mixer_nid, conn, gen 835 sound/pci/hda/patch_via.c spec->gen.mixer_nid, gen 853 sound/pci/hda/patch_via.c spec->gen.mixer_nid = 0x21; gen 950 sound/pci/hda/patch_via.c spec->gen.mixer_nid = 0x16; gen 963 sound/pci/hda/patch_via.c if (!snd_hda_gen_add_kctl(&spec->gen, NULL, &vt1716s_dmic_mixer_vol) || gen 964 sound/pci/hda/patch_via.c !snd_hda_gen_add_kctl(&spec->gen, NULL, &vt1716s_dmic_mixer_sw) || gen 965 sound/pci/hda/patch_via.c !snd_hda_gen_add_kctl(&spec->gen, NULL, &vt1716S_mono_out_mixer)) { gen 1059 sound/pci/hda/patch_via.c spec->gen.mixer_nid = 0x21; gen 1109 sound/pci/hda/patch_via.c spec->gen.mixer_nid = 0x21; gen 1152 sound/pci/hda/patch_via.c spec->gen.mixer_nid = 0x3f; gen 33 sound/soc/sh/rcar/gen.c #define rsnd_priv_to_gen(p) ((struct rsnd_gen *)(p)->gen) gen 34 sound/soc/sh/rcar/gen.c #define rsnd_reg_name(gen, id) ((gen)->reg_name[id]) gen 62 sound/soc/sh/rcar/gen.c struct rsnd_gen *gen, enum rsnd_reg reg) gen 64 sound/soc/sh/rcar/gen.c if (!gen->regs[reg]) { gen 86 sound/soc/sh/rcar/gen.c struct rsnd_gen *gen = rsnd_priv_to_gen(priv); gen 89 sound/soc/sh/rcar/gen.c if (!rsnd_is_accessible_reg(priv, gen, reg)) gen 92 sound/soc/sh/rcar/gen.c regmap_fields_read(gen->regs[reg], rsnd_mod_id_cmd(mod), &val); gen 96 sound/soc/sh/rcar/gen.c rsnd_reg_name(gen, reg), reg, val); gen 106 sound/soc/sh/rcar/gen.c struct rsnd_gen *gen = rsnd_priv_to_gen(priv); gen 108 sound/soc/sh/rcar/gen.c if (!rsnd_is_accessible_reg(priv, gen, reg)) gen 111 sound/soc/sh/rcar/gen.c regmap_fields_force_write(gen->regs[reg], rsnd_mod_id_cmd(mod), data); gen 115 sound/soc/sh/rcar/gen.c rsnd_reg_name(gen, reg), reg, data); gen 123 sound/soc/sh/rcar/gen.c struct rsnd_gen *gen = rsnd_priv_to_gen(priv); gen 125 sound/soc/sh/rcar/gen.c if (!rsnd_is_accessible_reg(priv, gen, reg)) gen 128 sound/soc/sh/rcar/gen.c regmap_fields_force_update_bits(gen->regs[reg], gen 133 sound/soc/sh/rcar/gen.c rsnd_reg_name(gen, reg), reg, data, mask); gen 139 sound/soc/sh/rcar/gen.c struct rsnd_gen *gen = rsnd_priv_to_gen(priv); gen 141 sound/soc/sh/rcar/gen.c return gen->res[reg_id]; gen 154 sound/soc/sh/rcar/gen.c struct rsnd_gen *gen = rsnd_priv_to_gen(priv); gen 185 sound/soc/sh/rcar/gen.c gen->base[reg_id] = base; gen 186 sound/soc/sh/rcar/gen.c gen->regmap[reg_id] = regmap; gen 187 sound/soc/sh/rcar/gen.c gen->res[reg_id] = res->start; gen 202 sound/soc/sh/rcar/gen.c gen->regs[conf[i].idx] = regs; gen 203 sound/soc/sh/rcar/gen.c gen->reg_name[conf[i].idx] = conf[i].reg_name; gen 455 sound/soc/sh/rcar/gen.c struct rsnd_gen *gen; gen 458 sound/soc/sh/rcar/gen.c gen = devm_kzalloc(dev, sizeof(*gen), GFP_KERNEL); gen 459 sound/soc/sh/rcar/gen.c if (!gen) gen 462 sound/soc/sh/rcar/gen.c priv->gen = gen; gen 623 sound/soc/sh/rcar/rsnd.h void *gen; gen 2381 virt/kvm/arm/mmu.c void kvm_arch_memslots_updated(struct kvm *kvm, u64 gen) gen 951 virt/kvm/kvm_main.c u64 gen = old_memslots->generation; gen 953 virt/kvm/kvm_main.c WARN_ON(gen & KVM_MEMSLOT_GEN_UPDATE_IN_PROGRESS); gen 954 virt/kvm/kvm_main.c slots->generation = gen | KVM_MEMSLOT_GEN_UPDATE_IN_PROGRESS; gen 965 virt/kvm/kvm_main.c gen = slots->generation & ~KVM_MEMSLOT_GEN_UPDATE_IN_PROGRESS; gen 974 virt/kvm/kvm_main.c gen += KVM_ADDRESS_SPACE_NUM; gen 976 virt/kvm/kvm_main.c kvm_arch_memslots_updated(kvm, gen); gen 978 virt/kvm/kvm_main.c slots->generation = gen; gen 1833 virt/kvm/kvm_main.c struct gfn_to_pfn_cache *cache, u64 gen) gen 1840 virt/kvm/kvm_main.c cache->generation = gen; gen 1852 virt/kvm/kvm_main.c u64 gen = slots->generation; gen 1859 virt/kvm/kvm_main.c cache->generation != gen) { gen 1862 virt/kvm/kvm_main.c kvm_cache_gfn_to_pfn(slot, gfn, cache, gen);