Home
last modified time | relevance | path

Searched refs:rxsize (Results 1 – 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/drivers/iio/chemical/
Dscd30_serial.c56 char *rxbuf, int rxsize) in scd30_serdev_xfer() argument
63 priv->num_expected = rxsize; in scd30_serdev_xfer()
110 int ret, rxsize, txsize = 2; in scd30_serdev_command() local
128 rxsize = SCD30_SERDEV_RX_HEADER_SIZE + size + SCD30_SERDEV_CRC_SIZE; in scd30_serdev_command()
139 rxsize = txsize; in scd30_serdev_command()
142 ret = scd30_serdev_xfer(state, txbuf, txsize, rxbuf, rxsize); in scd30_serdev_command()
154 if (rxbuf[2] != (rxsize - SCD30_SERDEV_RX_HEADER_SIZE - SCD30_SERDEV_CRC_SIZE)) { in scd30_serdev_command()
159 rxsize -= SCD30_SERDEV_CRC_SIZE; in scd30_serdev_command()
160 crc = get_unaligned_le16(rxbuf + rxsize); in scd30_serdev_command()
161 if (crc != scd30_serdev_calc_crc(rxbuf, rxsize)) { in scd30_serdev_command()
[all …]
Dscd30_i2c.c39 char *rxbuf, int rxsize) in scd30_i2c_xfer() argument
57 ret = i2c_master_recv(client, rxbuf, rxsize); in scd30_i2c_xfer()
60 if (ret != rxsize) in scd30_i2c_xfer()
Dsps30.c68 int txsize, u8 *rxbuf, int rxsize) in sps30_write_then_read() argument
83 ret = i2c_master_recv(state->client, rxbuf, rxsize); in sps30_write_then_read()
84 if (ret != rxsize) in sps30_write_then_read()
/kernel/linux/linux-5.10/drivers/crypto/
Datmel-i2c.c69 cmd->rxsize = READ_RSP_SIZE; in atmel_i2c_init_read_cmd()
84 cmd->rxsize = RANDOM_RSP_SIZE; in atmel_i2c_init_random_cmd()
100 cmd->rxsize = GENKEY_RSP_SIZE; in atmel_i2c_init_genkey_cmd()
131 cmd->rxsize = ECDH_RSP_SIZE; in atmel_i2c_init_ecdh_cmd()
237 ret = i2c_master_recv(client, cmd->data, cmd->rxsize); in atmel_i2c_send_receive()
Datmel-i2c.h57 u16 rxsize; member
/kernel/linux/linux-5.10/drivers/net/wan/
Dcosa.c117 int rxsize; member
145 int txchan, txsize, rxsize; member
744 chan->netdev->stats.rx_bytes += chan->cosa->rxsize; in cosa_net_rx_done()
813 count = chan->rxsize; in cosa_read()
828 chan->rxsize = size; in chrdev_setup_rx()
1809 cosa->rxsize = cosa_getdata8(cosa) <<8; in rx_interrupt()
1811 debug_data_in(cosa, cosa->rxsize >> 8); in rx_interrupt()
1817 cosa->rxsize |= cosa_getdata8(cosa) & 0xff; in rx_interrupt()
1819 debug_data_in(cosa, cosa->rxsize & 0xff); in rx_interrupt()
1823 cosa->num, cosa->rxsize); in rx_interrupt()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dusb.h28 int ntxq, nrxq, rxsize; member
/kernel/linux/linux-5.10/drivers/net/can/
Dgrcan.c68 u32 rxsize; /* 0x308 */ member
233 unsigned int rxsize; member
241 .rxsize = GRCAN_DEFAULT_BUFFER_SIZE, \
834 u32 rxsize = grcan_read_reg(&regs->rxsize); in grcan_running_reset() local
848 grcan_write_reg(&regs->rxsize, rxsize); in grcan_running_reset()
988 grcan_write_reg(&regs->rxsize, priv->dma.rx.size); in grcan_start()
1051 priv->config.rxsize); in grcan_open()
1537 GRCAN_MODULE_PARAM(rxsize, uint, GRCAN_INVALID_BUFFER_SIZE,
/kernel/linux/linux-5.10/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_main.c321 unsigned int rxsize = priv->dma_rx_size; in sxgbe_clear_descriptors() local
325 for (i = 0; i < rxsize; i++) in sxgbe_clear_descriptors()
328 (i == rxsize - 1)); in sxgbe_clear_descriptors()
1437 unsigned int rxsize = priv->dma_rx_size; in sxgbe_rx_refill() local
1443 unsigned int entry = priv->rxq[qnum]->dirty_rx % rxsize; in sxgbe_rx_refill()
1484 unsigned int rxsize = priv->dma_rx_size; in sxgbe_rx() local
1503 next_entry = (++priv->rxq[qnum]->cur_rx) % rxsize; in sxgbe_rx()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ar5523/
Dar5523.c1414 __be32 rxsize; in ar5523_get_max_rxsz() local
1417 error = ar5523_get_status(ar, ST_WDC_TRANSPORT_CHUNK_SIZE, &rxsize, in ar5523_get_max_rxsz()
1418 sizeof(rxsize)); in ar5523_get_max_rxsz()
1424 ar->rxbufsz = be32_to_cpu(rxsize); in ar5523_get_max_rxsz()
/kernel/linux/linux-5.10/drivers/net/ethernet/altera/
Daltera_tse_main.c338 unsigned int rxsize = priv->rx_ring_size; in tse_rx_refill() local
344 entry = priv->rx_prod % rxsize; in tse_rx_refill()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_dp.c1600 size_t txsize, rxsize; in intel_dp_aux_transfer() local
1611 rxsize = 2; /* 0 or 1 data bytes */ in intel_dp_aux_transfer()
1622 rxbuf, rxsize, flags); in intel_dp_aux_transfer()
1639 rxsize = msg->size + 1; in intel_dp_aux_transfer()
1641 if (drm_WARN_ON(&i915->drm, rxsize > 20)) in intel_dp_aux_transfer()
1645 rxbuf, rxsize, flags); in intel_dp_aux_transfer()
/kernel/linux/linux-5.10/Documentation/admin-guide/
Dkernel-parameters.txt1484 grcan.rxsize= [HW] Sets the size of the rx buffer.
1485 Format: <unsigned int> such that (rxsize & ~0x1fffc0) == 0.