Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/chemical/
H A 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()
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()
166 rxsize -= SCD30_SERDEV_RX_HEADER_SIZE; in scd30_serdev_command()
[all …]
H A 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()
H A Dsps30_i2c.c38 unsigned char *rxbuf, size_t rxsize) in sps30_i2c_xfer() argument
53 if (!rxsize) in sps30_i2c_xfer()
56 ret = i2c_master_recv(client, rxbuf, rxsize); in sps30_i2c_xfer()
59 if (ret != rxsize) in sps30_i2c_xfer()
H A Dscd4x.c74 char *rxbuf, int rxsize) in scd4x_i2c_xfer() argument
86 if (rxsize == 0) in scd4x_i2c_xfer()
89 ret = i2c_master_recv(client, rxbuf, rxsize); in scd4x_i2c_xfer()
92 if (ret != rxsize) in scd4x_i2c_xfer()
/openbmc/u-boot/drivers/usb/eth/
H A Dusb_ether.c19 int usb_ether_register(struct udevice *dev, struct ueth_data *ueth, int rxsize) in usb_ether_register() argument
74 ueth->rxsize = rxsize; in usb_ether_register()
75 ueth->rxbuf = memalign(ARCH_DMA_MINALIGN, rxsize); in usb_ether_register()
95 int usb_ether_receive(struct ueth_data *ueth, int rxsize) in usb_ether_receive() argument
100 if (rxsize > ueth->rxsize) in usb_ether_receive()
104 ueth->rxbuf, rxsize, &actual_len, in usb_ether_receive()
106 debug("Rx: len = %u, actual = %u, err = %d\n", rxsize, actual_len, ret); in usb_ether_receive()
111 if (actual_len > rxsize) { in usb_ether_receive()
/openbmc/u-boot/include/
H A Dusb_ether.h16 int rxsize; member
48 int usb_ether_register(struct udevice *dev, struct ueth_data *ueth, int rxsize);
68 int usb_ether_receive(struct ueth_data *ueth, int rxsize);
/openbmc/linux/drivers/crypto/
H A 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()
H A Datmel-i2c.h57 u16 rxsize; member
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_dp_aux.c452 size_t txsize, rxsize; in intel_dp_aux_transfer() local
463 rxsize = 2; /* 0 or 1 data bytes */ in intel_dp_aux_transfer()
474 rxbuf, rxsize, flags); in intel_dp_aux_transfer()
491 rxsize = msg->size + 1; in intel_dp_aux_transfer()
493 if (drm_WARN_ON(&i915->drm, rxsize > 20)) in intel_dp_aux_transfer()
497 rxbuf, rxsize, flags); in intel_dp_aux_transfer()
/openbmc/qemu/hw/net/
H A Dxilinx_axienet.c382 uint32_t rxsize; member
651 return !s->rxsize && !axienet_rx_resetting(s) && axienet_rx_enabled(s); in eth_can_rx()
681 while (s->rxsize && stream_can_push(s->tx_data_dev, in axienet_eth_rx_notify()
684 s->rxsize, true); in axienet_eth_rx_notify()
685 s->rxsize -= ret; in axienet_eth_rx_notify()
687 if (!s->rxsize) { in axienet_eth_rx_notify()
840 s->rxsize = size; in eth_rx()
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dusb.h28 int ntxq, nrxq, rxsize; member
/openbmc/linux/drivers/net/can/
H A Dgrcan.c70 u32 rxsize; /* 0x308 */ member
235 unsigned int rxsize; member
243 .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()
1527 GRCAN_MODULE_PARAM(rxsize, uint, GRCAN_INVALID_BUFFER_SIZE,
/openbmc/qemu/tests/qtest/
H A Dide-test.c958 size_t rxsize = ATAPI_BLOCK_SIZE * nblocks; in cdrom_pio_impl() local
959 uint16_t *rx = g_malloc0(rxsize); in cdrom_pio_impl()
999 g_assert(!(rxsize & 1)); in cdrom_pio_impl()
1001 for (i = 0; i < DIV_ROUND_UP(rxsize, limit); i++) { in cdrom_pio_impl()
1003 size_t rem = (rxsize / 2) - offset; in cdrom_pio_impl()
1028 g_assert_cmpint(memcmp(pattern, rx, rxsize), ==, 0); in cdrom_pio_impl()
/openbmc/linux/drivers/net/ethernet/samsung/sxgbe/
H A 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()
1440 unsigned int rxsize = priv->dma_rx_size; in sxgbe_rx_refill() local
1446 unsigned int entry = priv->rxq[qnum]->dirty_rx % rxsize; in sxgbe_rx_refill()
1487 unsigned int rxsize = priv->dma_rx_size; in sxgbe_rx() local
1506 next_entry = (++priv->rxq[qnum]->cur_rx) % rxsize; in sxgbe_rx()
/openbmc/linux/drivers/net/wireless/ath/ar5523/
H A Dar5523.c1415 __be32 rxsize; in ar5523_get_max_rxsz() local
1418 error = ar5523_get_status(ar, ST_WDC_TRANSPORT_CHUNK_SIZE, &rxsize, in ar5523_get_max_rxsz()
1419 sizeof(rxsize)); in ar5523_get_max_rxsz()
1425 ar->rxbufsz = be32_to_cpu(rxsize); in ar5523_get_max_rxsz()
/openbmc/linux/drivers/net/ethernet/altera/
H A Daltera_tse_main.c320 unsigned int rxsize = priv->rx_ring_size; in tse_rx_refill() local
326 entry = priv->rx_prod % rxsize; in tse_rx_refill()
/openbmc/linux/Documentation/admin-guide/
H A Dkernel-parameters.txt1707 grcan.rxsize= [HW] Sets the size of the rx buffer.
1708 Format: <unsigned int> such that (rxsize & ~0x1fffc0) == 0.