/kernel/linux/linux-5.10/drivers/iio/chemical/ |
D | scd30_serial.c | 55 static int scd30_serdev_xfer(struct scd30_state *state, char *txbuf, int txsize, in scd30_serdev_xfer() argument 66 ret = serdev_device_write(serdev, txbuf, txsize, SCD30_SERDEV_TIMEOUT); in scd30_serdev_xfer() 69 if (ret != txsize) in scd30_serdev_xfer() 110 int ret, rxsize, txsize = 2; in scd30_serdev_command() local 114 put_unaligned_be16(scd30_serdev_cmd_lookup_tbl[cmd], txbuf + txsize); in scd30_serdev_command() 115 txsize += 2; in scd30_serdev_command() 121 put_unaligned_be16(size / 2, txbuf + txsize); in scd30_serdev_command() 123 put_unaligned_be16(0x0001, txbuf + txsize); in scd30_serdev_command() 124 txsize += 2; in scd30_serdev_command() 125 crc = scd30_serdev_calc_crc(txbuf, txsize); in scd30_serdev_command() [all …]
|
D | scd30_i2c.c | 38 static int scd30_i2c_xfer(struct scd30_state *state, char *txbuf, int txsize, in scd30_i2c_xfer() argument 48 ret = i2c_master_send(client, txbuf, txsize); in scd30_i2c_xfer() 51 if (ret != txsize) in scd30_i2c_xfer()
|
D | sps30.c | 68 int txsize, u8 *rxbuf, int rxsize) in sps30_write_then_read() argument 76 ret = i2c_master_send(state->client, txbuf, txsize); in sps30_write_then_read() 77 if (ret != txsize) in sps30_write_then_read()
|
/kernel/linux/linux-5.10/drivers/usb/usbip/ |
D | vhci_tx.c | 60 size_t txsize; in vhci_send_cmd_submit() local 72 txsize = 0; in vhci_send_cmd_submit() 101 txsize += sizeof(pdu_header); in vhci_send_cmd_submit() 119 txsize += urb->transfer_buffer_length; in vhci_send_cmd_submit() 136 txsize += len; in vhci_send_cmd_submit() 140 txsize); in vhci_send_cmd_submit() 141 if (ret != txsize) { in vhci_send_cmd_submit() 143 txsize); in vhci_send_cmd_submit() 156 total_size += txsize; in vhci_send_cmd_submit() 193 size_t txsize; in vhci_send_cmd_unlink() local [all …]
|
D | vudc_tx.c | 42 size_t txsize; in v_send_ret_unlink() local 47 txsize = 0; in v_send_ret_unlink() 58 txsize += sizeof(pdu_header); in v_send_ret_unlink() 61 1, txsize); in v_send_ret_unlink() 62 if (ret != txsize) { in v_send_ret_unlink() 70 return txsize; in v_send_ret_unlink() 81 size_t txsize; in v_send_ret_submit() local 84 txsize = 0; in v_send_ret_submit() 117 txsize += sizeof(pdu_header); in v_send_ret_submit() 125 txsize += urb->actual_length; in v_send_ret_submit() [all …]
|
D | stub_tx.c | 156 size_t txsize; in stub_send_ret_submit() local 171 txsize = 0; in stub_send_ret_submit() 220 txsize += sizeof(pdu_header); in stub_send_ret_submit() 236 txsize += actual_length; in stub_send_ret_submit() 264 txsize += urb->actual_length; in stub_send_ret_submit() 283 txsize += urb->iso_frame_desc[i].actual_length; in stub_send_ret_submit() 286 if (txsize != sizeof(pdu_header) + urb->actual_length) { in stub_send_ret_submit() 290 txsize-sizeof(pdu_header)); in stub_send_ret_submit() 312 txsize += len; in stub_send_ret_submit() 317 iov, iovnum, txsize); in stub_send_ret_submit() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wan/ |
D | cosa.c | 101 int txsize; /* Size of transmitted data */ member 145 int txchan, txsize, rxsize; member 1244 chan->txsize = len; in cosa_start_tx() 1246 chan->txsize = COSA_MTU; in cosa_start_tx() 1700 cosa->txsize = cosa->chan[cosa->txchan].txsize; in tx_interrupt() 1702 cosa->chan[cosa->txchan].txbuf, cosa->txsize)) { in tx_interrupt() 1706 cosa->txsize); in tx_interrupt() 1715 ((cosa->txsize >> 8) & 0x1f)); in tx_interrupt() 1719 ((cosa->txsize >> 8) & 0x1f)); in tx_interrupt() 1730 cosa_putdata8(cosa, cosa->txsize&0xff); in tx_interrupt() [all …]
|
/kernel/linux/linux-5.10/drivers/net/can/ |
D | grcan.c | 61 u32 txsize; /* 0x208 */ member 232 unsigned int txsize; member 240 .txsize = GRCAN_DEFAULT_BUFFER_SIZE, \ 379 static inline u32 grcan_txspace(size_t txsize, u32 txwr, u32 eskbp) in grcan_txspace() argument 381 u32 slots = txsize / GRCAN_MSG_SIZE - 1; in grcan_txspace() 382 u32 used = grcan_ring_sub(txwr, eskbp, txsize) / GRCAN_MSG_SIZE; in grcan_txspace() 827 u32 txsize = grcan_read_reg(®s->txsize); in grcan_running_reset() local 841 grcan_write_reg(®s->txsize, txsize); in grcan_running_reset() 983 grcan_write_reg(®s->txsize, priv->dma.tx.size); in grcan_start() 1049 err = grcan_allocate_dma_buffers(dev, priv->config.txsize, in grcan_open() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/altera/ |
D | altera_tse_main.c | 446 unsigned int txsize = priv->tx_ring_size; in tse_tx_complete() local 458 entry = priv->tx_cons % txsize; in tse_tx_complete() 560 unsigned int txsize = priv->tx_ring_size; in tse_start_xmit() local 583 entry = priv->tx_prod % txsize; in tse_start_xmit()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_main.c | 320 unsigned int txsize = priv->dma_tx_size; in sxgbe_clear_descriptors() local 332 for (i = 0; i < txsize; i++) in sxgbe_clear_descriptors()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
D | intel_dp.c | 1600 size_t txsize, rxsize; in intel_dp_aux_transfer() local 1610 txsize = msg->size ? HEADER_SIZE + msg->size : BARE_ADDRESS_SIZE; in intel_dp_aux_transfer() 1613 if (drm_WARN_ON(&i915->drm, txsize > 20)) in intel_dp_aux_transfer() 1621 ret = intel_dp_aux_xfer(intel_dp, txbuf, txsize, in intel_dp_aux_transfer() 1638 txsize = msg->size ? HEADER_SIZE : BARE_ADDRESS_SIZE; in intel_dp_aux_transfer() 1644 ret = intel_dp_aux_xfer(intel_dp, txbuf, txsize, in intel_dp_aux_transfer()
|
/kernel/linux/linux-5.10/Documentation/admin-guide/ |
D | kernel-parameters.txt | 1481 grcan.txsize= [HW] Sets the size of the tx buffer. 1482 Format: <unsigned int> such that (txsize & ~0x1fffc0) == 0.
|