Home
last modified time | relevance | path

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

1234567

/kernel/linux/linux-6.6/drivers/md/persistent-data/
Ddm-space-map-disk.c37 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_destroy() local
39 kfree(smd); in sm_disk_destroy()
44 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_extend() local
46 return sm_ll_extend(&smd->ll, extra_blocks); in sm_disk_extend()
51 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_get_nr_blocks() local
53 *count = smd->old_ll.nr_blocks; in sm_disk_get_nr_blocks()
60 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_get_nr_free() local
62 *count = (smd->old_ll.nr_blocks - smd->old_ll.nr_allocated) - smd->nr_allocated_this_transaction; in sm_disk_get_nr_free()
70 struct sm_disk *smd = container_of(sm, struct sm_disk, sm); in sm_disk_get_count() local
72 return sm_ll_lookup(&smd->ll, b, result); in sm_disk_get_count()
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/remoteproc/
Dqcom,smd-edge.yaml4 $id: http://devicetree.org/schemas/remoteproc/qcom,smd-edge.yaml#
7 title: Qualcomm SMD Edge communication channel nodes
13 Qualcomm SMD subnode represents a remote subsystem or a remote processor of
14 some sort - or in SMD language an "edge". The name of the edges are not
17 In turn, subnodes of the "edges" represent devices tied to SMD channels on
19 these nodes are defined by the individual bindings for the SMD devices.
20 See also Documentation/devicetree/bindings/soc/qcom/qcom,smd.yaml
24 const: smd-edge
29 - qcom,smd-channels
36 - qcom,smd-channels
[all …]
Dqcom,rpm-proc.yaml38 communication interfaces that are described in subnodes, e.g. SMD and MPM:
46 -------------->| SMD server |<------->| SMD data structures | |
95 smd-edge:
96 $ref: /schemas/remoteproc/qcom,smd-edge.yaml#
124 - smd-edge
131 # SMD
139 smd-edge {
142 qcom,smd-edge = <15>;
146 qcom,smd-channels = "rpm_requests";
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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";
/kernel/linux/linux-6.6/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()
68 struct at91sam9x5_clk_smd *smd = to_at91sam9x5_clk_smd(hw); in at91sam9x5_clk_smd_set_parent() local
73 regmap_update_bits(smd->regmap, AT91_PMC_SMD, AT91_PMC_SMDS, in at91sam9x5_clk_smd_set_parent()
81 struct at91sam9x5_clk_smd *smd = to_at91sam9x5_clk_smd(hw); in at91sam9x5_clk_smd_get_parent() local
84 regmap_read(smd->regmap, AT91_PMC_SMD, &smdr); in at91sam9x5_clk_smd_get_parent()
92 struct at91sam9x5_clk_smd *smd = to_at91sam9x5_clk_smd(hw); in at91sam9x5_clk_smd_set_rate() local
98 regmap_update_bits(smd->regmap, AT91_PMC_SMD, AT91_PMC_SMD_DIV, in at91sam9x5_clk_smd_set_rate()
116 struct at91sam9x5_clk_smd *smd; in at91sam9x5_clk_register_smd() local
121 smd = kzalloc(sizeof(*smd), GFP_KERNEL); in at91sam9x5_clk_register_smd()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/soc/qcom/
Dqcom,smd.yaml4 $id: http://devicetree.org/schemas/soc/qcom/qcom,smd.yaml#
18 Using the top-level SMD node is deprecated. Instead, the SMD edges are defined
26 const: qcom,smd
29 "^smd-edge|rpm$":
30 $ref: /schemas/remoteproc/qcom,smd-edge.yaml#
33 Each subnode of the SMD node represents a remote subsystem or a remote
34 processor of some sort - or in SMD language an "edge". The name of the
43 # The following example represents a smd node, with one edge representing the
51 compatible = "qcom,smd";
56 qcom,smd-edge = <15>;
[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/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
23 Refer to Documentation/devicetree/bindings/regulator/qcom,smd-rpm-regulator.yaml
72 qcom,smd-channels:
80 $ref: /schemas/regulator/qcom,smd-rpm-regulator.yaml#
106 - qcom,smd-channels
109 qcom,smd-channels: false
126 smd-edge {
[all …]
Dqcom,wcnss.yaml15 radio block, all using SMD as command channels.
35 qcom,smd-channels:
39 Standard SMD property specifying the SMD channel used for communication
94 - qcom,smd-channels
102 smd-edge {
106 qcom,smd-edge = <6>;
113 qcom,smd-channels = "WCNSS_CTRL";
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-6.6/drivers/remoteproc/
Dqcom_common.c310 struct qcom_rproc_subdev *smd = to_smd_subdev(subdev); in smd_subdev_start() local
312 smd->edge = qcom_smd_register_edge(smd->dev, smd->node); in smd_subdev_start()
314 return PTR_ERR_OR_ZERO(smd->edge); in smd_subdev_start()
319 struct qcom_rproc_subdev *smd = to_smd_subdev(subdev); in smd_subdev_stop() local
321 qcom_smd_unregister_edge(smd->edge); in smd_subdev_stop()
322 smd->edge = NULL; in smd_subdev_stop()
326 * qcom_add_smd_subdev() - try to add a SMD subdevice to rproc
328 * @smd: reference to a Qualcomm subdev context
330 void qcom_add_smd_subdev(struct rproc *rproc, struct qcom_rproc_subdev *smd) in qcom_add_smd_subdev() argument
334 smd->node = of_get_child_by_name(dev->parent->of_node, "smd-edge"); in qcom_add_smd_subdev()
[all …]
/kernel/linux/linux-5.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
/kernel/linux/linux-6.6/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.yaml for
16 information pertaining to the SMD node.
18 Please refer to Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml
/kernel/linux/linux-5.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";
/kernel/linux/linux-5.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");
DMakefile5 obj-$(CONFIG_QRTR_SMD) += qrtr-smd.o
6 qrtr-smd-y := smd.o
DKconfig18 tristate "SMD IPC Router channels"
21 Say Y here to support SMD based ipcrouter channels. SMD is the
/kernel/linux/linux-6.6/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");
DMakefile5 obj-$(CONFIG_QRTR_SMD) += qrtr-smd.o
6 qrtr-smd-y := smd.o
DKconfig18 tristate "SMD IPC Router channels"
21 Say Y here to support SMD based ipcrouter channels. SMD is the
/kernel/linux/linux-5.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");
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/
Dqcom,rpmcc.txt39 smd {
40 compatible = "qcom,smd";
45 qcom,smd-edge = <15>;
49 qcom,smd-channels = "rpm_requests";

1234567