Home
last modified time | relevance | path

Searched refs:to_send (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/iio/common/ssp_sensors/
H A Dssp_dev.c222 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 Dgadget_hid.rst375 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/drivers/infiniband/sw/rxe/
H A Drxe_req.c22 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/drivers/tty/serial/
H A Dsc16is7xx.c352 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 Dtls.c450 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()