| /kernel/linux/linux-6.6/drivers/remoteproc/ |
| D | qcom_wcnss.c | 35 #define WCNSS_FIRMWARE_NAME "wcnss.mdt" 157 struct qcom_wcnss *wcnss = rproc->priv; in wcnss_load() local 160 ret = qcom_mdt_load(wcnss->dev, fw, rproc->firmware, WCNSS_PAS_ID, in wcnss_load() 161 wcnss->mem_region, wcnss->mem_phys, in wcnss_load() 162 wcnss->mem_size, &wcnss->mem_reloc); in wcnss_load() 166 qcom_pil_info_store("wcnss", wcnss->mem_phys, wcnss->mem_size); in wcnss_load() 171 static void wcnss_indicate_nv_download(struct qcom_wcnss *wcnss) in wcnss_indicate_nv_download() argument 176 val = readl(wcnss->spare_out); in wcnss_indicate_nv_download() 178 writel(val, wcnss->spare_out); in wcnss_indicate_nv_download() 181 static void wcnss_configure_iris(struct qcom_wcnss *wcnss) in wcnss_configure_iris() argument [all …]
|
| /kernel/linux/linux-5.10/drivers/remoteproc/ |
| D | qcom_wcnss.c | 34 #define WCNSS_FIRMWARE_NAME "wcnss.mdt" 134 void qcom_wcnss_assign_iris(struct qcom_wcnss *wcnss, in qcom_wcnss_assign_iris() argument 138 mutex_lock(&wcnss->iris_lock); in qcom_wcnss_assign_iris() 140 wcnss->iris = iris; in qcom_wcnss_assign_iris() 141 wcnss->use_48mhz_xo = use_48mhz_xo; in qcom_wcnss_assign_iris() 143 mutex_unlock(&wcnss->iris_lock); in qcom_wcnss_assign_iris() 148 struct qcom_wcnss *wcnss = (struct qcom_wcnss *)rproc->priv; in wcnss_load() local 151 ret = qcom_mdt_load(wcnss->dev, fw, rproc->firmware, WCNSS_PAS_ID, in wcnss_load() 152 wcnss->mem_region, wcnss->mem_phys, in wcnss_load() 153 wcnss->mem_size, &wcnss->mem_reloc); in wcnss_load() [all …]
|
| D | qcom_wcnss_iris.c | 99 struct qcom_wcnss *wcnss; in qcom_iris_probe() local 109 wcnss = dev_get_drvdata(pdev->dev.parent); in qcom_iris_probe() 146 qcom_wcnss_assign_iris(wcnss, iris, data->use_48mhz_xo); in qcom_iris_probe() 153 struct qcom_wcnss *wcnss = dev_get_drvdata(pdev->dev.parent); in qcom_iris_remove() local 155 qcom_wcnss_assign_iris(wcnss, NULL, false); in qcom_iris_remove()
|
| D | qcom_wcnss.h | 23 void qcom_wcnss_assign_iris(struct qcom_wcnss *wcnss, struct qcom_iris *iris, bool use_48mhz_xo);
|
| /kernel/linux/linux-5.10/drivers/soc/qcom/ |
| D | wcnss_ctrl.c | 123 struct wcnss_ctrl *wcnss = dev_get_drvdata(&rpdev->dev); in wcnss_ctrl_smd_callback() local 131 dev_err(wcnss->dev, in wcnss_ctrl_smd_callback() 137 dev_info(wcnss->dev, "WCNSS Version %d.%d %d.%d\n", in wcnss_ctrl_smd_callback() 141 complete(&wcnss->ack); in wcnss_ctrl_smd_callback() 145 dev_err(wcnss->dev, in wcnss_ctrl_smd_callback() 151 wcnss->ack_status = nvresp->status; in wcnss_ctrl_smd_callback() 152 complete(&wcnss->ack); in wcnss_ctrl_smd_callback() 155 dev_dbg(wcnss->dev, "cold boot complete\n"); in wcnss_ctrl_smd_callback() 156 complete(&wcnss->cbc); in wcnss_ctrl_smd_callback() 159 dev_info(wcnss->dev, "unknown message type %d\n", hdr->type); in wcnss_ctrl_smd_callback() [all …]
|
| D | Kconfig | 195 tristate "Qualcomm WCNSS control driver" 200 firmware to a newly booted WCNSS chip.
|
| /kernel/linux/linux-6.6/drivers/soc/qcom/ |
| D | wcnss_ctrl.c | 125 struct wcnss_ctrl *wcnss = dev_get_drvdata(&rpdev->dev); in wcnss_ctrl_smd_callback() local 133 dev_err(wcnss->dev, in wcnss_ctrl_smd_callback() 139 dev_info(wcnss->dev, "WCNSS Version %d.%d %d.%d\n", in wcnss_ctrl_smd_callback() 143 complete(&wcnss->ack); in wcnss_ctrl_smd_callback() 147 dev_err(wcnss->dev, in wcnss_ctrl_smd_callback() 153 wcnss->ack_status = nvresp->status; in wcnss_ctrl_smd_callback() 154 complete(&wcnss->ack); in wcnss_ctrl_smd_callback() 157 dev_dbg(wcnss->dev, "cold boot complete\n"); in wcnss_ctrl_smd_callback() 158 complete(&wcnss->cbc); in wcnss_ctrl_smd_callback() 161 dev_info(wcnss->dev, "unknown message type %d\n", hdr->type); in wcnss_ctrl_smd_callback() [all …]
|
| D | Kconfig | 256 tristate "Qualcomm WCNSS control driver" 261 firmware to a newly booted WCNSS chip.
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/remoteproc/ |
| D | qcom,wcnss-pil.yaml | 4 $id: http://devicetree.org/schemas/remoteproc/qcom,wcnss-pil.yaml# 7 title: Qualcomm WCNSS Peripheral Image Loader 14 firmware on the Qualcomm WCNSS core. 56 Relative firmware image path for the WCNSS core. Defaults to 57 "wcnss.mdt". 61 PX regulator to be held on behalf of the booting of the WCNSS core 65 MX regulator to be held on behalf of the booting of the WCNSS core. 69 CX regulator to be held on behalf of the booting of the WCNSS core. 82 States used by the AP to signal the WCNSS core that it should shutdown 93 description: reserved-memory for the WCNSS core [all …]
|
| D | qcom,smd-edge.yaml | 84 wcnss: 85 $ref: /schemas/soc/qcom/qcom,wcnss.yaml 89 Qualcomm WCNSS for Bluetooth, WiFi and FM radio.
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/soc/qcom/ |
| D | qcom,wcnss.txt | 1 Qualcomm WCNSS Binding 3 This binding describes the Qualcomm WCNSS hardware. It consists of control 9 Definition: must be: "qcom,wcnss", 21 Definition: reference to a node specifying the wcnss "ccu" and "dxe" 28 The subnodes of the wcnss node are optional and describe the individual blocks in 29 the WCNSS. 38 "qcom,wcnss-bt" 52 "qcom,wcnss-wlan", 76 "pronto" subsystem, with the wcnss device and its wcn3680 BT and WiFi blocks 88 wcnss { [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/soc/qcom/ |
| D | qcom,wcnss.yaml | 4 $id: http://devicetree.org/schemas/soc/qcom/qcom,wcnss.yaml# 7 title: Qualcomm WCNSS 14 The Qualcomm WCNSS hardware consists of control block and a BT, WiFi and FM 19 const: qcom,wcnss 30 Reference to a node specifying the wcnss "ccu" and "dxe" register blocks. 49 const: qcom,wcnss-bt 61 const: qcom,wcnss-wlan 111 wcnss { 112 compatible = "qcom,wcnss"; 118 compatible = "qcom,wcnss-bt"; [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/remoteproc/ |
| D | qcom,wcnss-pil.txt | 1 Qualcomm WCNSS Peripheral Image Loader 4 on the Qualcomm WCNSS core. 43 booting of the WCNSS core 48 Definition: reference to the SMEM state used to indicate to WCNSS that 63 A required subnode of the WCNSS PIL is used to describe the attached rf module 91 booting of the WCNSS core 94 The wcnss node can also have an subnode named "smd-edge" that describes the SMD 95 edge, channels and devices related to the WCNSS. 99 The following example describes the resources needed to boot control the WCNSS, 147 wcnss { [all …]
|
| /kernel/linux/linux-6.6/drivers/bluetooth/ |
| D | btqcomsmd.c | 144 void *wcnss; in btqcomsmd_probe() local 151 wcnss = dev_get_drvdata(pdev->dev.parent); in btqcomsmd_probe() 153 btq->acl_channel = qcom_wcnss_open_channel(wcnss, "APPS_RIVA_BT_ACL", in btqcomsmd_probe() 158 btq->cmd_channel = qcom_wcnss_open_channel(wcnss, "APPS_RIVA_BT_CMD", in btqcomsmd_probe() 214 { .compatible = "qcom,wcnss-bt", },
|
| /kernel/linux/linux-5.10/drivers/bluetooth/ |
| D | btqcomsmd.c | 144 void *wcnss; in btqcomsmd_probe() local 151 wcnss = dev_get_drvdata(pdev->dev.parent); in btqcomsmd_probe() 153 btq->acl_channel = qcom_wcnss_open_channel(wcnss, "APPS_RIVA_BT_ACL", in btqcomsmd_probe() 158 btq->cmd_channel = qcom_wcnss_open_channel(wcnss, "APPS_RIVA_BT_CMD", in btqcomsmd_probe() 214 { .compatible = "qcom,wcnss-bt", },
|
| /kernel/linux/linux-5.10/include/linux/soc/qcom/ |
| D | wcnss_ctrl.h | 9 struct rpmsg_endpoint *qcom_wcnss_open_channel(void *wcnss, const char *name, 14 static struct rpmsg_endpoint *qcom_wcnss_open_channel(void *wcnss, in qcom_wcnss_open_channel() argument
|
| /kernel/linux/linux-6.6/include/linux/soc/qcom/ |
| D | wcnss_ctrl.h | 9 struct rpmsg_endpoint *qcom_wcnss_open_channel(void *wcnss, const char *name, 14 static struct rpmsg_endpoint *qcom_wcnss_open_channel(void *wcnss, in qcom_wcnss_open_channel() argument
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/qcom/ |
| D | msm8916-longcheer-l8150.dts | 27 /* wcnss.mdt is not relocatable, so it must be loaded at 0x8b600000 */ 28 /delete-node/ wcnss@89300000; 30 wcnss_mem: wcnss@8b600000 { 263 &wcnss {
|
| D | msm8953.dtsi | 300 wcnss_fw_mem: wcnss@8e700000 { 383 smp2p-wcnss { 431 wcnss_smsm: wcnss@6 { 729 wcnss_pin_a: wcnss-active-state { 1476 wcnss: remoteproc@a204000 { label 1517 wcnss_ctrl: wcnss { 1518 compatible = "qcom,wcnss"; 1521 qcom,mmio = <&wcnss>; 1524 compatible = "qcom,wcnss-bt"; 1528 compatible = "qcom,wcnss-wlan";
|
| D | msm8916-samsung-a5u-eur.dts | 66 &wcnss {
|
| D | msm8939-sony-xperia-kanuti-tulip.dts | 83 &wcnss {
|
| D | msm8916-samsung-e2015-common.dtsi | 78 &wcnss {
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/qcom/ |
| D | msm8916-longcheer-l8150.dts | 22 // wcnss.mdt is not relocatable, so it must be loaded at 0x8b600000 23 /delete-node/ wcnss@89300000; 25 wcnss_mem: wcnss@8b600000 {
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | qcom-msm8974.dtsi | 34 wcnss_region: wcnss@d200000 { 433 smp2p-wcnss { 491 wcnss_smsm: wcnss@7 { 908 wcnss { 909 compatible = "qcom,wcnss"; 916 compatible = "qcom,wcnss-bt"; 920 compatible = "qcom,wcnss-wlan";
|
| D | qcom-msm8974-fairphone-fp2.dts | 275 wcnss { 310 wcnss_pin_a: wcnss-pin-active {
|