| /kernel/linux/linux-5.10/drivers/rpmsg/ |
| D | qcom_glink_native.c | 134 * @glink: qcom_glink context handle 158 struct qcom_glink *glink; member 209 static struct glink_channel *qcom_glink_alloc_channel(struct qcom_glink *glink, in qcom_glink_alloc_channel() argument 218 /* Setup glink internal glink_channel data */ in qcom_glink_alloc_channel() 223 channel->glink = glink; in qcom_glink_alloc_channel() 280 static size_t qcom_glink_rx_avail(struct qcom_glink *glink) in qcom_glink_rx_avail() argument 282 return glink->rx_pipe->avail(glink->rx_pipe); in qcom_glink_rx_avail() 285 static void qcom_glink_rx_peak(struct qcom_glink *glink, in qcom_glink_rx_peak() argument 288 glink->rx_pipe->peak(glink->rx_pipe, data, offset, count); in qcom_glink_rx_peak() 291 static void qcom_glink_rx_advance(struct qcom_glink *glink, size_t count) in qcom_glink_rx_advance() argument [all …]
|
| D | Kconfig | 32 tristate "Qualcomm RPM Glink driver" 37 Say y here to enable support for the GLINK RPM communication driver, 38 which serves as a channel for communication with the RPM in GLINK 42 tristate "Qualcomm SMEM Glink driver" 47 Say y here to enable support for the GLINK SMEM communication driver, 48 which provides support for using the GLINK communication protocol
|
| D | qcom_glink_smem.c | 190 struct qcom_glink *glink; in qcom_glink_smem_register() local 207 pr_err("failed to register glink edge\n"); in qcom_glink_smem_register() 229 dev_err(dev, "failed to allocate glink descriptors\n"); in qcom_glink_smem_register() 242 dev_err(dev, "glink descriptor of invalid size\n"); in qcom_glink_smem_register() 279 glink = qcom_glink_native_probe(dev, in qcom_glink_smem_register() 283 if (IS_ERR(glink)) { in qcom_glink_smem_register() 284 ret = PTR_ERR(glink); in qcom_glink_smem_register() 288 return glink; in qcom_glink_smem_register() 297 void qcom_glink_smem_unregister(struct qcom_glink *glink) in qcom_glink_smem_unregister() argument 299 qcom_glink_native_remove(glink); in qcom_glink_smem_unregister() [all …]
|
| D | qcom_glink_rpm.c | 160 /* Header length comes from glink native and is always 4 byte aligned */ in glink_rpm_tx_write() 161 if (WARN(hlen % 4, "Glink Header length must be 4 bytes aligned\n")) in glink_rpm_tx_write() 259 struct qcom_glink *glink; in glink_rpm_probe() local 300 glink = qcom_glink_native_probe(&pdev->dev, in glink_rpm_probe() 305 if (IS_ERR(glink)) in glink_rpm_probe() 306 return PTR_ERR(glink); in glink_rpm_probe() 308 platform_set_drvdata(pdev, glink); in glink_rpm_probe() 315 struct qcom_glink *glink = platform_get_drvdata(pdev); in glink_rpm_remove() local 317 qcom_glink_native_remove(glink); in glink_rpm_remove() 323 { .compatible = "qcom,glink-rpm" }, [all …]
|
| D | qcom_glink_native.h | 34 void qcom_glink_native_remove(struct qcom_glink *glink); 36 void qcom_glink_native_unregister(struct qcom_glink *glink);
|
| /kernel/linux/linux-6.6/drivers/rpmsg/ |
| D | qcom_glink_native.c | 131 * @glink: qcom_glink context handle 156 struct qcom_glink *glink; member 214 static struct glink_channel *qcom_glink_alloc_channel(struct qcom_glink *glink, in qcom_glink_alloc_channel() argument 223 /* Setup glink internal glink_channel data */ in qcom_glink_alloc_channel() 228 channel->glink = glink; in qcom_glink_alloc_channel() 285 static size_t qcom_glink_rx_avail(struct qcom_glink *glink) in qcom_glink_rx_avail() argument 287 return glink->rx_pipe->avail(glink->rx_pipe); in qcom_glink_rx_avail() 290 static void qcom_glink_rx_peek(struct qcom_glink *glink, in qcom_glink_rx_peek() argument 293 glink->rx_pipe->peek(glink->rx_pipe, data, offset, count); in qcom_glink_rx_peek() 296 static void qcom_glink_rx_advance(struct qcom_glink *glink, size_t count) in qcom_glink_rx_advance() argument [all …]
|
| D | qcom_glink_smem.c | 42 struct qcom_glink *glink; member 208 qcom_glink_native_rx(smem->glink); in qcom_glink_smem_intr() 226 struct qcom_glink *glink; in qcom_glink_smem_register() local 245 pr_err("failed to register glink edge\n"); in qcom_glink_smem_register() 269 dev_err(dev, "failed to allocate glink descriptors\n"); in qcom_glink_smem_register() 282 dev_err(dev, "glink descriptor of invalid size\n"); in qcom_glink_smem_register() 310 "glink-smem", smem); in qcom_glink_smem_register() 338 glink = qcom_glink_native_probe(dev, in qcom_glink_smem_register() 342 if (IS_ERR(glink)) { in qcom_glink_smem_register() 343 ret = PTR_ERR(glink); in qcom_glink_smem_register() [all …]
|
| D | qcom_glink_rpm.c | 58 struct qcom_glink *glink; member 173 /* Header length comes from glink native and is always 4 byte aligned */ in glink_rpm_tx_write() 174 if (WARN(hlen % 4, "Glink Header length must be 4 bytes aligned\n")) in glink_rpm_tx_write() 208 qcom_glink_native_rx(rpm->glink); in qcom_glink_rpm_intr() 290 struct qcom_glink *glink; in glink_rpm_probe() local 322 "glink-rpm", rpm); in glink_rpm_probe() 345 glink = qcom_glink_native_probe(dev, in glink_rpm_probe() 350 if (IS_ERR(glink)) { in glink_rpm_probe() 352 return PTR_ERR(glink); in glink_rpm_probe() 355 rpm->glink = glink; in glink_rpm_probe() [all …]
|
| D | Kconfig | 48 tristate "Qualcomm RPM Glink driver" 53 Say y here to enable support for the GLINK RPM communication driver, 54 which serves as a channel for communication with the RPM in GLINK 58 tristate "Qualcomm SMEM Glink driver" 63 Say y here to enable support for the GLINK SMEM communication driver, 64 which provides support for using the GLINK communication protocol
|
| /kernel/linux/linux-5.10/drivers/remoteproc/ |
| D | qcom_common.c | 39 struct qcom_rproc_glink *glink = to_glink_subdev(subdev); in glink_subdev_start() local 41 glink->edge = qcom_glink_smem_register(glink->dev, glink->node); in glink_subdev_start() 43 return PTR_ERR_OR_ZERO(glink->edge); in glink_subdev_start() 48 struct qcom_rproc_glink *glink = to_glink_subdev(subdev); in glink_subdev_stop() local 50 qcom_glink_smem_unregister(glink->edge); in glink_subdev_stop() 51 glink->edge = NULL; in glink_subdev_stop() 56 struct qcom_rproc_glink *glink = to_glink_subdev(subdev); in glink_subdev_unprepare() local 58 qcom_glink_ssr_notify(glink->ssr_name); in glink_subdev_unprepare() 62 * qcom_add_glink_subdev() - try to add a GLINK subdevice to rproc 64 * @glink: reference to a GLINK subdev context [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/soc/qcom/ |
| D | qcom,glink.txt | 1 Qualcomm GLINK edge binding 3 This binding describes a Qualcomm GLINK edge, a fifo based mechanism for 5 of edges can be described by the binding; the GLINK RPM edge and a SMEM based 9 Usage: required for glink-rpm 11 Definition: must be "qcom,glink-rpm" 25 Usage: required for glink-smem 30 Usage: required for glink-rpm 40 = GLINK DEVICES 41 Each subnode of the GLINK node represent function tied to a virtual 46 - qcom,glink-channels: [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/soc/qcom/ |
| D | qcom,pmic-glink.yaml | 4 $id: http://devicetree.org/schemas/soc/qcom/qcom,pmic-glink.yaml# 7 title: Qualcomm PMIC GLINK firmware interface for battery management, USB 14 The PMIC GLINK service, running on a coprocessor on some modern Qualcomm 25 - qcom,sc8180x-pmic-glink 26 - qcom,sc8280xp-pmic-glink 27 - qcom,sm8350-pmic-glink 28 - qcom,sm8450-pmic-glink 29 - qcom,sm8550-pmic-glink 30 - const: qcom,pmic-glink 51 pmic-glink { [all …]
|
| D | qcom,apr.yaml | 59 qcom,glink-channels: 121 qcom,glink-channels: 127 qcom,glink-channels: 133 - qcom,glink-channels 143 qcom,glink-channels: false 153 qcom,glink-channels = "apr_audio_svc"; 190 qcom,glink-channels = "adsp_apps";
|
| D | qcom,smd-rpm.yaml | 7 title: Qualcomm Resource Power Manager (RPM) over SMD/GLINK 15 The SMD or GLINK information for the RPM edge should be filled out. See 16 qcom,smd.yaml for the required edge properties. All SMD/GLINK related 66 qcom,glink-channels: 104 qcom,glink-channels: false 111 - qcom,glink-channels
|
| /kernel/linux/linux-6.6/drivers/remoteproc/ |
| D | qcom_common.c | 199 struct qcom_rproc_glink *glink = to_glink_subdev(subdev); in glink_subdev_start() local 201 glink->edge = qcom_glink_smem_register(glink->dev, glink->node); in glink_subdev_start() 203 return PTR_ERR_OR_ZERO(glink->edge); in glink_subdev_start() 208 struct qcom_rproc_glink *glink = to_glink_subdev(subdev); in glink_subdev_stop() local 210 qcom_glink_smem_unregister(glink->edge); in glink_subdev_stop() 211 glink->edge = NULL; in glink_subdev_stop() 216 struct qcom_rproc_glink *glink = to_glink_subdev(subdev); in glink_subdev_unprepare() local 218 qcom_glink_ssr_notify(glink->ssr_name); in glink_subdev_unprepare() 222 * qcom_add_glink_subdev() - try to add a GLINK subdevice to rproc 224 * @glink: reference to a GLINK subdev context [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/remoteproc/ |
| D | qcom,glink-edge.yaml | 4 $id: http://devicetree.org/schemas/remoteproc/qcom,glink-edge.yaml# 20 - qcom,glink-channels 27 - qcom,glink-channels 34 - qcom,glink-channels 52 ID of the shared memory used by GLINK for communication with remote 87 glink-edge {
|
| D | qcom,glink-rpm-edge.yaml | 4 $id: http://devicetree.org/schemas/remoteproc/qcom,glink-rpm-edge.yaml# 18 const: qcom,glink-rpm 68 - qcom,glink-channels 87 glink-edge { 88 compatible = "qcom,glink-rpm"; 95 qcom,glink-channels = "rpm_requests";
|
| D | qcom,rpm-proc.yaml | 101 glink-edge: 102 $ref: /schemas/remoteproc/qcom,glink-rpm-edge.yaml# 126 - glink-edge 151 # GLINK 159 glink-edge { 160 compatible = "qcom,glink-rpm"; 167 qcom,glink-channels = "rpm_requests";
|
| D | qcom,sc7280-wpss-pil.yaml | 108 glink-edge: 109 $ref: qcom,glink-edge.yaml# 118 - description: IRQ from WPSS to GLINK 147 - glink-edge 197 glink-edge {
|
| D | qcom,sc7180-mss-pil.yaml | 142 glink-edge: 143 $ref: qcom,glink-edge.yaml# 152 - description: IRQ from MSS to GLINK 183 - glink-edge 241 glink-edge {
|
| D | qcom,msm8996-mss-pil.yaml | 141 glink-edge: 142 $ref: /schemas/remoteproc/qcom,glink-edge.yaml# 236 glink-edge: false 274 - glink-edge 312 - glink-edge 389 glink-edge {
|
| D | qcom,sc7280-mss-pil.yaml | 156 glink-edge: 157 $ref: qcom,glink-edge.yaml# 166 - description: IRQ from MSS to GLINK 199 - glink-edge 259 glink-edge {
|
| /kernel/linux/linux-5.10/include/linux/rpmsg/ |
| D | qcom_glink.h | 14 void qcom_glink_smem_unregister(struct qcom_glink *glink); 26 static inline void qcom_glink_smem_unregister(struct qcom_glink *glink) {} in qcom_glink_smem_unregister() argument
|
| /kernel/linux/linux-6.6/include/linux/rpmsg/ |
| D | qcom_glink.h | 20 void qcom_glink_smem_unregister(struct qcom_glink_smem *glink); 31 static inline void qcom_glink_smem_unregister(struct qcom_glink_smem *glink) {} in qcom_glink_smem_unregister() argument
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/misc/ |
| D | qcom,fastrpc.yaml | 35 qcom,glink-channels: 109 glink-edge { 120 qcom,glink-channels = "fastrpcglink-apps-dsp";
|