| /linux/drivers/net/ethernet/ti/icssg/ |
| H A D | icssg_config.c | 115 struct prueth *prueth = emac->prueth; in icssg_config_mii_init_fw_offload() local 120 mii_rt = prueth->mii_rt; in icssg_config_mii_init_fw_offload() 142 struct prueth *prueth = emac->prueth; in icssg_config_mii_init() local 147 mii_rt = prueth->mii_rt; in icssg_config_mii_init() 168 static void icssg_miig_queues_init(struct prueth *prueth, int slice) in icssg_miig_queues_init() argument 170 struct regmap *miig_rt = prueth->miig_rt; in icssg_miig_queues_init() 171 void __iomem *smem = prueth->shram.va; in icssg_miig_queues_init() 228 struct prueth *prueth = emac->prueth; in icssg_config_ipg() local 252 icssg_mii_update_ipg(prueth->mii_rt, slice, ipg); in icssg_config_ipg() 288 struct prueth *prueth = emac->prueth; in prueth_fw_offload_buffer_setup() local [all …]
|
| H A D | icssg_queues.c | 16 int icssg_queue_pop(struct prueth *prueth, u8 queue) in icssg_queue_pop() argument 23 regmap_read(prueth->miig_rt, ICSSG_QUEUE_CNT_OFFSET + 4 * queue, &cnt); in icssg_queue_pop() 27 regmap_read(prueth->miig_rt, ICSSG_QUEUE_OFFSET + 4 * queue, &val); in icssg_queue_pop() 33 void icssg_queue_push(struct prueth *prueth, int queue, u16 addr) in icssg_queue_push() argument 38 regmap_write(prueth->miig_rt, ICSSG_QUEUE_OFFSET + 4 * queue, addr); in icssg_queue_push() 42 u32 icssg_queue_level(struct prueth *prueth, int queue) in icssg_queue_level() argument 49 regmap_read(prueth->miig_rt, ICSSG_QUEUE_CNT_OFFSET + 4 * queue, ®); in icssg_queue_level()
|
| H A D | icssg_stats.c | 21 struct prueth *prueth = emac->prueth; in emac_update_hardware_stats() local 28 spin_lock(&prueth->stats_lock); in emac_update_hardware_stats() 39 regmap_read(prueth->miig_rt, in emac_update_hardware_stats() 42 regmap_write(prueth->miig_rt, in emac_update_hardware_stats() 54 if (prueth->pa_stats) { in emac_update_hardware_stats() 58 regmap_read(prueth->pa_stats, reg, &val); in emac_update_hardware_stats() 63 spin_unlock(&prueth->stats_lock); in emac_update_hardware_stats() 86 if (emac->prueth->pa_stats) { in emac_get_stat_by_name()
|
| H A D | icssg_ethtool.c | 15 struct prueth *prueth = emac->prueth; in emac_get_drvinfo() local 17 strscpy(info->driver, dev_driver_string(prueth->dev), in emac_get_drvinfo() 19 strscpy(info->bus_info, dev_name(prueth->dev), sizeof(info->bus_info)); in emac_get_drvinfo() 74 if (emac->prueth->pa_stats) in emac_get_sset_count() 94 if (emac->prueth->pa_stats) in emac_get_strings() 115 if (emac->prueth->pa_stats) in emac_get_ethtool_stats() 248 struct prueth *prueth = emac->prueth; in emac_set_coalesce() local 255 dev_info(prueth->dev, "defaulting to min value of %dus for rx-usecs\n", in emac_set_coalesce() 262 dev_info(prueth->dev, "defaulting to min value of %dus for tx-usecs\n", in emac_set_coalesce() 277 struct prueth *prueth = emac->prueth; in emac_set_per_queue_coalesce() local [all …]
|
| H A D | icssg_switchdev.h | 9 int prueth_switchdev_register_notifiers(struct prueth *prueth); 10 void prueth_switchdev_unregister_notifiers(struct prueth *prueth);
|
| H A D | icssg_switchdev.c | 254 icssg_set_pvid(emac->prueth, vid, emac->port_id); in prueth_switchdev_vlan_add() 278 icssg_set_pvid(emac->prueth, 0, emac->port_id); in prueth_switchdev_vlan_del() 450 int prueth_switchdev_register_notifiers(struct prueth *prueth) in prueth_switchdev_register_notifiers() argument 454 prueth->prueth_switchdev_nb.notifier_call = &prueth_switchdev_event; in prueth_switchdev_register_notifiers() 455 ret = register_switchdev_notifier(&prueth->prueth_switchdev_nb); in prueth_switchdev_register_notifiers() 457 dev_err(prueth->dev, "register switchdev notifier fail ret:%d\n", in prueth_switchdev_register_notifiers() 462 prueth->prueth_switchdev_bl_nb.notifier_call = &prueth_switchdev_blocking_event; in prueth_switchdev_register_notifiers() 463 ret = register_switchdev_blocking_notifier(&prueth->prueth_switchdev_bl_nb); in prueth_switchdev_register_notifiers() 465 dev_err(prueth->dev, "register switchdev blocking notifier ret:%d\n", in prueth_switchdev_register_notifiers() 467 unregister_switchdev_notifier(&prueth->prueth_switchdev_nb); in prueth_switchdev_register_notifiers() [all …]
|
| /linux/arch/arm64/boot/dts/ti/ |
| H A D | k3-am65-iot2050-common-pg1.dtsi | 46 compatible = "ti,am654-sr1-icssg-prueth"; 49 firmware-name = "ti-pruss/am65x-pru0-prueth-fw.elf", 50 "ti-pruss/am65x-rtu0-prueth-fw.elf", 51 "ti-pruss/am65x-pru1-prueth-fw.elf", 52 "ti-pruss/am65x-rtu1-prueth-fw.elf";
|
| H A D | k3-am654-idk.dtso | 25 compatible = "ti,am654-icssg-prueth"; 30 firmware-name = "ti-pruss/am65x-sr2-pru0-prueth-fw.elf", 31 "ti-pruss/am65x-sr2-rtu0-prueth-fw.elf", 32 "ti-pruss/am65x-sr2-txpru0-prueth-fw.elf", 33 "ti-pruss/am65x-sr2-pru1-prueth-fw.elf", 34 "ti-pruss/am65x-sr2-rtu1-prueth-fw.elf", 35 "ti-pruss/am65x-sr2-txpru1-prueth-fw.elf"; 92 compatible = "ti,am654-icssg-prueth"; 97 firmware-name = "ti-pruss/am65x-sr2-pru0-prueth-fw.elf", 98 "ti-pruss/am65x-sr2-rtu0-prueth-fw.elf", [all …]
|
| H A D | k3-am642-phyboard-electra-peb-c-010.dtso | 20 compatible = "ti,am642-icssg-prueth"; 38 firmware-name = "ti-pruss/am65x-sr2-pru0-prueth-fw.elf", 39 "ti-pruss/am65x-sr2-rtu0-prueth-fw.elf", 40 "ti-pruss/am65x-sr2-txpru0-prueth-fw.elf", 41 "ti-pruss/am65x-sr2-pru1-prueth-fw.elf", 42 "ti-pruss/am65x-sr2-rtu1-prueth-fw.elf", 43 "ti-pruss/am65x-sr2-txpru1-prueth-fw.elf";
|
| H A D | k3-am65-iot2050-common.dtsi | 126 compatible = "ti,am654-icssg-prueth"; 133 firmware-name = "ti-pruss/am65x-sr2-pru0-prueth-fw.elf", 134 "ti-pruss/am65x-sr2-rtu0-prueth-fw.elf", 135 "ti-pruss/am65x-sr2-txpru0-prueth-fw.elf", 136 "ti-pruss/am65x-sr2-pru1-prueth-fw.elf", 137 "ti-pruss/am65x-sr2-rtu1-prueth-fw.elf", 138 "ti-pruss/am65x-sr2-txpru1-prueth-fw.elf";
|
| H A D | k3-am642-evm.dts | 193 compatible = "ti,am642-icssg-prueth"; 198 firmware-name = "ti-pruss/am64x-sr2-pru0-prueth-fw.elf", 199 "ti-pruss/am64x-sr2-rtu0-prueth-fw.elf", 200 "ti-pruss/am64x-sr2-txpru0-prueth-fw.elf", 201 "ti-pruss/am64x-sr2-pru1-prueth-fw.elf", 202 "ti-pruss/am64x-sr2-rtu1-prueth-fw.elf", 203 "ti-pruss/am64x-sr2-txpru1-prueth-fw.elf";
|
| H A D | k3-am642-tqma64xxl-mbax4xxl.dts | 77 compatible = "ti,am642-icssg-prueth"; 97 firmware-name = "ti-pruss/am64x-sr2-pru0-prueth-fw.elf", 98 "ti-pruss/am64x-sr2-rtu0-prueth-fw.elf", 99 "ti-pruss/am64x-sr2-txpru0-prueth-fw.elf", 100 "ti-pruss/am64x-sr2-pru1-prueth-fw.elf", 101 "ti-pruss/am64x-sr2-rtu1-prueth-fw.elf", 102 "ti-pruss/am64x-sr2-txpru1-prueth-fw.elf"; 221 /* phy-mode is fixed up to rgmii-rxid by prueth driver to account for
|