Lines Matching refs:shram
168 void __iomem *smem = prueth->shram.va; in icssg_miig_queues_init()
405 u32 addr = prueth->shram.pa + EMAC_ICSSG_SWITCH_DEFAULT_VLAN_TABLE_OFFSET; in icssg_init_emac_mode()
414 prueth->vlan_tbl = (struct prueth_vlan_tbl __force *)(prueth->shram.va + in icssg_init_emac_mode()
427 u32 addr = prueth->shram.pa + EMAC_ICSSG_SWITCH_DEFAULT_VLAN_TABLE_OFFSET; in icssg_init_fw_offload_mode()
435 prueth->vlan_tbl = (struct prueth_vlan_tbl __force *)(prueth->shram.va + in icssg_init_fw_offload_mode()
618 memcpy_toio(prueth->shram.va + addr + 4, cmd, sizeof(*cmd)); in icssg_send_fdb_msg()
629 memcpy_fromio(rsp, prueth->shram.va + addr, sizeof(*rsp)); in icssg_send_fdb_msg()
755 pvid = readl(prueth->shram.va + EMAC_ICSSG_SWITCH_PORT1_DEFAULT_VLAN_OFFSET); in icssg_get_pvid()
757 pvid = readl(prueth->shram.va + EMAC_ICSSG_SWITCH_PORT2_DEFAULT_VLAN_OFFSET); in icssg_get_pvid()
773 writel(pvid, prueth->shram.va + EMAC_ICSSG_SWITCH_PORT1_DEFAULT_VLAN_OFFSET); in icssg_set_pvid()
775 writel(pvid, prueth->shram.va + EMAC_ICSSG_SWITCH_PORT2_DEFAULT_VLAN_OFFSET); in icssg_set_pvid()
777 writel(pvid, prueth->shram.va + EMAC_ICSSG_SWITCH_PORT0_DEFAULT_VLAN_OFFSET); in icssg_set_pvid()