Searched refs:jdp (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/sbus/char/
H A Djsflash.c192 struct jsfd_part *jdp = req->rq_disk->private_data; jsfd_do_request() local
197 if ((offset + len) > jdp->dsize) jsfd_do_request()
205 if ((jdp->dbase & 0xff000000) != 0x20000000) { jsfd_do_request()
206 printk(KERN_ERR "jsfd: bad base %x\n", (int)jdp->dbase); jsfd_do_request()
210 jsfd_read(bio_data(req->bio), jdp->dbase + offset, len); jsfd_do_request()
553 struct jsfd_part *jdp; jsfd_init() local
584 jdp = &jsf->dv[i&JSF_PART_MASK]; jsfd_init()
590 set_capacity(disk, jdp->dsize >> 9); jsfd_init()
591 disk->private_data = jdp; jsfd_init()

Completed in 75 milliseconds