/Linux-v6.1/drivers/iio/common/ssp_sensors/ |
D | ssp_dev.c | 222 struct ssp_instruction to_send; in ssp_enable_sensor() local 224 to_send.a = cpu_to_le32(delay); in ssp_enable_sensor() 225 to_send.b = cpu_to_le32(data->batch_latency_buf[type]); in ssp_enable_sensor() 226 to_send.c = data->batch_opt_buf[type]; in ssp_enable_sensor() 235 (u8 *)&to_send, sizeof(to_send)); in ssp_enable_sensor() 248 (u8 *)&to_send, sizeof(to_send)); in ssp_enable_sensor() 284 struct ssp_instruction to_send; in ssp_change_delay() local 286 to_send.a = cpu_to_le32(delay); in ssp_change_delay() 287 to_send.b = cpu_to_le32(data->batch_latency_buf[type]); in ssp_change_delay() 288 to_send.c = data->batch_opt_buf[type]; in ssp_change_delay() [all …]
|
/Linux-v6.1/Documentation/usb/ |
D | gadget_hid.rst | 375 int to_send = 8; 432 to_send = keyboard_fill_report(report, buf, &hold); 434 to_send = mouse_fill_report(report, buf, &hold); 436 to_send = joystick_fill_report(report, buf, &hold); 438 if (to_send == -1) 441 if (write(fd, report, to_send) != to_send) { 447 if (write(fd, report, to_send) != to_send) {
|
/Linux-v6.1/drivers/tty/serial/ |
D | max310x.c | 761 unsigned int txlen, to_send, until_end; in max310x_handle_tx() local 774 to_send = uart_circ_chars_pending(xmit); in max310x_handle_tx() 776 if (likely(to_send)) { in max310x_handle_tx() 780 to_send = (to_send > txlen) ? txlen : to_send; in max310x_handle_tx() 782 if (until_end < to_send) { in max310x_handle_tx() 786 max310x_batch_write(port, xmit->buf, to_send - until_end); in max310x_handle_tx() 788 max310x_batch_write(port, xmit->buf + xmit->tail, to_send); in max310x_handle_tx() 792 port->icount.tx += to_send; in max310x_handle_tx() 793 xmit->tail = (xmit->tail + to_send) & (UART_XMIT_SIZE - 1); in max310x_handle_tx()
|
D | sc16is7xx.c | 398 static void sc16is7xx_fifo_write(struct uart_port *port, u8 to_send) in sc16is7xx_fifo_write() argument 408 if (unlikely(!to_send)) in sc16is7xx_fifo_write() 412 regmap_raw_write(s->regmap, addr, s->buf, to_send); in sc16is7xx_fifo_write() 659 unsigned int txlen, to_send, i; in sc16is7xx_handle_tx() local 677 to_send = uart_circ_chars_pending(xmit); in sc16is7xx_handle_tx() 678 if (likely(to_send)) { in sc16is7xx_handle_tx() 687 to_send = (to_send > txlen) ? txlen : to_send; in sc16is7xx_handle_tx() 690 port->icount.tx += to_send; in sc16is7xx_handle_tx() 693 for (i = 0; i < to_send; ++i) { in sc16is7xx_handle_tx() 698 sc16is7xx_fifo_write(port, to_send); in sc16is7xx_handle_tx()
|
/Linux-v6.1/net/smc/ |
D | smc_tx.c | 486 int to_send, rmbespace; in smc_tx_rdma_writes() local 493 to_send = smc_curs_diff(conn->sndbuf_desc->len, &sent, &prep); in smc_tx_rdma_writes() 494 if (to_send <= 0) in smc_tx_rdma_writes() 511 pflags->write_blocked = (to_send >= rmbespace); in smc_tx_rdma_writes() 513 len = min(to_send, rmbespace); in smc_tx_rdma_writes() 550 if (conn->urg_tx_pend && len == to_send) in smc_tx_rdma_writes()
|
/Linux-v6.1/drivers/staging/nvec/ |
D | nvec.c | 581 unsigned char to_send = 0xff; in nvec_interrupt() local 640 to_send = nvec->tx->data[0]; in nvec_interrupt() 656 to_send = nvec->tx->data[nvec->tx->pos++]; in nvec_interrupt() 694 writel(to_send, nvec->base + I2C_SL_RCVD); in nvec_interrupt() 705 to_send, in nvec_interrupt()
|
/Linux-v6.1/kernel/bpf/ |
D | devmap.c | 370 int to_send = cnt; in bq_xmit_all() local 383 to_send = dev_map_bpf_prog_run(bq->xdp_prog, bq->q, cnt, dev); in bq_xmit_all() 384 if (!to_send) in bq_xmit_all() 388 sent = dev->netdev_ops->ndo_xdp_xmit(dev, to_send, bq->q, flags); in bq_xmit_all() 400 for (i = sent; unlikely(i < to_send); i++) in bq_xmit_all()
|
/Linux-v6.1/drivers/infiniband/sw/rxe/ |
D | rxe_req.c | 23 int to_send = (wqe->dma.resid > qp->mtu) ? in retry_first_write_send() local 30 wqe->dma.resid -= to_send; in retry_first_write_send() 31 wqe->dma.sge_offset += to_send; in retry_first_write_send() 33 advance_dma_data(&wqe->dma, to_send); in retry_first_write_send()
|
/Linux-v6.1/net/bridge/ |
D | br_multicast.c | 2232 u32 src_idx, to_send = pg->src_ents; in __grp_src_toin_incl() local 2248 to_send--; in __grp_src_toin_incl() 2262 if (to_send) in __grp_src_toin_incl() 2279 u32 src_idx, to_send = pg->src_ents; in __grp_src_toin_excl() local 2297 to_send--; in __grp_src_toin_excl() 2312 if (to_send) in __grp_src_toin_excl() 2364 u32 src_idx, to_send = 0; in __grp_src_toex_incl() local 2378 to_send++; in __grp_src_toex_incl() 2390 if (to_send) in __grp_src_toex_incl() 2408 u32 src_idx, to_send = 0; in __grp_src_toex_excl() local [all …]
|
/Linux-v6.1/tools/testing/selftests/net/ |
D | tls.c | 355 int to_send = strlen(test_str) + 1; in TEST_F() local 364 EXPECT_EQ(send(self->fd, test_str, to_send, 0), to_send); in TEST_F() 365 EXPECT_EQ(recv(self->cfd, recv_buf, to_send, MSG_WAITALL), to_send); in TEST_F() 366 EXPECT_EQ(memcmp(test_str, recv_buf, to_send), 0); in TEST_F()
|