Searched refs:buf16 (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/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()
|
/linux-6.1.9/security/selinux/ss/ |
D | avtab.c | 405 __le16 buf16[4]; in avtab_read_item() local 491 rc = next_entry(buf16, fp, sizeof(u16)*4); in avtab_read_item() 498 key.source_type = le16_to_cpu(buf16[items++]); in avtab_read_item() 499 key.target_type = le16_to_cpu(buf16[items++]); in avtab_read_item() 500 key.target_class = le16_to_cpu(buf16[items++]); in avtab_read_item() 501 key.specified = le16_to_cpu(buf16[items++]); in avtab_read_item() 614 __le16 buf16[4]; in avtab_write_item() local 619 buf16[0] = cpu_to_le16(cur->key.source_type); in avtab_write_item() 620 buf16[1] = cpu_to_le16(cur->key.target_type); in avtab_write_item() 621 buf16[2] = cpu_to_le16(cur->key.target_class); in avtab_write_item() [all …]
|
/linux-6.1.9/drivers/iio/temperature/ |
D | maxim_thermocouple.c | 134 __be16 buf16; in maxim_thermocouple_read() local 140 ret = spi_read(data->spi, (void *)&buf16, storage_bytes); in maxim_thermocouple_read() 141 *val = be16_to_cpu(buf16); in maxim_thermocouple_read()
|
/linux-6.1.9/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()
|
/linux-6.1.9/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()
|
/linux-6.1.9/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()
|
/linux-6.1.9/drivers/usb/serial/ |
D | cp210x.c | 1486 struct cp210x_gpio_write16 buf16; in cp210x_gpio_set() local 1513 buf16.mask = cpu_to_le16(mask); in cp210x_gpio_set() 1514 buf16.state = cpu_to_le16(state); in cp210x_gpio_set() 1517 CP210X_WRITE_LATCH, &buf16, in cp210x_gpio_set() 1518 sizeof(buf16)); in cp210x_gpio_set()
|
/linux-6.1.9/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()
|
/linux-6.1.9/drivers/base/regmap/ |
D | regmap-irq.c | 492 u16 *buf16 = data->status_reg_buf; in regmap_irq_thread() local 512 data->status_buf[i] = buf16[i]; in regmap_irq_thread()
|