Home
last modified time | relevance | path

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

12

/linux-6.6.21/kernel/time/
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 …]
/linux-6.6.21/arch/x86/include/asm/
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-6.6.21/arch/x86/boot/
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()
/linux-6.6.21/drivers/comedi/
Dcomedi_fops.c2947 struct comedi32_cmd_struct v32; in get_compat_cmd() local
2949 if (copy_from_user(&v32, cmd32, sizeof(v32))) in get_compat_cmd()
2952 cmd->subdev = v32.subdev; in get_compat_cmd()
2953 cmd->flags = v32.flags; in get_compat_cmd()
2954 cmd->start_src = v32.start_src; in get_compat_cmd()
2955 cmd->start_arg = v32.start_arg; in get_compat_cmd()
2956 cmd->scan_begin_src = v32.scan_begin_src; in get_compat_cmd()
2957 cmd->scan_begin_arg = v32.scan_begin_arg; in get_compat_cmd()
2958 cmd->convert_src = v32.convert_src; in get_compat_cmd()
2959 cmd->convert_arg = v32.convert_arg; in get_compat_cmd()
[all …]
/linux-6.6.21/drivers/media/dvb-frontends/
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-6.6.21/drivers/gpu/drm/
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 …]
/linux-6.6.21/arch/x86/mm/
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-6.6.21/drivers/char/ipmi/
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 …]
/linux-6.6.21/net/bridge/netfilter/
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-6.6.21/drivers/ntb/hw/intel/
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 …]
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()
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()
/linux-6.6.21/net/ipv6/ila/
Dila.h26 __be32 v32[2]; member
49 __be32 v32[2]; member
/linux-6.6.21/net/netfilter/
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()
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-6.6.21/drivers/dma/
Dfsldma.h90 typedef u32 __bitwise v32; typedef
96 v32 count;
97 v32 reserve;
/linux-6.6.21/drivers/block/
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 …]
/linux-6.6.21/include/uapi/linux/netfilter/
Dxt_HMARK.h36 __u32 v32; member
/linux-6.6.21/drivers/tty/
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 …]
/linux-6.6.21/drivers/ntb/hw/amd/
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()
/linux-6.6.21/fs/jffs2/
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-6.6.21/drivers/staging/rtl8723bs/hal/
Dsdio_ops.c964 u32 v32; in sd_int_hdl() local
969 v32 = hal->sdio_hisr & MASK_SDIO_HISR_CLEAR; in sd_int_hdl()
970 if (v32) in sd_int_hdl()
971 sdio_local_cmd52_write4byte(adapter, SDIO_REG_HISR, v32); in sd_int_hdl()
/linux-6.6.21/include/uapi/linux/
Djffs2.h91 __u32 v32; member
/linux-6.6.21/arch/mips/kvm/
Dmips.c749 u32 v32 = (u32)v; in kvm_mips_get_reg() local
751 return put_user(v32, uaddr32); in kvm_mips_get_reg()
777 s32 v32; in kvm_mips_set_reg() local
779 if (get_user(v32, uaddr32) != 0) in kvm_mips_set_reg()
781 v = (s64)v32; in kvm_mips_set_reg()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atomfirmware.c34 struct atom_firmware_info_v3_2 v32; member
218 struct atom_umc_info_v3_2 v32; member
521 umc_config = le32_to_cpu(umc_info->v32.umc_config); in amdgpu_atomfirmware_mem_ecc_supported()

12