Home
last modified time | relevance | path

Searched full:glink (Results 1 – 25 of 105) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/rpmsg/
Dqcom_glink_native.c134 * @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 …]
DKconfig32 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
Dqcom_glink_smem.c190 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 …]
Dqcom_glink_rpm.c160 /* 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 …]
Dqcom_glink_native.h34 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/
Dqcom_glink_native.c131 * @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 …]
Dqcom_glink_smem.c42 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 …]
Dqcom_glink_rpm.c58 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 …]
DKconfig48 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/
Dqcom_common.c39 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/
Dqcom,glink.txt1 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/
Dqcom,pmic-glink.yaml4 $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 …]
Dqcom,apr.yaml59 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";
Dqcom,smd-rpm.yaml7 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/
Dqcom_common.c199 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/
Dqcom,glink-edge.yaml4 $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 {
Dqcom,glink-rpm-edge.yaml4 $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";
Dqcom,rpm-proc.yaml101 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";
Dqcom,sc7280-wpss-pil.yaml108 glink-edge:
109 $ref: qcom,glink-edge.yaml#
118 - description: IRQ from WPSS to GLINK
147 - glink-edge
197 glink-edge {
Dqcom,sc7180-mss-pil.yaml142 glink-edge:
143 $ref: qcom,glink-edge.yaml#
152 - description: IRQ from MSS to GLINK
183 - glink-edge
241 glink-edge {
Dqcom,msm8996-mss-pil.yaml141 glink-edge:
142 $ref: /schemas/remoteproc/qcom,glink-edge.yaml#
236 glink-edge: false
274 - glink-edge
312 - glink-edge
389 glink-edge {
Dqcom,sc7280-mss-pil.yaml156 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/
Dqcom_glink.h14 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/
Dqcom_glink.h20 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/
Dqcom,fastrpc.yaml35 qcom,glink-channels:
109 glink-edge {
120 qcom,glink-channels = "fastrpcglink-apps-dsp";

12345