qsdev 907 drivers/rpmsg/qcom_smd.c struct qcom_smd_device *qsdev = to_smd_device(rpdev); qsdev 908 drivers/rpmsg/qcom_smd.c struct qcom_smd_edge *edge = qsdev->edge; qsdev 1048 drivers/rpmsg/qcom_smd.c struct qcom_smd_device *qsdev = to_smd_device(rpdev); qsdev 1050 drivers/rpmsg/qcom_smd.c kfree(qsdev); qsdev 1058 drivers/rpmsg/qcom_smd.c struct qcom_smd_device *qsdev; qsdev 1064 drivers/rpmsg/qcom_smd.c qsdev = kzalloc(sizeof(*qsdev), GFP_KERNEL); qsdev 1065 drivers/rpmsg/qcom_smd.c if (!qsdev) qsdev 1069 drivers/rpmsg/qcom_smd.c qsdev->edge = edge; qsdev 1072 drivers/rpmsg/qcom_smd.c qsdev->rpdev.ops = &qcom_smd_device_ops; qsdev 1075 drivers/rpmsg/qcom_smd.c rpdev = &qsdev->rpdev; qsdev 1089 drivers/rpmsg/qcom_smd.c struct qcom_smd_device *qsdev; qsdev 1091 drivers/rpmsg/qcom_smd.c qsdev = kzalloc(sizeof(*qsdev), GFP_KERNEL); qsdev 1092 drivers/rpmsg/qcom_smd.c if (!qsdev) qsdev 1095 drivers/rpmsg/qcom_smd.c qsdev->edge = edge; qsdev 1096 drivers/rpmsg/qcom_smd.c qsdev->rpdev.ops = &qcom_smd_device_ops; qsdev 1097 drivers/rpmsg/qcom_smd.c qsdev->rpdev.dev.parent = &edge->dev; qsdev 1098 drivers/rpmsg/qcom_smd.c qsdev->rpdev.dev.release = qcom_smd_release_device; qsdev 1100 drivers/rpmsg/qcom_smd.c return rpmsg_chrdev_register_device(&qsdev->rpdev);