| /drivers/gpu/drm/ |
| 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() 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 …]
|
| /drivers/comedi/ |
| A D | comedi_fops.c | 3053 if (copy_from_user(&v32, cmd32, sizeof(v32))) in get_compat_cmd() 3056 cmd->subdev = v32.subdev; in get_compat_cmd() 3057 cmd->flags = v32.flags; in get_compat_cmd() 3081 memset(&v32, 0, sizeof(v32)); in put_compat_cmd() 3082 v32.subdev = cmd->subdev; in put_compat_cmd() 3083 v32.flags = cmd->flags; in put_compat_cmd() 3099 if (copy_to_user(cmd32, &v32, sizeof(v32))) in put_compat_cmd() 3160 if (copy_from_user(&v32, insn32, sizeof(v32))) in get_compat_insn() 3163 insn->insn = v32.insn; in get_compat_insn() 3164 insn->n = v32.n; in get_compat_insn() [all …]
|
| /drivers/media/dvb-frontends/ |
| 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() 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 …]
|
| /drivers/char/ipmi/ |
| A D | ipmi_devintf.c | 700 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 …]
|
| /drivers/ntb/hw/intel/ |
| A D | ntb_hw_gen1.c | 622 "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 …]
|
| A D | ntb_hw_gen3.c | 266 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()
|
| 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()
|
| /drivers/dma/ |
| A D | fsldma.h | 90 typedef u32 __bitwise v32; typedef 96 v32 count; 97 v32 reserve;
|
| /drivers/block/ |
| A D | floppy.c | 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() 3839 v32.perp_mode = v.perp_mode; in compat_getfdcstat() 3840 v32.has_fifo = v.has_fifo; in compat_getfdcstat() [all …]
|
| /drivers/tty/ |
| A D | tty_io.c | 2836 struct serial_struct32 v32; in compat_tty_tiocsserial() local 2839 if (copy_from_user(&v32, ss, sizeof(*ss))) in compat_tty_tiocsserial() 2843 v.iomem_base = compat_ptr(v32.iomem_base); in compat_tty_tiocsserial() 2844 v.iomem_reg_shift = v32.iomem_reg_shift; in compat_tty_tiocsserial() 2845 v.port_high = v32.port_high; in compat_tty_tiocsserial() 2854 struct serial_struct32 v32; in compat_tty_tiocgserial() local 2859 memset(&v32, 0, sizeof(v32)); in compat_tty_tiocgserial() 2866 v32.iomem_base = (unsigned long)v.iomem_base >> 32 ? in compat_tty_tiocgserial() 2868 v32.iomem_reg_shift = v.iomem_reg_shift; in compat_tty_tiocgserial() 2869 v32.port_high = v.port_high; in compat_tty_tiocgserial() [all …]
|
| /drivers/ntb/hw/amd/ |
| 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()
|
| /drivers/staging/rtl8723bs/hal/ |
| 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()
|
| /drivers/gpu/drm/amd/amdgpu/ |
| A D | amdgpu_atomfirmware.c | 34 struct atom_firmware_info_v3_2 v32; member 220 struct atom_umc_info_v3_2 v32; member 574 umc_config = le32_to_cpu(umc_info->v32.umc_config); in amdgpu_atomfirmware_mem_ecc_supported()
|
| /drivers/staging/rtl8723bs/core/ |
| A D | rtw_security.c | 258 #define Lo16(v32) ((u16)((v32) & 0xFFFF)) argument 259 #define Hi16(v32) ((u16)(((v32) >> 16) & 0xFFFF)) argument
|