bsr_dev 56 drivers/char/bsr.c dev_t bsr_dev; bsr_dev 83 drivers/char/bsr.c struct bsr_dev *bsr_dev = dev_get_drvdata(dev); bsr_dev 84 drivers/char/bsr.c return sprintf(buf, "%u\n", bsr_dev->bsr_bytes); bsr_dev 91 drivers/char/bsr.c struct bsr_dev *bsr_dev = dev_get_drvdata(dev); bsr_dev 92 drivers/char/bsr.c return sprintf(buf, "%u\n", bsr_dev->bsr_stride); bsr_dev 99 drivers/char/bsr.c struct bsr_dev *bsr_dev = dev_get_drvdata(dev); bsr_dev 100 drivers/char/bsr.c return sprintf(buf, "%llu\n", bsr_dev->bsr_len); bsr_dev 110 drivers/char/bsr.c ATTRIBUTE_GROUPS(bsr_dev); bsr_dev 115 drivers/char/bsr.c struct bsr_dev *dev = filp->private_data; bsr_dev 140 drivers/char/bsr.c struct bsr_dev *dev = container_of(cdev, struct bsr_dev, bsr_cdev); bsr_dev 155 drivers/char/bsr.c struct bsr_dev *cur, *n; bsr_dev 187 drivers/char/bsr.c struct bsr_dev *cur = kzalloc(sizeof(struct bsr_dev), bsr_dev 210 drivers/char/bsr.c cur->bsr_dev = MKDEV(bsr_major, i + total_bsr_devs); bsr_dev 242 drivers/char/bsr.c result = cdev_add(&cur->bsr_cdev, cur->bsr_dev, 1); bsr_dev 248 drivers/char/bsr.c cur->bsr_device = device_create(bsr_class, NULL, cur->bsr_dev, bsr_dev 290 drivers/char/bsr.c dev_t bsr_dev; bsr_dev 305 drivers/char/bsr.c ret = alloc_chrdev_region(&bsr_dev, 0, BSR_MAX_DEVS, "bsr"); bsr_dev 306 drivers/char/bsr.c bsr_major = MAJOR(bsr_dev); bsr_dev 321 drivers/char/bsr.c unregister_chrdev_region(bsr_dev, BSR_MAX_DEVS);