Home
last modified time | relevance | path

Searched refs:to_send (Results 1 – 6 of 6) 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/kernel/bpf/
H A Ddevmap.c383 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/net/bridge/
H A Dbr_multicast.c2470 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 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()