Searched refs:buf16 (Results 1 – 9 of 9) sorted by relevance
/drivers/staging/fbtft/ |
D | fb_uc1611.c | 223 u16 *buf16 = par->txbuf.buf; in write_vmem() local 272 *buf16 = 0x100; in write_vmem() 273 *buf16 |= vmem8[i] >> 4; in write_vmem() 274 *buf16 |= vmem8[i + 1] & 0xF0; in write_vmem() 275 buf16++; in write_vmem() 286 *buf16 = 0x100; in write_vmem() 287 *buf16 |= vmem8[i] >> 4; in write_vmem() 288 *buf16 |= vmem8[i + line_length] & 0xF0; in write_vmem() 289 buf16++; in write_vmem()
|
D | fb_watterott.c | 64 __be16 *buf16 = par->txbuf.buf + 10; in write_vmem() local 81 buf16[j] = cpu_to_be16(*vmem16++); in write_vmem()
|
/drivers/iio/temperature/ |
D | maxim_thermocouple.c | 135 __be16 buf16; in maxim_thermocouple_read() local 141 ret = spi_read(data->spi, (void *)&buf16, storage_bytes); in maxim_thermocouple_read() 142 *val = be16_to_cpu(buf16); in maxim_thermocouple_read()
|
/drivers/ata/ |
D | pata_ixp4xx_cf.c | 128 u16 *buf16 = (u16 *) buf; in ixp4xx_mmio_data_xfer() local 148 buf16[i] = readw(mmio); in ixp4xx_mmio_data_xfer() 151 writew(buf16[i], mmio); in ixp4xx_mmio_data_xfer()
|
/drivers/tty/ |
D | nozomi.c | 396 u16 *buf16; in read_mem32() local 404 buf16 = (u16 *) buf; in read_mem32() 405 *buf16 = __le16_to_cpu(readw(ptr)); in read_mem32() 415 buf16 = (u16 *) buf; in read_mem32() 416 *(buf16) = __le16_to_cpu(readw(ptr)); in read_mem32() 440 const u16 *buf16; in write_mem32() local 448 buf16 = (const u16 *)buf; in write_mem32() 449 writew(__cpu_to_le16(*buf16), ptr); in write_mem32() 464 buf16 = (const u16 *)buf; in write_mem32() 465 writew(__cpu_to_le16(*buf16), ptr); in write_mem32()
|
/drivers/iio/dac/ |
D | ad5770r.c | 318 u16 buf16; in ad5770r_read_raw() local 328 buf16 = st->transf_buf[0] + (st->transf_buf[1] << 8); in ad5770r_read_raw() 329 *val = buf16 >> 2; in ad5770r_read_raw()
|
/drivers/usb/serial/ |
D | cp210x.c | 1532 struct cp210x_gpio_write16 buf16; in cp210x_gpio_set() local 1559 buf16.mask = cpu_to_le16(mask); in cp210x_gpio_set() 1560 buf16.state = cpu_to_le16(state); in cp210x_gpio_set() 1563 CP210X_WRITE_LATCH, &buf16, in cp210x_gpio_set() 1564 sizeof(buf16)); in cp210x_gpio_set()
|
/drivers/usb/misc/sisusbvga/ |
D | sisusb.c | 2489 u16 buf16; in sisusb_read() local 2529 address, &buf16)) in sisusb_read() 2531 else if (put_user(buf16, (u16 __user *)buffer)) in sisusb_read() 2625 u16 buf16; in sisusb_write() local 2664 if (get_user(buf16, (u16 __user *)buffer)) in sisusb_write() 2667 SISUSB_TYPE_IO, address, buf16)) in sisusb_write()
|
/drivers/base/regmap/ |
D | regmap-irq.c | 488 u16 *buf16 = data->status_reg_buf; in regmap_irq_thread() local 508 data->status_buf[i] = buf16[i]; in regmap_irq_thread()
|