Searched refs:val16 (Results 1 – 8 of 8) sorted by relevance
/linux-2.4.37.9/arch/x86_64/lib/ |
D | csum-wrappers.c | 35 __u16 val16; in csum_partial_copy_from_user() local 36 *errp = __get_user(val16, (__u16 *)src); in csum_partial_copy_from_user() 39 *(__u16 *)dst = val16; in csum_partial_copy_from_user() 40 isum = add32_with_carry(isum, val16); in csum_partial_copy_from_user() 79 __u16 val16 = *(__u16 *)src; in csum_partial_copy_to_user() local 80 isum = add32_with_carry(isum, val16); in csum_partial_copy_to_user() 81 *errp = __put_user(val16, (__u16 *)dst); in csum_partial_copy_to_user()
|
/linux-2.4.37.9/drivers/char/ |
D | sonypi.c | 536 u16 val16; in sonypi_misc_ioctl() local 557 if (ec_read16(SONYPI_BAT1_FULL, &val16)) { in sonypi_misc_ioctl() 561 if (copy_to_user((u16 *)arg, &val16, sizeof(val16))) in sonypi_misc_ioctl() 565 if (ec_read16(SONYPI_BAT1_LEFT, &val16)) { in sonypi_misc_ioctl() 569 if (copy_to_user((u16 *)arg, &val16, sizeof(val16))) in sonypi_misc_ioctl() 573 if (ec_read16(SONYPI_BAT2_FULL, &val16)) { in sonypi_misc_ioctl() 577 if (copy_to_user((u16 *)arg, &val16, sizeof(val16))) in sonypi_misc_ioctl() 581 if (ec_read16(SONYPI_BAT2_LEFT, &val16)) { in sonypi_misc_ioctl() 585 if (copy_to_user((u16 *)arg, &val16, sizeof(val16))) in sonypi_misc_ioctl()
|
/linux-2.4.37.9/drivers/net/ |
D | pci-skeleton.c | 523 #define NETDRV_W16(reg, val16) outw ((val16), ((unsigned long)ioaddr) + (reg)) argument 546 #define NETDRV_W16_F(reg, val16) do { writew ((val16), ioaddr + (reg)); readw (ioaddr + (reg)); } w… argument 554 #define NETDRV_W16(reg, val16) writew ((val16), ioaddr + (reg)) argument
|
D | 8139too.c | 638 #define RTL_W16(reg, val16) outw ((val16), ((unsigned long)ioaddr) + (reg)) argument 661 #define RTL_W16_F(reg, val16) do { writew ((val16), ioaddr + (reg)); readw (ioaddr + (reg)); } whil… argument 670 #define RTL_W16(reg, val16) writew ((val16), ioaddr + (reg)) argument
|
D | b44.c | 1254 u16 val16; 1256 pci_read_config_word(bp->pdev, PCI_STATUS, &val16); 1257 printk("DEBUG: PCI status [%04x] \n", val16);
|
D | r8169.c | 112 #define RTL_W16(reg, val16) writew ((val16), ioaddr + (reg)) argument
|
D | tg3.c | 6142 u16 val16; 6145 pci_read_config_word(tp->pdev, PCI_STATUS, &val16); 6148 val16, val32);
|
/linux-2.4.37.9/drivers/net/wireless/ |
D | orinoco.c | 4080 u16 *val16; in orinoco_debug_dump_recs() local 4090 val16 = (u16 *)val8; in orinoco_debug_dump_recs() 4104 val16 = (u16 *)val8; in orinoco_debug_dump_recs() 4116 printk("%04X-", le16_to_cpu(val16[j])); in orinoco_debug_dump_recs() 4126 len = min(len, le16_to_cpu(val16[0])+2); in orinoco_debug_dump_recs() 4128 printk("\"%s\"", (char *)&val16[1]); in orinoco_debug_dump_recs()
|