Home
last modified time | relevance | path

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

123456

/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-4.19/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-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-4.19/drivers/remoteproc/
Dqcom_common.c134 struct qcom_rproc_subdev *smd = to_smd_subdev(subdev); in smd_subdev_start() local
136 smd->edge = qcom_smd_register_edge(smd->dev, smd->node); in smd_subdev_start()
138 return PTR_ERR_OR_ZERO(smd->edge); in smd_subdev_start()
143 struct qcom_rproc_subdev *smd = to_smd_subdev(subdev); in smd_subdev_stop() local
145 qcom_smd_unregister_edge(smd->edge); in smd_subdev_stop()
146 smd->edge = NULL; in smd_subdev_stop()
150 * qcom_add_smd_subdev() - try to add a SMD subdevice to rproc
152 * @smd: reference to a Qualcomm subdev context
154 void qcom_add_smd_subdev(struct rproc *rproc, struct qcom_rproc_subdev *smd) in qcom_add_smd_subdev() argument
158 smd->node = of_get_child_by_name(dev->parent->of_node, "smd-edge"); in qcom_add_smd_subdev()
[all …]
/kernel/linux/linux-4.19/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.txt1 Qualcomm Resource Power Manager (RPM) over SMD
8 The SMD information for the RPM edge should be filled out. See qcom,smd.txt for
9 the required edge properties. All SMD related properties will reside within the
27 - qcom,smd-channels:
32 Refer to Documentation/devicetree/bindings/regulator/qcom,smd-rpm-regulator.txt
44 smd {
45 compatible = "qcom,smd";
50 qcom,smd-edge = <15>;
54 qcom,smd-channels = "rpm_requests";
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-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-4.19/drivers/clk/at91/
Dclk-smd.c36 struct at91sam9x5_clk_smd *smd = to_at91sam9x5_clk_smd(hw); in at91sam9x5_clk_smd_recalc_rate() local
40 regmap_read(smd->regmap, AT91_PMC_SMD, &smdr); in at91sam9x5_clk_smd_recalc_rate()
70 struct at91sam9x5_clk_smd *smd = to_at91sam9x5_clk_smd(hw); in at91sam9x5_clk_smd_set_parent() local
75 regmap_update_bits(smd->regmap, AT91_PMC_SMD, AT91_PMC_SMDS, in at91sam9x5_clk_smd_set_parent()
83 struct at91sam9x5_clk_smd *smd = to_at91sam9x5_clk_smd(hw); in at91sam9x5_clk_smd_get_parent() local
86 regmap_read(smd->regmap, AT91_PMC_SMD, &smdr); in at91sam9x5_clk_smd_get_parent()
94 struct at91sam9x5_clk_smd *smd = to_at91sam9x5_clk_smd(hw); in at91sam9x5_clk_smd_set_rate() local
100 regmap_update_bits(smd->regmap, AT91_PMC_SMD, AT91_PMC_SMD_DIV, in at91sam9x5_clk_smd_set_rate()
118 struct at91sam9x5_clk_smd *smd; in at91sam9x5_clk_register_smd() local
123 smd = kzalloc(sizeof(*smd), GFP_KERNEL); in at91sam9x5_clk_register_smd()
[all …]
/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-4.19/Documentation/devicetree/bindings/regulator/
Dqcom,smd-rpm-regulator.txt1 QCOM SMD RPM REGULATOR
3 The Qualcomm RPM over SMD regulator is modelled as a subdevice of the RPM.
4 Because SMD is used as the communication transport mechanism, the RPM resides as
5 a subnode of the SMD. As such, the SMD-RPM regulator requires that the SMD and
8 Please refer to Documentation/devicetree/bindings/soc/qcom/qcom,smd.txt for
9 information pertaining to the SMD node.
11 Please refer to Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.txt for
230 smd {
231 compatible = "qcom,smd";
236 qcom,smd-edge = <15>;
[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-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-4.19/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");
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
/kernel/linux/linux-4.19/net/qrtr/
Dsmd.c27 /* from smd to qrtr */
40 /* return 0 to let smd drop the packet */ in qcom_smd_qrtr_callback()
47 /* from qrtr to smd */
86 dev_dbg(&rpdev->dev, "Qualcomm SMD QRTR driver probed\n"); in qcom_smd_qrtr_probe()
118 MODULE_DESCRIPTION("Qualcomm IPC-Router SMD interface driver");
DMakefile3 obj-$(CONFIG_QRTR_SMD) += qrtr-smd.o
4 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-4.19/Documentation/devicetree/bindings/clock/
Dqcom,rpmcc.txt31 smd {
32 compatible = "qcom,smd";
37 qcom,smd-edge = <15>;
41 qcom,smd-channels = "rpm_requests";
/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";

123456