Home
last modified time | relevance | path

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

12

/linux-6.15/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()
119 v32.name_len = v.name_len; in compat_drm_version()
120 v32.date_len = v.date_len; in compat_drm_version()
121 v32.desc_len = v.desc_len; in compat_drm_version()
[all …]
/linux-6.15/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-6.15/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()
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()
381 struct old_itimerval32 v32; in get_old_itimerval32() local
383 if (copy_from_user(&v32, i, sizeof(struct old_itimerval32))) in get_old_itimerval32()
387 if (!timeval_valid(&v32.it_value) || in get_old_itimerval32()
388 !timeval_valid(&v32.it_interval)) in get_old_itimerval32()
391 o->it_interval.tv_sec = v32.it_interval.tv_sec; in get_old_itimerval32()
393 o->it_value.tv_sec = v32.it_value.tv_sec; in get_old_itimerval32()
[all …]
/linux-6.15/arch/x86/boot/
H A Dstring.c197 u32 v32[2]; in __div_u64_rem() member
201 upper = d.v32[1]; in __div_u64_rem()
202 d.v32[1] = 0; in __div_u64_rem()
204 d.v32[1] = upper / divisor; in __div_u64_rem()
207 asm ("divl %2" : "=a" (d.v32[0]), "=d" (*remainder) : in __div_u64_rem()
208 "rm" (divisor), "0" (d.v32[0]), "1" (upper)); in __div_u64_rem()
/linux-6.15/drivers/comedi/
H A Dcomedi_fops.c2961 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()
2989 memset(&v32, 0, sizeof(v32)); in put_compat_cmd()
2990 v32.subdev = cmd->subdev; in put_compat_cmd()
2991 v32.flags = cmd->flags; in put_compat_cmd()
3007 if (copy_to_user(cmd32, &v32, sizeof(v32))) in put_compat_cmd()
3068 if (copy_from_user(&v32, insn32, sizeof(v32))) in get_compat_insn()
3071 insn->insn = v32.insn; in get_compat_insn()
3072 insn->n = v32.n; in get_compat_insn()
[all …]
/linux-6.15/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()
169 lgs8gxx_write_reg(priv, 0x09, 0xFF & (v32)); in lgs8gxx_set_if_freq()
181 u32 v32 = 0; in lgs8gxx_get_afc_phase() local
192 v32 <<= 8; in lgs8gxx_get_afc_phase()
193 v32 |= t; in lgs8gxx_get_afc_phase()
[all …]
/linux-6.15/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-6.15/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-6.15/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-6.15/drivers/ntb/hw/intel/
H A Dntb_hw_gen1.c622 "XLAT4 -\t\t\t%#06x\n", u.v32); in ndev_ntb_debugfs_read()
626 "XLAT5 -\t\t\t%#06x\n", u.v32); in ndev_ntb_debugfs_read()
640 "LMT4 -\t\t\t%#06x\n", u.v32); in ndev_ntb_debugfs_read()
643 "LMT5 -\t\t\t%#06x\n", u.v32); in ndev_ntb_debugfs_read()
663 u.v32); in ndev_ntb_debugfs_read()
667 u.v32); in ndev_ntb_debugfs_read()
683 u.v32); in ndev_ntb_debugfs_read()
687 u.v32); in ndev_ntb_debugfs_read()
709 "SBAR4 -\t\t\t%#06x\n", u.v32); in ndev_ntb_debugfs_read()
712 "SBAR5 -\t\t\t%#06x\n", u.v32); 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.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()
/linux-6.15/net/ipv6/ila/
H A Dila.h26 __be32 v32[2]; member
49 __be32 v32[2]; member
/linux-6.15/net/netfilter/
H A Dnft_exthdr.c255 __be32 v32; in nft_exthdr_tcp_set_eval() member
290 new.v32 = nft_reg_load_be32(&regs->data[priv->sreg]); in nft_exthdr_tcp_set_eval()
291 old.v32 = (__force __be32)get_unaligned((u32 *)(opt + offset)); in nft_exthdr_tcp_set_eval()
293 if (old.v32 == new.v32) in nft_exthdr_tcp_set_eval()
296 put_unaligned(new.v32, (__be32*)(opt + offset)); in nft_exthdr_tcp_set_eval()
298 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()
/linux-6.15/drivers/dma/
H A Dfsldma.h90 typedef u32 __bitwise v32; typedef
96 v32 count;
97 v32 reserve;
/linux-6.15/drivers/block/
H A Dfloppy.c3830 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.reset = v.reset; in compat_getfdcstat()
3839 v32.perp_mode = v.perp_mode; in compat_getfdcstat()
3840 v32.has_fifo = v.has_fifo; in compat_getfdcstat()
[all …]
/linux-6.15/include/uapi/linux/netfilter/
H A Dxt_HMARK.h36 __u32 v32; member
/linux-6.15/drivers/tty/
H A Dtty_io.c2846 struct serial_struct32 v32; in compat_tty_tiocsserial() local
2849 if (copy_from_user(&v32, ss, sizeof(*ss))) in compat_tty_tiocsserial()
2853 v.iomem_base = compat_ptr(v32.iomem_base); in compat_tty_tiocsserial()
2854 v.iomem_reg_shift = v32.iomem_reg_shift; in compat_tty_tiocsserial()
2855 v.port_high = v32.port_high; in compat_tty_tiocsserial()
2864 struct serial_struct32 v32; in compat_tty_tiocgserial() local
2869 memset(&v32, 0, sizeof(v32)); in compat_tty_tiocgserial()
2876 v32.iomem_base = (unsigned long)v.iomem_base >> 32 ? in compat_tty_tiocgserial()
2878 v32.iomem_reg_shift = v.iomem_reg_shift; in compat_tty_tiocgserial()
2879 v32.port_high = v.port_high; in compat_tty_tiocgserial()
[all …]
/linux-6.15/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()
/linux-6.15/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-6.15/drivers/staging/rtl8723bs/hal/
H A Dsdio_ops.c963 u32 v32; in sd_int_hdl() local
968 v32 = hal->sdio_hisr & MASK_SDIO_HISR_CLEAR; in sd_int_hdl()
969 if (v32) in sd_int_hdl()
970 sdio_local_cmd52_write4byte(adapter, SDIO_REG_HISR, v32); in sd_int_hdl()
/linux-6.15/include/uapi/linux/
H A Djffs2.h91 __u32 v32; member
/linux-6.15/arch/mips/kvm/
H A Dmips.c746 u32 v32 = (u32)v; in kvm_mips_get_reg() local
748 return put_user(v32, uaddr32); in kvm_mips_get_reg()
774 s32 v32; in kvm_mips_set_reg() local
776 if (get_user(v32, uaddr32) != 0) in kvm_mips_set_reg()
778 v = (s64)v32; in kvm_mips_set_reg()
/linux-6.15/arch/powerpc/platforms/powernv/
H A Dpci.c604 __be32 v32; in pnv_pci_cfg_read() local
605 rc = opal_pci_config_read_word(phb->opal_id, bdfn, where, &v32); in pnv_pci_cfg_read()
606 *val = (rc == OPAL_SUCCESS) ? be32_to_cpu(v32) : 0xffffffff; in pnv_pci_cfg_read()

12