Home
last modified time | relevance | path

Searched refs:smd (Results 1 – 9 of 9) sorted by relevance

/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.c147 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 in sharp_memory_maintain_display()
191 sharp_memory_clear_display(struct sharp_memory_device * smd) sharp_memory_clear_display() argument
213 struct sharp_memory_device *smd = drm_to_sharp_memory_device(fb->dev); sharp_memory_fb_dirty() local
228 struct sharp_memory_device *smd; sharp_memory_plane_atomic_check() local
246 struct sharp_memory_device *smd; sharp_memory_plane_atomic_update() local
283 struct sharp_memory_device *smd = drm_to_sharp_memory_device(crtc->dev); sharp_memory_crtc_mode_valid() local
307 struct sharp_memory_device *smd = data; sharp_memory_sw_vcom_signal_thread() local
321 struct sharp_memory_device *smd = drm_to_sharp_memory_device(crtc->dev); sharp_memory_crtc_enable() local
332 struct sharp_memory_device *smd = drm_to_sharp_memory_device(crtc->dev); sharp_memory_crtc_disable() local
362 struct sharp_memory_device *smd = drm_to_sharp_memory_device(connector->dev); sharp_memory_connector_get_modes() local
457 sharp_memory_pipe_init(struct drm_device * dev,struct sharp_memory_device * smd,const u32 * formats,unsigned int format_count,const u64 * format_modifiers) sharp_memory_pipe_init() argument
500 sharp_memory_init_pwm_vcom_signal(struct sharp_memory_device * smd) sharp_memory_init_pwm_vcom_signal() argument
525 struct sharp_memory_device *smd; sharp_memory_probe() local
636 struct sharp_memory_device *smd = spi_get_drvdata(spi); sharp_memory_remove() local
[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()
117 struct at91sam9x5_clk_smd *smd; in at91sam9x5_clk_register_smd()
121 smd in at91sam9x5_clk_register_smd()
116 struct at91sam9x5_clk_smd *smd; at91sam9x5_clk_register_smd() local
[all...]
/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/net/qrtr/
H A DMakefile5 obj-$(CONFIG_QRTR_SMD) += qrtr-smd.o
6 qrtr-smd-y := smd.o
/linux/drivers/i2c/busses/
H A Di2c-rcar.c158 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()
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()
381 * x = ((clkp / SCL) - 8 - 2 * smd - F[...]) / sum_ratio in rcar_i2c_clock_calculate()
384 x = DIV_ROUND_UP(x - 8 - 2 * priv->smd - round, sum_ratio); in rcar_i2c_clock_calculate()
385 scl = rate / (8 + 2 * priv->smd + sum_ratio * x + round); in rcar_i2c_clock_calculate()
393 if (priv->smd >= priv->schd) in rcar_i2c_clock_calculate()
394 priv->smd in rcar_i2c_clock_calculate()
[all...]
/linux/drivers/net/wireless/ath/wcn36xx/
H A DMakefile6 smd.o \
/linux/Documentation/devicetree/bindings/remoteproc/
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
/linux/drivers/clk/qcom/
H A DMakefile115 obj-$(CONFIG_QCOM_CLK_SMD_RPM) += clk-smd-rpm.o