smp_device
struct smp_device smp_sd;
bzero(&smp_sd, sizeof (struct smp_device));
struct smp_device *smp_sd;
smp_sd = kmem_zalloc(sizeof (struct smp_device), KM_SLEEP);
kmem_free(smp_sd, sizeof (struct smp_device));
struct smp_device *smp_sd = ddi_get_driver_private(child);
smp_device_prop_get_int(struct smp_device *smp_sd, char *name, int defval)
smp_device_prop_get_int64(struct smp_device *smp_sd, char *name, int64_t defval)
smp_device_prop_lookup_byte_array(struct smp_device *smp_sd, char *name,
smp_device_prop_lookup_int_array(struct smp_device *smp_sd, char *name,
smp_device_prop_lookup_string(struct smp_device *smp_sd, char *name,
smp_device_prop_lookup_string_array(struct smp_device *smp_sd, char *name,
smp_device_prop_update_byte_array(struct smp_device *smp_sd, char *name,
smp_device_prop_update_int(struct smp_device *smp_sd, char *name, int data)
smp_device_prop_update_int64(struct smp_device *smp_sd, char *name,
smp_device_prop_update_int_array(struct smp_device *smp_sd, char *name,
smp_device_prop_update_string(struct smp_device *smp_sd, char *name, char *data)
smp_device_prop_update_string_array(struct smp_device *smp_sd, char *name,
smp_device_prop_remove(struct smp_device *smp_sd, char *name)
smp_device_prop_free(struct smp_device *smp_sd, void *data)
smp_device_prop_update_inqstring(struct smp_device *smp_sd,
smp_probe(struct smp_device *smp_sd)
struct smp_device *smp_sd;
struct smp_device *smpd; /* Ptr to smp_device */
int smp_device_prop_get_int(struct smp_device *smp_sd, char *name,
int64_t smp_device_prop_get_int64(struct smp_device *, char *name,
int smp_device_prop_lookup_byte_array(struct smp_device *smp_sd, char *name,
int smp_device_prop_lookup_int_array(struct smp_device *smp_sd, char *name,
int smp_device_prop_lookup_string(struct smp_device *smp_sd, char *name,
int smp_device_prop_lookup_string_array(struct smp_device *smp_sd,
int smp_device_prop_update_byte_array(struct smp_device *smp_sd, char *name,
int smp_device_prop_update_int(struct smp_device *smp_sd, char *name, int);
int smp_device_prop_update_int64(struct smp_device *smp_sd, char *name,
int smp_device_prop_update_int_array(struct smp_device *smp_sd, char *name,
int smp_device_prop_update_string(struct smp_device *smp_sd, char *name,
int smp_device_prop_update_string_array(struct smp_device *smp_sd,
int smp_device_prop_remove(struct smp_device *smp_sd, char *name);
void smp_device_prop_free(struct smp_device *smp_sd, void *data);
extern int smp_probe(struct smp_device *smp_devp);
struct smp_device *smp_sd; /* pointer to smp_device */