Home
last modified time | relevance | path

Searched refs:rxdata (Results 1 – 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/
Daq_ring.c66 if (rxbuf->rxdata.page) { in aq_get_rxpages()
68 if (page_ref_count(rxbuf->rxdata.page) > 1) { in aq_get_rxpages()
70 rxbuf->rxdata.pg_off += AQ_CFG_RX_FRAME_MAX; in aq_get_rxpages()
71 if (rxbuf->rxdata.pg_off + AQ_CFG_RX_FRAME_MAX <= in aq_get_rxpages()
80 aq_free_rxpage(&rxbuf->rxdata, in aq_get_rxpages()
87 rxbuf->rxdata.pg_off = 0; in aq_get_rxpages()
94 if (!rxbuf->rxdata.page) { in aq_get_rxpages()
95 ret = aq_get_rxpage(&rxbuf->rxdata, order, in aq_get_rxpages()
423 buff->rxdata.daddr, in aq_ring_rx_clean()
424 buff->rxdata.pg_off, in aq_ring_rx_clean()
[all …]
Daq_ring.h47 struct aq_rxpage rxdata; member
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-uniphier.c66 u32 rxdata; in uniphier_i2c_xfer_byte() local
79 rxdata = readl(priv->membase + UNIPHIER_I2C_DREC); in uniphier_i2c_xfer_byte()
81 *rxdatap = rxdata; in uniphier_i2c_xfer_byte()
88 u32 rxdata; in uniphier_i2c_send_byte() local
91 ret = uniphier_i2c_xfer_byte(adap, txdata, &rxdata); in uniphier_i2c_send_byte()
95 if (unlikely(rxdata & UNIPHIER_I2C_DREC_LAB)) in uniphier_i2c_send_byte()
98 if (unlikely(rxdata & UNIPHIER_I2C_DREC_LRB)) in uniphier_i2c_send_byte()
138 u32 rxdata; in uniphier_i2c_rx() local
142 &rxdata); in uniphier_i2c_rx()
145 *buf++ = rxdata; in uniphier_i2c_rx()
/kernel/linux/linux-5.10/drivers/tty/serial/
Defm32-uart.c197 u32 rxdata = efm32_uart_read32(efm_port, UARTn_RXDATAX); in efm32_uart_rx_chars() local
206 rxdata &= ~SW_UARTn_RXDATAX_BERR; in efm32_uart_rx_chars()
210 if ((rxdata & UARTn_RXDATAX_FERR) && in efm32_uart_rx_chars()
211 !(rxdata & UARTn_RXDATAX_RXDATA__MASK)) { in efm32_uart_rx_chars()
212 rxdata |= SW_UARTn_RXDATAX_BERR; in efm32_uart_rx_chars()
216 } else if (rxdata & UARTn_RXDATAX_PERR) in efm32_uart_rx_chars()
218 else if (rxdata & UARTn_RXDATAX_FERR) in efm32_uart_rx_chars()
221 rxdata &= port->read_status_mask; in efm32_uart_rx_chars()
223 if (rxdata & SW_UARTn_RXDATAX_BERR) in efm32_uart_rx_chars()
225 else if (rxdata & UARTn_RXDATAX_PERR) in efm32_uart_rx_chars()
[all …]
Dmps2-uart.c193 u8 rxdata = mps2_uart_read8(port, UARTn_DATA); in mps2_uart_rx_chars() local
196 tty_insert_flip_char(&port->state->port, rxdata, TTY_NORMAL); in mps2_uart_rx_chars()
/kernel/linux/linux-5.10/drivers/spi/
Dspi-fsl-dspi.c245 void (*dev_to_host)(struct fsl_dspi *dspi, u32 rxdata);
264 static void dspi_native_dev_to_host(struct fsl_dspi *dspi, u32 rxdata) in dspi_native_dev_to_host() argument
268 *(u8 *)dspi->rx = rxdata; in dspi_native_dev_to_host()
271 *(u16 *)dspi->rx = rxdata; in dspi_native_dev_to_host()
274 *(u32 *)dspi->rx = rxdata; in dspi_native_dev_to_host()
286 static void dspi_8on32_dev_to_host(struct fsl_dspi *dspi, u32 rxdata) in dspi_8on32_dev_to_host() argument
288 *(u32 *)dspi->rx = be32_to_cpu(rxdata); in dspi_8on32_dev_to_host()
298 static void dspi_8on16_dev_to_host(struct fsl_dspi *dspi, u32 rxdata) in dspi_8on16_dev_to_host() argument
300 *(u16 *)dspi->rx = be16_to_cpu(rxdata); in dspi_8on16_dev_to_host()
313 static void dspi_16on32_dev_to_host(struct fsl_dspi *dspi, u32 rxdata) in dspi_16on32_dev_to_host() argument
[all …]
Dspi-efm32.c149 u32 rxdata = efm32_spi_read32(ddata, REG_RXDATAX); in efm32_spi_rx_u8() local
150 efm32_spi_vdbg(ddata, "%s: rx 0x%x\n", __func__, rxdata); in efm32_spi_rx_u8()
153 *ddata->rx_buf = rxdata; in efm32_spi_rx_u8()
/kernel/linux/linux-5.10/drivers/net/arcnet/
Darcnet.c1127 } rxdata; in arcnet_rx() local
1131 soft = &rxdata.pkt.soft.rfc1201; in arcnet_rx()
1133 lp->hw.copy_from_card(dev, bufnum, 0, &rxdata.pkt, ARC_HDR_SIZE); in arcnet_rx()
1134 if (rxdata.pkt.hard.offset[0]) { in arcnet_rx()
1135 ofs = rxdata.pkt.hard.offset[0]; in arcnet_rx()
1138 ofs = rxdata.pkt.hard.offset[1]; in arcnet_rx()
1143 if (sizeof(rxdata.pkt.soft) <= length) { in arcnet_rx()
1144 lp->hw.copy_from_card(dev, bufnum, ofs, soft, sizeof(rxdata.pkt.soft)); in arcnet_rx()
1146 memset(&rxdata.pkt.soft, 0, sizeof(rxdata.pkt.soft)); in arcnet_rx()
1151 bufnum, rxdata.pkt.hard.source, rxdata.pkt.hard.dest, length); in arcnet_rx()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/zydas/
Dzd1201.c222 memcpy(zd->rxdata, data, urb->actual_length); in zd1201_usbrx()
296 if (copylen+zd->rxlen > sizeof(zd->rxdata)) in zd1201_usbrx()
298 memcpy(zd->rxdata+zd->rxlen, data+i+4, copylen); in zd1201_usbrx()
429 code = le16_to_cpu(*(__le16*)(&zd->rxdata[4])); in zd1201_getconfig()
430 rid_fid = le16_to_cpu(*(__le16*)(&zd->rxdata[6])); in zd1201_getconfig()
431 length = le16_to_cpu(*(__le16*)(&zd->rxdata[8])); in zd1201_getconfig()
457 if (zd->rxdata[zd->rxlen - 1] != ZD1201_PACKET_RESOURCE) { in zd1201_getconfig()
459 zd->rxdata[zd->rxlen-1]); in zd1201_getconfig()
464 pdata = zd->rxdata; in zd1201_getconfig()
580 if (!zd->rxlen || le16_to_cpu(*(__le16*)&zd->rxdata[6]) != rid) { in zd1201_setconfig()
[all …]
Dzd1201.h34 unsigned char rxdata[ZD1201_RXSIZE]; member
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dmpc52xx_psc.h297 } rxdata; /* PSC + 0xfc */ member
298 #define rxdata_8 rxdata.rxdata_8
299 #define rxdata_16 rxdata.rxdata_16
300 #define rxdata_32 rxdata.rxdata_32
/kernel/linux/linux-5.10/include/linux/mfd/
Dipaq-micro.h119 void (*key) (void *data, int len, unsigned char *rxdata);
121 void (*ts) (void *data, int len, unsigned char *rxdata);
/kernel/linux/linux-5.10/drivers/net/wireless/ath/wil6210/
Dtxrx_edma.c859 struct wil_ring_rx_data *rxdata = &sring->rx_data; in wil_sring_reap_rx_edma() local
955 rxdata->skipping = true; in wil_sring_reap_rx_edma()
963 rxdata->skipping = true; in wil_sring_reap_rx_edma()
975 rxdata->skipping = true; in wil_sring_reap_rx_edma()
987 if (unlikely(rxdata->skipping)) { in wil_sring_reap_rx_edma()
989 if (rxdata->skb) { in wil_sring_reap_rx_edma()
990 kfree_skb(rxdata->skb); in wil_sring_reap_rx_edma()
991 rxdata->skb = NULL; in wil_sring_reap_rx_edma()
993 rxdata->skipping = !eop; in wil_sring_reap_rx_edma()
1001 if (!rxdata->skb) { in wil_sring_reap_rx_edma()
[all …]
/kernel/linux/linux-5.10/net/can/
Dbcm.c468 const struct canfd_frame *rxdata) in bcm_rx_update_and_send() argument
470 memcpy(lastdata, rxdata, op->cfsiz); in bcm_rx_update_and_send()
511 const struct canfd_frame *rxdata) in bcm_rx_cmp_to_index() argument
524 bcm_rx_update_and_send(op, lcf, rxdata); in bcm_rx_cmp_to_index()
529 for (i = 0; i < rxdata->len; i += 8) { in bcm_rx_cmp_to_index()
530 if ((get_u64(cf, i) & get_u64(rxdata, i)) != in bcm_rx_cmp_to_index()
532 bcm_rx_update_and_send(op, lcf, rxdata); in bcm_rx_cmp_to_index()
539 if (rxdata->len != lcf->len) { in bcm_rx_cmp_to_index()
540 bcm_rx_update_and_send(op, lcf, rxdata); in bcm_rx_cmp_to_index()
/kernel/linux/linux-5.10/drivers/net/wan/
Dcosa.c116 char *rxdata; member
786 chan->rxdata = kmalloc(COSA_MTU, GFP_DMA|GFP_KERNEL); in cosa_read()
787 if (chan->rxdata == NULL) { in cosa_read()
812 kbuf = chan->rxdata; in cosa_read()
829 return chan->rxdata; in chrdev_setup_rx()
835 kfree(chan->rxdata); in chrdev_rx_done()
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
Dmax3420_udc.c225 u8 txdata[2], rxdata[2]; in spi_rd8_ack() local
233 transfer.rx_buf = rxdata; in spi_rd8_ack()
239 return rxdata[1]; in spi_rd8_ack()
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Dwdt87xx_i2c.c189 void *rxdata, size_t rxlen) in wdt87xx_i2c_xfer() argument
202 .buf = rxdata, in wdt87xx_i2c_xfer()
/kernel/linux/linux-5.10/arch/m68k/include/asm/
DMC68EZ328.h806 volatile unsigned char rxdata; member
DMC68VZ328.h899 volatile unsigned char rxdata; member
DMC68328.h984 volatile unsigned char rxdata; member