Lines Matching full:topology
371 * @brief Initialize link topology config
374 * Topology can be fetched from mod-param or Persistet Topology(PT).
386 uint32_t topology; in ocs_topology_setup() local
388 if (ocs->topology == OCS_HW_TOPOLOGY_AUTO) { in ocs_topology_setup()
389 topology = ocs_hw_get_config_persistent_topology(&ocs->hw); in ocs_topology_setup()
391 topology = ocs->topology; in ocs_topology_setup()
394 ocs_hw_set_persistent_topology(&ocs->hw, topology, OCS_CMD_POLL); in ocs_topology_setup()
397 return ocs_hw_set(&ocs->hw, OCS_HW_TOPOLOGY, topology); in ocs_topology_setup()
482 /* Setup persistent topology based on topology mod-param value */ in ocs_xport_initialize()
485 ocs_log_err(ocs, "%s: Can't set the topology\n", ocs->desc); in ocs_xport_initialize()
489 if (ocs_hw_set(&ocs->hw, OCS_HW_TOPOLOGY, ocs->topology) != OCS_HW_RTN_SUCCESS) { in ocs_xport_initialize()
490 ocs_log_err(ocs, "%s: Can't set the topology\n", ocs->desc); in ocs_xport_initialize()