ctl 74 arch/alpha/kernel/sys_marvel.c volatile unsigned long *ctl; ctl 97 arch/alpha/kernel/sys_marvel.c ctl = &io7->csrs->PO7_LSI_CTL[irq & 0xff].csr; /* assume LSI */ ctl 99 arch/alpha/kernel/sys_marvel.c ctl = &io7->csrs->PO7_MSI_CTL[((irq - 0x80) >> 5) & 0x0f].csr; ctl 102 arch/alpha/kernel/sys_marvel.c return ctl; ctl 108 arch/alpha/kernel/sys_marvel.c volatile unsigned long *ctl; ctl 112 arch/alpha/kernel/sys_marvel.c ctl = io7_get_irq_ctl(irq, &io7); ctl 113 arch/alpha/kernel/sys_marvel.c if (!ctl || !io7) { ctl 120 arch/alpha/kernel/sys_marvel.c *ctl |= 1UL << 24; ctl 122 arch/alpha/kernel/sys_marvel.c *ctl; ctl 129 arch/alpha/kernel/sys_marvel.c volatile unsigned long *ctl; ctl 133 arch/alpha/kernel/sys_marvel.c ctl = io7_get_irq_ctl(irq, &io7); ctl 134 arch/alpha/kernel/sys_marvel.c if (!ctl || !io7) { ctl 141 arch/alpha/kernel/sys_marvel.c *ctl &= ~(1UL << 24); ctl 143 arch/alpha/kernel/sys_marvel.c *ctl; ctl 24 arch/alpha/oprofile/op_model_ev4.c unsigned long ctl = 0, count, hilo; ctl 39 arch/alpha/oprofile/op_model_ev4.c ctl |= (ctr[0].enabled ? ctr[0].event << 8 : 14 << 8); ctl 40 arch/alpha/oprofile/op_model_ev4.c ctl |= (ctr[1].enabled ? (ctr[1].event - 16) << 32 : 7ul << 32); ctl 54 arch/alpha/oprofile/op_model_ev4.c ctl |= (ctr[0].enabled && hilo) << 3; ctl 62 arch/alpha/oprofile/op_model_ev4.c ctl |= (ctr[1].enabled && hilo); ctl 64 arch/alpha/oprofile/op_model_ev4.c reg->mux_select = ctl; ctl 30 arch/alpha/oprofile/op_model_ev5.c int i, ctl, reset, need_reset; ctl 45 arch/alpha/oprofile/op_model_ev5.c ctl = 0; ctl 61 arch/alpha/oprofile/op_model_ev5.c ctl |= event << 31; ctl 65 arch/alpha/oprofile/op_model_ev5.c ctl |= (event - 24) << 4; ctl 67 arch/alpha/oprofile/op_model_ev5.c ctl |= (event - 40) << cbox1_ofs | 15 << 4; ctl 69 arch/alpha/oprofile/op_model_ev5.c ctl |= event - 48; ctl 71 arch/alpha/oprofile/op_model_ev5.c ctl |= (event - 64) << cbox2_ofs | 15; ctl 73 arch/alpha/oprofile/op_model_ev5.c reg->mux_select = ctl; ctl 78 arch/alpha/oprofile/op_model_ev5.c ctl = 0; ctl 79 arch/alpha/oprofile/op_model_ev5.c ctl |= !sys->enable_pal << 9; ctl 80 arch/alpha/oprofile/op_model_ev5.c ctl |= !sys->enable_kernel << 8; ctl 81 arch/alpha/oprofile/op_model_ev5.c ctl |= !sys->enable_user << 30; ctl 82 arch/alpha/oprofile/op_model_ev5.c reg->proc_mode = ctl; ctl 89 arch/alpha/oprofile/op_model_ev5.c ctl = reset = need_reset = 0; ctl 105 arch/alpha/oprofile/op_model_ev5.c ctl |= hilo << (8 - i*2); ctl 110 arch/alpha/oprofile/op_model_ev5.c reg->freq = ctl; ctl 24 arch/alpha/oprofile/op_model_ev6.c unsigned long ctl, reset, need_reset, i; ctl 28 arch/alpha/oprofile/op_model_ev6.c ctl = 0; ctl 30 arch/alpha/oprofile/op_model_ev6.c ctl |= (ctr[0].event & 1) << 4; ctl 32 arch/alpha/oprofile/op_model_ev6.c ctl |= (ctr[1].event - 2) & 15; ctl 33 arch/alpha/oprofile/op_model_ev6.c reg->mux_select = ctl; ctl 25 arch/alpha/oprofile/op_model_ev67.c unsigned long ctl, reset, need_reset, i; ctl 28 arch/alpha/oprofile/op_model_ev67.c ctl = 1UL << 4; /* Enable ProfileMe mode. */ ctl 33 arch/alpha/oprofile/op_model_ev67.c ctl |= (ctr[1].event & 3) << 2; ctl 36 arch/alpha/oprofile/op_model_ev67.c ctl |= 1UL << 2; ctl 38 arch/alpha/oprofile/op_model_ev67.c reg->mux_select = ctl; ctl 327 arch/arc/kernel/setup.c unsigned int ctl; ctl 328 arch/arc/kernel/setup.c ctl = read_aux_reg(ARC_REG_LPB_CTRL); ctl 332 arch/arc/kernel/setup.c IS_DISABLED_RUN(!ctl)); ctl 379 arch/arc/kernel/setup.c struct ctl_erp ctl; ctl 380 arch/arc/kernel/setup.c READ_BCR(ARC_REG_ERP_CTRL, ctl); ctl 384 arch/arc/kernel/setup.c IS_AVAIL3(erp.ic, !ctl.dpi, "IC "), ctl 385 arch/arc/kernel/setup.c IS_AVAIL3(erp.dc, !ctl.dpd, "DC "), ctl 386 arch/arc/kernel/setup.c IS_AVAIL3(erp.mmu, !ctl.mpd, "MMU ")); ctl 490 arch/arc/mm/cache.c const unsigned int ctl = ARC_REG_DC_CTRL; ctl 491 arch/arc/mm/cache.c write_aux_reg(ctl, read_aux_reg(ctl) | DC_CTRL_INV_MODE_FLUSH); ctl 499 arch/arc/mm/cache.c const unsigned int ctl = ARC_REG_DC_CTRL; ctl 500 arch/arc/mm/cache.c unsigned int val = read_aux_reg(ctl); ctl 515 arch/arc/mm/cache.c write_aux_reg(ctl, val); ctl 524 arch/arc/mm/cache.c const unsigned int ctl = ARC_REG_DC_CTRL; ctl 528 arch/arc/mm/cache.c while ((reg = read_aux_reg(ctl)) & DC_CTRL_FLUSH_STATUS) ctl 533 arch/arc/mm/cache.c write_aux_reg(ctl, reg & ~DC_CTRL_INV_MODE_FLUSH); ctl 93 arch/c6x/platforms/dscr.c struct devstate_ctl_reg *ctl; ctl 189 arch/c6x/platforms/dscr.c struct devstate_ctl_reg *ctl; ctl 203 arch/c6x/platforms/dscr.c ctl = info->ctl; ctl 206 arch/c6x/platforms/dscr.c if (ctl == NULL) ctl 209 arch/c6x/platforms/dscr.c ctl_shift = ctl->shift + ctl->nbits * (id - ctl->start_id); ctl 210 arch/c6x/platforms/dscr.c ctl_mask = ((1 << ctl->nbits) - 1) << ctl_shift; ctl 214 arch/c6x/platforms/dscr.c ctl_val = ctl->enable << ctl_shift; ctl 217 arch/c6x/platforms/dscr.c if (ctl->enable_only) ctl 219 arch/c6x/platforms/dscr.c ctl_val = ctl->disable << ctl_shift; ctl 227 arch/c6x/platforms/dscr.c val = soc_readl(dscr.base + ctl->reg); ctl 231 arch/c6x/platforms/dscr.c dscr_write(ctl->reg, val); ctl 496 arch/c6x/platforms/dscr.c dscr.devstate_info[j].ctl = r; ctl 178 arch/m68k/include/asm/amigahw.h unsigned short ctl; ctl 186 arch/mips/ath25/ar5312.c u32 ctl; ctl 191 arch/mips/ath25/ar5312.c ctl = __raw_readl(flashctl_base + AR5312_FLASHCTL0); ctl 192 arch/mips/ath25/ar5312.c ctl &= AR5312_FLASHCTL_MW; ctl 195 arch/mips/ath25/ar5312.c switch (ctl) { ctl 209 arch/mips/ath25/ar5312.c ctl |= AR5312_FLASHCTL_E | AR5312_FLASHCTL_AC_8M | AR5312_FLASHCTL_RBLE; ctl 210 arch/mips/ath25/ar5312.c ctl |= 0x01 << AR5312_FLASHCTL_IDCY_S; ctl 211 arch/mips/ath25/ar5312.c ctl |= 0x07 << AR5312_FLASHCTL_WST1_S; ctl 212 arch/mips/ath25/ar5312.c ctl |= 0x07 << AR5312_FLASHCTL_WST2_S; ctl 213 arch/mips/ath25/ar5312.c __raw_writel(ctl, flashctl_base + AR5312_FLASHCTL0); ctl 216 arch/mips/ath25/ar5312.c ctl = __raw_readl(flashctl_base + AR5312_FLASHCTL1); ctl 217 arch/mips/ath25/ar5312.c ctl &= ~(AR5312_FLASHCTL_E | AR5312_FLASHCTL_AC); ctl 218 arch/mips/ath25/ar5312.c __raw_writel(ctl, flashctl_base + AR5312_FLASHCTL1); ctl 219 arch/mips/ath25/ar5312.c ctl = __raw_readl(flashctl_base + AR5312_FLASHCTL2); ctl 220 arch/mips/ath25/ar5312.c ctl &= ~(AR5312_FLASHCTL_E | AR5312_FLASHCTL_AC); ctl 221 arch/mips/ath25/ar5312.c __raw_writel(ctl, flashctl_base + AR5312_FLASHCTL2); ctl 22 arch/mips/include/asm/mach-lantiq/xway/xway_dma.h u32 ctl; ctl 56 arch/mips/include/asm/mach-rc32434/rb.h u32 ctl; ctl 219 arch/mips/include/asm/mips-gic.h GIC_VX_ACCESSOR_RW(32, 0x000, ctl) ctl 1364 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t ctl:32; ctl 1366 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t ctl:32; ctl 255 arch/mips/include/asm/octeon/cvmx-ciu3-defs.h uint64_t ctl : 3; ctl 257 arch/mips/include/asm/octeon/cvmx-ciu3-defs.h uint64_t ctl : 3; ctl 1218 arch/mips/include/asm/octeon/cvmx-fpa-defs.h uint64_t ctl:16; ctl 1220 arch/mips/include/asm/octeon/cvmx-fpa-defs.h uint64_t ctl:16; ctl 56 arch/mips/include/asm/txx9/tx4939.h struct tx4939_le_reg ctl[47]; ctl 312 arch/mips/sgi-ip22/ip28-berr.c u32 ctl = sgimc->dma_ctrl; ctl 313 arch/mips/sgi-ip22/ip28-berr.c if (ctl & 1) { ctl 314 arch/mips/sgi-ip22/ip28-berr.c unsigned int pgsz = (ctl & 2) ? 14:12; /* 16k:4k */ ctl 50 arch/powerpc/platforms/85xx/xes_mpc85xx.c volatile uint32_t ctl, tmp; ctl 61 arch/powerpc/platforms/85xx/xes_mpc85xx.c ctl = MPC85xx_L2CTL_L2E | MPC85xx_L2CTL_L2I; ctl 68 arch/powerpc/platforms/85xx/xes_mpc85xx.c ctl |= (tmp & MPC85xx_L2CTL_L2SIZ_MASK) >> 2; ctl 71 arch/powerpc/platforms/85xx/xes_mpc85xx.c out_be32(l2_base, ctl); ctl 38 arch/powerpc/sysdev/fsl_85xx_cache_ctlr.h u32 ctl; /* 0x000 - L2 control */ ctl 110 arch/powerpc/sysdev/fsl_85xx_l2ctlr.c clrsetbits_be32(&l2ctlr->ctl, L2CR_L2E, L2CR_L2FI); ctl 114 arch/powerpc/sysdev/fsl_85xx_l2ctlr.c setbits32(&l2ctlr->ctl, ctl 119 arch/powerpc/sysdev/fsl_85xx_l2ctlr.c setbits32(&l2ctlr->ctl, ctl 124 arch/powerpc/sysdev/fsl_85xx_l2ctlr.c setbits32(&l2ctlr->ctl, ctl 130 arch/powerpc/sysdev/fsl_85xx_l2ctlr.c setbits32(&l2ctlr->ctl, ctl 53 arch/s390/appldata/appldata_base.c static int appldata_timer_handler(struct ctl_table *ctl, int write, ctl 55 arch/s390/appldata/appldata_base.c static int appldata_interval_handler(struct ctl_table *ctl, int write, ctl 219 arch/s390/appldata/appldata_base.c appldata_timer_handler(struct ctl_table *ctl, int write, ctl 225 arch/s390/appldata/appldata_base.c .procname = ctl->procname, ctl 252 arch/s390/appldata/appldata_base.c appldata_interval_handler(struct ctl_table *ctl, int write, ctl 258 arch/s390/appldata/appldata_base.c .procname = ctl->procname, ctl 282 arch/s390/appldata/appldata_base.c appldata_generic_handler(struct ctl_table *ctl, int write, ctl 300 arch/s390/appldata/appldata_base.c if (&tmp_ops->ctl_table[2] == ctl) { ctl 308 arch/s390/appldata/appldata_base.c ops = ctl->data; ctl 178 arch/s390/include/asm/cpu_mf.h static inline int lcctl(u64 ctl) ctl 186 arch/s390/include/asm/cpu_mf.h : "=d" (cc) : "Q" (ctl) : "cc"); ctl 137 arch/s390/include/asm/pci_insn.h int __zpci_set_irq_ctrl(u16 ctl, u8 isc, union zpci_sic_iib *iib); ctl 139 arch/s390/include/asm/pci_insn.h static inline int zpci_set_irq_ctrl(u16 ctl, u8 isc) ctl 143 arch/s390/include/asm/pci_insn.h return __zpci_set_irq_ctrl(ctl, isc, &iib); ctl 586 arch/s390/kernel/topology.c static int topology_ctl_handler(struct ctl_table *ctl, int write, ctl 593 arch/s390/kernel/topology.c .procname = ctl->procname, ctl 249 arch/s390/mm/cmm.c static int cmm_pages_handler(struct ctl_table *ctl, int write, ctl 254 arch/s390/mm/cmm.c .procname = ctl->procname, ctl 268 arch/s390/mm/cmm.c static int cmm_timed_pages_handler(struct ctl_table *ctl, int write, ctl 274 arch/s390/mm/cmm.c .procname = ctl->procname, ctl 288 arch/s390/mm/cmm.c static int cmm_timeout_handler(struct ctl_table *ctl, int write, ctl 101 arch/s390/pci/pci_insn.c int __zpci_set_irq_ctrl(u16 ctl, u8 isc, union zpci_sic_iib *iib) ctl 108 arch/s390/pci/pci_insn.c : : [ctl] "d" (ctl), [isc] "d" (isc << 27), [iib] "Q" (*iib)); ctl 16 arch/sparc/include/asm/sbi.h /* 0x0004 */ u32 ctl; /* Control */ ctl 513 arch/x86/events/intel/pt.c u64 ctl = READ_ONCE(event->hw.config); ctl 516 arch/x86/events/intel/pt.c if (!(ctl & RTIT_CTL_TRACEEN)) ctl 519 arch/x86/events/intel/pt.c ctl &= ~RTIT_CTL_TRACEEN; ctl 521 arch/x86/events/intel/pt.c wrmsrl(MSR_IA32_RTIT_CTL, ctl); ctl 523 arch/x86/events/intel/pt.c WRITE_ONCE(event->hw.config, ctl); ctl 1583 arch/x86/events/intel/pt.c u64 ctl; ctl 1585 arch/x86/events/intel/pt.c ret = rdmsrl_safe_on_cpu(cpu, MSR_IA32_RTIT_CTL, &ctl); ctl 1586 arch/x86/events/intel/pt.c if (!ret && (ctl & RTIT_CTL_TRACEEN)) ctl 64 arch/x86/include/asm/gart.h u32 ctl; ctl 70 arch/x86/include/asm/gart.h ctl = order << 1; ctl 72 arch/x86/include/asm/gart.h pci_write_config_dword(dev, AMD64_GARTAPERTURECTL, ctl); ctl 77 arch/x86/include/asm/gart.h u32 tmp, ctl; ctl 86 arch/x86/include/asm/gart.h pci_read_config_dword(dev, AMD64_GARTAPERTURECTL, &ctl); ctl 87 arch/x86/include/asm/gart.h ctl |= GARTEN | DISTLBWALKPRB; ctl 88 arch/x86/include/asm/gart.h ctl &= ~(DISGARTCPU | DISGARTIO); ctl 89 arch/x86/include/asm/gart.h pci_write_config_dword(dev, AMD64_GARTAPERTURECTL, ctl); ctl 699 arch/x86/kernel/amd_gart_64.c u32 ctl; ctl 702 arch/x86/kernel/amd_gart_64.c pci_read_config_dword(dev, AMD64_GARTAPERTURECTL, &ctl); ctl 704 arch/x86/kernel/amd_gart_64.c ctl &= ~GARTEN; ctl 706 arch/x86/kernel/amd_gart_64.c pci_write_config_dword(dev, AMD64_GARTAPERTURECTL, ctl); ctl 292 arch/x86/kernel/aperture_64.c u32 ctl; ctl 319 arch/x86/kernel/aperture_64.c ctl = read_pci_config(bus, slot, 3, AMD64_GARTAPERTURECTL); ctl 320 arch/x86/kernel/aperture_64.c aper_enabled = ctl & GARTEN; ctl 321 arch/x86/kernel/aperture_64.c aper_order = (ctl >> 1) & 7; ctl 375 arch/x86/kernel/aperture_64.c ctl = read_pci_config(bus, slot, 3, AMD64_GARTAPERTURECTL); ctl 376 arch/x86/kernel/aperture_64.c ctl &= ~GARTEN; ctl 377 arch/x86/kernel/aperture_64.c write_pci_config(bus, slot, 3, AMD64_GARTAPERTURECTL, ctl); ctl 410 arch/x86/kernel/aperture_64.c u32 ctl; ctl 424 arch/x86/kernel/aperture_64.c ctl = read_pci_config(bus, slot, 3, ctl 433 arch/x86/kernel/aperture_64.c ctl &= ~GARTEN; ctl 434 arch/x86/kernel/aperture_64.c write_pci_config(bus, slot, 3, AMD64_GARTAPERTURECTL, ctl); ctl 436 arch/x86/kernel/aperture_64.c aper_order = (ctl >> 1) & 7; ctl 539 arch/x86/kernel/aperture_64.c u32 ctl = aper_order << 1; ctl 548 arch/x86/kernel/aperture_64.c write_pci_config(bus, slot, 3, AMD64_GARTAPERTURECTL, ctl); ctl 71 arch/x86/kernel/cpu/mce/core.c u64 ctl; /* subevents to enable */ ctl 238 arch/x86/kernel/cpu/mce/core.c .ctl = ctl_reg, ctl 714 arch/x86/kernel/cpu/mce/core.c if (!mce_banks[i].ctl || !test_bit(i, *b)) ctl 1158 arch/x86/kernel/cpu/mce/core.c if (!mce_banks[i].ctl) ctl 1505 arch/x86/kernel/cpu/mce/core.c b->ctl = -1ULL; ctl 1572 arch/x86/kernel/cpu/mce/core.c wrmsrl(msr_ops.ctl(i), b->ctl); ctl 1599 arch/x86/kernel/cpu/mce/core.c rdmsrl(msr_ops.ctl(i), msrval); ctl 1651 arch/x86/kernel/cpu/mce/core.c clear_bit(10, (unsigned long *)&mce_banks[4].ctl); ctl 1665 arch/x86/kernel/cpu/mce/core.c mce_banks[0].ctl = 0; ctl 1747 arch/x86/kernel/cpu/mce/core.c msr_ops.ctl = smca_ctl_reg; ctl 2016 arch/x86/kernel/cpu/mce/core.c wrmsrl(msr_ops.ctl(i), 0); ctl 2131 arch/x86/kernel/cpu/mce/core.c return sprintf(buf, "%llx\n", b->ctl); ctl 2152 arch/x86/kernel/cpu/mce/core.c b->ctl = new; ctl 2365 arch/x86/kernel/cpu/mce/core.c wrmsrl(msr_ops.ctl(i), b->ctl); ctl 158 arch/x86/kernel/cpu/mce/internal.h u32 (*ctl) (int bank); ctl 30 arch/x86/kernel/vsmp_64.c unsigned int cap, ctl, cfg; ctl 36 arch/x86/kernel/vsmp_64.c ctl = readl(address + 4); ctl 38 arch/x86/kernel/vsmp_64.c cap, ctl); ctl 42 arch/x86/kernel/vsmp_64.c if (cap & ctl & BIT(8)) { ctl 43 arch/x86/kernel/vsmp_64.c ctl &= ~BIT(8); ctl 52 arch/x86/kernel/vsmp_64.c writel(ctl, address + 4); ctl 53 arch/x86/kernel/vsmp_64.c ctl = readl(address + 4); ctl 54 arch/x86/kernel/vsmp_64.c pr_info("vSMP CTL: control set to:0x%08x\n", ctl); ctl 4405 arch/x86/kvm/vmx/nested.c vmx->pt_desc.guest.ctl = 0; ctl 1058 arch/x86/kvm/vmx/vmx.c rdmsrl(MSR_IA32_RTIT_CTL, vmx->pt_desc.host.ctl); ctl 1059 arch/x86/kvm/vmx/vmx.c if (vmx->pt_desc.guest.ctl & RTIT_CTL_TRACEEN) { ctl 1071 arch/x86/kvm/vmx/vmx.c if (vmx->pt_desc.guest.ctl & RTIT_CTL_TRACEEN) { ctl 1077 arch/x86/kvm/vmx/vmx.c wrmsrl(MSR_IA32_RTIT_CTL, vmx->pt_desc.host.ctl); ctl 1482 arch/x86/kvm/vmx/vmx.c if ((vmx->pt_desc.guest.ctl & RTIT_CTL_TRACEEN) && ctl 1483 arch/x86/kvm/vmx/vmx.c ((vmx->pt_desc.guest.ctl ^ data) & ~RTIT_CTL_TRACEEN)) ctl 1825 arch/x86/kvm/vmx/vmx.c msr_info->data = vmx->pt_desc.guest.ctl; ctl 2082 arch/x86/kvm/vmx/vmx.c vmx->pt_desc.guest.ctl = data; ctl 2087 arch/x86/kvm/vmx/vmx.c (vmx->pt_desc.guest.ctl & RTIT_CTL_TRACEEN) || ctl 2094 arch/x86/kvm/vmx/vmx.c (vmx->pt_desc.guest.ctl & RTIT_CTL_TRACEEN) || ctl 2102 arch/x86/kvm/vmx/vmx.c (vmx->pt_desc.guest.ctl & RTIT_CTL_TRACEEN) || ctl 2113 arch/x86/kvm/vmx/vmx.c (vmx->pt_desc.guest.ctl & RTIT_CTL_TRACEEN) || ctl 2124 arch/x86/kvm/vmx/vmx.c (vmx->pt_desc.guest.ctl & RTIT_CTL_TRACEEN) || ctl 2290 arch/x86/kvm/vmx/vmx.c u32 ctl = ctl_min | ctl_opt; ctl 2294 arch/x86/kvm/vmx/vmx.c ctl &= vmx_msr_high; /* bit == 0 in high word ==> must be zero */ ctl 2295 arch/x86/kvm/vmx/vmx.c ctl |= vmx_msr_low; /* bit == 1 in low word ==> must be one */ ctl 2298 arch/x86/kvm/vmx/vmx.c if (ctl_min & ~ctl) ctl 2301 arch/x86/kvm/vmx/vmx.c *result = ctl; ctl 3716 arch/x86/kvm/vmx/vmx.c bool flag = !(vmx->pt_desc.guest.ctl & RTIT_CTL_TRACEEN); ctl 73 arch/x86/kvm/vmx/vmx.h u64 ctl; ctl 135 arch/x86/oprofile/op_model_amd.c u64 val, ctl; ctl 142 arch/x86/oprofile/op_model_amd.c rdmsrl(MSR_AMD64_IBSFETCHCTL, ctl); ctl 143 arch/x86/oprofile/op_model_amd.c if (ctl & IBS_FETCH_VAL) { ctl 148 arch/x86/oprofile/op_model_amd.c oprofile_add_data64(&entry, ctl); ctl 154 arch/x86/oprofile/op_model_amd.c ctl &= ~(IBS_FETCH_VAL | IBS_FETCH_CNT); ctl 155 arch/x86/oprofile/op_model_amd.c ctl |= IBS_FETCH_ENABLE; ctl 156 arch/x86/oprofile/op_model_amd.c wrmsrl(MSR_AMD64_IBSFETCHCTL, ctl); ctl 161 arch/x86/oprofile/op_model_amd.c rdmsrl(MSR_AMD64_IBSOPCTL, ctl); ctl 162 arch/x86/oprofile/op_model_amd.c if (ctl & IBS_OP_VAL) { ctl 184 arch/x86/oprofile/op_model_amd.c ctl = op_amd_randomize_ibs_op(ibs_state.ibs_op_ctl); ctl 185 arch/x86/oprofile/op_model_amd.c wrmsrl(MSR_AMD64_IBSOPCTL, ctl); ctl 117 drivers/ata/acard-ahci.c u32 ctl; ctl 131 drivers/ata/acard-ahci.c ctl = readl(mmio + HOST_CTL); ctl 132 drivers/ata/acard-ahci.c ctl &= ~HOST_IRQ_EN; ctl 133 drivers/ata/acard-ahci.c writel(ctl, mmio + HOST_CTL); ctl 816 drivers/ata/ahci.c u32 ctl; ctl 822 drivers/ata/ahci.c ctl = readl(mmio + HOST_CTL); ctl 823 drivers/ata/ahci.c ctl &= ~HOST_IRQ_EN; ctl 824 drivers/ata/ahci.c writel(ctl, mmio + HOST_CTL); ctl 257 drivers/ata/ahci_brcm.c u32 ctl; ctl 268 drivers/ata/ahci_brcm.c ctl = readl(mmio + HOST_CTL); ctl 269 drivers/ata/ahci_brcm.c ctl &= ~HOST_IRQ_EN; ctl 270 drivers/ata/ahci_brcm.c writel(ctl, mmio + HOST_CTL); ctl 302 drivers/ata/ahci_brcm.c ctl = readl(mmio + HOST_CTL); ctl 303 drivers/ata/ahci_brcm.c ctl |= HOST_IRQ_EN; ctl 304 drivers/ata/ahci_brcm.c writel(ctl, mmio + HOST_CTL); ctl 1419 drivers/ata/libahci.c tf.ctl |= ATA_SRST; ctl 1431 drivers/ata/libahci.c tf.ctl &= ~ATA_SRST; ctl 725 drivers/ata/libahci_platform.c u32 ctl; ctl 737 drivers/ata/libahci_platform.c ctl = readl(mmio + HOST_CTL); ctl 738 drivers/ata/libahci_platform.c ctl &= ~HOST_IRQ_EN; ctl 739 drivers/ata/libahci_platform.c writel(ctl, mmio + HOST_CTL); ctl 561 drivers/ata/libata-core.c fis[15] = tf->ctl; ctl 280 drivers/ata/libata-sff.c static void ata_sff_set_devctl(struct ata_port *ap, u8 ctl) ctl 283 drivers/ata/libata-sff.c ap->ops->sff_set_devctl(ap, ctl); ctl 285 drivers/ata/libata-sff.c iowrite8(ctl, ap->ioaddr.ctl_addr); ctl 375 drivers/ata/libata-sff.c ap->ctl &= ~ATA_NIEN; ctl 376 drivers/ata/libata-sff.c ap->last_ctl = ap->ctl; ctl 379 drivers/ata/libata-sff.c ata_sff_set_devctl(ap, ap->ctl); ctl 402 drivers/ata/libata-sff.c if (tf->ctl != ap->last_ctl) { ctl 404 drivers/ata/libata-sff.c iowrite8(tf->ctl, ioaddr->ctl_addr); ctl 405 drivers/ata/libata-sff.c ap->last_ctl = tf->ctl; ctl 474 drivers/ata/libata-sff.c iowrite8(tf->ctl | ATA_HOB, ioaddr->ctl_addr); ctl 480 drivers/ata/libata-sff.c iowrite8(tf->ctl, ioaddr->ctl_addr); ctl 481 drivers/ata/libata-sff.c ap->last_ctl = tf->ctl; ctl 1670 drivers/ata/libata-sff.c ap->ctl |= ATA_NIEN; ctl 1671 drivers/ata/libata-sff.c ap->last_ctl = ap->ctl; ctl 1674 drivers/ata/libata-sff.c ata_sff_set_devctl(ap, ap->ctl); ctl 1948 drivers/ata/libata-sff.c iowrite8(ap->ctl, ioaddr->ctl_addr); ctl 1950 drivers/ata/libata-sff.c iowrite8(ap->ctl | ATA_SRST, ioaddr->ctl_addr); ctl 1952 drivers/ata/libata-sff.c iowrite8(ap->ctl, ioaddr->ctl_addr); ctl 1953 drivers/ata/libata-sff.c ap->last_ctl = ap->ctl; ctl 2080 drivers/ata/libata-sff.c ata_sff_set_devctl(ap, ap->ctl); ctl 2081 drivers/ata/libata-sff.c ap->last_ctl = ap->ctl; ctl 3258 drivers/ata/libata-sff.c ap->ctl = ATA_DEVCTL_OBS; ctl 204 drivers/ata/pata_buddha.c unsigned long ctl = 0; ctl 209 drivers/ata/pata_buddha.c ctl = BUDDHA_CONTROL; ctl 232 drivers/ata/pata_buddha.c if (ctl) { ctl 233 drivers/ata/pata_buddha.c ap->ioaddr.altstatus_addr = base + ctl; ctl 234 drivers/ata/pata_buddha.c ap->ioaddr.ctl_addr = base + ctl; ctl 240 drivers/ata/pata_buddha.c ctl ? board + buddha_bases[i] + ctl : 0); ctl 379 drivers/ata/pata_ep93xx.c if (tf->ctl != ap->last_ctl) { ctl 380 drivers/ata/pata_ep93xx.c ep93xx_pata_write_reg(drv_data, tf->ctl, IDECTRL_ADDR_CTL); ctl 381 drivers/ata/pata_ep93xx.c ap->last_ctl = tf->ctl; ctl 428 drivers/ata/pata_ep93xx.c ep93xx_pata_write_reg(drv_data, tf->ctl | ATA_HOB, ctl 440 drivers/ata/pata_ep93xx.c ep93xx_pata_write_reg(drv_data, tf->ctl, IDECTRL_ADDR_CTL); ctl 441 drivers/ata/pata_ep93xx.c ap->last_ctl = tf->ctl; ctl 470 drivers/ata/pata_ep93xx.c static void ep93xx_pata_set_devctl(struct ata_port *ap, u8 ctl) ctl 474 drivers/ata/pata_ep93xx.c ep93xx_pata_write_reg(drv_data, ctl, IDECTRL_ADDR_CTL); ctl 617 drivers/ata/pata_ep93xx.c ep93xx_pata_write_reg(drv_data, ap->ctl, IDECTRL_ADDR_CTL); ctl 619 drivers/ata/pata_ep93xx.c ep93xx_pata_write_reg(drv_data, ap->ctl | ATA_SRST, IDECTRL_ADDR_CTL); ctl 621 drivers/ata/pata_ep93xx.c ep93xx_pata_write_reg(drv_data, ap->ctl, IDECTRL_ADDR_CTL); ctl 622 drivers/ata/pata_ep93xx.c ap->last_ctl = ap->ctl; ctl 667 drivers/ata/pata_it821x.c ap->ctl |= ATA_NIEN; ctl 668 drivers/ata/pata_it821x.c iowrite8(ap->ctl, ap->ioaddr.ctl_addr); ctl 159 drivers/ata/pata_mpiix.c int cmd, ctl, irq; ctl 179 drivers/ata/pata_mpiix.c ctl = 0x3F6; ctl 183 drivers/ata/pata_mpiix.c ctl = 0x376; ctl 188 drivers/ata/pata_mpiix.c ctl_addr = devm_ioport_map(&dev->dev, ctl, 1); ctl 192 drivers/ata/pata_mpiix.c ata_port_desc(ap, "cmd 0x%x ctl 0x%x", cmd, ctl); ctl 277 drivers/ata/pata_ns87415.c iowrite8(tf->ctl | ATA_HOB, ioaddr->ctl_addr); ctl 283 drivers/ata/pata_ns87415.c iowrite8(tf->ctl, ioaddr->ctl_addr); ctl 284 drivers/ata/pata_ns87415.c ap->last_ctl = tf->ctl; ctl 405 drivers/ata/pata_octeon_cf.c iowrite8(tf->ctl | ATA_HOB, ap->ioaddr.ctl_addr); ctl 418 drivers/ata/pata_octeon_cf.c iowrite8(tf->ctl, ap->ioaddr.ctl_addr); ctl 419 drivers/ata/pata_octeon_cf.c ap->last_ctl = tf->ctl; ctl 444 drivers/ata/pata_octeon_cf.c __raw_writew(ap->ctl, base + 0xe); ctl 446 drivers/ata/pata_octeon_cf.c __raw_writew(ap->ctl | ATA_SRST, base + 0xe); ctl 448 drivers/ata/pata_octeon_cf.c __raw_writew(ap->ctl, base + 0xe); ctl 473 drivers/ata/pata_octeon_cf.c if (tf->ctl != ap->last_ctl) { ctl 474 drivers/ata/pata_octeon_cf.c iowrite8(tf->ctl, ap->ioaddr.ctl_addr); ctl 475 drivers/ata/pata_octeon_cf.c ap->last_ctl = tf->ctl; ctl 181 drivers/ata/pata_samsung_cf.c if (tf->ctl != ap->last_ctl) { ctl 182 drivers/ata/pata_samsung_cf.c ata_outb(ap->host, tf->ctl, ioaddr->ctl_addr); ctl 183 drivers/ata/pata_samsung_cf.c ap->last_ctl = tf->ctl; ctl 224 drivers/ata/pata_samsung_cf.c ata_outb(ap->host, tf->ctl | ATA_HOB, ioaddr->ctl_addr); ctl 230 drivers/ata/pata_samsung_cf.c ata_outb(ap->host, tf->ctl, ioaddr->ctl_addr); ctl 231 drivers/ata/pata_samsung_cf.c ap->last_ctl = tf->ctl; ctl 367 drivers/ata/pata_samsung_cf.c ata_outb(ap->host, ap->ctl, ioaddr->ctl_addr); ctl 369 drivers/ata/pata_samsung_cf.c ata_outb(ap->host, ap->ctl | ATA_SRST, ioaddr->ctl_addr); ctl 371 drivers/ata/pata_samsung_cf.c ata_outb(ap->host, ap->ctl, ioaddr->ctl_addr); ctl 372 drivers/ata/pata_samsung_cf.c ap->last_ctl = ap->ctl; ctl 413 drivers/ata/pata_samsung_cf.c static void pata_s3c_set_devctl(struct ata_port *ap, u8 ctl) ctl 415 drivers/ata/pata_samsung_cf.c ata_outb(ap->host, ctl, ap->ioaddr.ctl_addr); ctl 397 drivers/ata/pata_via.c if (tf->ctl != ap->last_ctl) { ctl 398 drivers/ata/pata_via.c iowrite8(tf->ctl, ioaddr->ctl_addr); ctl 399 drivers/ata/pata_via.c ap->last_ctl = tf->ctl; ctl 967 drivers/ata/sata_fsl.c tf.ctl |= ATA_SRST; /* setup SRST bit in taskfile control reg */ ctl 1016 drivers/ata/sata_fsl.c tf.ctl &= ~ATA_SRST; /* 2nd H2D Ctl. register FIS */ ctl 573 drivers/ata/sata_highbank.c u32 ctl; ctl 586 drivers/ata/sata_highbank.c ctl = readl(mmio + HOST_CTL); ctl 587 drivers/ata/sata_highbank.c ctl &= ~HOST_IRQ_EN; ctl 588 drivers/ata/sata_highbank.c writel(ctl, mmio + HOST_CTL); ctl 213 drivers/ata/sata_inic162x.c u8 ctl; /* ATA Control */ ctl 69 drivers/ata/sata_promise.h buf[15] = tf->ctl; ctl 275 drivers/ata/sata_rcar.c static void sata_rcar_set_devctl(struct ata_port *ap, u8 ctl) ctl 277 drivers/ata/sata_rcar.c iowrite32(ctl, ap->ioaddr.ctl_addr); ctl 329 drivers/ata/sata_rcar.c iowrite32(ap->ctl, ioaddr->ctl_addr); ctl 331 drivers/ata/sata_rcar.c iowrite32(ap->ctl | ATA_SRST, ioaddr->ctl_addr); ctl 333 drivers/ata/sata_rcar.c iowrite32(ap->ctl, ioaddr->ctl_addr); ctl 334 drivers/ata/sata_rcar.c ap->last_ctl = ap->ctl; ctl 374 drivers/ata/sata_rcar.c if (tf->ctl != ap->last_ctl) { ctl 375 drivers/ata/sata_rcar.c iowrite32(tf->ctl, ioaddr->ctl_addr); ctl 376 drivers/ata/sata_rcar.c ap->last_ctl = tf->ctl; ctl 429 drivers/ata/sata_rcar.c iowrite32(tf->ctl | ATA_HOB, ioaddr->ctl_addr); ctl 435 drivers/ata/sata_rcar.c iowrite32(tf->ctl, ioaddr->ctl_addr); ctl 436 drivers/ata/sata_rcar.c ap->last_ctl = tf->ctl; ctl 222 drivers/ata/sata_sil.c unsigned long ctl; /* ATA control/altstatus register block */ ctl 772 drivers/ata/sata_sil.c ioaddr->ctl_addr = mmio_base + sil_port[i].ctl; ctl 163 drivers/ata/sata_svw.c if (tf->ctl != ap->last_ctl) { ctl 164 drivers/ata/sata_svw.c writeb(tf->ctl, ioaddr->ctl_addr); ctl 165 drivers/ata/sata_svw.c ap->last_ctl = tf->ctl; ctl 391 drivers/ata/sata_sx4.c buf[i++] = tf->ctl; ctl 293 drivers/ata/sata_via.c if (tf->ctl != ap->last_ctl) { ctl 126 drivers/ata/sata_vsc.c static void vsc_intr_mask_update(struct ata_port *ap, u8 ctl) ctl 134 drivers/ata/sata_vsc.c if (ctl & ATA_NIEN) ctl 153 drivers/ata/sata_vsc.c if ((tf->ctl & ATA_NIEN) != (ap->last_ctl & ATA_NIEN)) { ctl 154 drivers/ata/sata_vsc.c ap->last_ctl = tf->ctl; ctl 155 drivers/ata/sata_vsc.c vsc_intr_mask_update(ap, tf->ctl & ATA_NIEN); ctl 3497 drivers/cdrom/cdrom.c static int cdrom_sysctl_info(struct ctl_table *ctl, int write, ctl 3574 drivers/cdrom/cdrom.c return proc_dostring(ctl, write, buffer, lenp, ppos); ctl 3610 drivers/cdrom/cdrom.c static int cdrom_sysctl_handler(struct ctl_table *ctl, int write, ctl 3615 drivers/cdrom/cdrom.c ret = proc_dointvec(ctl, write, buffer, lenp, ppos); ctl 306 drivers/char/hw_random/n2-drv.c static u64 n2rng_control_default(struct n2rng *np, int ctl) ctl 315 drivers/char/hw_random/n2-drv.c switch (ctl) { ctl 337 drivers/char/hw_random/n2-drv.c switch (ctl) { ctl 30 drivers/char/hw_random/octeon-rng.c union cvmx_rnm_ctl_status ctl; ctl 33 drivers/char/hw_random/octeon-rng.c ctl.u64 = 0; ctl 34 drivers/char/hw_random/octeon-rng.c ctl.s.ent_en = 1; /* Enable the entropy source. */ ctl 35 drivers/char/hw_random/octeon-rng.c ctl.s.rng_en = 1; /* Enable the RNG hardware. */ ctl 36 drivers/char/hw_random/octeon-rng.c cvmx_write_csr((u64)p->control_status, ctl.u64); ctl 42 drivers/char/hw_random/octeon-rng.c union cvmx_rnm_ctl_status ctl; ctl 45 drivers/char/hw_random/octeon-rng.c ctl.u64 = 0; ctl 47 drivers/char/hw_random/octeon-rng.c cvmx_write_csr((u64)p->control_status, ctl.u64); ctl 59 drivers/char/hw_random/pasemi-rng.c u32 ctl; ctl 61 drivers/char/hw_random/pasemi-rng.c ctl = SDCRNG_CTL_DR | SDCRNG_CTL_SELECT_RRG_RNG | SDCRNG_CTL_KSZ; ctl 62 drivers/char/hw_random/pasemi-rng.c out_le32(rng_regs + SDCRNG_CTL_REG, ctl); ctl 63 drivers/char/hw_random/pasemi-rng.c out_le32(rng_regs + SDCRNG_CTL_REG, ctl & ~SDCRNG_CTL_DR); ctl 71 drivers/char/hw_random/pasemi-rng.c u32 ctl; ctl 73 drivers/char/hw_random/pasemi-rng.c ctl = SDCRNG_CTL_RE | SDCRNG_CTL_CE; ctl 75 drivers/char/hw_random/pasemi-rng.c in_le32(rng_regs + SDCRNG_CTL_REG) & ~ctl); ctl 63 drivers/char/ipmi/kcs_bmc_npcm7xx.c u32 ctl; ctl 74 drivers/char/ipmi/kcs_bmc_npcm7xx.c { .sts = KCS1ST, .dob = KCS1DO, .dib = KCS1DI, .ctl = KCS1CTL, .ie = KCS1IE }, ctl 75 drivers/char/ipmi/kcs_bmc_npcm7xx.c { .sts = KCS2ST, .dob = KCS2DO, .dib = KCS2DI, .ctl = KCS2CTL, .ie = KCS2IE }, ctl 76 drivers/char/ipmi/kcs_bmc_npcm7xx.c { .sts = KCS3ST, .dob = KCS3DO, .dib = KCS3DI, .ctl = KCS3CTL, .ie = KCS3IE }, ctl 104 drivers/char/ipmi/kcs_bmc_npcm7xx.c regmap_update_bits(priv->map, priv->reg->ctl, KCS_CTL_IBFIE, ctl 1067 drivers/clk/bcm/clk-bcm2835.c u32 ctl; ctl 1079 drivers/clk/bcm/clk-bcm2835.c ctl = cprman_read(cprman, data->ctl_reg) & ~CM_FRAC; ctl 1080 drivers/clk/bcm/clk-bcm2835.c ctl |= (div & CM_DIV_FRAC_MASK) ? CM_FRAC : 0; ctl 1081 drivers/clk/bcm/clk-bcm2835.c cprman_write(cprman, data->ctl_reg, ctl); ctl 80 drivers/clk/ingenic/cgu.c u32 ctl; ctl 87 drivers/clk/ingenic/cgu.c ctl = readl(cgu->base + pll_info->reg); ctl 90 drivers/clk/ingenic/cgu.c m = (ctl >> pll_info->m_shift) & GENMASK(pll_info->m_bits - 1, 0); ctl 92 drivers/clk/ingenic/cgu.c n = (ctl >> pll_info->n_shift) & GENMASK(pll_info->n_bits - 1, 0); ctl 94 drivers/clk/ingenic/cgu.c od_enc = ctl >> pll_info->od_shift; ctl 97 drivers/clk/ingenic/cgu.c !!(ctl & BIT(pll_info->bypass_bit)); ctl 177 drivers/clk/ingenic/cgu.c u32 ctl; ctl 186 drivers/clk/ingenic/cgu.c ctl = readl(cgu->base + pll_info->reg); ctl 188 drivers/clk/ingenic/cgu.c ctl &= ~(GENMASK(pll_info->m_bits - 1, 0) << pll_info->m_shift); ctl 189 drivers/clk/ingenic/cgu.c ctl |= (m - pll_info->m_offset) << pll_info->m_shift; ctl 191 drivers/clk/ingenic/cgu.c ctl &= ~(GENMASK(pll_info->n_bits - 1, 0) << pll_info->n_shift); ctl 192 drivers/clk/ingenic/cgu.c ctl |= (n - pll_info->n_offset) << pll_info->n_shift; ctl 194 drivers/clk/ingenic/cgu.c ctl &= ~(GENMASK(pll_info->od_bits - 1, 0) << pll_info->od_shift); ctl 195 drivers/clk/ingenic/cgu.c ctl |= pll_info->od_encoding[od - 1] << pll_info->od_shift; ctl 197 drivers/clk/ingenic/cgu.c writel(ctl, cgu->base + pll_info->reg); ctl 212 drivers/clk/ingenic/cgu.c u32 ctl; ctl 215 drivers/clk/ingenic/cgu.c ctl = readl(cgu->base + pll_info->reg); ctl 217 drivers/clk/ingenic/cgu.c ctl &= ~BIT(pll_info->bypass_bit); ctl 218 drivers/clk/ingenic/cgu.c ctl |= BIT(pll_info->enable_bit); ctl 220 drivers/clk/ingenic/cgu.c writel(ctl, cgu->base + pll_info->reg); ctl 224 drivers/clk/ingenic/cgu.c ctl = readl(cgu->base + pll_info->reg); ctl 225 drivers/clk/ingenic/cgu.c if (ctl & BIT(pll_info->stable_bit)) ctl 245 drivers/clk/ingenic/cgu.c u32 ctl; ctl 248 drivers/clk/ingenic/cgu.c ctl = readl(cgu->base + pll_info->reg); ctl 250 drivers/clk/ingenic/cgu.c ctl &= ~BIT(pll_info->enable_bit); ctl 252 drivers/clk/ingenic/cgu.c writel(ctl, cgu->base + pll_info->reg); ctl 263 drivers/clk/ingenic/cgu.c u32 ctl; ctl 266 drivers/clk/ingenic/cgu.c ctl = readl(cgu->base + pll_info->reg); ctl 269 drivers/clk/ingenic/cgu.c return !!(ctl & BIT(pll_info->enable_bit)); ctl 456 drivers/clk/qcom/clk-alpha-pll.c u32 l, low, high, ctl; ctl 463 drivers/clk/qcom/clk-alpha-pll.c regmap_read(pll->clkr.regmap, PLL_USER_CTL(pll), &ctl); ctl 464 drivers/clk/qcom/clk-alpha-pll.c if (ctl & PLL_ALPHA_EN) { ctl 657 drivers/clk/qcom/clk-alpha-pll.c u32 l, alpha = 0, ctl, alpha_m, alpha_n; ctl 660 drivers/clk/qcom/clk-alpha-pll.c regmap_read(pll->clkr.regmap, PLL_USER_CTL(pll), &ctl); ctl 662 drivers/clk/qcom/clk-alpha-pll.c if (ctl & PLL_ALPHA_EN) { ctl 681 drivers/clk/qcom/clk-alpha-pll.c if (!(ctl & PLL_ALPHA_MODE)) ctl 710 drivers/clk/qcom/clk-alpha-pll.c u32 l, a, ctl, cur_alpha = 0; ctl 714 drivers/clk/qcom/clk-alpha-pll.c regmap_read(pll->clkr.regmap, PLL_USER_CTL(pll), &ctl); ctl 716 drivers/clk/qcom/clk-alpha-pll.c if (ctl & PLL_ALPHA_EN) ctl 924 drivers/clk/qcom/clk-alpha-pll.c u32 ctl; ctl 926 drivers/clk/qcom/clk-alpha-pll.c regmap_read(pll->clkr.regmap, PLL_USER_CTL(pll), &ctl); ctl 928 drivers/clk/qcom/clk-alpha-pll.c ctl >>= PLL_POST_DIV_SHIFT; ctl 929 drivers/clk/qcom/clk-alpha-pll.c ctl &= PLL_POST_DIV_MASK(pll); ctl 931 drivers/clk/qcom/clk-alpha-pll.c return parent_rate >> fls(ctl); ctl 971 drivers/clk/qcom/clk-alpha-pll.c u32 ctl, div; ctl 973 drivers/clk/qcom/clk-alpha-pll.c regmap_read(pll->clkr.regmap, PLL_USER_CTL(pll), &ctl); ctl 975 drivers/clk/qcom/clk-alpha-pll.c ctl >>= PLL_POST_DIV_SHIFT; ctl 976 drivers/clk/qcom/clk-alpha-pll.c ctl &= BIT(pll->width) - 1; ctl 977 drivers/clk/qcom/clk-alpha-pll.c div = 1 << fls(ctl); ctl 476 drivers/clk/qcom/clk-rcg.c u32 ns, md, ctl; ctl 497 drivers/clk/qcom/clk-rcg.c regmap_read(rcg->clkr.regmap, rcg->clkr.enable_reg, &ctl); ctl 498 drivers/clk/qcom/clk-rcg.c ctl = mn_to_reg(mn, f->m, f->n, ctl); ctl 499 drivers/clk/qcom/clk-rcg.c regmap_write(rcg->clkr.regmap, rcg->clkr.enable_reg, ctl); ctl 43 drivers/clocksource/timer-owl.c u32 ctl = readl(base + OWL_Tx_CTL); ctl 46 drivers/clocksource/timer-owl.c ctl &= ~OWL_Tx_CTL_PD; ctl 49 drivers/clocksource/timer-owl.c ctl |= OWL_Tx_CTL_EN; ctl 51 drivers/clocksource/timer-owl.c ctl &= ~OWL_Tx_CTL_EN; ctl 53 drivers/clocksource/timer-owl.c writel(ctl, base + OWL_Tx_CTL); ctl 893 drivers/crypto/amcc/crypto4xx_core.c sd->ctl.done = 0; ctl 894 drivers/crypto/amcc/crypto4xx_core.c sd->ctl.rdy = 1; ctl 904 drivers/crypto/amcc/crypto4xx_core.c sd->ctl.done = 0; ctl 905 drivers/crypto/amcc/crypto4xx_core.c sd->ctl.rdy = 1; ctl 229 drivers/crypto/amcc/crypto4xx_reg_def.h u32 ctl:30; ctl 236 drivers/crypto/amcc/crypto4xx_reg_def.h struct sd_ctl ctl; ctl 738 drivers/crypto/caam/ctrl.c ctrlpriv->ctl = debugfs_create_dir("ctl", ctrlpriv->dfs_root); ctl 869 drivers/crypto/caam/ctrl.c ctrlpriv->ctl, &perfmon->req_dequeued, ctl 872 drivers/crypto/caam/ctrl.c ctrlpriv->ctl, &perfmon->ob_enc_req, ctl 875 drivers/crypto/caam/ctrl.c ctrlpriv->ctl, &perfmon->ib_dec_req, ctl 878 drivers/crypto/caam/ctrl.c ctrlpriv->ctl, &perfmon->ob_enc_bytes, ctl 881 drivers/crypto/caam/ctrl.c ctrlpriv->ctl, &perfmon->ob_prot_bytes, ctl 884 drivers/crypto/caam/ctrl.c ctrlpriv->ctl, &perfmon->ib_dec_bytes, ctl 887 drivers/crypto/caam/ctrl.c ctrlpriv->ctl, &perfmon->ib_valid_bytes, ctl 892 drivers/crypto/caam/ctrl.c ctrlpriv->ctl, &perfmon->faultaddr, ctl 895 drivers/crypto/caam/ctrl.c ctrlpriv->ctl, &perfmon->faultdetail, ctl 898 drivers/crypto/caam/ctrl.c ctrlpriv->ctl, &perfmon->status, ctl 904 drivers/crypto/caam/ctrl.c debugfs_create_blob("kek", S_IRUSR | S_IRGRP | S_IROTH, ctrlpriv->ctl, ctl 909 drivers/crypto/caam/ctrl.c debugfs_create_blob("tkek", S_IRUSR | S_IRGRP | S_IROTH, ctrlpriv->ctl, ctl 914 drivers/crypto/caam/ctrl.c debugfs_create_blob("tdsk", S_IRUSR | S_IRGRP | S_IROTH, ctrlpriv->ctl, ctl 106 drivers/crypto/caam/intern.h struct dentry *ctl; /* controller dir */ ctl 760 drivers/crypto/caam/qi.c debugfs_create_file("qi_congested", 0444, ctrlpriv->ctl, ctl 212 drivers/dma/ioat/dma.c hw->ctl = 0; ctl 226 drivers/dma/ioat/dma.h hw->ctl, hw->ctl_f.op, hw->ctl_f.int_en, hw->ctl_f.compl_write); ctl 74 drivers/dma/ioat/hw.h uint32_t ctl; ctl 108 drivers/dma/ioat/hw.h uint32_t ctl; ctl 155 drivers/dma/ioat/hw.h uint32_t ctl; ctl 204 drivers/dma/ioat/hw.h uint32_t ctl; ctl 129 drivers/dma/ioat/prep.c hw->ctl = 0; ctl 213 drivers/dma/ioat/prep.c xor->ctl = 0; ctl 233 drivers/dma/ioat/prep.c hw->ctl = 0; ctl 291 drivers/dma/ioat/prep.c desc->txd.flags, pq->size, pq->ctl, pq->ctl_f.op, ctl 324 drivers/dma/ioat/prep.c desc->txd.flags, pq->size, pq->ctl, ctl 419 drivers/dma/ioat/prep.c pq->ctl = 0; ctl 449 drivers/dma/ioat/prep.c hw->ctl = 0; ctl 533 drivers/dma/ioat/prep.c pq->ctl = 0; ctl 720 drivers/dma/ioat/prep.c hw->ctl = 0; ctl 300 drivers/dma/owl-dma.c u32 ctl; ctl 302 drivers/dma/owl-dma.c ctl = BIT_FIELD(mode, 4, 28, 28) | ctl 309 drivers/dma/owl-dma.c return ctl; ctl 314 drivers/dma/owl-dma.c u32 ctl; ctl 316 drivers/dma/owl-dma.c ctl = BIT_FIELD(int_ctl, 7, 0, 18); ctl 318 drivers/dma/owl-dma.c return ctl; ctl 147 drivers/edac/edac_device.c inst->ctl = dev_ctl; ctl 134 drivers/edac/edac_device.h struct edac_device_ctl_info *ctl; /* Up pointer */ ctl 334 drivers/edac/edac_device_sysfs.c kobject_put(&instance->ctl->kobj); ctl 442 drivers/edac/edac_device_sysfs.c kobject_put(&block->instance->ctl->kobj); ctl 621 drivers/edac/edac_device_sysfs.c instance->ctl = edac_dev; ctl 57 drivers/edac/edac_mc.h #define edac_device_printk(ctl, level, fmt, arg...) \ ctl 58 drivers/edac/edac_mc.h printk(level "EDAC DEVICE%d: " fmt, ctl->dev_idx, ##arg) ctl 60 drivers/edac/edac_mc.h #define edac_pci_printk(ctl, level, fmt, arg...) \ ctl 61 drivers/edac/edac_mc.h printk(level "EDAC PCI%d: " fmt, ctl->pci_idx, ##arg) ctl 663 drivers/edac/mv64x60_edac.c u32 ctl; ctl 667 drivers/edac/mv64x60_edac.c ctl = readl(pdata->mc_vbase + MV64X60_SDRAM_CONFIG); ctl 675 drivers/edac/mv64x60_edac.c dimm->mtype = (ctl & MV64X60_SDRAM_REGISTERED) ? MEM_RDDR : MEM_DDR; ctl 677 drivers/edac/mv64x60_edac.c devtype = (ctl >> 20) & 0x3; ctl 702 drivers/edac/mv64x60_edac.c u32 ctl; ctl 756 drivers/edac/mv64x60_edac.c ctl = readl(pdata->mc_vbase + MV64X60_SDRAM_CONFIG); ctl 757 drivers/edac/mv64x60_edac.c if (!(ctl & MV64X60_SDRAM_ECC)) { ctl 782 drivers/edac/mv64x60_edac.c ctl = readl(pdata->mc_vbase + MV64X60_SDRAM_ERR_ECC_CNTL); ctl 783 drivers/edac/mv64x60_edac.c ctl = (ctl & 0xff00ffff) | 0x10000; ctl 784 drivers/edac/mv64x60_edac.c writel(ctl, pdata->mc_vbase + MV64X60_SDRAM_ERR_ECC_CNTL); ctl 1655 drivers/firewire/ohci.c u32 ctl; ctl 1657 drivers/firewire/ohci.c ctl = reg_read(ohci, CONTROL_SET(regs)); ctl 1658 drivers/firewire/ohci.c if (ctl & CONTEXT_DEAD) ctl 1660 drivers/firewire/ohci.c name, evts[ctl & 0x1f]); ctl 79 drivers/gpio/gpio-pcie-idio-24.c u8 ctl; ctl 115 drivers/gpio/gpio-pcie-idio-24.c return !(ioread8(&idio24gpio->reg->ctl) & out_mode_mask); ctl 131 drivers/gpio/gpio-pcie-idio-24.c ctl_state = ioread8(&idio24gpio->reg->ctl) & ~out_mode_mask; ctl 132 drivers/gpio/gpio-pcie-idio-24.c iowrite8(ctl_state, &idio24gpio->reg->ctl); ctl 153 drivers/gpio/gpio-pcie-idio-24.c ctl_state = ioread8(&idio24gpio->reg->ctl) | out_mode_mask; ctl 154 drivers/gpio/gpio-pcie-idio-24.c iowrite8(ctl_state, &idio24gpio->reg->ctl); ctl 190 drivers/gpio/gpio-pcie-idio-24.c if (ioread8(&idio24gpio->reg->ctl) & out_mode_mask) ctl 240 drivers/gpio/gpio-pcie-idio-24.c else if (ioread8(&idio24gpio->reg->ctl) & out_mode_mask) ctl 267 drivers/gpio/gpio-pcie-idio-24.c if (offset > 47 && !(ioread8(&idio24gpio->reg->ctl) & out_mode_mask)) ctl 338 drivers/gpio/gpio-pcie-idio-24.c if (!ttl_mask || !(ioread8(&idio24gpio->reg->ctl) & out_mode_mask)) ctl 1007 drivers/gpu/drm/bridge/cdns-dsi.c u32 flag, ctl; ctl 1011 drivers/gpu/drm/bridge/cdns-dsi.c ctl = readl(dsi->regs + DIRECT_CMD_STS_CTL); ctl 1012 drivers/gpu/drm/bridge/cdns-dsi.c ctl &= ~flag; ctl 1013 drivers/gpu/drm/bridge/cdns-dsi.c writel(ctl, dsi->regs + DIRECT_CMD_STS_CTL); ctl 1025 drivers/gpu/drm/bridge/cdns-dsi.c u32 cmd, sts, val, wait = WRITE_COMPLETED, ctl = 0; ctl 1072 drivers/gpu/drm/bridge/cdns-dsi.c ctl = READ_EN | BTA_EN; ctl 1076 drivers/gpu/drm/bridge/cdns-dsi.c ctl = BTA_EN; ctl 1079 drivers/gpu/drm/bridge/cdns-dsi.c writel(readl(dsi->regs + MCTL_MAIN_DATA_CTL) | ctl, ctl 1108 drivers/gpu/drm/bridge/cdns-dsi.c writel(readl(dsi->regs + MCTL_MAIN_DATA_CTL) & ~ctl, ctl 225 drivers/gpu/drm/drm_irq.c struct drm_control *ctl = data; ctl 240 drivers/gpu/drm/drm_irq.c switch (ctl->func) { ctl 245 drivers/gpu/drm/drm_irq.c ctl->irq != irq) ctl 3770 drivers/gpu/drm/i915/display/intel_display.c plane_state->ctl = i9xx_plane_ctl(crtc_state, plane_state); ctl 3792 drivers/gpu/drm/i915/display/intel_display.c dspcntr = plane_state->ctl | i9xx_plane_ctl_crtc(crtc_state); ctl 9282 drivers/gpu/drm/i915/display/intel_display.c u32 ctl = I915_READ(SPLL_CTL); ctl 9284 drivers/gpu/drm/i915/display/intel_display.c if ((ctl & SPLL_PLL_ENABLE) == 0) ctl 9287 drivers/gpu/drm/i915/display/intel_display.c if ((ctl & SPLL_REF_MASK) == SPLL_REF_MUXED_SSC && ctl 9292 drivers/gpu/drm/i915/display/intel_display.c (ctl & SPLL_REF_MASK) == SPLL_REF_PCH_SSC_BDW) ctl 9302 drivers/gpu/drm/i915/display/intel_display.c u32 ctl = I915_READ(WRPLL_CTL(id)); ctl 9304 drivers/gpu/drm/i915/display/intel_display.c if ((ctl & WRPLL_PLL_ENABLE) == 0) ctl 9307 drivers/gpu/drm/i915/display/intel_display.c if ((ctl & WRPLL_REF_MASK) == WRPLL_REF_PCH_SSC) ctl 9311 drivers/gpu/drm/i915/display/intel_display.c (ctl & WRPLL_REF_MASK) == WRPLL_REF_MUXED_SSC_BDW && ctl 10697 drivers/gpu/drm/i915/display/intel_display.c plane_state->ctl = i845_cursor_ctl(crtc_state, plane_state); ctl 10714 drivers/gpu/drm/i915/display/intel_display.c cntl = plane_state->ctl | ctl 10923 drivers/gpu/drm/i915/display/intel_display.c plane_state->ctl = i9xx_cursor_ctl(crtc_state, plane_state); ctl 10938 drivers/gpu/drm/i915/display/intel_display.c cntl = plane_state->ctl | ctl 529 drivers/gpu/drm/i915/display/intel_display_types.h u32 ctl; ctl 954 drivers/gpu/drm/i915/display/intel_dpll_mgr.c i915_reg_t ctl, cfgcr1, cfgcr2; ctl 961 drivers/gpu/drm/i915/display/intel_dpll_mgr.c .ctl = LCPLL1_CTL, ctl 966 drivers/gpu/drm/i915/display/intel_dpll_mgr.c .ctl = LCPLL2_CTL, ctl 972 drivers/gpu/drm/i915/display/intel_dpll_mgr.c .ctl = WRPLL_CTL(0), ctl 978 drivers/gpu/drm/i915/display/intel_dpll_mgr.c .ctl = WRPLL_CTL(1), ctl 1015 drivers/gpu/drm/i915/display/intel_dpll_mgr.c I915_WRITE(regs[id].ctl, ctl 1016 drivers/gpu/drm/i915/display/intel_dpll_mgr.c I915_READ(regs[id].ctl) | LCPLL_PLL_ENABLE); ctl 1035 drivers/gpu/drm/i915/display/intel_dpll_mgr.c I915_WRITE(regs[id].ctl, ctl 1036 drivers/gpu/drm/i915/display/intel_dpll_mgr.c I915_READ(regs[id].ctl) & ~LCPLL_PLL_ENABLE); ctl 1037 drivers/gpu/drm/i915/display/intel_dpll_mgr.c POSTING_READ(regs[id].ctl); ctl 1062 drivers/gpu/drm/i915/display/intel_dpll_mgr.c val = I915_READ(regs[id].ctl); ctl 1100 drivers/gpu/drm/i915/display/intel_dpll_mgr.c val = I915_READ(regs[id].ctl); ctl 976 drivers/gpu/drm/i915/display/intel_panel.c u32 ctl, freq; ctl 978 drivers/gpu/drm/i915/display/intel_panel.c ctl = I915_READ(BLC_PWM_CTL); ctl 979 drivers/gpu/drm/i915/display/intel_panel.c if (ctl & BACKLIGHT_DUTY_CYCLE_MASK_PNV) { ctl 988 drivers/gpu/drm/i915/display/intel_panel.c ctl = freq << 17; ctl 990 drivers/gpu/drm/i915/display/intel_panel.c ctl |= BLM_LEGACY_MODE; ctl 992 drivers/gpu/drm/i915/display/intel_panel.c ctl |= BLM_POLARITY_PNV; ctl 994 drivers/gpu/drm/i915/display/intel_panel.c I915_WRITE(BLC_PWM_CTL, ctl); ctl 1016 drivers/gpu/drm/i915/display/intel_panel.c u32 ctl, ctl2, freq; ctl 1029 drivers/gpu/drm/i915/display/intel_panel.c ctl = freq << 16; ctl 1030 drivers/gpu/drm/i915/display/intel_panel.c I915_WRITE(BLC_PWM_CTL, ctl); ctl 1051 drivers/gpu/drm/i915/display/intel_panel.c u32 ctl, ctl2; ctl 1060 drivers/gpu/drm/i915/display/intel_panel.c ctl = panel->backlight.max << 16; ctl 1061 drivers/gpu/drm/i915/display/intel_panel.c I915_WRITE(VLV_BLC_PWM_CTL(pipe), ctl); ctl 1659 drivers/gpu/drm/i915/display/intel_panel.c u32 ctl, val; ctl 1661 drivers/gpu/drm/i915/display/intel_panel.c ctl = I915_READ(BLC_PWM_CTL); ctl 1664 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.combination_mode = ctl & BLM_LEGACY_MODE; ctl 1667 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.active_low_pwm = ctl & BLM_POLARITY_PNV; ctl 1669 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.max = ctl >> 17; ctl 1698 drivers/gpu/drm/i915/display/intel_panel.c u32 ctl, ctl2, val; ctl 1704 drivers/gpu/drm/i915/display/intel_panel.c ctl = I915_READ(BLC_PWM_CTL); ctl 1705 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.max = ctl >> 16; ctl 1732 drivers/gpu/drm/i915/display/intel_panel.c u32 ctl, ctl2, val; ctl 1740 drivers/gpu/drm/i915/display/intel_panel.c ctl = I915_READ(VLV_BLC_PWM_CTL(pipe)); ctl 1741 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.max = ctl >> 16; ctl 662 drivers/gpu/drm/i915/display/intel_sprite.c color_plane, false, plane_state->ctl); ctl 671 drivers/gpu/drm/i915/display/intel_sprite.c plane_state->ctl | PLANE_CTL_YUV420_Y_PLANE); ctl 950 drivers/gpu/drm/i915/display/intel_sprite.c sprctl = plane_state->ctl | vlv_sprite_ctl_crtc(crtc_state); ctl 1168 drivers/gpu/drm/i915/display/intel_sprite.c sprctl = plane_state->ctl | ivb_sprite_ctl_crtc(crtc_state); ctl 1421 drivers/gpu/drm/i915/display/intel_sprite.c dvscntr = plane_state->ctl | g4x_sprite_ctl_crtc(crtc_state); ctl 1625 drivers/gpu/drm/i915/display/intel_sprite.c plane_state->ctl = ivb_sprite_ctl(crtc_state, plane_state); ctl 1627 drivers/gpu/drm/i915/display/intel_sprite.c plane_state->ctl = g4x_sprite_ctl(crtc_state, plane_state); ctl 1678 drivers/gpu/drm/i915/display/intel_sprite.c plane_state->ctl = vlv_sprite_ctl(crtc_state, plane_state); ctl 1854 drivers/gpu/drm/i915/display/intel_sprite.c plane_state->ctl = skl_plane_ctl(crtc_state, plane_state); ctl 110 drivers/gpu/drm/i915/gvt/reg.h #define _RING_CTL_BUF_SIZE(ctl) (((ctl) & RB_TAIL_SIZE_MASK) + \ ctl 1485 drivers/gpu/drm/i915/gvt/scheduler.c u32 head, tail, start, ctl, ctx_ctl, per_ctx, indirect_ctx; ctl 1529 drivers/gpu/drm/i915/gvt/scheduler.c RING_CTX_OFF(rb_ctrl.val), &ctl, 4); ctl 1534 drivers/gpu/drm/i915/gvt/scheduler.c _RING_CTL_BUF_SIZE(ctl))) { ctl 1550 drivers/gpu/drm/i915/gvt/scheduler.c workload->rb_ctl = ctl; ctl 1591 drivers/gpu/drm/i915/gvt/scheduler.c workload, ring_id, head, tail, start, ctl); ctl 490 drivers/gpu/drm/i915/i915_gpu_error.c err_printf(m, " CTL: 0x%08x\n", ee->ctl); ctl 1103 drivers/gpu/drm/i915/i915_gpu_error.c ee->ctl = ENGINE_READ(engine, RING_CTL); ctl 103 drivers/gpu/drm/i915/i915_gpu_error.h u32 ctl; ctl 124 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c struct dpu_hw_ctl *ctl = mixer->lm_ctl; ctl 140 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c dpu_plane_get_ctl_flush(plane, ctl, &flush_mask); ctl 193 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c struct dpu_hw_ctl *ctl; ctl 217 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c ctl = mixer[i].lm_ctl; ctl 222 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c mixer[i].flush_mask |= ctl->ops.get_bitmask_mixer(ctl, ctl 226 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c ctl->ops.update_pending_flush(ctl, mixer[i].flush_mask); ctl 231 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c ctl->idx - CTL_0, ctl 234 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c ctl->ops.setup_blendstage(ctl, mixer[i].hw_lm->idx, ctl 1428 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c struct dpu_hw_ctl *ctl; ctl 1437 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c ctl = phys->hw_ctl; ctl 1438 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c if (!ctl || !ctl->ops.trigger_flush) { ctl 1445 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c if (extra_flush_bits && ctl->ops.update_pending_flush) ctl 1446 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c ctl->ops.update_pending_flush(ctl, extra_flush_bits); ctl 1448 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c ctl->ops.trigger_flush(ctl); ctl 1450 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c if (ctl->ops.get_pending_flush) ctl 1451 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c ret = ctl->ops.get_pending_flush(ctl); ctl 1454 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c pending_kickoff_cnt, ctl->idx, ctl 1480 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c struct dpu_hw_ctl *ctl; ctl 1487 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c ctl = phys_enc->hw_ctl; ctl 1488 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c if (ctl && ctl->ops.trigger_start) { ctl 1489 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c ctl->ops.trigger_start(ctl); ctl 1490 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c trace_dpu_enc_trigger_start(DRMID(phys_enc->parent), ctl->idx); ctl 1522 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c struct dpu_hw_ctl *ctl; ctl 1530 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c ctl = phys_enc->hw_ctl; ctl 1532 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c if (!ctl || !ctl->ops.reset) ctl 1536 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c ctl->idx); ctl 1538 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c rc = ctl->ops.reset(ctl); ctl 1540 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c DPU_ERROR_ENC(dpu_enc, "ctl %d reset failure\n", ctl->idx); ctl 1556 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c struct dpu_hw_ctl *ctl; ctl 1572 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c ctl = phys->hw_ctl; ctl 1573 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c if (!ctl) ctl 1587 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c else if (ctl->ops.get_pending_flush) ctl 1588 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c pending_flush |= ctl->ops.get_pending_flush(ctl); ctl 1609 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c struct dpu_hw_ctl *ctl; ctl 1623 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c ctl = phys->hw_ctl; ctl 1624 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c if (ctl->ops.clear_pending_flush) ctl 1625 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c ctl->ops.clear_pending_flush(ctl); ctl 1630 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c && ctl->ops.trigger_pending) ctl 1631 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c ctl->ops.trigger_pending(ctl); ctl 58 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c struct dpu_hw_ctl *ctl; ctl 64 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c ctl = phys_enc->hw_ctl; ctl 65 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c if (!ctl || !ctl->ops.setup_intf_cfg) ctl 72 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c ctl->ops.setup_intf_cfg(ctl, &intf_cfg); ctl 470 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c struct dpu_hw_ctl *ctl; ctl 485 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c ctl = phys_enc->hw_ctl; ctl 486 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c ctl->ops.get_bitmask_intf(ctl, &flush_mask, phys_enc->intf_idx); ctl 487 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c ctl->ops.update_pending_flush(ctl, flush_mask); ctl 436 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c struct dpu_hw_ctl *ctl; ctl 439 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c ctl = phys_enc->hw_ctl; ctl 459 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c ctl->ops.get_bitmask_intf(ctl, &flush_mask, phys_enc->hw_intf->idx); ctl 460 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c ctl->ops.update_pending_flush(ctl, flush_mask); ctl 465 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c ctl->idx - CTL_0, flush_mask); ctl 543 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c struct dpu_hw_ctl *ctl; ctl 551 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c ctl = phys_enc->hw_ctl; ctl 552 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c if (!ctl || !ctl->ops.wait_reset_status) ctl 559 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c rc = ctl->ops.wait_reset_status(ctl); ctl 562 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c ctl->idx, rc); ctl 410 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c .ctl = sdm845_ctl, ctl 659 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h struct dpu_ctl_cfg *ctl; ctl 698 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h #define BLK_CTL(s) ((s)->ctl) ctl 31 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c static struct dpu_ctl_cfg *_ctl_offset(enum dpu_ctl ctl, ctl 39 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c if (ctl == m->ctl[i].id) { ctl 41 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c b->blk_off = m->ctl[i].base; ctl 42 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c b->length = m->ctl[i].len; ctl 45 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c return &m->ctl[i]; ctl 66 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_lm.h const struct dpu_ctl_cfg *ctl; ctl 756 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c void dpu_plane_get_ctl_flush(struct drm_plane *plane, struct dpu_hw_ctl *ctl, ctl 759 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c *flush_sspp = ctl->ops.get_bitmask_sspp(ctl, dpu_plane_pipe(plane)); ctl 78 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.h void dpu_plane_get_ctl_flush(struct drm_plane *plane, struct dpu_hw_ctl *ctl, ctl 270 drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c cat->ctl[i].id, &cat->ctl[i]); ctl 448 drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c const struct dpu_hw_ctl *ctl = to_dpu_hw_ctl(iter.blk->hw); ctl 449 drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c unsigned long features = ctl->caps->features; ctl 352 drivers/gpu/drm/msm/disp/mdp5/mdp5.xml.h case 0: return (mdp5_cfg->ctl.base[0]); ctl 353 drivers/gpu/drm/msm/disp/mdp5/mdp5.xml.h case 1: return (mdp5_cfg->ctl.base[1]); ctl 354 drivers/gpu/drm/msm/disp/mdp5/mdp5.xml.h case 2: return (mdp5_cfg->ctl.base[2]); ctl 355 drivers/gpu/drm/msm/disp/mdp5/mdp5.xml.h case 3: return (mdp5_cfg->ctl.base[3]); ctl 356 drivers/gpu/drm/msm/disp/mdp5/mdp5.xml.h case 4: return (mdp5_cfg->ctl.base[4]); ctl 33 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c .ctl = { ctl 117 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c .ctl = { ctl 207 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c .ctl = { ctl 294 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c .ctl = { ctl 369 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c .ctl = { ctl 449 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c .ctl = { ctl 554 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c .ctl = { ctl 642 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c .ctl = { ctl 84 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.h struct mdp5_ctl_block ctl; ctl 137 drivers/gpu/drm/msm/disp/mdp5/mdp5_cmd_encoder.c struct mdp5_ctl *ctl = mdp5_cmd_enc->ctl; ctl 146 drivers/gpu/drm/msm/disp/mdp5/mdp5_cmd_encoder.c mdp5_ctl_set_encoder_state(ctl, pipeline, false); ctl 147 drivers/gpu/drm/msm/disp/mdp5/mdp5_cmd_encoder.c mdp5_ctl_commit(ctl, pipeline, mdp_ctl_flush_mask_encoder(intf), true); ctl 157 drivers/gpu/drm/msm/disp/mdp5/mdp5_cmd_encoder.c struct mdp5_ctl *ctl = mdp5_cmd_enc->ctl; ctl 168 drivers/gpu/drm/msm/disp/mdp5/mdp5_cmd_encoder.c mdp5_ctl_commit(ctl, pipeline, mdp_ctl_flush_mask_encoder(intf), true); ctl 170 drivers/gpu/drm/msm/disp/mdp5/mdp5_cmd_encoder.c mdp5_ctl_set_encoder_state(ctl, pipeline, true); ctl 90 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c struct mdp5_ctl *ctl = mdp5_cstate->ctl; ctl 98 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c return mdp5_ctl_commit(ctl, pipeline, flush_mask, start); ctl 114 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c if (WARN_ON(!mdp5_cstate->ctl)) ctl 139 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c struct mdp5_ctl *ctl = mdp5_cstate->ctl; ctl 153 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c if (ctl && !crtc->state->enable) { ctl 155 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c mdp5_ctl_blend(ctl, pipeline, NULL, NULL, 0, 0); ctl 224 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c struct mdp5_ctl *ctl = mdp5_cstate->ctl; ctl 241 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c if (!ctl) ctl 356 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c mdp5_ctl_blend(ctl, pipeline, stage, r_stage, plane_cnt, ctl 484 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c mdp5_ctl_set_cursor(mdp5_cstate->ctl, ctl 487 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c mdp5_ctl_set_cursor(mdp5_cstate->ctl, ctl 726 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c if (unlikely(!mdp5_cstate->ctl)) ctl 867 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c struct mdp5_ctl *ctl; ctl 884 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c ctl = mdp5_cstate->ctl; ctl 885 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c if (!ctl) ctl 923 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c ret = mdp5_ctl_set_cursor(ctl, pipeline, 0, cursor_enable); ctl 997 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c if (mdp5_cstate->ctl) ctl 998 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c drm_printf(p, "\tctl=%d\n", mdp5_ctl_get_ctl_id(mdp5_cstate->ctl)); ctl 1124 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c struct mdp5_ctl *ctl = mdp5_cstate->ctl; ctl 1128 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c if (!ctl) ctl 1136 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c ((mdp5_ctl_get_commit_status(ctl) & ctl 1161 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c mdp5_ctl_set_pipeline(mdp5_cstate->ctl, &mdp5_cstate->pipeline); ctl 1168 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c return mdp5_cstate->ctl; ctl 83 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c void ctl_write(struct mdp5_ctl *ctl, u32 reg, u32 data) ctl 85 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c struct mdp5_kms *mdp5_kms = get_kms(ctl->ctlm); ctl 87 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c (void)ctl->reg_offset; /* TODO use this instead of mdp5_write */ ctl 92 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c u32 ctl_read(struct mdp5_ctl *ctl, u32 reg) ctl 94 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c struct mdp5_kms *mdp5_kms = get_kms(ctl->ctlm); ctl 96 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c (void)ctl->reg_offset; /* TODO use this instead of mdp5_write */ ctl 135 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c static void set_ctl_op(struct mdp5_ctl *ctl, struct mdp5_pipeline *pipeline) ctl 163 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c spin_lock_irqsave(&ctl->hw_lock, flags); ctl 164 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c ctl_write(ctl, REG_MDP5_CTL_OP(ctl->id), ctl_op); ctl 165 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c spin_unlock_irqrestore(&ctl->hw_lock, flags); ctl 168 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c int mdp5_ctl_set_pipeline(struct mdp5_ctl *ctl, struct mdp5_pipeline *pipeline) ctl 170 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c struct mdp5_kms *mdp5_kms = get_kms(ctl->ctlm); ctl 177 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c set_ctl_op(ctl, pipeline); ctl 182 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c static bool start_signal_needed(struct mdp5_ctl *ctl, ctl 187 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c if (!ctl->encoder_enabled) ctl 207 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c static void send_start_signal(struct mdp5_ctl *ctl) ctl 211 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c spin_lock_irqsave(&ctl->hw_lock, flags); ctl 212 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c ctl_write(ctl, REG_MDP5_CTL_START(ctl->id), 1); ctl 213 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c spin_unlock_irqrestore(&ctl->hw_lock, flags); ctl 224 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c int mdp5_ctl_set_encoder_state(struct mdp5_ctl *ctl, ctl 230 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c if (WARN_ON(!ctl)) ctl 233 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c ctl->encoder_enabled = enabled; ctl 236 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c if (start_signal_needed(ctl, pipeline)) { ctl 237 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c send_start_signal(ctl); ctl 248 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c int mdp5_ctl_set_cursor(struct mdp5_ctl *ctl, struct mdp5_pipeline *pipeline, ctl 251 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c struct mdp5_ctl_manager *ctl_mgr = ctl->ctlm; ctl 258 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c ctl->id); ctl 267 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c spin_lock_irqsave(&ctl->hw_lock, flags); ctl 269 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c blend_cfg = ctl_read(ctl, REG_MDP5_CTL_LAYER_REG(ctl->id, mixer->lm)); ctl 276 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c ctl_write(ctl, REG_MDP5_CTL_LAYER_REG(ctl->id, mixer->lm), blend_cfg); ctl 277 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c ctl->cursor_on = enable; ctl 279 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c spin_unlock_irqrestore(&ctl->hw_lock, flags); ctl 281 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c ctl->pending_ctl_trigger = mdp_ctl_flush_mask_cursor(cursor_id); ctl 329 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c static void mdp5_ctl_reset_blend_regs(struct mdp5_ctl *ctl) ctl 332 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c struct mdp5_ctl_manager *ctl_mgr = ctl->ctlm; ctl 335 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c spin_lock_irqsave(&ctl->hw_lock, flags); ctl 338 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c ctl_write(ctl, REG_MDP5_CTL_LAYER_REG(ctl->id, i), 0x0); ctl 339 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c ctl_write(ctl, REG_MDP5_CTL_LAYER_EXT_REG(ctl->id, i), 0x0); ctl 342 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c spin_unlock_irqrestore(&ctl->hw_lock, flags); ctl 347 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c int mdp5_ctl_blend(struct mdp5_ctl *ctl, struct mdp5_pipeline *pipeline, ctl 359 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c mdp5_ctl_reset_blend_regs(ctl); ctl 387 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c spin_lock_irqsave(&ctl->hw_lock, flags); ctl 388 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c if (ctl->cursor_on) ctl 391 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c ctl_write(ctl, REG_MDP5_CTL_LAYER_REG(ctl->id, mixer->lm), blend_cfg); ctl 392 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c ctl_write(ctl, REG_MDP5_CTL_LAYER_EXT_REG(ctl->id, mixer->lm), ctl 395 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c ctl_write(ctl, REG_MDP5_CTL_LAYER_REG(ctl->id, r_mixer->lm), ctl 397 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c ctl_write(ctl, REG_MDP5_CTL_LAYER_EXT_REG(ctl->id, r_mixer->lm), ctl 400 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c spin_unlock_irqrestore(&ctl->hw_lock, flags); ctl 402 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c ctl->pending_ctl_trigger = mdp_ctl_flush_mask_lm(mixer->lm); ctl 404 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c ctl->pending_ctl_trigger |= mdp_ctl_flush_mask_lm(r_mixer->lm); ctl 470 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c static u32 fix_sw_flush(struct mdp5_ctl *ctl, struct mdp5_pipeline *pipeline, ctl 473 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c struct mdp5_ctl_manager *ctl_mgr = ctl->ctlm; ctl 485 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c static void fix_for_single_flush(struct mdp5_ctl *ctl, u32 *flush_mask, ctl 488 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c struct mdp5_ctl_manager *ctl_mgr = ctl->ctlm; ctl 490 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c if (ctl->pair) { ctl 491 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c DBG("CTL %d FLUSH pending mask %x", ctl->id, *flush_mask); ctl 492 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c ctl->flush_pending = true; ctl 496 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c if (ctl->pair->flush_pending) { ctl 497 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c *flush_id = min_t(u32, ctl->id, ctl->pair->id); ctl 500 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c ctl->flush_pending = false; ctl 501 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c ctl->pair->flush_pending = false; ctl 526 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c u32 mdp5_ctl_commit(struct mdp5_ctl *ctl, ctl 530 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c struct mdp5_ctl_manager *ctl_mgr = ctl->ctlm; ctl 532 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c u32 flush_id = ctl->id; ctl 535 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c VERB("flush_mask=%x, trigger=%x", flush_mask, ctl->pending_ctl_trigger); ctl 537 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c if (ctl->pending_ctl_trigger & flush_mask) { ctl 539 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c ctl->pending_ctl_trigger = 0; ctl 542 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c flush_mask |= fix_sw_flush(ctl, pipeline, flush_mask); ctl 548 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c fix_for_single_flush(ctl, &flush_mask, &flush_id); ctl 551 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c ctl->flush_mask |= flush_mask; ctl 554 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c flush_mask |= ctl->flush_mask; ctl 555 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c ctl->flush_mask = 0; ctl 559 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c spin_lock_irqsave(&ctl->hw_lock, flags); ctl 560 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c ctl_write(ctl, REG_MDP5_CTL_FLUSH(flush_id), flush_mask); ctl 561 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c spin_unlock_irqrestore(&ctl->hw_lock, flags); ctl 564 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c if (start_signal_needed(ctl, pipeline)) { ctl 565 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c send_start_signal(ctl); ctl 571 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c u32 mdp5_ctl_get_commit_status(struct mdp5_ctl *ctl) ctl 573 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c return ctl_read(ctl, REG_MDP5_CTL_FLUSH(ctl->id)); ctl 576 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c int mdp5_ctl_get_ctl_id(struct mdp5_ctl *ctl) ctl 578 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c return WARN_ON(!ctl) ? -EINVAL : ctl->id; ctl 626 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c struct mdp5_ctl *ctl = NULL; ctl 651 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c ctl = &ctl_mgr->ctls[c]; ctl 652 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c ctl->status |= CTL_STAT_BUSY; ctl 653 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c ctl->pending_ctl_trigger = 0; ctl 654 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c DBG("CTL %d allocated", ctl->id); ctl 658 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c return ctl; ctl 667 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c struct mdp5_ctl *ctl = &ctl_mgr->ctls[c]; ctl 669 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c spin_lock_irqsave(&ctl->hw_lock, flags); ctl 670 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c ctl_write(ctl, REG_MDP5_CTL_OP(ctl->id), 0); ctl 671 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c spin_unlock_irqrestore(&ctl->hw_lock, flags); ctl 687 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c const struct mdp5_ctl_block *ctl_cfg = &hw_cfg->ctl; ctl 715 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c struct mdp5_ctl *ctl = &ctl_mgr->ctls[c]; ctl 723 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c ctl->ctlm = ctl_mgr; ctl 724 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c ctl->id = c; ctl 725 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c ctl->reg_offset = ctl_cfg->base[c]; ctl 726 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c ctl->status = 0; ctl 727 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c spin_lock_init(&ctl->hw_lock); ctl 29 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.h int mdp5_ctl_get_ctl_id(struct mdp5_ctl *ctl); ctl 33 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.h int mdp5_ctl_set_pipeline(struct mdp5_ctl *ctl, struct mdp5_pipeline *p); ctl 34 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.h int mdp5_ctl_set_encoder_state(struct mdp5_ctl *ctl, struct mdp5_pipeline *p, ctl 37 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.h int mdp5_ctl_set_cursor(struct mdp5_ctl *ctl, struct mdp5_pipeline *pipeline, ctl 55 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.h int mdp5_ctl_blend(struct mdp5_ctl *ctl, struct mdp5_pipeline *pipeline, ctl 72 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.h u32 mdp5_ctl_commit(struct mdp5_ctl *ctl, struct mdp5_pipeline *pipeline, ctl 74 drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.h u32 mdp5_ctl_get_commit_status(struct mdp5_ctl *ctl); ctl 198 drivers/gpu/drm/msm/disp/mdp5/mdp5_encoder.c struct mdp5_ctl *ctl = mdp5_encoder->ctl; ctl 208 drivers/gpu/drm/msm/disp/mdp5/mdp5_encoder.c mdp5_ctl_set_encoder_state(ctl, pipeline, false); ctl 213 drivers/gpu/drm/msm/disp/mdp5/mdp5_encoder.c mdp5_ctl_commit(ctl, pipeline, mdp_ctl_flush_mask_encoder(intf), true); ctl 234 drivers/gpu/drm/msm/disp/mdp5/mdp5_encoder.c struct mdp5_ctl *ctl = mdp5_encoder->ctl; ctl 247 drivers/gpu/drm/msm/disp/mdp5/mdp5_encoder.c mdp5_ctl_commit(ctl, pipeline, mdp_ctl_flush_mask_encoder(intf), true); ctl 249 drivers/gpu/drm/msm/disp/mdp5/mdp5_encoder.c mdp5_ctl_set_encoder_state(ctl, pipeline, true); ctl 300 drivers/gpu/drm/msm/disp/mdp5/mdp5_encoder.c struct mdp5_ctl *ctl = mdp5_encoder->ctl; ctl 302 drivers/gpu/drm/msm/disp/mdp5/mdp5_encoder.c mdp5_cstate->ctl = ctl; ctl 378 drivers/gpu/drm/msm/disp/mdp5/mdp5_encoder.c mdp5_ctl_pair(mdp5_encoder->ctl, mdp5_slave_enc->ctl, true); ctl 405 drivers/gpu/drm/msm/disp/mdp5/mdp5_encoder.c struct mdp5_ctl *ctl) ctl 420 drivers/gpu/drm/msm/disp/mdp5/mdp5_encoder.c mdp5_encoder->ctl = ctl; ctl 343 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c struct mdp5_ctl *ctl) ctl 349 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c encoder = mdp5_encoder_init(dev, intf, ctl); ctl 384 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c struct mdp5_ctl *ctl; ctl 393 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c ctl = mdp5_ctlm_request(ctlm, intf->num); ctl 394 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c if (!ctl) { ctl 399 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c encoder = construct_encoder(mdp5_kms, intf, ctl); ctl 411 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c ctl = mdp5_ctlm_request(ctlm, intf->num); ctl 412 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c if (!ctl) { ctl 417 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c encoder = construct_encoder(mdp5_kms, intf, ctl); ctl 441 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c ctl = mdp5_ctlm_request(ctlm, intf->num); ctl 442 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c if (!ctl) { ctl 447 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c encoder = construct_encoder(mdp5_kms, intf, ctl); ctl 119 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.h struct mdp5_ctl *ctl; ctl 166 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.h struct mdp5_ctl *ctl; ctl 291 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.h struct mdp5_interface *intf, struct mdp5_ctl *ctl); ctl 505 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c struct mdp5_ctl *ctl; ctl 514 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c ctl = mdp5_crtc_get_ctl(new_state->crtc); ctl 516 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c mdp5_ctl_commit(ctl, pipeline, mdp5_plane_get_flush(plane), true); ctl 664 drivers/hwtracing/coresight/coresight-etb10.c coresight_etb10_reg(ctl, ETB_CTL_REG); ctl 261 drivers/hwtracing/coresight/coresight-tmc.c coresight_tmc_reg(ctl, TMC_CTL); ctl 152 drivers/hwtracing/intel_th/pti.c u32 ctl = PTI_EN; ctl 155 drivers/hwtracing/intel_th/pti.c ctl |= pti->patgen << __ffs(PTI_PATGENMODE); ctl 157 drivers/hwtracing/intel_th/pti.c ctl |= PTI_FCEN; ctl 158 drivers/hwtracing/intel_th/pti.c ctl |= pti->mode << __ffs(PTI_MODE); ctl 159 drivers/hwtracing/intel_th/pti.c ctl |= pti->clkdiv << __ffs(PTI_CLKDIV); ctl 160 drivers/hwtracing/intel_th/pti.c ctl |= pti->lpp_dest << __ffs(LPP_DEST); ctl 162 drivers/hwtracing/intel_th/pti.c iowrite32(ctl, pti->base + REG_PTI_CTL); ctl 180 drivers/hwtracing/intel_th/pti.c u32 ctl = ioread32(pti->base + REG_PTI_CTL); ctl 182 drivers/hwtracing/intel_th/pti.c pti->mode = (ctl & PTI_MODE) >> __ffs(PTI_MODE); ctl 183 drivers/hwtracing/intel_th/pti.c pti->clkdiv = (ctl & PTI_CLKDIV) >> __ffs(PTI_CLKDIV); ctl 184 drivers/hwtracing/intel_th/pti.c pti->freeclk = !!(ctl & PTI_FCEN); ctl 192 drivers/hwtracing/intel_th/pti.c if (ctl & LPP_PTIPRESENT) ctl 194 drivers/hwtracing/intel_th/pti.c if (ctl & LPP_BSSBPRESENT) ctl 196 drivers/hwtracing/intel_th/pti.c if (ctl & LPP_DEST) ctl 38 drivers/i2c/algos/i2c-algo-pcf.c #define set_pcf(adap, ctl, val) adap->setpcf(adap->data, ctl, val) ctl 39 drivers/i2c/algos/i2c-algo-pcf.c #define get_pcf(adap, ctl) adap->getpcf(adap->data, ctl) ctl 58 drivers/i2c/busses/i2c-elektor.c static void pcf_isa_setbyte(void *data, int ctl, int val) ctl 60 drivers/i2c/busses/i2c-elektor.c u8 __iomem *address = ctl ? (base_iomem + 1) : base_iomem; ctl 63 drivers/i2c/busses/i2c-elektor.c if (ctl && irq && (val & I2C_PCF_ESO)) { ctl 75 drivers/i2c/busses/i2c-elektor.c static int pcf_isa_getbyte(void *data, int ctl) ctl 77 drivers/i2c/busses/i2c-elektor.c u8 __iomem *address = ctl ? (base_iomem + 1) : base_iomem; ctl 63 drivers/i2c/busses/i2c-icy.c static void icy_pcf_setpcf(void *data, int ctl, int val) ctl 67 drivers/i2c/busses/i2c-icy.c u8 __iomem *address = ctl ? i2c->reg_s1 : i2c->reg_s0; ctl 72 drivers/i2c/busses/i2c-icy.c static int icy_pcf_getpcf(void *data, int ctl) ctl 76 drivers/i2c/busses/i2c-icy.c u8 __iomem *address = ctl ? i2c->reg_s1 : i2c->reg_s0; ctl 303 drivers/i2c/busses/i2c-pnx.c u32 ctl = 0; ctl 329 drivers/i2c/busses/i2c-pnx.c ctl = ioread32(I2C_REG_CTL(alg_data)); ctl 330 drivers/i2c/busses/i2c-pnx.c ctl |= mcntrl_rffie | mcntrl_daie; ctl 331 drivers/i2c/busses/i2c-pnx.c ctl &= ~mcntrl_drmie; ctl 332 drivers/i2c/busses/i2c-pnx.c iowrite32(ctl, I2C_REG_CTL(alg_data)); ctl 362 drivers/i2c/busses/i2c-pnx.c ctl = ioread32(I2C_REG_CTL(alg_data)); ctl 363 drivers/i2c/busses/i2c-pnx.c ctl &= ~(mcntrl_afie | mcntrl_naie | mcntrl_rffie | ctl 365 drivers/i2c/busses/i2c-pnx.c iowrite32(ctl, I2C_REG_CTL(alg_data)); ctl 382 drivers/i2c/busses/i2c-pnx.c u32 stat, ctl; ctl 398 drivers/i2c/busses/i2c-pnx.c ctl = ioread32(I2C_REG_CTL(alg_data)); ctl 399 drivers/i2c/busses/i2c-pnx.c ctl &= ~(mcntrl_afie | mcntrl_naie | mcntrl_rffie | ctl 401 drivers/i2c/busses/i2c-pnx.c iowrite32(ctl, I2C_REG_CTL(alg_data)); ctl 414 drivers/i2c/busses/i2c-pnx.c ctl = ioread32(I2C_REG_CTL(alg_data)); ctl 415 drivers/i2c/busses/i2c-pnx.c ctl &= ~(mcntrl_afie | mcntrl_naie | mcntrl_rffie | ctl 417 drivers/i2c/busses/i2c-pnx.c iowrite32(ctl, I2C_REG_CTL(alg_data)); ctl 459 drivers/i2c/busses/i2c-pnx.c u32 ctl; ctl 467 drivers/i2c/busses/i2c-pnx.c ctl = ioread32(I2C_REG_CTL(alg_data)); ctl 468 drivers/i2c/busses/i2c-pnx.c ctl &= ~(mcntrl_afie | mcntrl_naie | mcntrl_rffie | mcntrl_drmie); ctl 469 drivers/i2c/busses/i2c-pnx.c iowrite32(ctl, I2C_REG_CTL(alg_data)); ctl 471 drivers/i2c/busses/i2c-pnx.c ctl |= mcntrl_reset; ctl 472 drivers/i2c/busses/i2c-pnx.c iowrite32(ctl, I2C_REG_CTL(alg_data)); ctl 340 drivers/i2c/busses/i2c-st.c u32 ctl; ctl 356 drivers/i2c/busses/i2c-st.c ctl = SSC_CTL_EN | SSC_CTL_MS | SSC_CTL_EN_RX_FIFO | SSC_CTL_EN_TX_FIFO; ctl 357 drivers/i2c/busses/i2c-st.c st_i2c_set_bits(i2c_dev->base + SSC_CTL, ctl); ctl 649 drivers/i2c/busses/i2c-st.c u32 ctl, i2c, it; ctl 662 drivers/i2c/busses/i2c-st.c ctl = SSC_CTL_EN | SSC_CTL_MS | SSC_CTL_EN_RX_FIFO | SSC_CTL_EN_TX_FIFO; ctl 663 drivers/i2c/busses/i2c-st.c st_i2c_set_bits(i2c_dev->base + SSC_CTL, ctl); ctl 95 drivers/i2c/busses/i2c-zx2967.c u32 ctl; ctl 101 drivers/i2c/busses/i2c-zx2967.c ctl = zx2967_i2c_readl(i2c, REG_CMD); ctl 103 drivers/i2c/busses/i2c-zx2967.c ctl |= I2C_RW_READ; ctl 105 drivers/i2c/busses/i2c-zx2967.c ctl &= ~I2C_RW_READ; ctl 106 drivers/i2c/busses/i2c-zx2967.c ctl &= ~I2C_CMB_RW_EN; ctl 107 drivers/i2c/busses/i2c-zx2967.c ctl |= I2C_START; ctl 108 drivers/i2c/busses/i2c-zx2967.c zx2967_i2c_writel(i2c, ctl, REG_CMD); ctl 122 drivers/ide/buddha.c unsigned long ctl, unsigned long irq_port) ctl 133 drivers/ide/buddha.c hw->io_ports.ctl_addr = ctl; ctl 212 drivers/ide/buddha.c unsigned long base, ctl, irq_port; ctl 216 drivers/ide/buddha.c ctl = base + BUDDHA_CONTROL; ctl 221 drivers/ide/buddha.c ctl = 0; ctl 225 drivers/ide/buddha.c buddha_setup_ports(&hw[i], base, ctl, irq_port); ctl 699 drivers/ide/cmd640.c static int __init cmd640x_init_one(unsigned long base, unsigned long ctl) ctl 707 drivers/ide/cmd640.c if (!request_region(ctl, 1, DRV_NAME)) { ctl 709 drivers/ide/cmd640.c DRV_NAME, ctl); ctl 80 drivers/ide/gayle.c unsigned long ctl, unsigned long irq_port) ctl 91 drivers/ide/gayle.c hw->io_ports.ctl_addr = ctl; ctl 34 drivers/ide/ide-4drives.c unsigned long base = 0x1f0, ctl = 0x3f6; ctl 46 drivers/ide/ide-4drives.c if (!request_region(ctl, 1, DRV_NAME)) { ctl 48 drivers/ide/ide-4drives.c DRV_NAME, ctl); ctl 55 drivers/ide/ide-4drives.c ide_std_init_ports(&hw, base, ctl); ctl 115 drivers/ide/ide-cs.c static struct ide_host *idecs_register(unsigned long io, unsigned long ctl, ctl 129 drivers/ide/ide-cs.c if (!request_region(ctl, 1, DRV_NAME)) { ctl 131 drivers/ide/ide-cs.c DRV_NAME, ctl); ctl 137 drivers/ide/ide-cs.c ide_std_init_ports(&hw, io, ctl); ctl 161 drivers/ide/ide-cs.c release_region(ctl, 1); ctl 69 drivers/ide/ide-io-std.c void ide_write_devctl(ide_hwif_t *hwif, u8 ctl) ctl 72 drivers/ide/ide-io-std.c writeb(ctl, (void __iomem *)hwif->io_ports.ctl_addr); ctl 74 drivers/ide/ide-io-std.c outb(ctl, hwif->io_ports.ctl_addr); ctl 10 drivers/ide/ide-legacy.c unsigned long base, ctl; ctl 15 drivers/ide/ide-legacy.c ctl = 0x3f6; ctl 19 drivers/ide/ide-legacy.c ctl = 0x376; ctl 29 drivers/ide/ide-legacy.c if (!request_region(ctl, 1, d->name)) { ctl 31 drivers/ide/ide-legacy.c d->name, ctl); ctl 36 drivers/ide/ide-legacy.c ide_std_init_ports(hw, base, ctl); ctl 31 drivers/ide/ide-pnp.c unsigned long base, ctl; ctl 41 drivers/ide/ide-pnp.c ctl = pnp_port_start(dev, 1); ctl 49 drivers/ide/ide-pnp.c if (!request_region(ctl, 1, DRV_NAME)) { ctl 51 drivers/ide/ide-pnp.c DRV_NAME, ctl); ctl 57 drivers/ide/ide-pnp.c ide_std_init_ports(&hw, base, ctl); ctl 68 drivers/ide/ide-pnp.c release_region(ctl, 1); ctl 1749 drivers/ide/ide-tape.c u16 *ctl = (u16 *)&tape->caps[12]; ctl 1777 drivers/ide/ide-tape.c tape->buffer_size = *ctl * tape->blk_size; ctl 1780 drivers/ide/ide-tape.c *ctl /= 2; ctl 1781 drivers/ide/ide-tape.c tape->buffer_size = *ctl * tape->blk_size; ctl 482 drivers/ide/pmac.c static void pmac_write_devctl(ide_hwif_t *hwif, u8 ctl) ctl 484 drivers/ide/pmac.c writeb(ctl, (void __iomem *)hwif->io_ports.ctl_addr); ctl 311 drivers/ide/setup-pci.c unsigned long ctl = 0, base = 0; ctl 322 drivers/ide/setup-pci.c ctl = pci_resource_start(dev, 2*port+1); ctl 326 drivers/ide/setup-pci.c ctl = port ? 0x374 : 0x3f4; ctl 330 drivers/ide/setup-pci.c if (!base || !ctl) { ctl 338 drivers/ide/setup-pci.c ide_std_init_ports(hw, base, ctl | 2); ctl 162 drivers/ide/tx4938ide.c unsigned long ctl = mapctl; ctl 167 drivers/ide/tx4938ide.c ctl++; ctl 172 drivers/ide/tx4938ide.c hw.io_ports.ctl_addr = ctl; ctl 152 drivers/ide/tx4939ide.c u16 ctl = tx4939ide_readw(base, TX4939IDE_Int_Ctl); ctl 154 drivers/ide/tx4939ide.c if (ctl & TX4939IDE_INT_BUSERR) { ctl 163 drivers/ide/tx4939ide.c if (ctl & (TX4939IDE_INT_ADDRERR | ctl 166 drivers/ide/tx4939ide.c hwif->name, ctl, ctl 167 drivers/ide/tx4939ide.c ctl & TX4939IDE_INT_ADDRERR ? " Address-Error" : "", ctl 168 drivers/ide/tx4939ide.c ctl & TX4939IDE_INT_DEVTIMING ? " DEV-Timing" : "", ctl 169 drivers/ide/tx4939ide.c ctl & TX4939IDE_INT_BUSERR ? " Bus-Error" : ""); ctl 170 drivers/ide/tx4939ide.c return ctl; ctl 177 drivers/ide/tx4939ide.c u16 ctl; ctl 187 drivers/ide/tx4939ide.c ctl = tx4939ide_check_error_ints(hwif); ctl 188 drivers/ide/tx4939ide.c tx4939ide_writew(ctl, base, TX4939IDE_Int_Ctl); ctl 319 drivers/ide/tx4939ide.c u16 ctl = tx4939ide_readw(base, TX4939IDE_Int_Ctl); ctl 333 drivers/ide/tx4939ide.c (ctl & (TX4939IDE_INT_XFEREND | TX4939IDE_INT_HOST)) == ctl 346 drivers/ide/tx4939ide.c u16 ctl, ide_int; ctl 350 drivers/ide/tx4939ide.c ctl = tx4939ide_check_error_ints(hwif); ctl 351 drivers/ide/tx4939ide.c ide_int = ctl & (TX4939IDE_INT_XFEREND | TX4939IDE_INT_HOST); ctl 360 drivers/ide/tx4939ide.c ctl &= ~TX4939IDE_INT_XFEREND << 8; ctl 361 drivers/ide/tx4939ide.c ctl |= ide_int << 8; ctl 368 drivers/ide/tx4939ide.c hwif->name, dma_stat, ctl); ctl 376 drivers/ide/tx4939ide.c ctl &= ~ide_int; ctl 377 drivers/ide/tx4939ide.c tx4939ide_writew(ctl, base, TX4939IDE_Int_Ctl); ctl 86 drivers/iio/adc/men_z188_adc.c u32 ctl; ctl 88 drivers/iio/adc/men_z188_adc.c ctl = readl(addr + Z188_CTRL_REG); ctl 89 drivers/iio/adc/men_z188_adc.c ctl |= Z188_CFG_AUTO; ctl 90 drivers/iio/adc/men_z188_adc.c writel(ctl, addr + Z188_CTRL_REG); ctl 82 drivers/infiniband/hw/cxgb3/cxio_hal.c ret = rdev_p->t3cdev_p->ctl(rdev_p->t3cdev_p, RDMA_CQ_OP, &setup); ctl 133 drivers/infiniband/hw/cxgb3/cxio_hal.c return (rdev_p->t3cdev_p->ctl(rdev_p->t3cdev_p, RDMA_CQ_SETUP, &setup)); ctl 186 drivers/infiniband/hw/cxgb3/cxio_hal.c return (rdev_p->t3cdev_p->ctl(rdev_p->t3cdev_p, RDMA_CQ_SETUP, &setup)); ctl 489 drivers/infiniband/hw/cxgb3/cxio_hal.c return (rdev_p->t3cdev_p->ctl(rdev_p->t3cdev_p, RDMA_CQ_SETUP, &setup)); ctl 922 drivers/infiniband/hw/cxgb3/cxio_hal.c err = rdev_p->t3cdev_p->ctl(rdev_p->t3cdev_p, GET_EMBEDDED_INFO, ctl 937 drivers/infiniband/hw/cxgb3/cxio_hal.c err = rdev_p->t3cdev_p->ctl(rdev_p->t3cdev_p, RDMA_GET_PARAMS, ctl 944 drivers/infiniband/hw/cxgb3/cxio_hal.c err = rdev_p->t3cdev_p->ctl(rdev_p->t3cdev_p, GET_PORTS, ctl 1356 drivers/infiniband/hw/cxgb3/iwch_cm.c if (tdev->ctl(tdev, GET_IFF_FROM_MAC, &tim) < 0 || !tim.dev) { ctl 1130 drivers/infiniband/hw/cxgb3/iwch_provider.c ret = dev->rdev.t3cdev_p->ctl(dev->rdev.t3cdev_p, RDMA_GET_MIB, &m); ctl 73 drivers/ipack/devices/scc2698.h u8 d7, ctl; /* Counter timer lower register of block */ ctl 92 drivers/irqchip/irq-meson-gpio.c static void meson_gpio_irq_update_bits(struct meson_gpio_irq_controller *ctl, ctl 97 drivers/irqchip/irq-meson-gpio.c tmp = readl_relaxed(ctl->base + reg); ctl 100 drivers/irqchip/irq-meson-gpio.c writel_relaxed(tmp, ctl->base + reg); ctl 109 drivers/irqchip/irq-meson-gpio.c meson_gpio_irq_request_channel(struct meson_gpio_irq_controller *ctl, ctl 115 drivers/irqchip/irq-meson-gpio.c spin_lock(&ctl->lock); ctl 118 drivers/irqchip/irq-meson-gpio.c idx = find_first_zero_bit(ctl->channel_map, NUM_CHANNEL); ctl 120 drivers/irqchip/irq-meson-gpio.c spin_unlock(&ctl->lock); ctl 126 drivers/irqchip/irq-meson-gpio.c set_bit(idx, ctl->channel_map); ctl 133 drivers/irqchip/irq-meson-gpio.c meson_gpio_irq_update_bits(ctl, reg, ctl 143 drivers/irqchip/irq-meson-gpio.c *channel_hwirq = &(ctl->channel_irqs[idx]); ctl 145 drivers/irqchip/irq-meson-gpio.c spin_unlock(&ctl->lock); ctl 154 drivers/irqchip/irq-meson-gpio.c meson_gpio_irq_get_channel_idx(struct meson_gpio_irq_controller *ctl, ctl 157 drivers/irqchip/irq-meson-gpio.c return channel_hwirq - ctl->channel_irqs; ctl 161 drivers/irqchip/irq-meson-gpio.c meson_gpio_irq_release_channel(struct meson_gpio_irq_controller *ctl, ctl 166 drivers/irqchip/irq-meson-gpio.c idx = meson_gpio_irq_get_channel_idx(ctl, channel_hwirq); ctl 167 drivers/irqchip/irq-meson-gpio.c clear_bit(idx, ctl->channel_map); ctl 170 drivers/irqchip/irq-meson-gpio.c static int meson_gpio_irq_type_setup(struct meson_gpio_irq_controller *ctl, ctl 177 drivers/irqchip/irq-meson-gpio.c idx = meson_gpio_irq_get_channel_idx(ctl, channel_hwirq); ctl 193 drivers/irqchip/irq-meson-gpio.c if (!ctl->params->support_edge_both) ctl 205 drivers/irqchip/irq-meson-gpio.c spin_lock(&ctl->lock); ctl 207 drivers/irqchip/irq-meson-gpio.c meson_gpio_irq_update_bits(ctl, REG_EDGE_POL, ctl 210 drivers/irqchip/irq-meson-gpio.c spin_unlock(&ctl->lock); ctl 235 drivers/irqchip/irq-meson-gpio.c struct meson_gpio_irq_controller *ctl = data->domain->host_data; ctl 239 drivers/irqchip/irq-meson-gpio.c ret = meson_gpio_irq_type_setup(ctl, type, channel_hwirq); ctl 296 drivers/irqchip/irq-meson-gpio.c struct meson_gpio_irq_controller *ctl = domain->host_data; ctl 309 drivers/irqchip/irq-meson-gpio.c ret = meson_gpio_irq_request_channel(ctl, hwirq, &channel_hwirq); ctl 317 drivers/irqchip/irq-meson-gpio.c meson_gpio_irq_release_channel(ctl, channel_hwirq); ctl 331 drivers/irqchip/irq-meson-gpio.c struct meson_gpio_irq_controller *ctl = domain->host_data; ctl 343 drivers/irqchip/irq-meson-gpio.c meson_gpio_irq_release_channel(ctl, channel_hwirq); ctl 353 drivers/irqchip/irq-meson-gpio.c struct meson_gpio_irq_controller *ctl) ctl 362 drivers/irqchip/irq-meson-gpio.c ctl->params = match->data; ctl 366 drivers/irqchip/irq-meson-gpio.c ctl->channel_irqs, ctl 381 drivers/irqchip/irq-meson-gpio.c struct meson_gpio_irq_controller *ctl; ctl 395 drivers/irqchip/irq-meson-gpio.c ctl = kzalloc(sizeof(*ctl), GFP_KERNEL); ctl 396 drivers/irqchip/irq-meson-gpio.c if (!ctl) ctl 399 drivers/irqchip/irq-meson-gpio.c spin_lock_init(&ctl->lock); ctl 401 drivers/irqchip/irq-meson-gpio.c ctl->base = of_iomap(node, 0); ctl 402 drivers/irqchip/irq-meson-gpio.c if (!ctl->base) { ctl 407 drivers/irqchip/irq-meson-gpio.c ret = meson_gpio_irq_parse_dt(node, ctl); ctl 412 drivers/irqchip/irq-meson-gpio.c ctl->params->nr_hwirq, ctl 415 drivers/irqchip/irq-meson-gpio.c ctl); ctl 423 drivers/irqchip/irq-meson-gpio.c ctl->params->nr_hwirq, NUM_CHANNEL); ctl 428 drivers/irqchip/irq-meson-gpio.c iounmap(ctl->base); ctl 430 drivers/irqchip/irq-meson-gpio.c kfree(ctl); ctl 42 drivers/irqchip/irq-tango.c unsigned long ctl; ctl 79 drivers/irqchip/irq-tango.c status_lo = intc_readl(chip, chip->ctl + IRQ_STATUS); ctl 80 drivers/irqchip/irq-tango.c status_hi = intc_readl(chip, chip->ctl + IRQ_CTL_HI + IRQ_STATUS); ctl 130 drivers/irqchip/irq-tango.c unsigned long ctl_base = chip->ctl + ctl_offs; ctl 190 drivers/irqchip/irq-tango.c chip->ctl = res.start - baseres->start; ctl 70 drivers/isdn/mISDN/clock.c lastclock->ctl(lastclock->priv, 0); ctl 77 drivers/isdn/mISDN/clock.c bestclock->ctl(bestclock->priv, 1); ctl 87 drivers/isdn/mISDN/clock.c *mISDN_register_clock(char *name, int pri, clockctl_func_t *ctl, void *priv) ctl 102 drivers/isdn/mISDN/clock.c iclock->ctl = ctl; ctl 125 drivers/isdn/mISDN/clock.c iclock->ctl(iclock->priv, 0); ctl 146 drivers/isdn/mISDN/clock.c iclock->ctl(iclock->priv, 0); ctl 571 drivers/media/dvb-frontends/stb0899_drv.c static int stb0899_postproc(struct stb0899_state *state, u8 ctl, int enable) ctl 579 drivers/media/dvb-frontends/stb0899_drv.c if (postproc[ctl].level == STB0899_GPIOPULLUP) ctl 580 drivers/media/dvb-frontends/stb0899_drv.c stb0899_write_reg(state, postproc[ctl].gpio, 0x02); ctl 582 drivers/media/dvb-frontends/stb0899_drv.c stb0899_write_reg(state, postproc[ctl].gpio, 0x82); ctl 584 drivers/media/dvb-frontends/stb0899_drv.c if (postproc[ctl].level == STB0899_GPIOPULLUP) ctl 585 drivers/media/dvb-frontends/stb0899_drv.c stb0899_write_reg(state, postproc[ctl].gpio, 0x82); ctl 587 drivers/media/dvb-frontends/stb0899_drv.c stb0899_write_reg(state, postproc[ctl].gpio, 0x02); ctl 1344 drivers/media/pci/cx23885/cx23885-dvb.c static struct xc2028_ctrl ctl = { ctl 1353 drivers/media/pci/cx23885/cx23885-dvb.c fe->ops.tuner_ops.set_config(fe, &ctl); ctl 1396 drivers/media/pci/cx23885/cx23885-dvb.c static struct xc2028_ctrl ctl = { ctl 1408 drivers/media/pci/cx23885/cx23885-dvb.c fe->ops.tuner_ops.set_config(fe, &ctl); ctl 1438 drivers/media/pci/cx23885/cx23885-dvb.c static struct xc2028_ctrl ctl = { ctl 1447 drivers/media/pci/cx23885/cx23885-dvb.c fe->ops.tuner_ops.set_config(fe, &ctl); ctl 1490 drivers/media/pci/cx23885/cx23885-dvb.c static struct xc2028_ctrl ctl = { ctl 1499 drivers/media/pci/cx23885/cx23885-dvb.c fe->ops.tuner_ops.set_config(fe, &ctl); ctl 3350 drivers/media/pci/cx88/cx88-cards.c void cx88_setup_xc3028(struct cx88_core *core, struct xc2028_ctrl *ctl) ctl 3352 drivers/media/pci/cx88/cx88-cards.c memset(ctl, 0, sizeof(*ctl)); ctl 3354 drivers/media/pci/cx88/cx88-cards.c ctl->fname = XC2028_DEFAULT_FIRMWARE; ctl 3355 drivers/media/pci/cx88/cx88-cards.c ctl->max_len = 64; ctl 3365 drivers/media/pci/cx88/cx88-cards.c ctl->demod = XC3028_FE_ZARLINK456; ctl 3369 drivers/media/pci/cx88/cx88-cards.c ctl->demod = XC3028_FE_OREN538; ctl 3379 drivers/media/pci/cx88/cx88-cards.c ctl->disable_power_mgmt = 1; ctl 3390 drivers/media/pci/cx88/cx88-cards.c ctl->demod = XC3028_FE_ZARLINK456; ctl 3391 drivers/media/pci/cx88/cx88-cards.c ctl->mts = 1; ctl 3394 drivers/media/pci/cx88/cx88-cards.c ctl->demod = XC3028_FE_OREN538; ctl 3395 drivers/media/pci/cx88/cx88-cards.c ctl->mts = 1; ctl 3507 drivers/media/pci/cx88/cx88-cards.c struct tea5767_ctrl ctl; ctl 3509 drivers/media/pci/cx88/cx88-cards.c memset(&ctl, 0, sizeof(ctl)); ctl 3511 drivers/media/pci/cx88/cx88-cards.c ctl.high_cut = 1; ctl 3512 drivers/media/pci/cx88/cx88-cards.c ctl.st_noise = 1; ctl 3513 drivers/media/pci/cx88/cx88-cards.c ctl.deemph_75 = 1; ctl 3514 drivers/media/pci/cx88/cx88-cards.c ctl.xtal_freq = TEA5767_HIGH_LO_13MHz; ctl 3517 drivers/media/pci/cx88/cx88-cards.c tea5767_cfg.priv = &ctl; ctl 3573 drivers/media/pci/cx88/cx88-cards.c struct xc2028_ctrl ctl; ctl 3576 drivers/media/pci/cx88/cx88-cards.c cx88_setup_xc3028(core, &ctl); ctl 3581 drivers/media/pci/cx88/cx88-cards.c xc2028_cfg.priv = &ctl; ctl 3583 drivers/media/pci/cx88/cx88-cards.c ctl.fname); ctl 606 drivers/media/pci/cx88/cx88-dvb.c struct xc2028_ctrl ctl; ctl 610 drivers/media/pci/cx88/cx88-dvb.c .ctrl = &ctl, ctl 628 drivers/media/pci/cx88/cx88-dvb.c cx88_setup_xc3028(dev->core, &ctl); ctl 1369 drivers/media/pci/cx88/cx88-dvb.c static struct xc2028_ctrl ctl = { ctl 1378 drivers/media/pci/cx88/cx88-dvb.c fe->ops.tuner_ops.set_config(fe, &ctl); ctl 124 drivers/media/pci/cx88/cx88-tvaudio.c static void set_audio_finish(struct cx88_core *core, u32 ctl) ctl 146 drivers/media/pci/cx88/cx88-tvaudio.c ctl |= EN_DAC_ENABLE; ctl 147 drivers/media/pci/cx88/cx88-tvaudio.c cx_write(AUD_CTL, ctl); ctl 883 drivers/media/pci/cx88/cx88-tvaudio.c u32 ctl = UNSET; ctl 945 drivers/media/pci/cx88/cx88-tvaudio.c ctl = EN_A2_FORCE_MONO1; ctl 948 drivers/media/pci/cx88/cx88-tvaudio.c ctl = EN_A2_FORCE_MONO2; ctl 952 drivers/media/pci/cx88/cx88-tvaudio.c ctl = EN_A2_FORCE_STEREO; ctl 961 drivers/media/pci/cx88/cx88-tvaudio.c ctl = EN_FMRADIO_FORCE_MONO; ctl 965 drivers/media/pci/cx88/cx88-tvaudio.c ctl = EN_FMRADIO_AUTO_STEREO; ctl 978 drivers/media/pci/cx88/cx88-tvaudio.c if (ctl != UNSET) { ctl 980 drivers/media/pci/cx88/cx88-tvaudio.c mask, ctl, cx_read(AUD_STATUS), ctl 982 drivers/media/pci/cx88/cx88-tvaudio.c cx_andor(AUD_CTL, mask, ctl); ctl 678 drivers/media/pci/cx88/cx88.h void cx88_setup_xc3028(struct cx88_core *core, struct xc2028_ctrl *ctl); ctl 1152 drivers/media/pci/ddbridge/ddbridge-core.c const struct stv6110x_devctl *ctl; ctl 1154 drivers/media/pci/ddbridge/ddbridge-core.c ctl = dvb_attach(stv6110x_attach, dvb->fe, tunerconf, i2c); ctl 1155 drivers/media/pci/ddbridge/ddbridge-core.c if (!ctl) { ctl 1162 drivers/media/pci/ddbridge/ddbridge-core.c feconf->tuner_init = ctl->tuner_init; ctl 1163 drivers/media/pci/ddbridge/ddbridge-core.c feconf->tuner_sleep = ctl->tuner_sleep; ctl 1164 drivers/media/pci/ddbridge/ddbridge-core.c feconf->tuner_set_mode = ctl->tuner_set_mode; ctl 1165 drivers/media/pci/ddbridge/ddbridge-core.c feconf->tuner_set_frequency = ctl->tuner_set_frequency; ctl 1166 drivers/media/pci/ddbridge/ddbridge-core.c feconf->tuner_get_frequency = ctl->tuner_get_frequency; ctl 1167 drivers/media/pci/ddbridge/ddbridge-core.c feconf->tuner_set_bandwidth = ctl->tuner_set_bandwidth; ctl 1168 drivers/media/pci/ddbridge/ddbridge-core.c feconf->tuner_get_bandwidth = ctl->tuner_get_bandwidth; ctl 1169 drivers/media/pci/ddbridge/ddbridge-core.c feconf->tuner_set_bbgain = ctl->tuner_set_bbgain; ctl 1170 drivers/media/pci/ddbridge/ddbridge-core.c feconf->tuner_get_bbgain = ctl->tuner_get_bbgain; ctl 1171 drivers/media/pci/ddbridge/ddbridge-core.c feconf->tuner_set_refclk = ctl->tuner_set_refclk; ctl 1172 drivers/media/pci/ddbridge/ddbridge-core.c feconf->tuner_get_status = ctl->tuner_get_status; ctl 125 drivers/media/pci/ngene/ngene-cards.c const struct stv6110x_devctl *ctl; ctl 127 drivers/media/pci/ngene/ngene-cards.c ctl = dvb_attach(stv6110x_attach, chan->fe, tunerconf, i2c); ctl 128 drivers/media/pci/ngene/ngene-cards.c if (ctl == NULL) { ctl 133 drivers/media/pci/ngene/ngene-cards.c feconf->tuner_init = ctl->tuner_init; ctl 134 drivers/media/pci/ngene/ngene-cards.c feconf->tuner_sleep = ctl->tuner_sleep; ctl 135 drivers/media/pci/ngene/ngene-cards.c feconf->tuner_set_mode = ctl->tuner_set_mode; ctl 136 drivers/media/pci/ngene/ngene-cards.c feconf->tuner_set_frequency = ctl->tuner_set_frequency; ctl 137 drivers/media/pci/ngene/ngene-cards.c feconf->tuner_get_frequency = ctl->tuner_get_frequency; ctl 138 drivers/media/pci/ngene/ngene-cards.c feconf->tuner_set_bandwidth = ctl->tuner_set_bandwidth; ctl 139 drivers/media/pci/ngene/ngene-cards.c feconf->tuner_get_bandwidth = ctl->tuner_get_bandwidth; ctl 140 drivers/media/pci/ngene/ngene-cards.c feconf->tuner_set_bbgain = ctl->tuner_set_bbgain; ctl 141 drivers/media/pci/ngene/ngene-cards.c feconf->tuner_get_bbgain = ctl->tuner_get_bbgain; ctl 142 drivers/media/pci/ngene/ngene-cards.c feconf->tuner_set_refclk = ctl->tuner_set_refclk; ctl 143 drivers/media/pci/ngene/ngene-cards.c feconf->tuner_get_status = ctl->tuner_get_status; ctl 7673 drivers/media/pci/saa7134/saa7134-cards.c struct xc2028_ctrl ctl; ctl 7676 drivers/media/pci/saa7134/saa7134-cards.c memset(&ctl, 0, sizeof(ctl)); ctl 7678 drivers/media/pci/saa7134/saa7134-cards.c ctl.fname = XC2028_DEFAULT_FIRMWARE; ctl 7679 drivers/media/pci/saa7134/saa7134-cards.c ctl.max_len = 64; ctl 7686 drivers/media/pci/saa7134/saa7134-cards.c ctl.demod = XC3028_FE_ZARLINK456; ctl 7689 drivers/media/pci/saa7134/saa7134-cards.c ctl.demod = XC3028_FE_OREN538; ctl 7690 drivers/media/pci/saa7134/saa7134-cards.c ctl.mts = 1; ctl 7694 drivers/media/pci/saa7134/saa7134-cards.c xc2028_cfg.priv = &ctl; ctl 8060 drivers/media/pci/saa7134/saa7134-cards.c struct tea5767_ctrl ctl; ctl 8064 drivers/media/pci/saa7134/saa7134-cards.c memset(&ctl, 0, sizeof(ctl)); ctl 8065 drivers/media/pci/saa7134/saa7134-cards.c ctl.xtal_freq = TEA5767_HIGH_LO_13MHz; ctl 8067 drivers/media/pci/saa7134/saa7134-cards.c tea5767_cfg.priv = &ctl; ctl 354 drivers/media/pci/saa7164/saa7164-api.c int saa7164_api_set_usercontrol(struct saa7164_port *port, u8 ctl) ctl 360 drivers/media/pci/saa7164/saa7164-api.c if (ctl == PU_BRIGHTNESS_CONTROL) ctl 363 drivers/media/pci/saa7164/saa7164-api.c if (ctl == PU_CONTRAST_CONTROL) ctl 366 drivers/media/pci/saa7164/saa7164-api.c if (ctl == PU_HUE_CONTROL) ctl 369 drivers/media/pci/saa7164/saa7164-api.c if (ctl == PU_SATURATION_CONTROL) ctl 372 drivers/media/pci/saa7164/saa7164-api.c if (ctl == PU_SHARPNESS_CONTROL) ctl 378 drivers/media/pci/saa7164/saa7164-api.c __func__, port->encunit.vsourceid, ctl, val); ctl 381 drivers/media/pci/saa7164/saa7164-api.c ctl, sizeof(u16), &val); ctl 388 drivers/media/pci/saa7164/saa7164-api.c int saa7164_api_get_usercontrol(struct saa7164_port *port, u8 ctl) ctl 395 drivers/media/pci/saa7164/saa7164-api.c ctl, sizeof(u16), &val); ctl 402 drivers/media/pci/saa7164/saa7164-api.c __func__, ctl, val); ctl 404 drivers/media/pci/saa7164/saa7164-api.c if (ctl == PU_BRIGHTNESS_CONTROL) ctl 407 drivers/media/pci/saa7164/saa7164-api.c if (ctl == PU_CONTRAST_CONTROL) ctl 410 drivers/media/pci/saa7164/saa7164-api.c if (ctl == PU_HUE_CONTROL) ctl 413 drivers/media/pci/saa7164/saa7164-api.c if (ctl == PU_SATURATION_CONTROL) ctl 416 drivers/media/pci/saa7164/saa7164-api.c if (ctl == PU_SHARPNESS_CONTROL) ctl 535 drivers/media/pci/saa7164/saa7164.h int saa7164_api_set_usercontrol(struct saa7164_port *port, u8 ctl); ctl 536 drivers/media/pci/saa7164/saa7164.h int saa7164_api_get_usercontrol(struct saa7164_port *port, u8 ctl); ctl 644 drivers/media/pci/ttpci/budget.c const struct stv6110x_devctl *ctl; ctl 657 drivers/media/pci/ttpci/budget.c ctl = dvb_attach(stv6110x_attach, ctl 662 drivers/media/pci/ttpci/budget.c if (ctl) { ctl 663 drivers/media/pci/ttpci/budget.c tt1600_stv090x_config.tuner_init = ctl->tuner_init; ctl 664 drivers/media/pci/ttpci/budget.c tt1600_stv090x_config.tuner_sleep = ctl->tuner_sleep; ctl 665 drivers/media/pci/ttpci/budget.c tt1600_stv090x_config.tuner_set_mode = ctl->tuner_set_mode; ctl 666 drivers/media/pci/ttpci/budget.c tt1600_stv090x_config.tuner_set_frequency = ctl->tuner_set_frequency; ctl 667 drivers/media/pci/ttpci/budget.c tt1600_stv090x_config.tuner_get_frequency = ctl->tuner_get_frequency; ctl 668 drivers/media/pci/ttpci/budget.c tt1600_stv090x_config.tuner_set_bandwidth = ctl->tuner_set_bandwidth; ctl 669 drivers/media/pci/ttpci/budget.c tt1600_stv090x_config.tuner_get_bandwidth = ctl->tuner_get_bandwidth; ctl 670 drivers/media/pci/ttpci/budget.c tt1600_stv090x_config.tuner_set_bbgain = ctl->tuner_set_bbgain; ctl 671 drivers/media/pci/ttpci/budget.c tt1600_stv090x_config.tuner_get_bbgain = ctl->tuner_get_bbgain; ctl 672 drivers/media/pci/ttpci/budget.c tt1600_stv090x_config.tuner_set_refclk = ctl->tuner_set_refclk; ctl 673 drivers/media/pci/ttpci/budget.c tt1600_stv090x_config.tuner_get_status = ctl->tuner_get_status; ctl 697 drivers/media/pci/ttpci/budget.c const struct stv6110x_devctl *ctl; ctl 711 drivers/media/pci/ttpci/budget.c ctl = dvb_attach(stv6110x_attach, ctl 716 drivers/media/pci/ttpci/budget.c if (ctl) { ctl 717 drivers/media/pci/ttpci/budget.c tt1600_stv090x_config.tuner_init = ctl->tuner_init; ctl 718 drivers/media/pci/ttpci/budget.c tt1600_stv090x_config.tuner_sleep = ctl->tuner_sleep; ctl 719 drivers/media/pci/ttpci/budget.c tt1600_stv090x_config.tuner_set_mode = ctl->tuner_set_mode; ctl 720 drivers/media/pci/ttpci/budget.c tt1600_stv090x_config.tuner_set_frequency = ctl->tuner_set_frequency; ctl 721 drivers/media/pci/ttpci/budget.c tt1600_stv090x_config.tuner_get_frequency = ctl->tuner_get_frequency; ctl 722 drivers/media/pci/ttpci/budget.c tt1600_stv090x_config.tuner_set_bandwidth = ctl->tuner_set_bandwidth; ctl 723 drivers/media/pci/ttpci/budget.c tt1600_stv090x_config.tuner_get_bandwidth = ctl->tuner_get_bandwidth; ctl 724 drivers/media/pci/ttpci/budget.c tt1600_stv090x_config.tuner_set_bbgain = ctl->tuner_set_bbgain; ctl 725 drivers/media/pci/ttpci/budget.c tt1600_stv090x_config.tuner_get_bbgain = ctl->tuner_get_bbgain; ctl 726 drivers/media/pci/ttpci/budget.c tt1600_stv090x_config.tuner_set_refclk = ctl->tuner_set_refclk; ctl 727 drivers/media/pci/ttpci/budget.c tt1600_stv090x_config.tuner_get_status = ctl->tuner_get_status; ctl 1576 drivers/media/usb/cx231xx/cx231xx-417.c struct v4l2_control *ctl) ctl 1585 drivers/media/usb/cx231xx/cx231xx-417.c v4l2_s_ctrl(NULL, sd->ctrl_handler, ctl); ctl 781 drivers/media/usb/dvb-usb/cxusb.c static struct xc2028_ctrl ctl = { ctl 794 drivers/media/usb/dvb-usb/cxusb.c fe->ops.tuner_ops.set_config(fe, &ctl); ctl 527 drivers/media/usb/dvb-usb/technisat-usb2.c const struct stv6110x_devctl *ctl; ctl 529 drivers/media/usb/dvb-usb/technisat-usb2.c ctl = dvb_attach(stv6110x_attach, ctl 534 drivers/media/usb/dvb-usb/technisat-usb2.c if (ctl) { ctl 535 drivers/media/usb/dvb-usb/technisat-usb2.c technisat_usb2_stv090x_config.tuner_init = ctl->tuner_init; ctl 536 drivers/media/usb/dvb-usb/technisat-usb2.c technisat_usb2_stv090x_config.tuner_sleep = ctl->tuner_sleep; ctl 537 drivers/media/usb/dvb-usb/technisat-usb2.c technisat_usb2_stv090x_config.tuner_set_mode = ctl->tuner_set_mode; ctl 538 drivers/media/usb/dvb-usb/technisat-usb2.c technisat_usb2_stv090x_config.tuner_set_frequency = ctl->tuner_set_frequency; ctl 539 drivers/media/usb/dvb-usb/technisat-usb2.c technisat_usb2_stv090x_config.tuner_get_frequency = ctl->tuner_get_frequency; ctl 540 drivers/media/usb/dvb-usb/technisat-usb2.c technisat_usb2_stv090x_config.tuner_set_bandwidth = ctl->tuner_set_bandwidth; ctl 541 drivers/media/usb/dvb-usb/technisat-usb2.c technisat_usb2_stv090x_config.tuner_get_bandwidth = ctl->tuner_get_bandwidth; ctl 542 drivers/media/usb/dvb-usb/technisat-usb2.c technisat_usb2_stv090x_config.tuner_set_bbgain = ctl->tuner_set_bbgain; ctl 543 drivers/media/usb/dvb-usb/technisat-usb2.c technisat_usb2_stv090x_config.tuner_get_bbgain = ctl->tuner_get_bbgain; ctl 544 drivers/media/usb/dvb-usb/technisat-usb2.c technisat_usb2_stv090x_config.tuner_set_refclk = ctl->tuner_set_refclk; ctl 545 drivers/media/usb/dvb-usb/technisat-usb2.c technisat_usb2_stv090x_config.tuner_get_status = ctl->tuner_get_status; ctl 3229 drivers/media/usb/em28xx/em28xx-cards.c void em28xx_setup_xc3028(struct em28xx *dev, struct xc2028_ctrl *ctl) ctl 3231 drivers/media/usb/em28xx/em28xx-cards.c memset(ctl, 0, sizeof(*ctl)); ctl 3233 drivers/media/usb/em28xx/em28xx-cards.c ctl->fname = XC2028_DEFAULT_FIRMWARE; ctl 3234 drivers/media/usb/em28xx/em28xx-cards.c ctl->max_len = 64; ctl 3235 drivers/media/usb/em28xx/em28xx-cards.c ctl->mts = em28xx_boards[dev->model].mts_firmware; ctl 3245 drivers/media/usb/em28xx/em28xx-cards.c ctl->demod = XC3028_FE_ZARLINK456; ctl 3249 drivers/media/usb/em28xx/em28xx-cards.c ctl->demod = XC3028_FE_DEFAULT; ctl 3252 drivers/media/usb/em28xx/em28xx-cards.c ctl->demod = XC3028_FE_DEFAULT; ctl 3253 drivers/media/usb/em28xx/em28xx-cards.c ctl->fname = XC3028L_DEFAULT_FIRMWARE; ctl 3259 drivers/media/usb/em28xx/em28xx-cards.c ctl->demod = XC3028_FE_DEFAULT; ctl 3264 drivers/media/usb/em28xx/em28xx-cards.c ctl->demod = XC3028_FE_CHINA; ctl 3265 drivers/media/usb/em28xx/em28xx-cards.c ctl->fname = XC2028_DEFAULT_FIRMWARE; ctl 3268 drivers/media/usb/em28xx/em28xx-cards.c ctl->demod = XC3028_FE_CHINA; ctl 3269 drivers/media/usb/em28xx/em28xx-cards.c ctl->fname = XC3028L_DEFAULT_FIRMWARE; ctl 3272 drivers/media/usb/em28xx/em28xx-cards.c ctl->demod = XC3028_FE_OREN538; ctl 945 drivers/media/usb/em28xx/em28xx-dvb.c struct xc2028_ctrl ctl; ctl 951 drivers/media/usb/em28xx/em28xx-dvb.c memset(&ctl, 0, sizeof(ctl)); ctl 952 drivers/media/usb/em28xx/em28xx-dvb.c em28xx_setup_xc3028(dev, &ctl); ctl 953 drivers/media/usb/em28xx/em28xx-dvb.c cfg.ctrl = &ctl; ctl 2499 drivers/media/usb/em28xx/em28xx-video.c struct xc2028_ctrl ctl; ctl 2502 drivers/media/usb/em28xx/em28xx-video.c memset(&ctl, 0, sizeof(ctl)); ctl 2504 drivers/media/usb/em28xx/em28xx-video.c em28xx_setup_xc3028(dev, &ctl); ctl 2507 drivers/media/usb/em28xx/em28xx-video.c xc2028_cfg.priv = &ctl; ctl 846 drivers/media/usb/em28xx/em28xx.h void em28xx_setup_xc3028(struct em28xx *dev, struct xc2028_ctrl *ctl); ctl 122 drivers/media/usb/stk1160/stk1160-core.c static const struct regval ctl[] = { ctl 146 drivers/media/usb/stk1160/stk1160-core.c for (i = 0; ctl[i].reg != 0xffff; i++) ctl 147 drivers/media/usb/stk1160/stk1160-core.c stk1160_write_reg(dev, ctl[i].reg, ctl[i].val); ctl 917 drivers/media/usb/tm6000/tm6000-cards.c struct xc2028_ctrl ctl; ctl 920 drivers/media/usb/tm6000/tm6000-cards.c memset(&ctl, 0, sizeof(ctl)); ctl 922 drivers/media/usb/tm6000/tm6000-cards.c ctl.demod = XC3028_FE_ZARLINK456; ctl 925 drivers/media/usb/tm6000/tm6000-cards.c xc2028_cfg.priv = &ctl; ctl 931 drivers/media/usb/tm6000/tm6000-cards.c ctl.max_len = 80; ctl 932 drivers/media/usb/tm6000/tm6000-cards.c ctl.fname = "xc3028L-v36.fw"; ctl 936 drivers/media/usb/tm6000/tm6000-cards.c ctl.fname = "xc3028-v27.fw"; ctl 938 drivers/media/usb/tm6000/tm6000-cards.c ctl.fname = "xc3028-v24.fw"; ctl 950 drivers/media/usb/tm6000/tm6000-cards.c struct xc5000_config ctl = { ctl 957 drivers/media/usb/tm6000/tm6000-cards.c xc5000_cfg.priv = &ctl; ctl 6658 drivers/message/fusion/mptbase.c int scsi, fc, sas, lan, ctl, targ, dmp; ctl 6664 drivers/message/fusion/mptbase.c scsi = fc = sas = lan = ctl = targ = dmp = 0; ctl 6685 drivers/message/fusion/mptbase.c if (!ctl++) drvname = "ioctl"; ctl 32 drivers/misc/habanalabs/debugfs.c pkt.ctl = cpu_to_le32(ARMCP_PACKET_I2C_RD << ctl 58 drivers/misc/habanalabs/debugfs.c pkt.ctl = cpu_to_le32(ARMCP_PACKET_I2C_WR << ctl 84 drivers/misc/habanalabs/debugfs.c pkt.ctl = cpu_to_le32(ARMCP_PACKET_LED_SET << ctl 59 drivers/misc/habanalabs/firmware_if.c pkt.ctl = cpu_to_le32(opcode << ARMCP_PKT_CTL_OPCODE_SHIFT); ctl 111 drivers/misc/habanalabs/firmware_if.c tmp = le32_to_cpu(pkt->ctl); ctl 138 drivers/misc/habanalabs/firmware_if.c test_pkt.ctl = cpu_to_le32(ARMCP_PACKET_TEST << ctl 185 drivers/misc/habanalabs/firmware_if.c hb_pkt.ctl = cpu_to_le32(ARMCP_PACKET_TEST << ctl 219 drivers/misc/habanalabs/firmware_if.c pkt.ctl = cpu_to_le32(ARMCP_PACKET_INFO_GET << ctl 269 drivers/misc/habanalabs/firmware_if.c pkt.ctl = cpu_to_le32(ARMCP_PACKET_EEPROM_DATA_GET << ctl 2919 drivers/misc/habanalabs/goya/goya.c fence_pkt->ctl = cpu_to_le32(tmp); ctl 2999 drivers/misc/habanalabs/goya/goya.c fence_pkt->ctl = cpu_to_le32(tmp); ctl 3233 drivers/misc/habanalabs/goya/goya.c u32 ctl; ctl 3236 drivers/misc/habanalabs/goya/goya.c ctl = le32_to_cpu(user_dma_pkt->ctl); ctl 3238 drivers/misc/habanalabs/goya/goya.c user_dir = (ctl & GOYA_PKT_LIN_DMA_CTL_DMA_DIR_MASK) >> ctl 3241 drivers/misc/habanalabs/goya/goya.c user_memset = (ctl & GOYA_PKT_LIN_DMA_CTL_MEMSET_MASK) >> ctl 3332 drivers/misc/habanalabs/goya/goya.c u32 ctl; ctl 3334 drivers/misc/habanalabs/goya/goya.c ctl = le32_to_cpu(user_dma_pkt->ctl); ctl 3335 drivers/misc/habanalabs/goya/goya.c user_dir = (ctl & GOYA_PKT_LIN_DMA_CTL_DMA_DIR_MASK) >> ctl 3376 drivers/misc/habanalabs/goya/goya.c u32 ctl; ctl 3386 drivers/misc/habanalabs/goya/goya.c ctl = le32_to_cpu(user_dma_pkt->ctl); ctl 3387 drivers/misc/habanalabs/goya/goya.c user_dir = (ctl & GOYA_PKT_LIN_DMA_CTL_DMA_DIR_MASK) >> ctl 3452 drivers/misc/habanalabs/goya/goya.c reg_offset = le32_to_cpu(wreg_pkt->ctl) & ctl 3606 drivers/misc/habanalabs/goya/goya.c u32 user_rdcomp_mask, user_wrcomp_mask, ctl; ctl 3608 drivers/misc/habanalabs/goya/goya.c ctl = le32_to_cpu(user_dma_pkt->ctl); ctl 3610 drivers/misc/habanalabs/goya/goya.c user_dir = (ctl & GOYA_PKT_LIN_DMA_CTL_DMA_DIR_MASK) >> ctl 3613 drivers/misc/habanalabs/goya/goya.c user_memset = (ctl & GOYA_PKT_LIN_DMA_CTL_MEMSET_MASK) >> ctl 3650 drivers/misc/habanalabs/goya/goya.c user_rdcomp_mask = ctl & GOYA_PKT_LIN_DMA_CTL_RDCOMP_MASK; ctl 3652 drivers/misc/habanalabs/goya/goya.c user_wrcomp_mask = ctl & GOYA_PKT_LIN_DMA_CTL_WRCOMP_MASK; ctl 3682 drivers/misc/habanalabs/goya/goya.c ctl = le32_to_cpu(user_dma_pkt->ctl); ctl 3684 drivers/misc/habanalabs/goya/goya.c ctl &= ~GOYA_PKT_CTL_EB_MASK; ctl 3685 drivers/misc/habanalabs/goya/goya.c ctl &= ~(GOYA_PKT_LIN_DMA_CTL_RDCOMP_MASK | ctl 3687 drivers/misc/habanalabs/goya/goya.c new_dma_pkt->ctl = cpu_to_le32(ctl); ctl 3712 drivers/misc/habanalabs/goya/goya.c new_dma_pkt->ctl |= cpu_to_le32(user_rdcomp_mask | user_wrcomp_mask); ctl 4000 drivers/misc/habanalabs/goya/goya.c cq_pkt->ctl = cpu_to_le32(tmp); ctl 4008 drivers/misc/habanalabs/goya/goya.c cq_pkt->ctl = cpu_to_le32(tmp); ctl 4460 drivers/misc/habanalabs/goya/goya.c pkt->armcp_pkt.ctl = cpu_to_le32(ARMCP_PACKET_UNMASK_RAZWI_IRQ_ARRAY << ctl 4492 drivers/misc/habanalabs/goya/goya.c pkt.ctl = cpu_to_le32(ARMCP_PACKET_UNMASK_RAZWI_IRQ << ctl 4507 drivers/misc/habanalabs/goya/goya.c u32 ctl = le32_to_cpu(eq_entry->hdr.ctl); ctl 4508 drivers/misc/habanalabs/goya/goya.c u16 event_type = ((ctl & EQ_CTL_EVENT_TYPE_MASK) ctl 4613 drivers/misc/habanalabs/goya/goya.c u32 cb_size, ctl; ctl 4629 drivers/misc/habanalabs/goya/goya.c ctl = ((PACKET_LIN_DMA << GOYA_PKT_CTL_OPCODE_SHIFT) | ctl 4634 drivers/misc/habanalabs/goya/goya.c ctl |= (is_dram ? DMA_HOST_TO_DRAM : DMA_HOST_TO_SRAM) << ctl 4636 drivers/misc/habanalabs/goya/goya.c lin_dma_pkt->ctl = cpu_to_le32(ctl); ctl 77 drivers/misc/habanalabs/hw_queue.c u32 ctl, u32 len, u64 ptr) ctl 83 drivers/misc/habanalabs/hw_queue.c bd->ctl = cpu_to_le32(ctl); ctl 238 drivers/misc/habanalabs/hw_queue.c u32 ctl; ctl 246 drivers/misc/habanalabs/hw_queue.c ctl = ((q->pi << BD_CTL_SHADOW_INDEX_SHIFT) & BD_CTL_SHADOW_INDEX_MASK); ctl 277 drivers/misc/habanalabs/hw_queue.c ext_queue_submit_bd(hdev, q, ctl, len, ptr); ctl 295 drivers/misc/habanalabs/hw_queue.c bd.ctl = 0; ctl 276 drivers/misc/habanalabs/hwmon.c pkt.ctl = cpu_to_le32(ARMCP_PACKET_TEMPERATURE_GET << ctl 302 drivers/misc/habanalabs/hwmon.c pkt.ctl = cpu_to_le32(ARMCP_PACKET_VOLTAGE_GET << ctl 328 drivers/misc/habanalabs/hwmon.c pkt.ctl = cpu_to_le32(ARMCP_PACKET_CURRENT_GET << ctl 354 drivers/misc/habanalabs/hwmon.c pkt.ctl = cpu_to_le32(ARMCP_PACKET_FAN_SPEED_GET << ctl 380 drivers/misc/habanalabs/hwmon.c pkt.ctl = cpu_to_le32(ARMCP_PACKET_PWM_GET << ctl 406 drivers/misc/habanalabs/hwmon.c pkt.ctl = cpu_to_le32(ARMCP_PACKET_PWM_SET << ctl 19 drivers/misc/habanalabs/include/armcp_if.h __le32 ctl; ctl 234 drivers/misc/habanalabs/include/armcp_if.h __le32 ctl; ctl 70 drivers/misc/habanalabs/include/goya/goya_packets.h __le32 ctl; ctl 75 drivers/misc/habanalabs/include/goya/goya_packets.h __le32 ctl; ctl 83 drivers/misc/habanalabs/include/goya/goya_packets.h __le32 ctl; ctl 88 drivers/misc/habanalabs/include/goya/goya_packets.h __le32 ctl; ctl 94 drivers/misc/habanalabs/include/goya/goya_packets.h __le32 ctl; ctl 100 drivers/misc/habanalabs/include/goya/goya_packets.h __le32 ctl; ctl 105 drivers/misc/habanalabs/include/goya/goya_packets.h __le32 ctl; ctl 111 drivers/misc/habanalabs/include/goya/goya_packets.h __le32 ctl; ctl 131 drivers/misc/habanalabs/include/goya/goya_packets.h __le32 ctl; ctl 138 drivers/misc/habanalabs/include/goya/goya_packets.h __le32 ctl; ctl 20 drivers/misc/habanalabs/include/qman_if.h __le32 ctl; ctl 163 drivers/misc/habanalabs/irq.c ((le32_to_cpu(eq_base[eq->ci].hdr.ctl) & ctl 196 drivers/misc/habanalabs/irq.c eq_entry->hdr.ctl = ctl 197 drivers/misc/habanalabs/irq.c cpu_to_le32(le32_to_cpu(eq_entry->hdr.ctl) & ctl 24 drivers/misc/habanalabs/sysfs.c pkt.ctl = cpu_to_le32(ARMCP_PACKET_FREQUENCY_CURR_GET << ctl 27 drivers/misc/habanalabs/sysfs.c pkt.ctl = cpu_to_le32(ARMCP_PACKET_FREQUENCY_GET << ctl 51 drivers/misc/habanalabs/sysfs.c pkt.ctl = cpu_to_le32(ARMCP_PACKET_FREQUENCY_SET << ctl 73 drivers/misc/habanalabs/sysfs.c pkt.ctl = cpu_to_le32(ARMCP_PACKET_MAX_POWER_GET << ctl 94 drivers/misc/habanalabs/sysfs.c pkt.ctl = cpu_to_le32(ARMCP_PACKET_MAX_POWER_SET << ctl 286 drivers/misc/phantom.c u32 ctl; ctl 289 drivers/misc/phantom.c ctl = ioread32(dev->iaddr + PHN_CONTROL); ctl 290 drivers/misc/phantom.c if (!(ctl & PHN_CTL_IRQ)) { ctl 666 drivers/misc/vmw_balloon.c struct vmballoon_ctl *ctl, ctl 678 drivers/misc/vmw_balloon.c if (!list_empty(&ctl->prealloc_pages)) { ctl 679 drivers/misc/vmw_balloon.c page = list_first_entry(&ctl->prealloc_pages, ctl 683 drivers/misc/vmw_balloon.c if (ctl->page_size == VMW_BALLOON_2M_PAGE) ctl 690 drivers/misc/vmw_balloon.c ctl->page_size); ctl 695 drivers/misc/vmw_balloon.c list_add(&page->lru, &ctl->pages); ctl 701 drivers/misc/vmw_balloon.c ctl->page_size); ctl 705 drivers/misc/vmw_balloon.c ctl->n_pages = i; ctl 707 drivers/misc/vmw_balloon.c return req_n_pages == ctl->n_pages ? 0 : -ENOMEM; ctl 859 drivers/misc/vmw_balloon.c static int vmballoon_lock(struct vmballoon *b, struct vmballoon_ctl *ctl) ctl 865 drivers/misc/vmw_balloon.c num_pages = ctl->n_pages; ctl 873 drivers/misc/vmw_balloon.c list_for_each_entry(page, &ctl->pages, lru) ctl 876 drivers/misc/vmw_balloon.c batch_status = vmballoon_lock_op(b, ctl->n_pages, ctl->page_size, ctl 877 drivers/misc/vmw_balloon.c ctl->op); ctl 897 drivers/misc/vmw_balloon.c if (!vmballoon_handle_one_result(b, page, ctl->page_size, ctl 905 drivers/misc/vmw_balloon.c list_move(&page->lru, &ctl->refused_pages); ctl 906 drivers/misc/vmw_balloon.c ctl->n_pages--; ctl 907 drivers/misc/vmw_balloon.c ctl->n_refused_pages++; ctl 945 drivers/misc/vmw_balloon.c struct vmballoon_ctl *ctl) ctl 948 drivers/misc/vmw_balloon.c ctl->page_size); ctl 950 drivers/misc/vmw_balloon.c vmballoon_release_page_list(&ctl->refused_pages, &ctl->n_refused_pages, ctl 951 drivers/misc/vmw_balloon.c ctl->page_size); ctl 1086 drivers/misc/vmw_balloon.c static void vmballoon_split_refused_pages(struct vmballoon_ctl *ctl) ctl 1091 drivers/misc/vmw_balloon.c order = vmballoon_page_order(ctl->page_size); ctl 1093 drivers/misc/vmw_balloon.c list_for_each_entry_safe(page, tmp, &ctl->refused_pages, lru) { ctl 1097 drivers/misc/vmw_balloon.c list_add(&page[i].lru, &ctl->prealloc_pages); ctl 1099 drivers/misc/vmw_balloon.c ctl->n_refused_pages = 0; ctl 1110 drivers/misc/vmw_balloon.c struct vmballoon_ctl ctl = { ctl 1111 drivers/misc/vmw_balloon.c .pages = LIST_HEAD_INIT(ctl.pages), ctl 1112 drivers/misc/vmw_balloon.c .refused_pages = LIST_HEAD_INIT(ctl.refused_pages), ctl 1113 drivers/misc/vmw_balloon.c .prealloc_pages = LIST_HEAD_INIT(ctl.prealloc_pages), ctl 1122 drivers/misc/vmw_balloon.c VM_BUG_ON(!list_empty(&ctl.pages)); ctl 1123 drivers/misc/vmw_balloon.c VM_BUG_ON(ctl.n_pages != 0); ctl 1125 drivers/misc/vmw_balloon.c page_in_frames = vmballoon_page_in_frames(ctl.page_size); ctl 1132 drivers/misc/vmw_balloon.c alloc_error = vmballoon_alloc_page_list(b, &ctl, ctl 1136 drivers/misc/vmw_balloon.c lock_error = vmballoon_lock(b, &ctl); ctl 1146 drivers/misc/vmw_balloon.c atomic64_add(ctl.n_pages * page_in_frames, &b->size); ctl 1148 drivers/misc/vmw_balloon.c vmballoon_enqueue_page_list(b, &ctl.pages, &ctl.n_pages, ctl 1149 drivers/misc/vmw_balloon.c ctl.page_size); ctl 1156 drivers/misc/vmw_balloon.c ctl.n_refused_pages >= VMW_BALLOON_MAX_REFUSED) { ctl 1157 drivers/misc/vmw_balloon.c if (ctl.page_size == VMW_BALLOON_4K_PAGE) ctl 1164 drivers/misc/vmw_balloon.c vmballoon_split_refused_pages(&ctl); ctl 1165 drivers/misc/vmw_balloon.c ctl.page_size--; ctl 1176 drivers/misc/vmw_balloon.c if (ctl.n_refused_pages != 0) ctl 1177 drivers/misc/vmw_balloon.c vmballoon_release_refused_pages(b, &ctl); ctl 1179 drivers/misc/vmw_balloon.c vmballoon_release_page_list(&ctl.prealloc_pages, NULL, ctl.page_size); ctl 1199 drivers/misc/vmw_balloon.c struct vmballoon_ctl ctl = { ctl 1200 drivers/misc/vmw_balloon.c .pages = LIST_HEAD_INIT(ctl.pages), ctl 1201 drivers/misc/vmw_balloon.c .refused_pages = LIST_HEAD_INIT(ctl.refused_pages), ctl 1213 drivers/misc/vmw_balloon.c page_in_frames = vmballoon_page_in_frames(ctl.page_size); ctl 1215 drivers/misc/vmw_balloon.c VM_BUG_ON(!list_empty(&ctl.pages)); ctl 1216 drivers/misc/vmw_balloon.c VM_BUG_ON(ctl.n_pages); ctl 1217 drivers/misc/vmw_balloon.c VM_BUG_ON(!list_empty(&ctl.refused_pages)); ctl 1218 drivers/misc/vmw_balloon.c VM_BUG_ON(ctl.n_refused_pages); ctl 1241 drivers/misc/vmw_balloon.c vmballoon_dequeue_page_list(b, &ctl.pages, &ctl.n_pages, ctl 1242 drivers/misc/vmw_balloon.c ctl.page_size, to_deflate_pages); ctl 1248 drivers/misc/vmw_balloon.c tried_frames += ctl.n_pages * page_in_frames; ctl 1258 drivers/misc/vmw_balloon.c vmballoon_lock(b, &ctl); ctl 1266 drivers/misc/vmw_balloon.c deflated_all = (ctl.n_pages == to_deflate_pages); ctl 1269 drivers/misc/vmw_balloon.c n_unlocked_frames = ctl.n_pages * page_in_frames; ctl 1274 drivers/misc/vmw_balloon.c ctl.page_size, ctl.n_pages); ctl 1277 drivers/misc/vmw_balloon.c vmballoon_release_page_list(&ctl.pages, &ctl.n_pages, ctl 1278 drivers/misc/vmw_balloon.c ctl.page_size); ctl 1281 drivers/misc/vmw_balloon.c vmballoon_enqueue_page_list(b, &ctl.refused_pages, ctl 1282 drivers/misc/vmw_balloon.c &ctl.n_refused_pages, ctl 1283 drivers/misc/vmw_balloon.c ctl.page_size); ctl 1287 drivers/misc/vmw_balloon.c if (ctl.page_size == b->max_page_size) ctl 1289 drivers/misc/vmw_balloon.c ctl.page_size++; ctl 862 drivers/mmc/host/cqhci.c u32 ctl; ctl 866 drivers/mmc/host/cqhci.c ctl = cqhci_readl(cq_host, CQHCI_CTL); ctl 867 drivers/mmc/host/cqhci.c ctl |= CQHCI_CLEAR_ALL_TASKS; ctl 868 drivers/mmc/host/cqhci.c cqhci_writel(cq_host, ctl, CQHCI_CTL); ctl 893 drivers/mmc/host/cqhci.c u32 ctl; ctl 900 drivers/mmc/host/cqhci.c ctl = cqhci_readl(cq_host, CQHCI_CTL); ctl 901 drivers/mmc/host/cqhci.c ctl |= CQHCI_HALT; ctl 902 drivers/mmc/host/cqhci.c cqhci_writel(cq_host, ctl, CQHCI_CTL); ctl 744 drivers/mmc/host/renesas_sdhi_core.c priv->scc_ctl = host->ctl + of_data->scc_offset; ctl 133 drivers/mmc/host/renesas_sdhi_internal_dmac.c writeq(val, host->ctl + addr); ctl 89 drivers/mmc/host/sdhci_f_sdh30.c u32 ctl; ctl 97 drivers/mmc/host/sdhci_f_sdh30.c ctl = sdhci_readl(host, F_SDH30_ESD_CONTROL); ctl 98 drivers/mmc/host/sdhci_f_sdh30.c ctl |= F_SDH30_CMD_DAT_DELAY; ctl 99 drivers/mmc/host/sdhci_f_sdh30.c sdhci_writel(host, ctl, F_SDH30_ESD_CONTROL); ctl 186 drivers/mmc/host/tmio_mmc.c (unsigned long)host->ctl, irq); ctl 124 drivers/mmc/host/tmio_mmc.h void __iomem *ctl; ctl 234 drivers/mmc/host/tmio_mmc.h return ioread16(host->ctl + (addr << host->bus_shift)); ctl 240 drivers/mmc/host/tmio_mmc.h ioread16_rep(host->ctl + (addr << host->bus_shift), buf, count); ctl 246 drivers/mmc/host/tmio_mmc.h return ioread16(host->ctl + (addr << host->bus_shift)) | ctl 247 drivers/mmc/host/tmio_mmc.h ioread16(host->ctl + ((addr + 2) << host->bus_shift)) << 16; ctl 253 drivers/mmc/host/tmio_mmc.h ioread32_rep(host->ctl + (addr << host->bus_shift), buf, count); ctl 264 drivers/mmc/host/tmio_mmc.h iowrite16(val, host->ctl + (addr << host->bus_shift)); ctl 270 drivers/mmc/host/tmio_mmc.h iowrite16_rep(host->ctl + (addr << host->bus_shift), buf, count); ctl 279 drivers/mmc/host/tmio_mmc.h iowrite16(val & 0xffff, host->ctl + (addr << host->bus_shift)); ctl 280 drivers/mmc/host/tmio_mmc.h iowrite16(val >> 16, host->ctl + ((addr + 2) << host->bus_shift)); ctl 285 drivers/mmc/host/tmio_mmc.h iowrite32(val, host->ctl + (addr << host->bus_shift)); ctl 291 drivers/mmc/host/tmio_mmc.h iowrite32_rep(host->ctl + (addr << host->bus_shift), buf, count); ctl 1112 drivers/mmc/host/tmio_mmc_core.c void __iomem *ctl; ctl 1116 drivers/mmc/host/tmio_mmc_core.c ctl = devm_ioremap_resource(&pdev->dev, res); ctl 1117 drivers/mmc/host/tmio_mmc_core.c if (IS_ERR(ctl)) ctl 1118 drivers/mmc/host/tmio_mmc_core.c return ERR_CAST(ctl); ctl 1125 drivers/mmc/host/tmio_mmc_core.c host->ctl = ctl; ctl 242 drivers/mmc/host/uniphier-sd.c writel(UNIPHIER_SD_DMA_CTL_START, host->ctl + UNIPHIER_SD_DMA_CTL); ctl 281 drivers/mmc/host/uniphier-sd.c writel(dma_mode, host->ctl + UNIPHIER_SD_DMA_MODE); ctl 284 drivers/mmc/host/uniphier-sd.c writel(lower_32_bits(dma_addr), host->ctl + UNIPHIER_SD_DMA_ADDR_L); ctl 285 drivers/mmc/host/uniphier-sd.c writel(upper_32_bits(dma_addr), host->ctl + UNIPHIER_SD_DMA_ADDR_H); ctl 330 drivers/mmc/host/uniphier-sd.c tmp = readl(host->ctl + UNIPHIER_SD_DMA_RST); ctl 332 drivers/mmc/host/uniphier-sd.c writel(tmp, host->ctl + UNIPHIER_SD_DMA_RST); ctl 335 drivers/mmc/host/uniphier-sd.c writel(tmp, host->ctl + UNIPHIER_SD_DMA_RST); ctl 432 drivers/mmc/host/uniphier-sd.c tmp = readl(host->ctl + (CTL_SD_CARD_CLK_CTL << 1)); ctl 436 drivers/mmc/host/uniphier-sd.c writel(tmp, host->ctl + (CTL_SD_CARD_CLK_CTL << 1)); ctl 462 drivers/mmc/host/uniphier-sd.c writel(tmp, host->ctl + (CTL_SD_CARD_CLK_CTL << 1)); ctl 465 drivers/mmc/host/uniphier-sd.c writel(tmp, host->ctl + (CTL_SD_CARD_CLK_CTL << 1)); ctl 485 drivers/mmc/host/uniphier-sd.c writel(val, host->ctl + UNIPHIER_SD_HOST_MODE); ctl 495 drivers/mmc/host/uniphier-sd.c writel(val, host->ctl + (CTL_SD_CARD_CLK_CTL << 1)); ctl 519 drivers/mmc/host/uniphier-sd.c tmp = readl(host->ctl + UNIPHIER_SD_VOLT); ctl 522 drivers/mmc/host/uniphier-sd.c writel(tmp, host->ctl + UNIPHIER_SD_VOLT); ctl 375 drivers/mtd/ftl.c uint32_t ctl; ctl 401 drivers/mtd/ftl.c ctl = cpu_to_le32(BLOCK_CONTROL); ctl 406 drivers/mtd/ftl.c (u_char *)&ctl); ctl 228 drivers/mtd/nand/raw/atmel/nand-controller.c to_nand_controller(struct nand_controller *ctl) ctl 230 drivers/mtd/nand/raw/atmel/nand-controller.c return container_of(ctl, struct atmel_nand_controller, base); ctl 245 drivers/mtd/nand/raw/atmel/nand-controller.c to_smc_nand_controller(struct nand_controller *ctl) ctl 247 drivers/mtd/nand/raw/atmel/nand-controller.c return container_of(to_nand_controller(ctl), ctl 269 drivers/mtd/nand/raw/atmel/nand-controller.c to_hsmc_nand_controller(struct nand_controller *ctl) ctl 271 drivers/mtd/nand/raw/atmel/nand-controller.c return container_of(to_nand_controller(ctl), ctl 133 drivers/mtd/nand/raw/cs553x_nand.c unsigned char ctl = (ctrl & ~NAND_CTRL_CHANGE ) ^ 0x01; ctl 134 drivers/mtd/nand/raw/cs553x_nand.c writeb(ctl, mmio_base + MM_NAND_CTL); ctl 331 drivers/mtd/nand/raw/sunxi_nand.c u32 ctl; ctl 337 drivers/mtd/nand/raw/sunxi_nand.c ret = readl_poll_timeout(nfc->regs + NFC_REG_CTL, ctl, ctl 338 drivers/mtd/nand/raw/sunxi_nand.c !(ctl & NFC_RESET), 1, ctl 411 drivers/mtd/nand/raw/sunxi_nand.c u32 ctl; ctl 416 drivers/mtd/nand/raw/sunxi_nand.c ctl = readl(nfc->regs + NFC_REG_CTL) & ctl 420 drivers/mtd/nand/raw/sunxi_nand.c ctl |= NFC_CE_SEL(sel->cs) | NFC_EN | NFC_PAGE_SHIFT(nand->page_shift); ctl 422 drivers/mtd/nand/raw/sunxi_nand.c ctl |= NFC_RB_SEL(sel->rb); ctl 433 drivers/mtd/nand/raw/sunxi_nand.c writel(ctl, nfc->regs + NFC_REG_CTL); ctl 95 drivers/mtd/spi-nor/aspeed-smc.c void __iomem *ctl; /* control register */ ctl 280 drivers/mtd/spi-nor/aspeed-smc.c u32 ctl = chip->ctl_val[smc_base]; ctl 288 drivers/mtd/spi-nor/aspeed-smc.c ctl |= CONTROL_COMMAND_MODE_USER | ctl 290 drivers/mtd/spi-nor/aspeed-smc.c writel(ctl, chip->ctl); ctl 292 drivers/mtd/spi-nor/aspeed-smc.c ctl &= ~CONTROL_CE_STOP_ACTIVE_CONTROL; ctl 293 drivers/mtd/spi-nor/aspeed-smc.c writel(ctl, chip->ctl); ctl 300 drivers/mtd/spi-nor/aspeed-smc.c u32 ctl = chip->ctl_val[smc_read]; ctl 301 drivers/mtd/spi-nor/aspeed-smc.c u32 ctl2 = ctl | CONTROL_COMMAND_MODE_USER | ctl 304 drivers/mtd/spi-nor/aspeed-smc.c writel(ctl2, chip->ctl); /* stop user CE control */ ctl 305 drivers/mtd/spi-nor/aspeed-smc.c writel(ctl, chip->ctl); /* default to fread or read mode */ ctl 677 drivers/mtd/spi-nor/aspeed-smc.c reg = readl(chip->ctl); ctl 799 drivers/mtd/spi-nor/aspeed-smc.c chip->ctl = controller->regs + info->ctl0 + cs * 4; ctl 1044 drivers/net/dsa/lan9303-core.c int ctl, res; ctl 1049 drivers/net/dsa/lan9303-core.c ctl = lan9303_phy_read(ds, port, MII_BMCR); ctl 1051 drivers/net/dsa/lan9303-core.c ctl &= ~BMCR_ANENABLE; ctl 1054 drivers/net/dsa/lan9303-core.c ctl |= BMCR_SPEED100; ctl 1056 drivers/net/dsa/lan9303-core.c ctl &= ~BMCR_SPEED100; ctl 1061 drivers/net/dsa/lan9303-core.c ctl |= BMCR_FULLDPLX; ctl 1063 drivers/net/dsa/lan9303-core.c ctl &= ~BMCR_FULLDPLX; ctl 1065 drivers/net/dsa/lan9303-core.c res = lan9303_phy_write(ds, port, MII_BMCR, ctl); ctl 1069 drivers/net/dsa/lan9303-core.c lan9303_read(chip->regmap, LAN9303_VIRT_SPECIAL_CTRL, &ctl); ctl 1071 drivers/net/dsa/lan9303-core.c ctl &= ~LAN9303_VIRT_SPECIAL_TURBO; ctl 1073 drivers/net/dsa/lan9303-core.c LAN9303_VIRT_SPECIAL_CTRL, ctl); ctl 872 drivers/net/ethernet/agere/et131x.c u32 ctl; ctl 874 drivers/net/ethernet/agere/et131x.c ctl = readl(&adapter->regs->txmac.ctl); ctl 930 drivers/net/ethernet/agere/et131x.c ctl |= ET_TX_CTRL_TXMAC_ENABLE | ET_TX_CTRL_FC_DISABLE; ctl 931 drivers/net/ethernet/agere/et131x.c writel(ctl, &adapter->regs->txmac.ctl); ctl 591 drivers/net/ethernet/agere/et131x.h u32 ctl; /* 0x3000 */ ctl 245 drivers/net/ethernet/apm/xgene/xgene_enet_main.h void __iomem *ctl; ctl 448 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c txd->ctl = 0; ctl 455 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c txd->ctl |= (buff->len_l3 << 31) | ctl 469 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c txd->ctl |= HW_ATL_A0_TXD_CTL_CMD_IPV6; ctl 474 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c txd->ctl |= (HW_ATL_A0_TXD_CTL_BLEN & ctl 476 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c txd->ctl |= HW_ATL_A0_TXD_CTL_DESC_TYPE_TXD; ctl 481 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c txd->ctl |= HW_ATL_A0_TXD_CTL_CMD_LSO; ctl 487 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c txd->ctl |= HW_ATL_A0_TXD_CTL_CMD_IPCSO; ctl 490 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c txd->ctl |= HW_ATL_A0_TXD_CTL_CMD_TUCSO; ctl 493 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c txd->ctl |= HW_ATL_A0_TXD_CTL_EOP; ctl 494 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c txd->ctl |= HW_ATL_A0_TXD_CTL_CMD_WB; ctl 504 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c txd->ctl = 0; ctl 511 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c txd->ctl |= HW_ATL_B0_TXD_CTL_CMD_TCP; ctl 512 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c txd->ctl |= HW_ATL_B0_TXD_CTL_DESC_TYPE_TXC; ctl 513 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c txd->ctl |= (buff->len_l3 << 31) | ctl 522 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c txd->ctl |= HW_ATL_B0_TXD_CTL_CMD_IPV6; ctl 527 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c txd->ctl |= HW_ATL_B0_TXD_CTL_DESC_TYPE_TXC; ctl 528 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c txd->ctl |= buff->vlan_tx_tag << 4; ctl 535 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c txd->ctl |= (HW_ATL_B0_TXD_CTL_BLEN & ctl 537 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c txd->ctl |= HW_ATL_B0_TXD_CTL_DESC_TYPE_TXD; ctl 547 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c txd->ctl |= HW_ATL_B0_TXD_CTL_CMD_LSO; ctl 551 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c txd->ctl |= HW_ATL_B0_TXD_CTL_CMD_IPCSO; ctl 554 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c txd->ctl |= HW_ATL_B0_TXD_CTL_CMD_TUCSO; ctl 557 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c txd->ctl |= HW_ATL_B0_TXD_CTL_CMD_VLAN; ctl 560 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c txd->ctl |= HW_ATL_B0_TXD_CTL_EOP; ctl 561 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c txd->ctl |= HW_ATL_B0_TXD_CTL_CMD_WB; ctl 19 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.h u32 ctl; ctl 27 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.h u32 ctl; ctl 89 drivers/net/ethernet/broadcom/bgmac.c u32 ctl; ctl 91 drivers/net/ethernet/broadcom/bgmac.c ctl = bgmac_read(bgmac, ring->mmio_base + BGMAC_DMA_TX_CTL); ctl 93 drivers/net/ethernet/broadcom/bgmac.c ctl &= ~BGMAC_DMA_TX_BL_MASK; ctl 94 drivers/net/ethernet/broadcom/bgmac.c ctl |= BGMAC_DMA_TX_BL_128 << BGMAC_DMA_TX_BL_SHIFT; ctl 96 drivers/net/ethernet/broadcom/bgmac.c ctl &= ~BGMAC_DMA_TX_MR_MASK; ctl 97 drivers/net/ethernet/broadcom/bgmac.c ctl |= BGMAC_DMA_TX_MR_2 << BGMAC_DMA_TX_MR_SHIFT; ctl 99 drivers/net/ethernet/broadcom/bgmac.c ctl &= ~BGMAC_DMA_TX_PC_MASK; ctl 100 drivers/net/ethernet/broadcom/bgmac.c ctl |= BGMAC_DMA_TX_PC_16 << BGMAC_DMA_TX_PC_SHIFT; ctl 102 drivers/net/ethernet/broadcom/bgmac.c ctl &= ~BGMAC_DMA_TX_PT_MASK; ctl 103 drivers/net/ethernet/broadcom/bgmac.c ctl |= BGMAC_DMA_TX_PT_8 << BGMAC_DMA_TX_PT_SHIFT; ctl 105 drivers/net/ethernet/broadcom/bgmac.c ctl |= BGMAC_DMA_TX_ENABLE; ctl 106 drivers/net/ethernet/broadcom/bgmac.c ctl |= BGMAC_DMA_TX_PARITY_DISABLE; ctl 107 drivers/net/ethernet/broadcom/bgmac.c bgmac_write(bgmac, ring->mmio_base + BGMAC_DMA_TX_CTL, ctl); ctl 309 drivers/net/ethernet/broadcom/bgmac.c u32 ctl; ctl 311 drivers/net/ethernet/broadcom/bgmac.c ctl = bgmac_read(bgmac, ring->mmio_base + BGMAC_DMA_RX_CTL); ctl 314 drivers/net/ethernet/broadcom/bgmac.c ctl &= BGMAC_DMA_RX_ADDREXT_MASK; ctl 317 drivers/net/ethernet/broadcom/bgmac.c ctl &= ~BGMAC_DMA_RX_BL_MASK; ctl 318 drivers/net/ethernet/broadcom/bgmac.c ctl |= BGMAC_DMA_RX_BL_128 << BGMAC_DMA_RX_BL_SHIFT; ctl 320 drivers/net/ethernet/broadcom/bgmac.c ctl &= ~BGMAC_DMA_RX_PC_MASK; ctl 321 drivers/net/ethernet/broadcom/bgmac.c ctl |= BGMAC_DMA_RX_PC_8 << BGMAC_DMA_RX_PC_SHIFT; ctl 323 drivers/net/ethernet/broadcom/bgmac.c ctl &= ~BGMAC_DMA_RX_PT_MASK; ctl 324 drivers/net/ethernet/broadcom/bgmac.c ctl |= BGMAC_DMA_RX_PT_1 << BGMAC_DMA_RX_PT_SHIFT; ctl 326 drivers/net/ethernet/broadcom/bgmac.c ctl |= BGMAC_DMA_RX_ENABLE; ctl 327 drivers/net/ethernet/broadcom/bgmac.c ctl |= BGMAC_DMA_RX_PARITY_DISABLE; ctl 328 drivers/net/ethernet/broadcom/bgmac.c ctl |= BGMAC_DMA_RX_OVERFLOW_CONT; ctl 329 drivers/net/ethernet/broadcom/bgmac.c ctl |= BGMAC_RX_FRAME_OFFSET << BGMAC_DMA_RX_FRAME_OFFSET_SHIFT; ctl 330 drivers/net/ethernet/broadcom/bgmac.c bgmac_write(bgmac, ring->mmio_base + BGMAC_DMA_RX_CTL, ctl); ctl 7737 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c u32 data, ctl, cnt = 100; ctl 7754 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c ctl = addr_encode << IGU_CTRL_REG_ADDRESS_SHIFT | ctl 7763 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c ctl, igu_addr_ctl); ctl 7764 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c REG_WR(bp, igu_addr_ctl, ctl); ctl 14684 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c static int bnx2x_cnic_ctl_send(struct bnx2x *bp, struct cnic_ctl_info *ctl) ctl 14693 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c rc = c_ops->cnic_ctl(bp->cnic_data, ctl); ctl 14699 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c static int bnx2x_cnic_ctl_send_bh(struct bnx2x *bp, struct cnic_ctl_info *ctl) ctl 14707 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c rc = c_ops->cnic_ctl(bp->cnic_data, ctl); ctl 14718 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c struct cnic_ctl_info ctl = {0}; ctl 14720 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c ctl.cmd = cmd; ctl 14722 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c return bnx2x_cnic_ctl_send(bp, &ctl); ctl 14727 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c struct cnic_ctl_info ctl = {0}; ctl 14730 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c ctl.cmd = CNIC_CTL_COMPLETION_CMD; ctl 14731 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c ctl.data.comp.cid = cid; ctl 14732 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c ctl.data.comp.error = err; ctl 14734 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bnx2x_cnic_ctl_send_bh(bp, &ctl); ctl 14778 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c static int bnx2x_drv_ctl(struct net_device *dev, struct drv_ctl_info *ctl) ctl 14783 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c switch (ctl->cmd) { ctl 14785 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c u32 index = ctl->data.io.offset; ctl 14786 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c dma_addr_t addr = ctl->data.io.dma_addr; ctl 14793 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int count = ctl->data.credit.credit_count; ctl 14861 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int count = ctl->data.credit.credit_count; ctl 14869 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int ulp_type = ctl->data.register_data.ulp_type; ctl 14898 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c host_addr = (u32 *) &(ctl->data.register_data. ctl 14910 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int ulp_type = ctl->data.ulp_type; ctl 14928 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c BNX2X_ERR("unknown command %x\n", ctl->cmd); ctl 14934 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c switch (ctl->drv_state) { ctl 14950 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c BNX2X_ERR("Unknown cnic driver state: %d\n", ctl->drv_state); ctl 83 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c u32 ctl; ctl 96 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c ctl = addr_encode << IGU_CTRL_REG_ADDRESS_SHIFT | ctl 106 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c ctl, igu_addr_ctl); ctl 107 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c REG_WR(bp, igu_addr_ctl, ctl); ctl 3643 drivers/net/ethernet/cadence/macb_main.c u32 ctl; ctl 3684 drivers/net/ethernet/cadence/macb_main.c ctl = macb_readl(lp, NCR); ctl 3685 drivers/net/ethernet/cadence/macb_main.c macb_writel(lp, NCR, ctl | MACB_BIT(RE) | MACB_BIT(TE)); ctl 3694 drivers/net/ethernet/cadence/macb_main.c u32 ctl; ctl 3704 drivers/net/ethernet/cadence/macb_main.c ctl = macb_readl(lp, NCR); ctl 3705 drivers/net/ethernet/cadence/macb_main.c macb_writel(lp, NCR, ctl | MACB_BIT(CLRSTAT)); ctl 3735 drivers/net/ethernet/cadence/macb_main.c u32 ctl; ctl 3738 drivers/net/ethernet/cadence/macb_main.c ctl = macb_readl(lp, NCR); ctl 3739 drivers/net/ethernet/cadence/macb_main.c macb_writel(lp, NCR, ctl & ~(MACB_BIT(TE) | MACB_BIT(RE))); ctl 3850 drivers/net/ethernet/cadence/macb_main.c u32 intstatus, ctl; ctl 3880 drivers/net/ethernet/cadence/macb_main.c ctl = macb_readl(lp, NCR); ctl 3881 drivers/net/ethernet/cadence/macb_main.c macb_writel(lp, NCR, ctl & ~MACB_BIT(RE)); ctl 3883 drivers/net/ethernet/cadence/macb_main.c macb_writel(lp, NCR, ctl | MACB_BIT(RE)); ctl 50 drivers/net/ethernet/chelsio/cxgb/mv88e1xxx.c u32 ctl; ctl 56 drivers/net/ethernet/chelsio/cxgb/mv88e1xxx.c (void) simple_mdio_read(cphy, MII_BMCR, &ctl); ctl 57 drivers/net/ethernet/chelsio/cxgb/mv88e1xxx.c ctl &= BMCR_RESET; ctl 58 drivers/net/ethernet/chelsio/cxgb/mv88e1xxx.c if (ctl) ctl 60 drivers/net/ethernet/chelsio/cxgb/mv88e1xxx.c } while (ctl && --time_out); ctl 62 drivers/net/ethernet/chelsio/cxgb/mv88e1xxx.c return ctl ? -1 : 0; ctl 127 drivers/net/ethernet/chelsio/cxgb/mv88e1xxx.c u32 ctl; ctl 129 drivers/net/ethernet/chelsio/cxgb/mv88e1xxx.c (void) simple_mdio_read(phy, MII_BMCR, &ctl); ctl 131 drivers/net/ethernet/chelsio/cxgb/mv88e1xxx.c ctl &= ~(BMCR_SPEED100 | BMCR_SPEED1000 | BMCR_ANENABLE); ctl 133 drivers/net/ethernet/chelsio/cxgb/mv88e1xxx.c ctl |= BMCR_SPEED100; ctl 135 drivers/net/ethernet/chelsio/cxgb/mv88e1xxx.c ctl |= BMCR_SPEED1000; ctl 138 drivers/net/ethernet/chelsio/cxgb/mv88e1xxx.c ctl &= ~(BMCR_FULLDPLX | BMCR_ANENABLE); ctl 140 drivers/net/ethernet/chelsio/cxgb/mv88e1xxx.c ctl |= BMCR_FULLDPLX; ctl 142 drivers/net/ethernet/chelsio/cxgb/mv88e1xxx.c if (ctl & BMCR_SPEED1000) /* auto-negotiation required for 1Gb/s */ ctl 143 drivers/net/ethernet/chelsio/cxgb/mv88e1xxx.c ctl |= BMCR_ANENABLE; ctl 144 drivers/net/ethernet/chelsio/cxgb/mv88e1xxx.c (void) simple_mdio_write(phy, MII_BMCR, ctl); ctl 163 drivers/net/ethernet/chelsio/cxgb/mv88e1xxx.c u32 ctl; ctl 167 drivers/net/ethernet/chelsio/cxgb/mv88e1xxx.c (void) simple_mdio_read(cphy, MII_BMCR, &ctl); ctl 169 drivers/net/ethernet/chelsio/cxgb/mv88e1xxx.c ctl |= BMCR_ANENABLE | BMCR_ANRESTART; ctl 170 drivers/net/ethernet/chelsio/cxgb/mv88e1xxx.c (void) simple_mdio_write(cphy, MII_BMCR, ctl); ctl 176 drivers/net/ethernet/chelsio/cxgb/mv88e1xxx.c u32 ctl; ctl 188 drivers/net/ethernet/chelsio/cxgb/mv88e1xxx.c (void) simple_mdio_read(cphy, MII_BMCR, &ctl); ctl 189 drivers/net/ethernet/chelsio/cxgb/mv88e1xxx.c ctl &= ~BMCR_ANENABLE; ctl 190 drivers/net/ethernet/chelsio/cxgb/mv88e1xxx.c (void) simple_mdio_write(cphy, MII_BMCR, ctl | BMCR_ANRESTART); ctl 1232 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c if (dev->ctl(dev, GET_TX_MAX_CHUNK, &t->tx_max_chunk) < 0 || ctl 1233 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c dev->ctl(dev, GET_MAX_OUTSTANDING_WR, &t->max_wrs) < 0 || ctl 1234 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c dev->ctl(dev, GET_L2T_CAPACITY, &l2t_capacity) < 0 || ctl 1235 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c dev->ctl(dev, GET_MTUS, &mtutab) < 0 || ctl 1236 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c dev->ctl(dev, GET_TID_RANGE, &tid_range) < 0 || ctl 1237 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c dev->ctl(dev, GET_STID_RANGE, &stid_range) < 0) ctl 1353 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c tdev->ctl = cxgb_offload_ctl; ctl 355 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c unsigned int ctl; ctl 363 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c err = t3_mdio_read(phy, mmd, MDIO_CTRL1, &ctl); ctl 366 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c ctl &= MDIO_CTRL1_RESET; ctl 367 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c if (ctl) ctl 369 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c } while (ctl && --wait); ctl 371 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c return ctl ? -1 : 0; ctl 452 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c unsigned int ctl; ctl 454 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c err = t3_mdio_read(phy, MDIO_DEVAD_NONE, MII_BMCR, &ctl); ctl 459 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c ctl &= ~(BMCR_SPEED100 | BMCR_SPEED1000 | BMCR_ANENABLE); ctl 461 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c ctl |= BMCR_SPEED100; ctl 463 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c ctl |= BMCR_SPEED1000; ctl 466 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c ctl &= ~(BMCR_FULLDPLX | BMCR_ANENABLE); ctl 468 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c ctl |= BMCR_FULLDPLX; ctl 470 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c if (ctl & BMCR_SPEED1000) /* auto-negotiation required for GigE */ ctl 471 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c ctl |= BMCR_ANENABLE; ctl 472 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c return t3_mdio_write(phy, MDIO_DEVAD_NONE, MII_BMCR, ctl); ctl 60 drivers/net/ethernet/chelsio/cxgb3/t3cdev.h int (*ctl)(struct t3cdev *dev, unsigned int req, void *data); ctl 2125 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c u32 ctl, data2; ctl 2136 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c ctl = CTLREQID_V(1) | CTLCMDTYPE_V(0) | CTLXYBITSEL_V(0); ctl 2138 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c ctl |= CTLTCAMINDEX_V(idx) | CTLTCAMSEL_V(0); ctl 2140 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c ctl |= CTLTCAMINDEX_V(idx - 256) | CTLTCAMSEL_V(1); ctl 2142 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c t4_write_reg(padap, MPS_CLS_TCAM_DATA2_CTL_A, ctl); ctl 2166 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c ctl |= CTLXYBITSEL_V(1); ctl 2167 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c t4_write_reg(padap, MPS_CLS_TCAM_DATA2_CTL_A, ctl); ctl 1700 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c u32 cls_lo, cls_hi, ctl, data2, vnix = 0, vniy = 0; ctl 1712 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c ctl = CTLCMDTYPE_V(0) | CTLXYBITSEL_V(0); ctl 1714 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c ctl |= CTLTCAMINDEX_V(idx) | CTLTCAMSEL_V(0); ctl 1716 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c ctl |= CTLTCAMINDEX_V(idx - 256) | ctl 1718 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c t4_write_reg(adap, MPS_CLS_TCAM_DATA2_CTL_A, ctl); ctl 1741 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c ctl |= CTLXYBITSEL_V(1); ctl 1742 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c t4_write_reg(adap, MPS_CLS_TCAM_DATA2_CTL_A, ctl); ctl 2446 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h } ctl; ctl 3164 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h } ctl; ctl 3256 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h } ctl; ctl 1792 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c cmd.u.ctl.nstats_ix = ctl 1799 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c memcpy(fwsp, &rpl.u.ctl.stat0, sizeof(__be64) * nstats); ctl 112 drivers/net/ethernet/ibm/emac/phy.c int ctl, adv; ctl 120 drivers/net/ethernet/ibm/emac/phy.c ctl = phy_read(phy, MII_BMCR); ctl 121 drivers/net/ethernet/ibm/emac/phy.c if (ctl < 0) ctl 122 drivers/net/ethernet/ibm/emac/phy.c return ctl; ctl 123 drivers/net/ethernet/ibm/emac/phy.c ctl &= ~(BMCR_FULLDPLX | BMCR_SPEED100 | BMCR_SPEED1000 | BMCR_ANENABLE); ctl 126 drivers/net/ethernet/ibm/emac/phy.c phy_write(phy, MII_BMCR, ctl); ctl 162 drivers/net/ethernet/ibm/emac/phy.c ctl = phy_read(phy, MII_BMCR); ctl 163 drivers/net/ethernet/ibm/emac/phy.c ctl |= (BMCR_ANENABLE | BMCR_ANRESTART); ctl 164 drivers/net/ethernet/ibm/emac/phy.c phy_write(phy, MII_BMCR, ctl); ctl 171 drivers/net/ethernet/ibm/emac/phy.c int ctl; ctl 178 drivers/net/ethernet/ibm/emac/phy.c ctl = phy_read(phy, MII_BMCR); ctl 179 drivers/net/ethernet/ibm/emac/phy.c if (ctl < 0) ctl 180 drivers/net/ethernet/ibm/emac/phy.c return ctl; ctl 181 drivers/net/ethernet/ibm/emac/phy.c ctl &= ~(BMCR_FULLDPLX | BMCR_SPEED100 | BMCR_SPEED1000 | BMCR_ANENABLE); ctl 184 drivers/net/ethernet/ibm/emac/phy.c phy_write(phy, MII_BMCR, ctl | BMCR_RESET); ctl 191 drivers/net/ethernet/ibm/emac/phy.c ctl |= BMCR_SPEED100; ctl 194 drivers/net/ethernet/ibm/emac/phy.c ctl |= BMCR_SPEED1000; ctl 200 drivers/net/ethernet/ibm/emac/phy.c ctl |= BMCR_FULLDPLX; ctl 201 drivers/net/ethernet/ibm/emac/phy.c phy_write(phy, MII_BMCR, ctl); ctl 115 drivers/net/ethernet/lantiq_etop.c ch->dma.desc_base[ch->dma.desc].ctl = ctl 128 drivers/net/ethernet/lantiq_etop.c int len = (desc->ctl & LTQ_DMA_SIZE_MASK) - MAX_DMA_CRC_LEN; ctl 156 drivers/net/ethernet/lantiq_etop.c if ((desc->ctl & (LTQ_DMA_OWN | LTQ_DMA_C)) != LTQ_DMA_C) ctl 179 drivers/net/ethernet/lantiq_etop.c while ((ch->dma.desc_base[ch->tx_free].ctl & ctl 468 drivers/net/ethernet/lantiq_etop.c if ((desc->ctl & (LTQ_DMA_OWN | LTQ_DMA_C)) || ch->skb[ch->dma.desc]) { ctl 485 drivers/net/ethernet/lantiq_etop.c desc->ctl = LTQ_DMA_OWN | LTQ_DMA_SOP | LTQ_DMA_EOP | ctl 491 drivers/net/ethernet/lantiq_etop.c if (ch->dma.desc_base[ch->dma.desc].ctl & LTQ_DMA_OWN) ctl 105 drivers/net/ethernet/lantiq_xrx200.c if ((desc->ctl & (LTQ_DMA_OWN | LTQ_DMA_C)) != LTQ_DMA_C) ctl 108 drivers/net/ethernet/lantiq_xrx200.c desc->ctl = LTQ_DMA_OWN | LTQ_DMA_RX_OFFSET(NET_IP_ALIGN) | ctl 177 drivers/net/ethernet/lantiq_xrx200.c ch->dma.desc_base[ch->dma.desc].ctl = ctl 189 drivers/net/ethernet/lantiq_xrx200.c int len = (desc->ctl & LTQ_DMA_SIZE_MASK); ctl 222 drivers/net/ethernet/lantiq_xrx200.c if ((desc->ctl & (LTQ_DMA_OWN | LTQ_DMA_C)) == LTQ_DMA_C) { ctl 251 drivers/net/ethernet/lantiq_xrx200.c if ((desc->ctl & (LTQ_DMA_OWN | LTQ_DMA_C)) == LTQ_DMA_C) { ctl 296 drivers/net/ethernet/lantiq_xrx200.c if ((desc->ctl & (LTQ_DMA_OWN | LTQ_DMA_C)) || ch->skb[ch->dma.desc]) { ctl 314 drivers/net/ethernet/lantiq_xrx200.c desc->ctl = LTQ_DMA_OWN | LTQ_DMA_SOP | LTQ_DMA_EOP | ctl 1280 drivers/net/ethernet/marvell/skge.c u16 id1, r, ext, ctl; ctl 1338 drivers/net/ethernet/marvell/skge.c ctl = PHY_CT_SP1000; /* always 1000mbit */ ctl 1353 drivers/net/ethernet/marvell/skge.c ctl |= PHY_CT_ANE | PHY_CT_RE_CFG; ctl 1356 drivers/net/ethernet/marvell/skge.c ctl |= PHY_CT_DUP_MD; ctl 1375 drivers/net/ethernet/marvell/skge.c xm_phy_write(hw, port, PHY_BCOM_CTRL, ctl); ctl 2383 drivers/net/ethernet/marvell/sky2.c u16 ctl, mode; ctl 2405 drivers/net/ethernet/marvell/sky2.c ctl = gma_read16(hw, port, GM_GP_CTRL); ctl 2406 drivers/net/ethernet/marvell/sky2.c gma_write16(hw, port, GM_GP_CTRL, ctl & ~GM_GPCR_RX_ENA); ctl 2439 drivers/net/ethernet/marvell/sky2.c gma_write16(hw, port, GM_GP_CTRL, ctl); ctl 89 drivers/net/ethernet/mellanox/mlxsw/spectrum.c MLXSW_ITEM32(tx, hdr, ctl, 0x00, 26, 2); ctl 55 drivers/net/ethernet/mellanox/mlxsw/switchib.c MLXSW_ITEM32(tx_v1, hdr, ctl, 0x00, 26, 2); ctl 65 drivers/net/ethernet/mellanox/mlxsw/switchx2.c MLXSW_ITEM32(tx, hdr, ctl, 0x00, 26, 2); ctl 422 drivers/net/ethernet/micrel/ks8842.c struct ks8842_tx_dma_ctl *ctl = &adapter->dma_tx; ctl 423 drivers/net/ethernet/micrel/ks8842.c u8 *buf = ctl->buf; ctl 425 drivers/net/ethernet/micrel/ks8842.c if (ctl->adesc) { ctl 431 drivers/net/ethernet/micrel/ks8842.c sg_dma_len(&ctl->sg) = skb->len + sizeof(u32); ctl 442 drivers/net/ethernet/micrel/ks8842.c sg_dma_address(&ctl->sg), 0, sg_dma_len(&ctl->sg), ctl 446 drivers/net/ethernet/micrel/ks8842.c if (sg_dma_len(&ctl->sg) % 4) ctl 447 drivers/net/ethernet/micrel/ks8842.c sg_dma_len(&ctl->sg) += 4 - sg_dma_len(&ctl->sg) % 4; ctl 449 drivers/net/ethernet/micrel/ks8842.c ctl->adesc = dmaengine_prep_slave_sg(ctl->chan, ctl 450 drivers/net/ethernet/micrel/ks8842.c &ctl->sg, 1, DMA_MEM_TO_DEV, DMA_PREP_INTERRUPT); ctl 451 drivers/net/ethernet/micrel/ks8842.c if (!ctl->adesc) ctl 454 drivers/net/ethernet/micrel/ks8842.c ctl->adesc->callback_param = netdev; ctl 455 drivers/net/ethernet/micrel/ks8842.c ctl->adesc->callback = ks8842_dma_tx_cb; ctl 456 drivers/net/ethernet/micrel/ks8842.c ctl->adesc->tx_submit(ctl->adesc); ctl 543 drivers/net/ethernet/micrel/ks8842.c struct ks8842_rx_dma_ctl *ctl = &adapter->dma_rx; ctl 544 drivers/net/ethernet/micrel/ks8842.c struct scatterlist *sg = &ctl->sg; ctl 547 drivers/net/ethernet/micrel/ks8842.c ctl->skb = netdev_alloc_skb(netdev, DMA_BUFFER_SIZE); ctl 548 drivers/net/ethernet/micrel/ks8842.c if (ctl->skb) { ctl 551 drivers/net/ethernet/micrel/ks8842.c ctl->skb->data, DMA_BUFFER_SIZE, DMA_FROM_DEVICE); ctl 560 drivers/net/ethernet/micrel/ks8842.c ctl->adesc = dmaengine_prep_slave_sg(ctl->chan, ctl 563 drivers/net/ethernet/micrel/ks8842.c if (!ctl->adesc) { ctl 568 drivers/net/ethernet/micrel/ks8842.c ctl->adesc->callback_param = netdev; ctl 569 drivers/net/ethernet/micrel/ks8842.c ctl->adesc->callback = ks8842_dma_rx_cb; ctl 570 drivers/net/ethernet/micrel/ks8842.c ctl->adesc->tx_submit(ctl->adesc); ctl 583 drivers/net/ethernet/micrel/ks8842.c dev_kfree_skb(ctl->skb); ctl 584 drivers/net/ethernet/micrel/ks8842.c ctl->skb = NULL; ctl 594 drivers/net/ethernet/micrel/ks8842.c struct ks8842_rx_dma_ctl *ctl = &adapter->dma_rx; ctl 595 drivers/net/ethernet/micrel/ks8842.c struct sk_buff *skb = ctl->skb; ctl 596 drivers/net/ethernet/micrel/ks8842.c dma_addr_t addr = sg_dma_address(&ctl->sg); ctl 599 drivers/net/ethernet/micrel/ks8842.c ctl->adesc = NULL; ctl 845 drivers/net/ethernet/micrel/ks8842.c struct ks8842_tx_dma_ctl *ctl = &adapter->dma_tx; ctl 849 drivers/net/ethernet/micrel/ks8842.c if (!ctl->adesc) ctl 853 drivers/net/ethernet/micrel/ks8842.c ctl->adesc = NULL; ctl 816 drivers/net/ethernet/myricom/myri10ge/myri10ge.c int status, ctl; ctl 818 drivers/net/ethernet/myricom/myri10ge/myri10ge.c ctl = pause ? MXGEFW_ENABLE_FLOW_CONTROL : MXGEFW_DISABLE_FLOW_CONTROL; ctl 819 drivers/net/ethernet/myricom/myri10ge/myri10ge.c status = myri10ge_send_cmd(mgp, ctl, &cmd, 0); ctl 833 drivers/net/ethernet/myricom/myri10ge/myri10ge.c int status, ctl; ctl 835 drivers/net/ethernet/myricom/myri10ge/myri10ge.c ctl = promisc ? MXGEFW_ENABLE_PROMISC : MXGEFW_DISABLE_PROMISC; ctl 836 drivers/net/ethernet/myricom/myri10ge/myri10ge.c status = myri10ge_send_cmd(mgp, ctl, &cmd, atomic); ctl 1071 drivers/net/ethernet/myricom/myri10ge/myri10ge.c u16 ctl; ctl 1073 drivers/net/ethernet/myricom/myri10ge/myri10ge.c pcie_capability_read_word(pdev, PCI_EXP_DEVCTL, &ctl); ctl 1075 drivers/net/ethernet/myricom/myri10ge/myri10ge.c ret = (ctl & PCI_EXP_DEVCTL_RELAX_EN) >> 4; ctl 1077 drivers/net/ethernet/myricom/myri10ge/myri10ge.c ctl &= ~PCI_EXP_DEVCTL_RELAX_EN; ctl 1078 drivers/net/ethernet/myricom/myri10ge/myri10ge.c ctl |= (on << 4); ctl 1079 drivers/net/ethernet/myricom/myri10ge/myri10ge.c pcie_capability_write_word(pdev, PCI_EXP_DEVCTL, ctl); ctl 454 drivers/net/ethernet/netronome/nfp/flower/offload.c struct flow_match_control ctl; ctl 456 drivers/net/ethernet/netronome/nfp/flower/offload.c flow_rule_match_control(rule, &ctl); ctl 457 drivers/net/ethernet/netronome/nfp/flower/offload.c if (ctl.key->flags & ~NFP_FLOWER_SUPPORTED_CTLFLAGS) { ctl 362 drivers/net/ethernet/sfc/falcon/txc43128_phy.c int ctl = ef4_mdio_read(efx, mmd, TXC_GLRGS_GLCMD); ctl 365 drivers/net/ethernet/sfc/falcon/txc43128_phy.c ctl &= ~pd; ctl 367 drivers/net/ethernet/sfc/falcon/txc43128_phy.c ctl |= pd; ctl 369 drivers/net/ethernet/sfc/falcon/txc43128_phy.c ef4_mdio_write(efx, mmd, TXC_GLRGS_GLCMD, ctl); ctl 365 drivers/net/ethernet/sis/sis190.c static void __mdio_cmd(void __iomem *ioaddr, u32 ctl) ctl 369 drivers/net/ethernet/sis/sis190.c SIS_W32(GMIIControl, ctl); ctl 943 drivers/net/ethernet/sis/sis190.c u32 ctl; ctl 990 drivers/net/ethernet/sis/sis190.c p->ctl |= SIS_R32(StationControl) & ~0x0f001c00; ctl 998 drivers/net/ethernet/sis/sis190.c p->ctl |= 0x03000000; ctl 1001 drivers/net/ethernet/sis/sis190.c SIS_W32(StationControl, p->ctl); ctl 1676 drivers/net/ethernet/sis/sis190.c u16 ctl; ctl 1679 drivers/net/ethernet/sis/sis190.c ctl = SIS_R16(RxMacControl); ctl 1685 drivers/net/ethernet/sis/sis190.c SIS_W16(RxMacControl, ctl & ~0x0f00); ctl 1690 drivers/net/ethernet/sis/sis190.c SIS_W16(RxMacControl, ctl); ctl 242 drivers/net/ethernet/smsc/smc91x.c unsigned int ctl, cfg; ctl 310 drivers/net/ethernet/smsc/smc91x.c ctl = SMC_GET_CTL(lp) | CTL_LE_ENABLE; ctl 318 drivers/net/ethernet/smsc/smc91x.c ctl |= CTL_AUTO_RELEASE; ctl 320 drivers/net/ethernet/smsc/smc91x.c ctl &= ~CTL_AUTO_RELEASE; ctl 321 drivers/net/ethernet/smsc/smc91x.c SMC_SET_CTL(lp, ctl); ctl 1185 drivers/net/ethernet/smsc/smc91x.c unsigned int ctl; ctl 1190 drivers/net/ethernet/smsc/smc91x.c ctl = SMC_GET_CTL(lp); ctl 1191 drivers/net/ethernet/smsc/smc91x.c SMC_SET_CTL(lp, ctl & ~CTL_LE_ENABLE); ctl 1192 drivers/net/ethernet/smsc/smc91x.c SMC_SET_CTL(lp, ctl); ctl 1625 drivers/net/ethernet/smsc/smc91x.c u16 ctl; ctl 1638 drivers/net/ethernet/smsc/smc91x.c ctl = SMC_GET_CTL(lp); ctl 1639 drivers/net/ethernet/smsc/smc91x.c SMC_SET_CTL(lp, ctl | (CTL_EEPROM_SELECT | CTL_STORE)); ctl 1645 drivers/net/ethernet/smsc/smc91x.c SMC_SET_CTL(lp, ctl); ctl 1653 drivers/net/ethernet/smsc/smc91x.c u16 ctl; ctl 1664 drivers/net/ethernet/smsc/smc91x.c ctl = SMC_GET_CTL(lp); ctl 1665 drivers/net/ethernet/smsc/smc91x.c SMC_SET_CTL(lp, ctl | (CTL_EEPROM_SELECT | CTL_RELOAD)); ctl 1673 drivers/net/ethernet/smsc/smc91x.c SMC_SET_CTL(lp, ctl); ctl 437 drivers/net/ethernet/sun/cassini.c u16 ctl = cas_phy_read(cp, MII_BMCR); ctl 439 drivers/net/ethernet/sun/cassini.c if ((ctl & BMCR_PDOWN) == 0) ctl 441 drivers/net/ethernet/sun/cassini.c ctl &= ~BMCR_PDOWN; ctl 442 drivers/net/ethernet/sun/cassini.c cas_phy_write(cp, MII_BMCR, ctl); ctl 447 drivers/net/ethernet/sun/cassini.c u16 ctl = cas_phy_read(cp, MII_BMCR); ctl 449 drivers/net/ethernet/sun/cassini.c if (ctl & BMCR_PDOWN) ctl 451 drivers/net/ethernet/sun/cassini.c ctl |= BMCR_PDOWN; ctl 452 drivers/net/ethernet/sun/cassini.c cas_phy_write(cp, MII_BMCR, ctl); ctl 685 drivers/net/ethernet/sun/cassini.c u16 ctl; ctl 762 drivers/net/ethernet/sun/cassini.c ctl = cas_phy_read(cp, MII_BMCR); ctl 763 drivers/net/ethernet/sun/cassini.c ctl &= ~(BMCR_FULLDPLX | BMCR_SPEED100 | ctl 765 drivers/net/ethernet/sun/cassini.c ctl |= cp->link_cntl; ctl 766 drivers/net/ethernet/sun/cassini.c if (ctl & BMCR_ANENABLE) { ctl 767 drivers/net/ethernet/sun/cassini.c ctl |= BMCR_ANRESTART; ctl 773 drivers/net/ethernet/sun/cassini.c cas_phy_write(cp, MII_BMCR, ctl); ctl 2623 drivers/net/ethernet/ti/netcp_ethss.c u32 ts_en, seq_id, ctl; ctl 2633 drivers/net/ethernet/ti/netcp_ethss.c ctl = ETH_P_1588 | TS_TTL_NONZERO | ctl 2646 drivers/net/ethernet/ti/netcp_ethss.c writel(ctl, GBE_REG_ADDR(slave, port_regs, ts_ctl_ltype2)); ctl 49 drivers/net/phy/et1011c.c int ctl = 0; ctl 50 drivers/net/phy/et1011c.c ctl = phy_read(phydev, MII_BMCR); ctl 51 drivers/net/phy/et1011c.c if (ctl < 0) ctl 52 drivers/net/phy/et1011c.c return ctl; ctl 53 drivers/net/phy/et1011c.c ctl &= ~(BMCR_FULLDPLX | BMCR_SPEED100 | BMCR_SPEED1000 | ctl 56 drivers/net/phy/et1011c.c phy_write(phydev, MII_BMCR, ctl | BMCR_RESET); ctl 569 drivers/net/phy/marvell.c int ctl = phy_read(phydev, MII_BMCR); ctl 571 drivers/net/phy/marvell.c if (ctl < 0) ctl 572 drivers/net/phy/marvell.c return ctl; ctl 574 drivers/net/phy/marvell.c if (!(ctl & BMCR_ANENABLE) || (ctl & BMCR_ISOLATE)) ctl 1651 drivers/net/phy/phy_device.c u16 ctl = 0; ctl 1657 drivers/net/phy/phy_device.c ctl |= BMCR_SPEED1000; ctl 1659 drivers/net/phy/phy_device.c ctl |= BMCR_SPEED100; ctl 1662 drivers/net/phy/phy_device.c ctl |= BMCR_FULLDPLX; ctl 1665 drivers/net/phy/phy_device.c ~(BMCR_LOOPBACK | BMCR_ISOLATE | BMCR_PDOWN), ctl); ctl 1710 drivers/net/phy/phy_device.c int ctl = phy_read(phydev, MII_BMCR); ctl 1712 drivers/net/phy/phy_device.c if (ctl < 0) ctl 1713 drivers/net/phy/phy_device.c return ctl; ctl 1715 drivers/net/phy/phy_device.c if (!(ctl & BMCR_ANENABLE) || (ctl & BMCR_ISOLATE)) ctl 316 drivers/net/sungem_phy.c u16 ctl, adv; ctl 338 drivers/net/sungem_phy.c ctl = sungem_phy_read(phy, MII_BMCR); ctl 339 drivers/net/sungem_phy.c ctl |= (BMCR_ANENABLE | BMCR_ANRESTART); ctl 340 drivers/net/sungem_phy.c sungem_phy_write(phy, MII_BMCR, ctl); ctl 347 drivers/net/sungem_phy.c u16 ctl; ctl 354 drivers/net/sungem_phy.c ctl = sungem_phy_read(phy, MII_BMCR); ctl 355 drivers/net/sungem_phy.c ctl &= ~(BMCR_FULLDPLX|BMCR_SPEED100|BMCR_ANENABLE); ctl 358 drivers/net/sungem_phy.c sungem_phy_write(phy, MII_BMCR, ctl | BMCR_RESET); ctl 365 drivers/net/sungem_phy.c ctl |= BMCR_SPEED100; ctl 372 drivers/net/sungem_phy.c ctl |= BMCR_FULLDPLX; ctl 373 drivers/net/sungem_phy.c sungem_phy_write(phy, MII_BMCR, ctl); ctl 471 drivers/net/sungem_phy.c u16 ctl, adv; ctl 506 drivers/net/sungem_phy.c ctl = sungem_phy_read(phy, MII_BMCR); ctl 507 drivers/net/sungem_phy.c ctl |= (BMCR_ANENABLE | BMCR_ANRESTART); ctl 508 drivers/net/sungem_phy.c sungem_phy_write(phy, MII_BMCR, ctl); ctl 515 drivers/net/sungem_phy.c u16 ctl; ctl 522 drivers/net/sungem_phy.c ctl = sungem_phy_read(phy, MII_BMCR); ctl 523 drivers/net/sungem_phy.c ctl &= ~(BMCR_FULLDPLX|BMCR_SPEED100|BMCR_SPD2|BMCR_ANENABLE); ctl 526 drivers/net/sungem_phy.c sungem_phy_write(phy, MII_BMCR, ctl | BMCR_RESET); ctl 533 drivers/net/sungem_phy.c ctl |= BMCR_SPEED100; ctl 536 drivers/net/sungem_phy.c ctl |= BMCR_SPD2; ctl 539 drivers/net/sungem_phy.c ctl |= BMCR_FULLDPLX; ctl 543 drivers/net/sungem_phy.c sungem_phy_write(phy, MII_BMCR, ctl); ctl 747 drivers/net/sungem_phy.c u16 ctl, adv; ctl 789 drivers/net/sungem_phy.c ctl = sungem_phy_read(phy, MII_BMCR); ctl 790 drivers/net/sungem_phy.c ctl |= (BMCR_ANENABLE | BMCR_ANRESTART); ctl 791 drivers/net/sungem_phy.c sungem_phy_write(phy, MII_BMCR, ctl); ctl 798 drivers/net/sungem_phy.c u16 ctl, ctl2; ctl 805 drivers/net/sungem_phy.c ctl = sungem_phy_read(phy, MII_BMCR); ctl 806 drivers/net/sungem_phy.c ctl &= ~(BMCR_FULLDPLX|BMCR_SPEED100|BMCR_SPD2|BMCR_ANENABLE); ctl 807 drivers/net/sungem_phy.c ctl |= BMCR_RESET; ctl 814 drivers/net/sungem_phy.c ctl |= BMCR_SPEED100; ctl 820 drivers/net/sungem_phy.c ctl |= BMCR_SPD2; ctl 823 drivers/net/sungem_phy.c ctl |= BMCR_FULLDPLX; ctl 841 drivers/net/sungem_phy.c sungem_phy_write(phy, MII_BMCR, ctl); ctl 1214 drivers/net/tap.c struct tun_msg_ctl *ctl = m->msg_control; ctl 1218 drivers/net/tap.c if (ctl && (ctl->type == TUN_MSG_PTR)) { ctl 1219 drivers/net/tap.c for (i = 0; i < ctl->num; i++) { ctl 1220 drivers/net/tap.c xdp = &((struct xdp_buff *)ctl->ptr)[i]; ctl 1226 drivers/net/tap.c return tap_get_user(q, ctl ? ctl->ptr : NULL, &m->msg_iter, ctl 2537 drivers/net/tun.c struct tun_msg_ctl *ctl = m->msg_control; ctl 2543 drivers/net/tun.c if (ctl && (ctl->type == TUN_MSG_PTR)) { ctl 2545 drivers/net/tun.c int n = ctl->num; ctl 2554 drivers/net/tun.c xdp = &((struct xdp_buff *)ctl->ptr)[i]; ctl 2570 drivers/net/tun.c ret = tun_get_user(tun, tfile, ctl ? ctl->ptr : NULL, &m->msg_iter, ctl 111 drivers/net/wan/lmc/lmc_main.c lmc_ctl_t ctl; ctl 146 drivers/net/wan/lmc/lmc_main.c if (copy_from_user(&ctl, ifr->ifr_data, sizeof(lmc_ctl_t))) { ctl 152 drivers/net/wan/lmc/lmc_main.c sc->lmc_media->set_status (sc, &ctl); ctl 154 drivers/net/wan/lmc/lmc_main.c if(ctl.crc_length != sc->ictl.crc_length) { ctl 155 drivers/net/wan/lmc/lmc_main.c sc->lmc_media->set_crc_length(sc, ctl.crc_length); ctl 287 drivers/net/wan/lmc/lmc_main.c if (copy_from_user(&ctl, ifr->ifr_data, sizeof(lmc_ctl_t))) { ctl 292 drivers/net/wan/lmc/lmc_main.c sc->lmc_media->set_circuit_type(sc, ctl.circuit_type); ctl 293 drivers/net/wan/lmc/lmc_main.c sc->ictl.circuit_type = ctl.circuit_type; ctl 192 drivers/net/wan/lmc/lmc_media.c lmc_hssi_set_status (lmc_softc_t * const sc, lmc_ctl_t * ctl) ctl 194 drivers/net/wan/lmc/lmc_media.c if (ctl == NULL) ctl 205 drivers/net/wan/lmc/lmc_media.c if (ctl->clock_source && !sc->ictl.clock_source) ctl 210 drivers/net/wan/lmc/lmc_media.c else if (!ctl->clock_source && sc->ictl.clock_source) ctl 216 drivers/net/wan/lmc/lmc_media.c lmc_set_protocol (sc, ctl); ctl 337 drivers/net/wan/lmc/lmc_media.c lmc_ds3_set_status (lmc_softc_t * const sc, lmc_ctl_t * ctl) ctl 339 drivers/net/wan/lmc/lmc_media.c if (ctl == NULL) ctl 351 drivers/net/wan/lmc/lmc_media.c if (ctl->cable_length && !sc->ictl.cable_length) ctl 353 drivers/net/wan/lmc/lmc_media.c else if (!ctl->cable_length && sc->ictl.cable_length) ctl 359 drivers/net/wan/lmc/lmc_media.c if (ctl->scrambler_onoff && !sc->ictl.scrambler_onoff) ctl 361 drivers/net/wan/lmc/lmc_media.c else if (!ctl->scrambler_onoff && sc->ictl.scrambler_onoff) ctl 364 drivers/net/wan/lmc/lmc_media.c lmc_set_protocol (sc, ctl); ctl 574 drivers/net/wan/lmc/lmc_media.c lmc_ssi_set_status (lmc_softc_t * const sc, lmc_ctl_t * ctl) ctl 576 drivers/net/wan/lmc/lmc_media.c if (ctl == NULL) ctl 588 drivers/net/wan/lmc/lmc_media.c if (ctl->clock_source == LMC_CTL_CLOCK_SOURCE_INT ctl 594 drivers/net/wan/lmc/lmc_media.c else if (ctl->clock_source == LMC_CTL_CLOCK_SOURCE_EXT ctl 601 drivers/net/wan/lmc/lmc_media.c if (ctl->clock_rate != sc->ictl.clock_rate) ctl 602 drivers/net/wan/lmc/lmc_media.c sc->lmc_media->set_speed (sc, ctl); ctl 604 drivers/net/wan/lmc/lmc_media.c lmc_set_protocol (sc, ctl); ctl 634 drivers/net/wan/lmc/lmc_media.c lmc_ssi_set_speed (lmc_softc_t * const sc, lmc_ctl_t * ctl) ctl 645 drivers/net/wan/lmc/lmc_media.c if (ctl == NULL) ctl 660 drivers/net/wan/lmc/lmc_media.c av = &ctl->cardspec.ssi; ctl 991 drivers/net/wan/lmc/lmc_media.c lmc_t1_set_status (lmc_softc_t * const sc, lmc_ctl_t * ctl) ctl 993 drivers/net/wan/lmc/lmc_media.c if (ctl == NULL) ctl 1002 drivers/net/wan/lmc/lmc_media.c if (ctl->circuit_type == LMC_CTL_CIRCUIT_TYPE_T1 ctl 1006 drivers/net/wan/lmc/lmc_media.c else if (ctl->circuit_type == LMC_CTL_CIRCUIT_TYPE_E1 ctl 1009 drivers/net/wan/lmc/lmc_media.c lmc_set_protocol (sc, ctl); ctl 1206 drivers/net/wan/lmc/lmc_media.c lmc_set_protocol (lmc_softc_t * const sc, lmc_ctl_t * ctl) ctl 1208 drivers/net/wan/lmc/lmc_media.c if (!ctl) ctl 339 drivers/net/wireless/ath/ath10k/core.h u32 ctl; ctl 360 drivers/net/wireless/ath/ath10k/core.h u32 ctl; ctl 1565 drivers/net/wireless/ath/ath10k/debug.c tpc_stats->ctl, ctl 4818 drivers/net/wireless/ath/ath10k/wmi.c tpc_stats->ctl = __le32_to_cpu(ev->ctl); ctl 4844 drivers/net/wireless/ath/ath10k/wmi.c __le32_to_cpu(ev->ctl), ctl 5065 drivers/net/wireless/ath/ath10k/wmi.c tpc_stats->ctl = __le32_to_cpu(ev->ctl); ctl 5091 drivers/net/wireless/ath/ath10k/wmi.c __le32_to_cpu(ev->ctl), ctl 4159 drivers/net/wireless/ath/ath10k/wmi.h __le32 ctl; ctl 4188 drivers/net/wireless/ath/ath10k/wmi.h __le32 ctl; ctl 71 drivers/net/wireless/ath/ath9k/ar9003_wow.c u32 ctl[13] = {0}; ctl 80 drivers/net/wireless/ath/ath9k/ar9003_wow.c ctl[0] = (KAL_FRAME_LEN | (MAX_RATE_POWER << 16)); ctl 81 drivers/net/wireless/ath/ath9k/ar9003_wow.c ctl[1] = 0; ctl 82 drivers/net/wireless/ath/ath9k/ar9003_wow.c ctl[4] = 0; ctl 83 drivers/net/wireless/ath/ath9k/ar9003_wow.c ctl[7] = (ah->txchainmask) << 2; ctl 84 drivers/net/wireless/ath/ath9k/ar9003_wow.c ctl[2] = 0xf << 16; /* tx_tries 0 */ ctl 87 drivers/net/wireless/ath/ath9k/ar9003_wow.c ctl[3] = 0x1b; /* CCK_1M */ ctl 89 drivers/net/wireless/ath/ath9k/ar9003_wow.c ctl[3] = 0xb; /* OFDM_6M */ ctl 92 drivers/net/wireless/ath/ath9k/ar9003_wow.c REG_WRITE(ah, (AR_WOW_KA_DESC_WORD2 + i * 4), ctl[i]); ctl 388 drivers/net/wireless/ath/ath9k/eeprom.c twiceMaxEdgePower = CTL_EDGE_TPOWER(pRdEdgesPower[i].ctl); ctl 395 drivers/net/wireless/ath/ath9k/eeprom.c CTL_EDGE_FLAGS(pRdEdgesPower[i - 1].ctl)) { ctl 397 drivers/net/wireless/ath/ath9k/eeprom.c CTL_EDGE_TPOWER(pRdEdgesPower[i - 1].ctl); ctl 533 drivers/net/wireless/ath/ath9k/eeprom.h u8 ctl; ctl 1179 drivers/net/wireless/ath/ath9k/hw.c u32 ctl = ath_regd_get_band_ctl(reg, chan->chan->band); ctl 1182 drivers/net/wireless/ath/ath9k/hw.c ctl |= CTL_11G; ctl 1184 drivers/net/wireless/ath/ath9k/hw.c ctl |= CTL_11A; ctl 1186 drivers/net/wireless/ath/ath9k/hw.c return ctl; ctl 2960 drivers/net/wireless/ath/ath9k/hw.c u16 ctl = NO_CTL; ctl 2966 drivers/net/wireless/ath/ath9k/hw.c ctl = ath9k_regd_get_ctl(reg, chan); ctl 2972 drivers/net/wireless/ath/ath9k/hw.c ah->eep_ops->set_txpower(ah, chan, ctl, ctl 59 drivers/net/wireless/ath/wcn36xx/dxe.c struct wcn36xx_dxe_ctl *ctl = ch->head_blk_ctl, *next; ctl 62 drivers/net/wireless/ath/wcn36xx/dxe.c for (i = 0; i < ch->desc_num && ctl; i++) { ctl 63 drivers/net/wireless/ath/wcn36xx/dxe.c next = ctl->next; ctl 64 drivers/net/wireless/ath/wcn36xx/dxe.c kfree(ctl); ctl 65 drivers/net/wireless/ath/wcn36xx/dxe.c ctl = next; ctl 276 drivers/net/wireless/ath/wcn36xx/dxe.c struct wcn36xx_dxe_ctl *ctl, ctl 279 drivers/net/wireless/ath/wcn36xx/dxe.c struct wcn36xx_dxe_desc *dxe = ctl->desc; ctl 295 drivers/net/wireless/ath/wcn36xx/dxe.c ctl->skb = skb; ctl 357 drivers/net/wireless/ath/wcn36xx/dxe.c struct wcn36xx_dxe_ctl *ctl; ctl 367 drivers/net/wireless/ath/wcn36xx/dxe.c ctl = ch->tail_blk_ctl; ctl 369 drivers/net/wireless/ath/wcn36xx/dxe.c if (READ_ONCE(ctl->desc->ctrl) & WCN36xx_DXE_CTRL_VLD) ctl 372 drivers/net/wireless/ath/wcn36xx/dxe.c if (ctl->skb && ctl 373 drivers/net/wireless/ath/wcn36xx/dxe.c READ_ONCE(ctl->desc->ctrl) & WCN36xx_DXE_CTRL_EOP) { ctl 374 drivers/net/wireless/ath/wcn36xx/dxe.c dma_unmap_single(wcn->dev, ctl->desc->src_addr_l, ctl 375 drivers/net/wireless/ath/wcn36xx/dxe.c ctl->skb->len, DMA_TO_DEVICE); ctl 376 drivers/net/wireless/ath/wcn36xx/dxe.c info = IEEE80211_SKB_CB(ctl->skb); ctl 379 drivers/net/wireless/ath/wcn36xx/dxe.c ieee80211_free_txskb(wcn->hw, ctl->skb); ctl 387 drivers/net/wireless/ath/wcn36xx/dxe.c ctl->skb = NULL; ctl 389 drivers/net/wireless/ath/wcn36xx/dxe.c ctl = ctl->next; ctl 390 drivers/net/wireless/ath/wcn36xx/dxe.c } while (ctl != ch->head_blk_ctl); ctl 392 drivers/net/wireless/ath/wcn36xx/dxe.c ch->tail_blk_ctl = ctl; ctl 529 drivers/net/wireless/ath/wcn36xx/dxe.c struct wcn36xx_dxe_ctl *ctl; ctl 562 drivers/net/wireless/ath/wcn36xx/dxe.c ctl = ch->head_blk_ctl; ctl 563 drivers/net/wireless/ath/wcn36xx/dxe.c dxe = ctl->desc; ctl 566 drivers/net/wireless/ath/wcn36xx/dxe.c skb = ctl->skb; ctl 568 drivers/net/wireless/ath/wcn36xx/dxe.c ret = wcn36xx_dxe_fill_skb(wcn->dev, ctl, GFP_ATOMIC); ctl 579 drivers/net/wireless/ath/wcn36xx/dxe.c ctl = ctl->next; ctl 580 drivers/net/wireless/ath/wcn36xx/dxe.c dxe = ctl->desc; ctl 584 drivers/net/wireless/ath/wcn36xx/dxe.c ch->head_blk_ctl = ctl; ctl 464 drivers/net/wireless/broadcom/b43/debugfs.c cal->ctl.i, cal->ctl.q, ctl 92 drivers/net/wireless/broadcom/b43/dma.c u32 ctl; ctl 102 drivers/net/wireless/broadcom/b43/dma.c ctl = bufsize & B43_DMA32_DCTL_BYTECNT; ctl 104 drivers/net/wireless/broadcom/b43/dma.c ctl |= B43_DMA32_DCTL_DTABLEEND; ctl 106 drivers/net/wireless/broadcom/b43/dma.c ctl |= B43_DMA32_DCTL_FRAMESTART; ctl 108 drivers/net/wireless/broadcom/b43/dma.c ctl |= B43_DMA32_DCTL_FRAMEEND; ctl 110 drivers/net/wireless/broadcom/b43/dma.c ctl |= B43_DMA32_DCTL_IRQ; ctl 111 drivers/net/wireless/broadcom/b43/dma.c ctl |= (addrext << B43_DMA32_DCTL_ADDREXT_SHIFT) ctl 114 drivers/net/wireless/broadcom/b43/dma.c desc->dma32.control = cpu_to_le32(ctl); ctl 1742 drivers/net/wireless/broadcom/b43/dma.c u32 ctl; ctl 1745 drivers/net/wireless/broadcom/b43/dma.c ctl = b43_read32(dev, mmio_base + B43_DMA64_RXCTL); ctl 1746 drivers/net/wireless/broadcom/b43/dma.c ctl &= ~B43_DMA64_RXDIRECTFIFO; ctl 1748 drivers/net/wireless/broadcom/b43/dma.c ctl |= B43_DMA64_RXDIRECTFIFO; ctl 1749 drivers/net/wireless/broadcom/b43/dma.c b43_write32(dev, mmio_base + B43_DMA64_RXCTL, ctl); ctl 1751 drivers/net/wireless/broadcom/b43/dma.c ctl = b43_read32(dev, mmio_base + B43_DMA32_RXCTL); ctl 1752 drivers/net/wireless/broadcom/b43/dma.c ctl &= ~B43_DMA32_RXDIRECTFIFO; ctl 1754 drivers/net/wireless/broadcom/b43/dma.c ctl |= B43_DMA32_RXDIRECTFIFO; ctl 1755 drivers/net/wireless/broadcom/b43/dma.c b43_write32(dev, mmio_base + B43_DMA32_RXCTL, ctl); ctl 24 drivers/net/wireless/broadcom/b43/leds.c u16 ctl; ctl 26 drivers/net/wireless/broadcom/b43/leds.c ctl = b43_read16(dev, B43_MMIO_GPIO_CONTROL); ctl 28 drivers/net/wireless/broadcom/b43/leds.c ctl &= ~(1 << led_index); ctl 30 drivers/net/wireless/broadcom/b43/leds.c ctl |= (1 << led_index); ctl 31 drivers/net/wireless/broadcom/b43/leds.c b43_write16(dev, B43_MMIO_GPIO_CONTROL, ctl); ctl 37 drivers/net/wireless/broadcom/b43/leds.c u16 ctl; ctl 39 drivers/net/wireless/broadcom/b43/leds.c ctl = b43_read16(dev, B43_MMIO_GPIO_CONTROL); ctl 41 drivers/net/wireless/broadcom/b43/leds.c ctl |= (1 << led_index); ctl 43 drivers/net/wireless/broadcom/b43/leds.c ctl &= ~(1 << led_index); ctl 44 drivers/net/wireless/broadcom/b43/leds.c b43_write16(dev, B43_MMIO_GPIO_CONTROL, ctl); ctl 776 drivers/net/wireless/broadcom/b43/lo.c memcpy(&cal->ctl, &loctl, sizeof(loctl)); ctl 850 drivers/net/wireless/broadcom/b43/lo.c val = (u8)(cal->ctl.q); ctl 851 drivers/net/wireless/broadcom/b43/lo.c val |= ((u8)(cal->ctl.i)) << 4; ctl 898 drivers/net/wireless/broadcom/b43/lo.c b43_lo_write(dev, &cal->ctl); ctl 916 drivers/net/wireless/broadcom/b43/lo.c b43_lo_write(dev, &cal->ctl); ctl 965 drivers/net/wireless/broadcom/b43/lo.c cal->ctl.i, cal->ctl.q); ctl 977 drivers/net/wireless/broadcom/b43/lo.c b43_lo_write(dev, &cal->ctl); ctl 28 drivers/net/wireless/broadcom/b43/lo.h struct b43_loctl ctl; ctl 1613 drivers/net/wireless/broadcom/b43/main.c u16 ctl; ctl 1642 drivers/net/wireless/broadcom/b43/main.c ctl = b43_shm_read16(dev, B43_SHM_SHARED, B43_SHM_SH_BEACPHYCTL); ctl 1644 drivers/net/wireless/broadcom/b43/main.c ctl &= ~B43_TXH_PHY_SHORTPRMBL; ctl 1645 drivers/net/wireless/broadcom/b43/main.c ctl &= ~B43_TXH_PHY_ANT; ctl 1646 drivers/net/wireless/broadcom/b43/main.c ctl &= ~B43_TXH_PHY_ENC; ctl 1647 drivers/net/wireless/broadcom/b43/main.c ctl |= antenna; ctl 1649 drivers/net/wireless/broadcom/b43/main.c ctl |= B43_TXH_PHY_ENC_CCK; ctl 1651 drivers/net/wireless/broadcom/b43/main.c ctl |= B43_TXH_PHY_ENC_OFDM; ctl 1652 drivers/net/wireless/broadcom/b43/main.c b43_shm_write16(dev, B43_SHM_SHARED, B43_SHM_SH_BEACPHYCTL, ctl); ctl 3094 drivers/net/wireless/broadcom/b43/main.c u32 ctl; ctl 3097 drivers/net/wireless/broadcom/b43/main.c ctl = b43_read32(dev, B43_MMIO_MACCTL); ctl 3099 drivers/net/wireless/broadcom/b43/main.c ctl &= ~B43_MACCTL_AP; ctl 3100 drivers/net/wireless/broadcom/b43/main.c ctl &= ~B43_MACCTL_KEEP_CTL; ctl 3101 drivers/net/wireless/broadcom/b43/main.c ctl &= ~B43_MACCTL_KEEP_BADPLCP; ctl 3102 drivers/net/wireless/broadcom/b43/main.c ctl &= ~B43_MACCTL_KEEP_BAD; ctl 3103 drivers/net/wireless/broadcom/b43/main.c ctl &= ~B43_MACCTL_PROMISC; ctl 3104 drivers/net/wireless/broadcom/b43/main.c ctl &= ~B43_MACCTL_BEACPROMISC; ctl 3105 drivers/net/wireless/broadcom/b43/main.c ctl |= B43_MACCTL_INFRA; ctl 3109 drivers/net/wireless/broadcom/b43/main.c ctl |= B43_MACCTL_AP; ctl 3111 drivers/net/wireless/broadcom/b43/main.c ctl &= ~B43_MACCTL_INFRA; ctl 3114 drivers/net/wireless/broadcom/b43/main.c ctl |= B43_MACCTL_KEEP_CTL; ctl 3116 drivers/net/wireless/broadcom/b43/main.c ctl |= B43_MACCTL_KEEP_BAD; ctl 3118 drivers/net/wireless/broadcom/b43/main.c ctl |= B43_MACCTL_KEEP_BADPLCP; ctl 3120 drivers/net/wireless/broadcom/b43/main.c ctl |= B43_MACCTL_BEACPROMISC; ctl 3126 drivers/net/wireless/broadcom/b43/main.c ctl |= B43_MACCTL_PROMISC; ctl 3128 drivers/net/wireless/broadcom/b43/main.c b43_write32(dev, B43_MMIO_MACCTL, ctl); ctl 3131 drivers/net/wireless/broadcom/b43/main.c if ((ctl & B43_MACCTL_INFRA) && !(ctl & B43_MACCTL_AP)) { ctl 3196 drivers/net/wireless/broadcom/b43/main.c u16 ctl = 0; ctl 3198 drivers/net/wireless/broadcom/b43/main.c ctl |= B43_TXH_PHY_ENC_CCK; ctl 3199 drivers/net/wireless/broadcom/b43/main.c ctl |= B43_TXH_PHY_ANT01AUTO; ctl 3200 drivers/net/wireless/broadcom/b43/main.c ctl |= B43_TXH_PHY_TXPWR; ctl 3202 drivers/net/wireless/broadcom/b43/main.c b43_shm_write16(dev, B43_SHM_SHARED, B43_SHM_SH_BEACPHYCTL, ctl); ctl 3203 drivers/net/wireless/broadcom/b43/main.c b43_shm_write16(dev, B43_SHM_SHARED, B43_SHM_SH_ACKCTSPHYCTL, ctl); ctl 3204 drivers/net/wireless/broadcom/b43/main.c b43_shm_write16(dev, B43_SHM_SHARED, B43_SHM_SH_PRPHYCTL, ctl); ctl 869 drivers/net/wireless/broadcom/b43/phy_lp.c u16 ctl = b43_phy_read(dev, B43_LPPHY_AFE_DAC_CTL) & 0xC7F; ctl 870 drivers/net/wireless/broadcom/b43/phy_lp.c ctl |= dac << 7; ctl 871 drivers/net/wireless/broadcom/b43/phy_lp.c b43_phy_maskset(dev, B43_LPPHY_AFE_DAC_CTL, 0xF000, ctl); ctl 1089 drivers/net/wireless/broadcom/b43/phy_lp.c u16 ctl; ctl 1091 drivers/net/wireless/broadcom/b43/phy_lp.c ctl = b43_phy_read(dev, B43_LPPHY_TX_PWR_CTL_CMD); ctl 1092 drivers/net/wireless/broadcom/b43/phy_lp.c switch (ctl & B43_LPPHY_TX_PWR_CTL_CMD_MODE) { ctl 1113 drivers/net/wireless/broadcom/b43/phy_lp.c u16 ctl; ctl 1117 drivers/net/wireless/broadcom/b43/phy_lp.c ctl = B43_LPPHY_TX_PWR_CTL_CMD_MODE_OFF; ctl 1120 drivers/net/wireless/broadcom/b43/phy_lp.c ctl = B43_LPPHY_TX_PWR_CTL_CMD_MODE_HW; ctl 1123 drivers/net/wireless/broadcom/b43/phy_lp.c ctl = B43_LPPHY_TX_PWR_CTL_CMD_MODE_SW; ctl 1126 drivers/net/wireless/broadcom/b43/phy_lp.c ctl = 0; ctl 1130 drivers/net/wireless/broadcom/b43/phy_lp.c ~B43_LPPHY_TX_PWR_CTL_CMD_MODE & 0xFFFF, ctl); ctl 318 drivers/net/wireless/broadcom/b43/pio.c u16 ctl, ctl 326 drivers/net/wireless/broadcom/b43/pio.c ctl |= B43_PIO_TXCTL_WRITELO | B43_PIO_TXCTL_WRITEHI; ctl 327 drivers/net/wireless/broadcom/b43/pio.c b43_piotx_write16(q, B43_PIO_TXCTL, ctl); ctl 337 drivers/net/wireless/broadcom/b43/pio.c ctl &= ~B43_PIO_TXCTL_WRITEHI; ctl 338 drivers/net/wireless/broadcom/b43/pio.c b43_piotx_write16(q, B43_PIO_TXCTL, ctl); ctl 346 drivers/net/wireless/broadcom/b43/pio.c return ctl; ctl 355 drivers/net/wireless/broadcom/b43/pio.c u16 ctl; ctl 357 drivers/net/wireless/broadcom/b43/pio.c ctl = b43_piotx_read16(q, B43_PIO_TXCTL); ctl 358 drivers/net/wireless/broadcom/b43/pio.c ctl |= B43_PIO_TXCTL_FREADY; ctl 359 drivers/net/wireless/broadcom/b43/pio.c ctl &= ~B43_PIO_TXCTL_EOF; ctl 362 drivers/net/wireless/broadcom/b43/pio.c ctl = tx_write_2byte_queue(q, ctl, hdr, hdrlen); ctl 364 drivers/net/wireless/broadcom/b43/pio.c ctl = tx_write_2byte_queue(q, ctl, frame, frame_len); ctl 366 drivers/net/wireless/broadcom/b43/pio.c ctl |= B43_PIO_TXCTL_EOF; ctl 367 drivers/net/wireless/broadcom/b43/pio.c b43_piotx_write16(q, B43_PIO_TXCTL, ctl); ctl 371 drivers/net/wireless/broadcom/b43/pio.c u32 ctl, ctl 379 drivers/net/wireless/broadcom/b43/pio.c ctl |= B43_PIO8_TXCTL_0_7 | B43_PIO8_TXCTL_8_15 | ctl 381 drivers/net/wireless/broadcom/b43/pio.c b43_piotx_write32(q, B43_PIO8_TXCTL, ctl); ctl 392 drivers/net/wireless/broadcom/b43/pio.c ctl &= ~(B43_PIO8_TXCTL_8_15 | B43_PIO8_TXCTL_16_23 | ctl 396 drivers/net/wireless/broadcom/b43/pio.c ctl |= B43_PIO8_TXCTL_16_23 | B43_PIO8_TXCTL_8_15; ctl 402 drivers/net/wireless/broadcom/b43/pio.c ctl |= B43_PIO8_TXCTL_8_15; ctl 410 drivers/net/wireless/broadcom/b43/pio.c b43_piotx_write32(q, B43_PIO8_TXCTL, ctl); ctl 416 drivers/net/wireless/broadcom/b43/pio.c return ctl; ctl 425 drivers/net/wireless/broadcom/b43/pio.c u32 ctl; ctl 427 drivers/net/wireless/broadcom/b43/pio.c ctl = b43_piotx_read32(q, B43_PIO8_TXCTL); ctl 428 drivers/net/wireless/broadcom/b43/pio.c ctl |= B43_PIO8_TXCTL_FREADY; ctl 429 drivers/net/wireless/broadcom/b43/pio.c ctl &= ~B43_PIO8_TXCTL_EOF; ctl 432 drivers/net/wireless/broadcom/b43/pio.c ctl = tx_write_4byte_queue(q, ctl, hdr, hdrlen); ctl 434 drivers/net/wireless/broadcom/b43/pio.c ctl = tx_write_4byte_queue(q, ctl, frame, frame_len); ctl 436 drivers/net/wireless/broadcom/b43/pio.c ctl |= B43_PIO8_TXCTL_EOF; ctl 437 drivers/net/wireless/broadcom/b43/pio.c b43_piotx_write32(q, B43_PIO_TXCTL, ctl); ctl 623 drivers/net/wireless/broadcom/b43/pio.c u32 ctl; ctl 625 drivers/net/wireless/broadcom/b43/pio.c ctl = b43_piorx_read32(q, B43_PIO8_RXCTL); ctl 626 drivers/net/wireless/broadcom/b43/pio.c if (!(ctl & B43_PIO8_RXCTL_FRAMERDY)) ctl 631 drivers/net/wireless/broadcom/b43/pio.c ctl = b43_piorx_read32(q, B43_PIO8_RXCTL); ctl 632 drivers/net/wireless/broadcom/b43/pio.c if (ctl & B43_PIO8_RXCTL_DATARDY) ctl 637 drivers/net/wireless/broadcom/b43/pio.c u16 ctl; ctl 639 drivers/net/wireless/broadcom/b43/pio.c ctl = b43_piorx_read16(q, B43_PIO_RXCTL); ctl 640 drivers/net/wireless/broadcom/b43/pio.c if (!(ctl & B43_PIO_RXCTL_FRAMERDY)) ctl 645 drivers/net/wireless/broadcom/b43/pio.c ctl = b43_piorx_read16(q, B43_PIO_RXCTL); ctl 646 drivers/net/wireless/broadcom/b43/pio.c if (ctl & B43_PIO_RXCTL_DATARDY) ctl 52 drivers/net/wireless/broadcom/b43legacy/dma.c u32 ctl; ctl 63 drivers/net/wireless/broadcom/b43legacy/dma.c ctl = (bufsize - ring->frameoffset) ctl 66 drivers/net/wireless/broadcom/b43legacy/dma.c ctl |= B43legacy_DMA32_DCTL_DTABLEEND; ctl 68 drivers/net/wireless/broadcom/b43legacy/dma.c ctl |= B43legacy_DMA32_DCTL_FRAMESTART; ctl 70 drivers/net/wireless/broadcom/b43legacy/dma.c ctl |= B43legacy_DMA32_DCTL_FRAMEEND; ctl 72 drivers/net/wireless/broadcom/b43legacy/dma.c ctl |= B43legacy_DMA32_DCTL_IRQ; ctl 73 drivers/net/wireless/broadcom/b43legacy/dma.c ctl |= (addrext << B43legacy_DMA32_DCTL_ADDREXT_SHIFT) ctl 76 drivers/net/wireless/broadcom/b43legacy/dma.c desc->control = cpu_to_le32(ctl); ctl 26 drivers/net/wireless/broadcom/b43legacy/leds.c u16 ctl; ctl 29 drivers/net/wireless/broadcom/b43legacy/leds.c ctl = b43legacy_read16(dev, B43legacy_MMIO_GPIO_CONTROL); ctl 31 drivers/net/wireless/broadcom/b43legacy/leds.c ctl &= ~(1 << led_index); ctl 33 drivers/net/wireless/broadcom/b43legacy/leds.c ctl |= (1 << led_index); ctl 34 drivers/net/wireless/broadcom/b43legacy/leds.c b43legacy_write16(dev, B43legacy_MMIO_GPIO_CONTROL, ctl); ctl 43 drivers/net/wireless/broadcom/b43legacy/leds.c u16 ctl; ctl 46 drivers/net/wireless/broadcom/b43legacy/leds.c ctl = b43legacy_read16(dev, B43legacy_MMIO_GPIO_CONTROL); ctl 48 drivers/net/wireless/broadcom/b43legacy/leds.c ctl |= (1 << led_index); ctl 50 drivers/net/wireless/broadcom/b43legacy/leds.c ctl &= ~(1 << led_index); ctl 51 drivers/net/wireless/broadcom/b43legacy/leds.c b43legacy_write16(dev, B43legacy_MMIO_GPIO_CONTROL, ctl); ctl 948 drivers/net/wireless/broadcom/b43legacy/main.c u16 ctl; ctl 963 drivers/net/wireless/broadcom/b43legacy/main.c ctl = b43legacy_shm_read16(dev, B43legacy_SHM_SHARED, ctl 966 drivers/net/wireless/broadcom/b43legacy/main.c ctl &= ~B43legacy_TX4_PHY_SHORTPRMBL; ctl 967 drivers/net/wireless/broadcom/b43legacy/main.c ctl &= ~B43legacy_TX4_PHY_ANT; ctl 968 drivers/net/wireless/broadcom/b43legacy/main.c ctl &= ~B43legacy_TX4_PHY_ENC; ctl 969 drivers/net/wireless/broadcom/b43legacy/main.c ctl |= antenna; ctl 970 drivers/net/wireless/broadcom/b43legacy/main.c ctl |= B43legacy_TX4_PHY_ENC_CCK; ctl 972 drivers/net/wireless/broadcom/b43legacy/main.c B43legacy_SHM_SH_BEACPHYCTL, ctl); ctl 2003 drivers/net/wireless/broadcom/b43legacy/main.c u32 ctl; ctl 2006 drivers/net/wireless/broadcom/b43legacy/main.c ctl = b43legacy_read32(dev, B43legacy_MMIO_MACCTL); ctl 2008 drivers/net/wireless/broadcom/b43legacy/main.c ctl &= ~B43legacy_MACCTL_AP; ctl 2009 drivers/net/wireless/broadcom/b43legacy/main.c ctl &= ~B43legacy_MACCTL_KEEP_CTL; ctl 2010 drivers/net/wireless/broadcom/b43legacy/main.c ctl &= ~B43legacy_MACCTL_KEEP_BADPLCP; ctl 2011 drivers/net/wireless/broadcom/b43legacy/main.c ctl &= ~B43legacy_MACCTL_KEEP_BAD; ctl 2012 drivers/net/wireless/broadcom/b43legacy/main.c ctl &= ~B43legacy_MACCTL_PROMISC; ctl 2013 drivers/net/wireless/broadcom/b43legacy/main.c ctl &= ~B43legacy_MACCTL_BEACPROMISC; ctl 2014 drivers/net/wireless/broadcom/b43legacy/main.c ctl |= B43legacy_MACCTL_INFRA; ctl 2017 drivers/net/wireless/broadcom/b43legacy/main.c ctl |= B43legacy_MACCTL_AP; ctl 2019 drivers/net/wireless/broadcom/b43legacy/main.c ctl &= ~B43legacy_MACCTL_INFRA; ctl 2022 drivers/net/wireless/broadcom/b43legacy/main.c ctl |= B43legacy_MACCTL_KEEP_CTL; ctl 2024 drivers/net/wireless/broadcom/b43legacy/main.c ctl |= B43legacy_MACCTL_KEEP_BAD; ctl 2026 drivers/net/wireless/broadcom/b43legacy/main.c ctl |= B43legacy_MACCTL_KEEP_BADPLCP; ctl 2028 drivers/net/wireless/broadcom/b43legacy/main.c ctl |= B43legacy_MACCTL_BEACPROMISC; ctl 2034 drivers/net/wireless/broadcom/b43legacy/main.c ctl |= B43legacy_MACCTL_PROMISC; ctl 2036 drivers/net/wireless/broadcom/b43legacy/main.c b43legacy_write32(dev, B43legacy_MMIO_MACCTL, ctl); ctl 2039 drivers/net/wireless/broadcom/b43legacy/main.c if ((ctl & B43legacy_MACCTL_INFRA) && ctl 2040 drivers/net/wireless/broadcom/b43legacy/main.c !(ctl & B43legacy_MACCTL_AP)) { ctl 1004 drivers/net/wireless/cisco/airo.c unsigned int ctl: 15; ctl 1060 drivers/net/wireless/cisco/airo.c u16 ctl; ctl 1067 drivers/net/wireless/cisco/airo.c u16 ctl; ctl 1088 drivers/net/wireless/cisco/airo.c .ctl = HOST_DONT_RLSE, ctl 3159 drivers/net/wireless/cisco/airo.c static int header_len(__le16 ctl) ctl 3161 drivers/net/wireless/cisco/airo.c u16 fc = le16_to_cpu(ctl); ctl 416 drivers/net/wireless/intel/iwlegacy/3945.h #define TFD_CTL_COUNT_GET(ctl) ((ctl >> 24) & 7) ctl 418 drivers/net/wireless/intel/iwlegacy/3945.h #define TFD_CTL_PAD_GET(ctl) (ctl >> 28) ctl 951 drivers/net/wireless/intel/iwlwifi/fw/api/location.h __le16 ctl; ctl 217 drivers/net/wireless/mediatek/mt76/dma.c u32 ctl = le32_to_cpu(READ_ONCE(desc->ctrl)); ctl 218 drivers/net/wireless/mediatek/mt76/dma.c *len = FIELD_GET(MT_DMA_CTL_SD_LEN0, ctl); ctl 219 drivers/net/wireless/mediatek/mt76/dma.c *more = !(ctl & MT_DMA_CTL_LAST_SEC0); ctl 714 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c u32 ctl = le32_to_cpu(rxwi->ctl); ctl 737 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c wcid = FIELD_GET(MT_RXWI_CTL_WCID, ctl); ctl 741 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c len = FIELD_GET(MT_RXWI_CTL_MPDU_LEN, ctl); ctl 94 drivers/net/wireless/mediatek/mt76/mt76x02_mac.h __le32 ctl; ctl 465 drivers/net/wireless/mediatek/mt7601u/mac.c u32 len, ctl = le32_to_cpu(rxwi->ctl); ctl 469 drivers/net/wireless/mediatek/mt7601u/mac.c len = FIELD_GET(MT_RXWI_CTL_MPDU_LEN, ctl); ctl 29 drivers/net/wireless/mediatek/mt7601u/mac.h __le32 ctl; ctl 123 drivers/net/wireless/mediatek/mt7601u/mac.h __le16 ctl; ctl 265 drivers/net/wireless/mediatek/mt7601u/trace.h le32_to_cpu(__entry->rxwi.ctl), ctl 762 drivers/net/wireless/realtek/rtw88/fw.c u16 ctl; ctl 776 drivers/net/wireless/realtek/rtw88/fw.c ctl = rtw_read16(rtwdev, REG_PKTBUF_DBG_CTRL) & 0xf000; ctl 782 drivers/net/wireless/realtek/rtw88/fw.c rtw_write16(rtwdev, REG_PKTBUF_DBG_CTRL, start_pg | ctl); ctl 797 drivers/net/wireless/realtek/rtw88/fw.c rtw_write16(rtwdev, REG_PKTBUF_DBG_CTRL, ctl); ctl 1208 drivers/ntb/hw/idt/ntb_hw_idt.h unsigned int ctl; ctl 1221 drivers/ntb/hw/idt/ntb_hw_idt.h unsigned int ctl; ctl 99 drivers/ntb/hw/mscc/ntb_hw_switchtec.c struct ntb_ctrl_regs __iomem *ctl, ctl 126 drivers/ntb/hw/mscc/ntb_hw_switchtec.c iowrite32(op, &ctl->partition_op); ctl 130 drivers/ntb/hw/mscc/ntb_hw_switchtec.c iowrite32(NTB_CTRL_PART_OP_RESET, &ctl->partition_op); ctl 134 drivers/ntb/hw/mscc/ntb_hw_switchtec.c ps = ioread32(&ctl->partition_status) & 0xFFFF; ctl 147 drivers/ntb/hw/mscc/ntb_hw_switchtec.c ioread32(&ctl->partition_status)); ctl 223 drivers/ntb/hw/mscc/ntb_hw_switchtec.c struct ntb_ctrl_regs __iomem *ctl = sndev->mmio_peer_ctrl; ctl 227 drivers/ntb/hw/mscc/ntb_hw_switchtec.c ctl_val = ioread32(&ctl->bar_entry[bar].ctl); ctl 229 drivers/ntb/hw/mscc/ntb_hw_switchtec.c iowrite32(ctl_val, &ctl->bar_entry[bar].ctl); ctl 230 drivers/ntb/hw/mscc/ntb_hw_switchtec.c iowrite32(0, &ctl->bar_entry[bar].win_size); ctl 231 drivers/ntb/hw/mscc/ntb_hw_switchtec.c iowrite32(0, &ctl->bar_ext_entry[bar].win_size); ctl 232 drivers/ntb/hw/mscc/ntb_hw_switchtec.c iowrite64(sndev->self_partition, &ctl->bar_entry[bar].xlate_addr); ctl 237 drivers/ntb/hw/mscc/ntb_hw_switchtec.c struct ntb_ctrl_regs __iomem *ctl = sndev->mmio_peer_ctrl; ctl 239 drivers/ntb/hw/mscc/ntb_hw_switchtec.c iowrite64(0, &ctl->lut_entry[peer_lut_index(sndev, idx)]); ctl 247 drivers/ntb/hw/mscc/ntb_hw_switchtec.c struct ntb_ctrl_regs __iomem *ctl = sndev->mmio_peer_ctrl; ctl 250 drivers/ntb/hw/mscc/ntb_hw_switchtec.c ctl_val = ioread32(&ctl->bar_entry[bar].ctl); ctl 253 drivers/ntb/hw/mscc/ntb_hw_switchtec.c iowrite32(ctl_val, &ctl->bar_entry[bar].ctl); ctl 255 drivers/ntb/hw/mscc/ntb_hw_switchtec.c &ctl->bar_entry[bar].win_size); ctl 256 drivers/ntb/hw/mscc/ntb_hw_switchtec.c iowrite32(upper_32_bits(size), &ctl->bar_ext_entry[bar].win_size); ctl 258 drivers/ntb/hw/mscc/ntb_hw_switchtec.c &ctl->bar_entry[bar].xlate_addr); ctl 264 drivers/ntb/hw/mscc/ntb_hw_switchtec.c struct ntb_ctrl_regs __iomem *ctl = sndev->mmio_peer_ctrl; ctl 267 drivers/ntb/hw/mscc/ntb_hw_switchtec.c &ctl->lut_entry[peer_lut_index(sndev, idx)]); ctl 274 drivers/ntb/hw/mscc/ntb_hw_switchtec.c struct ntb_ctrl_regs __iomem *ctl = sndev->mmio_peer_ctrl; ctl 304 drivers/ntb/hw/mscc/ntb_hw_switchtec.c rc = switchtec_ntb_part_op(sndev, ctl, NTB_CTRL_PART_OP_LOCK, ctl 321 drivers/ntb/hw/mscc/ntb_hw_switchtec.c rc = switchtec_ntb_part_op(sndev, ctl, NTB_CTRL_PART_OP_CFG, ctl 327 drivers/ntb/hw/mscc/ntb_hw_switchtec.c widx, ioread32(&ctl->bar_error)); ctl 334 drivers/ntb/hw/mscc/ntb_hw_switchtec.c switchtec_ntb_part_op(sndev, ctl, NTB_CTRL_PART_OP_CFG, ctl 911 drivers/ntb/hw/mscc/ntb_hw_switchtec.c struct ntb_ctrl_regs __iomem *ctl, ctl 918 drivers/ntb/hw/mscc/ntb_hw_switchtec.c rc = switchtec_ntb_part_op(sndev, ctl, NTB_CTRL_PART_OP_LOCK, ctl 923 drivers/ntb/hw/mscc/ntb_hw_switchtec.c ctl_val = ioread32(&ctl->bar_entry[peer_bar].ctl); ctl 928 drivers/ntb/hw/mscc/ntb_hw_switchtec.c iowrite32(ctl_val, &ctl->bar_entry[peer_bar].ctl); ctl 931 drivers/ntb/hw/mscc/ntb_hw_switchtec.c &ctl->lut_entry[lut_idx]); ctl 933 drivers/ntb/hw/mscc/ntb_hw_switchtec.c rc = switchtec_ntb_part_op(sndev, ctl, NTB_CTRL_PART_OP_CFG, ctl 938 drivers/ntb/hw/mscc/ntb_hw_switchtec.c bar_error = ioread32(&ctl->bar_error); ctl 939 drivers/ntb/hw/mscc/ntb_hw_switchtec.c lut_error = ioread32(&ctl->lut_error); ctl 1002 drivers/ntb/hw/mscc/ntb_hw_switchtec.c struct ntb_ctrl_regs __iomem *ctl = sndev->mmio_self_ctrl; ctl 1009 drivers/ntb/hw/mscc/ntb_hw_switchtec.c rc = switchtec_ntb_part_op(sndev, ctl, NTB_CTRL_PART_OP_LOCK, ctl 1022 drivers/ntb/hw/mscc/ntb_hw_switchtec.c &ctl->lut_entry[i]); ctl 1037 drivers/ntb/hw/mscc/ntb_hw_switchtec.c ctl_val = ioread32(&ctl->bar_entry[bar].ctl); ctl 1040 drivers/ntb/hw/mscc/ntb_hw_switchtec.c iowrite32(ctl_val, &ctl->bar_entry[bar].ctl); ctl 1042 drivers/ntb/hw/mscc/ntb_hw_switchtec.c &ctl->bar_entry[bar].win_size); ctl 1043 drivers/ntb/hw/mscc/ntb_hw_switchtec.c iowrite32(upper_32_bits(size), &ctl->bar_ext_entry[bar].win_size); ctl 1045 drivers/ntb/hw/mscc/ntb_hw_switchtec.c &ctl->bar_entry[bar].xlate_addr); ctl 1048 drivers/ntb/hw/mscc/ntb_hw_switchtec.c rc = switchtec_ntb_part_op(sndev, ctl, NTB_CTRL_PART_OP_CFG, ctl 1053 drivers/ntb/hw/mscc/ntb_hw_switchtec.c bar_error = ioread32(&ctl->bar_error); ctl 1054 drivers/ntb/hw/mscc/ntb_hw_switchtec.c lut_error = ioread32(&ctl->lut_error); ctl 1192 drivers/ntb/hw/mscc/ntb_hw_switchtec.c u32 r = ioread32(&ctrl->bar_entry[i].ctl); ctl 50 drivers/parport/ieee1284_ops.c unsigned char ctl = (PARPORT_CONTROL_SELECT ctl 59 drivers/parport/ieee1284_ops.c parport_write_control (port, ctl); ctl 128 drivers/parport/ieee1284_ops.c parport_write_control (port, ctl | PARPORT_CONTROL_STROBE); ctl 131 drivers/parport/ieee1284_ops.c parport_write_control (port, ctl); ctl 500 drivers/parport/ieee1284_ops.c unsigned char ctl; ctl 513 drivers/parport/ieee1284_ops.c ctl = parport_read_control (port); ctl 514 drivers/parport/ieee1284_ops.c ctl &= ~(PARPORT_CONTROL_STROBE | PARPORT_CONTROL_INIT | ctl 517 drivers/parport/ieee1284_ops.c ctl | PARPORT_CONTROL_AUTOFD); ctl 592 drivers/parport/ieee1284_ops.c parport_write_control (port, ctl); ctl 611 drivers/parport/ieee1284_ops.c ctl | PARPORT_CONTROL_AUTOFD); ctl 5630 drivers/pci/pci.c u16 ctl; ctl 5632 drivers/pci/pci.c pcie_capability_read_word(dev, PCI_EXP_DEVCTL, &ctl); ctl 5634 drivers/pci/pci.c return 128 << ((ctl & PCI_EXP_DEVCTL_READRQ) >> 12); ctl 5680 drivers/pci/pci.c u16 ctl; ctl 5682 drivers/pci/pci.c pcie_capability_read_word(dev, PCI_EXP_DEVCTL, &ctl); ctl 5684 drivers/pci/pci.c return 128 << ((ctl & PCI_EXP_DEVCTL_PAYLOAD) >> 5); ctl 292 drivers/pci/pcie/dpc.c u16 ctl, cap; ctl 315 drivers/pci/pcie/dpc.c pci_read_config_word(pdev, dpc->cap_pos + PCI_EXP_DPC_CTL, &ctl); ctl 327 drivers/pci/pcie/dpc.c ctl = (ctl & 0xfff4) | PCI_EXP_DPC_CTL_EN_FATAL | PCI_EXP_DPC_CTL_INT_EN; ctl 328 drivers/pci/pcie/dpc.c pci_write_config_word(pdev, dpc->cap_pos + PCI_EXP_DPC_CTL, ctl); ctl 344 drivers/pci/pcie/dpc.c u16 ctl; ctl 346 drivers/pci/pcie/dpc.c pci_read_config_word(pdev, dpc->cap_pos + PCI_EXP_DPC_CTL, &ctl); ctl 347 drivers/pci/pcie/dpc.c ctl &= ~(PCI_EXP_DPC_CTL_EN_FATAL | PCI_EXP_DPC_CTL_INT_EN); ctl 348 drivers/pci/pcie/dpc.c pci_write_config_word(pdev, dpc->cap_pos + PCI_EXP_DPC_CTL, ctl); ctl 1941 drivers/pci/probe.c u16 ctl; ctl 1954 drivers/pci/probe.c ret = pcie_capability_read_word(dev, PCI_EXP_DEVCTL, &ctl); ctl 1967 drivers/pci/probe.c if (ctl & PCI_EXP_DEVCTL_EXT_TAG) { ctl 1975 drivers/pci/probe.c if (!(ctl & PCI_EXP_DEVCTL_EXT_TAG)) { ctl 2030 drivers/pci/probe.c u32 cap, ctl; ctl 2039 drivers/pci/probe.c pcie_capability_read_dword(dev, PCI_EXP_DEVCTL2, &ctl); ctl 2040 drivers/pci/probe.c if (ctl & PCI_EXP_DEVCTL2_LTR_EN) { ctl 792 drivers/pci/switch/switchtec.c struct switchtec_ioctl_event_ctl *ctl) ctl 798 drivers/pci/switch/switchtec.c reg = event_hdr_addr(stdev, ctl->event_id, ctl->index); ctl 803 drivers/pci/switch/switchtec.c for (i = 0; i < ARRAY_SIZE(ctl->data); i++) ctl 804 drivers/pci/switch/switchtec.c ctl->data[i] = ioread32(®[i + 1]); ctl 806 drivers/pci/switch/switchtec.c ctl->occurred = hdr & SWITCHTEC_EVENT_OCCURRED; ctl 807 drivers/pci/switch/switchtec.c ctl->count = (hdr >> 5) & 0xFF; ctl 809 drivers/pci/switch/switchtec.c if (!(ctl->flags & SWITCHTEC_IOCTL_EVENT_FLAG_CLEAR)) ctl 811 drivers/pci/switch/switchtec.c if (ctl->flags & SWITCHTEC_IOCTL_EVENT_FLAG_EN_POLL) ctl 813 drivers/pci/switch/switchtec.c if (ctl->flags & SWITCHTEC_IOCTL_EVENT_FLAG_DIS_POLL) ctl 815 drivers/pci/switch/switchtec.c if (ctl->flags & SWITCHTEC_IOCTL_EVENT_FLAG_EN_LOG) ctl 817 drivers/pci/switch/switchtec.c if (ctl->flags & SWITCHTEC_IOCTL_EVENT_FLAG_DIS_LOG) ctl 819 drivers/pci/switch/switchtec.c if (ctl->flags & SWITCHTEC_IOCTL_EVENT_FLAG_EN_CLI) ctl 821 drivers/pci/switch/switchtec.c if (ctl->flags & SWITCHTEC_IOCTL_EVENT_FLAG_DIS_CLI) ctl 823 drivers/pci/switch/switchtec.c if (ctl->flags & SWITCHTEC_IOCTL_EVENT_FLAG_EN_FATAL) ctl 825 drivers/pci/switch/switchtec.c if (ctl->flags & SWITCHTEC_IOCTL_EVENT_FLAG_DIS_FATAL) ctl 828 drivers/pci/switch/switchtec.c if (ctl->flags) ctl 831 drivers/pci/switch/switchtec.c ctl->flags = 0; ctl 833 drivers/pci/switch/switchtec.c ctl->flags |= SWITCHTEC_IOCTL_EVENT_FLAG_EN_POLL; ctl 835 drivers/pci/switch/switchtec.c ctl->flags |= SWITCHTEC_IOCTL_EVENT_FLAG_EN_LOG; ctl 837 drivers/pci/switch/switchtec.c ctl->flags |= SWITCHTEC_IOCTL_EVENT_FLAG_EN_CLI; ctl 839 drivers/pci/switch/switchtec.c ctl->flags |= SWITCHTEC_IOCTL_EVENT_FLAG_EN_FATAL; ctl 850 drivers/pci/switch/switchtec.c struct switchtec_ioctl_event_ctl ctl; ctl 852 drivers/pci/switch/switchtec.c if (copy_from_user(&ctl, uctl, sizeof(ctl))) ctl 855 drivers/pci/switch/switchtec.c if (ctl.event_id >= SWITCHTEC_IOCTL_MAX_EVENTS) ctl 858 drivers/pci/switch/switchtec.c if (ctl.flags & SWITCHTEC_IOCTL_EVENT_FLAG_UNUSED) ctl 861 drivers/pci/switch/switchtec.c if (ctl.index == SWITCHTEC_IOCTL_EVENT_IDX_ALL) { ctl 862 drivers/pci/switch/switchtec.c if (event_regs[ctl.event_id].map_reg == global_ev_reg) ctl 864 drivers/pci/switch/switchtec.c else if (event_regs[ctl.event_id].map_reg == part_ev_reg) ctl 866 drivers/pci/switch/switchtec.c else if (event_regs[ctl.event_id].map_reg == pff_ev_reg) ctl 871 drivers/pci/switch/switchtec.c event_flags = ctl.flags; ctl 872 drivers/pci/switch/switchtec.c for (ctl.index = 0; ctl.index < nr_idxs; ctl.index++) { ctl 873 drivers/pci/switch/switchtec.c ctl.flags = event_flags; ctl 874 drivers/pci/switch/switchtec.c ret = event_ctl(stdev, &ctl); ctl 879 drivers/pci/switch/switchtec.c ret = event_ctl(stdev, &ctl); ctl 884 drivers/pci/switch/switchtec.c if (copy_to_user(uctl, &ctl, sizeof(ctl))) ctl 141 drivers/pcmcia/i82365.c u_char ctl, ema; ctl 381 drivers/pcmcia/i82365.c p->ctl = i365_get(s, VG468_CTL); ctl 389 drivers/pcmcia/i82365.c i365_set(s, VG468_CTL, p->ctl); ctl 398 drivers/pcmcia/i82365.c flip(p->ctl, VG468_CTL_ASYNC, async_clock); ctl 400 drivers/pcmcia/i82365.c if (p->ctl & VG468_CTL_ASYNC) ctl 402 drivers/pcmcia/i82365.c if (p->ctl & VG468_CTL_INPACK) ctl 217 drivers/pcmcia/ricoh.h u16 config, ctl; ctl 222 drivers/pcmcia/ricoh.h ctl = RL5C4XX_16CTL_IO_TIMING | RL5C4XX_16CTL_MEM_TIMING; ctl 225 drivers/pcmcia/ricoh.h ctl |= RL5C46X_16CTL_LEVEL_1 | RL5C46X_16CTL_LEVEL_2; ctl 230 drivers/pcmcia/ricoh.h config_writew(socket, RL5C4XX_16BIT_CTL, ctl); ctl 734 drivers/pcmcia/tcic.c u_short addr, ctl; ctl 763 drivers/pcmcia/tcic.c ctl = TCIC_MCTL_QUIET | (psock << TCIC_MCTL_SS_SHFT); ctl 764 drivers/pcmcia/tcic.c ctl |= to_cycles(mem->speed) & TCIC_MCTL_WSCNT_MASK; ctl 765 drivers/pcmcia/tcic.c ctl |= (mem->flags & MAP_16BIT) ? 0 : TCIC_MCTL_B8; ctl 766 drivers/pcmcia/tcic.c ctl |= (mem->flags & MAP_WRPROT) ? TCIC_MCTL_WP : 0; ctl 767 drivers/pcmcia/tcic.c ctl |= (mem->flags & MAP_ACTIVE) ? TCIC_MCTL_ENA : 0; ctl 769 drivers/pcmcia/tcic.c tcic_setw(TCIC_DATA, ctl); ctl 260 drivers/pinctrl/qcom/pinctrl-apq8064.c #define SDC_PINGROUP(pg_name, ctl, pull, drv) \ ctl 265 drivers/pinctrl/qcom/pinctrl-apq8064.c .ctl_reg = ctl, \ ctl 372 drivers/pinctrl/qcom/pinctrl-apq8084.c #define SDC_PINGROUP(pg_name, ctl, pull, drv) \ ctl 377 drivers/pinctrl/qcom/pinctrl-apq8084.c .ctl_reg = ctl, \ ctl 212 drivers/pinctrl/qcom/pinctrl-ipq8064.c #define SDC_PINGROUP(pg_name, ctl, pull, drv) \ ctl 217 drivers/pinctrl/qcom/pinctrl-ipq8064.c .ctl_reg = ctl, \ ctl 81 drivers/pinctrl/qcom/pinctrl-msm.c MSM_ACCESSOR(ctl) ctl 423 drivers/pinctrl/qcom/pinctrl-msm8660.c #define SDC_PINGROUP(pg_name, ctl, pull, drv) \ ctl 428 drivers/pinctrl/qcom/pinctrl-msm8660.c .ctl_reg = ctl, \ ctl 335 drivers/pinctrl/qcom/pinctrl-msm8916.c #define SDC_PINGROUP(pg_name, ctl, pull, drv) \ ctl 340 drivers/pinctrl/qcom/pinctrl-msm8916.c .ctl_reg = ctl, \ ctl 386 drivers/pinctrl/qcom/pinctrl-msm8960.c #define SDC_PINGROUP(pg_name, ctl, pull, drv) \ ctl 391 drivers/pinctrl/qcom/pinctrl-msm8960.c .ctl_reg = ctl, \ ctl 61 drivers/pinctrl/qcom/pinctrl-msm8994.c #define SDC_PINGROUP(pg_name, ctl, pull, drv) \ ctl 66 drivers/pinctrl/qcom/pinctrl-msm8994.c .ctl_reg = ctl, \ ctl 61 drivers/pinctrl/qcom/pinctrl-msm8996.c #define SDC_QDSD_PINGROUP(pg_name, ctl, pull, drv) \ ctl 66 drivers/pinctrl/qcom/pinctrl-msm8996.c .ctl_reg = ctl, \ ctl 63 drivers/pinctrl/qcom/pinctrl-msm8998.c #define SDC_QDSD_PINGROUP(pg_name, ctl, pull, drv) \ ctl 68 drivers/pinctrl/qcom/pinctrl-msm8998.c .ctl_reg = ctl, \ ctl 372 drivers/pinctrl/qcom/pinctrl-msm8x74.c #define SDC_PINGROUP(pg_name, ctl, pull, drv) \ ctl 377 drivers/pinctrl/qcom/pinctrl-msm8x74.c .ctl_reg = ctl, \ ctl 398 drivers/pinctrl/qcom/pinctrl-msm8x74.c #define HSIC_PINGROUP(pg_name, ctl) \ ctl 408 drivers/pinctrl/qcom/pinctrl-msm8x74.c .ctl_reg = ctl, \ ctl 72 drivers/pinctrl/qcom/pinctrl-qcs404.c #define SDC_QDSD_PINGROUP(pg_name, ctl, pull, drv) \ ctl 77 drivers/pinctrl/qcom/pinctrl-qcs404.c .ctl_reg = ctl, \ ctl 70 drivers/pinctrl/qcom/pinctrl-sc7180.c #define SDC_QDSD_PINGROUP(pg_name, ctl, pull, drv) \ ctl 75 drivers/pinctrl/qcom/pinctrl-sc7180.c .ctl_reg = ctl, \ ctl 76 drivers/pinctrl/qcom/pinctrl-sdm660.c #define SDC_QDSD_PINGROUP(pg_name, ctl, pull, drv) \ ctl 81 drivers/pinctrl/qcom/pinctrl-sdm660.c .ctl_reg = ctl, \ ctl 65 drivers/pinctrl/qcom/pinctrl-sdm845.c #define SDC_QDSD_PINGROUP(pg_name, ctl, pull, drv) \ ctl 70 drivers/pinctrl/qcom/pinctrl-sdm845.c .ctl_reg = ctl, \ ctl 72 drivers/pinctrl/qcom/pinctrl-sm8150.c #define SDC_QDSD_PINGROUP(pg_name, ctl, pull, drv) \ ctl 77 drivers/pinctrl/qcom/pinctrl-sm8150.c .ctl_reg = ctl, \ ctl 1143 drivers/platform/mellanox/mlxbf-tmfifo.c u64 ctl; ctl 1146 drivers/platform/mellanox/mlxbf-tmfifo.c ctl = readq(fifo->tx_base + MLXBF_TMFIFO_TX_CTL); ctl 1148 drivers/platform/mellanox/mlxbf-tmfifo.c FIELD_GET(MLXBF_TMFIFO_TX_CTL__MAX_ENTRIES_MASK, ctl); ctl 1149 drivers/platform/mellanox/mlxbf-tmfifo.c ctl = (ctl & ~MLXBF_TMFIFO_TX_CTL__LWM_MASK) | ctl 1152 drivers/platform/mellanox/mlxbf-tmfifo.c ctl = (ctl & ~MLXBF_TMFIFO_TX_CTL__HWM_MASK) | ctl 1155 drivers/platform/mellanox/mlxbf-tmfifo.c writeq(ctl, fifo->tx_base + MLXBF_TMFIFO_TX_CTL); ctl 1158 drivers/platform/mellanox/mlxbf-tmfifo.c ctl = readq(fifo->rx_base + MLXBF_TMFIFO_RX_CTL); ctl 1160 drivers/platform/mellanox/mlxbf-tmfifo.c FIELD_GET(MLXBF_TMFIFO_RX_CTL__MAX_ENTRIES_MASK, ctl); ctl 1161 drivers/platform/mellanox/mlxbf-tmfifo.c ctl = (ctl & ~MLXBF_TMFIFO_RX_CTL__LWM_MASK) | ctl 1163 drivers/platform/mellanox/mlxbf-tmfifo.c ctl = (ctl & ~MLXBF_TMFIFO_RX_CTL__HWM_MASK) | ctl 1165 drivers/platform/mellanox/mlxbf-tmfifo.c writeq(ctl, fifo->rx_base + MLXBF_TMFIFO_RX_CTL); ctl 515 drivers/rtc/rtc-ds1307.c u8 ctl[3]; ctl 521 drivers/rtc/rtc-ds1307.c ret = regmap_bulk_read(ds1307->regmap, RX8130_REG_EXTENSION, ctl, ctl 522 drivers/rtc/rtc-ds1307.c sizeof(ctl)); ctl 525 drivers/rtc/rtc-ds1307.c if (!(ctl[1] & RX8130_REG_FLAG_AF)) ctl 527 drivers/rtc/rtc-ds1307.c ctl[1] &= ~RX8130_REG_FLAG_AF; ctl 528 drivers/rtc/rtc-ds1307.c ctl[2] &= ~RX8130_REG_CONTROL0_AIE; ctl 530 drivers/rtc/rtc-ds1307.c ret = regmap_bulk_write(ds1307->regmap, RX8130_REG_EXTENSION, ctl, ctl 531 drivers/rtc/rtc-ds1307.c sizeof(ctl)); ctl 546 drivers/rtc/rtc-ds1307.c u8 ald[3], ctl[3]; ctl 559 drivers/rtc/rtc-ds1307.c ret = regmap_bulk_read(ds1307->regmap, RX8130_REG_EXTENSION, ctl, ctl 560 drivers/rtc/rtc-ds1307.c sizeof(ctl)); ctl 564 drivers/rtc/rtc-ds1307.c t->enabled = !!(ctl[2] & RX8130_REG_CONTROL0_AIE); ctl 565 drivers/rtc/rtc-ds1307.c t->pending = !!(ctl[1] & RX8130_REG_FLAG_AF); ctl 588 drivers/rtc/rtc-ds1307.c u8 ald[3], ctl[3]; ctl 601 drivers/rtc/rtc-ds1307.c ret = regmap_bulk_read(ds1307->regmap, RX8130_REG_EXTENSION, ctl, ctl 602 drivers/rtc/rtc-ds1307.c sizeof(ctl)); ctl 606 drivers/rtc/rtc-ds1307.c ctl[0] &= RX8130_REG_EXTENSION_WADA; ctl 607 drivers/rtc/rtc-ds1307.c ctl[1] &= ~RX8130_REG_FLAG_AF; ctl 608 drivers/rtc/rtc-ds1307.c ctl[2] &= ~RX8130_REG_CONTROL0_AIE; ctl 610 drivers/rtc/rtc-ds1307.c ret = regmap_bulk_write(ds1307->regmap, RX8130_REG_EXTENSION, ctl, ctl 611 drivers/rtc/rtc-ds1307.c sizeof(ctl)); ctl 628 drivers/rtc/rtc-ds1307.c ctl[2] |= RX8130_REG_CONTROL0_AIE; ctl 630 drivers/rtc/rtc-ds1307.c return regmap_write(ds1307->regmap, RX8130_REG_CONTROL0, ctl[2]); ctl 33 drivers/rtc/rtc-tx4939.c __u32 ctl; ctl 49 drivers/rtc/rtc-tx4939.c __raw_writel(cmd, &rtcreg->ctl); ctl 51 drivers/rtc/rtc-tx4939.c while (__raw_readl(&rtcreg->ctl) & TX4939_RTCCTL_BUSY) { ctl 80 drivers/rtc/rtc-tx4939.c (__raw_readl(&rtcreg->ctl) & TX4939_RTCCTL_ALME)); ctl 96 drivers/rtc/rtc-tx4939.c (__raw_readl(&rtcreg->ctl) & TX4939_RTCCTL_ALME)); ctl 143 drivers/rtc/rtc-tx4939.c u32 ctl; ctl 148 drivers/rtc/rtc-tx4939.c (__raw_readl(&rtcreg->ctl) & TX4939_RTCCTL_ALME)); ctl 156 drivers/rtc/rtc-tx4939.c ctl = __raw_readl(&rtcreg->ctl); ctl 157 drivers/rtc/rtc-tx4939.c alrm->enabled = (ctl & TX4939_RTCCTL_ALME) ? 1 : 0; ctl 158 drivers/rtc/rtc-tx4939.c alrm->pending = (ctl & TX4939_RTCCTL_ALMD) ? 1 : 0; ctl 185 drivers/rtc/rtc-tx4939.c if (__raw_readl(&rtcreg->ctl) & TX4939_RTCCTL_ALMD) { ctl 2075 drivers/scsi/bfa/bfad_bsg.c if (iocmd->ctl == BFA_TRUE) ctl 163 drivers/scsi/bfa/bfad_bsg.h bfa_boolean_t ctl; ctl 1042 drivers/scsi/csiostor/csio_mb.c cmdp->u.ctl.nstats_port = FW_FCOE_STATS_CMD_NSTATS(portparams->nstats) | ctl 1045 drivers/scsi/csiostor/csio_mb.c cmdp->u.ctl.port_valid_ix = FW_FCOE_STATS_CMD_IX(portparams->idx) | ctl 1190 drivers/scsi/csiostor/csio_mb.c uint32_t owner, ctl; ctl 1302 drivers/scsi/csiostor/csio_mb.c ctl = csio_rd_reg32(hw, ctl_reg); ctl 1303 drivers/scsi/csiostor/csio_mb.c if (csio_mb_is_host_owner(MBOWNER_G(ctl))) { ctl 1305 drivers/scsi/csiostor/csio_mb.c if (!(ctl & MBMSGVALID_F)) { ctl 1477 drivers/scsi/csiostor/csio_mb.c uint32_t ctl, cim_cause, pl_cause; ctl 1502 drivers/scsi/csiostor/csio_mb.c ctl = csio_rd_reg32(hw, ctl_reg); ctl 1504 drivers/scsi/csiostor/csio_mb.c if (csio_mb_is_host_owner(MBOWNER_G(ctl))) { ctl 1508 drivers/scsi/csiostor/csio_mb.c if (!(ctl & MBMSGVALID_F)) { ctl 402 drivers/scsi/csiostor/t4fw_api_stor.h } ctl; ctl 1038 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c if (t3dev->ctl(t3dev, GET_WR_LEN, &wr_len) < 0 || ctl 1039 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c t3dev->ctl(t3dev, GET_PORTS, &port) < 0 || ctl 1040 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c t3dev->ctl(t3dev, GET_RX_PAGE_INFO, &rx_page_info) < 0) { ctl 1222 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c err = tdev->ctl(tdev, ULP_ISCSI_GET_PARAMS, &uinfo); ctl 1256 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c err = tdev->ctl(tdev, ULP_ISCSI_SET_PARAMS, &uinfo); ctl 732 drivers/scsi/fnic/fnic_fcs.c u8 *ctl = fnic->ctlr.ctl_src_addr; ctl 736 drivers/scsi/fnic/fnic_fcs.c new = ctl; ctl 740 drivers/scsi/fnic/fnic_fcs.c if (!is_zero_ether_addr(data) && !ether_addr_equal(data, ctl)) ctl 743 drivers/scsi/fnic/fnic_fcs.c if (!ether_addr_equal(new, ctl)) ctl 1303 drivers/scsi/hisi_sas/hisi_sas_main.c tf.ctl |= ATA_SRST; ctl 1305 drivers/scsi/hisi_sas/hisi_sas_main.c tf.ctl &= ~ATA_SRST; ctl 6850 drivers/scsi/ipr.c regs->ctl = tf->ctl; ctl 569 drivers/scsi/ipr.h u8 ctl; ctl 285 drivers/soc/ixp4xx/ixp4xx-npe.c u32 val, ctl, exec_count, ctx_reg2; ctl 288 drivers/soc/ixp4xx/ixp4xx-npe.c ctl = (__raw_readl(&npe->regs->messaging_control) | 0x3F000000) & ctl 292 drivers/soc/ixp4xx/ixp4xx-npe.c __raw_writel(ctl & 0x3F00FFFF, &npe->regs->messaging_control); ctl 400 drivers/soc/ixp4xx/ixp4xx-npe.c __raw_writel(ctl, &npe->regs->messaging_control); ctl 123 drivers/spi/spi-st-ssc4.c uint32_t ctl = 0; ctl 146 drivers/spi/spi-st-ssc4.c ctl = readl_relaxed(spi_st->base + SSC_CTL); ctl 147 drivers/spi/spi-st-ssc4.c writel_relaxed((ctl | 0xf), spi_st->base + SSC_CTL); ctl 166 drivers/spi/spi-st-ssc4.c if (ctl) ctl 167 drivers/spi/spi-st-ssc4.c writel_relaxed(ctl, spi_st->base + SSC_CTL); ctl 649 drivers/staging/greybus/audio_topology.c struct gb_audio_control *ctl) ctl 659 drivers/staging/greybus/audio_topology.c gb_enum = &ctl->info.value.enumerated; ctl 672 drivers/staging/greybus/audio_topology.c SOC_ENUM_EXT(ctl->name, *gbe, gbcodec_enum_ctl_get, ctl 679 drivers/staging/greybus/audio_topology.c struct gb_audio_control *ctl) ctl 684 drivers/staging/greybus/audio_topology.c switch (ctl->iface) { ctl 686 drivers/staging/greybus/audio_topology.c switch (ctl->info.type) { ctl 688 drivers/staging/greybus/audio_topology.c ret = gbaudio_tplg_create_enum_kctl(gb, kctl, ctl); ctl 696 drivers/staging/greybus/audio_topology.c ctldata->ctl_id = ctl->id; ctl 697 drivers/staging/greybus/audio_topology.c ctldata->data_cport = le16_to_cpu(ctl->data_cport); ctl 698 drivers/staging/greybus/audio_topology.c ctldata->access = ctl->access; ctl 699 drivers/staging/greybus/audio_topology.c ctldata->vcount = ctl->count_values; ctl 700 drivers/staging/greybus/audio_topology.c ctldata->info = &ctl->info; ctl 702 drivers/staging/greybus/audio_topology.c SOC_MIXER_GB(ctl->name, ctl->count, ctldata); ctl 711 drivers/staging/greybus/audio_topology.c dev_dbg(gb->dev, "%s:%d control created\n", ctl->name, ctl->id); ctl 858 drivers/staging/greybus/audio_topology.c struct gb_audio_control *ctl) ctl 868 drivers/staging/greybus/audio_topology.c gb_enum = &ctl->info.value.enumerated; ctl 881 drivers/staging/greybus/audio_topology.c SOC_DAPM_ENUM_EXT(ctl->name, *gbe, gbcodec_enum_dapm_ctl_get, ctl 888 drivers/staging/greybus/audio_topology.c struct gb_audio_control *ctl) ctl 896 drivers/staging/greybus/audio_topology.c ctldata->ctl_id = ctl->id; ctl 897 drivers/staging/greybus/audio_topology.c ctldata->data_cport = le16_to_cpu(ctl->data_cport); ctl 898 drivers/staging/greybus/audio_topology.c ctldata->access = ctl->access; ctl 899 drivers/staging/greybus/audio_topology.c ctldata->vcount = ctl->count_values; ctl 900 drivers/staging/greybus/audio_topology.c ctldata->info = &ctl->info; ctl 902 drivers/staging/greybus/audio_topology.c SOC_DAPM_MIXER_GB(ctl->name, ctl->count, ctldata); ctl 909 drivers/staging/greybus/audio_topology.c struct gb_audio_control *ctl) ctl 913 drivers/staging/greybus/audio_topology.c switch (ctl->iface) { ctl 915 drivers/staging/greybus/audio_topology.c switch (ctl->info.type) { ctl 917 drivers/staging/greybus/audio_topology.c ret = gbaudio_tplg_create_enum_ctl(gb, kctl, ctl); ctl 920 drivers/staging/greybus/audio_topology.c ret = gbaudio_tplg_create_mixer_ctl(gb, kctl, ctl); ctl 928 drivers/staging/greybus/audio_topology.c dev_dbg(gb->dev, "%s:%d DAPM control created, ret:%d\n", ctl->name, ctl 929 drivers/staging/greybus/audio_topology.c ctl->id, ret); ctl 1014 drivers/staging/greybus/audio_topology.c curr = w->ctl; ctl 2108 drivers/staging/rts5208/rtsx_chip.c int rtsx_force_power_on(struct rtsx_chip *chip, u8 ctl) ctl 2113 drivers/staging/rts5208/rtsx_chip.c if (ctl & SSC_PDCTL) ctl 2117 drivers/staging/rts5208/rtsx_chip.c if (ctl & OC_PDCTL) { ctl 2136 drivers/staging/rts5208/rtsx_chip.c int rtsx_force_power_down(struct rtsx_chip *chip, u8 ctl) ctl 2141 drivers/staging/rts5208/rtsx_chip.c if (ctl & SSC_PDCTL) ctl 2145 drivers/staging/rts5208/rtsx_chip.c if (ctl & OC_PDCTL) { ctl 949 drivers/staging/rts5208/rtsx_chip.h int rtsx_force_power_on(struct rtsx_chip *chip, u8 ctl); ctl 950 drivers/staging/rts5208/rtsx_chip.h int rtsx_force_power_down(struct rtsx_chip *chip, u8 ctl); ctl 167 drivers/staging/wlan-ng/p80211conv.c e_llc->ctl = 0x03; ctl 384 drivers/staging/wlan-ng/p80211conv.c (e_llc->ctl == 0x03) && ctl 420 drivers/staging/wlan-ng/p80211conv.c (e_llc->ctl == 0x03)) { ctl 145 drivers/staging/wlan-ng/p80211conv.h u8 ctl; ctl 1000 drivers/staging/wlan-ng/p80211netdev.c wlandev->rx.ctl++; ctl 116 drivers/staging/wlan-ng/p80211netdev.h u32 ctl; ctl 41 drivers/thunderbolt/ctl.c #define tb_ctl_WARN(ctl, format, arg...) \ ctl 42 drivers/thunderbolt/ctl.c dev_WARN(&(ctl)->nhi->pdev->dev, format, ## arg) ctl 44 drivers/thunderbolt/ctl.c #define tb_ctl_err(ctl, format, arg...) \ ctl 45 drivers/thunderbolt/ctl.c dev_err(&(ctl)->nhi->pdev->dev, format, ## arg) ctl 47 drivers/thunderbolt/ctl.c #define tb_ctl_warn(ctl, format, arg...) \ ctl 48 drivers/thunderbolt/ctl.c dev_warn(&(ctl)->nhi->pdev->dev, format, ## arg) ctl 50 drivers/thunderbolt/ctl.c #define tb_ctl_info(ctl, format, arg...) \ ctl 51 drivers/thunderbolt/ctl.c dev_info(&(ctl)->nhi->pdev->dev, format, ## arg) ctl 53 drivers/thunderbolt/ctl.c #define tb_ctl_dbg(ctl, format, arg...) \ ctl 54 drivers/thunderbolt/ctl.c dev_dbg(&(ctl)->nhi->pdev->dev, format, ## arg) ctl 111 drivers/thunderbolt/ctl.c static int tb_cfg_request_enqueue(struct tb_ctl *ctl, ctl 115 drivers/thunderbolt/ctl.c WARN_ON(req->ctl); ctl 117 drivers/thunderbolt/ctl.c mutex_lock(&ctl->request_queue_lock); ctl 118 drivers/thunderbolt/ctl.c if (!ctl->running) { ctl 119 drivers/thunderbolt/ctl.c mutex_unlock(&ctl->request_queue_lock); ctl 122 drivers/thunderbolt/ctl.c req->ctl = ctl; ctl 123 drivers/thunderbolt/ctl.c list_add_tail(&req->list, &ctl->request_queue); ctl 125 drivers/thunderbolt/ctl.c mutex_unlock(&ctl->request_queue_lock); ctl 131 drivers/thunderbolt/ctl.c struct tb_ctl *ctl = req->ctl; ctl 133 drivers/thunderbolt/ctl.c mutex_lock(&ctl->request_queue_lock); ctl 138 drivers/thunderbolt/ctl.c mutex_unlock(&ctl->request_queue_lock); ctl 147 drivers/thunderbolt/ctl.c tb_cfg_request_find(struct tb_ctl *ctl, struct ctl_pkg *pkg) ctl 152 drivers/thunderbolt/ctl.c mutex_lock(&pkg->ctl->request_queue_lock); ctl 153 drivers/thunderbolt/ctl.c list_for_each_entry(req, &pkg->ctl->request_queue, list) { ctl 161 drivers/thunderbolt/ctl.c mutex_unlock(&pkg->ctl->request_queue_lock); ctl 255 drivers/thunderbolt/ctl.c static void tb_cfg_print_error(struct tb_ctl *ctl, ctl 269 drivers/thunderbolt/ctl.c tb_ctl_WARN(ctl, ctl 279 drivers/thunderbolt/ctl.c tb_ctl_WARN(ctl, "CFG_ERROR(%llx:%x): Invalid port\n", ctl 283 drivers/thunderbolt/ctl.c tb_ctl_WARN(ctl, "CFG_ERROR(%llx:%x): Route contains a loop\n", ctl 288 drivers/thunderbolt/ctl.c tb_ctl_WARN(ctl, "CFG_ERROR(%llx:%x): Unknown error\n", ctl 302 drivers/thunderbolt/ctl.c dma_pool_free(pkg->ctl->frame_pool, ctl 308 drivers/thunderbolt/ctl.c static struct ctl_pkg *tb_ctl_pkg_alloc(struct tb_ctl *ctl) ctl 313 drivers/thunderbolt/ctl.c pkg->ctl = ctl; ctl 314 drivers/thunderbolt/ctl.c pkg->buffer = dma_pool_alloc(ctl->frame_pool, GFP_KERNEL, ctl 340 drivers/thunderbolt/ctl.c static int tb_ctl_tx(struct tb_ctl *ctl, const void *data, size_t len, ctl 346 drivers/thunderbolt/ctl.c tb_ctl_WARN(ctl, "TX: invalid size: %zu\n", len); ctl 350 drivers/thunderbolt/ctl.c tb_ctl_WARN(ctl, "TX: packet too large: %zu/%d\n", ctl 354 drivers/thunderbolt/ctl.c pkg = tb_ctl_pkg_alloc(ctl); ctl 364 drivers/thunderbolt/ctl.c res = tb_ring_tx(ctl->tx, &pkg->frame); ctl 373 drivers/thunderbolt/ctl.c static bool tb_ctl_handle_event(struct tb_ctl *ctl, enum tb_cfg_pkg_type type, ctl 376 drivers/thunderbolt/ctl.c return ctl->callback(ctl->callback_data, type, pkg->buffer, size); ctl 381 drivers/thunderbolt/ctl.c tb_ring_rx(pkg->ctl->rx, &pkg->frame); /* ctl 421 drivers/thunderbolt/ctl.c tb_ctl_err(pkg->ctl, "RX: invalid size %#x, dropping packet\n", ctl 437 drivers/thunderbolt/ctl.c tb_ctl_err(pkg->ctl, ctl 442 drivers/thunderbolt/ctl.c tb_ctl_handle_event(pkg->ctl, frame->eof, ctl 452 drivers/thunderbolt/ctl.c tb_ctl_err(pkg->ctl, ctl 458 drivers/thunderbolt/ctl.c if (tb_ctl_handle_event(pkg->ctl, frame->eof, pkg, frame->size)) ctl 472 drivers/thunderbolt/ctl.c req = tb_cfg_request_find(pkg->ctl, pkg); ctl 504 drivers/thunderbolt/ctl.c int tb_cfg_request(struct tb_ctl *ctl, struct tb_cfg_request *req, ctl 516 drivers/thunderbolt/ctl.c ret = tb_cfg_request_enqueue(ctl, req); ctl 520 drivers/thunderbolt/ctl.c ret = tb_ctl_tx(ctl, req->request, req->request_size, ctl 570 drivers/thunderbolt/ctl.c struct tb_cfg_result tb_cfg_request_sync(struct tb_ctl *ctl, ctl 579 drivers/thunderbolt/ctl.c ret = tb_cfg_request(ctl, req, tb_cfg_request_complete, &done); ctl 605 drivers/thunderbolt/ctl.c struct tb_ctl *ctl = kzalloc(sizeof(*ctl), GFP_KERNEL); ctl 606 drivers/thunderbolt/ctl.c if (!ctl) ctl 608 drivers/thunderbolt/ctl.c ctl->nhi = nhi; ctl 609 drivers/thunderbolt/ctl.c ctl->callback = cb; ctl 610 drivers/thunderbolt/ctl.c ctl->callback_data = cb_data; ctl 612 drivers/thunderbolt/ctl.c mutex_init(&ctl->request_queue_lock); ctl 613 drivers/thunderbolt/ctl.c INIT_LIST_HEAD(&ctl->request_queue); ctl 614 drivers/thunderbolt/ctl.c ctl->frame_pool = dma_pool_create("thunderbolt_ctl", &nhi->pdev->dev, ctl 616 drivers/thunderbolt/ctl.c if (!ctl->frame_pool) ctl 619 drivers/thunderbolt/ctl.c ctl->tx = tb_ring_alloc_tx(nhi, 0, 10, RING_FLAG_NO_SUSPEND); ctl 620 drivers/thunderbolt/ctl.c if (!ctl->tx) ctl 623 drivers/thunderbolt/ctl.c ctl->rx = tb_ring_alloc_rx(nhi, 0, 10, RING_FLAG_NO_SUSPEND, 0xffff, ctl 625 drivers/thunderbolt/ctl.c if (!ctl->rx) ctl 629 drivers/thunderbolt/ctl.c ctl->rx_packets[i] = tb_ctl_pkg_alloc(ctl); ctl 630 drivers/thunderbolt/ctl.c if (!ctl->rx_packets[i]) ctl 632 drivers/thunderbolt/ctl.c ctl->rx_packets[i]->frame.callback = tb_ctl_rx_callback; ctl 635 drivers/thunderbolt/ctl.c tb_ctl_dbg(ctl, "control channel created\n"); ctl 636 drivers/thunderbolt/ctl.c return ctl; ctl 638 drivers/thunderbolt/ctl.c tb_ctl_free(ctl); ctl 649 drivers/thunderbolt/ctl.c void tb_ctl_free(struct tb_ctl *ctl) ctl 653 drivers/thunderbolt/ctl.c if (!ctl) ctl 656 drivers/thunderbolt/ctl.c if (ctl->rx) ctl 657 drivers/thunderbolt/ctl.c tb_ring_free(ctl->rx); ctl 658 drivers/thunderbolt/ctl.c if (ctl->tx) ctl 659 drivers/thunderbolt/ctl.c tb_ring_free(ctl->tx); ctl 663 drivers/thunderbolt/ctl.c tb_ctl_pkg_free(ctl->rx_packets[i]); ctl 666 drivers/thunderbolt/ctl.c dma_pool_destroy(ctl->frame_pool); ctl 667 drivers/thunderbolt/ctl.c kfree(ctl); ctl 673 drivers/thunderbolt/ctl.c void tb_ctl_start(struct tb_ctl *ctl) ctl 676 drivers/thunderbolt/ctl.c tb_ctl_dbg(ctl, "control channel starting...\n"); ctl 677 drivers/thunderbolt/ctl.c tb_ring_start(ctl->tx); /* is used to ack hotplug packets, start first */ ctl 678 drivers/thunderbolt/ctl.c tb_ring_start(ctl->rx); ctl 680 drivers/thunderbolt/ctl.c tb_ctl_rx_submit(ctl->rx_packets[i]); ctl 682 drivers/thunderbolt/ctl.c ctl->running = true; ctl 693 drivers/thunderbolt/ctl.c void tb_ctl_stop(struct tb_ctl *ctl) ctl 695 drivers/thunderbolt/ctl.c mutex_lock(&ctl->request_queue_lock); ctl 696 drivers/thunderbolt/ctl.c ctl->running = false; ctl 697 drivers/thunderbolt/ctl.c mutex_unlock(&ctl->request_queue_lock); ctl 699 drivers/thunderbolt/ctl.c tb_ring_stop(ctl->rx); ctl 700 drivers/thunderbolt/ctl.c tb_ring_stop(ctl->tx); ctl 702 drivers/thunderbolt/ctl.c if (!list_empty(&ctl->request_queue)) ctl 703 drivers/thunderbolt/ctl.c tb_ctl_WARN(ctl, "dangling request in request_queue\n"); ctl 704 drivers/thunderbolt/ctl.c INIT_LIST_HEAD(&ctl->request_queue); ctl 705 drivers/thunderbolt/ctl.c tb_ctl_dbg(ctl, "control channel stopped\n"); ctl 715 drivers/thunderbolt/ctl.c int tb_cfg_error(struct tb_ctl *ctl, u64 route, u32 port, ctl 723 drivers/thunderbolt/ctl.c tb_ctl_dbg(ctl, "resetting error on %llx:%x.\n", route, port); ctl 724 drivers/thunderbolt/ctl.c return tb_ctl_tx(ctl, &pkg, sizeof(pkg), TB_CFG_PKG_ERROR); ctl 777 drivers/thunderbolt/ctl.c struct tb_cfg_result tb_cfg_reset(struct tb_ctl *ctl, u64 route, ctl 800 drivers/thunderbolt/ctl.c res = tb_cfg_request_sync(ctl, req, timeout_msec); ctl 812 drivers/thunderbolt/ctl.c struct tb_cfg_result tb_cfg_read_raw(struct tb_ctl *ctl, void *buffer, ctl 849 drivers/thunderbolt/ctl.c res = tb_cfg_request_sync(ctl, req, timeout_msec); ctl 875 drivers/thunderbolt/ctl.c struct tb_cfg_result tb_cfg_write_raw(struct tb_ctl *ctl, const void *buffer, ctl 914 drivers/thunderbolt/ctl.c res = tb_cfg_request_sync(ctl, req, timeout_msec); ctl 933 drivers/thunderbolt/ctl.c static int tb_cfg_get_error(struct tb_ctl *ctl, enum tb_cfg_space space, ctl 946 drivers/thunderbolt/ctl.c tb_cfg_print_error(ctl, res); ctl 950 drivers/thunderbolt/ctl.c int tb_cfg_read(struct tb_ctl *ctl, void *buffer, u64 route, u32 port, ctl 953 drivers/thunderbolt/ctl.c struct tb_cfg_result res = tb_cfg_read_raw(ctl, buffer, route, port, ctl 962 drivers/thunderbolt/ctl.c return tb_cfg_get_error(ctl, space, &res); ctl 965 drivers/thunderbolt/ctl.c tb_ctl_warn(ctl, "timeout reading config space %u from %#x\n", ctl 976 drivers/thunderbolt/ctl.c int tb_cfg_write(struct tb_ctl *ctl, const void *buffer, u64 route, u32 port, ctl 979 drivers/thunderbolt/ctl.c struct tb_cfg_result res = tb_cfg_write_raw(ctl, buffer, route, port, ctl 988 drivers/thunderbolt/ctl.c return tb_cfg_get_error(ctl, space, &res); ctl 991 drivers/thunderbolt/ctl.c tb_ctl_warn(ctl, "timeout writing config space %u to %#x\n", ctl 1011 drivers/thunderbolt/ctl.c int tb_cfg_get_upstream_port(struct tb_ctl *ctl, u64 route) ctl 1014 drivers/thunderbolt/ctl.c struct tb_cfg_result res = tb_cfg_read_raw(ctl, &dummy, route, 0, ctl 25 drivers/thunderbolt/ctl.h void tb_ctl_start(struct tb_ctl *ctl); ctl 26 drivers/thunderbolt/ctl.h void tb_ctl_stop(struct tb_ctl *ctl); ctl 27 drivers/thunderbolt/ctl.h void tb_ctl_free(struct tb_ctl *ctl); ctl 48 drivers/thunderbolt/ctl.h struct tb_ctl *ctl; ctl 79 drivers/thunderbolt/ctl.h struct tb_ctl *ctl; ctl 104 drivers/thunderbolt/ctl.h int tb_cfg_request(struct tb_ctl *ctl, struct tb_cfg_request *req, ctl 107 drivers/thunderbolt/ctl.h struct tb_cfg_result tb_cfg_request_sync(struct tb_ctl *ctl, ctl 126 drivers/thunderbolt/ctl.h int tb_cfg_error(struct tb_ctl *ctl, u64 route, u32 port, ctl 128 drivers/thunderbolt/ctl.h struct tb_cfg_result tb_cfg_reset(struct tb_ctl *ctl, u64 route, ctl 130 drivers/thunderbolt/ctl.h struct tb_cfg_result tb_cfg_read_raw(struct tb_ctl *ctl, void *buffer, ctl 134 drivers/thunderbolt/ctl.h struct tb_cfg_result tb_cfg_write_raw(struct tb_ctl *ctl, const void *buffer, ctl 138 drivers/thunderbolt/ctl.h int tb_cfg_read(struct tb_ctl *ctl, void *buffer, u64 route, u32 port, ctl 140 drivers/thunderbolt/ctl.h int tb_cfg_write(struct tb_ctl *ctl, const void *buffer, u64 route, u32 port, ctl 142 drivers/thunderbolt/ctl.h int tb_cfg_get_upstream_port(struct tb_ctl *ctl, u64 route); ctl 88 drivers/thunderbolt/dma_port.c static int dma_port_read(struct tb_ctl *ctl, void *buffer, u64 route, ctl 118 drivers/thunderbolt/dma_port.c res = tb_cfg_request_sync(ctl, req, timeout_msec); ctl 129 drivers/thunderbolt/dma_port.c static int dma_port_write(struct tb_ctl *ctl, const void *buffer, u64 route, ctl 161 drivers/thunderbolt/dma_port.c res = tb_cfg_request_sync(ctl, req, timeout_msec); ctl 181 drivers/thunderbolt/dma_port.c ret = dma_port_read(sw->tb->ctl, &type, tb_route(sw), ports[i], ctl 249 drivers/thunderbolt/dma_port.c ret = dma_port_read(sw->tb->ctl, &in, tb_route(sw), dma->port, ctl 285 drivers/thunderbolt/dma_port.c ret = dma_port_write(sw->tb->ctl, &in, tb_route(sw), dma->port, ctl 294 drivers/thunderbolt/dma_port.c ret = dma_port_read(sw->tb->ctl, &out, tb_route(sw), dma->port, ctl 322 drivers/thunderbolt/dma_port.c return dma_port_read(sw->tb->ctl, buf, tb_route(sw), dma->port, ctl 336 drivers/thunderbolt/dma_port.c ret = dma_port_write(sw->tb->ctl, buf, tb_route(sw), dma->port, ctl 487 drivers/thunderbolt/dma_port.c ret = dma_port_read(sw->tb->ctl, &out, tb_route(sw), dma->port, ctl 314 drivers/thunderbolt/domain.c tb_ctl_free(tb->ctl); ctl 426 drivers/thunderbolt/domain.c tb->ctl = tb_ctl_alloc(tb->nhi, tb_domain_event_cb, tb); ctl 427 drivers/thunderbolt/domain.c if (!tb->ctl) { ctl 436 drivers/thunderbolt/domain.c tb_ctl_start(tb->ctl); ctl 470 drivers/thunderbolt/domain.c tb_ctl_stop(tb->ctl); ctl 490 drivers/thunderbolt/domain.c tb_ctl_stop(tb->ctl); ctl 516 drivers/thunderbolt/domain.c tb_ctl_stop(tb->ctl); ctl 534 drivers/thunderbolt/domain.c tb_ctl_start(tb->ctl); ctl 560 drivers/thunderbolt/domain.c tb_ctl_stop(tb->ctl); ctl 566 drivers/thunderbolt/domain.c tb_ctl_start(tb->ctl); ctl 17 drivers/thunderbolt/eeprom.c static int tb_eeprom_ctl_write(struct tb_switch *sw, struct tb_eeprom_ctl *ctl) ctl 19 drivers/thunderbolt/eeprom.c return tb_sw_write(sw, ctl, TB_CFG_SWITCH, sw->cap_plug_events + 4, 1); ctl 25 drivers/thunderbolt/eeprom.c static int tb_eeprom_ctl_read(struct tb_switch *sw, struct tb_eeprom_ctl *ctl) ctl 27 drivers/thunderbolt/eeprom.c return tb_sw_read(sw, ctl, TB_CFG_SWITCH, sw->cap_plug_events + 4, 1); ctl 43 drivers/thunderbolt/eeprom.c struct tb_eeprom_ctl ctl; ctl 44 drivers/thunderbolt/eeprom.c int res = tb_eeprom_ctl_read(sw, &ctl); ctl 48 drivers/thunderbolt/eeprom.c ctl.access_high = 1; ctl 49 drivers/thunderbolt/eeprom.c res = tb_eeprom_ctl_write(sw, &ctl); ctl 52 drivers/thunderbolt/eeprom.c ctl.access_low = 0; ctl 53 drivers/thunderbolt/eeprom.c return tb_eeprom_ctl_write(sw, &ctl); ctl 55 drivers/thunderbolt/eeprom.c ctl.access_low = 1; ctl 56 drivers/thunderbolt/eeprom.c res = tb_eeprom_ctl_write(sw, &ctl); ctl 59 drivers/thunderbolt/eeprom.c ctl.access_high = 0; ctl 60 drivers/thunderbolt/eeprom.c return tb_eeprom_ctl_write(sw, &ctl); ctl 70 drivers/thunderbolt/eeprom.c static int tb_eeprom_transfer(struct tb_switch *sw, struct tb_eeprom_ctl *ctl, ctl 75 drivers/thunderbolt/eeprom.c res = tb_eeprom_ctl_write(sw, ctl); ctl 79 drivers/thunderbolt/eeprom.c ctl->clock = 1; ctl 80 drivers/thunderbolt/eeprom.c res = tb_eeprom_ctl_write(sw, ctl); ctl 84 drivers/thunderbolt/eeprom.c res = tb_eeprom_ctl_read(sw, ctl); ctl 88 drivers/thunderbolt/eeprom.c ctl->clock = 0; ctl 89 drivers/thunderbolt/eeprom.c return tb_eeprom_ctl_write(sw, ctl); ctl 97 drivers/thunderbolt/eeprom.c struct tb_eeprom_ctl ctl; ctl 99 drivers/thunderbolt/eeprom.c int res = tb_eeprom_ctl_read(sw, &ctl); ctl 103 drivers/thunderbolt/eeprom.c ctl.data_out = val & 0x80; ctl 104 drivers/thunderbolt/eeprom.c res = tb_eeprom_transfer(sw, &ctl, TB_EEPROM_OUT); ctl 117 drivers/thunderbolt/eeprom.c struct tb_eeprom_ctl ctl; ctl 119 drivers/thunderbolt/eeprom.c int res = tb_eeprom_ctl_read(sw, &ctl); ctl 125 drivers/thunderbolt/eeprom.c res = tb_eeprom_transfer(sw, &ctl, TB_EEPROM_IN); ctl 128 drivers/thunderbolt/eeprom.c *val |= ctl.data_in; ctl 291 drivers/thunderbolt/icm.c res = tb_cfg_request_sync(tb->ctl, req, timeout_msec); ctl 1665 drivers/thunderbolt/icm.c res = tb_cfg_read_raw(tb->ctl, &tmp, 0, 0, TB_CFG_SWITCH, ctl 993 drivers/thunderbolt/switch.c res.err = tb_cfg_write(tb->ctl, ((u32 *) &header) + 2, route, ctl 997 drivers/thunderbolt/switch.c res = tb_cfg_reset(tb->ctl, route, TB_CFG_DEFAULT_TIMEOUT); ctl 1532 drivers/thunderbolt/switch.c upstream_port = tb_cfg_get_upstream_port(tb->ctl, route); ctl 1541 drivers/thunderbolt/switch.c ret = tb_cfg_read(tb->ctl, &sw->config, route, 0, TB_CFG_SWITCH, 0, 5); ctl 1951 drivers/thunderbolt/switch.c err = tb_cfg_get_upstream_port(sw->tb->ctl, tb_route(sw)); ctl 600 drivers/thunderbolt/tb.c if (tb_cfg_error(tb->ctl, route, pkg->port, ctl 393 drivers/thunderbolt/tb.h return tb_cfg_read(sw->tb->ctl, ctl 407 drivers/thunderbolt/tb.h return tb_cfg_write(sw->tb->ctl, ctl 421 drivers/thunderbolt/tb.h return tb_cfg_read(port->sw->tb->ctl, ctl 435 drivers/thunderbolt/tb.h return tb_cfg_write(port->sw->tb->ctl, ctl 94 drivers/thunderbolt/xdomain.c static int __tb_xdomain_response(struct tb_ctl *ctl, const void *response, ctl 109 drivers/thunderbolt/xdomain.c return tb_cfg_request(ctl, req, response_ready, req); ctl 127 drivers/thunderbolt/xdomain.c return __tb_xdomain_response(xd->tb->ctl, response, size, type); ctl 131 drivers/thunderbolt/xdomain.c static int __tb_xdomain_request(struct tb_ctl *ctl, const void *request, ctl 152 drivers/thunderbolt/xdomain.c res = tb_cfg_request_sync(ctl, req, timeout_msec); ctl 181 drivers/thunderbolt/xdomain.c return __tb_xdomain_request(xd->tb->ctl, request, request_size, ctl 226 drivers/thunderbolt/xdomain.c static int tb_xdp_uuid_request(struct tb_ctl *ctl, u64 route, int retry, ctl 238 drivers/thunderbolt/xdomain.c ret = __tb_xdomain_request(ctl, &req, sizeof(req), ctl 253 drivers/thunderbolt/xdomain.c static int tb_xdp_uuid_response(struct tb_ctl *ctl, u64 route, u8 sequence, ctl 266 drivers/thunderbolt/xdomain.c return __tb_xdomain_response(ctl, &res, sizeof(res), ctl 270 drivers/thunderbolt/xdomain.c static int tb_xdp_error_response(struct tb_ctl *ctl, u64 route, u8 sequence, ctl 280 drivers/thunderbolt/xdomain.c return __tb_xdomain_response(ctl, &res, sizeof(res), ctl 284 drivers/thunderbolt/xdomain.c static int tb_xdp_properties_request(struct tb_ctl *ctl, u64 route, ctl 310 drivers/thunderbolt/xdomain.c ret = __tb_xdomain_request(ctl, &req, sizeof(req), ctl 376 drivers/thunderbolt/xdomain.c static int tb_xdp_properties_response(struct tb *tb, struct tb_ctl *ctl, ctl 391 drivers/thunderbolt/xdomain.c tb_xdp_error_response(ctl, route, sequence, ctl 424 drivers/thunderbolt/xdomain.c ret = __tb_xdomain_response(ctl, res, total_size, ctl 431 drivers/thunderbolt/xdomain.c static int tb_xdp_properties_changed_request(struct tb_ctl *ctl, u64 route, ctl 444 drivers/thunderbolt/xdomain.c ret = __tb_xdomain_request(ctl, &req, sizeof(req), ctl 455 drivers/thunderbolt/xdomain.c tb_xdp_properties_changed_response(struct tb_ctl *ctl, u64 route, u8 sequence) ctl 462 drivers/thunderbolt/xdomain.c return __tb_xdomain_response(ctl, &res, sizeof(res), ctl 510 drivers/thunderbolt/xdomain.c struct tb_ctl *ctl = tb->ctl; ctl 528 drivers/thunderbolt/xdomain.c tb_xdp_error_response(ctl, route, sequence, ERROR_NOT_READY); ctl 534 drivers/thunderbolt/xdomain.c ret = tb_xdp_properties_response(tb, ctl, route, sequence, uuid, ctl 543 drivers/thunderbolt/xdomain.c ret = tb_xdp_properties_changed_response(ctl, route, sequence); ctl 562 drivers/thunderbolt/xdomain.c ret = tb_xdp_uuid_response(ctl, route, sequence, uuid); ctl 566 drivers/thunderbolt/xdomain.c tb_xdp_error_response(ctl, route, sequence, ctl 902 drivers/thunderbolt/xdomain.c ret = tb_xdp_uuid_request(tb->ctl, xd->route, xd->uuid_retries, &uuid); ctl 954 drivers/thunderbolt/xdomain.c ret = tb_xdp_properties_request(tb->ctl, xd->route, xd->local_uuid, ctl 1043 drivers/thunderbolt/xdomain.c ret = tb_xdp_properties_changed_request(xd->tb->ctl, xd->route, ctl 203 drivers/tty/serial/bcm63xx_uart.c static void bcm_uart_break_ctl(struct uart_port *port, int ctl) ctl 211 drivers/tty/serial/bcm63xx_uart.c if (ctl) ctl 505 drivers/tty/serial/bcm63xx_uart.c unsigned int ctl, baud, quot, ier; ctl 520 drivers/tty/serial/bcm63xx_uart.c ctl = bcm_uart_readl(port, UART_CTL_REG); ctl 521 drivers/tty/serial/bcm63xx_uart.c ctl &= ~UART_CTL_BITSPERSYM_MASK; ctl 525 drivers/tty/serial/bcm63xx_uart.c ctl |= (0 << UART_CTL_BITSPERSYM_SHIFT); ctl 528 drivers/tty/serial/bcm63xx_uart.c ctl |= (1 << UART_CTL_BITSPERSYM_SHIFT); ctl 531 drivers/tty/serial/bcm63xx_uart.c ctl |= (2 << UART_CTL_BITSPERSYM_SHIFT); ctl 534 drivers/tty/serial/bcm63xx_uart.c ctl |= (3 << UART_CTL_BITSPERSYM_SHIFT); ctl 538 drivers/tty/serial/bcm63xx_uart.c ctl &= ~UART_CTL_STOPBITS_MASK; ctl 540 drivers/tty/serial/bcm63xx_uart.c ctl |= UART_CTL_STOPBITS_2; ctl 542 drivers/tty/serial/bcm63xx_uart.c ctl |= UART_CTL_STOPBITS_1; ctl 544 drivers/tty/serial/bcm63xx_uart.c ctl &= ~(UART_CTL_RXPAREN_MASK | UART_CTL_TXPAREN_MASK); ctl 546 drivers/tty/serial/bcm63xx_uart.c ctl |= (UART_CTL_RXPAREN_MASK | UART_CTL_TXPAREN_MASK); ctl 547 drivers/tty/serial/bcm63xx_uart.c ctl &= ~(UART_CTL_RXPAREVEN_MASK | UART_CTL_TXPAREVEN_MASK); ctl 549 drivers/tty/serial/bcm63xx_uart.c ctl |= (UART_CTL_RXPAREVEN_MASK | UART_CTL_TXPAREVEN_MASK); ctl 550 drivers/tty/serial/bcm63xx_uart.c bcm_uart_writel(port, ctl, UART_CTL_REG); ctl 190 drivers/tty/serial/efm32-uart.c static void efm32_uart_break_ctl(struct uart_port *port, int ctl) ctl 1101 drivers/tty/serial/mpc52xx_uart.c mpc52xx_uart_break_ctl(struct uart_port *port, int ctl) ctl 1106 drivers/tty/serial/mpc52xx_uart.c if (ctl == -1) ctl 184 drivers/tty/serial/mps2-uart.c static void mps2_uart_break_ctl(struct uart_port *port, int ctl) ctl 186 drivers/tty/serial/mvebu-uart.c unsigned int ctl = readl(port->membase + UART_INTR(port)); ctl 188 drivers/tty/serial/mvebu-uart.c ctl &= ~CTRL_TX_RDY_INT(port); ctl 189 drivers/tty/serial/mvebu-uart.c writel(ctl, port->membase + UART_INTR(port)); ctl 194 drivers/tty/serial/mvebu-uart.c unsigned int ctl; ctl 203 drivers/tty/serial/mvebu-uart.c ctl = readl(port->membase + UART_INTR(port)); ctl 204 drivers/tty/serial/mvebu-uart.c ctl |= CTRL_TX_RDY_INT(port); ctl 205 drivers/tty/serial/mvebu-uart.c writel(ctl, port->membase + UART_INTR(port)); ctl 210 drivers/tty/serial/mvebu-uart.c unsigned int ctl; ctl 212 drivers/tty/serial/mvebu-uart.c ctl = readl(port->membase + UART_CTRL(port)); ctl 213 drivers/tty/serial/mvebu-uart.c ctl &= ~CTRL_BRK_INT; ctl 214 drivers/tty/serial/mvebu-uart.c writel(ctl, port->membase + UART_CTRL(port)); ctl 216 drivers/tty/serial/mvebu-uart.c ctl = readl(port->membase + UART_INTR(port)); ctl 217 drivers/tty/serial/mvebu-uart.c ctl &= ~CTRL_RX_RDY_INT(port); ctl 218 drivers/tty/serial/mvebu-uart.c writel(ctl, port->membase + UART_INTR(port)); ctl 223 drivers/tty/serial/mvebu-uart.c unsigned int ctl; ctl 227 drivers/tty/serial/mvebu-uart.c ctl = readl(port->membase + UART_CTRL(port)); ctl 229 drivers/tty/serial/mvebu-uart.c ctl |= CTRL_SND_BRK_SEQ; ctl 231 drivers/tty/serial/mvebu-uart.c ctl &= ~CTRL_SND_BRK_SEQ; ctl 232 drivers/tty/serial/mvebu-uart.c writel(ctl, port->membase + UART_CTRL(port)); ctl 377 drivers/tty/serial/mvebu-uart.c unsigned int ctl; ctl 391 drivers/tty/serial/mvebu-uart.c ctl = readl(port->membase + UART_INTR(port)); ctl 392 drivers/tty/serial/mvebu-uart.c ctl |= CTRL_RX_RDY_INT(port); ctl 393 drivers/tty/serial/mvebu-uart.c writel(ctl, port->membase + UART_INTR(port)); ctl 662 drivers/tty/serial/mvebu-uart.c unsigned int ier, intr, ctl; ctl 684 drivers/tty/serial/mvebu-uart.c ctl = intr | readl(port->membase + UART_INTR(port)); ctl 685 drivers/tty/serial/mvebu-uart.c writel(ctl, port->membase + UART_INTR(port)); ctl 1307 drivers/tty/serial/mxs-auart.c static void mxs_auart_break_ctl(struct uart_port *u, int ctl) ctl 1311 drivers/tty/serial/mxs-auart.c if (ctl) ctl 92 drivers/tty/serial/owl-uart.c u32 ctl; ctl 94 drivers/tty/serial/owl-uart.c ctl = owl_uart_read(port, OWL_UART_CTL); ctl 97 drivers/tty/serial/owl-uart.c ctl |= OWL_UART_CTL_LBEN; ctl 99 drivers/tty/serial/owl-uart.c ctl &= ~OWL_UART_CTL_LBEN; ctl 101 drivers/tty/serial/owl-uart.c owl_uart_write(port, ctl, OWL_UART_CTL); ctl 107 drivers/tty/serial/owl-uart.c u32 stat, ctl; ctl 109 drivers/tty/serial/owl-uart.c ctl = owl_uart_read(port, OWL_UART_CTL); ctl 113 drivers/tty/serial/owl-uart.c if ((stat & OWL_UART_STAT_CTSS) || !(ctl & OWL_UART_CTL_AFE)) ctl 333 drivers/tty/serial/owl-uart.c u32 ctl; ctl 338 drivers/tty/serial/owl-uart.c ctl = owl_uart_read(port, OWL_UART_CTL); ctl 340 drivers/tty/serial/owl-uart.c ctl &= ~OWL_UART_CTL_DWLS_MASK; ctl 343 drivers/tty/serial/owl-uart.c ctl |= OWL_UART_CTL_DWLS_5BITS; ctl 346 drivers/tty/serial/owl-uart.c ctl |= OWL_UART_CTL_DWLS_6BITS; ctl 349 drivers/tty/serial/owl-uart.c ctl |= OWL_UART_CTL_DWLS_7BITS; ctl 353 drivers/tty/serial/owl-uart.c ctl |= OWL_UART_CTL_DWLS_8BITS; ctl 358 drivers/tty/serial/owl-uart.c ctl |= OWL_UART_CTL_STPS_2BITS; ctl 360 drivers/tty/serial/owl-uart.c ctl &= ~OWL_UART_CTL_STPS_2BITS; ctl 362 drivers/tty/serial/owl-uart.c ctl &= ~OWL_UART_CTL_PRS_MASK; ctl 366 drivers/tty/serial/owl-uart.c ctl |= OWL_UART_CTL_PRS_MARK; ctl 368 drivers/tty/serial/owl-uart.c ctl |= OWL_UART_CTL_PRS_SPACE; ctl 370 drivers/tty/serial/owl-uart.c ctl |= OWL_UART_CTL_PRS_ODD; ctl 372 drivers/tty/serial/owl-uart.c ctl |= OWL_UART_CTL_PRS_EVEN; ctl 374 drivers/tty/serial/owl-uart.c ctl |= OWL_UART_CTL_PRS_NONE; ctl 377 drivers/tty/serial/owl-uart.c ctl |= OWL_UART_CTL_AFE; ctl 379 drivers/tty/serial/owl-uart.c ctl &= ~OWL_UART_CTL_AFE; ctl 381 drivers/tty/serial/owl-uart.c owl_uart_write(port, ctl, OWL_UART_CTL); ctl 1258 drivers/tty/serial/pch_uart.c static void pch_uart_break_ctl(struct uart_port *port, int ctl) ctl 1265 drivers/tty/serial/pch_uart.c pch_uart_hal_set_break(priv, ctl); ctl 176 drivers/tty/serial/pic32_uart.c static void pic32_uart_break_ctl(struct uart_port *port, int ctl) ctl 183 drivers/tty/serial/pic32_uart.c if (ctl) ctl 486 drivers/tty/serial/st-asc.c u32 ctl; ctl 499 drivers/tty/serial/st-asc.c ctl = asc_in(port, ASC_CTL) & ~ASC_CTL_RUN; ctl 500 drivers/tty/serial/st-asc.c asc_out(port, ASC_CTL, ctl); ctl 114 drivers/tty/serial/tegra-tcu.c static void tegra_tcu_uart_break_ctl(struct uart_port *port, int ctl) ctl 72 drivers/tty/serial/timbuart.c u8 ctl = ioread8(port->membase + TIMBUART_CTRL) | ctl 75 drivers/tty/serial/timbuart.c iowrite8(ctl, port->membase + TIMBUART_CTRL); ctl 158 drivers/tty/serial/timbuart.c u8 ctl = ioread8(port->membase + TIMBUART_CTRL) | ctl 160 drivers/tty/serial/timbuart.c iowrite8(ctl, port->membase + TIMBUART_CTRL); ctl 235 drivers/tty/serial/timbuart.c static void timbuart_break_ctl(struct uart_port *port, int ctl) ctl 267 drivers/tty/serial/uartlite.c static void ulite_break_ctl(struct uart_port *port, int ctl) ctl 284 drivers/tty/serial/vr41xx_siu.c static void siu_break_ctl(struct uart_port *port, int ctl) ctl 292 drivers/tty/serial/vr41xx_siu.c if (ctl == -1) ctl 657 drivers/tty/serial/xilinx_uartps.c static void cdns_uart_break_ctl(struct uart_port *port, int ctl) ctl 666 drivers/tty/serial/xilinx_uartps.c if (ctl == -1) ctl 501 drivers/tty/vcc.c static int vcc_send_ctl(struct vcc_port *port, int ctl) ctl 507 drivers/tty/vcc.c pkt.tag.sid = ctl; ctl 2205 drivers/usb/core/devio.c static int proc_ioctl(struct usb_dev_state *ps, struct usbdevfs_ioctl *ctl) ctl 2220 drivers/usb/core/devio.c size = _IOC_SIZE(ctl->ioctl_code); ctl 2225 drivers/usb/core/devio.c if ((_IOC_DIR(ctl->ioctl_code) & _IOC_WRITE)) { ctl 2226 drivers/usb/core/devio.c if (copy_from_user(buf, ctl->data, size)) { ctl 2237 drivers/usb/core/devio.c else if (!(intf = usb_ifnum_to_if(ps->dev, ctl->ifno))) ctl 2239 drivers/usb/core/devio.c else switch (ctl->ioctl_code) { ctl 2266 drivers/usb/core/devio.c retval = driver->unlocked_ioctl(intf, ctl->ioctl_code, buf); ctl 2274 drivers/usb/core/devio.c && (_IOC_DIR(ctl->ioctl_code) & _IOC_READ) != 0 ctl 2276 drivers/usb/core/devio.c && copy_to_user(ctl->data, buf, size) != 0) ctl 404 drivers/usb/gadget/udc/amd5536udc.h u32 ctl; ctl 426 drivers/usb/gadget/udc/amd5536udc.h u32 ctl; ctl 194 drivers/usb/gadget/udc/snps_udc_core.c DBG(dev, "dev control = %08x\n", readl(&dev->regs->ctl)); ctl 314 drivers/usb/gadget/udc/snps_udc_core.c if (readl(&ep->regs->ctl) & AMD_BIT(UDC_EPCTL_NAK)) { ctl 354 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->ep[ep->num].regs->ctl); ctl 356 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->ep[ep->num].regs->ctl); ctl 385 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&ep->regs->ctl); ctl 387 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &ep->regs->ctl); ctl 439 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&ep->regs->ctl); ctl 441 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &ep->regs->ctl); ctl 464 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&ep->regs->ctl); ctl 466 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &ep->regs->ctl); ctl 476 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&ep->regs->ctl); ctl 478 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &ep->regs->ctl); ctl 485 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&ep->regs->ctl); ctl 487 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &ep->regs->ctl); ctl 952 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&ep->regs->ctl); ctl 954 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &ep->regs->ctl); ctl 1047 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->regs->ctl); ctl 1049 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->regs->ctl); ctl 1110 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->regs->ctl); ctl 1112 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->regs->ctl); ctl 1118 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->ep[UDC_EP0IN_IX].regs->ctl); ctl 1120 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->ep[UDC_EP0IN_IX].regs->ctl); ctl 1149 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->regs->ctl); ctl 1151 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->regs->ctl); ctl 1170 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&ep->regs->ctl); ctl 1172 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &ep->regs->ctl); ctl 1282 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&udc->regs->ctl); ctl 1284 drivers/usb/gadget/udc/snps_udc_core.c &udc->regs->ctl); ctl 1298 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &udc->regs->ctl); ctl 1339 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&ep->regs->ctl); ctl 1341 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &ep->regs->ctl); ctl 1358 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&ep->regs->ctl); ctl 1363 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &ep->regs->ctl); ctl 1405 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->regs->ctl); ctl 1407 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->regs->ctl); ctl 1409 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->regs->ctl); ctl 1478 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->regs->ctl); ctl 1481 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->regs->ctl); ctl 1577 drivers/usb/gadget/udc/snps_udc_core.c ep->dma = &dev->regs->ctl; ctl 1583 drivers/usb/gadget/udc/snps_udc_core.c reg = readl(&dev->ep[tmp].regs->ctl); ctl 1585 drivers/usb/gadget/udc/snps_udc_core.c writel(reg, &dev->ep[tmp].regs->ctl); ctl 1744 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&udc->regs->ctl); ctl 1746 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &udc->regs->ctl); ctl 1786 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&ep->regs->ctl); ctl 1803 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &ep->regs->ctl); ctl 1852 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->ep[UDC_EP0IN_IX].regs->ctl); ctl 1854 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->ep[UDC_EP0IN_IX].regs->ctl); ctl 1917 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->regs->ctl); ctl 1925 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->regs->ctl); ctl 1929 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->ep[UDC_EP0IN_IX].regs->ctl); ctl 1931 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->ep[UDC_EP0IN_IX].regs->ctl); ctl 1936 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->ep[UDC_EP0OUT_IX].regs->ctl); ctl 1938 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->ep[UDC_EP0OUT_IX].regs->ctl); ctl 1975 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->regs->ctl); ctl 1977 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->regs->ctl); ctl 2016 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->regs->ctl); ctl 2018 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->regs->ctl); ctl 2035 drivers/usb/gadget/udc/snps_udc_core.c reg = readl(&dev->ep[tmp].regs->ctl); ctl 2037 drivers/usb/gadget/udc/snps_udc_core.c writel(reg, &dev->ep[tmp].regs->ctl); ctl 2046 drivers/usb/gadget/udc/snps_udc_core.c reg = readl(&dev->ep[UDC_EP0OUT_IX].regs->ctl); ctl 2048 drivers/usb/gadget/udc/snps_udc_core.c writel(reg, &dev->ep[UDC_EP0OUT_IX].regs->ctl); ctl 2426 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&ep->regs->ctl); ctl 2428 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &ep->regs->ctl); ctl 2490 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->ep[UDC_EP0IN_IX].regs->ctl); ctl 2492 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->ep[UDC_EP0IN_IX].regs->ctl); ctl 2572 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->ep[UDC_EP0IN_IX].regs->ctl); ctl 2578 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->ep[UDC_EP0IN_IX].regs->ctl); ctl 2585 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->ep[UDC_EP0IN_IX].regs->ctl); ctl 2592 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&dev->ep[UDC_EP0OUT_IX].regs->ctl); ctl 2594 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &dev->ep[UDC_EP0OUT_IX].regs->ctl); ctl 2701 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&ep->regs->ctl); ctl 2703 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &ep->regs->ctl); ctl 2722 drivers/usb/gadget/udc/snps_udc_core.c readl(&dev->ep[UDC_EP0IN_IX].regs->ctl); ctl 2725 drivers/usb/gadget/udc/snps_udc_core.c &dev->ep[UDC_EP0IN_IX].regs->ctl); ctl 2817 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&ep->regs->ctl); ctl 2819 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &ep->regs->ctl); ctl 2876 drivers/usb/gadget/udc/snps_udc_core.c tmp = readl(&ep->regs->ctl); ctl 2878 drivers/usb/gadget/udc/snps_udc_core.c writel(tmp, &ep->regs->ctl); ctl 3111 drivers/usb/gadget/udc/snps_udc_core.c dev->ep[UDC_EP0IN_IX].dma = &dev->regs->ctl; ctl 3203 drivers/usb/gadget/udc/snps_udc_core.c reg = readl(&dev->regs->ctl); ctl 3205 drivers/usb/gadget/udc/snps_udc_core.c writel(reg, &dev->regs->ctl); ctl 41 drivers/usb/gadget/udc/snps_udc_plat.c reg = readl(&udc->regs->ctl); ctl 43 drivers/usb/gadget/udc/snps_udc_plat.c writel(reg, &udc->regs->ctl); ctl 45 drivers/usb/gadget/udc/snps_udc_plat.c reg = readl(&udc->regs->ctl); ctl 47 drivers/usb/gadget/udc/snps_udc_plat.c writel(reg, &udc->regs->ctl); ctl 590 drivers/usb/host/sl811-hcd.c u8 ctl; ctl 594 drivers/usb/host/sl811-hcd.c ctl = sl811_read(sl811, SL811_EP_A(SL11H_HOSTCTLREG)); ctl 595 drivers/usb/host/sl811-hcd.c if (ctl & SL11H_HCTLMASK_ARM) ctl 599 drivers/usb/host/sl811-hcd.c (ctl & SL11H_HCTLMASK_ARM) ? "timeout" : "lost", ctl 600 drivers/usb/host/sl811-hcd.c ctl, ctl 606 drivers/usb/host/sl811-hcd.c ctl = sl811_read(sl811, SL811_EP_B(SL11H_HOSTCTLREG)); ctl 607 drivers/usb/host/sl811-hcd.c if (ctl & SL11H_HCTLMASK_ARM) ctl 611 drivers/usb/host/sl811-hcd.c (ctl & SL11H_HCTLMASK_ARM) ? "timeout" : "lost", ctl 612 drivers/usb/host/sl811-hcd.c ctl, ctl 792 drivers/usb/serial/cp210x.c static int cp210x_get_line_ctl(struct usb_serial_port *port, u16 *ctl) ctl 797 drivers/usb/serial/cp210x.c err = cp210x_read_u16_reg(port, CP210X_GET_LINE_CTL, ctl); ctl 803 drivers/usb/serial/cp210x.c *ctl = swab16(*ctl); ctl 464 drivers/vhost/net.c struct tun_msg_ctl ctl = { ctl 474 drivers/vhost/net.c msghdr->msg_control = &ctl; ctl 859 drivers/vhost/net.c struct tun_msg_ctl ctl; ctl 904 drivers/vhost/net.c msg.msg_control = &ctl; ctl 905 drivers/vhost/net.c ctl.type = TUN_MSG_UBUF; ctl 906 drivers/vhost/net.c ctl.ptr = ubuf; ctl 907 drivers/vhost/net.c msg.msg_controllen = sizeof(ctl); ctl 184 drivers/video/backlight/as3711_bl.c u8 ctl = 0; ctl 199 drivers/video/backlight/as3711_bl.c ctl = 1; ctl 203 drivers/video/backlight/as3711_bl.c ctl = 4; ctl 207 drivers/video/backlight/as3711_bl.c ctl = 0x10; ctl 212 drivers/video/backlight/as3711_bl.c ctl = 2; ctl 214 drivers/video/backlight/as3711_bl.c ctl |= 8; ctl 216 drivers/video/backlight/as3711_bl.c ctl |= 0x20; ctl 224 drivers/video/backlight/as3711_bl.c ret = regmap_write(as3711->regmap, AS3711_CURR_CONTROL, ctl); ctl 657 drivers/video/fbdev/imsttfb.c __u32 ctl, pitch, byteswap, scr; ctl 678 drivers/video/fbdev/imsttfb.c ctl = 0x17b1; ctl 683 drivers/video/fbdev/imsttfb.c ctl = 0x17b3; ctl 688 drivers/video/fbdev/imsttfb.c ctl = 0x17b9; ctl 693 drivers/video/fbdev/imsttfb.c ctl = 0x17b5; ctl 699 drivers/video/fbdev/imsttfb.c ctl -= 0x30; ctl 741 drivers/video/fbdev/imsttfb.c write_reg_le32(par->dc_regs, STGCTL, ctl); ctl 173 drivers/video/fbdev/matrox/matroxfb_DAC1064.c c2_ctl = hw->crtc2.ctl & ~0x4007; /* Clear PLL + enable for CRTC2 */ ctl 207 drivers/video/fbdev/matrox/matroxfb_DAC1064.c if (c2_ctl != hw->crtc2.ctl) { ctl 208 drivers/video/fbdev/matrox/matroxfb_DAC1064.c hw->crtc2.ctl = c2_ctl; ctl 261 drivers/video/fbdev/matrox/matroxfb_base.h u_int32_t ctl; ctl 151 drivers/video/fbdev/matrox/matroxfb_crtc2.c minfo->hw.crtc2.ctl = tmp; ctl 165 drivers/video/fbdev/matrox/matroxfb_crtc2.c minfo->hw.crtc2.ctl = 0x00000004; ctl 225 drivers/video/fbdev/matrox/matroxfb_maven.c const struct matrox_pll_ctl* ctl, ctl 230 drivers/video/fbdev/matrox/matroxfb_maven.c unsigned int fxtal = ctl->ref_freq; ctl 231 drivers/video/fbdev/matrox/matroxfb_maven.c unsigned int fmin = pll->vco_freq_min / ctl->den; ctl 241 drivers/video/fbdev/matrox/matroxfb_maven.c fmax = pll->vco_freq_max / ctl->den; ctl 295 drivers/video/fbdev/matrox/matroxfb_maven.c return fxtal * (*feed) / (*in) * ctl->den; ctl 298 drivers/video/fbdev/matrox/matroxfb_maven.c static int matroxfb_mavenclock(const struct matrox_pll_ctl *ctl, ctl 305 drivers/video/fbdev/matrox/matroxfb_maven.c fvco = matroxfb_PLL_mavenclock(&maven1000_pll, ctl, htotal, vtotal, in, feed, &p, htotal2); ctl 46 drivers/video/fbdev/n411.c static unsigned char ctl; ctl 54 drivers/video/fbdev/n411.c ctl &= ~(HCB_CD_BIT); ctl 56 drivers/video/fbdev/n411.c ctl |= HCB_CD_BIT; ctl 60 drivers/video/fbdev/n411.c ctl &= ~(HCB_DS_BIT); ctl 62 drivers/video/fbdev/n411.c ctl |= HCB_DS_BIT; ctl 65 drivers/video/fbdev/n411.c outb(ctl, cio_addr); ctl 107 drivers/video/fbdev/n411.c ctl = HCB_WUP_BIT | HCB_RW_BIT | HCB_CD_BIT ; ctl 443 drivers/vme/bridges/vme_ca91cx42.c unsigned int i, granularity = 0, ctl = 0; ctl 457 drivers/vme/bridges/vme_ca91cx42.c ctl = ioread32(bridge->base + CA91CX42_VSI_CTL[i]); ctl 470 drivers/vme/bridges/vme_ca91cx42.c if (ctl & CA91CX42_VSI_CTL_EN) ctl 473 drivers/vme/bridges/vme_ca91cx42.c if ((ctl & CA91CX42_VSI_CTL_VAS_M) == CA91CX42_VSI_CTL_VAS_A16) ctl 475 drivers/vme/bridges/vme_ca91cx42.c if ((ctl & CA91CX42_VSI_CTL_VAS_M) == CA91CX42_VSI_CTL_VAS_A24) ctl 477 drivers/vme/bridges/vme_ca91cx42.c if ((ctl & CA91CX42_VSI_CTL_VAS_M) == CA91CX42_VSI_CTL_VAS_A32) ctl 479 drivers/vme/bridges/vme_ca91cx42.c if ((ctl & CA91CX42_VSI_CTL_VAS_M) == CA91CX42_VSI_CTL_VAS_USER1) ctl 481 drivers/vme/bridges/vme_ca91cx42.c if ((ctl & CA91CX42_VSI_CTL_VAS_M) == CA91CX42_VSI_CTL_VAS_USER2) ctl 484 drivers/vme/bridges/vme_ca91cx42.c if (ctl & CA91CX42_VSI_CTL_SUPER_SUPR) ctl 486 drivers/vme/bridges/vme_ca91cx42.c if (ctl & CA91CX42_VSI_CTL_SUPER_NPRIV) ctl 488 drivers/vme/bridges/vme_ca91cx42.c if (ctl & CA91CX42_VSI_CTL_PGM_PGM) ctl 490 drivers/vme/bridges/vme_ca91cx42.c if (ctl & CA91CX42_VSI_CTL_PGM_DATA) ctl 750 drivers/vme/bridges/vme_ca91cx42.c unsigned int i, ctl; ctl 758 drivers/vme/bridges/vme_ca91cx42.c ctl = ioread32(bridge->base + CA91CX42_LSI_CTL[i]); ctl 772 drivers/vme/bridges/vme_ca91cx42.c if (ctl & CA91CX42_LSI_CTL_EN) ctl 776 drivers/vme/bridges/vme_ca91cx42.c switch (ctl & CA91CX42_LSI_CTL_VAS_M) { ctl 799 drivers/vme/bridges/vme_ca91cx42.c if (ctl & CA91CX42_LSI_CTL_VCT_BLT) ctl 804 drivers/vme/bridges/vme_ca91cx42.c if (ctl & CA91CX42_LSI_CTL_SUPER_SUPR) ctl 809 drivers/vme/bridges/vme_ca91cx42.c if (ctl & CA91CX42_LSI_CTL_PGM_PGM) ctl 815 drivers/vme/bridges/vme_ca91cx42.c switch (ctl & CA91CX42_LSI_CTL_VDW_M) { ctl 620 drivers/vme/bridges/vme_tsi148.c unsigned int i, granularity = 0, ctl = 0; ctl 632 drivers/vme/bridges/vme_tsi148.c ctl = ioread32be(bridge->base + TSI148_LCSR_IT[i] + ctl 659 drivers/vme/bridges/vme_tsi148.c if (ctl & TSI148_LCSR_ITAT_EN) ctl 662 drivers/vme/bridges/vme_tsi148.c if ((ctl & TSI148_LCSR_ITAT_AS_M) == TSI148_LCSR_ITAT_AS_A16) { ctl 666 drivers/vme/bridges/vme_tsi148.c if ((ctl & TSI148_LCSR_ITAT_AS_M) == TSI148_LCSR_ITAT_AS_A24) { ctl 670 drivers/vme/bridges/vme_tsi148.c if ((ctl & TSI148_LCSR_ITAT_AS_M) == TSI148_LCSR_ITAT_AS_A32) { ctl 674 drivers/vme/bridges/vme_tsi148.c if ((ctl & TSI148_LCSR_ITAT_AS_M) == TSI148_LCSR_ITAT_AS_A64) { ctl 683 drivers/vme/bridges/vme_tsi148.c if ((ctl & TSI148_LCSR_ITAT_2eSSTM_M) == TSI148_LCSR_ITAT_2eSSTM_160) ctl 685 drivers/vme/bridges/vme_tsi148.c if ((ctl & TSI148_LCSR_ITAT_2eSSTM_M) == TSI148_LCSR_ITAT_2eSSTM_267) ctl 687 drivers/vme/bridges/vme_tsi148.c if ((ctl & TSI148_LCSR_ITAT_2eSSTM_M) == TSI148_LCSR_ITAT_2eSSTM_320) ctl 690 drivers/vme/bridges/vme_tsi148.c if (ctl & TSI148_LCSR_ITAT_BLT) ctl 692 drivers/vme/bridges/vme_tsi148.c if (ctl & TSI148_LCSR_ITAT_MBLT) ctl 694 drivers/vme/bridges/vme_tsi148.c if (ctl & TSI148_LCSR_ITAT_2eVME) ctl 696 drivers/vme/bridges/vme_tsi148.c if (ctl & TSI148_LCSR_ITAT_2eSST) ctl 698 drivers/vme/bridges/vme_tsi148.c if (ctl & TSI148_LCSR_ITAT_2eSSTB) ctl 701 drivers/vme/bridges/vme_tsi148.c if (ctl & TSI148_LCSR_ITAT_SUPR) ctl 703 drivers/vme/bridges/vme_tsi148.c if (ctl & TSI148_LCSR_ITAT_NPRIV) ctl 705 drivers/vme/bridges/vme_tsi148.c if (ctl & TSI148_LCSR_ITAT_PGM) ctl 707 drivers/vme/bridges/vme_tsi148.c if (ctl & TSI148_LCSR_ITAT_DATA) ctl 1053 drivers/vme/bridges/vme_tsi148.c unsigned int i, ctl; ctl 1065 drivers/vme/bridges/vme_tsi148.c ctl = ioread32be(bridge->base + TSI148_LCSR_OT[i] + ctl 1094 drivers/vme/bridges/vme_tsi148.c if (ctl & TSI148_LCSR_OTAT_EN) ctl 1098 drivers/vme/bridges/vme_tsi148.c if ((ctl & TSI148_LCSR_OTAT_AMODE_M) == TSI148_LCSR_OTAT_AMODE_A16) ctl 1100 drivers/vme/bridges/vme_tsi148.c if ((ctl & TSI148_LCSR_OTAT_AMODE_M) == TSI148_LCSR_OTAT_AMODE_A24) ctl 1102 drivers/vme/bridges/vme_tsi148.c if ((ctl & TSI148_LCSR_OTAT_AMODE_M) == TSI148_LCSR_OTAT_AMODE_A32) ctl 1104 drivers/vme/bridges/vme_tsi148.c if ((ctl & TSI148_LCSR_OTAT_AMODE_M) == TSI148_LCSR_OTAT_AMODE_A64) ctl 1106 drivers/vme/bridges/vme_tsi148.c if ((ctl & TSI148_LCSR_OTAT_AMODE_M) == TSI148_LCSR_OTAT_AMODE_CRCSR) ctl 1108 drivers/vme/bridges/vme_tsi148.c if ((ctl & TSI148_LCSR_OTAT_AMODE_M) == TSI148_LCSR_OTAT_AMODE_USER1) ctl 1110 drivers/vme/bridges/vme_tsi148.c if ((ctl & TSI148_LCSR_OTAT_AMODE_M) == TSI148_LCSR_OTAT_AMODE_USER2) ctl 1112 drivers/vme/bridges/vme_tsi148.c if ((ctl & TSI148_LCSR_OTAT_AMODE_M) == TSI148_LCSR_OTAT_AMODE_USER3) ctl 1114 drivers/vme/bridges/vme_tsi148.c if ((ctl & TSI148_LCSR_OTAT_AMODE_M) == TSI148_LCSR_OTAT_AMODE_USER4) ctl 1118 drivers/vme/bridges/vme_tsi148.c if ((ctl & TSI148_LCSR_OTAT_2eSSTM_M) == TSI148_LCSR_OTAT_2eSSTM_160) ctl 1120 drivers/vme/bridges/vme_tsi148.c if ((ctl & TSI148_LCSR_OTAT_2eSSTM_M) == TSI148_LCSR_OTAT_2eSSTM_267) ctl 1122 drivers/vme/bridges/vme_tsi148.c if ((ctl & TSI148_LCSR_OTAT_2eSSTM_M) == TSI148_LCSR_OTAT_2eSSTM_320) ctl 1126 drivers/vme/bridges/vme_tsi148.c if ((ctl & TSI148_LCSR_OTAT_TM_M) == TSI148_LCSR_OTAT_TM_SCT) ctl 1128 drivers/vme/bridges/vme_tsi148.c if ((ctl & TSI148_LCSR_OTAT_TM_M) == TSI148_LCSR_OTAT_TM_BLT) ctl 1130 drivers/vme/bridges/vme_tsi148.c if ((ctl & TSI148_LCSR_OTAT_TM_M) == TSI148_LCSR_OTAT_TM_MBLT) ctl 1132 drivers/vme/bridges/vme_tsi148.c if ((ctl & TSI148_LCSR_OTAT_TM_M) == TSI148_LCSR_OTAT_TM_2eVME) ctl 1134 drivers/vme/bridges/vme_tsi148.c if ((ctl & TSI148_LCSR_OTAT_TM_M) == TSI148_LCSR_OTAT_TM_2eSST) ctl 1136 drivers/vme/bridges/vme_tsi148.c if ((ctl & TSI148_LCSR_OTAT_TM_M) == TSI148_LCSR_OTAT_TM_2eSSTB) ctl 1139 drivers/vme/bridges/vme_tsi148.c if (ctl & TSI148_LCSR_OTAT_SUP) ctl 1144 drivers/vme/bridges/vme_tsi148.c if (ctl & TSI148_LCSR_OTAT_PGM) ctl 1150 drivers/vme/bridges/vme_tsi148.c if ((ctl & TSI148_LCSR_OTAT_DBW_M) == TSI148_LCSR_OTAT_DBW_16) ctl 1152 drivers/vme/bridges/vme_tsi148.c if ((ctl & TSI148_LCSR_OTAT_DBW_M) == TSI148_LCSR_OTAT_DBW_32) ctl 112 drivers/watchdog/bcm_kona_wdt.c int ctl, cur, ctl_sec, cur_sec, res; ctl 114 drivers/watchdog/bcm_kona_wdt.c ctl = ctl_val & SECWDOG_COUNT_MASK; ctl 117 drivers/watchdog/bcm_kona_wdt.c ctl_sec = TICKS_TO_SECS(ctl, wdt); ctl 125 drivers/watchdog/bcm_kona_wdt.c ctl_sec, ctl, ctl, ctl 77 drivers/watchdog/via_wdt.c unsigned int ctl = readl(wdt_mem); ctl 79 drivers/watchdog/via_wdt.c writel(ctl | VIA_WDT_TRIGGER, wdt_mem); ctl 110 drivers/watchdog/via_wdt.c unsigned int ctl = readl(wdt_mem); ctl 113 drivers/watchdog/via_wdt.c writel(ctl | VIA_WDT_RUNNING | VIA_WDT_TRIGGER, wdt_mem); ctl 121 drivers/watchdog/via_wdt.c unsigned int ctl = readl(wdt_mem); ctl 123 drivers/watchdog/via_wdt.c writel(ctl & ~VIA_WDT_RUNNING, wdt_mem); ctl 362 fs/btrfs/block-group.c struct btrfs_caching_control *ctl; ctl 370 fs/btrfs/block-group.c ctl = cache->caching_ctl; ctl 371 fs/btrfs/block-group.c refcount_inc(&ctl->count); ctl 373 fs/btrfs/block-group.c return ctl; ctl 376 fs/btrfs/block-group.c void btrfs_put_caching_control(struct btrfs_caching_control *ctl) ctl 378 fs/btrfs/block-group.c if (refcount_dec_and_test(&ctl->count)) ctl 379 fs/btrfs/block-group.c kfree(ctl); ctl 714 fs/btrfs/block-group.c struct btrfs_caching_control *ctl; ctl 716 fs/btrfs/block-group.c ctl = cache->caching_ctl; ctl 717 fs/btrfs/block-group.c refcount_inc(&ctl->count); ctl 718 fs/btrfs/block-group.c prepare_to_wait(&ctl->wait, &wait, TASK_UNINTERRUPTIBLE); ctl 723 fs/btrfs/block-group.c finish_wait(&ctl->wait, &wait); ctl 724 fs/btrfs/block-group.c btrfs_put_caching_control(ctl); ctl 1018 fs/btrfs/block-group.c struct btrfs_caching_control *ctl; ctl 1020 fs/btrfs/block-group.c list_for_each_entry(ctl, ctl 1022 fs/btrfs/block-group.c if (ctl->block_group == block_group) { ctl 1023 fs/btrfs/block-group.c caching_ctl = ctl; ctl 192 fs/btrfs/block-group.h void btrfs_put_caching_control(struct btrfs_caching_control *ctl); ctl 34 fs/btrfs/free-space-cache.c static int link_free_space(struct btrfs_free_space_ctl *ctl, ctl 36 fs/btrfs/free-space-cache.c static void unlink_free_space(struct btrfs_free_space_ctl *ctl, ctl 637 fs/btrfs/free-space-cache.c static void merge_space_tree(struct btrfs_free_space_ctl *ctl) ctl 643 fs/btrfs/free-space-cache.c spin_lock(&ctl->tree_lock); ctl 644 fs/btrfs/free-space-cache.c for (n = rb_first(&ctl->free_space_offset); n; n = rb_next(n)) { ctl 651 fs/btrfs/free-space-cache.c unlink_free_space(ctl, prev); ctl 652 fs/btrfs/free-space-cache.c unlink_free_space(ctl, e); ctl 655 fs/btrfs/free-space-cache.c link_free_space(ctl, prev); ctl 657 fs/btrfs/free-space-cache.c spin_unlock(&ctl->tree_lock); ctl 663 fs/btrfs/free-space-cache.c spin_unlock(&ctl->tree_lock); ctl 667 fs/btrfs/free-space-cache.c struct btrfs_free_space_ctl *ctl, ctl 762 fs/btrfs/free-space-cache.c spin_lock(&ctl->tree_lock); ctl 763 fs/btrfs/free-space-cache.c ret = link_free_space(ctl, e); ctl 764 fs/btrfs/free-space-cache.c spin_unlock(&ctl->tree_lock); ctl 781 fs/btrfs/free-space-cache.c spin_lock(&ctl->tree_lock); ctl 782 fs/btrfs/free-space-cache.c ret = link_free_space(ctl, e); ctl 783 fs/btrfs/free-space-cache.c ctl->total_bitmaps++; ctl 784 fs/btrfs/free-space-cache.c ctl->op->recalc_thresholds(ctl); ctl 785 fs/btrfs/free-space-cache.c spin_unlock(&ctl->tree_lock); ctl 812 fs/btrfs/free-space-cache.c merge_space_tree(ctl); ctl 819 fs/btrfs/free-space-cache.c __btrfs_remove_free_space_cache(ctl); ctl 826 fs/btrfs/free-space-cache.c struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; ctl 884 fs/btrfs/free-space-cache.c ret = __load_free_space_cache(fs_info->tree_root, inode, ctl, ctl 890 fs/btrfs/free-space-cache.c spin_lock(&ctl->tree_lock); ctl 891 fs/btrfs/free-space-cache.c matched = (ctl->free_space == (block_group->key.offset - used - ctl 893 fs/btrfs/free-space-cache.c spin_unlock(&ctl->tree_lock); ctl 896 fs/btrfs/free-space-cache.c __btrfs_remove_free_space_cache(ctl); ctl 921 fs/btrfs/free-space-cache.c struct btrfs_free_space_ctl *ctl, ctl 929 fs/btrfs/free-space-cache.c struct rb_node *node = rb_first(&ctl->free_space_offset); ctl 981 fs/btrfs/free-space-cache.c list_for_each_entry(trim_entry, &ctl->trimming_ranges, list) { ctl 1239 fs/btrfs/free-space-cache.c struct btrfs_free_space_ctl *ctl, ctl 1284 fs/btrfs/free-space-cache.c mutex_lock(&ctl->cache_writeout_mutex); ctl 1286 fs/btrfs/free-space-cache.c spin_lock(&ctl->tree_lock); ctl 1287 fs/btrfs/free-space-cache.c ret = write_cache_extent_entries(io_ctl, ctl, ctl 1311 fs/btrfs/free-space-cache.c spin_unlock(&ctl->tree_lock); ctl 1312 fs/btrfs/free-space-cache.c mutex_unlock(&ctl->cache_writeout_mutex); ctl 1364 fs/btrfs/free-space-cache.c spin_unlock(&ctl->tree_lock); ctl 1365 fs/btrfs/free-space-cache.c mutex_unlock(&ctl->cache_writeout_mutex); ctl 1382 fs/btrfs/free-space-cache.c struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; ctl 1397 fs/btrfs/free-space-cache.c ret = __btrfs_write_out_cache(fs_info->tree_root, inode, ctl, ctl 1434 fs/btrfs/free-space-cache.c static inline u64 offset_to_bitmap(struct btrfs_free_space_ctl *ctl, ctl 1440 fs/btrfs/free-space-cache.c bytes_per_bitmap = BITS_PER_BITMAP * ctl->unit; ctl 1441 fs/btrfs/free-space-cache.c bitmap_start = offset - ctl->start; ctl 1444 fs/btrfs/free-space-cache.c bitmap_start += ctl->start; ctl 1508 fs/btrfs/free-space-cache.c tree_search_offset(struct btrfs_free_space_ctl *ctl, ctl 1511 fs/btrfs/free-space-cache.c struct rb_node *n = ctl->free_space_offset.rb_node; ctl 1597 fs/btrfs/free-space-cache.c if (entry->offset + BITS_PER_BITMAP * ctl->unit > offset) ctl 1608 fs/btrfs/free-space-cache.c ctl->unit > offset) ctl 1624 fs/btrfs/free-space-cache.c __unlink_free_space(struct btrfs_free_space_ctl *ctl, ctl 1627 fs/btrfs/free-space-cache.c rb_erase(&info->offset_index, &ctl->free_space_offset); ctl 1628 fs/btrfs/free-space-cache.c ctl->free_extents--; ctl 1631 fs/btrfs/free-space-cache.c static void unlink_free_space(struct btrfs_free_space_ctl *ctl, ctl 1634 fs/btrfs/free-space-cache.c __unlink_free_space(ctl, info); ctl 1635 fs/btrfs/free-space-cache.c ctl->free_space -= info->bytes; ctl 1638 fs/btrfs/free-space-cache.c static int link_free_space(struct btrfs_free_space_ctl *ctl, ctl 1644 fs/btrfs/free-space-cache.c ret = tree_insert_offset(&ctl->free_space_offset, info->offset, ctl 1649 fs/btrfs/free-space-cache.c ctl->free_space += info->bytes; ctl 1650 fs/btrfs/free-space-cache.c ctl->free_extents++; ctl 1654 fs/btrfs/free-space-cache.c static void recalculate_thresholds(struct btrfs_free_space_ctl *ctl) ctl 1656 fs/btrfs/free-space-cache.c struct btrfs_block_group_cache *block_group = ctl->private; ctl 1661 fs/btrfs/free-space-cache.c u64 bytes_per_bg = BITS_PER_BITMAP * ctl->unit; ctl 1666 fs/btrfs/free-space-cache.c ASSERT(ctl->total_bitmaps <= max_bitmaps); ctl 1683 fs/btrfs/free-space-cache.c bitmap_bytes = (ctl->total_bitmaps + 1) * ctl->unit; ctl 1686 fs/btrfs/free-space-cache.c ctl->extents_thresh = 0; ctl 1697 fs/btrfs/free-space-cache.c ctl->extents_thresh = ctl 1701 fs/btrfs/free-space-cache.c static inline void __bitmap_clear_bits(struct btrfs_free_space_ctl *ctl, ctl 1707 fs/btrfs/free-space-cache.c start = offset_to_bit(info->offset, ctl->unit, offset); ctl 1708 fs/btrfs/free-space-cache.c count = bytes_to_bits(bytes, ctl->unit); ctl 1714 fs/btrfs/free-space-cache.c if (info->max_extent_size > ctl->unit) ctl 1718 fs/btrfs/free-space-cache.c static void bitmap_clear_bits(struct btrfs_free_space_ctl *ctl, ctl 1722 fs/btrfs/free-space-cache.c __bitmap_clear_bits(ctl, info, offset, bytes); ctl 1723 fs/btrfs/free-space-cache.c ctl->free_space -= bytes; ctl 1726 fs/btrfs/free-space-cache.c static void bitmap_set_bits(struct btrfs_free_space_ctl *ctl, ctl 1732 fs/btrfs/free-space-cache.c start = offset_to_bit(info->offset, ctl->unit, offset); ctl 1733 fs/btrfs/free-space-cache.c count = bytes_to_bits(bytes, ctl->unit); ctl 1739 fs/btrfs/free-space-cache.c ctl->free_space += bytes; ctl 1746 fs/btrfs/free-space-cache.c static int search_bitmap(struct btrfs_free_space_ctl *ctl, ctl 1767 fs/btrfs/free-space-cache.c i = offset_to_bit(bitmap_info->offset, ctl->unit, ctl 1769 fs/btrfs/free-space-cache.c bits = bytes_to_bits(*bytes, ctl->unit); ctl 1789 fs/btrfs/free-space-cache.c *offset = (u64)(i * ctl->unit) + bitmap_info->offset; ctl 1790 fs/btrfs/free-space-cache.c *bytes = (u64)(found_bits) * ctl->unit; ctl 1794 fs/btrfs/free-space-cache.c *bytes = (u64)(max_bits) * ctl->unit; ctl 1808 fs/btrfs/free-space-cache.c find_free_space(struct btrfs_free_space_ctl *ctl, u64 *offset, u64 *bytes, ctl 1817 fs/btrfs/free-space-cache.c if (!ctl->free_space_offset.rb_node) ctl 1820 fs/btrfs/free-space-cache.c entry = tree_search_offset(ctl, offset_to_bitmap(ctl, *offset), 0, 1); ctl 1836 fs/btrfs/free-space-cache.c tmp = entry->offset - ctl->start + align - 1; ctl 1838 fs/btrfs/free-space-cache.c tmp = tmp * align + ctl->start; ctl 1854 fs/btrfs/free-space-cache.c ret = search_bitmap(ctl, entry, &tmp, &size, true); ctl 1875 fs/btrfs/free-space-cache.c static void add_new_bitmap(struct btrfs_free_space_ctl *ctl, ctl 1878 fs/btrfs/free-space-cache.c info->offset = offset_to_bitmap(ctl, offset); ctl 1881 fs/btrfs/free-space-cache.c link_free_space(ctl, info); ctl 1882 fs/btrfs/free-space-cache.c ctl->total_bitmaps++; ctl 1884 fs/btrfs/free-space-cache.c ctl->op->recalc_thresholds(ctl); ctl 1887 fs/btrfs/free-space-cache.c static void free_bitmap(struct btrfs_free_space_ctl *ctl, ctl 1890 fs/btrfs/free-space-cache.c unlink_free_space(ctl, bitmap_info); ctl 1893 fs/btrfs/free-space-cache.c ctl->total_bitmaps--; ctl 1894 fs/btrfs/free-space-cache.c ctl->op->recalc_thresholds(ctl); ctl 1897 fs/btrfs/free-space-cache.c static noinline int remove_from_bitmap(struct btrfs_free_space_ctl *ctl, ctl 1906 fs/btrfs/free-space-cache.c end = bitmap_info->offset + (u64)(BITS_PER_BITMAP * ctl->unit) - 1; ctl 1915 fs/btrfs/free-space-cache.c search_bytes = ctl->unit; ctl 1917 fs/btrfs/free-space-cache.c ret = search_bitmap(ctl, bitmap_info, &search_start, &search_bytes, ctl 1928 fs/btrfs/free-space-cache.c bitmap_clear_bits(ctl, bitmap_info, search_start, search_bytes); ctl 1935 fs/btrfs/free-space-cache.c free_bitmap(ctl, bitmap_info); ctl 1961 fs/btrfs/free-space-cache.c search_bytes = ctl->unit; ctl 1962 fs/btrfs/free-space-cache.c ret = search_bitmap(ctl, bitmap_info, &search_start, ctl 1969 fs/btrfs/free-space-cache.c free_bitmap(ctl, bitmap_info); ctl 1974 fs/btrfs/free-space-cache.c static u64 add_bytes_to_bitmap(struct btrfs_free_space_ctl *ctl, ctl 1981 fs/btrfs/free-space-cache.c end = info->offset + (u64)(BITS_PER_BITMAP * ctl->unit); ctl 1985 fs/btrfs/free-space-cache.c bitmap_set_bits(ctl, info, offset, bytes_to_set); ctl 1997 fs/btrfs/free-space-cache.c static bool use_bitmap(struct btrfs_free_space_ctl *ctl, ctl 2000 fs/btrfs/free-space-cache.c struct btrfs_block_group_cache *block_group = ctl->private; ctl 2013 fs/btrfs/free-space-cache.c if (!forced && ctl->free_extents < ctl->extents_thresh) { ctl 2022 fs/btrfs/free-space-cache.c if (ctl->free_extents * 2 <= ctl->extents_thresh) ctl 2037 fs/btrfs/free-space-cache.c if (((BITS_PER_BITMAP * ctl->unit) >> 1) > block_group->key.offset) ctl 2048 fs/btrfs/free-space-cache.c static int insert_into_bitmap(struct btrfs_free_space_ctl *ctl, ctl 2060 fs/btrfs/free-space-cache.c if (!ctl->op->use_bitmap(ctl, info)) ctl 2063 fs/btrfs/free-space-cache.c if (ctl->op == &free_space_op) ctl 2064 fs/btrfs/free-space-cache.c block_group = ctl->private; ctl 2092 fs/btrfs/free-space-cache.c if (entry->offset == offset_to_bitmap(ctl, offset)) { ctl 2093 fs/btrfs/free-space-cache.c bytes_added = add_bytes_to_bitmap(ctl, entry, ctl 2106 fs/btrfs/free-space-cache.c bitmap_info = tree_search_offset(ctl, offset_to_bitmap(ctl, offset), ctl 2113 fs/btrfs/free-space-cache.c bytes_added = add_bytes_to_bitmap(ctl, bitmap_info, offset, bytes); ctl 2126 fs/btrfs/free-space-cache.c add_new_bitmap(ctl, info, offset); ctl 2131 fs/btrfs/free-space-cache.c spin_unlock(&ctl->tree_lock); ctl 2138 fs/btrfs/free-space-cache.c spin_lock(&ctl->tree_lock); ctl 2147 fs/btrfs/free-space-cache.c spin_lock(&ctl->tree_lock); ctl 2166 fs/btrfs/free-space-cache.c static bool try_merge_free_space(struct btrfs_free_space_ctl *ctl, ctl 2180 fs/btrfs/free-space-cache.c right_info = tree_search_offset(ctl, offset + bytes, 0, 0); ctl 2185 fs/btrfs/free-space-cache.c left_info = tree_search_offset(ctl, offset - 1, 0, 0); ctl 2189 fs/btrfs/free-space-cache.c unlink_free_space(ctl, right_info); ctl 2191 fs/btrfs/free-space-cache.c __unlink_free_space(ctl, right_info); ctl 2200 fs/btrfs/free-space-cache.c unlink_free_space(ctl, left_info); ctl 2202 fs/btrfs/free-space-cache.c __unlink_free_space(ctl, left_info); ctl 2212 fs/btrfs/free-space-cache.c static bool steal_from_bitmap_to_end(struct btrfs_free_space_ctl *ctl, ctl 2220 fs/btrfs/free-space-cache.c const u64 bitmap_offset = offset_to_bitmap(ctl, end); ctl 2223 fs/btrfs/free-space-cache.c bitmap = tree_search_offset(ctl, bitmap_offset, 1, 0); ctl 2227 fs/btrfs/free-space-cache.c i = offset_to_bit(bitmap->offset, ctl->unit, end); ctl 2231 fs/btrfs/free-space-cache.c bytes = (j - i) * ctl->unit; ctl 2235 fs/btrfs/free-space-cache.c bitmap_clear_bits(ctl, bitmap, end, bytes); ctl 2237 fs/btrfs/free-space-cache.c __bitmap_clear_bits(ctl, bitmap, end, bytes); ctl 2240 fs/btrfs/free-space-cache.c free_bitmap(ctl, bitmap); ctl 2245 fs/btrfs/free-space-cache.c static bool steal_from_bitmap_to_front(struct btrfs_free_space_ctl *ctl, ctl 2256 fs/btrfs/free-space-cache.c bitmap_offset = offset_to_bitmap(ctl, info->offset); ctl 2261 fs/btrfs/free-space-cache.c bitmap_offset = offset_to_bitmap(ctl, info->offset - 1); ctl 2264 fs/btrfs/free-space-cache.c bitmap = tree_search_offset(ctl, bitmap_offset, 1, 0); ctl 2268 fs/btrfs/free-space-cache.c i = offset_to_bit(bitmap->offset, ctl->unit, info->offset) - 1; ctl 2280 fs/btrfs/free-space-cache.c bytes = (i + 1) * ctl->unit; ctl 2282 fs/btrfs/free-space-cache.c bytes = (i - prev_j) * ctl->unit; ctl 2288 fs/btrfs/free-space-cache.c bitmap_clear_bits(ctl, bitmap, info->offset, bytes); ctl 2290 fs/btrfs/free-space-cache.c __bitmap_clear_bits(ctl, bitmap, info->offset, bytes); ctl 2293 fs/btrfs/free-space-cache.c free_bitmap(ctl, bitmap); ctl 2309 fs/btrfs/free-space-cache.c static void steal_from_bitmap(struct btrfs_free_space_ctl *ctl, ctl 2320 fs/btrfs/free-space-cache.c if (ctl->total_bitmaps > 0) { ctl 2324 fs/btrfs/free-space-cache.c stole_end = steal_from_bitmap_to_end(ctl, info, update_stat); ctl 2325 fs/btrfs/free-space-cache.c if (ctl->total_bitmaps > 0) ctl 2326 fs/btrfs/free-space-cache.c stole_front = steal_from_bitmap_to_front(ctl, info, ctl 2330 fs/btrfs/free-space-cache.c try_merge_free_space(ctl, info, update_stat); ctl 2335 fs/btrfs/free-space-cache.c struct btrfs_free_space_ctl *ctl, ctl 2349 fs/btrfs/free-space-cache.c spin_lock(&ctl->tree_lock); ctl 2351 fs/btrfs/free-space-cache.c if (try_merge_free_space(ctl, info, true)) ctl 2359 fs/btrfs/free-space-cache.c ret = insert_into_bitmap(ctl, info); ctl 2373 fs/btrfs/free-space-cache.c steal_from_bitmap(ctl, info, true); ctl 2375 fs/btrfs/free-space-cache.c ret = link_free_space(ctl, info); ctl 2379 fs/btrfs/free-space-cache.c spin_unlock(&ctl->tree_lock); ctl 2400 fs/btrfs/free-space-cache.c struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; ctl 2405 fs/btrfs/free-space-cache.c spin_lock(&ctl->tree_lock); ctl 2412 fs/btrfs/free-space-cache.c info = tree_search_offset(ctl, offset, 0, 0); ctl 2418 fs/btrfs/free-space-cache.c info = tree_search_offset(ctl, offset_to_bitmap(ctl, offset), ctl 2433 fs/btrfs/free-space-cache.c unlink_free_space(ctl, info); ctl 2440 fs/btrfs/free-space-cache.c ret = link_free_space(ctl, info); ctl 2453 fs/btrfs/free-space-cache.c ret = link_free_space(ctl, info); ctl 2467 fs/btrfs/free-space-cache.c spin_unlock(&ctl->tree_lock); ctl 2476 fs/btrfs/free-space-cache.c ret = remove_from_bitmap(ctl, info, &offset, &bytes); ctl 2482 fs/btrfs/free-space-cache.c spin_unlock(&ctl->tree_lock); ctl 2491 fs/btrfs/free-space-cache.c struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; ctl 2496 fs/btrfs/free-space-cache.c spin_lock(&ctl->tree_lock); ctl 2497 fs/btrfs/free-space-cache.c for (n = rb_first(&ctl->free_space_offset); n; n = rb_next(n)) { ctl 2505 fs/btrfs/free-space-cache.c spin_unlock(&ctl->tree_lock); ctl 2515 fs/btrfs/free-space-cache.c struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; ctl 2517 fs/btrfs/free-space-cache.c spin_lock_init(&ctl->tree_lock); ctl 2518 fs/btrfs/free-space-cache.c ctl->unit = fs_info->sectorsize; ctl 2519 fs/btrfs/free-space-cache.c ctl->start = block_group->key.objectid; ctl 2520 fs/btrfs/free-space-cache.c ctl->private = block_group; ctl 2521 fs/btrfs/free-space-cache.c ctl->op = &free_space_op; ctl 2522 fs/btrfs/free-space-cache.c INIT_LIST_HEAD(&ctl->trimming_ranges); ctl 2523 fs/btrfs/free-space-cache.c mutex_init(&ctl->cache_writeout_mutex); ctl 2530 fs/btrfs/free-space-cache.c ctl->extents_thresh = (SZ_32K / 2) / sizeof(struct btrfs_free_space); ctl 2544 fs/btrfs/free-space-cache.c struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; ctl 2567 fs/btrfs/free-space-cache.c try_merge_free_space(ctl, entry, false); ctl 2568 fs/btrfs/free-space-cache.c steal_from_bitmap(ctl, entry, false); ctl 2570 fs/btrfs/free-space-cache.c tree_insert_offset(&ctl->free_space_offset, ctl 2582 fs/btrfs/free-space-cache.c struct btrfs_free_space_ctl *ctl) ctl 2587 fs/btrfs/free-space-cache.c while ((node = rb_last(&ctl->free_space_offset)) != NULL) { ctl 2590 fs/btrfs/free-space-cache.c unlink_free_space(ctl, info); ctl 2593 fs/btrfs/free-space-cache.c free_bitmap(ctl, info); ctl 2596 fs/btrfs/free-space-cache.c cond_resched_lock(&ctl->tree_lock); ctl 2600 fs/btrfs/free-space-cache.c void __btrfs_remove_free_space_cache(struct btrfs_free_space_ctl *ctl) ctl 2602 fs/btrfs/free-space-cache.c spin_lock(&ctl->tree_lock); ctl 2603 fs/btrfs/free-space-cache.c __btrfs_remove_free_space_cache_locked(ctl); ctl 2604 fs/btrfs/free-space-cache.c spin_unlock(&ctl->tree_lock); ctl 2609 fs/btrfs/free-space-cache.c struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; ctl 2613 fs/btrfs/free-space-cache.c spin_lock(&ctl->tree_lock); ctl 2622 fs/btrfs/free-space-cache.c cond_resched_lock(&ctl->tree_lock); ctl 2624 fs/btrfs/free-space-cache.c __btrfs_remove_free_space_cache_locked(ctl); ctl 2625 fs/btrfs/free-space-cache.c spin_unlock(&ctl->tree_lock); ctl 2633 fs/btrfs/free-space-cache.c struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; ctl 2640 fs/btrfs/free-space-cache.c spin_lock(&ctl->tree_lock); ctl 2641 fs/btrfs/free-space-cache.c entry = find_free_space(ctl, &offset, &bytes_search, ctl 2648 fs/btrfs/free-space-cache.c bitmap_clear_bits(ctl, entry, offset, bytes); ctl 2650 fs/btrfs/free-space-cache.c free_bitmap(ctl, entry); ctl 2652 fs/btrfs/free-space-cache.c unlink_free_space(ctl, entry); ctl 2663 fs/btrfs/free-space-cache.c link_free_space(ctl, entry); ctl 2666 fs/btrfs/free-space-cache.c spin_unlock(&ctl->tree_lock); ctl 2669 fs/btrfs/free-space-cache.c __btrfs_add_free_space(block_group->fs_info, ctl, ctl 2686 fs/btrfs/free-space-cache.c struct btrfs_free_space_ctl *ctl; ctl 2705 fs/btrfs/free-space-cache.c ctl = block_group->free_space_ctl; ctl 2708 fs/btrfs/free-space-cache.c spin_lock(&ctl->tree_lock); ctl 2710 fs/btrfs/free-space-cache.c spin_unlock(&ctl->tree_lock); ctl 2723 fs/btrfs/free-space-cache.c struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; ctl 2732 fs/btrfs/free-space-cache.c err = search_bitmap(ctl, entry, &search_start, &search_bytes, true); ctl 2740 fs/btrfs/free-space-cache.c __bitmap_clear_bits(ctl, entry, ret, bytes); ctl 2754 fs/btrfs/free-space-cache.c struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; ctl 2817 fs/btrfs/free-space-cache.c spin_lock(&ctl->tree_lock); ctl 2819 fs/btrfs/free-space-cache.c ctl->free_space -= bytes; ctl 2821 fs/btrfs/free-space-cache.c ctl->free_extents--; ctl 2825 fs/btrfs/free-space-cache.c ctl->total_bitmaps--; ctl 2826 fs/btrfs/free-space-cache.c ctl->op->recalc_thresholds(ctl); ctl 2831 fs/btrfs/free-space-cache.c spin_unlock(&ctl->tree_lock); ctl 2842 fs/btrfs/free-space-cache.c struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; ctl 2853 fs/btrfs/free-space-cache.c i = offset_to_bit(entry->offset, ctl->unit, ctl 2855 fs/btrfs/free-space-cache.c want_bits = bytes_to_bits(bytes, ctl->unit); ctl 2856 fs/btrfs/free-space-cache.c min_bits = bytes_to_bits(min_bytes, ctl->unit); ctl 2882 fs/btrfs/free-space-cache.c entry->max_extent_size = (u64)max_bits * ctl->unit; ctl 2893 fs/btrfs/free-space-cache.c if (cluster->max_size < found_bits * ctl->unit) ctl 2894 fs/btrfs/free-space-cache.c cluster->max_size = found_bits * ctl->unit; ctl 2901 fs/btrfs/free-space-cache.c cluster->window_start = start * ctl->unit + entry->offset; ctl 2902 fs/btrfs/free-space-cache.c rb_erase(&entry->offset_index, &ctl->free_space_offset); ctl 2908 fs/btrfs/free-space-cache.c total_found * ctl->unit, 1); ctl 2923 fs/btrfs/free-space-cache.c struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; ctl 2932 fs/btrfs/free-space-cache.c entry = tree_search_offset(ctl, offset, 0, 1); ctl 2992 fs/btrfs/free-space-cache.c rb_erase(&entry->offset_index, &ctl->free_space_offset); ctl 3014 fs/btrfs/free-space-cache.c struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; ctl 3017 fs/btrfs/free-space-cache.c u64 bitmap_offset = offset_to_bitmap(ctl, offset); ctl 3019 fs/btrfs/free-space-cache.c if (ctl->total_bitmaps == 0) ctl 3030 fs/btrfs/free-space-cache.c entry = tree_search_offset(ctl, bitmap_offset, 1, 0); ctl 3064 fs/btrfs/free-space-cache.c struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; ctl 3087 fs/btrfs/free-space-cache.c spin_lock(&ctl->tree_lock); ctl 3093 fs/btrfs/free-space-cache.c if (ctl->free_space < bytes) { ctl 3094 fs/btrfs/free-space-cache.c spin_unlock(&ctl->tree_lock); ctl 3131 fs/btrfs/free-space-cache.c spin_unlock(&ctl->tree_lock); ctl 3157 fs/btrfs/free-space-cache.c struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; ctl 3176 fs/btrfs/free-space-cache.c mutex_lock(&ctl->cache_writeout_mutex); ctl 3179 fs/btrfs/free-space-cache.c mutex_unlock(&ctl->cache_writeout_mutex); ctl 3198 fs/btrfs/free-space-cache.c struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; ctl 3209 fs/btrfs/free-space-cache.c mutex_lock(&ctl->cache_writeout_mutex); ctl 3210 fs/btrfs/free-space-cache.c spin_lock(&ctl->tree_lock); ctl 3212 fs/btrfs/free-space-cache.c if (ctl->free_space < minlen) { ctl 3213 fs/btrfs/free-space-cache.c spin_unlock(&ctl->tree_lock); ctl 3214 fs/btrfs/free-space-cache.c mutex_unlock(&ctl->cache_writeout_mutex); ctl 3218 fs/btrfs/free-space-cache.c entry = tree_search_offset(ctl, start, 0, 1); ctl 3220 fs/btrfs/free-space-cache.c spin_unlock(&ctl->tree_lock); ctl 3221 fs/btrfs/free-space-cache.c mutex_unlock(&ctl->cache_writeout_mutex); ctl 3229 fs/btrfs/free-space-cache.c spin_unlock(&ctl->tree_lock); ctl 3230 fs/btrfs/free-space-cache.c mutex_unlock(&ctl->cache_writeout_mutex); ctl 3238 fs/btrfs/free-space-cache.c spin_unlock(&ctl->tree_lock); ctl 3239 fs/btrfs/free-space-cache.c mutex_unlock(&ctl->cache_writeout_mutex); ctl 3248 fs/btrfs/free-space-cache.c spin_unlock(&ctl->tree_lock); ctl 3249 fs/btrfs/free-space-cache.c mutex_unlock(&ctl->cache_writeout_mutex); ctl 3253 fs/btrfs/free-space-cache.c unlink_free_space(ctl, entry); ctl 3256 fs/btrfs/free-space-cache.c spin_unlock(&ctl->tree_lock); ctl 3259 fs/btrfs/free-space-cache.c list_add_tail(&trim_entry.list, &ctl->trimming_ranges); ctl 3260 fs/btrfs/free-space-cache.c mutex_unlock(&ctl->cache_writeout_mutex); ctl 3283 fs/btrfs/free-space-cache.c struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; ctl 3288 fs/btrfs/free-space-cache.c u64 offset = offset_to_bitmap(ctl, start); ctl 3294 fs/btrfs/free-space-cache.c mutex_lock(&ctl->cache_writeout_mutex); ctl 3295 fs/btrfs/free-space-cache.c spin_lock(&ctl->tree_lock); ctl 3297 fs/btrfs/free-space-cache.c if (ctl->free_space < minlen) { ctl 3298 fs/btrfs/free-space-cache.c spin_unlock(&ctl->tree_lock); ctl 3299 fs/btrfs/free-space-cache.c mutex_unlock(&ctl->cache_writeout_mutex); ctl 3303 fs/btrfs/free-space-cache.c entry = tree_search_offset(ctl, offset, 1, 0); ctl 3305 fs/btrfs/free-space-cache.c spin_unlock(&ctl->tree_lock); ctl 3306 fs/btrfs/free-space-cache.c mutex_unlock(&ctl->cache_writeout_mutex); ctl 3312 fs/btrfs/free-space-cache.c ret2 = search_bitmap(ctl, entry, &start, &bytes, false); ctl 3314 fs/btrfs/free-space-cache.c spin_unlock(&ctl->tree_lock); ctl 3315 fs/btrfs/free-space-cache.c mutex_unlock(&ctl->cache_writeout_mutex); ctl 3322 fs/btrfs/free-space-cache.c spin_unlock(&ctl->tree_lock); ctl 3323 fs/btrfs/free-space-cache.c mutex_unlock(&ctl->cache_writeout_mutex); ctl 3327 fs/btrfs/free-space-cache.c bitmap_clear_bits(ctl, entry, start, bytes); ctl 3329 fs/btrfs/free-space-cache.c free_bitmap(ctl, entry); ctl 3331 fs/btrfs/free-space-cache.c spin_unlock(&ctl->tree_lock); ctl 3334 fs/btrfs/free-space-cache.c list_add_tail(&trim_entry.list, &ctl->trimming_ranges); ctl 3335 fs/btrfs/free-space-cache.c mutex_unlock(&ctl->cache_writeout_mutex); ctl 3343 fs/btrfs/free-space-cache.c offset += BITS_PER_BITMAP * ctl->unit; ctl 3346 fs/btrfs/free-space-cache.c if (start >= offset + BITS_PER_BITMAP * ctl->unit) ctl 3347 fs/btrfs/free-space-cache.c offset += BITS_PER_BITMAP * ctl->unit; ctl 3435 fs/btrfs/free-space-cache.c struct btrfs_free_space_ctl *ctl = fs_root->free_ino_ctl; ctl 3439 fs/btrfs/free-space-cache.c spin_lock(&ctl->tree_lock); ctl 3441 fs/btrfs/free-space-cache.c if (RB_EMPTY_ROOT(&ctl->free_space_offset)) ctl 3444 fs/btrfs/free-space-cache.c entry = rb_entry(rb_first(&ctl->free_space_offset), ctl 3450 fs/btrfs/free-space-cache.c unlink_free_space(ctl, entry); ctl 3456 fs/btrfs/free-space-cache.c link_free_space(ctl, entry); ctl 3462 fs/btrfs/free-space-cache.c ret = search_bitmap(ctl, entry, &offset, &count, true); ctl 3467 fs/btrfs/free-space-cache.c bitmap_clear_bits(ctl, entry, offset, 1); ctl 3469 fs/btrfs/free-space-cache.c free_bitmap(ctl, entry); ctl 3472 fs/btrfs/free-space-cache.c spin_unlock(&ctl->tree_lock); ctl 3511 fs/btrfs/free-space-cache.c struct btrfs_free_space_ctl *ctl = root->free_ino_ctl; ctl 3538 fs/btrfs/free-space-cache.c ret = __load_free_space_cache(root, inode, ctl, path, 0); ctl 3557 fs/btrfs/free-space-cache.c struct btrfs_free_space_ctl *ctl = root->free_ino_ctl; ctl 3566 fs/btrfs/free-space-cache.c ret = __btrfs_write_out_cache(root, inode, ctl, NULL, &io_ctl, trans); ctl 3602 fs/btrfs/free-space-cache.c struct btrfs_free_space_ctl *ctl = cache->free_space_ctl; ctl 3616 fs/btrfs/free-space-cache.c spin_lock(&ctl->tree_lock); ctl 3620 fs/btrfs/free-space-cache.c ret = link_free_space(ctl, info); ctl 3621 fs/btrfs/free-space-cache.c spin_unlock(&ctl->tree_lock); ctl 3635 fs/btrfs/free-space-cache.c spin_lock(&ctl->tree_lock); ctl 3636 fs/btrfs/free-space-cache.c bitmap_info = tree_search_offset(ctl, offset_to_bitmap(ctl, offset), ctl 3641 fs/btrfs/free-space-cache.c add_new_bitmap(ctl, info, offset); ctl 3646 fs/btrfs/free-space-cache.c bytes_added = add_bytes_to_bitmap(ctl, bitmap_info, offset, bytes); ctl 3650 fs/btrfs/free-space-cache.c spin_unlock(&ctl->tree_lock); ctl 3670 fs/btrfs/free-space-cache.c struct btrfs_free_space_ctl *ctl = cache->free_space_ctl; ctl 3674 fs/btrfs/free-space-cache.c spin_lock(&ctl->tree_lock); ctl 3675 fs/btrfs/free-space-cache.c info = tree_search_offset(ctl, offset, 0, 0); ctl 3677 fs/btrfs/free-space-cache.c info = tree_search_offset(ctl, offset_to_bitmap(ctl, offset), ctl 3690 fs/btrfs/free-space-cache.c bit_bytes = ctl->unit; ctl 3691 fs/btrfs/free-space-cache.c ret = search_bitmap(ctl, info, &bit_off, &bit_bytes, false); ctl 3743 fs/btrfs/free-space-cache.c spin_unlock(&ctl->tree_lock); ctl 34 fs/btrfs/free-space-cache.h void (*recalc_thresholds)(struct btrfs_free_space_ctl *ctl); ctl 35 fs/btrfs/free-space-cache.h bool (*use_bitmap)(struct btrfs_free_space_ctl *ctl, ctl 86 fs/btrfs/free-space-cache.h struct btrfs_free_space_ctl *ctl, ctl 92 fs/btrfs/free-space-cache.h void __btrfs_remove_free_space_cache(struct btrfs_free_space_ctl *ctl); ctl 33 fs/btrfs/inode-map.c struct btrfs_free_space_ctl *ctl = root->free_ino_ctl; ctl 109 fs/btrfs/inode-map.c __btrfs_add_free_space(fs_info, ctl, last + 1, ctl 120 fs/btrfs/inode-map.c __btrfs_add_free_space(fs_info, ctl, last + 1, ctl 142 fs/btrfs/inode-map.c struct btrfs_free_space_ctl *ctl = root->free_ino_ctl; ctl 177 fs/btrfs/inode-map.c __btrfs_add_free_space(fs_info, ctl, objectid, ctl 253 fs/btrfs/inode-map.c struct btrfs_free_space_ctl *ctl = root->free_ino_ctl; ctl 283 fs/btrfs/inode-map.c __btrfs_add_free_space(root->fs_info, ctl, ctl 296 fs/btrfs/inode-map.c static void recalculate_thresholds(struct btrfs_free_space_ctl *ctl) ctl 303 fs/btrfs/inode-map.c n = rb_last(&ctl->free_space_offset); ctl 305 fs/btrfs/inode-map.c ctl->extents_thresh = INIT_THRESHOLD; ctl 318 fs/btrfs/inode-map.c if (max_bitmaps <= ctl->total_bitmaps) { ctl 319 fs/btrfs/inode-map.c ctl->extents_thresh = 0; ctl 323 fs/btrfs/inode-map.c ctl->extents_thresh = (max_bitmaps - ctl->total_bitmaps) * ctl 331 fs/btrfs/inode-map.c static bool use_bitmap(struct btrfs_free_space_ctl *ctl, ctl 334 fs/btrfs/inode-map.c if (ctl->free_extents < ctl->extents_thresh || ctl 346 fs/btrfs/inode-map.c static void pinned_recalc_thresholds(struct btrfs_free_space_ctl *ctl) ctl 350 fs/btrfs/inode-map.c static bool pinned_use_bitmap(struct btrfs_free_space_ctl *ctl, ctl 370 fs/btrfs/inode-map.c struct btrfs_free_space_ctl *ctl = root->free_ino_ctl; ctl 373 fs/btrfs/inode-map.c spin_lock_init(&ctl->tree_lock); ctl 374 fs/btrfs/inode-map.c ctl->unit = 1; ctl 375 fs/btrfs/inode-map.c ctl->start = 0; ctl 376 fs/btrfs/inode-map.c ctl->private = NULL; ctl 377 fs/btrfs/inode-map.c ctl->op = &free_ino_op; ctl 378 fs/btrfs/inode-map.c INIT_LIST_HEAD(&ctl->trimming_ranges); ctl 379 fs/btrfs/inode-map.c mutex_init(&ctl->cache_writeout_mutex); ctl 386 fs/btrfs/inode-map.c ctl->extents_thresh = INIT_THRESHOLD; ctl 400 fs/btrfs/inode-map.c struct btrfs_free_space_ctl *ctl = root->free_ino_ctl; ctl 488 fs/btrfs/inode-map.c spin_lock(&ctl->tree_lock); ctl 489 fs/btrfs/inode-map.c prealloc = sizeof(struct btrfs_free_space) * ctl->free_extents; ctl 491 fs/btrfs/inode-map.c prealloc += ctl->total_bitmaps * PAGE_SIZE; ctl 492 fs/btrfs/inode-map.c spin_unlock(&ctl->tree_lock); ctl 326 fs/btrfs/tests/free-space-tests.c static bool test_use_bitmap(struct btrfs_free_space_ctl *ctl, ctl 329 fs/btrfs/tests/free-space-tests.c return ctl->free_extents > 0; ctl 490 fs/ceph/addr.c get_oldest_context(struct inode *inode, struct ceph_writeback_ctl *ctl, ctl 508 fs/ceph/addr.c if (ctl) { ctl 510 fs/ceph/addr.c ctl->i_size = i_size_read(inode); ctl 511 fs/ceph/addr.c ctl->size_stable = false; ctl 513 fs/ceph/addr.c ctl->i_size = capsnap->size; ctl 514 fs/ceph/addr.c ctl->size_stable = true; ctl 516 fs/ceph/addr.c ctl->truncate_size = capsnap->truncate_size; ctl 517 fs/ceph/addr.c ctl->truncate_seq = capsnap->truncate_seq; ctl 518 fs/ceph/addr.c ctl->head_snapc = false; ctl 534 fs/ceph/addr.c if (ctl) { ctl 535 fs/ceph/addr.c ctl->i_size = i_size_read(inode); ctl 536 fs/ceph/addr.c ctl->truncate_size = ci->i_truncate_size; ctl 537 fs/ceph/addr.c ctl->truncate_seq = ci->i_truncate_seq; ctl 538 fs/ceph/addr.c ctl->size_stable = false; ctl 539 fs/ceph/addr.c ctl->head_snapc = true; ctl 1509 fs/ceph/inode.c void ceph_readdir_cache_release(struct ceph_readdir_cache_control *ctl) ctl 1511 fs/ceph/inode.c if (ctl->page) { ctl 1512 fs/ceph/inode.c kunmap(ctl->page); ctl 1513 fs/ceph/inode.c put_page(ctl->page); ctl 1514 fs/ceph/inode.c ctl->page = NULL; ctl 1519 fs/ceph/inode.c struct ceph_readdir_cache_control *ctl, ctl 1524 fs/ceph/inode.c unsigned idx = ctl->index % nsize; ctl 1525 fs/ceph/inode.c pgoff_t pgoff = ctl->index / nsize; ctl 1527 fs/ceph/inode.c if (!ctl->page || pgoff != page_index(ctl->page)) { ctl 1528 fs/ceph/inode.c ceph_readdir_cache_release(ctl); ctl 1530 fs/ceph/inode.c ctl->page = grab_cache_page(&dir->i_data, pgoff); ctl 1532 fs/ceph/inode.c ctl->page = find_lock_page(&dir->i_data, pgoff); ctl 1533 fs/ceph/inode.c if (!ctl->page) { ctl 1534 fs/ceph/inode.c ctl->index = -1; ctl 1539 fs/ceph/inode.c unlock_page(ctl->page); ctl 1540 fs/ceph/inode.c ctl->dentries = kmap(ctl->page); ctl 1542 fs/ceph/inode.c memset(ctl->dentries, 0, PAGE_SIZE); ctl 1547 fs/ceph/inode.c dout("readdir cache dn %p idx %d\n", dn, ctl->index); ctl 1548 fs/ceph/inode.c ctl->dentries[idx] = dn; ctl 1549 fs/ceph/inode.c ctl->index++; ctl 1552 fs/ceph/inode.c ctl->index = -1; ctl 1122 fs/ceph/super.h extern void ceph_readdir_cache_release(struct ceph_readdir_cache_control *ctl); ctl 62 fs/nfsd/filecache.c nfsd_file_schedule_laundrette(enum nfsd_file_laundrette_ctl ctl) ctl 75 fs/nfsd/filecache.c if (ctl == NFSD_FILE_LAUNDRETTE_NOFLUSH) ctl 3706 fs/ocfs2/dlmglue.c struct ocfs2_unblock_ctl *ctl) ctl 3759 fs/ocfs2/dlmglue.c ctl->requeue = 1; ctl 3849 fs/ocfs2/dlmglue.c ctl->unblock_action = lockres->l_ops->downconvert_worker(lockres, blocking); ctl 3851 fs/ocfs2/dlmglue.c if (ctl->unblock_action == UNBLOCK_STOP_POST) { ctl 3868 fs/ocfs2/dlmglue.c ctl->requeue = 0; ctl 3896 fs/ocfs2/dlmglue.c ctl->requeue = 1; ctl 4266 fs/ocfs2/dlmglue.c struct ocfs2_unblock_ctl ctl = {0, 0,}; ctl 4288 fs/ocfs2/dlmglue.c status = ocfs2_unblock_lock(osb, lockres, &ctl); ctl 4294 fs/ocfs2/dlmglue.c if (lockres->l_flags & OCFS2_LOCK_FREEING || !ctl.requeue) { ctl 4300 fs/ocfs2/dlmglue.c ctl.requeue ? "yes" : "no"); ctl 4303 fs/ocfs2/dlmglue.c if (ctl.unblock_action != UNBLOCK_CONTINUE ctl 14 fs/xfs/xfs_sysctl.c struct ctl_table *ctl, ctl 20 fs/xfs/xfs_sysctl.c int ret, *valp = ctl->data; ctl 22 fs/xfs/xfs_sysctl.c ret = proc_dointvec_minmax(ctl, write, buffer, lenp, ppos); ctl 34 fs/xfs/xfs_sysctl.c struct ctl_table *ctl, ctl 40 fs/xfs/xfs_sysctl.c int ret, *valp = ctl->data; ctl 42 fs/xfs/xfs_sysctl.c ret = proc_dointvec_minmax(ctl, write, buffer, lenp, ppos); ctl 2036 include/linux/greybus/greybus_protocols.h struct gb_audio_control ctl[0]; /* 'ncontrols' entries */ ctl 19 include/linux/i2c-algo-pcf.h void (*setpcf) (void *data, int ctl, int val); ctl 20 include/linux/i2c-algo-pcf.h int (*getpcf) (void *data, int ctl); ctl 550 include/linux/libata.h u8 ctl; /* control reg */ ctl 822 include/linux/libata.h u8 ctl; /* cache of ATA control register */ ctl 952 include/linux/libata.h void (*sff_set_devctl)(struct ata_port *ap, u8 ctl); ctl 1664 include/linux/libata.h qc->tf.ctl |= ATA_NIEN; ctl 1700 include/linux/libata.h tf->ctl = dev->link->ap->ctl; ctl 1702 include/linux/libata.h tf->ctl = ATA_DEVCTL_OBS; ctl 531 include/linux/mISDNif.h clockctl_func_t *ctl; ctl 48 include/linux/serial_core.h void (*break_ctl)(struct uart_port *, int ctl); ctl 92 include/linux/socket.h #define __CMSG_NXTHDR(ctl, len, cmsg) __cmsg_nxthdr((ctl),(len),(cmsg)) ctl 101 include/linux/socket.h #define __CMSG_FIRSTHDR(ctl,len) ((len) >= sizeof(struct cmsghdr) ? \ ctl 102 include/linux/socket.h (struct cmsghdr *)(ctl) : \ ctl 238 include/linux/switchtec.h u32 ctl; ctl 47 include/linux/sysctl.h typedef int proc_handler (struct ctl_table *ctl, int write, ctl 76 include/linux/thunderbolt.h struct tb_ctl *ctl; ctl 495 include/net/ndisc.h int ndisc_ifinfo_sysctl_change(struct ctl_table *ctl, int write, ctl 497 include/net/ndisc.h int ndisc_ifinfo_sysctl_strategy(struct ctl_table *ctl, ctl 394 include/net/neighbour.h int neigh_proc_dointvec(struct ctl_table *ctl, int write, ctl 396 include/net/neighbour.h int neigh_proc_dointvec_jiffies(struct ctl_table *ctl, int write, ctl 399 include/net/neighbour.h int neigh_proc_dointvec_ms_jiffies(struct ctl_table *ctl, int write, ctl 18 include/net/netns/mpls.h struct ctl_table_header *ctl; ctl 11 include/net/netns/unix.h struct ctl_table_header *ctl; ctl 173 include/trace/events/libata.h __field( unsigned char, ctl ) ctl 232 include/trace/events/libata.h __field( unsigned char, ctl ) ctl 22 mm/shuffle.c __meminit void page_alloc_shuffle(enum mm_shuffle_ctl ctl) ctl 24 mm/shuffle.c if (ctl == SHUFFLE_FORCE_DISABLE) ctl 30 mm/shuffle.c } else if (ctl == SHUFFLE_ENABLE ctl 23 mm/shuffle.h extern void page_alloc_shuffle(enum mm_shuffle_ctl ctl); ctl 55 mm/shuffle.h static inline void page_alloc_shuffle(enum mm_shuffle_ctl ctl) ctl 1029 net/bridge/br_netfilter_hooks.c int brnf_sysctl_call_tables(struct ctl_table *ctl, int write, ctl 1034 net/bridge/br_netfilter_hooks.c ret = proc_dointvec(ctl, write, buffer, lenp, ppos); ctl 1036 net/bridge/br_netfilter_hooks.c if (write && *(int *)(ctl->data)) ctl 1037 net/bridge/br_netfilter_hooks.c *(int *)(ctl->data) = 1; ctl 562 net/can/j1939/transport.c bool ctl, ctl 584 net/can/j1939/transport.c if (ctl) { ctl 3378 net/core/neighbour.c static int proc_unres_qlen(struct ctl_table *ctl, int write, ctl 3382 net/core/neighbour.c struct ctl_table tmp = *ctl; ctl 3388 net/core/neighbour.c size = *(int *)ctl->data / SKB_TRUESIZE(ETH_FRAME_LEN); ctl 3392 net/core/neighbour.c *(int *)ctl->data = size * SKB_TRUESIZE(ETH_FRAME_LEN); ctl 3425 net/core/neighbour.c static void neigh_proc_update(struct ctl_table *ctl, int write) ctl 3427 net/core/neighbour.c struct net_device *dev = ctl->extra1; ctl 3428 net/core/neighbour.c struct neigh_parms *p = ctl->extra2; ctl 3430 net/core/neighbour.c int index = (int *) ctl->data - p->data; ctl 3442 net/core/neighbour.c static int neigh_proc_dointvec_zero_intmax(struct ctl_table *ctl, int write, ctl 3446 net/core/neighbour.c struct ctl_table tmp = *ctl; ctl 3453 net/core/neighbour.c neigh_proc_update(ctl, write); ctl 3457 net/core/neighbour.c int neigh_proc_dointvec(struct ctl_table *ctl, int write, ctl 3460 net/core/neighbour.c int ret = proc_dointvec(ctl, write, buffer, lenp, ppos); ctl 3462 net/core/neighbour.c neigh_proc_update(ctl, write); ctl 3467 net/core/neighbour.c int neigh_proc_dointvec_jiffies(struct ctl_table *ctl, int write, ctl 3471 net/core/neighbour.c int ret = proc_dointvec_jiffies(ctl, write, buffer, lenp, ppos); ctl 3473 net/core/neighbour.c neigh_proc_update(ctl, write); ctl 3478 net/core/neighbour.c static int neigh_proc_dointvec_userhz_jiffies(struct ctl_table *ctl, int write, ctl 3482 net/core/neighbour.c int ret = proc_dointvec_userhz_jiffies(ctl, write, buffer, lenp, ppos); ctl 3484 net/core/neighbour.c neigh_proc_update(ctl, write); ctl 3488 net/core/neighbour.c int neigh_proc_dointvec_ms_jiffies(struct ctl_table *ctl, int write, ctl 3492 net/core/neighbour.c int ret = proc_dointvec_ms_jiffies(ctl, write, buffer, lenp, ppos); ctl 3494 net/core/neighbour.c neigh_proc_update(ctl, write); ctl 3499 net/core/neighbour.c static int neigh_proc_dointvec_unres_qlen(struct ctl_table *ctl, int write, ctl 3503 net/core/neighbour.c int ret = proc_unres_qlen(ctl, write, buffer, lenp, ppos); ctl 3505 net/core/neighbour.c neigh_proc_update(ctl, write); ctl 3509 net/core/neighbour.c static int neigh_proc_base_reachable_time(struct ctl_table *ctl, int write, ctl 3513 net/core/neighbour.c struct neigh_parms *p = ctl->extra2; ctl 3516 net/core/neighbour.c if (strcmp(ctl->procname, "base_reachable_time") == 0) ctl 3517 net/core/neighbour.c ret = neigh_proc_dointvec_jiffies(ctl, write, buffer, lenp, ppos); ctl 3518 net/core/neighbour.c else if (strcmp(ctl->procname, "base_reachable_time_ms") == 0) ctl 3519 net/core/neighbour.c ret = neigh_proc_dointvec_ms_jiffies(ctl, write, buffer, lenp, ppos); ctl 2369 net/ipv4/devinet.c static int devinet_conf_proc(struct ctl_table *ctl, int write, ctl 2373 net/ipv4/devinet.c int old_value = *(int *)ctl->data; ctl 2374 net/ipv4/devinet.c int ret = proc_dointvec(ctl, write, buffer, lenp, ppos); ctl 2375 net/ipv4/devinet.c int new_value = *(int *)ctl->data; ctl 2378 net/ipv4/devinet.c struct ipv4_devconf *cnf = ctl->extra1; ctl 2379 net/ipv4/devinet.c struct net *net = ctl->extra2; ctl 2380 net/ipv4/devinet.c int i = (int *)ctl->data - cnf->data; ctl 2422 net/ipv4/devinet.c static int devinet_sysctl_forward(struct ctl_table *ctl, int write, ctl 2426 net/ipv4/devinet.c int *valp = ctl->data; ctl 2429 net/ipv4/devinet.c int ret = proc_dointvec(ctl, write, buffer, lenp, ppos); ctl 2432 net/ipv4/devinet.c struct net *net = ctl->extra2; ctl 2444 net/ipv4/devinet.c struct ipv4_devconf *cnf = ctl->extra1; ctl 2466 net/ipv4/devinet.c static int ipv4_doint_and_flush(struct ctl_table *ctl, int write, ctl 2470 net/ipv4/devinet.c int *valp = ctl->data; ctl 2472 net/ipv4/devinet.c int ret = proc_dointvec(ctl, write, buffer, lenp, ppos); ctl 2473 net/ipv4/devinet.c struct net *net = ctl->extra2; ctl 223 net/ipv4/sysctl_net_ipv4.c static int proc_tcp_congestion_control(struct ctl_table *ctl, int write, ctl 226 net/ipv4/sysctl_net_ipv4.c struct net *net = container_of(ctl->data, struct net, ctl 243 net/ipv4/sysctl_net_ipv4.c static int proc_tcp_available_congestion_control(struct ctl_table *ctl, ctl 260 net/ipv4/sysctl_net_ipv4.c static int proc_allowed_congestion_control(struct ctl_table *ctl, ctl 445 net/ipv4/sysctl_net_ipv4.c static int proc_tcp_available_ulp(struct ctl_table *ctl, ctl 6058 net/ipv6/addrconf.c int addrconf_sysctl_forward(struct ctl_table *ctl, int write, ctl 6061 net/ipv6/addrconf.c int *valp = ctl->data; ctl 6071 net/ipv6/addrconf.c lctl = *ctl; ctl 6077 net/ipv6/addrconf.c ret = addrconf_fixup_forwarding(ctl, valp, val); ctl 6084 net/ipv6/addrconf.c int addrconf_sysctl_mtu(struct ctl_table *ctl, int write, ctl 6087 net/ipv6/addrconf.c struct inet6_dev *idev = ctl->extra1; ctl 6091 net/ipv6/addrconf.c lctl = *ctl; ctl 6156 net/ipv6/addrconf.c int addrconf_sysctl_disable(struct ctl_table *ctl, int write, ctl 6159 net/ipv6/addrconf.c int *valp = ctl->data; ctl 6169 net/ipv6/addrconf.c lctl = *ctl; ctl 6175 net/ipv6/addrconf.c ret = addrconf_disable_ipv6(ctl, valp, val); ctl 6182 net/ipv6/addrconf.c int addrconf_sysctl_proxy_ndp(struct ctl_table *ctl, int write, ctl 6185 net/ipv6/addrconf.c int *valp = ctl->data; ctl 6190 net/ipv6/addrconf.c ret = proc_dointvec(ctl, write, buffer, lenp, ppos); ctl 6194 net/ipv6/addrconf.c struct net *net = ctl->extra2; ctl 6210 net/ipv6/addrconf.c struct inet6_dev *idev = ctl->extra1; ctl 6223 net/ipv6/addrconf.c static int addrconf_sysctl_addr_gen_mode(struct ctl_table *ctl, int write, ctl 6229 net/ipv6/addrconf.c struct inet6_dev *idev = (struct inet6_dev *)ctl->extra1; ctl 6230 net/ipv6/addrconf.c struct net *net = (struct net *)ctl->extra2; ctl 6234 net/ipv6/addrconf.c .mode = ctl->mode, ctl 6240 net/ipv6/addrconf.c new_val = *((u32 *)ctl->data); ctl 6262 net/ipv6/addrconf.c } else if (&net->ipv6.devconf_all->addr_gen_mode == ctl->data) { ctl 6276 net/ipv6/addrconf.c *((u32 *)ctl->data) = new_val; ctl 6285 net/ipv6/addrconf.c static int addrconf_sysctl_stable_secret(struct ctl_table *ctl, int write, ctl 6292 net/ipv6/addrconf.c struct ctl_table lctl = *ctl; ctl 6293 net/ipv6/addrconf.c struct net *net = ctl->extra2; ctl 6294 net/ipv6/addrconf.c struct ipv6_stable_secret *secret = ctl->data; ctl 6296 net/ipv6/addrconf.c if (&net->ipv6.devconf_all->stable_secret == ctl->data) ctl 6328 net/ipv6/addrconf.c if (&net->ipv6.devconf_dflt->stable_secret == ctl->data) { ctl 6340 net/ipv6/addrconf.c struct inet6_dev *idev = ctl->extra1; ctl 6352 net/ipv6/addrconf.c int addrconf_sysctl_ignore_routes_with_linkdown(struct ctl_table *ctl, ctl 6358 net/ipv6/addrconf.c int *valp = ctl->data; ctl 6367 net/ipv6/addrconf.c lctl = *ctl; ctl 6373 net/ipv6/addrconf.c ret = addrconf_fixup_linkdown(ctl, valp, val); ctl 6421 net/ipv6/addrconf.c int addrconf_disable_policy(struct ctl_table *ctl, int *valp, int val) ctl 6431 net/ipv6/addrconf.c net = (struct net *)ctl->extra2; ctl 6446 net/ipv6/addrconf.c idev = (struct inet6_dev *)ctl->extra1; ctl 6455 net/ipv6/addrconf.c int addrconf_sysctl_disable_policy(struct ctl_table *ctl, int write, ctl 6459 net/ipv6/addrconf.c int *valp = ctl->data; ctl 6465 net/ipv6/addrconf.c lctl = *ctl; ctl 6470 net/ipv6/addrconf.c ret = addrconf_disable_policy(ctl, valp, val); ctl 1822 net/ipv6/ndisc.c static void ndisc_warn_deprecated_sysctl(struct ctl_table *ctl, ctl 1831 net/ipv6/ndisc.c dev_name, ctl->procname, ctl 1832 net/ipv6/ndisc.c dev_name, ctl->procname); ctl 1837 net/ipv6/ndisc.c int ndisc_ifinfo_sysctl_change(struct ctl_table *ctl, int write, void __user *buffer, size_t *lenp, loff_t *ppos) ctl 1839 net/ipv6/ndisc.c struct net_device *dev = ctl->extra1; ctl 1843 net/ipv6/ndisc.c if ((strcmp(ctl->procname, "retrans_time") == 0) || ctl 1844 net/ipv6/ndisc.c (strcmp(ctl->procname, "base_reachable_time") == 0)) ctl 1845 net/ipv6/ndisc.c ndisc_warn_deprecated_sysctl(ctl, "syscall", dev ? dev->name : "default"); ctl 1847 net/ipv6/ndisc.c if (strcmp(ctl->procname, "retrans_time") == 0) ctl 1848 net/ipv6/ndisc.c ret = neigh_proc_dointvec(ctl, write, buffer, lenp, ppos); ctl 1850 net/ipv6/ndisc.c else if (strcmp(ctl->procname, "base_reachable_time") == 0) ctl 1851 net/ipv6/ndisc.c ret = neigh_proc_dointvec_jiffies(ctl, write, ctl 1854 net/ipv6/ndisc.c else if ((strcmp(ctl->procname, "retrans_time_ms") == 0) || ctl 1855 net/ipv6/ndisc.c (strcmp(ctl->procname, "base_reachable_time_ms") == 0)) ctl 1856 net/ipv6/ndisc.c ret = neigh_proc_dointvec_ms_jiffies(ctl, write, ctl 1862 net/ipv6/ndisc.c if (ctl->data == &NEIGH_VAR(idev->nd_parms, BASE_REACHABLE_TIME)) ctl 6061 net/ipv6/route.c int ipv6_sysctl_rtcache_flush(struct ctl_table *ctl, int write, ctl 6070 net/ipv6/route.c net = (struct net *)ctl->extra1; ctl 6072 net/ipv6/route.c ret = proc_dointvec(ctl, write, buffer, lenp, ppos); ctl 1364 net/mpls/af_mpls.c static int mpls_conf_proc(struct ctl_table *ctl, int write, ctl 1368 net/mpls/af_mpls.c int oval = *(int *)ctl->data; ctl 1369 net/mpls/af_mpls.c int ret = proc_dointvec(ctl, write, buffer, lenp, ppos); ctl 1372 net/mpls/af_mpls.c struct mpls_dev *mdev = ctl->extra1; ctl 1373 net/mpls/af_mpls.c int i = (int *)ctl->data - (int *)mdev; ctl 1374 net/mpls/af_mpls.c struct net *net = ctl->extra2; ctl 1375 net/mpls/af_mpls.c int val = *(int *)ctl->data; ctl 2671 net/mpls/af_mpls.c net->mpls.ctl = register_net_sysctl(net, "net/mpls", table); ctl 2672 net/mpls/af_mpls.c if (net->mpls.ctl == NULL) { ctl 2687 net/mpls/af_mpls.c table = net->mpls.ctl->ctl_table_arg; ctl 2688 net/mpls/af_mpls.c unregister_net_sysctl_table(net->mpls.ctl); ctl 64 net/rds/tcp.c static int rds_tcp_skbuf_handler(struct ctl_table *ctl, int write, ctl 678 net/rds/tcp.c static int rds_tcp_skbuf_handler(struct ctl_table *ctl, int write, ctl 685 net/rds/tcp.c err = proc_dointvec_minmax(ctl, write, buffer, lenp, fpos); ctl 688 net/rds/tcp.c *(int *)(ctl->extra1)); ctl 349 net/sched/sch_choke.c const struct tc_red_qopt *ctl; ctl 369 net/sched/sch_choke.c ctl = nla_data(tb[TCA_CHOKE_PARMS]); ctl 371 net/sched/sch_choke.c if (!red_check_params(ctl->qth_min, ctl->qth_max, ctl->Wlog)) ctl 374 net/sched/sch_choke.c if (ctl->limit > CHOKE_MAX_QUEUE) ctl 377 net/sched/sch_choke.c mask = roundup_pow_of_two(ctl->limit + 1) - 1; ctl 416 net/sched/sch_choke.c q->flags = ctl->flags; ctl 417 net/sched/sch_choke.c q->limit = ctl->limit; ctl 419 net/sched/sch_choke.c red_set_parms(&q->parms, ctl->qth_min, ctl->qth_max, ctl->Wlog, ctl 420 net/sched/sch_choke.c ctl->Plog, ctl->Scell_log, ctl 68 net/sched/sch_fifo.c struct tc_fifo_qopt *ctl = nla_data(opt); ctl 70 net/sched/sch_fifo.c if (nla_len(opt) < sizeof(*ctl)) ctl 73 net/sched/sch_fifo.c sch->limit = ctl->limit; ctl 475 net/sched/sch_gred.c struct tc_gred_qopt *ctl, int prio, ctl 483 net/sched/sch_gred.c if (!red_check_params(ctl->qth_min, ctl->qth_max, ctl->Wlog)) { ctl 498 net/sched/sch_gred.c if (ctl->limit > sch->limit) ctl 501 net/sched/sch_gred.c q->limit = ctl->limit; ctl 507 net/sched/sch_gred.c ctl->qth_min, ctl->qth_max, ctl->Wlog, ctl->Plog, ctl 508 net/sched/sch_gred.c ctl->Scell_log, stab, max_P); ctl 639 net/sched/sch_gred.c struct tc_gred_qopt *ctl; ctl 669 net/sched/sch_gred.c ctl = nla_data(tb[TCA_GRED_PARMS]); ctl 672 net/sched/sch_gred.c if (ctl->DP >= table->DPs) { ctl 678 net/sched/sch_gred.c err = gred_vqs_validate(table, ctl->DP, tb[TCA_GRED_VQ_LIST], ctl 685 net/sched/sch_gred.c if (ctl->prio == 0) { ctl 692 net/sched/sch_gred.c "setting default to %d\n", ctl->DP, def_prio); ctl 696 net/sched/sch_gred.c prio = ctl->prio; ctl 702 net/sched/sch_gred.c err = gred_change_vq(sch, ctl->DP, ctl, prio, stab, max_P, &prealloc, ctl 136 net/sched/sch_plug.c struct tc_plug_qopt *ctl = nla_data(opt); ctl 138 net/sched/sch_plug.c if (nla_len(opt) < sizeof(*ctl)) ctl 141 net/sched/sch_plug.c q->limit = ctl->limit; ctl 197 net/sched/sch_red.c struct tc_red_qopt *ctl; ctl 215 net/sched/sch_red.c ctl = nla_data(tb[TCA_RED_PARMS]); ctl 216 net/sched/sch_red.c if (!red_check_params(ctl->qth_min, ctl->qth_max, ctl->Wlog)) ctl 219 net/sched/sch_red.c if (ctl->limit > 0) { ctl 220 net/sched/sch_red.c child = fifo_create_dflt(sch, &bfifo_qdisc_ops, ctl->limit, ctl 230 net/sched/sch_red.c q->flags = ctl->flags; ctl 231 net/sched/sch_red.c q->limit = ctl->limit; ctl 239 net/sched/sch_red.c ctl->qth_min, ctl->qth_max, ctl->Wlog, ctl 240 net/sched/sch_red.c ctl->Plog, ctl->Scell_log, ctl 246 net/sched/sch_red.c if (ctl->flags & TC_RED_ADAPTATIVE) ctl 494 net/sched/sch_sfb.c const struct tc_sfb_qopt *ctl = &sfb_default_ops; ctl 507 net/sched/sch_sfb.c ctl = nla_data(tb[TCA_SFB_PARMS]); ctl 510 net/sched/sch_sfb.c limit = ctl->limit; ctl 526 net/sched/sch_sfb.c q->rehash_interval = msecs_to_jiffies(ctl->rehash_interval); ctl 527 net/sched/sch_sfb.c q->warmup_time = msecs_to_jiffies(ctl->warmup_time); ctl 530 net/sched/sch_sfb.c q->increment = ctl->increment; ctl 531 net/sched/sch_sfb.c q->decrement = ctl->decrement; ctl 532 net/sched/sch_sfb.c q->max = ctl->max; ctl 533 net/sched/sch_sfb.c q->bin_size = ctl->bin_size; ctl 534 net/sched/sch_sfb.c q->penalty_rate = ctl->penalty_rate; ctl 535 net/sched/sch_sfb.c q->penalty_burst = ctl->penalty_burst; ctl 536 net/sched/sch_sfb.c q->tokens_avail = ctl->penalty_burst; ctl 626 net/sched/sch_sfq.c struct tc_sfq_qopt *ctl = nla_data(opt); ctl 633 net/sched/sch_sfq.c if (opt->nla_len < nla_attr_size(sizeof(*ctl))) ctl 637 net/sched/sch_sfq.c if (ctl->divisor && ctl 638 net/sched/sch_sfq.c (!is_power_of_2(ctl->divisor) || ctl->divisor > 65536)) ctl 642 net/sched/sch_sfq.c if (ctl->quantum) { ctl 643 net/sched/sch_sfq.c unsigned int scaled = SFQ_ALLOT_SIZE(ctl->quantum); ctl 658 net/sched/sch_sfq.c if (ctl->quantum) { ctl 659 net/sched/sch_sfq.c q->quantum = ctl->quantum; ctl 662 net/sched/sch_sfq.c q->perturb_period = ctl->perturb_period * HZ; ctl 663 net/sched/sch_sfq.c if (ctl->flows) ctl 664 net/sched/sch_sfq.c q->maxflows = min_t(u32, ctl->flows, SFQ_MAX_FLOWS); ctl 665 net/sched/sch_sfq.c if (ctl->divisor) { ctl 666 net/sched/sch_sfq.c q->divisor = ctl->divisor; ctl 684 net/sched/sch_sfq.c if (ctl->limit) { ctl 685 net/sched/sch_sfq.c q->limit = min_t(u32, ctl->limit, q->maxdepth * q->maxflows); ctl 170 net/sched/sch_skbprio.c struct tc_skbprio_qopt *ctl = nla_data(opt); ctl 172 net/sched/sch_skbprio.c if (opt->nla_len != nla_attr_size(sizeof(*ctl))) ctl 175 net/sched/sch_skbprio.c sch->limit = ctl->limit; ctl 43 net/sctp/sysctl.c static int proc_sctp_do_hmac_alg(struct ctl_table *ctl, int write, ctl 46 net/sctp/sysctl.c static int proc_sctp_do_rto_min(struct ctl_table *ctl, int write, ctl 49 net/sctp/sysctl.c static int proc_sctp_do_rto_max(struct ctl_table *ctl, int write, ctl 52 net/sctp/sysctl.c static int proc_sctp_do_alpha_beta(struct ctl_table *ctl, int write, ctl 55 net/sctp/sysctl.c static int proc_sctp_do_auth(struct ctl_table *ctl, int write, ctl 325 net/sctp/sysctl.c static int proc_sctp_do_hmac_alg(struct ctl_table *ctl, int write, ctl 371 net/sctp/sysctl.c static int proc_sctp_do_rto_min(struct ctl_table *ctl, int write, ctl 376 net/sctp/sysctl.c unsigned int min = *(unsigned int *) ctl->extra1; ctl 377 net/sctp/sysctl.c unsigned int max = *(unsigned int *) ctl->extra2; ctl 400 net/sctp/sysctl.c static int proc_sctp_do_rto_max(struct ctl_table *ctl, int write, ctl 405 net/sctp/sysctl.c unsigned int min = *(unsigned int *) ctl->extra1; ctl 406 net/sctp/sysctl.c unsigned int max = *(unsigned int *) ctl->extra2; ctl 429 net/sctp/sysctl.c static int proc_sctp_do_alpha_beta(struct ctl_table *ctl, int write, ctl 437 net/sctp/sysctl.c return proc_dointvec_minmax(ctl, write, buffer, lenp, ppos); ctl 440 net/sctp/sysctl.c static int proc_sctp_do_auth(struct ctl_table *ctl, int write, ctl 2239 net/socket.c unsigned char ctl[sizeof(struct cmsghdr) + 20] ctl 2242 net/socket.c unsigned char *ctl_buf = ctl; ctl 2254 net/socket.c cmsghdr_from_user_compat_to_kern(msg_sys, sock->sk, ctl, ctl 2255 net/socket.c sizeof(ctl)); ctl 2263 net/socket.c if (ctl_len > sizeof(ctl)) { ctl 2310 net/socket.c if (ctl_buf != ctl) ctl 38 net/unix/sysctl_net_unix.c net->unx.ctl = register_net_sysctl(net, "net/unix", table); ctl 39 net/unix/sysctl_net_unix.c if (net->unx.ctl == NULL) ctl 54 net/unix/sysctl_net_unix.c table = net->unx.ctl->ctl_table_arg; ctl 55 net/unix/sysctl_net_unix.c unregister_net_sysctl_table(net->unx.ctl); ctl 41 samples/connector/cn_test.c struct cn_ctl_msg *ctl; ctl 49 samples/connector/cn_test.c size0 = sizeof(*msg) + sizeof(*ctl) + 3 * sizeof(*req); ctl 75 samples/connector/cn_test.c ctl = (struct cn_ctl_msg *)(msg + 1); ctl 77 samples/connector/cn_test.c ctl->idx_notify_num = 1; ctl 78 samples/connector/cn_test.c ctl->val_notify_num = 2; ctl 79 samples/connector/cn_test.c ctl->group = group; ctl 80 samples/connector/cn_test.c ctl->len = msg->len - sizeof(*ctl); ctl 82 samples/connector/cn_test.c req = (struct cn_notify_req *)(ctl + 1); ctl 104 samples/connector/cn_test.c NETLINK_CB(skb).dst_group = ctl->group; ctl 108 samples/connector/cn_test.c pr_info("request was sent: group=0x%x\n", ctl->group); ctl 863 sound/aoa/codecs/onyx.c struct snd_kcontrol *ctl; ctl 926 sound/aoa/codecs/onyx.c ctl = snd_ctl_new1(&n, onyx); \ ctl 927 sound/aoa/codecs/onyx.c if (ctl) { \ ctl 928 sound/aoa/codecs/onyx.c ctl->id.device = \ ctl 930 sound/aoa/codecs/onyx.c err = aoa_snd_ctl_add(ctl); \ ctl 898 sound/aoa/fabrics/layout.c struct snd_kcontrol *ctl; ctl 912 sound/aoa/fabrics/layout.c ctl = snd_ctl_new1(&master_ctl, codec->gpio); ctl 913 sound/aoa/fabrics/layout.c ldev->master_ctrl = ctl; ctl 914 sound/aoa/fabrics/layout.c aoa_snd_ctl_add(ctl); ctl 920 sound/aoa/fabrics/layout.c ctl = snd_ctl_new1(&speakers_ctl, codec->gpio); ctl 921 sound/aoa/fabrics/layout.c ldev->speaker_ctrl = ctl; ctl 922 sound/aoa/fabrics/layout.c aoa_snd_ctl_add(ctl); ctl 927 sound/aoa/fabrics/layout.c ctl = snd_ctl_new1(&headphone_ctl, codec->gpio); ctl 928 sound/aoa/fabrics/layout.c ldev->headphone_ctrl = ctl; ctl 929 sound/aoa/fabrics/layout.c aoa_snd_ctl_add(ctl); ctl 937 sound/aoa/fabrics/layout.c ctl = snd_ctl_new1(&headphone_detect_choice, ctl 939 sound/aoa/fabrics/layout.c aoa_snd_ctl_add(ctl); ctl 940 sound/aoa/fabrics/layout.c ctl = snd_ctl_new1(&headphone_detected, ctl 942 sound/aoa/fabrics/layout.c ldev->headphone_detected_ctrl = ctl; ctl 943 sound/aoa/fabrics/layout.c aoa_snd_ctl_add(ctl); ctl 949 sound/aoa/fabrics/layout.c ctl = snd_ctl_new1(&lineout_ctl, codec->gpio); ctl 951 sound/aoa/fabrics/layout.c strlcpy(ctl->id.name, ctl 952 sound/aoa/fabrics/layout.c "Headphone Switch", sizeof(ctl->id.name)); ctl 953 sound/aoa/fabrics/layout.c ldev->lineout_ctrl = ctl; ctl 954 sound/aoa/fabrics/layout.c aoa_snd_ctl_add(ctl); ctl 962 sound/aoa/fabrics/layout.c ctl = snd_ctl_new1(&lineout_detect_choice, ctl 965 sound/aoa/fabrics/layout.c strlcpy(ctl->id.name, ctl 967 sound/aoa/fabrics/layout.c sizeof(ctl->id.name)); ctl 968 sound/aoa/fabrics/layout.c aoa_snd_ctl_add(ctl); ctl 969 sound/aoa/fabrics/layout.c ctl = snd_ctl_new1(&lineout_detected, ctl 972 sound/aoa/fabrics/layout.c strlcpy(ctl->id.name, ctl 974 sound/aoa/fabrics/layout.c sizeof(ctl->id.name)); ctl 975 sound/aoa/fabrics/layout.c ldev->lineout_detected_ctrl = ctl; ctl 976 sound/aoa/fabrics/layout.c aoa_snd_ctl_add(ctl); ctl 39 sound/core/control.c struct snd_ctl_file *ctl; ctl 60 sound/core/control.c ctl = kzalloc(sizeof(*ctl), GFP_KERNEL); ctl 61 sound/core/control.c if (ctl == NULL) { ctl 65 sound/core/control.c INIT_LIST_HEAD(&ctl->events); ctl 66 sound/core/control.c init_waitqueue_head(&ctl->change_sleep); ctl 67 sound/core/control.c spin_lock_init(&ctl->read_lock); ctl 68 sound/core/control.c ctl->card = card; ctl 70 sound/core/control.c ctl->preferred_subdevice[i] = -1; ctl 71 sound/core/control.c ctl->pid = get_pid(task_pid(current)); ctl 72 sound/core/control.c file->private_data = ctl; ctl 74 sound/core/control.c list_add_tail(&ctl->list, &card->ctl_files); ctl 89 sound/core/control.c static void snd_ctl_empty_read_queue(struct snd_ctl_file * ctl) ctl 94 sound/core/control.c spin_lock_irqsave(&ctl->read_lock, flags); ctl 95 sound/core/control.c while (!list_empty(&ctl->events)) { ctl 96 sound/core/control.c cread = snd_kctl_event(ctl->events.next); ctl 100 sound/core/control.c spin_unlock_irqrestore(&ctl->read_lock, flags); ctl 107 sound/core/control.c struct snd_ctl_file *ctl; ctl 111 sound/core/control.c ctl = file->private_data; ctl 113 sound/core/control.c card = ctl->card; ctl 115 sound/core/control.c list_del(&ctl->list); ctl 120 sound/core/control.c if (control->vd[idx].owner == ctl) ctl 123 sound/core/control.c snd_ctl_empty_read_queue(ctl); ctl 124 sound/core/control.c put_pid(ctl->pid); ctl 125 sound/core/control.c kfree(ctl); ctl 145 sound/core/control.c struct snd_ctl_file *ctl; ctl 156 sound/core/control.c list_for_each_entry(ctl, &card->ctl_files, list) { ctl 157 sound/core/control.c if (!ctl->subscribed) ctl 159 sound/core/control.c spin_lock_irqsave(&ctl->read_lock, flags); ctl 160 sound/core/control.c list_for_each_entry(ev, &ctl->events, list) { ctl 170 sound/core/control.c list_add_tail(&ev->list, &ctl->events); ctl 175 sound/core/control.c wake_up(&ctl->change_sleep); ctl 176 sound/core/control.c spin_unlock_irqrestore(&ctl->read_lock, flags); ctl 177 sound/core/control.c kill_fasync(&ctl->fasync, SIGIO, POLL_IN); ctl 692 sound/core/control.c static int snd_ctl_card_info(struct snd_card *card, struct snd_ctl_file * ctl, ctl 791 sound/core/control.c static int snd_ctl_elem_info(struct snd_ctl_file *ctl, ctl 794 sound/core/control.c struct snd_card *card = ctl->card; ctl 818 sound/core/control.c if (vd->owner == ctl) ctl 829 sound/core/control.c static int snd_ctl_elem_info_user(struct snd_ctl_file *ctl, ctl 837 sound/core/control.c result = snd_power_wait(ctl->card, SNDRV_CTL_POWER_D0); ctl 840 sound/core/control.c result = snd_ctl_elem_info(ctl, &info); ctl 1512 sound/core/control.c struct snd_ctl_file *ctl; ctl 1519 sound/core/control.c ctl = file->private_data; ctl 1520 sound/core/control.c card = ctl->card; ctl 1527 sound/core/control.c return snd_ctl_card_info(card, ctl, cmd, argp); ctl 1531 sound/core/control.c return snd_ctl_elem_info_user(ctl, argp); ctl 1535 sound/core/control.c return snd_ctl_elem_write_user(ctl, argp); ctl 1537 sound/core/control.c return snd_ctl_elem_lock(ctl, argp); ctl 1539 sound/core/control.c return snd_ctl_elem_unlock(ctl, argp); ctl 1541 sound/core/control.c return snd_ctl_elem_add_user(ctl, argp, 0); ctl 1543 sound/core/control.c return snd_ctl_elem_add_user(ctl, argp, 1); ctl 1545 sound/core/control.c return snd_ctl_elem_remove(ctl, argp); ctl 1547 sound/core/control.c return snd_ctl_subscribe_events(ctl, ip); ctl 1549 sound/core/control.c down_read(&ctl->card->controls_rwsem); ctl 1550 sound/core/control.c err = snd_ctl_tlv_ioctl(ctl, argp, SNDRV_CTL_TLV_OP_READ); ctl 1551 sound/core/control.c up_read(&ctl->card->controls_rwsem); ctl 1554 sound/core/control.c down_write(&ctl->card->controls_rwsem); ctl 1555 sound/core/control.c err = snd_ctl_tlv_ioctl(ctl, argp, SNDRV_CTL_TLV_OP_WRITE); ctl 1556 sound/core/control.c up_write(&ctl->card->controls_rwsem); ctl 1559 sound/core/control.c down_write(&ctl->card->controls_rwsem); ctl 1560 sound/core/control.c err = snd_ctl_tlv_ioctl(ctl, argp, SNDRV_CTL_TLV_OP_CMD); ctl 1561 sound/core/control.c up_write(&ctl->card->controls_rwsem); ctl 1574 sound/core/control.c err = p->fioctl(card, ctl, cmd, arg); ctl 1588 sound/core/control.c struct snd_ctl_file *ctl; ctl 1592 sound/core/control.c ctl = file->private_data; ctl 1593 sound/core/control.c if (snd_BUG_ON(!ctl || !ctl->card)) ctl 1595 sound/core/control.c if (!ctl->subscribed) ctl 1599 sound/core/control.c spin_lock_irq(&ctl->read_lock); ctl 1603 sound/core/control.c while (list_empty(&ctl->events)) { ctl 1610 sound/core/control.c add_wait_queue(&ctl->change_sleep, &wait); ctl 1612 sound/core/control.c spin_unlock_irq(&ctl->read_lock); ctl 1614 sound/core/control.c remove_wait_queue(&ctl->change_sleep, &wait); ctl 1615 sound/core/control.c if (ctl->card->shutdown) ctl 1619 sound/core/control.c spin_lock_irq(&ctl->read_lock); ctl 1621 sound/core/control.c kev = snd_kctl_event(ctl->events.next); ctl 1626 sound/core/control.c spin_unlock_irq(&ctl->read_lock); ctl 1632 sound/core/control.c spin_lock_irq(&ctl->read_lock); ctl 1638 sound/core/control.c spin_unlock_irq(&ctl->read_lock); ctl 1646 sound/core/control.c struct snd_ctl_file *ctl; ctl 1648 sound/core/control.c ctl = file->private_data; ctl 1649 sound/core/control.c if (!ctl->subscribed) ctl 1651 sound/core/control.c poll_wait(file, &ctl->change_sleep, wait); ctl 1654 sound/core/control.c if (!list_empty(&ctl->events)) ctl 1752 sound/core/control.c struct snd_ctl_file *ctl; ctl 1754 sound/core/control.c ctl = file->private_data; ctl 1755 sound/core/control.c return fasync_helper(fd, file, on, &ctl->fasync); ctl 1822 sound/core/control.c struct snd_ctl_file *ctl; ctl 1825 sound/core/control.c list_for_each_entry(ctl, &card->ctl_files, list) { ctl 1826 sound/core/control.c wake_up(&ctl->change_sleep); ctl 1827 sound/core/control.c kill_fasync(&ctl->fasync, SIGIO, POLL_ERR); ctl 81 sound/core/control_compat.c static int snd_ctl_elem_info_compat(struct snd_ctl_file *ctl, ctl 101 sound/core/control_compat.c err = snd_power_wait(ctl->card, SNDRV_CTL_POWER_D0); ctl 104 sound/core/control_compat.c err = snd_ctl_elem_info(ctl, data); ctl 434 sound/core/control_compat.c struct snd_ctl_file *ctl; ctl 439 sound/core/control_compat.c ctl = file->private_data; ctl 440 sound/core/control_compat.c if (snd_BUG_ON(!ctl || !ctl->card)) ctl 457 sound/core/control_compat.c return snd_ctl_elem_list_compat(ctl->card, argp); ctl 459 sound/core/control_compat.c return snd_ctl_elem_info_compat(ctl, argp); ctl 461 sound/core/control_compat.c return snd_ctl_elem_read_user_compat(ctl->card, argp); ctl 463 sound/core/control_compat.c return snd_ctl_elem_write_user_compat(ctl, argp); ctl 465 sound/core/control_compat.c return snd_ctl_elem_add_compat(ctl, argp, 0); ctl 467 sound/core/control_compat.c return snd_ctl_elem_add_compat(ctl, argp, 1); ctl 470 sound/core/control_compat.c return snd_ctl_elem_read_user_x32(ctl->card, argp); ctl 472 sound/core/control_compat.c return snd_ctl_elem_write_user_x32(ctl, argp); ctl 479 sound/core/control_compat.c err = p->fioctl(ctl->card, ctl, cmd, arg); ctl 472 sound/firewire/isight.c static int isight_gain_info(struct snd_kcontrol *ctl, ctl 475 sound/firewire/isight.c struct isight *isight = ctl->private_data; ctl 485 sound/firewire/isight.c static int isight_gain_get(struct snd_kcontrol *ctl, ctl 488 sound/firewire/isight.c struct isight *isight = ctl->private_data; ctl 501 sound/firewire/isight.c static int isight_gain_put(struct snd_kcontrol *ctl, ctl 504 sound/firewire/isight.c struct isight *isight = ctl->private_data; ctl 514 sound/firewire/isight.c static int isight_mute_get(struct snd_kcontrol *ctl, ctl 517 sound/firewire/isight.c struct isight *isight = ctl->private_data; ctl 530 sound/firewire/isight.c static int isight_mute_put(struct snd_kcontrol *ctl, ctl 533 sound/firewire/isight.c struct isight *isight = ctl->private_data; ctl 558 sound/firewire/isight.c struct snd_kcontrol *ctl; ctl 586 sound/firewire/isight.c ctl = snd_ctl_new1(&gain_control, isight); ctl 587 sound/firewire/isight.c if (ctl) ctl 588 sound/firewire/isight.c ctl->tlv.p = isight->gain_tlv; ctl 589 sound/firewire/isight.c err = snd_ctl_add(isight->card, ctl); ctl 479 sound/isa/sb/sb_mixer.c struct snd_kcontrol *ctl; ctl 482 sound/isa/sb/sb_mixer.c ctl = snd_ctl_new1(&newctls[type], chip); ctl 483 sound/isa/sb/sb_mixer.c if (! ctl) ctl 485 sound/isa/sb/sb_mixer.c strlcpy(ctl->id.name, name, sizeof(ctl->id.name)); ctl 486 sound/isa/sb/sb_mixer.c ctl->id.index = index; ctl 487 sound/isa/sb/sb_mixer.c ctl->private_value = value; ctl 488 sound/isa/sb/sb_mixer.c if ((err = snd_ctl_add(chip->card, ctl)) < 0) ctl 592 sound/isa/sscape.c static int sscape_midi_info(struct snd_kcontrol *ctl, ctl 1409 sound/pci/asihpi/asihpi.c static inline int ctl_add(struct snd_card *card, struct snd_kcontrol_new *ctl, ctl 1414 sound/pci/asihpi/asihpi.c err = snd_ctl_add(card, snd_ctl_new1(ctl, asihpi)); ctl 1418 sound/pci/asihpi/asihpi.c dev_info(&asihpi->pci->dev, "added %s(%d)\n", ctl->name, ctl->index); ctl 117 sound/pci/asihpi/hpi_internal.h #define HPI_CTL_ATTR(ctl, ai) ((HPI_CONTROL_##ctl << 8) + ai) ctl 837 sound/pci/ca0106/ca0106_mixer.c struct snd_kcontrol_new ctl; ctl 838 sound/pci/ca0106/ca0106_mixer.c ctl = snd_ca0106_volume_spi_dac_ctl(emu->details, i); ctl 839 sound/pci/ca0106/ca0106_mixer.c if (!ctl.name) ctl 841 sound/pci/ca0106/ca0106_mixer.c err = snd_ctl_add(card, snd_ctl_new1(&ctl, emu)); ctl 1133 sound/pci/cmipci.c struct snd_kcontrol *ctl = cm->mixer_res_ctl[i]; ctl 1134 sound/pci/cmipci.c if (ctl) { ctl 1137 sound/pci/cmipci.c ctl->get(ctl, val); ctl 1142 sound/pci/cmipci.c ctl->put(ctl, val); /* toggle */ ctl 1145 sound/pci/cmipci.c ctl->vd[0].access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; ctl 1146 sound/pci/cmipci.c snd_ctl_notify(cm->card, event, &ctl->id); ctl 1169 sound/pci/cmipci.c struct snd_kcontrol *ctl = cm->mixer_res_ctl[i]; ctl 1170 sound/pci/cmipci.c if (ctl) { ctl 1174 sound/pci/cmipci.c ctl->vd[0].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; ctl 1175 sound/pci/cmipci.c ctl->get(ctl, val); ctl 1179 sound/pci/cmipci.c ctl->put(ctl, val); ctl 1182 sound/pci/cmipci.c snd_ctl_notify(cm->card, event, &ctl->id); ctl 2745 sound/pci/cmipci.c struct snd_kcontrol *ctl; ctl 2749 sound/pci/cmipci.c ctl = snd_ctl_find_id(cm->card, &elem_id); ctl 2750 sound/pci/cmipci.c if (ctl) ctl 2751 sound/pci/cmipci.c cm->mixer_res_ctl[idx] = ctl; ctl 1623 sound/pci/cs46xx/cs46xx.h unsigned int ctl; ctl 1661 sound/pci/cs46xx/cs46xx.h unsigned int ctl; ctl 1023 sound/pci/cs46xx/cs46xx_lib.c snd_cs46xx_poke(chip, BA1_CCTL, chip->capt.ctl | tmp); ctl 3283 sound/pci/cs46xx/cs46xx_lib.c chip->capt.ctl = tmp & 0x0000ffff; ctl 3834 sound/pci/cs46xx/cs46xx_lib.c chip->capt.ctl = tmp & 0x0000ffff; ctl 82 sound/pci/ctxfi/cthw20k1.c u16 ctl:1; ctl 95 sound/pci/ctxfi/cthw20k1.c unsigned int ctl; ctl 178 sound/pci/ctxfi/cthw20k1.c struct src_rsc_ctrl_blk *ctl = blk; ctl 180 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->ctl, SRCCTL_STATE, state); ctl 181 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.ctl = 1; ctl 187 sound/pci/ctxfi/cthw20k1.c struct src_rsc_ctrl_blk *ctl = blk; ctl 189 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->ctl, SRCCTL_BM, bm); ctl 190 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.ctl = 1; ctl 196 sound/pci/ctxfi/cthw20k1.c struct src_rsc_ctrl_blk *ctl = blk; ctl 198 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->ctl, SRCCTL_RSR, rsr); ctl 199 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.ctl = 1; ctl 205 sound/pci/ctxfi/cthw20k1.c struct src_rsc_ctrl_blk *ctl = blk; ctl 207 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->ctl, SRCCTL_SF, sf); ctl 208 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.ctl = 1; ctl 214 sound/pci/ctxfi/cthw20k1.c struct src_rsc_ctrl_blk *ctl = blk; ctl 216 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->ctl, SRCCTL_WR, wr); ctl 217 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.ctl = 1; ctl 223 sound/pci/ctxfi/cthw20k1.c struct src_rsc_ctrl_blk *ctl = blk; ctl 225 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->ctl, SRCCTL_PM, pm); ctl 226 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.ctl = 1; ctl 232 sound/pci/ctxfi/cthw20k1.c struct src_rsc_ctrl_blk *ctl = blk; ctl 234 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->ctl, SRCCTL_ROM, rom); ctl 235 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.ctl = 1; ctl 241 sound/pci/ctxfi/cthw20k1.c struct src_rsc_ctrl_blk *ctl = blk; ctl 243 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->ctl, SRCCTL_VO, vo); ctl 244 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.ctl = 1; ctl 250 sound/pci/ctxfi/cthw20k1.c struct src_rsc_ctrl_blk *ctl = blk; ctl 252 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->ctl, SRCCTL_ST, st); ctl 253 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.ctl = 1; ctl 259 sound/pci/ctxfi/cthw20k1.c struct src_rsc_ctrl_blk *ctl = blk; ctl 261 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->ctl, SRCCTL_IE, ie); ctl 262 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.ctl = 1; ctl 268 sound/pci/ctxfi/cthw20k1.c struct src_rsc_ctrl_blk *ctl = blk; ctl 270 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->ctl, SRCCTL_ILSZ, ilsz); ctl 271 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.ctl = 1; ctl 277 sound/pci/ctxfi/cthw20k1.c struct src_rsc_ctrl_blk *ctl = blk; ctl 279 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->ctl, SRCCTL_BP, bp); ctl 280 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.ctl = 1; ctl 286 sound/pci/ctxfi/cthw20k1.c struct src_rsc_ctrl_blk *ctl = blk; ctl 288 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->ccr, SRCCCR_CISZ, cisz); ctl 289 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.ccr = 1; ctl 295 sound/pci/ctxfi/cthw20k1.c struct src_rsc_ctrl_blk *ctl = blk; ctl 297 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->ca, SRCCA_CA, ca); ctl 298 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.ca = 1; ctl 304 sound/pci/ctxfi/cthw20k1.c struct src_rsc_ctrl_blk *ctl = blk; ctl 306 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->sa, SRCSA_SA, sa); ctl 307 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.sa = 1; ctl 313 sound/pci/ctxfi/cthw20k1.c struct src_rsc_ctrl_blk *ctl = blk; ctl 315 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->la, SRCLA_LA, la); ctl 316 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.la = 1; ctl 322 sound/pci/ctxfi/cthw20k1.c struct src_rsc_ctrl_blk *ctl = blk; ctl 324 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->mpr, MPRLH_PITCH, pitch); ctl 325 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.mpr = 1; ctl 361 sound/pci/ctxfi/cthw20k1.c struct src_rsc_ctrl_blk *ctl = blk; ctl 364 sound/pci/ctxfi/cthw20k1.c if (ctl->dirty.bf.czbfs) { ctl 375 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.czbfs = 0; ctl 377 sound/pci/ctxfi/cthw20k1.c if (ctl->dirty.bf.mpr) { ctl 383 sound/pci/ctxfi/cthw20k1.c hw_write_20kx(hw, PRING_LO_HI+4*pm_idx, ctl->mpr); ctl 386 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.mpr = 0; ctl 388 sound/pci/ctxfi/cthw20k1.c if (ctl->dirty.bf.sa) { ctl 389 sound/pci/ctxfi/cthw20k1.c hw_write_20kx(hw, SRCSA+idx*0x100, ctl->sa); ctl 390 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.sa = 0; ctl 392 sound/pci/ctxfi/cthw20k1.c if (ctl->dirty.bf.la) { ctl 393 sound/pci/ctxfi/cthw20k1.c hw_write_20kx(hw, SRCLA+idx*0x100, ctl->la); ctl 394 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.la = 0; ctl 396 sound/pci/ctxfi/cthw20k1.c if (ctl->dirty.bf.ca) { ctl 397 sound/pci/ctxfi/cthw20k1.c hw_write_20kx(hw, SRCCA+idx*0x100, ctl->ca); ctl 398 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.ca = 0; ctl 404 sound/pci/ctxfi/cthw20k1.c if (ctl->dirty.bf.ccr) { ctl 405 sound/pci/ctxfi/cthw20k1.c hw_write_20kx(hw, SRCCCR+idx*0x100, ctl->ccr); ctl 406 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.ccr = 0; ctl 408 sound/pci/ctxfi/cthw20k1.c if (ctl->dirty.bf.ctl) { ctl 409 sound/pci/ctxfi/cthw20k1.c hw_write_20kx(hw, SRCCTL+idx*0x100, ctl->ctl); ctl 410 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.ctl = 0; ctl 418 sound/pci/ctxfi/cthw20k1.c struct src_rsc_ctrl_blk *ctl = blk; ctl 420 sound/pci/ctxfi/cthw20k1.c ctl->ca = hw_read_20kx(hw, SRCCA+idx*0x100); ctl 421 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.ca = 0; ctl 423 sound/pci/ctxfi/cthw20k1.c return get_field(ctl->ca, SRCCA_CA); ctl 460 sound/pci/ctxfi/cthw20k1.c struct src_mgr_ctrl_blk *ctl = blk; ctl 464 sound/pci/ctxfi/cthw20k1.c if (ctl->dirty.bf.enbsa) { ctl 468 sound/pci/ctxfi/cthw20k1.c hw_write_20kx(hw, SRCENBS, ctl->enbsa); ctl 469 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.enbsa = 0; ctl 472 sound/pci/ctxfi/cthw20k1.c if ((ctl->dirty.data & (0x1 << i))) { ctl 473 sound/pci/ctxfi/cthw20k1.c hw_write_20kx(hw, SRCENB+(i*0x100), ctl->enb[i]); ctl 474 sound/pci/ctxfi/cthw20k1.c ctl->dirty.data &= ~(0x1 << i); ctl 525 sound/pci/ctxfi/cthw20k1.c struct srcimp_mgr_ctrl_blk *ctl = blk; ctl 527 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->srcimap.srcaim, SRCAIM_ARC, slot); ctl 528 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.srcimap = 1; ctl 534 sound/pci/ctxfi/cthw20k1.c struct srcimp_mgr_ctrl_blk *ctl = blk; ctl 536 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->srcimap.srcaim, SRCAIM_SRC, user); ctl 537 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.srcimap = 1; ctl 543 sound/pci/ctxfi/cthw20k1.c struct srcimp_mgr_ctrl_blk *ctl = blk; ctl 545 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->srcimap.srcaim, SRCAIM_NXT, next); ctl 546 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.srcimap = 1; ctl 552 sound/pci/ctxfi/cthw20k1.c struct srcimp_mgr_ctrl_blk *ctl = blk; ctl 554 sound/pci/ctxfi/cthw20k1.c ctl->srcimap.idx = addr; ctl 555 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.srcimap = 1; ctl 561 sound/pci/ctxfi/cthw20k1.c struct srcimp_mgr_ctrl_blk *ctl = blk; ctl 563 sound/pci/ctxfi/cthw20k1.c if (ctl->dirty.bf.srcimap) { ctl 564 sound/pci/ctxfi/cthw20k1.c hw_write_20kx(hw, SRCIMAP+ctl->srcimap.idx*0x100, ctl 565 sound/pci/ctxfi/cthw20k1.c ctl->srcimap.srcaim); ctl 566 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.srcimap = 0; ctl 602 sound/pci/ctxfi/cthw20k1.c struct amixer_rsc_ctrl_blk *ctl = blk; ctl 604 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->amoplo, AMOPLO_M, mode); ctl 605 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.amoplo = 1; ctl 617 sound/pci/ctxfi/cthw20k1.c struct amixer_rsc_ctrl_blk *ctl = blk; ctl 619 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->amoplo, AMOPLO_X, x); ctl 620 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.amoplo = 1; ctl 626 sound/pci/ctxfi/cthw20k1.c struct amixer_rsc_ctrl_blk *ctl = blk; ctl 628 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->amoplo, AMOPLO_Y, y); ctl 629 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.amoplo = 1; ctl 635 sound/pci/ctxfi/cthw20k1.c struct amixer_rsc_ctrl_blk *ctl = blk; ctl 637 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->amophi, AMOPHI_SADR, sadr); ctl 638 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.amophi = 1; ctl 644 sound/pci/ctxfi/cthw20k1.c struct amixer_rsc_ctrl_blk *ctl = blk; ctl 646 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->amophi, AMOPHI_SE, se); ctl 647 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.amophi = 1; ctl 665 sound/pci/ctxfi/cthw20k1.c struct amixer_rsc_ctrl_blk *ctl = blk; ctl 667 sound/pci/ctxfi/cthw20k1.c if (ctl->dirty.bf.amoplo || ctl->dirty.bf.amophi) { ctl 668 sound/pci/ctxfi/cthw20k1.c hw_write_20kx(hw, AMOPLO+idx*8, ctl->amoplo); ctl 669 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.amoplo = 0; ctl 670 sound/pci/ctxfi/cthw20k1.c hw_write_20kx(hw, AMOPHI+idx*8, ctl->amophi); ctl 671 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.amophi = 0; ctl 679 sound/pci/ctxfi/cthw20k1.c struct amixer_rsc_ctrl_blk *ctl = blk; ctl 681 sound/pci/ctxfi/cthw20k1.c return get_field(ctl->amoplo, AMOPLO_Y); ctl 826 sound/pci/ctxfi/cthw20k1.c struct dai_ctrl_blk *ctl = blk; ctl 828 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->srtctl, SRTCTL_SRCR, src); ctl 829 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.srtctl = 1; ctl 835 sound/pci/ctxfi/cthw20k1.c struct dai_ctrl_blk *ctl = blk; ctl 837 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->srtctl, SRTCTL_SRCL, src); ctl 838 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.srtctl = 1; ctl 844 sound/pci/ctxfi/cthw20k1.c struct dai_ctrl_blk *ctl = blk; ctl 846 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->srtctl, SRTCTL_RSR, rsr); ctl 847 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.srtctl = 1; ctl 853 sound/pci/ctxfi/cthw20k1.c struct dai_ctrl_blk *ctl = blk; ctl 855 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->srtctl, SRTCTL_DRAT, drat); ctl 856 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.srtctl = 1; ctl 862 sound/pci/ctxfi/cthw20k1.c struct dai_ctrl_blk *ctl = blk; ctl 864 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->srtctl, SRTCTL_EC, ec ? 1 : 0); ctl 865 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.srtctl = 1; ctl 871 sound/pci/ctxfi/cthw20k1.c struct dai_ctrl_blk *ctl = blk; ctl 873 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->srtctl, SRTCTL_ET, et ? 1 : 0); ctl 874 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.srtctl = 1; ctl 880 sound/pci/ctxfi/cthw20k1.c struct dai_ctrl_blk *ctl = blk; ctl 882 sound/pci/ctxfi/cthw20k1.c if (ctl->dirty.bf.srtctl) { ctl 885 sound/pci/ctxfi/cthw20k1.c hw_write_20kx(hw, SRTSCTL+0x4*idx, ctl->srtctl); ctl 888 sound/pci/ctxfi/cthw20k1.c hw_write_20kx(hw, SRTICTL, ctl->srtctl); ctl 890 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.srtctl = 0; ctl 926 sound/pci/ctxfi/cthw20k1.c struct dao_ctrl_blk *ctl = blk; ctl 928 sound/pci/ctxfi/cthw20k1.c if (ctl->dirty.bf.spos) { ctl 931 sound/pci/ctxfi/cthw20k1.c hw_write_20kx(hw, SPOS+0x4*idx, ctl->spos); ctl 933 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.spos = 0; ctl 968 sound/pci/ctxfi/cthw20k1.c struct daio_mgr_ctrl_blk *ctl = blk; ctl 972 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->spictl, SPICTL_EN << (idx*8), 1); ctl 973 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.spictl |= (0x1 << idx); ctl 977 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->i2sctl, I2SCTL_EI << (idx*8), 1); ctl 978 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.i2sictl |= (0x1 << idx); ctl 985 sound/pci/ctxfi/cthw20k1.c struct daio_mgr_ctrl_blk *ctl = blk; ctl 989 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->spictl, SPICTL_EN << (idx*8), 0); ctl 990 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.spictl |= (0x1 << idx); ctl 994 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->i2sctl, I2SCTL_EI << (idx*8), 0); ctl 995 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.i2sictl |= (0x1 << idx); ctl 1002 sound/pci/ctxfi/cthw20k1.c struct daio_mgr_ctrl_blk *ctl = blk; ctl 1006 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->spoctl, SPOCTL_OE << (idx*8), 1); ctl 1007 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.spoctl |= (0x1 << idx); ctl 1011 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->i2sctl, I2SCTL_EA << (idx*8), 1); ctl 1012 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.i2soctl |= (0x1 << idx); ctl 1019 sound/pci/ctxfi/cthw20k1.c struct daio_mgr_ctrl_blk *ctl = blk; ctl 1023 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->spoctl, SPOCTL_OE << (idx*8), 0); ctl 1024 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.spoctl |= (0x1 << idx); ctl 1028 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->i2sctl, I2SCTL_EA << (idx*8), 0); ctl 1029 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.i2soctl |= (0x1 << idx); ctl 1036 sound/pci/ctxfi/cthw20k1.c struct daio_mgr_ctrl_blk *ctl = blk; ctl 1042 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->spoctl, SPOCTL_SR << (idx*8), 3); ctl 1045 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->spoctl, SPOCTL_SR << (idx*8), 0); ctl 1048 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->spoctl, SPOCTL_SR << (idx*8), 1); ctl 1051 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->spoctl, SPOCTL_SR << (idx*8), 2); ctl 1056 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->spoctl, SPOCTL_LIV << (idx*8), ctl 1058 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->spoctl, SPOCTL_RIV << (idx*8), ctl 1060 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->spoctl, SPOCTL_OS << (idx*8), ctl 1063 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.spoctl |= (0x1 << idx); ctl 1073 sound/pci/ctxfi/cthw20k1.c struct daio_mgr_ctrl_blk *ctl = blk; ctl 1075 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->daoimap.aim, AIM_ARC, slot); ctl 1076 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.daoimap = 1; ctl 1082 sound/pci/ctxfi/cthw20k1.c struct daio_mgr_ctrl_blk *ctl = blk; ctl 1084 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->daoimap.aim, AIM_NXT, next); ctl 1085 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.daoimap = 1; ctl 1091 sound/pci/ctxfi/cthw20k1.c struct daio_mgr_ctrl_blk *ctl = blk; ctl 1093 sound/pci/ctxfi/cthw20k1.c ctl->daoimap.idx = addr; ctl 1094 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.daoimap = 1; ctl 1100 sound/pci/ctxfi/cthw20k1.c struct daio_mgr_ctrl_blk *ctl = blk; ctl 1103 sound/pci/ctxfi/cthw20k1.c if (ctl->dirty.bf.i2sictl || ctl->dirty.bf.i2soctl) { ctl 1105 sound/pci/ctxfi/cthw20k1.c if ((ctl->dirty.bf.i2sictl & (0x1 << i))) ctl 1106 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.i2sictl &= ~(0x1 << i); ctl 1108 sound/pci/ctxfi/cthw20k1.c if ((ctl->dirty.bf.i2soctl & (0x1 << i))) ctl 1109 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.i2soctl &= ~(0x1 << i); ctl 1111 sound/pci/ctxfi/cthw20k1.c hw_write_20kx(hw, I2SCTL, ctl->i2sctl); ctl 1114 sound/pci/ctxfi/cthw20k1.c if (ctl->dirty.bf.spoctl) { ctl 1116 sound/pci/ctxfi/cthw20k1.c if ((ctl->dirty.bf.spoctl & (0x1 << i))) ctl 1117 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.spoctl &= ~(0x1 << i); ctl 1119 sound/pci/ctxfi/cthw20k1.c hw_write_20kx(hw, SPOCTL, ctl->spoctl); ctl 1122 sound/pci/ctxfi/cthw20k1.c if (ctl->dirty.bf.spictl) { ctl 1124 sound/pci/ctxfi/cthw20k1.c if ((ctl->dirty.bf.spictl & (0x1 << i))) ctl 1125 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.spictl &= ~(0x1 << i); ctl 1127 sound/pci/ctxfi/cthw20k1.c hw_write_20kx(hw, SPICTL, ctl->spictl); ctl 1130 sound/pci/ctxfi/cthw20k1.c if (ctl->dirty.bf.daoimap) { ctl 1131 sound/pci/ctxfi/cthw20k1.c hw_write_20kx(hw, DAOIMAP+ctl->daoimap.idx*4, ctl 1132 sound/pci/ctxfi/cthw20k1.c ctl->daoimap.aim); ctl 1133 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.daoimap = 0; ctl 82 sound/pci/ctxfi/cthw20k2.c u16 ctl:1; ctl 95 sound/pci/ctxfi/cthw20k2.c unsigned int ctl; ctl 178 sound/pci/ctxfi/cthw20k2.c struct src_rsc_ctrl_blk *ctl = blk; ctl 180 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->ctl, SRCCTL_STATE, state); ctl 181 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.ctl = 1; ctl 187 sound/pci/ctxfi/cthw20k2.c struct src_rsc_ctrl_blk *ctl = blk; ctl 189 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->ctl, SRCCTL_BM, bm); ctl 190 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.ctl = 1; ctl 196 sound/pci/ctxfi/cthw20k2.c struct src_rsc_ctrl_blk *ctl = blk; ctl 198 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->ctl, SRCCTL_RSR, rsr); ctl 199 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.ctl = 1; ctl 205 sound/pci/ctxfi/cthw20k2.c struct src_rsc_ctrl_blk *ctl = blk; ctl 207 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->ctl, SRCCTL_SF, sf); ctl 208 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.ctl = 1; ctl 214 sound/pci/ctxfi/cthw20k2.c struct src_rsc_ctrl_blk *ctl = blk; ctl 216 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->ctl, SRCCTL_WR, wr); ctl 217 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.ctl = 1; ctl 223 sound/pci/ctxfi/cthw20k2.c struct src_rsc_ctrl_blk *ctl = blk; ctl 225 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->ctl, SRCCTL_PM, pm); ctl 226 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.ctl = 1; ctl 232 sound/pci/ctxfi/cthw20k2.c struct src_rsc_ctrl_blk *ctl = blk; ctl 234 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->ctl, SRCCTL_ROM, rom); ctl 235 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.ctl = 1; ctl 241 sound/pci/ctxfi/cthw20k2.c struct src_rsc_ctrl_blk *ctl = blk; ctl 243 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->ctl, SRCCTL_VO, vo); ctl 244 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.ctl = 1; ctl 250 sound/pci/ctxfi/cthw20k2.c struct src_rsc_ctrl_blk *ctl = blk; ctl 252 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->ctl, SRCCTL_ST, st); ctl 253 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.ctl = 1; ctl 259 sound/pci/ctxfi/cthw20k2.c struct src_rsc_ctrl_blk *ctl = blk; ctl 261 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->ctl, SRCCTL_IE, ie); ctl 262 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.ctl = 1; ctl 268 sound/pci/ctxfi/cthw20k2.c struct src_rsc_ctrl_blk *ctl = blk; ctl 270 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->ctl, SRCCTL_ILSZ, ilsz); ctl 271 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.ctl = 1; ctl 277 sound/pci/ctxfi/cthw20k2.c struct src_rsc_ctrl_blk *ctl = blk; ctl 279 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->ctl, SRCCTL_BP, bp); ctl 280 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.ctl = 1; ctl 286 sound/pci/ctxfi/cthw20k2.c struct src_rsc_ctrl_blk *ctl = blk; ctl 288 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->ccr, SRCCCR_CISZ, cisz); ctl 289 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.ccr = 1; ctl 295 sound/pci/ctxfi/cthw20k2.c struct src_rsc_ctrl_blk *ctl = blk; ctl 297 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->ca, SRCCA_CA, ca); ctl 298 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.ca = 1; ctl 304 sound/pci/ctxfi/cthw20k2.c struct src_rsc_ctrl_blk *ctl = blk; ctl 306 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->sa, SRCSA_SA, sa); ctl 307 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.sa = 1; ctl 313 sound/pci/ctxfi/cthw20k2.c struct src_rsc_ctrl_blk *ctl = blk; ctl 315 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->la, SRCLA_LA, la); ctl 316 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.la = 1; ctl 322 sound/pci/ctxfi/cthw20k2.c struct src_rsc_ctrl_blk *ctl = blk; ctl 324 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->mpr, MPRLH_PITCH, pitch); ctl 325 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.mpr = 1; ctl 361 sound/pci/ctxfi/cthw20k2.c struct src_rsc_ctrl_blk *ctl = blk; ctl 364 sound/pci/ctxfi/cthw20k2.c if (ctl->dirty.bf.czbfs) { ctl 375 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.czbfs = 0; ctl 377 sound/pci/ctxfi/cthw20k2.c if (ctl->dirty.bf.mpr) { ctl 383 sound/pci/ctxfi/cthw20k2.c hw_write_20kx(hw, MIXER_PRING_LO_HI+4*pm_idx, ctl->mpr); ctl 386 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.mpr = 0; ctl 388 sound/pci/ctxfi/cthw20k2.c if (ctl->dirty.bf.sa) { ctl 389 sound/pci/ctxfi/cthw20k2.c hw_write_20kx(hw, SRC_SA+idx*0x100, ctl->sa); ctl 390 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.sa = 0; ctl 392 sound/pci/ctxfi/cthw20k2.c if (ctl->dirty.bf.la) { ctl 393 sound/pci/ctxfi/cthw20k2.c hw_write_20kx(hw, SRC_LA+idx*0x100, ctl->la); ctl 394 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.la = 0; ctl 396 sound/pci/ctxfi/cthw20k2.c if (ctl->dirty.bf.ca) { ctl 397 sound/pci/ctxfi/cthw20k2.c hw_write_20kx(hw, SRC_CA+idx*0x100, ctl->ca); ctl 398 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.ca = 0; ctl 404 sound/pci/ctxfi/cthw20k2.c if (ctl->dirty.bf.ccr) { ctl 405 sound/pci/ctxfi/cthw20k2.c hw_write_20kx(hw, SRC_CCR+idx*0x100, ctl->ccr); ctl 406 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.ccr = 0; ctl 408 sound/pci/ctxfi/cthw20k2.c if (ctl->dirty.bf.ctl) { ctl 409 sound/pci/ctxfi/cthw20k2.c hw_write_20kx(hw, SRC_CTL+idx*0x100, ctl->ctl); ctl 410 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.ctl = 0; ctl 418 sound/pci/ctxfi/cthw20k2.c struct src_rsc_ctrl_blk *ctl = blk; ctl 420 sound/pci/ctxfi/cthw20k2.c ctl->ca = hw_read_20kx(hw, SRC_CA+idx*0x100); ctl 421 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.ca = 0; ctl 423 sound/pci/ctxfi/cthw20k2.c return get_field(ctl->ca, SRCCA_CA); ctl 460 sound/pci/ctxfi/cthw20k2.c struct src_mgr_ctrl_blk *ctl = blk; ctl 464 sound/pci/ctxfi/cthw20k2.c if (ctl->dirty.bf.enbsa) { ctl 468 sound/pci/ctxfi/cthw20k2.c hw_write_20kx(hw, SRC_ENBSA, ctl->enbsa); ctl 469 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.enbsa = 0; ctl 472 sound/pci/ctxfi/cthw20k2.c if ((ctl->dirty.data & (0x1 << i))) { ctl 473 sound/pci/ctxfi/cthw20k2.c hw_write_20kx(hw, SRC_ENB+(i*0x100), ctl->enb[i]); ctl 474 sound/pci/ctxfi/cthw20k2.c ctl->dirty.data &= ~(0x1 << i); ctl 525 sound/pci/ctxfi/cthw20k2.c struct srcimp_mgr_ctrl_blk *ctl = blk; ctl 527 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->srcimap.srcaim, SRCAIM_ARC, slot); ctl 528 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.srcimap = 1; ctl 534 sound/pci/ctxfi/cthw20k2.c struct srcimp_mgr_ctrl_blk *ctl = blk; ctl 536 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->srcimap.srcaim, SRCAIM_SRC, user); ctl 537 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.srcimap = 1; ctl 543 sound/pci/ctxfi/cthw20k2.c struct srcimp_mgr_ctrl_blk *ctl = blk; ctl 545 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->srcimap.srcaim, SRCAIM_NXT, next); ctl 546 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.srcimap = 1; ctl 559 sound/pci/ctxfi/cthw20k2.c struct srcimp_mgr_ctrl_blk *ctl = blk; ctl 561 sound/pci/ctxfi/cthw20k2.c if (ctl->dirty.bf.srcimap) { ctl 562 sound/pci/ctxfi/cthw20k2.c hw_write_20kx(hw, SRC_IMAP+ctl->srcimap.idx*0x100, ctl 563 sound/pci/ctxfi/cthw20k2.c ctl->srcimap.srcaim); ctl 564 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.srcimap = 0; ctl 601 sound/pci/ctxfi/cthw20k2.c struct amixer_rsc_ctrl_blk *ctl = blk; ctl 603 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->amoplo, AMOPLO_M, mode); ctl 604 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.amoplo = 1; ctl 610 sound/pci/ctxfi/cthw20k2.c struct amixer_rsc_ctrl_blk *ctl = blk; ctl 612 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->amoplo, AMOPLO_IV, iv); ctl 613 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.amoplo = 1; ctl 619 sound/pci/ctxfi/cthw20k2.c struct amixer_rsc_ctrl_blk *ctl = blk; ctl 621 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->amoplo, AMOPLO_X, x); ctl 622 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.amoplo = 1; ctl 628 sound/pci/ctxfi/cthw20k2.c struct amixer_rsc_ctrl_blk *ctl = blk; ctl 630 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->amoplo, AMOPLO_Y, y); ctl 631 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.amoplo = 1; ctl 637 sound/pci/ctxfi/cthw20k2.c struct amixer_rsc_ctrl_blk *ctl = blk; ctl 639 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->amophi, AMOPHI_SADR, sadr); ctl 640 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.amophi = 1; ctl 646 sound/pci/ctxfi/cthw20k2.c struct amixer_rsc_ctrl_blk *ctl = blk; ctl 648 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->amophi, AMOPHI_SE, se); ctl 649 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.amophi = 1; ctl 667 sound/pci/ctxfi/cthw20k2.c struct amixer_rsc_ctrl_blk *ctl = blk; ctl 669 sound/pci/ctxfi/cthw20k2.c if (ctl->dirty.bf.amoplo || ctl->dirty.bf.amophi) { ctl 670 sound/pci/ctxfi/cthw20k2.c hw_write_20kx(hw, MIXER_AMOPLO+idx*8, ctl->amoplo); ctl 671 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.amoplo = 0; ctl 672 sound/pci/ctxfi/cthw20k2.c hw_write_20kx(hw, MIXER_AMOPHI+idx*8, ctl->amophi); ctl 673 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.amophi = 0; ctl 681 sound/pci/ctxfi/cthw20k2.c struct amixer_rsc_ctrl_blk *ctl = blk; ctl 683 sound/pci/ctxfi/cthw20k2.c return get_field(ctl->amoplo, AMOPLO_Y); ctl 816 sound/pci/ctxfi/cthw20k2.c struct dai_ctrl_blk *ctl = blk; ctl 818 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->srt, SRTCTL_SRCO, src); ctl 819 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.srt = 1; ctl 825 sound/pci/ctxfi/cthw20k2.c struct dai_ctrl_blk *ctl = blk; ctl 827 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->srt, SRTCTL_SRCM, src); ctl 828 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.srt = 1; ctl 834 sound/pci/ctxfi/cthw20k2.c struct dai_ctrl_blk *ctl = blk; ctl 836 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->srt, SRTCTL_RSR, rsr); ctl 837 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.srt = 1; ctl 843 sound/pci/ctxfi/cthw20k2.c struct dai_ctrl_blk *ctl = blk; ctl 845 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->srt, SRTCTL_DRAT, drat); ctl 846 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.srt = 1; ctl 852 sound/pci/ctxfi/cthw20k2.c struct dai_ctrl_blk *ctl = blk; ctl 854 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->srt, SRTCTL_EC, ec ? 1 : 0); ctl 855 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.srt = 1; ctl 861 sound/pci/ctxfi/cthw20k2.c struct dai_ctrl_blk *ctl = blk; ctl 863 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->srt, SRTCTL_ET, et ? 1 : 0); ctl 864 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.srt = 1; ctl 870 sound/pci/ctxfi/cthw20k2.c struct dai_ctrl_blk *ctl = blk; ctl 872 sound/pci/ctxfi/cthw20k2.c if (ctl->dirty.bf.srt) { ctl 873 sound/pci/ctxfi/cthw20k2.c hw_write_20kx(hw, AUDIO_IO_RX_SRT_CTL+0x40*idx, ctl->srt); ctl 874 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.srt = 0; ctl 910 sound/pci/ctxfi/cthw20k2.c struct dao_ctrl_blk *ctl = blk; ctl 912 sound/pci/ctxfi/cthw20k2.c if (ctl->dirty.bf.atxcsl) { ctl 916 sound/pci/ctxfi/cthw20k2.c ctl->atxcsl); ctl 918 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.atxcsl = 0; ctl 953 sound/pci/ctxfi/cthw20k2.c struct daio_mgr_ctrl_blk *ctl = blk; ctl 955 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->rxctl[idx], ARXCTL_EN, 1); ctl 956 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.arxctl |= (0x1 << idx); ctl 962 sound/pci/ctxfi/cthw20k2.c struct daio_mgr_ctrl_blk *ctl = blk; ctl 964 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->rxctl[idx], ARXCTL_EN, 0); ctl 966 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.arxctl |= (0x1 << idx); ctl 972 sound/pci/ctxfi/cthw20k2.c struct daio_mgr_ctrl_blk *ctl = blk; ctl 974 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->txctl[idx], ATXCTL_EN, 1); ctl 975 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.atxctl |= (0x1 << idx); ctl 981 sound/pci/ctxfi/cthw20k2.c struct daio_mgr_ctrl_blk *ctl = blk; ctl 983 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->txctl[idx], ATXCTL_EN, 0); ctl 984 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.atxctl |= (0x1 << idx); ctl 990 sound/pci/ctxfi/cthw20k2.c struct daio_mgr_ctrl_blk *ctl = blk; ctl 996 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->txctl[idx], ATXCTL_NUC, 0); ctl 999 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->txctl[idx], ATXCTL_NUC, 1); ctl 1002 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->txctl[idx], ATXCTL_NUC, 2); ctl 1005 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->txctl[idx], ATXCTL_NUC, 3); ctl 1011 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->txctl[idx], ATXCTL_CD, (!(conf & 0x7))); ctl 1013 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->txctl[idx], ATXCTL_LIV, (conf >> 4) & 0x1); ctl 1015 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->txctl[idx], ATXCTL_RIV, (conf >> 4) & 0x1); ctl 1016 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->txctl[idx], ATXCTL_RAW, ctl 1018 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.atxctl |= (0x1 << idx); ctl 1028 sound/pci/ctxfi/cthw20k2.c struct daio_mgr_ctrl_blk *ctl = blk; ctl 1030 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->daoimap.aim, AIM_ARC, slot); ctl 1031 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.daoimap = 1; ctl 1037 sound/pci/ctxfi/cthw20k2.c struct daio_mgr_ctrl_blk *ctl = blk; ctl 1039 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->daoimap.aim, AIM_NXT, next); ctl 1040 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.daoimap = 1; ctl 1053 sound/pci/ctxfi/cthw20k2.c struct daio_mgr_ctrl_blk *ctl = blk; ctl 1058 sound/pci/ctxfi/cthw20k2.c if ((ctl->dirty.bf.atxctl & (0x1 << i))) { ctl 1059 sound/pci/ctxfi/cthw20k2.c data = ctl->txctl[i]; ctl 1061 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.atxctl &= ~(0x1 << i); ctl 1064 sound/pci/ctxfi/cthw20k2.c if ((ctl->dirty.bf.arxctl & (0x1 << i))) { ctl 1065 sound/pci/ctxfi/cthw20k2.c data = ctl->rxctl[i]; ctl 1067 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.arxctl &= ~(0x1 << i); ctl 1071 sound/pci/ctxfi/cthw20k2.c if (ctl->dirty.bf.daoimap) { ctl 1072 sound/pci/ctxfi/cthw20k2.c hw_write_20kx(hw, AUDIO_IO_AIM+ctl->daoimap.idx*4, ctl 1073 sound/pci/ctxfi/cthw20k2.c ctl->daoimap.aim); ctl 1074 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.daoimap = 0; ctl 1832 sound/pci/ctxfi/cthw20k2.c u32 data, ctl; ctl 1894 sound/pci/ctxfi/cthw20k2.c ctl = hw_read_20kx(hw, GPIO_CTRL); ctl 1895 sound/pci/ctxfi/cthw20k2.c ctl |= 0x1 << 14; ctl 1896 sound/pci/ctxfi/cthw20k2.c hw_write_20kx(hw, GPIO_CTRL, ctl); ctl 110 sound/pci/ctxfi/ctmixer.c unsigned char ctl; ctl 117 sound/pci/ctxfi/ctmixer.c .ctl = 1, ctl 121 sound/pci/ctxfi/ctmixer.c .ctl = 1, ctl 125 sound/pci/ctxfi/ctmixer.c .ctl = 1, ctl 129 sound/pci/ctxfi/ctmixer.c .ctl = 1, ctl 133 sound/pci/ctxfi/ctmixer.c .ctl = 1, ctl 137 sound/pci/ctxfi/ctmixer.c .ctl = 1, ctl 141 sound/pci/ctxfi/ctmixer.c .ctl = 1, ctl 145 sound/pci/ctxfi/ctmixer.c .ctl = 1, ctl 149 sound/pci/ctxfi/ctmixer.c .ctl = 1, ctl 153 sound/pci/ctxfi/ctmixer.c .ctl = 1, ctl 157 sound/pci/ctxfi/ctmixer.c .ctl = 1, ctl 161 sound/pci/ctxfi/ctmixer.c .ctl = 1, ctl 165 sound/pci/ctxfi/ctmixer.c .ctl = 1, ctl 169 sound/pci/ctxfi/ctmixer.c .ctl = 1, ctl 173 sound/pci/ctxfi/ctmixer.c .ctl = 1, ctl 177 sound/pci/ctxfi/ctmixer.c .ctl = 1, ctl 181 sound/pci/ctxfi/ctmixer.c .ctl = 1, ctl 185 sound/pci/ctxfi/ctmixer.c .ctl = 1, ctl 189 sound/pci/ctxfi/ctmixer.c .ctl = 1, ctl 193 sound/pci/ctxfi/ctmixer.c .ctl = 1, ctl 197 sound/pci/ctxfi/ctmixer.c .ctl = 1, ctl 201 sound/pci/ctxfi/ctmixer.c .ctl = 1, ctl 205 sound/pci/ctxfi/ctmixer.c .ctl = 1, ctl 209 sound/pci/ctxfi/ctmixer.c .ctl = 1, ctl 213 sound/pci/ctxfi/ctmixer.c .ctl = 0, ctl 743 sound/pci/ctxfi/ctmixer.c if (ct_kcontrol_init_table[type].ctl) { ctl 752 sound/pci/ctxfi/ctmixer.c ct_kcontrol_init_table[MIXER_DIGITAL_IO_S].ctl = cap.digit_io_switch; ctl 755 sound/pci/ctxfi/ctmixer.c if (ct_kcontrol_init_table[type].ctl) { ctl 39 sound/pci/echoaudio/echo3g_dsp.c static int write_control_reg(struct echoaudio *chip, u32 ctl, u32 frq, ctl 73 sound/pci/echoaudio/echoaudio_3g.c static int write_control_reg(struct echoaudio *chip, u32 ctl, u32 frq, ctl 82 sound/pci/echoaudio/echoaudio_3g.c "WriteControlReg: Setting 0x%x, 0x%x\n", ctl, frq); ctl 84 sound/pci/echoaudio/echoaudio_3g.c ctl_reg = cpu_to_le32(ctl); ctl 306 sound/pci/emu10k1/emufx.c struct snd_emu10k1_fx8010_ctl *ctl = ctl 309 sound/pci/emu10k1/emufx.c if (ctl->min == 0 && ctl->max == 1) ctl 313 sound/pci/emu10k1/emufx.c uinfo->count = ctl->vcount; ctl 314 sound/pci/emu10k1/emufx.c uinfo->value.integer.min = ctl->min; ctl 315 sound/pci/emu10k1/emufx.c uinfo->value.integer.max = ctl->max; ctl 322 sound/pci/emu10k1/emufx.c struct snd_emu10k1_fx8010_ctl *ctl = ctl 328 sound/pci/emu10k1/emufx.c for (i = 0; i < ctl->vcount; i++) ctl 329 sound/pci/emu10k1/emufx.c ucontrol->value.integer.value[i] = ctl->value[i]; ctl 337 sound/pci/emu10k1/emufx.c struct snd_emu10k1_fx8010_ctl *ctl = ctl 345 sound/pci/emu10k1/emufx.c for (i = 0; i < ctl->vcount; i++) { ctl 347 sound/pci/emu10k1/emufx.c if (nval < ctl->min) ctl 348 sound/pci/emu10k1/emufx.c nval = ctl->min; ctl 349 sound/pci/emu10k1/emufx.c if (nval > ctl->max) ctl 350 sound/pci/emu10k1/emufx.c nval = ctl->max; ctl 351 sound/pci/emu10k1/emufx.c if (nval != ctl->value[i]) ctl 353 sound/pci/emu10k1/emufx.c val = ctl->value[i] = nval; ctl 354 sound/pci/emu10k1/emufx.c switch (ctl->translation) { ctl 356 sound/pci/emu10k1/emufx.c snd_emu10k1_ptr_write(emu, emu->gpr_base + ctl->gpr[i], 0, val); ctl 359 sound/pci/emu10k1/emufx.c snd_emu10k1_ptr_write(emu, emu->gpr_base + ctl->gpr[i], 0, db_table[val]); ctl 362 sound/pci/emu10k1/emufx.c if ((ctl->count % 5) != 0 || (ctl->count / 5) != ctl->vcount) { ctl 367 sound/pci/emu10k1/emufx.c snd_emu10k1_ptr_write(emu, emu->gpr_base + ctl->gpr[j * ctl->vcount + i], 0, bass_table[val][j]); ctl 370 sound/pci/emu10k1/emufx.c if ((ctl->count % 5) != 0 || (ctl->count / 5) != ctl->vcount) { ctl 375 sound/pci/emu10k1/emufx.c snd_emu10k1_ptr_write(emu, emu->gpr_base + ctl->gpr[j * ctl->vcount + i], 0, treble_table[val][j]); ctl 378 sound/pci/emu10k1/emufx.c snd_emu10k1_ptr_write(emu, emu->gpr_base + ctl->gpr[i], 0, onoff_table[val]); ctl 633 sound/pci/emu10k1/emufx.c struct snd_emu10k1_fx8010_ctl *ctl; ctl 636 sound/pci/emu10k1/emufx.c list_for_each_entry(ctl, &emu->fx8010.gpr_ctl, list) { ctl 637 sound/pci/emu10k1/emufx.c kcontrol = ctl->kcontrol; ctl 641 sound/pci/emu10k1/emufx.c return ctl; ctl 771 sound/pci/emu10k1/emufx.c struct snd_emu10k1_fx8010_ctl *ctl; ctl 773 sound/pci/emu10k1/emufx.c ctl = (struct snd_emu10k1_fx8010_ctl *) kctl->private_value; ctl 775 sound/pci/emu10k1/emufx.c list_del(&ctl->list); ctl 776 sound/pci/emu10k1/emufx.c kfree(ctl); ctl 786 sound/pci/emu10k1/emufx.c struct snd_emu10k1_fx8010_ctl *ctl, *nctl; ctl 815 sound/pci/emu10k1/emufx.c ctl = snd_emu10k1_look_for_ctl(emu, &gctl->id); ctl 840 sound/pci/emu10k1/emufx.c if (ctl == NULL) { ctl 841 sound/pci/emu10k1/emufx.c ctl = kmalloc(sizeof(*ctl), GFP_KERNEL); ctl 842 sound/pci/emu10k1/emufx.c if (ctl == NULL) { ctl 847 sound/pci/emu10k1/emufx.c knew.private_value = (unsigned long)ctl; ctl 848 sound/pci/emu10k1/emufx.c *ctl = *nctl; ctl 850 sound/pci/emu10k1/emufx.c kfree(ctl); ctl 855 sound/pci/emu10k1/emufx.c ctl->kcontrol = kctl; ctl 856 sound/pci/emu10k1/emufx.c list_add_tail(&ctl->list, &emu->fx8010.gpr_ctl); ctl 859 sound/pci/emu10k1/emufx.c nctl->list = ctl->list; ctl 860 sound/pci/emu10k1/emufx.c nctl->kcontrol = ctl->kcontrol; ctl 861 sound/pci/emu10k1/emufx.c *ctl = *nctl; ctl 863 sound/pci/emu10k1/emufx.c SNDRV_CTL_EVENT_MASK_INFO, &ctl->kcontrol->id); ctl 865 sound/pci/emu10k1/emufx.c snd_emu10k1_gpr_ctl_put(ctl->kcontrol, val); ctl 881 sound/pci/emu10k1/emufx.c struct snd_emu10k1_fx8010_ctl *ctl; ctl 891 sound/pci/emu10k1/emufx.c ctl = snd_emu10k1_look_for_ctl(emu, &id); ctl 892 sound/pci/emu10k1/emufx.c if (ctl) ctl 893 sound/pci/emu10k1/emufx.c snd_ctl_remove(card, ctl->kcontrol); ctl 905 sound/pci/emu10k1/emufx.c struct snd_emu10k1_fx8010_ctl *ctl; ctl 912 sound/pci/emu10k1/emufx.c list_for_each_entry(ctl, &emu->fx8010.gpr_ctl, list) { ctl 917 sound/pci/emu10k1/emufx.c id = &ctl->kcontrol->id; ctl 923 sound/pci/emu10k1/emufx.c gctl->vcount = ctl->vcount; ctl 924 sound/pci/emu10k1/emufx.c gctl->count = ctl->count; ctl 926 sound/pci/emu10k1/emufx.c gctl->gpr[j] = ctl->gpr[j]; ctl 927 sound/pci/emu10k1/emufx.c gctl->value[j] = ctl->value[j]; ctl 929 sound/pci/emu10k1/emufx.c gctl->min = ctl->min; ctl 930 sound/pci/emu10k1/emufx.c gctl->max = ctl->max; ctl 931 sound/pci/emu10k1/emufx.c gctl->translation = ctl->translation; ctl 1093 sound/pci/emu10k1/emufx.c snd_emu10k1_init_mono_control(struct snd_emu10k1_fx8010_control_gpr *ctl, ctl 1096 sound/pci/emu10k1/emufx.c ctl->id.iface = SNDRV_CTL_ELEM_IFACE_MIXER; ctl 1097 sound/pci/emu10k1/emufx.c strcpy(ctl->id.name, name); ctl 1098 sound/pci/emu10k1/emufx.c ctl->vcount = ctl->count = 1; ctl 1099 sound/pci/emu10k1/emufx.c ctl->gpr[0] = gpr + 0; ctl->value[0] = defval; ctl 1101 sound/pci/emu10k1/emufx.c ctl->min = 0; ctl 1102 sound/pci/emu10k1/emufx.c ctl->max = 0x7fffffff; ctl 1103 sound/pci/emu10k1/emufx.c ctl->tlv = snd_emu10k1_db_linear; ctl 1104 sound/pci/emu10k1/emufx.c ctl->translation = EMU10K1_GPR_TRANSLATION_NONE; ctl 1106 sound/pci/emu10k1/emufx.c ctl->min = 0; ctl 1107 sound/pci/emu10k1/emufx.c ctl->max = 100; ctl 1108 sound/pci/emu10k1/emufx.c ctl->tlv = snd_emu10k1_db_scale1; ctl 1109 sound/pci/emu10k1/emufx.c ctl->translation = EMU10K1_GPR_TRANSLATION_TABLE100; ctl 1114 sound/pci/emu10k1/emufx.c snd_emu10k1_init_stereo_control(struct snd_emu10k1_fx8010_control_gpr *ctl, ctl 1117 sound/pci/emu10k1/emufx.c ctl->id.iface = SNDRV_CTL_ELEM_IFACE_MIXER; ctl 1118 sound/pci/emu10k1/emufx.c strcpy(ctl->id.name, name); ctl 1119 sound/pci/emu10k1/emufx.c ctl->vcount = ctl->count = 2; ctl 1120 sound/pci/emu10k1/emufx.c ctl->gpr[0] = gpr + 0; ctl->value[0] = defval; ctl 1121 sound/pci/emu10k1/emufx.c ctl->gpr[1] = gpr + 1; ctl->value[1] = defval; ctl 1123 sound/pci/emu10k1/emufx.c ctl->min = 0; ctl 1124 sound/pci/emu10k1/emufx.c ctl->max = 0x7fffffff; ctl 1125 sound/pci/emu10k1/emufx.c ctl->tlv = snd_emu10k1_db_linear; ctl 1126 sound/pci/emu10k1/emufx.c ctl->translation = EMU10K1_GPR_TRANSLATION_NONE; ctl 1128 sound/pci/emu10k1/emufx.c ctl->min = 0; ctl 1129 sound/pci/emu10k1/emufx.c ctl->max = 100; ctl 1130 sound/pci/emu10k1/emufx.c ctl->tlv = snd_emu10k1_db_scale1; ctl 1131 sound/pci/emu10k1/emufx.c ctl->translation = EMU10K1_GPR_TRANSLATION_TABLE100; ctl 1136 sound/pci/emu10k1/emufx.c snd_emu10k1_init_mono_onoff_control(struct snd_emu10k1_fx8010_control_gpr *ctl, ctl 1139 sound/pci/emu10k1/emufx.c ctl->id.iface = SNDRV_CTL_ELEM_IFACE_MIXER; ctl 1140 sound/pci/emu10k1/emufx.c strcpy(ctl->id.name, name); ctl 1141 sound/pci/emu10k1/emufx.c ctl->vcount = ctl->count = 1; ctl 1142 sound/pci/emu10k1/emufx.c ctl->gpr[0] = gpr + 0; ctl->value[0] = defval; ctl 1143 sound/pci/emu10k1/emufx.c ctl->min = 0; ctl 1144 sound/pci/emu10k1/emufx.c ctl->max = 1; ctl 1145 sound/pci/emu10k1/emufx.c ctl->translation = EMU10K1_GPR_TRANSLATION_ONOFF; ctl 1149 sound/pci/emu10k1/emufx.c snd_emu10k1_init_stereo_onoff_control(struct snd_emu10k1_fx8010_control_gpr *ctl, ctl 1152 sound/pci/emu10k1/emufx.c ctl->id.iface = SNDRV_CTL_ELEM_IFACE_MIXER; ctl 1153 sound/pci/emu10k1/emufx.c strcpy(ctl->id.name, name); ctl 1154 sound/pci/emu10k1/emufx.c ctl->vcount = ctl->count = 2; ctl 1155 sound/pci/emu10k1/emufx.c ctl->gpr[0] = gpr + 0; ctl->value[0] = defval; ctl 1156 sound/pci/emu10k1/emufx.c ctl->gpr[1] = gpr + 1; ctl->value[1] = defval; ctl 1157 sound/pci/emu10k1/emufx.c ctl->min = 0; ctl 1158 sound/pci/emu10k1/emufx.c ctl->max = 1; ctl 1159 sound/pci/emu10k1/emufx.c ctl->translation = EMU10K1_GPR_TRANSLATION_ONOFF; ctl 1197 sound/pci/emu10k1/emufx.c struct snd_emu10k1_fx8010_control_gpr *controls = NULL, *ctl; ctl 1468 sound/pci/emu10k1/emufx.c ctl = &controls[nctl + 0]; ctl 1469 sound/pci/emu10k1/emufx.c ctl->id.iface = SNDRV_CTL_ELEM_IFACE_MIXER; ctl 1470 sound/pci/emu10k1/emufx.c strcpy(ctl->id.name, "Tone Control - Bass"); ctl 1471 sound/pci/emu10k1/emufx.c ctl->vcount = 2; ctl 1472 sound/pci/emu10k1/emufx.c ctl->count = 10; ctl 1473 sound/pci/emu10k1/emufx.c ctl->min = 0; ctl 1474 sound/pci/emu10k1/emufx.c ctl->max = 40; ctl 1475 sound/pci/emu10k1/emufx.c ctl->value[0] = ctl->value[1] = 20; ctl 1476 sound/pci/emu10k1/emufx.c ctl->translation = EMU10K1_GPR_TRANSLATION_BASS; ctl 1477 sound/pci/emu10k1/emufx.c ctl = &controls[nctl + 1]; ctl 1478 sound/pci/emu10k1/emufx.c ctl->id.iface = SNDRV_CTL_ELEM_IFACE_MIXER; ctl 1479 sound/pci/emu10k1/emufx.c strcpy(ctl->id.name, "Tone Control - Treble"); ctl 1480 sound/pci/emu10k1/emufx.c ctl->vcount = 2; ctl 1481 sound/pci/emu10k1/emufx.c ctl->count = 10; ctl 1482 sound/pci/emu10k1/emufx.c ctl->min = 0; ctl 1483 sound/pci/emu10k1/emufx.c ctl->max = 40; ctl 1484 sound/pci/emu10k1/emufx.c ctl->value[0] = ctl->value[1] = 20; ctl 1485 sound/pci/emu10k1/emufx.c ctl->translation = EMU10K1_GPR_TRANSLATION_TREBLE; ctl 1832 sound/pci/emu10k1/emufx.c struct snd_emu10k1_fx8010_control_gpr *controls = NULL, *ctl; ctl 2188 sound/pci/emu10k1/emufx.c ctl = &controls[i + 0]; ctl 2189 sound/pci/emu10k1/emufx.c ctl->id.iface = SNDRV_CTL_ELEM_IFACE_MIXER; ctl 2190 sound/pci/emu10k1/emufx.c strcpy(ctl->id.name, "Tone Control - Bass"); ctl 2191 sound/pci/emu10k1/emufx.c ctl->vcount = 2; ctl 2192 sound/pci/emu10k1/emufx.c ctl->count = 10; ctl 2193 sound/pci/emu10k1/emufx.c ctl->min = 0; ctl 2194 sound/pci/emu10k1/emufx.c ctl->max = 40; ctl 2195 sound/pci/emu10k1/emufx.c ctl->value[0] = ctl->value[1] = 20; ctl 2196 sound/pci/emu10k1/emufx.c ctl->tlv = snd_emu10k1_bass_treble_db_scale; ctl 2197 sound/pci/emu10k1/emufx.c ctl->translation = EMU10K1_GPR_TRANSLATION_BASS; ctl 2198 sound/pci/emu10k1/emufx.c ctl = &controls[i + 1]; ctl 2199 sound/pci/emu10k1/emufx.c ctl->id.iface = SNDRV_CTL_ELEM_IFACE_MIXER; ctl 2200 sound/pci/emu10k1/emufx.c strcpy(ctl->id.name, "Tone Control - Treble"); ctl 2201 sound/pci/emu10k1/emufx.c ctl->vcount = 2; ctl 2202 sound/pci/emu10k1/emufx.c ctl->count = 10; ctl 2203 sound/pci/emu10k1/emufx.c ctl->min = 0; ctl 2204 sound/pci/emu10k1/emufx.c ctl->max = 40; ctl 2205 sound/pci/emu10k1/emufx.c ctl->value[0] = ctl->value[1] = 20; ctl 2206 sound/pci/emu10k1/emufx.c ctl->tlv = snd_emu10k1_bass_treble_db_scale; ctl 2207 sound/pci/emu10k1/emufx.c ctl->translation = EMU10K1_GPR_TRANSLATION_TREBLE; ctl 3594 sound/pci/hda/hda_generic.c int idx, bool is_switch, unsigned int ctl, ctl 3604 sound/pci/hda/hda_generic.c if (!ctl) ctl 3614 sound/pci/hda/hda_generic.c amp_val_replace_channels(ctl, chs)); ctl 3630 sound/pci/hda/hda_generic.c amp_val_replace_channels(ctl, 2)); ctl 3683 sound/pci/hda/hda_generic.c unsigned int ctl; ctl 3689 sound/pci/hda/hda_generic.c ctl = path->ctls[type]; ctl 3690 sound/pci/hda/hda_generic.c if (!ctl) ctl 3694 sound/pci/hda/hda_generic.c if (path && path->ctls[type] == ctl) ctl 3697 sound/pci/hda/hda_generic.c return ctl; ctl 197 sound/pci/ice1712/psc724.c strlcpy(elem_id.name, spec->wm8776.ctl[WM8776_CTL_HP_SW].name, ctl 308 sound/pci/ice1712/psc724.c struct snd_kcontrol *ctl; ctl 312 sound/pci/ice1712/psc724.c spec->wm8776.ctl[WM8776_CTL_DAC_VOL].name = front_volume; ctl 313 sound/pci/ice1712/psc724.c spec->wm8776.ctl[WM8776_CTL_DAC_SW].name = front_switch; ctl 314 sound/pci/ice1712/psc724.c spec->wm8776.ctl[WM8776_CTL_DAC_ZC_SW].name = front_zc; ctl 315 sound/pci/ice1712/psc724.c spec->wm8776.ctl[WM8776_CTL_AUX_SW].name = NULL; ctl 316 sound/pci/ice1712/psc724.c spec->wm8776.ctl[WM8776_CTL_DAC_IZD_SW].name = front_izd; ctl 317 sound/pci/ice1712/psc724.c spec->wm8776.ctl[WM8776_CTL_PHASE_SW].name = front_phase; ctl 318 sound/pci/ice1712/psc724.c spec->wm8776.ctl[WM8776_CTL_DEEMPH_SW].name = front_deemph; ctl 319 sound/pci/ice1712/psc724.c spec->wm8776.ctl[WM8776_CTL_INPUT1_SW].name = ain1_switch; ctl 320 sound/pci/ice1712/psc724.c spec->wm8776.ctl[WM8776_CTL_INPUT2_SW].name = ain2_switch; ctl 321 sound/pci/ice1712/psc724.c spec->wm8776.ctl[WM8776_CTL_INPUT3_SW].name = ain3_switch; ctl 322 sound/pci/ice1712/psc724.c spec->wm8776.ctl[WM8776_CTL_INPUT4_SW].name = ain4_switch; ctl 323 sound/pci/ice1712/psc724.c spec->wm8776.ctl[WM8776_CTL_INPUT5_SW].name = ain5_switch; ctl 325 sound/pci/ice1712/psc724.c spec->wm8766.ctl[WM8766_CTL_CH1_VOL].name = rear_volume; ctl 326 sound/pci/ice1712/psc724.c spec->wm8766.ctl[WM8766_CTL_CH2_VOL].name = clfe_volume; ctl 327 sound/pci/ice1712/psc724.c spec->wm8766.ctl[WM8766_CTL_CH3_VOL].name = NULL; ctl 328 sound/pci/ice1712/psc724.c spec->wm8766.ctl[WM8766_CTL_CH1_SW].name = rear_switch; ctl 329 sound/pci/ice1712/psc724.c spec->wm8766.ctl[WM8766_CTL_CH2_SW].name = clfe_switch; ctl 330 sound/pci/ice1712/psc724.c spec->wm8766.ctl[WM8766_CTL_CH3_SW].name = NULL; ctl 331 sound/pci/ice1712/psc724.c spec->wm8766.ctl[WM8766_CTL_PHASE1_SW].name = rear_phase; ctl 332 sound/pci/ice1712/psc724.c spec->wm8766.ctl[WM8766_CTL_PHASE2_SW].name = clfe_phase; ctl 333 sound/pci/ice1712/psc724.c spec->wm8766.ctl[WM8766_CTL_PHASE3_SW].name = NULL; ctl 334 sound/pci/ice1712/psc724.c spec->wm8766.ctl[WM8766_CTL_DEEMPH1_SW].name = rear_deemph; ctl 335 sound/pci/ice1712/psc724.c spec->wm8766.ctl[WM8766_CTL_DEEMPH2_SW].name = clfe_deemph; ctl 336 sound/pci/ice1712/psc724.c spec->wm8766.ctl[WM8766_CTL_DEEMPH3_SW].name = NULL; ctl 337 sound/pci/ice1712/psc724.c spec->wm8766.ctl[WM8766_CTL_IZD_SW].name = rear_clfe_izd; ctl 338 sound/pci/ice1712/psc724.c spec->wm8766.ctl[WM8766_CTL_ZC_SW].name = rear_clfe_zc; ctl 350 sound/pci/ice1712/psc724.c ctl = snd_ctl_new1(&cont, ice); ctl 351 sound/pci/ice1712/psc724.c if (!ctl) ctl 353 sound/pci/ice1712/psc724.c err = snd_ctl_add(ice->card, ctl); ctl 147 sound/pci/ice1712/wm8766.c memcpy(wm->ctl, snd_wm8766_default_ctl, sizeof(wm->ctl)); ctl 188 sound/pci/ice1712/wm8766.c uinfo->count = (wm->ctl[n].flags & WM8766_FLAG_STEREO) ? 2 : 1; ctl 189 sound/pci/ice1712/wm8766.c uinfo->value.integer.min = wm->ctl[n].min; ctl 190 sound/pci/ice1712/wm8766.c uinfo->value.integer.max = wm->ctl[n].max; ctl 201 sound/pci/ice1712/wm8766.c return snd_ctl_enum_info(uinfo, 1, wm->ctl[n].max, ctl 202 sound/pci/ice1712/wm8766.c wm->ctl[n].enum_names); ctl 212 sound/pci/ice1712/wm8766.c if (wm->ctl[n].get) ctl 213 sound/pci/ice1712/wm8766.c wm->ctl[n].get(wm, &val1, &val2); ctl 215 sound/pci/ice1712/wm8766.c val1 = wm->regs[wm->ctl[n].reg1] & wm->ctl[n].mask1; ctl 216 sound/pci/ice1712/wm8766.c val1 >>= __ffs(wm->ctl[n].mask1); ctl 217 sound/pci/ice1712/wm8766.c if (wm->ctl[n].flags & WM8766_FLAG_STEREO) { ctl 218 sound/pci/ice1712/wm8766.c val2 = wm->regs[wm->ctl[n].reg2] & wm->ctl[n].mask2; ctl 219 sound/pci/ice1712/wm8766.c val2 >>= __ffs(wm->ctl[n].mask2); ctl 220 sound/pci/ice1712/wm8766.c if (wm->ctl[n].flags & WM8766_FLAG_VOL_UPDATE) ctl 224 sound/pci/ice1712/wm8766.c if (wm->ctl[n].flags & WM8766_FLAG_INVERT) { ctl 225 sound/pci/ice1712/wm8766.c val1 = wm->ctl[n].max - (val1 - wm->ctl[n].min); ctl 226 sound/pci/ice1712/wm8766.c if (wm->ctl[n].flags & WM8766_FLAG_STEREO) ctl 227 sound/pci/ice1712/wm8766.c val2 = wm->ctl[n].max - (val2 - wm->ctl[n].min); ctl 230 sound/pci/ice1712/wm8766.c if (wm->ctl[n].flags & WM8766_FLAG_STEREO) ctl 246 sound/pci/ice1712/wm8766.c if (wm->ctl[n].flags & WM8766_FLAG_INVERT) { ctl 247 sound/pci/ice1712/wm8766.c regval1 = wm->ctl[n].max - (regval1 - wm->ctl[n].min); ctl 248 sound/pci/ice1712/wm8766.c regval2 = wm->ctl[n].max - (regval2 - wm->ctl[n].min); ctl 250 sound/pci/ice1712/wm8766.c if (wm->ctl[n].set) ctl 251 sound/pci/ice1712/wm8766.c wm->ctl[n].set(wm, regval1, regval2); ctl 253 sound/pci/ice1712/wm8766.c val = wm->regs[wm->ctl[n].reg1] & ~wm->ctl[n].mask1; ctl 254 sound/pci/ice1712/wm8766.c val |= regval1 << __ffs(wm->ctl[n].mask1); ctl 256 sound/pci/ice1712/wm8766.c if (wm->ctl[n].flags & WM8766_FLAG_STEREO && ctl 257 sound/pci/ice1712/wm8766.c wm->ctl[n].reg1 == wm->ctl[n].reg2) { ctl 258 sound/pci/ice1712/wm8766.c val &= ~wm->ctl[n].mask2; ctl 259 sound/pci/ice1712/wm8766.c val |= regval2 << __ffs(wm->ctl[n].mask2); ctl 261 sound/pci/ice1712/wm8766.c snd_wm8766_write(wm, wm->ctl[n].reg1, val); ctl 263 sound/pci/ice1712/wm8766.c if (wm->ctl[n].flags & WM8766_FLAG_STEREO && ctl 264 sound/pci/ice1712/wm8766.c wm->ctl[n].reg1 != wm->ctl[n].reg2) { ctl 265 sound/pci/ice1712/wm8766.c val = wm->regs[wm->ctl[n].reg2] & ~wm->ctl[n].mask2; ctl 266 sound/pci/ice1712/wm8766.c val |= regval2 << __ffs(wm->ctl[n].mask2); ctl 267 sound/pci/ice1712/wm8766.c if (wm->ctl[n].flags & WM8766_FLAG_VOL_UPDATE) ctl 269 sound/pci/ice1712/wm8766.c snd_wm8766_write(wm, wm->ctl[n].reg2, val); ctl 279 sound/pci/ice1712/wm8766.c struct snd_kcontrol *ctl; ctl 284 sound/pci/ice1712/wm8766.c cont.name = wm->ctl[num].name; ctl 286 sound/pci/ice1712/wm8766.c if (wm->ctl[num].flags & WM8766_FLAG_LIM || ctl 287 sound/pci/ice1712/wm8766.c wm->ctl[num].flags & WM8766_FLAG_ALC) ctl 293 sound/pci/ice1712/wm8766.c switch (wm->ctl[num].type) { ctl 297 sound/pci/ice1712/wm8766.c cont.tlv.p = wm->ctl[num].tlv; ctl 300 sound/pci/ice1712/wm8766.c wm->ctl[num].max = 1; ctl 301 sound/pci/ice1712/wm8766.c if (wm->ctl[num].flags & WM8766_FLAG_STEREO) ctl 312 sound/pci/ice1712/wm8766.c ctl = snd_ctl_new1(&cont, wm); ctl 313 sound/pci/ice1712/wm8766.c if (!ctl) ctl 315 sound/pci/ice1712/wm8766.c wm->ctl[num].kctl = ctl; ctl 317 sound/pci/ice1712/wm8766.c return snd_ctl_add(wm->card, ctl); ctl 325 sound/pci/ice1712/wm8766.c if (wm->ctl[i].name) { ctl 133 sound/pci/ice1712/wm8766.h struct snd_wm8766_ctl ctl[WM8766_CTL_COUNT]; ctl 76 sound/pci/ice1712/wm8776.c if (wm->ctl[i].flags & flags_off) ctl 77 sound/pci/ice1712/wm8776.c snd_wm8776_activate_ctl(wm, wm->ctl[i].name, false); ctl 78 sound/pci/ice1712/wm8776.c else if (wm->ctl[i].flags & flags_on) ctl 79 sound/pci/ice1712/wm8776.c snd_wm8776_activate_ctl(wm, wm->ctl[i].name, true); ctl 424 sound/pci/ice1712/wm8776.c memcpy(wm->ctl, snd_wm8776_default_ctl, sizeof(wm->ctl)); ctl 462 sound/pci/ice1712/wm8776.c uinfo->count = (wm->ctl[n].flags & WM8776_FLAG_STEREO) ? 2 : 1; ctl 463 sound/pci/ice1712/wm8776.c uinfo->value.integer.min = wm->ctl[n].min; ctl 464 sound/pci/ice1712/wm8776.c uinfo->value.integer.max = wm->ctl[n].max; ctl 475 sound/pci/ice1712/wm8776.c return snd_ctl_enum_info(uinfo, 1, wm->ctl[n].max, ctl 476 sound/pci/ice1712/wm8776.c wm->ctl[n].enum_names); ctl 486 sound/pci/ice1712/wm8776.c if (wm->ctl[n].get) ctl 487 sound/pci/ice1712/wm8776.c wm->ctl[n].get(wm, &val1, &val2); ctl 489 sound/pci/ice1712/wm8776.c val1 = wm->regs[wm->ctl[n].reg1] & wm->ctl[n].mask1; ctl 490 sound/pci/ice1712/wm8776.c val1 >>= __ffs(wm->ctl[n].mask1); ctl 491 sound/pci/ice1712/wm8776.c if (wm->ctl[n].flags & WM8776_FLAG_STEREO) { ctl 492 sound/pci/ice1712/wm8776.c val2 = wm->regs[wm->ctl[n].reg2] & wm->ctl[n].mask2; ctl 493 sound/pci/ice1712/wm8776.c val2 >>= __ffs(wm->ctl[n].mask2); ctl 494 sound/pci/ice1712/wm8776.c if (wm->ctl[n].flags & WM8776_FLAG_VOL_UPDATE) ctl 498 sound/pci/ice1712/wm8776.c if (wm->ctl[n].flags & WM8776_FLAG_INVERT) { ctl 499 sound/pci/ice1712/wm8776.c val1 = wm->ctl[n].max - (val1 - wm->ctl[n].min); ctl 500 sound/pci/ice1712/wm8776.c if (wm->ctl[n].flags & WM8776_FLAG_STEREO) ctl 501 sound/pci/ice1712/wm8776.c val2 = wm->ctl[n].max - (val2 - wm->ctl[n].min); ctl 504 sound/pci/ice1712/wm8776.c if (wm->ctl[n].flags & WM8776_FLAG_STEREO) ctl 520 sound/pci/ice1712/wm8776.c if (wm->ctl[n].flags & WM8776_FLAG_INVERT) { ctl 521 sound/pci/ice1712/wm8776.c regval1 = wm->ctl[n].max - (regval1 - wm->ctl[n].min); ctl 522 sound/pci/ice1712/wm8776.c regval2 = wm->ctl[n].max - (regval2 - wm->ctl[n].min); ctl 524 sound/pci/ice1712/wm8776.c if (wm->ctl[n].set) ctl 525 sound/pci/ice1712/wm8776.c wm->ctl[n].set(wm, regval1, regval2); ctl 527 sound/pci/ice1712/wm8776.c val = wm->regs[wm->ctl[n].reg1] & ~wm->ctl[n].mask1; ctl 528 sound/pci/ice1712/wm8776.c val |= regval1 << __ffs(wm->ctl[n].mask1); ctl 530 sound/pci/ice1712/wm8776.c if (wm->ctl[n].flags & WM8776_FLAG_STEREO && ctl 531 sound/pci/ice1712/wm8776.c wm->ctl[n].reg1 == wm->ctl[n].reg2) { ctl 532 sound/pci/ice1712/wm8776.c val &= ~wm->ctl[n].mask2; ctl 533 sound/pci/ice1712/wm8776.c val |= regval2 << __ffs(wm->ctl[n].mask2); ctl 535 sound/pci/ice1712/wm8776.c snd_wm8776_write(wm, wm->ctl[n].reg1, val); ctl 537 sound/pci/ice1712/wm8776.c if (wm->ctl[n].flags & WM8776_FLAG_STEREO && ctl 538 sound/pci/ice1712/wm8776.c wm->ctl[n].reg1 != wm->ctl[n].reg2) { ctl 539 sound/pci/ice1712/wm8776.c val = wm->regs[wm->ctl[n].reg2] & ~wm->ctl[n].mask2; ctl 540 sound/pci/ice1712/wm8776.c val |= regval2 << __ffs(wm->ctl[n].mask2); ctl 541 sound/pci/ice1712/wm8776.c if (wm->ctl[n].flags & WM8776_FLAG_VOL_UPDATE) ctl 543 sound/pci/ice1712/wm8776.c snd_wm8776_write(wm, wm->ctl[n].reg2, val); ctl 553 sound/pci/ice1712/wm8776.c struct snd_kcontrol *ctl; ctl 558 sound/pci/ice1712/wm8776.c cont.name = wm->ctl[num].name; ctl 560 sound/pci/ice1712/wm8776.c if (wm->ctl[num].flags & WM8776_FLAG_LIM || ctl 561 sound/pci/ice1712/wm8776.c wm->ctl[num].flags & WM8776_FLAG_ALC) ctl 567 sound/pci/ice1712/wm8776.c switch (wm->ctl[num].type) { ctl 571 sound/pci/ice1712/wm8776.c cont.tlv.p = wm->ctl[num].tlv; ctl 574 sound/pci/ice1712/wm8776.c wm->ctl[num].max = 1; ctl 575 sound/pci/ice1712/wm8776.c if (wm->ctl[num].flags & WM8776_FLAG_STEREO) ctl 586 sound/pci/ice1712/wm8776.c ctl = snd_ctl_new1(&cont, wm); ctl 587 sound/pci/ice1712/wm8776.c if (!ctl) ctl 590 sound/pci/ice1712/wm8776.c return snd_ctl_add(wm->card, ctl); ctl 598 sound/pci/ice1712/wm8776.c if (wm->ctl[i].name) { ctl 195 sound/pci/ice1712/wm8776.h struct snd_wm8776_ctl ctl[WM8776_CTL_COUNT]; ctl 1637 sound/pci/maestro3.c u8 ctl = inb(chip->iobase + ASSP_CONTROL_B); ctl 1638 sound/pci/maestro3.c if (!(ctl & STOP_ASSP_CLOCK)) { ctl 1639 sound/pci/maestro3.c ctl = inb(chip->iobase + ASSP_HOST_INT_STATUS); ctl 1640 sound/pci/maestro3.c if (ctl & DSP2HOST_REQ_TIMER) { ctl 426 sound/pci/oxygen/oxygen.c static int rolloff_info(struct snd_kcontrol *ctl, ctl 436 sound/pci/oxygen/oxygen.c static int rolloff_get(struct snd_kcontrol *ctl, ctl 439 sound/pci/oxygen/oxygen.c struct oxygen *chip = ctl->private_data; ctl 447 sound/pci/oxygen/oxygen.c static int rolloff_put(struct snd_kcontrol *ctl, ctl 450 sound/pci/oxygen/oxygen.c struct oxygen *chip = ctl->private_data; ctl 479 sound/pci/oxygen/oxygen.c static int hpf_info(struct snd_kcontrol *ctl, struct snd_ctl_elem_info *info) ctl 488 sound/pci/oxygen/oxygen.c static int hpf_get(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) ctl 490 sound/pci/oxygen/oxygen.c struct oxygen *chip = ctl->private_data; ctl 498 sound/pci/oxygen/oxygen.c static int hpf_put(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) ctl 500 sound/pci/oxygen/oxygen.c struct oxygen *chip = ctl->private_data; ctl 524 sound/pci/oxygen/oxygen.c static int meridian_dig_source_info(struct snd_kcontrol *ctl, ctl 532 sound/pci/oxygen/oxygen.c static int claro_dig_source_info(struct snd_kcontrol *ctl, ctl 540 sound/pci/oxygen/oxygen.c static int meridian_dig_source_get(struct snd_kcontrol *ctl, ctl 543 sound/pci/oxygen/oxygen.c struct oxygen *chip = ctl->private_data; ctl 551 sound/pci/oxygen/oxygen.c static int claro_dig_source_get(struct snd_kcontrol *ctl, ctl 554 sound/pci/oxygen/oxygen.c struct oxygen *chip = ctl->private_data; ctl 562 sound/pci/oxygen/oxygen.c static int meridian_dig_source_put(struct snd_kcontrol *ctl, ctl 565 sound/pci/oxygen/oxygen.c struct oxygen *chip = ctl->private_data; ctl 583 sound/pci/oxygen/oxygen.c static int claro_dig_source_put(struct snd_kcontrol *ctl, ctl 586 sound/pci/oxygen/oxygen.c struct oxygen *chip = ctl->private_data; ctl 16 sound/pci/oxygen/oxygen_mixer.c static int dac_volume_info(struct snd_kcontrol *ctl, ctl 19 sound/pci/oxygen/oxygen_mixer.c struct oxygen *chip = ctl->private_data; ctl 28 sound/pci/oxygen/oxygen_mixer.c static int dac_volume_get(struct snd_kcontrol *ctl, ctl 31 sound/pci/oxygen/oxygen_mixer.c struct oxygen *chip = ctl->private_data; ctl 41 sound/pci/oxygen/oxygen_mixer.c static int dac_volume_put(struct snd_kcontrol *ctl, ctl 44 sound/pci/oxygen/oxygen_mixer.c struct oxygen *chip = ctl->private_data; ctl 61 sound/pci/oxygen/oxygen_mixer.c static int dac_mute_get(struct snd_kcontrol *ctl, ctl 64 sound/pci/oxygen/oxygen_mixer.c struct oxygen *chip = ctl->private_data; ctl 72 sound/pci/oxygen/oxygen_mixer.c static int dac_mute_put(struct snd_kcontrol *ctl, ctl 75 sound/pci/oxygen/oxygen_mixer.c struct oxygen *chip = ctl->private_data; ctl 98 sound/pci/oxygen/oxygen_mixer.c static int upmix_info(struct snd_kcontrol *ctl, struct snd_ctl_elem_info *info) ctl 107 sound/pci/oxygen/oxygen_mixer.c struct oxygen *chip = ctl->private_data; ctl 113 sound/pci/oxygen/oxygen_mixer.c static int upmix_get(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) ctl 115 sound/pci/oxygen/oxygen_mixer.c struct oxygen *chip = ctl->private_data; ctl 183 sound/pci/oxygen/oxygen_mixer.c static int upmix_put(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) ctl 185 sound/pci/oxygen/oxygen_mixer.c struct oxygen *chip = ctl->private_data; ctl 201 sound/pci/oxygen/oxygen_mixer.c static int spdif_switch_get(struct snd_kcontrol *ctl, ctl 204 sound/pci/oxygen/oxygen_mixer.c struct oxygen *chip = ctl->private_data; ctl 276 sound/pci/oxygen/oxygen_mixer.c static int spdif_switch_put(struct snd_kcontrol *ctl, ctl 279 sound/pci/oxygen/oxygen_mixer.c struct oxygen *chip = ctl->private_data; ctl 294 sound/pci/oxygen/oxygen_mixer.c static int spdif_info(struct snd_kcontrol *ctl, struct snd_ctl_elem_info *info) ctl 334 sound/pci/oxygen/oxygen_mixer.c static int spdif_default_get(struct snd_kcontrol *ctl, ctl 337 sound/pci/oxygen/oxygen_mixer.c struct oxygen *chip = ctl->private_data; ctl 345 sound/pci/oxygen/oxygen_mixer.c static int spdif_default_put(struct snd_kcontrol *ctl, ctl 348 sound/pci/oxygen/oxygen_mixer.c struct oxygen *chip = ctl->private_data; ctl 364 sound/pci/oxygen/oxygen_mixer.c static int spdif_mask_get(struct snd_kcontrol *ctl, ctl 374 sound/pci/oxygen/oxygen_mixer.c static int spdif_pcm_get(struct snd_kcontrol *ctl, ctl 377 sound/pci/oxygen/oxygen_mixer.c struct oxygen *chip = ctl->private_data; ctl 385 sound/pci/oxygen/oxygen_mixer.c static int spdif_pcm_put(struct snd_kcontrol *ctl, ctl 388 sound/pci/oxygen/oxygen_mixer.c struct oxygen *chip = ctl->private_data; ctl 404 sound/pci/oxygen/oxygen_mixer.c static int spdif_input_mask_get(struct snd_kcontrol *ctl, ctl 414 sound/pci/oxygen/oxygen_mixer.c static int spdif_input_default_get(struct snd_kcontrol *ctl, ctl 417 sound/pci/oxygen/oxygen_mixer.c struct oxygen *chip = ctl->private_data; ctl 428 sound/pci/oxygen/oxygen_mixer.c static int spdif_bit_switch_get(struct snd_kcontrol *ctl, ctl 431 sound/pci/oxygen/oxygen_mixer.c struct oxygen *chip = ctl->private_data; ctl 432 sound/pci/oxygen/oxygen_mixer.c u32 bit = ctl->private_value; ctl 439 sound/pci/oxygen/oxygen_mixer.c static int spdif_bit_switch_put(struct snd_kcontrol *ctl, ctl 442 sound/pci/oxygen/oxygen_mixer.c struct oxygen *chip = ctl->private_data; ctl 443 sound/pci/oxygen/oxygen_mixer.c u32 bit = ctl->private_value; ctl 460 sound/pci/oxygen/oxygen_mixer.c static int monitor_volume_info(struct snd_kcontrol *ctl, ctl 470 sound/pci/oxygen/oxygen_mixer.c static int monitor_get(struct snd_kcontrol *ctl, ctl 473 sound/pci/oxygen/oxygen_mixer.c struct oxygen *chip = ctl->private_data; ctl 474 sound/pci/oxygen/oxygen_mixer.c u8 bit = ctl->private_value; ctl 475 sound/pci/oxygen/oxygen_mixer.c int invert = ctl->private_value & (1 << 8); ctl 482 sound/pci/oxygen/oxygen_mixer.c static int monitor_put(struct snd_kcontrol *ctl, ctl 485 sound/pci/oxygen/oxygen_mixer.c struct oxygen *chip = ctl->private_data; ctl 486 sound/pci/oxygen/oxygen_mixer.c u8 bit = ctl->private_value; ctl 487 sound/pci/oxygen/oxygen_mixer.c int invert = ctl->private_value & (1 << 8); ctl 504 sound/pci/oxygen/oxygen_mixer.c static int ac97_switch_get(struct snd_kcontrol *ctl, ctl 507 sound/pci/oxygen/oxygen_mixer.c struct oxygen *chip = ctl->private_data; ctl 508 sound/pci/oxygen/oxygen_mixer.c unsigned int codec = (ctl->private_value >> 24) & 1; ctl 509 sound/pci/oxygen/oxygen_mixer.c unsigned int index = ctl->private_value & 0xff; ctl 510 sound/pci/oxygen/oxygen_mixer.c unsigned int bitnr = (ctl->private_value >> 8) & 0xff; ctl 511 sound/pci/oxygen/oxygen_mixer.c int invert = ctl->private_value & (1 << 16); ctl 542 sound/pci/oxygen/oxygen_mixer.c static int ac97_switch_put(struct snd_kcontrol *ctl, ctl 545 sound/pci/oxygen/oxygen_mixer.c struct oxygen *chip = ctl->private_data; ctl 546 sound/pci/oxygen/oxygen_mixer.c unsigned int codec = (ctl->private_value >> 24) & 1; ctl 547 sound/pci/oxygen/oxygen_mixer.c unsigned int index = ctl->private_value & 0xff; ctl 548 sound/pci/oxygen/oxygen_mixer.c unsigned int bitnr = (ctl->private_value >> 8) & 0xff; ctl 549 sound/pci/oxygen/oxygen_mixer.c int invert = ctl->private_value & (1 << 16); ctl 586 sound/pci/oxygen/oxygen_mixer.c static int ac97_volume_info(struct snd_kcontrol *ctl, ctl 589 sound/pci/oxygen/oxygen_mixer.c int stereo = (ctl->private_value >> 16) & 1; ctl 598 sound/pci/oxygen/oxygen_mixer.c static int ac97_volume_get(struct snd_kcontrol *ctl, ctl 601 sound/pci/oxygen/oxygen_mixer.c struct oxygen *chip = ctl->private_data; ctl 602 sound/pci/oxygen/oxygen_mixer.c unsigned int codec = (ctl->private_value >> 24) & 1; ctl 603 sound/pci/oxygen/oxygen_mixer.c int stereo = (ctl->private_value >> 16) & 1; ctl 604 sound/pci/oxygen/oxygen_mixer.c unsigned int index = ctl->private_value & 0xff; ctl 619 sound/pci/oxygen/oxygen_mixer.c static int ac97_volume_put(struct snd_kcontrol *ctl, ctl 622 sound/pci/oxygen/oxygen_mixer.c struct oxygen *chip = ctl->private_data; ctl 623 sound/pci/oxygen/oxygen_mixer.c unsigned int codec = (ctl->private_value >> 24) & 1; ctl 624 sound/pci/oxygen/oxygen_mixer.c int stereo = (ctl->private_value >> 16) & 1; ctl 625 sound/pci/oxygen/oxygen_mixer.c unsigned int index = ctl->private_value & 0xff; ctl 646 sound/pci/oxygen/oxygen_mixer.c static int mic_fmic_source_info(struct snd_kcontrol *ctl, ctl 654 sound/pci/oxygen/oxygen_mixer.c static int mic_fmic_source_get(struct snd_kcontrol *ctl, ctl 657 sound/pci/oxygen/oxygen_mixer.c struct oxygen *chip = ctl->private_data; ctl 666 sound/pci/oxygen/oxygen_mixer.c static int mic_fmic_source_put(struct snd_kcontrol *ctl, ctl 669 sound/pci/oxygen/oxygen_mixer.c struct oxygen *chip = ctl->private_data; ctl 686 sound/pci/oxygen/oxygen_mixer.c static int ac97_fp_rec_volume_info(struct snd_kcontrol *ctl, ctl 696 sound/pci/oxygen/oxygen_mixer.c static int ac97_fp_rec_volume_get(struct snd_kcontrol *ctl, ctl 699 sound/pci/oxygen/oxygen_mixer.c struct oxygen *chip = ctl->private_data; ctl 710 sound/pci/oxygen/oxygen_mixer.c static int ac97_fp_rec_volume_put(struct snd_kcontrol *ctl, ctl 713 sound/pci/oxygen/oxygen_mixer.c struct oxygen *chip = ctl->private_data; ctl 1019 sound/pci/oxygen/oxygen_mixer.c static void oxygen_any_ctl_free(struct snd_kcontrol *ctl) ctl 1021 sound/pci/oxygen/oxygen_mixer.c struct oxygen *chip = ctl->private_data; ctl 1045 sound/pci/oxygen/oxygen_mixer.c struct snd_kcontrol *ctl; ctl 1071 sound/pci/oxygen/oxygen_mixer.c ctl = snd_ctl_new1(&template, chip); ctl 1072 sound/pci/oxygen/oxygen_mixer.c if (!ctl) ctl 1074 sound/pci/oxygen/oxygen_mixer.c err = snd_ctl_add(chip->card, ctl); ctl 1077 sound/pci/oxygen/oxygen_mixer.c j = match_string(known_ctl_names, CONTROL_COUNT, ctl->id.name); ctl 1079 sound/pci/oxygen/oxygen_mixer.c chip->controls[j] = ctl; ctl 1080 sound/pci/oxygen/oxygen_mixer.c ctl->private_free = oxygen_any_ctl_free; ctl 30 sound/pci/oxygen/xonar.h int xonar_gpio_bit_switch_get(struct snd_kcontrol *ctl, ctl 32 sound/pci/oxygen/xonar.h int xonar_gpio_bit_switch_put(struct snd_kcontrol *ctl, ctl 283 sound/pci/oxygen/xonar_cs43xx.c static int rolloff_info(struct snd_kcontrol *ctl, ctl 293 sound/pci/oxygen/xonar_cs43xx.c static int rolloff_get(struct snd_kcontrol *ctl, ctl 296 sound/pci/oxygen/xonar_cs43xx.c struct oxygen *chip = ctl->private_data; ctl 304 sound/pci/oxygen/xonar_cs43xx.c static int rolloff_put(struct snd_kcontrol *ctl, ctl 307 sound/pci/oxygen/xonar_cs43xx.c struct oxygen *chip = ctl->private_data; ctl 47 sound/pci/oxygen/xonar_dg_mixer.c static int output_select_info(struct snd_kcontrol *ctl, ctl 59 sound/pci/oxygen/xonar_dg_mixer.c static int output_select_get(struct snd_kcontrol *ctl, ctl 62 sound/pci/oxygen/xonar_dg_mixer.c struct oxygen *chip = ctl->private_data; ctl 71 sound/pci/oxygen/xonar_dg_mixer.c static int output_select_put(struct snd_kcontrol *ctl, ctl 74 sound/pci/oxygen/xonar_dg_mixer.c struct oxygen *chip = ctl->private_data; ctl 94 sound/pci/oxygen/xonar_dg_mixer.c static int hp_stereo_volume_info(struct snd_kcontrol *ctl, ctl 104 sound/pci/oxygen/xonar_dg_mixer.c static int hp_stereo_volume_get(struct snd_kcontrol *ctl, ctl 107 sound/pci/oxygen/xonar_dg_mixer.c struct oxygen *chip = ctl->private_data; ctl 120 sound/pci/oxygen/xonar_dg_mixer.c static int hp_stereo_volume_put(struct snd_kcontrol *ctl, ctl 123 sound/pci/oxygen/xonar_dg_mixer.c struct oxygen *chip = ctl->private_data; ctl 150 sound/pci/oxygen/xonar_dg_mixer.c static int hp_mute_get(struct snd_kcontrol *ctl, ctl 153 sound/pci/oxygen/xonar_dg_mixer.c struct oxygen *chip = ctl->private_data; ctl 163 sound/pci/oxygen/xonar_dg_mixer.c static int hp_mute_put(struct snd_kcontrol *ctl, ctl 166 sound/pci/oxygen/xonar_dg_mixer.c struct oxygen *chip = ctl->private_data; ctl 198 sound/pci/oxygen/xonar_dg_mixer.c static int input_vol_info(struct snd_kcontrol *ctl, ctl 208 sound/pci/oxygen/xonar_dg_mixer.c static int input_vol_get(struct snd_kcontrol *ctl, ctl 211 sound/pci/oxygen/xonar_dg_mixer.c struct oxygen *chip = ctl->private_data; ctl 213 sound/pci/oxygen/xonar_dg_mixer.c unsigned int idx = ctl->private_value; ctl 222 sound/pci/oxygen/xonar_dg_mixer.c static int input_vol_put(struct snd_kcontrol *ctl, ctl 225 sound/pci/oxygen/xonar_dg_mixer.c struct oxygen *chip = ctl->private_data; ctl 227 sound/pci/oxygen/xonar_dg_mixer.c unsigned int idx = ctl->private_value; ctl 269 sound/pci/oxygen/xonar_dg_mixer.c static int input_sel_info(struct snd_kcontrol *ctl, ctl 279 sound/pci/oxygen/xonar_dg_mixer.c static int input_sel_get(struct snd_kcontrol *ctl, ctl 282 sound/pci/oxygen/xonar_dg_mixer.c struct oxygen *chip = ctl->private_data; ctl 291 sound/pci/oxygen/xonar_dg_mixer.c static int input_sel_put(struct snd_kcontrol *ctl, ctl 294 sound/pci/oxygen/xonar_dg_mixer.c struct oxygen *chip = ctl->private_data; ctl 320 sound/pci/oxygen/xonar_dg_mixer.c static int hpf_info(struct snd_kcontrol *ctl, struct snd_ctl_elem_info *info) ctl 327 sound/pci/oxygen/xonar_dg_mixer.c static int hpf_get(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) ctl 329 sound/pci/oxygen/xonar_dg_mixer.c struct oxygen *chip = ctl->private_data; ctl 337 sound/pci/oxygen/xonar_dg_mixer.c static int hpf_put(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) ctl 339 sound/pci/oxygen/xonar_dg_mixer.c struct oxygen *chip = ctl->private_data; ctl 91 sound/pci/oxygen/xonar_lib.c int xonar_gpio_bit_switch_get(struct snd_kcontrol *ctl, ctl 94 sound/pci/oxygen/xonar_lib.c struct oxygen *chip = ctl->private_data; ctl 95 sound/pci/oxygen/xonar_lib.c u16 bit = ctl->private_value; ctl 96 sound/pci/oxygen/xonar_lib.c bool invert = ctl->private_value & XONAR_GPIO_BIT_INVERT; ctl 103 sound/pci/oxygen/xonar_lib.c int xonar_gpio_bit_switch_put(struct snd_kcontrol *ctl, ctl 106 sound/pci/oxygen/xonar_lib.c struct oxygen *chip = ctl->private_data; ctl 107 sound/pci/oxygen/xonar_lib.c u16 bit = ctl->private_value; ctl 108 sound/pci/oxygen/xonar_lib.c bool invert = ctl->private_value & XONAR_GPIO_BIT_INVERT; ctl 734 sound/pci/oxygen/xonar_pcm179x.c static int rolloff_info(struct snd_kcontrol *ctl, ctl 744 sound/pci/oxygen/xonar_pcm179x.c static int rolloff_get(struct snd_kcontrol *ctl, ctl 747 sound/pci/oxygen/xonar_pcm179x.c struct oxygen *chip = ctl->private_data; ctl 756 sound/pci/oxygen/xonar_pcm179x.c static int rolloff_put(struct snd_kcontrol *ctl, ctl 759 sound/pci/oxygen/xonar_pcm179x.c struct oxygen *chip = ctl->private_data; ctl 789 sound/pci/oxygen/xonar_pcm179x.c static int deemph_get(struct snd_kcontrol *ctl, ctl 792 sound/pci/oxygen/xonar_pcm179x.c struct oxygen *chip = ctl->private_data; ctl 800 sound/pci/oxygen/xonar_pcm179x.c static int deemph_put(struct snd_kcontrol *ctl, ctl 803 sound/pci/oxygen/xonar_pcm179x.c struct oxygen *chip = ctl->private_data; ctl 841 sound/pci/oxygen/xonar_pcm179x.c static int st_output_switch_info(struct snd_kcontrol *ctl, ctl 851 sound/pci/oxygen/xonar_pcm179x.c static int st_output_switch_get(struct snd_kcontrol *ctl, ctl 854 sound/pci/oxygen/xonar_pcm179x.c struct oxygen *chip = ctl->private_data; ctl 868 sound/pci/oxygen/xonar_pcm179x.c static int st_output_switch_put(struct snd_kcontrol *ctl, ctl 871 sound/pci/oxygen/xonar_pcm179x.c struct oxygen *chip = ctl->private_data; ctl 896 sound/pci/oxygen/xonar_pcm179x.c static int st_hp_volume_offset_info(struct snd_kcontrol *ctl, ctl 906 sound/pci/oxygen/xonar_pcm179x.c static int st_hp_volume_offset_get(struct snd_kcontrol *ctl, ctl 909 sound/pci/oxygen/xonar_pcm179x.c struct oxygen *chip = ctl->private_data; ctl 926 sound/pci/oxygen/xonar_pcm179x.c static int st_hp_volume_offset_put(struct snd_kcontrol *ctl, ctl 930 sound/pci/oxygen/xonar_pcm179x.c struct oxygen *chip = ctl->private_data; ctl 965 sound/pci/oxygen/xonar_pcm179x.c static int xense_output_switch_get(struct snd_kcontrol *ctl, ctl 968 sound/pci/oxygen/xonar_pcm179x.c struct oxygen *chip = ctl->private_data; ctl 981 sound/pci/oxygen/xonar_pcm179x.c static int xense_output_switch_put(struct snd_kcontrol *ctl, ctl 984 sound/pci/oxygen/xonar_pcm179x.c struct oxygen *chip = ctl->private_data; ctl 497 sound/pci/oxygen/xonar_wm87x6.c static int wm8776_bit_switch_get(struct snd_kcontrol *ctl, ctl 500 sound/pci/oxygen/xonar_wm87x6.c struct oxygen *chip = ctl->private_data; ctl 502 sound/pci/oxygen/xonar_wm87x6.c u16 bit = ctl->private_value & 0xffff; ctl 503 sound/pci/oxygen/xonar_wm87x6.c unsigned int reg_index = (ctl->private_value >> 16) & 0xff; ctl 504 sound/pci/oxygen/xonar_wm87x6.c bool invert = (ctl->private_value >> 24) & 1; ctl 511 sound/pci/oxygen/xonar_wm87x6.c static int wm8776_bit_switch_put(struct snd_kcontrol *ctl, ctl 514 sound/pci/oxygen/xonar_wm87x6.c struct oxygen *chip = ctl->private_data; ctl 516 sound/pci/oxygen/xonar_wm87x6.c u16 bit = ctl->private_value & 0xffff; ctl 518 sound/pci/oxygen/xonar_wm87x6.c unsigned int reg_index = (ctl->private_value >> 16) & 0xff; ctl 519 sound/pci/oxygen/xonar_wm87x6.c bool invert = (ctl->private_value >> 24) & 1; ctl 533 sound/pci/oxygen/xonar_wm87x6.c static int wm8776_field_enum_info(struct snd_kcontrol *ctl, ctl 569 sound/pci/oxygen/xonar_wm87x6.c max = (ctl->private_value >> 12) & 0xf; ctl 570 sound/pci/oxygen/xonar_wm87x6.c switch ((ctl->private_value >> 24) & 0x1f) { ctl 575 sound/pci/oxygen/xonar_wm87x6.c if (((ctl->private_value >> 20) & 0xf) == 0) { ctl 576 sound/pci/oxygen/xonar_wm87x6.c if (ctl->private_value & LC_CONTROL_LIMITER) ctl 581 sound/pci/oxygen/xonar_wm87x6.c if (ctl->private_value & LC_CONTROL_LIMITER) ctl 596 sound/pci/oxygen/xonar_wm87x6.c static int wm8776_field_volume_info(struct snd_kcontrol *ctl, ctl 601 sound/pci/oxygen/xonar_wm87x6.c info->value.integer.min = (ctl->private_value >> 8) & 0xf; ctl 602 sound/pci/oxygen/xonar_wm87x6.c info->value.integer.max = (ctl->private_value >> 12) & 0xf; ctl 606 sound/pci/oxygen/xonar_wm87x6.c static void wm8776_field_set_from_ctl(struct snd_kcontrol *ctl) ctl 608 sound/pci/oxygen/xonar_wm87x6.c struct oxygen *chip = ctl->private_data; ctl 620 sound/pci/oxygen/xonar_wm87x6.c if (!(ctl->private_value & mode)) ctl 623 sound/pci/oxygen/xonar_wm87x6.c value = ctl->private_value & 0xf; ctl 624 sound/pci/oxygen/xonar_wm87x6.c min = (ctl->private_value >> 8) & 0xf; ctl 625 sound/pci/oxygen/xonar_wm87x6.c max = (ctl->private_value >> 12) & 0xf; ctl 626 sound/pci/oxygen/xonar_wm87x6.c mask = (ctl->private_value >> 16) & 0xf; ctl 627 sound/pci/oxygen/xonar_wm87x6.c shift = (ctl->private_value >> 20) & 0xf; ctl 628 sound/pci/oxygen/xonar_wm87x6.c reg_index = (ctl->private_value >> 24) & 0x1f; ctl 629 sound/pci/oxygen/xonar_wm87x6.c invert = (ctl->private_value >> 29) & 0x1; ctl 639 sound/pci/oxygen/xonar_wm87x6.c static int wm8776_field_set(struct snd_kcontrol *ctl, unsigned int value) ctl 641 sound/pci/oxygen/xonar_wm87x6.c struct oxygen *chip = ctl->private_data; ctl 645 sound/pci/oxygen/xonar_wm87x6.c min = (ctl->private_value >> 8) & 0xf; ctl 646 sound/pci/oxygen/xonar_wm87x6.c max = (ctl->private_value >> 12) & 0xf; ctl 650 sound/pci/oxygen/xonar_wm87x6.c changed = value != (ctl->private_value & 0xf); ctl 652 sound/pci/oxygen/xonar_wm87x6.c ctl->private_value = (ctl->private_value & ~0xf) | value; ctl 653 sound/pci/oxygen/xonar_wm87x6.c wm8776_field_set_from_ctl(ctl); ctl 659 sound/pci/oxygen/xonar_wm87x6.c static int wm8776_field_enum_get(struct snd_kcontrol *ctl, ctl 662 sound/pci/oxygen/xonar_wm87x6.c value->value.enumerated.item[0] = ctl->private_value & 0xf; ctl 666 sound/pci/oxygen/xonar_wm87x6.c static int wm8776_field_volume_get(struct snd_kcontrol *ctl, ctl 669 sound/pci/oxygen/xonar_wm87x6.c value->value.integer.value[0] = ctl->private_value & 0xf; ctl 673 sound/pci/oxygen/xonar_wm87x6.c static int wm8776_field_enum_put(struct snd_kcontrol *ctl, ctl 676 sound/pci/oxygen/xonar_wm87x6.c return wm8776_field_set(ctl, value->value.enumerated.item[0]); ctl 679 sound/pci/oxygen/xonar_wm87x6.c static int wm8776_field_volume_put(struct snd_kcontrol *ctl, ctl 682 sound/pci/oxygen/xonar_wm87x6.c return wm8776_field_set(ctl, value->value.integer.value[0]); ctl 685 sound/pci/oxygen/xonar_wm87x6.c static int wm8776_hp_vol_info(struct snd_kcontrol *ctl, ctl 695 sound/pci/oxygen/xonar_wm87x6.c static int wm8776_hp_vol_get(struct snd_kcontrol *ctl, ctl 698 sound/pci/oxygen/xonar_wm87x6.c struct oxygen *chip = ctl->private_data; ctl 710 sound/pci/oxygen/xonar_wm87x6.c static int wm8776_hp_vol_put(struct snd_kcontrol *ctl, ctl 713 sound/pci/oxygen/xonar_wm87x6.c struct oxygen *chip = ctl->private_data; ctl 749 sound/pci/oxygen/xonar_wm87x6.c static int wm8776_input_mux_get(struct snd_kcontrol *ctl, ctl 752 sound/pci/oxygen/xonar_wm87x6.c struct oxygen *chip = ctl->private_data; ctl 754 sound/pci/oxygen/xonar_wm87x6.c unsigned int mux_bit = ctl->private_value; ctl 761 sound/pci/oxygen/xonar_wm87x6.c static int wm8776_input_mux_put(struct snd_kcontrol *ctl, ctl 764 sound/pci/oxygen/xonar_wm87x6.c struct oxygen *chip = ctl->private_data; ctl 767 sound/pci/oxygen/xonar_wm87x6.c unsigned int mux_bit = ctl->private_value; ctl 799 sound/pci/oxygen/xonar_wm87x6.c static int wm8776_input_vol_info(struct snd_kcontrol *ctl, ctl 809 sound/pci/oxygen/xonar_wm87x6.c static int wm8776_input_vol_get(struct snd_kcontrol *ctl, ctl 812 sound/pci/oxygen/xonar_wm87x6.c struct oxygen *chip = ctl->private_data; ctl 824 sound/pci/oxygen/xonar_wm87x6.c static int wm8776_input_vol_put(struct snd_kcontrol *ctl, ctl 827 sound/pci/oxygen/xonar_wm87x6.c struct oxygen *chip = ctl->private_data; ctl 844 sound/pci/oxygen/xonar_wm87x6.c static int wm8776_level_control_info(struct snd_kcontrol *ctl, ctl 854 sound/pci/oxygen/xonar_wm87x6.c static int wm8776_level_control_get(struct snd_kcontrol *ctl, ctl 857 sound/pci/oxygen/xonar_wm87x6.c struct oxygen *chip = ctl->private_data; ctl 871 sound/pci/oxygen/xonar_wm87x6.c struct snd_kcontrol *ctl, unsigned int mode) ctl 875 sound/pci/oxygen/xonar_wm87x6.c if (ctl->private_value & mode) ctl 879 sound/pci/oxygen/xonar_wm87x6.c if ((ctl->vd[0].access & SNDRV_CTL_ELEM_ACCESS_INACTIVE) != access) { ctl 880 sound/pci/oxygen/xonar_wm87x6.c ctl->vd[0].access ^= SNDRV_CTL_ELEM_ACCESS_INACTIVE; ctl 881 sound/pci/oxygen/xonar_wm87x6.c snd_ctl_notify(chip->card, SNDRV_CTL_EVENT_MASK_INFO, &ctl->id); ctl 885 sound/pci/oxygen/xonar_wm87x6.c static int wm8776_level_control_put(struct snd_kcontrol *ctl, ctl 888 sound/pci/oxygen/xonar_wm87x6.c struct oxygen *chip = ctl->private_data; ctl 897 sound/pci/oxygen/xonar_wm87x6.c changed = value->value.enumerated.item[0] != ctl->private_value; ctl 899 sound/pci/oxygen/xonar_wm87x6.c ctl->private_value = value->value.enumerated.item[0]; ctl 931 sound/pci/oxygen/xonar_wm87x6.c static int hpf_info(struct snd_kcontrol *ctl, struct snd_ctl_elem_info *info) ctl 940 sound/pci/oxygen/xonar_wm87x6.c static int hpf_get(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) ctl 942 sound/pci/oxygen/xonar_wm87x6.c struct oxygen *chip = ctl->private_data; ctl 950 sound/pci/oxygen/xonar_wm87x6.c static int hpf_put(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value) ctl 952 sound/pci/oxygen/xonar_wm87x6.c struct oxygen *chip = ctl->private_data; ctl 1159 sound/pci/oxygen/xonar_wm87x6.c struct snd_kcontrol *ctl; ctl 1164 sound/pci/oxygen/xonar_wm87x6.c ctl = snd_ctl_new1(&lc_controls[i], chip); ctl 1165 sound/pci/oxygen/xonar_wm87x6.c if (!ctl) ctl 1167 sound/pci/oxygen/xonar_wm87x6.c err = snd_ctl_add(chip->card, ctl); ctl 1170 sound/pci/oxygen/xonar_wm87x6.c data->lc_controls[i] = ctl; ctl 1179 sound/pci/oxygen/xonar_wm87x6.c struct snd_kcontrol *ctl; ctl 1183 sound/pci/oxygen/xonar_wm87x6.c ctl = snd_ctl_new1(&ds_controls[i], chip); ctl 1184 sound/pci/oxygen/xonar_wm87x6.c if (!ctl) ctl 1186 sound/pci/oxygen/xonar_wm87x6.c err = snd_ctl_add(chip->card, ctl); ctl 1189 sound/pci/oxygen/xonar_wm87x6.c if (!strcmp(ctl->id.name, "Line Capture Switch")) ctl 1190 sound/pci/oxygen/xonar_wm87x6.c data->line_adcmux_control = ctl; ctl 1191 sound/pci/oxygen/xonar_wm87x6.c else if (!strcmp(ctl->id.name, "Mic Capture Switch")) ctl 1192 sound/pci/oxygen/xonar_wm87x6.c data->mic_adcmux_control = ctl; ctl 1203 sound/pci/oxygen/xonar_wm87x6.c struct snd_kcontrol *ctl; ctl 1207 sound/pci/oxygen/xonar_wm87x6.c ctl = snd_ctl_new1(&hdav_slim_controls[i], chip); ctl 1208 sound/pci/oxygen/xonar_wm87x6.c if (!ctl) ctl 1210 sound/pci/oxygen/xonar_wm87x6.c err = snd_ctl_add(chip->card, ctl); ctl 340 sound/pci/ymfpci/ymfpci.h struct snd_kcontrol *ctl; ctl 400 sound/pci/ymfpci/ymfpci_main.c kctl = chip->pcm_mixer[substream->number].ctl; ctl 679 sound/pci/ymfpci/ymfpci_main.c kctl = chip->pcm_mixer[substream->number].ctl; ctl 1870 sound/pci/ymfpci/ymfpci_main.c chip->pcm_mixer[idx].ctl = kctl; ctl 428 sound/soc/codecs/msm8916-wcd-digital.c struct wcd_iir_filter_ctl *ctl = ctl 430 sound/soc/codecs/msm8916-wcd-digital.c struct soc_bytes_ext *params = &ctl->bytes_ext; ctl 431 sound/soc/codecs/msm8916-wcd-digital.c int iir_idx = ctl->iir_idx; ctl 432 sound/soc/codecs/msm8916-wcd-digital.c int band_idx = ctl->band_idx; ctl 474 sound/soc/codecs/msm8916-wcd-digital.c struct wcd_iir_filter_ctl *ctl = ctl 476 sound/soc/codecs/msm8916-wcd-digital.c struct soc_bytes_ext *params = &ctl->bytes_ext; ctl 477 sound/soc/codecs/msm8916-wcd-digital.c int iir_idx = ctl->iir_idx; ctl 478 sound/soc/codecs/msm8916-wcd-digital.c int band_idx = ctl->band_idx; ctl 501 sound/soc/codecs/msm8916-wcd-digital.c struct wcd_iir_filter_ctl *ctl = ctl 503 sound/soc/codecs/msm8916-wcd-digital.c struct soc_bytes_ext *params = &ctl->bytes_ext; ctl 269 sound/soc/codecs/tscs42xx.c struct coeff_ram_ctl *ctl = ctl 271 sound/soc/codecs/tscs42xx.c struct soc_bytes_ext *params = &ctl->bytes_ext; ctl 276 sound/soc/codecs/tscs42xx.c &tscs42xx->coeff_ram[ctl->addr * COEFF_SIZE], params->max); ctl 289 sound/soc/codecs/tscs42xx.c struct coeff_ram_ctl *ctl = ctl 291 sound/soc/codecs/tscs42xx.c struct soc_bytes_ext *params = &ctl->bytes_ext; ctl 299 sound/soc/codecs/tscs42xx.c memcpy(&tscs42xx->coeff_ram[ctl->addr * COEFF_SIZE], ctl 306 sound/soc/codecs/tscs42xx.c ctl->addr, coeff_cnt); ctl 606 sound/soc/codecs/tscs42xx.c struct coeff_ram_ctl *ctl = ctl 608 sound/soc/codecs/tscs42xx.c struct soc_bytes_ext *params = &ctl->bytes_ext; ctl 313 sound/soc/codecs/tscs454.c struct coeff_ram_ctl *ctl = ctl 315 sound/soc/codecs/tscs454.c struct soc_bytes_ext *params = &ctl->bytes_ext; ctl 335 sound/soc/codecs/tscs454.c &coeff_ram[ctl->addr * COEFF_SIZE], params->max); ctl 399 sound/soc/codecs/tscs454.c struct coeff_ram_ctl *ctl = ctl 401 sound/soc/codecs/tscs454.c struct soc_bytes_ext *params = &ctl->bytes_ext; ctl 441 sound/soc/codecs/tscs454.c memcpy(&coeff_ram[ctl->addr * COEFF_SIZE], ctl 456 sound/soc/codecs/tscs454.c ctl->addr, coeff_cnt); ctl 1488 sound/soc/codecs/tscs454.c struct coeff_ram_ctl *ctl = ctl 1490 sound/soc/codecs/tscs454.c struct soc_bytes_ext *params = &ctl->bytes_ext; ctl 928 sound/soc/codecs/wm_adsp.c static int wm_coeff_base_reg(struct wm_coeff_ctl *ctl, unsigned int *reg) ctl 930 sound/soc/codecs/wm_adsp.c const struct wm_adsp_alg_region *alg_region = &ctl->alg_region; ctl 931 sound/soc/codecs/wm_adsp.c struct wm_adsp *dsp = ctl->dsp; ctl 941 sound/soc/codecs/wm_adsp.c *reg = dsp->ops->region_to_reg(mem, ctl->alg_region.base + ctl->offset); ctl 951 sound/soc/codecs/wm_adsp.c struct wm_coeff_ctl *ctl = bytes_ext_to_ctl(bytes_ext); ctl 953 sound/soc/codecs/wm_adsp.c switch (ctl->type) { ctl 963 sound/soc/codecs/wm_adsp.c uinfo->count = ctl->len; ctl 970 sound/soc/codecs/wm_adsp.c static int wm_coeff_write_acked_control(struct wm_coeff_ctl *ctl, ctl 973 sound/soc/codecs/wm_adsp.c struct wm_adsp *dsp = ctl->dsp; ctl 978 sound/soc/codecs/wm_adsp.c ret = wm_coeff_base_reg(ctl, ®); ctl 983 sound/soc/codecs/wm_adsp.c event_id, ctl->alg_region.alg, ctl 984 sound/soc/codecs/wm_adsp.c wm_adsp_mem_region_name(ctl->alg_region.type), ctl->offset); ctl 1023 sound/soc/codecs/wm_adsp.c reg, ctl->alg_region.alg, ctl 1024 sound/soc/codecs/wm_adsp.c wm_adsp_mem_region_name(ctl->alg_region.type), ctl 1025 sound/soc/codecs/wm_adsp.c ctl->offset); ctl 1030 sound/soc/codecs/wm_adsp.c static int wm_coeff_write_control(struct wm_coeff_ctl *ctl, ctl 1033 sound/soc/codecs/wm_adsp.c struct wm_adsp *dsp = ctl->dsp; ctl 1038 sound/soc/codecs/wm_adsp.c ret = wm_coeff_base_reg(ctl, ®); ctl 1066 sound/soc/codecs/wm_adsp.c struct wm_coeff_ctl *ctl = bytes_ext_to_ctl(bytes_ext); ctl 1070 sound/soc/codecs/wm_adsp.c mutex_lock(&ctl->dsp->pwr_lock); ctl 1072 sound/soc/codecs/wm_adsp.c if (ctl->flags & WMFW_CTL_FLAG_VOLATILE) ctl 1075 sound/soc/codecs/wm_adsp.c memcpy(ctl->cache, p, ctl->len); ctl 1077 sound/soc/codecs/wm_adsp.c ctl->set = 1; ctl 1078 sound/soc/codecs/wm_adsp.c if (ctl->enabled && ctl->dsp->running) ctl 1079 sound/soc/codecs/wm_adsp.c ret = wm_coeff_write_control(ctl, p, ctl->len); ctl 1081 sound/soc/codecs/wm_adsp.c mutex_unlock(&ctl->dsp->pwr_lock); ctl 1091 sound/soc/codecs/wm_adsp.c struct wm_coeff_ctl *ctl = bytes_ext_to_ctl(bytes_ext); ctl 1094 sound/soc/codecs/wm_adsp.c mutex_lock(&ctl->dsp->pwr_lock); ctl 1096 sound/soc/codecs/wm_adsp.c if (copy_from_user(ctl->cache, bytes, size)) { ctl 1099 sound/soc/codecs/wm_adsp.c ctl->set = 1; ctl 1100 sound/soc/codecs/wm_adsp.c if (ctl->enabled && ctl->dsp->running) ctl 1101 sound/soc/codecs/wm_adsp.c ret = wm_coeff_write_control(ctl, ctl->cache, size); ctl 1102 sound/soc/codecs/wm_adsp.c else if (ctl->flags & WMFW_CTL_FLAG_VOLATILE) ctl 1106 sound/soc/codecs/wm_adsp.c mutex_unlock(&ctl->dsp->pwr_lock); ctl 1116 sound/soc/codecs/wm_adsp.c struct wm_coeff_ctl *ctl = bytes_ext_to_ctl(bytes_ext); ctl 1123 sound/soc/codecs/wm_adsp.c mutex_lock(&ctl->dsp->pwr_lock); ctl 1125 sound/soc/codecs/wm_adsp.c if (ctl->enabled && ctl->dsp->running) ctl 1126 sound/soc/codecs/wm_adsp.c ret = wm_coeff_write_acked_control(ctl, val); ctl 1130 sound/soc/codecs/wm_adsp.c mutex_unlock(&ctl->dsp->pwr_lock); ctl 1135 sound/soc/codecs/wm_adsp.c static int wm_coeff_read_control(struct wm_coeff_ctl *ctl, ctl 1138 sound/soc/codecs/wm_adsp.c struct wm_adsp *dsp = ctl->dsp; ctl 1143 sound/soc/codecs/wm_adsp.c ret = wm_coeff_base_reg(ctl, ®); ctl 1171 sound/soc/codecs/wm_adsp.c struct wm_coeff_ctl *ctl = bytes_ext_to_ctl(bytes_ext); ctl 1175 sound/soc/codecs/wm_adsp.c mutex_lock(&ctl->dsp->pwr_lock); ctl 1177 sound/soc/codecs/wm_adsp.c if (ctl->flags & WMFW_CTL_FLAG_VOLATILE) { ctl 1178 sound/soc/codecs/wm_adsp.c if (ctl->enabled && ctl->dsp->running) ctl 1179 sound/soc/codecs/wm_adsp.c ret = wm_coeff_read_control(ctl, p, ctl->len); ctl 1183 sound/soc/codecs/wm_adsp.c if (!ctl->flags && ctl->enabled && ctl->dsp->running) ctl 1184 sound/soc/codecs/wm_adsp.c ret = wm_coeff_read_control(ctl, ctl->cache, ctl->len); ctl 1186 sound/soc/codecs/wm_adsp.c memcpy(p, ctl->cache, ctl->len); ctl 1189 sound/soc/codecs/wm_adsp.c mutex_unlock(&ctl->dsp->pwr_lock); ctl 1199 sound/soc/codecs/wm_adsp.c struct wm_coeff_ctl *ctl = bytes_ext_to_ctl(bytes_ext); ctl 1202 sound/soc/codecs/wm_adsp.c mutex_lock(&ctl->dsp->pwr_lock); ctl 1204 sound/soc/codecs/wm_adsp.c if (ctl->flags & WMFW_CTL_FLAG_VOLATILE) { ctl 1205 sound/soc/codecs/wm_adsp.c if (ctl->enabled && ctl->dsp->running) ctl 1206 sound/soc/codecs/wm_adsp.c ret = wm_coeff_read_control(ctl, ctl->cache, size); ctl 1210 sound/soc/codecs/wm_adsp.c if (!ctl->flags && ctl->enabled && ctl->dsp->running) ctl 1211 sound/soc/codecs/wm_adsp.c ret = wm_coeff_read_control(ctl, ctl->cache, size); ctl 1214 sound/soc/codecs/wm_adsp.c if (!ret && copy_to_user(bytes, ctl->cache, size)) ctl 1217 sound/soc/codecs/wm_adsp.c mutex_unlock(&ctl->dsp->pwr_lock); ctl 1239 sound/soc/codecs/wm_adsp.c struct wm_coeff_ctl *ctl; ctl 1274 sound/soc/codecs/wm_adsp.c static int wmfw_add_ctl(struct wm_adsp *dsp, struct wm_coeff_ctl *ctl) ctl 1279 sound/soc/codecs/wm_adsp.c if (!ctl || !ctl->name) ctl 1286 sound/soc/codecs/wm_adsp.c kcontrol->name = ctl->name; ctl 1290 sound/soc/codecs/wm_adsp.c kcontrol->private_value = (unsigned long)&ctl->bytes_ext; ctl 1291 sound/soc/codecs/wm_adsp.c kcontrol->access = wmfw_convert_flags(ctl->flags, ctl->len); ctl 1293 sound/soc/codecs/wm_adsp.c switch (ctl->type) { ctl 1300 sound/soc/codecs/wm_adsp.c ctl->bytes_ext.max = ctl->len; ctl 1301 sound/soc/codecs/wm_adsp.c ctl->bytes_ext.get = wm_coeff_tlv_get; ctl 1302 sound/soc/codecs/wm_adsp.c ctl->bytes_ext.put = wm_coeff_tlv_put; ctl 1325 sound/soc/codecs/wm_adsp.c struct wm_coeff_ctl *ctl; ctl 1328 sound/soc/codecs/wm_adsp.c list_for_each_entry(ctl, &dsp->ctl_list, list) { ctl 1329 sound/soc/codecs/wm_adsp.c if (!ctl->enabled || ctl->set) ctl 1331 sound/soc/codecs/wm_adsp.c if (ctl->flags & WMFW_CTL_FLAG_VOLATILE) ctl 1339 sound/soc/codecs/wm_adsp.c if (!ctl->flags || (ctl->flags & WMFW_CTL_FLAG_READABLE)) { ctl 1340 sound/soc/codecs/wm_adsp.c ret = wm_coeff_read_control(ctl, ctl->cache, ctl->len); ctl 1351 sound/soc/codecs/wm_adsp.c struct wm_coeff_ctl *ctl; ctl 1354 sound/soc/codecs/wm_adsp.c list_for_each_entry(ctl, &dsp->ctl_list, list) { ctl 1355 sound/soc/codecs/wm_adsp.c if (!ctl->enabled) ctl 1357 sound/soc/codecs/wm_adsp.c if (ctl->set && !(ctl->flags & WMFW_CTL_FLAG_VOLATILE)) { ctl 1358 sound/soc/codecs/wm_adsp.c ret = wm_coeff_write_control(ctl, ctl->cache, ctl->len); ctl 1370 sound/soc/codecs/wm_adsp.c struct wm_coeff_ctl *ctl; ctl 1373 sound/soc/codecs/wm_adsp.c list_for_each_entry(ctl, &dsp->ctl_list, list) { ctl 1374 sound/soc/codecs/wm_adsp.c if (ctl->type != WMFW_CTL_TYPE_HOSTEVENT) ctl 1377 sound/soc/codecs/wm_adsp.c if (!ctl->enabled) ctl 1380 sound/soc/codecs/wm_adsp.c ret = wm_coeff_write_acked_control(ctl, event); ctl 1384 sound/soc/codecs/wm_adsp.c event, ctl->alg_region.alg, ret); ctl 1394 sound/soc/codecs/wm_adsp.c wmfw_add_ctl(ctl_work->dsp, ctl_work->ctl); ctl 1398 sound/soc/codecs/wm_adsp.c static void wm_adsp_free_ctl_blk(struct wm_coeff_ctl *ctl) ctl 1400 sound/soc/codecs/wm_adsp.c kfree(ctl->cache); ctl 1401 sound/soc/codecs/wm_adsp.c kfree(ctl->name); ctl 1402 sound/soc/codecs/wm_adsp.c kfree(ctl); ctl 1411 sound/soc/codecs/wm_adsp.c struct wm_coeff_ctl *ctl; ctl 1457 sound/soc/codecs/wm_adsp.c list_for_each_entry(ctl, &dsp->ctl_list, list) { ctl 1458 sound/soc/codecs/wm_adsp.c if (!strcmp(ctl->name, name)) { ctl 1459 sound/soc/codecs/wm_adsp.c if (!ctl->enabled) ctl 1460 sound/soc/codecs/wm_adsp.c ctl->enabled = 1; ctl 1465 sound/soc/codecs/wm_adsp.c ctl = kzalloc(sizeof(*ctl), GFP_KERNEL); ctl 1466 sound/soc/codecs/wm_adsp.c if (!ctl) ctl 1468 sound/soc/codecs/wm_adsp.c ctl->fw_name = wm_adsp_fw_text[dsp->fw]; ctl 1469 sound/soc/codecs/wm_adsp.c ctl->alg_region = *alg_region; ctl 1470 sound/soc/codecs/wm_adsp.c ctl->name = kmemdup(name, strlen(name) + 1, GFP_KERNEL); ctl 1471 sound/soc/codecs/wm_adsp.c if (!ctl->name) { ctl 1475 sound/soc/codecs/wm_adsp.c ctl->enabled = 1; ctl 1476 sound/soc/codecs/wm_adsp.c ctl->set = 0; ctl 1477 sound/soc/codecs/wm_adsp.c ctl->ops.xget = wm_coeff_get; ctl 1478 sound/soc/codecs/wm_adsp.c ctl->ops.xput = wm_coeff_put; ctl 1479 sound/soc/codecs/wm_adsp.c ctl->dsp = dsp; ctl 1481 sound/soc/codecs/wm_adsp.c ctl->flags = flags; ctl 1482 sound/soc/codecs/wm_adsp.c ctl->type = type; ctl 1483 sound/soc/codecs/wm_adsp.c ctl->offset = offset; ctl 1484 sound/soc/codecs/wm_adsp.c ctl->len = len; ctl 1485 sound/soc/codecs/wm_adsp.c ctl->cache = kzalloc(ctl->len, GFP_KERNEL); ctl 1486 sound/soc/codecs/wm_adsp.c if (!ctl->cache) { ctl 1491 sound/soc/codecs/wm_adsp.c list_add(&ctl->list, &dsp->ctl_list); ctl 1503 sound/soc/codecs/wm_adsp.c ctl_work->ctl = ctl; ctl 1510 sound/soc/codecs/wm_adsp.c kfree(ctl->cache); ctl 1512 sound/soc/codecs/wm_adsp.c kfree(ctl->name); ctl 1514 sound/soc/codecs/wm_adsp.c kfree(ctl); ctl 2001 sound/soc/codecs/wm_adsp.c struct wm_coeff_ctl *ctl; ctl 2003 sound/soc/codecs/wm_adsp.c list_for_each_entry(ctl, &dsp->ctl_list, list) { ctl 2004 sound/soc/codecs/wm_adsp.c if (ctl->fw_name == wm_adsp_fw_text[dsp->fw] && ctl 2005 sound/soc/codecs/wm_adsp.c alg_region->alg == ctl->alg_region.alg && ctl 2006 sound/soc/codecs/wm_adsp.c alg_region->type == ctl->alg_region.type) { ctl 2007 sound/soc/codecs/wm_adsp.c ctl->alg_region.base = alg_region->base; ctl 2705 sound/soc/codecs/wm_adsp.c struct wm_coeff_ctl *ctl; ctl 2788 sound/soc/codecs/wm_adsp.c list_for_each_entry(ctl, &dsp->ctl_list, list) ctl 2789 sound/soc/codecs/wm_adsp.c ctl->enabled = 0; ctl 3077 sound/soc/codecs/wm_adsp.c struct wm_coeff_ctl *ctl; ctl 3096 sound/soc/codecs/wm_adsp.c list_for_each_entry(ctl, &dsp->ctl_list, list) ctl 3097 sound/soc/codecs/wm_adsp.c ctl->enabled = 0; ctl 3323 sound/soc/codecs/wm_adsp.c struct wm_coeff_ctl *ctl; ctl 3326 sound/soc/codecs/wm_adsp.c ctl = list_first_entry(&dsp->ctl_list, struct wm_coeff_ctl, ctl 3328 sound/soc/codecs/wm_adsp.c list_del(&ctl->list); ctl 3329 sound/soc/codecs/wm_adsp.c wm_adsp_free_ctl_blk(ctl); ctl 3746 sound/soc/codecs/wm_adsp.c static int wm_adsp_buffer_parse_coeff(struct wm_coeff_ctl *ctl) ctl 3753 sound/soc/codecs/wm_adsp.c ret = wm_coeff_base_reg(ctl, ®); ctl 3758 sound/soc/codecs/wm_adsp.c ret = regmap_raw_read(ctl->dsp->regmap, reg, &val, sizeof(val)); ctl 3769 sound/soc/codecs/wm_adsp.c adsp_err(ctl->dsp, "Failed to acquire host buffer\n"); ctl 3773 sound/soc/codecs/wm_adsp.c buf = wm_adsp_buffer_alloc(ctl->dsp); ctl 3777 sound/soc/codecs/wm_adsp.c buf->host_buf_mem_type = ctl->alg_region.type; ctl 3788 sound/soc/codecs/wm_adsp.c if (ctl->len == 4) { ctl 3793 sound/soc/codecs/wm_adsp.c ret = regmap_raw_read(ctl->dsp->regmap, reg, &coeff_v1, ctl 3803 sound/soc/codecs/wm_adsp.c adsp_err(ctl->dsp, ctl 3816 sound/soc/codecs/wm_adsp.c buf->name = kasprintf(GFP_KERNEL, "%s-dsp-%s", ctl->dsp->part, ctl 3827 sound/soc/codecs/wm_adsp.c struct wm_coeff_ctl *ctl; ctl 3830 sound/soc/codecs/wm_adsp.c list_for_each_entry(ctl, &dsp->ctl_list, list) { ctl 3831 sound/soc/codecs/wm_adsp.c if (ctl->type != WMFW_CTL_TYPE_HOST_BUFFER) ctl 3834 sound/soc/codecs/wm_adsp.c if (!ctl->enabled) ctl 3837 sound/soc/codecs/wm_adsp.c ret = wm_adsp_buffer_parse_coeff(ctl); ctl 80 sound/soc/img/img-parallel-out.c u32 ctl; ctl 82 sound/soc/img/img-parallel-out.c ctl = img_prl_out_readl(prl, IMG_PRL_OUT_CTL) & ctl 88 sound/soc/img/img-parallel-out.c img_prl_out_writel(prl, ctl, IMG_PRL_OUT_CTL); ctl 96 sound/soc/img/img-spdif-out.c u32 ctl, status_low, status_high; ctl 98 sound/soc/img/img-spdif-out.c ctl = img_spdif_out_readl(spdif, IMG_SPDIF_OUT_CTL) & ctl 106 sound/soc/img/img-spdif-out.c img_spdif_out_writel(spdif, ctl, IMG_SPDIF_OUT_CTL); ctl 219 sound/soc/kirkwood/kirkwood-i2s.c static unsigned kirkwood_i2s_play_mute(unsigned ctl) ctl 221 sound/soc/kirkwood/kirkwood-i2s.c if (!(ctl & KIRKWOOD_PLAYCTL_I2S_EN)) ctl 222 sound/soc/kirkwood/kirkwood-i2s.c ctl |= KIRKWOOD_PLAYCTL_I2S_MUTE; ctl 223 sound/soc/kirkwood/kirkwood-i2s.c if (!(ctl & KIRKWOOD_PLAYCTL_SPDIF_EN)) ctl 224 sound/soc/kirkwood/kirkwood-i2s.c ctl |= KIRKWOOD_PLAYCTL_SPDIF_MUTE; ctl 225 sound/soc/kirkwood/kirkwood-i2s.c return ctl; ctl 233 sound/soc/kirkwood/kirkwood-i2s.c uint32_t ctl, value; ctl 235 sound/soc/kirkwood/kirkwood-i2s.c ctl = readl(priv->io + KIRKWOOD_PLAYCTL); ctl 236 sound/soc/kirkwood/kirkwood-i2s.c if ((ctl & KIRKWOOD_PLAYCTL_ENABLE_MASK) == 0) { ctl 244 sound/soc/kirkwood/kirkwood-i2s.c value = ctl; ctl 245 sound/soc/kirkwood/kirkwood-i2s.c ctl = readl(priv->io + KIRKWOOD_PLAYCTL); ctl 246 sound/soc/kirkwood/kirkwood-i2s.c if (!((ctl | value) & KIRKWOOD_PLAYCTL_PLAY_BUSY)) ctl 251 sound/soc/kirkwood/kirkwood-i2s.c if ((ctl | value) & KIRKWOOD_PLAYCTL_PLAY_BUSY) ctl 253 sound/soc/kirkwood/kirkwood-i2s.c ctl); ctl 259 sound/soc/kirkwood/kirkwood-i2s.c ctl = priv->ctl_play; ctl 261 sound/soc/kirkwood/kirkwood-i2s.c ctl &= ~KIRKWOOD_PLAYCTL_SPDIF_EN; /* i2s */ ctl 263 sound/soc/kirkwood/kirkwood-i2s.c ctl &= ~KIRKWOOD_PLAYCTL_I2S_EN; /* spdif */ ctl 264 sound/soc/kirkwood/kirkwood-i2s.c ctl = kirkwood_i2s_play_mute(ctl); ctl 265 sound/soc/kirkwood/kirkwood-i2s.c value = ctl & ~KIRKWOOD_PLAYCTL_ENABLE_MASK; ctl 276 sound/soc/kirkwood/kirkwood-i2s.c writel(ctl, priv->io + KIRKWOOD_PLAYCTL); ctl 281 sound/soc/kirkwood/kirkwood-i2s.c ctl |= KIRKWOOD_PLAYCTL_PAUSE | KIRKWOOD_PLAYCTL_I2S_MUTE | ctl 283 sound/soc/kirkwood/kirkwood-i2s.c writel(ctl, priv->io + KIRKWOOD_PLAYCTL); ctl 290 sound/soc/kirkwood/kirkwood-i2s.c ctl &= ~KIRKWOOD_PLAYCTL_ENABLE_MASK; ctl 291 sound/soc/kirkwood/kirkwood-i2s.c writel(ctl, priv->io + KIRKWOOD_PLAYCTL); ctl 296 sound/soc/kirkwood/kirkwood-i2s.c ctl |= KIRKWOOD_PLAYCTL_PAUSE | KIRKWOOD_PLAYCTL_I2S_MUTE | ctl 298 sound/soc/kirkwood/kirkwood-i2s.c writel(ctl, priv->io + KIRKWOOD_PLAYCTL); ctl 303 sound/soc/kirkwood/kirkwood-i2s.c ctl &= ~(KIRKWOOD_PLAYCTL_PAUSE | KIRKWOOD_PLAYCTL_I2S_MUTE | ctl 305 sound/soc/kirkwood/kirkwood-i2s.c ctl = kirkwood_i2s_play_mute(ctl); ctl 306 sound/soc/kirkwood/kirkwood-i2s.c writel(ctl, priv->io + KIRKWOOD_PLAYCTL); ctl 320 sound/soc/kirkwood/kirkwood-i2s.c uint32_t ctl, value; ctl 327 sound/soc/kirkwood/kirkwood-i2s.c ctl = priv->ctl_rec; ctl 329 sound/soc/kirkwood/kirkwood-i2s.c ctl &= ~KIRKWOOD_RECCTL_SPDIF_EN; /* i2s */ ctl 331 sound/soc/kirkwood/kirkwood-i2s.c ctl &= ~KIRKWOOD_RECCTL_I2S_EN; /* spdif */ ctl 333 sound/soc/kirkwood/kirkwood-i2s.c value = ctl & ~KIRKWOOD_RECCTL_ENABLE_MASK; ctl 342 sound/soc/kirkwood/kirkwood-i2s.c writel(ctl, priv->io + KIRKWOOD_RECCTL); ctl 152 sound/soc/samsung/pcm.c u32 ctl, clkctl; ctl 155 sound/soc/samsung/pcm.c ctl = readl(regs + S3C_PCM_CTL); ctl 156 sound/soc/samsung/pcm.c ctl &= ~(S3C_PCM_CTL_TXDIPSTICK_MASK ctl 160 sound/soc/samsung/pcm.c ctl |= S3C_PCM_CTL_TXDMA_EN; ctl 161 sound/soc/samsung/pcm.c ctl |= S3C_PCM_CTL_TXFIFO_EN; ctl 162 sound/soc/samsung/pcm.c ctl |= S3C_PCM_CTL_ENABLE; ctl 163 sound/soc/samsung/pcm.c ctl |= (0x4<<S3C_PCM_CTL_TXDIPSTICK_SHIFT); ctl 166 sound/soc/samsung/pcm.c ctl &= ~S3C_PCM_CTL_TXDMA_EN; ctl 167 sound/soc/samsung/pcm.c ctl &= ~S3C_PCM_CTL_TXFIFO_EN; ctl 169 sound/soc/samsung/pcm.c if (!(ctl & S3C_PCM_CTL_RXFIFO_EN)) { ctl 170 sound/soc/samsung/pcm.c ctl &= ~S3C_PCM_CTL_ENABLE; ctl 177 sound/soc/samsung/pcm.c writel(ctl, regs + S3C_PCM_CTL); ctl 183 sound/soc/samsung/pcm.c u32 ctl, clkctl; ctl 185 sound/soc/samsung/pcm.c ctl = readl(regs + S3C_PCM_CTL); ctl 187 sound/soc/samsung/pcm.c ctl &= ~(S3C_PCM_CTL_RXDIPSTICK_MASK ctl 191 sound/soc/samsung/pcm.c ctl |= S3C_PCM_CTL_RXDMA_EN; ctl 192 sound/soc/samsung/pcm.c ctl |= S3C_PCM_CTL_RXFIFO_EN; ctl 193 sound/soc/samsung/pcm.c ctl |= S3C_PCM_CTL_ENABLE; ctl 194 sound/soc/samsung/pcm.c ctl |= (0x20<<S3C_PCM_CTL_RXDIPSTICK_SHIFT); ctl 197 sound/soc/samsung/pcm.c ctl &= ~S3C_PCM_CTL_RXDMA_EN; ctl 198 sound/soc/samsung/pcm.c ctl &= ~S3C_PCM_CTL_RXFIFO_EN; ctl 200 sound/soc/samsung/pcm.c if (!(ctl & S3C_PCM_CTL_TXFIFO_EN)) { ctl 201 sound/soc/samsung/pcm.c ctl &= ~S3C_PCM_CTL_ENABLE; ctl 208 sound/soc/samsung/pcm.c writel(ctl, regs + S3C_PCM_CTL); ctl 320 sound/soc/samsung/pcm.c u32 ctl; ctl 326 sound/soc/samsung/pcm.c ctl = readl(regs + S3C_PCM_CTL); ctl 363 sound/soc/samsung/pcm.c ctl |= S3C_PCM_CTL_TXMSB_AFTER_FSYNC; ctl 364 sound/soc/samsung/pcm.c ctl |= S3C_PCM_CTL_RXMSB_AFTER_FSYNC; ctl 367 sound/soc/samsung/pcm.c ctl &= ~S3C_PCM_CTL_TXMSB_AFTER_FSYNC; ctl 368 sound/soc/samsung/pcm.c ctl &= ~S3C_PCM_CTL_RXMSB_AFTER_FSYNC; ctl 376 sound/soc/samsung/pcm.c writel(ctl, regs + S3C_PCM_CTL); ctl 1097 sound/usb/midi.c struct snd_kcontrol *ctl; ctl 1109 sound/usb/midi.c ctl = umidi->roland_load_ctl; ctl 1110 sound/usb/midi.c ctl->vd[0].access |= ctl 1113 sound/usb/midi.c SNDRV_CTL_EVENT_MASK_INFO, &ctl->id); ctl 1126 sound/usb/midi.c ctl = umidi->roland_load_ctl; ctl 1127 sound/usb/midi.c ctl->vd[0].access &= ctl 1130 sound/usb/midi.c SNDRV_CTL_EVENT_MASK_INFO, &ctl->id); ctl 840 sound/usb/mixer_scarlett.c const struct scarlett_mixer_control *ctl; ctl 860 sound/usb/mixer_scarlett.c ctl = &info->controls[i]; ctl 862 sound/usb/mixer_scarlett.c switch (ctl->type) { ctl 864 sound/usb/mixer_scarlett.c err = add_output_ctls(mixer, ctl->num, ctl->name, info); ctl 869 sound/usb/mixer_scarlett.c sprintf(mx, "Input %d Impedance Switch", ctl->num); ctl 872 sound/usb/mixer_scarlett.c 0x09, ctl->num, USB_MIXER_S16, 1, mx, ctl 878 sound/usb/mixer_scarlett.c sprintf(mx, "Input %d Pad Switch", ctl->num); ctl 881 sound/usb/mixer_scarlett.c 0x0b, ctl->num, USB_MIXER_S16, 1, mx, ctl 818 tools/testing/selftests/cgroup/test_memcontrol.c int ctl[2]; ctl 828 tools/testing/selftests/cgroup/test_memcontrol.c close(srv_args->ctl[0]); ctl 829 tools/testing/selftests/cgroup/test_memcontrol.c ctl_fd = srv_args->ctl[1]; ctl 953 tools/testing/selftests/cgroup/test_memcontrol.c if (pipe(args.ctl)) ctl 962 tools/testing/selftests/cgroup/test_memcontrol.c close(args.ctl[1]); ctl 963 tools/testing/selftests/cgroup/test_memcontrol.c if (read(args.ctl[0], &err, sizeof(err)) != sizeof(err)) ctl 965 tools/testing/selftests/cgroup/test_memcontrol.c close(args.ctl[0]); ctl 298 virt/kvm/arm/trace.h __field( unsigned long, ctl ) ctl 304 virt/kvm/arm/trace.h __entry->ctl = ctx->cnt_ctl; ctl 310 virt/kvm/arm/trace.h __entry->ctl, ctl 320 virt/kvm/arm/trace.h __field( unsigned long, ctl ) ctl 326 virt/kvm/arm/trace.h __entry->ctl = ctx->cnt_ctl; ctl 332 virt/kvm/arm/trace.h __entry->ctl,