Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/platforms/pseries/
H A Ddtl.c263 long int rc, n_read, n_req, read_size; in dtl_file_read() local
276 n_read = 0; in dtl_file_read()
310 n_read += read_size; in dtl_file_read()
319 n_read += n_req; in dtl_file_read()
321 return n_read * sizeof(struct dtl_entry); in dtl_file_read()
/openbmc/qemu/scsi/
H A Dqemu-pr-helper.c607 ssize_t n_read; in prh_read() local
611 n_read = qio_channel_readv_full(QIO_CHANNEL(client->ioc), &iov, 1, in prh_read()
614 if (n_read == QIO_CHANNEL_ERR_BLOCK) { in prh_read()
618 if (n_read <= 0) { in prh_read()
619 ret = n_read ? n_read : -1; in prh_read()
641 buf += n_read; in prh_read()
642 sz -= n_read; in prh_read()
/openbmc/linux/drivers/usb/host/
H A Dxhci-dbgtty.c364 n = port->n_read; in dbc_rx_push()
375 port->n_read += count; in dbc_rx_push()
378 port->n_read = 0; in dbc_rx_push()
429 port->n_read = 0; in xhci_dbc_tty_init_port()
H A Dxhci-dbgcap.h107 unsigned int n_read; member
/openbmc/linux/drivers/usb/gadget/function/
H A Du_serial.c117 unsigned n_read; member
405 n = port->n_read; in gs_rx_push()
417 port->n_read += count; in gs_rx_push()
422 port->n_read = 0; in gs_rx_push()
569 port->n_read = 0; in gs_start_io()
/openbmc/linux/drivers/spi/
H A Dspi-topcliff-pch.c266 u32 n_read, tx_index, rx_index, bpw_len; in pch_spi_handler_sub() local
287 n_read = PCH_READABLE(reg_spsr_val); in pch_spi_handler_sub()
289 for (read_cnt = 0; (read_cnt < n_read); read_cnt++) { in pch_spi_handler_sub()