| /linux/drivers/iio/common/ssp_sensors/ |
| H A 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/Documentation/usb/ |
| H A 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/tools/testing/selftests/drivers/net/hw/ |
| H A D | iou-zcrx.c | 381 ssize_t to_send = cfg_send_size; in run_client() local 393 while (to_send) { in run_client() 396 chunk = min_t(ssize_t, cfg_payload_len, to_send); in run_client() 401 to_send -= res; in run_client()
|
| /linux/net/smc/ |
| H A D | smc_tx.c | 472 int to_send, rmbespace; in smc_tx_rdma_writes() local 479 to_send = smc_curs_diff(conn->sndbuf_desc->len, &sent, &prep); in smc_tx_rdma_writes() 480 if (to_send <= 0) in smc_tx_rdma_writes() 497 pflags->write_blocked = (to_send >= rmbespace); in smc_tx_rdma_writes() 499 len = min(to_send, rmbespace); in smc_tx_rdma_writes() 536 if (conn->urg_tx_pend && len == to_send) in smc_tx_rdma_writes()
|
| /linux/drivers/staging/nvec/ |
| H A D | nvec.c | 602 unsigned char to_send = 0xff; in nvec_interrupt() local 660 to_send = nvec->tx->data[0]; in nvec_interrupt() 679 to_send = nvec->tx->data[nvec->tx->pos++]; in nvec_interrupt() 717 tegra_i2c_writel(to_send, nvec->base + I2C_SL_RCVD); in nvec_interrupt() 728 to_send, in nvec_interrupt()
|
| /linux/kernel/bpf/ |
| H A D | devmap.c | 383 int to_send = cnt; in bq_xmit_all() local 398 to_send = dev_map_bpf_prog_run(bq->xdp_prog, bq->q, cnt, dev, bq->dev_rx); in bq_xmit_all() 399 if (!to_send) in bq_xmit_all() 403 sent = dev->netdev_ops->ndo_xdp_xmit(dev, to_send, bq->q, flags); in bq_xmit_all() 415 for (i = sent; unlikely(i < to_send); i++) in bq_xmit_all()
|
| /linux/drivers/infiniband/sw/rxe/ |
| H A D | rxe_req.c | 22 int to_send = (wqe->dma.resid > qp->mtu) ? in retry_first_write_send() local 29 wqe->dma.resid -= to_send; in retry_first_write_send() 30 wqe->dma.sge_offset += to_send; in retry_first_write_send() 32 advance_dma_data(&wqe->dma, to_send); in retry_first_write_send()
|
| /linux/net/bridge/ |
| H A D | br_multicast.c | 2470 u32 src_idx, to_send = pg->src_ents; in __grp_src_toin_incl() local 2486 to_send--; in __grp_src_toin_incl() 2500 if (to_send) in __grp_src_toin_incl() 2517 u32 src_idx, to_send = pg->src_ents; in __grp_src_toin_excl() local 2535 to_send--; in __grp_src_toin_excl() 2550 if (to_send) in __grp_src_toin_excl() 2602 u32 src_idx, to_send = 0; in __grp_src_toex_incl() local 2616 to_send++; in __grp_src_toex_incl() 2628 if (to_send) in __grp_src_toex_incl() 2646 u32 src_idx, to_send = 0; in __grp_src_toex_excl() local [all …]
|
| /linux/drivers/tty/serial/ |
| H A D | max310x.c | 751 unsigned int txlen, to_send; in max310x_handle_tx() local 775 to_send = kfifo_out_linear_ptr(&tport->xmit_fifo, &tail, txlen); in max310x_handle_tx() 776 max310x_batch_write(port, tail, to_send); in max310x_handle_tx() 777 uart_xmit_advance(port, to_send); in max310x_handle_tx()
|
| H A D | sc16is7xx.c | 352 static void sc16is7xx_fifo_write(struct uart_port *port, u8 *txbuf, u8 to_send) in sc16is7xx_fifo_write() argument 360 if (unlikely(!to_send)) in sc16is7xx_fifo_write() 363 regmap_noinc_write(one->regmap, SC16IS7XX_THR_REG, txbuf, to_send); in sc16is7xx_fifo_write()
|
| /linux/tools/testing/selftests/net/ |
| H A D | tls.c | 450 int to_send = strlen(test_str) + 1; in TEST_F() local 459 EXPECT_EQ(send(self->fd, test_str, to_send, 0), to_send); in TEST_F() 460 EXPECT_EQ(recv(self->cfd, recv_buf, to_send, MSG_WAITALL), to_send); in TEST_F() 461 EXPECT_EQ(memcmp(test_str, recv_buf, to_send), 0); in TEST_F()
|