Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/google/gve/
Dgve_tx.c186 gve_tx_free_fifo(&tx->tx_fifo, space_freed); in gve_clean_xdp_done()
220 gve_tx_fifo_release(priv, &tx->tx_fifo); in gve_tx_free_ring()
221 gve_unassign_qpl(priv, tx->tx_fifo.qpl->id); in gve_tx_free_ring()
222 tx->tx_fifo.qpl = NULL; in gve_tx_free_ring()
264 tx->tx_fifo.qpl = gve_assign_tx_qpl(priv, idx); in gve_tx_alloc_ring()
265 if (!tx->tx_fifo.qpl) in gve_tx_alloc_ring()
268 if (gve_tx_fifo_init(priv, &tx->tx_fifo)) in gve_tx_alloc_ring()
290 gve_tx_fifo_release(priv, &tx->tx_fifo); in gve_tx_alloc_ring()
293 gve_unassign_qpl(priv, tx->tx_fifo.qpl->id); in gve_tx_alloc_ring()
357 pad_bytes = gve_tx_fifo_pad_alloc_one_frag(&tx->tx_fifo, in gve_skb_fifo_bytes_required()
[all …]
Dgve.h398 struct gve_tx_fifo tx_fifo; member
Dgve_adminq.c523 GVE_RAW_ADDRESSING_QPL_ID : tx->tx_fifo.qpl->id; in gve_adminq_create_tx_queue()
/linux-6.6.21/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()
/linux-6.6.21/drivers/usb/mtu3/
Dmtu3_core.c543 struct mtu3_fifo_info *tx_fifo; in get_ep_fifo_config() local
549 tx_fifo = &mtu->tx_fifo; in get_ep_fifo_config()
550 tx_fifo->base = 0; in get_ep_fifo_config()
551 tx_fifo->limit = fifosize / MTU3_EP_FIFO_UNIT; in get_ep_fifo_config()
552 bitmap_zero(tx_fifo->bitmap, MTU3_FIFO_BIT_SIZE); in get_ep_fifo_config()
562 tx_fifo = &mtu->tx_fifo; in get_ep_fifo_config()
563 tx_fifo->base = MTU3_U2_IP_EP0_FIFO_SIZE; in get_ep_fifo_config()
564 tx_fifo->limit = (fifosize / MTU3_EP_FIFO_UNIT) >> 1; in get_ep_fifo_config()
565 bitmap_zero(tx_fifo->bitmap, MTU3_FIFO_BIT_SIZE); in get_ep_fifo_config()
569 tx_fifo->base + tx_fifo->limit * MTU3_EP_FIFO_UNIT; in get_ep_fifo_config()
[all …]
Dmtu3.h331 struct mtu3_fifo_info tx_fifo; member
/linux-6.6.21/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()
791 fifo = &mbox->tx_fifo; in omap_mbox_probe()
/linux-6.6.21/drivers/net/can/usb/
Ducan.c152 u8 tx_fifo; /* Size of the transmission fifo */ member
270 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()
654 if (echo_index >= up->device_info.tx_fifo) { in ucan_tx_complete_msg()
1476 if (ctl_msg_buffer->cmd_get_device_info.tx_fifo == 0) { in ucan_probe()
1492 ctl_msg_buffer->cmd_get_device_info.tx_fifo); in ucan_probe()
/linux-6.6.21/drivers/staging/pi433/
Dpi433_if.c83 STRUCT_KFIFO_REC_1(MSG_FIFO_SIZE) tx_fifo;
572 (!kfifo_is_empty(&device->tx_fifo) || in pi433_tx_thread()
583 retval = kfifo_out(&device->tx_fifo, &tx_cfg, sizeof(tx_cfg)); in pi433_tx_thread()
591 retval = kfifo_out(&device->tx_fifo, &size, sizeof(size_t)); in pi433_tx_thread()
628 retval = kfifo_out(&device->tx_fifo, &device->buffer[position], in pi433_tx_thread()
750 if (kfifo_is_empty(&device->tx_fifo)) { in pi433_tx_thread()
847 available = kfifo_avail(&device->tx_fifo); in pi433_write()
855 retval = kfifo_in(&device->tx_fifo, &instance->tx_cfg, in pi433_write()
860 retval = kfifo_in(&device->tx_fifo, &count, sizeof(size_t)); in pi433_write()
864 retval = kfifo_from_user(&device->tx_fifo, buf, count, &copied); in pi433_write()
[all …]
/linux-6.6.21/drivers/spi/
Dspi-sh-msiof.c674 void (*tx_fifo)(struct sh_msiof_spi_priv *, in sh_msiof_spi_txrx_once()
702 tx_fifo(p, tx_buf, words, fifo_shift); in sh_msiof_spi_txrx_once()
915 void (*tx_fifo)(struct sh_msiof_spi_priv *, const void *, int, int); in sh_msiof_transfer_one() local
988 tx_fifo = sh_msiof_spi_write_fifo_8; in sh_msiof_transfer_one()
993 tx_fifo = sh_msiof_spi_write_fifo_16u; in sh_msiof_transfer_one()
995 tx_fifo = sh_msiof_spi_write_fifo_16; in sh_msiof_transfer_one()
1004 tx_fifo = sh_msiof_spi_write_fifo_s32u; in sh_msiof_transfer_one()
1006 tx_fifo = sh_msiof_spi_write_fifo_s32; in sh_msiof_transfer_one()
1015 tx_fifo = sh_msiof_spi_write_fifo_32u; in sh_msiof_transfer_one()
1017 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()
396 pic32s->tx_fifo = pic32_spi_tx_byte; in pic32_spi_set_word_size()
402 pic32s->tx_fifo = pic32_spi_tx_word; in pic32_spi_set_word_size()
408 pic32s->tx_fifo = pic32_spi_tx_dword; in pic32_spi_set_word_size()
Dspi-stm32-qspi.c169 void (*tx_fifo)(u8 *val, void __iomem *addr); in stm32_qspi_tx_poll() local
175 tx_fifo = stm32_qspi_read_fifo; in stm32_qspi_tx_poll()
179 tx_fifo = stm32_qspi_write_fifo; in stm32_qspi_tx_poll()
192 tx_fifo(buf++, qspi->io_base + QSPI_DR); in stm32_qspi_tx_poll()
/linux-6.6.21/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)UART_XMIT_SIZE); in mips_ejtag_fdc_tty_probe()
/linux-6.6.21/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()
1184 channel->tx_fifo = fifo_base; in qcom_smd_create_channel()
/linux-6.6.21/drivers/net/ethernet/freescale/
Dfec_mpc52xx.c820 phys_addr_t tx_fifo; in mpc52xx_fec_probe() local
869 tx_fifo = ndev->base_addr + offsetof(struct mpc52xx_fec, tfifo_data); in mpc52xx_fec_probe()
872 priv->tx_dmatsk = bcom_fec_tx_init(FEC_TX_NUM_BD, tx_fifo); in mpc52xx_fec_probe()
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/fw/api/
Dtx.h937 u8 tx_fifo; member
/linux-6.6.21/drivers/net/wireless/intel/iwlegacy/
D4965-mac.c2147 il4965_txq_agg_enable(struct il_priv *il, int txq_id, int tx_fifo, int sta_id, in il4965_txq_agg_enable() argument
2205 il4965_tx_queue_set_status(il, &il->txq[txq_id], tx_fifo, 1); in il4965_txq_agg_enable()
2217 int tx_fifo; in il4965_tx_agg_start() local
2224 tx_fifo = il4965_get_fifo_from_tid(tid); in il4965_tx_agg_start()
2225 if (unlikely(tx_fifo < 0)) in il4965_tx_agg_start()
2226 return tx_fifo; in il4965_tx_agg_start()
2256 ret = il4965_txq_agg_enable(il, txq_id, tx_fifo, sta_id, tid, *ssn); in il4965_tx_agg_start()
2280 il4965_txq_agg_disable(struct il_priv *il, u16 txq_id, u16 ssn_idx, u8 tx_fifo) in il4965_txq_agg_disable() argument
2303 il4965_tx_queue_set_status(il, &il->txq[txq_id], tx_fifo, 0); in il4965_txq_agg_disable()
2402 int tx_fifo = il4965_get_fifo_from_tid(tid); in il4965_txq_check_empty() local
[all …]
/linux-6.6.21/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()
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/
Dsta.c672 .tx_fifo = fifo, in iwl_mvm_reconfig_scd()
731 cmd.tx_fifo = iwl_mvm_ac_to_tx_fifo[mvm->queue_info[queue].mac80211_ac]; in iwl_mvm_redirect_queue()
998 .tx_fifo = cfg->fifo, in iwl_mvm_enable_txq()
1045 cmd.tx_fifo = iwl_mvm_ac_to_tx_fifo[tid_to_mac80211_ac[tid]]; in iwl_mvm_change_queue_tid()
/linux-6.6.21/drivers/net/ethernet/neterion/
Ds2io.c4013 struct TxFIFO_element __iomem *tx_fifo; in s2io_xmit() local
4153 tx_fifo = mac_control->tx_FIFO_start[queue]; in s2io_xmit()
4155 writeq(val64, &tx_fifo->TxDL_Pointer); in s2io_xmit()
4162 writeq(val64, &tx_fifo->List_Control); in s2io_xmit()