/Linux-v4.19/drivers/iio/common/ssp_sensors/ |
D | ssp_dev.c | 232 struct ssp_instruction to_send; in ssp_enable_sensor() local 234 to_send.a = cpu_to_le32(delay); in ssp_enable_sensor() 235 to_send.b = cpu_to_le32(data->batch_latency_buf[type]); in ssp_enable_sensor() 236 to_send.c = data->batch_opt_buf[type]; in ssp_enable_sensor() 245 (u8 *)&to_send, sizeof(to_send)); in ssp_enable_sensor() 258 (u8 *)&to_send, sizeof(to_send)); in ssp_enable_sensor() 294 struct ssp_instruction to_send; in ssp_change_delay() local 296 to_send.a = cpu_to_le32(delay); in ssp_change_delay() 297 to_send.b = cpu_to_le32(data->batch_latency_buf[type]); in ssp_change_delay() 298 to_send.c = data->batch_opt_buf[type]; in ssp_change_delay() [all …]
|
/Linux-v4.19/Documentation/usb/ |
D | gadget_hid.txt | 370 int to_send = 8; 427 to_send = keyboard_fill_report(report, buf, &hold); 429 to_send = mouse_fill_report(report, buf, &hold); 431 to_send = joystick_fill_report(report, buf, &hold); 433 if (to_send == -1) 436 if (write(fd, report, to_send) != to_send) { 442 if (write(fd, report, to_send) != to_send) {
|
/Linux-v4.19/drivers/tty/serial/ |
D | sc16is7xx.c | 382 static void sc16is7xx_fifo_write(struct uart_port *port, u8 to_send) in sc16is7xx_fifo_write() argument 392 if (unlikely(!to_send)) in sc16is7xx_fifo_write() 396 regmap_raw_write(s->regmap, addr, s->buf, to_send); in sc16is7xx_fifo_write() 619 unsigned int txlen, to_send, i; in sc16is7xx_handle_tx() local 632 to_send = uart_circ_chars_pending(xmit); in sc16is7xx_handle_tx() 633 if (likely(to_send)) { in sc16is7xx_handle_tx() 642 to_send = (to_send > txlen) ? txlen : to_send; in sc16is7xx_handle_tx() 645 port->icount.tx += to_send; in sc16is7xx_handle_tx() 648 for (i = 0; i < to_send; ++i) { in sc16is7xx_handle_tx() 653 sc16is7xx_fifo_write(port, to_send); in sc16is7xx_handle_tx()
|
D | max310x.c | 723 unsigned int txlen, to_send, until_end; in max310x_handle_tx() local 736 to_send = uart_circ_chars_pending(xmit); in max310x_handle_tx() 738 if (likely(to_send)) { in max310x_handle_tx() 742 to_send = (to_send > txlen) ? txlen : to_send; in max310x_handle_tx() 744 if (until_end < to_send) { in max310x_handle_tx() 748 max310x_batch_write(port, xmit->buf, to_send - until_end); in max310x_handle_tx() 750 max310x_batch_write(port, xmit->buf + xmit->tail, to_send); in max310x_handle_tx() 754 port->icount.tx += to_send; in max310x_handle_tx() 755 xmit->tail = (xmit->tail + to_send) & (UART_XMIT_SIZE - 1); in max310x_handle_tx()
|
/Linux-v4.19/net/smc/ |
D | smc_tx.c | 411 int to_send, rmbespace; in smc_tx_rdma_writes() local 418 to_send = smc_curs_diff(conn->sndbuf_desc->len, &sent, &prep); in smc_tx_rdma_writes() 419 if (to_send <= 0) in smc_tx_rdma_writes() 432 pflags->write_blocked = (to_send >= rmbespace); in smc_tx_rdma_writes() 434 len = min(to_send, rmbespace); in smc_tx_rdma_writes() 471 if (conn->urg_tx_pend && len == to_send) in smc_tx_rdma_writes()
|
/Linux-v4.19/drivers/staging/nvec/ |
D | nvec.c | 580 unsigned char to_send = 0xff; in nvec_interrupt() local 639 to_send = nvec->tx->data[0]; in nvec_interrupt() 655 to_send = nvec->tx->data[nvec->tx->pos++]; in nvec_interrupt() 693 writel(to_send, nvec->base + I2C_SL_RCVD); in nvec_interrupt() 704 to_send, in nvec_interrupt()
|
/Linux-v4.19/tools/testing/selftests/net/ |
D | tls.c | 114 int to_send = strlen(test_str) + 1; in TEST_F() local 123 EXPECT_EQ(send(self->fd, test_str, to_send, 0), to_send); in TEST_F() 124 EXPECT_EQ(recv(self->cfd, recv_buf, to_send, 0), to_send); in TEST_F() 125 EXPECT_EQ(memcmp(test_str, recv_buf, to_send), 0); in TEST_F()
|
/Linux-v4.19/drivers/infiniband/sw/rxe/ |
D | rxe_req.c | 51 int to_send = (wqe->dma.resid > qp->mtu) ? in retry_first_write_send() local 58 wqe->dma.resid -= to_send; in retry_first_write_send() 59 wqe->dma.sge_offset += to_send; in retry_first_write_send() 61 advance_dma_data(&wqe->dma, to_send); in retry_first_write_send()
|