Lines Matching defs:ops
77 struct dev_ops *ops;
80 if ((ops = ddi_get_driver(devi)) == NULL ||
81 (fn = ops->devo_identify) == NULL)
92 struct dev_ops *ops;
95 ops = ddi_get_driver(devi);
96 ASSERT(ops);
105 if ((fn = ops->devo_probe) == NULL) {
136 struct dev_ops *ops;
152 ops = ddi_get_driver(devi);
153 ASSERT(ops);
154 if ((fn = ops->devo_attach) == NULL) {
181 struct dev_ops *ops;
193 ops = ddi_get_driver(devi);
194 ASSERT(ops);
195 if ((fn = ops->devo_detach) == NULL)
253 struct dev_ops *ops;
256 if ((ops = ddi_get_driver(devi)) == NULL ||
257 (fn = ops->devo_reset) == NULL)
266 struct dev_ops *ops;
269 if (((ops = ddi_get_driver(devi)) == NULL) ||
270 (ops->devo_rev < 4) || ((fn = ops->devo_quiesce) == NULL))
407 struct dev_ops *ops;
412 if ((ops = mod_hold_dev_by_major(major)) == NULL)
414 ASSERT(CB_DRV_INSTALLED(ops));
417 if (ops->devo_getinfo == NULL) {
423 error = (*ops->devo_getinfo)(NULL, DDI_INFO_DEVT2INSTANCE,
450 struct dev_ops *ops;
452 ops = devopsp[getmajor(bp->b_edev)];
460 (void) ops->devo_getinfo(NULL, DDI_INFO_DEVT2DEVINFO,
472 return (ops->devo_cb_ops->cb_strategy(bp));