Home
last modified time | relevance | path

Searched refs:wrbuf (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/drivers/w1/slaves/
Dw1_ds28e04.c74 u8 wrbuf[3]; in w1_f1C_refresh_block() local
85 wrbuf[0] = W1_F1C_READ_EEPROM; in w1_f1C_refresh_block()
86 wrbuf[1] = off & 0xff; in w1_f1C_refresh_block()
87 wrbuf[2] = off >> 8; in w1_f1C_refresh_block()
88 w1_write_block(sl->master, wrbuf, 3); in w1_f1C_refresh_block()
100 u8 wrbuf[3]; in w1_f1C_read() local
106 wrbuf[0] = W1_F1C_READ_EEPROM; in w1_f1C_read()
107 wrbuf[1] = addr & 0xff; in w1_f1C_read()
108 wrbuf[2] = addr >> 8; in w1_f1C_read()
110 w1_write_block(sl->master, wrbuf, sizeof(wrbuf)); in w1_f1C_read()
[all …]
Dw1_ds2433.c64 u8 wrbuf[3]; in w1_f23_refresh_block() local
75 wrbuf[0] = W1_F23_READ_EEPROM; in w1_f23_refresh_block()
76 wrbuf[1] = off & 0xff; in w1_f23_refresh_block()
77 wrbuf[2] = off >> 8; in w1_f23_refresh_block()
78 w1_write_block(sl->master, wrbuf, 3); in w1_f23_refresh_block()
98 u8 wrbuf[3]; in eeprom_read() local
126 wrbuf[0] = W1_F23_READ_EEPROM; in eeprom_read()
127 wrbuf[1] = off & 0xff; in eeprom_read()
128 wrbuf[2] = off >> 8; in eeprom_read()
129 w1_write_block(sl->master, wrbuf, 3); in eeprom_read()
[all …]
Dw1_ds2431.c66 u8 wrbuf[3]; in w1_f2d_readblock() local
71 wrbuf[0] = W1_F2D_READ_EEPROM; in w1_f2d_readblock()
72 wrbuf[1] = off & 0xff; in w1_f2d_readblock()
73 wrbuf[2] = off >> 8; in w1_f2d_readblock()
78 w1_write_block(sl->master, wrbuf, 3); in w1_f2d_readblock()
84 w1_write_block(sl->master, wrbuf, 3); in w1_f2d_readblock()
148 u8 wrbuf[4]; in w1_f2d_write() local
158 wrbuf[0] = W1_F2D_WRITE_SCRATCH; in w1_f2d_write()
159 wrbuf[1] = addr & 0xff; in w1_f2d_write()
160 wrbuf[2] = addr >> 8; in w1_f2d_write()
[all …]
Dw1_ds2805.c63 u8 wrbuf[3]; in w1_f0d_readblock() local
68 wrbuf[0] = W1_F0D_READ_EEPROM; in w1_f0d_readblock()
69 wrbuf[1] = off & 0x7f; in w1_f0d_readblock()
70 wrbuf[2] = 0; in w1_f0d_readblock()
75 w1_write_block(sl->master, wrbuf, sizeof(wrbuf)); in w1_f0d_readblock()
81 w1_write_block(sl->master, wrbuf, sizeof(wrbuf)); in w1_f0d_readblock()
147 u8 wrbuf[3]; in w1_f0d_write() local
163 wrbuf[0] = W1_F0D_WRITE_EEPROM; in w1_f0d_write()
164 wrbuf[1] = addr & 0xff; in w1_f0d_write()
165 wrbuf[2] = 0xff; /* ?? from Example */ in w1_f0d_write()
[all …]
Dw1_ds2430.c67 u8 wrbuf[2]; in w1_f14_readblock() local
72 wrbuf[0] = W1_F14_READ_EEPROM; in w1_f14_readblock()
73 wrbuf[1] = off & 0xff; in w1_f14_readblock()
78 w1_write_block(sl->master, wrbuf, 2); in w1_f14_readblock()
84 w1_write_block(sl->master, wrbuf, 2); in w1_f14_readblock()
148 u8 wrbuf[2]; in w1_f14_write() local
157 wrbuf[0] = W1_F14_WRITE_SCRATCH; in w1_f14_write()
158 wrbuf[1] = addr & 0xff; in w1_f14_write()
160 w1_write_block(sl->master, wrbuf, 2); in w1_f14_write()
191 wrbuf[0] = W1_F14_COPY_SCRATCH; in w1_f14_write()
[all …]
Dw1_ds2423.c36 u8 wrbuf[3]; in w1_slave_show() local
47 wrbuf[0] = 0xA5; in w1_slave_show()
48 wrbuf[1] = rom_addr & 0xFF; in w1_slave_show()
49 wrbuf[2] = rom_addr >> 8; in w1_slave_show()
52 w1_write_block(dev, wrbuf, 3); in w1_slave_show()
78 crc = crc16(CRC16_INIT, wrbuf, 3); in w1_slave_show()
Dw1_ds2408.c40 u8 wrbuf[3]; in _read_reg() local
56 wrbuf[0] = W1_F29_FUNC_READ_PIO_REGS; in _read_reg()
57 wrbuf[1] = address; in _read_reg()
58 wrbuf[2] = 0; in _read_reg()
59 w1_write_block(sl->master, wrbuf, 3); in _read_reg()
/kernel/linux/linux-5.10/drivers/usb/serial/
Dcyberjack.c95 unsigned char wrbuf[5*64]; /* Buffer for collecting data to write */ member
181 if (count+priv->wrfilled > sizeof(priv->wrbuf)) { in cyberjack_write()
190 memcpy(priv->wrbuf + priv->wrfilled, buf, count); in cyberjack_write()
192 usb_serial_debug_data(dev, __func__, count, priv->wrbuf + priv->wrfilled); in cyberjack_write()
196 wrexpected = ((int)priv->wrbuf[2]<<8)+priv->wrbuf[1]+3; in cyberjack_write()
199 wrexpected = sizeof(priv->wrbuf); in cyberjack_write()
209 memcpy(port->write_urb->transfer_buffer, priv->wrbuf, length); in cyberjack_write()
234 memset(priv->wrbuf, 0, sizeof(priv->wrbuf)); in cyberjack_write()
381 priv->wrbuf + priv->wrsent, length); in cyberjack_write_bulk_callback()
403 blksize = ((int)priv->wrbuf[2]<<8)+priv->wrbuf[1]+3; in cyberjack_write_bulk_callback()
[all …]
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Dedt-ft5x06.c281 u8 wrbuf[4]; in edt_ft5x06_register_write() local
285 wrbuf[0] = tsdata->factory_mode ? 0xf3 : 0xfc; in edt_ft5x06_register_write()
286 wrbuf[1] = tsdata->factory_mode ? addr & 0x7f : addr & 0x3f; in edt_ft5x06_register_write()
287 wrbuf[2] = value; in edt_ft5x06_register_write()
288 wrbuf[3] = wrbuf[0] ^ wrbuf[1] ^ wrbuf[2]; in edt_ft5x06_register_write()
290 wrbuf, 0, NULL); in edt_ft5x06_register_write()
296 wrbuf[0] = addr; in edt_ft5x06_register_write()
297 wrbuf[1] = value; in edt_ft5x06_register_write()
300 wrbuf, 0, NULL); in edt_ft5x06_register_write()
310 u8 wrbuf[2], rdbuf[2]; in edt_ft5x06_register_read() local
[all …]
Dpixcir_i2c_ts.c97 u8 wrbuf[1] = { 0 }; in pixcir_ts_parse() local
111 ret = i2c_master_send(tsdata->client, wrbuf, sizeof(wrbuf)); in pixcir_ts_parse()
112 if (ret != sizeof(wrbuf)) { in pixcir_ts_parse()
/kernel/linux/linux-5.10/arch/microblaze/boot/dts/
Dsystem.dts134 xlnx,include-wrbuf = <0x1>;