Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/scsi/
Dscsi_trace.c21 sector_t lba = 0, txlen = 0; in scsi_trace_rw6() local
26 txlen = cdb[4]; in scsi_trace_rw6()
29 (unsigned long long)lba, (unsigned long long)txlen); in scsi_trace_rw6()
39 sector_t lba = 0, txlen = 0; in scsi_trace_rw10() local
45 txlen |= (cdb[7] << 8); in scsi_trace_rw10()
46 txlen |= cdb[8]; in scsi_trace_rw10()
49 (unsigned long long)lba, (unsigned long long)txlen, in scsi_trace_rw10()
64 sector_t lba = 0, txlen = 0; in scsi_trace_rw12() local
70 txlen |= (cdb[6] << 24); in scsi_trace_rw12()
71 txlen |= (cdb[7] << 16); in scsi_trace_rw12()
[all …]
/Linux-v5.4/tools/lib/traceevent/plugins/
Dplugin_scsi.c160 sector_t lba = 0, txlen = 0; in scsi_trace_rw6() local
165 txlen = cdb[4]; in scsi_trace_rw6()
168 (unsigned long long)lba, (unsigned long long)txlen); in scsi_trace_rw6()
177 sector_t lba = 0, txlen = 0; in scsi_trace_rw10() local
183 txlen |= (cdb[7] << 8); in scsi_trace_rw10()
184 txlen |= cdb[8]; in scsi_trace_rw10()
187 (unsigned long long)lba, (unsigned long long)txlen, in scsi_trace_rw10()
201 sector_t lba = 0, txlen = 0; in scsi_trace_rw12() local
207 txlen |= (cdb[6] << 24); in scsi_trace_rw12()
208 txlen |= (cdb[7] << 16); in scsi_trace_rw12()
[all …]
/Linux-v5.4/drivers/net/wireless/ath/ath10k/
Dbmi.c269 u32 txlen; in ath10k_bmi_write_memory() local
281 txlen = min(length, BMI_MAX_DATA_SIZE - hdrlen); in ath10k_bmi_write_memory()
284 memcpy(cmd.write_mem.payload, buffer, txlen); in ath10k_bmi_write_memory()
285 txlen = roundup(txlen, 4); in ath10k_bmi_write_memory()
289 cmd.write_mem.len = __cpu_to_le32(txlen); in ath10k_bmi_write_memory()
291 ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, hdrlen + txlen, in ath10k_bmi_write_memory()
300 txlen = min(txlen, length); in ath10k_bmi_write_memory()
302 address += txlen; in ath10k_bmi_write_memory()
303 buffer += txlen; in ath10k_bmi_write_memory()
304 length -= txlen; in ath10k_bmi_write_memory()
[all …]
/Linux-v5.4/drivers/staging/rtl8723bs/hal/
Drtl8723bs_xmit.c211 u32 txlen, max_xmit_len; in xmit_xmitframes() local
284 txlen = txdesc_size + rtw_wlan_pkt_size(pxmitframe); in xmit_xmitframes()
286 ((_RND(pxmitbuf->len, 8) + txlen) > max_xmit_len) || in xmit_xmitframes()
357 txlen = txdesc_size + pxmitframe->attrib.last_txcmdsz; in xmit_xmitframes()
358 pxmitframe->pg_num = (txlen + 127) / 128; in xmit_xmitframes()
359 pxmitbuf->pg_num += (txlen + 127) / 128; in xmit_xmitframes()
362 pxmitbuf->ptail += _RND(txlen, 8); /* round to 8 bytes alignment */ in xmit_xmitframes()
363 pxmitbuf->len = _RND(pxmitbuf->len, 8) + txlen; in xmit_xmitframes()
/Linux-v5.4/drivers/gpu/drm/mcde/
Dmcde_dsi.c181 size_t txlen = msg->tx_len; in mcde_dsi_host_transfer() local
187 if (txlen > 16) { in mcde_dsi_host_transfer()
200 msg->channel, txlen, rxlen); in mcde_dsi_host_transfer()
217 val |= txlen << DSI_DIRECT_CMD_MAIN_SETTINGS_CMD_SIZE_SHIFT; in mcde_dsi_host_transfer()
223 if (txlen > 0) { in mcde_dsi_host_transfer()
225 for (i = 0; i < 4 && i < txlen; i++) in mcde_dsi_host_transfer()
229 if (txlen > 4) { in mcde_dsi_host_transfer()
231 for (i = 0; i < 4 && (i + 4) < txlen; i++) in mcde_dsi_host_transfer()
235 if (txlen > 8) { in mcde_dsi_host_transfer()
237 for (i = 0; i < 4 && (i + 8) < txlen; i++) in mcde_dsi_host_transfer()
[all …]
/Linux-v5.4/drivers/media/usb/dvb-usb/
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 …]
Dtechnisat-usb2.c85 u8 device_addr, u8 *tx, u8 txlen, u8 *rx, u8 rxlen) in technisat_usb2_i2c_access() argument
95 debug_dump(tx, txlen, deb_i2c); in technisat_usb2_i2c_access()
98 if (txlen > 62) { in technisat_usb2_i2c_access()
101 txlen = 62; in technisat_usb2_i2c_access()
117 memcpy(&b[2], tx, txlen); in technisat_usb2_i2c_access()
120 b, 2 + txlen, in technisat_usb2_i2c_access()
Ddib0700.h59 extern int dib0700_ctrl_rd(struct dvb_usb_device *d, u8 *tx, u8 txlen, u8 *rx, u8 rxlen);
/Linux-v5.4/drivers/media/dvb-frontends/
Ddibx000_common.c101 u16 txlen = msg->len, len; in dibx000_master_i2c_write() local
104 while (txlen) { in dibx000_master_i2c_write()
107 len = txlen > 8 ? 8 : txlen; in dibx000_master_i2c_write()
123 if (txlen == msg->len) in dibx000_master_i2c_write()
126 if (txlen-len == 0 && stop) in dibx000_master_i2c_write()
133 txlen -= len; in dibx000_master_i2c_write()
/Linux-v5.4/drivers/staging/isdn/avm/
Db1dma.c374 u32 txlen; in b1dma_dispatch_tx() local
396 txlen = (u8 *)p - (u8 *)dma->sendbuf.dmabuf; in b1dma_dispatch_tx()
398 printk(KERN_DEBUG "tx: put msg len=%d\n", txlen); in b1dma_dispatch_tx()
401 txlen = skb->len - 2; in b1dma_dispatch_tx()
408 skb->data[2], txlen); in b1dma_dispatch_tx()
413 txlen = (txlen + 3) & ~3; in b1dma_dispatch_tx()
416 b1dma_writel(card, txlen, AMCC_TXLEN); in b1dma_dispatch_tx()
868 u32 txoff, txlen, rxoff, rxlen, csr; in b1dma_proc_show() local
926 txlen = b1dma_readl(card, AMCC_TXLEN); in b1dma_proc_show()
938 seq_printf(m, "%-16s %lu\n", "txlen", (unsigned long)txlen); in b1dma_proc_show()
Dc4.c416 u32 txlen; in c4_dispatch_tx() local
449 txlen = (u8 *)p - (u8 *)dma->sendbuf.dmabuf; in c4_dispatch_tx()
451 printk(KERN_DEBUG "%s: tx put msg len=%d\n", card->name, txlen); in c4_dispatch_tx()
454 txlen = skb->len - 2; in c4_dispatch_tx()
461 card->name, skb->data[2], txlen); in c4_dispatch_tx()
466 txlen = (txlen + 3) & ~3; in c4_dispatch_tx()
469 c4outmeml(card->mbase + MBOX_DOWN_LEN, txlen); in c4_dispatch_tx()
/Linux-v5.4/drivers/video/backlight/
Dhx8357.c214 u8 *txbuf, u16 txlen, in hx8357_spi_write_then_read() argument
226 if (txlen) { in hx8357_spi_write_then_read()
229 local_txbuf = kcalloc(txlen, sizeof(*local_txbuf), GFP_KERNEL); in hx8357_spi_write_then_read()
234 for (i = 0; i < txlen; i++) { in hx8357_spi_write_then_read()
240 xfer[0].len = 2 * txlen; in hx8357_spi_write_then_read()
257 if (txlen) in hx8357_spi_write_then_read()
/Linux-v5.4/drivers/usb/serial/
Dmxuport.c581 u32 txlen; in mxuport_tx_empty() local
594 txlen = get_unaligned_be32(len_buf); in mxuport_tx_empty()
595 dev_dbg(&port->dev, "%s - tx len = %u\n", __func__, txlen); in mxuport_tx_empty()
597 if (txlen != 0) in mxuport_tx_empty()
1010 size_t txlen; in mxuport_download_fw() local
1025 txlen = min_t(size_t, (fw_p->size - fwidx), DOWN_BLOCK_SIZE); in mxuport_download_fw()
1027 memcpy(fw_buf, &fw_p->data[fwidx], txlen); in mxuport_download_fw()
1029 0, 0, fw_buf, txlen); in mxuport_download_fw()
1036 fwidx += txlen; in mxuport_download_fw()
/Linux-v5.4/include/linux/
DmISDNdsp.h17 unsigned int txlen);
Dsdla.h213 short txlen; member
/Linux-v5.4/drivers/bluetooth/
Dbtmrvl_sdio.c624 int txlen = 0, tx_blocks = 0, count = 0; in btmrvl_sdio_download_fw_w_helper() local
705 txlen = len; in btmrvl_sdio_download_fw_w_helper()
716 "len = 0x%04X, txlen = %d", len, txlen); in btmrvl_sdio_download_fw_w_helper()
719 txlen = 0; in btmrvl_sdio_download_fw_w_helper()
724 if (firmwarelen - offset < txlen) in btmrvl_sdio_download_fw_w_helper()
725 txlen = firmwarelen - offset; in btmrvl_sdio_download_fw_w_helper()
727 tx_blocks = DIV_ROUND_UP(txlen, blksz_dl); in btmrvl_sdio_download_fw_w_helper()
729 memcpy(fwbuf, &firmware[offset], txlen); in btmrvl_sdio_download_fw_w_helper()
744 offset += txlen; in btmrvl_sdio_download_fw_w_helper()
/Linux-v5.4/drivers/tty/serial/
Dsc16is7xx.c637 unsigned int txlen, to_send, i; in sc16is7xx_handle_tx() local
653 txlen = sc16is7xx_port_read(port, SC16IS7XX_TXLVL_REG); in sc16is7xx_handle_tx()
654 if (txlen > SC16IS7XX_FIFO_SIZE) { in sc16is7xx_handle_tx()
657 txlen, SC16IS7XX_FIFO_SIZE); in sc16is7xx_handle_tx()
658 txlen = 0; in sc16is7xx_handle_tx()
660 to_send = (to_send > txlen) ? txlen : to_send; in sc16is7xx_handle_tx()
Dmax310x.c751 unsigned int txlen, to_send, until_end; in max310x_handle_tx() local
768 txlen = max310x_port_read(port, MAX310X_TXFIFOLVL_REG); in max310x_handle_tx()
769 txlen = port->fifosize - txlen; in max310x_handle_tx()
770 to_send = (to_send > txlen) ? txlen : to_send; in max310x_handle_tx()
/Linux-v5.4/drivers/mtd/spi-nor/
Dmtk-quadspi.c154 u8 *tx, int txlen, u8 *rx, int rxlen) in mtk_nor_do_tx_rx() argument
156 int len = 1 + txlen + rxlen; in mtk_nor_do_tx_rx()
172 for (i = 0; i < txlen; i++, idx--) in mtk_nor_do_tx_rx()
/Linux-v5.4/drivers/isdn/mISDN/
Ddsp_pipeline.c327 unsigned int txlen) in dsp_pipeline_process_rx() argument
336 entry->elem->process_rx(entry->p, data, len, txlen); in dsp_pipeline_process_rx()
Ddsp.h277 int len, unsigned int txlen);
/Linux-v5.4/drivers/media/rc/
Dwinbond-cir.c207 u32 txlen; member
411 for (used = 0; used < space && data->txoff != data->txlen; used++) { in wbcir_irq_tx()
423 while (data->txoff != data->txlen && data->txbuf[data->txoff] == 0) in wbcir_irq_tx()
435 } else if (data->txoff == data->txlen) { in wbcir_irq_tx()
652 data->txlen = count; in wbcir_tx()
/Linux-v5.4/drivers/net/wireless/marvell/mwifiex/
Dsdio.c997 u32 txlen, tx_blocks = 0, tries; in mwifiex_prog_fw_w_helper() local
1071 txlen = len; in mwifiex_prog_fw_w_helper()
1084 "len = 0x%04X, txlen = %d\n", len, txlen); in mwifiex_prog_fw_w_helper()
1087 txlen = 0; in mwifiex_prog_fw_w_helper()
1093 if (firmware_len - offset < txlen) in mwifiex_prog_fw_w_helper()
1094 txlen = firmware_len - offset; in mwifiex_prog_fw_w_helper()
1096 tx_blocks = (txlen + MWIFIEX_SDIO_BLOCK_SIZE - 1) in mwifiex_prog_fw_w_helper()
1100 memmove(fwbuf, &firmware[offset], txlen); in mwifiex_prog_fw_w_helper()
1118 offset += txlen; in mwifiex_prog_fw_w_helper()
Dpcie.c2108 u32 txlen, tx_blocks = 0, tries, len, val; in mwifiex_prog_fw_w_helper() local
2184 txlen = len; in mwifiex_prog_fw_w_helper()
2198 len, txlen); in mwifiex_prog_fw_w_helper()
2201 txlen = 0; in mwifiex_prog_fw_w_helper()
2206 if (firmware_len - offset < txlen) in mwifiex_prog_fw_w_helper()
2207 txlen = firmware_len - offset; in mwifiex_prog_fw_w_helper()
2209 tx_blocks = (txlen + card->pcie.blksz_fw_dl - 1) / in mwifiex_prog_fw_w_helper()
2213 memmove(skb->data, &firmware[offset], txlen); in mwifiex_prog_fw_w_helper()
2255 offset += txlen; in mwifiex_prog_fw_w_helper()
/Linux-v5.4/drivers/s390/net/
Dctcm_main.h123 unsigned long txlen; member

12