Searched refs:buf16 (Results 1 - 9 of 9) sorted by relevance

/linux-4.1.27/security/selinux/ss/
H A Davtab.c370 __le16 buf16[4]; avtab_read_item() local
450 rc = next_entry(buf16, fp, sizeof(u16)*4); avtab_read_item()
457 key.source_type = le16_to_cpu(buf16[items++]); avtab_read_item()
458 key.target_type = le16_to_cpu(buf16[items++]); avtab_read_item()
459 key.target_class = le16_to_cpu(buf16[items++]); avtab_read_item()
460 key.specified = le16_to_cpu(buf16[items++]); avtab_read_item()
545 __le16 buf16[4]; avtab_write_item() local
549 buf16[0] = cpu_to_le16(cur->key.source_type); avtab_write_item()
550 buf16[1] = cpu_to_le16(cur->key.target_type); avtab_write_item()
551 buf16[2] = cpu_to_le16(cur->key.target_class); avtab_write_item()
552 buf16[3] = cpu_to_le16(cur->key.specified); avtab_write_item()
553 rc = put_entry(buf16, sizeof(u16), 4, fp); avtab_write_item()
/linux-4.1.27/drivers/ata/
H A Dpata_ixp4xx_cf.c48 u16 *buf16 = (u16 *) buf; ixp4xx_mmio_data_xfer() local
62 buf16[i] = readw(mmio); ixp4xx_mmio_data_xfer()
65 writew(buf16[i], mmio); ixp4xx_mmio_data_xfer()
H A Dpata_bf54x.c1160 unsigned short *buf16 = (u16 *)buf; bfin_data_xfer() local
1164 read_atapi_data(base, words, buf16); bfin_data_xfer()
1166 write_atapi_data(base, words, buf16); bfin_data_xfer()
/linux-4.1.27/drivers/staging/fbtft/
H A Dfb_watterott.c78 u16 *buf16 = par->txbuf.buf + 10; write_vmem() local
97 buf16[j] = cpu_to_be16(*vmem16++); write_vmem()
/linux-4.1.27/drivers/tty/
H A Dnozomi.c440 u16 *buf16; read_mem32() local
448 buf16 = (u16 *) buf; read_mem32()
449 *buf16 = __le16_to_cpu(readw(ptr)); read_mem32()
461 buf16 = (u16 *) buf; read_mem32()
462 *(buf16) = __le16_to_cpu(readw(ptr)); read_mem32()
486 const u16 *buf16; write_mem32() local
494 buf16 = (const u16 *)buf; write_mem32()
495 writew(__cpu_to_le16(*buf16), ptr); write_mem32()
511 buf16 = (const u16 *)buf; write_mem32()
512 writew(__cpu_to_le16(*buf16), ptr); write_mem32()
/linux-4.1.27/drivers/base/regmap/
H A Dregmap-irq.c215 u16 *buf16 = data->status_reg_buf; regmap_irq_thread() local
235 data->status_buf[i] = buf16[i]; regmap_irq_thread()
/linux-4.1.27/sound/oss/
H A Dsb_audio.c851 signed short *buf16; sb16_copy_from_user() local
904 buf16 = (signed short *)(localbuf + localoffs); sb16_copy_from_user()
914 buf16[p+i] = (~lbuf8[i] ^ 0x80) << 8; sb16_copy_from_user()
/linux-4.1.27/drivers/usb/misc/sisusbvga/
H A Dsisusb.c2520 u16 buf16; sisusb_read() local
2563 address, &buf16)) sisusb_read()
2565 else if (put_user(buf16, (u16 __user *)buffer)) sisusb_read()
2662 u16 buf16; sisusb_write() local
2703 if (get_user(buf16, (u16 __user *)buffer)) sisusb_write()
2707 address, buf16)) sisusb_write()
/linux-4.1.27/drivers/mtd/nand/
H A Ddocg4.c761 uint16_t status, edc_err, *buf16; read_page() local
795 buf16 = (uint16_t *)(nand->oob_poi + 14); read_page()
796 *buf16 = readw(docptr + DOCG4_MYSTERY_REG); read_page()

Completed in 367 milliseconds