Home
last modified time | relevance | path

Searched refs:shram (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/ti/icssg/
Dicssg_config.c168 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()
417 prueth->vlan_tbl = (struct prueth_vlan_tbl __force *)(prueth->shram.va + in icssg_init_emac_mode()
429 u32 addr = prueth->shram.pa + EMAC_ICSSG_SWITCH_DEFAULT_VLAN_TABLE_OFFSET; in icssg_init_fw_offload_mode()
440 prueth->vlan_tbl = (struct prueth_vlan_tbl __force *)(prueth->shram.va + in icssg_init_fw_offload_mode()
627 memcpy_toio(prueth->shram.va + addr + 4, cmd, sizeof(*cmd)); in icssg_send_fdb_msg()
638 memcpy_fromio(rsp, prueth->shram.va + addr, sizeof(*rsp)); in icssg_send_fdb_msg()
764 pvid = readl(prueth->shram.va + EMAC_ICSSG_SWITCH_PORT1_DEFAULT_VLAN_OFFSET); in icssg_get_pvid()
766 pvid = readl(prueth->shram.va + EMAC_ICSSG_SWITCH_PORT2_DEFAULT_VLAN_OFFSET); in icssg_get_pvid()
782 writel(pvid, prueth->shram.va + EMAC_ICSSG_SWITCH_PORT1_DEFAULT_VLAN_OFFSET); in icssg_set_pvid()
[all …]
Dicssg_prueth.c65 memcpy_fromio(rsp, prueth->shram.va + addr, sizeof(*rsp)); in emac_get_tx_ts()
102 hi_sw = readl(emac->prueth->shram.va + in tx_ts_work()
343 fw_count_hi_addr = prueth->shram.va + TIMESYNC_FW_WC_COUNT_HI_SW_OFFSET_OFFSET; in prueth_iep_gettime()
344 fw_hi_r_count_addr = prueth->shram.va + TIMESYNC_FW_WC_HI_ROLLOVER_COUNT_OFFSET; in prueth_iep_gettime()
380 sc_descp = emac->prueth->shram.va + TIMESYNC_FW_WC_SETCLOCK_DESC_OFFSET; in prueth_iep_settime()
452 writel(reduction_factor, emac->prueth->shram.va + in prueth_perout_enable()
455 current_cycle = icssg_read_time(emac->prueth->shram.va + in prueth_perout_enable()
461 hi_lo_writeq(start_offset, emac->prueth->shram.va + in prueth_perout_enable()
555 memset_io(prueth->shram.va, 0, ICSSG_CONFIG_OFFSET_SLICE1 * PRUETH_NUM_MACS); in emac_ndo_open()
1396 &prueth->shram); in prueth_probe()
[all …]
Dicssg_prueth_sr1.c73 va = prueth->shram.va + slice * ICSSG_CONFIG_OFFSET_SLICE1; in icssg_config_sr1()
473 memset_io(prueth->shram.va, 0, ICSSG_CONFIG_OFFSET_SLICE1 * PRUETH_NUM_MACS); in emac_ndo_open()
984 &prueth->shram); in prueth_probe()
1143 pruss_release_mem_region(prueth->pruss, &prueth->shram); in prueth_probe()
1195 pruss_release_mem_region(prueth->pruss, &prueth->shram); in prueth_remove()
Dicssg_prueth.h267 struct pruss_mem_region shram; member
Dicssg_common.c527 u32 hi_sw = readl(emac->prueth->shram.va + in emac_rx_timestamp()