Searched defs:instance (Results 51 - 75 of 540) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/uts/sun4u/io/i2c/clients/
H A Dlm75.c149 int instance;
152 instance = getminor(*devp);
154 if (instance < 0) {
159 ddi_get_soft_state(lm75soft_statep, instance);
196 int instance;
198 instance = getminor(dev);
200 if (instance < 0) {
205 ddi_get_soft_state(lm75soft_statep, instance);
324 int instance;
335 instance
466 int instance; local
527 int instance; local
[all...]
H A Dltc1427.c149 int instance;
152 instance = getminor(*devp);
154 if (instance < 0) {
159 ddi_get_soft_state(ltc1427soft_statep, instance);
196 int instance;
198 instance = getminor(dev);
200 if (instance < 0) {
205 ddi_get_soft_state(ltc1427soft_statep, instance);
226 int instance;
237 instance
339 int instance; local
401 int instance; local
[all...]
H A Dpcf8574.c149 int instance;
154 instance = getminor(*devp);
156 if (instance < 0) {
161 ddi_get_soft_state(pcf8574soft_statep, instance);
198 int instance;
200 instance = getminor(dev);
202 if (instance < 0) {
206 ddi_get_soft_state(pcf8574soft_statep, instance);
291 int instance;
304 instance
489 int instance; local
552 int instance; local
[all...]
H A Dpic16f819.c206 int instance;
209 instance = getminor(*devp);
211 if (instance < 0) {
216 ddi_get_soft_state(pic16f819soft_statep, instance);
253 int instance;
255 instance = getminor(dev);
257 if (instance < 0) {
262 ddi_get_soft_state(pic16f819soft_statep, instance);
283 int instance;
294 instance
370 int instance; local
434 int instance; local
[all...]
/illumos-gate/usr/src/uts/sun4u/io/
H A Dpmc.c59 static int instance = -1; variable
203 int instance;
207 instance = getminor((dev_t)arg);
208 pmcp = (pmc_t *)ddi_get_soft_state(pmc_soft_state, instance);
250 if (instance != -1) {
251 DPRINTF(("pmc_attach: Another instance is already attached."));
255 instance = ddi_get_instance(dip);
257 if (ddi_soft_state_zalloc(pmc_soft_state, instance) != DDI_SUCCESS) {
262 pmcp = (pmc_t *)ddi_get_soft_state(pmc_soft_state, instance);
280 instance);
[all...]
/illumos-gate/usr/src/uts/sun4u/javelin/sys/
H A Denvctrltwo.h42 int instance; member in struct:envctrlunit
/illumos-gate/usr/src/uts/sun4u/lw8/sys/
H A Dsgfru_priv.h86 int instance; member in struct:sgfru_soft_state
/illumos-gate/usr/src/uts/sun4u/opl/io/oplpanel/
H A Doplpanel.c176 int instance; local
185 instance = ddi_get_instance(dip);
187 DCMN_ERR((CE_CONT, "%s%d: attach\n", panel_name, instance));
192 panel_name, instance));
197 panel_name, instance));
200 ddi_get_soft_state(panelstates, instance)) == NULL) {
202 panel_name, instance);
220 if (ddi_soft_state_zalloc(panelstates, instance) != DDI_SUCCESS) {
222 panel_name, instance);
226 ddi_get_soft_state(panelstates, instance))
277 int instance; local
327 int instance; local
[all...]
/illumos-gate/usr/src/uts/intel/io/
H A Dpit_beep.c218 int instance, error; local
223 instance = PIT_BEEP_UNIT(dev);
226 instance)) == NULL) {
237 instance = PIT_BEEP_UNIT(dev);
239 *result = (void *)(uintptr_t)instance;
/illumos-gate/usr/src/lib/efcode/engine/
H A Dactions.c104 do_buffer_data(fcode_env_t *env, token_t *d, int instance) argument
109 if (instance) {
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/
H A Dx86pi_bay.c261 int instance)
297 hcfmri.instance = instance;
307 f, BAY, instance);
260 x86pi_gen_bay(topo_mod_t *mod, tnode_t *t_parent, smbios_port_ext_t *eport, int instance) argument
H A Dx86pi_bboard.c58 int instance, int psmb_id)
123 instance = cpuboard++;
126 instance = ioboard++;
129 instance = memboard++;
132 instance = motherboard++;
149 instance = systemboard++;
156 bb_hcfmri.instance = instance;
166 topo_mod_dprintf(mod, "%s: instance (%d)\n", f, bb_hcfmri.instance);
57 x86pi_gen_bboard(topo_mod_t *mod, tnode_t *t_parent, int smb_id, int instance, int psmb_id) argument
[all...]
H A Dx86pi_impl.h142 int instance; member in struct:x86pi_hcfmri_info_s
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dkt_srvtab.c401 /* The maximum sizes for V4 aname, realm, sname, and instance +1 */
447 char name[SNAME_SZ], instance[INST_SZ], realm[REALM_SZ]; local
457 kerror = read_field(fp, instance, sizeof(instance));
474 kerror = krb5_425_conv_principal(context, name, instance, realm,
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dconv_princ.c33 * principal into name, instance, and realm.
46 /* The maximum sizes for V4 aname, realm, sname, and instance +1 */
177 * instance's domain name if requested.
259 const char *instance, const char *realm,
312 if (instance) {
313 if (instance[0] == '\0') {
314 instance = 0;
327 if ((p->flags & DO_REALM_CONVERSION) && !strchr(instance, '.')) {
331 names[3] = instance;
335 instance
258 krb5_425_conv_principal(krb5_context context, const char *name, const char *instance, const char *realm, krb5_principal *princ) argument
[all...]
/illumos-gate/usr/src/lib/libshare/smbfs/
H A Dsmbfs_scfutil.c111 * Check if instance with given name exists for a service.
112 * Returns 0 is instance exist
133 * Create a service instance. returns 0 if successful.
134 * If instance already exists enable it.
140 char *instance; local
152 instance = malloc(sz);
153 if (!instance) {
156 (void) snprintf(instance, sz, "%s:%s", serv_prefix, inst_name);
162 if (smf_enable_instance(instance, 0))
168 if (smf_enable_instance(instance,
[all...]
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdlib.c252 uint_t instance; local
259 * correct instance number of the IP over IB driver instance.
266 * Get the instance number of the IP over IB driver instance which
269 if (dladm_parselink(dpa.dp_dev, NULL, &instance) != DLADM_STATUS_OK)
280 ioc.ibdioc.ioc_port_inst = instance;
301 ioc.ibdioc.ioc_port_inst = instance;
461 * Get the instance number of the IP over IB driver instance whic
[all...]
/illumos-gate/usr/src/lib/libwanboot/common/
H A Dbootinfo_aux.c382 int instance; local
414 * Get the driver name and instance number of this node.
420 if ((instance = di_instance(node)) == -1) {
435 instance = di_instance(node);
441 if (instance == -1) {
446 "%s%d", di_driver_name(node), instance);
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/montoya/common/
H A Dmontoya.c131 int32_t instance; local
185 instance = montoya_get_network_instance(path);
189 "NET", instance);
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/monza/common/
H A Dmonza.c158 int32_t instance; local
222 instance = monza_get_network_instance(path);
226 "NET", instance);
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/ontario/common/
H A Derie.c400 * network devices and returns the instance# of that
496 int instance; local
498 /* Figure out NAC name and instance, if onboard network node */
500 instance = erie_get_network_instance(path);
502 "NET", instance);
H A Dontario.c163 int32_t instance; local
215 instance = ontario_get_network_instance(path);
219 "NET", instance);
H A Dstpaul.c82 int32_t instance; local
134 instance = stpaul_get_network_instance(path);
137 MOTHERBOARD, "NET", instance);
161 instance = stpaul_get_usb_instance(path);
162 if (instance != -1)
165 MOTHERBOARD, "USB", instance);
169 if ((instance = stpaul_get_io_instance(path, &pn_type)) != -1) {
173 MOTHERBOARD, "PCI-EM", instance);
177 MOTHERBOARD, "NEM", instance);
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/
H A Dpiclkstat.c333 serial_port_state(kstat_ctl_t *kc, char *driver, int instance) argument
346 (void) snprintf(device, sizeof (device), "/dev/tty%c", instance+'a');
382 serial_port_cond(kstat_ctl_t *kc, char *driver, int instance) argument
384 switch (serial_port_state(kc, driver, instance)) {
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/
H A Ddr.c116 int instance; local
122 instance = di_instance(di_node);
124 PICL_PTYPE_INT, PICL_READ, sizeof (instance), PICL_PROP_INSTANCE,
126 (void) ptree_create_and_add_prop(nodeh, &propinfo, &instance, NULL);

Completed in 87 milliseconds

1234567891011>>