Home
last modified time | relevance | path

Searched refs:dout (Results 1 – 25 of 71) sorted by relevance

123

/external/objenesis/main/src/main/java/org/objenesis/instantiator/basic/
DObjectInputStreamInstantiator.java64 DataOutputStream dout = new DataOutputStream(byteOut); in initialize() local
65 dout.writeShort(ObjectStreamConstants.STREAM_MAGIC); in initialize()
66 dout.writeShort(ObjectStreamConstants.STREAM_VERSION); in initialize()
70 dout = new DataOutputStream(byteOut); in initialize()
72 dout.writeByte(ObjectStreamConstants.TC_OBJECT); in initialize()
73 dout.writeByte(ObjectStreamConstants.TC_REFERENCE); in initialize()
74 dout.writeInt(ObjectStreamConstants.baseWireHandle); in initialize()
98 DataOutputStream dout = new DataOutputStream(byteOut); in MockStream() local
100 dout.writeByte(ObjectStreamConstants.TC_OBJECT); in MockStream()
101 dout.writeByte(ObjectStreamConstants.TC_CLASSDESC); in MockStream()
[all …]
/external/u-boot/board/work-microwave/work_92105/
Dwork_92105_display.c89 uint8_t dout[2]; in max6957aax_write() local
91 dout[0] = reg; in max6957aax_write()
92 dout[1] = value; in max6957aax_write()
95 spi_xfer(slave, 16, dout, dout, SPI_XFER_BEGIN | SPI_XFER_END); in max6957aax_write()
111 uint8_t dout[2], din[2]; in max6957aax_read() local
114 dout[0] = reg | 0x80; /* set bit 7 to indicate read */ in max6957aax_read()
115 dout[1] = 0; in max6957aax_read()
118 spi_xfer(slave, 16, dout, dout, SPI_XFER_BEGIN | SPI_XFER_END); in max6957aax_read()
/external/u-boot/drivers/misc/
Dcros_ec_i2c.c56 (struct ec_host_request_i2c *)dev->dout; in cros_ec_i2c_packet()
69 i2c_msg[0].buf = dev->dout; in cros_ec_i2c_packet()
72 memmove(&ec_request_i2c->ec_request, dev->dout, out_bytes); in cros_ec_i2c_packet()
110 int cmd_version, const uint8_t *dout, in cros_ec_i2c_command() argument
129 if (out_bytes > sizeof(dev->dout)) { in cros_ec_i2c_command()
142 i2c_msg[0].buf = dev->dout; in cros_ec_i2c_command()
149 ptr = dev->dout; in cros_ec_i2c_command()
171 memcpy(ptr, dout, dout_len); in cros_ec_i2c_command()
175 cros_ec_calc_checksum(dev->dout, dout_len + 3); in cros_ec_i2c_command()
183 cros_ec_dump_data("out", -1, dev->dout, out_bytes); in cros_ec_i2c_command()
Dcros_ec_spi.c35 rv = spi_xfer(slave, out_bytes * 8, dev->dout, NULL, SPI_XFER_BEGIN); in cros_ec_spi_packet()
80 const uint8_t *dout, int dout_len, in cros_ec_spi_command() argument
122 out = dev->dout; in cros_ec_spi_command()
126 memcpy(out + 3, dout, dout_len); in cros_ec_spi_command()
128 + cros_ec_calc_checksum(dout, dout_len); in cros_ec_spi_command()
Dcros_ec.c88 const void *dout, int dout_len) in create_proto3_request() argument
90 struct ec_host_request *rq = (struct ec_host_request *)dev->dout; in create_proto3_request()
94 if (out_bytes > (int)sizeof(dev->dout)) { in create_proto3_request()
108 memcpy(rq + 1, dout, dout_len); in create_proto3_request()
111 rq->checksum = (uint8_t)(-cros_ec_calc_checksum(dev->dout, out_bytes)); in create_proto3_request()
113 cros_ec_dump_data("out", cmd, dev->dout, out_bytes); in create_proto3_request()
202 const void *dout, int dout_len, in send_command_proto3() argument
211 dout, dout_len); in send_command_proto3()
230 const void *dout, int dout_len, in send_command() argument
239 dout, dout_len, dinp, din_len); in send_command()
[all …]
/external/u-boot/drivers/spi/
Dmvebu_a3700_spi.c32 u32 dout; /* 0x10608 */ member
80 const void *dout, void *din) in spi_legacy_shift_byte() argument
91 dout_8 = dout; in spi_legacy_shift_byte()
102 if (dout) in spi_legacy_shift_byte()
108 writel(pending_dout, &reg->dout); in spi_legacy_shift_byte()
122 if (dout) in spi_legacy_shift_byte()
134 const void *dout, void *din, unsigned long flags) in mvebu_spi_xfer() argument
144 if (dout && din) in mvebu_spi_xfer()
154 if (dout || din) { in mvebu_spi_xfer()
155 ret = spi_legacy_shift_byte(reg, bytelen, dout, din); in mvebu_spi_xfer()
Dmxc_spi.c219 const u8 *dout, u8 *din, unsigned long flags) in spi_xchg_single() argument
228 __func__, bitlen, (u32)dout, (u32)din); in spi_xchg_single()
250 if (dout) { in spi_xchg_single()
252 data = (data << 8) | (*dout++ & 0xFF); in spi_xchg_single()
265 if (dout) { in spi_xchg_single()
267 if ((unsigned long)dout & 0x03) { in spi_xchg_single()
270 data = (data << 8) | (*dout++ & 0xFF); in spi_xchg_single()
272 data = *(u32 *)dout; in spi_xchg_single()
274 dout += 4; in spi_xchg_single()
334 unsigned int bitlen, const void *dout, in mxc_spi_xfer_internal() argument
[all …]
Dkirkwood_spi.c32 const void *dout, void *din, unsigned long flags) in _spi_xfer() argument
37 debug("spi_xfer: dout %p din %p bitlen %u\n", dout, din, bitlen); in _spi_xfer()
53 if (dout) in _spi_xfer()
54 tmpdout = *(u32 *)dout & 0xff; in _spi_xfer()
57 writel(tmpdout, &reg->dout); /* Write the data out */ in _spi_xfer()
77 if (dout) in _spi_xfer()
78 dout += 1; in _spi_xfer()
236 const void *dout, void *din, unsigned long flags) in spi_xfer() argument
238 return _spi_xfer(spireg, bitlen, dout, din, flags); in spi_xfer()
334 const void *dout, void *din, unsigned long flags) in mvebu_spi_xfer() argument
[all …]
Datcspi200_spi.c89 u8 *dout; member
151 if(ns->dout) in __atcspi200_spi_start()
177 static void __nspi_espi_tx(struct nds_spi_slave *ns, const void *dout) in __nspi_espi_tx() argument
179 ns->regs->data = *(u8 *)dout; in __nspi_espi_tx()
194 const void *dout = NULL; in __atcspi200_spi_xfer() local
218 ns->dout = (u8 *)data_out; in __atcspi200_spi_xfer()
224 ns->dout = 0; in __atcspi200_spi_xfer()
238 dout = data_out; in __atcspi200_spi_xfer()
251 __nspi_espi_tx(ns, dout); in __atcspi200_spi_xfer()
253 dout += CHUNK_SIZE; in __atcspi200_spi_xfer()
[all …]
Dstm32_qspi.c306 const u8 *dout, u8 *din, unsigned long flags) in _stm32_qspi_xfer() argument
328 if (dout && din) { in _stm32_qspi_xfer()
333 if (!dout && (flags & SPI_XFER_BEGIN)) { in _stm32_qspi_xfer()
338 if (dout) { in _stm32_qspi_xfer()
341 priv->command = dout[0] | CMD_HAS_DATA; in _stm32_qspi_xfer()
344 priv->address = (dout[1] << 16) | in _stm32_qspi_xfer()
345 (dout[2] << 8) | dout[3]; in _stm32_qspi_xfer()
383 writeb(dout[i], &priv->regs->dr); in _stm32_qspi_xfer()
384 debug("%02x ", dout[i]); in _stm32_qspi_xfer()
551 const void *dout, void *din, unsigned long flags) in stm32_qspi_xfer() argument
[all …]
Dcf_spi.c102 static int cfspi_xfer(struct spi_slave *slave, uint bitlen, const void *dout, in cfspi_xfer() argument
113 spi_wr16 = (u16 *) dout; in cfspi_xfer()
116 spi_wr = (u8 *) dout; in cfspi_xfer()
128 if (dout != NULL) { in cfspi_xfer()
152 if (dout != NULL) { in cfspi_xfer()
330 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, const void *dout, in spi_xfer() argument
333 return cfspi_xfer(slave, bitlen, dout, din, flags); in spi_xfer()
Dmpc8xxx_spi.c74 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, const void *dout, in spi_xfer() argument
84 slave->bus, slave->cs, *(uint *) dout, *(uint *) din, bitlen); in spi_xfer()
97 tmpdout = *(u32 *) dout >> (32 - charSize); in spi_xfer()
120 dout += 4; in spi_xfer()
Dsandbox_spi.c51 const void *dout, void *din, unsigned long flags) in sandbox_spi_xfer() argument
59 u8 *tx = (void *)dout, *rx = din; in sandbox_spi_xfer()
109 ret = ops->xfer(emul, bitlen, dout, din, flags); in sandbox_spi_xfer()
117 if (tx != dout) in sandbox_spi_xfer()
Ddavinci_spi.c304 unsigned int bitlen, const void *dout, void *din, in __davinci_spi_xfer() argument
327 if (!dout) in __davinci_spi_xfer()
330 return davinci_spi_write(ds, len, dout, flags); in __davinci_spi_xfer()
332 return davinci_spi_read_write(ds, len, din, dout, flags); in __davinci_spi_xfer()
439 const void *dout, void *din, unsigned long flags) in spi_xfer() argument
445 return __davinci_spi_xfer(ds, bitlen, dout, din, flags); in spi_xfer()
515 const void *dout, void *din, in davinci_spi_xfer() argument
529 return __davinci_spi_xfer(ds, bitlen, dout, din, flags); in davinci_spi_xfer()
Dfsl_espi.c182 static void fsl_espi_tx(struct fsl_spi_slave *fsl, const void *dout) in fsl_espi_tx() argument
188 if (dout) in fsl_espi_tx()
189 tmpdout = *(u32 *)dout; in fsl_espi_tx()
250 const void *dout = NULL; in spi_xfer() local
307 dout = buffer; in spi_xfer()
320 fsl_espi_tx(fsl, dout); in spi_xfer()
324 dout += 4; in spi_xfer()
Dsh_qspi.c201 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, const void *dout, in spi_xfer() argument
211 if (dout == NULL && din == NULL) { in spi_xfer()
234 if (dout != NULL) in spi_xfer()
235 tdata = (u8 *)dout; in spi_xfer()
257 if (dout != NULL) in spi_xfer()
Dtegra20_sflash.c210 const u8 *dout = data_out; in tegra20_sflash_xfer() local
216 __func__, bus->seq, spi_chip_select(dev), dout, din, bitlen); in tegra20_sflash_xfer()
244 if (dout != NULL) { in tegra20_sflash_xfer()
246 tmpdout = (tmpdout << 8) | dout[i]; in tegra20_sflash_xfer()
250 if (dout) in tegra20_sflash_xfer()
251 dout += bytes; in tegra20_sflash_xfer()
Dmxs_spi.c310 const void *dout, void *din, unsigned long flags) in spi_xfer() argument
329 if (din && dout) in spi_xfer()
332 if (!din && !dout) in spi_xfer()
335 if (dout) { in spi_xfer()
336 data = (char *)dout; in spi_xfer()
Dfsl_dspi.c251 const void *dout, void *din, unsigned long flags) in dspi_xfer() argument
260 spi_wr16 = (u16 *)dout; in dspi_xfer()
263 spi_wr = (u8 *)dout; in dspi_xfer()
276 if (dout != NULL) { in dspi_xfer()
300 if (dout != NULL) { in dspi_xfer()
515 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, const void *dout, in spi_xfer() argument
519 return dspi_xfer(&dspi->priv, slave->cs, bitlen, dout, din, flags); in spi_xfer()
667 const void *dout, void *din, unsigned long flags) in fsl_dspi_xfer() argument
676 return dspi_xfer(priv, slave_plat->cs, bitlen, dout, din, flags); in fsl_dspi_xfer()
Domap3_spi.c315 const void *dout, void *din, unsigned long flags) in _spi_xfer() argument
345 if (dout != NULL && din != NULL) in _spi_xfer()
346 ret = omap3_spi_txrx(priv, len, dout, din, flags); in _spi_xfer()
347 else if (dout != NULL) in _spi_xfer()
348 ret = omap3_spi_write(priv, len, dout, flags); in _spi_xfer()
575 const void *dout, void *din, unsigned long flags) in spi_xfer() argument
579 return _spi_xfer(priv, bitlen, dout, din, flags); in spi_xfer()
643 const void *dout, void *din, unsigned long flags) in omap3_spi_xfer() argument
648 return _spi_xfer(priv, bitlen, dout, din, flags); in omap3_spi_xfer()
/external/emma/core/java12/com/vladium/jcd/cls/
DClassDef.java273 final DataOutputStream dout = new DataOutputStream (bout); in computeSUID() local
277 dout.writeUTF (Types.vmNameToJavaName (getName ())); // [in Java format] in computeSUID()
302 dout.writeInt (modifiers); in computeSUID()
323 dout.writeUTF (ifcs [i]); in computeSUID()
354 dout.writeUTF (fd.m_name); in computeSUID()
355 dout.writeInt (fd.m_modifiers); in computeSUID()
356 dout.writeUTF (fd.m_descriptor); in computeSUID()
411 dout.writeUTF (IClassDefConstants.CLINIT_NAME); in computeSUID()
412 dout.writeInt (ACC_STATIC); in computeSUID()
413 dout.writeUTF (IClassDefConstants.CLINIT_DESCRIPTOR); in computeSUID()
[all …]
/external/u-boot/include/
Dspi.h253 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, const void *dout,
308 unsigned char dout[2]; in spi_w8r8() local
312 dout[0] = byte; in spi_w8r8()
313 dout[1] = 0; in spi_w8r8()
315 ret = spi_xfer(slave, 16, dout, din, SPI_XFER_BEGIN | SPI_XFER_END); in spi_w8r8()
402 int (*xfer)(struct udevice *dev, unsigned int bitlen, const void *dout,
469 const void *dout, void *din, unsigned long flags);
626 const void *dout, void *din, unsigned long flags);
/external/aac/libFDK/src/mips/
Dfft_rad2_mips.cpp124 int32c *dout = (int32c *)x; in dit_fft() local
156 mips_fft32(dout, din, twiddles, scratch, ldn); in dit_fft()
159 x[2 * i] = dout[i].re << 1; in dit_fft()
160 x[2 * i + 1] = dout[i].im << 1; in dit_fft()
/external/u-boot/cmd/
Dspi.c39 static uchar dout[MAX_SPI_BYTES]; variable
70 ret = spi_xfer(slave, bitlen, dout, din, in do_spi_xfer()
146 dout[j / 2] = (tmp << 4); in do_spi()
148 dout[j / 2] |= tmp; in do_spi()
/external/u-boot/board/CZ.NIC/turris_mox/
Dturris_mox.c60 u8 din[10], dout[10]; in last_stage_init() local
75 memset(dout, 0, 10); in last_stage_init()
77 ret = spi_xfer(slave, 80, dout, din, SPI_XFER_ONCE); in last_stage_init()

123