Home
last modified time | relevance | path

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

/drivers/staging/fbtft/
Dfb_uc1611.c223 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()
Dfb_watterott.c64 __be16 *buf16 = par->txbuf.buf + 10; in write_vmem() local
81 buf16[j] = cpu_to_be16(*vmem16++); in write_vmem()
/drivers/iio/temperature/
Dmaxim_thermocouple.c135 __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/
Dpata_ixp4xx_cf.c128 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/
Dnozomi.c396 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/
Dad5770r.c318 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/
Dcp210x.c1532 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/
Dsisusb.c2489 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/
Dregmap-irq.c488 u16 *buf16 = data->status_reg_buf; in regmap_irq_thread() local
508 data->status_buf[i] = buf16[i]; in regmap_irq_thread()