Home
last modified time | relevance | path

Searched refs:fjp (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/uts/common/io/
H A Dfd.c84 static int fd_get_media_info(struct fcu_obj *fjp, caddr_t buf, int flag);
222 struct fcu_obj *fjp = NULL; in fd_getinfo() local
228 (void) fd_getdrive(dev, &fjp, &fdp); in fd_getinfo()
233 if (fjp && fdp) { in fd_getinfo()
234 *result = fjp->fj_dip; in fd_getinfo()
339 struct fcu_obj *fjp; in fd_attach() local
423 fjp = fdp->d_obj = ddi_get_driver_private(dip); in fd_attach()
425 mutex_init(&fjp->fj_lock, NULL, MUTEX_DRIVER, *fjp->fj_iblock); in fd_attach()
428 fjp->fj_drive = (struct fd_drive *)(fdp + 1); in fd_attach()
429 fjp->fj_chars = (struct fd_char *)(fjp->fj_drive + 1); in fd_attach()
[all …]
H A Dfdc.c358 struct fcu_obj *fjp; in fdc_bus_ctl() local
403 fjp = fcp->c_unit[FDUNIT(unit)]; in fdc_bus_ctl()
404 fjp->fj_unit = unit; in fdc_bus_ctl()
405 fjp->fj_dip = udip; in fdc_bus_ctl()
406 fjp->fj_ops = &fdc_iops; in fdc_bus_ctl()
407 fjp->fj_fdc = fcp; in fdc_bus_ctl()
408 fjp->fj_iblock = &fcp->c_iblock; in fdc_bus_ctl()
410 ddi_set_driver_private(udip, fjp); in fdc_bus_ctl()
420 fjp = ddi_get_driver_private(udip); in fdc_bus_ctl()
422 fjp->fj_dip = NULL; in fdc_bus_ctl()
[all …]