| /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 …]
|
| /linux/drivers/gpu/drm/tiny/ |
| H A D | sharp-memory.c | 147 static int sharp_memory_update_display(struct sharp_memory_device *smd, in sharp_memory_update_display() argument 154 u32 pitch = smd->pitch; in sharp_memory_update_display() 155 u8 vcom = smd->vcom; in sharp_memory_update_display() 156 u8 *tx_buffer = smd->tx_buffer; in sharp_memory_update_display() 157 u32 tx_buffer_size = smd->tx_buffer_size; in sharp_memory_update_display() 159 mutex_lock(&smd->tx_mutex); in sharp_memory_update_display() 167 ret = sharp_memory_spi_write(smd->spi, tx_buffer, tx_buffer_size); in sharp_memory_update_display() 169 mutex_unlock(&smd->tx_mutex); in sharp_memory_update_display() 174 static int sharp_memory_maintain_display(struct sharp_memory_device *smd) in sharp_memory_maintain_display() argument 177 u8 vcom = smd->vcom; in sharp_memory_maintain_display() [all …]
|
| /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_obj(*smd); in at91sam9x5_clk_register_smd() [all …]
|
| /linux/drivers/net/ethernet/intel/igc/ |
| H A D | igc_tsn.h | 40 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()
|
| H A D | igc_defines.h | 314 #define IGC_TXD_POPTS_SMD_MASK 0x3000 /* Indicates whether it's SMD-V or SMD-R */ 371 #define IGC_RXD_STAT_SMD_TYPE_V 0x01 /* SMD-V Packet */ 372 #define IGC_RXD_STAT_SMD_TYPE_R 0x02 /* SMD-R Packet */
|
| H A D | igc_tsn.c | 150 netdev_err(adapter->netdev, "Error sending SMD-V\n"); in igc_fpe_send_mpacket() 154 netdev_err(adapter->netdev, "Error sending SMD-R frame\n"); in igc_fpe_send_mpacket()
|
| /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
|
| /linux/drivers/soc/qcom/ |
| 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() 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 D | i2c-rcar.c | 106 * SMD should be smaller than SCLD/SCHD and is always around 20 in the docs. 158 u8 smd; member 257 rcar_i2c_write(priv, ICMPR, priv->smd); in rcar_i2c_init() 302 priv->smd = RCAR_DEFAULT_SMD; in rcar_i2c_clock_calculate() 313 * SCL = clkp / (8 + SMD * 2 + SCLD + SCHD +F[(ticf + tr + intd) * clkp]) in rcar_i2c_clock_calculate() 369 * SCLD/SCHD ratio and SMD default value are explained above in rcar_i2c_clock_calculate() 373 * SCL = clkp / (8 + 2 * SMD + SCLD + SCHD + F[(ticf + tr + intd) * clkp]) in rcar_i2c_clock_calculate() 374 * SCL = clkp / (8 + 2 * SMD + RCAR_SCLD_RATIO * x in rcar_i2c_clock_calculate() 379 * SCL = clkp / (8 + 2 * smd + sum_ratio * x + F[...]) in rcar_i2c_clock_calculate() 380 * 8 + 2 * smd + sum_ratio * x + F[...] = clkp / SCL in rcar_i2c_clock_calculate() [all …]
|
| /linux/Documentation/devicetree/bindings/soc/qcom/ |
| H A D | qcom,apr.yaml | 79 qcom,smd-channels: 136 qcom,smd-channels: false 140 - qcom,smd-channels
|
| /linux/Documentation/devicetree/bindings/remoteproc/ |
| H A D | qcom,glink-rpm-edge.yaml | 45 $ref: /schemas/soc/qcom/qcom,smd-rpm.yaml# 93 compatible = "qcom,rpm-msm8996", "qcom,glink-smd-rpm";
|
| H A D | qcom,q6v5.txt | 99 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
|
| /linux/Documentation/devicetree/bindings/clock/ |
| H A D | qcom,rpmcc.yaml | 155 compatible = "qcom,rpm-msm8916", "qcom,smd-rpm"; 156 qcom,smd-channels = "rpm_requests";
|
| /linux/drivers/net/wireless/ath/wcn36xx/ |
| H A D | Makefile | 6 smd.o \
|
| /linux/drivers/rpmsg/ |
| H A D | Kconfig | 68 tristate "Qualcomm Shared Memory Driver (SMD)"
|
| /linux/drivers/interconnect/qcom/ |
| H A D | icc-rpm-clocks.c | 6 #include <linux/soc/qcom/smd-rpm.h>
|
| /linux/Documentation/driver-api/gpio/ |
| H A D | bt8xxgpio.rst | 13 These ports are accessible via 24 pins on the SMD chip package.
|
| /linux/drivers/clk/qcom/ |
| H A D | clk-smd-rpm.c | 17 #include <linux/soc/qcom/smd-rpm.h> 1414 dev_err(&pdev->dev, "Error registering SMD clock driver (%d)\n", ret); in rpm_smd_clk_probe() 1420 .name = "qcom-clk-smd-rpm", 1438 MODULE_DESCRIPTION("Qualcomm RPM over SMD Clock Controller Driver"); 1440 MODULE_ALIAS("platform:qcom-clk-smd-rpm");
|
| H A D | Makefile | 106 obj-$(CONFIG_QCOM_CLK_SMD_RPM) += clk-smd-rpm.o
|
| /linux/drivers/bluetooth/ |
| H A D | btqcomsmd.c | 233 MODULE_DESCRIPTION("Qualcomm SMD HCI driver");
|
| /linux/include/linux/clk/ |
| H A D | at91_pmc.h | 182 #define AT91_PMC_SMDS (0x1 << 0) /* SMD input clock selection */ 183 #define AT91_PMC_SMD_DIV (0x1f << 8) /* SMD input clock divider */
|
| /linux/include/linux/ |
| H A D | ethtool.h | 727 * set if the Verify function of the MM layer (which sends SMD-V 732 * respond to received SMD-V requests as long as @pmac_enabled is set. 777 * received MAC frames/fragments rejected due to unknown or incorrect SMD 781 * number of additional correct SMD-C mPackets received due to preemption
|
| /linux/arch/arm/boot/dts/nxp/imx/ |
| H A D | imx6sl-kobo-aura2.dts | 330 /* TP198, next to J4, SMD pads */
|