Home
last modified time | relevance | path

Searched +defs:val +defs:o (Results 1 – 25 of 112) sorted by relevance

12345

/linux-6.14.4/drivers/memory/
Drenesas-rpc-if.c23 #define RPCIF_CMNCR_MOIIO3(val) (((val) & 0x3) << 22) argument
24 #define RPCIF_CMNCR_MOIIO2(val) (((val) & 0x3) << 20) argument
25 #define RPCIF_CMNCR_MOIIO1(val) (((val) & 0x3) << 18) argument
26 #define RPCIF_CMNCR_MOIIO0(val) (((val) & 0x3) << 16) argument
27 #define RPCIF_CMNCR_MOIIO(val) (RPCIF_CMNCR_MOIIO0(val) | RPCIF_CMNCR_MOIIO1(val) | \ argument
29 #define RPCIF_CMNCR_IO3FV(val) (((val) & 0x3) << 14) /* documented for RZ/G2L */ argument
30 #define RPCIF_CMNCR_IO2FV(val) (((val) & 0x3) << 12) /* documented for RZ/G2L */ argument
31 #define RPCIF_CMNCR_IO0FV(val) (((val) & 0x3) << 8) argument
32 #define RPCIF_CMNCR_IOFV(val) (RPCIF_CMNCR_IO0FV(val) | RPCIF_CMNCR_IO2FV(val) | \ argument
34 #define RPCIF_CMNCR_BSZ(val) (((val) & 0x3) << 0) argument
[all …]
/linux-6.14.4/arch/arm64/include/asm/
Dpercpu.h174 #define this_cpu_write_1(pcp, val) \ argument
176 #define this_cpu_write_2(pcp, val) \ argument
178 #define this_cpu_write_4(pcp, val) \ argument
180 #define this_cpu_write_8(pcp, val) \ argument
183 #define this_cpu_add_1(pcp, val) \ argument
185 #define this_cpu_add_2(pcp, val) \ argument
187 #define this_cpu_add_4(pcp, val) \ argument
189 #define this_cpu_add_8(pcp, val) \ argument
192 #define this_cpu_add_return_1(pcp, val) \ argument
194 #define this_cpu_add_return_2(pcp, val) \ argument
[all …]
Dcmpxchg.h175 #define __cmpxchg_wrapper(sfx, ptr, o, n) \ argument
201 #define arch_cmpxchg128(ptr, o, n) \ argument
206 #define arch_cmpxchg128_local(ptr, o, n) \ argument
261 #define __cmpwait_relaxed(ptr, val) \ argument
/linux-6.14.4/arch/loongarch/include/asm/
Dpercpu.h71 static __always_inline unsigned long __percpu_xchg(void *ptr, unsigned long val, int size) in __percpu_xchg()
119 #define _protect_cmpxchg_local(pcp, o, n) \ argument
128 #define _pcp_protect(operation, pcp, val) \ argument
138 #define _percpu_add(pcp, val) \ argument
141 #define _percpu_add_return(pcp, val) _percpu_add(pcp, val) argument
143 #define _percpu_and(pcp, val) \ argument
146 #define _percpu_or(pcp, val) \ argument
149 #define _percpu_xchg(pcp, val) ((typeof(pcp)) \ argument
152 #define this_cpu_add_4(pcp, val) _percpu_add(pcp, val) argument
153 #define this_cpu_add_8(pcp, val) _percpu_add(pcp, val) argument
[all …]
Dcmpxchg.h12 #define __xchg_asm(amswap_db, m, val) \ argument
25 static inline unsigned int __xchg_small(volatile void *ptr, unsigned int val, in __xchg_small()
202 #define arch_cmpxchg64_local(ptr, o, n) \ argument
208 #define arch_cmpxchg64(ptr, o, n) \ argument
215 #define arch_cmpxchg64_local(ptr, o, n) __generic_cmpxchg64_local((ptr), (o), (n)) argument
216 #define arch_cmpxchg64(ptr, o, n) arch_cmpxchg64_local((ptr), (o), (n)) argument
/linux-6.14.4/arch/mips/boot/tools/
Drelocs_32.c12 #define ELF_R_SYM(val) ELF32_R_SYM(val) argument
13 #define ELF_R_TYPE(val) ELF32_R_TYPE(val) argument
14 #define ELF_ST_TYPE(o) ELF32_ST_TYPE(o) argument
15 #define ELF_ST_BIND(o) ELF32_ST_BIND(o) argument
16 #define ELF_ST_VISIBILITY(o) ELF32_ST_VISIBILITY(o) argument
Drelocs_64.c25 #define ELF_R_SYM(val) (((Elf64_Mips_Rela *)(&val))->fields.r_sym) argument
26 #define ELF_R_TYPE(val) (((Elf64_Mips_Rela *)(&val))->fields.r_type) argument
27 #define ELF_ST_TYPE(o) ELF64_ST_TYPE(o) argument
28 #define ELF_ST_BIND(o) ELF64_ST_BIND(o) argument
29 #define ELF_ST_VISIBILITY(o) ELF64_ST_VISIBILITY(o) argument
/linux-6.14.4/arch/x86/tools/
Drelocs_64.c12 #define ELF_R_SYM(val) ELF64_R_SYM(val) argument
13 #define ELF_R_TYPE(val) ELF64_R_TYPE(val) argument
14 #define ELF_ST_TYPE(o) ELF64_ST_TYPE(o) argument
15 #define ELF_ST_BIND(o) ELF64_ST_BIND(o) argument
16 #define ELF_ST_VISIBILITY(o) ELF64_ST_VISIBILITY(o) argument
Drelocs_32.c12 #define ELF_R_SYM(val) ELF32_R_SYM(val) argument
13 #define ELF_R_TYPE(val) ELF32_R_TYPE(val) argument
14 #define ELF_ST_TYPE(o) ELF32_ST_TYPE(o) argument
15 #define ELF_ST_BIND(o) ELF32_ST_BIND(o) argument
16 #define ELF_ST_VISIBILITY(o) ELF32_ST_VISIBILITY(o) argument
/linux-6.14.4/arch/powerpc/include/asm/
Dcmpxchg.h87 __xchg_u8_local(volatile void *p, unsigned long val) in __xchg_u8_local()
103 __xchg_u8_relaxed(u8 *p, unsigned long val) in __xchg_u8_relaxed()
119 __xchg_u16_local(volatile void *p, unsigned long val) in __xchg_u16_local()
135 __xchg_u16_relaxed(u16 *p, unsigned long val) in __xchg_u16_relaxed()
152 __xchg_u32_local(volatile void *p, unsigned long val) in __xchg_u32_local()
168 __xchg_u32_relaxed(u32 *p, unsigned long val) in __xchg_u32_relaxed()
185 __xchg_u64_local(volatile void *p, unsigned long val) in __xchg_u64_local()
201 __xchg_u64_relaxed(u64 *p, unsigned long val) in __xchg_u64_relaxed()
699 #define arch_cmpxchg(ptr, o, n) \ argument
708 #define arch_cmpxchg_local(ptr, o, n) \ argument
[all …]
/linux-6.14.4/arch/riscv/include/asm/
Dcmpxchg.h130 r, p, o, n) \ argument
178 r, p, co, o, n) \ argument
259 #define arch_cmpxchg_relaxed(ptr, o, n) \ argument
265 #define arch_cmpxchg_acquire(ptr, o, n) \ argument
271 #define arch_cmpxchg_release(ptr, o, n) \ argument
277 #define arch_cmpxchg(ptr, o, n) \ argument
283 #define arch_cmpxchg_local(ptr, o, n) \ argument
286 #define arch_cmpxchg64(ptr, o, n) \ argument
292 #define arch_cmpxchg64_local(ptr, o, n) \ argument
298 #define arch_cmpxchg64_relaxed(ptr, o, n) \ argument
[all …]
/linux-6.14.4/drivers/gpu/host1x/hw/
Ddebug_hw_1x01.c16 struct output *o) in host1x_debug_show_channel_cdma()
22 u32 val, base, baseval; in host1x_debug_show_channel_cdma() local
73 struct output *o) in host1x_debug_show_channel_fifo()
75 u32 val, rd_ptr, wr_ptr, start, end; in host1x_debug_show_channel_fifo() local
130 static void host1x_debug_show_mlocks(struct host1x *host, struct output *o) in host1x_debug_show_mlocks()
Ddebug_hw_1x06.c16 struct output *o) in host1x_debug_show_channel_cdma()
68 struct output *o) in host1x_debug_show_channel_fifo()
75 u32 val; in host1x_debug_show_channel_fifo() local
142 static void host1x_debug_show_mlocks(struct host1x *host, struct output *o) in host1x_debug_show_mlocks()
Ddebug_hw.c41 static unsigned int show_channel_command(struct output *o, u32 val, in show_channel_command()
159 static void show_gather(struct output *o, dma_addr_t phys_addr, in show_gather()
181 u32 val; in show_gather() local
202 static void show_channel_gathers(struct output *o, struct host1x_cdma *cdma) in show_channel_gathers()
/linux-6.14.4/arch/alpha/include/asm/
Dcmpxchg.h12 ____xchg_u8(volatile char *m, unsigned long val) in ____xchg_u8()
35 ____xchg_u16(volatile short *m, unsigned long val) in ____xchg_u16()
58 ____xchg_u32(volatile int *m, unsigned long val) in ____xchg_u32()
77 ____xchg_u64(volatile long *m, unsigned long val) in ____xchg_u64()
235 #define arch_cmpxchg_local(ptr, o, n) \ argument
244 #define arch_cmpxchg64_local(ptr, o, n) \ argument
265 #define arch_cmpxchg(ptr, o, n) \ argument
277 #define arch_cmpxchg64(ptr, o, n) \ argument
/linux-6.14.4/arch/sparc/include/asm/
Dcmpxchg_64.h21 static inline unsigned long xchg32(__volatile__ unsigned int *m, unsigned int val) in xchg32()
38 static inline unsigned long xchg64(__volatile__ unsigned long *m, unsigned long val) in xchg64()
70 xchg16(__volatile__ unsigned short *m, unsigned short val) in xchg16()
171 #define arch_cmpxchg(ptr,o,n) \ argument
198 #define arch_cmpxchg_local(ptr, o, n) \ argument
201 #define arch_cmpxchg64_local(ptr, o, n) \ argument
206 #define arch_cmpxchg64(ptr, o, n) arch_cmpxchg64_local((ptr), (o), (n)) argument
/linux-6.14.4/drivers/isdn/hardware/mISDN/
DmISDNipac.c27 #define ReadISAC(is, o) (is->read_reg(is->dch.hw, o + is->off)) argument
28 #define WriteISAC(is, o, v) (is->write_reg(is->dch.hw, o + is->off, v)) argument
29 #define ReadHSCX(h, o) (h->ip->read_reg(h->ip->hw, h->off + o)) argument
30 #define WriteHSCX(h, o, v) (h->ip->write_reg(h->ip->hw, h->off + o, v)) argument
31 #define ReadIPAC(ip, o) (ip->read_reg(ip->hw, o)) argument
32 #define WriteIPAC(ip, o, v) (ip->write_reg(ip->hw, o, v)) argument
177 u8 val, count; in isac_rme_irq() local
243 u8 val; in isac_mos_irq() local
415 u8 val; in isac_cisq_irq() local
434 u8 val; in isacsx_cic_irq() local
[all …]
/linux-6.14.4/arch/mips/include/asm/
Dcmpxchg.h34 #define __xchg_asm(ld, st, m, val) \ argument
210 #define arch_cmpxchg64_local(ptr, o, n) \ argument
216 #define arch_cmpxchg64(ptr, o, n) \ argument
224 # define arch_cmpxchg64_local(ptr, o, n) __generic_cmpxchg64_local((ptr), (o), (n)) argument
299 # define arch_cmpxchg64(ptr, o, n) ({ \ argument
322 # define arch_cmpxchg64(ptr, o, n) arch_cmpxchg64_local((ptr), (o), (n)) argument
/linux-6.14.4/arch/xtensa/include/asm/
Dcmpxchg.h85 #define arch_cmpxchg(ptr,o,n) \ argument
112 #define arch_cmpxchg_local(ptr, o, n) \ argument
115 #define arch_cmpxchg64_local(ptr, o, n) __generic_cmpxchg64_local((ptr), (o), (n)) argument
116 #define arch_cmpxchg64(ptr, o, n) arch_cmpxchg64_local((ptr), (o), (n)) argument
128 static inline unsigned long xchg_u32(volatile int * m, unsigned long val) in xchg_u32()
/linux-6.14.4/arch/s390/tools/
Drelocs.c25 #define ELF_R_SYM(val) ELF64_R_SYM(val) argument
26 #define ELF_R_TYPE(val) ELF64_R_TYPE(val) argument
27 #define ELF_ST_TYPE(o) ELF64_ST_TYPE(o) argument
28 #define ELF_ST_BIND(o) ELF64_ST_BIND(o) argument
29 #define ELF_ST_VISIBILITY(o) ELF64_ST_VISIBILITY(o) argument
63 #define le16_to_cpu(val) (val) argument
64 #define le32_to_cpu(val) (val) argument
65 #define le64_to_cpu(val) (val) argument
66 #define be16_to_cpu(val) bswap_16(val) argument
67 #define be32_to_cpu(val) bswap_32(val) argument
[all …]
/linux-6.14.4/drivers/scsi/
Dncr53c8xx.h327 #define ncr_offb(o) (((o)&~3)+((~((o)&3))&3)) argument
328 #define ncr_offw(o) (((o)&~3)+((~((o)&3))&2)) argument
332 #define ncr_offb(o) (o) argument
333 #define ncr_offw(o) (o) argument
379 #define INB_OFF(o) readb_raw((char __iomem *)np->reg + ncr_offb(o)) argument
380 #define OUTB_OFF(o, val) writeb_raw((val), (char __iomem *)np->reg + ncr_offb(o)) argument
384 #define INW_OFF(o) readw_l2b((char __iomem *)np->reg + ncr_offw(o)) argument
385 #define INL_OFF(o) readl_l2b((char __iomem *)np->reg + (o)) argument
387 #define OUTW_OFF(o, val) writew_b2l((val), (char __iomem *)np->reg + ncr_offw(o)) argument
388 #define OUTL_OFF(o, val) writel_b2l((val), (char __iomem *)np->reg + (o)) argument
[all …]
/linux-6.14.4/sound/pci/
Dens1370.c132 #define ES_1371_JOY_ASEL(o) (((o)&0x03)<<24)/* joystick port mapping */ argument
136 #define ES_1370_PCLKDIVO(o) (((o)&0x1fff)<<16)/* clock divide ratio for DAC2 */ argument
139 #define ES_1371_GPIO_OUT(o) (((o)&0x0f)<<16)/* GPIO out [3:0] pins - W/R */ argument
144 #define ES_1370_WTSRSEL(o) (((o)&0x03)<<12)/* fixed frequency clock for DAC1 */ argument
153 #define ES_1371_PDLEV(o) (((o)&0x03)<<8) /* current power down level */ argument
171 #define ES_1373_GPIO_INT_EN(o)(((o)&0x0f)<<20)/* GPIO [3:0] pins - interrupt enable */ argument
196 #define ES_TXINTENO(o) (((o)&0x03)<<5) /* TX interrupt enable */ argument
199 #define ES_CNTRL(o) (((o)&0x03)<<0) /* control */ argument
204 #define ES_MEM_PAGEO(o) (((o)&0x0f)<<0) /* memory page select - out */ argument
219 #define ES_1371_SRC_RAM_ADDRO(o) (((o)&0x7f)<<25)/* address of the sample rate converter */ argument
[all …]
/linux-6.14.4/drivers/phy/qualcomm/
Dphy-qcom-qmp-common.h11 unsigned int val; member
20 #define QMP_PHY_INIT_CFG(o, v) \ argument
28 #define QMP_PHY_INIT_CFG_LANE(o, v, l) \ argument
/linux-6.14.4/include/linux/mfd/syscon/
Datmel-matrix.h63 #define AT91_MATRIX_MCFG(o, x) ((o) + ((x) * 0x4)) argument
71 #define AT91_MATRIX_SCFG(o, x) ((o) + ((x) * 0x4)) argument
93 #define AT91_MATRIX_PRAS(o, x) ((o) + ((x) * 0x8)) argument
94 #define AT91_MATRIX_PRBS(o, x) ((o) + ((x) * 0x8) + 0x4) argument
99 #define AT91_MATRIX_CSA(cs, val) (val << (cs)) argument
/linux-6.14.4/drivers/net/wireless/ath/ath5k/
Deeprom.c43 u16 val; in ath5k_eeprom_bin2freq() local
76 u16 val; in ath5k_eeprom_init_header() local
193 u32 o = *offset; in ath5k_eeprom_read_ants() local
194 u16 val; in ath5k_eeprom_read_ants() local
253 u32 o = *offset; in ath5k_eeprom_read_modes() local
254 u16 val; in ath5k_eeprom_read_modes() local
514 int o = *offset; in ath5k_eeprom_read_freq_list() local
517 u16 val; in ath5k_eeprom_read_freq_list() local
553 u16 val; in ath5k_eeprom_init_11a_pcal_freq() local
802 u16 val; in ath5k_eeprom_read_pcal_info_5111() local
[all …]

12345