/linux-6.6.21/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 | 73 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-6.6.21/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.6.21/drivers/net/can/ |
D | grcan.c | 63 u32 txsize; /* 0x208 */ member 234 unsigned int txsize; member 242 .txsize = GRCAN_DEFAULT_BUFFER_SIZE, \ 381 static inline u32 grcan_txspace(size_t txsize, u32 txwr, u32 eskbp) in grcan_txspace() argument 383 u32 slots = txsize / GRCAN_MSG_SIZE - 1; in grcan_txspace() 384 u32 used = grcan_ring_sub(txwr, eskbp, txsize) / GRCAN_MSG_SIZE; in grcan_txspace() 828 u32 txsize = grcan_read_reg(®s->txsize); in grcan_running_reset() local 842 grcan_write_reg(®s->txsize, txsize); in grcan_running_reset() 984 grcan_write_reg(®s->txsize, priv->dma.tx.size); in grcan_start() 1050 err = grcan_allocate_dma_buffers(dev, priv->config.txsize, in grcan_open() [all …]
|
/linux-6.6.21/drivers/gpu/drm/i915/display/ |
D | intel_dp_aux.c | 452 size_t txsize, rxsize; in intel_dp_aux_transfer() local 462 txsize = msg->size ? HEADER_SIZE + msg->size : BARE_ADDRESS_SIZE; in intel_dp_aux_transfer() 465 if (drm_WARN_ON(&i915->drm, txsize > 20)) in intel_dp_aux_transfer() 473 ret = intel_dp_aux_xfer(intel_dp, txbuf, txsize, in intel_dp_aux_transfer() 490 txsize = msg->size ? HEADER_SIZE : BARE_ADDRESS_SIZE; in intel_dp_aux_transfer() 496 ret = intel_dp_aux_xfer(intel_dp, txbuf, txsize, in intel_dp_aux_transfer()
|
/linux-6.6.21/drivers/net/wireless/realtek/rtw88/ |
D | sdio.c | 633 size_t txsize; in rtw_sdio_write_port() local 641 txsize = sdio_align_size(rtwsdio->sdio_func, skb->len); in rtw_sdio_write_port() 643 ret = rtw_sdio_check_free_txpg(rtwdev, queue, txsize); in rtw_sdio_write_port() 656 ret = sdio_memcpy_toio(rtwsdio->sdio_func, txaddr, skb->data, txsize); in rtw_sdio_write_port() 664 txsize, txaddr); in rtw_sdio_write_port()
|
/linux-6.6.21/drivers/net/ethernet/altera/ |
D | altera_tse_main.c | 433 unsigned int txsize = priv->tx_ring_size; in tse_tx_complete() local 445 entry = priv->tx_cons % txsize; in tse_tx_complete() 548 unsigned int txsize = priv->tx_ring_size; in tse_start_xmit() local 570 entry = priv->tx_prod % txsize; in tse_start_xmit()
|
/linux-6.6.21/drivers/media/platform/verisilicon/ |
D | rockchip_av1_entropymode.h | 131 enum txsize { enum
|
/linux-6.6.21/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.6.21/Documentation/admin-guide/ |
D | kernel-parameters.txt | 1690 grcan.txsize= [HW] Sets the size of the tx buffer. 1691 Format: <unsigned int> such that (txsize & ~0x1fffc0) == 0.
|