/openbmc/linux/drivers/md/persistent-data/ |
H A D | dm-space-map-disk.c | 37 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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/remoteproc/ |
H A D | qcom,smd-edge.yaml | 4 $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 …]
|
H A D | qcom,rpm-proc.yaml | 38 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";
|
H A D | qcom,wcnss-pil.yaml | 95 smd-edge: 96 $ref: /schemas/remoteproc/qcom,smd-edge.yaml# 167 - smd-edge 263 smd-edge { 267 qcom,smd-edge = <6>; 274 qcom,smd-channels = "WCNSS_CTRL";
|
H A D | qcom,msm8916-mss-pil.yaml | 137 smd-edge: 138 $ref: qcom,smd-edge.yaml# 140 Qualcomm SMD subnode which represents communication edge, channels 194 - smd-edge 282 smd-edge { 285 qcom,smd-edge = <0>;
|
H A D | qcom,pas-common.yaml | 66 smd-edge: 67 $ref: /schemas/remoteproc/qcom,smd-edge.yaml#
|
/openbmc/linux/drivers/clk/at91/ |
H A D | clk-smd.c | 29 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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/soc/qcom/ |
H A D | qcom,smd.yaml | 4 $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 …]
|
H A D | qcom,smd-rpm.yaml | 4 $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 …]
|
H A D | qcom,wcnss.yaml | 15 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";
|
H A D | qcom,apr.yaml | 79 qcom,smd-channels: 136 qcom,smd-channels: false 140 - qcom,smd-channels
|
/openbmc/linux/drivers/remoteproc/ |
H A D | qcom_common.c | 310 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 …]
|
H A D | qcom_common.h | 48 void qcom_add_smd_subdev(struct rproc *rproc, struct qcom_rproc_subdev *smd); 49 void qcom_remove_smd_subdev(struct rproc *rproc, struct qcom_rproc_subdev *smd);
|
/openbmc/linux/Documentation/devicetree/bindings/regulator/ |
H A D | qcom,smd-rpm-regulator.yaml | 4 $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
|
/openbmc/linux/net/qrtr/ |
H A D | smd.c | 19 /* 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");
|
H A D | Makefile | 5 obj-$(CONFIG_QRTR_SMD) += qrtr-smd.o 6 qrtr-smd-y := smd.o
|
H A D | Kconfig | 18 tristate "SMD IPC Router channels" 21 Say Y here to support SMD based ipcrouter channels. SMD is the
|
/openbmc/linux/drivers/rpmsg/ |
H A D | qcom_smd.c | 45 * 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 …]
|
/openbmc/linux/drivers/interconnect/qcom/ |
H A D | smd-rpm.c | 3 * RPM over SMD communication wrapper for interconnects 12 #include <linux/soc/qcom/smd-rpm.h> 94 MODULE_DESCRIPTION("Qualcomm SMD RPM interconnect proxy driver");
|
H A D | Makefile | 32 icc-smd-rpm-objs := smd-rpm.o icc-rpm.o icc-rpm-clocks.o 60 obj-$(CONFIG_INTERCONNECT_QCOM_SMD_RPM) += icc-smd-rpm.o
|
/openbmc/linux/drivers/soc/qcom/ |
H A D | wcnss_ctrl.c | 28 * @channel: SMD channel handle 110 * wcnss_ctrl_smd_callback() - handler from SMD responses 244 dev_err(dev, "failed to send smd packet\n"); in wcnss_download_nv() 273 * qcom_wcnss_open_channel() - open additional SMD channel to WCNSS 275 * @name: SMD channel name
|
H A D | smd-rpm.c | 15 #include <linux/soc/qcom/smd-rpm.h> 21 * @rpm_channel: reference to the smd channel 110 /* SMD packets to the RPM may not exceed 256 bytes */ in qcom_rpm_smd_write() 265 MODULE_DESCRIPTION("Qualcomm SMD backed RPM driver");
|
H A D | rpm-proc.c | 17 edge_node = of_get_child_by_name(dev->of_node, "smd-edge"); in rpm_proc_probe() 23 "Failed to register smd-edge\n"); in rpm_proc_probe()
|
/openbmc/u-boot/arch/arm/mach-at91/include/mach/ |
H A D | at91sam9x5.h | 21 #define ATMEL_ID_SMD 4 /* SMD Soft Modem (SMD), only for AT91SAM9X5 */ 118 #define ATMEL_BASE_SMD 0x00400000 /* SMD Controller */
|
/openbmc/linux/drivers/net/wireless/ath/wcn36xx/ |
H A D | wcn36xx.h | 27 #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 |
|