Lines Matching refs:jdp
206 struct jsfd_part *jdp; in jsfd_do_request() local
219 jdp = &jsf0.dv[dev & JSF_PART_MASK]; in jsfd_do_request()
223 if ((offset + len) > jdp->dsize) { in jsfd_do_request()
239 if ((jdp->dbase & 0xff000000) != 0x20000000) { in jsfd_do_request()
240 printk(KERN_ERR "jsfd: bad base %x\n", (int)jdp->dbase); in jsfd_do_request()
246 jsfd_read(req->buffer, jdp->dbase + offset, len); in jsfd_do_request()
490 struct jsfd_part *jdp; in jsfd_open() local
501 jdp = &jsf0.dv[dev]; in jsfd_open()
502 jdp->refcnt++; in jsfd_open()
515 struct jsfd_part *jdp; in jsfd_release() local
526 jdp = &jsf0.dv[dev]; in jsfd_release()
527 if (jdp->refcnt <= 0) { in jsfd_release()
530 --jdp->refcnt; in jsfd_release()
648 struct jsfd_part *jdp; in jsfd_init() local
669 jdp = &jsf->dv[i&JSF_PART_MASK]; in jsfd_init()
671 jdp->refcnt = 0; in jsfd_init()
674 jsfd_bytesizes[i] = jdp->dsize; in jsfd_init()