Home
last modified time | relevance | path

Searched refs:host_p (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/ti/
H A Dam65-cpsw-switchdev.c120 struct am65_cpsw_host *host_p = am65_common_get_host(cpsw); in am65_cpsw_get_pvid() local
126 pvid = readl(host_p->port_base + AM65_CPSW_PORT_VLAN_REG_OFFSET); in am65_cpsw_get_pvid()
136 struct am65_cpsw_host *host_p = am65_common_get_host(cpsw); in am65_cpsw_set_pvid() local
146 writel(pvid, host_p->port_base + AM65_CPSW_PORT_VLAN_REG_OFFSET); in am65_cpsw_set_pvid()
H A Dam65-cpsw-nuss.c474 struct am65_cpsw_host *host_p = am65_common_get_host(common); in am65_cpsw_nuss_set_p0_ptype() local
478 val = readl(host_p->port_base + AM65_CPSW_PORT_REG_PRI_CTL); in am65_cpsw_nuss_set_p0_ptype()
492 writel(pri_map, host_p->port_base + AM65_CPSW_PORT_REG_RX_PRI_MAP); in am65_cpsw_nuss_set_p0_ptype()
493 writel(val, host_p->port_base + AM65_CPSW_PORT_REG_PRI_CTL); in am65_cpsw_nuss_set_p0_ptype()
869 struct am65_cpsw_host *host_p = am65_common_get_host(common); in am65_cpsw_nuss_common_open() local
882 host_p->port_base + AM65_CPSW_PORT_REG_RX_MAXLEN); in am65_cpsw_nuss_common_open()
885 host_p->port_base + AM65_CPSW_PORT0_REG_FLOW_ID_OFFSET); in am65_cpsw_nuss_common_open()
887 host_p->port_base + AM65_CPSW_P0_REG_CTL); in am65_cpsw_nuss_common_open()
2520 struct am65_cpsw_host *host_p = am65_common_get_host(common); in am65_cpsw_nuss_init_host_p() local
2522 host_p->common = common; in am65_cpsw_nuss_init_host_p()
[all …]