/external/libese/tools/ese_relay/ |
D | ese_relay.c | 86 uint32_t tx_len, data_read; in main() local 116 tx_len = (uint32_t)ntohs(network_tx_len); in main() 117 printf("tx_len: %u\n", tx_len); in main() 118 if (tx_len == 0) { in main() 122 if (tx_len > sizeof(tx_buf)) { in main() 123 ALOGE("Client payload too large: %u", tx_len); in main() 126 for (data_read = 0; data_read < tx_len;) { in main() 127 printf("Reading payload: %u of %u remaining\n", data_read, tx_len); in main() 128 ssize_t bytes = read(client_fd, tx_buf + data_read, tx_len - data_read); in main() 137 if (tx_len) { in main() [all …]
|
/external/u-boot/drivers/video/ |
D | mipi_dsi.c | 203 packet->header[1] = (msg->tx_len >> 0) & 0xff; in mipi_dsi_create_packet() 204 packet->header[2] = (msg->tx_len >> 8) & 0xff; in mipi_dsi_create_packet() 206 packet->payload_length = msg->tx_len; in mipi_dsi_create_packet() 211 packet->header[1] = (msg->tx_len > 0) ? tx[0] : 0; in mipi_dsi_create_packet() 212 packet->header[2] = (msg->tx_len > 1) ? tx[1] : 0; in mipi_dsi_create_packet() 233 .tx_len = 2, in mipi_dsi_shutdown_peripheral() 253 .tx_len = 2, in mipi_dsi_turn_on_peripheral() 277 .tx_len = sizeof(tx), in mipi_dsi_set_maximum_return_packet_size() 304 .tx_len = size in mipi_dsi_generic_write() 348 .tx_len = num_params, in mipi_dsi_generic_read() [all …]
|
/external/u-boot/drivers/spi/ |
D | stm32_spi.c | 102 unsigned int tx_len; /* number of data to be written in bytes */ member 112 while ((priv->tx_len > 0) && in stm32_spi_write_txfifo() 114 u32 offs = priv->cur_xferlen - priv->tx_len; in stm32_spi_write_txfifo() 116 if (priv->tx_len >= sizeof(u32) && in stm32_spi_write_txfifo() 121 priv->tx_len -= sizeof(u32); in stm32_spi_write_txfifo() 122 } else if (priv->tx_len >= sizeof(u16) && in stm32_spi_write_txfifo() 127 priv->tx_len -= sizeof(u16); in stm32_spi_write_txfifo() 132 priv->tx_len -= sizeof(u8); in stm32_spi_write_txfifo() 136 debug("%s: %d bytes left\n", __func__, priv->tx_len); in stm32_spi_write_txfifo() 377 priv->tx_len = priv->tx_buf ? bitlen / 8 : 0; in stm32_spi_xfer() [all …]
|
D | mt7621_spi.c | 174 size_t tx_len, opcode_len, dido_len; in mt7621_spi_write() local 179 tx_len = min_t(size_t, len, MT7621_TX_FIFO_LEN); in mt7621_spi_write() 181 opcode_len = min_t(size_t, tx_len, 4); in mt7621_spi_write() 182 dido_len = tx_len - opcode_len; in mt7621_spi_write() 212 len -= tx_len; in mt7621_spi_write()
|
D | bcmstb_spi.c | 267 uint tx_len = len; in bcmstb_spi_xfer() local 351 while (priv->tx_slot < NUM_CDRAM && tx_len > 0) { in bcmstb_spi_xfer() 354 out_bytes ? out_bytes[len - tx_len] : 0xff); in bcmstb_spi_xfer() 355 writel(out_bytes ? out_bytes[len - tx_len] : 0xff, in bcmstb_spi_xfer() 360 tx_len--; in bcmstb_spi_xfer() 375 bcmstb_spi_submit(priv, tx_len == 0); in bcmstb_spi_xfer()
|
D | uniphier_spi.c | 216 u32 tx_len, rx_len; in uniphier_spi_xfer() local 231 tx_len = len; in uniphier_spi_xfer() 236 while (tx_len || rx_len) { in uniphier_spi_xfer() 247 if (tx_len && (status & SSI_SR_TNF)) { in uniphier_spi_xfer() 250 tx_len--; in uniphier_spi_xfer()
|
D | zynq_spi.c | 217 u32 tx_len = len, rx_len = len, tx_tvl; in zynq_spi_xfer() local 237 while ((tx_tvl < priv->fifo_depth) && tx_len) { in zynq_spi_xfer() 243 tx_len--; in zynq_spi_xfer()
|
/external/libese/libese-hw/nxp/pn80t/ |
D | common.c | 248 uint32_t tx_len, in nxp_pn80t_handle_interface_call() argument 261 if (ese_sg_to_buf(tx_buf, tx_len, 0, sizeof(buf), buf) != kCommandLength) { in nxp_pn80t_handle_interface_call() 308 const struct EseSgBuffer *tx_buf, uint32_t tx_len, in nxp_pn80t_transceive() argument 312 nxp_pn80t_handle_interface_call(ese, tx_buf, tx_len, rx_buf, rx_len); in nxp_pn80t_transceive() 316 return teq1_transceive(ese, &kTeq1Options, tx_buf, tx_len, rx_buf, rx_len); in nxp_pn80t_transceive()
|
/external/libese/tools/ese_replay/ |
D | payload.c | 27 bool payload_init(struct Payload *p, uint32_t tx_len, uint32_t exp_len) { in payload_init() argument 30 if (!buffer_init(&p->tx, tx_len)) in payload_init()
|
D | payload.h | 31 bool payload_init(struct Payload *p, uint32_t tx_len, uint32_t exp_len);
|
/external/libese/libese/ |
D | ese.c | 87 uint32_t tx_len, uint8_t *rx_buf, uint32_t rx_max) { in ese_transceive() argument 89 .c_base = tx_buf, .len = tx_len, in ese_transceive()
|
/external/libese/libese-hw/ |
D | ese_hw_echo.c | 156 const struct EseSgBuffer *tx_buf, uint32_t tx_len, in echo_transceive() argument 158 return teq1_transceive(ese, &kTeq1Options, tx_buf, tx_len, rx_buf, rx_len); in echo_transceive()
|
/external/libese/libese-hw/nxp/include/ese/hw/nxp/pn80t/ |
D | common.h | 36 const struct EseSgBuffer *tx_buf, uint32_t tx_len,
|
/external/libese/libese/include/ese/ |
D | ese.h | 74 int ese_transceive(struct EseInterface *ese, const uint8_t *tx_buf, uint32_t tx_len, uint8_t *rx_bu…
|
/external/chromium-trace/catapult/third_party/pyserial/serial/ |
D | serialposix.py | 492 tx_len = len(d) 497 while tx_len > 0: 515 tx_len -= n
|
/external/u-boot/include/ |
D | mipi_dsi.h | 43 size_t tx_len; member
|