Home
last modified time | relevance | path

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

123

/Linux-v6.1/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-v6.1/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,wcnss-pil.txt112 The wcnss node can also have an subnode named "smd-edge" that describes the SMD
114 See ../soc/qcom/qcom,smd.yaml for details on how to describe the SMD edge.
157 smd-edge {
161 qcom,smd-edge = <6>;
168 qcom,smd-channels = "WCNSS_CTRL";
Dqcom,q6v5.txt208 The Hexagon node may also have an subnode named either "smd-edge" or
210 related to the Hexagon. See ../soc/qcom/qcom,smd.yaml and
256 smd-edge {
260 qcom,smd-edge = <0>;
Dqcom,adsp.yaml150 smd-edge:
151 $ref: /schemas/remoteproc/qcom,smd-edge.yaml#
605 smd-edge {
609 qcom,smd-edge = <1>;
/Linux-v6.1/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-v6.1/Documentation/devicetree/bindings/soc/qcom/
Dqcom,smd.yaml4 $id: http://devicetree.org/schemas/soc/qcom/qcom,smd.yaml#
20 const: qcom,smd
23 "^smd-edge|rpm$":
24 $ref: /schemas/remoteproc/qcom,smd-edge.yaml#
27 Each subnode of the SMD node represents a remote subsystem or a remote
28 processor of some sort - or in SMD language an "edge". The name of the
37 # The following example represents a smd node, with one edge representing the
44 compatible = "qcom,smd";
49 qcom,smd-edge = <15>;
53 qcom,smd-channels = "rpm_requests";
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.yaml
16 for the required edge properties. All SMD related properties will reside
23 Refer to Documentation/devicetree/bindings/regulator/qcom,smd-rpm-regulator.yaml
58 qcom,smd-channels:
75 - qcom,smd-channels
87 smd {
88 compatible = "qcom,smd";
93 qcom,smd-edge = <15>;
[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
96 - qcom,smd-channels
104 smd-edge {
108 qcom,smd-edge = <6>;
115 qcom,smd-channels = "WCNSS_CTRL";
Dqcom,apr.yaml72 qcom,smd-channels:
213 qcom,smd-channels: false
217 - qcom,smd-channels
/Linux-v6.1/drivers/remoteproc/
Dqcom_common.c296 struct qcom_rproc_subdev *smd = to_smd_subdev(subdev); in smd_subdev_start() local
298 smd->edge = qcom_smd_register_edge(smd->dev, smd->node); in smd_subdev_start()
300 return PTR_ERR_OR_ZERO(smd->edge); in smd_subdev_start()
305 struct qcom_rproc_subdev *smd = to_smd_subdev(subdev); in smd_subdev_stop() local
307 qcom_smd_unregister_edge(smd->edge); in smd_subdev_stop()
308 smd->edge = NULL; in smd_subdev_stop()
312 * qcom_add_smd_subdev() - try to add a SMD subdevice to rproc
314 * @smd: reference to a Qualcomm subdev context
316 void qcom_add_smd_subdev(struct rproc *rproc, struct qcom_rproc_subdev *smd) in qcom_add_smd_subdev() argument
320 smd->node = of_get_child_by_name(dev->parent->of_node, "smd-edge"); in qcom_add_smd_subdev()
[all …]
Dqcom_common.h44 void qcom_add_smd_subdev(struct rproc *rproc, struct qcom_rproc_subdev *smd);
45 void qcom_remove_smd_subdev(struct rproc *rproc, struct qcom_rproc_subdev *smd);
/Linux-v6.1/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
/Linux-v6.1/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
/Linux-v6.1/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");
DMakefile28 icc-smd-rpm-objs := smd-rpm.o icc-rpm.o
52 obj-$(CONFIG_INTERCONNECT_QCOM_SMD_RPM) += icc-smd-rpm.o
/Linux-v6.1/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
1007 * Finds the device_node for the smd child interested in this channel.
1018 key = "qcom,smd-channels"; in qcom_smd_match_channel()
1070 * Create a smd client device for channel that is being opened.
[all …]
/Linux-v6.1/drivers/soc/qcom/
Dwcnss_ctrl.c27 * @channel: SMD channel handle
109 * wcnss_ctrl_smd_callback() - handler from SMD responses
243 dev_err(dev, "failed to send smd packet\n"); in wcnss_download_nv()
272 * qcom_wcnss_open_channel() - open additional SMD channel to WCNSS
274 * @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()
278 MODULE_DESCRIPTION("Qualcomm SMD backed RPM driver");
DKconfig152 tristate "Qualcomm Resource Power Manager (RPM) over SMD"
164 module. This will build a module called "qcom-smd-rpm".
220 Client driver for the WCNSS_CTRL SMD channel, used to download nv
/Linux-v6.1/drivers/net/wireless/ath/wcn36xx/
Dwcn36xx.h27 #include "smd.h"
163 * used in both SMD channel and TX BD.
167 * used in both SMD channel and TX BD. See table bellow when it is used.
175 * |all SMD calls |bss_sta_index| sta_index |
/Linux-v6.1/arch/arm/boot/dts/
Dqcom-msm8226.dtsi64 smd {
65 compatible = "qcom,smd";
70 qcom,smd-edge = <15>;
74 qcom,smd-channels = "rpm_requests";
565 smd-edge {
569 qcom,smd-edge = <1>;
Dqcom-apq8084.dtsi465 smd {
466 compatible = "qcom,smd";
471 qcom,smd-edge = <15>;
475 qcom,smd-channels = "rpm_requests";

123