/linux/drivers/gpu/drm/ |
H A D | drm_ioc32.c | 94 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/arch/x86/include/asm/ |
H A D | div64.h | 47 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/drivers/media/dvb-frontends/ |
H A D | lgs8gxx.c | 145 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/char/ipmi/ |
H A D | ipmi_devintf.c | 703 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/arch/x86/mm/ |
H A D | testmmiotrace.c | 28 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 D | ebt_stp.c | 48 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 D | ntb_hw_gen1.c | 500 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 D | ntb_hw_gen3.c | 263 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()
|
H A D | ntb_hw_gen4.c | 227 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/net/ipv6/ila/ |
H A D | ila.h | 26 __be32 v32[2]; member 49 __be32 v32[2]; member
|
H A D | ila_xlat.c | 42 u32 *v = (u32 *)loc.v32; in ila_locator_hash()
|
/linux/net/netfilter/ |
H A D | nft_exthdr.c | 257 __be32 v32; in nft_exthdr_tcp_set_eval() member 292 new.v32 = nft_reg_load_be32(®s->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 D | xt_HMARK.c | 71 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/dma/ |
H A D | fsldma.h | 90 typedef u32 __bitwise v32; typedef 96 v32 count; 97 v32 reserve;
|
/linux/drivers/block/ |
H A D | floppy.c | 3822 struct compat_floppy_fdc_state v32; in compat_getfdcstat() local 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.reset = v.reset; in compat_getfdcstat() [all …]
|
/linux/drivers/tty/ |
H A D | tty_io.c | 2847 struct serial_struct32 v32; in compat_tty_tiocsserial() local 2850 if (copy_from_user(&v32, ss, sizeof(*ss))) in compat_tty_tiocsserial() 2853 memcpy(&v, &v32, offsetof(struct serial_struct32, iomem_base)); in compat_tty_tiocsserial() 2854 v.iomem_base = compat_ptr(v32.iomem_base); in compat_tty_tiocsserial() 2855 v.iomem_reg_shift = v32.iomem_reg_shift; in compat_tty_tiocsserial() 2856 v.port_high = v32.port_high; in compat_tty_tiocsserial() 2865 struct serial_struct32 v32; in compat_tty_tiocgserial() local 2870 memset(&v32, 0, sizeof(v32)); in compat_tty_tiocgserial() 2876 memcpy(&v32, &v, offsetof(struct serial_struct32, iomem_base)); in compat_tty_tiocgserial() 2877 v32.iomem_base = (unsigned long)v.iomem_base >> 32 ? in compat_tty_tiocgserial() [all …]
|
/linux/include/uapi/linux/netfilter/ |
H A D | xt_HMARK.h | 36 __u32 v32; member
|
/linux/drivers/ntb/hw/amd/ |
H A D | ntb_hw_amd.c | 846 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/fs/jffs2/ |
H A D | nodelist.h | 44 #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/drivers/staging/rtl8723bs/hal/ |
H A D | sdio_ops.c | 963 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/arch/mips/kvm/ |
H A D | mips.c | 747 u32 v32 = (u32)v; in kvm_mips_get_reg() local 749 return put_user(v32, uaddr32); in kvm_mips_get_reg() 775 s32 v32; in kvm_mips_set_reg() local 777 if (get_user(v32, uaddr32) != 0) in kvm_mips_set_reg() 779 v = (s64)v32; in kvm_mips_set_reg()
|
/linux/include/uapi/linux/ |
H A D | jffs2.h | 91 __u32 v32; member
|
/linux/arch/powerpc/platforms/powernv/ |
H A D | pci.c | 607 __be32 v32; in pnv_pci_cfg_read() local 608 rc = opal_pci_config_read_word(phb->opal_id, bdfn, where, &v32); in pnv_pci_cfg_read() 609 *val = (rc == OPAL_SUCCESS) ? be32_to_cpu(v32) : 0xffffffff; in pnv_pci_cfg_read()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_atomfirmware.c | 34 struct atom_firmware_info_v3_2 v32; member 220 struct atom_umc_info_v3_2 v32; member 570 umc_config = le32_to_cpu(umc_info->v32.umc_config); in amdgpu_atomfirmware_mem_ecc_supported()
|
/linux/drivers/staging/rtl8723bs/core/ |
H A D | rtw_security.c | 258 #define Lo16(v32) ((u16)((v32) & 0xFFFF)) argument 259 #define Hi16(v32) ((u16)(((v32) >> 16) & 0xFFFF)) argument
|