Home
last modified time | relevance | path

Searched refs:txlen (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/net/mctp/
H A Dmctp-serial.c66 unsigned int txlen, rxlen; member
82 if (dev->txpos == dev->txlen) in next_chunk_len()
95 for (i = 1; i + dev->txpos < dev->txlen; i++) { in next_chunk_len()
113 ssize_t txlen; in mctp_serial_tx_work() local
127 buf[2] = dev->txlen; in mctp_serial_tx_work()
132 txlen = write_chunk(dev, buf + dev->txpos, 3 - dev->txpos); in mctp_serial_tx_work()
133 if (txlen <= 0) { in mctp_serial_tx_work()
136 dev->txpos += txlen; in mctp_serial_tx_work()
146 txlen = write_chunk(dev, buf, 1); in mctp_serial_tx_work()
147 if (txlen <= 0) { in mctp_serial_tx_work()
[all …]
/linux/drivers/scsi/
H A Dscsi_trace.c21 u32 lba, txlen; in scsi_trace_rw6() local
28 txlen = cdb[4] ? cdb[4] : 256; in scsi_trace_rw6()
30 trace_seq_printf(p, "lba=%u txlen=%u", lba, txlen); in scsi_trace_rw6()
40 u32 lba, txlen; in scsi_trace_rw10() local
43 txlen = get_unaligned_be16(&cdb[7]); in scsi_trace_rw10()
45 trace_seq_printf(p, "lba=%u txlen=%u protect=%u", lba, txlen, in scsi_trace_rw10()
60 u32 lba, txlen; in scsi_trace_rw12() local
63 txlen = get_unaligned_be32(&cdb[6]); in scsi_trace_rw12()
65 trace_seq_printf(p, "lba=%u txlen=%u protect=%u", lba, txlen, in scsi_trace_rw12()
77 u32 txlen; in scsi_trace_rw16() local
[all …]
/linux/drivers/media/usb/dvb-usb/
H A Ddib0700_core.c53 static int dib0700_ctrl_wr(struct dvb_usb_device *d, u8 *tx, u8 txlen) in dib0700_ctrl_wr() argument
58 debug_dump(tx, txlen, deb_data); in dib0700_ctrl_wr()
61 tx[0], USB_TYPE_VENDOR | USB_DIR_OUT, 0, 0, tx, txlen, in dib0700_ctrl_wr()
64 if (status != txlen) in dib0700_ctrl_wr()
65 deb_data("ep 0 write error (status = %d, len: %d)\n",status,txlen); in dib0700_ctrl_wr()
71 int dib0700_ctrl_rd(struct dvb_usb_device *d, u8 *tx, u8 txlen, u8 *rx, u8 rxlen) in dib0700_ctrl_rd() argument
76 if (txlen < 2) { in dib0700_ctrl_rd()
80 if (txlen > 4) { in dib0700_ctrl_rd()
86 debug_dump(tx,txlen,deb_data); in dib0700_ctrl_rd()
88 value = ((txlen - 2) << 8) | tx[1]; in dib0700_ctrl_rd()
[all …]
H A Ddib0700.h60 int dib0700_ctrl_rd(struct dvb_usb_device *d, u8 *tx, u8 txlen, u8 *rx,
/linux/drivers/video/backlight/
H A Dhx8357.c212 u8 *txbuf, u16 txlen, in hx8357_spi_write_then_read() argument
224 if (txlen) { in hx8357_spi_write_then_read()
227 local_txbuf = kcalloc(txlen, sizeof(*local_txbuf), GFP_KERNEL); in hx8357_spi_write_then_read()
232 for (i = 0; i < txlen; i++) { in hx8357_spi_write_then_read()
238 xfer[0].len = 2 * txlen; in hx8357_spi_write_then_read()
255 if (txlen) in hx8357_spi_write_then_read()
/linux/drivers/usb/serial/
H A Dmxuport.c572 u32 txlen; in mxuport_tx_empty() local
585 txlen = get_unaligned_be32(len_buf); in mxuport_tx_empty()
586 dev_dbg(&port->dev, "%s - tx len = %u\n", __func__, txlen); in mxuport_tx_empty()
588 if (txlen != 0) in mxuport_tx_empty()
1003 size_t txlen; in mxuport_download_fw() local
1018 txlen = min_t(size_t, (fw_p->size - fwidx), DOWN_BLOCK_SIZE); in mxuport_download_fw()
1020 memcpy(fw_buf, &fw_p->data[fwidx], txlen); in mxuport_download_fw()
1022 0, 0, fw_buf, txlen); in mxuport_download_fw()
1029 fwidx += txlen; in mxuport_download_fw()
/linux/drivers/bluetooth/
H A Dbtmrvl_sdio.c569 int txlen = 0, tx_blocks = 0, count = 0; in btmrvl_sdio_download_fw_w_helper() local
650 txlen = len; in btmrvl_sdio_download_fw_w_helper()
661 "len = 0x%04X, txlen = %d", len, txlen); in btmrvl_sdio_download_fw_w_helper()
664 txlen = 0; in btmrvl_sdio_download_fw_w_helper()
669 if (firmwarelen - offset < txlen) in btmrvl_sdio_download_fw_w_helper()
670 txlen = firmwarelen - offset; in btmrvl_sdio_download_fw_w_helper()
672 tx_blocks = DIV_ROUND_UP(txlen, blksz_dl); in btmrvl_sdio_download_fw_w_helper()
674 memcpy(fwbuf, &firmware[offset], txlen); in btmrvl_sdio_download_fw_w_helper()
689 offset += txlen; in btmrvl_sdio_download_fw_w_helper()
/linux/drivers/tty/serial/
H A Dsc16is7xx.c654 unsigned int txlen; in sc16is7xx_handle_tx() local
672 txlen = sc16is7xx_port_read(port, SC16IS7XX_TXLVL_REG); in sc16is7xx_handle_tx()
673 if (txlen > SC16IS7XX_FIFO_SIZE) { in sc16is7xx_handle_tx()
676 txlen, SC16IS7XX_FIFO_SIZE); in sc16is7xx_handle_tx()
677 txlen = 0; in sc16is7xx_handle_tx()
680 txlen = kfifo_out_linear_ptr(&tport->xmit_fifo, &tail, txlen); in sc16is7xx_handle_tx()
681 sc16is7xx_fifo_write(port, tail, txlen); in sc16is7xx_handle_tx()
682 uart_xmit_advance(port, txlen); in sc16is7xx_handle_tx()
H A Dmax310x.c796 unsigned int txlen, to_send; in max310x_handle_tx() local
800 txlen = max310x_port_read(port, MAX310X_TXFIFOLVL_REG); in max310x_handle_tx()
801 txlen = port->fifosize - txlen; in max310x_handle_tx()
802 if (!txlen) in max310x_handle_tx()
805 to_send = kfifo_out_linear_ptr(&tport->xmit_fifo, &tail, txlen); in max310x_handle_tx()
/linux/drivers/net/wireless/nxp/nxpwifi/
H A Dsdio.c804 u32 txlen, tx_blocks = 0, tries; in nxpwifi_prog_fw_w_helper() local
876 txlen = len; in nxpwifi_prog_fw_w_helper()
889 "len = 0x%04X, txlen = %d\n", len, txlen); in nxpwifi_prog_fw_w_helper()
892 txlen = 0; in nxpwifi_prog_fw_w_helper()
900 if (firmware_len - offset < txlen) in nxpwifi_prog_fw_w_helper()
901 txlen = firmware_len - offset; in nxpwifi_prog_fw_w_helper()
903 tx_blocks = (txlen + NXPWIFI_SDIO_BLOCK_SIZE - 1) in nxpwifi_prog_fw_w_helper()
907 memcpy(fwbuf, &firmware[offset], txlen); in nxpwifi_prog_fw_w_helper()
923 offset += txlen; in nxpwifi_prog_fw_w_helper()
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dsdio.c1453 u32 txlen, tx_blocks = 0, tries; in mwifiex_prog_fw_w_helper() local
1527 txlen = len; in mwifiex_prog_fw_w_helper()
1540 "len = 0x%04X, txlen = %d\n", len, txlen); in mwifiex_prog_fw_w_helper()
1543 txlen = 0; in mwifiex_prog_fw_w_helper()
1549 if (firmware_len - offset < txlen) in mwifiex_prog_fw_w_helper()
1550 txlen = firmware_len - offset; in mwifiex_prog_fw_w_helper()
1552 tx_blocks = (txlen + MWIFIEX_SDIO_BLOCK_SIZE - 1) in mwifiex_prog_fw_w_helper()
1556 memmove(fwbuf, &firmware[offset], txlen); in mwifiex_prog_fw_w_helper()
1574 offset += txlen; in mwifiex_prog_fw_w_helper()
/linux/drivers/s390/net/
H A Dctcm_main.h124 unsigned long txlen; member
H A Dctcm_main.c504 ch->prof.txlen += skb->len; in ctcm_transmit_skb()
736 ch->prof.txlen += skb->len - PDU_HEADER_LENGTH; in ctcmpc_transmit_skb()
/linux/drivers/input/touchscreen/
H A Dwdt87xx_i2c.c188 void *txdata, size_t txlen, in wdt87xx_i2c_xfer() argument
195 .len = txlen, in wdt87xx_i2c_xfer()
/linux/drivers/media/dvb-frontends/
H A Ddib9000.c208 …truct dib9000_state *state, u32 address, u16 attribute, const u8 * tx, u32 txlen, u8 * b, u32 len);
1012 …struct dib9000_state *state, u32 address, u16 attribute, const u8 * tx, u32 txlen, u8 * b, u32 len) in dib9000_risc_apb_access_read() argument