Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/iio/common/ssp_sensors/
Dssp_dev.c232 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-4.4.14/Documentation/usb/
Dgadget_hid.txt370 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-4.4.14/drivers/tty/serial/
Dsc16is7xx.c386 static void sc16is7xx_fifo_write(struct uart_port *port, u8 to_send) in sc16is7xx_fifo_write() argument
393 regmap_raw_write(s->regmap, addr, s->buf, to_send); in sc16is7xx_fifo_write()
616 unsigned int txlen, to_send, i; in sc16is7xx_handle_tx() local
629 to_send = uart_circ_chars_pending(xmit); in sc16is7xx_handle_tx()
630 if (likely(to_send)) { in sc16is7xx_handle_tx()
633 to_send = (to_send > txlen) ? txlen : to_send; in sc16is7xx_handle_tx()
636 port->icount.tx += to_send; in sc16is7xx_handle_tx()
639 for (i = 0; i < to_send; ++i) { in sc16is7xx_handle_tx()
644 sc16is7xx_fifo_write(port, to_send); in sc16is7xx_handle_tx()
Dmax310x.c653 unsigned int txlen, to_send; in max310x_handle_tx() local
666 to_send = uart_circ_chars_pending(xmit); in max310x_handle_tx()
667 if (likely(to_send)) { in max310x_handle_tx()
671 to_send = (to_send > txlen) ? txlen : to_send; in max310x_handle_tx()
674 port->icount.tx += to_send; in max310x_handle_tx()
675 while (to_send--) { in max310x_handle_tx()
/linux-4.4.14/kernel/
Dauditsc.c1013 size_t len, len_left, to_send; in audit_log_single_execve_arg() local
1035 to_send = MAX_EXECVE_AUDIT_LEN; in audit_log_single_execve_arg()
1037 to_send = len_left; in audit_log_single_execve_arg()
1038 ret = copy_from_user(buf, tmp_p, to_send); in audit_log_single_execve_arg()
1049 buf[to_send] = '\0'; in audit_log_single_execve_arg()
1050 has_cntl = audit_string_contains_control(buf, to_send); in audit_log_single_execve_arg()
1059 len_left -= to_send; in audit_log_single_execve_arg()
1060 tmp_p += to_send; in audit_log_single_execve_arg()
1073 to_send = max_execve_audit_len; in audit_log_single_execve_arg()
1075 to_send = len_left; in audit_log_single_execve_arg()
[all …]
/linux-4.4.14/drivers/staging/nvec/
Dnvec.c582 unsigned char to_send = 0xff; in nvec_interrupt() local
642 to_send = nvec->tx->data[0]; in nvec_interrupt()
659 to_send = nvec->tx->data[nvec->tx->pos++]; in nvec_interrupt()
696 writel(to_send, nvec->base + I2C_SL_RCVD); in nvec_interrupt()
707 to_send, in nvec_interrupt()