osd_cl_scm class

API to access the functionality of the Subnet Control Module (SCM).

Usage

#include <osd/osd.h>
#include <osd/cl_scm.h>

Public Interface

Functions

osd_result osd_cl_scm_cpus_start(struct osd_hostmod_ctx * hostmod_ctx, unsigned int subnet_addr)

Start (un-halt) all CPUs in the SCM subnet

See
osd_cl_scm_cpus_stop()

osd_result osd_cl_scm_cpus_stop(struct osd_hostmod_ctx * hostmod_ctx, unsigned int subnet_addr)

Stop (halt) all CPUs in the SCM subnet

osd_result osd_cl_scm_get_subnetinfo(struct osd_hostmod_ctx * hostmod_ctx, unsigned int subnet_addr, struct osd_subnet_desc * subnet_desc)

Get a description of a given subnet from the SCM

Read the system information from the device, as stored in the SCM

struct osd_subnet_desc

Public Members

uint16_t vendor_id
uint16_t device_id
uint16_t max_pkt_len