Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_gmac.c146 u32 tx_ctrl; in hns_gmac_config_pad_and_crc() local
149 tx_ctrl = dsaf_read_dev(drv, GMAC_TRANSMIT_CONTROL_REG); in hns_gmac_config_pad_and_crc()
150 dsaf_set_bit(tx_ctrl, GMAC_TX_PAD_EN_B, !!newval); in hns_gmac_config_pad_and_crc()
151 dsaf_set_bit(tx_ctrl, GMAC_TX_CRC_ADD_B, !!newval); in hns_gmac_config_pad_and_crc()
152 dsaf_write_dev(drv, GMAC_TRANSMIT_CONTROL_REG, tx_ctrl); in hns_gmac_config_pad_and_crc()
194 u32 tx_ctrl; in hns_gmac_port_mode_get() local
201 tx_ctrl = dsaf_read_dev(drv, GMAC_TRANSMIT_CONTROL_REG); in hns_gmac_port_mode_get()
212 port_mode->pad_enable = dsaf_get_bit(tx_ctrl, GMAC_TX_PAD_EN_B); in hns_gmac_port_mode_get()
213 port_mode->crc_add = dsaf_get_bit(tx_ctrl, GMAC_TX_CRC_ADD_B); in hns_gmac_port_mode_get()
214 port_mode->an_enable = dsaf_get_bit(tx_ctrl, GMAC_TX_AN_EN_B); in hns_gmac_port_mode_get()
Dhns_dsaf_mac.h296 u64 tx_ctrl; /* only for xgmac */ member
Dhns_dsaf_xgmac.c43 {"xgmac_tx_mac_ctrol_frame", MAC_STATS_FIELD_OFF(tx_ctrl)},
343 hw_stats->tx_ctrl = hns_mac_reg_read64(drv, XGMAC_TX_MACCTRLPKTS); in hns_xgmac_update_stats()
/linux-6.1.9/drivers/net/ethernet/seeq/
Dsgiseeq.c139 hregs->rx_ctrl = hregs->tx_ctrl = 0; in reset_hpc3_and_seeq()
284 hregs->tx_cbptr, hregs->tx_ndptr, hregs->tx_ctrl); in sgiseeq_dump_rings()
454 hregs->tx_ctrl = HPC3_ETXCTRL_ACTIVE; in kick_tx()
463 unsigned long status = hregs->tx_ctrl; in sgiseeq_tx()
489 hregs->tx_ctrl = HPC3_ETXCTRL_ACTIVE; in sgiseeq_tx()
646 if (!(hregs->tx_ctrl & HPC3_ETXCTRL_ACTIVE)) in sgiseeq_start_xmit()
/linux-6.1.9/drivers/net/ethernet/socionext/
Dnetsec.c791 const struct netsec_tx_pkt_ctrl *tx_ctrl, in netsec_set_tx_de() argument
805 (tx_ctrl->cksum_offload_flag << NETSEC_TX_SHIFT_CO) | in netsec_set_tx_de()
806 (tx_ctrl->tcp_seg_offload_flag << NETSEC_TX_SHIFT_SO) | in netsec_set_tx_de()
813 de->buf_len_info = (tx_ctrl->tcp_seg_len << 16) | desc->len; in netsec_set_tx_de()
834 struct netsec_tx_pkt_ctrl tx_ctrl = {}; in netsec_xdp_queue_one() local
877 netsec_set_tx_de(priv, tx_ring, &tx_ctrl, &tx_desc, xdpf); in netsec_xdp_queue_one()
1141 struct netsec_tx_pkt_ctrl tx_ctrl = {}; in netsec_netdev_start_xmit() local
1156 tx_ctrl.cksum_offload_flag = true; in netsec_netdev_start_xmit()
1171 tx_ctrl.tcp_seg_offload_flag = true; in netsec_netdev_start_xmit()
1172 tx_ctrl.tcp_seg_len = tso_seg_len; in netsec_netdev_start_xmit()
[all …]
/linux-6.1.9/drivers/net/hippi/
Drrunner.c607 rrpriv->info->tx_ctrl.entry_size = sizeof(struct tx_desc); in rr_init1()
608 rrpriv->info->tx_ctrl.entries = TX_RING_ENTRIES; in rr_init1()
609 rrpriv->info->tx_ctrl.mode = 0; in rr_init1()
610 rrpriv->info->tx_ctrl.pi = 0; in rr_init1()
611 set_rraddr(&rrpriv->info->tx_ctrl.rngptr, rrpriv->tx_ring_dma); in rr_init1()
1094 (((rrpriv->info->tx_ctrl.pi + 1) % TX_RING_ENTRIES) in rr_interrupt()
1282 rrpriv->info->tx_ctrl.pi); in rr_dump()
1372 rrpriv->info->tx_ctrl.entries = 0; in rr_close()
1440 txctrl = &rrpriv->info->tx_ctrl; in rr_start_xmit()
Drrunner.h788 struct ring_ctrl tx_ctrl; member
/linux-6.1.9/arch/mips/include/asm/sgi/
Dhpc3.h165 volatile u32 tx_ctrl; /* control register */ member
/linux-6.1.9/drivers/net/ethernet/nvidia/
Dforcedeth.c1577 u32 tx_ctrl = readl(base + NvRegTransmitterControl); in nv_start_tx() local
1579 tx_ctrl |= NVREG_XMITCTL_START; in nv_start_tx()
1581 tx_ctrl &= ~NVREG_XMITCTL_TX_PATH_EN; in nv_start_tx()
1582 writel(tx_ctrl, base + NvRegTransmitterControl); in nv_start_tx()
1590 u32 tx_ctrl = readl(base + NvRegTransmitterControl); in nv_stop_tx() local
1593 tx_ctrl &= ~NVREG_XMITCTL_START; in nv_stop_tx()
1595 tx_ctrl |= NVREG_XMITCTL_TX_PATH_EN; in nv_stop_tx()
1596 writel(tx_ctrl, base + NvRegTransmitterControl); in nv_stop_tx()
5382 u32 tx_ctrl, mgmt_sema; in nv_mgmt_acquire_sema() local
5395 tx_ctrl = readl(base + NvRegTransmitterControl); in nv_mgmt_acquire_sema()
[all …]
/linux-6.1.9/drivers/net/ethernet/qualcomm/emac/
Demac.h246 u64 tx_ctrl; /* control packets other than pause frame */ member
/linux-6.1.9/drivers/net/ethernet/atheros/atl1e/
Datl1e.h279 …unsigned long tx_ctrl; /* The number of packets transmitted is a control frame, excluding P… member
/linux-6.1.9/drivers/net/ethernet/atheros/alx/
Dhw.h425 u64 tx_ctrl; /* TX control frames, excluding pause frames */ member
Dhw.c1102 hw->stats.tx_ctrl += alx_read_mem32(hw, ALX_MIB_TX_CTRL); in alx_update_hw_stats()
/linux-6.1.9/sound/soc/tegra/
Dtegra210_admaif.c27 #define REG_DEFAULTS(id, rx_ctrl, tx_ctrl, tx_base, rx_base) \ argument
33 { CH_REG(tx_base, TEGRA_ADMAIF_TX_FIFO_CTRL, id), tx_ctrl }
/linux-6.1.9/drivers/net/ethernet/atheros/atl1c/
Datl1c.h330 …unsigned long tx_ctrl; /* The number of packets transmitted is a control frame, excluding Pause f… member
/linux-6.1.9/drivers/net/ethernet/atheros/atlx/
Datl1.h342 u32 tx_ctrl; /* TX control frames, excluding pause frames */ member
/linux-6.1.9/arch/mips/sgi-ip22/
Dip28-berr.c149 hpc3.ethtx.ctrl = hpc3c0->ethregs.tx_ctrl; /* HPC3_ETXCTRL_ACTIVE ? */ in save_and_clear_buserr()
/linux-6.1.9/drivers/net/ethernet/alteon/
Dacenic.h580 struct ring_ctrl tx_ctrl; member
Dacenic.c1285 set_aceaddr(&info->tx_ctrl.rngptr, TX_RING_BASE); in ace_init()
1290 set_aceaddr(&info->tx_ctrl.rngptr, ap->tx_ring_dma); in ace_init()
1293 info->tx_ctrl.max_len = ACE_TX_RING_ENTRIES(ap); in ace_init()
1304 info->tx_ctrl.flags = tmp; in ace_init()
/linux-6.1.9/drivers/net/wireless/ti/wlcore/
Dacx.h515 __le32 tx_ctrl; member