btq 48 drivers/bluetooth/btqcomsmd.c struct btqcomsmd *btq = priv; btq 50 drivers/bluetooth/btqcomsmd.c btq->hdev->stat.byte_rx += count; btq 51 drivers/bluetooth/btqcomsmd.c return btqcomsmd_recv(btq->hdev, HCI_ACLDATA_PKT, data, count); btq 57 drivers/bluetooth/btqcomsmd.c struct btqcomsmd *btq = priv; btq 59 drivers/bluetooth/btqcomsmd.c btq->hdev->stat.byte_rx += count; btq 60 drivers/bluetooth/btqcomsmd.c return btqcomsmd_recv(btq->hdev, HCI_EVENT_PKT, data, count); btq 65 drivers/bluetooth/btqcomsmd.c struct btqcomsmd *btq = hci_get_drvdata(hdev); btq 70 drivers/bluetooth/btqcomsmd.c ret = rpmsg_send(btq->acl_channel, skb->data, skb->len); btq 79 drivers/bluetooth/btqcomsmd.c ret = rpmsg_send(btq->cmd_channel, skb->data, skb->len); btq 127 drivers/bluetooth/btqcomsmd.c struct btqcomsmd *btq; btq 132 drivers/bluetooth/btqcomsmd.c btq = devm_kzalloc(&pdev->dev, sizeof(*btq), GFP_KERNEL); btq 133 drivers/bluetooth/btqcomsmd.c if (!btq) btq 138 drivers/bluetooth/btqcomsmd.c btq->acl_channel = qcom_wcnss_open_channel(wcnss, "APPS_RIVA_BT_ACL", btq 139 drivers/bluetooth/btqcomsmd.c btqcomsmd_acl_callback, btq); btq 140 drivers/bluetooth/btqcomsmd.c if (IS_ERR(btq->acl_channel)) btq 141 drivers/bluetooth/btqcomsmd.c return PTR_ERR(btq->acl_channel); btq 143 drivers/bluetooth/btqcomsmd.c btq->cmd_channel = qcom_wcnss_open_channel(wcnss, "APPS_RIVA_BT_CMD", btq 144 drivers/bluetooth/btqcomsmd.c btqcomsmd_cmd_callback, btq); btq 145 drivers/bluetooth/btqcomsmd.c if (IS_ERR(btq->cmd_channel)) btq 146 drivers/bluetooth/btqcomsmd.c return PTR_ERR(btq->cmd_channel); btq 152 drivers/bluetooth/btqcomsmd.c hci_set_drvdata(hdev, btq); btq 153 drivers/bluetooth/btqcomsmd.c btq->hdev = hdev; btq 169 drivers/bluetooth/btqcomsmd.c platform_set_drvdata(pdev, btq); btq 176 drivers/bluetooth/btqcomsmd.c struct btqcomsmd *btq = platform_get_drvdata(pdev); btq 178 drivers/bluetooth/btqcomsmd.c hci_unregister_dev(btq->hdev); btq 179 drivers/bluetooth/btqcomsmd.c hci_free_dev(btq->hdev); btq 181 drivers/bluetooth/btqcomsmd.c rpmsg_destroy_ept(btq->cmd_channel); btq 182 drivers/bluetooth/btqcomsmd.c rpmsg_destroy_ept(btq->acl_channel);