Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/
H A Ddrm_ioc32.c95 drm_version32_t v32; in compat_drm_version() local
99 if (copy_from_user(&v32, (void __user *)arg, sizeof(v32))) in compat_drm_version()
105 .name_len = v32.name_len, in compat_drm_version()
106 .name = compat_ptr(v32.name), in compat_drm_version()
107 .date_len = v32.date_len, in compat_drm_version()
108 .date = compat_ptr(v32.date), in compat_drm_version()
109 .desc_len = v32.desc_len, in compat_drm_version()
110 .desc = compat_ptr(v32.desc), in compat_drm_version()
117 v32.version_major = v.version_major; in compat_drm_version()
118 v32.version_minor = v.version_minor; in compat_drm_version()
[all …]
/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()
/linux/arch/x86/boot/
H A Dstring.c195 u32 v32[2]; in __div_u64_rem() member
199 upper = d.v32[1]; in __div_u64_rem()
200 d.v32[1] = 0; in __div_u64_rem()
202 d.v32[1] = upper / divisor; in __div_u64_rem()
205 asm ("divl %2" : "=a" (d.v32[0]), "=d" (*remainder) : in __div_u64_rem()
206 "rm" (divisor), "0" (d.v32[0]), "1" (upper)); in __div_u64_rem()
/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 …]
/linux/drivers/comedi/
H A Dcomedi_fops.c3180 struct comedi32_cmd_struct v32; in get_compat_cmd() local
3182 if (copy_from_user(&v32, cmd32, sizeof(v32))) in get_compat_cmd()
3185 cmd->subdev = v32.subdev; in get_compat_cmd()
3186 cmd->flags = v32.flags; in get_compat_cmd()
3187 cmd->start_src = v32.start_src; in get_compat_cmd()
3188 cmd->start_arg = v32.start_arg; in get_compat_cmd()
3189 cmd->scan_begin_src = v32.scan_begin_src; in get_compat_cmd()
3190 cmd->scan_begin_arg = v32.scan_begin_arg; in get_compat_cmd()
3191 cmd->convert_src = v32 in get_compat_cmd()
3208 struct comedi32_cmd_struct v32; put_compat_cmd() local
3296 struct comedi32_insn_struct v32; get_compat_insn() local
[all...]
/linux/drivers/char/ipmi/
H A Dipmi_devintf.c700 struct compat_ipmi_recv v32; in copyout_recv32() local
701 memset(&v32, 0, sizeof(struct compat_ipmi_recv)); in copyout_recv32()
702 v32.recv_type = p64->recv_type; in copyout_recv32()
703 v32.addr = ptr_to_compat(p64->addr); in copyout_recv32()
704 v32.addr_len = p64->addr_len; in copyout_recv32()
705 v32.msgid = p64->msgid; in copyout_recv32()
706 v32.msg.netfn = p64->msg.netfn; in copyout_recv32()
707 v32.msg.cmd = p64->msg.cmd; in copyout_recv32()
708 v32.msg.data_len = p64->msg.data_len; in copyout_recv32()
709 v32.msg.data = ptr_to_compat(p64->msg.data); in copyout_recv32()
[all …]
/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()
/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()
/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_gen3.c266 union { u64 v64; u32 v32; u16 v16; } u; in ndev_ntb3_debugfs_read() member
407 GEN3_UNCERRSTS_OFFSET, &u.v32)) in ndev_ntb3_debugfs_read()
409 "UNCERRSTS -\t\t%#06x\n", u.v32); in ndev_ntb3_debugfs_read()
412 GEN3_CORERRSTS_OFFSET, &u.v32)) in ndev_ntb3_debugfs_read()
414 "CORERRSTS -\t\t%#06x\n", u.v32); in ndev_ntb3_debugfs_read()
H A Dntb_hw_gen4.c237 union { u64 v64; u32 v32; u16 v16; } u; in ndev_ntb4_debugfs_read() member
333 GEN4_UNCERRSTS_OFFSET, &u.v32)) in ndev_ntb4_debugfs_read()
335 "UNCERRSTS -\t\t%#06x\n", u.v32); in ndev_ntb4_debugfs_read()
338 GEN4_CORERRSTS_OFFSET, &u.v32)) in ndev_ntb4_debugfs_read()
340 "CORERRSTS -\t\t%#06x\n", u.v32); in ndev_ntb4_debugfs_read()
/linux/net/ipv6/ila/
H A Dila.h26 __be32 v32[2]; member
49 __be32 v32[2]; member
H A Dila_xlat.c42 u32 *v = (u32 *)loc.v32; in ila_locator_hash()
/linux/drivers/dma/
H A Dfsldma.h90 typedef u32 __bitwise v32; typedef
96 v32 count;
97 v32 reserve;
/linux/drivers/block/
H A Dfloppy.c3822 struct compat_floppy_fdc_state v32; in compat_getfdcstat()
3829 memset(&v32, 0, sizeof(struct compat_floppy_fdc_state)); in compat_getfdcstat()
3830 v32.spec1 = v.spec1; in compat_getfdcstat()
3831 v32.spec2 = v.spec2; in compat_getfdcstat()
3832 v32.dtr = v.dtr; in compat_getfdcstat()
3833 v32.version = v.version; in compat_getfdcstat()
3834 v32.dor = v.dor; in compat_getfdcstat()
3835 v32.address = v.address; in compat_getfdcstat()
3836 v32.rawcmd = v.rawcmd; in compat_getfdcstat()
3837 v32 in compat_getfdcstat()
3815 struct compat_floppy_fdc_state v32; compat_getfdcstat() local
3844 struct compat_floppy_write_errors v32; compat_werrorget() local
[all...]
/linux/net/netfilter/
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()
/linux/drivers/tty/
H A Dtty_io.c2826 struct serial_struct32 v32; in compat_tty_tiocsserial() local
2829 if (copy_from_user(&v32, ss, sizeof(*ss))) in compat_tty_tiocsserial()
2832 memcpy(&v, &v32, offsetof(struct serial_struct32, iomem_base)); in compat_tty_tiocsserial()
2833 v.iomem_base = compat_ptr(v32.iomem_base); in compat_tty_tiocsserial()
2834 v.iomem_reg_shift = v32.iomem_reg_shift; in compat_tty_tiocsserial()
2835 v.port_high = v32.port_high; in compat_tty_tiocsserial()
2844 struct serial_struct32 v32; in compat_tty_tiocgserial() local
2849 memset(&v32, 0, sizeof(v32)); in compat_tty_tiocgserial()
2855 memcpy(&v32, in compat_tty_tiocgserial()
[all...]
/linux/include/uapi/linux/netfilter/
H A Dxt_HMARK.h36 __u32 v32; member
/linux/drivers/ntb/hw/amd/
H A Dntb_hw_amd.c855 union { u64 v64; u32 v32; u16 v16; } u; in ndev_debugfs_read() member
904 u.v32 = readl(ndev->self_mmio + AMD_DBMASK_OFFSET); in ndev_debugfs_read()
906 "Doorbell Mask -\t\t\t%#06x\n", u.v32); in ndev_debugfs_read()
908 u.v32 = readl(mmio + AMD_DBSTAT_OFFSET); in ndev_debugfs_read()
910 "Doorbell Bell -\t\t\t%#06x\n", u.v32); in ndev_debugfs_read()
927 u.v32 = readl(mmio + AMD_BAR1LMT_OFFSET); in ndev_debugfs_read()
929 "LMT1 -\t\t\t%#06x\n", u.v32); in ndev_debugfs_read()
/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))
/linux/arch/mips/kvm/
H A Dmips.c741 u32 v32 = (u32)v; in kvm_mips_get_reg()
743 return put_user(v32, uaddr32); in kvm_mips_get_reg()
769 s32 v32; in kvm_mips_set_reg()
771 if (get_user(v32, uaddr32) != 0) in kvm_mips_set_reg()
773 v = (s64)v32; in kvm_mips_set_reg()
746 u32 v32 = (u32)v; kvm_mips_get_reg() local
774 s32 v32; kvm_mips_set_reg() local
/linux/include/uapi/linux/
H A Djffs2.h91 __u32 v32; member