Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/staging/fbtft/
Dfb_uc1611.c220 u16 *buf16 = par->txbuf.buf; in write_vmem() local
269 *buf16 = 0x100; in write_vmem()
270 *buf16 |= vmem8[i] >> 4; in write_vmem()
271 *buf16 |= vmem8[i + 1] & 0xF0; in write_vmem()
272 buf16++; in write_vmem()
283 *buf16 = 0x100; in write_vmem()
284 *buf16 |= vmem8[i] >> 4; in write_vmem()
285 *buf16 |= vmem8[i + line_length] & 0xF0; in write_vmem()
286 buf16++; in write_vmem()
/linux-6.12.1/security/selinux/ss/
Davtab.c344 __le16 buf16[4]; in avtab_read_item() local
428 rc = next_entry(buf16, fp, sizeof(u16) * 4); in avtab_read_item()
435 key.source_type = le16_to_cpu(buf16[items++]); in avtab_read_item()
436 key.target_type = le16_to_cpu(buf16[items++]); in avtab_read_item()
437 key.target_class = le16_to_cpu(buf16[items++]); in avtab_read_item()
438 key.specified = le16_to_cpu(buf16[items++]); in avtab_read_item()
548 __le16 buf16[4]; in avtab_write_item() local
553 buf16[0] = cpu_to_le16(cur->key.source_type); in avtab_write_item()
554 buf16[1] = cpu_to_le16(cur->key.target_type); in avtab_write_item()
555 buf16[2] = cpu_to_le16(cur->key.target_class); in avtab_write_item()
[all …]
/linux-6.12.1/drivers/iio/temperature/
Dmaxim_thermocouple.c134 __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.12.1/drivers/ata/
Dpata_ixp4xx_cf.c129 u16 *buf16 = (u16 *) buf; in ixp4xx_mmio_data_xfer() local
149 buf16[i] = readw(mmio); in ixp4xx_mmio_data_xfer()
152 writew(buf16[i], mmio); in ixp4xx_mmio_data_xfer()
/linux-6.12.1/drivers/tty/
Dnozomi.c380 u16 *buf16; in read_mem32() local
388 buf16 = (u16 *) buf; in read_mem32()
389 *buf16 = __le16_to_cpu(readw(ptr)); in read_mem32()
399 buf16 = (u16 *) buf; in read_mem32()
400 *(buf16) = __le16_to_cpu(readw(ptr)); in read_mem32()
424 const u16 *buf16; in write_mem32() local
432 buf16 = (const u16 *)buf; in write_mem32()
433 writew(__cpu_to_le16(*buf16), ptr); in write_mem32()
448 buf16 = (const u16 *)buf; in write_mem32()
449 writew(__cpu_to_le16(*buf16), ptr); in write_mem32()
/linux-6.12.1/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()
/linux-6.12.1/drivers/usb/serial/
Dcp210x.c1510 struct cp210x_gpio_write16 buf16; in cp210x_gpio_set() local
1537 buf16.mask = cpu_to_le16(mask); in cp210x_gpio_set()
1538 buf16.state = cpu_to_le16(state); in cp210x_gpio_set()
1541 CP210X_WRITE_LATCH, &buf16, in cp210x_gpio_set()
1542 sizeof(buf16)); in cp210x_gpio_set()
/linux-6.12.1/drivers/usb/misc/sisusbvga/
Dsisusbvga.c2303 u16 buf16; in sisusb_read() local
2343 address, &buf16)) in sisusb_read()
2345 else if (put_user(buf16, (u16 __user *)buffer)) in sisusb_read()
2439 u16 buf16; in sisusb_write() local
2478 if (get_user(buf16, (u16 __user *)buffer)) in sisusb_write()
2481 SISUSB_TYPE_IO, address, buf16)) in sisusb_write()
/linux-6.12.1/drivers/base/regmap/
Dregmap-irq.c415 u16 *buf16 = data->status_reg_buf; in regmap_irq_thread() local
435 data->status_buf[i] = buf16[i]; in regmap_irq_thread()