Lines Matching refs:jsf0
145 static struct jsflash jsf0; variable
219 jdp = &jsf0.dv[dev & JSF_PART_MASK]; in jsfd_do_request()
429 copy_to_user(arg, &jsf0.id, JSFIDSZ); in jsf_ioctl()
481 if (jsf0.base == 0) return -ENXIO; in jsf_open()
482 if (test_and_set_bit(0, (void *)&jsf0.busy) != 0) in jsf_open()
501 jdp = &jsf0.dv[dev]; in jsfd_open()
509 jsf0.busy = 0; in jsf_release()
526 jdp = &jsf0.dv[dev]; in jsfd_release()
614 if (jsf0.base == 0) { in jsflash_init()
615 jsf = &jsf0; in jsflash_init()
639 jsf0.base = 0; in jsflash_init()
651 if (jsf0.base == 0) { in jsfd_init()
668 jsf = &jsf0; /* actually, &jsfv[i >> JSF_PART_BITS] */ in jsfd_init()
699 if (jsf0.busy) in cleanup_module()
701 jsf0.base = 0; in cleanup_module()
702 jsf0.busy = 0; in cleanup_module()