Home
last modified time | relevance | path

Searched refs:dev_index (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/cmd/hal/hald/solaris/
H A Dsysevent.c167 uint_t dev_index; in sysevent_dev_handler() local
229 if (nvlist_lookup_uint32(attr_list, PWRCTL_DEV_INDEX, &dev_index) in sysevent_dev_handler()
231 dev_index = 0; in sysevent_dev_handler()
235 class, subclass, phys_path, dev_name, dev_hid, dev_uid, dev_index); in sysevent_dev_handler()
259 uint_t dev_index; in sysevent_iochannel_data() local
272 phys_path, dev_name, dev_hid, dev_uid, &dev_index); in sysevent_iochannel_data()
298 dev_name, dev_hid, dev_uid, dev_index); in sysevent_iochannel_data()
482 gchar *dev_name, gchar *dev_hid, gchar *dev_uid, uint_t dev_index) in sysevent_pwrctl() argument
488 snprintf(udi, sizeof(udi), "%s_battery%d_0", prefix, dev_index); in sysevent_pwrctl()
491 snprintf(udi, sizeof (udi), "%s_ac%d_0", prefix, dev_index); in sysevent_pwrctl()
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_main.c195 uint8_t dev_index = 0; in oce_attach() local
216 while (dev_index < MAX_DEVS) { in oce_attach()
217 (void) atomic_cas_ptr(&oce_dev_list[dev_index], NULL, dev); in oce_attach()
218 if (oce_dev_list[dev_index] == dev) { in oce_attach()
221 dev_index++; in oce_attach()
223 if (dev_index == MAX_DEVS) { in oce_attach()
228 dev->dev_list_index = dev_index; in oce_attach()
H A Doce_queue.c1257 uint8_t dev_index = 0; in oce_dev_rss_ready() local
1271 while (dev_index < MAX_DEVS) { in oce_dev_rss_ready()
1272 if ((oce_dev_list[dev_index] != NULL) && in oce_dev_rss_ready()
1273 (dev->pci_bus == oce_dev_list[dev_index]->pci_bus) && in oce_dev_rss_ready()
1274 (dev->pci_device == oce_dev_list[dev_index]->pci_device) && in oce_dev_rss_ready()
1275 (oce_dev_list[dev_index]->rss_enable)) { in oce_dev_rss_ready()
1278 dev_index++; in oce_dev_rss_ready()