Home
last modified time | relevance | path

Searched refs:p32 (Results 1 – 5 of 5) sorted by relevance

/drivers/char/ipmi/
Dipmi_devintf.c696 struct compat_ipmi_msg __user *p32) in get_compat_ipmi_msg() argument
700 if (!access_ok(VERIFY_READ, p32, sizeof(*p32)) || in get_compat_ipmi_msg()
701 __get_user(p64->netfn, &p32->netfn) || in get_compat_ipmi_msg()
702 __get_user(p64->cmd, &p32->cmd) || in get_compat_ipmi_msg()
703 __get_user(p64->data_len, &p32->data_len) || in get_compat_ipmi_msg()
704 __get_user(tmp, &p32->data)) in get_compat_ipmi_msg()
711 struct compat_ipmi_msg __user *p32) in put_compat_ipmi_msg() argument
713 if (!access_ok(VERIFY_WRITE, p32, sizeof(*p32)) || in put_compat_ipmi_msg()
714 __put_user(p64->netfn, &p32->netfn) || in put_compat_ipmi_msg()
715 __put_user(p64->cmd, &p32->cmd) || in put_compat_ipmi_msg()
[all …]
/drivers/net/ethernet/amd/
Dsunlance.c652 u32 *p32; in lance_piocopy_to_skb() local
658 p32 = (u32 *) p16; in lance_piocopy_to_skb()
663 *p32++ = sbus_readl(pbuf); in lance_piocopy_to_skb()
667 p8 = (u8 *) p32; in lance_piocopy_to_skb()
669 p16 = (u16 *) p32; in lance_piocopy_to_skb()
1013 u32 *p32; in lance_piocopy_from_skb() local
1019 p32 = (u32 *) src; in lance_piocopy_from_skb()
1021 sbus_writel(*p32, piobuf); in lance_piocopy_from_skb()
1022 p32++; in lance_piocopy_from_skb()
1026 src = (char *) p32; in lance_piocopy_from_skb()
/drivers/video/
Dcg3.c144 u32 *p32; in cg3_setcolreg() local
166 p32 = &par->sw_cmap[D4M3(regno)]; in cg3_setcolreg()
169 sbus_writel(*p32++, &bt->color_map); in cg3_setcolreg()
/drivers/usb/core/
Ddevio.c1550 struct usbdevfs_ctrltransfer32 __user *p32) in proc_control_compat() argument
1555 if (copy_in_user(p, p32, (sizeof(*p32) - sizeof(compat_caddr_t))) || in proc_control_compat()
1556 get_user(udata, &p32->data) || in proc_control_compat()
1563 struct usbdevfs_bulktransfer32 __user *p32) in proc_bulk_compat() argument
1571 if (get_user(n, &p32->ep) || put_user(n, &p->ep) || in proc_bulk_compat()
1572 get_user(n, &p32->len) || put_user(n, &p->len) || in proc_bulk_compat()
1573 get_user(n, &p32->timeout) || put_user(n, &p->timeout) || in proc_bulk_compat()
1574 get_user(addr, &p32->data) || put_user(compat_ptr(addr), &p->data)) in proc_bulk_compat()
/drivers/net/ethernet/
Djme.c2428 u32 *p32 = (u32 *)p; in jme_get_regs() local
2433 mmapio_memcpy(jme, p32, JME_MAC, JME_MAC_LEN); in jme_get_regs()
2435 p32 += 0x100 >> 2; in jme_get_regs()
2436 mmapio_memcpy(jme, p32, JME_PHY, JME_PHY_LEN); in jme_get_regs()
2438 p32 += 0x100 >> 2; in jme_get_regs()
2439 mmapio_memcpy(jme, p32, JME_MISC, JME_MISC_LEN); in jme_get_regs()
2441 p32 += 0x100 >> 2; in jme_get_regs()
2442 mmapio_memcpy(jme, p32, JME_RSS, JME_RSS_LEN); in jme_get_regs()
2444 p32 += 0x100 >> 2; in jme_get_regs()
2445 mdio_memcpy(jme, p32, JME_PHY_REG_NR); in jme_get_regs()