Lines Matching refs:instance
504 int instance;
506 instance = device_get_unit(dev);
515 if (instance < ARRAY_SIZE(ocs_devices)) {
516 ocs_devices[instance] = ocs;
518 device_printf(dev, "got unexpected ocs instance number %d\n", instance);
521 ocs->instance_index = instance;
913 * @param ocs the driver instance's software context
958 * @brief return pointer to ocs structure given instance index
960 * A pointer to an ocs structure is returned given an instance index.
976 * @brief Return instance index of an opaque ocs structure
978 * Returns the ocs instance index
980 * @param os pointer to ocs instance
982 * @return pointer to ocs instance index