Searched refs:host (Results 76 - 100 of 1273) sorted by relevance

1234567891011>>

/linux-master/drivers/mmc/host/
H A Dsdhci-xenon.c27 static int xenon_enable_internal_clk(struct sdhci_host *host) argument
32 reg = sdhci_readl(host, SDHCI_CLOCK_CONTROL);
34 sdhci_writel(host, reg, SDHCI_CLOCK_CONTROL);
40 reg = sdhci_readw(host, SDHCI_CLOCK_CONTROL);
44 dev_err(mmc_dev(host->mmc), "Internal clock never stabilised.\n");
54 static void xenon_set_sdclk_off_idle(struct sdhci_host *host, argument
60 reg = sdhci_readl(host, XENON_SYS_OP_CTRL);
68 sdhci_writel(host, reg, XENON_SYS_OP_CTRL);
72 static void xenon_set_acg(struct sdhci_host *host, bool enable) argument
76 reg = sdhci_readl(host, XENON_SYS_OP_CTR
85 xenon_enable_sdhc(struct sdhci_host *host, unsigned char sdhc_id) argument
103 xenon_disable_sdhc(struct sdhci_host *host, unsigned char sdhc_id) argument
114 xenon_enable_sdhc_parallel_tran(struct sdhci_host *host, unsigned char sdhc_id) argument
125 xenon_mask_cmd_conflict_err(struct sdhci_host *host) argument
134 xenon_retune_setup(struct sdhci_host *host) argument
163 xenon_reset_exit(struct sdhci_host *host, unsigned char sdhc_id, u8 mask) argument
185 xenon_reset(struct sdhci_host *host, u8 mask) argument
198 xenon_set_uhs_signaling(struct sdhci_host *host, unsigned int timing) argument
224 xenon_set_power(struct sdhci_host *host, unsigned char mode, unsigned short vdd) argument
242 xenon_voltage_switch(struct sdhci_host *host) argument
248 xenon_get_max_clock(struct sdhci_host *host) argument
280 struct sdhci_host *host = mmc_priv(mmc); local
316 struct sdhci_host *host = mmc_priv(mmc); local
349 struct sdhci_host *host = mmc_priv(mmc); local
359 struct sdhci_host *host = mmc_priv(mmc); local
378 struct sdhci_host *host = mmc_priv(mmc); local
402 xenon_replace_mmc_host_ops(struct sdhci_host *host) argument
421 struct sdhci_host *host = platform_get_drvdata(pdev); local
476 xenon_sdhc_prepare(struct sdhci_host *host) argument
499 xenon_sdhc_unprepare(struct sdhci_host *host) argument
513 struct sdhci_host *host; local
613 struct sdhci_host *host = platform_get_drvdata(pdev); local
633 struct sdhci_host *host = dev_get_drvdata(dev); local
648 struct sdhci_host *host = dev_get_drvdata(dev); local
672 struct sdhci_host *host = dev_get_drvdata(dev); local
[all...]
H A Dcavium.c44 * The Cavium MMC host hardware assumes that all commands have fixed
47 * response types that are unexpected by the host hardware.
165 static void check_switch_errors(struct cvm_mmc_host *host) argument
169 emm_switch = readq(host->base + MIO_EMM_SWITCH(host));
171 dev_err(host->dev, "Switch power class error\n");
173 dev_err(host->dev, "Switch hs timing error\n");
175 dev_err(host->dev, "Switch bus width error\n");
200 static void do_switch(struct cvm_mmc_host *host, u64 emm_switch) argument
212 writeq(emm_switch, host
252 struct cvm_mmc_host *host = slot->host; local
273 struct cvm_mmc_host *host = slot->host; local
298 do_read(struct cvm_mmc_host *host, struct mmc_request *req, u64 dbuf) argument
340 set_cmd_response(struct cvm_mmc_host *host, struct mmc_request *req, u64 rsp_sts) argument
373 finish_dma_single(struct cvm_mmc_host *host, struct mmc_data *data) argument
381 finish_dma_sg(struct cvm_mmc_host *host, struct mmc_data *data) argument
401 finish_dma(struct cvm_mmc_host *host, struct mmc_data *data) argument
424 cleanup_dma(struct cvm_mmc_host *host, u64 rsp_sts) argument
437 struct cvm_mmc_host *host = dev_id; local
516 prepare_dma_single(struct cvm_mmc_host *host, struct mmc_data *data) argument
552 prepare_dma_sg(struct cvm_mmc_host *host, struct mmc_data *data) argument
617 prepare_dma(struct cvm_mmc_host *host, struct mmc_data *data) argument
653 struct cvm_mmc_host *host = slot->host; local
707 do_read_request(struct cvm_mmc_host *host, struct mmc_request *mrq) argument
713 do_write_request(struct cvm_mmc_host *host, struct mmc_request *mrq) argument
753 struct cvm_mmc_host *host = slot->host; local
825 struct cvm_mmc_host *host = slot->host; local
915 struct cvm_mmc_host *host = slot->host; local
1009 cvm_mmc_of_slot_probe(struct device *dev, struct cvm_mmc_host *host) argument
[all...]
H A Dsdhci-bcm-kona.c9 #include <linux/mmc/host.h>
47 static int sdhci_bcm_kona_sd_reset(struct sdhci_host *host) argument
55 /* reset the host using the top level reset */
56 val = sdhci_readl(host, KONA_SDHOST_CORECTRL);
58 sdhci_writel(host, val, KONA_SDHOST_CORECTRL);
60 while (!(sdhci_readl(host, KONA_SDHOST_CORECTRL) & KONA_SDHOST_RESET)) {
62 pr_err("Error: sd host is stuck in reset!!!\n");
67 /* bring the host out of reset */
68 val = sdhci_readl(host, KONA_SDHOST_CORECTRL);
78 sdhci_writel(host, va
83 sdhci_bcm_kona_sd_init(struct sdhci_host *host) argument
112 sdhci_bcm_kona_sd_card_emulate(struct sdhci_host *host, int insert) argument
151 sdhci_bcm_kona_card_event(struct sdhci_host *host) argument
164 sdhci_bcm_kona_init_74_clocks(struct sdhci_host *host, u8 power_mode) argument
208 struct sdhci_host *host; local
315 struct sdhci_host *host = platform_get_drvdata(pdev); local
[all...]
H A Dsdhci-spear.c2 * drivers/mmc/host/sdhci-spear.c
26 #include <linux/mmc/host.h>
45 struct sdhci_host *host; local
51 host = sdhci_alloc_host(dev, sizeof(*sdhci));
52 if (IS_ERR(host)) {
53 ret = PTR_ERR(host);
58 host->ioaddr = devm_platform_ioremap_resource(pdev, 0);
59 if (IS_ERR(host->ioaddr)) {
60 ret = PTR_ERR(host->ioaddr);
65 host
122 struct sdhci_host *host = platform_get_drvdata(pdev); local
139 struct sdhci_host *host = dev_get_drvdata(dev); local
155 struct sdhci_host *host = dev_get_drvdata(dev); local
[all...]
H A Dsdhci-of-esdhc.c24 #include <linux/mmc/host.h>
104 * @host: pointer to sdhci_host
115 static u32 esdhc_readl_fixup(struct sdhci_host *host, argument
118 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
162 * DTS properties of mmc host are used to enable each speed mode
176 static u16 esdhc_readw_fixup(struct sdhci_host *host, argument
179 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
200 static u8 esdhc_readb_fixup(struct sdhci_host *host, argument
227 * @host: pointer to sdhci_host
239 static u32 esdhc_writel_fixup(struct sdhci_host *host, argument
257 esdhc_writew_fixup(struct sdhci_host *host, int spec_reg, u16 value, u32 old_value) argument
291 esdhc_writeb_fixup(struct sdhci_host *host, int spec_reg, u8 value, u32 old_value) argument
333 esdhc_be_readl(struct sdhci_host *host, int reg) argument
348 esdhc_le_readl(struct sdhci_host *host, int reg) argument
363 esdhc_be_readw(struct sdhci_host *host, int reg) argument
374 esdhc_le_readw(struct sdhci_host *host, int reg) argument
385 esdhc_be_readb(struct sdhci_host *host, int reg) argument
396 esdhc_le_readb(struct sdhci_host *host, int reg) argument
407 esdhc_be_writel(struct sdhci_host *host, u32 val, int reg) argument
415 esdhc_le_writel(struct sdhci_host *host, u32 val, int reg) argument
423 esdhc_be_writew(struct sdhci_host *host, u16 val, int reg) argument
449 esdhc_le_writew(struct sdhci_host *host, u16 val, int reg) argument
475 esdhc_be_writeb(struct sdhci_host *host, u8 val, int reg) argument
486 esdhc_le_writeb(struct sdhci_host *host, u8 val, int reg) argument
504 esdhc_of_adma_workaround(struct sdhci_host *host, u32 intmask) argument
530 esdhc_of_enable_dma(struct sdhci_host *host) argument
554 esdhc_of_get_max_clock(struct sdhci_host *host) argument
565 esdhc_of_get_min_clock(struct sdhci_host *host) argument
578 esdhc_clock_enable(struct sdhci_host *host, bool enable) argument
623 esdhc_flush_async_fifo(struct sdhci_host *host) argument
649 esdhc_of_set_clock(struct sdhci_host *host, unsigned int clock) argument
781 esdhc_pltfm_set_bus_width(struct sdhci_host *host, int width) argument
803 esdhc_reset(struct sdhci_host *host, u8 mask) argument
888 struct sdhci_host *host = mmc_priv(mmc); local
956 esdhc_tuning_block_enable(struct sdhci_host *host, bool enable) argument
973 esdhc_tuning_window_ptr(struct sdhci_host *host, u8 *window_start, u8 *window_end) argument
1000 esdhc_prepare_sw_tuning(struct sdhci_host *host, u8 *window_start, u8 *window_end) argument
1038 struct sdhci_host *host = mmc_priv(mmc); local
1064 struct sdhci_host *host = mmc_priv(mmc); local
1174 esdhc_set_uhs_signaling(struct sdhci_host *host, unsigned int timing) argument
1217 esdhc_irq(struct sdhci_host *host, u32 intmask) argument
1241 struct sdhci_host *host = dev_get_drvdata(dev); local
1253 struct sdhci_host *host = dev_get_drvdata(dev); local
1342 esdhc_init(struct platform_device *pdev, struct sdhci_host *host) argument
1426 struct sdhci_host *host; local
[all...]
H A Dlitex_mmc.c23 #include <linux/mmc/host.h>
123 static int litex_mmc_send_cmd(struct litex_mmc_host *host, argument
126 struct device *dev = mmc_dev(host->mmc);
131 litex_write32(host->sdcore + LITEX_CORE_CMDARG, arg);
132 litex_write32(host->sdcore + LITEX_CORE_CMDCMD,
134 litex_write8(host->sdcore + LITEX_CORE_CMDSND, 1);
140 if (host->irq > 0 &&
143 reinit_completion(&host->cmd_done);
144 litex_write32(host->sdirq + LITEX_IRQ_ENABLE,
146 wait_for_completion(&host
190 litex_mmc_send_app_cmd(struct litex_mmc_host *host) argument
196 litex_mmc_send_set_bus_w_cmd(struct litex_mmc_host *host, u32 width) argument
202 litex_mmc_set_bus_width(struct litex_mmc_host *host) argument
237 struct litex_mmc_host *host = mmc_priv(mmc); local
256 struct litex_mmc_host *host = mmc_priv(mmc); local
291 litex_mmc_do_dma(struct litex_mmc_host *host, struct mmc_data *data, unsigned int *len, bool *direct, u8 *transfer) argument
340 struct litex_mmc_host *host = mmc_priv(mmc); local
434 litex_mmc_setclk(struct litex_mmc_host *host, unsigned int freq) argument
450 struct litex_mmc_host *host = mmc_priv(mmc); local
470 litex_mmc_irq_init(struct platform_device *pdev, struct litex_mmc_host *host) argument
517 struct litex_mmc_host *host; local
634 struct litex_mmc_host *host = platform_get_drvdata(pdev); local
[all...]
H A Dsdhci-of-sparx5.c3 * drivers/mmc/host/sdhci-of-sparx5.c
40 struct sdhci_host *host; member in struct:sdhci_sparx5_data
52 static void sdhci_sparx5_adma_write_desc(struct sdhci_host *host, void **desc, argument
59 sdhci_adma_write_desc(host, desc, addr, len, cmd);
64 mmc_hostname(host->mmc), len, &addr);
68 sdhci_adma_write_desc(host, desc, addr, tmplen, cmd);
72 sdhci_adma_write_desc(host, desc, addr, len, cmd);
75 static void sparx5_set_cacheable(struct sdhci_host *host, u32 value) argument
77 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
80 pr_debug("%s: Set Cacheable = 0x%x\n", mmc_hostname(host
87 sparx5_set_delay(struct sdhci_host *host, u8 value) argument
101 sdhci_sparx5_set_emmc(struct sdhci_host *host) argument
116 sdhci_sparx5_reset_emmc(struct sdhci_host *host) argument
132 sdhci_sparx5_reset(struct sdhci_host *host, u8 mask) argument
162 struct sdhci_host *host; local
[all...]
H A Dsdhci-xenon-phy.c160 void (*set_soc_pad)(struct sdhci_host *host,
203 static int xenon_alloc_emmc_phy(struct sdhci_host *host) argument
205 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
209 params = devm_kzalloc(mmc_dev(host->mmc), sizeof(*params), GFP_KERNEL);
222 static int xenon_check_stability_internal_clk(struct sdhci_host *host) argument
228 1100, 20000, false, host, SDHCI_CLOCK_CONTROL);
230 dev_err(mmc_dev(host->mmc), "phy_init: Internal clock never stabilized.\n");
243 static int xenon_emmc_phy_init(struct sdhci_host *host) argument
247 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
251 int ret = xenon_check_stability_internal_clk(host);
309 armada_3700_soc_pad_voltage_set(struct sdhci_host *host, unsigned char signal_voltage) argument
331 xenon_emmc_phy_set_soc_pad(struct sdhci_host *host, unsigned char signal_voltage) argument
350 xenon_emmc_phy_enable_dll(struct sdhci_host *host) argument
406 xenon_emmc_phy_config_tuning(struct sdhci_host *host) argument
443 xenon_emmc_phy_disable_strobe(struct sdhci_host *host) argument
467 xenon_emmc_phy_strobe_delay_adj(struct sdhci_host *host) argument
519 xenon_emmc_phy_slow_mode(struct sdhci_host *host, unsigned char timing) argument
574 xenon_emmc_phy_set(struct sdhci_host *host, unsigned char timing) argument
680 get_dt_pad_ctrl_data(struct sdhci_host *host, struct device_node *np, struct xenon_emmc_phy_params *params) argument
724 xenon_emmc_phy_parse_params(struct sdhci_host *host, struct device *dev, struct xenon_emmc_phy_params *params) argument
758 xenon_soc_pad_ctrl(struct sdhci_host *host, unsigned char signal_voltage) argument
769 xenon_hs_delay_adj(struct sdhci_host *host) argument
810 xenon_phy_adj(struct sdhci_host *host, struct mmc_ios *ios) argument
848 xenon_add_phy(struct device *dev, struct sdhci_host *host, const char *phy_name) argument
870 xenon_phy_parse_params(struct device *dev, struct sdhci_host *host) argument
[all...]
H A Dsdhci-pltfm.c27 unsigned int sdhci_pltfm_clk_get_max_clock(struct sdhci_host *host) argument
29 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
59 struct sdhci_host *host = platform_get_drvdata(pdev); local
62 host->quirks |= SDHCI_QUIRK_BROKEN_DMA;
68 host->quirks |= SDHCI_QUIRK_BROKEN_TIMEOUT_VAL;
74 struct sdhci_host *host = platform_get_drvdata(pdev); local
75 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
79 host->quirks |= SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12;
84 host->quirks |= SDHCI_QUIRK_FORCE_1_BIT_DATA;
87 host
112 struct sdhci_host *host; local
151 struct sdhci_host *host = platform_get_drvdata(pdev); local
161 struct sdhci_host *host; local
180 struct sdhci_host *host = platform_get_drvdata(pdev); local
191 struct sdhci_host *host = dev_get_drvdata(dev); local
210 struct sdhci_host *host = dev_get_drvdata(dev); local
[all...]
H A Dsdhci-of-dwcmshc.c209 static void dwcmshc_adma_write_desc(struct sdhci_host *host, void **desc, argument
215 sdhci_adma_write_desc(host, desc, addr, len, cmd);
221 sdhci_adma_write_desc(host, desc, addr, tmplen, cmd);
225 sdhci_adma_write_desc(host, desc, addr, len, cmd);
228 static unsigned int dwcmshc_get_max_clock(struct sdhci_host *host) argument
230 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
233 return sdhci_pltfm_clk_get_max_clock(host);
238 static unsigned int rk35xx_get_max_clock(struct sdhci_host *host) argument
240 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
248 struct sdhci_host *host local
268 dwcmshc_phy_1_8v_init(struct sdhci_host *host) argument
319 dwcmshc_phy_3_3v_init(struct sdhci_host *host) argument
366 th1520_sdhci_set_phy(struct sdhci_host *host) argument
389 dwcmshc_set_uhs_signaling(struct sdhci_host *host, unsigned int timing) argument
426 th1520_set_uhs_signaling(struct sdhci_host *host, unsigned int timing) argument
444 struct sdhci_host *host = mmc_priv(mmc); local
458 dwcmshc_rk3568_set_clock(struct sdhci_host *host, unsigned int clock) argument
571 rk35xx_sdhci_reset(struct sdhci_host *host, u8 mask) argument
586 th1520_execute_tuning(struct sdhci_host *host, u32 opcode) argument
643 th1520_sdhci_reset(struct sdhci_host *host, u8 mask) argument
660 cv18xx_sdhci_reset(struct sdhci_host *host, u8 mask) argument
762 dwcmshc_rk35xx_init(struct sdhci_host *host, struct dwcmshc_priv *dwc_priv) argument
803 dwcmshc_rk35xx_postinit(struct sdhci_host *host, struct dwcmshc_priv *dwc_priv) argument
861 struct sdhci_host *host; local
1003 dwcmshc_disable_card_clk(struct sdhci_host *host) argument
1016 struct sdhci_host *host = platform_get_drvdata(pdev); local
1040 struct sdhci_host *host = dev_get_drvdata(dev); local
1065 struct sdhci_host *host = dev_get_drvdata(dev); local
1109 dwcmshc_enable_card_clk(struct sdhci_host *host) argument
1122 struct sdhci_host *host = dev_get_drvdata(dev); local
1131 struct sdhci_host *host = dev_get_drvdata(dev); local
[all...]
H A Dsdhci.h3 * linux/drivers/mmc/host/sdhci.h - Secure Digital Host Controller Interface driver
20 #include <linux/mmc/host.h>
331 #define SDHCI_ADMA2_64_DESC_SZ(host) ((host)->v4_mode ? 16 : 12)
366 #define sdhci_err_stats_inc(host, err_name) \
367 mmc_debugfs_err_stats_inc((host)->mmc, MMC_ERR_##err_name)
446 /* The system physically doesn't support 1.8v, even if the host does */
450 /* Controller has a non-standard host control register */
500 struct mmc_host_ops mmc_host_ops; /* MMC host ops */
569 unsigned int alloc_desc_sz; /* ADMA descr. max size host support
675 sdhci_writel(struct sdhci_host *host, u32 val, int reg) argument
683 sdhci_writew(struct sdhci_host *host, u16 val, int reg) argument
691 sdhci_writeb(struct sdhci_host *host, u8 val, int reg) argument
699 sdhci_readl(struct sdhci_host *host, int reg) argument
707 sdhci_readw(struct sdhci_host *host, int reg) argument
715 sdhci_readb(struct sdhci_host *host, int reg) argument
725 sdhci_writel(struct sdhci_host *host, u32 val, int reg) argument
730 sdhci_writew(struct sdhci_host *host, u16 val, int reg) argument
735 sdhci_writeb(struct sdhci_host *host, u8 val, int reg) argument
740 sdhci_readl(struct sdhci_host *host, int reg) argument
745 sdhci_readw(struct sdhci_host *host, int reg) argument
750 sdhci_readb(struct sdhci_host *host, int reg) argument
760 sdhci_priv(struct sdhci_host *host) argument
773 sdhci_read_caps(struct sdhci_host *host) argument
[all...]
H A Dsdricoh_cs.c25 #include <linux/mmc/host.h>
88 static inline unsigned int sdricoh_readl(struct sdricoh_host *host, argument
91 unsigned int value = readl(host->iobase + reg);
92 dev_vdbg(host->dev, "rl %x 0x%x\n", reg, value);
96 static inline void sdricoh_writel(struct sdricoh_host *host, unsigned int reg, argument
99 writel(value, host->iobase + reg);
100 dev_vdbg(host->dev, "wl %x 0x%x\n", reg, value);
104 static inline void sdricoh_writew(struct sdricoh_host *host, unsigned int reg, argument
107 writew(value, host->iobase + reg);
108 dev_vdbg(host
111 sdricoh_readb(struct sdricoh_host *host, unsigned int reg) argument
119 sdricoh_status_ok(struct sdricoh_host *host, unsigned int status, unsigned int wanted) argument
126 sdricoh_query_status(struct sdricoh_host *host, unsigned int wanted) argument
150 sdricoh_mmc_cmd(struct sdricoh_host *host, struct mmc_command *cmd) argument
192 sdricoh_reset(struct sdricoh_host *host) argument
211 sdricoh_blockio(struct sdricoh_host *host, int read, u8 *buf, int len) argument
256 struct sdricoh_host *host = mmc_priv(mmc); local
337 struct sdricoh_host *host = mmc_priv(mmc); local
358 struct sdricoh_host *host = mmc_priv(mmc); local
384 struct sdricoh_host *host; local
482 struct sdricoh_host *host = mmc_priv(mmc); local
[all...]
/linux-master/sound/soc/spear/
H A Dspdif_out.c44 static void spdif_out_configure(struct spdif_out_dev *host) argument
46 writel(SPDIF_OUT_RESET, host->io_base + SPDIF_OUT_SOFT_RST);
48 writel(readl(host->io_base + SPDIF_OUT_SOFT_RST) & ~SPDIF_OUT_RESET,
49 host->io_base + SPDIF_OUT_SOFT_RST);
54 host->io_base + SPDIF_OUT_CFG);
56 writel(0x7F, host->io_base + SPDIF_OUT_INT_STA_CLR);
57 writel(0x7F, host->io_base + SPDIF_OUT_INT_EN_CLR);
63 struct spdif_out_dev *host = snd_soc_dai_get_drvdata(cpu_dai); local
69 ret = clk_enable(host->clk);
73 host
82 struct spdif_out_dev *host = snd_soc_dai_get_drvdata(dai); local
91 spdif_out_clock(struct spdif_out_dev *host, u32 core_freq, u32 rate) argument
109 struct spdif_out_dev *host = snd_soc_dai_get_drvdata(dai); local
154 struct spdif_out_dev *host = snd_soc_dai_get_drvdata(dai); local
193 struct spdif_out_dev *host = snd_soc_dai_get_drvdata(dai); local
217 struct spdif_out_dev *host = snd_soc_dai_get_drvdata(cpu_dai); local
227 struct spdif_out_dev *host = snd_soc_dai_get_drvdata(cpu_dai); local
244 struct spdif_out_dev *host = snd_soc_dai_get_drvdata(dai); local
283 struct spdif_out_dev *host; local
322 struct spdif_out_dev *host = dev_get_drvdata(&pdev->dev); local
333 struct spdif_out_dev *host = dev_get_drvdata(&pdev->dev); local
[all...]
/linux-master/drivers/memstick/
H A DMakefile9 obj-$(CONFIG_MEMSTICK) += host/
/linux-master/drivers/mmc/
H A DMakefile7 obj-$(subst m,y,$(CONFIG_MMC)) += host/
/linux-master/drivers/nvme/
H A DMakefile4 obj-y += host/
/linux-master/drivers/mmc/core/
H A Dpwrseq.c14 #include <linux/mmc/host.h>
21 int mmc_pwrseq_alloc(struct mmc_host *host) argument
26 np = of_parse_phandle(host->parent->of_node, "mmc-pwrseq", 0);
34 dev_err(host->parent,
37 host->pwrseq = p;
46 if (!host->pwrseq)
49 dev_info(host->parent, "allocated mmc-pwrseq\n");
54 void mmc_pwrseq_pre_power_on(struct mmc_host *host) argument
56 struct mmc_pwrseq *pwrseq = host->pwrseq;
59 pwrseq->ops->pre_power_on(host);
62 mmc_pwrseq_post_power_on(struct mmc_host *host) argument
70 mmc_pwrseq_power_off(struct mmc_host *host) argument
78 mmc_pwrseq_reset(struct mmc_host *host) argument
86 mmc_pwrseq_free(struct mmc_host *host) argument
[all...]
H A Dslot-gpio.c12 #include <linux/mmc/host.h>
32 struct mmc_host *host = dev_id; local
33 struct mmc_gpio *ctx = host->slot.handler_priv;
35 host->trigger_card_event = true;
36 mmc_detect_change(host, msecs_to_jiffies(ctx->cd_debounce_delay_ms));
41 int mmc_gpio_alloc(struct mmc_host *host) argument
43 const char *devname = dev_name(host->parent);
46 ctx = devm_kzalloc(host->parent, sizeof(*ctx), GFP_KERNEL);
51 ctx->cd_label = devm_kasprintf(host->parent, GFP_KERNEL, "%s cd", devname);
54 ctx->ro_label = devm_kasprintf(host
64 mmc_gpio_set_cd_irq(struct mmc_host *host, int irq) argument
75 mmc_gpio_get_ro(struct mmc_host *host) argument
90 mmc_gpio_get_cd(struct mmc_host *host) argument
105 mmc_gpiod_request_cd_irq(struct mmc_host *host) argument
141 mmc_gpio_set_cd_wake(struct mmc_host *host, bool on) argument
165 mmc_gpio_set_cd_isr(struct mmc_host *host, irqreturn_t (*isr)(int irq, void *dev_id)) argument
188 mmc_gpiod_request_cd(struct mmc_host *host, const char *con_id, unsigned int idx, bool override_active_level, unsigned int debounce) argument
224 mmc_can_gpio_cd(struct mmc_host *host) argument
241 mmc_gpiod_request_ro(struct mmc_host *host, const char *con_id, unsigned int idx, unsigned int debounce) argument
271 mmc_can_gpio_ro(struct mmc_host *host) argument
[all...]
H A Dsdio.c12 #include <linux/mmc/host.h>
21 #include "host.h"
138 * the host lock as we haven't registered the device yet.
160 mmc_hostname(card->host), cccr_vsn);
201 if (mmc_host_uhs(card->host)) {
266 if (!(card->host->caps & MMC_CAP_4_BIT_DATA))
278 mmc_hostname(card->host), ctrl);
323 if (!(card->host->caps & MMC_CAP_4_BIT_DATA))
343 mmc_set_bus_width(card->host, MMC_BUS_WIDTH_1);
355 if (!(card->host
623 mmc_sdio_pre_init(struct mmc_host *host, u32 ocr, struct mmc_card *card) argument
658 mmc_sdio_init_card(struct mmc_host *host, u32 ocr, struct mmc_card *oldcard) argument
912 mmc_sdio_reinit_card(struct mmc_host *host) argument
926 mmc_sdio_remove(struct mmc_host *host) argument
944 mmc_sdio_alive(struct mmc_host *host) argument
952 mmc_sdio_detect(struct mmc_host *host) argument
1002 mmc_sdio_pre_suspend(struct mmc_host *host) argument
1040 mmc_sdio_suspend(struct mmc_host *host) argument
1065 mmc_sdio_resume(struct mmc_host *host) argument
1122 mmc_sdio_runtime_suspend(struct mmc_host *host) argument
1132 mmc_sdio_runtime_resume(struct mmc_host *host) argument
1151 mmc_sdio_hw_reset(struct mmc_host *host) argument
1177 mmc_sdio_sw_reset(struct mmc_host *host) argument
1206 mmc_attach_sdio(struct mmc_host *host) argument
[all...]
H A Dsd_ops.h17 int mmc_send_app_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
18 int mmc_send_if_cond(struct mmc_host *host, u32 ocr);
19 int mmc_send_if_cond_pcie(struct mmc_host *host, u32 ocr);
20 int mmc_send_relative_addr(struct mmc_host *host, unsigned int *rca);
23 int mmc_app_cmd(struct mmc_host *host, struct mmc_card *card);
/linux-master/include/linux/amba/
H A Dmmci.h8 #include <linux/mmc/host.h>
15 * mmc/host.h
/linux-master/include/linux/soc/qcom/
H A Dsmem.h8 int qcom_smem_alloc(unsigned host, unsigned item, size_t size);
9 void *qcom_smem_get(unsigned host, unsigned item, size_t *size);
11 int qcom_smem_get_free_space(unsigned host);
/linux-master/drivers/mtd/nand/raw/
H A Dmxc_nand.c27 #define NFC_V1_V2_BUF_SIZE (host->regs + 0x00)
28 #define NFC_V1_V2_BUF_ADDR (host->regs + 0x04)
29 #define NFC_V1_V2_FLASH_ADDR (host->regs + 0x06)
30 #define NFC_V1_V2_FLASH_CMD (host->regs + 0x08)
31 #define NFC_V1_V2_CONFIG (host->regs + 0x0a)
32 #define NFC_V1_V2_ECC_STATUS_RESULT (host->regs + 0x0c)
33 #define NFC_V1_V2_RSLTMAIN_AREA (host->regs + 0x0e)
34 #define NFC_V21_RSLTSPARE_AREA (host->regs + 0x10)
35 #define NFC_V1_V2_WRPROT (host->regs + 0x12)
36 #define NFC_V1_UNLOCKSTART_BLKADDR (host
250 struct mxc_nand_host *host = nand_get_controller_data(this); local
293 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); local
341 check_int_v3(struct mxc_nand_host *host) argument
355 check_int_v1_v2(struct mxc_nand_host *host) argument
369 irq_control_v1_v2(struct mxc_nand_host *host, int activate) argument
383 irq_control_v3(struct mxc_nand_host *host, int activate) argument
397 irq_control(struct mxc_nand_host *host, int activate) argument
409 get_ecc_status_v1(struct mxc_nand_host *host) argument
414 get_ecc_status_v2(struct mxc_nand_host *host) argument
419 get_ecc_status_v3(struct mxc_nand_host *host) argument
426 struct mxc_nand_host *host = dev_id; local
441 wait_op_done(struct mxc_nand_host *host, int useirq) argument
488 send_cmd_v3(struct mxc_nand_host *host, uint16_t cmd, int useirq) argument
502 send_cmd_v1_v2(struct mxc_nand_host *host, uint16_t cmd, int useirq) argument
527 send_addr_v3(struct mxc_nand_host *host, uint16_t addr, int islast) argument
541 send_addr_v1_v2(struct mxc_nand_host *host, uint16_t addr, int islast) argument
555 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); local
571 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); local
585 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); local
605 send_read_id_v3(struct mxc_nand_host *host) argument
616 send_read_id_v1_v2(struct mxc_nand_host *host) argument
629 get_dev_status_v3(struct mxc_nand_host *host) argument
639 get_dev_status_v1_v2(struct mxc_nand_host *host) argument
666 struct mxc_nand_host *host = nand_get_controller_data(chip); local
684 struct mxc_nand_host *host = nand_get_controller_data(chip); local
714 struct mxc_nand_host *host = nand_get_controller_data(chip); local
772 struct mxc_nand_host *host = nand_get_controller_data(chip); local
819 struct mxc_nand_host *host = nand_get_controller_data(chip); local
833 struct mxc_nand_host *host = nand_get_controller_data(chip); local
846 struct mxc_nand_host *host = nand_get_controller_data(chip); local
856 struct mxc_nand_host *host = nand_get_controller_data(chip); local
888 struct mxc_nand_host *host = nand_get_controller_data(chip); local
897 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); local
925 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); local
944 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); local
959 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); local
979 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); local
1114 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); local
1143 struct mxc_nand_host *host = nand_get_controller_data(chip); local
1217 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); local
1266 struct mxc_nand_host *host = nand_get_controller_data(chip); local
1337 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); local
1397 struct mxc_nand_host *host = nand_get_controller_data(chip); local
1417 struct mxc_nand_host *host = nand_get_controller_data(chip); local
1586 is_imx21_nfc(struct mxc_nand_host *host) argument
1591 is_imx27_nfc(struct mxc_nand_host *host) argument
1596 is_imx25_nfc(struct mxc_nand_host *host) argument
1614 struct mxc_nand_host *host = nand_get_controller_data(chip); local
1683 struct mxc_nand_host *host = nand_get_controller_data(chip); local
1697 struct mxc_nand_host *host; local
1822 struct mxc_nand_host *host = platform_get_drvdata(pdev); local
[all...]
/linux-master/drivers/spi/
H A Dspi-cavium-octeon.c22 struct spi_controller *host; local
26 host = spi_alloc_host(&pdev->dev, sizeof(struct octeon_spi));
27 if (!host)
29 p = spi_controller_get_devdata(host);
30 platform_set_drvdata(pdev, host);
46 host->num_chipselect = 4;
47 host->mode_bits = SPI_CPHA |
53 host->transfer_one_message = octeon_spi_transfer_one_message;
54 host->bits_per_word_mask = SPI_BPW_MASK(8);
55 host
74 struct spi_controller *host = platform_get_drvdata(pdev); local
[all...]
/linux-master/scripts/
H A DMakefile.host20 # Building binaries on the host system
50 host-csingle := $(foreach m,$(hostprogs), \
54 host-cmulti := $(foreach m,$(hostprogs),\
58 host-cobjs := $(sort $(foreach m,$(hostprogs),$($(m)-objs)))
63 host-cxxmulti := $(foreach m,$(hostprogs),$(if $($(m)-cxxobjs),$(m)))
66 host-cxxobjs := $(sort $(foreach m,$(host-cxxmulti),$($(m)-cxxobjs)))
71 host-rust := $(foreach m,$(hostprogs),$(if $($(m)-rust),$(m)))
73 host-csingle := $(addprefix $(obj)/,$(host
[all...]

Completed in 224 milliseconds

1234567891011>>