Home
last modified time | relevance | path

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

/drivers/net/ethernet/ti/
Dnetcp_ethss.c726 void __iomem *host_port_regs; member
2367 GBE_REG_ADDR(priv, host_port_regs, tx_pri_map)); in gbe_init_host_port()
2370 writel(NETCP_MAX_FRAME_SIZE, GBE_REG_ADDR(priv, host_port_regs, in gbe_init_host_port()
3299 gbe_dev->host_port_regs = gbe_dev->ss_regs + XGBE10_HOST_PORT_OFFSET; in set_xgbe_ethss10_priv()
3323 XGBE_SET_REG_OFS(gbe_dev, host_port_regs, port_vlan); in set_xgbe_ethss10_priv()
3324 XGBE_SET_REG_OFS(gbe_dev, host_port_regs, tx_pri_map); in set_xgbe_ethss10_priv()
3325 XGBE_SET_REG_OFS(gbe_dev, host_port_regs, rx_maxlen); in set_xgbe_ethss10_priv()
3416 gbe_dev->host_port_regs = gbe_dev->switch_regs + GBE13_HOST_PORT_OFFSET; in set_gbe_ethss14_priv()
3446 GBE_SET_REG_OFS(gbe_dev, host_port_regs, port_vlan); in set_gbe_ethss14_priv()
3447 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.c516 writel(CPSW_FIFO_NORMAL_MODE, &cpsw->host_port_regs->tx_in_ctl); in cpsw_init_host_port_switch()
518 writel(vlan, &cpsw->host_port_regs->port_vlan); in cpsw_init_host_port_switch()
535 writel(CPSW_FIFO_DUAL_MAC_MODE, &cpsw->host_port_regs->tx_in_ctl); in cpsw_init_host_port_dual_mac()
540 writel(vlan, &cpsw->host_port_regs->port_vlan); in cpsw_init_host_port_dual_mac()
565 &cpsw->host_port_regs->cpdma_tx_pri_map); in cpsw_init_host_port()
566 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.h337 struct cpsw_host_regs __iomem *host_port_regs; member
Dcpsw_priv.c455 cpsw->host_port_regs = ss_regs + CPSW1_HOST_PORT_OFFSET; in cpsw_init_common()
469 cpsw->host_port_regs = ss_regs + CPSW2_HOST_PORT_OFFSET; in cpsw_init_common()