Home
last modified time | relevance | path

Searched refs:v32 (Results 1 – 25 of 41) sorted by relevance

12

/openbmc/linux/kernel/time/
H A Ditimer.c132 struct old_itimerval32 v32; in put_old_itimerval32() local
134 v32.it_interval.tv_sec = i->it_interval.tv_sec; in put_old_itimerval32()
135 v32.it_interval.tv_usec = i->it_interval.tv_nsec / NSEC_PER_USEC; in put_old_itimerval32()
136 v32.it_value.tv_sec = i->it_value.tv_sec; in put_old_itimerval32()
137 v32.it_value.tv_usec = i->it_value.tv_nsec / NSEC_PER_USEC; in put_old_itimerval32()
138 return copy_to_user(o, &v32, sizeof(struct old_itimerval32)) ? -EFAULT : 0; in put_old_itimerval32()
361 struct old_itimerval32 v32; in get_old_itimerval32() local
363 if (copy_from_user(&v32, i, sizeof(struct old_itimerval32))) in get_old_itimerval32()
367 if (!timeval_valid(&v32.it_value) || in get_old_itimerval32()
368 !timeval_valid(&v32.it_interval)) in get_old_itimerval32()
[all …]
/openbmc/linux/arch/x86/include/asm/
H A Ddiv64.h47 u32 v32[2]; in div_u64_rem() member
51 upper = d.v32[1]; in div_u64_rem()
52 d.v32[1] = 0; in div_u64_rem()
54 d.v32[1] = upper / divisor; in div_u64_rem()
57 asm ("divl %2" : "=a" (d.v32[0]), "=d" (*remainder) : in div_u64_rem()
58 "rm" (divisor), "0" (d.v32[0]), "1" (upper)); in div_u64_rem()
/openbmc/linux/arch/x86/boot/
H A Dstring.c205 u32 v32[2]; in __div_u64_rem() member
209 upper = d.v32[1]; in __div_u64_rem()
210 d.v32[1] = 0; in __div_u64_rem()
212 d.v32[1] = upper / divisor; in __div_u64_rem()
215 asm ("divl %2" : "=a" (d.v32[0]), "=d" (*remainder) : in __div_u64_rem()
216 "rm" (divisor), "0" (d.v32[0]), "1" (upper)); in __div_u64_rem()
/openbmc/linux/drivers/comedi/
H A Dcomedi_fops.c2959 struct comedi32_cmd_struct v32; in get_compat_cmd() local
2961 if (copy_from_user(&v32, cmd32, sizeof(v32))) in get_compat_cmd()
2964 cmd->subdev = v32.subdev; in get_compat_cmd()
2965 cmd->flags = v32.flags; in get_compat_cmd()
2966 cmd->start_src = v32.start_src; in get_compat_cmd()
2967 cmd->start_arg = v32.start_arg; in get_compat_cmd()
2968 cmd->scan_begin_src = v32.scan_begin_src; in get_compat_cmd()
2969 cmd->scan_begin_arg = v32.scan_begin_arg; in get_compat_cmd()
2970 cmd->convert_src = v32.convert_src; in get_compat_cmd()
2971 cmd->convert_arg = v32.convert_arg; in get_compat_cmd()
[all …]
/openbmc/linux/drivers/media/dvb-frontends/
H A Dlgs8gxx.c145 u32 v32; in lgs8gxx_set_if_freq() local
155 v32 = val & 0xFFFFFFFF; in lgs8gxx_set_if_freq()
158 v32 = 0; in lgs8gxx_set_if_freq()
161 dprintk("AFC_INIT_FREQ = 0x%08X\n", v32); in lgs8gxx_set_if_freq()
164 lgs8gxx_write_reg(priv, 0x08, 0xFF & (v32)); in lgs8gxx_set_if_freq()
165 lgs8gxx_write_reg(priv, 0x09, 0xFF & (v32 >> 8)); in lgs8gxx_set_if_freq()
166 lgs8gxx_write_reg(priv, 0x0A, 0xFF & (v32 >> 16)); in lgs8gxx_set_if_freq()
167 lgs8gxx_write_reg(priv, 0x0B, 0xFF & (v32 >> 24)); in lgs8gxx_set_if_freq()
169 lgs8gxx_write_reg(priv, 0x09, 0xFF & (v32)); in lgs8gxx_set_if_freq()
170 lgs8gxx_write_reg(priv, 0x0A, 0xFF & (v32 >> 8)); in lgs8gxx_set_if_freq()
[all …]
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_ioc32.c94 drm_version32_t v32; in compat_drm_version() local
98 if (copy_from_user(&v32, (void __user *)arg, sizeof(v32))) in compat_drm_version()
104 .name_len = v32.name_len, in compat_drm_version()
105 .name = compat_ptr(v32.name), in compat_drm_version()
106 .date_len = v32.date_len, in compat_drm_version()
107 .date = compat_ptr(v32.date), in compat_drm_version()
108 .desc_len = v32.desc_len, in compat_drm_version()
109 .desc = compat_ptr(v32.desc), in compat_drm_version()
116 v32.version_major = v.version_major; in compat_drm_version()
117 v32.version_minor = v.version_minor; in compat_drm_version()
[all …]
/openbmc/linux/drivers/char/ipmi/
H A Dipmi_devintf.c703 struct compat_ipmi_recv v32; in copyout_recv32() local
704 memset(&v32, 0, sizeof(struct compat_ipmi_recv)); in copyout_recv32()
705 v32.recv_type = p64->recv_type; in copyout_recv32()
706 v32.addr = ptr_to_compat(p64->addr); in copyout_recv32()
707 v32.addr_len = p64->addr_len; in copyout_recv32()
708 v32.msgid = p64->msgid; in copyout_recv32()
709 v32.msg.netfn = p64->msg.netfn; in copyout_recv32()
710 v32.msg.cmd = p64->msg.cmd; in copyout_recv32()
711 v32.msg.data_len = p64->msg.data_len; in copyout_recv32()
712 v32.msg.data = ptr_to_compat(p64->msg.data); in copyout_recv32()
[all …]
/openbmc/linux/arch/x86/mm/
H A Dtestmmiotrace.c28 static unsigned v32(unsigned i) in v32() function
46 iowrite32(v32(i), p + i); in do_write_test()
65 if (ioread32(p + i) != v32(i)) in do_read_test()
/openbmc/linux/net/bridge/netfilter/
H A Debt_stp.c48 u32 v32; in ebt_filter_config() local
68 v32 = NR32(stpc->root_cost); in ebt_filter_config()
70 v32 < c->root_costl || v32 > c->root_costu)) in ebt_filter_config()
/openbmc/linux/drivers/ntb/hw/intel/
H A Dntb_hw_gen1.c500 union { u64 v64; u32 v32; u16 v16; u8 v8; } u; in ndev_ntb_debugfs_read() member
620 u.v32 = ioread32(mmio + bar2_off(ndev->xlat_reg->bar2_xlat, 4)); in ndev_ntb_debugfs_read()
622 "XLAT4 -\t\t\t%#06x\n", u.v32); in ndev_ntb_debugfs_read()
624 u.v32 = ioread32(mmio + bar2_off(ndev->xlat_reg->bar2_xlat, 5)); in ndev_ntb_debugfs_read()
626 "XLAT5 -\t\t\t%#06x\n", u.v32); in ndev_ntb_debugfs_read()
638 u.v32 = ioread32(mmio + bar2_off(ndev->xlat_reg->bar2_limit, 4)); in ndev_ntb_debugfs_read()
640 "LMT4 -\t\t\t%#06x\n", u.v32); in ndev_ntb_debugfs_read()
641 u.v32 = ioread32(mmio + bar2_off(ndev->xlat_reg->bar2_limit, 5)); in ndev_ntb_debugfs_read()
643 "LMT5 -\t\t\t%#06x\n", u.v32); in ndev_ntb_debugfs_read()
660 u.v32 = ioread32(mmio + XEON_PBAR4XLAT_OFFSET); in ndev_ntb_debugfs_read()
[all …]
H A Dntb_hw_gen4.c227 union { u64 v64; u32 v32; u16 v16; } u; in ndev_ntb4_debugfs_read() member
323 GEN4_UNCERRSTS_OFFSET, &u.v32)) in ndev_ntb4_debugfs_read()
325 "UNCERRSTS -\t\t%#06x\n", u.v32); in ndev_ntb4_debugfs_read()
328 GEN4_CORERRSTS_OFFSET, &u.v32)) in ndev_ntb4_debugfs_read()
330 "CORERRSTS -\t\t%#06x\n", u.v32); in ndev_ntb4_debugfs_read()
H A Dntb_hw_gen3.c263 union { u64 v64; u32 v32; u16 v16; } u; in ndev_ntb3_debugfs_read() member
404 GEN3_UNCERRSTS_OFFSET, &u.v32)) in ndev_ntb3_debugfs_read()
406 "UNCERRSTS -\t\t%#06x\n", u.v32); in ndev_ntb3_debugfs_read()
409 GEN3_CORERRSTS_OFFSET, &u.v32)) in ndev_ntb3_debugfs_read()
411 "CORERRSTS -\t\t%#06x\n", u.v32); in ndev_ntb3_debugfs_read()
/openbmc/linux/net/ipv6/ila/
H A Dila.h26 __be32 v32[2]; member
49 __be32 v32[2]; member
/openbmc/linux/net/netfilter/
H A Dnft_exthdr.c257 __be32 v32; in nft_exthdr_tcp_set_eval() member
292 new.v32 = nft_reg_load_be32(&regs->data[priv->sreg]); in nft_exthdr_tcp_set_eval()
293 old.v32 = (__force __be32)get_unaligned((u32 *)(opt + offset)); in nft_exthdr_tcp_set_eval()
295 if (old.v32 == new.v32) in nft_exthdr_tcp_set_eval()
298 put_unaligned(new.v32, (__be32*)(opt + offset)); in nft_exthdr_tcp_set_eval()
300 old.v32, new.v32, false); in nft_exthdr_tcp_set_eval()
H A Dxt_HMARK.c71 uports->v32 = (dst << 16) | src; in hmark_swap_ports()
73 uports->v32 = (src << 16) | dst; in hmark_swap_ports()
125 hash = jhash_3words(src, dst, t->uports.v32, info->hashrnd); in hmark_hash()
/openbmc/qemu/tcg/aarch64/
H A Dtcg-target.c.inc190 /* Return true if v32 is a valid 32-bit shifted immediate. */
191 static bool is_shimm32(uint32_t v32, int *cmode, int *imm8)
193 if (v32 == (v32 & 0xff)) {
195 *imm8 = v32 & 0xff;
197 } else if (v32 == (v32 & 0xff00)) {
199 *imm8 = (v32 >> 8) & 0xff;
201 } else if (v32 == (v32 & 0xff0000)) {
203 *imm8 = (v32 >> 16) & 0xff;
205 } else if (v32 == (v32 & 0xff000000)) {
207 *imm8 = v32 >> 24;
[all …]
/openbmc/qemu/tcg/arm/
H A Dtcg-target.c.inc428 /* Return true if v32 is a valid 32-bit shifted immediate. */
429 static bool is_shimm32(uint32_t v32, int *cmode, int *imm8)
431 if (v32 == (v32 & 0xff)) {
433 *imm8 = v32 & 0xff;
435 } else if (v32 == (v32 & 0xff00)) {
437 *imm8 = (v32 >> 8) & 0xff;
439 } else if (v32 == (v32 & 0xff0000)) {
441 *imm8 = (v32 >> 16) & 0xff;
443 } else if (v32 == (v32 & 0xff000000)) {
445 *imm8 = v32 >> 24;
[all …]
/openbmc/linux/drivers/dma/
H A Dfsldma.h90 typedef u32 __bitwise v32; typedef
96 v32 count;
97 v32 reserve;
/openbmc/linux/drivers/block/
H A Dfloppy.c3818 struct compat_floppy_fdc_state v32; in compat_getfdcstat() local
3825 memset(&v32, 0, sizeof(struct compat_floppy_fdc_state)); in compat_getfdcstat()
3826 v32.spec1 = v.spec1; in compat_getfdcstat()
3827 v32.spec2 = v.spec2; in compat_getfdcstat()
3828 v32.dtr = v.dtr; in compat_getfdcstat()
3829 v32.version = v.version; in compat_getfdcstat()
3830 v32.dor = v.dor; in compat_getfdcstat()
3831 v32.address = v.address; in compat_getfdcstat()
3832 v32.rawcmd = v.rawcmd; in compat_getfdcstat()
3833 v32.reset = v.reset; in compat_getfdcstat()
[all …]
/openbmc/linux/drivers/tty/
H A Dtty_io.c2823 struct serial_struct32 v32; in compat_tty_tiocsserial() local
2826 if (copy_from_user(&v32, ss, sizeof(*ss))) in compat_tty_tiocsserial()
2829 memcpy(&v, &v32, offsetof(struct serial_struct32, iomem_base)); in compat_tty_tiocsserial()
2830 v.iomem_base = compat_ptr(v32.iomem_base); in compat_tty_tiocsserial()
2831 v.iomem_reg_shift = v32.iomem_reg_shift; in compat_tty_tiocsserial()
2832 v.port_high = v32.port_high; in compat_tty_tiocsserial()
2841 struct serial_struct32 v32; in compat_tty_tiocgserial() local
2846 memset(&v32, 0, sizeof(v32)); in compat_tty_tiocgserial()
2852 memcpy(&v32, &v, offsetof(struct serial_struct32, iomem_base)); in compat_tty_tiocgserial()
2853 v32.iomem_base = (unsigned long)v.iomem_base >> 32 ? in compat_tty_tiocgserial()
[all …]
/openbmc/linux/include/uapi/linux/netfilter/
H A Dxt_HMARK.h36 __u32 v32; member
/openbmc/qemu/hw/misc/
H A Dxlnx-versal-trng.c336 uint32_t v32 = val64; in trng_int_ctrl_postw() local
339 if (FIELD_EX32(v32, INT_CTRL, CERTF_RST)) { in trng_int_ctrl_postw()
342 if (FIELD_EX32(v32, INT_CTRL, DTF_RST)) { in trng_int_ctrl_postw()
345 if (FIELD_EX32(v32, INT_CTRL, DONE_RST)) { in trng_int_ctrl_postw()
/openbmc/linux/drivers/ntb/hw/amd/
H A Dntb_hw_amd.c846 union { u64 v64; u32 v32; u16 v16; } u; in ndev_debugfs_read() member
895 u.v32 = readl(ndev->self_mmio + AMD_DBMASK_OFFSET); in ndev_debugfs_read()
897 "Doorbell Mask -\t\t\t%#06x\n", u.v32); in ndev_debugfs_read()
899 u.v32 = readl(mmio + AMD_DBSTAT_OFFSET); in ndev_debugfs_read()
901 "Doorbell Bell -\t\t\t%#06x\n", u.v32); in ndev_debugfs_read()
918 u.v32 = readl(mmio + AMD_BAR1LMT_OFFSET); in ndev_debugfs_read()
920 "LMT1 -\t\t\t%#06x\n", u.v32); in ndev_debugfs_read()
/openbmc/qemu/hw/dma/
H A Dxlnx_csu_dma.c431 uint32_t v32 = val; in int_enable_pre_write() local
440 s->regs[R_INT_MASK] &= ~v32; in int_enable_pre_write()
454 uint32_t v32 = val; in int_disable_pre_write() local
463 s->regs[R_INT_MASK] |= v32; in int_disable_pre_write()
/openbmc/linux/fs/jffs2/
H A Dnodelist.h44 #define je32_to_cpu(x) ((x).v32)
55 #define je32_to_cpu(x) (be32_to_cpu(x.v32))
66 #define je32_to_cpu(x) (le32_to_cpu(x.v32))

12