/drivers/scsi/ |
D | scsi_trace.c | 33 sector_t lba = 0, txlen = 0; in scsi_trace_rw6() local 38 txlen = cdb[4]; in scsi_trace_rw6() 41 (unsigned long long)lba, (unsigned long long)txlen); in scsi_trace_rw6() 51 sector_t lba = 0, txlen = 0; in scsi_trace_rw10() local 57 txlen |= (cdb[7] << 8); in scsi_trace_rw10() 58 txlen |= cdb[8]; in scsi_trace_rw10() 61 (unsigned long long)lba, (unsigned long long)txlen, in scsi_trace_rw10() 76 sector_t lba = 0, txlen = 0; in scsi_trace_rw12() local 82 txlen |= (cdb[6] << 24); in scsi_trace_rw12() 83 txlen |= (cdb[7] << 16); in scsi_trace_rw12() [all …]
|
/drivers/net/wireless/ath/ath10k/ |
D | bmi.c | 137 u32 txlen; in ath10k_bmi_write_memory() local 149 txlen = min(length, BMI_MAX_DATA_SIZE - hdrlen); in ath10k_bmi_write_memory() 152 memcpy(cmd.write_mem.payload, buffer, txlen); in ath10k_bmi_write_memory() 153 txlen = roundup(txlen, 4); in ath10k_bmi_write_memory() 157 cmd.write_mem.len = __cpu_to_le32(txlen); in ath10k_bmi_write_memory() 159 ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, hdrlen + txlen, in ath10k_bmi_write_memory() 168 txlen = min(txlen, length); in ath10k_bmi_write_memory() 170 address += txlen; in ath10k_bmi_write_memory() 171 buffer += txlen; in ath10k_bmi_write_memory() 172 length -= txlen; in ath10k_bmi_write_memory() [all …]
|
/drivers/media/usb/dvb-usb/ |
D | dib0700_core.c | 59 static int dib0700_ctrl_wr(struct dvb_usb_device *d, u8 *tx, u8 txlen) in dib0700_ctrl_wr() argument 64 debug_dump(tx, txlen, deb_data); in dib0700_ctrl_wr() 67 tx[0], USB_TYPE_VENDOR | USB_DIR_OUT, 0, 0, tx, txlen, in dib0700_ctrl_wr() 70 if (status != txlen) in dib0700_ctrl_wr() 71 deb_data("ep 0 write error (status = %d, len: %d)\n",status,txlen); in dib0700_ctrl_wr() 77 int dib0700_ctrl_rd(struct dvb_usb_device *d, u8 *tx, u8 txlen, u8 *rx, u8 rxlen) in dib0700_ctrl_rd() argument 82 if (txlen < 2) { in dib0700_ctrl_rd() 86 if (txlen > 4) { in dib0700_ctrl_rd() 92 debug_dump(tx,txlen,deb_data); in dib0700_ctrl_rd() 94 value = ((txlen - 2) << 8) | tx[1]; in dib0700_ctrl_rd() [all …]
|
D | technisat-usb2.c | 90 u8 device_addr, u8 *tx, u8 txlen, u8 *rx, u8 rxlen) in technisat_usb2_i2c_access() argument 100 debug_dump(tx, txlen, deb_i2c); in technisat_usb2_i2c_access() 103 if (txlen > 62) { in technisat_usb2_i2c_access() 106 txlen = 62; in technisat_usb2_i2c_access() 122 memcpy(&b[2], tx, txlen); in technisat_usb2_i2c_access() 125 b, 2 + txlen, in technisat_usb2_i2c_access()
|
D | dib0700.h | 60 extern int dib0700_ctrl_rd(struct dvb_usb_device *d, u8 *tx, u8 txlen, u8 *rx, u8 rxlen);
|
/drivers/media/dvb-frontends/ |
D | dibx000_common.c | 94 u16 txlen = msg->len, len; in dibx000_master_i2c_write() local 97 while (txlen) { in dibx000_master_i2c_write() 100 len = txlen > 8 ? 8 : txlen; in dibx000_master_i2c_write() 116 if (txlen == msg->len) in dibx000_master_i2c_write() 119 if (txlen-len == 0 && stop) in dibx000_master_i2c_write() 126 txlen -= len; in dibx000_master_i2c_write()
|
/drivers/isdn/hardware/avm/ |
D | b1dma.c | 374 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 b1dmactl_proc_show() local 926 txlen = b1dma_readl(card, AMCC_TXLEN); in b1dmactl_proc_show() 938 seq_printf(m, "%-16s %lu\n", "txlen", (unsigned long)txlen); in b1dmactl_proc_show()
|
D | c4.c | 416 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()
|
/drivers/video/backlight/ |
D | hx8357.c | 215 u8 *txbuf, u16 txlen, in hx8357_spi_write_then_read() argument 227 if (txlen) { in hx8357_spi_write_then_read() 230 local_txbuf = kcalloc(txlen, sizeof(*local_txbuf), GFP_KERNEL); in hx8357_spi_write_then_read() 235 for (i = 0; i < txlen; i++) { in hx8357_spi_write_then_read() 241 xfer[0].len = 2 * txlen; in hx8357_spi_write_then_read() 258 if (txlen) in hx8357_spi_write_then_read()
|
/drivers/usb/serial/ |
D | mxuport.c | 585 u32 txlen; in mxuport_tx_empty() local 598 txlen = get_unaligned_be32(len_buf); in mxuport_tx_empty() 599 dev_dbg(&port->dev, "%s - tx len = %u\n", __func__, txlen); in mxuport_tx_empty() 601 if (txlen != 0) in mxuport_tx_empty() 995 size_t txlen; in mxuport_download_fw() local 1010 txlen = min_t(size_t, (fw_p->size - fwidx), DOWN_BLOCK_SIZE); in mxuport_download_fw() 1012 memcpy(fw_buf, &fw_p->data[fwidx], txlen); in mxuport_download_fw() 1014 0, 0, fw_buf, txlen); in mxuport_download_fw() 1021 fwidx += txlen; in mxuport_download_fw()
|
/drivers/bluetooth/ |
D | btmrvl_sdio.c | 550 int txlen = 0, tx_blocks = 0, count = 0; in btmrvl_sdio_download_fw_w_helper() local 631 txlen = len; in btmrvl_sdio_download_fw_w_helper() 642 "len = 0x%04X, txlen = %d", len, txlen); in btmrvl_sdio_download_fw_w_helper() 645 txlen = 0; in btmrvl_sdio_download_fw_w_helper() 650 if (firmwarelen - offset < txlen) in btmrvl_sdio_download_fw_w_helper() 651 txlen = firmwarelen - offset; in btmrvl_sdio_download_fw_w_helper() 653 tx_blocks = DIV_ROUND_UP(txlen, blksz_dl); in btmrvl_sdio_download_fw_w_helper() 655 memcpy(fwbuf, &firmware[offset], txlen); in btmrvl_sdio_download_fw_w_helper() 670 offset += txlen; in btmrvl_sdio_download_fw_w_helper()
|
/drivers/tty/serial/ |
D | sc16is7xx.c | 623 unsigned int txlen, to_send, i; in sc16is7xx_handle_tx() local 639 txlen = sc16is7xx_port_read(port, SC16IS7XX_TXLVL_REG); in sc16is7xx_handle_tx() 640 if (txlen > SC16IS7XX_FIFO_SIZE) { in sc16is7xx_handle_tx() 643 txlen, SC16IS7XX_FIFO_SIZE); in sc16is7xx_handle_tx() 644 txlen = 0; in sc16is7xx_handle_tx() 646 to_send = (to_send > txlen) ? txlen : to_send; in sc16is7xx_handle_tx()
|
D | max310x.c | 659 unsigned int txlen, to_send; in max310x_handle_tx() local 675 txlen = max310x_port_read(port, MAX310X_TXFIFOLVL_REG); in max310x_handle_tx() 676 txlen = port->fifosize - txlen; in max310x_handle_tx() 677 to_send = (to_send > txlen) ? txlen : to_send; in max310x_handle_tx()
|
/drivers/mtd/spi-nor/ |
D | mtk-quadspi.c | 161 u8 *tx, int txlen, u8 *rx, int rxlen) in mt8173_nor_do_tx_rx() argument 163 int len = 1 + txlen + rxlen; in mt8173_nor_do_tx_rx() 179 for (i = 0; i < txlen; i++, idx--) in mt8173_nor_do_tx_rx()
|
/drivers/media/rc/ |
D | winbond-cir.c | 221 u32 txlen; member 440 for (used = 0; used < space && data->txoff != data->txlen; used++) { in wbcir_irq_tx() 452 while (data->txbuf[data->txoff] == 0 && data->txoff != data->txlen) in wbcir_irq_tx() 464 } else if (data->txoff == data->txlen) { in wbcir_irq_tx() 681 data->txlen = count; in wbcir_tx()
|
/drivers/isdn/mISDN/ |
D | dsp_pipeline.c | 344 unsigned int txlen) in dsp_pipeline_process_rx() argument 353 entry->elem->process_rx(entry->p, data, len, txlen); in dsp_pipeline_process_rx()
|
D | dsp.h | 277 int len, unsigned int txlen);
|
/drivers/net/wireless/marvell/mwifiex/ |
D | sdio.c | 1008 u32 txlen, tx_blocks = 0, tries; in mwifiex_prog_fw_w_helper() local 1082 txlen = len; in mwifiex_prog_fw_w_helper() 1095 "len = 0x%04X, txlen = %d\n", len, txlen); in mwifiex_prog_fw_w_helper() 1098 txlen = 0; in mwifiex_prog_fw_w_helper() 1104 if (firmware_len - offset < txlen) in mwifiex_prog_fw_w_helper() 1105 txlen = firmware_len - offset; in mwifiex_prog_fw_w_helper() 1107 tx_blocks = (txlen + MWIFIEX_SDIO_BLOCK_SIZE - 1) in mwifiex_prog_fw_w_helper() 1111 memmove(fwbuf, &firmware[offset], txlen); in mwifiex_prog_fw_w_helper() 1129 offset += txlen; in mwifiex_prog_fw_w_helper()
|
D | pcie.c | 1930 u32 txlen, tx_blocks = 0, tries, len; in mwifiex_prog_fw_w_helper() local 1988 txlen = len; in mwifiex_prog_fw_w_helper() 2002 len, txlen); in mwifiex_prog_fw_w_helper() 2005 txlen = 0; in mwifiex_prog_fw_w_helper() 2010 if (firmware_len - offset < txlen) in mwifiex_prog_fw_w_helper() 2011 txlen = firmware_len - offset; in mwifiex_prog_fw_w_helper() 2013 tx_blocks = (txlen + card->pcie.blksz_fw_dl - 1) / in mwifiex_prog_fw_w_helper() 2017 memmove(skb->data, &firmware[offset], txlen); in mwifiex_prog_fw_w_helper() 2049 offset += txlen; in mwifiex_prog_fw_w_helper()
|
/drivers/s390/net/ |
D | ctcm_main.h | 122 unsigned long txlen; member
|
D | ctcm_sysfs.c | 102 priv->channel[WRITE]->prof.txlen); in ctcm_print_statistics()
|
D | netiucv.c | 178 unsigned long txlen; member 791 conn->prof.txlen += conn->tx_buff->len; in conn_action_txdone() 1226 conn->prof.txlen += skb->len; in netiucv_transmit_skb() 1724 return sprintf(buf, "%ld\n", priv->conn->prof.txlen); in txlen_show() 1733 priv->conn->prof.txlen = 0; in txlen_write()
|
D | ctcm_main.c | 504 ch->prof.txlen += skb->len; in ctcm_transmit_skb() 769 ch->prof.txlen += skb->len - PDU_HEADER_LENGTH; in ctcmpc_transmit_skb()
|
/drivers/net/ethernet/ti/ |
D | tlan.c | 1063 unsigned int txlen; in tlan_start_tx() local 1074 txlen = max(skb->len, (unsigned int)TLAN_MIN_FRAME_SIZE); in tlan_start_tx() 1092 skb->data, txlen, in tlan_start_tx() 1096 tail_list->frame_size = (u16) txlen; in tlan_start_tx() 1097 tail_list->buffer[0].count = TLAN_LAST_BUFFER | (u32) txlen; in tlan_start_tx()
|
/drivers/input/touchscreen/ |
D | wdt87xx_i2c.c | 189 void *txdata, size_t txlen, in wdt87xx_i2c_xfer() argument 196 .len = txlen, in wdt87xx_i2c_xfer()
|