Home
last modified time | relevance | path

Searched refs:txsize (Results 1 – 12 of 12) sorted by relevance

/linux-6.3-rc2/drivers/iio/chemical/
A Dscd30_serial.c69 if (ret != txsize) in scd30_serdev_xfer()
110 int ret, rxsize, txsize = 2; in scd30_serdev_command() local
115 txsize += 2; in scd30_serdev_command()
124 txsize += 2; in scd30_serdev_command()
126 put_unaligned_le16(crc, txbuf + txsize); in scd30_serdev_command()
127 txsize += 2; in scd30_serdev_command()
134 put_unaligned_be16(arg, txbuf + txsize); in scd30_serdev_command()
135 txsize += 2; in scd30_serdev_command()
138 txsize += 2; in scd30_serdev_command()
139 rxsize = txsize; in scd30_serdev_command()
[all …]
A Dscd30_i2c.c38 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()
A Dsps30_i2c.c37 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()
A Dscd4x.c69 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.3-rc2/drivers/usb/usbip/
A Dvhci_tx.c60 size_t txsize; in vhci_send_cmd_submit() local
72 txsize = 0; 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
220 if (ret != txsize) { in vhci_send_cmd_unlink()
222 txsize); in vhci_send_cmd_unlink()
[all …]
A Dvudc_tx.c42 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()
162 txsize += len; in v_send_ret_submit()
168 if (ret != txsize) { in v_send_ret_submit()
[all …]
A Dstub_tx.c156 size_t txsize; in stub_send_ret_submit() local
171 txsize = 0; in stub_send_ret_submit()
312 txsize += len; in stub_send_ret_submit()
318 if (ret != txsize) { in stub_send_ret_submit()
321 ret, txsize); in stub_send_ret_submit()
331 total_size += txsize; in stub_send_ret_submit()
368 size_t txsize; in stub_send_ret_unlink() local
376 txsize = 0; in stub_send_ret_unlink()
392 1, txsize); in stub_send_ret_unlink()
393 if (ret != txsize) { in stub_send_ret_unlink()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/i915/display/
A Dintel_dp_aux.c409 size_t txsize, rxsize; in intel_dp_aux_transfer() local
419 txsize = msg->size ? HEADER_SIZE + msg->size : BARE_ADDRESS_SIZE; in intel_dp_aux_transfer()
422 if (drm_WARN_ON(&i915->drm, txsize > 20)) in intel_dp_aux_transfer()
430 ret = intel_dp_aux_xfer(intel_dp, txbuf, txsize, in intel_dp_aux_transfer()
447 txsize = msg->size ? HEADER_SIZE : BARE_ADDRESS_SIZE; in intel_dp_aux_transfer()
453 ret = intel_dp_aux_xfer(intel_dp, txbuf, txsize, in intel_dp_aux_transfer()
/linux-6.3-rc2/drivers/net/can/
A Dgrcan.c62 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(&regs->txsize); in grcan_running_reset() local
841 grcan_write_reg(&regs->txsize, txsize); in grcan_running_reset()
983 grcan_write_reg(&regs->txsize, priv->dma.tx.size); in grcan_start()
1049 err = grcan_allocate_dma_buffers(dev, priv->config.txsize, in grcan_open()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/altera/
A Daltera_tse_main.c431 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.3-rc2/drivers/net/ethernet/samsung/sxgbe/
A Dsxgbe_main.c320 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.3-rc2/Documentation/admin-guide/
A Dkernel-parameters.txt1629 grcan.txsize= [HW] Sets the size of the tx buffer.
1630 Format: <unsigned int> such that (txsize & ~0x1fffc0) == 0.

Completed in 32 milliseconds