Home
last modified time | relevance | path

Searched full:smd (Results 1 – 25 of 68) sorted by relevance

123

/Linux-v5.10/drivers/md/persistent-data/
Ddm-space-map-disk.c36 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_destroy() local
38 kfree(smd); in sm_disk_destroy()
43 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_extend() local
45 return sm_ll_extend(&smd->ll, extra_blocks); in sm_disk_extend()
50 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_get_nr_blocks() local
51 *count = smd->old_ll.nr_blocks; in sm_disk_get_nr_blocks()
58 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_get_nr_free() local
59 *count = (smd->old_ll.nr_blocks - smd->old_ll.nr_allocated) - smd->nr_allocated_this_transaction; in sm_disk_get_nr_free()
67 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_get_count() local
68 return sm_ll_lookup(&smd->ll, b, result); in sm_disk_get_count()
[all …]
/Linux-v5.10/drivers/clk/at91/
Dclk-smd.c29 struct at91sam9x5_clk_smd *smd = to_at91sam9x5_clk_smd(hw); in at91sam9x5_clk_smd_recalc_rate() local
33 regmap_read(smd->regmap, AT91_PMC_SMD, &smdr); in at91sam9x5_clk_smd_recalc_rate()
63 struct at91sam9x5_clk_smd *smd = to_at91sam9x5_clk_smd(hw); in at91sam9x5_clk_smd_set_parent() local
68 regmap_update_bits(smd->regmap, AT91_PMC_SMD, AT91_PMC_SMDS, in at91sam9x5_clk_smd_set_parent()
76 struct at91sam9x5_clk_smd *smd = to_at91sam9x5_clk_smd(hw); in at91sam9x5_clk_smd_get_parent() local
79 regmap_read(smd->regmap, AT91_PMC_SMD, &smdr); in at91sam9x5_clk_smd_get_parent()
87 struct at91sam9x5_clk_smd *smd = to_at91sam9x5_clk_smd(hw); in at91sam9x5_clk_smd_set_rate() local
93 regmap_update_bits(smd->regmap, AT91_PMC_SMD, AT91_PMC_SMD_DIV, in at91sam9x5_clk_smd_set_rate()
111 struct at91sam9x5_clk_smd *smd; in at91sam9x5_clk_register_smd() local
116 smd = kzalloc(sizeof(*smd), GFP_KERNEL); in at91sam9x5_clk_register_smd()
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/soc/qcom/
Dqcom,smd.txt1 Qualcomm Shared Memory Driver (SMD) binding
10 Definition: must be "qcom,smd"
14 Each subnode of the SMD node represents a remote subsystem or a remote
15 processor of some sort - or in SMD language an "edge". The name of the edges
40 - qcom,smd-edge:
43 Definition: the identifier of the remote processor in the smd channel
59 = SMD DEVICES
61 In turn, subnodes of the "edges" represent devices tied to SMD channels on that
63 nodes are defined by the individual bindings for the SMD devices - but must
66 - qcom,smd-channels:
[all …]
Dqcom,smd-rpm.yaml4 $id: "http://devicetree.org/schemas/soc/qcom/qcom,smd-rpm.yaml#"
7 title: Qualcomm Resource Power Manager (RPM) over SMD
15 The SMD information for the RPM edge should be filled out. See qcom,smd.txt
16 for the required edge properties. All SMD related properties will reside
23 Refer to Documentation/devicetree/bindings/regulator/qcom,smd-rpm-regulator.yaml
43 qcom,smd-channels:
59 - qcom,smd-channels
71 smd {
72 compatible = "qcom,smd";
77 qcom,smd-edge = <15>;
[all …]
Dqcom,wcnss.txt4 block and a BT, WiFi and FM radio block, all using SMD as command channels.
11 - qcom,smd-channel:
14 Definition: standard SMD property specifying the SMD channel used for
75 The following example represents a SMD node, with one edge representing the
79 smd {
80 compatible = "qcom,smd";
86 qcom,smd-edge = <6>;
90 qcom,smd-channels = "WCNSS_CTRL";
/Linux-v5.10/drivers/remoteproc/
Dqcom_common.c150 struct qcom_rproc_subdev *smd = to_smd_subdev(subdev); in smd_subdev_start() local
152 smd->edge = qcom_smd_register_edge(smd->dev, smd->node); in smd_subdev_start()
154 return PTR_ERR_OR_ZERO(smd->edge); in smd_subdev_start()
159 struct qcom_rproc_subdev *smd = to_smd_subdev(subdev); in smd_subdev_stop() local
161 qcom_smd_unregister_edge(smd->edge); in smd_subdev_stop()
162 smd->edge = NULL; in smd_subdev_stop()
166 * qcom_add_smd_subdev() - try to add a SMD subdevice to rproc
168 * @smd: reference to a Qualcomm subdev context
170 void qcom_add_smd_subdev(struct rproc *rproc, struct qcom_rproc_subdev *smd) in qcom_add_smd_subdev() argument
174 smd->node = of_get_child_by_name(dev->parent->of_node, "smd-edge"); in qcom_add_smd_subdev()
[all …]
Dqcom_common.h42 void qcom_add_smd_subdev(struct rproc *rproc, struct qcom_rproc_subdev *smd);
43 void qcom_remove_smd_subdev(struct rproc *rproc, struct qcom_rproc_subdev *smd);
/Linux-v5.10/Documentation/devicetree/bindings/regulator/
Dqcom,smd-rpm-regulator.yaml4 $id: http://devicetree.org/schemas/regulator/qcom,smd-rpm-regulator.yaml#
7 title: QCOM SMD RPM REGULATOR
10 The Qualcomm RPM over SMD regulator is modelled as a subdevice of the RPM.
11 Because SMD is used as the communication transport mechanism, the RPM
12 resides as a subnode of the SMD. As such, the SMD-RPM regulator requires
13 that the SMD and RPM nodes be present.
15 Please refer to Documentation/devicetree/bindings/soc/qcom/qcom,smd.txt for
16 information pertaining to the SMD node.
18 Please refer to Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml
/Linux-v5.10/Documentation/devicetree/bindings/remoteproc/
Dqcom,wcnss-pil.txt94 The wcnss node can also have an subnode named "smd-edge" that describes the SMD
96 See ../soc/qcom/qcom,smd.txt for details on how to describe the SMD edge.
138 smd-edge {
142 qcom,smd-edge = <6>;
149 qcom,smd-channels = "WCNSS_CTRL";
Dqcom,adsp.txt144 The adsp node may have an subnode named either "smd-edge" or "glink-edge" that
146 See ../soc/qcom/qcom,smd.txt and ../soc/qcom/qcom,glink.txt for details on how
178 smd-edge {
182 qcom,smd-edge = <1>;
/Linux-v5.10/net/qrtr/
Dsmd.c19 /* from smd to qrtr */
32 /* return 0 to let smd drop the packet */ in qcom_smd_qrtr_callback()
39 /* from qrtr to smd */
78 dev_dbg(&rpdev->dev, "Qualcomm SMD QRTR driver probed\n"); in qcom_smd_qrtr_probe()
110 MODULE_DESCRIPTION("Qualcomm IPC-Router SMD interface driver");
DMakefile4 obj-$(CONFIG_QRTR_SMD) += qrtr-smd.o
5 qrtr-smd-y := smd.o
DKconfig18 tristate "SMD IPC Router channels"
21 Say Y here to support SMD based ipcrouter channels. SMD is the
/Linux-v5.10/drivers/interconnect/qcom/
Dsmd-rpm.c3 * RPM over SMD communication wrapper for interconnects
14 #include <linux/soc/qcom/smd-rpm.h>
16 #include "smd-rpm.h"
75 MODULE_DESCRIPTION("Qualcomm SMD RPM interconnect proxy driver");
DMakefile13 icc-smd-rpm-objs := smd-rpm.o
25 obj-$(CONFIG_INTERCONNECT_QCOM_SMD_RPM) += icc-smd-rpm.o
/Linux-v5.10/Documentation/devicetree/bindings/clock/
Dqcom,rpmcc.txt39 smd {
40 compatible = "qcom,smd";
45 qcom,smd-edge = <15>;
49 qcom,smd-channels = "rpm_requests";
/Linux-v5.10/drivers/rpmsg/
Dqcom_smd.c45 * sends out an interrupt. We detect this change and register a smd device to
76 * smd channel entries.
148 * SMD channel states.
177 * struct qcom_smd_channel - smd channel struct
179 * @qsept: reference to a associated smd endpoint
362 * Each smd packet contains a 20 byte header, with the first 4 being the length
732 * qcom_smd_send - write data to smd channel
993 * Finds the device_node for the smd child interested in this channel.
1004 key = "qcom,smd-channels"; in qcom_smd_match_channel()
1054 * Create a smd client device for channel that is being opened.
[all …]
/Linux-v5.10/drivers/soc/qcom/
Dwcnss_ctrl.c27 * @channel: SMD channel handle
110 * wcnss_ctrl_smd_callback() - handler from SMD responses
111 * @channel: smd channel handle
237 dev_err(wcnss->dev, "failed to send smd packet\n"); in wcnss_download_nv()
266 * qcom_wcnss_open_channel() - open additional SMD channel to WCNSS
268 * @name: SMD channel name
Dsmd-rpm.c15 #include <linux/soc/qcom/smd-rpm.h>
21 * @rpm_channel: reference to the smd channel
112 /* SMD packets to the RPM may not exceed 256 bytes */ in qcom_rpm_smd_write()
272 MODULE_DESCRIPTION("Qualcomm SMD backed RPM driver");
DKconfig148 tristate "Qualcomm Resource Power Manager (RPM) over SMD"
160 module. This will build a module called "qcom-smd-rpm".
197 Client driver for the WCNSS_CTRL SMD channel, used to download nv
/Linux-v5.10/drivers/net/wireless/ath/wcn36xx/
Dwcn36xx.h26 #include "smd.h"
147 * used in both SMD channel and TX BD.
151 * used in both SMD channel and TX BD. See table bellow when it is used.
159 * |all SMD calls |bss_sta_index| sta_index |
DMakefile6 smd.o \
/Linux-v5.10/Documentation/devicetree/bindings/misc/
Dqcom,fastrpc.txt57 smd-edge {
61 qcom,smd-channels = "fastrpcsmd-apps-dsp";
/Linux-v5.10/arch/arm/boot/dts/
Dqcom-msm8974.dtsi364 smd-edge {
368 qcom,smd-edge = <1>;
859 smd-edge {
863 qcom,smd-edge = <0>;
902 smd-edge {
906 qcom,smd-edge = <6>;
910 qcom,smd-channels = "WCNSS_CTRL";
1548 smd {
1549 compatible = "qcom,smd";
1554 qcom,smd-edge = <15>;
[all …]
Dqcom-apq8084.dtsi465 smd {
466 compatible = "qcom,smd";
471 qcom,smd-edge = <15>;
475 qcom,smd-channels = "rpm_requests";

123