Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/net/wireless/ath/ath10k/
Dbmi.c263 u32 txlen; in ath10k_bmi_write_memory() local
275 txlen = min(length, BMI_MAX_DATA_SIZE - hdrlen); in ath10k_bmi_write_memory()
278 memcpy(cmd.write_mem.payload, buffer, txlen); in ath10k_bmi_write_memory()
279 txlen = roundup(txlen, 4); in ath10k_bmi_write_memory()
283 cmd.write_mem.len = __cpu_to_le32(txlen); in ath10k_bmi_write_memory()
285 ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, hdrlen + txlen, in ath10k_bmi_write_memory()
294 txlen = min(txlen, length); in ath10k_bmi_write_memory()
296 address += txlen; in ath10k_bmi_write_memory()
297 buffer += txlen; in ath10k_bmi_write_memory()
298 length -= txlen; in ath10k_bmi_write_memory()
[all …]
/linux-6.6.21/drivers/net/mctp/
Dmctp-serial.c65 unsigned int txlen, rxlen; member
81 if (dev->txpos == dev->txlen) in next_chunk_len()
94 for (i = 1; i + dev->txpos + 1 < dev->txlen; i++) { in next_chunk_len()
113 int len, txlen; in mctp_serial_tx_work() local
125 buf[2] = dev->txlen; in mctp_serial_tx_work()
130 txlen = write_chunk(dev, buf + dev->txpos, 3 - dev->txpos); in mctp_serial_tx_work()
131 if (txlen <= 0) { in mctp_serial_tx_work()
134 dev->txpos += txlen; in mctp_serial_tx_work()
144 txlen = write_chunk(dev, buf, 1); in mctp_serial_tx_work()
145 if (txlen <= 0) { in mctp_serial_tx_work()
[all …]
/linux-6.6.21/drivers/scsi/
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-6.6.21/drivers/staging/rtl8723bs/hal/
Drtl8723bs_xmit.c181 u32 txlen, max_xmit_len; in xmit_xmitframes() local
237 txlen = txdesc_size + rtw_wlan_pkt_size(pxmitframe); in xmit_xmitframes()
239 ((_RND(pxmitbuf->len, 8) + txlen) > max_xmit_len) || in xmit_xmitframes()
307 txlen = txdesc_size + pxmitframe->attrib.last_txcmdsz; in xmit_xmitframes()
308 pxmitframe->pg_num = (txlen + 127) / 128; in xmit_xmitframes()
309 pxmitbuf->pg_num += (txlen + 127) / 128; in xmit_xmitframes()
310 pxmitbuf->ptail += _RND(txlen, 8); /* round to 8 bytes alignment */ in xmit_xmitframes()
311 pxmitbuf->len = _RND(pxmitbuf->len, 8) + txlen; in xmit_xmitframes()
/linux-6.6.21/drivers/gpu/drm/mcde/
Dmcde_dsi.c216 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-6.6.21/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.h60 int dib0700_ctrl_rd(struct dvb_usb_device *d, u8 *tx, u8 txlen, u8 *rx,
/linux-6.6.21/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-6.6.21/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-6.6.21/drivers/usb/serial/
Dmxuport.c574 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-6.6.21/include/linux/
DmISDNdsp.h17 unsigned int txlen);
/linux-6.6.21/drivers/bluetooth/
Dbtmrvl_sdio.c568 int txlen = 0, tx_blocks = 0, count = 0; in btmrvl_sdio_download_fw_w_helper() local
649 txlen = len; in btmrvl_sdio_download_fw_w_helper()
660 "len = 0x%04X, txlen = %d", len, txlen); in btmrvl_sdio_download_fw_w_helper()
663 txlen = 0; in btmrvl_sdio_download_fw_w_helper()
668 if (firmwarelen - offset < txlen) in btmrvl_sdio_download_fw_w_helper()
669 txlen = firmwarelen - offset; in btmrvl_sdio_download_fw_w_helper()
671 tx_blocks = DIV_ROUND_UP(txlen, blksz_dl); in btmrvl_sdio_download_fw_w_helper()
673 memcpy(fwbuf, &firmware[offset], txlen); in btmrvl_sdio_download_fw_w_helper()
688 offset += txlen; in btmrvl_sdio_download_fw_w_helper()
/linux-6.6.21/drivers/isdn/mISDN/
Ddsp_pipeline.c286 unsigned int txlen) in dsp_pipeline_process_rx() argument
295 entry->elem->process_rx(entry->p, data, len, txlen); in dsp_pipeline_process_rx()
Ddsp.h277 int len, unsigned int txlen);
/linux-6.6.21/drivers/media/rc/
Dwinbond-cir.c207 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-6.6.21/drivers/tty/serial/
Dsc16is7xx.c634 unsigned int txlen, to_send, i; in sc16is7xx_handle_tx() local
655 txlen = sc16is7xx_port_read(port, SC16IS7XX_TXLVL_REG); in sc16is7xx_handle_tx()
656 if (txlen > SC16IS7XX_FIFO_SIZE) { in sc16is7xx_handle_tx()
659 txlen, SC16IS7XX_FIFO_SIZE); in sc16is7xx_handle_tx()
660 txlen = 0; in sc16is7xx_handle_tx()
662 to_send = (to_send > txlen) ? txlen : to_send; in sc16is7xx_handle_tx()
Dmax310x.c783 unsigned int txlen, to_send, until_end; 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 to_send = (to_send > txlen) ? txlen : to_send; in max310x_handle_tx()
/linux-6.6.21/drivers/net/wireless/marvell/mwifiex/
Dsdio.c1443 u32 txlen, tx_blocks = 0, tries; in mwifiex_prog_fw_w_helper() local
1517 txlen = len; in mwifiex_prog_fw_w_helper()
1530 "len = 0x%04X, txlen = %d\n", len, txlen); in mwifiex_prog_fw_w_helper()
1533 txlen = 0; in mwifiex_prog_fw_w_helper()
1539 if (firmware_len - offset < txlen) in mwifiex_prog_fw_w_helper()
1540 txlen = firmware_len - offset; in mwifiex_prog_fw_w_helper()
1542 tx_blocks = (txlen + MWIFIEX_SDIO_BLOCK_SIZE - 1) in mwifiex_prog_fw_w_helper()
1546 memmove(fwbuf, &firmware[offset], txlen); in mwifiex_prog_fw_w_helper()
1564 offset += txlen; in mwifiex_prog_fw_w_helper()
Dpcie.c2301 u32 txlen, tx_blocks = 0, tries, len, val; in mwifiex_prog_fw_w_helper() local
2377 txlen = len; in mwifiex_prog_fw_w_helper()
2391 len, txlen); in mwifiex_prog_fw_w_helper()
2394 txlen = 0; in mwifiex_prog_fw_w_helper()
2399 if (firmware_len - offset < txlen) in mwifiex_prog_fw_w_helper()
2400 txlen = firmware_len - offset; in mwifiex_prog_fw_w_helper()
2402 tx_blocks = (txlen + card->pcie.blksz_fw_dl - 1) / in mwifiex_prog_fw_w_helper()
2406 memmove(skb->data, &firmware[offset], txlen); in mwifiex_prog_fw_w_helper()
2448 offset += txlen; in mwifiex_prog_fw_w_helper()
/linux-6.6.21/drivers/s390/net/
Dctcm_main.h124 unsigned long txlen; member
Dctcm_sysfs.c104 priv->channel[WRITE]->prof.txlen); in ctcm_print_statistics()
Dnetiucv.c129 unsigned long txlen; member
735 conn->prof.txlen += conn->tx_buff->len; in conn_action_txdone()
1179 conn->prof.txlen += skb->len; in netiucv_transmit_skb()
1583 return sprintf(buf, "%ld\n", priv->conn->prof.txlen); in txlen_show()
1592 priv->conn->prof.txlen = 0; in txlen_write()
/linux-6.6.21/drivers/net/ethernet/ti/
Dtlan.c1041 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-6.6.21/drivers/input/touchscreen/
Dwdt87xx_i2c.c188 void *txdata, size_t txlen, in wdt87xx_i2c_xfer() argument
195 .len = txlen, in wdt87xx_i2c_xfer()

12