Home
last modified time | relevance | path

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

12

/linux/drivers/md/persistent-data/
H A 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 …]
/linux/drivers/gpu/drm/tiny/
H A Dsharp-memory.c148 static int sharp_memory_update_display(struct sharp_memory_device *smd, in sharp_memory_update_display() argument
155 u32 pitch = smd->pitch; in sharp_memory_update_display()
156 u8 vcom = smd->vcom; in sharp_memory_update_display()
157 u8 *tx_buffer = smd->tx_buffer; in sharp_memory_update_display()
158 u32 tx_buffer_size = smd->tx_buffer_size; in sharp_memory_update_display()
160 mutex_lock(&smd->tx_mutex); in sharp_memory_update_display()
168 ret = sharp_memory_spi_write(smd->spi, tx_buffer, tx_buffer_size); in sharp_memory_update_display()
170 mutex_unlock(&smd->tx_mutex); in sharp_memory_update_display()
175 static int sharp_memory_maintain_display(struct sharp_memory_device *smd) in sharp_memory_maintain_display() argument
178 u8 vcom = smd->vcom; in sharp_memory_maintain_display()
[all …]
/linux/drivers/clk/at91/
H A 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_obj(*smd); in at91sam9x5_clk_register_smd()
[all …]
/linux/Documentation/devicetree/bindings/soc/qcom/
H A 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
50 - const: qcom,smd-rpm
63 - const: qcom,glink-smd-rpm
78 qcom,smd-channels:
86 $ref: /schemas/regulator/qcom,smd-rpm-regulator.yaml#
93 const: qcom,smd-rpm
[all …]
H A Dqcom,apr.yaml79 qcom,smd-channels:
136 qcom,smd-channels: false
140 - qcom,smd-channels
/linux/drivers/net/ethernet/intel/igc/
H A Digc_tsn.h40 int smd; in igc_fpe_handle_mpacket() local
42 smd = FIELD_GET(IGC_RXDADV_STAT_SMD_TYPE_MASK, status_error); in igc_fpe_handle_mpacket()
43 if (smd != IGC_RXD_STAT_SMD_TYPE_V && smd != IGC_RXD_STAT_SMD_TYPE_R) in igc_fpe_handle_mpacket()
50 if (smd == IGC_RXD_STAT_SMD_TYPE_V) in igc_fpe_handle_mpacket()
64 u8 smd = FIELD_GET(IGC_TXD_POPTS_SMD_MASK, olinfo_status); in igc_fpe_transmitted_smd_v() local
66 return smd == SMD_V; in igc_fpe_transmitted_smd_v()
/linux/Documentation/devicetree/bindings/remoteproc/
H A 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>;
145 compatible = "qcom,rpm-msm8916", "qcom,smd-rpm";
146 qcom,smd-channels = "rpm_requests";
[all …]
H A Dqcom,glink-rpm-edge.yaml45 $ref: /schemas/soc/qcom/qcom,smd-rpm.yaml#
93 compatible = "qcom,rpm-msm8996", "qcom,glink-smd-rpm";
H A Dqcom,q6v5.txt99 The Hexagon node may also have an subnode named either "smd-edge" or
101 related to the Hexagon. See ../soc/qcom/qcom,smd.yaml and
H A Dqcom,qcs404-pas.yaml42 smd-edge: false
H A Dqcom,sm6375-pas.yaml42 smd-edge: false
H A Dqcom,sm6350-pas.yaml42 smd-edge: false
/linux/Documentation/devicetree/bindings/regulator/
H A 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/net/qrtr/
H A 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");
H A DMakefile5 obj-$(CONFIG_QRTR_SMD) += qrtr-smd.o
6 qrtr-smd-y := smd.o
H A DKconfig18 tristate "SMD IPC Router channels"
21 Say Y here to support SMD based ipcrouter channels. SMD is the
/linux/drivers/soc/qcom/
H A Dsmd-rpm.c15 #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()
219 { .compatible = "qcom,glink-smd-rpm" },
220 { .compatible = "qcom,smd-rpm" },
271 MODULE_DESCRIPTION("Qualcomm SMD backed RPM driver");
/linux/drivers/i2c/busses/
H A Di2c-rcar.c106 * SMD should be smaller than SCLD/SCHD and is always around 20 in the docs.
156 u8 smd; member
255 rcar_i2c_write(priv, ICMPR, priv->smd); in rcar_i2c_init()
300 priv->smd = RCAR_DEFAULT_SMD; in rcar_i2c_clock_calculate()
311 * SCL = clkp / (8 + SMD * 2 + SCLD + SCHD +F[(ticf + tr + intd) * clkp]) in rcar_i2c_clock_calculate()
367 * SCLD/SCHD ratio and SMD default value are explained above in rcar_i2c_clock_calculate()
371 * SCL = clkp / (8 + 2 * SMD + SCLD + SCHD + F[(ticf + tr + intd) * clkp]) in rcar_i2c_clock_calculate()
372 * SCL = clkp / (8 + 2 * SMD + RCAR_SCLD_RATIO * x in rcar_i2c_clock_calculate()
377 * SCL = clkp / (8 + 2 * smd + sum_ratio * x + F[...]) in rcar_i2c_clock_calculate()
378 * 8 + 2 * smd + sum_ratio * x + F[...] = clkp / SCL in rcar_i2c_clock_calculate()
[all …]
/linux/drivers/interconnect/qcom/
H A DMakefile49 icc-smd-rpm-objs := smd-rpm.o icc-rpm.o icc-rpm-clocks.o
94 obj-$(CONFIG_INTERCONNECT_QCOM_SMD_RPM) += icc-smd-rpm.o
H A Dicc-rpm-clocks.c6 #include <linux/soc/qcom/smd-rpm.h>
/linux/drivers/remoteproc/
H A Dqcom_common.h55 void qcom_add_smd_subdev(struct rproc *rproc, struct qcom_rproc_subdev *smd);
56 void qcom_remove_smd_subdev(struct rproc *rproc, struct qcom_rproc_subdev *smd);
/linux/drivers/net/wireless/ath/wcn36xx/
H A DMakefile6 smd.o \
/linux/drivers/rpmsg/
H A DKconfig68 tristate "Qualcomm Shared Memory Driver (SMD)"
/linux/Documentation/devicetree/bindings/misc/
H A Dqcom,fastrpc.yaml58 qcom,smd-channels:
/linux/Documentation/driver-api/gpio/
H A Dbt8xxgpio.rst13 These ports are accessible via 24 pins on the SMD chip package.

12