Searched defs:val (Results 226 - 250 of 819) sorted by relevance

1234567891011>>

/arch/powerpc/include/asm/
H A Demulated_ops.h29 atomic_t val; member in struct:ppc_emulated_entry
67 atomic_inc(&ppc_emulated.type.val); \
/arch/powerpc/kernel/
H A Diomap.c43 void iowrite8(u8 val, void __iomem *addr) argument
45 writeb(val, addr);
47 void iowrite16(u16 val, void __iomem *addr) argument
49 writew(val, addr);
51 void iowrite16be(u16 val, void __iomem *addr) argument
53 out_be16(addr, val);
55 void iowrite32(u32 val, void __iomem *addr) argument
57 writel(val, addr);
59 void iowrite32be(u32 val, void __iomem *addr) argument
61 out_be32(addr, val);
[all...]
/arch/powerpc/oprofile/
H A Dop_model_pa6t.c63 static inline void ctr_write(unsigned int i, u64 val) argument
67 mtspr(SPRN_PA6T_PMC0, val);
70 mtspr(SPRN_PA6T_PMC1, val);
73 mtspr(SPRN_PA6T_PMC2, val);
76 mtspr(SPRN_PA6T_PMC3, val);
79 mtspr(SPRN_PA6T_PMC4, val);
82 mtspr(SPRN_PA6T_PMC5, val);
205 u64 val; local
217 val = ctr_read(i);
218 if (val
[all...]
H A Dop_model_rs64.c20 static void ctrl_write(unsigned int i, unsigned int val) argument
25 dbg("ctrl_write %d %x\n", i, val);
71 tmp |= val << shift;
182 int val; local
192 val = classic_ctr_read(i);
193 if (val < 0) {
/arch/powerpc/platforms/86xx/
H A Dgef_ppc9a.c169 unsigned int val; local
178 pci_read_config_dword(pdev, 0xe0, &val);
179 pci_write_config_dword(pdev, 0xe0, (val & ~7) | 0x5);
H A Dgef_sbc310.c157 unsigned int val; local
166 pci_read_config_dword(pdev, 0xe0, &val);
167 pci_write_config_dword(pdev, 0xe0, (val & ~7) | 0x2);
H A Dgef_sbc610.c146 unsigned int val; local
155 pci_read_config_dword(pdev, 0xe0, &val);
156 pci_write_config_dword(pdev, 0xe0, (val & ~7) | 0x5);
/arch/powerpc/platforms/cell/
H A Dcelleb_scc_epci.c83 u32 val; local
89 val = in_be32(reg);
91 if (val & (PCI_STATUS_REC_MASTER_ABORT << 16)) {
93 (val & 0xffff) | (PCI_STATUS_REC_MASTER_ABORT << 16));
100 val = in_be32(reg) & 0xffff;
101 val |= SCC_EPCI_VCSR_FRE;
102 out_be32(reg, val);
133 unsigned int devfn, int where, int size, u32 *val)
153 *val = in_8(addr);
156 *val
132 celleb_epci_read_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val) argument
192 celleb_epci_write_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument
256 u32 val; local
[all...]
H A Dspider-pci.c41 u32 val; local
44 val = in_be32(priv->regs + SPIDER_PCI_DUMMY_READ);
51 ret val = __do_##name(addr); \
53 return val; \
89 u32 val = in_be32(regs + SPIDER_PCI_VCI_CNTL_STAT); local
90 pr_debug("SPIDER_IOWA:PVCI_Control_Status was 0x%08x\n", val);
91 out_be32(regs + SPIDER_PCI_VCI_CNTL_STAT, val | 0x8);
/arch/powerpc/platforms/chrp/
H A Dtime.c73 void chrp_cmos_clock_write(unsigned long val, int addr) argument
78 outb(val, nvram_data);
/arch/powerpc/platforms/maple/
H A Dtime.c51 static void maple_clock_write(unsigned long val, int addr) argument
54 outb_p(val, maple_rtc_addr+1);
/arch/powerpc/platforms/pasemi/
H A Dpci.c67 int offset, int len, u32 *val)
93 *val = (tmp >> (8*byte)) & 0xff;
97 *val = tmp & 0xffff;
99 *val = (tmp >> 16) & 0xffff;
102 *val = tmp;
110 int offset, int len, u32 *val)
122 if (workaround_5945(bus, devfn, offset, len, val))
133 *val = in_8(addr);
136 *val = in_le16(addr);
139 *val
66 workaround_5945(struct pci_bus *bus, unsigned int devfn, int offset, int len, u32 *val) argument
109 pa_pxp_read_config(struct pci_bus *bus, unsigned int devfn, int offset, int len, u32 *val) argument
146 pa_pxp_write_config(struct pci_bus *bus, unsigned int devfn, int offset, int len, u32 val) argument
[all...]
/arch/powerpc/sysdev/
H A Dfsl_85xx_l2ctlr.c36 unsigned long val; local
38 if (!sram_size || (strict_strtoul(sram_size, 0, &val) < 0))
41 return val;
46 unsigned long val; local
48 if (!sram_offset || (strict_strtoul(sram_offset, 0, &val) < 0))
51 return val;
H A Dsimple_gpio.c52 static void u8_gpio_set(struct gpio_chip *gc, unsigned int gpio, int val) argument
60 if (val)
75 static int u8_gpio_dir_out(struct gpio_chip *gc, unsigned int gpio, int val) argument
77 u8_gpio_set(gc, gpio, val);
/arch/s390/include/asm/
H A Dtopology.h56 static inline void cpu_set_polarization(int cpu, int val) argument
59 cpu_polarization[cpu] = val;
/arch/s390/kvm/
H A Dintercept.c71 u32 val = 0; local
88 rc = get_guest_u32(vcpu, useraddr, &val);
94 vcpu->arch.sie_block->gcr[reg] |= val;
/arch/score/include/asm/
H A Dtlbflush.h38 unsigned long val; local
43 : "=r" (val));
45 return val;
48 static inline void pevn_set(unsigned long val) argument
53 : : "r" (val));
56 static inline void pectx_set(unsigned long val) argument
61 : : "r" (val));
66 unsigned long val; local
70 : "=r" (val));
71 return val;
75 unsigned long val; local
83 tlblock_set(unsigned long val) argument
91 tlbpt_set(unsigned long val) argument
101 long val; local
111 peaddr_set(unsigned long val) argument
[all...]
/arch/sh/boards/mach-se/7206/
H A Dirq.c31 unsigned short val; local
36 val = __raw_readw(INTC_IPR01);
37 val &= mask;
38 __raw_writew(val, INTC_IPR01);
62 unsigned short val; local
67 val = __raw_readw(INTC_IPR01);
68 val |= value;
69 __raw_writew(val, INTC_IPR01);
/arch/sh/drivers/pci/
H A Dops-sh7786.c93 int where, int size, u32 *val)
108 *val = 0xffffffff;
113 *val = (data >> ((where & 3) << 3)) & 0xff;
115 *val = (data >> ((where & 2) << 3)) & 0xffff;
117 *val = data;
120 "where=0x%04x size=%d val=0x%08lx\n", bus->number,
121 devfn, where, size, (unsigned long)*val);
129 int where, int size, u32 val)
147 "where=0x%04x size=%d val=%08lx\n", bus->number,
148 devfn, where, size, (unsigned long)val);
92 sh7786_pcie_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val) argument
128 sh7786_pcie_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument
[all...]
/arch/sh/include/asm/
H A Dunaligned-sh4a.h93 static inline void nonnative_put_le16(u16 val, u8 *p) argument
95 *p++ = val;
96 *p++ = val >> 8;
99 static inline void nonnative_put_le32(u32 val, u8 *p) argument
101 nonnative_put_le16(val, p);
102 nonnative_put_le16(val >> 16, p + 2);
105 static inline void nonnative_put_le64(u64 val, u8 *p) argument
107 nonnative_put_le32(val, p);
108 nonnative_put_le32(val >> 32, p + 4);
111 static inline void nonnative_put_be16(u16 val, u argument
117 nonnative_put_be32(u32 val, u8 *p) argument
123 nonnative_put_be64(u64 val, u8 *p) argument
129 put_unaligned_le16(u16 val, void *p) argument
138 put_unaligned_le32(u32 val, void *p) argument
147 put_unaligned_le64(u64 val, void *p) argument
156 put_unaligned_be16(u16 val, void *p) argument
165 put_unaligned_be32(u32 val, void *p) argument
174 put_unaligned_be64(u64 val, void *p) argument
[all...]
H A Dwatchdog.h78 * @val: Value to write
80 * Writes the given value @val to the lower byte of the timer counter.
83 static inline void sh_wdt_write_cnt(__u32 val) argument
85 __raw_writel((WTCNT_HIGH << 24) | (__u32)val, WTCNT);
90 * @val: Value to write
92 * Writes the given value @val to the lower byte of the timer counter.
95 static inline void sh_wdt_write_bst(__u32 val) argument
97 __raw_writel((WTBST_HIGH << 24) | (__u32)val, WTBST);
111 * @val: Value to write
113 * Writes the given value @val t
116 sh_wdt_write_csr(__u32 val) argument
137 sh_wdt_write_cnt(__u8 val) argument
159 sh_wdt_write_csr(__u8 val) argument
[all...]
/arch/sh/kernel/
H A Diomap.c44 void iowrite8(u8 val, void __iomem *addr) argument
46 writeb(val, addr);
50 void iowrite16(u16 val, void __iomem *addr) argument
52 writew(val, addr);
56 void iowrite16be(u16 val, void __iomem *addr) argument
58 __raw_writew(cpu_to_be16(val), addr);
62 void iowrite32(u32 val, void __iomem *addr) argument
64 writel(val, addr);
68 void iowrite32be(u32 val, void __iomem *addr) argument
70 __raw_writel(cpu_to_be32(val), add
[all...]
/arch/sparc/include/asm/
H A Dcmpxchg_64.h9 static inline unsigned long xchg32(__volatile__ unsigned int *m, unsigned int val) argument
20 : "=&r" (val), "=&r" (tmp1), "=&r" (tmp2)
21 : "0" (val), "r" (m)
23 return val;
26 static inline unsigned long xchg64(__volatile__ unsigned long *m, unsigned long val) argument
37 : "=&r" (val), "=&r" (tmp1), "=&r" (tmp2)
38 : "0" (val), "r" (m)
40 return val;
H A Dspinlock_32.h145 unsigned int val; local
148 : "=r" (val)
152 if (val == 0) {
153 val = rw->lock & ~0xff;
154 if (val)
160 return (val == 0);
H A Dsyscall.h67 long val = regs->u_regs[UREG_I0]; local
69 return (syscall_has_error(regs) ? -val : 0);
75 long val = regs->u_regs[UREG_I0]; local
77 return val;
82 int error, long val)
89 regs->u_regs[UREG_I0] = val;
107 unsigned long val = regs->u_regs[UREG_I0 + i + j]; local
110 args[j] = (u32) val;
112 args[j] = val;
80 syscall_set_return_value(struct task_struct *task, struct pt_regs *regs, int error, long val) argument

Completed in 270 milliseconds

1234567891011>>