/linux-6.1.9/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_i2c.c | 37 static int sps30_i2c_xfer(struct sps30_state *state, unsigned char *txbuf, size_t txsize, in sps30_i2c_xfer() argument 47 ret = i2c_master_send(client, txbuf, txsize); in sps30_i2c_xfer() 50 if (ret != txsize) in sps30_i2c_xfer()
|
D | scd4x.c | 69 static int scd4x_i2c_xfer(struct scd4x_state *state, char *txbuf, int txsize, in scd4x_i2c_xfer() argument 75 ret = i2c_master_send(client, txbuf, txsize); in scd4x_i2c_xfer() 79 if (ret != txsize) in scd4x_i2c_xfer()
|
/linux-6.1.9/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 …]
|
/linux-6.1.9/drivers/gpu/drm/i915/display/ |
D | intel_dp_aux.c | 415 size_t txsize, rxsize; in intel_dp_aux_transfer() local 425 txsize = msg->size ? HEADER_SIZE + msg->size : BARE_ADDRESS_SIZE; in intel_dp_aux_transfer() 428 if (drm_WARN_ON(&i915->drm, txsize > 20)) in intel_dp_aux_transfer() 436 ret = intel_dp_aux_xfer(intel_dp, txbuf, txsize, in intel_dp_aux_transfer() 453 txsize = msg->size ? HEADER_SIZE : BARE_ADDRESS_SIZE; in intel_dp_aux_transfer() 459 ret = intel_dp_aux_xfer(intel_dp, txbuf, txsize, in intel_dp_aux_transfer()
|
/linux-6.1.9/drivers/net/can/ |
D | grcan.c | 62 u32 txsize; /* 0x208 */ member 233 unsigned int txsize; member 241 .txsize = GRCAN_DEFAULT_BUFFER_SIZE, \ 380 static inline u32 grcan_txspace(size_t txsize, u32 txwr, u32 eskbp) in grcan_txspace() argument 382 u32 slots = txsize / GRCAN_MSG_SIZE - 1; in grcan_txspace() 383 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 …]
|
/linux-6.1.9/drivers/net/ethernet/altera/ |
D | altera_tse_main.c | 431 unsigned int txsize = priv->tx_ring_size; in tse_tx_complete() local 443 entry = priv->tx_cons % txsize; in tse_tx_complete() 546 unsigned int txsize = priv->tx_ring_size; in tse_start_xmit() local 568 entry = priv->tx_prod % txsize; in tse_start_xmit()
|
/linux-6.1.9/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()
|
/linux-6.1.9/Documentation/admin-guide/ |
D | kernel-parameters.txt | 1628 grcan.txsize= [HW] Sets the size of the tx buffer. 1629 Format: <unsigned int> such that (txsize & ~0x1fffc0) == 0.
|