/drivers/firmware/imx/ |
D | imx-scu.c | 44 u8 rx_size; member 128 sc_ipc->rx_size = hdr->size; in imx_scu_rx_callback() 131 for (i = 1; i < sc_ipc->rx_size; i++) in imx_scu_rx_callback() 141 sc_ipc->rx_size = hdr->size; in imx_scu_rx_callback() 142 dev_dbg(sc_ipc->dev, "msg rx size %u\n", sc_ipc->rx_size); in imx_scu_rx_callback() 143 if (sc_ipc->rx_size > 4) in imx_scu_rx_callback() 145 sc_ipc->rx_size); in imx_scu_rx_callback() 154 if ((sc_ipc->rx_size != 0) && (sc_ipc->count == sc_ipc->rx_size)) in imx_scu_rx_callback()
|
/drivers/tty/serial/8250/ |
D | 8250_dma.c | 61 count = dma->rx_size - state.residue; in __dma_rx_complete() 151 dma->rx_size, DMA_DEV_TO_MEM, in serial8250_rx_dma() 242 if (!dma->rx_size) in serial8250_request_dma() 243 dma->rx_size = PAGE_SIZE; in serial8250_request_dma() 245 dma->rx_buf = dma_alloc_coherent(dma->rxchan->device->dev, dma->rx_size, in serial8250_request_dma() 258 dma_free_coherent(dma->rxchan->device->dev, dma->rx_size, in serial8250_request_dma() 284 dma_free_coherent(dma->rxchan->device->dev, dma->rx_size, dma->rx_buf, in serial8250_release_dma()
|
D | 8250_mtk.c | 108 total = dma->rx_size - state.residue; in mtk8250_dma_rx_complete() 111 if ((data->rx_pos + cnt) > dma->rx_size) in mtk8250_dma_rx_complete() 112 cnt = dma->rx_size - data->rx_pos; in mtk8250_dma_rx_complete() 140 dma->rx_size, DMA_DEV_TO_MEM, in mtk8250_rx_dma() 164 dma->rxconf.src_port_window_size = dma->rx_size; in mtk8250_dma_enable() 512 data->dma->rx_size = MTK_UART_RX_SIZE; in mtk8250_probe_of()
|
D | 8250_omap.c | 141 u32 rx_size; member 847 count = dma->rx_size - state.residue + state.in_flight_bytes; in __dma_rx_do_complete() 848 if (count < dma->rx_size) { in __dma_rx_do_complete() 963 dma->rx_size, DMA_DEV_TO_MEM, in omap_8250_rx_dma() 1256 .rx_size = SZ_2K, 1262 .rx_size = RX_TRIGGER, 1458 up.dma->rx_size = dma_params->rx_size; in omap8250_probe() 1464 up.dma->rx_size = RX_TRIGGER; in omap8250_probe()
|
D | 8250_bcm7271.c | 222 size_t rx_size; member 877 dma_free_coherent(dev, priv->rx_size, priv->rx_bufs, in brcmuart_free_bufs() 1078 priv->rx_size = RX_BUF_SIZE * RX_BUFS_COUNT; in brcmuart_probe() 1080 priv->rx_size, in brcmuart_probe()
|
/drivers/media/dvb-frontends/cxd2880/ |
D | cxd2880_spi_device.c | 45 u32 rx_size) in cxd2880_spi_device_write_read() argument 51 !tx_size || !rx_data || !rx_size) in cxd2880_spi_device_write_read() 57 tx_size, rx_data, rx_size); in cxd2880_spi_device_write_read()
|
D | cxd2880_spi.h | 29 u8 *rx_data, u32 rx_size);
|
/drivers/staging/greybus/ |
D | spilib.c | 60 static size_t calc_rx_xfer_size(u32 rx_size, u32 *tx_xfer_size, u32 len, in calc_rx_xfer_size() argument 67 if (rx_size + len > data_max) in calc_rx_xfer_size() 68 rx_xfer_size = data_max - rx_size; in calc_rx_xfer_size() 170 u32 tx_size = 0, rx_size = 0, count = 0, xfer_len = 0, request_size; in gb_spi_operation_create() local 207 rx_xfer_size = calc_rx_xfer_size(rx_size, &tx_xfer_size, in gb_spi_operation_create() 213 rx_size += rx_xfer_size; in gb_spi_operation_create() 233 request_size, rx_size, GFP_KERNEL); in gb_spi_operation_create()
|
/drivers/bluetooth/ |
D | btmtksdio.c | 384 static int btmtksdio_rx_packet(struct btmtksdio_dev *bdev, u16 rx_size) in btmtksdio_rx_packet() argument 393 if (rx_size < sizeof(*sdio_hdr)) in btmtksdio_rx_packet() 397 skb = bt_skb_alloc(rx_size, GFP_KERNEL); in btmtksdio_rx_packet() 401 skb_put(skb, rx_size); in btmtksdio_rx_packet() 403 err = sdio_readsb(bdev->func, skb->data, MTK_REG_CRDR, rx_size); in btmtksdio_rx_packet() 414 if (rx_size != le16_to_cpu(sdio_hdr->len)) { in btmtksdio_rx_packet() 471 bdev->hdev->stat.byte_rx += rx_size; in btmtksdio_rx_packet() 485 u16 rx_size; in btmtksdio_interrupt() local 527 rx_size = (int_status & RX_PKT_LEN) >> 16; in btmtksdio_interrupt() 529 if (btmtksdio_rx_packet(bdev, rx_size) < 0) in btmtksdio_interrupt()
|
/drivers/net/ethernet/marvell/octeontx2/af/ |
D | mbox.c | 65 mbox->rx_size = MBOX_DOWN_RX_SIZE; in otx2_mbox_setup() 72 mbox->rx_size = MBOX_DOWN_TX_SIZE; in otx2_mbox_setup() 79 mbox->rx_size = MBOX_UP_RX_SIZE; in otx2_mbox_setup() 86 mbox->rx_size = MBOX_UP_TX_SIZE; in otx2_mbox_setup() 277 if ((mdev->rsp_size + size_rsp) > mbox->rx_size - msgs_offset) in otx2_mbox_alloc_msg_rsp()
|
/drivers/target/iscsi/ |
D | iscsi_target.c | 1592 u32 checksum, iov_count = 0, padding = 0, rx_got = 0, rx_size = 0; in iscsit_get_dataout() local 1598 rx_size += payload_length; in iscsit_get_dataout() 1612 rx_size += padding; in iscsit_get_dataout() 1619 rx_size += ISCSI_CRC_LEN; in iscsit_get_dataout() 1623 rx_got = rx_data(conn, &cmd->iov_data[0], iov_count, rx_size); in iscsit_get_dataout() 1627 if (rx_got != rx_size) in iscsit_get_dataout() 1862 int niov = 0, rx_got, rx_size = payload_length; in iscsit_handle_nop_out() local 1880 rx_size += padding; in iscsit_handle_nop_out() 1885 rx_size += ISCSI_CRC_LEN; in iscsit_handle_nop_out() 1889 rx_got = rx_data(conn, &cmd->iov_misc[0], niov, rx_size); in iscsit_handle_nop_out() [all …]
|
/drivers/net/ethernet/silan/ |
D | sc92031.c | 696 u32 rx_status, unsigned rx_size) in _sc92031_rx_tasklet_error() argument 698 if(rx_size > (MAX_ETH_FRAME_SIZE + 4) || rx_size < 16) { in _sc92031_rx_tasklet_error() 760 unsigned rx_size, rx_size_align, pkt_size; in _sc92031_rx_tasklet() local 766 rx_size = rx_status >> 20; in _sc92031_rx_tasklet() 767 rx_size_align = (rx_size + 3) & ~3; // for 4 bytes aligned in _sc92031_rx_tasklet() 768 pkt_size = rx_size - 4; // Omit the four octet CRC from the length. in _sc92031_rx_tasklet() 773 rx_size > (MAX_ETH_FRAME_SIZE + 4) || in _sc92031_rx_tasklet() 774 rx_size < 16 || in _sc92031_rx_tasklet() 776 _sc92031_rx_tasklet_error(dev, rx_status, rx_size); in _sc92031_rx_tasklet()
|
/drivers/mailbox/ |
D | rockchip-mailbox.c | 27 int rx_size; member 61 if (msg->rx_size > mb->buf_size) { in rockchip_mbox_send_data() 73 writel_relaxed(msg->rx_size, mb->mbox_base + in rockchip_mbox_send_data()
|
/drivers/net/ethernet/tehuti/ |
D | tehuti.c | 2231 static inline int bdx_rx_fifo_size_to_packets(int rx_size) in bdx_rx_fifo_size_to_packets() argument 2233 return (FIFO_SIZE * (1 << rx_size)) / sizeof(struct rxf_desc); in bdx_rx_fifo_size_to_packets() 2268 int rx_size = 0; in bdx_set_ringparam() local 2271 for (; rx_size < 4; rx_size++) { in bdx_set_ringparam() 2272 if (bdx_rx_fifo_size_to_packets(rx_size) >= ring->rx_pending) in bdx_set_ringparam() 2275 if (rx_size == 4) in bdx_set_ringparam() 2276 rx_size = 3; in bdx_set_ringparam() 2286 if ((rx_size == priv->rxf_size) && in bdx_set_ringparam() 2290 priv->rxf_size = rx_size; in bdx_set_ringparam() 2291 if (rx_size > 1) in bdx_set_ringparam() [all …]
|
/drivers/staging/ks7010/ |
D | ks_hostif.c | 43 --(priv->rx_size); in get_byte() 366 eth_proto, priv->rx_size); in hostif_data_indication_wpa() 369 (priv->rxp) + ((priv->rx_size) - sizeof(recv_mic)), in hostif_data_indication_wpa() 371 priv->rx_size = priv->rx_size - sizeof(recv_mic); in hostif_data_indication_wpa() 373 ret = michael_mic(key->rx_mic_key, priv->rxp, priv->rx_size, in hostif_data_indication_wpa() 428 if (priv->rx_size <= ETH_HLEN) { in hostif_data_indication() 461 rx_ind_size = priv->rx_size - 6; in hostif_data_indication() 481 rx_ind_size = (priv->rx_size + 2); in hostif_data_indication() 548 priv->version_size = priv->rx_size; in hostif_mib_get_confirm() 549 memcpy(priv->firmware_version, priv->rxp, priv->rx_size); in hostif_mib_get_confirm() [all …]
|
/drivers/net/ethernet/realtek/ |
D | 8139too.c | 1953 unsigned int rx_size = 0; in rtl8139_rx() local 1970 rx_size = rx_status >> 16; in rtl8139_rx() 1972 pkt_size = rx_size - 4; in rtl8139_rx() 1974 pkt_size = rx_size; in rtl8139_rx() 1977 __func__, rx_status, rx_size, cur_rx); in rtl8139_rx() 1988 if (unlikely(rx_size == 0xfff0)) { in rtl8139_rx() 1993 rx_size = 0; in rtl8139_rx() 2009 if (unlikely((rx_size > (MAX_ETH_FRAME_SIZE+4)) || in rtl8139_rx() 2010 (rx_size < 8) || in rtl8139_rx() 2013 (rx_size <= (MAX_ETH_FRAME_SIZE + 4)) && in rtl8139_rx() [all …]
|
/drivers/crypto/marvell/octeontx2/ |
D | otx2_cptvf_mbox.c | 42 if (msg_size > mbox->rx_size - msgs_offset) in otx2_cpt_sync_mbox_bbuf() 43 msg_size = mbox->rx_size - msgs_offset; in otx2_cpt_sync_mbox_bbuf()
|
/drivers/net/wireless/ath/carl9170/ |
D | fw.c | 318 ar->fw.rx_size = le16_to_cpu(otus_desc->rx_max_frame_len); in carl9170_fw() 326 ar->fw.rx_size > 32768 || ar->fw.rx_size < 4096 || in carl9170_fw()
|
/drivers/gpu/drm/i915/display/ |
D | intel_gmbus.c | 465 unsigned int rx_size = msg->len; in gmbus_xfer_read() local 471 len = min(rx_size, INTEL_GMBUS_BURST_READ_MAX_LEN); in gmbus_xfer_read() 473 len = min(rx_size, gmbus_max_xfer_size(dev_priv)); in gmbus_xfer_read() 480 rx_size -= len; in gmbus_xfer_read() 482 } while (rx_size != 0); in gmbus_xfer_read()
|
/drivers/net/fjes/ |
D | fjes_trace.h | 103 __field(size_t, rx_size) 113 __entry->rx_size = buf_pair->rx.size; 121 __entry->rx, __entry->rx_size)
|
/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
D | sdk.h | 105 unsigned int rx_size; member
|
/drivers/net/ethernet/ibm/emac/ |
D | core.c | 474 static u32 __emac_calc_base_mr1(struct emac_instance *dev, int tx_size, int rx_size) in __emac_calc_base_mr1() argument 489 switch(rx_size) { in __emac_calc_base_mr1() 498 dev->ndev->name, rx_size); in __emac_calc_base_mr1() 504 static u32 __emac4_calc_base_mr1(struct emac_instance *dev, int tx_size, int rx_size) in __emac4_calc_base_mr1() argument 529 switch(rx_size) { in __emac4_calc_base_mr1() 544 dev->ndev->name, rx_size); in __emac4_calc_base_mr1() 550 static u32 emac_calc_base_mr1(struct emac_instance *dev, int tx_size, int rx_size) in emac_calc_base_mr1() argument 553 __emac4_calc_base_mr1(dev, tx_size, rx_size) : in emac_calc_base_mr1() 554 __emac_calc_base_mr1(dev, tx_size, rx_size); in emac_calc_base_mr1() 578 int tx_size, rx_size, link = netif_carrier_ok(dev->ndev); in emac_configure() local [all …]
|
/drivers/tty/serial/ |
D | samsung_tty.c | 114 size_t rx_size; member 522 dma->rx_size, DMA_FROM_DEVICE); in s3c24xx_uart_copy_rx_to_tty() 643 dma->rx_size, DMA_FROM_DEVICE); in s3c64xx_start_rx_dma() 646 dma->rx_addr, dma->rx_size, DMA_DEV_TO_MEM, in s3c64xx_start_rx_dma() 655 dma->rx_bytes_requested = dma->rx_size; in s3c64xx_start_rx_dma() 1097 dma->rx_size = PAGE_SIZE; in s3c24xx_serial_request_dma() 1099 dma->rx_buf = kmalloc(dma->rx_size, GFP_KERNEL); in s3c24xx_serial_request_dma() 1106 dma->rx_size, DMA_FROM_DEVICE); in s3c24xx_serial_request_dma() 1127 dma->rx_size, DMA_FROM_DEVICE); in s3c24xx_serial_request_dma() 1147 dma->rx_size, DMA_FROM_DEVICE); in s3c24xx_serial_release_dma()
|
D | ucc_uart.c | 987 unsigned int rx_size, tx_size; in qe_uart_request_port() local 1008 rx_size = L1_CACHE_ALIGN(qe_port->rx_nrfifos * qe_port->rx_fifosize); in qe_uart_request_port() 1011 bd_virt = dma_alloc_coherent(port->dev, rx_size + tx_size, &bd_dma_addr, in qe_uart_request_port() 1020 qe_port->bd_size = rx_size + tx_size; in qe_uart_request_port() 1023 qe_port->tx_buf = qe_port->rx_buf + rx_size; in qe_uart_request_port()
|
/drivers/comedi/drivers/ |
D | vmk80xx.c | 164 size_t rx_size; in vmk80xx_do_bulk_msg() local 171 rx_size = usb_endpoint_maxp(devpriv->ep_rx); in vmk80xx_do_bulk_msg() 176 usb_bulk_msg(usb, rx_pipe, devpriv->usb_rx_buf, rx_size, NULL, in vmk80xx_do_bulk_msg()
|