Home
last modified time | relevance | path

Searched refs:tx_fifo (Results 1 – 25 of 26) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/net/ethernet/google/gve/
Dgve_tx.c161 gve_tx_fifo_release(priv, &tx->tx_fifo); in gve_tx_free_ring()
162 gve_unassign_qpl(priv, tx->tx_fifo.qpl->id); in gve_tx_free_ring()
163 tx->tx_fifo.qpl = NULL; in gve_tx_free_ring()
209 tx->tx_fifo.qpl = gve_assign_tx_qpl(priv); in gve_tx_alloc_ring()
210 if (!tx->tx_fifo.qpl) in gve_tx_alloc_ring()
214 if (gve_tx_fifo_init(priv, &tx->tx_fifo)) in gve_tx_alloc_ring()
233 gve_tx_fifo_release(priv, &tx->tx_fifo); in gve_tx_alloc_ring()
235 gve_unassign_qpl(priv, tx->tx_fifo.qpl->id); in gve_tx_alloc_ring()
299 pad_bytes = gve_tx_fifo_pad_alloc_one_frag(&tx->tx_fifo, in gve_skb_fifo_bytes_required()
320 gve_tx_fifo_can_alloc(&tx->tx_fifo, bytes_required)); in gve_can_tx()
[all …]
Dgve.h130 struct gve_tx_fifo tx_fifo; member
Dgve_adminq.c333 .queue_page_list_id = cpu_to_be32(tx->tx_fifo.qpl->id), in gve_adminq_create_tx_queue()
/kernel/linux/linux-5.10/drivers/media/pci/netup_unidvb/
Dnetup_unidvb_i2c.c60 struct netup_i2c_fifo_regs tx_fifo; member
103 tmp = readw(&i2c->regs->tx_fifo.stat_ctrl); in netup_i2c_interrupt()
104 writew(tmp & ~FIFO_IRQEN, &i2c->regs->tx_fifo.stat_ctrl); in netup_i2c_interrupt()
125 writew(FIFO_RESET, &i2c->regs->tx_fifo.stat_ctrl); in netup_i2c_reset()
127 writew(0x800, &i2c->regs->tx_fifo.stat_ctrl); in netup_i2c_reset()
135 (readw(&i2c->regs->tx_fifo.stat_ctrl) & 0x3f); in netup_i2c_fifo_tx()
141 writeb(data, &i2c->regs->tx_fifo.data8); in netup_i2c_fifo_tx()
148 writew(readw(&i2c->regs->tx_fifo.stat_ctrl) | FIFO_IRQEN, in netup_i2c_fifo_tx()
149 &i2c->regs->tx_fifo.stat_ctrl); in netup_i2c_fifo_tx()
/kernel/linux/linux-5.10/drivers/usb/mtu3/
Dmtu3_core.c504 struct mtu3_fifo_info *tx_fifo; in get_ep_fifo_config() local
510 tx_fifo = &mtu->tx_fifo; in get_ep_fifo_config()
511 tx_fifo->base = 0; in get_ep_fifo_config()
512 tx_fifo->limit = fifosize / MTU3_EP_FIFO_UNIT; in get_ep_fifo_config()
513 bitmap_zero(tx_fifo->bitmap, MTU3_FIFO_BIT_SIZE); in get_ep_fifo_config()
523 tx_fifo = &mtu->tx_fifo; in get_ep_fifo_config()
524 tx_fifo->base = MTU3_U2_IP_EP0_FIFO_SIZE; in get_ep_fifo_config()
525 tx_fifo->limit = (fifosize / MTU3_EP_FIFO_UNIT) >> 1; in get_ep_fifo_config()
526 bitmap_zero(tx_fifo->bitmap, MTU3_FIFO_BIT_SIZE); in get_ep_fifo_config()
530 tx_fifo->base + tx_fifo->limit * MTU3_EP_FIFO_UNIT; in get_ep_fifo_config()
[all …]
Dmtu3.h332 struct mtu3_fifo_info tx_fifo; member
/kernel/linux/linux-5.10/drivers/tty/serial/
Difx6x60.c447 queue_length = kfifo_len(&ifx_dev->tx_fifo); in ifx_spi_prepare_tx_buffer()
451 temp_count = kfifo_out_locked(&ifx_dev->tx_fifo, in ifx_spi_prepare_tx_buffer()
496 is_fifo_empty = kfifo_is_empty(&ifx_dev->tx_fifo); in ifx_spi_write()
497 tx_count = kfifo_in(&ifx_dev->tx_fifo, tmp_buf, count); in ifx_spi_write()
515 return IFX_SPI_FIFO_SIZE - kfifo_len(&ifx_dev->tx_fifo); in ifx_spi_write_room()
528 return kfifo_len(&ifx_dev->tx_fifo); in ifx_spi_chars_in_buffer()
558 kfifo_reset(&ifx_dev->tx_fifo); in ifx_port_activate()
691 queue_length = kfifo_len(&ifx_dev->tx_fifo); in ifx_spi_complete()
804 kfifo_free(&ifx_dev->tx_fifo); in ifx_spi_free_port()
823 if (kfifo_alloc(&ifx_dev->tx_fifo, IFX_SPI_FIFO_SIZE, GFP_KERNEL)) { in ifx_spi_create_port()
Difx6x60.h61 struct kfifo tx_fifo; member
/kernel/linux/linux-5.10/drivers/staging/pi433/
Dpi433_if.c81 STRUCT_KFIFO_REC_1(MSG_FIFO_SIZE) tx_fifo;
570 (!kfifo_is_empty(&device->tx_fifo) || in pi433_tx_thread()
581 retval = kfifo_out(&device->tx_fifo, &tx_cfg, sizeof(tx_cfg)); in pi433_tx_thread()
589 retval = kfifo_out(&device->tx_fifo, &size, sizeof(size_t)); in pi433_tx_thread()
626 retval = kfifo_out(&device->tx_fifo, &device->buffer[position], in pi433_tx_thread()
748 if (kfifo_is_empty(&device->tx_fifo)) { in pi433_tx_thread()
835 available = kfifo_avail(&device->tx_fifo); in pi433_write()
843 retval = kfifo_in(&device->tx_fifo, &instance->tx_cfg, in pi433_write()
848 retval = kfifo_in(&device->tx_fifo, &count, sizeof(size_t)); in pi433_write()
852 retval = kfifo_from_user(&device->tx_fifo, buf, count, &copied); in pi433_write()
[all …]
/kernel/linux/linux-5.10/drivers/staging/fwserial/
Dfwserial.c114 avail = dma_fifo_avail(&port->tx_fifo); in debug_short_write()
132 fwtty_profile_data(stat, dma_fifo_avail(&port->tx_fifo)); in fwtty_profile_fifo()
272 len = dma_fifo_out_level(&port->tx_fifo); in __fwtty_restart_tx()
275 avail = dma_fifo_avail(&port->tx_fifo); in __fwtty_restart_tx()
679 dma_fifo_out_complete(&port->tx_fifo, &txn->dma_pended); in fwtty_tx_complete()
680 len = dma_fifo_level(&port->tx_fifo); in fwtty_tx_complete()
689 dma_fifo_out_complete(&port->tx_fifo, &txn->dma_pended); in fwtty_tx_complete()
690 len = dma_fifo_level(&port->tx_fifo); in fwtty_tx_complete()
734 n = dma_fifo_out_pend(&port->tx_fifo, &txn->dma_pended); in fwtty_tx()
771 len = dma_fifo_out_level(&port->tx_fifo); in fwtty_tx()
[all …]
Dfwserial.h260 struct dma_fifo tx_fifo; member
/kernel/linux/linux-5.10/drivers/net/can/usb/
Ducan.c151 u8 tx_fifo; /* Size of the transmission fifo */ member
269 u8 tx_fifo; member
333 up->context_array = kcalloc(up->device_info.tx_fifo, in ucan_alloc_context_array()
342 for (i = 0; i < up->device_info.tx_fifo; i++) { in ucan_alloc_context_array()
348 up->available_tx_urbs = up->device_info.tx_fifo; in ucan_alloc_context_array()
365 for (i = 0; i < up->device_info.tx_fifo; i++) { in ucan_alloc_context()
453 up->device_info.tx_fifo = device_info->tx_fifo; in ucan_parse_device_info()
651 if (echo_index >= up->device_info.tx_fifo) { in ucan_tx_complete_msg()
1472 if (ctl_msg_buffer->cmd_get_device_info.tx_fifo == 0) { in ucan_probe()
1488 ctl_msg_buffer->cmd_get_device_info.tx_fifo); in ucan_probe()
/kernel/linux/linux-5.10/drivers/spi/
Dspi-sh-msiof.c668 void (*tx_fifo)(struct sh_msiof_spi_priv *, in sh_msiof_spi_txrx_once()
696 tx_fifo(p, tx_buf, words, fifo_shift); in sh_msiof_spi_txrx_once()
909 void (*tx_fifo)(struct sh_msiof_spi_priv *, const void *, int, int); in sh_msiof_transfer_one() local
982 tx_fifo = sh_msiof_spi_write_fifo_8; in sh_msiof_transfer_one()
987 tx_fifo = sh_msiof_spi_write_fifo_16u; in sh_msiof_transfer_one()
989 tx_fifo = sh_msiof_spi_write_fifo_16; in sh_msiof_transfer_one()
998 tx_fifo = sh_msiof_spi_write_fifo_s32u; in sh_msiof_transfer_one()
1000 tx_fifo = sh_msiof_spi_write_fifo_s32; in sh_msiof_transfer_one()
1009 tx_fifo = sh_msiof_spi_write_fifo_32u; in sh_msiof_transfer_one()
1011 tx_fifo = sh_msiof_spi_write_fifo_32; in sh_msiof_transfer_one()
[all …]
Dspi-pic32.c120 void (*tx_fifo)(struct pic32_spi *); member
284 pic32s->tx_fifo(pic32s); in pic32_spi_tx_irq()
398 pic32s->tx_fifo = pic32_spi_tx_byte; in pic32_spi_set_word_size()
404 pic32s->tx_fifo = pic32_spi_tx_word; in pic32_spi_set_word_size()
410 pic32s->tx_fifo = pic32_spi_tx_dword; in pic32_spi_set_word_size()
Dspi-stm32-qspi.c157 void (*tx_fifo)(u8 *val, void __iomem *addr); in stm32_qspi_tx_poll() local
163 tx_fifo = stm32_qspi_read_fifo; in stm32_qspi_tx_poll()
167 tx_fifo = stm32_qspi_write_fifo; in stm32_qspi_tx_poll()
180 tx_fifo(buf++, qspi->io_base + QSPI_DR); in stm32_qspi_tx_poll()
/kernel/linux/linux-5.10/drivers/mailbox/
Domap-mailbox.c108 struct omap_mbox_fifo tx_fifo; member
153 struct omap_mbox_fifo *fifo = &mbox->tx_fifo; in mbox_fifo_write()
167 struct omap_mbox_fifo *fifo = &mbox->tx_fifo; in mbox_fifo_full()
176 &mbox->tx_fifo : &mbox->rx_fifo; in ack_mbox_irq()
189 &mbox->tx_fifo : &mbox->rx_fifo; in is_mbox_irq()
204 &mbox->tx_fifo : &mbox->rx_fifo; in _omap_mbox_enable_irq()
216 &mbox->tx_fifo : &mbox->rx_fifo; in _omap_mbox_disable_irq()
804 fifo = &mbox->tx_fifo; in omap_mbox_probe()
/kernel/linux/linux-5.10/drivers/tty/
Dmips_ejtag_fdc.c153 u8 tx_fifo; member
891 unsigned int cfg, tx_fifo; in mips_ejtag_fdc_tty_probe() local
911 tx_fifo = (cfg & REG_FDCFG_TXFIFOSIZE) >> REG_FDCFG_TXFIFOSIZE_SHIFT; in mips_ejtag_fdc_tty_probe()
919 priv->xmit_size = min(tx_fifo * 4, (unsigned int)SERIAL_XMIT_SIZE); in mips_ejtag_fdc_tty_probe()
/kernel/linux/linux-5.10/drivers/rpmsg/
Dqcom_smd.c216 void *tx_fifo; member
711 smd_copy_to_fifo(channel->tx_fifo + head, in qcom_smd_write_fifo()
718 smd_copy_to_fifo(channel->tx_fifo, in qcom_smd_write_fifo()
1168 channel->tx_fifo = fifo_base; in qcom_smd_create_channel()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/
Dfec_mpc52xx.c819 phys_addr_t tx_fifo; in mpc52xx_fec_probe() local
868 tx_fifo = ndev->base_addr + offsetof(struct mpc52xx_fec, tfifo_data); in mpc52xx_fec_probe()
871 priv->tx_dmatsk = bcom_fec_tx_init(FEC_TX_NUM_BD, tx_fifo); in mpc52xx_fec_probe()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/api/
Dtx.h940 u8 tx_fifo; member
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlegacy/
D4965-mac.c2148 il4965_txq_agg_enable(struct il_priv *il, int txq_id, int tx_fifo, int sta_id, in il4965_txq_agg_enable() argument
2206 il4965_tx_queue_set_status(il, &il->txq[txq_id], tx_fifo, 1); in il4965_txq_agg_enable()
2218 int tx_fifo; in il4965_tx_agg_start() local
2225 tx_fifo = il4965_get_fifo_from_tid(tid); in il4965_tx_agg_start()
2226 if (unlikely(tx_fifo < 0)) in il4965_tx_agg_start()
2227 return tx_fifo; in il4965_tx_agg_start()
2257 ret = il4965_txq_agg_enable(il, txq_id, tx_fifo, sta_id, tid, *ssn); in il4965_tx_agg_start()
2281 il4965_txq_agg_disable(struct il_priv *il, u16 txq_id, u16 ssn_idx, u8 tx_fifo) in il4965_txq_agg_disable() argument
2304 il4965_tx_queue_set_status(il, &il->txq[txq_id], tx_fifo, 0); in il4965_txq_agg_disable()
2403 int tx_fifo = il4965_get_fifo_from_tid(tid); in il4965_txq_check_empty() local
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dmain.c2424 uint tx_fifo) in brcms_b_tx_fifo_suspend() argument
2426 u8 fifo = 1 << tx_fifo; in brcms_b_tx_fifo_suspend()
2441 if (wlc_hw->di[tx_fifo]) { in brcms_b_tx_fifo_suspend()
2450 dma_txsuspend(wlc_hw->di[tx_fifo]); in brcms_b_tx_fifo_suspend()
2458 uint tx_fifo) in brcms_b_tx_fifo_resume() argument
2465 if (wlc_hw->di[tx_fifo]) in brcms_b_tx_fifo_resume()
2466 dma_txresume(wlc_hw->di[tx_fifo]); in brcms_b_tx_fifo_resume()
2472 wlc_hw->suspended_fifos &= ~(1 << tx_fifo); in brcms_b_tx_fifo_resume()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Dsta.c681 cmd.tx_fifo = iwl_mvm_ac_to_tx_fifo[mvm->queue_info[queue].mac80211_ac]; in iwl_mvm_redirect_queue()
885 .tx_fifo = cfg->fifo, in iwl_mvm_enable_txq()
932 cmd.tx_fifo = iwl_mvm_ac_to_tx_fifo[tid_to_mac80211_ac[tid]]; in iwl_mvm_change_queue_tid()
Dutils.c598 .tx_fifo = fifo, in iwl_mvm_reconfig_scd()
/kernel/linux/linux-5.10/drivers/net/ethernet/neterion/
Ds2io.c4009 struct TxFIFO_element __iomem *tx_fifo; in s2io_xmit() local
4149 tx_fifo = mac_control->tx_FIFO_start[queue]; in s2io_xmit()
4151 writeq(val64, &tx_fifo->TxDL_Pointer); in s2io_xmit()
4158 writeq(val64, &tx_fifo->List_Control); in s2io_xmit()

12