rpmb              347 drivers/mmc/core/block.c 	struct mmc_rpmb_data *rpmb;
rpmb              510 drivers/mmc/core/block.c 	if (idata->rpmb) {
rpmb              512 drivers/mmc/core/block.c 		target_part = idata->rpmb->part_index;
rpmb              570 drivers/mmc/core/block.c 	if (idata->rpmb) {
rpmb              633 drivers/mmc/core/block.c 	if (idata->rpmb || (cmd.flags & MMC_RSP_R1B)) {
rpmb              646 drivers/mmc/core/block.c 			     struct mmc_rpmb_data *rpmb)
rpmb              659 drivers/mmc/core/block.c 	idata->rpmb = rpmb;
rpmb              679 drivers/mmc/core/block.c 		rpmb ? MMC_DRV_OP_IOCTL_RPMB : MMC_DRV_OP_IOCTL;
rpmb              695 drivers/mmc/core/block.c 				   struct mmc_rpmb_data *rpmb)
rpmb              727 drivers/mmc/core/block.c 		idata[i]->rpmb = rpmb;
rpmb              748 drivers/mmc/core/block.c 		rpmb ? MMC_DRV_OP_IOCTL_RPMB : MMC_DRV_OP_IOCTL;
rpmb             2431 drivers/mmc/core/block.c 	struct mmc_rpmb_data *rpmb = filp->private_data;
rpmb             2436 drivers/mmc/core/block.c 		ret = mmc_blk_ioctl_cmd(rpmb->md,
rpmb             2438 drivers/mmc/core/block.c 					rpmb);
rpmb             2441 drivers/mmc/core/block.c 		ret = mmc_blk_ioctl_multi_cmd(rpmb->md,
rpmb             2443 drivers/mmc/core/block.c 					rpmb);
rpmb             2463 drivers/mmc/core/block.c 	struct mmc_rpmb_data *rpmb = container_of(inode->i_cdev,
rpmb             2466 drivers/mmc/core/block.c 	get_device(&rpmb->dev);
rpmb             2467 drivers/mmc/core/block.c 	filp->private_data = rpmb;
rpmb             2468 drivers/mmc/core/block.c 	mmc_blk_get(rpmb->md->disk);
rpmb             2475 drivers/mmc/core/block.c 	struct mmc_rpmb_data *rpmb = container_of(inode->i_cdev,
rpmb             2478 drivers/mmc/core/block.c 	mmc_blk_put(rpmb->md);
rpmb             2479 drivers/mmc/core/block.c 	put_device(&rpmb->dev);
rpmb             2497 drivers/mmc/core/block.c 	struct mmc_rpmb_data *rpmb = dev_get_drvdata(dev);
rpmb             2499 drivers/mmc/core/block.c 	ida_simple_remove(&mmc_rpmb_ida, rpmb->id);
rpmb             2500 drivers/mmc/core/block.c 	kfree(rpmb);
rpmb             2512 drivers/mmc/core/block.c 	struct mmc_rpmb_data *rpmb;
rpmb             2519 drivers/mmc/core/block.c 	rpmb = kzalloc(sizeof(*rpmb), GFP_KERNEL);
rpmb             2520 drivers/mmc/core/block.c 	if (!rpmb) {
rpmb             2528 drivers/mmc/core/block.c 	rpmb->id = devidx;
rpmb             2529 drivers/mmc/core/block.c 	rpmb->part_index = part_index;
rpmb             2530 drivers/mmc/core/block.c 	rpmb->dev.init_name = rpmb_name;
rpmb             2531 drivers/mmc/core/block.c 	rpmb->dev.bus = &mmc_rpmb_bus_type;
rpmb             2532 drivers/mmc/core/block.c 	rpmb->dev.devt = MKDEV(MAJOR(mmc_rpmb_devt), rpmb->id);
rpmb             2533 drivers/mmc/core/block.c 	rpmb->dev.parent = &card->dev;
rpmb             2534 drivers/mmc/core/block.c 	rpmb->dev.release = mmc_blk_rpmb_device_release;
rpmb             2535 drivers/mmc/core/block.c 	device_initialize(&rpmb->dev);
rpmb             2536 drivers/mmc/core/block.c 	dev_set_drvdata(&rpmb->dev, rpmb);
rpmb             2537 drivers/mmc/core/block.c 	rpmb->md = md;
rpmb             2539 drivers/mmc/core/block.c 	cdev_init(&rpmb->chrdev, &mmc_rpmb_fileops);
rpmb             2540 drivers/mmc/core/block.c 	rpmb->chrdev.owner = THIS_MODULE;
rpmb             2541 drivers/mmc/core/block.c 	ret = cdev_device_add(&rpmb->chrdev, &rpmb->dev);
rpmb             2547 drivers/mmc/core/block.c 	list_add(&rpmb->node, &md->rpmbs);
rpmb             2555 drivers/mmc/core/block.c 		MAJOR(mmc_rpmb_devt), rpmb->id);
rpmb             2560 drivers/mmc/core/block.c 	put_device(&rpmb->dev);
rpmb             2564 drivers/mmc/core/block.c static void mmc_blk_remove_rpmb_part(struct mmc_rpmb_data *rpmb)
rpmb             2567 drivers/mmc/core/block.c 	cdev_device_del(&rpmb->chrdev, &rpmb->dev);
rpmb             2568 drivers/mmc/core/block.c 	put_device(&rpmb->dev);
rpmb             2643 drivers/mmc/core/block.c 	struct mmc_rpmb_data *rpmb;
rpmb             2647 drivers/mmc/core/block.c 		rpmb = list_entry(pos, struct mmc_rpmb_data, node);
rpmb             2649 drivers/mmc/core/block.c 		mmc_blk_remove_rpmb_part(rpmb);