Home
last modified time | relevance | path

Searched refs:host_port_regs (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/ti/
Dnetcp_ethss.c726 void __iomem *host_port_regs; member
2362 GBE_REG_ADDR(priv, host_port_regs, tx_pri_map)); in gbe_init_host_port()
2365 writel(NETCP_MAX_FRAME_SIZE, GBE_REG_ADDR(priv, host_port_regs, in gbe_init_host_port()
3290 gbe_dev->host_port_regs = gbe_dev->ss_regs + XGBE10_HOST_PORT_OFFSET; in set_xgbe_ethss10_priv()
3314 XGBE_SET_REG_OFS(gbe_dev, host_port_regs, port_vlan); in set_xgbe_ethss10_priv()
3315 XGBE_SET_REG_OFS(gbe_dev, host_port_regs, tx_pri_map); in set_xgbe_ethss10_priv()
3316 XGBE_SET_REG_OFS(gbe_dev, host_port_regs, rx_maxlen); in set_xgbe_ethss10_priv()
3407 gbe_dev->host_port_regs = gbe_dev->switch_regs + GBE13_HOST_PORT_OFFSET; in set_gbe_ethss14_priv()
3437 GBE_SET_REG_OFS(gbe_dev, host_port_regs, port_vlan); in set_gbe_ethss14_priv()
3438 GBE_SET_REG_OFS(gbe_dev, host_port_regs, rx_maxlen); in set_gbe_ethss14_priv()
[all …]
Dcpsw_switchdev.c132 port_vlan_reg = &cpsw->host_port_regs->port_vlan; in cpsw_get_pvid()
160 port_vlan_reg = &cpsw->host_port_regs->port_vlan; in cpsw_set_pvid()
Dcpsw_new.c517 writel(CPSW_FIFO_NORMAL_MODE, &cpsw->host_port_regs->tx_in_ctl); in cpsw_init_host_port_switch()
519 writel(vlan, &cpsw->host_port_regs->port_vlan); in cpsw_init_host_port_switch()
536 writel(CPSW_FIFO_DUAL_MAC_MODE, &cpsw->host_port_regs->tx_in_ctl); in cpsw_init_host_port_dual_mac()
541 writel(vlan, &cpsw->host_port_regs->port_vlan); in cpsw_init_host_port_dual_mac()
566 &cpsw->host_port_regs->cpdma_tx_pri_map); in cpsw_init_host_port()
567 writel_relaxed(0, &cpsw->host_port_regs->cpdma_rx_chan_map); in cpsw_init_host_port()
Dcpsw.c662 writel(vlan, &cpsw->host_port_regs->port_vlan); in cpsw_add_default_vlan()
695 writel(fifo_mode, &cpsw->host_port_regs->tx_in_ctl); in cpsw_init_host_port()
699 &cpsw->host_port_regs->cpdma_tx_pri_map); in cpsw_init_host_port()
700 writel_relaxed(0, &cpsw->host_port_regs->cpdma_rx_chan_map); in cpsw_init_host_port()
Dcpsw_priv.h339 struct cpsw_host_regs __iomem *host_port_regs; member
Dcpsw_priv.c456 cpsw->host_port_regs = ss_regs + CPSW1_HOST_PORT_OFFSET; in cpsw_init_common()
470 cpsw->host_port_regs = ss_regs + CPSW2_HOST_PORT_OFFSET; in cpsw_init_common()