Home
last modified time | relevance | path

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

/linux/drivers/iio/chemical/
H A Dscd30_serial.c55 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 …]
H 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()
H 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()
H A Dscd4x.c73 static int scd4x_i2c_xfer(struct scd4x_state *state, char *txbuf, int txsize, in scd4x_i2c_xfer() argument
79 ret = i2c_master_send(client, txbuf, txsize); in scd4x_i2c_xfer()
83 if (ret != txsize) in scd4x_i2c_xfer()
/linux/drivers/usb/usbip/
H A Dvhci_tx.c60 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 …]
H 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()
117 txsize += sizeof(pdu_header); in v_send_ret_submit()
125 txsize in v_send_ret_submit()
[all...]
H A Dstub_tx.c156 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()
368 size_t txsize; stub_send_ret_unlink() local
[all...]
/linux/drivers/gpu/drm/i915/display/
H A Dintel_dp_aux.c475 size_t txsize, rxsize; in intel_dp_aux_transfer() local
485 txsize = msg->size ? HEADER_SIZE + msg->size : BARE_ADDRESS_SIZE; in intel_dp_aux_transfer()
488 if (drm_WARN_ON(display->drm, txsize > 20)) in intel_dp_aux_transfer()
496 ret = intel_dp_aux_xfer(intel_dp, txbuf, txsize, in intel_dp_aux_transfer()
513 txsize = msg->size ? HEADER_SIZE : BARE_ADDRESS_SIZE; in intel_dp_aux_transfer()
519 ret = intel_dp_aux_xfer(intel_dp, txbuf, txsize, in intel_dp_aux_transfer()
/linux/drivers/media/platform/verisilicon/
H A Drockchip_av1_entropymode.h131 enum txsize { enum
/linux/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_main.c319 unsigned int txsize = priv->dma_tx_size; in sxgbe_clear_descriptors() local
331 for (i = 0; i < txsize; i++) in sxgbe_clear_descriptors()
/linux/Documentation/admin-guide/
H A Dkernel-parameters.txt1773 grcan.txsize= [HW] Sets the size of the tx buffer.
1774 Format: <unsigned int> such that (txsize & ~0x1fffc0) == 0.