val 174 arch/x86/boot/compressed/relocs.c #define le16_to_cpu(val) (val) val 175 arch/x86/boot/compressed/relocs.c #define le32_to_cpu(val) (val) val 178 arch/x86/boot/compressed/relocs.c #define le16_to_cpu(val) bswap_16(val) val 179 arch/x86/boot/compressed/relocs.c #define le32_to_cpu(val) bswap_32(val) val 184 arch/x86/boot/compressed/relocs.c return le16_to_cpu(val); val 189 arch/x86/boot/compressed/relocs.c return le32_to_cpu(val); val 431 arch/x86/ia32/ia32_signal.c u32 val; val 512 arch/x86/ia32/ia32_signal.c u32 val; val 1852 arch/x86/kernel/acpi/boot.c unsigned int old, new, val; val 1856 arch/x86/kernel/acpi/boot.c val = cmpxchg(lock, old, new); val 1857 arch/x86/kernel/acpi/boot.c } while (unlikely (val != old)); val 1863 arch/x86/kernel/acpi/boot.c unsigned int old, new, val; val 1867 arch/x86/kernel/acpi/boot.c val = cmpxchg(lock, old, new); val 1868 arch/x86/kernel/acpi/boot.c } while (unlikely (val != old)); val 210 arch/x86/kernel/apic_64.c unsigned long val; val 212 arch/x86/kernel/apic_64.c rdmsrl(APIC_BASE_MSR + (APIC_ICR >> 4), val); val 213 arch/x86/kernel/apic_64.c return val; val 686 arch/x86/kernel/apm_32.c if (apm_bios_call_simple(APM_FUNC_VERSION, 0, *val, &eax)) val 688 arch/x86/kernel/apm_32.c *val = eax; val 775 arch/x86/kernel/cpu/common.c u64 val; val 783 arch/x86/kernel/cpu/common.c if (rdmsrl_amd_safe(index, &val)) val 785 arch/x86/kernel/cpu/common.c printk(KERN_INFO " MSR%08x: %016llx\n", index, val); val 123 arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c return extract_msr(val, data); val 125 arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c return extract_io(val, data); val 149 arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c u32 val; val 158 arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c rdmsr(cmd->addr.msr.reg, cmd->val, h); val 162 arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c &cmd->val, val 177 arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c lo = (lo & ~INTEL_MSR_RANGE) | (cmd->val & INTEL_MSR_RANGE); val 182 arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c cmd->val, val 193 arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c cmd->val = 0; val 241 arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c dprintk("get_cur_val = %u\n", cmd.val); val 243 arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c return cmd.val; val 434 arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c cmd.val = (u32) perf->states[next_perf_state].control; val 440 arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c cmd.val = (u32) perf->states[next_perf_state].control; val 155 arch/x86/kernel/cpu/cpufreq/e_powersaver.c u64 val; val 206 arch/x86/kernel/cpu/cpufreq/e_powersaver.c rdmsrl(MSR_IA32_MISC_ENABLE, val); val 207 arch/x86/kernel/cpu/cpufreq/e_powersaver.c if (!(val & 1 << 16)) { val 208 arch/x86/kernel/cpu/cpufreq/e_powersaver.c val |= 1 << 16; val 209 arch/x86/kernel/cpu/cpufreq/e_powersaver.c wrmsrl(MSR_IA32_MISC_ENABLE, val); val 211 arch/x86/kernel/cpu/cpufreq/e_powersaver.c rdmsrl(MSR_IA32_MISC_ENABLE, val); val 212 arch/x86/kernel/cpu/cpufreq/e_powersaver.c if (!(val & 1 << 16)) { val 142 arch/x86/kernel/cpu/cpufreq/longhaul.c rdmsrl(MSR_VIA_BCR2, bcr2.val); val 150 arch/x86/kernel/cpu/cpufreq/longhaul.c wrmsrl(MSR_VIA_BCR2, bcr2.val); val 157 arch/x86/kernel/cpu/cpufreq/longhaul.c rdmsrl(MSR_VIA_BCR2, bcr2.val); val 159 arch/x86/kernel/cpu/cpufreq/longhaul.c wrmsrl(MSR_VIA_BCR2, bcr2.val); val 170 arch/x86/kernel/cpu/cpufreq/longhaul.c rdmsrl(MSR_VIA_LONGHAUL, longhaul.val); val 186 arch/x86/kernel/cpu/cpufreq/longhaul.c wrmsrl(MSR_VIA_LONGHAUL, longhaul.val); val 200 arch/x86/kernel/cpu/cpufreq/longhaul.c wrmsrl(MSR_VIA_LONGHAUL, longhaul.val); val 205 arch/x86/kernel/cpu/cpufreq/longhaul.c wrmsrl(MSR_VIA_LONGHAUL, longhaul.val); val 218 arch/x86/kernel/cpu/cpufreq/longhaul.c wrmsrl(MSR_VIA_LONGHAUL, longhaul.val); val 223 arch/x86/kernel/cpu/cpufreq/longhaul.c wrmsrl(MSR_VIA_LONGHAUL, longhaul.val); val 237 arch/x86/kernel/cpu/cpufreq/longhaul.c wrmsrl(MSR_VIA_LONGHAUL, longhaul.val); val 540 arch/x86/kernel/cpu/cpufreq/longhaul.c rdmsrl(MSR_VIA_LONGHAUL, longhaul.val); val 18 arch/x86/kernel/cpu/cpufreq/longhaul.h unsigned long val; val 47 arch/x86/kernel/cpu/cpufreq/longhaul.h unsigned long long val; val 65 arch/x86/kernel/cpu/cpufreq/powernow-k7.c unsigned long val; val 217 arch/x86/kernel/cpu/cpufreq/powernow-k7.c rdmsrl (MSR_K7_FID_VID_CTL, fidvidctl.val); val 223 arch/x86/kernel/cpu/cpufreq/powernow-k7.c wrmsrl (MSR_K7_FID_VID_CTL, fidvidctl.val); val 232 arch/x86/kernel/cpu/cpufreq/powernow-k7.c rdmsrl (MSR_K7_FID_VID_CTL, fidvidctl.val); val 238 arch/x86/kernel/cpu/cpufreq/powernow-k7.c wrmsrl (MSR_K7_FID_VID_CTL, fidvidctl.val); val 260 arch/x86/kernel/cpu/cpufreq/powernow-k7.c rdmsrl (MSR_K7_FID_VID_STATUS, fidvidstatus.val); val 341 arch/x86/kernel/cpu/cpufreq/powernow-k7.c pc.val = (unsigned long) acpi_processor_perf->states[0].control; val 348 arch/x86/kernel/cpu/cpufreq/powernow-k7.c pc.val = (unsigned long) state->control; val 561 arch/x86/kernel/cpu/cpufreq/powernow-k7.c rdmsrl (MSR_K7_FID_VID_STATUS, fidvidstatus.val); val 601 arch/x86/kernel/cpu/cpufreq/powernow-k7.c rdmsrl (MSR_K7_FID_VID_STATUS, fidvidstatus.val); val 24 arch/x86/kernel/cpu/cpufreq/powernow-k7.h unsigned long long val; val 42 arch/x86/kernel/cpu/cpufreq/powernow-k7.h unsigned long long val; val 161 arch/x86/kernel/cpu/intel_cacheinfo.c unsigned val; val 171 arch/x86/kernel/cpu/intel_cacheinfo.c unsigned val; val 182 arch/x86/kernel/cpu/intel_cacheinfo.c unsigned val; val 211 arch/x86/kernel/cpu/intel_cacheinfo.c cpuid(0x80000005, &dummy, &dummy, &l1d.val, &l1i.val); val 212 arch/x86/kernel/cpu/intel_cacheinfo.c cpuid(0x80000006, &dummy, &dummy, &l2.val, &l3.val); val 218 arch/x86/kernel/cpu/intel_cacheinfo.c if (!l1->val) val 226 arch/x86/kernel/cpu/intel_cacheinfo.c if (!l2.val) val 235 arch/x86/kernel/cpu/intel_cacheinfo.c if (!l3.val) val 605 arch/x86/kernel/cpu/intel_cacheinfo.c return sprintf (buf, "%lu\n", (unsigned long)this_leaf->object + val); \ val 729 arch/x86/kernel/cpu/intel_cacheinfo.c unsigned int ret, index, val; val 737 arch/x86/kernel/cpu/intel_cacheinfo.c ret = sscanf(buf, "%x %x", &index, &val); val 743 arch/x86/kernel/cpu/intel_cacheinfo.c val |= 0xc0000000; val 750 arch/x86/kernel/cpu/intel_cacheinfo.c pci_write_config_dword(dev, 0x1BC + index * 4, val & ~0x40000000); val 752 arch/x86/kernel/cpu/intel_cacheinfo.c pci_write_config_dword(dev, 0x1BC + index * 4, val); val 47 arch/x86/kernel/crash.c if (val != DIE_NMI_IPI) val 191 arch/x86/kernel/es7000_32.c unsigned long val; val 208 arch/x86/kernel/es7000_32.c val = MIP_RD_LO(mi->host_reg); val 209 arch/x86/kernel/es7000_32.c host_addr = val; val 210 arch/x86/kernel/es7000_32.c host = (struct mip_reg *)val; val 212 arch/x86/kernel/es7000_32.c val = MIP_RD_LO(mi->mip_reg); val 214 arch/x86/kernel/es7000_32.c mip_addr = val; val 215 arch/x86/kernel/es7000_32.c mip = (struct mip_reg *)val; val 61 arch/x86/kernel/genapic_flat_64.c unsigned long val; val 67 arch/x86/kernel/genapic_flat_64.c val = apic_read(APIC_LDR) & ~APIC_LDR_MASK; val 68 arch/x86/kernel/genapic_flat_64.c val |= SET_APIC_LOGICAL_ID(id); val 69 arch/x86/kernel/genapic_flat_64.c apic_write(APIC_LDR, val); val 93 arch/x86/kernel/genx2apic_uv_x.c unsigned long val; val 97 arch/x86/kernel/genx2apic_uv_x.c val = (1UL << UVH_IPI_INT_SEND_SHFT) | val 101 arch/x86/kernel/genx2apic_uv_x.c uv_write_global_mmr64(pnode, UVH_IPI_INT, val); val 104 arch/x86/kernel/genx2apic_uv_x.c val = (1UL << UVH_IPI_INT_SEND_SHFT) | val 108 arch/x86/kernel/genx2apic_uv_x.c uv_write_global_mmr64(pnode, UVH_IPI_INT, val); val 114 arch/x86/kernel/genx2apic_uv_x.c unsigned long val, apicid, lapicid; val 120 arch/x86/kernel/genx2apic_uv_x.c val = val 124 arch/x86/kernel/genx2apic_uv_x.c uv_write_global_mmr64(pnode, UVH_IPI_INT, val); val 92 arch/x86/kernel/geode_32.c u32 val; val 99 arch/x86/kernel/geode_32.c val = inl(base + reg) & (gpio & 0xFFFF); val 100 arch/x86/kernel/geode_32.c if ((gpio & 0xFFFF) == val) val 106 arch/x86/kernel/geode_32.c val = inl(base + 0x80 + reg) & gpio; val 107 arch/x86/kernel/geode_32.c if (gpio == val) val 133 arch/x86/kernel/geode_32.c u32 offset, shift, val; val 146 arch/x86/kernel/geode_32.c val = inl(base + offset); val 149 arch/x86/kernel/geode_32.c val &= ~(0xF << shift); val 153 arch/x86/kernel/geode_32.c val |= ((pair & 7) << shift); val 158 arch/x86/kernel/geode_32.c val |= (1 << (shift + 3)); val 160 arch/x86/kernel/geode_32.c outl(val, base + offset); val 169 arch/x86/kernel/geode_32.c u16 val; val 178 arch/x86/kernel/geode_32.c val = inw(VSA_VRC_DATA); val 179 arch/x86/kernel/geode_32.c has_vsa2 = (val == AMD_VSA_SIG || val == GSW_VSA_SIG); val 959 arch/x86/kernel/kprobes.c switch (val) { val 106 arch/x86/kernel/kvm.c wpte.pte_val = val; val 64 arch/x86/kernel/mfgpt_32.c u32 val, dummy; val 67 arch/x86/kernel/mfgpt_32.c val = 0xFF; dummy = 0; val 68 arch/x86/kernel/mfgpt_32.c wrmsr(MSR_MFGPT_SETUP, val, dummy); val 87 arch/x86/kernel/mfgpt_32.c u16 val; val 102 arch/x86/kernel/mfgpt_32.c val = geode_mfgpt_read(i, MFGPT_REG_SETUP); val 103 arch/x86/kernel/mfgpt_32.c if (!(val & MFGPT_SETUP_SETUP)) { val 322 arch/x86/kernel/mfgpt_32.c u16 val = geode_mfgpt_read(mfgpt_event_clock, MFGPT_REG_SETUP); val 325 arch/x86/kernel/mfgpt_32.c if (!(val & (MFGPT_SETUP_SETUP | MFGPT_SETUP_CMP2 | MFGPT_SETUP_CMP1))) val 358 arch/x86/kernel/mfgpt_32.c u16 val; val 385 arch/x86/kernel/mfgpt_32.c val = MFGPT_SCALE | (3 << 8); val 387 arch/x86/kernel/mfgpt_32.c geode_mfgpt_write(mfgpt_event_clock, MFGPT_REG_SETUP, val); val 214 arch/x86/kernel/microcode_core.c unsigned long val = simple_strtoul(buf, &end, 0); val 220 arch/x86/kernel/microcode_core.c if (val == 1) { val 158 arch/x86/kernel/microcode_intel.c unsigned int val[2]; val 173 arch/x86/kernel/microcode_intel.c rdmsr(MSR_IA32_PLATFORM_ID, val[0], val[1]); val 174 arch/x86/kernel/microcode_intel.c csig->pf = 1 << ((val[1] >> 18) & 7); val 181 arch/x86/kernel/microcode_intel.c rdmsr(MSR_IA32_UCODE_REV, val[0], csig->rev); val 316 arch/x86/kernel/microcode_intel.c unsigned int val[2]; val 340 arch/x86/kernel/microcode_intel.c rdmsr(MSR_IA32_UCODE_REV, val[0], val[1]); val 343 arch/x86/kernel/microcode_intel.c if (val[1] != mc_intel->hdr.rev) { val 345 arch/x86/kernel/microcode_intel.c "0x%x to 0x%x failed\n", cpu_num, uci->cpu_sig.rev, val[1]); val 350 arch/x86/kernel/microcode_intel.c cpu_num, uci->cpu_sig.rev, val[1], val 354 arch/x86/kernel/microcode_intel.c uci->cpu_sig.rev = val[1]; val 62 arch/x86/kernel/mmconf-fam10h_64.c u64 val; val 102 arch/x86/kernel/mmconf-fam10h_64.c rdmsrl(address, val); val 105 arch/x86/kernel/mmconf-fam10h_64.c if (!(val & (1<<21))) { val 110 arch/x86/kernel/mmconf-fam10h_64.c rdmsrl(address, val); val 111 arch/x86/kernel/mmconf-fam10h_64.c tom2 = val & (0xffffULL<<32); val 180 arch/x86/kernel/mmconf-fam10h_64.c u64 val; val 187 arch/x86/kernel/mmconf-fam10h_64.c rdmsrl(address, val); val 190 arch/x86/kernel/mmconf-fam10h_64.c if (val & FAM10H_MMIO_CONF_ENABLE) { val 192 arch/x86/kernel/mmconf-fam10h_64.c busnbits = (val >> FAM10H_MMIO_CONF_BUSRANGE_SHIFT) & val 198 arch/x86/kernel/mmconf-fam10h_64.c base = val & (0xffffULL << 32); val 217 arch/x86/kernel/mmconf-fam10h_64.c val &= ~((FAM10H_MMIO_CONF_BASE_MASK<<FAM10H_MMIO_CONF_BASE_SHIFT) | val 219 arch/x86/kernel/mmconf-fam10h_64.c val |= fam10h_pci_mmconf_base | (8 << FAM10H_MMIO_CONF_BUSRANGE_SHIFT) | val 221 arch/x86/kernel/mmconf-fam10h_64.c wrmsrl(address, val); val 80 arch/x86/kernel/module_64.c u64 val; val 98 arch/x86/kernel/module_64.c val = sym->st_value + rel[i].r_addend; val 104 arch/x86/kernel/module_64.c *(u64 *)loc = val; val 107 arch/x86/kernel/module_64.c *(u32 *)loc = val; val 108 arch/x86/kernel/module_64.c if (val != *(u32 *)loc) val 112 arch/x86/kernel/module_64.c *(s32 *)loc = val; val 113 arch/x86/kernel/module_64.c if ((s64)val != *(s32 *)loc) val 117 arch/x86/kernel/module_64.c val -= (u64)loc; val 118 arch/x86/kernel/module_64.c *(u32 *)loc = val; val 120 arch/x86/kernel/module_64.c if ((s64)val != *(s32 *)loc) val 134 arch/x86/kernel/module_64.c (int)ELF64_R_TYPE(rel[i].r_info), val); val 591 arch/x86/kernel/pci-calgary_64.c u64 val; val 604 arch/x86/kernel/pci-calgary_64.c val = readl(target); val 609 arch/x86/kernel/pci-calgary_64.c val = readq(target); val 611 arch/x86/kernel/pci-calgary_64.c } while ((val & 0xff) != 0xff && i < 100); val 631 arch/x86/kernel/pci-calgary_64.c u32 val; val 642 arch/x86/kernel/pci-calgary_64.c val = be32_to_cpu(readl(target)); val 643 arch/x86/kernel/pci-calgary_64.c printk(KERN_DEBUG "1a. read 0x%x [LE] from %p\n", val, target); val 644 arch/x86/kernel/pci-calgary_64.c val |= PMR_SOFTSTOP; val 645 arch/x86/kernel/pci-calgary_64.c printk(KERN_DEBUG "1b. writing 0x%x [LE] to %p\n", val, target); val 646 arch/x86/kernel/pci-calgary_64.c writel(cpu_to_be32(val), target); val 661 arch/x86/kernel/pci-calgary_64.c val = be32_to_cpu(readl(target)); val 662 arch/x86/kernel/pci-calgary_64.c printk(KERN_DEBUG "3. read 0x%x [LE] from %p\n", val, target); val 665 arch/x86/kernel/pci-calgary_64.c if (val & PMR_SOFTSTOPFAULT) { val 678 arch/x86/kernel/pci-calgary_64.c val = be32_to_cpu(readl(target)); val 679 arch/x86/kernel/pci-calgary_64.c printk(KERN_DEBUG "5b. read 0x%x [LE] from %p\n", val, target); val 681 arch/x86/kernel/pci-calgary_64.c val = be32_to_cpu(readl(target)); val 682 arch/x86/kernel/pci-calgary_64.c printk(KERN_DEBUG "5c. read 0x%x [LE] from %p (debug)\n", val, target); val 692 arch/x86/kernel/pci-calgary_64.c val = be32_to_cpu(readl(target)); val 693 arch/x86/kernel/pci-calgary_64.c printk(KERN_DEBUG "7b. read 0x%x [LE] from %p\n", val, target); val 698 arch/x86/kernel/pci-calgary_64.c val = 0; val 699 arch/x86/kernel/pci-calgary_64.c printk(KERN_DEBUG "8b. writing 0x%x [LE] to %p\n", val, target); val 700 arch/x86/kernel/pci-calgary_64.c writel(cpu_to_be32(val), target); val 701 arch/x86/kernel/pci-calgary_64.c val = be32_to_cpu(readl(target)); val 702 arch/x86/kernel/pci-calgary_64.c printk(KERN_DEBUG "8c. read 0x%x [LE] from %p\n", val, target); val 1011 arch/x86/kernel/pci-calgary_64.c u32 val; val 1017 arch/x86/kernel/pci-calgary_64.c val = cpu_to_be32(readl(target)); val 1018 arch/x86/kernel/pci-calgary_64.c val |= 0x00800000; val 1019 arch/x86/kernel/pci-calgary_64.c writel(cpu_to_be32(val), target); val 1145 arch/x86/kernel/pci-calgary_64.c u32 val; val 1163 arch/x86/kernel/pci-calgary_64.c val = be32_to_cpu(readl(target)); val 1165 arch/x86/kernel/pci-calgary_64.c start_bus = (u8)((val & 0x00FF0000) >> 16); val 1166 arch/x86/kernel/pci-calgary_64.c end_bus = (u8)((val & 0x0000FF00) >> 8); val 1329 arch/x86/kernel/pci-calgary_64.c u32 val; val 1340 arch/x86/kernel/pci-calgary_64.c val = read_pci_config(bus, dev, 0, 0); val 1341 arch/x86/kernel/pci-calgary_64.c if (val != 0xffffffff) val 1344 arch/x86/kernel/pci-calgary_64.c return (val != 0xffffffff); val 1378 arch/x86/kernel/pci-calgary_64.c u32 val; val 1380 arch/x86/kernel/pci-calgary_64.c val = read_pci_config(bus, 0, 0, 0); val 1381 arch/x86/kernel/pci-calgary_64.c pci_device = (val & 0xFFFF0000) >> 16; val 1463 arch/x86/kernel/pci-calgary_64.c u32 val; val 1465 arch/x86/kernel/pci-calgary_64.c val = read_pci_config(bus, 0, 0, 0); val 1466 arch/x86/kernel/pci-calgary_64.c pci_device = (val & 0xFFFF0000) >> 16; val 400 arch/x86/kernel/process_32.c unsigned int val; val 403 arch/x86/kernel/process_32.c val = PR_TSC_SIGSEGV; val 405 arch/x86/kernel/process_32.c val = PR_TSC_ENABLE; val 407 arch/x86/kernel/process_32.c return put_user(val, (unsigned int __user *)adr); val 412 arch/x86/kernel/process_32.c if (val == PR_TSC_SIGSEGV) val 414 arch/x86/kernel/process_32.c else if (val == PR_TSC_ENABLE) val 434 arch/x86/kernel/process_64.c unsigned int val; val 437 arch/x86/kernel/process_64.c val = PR_TSC_SIGSEGV; val 439 arch/x86/kernel/process_64.c val = PR_TSC_ENABLE; val 441 arch/x86/kernel/process_64.c return put_user(val, (unsigned int __user *)adr); val 446 arch/x86/kernel/process_64.c if (val == PR_TSC_SIGSEGV) val 448 arch/x86/kernel/process_64.c else if (val == PR_TSC_ENABLE) val 641 arch/x86/kernel/ptrace.c (*(unsigned long *)base) = val; val 1216 arch/x86/kernel/ptrace.c *val = regs->q; break val 1220 arch/x86/kernel/ptrace.c *val = get_segment_reg(child, \ val 1249 arch/x86/kernel/ptrace.c *val = get_flags(child); val 1255 arch/x86/kernel/ptrace.c *val = ptrace_get_debugreg(child, regno / 4); val 1266 arch/x86/kernel/ptrace.c *val = 0; val 1337 arch/x86/kernel/ptrace.c __u32 val; val 1341 arch/x86/kernel/ptrace.c ret = getreg32(child, addr, &val); val 1343 arch/x86/kernel/ptrace.c ret = put_user(val, (__u32 __user *)datap); val 75 arch/x86/kernel/quirks.c u32 val; val 84 arch/x86/kernel/quirks.c val = readl(rcba_base + 0x3404); val 85 arch/x86/kernel/quirks.c if (!(val & 0x80)) { val 87 arch/x86/kernel/quirks.c writel(val | 0x80, rcba_base + 0x3404); val 90 arch/x86/kernel/quirks.c val = readl(rcba_base + 0x3404); val 91 arch/x86/kernel/quirks.c if (!(val & 0x80)) val 101 arch/x86/kernel/quirks.c u32 val; val 125 arch/x86/kernel/quirks.c val = readl(rcba_base + 0x3404); val 127 arch/x86/kernel/quirks.c if (val & 0x80) { val 129 arch/x86/kernel/quirks.c val = val & 0x3; val 130 arch/x86/kernel/quirks.c force_hpet_address = 0xFED00000 | (val << 12); val 138 arch/x86/kernel/quirks.c writel(val | 0x80, rcba_base + 0x3404); val 140 arch/x86/kernel/quirks.c val = readl(rcba_base + 0x3404); val 141 arch/x86/kernel/quirks.c if (!(val & 0x80)) { val 144 arch/x86/kernel/quirks.c val = val & 0x3; val 145 arch/x86/kernel/quirks.c force_hpet_address = 0xFED00000 | (val << 12); val 188 arch/x86/kernel/quirks.c u32 val; val 200 arch/x86/kernel/quirks.c val = gen_cntl >> 15; val 201 arch/x86/kernel/quirks.c val &= 0x7; val 202 arch/x86/kernel/quirks.c if (val == 0x4) val 210 arch/x86/kernel/quirks.c u32 val; val 221 arch/x86/kernel/quirks.c val = gen_cntl >> 15; val 222 arch/x86/kernel/quirks.c val &= 0x7; val 223 arch/x86/kernel/quirks.c if (val & 0x4) { val 224 arch/x86/kernel/quirks.c val &= 0x3; val 225 arch/x86/kernel/quirks.c force_hpet_address = 0xFED00000 | (val << 12); val 241 arch/x86/kernel/quirks.c val = gen_cntl >> 15; val 242 arch/x86/kernel/quirks.c val &= 0x7; val 243 arch/x86/kernel/quirks.c if (val & 0x4) { val 245 arch/x86/kernel/quirks.c val &= 0x3; val 246 arch/x86/kernel/quirks.c force_hpet_address = 0xFED00000 | (val << 12); val 287 arch/x86/kernel/quirks.c u32 val; val 292 arch/x86/kernel/quirks.c val = 0xfed00000 | 0x80; val 293 arch/x86/kernel/quirks.c pci_write_config_dword(cached_dev, 0x68, val); val 295 arch/x86/kernel/quirks.c pci_read_config_dword(cached_dev, 0x68, &val); val 296 arch/x86/kernel/quirks.c if (val & 0x80) val 304 arch/x86/kernel/quirks.c u32 uninitialized_var(val); val 314 arch/x86/kernel/quirks.c pci_read_config_dword(dev, 0x68, &val); val 319 arch/x86/kernel/quirks.c if (val & 0x80) { val 320 arch/x86/kernel/quirks.c force_hpet_address = (val & ~0x3ff); val 330 arch/x86/kernel/quirks.c val = 0xfed00000 | 0x80; val 331 arch/x86/kernel/quirks.c pci_write_config_dword(dev, 0x68, val); val 333 arch/x86/kernel/quirks.c pci_read_config_dword(dev, 0x68, &val); val 334 arch/x86/kernel/quirks.c if (val & 0x80) { val 335 arch/x86/kernel/quirks.c force_hpet_address = (val & ~0x3ff); val 376 arch/x86/kernel/quirks.c u32 d, val; val 393 arch/x86/kernel/quirks.c pci_read_config_dword(dev, 0x14, &val); val 409 arch/x86/kernel/quirks.c force_hpet_address = val; val 429 arch/x86/kernel/quirks.c u32 uninitialized_var(val); val 440 arch/x86/kernel/quirks.c pci_read_config_dword(dev, 0x44, &val); val 441 arch/x86/kernel/quirks.c force_hpet_address = val & 0xfffffffe; val 148 arch/x86/kernel/rtc.c unsigned char val; val 152 arch/x86/kernel/rtc.c val = inb(RTC_PORT(1)); val 154 arch/x86/kernel/rtc.c return val; val 162 arch/x86/kernel/rtc.c outb(val, RTC_PORT(1)); val 166 arch/x86/kernel/step.c if (child->thread.debugctlmsr == val) val 169 arch/x86/kernel/step.c child->thread.debugctlmsr = val; val 174 arch/x86/kernel/step.c update_debugctlmsr(val); val 272 arch/x86/kernel/tsc.c if (inb(0x42) != val) val 617 arch/x86/kernel/tsc.c if ((val == CPUFREQ_PRECHANGE && freq->old < freq->new) || val 618 arch/x86/kernel/tsc.c (val == CPUFREQ_POSTCHANGE && freq->old > freq->new) || val 619 arch/x86/kernel/tsc.c (val == CPUFREQ_RESUMECHANGE)) { val 437 arch/x86/kernel/vm86_32.c #define val_byte(val, n) (((__u8 *)&val)[n]) val 441 arch/x86/kernel/vm86_32.c __u8 __val = val; \ val 449 arch/x86/kernel/vm86_32.c __u16 __val = val; \ val 460 arch/x86/kernel/vm86_32.c __u32 __val = val; \ val 94 arch/x86/kernel/vmiclock_32.c unsigned long val = apic_read(APIC_LVTT); val 97 arch/x86/kernel/vmiclock_32.c return (val & APIC_SEND_PENDING); val 102 arch/x86/kernel/vmiclock_32.c unsigned long val = apic_read(APIC_LVTT); val 103 arch/x86/kernel/vmiclock_32.c apic_write(APIC_LVTT, val | APIC_LVT_MASKED); val 108 arch/x86/kernel/vmiclock_32.c unsigned long val = apic_read(APIC_LVTT); val 109 arch/x86/kernel/vmiclock_32.c apic_write(APIC_LVTT, val & ~APIC_LVT_MASKED); val 86 arch/x86/kvm/i8254.c if (c->gate < val) val 91 arch/x86/kvm/i8254.c c->gate = val; val 262 arch/x86/kvm/i8254.c interval = muldiv64(val, NSEC_PER_SEC, KVM_PIT_FREQ); val 282 arch/x86/kvm/i8254.c pr_debug("pit: load_count val is %d, channel is %d\n", val, channel); val 290 arch/x86/kvm/i8254.c if (val == 0) val 291 arch/x86/kvm/i8254.c val = 0x10000; val 294 arch/x86/kvm/i8254.c ps->channels[channel].count = val; val 305 arch/x86/kvm/i8254.c create_pit_timer(&ps->pit_timer, val, 0); val 309 arch/x86/kvm/i8254.c create_pit_timer(&ps->pit_timer, val, 1); val 319 arch/x86/kvm/i8254.c pit_load_count(kvm, channel, val); val 331 arch/x86/kvm/i8254.c u32 val = *(u32 *) data; val 333 arch/x86/kvm/i8254.c val &= 0xff; val 338 arch/x86/kvm/i8254.c if (val != 0) val 340 arch/x86/kvm/i8254.c (unsigned int)addr, len, val); val 343 arch/x86/kvm/i8254.c channel = val >> 6; val 348 arch/x86/kvm/i8254.c if (val & (2 << channel)) { val 349 arch/x86/kvm/i8254.c if (!(val & 0x20)) val 351 arch/x86/kvm/i8254.c if (!(val & 0x10)) val 358 arch/x86/kvm/i8254.c access = (val >> 4) & KVM_PIT_CHANNEL_MASK; val 365 arch/x86/kvm/i8254.c s->mode = (val >> 1) & 7; val 368 arch/x86/kvm/i8254.c s->bcd = val & 1; val 377 arch/x86/kvm/i8254.c pit_load_count(kvm, addr, val); val 380 arch/x86/kvm/i8254.c pit_load_count(kvm, addr, val << 8); val 383 arch/x86/kvm/i8254.c s->write_latch = val; val 387 arch/x86/kvm/i8254.c pit_load_count(kvm, addr, s->write_latch | (val << 8)); val 473 arch/x86/kvm/i8254.c u32 val = *(u32 *) data; val 476 arch/x86/kvm/i8254.c pit_state->speaker_data_on = (val >> 1) & 1; val 477 arch/x86/kvm/i8254.c pit_set_gate(kvm, 2, val & 1); val 213 arch/x86/kvm/i8259.c if (val & 0x10) { val 221 arch/x86/kvm/i8259.c s->init4 = val & 1; val 222 arch/x86/kvm/i8259.c if (val & 0x02) val 224 arch/x86/kvm/i8259.c if (val & 0x08) val 227 arch/x86/kvm/i8259.c } else if (val & 0x08) { val 228 arch/x86/kvm/i8259.c if (val & 0x04) val 230 arch/x86/kvm/i8259.c if (val & 0x02) val 231 arch/x86/kvm/i8259.c s->read_reg_select = val & 1; val 232 arch/x86/kvm/i8259.c if (val & 0x40) val 233 arch/x86/kvm/i8259.c s->special_mask = (val >> 5) & 1; val 235 arch/x86/kvm/i8259.c cmd = val >> 5; val 253 arch/x86/kvm/i8259.c irq = val & 7; val 258 arch/x86/kvm/i8259.c s->priority_add = (val + 1) & 7; val 262 arch/x86/kvm/i8259.c irq = val & 7; val 274 arch/x86/kvm/i8259.c s->imr = val; val 278 arch/x86/kvm/i8259.c s->irq_base = val & 0xf8; val 288 arch/x86/kvm/i8259.c s->special_fully_nested_mode = (val >> 4) & 1; val 289 arch/x86/kvm/i8259.c s->auto_eoi = (val >> 1) & 1; val 342 arch/x86/kvm/i8259.c s->elcr = val & s->elcr_mask; val 371 arch/x86/kvm/i8259.c unsigned char data = *(unsigned char *)val; val 415 arch/x86/kvm/i8259.c *(unsigned char *)val = data; val 67 arch/x86/kvm/lapic.c *((u32 *) (apic->regs + reg_off)) = val; val 574 arch/x86/kvm/lapic.c u32 val = 0; val 588 arch/x86/kvm/lapic.c val = apic_get_tmcct(apic); val 596 arch/x86/kvm/lapic.c val = apic_get_reg(apic, offset); val 600 arch/x86/kvm/lapic.c return val; val 678 arch/x86/kvm/lapic.c u32 val; val 692 arch/x86/kvm/lapic.c val = *(u32 *) data; val 697 arch/x86/kvm/lapic.c "0x%x\n", __func__, offset, len, val); val 705 arch/x86/kvm/lapic.c apic_set_reg(apic, APIC_ID, val); val 710 arch/x86/kvm/lapic.c apic_set_tpr(apic, val & 0xff); val 718 arch/x86/kvm/lapic.c apic_set_reg(apic, APIC_LDR, val & APIC_LDR_MASK); val 722 arch/x86/kvm/lapic.c apic_set_reg(apic, APIC_DFR, val | 0x0FFFFFFF); val 726 arch/x86/kvm/lapic.c apic_set_reg(apic, APIC_SPIV, val & 0x3ff); val 727 arch/x86/kvm/lapic.c if (!(val & APIC_SPIV_APIC_ENABLED)) { val 744 arch/x86/kvm/lapic.c apic_set_reg(apic, APIC_ICR, val & ~(1 << 12)); val 749 arch/x86/kvm/lapic.c apic_set_reg(apic, APIC_ICR2, val & 0xff000000); val 760 arch/x86/kvm/lapic.c val |= APIC_LVT_MASKED; val 762 arch/x86/kvm/lapic.c val &= apic_lvt_mask[(offset - APIC_LVTT) >> 4]; val 763 arch/x86/kvm/lapic.c apic_set_reg(apic, offset, val); val 769 arch/x86/kvm/lapic.c apic_set_reg(apic, APIC_TMICT, val); val 774 arch/x86/kvm/lapic.c if (val & 4) val 775 arch/x86/kvm/lapic.c printk(KERN_ERR "KVM_WRITE:TDCR %x\n", val); val 776 arch/x86/kvm/lapic.c apic_set_reg(apic, APIC_TDCR, val); val 158 arch/x86/kvm/svm.c asm volatile ("mov %0, %%cr2" :: "r" (val)); val 171 arch/x86/kvm/svm.c asm volatile ("mov %0, %%dr6" :: "r" (val)); val 184 arch/x86/kvm/svm.c asm volatile ("mov %0, %%dr7" :: "r" (val)); val 966 arch/x86/kvm/svm.c unsigned long val = to_svm(vcpu)->db_regs[dr]; val 967 arch/x86/kvm/svm.c KVMTRACE_2D(DR_READ, vcpu, (u32)dr, (u32)val, handler); val 968 arch/x86/kvm/svm.c return val; val 2465 arch/x86/kvm/vmx.c unsigned long val; val 2480 arch/x86/kvm/vmx.c val = 0xffff0ff0; val 2483 arch/x86/kvm/vmx.c val = 0x400; val 2486 arch/x86/kvm/vmx.c val = 0; val 2488 arch/x86/kvm/vmx.c vcpu->arch.regs[reg] = val; val 2489 arch/x86/kvm/vmx.c KVMTRACE_2D(DR_READ, vcpu, (u32)dr, (u32)val, handler); val 1838 arch/x86/kvm/x86.c void *data = val; val 1875 arch/x86/kvm/x86.c memcpy(val, vcpu->mmio_data, bytes); val 1886 arch/x86/kvm/x86.c if (emulator_read_std(addr, val, bytes, vcpu) val 1899 arch/x86/kvm/x86.c kvm_iodevice_read(mmio_dev, gpa, bytes, val); val 1918 arch/x86/kvm/x86.c ret = kvm_write_guest(vcpu->kvm, gpa, val, bytes); val 1921 arch/x86/kvm/x86.c kvm_mmu_pte_write(vcpu, gpa, val, bytes); val 1944 arch/x86/kvm/x86.c if (emulator_write_phys(vcpu, gpa, val, bytes)) val 1954 arch/x86/kvm/x86.c kvm_iodevice_write(mmio_dev, gpa, bytes, val); val 1964 arch/x86/kvm/x86.c memcpy(vcpu->mmio_data, val, bytes); val 1979 arch/x86/kvm/x86.c rc = emulator_write_emulated_onepage(addr, val, now, vcpu); val 1983 arch/x86/kvm/x86.c val += now; val 1986 arch/x86/kvm/x86.c return emulator_write_emulated_onepage(addr, val, bytes, vcpu); val 2008 arch/x86/kvm/x86.c u64 val; val 2019 arch/x86/kvm/x86.c val = *(u64 *)new; val 2026 arch/x86/kvm/x86.c set_64bit((u64 *)(kaddr + offset_in_page(gpa)), val); val 2640 arch/x86/kvm/x86.c KVMTRACE_3D(CR_WRITE, vcpu, (u32)cr, (u32)val, val 2641 arch/x86/kvm/x86.c (u32)((u64)val >> 32), handler); val 2645 arch/x86/kvm/x86.c kvm_set_cr0(vcpu, mk_cr_64(vcpu->arch.cr0, val)); val 2649 arch/x86/kvm/x86.c vcpu->arch.cr2 = val; val 2652 arch/x86/kvm/x86.c kvm_set_cr3(vcpu, val); val 2655 arch/x86/kvm/x86.c kvm_set_cr4(vcpu, mk_cr_64(vcpu->arch.cr4, val)); val 2658 arch/x86/kvm/x86.c kvm_set_cr8(vcpu, val & 0xfUL); val 359 arch/x86/kvm/x86_emulate.c : "=m" (_eflags), "=m" ((_dst).val), \ val 361 arch/x86/kvm/x86_emulate.c : _wy ((_src).val), "i" (EFLAGS_MASK)); \ val 368 arch/x86/kvm/x86_emulate.c : "=m" (_eflags), "=m" ((_dst).val), \ val 370 arch/x86/kvm/x86_emulate.c : _ly ((_src).val), "i" (EFLAGS_MASK)); \ val 388 arch/x86/kvm/x86_emulate.c : "=m" (_eflags), "=m" ((_dst).val), \ val 390 arch/x86/kvm/x86_emulate.c : _by ((_src).val), "i" (EFLAGS_MASK)); \ val 425 arch/x86/kvm/x86_emulate.c : "=m" (_eflags), "=m" ((_dst).val), \ val 434 arch/x86/kvm/x86_emulate.c : "=m" (_eflags), "=m" ((_dst).val), \ val 443 arch/x86/kvm/x86_emulate.c : "=m" (_eflags), "=m" ((_dst).val), \ val 461 arch/x86/kvm/x86_emulate.c : "=m" (_eflags), "=m" ((_dst).val), "=&r" (_tmp) \ val 462 arch/x86/kvm/x86_emulate.c : _qy ((_src).val), "i" (EFLAGS_MASK)); \ val 471 arch/x86/kvm/x86_emulate.c : "=m" (_eflags), "=m" ((_dst).val), "=&r" (_tmp) \ val 675 arch/x86/kvm/x86_emulate.c op->val = *(u8 *)op->ptr; val 682 arch/x86/kvm/x86_emulate.c op->val = *(u16 *)op->ptr; val 685 arch/x86/kvm/x86_emulate.c op->val = *(u32 *)op->ptr; val 688 arch/x86/kvm/x86_emulate.c op->val = *(u64 *) op->ptr; val 692 arch/x86/kvm/x86_emulate.c op->orig_val = op->val; val 999 arch/x86/kvm/x86_emulate.c c->src.val = c->modrm_val; val 1014 arch/x86/kvm/x86_emulate.c c->src.val = insn_fetch(s8, 1, c->eip); val 1017 arch/x86/kvm/x86_emulate.c c->src.val = insn_fetch(s16, 2, c->eip); val 1020 arch/x86/kvm/x86_emulate.c c->src.val = insn_fetch(s32, 4, c->eip); val 1028 arch/x86/kvm/x86_emulate.c c->src.val = insn_fetch(s8, 1, c->eip); val 1045 arch/x86/kvm/x86_emulate.c c->dst.val = c->dst.orig_val = c->modrm_val; val 1066 arch/x86/kvm/x86_emulate.c c->dst.val = c->src.val; val 1080 arch/x86/kvm/x86_emulate.c &c->dst.val, c->dst.bytes, ctxt->vcpu); val 1129 arch/x86/kvm/x86_emulate.c c->dst.val = ~c->dst.val; val 1155 arch/x86/kvm/x86_emulate.c c->eip = c->src.val; val 1208 arch/x86/kvm/x86_emulate.c *(u8 *)c->dst.ptr = (u8)c->dst.val; val 1211 arch/x86/kvm/x86_emulate.c *(u16 *)c->dst.ptr = (u16)c->dst.val; val 1214 arch/x86/kvm/x86_emulate.c *c->dst.ptr = (u32)c->dst.val; val 1217 arch/x86/kvm/x86_emulate.c *c->dst.ptr = c->dst.val; val 1226 arch/x86/kvm/x86_emulate.c &c->dst.val, val 1232 arch/x86/kvm/x86_emulate.c &c->dst.val, val 1299 arch/x86/kvm/x86_emulate.c c->src.val = 0; val 1301 arch/x86/kvm/x86_emulate.c &c->src.val, val 1306 arch/x86/kvm/x86_emulate.c c->src.orig_val = c->src.val; val 1316 arch/x86/kvm/x86_emulate.c c->dst.val = 0; val 1321 arch/x86/kvm/x86_emulate.c (c->src.val & mask) / 8; val 1326 arch/x86/kvm/x86_emulate.c &c->dst.val, val 1330 arch/x86/kvm/x86_emulate.c c->dst.orig_val = c->dst.val; val 1361 arch/x86/kvm/x86_emulate.c c->dst.val = *(u8 *)c->dst.ptr; val 1363 arch/x86/kvm/x86_emulate.c c->dst.orig_val = c->dst.val; val 1370 arch/x86/kvm/x86_emulate.c c->dst.val = *(u16 *)c->dst.ptr; val 1372 arch/x86/kvm/x86_emulate.c c->dst.val = *(u32 *)c->dst.ptr; val 1373 arch/x86/kvm/x86_emulate.c c->dst.orig_val = c->dst.val; val 1396 arch/x86/kvm/x86_emulate.c c->dst.val = c->src.val; val 1416 arch/x86/kvm/x86_emulate.c c->dst.val = (s32) c->src.val; val 1490 arch/x86/kvm/x86_emulate.c *(u8 *) c->src.ptr = (u8) c->dst.val; val 1493 arch/x86/kvm/x86_emulate.c *(u16 *) c->src.ptr = (u16) c->dst.val; val 1496 arch/x86/kvm/x86_emulate.c *c->src.ptr = (u32) c->dst.val; val 1499 arch/x86/kvm/x86_emulate.c *c->src.ptr = c->dst.val; val 1506 arch/x86/kvm/x86_emulate.c c->dst.val = c->src.val; val 1521 arch/x86/kvm/x86_emulate.c c->dst.val = segreg.selector; val 1525 arch/x86/kvm/x86_emulate.c c->dst.val = c->modrm_ea; val 1532 arch/x86/kvm/x86_emulate.c sel = c->src.val; val 1563 arch/x86/kvm/x86_emulate.c c->src.val = *(c->src.ptr); val 1566 arch/x86/kvm/x86_emulate.c c->src.val = (unsigned long) ctxt->eflags; val 1574 arch/x86/kvm/x86_emulate.c c->dst.val = c->src.val; val 1577 arch/x86/kvm/x86_emulate.c c->dst.val = (unsigned long)c->regs[VCPU_REGS_RAX]; val 1588 arch/x86/kvm/x86_emulate.c &c->dst.val, val 1605 arch/x86/kvm/x86_emulate.c &c->src.val, val 1616 arch/x86/kvm/x86_emulate.c &c->dst.val, val 1639 arch/x86/kvm/x86_emulate.c c->dst.val = c->regs[VCPU_REGS_RAX]; val 1651 arch/x86/kvm/x86_emulate.c &c->dst.val, val 1672 arch/x86/kvm/x86_emulate.c c->dst.val = c->src.val; val 1675 arch/x86/kvm/x86_emulate.c c->src.val = 1; val 1679 arch/x86/kvm/x86_emulate.c c->src.val = c->regs[VCPU_REGS_RCX]; val 1695 arch/x86/kvm/x86_emulate.c c->src.val = (unsigned long) c->eip; val 1729 arch/x86/kvm/x86_emulate.c jmp_rel(c, c->src.val); val 1828 arch/x86/kvm/x86_emulate.c c->dst.val = realmode_get_cr(ctxt->vcpu, 0); val 1831 arch/x86/kvm/x86_emulate.c realmode_lmsw(ctxt->vcpu, (u16)c->src.val, val 1911 arch/x86/kvm/x86_emulate.c c->dst.val = c->dst.orig_val = c->src.val; val 1941 arch/x86/kvm/x86_emulate.c c->src.val &= (c->dst.bytes << 3) - 1; val 1947 arch/x86/kvm/x86_emulate.c c->src.val &= (c->dst.bytes << 3) - 1; val 1957 arch/x86/kvm/x86_emulate.c c->src.orig_val = c->src.val; val 1958 arch/x86/kvm/x86_emulate.c c->src.val = c->regs[VCPU_REGS_RAX]; val 1962 arch/x86/kvm/x86_emulate.c c->dst.val = c->src.orig_val; val 1972 arch/x86/kvm/x86_emulate.c c->src.val &= (c->dst.bytes << 3) - 1; val 1977 arch/x86/kvm/x86_emulate.c c->dst.val = (c->d & ByteOp) ? (u8) c->src.val val 1978 arch/x86/kvm/x86_emulate.c : (u16) c->src.val; val 1995 arch/x86/kvm/x86_emulate.c c->src.val &= (c->dst.bytes << 3) - 1; val 2000 arch/x86/kvm/x86_emulate.c c->dst.val = (c->d & ByteOp) ? (s8) c->src.val : val 2001 arch/x86/kvm/x86_emulate.c (s16) c->src.val; val 2005 arch/x86/kvm/x86_emulate.c c->dst.val = (c->op_bytes == 4) ? (u32) c->src.val : val 2006 arch/x86/kvm/x86_emulate.c (u64) c->src.val; val 376 arch/x86/lguest/boot.c lazy_hcall(LHCALL_TS, val & X86_CR0_TS, 0, 0); val 377 arch/x86/lguest/boot.c current_cr0 = val; val 179 arch/x86/mach-voyager/voyager_basic.c __u16 val; val 184 arch/x86/mach-voyager/voyager_basic.c val = inb_p(0x40); val 185 arch/x86/mach-voyager/voyager_basic.c val |= inb(0x40) << 8; val 188 arch/x86/mach-voyager/voyager_basic.c if (val > LATCH) { val 191 arch/x86/mach-voyager/voyager_basic.c val); val 467 arch/x86/mach-voyager/voyager_cat.c __u8 val; val 473 arch/x86/mach-voyager/voyager_cat.c if (cat_read(modp, asicp, VOYAGER_AUTO_INC_REG, &val)) { val 478 arch/x86/mach-voyager/voyager_cat.c val)); val 479 arch/x86/mach-voyager/voyager_cat.c newval = val | VOYAGER_AUTO_INC; val 480 arch/x86/mach-voyager/voyager_cat.c if (newval != val) { val 481 arch/x86/mach-voyager/voyager_cat.c if (cat_write(modp, asicp, VOYAGER_AUTO_INC_REG, val)) { val 497 arch/x86/mach-voyager/voyager_cat.c cat_read(modp, asicp, VOYAGER_SUBADDRHI, &val); val 499 arch/x86/mach-voyager/voyager_cat.c val)); val 501 arch/x86/mach-voyager/voyager_cat.c cat_read(modp, asicp, VOYAGER_SUBADDRLO, &val); val 502 arch/x86/mach-voyager/voyager_cat.c CDEBUG(("cat_subaddrsetup: offset = %d, lo = %d\n", offset, val)); val 582 arch/x86/mach-voyager/voyager_cat.c __u8 num_submodules, val; val 745 arch/x86/mach-voyager/voyager_cat.c cat_read(*modpp, (*modpp)->asic, VOYAGER_SUBMODSELECT, &val); val 746 arch/x86/mach-voyager/voyager_cat.c CDEBUG(("cat_init: SUBMODSELECT value = 0x%x\n", val)); val 747 arch/x86/mach-voyager/voyager_cat.c val = (val & 0x7c) | VOYAGER_QUAD_BASEBOARD; val 748 arch/x86/mach-voyager/voyager_cat.c cat_write(*modpp, (*modpp)->asic, VOYAGER_SUBMODSELECT, val); val 935 arch/x86/mach-voyager/voyager_cat.c __u8 val; val 944 arch/x86/mach-voyager/voyager_cat.c err = cat_read(modp, asicp, VOYAGER_SCANPATH, &val); val 949 arch/x86/mach-voyager/voyager_cat.c val &= VOYAGER_DISCONNECT_ASIC; val 950 arch/x86/mach-voyager/voyager_cat.c err = cat_write(modp, asicp, VOYAGER_SCANPATH, val); val 964 arch/x86/mach-voyager/voyager_cat.c __u8 val; val 974 arch/x86/mach-voyager/voyager_cat.c err = cat_read(modp, asicp, VOYAGER_SCANPATH, &val); val 979 arch/x86/mach-voyager/voyager_cat.c val |= VOYAGER_CONNECT_ASIC; val 980 arch/x86/mach-voyager/voyager_cat.c err = cat_write(modp, asicp, VOYAGER_SCANPATH, val); val 509 arch/x86/mach-voyager/voyager_smp.c __u32 val; val 539 arch/x86/mach-voyager/voyager_smp.c (unsigned long)hijack_source.val, hijack_source.idt.Segment, val 552 arch/x86/mach-voyager/voyager_smp.c *hijack_vector = hijack_source.val; val 558 arch/x86/mach-voyager/voyager_smp.c *hijack_vector = hijack_source.val; val 564 arch/x86/mach-voyager/voyager_smp.c *hijack_vector = hijack_source.val; val 346 arch/x86/mm/ioremap.c unsigned long val = _PAGE_CACHE_UC_MINUS; val 348 arch/x86/mm/ioremap.c return __ioremap_caller(phys_addr, size, val, val 492 arch/x86/mm/kmmio.c if (val == DIE_DEBUG && (arg->err & DR_STEP)) val 19 arch/x86/mm/memtest.c unsigned long val; val 26 arch/x86/mm/memtest.c val = 0UL; val 29 arch/x86/mm/memtest.c val = -1UL; val 33 arch/x86/mm/memtest.c val = 0x5555555555555555UL; val 35 arch/x86/mm/memtest.c val = 0x55555555UL; val 40 arch/x86/mm/memtest.c val = 0xaaaaaaaaaaaaaaaaUL; val 42 arch/x86/mm/memtest.c val = 0xaaaaaaaaUL; val 57 arch/x86/mm/memtest.c start[i] = val; val 59 arch/x86/mm/memtest.c if (*start != val) { val 65 arch/x86/mm/memtest.c val, start_bad, last_bad + incr); val 74 arch/x86/mm/memtest.c val, start_bad, last_bad + incr); val 117 arch/x86/oprofile/nmi_int.c switch (val) { val 27 arch/x86/oprofile/nmi_timer_int.c switch (val) { val 41 arch/x86/oprofile/op_model_amd.c #define CTRL_SET_ENABLE(val) (val |= 1<<20) val 42 arch/x86/oprofile/op_model_amd.c #define CTRL_SET_USR(val, u) (val |= ((u & 1) << 16)) val 43 arch/x86/oprofile/op_model_amd.c #define CTRL_SET_KERN(val, k) (val |= ((k & 1) << 17)) val 44 arch/x86/oprofile/op_model_amd.c #define CTRL_SET_UM(val, m) (val |= (m << 8)) val 45 arch/x86/oprofile/op_model_amd.c #define CTRL_SET_EVENT_LOW(val, e) (val |= (e & 0xff)) val 46 arch/x86/oprofile/op_model_amd.c #define CTRL_SET_EVENT_HIGH(val, e) (val |= ((e >> 8) & 0xf)) val 47 arch/x86/oprofile/op_model_amd.c #define CTRL_SET_HOST_ONLY(val, h) (val |= ((h & 1) << 9)) val 48 arch/x86/oprofile/op_model_amd.c #define CTRL_SET_GUEST_ONLY(val, h) (val |= ((h & 1) << 8)) val 37 arch/x86/oprofile/op_model_ppro.c #define CTRL_SET_ENABLE(val) (val |= 1<<20) val 38 arch/x86/oprofile/op_model_ppro.c #define CTRL_SET_USR(val, u) (val |= ((u & 1) << 16)) val 39 arch/x86/oprofile/op_model_ppro.c #define CTRL_SET_KERN(val, k) (val |= ((k & 1) << 17)) val 40 arch/x86/oprofile/op_model_ppro.c #define CTRL_SET_UM(val, m) (val |= (m << 8)) val 41 arch/x86/oprofile/op_model_ppro.c #define CTRL_SET_EVENT(val, e) (val |= e) val 293 arch/x86/pci/amd_bus.c u64 val; val 417 arch/x86/pci/amd_bus.c rdmsrl(address, val); val 418 arch/x86/pci/amd_bus.c end = (val & 0xffffff800000ULL); val 506 arch/x86/pci/amd_bus.c rdmsrl(address, val); val 508 arch/x86/pci/amd_bus.c if (val & (1<<21)) { val 511 arch/x86/pci/amd_bus.c rdmsrl(address, val); val 512 arch/x86/pci/amd_bus.c end = (val & 0xffffff800000ULL); val 36 arch/x86/pci/common.c return raw_pci_ops->read(domain, bus, devfn, reg, len, val); val 38 arch/x86/pci/common.c return raw_pci_ext_ops->read(domain, bus, devfn, reg, len, val); val 46 arch/x86/pci/common.c return raw_pci_ops->write(domain, bus, devfn, reg, len, val); val 48 arch/x86/pci/common.c return raw_pci_ext_ops->write(domain, bus, devfn, reg, len, val); val 41 arch/x86/pci/early.c pr_debug("%x writing to %x: %x\n", slot, offset, val); val 43 arch/x86/pci/early.c outl(val, 0xcfc); val 48 arch/x86/pci/early.c pr_debug("%x writing to %x: %x\n", slot, offset, val); val 50 arch/x86/pci/early.c outb(val, 0xcfc + (offset&3)); val 55 arch/x86/pci/early.c pr_debug("%x writing to %x: %x\n", slot, offset, val); val 57 arch/x86/pci/early.c outw(val, 0xcfc + (offset&2)); val 70 arch/x86/pci/early.c u32 val; val 78 arch/x86/pci/early.c val = read_pci_config(bus, slot, func, i); val 80 arch/x86/pci/early.c printk(" %02x", val & 0xff); val 81 arch/x86/pci/early.c val >>= 8; val 188 arch/x86/pci/fixup.c u32 val; val 198 arch/x86/pci/fixup.c pci_read_config_dword(dev, 0x6c, &val); val 203 arch/x86/pci/fixup.c if ((val & 0x00FF0000) != 0x00010000) { val 205 arch/x86/pci/fixup.c pci_write_config_dword(dev, 0x6c, (val & 0xFF00FFFF) | 0x00010000); val 383 arch/x86/pci/fixup.c unsigned char val; val 387 arch/x86/pci/fixup.c pci_read_config_byte(dev, 0x50, &val); val 388 arch/x86/pci/fixup.c if (val & 0x40) { val 389 arch/x86/pci/fixup.c pci_write_config_byte(dev, 0x50, val & (~0x40)); val 392 arch/x86/pci/fixup.c pci_read_config_byte(dev, 0x50, &val); val 393 arch/x86/pci/fixup.c if (val & 0x40) val 521 arch/x86/pci/fixup.c u8 val; val 530 arch/x86/pci/fixup.c pci_read_config_byte(dev, 0x08, &val); val 532 arch/x86/pci/fixup.c if (val < 0x2F) { val 534 arch/x86/pci/fixup.c val = inb(0xCD7); val 538 arch/x86/pci/fixup.c outb(val | 0x80, 0xCD7); val 160 arch/x86/pci/irq.c unsigned char val; val 168 arch/x86/pci/irq.c val = inb(port); val 169 arch/x86/pci/irq.c if (!(val & mask)) { val 171 arch/x86/pci/irq.c outb(val | mask, port); val 195 arch/x86/pci/irq.c x = (nr & 1) ? ((x & 0x0f) | (val << 4)) : ((x & 0xf0) | val); val 215 arch/x86/pci/irq.c unsigned int val = irqmap[irq]; val 218 arch/x86/pci/irq.c if (val) { val 219 arch/x86/pci/irq.c write_config_nybble(router, 0x48, pirq-1, val); val 32 arch/x86/pci/numaq_32.c unsigned val = PCI_CONF1_MQ_ADDRESS(bus, devfn, reg); val 34 arch/x86/pci/numaq_32.c writel(val, XQUAD_PORT_ADDR(0xcf8, BUS2QUAD(bus))); val 36 arch/x86/pci/numaq_32.c outl(val, 0xCF8); val 90 arch/x86/pci/pci.h int reg, int len, u32 *val); val 92 arch/x86/pci/pci.h int reg, int len, u32 val); val 129 arch/x86/pci/pci.h u8 val; val 130 arch/x86/pci/pci.h asm volatile("movb (%1),%%al" : "=a" (val) : "r" (pos)); val 131 arch/x86/pci/pci.h return val; val 136 arch/x86/pci/pci.h u16 val; val 137 arch/x86/pci/pci.h asm volatile("movw (%1),%%ax" : "=a" (val) : "r" (pos)); val 138 arch/x86/pci/pci.h return val; val 143 arch/x86/pci/pci.h u32 val; val 144 arch/x86/pci/pci.h asm volatile("movl (%1),%%eax" : "=a" (val) : "r" (pos)); val 145 arch/x86/pci/pci.h return val; val 150 arch/x86/pci/pci.h asm volatile("movb %%al,(%1)" :: "a" (val), "r" (pos) : "memory"); val 155 arch/x86/pci/pci.h asm volatile("movw %%ax,(%1)" :: "a" (val), "r" (pos) : "memory"); val 160 arch/x86/pci/pci.h asm volatile("movl %%eax,(%1)" :: "a" (val), "r" (pos) : "memory"); val 231 arch/x86/xen/enlighten.c HYPERVISOR_set_debugreg(reg, val); val 418 arch/x86/xen/enlighten.c if (val->type != 0xf && val->type != 0xe) val 422 arch/x86/xen/enlighten.c info->address = gate_offset(*val); val 423 arch/x86/xen/enlighten.c info->cs = gate_segment(*val); val 424 arch/x86/xen/enlighten.c info->flags = val->dpl; val 426 arch/x86/xen/enlighten.c if (val->type == 0xe) val 109 arch/x86/xen/mmu.c do { check_zero(); mmu_stats.elem += (val); } while(0) val 113 arch/x86/xen/mmu.c #define ADD_STATS(elem, val) do { (void)(val); } while(0) val 333 arch/x86/xen/mmu.c u.val = pmd_val_ma(val); val 350 arch/x86/xen/mmu.c *ptr = val; val 356 arch/x86/xen/mmu.c xen_set_pmd_hyper(ptr, val); val 414 arch/x86/xen/mmu.c u.val = pte_val_ma(pte); val 426 arch/x86/xen/mmu.c if (val & _PAGE_PRESENT) { val 427 arch/x86/xen/mmu.c unsigned long mfn = (val & PTE_PFN_MASK) >> PAGE_SHIFT; val 428 arch/x86/xen/mmu.c pteval_t flags = val & PTE_FLAGS_MASK; val 429 arch/x86/xen/mmu.c val = ((pteval_t)mfn_to_pfn(mfn) << PAGE_SHIFT) | flags; val 432 arch/x86/xen/mmu.c return val; val 437 arch/x86/xen/mmu.c if (val & _PAGE_PRESENT) { val 438 arch/x86/xen/mmu.c unsigned long pfn = (val & PTE_PFN_MASK) >> PAGE_SHIFT; val 439 arch/x86/xen/mmu.c pteval_t flags = val & PTE_FLAGS_MASK; val 440 arch/x86/xen/mmu.c val = ((pteval_t)pfn_to_mfn(pfn) << PAGE_SHIFT) | flags; val 443 arch/x86/xen/mmu.c return val; val 483 arch/x86/xen/mmu.c u.val = pud_val_ma(val); val 500 arch/x86/xen/mmu.c *ptr = val; val 506 arch/x86/xen/mmu.c xen_set_pud_hyper(ptr, val); val 583 arch/x86/xen/mmu.c u.val = pgd_val_ma(val); val 600 arch/x86/xen/mmu.c __xen_set_pgd_hyper(ptr, val); val 616 arch/x86/xen/mmu.c *ptr = val; val 619 arch/x86/xen/mmu.c *user_ptr = val; val 631 arch/x86/xen/mmu.c __xen_set_pgd_hyper(ptr, val); val 633 arch/x86/xen/mmu.c __xen_set_pgd_hyper(user_ptr, val); val 56 arch/x86/xen/spinlock.c do { check_zero(); spinlock_stats.elem += (val); } while(0) val 100 arch/x86/xen/spinlock.c #define ADD_STATS(elem, val) do { (void)(val); } while(0) val 217 block/blk-integrity.c unsigned long val = simple_strtoul(p, &p, 10); val 219 block/blk-integrity.c if (val) val 236 block/blk-integrity.c unsigned long val = simple_strtoul(p, &p, 10); val 238 block/blk-integrity.c if (val) val 171 block/blk-sysfs.c unsigned long val; val 173 block/blk-sysfs.c ret = queue_var_store(&val, page, count); val 175 block/blk-sysfs.c if (val) val 49 block/blk-timeout.c int val; val 55 block/blk-timeout.c val = simple_strtoul(p, &p, 10); val 57 block/blk-timeout.c if (val) val 16 block/compat_ioctl.c return put_user(val, (unsigned short __user *)compat_ptr(arg)); val 21 block/compat_ioctl.c return put_user(val, (compat_int_t __user *)compat_ptr(arg)); val 26 block/compat_ioctl.c return put_user(val, (compat_long_t __user *)compat_ptr(arg)); val 31 block/compat_ioctl.c return put_user(val, (compat_ulong_t __user *)compat_ptr(arg)); val 36 block/compat_ioctl.c return put_user(val, (compat_u64 __user *)compat_ptr(arg)); val 181 block/ioctl.c return put_user(val, (unsigned short __user *)arg); val 186 block/ioctl.c return put_user(val, (int __user *)arg); val 191 block/ioctl.c return put_user(val, (long __user *)arg); val 196 block/ioctl.c return put_user(val, (unsigned long __user *)arg); val 201 block/ioctl.c return put_user(val, (u64 __user *)arg); val 78 block/scsi_ioctl.c unsigned val = min(q->sg_reserved_size, q->max_sectors << 9); val 80 block/scsi_ioctl.c return put_user(val, p); val 231 crypto/api.c ok = blocking_notifier_call_chain(&crypto_chain, val, v); val 234 crypto/api.c ok = blocking_notifier_call_chain(&crypto_chain, val, v); val 61 crypto/async_tx/async_memset.c tx = device->device_prep_dma_memset(chan, dma_dest, val, len, val 77 crypto/async_tx/async_memset.c memset(dest_buf, val, len); val 156 crypto/internal.h blocking_notifier_call_chain(&crypto_chain, val, v); val 114 crypto/lrw.c u32 val = be32_to_cpup(p); val 116 crypto/lrw.c if (!~val) val 119 crypto/lrw.c return x + ffz(val); val 31 crypto/michael_mic.c return ((val & 0x00ff00ff) << 8) | ((val & 0xff00ff00) >> 8); val 47 firmware/ihex2fw.c uint8_t val = (nybble(data[0]) << 4) | nybble(data[1]); val 48 firmware/ihex2fw.c *crc += val; val 49 firmware/ihex2fw.c return val; val 102 fs/adfs/adfs.h val <<= shift; val 104 fs/adfs/adfs.h val >>= -shift; val 105 fs/adfs/adfs.h return val; val 31 fs/adfs/dir_f.c unsigned int val = 0; val 34 fs/adfs/dir_f.c case 4: val |= p[3] << 24; val 35 fs/adfs/dir_f.c case 3: val |= p[2] << 16; val 36 fs/adfs/dir_f.c case 2: val |= p[1] << 8; val 37 fs/adfs/dir_f.c default: val |= p[0]; val 39 fs/adfs/dir_f.c return val; val 45 fs/adfs/dir_f.c case 4: p[3] = val >> 24; val 46 fs/adfs/dir_f.c case 3: p[2] = val >> 16; val 47 fs/adfs/dir_f.c case 2: p[1] = val >> 8; val 48 fs/adfs/dir_f.c default: p[0] = val; val 266 fs/affs/affs.h ((__be32 *)bh->b_data)[5] = cpu_to_be32(tmp - val); val 272 fs/affs/affs.h ((__be32 *)bh->b_data)[0] = cpu_to_be32(tmp - val); val 234 fs/bfs/inode.c buf->f_fsid.val[0] = (u32)id; val 235 fs/bfs/inode.c buf->f_fsid.val[1] = (u32)(id >> 32); val 205 fs/binfmt_elf.c elf_info[ei_index++] = val; \ val 564 fs/binfmt_elf_fdpic.c __put_user((val), &ent[nr]._val); \ val 550 fs/cifs/cifssmb.c int val, seconds, remain, result; val 558 fs/cifs/cifssmb.c val = (int)(utc.tv_sec - ts.tv_sec); val 559 fs/cifs/cifssmb.c seconds = abs(val); val 564 fs/cifs/cifssmb.c if (val < 0) val 47 fs/cifs/smbencrypt.c #define SSVALX(buf,pos,val) (CVAL(buf,pos)=(val)&0xFF,CVAL(buf,pos+1)=(val)>>8) val 48 fs/cifs/smbencrypt.c #define SSVAL(buf,pos,val) SSVALX((buf),(pos),((__u16)(val))) val 102 fs/cifs/smbencrypt.c __u16 val; val 105 fs/cifs/smbencrypt.c val = *src; val 106 fs/cifs/smbencrypt.c SSVAL(dst, 0, val); val 109 fs/cifs/smbencrypt.c if (val == 0) val 221 fs/compat.c __put_user(kbuf->f_fsid.val[0], &ubuf->f_fsid.val[0]) || val 222 fs/compat.c __put_user(kbuf->f_fsid.val[1], &ubuf->f_fsid.val[1]) || val 295 fs/compat.c __put_user(kbuf->f_fsid.val[0], &ubuf->f_fsid.val[0]) || val 296 fs/compat.c __put_user(kbuf->f_fsid.val[1], &ubuf->f_fsid.val[1]) || val 127 fs/compat_ioctl.c unsigned long val; val 130 fs/compat_ioctl.c err = sys_ioctl(fd, cmd, (unsigned long)&val); val 132 fs/compat_ioctl.c if (!err && put_user(val, (u32 __user *)compat_ptr(arg))) val 142 fs/compat_ioctl.c unsigned long val; val 144 fs/compat_ioctl.c if(get_user(val, argptr)) val 147 fs/compat_ioctl.c err = sys_ioctl(fd, cmd, (unsigned long)&val); val 149 fs/compat_ioctl.c if (!err && put_user(val, argptr)) val 61 fs/debugfs/file.c *(u8 *)data = val; val 66 fs/debugfs/file.c *val = *(u8 *)data; val 104 fs/debugfs/file.c *(u16 *)data = val; val 109 fs/debugfs/file.c *val = *(u16 *)data; val 147 fs/debugfs/file.c *(u32 *)data = val; val 152 fs/debugfs/file.c *val = *(u32 *)data; val 190 fs/debugfs/file.c *(u64 *)data = val; val 196 fs/debugfs/file.c *val = *(u64 *)data; val 301 fs/debugfs/file.c u32 *val = file->private_data; val 303 fs/debugfs/file.c if (*val) val 317 fs/debugfs/file.c u32 *val = file->private_data; val 327 fs/debugfs/file.c *val = 1; val 332 fs/debugfs/file.c *val = 0; val 122 fs/dlm/dir.c uint32_t val; val 124 fs/dlm/dir.c val = jhash(name, len, 0); val 125 fs/dlm/dir.c val &= (ls->ls_dirtbl_size - 1); val 127 fs/dlm/dir.c return val; val 1283 fs/ext2/super.c buf->f_fsid.val[0] = fsid & 0xFFFFFFFFUL; val 1284 fs/ext2/super.c buf->f_fsid.val[1] = (fsid >> 32) & 0xFFFFFFFFUL; val 546 fs/ext2/xattr.c char *val = (char *)header + offs; val 554 fs/ext2/xattr.c memset(val + size - EXT2_XATTR_PAD, 0, val 556 fs/ext2/xattr.c memcpy(val, value, value_len); val 561 fs/ext2/xattr.c memmove(first_val + size, first_val, val - first_val); val 591 fs/ext2/xattr.c char *val = (char *)header + min_offs - size; val 593 fs/ext2/xattr.c cpu_to_le16((char *)val - (char *)header); val 594 fs/ext2/xattr.c memset(val + size - EXT2_XATTR_PAD, 0, val 596 fs/ext2/xattr.c memcpy(val, value, value_len); val 53 fs/ext3/hash.c __u32 pad, val; val 59 fs/ext3/hash.c val = pad; val 64 fs/ext3/hash.c val = pad; val 65 fs/ext3/hash.c val = msg[i] + (val << 8); val 67 fs/ext3/hash.c *buf++ = val; val 68 fs/ext3/hash.c val = pad; val 73 fs/ext3/hash.c *buf++ = val; val 3320 fs/ext3/inode.c if (val) val 2615 fs/ext3/super.c buf->f_fsid.val[0] = fsid & 0xFFFFFFFFUL; val 2616 fs/ext3/super.c buf->f_fsid.val[1] = (fsid >> 32) & 0xFFFFFFFFUL; val 571 fs/ext3/xattr.c void *val = s->base + offs; val 580 fs/ext3/xattr.c memset(val + size - EXT3_XATTR_PAD, 0, val 582 fs/ext3/xattr.c memcpy(val, i->value, i->value_len); val 587 fs/ext3/xattr.c memmove(first_val + size, first_val, val - first_val); val 619 fs/ext3/xattr.c void *val = s->base + min_offs - size; val 621 fs/ext3/xattr.c memset(val + size - EXT3_XATTR_PAD, 0, val 623 fs/ext3/xattr.c memcpy(val, i->value, i->value_len); val 53 fs/ext4/hash.c __u32 pad, val; val 59 fs/ext4/hash.c val = pad; val 64 fs/ext4/hash.c val = pad; val 65 fs/ext4/hash.c val = msg[i] + (val << 8); val 67 fs/ext4/hash.c *buf++ = val; val 68 fs/ext4/hash.c val = pad; val 73 fs/ext4/hash.c *buf++ = val; val 4909 fs/ext4/inode.c if (val) val 3240 fs/ext4/super.c buf->f_fsid.val[0] = fsid & 0xFFFFFFFFUL; val 3241 fs/ext4/super.c buf->f_fsid.val[1] = (fsid >> 32) & 0xFFFFFFFFUL; val 581 fs/ext4/xattr.c void *val = s->base + offs; val 590 fs/ext4/xattr.c memset(val + size - EXT4_XATTR_PAD, 0, val 592 fs/ext4/xattr.c memcpy(val, i->value, i->value_len); val 597 fs/ext4/xattr.c memmove(first_val + size, first_val, val - first_val); val 629 fs/ext4/xattr.c void *val = s->base + min_offs - size; val 631 fs/ext4/xattr.c memset(val + size - EXT4_XATTR_PAD, 0, val 633 fs/ext4/xattr.c memcpy(val, i->value, i->value_len); val 625 fs/fs-writeback.c sb->s_syncing = val; val 566 fs/fuse/dev.c if (val) { val 568 fs/fuse/dev.c memcpy(cs->buf, *val, ncpy); val 570 fs/fuse/dev.c memcpy(*val, cs->buf, ncpy); val 571 fs/fuse/dev.c *val += ncpy; val 637 fs/fuse/dev.c fuse_copy_do(cs, &val, &size); val 23 fs/gfs2/locking/dlm/sysfs.c int val = 0; val 26 fs/gfs2/locking/dlm/sysfs.c val = 1; val 27 fs/gfs2/locking/dlm/sysfs.c ret = sprintf(buf, "%d\n", val); val 34 fs/gfs2/locking/dlm/sysfs.c int val; val 36 fs/gfs2/locking/dlm/sysfs.c val = simple_strtol(buf, NULL, 0); val 38 fs/gfs2/locking/dlm/sysfs.c if (val == 1) val 40 fs/gfs2/locking/dlm/sysfs.c else if (val == 0) { val 52 fs/gfs2/locking/dlm/sysfs.c int val = 0; val 55 fs/gfs2/locking/dlm/sysfs.c val = 1; val 56 fs/gfs2/locking/dlm/sysfs.c ret = sprintf(buf, "%d\n", val); val 63 fs/gfs2/locking/dlm/sysfs.c int val; val 65 fs/gfs2/locking/dlm/sysfs.c val = simple_strtol(buf, NULL, 0); val 67 fs/gfs2/locking/dlm/sysfs.c if (val == 1) val 121 fs/gfs2/ops_file.c while(val) { val 122 fs/gfs2/ops_file.c if (val & 1) val 125 fs/gfs2/ops_file.c val >>= 1; val 33 fs/hfs/bitmap.c __be32 val; val 44 fs/hfs/bitmap.c val = *curr; val 45 fs/hfs/bitmap.c if (~val) { val 46 fs/hfs/bitmap.c n = be32_to_cpu(val); val 57 fs/hfs/bitmap.c val = *curr; val 58 fs/hfs/bitmap.c if (~val) { val 59 fs/hfs/bitmap.c n = be32_to_cpu(val); val 24 fs/hfsplus/bitmap.c __be32 val; val 45 fs/hfsplus/bitmap.c val = *curr; val 46 fs/hfsplus/bitmap.c if (~val) { val 47 fs/hfsplus/bitmap.c n = be32_to_cpu(val); val 59 fs/hfsplus/bitmap.c val = *curr; val 60 fs/hfsplus/bitmap.c if (~val) { val 61 fs/hfsplus/bitmap.c n = be32_to_cpu(val); val 689 fs/libfs.c u64 val; val 690 fs/libfs.c ret = attr->get(attr->data, &val); val 695 fs/libfs.c attr->fmt, (unsigned long long)val); val 709 fs/libfs.c u64 val; val 728 fs/libfs.c val = simple_strtol(attr->set_buf, NULL, 0); val 729 fs/libfs.c attr->set(attr->data, val); val 426 fs/lockd/svc.c static int param_set_##name(const char *val, struct kernel_param *kp) \ val 429 fs/lockd/svc.c __typeof__(type) num = which_strtol(val, &endp, 0); \ val 430 fs/lockd/svc.c if (endp == val || *endp || num < (min) || num > (max)) \ val 275 fs/ncpfs/dir.c int res, val = 0, len; val 295 fs/ncpfs/dir.c val = NCP_TEST_AGE(server, dentry); val 296 fs/ncpfs/dir.c if (val) val 325 fs/ncpfs/dir.c val=1; val 333 fs/ncpfs/dir.c DDPRINTK("ncp_lookup_validate: result=%d\n", val); val 335 fs/ncpfs/dir.c return val; val 31 fs/ncpfs/getopt.c char *val; val 40 fs/ncpfs/getopt.c if ((val = strchr (token, '=')) != NULL) { val 41 fs/ncpfs/getopt.c *val++ = 0; val 43 fs/ncpfs/getopt.c *optarg = val; val 46 fs/ncpfs/getopt.c if (!val) { val 48 fs/ncpfs/getopt.c return opts->val; val 57 fs/ncpfs/getopt.c *value = simple_strtoul(val, &v, 0); val 59 fs/ncpfs/getopt.c return opts->val; val 62 fs/ncpfs/getopt.c caller, token, val); val 66 fs/ncpfs/getopt.c return opts->val; val 69 fs/ncpfs/getopt.c caller, val, token); val 10 fs/ncpfs/getopt.h int val; val 24 fs/ncpfs/ncpsign_kernel.c #define BSET(buf,pos,val) (BVAL(buf,pos) = (val)) val 39 fs/ncpfs/ncpsign_kernel.c BSET(buf, pos, val & 0xff); val 40 fs/ncpfs/ncpsign_kernel.c BSET(buf, pos + 1, val >> 8); val 45 fs/ncpfs/ncpsign_kernel.c WSET_LH(buf, pos, val & 0xffff); val 46 fs/ncpfs/ncpsign_kernel.c WSET_LH(buf, pos + 2, val >> 16); val 46 fs/nfs/callback.c int num = simple_strtol(val, &endp, 0); val 47 fs/nfs/callback.c if (endp == val || *endp || num < nfs_set_port_min || num > nfs_set_port_max) val 63 fs/nfs/idmap.c int num = simple_strtol(val, &endp, 0); val 65 fs/nfs/idmap.c if (endp == val || *endp || num < 0 || jif < num) val 661 fs/ntfs/attrib.c if (!val) val 667 fs/ntfs/attrib.c rc = memcmp(val, (u8*)a + le16_to_cpu( val 1070 fs/ntfs/attrib.c if (!val || (!a->non_resident && le32_to_cpu( val 1074 fs/ntfs/attrib.c val, val_len))) { val 1106 fs/ntfs/attrib.c return ntfs_attr_find(AT_END, name, name_len, ic, val, val_len, val 1140 fs/ntfs/attrib.c err = ntfs_attr_find(type, name, name_len, ic, val, val_len, val 1202 fs/ntfs/attrib.c return ntfs_attr_find(type, name, name_len, ic, val, val_len, val 1205 fs/ntfs/attrib.c val, val_len, ctx); val 2503 fs/ntfs/attrib.c (long long)ofs, (long long)cnt, val); val 2543 fs/ntfs/attrib.c memset(kaddr + start_ofs, val, size - start_ofs); val 2564 fs/ntfs/attrib.c memset(kaddr, val, PAGE_CACHE_SIZE); val 2601 fs/ntfs/attrib.c memset(kaddr, val, end_ofs); val 2324 fs/ntfs/inode.c for (i = 0; on_errors_arr[i].val; i++) { val 2325 fs/ntfs/inode.c if (on_errors_arr[i].val & vol->on_errors) val 97 fs/ntfs/ntfs.h int val; val 140 fs/ntfs/super.c bool val; \ val 141 fs/ntfs/super.c if (!simple_getbool(v, &val)) \ val 143 fs/ntfs/super.c variable = val; \ val 155 fs/ntfs/super.c variable |= opt_array[_i].val; \ val 208 fs/ntfs/super.c bool val = false; val 215 fs/ntfs/super.c val = true; val 216 fs/ntfs/super.c else if (!simple_getbool(v, &val)) val 218 fs/ntfs/super.c if (val) { val 2670 fs/ntfs/super.c sfs->f_fsid.val[0] = vol->serial_no & 0xffffffff; val 2671 fs/ntfs/super.c sfs->f_fsid.val[1] = (vol->serial_no >> 32) & 0xffffffff; val 495 fs/ocfs2/cluster/nodemanager.c *val = tmp; val 510 fs/ocfs2/cluster/nodemanager.c unsigned int val; val 512 fs/ocfs2/cluster/nodemanager.c ret = o2nm_cluster_attr_write(page, count, &val); val 515 fs/ocfs2/cluster/nodemanager.c if (cluster->cl_idle_timeout_ms != val val 523 fs/ocfs2/cluster/nodemanager.c } else if (val <= cluster->cl_keepalive_delay_ms) { val 528 fs/ocfs2/cluster/nodemanager.c cluster->cl_idle_timeout_ms = val; val 545 fs/ocfs2/cluster/nodemanager.c unsigned int val; val 547 fs/ocfs2/cluster/nodemanager.c ret = o2nm_cluster_attr_write(page, count, &val); val 550 fs/ocfs2/cluster/nodemanager.c if (cluster->cl_keepalive_delay_ms != val val 558 fs/ocfs2/cluster/nodemanager.c } else if (val >= cluster->cl_idle_timeout_ms) { val 563 fs/ocfs2/cluster/nodemanager.c cluster->cl_keepalive_delay_ms = val; val 1407 fs/ocfs2/cluster/tcp.c int ret, val = 1; val 1424 fs/ocfs2/cluster/tcp.c (char __user *)&val, sizeof(val)); val 550 fs/ocfs2/dlm/userdlm.c memcpy(lvb, val, len); val 567 fs/ocfs2/dlm/userdlm.c memcpy(val, lvb, len); val 976 fs/ocfs2/xattr.c void *val = xs->base + offs; val 996 fs/ocfs2/xattr.c memset(val, 0, size); val 1057 fs/ocfs2/xattr.c void *val = xs->base + offs; val 1062 fs/ocfs2/xattr.c memset(val, 0, size); val 1063 fs/ocfs2/xattr.c memcpy(val, xi->name, name_len); val 1065 fs/ocfs2/xattr.c (val + OCFS2_XATTR_SIZE(name_len)); val 1113 fs/ocfs2/xattr.c void *val; val 1118 fs/ocfs2/xattr.c val = xs->base + offs; val 1135 fs/ocfs2/xattr.c memset(val + OCFS2_XATTR_SIZE(name_len), val 1138 fs/ocfs2/xattr.c memcpy(val + OCFS2_XATTR_SIZE(name_len), val 1144 fs/ocfs2/xattr.c memmove(first_val + size, first_val, val - first_val); val 1176 fs/ocfs2/xattr.c void *val = xs->base + min_offs - size; val 1179 fs/ocfs2/xattr.c memset(val, 0, size); val 1180 fs/ocfs2/xattr.c memcpy(val, xi->name, name_len); val 1181 fs/ocfs2/xattr.c memcpy(val + OCFS2_XATTR_SIZE(name_len), val 1269 fs/ocfs2/xattr.c void *val = xs->base + offs; val 1281 fs/ocfs2/xattr.c xv = (struct ocfs2_xattr_value_root *)(val + val 1448 fs/ocfs2/xattr.c void *val; val 1450 fs/ocfs2/xattr.c val = (void *)header + val 1453 fs/ocfs2/xattr.c (val + OCFS2_XATTR_SIZE(entry->xe_name_len)); val 3921 fs/ocfs2/xattr.c char *val; val 3955 fs/ocfs2/xattr.c val = ocfs2_xattr_bucket_get_val(inode, val 3957 fs/ocfs2/xattr.c memset(val + OCFS2_XATTR_SIZE(name_len), 0, val 3960 fs/ocfs2/xattr.c memcpy(val + OCFS2_XATTR_SIZE(name_len), val 4034 fs/ocfs2/xattr.c val = ocfs2_xattr_bucket_get_val(inode, val 4038 fs/ocfs2/xattr.c memset(val, 0, size); val 4039 fs/ocfs2/xattr.c memcpy(val, xi->name, name_len); val 4040 fs/ocfs2/xattr.c memcpy(val + OCFS2_XATTR_SIZE(name_len), xi->value, xi->value_len); val 4271 fs/ocfs2/xattr.c return __ocfs2_xattr_set_value_outside(inode, xv, val, value_len); val 4416 fs/ocfs2/xattr.c char *val = (char *)xi->value; val 4487 fs/ocfs2/xattr.c ret = ocfs2_xattr_bucket_set_value_outside(inode, xs, val, value_len); val 53 fs/openpromfs/inode.c unsigned char val = p[i]; val 55 fs/openpromfs/inode.c if ((i && !val) || val 56 fs/openpromfs/inode.c (val >= ' ' && val <= '~')) val 2196 fs/proc/base.c unsigned int val; val 2209 fs/proc/base.c val = (unsigned int)simple_strtoul(buffer, &end, 0); val 2226 fs/proc/base.c if (val & mask) val 966 fs/reiserfs/super.c unsigned long val = simple_strtoul(arg, &p, 0); val 968 fs/reiserfs/super.c if (*p != '\0' || val >= (unsigned int)-1) { val 974 fs/reiserfs/super.c *commit_max_age = (unsigned int)val; val 31 fs/smbfs/getopt.c char *val; val 41 fs/smbfs/getopt.c if ((val = strchr (token, '=')) != NULL) { val 42 fs/smbfs/getopt.c *val++ = 0; val 44 fs/smbfs/getopt.c *value = simple_strtoul(val, NULL, 0); val 45 fs/smbfs/getopt.c *optarg = val; val 50 fs/smbfs/getopt.c if (!opts[i].flag && (!val || !*val)) { val 59 fs/smbfs/getopt.c return opts[i].val; val 7 fs/smbfs/getopt.h int val; val 244 fs/ubifs/lpt.c ubifs_assert((val >> nrbits) == 0 || nrbits == 32); val 246 fs/ubifs/lpt.c *p |= ((uint8_t)val) << b; val 249 fs/ubifs/lpt.c *++p = (uint8_t)(val >>= (8 - b)); val 251 fs/ubifs/lpt.c *++p = (uint8_t)(val >>= 8); val 253 fs/ubifs/lpt.c *++p = (uint8_t)(val >>= 8); val 255 fs/ubifs/lpt.c *++p = (uint8_t)(val >>= 8); val 260 fs/ubifs/lpt.c *p = (uint8_t)val; val 262 fs/ubifs/lpt.c *++p = (uint8_t)(val >>= 8); val 264 fs/ubifs/lpt.c *++p = (uint8_t)(val >>= 8); val 266 fs/ubifs/lpt.c *++p = (uint8_t)(val >>= 8); val 290 fs/ubifs/lpt.c uint32_t val; val 297 fs/ubifs/lpt.c val = p[1] | ((uint32_t)p[2] << 8) | ((uint32_t)p[3] << 16) | val 299 fs/ubifs/lpt.c val <<= (8 - b); val 300 fs/ubifs/lpt.c val |= *p >> b; val 303 fs/ubifs/lpt.c val = p[0] | ((uint32_t)p[1] << 8) | ((uint32_t)p[2] << 16) | val 305 fs/ubifs/lpt.c val <<= k; val 306 fs/ubifs/lpt.c val >>= k; val 311 fs/ubifs/lpt.c ubifs_assert((val >> nrbits) == 0 || nrbits - b == 32); val 312 fs/ubifs/lpt.c return val; val 390 fs/ubifs/super.c buf->f_fsid.val[0] = le32_to_cpu(uuid[0]) ^ le32_to_cpu(uuid[2]); val 391 fs/ubifs/super.c buf->f_fsid.val[1] = le32_to_cpu(uuid[1]) ^ le32_to_cpu(uuid[3]); val 574 fs/ufs/util.h *(__fs64 *)p = cpu_to_fs64(sb, val); val 576 fs/ufs/util.h *(__fs32 *)p = cpu_to_fs32(sb, val); val 334 fs/xfs/linux-2.6/xfs_buf.h #define XFS_BUF_SET_FSPRIVATE(bp, val) ((bp)->b_fspriv = (void*)(val)) val 336 fs/xfs/linux-2.6/xfs_buf.h #define XFS_BUF_SET_FSPRIVATE2(bp, val) ((bp)->b_fspriv2 = (void*)(val)) val 338 fs/xfs/linux-2.6/xfs_buf.h #define XFS_BUF_SET_FSPRIVATE3(bp, val) ((bp)->b_fspriv3 = (void*)(val)) val 343 fs/xfs/linux-2.6/xfs_buf.h #define XFS_BUF_SET_PTR(bp, val, cnt) xfs_buf_associate_memory(bp, val, cnt) val 110 fs/xfs/linux-2.6/xfs_linux.h #define restricted_chown xfs_params.restrict_chown.val val 111 fs/xfs/linux-2.6/xfs_linux.h #define irix_sgid_inherit xfs_params.sgid_inherit.val val 112 fs/xfs/linux-2.6/xfs_linux.h #define irix_symlink_mode xfs_params.symlink_mode.val val 113 fs/xfs/linux-2.6/xfs_linux.h #define xfs_panic_mask xfs_params.panic_mask.val val 114 fs/xfs/linux-2.6/xfs_linux.h #define xfs_error_level xfs_params.error_level.val val 115 fs/xfs/linux-2.6/xfs_linux.h #define xfs_syncd_centisecs xfs_params.syncd_timer.val val 116 fs/xfs/linux-2.6/xfs_linux.h #define xfs_stats_clear xfs_params.stats_clear.val val 117 fs/xfs/linux-2.6/xfs_linux.h #define xfs_inherit_sync xfs_params.inherit_sync.val val 118 fs/xfs/linux-2.6/xfs_linux.h #define xfs_inherit_nodump xfs_params.inherit_nodump.val val 119 fs/xfs/linux-2.6/xfs_linux.h #define xfs_inherit_noatime xfs_params.inherit_noatim.val val 120 fs/xfs/linux-2.6/xfs_linux.h #define xfs_buf_timer_centisecs xfs_params.xfs_buf_timer.val val 121 fs/xfs/linux-2.6/xfs_linux.h #define xfs_buf_age_centisecs xfs_params.xfs_buf_age.val val 122 fs/xfs/linux-2.6/xfs_linux.h #define xfs_inherit_nosymlinks xfs_params.inherit_nosym.val val 123 fs/xfs/linux-2.6/xfs_linux.h #define xfs_rotorstep xfs_params.rotorstep.val val 124 fs/xfs/linux-2.6/xfs_linux.h #define xfs_inherit_nodefrag xfs_params.inherit_nodfrg.val val 125 fs/xfs/linux-2.6/xfs_linux.h #define xfs_fstrm_centisecs xfs_params.fstrm_timer.val val 32 fs/xfs/linux-2.6/xfs_stats.c int c, i, j, len, val; val 63 fs/xfs/linux-2.6/xfs_stats.c val = 0; val 66 fs/xfs/linux-2.6/xfs_stats.c val += *(((__u32*)&per_cpu(xfsstats, c) + j)); val 67 fs/xfs/linux-2.6/xfs_stats.c len += sprintf(buffer + len, " %u", val); val 1241 fs/xfs/linux-2.6/xfs_super.c statp->f_fsid.val[0] = (u32)id; val 1242 fs/xfs/linux-2.6/xfs_super.c statp->f_fsid.val[1] = (u32)(id >> 32); val 61 fs/xfs/linux-2.6/xfs_sysctl.c .data = &xfs_params.restrict_chown.val, val 72 fs/xfs/linux-2.6/xfs_sysctl.c .data = &xfs_params.sgid_inherit.val, val 83 fs/xfs/linux-2.6/xfs_sysctl.c .data = &xfs_params.symlink_mode.val, val 94 fs/xfs/linux-2.6/xfs_sysctl.c .data = &xfs_params.panic_mask.val, val 106 fs/xfs/linux-2.6/xfs_sysctl.c .data = &xfs_params.error_level.val, val 117 fs/xfs/linux-2.6/xfs_sysctl.c .data = &xfs_params.syncd_timer.val, val 128 fs/xfs/linux-2.6/xfs_sysctl.c .data = &xfs_params.inherit_sync.val, val 139 fs/xfs/linux-2.6/xfs_sysctl.c .data = &xfs_params.inherit_nodump.val, val 150 fs/xfs/linux-2.6/xfs_sysctl.c .data = &xfs_params.inherit_noatim.val, val 161 fs/xfs/linux-2.6/xfs_sysctl.c .data = &xfs_params.xfs_buf_timer.val, val 172 fs/xfs/linux-2.6/xfs_sysctl.c .data = &xfs_params.xfs_buf_age.val, val 183 fs/xfs/linux-2.6/xfs_sysctl.c .data = &xfs_params.inherit_nosym.val, val 194 fs/xfs/linux-2.6/xfs_sysctl.c .data = &xfs_params.rotorstep.val, val 205 fs/xfs/linux-2.6/xfs_sysctl.c .data = &xfs_params.inherit_nodfrg.val, val 216 fs/xfs/linux-2.6/xfs_sysctl.c .data = &xfs_params.fstrm_timer.val, val 229 fs/xfs/linux-2.6/xfs_sysctl.c .data = &xfs_params.stats_clear.val, val 29 fs/xfs/linux-2.6/xfs_sysctl.h int val; val 177 fs/xfs/support/ktrace.c ktep->val[0] = val0; val 178 fs/xfs/support/ktrace.c ktep->val[1] = val1; val 179 fs/xfs/support/ktrace.c ktep->val[2] = val2; val 180 fs/xfs/support/ktrace.c ktep->val[3] = val3; val 181 fs/xfs/support/ktrace.c ktep->val[4] = val4; val 182 fs/xfs/support/ktrace.c ktep->val[5] = val5; val 183 fs/xfs/support/ktrace.c ktep->val[6] = val6; val 184 fs/xfs/support/ktrace.c ktep->val[7] = val7; val 185 fs/xfs/support/ktrace.c ktep->val[8] = val8; val 186 fs/xfs/support/ktrace.c ktep->val[9] = val9; val 187 fs/xfs/support/ktrace.c ktep->val[10] = val10; val 188 fs/xfs/support/ktrace.c ktep->val[11] = val11; val 189 fs/xfs/support/ktrace.c ktep->val[12] = val12; val 190 fs/xfs/support/ktrace.c ktep->val[13] = val13; val 191 fs/xfs/support/ktrace.c ktep->val[14] = val14; val 192 fs/xfs/support/ktrace.c ktep->val[15] = val15; val 25 fs/xfs/support/ktrace.h void *val[16]; val 44 fs/xfs/xfs_arch.h #define cpu_to_be16(val) ((__be16)(val)) val 45 fs/xfs/xfs_arch.h #define cpu_to_be32(val) ((__be32)(val)) val 46 fs/xfs/xfs_arch.h #define cpu_to_be64(val) ((__be64)(val)) val 47 fs/xfs/xfs_arch.h #define be16_to_cpu(val) ((__uint16_t)(val)) val 48 fs/xfs/xfs_arch.h #define be32_to_cpu(val) ((__uint32_t)(val)) val 49 fs/xfs/xfs_arch.h #define be64_to_cpu(val) ((__uint64_t)(val)) val 51 fs/xfs/xfs_arch.h #define cpu_to_be16(val) (__swab16((__uint16_t)(val))) val 52 fs/xfs/xfs_arch.h #define cpu_to_be32(val) (__swab32((__uint32_t)(val))) val 53 fs/xfs/xfs_arch.h #define cpu_to_be64(val) (__swab64((__uint64_t)(val))) val 54 fs/xfs/xfs_arch.h #define be16_to_cpu(val) (__swab16((__be16)(val))) val 55 fs/xfs/xfs_arch.h #define be32_to_cpu(val) (__swab32((__be32)(val))) val 56 fs/xfs/xfs_arch.h #define be64_to_cpu(val) (__swab64((__be64)(val))) val 394 fs/xfs/xfs_fs.h typedef struct { __u32 val[2]; } xfs_fsid_t; /* file system id type */ val 963 fs/xfs/xfs_rtalloc.c val = -val; val 980 fs/xfs/xfs_rtalloc.c if ((wdiff = (*b ^ val) & mask)) { val 1026 fs/xfs/xfs_rtalloc.c if ((wdiff = *b ^ val)) { val 1071 fs/xfs/xfs_rtalloc.c if ((wdiff = (*b ^ val) & mask)) { val 1667 fs/xfs/xfs_rtalloc.c val = -val; val 1681 fs/xfs/xfs_rtalloc.c if (val) val 1724 fs/xfs/xfs_rtalloc.c *b = val; val 1764 fs/xfs/xfs_rtalloc.c if (val) val 274 include/acpi/aclocal.h char *val; val 340 include/acpi/acmacros.h #define ACPI_REGISTER_PREPARE_BITS(val, pos, mask) ((val << pos) & mask) val 341 include/acpi/acmacros.h #define ACPI_REGISTER_INSERT_VALUE(reg, pos, mask, val) reg = (reg & (~(mask))) | ACPI_REGISTER_PREPARE_BITS(val, pos, mask) val 48 include/asm-arm/plat-s3c/uncompress.h *ptr = val; val 58 include/asm-arm/plat-s3c24xx/pm.h unsigned long val; val 40 include/asm-cris/arch-v10/sv_addr_ag.h #define IO_EXTRACT(reg, field, val) IO_EXTRACT_ (reg##_, field##_, val) val 42 include/asm-cris/arch-v10/sv_addr_ag.h - 1 ) << reg_##_##field_##_BITNR ) & (val)) >> reg_##_##field_##_BITNR ) val 52 include/asm-cris/arch-v10/sv_addr_ag.h #define IO_FIELD(reg, field, val) IO_FIELD_ (reg##_, field##_, val) val 53 include/asm-cris/arch-v10/sv_addr_ag.h #define IO_FIELD_(reg_, field_, val) ((val) << reg_##_##field_##_BITNR) val 26 include/asm-cris/arch-v32/hwregs/ata_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/hwregs/ata_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/hwregs/ata_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/hwregs/ata_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/hwregs/ata_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 26 include/asm-cris/arch-v32/hwregs/bif_core_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/hwregs/bif_core_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/hwregs/bif_core_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/hwregs/bif_core_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/hwregs/bif_core_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 26 include/asm-cris/arch-v32/hwregs/bif_dma_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/hwregs/bif_dma_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/hwregs/bif_dma_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/hwregs/bif_dma_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/hwregs/bif_dma_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 26 include/asm-cris/arch-v32/hwregs/bif_slave_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/hwregs/bif_slave_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/hwregs/bif_slave_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/hwregs/bif_slave_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/hwregs/bif_slave_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 26 include/asm-cris/arch-v32/hwregs/config_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/hwregs/config_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/hwregs/config_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/hwregs/config_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/hwregs/config_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 26 include/asm-cris/arch-v32/hwregs/dma_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/hwregs/dma_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/hwregs/dma_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/hwregs/dma_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/hwregs/dma_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 26 include/asm-cris/arch-v32/hwregs/eth_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/hwregs/eth_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/hwregs/eth_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/hwregs/eth_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/hwregs/eth_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 26 include/asm-cris/arch-v32/hwregs/extmem_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/hwregs/extmem_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/hwregs/extmem_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/hwregs/extmem_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/hwregs/extmem_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 324 include/asm-cris/arch-v32/hwregs/extmem_defs.h unsigned int val : 16; val 26 include/asm-cris/arch-v32/hwregs/gio_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/hwregs/gio_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/hwregs/gio_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/hwregs/gio_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/hwregs/gio_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 26 include/asm-cris/arch-v32/hwregs/iop/iop_crc_par_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/hwregs/iop/iop_crc_par_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/hwregs/iop/iop_crc_par_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/hwregs/iop/iop_crc_par_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/hwregs/iop/iop_crc_par_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 26 include/asm-cris/arch-v32/hwregs/iop/iop_dmc_in_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/hwregs/iop/iop_dmc_in_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/hwregs/iop/iop_dmc_in_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/hwregs/iop/iop_dmc_in_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/hwregs/iop/iop_dmc_in_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 26 include/asm-cris/arch-v32/hwregs/iop/iop_dmc_out_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/hwregs/iop/iop_dmc_out_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/hwregs/iop/iop_dmc_out_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/hwregs/iop/iop_dmc_out_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/hwregs/iop/iop_dmc_out_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 26 include/asm-cris/arch-v32/hwregs/iop/iop_fifo_in_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/hwregs/iop/iop_fifo_in_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/hwregs/iop/iop_fifo_in_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/hwregs/iop/iop_fifo_in_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/hwregs/iop/iop_fifo_in_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 26 include/asm-cris/arch-v32/hwregs/iop/iop_fifo_in_extra_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/hwregs/iop/iop_fifo_in_extra_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/hwregs/iop/iop_fifo_in_extra_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/hwregs/iop/iop_fifo_in_extra_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/hwregs/iop/iop_fifo_in_extra_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 26 include/asm-cris/arch-v32/hwregs/iop/iop_fifo_out_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/hwregs/iop/iop_fifo_out_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/hwregs/iop/iop_fifo_out_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/hwregs/iop/iop_fifo_out_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/hwregs/iop/iop_fifo_out_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 26 include/asm-cris/arch-v32/hwregs/iop/iop_fifo_out_extra_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/hwregs/iop/iop_fifo_out_extra_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/hwregs/iop/iop_fifo_out_extra_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/hwregs/iop/iop_fifo_out_extra_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/hwregs/iop/iop_fifo_out_extra_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 26 include/asm-cris/arch-v32/hwregs/iop/iop_mpu_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/hwregs/iop/iop_mpu_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/hwregs/iop/iop_mpu_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/hwregs/iop/iop_mpu_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/hwregs/iop/iop_mpu_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 26 include/asm-cris/arch-v32/hwregs/iop/iop_sap_in_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/hwregs/iop/iop_sap_in_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/hwregs/iop/iop_sap_in_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/hwregs/iop/iop_sap_in_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/hwregs/iop/iop_sap_in_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 26 include/asm-cris/arch-v32/hwregs/iop/iop_sap_out_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/hwregs/iop/iop_sap_out_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/hwregs/iop/iop_sap_out_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/hwregs/iop/iop_sap_out_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/hwregs/iop/iop_sap_out_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 26 include/asm-cris/arch-v32/hwregs/iop/iop_scrc_in_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/hwregs/iop/iop_scrc_in_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/hwregs/iop/iop_scrc_in_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/hwregs/iop/iop_scrc_in_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/hwregs/iop/iop_scrc_in_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 26 include/asm-cris/arch-v32/hwregs/iop/iop_scrc_out_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/hwregs/iop/iop_scrc_out_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/hwregs/iop/iop_scrc_out_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/hwregs/iop/iop_scrc_out_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/hwregs/iop/iop_scrc_out_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 117 include/asm-cris/arch-v32/hwregs/iop/iop_scrc_out_defs.h unsigned int val : 1; val 26 include/asm-cris/arch-v32/hwregs/iop/iop_spu_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/hwregs/iop/iop_spu_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/hwregs/iop/iop_spu_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/hwregs/iop/iop_spu_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/hwregs/iop/iop_spu_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 26 include/asm-cris/arch-v32/hwregs/iop/iop_sw_cfg_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/hwregs/iop/iop_sw_cfg_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/hwregs/iop/iop_sw_cfg_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/hwregs/iop/iop_sw_cfg_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/hwregs/iop/iop_sw_cfg_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 403 include/asm-cris/arch-v32/hwregs/iop/iop_sw_cfg_defs.h unsigned int val : 32; val 410 include/asm-cris/arch-v32/hwregs/iop/iop_sw_cfg_defs.h unsigned int val : 32; val 26 include/asm-cris/arch-v32/hwregs/iop/iop_sw_cpu_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/hwregs/iop/iop_sw_cpu_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/hwregs/iop/iop_sw_cpu_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/hwregs/iop/iop_sw_cpu_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/hwregs/iop/iop_sw_cpu_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 101 include/asm-cris/arch-v32/hwregs/iop/iop_sw_cpu_defs.h unsigned int val : 32; val 227 include/asm-cris/arch-v32/hwregs/iop/iop_sw_cpu_defs.h unsigned int val : 32; val 234 include/asm-cris/arch-v32/hwregs/iop/iop_sw_cpu_defs.h unsigned int val : 32; val 241 include/asm-cris/arch-v32/hwregs/iop/iop_sw_cpu_defs.h unsigned int val : 32; val 248 include/asm-cris/arch-v32/hwregs/iop/iop_sw_cpu_defs.h unsigned int val : 32; val 26 include/asm-cris/arch-v32/hwregs/iop/iop_sw_mpu_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/hwregs/iop/iop_sw_mpu_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/hwregs/iop/iop_sw_mpu_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/hwregs/iop/iop_sw_mpu_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/hwregs/iop/iop_sw_mpu_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 109 include/asm-cris/arch-v32/hwregs/iop/iop_sw_mpu_defs.h unsigned int val : 32; val 235 include/asm-cris/arch-v32/hwregs/iop/iop_sw_mpu_defs.h unsigned int val : 32; val 242 include/asm-cris/arch-v32/hwregs/iop/iop_sw_mpu_defs.h unsigned int val : 32; val 249 include/asm-cris/arch-v32/hwregs/iop/iop_sw_mpu_defs.h unsigned int val : 32; val 256 include/asm-cris/arch-v32/hwregs/iop/iop_sw_mpu_defs.h unsigned int val : 32; val 26 include/asm-cris/arch-v32/hwregs/iop/iop_sw_spu_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/hwregs/iop/iop_sw_spu_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/hwregs/iop/iop_sw_spu_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/hwregs/iop/iop_sw_spu_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/hwregs/iop/iop_sw_spu_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 101 include/asm-cris/arch-v32/hwregs/iop/iop_sw_spu_defs.h unsigned int val : 32; val 227 include/asm-cris/arch-v32/hwregs/iop/iop_sw_spu_defs.h unsigned int val : 32; val 234 include/asm-cris/arch-v32/hwregs/iop/iop_sw_spu_defs.h unsigned int val : 32; val 241 include/asm-cris/arch-v32/hwregs/iop/iop_sw_spu_defs.h unsigned int val : 32; val 248 include/asm-cris/arch-v32/hwregs/iop/iop_sw_spu_defs.h unsigned int val : 32; val 331 include/asm-cris/arch-v32/hwregs/iop/iop_sw_spu_defs.h unsigned int val : 16; val 339 include/asm-cris/arch-v32/hwregs/iop/iop_sw_spu_defs.h unsigned int val : 16; val 347 include/asm-cris/arch-v32/hwregs/iop/iop_sw_spu_defs.h unsigned int val : 16; val 355 include/asm-cris/arch-v32/hwregs/iop/iop_sw_spu_defs.h unsigned int val : 16; val 363 include/asm-cris/arch-v32/hwregs/iop/iop_sw_spu_defs.h unsigned int val : 16; val 371 include/asm-cris/arch-v32/hwregs/iop/iop_sw_spu_defs.h unsigned int val : 16; val 379 include/asm-cris/arch-v32/hwregs/iop/iop_sw_spu_defs.h unsigned int val : 16; val 387 include/asm-cris/arch-v32/hwregs/iop/iop_sw_spu_defs.h unsigned int val : 16; val 26 include/asm-cris/arch-v32/hwregs/iop/iop_timer_grp_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/hwregs/iop/iop_timer_grp_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/hwregs/iop/iop_timer_grp_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/hwregs/iop/iop_timer_grp_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/hwregs/iop/iop_timer_grp_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 135 include/asm-cris/arch-v32/hwregs/iop/iop_timer_grp_defs.h unsigned int val : 16; val 159 include/asm-cris/arch-v32/hwregs/iop/iop_timer_grp_defs.h unsigned int val : 16; val 167 include/asm-cris/arch-v32/hwregs/iop/iop_timer_grp_defs.h unsigned int val : 16; val 26 include/asm-cris/arch-v32/hwregs/iop/iop_trigger_grp_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/hwregs/iop/iop_trigger_grp_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/hwregs/iop/iop_trigger_grp_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/hwregs/iop/iop_trigger_grp_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/hwregs/iop/iop_trigger_grp_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 26 include/asm-cris/arch-v32/hwregs/iop/iop_version_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/hwregs/iop/iop_version_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/hwregs/iop/iop_version_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/hwregs/iop/iop_version_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/hwregs/iop/iop_version_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 26 include/asm-cris/arch-v32/hwregs/irq_nmi_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/hwregs/irq_nmi_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/hwregs/irq_nmi_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/hwregs/irq_nmi_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/hwregs/irq_nmi_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 26 include/asm-cris/arch-v32/hwregs/marb_bp_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/hwregs/marb_bp_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/hwregs/marb_bp_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/hwregs/marb_bp_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/hwregs/marb_bp_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 26 include/asm-cris/arch-v32/hwregs/marb_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/hwregs/marb_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/hwregs/marb_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/hwregs/marb_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/hwregs/marb_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 285 include/asm-cris/arch-v32/hwregs/marb_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 299 include/asm-cris/arch-v32/hwregs/marb_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 309 include/asm-cris/arch-v32/hwregs/marb_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 321 include/asm-cris/arch-v32/hwregs/marb_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 326 include/asm-cris/arch-v32/hwregs/marb_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 26 include/asm-cris/arch-v32/hwregs/pinmux_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/hwregs/pinmux_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/hwregs/pinmux_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/hwregs/pinmux_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/hwregs/pinmux_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 14 include/asm-cris/arch-v32/hwregs/reg_rdwr.h do { *((volatile type *) (addr)) = (val); } while(0) val 26 include/asm-cris/arch-v32/hwregs/rt_trace_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/hwregs/rt_trace_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/hwregs/rt_trace_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/hwregs/rt_trace_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/hwregs/rt_trace_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 26 include/asm-cris/arch-v32/hwregs/ser_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/hwregs/ser_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/hwregs/ser_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/hwregs/ser_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/hwregs/ser_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 26 include/asm-cris/arch-v32/hwregs/sser_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/hwregs/sser_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/hwregs/sser_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/hwregs/sser_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/hwregs/sser_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 26 include/asm-cris/arch-v32/hwregs/strcop_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/hwregs/strcop_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/hwregs/strcop_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/hwregs/strcop_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/hwregs/strcop_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 26 include/asm-cris/arch-v32/hwregs/strmux_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/hwregs/strmux_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/hwregs/strmux_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/hwregs/strmux_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/hwregs/strmux_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 49 include/asm-cris/arch-v32/io.h if (val) val 23 include/asm-cris/arch-v32/mach-a3/hwregs/clkgen_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 37 include/asm-cris/arch-v32/mach-a3/hwregs/clkgen_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 47 include/asm-cris/arch-v32/mach-a3/hwregs/clkgen_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 59 include/asm-cris/arch-v32/mach-a3/hwregs/clkgen_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 64 include/asm-cris/arch-v32/mach-a3/hwregs/clkgen_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 23 include/asm-cris/arch-v32/mach-a3/hwregs/ddr2_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 37 include/asm-cris/arch-v32/mach-a3/hwregs/ddr2_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 47 include/asm-cris/arch-v32/mach-a3/hwregs/ddr2_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 59 include/asm-cris/arch-v32/mach-a3/hwregs/ddr2_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 64 include/asm-cris/arch-v32/mach-a3/hwregs/ddr2_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 23 include/asm-cris/arch-v32/mach-a3/hwregs/gio_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 37 include/asm-cris/arch-v32/mach-a3/hwregs/gio_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 47 include/asm-cris/arch-v32/mach-a3/hwregs/gio_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 59 include/asm-cris/arch-v32/mach-a3/hwregs/gio_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 64 include/asm-cris/arch-v32/mach-a3/hwregs/gio_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 23 include/asm-cris/arch-v32/mach-a3/hwregs/intr_vect_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 37 include/asm-cris/arch-v32/mach-a3/hwregs/intr_vect_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 47 include/asm-cris/arch-v32/mach-a3/hwregs/intr_vect_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 59 include/asm-cris/arch-v32/mach-a3/hwregs/intr_vect_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 64 include/asm-cris/arch-v32/mach-a3/hwregs/intr_vect_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 23 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sap_in_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 37 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sap_in_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 47 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sap_in_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 59 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sap_in_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 64 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sap_in_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 23 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sap_out_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 37 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sap_out_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 47 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sap_out_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 59 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sap_out_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 64 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sap_out_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 23 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_cfg_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 37 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_cfg_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 47 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_cfg_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 59 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_cfg_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 64 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_cfg_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 283 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_cfg_defs.h unsigned int val : 32; val 290 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_cfg_defs.h unsigned int val : 32; val 23 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_cpu_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 37 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_cpu_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 47 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_cpu_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 59 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_cpu_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 64 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_cpu_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 109 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_cpu_defs.h unsigned int val : 32; val 187 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_cpu_defs.h unsigned int val : 32; val 194 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_cpu_defs.h unsigned int val : 32; val 201 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_cpu_defs.h unsigned int val : 32; val 208 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_cpu_defs.h unsigned int val : 32; val 23 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_mpu_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 37 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_mpu_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 47 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_mpu_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 59 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_mpu_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 64 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_mpu_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 113 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_mpu_defs.h unsigned int val : 32; val 191 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_mpu_defs.h unsigned int val : 32; val 198 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_mpu_defs.h unsigned int val : 32; val 205 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_mpu_defs.h unsigned int val : 32; val 212 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_mpu_defs.h unsigned int val : 32; val 23 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_spu_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 37 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_spu_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 47 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_spu_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 59 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_spu_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 64 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_spu_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 101 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_spu_defs.h unsigned int val : 32; val 179 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_spu_defs.h unsigned int val : 32; val 186 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_spu_defs.h unsigned int val : 32; val 193 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_spu_defs.h unsigned int val : 32; val 200 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_spu_defs.h unsigned int val : 32; val 247 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_spu_defs.h unsigned int val : 16; val 255 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_spu_defs.h unsigned int val : 16; val 263 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_spu_defs.h unsigned int val : 16; val 271 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_spu_defs.h unsigned int val : 16; val 279 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_spu_defs.h unsigned int val : 16; val 287 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_spu_defs.h unsigned int val : 16; val 295 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_spu_defs.h unsigned int val : 16; val 303 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_sw_spu_defs.h unsigned int val : 16; val 23 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_version_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 37 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_version_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 47 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_version_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 59 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_version_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 64 include/asm-cris/arch-v32/mach-a3/hwregs/iop/iop_version_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 23 include/asm-cris/arch-v32/mach-a3/hwregs/l2cache_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 37 include/asm-cris/arch-v32/mach-a3/hwregs/l2cache_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 47 include/asm-cris/arch-v32/mach-a3/hwregs/l2cache_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 59 include/asm-cris/arch-v32/mach-a3/hwregs/l2cache_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 64 include/asm-cris/arch-v32/mach-a3/hwregs/l2cache_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 23 include/asm-cris/arch-v32/mach-a3/hwregs/marb_bar_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 37 include/asm-cris/arch-v32/mach-a3/hwregs/marb_bar_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 47 include/asm-cris/arch-v32/mach-a3/hwregs/marb_bar_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 59 include/asm-cris/arch-v32/mach-a3/hwregs/marb_bar_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 64 include/asm-cris/arch-v32/mach-a3/hwregs/marb_bar_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 307 include/asm-cris/arch-v32/mach-a3/hwregs/marb_bar_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 321 include/asm-cris/arch-v32/mach-a3/hwregs/marb_bar_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 331 include/asm-cris/arch-v32/mach-a3/hwregs/marb_bar_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 343 include/asm-cris/arch-v32/mach-a3/hwregs/marb_bar_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 348 include/asm-cris/arch-v32/mach-a3/hwregs/marb_bar_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 23 include/asm-cris/arch-v32/mach-a3/hwregs/marb_foo_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 37 include/asm-cris/arch-v32/mach-a3/hwregs/marb_foo_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 47 include/asm-cris/arch-v32/mach-a3/hwregs/marb_foo_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 59 include/asm-cris/arch-v32/mach-a3/hwregs/marb_foo_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 64 include/asm-cris/arch-v32/mach-a3/hwregs/marb_foo_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 433 include/asm-cris/arch-v32/mach-a3/hwregs/marb_foo_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 447 include/asm-cris/arch-v32/mach-a3/hwregs/marb_foo_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 457 include/asm-cris/arch-v32/mach-a3/hwregs/marb_foo_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 469 include/asm-cris/arch-v32/mach-a3/hwregs/marb_foo_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 474 include/asm-cris/arch-v32/mach-a3/hwregs/marb_foo_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 23 include/asm-cris/arch-v32/mach-a3/hwregs/pinmux_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 37 include/asm-cris/arch-v32/mach-a3/hwregs/pinmux_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 47 include/asm-cris/arch-v32/mach-a3/hwregs/pinmux_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 59 include/asm-cris/arch-v32/mach-a3/hwregs/pinmux_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 64 include/asm-cris/arch-v32/mach-a3/hwregs/pinmux_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 23 include/asm-cris/arch-v32/mach-a3/hwregs/pio_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 37 include/asm-cris/arch-v32/mach-a3/hwregs/pio_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 47 include/asm-cris/arch-v32/mach-a3/hwregs/pio_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 59 include/asm-cris/arch-v32/mach-a3/hwregs/pio_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 64 include/asm-cris/arch-v32/mach-a3/hwregs/pio_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 23 include/asm-cris/arch-v32/mach-a3/hwregs/strmux_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 37 include/asm-cris/arch-v32/mach-a3/hwregs/strmux_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 47 include/asm-cris/arch-v32/mach-a3/hwregs/strmux_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 59 include/asm-cris/arch-v32/mach-a3/hwregs/strmux_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 64 include/asm-cris/arch-v32/mach-a3/hwregs/strmux_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 23 include/asm-cris/arch-v32/mach-a3/hwregs/timer_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 37 include/asm-cris/arch-v32/mach-a3/hwregs/timer_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 47 include/asm-cris/arch-v32/mach-a3/hwregs/timer_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 59 include/asm-cris/arch-v32/mach-a3/hwregs/timer_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 64 include/asm-cris/arch-v32/mach-a3/hwregs/timer_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 26 include/asm-cris/arch-v32/mach-fs/hwregs/bif_core_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/mach-fs/hwregs/bif_core_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/mach-fs/hwregs/bif_core_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/mach-fs/hwregs/bif_core_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/mach-fs/hwregs/bif_core_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 26 include/asm-cris/arch-v32/mach-fs/hwregs/bif_dma_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/mach-fs/hwregs/bif_dma_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/mach-fs/hwregs/bif_dma_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/mach-fs/hwregs/bif_dma_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/mach-fs/hwregs/bif_dma_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 26 include/asm-cris/arch-v32/mach-fs/hwregs/bif_slave_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/mach-fs/hwregs/bif_slave_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/mach-fs/hwregs/bif_slave_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/mach-fs/hwregs/bif_slave_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/mach-fs/hwregs/bif_slave_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 26 include/asm-cris/arch-v32/mach-fs/hwregs/config_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/mach-fs/hwregs/config_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/mach-fs/hwregs/config_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/mach-fs/hwregs/config_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/mach-fs/hwregs/config_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 26 include/asm-cris/arch-v32/mach-fs/hwregs/gio_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/mach-fs/hwregs/gio_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/mach-fs/hwregs/gio_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/mach-fs/hwregs/gio_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/mach-fs/hwregs/gio_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 26 include/asm-cris/arch-v32/mach-fs/hwregs/intr_vect_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/mach-fs/hwregs/intr_vect_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/mach-fs/hwregs/intr_vect_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/mach-fs/hwregs/intr_vect_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/mach-fs/hwregs/intr_vect_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 26 include/asm-cris/arch-v32/mach-fs/hwregs/marb_bp_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/mach-fs/hwregs/marb_bp_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/mach-fs/hwregs/marb_bp_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/mach-fs/hwregs/marb_bp_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/mach-fs/hwregs/marb_bp_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 26 include/asm-cris/arch-v32/mach-fs/hwregs/marb_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/mach-fs/hwregs/marb_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/mach-fs/hwregs/marb_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/mach-fs/hwregs/marb_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/mach-fs/hwregs/marb_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 285 include/asm-cris/arch-v32/mach-fs/hwregs/marb_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 299 include/asm-cris/arch-v32/mach-fs/hwregs/marb_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 309 include/asm-cris/arch-v32/mach-fs/hwregs/marb_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 321 include/asm-cris/arch-v32/mach-fs/hwregs/marb_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 326 include/asm-cris/arch-v32/mach-fs/hwregs/marb_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 26 include/asm-cris/arch-v32/mach-fs/hwregs/pinmux_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/mach-fs/hwregs/pinmux_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/mach-fs/hwregs/pinmux_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/mach-fs/hwregs/pinmux_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/mach-fs/hwregs/pinmux_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 26 include/asm-cris/arch-v32/mach-fs/hwregs/strmux_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/mach-fs/hwregs/strmux_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/mach-fs/hwregs/strmux_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/mach-fs/hwregs/strmux_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/mach-fs/hwregs/strmux_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 26 include/asm-cris/arch-v32/mach-fs/hwregs/timer_defs.h (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 40 include/asm-cris/arch-v32/mach-fs/hwregs/timer_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 50 include/asm-cris/arch-v32/mach-fs/hwregs/timer_defs.h REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) ) val 62 include/asm-cris/arch-v32/mach-fs/hwregs/timer_defs.h (index) * STRIDE_##scope##_##reg, (val) ) val 67 include/asm-cris/arch-v32/mach-fs/hwregs/timer_defs.h ( { union { orgtype o; type n; } r; r.o = val; r.n; } ) val 11 include/asm-cris/io.h void (*write_mem)(u32 val, int size, void *addr); val 278 include/asm-cris/pgtable.h #define __swp_type(x) (((x).val >> 5) & 0x7f) val 279 include/asm-cris/pgtable.h #define __swp_offset(x) ((x).val >> 12) val 282 include/asm-cris/pgtable.h #define __swp_entry_to_pte(x) ((pte_t) { (x).val }) val 47 include/asm-cris/posix_types.h int val[2]; val 61 include/asm-cris/rtc.h # define CMOS_WRITE(val,reg) ds1302_writereg(reg,val) val 68 include/asm-cris/rtc.h # define CMOS_WRITE(val,reg) pcf8563_writereg(reg,val) val 49 include/asm-frv/atomic.h unsigned long val; val 60 include/asm-frv/atomic.h : "+U"(v->counter), "=&r"(val) val 65 include/asm-frv/atomic.h return val; val 70 include/asm-frv/atomic.h unsigned long val; val 81 include/asm-frv/atomic.h : "+U"(v->counter), "=&r"(val) val 86 include/asm-frv/atomic.h return val; val 116 include/asm-frv/io.h memset((void __force *) addr, val, count); val 318 include/asm-frv/io.h __builtin_write8(p, val); val 326 include/asm-frv/io.h val = _swapw(val); val 327 include/asm-frv/io.h __builtin_write16(p, val); val 335 include/asm-frv/io.h val = _swapl(val); val 336 include/asm-frv/io.h __builtin_write32(p, val); val 63 include/asm-frv/pgtable.h #define __swp_entry_to_pte(x) ((pte_t) { (x).val }) val 478 include/asm-frv/pgtable.h #define __swp_type(x) (((x).val >> 2) & 0x1f) val 479 include/asm-frv/pgtable.h #define __swp_offset(x) ((x).val >> 8) val 482 include/asm-frv/pgtable.h #define __swp_entry_to_pte(x) ((pte_t) { (x).val }) val 42 include/asm-frv/posix_types.h int val[2]; val 158 include/asm-m32r/io.h #define writeb(val, addr) _writeb((val), (unsigned long)(addr)) val 159 include/asm-m32r/io.h #define writew(val, addr) _writew((val), (unsigned long)(addr)) val 160 include/asm-m32r/io.h #define writel(val, addr) _writel((val), (unsigned long)(addr)) val 172 include/asm-m32r/io.h memset((void __force *) addr, val, count); val 246 include/asm-m32r/m32r_mp_fpga.h #define M32R_ICUISTS_VECB(val) ((val>>28) & 0xF) val 247 include/asm-m32r/m32r_mp_fpga.h #define M32R_ICUISTS_ISN(val) ((val>>22) & 0x3F) val 248 include/asm-m32r/m32r_mp_fpga.h #define M32R_ICUISTS_PIML(val) ((val>>16) & 0x7) val 24 include/asm-m32r/mc146818rtc.h outb_p((val),RTC_PORT(1)); \ val 340 include/asm-m32r/pgtable.h #define __swp_type(x) (((x).val >> 2) & 0x1f) val 341 include/asm-m32r/pgtable.h #define __swp_offset(x) ((x).val >> 10) val 345 include/asm-m32r/pgtable.h #define __swp_entry_to_pte(x) ((pte_t) { (x).val }) val 42 include/asm-m32r/posix_types.h int val[2]; val 32 include/asm-m32r/rtc.h # define CMOS_WRITE(val,reg) ds1302_writereg(reg,val) val 121 include/asm-m32r/thread_info.h | (val << TI_FLAG_FAULT_CODE_SHIFT); val 110 include/asm-m32r/uaccess.h unsigned long val = (unsigned long)addr; val 112 include/asm-m32r/uaccess.h return ((val >= memory_start) && ((val + size) < memory_end)); val 16 include/asm-m68k/apollodma.h #define dma_outb(val,addr) (*((volatile unsigned char *)(addr+IO_BASE)) = (val)) val 11 include/asm-m68k/byteorder.h __asm__("rolw #8,%0; swap %0; rolw #8,%0" : "=d" (val) : "0" (val)); val 12 include/asm-m68k/byteorder.h return val; val 75 include/asm-m68k/ide.h #define outb(val, port) out_8(port, val) val 76 include/asm-m68k/ide.h #define outw(val, port) out_be16(port, val) val 78 include/asm-m68k/ide.h #define outl(val, port) out_be32(port, val) val 85 include/asm-m68k/ide.h #define writeb(val, port) out_8(port, val) val 86 include/asm-m68k/ide.h #define writew(val, port) out_be16(port, val) val 88 include/asm-m68k/ide.h #define writel(val, port) out_be32(port, val) val 200 include/asm-m68k/io.h #define isa_outb(val,port) out_8(isa_itb(port),(val)) val 201 include/asm-m68k/io.h #define isa_outw(val,port) (ISA_SEX ? out_be16(isa_itw(port),(val)) : out_le16(isa_itw(port),(val))) val 202 include/asm-m68k/io.h #define isa_outl(val,port) (ISA_SEX ? out_be32(isa_itl(port),(val)) : out_le32(isa_itl(port),(val))) val 208 include/asm-m68k/io.h #define isa_writeb(val,p) out_8(isa_mtb((unsigned long)(p)),(val)) val 210 include/asm-m68k/io.h (ISA_SEX ? out_be16(isa_mtw((unsigned long)(p)),(val)) \ val 211 include/asm-m68k/io.h : out_le16(isa_mtw((unsigned long)(p)),(val))) val 305 include/asm-m68k/io.h #define writeb(val,addr) out_8((addr),(val)) val 307 include/asm-m68k/io.h #define writew(val,addr) out_le16((addr),(val)) val 312 include/asm-m68k/io.h #define writel(val,addr) out_le32((addr),(val)) val 337 include/asm-m68k/io.h __builtin_memset((void __force *) addr, val, count); val 259 include/asm-m68k/mac_via.h char val = (bpp==1)?0:(bpp==2)?1:(bpp==4)?2:(bpp==8)?3:-1; val 260 include/asm-m68k/mac_via.h if (!rbv_present || val<0) return -1; val 261 include/asm-m68k/mac_via.h via2[rMonP] = (via2[rMonP] & ~RBV_DEPTH) | val; val 22 include/asm-m68k/mc146818rtc.h atari_outb_p((val),RTC_PORT(1)); \ val 284 include/asm-m68k/motorola_pgtable.h #define __swp_type(x) (((x).val >> 4) & 0xff) val 285 include/asm-m68k/motorola_pgtable.h #define __swp_offset(x) ((x).val >> 12) val 288 include/asm-m68k/motorola_pgtable.h #define __swp_entry_to_pte(x) ((pte_t) { (x).val }) val 280 include/asm-m68k/openprom.h int (*no_getprop)(int node, char *name, char *val); val 281 include/asm-m68k/openprom.h int (*no_setprop)(int node, char *name, char *val, int len); val 42 include/asm-m68k/posix_types.h int val[2]; val 56 include/asm-m68k/raw_io.h #define raw_outb(val,port) out_8((port),(val)) val 57 include/asm-m68k/raw_io.h #define raw_outw(val,port) out_be16((port),(val)) val 58 include/asm-m68k/raw_io.h #define raw_outl(val,port) out_be32((port),(val)) val 59 include/asm-m68k/raw_io.h #define __raw_writeb(val,addr) out_8((addr),(val)) val 60 include/asm-m68k/raw_io.h #define __raw_writew(val,addr) out_be16((addr),(val)) val 61 include/asm-m68k/raw_io.h #define __raw_writel(val,addr) out_be32((addr),(val)) val 20 include/asm-m68k/sbus.h *(volatile unsigned char *)addr = val; val 30 include/asm-m68k/sbus.h *(volatile unsigned long *)addr = val; val 50 include/asm-m68k/segment.h : /* no outputs */ : "r" (val.seg) : "memory"); val 227 include/asm-m68k/sun3_pgtable.h #define __swp_type(x) ((x).val & 0x7F) val 228 include/asm-m68k/sun3_pgtable.h #define __swp_offset(x) (((x).val) >> 7) val 231 include/asm-m68k/sun3_pgtable.h #define __swp_entry_to_pte(x) ((pte_t) { (x).val }) val 74 include/asm-mn10300/div64.h : "0"(val), "ir"(mult), "r"(div) val 94 include/asm-mn10300/div64.h : "0"(val), "ir"(mult), "r"(div) val 336 include/asm-mn10300/pgtable.h #define __swp_type(x) (((x).val >> 2) & 0x3f) val 337 include/asm-mn10300/pgtable.h #define __swp_offset(x) ((x).val >> 8) val 341 include/asm-mn10300/pgtable.h #define __swp_entry_to_pte(x) __pte((x).val) val 53 include/asm-mn10300/posix_types.h int val[2]; val 80 include/asm-mn10300/rtc-regs.h do { __SYSREG(0xd8600000 + (addr), u8) = val; } while (0) val 206 include/asm-mn10300/system.h *m = val; val 195 include/asm-mn10300/uaccess.h __typeof__(*(ptr)) val; \ val 200 include/asm-mn10300/uaccess.h __pu_val.val = (x); \ val 215 include/asm-mn10300/uaccess.h __typeof__(*(ptr)) val; \ val 220 include/asm-mn10300/uaccess.h __pu_val.val = (x); \ val 254 include/asm-mn10300/uaccess.h : "r" (__pu_val.val), "m" (__m(__pu_addr)), \ val 99 include/asm-parisc/io.h : "=&r" (flags) : "r" (val), "r" (addr) ); val 109 include/asm-parisc/io.h : "=&r" (flags) : "r" (val), "r" (addr) ); val 116 include/asm-parisc/io.h : : "r" (val), "r" (addr) ); val 124 include/asm-parisc/io.h : : "r" (val), "r" (addr) ); val 127 include/asm-parisc/io.h gsc_writel(val >> 32, addr); val 128 include/asm-parisc/io.h gsc_writel(val, addr+4); val 412 include/asm-parisc/pgtable.h #define __swp_type(x) ((x).val & 0x1f) val 413 include/asm-parisc/pgtable.h #define __swp_offset(x) ( (((x).val >> 6) & 0x7) | \ val 414 include/asm-parisc/pgtable.h (((x).val >> 8) & ~0x7) ) val 419 include/asm-parisc/pgtable.h #define __swp_entry_to_pte(x) ((pte_t) { (x).val }) val 50 include/asm-parisc/posix_types.h int val[2]; val 87 include/asm-parisc/system.h mtctl(val, 15); val 345 include/asm-um/pgtable.h #define __swp_type(x) (((x).val >> 4) & 0x3f) val 346 include/asm-um/pgtable.h #define __swp_offset(x) ((x).val >> 11) val 352 include/asm-um/pgtable.h #define __swp_entry_to_pte(x) ((pte_t) { (x).val }) val 25 include/asm-um/ptrace-generic.h #define PT_REGS_SET(r, reg, val) UPT_SET(&(r)->regs, reg, val) val 47 include/asm-x86/bigsmp/apic.h unsigned long val, id; val 48 include/asm-x86/bigsmp/apic.h val = apic_read(APIC_LDR) & ~APIC_LDR_MASK; val 50 include/asm-x86/bigsmp/apic.h val |= SET_APIC_LOGICAL_ID(id); val 51 include/asm-x86/bigsmp/apic.h return val; val 63 include/asm-x86/bigsmp/apic.h unsigned long val; val 67 include/asm-x86/bigsmp/apic.h val = calculate_ldr(cpu); val 68 include/asm-x86/bigsmp/apic.h apic_write(APIC_LDR, val); val 34 include/asm-x86/byteorder.h v.u = val; val 13 include/asm-x86/cmpxchg_64.h *ptr = val; val 66 include/asm-x86/es7000/apic.h unsigned long val; val 70 include/asm-x86/es7000/apic.h val = calculate_ldr(cpu); val 71 include/asm-x86/es7000/apic.h apic_write(APIC_LDR, val); val 259 include/asm-x86/floppy.h unsigned char val; \ val 261 include/asm-x86/floppy.h val = (CMOS_READ(0x10) >> 4) & 15; \ val 263 include/asm-x86/floppy.h val; \ val 269 include/asm-x86/floppy.h unsigned char val; \ val 271 include/asm-x86/floppy.h val = CMOS_READ(0x10) & 15; \ val 273 include/asm-x86/floppy.h val; \ val 14 include/asm-x86/io.h static inline void name(type val, volatile void __iomem *addr) \ val 15 include/asm-x86/io.h { asm volatile("mov" size " %0,%1": :reg (val), \ val 145 include/asm-x86/io_32.h memset((void __force *)addr, val, count); val 62 include/asm-x86/kvm_x86_emulate.h int (*read_std)(unsigned long addr, void *val, val 72 include/asm-x86/kvm_x86_emulate.h void *val, val 84 include/asm-x86/kvm_x86_emulate.h const void *val, val 108 include/asm-x86/kvm_x86_emulate.h unsigned long val, orig_val, *ptr; val 49 include/asm-x86/mach-default/mach_apic.h unsigned long val; val 52 include/asm-x86/mach-default/mach_apic.h val = apic_read(APIC_LDR) & ~APIC_LDR_MASK; val 53 include/asm-x86/mach-default/mach_apic.h val |= SET_APIC_LOGICAL_ID(1UL << smp_processor_id()); val 54 include/asm-x86/mach-default/mach_apic.h apic_write(APIC_LDR, val); val 95 include/asm-x86/mc146818rtc.h #define CMOS_WRITE(val, addr) rtc_cmos_write(val, addr) val 36 include/asm-x86/msr.h #define DECLARE_ARGS(val, low, high) unsigned long long val val 37 include/asm-x86/msr.h #define EAX_EDX_VAL(val, low, high) (val) val 38 include/asm-x86/msr.h #define EAX_EDX_ARGS(val, low, high) "A" (val) val 39 include/asm-x86/msr.h #define EAX_EDX_RET(val, low, high) "=A" (val) val 44 include/asm-x86/msr.h DECLARE_ARGS(val, low, high); val 46 include/asm-x86/msr.h asm volatile("rdmsr" : EAX_EDX_RET(val, low, high) : "c" (msr)); val 47 include/asm-x86/msr.h return EAX_EDX_VAL(val, low, high); val 53 include/asm-x86/msr.h DECLARE_ARGS(val, low, high); val 61 include/asm-x86/msr.h : [err] "=r" (*err), EAX_EDX_RET(val, low, high) val 63 include/asm-x86/msr.h return EAX_EDX_VAL(val, low, high); val 69 include/asm-x86/msr.h DECLARE_ARGS(val, low, high); val 77 include/asm-x86/msr.h : "=r" (*err), EAX_EDX_RET(val, low, high) val 79 include/asm-x86/msr.h return EAX_EDX_VAL(val, low, high); val 109 include/asm-x86/msr.h DECLARE_ARGS(val, low, high); val 112 include/asm-x86/msr.h asm volatile("rdtsc" : EAX_EDX_RET(val, low, high)); val 115 include/asm-x86/msr.h return EAX_EDX_VAL(val, low, high); val 120 include/asm-x86/msr.h DECLARE_ARGS(val, low, high); val 122 include/asm-x86/msr.h asm volatile("rdpmc" : EAX_EDX_RET(val, low, high) : "c" (counter)); val 123 include/asm-x86/msr.h return EAX_EDX_VAL(val, low, high); val 149 include/asm-x86/msr.h ((val) = native_read_msr((msr))) val 152 include/asm-x86/msr.h native_write_msr((msr), (u32)((u64)(val)), (u32)((u64)(val) >> 32)) val 189 include/asm-x86/msr.h ((val) = native_read_tsc()) val 205 include/asm-x86/msr.h #define rdtscpll(val, aux) (val) = native_read_tscp(&(aux)) val 210 include/asm-x86/msr.h #define checking_wrmsrl(msr, val) wrmsr_safe((msr), (u32)(val), \ val 211 include/asm-x86/msr.h (u32)((val) >> 32)) val 215 include/asm-x86/msr.h #define write_rdtscp_aux(val) wrmsr(0xc0000103, (val), 0) val 90 include/asm-x86/page.h return (pgd_t) { val }; val 104 include/asm-x86/page.h return (pud_t) { val }; val 124 include/asm-x86/page.h return (pmd_t) { val }; val 142 include/asm-x86/page.h return (pte_t) { .pte = val }; val 643 include/asm-x86/paravirt.h PVOP_VCALL2(pv_cpu_ops.set_debugreg, reg, val); val 754 include/asm-x86/paravirt.h val = paravirt_read_msr(msr, &_err); \ val 757 include/asm-x86/paravirt.h #define wrmsrl(msr, val) wrmsr(msr, (u32)((u64)(val)), ((u64)(val))>>32) val 796 include/asm-x86/paravirt.h #define rdtscll(val) (val = paravirt_read_tsc()) val 833 include/asm-x86/paravirt.h val = paravirt_rdtscp(&__aux); \ val 1064 include/asm-x86/paravirt.h val, (u64)val >> 32); val 1068 include/asm-x86/paravirt.h val); val 1110 include/asm-x86/paravirt.h val, (u64)val >> 32); val 1113 include/asm-x86/paravirt.h val); val 1177 include/asm-x86/paravirt.h pmdval_t val = native_pmd_val(pmd); val 1180 include/asm-x86/paravirt.h PVOP_VCALL3(pv_mmu_ops.set_pmd, pmdp, val, (u64)val >> 32); val 1182 include/asm-x86/paravirt.h PVOP_VCALL2(pv_mmu_ops.set_pmd, pmdp, val); val 1192 include/asm-x86/paravirt.h val, (u64)val >> 32); val 1195 include/asm-x86/paravirt.h val); val 1216 include/asm-x86/paravirt.h pudval_t val = native_pud_val(pud); val 1220 include/asm-x86/paravirt.h val, (u64)val >> 32); val 1223 include/asm-x86/paravirt.h val); val 1232 include/asm-x86/paravirt.h val, (u64)val >> 32); val 1235 include/asm-x86/paravirt.h val); val 1256 include/asm-x86/paravirt.h pgdval_t val = native_pgd_val(pgd); val 1260 include/asm-x86/paravirt.h val, (u64)val >> 32); val 1263 include/asm-x86/paravirt.h val); val 16 include/asm-x86/pci_64.h sd->iommu = val; val 64 include/asm-x86/pda.h if (0) { T__ tmp__; tmp__ = (val); } /* type checking */ \ val 69 include/asm-x86/pda.h "ri" ((T__)val), \ val 75 include/asm-x86/pda.h "ri" ((T__)val), \ val 81 include/asm-x86/pda.h "ri" ((T__)val), \ val 118 include/asm-x86/pda.h #define write_pda(field, val) pda_to_op("mov", field, val) val 119 include/asm-x86/pda.h #define add_pda(field, val) pda_to_op("add", field, val) val 120 include/asm-x86/pda.h #define sub_pda(field, val) pda_to_op("sub", field, val) val 121 include/asm-x86/pda.h #define or_pda(field, val) pda_to_op("or", field, val) val 47 include/asm-x86/percpu.h __get_cpu_var(var) = (val); \ val 119 include/asm-x86/percpu.h tmp__ = (val); \ val 125 include/asm-x86/percpu.h : "ri" ((T__)val)); \ val 130 include/asm-x86/percpu.h : "ri" ((T__)val)); \ val 135 include/asm-x86/percpu.h : "ri" ((T__)val)); \ val 166 include/asm-x86/percpu.h #define x86_write_percpu(var, val) percpu_to_op("mov", per_cpu__##var, val) val 167 include/asm-x86/percpu.h #define x86_add_percpu(var, val) percpu_to_op("add", per_cpu__##var, val) val 168 include/asm-x86/percpu.h #define x86_sub_percpu(var, val) percpu_to_op("sub", per_cpu__##var, val) val 169 include/asm-x86/percpu.h #define x86_or_percpu(var, val) percpu_to_op("or", per_cpu__##var, val) val 72 include/asm-x86/pgtable-2level.h #define __swp_type(x) (((x).val >> 1) & 0x1f) val 73 include/asm-x86/pgtable-2level.h #define __swp_offset(x) ((x).val >> 8) val 77 include/asm-x86/pgtable-2level.h #define __swp_entry_to_pte(x) ((pte_t) { .pte = (x).val }) val 169 include/asm-x86/pgtable-3level.h #define __swp_type(x) (((x).val) & 0x1f) val 170 include/asm-x86/pgtable-3level.h #define __swp_offset(x) ((x).val >> 5) val 173 include/asm-x86/pgtable-3level.h #define __swp_entry_to_pte(x) ((pte_t){ { .pte_high = (x).val } }) val 301 include/asm-x86/pgtable.h pteval_t val = pte_val(pte); val 307 include/asm-x86/pgtable.h val &= _PAGE_CHG_MASK; val 308 include/asm-x86/pgtable.h val |= pgprot_val(newprot) & (~_PAGE_CHG_MASK) & __supported_pte_mask; val 310 include/asm-x86/pgtable.h return __pte(val); val 253 include/asm-x86/pgtable_64.h #define __swp_type(x) (((x).val >> 1) & 0x3f) val 254 include/asm-x86/pgtable_64.h #define __swp_offset(x) ((x).val >> 8) val 258 include/asm-x86/pgtable_64.h #define __swp_entry_to_pte(x) ((pte_t) { .pte = (x).val }) val 42 include/asm-x86/posix_types_32.h int val[2]; val 36 include/asm-x86/posix_types_64.h int val[2]; val 446 include/asm-x86/processor.h unsigned long val = 0; /* Damn you, gcc! */ val 450 include/asm-x86/processor.h asm("mov %%db0, %0" :"=r" (val)); val 453 include/asm-x86/processor.h asm("mov %%db1, %0" :"=r" (val)); val 456 include/asm-x86/processor.h asm("mov %%db2, %0" :"=r" (val)); val 459 include/asm-x86/processor.h asm("mov %%db3, %0" :"=r" (val)); val 462 include/asm-x86/processor.h asm("mov %%db6, %0" :"=r" (val)); val 465 include/asm-x86/processor.h asm("mov %%db7, %0" :"=r" (val)); val 470 include/asm-x86/processor.h return val; val 931 include/asm-x86/processor.h #define SET_TSC_CTL(val) set_tsc_mode((val)) val 206 include/asm-x86/spinlock.h s8 val = 1; val 218 include/asm-x86/spinlock.h : "+m" (bl->lock), "+q" (val), "+m" (bl->spinners): : "memory"); val 47 include/asm-x86/summit/apic.h unsigned long val, id; val 67 include/asm-x86/summit/apic.h val = apic_read(APIC_LDR) & ~APIC_LDR_MASK; val 68 include/asm-x86/summit/apic.h val |= SET_APIC_LOGICAL_ID(id); val 69 include/asm-x86/summit/apic.h apic_write(APIC_LDR, val); val 64 include/asm-x86/syscall.h regs->ax = (long) error ?: val; val 191 include/asm-x86/system.h unsigned long val; val 192 include/asm-x86/system.h asm volatile("mov %%cr0,%0\n\t" : "=r" (val), "=m" (__force_order)); val 193 include/asm-x86/system.h return val; val 198 include/asm-x86/system.h asm volatile("mov %0,%%cr0": : "r" (val), "m" (__force_order)); val 203 include/asm-x86/system.h unsigned long val; val 204 include/asm-x86/system.h asm volatile("mov %%cr2,%0\n\t" : "=r" (val), "=m" (__force_order)); val 205 include/asm-x86/system.h return val; val 210 include/asm-x86/system.h asm volatile("mov %0,%%cr2": : "r" (val), "m" (__force_order)); val 215 include/asm-x86/system.h unsigned long val; val 216 include/asm-x86/system.h asm volatile("mov %%cr3,%0\n\t" : "=r" (val), "=m" (__force_order)); val 217 include/asm-x86/system.h return val; val 222 include/asm-x86/system.h asm volatile("mov %0,%%cr3": : "r" (val), "m" (__force_order)); val 227 include/asm-x86/system.h unsigned long val; val 228 include/asm-x86/system.h asm volatile("mov %%cr4,%0\n\t" : "=r" (val), "=m" (__force_order)); val 229 include/asm-x86/system.h return val; val 234 include/asm-x86/system.h unsigned long val; val 241 include/asm-x86/system.h : "=r" (val), "=m" (__force_order) : "0" (0)); val 243 include/asm-x86/system.h val = native_read_cr4(); val 245 include/asm-x86/system.h return val; val 250 include/asm-x86/system.h asm volatile("mov %0,%%cr4": : "r" (val), "m" (__force_order)); val 263 include/asm-x86/system.h asm volatile("movq %0,%%cr8" :: "r" (val) : "memory"); val 17 include/asm-x86/system_64.h asm volatile("movq %0,%%cr8" :: "r" (val) : "memory"); val 228 include/asm-x86/uv/uv_hub.h *uv_global_mmr32_address(pnode, offset) = val; val 251 include/asm-x86/uv/uv_hub.h *uv_global_mmr64_address(pnode, offset) = val; val 276 include/asm-x86/uv/uv_hub.h *uv_local_mmr_address(offset) = val; val 31 include/asm-x86/xen/interface.h (hnd).p = val; \ val 34 include/asm-x86/xen/interface.h #define set_xen_guest_handle(hnd, val) do { (hnd).p = val; } while (0) val 42 include/asm-x86/xen/interface.h (hnd) = val; \ val 45 include/asm-x86/xen/interface.h #define set_xen_guest_handle(hnd, val) do { (hnd) = val; } while (0) val 138 include/asm-xtensa/io.h #define outb(val, port) writeb((val),(u8 *)((unsigned long)(port))) val 140 include/asm-xtensa/io.h #define outw(val, port) writew((val),(u16 *)((unsigned long)(port))) val 142 include/asm-xtensa/io.h #define outl(val, port) writel((val),(u32 *)((unsigned long)(port))) val 145 include/asm-xtensa/io.h #define outb_p(val, port) outb((val), (port)) val 147 include/asm-xtensa/io.h #define outw_p(val, port) outw((val), (port)) val 149 include/asm-xtensa/io.h #define outl_p(val, port) outl((val), (port)) val 51 include/asm-xtensa/mmu_context.h " isync\n" : : "a" (val)); val 344 include/asm-xtensa/pgtable.h #define __swp_type(entry) (((entry).val >> 6) & 0x1f) val 345 include/asm-xtensa/pgtable.h #define __swp_offset(entry) ((entry).val >> 11) val 349 include/asm-xtensa/pgtable.h #define __swp_entry_to_pte(x) ((pte_t) { (x).val }) val 54 include/asm-xtensa/posix_types.h int val[2]; val 166 include/asm-xtensa/system.h : "a" (m), "a" (val) val 90 include/asm-xtensa/tlbflush.h : : "a" (val)); val 96 include/asm-xtensa/tlbflush.h : : "a" (val)); val 102 include/asm-xtensa/tlbflush.h : : "a" (val)); val 176 include/asm-xtensa/uaccess.h #define set_fs(val) (current->thread.current_ds = (val)) val 20 include/drm/drm_os_linux.h #define DRM_WRITE8(map, offset, val) writeb(val, ((void __iomem *)(map)->handle) + (offset)) val 22 include/drm/drm_os_linux.h #define DRM_WRITE16(map, offset, val) writew(val, ((void __iomem *)(map)->handle) + (offset)) val 24 include/drm/drm_os_linux.h #define DRM_WRITE32(map, offset, val) writel(val, ((void __iomem *)(map)->handle) + (offset)) val 79 include/drm/drm_os_linux.h __get_user(val, uaddr) val 153 include/drm/via_drm.h uint32_t val; val 269 include/linux/ac97_codec.h void (*codec_write) (struct ac97_codec *codec, u8 reg, u16 val); val 156 include/linux/amba/clcd.h u32 val, cpl; val 161 include/linux/amba/clcd.h val = ((fb->fb.var.xres / 16) - 1) << 2; val 162 include/linux/amba/clcd.h val |= (fb->fb.var.hsync_len - 1) << 8; val 163 include/linux/amba/clcd.h val |= (fb->fb.var.right_margin - 1) << 16; val 164 include/linux/amba/clcd.h val |= (fb->fb.var.left_margin - 1) << 24; val 165 include/linux/amba/clcd.h regs->tim0 = val; val 167 include/linux/amba/clcd.h val = fb->fb.var.yres; val 169 include/linux/amba/clcd.h val /= 2; val 170 include/linux/amba/clcd.h val -= 1; val 171 include/linux/amba/clcd.h val |= (fb->fb.var.vsync_len - 1) << 10; val 172 include/linux/amba/clcd.h val |= fb->fb.var.lower_margin << 16; val 173 include/linux/amba/clcd.h val |= fb->fb.var.upper_margin << 24; val 174 include/linux/amba/clcd.h regs->tim1 = val; val 176 include/linux/amba/clcd.h val = fb->panel->tim2; val 177 include/linux/amba/clcd.h val |= fb->fb.var.sync & FB_SYNC_HOR_HIGH_ACT ? 0 : TIM2_IHS; val 178 include/linux/amba/clcd.h val |= fb->fb.var.sync & FB_SYNC_VERT_HIGH_ACT ? 0 : TIM2_IVS; val 190 include/linux/amba/clcd.h regs->tim2 = val | ((cpl - 1) << 16); val 194 include/linux/amba/clcd.h val = fb->panel->cntl; val 196 include/linux/amba/clcd.h val |= CNTL_LCDBW; val 200 include/linux/amba/clcd.h val |= CNTL_LCDBPP1; val 203 include/linux/amba/clcd.h val |= CNTL_LCDBPP2; val 206 include/linux/amba/clcd.h val |= CNTL_LCDBPP4; val 209 include/linux/amba/clcd.h val |= CNTL_LCDBPP8; val 217 include/linux/amba/clcd.h val |= CNTL_LCDBPP16; val 219 include/linux/amba/clcd.h val |= CNTL_LCDBPP16; val 221 include/linux/amba/clcd.h val |= CNTL_LCDBPP16_565; val 224 include/linux/amba/clcd.h val |= CNTL_LCDBPP24; val 228 include/linux/amba/clcd.h regs->cntl = val; val 529 include/linux/ata.h u16 val = id[76]; val 531 include/linux/ata.h if (val == 0 || val == 0xffff) val 534 include/linux/ata.h return val & (1 << 9); val 539 include/linux/ata.h u16 val = id[78]; val 541 include/linux/ata.h if (val == 0 || val == 0xffff) val 544 include/linux/ata.h return val & (1 << 3); val 16 include/linux/atm_he.h unsigned addr, val; val 62 include/linux/atmel_pwm.h __raw_writel(val, pwmc->regs + offset); val 378 include/linux/audit.h u32 val; val 343 include/linux/byteorder.h *var = cpu_to_le16(le16_to_cpup(var) + val); val 348 include/linux/byteorder.h *var = cpu_to_le32(le32_to_cpup(var) + val); val 353 include/linux/byteorder.h *var = cpu_to_le64(le64_to_cpup(var) + val); val 358 include/linux/byteorder.h *var = cpu_to_be16(be16_to_cpup(var) + val); val 363 include/linux/byteorder.h *var = cpu_to_be32(be32_to_cpup(var) + val); val 368 include/linux/byteorder.h *var = cpu_to_be64(be64_to_cpup(var) + val); val 145 include/linux/byteorder/generic.h *var = cpu_to_le16(le16_to_cpu(*var) + val); val 150 include/linux/byteorder/generic.h *var = cpu_to_le32(le32_to_cpu(*var) + val); val 155 include/linux/byteorder/generic.h *var = cpu_to_le64(le64_to_cpu(*var) + val); val 160 include/linux/byteorder/generic.h *var = cpu_to_be16(be16_to_cpu(*var) + val); val 165 include/linux/byteorder/generic.h *var = cpu_to_be32(be32_to_cpu(*var) + val); val 170 include/linux/byteorder/generic.h *var = cpu_to_be64(be64_to_cpu(*var) + val); val 254 include/linux/cgroup.h int (*write_u64)(struct cgroup *cgrp, struct cftype *cft, u64 val); val 258 include/linux/cgroup.h int (*write_s64)(struct cgroup *cgrp, struct cftype *cft, s64 val); val 29 include/linux/cnt32_to_63.h u64 val; val 77 include/linux/cnt32_to_63.h __x.val; \ val 58 include/linux/connector.h __u32 val; val 529 include/linux/cyclades.h #define cy_writeb(port,val) do { writeb((val), (port)); mb(); } while (0) val 530 include/linux/cyclades.h #define cy_writew(port,val) do { writew((val), (port)); mb(); } while (0) val 531 include/linux/cyclades.h #define cy_writel(port,val) do { writel((val), (port)); mb(); } while (0) val 137 include/linux/dvb/osd.h long val; val 917 include/linux/fb.h #define FB_SHIFT_HIGH(p, val, bits) (fb_be_math(p) ? (val) >> (bits) : \ val 918 include/linux/fb.h (val) << (bits)) val 919 include/linux/fb.h #define FB_SHIFT_LOW(p, val, bits) (fb_be_math(p) ? (val) << (bits) : \ val 920 include/linux/fb.h (val) >> (bits)) val 26 include/linux/hash.h #define hash_long(val, bits) hash_32(val, bits) val 28 include/linux/hash.h #define hash_long(val, bits) hash_64(val, bits) val 36 include/linux/hash.h u64 hash = val; val 60 include/linux/hash.h u32 hash = val * GOLDEN_RATIO_PRIME_32; val 283 include/linux/hdlcdrv.h unsigned short val; val 288 include/linux/hdlcdrv.h val = 0; val 291 include/linux/hdlcdrv.h val = hb->buf[hb->rd]; val 295 include/linux/hdlcdrv.h return val; val 309 include/linux/hdlcdrv.h hb->buf[hb->wr] = val & 0xffff; val 166 include/linux/hp_sdc.h switch (val) { \ val 38 include/linux/hwmon-vid.h return ((val >= 1100) && (val <= 1850) ? val 39 include/linux/hwmon-vid.h ((18499 - val * 10) / 25 + 5) / 10 : -1); val 30 include/linux/i2c-algo-pca.h void (*write_byte) (void *data, int reg, int val); val 30 include/linux/i2c-algo-pcf.h void (*setpcf) (void *data, int ctl, int val); val 16 include/linux/i2c-algo-sgi.h void (*setctrl)(void *data, unsigned val); val 18 include/linux/i2c-algo-sgi.h void (*wdata)(void *data, unsigned val); val 14 include/linux/i2c-pxa.h void (*write)(void *ptr, unsigned int val); val 1225 include/linux/i2o.h #define i2o_raw_writel(val, mem) __raw_writel(cpu_to_le32(val), mem) val 1304 include/linux/ide.h u8 val; /* value of masked reg when "enabled" */ val 60 include/linux/inetdevice.h in_dev->cnf.data[index] = val; val 71 include/linux/inetdevice.h ipv4_devconf_set((in_dev), NET_IPV4_CONF_ ## attr, (val)) val 35 include/linux/isdn/capiutil.h ((__u8 *)m)[off] = val; val 40 include/linux/isdn/capiutil.h ((__u8 *)m)[off] = val & 0xff; val 41 include/linux/isdn/capiutil.h ((__u8 *)m)[off+1] = (val >> 8) & 0xff; val 46 include/linux/isdn/capiutil.h ((__u8 *)m)[off] = val & 0xff; val 47 include/linux/isdn/capiutil.h ((__u8 *)m)[off+1] = (val >> 8) & 0xff; val 48 include/linux/isdn/capiutil.h ((__u8 *)m)[off+2] = (val >> 16) & 0xff; val 49 include/linux/isdn/capiutil.h ((__u8 *)m)[off+3] = (val >> 24) & 0xff; val 270 include/linux/jbd.h int val = (expr); \ val 271 include/linux/jbd.h if (!val) { \ val 276 include/linux/jbd.h val; \ val 308 include/linux/jbd2.h int val = (expr); \ val 309 include/linux/jbd2.h if (!val) { \ val 314 include/linux/jbd2.h val; \ val 5 include/linux/kbuild.h asm volatile("\n->" #sym " %0 " #val : : "i" (val)) val 33 include/linux/kdev_t.h return MKDEV((val >> 8) & 255, val & 255); val 377 include/linux/kernel.h typeof(val) __val = (val); \ val 412 include/linux/kernel.h type __val = (val); \ val 430 include/linux/kernel.h typeof(val) __val = (val); \ val 431 include/linux/kernel.h typeof(val) __min = (min); \ val 432 include/linux/kernel.h typeof(val) __max = (max); \ val 785 include/linux/libata.h int (*scr_read)(struct ata_link *link, unsigned int sc_reg, u32 *val); val 786 include/linux/libata.h int (*scr_write)(struct ata_link *link, unsigned int sc_reg, u32 val); val 828 include/linux/libata.h enum sw_activity val); val 1008 include/linux/libata.h unsigned long val; val 10 include/linux/mfd/tmio.h #define tmio_iowrite8(val, addr) writeb((val), (addr)) val 11 include/linux/mfd/tmio.h #define tmio_iowrite16(val, addr) writew((val), (addr)) val 15 include/linux/mfd/tmio.h writew((val), (addr)); \ val 16 include/linux/mfd/tmio.h writew((val) >> 16, (addr) + 2); \ val 164 include/linux/mii.h void (*mdio_write) (struct net_device *dev, int phy_id, int location, int val); val 58 include/linux/mlx4/doorbell.h __raw_writeq(*(u64 *) val, dest); val 79 include/linux/mlx4/doorbell.h __raw_writel((__force u32) val[0], dest); val 80 include/linux/mlx4/doorbell.h __raw_writel((__force u32) val[1], dest + 4); val 296 include/linux/mtd/cfi.h map_word val = { {0} }; val 350 include/linux/mtd/cfi.h val.x[i] = onecmd; val 353 include/linux/mtd/cfi.h return val; val 380 include/linux/mtd/cfi.h onestat = val.x[0]; val 383 include/linux/mtd/cfi.h onestat |= val.x[i]; val 431 include/linux/mtd/cfi.h map_word val; val 434 include/linux/mtd/cfi.h val = cfi_build_cmd(cmd, map, cfi); val 439 include/linux/mtd/cfi.h map_write(map, val, addr); val 446 include/linux/mtd/cfi.h map_word val = map_read(map, addr); val 449 include/linux/mtd/cfi.h return val.x[0]; val 451 include/linux/mtd/cfi.h return cfi16_to_cpu(val.x[0]); val 456 include/linux/mtd/cfi.h return cfi32_to_cpu(val.x[0]); val 462 include/linux/mtd/cfi.h map_word val = map_read(map, addr); val 465 include/linux/mtd/cfi.h return val.x[0] & 0xff; val 467 include/linux/mtd/cfi.h return cfi16_to_cpu(val.x[0]); val 472 include/linux/mtd/cfi.h return cfi32_to_cpu(val.x[0]); val 161 include/linux/parport.h unsigned char val); val 72 include/linux/parport_pc.h unsigned char val = inb (DATA (p)); val 75 include/linux/parport_pc.h p, val); val 77 include/linux/parport_pc.h return val; val 136 include/linux/parport_pc.h mask, val, ctr, ((ctr & ~mask) ^ val) & priv->ctr_writable); val 138 include/linux/parport_pc.h ctr = (ctr & ~mask) ^ val; val 196 include/linux/parport_pc.h (val & 0x20) ? "reverse" : "forward"); val 197 include/linux/parport_pc.h if (val & 0x20) val 205 include/linux/parport_pc.h val &= wm; val 207 include/linux/parport_pc.h return __parport_pc_frob_control (p, mask, val); val 329 include/linux/pci.h int (*read)(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val); val 330 include/linux/pci.h int (*write)(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val); val 574 include/linux/pci.h return pci_bus_read_config_byte(dev->bus, dev->devfn, where, val); val 578 include/linux/pci.h return pci_bus_read_config_word(dev->bus, dev->devfn, where, val); val 583 include/linux/pci.h return pci_bus_read_config_dword(dev->bus, dev->devfn, where, val); val 587 include/linux/pci.h return pci_bus_write_config_byte(dev->bus, dev->devfn, where, val); val 591 include/linux/pci.h return pci_bus_write_config_word(dev->bus, dev->devfn, where, val); val 596 include/linux/pci.h return pci_bus_write_config_dword(dev->bus, dev->devfn, where, val); val 808 include/linux/pci.h int where, t val) \ val 93 include/linux/phy.h int (*write)(struct mii_bus *bus, int phy_id, int regnum, u16 val); val 437 include/linux/phy.h return mdiobus_write(phydev->bus, phydev->addr, regnum, val); val 205 include/linux/pkt_cls.h __be32 val; val 227 include/linux/pkt_cls.h __u32 val; val 35 include/linux/pm_wakeup.h dev->power.can_wakeup = dev->power.should_wakeup = !!val; val 40 include/linux/pm_wakeup.h dev->power.can_wakeup = !!val; val 50 include/linux/pm_wakeup.h dev->power.should_wakeup = !!val; val 63 include/linux/pm_wakeup.h dev->power.can_wakeup = !!val; val 124 include/linux/power_supply.h union power_supply_propval *val); val 32 include/linux/ppdev.h unsigned char val; val 17 include/linux/preempt.h # define add_preempt_count(val) do { preempt_count() += (val); } while (0) val 18 include/linux/preempt.h # define sub_preempt_count(val) do { preempt_count() -= (val); } while (0) val 57 include/linux/preempt.h do { preempt_count() += (val); } while (0) val 59 include/linux/preempt.h do { preempt_count() -= (val); } while (0) val 206 include/linux/reiserfs_fs.h do { SB_V1_DISK_SUPER_BLOCK(s)->s_block_count = cpu_to_le32(val); } while (0) val 208 include/linux/reiserfs_fs.h do { SB_V1_DISK_SUPER_BLOCK(s)->s_free_blocks = cpu_to_le32(val); } while (0) val 210 include/linux/reiserfs_fs.h do { SB_V1_DISK_SUPER_BLOCK(s)->s_root_block = cpu_to_le32(val); } while (0) val 212 include/linux/reiserfs_fs.h do { SB_V1_DISK_SUPER_BLOCK(s)->s_tree_height = cpu_to_le16(val); } while (0) val 214 include/linux/reiserfs_fs.h do { SB_V1_DISK_SUPER_BLOCK(s)->s_umount_state = cpu_to_le16(val); } while (0) val 216 include/linux/reiserfs_fs.h do { SB_V1_DISK_SUPER_BLOCK(s)->s_version = cpu_to_le16(val); } while (0) val 218 include/linux/reiserfs_fs.h do { SB_V1_DISK_SUPER_BLOCK(s)->s_bmap_nr = cpu_to_le16 (val); } while (0) val 512 include/linux/reiserfs_fs.h #define put_ih_free_space(ih, val) do { (ih)->u.ih_free_space_reserved = cpu_to_le16(val); } while(0) val 513 include/linux/reiserfs_fs.h #define put_ih_version(ih, val) do { (ih)->ih_version = cpu_to_le16(val); } while (0) val 514 include/linux/reiserfs_fs.h #define put_ih_entry_count(ih, val) do { (ih)->u.ih_entry_count = cpu_to_le16(val); } while (0) val 515 include/linux/reiserfs_fs.h #define put_ih_location(ih, val) do { (ih)->ih_item_location = cpu_to_le16(val); } while (0) val 516 include/linux/reiserfs_fs.h #define put_ih_item_len(ih, val) do { (ih)->ih_item_len = cpu_to_le16(val); } while (0) val 521 include/linux/reiserfs_fs.h #define set_ih_free_space(ih,val) put_ih_free_space((ih), ((ih_version(ih) == KEY_FORMAT_3_6) ? 0 : (val))) val 728 include/linux/reiserfs_fs.h #define set_blkh_level(p_blkh,val) ((p_blkh)->blk_level = cpu_to_le16(val)) val 729 include/linux/reiserfs_fs.h #define set_blkh_nr_item(p_blkh,val) ((p_blkh)->blk_nr_item = cpu_to_le16(val)) val 730 include/linux/reiserfs_fs.h #define set_blkh_free_space(p_blkh,val) ((p_blkh)->blk_free_space = cpu_to_le16(val)) val 731 include/linux/reiserfs_fs.h #define set_blkh_reserved(p_blkh,val) ((p_blkh)->blk_reserved = cpu_to_le16(val)) val 733 include/linux/reiserfs_fs.h #define set_blkh_right_delim_key(p_blkh,val) ((p_blkh)->blk_right_delim_key = val) val 753 include/linux/reiserfs_fs.h #define PUT_B_NR_ITEMS(p_s_bh,val) do { set_blkh_nr_item(B_BLK_HEAD(p_s_bh),val); } while (0) val 754 include/linux/reiserfs_fs.h #define PUT_B_LEVEL(p_s_bh,val) do { set_blkh_level(B_BLK_HEAD(p_s_bh),val); } while (0) val 755 include/linux/reiserfs_fs.h #define PUT_B_FREE_SPACE(p_s_bh,val) do { set_blkh_free_space(B_BLK_HEAD(p_s_bh),val); } while (0) val 1111 include/linux/reiserfs_fs.h #define put_dc_block_number(dc_p, val) do { (dc_p)->dc_block_number = cpu_to_le32(val); } while(0) val 1112 include/linux/reiserfs_fs.h #define put_dc_size(dc_p, val) do { (dc_p)->dc_size = cpu_to_le16(val); } while(0) val 1120 include/linux/reiserfs_fs.h #define PUT_B_N_CHILD_NUM(p_s_bh,n_pos, val) (put_dc_block_number(B_N_CHILD(p_s_bh,n_pos), val )) val 1532 include/linux/reiserfs_fs.h #define PUT_B_I_POS_UNFM_POINTER(bh,ih,pos, val) do {*(((unp_t *)B_I_PITEM(bh,ih)) + (pos)) = cpu_to_le32(val); } while (0) val 1563 include/linux/reiserfs_fs.h #define set_desc_trans_id(d,val) do { (d)->j_trans_id = cpu_to_le32 (val); } while (0) val 1564 include/linux/reiserfs_fs.h #define set_desc_trans_len(d,val) do { (d)->j_len = cpu_to_le32 (val); } while (0) val 1565 include/linux/reiserfs_fs.h #define set_desc_mount_id(d,val) do { (d)->j_mount_id = cpu_to_le32 (val); } while (0) val 1578 include/linux/reiserfs_fs.h #define set_commit_trans_id(c,val) do { (c)->j_trans_id = cpu_to_le32 (val); } while (0) val 1579 include/linux/reiserfs_fs.h #define set_commit_trans_len(c,val) do { (c)->j_len = cpu_to_le32 (val); } while (0) val 1947 include/linux/reiserfs_fs.h #define PROC_INFO_ADD( sb, field, val ) ( __PINFO( sb ).field += ( val ) ) val 30 include/linux/rtc-v3020.h #define V3020_IS_COMMAND(val) ((val)>=0x0E) val 53 include/linux/rtc/m48t59.h void (*write_byte)(struct device *dev, u32 ofs, u8 val); val 186 include/linux/scc.h #define Outb(port, val) outb_p(val, port) val 189 include/linux/scc.h #define Outb(port, val) outb(val, port) val 41 include/linux/selinux_netlink.h int32_t val; val 46 include/linux/sem.h int val; /* value for SETVAL */ val 35 include/linux/semaphore.h *sem = (struct semaphore) __SEMAPHORE_INITIALIZER(*sem, val); val 50 include/linux/smb_fs.h #define WSET(buf, pos, val) put_unaligned_le16((val), (u8 *)(buf) + (pos)) val 51 include/linux/smb_fs.h #define DSET(buf, pos, val) put_unaligned_le32((val), (u8 *)(buf) + (pos)) val 52 include/linux/smb_fs.h #define LSET(buf, pos, val) put_unaligned_le64((val), (u8 *)(buf) + (pos)) val 52 include/linux/spi/ads7846.h int (*filter) (void *filter_data, int data_idx, int *val); val 156 include/linux/sunrpc/svc.h __be32 val, *vp; val 158 include/linux/sunrpc/svc.h val = *vp++; val 161 include/linux/sunrpc/svc.h return ntohl(val); val 167 include/linux/sunrpc/svc.h *vp = htonl(val); val 173 include/linux/sunrpc/svc.h __be32 val, *vp; val 175 include/linux/sunrpc/svc.h val = *vp++; val 178 include/linux/sunrpc/svc.h return val; val 191 include/linux/sunrpc/svc.h *vp = val; val 136 include/linux/sunrpc/xdr.h *p++ = htonl(val >> 32); val 137 include/linux/sunrpc/xdr.h *p++ = htonl(val & 0xFFFFFFFF); val 49 include/linux/swab.h return __arch_swab16(val); val 51 include/linux/swab.h return __arch_swab16p(&val); val 53 include/linux/swab.h return __const_swab16(val); val 60 include/linux/swab.h return __arch_swab32(val); val 62 include/linux/swab.h return __arch_swab32p(&val); val 64 include/linux/swab.h return __const_swab32(val); val 71 include/linux/swab.h return __arch_swab64(val); val 73 include/linux/swab.h return __arch_swab64p(&val); val 75 include/linux/swab.h __u32 h = val >> 32; val 76 include/linux/swab.h __u32 l = val & ((1ULL << 32) - 1); val 79 include/linux/swab.h return __const_swab64(val); val 86 include/linux/swab.h return __arch_swahw32(val); val 88 include/linux/swab.h return __arch_swahw32p(&val); val 90 include/linux/swab.h return __const_swahw32(val); val 97 include/linux/swab.h return __arch_swahb32(val); val 99 include/linux/swab.h return __arch_swahb32p(&val); val 101 include/linux/swab.h return __const_swahb32(val); val 79 include/linux/swap.h unsigned long val; val 283 include/linux/swap.h do { (val)->freeswap = (val)->totalswap = 0; } while (0) val 345 include/linux/swap.h entry.val = 0; val 12 include/linux/swapops.h #define SWP_TYPE_SHIFT(e) (sizeof(e.val) * 8 - MAX_SWAPFILES_SHIFT) val 22 include/linux/swapops.h ret.val = (type << SWP_TYPE_SHIFT(ret)) | val 33 include/linux/swapops.h return (entry.val >> SWP_TYPE_SHIFT(entry)); val 42 include/linux/swapops.h return entry.val & SWP_OFFSET_MASK(entry); val 20 include/linux/tc_act/tc_pedit.h __u32 val; /*XOR */ val 8 include/linux/tc_ematch/tc_em_cmp.h __u32 val; val 27 include/linux/thread_info.h u32 val; val 103 include/linux/ucb1400.h ac97->bus->ops->write(ac97, reg, val); val 114 include/linux/ucb1400.h ucb1400_reg_write(ac97, UCB_IO_DATA, val ? val 140 include/linux/ucb1400.h unsigned int val; val 149 include/linux/ucb1400.h while (!((val = ucb1400_reg_read(ac97, UCB_ADC_DATA)) val 153 include/linux/ucb1400.h return val & UCB_ADC_DAT_MASK; val 39 include/linux/unaligned/access_ok.h *((__le16 *)p) = cpu_to_le16(val); val 44 include/linux/unaligned/access_ok.h *((__le32 *)p) = cpu_to_le32(val); val 49 include/linux/unaligned/access_ok.h *((__le64 *)p) = cpu_to_le64(val); val 54 include/linux/unaligned/access_ok.h *((__be16 *)p) = cpu_to_be16(val); val 59 include/linux/unaligned/access_ok.h *((__be32 *)p) = cpu_to_be32(val); val 64 include/linux/unaligned/access_ok.h *((__be64 *)p) = cpu_to_be64(val); val 24 include/linux/unaligned/be_byteshift.h *p++ = val >> 8; val 25 include/linux/unaligned/be_byteshift.h *p++ = val; val 30 include/linux/unaligned/be_byteshift.h __put_unaligned_be16(val >> 16, p); val 31 include/linux/unaligned/be_byteshift.h __put_unaligned_be16(val, p + 2); val 36 include/linux/unaligned/be_byteshift.h __put_unaligned_be32(val >> 32, p); val 37 include/linux/unaligned/be_byteshift.h __put_unaligned_be32(val, p + 4); val 57 include/linux/unaligned/be_byteshift.h __put_unaligned_be16(val, p); val 62 include/linux/unaligned/be_byteshift.h __put_unaligned_be32(val, p); val 67 include/linux/unaligned/be_byteshift.h __put_unaligned_be64(val, p); val 23 include/linux/unaligned/be_memmove.h __put_unaligned_memmove16(val, p); val 28 include/linux/unaligned/be_memmove.h __put_unaligned_memmove32(val, p); val 33 include/linux/unaligned/be_memmove.h __put_unaligned_memmove64(val, p); val 23 include/linux/unaligned/be_struct.h __put_unaligned_cpu16(val, p); val 28 include/linux/unaligned/be_struct.h __put_unaligned_cpu32(val, p); val 33 include/linux/unaligned/be_struct.h __put_unaligned_cpu64(val, p); val 30 include/linux/unaligned/generic.h *(u8 *)__gu_p = (__force u8)(val); \ val 33 include/linux/unaligned/generic.h put_unaligned_le16((__force u16)(val), __gu_p); \ val 36 include/linux/unaligned/generic.h put_unaligned_le32((__force u32)(val), __gu_p); \ val 39 include/linux/unaligned/generic.h put_unaligned_le64((__force u64)(val), __gu_p); \ val 51 include/linux/unaligned/generic.h *(u8 *)__gu_p = (__force u8)(val); \ val 54 include/linux/unaligned/generic.h put_unaligned_be16((__force u16)(val), __gu_p); \ val 57 include/linux/unaligned/generic.h put_unaligned_be32((__force u32)(val), __gu_p); \ val 60 include/linux/unaligned/generic.h put_unaligned_be64((__force u64)(val), __gu_p); \ val 24 include/linux/unaligned/le_byteshift.h *p++ = val; val 25 include/linux/unaligned/le_byteshift.h *p++ = val >> 8; val 30 include/linux/unaligned/le_byteshift.h __put_unaligned_le16(val >> 16, p + 2); val 31 include/linux/unaligned/le_byteshift.h __put_unaligned_le16(val, p); val 36 include/linux/unaligned/le_byteshift.h __put_unaligned_le32(val >> 32, p + 4); val 37 include/linux/unaligned/le_byteshift.h __put_unaligned_le32(val, p); val 57 include/linux/unaligned/le_byteshift.h __put_unaligned_le16(val, p); val 62 include/linux/unaligned/le_byteshift.h __put_unaligned_le32(val, p); val 67 include/linux/unaligned/le_byteshift.h __put_unaligned_le64(val, p); val 23 include/linux/unaligned/le_memmove.h __put_unaligned_memmove16(val, p); val 28 include/linux/unaligned/le_memmove.h __put_unaligned_memmove32(val, p); val 33 include/linux/unaligned/le_memmove.h __put_unaligned_memmove64(val, p); val 23 include/linux/unaligned/le_struct.h __put_unaligned_cpu16(val, p); val 28 include/linux/unaligned/le_struct.h __put_unaligned_cpu32(val, p); val 33 include/linux/unaligned/le_struct.h __put_unaligned_cpu64(val, p); val 32 include/linux/unaligned/memmove.h memmove(p, &val, 2); val 37 include/linux/unaligned/memmove.h memmove(p, &val, 4); val 42 include/linux/unaligned/memmove.h memmove(p, &val, 8); val 31 include/linux/unaligned/packed_struct.h ptr->x = val; val 37 include/linux/unaligned/packed_struct.h ptr->x = val; val 43 include/linux/unaligned/packed_struct.h ptr->x = val; val 1370 include/linux/videodev2.h __u64 val; val 22 include/linux/vt_buffer.h #define scr_writew(val, addr) (*(addr) = (val)) val 74 include/math-emu/double.h #define FP_UNPACK_RAW_D(X,val) _FP_UNPACK_RAW_2(D,X,val) val 75 include/math-emu/double.h #define FP_UNPACK_RAW_DP(X,val) _FP_UNPACK_RAW_2_P(D,X,val) val 76 include/math-emu/double.h #define FP_PACK_RAW_D(val,X) _FP_PACK_RAW_2(D,val,X) val 80 include/math-emu/double.h _FP_PACK_RAW_2_P(D,val,X); \ val 85 include/math-emu/double.h _FP_UNPACK_RAW_2(D,X,val); \ val 91 include/math-emu/double.h _FP_UNPACK_RAW_2_P(D,X,val); \ val 98 include/math-emu/double.h _FP_PACK_RAW_2(D,val,X); \ val 105 include/math-emu/double.h _FP_PACK_RAW_2_P(D,val,X); \ val 146 include/math-emu/double.h #define FP_UNPACK_RAW_D(X,val) _FP_UNPACK_RAW_1(D,X,val) val 147 include/math-emu/double.h #define FP_UNPACK_RAW_DP(X,val) _FP_UNPACK_RAW_1_P(D,X,val) val 148 include/math-emu/double.h #define FP_PACK_RAW_D(val,X) _FP_PACK_RAW_1(D,val,X) val 152 include/math-emu/double.h _FP_PACK_RAW_1_P(D,val,X); \ val 157 include/math-emu/double.h _FP_UNPACK_RAW_1(D,X,val); \ val 163 include/math-emu/double.h _FP_UNPACK_RAW_1_P(D,X,val); \ val 170 include/math-emu/double.h _FP_PACK_RAW_1(D,val,X); \ val 177 include/math-emu/double.h _FP_PACK_RAW_1_P(D,val,X); \ val 77 include/math-emu/op-1.h union _FP_UNION_##fs _flo; _flo.flt = (val); \ val 87 include/math-emu/op-1.h (union _FP_UNION_##fs *)(val); \ val 106 include/math-emu/op-1.h (val) = _flo.flt; \ val 112 include/math-emu/op-1.h (union _FP_UNION_##fs *)(val); \ val 187 include/math-emu/op-2.h union _FP_UNION_##fs _flo; _flo.flt = (val); \ val 198 include/math-emu/op-2.h (union _FP_UNION_##fs *)(val); \ val 220 include/math-emu/op-2.h (val) = _flo.flt; \ val 226 include/math-emu/op-2.h (union _FP_UNION_##fs *)(val); \ val 186 include/math-emu/op-4.h union _FP_UNION_##fs _flo; _flo.flt = (val); \ val 198 include/math-emu/op-4.h (union _FP_UNION_##fs *)(val); \ val 217 include/math-emu/op-4.h (val) = _flo.flt; \ val 223 include/math-emu/op-4.h (union _FP_UNION_##fs *)(val); \ val 80 include/math-emu/quad.h #define FP_UNPACK_RAW_Q(X,val) _FP_UNPACK_RAW_4(Q,X,val) val 81 include/math-emu/quad.h #define FP_UNPACK_RAW_QP(X,val) _FP_UNPACK_RAW_4_P(Q,X,val) val 82 include/math-emu/quad.h #define FP_PACK_RAW_Q(val,X) _FP_PACK_RAW_4(Q,val,X) val 86 include/math-emu/quad.h _FP_PACK_RAW_4_P(Q,val,X); \ val 91 include/math-emu/quad.h _FP_UNPACK_RAW_4(Q,X,val); \ val 97 include/math-emu/quad.h _FP_UNPACK_RAW_4_P(Q,X,val); \ val 104 include/math-emu/quad.h _FP_PACK_RAW_4(Q,val,X); \ val 111 include/math-emu/quad.h _FP_PACK_RAW_4_P(Q,val,X); \ val 153 include/math-emu/quad.h #define FP_UNPACK_RAW_Q(X,val) _FP_UNPACK_RAW_2(Q,X,val) val 154 include/math-emu/quad.h #define FP_UNPACK_RAW_QP(X,val) _FP_UNPACK_RAW_2_P(Q,X,val) val 155 include/math-emu/quad.h #define FP_PACK_RAW_Q(val,X) _FP_PACK_RAW_2(Q,val,X) val 159 include/math-emu/quad.h _FP_PACK_RAW_2_P(Q,val,X); \ val 164 include/math-emu/quad.h _FP_UNPACK_RAW_2(Q,X,val); \ val 170 include/math-emu/quad.h _FP_UNPACK_RAW_2_P(Q,X,val); \ val 177 include/math-emu/quad.h _FP_PACK_RAW_2(Q,val,X); \ val 184 include/math-emu/quad.h _FP_PACK_RAW_2_P(Q,val,X); \ val 63 include/math-emu/single.h #define FP_UNPACK_RAW_S(X,val) _FP_UNPACK_RAW_1(S,X,val) val 64 include/math-emu/single.h #define FP_UNPACK_RAW_SP(X,val) _FP_UNPACK_RAW_1_P(S,X,val) val 65 include/math-emu/single.h #define FP_PACK_RAW_S(val,X) _FP_PACK_RAW_1(S,val,X) val 69 include/math-emu/single.h _FP_PACK_RAW_1_P(S,val,X); \ val 74 include/math-emu/single.h _FP_UNPACK_RAW_1(S,X,val); \ val 80 include/math-emu/single.h _FP_UNPACK_RAW_1_P(S,X,val); \ val 87 include/math-emu/single.h _FP_PACK_RAW_1(S,val,X); \ val 94 include/math-emu/single.h _FP_PACK_RAW_1_P(S,val,X); \ val 141 include/net/bluetooth/l2cap.h __u8 val[0]; val 170 include/net/ip.h #define IP_ADD_STATS_BH(net, field, val) SNMP_ADD_STATS_BH((net)->mib.ip_statistics, field, val) val 125 include/net/ipv6.h SNMP_ADD_STATS##modifier((_idev)->stats.statname, (field), (val)); \ val 126 include/net/ipv6.h SNMP_ADD_STATS##modifier((net)->mib.statname##_statistics, (field), (val));\ val 136 include/net/ipv6.h _DEVADD(net, ipv6, _BH, idev, field, val) val 273 include/net/tcp.h #define TCP_ADD_STATS_USER(net, field, val) SNMP_ADD_STATS_USER((net)->mib.tcp_statistics, field, val) val 431 include/sound/ac97_codec.h void (*write) (struct snd_ac97 *ac97, unsigned short reg, unsigned short val); val 16 include/sound/ad1843.h int (*write)(void *chip, int reg, int val); val 69 include/sound/ak4531_codec.h unsigned short val); val 36 include/sound/ak4xxx-adda.h unsigned char val); val 90 include/sound/ak4xxx-adda.h ((ak)->images[(chip) * 16 + (reg)] = (val)) val 94 include/sound/ak4xxx-adda.h ((ak)->volumes[(chip) * 16 + (reg)] = (val)) val 701 include/sound/asound.h unsigned int val; val 434 include/sound/core.h {_SND_PCI_QUIRK_ID(vend, dev), .value = (val), .name = (xname)} val 437 include/sound/core.h {_SND_PCI_QUIRK_ID(vend, dev), .value = (val)} val 123 include/sound/emu8000_reg.h snd_emu8000_poke_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(0, (chan)), (val)) val 125 include/sound/emu8000_reg.h snd_emu8000_poke_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(1, (chan)), (val)) val 127 include/sound/emu8000_reg.h snd_emu8000_poke_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(2, (chan)), (val)) val 129 include/sound/emu8000_reg.h snd_emu8000_poke_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(3, (chan)), (val)) val 131 include/sound/emu8000_reg.h snd_emu8000_poke_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(6, (chan)), (val)) val 133 include/sound/emu8000_reg.h snd_emu8000_poke_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(7, (chan)), (val)) val 135 include/sound/emu8000_reg.h snd_emu8000_poke_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(0, (chan)), (val)) val 137 include/sound/emu8000_reg.h snd_emu8000_poke_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 9), (val)) val 139 include/sound/emu8000_reg.h snd_emu8000_poke_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 10), (val)) val 141 include/sound/emu8000_reg.h snd_emu8000_poke_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 13), (val)) val 144 include/sound/emu8000_reg.h snd_emu8000_poke_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 14), (val)) val 146 include/sound/emu8000_reg.h snd_emu8000_poke_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 20), (val)) val 148 include/sound/emu8000_reg.h snd_emu8000_poke_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 21), (val)) val 150 include/sound/emu8000_reg.h snd_emu8000_poke_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 22), (val)) val 152 include/sound/emu8000_reg.h snd_emu8000_poke_dw((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 23), (val)) val 154 include/sound/emu8000_reg.h snd_emu8000_poke((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 26), (val)) val 156 include/sound/emu8000_reg.h snd_emu8000_poke((emu), EMU8000_DATA2(emu), EMU8000_CMD(1, 26), (val)) val 158 include/sound/emu8000_reg.h snd_emu8000_poke((emu), EMU8000_DATA2(emu), EMU8000_CMD(1, 27), (val)) val 160 include/sound/emu8000_reg.h snd_emu8000_poke((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 29), (val)) val 162 include/sound/emu8000_reg.h snd_emu8000_poke((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 30), (val)) val 164 include/sound/emu8000_reg.h snd_emu8000_poke((emu), EMU8000_DATA1(emu), EMU8000_CMD(1, 31), (val)) val 166 include/sound/emu8000_reg.h snd_emu8000_poke((emu), EMU8000_DATA1(emu), EMU8000_CMD(2, (chan)), (val)) val 168 include/sound/emu8000_reg.h snd_emu8000_poke((emu), EMU8000_DATA2(emu), EMU8000_CMD(2, (chan)), (val)) val 170 include/sound/emu8000_reg.h snd_emu8000_poke((emu), EMU8000_DATA1(emu), EMU8000_CMD(3, (chan)), (val)) val 172 include/sound/emu8000_reg.h snd_emu8000_poke((emu), EMU8000_DATA2(emu), EMU8000_CMD(3, (chan)), (val)) val 174 include/sound/emu8000_reg.h snd_emu8000_poke((emu), EMU8000_DATA1(emu), EMU8000_CMD(4, (chan)), (val)) val 176 include/sound/emu8000_reg.h snd_emu8000_poke((emu), EMU8000_DATA1(emu), EMU8000_CMD(5, (chan)), (val)) val 178 include/sound/emu8000_reg.h snd_emu8000_poke((emu), EMU8000_DATA1(emu), EMU8000_CMD(6, (chan)), (val)) val 180 include/sound/emu8000_reg.h snd_emu8000_poke((emu), EMU8000_DATA1(emu), EMU8000_CMD(7, (chan)), (val)) val 182 include/sound/emu8000_reg.h snd_emu8000_poke((emu), EMU8000_DATA2(emu), EMU8000_CMD(4, (chan)), (val)) val 184 include/sound/emu8000_reg.h snd_emu8000_poke((emu), EMU8000_DATA2(emu), EMU8000_CMD(5, (chan)), (val)) val 186 include/sound/emu8000_reg.h snd_emu8000_poke((emu), EMU8000_DATA2(emu), EMU8000_CMD(6, (chan)), (val)) val 188 include/sound/emu8000_reg.h snd_emu8000_poke((emu), EMU8000_DATA2(emu), EMU8000_CMD(7, (chan)), (val)) val 190 include/sound/emu8000_reg.h snd_emu8000_poke((emu), EMU8000_DATA3(emu), EMU8000_CMD(0, (chan)), (val)) val 192 include/sound/emu8000_reg.h snd_emu8000_poke((emu), EMU8000_DATA3(emu), EMU8000_CMD(1, (chan)), (val)) val 194 include/sound/emu8000_reg.h snd_emu8000_poke((emu), EMU8000_DATA3(emu), EMU8000_CMD(2, (chan)), (val)) val 196 include/sound/emu8000_reg.h snd_emu8000_poke((emu), EMU8000_DATA3(emu), EMU8000_CMD(3, (chan)), (val)) val 198 include/sound/emu8000_reg.h snd_emu8000_poke((emu), EMU8000_DATA3(emu), EMU8000_CMD(4, (chan)), (val)) val 200 include/sound/emu8000_reg.h snd_emu8000_poke((emu), EMU8000_DATA3(emu), EMU8000_CMD(5, (chan)), (val)) val 203 include/sound/emu8000_reg.h snd_emu8000_poke_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(4, (chan)), (val)) val 205 include/sound/emu8000_reg.h snd_emu8000_poke_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(5, (chan)), (val)) val 224 include/sound/emux_synth.h short val[EMUX_NUM_EFFECTS]; val 308 include/sound/opl3.h void (*command) (struct snd_opl3 * opl3, unsigned short cmd, unsigned char val); val 110 include/sound/pcm_params.h mask->bits[MASK_OFS(val)] |= MASK_BIT(val); val 115 include/sound/pcm_params.h mask->bits[MASK_OFS(val)] &= ~MASK_BIT(val); val 137 include/sound/pcm_params.h v = mask->bits[MASK_OFS(val)] & MASK_BIT(val); val 139 include/sound/pcm_params.h mask->bits[MASK_OFS(val)] = v; val 164 include/sound/pcm_params.h return mask->bits[MASK_OFS(val)] & MASK_BIT(val); val 211 include/sound/pcm_params.h if (snd_mask_min(mask) >= val) val 213 include/sound/pcm_params.h snd_mask_reset_range(mask, 0, val - 1); val 221 include/sound/pcm_params.h if (snd_mask_max(mask) <= val) val 223 include/sound/pcm_params.h snd_mask_reset_range(mask, val + 1, SNDRV_MASK_BITS); val 233 include/sound/pcm_params.h snd_mask_leave(mask, val); val 297 include/sound/pcm_params.h return !((i->min > val || (i->min == val && i->openmin) || val 298 include/sound/pcm_params.h i->max < val || (i->max == val && i->openmax))); val 31 include/sound/tea575x-tuner.h void (*write)(struct snd_tea575x *tea, unsigned int val); val 44 include/sound/tea575x-tuner.h unsigned int val; /* hw value */ val 99 include/sound/vx_core.h void (*out8)(struct vx_core *chip, int reg, unsigned char val); val 100 include/sound/vx_core.h void (*out32)(struct vx_core *chip, int reg, unsigned int val); val 258 include/sound/vx_core.h chip->ops->out8(chip, reg, val); val 263 include/sound/vx_core.h chip->ops->out32(chip, reg, val); val 267 include/sound/vx_core.h #define vx_outb(chip,reg,val) snd_vx_outb(chip, VX_##reg,val) val 269 include/sound/vx_core.h #define vx_outl(chip,reg,val) snd_vx_outl(chip, VX_##reg,val) val 187 include/video/ili9320.h void (*reset)(unsigned int val); val 87 include/video/mbxfb.h __u32 val; /* value */ val 391 include/video/newport.h regs->set.dcbdata0.byword = (vc2ireg << 24) | (val << 8); val 231 include/video/vga.h outb_p(val, port); val 237 include/video/vga.h outw(VGA_OUT16VAL (val, reg), port); val 247 include/video/vga.h writeb (val, regbase + port); val 253 include/video/vga.h writew (VGA_OUT16VAL (val, reg), regbase + port); val 267 include/video/vga.h vga_mm_w (regbase, port, val); val 269 include/video/vga.h vga_io_w (port, val); val 277 include/video/vga.h vga_mm_w_fast (regbase, port, reg, val); val 279 include/video/vga.h vga_io_w_fast (port, reg, val); val 296 include/video/vga.h vga_w_fast (regbase, VGA_CRT_IC, reg, val); val 299 include/video/vga.h vga_w (regbase, VGA_CRT_DC, val); val 312 include/video/vga.h vga_io_w_fast (VGA_CRT_IC, reg, val); val 315 include/video/vga.h vga_io_w (VGA_CRT_DC, val); val 328 include/video/vga.h vga_mm_w_fast (regbase, VGA_CRT_IC, reg, val); val 331 include/video/vga.h vga_mm_w (regbase, VGA_CRT_DC, val); val 349 include/video/vga.h vga_w_fast (regbase, VGA_SEQ_I, reg, val); val 352 include/video/vga.h vga_w (regbase, VGA_SEQ_D, val); val 365 include/video/vga.h vga_io_w_fast (VGA_SEQ_I, reg, val); val 368 include/video/vga.h vga_io_w (VGA_SEQ_D, val); val 381 include/video/vga.h vga_mm_w_fast (regbase, VGA_SEQ_I, reg, val); val 384 include/video/vga.h vga_mm_w (regbase, VGA_SEQ_D, val); val 401 include/video/vga.h vga_w_fast (regbase, VGA_GFX_I, reg, val); val 404 include/video/vga.h vga_w (regbase, VGA_GFX_D, val); val 417 include/video/vga.h vga_io_w_fast (VGA_GFX_I, reg, val); val 420 include/video/vga.h vga_io_w (VGA_GFX_D, val); val 433 include/video/vga.h vga_mm_w_fast (regbase, VGA_GFX_I, reg, val); val 436 include/video/vga.h vga_mm_w (regbase, VGA_GFX_D, val); val 454 include/video/vga.h vga_w (regbase, VGA_ATT_W, val); val 466 include/video/vga.h vga_io_w (VGA_ATT_W, val); val 478 include/video/vga.h vga_mm_w (regbase, VGA_ATT_W, val); val 268 include/xen/interface/xen.h uint64_t val; /* New contents of PTE. */ val 263 init/main.c if (val) { val 265 init/main.c if (val == param+strlen(param)+1) val 266 init/main.c val[-1] = '='; val 267 init/main.c else if (val == param+strlen(param)+2) { val 268 init/main.c val[-2] = '='; val 269 init/main.c memmove(val-1, val, strlen(val)+1); val 270 init/main.c val--; val 283 init/main.c if (strchr(param, '.') && (!val || strchr(param, '.') < val)) { val 291 init/main.c if (val) { val 299 init/main.c if (!strncmp(param, envp_init[i], val - param)) val 494 init/main.c if (p->setup_func(val) != 0) val 250 ipc/compat.c fourth.val = (int) pad; val 40 ipc/ipc_sysctl.c if (!val) val 91 ipc/ipcns_notifier.c return blocking_notifier_call_chain(&ipcns_chain, val, NULL); val 789 ipc/sem.c int val = arg.val; val 793 ipc/sem.c if (val > SEMVMX || val < 0) val 800 ipc/sem.c curr->semval = val; val 337 kernel/auditfilter.c switch(audit_classify_arch(arch->val)) { val 433 kernel/auditfilter.c f->val = rule->values[i]; val 478 kernel/auditfilter.c if (f->val & ~15) val 482 kernel/auditfilter.c if ((f->val & ~S_IFMT) > S_IFMT) val 555 kernel/auditfilter.c f->val = data->values[i]; val 594 kernel/auditfilter.c str = audit_unpack_string(&bufp, &remain, f->val); val 597 kernel/auditfilter.c entry->rule.buflen += f->val; val 615 kernel/auditfilter.c str = audit_unpack_string(&bufp, &remain, f->val); val 618 kernel/auditfilter.c entry->rule.buflen += f->val; val 620 kernel/auditfilter.c err = audit_to_watch(&entry->rule, str, f->val, f->op); val 627 kernel/auditfilter.c str = audit_unpack_string(&bufp, &remain, f->val); val 630 kernel/auditfilter.c entry->rule.buflen += f->val; val 644 kernel/auditfilter.c if (entry->rule.filterkey || f->val > AUDIT_MAX_KEY_LEN) val 646 kernel/auditfilter.c str = audit_unpack_string(&bufp, &remain, f->val); val 649 kernel/auditfilter.c entry->rule.buflen += f->val; val 653 kernel/auditfilter.c if (f->val & ~15) val 657 kernel/auditfilter.c if ((f->val & ~S_IFMT) > S_IFMT) val 712 kernel/auditfilter.c rule->values[i] = krule->fields[i].val; val 776 kernel/auditfilter.c data->values[i] = f->val; val 830 kernel/auditfilter.c if (a->fields[i].val != b->fields[i].val) val 1281 kernel/auditfilter.c h = audit_hash_ino(inode_f->val); val 1367 kernel/auditfilter.c h = audit_hash_ino(inode_f->val); val 1707 kernel/auditfilter.c result = audit_comparator(cb->creds.pid, f->op, f->val); val 1710 kernel/auditfilter.c result = audit_comparator(cb->creds.uid, f->op, f->val); val 1713 kernel/auditfilter.c result = audit_comparator(cb->creds.gid, f->op, f->val); val 1716 kernel/auditfilter.c result = audit_comparator(cb->loginuid, f->op, f->val); val 1764 kernel/auditfilter.c result = audit_comparator(type, f->op, f->val); val 433 kernel/auditsc.c result = audit_comparator(tsk->pid, f->op, f->val); val 439 kernel/auditsc.c result = audit_comparator(ctx->ppid, f->op, f->val); val 443 kernel/auditsc.c result = audit_comparator(tsk->uid, f->op, f->val); val 446 kernel/auditsc.c result = audit_comparator(tsk->euid, f->op, f->val); val 449 kernel/auditsc.c result = audit_comparator(tsk->suid, f->op, f->val); val 452 kernel/auditsc.c result = audit_comparator(tsk->fsuid, f->op, f->val); val 455 kernel/auditsc.c result = audit_comparator(tsk->gid, f->op, f->val); val 458 kernel/auditsc.c result = audit_comparator(tsk->egid, f->op, f->val); val 461 kernel/auditsc.c result = audit_comparator(tsk->sgid, f->op, f->val); val 464 kernel/auditsc.c result = audit_comparator(tsk->fsgid, f->op, f->val); val 467 kernel/auditsc.c result = audit_comparator(tsk->personality, f->op, f->val); val 471 kernel/auditsc.c result = audit_comparator(ctx->arch, f->op, f->val); val 476 kernel/auditsc.c result = audit_comparator(ctx->return_code, f->op, f->val); val 480 kernel/auditsc.c if (f->val) val 489 kernel/auditsc.c f->op, f->val); val 492 kernel/auditsc.c if (audit_comparator(MAJOR(ctx->names[j].dev), f->op, f->val)) { val 502 kernel/auditsc.c f->op, f->val); val 505 kernel/auditsc.c if (audit_comparator(MINOR(ctx->names[j].dev), f->op, f->val)) { val 514 kernel/auditsc.c result = (name->ino == f->val); val 517 kernel/auditsc.c if (audit_comparator(ctx->names[j].ino, f->op, f->val)) { val 536 kernel/auditsc.c result = audit_comparator(tsk->loginuid, f->op, f->val); val 604 kernel/auditsc.c result = audit_comparator(ctx->argv[f->type-AUDIT_ARG0], f->op, f->val); val 611 kernel/auditsc.c result = audit_match_perm(ctx, f->val); val 614 kernel/auditsc.c result = audit_match_filetype(ctx, f->val); val 1386 kernel/cgroup.c u64 val = simple_strtoull(buffer, &end, 0); val 1389 kernel/cgroup.c retval = cft->write_u64(cgrp, cft, val); val 1391 kernel/cgroup.c s64 val = simple_strtoll(buffer, &end, 0); val 1394 kernel/cgroup.c retval = cft->write_s64(cgrp, cft, val); val 1464 kernel/cgroup.c u64 val = cft->read_u64(cgrp, cft); val 1465 kernel/cgroup.c int len = sprintf(tmp, "%llu\n", (unsigned long long) val); val 1476 kernel/cgroup.c s64 val = cft->read_s64(cgrp, cft); val 1477 kernel/cgroup.c int len = sprintf(tmp, "%lld\n", (long long) val); val 2199 kernel/cgroup.c if (val) val 467 kernel/cpu.c unsigned long val = CPU_STARTING; val 471 kernel/cpu.c val = CPU_STARTING_FROZEN; val 473 kernel/cpu.c raw_notifier_call_chain(&cpu_chain, val, (void *)(long)cpu); val 77 kernel/cpuset.c int val; /* most recent output value */ val 1149 kernel/cpuset.c if (val < -1 || val >= SD_LV_MAX) val 1152 kernel/cpuset.c if (val != cs->relax_domain_level) { val 1153 kernel/cpuset.c cs->relax_domain_level = val; val 1255 kernel/cpuset.c fmp->val = 0; val 1271 kernel/cpuset.c fmp->val = (FM_COEF * fmp->val) / FM_SCALE; val 1274 kernel/cpuset.c fmp->val += ((FM_SCALE - FM_COEF) * fmp->cnt) / FM_SCALE; val 1290 kernel/cpuset.c int val; val 1294 kernel/cpuset.c val = fmp->val; val 1296 kernel/cpuset.c return val; val 1378 kernel/cpuset.c retval = update_flag(CS_CPU_EXCLUSIVE, cs, val); val 1381 kernel/cpuset.c retval = update_flag(CS_MEM_EXCLUSIVE, cs, val); val 1384 kernel/cpuset.c retval = update_flag(CS_MEM_HARDWALL, cs, val); val 1387 kernel/cpuset.c retval = update_flag(CS_SCHED_LOAD_BALANCE, cs, val); val 1390 kernel/cpuset.c retval = update_flag(CS_MEMORY_MIGRATE, cs, val); val 1393 kernel/cpuset.c cpuset_memory_pressure_enabled = !!val; val 1399 kernel/cpuset.c retval = update_flag(CS_SPREAD_PAGE, cs, val); val 1403 kernel/cpuset.c retval = update_flag(CS_SPREAD_SLAB, cs, val); val 1425 kernel/cpuset.c retval = update_relax_domain_level(cs, val); val 1267 kernel/futex.c if (uval != val) val 1349 kernel/futex.c restart->futex.val = val; val 1378 kernel/futex.c return (long)futex_wait(uaddr, fshared, restart->futex.val, &t, val 2004 kernel/futex.c ret = futex_wait(uaddr, fshared, val, timeout, val3); val 2009 kernel/futex.c ret = futex_wake(uaddr, fshared, val, val3); val 2012 kernel/futex.c ret = futex_requeue(uaddr, fshared, uaddr2, val, val2, NULL); val 2015 kernel/futex.c ret = futex_requeue(uaddr, fshared, uaddr2, val, val2, &val3); val 2018 kernel/futex.c ret = futex_wake_op(uaddr, fshared, uaddr2, val, val2, val3); val 2022 kernel/futex.c ret = futex_lock_pi(uaddr, fshared, val, timeout, 0); val 2068 kernel/futex.c return do_futex(uaddr, op, val, tp, uaddr2, val2, val3); val 194 kernel/futex_compat.c return do_futex(uaddr, op, val, tp, uaddr2, val2, val3); val 151 kernel/irq/autoprobe.c return mask & val; val 373 kernel/module.c if (val < 0) val 374 kernel/module.c return -val; val 375 kernel/module.c return val; val 85 kernel/notifier.c ret = nb->notifier_call(nb, val, v); val 174 kernel/notifier.c ret = notifier_call_chain(&nh->head, val, v, nr_to_call, nr_calls); val 183 kernel/notifier.c return __atomic_notifier_call_chain(nh, val, v, -1, NULL); val 306 kernel/notifier.c ret = notifier_call_chain(&nh->head, val, v, nr_to_call, val 317 kernel/notifier.c return __blocking_notifier_call_chain(nh, val, v, -1, NULL); val 383 kernel/notifier.c return notifier_call_chain(&nh->head, val, v, nr_to_call, nr_calls); val 390 kernel/notifier.c return __raw_notifier_call_chain(nh, val, v, -1, NULL); val 486 kernel/notifier.c ret = notifier_call_chain(&nh->head, val, v, nr_to_call, nr_calls); val 495 kernel/notifier.c return __srcu_notifier_call_chain(nh, val, v, -1, NULL); val 564 kernel/notifier.c return atomic_notifier_call_chain(&die_chain, val, &args); val 62 kernel/params.c return params[i].set(val, ¶ms[i]); val 68 kernel/params.c return handle_unknown(param, val); val 102 kernel/params.c *val = NULL; val 105 kernel/params.c *val = args + equals + 1; val 108 kernel/params.c if (**val == '"') { val 109 kernel/params.c (*val)++; val 136 kernel/params.c char *param, *val; val 148 kernel/params.c args = next_arg(args, ¶m, &val); val 150 kernel/params.c ret = parse_one(param, val, params, num, unknown); val 163 kernel/params.c name, val ?: "", param); val 170 kernel/params.c name, val ?: "", param); val 181 kernel/params.c int param_set_##name(const char *val, struct kernel_param *kp) \ val 186 kernel/params.c if (!val) return -EINVAL; \ val 187 kernel/params.c ret = strtolfn(val, 0, &l); \ val 208 kernel/params.c if (!val) { val 214 kernel/params.c if (strlen(val) > 1024) { val 220 kernel/params.c *(char **)kp->arg = (char *)val; val 232 kernel/params.c if (!val) val = "1"; val 235 kernel/params.c switch (val[0]) { val 258 kernel/params.c ret = param_set_bool(val, &dummy); val 286 kernel/params.c if (!val) { val 301 kernel/params.c len = strcspn(val, ","); val 304 kernel/params.c save = val[len]; val 305 kernel/params.c ((char *)val)[len] = '\0'; val 306 kernel/params.c ret = set(val, &kp); val 311 kernel/params.c val += len+1; val 328 kernel/params.c return param_array(kp->name, val, 1, arr->max, arr->elem, val 356 kernel/params.c if (!val) { val 360 kernel/params.c if (strlen(val)+1 > kps->maxlen) { val 365 kernel/params.c strcpy(kps->string, val); val 72 kernel/posix-cpu-timers.c acc->sched += val.sched; val 74 kernel/posix-cpu-timers.c acc->cpu = cputime_add(acc->cpu, val.cpu); val 503 kernel/posix-cpu-timers.c left = cputime_div_non_zero(cputime_sub(expires.cpu, val.cpu), val 518 kernel/posix-cpu-timers.c left = cputime_div_non_zero(cputime_sub(expires.cpu, val.cpu), val 533 kernel/posix-cpu-timers.c nsleft = expires.sched - val.sched; val 709 kernel/posix-cpu-timers.c union cpu_time_count old_expires, new_expires, val; val 758 kernel/posix-cpu-timers.c cpu_clock_sample(timer->it_clock, p, &val); val 760 kernel/posix-cpu-timers.c cpu_clock_sample_group(timer->it_clock, p, &val); val 778 kernel/posix-cpu-timers.c bump_cpu_timer(timer, val); val 779 kernel/posix-cpu-timers.c if (cpu_time_before(timer->it_clock, val, val 783 kernel/posix-cpu-timers.c timer->it.cpu.expires, val); val 806 kernel/posix-cpu-timers.c cpu_time_add(timer->it_clock, &new_expires, val); val 817 kernel/posix-cpu-timers.c cpu_time_before(timer->it_clock, val, new_expires)) { val 818 kernel/posix-cpu-timers.c arm_timer(timer, val); val 842 kernel/posix-cpu-timers.c !cpu_time_before(timer->it_clock, val, new_expires)) { val 53 kernel/power/main.c return (blocking_notifier_call_chain(&pm_chain_head, val, NULL) val 548 kernel/power/main.c int val; val 550 kernel/power/main.c if (sscanf(buf, "%d", &val) == 1) { val 551 kernel/power/main.c pm_trace_enabled = !!val; val 26 kernel/res_counter.c if (counter->usage + val > counter->limit) { val 31 kernel/res_counter.c counter->usage += val; val 43 kernel/res_counter.c ret = res_counter_charge_locked(counter, val); val 50 kernel/res_counter.c if (WARN_ON(counter->usage < val)) val 51 kernel/res_counter.c val = counter->usage; val 53 kernel/res_counter.c counter->usage -= val; val 61 kernel/res_counter.c res_counter_uncharge_locked(counter, val); val 88 kernel/res_counter.c unsigned long long *val; val 92 kernel/res_counter.c val = res_counter_member(counter, member); val 94 kernel/res_counter.c s += read_strategy(*val, s); val 96 kernel/res_counter.c s += sprintf(s, "%llu\n", *val); val 124 kernel/res_counter.c unsigned long long tmp, *val; val 135 kernel/res_counter.c val = res_counter_member(counter, member); val 136 kernel/res_counter.c *val = tmp; val 57 kernel/rtmutex.c unsigned long val = (unsigned long)owner | mask; val 60 kernel/rtmutex.c val |= RT_MUTEX_HAS_WAITERS; val 62 kernel/rtmutex.c lock->owner = (struct task_struct *)val; val 135 kernel/sched.c sg->__cpu_power += val; val 4304 kernel/sched.c preempt_count() += val; val 4312 kernel/sched.c if (preempt_count() == val) val 4323 kernel/sched.c if (DEBUG_LOCKS_WARN_ON(val > preempt_count())) val 4328 kernel/sched.c if (DEBUG_LOCKS_WARN_ON((val < PREEMPT_MASK) && val 4333 kernel/sched.c if (preempt_count() == val) val 4335 kernel/sched.c preempt_count() -= val; val 6983 kernel/sched.c int i, n, val, min_val, best_node = 0; val 6999 kernel/sched.c val = node_distance(node, n); val 7001 kernel/sched.c if (val < min_val) { val 7002 kernel/sched.c min_val = val; val 7335 kernel/sched.c unsigned long val; val 7337 kernel/sched.c val = simple_strtoul(str, NULL, 0); val 7338 kernel/sched.c if (val < SD_LV_MAX) val 7339 kernel/sched.c default_relax_domain_level = val; val 9163 kernel/sched.c return sched_group_set_rt_runtime(cgroup_tg(cgrp), val); val 130 kernel/sched_stats.h # define schedstat_set(var, val) do { var = (val); } while (0) val 2078 kernel/sysctl.c int val = *valp; val 2079 kernel/sysctl.c if (val < 0) { val 2081 kernel/sysctl.c *lvalp = (unsigned long)-val; val 2084 kernel/sysctl.c *lvalp = (unsigned long)val; val 2098 kernel/sysctl.c int *i, vleft, first=1, neg, val; val 2152 kernel/sysctl.c val = -val; val 2241 kernel/sysctl.c int val = *negp ? -*lvalp : *lvalp; val 2243 kernel/sysctl.c case OP_SET: *valp = val; break; val 2244 kernel/sysctl.c case OP_AND: *valp &= val; break; val 2245 kernel/sysctl.c case OP_OR: *valp |= val; break; val 2248 kernel/sysctl.c int val = *valp; val 2249 kernel/sysctl.c if (val < 0) { val 2251 kernel/sysctl.c *lvalp = (unsigned long)-val; val 2254 kernel/sysctl.c *lvalp = (unsigned long)val; val 2287 kernel/sysctl.c int val = *negp ? -*lvalp : *lvalp; val 2288 kernel/sysctl.c if ((param->min && *param->min > val) || val 2289 kernel/sysctl.c (param->max && *param->max < val)) val 2291 kernel/sysctl.c *valp = val; val 2293 kernel/sysctl.c int val = *valp; val 2294 kernel/sysctl.c if (val < 0) { val 2296 kernel/sysctl.c *lvalp = (unsigned long)-val; val 2299 kernel/sysctl.c *lvalp = (unsigned long)val; val 2341 kernel/sysctl.c unsigned long *i, *min, *max, val; val 2386 kernel/sysctl.c val = simple_strtoul(p, &p, 0) * convmul / convdiv ; val 2391 kernel/sysctl.c val = -val; val 2397 kernel/sysctl.c if ((min && val < *min) || (max && val > *max)) val 2399 kernel/sysctl.c *i = val; val 2509 kernel/sysctl.c int val = *valp; val 2511 kernel/sysctl.c if (val < 0) { val 2513 kernel/sysctl.c lval = (unsigned long)-val; val 2516 kernel/sysctl.c lval = (unsigned long)val; val 2532 kernel/sysctl.c int val = *valp; val 2534 kernel/sysctl.c if (val < 0) { val 2536 kernel/sysctl.c lval = (unsigned long)-val; val 2539 kernel/sysctl.c lval = (unsigned long)val; val 2553 kernel/sysctl.c int val = *valp; val 2555 kernel/sysctl.c if (val < 0) { val 2557 kernel/sysctl.c lval = (unsigned long)-val; val 2560 kernel/sysctl.c lval = (unsigned long)val; val 2847 kernel/sysctl.c int val; val 2852 kernel/sysctl.c val = *(int *)(table->data) / HZ; val 2853 kernel/sysctl.c if (put_user(val, (int __user *)oldval)) val 2881 kernel/sysctl.c int val; val 2886 kernel/sysctl.c val = jiffies_to_msecs(*(int *)(table->data)); val 2887 kernel/sysctl.c if (put_user(val, (int __user *)oldval)) val 1350 kernel/timer.c struct sysinfo val; val 1352 kernel/timer.c do_sysinfo(&val); val 1354 kernel/timer.c if (copy_to_user(info, &val, sizeof(struct sysinfo))) val 1408 kernel/trace/ftrace.c long val; val 1418 kernel/trace/ftrace.c val = 1; val 1420 kernel/trace/ftrace.c val = 0; val 1424 kernel/trace/ftrace.c ret = strict_strtoul(buf, 10, &val); val 1428 kernel/trace/ftrace.c val = !!val; val 1431 kernel/trace/ftrace.c if (val) val 2294 kernel/trace/trace.c long val; val 2305 kernel/trace/trace.c ret = strict_strtoul(buf, 10, &val); val 2309 kernel/trace/trace.c val = !!val; val 2312 kernel/trace/trace.c if (tr->ctrl ^ val) { val 2313 kernel/trace/trace.c if (val) val 2318 kernel/trace/trace.c tr->ctrl = val; val 2412 kernel/trace/trace.c long val; val 2423 kernel/trace/trace.c ret = strict_strtoul(buf, 10, &val); val 2427 kernel/trace/trace.c *ptr = val * 1000; val 2685 kernel/trace/trace.c unsigned long val; val 2697 kernel/trace/trace.c ret = strict_strtoul(buf, 10, &val); val 2702 kernel/trace/trace.c if (!val) val 2714 kernel/trace/trace.c if (val > global_trace.entries) { val 2720 kernel/trace/trace.c (val + (ENTRIES_PER_PAGE-1)) / ENTRIES_PER_PAGE; val 2740 kernel/trace/trace.c while (global_trace.entries < val) { val 2752 kernel/trace/trace.c while (global_trace.entries > val + (ENTRIES_PER_PAGE - 1)) val 323 kernel/trace/trace_sysprof.c unsigned long val; val 333 kernel/trace/trace_sysprof.c val = simple_strtoul(buf, NULL, 10); val 337 kernel/trace/trace_sysprof.c if (val < 100) val 338 kernel/trace/trace_sysprof.c val = 100; val 342 kernel/trace/trace_sysprof.c sample_period = val * 1000; val 249 kernel/wait.c unsigned long val = (unsigned long)word << shift | bit; val 251 kernel/wait.c return &zone->wait_table[hash_long(val, zone->wait_table_bits)]; val 6 lib/bcd.c return (val & 0x0f) + (val >> 4) * 10; val 12 lib/bcd.c return ((val / 10) << 4) + val % 10; val 276 lib/bitmap.c #define nbits_to_hold_value(val) fls(val) val 294 lib/bitmap.c unsigned long val; val 308 lib/bitmap.c val = (maskp[word] >> bit) & chunkmask; val 310 lib/bitmap.c (chunksz+3)/4, val); val 139 lib/fault-inject.c *(unsigned long *)data = val; val 147 lib/fault-inject.c val < MAX_STACK_TRACE_DEPTH ? val 148 lib/fault-inject.c val : MAX_STACK_TRACE_DEPTH; val 155 lib/fault-inject.c *val = *(unsigned long *)data; val 182 lib/fault-inject.c atomic_set((atomic_t *)data, val); val 188 lib/fault-inject.c *val = atomic_read((atomic_t *)data); val 103 lib/iomap.c #define pio_write16be(val,port) outw(swab16(val),port) val 104 lib/iomap.c #define pio_write32be(val,port) outl(swab32(val),port) val 108 lib/iomap.c #define mmio_write16be(val,port) __raw_writew(be16_to_cpu(val),port) val 109 lib/iomap.c #define mmio_write32be(val,port) __raw_writel(be32_to_cpu(val),port) val 114 lib/iomap.c IO_COND(addr, outb(val,port), writeb(val, addr)); val 118 lib/iomap.c IO_COND(addr, outw(val,port), writew(val, addr)); val 122 lib/iomap.c IO_COND(addr, pio_write16be(val,port), mmio_write16be(val, addr)); val 126 lib/iomap.c IO_COND(addr, outl(val,port), writel(val, addr)); val 130 lib/iomap.c IO_COND(addr, pio_write32be(val,port), mmio_write32be(val, addr)); val 237 lib/proportions.c s64 val = percpu_counter_read(&pl->events); val 239 lib/proportions.c if (val < (nr_cpu_ids * PROP_BATCH)) val 240 lib/proportions.c val = percpu_counter_sum(&pl->events); val 242 lib/proportions.c __percpu_counter_add(&pl->events, -val + (val >> period), val 6 lib/reciprocal_div.c u64 val = (1LL << 32) + (k - 1); val 7 lib/reciprocal_div.c do_div(val, k); val 8 lib/reciprocal_div.c return (u32)val; val 37 lib/swiotlb.c ( (val) & ( (align) - 1))) val 216 lib/vsprintf.c valtype val; \ val 224 lib/vsprintf.c val = simple_strtou##type(cp, &tail, base); \ val 227 lib/vsprintf.c *res = val; \ val 208 lib/zlib_deflate/deftree.c int val = value;\ val 209 lib/zlib_deflate/deftree.c s->bi_buf |= (val << s->bi_valid);\ val 211 lib/zlib_deflate/deftree.c s->bi_buf = (ush)val >> (Buf_size - s->bi_valid);\ val 134 lib/zlib_inflate/inffast.c PUP(out) = (unsigned char)(this.val); val 137 lib/zlib_inflate/inffast.c len = (unsigned)(this.val); val 161 lib/zlib_inflate/inffast.c dist = (unsigned)(this.val); val 257 lib/zlib_inflate/inffast.c this = dcode[this.val + (hold & ((1U << op) - 1))]; val 267 lib/zlib_inflate/inffast.c this = lcode[this.val + (hold & ((1U << op) - 1))]; val 506 lib/zlib_inflate/inflate.c if (this.val < 16) { val 509 lib/zlib_inflate/inflate.c state->lens[state->have++] = this.val; val 512 lib/zlib_inflate/inflate.c if (this.val == 16) { val 524 lib/zlib_inflate/inflate.c else if (this.val == 17) { val 587 lib/zlib_inflate/inflate.c this = state->lencode[last.val + val 595 lib/zlib_inflate/inflate.c state->length = (unsigned)this.val; val 627 lib/zlib_inflate/inflate.c this = state->distcode[last.val + val 640 lib/zlib_inflate/inflate.c state->offset = (unsigned)this.val; val 106 lib/zlib_inflate/inftrees.c this.val = (unsigned short)0; val 207 lib/zlib_inflate/inftrees.c this.val = work[sym]; val 211 lib/zlib_inflate/inftrees.c this.val = base[work[sym]]; val 215 lib/zlib_inflate/inftrees.c this.val = 0; val 273 lib/zlib_inflate/inftrees.c (*table)[low].val = (unsigned short)(next - *table); val 286 lib/zlib_inflate/inftrees.c this.val = (unsigned short)0; val 27 lib/zlib_inflate/inftrees.h unsigned short val; /* offset in table or code value */ val 72 mm/memcontrol.c stat->cpustat[cpu].count[idx] += val; val 196 mm/memcontrol.c int val = (charge)? 1 : -1; val 201 mm/memcontrol.c __mem_cgroup_stat_add_safe(stat, MEM_CGROUP_STAT_CACHE, val); val 203 mm/memcontrol.c __mem_cgroup_stat_add_safe(stat, MEM_CGROUP_STAT_RSS, val); val 842 mm/memcontrol.c while (res_counter_set_limit(&memcg->res, val)) { val 951 mm/memcontrol.c unsigned long long val; val 957 mm/memcontrol.c ret = res_counter_memparse_write_strategy(buffer, &val); val 959 mm/memcontrol.c ret = mem_cgroup_resize_limit(memcg, val); val 1007 mm/memcontrol.c s64 val; val 1009 mm/memcontrol.c val = mem_cgroup_read_stat(stat, i); val 1010 mm/memcontrol.c val *= mem_cgroup_stat_desc[i].unit; val 1011 mm/memcontrol.c cb->fill(cb, mem_cgroup_stat_desc[i].msg, val); val 128 mm/mincore.c pgoff = entry.val; val 1805 mm/page_alloc.c val->totalram = totalram_pages; val 1806 mm/page_alloc.c val->sharedram = 0; val 1807 mm/page_alloc.c val->freeram = global_page_state(NR_FREE_PAGES); val 1808 mm/page_alloc.c val->bufferram = nr_blockdev_pages(); val 1809 mm/page_alloc.c val->totalhigh = totalhigh_pages; val 1810 mm/page_alloc.c val->freehigh = nr_free_highpages(); val 1811 mm/page_alloc.c val->mem_unit = PAGE_SIZE; val 1821 mm/page_alloc.c val->totalram = pgdat->node_present_pages; val 1822 mm/page_alloc.c val->freeram = node_page_state(nid, NR_FREE_PAGES); val 1824 mm/page_alloc.c val->totalhigh = pgdat->node_zones[ZONE_HIGHMEM].present_pages; val 1825 mm/page_alloc.c val->freehigh = zone_page_state(&pgdat->node_zones[ZONE_HIGHMEM], val 1828 mm/page_alloc.c val->totalhigh = 0; val 1829 mm/page_alloc.c val->freehigh = 0; val 1831 mm/page_alloc.c val->mem_unit = PAGE_SIZE; val 2083 mm/page_alloc.c int n, val; val 2101 mm/page_alloc.c val = node_distance(node, n); val 2104 mm/page_alloc.c val += (n < node); val 2109 mm/page_alloc.c val += PENALTY_FOR_NODE_WITH_CPUS; val 2112 mm/page_alloc.c val *= (MAX_NODE_LOAD*MAX_NUMNODES); val 2113 mm/page_alloc.c val += node_load[n]; val 2115 mm/page_alloc.c if (val < min_val) { val 2116 mm/page_alloc.c min_val = val; val 30 mm/page_io.c swp_entry_t entry = { .val = index, }; val 738 mm/rmap.c swp_entry_t entry = { .val = page_private(page) }; val 365 mm/shmem.c entry->val = value; val 453 mm/shmem.c if (ptr->val) { val 458 mm/shmem.c if (!ptr->val) val 822 mm/shmem.c if (ptr->val == entry.val) val 936 mm/shmem.c if (ptr && ptr->val == entry.val) { val 1028 mm/shmem.c swap.val = 0; val 1036 mm/shmem.c if (entry->val) { val 1046 mm/shmem.c if (swap.val && add_to_swap_cache(page, swap, GFP_ATOMIC) == 0) { val 1048 mm/shmem.c shmem_swp_set(info, entry, swap.val); val 1233 mm/shmem.c if (swap.val) { val 1251 mm/shmem.c if (entry->val == swap.val) val 1390 mm/shmem.c ret = error || swap.val; val 1774 mm/slab.c memset(addr, val, size); val 82 mm/swap_state.c set_page_private(page, entry.val); val 86 mm/swap_state.c entry.val, page); val 141 mm/swap_state.c if (!entry.val) val 184 mm/swap_state.c entry.val = page_private(page); val 251 mm/swap_state.c page = find_get_page(&swapper_space, entry.val); val 278 mm/swap_state.c found_page = find_get_page(&swapper_space, entry.val); val 65 mm/swapfile.c entry.val = page_private(page); val 242 mm/swapfile.c if (!entry.val) val 259 mm/swapfile.c printk(KERN_ERR "swap_free: %s%08lx\n", Unused_offset, entry.val); val 262 mm/swapfile.c printk(KERN_ERR "swap_free: %s%08lx\n", Bad_offset, entry.val); val 265 mm/swapfile.c printk(KERN_ERR "swap_free: %s%08lx\n", Unused_file, entry.val); val 268 mm/swapfile.c printk(KERN_ERR "swap_free: %s%08lx\n", Bad_file, entry.val); val 318 mm/swapfile.c entry.val = page_private(page); val 363 mm/swapfile.c entry.val = page_private(page); val 405 mm/swapfile.c page = find_get_page(&swapper_space, entry.val); val 1196 mm/swapfile.c swp_entry_t entry = { .val = page_private(page) }; val 1748 mm/swapfile.c val->freeswap = nr_swap_pages + nr_to_be_unused; val 1749 mm/swapfile.c val->totalswap = total_swap_pages + nr_to_be_unused; val 1791 mm/swapfile.c printk(KERN_ERR "swap_dup: %s%08lx\n", Bad_file, entry.val); val 437 mm/vmscan.c swp_entry_t swap = { .val = page_private(page) }; val 87 net/9p/conv.c buf->p[0] = val; val 95 net/9p/conv.c *(__le16 *) buf->p = cpu_to_le16(val); val 103 net/9p/conv.c *(__le32 *)buf->p = cpu_to_le32(val); val 111 net/9p/conv.c *(__le64 *)buf->p = cpu_to_le64(val); val 409 net/9p/conv.c *p = val; val 410 net/9p/conv.c buf_put_int8(bufp, val); val 415 net/9p/conv.c *p = val; val 416 net/9p/conv.c buf_put_int16(bufp, val); val 421 net/9p/conv.c *p = val; val 422 net/9p/conv.c buf_put_int32(bufp, val); val 427 net/9p/conv.c *p = val; val 428 net/9p/conv.c buf_put_int64(bufp, val); val 45 net/9p/error.c int val; val 232 net/9p/error.c errno = c->val; val 678 net/ax25/af_ax25.c int val = 0; val 690 net/ax25/af_ax25.c valptr = (void *) &val; val 698 net/ax25/af_ax25.c val = ax25->window; val 702 net/ax25/af_ax25.c val = ax25->t1 / HZ; val 706 net/ax25/af_ax25.c val = ax25->t2 / HZ; val 710 net/ax25/af_ax25.c val = ax25->n2; val 714 net/ax25/af_ax25.c val = ax25->t3 / HZ; val 718 net/ax25/af_ax25.c val = ax25->idle / (60 * HZ); val 722 net/ax25/af_ax25.c val = ax25->backoff; val 726 net/ax25/af_ax25.c val = (ax25->modulus == AX25_EMODULUS); val 730 net/ax25/af_ax25.c val = ax25->pidincl; val 734 net/ax25/af_ax25.c val = ax25->iamdigi; val 738 net/ax25/af_ax25.c val = ax25->paclen; val 291 net/bluetooth/hci_sysfs.c __u32 val; val 293 net/bluetooth/hci_sysfs.c val = simple_strtoul(buf, &ptr, 10); val 297 net/bluetooth/hci_sysfs.c if (val != 0 && (val < 500 || val > 3600000)) val 300 net/bluetooth/hci_sysfs.c hdev->idle_timeout = val; val 315 net/bluetooth/hci_sysfs.c __u16 val; val 317 net/bluetooth/hci_sysfs.c val = simple_strtoul(buf, &ptr, 10); val 321 net/bluetooth/hci_sysfs.c if (val < 0x0002 || val > 0xFFFE || val % 2) val 324 net/bluetooth/hci_sysfs.c if (val < hdev->sniff_min_interval) val 327 net/bluetooth/hci_sysfs.c hdev->sniff_max_interval = val; val 342 net/bluetooth/hci_sysfs.c __u16 val; val 344 net/bluetooth/hci_sysfs.c val = simple_strtoul(buf, &ptr, 10); val 348 net/bluetooth/hci_sysfs.c if (val < 0x0002 || val > 0xFFFE || val % 2) val 351 net/bluetooth/hci_sysfs.c if (val > hdev->sniff_max_interval) val 354 net/bluetooth/hci_sysfs.c hdev->sniff_min_interval = val; val 1384 net/bluetooth/l2cap.c *val = *((u8 *) opt->val); val 1388 net/bluetooth/l2cap.c *val = __le16_to_cpu(*((__le16 *) opt->val)); val 1392 net/bluetooth/l2cap.c *val = __le32_to_cpu(*((__le32 *) opt->val)); val 1396 net/bluetooth/l2cap.c *val = (unsigned long) opt->val; val 1400 net/bluetooth/l2cap.c BT_DBG("type 0x%2.2x len %d val 0x%lx", *type, opt->len, *val); val 1408 net/bluetooth/l2cap.c BT_DBG("type 0x%2.2x len %d val 0x%lx", type, len, val); val 1415 net/bluetooth/l2cap.c *((u8 *) opt->val) = val; val 1419 net/bluetooth/l2cap.c *((__le16 *) opt->val) = cpu_to_le16(val); val 1423 net/bluetooth/l2cap.c *((__le32 *) opt->val) = cpu_to_le32(val); val 1427 net/bluetooth/l2cap.c memcpy(opt->val, (void *) val, len); val 1463 net/bluetooth/l2cap.c unsigned long val; val 1471 net/bluetooth/l2cap.c len -= l2cap_get_conf_opt(&req, &type, &olen, &val); val 1478 net/bluetooth/l2cap.c mtu = val; val 1482 net/bluetooth/l2cap.c pi->flush_to = val; val 1490 net/bluetooth/l2cap.c memcpy(&rfc, (void *) val, olen); val 167 net/bridge/br_stp_if.c if (val) { val 36 net/bridge/br_sysfs_br.c unsigned long val; val 42 net/bridge/br_sysfs_br.c val = simple_strtoul(buf, &endp, 0); val 47 net/bridge/br_sysfs_br.c err = (*set)(br, val); val 62 net/bridge/br_sysfs_br.c unsigned long delay = clock_t_to_jiffies(val); val 87 net/bridge/br_sysfs_br.c unsigned long t = clock_t_to_jiffies(val); val 116 net/bridge/br_sysfs_br.c unsigned long t = clock_t_to_jiffies(val); val 139 net/bridge/br_sysfs_br.c br->ageing_time = clock_t_to_jiffies(val); val 166 net/bridge/br_sysfs_br.c unsigned long val; val 171 net/bridge/br_sysfs_br.c val = simple_strtoul(buf, &endp, 0); val 176 net/bridge/br_sysfs_br.c br_stp_set_enabled(br, val); val 194 net/bridge/br_sysfs_br.c br_stp_set_bridge_priority(br, (u16) val); val 185 net/bridge/br_sysfs_if.c unsigned long val; val 190 net/bridge/br_sysfs_if.c val = simple_strtoul(buf, &endp, 0); val 195 net/bridge/br_sysfs_if.c ret = brport_attr->store(p, val); val 557 net/can/raw.c void *val; val 588 net/can/raw.c val = &ro->err_mask; val 594 net/can/raw.c val = &ro->loopback; val 600 net/can/raw.c val = &ro->recv_own_msgs; val 609 net/can/raw.c if (copy_to_user(optval, val, len)) val 1303 net/core/dev.c return raw_notifier_call_chain(&netdev_chain, val, dev); val 65 net/core/netevent.c return atomic_notifier_call_chain(&netevent_notif_chain, val, v); val 446 net/core/sock.c int val; val 461 net/core/sock.c if (get_user(val, (int __user *)optval)) val 464 net/core/sock.c valbool = val?1:0; val 470 net/core/sock.c if (val && !capable(CAP_NET_ADMIN)) { val 494 net/core/sock.c if (val > sysctl_wmem_max) val 495 net/core/sock.c val = sysctl_wmem_max; val 498 net/core/sock.c if ((val * 2) < SOCK_MIN_SNDBUF) val 501 net/core/sock.c sk->sk_sndbuf = val * 2; val 523 net/core/sock.c if (val > sysctl_rmem_max) val 524 net/core/sock.c val = sysctl_rmem_max; val 542 net/core/sock.c if ((val * 2) < SOCK_MIN_RCVBUF) val 545 net/core/sock.c sk->sk_rcvbuf = val * 2; val 572 net/core/sock.c if ((val >= 0 && val <= 6) || capable(CAP_NET_ADMIN)) val 573 net/core/sock.c sk->sk_priority = val; val 627 net/core/sock.c if (val < 0) val 628 net/core/sock.c val = INT_MAX; val 629 net/core/sock.c sk->sk_rcvlowat = val ? : 1; val 667 net/core/sock.c sk->sk_mark = val; val 688 net/core/sock.c int val; val 703 net/core/sock.c v.val = sock_flag(sk, SOCK_DBG); val 707 net/core/sock.c v.val = sock_flag(sk, SOCK_LOCALROUTE); val 711 net/core/sock.c v.val = !!sock_flag(sk, SOCK_BROADCAST); val 715 net/core/sock.c v.val = sk->sk_sndbuf; val 719 net/core/sock.c v.val = sk->sk_rcvbuf; val 723 net/core/sock.c v.val = sk->sk_reuse; val 727 net/core/sock.c v.val = !!sock_flag(sk, SOCK_KEEPOPEN); val 731 net/core/sock.c v.val = sk->sk_type; val 735 net/core/sock.c v.val = -sock_error(sk); val 736 net/core/sock.c if (v.val==0) val 737 net/core/sock.c v.val = xchg(&sk->sk_err_soft, 0); val 741 net/core/sock.c v.val = !!sock_flag(sk, SOCK_URGINLINE); val 745 net/core/sock.c v.val = sk->sk_no_check; val 749 net/core/sock.c v.val = sk->sk_priority; val 763 net/core/sock.c v.val = sock_flag(sk, SOCK_RCVTSTAMP) && val 768 net/core/sock.c v.val = sock_flag(sk, SOCK_RCVTSTAMPNS); val 794 net/core/sock.c v.val = sk->sk_rcvlowat; val 798 net/core/sock.c v.val=1; val 802 net/core/sock.c v.val = test_bit(SOCK_PASSCRED, &sock->flags) ? 1 : 0; val 829 net/core/sock.c v.val = sk->sk_state == TCP_LISTEN; val 833 net/core/sock.c v.val = test_bit(SOCK_PASSSEC, &sock->flags) ? 1 : 0; val 840 net/core/sock.c v.val = sk->sk_mark; val 1939 net/core/sock.c int val[PROTO_INUSE_NR]; val 1948 net/core/sock.c per_cpu_ptr(net->core.inuse, cpu)->val[prot->inuse_idx] += val; val 1958 net/core/sock.c res += per_cpu_ptr(net->core.inuse, cpu)->val[idx]; val 1994 net/core/sock.c __get_cpu_var(prot_inuse).val[prot->inuse_idx] += val; val 2004 net/core/sock.c res += per_cpu(prot_inuse, cpu).val[idx]; val 56 net/core/utils.c unsigned int val; val 65 net/core/utils.c val = 0; val 68 net/core/utils.c val *= 10; val 69 net/core/utils.c val += *str - '0'; val 72 net/core/utils.c l |= val; val 146 net/dccp/ccids/ccid2.c if (val == 0 || val > max_ratio) { val 147 net/dccp/ccids/ccid2.c DCCP_WARN("Limiting Ack Ratio (%u) to %u\n", val, max_ratio); val 148 net/dccp/ccids/ccid2.c val = max_ratio; val 150 net/dccp/ccids/ccid2.c if (val > 0xFFFF) /* RFC 4340, 11.3 */ val 151 net/dccp/ccids/ccid2.c val = 0xFFFF; val 153 net/dccp/ccids/ccid2.c if (val == dp->dccps_l_ack_ratio) val 156 net/dccp/ccids/ccid2.c ccid2_pr_debug("changing local ack ratio to %u\n", val); val 157 net/dccp/ccids/ccid2.c dp->dccps_l_ack_ratio = val; val 162 net/dccp/ccids/ccid2.c ccid2_pr_debug("change SRTT to %ld\n", val); val 163 net/dccp/ccids/ccid2.c hctx->ccid2hctx_srtt = val; val 610 net/dccp/ccids/ccid3.c const void *val; val 622 net/dccp/ccids/ccid3.c val = &hctx->ccid3hctx_tfrc; val 628 net/dccp/ccids/ccid3.c if (put_user(len, optlen) || copy_to_user(optval, val, len)) val 915 net/dccp/ccids/ccid3.c const void *val; val 931 net/dccp/ccids/ccid3.c val = &rx_info; val 937 net/dccp/ccids/ccid3.c if (put_user(len, optlen) || copy_to_user(optval, val, len)) val 201 net/dccp/dccp.h SNMP_ADD_STATS_BH(dccp_statistics, field, val) val 203 net/dccp/dccp.h SNMP_ADD_STATS_USER(dccp_statistics, field, val) val 31 net/dccp/feat.c dccp_feat_debug(type, feature, *val); val 47 net/dccp/feat.c opt->dccpop_val = val; val 62 net/dccp/feat.c opt->dccpop_val = val; val 106 net/dccp/feat.c dccp_feat_debug(type, feat, val); val 110 net/dccp/feat.c return dccp_feat_update_ccid(sk, type, val); val 254 net/dccp/feat.c rc = dccp_feat_reconcile(sk, opt, val, len); val 289 net/dccp/feat.c copy = kmemdup(val, len, GFP_ATOMIC); val 301 net/dccp/feat.c rc = dccp_feat_update(sk, type, feature, *val); val 380 net/dccp/feat.c dccp_feat_debug(type, feature, *val); val 386 net/dccp/feat.c rc = dccp_feat_sp(sk, type, feature, val, len); val 391 net/dccp/feat.c rc = dccp_feat_nn(sk, type, feature, val, len); val 429 net/dccp/feat.c dccp_feat_debug(type, feature, *val); val 453 net/dccp/feat.c opt->dccpop_feat, *val); val 529 net/dccp/feat.c u8 *val = kmemdup(opt->dccpop_val, opt->dccpop_len, GFP_ATOMIC); val 531 net/dccp/feat.c if (val == NULL) val 536 net/dccp/feat.c kfree(val); val 541 net/dccp/feat.c newopt->dccpop_val = val; val 571 net/dccp/feat.c u8 *copy = kmemdup(val, len, GFP_KERNEL); val 24 net/dccp/feat.h dccp_feat_name(feat), feat, val); val 482 net/dccp/options.c memcpy(to, val, len); val 474 net/dccp/proto.c u8 *val; val 485 net/dccp/proto.c val = kmalloc(opt.dccpsf_len, GFP_KERNEL); val 486 net/dccp/proto.c if (!val) val 489 net/dccp/proto.c if (copy_from_user(val, opt.dccpsf_val, opt.dccpsf_len)) { val 495 net/dccp/proto.c val, opt.dccpsf_len, GFP_KERNEL); val 503 net/dccp/proto.c kfree(val); val 511 net/dccp/proto.c int val, err = 0; val 516 net/dccp/proto.c if (get_user(val, (int __user *)optval)) val 520 net/dccp/proto.c return dccp_setsockopt_service(sk, val, optval, optlen); val 548 net/dccp/proto.c dp->dccps_server_timewait = (val != 0); val 551 net/dccp/proto.c if (val < 0 || val > 15) val 554 net/dccp/proto.c dp->dccps_pcslen = val; val 557 net/dccp/proto.c if (val < 0 || val > 15) val 560 net/dccp/proto.c dp->dccps_pcrlen = val; val 631 net/dccp/proto.c int val, len; val 649 net/dccp/proto.c val = dp->dccps_mss_cache; val 652 net/dccp/proto.c val = dp->dccps_server_timewait; val 655 net/dccp/proto.c val = dp->dccps_pcslen; val 658 net/dccp/proto.c val = dp->dccps_pcrlen; val 670 net/dccp/proto.c len = sizeof(val); val 671 net/dccp/proto.c if (put_user(len, optlen) || copy_to_user(optval, &val, len)) val 1224 net/decnet/af_decnet.c int val; val 1234 net/decnet/af_decnet.c val = !skb_queue_empty(&scp->other_receive_queue); val 1236 net/decnet/af_decnet.c val = -ENOTCONN; val 1238 net/decnet/af_decnet.c return val; val 1353 net/decnet/af_decnet.c int val; val 1473 net/decnet/af_decnet.c scp->nonagle = (u.val == 0) ? 0 : 1; val 1482 net/decnet/af_decnet.c scp->nonagle = (u.val == 0) ? 0 : 2; val 1527 net/decnet/af_decnet.c unsigned int val; val 1582 net/decnet/af_decnet.c int val, len; val 1587 net/decnet/af_decnet.c val = nf_getsockopt(sk, PF_DECnet, optname, val 1589 net/decnet/af_decnet.c if (val >= 0) val 1590 net/decnet/af_decnet.c val = put_user(len, optlen); val 1591 net/decnet/af_decnet.c return val; val 1609 net/decnet/af_decnet.c val = (scp->nonagle == 1); val 1610 net/decnet/af_decnet.c r_data = &val; val 1616 net/decnet/af_decnet.c val = (scp->nonagle == 2); val 1617 net/decnet/af_decnet.c r_data = &val; val 79 net/dsa/dsa_priv.h int regnum, u16 val); val 37 net/dsa/mv88e6060.c return mdiobus_write(ds->master_mii_bus, addr, reg, val); val 44 net/dsa/mv88e6060.c __ret = reg_write(ds, addr, reg, val); \ val 216 net/dsa/mv88e6060.c return reg_write(ds, addr, regnum, val); val 340 net/dsa/mv88e6123_61_65.c return mv88e6xxx_phy_write(ds, addr, regnum, val); val 299 net/dsa/mv88e6131.c return mv88e6xxx_phy_write_ppu(ds, addr, regnum, val); val 100 net/dsa/mv88e6xxx.c return mdiobus_write(bus, addr, reg, val); val 112 net/dsa/mv88e6xxx.c ret = mdiobus_write(bus, sw_addr, 1, val); val 140 net/dsa/mv88e6xxx.c ds->pd->sw_addr, addr, reg, val); val 215 net/dsa/mv88e6xxx.c return mv88e6xxx_reg_write(ds, addr, regnum, val); val 347 net/dsa/mv88e6xxx.c ret = mv88e6xxx_reg_write(ds, addr, regnum, val); val 453 net/dsa/mv88e6xxx.c *val = 0; val 473 net/dsa/mv88e6xxx.c *val = _val | ret; val 86 net/dsa/mv88e6xxx.h __ret = mv88e6xxx_reg_write(ds, addr, reg, val); \ val 32 net/dsa/slave.c return ds->drv->phy_write(ds, addr, reg, val); val 164 net/ieee80211/ieee80211_crypt_tkip.c return (val >> 1) | (val << 15); val 169 net/ieee80211/ieee80211_crypt_tkip.c return val & 0xff; val 174 net/ieee80211/ieee80211_crypt_tkip.c return val >> 8; val 179 net/ieee80211/ieee80211_crypt_tkip.c return val & 0xffff; val 184 net/ieee80211/ieee80211_crypt_tkip.c return val >> 16; val 246 net/ieee80211/ieee80211_module.c unsigned long val; val 251 net/ieee80211/ieee80211_module.c if (sscanf(buf, "%li", &val) != 1) val 255 net/ieee80211/ieee80211_module.c ieee80211_debug_level = val; val 1343 net/ipv4/devinet.c int val = *valp; val 1346 net/ipv4/devinet.c if (write && *valp != val) { val 1372 net/ipv4/devinet.c int val = *valp; val 1376 net/ipv4/devinet.c if (write && *valp != val) val 200 net/ipv4/fib_semantics.c return (val ^ val 201 net/ipv4/fib_semantics.c (val >> DEVINDEX_HASHBITS) ^ val 202 net/ipv4/fib_semantics.c (val >> (DEVINDEX_HASHBITS * 2))) & mask; val 208 net/ipv4/fib_semantics.c unsigned int val = fi->fib_nhs; val 210 net/ipv4/fib_semantics.c val ^= fi->fib_protocol; val 211 net/ipv4/fib_semantics.c val ^= (__force u32)fi->fib_prefsrc; val 212 net/ipv4/fib_semantics.c val ^= fi->fib_priority; val 214 net/ipv4/fib_semantics.c val ^= fib_devindex_hashfn(nh->nh_oif); val 217 net/ipv4/fib_semantics.c return (val ^ (val >> 7) ^ (val >> 12)) & mask; val 606 net/ipv4/fib_semantics.c return ((__force u32)val ^ ((__force u32)val >> 7) ^ ((__force u32)val >> 14)) & mask; val 2410 net/ipv4/fib_trie.c __be32 val = htonl(l->key); val 2413 net/ipv4/fib_trie.c seq_printf(seq, " |-- " NIPQUAD_FMT "\n", NIPQUAD(val)); val 414 net/ipv4/ip_sockglue.c int val=0,err; val 426 net/ipv4/ip_sockglue.c if (get_user(val, (int __user *) optval)) val 433 net/ipv4/ip_sockglue.c val = (int) ucval; val 477 net/ipv4/ip_sockglue.c if (val) val 483 net/ipv4/ip_sockglue.c if (val) val 489 net/ipv4/ip_sockglue.c if (val) val 495 net/ipv4/ip_sockglue.c if (val) val 501 net/ipv4/ip_sockglue.c if (val) val 507 net/ipv4/ip_sockglue.c if (val) val 514 net/ipv4/ip_sockglue.c val &= ~3; val 515 net/ipv4/ip_sockglue.c val |= inet->tos & 3; val 517 net/ipv4/ip_sockglue.c if (inet->tos != val) { val 518 net/ipv4/ip_sockglue.c inet->tos = val; val 519 net/ipv4/ip_sockglue.c sk->sk_priority = rt_tos2priority(val); val 526 net/ipv4/ip_sockglue.c if (val != -1 && (val < 1 || val>255)) val 528 net/ipv4/ip_sockglue.c inet->uc_ttl = val; val 535 net/ipv4/ip_sockglue.c inet->hdrincl = val ? 1 : 0; val 538 net/ipv4/ip_sockglue.c if (val<0 || val>3) val 540 net/ipv4/ip_sockglue.c inet->pmtudisc = val; val 543 net/ipv4/ip_sockglue.c inet->recverr = !!val; val 544 net/ipv4/ip_sockglue.c if (!val) val 552 net/ipv4/ip_sockglue.c if (val==-1) val 553 net/ipv4/ip_sockglue.c val = 1; val 554 net/ipv4/ip_sockglue.c if (val < 0 || val > 255) val 556 net/ipv4/ip_sockglue.c inet->mc_ttl = val; val 561 net/ipv4/ip_sockglue.c inet->mc_loop = !!val; val 864 net/ipv4/ip_sockglue.c err = ip_ra_control(sk, val ? 1 : 0, NULL); val 870 net/ipv4/ip_sockglue.c inet->freebind = !!val; val 888 net/ipv4/ip_sockglue.c inet->transparent = !!val; val 967 net/ipv4/ip_sockglue.c int val; val 1008 net/ipv4/ip_sockglue.c val = (inet->cmsg_flags & IP_CMSG_PKTINFO) != 0; val 1011 net/ipv4/ip_sockglue.c val = (inet->cmsg_flags & IP_CMSG_TTL) != 0; val 1014 net/ipv4/ip_sockglue.c val = (inet->cmsg_flags & IP_CMSG_TOS) != 0; val 1017 net/ipv4/ip_sockglue.c val = (inet->cmsg_flags & IP_CMSG_RECVOPTS) != 0; val 1020 net/ipv4/ip_sockglue.c val = (inet->cmsg_flags & IP_CMSG_RETOPTS) != 0; val 1023 net/ipv4/ip_sockglue.c val = (inet->cmsg_flags & IP_CMSG_PASSSEC) != 0; val 1026 net/ipv4/ip_sockglue.c val = inet->tos; val 1029 net/ipv4/ip_sockglue.c val = (inet->uc_ttl == -1 ? val 1034 net/ipv4/ip_sockglue.c val = inet->hdrincl; val 1037 net/ipv4/ip_sockglue.c val = inet->pmtudisc; val 1042 net/ipv4/ip_sockglue.c val = 0; val 1045 net/ipv4/ip_sockglue.c val = dst_mtu(dst); val 1048 net/ipv4/ip_sockglue.c if (!val) { val 1055 net/ipv4/ip_sockglue.c val = inet->recverr; val 1058 net/ipv4/ip_sockglue.c val = inet->mc_ttl; val 1061 net/ipv4/ip_sockglue.c val = inet->mc_loop; val 1141 net/ipv4/ip_sockglue.c val = inet->freebind; val 1144 net/ipv4/ip_sockglue.c val = inet->transparent; val 1152 net/ipv4/ip_sockglue.c if (len < sizeof(int) && len > 0 && val>=0 && val<=255) { val 1153 net/ipv4/ip_sockglue.c unsigned char ucval = (unsigned char)val; val 1163 net/ipv4/ip_sockglue.c if (copy_to_user(optval,&val,len)) val 1034 net/ipv4/ipmr.c int val; val 1053 net/ipv4/ipmr.c val=0x0305; val 1056 net/ipv4/ipmr.c val=mroute_do_pim; val 1059 net/ipv4/ipmr.c val=mroute_do_assert; val 1060 net/ipv4/ipmr.c if (copy_to_user(optval,&val,olr)) val 559 net/ipv4/netfilter/ipt_CLUSTERIP.c unsigned long val; /* current value */ val 583 net/ipv4/netfilter/ipt_CLUSTERIP.c idx->val = local_nodes; val 584 net/ipv4/netfilter/ipt_CLUSTERIP.c clear_bit(idx->bit - 1, &idx->val); val 598 net/ipv4/netfilter/ipt_CLUSTERIP.c idx->bit = ffs(idx->val); val 599 net/ipv4/netfilter/ipt_CLUSTERIP.c clear_bit(idx->bit - 1, &idx->val); val 97 net/ipv4/sysctl_net_ipv4.c char val[TCP_CA_NAME_MAX]; val 99 net/ipv4/sysctl_net_ipv4.c .data = val, val 104 net/ipv4/sysctl_net_ipv4.c tcp_get_default_congestion_control(val); val 108 net/ipv4/sysctl_net_ipv4.c ret = tcp_set_default_congestion_control(val); val 117 net/ipv4/sysctl_net_ipv4.c char val[TCP_CA_NAME_MAX]; val 119 net/ipv4/sysctl_net_ipv4.c .data = val, val 124 net/ipv4/sysctl_net_ipv4.c tcp_get_default_congestion_control(val); val 127 net/ipv4/sysctl_net_ipv4.c ret = tcp_set_default_congestion_control(val); val 1992 net/ipv4/tcp.c int val; val 2002 net/ipv4/tcp.c val = strncpy_from_user(name, optval, val 2004 net/ipv4/tcp.c if (val < 0) val 2006 net/ipv4/tcp.c name[val] = 0; val 2017 net/ipv4/tcp.c if (get_user(val, (int __user *)optval)) val 2027 net/ipv4/tcp.c if (val < 8 || val > MAX_TCP_WINDOW) { val 2031 net/ipv4/tcp.c tp->rx_opt.user_mss = val; val 2035 net/ipv4/tcp.c if (val) { val 2063 net/ipv4/tcp.c if (val) { val 2074 net/ipv4/tcp.c if (val < 1 || val > MAX_TCP_KEEPIDLE) val 2077 net/ipv4/tcp.c tp->keepalive_time = val * HZ; val 2091 net/ipv4/tcp.c if (val < 1 || val > MAX_TCP_KEEPINTVL) val 2094 net/ipv4/tcp.c tp->keepalive_intvl = val * HZ; val 2097 net/ipv4/tcp.c if (val < 1 || val > MAX_TCP_KEEPCNT) val 2100 net/ipv4/tcp.c tp->keepalive_probes = val; val 2103 net/ipv4/tcp.c if (val < 1 || val > MAX_TCP_SYNCNT) val 2106 net/ipv4/tcp.c icsk->icsk_syn_retries = val; val 2110 net/ipv4/tcp.c if (val < 0) val 2112 net/ipv4/tcp.c else if (val > sysctl_tcp_fin_timeout / HZ) val 2115 net/ipv4/tcp.c tp->linger2 = val * HZ; val 2120 net/ipv4/tcp.c if (val > 0) { val 2124 net/ipv4/tcp.c val > ((TCP_TIMEOUT_INIT / HZ) << val 2132 net/ipv4/tcp.c if (!val) { val 2139 net/ipv4/tcp.c tp->window_clamp = val < SOCK_MIN_RCVBUF / 2 ? val 2140 net/ipv4/tcp.c SOCK_MIN_RCVBUF / 2 : val; val 2144 net/ipv4/tcp.c if (!val) { val 2153 net/ipv4/tcp.c if (!(val & 1)) val 2269 net/ipv4/tcp.c int val, len; val 2281 net/ipv4/tcp.c val = tp->mss_cache; val 2282 net/ipv4/tcp.c if (!val && ((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_LISTEN))) val 2283 net/ipv4/tcp.c val = tp->rx_opt.user_mss; val 2286 net/ipv4/tcp.c val = !!(tp->nonagle&TCP_NAGLE_OFF); val 2289 net/ipv4/tcp.c val = !!(tp->nonagle&TCP_NAGLE_CORK); val 2292 net/ipv4/tcp.c val = (tp->keepalive_time ? : sysctl_tcp_keepalive_time) / HZ; val 2295 net/ipv4/tcp.c val = (tp->keepalive_intvl ? : sysctl_tcp_keepalive_intvl) / HZ; val 2298 net/ipv4/tcp.c val = tp->keepalive_probes ? : sysctl_tcp_keepalive_probes; val 2301 net/ipv4/tcp.c val = icsk->icsk_syn_retries ? : sysctl_tcp_syn_retries; val 2304 net/ipv4/tcp.c val = tp->linger2; val 2305 net/ipv4/tcp.c if (val >= 0) val 2306 net/ipv4/tcp.c val = (val ? : sysctl_tcp_fin_timeout) / HZ; val 2309 net/ipv4/tcp.c val = !icsk->icsk_accept_queue.rskq_defer_accept ? 0 : val 2313 net/ipv4/tcp.c val = tp->window_clamp; val 2331 net/ipv4/tcp.c val = !icsk->icsk_ack.pingpong; val 2349 net/ipv4/tcp.c if (copy_to_user(optval, &val, len)) val 201 net/ipv4/tcp_cong.c clone = kstrdup(val, GFP_USER); val 220 net/ipv4/tcp_cong.c while ((name = strsep(&val, " ")) && *name) { val 453 net/ipv4/tcp_timer.c if (val && !sock_flag(sk, SOCK_KEEPOPEN)) val 455 net/ipv4/tcp_timer.c else if (!val) val 1267 net/ipv4/udp.c int val; val 1274 net/ipv4/udp.c if (get_user(val, (int __user *)optval)) val 1279 net/ipv4/udp.c if (val != 0) { val 1290 net/ipv4/udp.c switch (val) { val 1297 net/ipv4/udp.c up->encap_type = val; val 1313 net/ipv4/udp.c if (val != 0 && val < 8) /* Illegal coverage: use default (8) */ val 1314 net/ipv4/udp.c val = 8; val 1315 net/ipv4/udp.c else if (val > USHORT_MAX) val 1316 net/ipv4/udp.c val = USHORT_MAX; val 1317 net/ipv4/udp.c up->pcslen = val; val 1327 net/ipv4/udp.c if (val != 0 && val < 8) /* Avoid silly minimal values. */ val 1328 net/ipv4/udp.c val = 8; val 1329 net/ipv4/udp.c else if (val > USHORT_MAX) val 1330 net/ipv4/udp.c val = USHORT_MAX; val 1331 net/ipv4/udp.c up->pcrlen = val; val 1367 net/ipv4/udp.c int val, len; val 1379 net/ipv4/udp.c val = up->corkflag; val 1383 net/ipv4/udp.c val = up->encap_type; val 1389 net/ipv4/udp.c val = up->pcslen; val 1393 net/ipv4/udp.c val = up->pcrlen; val 1402 net/ipv4/udp.c if (copy_to_user(optval, &val,len)) val 3974 net/ipv6/addrconf.c int val = *valp; val 3980 net/ipv6/addrconf.c addrconf_fixup_forwarding(ctl, valp, val); val 3991 net/ipv6/addrconf.c int val = *valp; val 4017 net/ipv6/addrconf.c addrconf_fixup_forwarding(table, valp, val); val 1296 net/ipv6/ip6mr.c int val; val 1300 net/ipv6/ip6mr.c val = 0x0305; val 1304 net/ipv6/ip6mr.c val = mroute_do_pim; val 1308 net/ipv6/ip6mr.c val = mroute_do_assert; val 1323 net/ipv6/ip6mr.c if (copy_to_user(optval, &val, olr)) val 130 net/ipv6/ipv6_sockglue.c int val, valbool; val 134 net/ipv6/ipv6_sockglue.c val=0; val 137 net/ipv6/ipv6_sockglue.c if (get_user(val, (int __user *) optval)) val 140 net/ipv6/ipv6_sockglue.c val = 0; val 143 net/ipv6/ipv6_sockglue.c valbool = (val!=0); val 155 net/ipv6/ipv6_sockglue.c if (val == PF_INET) { val 317 net/ipv6/ipv6_sockglue.c if (val < -1 || val > 0xff) val 319 net/ipv6/ipv6_sockglue.c np->tclass = val; val 441 net/ipv6/ipv6_sockglue.c if (val > 255 || val < -1) val 443 net/ipv6/ipv6_sockglue.c np->hop_limit = val; val 452 net/ipv6/ipv6_sockglue.c if (val > 255 || val < -1) val 454 net/ipv6/ipv6_sockglue.c np->mcast_hops = val; val 461 net/ipv6/ipv6_sockglue.c if (val != valbool) val 473 net/ipv6/ipv6_sockglue.c if (val) { val 474 net/ipv6/ipv6_sockglue.c if (sk->sk_bound_dev_if && sk->sk_bound_dev_if != val) val 477 net/ipv6/ipv6_sockglue.c if (__dev_get_by_index(net, val) == NULL) { val 482 net/ipv6/ipv6_sockglue.c np->mcast_oif = val; val 634 net/ipv6/ipv6_sockglue.c retv = ip6_ra_control(sk, val); val 639 net/ipv6/ipv6_sockglue.c if (val<0 || val>3) val 641 net/ipv6/ipv6_sockglue.c np->pmtudisc = val; val 647 net/ipv6/ipv6_sockglue.c if (val && val < IPV6_MIN_MTU) val 649 net/ipv6/ipv6_sockglue.c np->frag_size = val; val 656 net/ipv6/ipv6_sockglue.c if (!val) val 688 net/ipv6/ipv6_sockglue.c switch (val & (IPV6_PREFER_SRC_PUBLIC| val 710 net/ipv6/ipv6_sockglue.c switch (val & (IPV6_PREFER_SRC_HOME|IPV6_PREFER_SRC_COA)) { val 725 net/ipv6/ipv6_sockglue.c switch (val & (IPV6_PREFER_SRC_CGA|IPV6_PREFER_SRC_NONCGA)) { val 853 net/ipv6/ipv6_sockglue.c int val; val 868 net/ipv6/ipv6_sockglue.c val = sk->sk_family; val 939 net/ipv6/ipv6_sockglue.c val = 0; val 943 net/ipv6/ipv6_sockglue.c val = dst_mtu(dst); val 947 net/ipv6/ipv6_sockglue.c if (!val) val 953 net/ipv6/ipv6_sockglue.c val = np->ipv6only; val 957 net/ipv6/ipv6_sockglue.c val = np->rxopt.bits.rxinfo; val 961 net/ipv6/ipv6_sockglue.c val = np->rxopt.bits.rxoinfo; val 965 net/ipv6/ipv6_sockglue.c val = np->rxopt.bits.rxhlim; val 969 net/ipv6/ipv6_sockglue.c val = np->rxopt.bits.rxohlim; val 973 net/ipv6/ipv6_sockglue.c val = np->rxopt.bits.srcrt; val 977 net/ipv6/ipv6_sockglue.c val = np->rxopt.bits.osrcrt; val 997 net/ipv6/ipv6_sockglue.c val = np->rxopt.bits.hopopts; val 1001 net/ipv6/ipv6_sockglue.c val = np->rxopt.bits.ohopopts; val 1005 net/ipv6/ipv6_sockglue.c val = np->rxopt.bits.dstopts; val 1009 net/ipv6/ipv6_sockglue.c val = np->rxopt.bits.odstopts; val 1013 net/ipv6/ipv6_sockglue.c val = np->tclass; val 1014 net/ipv6/ipv6_sockglue.c if (val < 0) val 1015 net/ipv6/ipv6_sockglue.c val = 0; val 1019 net/ipv6/ipv6_sockglue.c val = np->rxopt.bits.rxtclass; val 1023 net/ipv6/ipv6_sockglue.c val = np->rxopt.bits.rxflow; val 1032 net/ipv6/ipv6_sockglue.c val = np->hop_limit; val 1034 net/ipv6/ipv6_sockglue.c val = np->mcast_hops; val 1038 net/ipv6/ipv6_sockglue.c if (val < 0) val 1039 net/ipv6/ipv6_sockglue.c val = ip6_dst_hoplimit(dst); val 1042 net/ipv6/ipv6_sockglue.c if (val < 0) val 1043 net/ipv6/ipv6_sockglue.c val = sock_net(sk)->ipv6.devconf_all->hop_limit; val 1048 net/ipv6/ipv6_sockglue.c val = np->mc_loop; val 1052 net/ipv6/ipv6_sockglue.c val = np->mcast_oif; val 1056 net/ipv6/ipv6_sockglue.c val = np->pmtudisc; val 1060 net/ipv6/ipv6_sockglue.c val = np->recverr; val 1064 net/ipv6/ipv6_sockglue.c val = np->sndflow; val 1068 net/ipv6/ipv6_sockglue.c val = 0; val 1071 net/ipv6/ipv6_sockglue.c val |= IPV6_PREFER_SRC_TMP; val 1073 net/ipv6/ipv6_sockglue.c val |= IPV6_PREFER_SRC_PUBLIC; val 1076 net/ipv6/ipv6_sockglue.c val |= IPV6_PREFER_SRC_PUBTMP_DEFAULT; val 1080 net/ipv6/ipv6_sockglue.c val |= IPV6_PREFER_SRC_COA; val 1082 net/ipv6/ipv6_sockglue.c val |= IPV6_PREFER_SRC_HOME; val 1091 net/ipv6/ipv6_sockglue.c if(copy_to_user(optval,&val,len)) val 155 net/ipv6/proc.c unsigned long val; val 157 net/ipv6/proc.c val = snmp_fold_field(mib, i); val 158 net/ipv6/proc.c if (!val) val 162 net/ipv6/proc.c seq_printf(seq, "%-32s\t%lu\n", name, val); val 963 net/ipv6/raw.c int val; val 965 net/ipv6/raw.c if (get_user(val, (int __user *)optval)) val 985 net/ipv6/raw.c if (val > 0 && (val&1)) val 987 net/ipv6/raw.c if (val < 0) { val 991 net/ipv6/raw.c rp->offset = val; val 1051 net/ipv6/raw.c int val, len; val 1064 net/ipv6/raw.c val = -1; val 1066 net/ipv6/raw.c val = rp->offset; val 1077 net/ipv6/raw.c if (copy_to_user(optval,&val,len)) val 107 net/ipx/af_ipx.c ipxcfg_auto_select_primary = val; val 108 net/ipx/af_ipx.c if (val && !ipx_primary_net) val 1147 net/ipx/af_ipx.c int val; val 1206 net/ipx/af_ipx.c if (get_user(val, (unsigned char __user *) arg)) val 1209 net/ipx/af_ipx.c ipxcfg_auto_create_interfaces = val; val 1213 net/ipx/af_ipx.c if (get_user(val, (unsigned char __user *) arg)) val 1216 net/ipx/af_ipx.c ipxcfg_set_auto_select(val); val 1321 net/ipx/af_ipx.c int val = 0; val 1328 net/ipx/af_ipx.c val = ipx_sk(sk)->type; val 1340 net/ipx/af_ipx.c if (put_user(len, optlen) || copy_to_user(optval, &val, len)) val 2149 net/irda/af_irda.c int val = 0; val 2207 net/irda/af_irda.c val = self->max_data_size; val 2212 net/irda/af_irda.c if (copy_to_user(optval, &val, len)) val 2396 net/irda/af_irda.c if (get_user(val, (int __user *)optval)) val 2417 net/irda/af_irda.c self->watchdog.expires = jiffies + (val * HZ/1000); val 642 net/irda/irnet/irnet_ppp.c int val; val 660 net/irda/irnet/irnet_ppp.c if(get_user(val, (int __user *)argp)) val 662 net/irda/irnet/irnet_ppp.c if((val == N_SYNC_PPP) || (val == N_PPP)) val 792 net/irda/irnet/irnet_ppp.c val = 0; val 793 net/irda/irnet/irnet_ppp.c if(put_user(val, (int __user *)argp)) val 998 net/irda/irnet/irnet_ppp.c int val; val 1013 net/irda/irnet/irnet_ppp.c val = ap->flags | ap->rbits; val 1014 net/irda/irnet/irnet_ppp.c if(put_user(val, (int __user *) argp)) val 1019 net/irda/irnet/irnet_ppp.c if(get_user(val, (int __user *) argp)) val 1021 net/irda/irnet/irnet_ppp.c ap->flags = val & ~SC_RCV_BITS; val 1022 net/irda/irnet/irnet_ppp.c ap->rbits = val & SC_RCV_BITS; val 1068 net/irda/irnet/irnet_ppp.c if(get_user(val, (int __user *) argp)) val 1070 net/irda/irnet/irnet_ppp.c if(val < PPP_MRU) val 1071 net/irda/irnet/irnet_ppp.c val = PPP_MRU; val 1072 net/irda/irnet/irnet_ppp.c ap->mru = val; val 83 net/irda/irsysctl.c struct ias_value *val; val 85 net/irda/irsysctl.c val = irias_new_string_value(sysctl_devname); val 86 net/irda/irsysctl.c if (val) val 87 net/irda/irsysctl.c irias_object_change_attribute("Device", "DeviceName", val); val 1055 net/llc/af_llc.c int val = 0, len = 0, rc = -EINVAL; val 1068 net/llc/af_llc.c val = llc->n2; break; val 1070 net/llc/af_llc.c val = llc->n1; break; val 1072 net/llc/af_llc.c val = llc->ack_timer.expire / HZ; break; val 1074 net/llc/af_llc.c val = llc->pf_cycle_timer.expire / HZ; break; val 1076 net/llc/af_llc.c val = llc->rej_sent_timer.expire / HZ; break; val 1078 net/llc/af_llc.c val = llc->busy_state_timer.expire / HZ; break; val 1080 net/llc/af_llc.c val = llc->k; break; val 1082 net/llc/af_llc.c val = llc->rw; break; val 1088 net/llc/af_llc.c if (put_user(len, optlen) || copy_to_user(optval, &val, len)) val 18 net/mac80211/michael.c mctx->l ^= val; val 59 net/mac80211/michael.c u32 val; val 74 net/mac80211/michael.c val = 0x5a; val 76 net/mac80211/michael.c val <<= 8; val 78 net/mac80211/michael.c val |= data[blocks * 4 + left]; val 81 net/mac80211/michael.c michael_block(&mctx, val); val 64 net/mac80211/tkip.c return tkip_sbox[val & 0xff] ^ swab16(tkip_sbox[val >> 8]); val 1514 net/netfilter/ipvs/ip_vs_ctl.c int val = *valp; val 1518 net/netfilter/ipvs/ip_vs_ctl.c if (write && (*valp != val)) { val 1521 net/netfilter/ipvs/ip_vs_ctl.c *valp = val; val 1535 net/netfilter/ipvs/ip_vs_ctl.c int val[2]; val 1539 net/netfilter/ipvs/ip_vs_ctl.c memcpy(val, valp, sizeof(val)); val 1544 net/netfilter/ipvs/ip_vs_ctl.c memcpy(valp, val, sizeof(val)); val 1096 net/netfilter/nf_conntrack_core.c return param_set_uint(val, kp); val 1098 net/netfilter/nf_conntrack_core.c hashsize = simple_strtoul(val, NULL, 0); val 565 net/netfilter/nf_conntrack_sip.c *val = simple_strtoul(start, &end, 0); val 77 net/netfilter/nf_sockopt.c if (val >= ops->get_optmin && val 78 net/netfilter/nf_sockopt.c val < ops->get_optmax) val 81 net/netfilter/nf_sockopt.c if (val >= ops->set_optmin && val 82 net/netfilter/nf_sockopt.c val < ops->set_optmax) val 102 net/netfilter/nf_sockopt.c ops = nf_sockopt_find(sk, pf, val, get); val 107 net/netfilter/nf_sockopt.c ret = ops->get(sk, val, opt, len); val 109 net/netfilter/nf_sockopt.c ret = ops->set(sk, val, opt, *len); val 118 net/netfilter/nf_sockopt.c return nf_sockopt(sk, pf, val, opt, &len, 0); val 125 net/netfilter/nf_sockopt.c return nf_sockopt(sk, pf, val, opt, len, 1); val 136 net/netfilter/nf_sockopt.c ops = nf_sockopt_find(sk, pf, val, get); val 142 net/netfilter/nf_sockopt.c ret = ops->compat_get(sk, val, opt, len); val 144 net/netfilter/nf_sockopt.c ret = ops->get(sk, val, opt, len); val 147 net/netfilter/nf_sockopt.c ret = ops->compat_set(sk, val, opt, *len); val 149 net/netfilter/nf_sockopt.c ret = ops->set(sk, val, opt, *len); val 159 net/netfilter/nf_sockopt.c return compat_nf_sockopt(sk, pf, val, opt, &len, 0); val 166 net/netfilter/nf_sockopt.c return compat_nf_sockopt(sk, pf, val, opt, len, 1); val 27 net/netfilter/xt_u32.c u_int32_t val; val 44 net/netfilter/xt_u32.c val = ntohl(n); val 52 net/netfilter/xt_u32.c val &= number; val 55 net/netfilter/xt_u32.c val <<= number; val 58 net/netfilter/xt_u32.c val >>= number; val 61 net/netfilter/xt_u32.c if (at + val < at) val 63 net/netfilter/xt_u32.c at += val; val 72 net/netfilter/xt_u32.c val = ntohl(n); val 80 net/netfilter/xt_u32.c if (ct->value[i].min <= val && val <= ct->value[i].max) val 115 net/netlabel/netlabel_domainhash.c u32 val; val 121 net/netlabel/netlabel_domainhash.c for (iter = 0, val = 0, len = strlen(key); iter < len; iter++) val 122 net/netlabel/netlabel_domainhash.c val = (val << 4 | (val >> (8 * sizeof(u32) - 4))) ^ key[iter]; val 123 net/netlabel/netlabel_domainhash.c return val & (rcu_dereference(netlbl_domhsh)->size - 1); val 956 net/netlink/af_netlink.c int val; val 993 net/netlink/af_netlink.c } else if ((val = netlink_broadcast_deliver(sk, p->skb2)) < 0) { val 996 net/netlink/af_netlink.c p->congested |= val; val 1121 net/netlink/af_netlink.c unsigned int val = 0; val 1128 net/netlink/af_netlink.c get_user(val, (unsigned int __user *)optval)) val 1133 net/netlink/af_netlink.c if (val) val 1146 net/netlink/af_netlink.c if (!val || val - 1 >= nlk->ngroups) val 1149 net/netlink/af_netlink.c netlink_update_socket_mc(nlk, val, val 1166 net/netlink/af_netlink.c int len, val, err; val 1181 net/netlink/af_netlink.c val = nlk->flags & NETLINK_RECV_PKTINFO ? 1 : 0; val 1183 net/netlink/af_netlink.c put_user(val, optval)) val 361 net/netrom/af_netrom.c int val = 0; val 375 net/netrom/af_netrom.c val = nr->t1 / HZ; val 379 net/netrom/af_netrom.c val = nr->t2 / HZ; val 383 net/netrom/af_netrom.c val = nr->n2; val 387 net/netrom/af_netrom.c val = nr->t4 / HZ; val 391 net/netrom/af_netrom.c val = nr->idle / (60 * HZ); val 403 net/netrom/af_netrom.c return copy_to_user(optval, &val, len) ? -EFAULT : 0; val 1425 net/packet/af_packet.c int val; val 1427 net/packet/af_packet.c if (optlen!=sizeof(val)) val 1429 net/packet/af_packet.c if (copy_from_user(&val,optval,sizeof(val))) val 1432 net/packet/af_packet.c pkt_sk(sk)->copy_thresh = val; val 1437 net/packet/af_packet.c int val; val 1439 net/packet/af_packet.c if (optlen != sizeof(val)) val 1443 net/packet/af_packet.c if (copy_from_user(&val, optval, sizeof(val))) val 1445 net/packet/af_packet.c switch (val) { val 1448 net/packet/af_packet.c po->tp_version = val; val 1456 net/packet/af_packet.c unsigned int val; val 1458 net/packet/af_packet.c if (optlen != sizeof(val)) val 1462 net/packet/af_packet.c if (copy_from_user(&val, optval, sizeof(val))) val 1464 net/packet/af_packet.c po->tp_reserve = val; val 1470 net/packet/af_packet.c int val; val 1472 net/packet/af_packet.c if (optlen < sizeof(val)) val 1474 net/packet/af_packet.c if (copy_from_user(&val, optval, sizeof(val))) val 1477 net/packet/af_packet.c po->auxdata = !!val; val 1482 net/packet/af_packet.c int val; val 1484 net/packet/af_packet.c if (optlen < sizeof(val)) val 1486 net/packet/af_packet.c if (copy_from_user(&val, optval, sizeof(val))) val 1489 net/packet/af_packet.c po->origdev = !!val; val 1501 net/packet/af_packet.c int val; val 1531 net/packet/af_packet.c val = po->auxdata; val 1533 net/packet/af_packet.c data = &val; val 1538 net/packet/af_packet.c val = po->origdev; val 1540 net/packet/af_packet.c data = &val; val 1546 net/packet/af_packet.c val = po->tp_version; val 1547 net/packet/af_packet.c data = &val; val 1552 net/packet/af_packet.c if (copy_from_user(&val, optval, len)) val 1554 net/packet/af_packet.c switch (val) { val 1556 net/packet/af_packet.c val = sizeof(struct tpacket_hdr); val 1559 net/packet/af_packet.c val = sizeof(struct tpacket2_hdr); val 1564 net/packet/af_packet.c data = &val; val 1569 net/packet/af_packet.c val = po->tp_reserve; val 1570 net/packet/af_packet.c data = &val; val 744 net/phonet/pep.c int val = 0, err = 0; val 749 net/phonet/pep.c if (get_user(val, (int __user *) optval)) val 756 net/phonet/pep.c if (val && val != PNPIPE_ENCAP_IP) { val 760 net/phonet/pep.c if (!pn->ifindex == !val) val 766 net/phonet/pep.c if (val) { val 793 net/phonet/pep.c int len, val; val 802 net/phonet/pep.c val = pn->ifindex ? PNPIPE_ENCAP_IP : PNPIPE_ENCAP_NONE; val 805 net/phonet/pep.c val = pn->ifindex; val 814 net/phonet/pep.c if (put_user(val, (int __user *) optval)) val 440 net/rose/af_rose.c int val = 0; val 454 net/rose/af_rose.c val = rose->defer; val 458 net/rose/af_rose.c val = rose->t1 / HZ; val 462 net/rose/af_rose.c val = rose->t2 / HZ; val 466 net/rose/af_rose.c val = rose->t3 / HZ; val 470 net/rose/af_rose.c val = rose->hb / HZ; val 474 net/rose/af_rose.c val = rose->idle / (60 * HZ); val 478 net/rose/af_rose.c val = rose->qbitincl; val 490 net/rose/af_rose.c return copy_to_user(optval, &val, len) ? -EFAULT : 0; val 179 net/sched/act_api.c u32 val = *idx_gen; val 182 net/sched/act_api.c if (++val == 0) val 183 net/sched/act_api.c val = 1; val 184 net/sched/act_api.c } while (tcf_hash_lookup(val, hinfo)); val 186 net/sched/act_api.c return (*idx_gen = val); val 171 net/sched/act_pedit.c *ptr = ((*ptr & tkey->mask) ^ tkey->val); val 127 net/sched/cls_u32.c if ((skb->mark & n->mark.mask) != n->mark.val) { val 137 net/sched/cls_u32.c if ((*(__be32*)(ptr+key->off+(off2&key->offmask))^key->val)&key->mask) { val 722 net/sched/cls_u32.c if (n->mark.val || n->mark.mask) val 30 net/sched/em_cmp.c u32 val = 0; val 37 net/sched/em_cmp.c val = *ptr; val 41 net/sched/em_cmp.c val = get_unaligned_be16(ptr); val 44 net/sched/em_cmp.c val = be16_to_cpu(val); val 50 net/sched/em_cmp.c val = get_unaligned_be32(ptr); val 53 net/sched/em_cmp.c val = be32_to_cpu(val); val 61 net/sched/em_cmp.c val &= cmp->mask; val 65 net/sched/em_cmp.c return val == cmp->val; val 67 net/sched/em_cmp.c return val < cmp->val; val 69 net/sched/em_cmp.c return val > cmp->val; val 84 net/sched/em_meta.c unsigned long val; val 545 net/sched/em_meta.c return &__meta_ops[meta_type(val)][meta_id(val)]; val 566 net/sched/em_meta.c dst->val = (unsigned long)kmemdup(nla_data(nla), len, GFP_KERNEL); val 567 net/sched/em_meta.c if (dst->val == 0UL) val 575 net/sched/em_meta.c kfree((void *) v->val); val 589 net/sched/em_meta.c if (v->val && v->len) val 590 net/sched/em_meta.c NLA_PUT(skb, tlv, v->len, (void *) v->val); val 617 net/sched/em_meta.c dst->val = *(unsigned long *) nla_data(nla); val 620 net/sched/em_meta.c dst->val = nla_get_u32(nla); val 634 net/sched/em_meta.c if (v->val) val 635 net/sched/em_meta.c dst->value &= v->val; val 641 net/sched/em_meta.c NLA_PUT(skb, tlv, sizeof(unsigned long), &v->val); val 643 net/sched/em_meta.c NLA_PUT_U32(skb, tlv, v->val); val 696 net/sched/em_meta.c dst->value = v->val; val 764 net/sched/em_meta.c return (!meta_id(val) || meta_ops(val)->get); val 38 net/sched/em_u32.c return !(((*(__be32*) ptr) ^ key->val) & key->mask); val 662 net/sched/sch_generic.c int val; val 670 net/sched/sch_generic.c val = (test_bit(__QDISC_STATE_RUNNING, &q->state) || val 675 net/sched/sch_generic.c if (val) val 87 net/sctp/input.c __be32 val = sctp_start_cksum((__u8 *)sh, skb_headlen(skb)); val 90 net/sctp/input.c val = sctp_update_cksum((__u8 *)list->data, skb_headlen(list), val 91 net/sctp/input.c val); val 93 net/sctp/input.c val = sctp_end_cksum(val); val 95 net/sctp/input.c if (val != cmp) { val 1992 net/sctp/socket.c int val; val 1997 net/sctp/socket.c if (get_user(val, (int __user *)optval)) val 2000 net/sctp/socket.c sctp_sk(sk)->disable_fragments = (val == 0) ? 0 : 1; val 2616 net/sctp/socket.c int val; val 2620 net/sctp/socket.c if (get_user(val, (int __user *)optval)) val 2623 net/sctp/socket.c sctp_sk(sk)->nodelay = (val == 0) ? 0 : 1; val 2765 net/sctp/socket.c int val; val 2770 net/sctp/socket.c if (get_user(val, (int __user *)optval)) val 2772 net/sctp/socket.c if (val) val 2794 net/sctp/socket.c int val; val 2798 net/sctp/socket.c if (get_user(val, (int __user *)optval)) val 2800 net/sctp/socket.c if ((val != 0) && ((val < 8) || (val > SCTP_MAX_CHUNK_LEN))) val 2802 net/sctp/socket.c sp->user_frag = val; val 2955 net/sctp/socket.c int val; val 2959 net/sctp/socket.c if (get_user(val, (int __user *)optval)) val 2962 net/sctp/socket.c sctp_sk(sk)->frag_interleave = (val == 0) ? 0 : 1; val 2981 net/sctp/socket.c u32 val; val 2985 net/sctp/socket.c if (get_user(val, (int __user *)optval)) val 2988 net/sctp/socket.c sctp_sk(sk)->pd_point = val; val 3011 net/sctp/socket.c int val; val 3022 net/sctp/socket.c if (copy_from_user(&val, optval, optlen)) val 3027 net/sctp/socket.c val = params.assoc_value; val 3038 net/sctp/socket.c asoc->max_burst = val; val 3040 net/sctp/socket.c sp->max_burst = val; val 3056 net/sctp/socket.c struct sctp_authchunk val; val 3063 net/sctp/socket.c if (copy_from_user(&val, optval, optlen)) val 3066 net/sctp/socket.c switch (val.sauth_chunk) { val 3075 net/sctp/socket.c return sctp_auth_ep_add_chunkid(sctp_sk(sk)->ep, val.sauth_chunk); val 3176 net/sctp/socket.c struct sctp_authkeyid val; val 3184 net/sctp/socket.c if (copy_from_user(&val, optval, optlen)) val 3187 net/sctp/socket.c asoc = sctp_id2assoc(sk, val.scact_assoc_id); val 3188 net/sctp/socket.c if (!asoc && val.scact_assoc_id && sctp_style(sk, UDP)) val 3192 net/sctp/socket.c val.scact_keynumber); val 3204 net/sctp/socket.c struct sctp_authkeyid val; val 3212 net/sctp/socket.c if (copy_from_user(&val, optval, optlen)) val 3215 net/sctp/socket.c asoc = sctp_id2assoc(sk, val.scact_assoc_id); val 3216 net/sctp/socket.c if (!asoc && val.scact_assoc_id && sctp_style(sk, UDP)) val 3220 net/sctp/socket.c val.scact_keynumber); val 3812 net/sctp/socket.c int val; val 3818 net/sctp/socket.c val = (sctp_sk(sk)->disable_fragments == 1); val 3821 net/sctp/socket.c if (copy_to_user(optval, &val, len)) val 4887 net/sctp/socket.c int val; val 4893 net/sctp/socket.c val = (sctp_sk(sk)->nodelay == 1); val 4896 net/sctp/socket.c if (copy_to_user(optval, &val, len)) val 5040 net/sctp/socket.c int val; val 5047 net/sctp/socket.c val = sp->v4mapped; val 5050 net/sctp/socket.c if (copy_to_user(optval, &val, len)) val 5107 net/sctp/socket.c int val; val 5114 net/sctp/socket.c val = sctp_sk(sk)->user_frag; val 5117 net/sctp/socket.c if (copy_to_user(optval, &val, len)) val 5130 net/sctp/socket.c int val; val 5137 net/sctp/socket.c val = sctp_sk(sk)->frag_interleave; val 5140 net/sctp/socket.c if (copy_to_user(optval, &val, len)) val 5154 net/sctp/socket.c u32 val; val 5161 net/sctp/socket.c val = sctp_sk(sk)->pd_point; val 5164 net/sctp/socket.c if (copy_to_user(optval, &val, len)) val 5251 net/sctp/socket.c struct sctp_authkeyid val; val 5259 net/sctp/socket.c if (copy_from_user(&val, optval, sizeof(struct sctp_authkeyid))) val 5262 net/sctp/socket.c asoc = sctp_id2assoc(sk, val.scact_assoc_id); val 5263 net/sctp/socket.c if (!asoc && val.scact_assoc_id && sctp_style(sk, UDP)) val 5267 net/sctp/socket.c val.scact_keynumber = asoc->active_key_id; val 5269 net/sctp/socket.c val.scact_keynumber = sctp_sk(sk)->ep->active_key_id; val 5274 net/sctp/socket.c if (copy_to_user(optval, &val, len)) val 5284 net/sctp/socket.c struct sctp_authchunks val; val 5296 net/sctp/socket.c if (copy_from_user(&val, optval, sizeof(struct sctp_authchunks))) val 5300 net/sctp/socket.c asoc = sctp_id2assoc(sk, val.gauth_assoc_id); val 5327 net/sctp/socket.c struct sctp_authchunks val; val 5339 net/sctp/socket.c if (copy_from_user(&val, optval, sizeof(struct sctp_authchunks))) val 5343 net/sctp/socket.c asoc = sctp_id2assoc(sk, val.gauth_assoc_id); val 5344 net/sctp/socket.c if (!asoc && val.gauth_assoc_id && sctp_style(sk, UDP)) val 678 net/sunrpc/rpcb_clnt.c int c, i, f, first, val; val 696 net/sunrpc/rpcb_clnt.c val = 0; val 702 net/sunrpc/rpcb_clnt.c val += (c - '0') * f; val 706 net/sunrpc/rpcb_clnt.c *portp = val; val 707 net/sunrpc/rpcb_clnt.c val = first = 0; val 710 net/sunrpc/rpcb_clnt.c *portp |= (val << 8); val 79 net/sunrpc/svc.c if (!strncmp(val, "auto", 4)) val 81 net/sunrpc/svc.c else if (!strncmp(val, "global", 6)) val 83 net/sunrpc/svc.c else if (!strncmp(val, "percpu", 6)) val 85 net/sunrpc/svc.c else if (!strncmp(val, "pernode", 7)) val 1117 net/sunrpc/svcsock.c int val; val 1157 net/sunrpc/svcsock.c val = 0; val 1160 net/sunrpc/svcsock.c (char *)&val, sizeof(val)); val 216 net/tipc/core.h if (val > max) val 218 net/tipc/core.h if (val < min) val 220 net/tipc/core.h return val; val 66 net/tipc/msg.h m->hdr[w] = htonl(val); val 72 net/tipc/msg.h val = (val & mask) << pos; val 75 net/tipc/msg.h m->hdr[w] |= htonl(val); val 560 net/tipc/msg.h msg_set_bits(m, 5, 0, 1, (val & 1)); val 426 net/x25/af_x25.c int val, len, rc = -ENOPROTOOPT; val 445 net/x25/af_x25.c val = x25_sk(sk)->qbitincl; val 446 net/x25/af_x25.c rc = copy_to_user(optval, &val, len) ? -EFAULT : 0; val 135 scripts/kconfig/confdata.c sym->def[def].val = strdup(p); val 202 scripts/kconfig/confdata.c if (sym->def[def].val) val 203 scripts/kconfig/confdata.c free(sym->def[def].val); val 205 scripts/kconfig/confdata.c sym->def[def].val = NULL; val 300 scripts/kconfig/confdata.c cs->def[def].val = sym; val 339 scripts/kconfig/confdata.c if (!strcmp(sym->curr.val, sym->def[S_DEF_USER].val)) val 376 scripts/kconfig/confdata.c if (sym_string_within_range(sym, sym->def[S_DEF_USER].val)) val 594 scripts/kconfig/confdata.c sym->def[S_DEF_AUTO].val)) val 874 scripts/kconfig/confdata.c csym->def[S_DEF_USER].val = sym; val 60 scripts/kconfig/expr.h void *val; val 86 scripts/kconfig/gconf.c if (val == S_UNKNOWN) val 88 scripts/kconfig/gconf.c if (val == S_BOOLEAN) val 90 scripts/kconfig/gconf.c if (val == S_TRISTATE) val 92 scripts/kconfig/gconf.c if (val == S_INT) val 94 scripts/kconfig/gconf.c if (val == S_HEX) val 96 scripts/kconfig/gconf.c if (val == S_STRING) val 98 scripts/kconfig/gconf.c if (val == S_OTHER) val 114 scripts/kconfig/gconf.c if (val & SYMBOL_CONST) val 116 scripts/kconfig/gconf.c if (val & SYMBOL_CHECK) val 118 scripts/kconfig/gconf.c if (val & SYMBOL_CHOICE) val 120 scripts/kconfig/gconf.c if (val & SYMBOL_CHOICEVAL) val 122 scripts/kconfig/gconf.c if (val & SYMBOL_VALID) val 124 scripts/kconfig/gconf.c if (val & SYMBOL_OPTIONAL) val 126 scripts/kconfig/gconf.c if (val & SYMBOL_WRITE) val 128 scripts/kconfig/gconf.c if (val & SYMBOL_CHANGED) val 130 scripts/kconfig/gconf.c if (val & SYMBOL_AUTO) val 147 scripts/kconfig/gconf.c if (val == P_UNKNOWN) val 149 scripts/kconfig/gconf.c if (val == P_PROMPT) val 151 scripts/kconfig/gconf.c if (val == P_COMMENT) val 153 scripts/kconfig/gconf.c if (val == P_MENU) val 155 scripts/kconfig/gconf.c if (val == P_DEFAULT) val 157 scripts/kconfig/gconf.c if (val == P_CHOICE) val 1167 scripts/kconfig/gconf.c tristate val; val 1239 scripts/kconfig/gconf.c val = sym_get_tristate_value(sym); val 1240 scripts/kconfig/gconf.c switch (val) { val 1260 scripts/kconfig/gconf.c if (val != no && sym_tristate_within_range(sym, no)) val 1262 scripts/kconfig/gconf.c if (val != mod && sym_tristate_within_range(sym, mod)) val 1264 scripts/kconfig/gconf.c if (val != yes && sym_tristate_within_range(sym, yes)) val 136 scripts/kconfig/lkc.h return (struct symbol *)sym->curr.val; val 590 scripts/kconfig/lxdialog/util.c item_cur->node.selected = val; val 422 scripts/kconfig/mconf.c tristate val; val 481 scripts/kconfig/mconf.c val = sym_get_tristate_value(sym); val 485 scripts/kconfig/mconf.c item_make("[%c]", val == no ? ' ' : '*'); val 488 scripts/kconfig/mconf.c switch (val) { val 505 scripts/kconfig/mconf.c if (val == yes) { val 525 scripts/kconfig/mconf.c val = sym_get_tristate_value(sym); val 526 scripts/kconfig/mconf.c if (sym_is_choice_value(sym) && val == yes) { val 534 scripts/kconfig/mconf.c item_make("[%c]", val == no ? ' ' : '*'); val 536 scripts/kconfig/mconf.c item_make("-%c-", val == no ? ' ' : '*'); val 541 scripts/kconfig/mconf.c switch (val) { val 476 scripts/kconfig/qconf.cc if (!sym_set_tristate_value(sym, val)) val 73 scripts/kconfig/qconf.h void setValue(ConfigItem* item, tristate val); val 153 scripts/kconfig/symbol.c return strtol(sym->curr.val, NULL, base); val 159 scripts/kconfig/symbol.c int base, val, val2; val 175 scripts/kconfig/symbol.c val = strtol(sym->curr.val, NULL, base); val 177 scripts/kconfig/symbol.c if (val >= val2) { val 179 scripts/kconfig/symbol.c if (val <= val2) val 186 scripts/kconfig/symbol.c sym->curr.val = strdup(str); val 226 scripts/kconfig/symbol.c def_sym = sym->def[S_DEF_USER].val; val 283 scripts/kconfig/symbol.c sym->curr.val = sym->name; val 300 scripts/kconfig/symbol.c newval.tri = (prop_get_symbol(prop)->curr.val == sym) ? yes : no; val 335 scripts/kconfig/symbol.c newval.val = sym->def[S_DEF_USER].val; val 345 scripts/kconfig/symbol.c newval.val = ds->curr.val; val 355 scripts/kconfig/symbol.c sym->curr.val = sym_calc_choice(sym); val 424 scripts/kconfig/symbol.c if (type == S_BOOLEAN && val == mod) val 429 scripts/kconfig/symbol.c return val == yes; val 430 scripts/kconfig/symbol.c return val >= sym->rev_dep.tri && val <= sym->visible; val 437 scripts/kconfig/symbol.c if (oldval != val && !sym_tristate_within_range(sym, val)) val 448 scripts/kconfig/symbol.c if (sym_is_choice_value(sym) && val == yes) { val 453 scripts/kconfig/symbol.c cs->def[S_DEF_USER].val = sym; val 462 scripts/kconfig/symbol.c sym->def[S_DEF_USER].tri = val; val 463 scripts/kconfig/symbol.c if (oldval != val) val 538 scripts/kconfig/symbol.c int val; val 549 scripts/kconfig/symbol.c val = strtol(str, NULL, 10); val 550 scripts/kconfig/symbol.c return val >= sym_get_range_val(prop->expr->left.sym, 10) && val 551 scripts/kconfig/symbol.c val <= sym_get_range_val(prop->expr->right.sym, 10); val 558 scripts/kconfig/symbol.c val = strtol(str, NULL, 16); val 559 scripts/kconfig/symbol.c return val >= sym_get_range_val(prop->expr->left.sym, 16) && val 560 scripts/kconfig/symbol.c val <= sym_get_range_val(prop->expr->right.sym, 16); val 580 scripts/kconfig/symbol.c char *val; val 607 scripts/kconfig/symbol.c oldval = sym->def[S_DEF_USER].val; val 611 scripts/kconfig/symbol.c sym->def[S_DEF_USER].val = val = malloc(size); val 612 scripts/kconfig/symbol.c *val++ = '0'; val 613 scripts/kconfig/symbol.c *val++ = 'x'; val 615 scripts/kconfig/symbol.c sym->def[S_DEF_USER].val = val = malloc(size); val 619 scripts/kconfig/symbol.c strcpy(val, newval); val 628 scripts/kconfig/symbol.c tristate val; val 633 scripts/kconfig/symbol.c val = sym_get_tristate_value(sym); val 634 scripts/kconfig/symbol.c switch (val) { val 646 scripts/kconfig/symbol.c return (const char *)sym->curr.val; val 85 scripts/pnmtologo.c int c, val; val 103 scripts/pnmtologo.c val = 0; val 105 scripts/pnmtologo.c val = 10*val+c-'0'; val 110 scripts/pnmtologo.c return val; val 115 scripts/pnmtologo.c unsigned int val = get_number(fp); val 116 scripts/pnmtologo.c return (255*val+maxval/2)/maxval; val 279 scripts/pnmtologo.c unsigned char val, bit; val 293 scripts/pnmtologo.c for (val = 0, bit = 0x80; bit && j < logo_width; j++, bit >>= 1) val 295 scripts/pnmtologo.c val |= bit; val 296 scripts/pnmtologo.c write_hex(val); val 307 scripts/pnmtologo.c unsigned char val; val 330 scripts/pnmtologo.c val = k<<4; val 335 scripts/pnmtologo.c val |= k; val 337 scripts/pnmtologo.c write_hex(val); val 743 scripts/unifdef.c int val; val 758 scripts/unifdef.c if (ops->inner(ops+1, &val, &cp) == LT_IF) val 760 scripts/unifdef.c *valp = op->fn(*valp, val); val 777 scripts/unifdef.c int val; val 781 scripts/unifdef.c ret = eval_table(eval_ops, &val, cpp); val 782 scripts/unifdef.c debug("eval = %d", val); val 940 scripts/unifdef.c char *val; val 950 scripts/unifdef.c val = sym + (skipsym(sym) - sym); val 952 scripts/unifdef.c if (*val == '=') { val 953 scripts/unifdef.c value[symind] = val+1; val 954 scripts/unifdef.c *val = '\0'; val 955 scripts/unifdef.c } else if (*val == '\0') val 960 scripts/unifdef.c if (*val != '\0') val 50 security/selinux/netlink.c msg->val = *((int *)data); val 98 security/selinux/netlink.c selnl_notify(SELNL_MSG_SETENFORCE, &val); val 334 security/selinux/ss/avtab.c u32 items, items2, val, vers = pol->policyvers; val 362 security/selinux/ss/avtab.c val = le32_to_cpu(buf32[items++]); val 363 security/selinux/ss/avtab.c key.source_type = (u16)val; val 364 security/selinux/ss/avtab.c if (key.source_type != val) { val 368 security/selinux/ss/avtab.c val = le32_to_cpu(buf32[items++]); val 369 security/selinux/ss/avtab.c key.target_type = (u16)val; val 370 security/selinux/ss/avtab.c if (key.target_type != val) { val 374 security/selinux/ss/avtab.c val = le32_to_cpu(buf32[items++]); val 375 security/selinux/ss/avtab.c key.target_class = (u16)val; val 376 security/selinux/ss/avtab.c if (key.target_class != val) { val 381 security/selinux/ss/avtab.c val = le32_to_cpu(buf32[items++]); val 382 security/selinux/ss/avtab.c enabled = (val & AVTAB_ENABLED_OLD) ? AVTAB_ENABLED : 0; val 384 security/selinux/ss/avtab.c if (!(val & (AVTAB_AV | AVTAB_TYPE))) { val 388 security/selinux/ss/avtab.c if ((val & AVTAB_AV) && val 389 security/selinux/ss/avtab.c (val & AVTAB_TYPE)) { val 395 security/selinux/ss/avtab.c if (val & spec_order[i]) { val 16 security/selinux/ss/symtab.c unsigned int val; val 18 security/selinux/ss/symtab.c val = 0; val 22 security/selinux/ss/symtab.c val = (val << 4 | (val >> (8*sizeof(unsigned int)-4))) ^ (*p); val 23 security/selinux/ss/symtab.c return val & (h->size - 1); val 587 sound/aoa/codecs/snd-aoa-codec-onyx.c u8 val; val 592 sound/aoa/codecs/snd-aoa-codec-onyx.c if (onyx_read_register(onyx, ONYX_REG_CONTROL, &val)) val 594 sound/aoa/codecs/snd-aoa-codec-onyx.c val &= ~ONYX_SILICONVERSION; val 595 sound/aoa/codecs/snd-aoa-codec-onyx.c val |= initial_values[3]; val 596 sound/aoa/codecs/snd-aoa-codec-onyx.c regs[3] = val; val 118 sound/aoa/codecs/snd-aoa-codec-tas.c unsigned char val[6]; val 121 sound/aoa/codecs/snd-aoa-codec-tas.c val[0] = 0x50; /* 3:1 above threshold */ val 123 sound/aoa/codecs/snd-aoa-codec-tas.c val[0] = 0x51; /* disabled */ val 124 sound/aoa/codecs/snd-aoa-codec-tas.c val[1] = 0x02; /* 1:1 below threshold */ val 126 sound/aoa/codecs/snd-aoa-codec-tas.c val[2] = 0xef; val 128 sound/aoa/codecs/snd-aoa-codec-tas.c val[2] = 0x00; val 130 sound/aoa/codecs/snd-aoa-codec-tas.c val[2] = tas->drc_range; val 131 sound/aoa/codecs/snd-aoa-codec-tas.c val[3] = 0xb0; val 132 sound/aoa/codecs/snd-aoa-codec-tas.c val[4] = 0x60; val 133 sound/aoa/codecs/snd-aoa-codec-tas.c val[5] = 0xa0; val 135 sound/aoa/codecs/snd-aoa-codec-tas.c tas_write_reg(tas, TAS_REG_DRC, 6, val); val 190 sound/aoa/codecs/snd-aoa-codec-tas.c u8 val; val 193 sound/aoa/codecs/snd-aoa-codec-tas.c val = tas->mixer_l[i]; val 194 sound/aoa/codecs/snd-aoa-codec-tas.c if (val > 177) val = 177; val 195 sound/aoa/codecs/snd-aoa-codec-tas.c tmp = tas_gaintable[val]; val 203 sound/aoa/codecs/snd-aoa-codec-tas.c val = tas->mixer_r[i]; val 204 sound/aoa/codecs/snd-aoa-codec-tas.c if (val > 177) val = 177; val 205 sound/aoa/codecs/snd-aoa-codec-tas.c tmp = tas_gaintable[val]; val 85 sound/arm/aaci.c writel(val << 4, aaci->base + AACI_SL2TX); val 181 sound/arm/aaci.c u32 val; val 185 sound/arm/aaci.c val = readl(aacirun->base + AACI_SR); val 186 sound/arm/aaci.c } while (val & (SR_TXB|SR_RXB) && timeout--); val 219 sound/arm/aaci.c u32 val; val 231 sound/arm/aaci.c val = readl(aacirun->base + AACI_SR); val 232 sound/arm/aaci.c if (!(val & SR_RXHF)) val 234 sound/arm/aaci.c if (!(val & SR_RXFF)) val 273 sound/arm/aaci.c u32 val; val 285 sound/arm/aaci.c val = readl(aacirun->base + AACI_SR); val 286 sound/arm/aaci.c if (!(val & SR_TXHE)) val 288 sound/arm/aaci.c if (!(val & SR_TXFE)) val 47 sound/arm/pxa2xx-ac97-lib.c unsigned short val = -1; val 62 sound/arm/pxa2xx-ac97-lib.c val = *reg_addr; val 69 sound/arm/pxa2xx-ac97-lib.c val = -1; val 76 sound/arm/pxa2xx-ac97-lib.c val = *reg_addr; val 81 sound/arm/pxa2xx-ac97-lib.c return val; val 101 sound/arm/pxa2xx-ac97-lib.c *reg_addr = val; val 166 sound/arm/sa11xx-uda1341.c switch (val) { val 239 sound/core/control_compat.c int val; val 240 sound/core/control_compat.c if (get_user(val, &data32->value.integer[i])) val 242 sound/core/control_compat.c data->value.integer.value[i] = val; val 270 sound/core/control_compat.c int val; val 271 sound/core/control_compat.c val = data->value.integer.value[i]; val 272 sound/core/control_compat.c if (put_user(val, &data32->value.integer[i])) val 38 sound/core/hwdep_compat.c u32 val; val 48 sound/core/hwdep_compat.c if (get_user(val, &src->length) || val 49 sound/core/hwdep_compat.c put_user(val, &dst->length)) val 51 sound/core/hwdep_compat.c if (get_user(val, &src->driver_data) || val 52 sound/core/hwdep_compat.c put_user(val, &dst->driver_data)) val 414 sound/core/oss/mixer_oss.c return ((nrange * (val - omin)) + (orange / 2)) / orange + nmin; val 420 sound/core/oss/mixer_oss.c if (val == snd_mixer_oss_conv(*old, 0, 100, min, max)) val 422 sound/core/oss/mixer_oss.c return snd_mixer_oss_conv(val, min, max, 0, 100); val 428 sound/core/oss/mixer_oss.c return snd_mixer_oss_conv(val, 0, 100, min, max); val 38 sound/core/oss/mulaw.c val >>= 7; val 39 sound/core/oss/mulaw.c if (val & 0xf0) { val 40 sound/core/oss/mulaw.c val >>= 4; val 43 sound/core/oss/mulaw.c if (val & 0x0c) { val 44 sound/core/oss/mulaw.c val >>= 2; val 47 sound/core/oss/mulaw.c if (val & 0x02) val 134 sound/core/oss/pcm_oss.c t.min = t.max = val; val 197 sound/core/oss/pcm_oss.c changed = snd_mask_refine(hw_param_mask(params, var), val); val 210 sound/core/oss/pcm_oss.c int changed = _snd_pcm_hw_param_mask(params, var, val); val 231 sound/core/oss/pcm_oss.c if (val > 0) { val 233 sound/core/oss/pcm_oss.c val--; val 239 sound/core/oss/pcm_oss.c val + !!open); val 242 sound/core/oss/pcm_oss.c val, open); val 269 sound/core/oss/pcm_oss.c int changed = _snd_pcm_hw_param_min(params, var, val, dir ? *dir : 0); val 291 sound/core/oss/pcm_oss.c val++; val 295 sound/core/oss/pcm_oss.c if (val == 0 && open) { val 300 sound/core/oss/pcm_oss.c val - !!open); val 303 sound/core/oss/pcm_oss.c val, open); val 330 sound/core/oss/pcm_oss.c int changed = _snd_pcm_hw_param_max(params, var, val, dir ? *dir : 0); val 476 sound/core/oss/pcm_oss.c if (val == 0 && dir < 0) { val 481 sound/core/oss/pcm_oss.c val++; val 483 sound/core/oss/pcm_oss.c val--; val 484 sound/core/oss/pcm_oss.c changed = snd_mask_refine_set(hw_param_mask(params, var), val); val 488 sound/core/oss/pcm_oss.c if (val == 0 && dir < 0) { val 492 sound/core/oss/pcm_oss.c changed = snd_interval_refine_set(i, val); val 500 sound/core/oss/pcm_oss.c t.min = val - 1; val 501 sound/core/oss/pcm_oss.c t.max = val; val 503 sound/core/oss/pcm_oss.c t.min = val; val 504 sound/core/oss/pcm_oss.c t.max = val+1; val 534 sound/core/oss/pcm_oss.c int changed = _snd_pcm_hw_param_set(params, var, val, dir); val 1872 sound/core/oss/pcm_oss.c runtime->oss.fragshift = val & 0xffff; val 1873 sound/core/oss/pcm_oss.c runtime->oss.maxfrags = (val >> 16) & 0xffff; val 1890 sound/core/oss/pcm_oss.c if ((err = snd_pcm_oss_set_fragment1(substream, val)) < 0) val 70 sound/core/oss/rate.c signed int val; val 107 sound/core/oss/rate.c val = S1 + ((S2 - S1) * (signed int)pos) / BITS; val 108 sound/core/oss/rate.c if (val < -32768) val 109 sound/core/oss/rate.c val = -32768; val 110 sound/core/oss/rate.c else if (val > 32767) val 111 sound/core/oss/rate.c val = 32767; val 112 sound/core/oss/rate.c *dst = val; val 129 sound/core/oss/rate.c signed int val; val 165 sound/core/oss/rate.c val = S1 + ((S2 - S1) * (signed int)pos) / BITS; val 166 sound/core/oss/rate.c if (val < -32768) val 167 sound/core/oss/rate.c val = -32768; val 168 sound/core/oss/rate.c else if (val > 32767) val 169 sound/core/oss/rate.c val = 32767; val 170 sound/core/oss/rate.c *dst = val; val 154 sound/core/pcm.c int val; val 156 sound/core/pcm.c if (get_user(val, (int __user *)arg)) val 158 sound/core/pcm.c control->prefer_pcm_subdevice = val; val 201 sound/core/pcm_misc.c int val; val 204 sound/core/pcm_misc.c if ((val = pcm_formats[format].signd) < 0) val 206 sound/core/pcm_misc.c return val; val 220 sound/core/pcm_misc.c int val; val 222 sound/core/pcm_misc.c val = snd_pcm_format_signed(format); val 223 sound/core/pcm_misc.c if (val < 0) val 224 sound/core/pcm_misc.c return val; val 225 sound/core/pcm_misc.c return !val; val 252 sound/core/pcm_misc.c int val; val 255 sound/core/pcm_misc.c if ((val = pcm_formats[format].le) < 0) val 257 sound/core/pcm_misc.c return val; val 271 sound/core/pcm_misc.c int val; val 273 sound/core/pcm_misc.c val = snd_pcm_format_little_endian(format); val 274 sound/core/pcm_misc.c if (val < 0) val 275 sound/core/pcm_misc.c return val; val 276 sound/core/pcm_misc.c return !val; val 290 sound/core/pcm_misc.c int val; val 293 sound/core/pcm_misc.c if ((val = pcm_formats[format].width) == 0) val 295 sound/core/pcm_misc.c return val; val 309 sound/core/pcm_misc.c int val; val 312 sound/core/pcm_misc.c if ((val = pcm_formats[format].phys) == 0) val 314 sound/core/pcm_misc.c return val; val 762 sound/core/rawmidi.c int val; val 763 sound/core/rawmidi.c if (get_user(val, (int __user *) argp)) val 765 sound/core/rawmidi.c switch (val) { val 776 sound/core/rawmidi.c int val; val 777 sound/core/rawmidi.c if (get_user(val, (int __user *) argp)) val 779 sound/core/rawmidi.c switch (val) { val 830 sound/core/rawmidi.c int val; val 832 sound/core/rawmidi.c if (get_user(val, (int __user *)argp)) val 834 sound/core/rawmidi.c control->prefer_rawmidi_subdevice = val; val 37 sound/core/rawmidi_compat.c unsigned int val; val 44 sound/core/rawmidi_compat.c get_user(val, &src->no_active_sensing)) val 46 sound/core/rawmidi_compat.c params.no_active_sensing = val; val 135 sound/core/seq/oss/seq_oss_event.c int val; val 154 sound/core/seq/oss/seq_oss_event.c val = (char)q->e.p1; val 155 sound/core/seq/oss/seq_oss_event.c val = (val + 128) / 2; val 157 sound/core/seq/oss/seq_oss_event.c q->e.chn, CTL_PAN, val, ev); val 160 sound/core/seq/oss/seq_oss_event.c val = ((short)q->e.p3 << 8) | (short)q->e.p2; val 166 sound/core/seq/oss/seq_oss_event.c q->e.chn, 0, val, ev); val 171 sound/core/seq/oss/seq_oss_event.c q->e.chn, 0, val*128/100, ev); val 175 sound/core/seq/oss/seq_oss_event.c q->e.chn, q->e.p1, val, ev); val 219 sound/core/seq/oss/seq_oss_event.c q->l.chn, q->l.p1, q->l.val, ev); val 224 sound/core/seq/oss/seq_oss_event.c q->l.chn, 0, q->l.val - 8192, ev); val 228 sound/core/seq/oss/seq_oss_event.c q->l.chn, 0, q->l.val, ev); val 399 sound/core/seq/oss/seq_oss_event.c ev->data.control.value = val; val 71 sound/core/seq/oss/seq_oss_event.h unsigned short val; val 510 sound/core/seq/oss/seq_oss_init.c return str[val & SNDRV_SEQ_OSS_FILE_ACMODE]; val 76 sound/core/seq/oss/seq_oss_ioctl.c int dev, val; val 152 sound/core/seq/oss/seq_oss_ioctl.c val = snd_seq_oss_synth_ioctl(dp, dev, cmd, carg); val 153 sound/core/seq/oss/seq_oss_ioctl.c return put_user(val, p) ? -EFAULT : 0; val 179 sound/core/seq/oss/seq_oss_ioctl.c if (get_user(val, p)) val 181 sound/core/seq/oss/seq_oss_ioctl.c if (val < 1) val 182 sound/core/seq/oss/seq_oss_ioctl.c val = 1; val 183 sound/core/seq/oss/seq_oss_ioctl.c if (val >= dp->writeq->maxlen) val 184 sound/core/seq/oss/seq_oss_ioctl.c val = dp->writeq->maxlen - 1; val 185 sound/core/seq/oss/seq_oss_ioctl.c snd_seq_oss_writeq_set_output(dp->writeq, val); val 192 sound/core/seq/oss/seq_oss_ioctl.c if (get_user(val, p)) val 194 sound/core/seq/oss/seq_oss_ioctl.c if (val <= 0) val 195 sound/core/seq/oss/seq_oss_ioctl.c val = -1; val 197 sound/core/seq/oss/seq_oss_ioctl.c val = (HZ * val) / 10; val 198 sound/core/seq/oss/seq_oss_ioctl.c dp->readq->pre_event_timeout = val; val 199 sound/core/seq/oss/seq_oss_ioctl.c return put_user(val, p) ? -EFAULT : 0; val 589 sound/core/seq/oss/seq_oss_midi.c ossev.l.val = ev->data.control.value; val 594 sound/core/seq/oss/seq_oss_midi.c ossev.l.val = ev->data.control.value + 8192; val 678 sound/core/seq/oss/seq_oss_midi.c val &= PERM_READ|PERM_WRITE; val 679 sound/core/seq/oss/seq_oss_midi.c if (val == (PERM_READ|PERM_WRITE)) val 681 sound/core/seq/oss/seq_oss_midi.c else if (val == PERM_READ) val 683 sound/core/seq/oss/seq_oss_midi.c else if (val == PERM_WRITE) val 169 sound/core/seq/oss/seq_oss_writeq.c pool.output_room = val; val 417 sound/core/seq/seq_midi_emul.c int val; val 422 sound/core/seq/seq_midi_emul.c val = (chan->control[MIDI_CTL_MSB_DATA_ENTRY] << 7) | val 428 sound/core/seq/seq_midi_emul.c chan->gm_rpn_pitch_bend_range = val; val 433 sound/core/seq/seq_midi_emul.c chan->gm_rpn_fine_tuning = val - 8192; val 438 sound/core/seq/seq_midi_emul.c chan->gm_rpn_coarse_tuning = val - 8192; val 1171 sound/core/timer.c r1.val = resolution; val 1205 sound/core/timer.c r1.val = resolution; val 1219 sound/core/timer.c r->val += ticks; val 1226 sound/core/timer.c r1.val = ticks; val 1670 sound/core/timer.c tread.val = 0; val 37 sound/core/vmaster.c int val; /* the master value */ val 114 sound/core/vmaster.c master->val = master->info.max_val; val 146 sound/core/vmaster.c !!slave->master->val; val 152 sound/core/vmaster.c vol += slave->master->val - slave->master->info.max_val; val 286 sound/core/vmaster.c ucontrol->value.integer.value[0] = master->val; val 301 sound/core/vmaster.c old_val = master->val; val 309 sound/core/vmaster.c master->val = old_val; val 312 sound/core/vmaster.c master->val = ucontrol->value.integer.value[0]; val 977 sound/drivers/ml403-ac97cr.c if ((val & lm4550_regfile[reg / 2].wmask) != val) { val 981 sound/drivers/ml403-ac97cr.c reg, val, val); val 982 sound/drivers/ml403-ac97cr.c val = val & lm4550_regfile[reg / 2].wmask; val 988 sound/drivers/ml403-ac97cr.c "val=0x%x / %d\n", reg, val, val); val 989 sound/drivers/ml403-ac97cr.c lm4550_regfile[reg / 2].value = (val & val 1000 sound/drivers/ml403-ac97cr.c CR_CODEC_DATAWRITE(val)); val 1021 sound/drivers/ml403-ac97cr.c reg, val, val); val 1026 sound/drivers/ml403-ac97cr.c lm4550_regfile[reg / 2].value = val; val 1040 sound/drivers/ml403-ac97cr.c reg, val, val, stat, rafaccess, ml403_ac97cr->ac97_write, val 1045 sound/drivers/ml403-ac97cr.c reg, val, val); val 1059 sound/drivers/ml403-ac97cr.c reg, val, val); val 244 sound/drivers/mtpav.c outb(val, chip->port + reg); val 463 sound/drivers/mts64.c int val = !!uctl->value.integer.value[0]; val 466 sound/drivers/mts64.c if (mts->smpte_switch == val) val 470 sound/drivers/mts64.c mts->smpte_switch = val; val 57 sound/drivers/opl3/opl3_lib.c outb((unsigned char) val, port + 1); val 81 sound/drivers/opl3/opl3_lib.c outb((unsigned char) val, port + 1); val 24 sound/drivers/pcsp/pcsp_lib.c unsigned char timer_cnt, val; val 70 sound/drivers/pcsp/pcsp_lib.c val = runtime->dma_area[chip->playback_ptr + fmt_size - 1]; val 72 sound/drivers/pcsp/pcsp_lib.c val ^= 0x80; val 73 sound/drivers/pcsp/pcsp_lib.c timer_cnt = val * CUR_DIV() / 256; val 162 sound/drivers/vx/vx_core.c int i, err, val, size; val 176 sound/drivers/vx/vx_core.c val = vx_inb(chip, RXH) << 16; val 177 sound/drivers/vx/vx_core.c val |= vx_inb(chip, RXM) << 8; val 178 sound/drivers/vx/vx_core.c val |= vx_inb(chip, RXL); val 183 sound/drivers/vx/vx_core.c size = val & 0xff; val 184 sound/drivers/vx/vx_core.c rmh->Stat[0] = val & 0xffff00; val 189 sound/drivers/vx/vx_core.c rmh->Stat[0] = val; val 191 sound/drivers/vx/vx_core.c while (val) { val 192 sound/drivers/vx/vx_core.c if (val & 0x01) val 194 sound/drivers/vx/vx_core.c val >>= 1; val 201 sound/drivers/vx/vx_core.c rmh->Stat[0] = val; /* Val is the status 1st word */ val 95 sound/drivers/vx/vx_mixer.c SET_CDC_DATA_VAL(data, val); val 442 sound/drivers/vx/vx_mixer.c unsigned int val[2], vmax; val 445 sound/drivers/vx/vx_mixer.c val[0] = ucontrol->value.integer.value[0]; val 446 sound/drivers/vx/vx_mixer.c val[1] = ucontrol->value.integer.value[1]; val 447 sound/drivers/vx/vx_mixer.c if (val[0] > vmax || val[1] > vmax) val 450 sound/drivers/vx/vx_mixer.c if (val[0] != chip->output_level[codec][0] || val 451 sound/drivers/vx/vx_mixer.c val[1] != chip->output_level[codec][1]) { val 452 sound/drivers/vx/vx_mixer.c vx_set_analog_output_level(chip, codec, val[0], val[1]); val 453 sound/drivers/vx/vx_mixer.c chip->output_level[codec][0] = val[0]; val 454 sound/drivers/vx/vx_mixer.c chip->output_level[codec][1] = val[1]; val 622 sound/drivers/vx/vx_mixer.c unsigned int val[2]; val 624 sound/drivers/vx/vx_mixer.c val[0] = ucontrol->value.integer.value[0]; val 625 sound/drivers/vx/vx_mixer.c val[1] = ucontrol->value.integer.value[1]; val 626 sound/drivers/vx/vx_mixer.c if (val[0] > CVAL_MAX || val[1] > CVAL_MAX) val 629 sound/drivers/vx/vx_mixer.c if (val[0] != chip->audio_gain[capture][audio] || val 630 sound/drivers/vx/vx_mixer.c val[1] != chip->audio_gain[capture][audio+1]) { val 631 sound/drivers/vx/vx_mixer.c vx_set_audio_gain(chip, audio, capture, val[0]); val 632 sound/drivers/vx/vx_mixer.c vx_set_audio_gain(chip, audio+1, capture, val[1]); val 656 sound/drivers/vx/vx_mixer.c unsigned int val[2]; val 658 sound/drivers/vx/vx_mixer.c val[0] = ucontrol->value.integer.value[0]; val 659 sound/drivers/vx/vx_mixer.c val[1] = ucontrol->value.integer.value[1]; val 660 sound/drivers/vx/vx_mixer.c if (val[0] > CVAL_MAX || val[1] > CVAL_MAX) val 664 sound/drivers/vx/vx_mixer.c if (val[0] != chip->audio_monitor[audio] || val 665 sound/drivers/vx/vx_mixer.c val[1] != chip->audio_monitor[audio+1]) { val 666 sound/drivers/vx/vx_mixer.c vx_set_monitor_level(chip, audio, val[0], val 668 sound/drivers/vx/vx_mixer.c vx_set_monitor_level(chip, audio+1, val[1], val 814 sound/drivers/vx/vx_mixer.c unsigned int val; val 816 sound/drivers/vx/vx_mixer.c val = (ucontrol->value.iec958.status[0] << 0) | val 821 sound/drivers/vx/vx_mixer.c if (chip->uer_bits != val) { val 822 sound/drivers/vx/vx_mixer.c chip->uer_bits = val; val 823 sound/drivers/vx/vx_mixer.c vx_set_iec958_status(chip, val); val 955 sound/drivers/vx/vx_mixer.c int val = i * 2; val 959 sound/drivers/vx/vx_mixer.c temp.private_value = val; val 964 sound/drivers/vx/vx_mixer.c temp.private_value = val; val 969 sound/drivers/vx/vx_mixer.c temp.private_value = val; val 974 sound/drivers/vx/vx_mixer.c temp.private_value = val; val 1002 sound/drivers/vx/vx_mixer.c int val = (i * 2) | (c << 8); val 1006 sound/drivers/vx/vx_mixer.c temp.private_value = val; val 1014 sound/drivers/vx/vx_mixer.c temp.private_value = val; val 1021 sound/drivers/vx/vx_mixer.c temp.private_value = val; val 64 sound/drivers/vx/vx_uer.c int val; val 69 sound/drivers/vx/vx_uer.c val = (vx_inb(chip, RUER) >> 7) & 0x01; val 73 sound/drivers/vx/vx_uer.c val = (vx_inl(chip, RUER) >> 7) & 0x01; val 76 sound/drivers/vx/vx_uer.c return val; val 87 sound/drivers/vx/vx_uer.c val = !!val; /* 0 or 1 */ val 91 sound/drivers/vx/vx_uer.c vx_outb(chip, RUER, (val << 7) | (index & XX_UER_CBITS_OFFSET_MASK)); val 94 sound/drivers/vx/vx_uer.c vx_outl(chip, RUER, (val << 7) | (index & XX_UER_CBITS_OFFSET_MASK)); val 108 sound/drivers/vx/vx_uer.c int val, freq; val 115 sound/drivers/vx/vx_uer.c val = vx_inb(chip, CSUER); val 117 sound/drivers/vx/vx_uer.c val = vx_inl(chip, CSUER); val 118 sound/drivers/vx/vx_uer.c if (val < 0) val 119 sound/drivers/vx/vx_uer.c return val; val 121 sound/drivers/vx/vx_uer.c if (val & VX_SUER_CLOCK_PRESENT_MASK) { val 122 sound/drivers/vx/vx_uer.c switch (val & VX_SUER_FREQ_MASK) { val 134 sound/drivers/vx/vx_uer.c if (val & VX_SUER_DATA_PRESENT_MASK) val 64 sound/i2c/cs8427.c res |= val & 1; val 65 sound/i2c/cs8427.c val >>= 1; val 77 sound/i2c/cs8427.c buf[1] = val; val 141 sound/i2c/l3/uda1341.c int (*write) (struct l3_client *uda1341, unsigned short reg, unsigned short val); val 157 sound/i2c/l3/uda1341.c const int size = sizeof(val) * 8; val 161 sound/i2c/l3/uda1341.c *(buf++) = (val >> (size - 1)) ? '1' : '0'; val 162 sound/i2c/l3/uda1341.c val <<= 1; val 175 sound/i2c/l3/uda1341.c uda->regs[reg] = val; val 179 sound/i2c/l3/uda1341.c err = l3_write(clnt, UDA1341_DATA0, (const unsigned char *)&val, 1); val 181 sound/i2c/l3/uda1341.c err = l3_write(clnt, UDA1341_DATA1, (const unsigned char *)&val, 1); val 183 sound/i2c/l3/uda1341.c err = l3_write(clnt, UDA1341_STATUS, (const unsigned char *)&val, 1); val 186 sound/i2c/l3/uda1341.c buf[1] |= val; //EXT data val 196 sound/i2c/l3/uda1341.c unsigned char val; val 199 sound/i2c/l3/uda1341.c err = l3_read(clnt, reg, &val, 1); val 202 sound/i2c/l3/uda1341.c return val & 63; val 572 sound/i2c/l3/uda1341.c unsigned short val; val 574 sound/i2c/l3/uda1341.c val = (ucontrol->value.integer.value[0] & mask); val 576 sound/i2c/l3/uda1341.c val = mask - val; val 578 sound/i2c/l3/uda1341.c uda->cfg[where] = val; val 579 sound/i2c/l3/uda1341.c return snd_uda1341_update_bits(clnt, reg, mask, shift, val, FLUSH); val 700 sound/i2c/l3/uda1341.c unsigned short val1, val2, val; val 702 sound/i2c/l3/uda1341.c val = ucontrol->value.integer.value[0]; val 706 sound/i2c/l3/uda1341.c val1 = val & mask_1; val 707 sound/i2c/l3/uda1341.c val2 = (val / (mask_1 + 1)) & mask_2; val 714 sound/i2c/l3/uda1341.c uda->cfg[where] = invert ? mask - val : val; val 43 sound/i2c/other/ak4114.c ak4114->write(ak4114->private_data, reg, val); val 45 sound/i2c/other/ak4114.c ak4114->regmap[reg] = val; val 47 sound/i2c/other/ak4114.c ak4114->txcsb[reg-AK4114_REG_TXCSB0] = val; val 129 sound/i2c/other/ak4114.c reg_write(chip, reg, (chip->regmap[reg] & ~mask) | val); val 132 sound/i2c/other/ak4114.c (chip->txcsb[reg-AK4114_REG_TXCSB0] & ~mask) | val); val 455 sound/i2c/other/ak4114.c int reg, val; val 458 sound/i2c/other/ak4114.c val = reg_read(ak4114, reg); val 459 sound/i2c/other/ak4114.c snd_iprintf(buffer, "0x%02x = 0x%02x\n", reg, val); val 41 sound/i2c/other/ak4117.c ak4117->write(ak4117->private_data, reg, val); val 43 sound/i2c/other/ak4117.c ak4117->regmap[reg] = val; val 121 sound/i2c/other/ak4117.c reg_write(chip, reg, (chip->regmap[reg] & ~mask) | val); val 42 sound/i2c/other/ak4xxx-adda.c ak->ops.write(ak, chip, reg, val); val 45 sound/i2c/other/ak4xxx-adda.c snd_akm4xxx_set(ak, chip, reg, val); val 322 sound/i2c/other/ak4xxx-adda.c #define AK_GET_CHIP(val) (((val) >> 8) & 0xff) val 323 sound/i2c/other/ak4xxx-adda.c #define AK_GET_ADDR(val) ((val) & 0xff) val 324 sound/i2c/other/ak4xxx-adda.c #define AK_GET_SHIFT(val) (((val) >> 16) & 0x0f) val 325 sound/i2c/other/ak4xxx-adda.c #define AK_GET_VOL_CVT(val) (((val) >> 21) & 1) val 326 sound/i2c/other/ak4xxx-adda.c #define AK_GET_IPGA(val) (((val) >> 20) & 1) val 327 sound/i2c/other/ak4xxx-adda.c #define AK_GET_NEEDSMSB(val) (((val) >> 22) & 1) val 328 sound/i2c/other/ak4xxx-adda.c #define AK_GET_INVERT(val) (((val) >> 23) & 1) val 329 sound/i2c/other/ak4xxx-adda.c #define AK_GET_MASK(val) (((val) >> 24) & 0xff) val 385 sound/i2c/other/ak4xxx-adda.c unsigned int val = ucontrol->value.integer.value[0]; val 386 sound/i2c/other/ak4xxx-adda.c if (val > mask) val 388 sound/i2c/other/ak4xxx-adda.c return put_ak_reg(kcontrol, AK_GET_ADDR(kcontrol->private_value), val); val 420 sound/i2c/other/ak4xxx-adda.c unsigned int val[2]; val 423 sound/i2c/other/ak4xxx-adda.c val[0] = ucontrol->value.integer.value[0]; val 424 sound/i2c/other/ak4xxx-adda.c val[1] = ucontrol->value.integer.value[1]; val 425 sound/i2c/other/ak4xxx-adda.c if (val[0] > mask || val[1] > mask) val 427 sound/i2c/other/ak4xxx-adda.c change = put_ak_reg(kcontrol, addr, val[0]); val 428 sound/i2c/other/ak4xxx-adda.c change |= put_ak_reg(kcontrol, addr + 1, val[1]); val 489 sound/i2c/other/ak4xxx-adda.c unsigned char val = snd_akm4xxx_get(ak, chip, addr) & (1<<shift); val 491 sound/i2c/other/ak4xxx-adda.c val = ! val; val 492 sound/i2c/other/ak4xxx-adda.c ucontrol->value.integer.value[0] = (val & (1<<shift)) != 0; val 505 sound/i2c/other/ak4xxx-adda.c unsigned char val, oval; val 512 sound/i2c/other/ak4xxx-adda.c val = oval | (1<<shift); val 514 sound/i2c/other/ak4xxx-adda.c val = oval & ~(1<<shift); val 515 sound/i2c/other/ak4xxx-adda.c change = (oval != val); val 517 sound/i2c/other/ak4xxx-adda.c snd_akm4xxx_write(ak, chip, addr, val); val 565 sound/i2c/other/ak4xxx-adda.c unsigned char val; val 567 sound/i2c/other/ak4xxx-adda.c val = snd_akm4xxx_get(ak, chip, addr) & mask; val 568 sound/i2c/other/ak4xxx-adda.c ucontrol->value.enumerated.item[0] = val; val 580 sound/i2c/other/ak4xxx-adda.c unsigned char oval, val; val 587 sound/i2c/other/ak4xxx-adda.c val = oval & ~mask; val 588 sound/i2c/other/ak4xxx-adda.c val |= ucontrol->value.enumerated.item[0] & mask; val 589 sound/i2c/other/ak4xxx-adda.c if (val != oval) { val 590 sound/i2c/other/ak4xxx-adda.c snd_akm4xxx_write(ak, chip, addr, val); val 666 sound/i2c/other/ak4xxx-adda.c int val = idx < 6 ? idx + 2 : (idx - 6) + 0xb; val 668 sound/i2c/other/ak4xxx-adda.c AK_COMPOSE(0, val, 0, 255) | AK_INVERT; val 160 sound/i2c/other/pt2258.c int val; val 162 sound/i2c/other/pt2258.c val = !ucontrol->value.integer.value[0]; val 163 sound/i2c/other/pt2258.c if (pt->mute == val) val 166 sound/i2c/other/pt2258.c pt->mute = val; val 167 sound/i2c/other/pt2258.c bytes[0] = val ? PT2258_CMD_MUTE : PT2258_CMD_UNMUTE; val 78 sound/i2c/other/tea575x-tuner.c tea->val &= ~TEA575X_BIT_FREQ_MASK; val 79 sound/i2c/other/tea575x-tuner.c tea->val |= freq & TEA575X_BIT_FREQ_MASK; val 80 sound/i2c/other/tea575x-tuner.c tea->ops->write(tea, tea->val); val 197 sound/i2c/other/tea575x-tuner.c unsigned int val; val 199 sound/i2c/other/tea575x-tuner.c val = tea->ops->read(tea); val 200 sound/i2c/other/tea575x-tuner.c if (val == 0x1ffffff || val == 0) { val 221 sound/i2c/other/tea575x-tuner.c tea->val = TEA575X_BIT_BAND_FM | TEA575X_BIT_SEARCH_10_40; val 738 sound/isa/ad1816a/ad1816a_lib.c unsigned short val; val 741 sound/isa/ad1816a/ad1816a_lib.c val = snd_ad1816a_read(chip, AD1816A_ADC_SOURCE_SEL); val 743 sound/isa/ad1816a/ad1816a_lib.c ucontrol->value.enumerated.item[0] = (val >> 12) & 7; val 744 sound/isa/ad1816a/ad1816a_lib.c ucontrol->value.enumerated.item[1] = (val >> 4) & 7; val 752 sound/isa/ad1816a/ad1816a_lib.c unsigned short val; val 758 sound/isa/ad1816a/ad1816a_lib.c val = (ucontrol->value.enumerated.item[0] << 12) | val 761 sound/isa/ad1816a/ad1816a_lib.c change = snd_ad1816a_read(chip, AD1816A_ADC_SOURCE_SEL) != val; val 762 sound/isa/ad1816a/ad1816a_lib.c snd_ad1816a_write(chip, AD1816A_ADC_SOURCE_SEL, val); val 816 sound/isa/ad1816a/ad1816a_lib.c unsigned short old_val, val; val 818 sound/isa/ad1816a/ad1816a_lib.c val = (ucontrol->value.integer.value[0] & mask); val 820 sound/isa/ad1816a/ad1816a_lib.c val = mask - val; val 821 sound/isa/ad1816a/ad1816a_lib.c val <<= shift; val 824 sound/isa/ad1816a/ad1816a_lib.c val = (old_val & ~(mask << shift)) | val; val 825 sound/isa/ad1816a/ad1816a_lib.c change = val != old_val; val 826 sound/isa/ad1816a/ad1816a_lib.c snd_ad1816a_write(chip, reg, val); val 864 sound/isa/ad1816a/ad1816a_lib.c unsigned short val; val 867 sound/isa/ad1816a/ad1816a_lib.c val = snd_ad1816a_read(chip, reg); val 868 sound/isa/ad1816a/ad1816a_lib.c ucontrol->value.integer.value[0] = (val >> shift_left) & mask; val 869 sound/isa/ad1816a/ad1816a_lib.c ucontrol->value.integer.value[1] = (val >> shift_right) & mask; val 158 sound/isa/azt2320.c outb(val, port + 0x0c); val 128 sound/isa/cs423x/cs4236_lib.c outb(chip->cimage[reg] = val, chip->cport + 4); val 426 sound/isa/cs423x/cs4236_lib.c unsigned short val; val 428 sound/isa/cs423x/cs4236_lib.c val = (ucontrol->value.integer.value[0] & mask); val 430 sound/isa/cs423x/cs4236_lib.c val = mask - val; val 431 sound/isa/cs423x/cs4236_lib.c val <<= shift; val 433 sound/isa/cs423x/cs4236_lib.c val = (chip->eimage[CS4236_REG(reg)] & ~(mask << shift)) | val; val 434 sound/isa/cs423x/cs4236_lib.c change = val != chip->eimage[CS4236_REG(reg)]; val 435 sound/isa/cs423x/cs4236_lib.c snd_cs4236_ext_out(chip, reg, val); val 472 sound/isa/cs423x/cs4236_lib.c unsigned short val; val 474 sound/isa/cs423x/cs4236_lib.c val = (ucontrol->value.integer.value[0] & mask); val 476 sound/isa/cs423x/cs4236_lib.c val = mask - val; val 477 sound/isa/cs423x/cs4236_lib.c val <<= shift; val 479 sound/isa/cs423x/cs4236_lib.c val = (chip->cimage[reg] & ~(mask << shift)) | val; val 480 sound/isa/cs423x/cs4236_lib.c change = val != chip->cimage[reg]; val 481 sound/isa/cs423x/cs4236_lib.c snd_cs4236_ctrl_out(chip, reg, val); val 903 sound/isa/cs423x/cs4236_lib.c unsigned short enable, val; val 910 sound/isa/cs423x/cs4236_lib.c val = (chip->image[CS4231_ALT_FEATURE_1] & ~0x0e) | (0<<2) | (enable << 1); val 911 sound/isa/cs423x/cs4236_lib.c change = val != chip->image[CS4231_ALT_FEATURE_1]; val 912 sound/isa/cs423x/cs4236_lib.c snd_wss_out(chip, CS4231_ALT_FEATURE_1, val); val 913 sound/isa/cs423x/cs4236_lib.c val = snd_cs4236_ctrl_in(chip, 4) | 0xc0; val 914 sound/isa/cs423x/cs4236_lib.c snd_cs4236_ctrl_out(chip, 4, val); val 916 sound/isa/cs423x/cs4236_lib.c val &= ~0x40; val 917 sound/isa/cs423x/cs4236_lib.c snd_cs4236_ctrl_out(chip, 4, val); val 44 sound/isa/es1688/es1688_lib.c outb(val, ES1688P(chip, COMMAND)); val 48 sound/isa/es1688/es1688_lib.c printk("snd_es1688_dsp_command: timeout (0x%x)\n", val); val 329 sound/isa/es1688/es1688_lib.c int val; val 338 sound/isa/es1688/es1688_lib.c val = snd_es1688_read(chip, 0xb8); val 339 sound/isa/es1688/es1688_lib.c if ((val < 0) || (val & 0x0f) == value) { val 344 sound/isa/es1688/es1688_lib.c printk("trigger: val = 0x%x, value = 0x%x\n", val, value); val 347 sound/isa/es1688/es1688_lib.c snd_es1688_write(chip, 0xb8, (val & 0xf0) | value); val 1010 sound/isa/es1688/es1688_lib.c unsigned char reg, val; val 1025 sound/isa/es1688/es1688_lib.c val = snd_es1688_init_table[idx][1]; val 1027 sound/isa/es1688/es1688_lib.c snd_es1688_mixer_write(chip, reg, val); val 1029 sound/isa/es1688/es1688_lib.c snd_es1688_write(chip, reg, val); val 193 sound/isa/es18xx.c outb(val, chip->port + 0x0C); val 196 sound/isa/es18xx.c snd_printk(KERN_ERR "dsp_command: timeout (0x%x)\n", val); val 274 sound/isa/es18xx.c if (val != oval) { val 278 sound/isa/es18xx.c new = (old & ~mask) | (val & mask); val 330 sound/isa/es18xx.c if (val != oval) { val 331 sound/isa/es18xx.c new = (old & ~mask) | (val & mask); val 1040 sound/isa/es18xx.c unsigned char val = ucontrol->value.enumerated.item[0]; val 1047 sound/isa/es18xx.c if (val > 4) val 1049 sound/isa/es18xx.c if (val == 4) { val 1051 sound/isa/es18xx.c val = 3; val 1057 sound/isa/es18xx.c if (val > 3) val 1059 sound/isa/es18xx.c val = map4Source[val]; val 1064 sound/isa/es18xx.c if (val > 7) val 1070 sound/isa/es18xx.c return (snd_es18xx_mixer_bits(chip, 0x1c, 0x07, val) != val) || retVal; val 1078 sound/isa/es18xx.c unsigned char val = snd_es18xx_mixer_read(chip, 0x50); val 1079 sound/isa/es18xx.c ucontrol->value.integer.value[0] = !!(val & 8); val 1138 sound/isa/es18xx.c return snd_es18xx_mixer_bits(chip, reg, mask, val); val 1140 sound/isa/es18xx.c return snd_es18xx_bits(chip, reg, mask, val); val 1175 sound/isa/es18xx.c int val; val 1177 sound/isa/es18xx.c val = snd_es18xx_reg_read(chip, reg); val 1178 sound/isa/es18xx.c ucontrol->value.integer.value[0] = (val >> shift) & mask; val 1191 sound/isa/es18xx.c unsigned char val; val 1193 sound/isa/es18xx.c val = (ucontrol->value.integer.value[0] & mask); val 1195 sound/isa/es18xx.c val = mask - val; val 1197 sound/isa/es18xx.c val <<= shift; val 1198 sound/isa/es18xx.c return snd_es18xx_reg_bits(chip, reg, mask, val) != val; val 361 sound/isa/gus/gus_main.c unsigned char val, rev; val 367 sound/isa/gus/gus_main.c val = inb(GUSP(gus, REGCNTRLS)); val 370 sound/isa/gus/gus_main.c snd_printdd("GF1 [0x%lx] init - val = 0x%x, rev = 0x%x\n", gus->gf1.port, val, rev); val 373 sound/isa/gus/gus_main.c if ((val != 255 && (val & 0x06)) || (rev >= 5 && rev != 255)) { val 395 sound/isa/gus/gus_main.c snd_printk(KERN_ERR "unknown GF1 revision number at 0x%lx - 0x%x (0x%x)\n", gus->gf1.port, rev, val); val 586 sound/isa/gus/gus_pcm.c int val; val 589 sound/isa/gus/gus_pcm.c val = gus->gf1.pcm_rcntrl_reg; val 591 sound/isa/gus/gus_pcm.c val = 0; val 597 sound/isa/gus/gus_pcm.c snd_gf1_write8(gus, SNDRV_GF1_GB_REC_DMA_CONTROL, val); val 379 sound/isa/opl3sa2.c unsigned short val, oval; val 381 sound/isa/opl3sa2.c val = (ucontrol->value.integer.value[0] & mask); val 383 sound/isa/opl3sa2.c val = mask - val; val 384 sound/isa/opl3sa2.c val <<= shift; val 387 sound/isa/opl3sa2.c val = (oval & ~(mask << shift)) | val; val 388 sound/isa/opl3sa2.c change = val != oval; val 389 sound/isa/opl3sa2.c __snd_opl3sa2_write(chip, reg, val); val 55 sound/isa/sb/emu8000.c outw((unsigned short)val, port); /* Send data */ val 83 sound/isa/sb/emu8000.c outw((unsigned short)val, port); /* Send low word of data */ val 84 sound/isa/sb/emu8000.c outw((unsigned short)(val>>16), port+2); /* Send high word of data */ val 185 sound/isa/sb/emu8000_callback.c int state, val; val 195 sound/isa/sb/emu8000_callback.c val = (EMU8000_CVCF_READ(hw, vp->ch) >> 16) & 0xffff; val 196 sound/isa/sb/emu8000_callback.c if (! val) val 207 sound/isa/sb/emu8000_callback.c val = EMU8000_CCCA_READ(hw, vp->ch) & 0xffffff; val 208 sound/isa/sb/emu8000_callback.c if (val >= vp->reg.loopstart) val 183 sound/isa/sb/emu8000_pcm.c int val = EMU8000_CCCA_READ(rec->emu, ch) & 0xfffffff; val 184 sound/isa/sb/emu8000_pcm.c val -= rec->loop_start[ch] - 1; val 185 sound/isa/sb/emu8000_pcm.c return val; val 504 sound/isa/sb/sb16_csp.c dsp_cmd[1] = val; /* Parameter value */ val 522 sound/isa/sb/sb16_csp.c dsp_cmd[2] = val; /* value */ val 47 sound/isa/sb/sb_common.c snd_printk(KERN_DEBUG "command 0x%x\n", val); val 51 sound/isa/sb/sb_common.c outb(val, SBP(chip, COMMAND)); val 54 sound/isa/sb/sb_common.c snd_printd("%s [0x%lx]: timeout (0x%x)\n", __func__, chip->port, val); val 60 sound/isa/sb/sb_common.c int val; val 64 sound/isa/sb/sb_common.c val = inb(SBP(chip, READ)); val 66 sound/isa/sb/sb_common.c snd_printk(KERN_DEBUG "get_byte 0x%x\n", val); val 68 sound/isa/sb/sb_common.c return val; val 78 sound/isa/sb/sb_mixer.c unsigned char val; val 81 sound/isa/sb/sb_mixer.c val = (snd_sbmixer_read(sb, reg) >> shift) & mask; val 83 sound/isa/sb/sb_mixer.c ucontrol->value.integer.value[0] = val; val 95 sound/isa/sb/sb_mixer.c unsigned char val, oval; val 97 sound/isa/sb/sb_mixer.c val = (ucontrol->value.integer.value[0] & mask) << shift; val 100 sound/isa/sb/sb_mixer.c val = (oval & ~(mask << shift)) | val; val 101 sound/isa/sb/sb_mixer.c change = val != oval; val 103 sound/isa/sb/sb_mixer.c snd_sbmixer_write(sb, reg, val); val 928 sound/isa/sb/sb_mixer.c unsigned char *val = chip->saved_regs; val 932 sound/isa/sb/sb_mixer.c *val++ = snd_sbmixer_read(chip, *regs++); val 937 sound/isa/sb/sb_mixer.c unsigned char *val = chip->saved_regs; val 941 sound/isa/sb/sb_mixer.c snd_sbmixer_write(chip, *regs++, *val++); val 121 sound/isa/sc6000.c unsigned char val = 0; val 125 sound/isa/sc6000.c val = 0x28; val 128 sound/isa/sc6000.c val = 0x8; val 131 sound/isa/sc6000.c val = 0x10; val 134 sound/isa/sc6000.c val = 0x18; val 137 sound/isa/sc6000.c val = 0x20; val 142 sound/isa/sc6000.c return val; val 150 sound/isa/sc6000.c unsigned char val = 0; val 154 sound/isa/sc6000.c val = 1; val 157 sound/isa/sc6000.c val = 2; val 160 sound/isa/sc6000.c val = 3; val 165 sound/isa/sc6000.c return val; val 173 sound/isa/sc6000.c unsigned char val = 0; val 177 sound/isa/sc6000.c val = 4; val 180 sound/isa/sc6000.c val = 0x44; val 183 sound/isa/sc6000.c val = 0x84; val 186 sound/isa/sc6000.c val = 0xc4; val 191 sound/isa/sc6000.c return val; val 197 sound/isa/sc6000.c unsigned char val = 0; val 200 sound/isa/sc6000.c val = ioread8(vport + DSP_DATAVAIL); val 201 sound/isa/sc6000.c if (val & 0x80) val 220 sound/isa/sc6000.c unsigned char val; val 224 sound/isa/sc6000.c val = ioread8(vport + DSP_STATUS); val 228 sound/isa/sc6000.c if (!(val & 0x80)) { val 251 sound/isa/sc6000.c int val = sc6000_read(vport); val 253 sound/isa/sc6000.c if (val < 0) val 256 sound/isa/sc6000.c data[len++] = val; val 103 sound/isa/sgalaxy.c outb(val, SBP1(port, COMMAND)); val 219 sound/isa/sscape.c outb(val, ODIE_DATA_IO(io_base)); val 231 sound/isa/sscape.c sscape_write_unsafe(s->io_base, reg, val); val 1077 sound/isa/sscape.c int val; val 1097 sound/isa/sscape.c val = snd_wss_in(chip, AD1845_PWR_DOWN_CTRL); val 1099 sound/isa/sscape.c val | AD1845_FREQ_SEL_ENABLE); val 1269 sound/isa/wavefront/wavefront_synth.c int val; val 1271 sound/isa/wavefront/wavefront_synth.c if ((val = wavefront_read (dev)) == -1) { val 1276 sound/isa/wavefront/wavefront_synth.c d[0] = val; val 1278 sound/isa/wavefront/wavefront_synth.c if ((val = wavefront_read (dev)) == -1) { val 1283 sound/isa/wavefront/wavefront_synth.c d[1] = val; val 1780 sound/isa/wavefront/wavefront_synth.c outb (val,port); val 166 sound/isa/wss/wss_lib.c outb(val, chip->port + offset); val 252 sound/isa/wss/wss_lib.c wss_outb(chip, CS4231P(REG), val); val 253 sound/isa/wss/wss_lib.c chip->eimage[CS4236_REG(reg)] = val; val 255 sound/isa/wss/wss_lib.c printk("ext out : reg = 0x%x, val = 0x%x\n", reg, val); val 2049 sound/isa/wss/wss_lib.c unsigned short val; val 2051 sound/isa/wss/wss_lib.c val = (ucontrol->value.integer.value[0] & mask); val 2053 sound/isa/wss/wss_lib.c val = mask - val; val 2054 sound/isa/wss/wss_lib.c val <<= shift; val 2056 sound/isa/wss/wss_lib.c val = (chip->image[reg] & ~(mask << shift)) | val; val 2057 sound/isa/wss/wss_lib.c change = val != chip->image[reg]; val 2058 sound/isa/wss/wss_lib.c snd_wss_out(chip, reg, val); val 361 sound/mips/ad1843.c int val = ad1843_read_bits(ad1843, &ad1843_LSS); val 363 sound/mips/ad1843.c if (val < 0 || val > 2) { val 364 sound/mips/ad1843.c val = 2; val 366 sound/mips/ad1843.c &ad1843_LSS, val, &ad1843_RSS, val); val 368 sound/mips/ad1843.c return val; val 548 sound/mips/au1x00.c cmd |= ((u32) val << AC97C_WD_BIT); val 110 sound/mips/hal2.c __raw_writel(val, reg); val 132 sound/mips/hal2.c hal2_write(val, ®s->idr0); val 144 sound/mips/hal2.c hal2_write(val & 0xffff, ®s->idr0); val 145 sound/mips/hal2.c hal2_write(val >> 16, ®s->idr1); val 119 sound/mips/sgio2audio.c int val; val 127 sound/mips/sgio2audio.c val = readq(&mace->perif.audio.codec_control); /* flush bus */ val 130 sound/mips/sgio2audio.c val = readq(&mace->perif.audio.codec_read); val 133 sound/mips/sgio2audio.c return val; val 142 sound/mips/sgio2audio.c int val; val 151 sound/mips/sgio2audio.c val = readq(&mace->perif.audio.codec_control); /* flush bus */ val 277 sound/oss/ac97_codec.c u16 val; val 282 sound/oss/ac97_codec.c val = codec->codec_read(codec , mh->offset); val 284 sound/oss/ac97_codec.c if (val & AC97_MUTE) { val 290 sound/oss/ac97_codec.c left = (val >> 8) & 0x7f; val 291 sound/oss/ac97_codec.c right = val & 0x7f; val 308 sound/oss/ac97_codec.c ret = 100 - ((((val & 0x1e)>>1) * 100) / mh->scale); val 310 sound/oss/ac97_codec.c ret = 100 - (((val & 0x1f) * 100) / mh->scale); val 313 sound/oss/ac97_codec.c ret = 100 - (((val & 0x1f) * 100) / scale); val 315 sound/oss/ac97_codec.c ret = 100 - (((val & 0x1f) * 100) / mh->scale); val 319 sound/oss/ac97_codec.c ret = 100 - ((((val >> 8) & 0xe) * 100) / mh->scale); val 321 sound/oss/ac97_codec.c ret = 100 - (((val & 0xe) * 100) / mh->scale); val 328 sound/oss/ac97_codec.c mh->offset, val, ret); val 339 sound/oss/ac97_codec.c u16 val = 0; val 353 sound/oss/ac97_codec.c val = AC97_MUTE; val 377 sound/oss/ac97_codec.c val = (left << 8) | right; val 380 sound/oss/ac97_codec.c val = codec->codec_read(codec , mh->offset) & ~0x0f00; val 384 sound/oss/ac97_codec.c val |= (left << 8) & 0x0e00; val 386 sound/oss/ac97_codec.c val = codec->codec_read(codec , mh->offset) & ~0x000f; val 390 sound/oss/ac97_codec.c val |= left & 0x000e; val 392 sound/oss/ac97_codec.c val = AC97_MUTE; val 397 sound/oss/ac97_codec.c val = left << 1; val 402 sound/oss/ac97_codec.c val = left; val 408 sound/oss/ac97_codec.c val = left; val 410 sound/oss/ac97_codec.c val = codec->codec_read(codec , mh->offset) & ~0x801f; val 414 sound/oss/ac97_codec.c val |= left; val 419 sound/oss/ac97_codec.c printk(" 0x%04x", val); val 422 sound/oss/ac97_codec.c codec->codec_write(codec, mh->offset, val); val 425 sound/oss/ac97_codec.c val = codec->codec_read(codec, mh->offset); val 426 sound/oss/ac97_codec.c printk(" -> 0x%04x\n", val); val 436 sound/oss/ac97_codec.c right = ((val >> 8) & 0xff) ; val 437 sound/oss/ac97_codec.c left = (val & 0xff) ; val 452 sound/oss/ac97_codec.c unsigned int val; val 456 sound/oss/ac97_codec.c val = codec->codec_read(codec, AC97_RECORD_SELECT); val 458 sound/oss/ac97_codec.c printk("ac97_codec: ac97 recmask to set to 0x%04x\n", val); val 460 sound/oss/ac97_codec.c return (1 << ac97_rm2oss[val & 0x07]); val 466 sound/oss/ac97_codec.c val = (1 << ac97_rm2oss[codec->codec_read(codec, AC97_RECORD_SELECT) & 0x07]); val 467 sound/oss/ac97_codec.c if (mask != val) val 468 sound/oss/ac97_codec.c mask &= ~val; val 470 sound/oss/ac97_codec.c val = ffs(mask); val 471 sound/oss/ac97_codec.c val = ac97_oss_rm[val-1]; val 472 sound/oss/ac97_codec.c val |= val << 8; /* set both channels */ val 475 sound/oss/ac97_codec.c printk("ac97_codec: setting ac97 recmask to 0x%04x\n", val); val 478 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_RECORD_SELECT, val); val 485 sound/oss/ac97_codec.c int i, val = 0; val 517 sound/oss/ac97_codec.c val = 0; val 519 sound/oss/ac97_codec.c val = codec->recmask_io(codec, 1, 0); val 524 sound/oss/ac97_codec.c val = codec->supported_mixers; val 528 sound/oss/ac97_codec.c val = codec->record_sources; val 532 sound/oss/ac97_codec.c val = codec->stereo_mixers; val 536 sound/oss/ac97_codec.c val = SOUND_CAP_EXCL_INPUT; val 547 sound/oss/ac97_codec.c val = codec->mixer_state[i]; val 550 sound/oss/ac97_codec.c return put_user(val, (int __user *)arg); val 555 sound/oss/ac97_codec.c if (get_user(val, (int __user *)arg)) val 561 sound/oss/ac97_codec.c if (!val) return 0; val 562 sound/oss/ac97_codec.c if (!(val &= codec->record_sources)) return -EINVAL; val 564 sound/oss/ac97_codec.c codec->recmask_io(codec, 0, val); val 573 sound/oss/ac97_codec.c ac97_set_mixer(codec, i, val); val 416 sound/oss/ad1848.c unsigned char val; val 435 sound/oss/ad1848.c val = ad_read(devc, devc->mix_devices[i][j].recreg); val 436 sound/oss/ad1848.c val &= ~(1 << devc->mix_devices[i][j].recpos); val 437 sound/oss/ad1848.c val |= (set_rec_bit << devc->mix_devices[i][j].recpos); val 438 sound/oss/ad1848.c ad_write(devc, devc->mix_devices[i][j].recreg, val); val 509 sound/oss/ad1848.c unsigned char val, muteval; val 514 sound/oss/ad1848.c val = ad_read(devc, regoffs); val 518 sound/oss/ad1848.c change_bits(devc, &val, &muteval, dev, channel, value); val 521 sound/oss/ad1848.c change_bits(devc, &val, &val, dev, channel, value); val 524 sound/oss/ad1848.c ad_write(devc, regoffs, val); val 525 sound/oss/ad1848.c devc->saved_regs[regoffs] = val; val 674 sound/oss/ad1848.c int val; val 678 sound/oss/ad1848.c if (get_user(val, (int __user *)arg)) val 681 sound/oss/ad1848.c if (val != 0xffff) val 684 sound/oss/ad1848.c val &= (AUDIO_SPEAKER | AUDIO_HEADPHONE | AUDIO_LINE_OUT); val 685 sound/oss/ad1848.c devc->mixer_output_port = val; val 686 sound/oss/ad1848.c val |= AUDIO_HEADPHONE | AUDIO_LINE_OUT; /* Always on */ val 687 sound/oss/ad1848.c devc->mixer_output_port = val; val 689 sound/oss/ad1848.c if (val & AUDIO_SPEAKER) val 695 sound/oss/ad1848.c val = devc->mixer_output_port; val 696 sound/oss/ad1848.c return put_user(val, (int __user *)arg); val 700 sound/oss/ad1848.c if (get_user(val, (int __user *)arg)) val 702 sound/oss/ad1848.c return(ad1848_control(AD1848_MIXER_REROUTE, val)); val 711 sound/oss/ad1848.c if (get_user(val, (int __user *)arg)) val 713 sound/oss/ad1848.c val = ad1848_set_recmask(devc, val); val 717 sound/oss/ad1848.c if (get_user(val, (int __user *)arg)) val 719 sound/oss/ad1848.c val = ad1848_mixer_set(devc, cmd & 0xff, val); val 722 sound/oss/ad1848.c return put_user(val, (int __user *)arg); val 733 sound/oss/ad1848.c val = devc->recmask; val 737 sound/oss/ad1848.c val = devc->supported_devices; val 741 sound/oss/ad1848.c val = devc->supported_devices; val 743 sound/oss/ad1848.c val &= ~(SOUND_MASK_SPEAKER | SOUND_MASK_IMIX); val 747 sound/oss/ad1848.c val = devc->supported_rec_devices; val 751 sound/oss/ad1848.c val=SOUND_CAP_EXCL_INPUT; val 755 sound/oss/ad1848.c val = ad1848_mixer_get(devc, cmd & 0xff); val 758 sound/oss/ad1848.c return put_user(val, (int __user *)arg); val 353 sound/oss/aedsp16.c if (val == 0x240) \ val 358 sound/oss/aedsp16.c if (val == 1) \ val 363 sound/oss/aedsp16.c switch (val) { \ val 383 sound/oss/aedsp16.c if (val == 0xE80) \ val 388 sound/oss/aedsp16.c if (val == 1) \ val 392 sound/oss/aedsp16.c int tmp = val; \ val 438 sound/oss/aedsp16.c int val; /* irq|mirq|dma */ val 744 sound/oss/aedsp16.c int extcfg, val; val 775 sound/oss/aedsp16.c if ((val = aedsp16_read(port)) == -1) { val 780 sound/oss/aedsp16.c val &= 0x7F; val 785 sound/oss/aedsp16.c if (aedsp16_write(port, val)) { val 837 sound/oss/aedsp16.c int val = 0; val 849 sound/oss/aedsp16.c if ((val = aedsp16_read(port)) == -1) { val 885 sound/oss/aedsp16.c if (aedsp16_write(port, val)) { val 886 sound/oss/aedsp16.c printk("[AEDSP16] DATA 0x%x: failed!\n", val); val 1012 sound/oss/aedsp16.c if (orIRQ[i].val == ae_config.irq) { val 1022 sound/oss/aedsp16.c if (orDMA[i].val == ae_config.dma) { val 185 sound/oss/au1550_ac97.c u32 cmd, val; val 192 sound/oss/au1550_ac97.c val = au_readl(PSC_AC97STAT); val 194 sound/oss/au1550_ac97.c if (!(val & PSC_AC97STAT_CP)) val 208 sound/oss/au1550_ac97.c val = au_readl(PSC_AC97STAT); val 210 sound/oss/au1550_ac97.c if (!(val & PSC_AC97STAT_CP)) val 222 sound/oss/au1550_ac97.c val = au_readl(PSC_AC97EVNT); val 224 sound/oss/au1550_ac97.c if (val & PSC_AC97EVNT_CD) val 253 sound/oss/au1550_ac97.c u32 cmd, val; val 259 sound/oss/au1550_ac97.c val = au_readl(PSC_AC97STAT); val 261 sound/oss/au1550_ac97.c if (!(val & PSC_AC97STAT_CP)) val 273 sound/oss/au1550_ac97.c val = au_readl(PSC_AC97STAT); val 275 sound/oss/au1550_ac97.c if (!(val & PSC_AC97STAT_CP)) val 282 sound/oss/au1550_ac97.c val = au_readl(PSC_AC97EVNT); val 284 sound/oss/au1550_ac97.c if (val & PSC_AC97EVNT_CD) val 302 sound/oss/au1550_ac97.c u32 val; val 313 sound/oss/au1550_ac97.c val = au_readl(PSC_AC97STAT); val 315 sound/oss/au1550_ac97.c if (val & PSC_AC97STAT_CR) val 1350 sound/oss/au1550_ac97.c int val, mapped, ret, diff; val 1400 sound/oss/au1550_ac97.c if (get_user(val, (int *) arg)) val 1402 sound/oss/au1550_ac97.c if (val >= 0) { val 1405 sound/oss/au1550_ac97.c set_adc_rate(s, val); val 1409 sound/oss/au1550_ac97.c set_dac_rate(s, val); val 1424 sound/oss/au1550_ac97.c if (get_user(val, (int *) arg)) val 1428 sound/oss/au1550_ac97.c s->dma_adc.num_channels = val ? 2 : 1; val 1434 sound/oss/au1550_ac97.c s->dma_dac.num_channels = val ? 2 : 1; val 1451 sound/oss/au1550_ac97.c if (get_user(val, (int *) arg)) val 1453 sound/oss/au1550_ac97.c if (val != 0) { val 1455 sound/oss/au1550_ac97.c if (val < 0 || val > 2) val 1458 sound/oss/au1550_ac97.c s->dma_adc.num_channels = val; val 1463 sound/oss/au1550_ac97.c switch (val) { val 1485 sound/oss/au1550_ac97.c if (val <= 2 && val 1498 sound/oss/au1550_ac97.c } else if (val >= 4) { val 1506 sound/oss/au1550_ac97.c if (val == 6) val 1515 sound/oss/au1550_ac97.c s->dma_dac.num_channels = val; val 1520 sound/oss/au1550_ac97.c return put_user(val, (int *) arg); val 1526 sound/oss/au1550_ac97.c if (get_user(val, (int *) arg)) val 1528 sound/oss/au1550_ac97.c if (val != AFMT_QUERY) { val 1531 sound/oss/au1550_ac97.c if (val == AFMT_S16_LE) val 1534 sound/oss/au1550_ac97.c val = AFMT_U8; val 1542 sound/oss/au1550_ac97.c if (val == AFMT_S16_LE) val 1545 sound/oss/au1550_ac97.c val = AFMT_U8; val 1553 sound/oss/au1550_ac97.c val = (s->dma_adc.sample_size == 16) ? val 1556 sound/oss/au1550_ac97.c val = (s->dma_dac.sample_size == 16) ? val 1559 sound/oss/au1550_ac97.c return put_user(val, (int *) arg); val 1565 sound/oss/au1550_ac97.c val = 0; val 1568 sound/oss/au1550_ac97.c val |= PCM_ENABLE_INPUT; val 1570 sound/oss/au1550_ac97.c val |= PCM_ENABLE_OUTPUT; val 1572 sound/oss/au1550_ac97.c return put_user(val, (int *) arg); val 1575 sound/oss/au1550_ac97.c if (get_user(val, (int *) arg)) val 1578 sound/oss/au1550_ac97.c if (val & PCM_ENABLE_INPUT) { val 1586 sound/oss/au1550_ac97.c if (val & PCM_ENABLE_OUTPUT) { val 1698 sound/oss/au1550_ac97.c if (get_user(val, (int *) arg)) val 1702 sound/oss/au1550_ac97.c s->dma_adc.ossfragshift = val & 0xffff; val 1703 sound/oss/au1550_ac97.c s->dma_adc.ossmaxfrags = (val >> 16) & 0xffff; val 1715 sound/oss/au1550_ac97.c s->dma_dac.ossfragshift = val & 0xffff; val 1716 sound/oss/au1550_ac97.c s->dma_dac.ossmaxfrags = (val >> 16) & 0xffff; val 1732 sound/oss/au1550_ac97.c if (get_user(val, (int *) arg)) val 1734 sound/oss/au1550_ac97.c if (val != 1 && val != 2 && val != 4) val 1738 sound/oss/au1550_ac97.c s->dma_adc.subdivision = val; val 1744 sound/oss/au1550_ac97.c s->dma_dac.subdivision = val; val 1902 sound/oss/au1550_ac97.c int val; val 2002 sound/oss/au1550_ac97.c val = au_readl(PSC_AC97STAT); val 2004 sound/oss/au1550_ac97.c } while ((val & PSC_AC97STAT_SR) == 0); val 2009 sound/oss/au1550_ac97.c val = PSC_AC97CFG_SET_LEN(16); val 2010 sound/oss/au1550_ac97.c val |= PSC_AC97CFG_RT_FIFO8 | PSC_AC97CFG_TT_FIFO8; val 2015 sound/oss/au1550_ac97.c au_writel(val, PSC_AC97CFG); val 2018 sound/oss/au1550_ac97.c val |= PSC_AC97CFG_DE_ENABLE; val 2019 sound/oss/au1550_ac97.c au_writel(val, PSC_AC97CFG); val 2025 sound/oss/au1550_ac97.c val = au_readl(PSC_AC97STAT); val 2027 sound/oss/au1550_ac97.c } while ((val & PSC_AC97STAT_DR) == 0); val 2054 sound/oss/au1550_ac97.c val = SOUND_MASK_MIC; val 2056 sound/oss/au1550_ac97.c (unsigned long) &val); val 370 sound/oss/audio.c int val, count; val 412 sound/oss/audio.c val = audio_devs[dev]->format_mask | AFMT_MU_LAW; val 416 sound/oss/audio.c if (get_user(val, p)) val 418 sound/oss/audio.c val = set_format(dev, val); val 440 sound/oss/audio.c val = 1 | DSP_CAP_MMAP; /* Revision level of this ioctl() */ val 443 sound/oss/audio.c val |= DSP_CAP_DUPLEX; val 445 sound/oss/audio.c val |= DSP_CAP_COPROC; val 447 sound/oss/audio.c val |= DSP_CAP_BATCH; val 449 sound/oss/audio.c val |= DSP_CAP_TRIGGER; val 453 sound/oss/audio.c if (get_user(val, p)) val 455 sound/oss/audio.c val = audio_devs[dev]->d->set_speed(dev, val); val 459 sound/oss/audio.c val = audio_devs[dev]->d->set_speed(dev, 0); val 463 sound/oss/audio.c if (get_user(val, p)) val 465 sound/oss/audio.c if (val > 1 || val < 0) val 467 sound/oss/audio.c val = audio_devs[dev]->d->set_channels(dev, val + 1) - 1; val 471 sound/oss/audio.c if (get_user(val, p)) val 473 sound/oss/audio.c val = audio_devs[dev]->d->set_channels(dev, val); val 477 sound/oss/audio.c val = audio_devs[dev]->d->set_channels(dev, 0); val 481 sound/oss/audio.c val = audio_devs[dev]->d->set_bits(dev, 0); val 490 sound/oss/audio.c if (get_user(val, p)) val 493 sound/oss/audio.c audio_devs[dev]->dmap_out->applic_profile = val; val 495 sound/oss/audio.c audio_devs[dev]->dmap_in->applic_profile = val; val 504 sound/oss/audio.c val=0; val 520 sound/oss/audio.c val = count; val 526 sound/oss/audio.c return put_user(val, p); val 959 sound/oss/dmasound/dmasound_core.c int val, result; val 1111 sound/oss/dmasound/dmasound_core.c val = dmasound.mach.capabilities & 0xffffff00; val 1112 sound/oss/dmasound/dmasound_core.c return IOCTL_OUT(arg,val); val 364 sound/oss/midibuf.c int val; val 380 sound/oss/midibuf.c if (get_user(val, (int __user *)arg)) val 382 sound/oss/midibuf.c if (val < 0) val 383 sound/oss/midibuf.c val = 0; val 384 sound/oss/midibuf.c val = (HZ * val) / 10; val 385 sound/oss/midibuf.c parms[dev].prech_timeout = val; val 386 sound/oss/midibuf.c return put_user(val, (int __user *)arg); val 726 sound/oss/mpu401.c int val, ret; val 736 sound/oss/mpu401.c if (get_user(val, (int __user *)arg)) val 738 sound/oss/mpu401.c set_uart_mode(dev, devc, !val); val 1266 sound/oss/mpu401.c if (val < 48) val 1267 sound/oss/mpu401.c val = 48; val 1268 sound/oss/mpu401.c if (val > 1000) val 1269 sound/oss/mpu401.c val = 1000; val 1271 sound/oss/mpu401.c hw_val = val; val 1282 sound/oss/mpu401.c curr_timebase = val; val 1537 sound/oss/mpu401.c int val; val 1538 sound/oss/mpu401.c if (get_user(val, p)) val 1540 sound/oss/mpu401.c if (val) val 1541 sound/oss/mpu401.c set_timebase(midi_dev, val); val 1550 sound/oss/mpu401.c int val; val 1553 sound/oss/mpu401.c if (get_user(val, p)) val 1556 sound/oss/mpu401.c if (val) val 1558 sound/oss/mpu401.c if (val < 8) val 1559 sound/oss/mpu401.c val = 8; val 1560 sound/oss/mpu401.c if (val > 250) val 1561 sound/oss/mpu401.c val = 250; val 1562 sound/oss/mpu401.c if ((ret = mpu_cmd(midi_dev, 0xE0, val)) < 0) val 1564 sound/oss/mpu401.c printk(KERN_WARNING "mpu401: Can't set tempo to %d\n", (int) val); val 1567 sound/oss/mpu401.c curr_tempo = val; val 1577 sound/oss/mpu401.c int val; val 1578 sound/oss/mpu401.c if (get_user(val, p)) val 1581 sound/oss/mpu401.c if (val != 0) /* Can't change */ val 1583 sound/oss/mpu401.c val = ((curr_tempo * curr_timebase) + 30)/60; val 1584 sound/oss/mpu401.c if (put_user(val, p)) val 1586 sound/oss/mpu401.c return val; val 170 sound/oss/msnd_pinnacle.c switch (val) { val 173 sound/oss/msnd_pinnacle.c data = val; val 205 sound/oss/msnd_pinnacle.c int val, i, data, tmp; val 265 sound/oss/msnd_pinnacle.c val = AFMT_S16_LE | AFMT_U8; val 266 sound/oss/msnd_pinnacle.c if (put_user(val, p)) val 271 sound/oss/msnd_pinnacle.c if (get_user(val, p)) val 275 sound/oss/msnd_pinnacle.c data = val == AFMT_QUERY val 277 sound/oss/msnd_pinnacle.c : dsp_set_format(file, val); val 279 sound/oss/msnd_pinnacle.c data = val == AFMT_QUERY val 281 sound/oss/msnd_pinnacle.c : dsp_set_format(file, val); val 296 sound/oss/msnd_pinnacle.c val = DSP_CAP_DUPLEX | DSP_CAP_BATCH; val 297 sound/oss/msnd_pinnacle.c if (put_user(val, p)) val 302 sound/oss/msnd_pinnacle.c if (get_user(val, p)) val 305 sound/oss/msnd_pinnacle.c if (val < 8000) val 306 sound/oss/msnd_pinnacle.c val = 8000; val 308 sound/oss/msnd_pinnacle.c if (val > 48000) val 309 sound/oss/msnd_pinnacle.c val = 48000; val 311 sound/oss/msnd_pinnacle.c data = val; val 330 sound/oss/msnd_pinnacle.c if (get_user(val, p)) val 334 sound/oss/msnd_pinnacle.c switch (val) { val 337 sound/oss/msnd_pinnacle.c data = val; val 340 sound/oss/msnd_pinnacle.c val = data = 2; val 344 sound/oss/msnd_pinnacle.c switch (val) { val 349 sound/oss/msnd_pinnacle.c val = 1; val 367 sound/oss/msnd_pinnacle.c if (put_user(val, p)) val 577 sound/oss/msnd_pinnacle.c int val = 0; val 582 sound/oss/msnd_pinnacle.c if (get_user(val, (int __user *)arg)) val 584 sound/oss/msnd_pinnacle.c val = set_recsrc(val); val 588 sound/oss/msnd_pinnacle.c if (get_user(val, (int __user *)arg)) val 590 sound/oss/msnd_pinnacle.c val = mixer_set(cmd & 0xff, val); val 594 sound/oss/msnd_pinnacle.c return put_user(val, (int __user *)arg); val 598 sound/oss/msnd_pinnacle.c val = dev.recsrc; val 603 sound/oss/msnd_pinnacle.c val = SOUND_MASK_PCM | val 616 sound/oss/msnd_pinnacle.c val = 0; val 618 sound/oss/msnd_pinnacle.c val = SOUND_MASK_IMIX | val 621 sound/oss/msnd_pinnacle.c val |= SOUND_MASK_DIGITAL1; val 626 sound/oss/msnd_pinnacle.c val = SOUND_CAP_EXCL_INPUT; val 630 sound/oss/msnd_pinnacle.c if ((val = mixer_get(cmd & 0xff)) < 0) val 636 sound/oss/msnd_pinnacle.c return put_user(val, (int __user *)arg); val 735 sound/oss/opl3.c outb(((unsigned char) (val & 0xff)), io_addr + 1); val 156 sound/oss/pas2_pcm.c int val, ret; val 164 sound/oss/pas2_pcm.c if (get_user(val, p)) val 166 sound/oss/pas2_pcm.c ret = pcm_set_speed(val); val 174 sound/oss/pas2_pcm.c if (get_user(val, p)) val 176 sound/oss/pas2_pcm.c ret = pcm_set_channels(val + 1) - 1; val 180 sound/oss/pas2_pcm.c if (get_user(val, p)) val 182 sound/oss/pas2_pcm.c ret = pcm_set_channels(val); val 190 sound/oss/pas2_pcm.c if (get_user(val, p)) val 192 sound/oss/pas2_pcm.c ret = pcm_set_bits(val); val 280 sound/oss/pss.c int i, val; val 284 sound/oss/pss.c val = inw(REG(PSS_STATUS)); val 285 sound/oss/pss.c if (val & PSS_WRITE_EMPTY) val 296 sound/oss/pss.c int i, val; val 300 sound/oss/pss.c val = inw(REG(PSS_STATUS)); val 301 sound/oss/pss.c if (val & PSS_READ_FULL) val 312 sound/oss/pss.c int i, val, count; val 373 sound/oss/pss.c val = inw(REG(PSS_STATUS)); val 378 sound/oss/pss.c val = inw(REG(PSS_STATUS)); val 379 sound/oss/pss.c if (val & 0x4000) val 386 sound/oss/pss.c val = inw(REG(PSS_STATUS)); val 387 sound/oss/pss.c if (val & PSS_READ_FULL) val 393 sound/oss/pss.c val = inw(REG(PSS_DATA)); val 577 sound/oss/pss.c int val, and_mask = 0, or_mask = 0; val 631 sound/oss/pss.c if (get_user(val, (int __user *)arg)) val 633 sound/oss/pss.c val &= and_mask; val 634 sound/oss/pss.c val |= or_mask; val 635 sound/oss/pss.c if (put_user(val, (int __user *)arg)) val 637 sound/oss/pss.c return val; val 104 sound/oss/sb_common.c outb((val), DSP_COMMAND); val 108 sound/oss/sb_common.c printk(KERN_WARNING "Sound Blaster: DSP command(%x) timeout.\n", val); val 949 sound/oss/sb_common.c unsigned int val; val 958 sound/oss/sb_common.c val = inb(MIXER_DATA); val 963 sound/oss/sb_common.c return val; val 972 sound/oss/sb_common.c value = (value & ~mask) | (val & mask); val 988 sound/oss/sb_common.c outb((val), base); /* Data */ val 996 sound/oss/sb_common.c unsigned char val; val 1002 sound/oss/sb_common.c val = inb(base); /* Data */ val 1005 sound/oss/sb_common.c return val; val 282 sound/oss/sb_ess.c value = (value & ~mask) | (val & mask); val 980 sound/oss/sb_ess.c unsigned int val; val 987 sound/oss/sb_ess.c val = inb(MIXER_DATA) << 8; val 989 sound/oss/sb_ess.c val |= inb(MIXER_DATA); val 993 sound/oss/sb_ess.c return val; val 1593 sound/oss/sb_ess.c unsigned int val; val 1599 sound/oss/sb_ess.c val = ess_read (devc, port); val 1604 sound/oss/sb_ess.c val = inb(MIXER_DATA); val 1609 sound/oss/sb_ess.c return val; val 1618 sound/oss/sb_ess.c value = (value & ~mask) | (val & mask); val 274 sound/oss/sb_mixer.c unsigned char val; val 284 sound/oss/sb_mixer.c val = sb_getmixer(devc, regoffs); val 285 sound/oss/sb_mixer.c change_bits(devc, &val, dev, LEFT_CHN, left); val 291 sound/oss/sb_mixer.c sb_setmixer(devc, regoffs, val); /* val 301 sound/oss/sb_mixer.c val = sb_getmixer(devc, regoffs); /* val 305 sound/oss/sb_mixer.c change_bits(devc, &val, dev, RIGHT_CHN, right); val 307 sound/oss/sb_mixer.c sb_setmixer(devc, regoffs, val); val 314 sound/oss/sb_mixer.c int reg, val; val 327 sound/oss/sb_mixer.c val = ((devc->levels[SOUND_MIXER_TREBLE] & 0xff) * 16 / (unsigned) 100) << 4; val 328 sound/oss/sb_mixer.c val |= ((devc->levels[SOUND_MIXER_BASS] & 0xff) * 16 / (unsigned) 100) & 0x0f; val 329 sound/oss/sb_mixer.c sb_setmixer(devc, 0x0d, val); val 332 sound/oss/sb_mixer.c val = (((devc->levels[SOUND_MIXER_TREBLE] >> 8) & 0xff) * 16 / (unsigned) 100) << 4; val 333 sound/oss/sb_mixer.c val |= (((devc->levels[SOUND_MIXER_BASS] >> 8) & 0xff) * 16 / (unsigned) 100) & 0x0f; val 334 sound/oss/sb_mixer.c sb_setmixer(devc, 0x0e, val); val 534 sound/oss/sb_mixer.c int val, ret; val 545 sound/oss/sb_mixer.c if (get_user(val, p)) val 547 sound/oss/sb_mixer.c sb_setmixer(devc, 0x43, (~val) & 0x01); val 556 sound/oss/sb_mixer.c if (get_user(val, p)) val 558 sound/oss/sb_mixer.c if (val == 0 || val == 1) val 559 sound/oss/sb_mixer.c sb_chgmixer(devc, AWE_3DSE, 0x01, val); val 560 sound/oss/sb_mixer.c else if (val == 2) val 574 sound/oss/sb_mixer.c if (get_user(val, p)) val 579 sound/oss/sb_mixer.c ret = set_recmask(devc, val); val 583 sound/oss/sb_mixer.c ret = set_outmask(devc, val); val 587 sound/oss/sb_mixer.c ret = sb_mixer_set(devc, cmd & 0xff, val); val 571 sound/oss/sequencer.c int val = w14 & 0x7f; val 576 sound/oss/sequencer.c val = ((synth_devs[dev]-> val 588 sound/oss/sequencer.c synth_devs[dev]->controller(dev, i, p1, val); val 1326 sound/oss/sequencer.c int midi_dev, orig_dev, val, err; val 1358 sound/oss/sequencer.c val = pending_timer; val 1392 sound/oss/sequencer.c val = iqlen; val 1398 sound/oss/sequencer.c val = SEQ_MAX_QUEUE - qlen; val 1404 sound/oss/sequencer.c val = jiffies - seq_time; val 1414 sound/oss/sequencer.c if (get_user(val, p)) val 1416 sound/oss/sequencer.c if (val != 0) val 1418 sound/oss/sequencer.c val = HZ; val 1433 sound/oss/sequencer.c val = max_synthdev; val 1437 sound/oss/sequencer.c val = max_mididev; val 1447 sound/oss/sequencer.c val = synth_devs[dev]->ioctl(dev, cmd, arg); val 1499 sound/oss/sequencer.c if (get_user(val, p)) val 1501 sound/oss/sequencer.c if (val < 1) val 1502 sound/oss/sequencer.c val = 1; val 1503 sound/oss/sequencer.c if (val >= SEQ_MAX_QUEUE) val 1504 sound/oss/sequencer.c val = SEQ_MAX_QUEUE - 1; val 1505 sound/oss/sequencer.c output_threshold = val; val 1509 sound/oss/sequencer.c if (get_user(val, p)) val 1511 sound/oss/sequencer.c if (val < 0) val 1512 sound/oss/sequencer.c val = 0; val 1513 sound/oss/sequencer.c val = (HZ * val) / 10; val 1514 sound/oss/sequencer.c pre_event_timeout = val; val 1528 sound/oss/sequencer.c return put_user(val, p); val 117 sound/oss/sh_dac_audio.c int val; val 145 sound/oss/sh_dac_audio.c val = *(int *)arg; val 146 sound/oss/sh_dac_audio.c if (val > 0) { val 147 sound/oss/sh_dac_audio.c rate = val; val 184 sound/oss/sound_timer.c int val; val 189 sound/oss/sound_timer.c val = TMR_INTERNAL; val 206 sound/oss/sound_timer.c if (get_user(val, p)) val 208 sound/oss/sound_timer.c if (val) val 210 sound/oss/sound_timer.c if (val < 1) val 211 sound/oss/sound_timer.c val = 1; val 212 sound/oss/sound_timer.c if (val > 1000) val 213 sound/oss/sound_timer.c val = 1000; val 214 sound/oss/sound_timer.c curr_timebase = val; val 216 sound/oss/sound_timer.c val = curr_timebase; val 220 sound/oss/sound_timer.c if (get_user(val, p)) val 222 sound/oss/sound_timer.c if (val) val 224 sound/oss/sound_timer.c if (val < 8) val 225 sound/oss/sound_timer.c val = 8; val 226 sound/oss/sound_timer.c if (val > 250) val 227 sound/oss/sound_timer.c val = 250; val 231 sound/oss/sound_timer.c curr_tempo = val; val 234 sound/oss/sound_timer.c val = curr_tempo; val 238 sound/oss/sound_timer.c if (get_user(val, p)) val 240 sound/oss/sound_timer.c if (val != 0) /* Can't change */ val 242 sound/oss/sound_timer.c val = ((curr_tempo * curr_timebase) + 30) / 60; val 246 sound/oss/sound_timer.c val = curr_ticks; val 253 sound/oss/sound_timer.c return put_user(val, p); val 166 sound/oss/sscape.c unsigned char val; val 170 sound/oss/sscape.c val = inb(PORT(ODIE_DATA)); val 172 sound/oss/sscape.c return val; val 1176 sound/oss/swarm_cs4297a.c int i, val; val 1203 sound/oss/swarm_cs4297a.c if (get_user(val, (unsigned long *) arg)) val 1205 sound/oss/swarm_cs4297a.c cs_debugmask = val; val 1209 sound/oss/swarm_cs4297a.c if (get_user(val, (unsigned long *) arg)) val 1211 sound/oss/swarm_cs4297a.c cs_debuglevel = val; val 1226 sound/oss/swarm_cs4297a.c if (get_user(val, (int *) arg)) val 1228 sound/oss/swarm_cs4297a.c if (val != -1) { val 1229 sound/oss/swarm_cs4297a.c temp1 = (val & 0x3f) >> 2; val 1310 sound/oss/swarm_cs4297a.c if (get_user(val, (int *) arg)) val 1312 sound/oss/swarm_cs4297a.c i = hweight32(val); // i = # bits on in val. val 1316 sound/oss/swarm_cs4297a.c if (val == mixer_src[i]) { val 1327 sound/oss/swarm_cs4297a.c if (get_user(val, (int *) arg)) val 1329 sound/oss/swarm_cs4297a.c l = val & 0xff; val 1338 sound/oss/swarm_cs4297a.c r = (val >> 8) & 0xff; val 1360 sound/oss/swarm_cs4297a.c s->mix.vol[8] = val; val 1365 sound/oss/swarm_cs4297a.c if (get_user(val, (int *) arg)) val 1367 sound/oss/swarm_cs4297a.c l = val & 0xff; val 1390 sound/oss/swarm_cs4297a.c s->mix.vol[6] = val; val 1395 sound/oss/swarm_cs4297a.c if (get_user(val, (int *) arg)) val 1397 sound/oss/swarm_cs4297a.c l = val & 0xff; val 1400 sound/oss/swarm_cs4297a.c r = (val >> 8) & 0xff; val 1416 sound/oss/swarm_cs4297a.c s->mix.vol[7] = val; val 1421 sound/oss/swarm_cs4297a.c if (get_user(val, (int *) arg)) val 1423 sound/oss/swarm_cs4297a.c l = val & 0xff; val 1444 sound/oss/swarm_cs4297a.c s->mix.vol[5] = val << 8; val 1446 sound/oss/swarm_cs4297a.c s->mix.vol[5] = val; val 1452 sound/oss/swarm_cs4297a.c if (get_user(val, (int *) arg)) val 1454 sound/oss/swarm_cs4297a.c l = val & 0xff; val 1457 sound/oss/swarm_cs4297a.c if (get_user(val, (int *) arg)) val 1459 sound/oss/swarm_cs4297a.c r = (val >> 8) & 0xff; val 1481 sound/oss/swarm_cs4297a.c s->mix.vol[4] = val; val 1493 sound/oss/swarm_cs4297a.c if (get_user(val, (int *) arg)) val 1495 sound/oss/swarm_cs4297a.c l = val & 0xff; val 1504 sound/oss/swarm_cs4297a.c r = (val >> 8) & 0xff; val 1522 sound/oss/swarm_cs4297a.c s->mix.vol[vidx - 1] = val; val 1958 sound/oss/swarm_cs4297a.c int val, mapped, ret; val 2017 sound/oss/swarm_cs4297a.c if (get_user(val, (int *) arg)) val 2020 sound/oss/swarm_cs4297a.c "cs4297a: cs4297a_ioctl(): DSP_SPEED val=%d -> 48000\n", val)); val 2021 sound/oss/swarm_cs4297a.c val = 48000; val 2022 sound/oss/swarm_cs4297a.c return put_user(val, (int *) arg); val 2025 sound/oss/swarm_cs4297a.c if (get_user(val, (int *) arg)) val 2028 sound/oss/swarm_cs4297a.c "cs4297a: cs4297a_ioctl(): DSP_STEREO val=%d\n", val)); val 2032 sound/oss/swarm_cs4297a.c s->prop_adc.channels = val ? 2 : 1; val 2037 sound/oss/swarm_cs4297a.c s->prop_dac.channels = val ? 2 : 1; val 2042 sound/oss/swarm_cs4297a.c if (get_user(val, (int *) arg)) val 2046 sound/oss/swarm_cs4297a.c val)); val 2047 sound/oss/swarm_cs4297a.c if (val != 0) { val 2051 sound/oss/swarm_cs4297a.c if (val >= 2) val 2059 sound/oss/swarm_cs4297a.c if (val >= 2) val 2067 sound/oss/swarm_cs4297a.c val = s->prop_dac.channels; val 2069 sound/oss/swarm_cs4297a.c val = s->prop_adc.channels; val 2071 sound/oss/swarm_cs4297a.c return put_user(val, (int *) arg); val 2082 sound/oss/swarm_cs4297a.c if (get_user(val, (int *) arg)) val 2086 sound/oss/swarm_cs4297a.c val)); val 2087 sound/oss/swarm_cs4297a.c if (val != AFMT_QUERY) { val 2091 sound/oss/swarm_cs4297a.c if (val != AFMT_S16_LE val 2092 sound/oss/swarm_cs4297a.c && val != AFMT_U16_LE && val != AFMT_S8 val 2093 sound/oss/swarm_cs4297a.c && val != AFMT_U8) val 2094 sound/oss/swarm_cs4297a.c val = AFMT_U8; val 2095 sound/oss/swarm_cs4297a.c s->prop_adc.fmt = val; val 2101 sound/oss/swarm_cs4297a.c if (val != AFMT_S16_LE val 2102 sound/oss/swarm_cs4297a.c && val != AFMT_U16_LE && val != AFMT_S8 val 2103 sound/oss/swarm_cs4297a.c && val != AFMT_U8) val 2104 sound/oss/swarm_cs4297a.c val = AFMT_U8; val 2105 sound/oss/swarm_cs4297a.c s->prop_dac.fmt = val; val 2110 sound/oss/swarm_cs4297a.c val = s->prop_dac.fmt_original; val 2112 sound/oss/swarm_cs4297a.c val = s->prop_adc.fmt_original; val 2116 sound/oss/swarm_cs4297a.c val)); val 2117 sound/oss/swarm_cs4297a.c return put_user(val, (int *) arg); val 2125 sound/oss/swarm_cs4297a.c val = 0; val 2127 sound/oss/swarm_cs4297a.c val |= PCM_ENABLE_INPUT; val 2129 sound/oss/swarm_cs4297a.c val |= PCM_ENABLE_OUTPUT; val 2130 sound/oss/swarm_cs4297a.c return put_user(val, (int *) arg); val 2133 sound/oss/swarm_cs4297a.c if (get_user(val, (int *) arg)) val 2136 sound/oss/swarm_cs4297a.c if (val & PCM_ENABLE_INPUT) { val 2145 sound/oss/swarm_cs4297a.c if (val & PCM_ENABLE_OUTPUT) { val 2158 sound/oss/swarm_cs4297a.c if (!s->dma_dac.ready && (val = prog_dmabuf_dac(s))) val 2159 sound/oss/swarm_cs4297a.c return val; val 2181 sound/oss/swarm_cs4297a.c if (!s->dma_adc.ready && (val = prog_dmabuf_adc(s))) val 2182 sound/oss/swarm_cs4297a.c return val; val 2213 sound/oss/swarm_cs4297a.c val = s->dma_dac.count; val 2215 sound/oss/swarm_cs4297a.c return put_user(val, (int *) arg); val 2276 sound/oss/swarm_cs4297a.c if ((val = prog_dmabuf_dac(s))) val 2277 sound/oss/swarm_cs4297a.c return val; val 2280 sound/oss/swarm_cs4297a.c if ((val = prog_dmabuf_adc(s))) val 2281 sound/oss/swarm_cs4297a.c return val; val 2289 sound/oss/swarm_cs4297a.c if (get_user(val, (int *) arg)) val 2297 sound/oss/swarm_cs4297a.c if (get_user(val, (int *) arg)) val 2299 sound/oss/swarm_cs4297a.c if (val != 1 && val != 2 && val != 4) val 2302 sound/oss/swarm_cs4297a.c s->dma_adc.subdivision = val; val 2304 sound/oss/swarm_cs4297a.c s->dma_dac.subdivision = val; val 2674 sound/oss/swarm_cs4297a.c val = SOUND_MASK_LINE; val 2675 sound/oss/swarm_cs4297a.c mixer_ioctl(s, SOUND_MIXER_WRITE_RECSRC, (unsigned long) &val); val 2677 sound/oss/swarm_cs4297a.c val = initvol[i].vol; val 2678 sound/oss/swarm_cs4297a.c mixer_ioctl(s, initvol[i].mixch, (unsigned long) &val); val 196 sound/oss/sys_timer.c int val; val 216 sound/oss/sys_timer.c if (__get_user(val, p)) val 218 sound/oss/sys_timer.c if (val) { val 219 sound/oss/sys_timer.c if (val < 1) val 220 sound/oss/sys_timer.c val = 1; val 221 sound/oss/sys_timer.c if (val > 1000) val 222 sound/oss/sys_timer.c val = 1000; val 223 sound/oss/sys_timer.c curr_timebase = val; val 228 sound/oss/sys_timer.c if (__get_user(val, p)) val 230 sound/oss/sys_timer.c if (val) { val 231 sound/oss/sys_timer.c if (val < 8) val 232 sound/oss/sys_timer.c val = 8; val 233 sound/oss/sys_timer.c if (val > 250) val 234 sound/oss/sys_timer.c val = 250; val 238 sound/oss/sys_timer.c curr_tempo = val; val 244 sound/oss/sys_timer.c if (__get_user(val, p)) val 246 sound/oss/sys_timer.c if (val != 0) /* Can't change */ val 248 sound/oss/sys_timer.c val = ((curr_tempo * curr_timebase) + 30) / 60; val 249 sound/oss/sys_timer.c return __put_user(val, p); val 120 sound/oss/vidc.c unsigned int val; val 129 sound/oss/vidc.c if (get_user(val, (unsigned int __user *)arg)) val 133 sound/oss/vidc.c vidc_mixer_set(mdev, val); val 143 sound/oss/vidc.c val = 0; val 147 sound/oss/vidc.c val = SOUND_MASK_VOLUME | SOUND_MASK_PCM | SOUND_MASK_SYNTH; val 151 sound/oss/vidc.c val = SOUND_MASK_VOLUME | SOUND_MASK_PCM | SOUND_MASK_SYNTH; val 155 sound/oss/vidc.c val = 0; val 159 sound/oss/vidc.c val = 0; val 164 sound/oss/vidc.c val = vidc_level_l[mdev] | vidc_level_r[mdev] << 8; val 169 sound/oss/vidc.c return put_user(val, (unsigned int __user *)arg) ? -EFAULT : 0; val 305 sound/oss/vwsnd.c * (volatile unsigned long *) (lith->page0 + off) = val; val 310 sound/oss/vwsnd.c * (volatile unsigned char *) (lith->page0 + off) = val; val 443 sound/oss/vwsnd.c #define SHIFT_FIELD(val, mask) (((val) * ((mask) & -(mask))) & (mask)) val 444 sound/oss/vwsnd.c #define UNSHIFT_FIELD(val, mask) (((val) & (mask)) / ((mask) & -(mask))) val 546 sound/oss/vwsnd.c int val; val 551 sound/oss/vwsnd.c val = li_ad1843_wait(lith); val 552 sound/oss/vwsnd.c if (val == 0) { val 554 sound/oss/vwsnd.c val = li_ad1843_wait(lith); val 556 sound/oss/vwsnd.c if (val == 0) val 557 sound/oss/vwsnd.c val = li_readl(lith, LI_CODEC_DATA); val 562 sound/oss/vwsnd.c lith, reg, val); val 564 sound/oss/vwsnd.c return val; val 744 sound/oss/vwsnd.c ASSERT(!(val & ~CHUNKS_TO_BYTES(0xFF))); val 745 sound/oss/vwsnd.c val = BYTES_TO_CHUNKS(val); val 746 sound/oss/vwsnd.c chan->ctlval = (chan->ctlval & ~mask) | SHIFT_FIELD(val, mask); val 747 sound/oss/vwsnd.c li_writeb(chan->lith, chan->desc->swptrreg, val); val 946 sound/oss/vwsnd.c int val = w >> field->lo_bit & ((1 << field->nbits) - 1); val 949 sound/oss/vwsnd.c lith, field->reg, field->lo_bit, field->nbits, val); val 951 sound/oss/vwsnd.c return val; val 3087 sound/oss/vwsnd.c int val = -1; val 3093 sound/oss/vwsnd.c val = SOUND_CAP_EXCL_INPUT; val 3097 sound/oss/vwsnd.c val = (SOUND_MASK_PCM | SOUND_MASK_LINE | val 3102 sound/oss/vwsnd.c val = (SOUND_MASK_PCM | SOUND_MASK_LINE | val 3107 sound/oss/vwsnd.c val = (SOUND_MASK_PCM | SOUND_MASK_LINE | val 3112 sound/oss/vwsnd.c val = (SOUND_MASK_PCM | SOUND_MASK_LINE | val 3117 sound/oss/vwsnd.c val = ad1843_get_gain(&devc->lith, &ad1843_gain_PCM); val 3121 sound/oss/vwsnd.c val = ad1843_get_gain(&devc->lith, &ad1843_gain_LINE); val 3125 sound/oss/vwsnd.c val = ad1843_get_gain(&devc->lith, &ad1843_gain_MIC); val 3129 sound/oss/vwsnd.c val = ad1843_get_gain(&devc->lith, &ad1843_gain_CD); val 3133 sound/oss/vwsnd.c val = ad1843_get_gain(&devc->lith, &ad1843_gain_RECLEV); val 3137 sound/oss/vwsnd.c val = ad1843_get_recsrc(&devc->lith); val 3141 sound/oss/vwsnd.c val = ad1843_get_outsrc(&devc->lith); val 3147 sound/oss/vwsnd.c return put_user(val, (int __user *) arg); val 3154 sound/oss/vwsnd.c int val; val 3159 sound/oss/vwsnd.c err = get_user(val, (int __user *) arg); val 3164 sound/oss/vwsnd.c val = ad1843_set_gain(&devc->lith, &ad1843_gain_PCM, val); val 3168 sound/oss/vwsnd.c val = ad1843_set_gain(&devc->lith, &ad1843_gain_LINE, val); val 3172 sound/oss/vwsnd.c val = ad1843_set_gain(&devc->lith, &ad1843_gain_MIC, val); val 3176 sound/oss/vwsnd.c val = ad1843_set_gain(&devc->lith, &ad1843_gain_CD, val); val 3180 sound/oss/vwsnd.c val = ad1843_set_gain(&devc->lith, &ad1843_gain_RECLEV, val); val 3186 sound/oss/vwsnd.c val = ad1843_set_recsrc(&devc->lith, val); val 3190 sound/oss/vwsnd.c val = ad1843_set_outsrc(&devc->lith, val); val 3196 sound/oss/vwsnd.c if (val < 0) val 3197 sound/oss/vwsnd.c return val; val 3198 sound/oss/vwsnd.c return put_user(val, (int __user *) arg); val 1130 sound/oss/waveartist.c int ret = 0, val, nr; val 1151 sound/oss/waveartist.c if (get_user(val, (int __user *)arg)) val 1156 sound/oss/waveartist.c waveartist_set_recmask(devc, val); val 1163 sound/oss/waveartist.c ret = waveartist_set_mixer(devc, nr, val); val 1807 sound/oss/waveartist.c int val; val 1813 sound/oss/waveartist.c int val; val 1815 sound/oss/waveartist.c if (get_user(val, arg)) val 1819 sound/oss/waveartist.c if (val & ~(VNC_MUTE_INTERNAL_SPKR | val 1828 sound/oss/waveartist.c devc->no_autoselect = (val & VNC_DISABLE_AUTOSWITCH) ? 1 : 0; val 1829 sound/oss/waveartist.c devc->spkr_mute_state = (val & VNC_MUTE_INTERNAL_SPKR) ? 1 : 0; val 1830 sound/oss/waveartist.c devc->line_mute_state = (val & VNC_MUTE_LINE_OUT) ? 1 : 0; val 1845 sound/oss/waveartist.c if (get_user(val, arg)) val 1848 sound/oss/waveartist.c switch (val) { val 1868 sound/oss/waveartist.c int mixer_reg[15], i, val; val 1870 sound/oss/waveartist.c if (get_user(val, arg)) val 1872 sound/oss/waveartist.c if (copy_from_user(mixer_reg, (void *)val, sizeof(mixer_reg))) val 1899 sound/oss/waveartist.c if (copy_to_user((void *)val, mixer_reg, sizeof(mixer_reg))) val 1911 sound/oss/waveartist.c val = (devc->spkr_mute_state ? VNC_MUTE_INTERNAL_SPKR : 0) | val 1917 sound/oss/waveartist.c return put_user(val, arg) ? -EFAULT : 0; val 1934 sound/oss/waveartist.c unsigned int val, l, r; val 1936 sound/oss/waveartist.c if (get_user(val, arg)) val 1939 sound/oss/waveartist.c l = val & 0x7f; val 1940 sound/oss/waveartist.c r = (val & 0x7f00) >> 8; val 1941 sound/oss/waveartist.c val = (l + r) / 2; val 1942 sound/oss/waveartist.c devc->levels[SOUND_MIXER_SPEAKER] = val | (val << 8); val 1943 sound/oss/waveartist.c devc->spkr_mute_state = (val <= 50); val 456 sound/pci/ac97/ac97_codec.c unsigned short val, bitmask; val 460 sound/pci/ac97/ac97_codec.c val = snd_ac97_read_cache(ac97, e->reg); val 461 sound/pci/ac97/ac97_codec.c ucontrol->value.enumerated.item[0] = (val >> e->shift_l) & (bitmask - 1); val 463 sound/pci/ac97/ac97_codec.c ucontrol->value.enumerated.item[1] = (val >> e->shift_r) & (bitmask - 1); val 473 sound/pci/ac97/ac97_codec.c unsigned short val; val 480 sound/pci/ac97/ac97_codec.c val = ucontrol->value.enumerated.item[0] << e->shift_l; val 485 sound/pci/ac97/ac97_codec.c val |= ucontrol->value.enumerated.item[1] << e->shift_r; val 488 sound/pci/ac97/ac97_codec.c return snd_ac97_update_bits(ac97, e->reg, mask, val); val 563 sound/pci/ac97/ac97_codec.c unsigned short val, val2, val_mask; val 566 sound/pci/ac97/ac97_codec.c val = (ucontrol->value.integer.value[0] & mask); val 568 sound/pci/ac97/ac97_codec.c val = mask - val; val 570 sound/pci/ac97/ac97_codec.c val = val << shift; val 576 sound/pci/ac97/ac97_codec.c val |= val2 << rshift; val 578 sound/pci/ac97/ac97_codec.c err = snd_ac97_update_bits(ac97, reg, val_mask, val); val 584 sound/pci/ac97/ac97_codec.c if (val & 0x8000) val 733 sound/pci/ac97/ac97_codec.c unsigned short val = 0; val 736 sound/pci/ac97/ac97_codec.c new = val = ucontrol->value.iec958.status[0] & (IEC958_AES0_PROFESSIONAL|IEC958_AES0_NONAUDIO); val 740 sound/pci/ac97/ac97_codec.c case IEC958_AES0_PRO_FS_44100: val |= 0<<12; break; val 741 sound/pci/ac97/ac97_codec.c case IEC958_AES0_PRO_FS_48000: val |= 2<<12; break; val 742 sound/pci/ac97/ac97_codec.c case IEC958_AES0_PRO_FS_32000: val |= 3<<12; break; val 743 sound/pci/ac97/ac97_codec.c default: val |= 1<<12; break; val 746 sound/pci/ac97/ac97_codec.c val |= 1<<3; val 752 sound/pci/ac97/ac97_codec.c val |= 1<<3; val 754 sound/pci/ac97/ac97_codec.c val |= 1<<2; val 755 sound/pci/ac97/ac97_codec.c val |= ((new >> 8) & 0xff) << 4; // category + original val 757 sound/pci/ac97/ac97_codec.c case IEC958_AES3_CON_FS_44100: val |= 0<<12; break; val 758 sound/pci/ac97/ac97_codec.c case IEC958_AES3_CON_FS_48000: val |= 2<<12; break; val 759 sound/pci/ac97/ac97_codec.c case IEC958_AES3_CON_FS_32000: val |= 3<<12; break; val 760 sound/pci/ac97/ac97_codec.c default: val |= 1<<12; break; val 769 sound/pci/ac97/ac97_codec.c int x = (val >> 12) & 0x03; val 775 sound/pci/ac97/ac97_codec.c change |= snd_ac97_update_bits_nolock(ac97, AC97_CSR_SPDIF, 0x3fff, ((val & 0xcfff) | (x << 12))); val 787 sound/pci/ac97/ac97_codec.c ((val << 4) & 0xff00) | val 788 sound/pci/ac97/ac97_codec.c ((val << 2) & 0x0038)); val 793 sound/pci/ac97/ac97_codec.c change |= snd_ac97_update_bits_nolock(ac97, AC97_SPDIF, 0x3fff, val); val 910 sound/pci/ac97/ac97_codec.c unsigned short val, valmask; val 912 sound/pci/ac97/ac97_codec.c val = (mask - (ucontrol->value.integer.value[0] & mask)) << lshift; val 915 sound/pci/ac97/ac97_codec.c val |= (mask - (ucontrol->value.integer.value[1] & mask)) << rshift; val 918 sound/pci/ac97/ac97_codec.c return snd_ac97_ad18xx_update_pcm_bits(ac97, codec, valmask, val); val 1028 sound/pci/ac97/ac97_codec.c unsigned short val, mask = 0x8000; val 1042 sound/pci/ac97/ac97_codec.c val = snd_ac97_read(ac97, reg); val 1044 sound/pci/ac97/ac97_codec.c return val == 0; val 1063 sound/pci/ac97/ac97_codec.c val = snd_ac97_read(ac97, reg); val 1064 sound/pci/ac97/ac97_codec.c if (!(val & mask)) { val 1067 sound/pci/ac97/ac97_codec.c snd_ac97_write_cache(ac97, reg, val | mask); val 1068 sound/pci/ac97/ac97_codec.c val = snd_ac97_read(ac97, reg); val 1069 sound/pci/ac97/ac97_codec.c val = snd_ac97_read(ac97, reg); val 1070 sound/pci/ac97/ac97_codec.c if (!(val & mask)) val 1096 sound/pci/ac97/ac97_codec.c unsigned short val; val 1102 sound/pci/ac97/ac97_codec.c val = snd_ac97_read(ac97, reg); val 1103 sound/pci/ac97/ac97_codec.c val = snd_ac97_read(ac97, reg); val 1104 sound/pci/ac97/ac97_codec.c if (! *lo_max && (val & 0x7f) == cbit[i]) val 1106 sound/pci/ac97/ac97_codec.c if (! *hi_max && ((val >> 8) & 0x7f) == cbit[i]) val 1115 sound/pci/ac97/ac97_codec.c unsigned short mask, val, orig, res; val 1119 sound/pci/ac97/ac97_codec.c val = orig ^ mask; val 1120 sound/pci/ac97/ac97_codec.c snd_ac97_write(ac97, reg, val); val 1123 sound/pci/ac97/ac97_codec.c return res == val; val 1129 sound/pci/ac97/ac97_codec.c unsigned short val, val1; val 1132 sound/pci/ac97/ac97_codec.c val = 0x8080 | (0x20 << shift); val 1133 sound/pci/ac97/ac97_codec.c snd_ac97_write(ac97, reg, val); val 1135 sound/pci/ac97/ac97_codec.c if (val != val1) { val 1171 sound/pci/ac97/ac97_codec.c unsigned short val, val1, mute_mask; val 1177 sound/pci/ac97/ac97_codec.c val = snd_ac97_read(ac97, reg); val 1180 sound/pci/ac97/ac97_codec.c val1 = val | 0x8080; val 1202 sound/pci/ac97/ac97_codec.c snd_ac97_write_cache(ac97, reg, val | mute_mask); val 1580 sound/pci/ac97/ac97_codec.c unsigned short val; val 1581 sound/pci/ac97/ac97_codec.c val = 0x0707; val 1582 sound/pci/ac97/ac97_codec.c snd_ac97_write(ac97, AC97_3D_CONTROL, val); val 1583 sound/pci/ac97/ac97_codec.c val = snd_ac97_read(ac97, AC97_3D_CONTROL); val 1584 sound/pci/ac97/ac97_codec.c val = val == 0x0606; val 1587 sound/pci/ac97/ac97_codec.c if (val) val 1591 sound/pci/ac97/ac97_codec.c if (val) val 1668 sound/pci/ac97/ac97_codec.c unsigned short val; val 1675 sound/pci/ac97/ac97_codec.c val = snd_ac97_read(ac97, reg); val 1676 sound/pci/ac97/ac97_codec.c return val == (tmp & 0xffff); val 1828 sound/pci/ac97/ac97_codec.c unsigned short val; val 1839 sound/pci/ac97/ac97_codec.c val = snd_ac97_read(ac97, AC97_EXTENDED_MID); val 1840 sound/pci/ac97/ac97_codec.c if (val != 0xffff && (val & 1) != 0) val 1845 sound/pci/ac97/ac97_codec.c val = snd_ac97_read(ac97, AC97_VENDOR_ID1); val 1846 sound/pci/ac97/ac97_codec.c if (val != 0 && val != 0xffff) val 2539 sound/pci/ac97/ac97_codec.c unsigned short val = snd_ac97_read(ac97, AC97_EXTENDED_MID); val 2540 sound/pci/ac97/ac97_codec.c if (val != 0xffff && (val & 1) != 0) val 251 sound/pci/ac97/ac97_patch.c unsigned short val; val 253 sound/pci/ac97/ac97_patch.c val = ac97->regs[AC97_YMF7X3_3D_MODE_SEL]; val 254 sound/pci/ac97/ac97_patch.c val = (val >> 10) & 3; val 255 sound/pci/ac97/ac97_patch.c if (val > 0) /* 0 = invalid */ val 256 sound/pci/ac97/ac97_patch.c val--; val 257 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = val; val 265 sound/pci/ac97/ac97_patch.c unsigned short val; val 269 sound/pci/ac97/ac97_patch.c val = (ucontrol->value.enumerated.item[0] + 1) << 10; val 270 sound/pci/ac97/ac97_patch.c return snd_ac97_update(ac97, AC97_YMF7X3_3D_MODE_SEL, val); val 302 sound/pci/ac97/ac97_patch.c unsigned short val; val 304 sound/pci/ac97/ac97_patch.c val = ac97->regs[AC97_YMF7X3_DIT_CTRL]; val 305 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = (val >> 1) & 1; val 313 sound/pci/ac97/ac97_patch.c unsigned short val; val 317 sound/pci/ac97/ac97_patch.c val = ucontrol->value.enumerated.item[0] << 1; val 318 sound/pci/ac97/ac97_patch.c return snd_ac97_update_bits(ac97, AC97_YMF7X3_DIT_CTRL, 0x0002, val); val 409 sound/pci/ac97/ac97_patch.c unsigned short val; val 411 sound/pci/ac97/ac97_patch.c val = ac97->regs[AC97_YMF7X3_DIT_CTRL]; val 412 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = (val & 0x0008) ? 2 : (val & 0x0020) ? 1 : 0; val 419 sound/pci/ac97/ac97_patch.c unsigned short val; val 423 sound/pci/ac97/ac97_patch.c val = (ucontrol->value.enumerated.item[0] == 2) ? 0x0008 : val 425 sound/pci/ac97/ac97_patch.c return snd_ac97_update_bits(ac97, AC97_YMF7X3_DIT_CTRL, 0x0028, val); val 1125 sound/pci/ac97/ac97_patch.c unsigned short val; val 1127 sound/pci/ac97/ac97_patch.c val = ac97->regs[AC97_SIGMATEL_OUTSEL] >> shift; val 1128 sound/pci/ac97/ac97_patch.c if (!(val & 4)) val 1131 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = 1 + (val & 3); val 1139 sound/pci/ac97/ac97_patch.c unsigned short val; val 1144 sound/pci/ac97/ac97_patch.c val = 0; val 1146 sound/pci/ac97/ac97_patch.c val = 4 | (ucontrol->value.enumerated.item[0] - 1); val 1148 sound/pci/ac97/ac97_patch.c 7 << shift, val << shift, 0); val 1169 sound/pci/ac97/ac97_patch.c unsigned short val; val 1171 sound/pci/ac97/ac97_patch.c val = ac97->regs[AC97_SIGMATEL_INSEL]; val 1172 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = (val >> shift) & 7; val 1517 sound/pci/ac97/ac97_patch.c unsigned short val; val 1522 sound/pci/ac97/ac97_patch.c val = snd_ac97_read(ac97, AC97_VENDOR_ID2); val 1523 sound/pci/ac97/ac97_patch.c if ((val & 0xff40) != 0x5340) val 1526 sound/pci/ac97/ac97_patch.c ac97->spec.ad18xx.id[idx] = val; val 1534 sound/pci/ac97/ac97_patch.c unsigned short val; val 1538 sound/pci/ac97/ac97_patch.c val = snd_ac97_read(ac97, AC97_VENDOR_ID2); val 1539 sound/pci/ac97/ac97_patch.c if ((val & 0xff40) != 0x5340) val 1544 sound/pci/ac97/ac97_patch.c ac97->spec.ad18xx.id[idx] = val; val 1591 sound/pci/ac97/ac97_patch.c unsigned short val; val 1594 sound/pci/ac97/ac97_patch.c val = snd_ac97_read(ac97, AC97_AD_SERIAL_CFG); val 1595 sound/pci/ac97/ac97_patch.c snd_ac97_write_cache(ac97, AC97_AD_SERIAL_CFG, val); val 1824 sound/pci/ac97/ac97_patch.c unsigned short val; val 1826 sound/pci/ac97/ac97_patch.c val = ac97->regs[AC97_AD_SERIAL_CFG]; val 1827 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = (val >> 2) & 1; val 1834 sound/pci/ac97/ac97_patch.c unsigned short val; val 1838 sound/pci/ac97/ac97_patch.c val = ucontrol->value.enumerated.item[0] << 2; val 1839 sound/pci/ac97/ac97_patch.c return snd_ac97_update_bits(ac97, AC97_AD_SERIAL_CFG, 0x0004, val); val 1971 sound/pci/ac97/ac97_patch.c unsigned short val; val 1973 sound/pci/ac97/ac97_patch.c val = ac97->regs[AC97_AD_MISC]; val 1974 sound/pci/ac97/ac97_patch.c ucontrol->value.integer.value[0] = !(val & AC97_AD198X_LOSEL); val 1984 sound/pci/ac97/ac97_patch.c unsigned short val; val 1986 sound/pci/ac97/ac97_patch.c val = !ucontrol->value.integer.value[0]; val 1988 sound/pci/ac97/ac97_patch.c val = !val; val 1989 sound/pci/ac97/ac97_patch.c val = val ? (AC97_AD198X_LOSEL | AC97_AD198X_HPSEL) : 0; val 1991 sound/pci/ac97/ac97_patch.c AC97_AD198X_LOSEL | AC97_AD198X_HPSEL, val); val 2010 sound/pci/ac97/ac97_patch.c unsigned short val; val 2012 sound/pci/ac97/ac97_patch.c val = ac97->regs[AC97_AD_MISC]; val 2013 sound/pci/ac97/ac97_patch.c if (!(val & AC97_AD198X_DMIX1)) val 2016 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = 1 + ((val >> 8) & 1); val 2023 sound/pci/ac97/ac97_patch.c unsigned short val; val 2028 sound/pci/ac97/ac97_patch.c val = 0; val 2030 sound/pci/ac97/ac97_patch.c val = AC97_AD198X_DMIX1 | val 2033 sound/pci/ac97/ac97_patch.c AC97_AD198X_DMIX0 | AC97_AD198X_DMIX1, val); val 2038 sound/pci/ac97/ac97_patch.c unsigned short val = 0; val 2041 sound/pci/ac97/ac97_patch.c val |= (1 << 12); val 2044 sound/pci/ac97/ac97_patch.c val |= (1 << 11); val 2046 sound/pci/ac97/ac97_patch.c snd_ac97_update_bits(ac97, AC97_AD_MISC, (1 << 11) | (1 << 12), val); val 2171 sound/pci/ac97/ac97_patch.c unsigned short val; val 2172 sound/pci/ac97/ac97_patch.c val = (ac97->regs[AC97_AD_MISC] & AC97_AD198X_VREF_MASK) val 2174 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = reg2ctrl[val]; val 2183 sound/pci/ac97/ac97_patch.c unsigned short val; val 2187 sound/pci/ac97/ac97_patch.c val = ctrl2reg[ucontrol->value.enumerated.item[0]] val 2190 sound/pci/ac97/ac97_patch.c AC97_AD198X_VREF_MASK, val); val 2290 sound/pci/ac97/ac97_patch.c unsigned short val; val 2292 sound/pci/ac97/ac97_patch.c val = ac97->regs[AC97_AD_MISC3]; val 2293 sound/pci/ac97/ac97_patch.c ucontrol->value.integer.value[0] = (val & AC97_AD1986_LOSEL) != 0; val 2326 sound/pci/ac97/ac97_patch.c unsigned short val; val 2328 sound/pci/ac97/ac97_patch.c val = ac97->regs[AC97_AD_MISC]; val 2329 sound/pci/ac97/ac97_patch.c ucontrol->value.integer.value[0] = (val & AC97_AD1986_SPRD) != 0; val 2387 sound/pci/ac97/ac97_patch.c unsigned short val; val 2390 sound/pci/ac97/ac97_patch.c val = 2; val 2392 sound/pci/ac97/ac97_patch.c val = 3; val 2394 sound/pci/ac97/ac97_patch.c val = 1; val 2396 sound/pci/ac97/ac97_patch.c val = 0; val 2397 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = val; val 2654 sound/pci/ac97/ac97_patch.c unsigned short val; val 2659 sound/pci/ac97/ac97_patch.c val = snd_ac97_read(ac97, AC97_ALC650_REVISION) & 0x3f; val 2660 sound/pci/ac97/ac97_patch.c if (val < 3) val 2662 sound/pci/ac97/ac97_patch.c else if (val < 0x10) val 2664 sound/pci/ac97/ac97_patch.c else if (val < 0x20) val 2666 sound/pci/ac97/ac97_patch.c else if (val < 0x30) val 2679 sound/pci/ac97/ac97_patch.c val = snd_ac97_read(ac97, AC97_ALC650_CLOCK); val 2685 sound/pci/ac97/ac97_patch.c val |= 0x03; /* enable */ val 2687 sound/pci/ac97/ac97_patch.c val &= ~0x03; /* disable */ val 2688 sound/pci/ac97/ac97_patch.c snd_ac97_write_cache(ac97, AC97_ALC650_CLOCK, val); val 2754 sound/pci/ac97/ac97_patch.c unsigned short val; val 2756 sound/pci/ac97/ac97_patch.c val = ac97->regs[AC97_ALC650_MULTICH]; val 2757 sound/pci/ac97/ac97_patch.c val = (val >> 12) & 3; val 2758 sound/pci/ac97/ac97_patch.c if (ac97->spec.dev_flags && val == 3) val 2759 sound/pci/ac97/ac97_patch.c val = 0; val 2760 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = val; val 2806 sound/pci/ac97/ac97_patch.c unsigned int val; val 2822 sound/pci/ac97/ac97_patch.c val = snd_ac97_read(ac97, 0x7a); /* misc control */ val 2824 sound/pci/ac97/ac97_patch.c val &= ~(1 << 1); /* Pin 47 is spdif input pin */ val 2832 sound/pci/ac97/ac97_patch.c val &= ~(1 << 1); /* Pin 47 is EAPD (for internal speaker) */ val 2834 sound/pci/ac97/ac97_patch.c val |= (1 << 1); /* Pin 47 is spdif input pin */ val 2836 sound/pci/ac97/ac97_patch.c val &= ~(1 << 12); /* vref enable */ val 2837 sound/pci/ac97/ac97_patch.c snd_ac97_write_cache(ac97, 0x7a, val); val 3003 sound/pci/ac97/ac97_patch.c unsigned short val; val 3005 sound/pci/ac97/ac97_patch.c val = ac97->regs[AC97_CM9739_SPDIF_CTRL]; val 3006 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = (val >> 1) & 0x01; val 3070 sound/pci/ac97/ac97_patch.c unsigned short val; val 3080 sound/pci/ac97/ac97_patch.c val = snd_ac97_read(ac97, AC97_EXTENDED_STATUS); val 3081 sound/pci/ac97/ac97_patch.c if (val & AC97_EA_SPCV) { val 3100 sound/pci/ac97/ac97_patch.c val = snd_ac97_read(ac97, AC97_CM9739_MULTI_CHAN) & (1 << 4); val 3101 sound/pci/ac97/ac97_patch.c val |= (1 << 3); val 3102 sound/pci/ac97/ac97_patch.c val |= (1 << 13); val 3104 sound/pci/ac97/ac97_patch.c val |= (1 << 14); val 3105 sound/pci/ac97/ac97_patch.c snd_ac97_write_cache(ac97, AC97_CM9739_MULTI_CHAN, val); val 3152 sound/pci/ac97/ac97_patch.c unsigned short val = 0; val 3154 sound/pci/ac97/ac97_patch.c val |= surr_on[ac97->spec.dev_flags][is_surround_on(ac97)]; val 3155 sound/pci/ac97/ac97_patch.c val |= clfe_on[ac97->spec.dev_flags][is_clfe_on(ac97)]; val 3156 sound/pci/ac97/ac97_patch.c val |= surr_shared[ac97->spec.dev_flags][is_shared_surrout(ac97)]; val 3157 sound/pci/ac97/ac97_patch.c val |= clfe_shared[ac97->spec.dev_flags][is_shared_clfeout(ac97)]; val 3159 sound/pci/ac97/ac97_patch.c snd_ac97_update_bits(ac97, AC97_CM9761_MULTI_CHAN, 0x3c88, val); val 3244 sound/pci/ac97/ac97_patch.c unsigned short val; val 3258 sound/pci/ac97/ac97_patch.c val = snd_ac97_read(ac97, AC97_INT_PAGING); val 3259 sound/pci/ac97/ac97_patch.c snd_ac97_write_cache(ac97, AC97_INT_PAGING, (val & ~0x0f) | 0x01); val 3262 sound/pci/ac97/ac97_patch.c snd_ac97_write_cache(ac97, AC97_INT_PAGING, val); val 3297 sound/pci/ac97/ac97_patch.c val = 0x0214; val 3299 sound/pci/ac97/ac97_patch.c val = 0x321c; val 3301 sound/pci/ac97/ac97_patch.c val = snd_ac97_read(ac97, AC97_CM9761_MULTI_CHAN); val 3302 sound/pci/ac97/ac97_patch.c val |= (1 << 4); /* front on */ val 3303 sound/pci/ac97/ac97_patch.c snd_ac97_write_cache(ac97, AC97_CM9761_MULTI_CHAN, val); val 3339 sound/pci/ac97/ac97_patch.c unsigned short val; val 3346 sound/pci/ac97/ac97_patch.c val = snd_ac97_read(ac97, AC97_CM9780_SPDIF); val 3347 sound/pci/ac97/ac97_patch.c val |= 0x1; /* SPDI_EN */ val 3348 sound/pci/ac97/ac97_patch.c snd_ac97_write_cache(ac97, AC97_CM9780_SPDIF, val); val 3554 sound/pci/ac97/ac97_patch.c int val; val 3568 sound/pci/ac97/ac97_patch.c val = snd_ac97_read(ac97, 0x5c); val 3569 sound/pci/ac97/ac97_patch.c if (!(val & 0x20)) val 111 sound/pci/ac97/ac97_proc.c unsigned short val, tmp, ext, mext; val 129 sound/pci/ac97/ac97_proc.c val = snd_ac97_read(ac97, AC97_INT_PAGING); val 140 sound/pci/ac97/ac97_proc.c AC97_PAGE_MASK, val & AC97_PAGE_MASK); val 144 sound/pci/ac97/ac97_proc.c val = ac97->caps; val 146 sound/pci/ac97/ac97_proc.c val & AC97_BC_DEDICATED_MIC ? " -dedicated MIC PCM IN channel-" : "", val 147 sound/pci/ac97/ac97_proc.c val & AC97_BC_RESERVED1 ? " -reserved1-" : "", val 148 sound/pci/ac97/ac97_proc.c val & AC97_BC_BASS_TREBLE ? " -bass & treble-" : "", val 149 sound/pci/ac97/ac97_proc.c val & AC97_BC_SIM_STEREO ? " -simulated stereo-" : "", val 150 sound/pci/ac97/ac97_proc.c val & AC97_BC_HEADPHONE ? " -headphone out-" : "", val 151 sound/pci/ac97/ac97_proc.c val & AC97_BC_LOUDNESS ? " -loudness-" : ""); val 165 sound/pci/ac97/ac97_proc.c snd_ac97_stereo_enhancements[(val >> 10) & 0x1f]); val 167 sound/pci/ac97/ac97_proc.c val = snd_ac97_read(ac97, AC97_MIC); val 168 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "Mic gain : %s [%s]\n", val & 0x0040 ? "+20dB" : "+0dB", ac97->regs[AC97_MIC] & 0x0040 ? "+20dB" : "+0dB"); val 169 sound/pci/ac97/ac97_proc.c val = snd_ac97_read(ac97, AC97_GENERAL_PURPOSE); val 177 sound/pci/ac97/ac97_proc.c val & 0x8000 ? "post" : "pre", val 178 sound/pci/ac97/ac97_proc.c val & 0x4000 ? "on" : "off", val 179 sound/pci/ac97/ac97_proc.c val & 0x2000 ? "on" : "off", val 180 sound/pci/ac97/ac97_proc.c val & 0x1000 ? "on" : "off", val 181 sound/pci/ac97/ac97_proc.c val & 0x0200 ? "Mic" : "MIX", val 182 sound/pci/ac97/ac97_proc.c val & 0x0100 ? "Mic2" : "Mic1", val 183 sound/pci/ac97/ac97_proc.c val & 0x0080 ? "on" : "off"); val 186 sound/pci/ac97/ac97_proc.c double_rate_slots[(val >> 10) & 3]); val 204 sound/pci/ac97/ac97_proc.c val = snd_ac97_read(ac97, AC97_EXTENDED_STATUS); val 206 sound/pci/ac97/ac97_proc.c val & AC97_EA_PRL ? " PRL" : "", val 207 sound/pci/ac97/ac97_proc.c val & AC97_EA_PRK ? " PRK" : "", val 208 sound/pci/ac97/ac97_proc.c val & AC97_EA_PRJ ? " PRJ" : "", val 209 sound/pci/ac97/ac97_proc.c val & AC97_EA_PRI ? " PRI" : "", val 210 sound/pci/ac97/ac97_proc.c val & AC97_EA_SPCV ? " SPCV" : "", val 211 sound/pci/ac97/ac97_proc.c val & AC97_EA_MDAC ? " MADC" : "", val 212 sound/pci/ac97/ac97_proc.c val & AC97_EA_LDAC ? " LDAC" : "", val 213 sound/pci/ac97/ac97_proc.c val & AC97_EA_SDAC ? " SDAC" : "", val 214 sound/pci/ac97/ac97_proc.c val & AC97_EA_CDAC ? " CDAC" : "", val 215 sound/pci/ac97/ac97_proc.c ext & AC97_EI_SPDIF ? spdif_slots[(val & AC97_EA_SPSA_SLOT_MASK) >> AC97_EA_SPSA_SLOT_SHIFT] : "", val 216 sound/pci/ac97/ac97_proc.c val & AC97_EA_VRM ? " VRM" : "", val 217 sound/pci/ac97/ac97_proc.c val & AC97_EA_SPDIF ? " SPDIF" : "", val 218 sound/pci/ac97/ac97_proc.c val & AC97_EA_DRA ? " DRA" : "", val 219 sound/pci/ac97/ac97_proc.c val & AC97_EA_VRA ? " VRA" : ""); val 221 sound/pci/ac97/ac97_proc.c val = snd_ac97_read(ac97, AC97_PCM_FRONT_DAC_RATE); val 222 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "PCM front DAC : %iHz\n", val); val 224 sound/pci/ac97/ac97_proc.c val = snd_ac97_read(ac97, AC97_PCM_SURR_DAC_RATE); val 225 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "PCM Surr DAC : %iHz\n", val); val 228 sound/pci/ac97/ac97_proc.c val = snd_ac97_read(ac97, AC97_PCM_LFE_DAC_RATE); val 229 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "PCM LFE DAC : %iHz\n", val); val 231 sound/pci/ac97/ac97_proc.c val = snd_ac97_read(ac97, AC97_PCM_LR_ADC_RATE); val 232 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "PCM ADC : %iHz\n", val); val 235 sound/pci/ac97/ac97_proc.c val = snd_ac97_read(ac97, AC97_PCM_MIC_ADC_RATE); val 236 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "PCM MIC ADC : %iHz\n", val); val 241 sound/pci/ac97/ac97_proc.c val = snd_ac97_read(ac97, AC97_CSR_SPDIF); val 243 sound/pci/ac97/ac97_proc.c val = snd_ac97_read(ac97, AC97_YMF7X3_DIT_CTRL); val 244 sound/pci/ac97/ac97_proc.c val = 0x2000 | (val & 0xff00) >> 4 | (val & 0x38) >> 2; val 246 sound/pci/ac97/ac97_proc.c val = snd_ac97_read(ac97, AC97_SPDIF); val 249 sound/pci/ac97/ac97_proc.c val & AC97_SC_PRO ? " PRO" : " Consumer", val 250 sound/pci/ac97/ac97_proc.c val & AC97_SC_NAUDIO ? " Non-audio" : " PCM", val 251 sound/pci/ac97/ac97_proc.c val & AC97_SC_COPY ? "" : " Copyright", val 252 sound/pci/ac97/ac97_proc.c val & AC97_SC_PRE ? " Preemph50/15" : "", val 253 sound/pci/ac97/ac97_proc.c (val & AC97_SC_CC_MASK) >> AC97_SC_CC_SHIFT, val 254 sound/pci/ac97/ac97_proc.c (val & AC97_SC_L) >> 11, val 256 sound/pci/ac97/ac97_proc.c spdif_rates_cs4205[(val & AC97_SC_SPSR_MASK) >> AC97_SC_SPSR_SHIFT] : val 257 sound/pci/ac97/ac97_proc.c spdif_rates[(val & AC97_SC_SPSR_MASK) >> AC97_SC_SPSR_SHIFT], val 259 sound/pci/ac97/ac97_proc.c (val & AC97_SC_DRS ? " Validity" : "") : val 260 sound/pci/ac97/ac97_proc.c (val & AC97_SC_DRS ? " DRS" : ""), val 262 sound/pci/ac97/ac97_proc.c (val & AC97_SC_V ? " Enabled" : "") : val 263 sound/pci/ac97/ac97_proc.c (val & AC97_SC_V ? " Validity" : "")); val 267 sound/pci/ac97/ac97_proc.c val = snd_ac97_read(ac97, AC97_ALC650_SPDIF_INPUT_STATUS2); val 268 sound/pci/ac97/ac97_proc.c if (val & AC97_ALC650_CLOCK_LOCK) { val 269 sound/pci/ac97/ac97_proc.c val = snd_ac97_read(ac97, AC97_ALC650_SPDIF_INPUT_STATUS1); val 271 sound/pci/ac97/ac97_proc.c val & AC97_ALC650_PRO ? " PRO" : " Consumer", val 272 sound/pci/ac97/ac97_proc.c val & AC97_ALC650_NAUDIO ? " Non-audio" : " PCM", val 273 sound/pci/ac97/ac97_proc.c val & AC97_ALC650_COPY ? "" : " Copyright", val 274 sound/pci/ac97/ac97_proc.c val & AC97_ALC650_PRE ? " Preemph50/15" : "", val 275 sound/pci/ac97/ac97_proc.c (val & AC97_ALC650_CC_MASK) >> AC97_ALC650_CC_SHIFT, val 276 sound/pci/ac97/ac97_proc.c (val & AC97_ALC650_L) >> 15); val 277 sound/pci/ac97/ac97_proc.c val = snd_ac97_read(ac97, AC97_ALC650_SPDIF_INPUT_STATUS2); val 279 sound/pci/ac97/ac97_proc.c spdif_rates[(val & AC97_ALC650_SPSR_MASK) >> AC97_ALC650_SPSR_SHIFT], val 280 sound/pci/ac97/ac97_proc.c (val & AC97_ALC650_CLOCK_ACCURACY) >> AC97_ALC650_CLOCK_SHIFT, val 281 sound/pci/ac97/ac97_proc.c (val & AC97_ALC650_CLOCK_LOCK ? " Locked" : " Unlocked"), val 282 sound/pci/ac97/ac97_proc.c (val & AC97_ALC650_V ? " Validity?" : "")); val 289 sound/pci/ac97/ac97_proc.c val = snd_ac97_read(ac97, AC97_INT_PAGING); val 294 sound/pci/ac97/ac97_proc.c AC97_PAGE_MASK, val & AC97_PAGE_MASK); val 310 sound/pci/ac97/ac97_proc.c val = snd_ac97_read(ac97, AC97_EXTENDED_MSTATUS); val 312 sound/pci/ac97/ac97_proc.c val & AC97_MEA_GPIO ? " GPIO" : "", val 313 sound/pci/ac97/ac97_proc.c val & AC97_MEA_MREF ? " MREF" : "", val 314 sound/pci/ac97/ac97_proc.c val & AC97_MEA_ADC1 ? " ADC1" : "", val 315 sound/pci/ac97/ac97_proc.c val & AC97_MEA_DAC1 ? " DAC1" : "", val 316 sound/pci/ac97/ac97_proc.c val & AC97_MEA_ADC2 ? " ADC2" : "", val 317 sound/pci/ac97/ac97_proc.c val & AC97_MEA_DAC2 ? " DAC2" : "", val 318 sound/pci/ac97/ac97_proc.c val & AC97_MEA_HADC ? " HADC" : "", val 319 sound/pci/ac97/ac97_proc.c val & AC97_MEA_HDAC ? " HDAC" : "", val 320 sound/pci/ac97/ac97_proc.c val & AC97_MEA_PRA ? " PRA(GPIO)" : "", val 321 sound/pci/ac97/ac97_proc.c val & AC97_MEA_PRB ? " PRB(res)" : "", val 322 sound/pci/ac97/ac97_proc.c val & AC97_MEA_PRC ? " PRC(ADC1)" : "", val 323 sound/pci/ac97/ac97_proc.c val & AC97_MEA_PRD ? " PRD(DAC1)" : "", val 324 sound/pci/ac97/ac97_proc.c val & AC97_MEA_PRE ? " PRE(ADC2)" : "", val 325 sound/pci/ac97/ac97_proc.c val & AC97_MEA_PRF ? " PRF(DAC2)" : "", val 326 sound/pci/ac97/ac97_proc.c val & AC97_MEA_PRG ? " PRG(HADC)" : "", val 327 sound/pci/ac97/ac97_proc.c val & AC97_MEA_PRH ? " PRH(HDAC)" : ""); val 329 sound/pci/ac97/ac97_proc.c val = snd_ac97_read(ac97, AC97_LINE1_RATE); val 330 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "Line1 rate : %iHz\n", val); val 333 sound/pci/ac97/ac97_proc.c val = snd_ac97_read(ac97, AC97_LINE2_RATE); val 334 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "Line2 rate : %iHz\n", val); val 337 sound/pci/ac97/ac97_proc.c val = snd_ac97_read(ac97, AC97_HANDSET_RATE); val 338 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "Headset rate : %iHz\n", val); val 381 sound/pci/ac97/ac97_proc.c unsigned int reg, val; val 384 sound/pci/ac97/ac97_proc.c if (sscanf(line, "%x %x", ®, &val) != 2) val 387 sound/pci/ac97/ac97_proc.c if (reg < 0x80 && (reg & 1) == 0 && val <= 0xffff) val 388 sound/pci/ac97/ac97_proc.c snd_ac97_write_cache(ac97, reg, val); val 396 sound/pci/ac97/ac97_proc.c int reg, val; val 399 sound/pci/ac97/ac97_proc.c val = snd_ac97_read(ac97, reg); val 400 sound/pci/ac97/ac97_proc.c snd_iprintf(buffer, "%i:%02x = %04x\n", subidx, reg, val); val 121 sound/pci/ad1889.c writew(val, chip->iobase + reg); val 133 sound/pci/ad1889.c writel(val, chip->iobase + reg); val 254 sound/pci/ad1889.c ad1889_writew(chip, AD_AC97_BASE + reg, val); val 95 sound/pci/ak4531_codec.c int val; val 98 sound/pci/ak4531_codec.c val = (ak4531->regs[reg] >> shift) & mask; val 101 sound/pci/ak4531_codec.c val = mask - val; val 103 sound/pci/ak4531_codec.c ucontrol->value.integer.value[0] = val; val 115 sound/pci/ak4531_codec.c int val; val 117 sound/pci/ak4531_codec.c val = ucontrol->value.integer.value[0] & mask; val 119 sound/pci/ak4531_codec.c val = mask - val; val 121 sound/pci/ak4531_codec.c val <<= shift; val 123 sound/pci/ak4531_codec.c val = (ak4531->regs[reg] & ~(mask << shift)) | val; val 124 sound/pci/ak4531_codec.c change = val != ak4531->regs[reg]; val 125 sound/pci/ak4531_codec.c ak4531->write(ak4531, reg, ak4531->regs[reg] = val); val 303 sound/pci/ali5451/ali5451.c outl((unsigned int)val, ALI_REG(codec, port)); val 363 sound/pci/ali5451/ali5451.c dwVal |= 0x8000 | (val << 16); val 414 sound/pci/ali5451/ali5451.c snd_ali_printk("codec_write: reg=%xh data=%xh.\n", reg, val); val 416 sound/pci/ali5451/ali5451.c outl((val << ALI_AC97_GPIO_DATA_SHIFT) | ALI_AC97_GPIO_ENABLE, val 420 sound/pci/ali5451/ali5451.c snd_ali_codec_poke(codec, ac97->num, reg, val); val 1164 sound/pci/ali5451/ali5451.c unsigned int val; val 1209 sound/pci/ali5451/ali5451.c val = inl(ALI_REG(codec, ALI_AINTEN)); val 1211 sound/pci/ali5451/ali5451.c val |= whati; val 1213 sound/pci/ali5451/ali5451.c val &= ~whati; val 1214 sound/pci/ali5451/ali5451.c outl(val, ALI_REG(codec, ALI_AINTEN)); val 166 sound/pci/als300.c outl(val, port+GCR_DATA); val 314 sound/pci/als300.c outl((reg << 24) | val, chip->port+AC97_ACCESS); val 196 sound/pci/als4000.c outb(val, iobase + reg); val 203 sound/pci/als4000.c outl(val, iobase + reg); val 223 sound/pci/als4000.c snd_als4k_iobase_writel(iobase, ALS4K_IOD_08_GCR_DATA, val); val 230 sound/pci/als4000.c snd_als4k_gcr_write_addr(sb->alt_port, reg, val); val 334 sound/pci/atiixp.c snd_atiixp_update_bits(chip, ATI_REG_##reg, mask, val) val 477 sound/pci/atiixp.c data = ((unsigned int)val << ATI_REG_PHYS_OUT_DATA_SHIFT) | val 496 sound/pci/atiixp.c snd_atiixp_codec_write(chip, ac97->num, reg, val); val 303 sound/pci/atiixp_modem.c snd_atiixp_update_bits(chip, ATI_REG_##reg, mask, val) val 449 sound/pci/atiixp_modem.c data = ((unsigned int)val << ATI_REG_PHYS_OUT_DATA_SHIFT) | val 470 sound/pci/atiixp_modem.c (val << ATI_REG_MODEM_OUT_GPIO_DATA_SHIFT) | ATI_REG_MODEM_OUT_GPIO_EN); val 473 sound/pci/atiixp_modem.c snd_atiixp_codec_write(chip, ac97->num, reg, val); val 217 sound/pci/au88x0/au88x0_synth.c hwwrite(vortex->mmio, WT_RUN(wt), val); val 222 sound/pci/au88x0/au88x0_synth.c hwwrite(vortex->mmio, WT_PARM(wt, 0), val); val 227 sound/pci/au88x0/au88x0_synth.c hwwrite(vortex->mmio, WT_PARM(wt, 1), val); val 232 sound/pci/au88x0/au88x0_synth.c hwwrite(vortex->mmio, WT_PARM(wt, 2), val); val 237 sound/pci/au88x0/au88x0_synth.c hwwrite(vortex->mmio, WT_PARM(wt, 3), val); val 242 sound/pci/au88x0/au88x0_synth.c hwwrite(vortex->mmio, WT_MUTE(wt), val); val 248 sound/pci/au88x0/au88x0_synth.c hwwrite(vortex->mmio, WT_DELAY(wt, 3), val); val 249 sound/pci/au88x0/au88x0_synth.c hwwrite(vortex->mmio, WT_DELAY(wt, 2), val); val 250 sound/pci/au88x0/au88x0_synth.c hwwrite(vortex->mmio, WT_DELAY(wt, 1), val); val 251 sound/pci/au88x0/au88x0_synth.c hwwrite(vortex->mmio, WT_DELAY(wt, 0), val); val 276 sound/pci/au88x0/au88x0_synth.c hwwrite(vortex->mmio, ecx, val); val 501 sound/pci/azt3328.c r->reg = val & 0xff; val 502 sound/pci/azt3328.c r->lchan_shift = (val >> 8) & 0x0f; val 503 sound/pci/azt3328.c r->rchan_shift = (val >> 12) & 0x0f; val 504 sound/pci/azt3328.c r->mask = (val >> 16) & 0xff; val 505 sound/pci/azt3328.c r->invert = (val >> 24) & 1; val 506 sound/pci/azt3328.c r->stereo = (val >> 25) & 1; val 507 sound/pci/azt3328.c r->enum_c = (val >> 26) & 0x0f; val 572 sound/pci/azt3328.c unsigned int oreg, val; val 578 sound/pci/azt3328.c val = (oreg >> reg.lchan_shift) & reg.mask; val 580 sound/pci/azt3328.c val = reg.mask - val; val 581 sound/pci/azt3328.c ucontrol->value.integer.value[0] = val; val 583 sound/pci/azt3328.c val = (oreg >> reg.rchan_shift) & reg.mask; val 585 sound/pci/azt3328.c val = reg.mask - val; val 586 sound/pci/azt3328.c ucontrol->value.integer.value[1] = val; val 603 sound/pci/azt3328.c unsigned int oreg, nreg, val; val 608 sound/pci/azt3328.c val = ucontrol->value.integer.value[0] & reg.mask; val 610 sound/pci/azt3328.c val = reg.mask - val; val 612 sound/pci/azt3328.c nreg |= (val << reg.lchan_shift); val 614 sound/pci/azt3328.c val = ucontrol->value.integer.value[1] & reg.mask; val 616 sound/pci/azt3328.c val = reg.mask - val; val 618 sound/pci/azt3328.c nreg |= (val << reg.rchan_shift); val 690 sound/pci/azt3328.c unsigned short val; val 693 sound/pci/azt3328.c val = snd_azf3328_mixer_inw(chip, reg.reg); val 695 sound/pci/azt3328.c ucontrol->value.enumerated.item[0] = (val >> 8) & (reg.enum_c - 1); val 696 sound/pci/azt3328.c ucontrol->value.enumerated.item[1] = (val >> 0) & (reg.enum_c - 1); val 698 sound/pci/azt3328.c ucontrol->value.enumerated.item[0] = (val >> reg.lchan_shift) & (reg.enum_c - 1); val 701 sound/pci/azt3328.c reg.reg, val, ucontrol->value.enumerated.item[0], ucontrol->value.enumerated.item[1], val 712 sound/pci/azt3328.c unsigned int oreg, nreg, val; val 716 sound/pci/azt3328.c val = oreg; val 721 sound/pci/azt3328.c val = (ucontrol->value.enumerated.item[0] << 8) | val 726 sound/pci/azt3328.c val &= ~((reg.enum_c - 1) << reg.lchan_shift); val 727 sound/pci/azt3328.c val |= (ucontrol->value.enumerated.item[0] << reg.lchan_shift); val 729 sound/pci/azt3328.c snd_azf3328_mixer_outw(chip, reg.reg, val); val 730 sound/pci/azt3328.c nreg = val; val 732 sound/pci/azt3328.c snd_azf3328_dbgmixer("put_enum: %02x to %04x, oreg %04x\n", reg.reg, val, oreg); val 876 sound/pci/azt3328.c u16 val = 0xff00; val 881 sound/pci/azt3328.c case AZF_FREQ_4000: val |= SOUNDFORMAT_FREQ_SUSPECTED_4000; break; val 882 sound/pci/azt3328.c case AZF_FREQ_4800: val |= SOUNDFORMAT_FREQ_SUSPECTED_4800; break; val 885 sound/pci/azt3328.c val |= SOUNDFORMAT_FREQ_5510; break; val 886 sound/pci/azt3328.c case AZF_FREQ_6620: val |= SOUNDFORMAT_FREQ_6620; break; val 887 sound/pci/azt3328.c case AZF_FREQ_8000: val |= SOUNDFORMAT_FREQ_8000; break; val 888 sound/pci/azt3328.c case AZF_FREQ_9600: val |= SOUNDFORMAT_FREQ_9600; break; val 889 sound/pci/azt3328.c case AZF_FREQ_11025: val |= SOUNDFORMAT_FREQ_11025; break; val 890 sound/pci/azt3328.c case AZF_FREQ_13240: val |= SOUNDFORMAT_FREQ_SUSPECTED_13240; break; val 891 sound/pci/azt3328.c case AZF_FREQ_16000: val |= SOUNDFORMAT_FREQ_16000; break; val 892 sound/pci/azt3328.c case AZF_FREQ_22050: val |= SOUNDFORMAT_FREQ_22050; break; val 893 sound/pci/azt3328.c case AZF_FREQ_32000: val |= SOUNDFORMAT_FREQ_32000; break; val 897 sound/pci/azt3328.c case AZF_FREQ_44100: val |= SOUNDFORMAT_FREQ_44100; break; val 898 sound/pci/azt3328.c case AZF_FREQ_48000: val |= SOUNDFORMAT_FREQ_48000; break; val 899 sound/pci/azt3328.c case AZF_FREQ_66200: val |= SOUNDFORMAT_FREQ_SUSPECTED_66200; break; val 912 sound/pci/azt3328.c val |= SOUNDFORMAT_FLAG_2CHANNELS; val 915 sound/pci/azt3328.c val |= SOUNDFORMAT_FLAG_16BIT; val 920 sound/pci/azt3328.c snd_azf3328_codec_outw(chip, reg, val); val 1472 sound/pci/azt3328.c u8 val; val 1479 sound/pci/azt3328.c val = snd_azf3328_game_inb(chip, IDX_GAME_LEGACY_COMPATIBLE); val 1480 sound/pci/azt3328.c *buttons = (~(val) >> 4) & 0xf; val 1492 sound/pci/azt3328.c val = snd_azf3328_game_inb(chip, IDX_GAME_AXES_CONFIG); val 1493 sound/pci/azt3328.c if (val & GAME_AXES_SAMPLING_READY) { val 1496 sound/pci/azt3328.c val = (i << 4) | 0x0f; val 1497 sound/pci/azt3328.c snd_azf3328_game_outb(chip, IDX_GAME_AXES_CONFIG, val); val 1511 sound/pci/azt3328.c val = 0x03; /* we're able to monitor axes 1 and 2 only */ val 1512 sound/pci/azt3328.c snd_azf3328_game_outb(chip, IDX_GAME_AXES_CONFIG, val); val 2026 sound/pci/azt3328.c unsigned char val, valoff, valon; val 2028 sound/pci/azt3328.c val = inb(reg); val 2030 sound/pci/azt3328.c outb(val & ~(1 << bit), reg); val 2033 sound/pci/azt3328.c outb(val|(1 << bit), reg); val 2036 sound/pci/azt3328.c outb(val, reg); val 2039 sound/pci/azt3328.c reg, bit, val, valoff, valon val 327 sound/pci/ca0106/ca0106_main.c unsigned int regptr, val; val 333 sound/pci/ca0106/ca0106_main.c val = inl(emu->port + DATA); val 335 sound/pci/ca0106/ca0106_main.c return val; val 1066 sound/pci/ca0106/ca0106_main.c unsigned short val; val 1070 sound/pci/ca0106/ca0106_main.c val = inw(emu->port + AC97DATA); val 1072 sound/pci/ca0106/ca0106_main.c return val; val 1083 sound/pci/ca0106/ca0106_main.c outw(val, emu->port + AC97DATA); val 96 sound/pci/ca0106/ca0106_mixer.c unsigned int val; val 100 sound/pci/ca0106/ca0106_mixer.c val = !!ucontrol->value.integer.value[0]; val 101 sound/pci/ca0106/ca0106_mixer.c change = (emu->spdif_enable != val); val 103 sound/pci/ca0106/ca0106_mixer.c emu->spdif_enable = val; val 104 sound/pci/ca0106/ca0106_mixer.c if (val) { val 155 sound/pci/ca0106/ca0106_mixer.c unsigned int val; val 160 sound/pci/ca0106/ca0106_mixer.c val = ucontrol->value.enumerated.item[0] ; val 161 sound/pci/ca0106/ca0106_mixer.c if (val >= 6) val 163 sound/pci/ca0106/ca0106_mixer.c change = (emu->capture_source != val); val 165 sound/pci/ca0106/ca0106_mixer.c emu->capture_source = val; val 166 sound/pci/ca0106/ca0106_mixer.c source = (val << 28) | (val << 24) | (val << 20) | (val << 16); val 272 sound/pci/ca0106/ca0106_mixer.c unsigned int val; val 276 sound/pci/ca0106/ca0106_mixer.c val = ucontrol->value.enumerated.item[0] ; val 277 sound/pci/ca0106/ca0106_mixer.c if (val > 1) val 279 sound/pci/ca0106/ca0106_mixer.c change = (emu->capture_mic_line_in != val); val 281 sound/pci/ca0106/ca0106_mixer.c emu->capture_mic_line_in = val; val 282 sound/pci/ca0106/ca0106_mixer.c if (val) { val 354 sound/pci/ca0106/ca0106_mixer.c unsigned int val; val 356 sound/pci/ca0106/ca0106_mixer.c val = (ucontrol->value.iec958.status[0] << 0) | val 360 sound/pci/ca0106/ca0106_mixer.c change = val != emu->spdif_bits[idx]; val 362 sound/pci/ca0106/ca0106_mixer.c snd_ca0106_ptr_write(emu, SPCS0 + idx, 0, val); val 363 sound/pci/ca0106/ca0106_mixer.c emu->spdif_bits[idx] = val; val 82 sound/pci/ca0106/ca0106_proc.c int val; val 148 sound/pci/ca0106/ca0106_proc.c if ((status[1] & IEC958_AES1_CON_CATEGORY) == snd_ca0106_con_category[i].val) { val 303 sound/pci/ca0106/ca0106_proc.c u32 reg, val; val 305 sound/pci/ca0106/ca0106_proc.c if (sscanf(line, "%x %x", ®, &val) != 2) val 307 sound/pci/ca0106/ca0106_proc.c if ((reg < 0x40) && (reg >=0) && (val <= 0xffffffff) ) { val 309 sound/pci/ca0106/ca0106_proc.c outl(val, emu->port + (reg & 0xfffffffc)); val 404 sound/pci/ca0106/ca0106_proc.c unsigned int reg, channel_id , val; val 406 sound/pci/ca0106/ca0106_proc.c if (sscanf(line, "%x %x %x", ®, &channel_id, &val) != 3) val 408 sound/pci/ca0106/ca0106_proc.c if ((reg < 0x80) && (reg >=0) && (val <= 0xffffffff) && (channel_id >=0) && (channel_id <= 3) ) val 409 sound/pci/ca0106/ca0106_proc.c snd_ca0106_ptr_write(emu, reg, channel_id, val); val 418 sound/pci/ca0106/ca0106_proc.c unsigned int reg, val; val 420 sound/pci/ca0106/ca0106_proc.c if (sscanf(line, "%x %x", ®, &val) != 2) val 422 sound/pci/ca0106/ca0106_proc.c if ((reg <= 0x7f) || (val <= 0x1ff)) { val 423 sound/pci/ca0106/ca0106_proc.c snd_ca0106_i2c_write(emu, reg, val); val 550 sound/pci/cmipci.c unsigned int val, oval; val 551 sound/pci/cmipci.c val = oval = inl(cm->iobase + cmd); val 552 sound/pci/cmipci.c val |= flag; val 553 sound/pci/cmipci.c if (val == oval) val 555 sound/pci/cmipci.c outl(val, cm->iobase + cmd); val 561 sound/pci/cmipci.c unsigned int val, oval; val 562 sound/pci/cmipci.c val = oval = inl(cm->iobase + cmd); val 563 sound/pci/cmipci.c val &= ~flag; val 564 sound/pci/cmipci.c if (val == oval) val 566 sound/pci/cmipci.c outl(val, cm->iobase + cmd); val 573 sound/pci/cmipci.c unsigned char val, oval; val 574 sound/pci/cmipci.c val = oval = inb(cm->iobase + cmd); val 575 sound/pci/cmipci.c val |= flag; val 576 sound/pci/cmipci.c if (val == oval) val 578 sound/pci/cmipci.c outb(val, cm->iobase + cmd); val 584 sound/pci/cmipci.c unsigned char val, oval; val 585 sound/pci/cmipci.c val = oval = inb(cm->iobase + cmd); val 586 sound/pci/cmipci.c val &= ~flag; val 587 sound/pci/cmipci.c if (val == oval) val 589 sound/pci/cmipci.c outb(val, cm->iobase + cmd); val 785 sound/pci/cmipci.c unsigned int reg, freq, freq_ext, val; val 824 sound/pci/cmipci.c val = rec->ch ? CM_CHADC1 : CM_CHADC0; val 826 sound/pci/cmipci.c cm->ctrl &= ~val; val 828 sound/pci/cmipci.c cm->ctrl |= val; val 844 sound/pci/cmipci.c val = snd_cmipci_read(cm, CM_REG_FUNCTRL1); val 846 sound/pci/cmipci.c val &= ~CM_DSFC_MASK; val 847 sound/pci/cmipci.c val |= (freq << CM_DSFC_SHIFT) & CM_DSFC_MASK; val 849 sound/pci/cmipci.c val &= ~CM_ASFC_MASK; val 850 sound/pci/cmipci.c val |= (freq << CM_ASFC_SHIFT) & CM_ASFC_MASK; val 852 sound/pci/cmipci.c snd_cmipci_write(cm, CM_REG_FUNCTRL1, val); val 856 sound/pci/cmipci.c val = snd_cmipci_read(cm, CM_REG_CHFORMAT); val 858 sound/pci/cmipci.c val &= ~CM_CH1FMT_MASK; val 859 sound/pci/cmipci.c val |= rec->fmt << CM_CH1FMT_SHIFT; val 861 sound/pci/cmipci.c val &= ~CM_CH0FMT_MASK; val 862 sound/pci/cmipci.c val |= rec->fmt << CM_CH0FMT_SHIFT; val 865 sound/pci/cmipci.c val &= ~(CM_CH0_SRATE_MASK << (rec->ch * 2)); val 866 sound/pci/cmipci.c val |= freq_ext << (rec->ch * 2); val 868 sound/pci/cmipci.c snd_cmipci_write(cm, CM_REG_CHFORMAT, val); val 1028 sound/pci/cmipci.c unsigned int val; val 1030 sound/pci/cmipci.c val = 0; val 1033 sound/pci/cmipci.c val |= (unsigned int)ucontrol->value.iec958.status[i] << (i * 8); val 1034 sound/pci/cmipci.c change = val != chip->dig_status; val 1035 sound/pci/cmipci.c chip->dig_status = val; val 1102 sound/pci/cmipci.c unsigned int val; val 1104 sound/pci/cmipci.c val = 0; val 1107 sound/pci/cmipci.c val |= (unsigned int)ucontrol->value.iec958.status[i] << (i * 8); val 1108 sound/pci/cmipci.c change = val != chip->dig_pcm_status; val 1109 sound/pci/cmipci.c chip->dig_pcm_status = val; val 1131 sound/pci/cmipci.c struct snd_ctl_elem_value *val; val 1134 sound/pci/cmipci.c val = kmalloc(sizeof(*val), GFP_ATOMIC); val 1135 sound/pci/cmipci.c if (!val) val 1141 sound/pci/cmipci.c memset(val, 0, sizeof(*val)); val 1142 sound/pci/cmipci.c ctl->get(ctl, val); val 1143 sound/pci/cmipci.c cm->mixer_res_status[i] = val->value.integer.value[0]; val 1144 sound/pci/cmipci.c val->value.integer.value[0] = cm_saved_mixer[i].toggle_on; val 1146 sound/pci/cmipci.c if (cm->mixer_res_status[i] != val->value.integer.value[0]) { val 1147 sound/pci/cmipci.c ctl->put(ctl, val); /* toggle */ val 1154 sound/pci/cmipci.c kfree(val); val 1165 sound/pci/cmipci.c struct snd_ctl_elem_value *val; val 1168 sound/pci/cmipci.c val = kmalloc(sizeof(*val), GFP_KERNEL); val 1169 sound/pci/cmipci.c if (!val) val 1178 sound/pci/cmipci.c memset(val, 0, sizeof(*val)); val 1180 sound/pci/cmipci.c ctl->get(ctl, val); val 1182 sound/pci/cmipci.c if (val->value.integer.value[0] != cm->mixer_res_status[i]) { val 1183 sound/pci/cmipci.c val->value.integer.value[0] = cm->mixer_res_status[i]; val 1184 sound/pci/cmipci.c ctl->put(ctl, val); val 1190 sound/pci/cmipci.c kfree(val); val 1330 sound/pci/cmipci.c unsigned int reg, val; val 1336 sound/pci/cmipci.c val = ((PAGE_SIZE / 4) - 1) | (((PAGE_SIZE / 4) / 2 - 1) << 16); val 1337 sound/pci/cmipci.c snd_cmipci_write(cm, reg, val); val 1343 sound/pci/cmipci.c val = snd_cmipci_read(cm, CM_REG_FUNCTRL1); val 1344 sound/pci/cmipci.c val &= ~(CM_ASFC_MASK << (rec->ch * 3)); val 1345 sound/pci/cmipci.c val |= (4 << CM_ASFC_SHIFT) << (rec->ch * 3); val 1346 sound/pci/cmipci.c snd_cmipci_write(cm, CM_REG_FUNCTRL1, val); val 1347 sound/pci/cmipci.c val = snd_cmipci_read(cm, CM_REG_CHFORMAT); val 1348 sound/pci/cmipci.c val &= ~(CM_CH0FMT_MASK << (rec->ch * 2)); val 1349 sound/pci/cmipci.c val |= (3 << CM_CH0FMT_SHIFT) << (rec->ch * 2); val 1351 sound/pci/cmipci.c val &= ~(CM_CH0_SRATE_MASK << (rec->ch * 2)); val 1352 sound/pci/cmipci.c snd_cmipci_write(cm, CM_REG_CHFORMAT, val); val 1364 sound/pci/cmipci.c val = CM_RST_CH0 << rec->ch; val 1365 sound/pci/cmipci.c snd_cmipci_write(cm, CM_REG_FUNCTRL0, cm->ctrl | val); val 1366 sound/pci/cmipci.c snd_cmipci_write(cm, CM_REG_FUNCTRL0, cm->ctrl & ~val); val 2012 sound/pci/cmipci.c r->left_reg = val & 0xff; val 2013 sound/pci/cmipci.c r->right_reg = (val >> 8) & 0xff; val 2014 sound/pci/cmipci.c r->left_shift = (val >> 16) & 0x07; val 2015 sound/pci/cmipci.c r->right_shift = (val >> 19) & 0x07; val 2016 sound/pci/cmipci.c r->invert = (val >> 22) & 1; val 2017 sound/pci/cmipci.c r->stereo = (val >> 23) & 1; val 2018 sound/pci/cmipci.c r->mask = (val >> 24) & 0xff; val 2039 sound/pci/cmipci.c int val; val 2043 sound/pci/cmipci.c val = (snd_cmipci_mixer_read(cm, reg.left_reg) >> reg.left_shift) & reg.mask; val 2045 sound/pci/cmipci.c val = reg.mask - val; val 2046 sound/pci/cmipci.c ucontrol->value.integer.value[0] = val; val 2048 sound/pci/cmipci.c val = (snd_cmipci_mixer_read(cm, reg.right_reg) >> reg.right_shift) & reg.mask; val 2050 sound/pci/cmipci.c val = reg.mask - val; val 2051 sound/pci/cmipci.c ucontrol->value.integer.value[1] = val; val 2211 sound/pci/cmipci.c unsigned char oreg, val; val 2216 sound/pci/cmipci.c val = (oreg >> reg.left_shift) & reg.mask; val 2218 sound/pci/cmipci.c val = reg.mask - val; val 2219 sound/pci/cmipci.c ucontrol->value.integer.value[0] = val; val 2221 sound/pci/cmipci.c val = (oreg >> reg.right_shift) & reg.mask; val 2223 sound/pci/cmipci.c val = reg.mask - val; val 2224 sound/pci/cmipci.c ucontrol->value.integer.value[1] = val; val 2235 sound/pci/cmipci.c unsigned char oreg, nreg, val; val 2240 sound/pci/cmipci.c val = ucontrol->value.integer.value[0] & reg.mask; val 2242 sound/pci/cmipci.c val = reg.mask - val; val 2244 sound/pci/cmipci.c nreg |= (val << reg.left_shift); val 2246 sound/pci/cmipci.c val = ucontrol->value.integer.value[1] & reg.mask; val 2248 sound/pci/cmipci.c val = reg.mask - val; val 2250 sound/pci/cmipci.c nreg |= (val << reg.right_shift); val 2337 sound/pci/cmipci.c unsigned int val; val 2347 sound/pci/cmipci.c val = inb(cm->iobase + args->reg); val 2349 sound/pci/cmipci.c val = snd_cmipci_read(cm, args->reg); val 2350 sound/pci/cmipci.c ucontrol->value.integer.value[0] = ((val & args->mask) == args->mask_on) ? 1 : 0; val 2369 sound/pci/cmipci.c unsigned int val; val 2380 sound/pci/cmipci.c val = inb(cm->iobase + args->reg); val 2382 sound/pci/cmipci.c val = snd_cmipci_read(cm, args->reg); val 2383 sound/pci/cmipci.c change = (val & args->mask) != (ucontrol->value.integer.value[0] ? val 2386 sound/pci/cmipci.c val &= ~args->mask; val 2388 sound/pci/cmipci.c val |= args->mask_on; val 2390 sound/pci/cmipci.c val |= (args->mask & ~args->mask_on); val 2392 sound/pci/cmipci.c outb((unsigned char)val, cm->iobase + args->reg); val 2394 sound/pci/cmipci.c snd_cmipci_write(cm, args->reg, val); val 2514 sound/pci/cmipci.c unsigned int val; val 2516 sound/pci/cmipci.c val = snd_cmipci_read(cm, CM_REG_LEGACY_CTRL); val 2517 sound/pci/cmipci.c if (val & (CM_CENTR2LIN | CM_BASE2LIN)) val 2520 sound/pci/cmipci.c val = snd_cmipci_read_b(cm, CM_REG_MIXER1); val 2521 sound/pci/cmipci.c if (val & CM_REAR2LIN) val 2958 sound/pci/cmipci.c unsigned int val; val 2975 sound/pci/cmipci.c val = snd_cmipci_read(cm, CM_REG_LEGACY_CTRL) & ~CM_FMSEL_MASK; val 2978 sound/pci/cmipci.c case 0x3E8: val |= CM_FMSEL_3E8; break; val 2979 sound/pci/cmipci.c case 0x3E0: val |= CM_FMSEL_3E0; break; val 2980 sound/pci/cmipci.c case 0x3C8: val |= CM_FMSEL_3C8; break; val 2981 sound/pci/cmipci.c case 0x388: val |= CM_FMSEL_388; break; val 2985 sound/pci/cmipci.c snd_cmipci_write(cm, CM_REG_LEGACY_CTRL, val); val 3016 sound/pci/cmipci.c unsigned int val; val 3126 sound/pci/cmipci.c val = pci->device < 0x110 ? 8338 : 8738; val 3130 sound/pci/cmipci.c val = 8769; val 3133 sound/pci/cmipci.c val = 8762; val 3144 sound/pci/cmipci.c val = 8770; val 3147 sound/pci/cmipci.c val = 8768; val 3152 sound/pci/cmipci.c sprintf(card->shortname, "C-Media CMI%d", val); val 3166 sound/pci/cmipci.c val = snd_cmipci_read_b(cm, CM_REG_MPU_PCI + 1); val 3167 sound/pci/cmipci.c if (val != 0x00 && val != 0xff) { val 3173 sound/pci/cmipci.c val = 0; val 3176 sound/pci/cmipci.c case 0x320: val = CM_VMPU_320; break; val 3177 sound/pci/cmipci.c case 0x310: val = CM_VMPU_310; break; val 3178 sound/pci/cmipci.c case 0x300: val = CM_VMPU_300; break; val 3179 sound/pci/cmipci.c case 0x330: val = CM_VMPU_330; break; val 3184 sound/pci/cmipci.c snd_cmipci_write(cm, CM_REG_LEGACY_CTRL, val); val 3237 sound/pci/cmipci.c for (val = 0; val < ARRAY_SIZE(rates); val++) val 3238 sound/pci/cmipci.c snd_cmipci_set_pll(cm, rates[val], val); val 517 sound/pci/cs4281.c writel(val, chip->ba0 + offset); val 551 sound/pci/cs4281.c snd_cs4281_pokeBA0(chip, BA0_ACCDA, val); val 567 sound/pci/cs4281.c snd_printk(KERN_ERR "AC'97 write problem, reg = 0x%x, val = 0x%x\n", reg, val); val 709 sound/pci/cs4281.c unsigned int val = ~0; val 725 sound/pci/cs4281.c val = 1536000 / rate; val 727 sound/pci/cs4281.c *real_rate = 1536000 / val; val 728 sound/pci/cs4281.c return val; val 768 sound/pci/cs4281.c unsigned int val = snd_cs4281_rate(runtime->rate, NULL); val 770 sound/pci/cs4281.c snd_cs4281_pokeBA0(chip, BA0_DACSR, val); val 774 sound/pci/cs4281.c unsigned int val = snd_cs4281_rate(runtime->rate, NULL); val 776 sound/pci/cs4281.c snd_cs4281_pokeBA0(chip, BA0_ADCSR, val); val 1818 sound/pci/cs4281.c unsigned int status, dma, val; val 1835 sound/pci/cs4281.c val = snd_cs4281_peekBA0(chip, cdma->regHDSR); val 1839 sound/pci/cs4281.c if ((val & BA0_HDSR_DHTC) && !(cdma->frag & 1)) { val 1845 sound/pci/cs4281.c if ((val & BA0_HDSR_DTC) && (cdma->frag & 1)) { val 1906 sound/pci/cs4281.c writel((unsigned int)val, port + 4); val 213 sound/pci/cs46xx/cs46xx_lib.c unsigned short val; val 220 sound/pci/cs46xx/cs46xx_lib.c val = snd_cs46xx_codec_read(chip, reg, codec_index); val 222 sound/pci/cs46xx/cs46xx_lib.c return val; val 260 sound/pci/cs46xx/cs46xx_lib.c snd_cs46xx_pokeBA0(chip, BA0_ACCDA , val); val 286 sound/pci/cs46xx/cs46xx_lib.c snd_printk(KERN_ERR "AC'97 write problem, codec_index = %d, reg = 0x%x, val = 0x%x\n", codec_index, reg, val); val 302 sound/pci/cs46xx/cs46xx_lib.c snd_cs46xx_codec_write(chip, reg, val, codec_index); val 1751 sound/pci/cs46xx/cs46xx_lib.c unsigned int val = snd_cs46xx_peek(chip, reg); val 1752 sound/pci/cs46xx/cs46xx_lib.c ucontrol->value.integer.value[0] = 0xffff - (val >> 16); val 1753 sound/pci/cs46xx/cs46xx_lib.c ucontrol->value.integer.value[1] = 0xffff - (val & 0xffff); val 1761 sound/pci/cs46xx/cs46xx_lib.c unsigned int val = ((0xffff - ucontrol->value.integer.value[0]) << 16 | val 1764 sound/pci/cs46xx/cs46xx_lib.c int change = (old != val); val 1767 sound/pci/cs46xx/cs46xx_lib.c snd_cs46xx_poke(chip, reg, val); val 2016 sound/pci/cs46xx/cs46xx_lib.c unsigned int val; val 2020 sound/pci/cs46xx/cs46xx_lib.c val = ((unsigned int)_wrap_all_bits(ucontrol->value.iec958.status[0]) << 24) | val 2027 sound/pci/cs46xx/cs46xx_lib.c change = (unsigned int)ins->spdif_csuv_default != val; val 2028 sound/pci/cs46xx/cs46xx_lib.c ins->spdif_csuv_default = val; val 2031 sound/pci/cs46xx/cs46xx_lib.c cs46xx_poke_via_dsp (chip,SP_SPDOUT_CSUV,val); val 2069 sound/pci/cs46xx/cs46xx_lib.c unsigned int val; val 2073 sound/pci/cs46xx/cs46xx_lib.c val = ((unsigned int)_wrap_all_bits(ucontrol->value.iec958.status[0]) << 24) | val 2080 sound/pci/cs46xx/cs46xx_lib.c change = ins->spdif_csuv_stream != val; val 2081 sound/pci/cs46xx/cs46xx_lib.c ins->spdif_csuv_stream = val; val 2084 sound/pci/cs46xx/cs46xx_lib.c cs46xx_poke_via_dsp (chip,SP_SPDOUT_CSUV,val); val 2194 sound/pci/cs46xx/cs46xx_lib.c unsigned short val; val 2195 sound/pci/cs46xx/cs46xx_lib.c val = snd_ac97_read(chip->ac97[CS46XX_PRIMARY_CODEC_INDEX], AC97_CSR_ACMODE); val 2196 sound/pci/cs46xx/cs46xx_lib.c ucontrol->value.integer.value[0] = (val & 0x200) ? 0 : 1; val 3291 sound/pci/cs46xx/cs46xx_lib.c int oval, val; val 3296 sound/pci/cs46xx/cs46xx_lib.c val = oval; val 3299 sound/pci/cs46xx/cs46xx_lib.c val |= 0x8000; val 3302 sound/pci/cs46xx/cs46xx_lib.c val &= ~0x8000; val 3304 sound/pci/cs46xx/cs46xx_lib.c if (val != oval) { val 3305 sound/pci/cs46xx/cs46xx_lib.c snd_cs46xx_codec_write(chip, AC97_POWERDOWN, val, val 66 sound/pci/cs46xx/cs46xx_lib.h writel(val, chip->region.idx[bank+1].remap_addr + offset); val 78 sound/pci/cs46xx/cs46xx_lib.h writel(val, chip->region.name.ba0.remap_addr + offset); val 554 sound/pci/cs46xx/dsp_spos.c u32 val; val 559 sound/pci/cs46xx/dsp_spos.c val = readl(dst + (ins->tasks[i].address + j) * sizeof(u32)); val 560 sound/pci/cs46xx/dsp_spos.c snd_iprintf(buffer,"%08x ",val); val 195 sound/pci/cs46xx/dsp_spos.h ((val & 0x1 ) << 7) | val 196 sound/pci/cs46xx/dsp_spos.h ((val & 0x2 ) << 5) | val 197 sound/pci/cs46xx/dsp_spos.h ((val & 0x4 ) << 3) | val 198 sound/pci/cs46xx/dsp_spos.h ((val & 0x8 ) << 1) | val 199 sound/pci/cs46xx/dsp_spos.h ((val & 0x10) >> 1) | val 200 sound/pci/cs46xx/dsp_spos.h ((val & 0x20) >> 3) | val 201 sound/pci/cs46xx/dsp_spos.h ((val & 0x40) >> 5) | val 202 sound/pci/cs46xx/dsp_spos.h ((val & 0x80) >> 7); val 221 sound/pci/cs46xx/dsp_spos.h unsigned int val = ((0xffff - left) << 16 | (0xffff - right)); val 223 sound/pci/cs46xx/dsp_spos.h snd_cs46xx_poke(chip, (scb->address + SCBVolumeCtrl) << 2, val); val 224 sound/pci/cs46xx/dsp_spos.h snd_cs46xx_poke(chip, (scb->address + SCBVolumeCtrl + 1) << 2, val); val 95 sound/pci/cs5535audio/cs5535audio.c unsigned int val; val 106 sound/pci/cs5535audio/cs5535audio.c val = cs_readl(cs5535au, ACC_CODEC_STATUS); val 107 sound/pci/cs5535audio/cs5535audio.c if ((val & STS_NEW) && reg == (val >> 24)) val 113 sound/pci/cs5535audio/cs5535audio.c "Last value=0x%x\n", reg, val); val 115 sound/pci/cs5535audio/cs5535audio.c return (unsigned short) val; val 124 sound/pci/cs5535audio/cs5535audio.c regdata |= val; val 137 sound/pci/cs5535audio/cs5535audio.c snd_cs5535audio_codec_write(cs5535au, reg, val); val 4 sound/pci/cs5535audio/cs5535audio.h #define cs_writel(cs5535au, reg, val) outl(val, (cs5535au)->port + reg) val 5 sound/pci/cs5535audio/cs5535audio.h #define cs_writeb(cs5535au, reg, val) outb(val, (cs5535au)->port + reg) val 236 sound/pci/emu10k1/emu10k1_callback.c int state, val; val 252 sound/pci/emu10k1/emu10k1_callback.c val = snd_emu10k1_ptr_read(hw, CVCF_CURRENTVOL, vp->ch); val 253 sound/pci/emu10k1/emu10k1_callback.c if (! val) val 267 sound/pci/emu10k1/emu10k1_callback.c val = snd_emu10k1_ptr_read(hw, CCCA_CURRADDR, vp->ch); val 268 sound/pci/emu10k1/emu10k1_callback.c if (val >= vp->reg.loopstart) val 422 sound/pci/emu10k1/emu10k1_callback.c unsigned int val, sample; val 423 sound/pci/emu10k1/emu10k1_callback.c val = 32; val 428 sound/pci/emu10k1/emu10k1_callback.c val *= 2; val 442 sound/pci/emu10k1/emu10k1_callback.c val -= 4; val 443 sound/pci/emu10k1/emu10k1_callback.c val <<= 25; val 444 sound/pci/emu10k1/emu10k1_callback.c val |= 0x1c << 16; val 445 sound/pci/emu10k1/emu10k1_callback.c snd_emu10k1_ptr_write(hw, CCR, ch, val); val 544 sound/pci/emu10k1/emu10k1_callback.c unsigned int val; val 545 sound/pci/emu10k1/emu10k1_callback.c val = snd_emu10k1_ptr_read(hw, CCCA, vp->ch) & ~CCCA_RESONANCE; val 546 sound/pci/emu10k1/emu10k1_callback.c val |= (vp->reg.parm.filterQ << 28); val 547 sound/pci/emu10k1/emu10k1_callback.c snd_emu10k1_ptr_write(hw, CCCA, vp->ch, val); val 2003 sound/pci/emu10k1/emu10k1_main.c unsigned int *val; val 2005 sound/pci/emu10k1/emu10k1_main.c val = emu->saved_ptr; val 2007 sound/pci/emu10k1/emu10k1_main.c for (i = 0; i < NUM_G; i++, val++) val 2008 sound/pci/emu10k1/emu10k1_main.c *val = snd_emu10k1_ptr_read(emu, *reg, i); val 2011 sound/pci/emu10k1/emu10k1_main.c for (i = 0; i < NUM_G; i++, val++) val 2012 sound/pci/emu10k1/emu10k1_main.c *val = snd_emu10k1_ptr_read(emu, *reg, i); val 2036 sound/pci/emu10k1/emu10k1_main.c unsigned int *val; val 2045 sound/pci/emu10k1/emu10k1_main.c val = emu->saved_ptr; val 2047 sound/pci/emu10k1/emu10k1_main.c for (i = 0; i < NUM_G; i++, val++) val 2048 sound/pci/emu10k1/emu10k1_main.c snd_emu10k1_ptr_write(emu, *reg, i, *val); val 2051 sound/pci/emu10k1/emu10k1_main.c for (i = 0; i < NUM_G; i++, val++) val 2052 sound/pci/emu10k1/emu10k1_main.c snd_emu10k1_ptr_write(emu, *reg, i, *val); val 300 sound/pci/emu10k1/emu10k1x.c unsigned int regptr, val; val 306 sound/pci/emu10k1/emu10k1x.c val = inl(emu->port + DATA); val 308 sound/pci/emu10k1/emu10k1x.c return val; val 708 sound/pci/emu10k1/emu10k1x.c unsigned short val; val 712 sound/pci/emu10k1/emu10k1x.c val = inw(emu->port + AC97DATA); val 714 sound/pci/emu10k1/emu10k1x.c return val; val 725 sound/pci/emu10k1/emu10k1x.c outw(val, emu->port + AC97DATA); val 1038 sound/pci/emu10k1/emu10k1x.c unsigned int reg, channel_id , val; val 1041 sound/pci/emu10k1/emu10k1x.c if (sscanf(line, "%x %x %x", ®, &channel_id, &val) != 3) val 1044 sound/pci/emu10k1/emu10k1x.c if ((reg < 0x49) && (reg >= 0) && (val <= 0xffffffff) val 1046 sound/pci/emu10k1/emu10k1x.c snd_emu10k1x_ptr_write(emu, reg, channel_id, val); val 1080 sound/pci/emu10k1/emu10k1x.c unsigned int val; val 1083 sound/pci/emu10k1/emu10k1x.c val = ucontrol->value.integer.value[0] ; val 1085 sound/pci/emu10k1/emu10k1x.c if (val) { val 1144 sound/pci/emu10k1/emu10k1x.c unsigned int val; val 1146 sound/pci/emu10k1/emu10k1x.c val = (ucontrol->value.iec958.status[0] << 0) | val 1150 sound/pci/emu10k1/emu10k1x.c change = val != emu->spdif_bits[idx]; val 1152 sound/pci/emu10k1/emu10k1x.c snd_emu10k1x_ptr_write(emu, SPCS0 + idx, 0, val); val 1153 sound/pci/emu10k1/emu10k1x.c emu->spdif_bits[idx] = val; val 359 sound/pci/emu10k1/emufx.c unsigned int nval, val; val 372 sound/pci/emu10k1/emufx.c val = ctl->value[i] = nval; val 375 sound/pci/emu10k1/emufx.c snd_emu10k1_ptr_write(emu, emu->gpr_base + ctl->gpr[i], 0, val); val 378 sound/pci/emu10k1/emufx.c snd_emu10k1_ptr_write(emu, emu->gpr_base + ctl->gpr[i], 0, db_table[val]); val 386 sound/pci/emu10k1/emufx.c snd_emu10k1_ptr_write(emu, emu->gpr_base + ctl->gpr[j * ctl->vcount + i], 0, bass_table[val][j]); val 394 sound/pci/emu10k1/emufx.c snd_emu10k1_ptr_write(emu, emu->gpr_base + ctl->gpr[j * ctl->vcount + i], 0, treble_table[val][j]); val 397 sound/pci/emu10k1/emufx.c snd_emu10k1_ptr_write(emu, emu->gpr_base + ctl->gpr[i], 0, onoff_table[val]); val 535 sound/pci/emu10k1/emufx.c u32 val; val 540 sound/pci/emu10k1/emufx.c if (get_user(val, &icode->gpr_map[gpr])) val 542 sound/pci/emu10k1/emufx.c snd_emu10k1_ptr_write(emu, emu->gpr_base + gpr, 0, val); val 551 sound/pci/emu10k1/emufx.c u32 val; val 555 sound/pci/emu10k1/emufx.c val = snd_emu10k1_ptr_read(emu, emu->gpr_base + gpr, 0); val 556 sound/pci/emu10k1/emufx.c if (put_user(val, &icode->gpr_map[gpr])) val 566 sound/pci/emu10k1/emufx.c u32 addr, val; val 571 sound/pci/emu10k1/emufx.c if (get_user(val, &icode->tram_data_map[tram]) || val 574 sound/pci/emu10k1/emufx.c snd_emu10k1_ptr_write(emu, TANKMEMDATAREGBASE + tram, 0, val); val 589 sound/pci/emu10k1/emufx.c u32 val, addr; val 594 sound/pci/emu10k1/emufx.c val = snd_emu10k1_ptr_read(emu, TANKMEMDATAREGBASE + tram, 0); val 601 sound/pci/emu10k1/emufx.c if (put_user(val, &icode->tram_data_map[tram]) || val 783 sound/pci/emu10k1/emufx.c struct snd_ctl_elem_value *val; val 786 sound/pci/emu10k1/emufx.c val = kmalloc(sizeof(*val), GFP_KERNEL); val 789 sound/pci/emu10k1/emufx.c if (!val || !gctl || !nctl) { val 828 sound/pci/emu10k1/emufx.c val->value.integer.value[j] = gctl->value[j]; val 858 sound/pci/emu10k1/emufx.c snd_emu10k1_gpr_ctl_put(ctl->kcontrol, val); val 863 sound/pci/emu10k1/emufx.c kfree(val); val 435 sound/pci/emu10k1/emumixer.c unsigned int val; val 438 sound/pci/emu10k1/emumixer.c val = ucontrol->value.enumerated.item[0]; val 439 sound/pci/emu10k1/emumixer.c if (val >= 53 || val 441 sound/pci/emu10k1/emumixer.c val >= 49)) val 449 sound/pci/emu10k1/emumixer.c if (emu->emu1010.output_source[channel] == val) val 451 sound/pci/emu10k1/emumixer.c emu->emu1010.output_source[channel] = val; val 454 sound/pci/emu10k1/emumixer.c emu1616_output_dst[channel], emu1616_src_regs[val]); val 457 sound/pci/emu10k1/emumixer.c emu1010_output_dst[channel], emu1010_src_regs[val]); val 479 sound/pci/emu10k1/emumixer.c unsigned int val; val 482 sound/pci/emu10k1/emumixer.c val = ucontrol->value.enumerated.item[0]; val 483 sound/pci/emu10k1/emumixer.c if (val >= 53 || val 485 sound/pci/emu10k1/emumixer.c val >= 49)) val 491 sound/pci/emu10k1/emumixer.c if (emu->emu1010.input_source[channel] == val) val 493 sound/pci/emu10k1/emumixer.c emu->emu1010.input_source[channel] = val; val 496 sound/pci/emu10k1/emumixer.c emu1010_input_dst[channel], emu1616_src_regs[val]); val 499 sound/pci/emu10k1/emumixer.c emu1010_input_dst[channel], emu1010_src_regs[val]); val 615 sound/pci/emu10k1/emumixer.c unsigned int val, cache; val 616 sound/pci/emu10k1/emumixer.c val = ucontrol->value.integer.value[0]; val 618 sound/pci/emu10k1/emumixer.c if (val == 1) val 663 sound/pci/emu10k1/emumixer.c unsigned int val, cache; val 664 sound/pci/emu10k1/emumixer.c val = ucontrol->value.integer.value[0]; val 666 sound/pci/emu10k1/emumixer.c if (val == 1) val 730 sound/pci/emu10k1/emumixer.c unsigned int val; val 733 sound/pci/emu10k1/emumixer.c val = ucontrol->value.enumerated.item[0] ; val 735 sound/pci/emu10k1/emumixer.c if (val >= 4) val 737 sound/pci/emu10k1/emumixer.c change = (emu->emu1010.internal_clock != val); val 739 sound/pci/emu10k1/emumixer.c emu->emu1010.internal_clock = val; val 740 sound/pci/emu10k1/emumixer.c switch (val) { val 1043 sound/pci/emu10k1/emumixer.c unsigned int reg, val, tmp; val 1048 sound/pci/emu10k1/emumixer.c val = A_SPDIF_44100; val 1051 sound/pci/emu10k1/emumixer.c val = A_SPDIF_48000; val 1054 sound/pci/emu10k1/emumixer.c val = A_SPDIF_96000; val 1057 sound/pci/emu10k1/emumixer.c val = A_SPDIF_48000; val 1065 sound/pci/emu10k1/emumixer.c tmp |= val; val 1090 sound/pci/emu10k1/emumixer.c unsigned int val; val 1096 sound/pci/emu10k1/emumixer.c val = (ucontrol->value.iec958.status[0] << 0) | val 1101 sound/pci/emu10k1/emumixer.c change = val != emu->spdif_bits[idx]; val 1103 sound/pci/emu10k1/emumixer.c snd_emu10k1_ptr_write(emu, SPCS0 + idx, 0, val); val 1104 sound/pci/emu10k1/emumixer.c emu->spdif_bits[idx] = val; val 1151 sound/pci/emu10k1/emumixer.c unsigned int val = ((unsigned int)volume[4] << 24) | val 1155 sound/pci/emu10k1/emumixer.c snd_emu10k1_ptr_write(emu, A_SENDAMOUNTS, voice, val); val 1198 sound/pci/emu10k1/emumixer.c int change = 0, voice, idx, val; val 1205 sound/pci/emu10k1/emumixer.c val = ucontrol->value.integer.value[(voice * num_efx) + idx] & mask; val 1206 sound/pci/emu10k1/emumixer.c if (mix->send_routing[voice][idx] != val) { val 1207 sound/pci/emu10k1/emumixer.c mix->send_routing[voice][idx] = val; val 1271 sound/pci/emu10k1/emumixer.c int change = 0, idx, val; val 1276 sound/pci/emu10k1/emumixer.c val = ucontrol->value.integer.value[idx] & 255; val 1277 sound/pci/emu10k1/emumixer.c if (mix->send_volume[idx/num_efx][idx%num_efx] != val) { val 1278 sound/pci/emu10k1/emumixer.c mix->send_volume[idx/num_efx][idx%num_efx] = val; val 1340 sound/pci/emu10k1/emumixer.c int change = 0, idx, val; val 1344 sound/pci/emu10k1/emumixer.c val = ucontrol->value.integer.value[idx] & 0xffff; val 1345 sound/pci/emu10k1/emumixer.c if (mix->attn[idx] != val) { val 1346 sound/pci/emu10k1/emumixer.c mix->attn[idx] = val; val 1411 sound/pci/emu10k1/emumixer.c int change = 0, idx, val; val 1417 sound/pci/emu10k1/emumixer.c val = ucontrol->value.integer.value[idx] & mask; val 1418 sound/pci/emu10k1/emumixer.c if (mix->send_routing[0][idx] != val) { val 1419 sound/pci/emu10k1/emumixer.c mix->send_routing[0][idx] = val; val 1479 sound/pci/emu10k1/emumixer.c int change = 0, idx, val; val 1484 sound/pci/emu10k1/emumixer.c val = ucontrol->value.integer.value[idx] & 255; val 1485 sound/pci/emu10k1/emumixer.c if (mix->send_volume[0][idx] != val) { val 1486 sound/pci/emu10k1/emumixer.c mix->send_volume[0][idx] = val; val 1542 sound/pci/emu10k1/emumixer.c int change = 0, val; val 1545 sound/pci/emu10k1/emumixer.c val = ucontrol->value.integer.value[0] & 0xffff; val 1546 sound/pci/emu10k1/emumixer.c if (mix->attn[0] != val) { val 1547 sound/pci/emu10k1/emumixer.c mix->attn[0] = val; val 1593 sound/pci/emu10k1/emumixer.c unsigned int reg, val, sw; val 1604 sound/pci/emu10k1/emumixer.c val = sw ? A_IOCFG_GPOUT0 : 0; val 1605 sound/pci/emu10k1/emumixer.c change = (reg & A_IOCFG_GPOUT0) != val; val 1608 sound/pci/emu10k1/emumixer.c reg |= val; val 1609 sound/pci/emu10k1/emumixer.c outl(reg | val, emu->port + A_IOCFG); val 1613 sound/pci/emu10k1/emumixer.c val = sw ? HCFG_GPOUT0 : 0; val 1614 sound/pci/emu10k1/emumixer.c change |= (reg & HCFG_GPOUT0) != val; val 1617 sound/pci/emu10k1/emumixer.c reg |= val; val 1618 sound/pci/emu10k1/emumixer.c outl(reg | val, emu->port + HCFG); val 188 sound/pci/emu10k1/emuproc.c unsigned int val, val1; val 201 sound/pci/emu10k1/emuproc.c val = emu->audigy ? val 210 sound/pci/emu10k1/emuproc.c val & 0x3f, val 211 sound/pci/emu10k1/emuproc.c (val >> 8) & 0x3f, val 212 sound/pci/emu10k1/emuproc.c (val >> 16) & 0x3f, val 213 sound/pci/emu10k1/emuproc.c (val >> 24) & 0x3f); val 222 sound/pci/emu10k1/emuproc.c (val >> 16) & 0x0f, val 223 sound/pci/emu10k1/emuproc.c (val >> 20) & 0x0f, val 224 sound/pci/emu10k1/emuproc.c (val >> 24) & 0x0f, val 225 sound/pci/emu10k1/emuproc.c (val >> 28) & 0x0f); val 279 sound/pci/emu10k1/emuproc.c val = snd_emu10k1_ptr_read(emu, ZVSRCS, 0); val 281 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "Rate Locked : %s\n", val & SRCS_RATELOCKED ? "on" : "off"); val 282 sound/pci/emu10k1/emuproc.c snd_iprintf(buffer, "Estimated Sample Rate : 0x%x\n", val & SRCS_ESTSAMPLERATE); val 291 sound/pci/emu10k1/emuproc.c unsigned int val, tmp, n; val 292 sound/pci/emu10k1/emuproc.c val = snd_emu10k1_ptr20_read(emu, CAPTURE_RATE_STATUS, 0); val 293 sound/pci/emu10k1/emuproc.c tmp = (val >> 16) & 0x8; val 295 sound/pci/emu10k1/emuproc.c tmp = val >> (16 + (n*4)); val 450 sound/pci/emu10k1/emuproc.c u32 reg, val; val 452 sound/pci/emu10k1/emuproc.c if (sscanf(line, "%x %x", ®, &val) != 2) val 454 sound/pci/emu10k1/emuproc.c if ((reg < 0x40) && (reg >= 0) && (val <= 0xffffffff) ) { val 456 sound/pci/emu10k1/emuproc.c outl(val, emu->port + (reg & 0xfffffffc)); val 468 sound/pci/emu10k1/emuproc.c unsigned int regptr, val; val 474 sound/pci/emu10k1/emuproc.c val = inl(emu->port + iobase + DATA); val 476 sound/pci/emu10k1/emuproc.c return val; val 526 sound/pci/emu10k1/emuproc.c unsigned int reg, channel_id , val; val 528 sound/pci/emu10k1/emuproc.c if (sscanf(line, "%x %x %x", ®, &channel_id, &val) != 3) val 530 sound/pci/emu10k1/emuproc.c if ((reg < 0xa0) && (reg >= 0) && (val <= 0xffffffff) && (channel_id >= 0) && (channel_id <= 3) ) val 531 sound/pci/emu10k1/emuproc.c snd_ptr_write(emu, iobase, reg, channel_id, val); val 37 sound/pci/emu10k1/io.c unsigned int regptr, val; val 52 sound/pci/emu10k1/io.c val = inl(emu->port + DATA); val 55 sound/pci/emu10k1/io.c return (val & mask) >> offset; val 59 sound/pci/emu10k1/io.c val = inl(emu->port + DATA); val 61 sound/pci/emu10k1/io.c return val; val 109 sound/pci/emu10k1/io.c unsigned int regptr, val; val 115 sound/pci/emu10k1/io.c val = inl(emu->port + 0x20 + DATA); val 117 sound/pci/emu10k1/io.c return val; val 327 sound/pci/emu10k1/io.c unsigned int val; val 333 sound/pci/emu10k1/io.c val = inl(emu->port + DATA); val 334 sound/pci/emu10k1/io.c val |= 1 << (voicenum - 32); val 337 sound/pci/emu10k1/io.c val = inl(emu->port + DATA); val 338 sound/pci/emu10k1/io.c val |= 1 << voicenum; val 340 sound/pci/emu10k1/io.c outl(val, emu->port + DATA); val 347 sound/pci/emu10k1/io.c unsigned int val; val 353 sound/pci/emu10k1/io.c val = inl(emu->port + DATA); val 354 sound/pci/emu10k1/io.c val &= ~(1 << (voicenum - 32)); val 357 sound/pci/emu10k1/io.c val = inl(emu->port + DATA); val 358 sound/pci/emu10k1/io.c val &= ~(1 << voicenum); val 360 sound/pci/emu10k1/io.c outl(val, emu->port + DATA); val 384 sound/pci/emu10k1/io.c unsigned int val; val 390 sound/pci/emu10k1/io.c val = inl(emu->port + DATA); val 391 sound/pci/emu10k1/io.c val |= 1 << (voicenum - 32); val 394 sound/pci/emu10k1/io.c val = inl(emu->port + DATA); val 395 sound/pci/emu10k1/io.c val |= 1 << voicenum; val 397 sound/pci/emu10k1/io.c outl(val, emu->port + DATA); val 404 sound/pci/emu10k1/io.c unsigned int val; val 410 sound/pci/emu10k1/io.c val = inl(emu->port + DATA); val 411 sound/pci/emu10k1/io.c val &= ~(1 << (voicenum - 32)); val 414 sound/pci/emu10k1/io.c val = inl(emu->port + DATA); val 415 sound/pci/emu10k1/io.c val &= ~(1 << voicenum); val 417 sound/pci/emu10k1/io.c outl(val, emu->port + DATA); val 501 sound/pci/emu10k1/io.c unsigned short val; val 505 sound/pci/emu10k1/io.c val = inw(emu->port + AC97DATA); val 507 sound/pci/emu10k1/io.c return val; val 62 sound/pci/emu10k1/irq.c u32 val; val 65 sound/pci/emu10k1/irq.c val = snd_emu10k1_ptr_read(emu, CLIPL, 0); val 68 sound/pci/emu10k1/irq.c val = snd_emu10k1_ptr_read(emu, CLIPH, 0); val 69 sound/pci/emu10k1/irq.c if (val & 1) { val 77 sound/pci/emu10k1/irq.c val >>= 1; val 80 sound/pci/emu10k1/irq.c val = snd_emu10k1_ptr_read(emu, HLIPL, 0); val 83 sound/pci/emu10k1/irq.c val = snd_emu10k1_ptr_read(emu, HLIPH, 0); val 84 sound/pci/emu10k1/irq.c if (val & 1) { val 92 sound/pci/emu10k1/irq.c val >>= 1; val 738 sound/pci/emu10k1/p16v.c unsigned int val; val 743 sound/pci/emu10k1/p16v.c val = ucontrol->value.enumerated.item[0] ; val 744 sound/pci/emu10k1/p16v.c if (val > 7) val 746 sound/pci/emu10k1/p16v.c change = (emu->p16v_capture_source != val); val 748 sound/pci/emu10k1/p16v.c emu->p16v_capture_source = val; val 749 sound/pci/emu10k1/p16v.c source = (val << 28) | (val << 24) | (val << 20) | (val << 16); val 783 sound/pci/emu10k1/p16v.c unsigned int val; val 787 sound/pci/emu10k1/p16v.c val = ucontrol->value.enumerated.item[0] ; val 788 sound/pci/emu10k1/p16v.c if (val > 3) val 790 sound/pci/emu10k1/p16v.c change = (emu->p16v_capture_channel != val); val 792 sound/pci/emu10k1/p16v.c emu->p16v_capture_channel = val; val 794 sound/pci/emu10k1/p16v.c snd_emu10k1_ptr20_write(emu, CAPTURE_P16V_SOURCE, 0, tmp | val); val 870 sound/pci/emu10k1/p16v.c unsigned int *val; val 872 sound/pci/emu10k1/p16v.c val = emu->p16v_saved; val 874 sound/pci/emu10k1/p16v.c for (i = 0; i < 0x80; i++, val++) val 875 sound/pci/emu10k1/p16v.c *val = snd_emu10k1_ptr20_read(emu, i, ch); val 881 sound/pci/emu10k1/p16v.c unsigned int *val; val 883 sound/pci/emu10k1/p16v.c val = emu->p16v_saved; val 885 sound/pci/emu10k1/p16v.c for (i = 0; i < 0x80; i++, val++) val 886 sound/pci/emu10k1/p16v.c snd_emu10k1_ptr20_write(emu, i, ch, *val); val 588 sound/pci/ens1370.c reg, val, ES_1370_CODEC_WRITE(reg, val), ES_REG(ensoniq, 1370_CODEC)); val 592 sound/pci/ens1370.c outw(ES_1370_CODEC_WRITE(reg, val), ES_REG(ensoniq, 1370_CODEC)); val 632 sound/pci/ens1370.c outl(ES_1371_CODEC_WRITE(reg, val), ES_REG(ensoniq, 1371_CODEC)); val 1356 sound/pci/ens1370.c unsigned int val; val 1359 sound/pci/ens1370.c val = ((u32)ucontrol->value.iec958.status[0] << 0) | val 1364 sound/pci/ens1370.c change = ensoniq->spdif_default != val; val 1365 sound/pci/ens1370.c ensoniq->spdif_default = val; val 1368 sound/pci/ens1370.c outl(val, ES_REG(ensoniq, CHANNEL_STATUS)); val 1400 sound/pci/ens1370.c unsigned int val; val 1403 sound/pci/ens1370.c val = ((u32)ucontrol->value.iec958.status[0] << 0) | val 1408 sound/pci/ens1370.c change = ensoniq->spdif_stream != val; val 1409 sound/pci/ens1370.c ensoniq->spdif_stream = val; val 1412 sound/pci/ens1370.c outl(val, ES_REG(ensoniq, CHANNEL_STATUS)); val 1489 sound/pci/ens1370.c int val = 0; val 1494 sound/pci/ens1370.c val = 1; val 1495 sound/pci/ens1370.c ucontrol->value.integer.value[0] = val; val 1534 sound/pci/ens1370.c int val = 0; val 1538 sound/pci/ens1370.c val = 1; val 1539 sound/pci/ens1370.c ucontrol->value.integer.value[0] = val; val 266 sound/pci/es1938.c outb(val, SLSB_REG(chip, MIXERDATA)); val 269 sound/pci/es1938.c snd_printk(KERN_DEBUG "Mixer reg %02x set to %02x\n", reg, val); val 302 sound/pci/es1938.c if (val != oval) { val 303 sound/pci/es1938.c new = (old & ~mask) | (val & mask); val 352 sound/pci/es1938.c snd_es1938_write_cmd(chip, val); val 355 sound/pci/es1938.c snd_printk(KERN_DEBUG "Reg %02x set to %02x\n", reg, val); val 364 sound/pci/es1938.c unsigned char val; val 369 sound/pci/es1938.c val = snd_es1938_get_byte(chip); val 372 sound/pci/es1938.c snd_printk(KERN_DEBUG "Reg %02x now is %02x\n", reg, val); val 374 sound/pci/es1938.c return val; val 390 sound/pci/es1938.c if (val != oval) { val 392 sound/pci/es1938.c new = (old & ~mask) | (val & mask); val 547 sound/pci/es1938.c int val; val 551 sound/pci/es1938.c val = 0x0f; val 556 sound/pci/es1938.c val = 0x00; val 562 sound/pci/es1938.c snd_es1938_write(chip, ESS_CMD_DMACONTROL, val); val 600 sound/pci/es1938.c int val; val 604 sound/pci/es1938.c val = 5; val 609 sound/pci/es1938.c val = 0; val 615 sound/pci/es1938.c snd_es1938_write(chip, ESS_CMD_DMACONTROL, val); val 1085 sound/pci/es1938.c unsigned char val = ucontrol->value.enumerated.item[0]; val 1087 sound/pci/es1938.c if (val > 7) val 1089 sound/pci/es1938.c return snd_es1938_mixer_bits(chip, 0x1c, 0x07, val) != val; val 1098 sound/pci/es1938.c unsigned char val = snd_es1938_mixer_read(chip, 0x50); val 1099 sound/pci/es1938.c ucontrol->value.integer.value[0] = !!(val & 8); val 1162 sound/pci/es1938.c return snd_es1938_mixer_bits(chip, reg, mask, val); val 1164 sound/pci/es1938.c return snd_es1938_bits(chip, reg, mask, val); val 1209 sound/pci/es1938.c int val; val 1211 sound/pci/es1938.c val = snd_es1938_reg_read(chip, reg); val 1212 sound/pci/es1938.c ucontrol->value.integer.value[0] = (val >> shift) & mask; val 1226 sound/pci/es1938.c unsigned char val; val 1228 sound/pci/es1938.c val = (ucontrol->value.integer.value[0] & mask); val 1230 sound/pci/es1938.c val = mask - val; val 1232 sound/pci/es1938.c val <<= shift; val 1233 sound/pci/es1938.c return snd_es1938_reg_bits(chip, reg, mask, val) != val; val 641 sound/pci/es1968.c outw(val, chip->io_port + ESM_AC97_DATA); val 1882 sound/pci/es1968.c int x, val; val 1903 sound/pci/es1968.c val = chip->ac97->regs[AC97_MASTER]; val 1907 sound/pci/es1968.c val ^= 0x8000; val 1908 sound/pci/es1968.c chip->ac97->regs[AC97_MASTER] = val; val 1909 sound/pci/es1968.c outw(val, chip->io_port + ESM_AC97_DATA); val 1916 sound/pci/es1968.c if ((val & 0x7f) > 0) val 1917 sound/pci/es1968.c val--; val 1918 sound/pci/es1968.c if ((val & 0x7f00) > 0) val 1919 sound/pci/es1968.c val -= 0x0100; val 1920 sound/pci/es1968.c chip->ac97->regs[AC97_MASTER] = val; val 1921 sound/pci/es1968.c outw(val, chip->io_port + ESM_AC97_DATA); val 1928 sound/pci/es1968.c if ((val & 0x7f) < 0x1f) val 1929 sound/pci/es1968.c val++; val 1930 sound/pci/es1968.c if ((val & 0x7f00) < 0x1f00) val 1931 sound/pci/es1968.c val += 0x0100; val 1932 sound/pci/es1968.c chip->ac97->regs[AC97_MASTER] = val; val 1933 sound/pci/es1968.c outw(val, chip->io_port + ESM_AC97_DATA); val 2431 sound/pci/es1968.c u16 val; val 2447 sound/pci/es1968.c pci_read_config_word(chip->pci, ESM_LEGACY_AUDIO_CONTROL, &val); val 2448 sound/pci/es1968.c pci_write_config_word(chip->pci, ESM_LEGACY_AUDIO_CONTROL, val | 0x04); val 254 sound/pci/fm801.c outw(val, FM801_REG(chip, AC97_DATA)); val 746 sound/pci/fm801.c if (val & (1 << i)) val 770 sound/pci/fm801.c unsigned int val = 0; val 795 sound/pci/fm801.c val <<= 1; val 797 sound/pci/fm801.c val |= 1; val 802 sound/pci/fm801.c return val; val 834 sound/pci/fm801.c if (val & (1 << i)) val 858 sound/pci/fm801.c unsigned int val = 0; val 883 sound/pci/fm801.c val <<= 1; val 885 sound/pci/fm801.c val |= 1; val 890 sound/pci/fm801.c return val; val 922 sound/pci/fm801.c if (val & (1 << i)) val 946 sound/pci/fm801.c unsigned int val = 0; val 971 sound/pci/fm801.c val <<= 1; val 973 sound/pci/fm801.c val |= 1; val 978 sound/pci/fm801.c return val; val 1066 sound/pci/fm801.c unsigned short val; val 1068 sound/pci/fm801.c val = (ucontrol->value.integer.value[0] & mask); val 1070 sound/pci/fm801.c val = mask - val; val 1071 sound/pci/fm801.c return snd_fm801_update_bits(chip, reg, mask << shift, val << shift); val 1161 sound/pci/fm801.c unsigned short val; val 1163 sound/pci/fm801.c val = inw(FM801_REG(chip, REC_SRC)) & 7; val 1164 sound/pci/fm801.c if (val > 4) val 1165 sound/pci/fm801.c val = 4; val 1166 sound/pci/fm801.c ucontrol->value.enumerated.item[0] = val; val 1174 sound/pci/fm801.c unsigned short val; val 1176 sound/pci/fm801.c if ((val = ucontrol->value.enumerated.item[0]) > 4) val 1178 sound/pci/fm801.c return snd_fm801_update_bits(chip, FM801_REC_SRC, 7, val); val 249 sound/pci/hda/hda_codec.c hda_nid_t val, n; val 255 sound/pci/hda/hda_codec.c val = parm & mask; val 259 sound/pci/hda/hda_codec.c if (!prev_nid || prev_nid >= val) { val 262 sound/pci/hda/hda_codec.c prev_nid, val); val 265 sound/pci/hda/hda_codec.c for (n = prev_nid + 1; n <= val; n++) { val 278 sound/pci/hda/hda_codec.c conn_list[conns++] = val; val 280 sound/pci/hda/hda_codec.c prev_nid = val; val 806 sound/pci/hda/hda_codec.c info->val = 0; val 830 sound/pci/hda/hda_codec.c if (!(info->head.val & INFO_AMP_CAPS)) { val 838 sound/pci/hda/hda_codec.c info->head.val |= INFO_AMP_CAPS; val 852 sound/pci/hda/hda_codec.c info->head.val |= INFO_AMP_CAPS; val 864 sound/pci/hda/hda_codec.c u32 val, parm; val 866 sound/pci/hda/hda_codec.c if (info->head.val & INFO_AMP_VOL(ch)) val 872 sound/pci/hda/hda_codec.c val = snd_hda_codec_read(codec, nid, 0, val 874 sound/pci/hda/hda_codec.c info->vol[ch] = val & 0xff; val 875 sound/pci/hda/hda_codec.c info->head.val |= INFO_AMP_VOL(ch); val 891 sound/pci/hda/hda_codec.c parm |= val; val 893 sound/pci/hda/hda_codec.c info->vol[ch] = val; val 920 sound/pci/hda/hda_codec.c val &= mask; val 921 sound/pci/hda/hda_codec.c val |= get_vol_mute(codec, info, nid, ch, direction, idx) & ~mask; val 922 sound/pci/hda/hda_codec.c if (info->vol[ch] == val) val 924 sound/pci/hda/hda_codec.c put_vol_mute(codec, info, nid, ch, direction, idx, val); val 937 sound/pci/hda/hda_codec.c idx, mask, val); val 958 sound/pci/hda/hda_codec.c if (!(buffer->head.val & INFO_AMP_VOL(ch))) val 1384 sound/pci/hda/hda_codec.c unsigned short val = 0; val 1387 sound/pci/hda/hda_codec.c val |= AC_DIG1_PROFESSIONAL; val 1389 sound/pci/hda/hda_codec.c val |= AC_DIG1_NONAUDIO; val 1393 sound/pci/hda/hda_codec.c val |= AC_DIG1_EMPHASIS; val 1397 sound/pci/hda/hda_codec.c val |= AC_DIG1_EMPHASIS; val 1399 sound/pci/hda/hda_codec.c val |= AC_DIG1_COPYRIGHT; val 1401 sound/pci/hda/hda_codec.c val |= AC_DIG1_LEVEL; val 1402 sound/pci/hda/hda_codec.c val |= sbits & (IEC958_AES1_CON_CATEGORY << 8); val 1404 sound/pci/hda/hda_codec.c return val; val 1413 sound/pci/hda/hda_codec.c if (val & AC_DIG1_NONAUDIO) val 1415 sound/pci/hda/hda_codec.c if (val & AC_DIG1_PROFESSIONAL) val 1421 sound/pci/hda/hda_codec.c if (val & AC_DIG1_EMPHASIS) val 1423 sound/pci/hda/hda_codec.c if (!(val & AC_DIG1_COPYRIGHT)) val 1425 sound/pci/hda/hda_codec.c if (val & AC_DIG1_LEVEL) val 1427 sound/pci/hda/hda_codec.c sbits |= val & (0x7f << 8); val 1438 sound/pci/hda/hda_codec.c snd_hda_codec_write(codec, nid, 0, verb, val); val 1443 sound/pci/hda/hda_codec.c snd_hda_codec_write(codec, *d, 0, verb, val); val 1460 sound/pci/hda/hda_codec.c unsigned short val; val 1468 sound/pci/hda/hda_codec.c val = convert_from_spdif_status(codec->spdif_status); val 1469 sound/pci/hda/hda_codec.c val |= codec->spdif_ctls & 1; val 1470 sound/pci/hda/hda_codec.c change = codec->spdif_ctls != val; val 1471 sound/pci/hda/hda_codec.c codec->spdif_ctls = val; val 1474 sound/pci/hda/hda_codec.c set_dig_out_convert(codec, nid, val & 0xff, (val >> 8) & 0xff); val 1496 sound/pci/hda/hda_codec.c unsigned short val; val 1500 sound/pci/hda/hda_codec.c val = codec->spdif_ctls & ~AC_DIG1_ENABLE; val 1502 sound/pci/hda/hda_codec.c val |= AC_DIG1_ENABLE; val 1503 sound/pci/hda/hda_codec.c change = codec->spdif_ctls != val; val 1505 sound/pci/hda/hda_codec.c codec->spdif_ctls = val; val 1506 sound/pci/hda/hda_codec.c set_dig_out_convert(codec, nid, val & 0xff, -1); val 1509 sound/pci/hda/hda_codec.c (val & AC_DIG1_ENABLE)) val 1649 sound/pci/hda/hda_codec.c unsigned int val = !!ucontrol->value.integer.value[0]; val 1653 sound/pci/hda/hda_codec.c change = codec->spdif_in_enable != val; val 1655 sound/pci/hda/hda_codec.c codec->spdif_in_enable = val; val 1657 sound/pci/hda/hda_codec.c AC_VERB_SET_DIGI_CONVERT_1, val); val 1668 sound/pci/hda/hda_codec.c unsigned short val; val 1671 sound/pci/hda/hda_codec.c val = snd_hda_codec_read(codec, nid, 0, AC_VERB_GET_DIGI_CONVERT_1, 0); val 1672 sound/pci/hda/hda_codec.c sbits = convert_to_spdif_status(val); val 1772 sound/pci/hda/hda_codec.c c->val = parm; val 1790 sound/pci/hda/hda_codec.c get_cmd_cache_cmd(key), buffer->val); val 1991 sound/pci/hda/hda_codec.c unsigned int val = 0; val 1995 sound/pci/hda/hda_codec.c val = rate_bits[i].hda_fmt; val 2007 sound/pci/hda/hda_codec.c val |= channels - 1; val 2010 sound/pci/hda/hda_codec.c case 8: val |= 0x00; break; val 2011 sound/pci/hda/hda_codec.c case 16: val |= 0x10; break; val 2016 sound/pci/hda/hda_codec.c val |= 0x40; val 2018 sound/pci/hda/hda_codec.c val |= 0x30; val 2020 sound/pci/hda/hda_codec.c val |= 0x20; val 2028 sound/pci/hda/hda_codec.c return val; val 2048 sound/pci/hda/hda_codec.c unsigned int val, streams; val 2050 sound/pci/hda/hda_codec.c val = 0; val 2053 sound/pci/hda/hda_codec.c val = snd_hda_param_read(codec, nid, AC_PAR_PCM); val 2054 sound/pci/hda/hda_codec.c if (val == -1) val 2057 sound/pci/hda/hda_codec.c if (!val) val 2058 sound/pci/hda/hda_codec.c val = snd_hda_param_read(codec, codec->afg, AC_PAR_PCM); val 2063 sound/pci/hda/hda_codec.c if (val & (1 << i)) val 2087 sound/pci/hda/hda_codec.c if (val & AC_SUPPCM_BITS_8) { val 2091 sound/pci/hda/hda_codec.c if (val & AC_SUPPCM_BITS_16) { val 2096 sound/pci/hda/hda_codec.c if (val & AC_SUPPCM_BITS_32) val 2098 sound/pci/hda/hda_codec.c if (val & (AC_SUPPCM_BITS_20|AC_SUPPCM_BITS_24)) val 2100 sound/pci/hda/hda_codec.c if (val & AC_SUPPCM_BITS_24) val 2102 sound/pci/hda/hda_codec.c else if (val & AC_SUPPCM_BITS_20) val 2104 sound/pci/hda/hda_codec.c } else if (val & (AC_SUPPCM_BITS_20|AC_SUPPCM_BITS_24| val 2107 sound/pci/hda/hda_codec.c if (val & AC_SUPPCM_BITS_32) val 2109 sound/pci/hda/hda_codec.c else if (val & AC_SUPPCM_BITS_24) val 2111 sound/pci/hda/hda_codec.c else if (val & AC_SUPPCM_BITS_20) val 2146 sound/pci/hda/hda_codec.c unsigned int val = 0, rate, stream; val 2150 sound/pci/hda/hda_codec.c val = snd_hda_param_read(codec, nid, AC_PAR_PCM); val 2151 sound/pci/hda/hda_codec.c if (val == -1) val 2154 sound/pci/hda/hda_codec.c if (!val) { val 2155 sound/pci/hda/hda_codec.c val = snd_hda_param_read(codec, codec->afg, AC_PAR_PCM); val 2156 sound/pci/hda/hda_codec.c if (val == -1) val 2163 sound/pci/hda/hda_codec.c if (val & (1 << i)) val 2181 sound/pci/hda/hda_codec.c if (!(val & AC_SUPPCM_BITS_8)) val 2185 sound/pci/hda/hda_codec.c if (!(val & AC_SUPPCM_BITS_16)) val 2189 sound/pci/hda/hda_codec.c if (!(val & AC_SUPPCM_BITS_20)) val 2193 sound/pci/hda/hda_codec.c if (!(val & AC_SUPPCM_BITS_24)) val 2197 sound/pci/hda/hda_codec.c if (!(val & AC_SUPPCM_BITS_32)) val 626 sound/pci/hda/hda_codec.h u16 val; /* assigned value */ val 219 sound/pci/hda/hda_generic.c unsigned int val, ofs; val 221 sound/pci/hda/hda_generic.c val = (node->amp_out_caps & AC_AMPCAP_NUM_STEPS) >> AC_AMPCAP_NUM_STEPS_SHIFT; val 223 sound/pci/hda/hda_generic.c if (val >= ofs) val 224 sound/pci/hda/hda_generic.c val -= ofs; val 225 sound/pci/hda/hda_generic.c snd_hda_codec_amp_stereo(codec, node->nid, HDA_OUTPUT, 0, 0xff, val); val 234 sound/pci/hda/hda_generic.c unsigned int val, ofs; val 236 sound/pci/hda/hda_generic.c val = (node->amp_in_caps & AC_AMPCAP_NUM_STEPS) >> AC_AMPCAP_NUM_STEPS_SHIFT; val 238 sound/pci/hda/hda_generic.c if (val >= ofs) val 239 sound/pci/hda/hda_generic.c val -= ofs; val 240 sound/pci/hda/hda_generic.c snd_hda_codec_amp_stereo(codec, node->nid, HDA_INPUT, index, 0xff, val); val 538 sound/pci/hda/hda_intel.c chip->corb.buf[wp] = cpu_to_le32(val); val 656 sound/pci/hda/hda_intel.c azx_writel(chip, IC, val); val 665 sound/pci/hda/hda_intel.c azx_readw(chip, IRS), val); val 700 sound/pci/hda/hda_intel.c u32 val; val 702 sound/pci/hda/hda_intel.c val = (u32)(codec->addr & 0x0f) << 28; val 703 sound/pci/hda/hda_intel.c val |= (u32)direct << 27; val 704 sound/pci/hda/hda_intel.c val |= (u32)nid << 20; val 705 sound/pci/hda/hda_intel.c val |= verb << 8; val 706 sound/pci/hda/hda_intel.c val |= para; val 707 sound/pci/hda/hda_intel.c chip->last_cmd = val; val 710 sound/pci/hda/hda_intel.c return azx_single_send_cmd(codec, val); val 712 sound/pci/hda/hda_intel.c return azx_corb_send_cmd(codec, val); val 897 sound/pci/hda/hda_intel.c data |= (val & mask); val 1122 sound/pci/hda/hda_intel.c unsigned char val; val 1133 sound/pci/hda/hda_intel.c while (!((val = azx_sd_readb(azx_dev, SD_CTL)) & SD_CTL_STREAM_RESET) && val 1136 sound/pci/hda/hda_intel.c val &= ~SD_CTL_STREAM_RESET; val 1137 sound/pci/hda/hda_intel.c azx_sd_writeb(azx_dev, SD_CTL, val); val 1142 sound/pci/hda/hda_intel.c while (((val = azx_sd_readb(azx_dev, SD_CTL)) & SD_CTL_STREAM_RESET) && val 72 sound/pci/hda/hda_proc.c unsigned int val; val 79 sound/pci/hda/hda_proc.c val = snd_hda_codec_read(codec, nid, 0, val 82 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "0x%02x ", val); val 84 sound/pci/hda/hda_proc.c val = snd_hda_codec_read(codec, nid, 0, val 87 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "0x%02x]", val); val 216 sound/pci/hda/hda_proc.c unsigned int caps, val; val 263 sound/pci/hda/hda_proc.c val = snd_hda_codec_read(codec, nid, 0, val 265 sound/pci/hda/hda_proc.c snd_iprintf(buffer, " EAPD 0x%x:", val); val 266 sound/pci/hda/hda_proc.c if (val & AC_EAPDBTL_BALANCED) val 268 sound/pci/hda/hda_proc.c if (val & AC_EAPDBTL_EAPD) val 270 sound/pci/hda/hda_proc.c if (val & AC_EAPDBTL_LR_SWAP) val 2089 sound/pci/hda/patch_analog.c unsigned int val, sel; val 2092 sound/pci/hda/patch_analog.c val = ucontrol->value.enumerated.item[0]; val 2093 sound/pci/hda/patch_analog.c if (val > 3) val 2095 sound/pci/hda/patch_analog.c if (!val) { val 2123 sound/pci/hda/patch_analog.c change |= sel != val; val 2127 sound/pci/hda/patch_analog.c val - 1); val 2494 sound/pci/hda/patch_analog.c knew->private_value = val; val 506 sound/pci/hda/patch_realtek.c long val = *ucontrol->value.integer.value; val 511 sound/pci/hda/patch_realtek.c if (val < alc_pin_mode_min(dir) || val > alc_pin_mode_max(dir)) val 512 sound/pci/hda/patch_realtek.c val = alc_pin_mode_min(dir); val 514 sound/pci/hda/patch_realtek.c change = pinctl != alc_pin_mode_values[val]; val 519 sound/pci/hda/patch_realtek.c alc_pin_mode_values[val]); val 531 sound/pci/hda/patch_realtek.c if (val <= 2) { val 568 sound/pci/hda/patch_realtek.c unsigned int val = snd_hda_codec_read(codec, nid, 0, val 571 sound/pci/hda/patch_realtek.c *valp = (val & mask) != 0; val 581 sound/pci/hda/patch_realtek.c long val = *ucontrol->value.integer.value; val 587 sound/pci/hda/patch_realtek.c change = (val == 0 ? 0 : mask) != (gpio_data & mask); val 588 sound/pci/hda/patch_realtek.c if (val == 0) val 622 sound/pci/hda/patch_realtek.c unsigned int val = snd_hda_codec_read(codec, nid, 0, val 625 sound/pci/hda/patch_realtek.c *valp = (val & mask) != 0; val 635 sound/pci/hda/patch_realtek.c long val = *ucontrol->value.integer.value; val 641 sound/pci/hda/patch_realtek.c change = (val == 0 ? 0 : mask) != (ctrl_data & mask); val 642 sound/pci/hda/patch_realtek.c if (val==0) val 673 sound/pci/hda/patch_realtek.c unsigned int val = snd_hda_codec_read(codec, nid, 0, val 676 sound/pci/hda/patch_realtek.c *valp = (val & mask) != 0; val 687 sound/pci/hda/patch_realtek.c long val = *ucontrol->value.integer.value; val 693 sound/pci/hda/patch_realtek.c change = (!val ? 0 : mask) != (ctrl_data & mask); val 694 sound/pci/hda/patch_realtek.c if (!val) val 785 sound/pci/hda/patch_realtek.c unsigned int val; val 791 sound/pci/hda/patch_realtek.c val = snd_hda_codec_read(codec, spec->pll_nid, 0, val 796 sound/pci/hda/patch_realtek.c val & ~(1 << spec->pll_coef_bit)); val 1035 sound/pci/hda/patch_realtek.c u32 val; val 1051 sound/pci/hda/patch_realtek.c u32 val = cfg->val; val 1055 sound/pci/hda/patch_realtek.c val & 0xff); val 1056 sound/pci/hda/patch_realtek.c val >>= 8; val 2853 sound/pci/hda/patch_realtek.c int val; val 2857 sound/pci/hda/patch_realtek.c val = ucontrol->value.enumerated.item[0] >= 3 ? val 2860 sound/pci/hda/patch_realtek.c HDA_AMP_MUTE, val); val 3467 sound/pci/hda/patch_realtek.c knew->private_value = val; val 4048 sound/pci/hda/patch_realtek.c unsigned int val = spec->master_sw ? PIN_HP : 0; val 4051 sound/pci/hda/patch_realtek.c val); val 4053 sound/pci/hda/patch_realtek.c val); val 4055 sound/pci/hda/patch_realtek.c val = (val && !spec->jack_present) ? PIN_OUT : 0; val 4057 sound/pci/hda/patch_realtek.c val); val 4074 sound/pci/hda/patch_realtek.c int val = !!*ucontrol->value.integer.value; val 4077 sound/pci/hda/patch_realtek.c if (val == spec->master_sw) val 4079 sound/pci/hda/patch_realtek.c spec->master_sw = val; val 8912 sound/pci/hda/patch_realtek.c int val = spec->master_sw; val 8917 sound/pci/hda/patch_realtek.c val ? PIN_HP : 0); val 8920 sound/pci/hda/patch_realtek.c val ? PIN_HP : 0); val 8922 sound/pci/hda/patch_realtek.c val = val && !spec->jack_present; val 8925 sound/pci/hda/patch_realtek.c val ? PIN_OUT : 0); val 8977 sound/pci/hda/patch_realtek.c int val = !!*ucontrol->value.integer.value; val 8979 sound/pci/hda/patch_realtek.c if (val == spec->master_sw) val 8981 sound/pci/hda/patch_realtek.c spec->master_sw = val; val 79 sound/pci/hda/patch_si3054.c #define SET_REG(codec,reg,val) (snd_hda_codec_write(codec,reg,0,SI3054_VERB_WRITE_NODE,val)) val 81 sound/pci/hda/patch_si3054.c snd_hda_codec_write_cache(codec,reg,0,SI3054_VERB_WRITE_NODE,val) val 95 sound/pci/hda/patch_si3054.c #define PRIVATE_REG(val) ((val>>16)&0xffff) val 96 sound/pci/hda/patch_si3054.c #define PRIVATE_MASK(val) (val&0xffff) val 155 sound/pci/hda/patch_si3054.c u16 val; val 158 sound/pci/hda/patch_si3054.c val = GET_REG(codec, SI3054_LINE_LEVEL); val 159 sound/pci/hda/patch_si3054.c val &= 0xff << (8 * (substream->stream != SNDRV_PCM_STREAM_PLAYBACK)); val 160 sound/pci/hda/patch_si3054.c val |= ((stream_tag & 0xf) << 4) << (8 * (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)); val 161 sound/pci/hda/patch_si3054.c SET_REG(codec, SI3054_LINE_LEVEL, val); val 222 sound/pci/hda/patch_si3054.c u16 val; val 233 sound/pci/hda/patch_si3054.c val = GET_REG(codec, SI3054_EXTENDED_MID); val 234 sound/pci/hda/patch_si3054.c } while ((val & SI3054_MEI_READY) != SI3054_MEI_READY && wait_count--); val 236 sound/pci/hda/patch_si3054.c if((val&SI3054_MEI_READY) != SI3054_MEI_READY) { val 237 sound/pci/hda/patch_si3054.c snd_printk(KERN_ERR "si3054: cannot initialize. EXT MID = %04x\n", val); val 554 sound/pci/hda/patch_sigmatel.c int err, val; val 568 sound/pci/hda/patch_sigmatel.c val = AMP_OUT_MUTE; val 575 sound/pci/hda/patch_sigmatel.c AC_VERB_SET_AMP_GAIN_MUTE, val); val 691 sound/pci/hda/patch_sigmatel.c unsigned int val, idx_val; val 695 sound/pci/hda/patch_sigmatel.c val = spec->aloopback | idx_val; val 697 sound/pci/hda/patch_sigmatel.c val = spec->aloopback & ~idx_val; val 698 sound/pci/hda/patch_sigmatel.c if (spec->aloopback == val) val 701 sound/pci/hda/patch_sigmatel.c spec->aloopback = val; val 2485 sound/pci/hda/patch_sigmatel.c unsigned short val = !!ucontrol->value.integer.value[0]; val 2487 sound/pci/hda/patch_sigmatel.c spec->io_switch[io_idx] = val; val 2489 sound/pci/hda/patch_sigmatel.c if (val) val 2525 sound/pci/hda/patch_sigmatel.c unsigned int val = !!ucontrol->value.integer.value[0]; val 2527 sound/pci/hda/patch_sigmatel.c if (spec->clfe_swap == val) val 2530 sound/pci/hda/patch_sigmatel.c spec->clfe_swap = val; val 2615 sound/pci/hda/patch_sigmatel.c knew->private_value = val; val 2625 sound/pci/hda/patch_sigmatel.c return stac92xx_add_control_idx(spec, type, 0, name, val); val 3837 sound/pci/hda/patch_sigmatel.c int presence, val; val 3838 sound/pci/hda/patch_sigmatel.c val = snd_hda_codec_read(codec, codec->afg, 0, 0x0fec, 0x0) val 3849 sound/pci/hda/patch_sigmatel.c val &= ~idx; val 3851 sound/pci/hda/patch_sigmatel.c val |= idx; val 3854 sound/pci/hda/patch_sigmatel.c snd_hda_codec_write(codec, codec->afg, 0, 0x7ec, val); val 297 sound/pci/hda/patch_via.c knew->private_value = val; val 38 sound/pci/ice1712/amp.c cval = (reg << 9) | val; val 118 sound/pci/ice1712/aureon.c unsigned char val = 0; val 156 sound/pci/ice1712/aureon.c val = dev; val 159 sound/pci/ice1712/aureon.c val = reg; val 162 sound/pci/ice1712/aureon.c val = data; val 169 sound/pci/ice1712/aureon.c if (val & (1 << i)) val 268 sound/pci/ice1712/aureon.c tmp |= val & AUREON_AC97_DATA_MASK; val 280 sound/pci/ice1712/aureon.c tmp |= (val >> 8) & AUREON_AC97_DATA_MASK; val 300 sound/pci/ice1712/aureon.c spec->stac9744[(reg & 0x7F) >> 1] = val; val 600 sound/pci/ice1712/aureon.c unsigned char val; val 602 sound/pci/ice1712/aureon.c aureon_spi_read(ice, AUREON_CS8415_CS, 0x21, 8, &val, 1); val 603 sound/pci/ice1712/aureon.c return val; val 616 sound/pci/ice1712/aureon.c aureon_spi_write(ice, AUREON_CS8415_CS, 0x200000 | (reg << 8) | val, 24); val 638 sound/pci/ice1712/aureon.c (reg << 9) | (val & 0x1ff), 16); val 646 sound/pci/ice1712/aureon.c wm_put_nocache(ice, reg, val); val 648 sound/pci/ice1712/aureon.c ice->akm[0].images[reg] = val >> 8; val 649 sound/pci/ice1712/aureon.c ice->akm[0].images[reg + 1] = val; val 906 sound/pci/ice1712/aureon.c int val = (spec->vol[ofs + i] & WM_VOL_MUTE) ? 0 : 1; val 907 sound/pci/ice1712/aureon.c if (ucontrol->value.integer.value[i] != val) { val 946 sound/pci/ice1712/aureon.c int val = (spec->master[i] & WM_VOL_MUTE) ? 0 : 1; val 947 sound/pci/ice1712/aureon.c if (ucontrol->value.integer.value[i] != val) { val 980 sound/pci/ice1712/aureon.c unsigned short val; val 983 sound/pci/ice1712/aureon.c val = wm_get(ice, WM_DAC_DIG_MASTER_ATTEN) & 0xff; val 984 sound/pci/ice1712/aureon.c val = val > PCM_MIN ? (val - PCM_MIN) : 0; val 985 sound/pci/ice1712/aureon.c ucontrol->value.integer.value[0] = val; val 1019 sound/pci/ice1712/aureon.c unsigned short val; val 1024 sound/pci/ice1712/aureon.c val = wm_get(ice, WM_ADC_GAIN + i); val 1025 sound/pci/ice1712/aureon.c ucontrol->value.integer.value[i] = ~val>>5 & 0x1; val 1143 sound/pci/ice1712/aureon.c unsigned short val; val 1146 sound/pci/ice1712/aureon.c val = wm_get(ice, WM_ADC_MUX); val 1147 sound/pci/ice1712/aureon.c ucontrol->value.enumerated.item[0] = val & 7; val 1148 sound/pci/ice1712/aureon.c ucontrol->value.enumerated.item[1] = (val >> 4) & 7; val 211 sound/pci/ice1712/delta.c unsigned int val; val 214 sound/pci/ice1712/delta.c val = snd_cs8403_encode_spdif_bits(&ucontrol->value.iec958); val 216 sound/pci/ice1712/delta.c change = ice->spdif.cs8403_bits != val; val 217 sound/pci/ice1712/delta.c ice->spdif.cs8403_bits = val; val 220 sound/pci/ice1712/delta.c snd_ice1712_delta_cs8403_spdif_write(ice, val); val 234 sound/pci/ice1712/delta.c unsigned int val; val 237 sound/pci/ice1712/delta.c val = snd_cs8403_encode_spdif_bits(&ucontrol->value.iec958); val 239 sound/pci/ice1712/delta.c change = ice->spdif.cs8403_stream_bits != val; val 240 sound/pci/ice1712/delta.c ice->spdif.cs8403_stream_bits = val; val 243 sound/pci/ice1712/delta.c snd_ice1712_delta_cs8403_spdif_write(ice, val); val 349 sound/pci/ice1712/delta.c unsigned char val; val 351 sound/pci/ice1712/delta.c val = (rate > 48000) ? 0x65 : 0x60; val 352 sound/pci/ice1712/delta.c if (snd_akm4xxx_get(ak, 0, 0x02) != val || val 353 sound/pci/ice1712/delta.c snd_akm4xxx_get(ak, 1, 0x02) != val) { val 355 sound/pci/ice1712/delta.c snd_akm4xxx_write(ak, 0, 0x02, val); val 356 sound/pci/ice1712/delta.c snd_akm4xxx_write(ak, 1, 0x02, val); val 273 sound/pci/ice1712/ews.c unsigned int val; val 276 sound/pci/ice1712/ews.c val = snd_cs8404_encode_spdif_bits(&ucontrol->value.iec958); val 278 sound/pci/ice1712/ews.c change = ice->spdif.cs8403_bits != val; val 279 sound/pci/ice1712/ews.c ice->spdif.cs8403_bits = val; val 282 sound/pci/ice1712/ews.c snd_ice1712_ews_cs8404_spdif_write(ice, val); val 296 sound/pci/ice1712/ews.c unsigned int val; val 299 sound/pci/ice1712/ews.c val = snd_cs8404_encode_spdif_bits(&ucontrol->value.iec958); val 301 sound/pci/ice1712/ews.c change = ice->spdif.cs8403_stream_bits != val; val 302 sound/pci/ice1712/ews.c ice->spdif.cs8403_stream_bits = val; val 305 sound/pci/ice1712/ews.c snd_ice1712_ews_cs8404_spdif_write(ice, val); val 606 sound/pci/ice1712/ews.c int val, nval; val 612 sound/pci/ice1712/ews.c val = snd_ice1712_read(ice, ICE1712_IREG_GPIO_DATA); val 613 sound/pci/ice1712/ews.c nval |= val & ~mask; val 616 sound/pci/ice1712/ews.c return val != nval; val 167 sound/pci/ice1712/ice1712.c outw(val, ICEREG(ice, AC97_DATA)); val 221 sound/pci/ice1712/ice1712.c outw(val, ICEMT(ice, AC97_DATA)); val 271 sound/pci/ice1712/ice1712.c unsigned char val, nval; val 274 sound/pci/ice1712/ice1712.c val = inb(ICEMT(ice, MONITOR_ROUTECTRL)); val 275 sound/pci/ice1712/ice1712.c nval = val & ~ICE1712_ROUTE_AC97; val 280 sound/pci/ice1712/ice1712.c return val != nval; val 314 sound/pci/ice1712/ice1712.c snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, val); val 331 sound/pci/ice1712/ice1712.c unsigned char val, nval; val 339 sound/pci/ice1712/ice1712.c if (snd_i2c_readbytes(ice->cs8427, &val, 1) != 1) { val 343 sound/pci/ice1712/ice1712.c nval = val & 0xf0; val 348 sound/pci/ice1712/ice1712.c if (val != nval) { val 1003 sound/pci/ice1712/ice1712.c unsigned char val, old; val 1007 sound/pci/ice1712/ice1712.c case 8000: val = 6; break; val 1008 sound/pci/ice1712/ice1712.c case 9600: val = 3; break; val 1009 sound/pci/ice1712/ice1712.c case 11025: val = 10; break; val 1010 sound/pci/ice1712/ice1712.c case 12000: val = 2; break; val 1011 sound/pci/ice1712/ice1712.c case 16000: val = 5; break; val 1012 sound/pci/ice1712/ice1712.c case 22050: val = 9; break; val 1013 sound/pci/ice1712/ice1712.c case 24000: val = 1; break; val 1014 sound/pci/ice1712/ice1712.c case 32000: val = 4; break; val 1015 sound/pci/ice1712/ice1712.c case 44100: val = 8; break; val 1016 sound/pci/ice1712/ice1712.c case 48000: val = 0; break; val 1017 sound/pci/ice1712/ice1712.c case 64000: val = 15; break; val 1018 sound/pci/ice1712/ice1712.c case 88200: val = 11; break; val 1019 sound/pci/ice1712/ice1712.c case 96000: val = 7; break; val 1022 sound/pci/ice1712/ice1712.c val = 0; val 1039 sound/pci/ice1712/ice1712.c if (!force && old == val) val 1041 sound/pci/ice1712/ice1712.c outb(val, ICEMT(ice, RATE)); val 1285 sound/pci/ice1712/ice1712.c unsigned short val = 0; val 1287 sound/pci/ice1712/ice1712.c val |= (vol & 0x8000) == 0 ? (96 - (vol & 0x7f)) : 0x7f; val 1288 sound/pci/ice1712/ice1712.c val |= ((vol & 0x80000000) == 0 ? (96 - ((vol >> 16) & 0x7f)) : 0x7f) << 8; val 1290 sound/pci/ice1712/ice1712.c outw(val, ICEMT(ice, MONITOR_VOLUME)); val 1778 sound/pci/ice1712/ice1712.c unsigned int val, nval; val 1784 sound/pci/ice1712/ice1712.c val = snd_ice1712_gpio_read(ice); val 1785 sound/pci/ice1712/ice1712.c nval |= val & ~mask; val 1786 sound/pci/ice1712/ice1712.c if (val != nval) val 1789 sound/pci/ice1712/ice1712.c return val != nval; val 1830 sound/pci/ice1712/ice1712.c unsigned char val; val 1836 sound/pci/ice1712/ice1712.c val = xlate[inb(ICEMT(ice, RATE)) & 15]; val 1837 sound/pci/ice1712/ice1712.c if (val == 255) { val 1839 sound/pci/ice1712/ice1712.c val = 0; val 1841 sound/pci/ice1712/ice1712.c ucontrol->value.enumerated.item[0] = val; val 1917 sound/pci/ice1712/ice1712.c int val; val 1923 sound/pci/ice1712/ice1712.c for (val = 0; val < 13; val++) { val 1924 sound/pci/ice1712/ice1712.c if (xrate[val] == PRO_RATE_DEFAULT) val 1928 sound/pci/ice1712/ice1712.c ucontrol->value.enumerated.item[0] = val; val 2048 sound/pci/ice1712/ice1712.c unsigned int val, cval; val 2051 sound/pci/ice1712/ice1712.c val = inw(ICEMT(ice, ROUTE_PSDOUT03)); val 2055 sound/pci/ice1712/ice1712.c val >>= ((idx % 2) * 8) + ((idx / 2) * 2); val 2056 sound/pci/ice1712/ice1712.c val &= 3; val 2058 sound/pci/ice1712/ice1712.c if (val == 1 && idx < 2) val 2060 sound/pci/ice1712/ice1712.c else if (val == 2) val 2062 sound/pci/ice1712/ice1712.c else if (val == 3) val 2075 sound/pci/ice1712/ice1712.c unsigned int val, old_val, nval; val 2088 sound/pci/ice1712/ice1712.c val = old_val = inw(ICEMT(ice, ROUTE_PSDOUT03)); val 2089 sound/pci/ice1712/ice1712.c val &= ~(0x03 << shift); val 2090 sound/pci/ice1712/ice1712.c val |= nval << shift; val 2091 sound/pci/ice1712/ice1712.c change = val != old_val; val 2093 sound/pci/ice1712/ice1712.c outw(val, ICEMT(ice, ROUTE_PSDOUT03)); val 2100 sound/pci/ice1712/ice1712.c val = old_val = inl(ICEMT(ice, ROUTE_CAPTURE)); val 2104 sound/pci/ice1712/ice1712.c val &= ~(0x07 << shift); val 2105 sound/pci/ice1712/ice1712.c val |= nval << shift; val 2108 sound/pci/ice1712/ice1712.c val &= ~(0x08 << shift); val 2109 sound/pci/ice1712/ice1712.c val |= nval << shift; val 2111 sound/pci/ice1712/ice1712.c if (val != old_val) { val 2113 sound/pci/ice1712/ice1712.c outl(val, ICEMT(ice, ROUTE_CAPTURE)); val 2124 sound/pci/ice1712/ice1712.c unsigned int val, cval; val 2125 sound/pci/ice1712/ice1712.c val = inw(ICEMT(ice, ROUTE_SPDOUT)); val 2126 sound/pci/ice1712/ice1712.c cval = (val >> (idx * 4 + 8)) & 0x0f; val 2127 sound/pci/ice1712/ice1712.c val = (val >> (idx * 2)) & 0x03; val 2128 sound/pci/ice1712/ice1712.c if (val == 1) val 2130 sound/pci/ice1712/ice1712.c else if (val == 2) val 2132 sound/pci/ice1712/ice1712.c else if (val == 3) val 2145 sound/pci/ice1712/ice1712.c unsigned int val, old_val, nval; val 2149 sound/pci/ice1712/ice1712.c val = old_val = inw(ICEMT(ice, ROUTE_SPDOUT)); val 2159 sound/pci/ice1712/ice1712.c val &= ~(0x03 << shift); val 2160 sound/pci/ice1712/ice1712.c val |= nval << shift; val 2164 sound/pci/ice1712/ice1712.c val &= ~(0x07 << shift); val 2165 sound/pci/ice1712/ice1712.c val |= nval << shift; val 2168 sound/pci/ice1712/ice1712.c val &= ~(0x08 << shift); val 2169 sound/pci/ice1712/ice1712.c val |= nval << shift; val 2171 sound/pci/ice1712/ice1712.c change = val != old_val; val 2173 sound/pci/ice1712/ice1712.c outw(val, ICEMT(ice, ROUTE_SPDOUT)); val 399 sound/pci/ice1712/ice1712.h ice->gpio.set_data(ice, val); val 443 sound/pci/ice1712/ice1712.h unsigned val; val 447 sound/pci/ice1712/ice1712.h val = snd_ice1712_gpio_read(ice); val 448 sound/pci/ice1712/ice1712.h val &= ~mask; val 449 sound/pci/ice1712/ice1712.h val |= mask & bits; val 450 sound/pci/ice1712/ice1712.h snd_ice1712_gpio_write(ice, val); val 165 sound/pci/ice1712/ice1724.c outw(val, ICEMT1724(ice, AC97_DATA)); val 598 sound/pci/ice1712/ice1724.c unsigned char val, old; val 601 sound/pci/ice1712/ice1724.c val = old = inb(ICEMT1724(ice, I2S_FORMAT)); val 603 sound/pci/ice1712/ice1724.c val |= VT1724_MT_I2S_MCLK_128X; /* 128x MCLK */ val 605 sound/pci/ice1712/ice1724.c val &= ~VT1724_MT_I2S_MCLK_128X; /* 256x MCLK */ val 606 sound/pci/ice1712/ice1724.c if (val != old) { val 607 sound/pci/ice1712/ice1724.c outb(val, ICEMT1724(ice, I2S_FORMAT)); val 726 sound/pci/ice1712/ice1724.c unsigned char val; val 730 sound/pci/ice1712/ice1724.c val = (8 - substream->runtime->channels) >> 1; val 731 sound/pci/ice1712/ice1724.c outb(val, ICEMT1724(ice, BURST)); val 1083 sound/pci/ice1712/ice1724.c outw(val, ICEMT1724(ice, SPDIF_CTRL)); val 1086 sound/pci/ice1712/ice1724.c outw(val, ICEMT1724(ice, SPDIF_CTRL)); val 1092 sound/pci/ice1712/ice1724.c unsigned int val, nval; val 1096 sound/pci/ice1712/ice1724.c nval = val = inw(ICEMT1724(ice, SPDIF_CTRL)); val 1107 sound/pci/ice1712/ice1724.c if (val != nval) val 1294 sound/pci/ice1712/ice1724.c unsigned char val; val 1297 sound/pci/ice1712/ice1724.c val = 3 - substream->number; val 1298 sound/pci/ice1712/ice1724.c if (inb(ICEMT1724(ice, BURST)) < val) val 1299 sound/pci/ice1712/ice1724.c outb(val, ICEMT1724(ice, BURST)); val 1519 sound/pci/ice1712/ice1724.c unsigned int val, rbits; val 1521 sound/pci/ice1712/ice1724.c val = diga->status[0] & 0x03; /* professional, non-audio */ val 1522 sound/pci/ice1712/ice1724.c if (val & 0x01) { val 1526 sound/pci/ice1712/ice1724.c val |= 1U << 3; val 1530 sound/pci/ice1712/ice1724.c case 2: val |= 5 << 12; break; /* 96k */ val 1531 sound/pci/ice1712/ice1724.c case 3: val |= 6 << 12; break; /* 192k */ val 1532 sound/pci/ice1712/ice1724.c case 10: val |= 4 << 12; break; /* 88.2k */ val 1533 sound/pci/ice1712/ice1724.c case 11: val |= 7 << 12; break; /* 176.4k */ val 1540 sound/pci/ice1712/ice1724.c val |= 3U << 12; val 1543 sound/pci/ice1712/ice1724.c val |= 2U << 12; val 1549 sound/pci/ice1712/ice1724.c val |= diga->status[1] & 0x04; /* copyright */ val 1552 sound/pci/ice1712/ice1724.c val |= 1U << 3; val 1553 sound/pci/ice1712/ice1724.c val |= (unsigned int)(diga->status[1] & 0x3f) << 4; /* category */ val 1554 sound/pci/ice1712/ice1724.c val |= (unsigned int)(diga->status[3] & IEC958_AES3_CON_FS) << 12; /* fs */ val 1556 sound/pci/ice1712/ice1724.c return val; val 1562 sound/pci/ice1712/ice1724.c diga->status[0] = val & 0x03; /* professional, non-audio */ val 1563 sound/pci/ice1712/ice1724.c if (val & 0x01) { val 1565 sound/pci/ice1712/ice1724.c if (val & (1U << 3)) val 1567 sound/pci/ice1712/ice1724.c switch ((val >> 12) & 0x7) { val 1579 sound/pci/ice1712/ice1724.c diga->status[0] |= val & (1U << 2); /* copyright */ val 1580 sound/pci/ice1712/ice1724.c if (val & (1U << 3)) val 1582 sound/pci/ice1712/ice1724.c diga->status[1] |= (val >> 4) & 0x3f; /* category */ val 1583 sound/pci/ice1712/ice1724.c diga->status[3] |= (val >> 12) & 0x07; /* fs */ val 1591 sound/pci/ice1712/ice1724.c unsigned int val; val 1592 sound/pci/ice1712/ice1724.c val = inw(ICEMT1724(ice, SPDIF_CTRL)); val 1593 sound/pci/ice1712/ice1724.c decode_spdif_bits(&ucontrol->value.iec958, val); val 1601 sound/pci/ice1712/ice1724.c unsigned int val, old; val 1603 sound/pci/ice1712/ice1724.c val = encode_spdif_bits(&ucontrol->value.iec958); val 1606 sound/pci/ice1712/ice1724.c if (val != old) val 1607 sound/pci/ice1712/ice1724.c update_spdif_bits(ice, val); val 1609 sound/pci/ice1712/ice1724.c return val != old; val 1677 sound/pci/ice1712/ice1724.c unsigned char old, val; val 1680 sound/pci/ice1712/ice1724.c old = val = inb(ICEREG1724(ice, SPDIF_CFG)); val 1681 sound/pci/ice1712/ice1724.c val &= ~VT1724_CFG_SPDIF_OUT_EN; val 1683 sound/pci/ice1712/ice1724.c val |= VT1724_CFG_SPDIF_OUT_EN; val 1684 sound/pci/ice1712/ice1724.c if (old != val) val 1685 sound/pci/ice1712/ice1724.c outb(val, ICEREG1724(ice, SPDIF_CFG)); val 1687 sound/pci/ice1712/ice1724.c return old != val; val 1729 sound/pci/ice1712/ice1724.c unsigned int val, nval; val 1735 sound/pci/ice1712/ice1724.c val = snd_ice1712_gpio_read(ice); val 1736 sound/pci/ice1712/ice1724.c nval |= val & ~(1 << shift); val 1737 sound/pci/ice1712/ice1724.c if (val != nval) val 1740 sound/pci/ice1712/ice1724.c return val != nval; val 1948 sound/pci/ice1712/ice1724.c unsigned long val; val 1954 sound/pci/ice1712/ice1724.c val = inl(ICEMT1724(ice, ROUTE_PLAYBACK)); val 1955 sound/pci/ice1712/ice1724.c val >>= shift; val 1956 sound/pci/ice1712/ice1724.c val &= 7; /* we now have 3 bits per output */ val 1957 sound/pci/ice1712/ice1724.c eitem = xlate[val]; val 1977 sound/pci/ice1712/ice1724.c nval = xroute[val % 5]; val 1978 sound/pci/ice1712/ice1724.c val = old_val = inl(ICEMT1724(ice, ROUTE_PLAYBACK)); val 1979 sound/pci/ice1712/ice1724.c val &= ~(0x07 << shift); val 1980 sound/pci/ice1712/ice1724.c val |= nval << shift; val 1981 sound/pci/ice1712/ice1724.c change = val != old_val; val 1983 sound/pci/ice1712/ice1724.c outl(val, ICEMT1724(ice, ROUTE_PLAYBACK)); val 2114 sound/pci/ice1712/ice1724.c unsigned char val; val 2121 sound/pci/ice1712/ice1724.c val = inb(ICEREG1724(ice, I2C_DATA)); val 2124 sound/pci/ice1712/ice1724.c return val; val 168 sound/pci/ice1712/juli.c reg, val); val 308 sound/pci/ice1712/juli.c unsigned int val; val 309 sound/pci/ice1712/juli.c val = ice->gpio.get_data(ice) & (unsigned int) kcontrol->private_value; val 312 sound/pci/ice1712/juli.c ucontrol->value.integer.value[0] = (val) ? 0 : 1; val 315 sound/pci/ice1712/juli.c ucontrol->value.integer.value[0] = (val) ? 1 : 0; val 419 sound/pci/ice1712/juli.c int reg, val; val 421 sound/pci/ice1712/juli.c val = snd_akm4xxx_get(ice->akm, 0, reg); val 422 sound/pci/ice1712/juli.c snd_iprintf(buffer, "0x%02x = 0x%02x\n", reg, val); val 530 sound/pci/ice1712/juli.c unsigned char val; val 540 sound/pci/ice1712/juli.c val = inb(ICEMT1724(ice, RATE)); val 541 sound/pci/ice1712/juli.c outb(val | VT1724_SPDIF_MASTER, ICEMT1724(ice, RATE)); val 266 sound/pci/ice1712/phase.c phase28_spi_write(ice, PHASE28_WM_CS, (reg << 9) | (val & 0x1ff), 16); val 274 sound/pci/ice1712/phase.c wm_put_nocache(ice, reg, val); val 276 sound/pci/ice1712/phase.c ice->akm[0].images[reg] = val >> 8; val 277 sound/pci/ice1712/phase.c ice->akm[0].images[reg + 1] = val; val 574 sound/pci/ice1712/phase.c int val = (spec->vol[ofs + i] & WM_VOL_MUTE) ? 0 : 1; val 575 sound/pci/ice1712/phase.c if (ucontrol->value.integer.value[i] != val) { val 617 sound/pci/ice1712/phase.c int val = (spec->master[i] & WM_VOL_MUTE) ? 0 : 1; val 618 sound/pci/ice1712/phase.c if (ucontrol->value.integer.value[i] != val) { val 654 sound/pci/ice1712/phase.c unsigned short val; val 657 sound/pci/ice1712/phase.c val = wm_get(ice, WM_DAC_DIG_MASTER_ATTEN) & 0xff; val 658 sound/pci/ice1712/phase.c val = val > PCM_MIN ? (val - PCM_MIN) : 0; val 659 sound/pci/ice1712/phase.c ucontrol->value.integer.value[0] = val; val 95 sound/pci/ice1712/pontis.c cval = (reg << 9) | val; val 101 sound/pci/ice1712/pontis.c wm_put_nocache(ice, reg, val); val 103 sound/pci/ice1712/pontis.c ice->akm[0].images[reg] = val >> 8; val 104 sound/pci/ice1712/pontis.c ice->akm[0].images[reg + 1] = val; val 127 sound/pci/ice1712/pontis.c unsigned short val; val 132 sound/pci/ice1712/pontis.c val = wm_get(ice, WM_DAC_ATTEN_L + i) & 0xff; val 133 sound/pci/ice1712/pontis.c val = val > DAC_MIN ? (val - DAC_MIN) : 0; val 134 sound/pci/ice1712/pontis.c ucontrol->value.integer.value[i] = val; val 182 sound/pci/ice1712/pontis.c unsigned short val; val 187 sound/pci/ice1712/pontis.c val = wm_get(ice, WM_ADC_ATTEN_L + i) & 0xff; val 188 sound/pci/ice1712/pontis.c val = val > ADC_MIN ? (val - ADC_MIN) : 0; val 189 sound/pci/ice1712/pontis.c ucontrol->value.integer.value[i] = val; val 271 sound/pci/ice1712/pontis.c unsigned short val, oval; val 275 sound/pci/ice1712/pontis.c val = oval = wm_get(ice, WM_OUT_MUX); val 277 sound/pci/ice1712/pontis.c val |= 0x04; val 279 sound/pci/ice1712/pontis.c val &= ~0x04; val 280 sound/pci/ice1712/pontis.c if (val != oval) { val 281 sound/pci/ice1712/pontis.c wm_put(ice, WM_OUT_MUX, val); val 306 sound/pci/ice1712/pontis.c unsigned short val, oval; val 311 sound/pci/ice1712/pontis.c val = oval & 0x0f; val 313 sound/pci/ice1712/pontis.c val |= 0x60; val 315 sound/pci/ice1712/pontis.c val |= 0x90; val 316 sound/pci/ice1712/pontis.c if (val != oval) { val 317 sound/pci/ice1712/pontis.c wm_put(ice, WM_DAC_CTRL1, val); val 318 sound/pci/ice1712/pontis.c wm_put_nocache(ice, WM_DAC_CTRL1, val); val 331 sound/pci/ice1712/pontis.c if (val) val 355 sound/pci/ice1712/pontis.c unsigned int val = 0; val 358 sound/pci/ice1712/pontis.c val <<= 1; val 362 sound/pci/ice1712/pontis.c val |= 1; val 367 sound/pci/ice1712/pontis.c return val; val 389 sound/pci/ice1712/pontis.c unsigned int val; val 400 sound/pci/ice1712/pontis.c val = spi_read_byte(ice); val 407 sound/pci/ice1712/pontis.c return val; val 443 sound/pci/ice1712/pontis.c unsigned char val; val 449 sound/pci/ice1712/pontis.c val = 0x80 | (ice->gpio.saved[0] << 3); val 450 sound/pci/ice1712/pontis.c spi_write(ice, CS_DEV, 0x04, val); val 483 sound/pci/ice1712/pontis.c unsigned int val; val 487 sound/pci/ice1712/pontis.c val = (~ucontrol->value.integer.value[0] & 0xffff) | 0x00f0; val 488 sound/pci/ice1712/pontis.c changed = val != ice->gpio.write_mask; val 489 sound/pci/ice1712/pontis.c ice->gpio.write_mask = val; val 507 sound/pci/ice1712/pontis.c unsigned int val; val 511 sound/pci/ice1712/pontis.c val = ucontrol->value.integer.value[0] & 0xff0f; val 512 sound/pci/ice1712/pontis.c changed = (val != ice->gpio.direction); val 513 sound/pci/ice1712/pontis.c ice->gpio.direction = val; val 532 sound/pci/ice1712/pontis.c unsigned int val, nval; val 537 sound/pci/ice1712/pontis.c val = snd_ice1712_gpio_read(ice) & 0xffff; val 539 sound/pci/ice1712/pontis.c if (val != nval) { val 643 sound/pci/ice1712/pontis.c unsigned int reg, val; val 646 sound/pci/ice1712/pontis.c if (sscanf(line, "%x %x", ®, &val) != 2) val 648 sound/pci/ice1712/pontis.c if (reg <= 0x17 && val <= 0xffff) val 649 sound/pci/ice1712/pontis.c wm_put(ice, reg, val); val 657 sound/pci/ice1712/pontis.c int reg, val; val 661 sound/pci/ice1712/pontis.c val = wm_get(ice, reg); val 662 sound/pci/ice1712/pontis.c snd_iprintf(buffer, "%02x = %04x\n", reg, val); val 680 sound/pci/ice1712/pontis.c int reg, val; val 684 sound/pci/ice1712/pontis.c val = spi_read(ice, CS_DEV, reg); val 685 sound/pci/ice1712/pontis.c snd_iprintf(buffer, "%02x = %02x\n", reg, val); val 687 sound/pci/ice1712/pontis.c val = spi_read(ice, CS_DEV, 0x7f); val 688 sound/pci/ice1712/pontis.c snd_iprintf(buffer, "%02x = %02x\n", 0x7f, val); val 78 sound/pci/ice1712/prodigy192.c snd_vt1724_write_i2c(ice, PRODIGY192_STAC9460_ADDR, reg, val); val 112 sound/pci/ice1712/prodigy192.c unsigned char val; val 119 sound/pci/ice1712/prodigy192.c val = stac9460_get(ice, idx); val 120 sound/pci/ice1712/prodigy192.c ucontrol->value.integer.value[0] = (~val >> 7) & 0x1; val 202 sound/pci/ice1712/prodigy192.c unsigned char val; val 206 sound/pci/ice1712/prodigy192.c val = stac9460_get(ice, STAC946X_MIC_L_VOLUME + i); val 207 sound/pci/ice1712/prodigy192.c ucontrol->value.integer.value[i] = ~val>>7 & 0x1; val 299 sound/pci/ice1712/prodigy192.c unsigned char val; val 301 sound/pci/ice1712/prodigy192.c val = stac9460_get(ice, STAC946X_GENERAL_PURPOSE); val 302 sound/pci/ice1712/prodigy192.c ucontrol->value.enumerated.item[0] = (val >> 7) & 0x1; val 576 sound/pci/ice1712/prodigy192.c unsigned char val; val 578 sound/pci/ice1712/prodigy192.c val = prodigy192_ak4114_read(ice, AK4114_REG_IO1); val 582 sound/pci/ice1712/prodigy192.c ucontrol->value.enumerated.item[0] = (val & AK4114_IPS0) ? 1 : 0; val 653 sound/pci/ice1712/prodigy192.c int reg, val; val 656 sound/pci/ice1712/prodigy192.c val = stac9460_get(ice, reg); val 657 sound/pci/ice1712/prodigy192.c snd_iprintf(buffer, "0x%02x = 0x%02x\n", reg, val); val 141 sound/pci/ice1712/prodigy_hifi.c cval = (reg << 9) | val; val 147 sound/pci/ice1712/prodigy_hifi.c wm_put_nocache(ice, reg, val); val 149 sound/pci/ice1712/prodigy_hifi.c ice->akm[0].images[reg] = val >> 8; val 150 sound/pci/ice1712/prodigy_hifi.c ice->akm[0].images[reg + 1] = val; val 160 sound/pci/ice1712/prodigy_hifi.c if (val) val 626 sound/pci/ice1712/prodigy_hifi.c unsigned short val; val 631 sound/pci/ice1712/prodigy_hifi.c val = wm_get(ice, WM_ADC_ATTEN_L + i) & 0xff; val 632 sound/pci/ice1712/prodigy_hifi.c val = val > ADC_MIN ? (val - ADC_MIN) : 0; val 633 sound/pci/ice1712/prodigy_hifi.c ucontrol->value.integer.value[i] = val; val 722 sound/pci/ice1712/prodigy_hifi.c unsigned short val, oval; val 726 sound/pci/ice1712/prodigy_hifi.c val = oval = wm_get(ice, WM_OUT_MUX); val 728 sound/pci/ice1712/prodigy_hifi.c val |= 0x04; val 730 sound/pci/ice1712/prodigy_hifi.c val &= ~0x04; val 731 sound/pci/ice1712/prodigy_hifi.c if (val != oval) { val 732 sound/pci/ice1712/prodigy_hifi.c wm_put(ice, WM_OUT_MUX, val); val 760 sound/pci/ice1712/prodigy_hifi.c unsigned short val, oval; val 765 sound/pci/ice1712/prodigy_hifi.c val = oval & 0x0f; val 767 sound/pci/ice1712/prodigy_hifi.c val |= 0x60; val 769 sound/pci/ice1712/prodigy_hifi.c val |= 0x90; val 770 sound/pci/ice1712/prodigy_hifi.c if (val != oval) { val 771 sound/pci/ice1712/prodigy_hifi.c wm_put(ice, WM_DAC_CTRL1, val); val 772 sound/pci/ice1712/prodigy_hifi.c wm_put_nocache(ice, WM_DAC_CTRL1, val); val 906 sound/pci/ice1712/prodigy_hifi.c unsigned int reg, val; val 909 sound/pci/ice1712/prodigy_hifi.c if (sscanf(line, "%x %x", ®, &val) != 2) val 911 sound/pci/ice1712/prodigy_hifi.c if (reg <= 0x17 && val <= 0xffff) val 912 sound/pci/ice1712/prodigy_hifi.c wm_put(ice, reg, val); val 921 sound/pci/ice1712/prodigy_hifi.c int reg, val; val 925 sound/pci/ice1712/prodigy_hifi.c val = wm_get(ice, reg); val 926 sound/pci/ice1712/prodigy_hifi.c snd_iprintf(buffer, "%02x = %04x\n", reg, val); val 110 sound/pci/ice1712/revo.c unsigned int mask, val; val 112 sound/pci/ice1712/revo.c val = 0; val 114 sound/pci/ice1712/revo.c val |= VT1724_REVO_I2C_CLOCK; /* write SCL */ val 116 sound/pci/ice1712/revo.c val |= VT1724_REVO_I2C_DATA; /* write SDA */ val 119 sound/pci/ice1712/revo.c ice->gpio.direction |= val; val 127 sound/pci/ice1712/revo.c unsigned int val = 0; val 130 sound/pci/ice1712/revo.c val |= VT1724_REVO_I2C_CLOCK; val 132 sound/pci/ice1712/revo.c val |= VT1724_REVO_I2C_DATA; val 135 sound/pci/ice1712/revo.c VT1724_REVO_I2C_CLOCK, val); val 235 sound/pci/ice1712/se.c unsigned int val; val 237 sound/pci/ice1712/se.c val = (addr << 9) | data; val 238 sound/pci/ice1712/se.c snd_vt1724_write_i2c(ice, 0x34, val >> 8, val & 0xff); val 47 sound/pci/ice1712/wtm.c snd_vt1724_write_i2c(ice, STAC9460_I2C_ADDR, reg, val); val 61 sound/pci/ice1712/wtm.c snd_vt1724_write_i2c(ice, STAC9460_2_I2C_ADDR, reg, val); val 79 sound/pci/ice1712/wtm.c unsigned char val; val 90 sound/pci/ice1712/wtm.c val = stac9460_get(ice, idx); val 92 sound/pci/ice1712/wtm.c val = stac9460_2_get(ice, idx - 6); val 93 sound/pci/ice1712/wtm.c ucontrol->value.integer.value[0] = (~val >> 7) & 0x1; val 219 sound/pci/ice1712/wtm.c unsigned char val; val 225 sound/pci/ice1712/wtm.c val = stac9460_get(ice, STAC946X_MIC_L_VOLUME + i); val 226 sound/pci/ice1712/wtm.c ucontrol->value.integer.value[i] = ~val>>7 & 0x1; val 230 sound/pci/ice1712/wtm.c val = stac9460_2_get(ice, STAC946X_MIC_L_VOLUME + i); val 231 sound/pci/ice1712/wtm.c ucontrol->value.integer.value[i] = ~val>>7 & 0x1; val 350 sound/pci/ice1712/wtm.c unsigned char val; val 355 sound/pci/ice1712/wtm.c val = stac9460_get(ice, STAC946X_GENERAL_PURPOSE); val 357 sound/pci/ice1712/wtm.c val = stac9460_2_get(ice, STAC946X_GENERAL_PURPOSE); val 358 sound/pci/ice1712/wtm.c ucontrol->value.integer.value[0] = ~val>>7 & 0x1; val 472 sound/pci/intel8x0.c iowrite8(val, chip->bmaddr + offset); val 477 sound/pci/intel8x0.c iowrite16(val, chip->bmaddr + offset); val 482 sound/pci/intel8x0.c iowrite32(val, chip->bmaddr + offset); val 496 sound/pci/intel8x0.c iowrite16(val, chip->addr + offset); val 556 sound/pci/intel8x0.c iaputword(chip, reg + ac97->num * 0x80, val); val 606 sound/pci/intel8x0.c int val = igetbyte(chip, ICHREG(ALI_CSPSR)); val 607 sound/pci/intel8x0.c if (val & mask) val 652 sound/pci/intel8x0.c iputword(chip, ICHREG(ALI_CPR), val); val 830 sound/pci/intel8x0.c unsigned char val = 0; val 838 sound/pci/intel8x0.c val = ICH_IOCE | ICH_STARTBM; val 844 sound/pci/intel8x0.c val = 0; val 847 sound/pci/intel8x0.c val = ICH_IOCE; val 850 sound/pci/intel8x0.c val = ICH_IOCE | ICH_STARTBM; val 855 sound/pci/intel8x0.c iputbyte(chip, port + ICH_REG_OFF_CR, val); val 873 sound/pci/intel8x0.c unsigned int val, fifo; val 875 sound/pci/intel8x0.c val = igetdword(chip, ICHREG(ALI_DMACR)); val 890 sound/pci/intel8x0.c val &= ~(1 << (ichdev->ali_slot + 16)); /* clear PAUSE flag */ val 892 sound/pci/intel8x0.c iputdword(chip, ICHREG(ALI_DMACR), val | (1 << ichdev->ali_slot)); val 900 sound/pci/intel8x0.c iputdword(chip, ICHREG(ALI_DMACR), val | (1 << (ichdev->ali_slot + 16))); val 1271 sound/pci/intel8x0.c unsigned int val; val 1274 sound/pci/intel8x0.c val = igetdword(chip, ICHREG(ALI_INTERFACECR)); val 1275 sound/pci/intel8x0.c val |= ICH_ALI_IF_AC97SP; val 1276 sound/pci/intel8x0.c iputdword(chip, ICHREG(ALI_INTERFACECR), val); val 1286 sound/pci/intel8x0.c unsigned int val; val 1290 sound/pci/intel8x0.c val = igetdword(chip, ICHREG(ALI_INTERFACECR)); val 1291 sound/pci/intel8x0.c val &= ~ICH_ALI_IF_AC97SP; val 1292 sound/pci/intel8x0.c iputdword(chip, ICHREG(ALI_INTERFACECR), val); val 2256 sound/pci/intel8x0.c u32 val; val 2257 sound/pci/intel8x0.c val = igetdword(chip, ICHREG(GLOB_CNT)) & ~ICH_PCM_SPDIF_MASK; val 2258 sound/pci/intel8x0.c val |= ICH_PCM_SPDIF_1011; val 2259 sound/pci/intel8x0.c iputdword(chip, ICHREG(GLOB_CNT), val); val 2384 sound/pci/intel8x0.c unsigned int val; val 2385 sound/pci/intel8x0.c pci_read_config_dword(chip->pci, 0x4c, &val); val 2386 sound/pci/intel8x0.c val |= 0x1000000; val 2387 sound/pci/intel8x0.c pci_write_config_dword(chip->pci, 0x4c, val); val 2477 sound/pci/intel8x0.c unsigned int val; val 2478 sound/pci/intel8x0.c pci_read_config_dword(chip->pci, 0x4c, &val); val 2479 sound/pci/intel8x0.c val &= ~0x1000000; val 2480 sound/pci/intel8x0.c pci_write_config_dword(chip->pci, 0x4c, val); val 268 sound/pci/intel8x0m.c iowrite8(val, chip->bmaddr + offset); val 273 sound/pci/intel8x0m.c iowrite16(val, chip->bmaddr + offset); val 278 sound/pci/intel8x0m.c iowrite32(val, chip->bmaddr + offset); val 292 sound/pci/intel8x0m.c iowrite16(val, chip->addr + offset); val 354 sound/pci/intel8x0m.c iaputword(chip, reg + ac97->num * 0x80, val); val 527 sound/pci/intel8x0m.c unsigned char val = 0; val 533 sound/pci/intel8x0m.c val = ICH_IOCE | ICH_STARTBM; val 537 sound/pci/intel8x0m.c val = 0; val 540 sound/pci/intel8x0m.c val = ICH_IOCE; val 543 sound/pci/intel8x0m.c val = ICH_IOCE | ICH_STARTBM; val 548 sound/pci/intel8x0m.c iputbyte(chip, port + ICH_REG_OFF_CR, val); val 1741 sound/pci/korg1212/korg1212.c int i, val; val 1749 sound/pci/korg1212/korg1212.c val = korg1212->sharedBufferPtr->volumeData[kcontrol->private_value]; val 1751 sound/pci/korg1212/korg1212.c if ((u->value.integer.value[0] != 0) != (val < 0)) { val 1752 sound/pci/korg1212/korg1212.c val = abs(val) * (korg1212->volumePhase[i] > 0 ? -1 : 1); val 1753 sound/pci/korg1212/korg1212.c korg1212->sharedBufferPtr->volumeData[i] = val; val 1760 sound/pci/korg1212/korg1212.c val = korg1212->sharedBufferPtr->volumeData[kcontrol->private_value+1]; val 1762 sound/pci/korg1212/korg1212.c if ((u->value.integer.value[1] != 0) != (val < 0)) { val 1763 sound/pci/korg1212/korg1212.c val = abs(val) * (korg1212->volumePhase[i+1] > 0 ? -1 : 1); val 1764 sound/pci/korg1212/korg1212.c korg1212->sharedBufferPtr->volumeData[i+1] = val; val 1809 sound/pci/korg1212/korg1212.c int val; val 1819 sound/pci/korg1212/korg1212.c val = korg1212->volumePhase[i] > 0 ? -1 : 1; val 1820 sound/pci/korg1212/korg1212.c val *= u->value.integer.value[0]; val 1821 sound/pci/korg1212/korg1212.c korg1212->sharedBufferPtr->volumeData[i] = val; val 1830 sound/pci/korg1212/korg1212.c val = korg1212->volumePhase[i+1] > 0 ? -1 : 1; val 1831 sound/pci/korg1212/korg1212.c val *= u->value.integer.value[1]; val 1832 sound/pci/korg1212/korg1212.c korg1212->sharedBufferPtr->volumeData[i+1] = val; val 1989 sound/pci/korg1212/korg1212.c unsigned int val; val 1992 sound/pci/korg1212/korg1212.c val = ucontrol->value.enumerated.item[0] % 3; val 1994 sound/pci/korg1212/korg1212.c change = val != korg1212->clkSource; val 1995 sound/pci/korg1212/korg1212.c snd_korg1212_SetClockSource(korg1212, val); val 1053 sound/pci/maestro3.c val); val 1059 sound/pci/maestro3.c u16 val; val 1063 sound/pci/maestro3.c val = snd_m3_assp_read(chip, MEMTYPE_INTERNAL_DATA, val 1067 sound/pci/maestro3.c val); val 1334 sound/pci/maestro3.c u16 addr, val; val 1394 sound/pci/maestro3.c s->inst.data + pv[i].addr, pv[i].val); val 1401 sound/pci/maestro3.c u16 addr, val; val 1452 sound/pci/maestro3.c s->inst.data + rv[i].addr, rv[i].val); val 1602 sound/pci/maestro3.c int x, val; val 1622 sound/pci/maestro3.c val = chip->ac97->regs[AC97_MASTER_VOL]; val 1626 sound/pci/maestro3.c val ^= 0x8000; val 1627 sound/pci/maestro3.c chip->ac97->regs[AC97_MASTER_VOL] = val; val 1628 sound/pci/maestro3.c outw(val, chip->iobase + CODEC_DATA); val 1635 sound/pci/maestro3.c if ((val & 0x7f) > 0) val 1636 sound/pci/maestro3.c val--; val 1637 sound/pci/maestro3.c if ((val & 0x7f00) > 0) val 1638 sound/pci/maestro3.c val -= 0x0100; val 1639 sound/pci/maestro3.c chip->ac97->regs[AC97_MASTER_VOL] = val; val 1640 sound/pci/maestro3.c outw(val, chip->iobase + CODEC_DATA); val 1647 sound/pci/maestro3.c if ((val & 0x7f) < 0x1f) val 1648 sound/pci/maestro3.c val++; val 1649 sound/pci/maestro3.c if ((val & 0x7f00) < 0x1f00) val 1650 sound/pci/maestro3.c val += 0x0100; val 1651 sound/pci/maestro3.c chip->ac97->regs[AC97_MASTER_VOL] = val; val 1652 sound/pci/maestro3.c outw(val, chip->iobase + CODEC_DATA); val 1964 sound/pci/maestro3.c snd_m3_outw(chip, val, CODEC_DATA); val 2280 sound/pci/maestro3.c u16 val = GPI_VOL_DOWN | GPI_VOL_UP; val 2292 sound/pci/maestro3.c outw(~val, io + GPIO_MASK); val 2293 sound/pci/maestro3.c outw(inw(io + GPIO_DIRECTION) & ~val, io + GPIO_DIRECTION); val 2294 sound/pci/maestro3.c outw(val, io + GPIO_MASK); val 2360 sound/pci/maestro3.c unsigned short val; val 2363 sound/pci/maestro3.c val = ASSP_INT_ENABLE /*| MPU401_INT_ENABLE*/; val 2365 sound/pci/maestro3.c val |= HV_INT_ENABLE; val 2366 sound/pci/maestro3.c outw(val, io + HOST_INT_CTRL); val 338 sound/pci/mixart/mixart_hwdep.c u32 val; val 488 sound/pci/mixart/mixart_hwdep.c val = readl_be( MIXART_MEM( mgr, MIXART_PSEUDOREG_DXLX_BASE_ADDR_OFFSET )); val 489 sound/pci/mixart/mixart_hwdep.c if (!val) val 493 sound/pci/mixart/mixart_hwdep.c memcpy_toio( MIXART_MEM( mgr, val), dsp->data, dsp->size); val 300 sound/pci/nm256/nm256.c writeb(val, chip->cport + offset); val 306 sound/pci/nm256/nm256.c writew(val, chip->cport + offset); val 312 sound/pci/nm256/nm256.c writel(val, chip->cport + offset); val 1240 sound/pci/nm256/nm256.c snd_nm256_writew(chip, base + reg, val); val 1244 sound/pci/nm256/nm256.c chip->ac97_regs[idx] = val; val 162 sound/pci/pcxhr/pcxhr.c unsigned int val, realfreq, pllreg; val 170 sound/pci/pcxhr/pcxhr.c case 48000 : val = PCXHR_FREQ_QUARTZ_48000; break; val 171 sound/pci/pcxhr/pcxhr.c case 24000 : val = PCXHR_FREQ_QUARTZ_24000; break; val 172 sound/pci/pcxhr/pcxhr.c case 12000 : val = PCXHR_FREQ_QUARTZ_12000; break; val 173 sound/pci/pcxhr/pcxhr.c case 32000 : val = PCXHR_FREQ_QUARTZ_32000; break; val 174 sound/pci/pcxhr/pcxhr.c case 16000 : val = PCXHR_FREQ_QUARTZ_16000; break; val 175 sound/pci/pcxhr/pcxhr.c case 8000 : val = PCXHR_FREQ_QUARTZ_8000; break; val 176 sound/pci/pcxhr/pcxhr.c case 44100 : val = PCXHR_FREQ_QUARTZ_44100; break; val 177 sound/pci/pcxhr/pcxhr.c case 22050 : val = PCXHR_FREQ_QUARTZ_22050; break; val 178 sound/pci/pcxhr/pcxhr.c case 11025 : val = PCXHR_FREQ_QUARTZ_11025; break; val 179 sound/pci/pcxhr/pcxhr.c case 192000 : val = PCXHR_FREQ_QUARTZ_192000; break; val 180 sound/pci/pcxhr/pcxhr.c case 96000 : val = PCXHR_FREQ_QUARTZ_96000; break; val 181 sound/pci/pcxhr/pcxhr.c case 176400 : val = PCXHR_FREQ_QUARTZ_176400; break; val 182 sound/pci/pcxhr/pcxhr.c case 88200 : val = PCXHR_FREQ_QUARTZ_88200; break; val 183 sound/pci/pcxhr/pcxhr.c case 128000 : val = PCXHR_FREQ_QUARTZ_128000; break; val 184 sound/pci/pcxhr/pcxhr.c case 64000 : val = PCXHR_FREQ_QUARTZ_64000; break; val 186 sound/pci/pcxhr/pcxhr.c val = PCXHR_FREQ_PLL; val 205 sound/pci/pcxhr/pcxhr.c case PCXHR_CLOCK_TYPE_WORD_CLOCK : val = PCXHR_FREQ_WORD_CLOCK; break; val 206 sound/pci/pcxhr/pcxhr.c case PCXHR_CLOCK_TYPE_AES_SYNC : val = PCXHR_FREQ_SYNC_AES; break; val 207 sound/pci/pcxhr/pcxhr.c case PCXHR_CLOCK_TYPE_AES_1 : val = PCXHR_FREQ_AES_1; break; val 208 sound/pci/pcxhr/pcxhr.c case PCXHR_CLOCK_TYPE_AES_2 : val = PCXHR_FREQ_AES_2; break; val 209 sound/pci/pcxhr/pcxhr.c case PCXHR_CLOCK_TYPE_AES_3 : val = PCXHR_FREQ_AES_3; break; val 210 sound/pci/pcxhr/pcxhr.c case PCXHR_CLOCK_TYPE_AES_4 : val = PCXHR_FREQ_AES_4; break; val 213 sound/pci/pcxhr/pcxhr.c *reg = val; val 221 sound/pci/pcxhr/pcxhr.c unsigned int val, realfreq, speed; val 228 sound/pci/pcxhr/pcxhr.c err = pcxhr_get_clock_reg(mgr, rate, &val, &realfreq); val 255 sound/pci/pcxhr/pcxhr.c snd_printdd("clock register : set %x\n", val); val 256 sound/pci/pcxhr/pcxhr.c err = pcxhr_write_io_num_reg_cont(mgr, PCXHR_FREQ_REG_MASK, val, &changed); val 733 sound/pci/riptide/riptide.c u32 laddr, saddr, t, val; val 752 sound/pci/riptide/riptide.c val = atoh(&in[9], 8); val 753 sound/pci/riptide/riptide.c if (SEND_GOTO(cif, val) != 0) val 1781 sound/pci/riptide/riptide.c snd_printdd("Write AC97 reg 0x%x 0x%x\n", reg, val); val 1783 sound/pci/riptide/riptide.c SEND_SACR(cif, val, reg); val 1785 sound/pci/riptide/riptide.c } while (rptr.retwords[1] != val && i++ < MAX_WRITE_RETRY); val 1591 sound/pci/rme32.c unsigned int val; val 1594 sound/pci/rme32.c val = ucontrol->value.integer.value[0] ? 0 : RME32_WCR_SEL; val 1596 sound/pci/rme32.c val = (rme32->wcreg & ~RME32_WCR_SEL) | val; val 1597 sound/pci/rme32.c change = val != rme32->wcreg; val 1599 sound/pci/rme32.c val &= ~RME32_WCR_MUTE; val 1601 sound/pci/rme32.c val |= RME32_WCR_MUTE; val 1602 sound/pci/rme32.c rme32->wcreg = val; val 1603 sound/pci/rme32.c writel(val, rme32->iobase + RME32_IO_CONTROL_REGISTER); val 1672 sound/pci/rme32.c unsigned int val; val 1687 sound/pci/rme32.c val = ucontrol->value.enumerated.item[0] % items; val 1690 sound/pci/rme32.c change = val != (unsigned int)snd_rme32_getinputtype(rme32); val 1691 sound/pci/rme32.c snd_rme32_setinputtype(rme32, val); val 1731 sound/pci/rme32.c unsigned int val; val 1734 sound/pci/rme32.c val = ucontrol->value.enumerated.item[0] % 3; val 1736 sound/pci/rme32.c change = val != (unsigned int)snd_rme32_getclockmode(rme32); val 1737 sound/pci/rme32.c snd_rme32_setclockmode(rme32, val); val 1744 sound/pci/rme32.c u32 val = 0; val 1745 sound/pci/rme32.c val |= (aes->status[0] & IEC958_AES0_PROFESSIONAL) ? RME32_WCR_PRO : 0; val 1746 sound/pci/rme32.c if (val & RME32_WCR_PRO) val 1747 sound/pci/rme32.c val |= (aes->status[0] & IEC958_AES0_PRO_EMPHASIS_5015) ? RME32_WCR_EMP : 0; val 1749 sound/pci/rme32.c val |= (aes->status[0] & IEC958_AES0_CON_EMPHASIS_5015) ? RME32_WCR_EMP : 0; val 1750 sound/pci/rme32.c return val; val 1755 sound/pci/rme32.c aes->status[0] = ((val & RME32_WCR_PRO) ? IEC958_AES0_PROFESSIONAL : 0); val 1756 sound/pci/rme32.c if (val & RME32_WCR_PRO) val 1757 sound/pci/rme32.c aes->status[0] |= (val & RME32_WCR_EMP) ? IEC958_AES0_PRO_EMPHASIS_5015 : 0; val 1759 sound/pci/rme32.c aes->status[0] |= (val & RME32_WCR_EMP) ? IEC958_AES0_CON_EMPHASIS_5015 : 0; val 1785 sound/pci/rme32.c u32 val; val 1787 sound/pci/rme32.c val = snd_rme32_convert_from_aes(&ucontrol->value.iec958); val 1789 sound/pci/rme32.c change = val != rme32->wcreg_spdif; val 1790 sound/pci/rme32.c rme32->wcreg_spdif = val; val 1820 sound/pci/rme32.c u32 val; val 1822 sound/pci/rme32.c val = snd_rme32_convert_from_aes(&ucontrol->value.iec958); val 1824 sound/pci/rme32.c change = val != rme32->wcreg_spdif_stream; val 1825 sound/pci/rme32.c rme32->wcreg_spdif_stream = val; val 1827 sound/pci/rme32.c rme32->wcreg |= val; val 472 sound/pci/rme96.c if (val & 0x8000) { val 483 sound/pci/rme96.c val <<= 1; val 1823 sound/pci/rme96.c unsigned int val; val 1826 sound/pci/rme96.c val = ucontrol->value.integer.value[0] ? 0 : RME96_WCR_SEL; val 1828 sound/pci/rme96.c val = (rme96->wcreg & ~RME96_WCR_SEL) | val; val 1829 sound/pci/rme96.c change = val != rme96->wcreg; val 1830 sound/pci/rme96.c rme96->wcreg = val; val 1831 sound/pci/rme96.c writel(val, rme96->iobase + RME96_IO_CONTROL_REGISTER); val 1916 sound/pci/rme96.c unsigned int val; val 1938 sound/pci/rme96.c val = ucontrol->value.enumerated.item[0] % items; val 1942 sound/pci/rme96.c if (val == RME96_INPUT_XLR) { val 1943 sound/pci/rme96.c val = RME96_INPUT_ANALOG; val 1948 sound/pci/rme96.c change = (int)val != snd_rme96_getinputtype(rme96); val 1949 sound/pci/rme96.c snd_rme96_setinputtype(rme96, val); val 1982 sound/pci/rme96.c unsigned int val; val 1985 sound/pci/rme96.c val = ucontrol->value.enumerated.item[0] % 3; val 1987 sound/pci/rme96.c change = (int)val != snd_rme96_getclockmode(rme96); val 1988 sound/pci/rme96.c snd_rme96_setclockmode(rme96, val); val 2021 sound/pci/rme96.c unsigned int val; val 2024 sound/pci/rme96.c val = ucontrol->value.enumerated.item[0] % 4; val 2027 sound/pci/rme96.c change = (int)val != snd_rme96_getattenuation(rme96); val 2028 sound/pci/rme96.c snd_rme96_setattenuation(rme96, val); val 2061 sound/pci/rme96.c unsigned int val; val 2064 sound/pci/rme96.c val = ucontrol->value.enumerated.item[0] % 4; val 2066 sound/pci/rme96.c change = (int)val != snd_rme96_getmontracks(rme96); val 2067 sound/pci/rme96.c snd_rme96_setmontracks(rme96, val); val 2074 sound/pci/rme96.c u32 val = 0; val 2075 sound/pci/rme96.c val |= (aes->status[0] & IEC958_AES0_PROFESSIONAL) ? RME96_WCR_PRO : 0; val 2076 sound/pci/rme96.c val |= (aes->status[0] & IEC958_AES0_NONAUDIO) ? RME96_WCR_DOLBY : 0; val 2077 sound/pci/rme96.c if (val & RME96_WCR_PRO) val 2078 sound/pci/rme96.c val |= (aes->status[0] & IEC958_AES0_PRO_EMPHASIS_5015) ? RME96_WCR_EMP : 0; val 2080 sound/pci/rme96.c val |= (aes->status[0] & IEC958_AES0_CON_EMPHASIS_5015) ? RME96_WCR_EMP : 0; val 2081 sound/pci/rme96.c return val; val 2086 sound/pci/rme96.c aes->status[0] = ((val & RME96_WCR_PRO) ? IEC958_AES0_PROFESSIONAL : 0) | val 2087 sound/pci/rme96.c ((val & RME96_WCR_DOLBY) ? IEC958_AES0_NONAUDIO : 0); val 2088 sound/pci/rme96.c if (val & RME96_WCR_PRO) val 2089 sound/pci/rme96.c aes->status[0] |= (val & RME96_WCR_EMP) ? IEC958_AES0_PRO_EMPHASIS_5015 : 0; val 2091 sound/pci/rme96.c aes->status[0] |= (val & RME96_WCR_EMP) ? IEC958_AES0_CON_EMPHASIS_5015 : 0; val 2113 sound/pci/rme96.c u32 val; val 2115 sound/pci/rme96.c val = snd_rme96_convert_from_aes(&ucontrol->value.iec958); val 2117 sound/pci/rme96.c change = val != rme96->wcreg_spdif; val 2118 sound/pci/rme96.c rme96->wcreg_spdif = val; val 2142 sound/pci/rme96.c u32 val; val 2144 sound/pci/rme96.c val = snd_rme96_convert_from_aes(&ucontrol->value.iec958); val 2146 sound/pci/rme96.c change = val != rme96->wcreg_spdif_stream; val 2147 sound/pci/rme96.c rme96->wcreg_spdif_stream = val; val 2149 sound/pci/rme96.c rme96->wcreg |= val; val 2342 sound/pci/rme96.c u8 val; val 2376 sound/pci/rme96.c pci_read_config_byte(rme96->pci, 8, &val); val 2377 sound/pci/rme96.c if (val < 5) { val 646 sound/pci/rme9652/hdsp.c writel(val, hdsp->iobase + reg); val 1205 sound/pci/rme9652/hdsp.c hdsp_write(hdsp, HDSP_midiDataOut1, val); val 1207 sound/pci/rme9652/hdsp.c hdsp_write(hdsp, HDSP_midiDataOut0, val); val 1474 sound/pci/rme9652/hdsp.c u32 val = 0; val 1475 sound/pci/rme9652/hdsp.c val |= (aes->status[0] & IEC958_AES0_PROFESSIONAL) ? HDSP_SPDIFProfessional : 0; val 1476 sound/pci/rme9652/hdsp.c val |= (aes->status[0] & IEC958_AES0_NONAUDIO) ? HDSP_SPDIFNonAudio : 0; val 1477 sound/pci/rme9652/hdsp.c if (val & HDSP_SPDIFProfessional) val 1478 sound/pci/rme9652/hdsp.c val |= (aes->status[0] & IEC958_AES0_PRO_EMPHASIS_5015) ? HDSP_SPDIFEmphasis : 0; val 1480 sound/pci/rme9652/hdsp.c val |= (aes->status[0] & IEC958_AES0_CON_EMPHASIS_5015) ? HDSP_SPDIFEmphasis : 0; val 1481 sound/pci/rme9652/hdsp.c return val; val 1486 sound/pci/rme9652/hdsp.c aes->status[0] = ((val & HDSP_SPDIFProfessional) ? IEC958_AES0_PROFESSIONAL : 0) | val 1487 sound/pci/rme9652/hdsp.c ((val & HDSP_SPDIFNonAudio) ? IEC958_AES0_NONAUDIO : 0); val 1488 sound/pci/rme9652/hdsp.c if (val & HDSP_SPDIFProfessional) val 1489 sound/pci/rme9652/hdsp.c aes->status[0] |= (val & HDSP_SPDIFEmphasis) ? IEC958_AES0_PRO_EMPHASIS_5015 : 0; val 1491 sound/pci/rme9652/hdsp.c aes->status[0] |= (val & HDSP_SPDIFEmphasis) ? IEC958_AES0_CON_EMPHASIS_5015 : 0; val 1513 sound/pci/rme9652/hdsp.c u32 val; val 1515 sound/pci/rme9652/hdsp.c val = snd_hdsp_convert_from_aes(&ucontrol->value.iec958); val 1517 sound/pci/rme9652/hdsp.c change = val != hdsp->creg_spdif; val 1518 sound/pci/rme9652/hdsp.c hdsp->creg_spdif = val; val 1542 sound/pci/rme9652/hdsp.c u32 val; val 1544 sound/pci/rme9652/hdsp.c val = snd_hdsp_convert_from_aes(&ucontrol->value.iec958); val 1546 sound/pci/rme9652/hdsp.c change = val != hdsp->creg_spdif_stream; val 1547 sound/pci/rme9652/hdsp.c hdsp->creg_spdif_stream = val; val 1549 sound/pci/rme9652/hdsp.c hdsp_write(hdsp, HDSP_controlRegister, hdsp->control_register |= val); val 1614 sound/pci/rme9652/hdsp.c unsigned int val; val 1618 sound/pci/rme9652/hdsp.c val = ucontrol->value.enumerated.item[0] % ((hdsp->io_type == H9632) ? 4 : 3); val 1620 sound/pci/rme9652/hdsp.c change = val != hdsp_spdif_in(hdsp); val 1622 sound/pci/rme9652/hdsp.c hdsp_set_spdif_input(hdsp, val); val 1661 sound/pci/rme9652/hdsp.c unsigned int val; val 1665 sound/pci/rme9652/hdsp.c val = ucontrol->value.integer.value[0] & 1; val 1667 sound/pci/rme9652/hdsp.c change = (int)val != hdsp_spdif_out(hdsp); val 1668 sound/pci/rme9652/hdsp.c hdsp_set_spdif_output(hdsp, val); val 1685 sound/pci/rme9652/hdsp.c if (val) val 1705 sound/pci/rme9652/hdsp.c unsigned int val; val 1709 sound/pci/rme9652/hdsp.c val = ucontrol->value.integer.value[0] & 1; val 1711 sound/pci/rme9652/hdsp.c change = (int)val != hdsp_spdif_professional(hdsp); val 1712 sound/pci/rme9652/hdsp.c hdsp_set_spdif_professional(hdsp, val); val 1729 sound/pci/rme9652/hdsp.c if (val) val 1749 sound/pci/rme9652/hdsp.c unsigned int val; val 1753 sound/pci/rme9652/hdsp.c val = ucontrol->value.integer.value[0] & 1; val 1755 sound/pci/rme9652/hdsp.c change = (int)val != hdsp_spdif_emphasis(hdsp); val 1756 sound/pci/rme9652/hdsp.c hdsp_set_spdif_emphasis(hdsp, val); val 1773 sound/pci/rme9652/hdsp.c if (val) val 1793 sound/pci/rme9652/hdsp.c unsigned int val; val 1797 sound/pci/rme9652/hdsp.c val = ucontrol->value.integer.value[0] & 1; val 1799 sound/pci/rme9652/hdsp.c change = (int)val != hdsp_spdif_nonaudio(hdsp); val 1800 sound/pci/rme9652/hdsp.c hdsp_set_spdif_nonaudio(hdsp, val); val 2106 sound/pci/rme9652/hdsp.c int val; val 2110 sound/pci/rme9652/hdsp.c val = ucontrol->value.enumerated.item[0]; val 2111 sound/pci/rme9652/hdsp.c if (val < 0) val = 0; val 2113 sound/pci/rme9652/hdsp.c if (val > 9) val 2114 sound/pci/rme9652/hdsp.c val = 9; val 2116 sound/pci/rme9652/hdsp.c if (val > 6) val 2117 sound/pci/rme9652/hdsp.c val = 6; val 2120 sound/pci/rme9652/hdsp.c if (val != hdsp_clock_source(hdsp)) val 2121 sound/pci/rme9652/hdsp.c change = (hdsp_set_clock_source(hdsp, val) == 0) ? 1 : 0; val 2218 sound/pci/rme9652/hdsp.c int val; val 2222 sound/pci/rme9652/hdsp.c val = ucontrol->value.enumerated.item[0]; val 2223 sound/pci/rme9652/hdsp.c if (val < 0) val = 0; val 2224 sound/pci/rme9652/hdsp.c if (val > 2) val = 2; val 2226 sound/pci/rme9652/hdsp.c if (val != hdsp_da_gain(hdsp)) val 2227 sound/pci/rme9652/hdsp.c change = (hdsp_set_da_gain(hdsp, val) == 0) ? 1 : 0; val 2303 sound/pci/rme9652/hdsp.c int val; val 2307 sound/pci/rme9652/hdsp.c val = ucontrol->value.enumerated.item[0]; val 2308 sound/pci/rme9652/hdsp.c if (val < 0) val = 0; val 2309 sound/pci/rme9652/hdsp.c if (val > 2) val = 2; val 2311 sound/pci/rme9652/hdsp.c if (val != hdsp_ad_gain(hdsp)) val 2312 sound/pci/rme9652/hdsp.c change = (hdsp_set_ad_gain(hdsp, val) == 0) ? 1 : 0; val 2388 sound/pci/rme9652/hdsp.c int val; val 2392 sound/pci/rme9652/hdsp.c val = ucontrol->value.enumerated.item[0]; val 2393 sound/pci/rme9652/hdsp.c if (val < 0) val = 0; val 2394 sound/pci/rme9652/hdsp.c if (val > 2) val = 2; val 2396 sound/pci/rme9652/hdsp.c if (val != hdsp_phone_gain(hdsp)) val 2397 sound/pci/rme9652/hdsp.c change = (hdsp_set_phone_gain(hdsp, val) == 0) ? 1 : 0; val 2444 sound/pci/rme9652/hdsp.c int val; val 2448 sound/pci/rme9652/hdsp.c val = ucontrol->value.integer.value[0] & 1; val 2450 sound/pci/rme9652/hdsp.c change = (int)val != hdsp_xlr_breakout_cable(hdsp); val 2451 sound/pci/rme9652/hdsp.c hdsp_set_xlr_breakout_cable(hdsp, val); val 2500 sound/pci/rme9652/hdsp.c int val; val 2504 sound/pci/rme9652/hdsp.c val = ucontrol->value.integer.value[0] & 1; val 2506 sound/pci/rme9652/hdsp.c change = (int)val != hdsp_aeb(hdsp); val 2507 sound/pci/rme9652/hdsp.c hdsp_set_aeb(hdsp, val); val 2617 sound/pci/rme9652/hdsp.c unsigned int val; val 2637 sound/pci/rme9652/hdsp.c val = ucontrol->value.enumerated.item[0] % max; val 2639 sound/pci/rme9652/hdsp.c change = (int)val != hdsp_pref_sync_ref(hdsp); val 2640 sound/pci/rme9652/hdsp.c hdsp_set_pref_sync_ref(hdsp, val); val 2741 sound/pci/rme9652/hdsp.c unsigned int val; val 2745 sound/pci/rme9652/hdsp.c val = ucontrol->value.integer.value[0] & 1; val 2747 sound/pci/rme9652/hdsp.c change = (int)val != hdsp_line_out(hdsp); val 2748 sound/pci/rme9652/hdsp.c hdsp_set_line_output(hdsp, val); val 2787 sound/pci/rme9652/hdsp.c unsigned int val; val 2791 sound/pci/rme9652/hdsp.c val = ucontrol->value.integer.value[0] & 1; val 2793 sound/pci/rme9652/hdsp.c change = (int)val != hdsp->precise_ptr; val 2794 sound/pci/rme9652/hdsp.c hdsp_set_precise_pointer(hdsp, val); val 2833 sound/pci/rme9652/hdsp.c unsigned int val; val 2837 sound/pci/rme9652/hdsp.c val = ucontrol->value.integer.value[0] & 1; val 2839 sound/pci/rme9652/hdsp.c change = (int)val != hdsp->use_midi_tasklet; val 2840 sound/pci/rme9652/hdsp.c hdsp_set_use_midi_tasklet(hdsp, val); val 3127 sound/pci/rme9652/hdsp.c int val; val 3131 sound/pci/rme9652/hdsp.c val = ucontrol->value.enumerated.item[0]; val 3133 sound/pci/rme9652/hdsp.c if (val != hdsp_dds_offset(hdsp)) val 3134 sound/pci/rme9652/hdsp.c change = (hdsp_set_dds_offset(hdsp, val) == 0) ? 1 : 0; val 4426 sound/pci/rme9652/hdsp.c u32 val = readl(src); val 4427 sound/pci/rme9652/hdsp.c return copy_to_user(dest, &val, 4); val 558 sound/pci/rme9652/hdspm.c writel(val, hdspm->iobase + reg); val 1033 sound/pci/rme9652/hdspm.c hdspm_write(hdspm, HDSPM_midiDataOut1, val); val 1035 sound/pci/rme9652/hdspm.c hdspm_write(hdspm, HDSPM_midiDataOut0, val); val 1600 sound/pci/rme9652/hdspm.c int val; val 1604 sound/pci/rme9652/hdspm.c val = ucontrol->value.enumerated.item[0]; val 1605 sound/pci/rme9652/hdspm.c if (val < 0) val 1606 sound/pci/rme9652/hdspm.c val = 0; val 1607 sound/pci/rme9652/hdspm.c if (val > 9) val 1608 sound/pci/rme9652/hdspm.c val = 9; val 1610 sound/pci/rme9652/hdspm.c if (val != hdspm_clock_source(hdspm)) val 1611 sound/pci/rme9652/hdspm.c change = (hdspm_set_clock_source(hdspm, val) == 0) ? 1 : 0; val 1763 sound/pci/rme9652/hdspm.c unsigned int val; val 1770 sound/pci/rme9652/hdspm.c val = ucontrol->value.enumerated.item[0] % max; val 1773 sound/pci/rme9652/hdspm.c change = (int) val != hdspm_pref_sync_ref(hdspm); val 1774 sound/pci/rme9652/hdspm.c hdspm_set_pref_sync_ref(hdspm, val); val 1905 sound/pci/rme9652/hdspm.c unsigned int val; val 1909 sound/pci/rme9652/hdspm.c val = ucontrol->value.integer.value[0] & 1; val 1911 sound/pci/rme9652/hdspm.c change = (int) val != hdspm_line_out(hdspm); val 1912 sound/pci/rme9652/hdspm.c hdspm_set_line_output(hdspm, val); val 1960 sound/pci/rme9652/hdspm.c unsigned int val; val 1964 sound/pci/rme9652/hdspm.c val = ucontrol->value.integer.value[0] & 1; val 1966 sound/pci/rme9652/hdspm.c change = (int) val != hdspm_tx_64(hdspm); val 1967 sound/pci/rme9652/hdspm.c hdspm_set_tx_64(hdspm, val); val 2015 sound/pci/rme9652/hdspm.c unsigned int val; val 2019 sound/pci/rme9652/hdspm.c val = ucontrol->value.integer.value[0] & 1; val 2021 sound/pci/rme9652/hdspm.c change = (int) val != hdspm_c_tms(hdspm); val 2022 sound/pci/rme9652/hdspm.c hdspm_set_c_tms(hdspm, val); val 2070 sound/pci/rme9652/hdspm.c unsigned int val; val 2074 sound/pci/rme9652/hdspm.c val = ucontrol->value.integer.value[0] & 1; val 2076 sound/pci/rme9652/hdspm.c change = (int) val != hdspm_safe_mode(hdspm); val 2077 sound/pci/rme9652/hdspm.c hdspm_set_safe_mode(hdspm, val); val 2125 sound/pci/rme9652/hdspm.c unsigned int val; val 2129 sound/pci/rme9652/hdspm.c val = ucontrol->value.integer.value[0] & 1; val 2131 sound/pci/rme9652/hdspm.c change = (int) val != hdspm_emphasis(hdspm); val 2132 sound/pci/rme9652/hdspm.c hdspm_set_emphasis(hdspm, val); val 2180 sound/pci/rme9652/hdspm.c unsigned int val; val 2184 sound/pci/rme9652/hdspm.c val = ucontrol->value.integer.value[0] & 1; val 2186 sound/pci/rme9652/hdspm.c change = (int) val != hdspm_dolby(hdspm); val 2187 sound/pci/rme9652/hdspm.c hdspm_set_dolby(hdspm, val); val 2235 sound/pci/rme9652/hdspm.c unsigned int val; val 2239 sound/pci/rme9652/hdspm.c val = ucontrol->value.integer.value[0] & 1; val 2241 sound/pci/rme9652/hdspm.c change = (int) val != hdspm_professional(hdspm); val 2242 sound/pci/rme9652/hdspm.c hdspm_set_professional(hdspm, val); val 2306 sound/pci/rme9652/hdspm.c unsigned int val; val 2310 sound/pci/rme9652/hdspm.c val = ucontrol->value.integer.value[0] & 1; val 2312 sound/pci/rme9652/hdspm.c change = (int) val != hdspm_input_select(hdspm); val 2313 sound/pci/rme9652/hdspm.c hdspm_set_input_select(hdspm, val); val 2377 sound/pci/rme9652/hdspm.c unsigned int val; val 2381 sound/pci/rme9652/hdspm.c val = ucontrol->value.integer.value[0] & 1; val 2383 sound/pci/rme9652/hdspm.c change = (int) val != hdspm_ds_wire(hdspm); val 2384 sound/pci/rme9652/hdspm.c hdspm_set_ds_wire(hdspm, val); val 2459 sound/pci/rme9652/hdspm.c int val; val 2463 sound/pci/rme9652/hdspm.c val = ucontrol->value.integer.value[0]; val 2464 sound/pci/rme9652/hdspm.c if (val < 0) val 2465 sound/pci/rme9652/hdspm.c val = 0; val 2466 sound/pci/rme9652/hdspm.c if (val > 2) val 2467 sound/pci/rme9652/hdspm.c val = 2; val 2469 sound/pci/rme9652/hdspm.c change = val != hdspm_qs_wire(hdspm); val 2470 sound/pci/rme9652/hdspm.c hdspm_set_qs_wire(hdspm, val); val 331 sound/pci/rme9652/rme9652.c writel(val, rme9652->iobase + reg); val 656 sound/pci/rme9652/rme9652.c if (val & mask) val 669 sound/pci/rme9652/rme9652.c long val; val 672 sound/pci/rme9652/rme9652.c val = 0; val 677 sound/pci/rme9652/rme9652.c val |= mask; val 681 sound/pci/rme9652/rme9652.c return val; val 792 sound/pci/rme9652/rme9652.c u32 val = 0; val 793 sound/pci/rme9652/rme9652.c val |= (aes->status[0] & IEC958_AES0_PROFESSIONAL) ? RME9652_PRO : 0; val 794 sound/pci/rme9652/rme9652.c val |= (aes->status[0] & IEC958_AES0_NONAUDIO) ? RME9652_Dolby : 0; val 795 sound/pci/rme9652/rme9652.c if (val & RME9652_PRO) val 796 sound/pci/rme9652/rme9652.c val |= (aes->status[0] & IEC958_AES0_PRO_EMPHASIS_5015) ? RME9652_EMP : 0; val 798 sound/pci/rme9652/rme9652.c val |= (aes->status[0] & IEC958_AES0_CON_EMPHASIS_5015) ? RME9652_EMP : 0; val 799 sound/pci/rme9652/rme9652.c return val; val 804 sound/pci/rme9652/rme9652.c aes->status[0] = ((val & RME9652_PRO) ? IEC958_AES0_PROFESSIONAL : 0) | val 805 sound/pci/rme9652/rme9652.c ((val & RME9652_Dolby) ? IEC958_AES0_NONAUDIO : 0); val 806 sound/pci/rme9652/rme9652.c if (val & RME9652_PRO) val 807 sound/pci/rme9652/rme9652.c aes->status[0] |= (val & RME9652_EMP) ? IEC958_AES0_PRO_EMPHASIS_5015 : 0; val 809 sound/pci/rme9652/rme9652.c aes->status[0] |= (val & RME9652_EMP) ? IEC958_AES0_CON_EMPHASIS_5015 : 0; val 831 sound/pci/rme9652/rme9652.c u32 val; val 833 sound/pci/rme9652/rme9652.c val = snd_rme9652_convert_from_aes(&ucontrol->value.iec958); val 835 sound/pci/rme9652/rme9652.c change = val != rme9652->creg_spdif; val 836 sound/pci/rme9652/rme9652.c rme9652->creg_spdif = val; val 860 sound/pci/rme9652/rme9652.c u32 val; val 862 sound/pci/rme9652/rme9652.c val = snd_rme9652_convert_from_aes(&ucontrol->value.iec958); val 864 sound/pci/rme9652/rme9652.c change = val != rme9652->creg_spdif_stream; val 865 sound/pci/rme9652/rme9652.c rme9652->creg_spdif_stream = val; val 867 sound/pci/rme9652/rme9652.c rme9652_write(rme9652, RME9652_control_register, rme9652->control_register |= val); val 950 sound/pci/rme9652/rme9652.c unsigned int val; val 954 sound/pci/rme9652/rme9652.c val = ucontrol->value.enumerated.item[0] % 2; val 956 sound/pci/rme9652/rme9652.c change = val != rme9652_adat1_in(rme9652); val 958 sound/pci/rme9652/rme9652.c rme9652_set_adat1_input(rme9652, val); val 1021 sound/pci/rme9652/rme9652.c unsigned int val; val 1025 sound/pci/rme9652/rme9652.c val = ucontrol->value.enumerated.item[0] % 3; val 1027 sound/pci/rme9652/rme9652.c change = val != rme9652_spdif_in(rme9652); val 1029 sound/pci/rme9652/rme9652.c rme9652_set_spdif_input(rme9652, val); val 1083 sound/pci/rme9652/rme9652.c unsigned int val; val 1087 sound/pci/rme9652/rme9652.c val = ucontrol->value.integer.value[0] & 1; val 1089 sound/pci/rme9652/rme9652.c change = (int)val != rme9652_spdif_out(rme9652); val 1090 sound/pci/rme9652/rme9652.c rme9652_set_spdif_output(rme9652, val); val 1170 sound/pci/rme9652/rme9652.c unsigned int val; val 1172 sound/pci/rme9652/rme9652.c val = ucontrol->value.enumerated.item[0] % 3; val 1174 sound/pci/rme9652/rme9652.c change = (int)val != rme9652_sync_mode(rme9652); val 1175 sound/pci/rme9652/rme9652.c rme9652_set_sync_mode(rme9652, val); val 1262 sound/pci/rme9652/rme9652.c unsigned int val; val 1267 sound/pci/rme9652/rme9652.c val = ucontrol->value.enumerated.item[0] % max; val 1269 sound/pci/rme9652/rme9652.c change = (int)val != rme9652_sync_pref(rme9652); val 1270 sound/pci/rme9652/rme9652.c rme9652_set_sync_pref(rme9652, val); val 1347 sound/pci/rme9652/rme9652.c unsigned int val; val 1353 sound/pci/rme9652/rme9652.c val = ucontrol->value.integer.value[0] & 1; val 1357 sound/pci/rme9652/rme9652.c err = rme9652_set_passthru(rme9652, val); val 1411 sound/pci/rme9652/rme9652.c unsigned int mask1, mask2, val; val 1419 sound/pci/rme9652/rme9652.c val = rme9652_read(rme9652, RME9652_status_register); val 1420 sound/pci/rme9652/rme9652.c ucontrol->value.enumerated.item[0] = (val & mask1) ? 1 : 0; val 1421 sound/pci/rme9652/rme9652.c ucontrol->value.enumerated.item[0] |= (val & mask2) ? 2 : 0; val 919 sound/pci/sis7019.c unsigned short val = 0xffff; val 969 sound/pci/sis7019.c val = inl(io + SIS_AC97_CMD) >> 16; val 981 sound/pci/sis7019.c return val; val 993 sound/pci/sis7019.c (val << 16) | (reg << 8) | cmd[ac97->num]); val 970 sound/pci/sonicvibes.c unsigned short val, oval; val 972 sound/pci/sonicvibes.c val = (ucontrol->value.integer.value[0] & mask); val 974 sound/pci/sonicvibes.c val = mask - val; val 975 sound/pci/sonicvibes.c val <<= shift; val 978 sound/pci/sonicvibes.c val = (oval & ~(mask << shift)) | val; val 979 sound/pci/sonicvibes.c change = val != oval; val 980 sound/pci/sonicvibes.c snd_sonicvibes_out1(sonic, reg, val); val 69 sound/pci/trident/trident_main.c unsigned int val, tmp; val 73 sound/pci/trident/trident_main.c val = inl(TRID_REG(trident, CH_LBA)); val 74 sound/pci/trident/trident_main.c printk("LBA: 0x%x\n", val); val 75 sound/pci/trident/trident_main.c val = inl(TRID_REG(trident, CH_GVSEL_PAN_VOL_CTRL_EC)); val 76 sound/pci/trident/trident_main.c printk("GVSel: %i\n", val >> 31); val 77 sound/pci/trident/trident_main.c printk("Pan: 0x%x\n", (val >> 24) & 0x7f); val 78 sound/pci/trident/trident_main.c printk("Vol: 0x%x\n", (val >> 16) & 0xff); val 79 sound/pci/trident/trident_main.c printk("CTRL: 0x%x\n", (val >> 12) & 0x0f); val 80 sound/pci/trident/trident_main.c printk("EC: 0x%x\n", val & 0x0fff); val 82 sound/pci/trident/trident_main.c val = inl(TRID_REG(trident, CH_DX_CSO_ALPHA_FMS)); val 83 sound/pci/trident/trident_main.c printk("CSO: 0x%x\n", val >> 16); val 84 sound/pci/trident/trident_main.c printk("Alpha: 0x%x\n", (val >> 4) & 0x0fff); val 85 sound/pci/trident/trident_main.c printk("FMS: 0x%x\n", val & 0x0f); val 86 sound/pci/trident/trident_main.c val = inl(TRID_REG(trident, CH_DX_ESO_DELTA)); val 87 sound/pci/trident/trident_main.c printk("ESO: 0x%x\n", val >> 16); val 88 sound/pci/trident/trident_main.c printk("Delta: 0x%x\n", val & 0xffff); val 89 sound/pci/trident/trident_main.c val = inl(TRID_REG(trident, CH_DX_FMC_RVOL_CVOL)); val 91 sound/pci/trident/trident_main.c val = inl(TRID_REG(trident, CH_NX_DELTA_CSO)); val 92 sound/pci/trident/trident_main.c tmp = (val >> 24) & 0xff; val 93 sound/pci/trident/trident_main.c printk("CSO: 0x%x\n", val & 0x00ffffff); val 94 sound/pci/trident/trident_main.c val = inl(TRID_REG(trident, CH_NX_DELTA_ESO)); val 95 sound/pci/trident/trident_main.c tmp |= (val >> 16) & 0xff00; val 97 sound/pci/trident/trident_main.c printk("ESO: 0x%x\n", val & 0x00ffffff); val 98 sound/pci/trident/trident_main.c val = inl(TRID_REG(trident, CH_NX_ALPHA_FMS_FMC_RVOL_CVOL)); val 99 sound/pci/trident/trident_main.c printk("Alpha: 0x%x\n", val >> 20); val 100 sound/pci/trident/trident_main.c printk("FMS: 0x%x\n", (val >> 16) & 0x0f); val 102 sound/pci/trident/trident_main.c printk("FMC: 0x%x\n", (val >> 14) & 3); val 103 sound/pci/trident/trident_main.c printk("RVol: 0x%x\n", (val >> 7) & 0x7f); val 104 sound/pci/trident/trident_main.c printk("CVol: 0x%x\n", val & 0x7f); val 251 sound/pci/trident/trident_main.c unsigned int val; val 253 sound/pci/trident/trident_main.c val = inl(TRID_REG(trident, T4D_LFO_GC_CIR)); val 254 sound/pci/trident/trident_main.c val |= ENDLP_IE; val 255 sound/pci/trident/trident_main.c val |= MIDLP_IE; val 257 sound/pci/trident/trident_main.c val |= BANK_B_EN; val 258 sound/pci/trident/trident_main.c outl(val, TRID_REG(trident, T4D_LFO_GC_CIR)); val 1049 sound/pci/trident/trident_main.c unsigned int val, ESO_bytes; val 1072 sound/pci/trident/trident_main.c val = (((unsigned int) 48000L << 12) + (runtime->rate/2)) / runtime->rate; val 1073 sound/pci/trident/trident_main.c outw(val, TRID_REG(trident, T4D_SBDELTA_DELTA_R)); val 1077 sound/pci/trident/trident_main.c val = (unsigned short) ((ESO_bytes >> 1) - 1); val 1079 sound/pci/trident/trident_main.c val = (unsigned short) (ESO_bytes - 1); val 1082 sound/pci/trident/trident_main.c outl((val << 16) | val, TRID_REG(trident, T4D_SBBL_SBCL)); val 1545 sound/pci/trident/trident_main.c unsigned int val, go; val 1563 sound/pci/trident/trident_main.c val = inl(TRID_REG(trident, T4D_STIMER)) & 0x00ffffff; val 1575 sound/pci/trident/trident_main.c evoice->stimer = val; val 1579 sound/pci/trident/trident_main.c voice->stimer = val; val 1593 sound/pci/trident/trident_main.c val = trident->spdif_pcm_ctrl; val 1595 sound/pci/trident/trident_main.c val &= ~(0x28); val 1596 sound/pci/trident/trident_main.c outb(val, TRID_REG(trident, NX_SPCTRL_SPCSO + 3)); val 1599 sound/pci/trident/trident_main.c val = inl(TRID_REG(trident, SI_SERIAL_INTF_CTRL)) | SPDIF_EN; val 1600 sound/pci/trident/trident_main.c outl(val, TRID_REG(trident, SI_SERIAL_INTF_CTRL)); val 1605 sound/pci/trident/trident_main.c val = inl(TRID_REG(trident, T4D_AINTEN_B)); val 1607 sound/pci/trident/trident_main.c val |= whati; val 1609 sound/pci/trident/trident_main.c val &= ~whati; val 1611 sound/pci/trident/trident_main.c outl(val, TRID_REG(trident, T4D_AINTEN_B)); val 2328 sound/pci/trident/trident_main.c unsigned char val; val 2331 sound/pci/trident/trident_main.c val = trident->spdif_ctrl; val 2332 sound/pci/trident/trident_main.c ucontrol->value.integer.value[0] = val == kcontrol->private_value; val 2341 sound/pci/trident/trident_main.c unsigned char val; val 2344 sound/pci/trident/trident_main.c val = ucontrol->value.integer.value[0] ? (unsigned char) kcontrol->private_value : 0x00; val 2347 sound/pci/trident/trident_main.c change = trident->spdif_ctrl != val; val 2348 sound/pci/trident/trident_main.c trident->spdif_ctrl = val; val 2359 sound/pci/trident/trident_main.c if (val) val 2410 sound/pci/trident/trident_main.c unsigned int val; val 2413 sound/pci/trident/trident_main.c val = (ucontrol->value.iec958.status[0] << 0) | val 2418 sound/pci/trident/trident_main.c change = trident->spdif_bits != val; val 2419 sound/pci/trident/trident_main.c trident->spdif_bits = val; val 2505 sound/pci/trident/trident_main.c unsigned int val; val 2508 sound/pci/trident/trident_main.c val = (ucontrol->value.iec958.status[0] << 0) | val 2513 sound/pci/trident/trident_main.c change = trident->spdif_pcm_bits != val; val 2514 sound/pci/trident/trident_main.c trident->spdif_pcm_bits = val; val 2548 sound/pci/trident/trident_main.c unsigned char val; val 2551 sound/pci/trident/trident_main.c val = trident->ac97_ctrl = inl(TRID_REG(trident, NX_ACR0_AC97_COM_STAT)); val 2552 sound/pci/trident/trident_main.c ucontrol->value.integer.value[0] = (val & (1 << kcontrol->private_value)) ? 1 : 0; val 2561 sound/pci/trident/trident_main.c unsigned char val; val 2565 sound/pci/trident/trident_main.c val = trident->ac97_ctrl = inl(TRID_REG(trident, NX_ACR0_AC97_COM_STAT)); val 2566 sound/pci/trident/trident_main.c val &= ~(1 << kcontrol->private_value); val 2568 sound/pci/trident/trident_main.c val |= 1 << kcontrol->private_value; val 2569 sound/pci/trident/trident_main.c change = val != trident->ac97_ctrl; val 2570 sound/pci/trident/trident_main.c trident->ac97_ctrl = val; val 2571 sound/pci/trident/trident_main.c outl(trident->ac97_ctrl = val, TRID_REG(trident, NX_ACR0_AC97_COM_STAT)); val 2606 sound/pci/trident/trident_main.c unsigned int val; val 2608 sound/pci/trident/trident_main.c val = trident->musicvol_wavevol; val 2609 sound/pci/trident/trident_main.c ucontrol->value.integer.value[0] = 255 - ((val >> kcontrol->private_value) & 0xff); val 2610 sound/pci/trident/trident_main.c ucontrol->value.integer.value[1] = 255 - ((val >> (kcontrol->private_value + 8)) & 0xff); val 2620 sound/pci/trident/trident_main.c unsigned int val; val 2624 sound/pci/trident/trident_main.c val = trident->musicvol_wavevol; val 2625 sound/pci/trident/trident_main.c val &= ~(0xffff << kcontrol->private_value); val 2626 sound/pci/trident/trident_main.c val |= ((255 - (ucontrol->value.integer.value[0] & 0xff)) | val 2628 sound/pci/trident/trident_main.c change = val != trident->musicvol_wavevol; val 2629 sound/pci/trident/trident_main.c outl(trident->musicvol_wavevol = val, TRID_REG(trident, T4D_MUSICVOL_WAVEVOL)); val 2695 sound/pci/trident/trident_main.c unsigned int val; val 2699 sound/pci/trident/trident_main.c val = 1023 - (ucontrol->value.integer.value[0] & 1023); val 2701 sound/pci/trident/trident_main.c val = (255 - (ucontrol->value.integer.value[0] & 255)) << 2; val 2704 sound/pci/trident/trident_main.c change = val != mix->vol; val 2705 sound/pci/trident/trident_main.c mix->vol = val; val 2707 sound/pci/trident/trident_main.c snd_trident_write_vol_reg(trident, mix->voice, val); val 2760 sound/pci/trident/trident_main.c unsigned char val; val 2764 sound/pci/trident/trident_main.c val = ucontrol->value.integer.value[0] & 0x3f; val 2766 sound/pci/trident/trident_main.c val = (0x3f - (ucontrol->value.integer.value[0] & 0x3f)) | 0x40; val 2768 sound/pci/trident/trident_main.c change = val != mix->pan; val 2769 sound/pci/trident/trident_main.c mix->pan = val; val 2771 sound/pci/trident/trident_main.c snd_trident_write_pan_reg(trident, mix->voice, val); val 2818 sound/pci/trident/trident_main.c unsigned short val; val 2821 sound/pci/trident/trident_main.c val = 0x7f - (ucontrol->value.integer.value[0] & 0x7f); val 2823 sound/pci/trident/trident_main.c change = val != mix->rvol; val 2824 sound/pci/trident/trident_main.c mix->rvol = val; val 2826 sound/pci/trident/trident_main.c snd_trident_write_rvol_reg(trident, mix->voice, val); val 2876 sound/pci/trident/trident_main.c unsigned short val; val 2879 sound/pci/trident/trident_main.c val = 0x7f - (ucontrol->value.integer.value[0] & 0x7f); val 2881 sound/pci/trident/trident_main.c change = val != mix->cvol; val 2882 sound/pci/trident/trident_main.c mix->cvol = val; val 2884 sound/pci/trident/trident_main.c snd_trident_write_cvol_reg(trident, mix->voice, val); val 3898 sound/pci/trident/trident_main.c unsigned int i, val, mask[2] = { 0, 0 }; val 3906 sound/pci/trident/trident_main.c val = inl(TRID_REG(trident, T4D_AINTEN_A)); val 3907 sound/pci/trident/trident_main.c outl(val & ~mask[0], TRID_REG(trident, T4D_AINTEN_A)); val 3911 sound/pci/trident/trident_main.c val = inl(TRID_REG(trident, T4D_AINTEN_B)); val 3912 sound/pci/trident/trident_main.c outl(val & ~mask[1], TRID_REG(trident, T4D_AINTEN_B)); val 508 sound/pci/via82xx.c outl(val, VIAREG(chip, AC97)); val 514 sound/pci/via82xx.c unsigned int val; val 518 sound/pci/via82xx.c if (!((val = snd_via82xx_codec_xread(chip)) & VIA_REG_AC97_BUSY)) val 519 sound/pci/via82xx.c return val & 0xffff; val 529 sound/pci/via82xx.c unsigned int val, val1; val 534 sound/pci/via82xx.c val = snd_via82xx_codec_xread(chip); val 535 sound/pci/via82xx.c val1 = val & (VIA_REG_AC97_BUSY | stat); val 537 sound/pci/via82xx.c return val & 0xffff; val 562 sound/pci/via82xx.c xval |= val << VIA_REG_AC97_DATA_SHIFT; val 570 sound/pci/via82xx.c unsigned int xval, val = 0xffff; val 587 sound/pci/via82xx.c val = snd_via82xx_codec_xread(chip); val 591 sound/pci/via82xx.c return val & 0xffff; val 723 sound/pci/via82xx.c unsigned char val; val 726 sound/pci/via82xx.c val = VIA_REG_CTRL_INT; val 728 sound/pci/via82xx.c val = 0; val 732 sound/pci/via82xx.c val |= VIA_REG_CTRL_START; val 737 sound/pci/via82xx.c val = VIA_REG_CTRL_TERMINATE; val 741 sound/pci/via82xx.c val |= VIA_REG_CTRL_PAUSE; val 750 sound/pci/via82xx.c outb(val, VIADEV_REG(viadev, OFFSET_CONTROL)); val 1547 sound/pci/via82xx.c u8 val, oval; val 1551 sound/pci/via82xx.c val = oval & ~VIA_REG_CAPTURE_CHANNEL_MIC; val 1553 sound/pci/via82xx.c val |= VIA_REG_CAPTURE_CHANNEL_MIC; val 1554 sound/pci/via82xx.c if (val != oval) val 1555 sound/pci/via82xx.c outb(val, port); val 1557 sound/pci/via82xx.c return val != oval; val 1574 sound/pci/via82xx.c u8 val; val 1576 sound/pci/via82xx.c pci_read_config_byte(chip->pci, VIA8233_SPDIF_CTRL, &val); val 1577 sound/pci/via82xx.c ucontrol->value.integer.value[0] = (val & VIA8233_SPDIF_DX3) ? 1 : 0; val 1585 sound/pci/via82xx.c u8 val, oval; val 1588 sound/pci/via82xx.c val = oval & ~VIA8233_SPDIF_DX3; val 1590 sound/pci/via82xx.c val |= VIA8233_SPDIF_DX3; val 1593 sound/pci/via82xx.c if (val != oval) { val 1594 sound/pci/via82xx.c pci_write_config_byte(chip->pci, VIA8233_SPDIF_CTRL, val); val 1644 sound/pci/via82xx.c unsigned char val; val 1648 sound/pci/via82xx.c val = ucontrol->value.integer.value[i]; val 1649 sound/pci/via82xx.c if (val > VIA_DXS_MAX_VOLUME) val 1650 sound/pci/via82xx.c val = VIA_DXS_MAX_VOLUME; val 1651 sound/pci/via82xx.c val = VIA_DXS_MAX_VOLUME - val; val 1652 sound/pci/via82xx.c change |= val != chip->playback_volume[idx][i]; val 1654 sound/pci/via82xx.c chip->playback_volume[idx][i] = val; val 1655 sound/pci/via82xx.c outb(val, port + VIA_REG_OFS_PLAYBACK_VOLUME_L + i); val 1666 sound/pci/via82xx.c unsigned char val; val 1670 sound/pci/via82xx.c val = ucontrol->value.integer.value[i]; val 1671 sound/pci/via82xx.c if (val > VIA_DXS_MAX_VOLUME) val 1672 sound/pci/via82xx.c val = VIA_DXS_MAX_VOLUME; val 1673 sound/pci/via82xx.c val = VIA_DXS_MAX_VOLUME - val; val 1674 sound/pci/via82xx.c if (val != chip->playback_volume_c[i]) { val 1676 sound/pci/via82xx.c chip->playback_volume_c[i] = val; val 1679 sound/pci/via82xx.c chip->playback_volume[idx][i] = val; val 1680 sound/pci/via82xx.c outb(val, port + VIA_REG_OFS_PLAYBACK_VOLUME_L + i); val 1902 sound/pci/via82xx.c unsigned char val; val 1939 sound/pci/via82xx.c pci_read_config_byte(chip->pci, VIA8233_SPDIF_CTRL, &val); val 1940 sound/pci/via82xx.c val = (val & ~VIA8233_SPDIF_SLOT_MASK) | VIA8233_SPDIF_SLOT_1011; val 1941 sound/pci/via82xx.c val &= ~VIA8233_SPDIF_DX3; /* SPDIF off as default */ val 1942 sound/pci/via82xx.c pci_write_config_byte(chip->pci, VIA8233_SPDIF_CTRL, val); val 2050 sound/pci/via82xx.c unsigned int val; val 2101 sound/pci/via82xx.c if ((val = snd_via82xx_codec_xread(chip)) & VIA_REG_AC97_BUSY) val 2102 sound/pci/via82xx.c snd_printk(KERN_ERR "AC'97 codec is not ready [0x%x]\n", val); val 2113 sound/pci/via82xx.c if ((val = snd_via82xx_codec_xread(chip)) & VIA_REG_AC97_SECONDARY_VALID) { val 369 sound/pci/via82xx_modem.c outl(val, VIAREG(chip, AC97)); val 375 sound/pci/via82xx_modem.c unsigned int val; val 379 sound/pci/via82xx_modem.c if (!((val = snd_via82xx_codec_xread(chip)) & VIA_REG_AC97_BUSY)) val 380 sound/pci/via82xx_modem.c return val & 0xffff; val 390 sound/pci/via82xx_modem.c unsigned int val, val1; val 395 sound/pci/via82xx_modem.c val = snd_via82xx_codec_xread(chip); val 396 sound/pci/via82xx_modem.c val1 = val & (VIA_REG_AC97_BUSY | stat); val 398 sound/pci/via82xx_modem.c return val & 0xffff; val 420 sound/pci/via82xx_modem.c outl(val, VIAREG(chip, GPI_STATUS)); val 426 sound/pci/via82xx_modem.c xval |= val << VIA_REG_AC97_DATA_SHIFT; val 434 sound/pci/via82xx_modem.c unsigned int xval, val = 0xffff; val 451 sound/pci/via82xx_modem.c val = snd_via82xx_codec_xread(chip); val 455 sound/pci/via82xx_modem.c return val & 0xffff; val 520 sound/pci/via82xx_modem.c unsigned char val = 0; val 525 sound/pci/via82xx_modem.c val |= VIA_REG_CTRL_START; val 529 sound/pci/via82xx_modem.c val = VIA_REG_CTRL_TERMINATE; val 533 sound/pci/via82xx_modem.c val |= VIA_REG_CTRL_PAUSE; val 542 sound/pci/via82xx_modem.c outb(val, VIADEV_REG(viadev, OFFSET_CONTROL)); val 942 sound/pci/via82xx_modem.c unsigned int val; val 990 sound/pci/via82xx_modem.c if ((val = snd_via82xx_codec_xread(chip)) & VIA_REG_AC97_BUSY) val 991 sound/pci/via82xx_modem.c snd_printk(KERN_ERR "AC'97 codec is not ready [0x%x]\n", val); val 1001 sound/pci/via82xx_modem.c if ((val = snd_via82xx_codec_xread(chip)) & VIA_REG_AC97_SECONDARY_VALID) { val 109 sound/pci/vx222/vx222_ops.c outb(val, vx2_reg_addr(chip, offset)); val 130 sound/pci/vx222/vx222_ops.c outl(val, vx2_reg_addr(chip, offset)); val 139 sound/pci/vx222/vx222_ops.c #define vx_outb(chip,reg,val) vx2_outb((struct vx_core*)(chip), VX_##reg, val) val 143 sound/pci/vx222/vx222_ops.c #define vx_outl(chip,reg,val) vx2_outl((struct vx_core*)(chip), VX_##reg, val) val 333 sound/pci/vx222/vx222_ops.c unsigned int val; val 336 sound/pci/vx222/vx222_ops.c val = VX_CNTRL_REGISTER_VALUE & ~VX_USERBIT0_MASK; val 337 sound/pci/vx222/vx222_ops.c vx2_outl(chip, port, val); val 342 sound/pci/vx222/vx222_ops.c val |= VX_USERBIT1_MASK; val 344 sound/pci/vx222/vx222_ops.c val &= ~VX_USERBIT1_MASK; val 345 sound/pci/vx222/vx222_ops.c vx2_outl(chip, port, val); val 349 sound/pci/vx222/vx222_ops.c val |= VX_USERBIT0_MASK; val 350 sound/pci/vx222/vx222_ops.c vx2_outl(chip, port, val); val 669 sound/pci/vx222/vx222_ops.c unsigned int val; val 685 sound/pci/vx222/vx222_ops.c val = AKM_CODEC_LEFT_LEVEL_CMD; val 688 sound/pci/vx222/vx222_ops.c val = AKM_CODEC_RIGHT_LEVEL_CMD; val 694 sound/pci/vx222/vx222_ops.c val |= vx2_akm_gains_lut[data]; val 696 sound/pci/vx222/vx222_ops.c vx2_write_codec_reg(chip, val); val 55 sound/pci/ymfpci/ymfpci_main.c writeb(val, chip->reg_area_virt + offset); val 65 sound/pci/ymfpci/ymfpci_main.c writew(val, chip->reg_area_virt + offset); val 75 sound/pci/ymfpci/ymfpci_main.c writel(val, chip->reg_area_virt + offset); val 99 sound/pci/ymfpci/ymfpci_main.c cmd = ((YDSXG_AC97WRITECMD | reg) << 16) | val; val 144 sound/pci/ymfpci/ymfpci_main.c static u32 val[8] = { val 153 sound/pci/ymfpci/ymfpci_main.c return val[i]; val 154 sound/pci/ymfpci/ymfpci_main.c return val[0]; val 160 sound/pci/ymfpci/ymfpci_main.c static u32 val[8] = { val 169 sound/pci/ymfpci/ymfpci_main.c return val[i]; val 170 sound/pci/ymfpci/ymfpci_main.c return val[0]; val 1281 sound/pci/ymfpci/ymfpci_main.c unsigned int val; val 1284 sound/pci/ymfpci/ymfpci_main.c val = ((ucontrol->value.iec958.status[0] & 0x3e) << 0) | val 1287 sound/pci/ymfpci/ymfpci_main.c change = chip->spdif_bits != val; val 1288 sound/pci/ymfpci/ymfpci_main.c chip->spdif_bits = val; val 1356 sound/pci/ymfpci/ymfpci_main.c unsigned int val; val 1359 sound/pci/ymfpci/ymfpci_main.c val = ((ucontrol->value.iec958.status[0] & 0x3e) << 0) | val 1362 sound/pci/ymfpci/ymfpci_main.c change = chip->spdif_pcm_bits != val; val 1363 sound/pci/ymfpci/ymfpci_main.c chip->spdif_pcm_bits = val; val 1471 sound/pci/ymfpci/ymfpci_main.c unsigned int val, oval; val 1478 sound/pci/ymfpci/ymfpci_main.c val = (ucontrol->value.integer.value[0] & mask); val 1479 sound/pci/ymfpci/ymfpci_main.c val <<= shift; val 1482 sound/pci/ymfpci/ymfpci_main.c val = (oval & ~(mask << shift)) | val; val 1483 sound/pci/ymfpci/ymfpci_main.c change = val != oval; val 1484 sound/pci/ymfpci/ymfpci_main.c snd_ymfpci_writel(chip, reg, val); val 1517 sound/pci/ymfpci/ymfpci_main.c unsigned int val; val 1522 sound/pci/ymfpci/ymfpci_main.c val = snd_ymfpci_readl(chip, reg); val 1524 sound/pci/ymfpci/ymfpci_main.c ucontrol->value.integer.value[0] = (val >> shift_left) & mask; val 1525 sound/pci/ymfpci/ymfpci_main.c ucontrol->value.integer.value[1] = (val >> shift_right) & mask; val 1989 sound/pci/ymfpci/ymfpci_main.c u32 val; val 1992 sound/pci/ymfpci/ymfpci_main.c val = snd_ymfpci_readl(chip, YDSXGR_CONFIG); val 1993 sound/pci/ymfpci/ymfpci_main.c if (val) val 1996 sound/pci/ymfpci/ymfpci_main.c val = snd_ymfpci_readl(chip, YDSXGR_STATUS); val 1997 sound/pci/ymfpci/ymfpci_main.c if ((val & 0x00000002) == 0) val 125 sound/pcmcia/pdaudiocf/pdaudiocf.h outw(chip->regmap[reg>>1] = val, chip->port + reg); val 78 sound/pcmcia/pdaudiocf/pdaudiocf_core.c outw((u16)reg << 8 | val | (1<<13), chip->port + PDAUDIOCF_REG_AK_IFR); val 98 sound/pcmcia/pdaudiocf/pdaudiocf_core.c u16 val; val 100 sound/pcmcia/pdaudiocf/pdaudiocf_core.c val = pdacf_reg_read(chip, PDAUDIOCF_REG_SCR); val 101 sound/pcmcia/pdaudiocf/pdaudiocf_core.c val |= PDAUDIOCF_PDN; val 102 sound/pcmcia/pdaudiocf/pdaudiocf_core.c val &= ~PDAUDIOCF_RECORD; /* for sure */ val 103 sound/pcmcia/pdaudiocf/pdaudiocf_core.c pdacf_reg_write(chip, PDAUDIOCF_REG_SCR, val); val 105 sound/pcmcia/pdaudiocf/pdaudiocf_core.c val |= PDAUDIOCF_RST; val 106 sound/pcmcia/pdaudiocf/pdaudiocf_core.c pdacf_reg_write(chip, PDAUDIOCF_REG_SCR, val); val 108 sound/pcmcia/pdaudiocf/pdaudiocf_core.c val &= ~PDAUDIOCF_RST; val 109 sound/pcmcia/pdaudiocf/pdaudiocf_core.c pdacf_reg_write(chip, PDAUDIOCF_REG_SCR, val); val 112 sound/pcmcia/pdaudiocf/pdaudiocf_core.c val &= ~PDAUDIOCF_PDN; val 113 sound/pcmcia/pdaudiocf/pdaudiocf_core.c pdacf_reg_write(chip, PDAUDIOCF_REG_SCR, val); val 170 sound/pcmcia/pdaudiocf/pdaudiocf_core.c u16 val; val 175 sound/pcmcia/pdaudiocf/pdaudiocf_core.c val = chip->regmap[PDAUDIOCF_REG_SCR>>1]; val 177 sound/pcmcia/pdaudiocf/pdaudiocf_core.c val |= PDAUDIOCF_BLUE_LED_OFF; val 179 sound/pcmcia/pdaudiocf/pdaudiocf_core.c val &= ~PDAUDIOCF_BLUE_LED_OFF; val 180 sound/pcmcia/pdaudiocf/pdaudiocf_core.c pdacf_reg_write(chip, PDAUDIOCF_REG_SCR, val); val 187 sound/pcmcia/pdaudiocf/pdaudiocf_core.c u16 val; val 207 sound/pcmcia/pdaudiocf/pdaudiocf_core.c val = pdacf_reg_read(chip, PDAUDIOCF_REG_TCR); val 209 sound/pcmcia/pdaudiocf/pdaudiocf_core.c val &= ~(PDAUDIOCF_ELIMAKMBIT|PDAUDIOCF_TESTDATASEL); val 211 sound/pcmcia/pdaudiocf/pdaudiocf_core.c val |= PDAUDIOCF_ELIMAKMBIT; val 212 sound/pcmcia/pdaudiocf/pdaudiocf_core.c val &= ~PDAUDIOCF_TESTDATASEL; val 214 sound/pcmcia/pdaudiocf/pdaudiocf_core.c pdacf_reg_write(chip, PDAUDIOCF_REG_TCR, val); val 217 sound/pcmcia/pdaudiocf/pdaudiocf_core.c val = pdacf_reg_read(chip, PDAUDIOCF_REG_SCR); val 218 sound/pcmcia/pdaudiocf/pdaudiocf_core.c val &= ~(PDAUDIOCF_CLKDIV0 | PDAUDIOCF_CLKDIV1); /* use 24.576Mhz clock */ val 219 sound/pcmcia/pdaudiocf/pdaudiocf_core.c val &= ~(PDAUDIOCF_RED_LED_OFF|PDAUDIOCF_BLUE_LED_OFF); val 220 sound/pcmcia/pdaudiocf/pdaudiocf_core.c val |= PDAUDIOCF_DATAFMT0 | PDAUDIOCF_DATAFMT1; /* 24-bit data */ val 221 sound/pcmcia/pdaudiocf/pdaudiocf_core.c pdacf_reg_write(chip, PDAUDIOCF_REG_SCR, val); val 224 sound/pcmcia/pdaudiocf/pdaudiocf_core.c val = pdacf_reg_read(chip, PDAUDIOCF_REG_IER); val 225 sound/pcmcia/pdaudiocf/pdaudiocf_core.c val &= ~(PDAUDIOCF_IRQLVLEN0 | PDAUDIOCF_IRQLVLEN1); val 226 sound/pcmcia/pdaudiocf/pdaudiocf_core.c val &= ~(PDAUDIOCF_BLUEDUTY0 | PDAUDIOCF_REDDUTY0 | PDAUDIOCF_REDDUTY1); val 227 sound/pcmcia/pdaudiocf/pdaudiocf_core.c val |= PDAUDIOCF_BLUEDUTY1 | PDAUDIOCF_HALFRATE; val 228 sound/pcmcia/pdaudiocf/pdaudiocf_core.c val |= PDAUDIOCF_IRQOVREN | PDAUDIOCF_IRQAKMEN; val 229 sound/pcmcia/pdaudiocf/pdaudiocf_core.c pdacf_reg_write(chip, PDAUDIOCF_REG_IER, val); val 242 sound/pcmcia/pdaudiocf/pdaudiocf_core.c u16 val; val 244 sound/pcmcia/pdaudiocf/pdaudiocf_core.c val = pdacf_reg_read(chip, PDAUDIOCF_REG_SCR); val 245 sound/pcmcia/pdaudiocf/pdaudiocf_core.c chip->suspend_reg_scr = val; val 246 sound/pcmcia/pdaudiocf/pdaudiocf_core.c val |= PDAUDIOCF_RED_LED_OFF | PDAUDIOCF_BLUE_LED_OFF; val 247 sound/pcmcia/pdaudiocf/pdaudiocf_core.c pdacf_reg_write(chip, PDAUDIOCF_REG_SCR, val); val 249 sound/pcmcia/pdaudiocf/pdaudiocf_core.c val = inw(chip->port + PDAUDIOCF_REG_IER); val 250 sound/pcmcia/pdaudiocf/pdaudiocf_core.c val &= ~(PDAUDIOCF_IRQOVREN|PDAUDIOCF_IRQAKMEN|PDAUDIOCF_IRQLVLEN0|PDAUDIOCF_IRQLVLEN1); val 251 sound/pcmcia/pdaudiocf/pdaudiocf_core.c outw(val, chip->port + PDAUDIOCF_REG_IER); val 259 sound/pcmcia/pdaudiocf/pdaudiocf_core.c u16 val; val 264 sound/pcmcia/pdaudiocf/pdaudiocf_core.c val = inw(chip->port + PDAUDIOCF_REG_IER); val 265 sound/pcmcia/pdaudiocf/pdaudiocf_core.c val &= ~(PDAUDIOCF_IRQOVREN|PDAUDIOCF_IRQAKMEN|PDAUDIOCF_IRQLVLEN0|PDAUDIOCF_IRQLVLEN1); val 266 sound/pcmcia/pdaudiocf/pdaudiocf_core.c outw(val, chip->port + PDAUDIOCF_REG_IER); val 97 sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c unsigned short mask, val, tmp; val 110 sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c val = PDAUDIOCF_RECORD; val 118 sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c val = 0; val 136 sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c tmp |= val; val 168 sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c u16 val, nval, aval; val 188 sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c val = nval = pdacf_reg_read(chip, PDAUDIOCF_REG_SCR); val 218 sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c if (val != nval) { val 223 sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c val = pdacf_reg_read(chip, PDAUDIOCF_REG_IER); val 224 sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c val &= ~(PDAUDIOCF_IRQLVLEN1); val 225 sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c val |= PDAUDIOCF_IRQLVLEN0; val 226 sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c pdacf_reg_write(chip, PDAUDIOCF_REG_IER, val); val 55 sound/pcmcia/vx/vxp_mixer.c unsigned int val = ucontrol->value.integer.value[0]; val 57 sound/pcmcia/vx/vxp_mixer.c if (val > MIC_LEVEL_MAX) val 100 sound/pcmcia/vx/vxp_mixer.c int val = !!ucontrol->value.integer.value[0]; val 102 sound/pcmcia/vx/vxp_mixer.c if (chip->mic_level != val) { val 103 sound/pcmcia/vx/vxp_mixer.c vx_set_mic_boost(_chip, val); val 104 sound/pcmcia/vx/vxp_mixer.c chip->mic_level = val; val 73 sound/pcmcia/vx/vxp_ops.c outb(val, vxp_reg_addr(chip, offset)); val 82 sound/pcmcia/vx/vxp_ops.c #define vx_outb(chip,reg,val) vxp_outb((struct vx_core *)(chip), VX_##reg,val) val 70 sound/ppc/awacs.c out_le32(&chip->awacs->codec_ctrl, val | (chip->subframe << 22)); val 82 sound/ppc/awacs.c snd_pmac_awacs_write(chip, val | (reg << 12)); val 83 sound/ppc/awacs.c chip->awacs_reg[reg] = val; val 89 sound/ppc/awacs.c snd_pmac_awacs_write(chip, val | (reg << 12)); val 175 sound/ppc/awacs.c int val, oldval; val 191 sound/ppc/awacs.c val = oldval & ~(0xf | (0xf << lshift)); val 192 sound/ppc/awacs.c val |= vol[0] << lshift; val 193 sound/ppc/awacs.c val |= vol[1]; val 194 sound/ppc/awacs.c if (oldval != val) val 195 sound/ppc/awacs.c snd_pmac_awacs_write_reg(chip, reg, val); val 218 sound/ppc/awacs.c int val; val 222 sound/ppc/awacs.c val = (chip->awacs_reg[reg] >> shift) & 1; val 225 sound/ppc/awacs.c val = 1 - val; val 226 sound/ppc/awacs.c ucontrol->value.integer.value[0] = val; val 238 sound/ppc/awacs.c int val, changed; val 242 sound/ppc/awacs.c val = chip->awacs_reg[reg] & ~mask; val 244 sound/ppc/awacs.c val |= mask; val 245 sound/ppc/awacs.c changed = chip->awacs_reg[reg] != val; val 247 sound/ppc/awacs.c snd_pmac_awacs_write_reg(chip, reg, val); val 271 sound/ppc/awacs.c reg, val); val 426 sound/ppc/awacs.c unsigned int val; val 428 sound/ppc/awacs.c val = ucontrol->value.integer.value[0]; val 429 sound/ppc/awacs.c if (val > 14) val 431 sound/ppc/awacs.c if (val != amp->amp_tone[index]) { val 432 sound/ppc/awacs.c amp->amp_tone[index] = val; val 464 sound/ppc/awacs.c unsigned int val; val 466 sound/ppc/awacs.c val = ucontrol->value.integer.value[0]; val 467 sound/ppc/awacs.c if (val > 99) val 469 sound/ppc/awacs.c if (val != amp->amp_master) { val 470 sound/ppc/awacs.c amp->amp_master = val; val 555 sound/ppc/awacs.c int val = 0; val 560 sound/ppc/awacs.c val |= 2; val 562 sound/ppc/awacs.c val |= 1; val 564 sound/ppc/awacs.c ucontrol->value.integer.value[0] = val; val 61 sound/ppc/burgundy.c out_le32(&chip->awacs->codec_ctrl, addr + 0x200c00 + (val & 0xff)); val 63 sound/ppc/burgundy.c out_le32(&chip->awacs->codec_ctrl, addr + 0x200d00 +((val>>8) & 0xff)); val 65 sound/ppc/burgundy.c out_le32(&chip->awacs->codec_ctrl, addr + 0x200e00 +((val>>16) & 0xff)); val 67 sound/ppc/burgundy.c out_le32(&chip->awacs->codec_ctrl, addr + 0x200f00 +((val>>24) & 0xff)); val 74 sound/ppc/burgundy.c unsigned val = 0; val 82 sound/ppc/burgundy.c val += (in_le32(&chip->awacs->codec_stat) >> 4) & 0xff; val 87 sound/ppc/burgundy.c val += ((in_le32(&chip->awacs->codec_stat)>>4) & 0xff) <<8; val 92 sound/ppc/burgundy.c val += ((in_le32(&chip->awacs->codec_stat)>>4) & 0xff) <<16; val 97 sound/ppc/burgundy.c val += ((in_le32(&chip->awacs->codec_stat)>>4) & 0xff) <<24; val 101 sound/ppc/burgundy.c return val; val 108 sound/ppc/burgundy.c out_le32(&chip->awacs->codec_ctrl, addr + 0x300000 + (val & 0xff)); val 115 sound/ppc/burgundy.c unsigned val = 0; val 123 sound/ppc/burgundy.c val += (in_le32(&chip->awacs->codec_stat) >> 4) & 0xff; val 127 sound/ppc/burgundy.c return val; val 333 sound/ppc/burgundy.c int oval, val; val 338 sound/ppc/burgundy.c val = ucontrol->value.integer.value[0]; val 340 sound/ppc/burgundy.c val |= ucontrol->value.integer.value[1] << 4; val 342 sound/ppc/burgundy.c val |= ucontrol->value.integer.value[0] << 4; val 344 sound/ppc/burgundy.c val = ~val & 0xff; val 345 sound/ppc/burgundy.c snd_pmac_burgundy_wcb(chip, addr, val); val 346 sound/ppc/burgundy.c return val != oval; val 378 sound/ppc/burgundy.c int val = snd_pmac_burgundy_rcw(chip, addr); val 379 sound/ppc/burgundy.c ucontrol->value.integer.value[0] = (val & lmask) ? 1 : 0; val 381 sound/ppc/burgundy.c ucontrol->value.integer.value[1] = (val & rmask) ? 1 : 0; val 393 sound/ppc/burgundy.c int val, oval; val 395 sound/ppc/burgundy.c val = oval & ~(lmask | (stereo ? rmask : 0)); val 397 sound/ppc/burgundy.c val |= lmask; val 399 sound/ppc/burgundy.c val |= rmask; val 400 sound/ppc/burgundy.c snd_pmac_burgundy_wcw(chip, addr, val); val 401 sound/ppc/burgundy.c return val != oval; val 434 sound/ppc/burgundy.c int val = snd_pmac_burgundy_rcb(chip, addr); val 435 sound/ppc/burgundy.c ucontrol->value.integer.value[0] = (val & lmask) ? 1 : 0; val 437 sound/ppc/burgundy.c ucontrol->value.integer.value[1] = (val & rmask) ? 1 : 0; val 449 sound/ppc/burgundy.c int val, oval; val 451 sound/ppc/burgundy.c val = oval & ~(lmask | rmask); val 453 sound/ppc/burgundy.c val |= lmask; val 455 sound/ppc/burgundy.c val |= rmask; val 456 sound/ppc/burgundy.c snd_pmac_burgundy_wcb(chip, addr, val); val 457 sound/ppc/burgundy.c return val != oval; val 124 sound/ppc/snd_ps3.c out_be32(the_card.mapped_mmio_vaddr + reg, val); val 829 sound/ppc/snd_ps3.c uint64_t val; val 832 sound/ppc/snd_ps3.c val = (ioaddr_start & (0x0fUL << 32)) >> (32 - 20) | val 837 sound/ppc/snd_ps3.c ret = lv1_gpu_attribute(0x100, 0x007, val, 0, 0); val 169 sound/ppc/tumbler.c pmac_call_feature(PMAC_FTR_WRITE_GPIO, NULL, (gp)->addr, val) val 333 sound/ppc/tumbler.c unsigned char val[2]; val 339 sound/ppc/tumbler.c val[0] = 0xc1; /* enable, 3:1 compression */ val 341 sound/ppc/tumbler.c val[1] = 0xf0; val 343 sound/ppc/tumbler.c val[1] = 0x91; val 345 sound/ppc/tumbler.c val[1] = mix->drc_range + 0x91; val 347 sound/ppc/tumbler.c val[0] = 0; val 348 sound/ppc/tumbler.c val[1] = 0; val 352 sound/ppc/tumbler.c 2, val) < 0) { val 367 sound/ppc/tumbler.c unsigned char val[6]; val 373 sound/ppc/tumbler.c val[0] = 0x50; /* 3:1 above threshold */ val 375 sound/ppc/tumbler.c val[0] = 0x51; /* disabled */ val 376 sound/ppc/tumbler.c val[1] = 0x02; /* 1:1 below threshold */ val 378 sound/ppc/tumbler.c val[2] = 0xef; val 380 sound/ppc/tumbler.c val[2] = 0x00; val 382 sound/ppc/tumbler.c val[2] = mix->drc_range; val 383 sound/ppc/tumbler.c val[3] = 0xb0; val 384 sound/ppc/tumbler.c val[4] = 0x60; val 385 sound/ppc/tumbler.c val[5] = 0xa0; val 388 sound/ppc/tumbler.c 6, val) < 0) { val 423 sound/ppc/tumbler.c unsigned int val; val 428 sound/ppc/tumbler.c val = ucontrol->value.integer.value[0]; val 430 sound/ppc/tumbler.c if (val > TAS3001_DRC_MAX) val 433 sound/ppc/tumbler.c if (val > TAS3004_DRC_MAX) val 436 sound/ppc/tumbler.c change = mix->drc_range != val; val 438 sound/ppc/tumbler.c mix->drc_range = val; val 749 sound/ppc/tumbler.c int val; val 768 sound/ppc/tumbler.c val = ! check_audio_gpio(gp); val 769 sound/ppc/tumbler.c if (val != ucontrol->value.integer.value[0]) { val 956 sound/ppc/tumbler.c if (check_audio_gpio(gp) != val) { val 957 sound/ppc/tumbler.c write_audio_gpio(gp, val); val 1257 sound/ppc/tumbler.c unsigned char val; val 1261 sound/ppc/tumbler.c val = do_gpio_read(&mix->hp_detect); val 1262 sound/ppc/tumbler.c do_gpio_write(&mix->hp_detect, val | 0x80); val 1463 sound/ppc/tumbler.c unsigned char val; val 1468 sound/ppc/tumbler.c val = do_gpio_read(&mix->hp_detect); val 1469 sound/ppc/tumbler.c do_gpio_write(&mix->hp_detect, val | 0x80); val 1472 sound/ppc/tumbler.c unsigned char val; val 1477 sound/ppc/tumbler.c val = do_gpio_read(&mix->line_detect); val 1478 sound/ppc/tumbler.c do_gpio_write(&mix->line_detect, val | 0x80); val 128 sound/sh/aica.c u32 val; val 134 sound/sh/aica.c val = *froml; val 136 sound/sh/aica.c writel(val, to); val 85 sound/soc/au1x/psc-ac97.c au_writel(PSC_AC97CDC_INDX(reg) | (val & 0xffff), AC97_CDC(pscdata)); val 172 sound/soc/blackfin/bf5xx-ac97.c pr_debug("%s enter 0x%x:0x%04x\n", __func__, reg, val); val 175 sound/soc/blackfin/bf5xx-ac97.c enqueue_cmd(ac97, (reg << 8), val); /* write */ val 182 sound/soc/blackfin/bf5xx-ac97.c frame.ac97_data = val; val 72 sound/soc/codecs/ac97.c soc_ac97_ops.write(codec->ac97, reg, val); val 135 sound/soc/codecs/ad1980.c soc_ac97_ops.write(codec->ac97, reg, val); val 138 sound/soc/codecs/ad1980.c cache[reg] = val; val 135 sound/soc/codecs/tlv320aic23.c u16 val, reg; val 137 sound/soc/codecs/tlv320aic23.c val = (ucontrol->value.integer.value[0] & 0x07); val 146 sound/soc/codecs/tlv320aic23.c val = (val >= 4) ? 4 : (3 - val); val 149 sound/soc/codecs/tlv320aic23.c tlv320aic23_write(codec, TLV320AIC23_ANLG, reg | (val << 6)); val 158 sound/soc/codecs/tlv320aic23.c u16 val; val 160 sound/soc/codecs/tlv320aic23.c val = tlv320aic23_read_reg_cache(codec, TLV320AIC23_ANLG) & (0x1C0); val 161 sound/soc/codecs/tlv320aic23.c val = val >> 6; val 162 sound/soc/codecs/tlv320aic23.c val = (val >= 4) ? 4 : (3 - val); val 163 sound/soc/codecs/tlv320aic23.c ucontrol->value.integer.value[0] = val; val 511 sound/soc/codecs/tlv320aic23.c u16 val = tlv320aic23_read_reg_cache(codec, reg); val 512 sound/soc/codecs/tlv320aic23.c tlv320aic23_write(codec, reg, val); val 396 sound/soc/codecs/tlv320aic26.c int val, amp, freq, len; val 398 sound/soc/codecs/tlv320aic26.c val = aic26_reg_read_cache(&aic26->codec, AIC26_REG_AUDIO_CTRL2); val 399 sound/soc/codecs/tlv320aic26.c amp = (val >> 12) & 0x7; val 400 sound/soc/codecs/tlv320aic26.c freq = (125 << ((val >> 8) & 0x7)) >> 1; val 401 sound/soc/codecs/tlv320aic26.c len = 2 * (1 + ((val >> 4) & 0xf)); val 412 sound/soc/codecs/tlv320aic26.c int val; val 414 sound/soc/codecs/tlv320aic26.c val = aic26_reg_read_cache(&aic26->codec, AIC26_REG_AUDIO_CTRL2); val 415 sound/soc/codecs/tlv320aic26.c val |= 0x8000; val 416 sound/soc/codecs/tlv320aic26.c aic26_reg_write(&aic26->codec, AIC26_REG_AUDIO_CTRL2, val); val 172 sound/soc/codecs/tlv320aic3x.c unsigned short val, val_mask; val 177 sound/soc/codecs/tlv320aic3x.c val = (ucontrol->value.integer.value[0] & mask); val 180 sound/soc/codecs/tlv320aic3x.c if (val) val 181 sound/soc/codecs/tlv320aic3x.c val = mask; val 184 sound/soc/codecs/tlv320aic3x.c val = mask - val; val 186 sound/soc/codecs/tlv320aic3x.c val = val << shift; val 190 sound/soc/codecs/tlv320aic3x.c if (snd_soc_test_bits(widget->codec, reg, val_mask, val)) { val 198 sound/soc/codecs/tlv320aic3x.c if (val) val 211 sound/soc/codecs/tlv320aic3x.c ret = snd_soc_update_bits(widget->codec, reg, val_mask, val); val 965 sound/soc/codecs/tlv320aic3x.c u8 val = aic3x_read_reg_cache(codec, reg) & ~(1 << bit); val 966 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, reg, val | (!!state << bit)); val 973 sound/soc/codecs/tlv320aic3x.c u8 val, bit = gpio ? 2: 1; val 975 sound/soc/codecs/tlv320aic3x.c aic3x_read(codec, reg, &val); val 976 sound/soc/codecs/tlv320aic3x.c return (val >> bit) & 1; val 982 sound/soc/codecs/tlv320aic3x.c u8 val; val 983 sound/soc/codecs/tlv320aic3x.c aic3x_read(codec, AIC3X_RT_IRQ_FLAGS_REG, &val); val 984 sound/soc/codecs/tlv320aic3x.c return (val >> 2) & 1; val 179 sound/soc/codecs/tlv320aic3x.h #define INVERT_VOL(val) (0x7f - val) val 107 sound/soc/codecs/uda1380.c unsigned int val; val 110 sound/soc/codecs/uda1380.c val = (data[0]<<8) | data[1]; val 111 sound/soc/codecs/uda1380.c if (val != value) { val 272 sound/soc/codecs/wm8580.c u16 val; val 283 sound/soc/codecs/wm8580.c val = wm8580_read_reg_cache(codec, reg); val 284 sound/soc/codecs/wm8580.c wm8580_write(codec, reg, val | 0x0100); val 286 sound/soc/codecs/wm8580.c val = wm8580_read_reg_cache(codec, reg2); val 287 sound/soc/codecs/wm8580.c wm8580_write(codec, reg2, val | 0x0100); val 381 sound/soc/codecs/wm8903.c u16 val; val 409 sound/soc/codecs/wm8903.c val = wm8903_read(codec, reg); val 412 sound/soc/codecs/wm8903.c val &= ~(WM8903_OUTPUT_SHORT << shift); val 413 sound/soc/codecs/wm8903.c wm8903_write(codec, reg, val); val 429 sound/soc/codecs/wm8903.c val = wm8903_read(codec, reg); val 431 sound/soc/codecs/wm8903.c val |= (WM8903_OUTPUT_IN << shift); val 432 sound/soc/codecs/wm8903.c wm8903_write(codec, reg, val); val 434 sound/soc/codecs/wm8903.c val |= (WM8903_OUTPUT_INT << shift); val 435 sound/soc/codecs/wm8903.c wm8903_write(codec, reg, val); val 438 sound/soc/codecs/wm8903.c val |= (WM8903_OUTPUT_OUT << shift); val 439 sound/soc/codecs/wm8903.c wm8903_write(codec, reg, val); val 442 sound/soc/codecs/wm8903.c val |= (WM8903_OUTPUT_SHORT << shift); val 443 sound/soc/codecs/wm8903.c wm8903_write(codec, reg, val); val 447 sound/soc/codecs/wm8903.c val = wm8903_read(codec, reg); val 450 sound/soc/codecs/wm8903.c val &= ~(WM8903_OUTPUT_SHORT << shift); val 451 sound/soc/codecs/wm8903.c wm8903_write(codec, reg, val); val 454 sound/soc/codecs/wm8903.c val &= ~((WM8903_OUTPUT_OUT | WM8903_OUTPUT_INT | val 456 sound/soc/codecs/wm8903.c wm8903_write(codec, reg, val); val 1572 sound/soc/codecs/wm8903.c u16 val; val 1574 sound/soc/codecs/wm8903.c val = wm8903_hw_read(codec, WM8903_SW_RESET_AND_ID); val 1575 sound/soc/codecs/wm8903.c if (val != wm8903_reg_defaults[WM8903_SW_RESET_AND_ID]) { val 1577 sound/soc/codecs/wm8903.c "Device with ID register %x is not a WM8903\n", val); val 1598 sound/soc/codecs/wm8903.c val = wm8903_read(codec, WM8903_REVISION_NUMBER); val 1600 sound/soc/codecs/wm8903.c val & WM8903_CHIP_REV_MASK); val 1618 sound/soc/codecs/wm8903.c val = wm8903_read(codec, WM8903_ADC_DIGITAL_VOLUME_LEFT); val 1619 sound/soc/codecs/wm8903.c val |= WM8903_ADCVU; val 1620 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_ADC_DIGITAL_VOLUME_LEFT, val); val 1621 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_ADC_DIGITAL_VOLUME_RIGHT, val); val 1623 sound/soc/codecs/wm8903.c val = wm8903_read(codec, WM8903_DAC_DIGITAL_VOLUME_LEFT); val 1624 sound/soc/codecs/wm8903.c val |= WM8903_DACVU; val 1625 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_DAC_DIGITAL_VOLUME_LEFT, val); val 1626 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_DAC_DIGITAL_VOLUME_RIGHT, val); val 1628 sound/soc/codecs/wm8903.c val = wm8903_read(codec, WM8903_ANALOGUE_OUT1_LEFT); val 1629 sound/soc/codecs/wm8903.c val |= WM8903_HPOUTVU; val 1630 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_ANALOGUE_OUT1_LEFT, val); val 1631 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_ANALOGUE_OUT1_RIGHT, val); val 1633 sound/soc/codecs/wm8903.c val = wm8903_read(codec, WM8903_ANALOGUE_OUT2_LEFT); val 1634 sound/soc/codecs/wm8903.c val |= WM8903_LINEOUTVU; val 1635 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_ANALOGUE_OUT2_LEFT, val); val 1636 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_ANALOGUE_OUT2_RIGHT, val); val 1638 sound/soc/codecs/wm8903.c val = wm8903_read(codec, WM8903_ANALOGUE_OUT3_LEFT); val 1639 sound/soc/codecs/wm8903.c val |= WM8903_SPKVU; val 1640 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_ANALOGUE_OUT3_LEFT, val); val 1641 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_ANALOGUE_OUT3_RIGHT, val); val 1644 sound/soc/codecs/wm8903.c val = wm8903_read(codec, WM8903_DAC_DIGITAL_1); val 1645 sound/soc/codecs/wm8903.c val |= WM8903_DAC_MUTEMODE; val 1646 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_DAC_DIGITAL_1, val); val 182 sound/soc/codecs/wm8990.c u16 val; val 189 sound/soc/codecs/wm8990.c val = wm8990_read_reg_cache(codec, reg); val 190 sound/soc/codecs/wm8990.c return wm8990_write(codec, reg, val | 0x0100); val 1205 sound/soc/codecs/wm8990.c u16 val; val 1207 sound/soc/codecs/wm8990.c val = wm8990_read_reg_cache(codec, WM8990_DAC_CTRL) & ~WM8990_DAC_MUTE; val 1210 sound/soc/codecs/wm8990.c wm8990_write(codec, WM8990_DAC_CTRL, val | WM8990_DAC_MUTE); val 1212 sound/soc/codecs/wm8990.c wm8990_write(codec, WM8990_DAC_CTRL, val); val 1220 sound/soc/codecs/wm8990.c u16 val; val 1292 sound/soc/codecs/wm8990.c val = wm8990_read_reg_cache(codec, WM8990_DAC_CTRL); val 1293 sound/soc/codecs/wm8990.c wm8990_write(codec, WM8990_DAC_CTRL, val | WM8990_DAC_MUTE); val 482 sound/soc/codecs/wm9712.c soc_ac97_ops.write(codec->ac97, reg, val); val 485 sound/soc/codecs/wm9712.c cache[reg] = val; val 651 sound/soc/codecs/wm9713.c soc_ac97_ops.write(codec->ac97, reg, val); val 654 sound/soc/codecs/wm9713.c cache[reg] = val; val 69 sound/soc/davinci/davinci-i2s.c val |= mask; \ val 71 sound/soc/davinci/davinci-i2s.c val &= ~mask; \ val 101 sound/soc/davinci/davinci-i2s.c __raw_writel(val, dev->base + reg); val 96 sound/soc/s3c24xx/s3c2443-ac97.c ac_codec_cmd = AC_CMD_ADDR(reg) | AC_CMD_DATA(val); val 140 sound/soc/sh/hac.c unsigned short val; val 156 sound/soc/sh/hac.c val = 0; val 157 sound/soc/sh/hac.c if (hac_get_codec_data(hac, reg, &val) != 0) val 161 sound/soc/sh/hac.c return i ? val : ~0; val 175 sound/soc/sh/hac.c HACREG(HACCSDR) = (val << CSDR_SHIFT); val 1348 sound/soc/soc-core.c unsigned short val, bitmask; val 1352 sound/soc/soc-core.c val = snd_soc_read(codec, e->reg); val 1354 sound/soc/soc-core.c = (val >> e->shift_l) & (bitmask - 1); val 1357 sound/soc/soc-core.c (val >> e->shift_r) & (bitmask - 1); val 1377 sound/soc/soc-core.c unsigned short val; val 1384 sound/soc/soc-core.c val = ucontrol->value.enumerated.item[0] << e->shift_l; val 1389 sound/soc/soc-core.c val |= ucontrol->value.enumerated.item[1] << e->shift_r; val 1393 sound/soc/soc-core.c return snd_soc_update_bits(codec, e->reg, mask, val); val 1540 sound/soc/soc-core.c unsigned short val, val2, val_mask; val 1542 sound/soc/soc-core.c val = (ucontrol->value.integer.value[0] & mask); val 1544 sound/soc/soc-core.c val = max - val; val 1546 sound/soc/soc-core.c val = val << shift; val 1552 sound/soc/soc-core.c val |= val2 << rshift; val 1554 sound/soc/soc-core.c return snd_soc_update_bits(codec, reg, val_mask, val); val 1646 sound/soc/soc-core.c unsigned short val, val2, val_mask; val 1649 sound/soc/soc-core.c val = (ucontrol->value.integer.value[0] & mask); val 1653 sound/soc/soc-core.c val = max - val; val 1657 sound/soc/soc-core.c val = val << shift; val 1660 sound/soc/soc-core.c err = snd_soc_update_bits(codec, reg, val_mask, val); val 1711 sound/soc/soc-core.c int val = snd_soc_read(codec, reg); val 1714 sound/soc/soc-core.c ((signed char)(val & 0xff))-min; val 1716 sound/soc/soc-core.c ((signed char)((val >> 8) & 0xff))-min; val 1738 sound/soc/soc-core.c unsigned short val; val 1740 sound/soc/soc-core.c val = (ucontrol->value.integer.value[0]+min) & 0xff; val 1741 sound/soc/soc-core.c val |= ((ucontrol->value.integer.value[1]+min) & 0xff) << 8; val 1743 sound/soc/soc-core.c return snd_soc_update_bits(codec, reg, 0xffff, val); val 108 sound/soc/soc-dapm.c int val; val 117 sound/soc/soc-dapm.c val = snd_soc_read(w->codec, reg); val 118 sound/soc/soc-dapm.c val = (val >> shift) & mask; val 120 sound/soc/soc-dapm.c if ((invert && !val) || (!invert && val)) val 128 sound/soc/soc-dapm.c int val, item, bitmask; val 132 sound/soc/soc-dapm.c val = snd_soc_read(w->codec, e->reg); val 133 sound/soc/soc-dapm.c item = (val >> e->shift_l) & (bitmask - 1); val 276 sound/soc/soc-dapm.c int val = snd_soc_read(widget->codec, reg); val 277 sound/soc/soc-dapm.c int i = widget->saved_value = (val >> shift) & mask; val 469 sound/soc/soc-dapm.c unsigned int val; val 472 sound/soc/soc-dapm.c val = w->on_val; val 474 sound/soc/soc-dapm.c val = w->off_val; val 477 sound/soc/soc-dapm.c w->mask << w->shift, val << w->shift); val 703 sound/soc/soc-dapm.c if (!snd_soc_test_bits(widget->codec, e->reg, mask, val)) val 742 sound/soc/soc-dapm.c if (!snd_soc_test_bits(widget->codec, reg, val_mask, val)) val 752 sound/soc/soc-dapm.c if (val) val 1181 sound/soc/soc-dapm.c unsigned short val, val2, val_mask; val 1184 sound/soc/soc-dapm.c val = (ucontrol->value.integer.value[0] & mask); val 1187 sound/soc/soc-dapm.c val = max - val; val 1189 sound/soc/soc-dapm.c val = val << shift; val 1195 sound/soc/soc-dapm.c val |= val2 << rshift; val 1199 sound/soc/soc-dapm.c widget->value = val; val 1203 sound/soc/soc-dapm.c widget->saved_value = val; val 1208 sound/soc/soc-dapm.c dapm_mixer_update_power(widget, kcontrol, reg, val_mask, val, invert); val 1218 sound/soc/soc-dapm.c ret = snd_soc_update_bits(widget->codec, reg, val_mask, val); val 1223 sound/soc/soc-dapm.c ret = snd_soc_update_bits(widget->codec, reg, val_mask, val); val 1245 sound/soc/soc-dapm.c unsigned short val, bitmask; val 1249 sound/soc/soc-dapm.c val = snd_soc_read(widget->codec, e->reg); val 1250 sound/soc/soc-dapm.c ucontrol->value.enumerated.item[0] = (val >> e->shift_l) & (bitmask - 1); val 1253 sound/soc/soc-dapm.c (val >> e->shift_r) & (bitmask - 1); val 1273 sound/soc/soc-dapm.c unsigned short val, mux; val 1282 sound/soc/soc-dapm.c val = mux << e->shift_l; val 1287 sound/soc/soc-dapm.c val |= ucontrol->value.enumerated.item[1] << e->shift_r; val 1292 sound/soc/soc-dapm.c widget->value = val; val 1293 sound/soc/soc-dapm.c dapm_mux_update_power(widget, kcontrol, mask, mux, val, e); val 1301 sound/soc/soc-dapm.c ret = snd_soc_update_bits(widget->codec, e->reg, mask, val); val 1306 sound/soc/soc-dapm.c ret = snd_soc_update_bits(widget->codec, e->reg, mask, val); val 269 sound/sparc/cs4231.c return writeb(val, reg_addr); val 271 sound/sparc/cs4231.c return sbus_writeb(val, reg_addr); val 283 sound/sparc/cs4231.c int val = __cs4231_readb(chip, CS4231U(chip, REGSEL)); val 284 sound/sparc/cs4231.c if ((val & CS4231_INIT) == 0) val 351 sound/sparc/cs4231.c int val = __cs4231_readb(chip, CS4231U(chip, REGSEL)); val 352 sound/sparc/cs4231.c if ((val & CS4231_INIT) == 0) val 1388 sound/sparc/cs4231.c unsigned short val; val 1390 sound/sparc/cs4231.c val = (ucontrol->value.integer.value[0] & mask); val 1392 sound/sparc/cs4231.c val = mask - val; val 1393 sound/sparc/cs4231.c val <<= shift; val 1397 sound/sparc/cs4231.c val = (chip->image[reg] & ~(mask << shift)) | val; val 1398 sound/sparc/cs4231.c change = val != chip->image[reg]; val 1399 sound/sparc/cs4231.c snd_cs4231_out(chip, reg, val); val 887 sound/sparc/dbri.c int val; val 920 sound/sparc/dbri.c val = D_DTS_VO | D_DTS_INS | D_DTS_PRVOUT(prevpipe) | pipe; val 921 sound/sparc/dbri.c *(cmd++) = DBRI_CMD(D_DTS, 0, val); val 926 sound/sparc/dbri.c val = D_DTS_VI | D_DTS_INS | D_DTS_PRVIN(prevpipe) | pipe; val 927 sound/sparc/dbri.c *(cmd++) = DBRI_CMD(D_DTS, 0, val); val 946 sound/sparc/dbri.c int val; val 959 sound/sparc/dbri.c val = D_DTS_VI | D_DTS_DEL | D_DTS_PRVIN(prevpipe) | pipe; val 960 sound/sparc/dbri.c *(cmd++) = DBRI_CMD(D_DTS, 0, val); val 964 sound/sparc/dbri.c val = D_DTS_VO | D_DTS_DEL | D_DTS_PRVOUT(prevpipe) | pipe; val 965 sound/sparc/dbri.c *(cmd++) = DBRI_CMD(D_DTS, 0, val); val 1234 sound/sparc/dbri.c int val; val 1239 sound/sparc/dbri.c val = D_DTS_VO | D_DTS_VI | D_DTS_INS val 1241 sound/sparc/dbri.c *(cmd++) = DBRI_CMD(D_DTS, 0, val); val 1472 sound/sparc/dbri.c int i, val; val 1488 sound/sparc/dbri.c val = D_ENPIO | D_PIO1 | (dbri->mm.onboard ? D_PIO0 : D_PIO2); val 1489 sound/sparc/dbri.c sbus_writel(val, dbri->regs + REG2); val 1490 sound/sparc/dbri.c dprintk(D_MM, "cs4215_setctrl: reg2=0x%x\n", val); val 1829 sound/sparc/dbri.c int val = D_INTR_GETVAL(x); val 1839 sound/sparc/dbri.c cmds[command], val); val 1882 sound/sparc/dbri.c val = reverse_bytes(val, dbri->pipes[channel].length); val 1885 sound/sparc/dbri.c *(dbri->pipes[channel].recv_fixed_ptr) = val; val 2362 sound/sparc/dbri.c unsigned short val; val 2367 sound/sparc/dbri.c val = (ucontrol->value.integer.value[0] & mask); val 2369 sound/sparc/dbri.c val = mask - val; val 2370 sound/sparc/dbri.c val <<= shift; val 2374 sound/sparc/dbri.c ~(mask << shift)) | val; val 2375 sound/sparc/dbri.c changed = (val != dbri->mm.data[elem]); val 2378 sound/sparc/dbri.c ~(mask << shift)) | val; val 2379 sound/sparc/dbri.c changed = (val != dbri->mm.ctrl[elem - 4]); val 100 sound/spi/at73c213.c chip->spi_wbuffer[1] = val; val 109 sound/spi/at73c213.c chip->reg_image[reg] = val; val 240 sound/spi/at73c213.c int val; val 242 sound/spi/at73c213.c val = ssc_readl(chip->ssc->regs, TFMR); val 243 sound/spi/at73c213.c val = SSC_BFINS(TFMR_DATNB, channels - 1, val); val 244 sound/spi/at73c213.c ssc_writel(chip->ssc->regs, TFMR, val); val 434 sound/spi/at73c213.c unsigned short val; val 436 sound/spi/at73c213.c val = (ucontrol->value.integer.value[0] & mask); val 438 sound/spi/at73c213.c val = mask - val; val 439 sound/spi/at73c213.c val <<= shift; val 443 sound/spi/at73c213.c val = (chip->reg_image[reg] & ~(mask << shift)) | val; val 444 sound/spi/at73c213.c change = val != chip->reg_image[reg]; val 445 sound/spi/at73c213.c retval = snd_at73c213_write_reg(chip, reg, val); val 582 sound/spi/at73c213.c unsigned short val; val 585 sound/spi/at73c213.c val = mask; val 587 sound/spi/at73c213.c val = 0; val 590 sound/spi/at73c213.c val = mask - val; val 591 sound/spi/at73c213.c val <<= shift; val 595 sound/spi/at73c213.c val |= (chip->reg_image[reg] & ~(mask << shift)); val 596 sound/spi/at73c213.c change = val != chip->reg_image[reg]; val 598 sound/spi/at73c213.c retval = snd_at73c213_write_reg(chip, reg, val); val 105 sound/synth/emux/emux_effect.c effect = fx->val[type]; val 126 sound/synth/emux/emux_effect.c effect = *(unsigned short*)&fx->val[type]; val 144 sound/synth/emux/emux_effect.c addr = (short)fx->val[hi]; val 147 sound/synth/emux/emux_effect.c addr += (short)fx->val[lo]; val 169 sound/synth/emux/emux_effect.c snd_emux_send_effect(port, chan, type, val, mode); val 194 sound/synth/emux/emux_effect.c fx->val[type] = val; val 33 sound/synth/emux/emux_nrpn.c int (*convert)(int val); val 59 sound/synth/emux/emux_nrpn.c cval = table[i].convert(val); val 143 sound/synth/emux/emux_nrpn.c return (unsigned short)snd_sf_calc_parm_delay(val); val 148 sound/synth/emux/emux_nrpn.c return (unsigned short)snd_sf_calc_parm_attack(val); val 153 sound/synth/emux/emux_nrpn.c return (unsigned short)snd_sf_calc_parm_hold(val); val 158 sound/synth/emux/emux_nrpn.c return (unsigned short)snd_sf_calc_parm_decay(val); val 163 sound/synth/emux/emux_nrpn.c return (unsigned short)(val & 0xff); val 168 sound/synth/emux/emux_nrpn.c return (unsigned short)((val * 2) & 0xff); val 173 sound/synth/emux/emux_nrpn.c return (short)(val * 4096 / 1200); val 178 sound/synth/emux/emux_nrpn.c return (unsigned short)((val / 8) & 0xff); val 224 sound/synth/emux/emux_nrpn.c return (val - 64) * gs_sense[FX_CUTOFF] / 50; val 230 sound/synth/emux/emux_nrpn.c return (val - 64) * gs_sense[FX_RESONANCE] / 50; val 236 sound/synth/emux/emux_nrpn.c return -(val - 64) * gs_sense[FX_ATTACK] / 50; val 242 sound/synth/emux/emux_nrpn.c return -(val - 64) * gs_sense[FX_RELEASE] / 50; val 248 sound/synth/emux/emux_nrpn.c return -(val - 64) * gs_sense[FX_RELEASE] / 50; val 254 sound/synth/emux/emux_nrpn.c return (val - 64) * gs_sense[FX_VIBRATE] / 50; val 260 sound/synth/emux/emux_nrpn.c return (val - 64) * gs_sense[FX_VIBDEPTH] / 50; val 266 sound/synth/emux/emux_nrpn.c return -(val - 64) * gs_sense[FX_VIBDELAY] / 50; val 297 sound/synth/emux/emux_nrpn.c int val; val 300 sound/synth/emux/emux_nrpn.c val = (chan->control[MIDI_CTL_MSB_DATA_ENTRY] << 7) | val 302 sound/synth/emux/emux_nrpn.c val -= 8192; val 306 sound/synth/emux/emux_nrpn.c val, EMUX_FX_FLAG_SET); val 312 sound/synth/emux/emux_nrpn.c int val; val 315 sound/synth/emux/emux_nrpn.c val = chan->control[MIDI_CTL_MSB_DATA_ENTRY]; val 319 sound/synth/emux/emux_nrpn.c val, EMUX_FX_FLAG_ADD); val 332 sound/synth/emux/emux_nrpn.c return (val - 64) * xg_sense[FX_CUTOFF] / 64; val 338 sound/synth/emux/emux_nrpn.c return (val - 64) * xg_sense[FX_RESONANCE] / 64; val 344 sound/synth/emux/emux_nrpn.c return -(val - 64) * xg_sense[FX_ATTACK] / 64; val 350 sound/synth/emux/emux_nrpn.c return -(val - 64) * xg_sense[FX_RELEASE] / 64; val 512 sound/synth/emux/emux_oss.c ev.data.control.value = val; val 794 sound/synth/emux/emux_synth.c vol += fx->val[EMUX_FX_ATTEN]; val 857 sound/synth/emux/emux_synth.c offset += fx->val[EMUX_FX_INIT_PITCH]; val 877 sound/synth/emux/emux_synth.c int val; val 881 sound/synth/emux/emux_synth.c val = chan->control[MIDI_CTL_MSB_BANK]; val 882 sound/synth/emux/emux_synth.c if (val == 127) val 892 sound/synth/emux/soundfont.c int val = (0x7f * 92 - msec) / 92; val 893 sound/synth/emux/soundfont.c if (val < 1) val = 1; val 894 sound/synth/emux/soundfont.c if (val >= 126) val = 126; val 895 sound/synth/emux/soundfont.c return val; val 939 sound/synth/emux/soundfont.c #define calc_gus_sustain(val) (0x7f - snd_sf_vol_table[(val)/2]) val 940 sound/synth/emux/soundfont.c #define calc_gus_attenuation(val) snd_sf_vol_table[(val)/2] val 257 sound/usb/caiaq/caiaq-device.c char val[4]; val 263 sound/usb/caiaq/caiaq-device.c val[0] = 0x00; val 264 sound/usb/caiaq/caiaq-device.c val[1] = 0x00; val 265 sound/usb/caiaq/caiaq-device.c val[2] = 0x01; val 266 sound/usb/caiaq/caiaq-device.c snd_usb_caiaq_send_command(dev, EP1_CMD_WRITE_IO, val, 3); val 270 sound/usb/caiaq/caiaq-device.c val[0] = 0x00; val 271 sound/usb/caiaq/caiaq-device.c val[1] = 0x40; val 272 sound/usb/caiaq/caiaq-device.c val[2] = 0x40; val 273 sound/usb/caiaq/caiaq-device.c val[3] = 0x00; val 274 sound/usb/caiaq/caiaq-device.c snd_usb_caiaq_send_command(dev, EP1_CMD_WRITE_IO, val, 4); val 278 sound/usb/caiaq/caiaq-device.c val[0] = 0x00; val 279 sound/usb/caiaq/caiaq-device.c snd_usb_caiaq_send_command(dev, EP1_CMD_WRITE_IO, val, 1); val 278 sound/usb/usbmixer.c return !!val; val 280 sound/usb/usbmixer.c return !val; val 282 sound/usb/usbmixer.c val &= 0xff; val 285 sound/usb/usbmixer.c val &= 0xff; val 286 sound/usb/usbmixer.c if (val >= 0x80) val 287 sound/usb/usbmixer.c val -= 0x100; val 290 sound/usb/usbmixer.c val &= 0xffff; val 293 sound/usb/usbmixer.c val &= 0xffff; val 294 sound/usb/usbmixer.c if (val >= 0x8000) val 295 sound/usb/usbmixer.c val -= 0x10000; val 298 sound/usb/usbmixer.c return val; val 308 sound/usb/usbmixer.c return !!val; val 310 sound/usb/usbmixer.c return !val; val 313 sound/usb/usbmixer.c return val & 0xff; val 316 sound/usb/usbmixer.c return val & 0xffff; val 325 sound/usb/usbmixer.c if (val < cval->min) val 327 sound/usb/usbmixer.c else if (val >= cval->max) val 330 sound/usb/usbmixer.c return (val - cval->min) / cval->res; val 335 sound/usb/usbmixer.c if (val < 0) val 339 sound/usb/usbmixer.c val *= cval->res; val 340 sound/usb/usbmixer.c val += cval->min; val 341 sound/usb/usbmixer.c if (val > cval->max) val 343 sound/usb/usbmixer.c return val; val 776 sound/usb/usbmixer.c int c, cnt, val, err; val 782 sound/usb/usbmixer.c err = get_cur_mix_value(cval, c + 1, &val); val 791 sound/usb/usbmixer.c val = get_relative_value(cval, val); val 792 sound/usb/usbmixer.c ucontrol->value.integer.value[cnt] = val; val 798 sound/usb/usbmixer.c err = get_cur_mix_value(cval, 0, &val); val 807 sound/usb/usbmixer.c val = get_relative_value(cval, val); val 808 sound/usb/usbmixer.c ucontrol->value.integer.value[0] = val; val 817 sound/usb/usbmixer.c int c, cnt, val, oval, err; val 830 sound/usb/usbmixer.c val = ucontrol->value.integer.value[cnt]; val 831 sound/usb/usbmixer.c val = get_abs_value(cval, val); val 832 sound/usb/usbmixer.c if (oval != val) { val 833 sound/usb/usbmixer.c set_cur_mix_value(cval, c + 1, val); val 836 sound/usb/usbmixer.c get_cur_mix_value(cval, c + 1, &val); val 847 sound/usb/usbmixer.c val = ucontrol->value.integer.value[0]; val 848 sound/usb/usbmixer.c val = get_abs_value(cval, val); val 849 sound/usb/usbmixer.c if (val != oval) { val 850 sound/usb/usbmixer.c set_cur_mix_value(cval, 0, val); val 1164 sound/usb/usbmixer.c int err, val; val 1166 sound/usb/usbmixer.c err = get_cur_ctl_value(cval, cval->control << 8, &val); val 1173 sound/usb/usbmixer.c val = get_relative_value(cval, val); val 1174 sound/usb/usbmixer.c ucontrol->value.integer.value[0] = val; val 1182 sound/usb/usbmixer.c int val, oval, err; val 1190 sound/usb/usbmixer.c val = ucontrol->value.integer.value[0]; val 1191 sound/usb/usbmixer.c val = get_abs_value(cval, val); val 1192 sound/usb/usbmixer.c if (val != oval) { val 1193 sound/usb/usbmixer.c set_cur_ctl_value(cval, cval->control << 8, val); val 1407 sound/usb/usbmixer.c int val, err; val 1409 sound/usb/usbmixer.c err = get_cur_ctl_value(cval, 0, &val); val 1417 sound/usb/usbmixer.c val = get_relative_value(cval, val); val 1418 sound/usb/usbmixer.c ucontrol->value.enumerated.item[0] = val; val 1426 sound/usb/usbmixer.c int val, oval, err; val 1434 sound/usb/usbmixer.c val = ucontrol->value.enumerated.item[0]; val 1435 sound/usb/usbmixer.c val = get_abs_value(cval, val); val 1436 sound/usb/usbmixer.c if (val != oval) { val 1437 sound/usb/usbmixer.c set_cur_ctl_value(cval, 0, val); val 93 sound/usb/usx2y/usbus428ctldefs.h } val; val 243 sound/usb/usx2y/usbusx2y.c usb_sndbulkpipe(usX2Y->chip.dev, 0x04), &p4out->val.vol, val 76 virt/kvm/coalesced_mmio.c memcpy(ring->coalesced_mmio[ring->last].data, val, len); val 110 virt/kvm/ioapic.c ioapic->id = (val >> 24) & 0xf; val 119 virt/kvm/ioapic.c ioapic_debug("change redir index %x val %x\n", index, val); val 124 virt/kvm/ioapic.c ioapic->redirtbl[index].bits |= (u64) val << 32; val 127 virt/kvm/ioapic.c ioapic->redirtbl[index].bits |= (u32) val; val 344 virt/kvm/ioapic.c *(u64 *) val = result; val 349 virt/kvm/ioapic.c memcpy(val, (char *)&result, len); val 363 virt/kvm/ioapic.c (void*)addr, len, val); val 366 virt/kvm/ioapic.c data = *(u32 *) val; val 25 virt/kvm/iodev.h void *val); val 29 virt/kvm/iodev.h const void *val); val 42 virt/kvm/iodev.h dev->read(dev, addr, len, val); val 50 virt/kvm/iodev.h dev->write(dev, addr, len, val); val 1499 virt/kvm/kvm_main.c val &= ~CPU_TASKS_FROZEN; val 1500 virt/kvm/kvm_main.c switch (val) { val 1535 virt/kvm/kvm_main.c if (val == SYS_RESTART) { val 1600 virt/kvm/kvm_main.c *val = 0; val 1603 virt/kvm/kvm_main.c *val += *(u32 *)((void *)kvm + offset); val 1617 virt/kvm/kvm_main.c *val = 0; val 1623 virt/kvm/kvm_main.c *val += *(u32 *)((void *)vcpu + offset); val 97 virt/kvm/kvm_trace.c *val = atomic_read(&kt->lost_records);