/linux/drivers/net/wireless/ath/ath10k/ |
H A D | bmi.c | 264 u32 txlen; in ath10k_bmi_write_memory() local 276 txlen = min(length, BMI_MAX_DATA_SIZE - hdrlen); in ath10k_bmi_write_memory() 279 memcpy(cmd.write_mem.payload, buffer, txlen); in ath10k_bmi_write_memory() 280 txlen = roundup(txlen, 4); in ath10k_bmi_write_memory() 284 cmd.write_mem.len = __cpu_to_le32(txlen); in ath10k_bmi_write_memory() 286 ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, hdrlen + txlen, in ath10k_bmi_write_memory() 295 txlen = min(txlen, length); in ath10k_bmi_write_memory() 297 address += txlen; in ath10k_bmi_write_memory() 298 buffer += txlen; in ath10k_bmi_write_memory() 299 length -= txlen; in ath10k_bmi_write_memory() [all …]
|
/linux/drivers/net/mctp/ |
H A D | mctp-serial.c | 66 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 D | scsi_trace.c | 21 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/gpu/drm/mcde/ |
H A D | mcde_dsi.c | 216 size_t txlen = msg->tx_len; in mcde_dsi_execute_transfer() local 269 ret = txlen; in mcde_dsi_execute_transfer() 299 size_t txlen = msg->tx_len; in mcde_dsi_host_transfer() local 306 if (txlen > 16) { in mcde_dsi_host_transfer() 319 msg->channel, txlen, rxlen); in mcde_dsi_host_transfer() 336 val |= txlen << DSI_DIRECT_CMD_MAIN_SETTINGS_CMD_SIZE_SHIFT; in mcde_dsi_host_transfer() 342 if (txlen > 0) { in mcde_dsi_host_transfer() 344 for (i = 0; i < 4 && i < txlen; i++) in mcde_dsi_host_transfer() 348 if (txlen > 4) { in mcde_dsi_host_transfer() 350 for (i = 0; i < 4 && (i + 4) < txlen; i++) in mcde_dsi_host_transfer() [all …]
|
/linux/drivers/media/usb/dvb-usb/ |
H A D | dib0700_core.c | 53 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 D | technisat-usb2.c | 85 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()
|
H A D | dib0700.h | 60 int dib0700_ctrl_rd(struct dvb_usb_device *d, u8 *tx, u8 txlen, u8 *rx,
|
/linux/drivers/media/dvb-frontends/ |
H A D | dibx000_common.c | 101 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()
|
H A D | dib9000.c | 208 …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
|
/linux/drivers/video/backlight/ |
H A D | hx8357.c | 213 u8 *txbuf, u16 txlen, in hx8357_spi_write_then_read() argument 225 if (txlen) { in hx8357_spi_write_then_read() 228 local_txbuf = kcalloc(txlen, sizeof(*local_txbuf), GFP_KERNEL); in hx8357_spi_write_then_read() 233 for (i = 0; i < txlen; i++) { in hx8357_spi_write_then_read() 239 xfer[0].len = 2 * txlen; in hx8357_spi_write_then_read() 256 if (txlen) in hx8357_spi_write_then_read()
|
/linux/drivers/usb/serial/ |
H A D | mxuport.c | 574 u32 txlen; in mxuport_tx_empty() local 587 txlen = get_unaligned_be32(len_buf); in mxuport_tx_empty() 588 dev_dbg(&port->dev, "%s - tx len = %u\n", __func__, txlen); in mxuport_tx_empty() 590 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 D | btmrvl_sdio.c | 567 int txlen = 0, tx_blocks = 0, count = 0; in btmrvl_sdio_download_fw_w_helper() local 648 txlen = len; in btmrvl_sdio_download_fw_w_helper() 659 "len = 0x%04X, txlen = %d", len, txlen); in btmrvl_sdio_download_fw_w_helper() 662 txlen = 0; in btmrvl_sdio_download_fw_w_helper() 667 if (firmwarelen - offset < txlen) in btmrvl_sdio_download_fw_w_helper() 668 txlen = firmwarelen - offset; in btmrvl_sdio_download_fw_w_helper() 670 tx_blocks = DIV_ROUND_UP(txlen, blksz_dl); in btmrvl_sdio_download_fw_w_helper() 672 memcpy(fwbuf, &firmware[offset], txlen); in btmrvl_sdio_download_fw_w_helper() 687 offset += txlen; in btmrvl_sdio_download_fw_w_helper()
|
/linux/include/linux/ |
H A D | mISDNdsp.h | 17 unsigned int txlen);
|
/linux/drivers/isdn/mISDN/ |
H A D | dsp_pipeline.c | 290 unsigned int txlen) in dsp_pipeline_process_rx() argument 299 entry->elem->process_rx(entry->p, data, len, txlen); in dsp_pipeline_process_rx()
|
H A D | dsp.h | 277 int len, unsigned int txlen);
|
/linux/drivers/media/rc/ |
H A D | winbond-cir.c | 207 u32 txlen; member 409 for (used = 0; used < space && data->txoff != data->txlen; used++) { in wbcir_irq_tx() 421 while (data->txoff != data->txlen && data->txbuf[data->txoff] == 0) in wbcir_irq_tx() 433 } else if (data->txoff == data->txlen) { in wbcir_irq_tx() 650 data->txlen = count; in wbcir_tx()
|
/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | sdio.c | 1453 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()
|
H A D | pcie.c | 2168 u32 txlen, tx_blocks = 0, tries, len, val; in mwifiex_prog_fw_w_helper() local 2240 txlen = len; in mwifiex_prog_fw_w_helper() 2254 len, txlen); in mwifiex_prog_fw_w_helper() 2257 txlen = 0; in mwifiex_prog_fw_w_helper() 2262 if (firmware_len - offset < txlen) in mwifiex_prog_fw_w_helper() 2263 txlen = firmware_len - offset; in mwifiex_prog_fw_w_helper() 2265 tx_blocks = (txlen + card->pcie.blksz_fw_dl - 1) / in mwifiex_prog_fw_w_helper() 2269 memmove(skb->data, &firmware[offset], txlen); in mwifiex_prog_fw_w_helper() 2311 offset += txlen; in mwifiex_prog_fw_w_helper()
|
/linux/drivers/s390/net/ |
H A D | ctcm_main.h | 124 unsigned long txlen; member
|
H A D | ctcm_sysfs.c | 104 priv->channel[WRITE]->prof.txlen); in ctcm_print_statistics()
|
H A D | ctcm_main.c | 505 ch->prof.txlen += skb->len; in ctcm_transmit_skb() 737 ch->prof.txlen += skb->len - PDU_HEADER_LENGTH; in ctcmpc_transmit_skb()
|
/linux/drivers/net/ethernet/ti/ |
H A D | tlan.c | 1041 unsigned int txlen; in tlan_start_tx() local 1052 txlen = max(skb->len, (unsigned int)TLAN_MIN_FRAME_SIZE); in tlan_start_tx() 1070 skb->data, txlen, in tlan_start_tx() 1074 tail_list->frame_size = (u16) txlen; in tlan_start_tx() 1075 tail_list->buffer[0].count = TLAN_LAST_BUFFER | (u32) txlen; in tlan_start_tx()
|
/linux/drivers/input/touchscreen/ |
H A D | wdt87xx_i2c.c | 188 void *txdata, size_t txlen, in wdt87xx_i2c_xfer() argument 195 .len = txlen, in wdt87xx_i2c_xfer()
|