Lines Matching defs:dip
116 * and if that device is already attached then it returns the a held dip
211 xdfs_lb_getinfo(dev_info_t *dip, int cmd, void *arg, void *tg_cookie)
213 int instance = ddi_get_instance(dip);
358 * would not have returned a dip.) But this doesn't mean that the
469 xdfs_lb_rdwr(dev_info_t *dip, uchar_t cmd, void *bufaddr,
472 int instance = ddi_get_instance(dip);
807 xdfs_hvm_prop_op(dev_t dev, dev_info_t *dip, ddi_prop_op_t prop_op,
810 int instance = ddi_get_instance(dip);
821 return (xdfs_hvm_cb_ops->cb_prop_op(dev, dip, prop_op,
826 xdfs_prop_op(dev_t dev, dev_info_t *dip, ddi_prop_op_t prop_op,
829 int instance = ddi_get_instance(dip);
836 * Sanity check that if a dev_t or dip were specified that they
840 ASSERT(ddi_driver_major(dip) == xdfs_major);
842 if ((ddi_driver_major(dip) != xdfs_major) ||
851 return (ddi_prop_op(dev, dip, prop_op, flags,
856 return (xdfs_hvm_prop_op(dev, dip, prop_op,
886 * grab a hold on the target dip.
891 /* figure out dip the dev_t we're going to pass on down */
918 xdfs_getinfo(dev_info_t *dip, ddi_info_cmd_t infocmd, void *arg,
944 xdfs_hvm_probe(dev_info_t *dip, char *path)
946 int instance = ddi_get_instance(dip);
958 ((rv = xdfs_hvm_dev_ops->devo_probe(dip)) == DDI_PROBE_FAILURE)) {
966 XDFS_HVM_DIP(xsp) = dip;
973 xdfs_probe(dev_info_t *dip)
975 int instance = ddi_get_instance(dip);
987 (void) ddi_pathname(dip, path);
991 dip, DDI_PROP_NOTPROM, "pv_disable", 0);
994 return (xdfs_hvm_probe(dip, path));
1014 return (xdfs_hvm_probe(dip, path));
1024 xsp->xdfss_dip = dip;
1035 return (xdfs_hvm_probe(dip, path));
1043 (void) ddi_prop_create(DDI_DEV_T_NONE, dip, DDI_PROP_CANSLEEP,
1051 xdfs_hvm_attach(dev_info_t *dip, ddi_attach_cmd_t cmd)
1053 int instance = ddi_get_instance(dip);
1061 ((rv = xdfs_hvm_dev_ops->devo_attach(dip, cmd)) != DDI_SUCCESS)) {
1076 xdfs_attach(dev_info_t *dip, ddi_attach_cmd_t cmd)
1078 int instance = ddi_get_instance(dip);
1084 return (xdfs_hvm_attach(dip, cmd));
1093 xdfs_hvm_detach(dev_info_t *dip, ddi_detach_cmd_t cmd)
1095 int instance = ddi_get_instance(dip);
1105 if ((rv = xdfs_hvm_dev_ops->devo_detach(dip, cmd)) != DDI_SUCCESS)
1114 xdfs_detach(dev_info_t *dip, ddi_detach_cmd_t cmd)
1116 int instance = ddi_get_instance(dip);
1120 return (xdfs_hvm_detach(dip, cmd));
1135 ddi_prop_remove_all(dip);
1140 xdfs_hvm_power(dev_info_t *dip, int component, int level)
1142 int instance = ddi_get_instance(dip);
1150 return (xdfs_hvm_dev_ops->devo_power(dip, component, level));
1154 xdfs_power(dev_info_t *dip, int component, int level)
1156 int instance = ddi_get_instance(dip);
1160 return (xdfs_hvm_power(dip, component, level));