Home
last modified time | relevance | path

Searched refs:host (Results 1 – 25 of 1710) sorted by relevance

12345678910>>...69

/linux/drivers/mmc/host/
H A Dsdhci.c40 pr_debug("%s: " DRIVER_NAME ": " f, mmc_hostname(host->mmc), ## x)
43 pr_err("%s: " DRIVER_NAME ": " f, mmc_hostname(host->mmc), ## x)
50 static bool sdhci_send_command(struct sdhci_host *host, struct mmc_command *cmd);
52 void sdhci_dumpregs(struct sdhci_host *host) in sdhci_dumpregs() argument
57 sdhci_readl(host, SDHCI_DMA_ADDRESS), in sdhci_dumpregs()
58 sdhci_readw(host, SDHCI_HOST_VERSION)); in sdhci_dumpregs()
60 sdhci_readw(host, SDHCI_BLOCK_SIZE), in sdhci_dumpregs()
61 sdhci_readw(host, SDHCI_BLOCK_COUNT)); in sdhci_dumpregs()
63 sdhci_readl(host, SDHCI_ARGUMENT), in sdhci_dumpregs()
64 sdhci_readw(host, SDHCI_TRANSFER_MODE)); in sdhci_dumpregs()
[all …]
H A Dwbsd.c84 static inline void wbsd_unlock_config(struct wbsd_host *host) in wbsd_unlock_config() argument
86 BUG_ON(host->config == 0); in wbsd_unlock_config()
88 outb(host->unlock_code, host->config); in wbsd_unlock_config()
89 outb(host->unlock_code, host->config); in wbsd_unlock_config()
92 static inline void wbsd_lock_config(struct wbsd_host *host) in wbsd_lock_config() argument
94 BUG_ON(host->config == 0); in wbsd_lock_config()
96 outb(LOCK_CODE, host->config); in wbsd_lock_config()
99 static inline void wbsd_write_config(struct wbsd_host *host, u8 reg, u8 value) in wbsd_write_config() argument
101 BUG_ON(host->config == 0); in wbsd_write_config()
103 outb(reg, host->config); in wbsd_write_config()
[all …]
H A Dbcm2835.c194 static void bcm2835_dumpcmd(struct bcm2835_host *host, struct mmc_command *cmd, in bcm2835_dumpcmd() argument
197 struct device *dev = &host->pdev->dev; in bcm2835_dumpcmd()
203 (cmd == host->cmd) ? '>' : ' ', in bcm2835_dumpcmd()
209 static void bcm2835_dumpregs(struct bcm2835_host *host) in bcm2835_dumpregs() argument
211 struct mmc_request *mrq = host->mrq; in bcm2835_dumpregs()
212 struct device *dev = &host->pdev->dev; in bcm2835_dumpregs()
215 bcm2835_dumpcmd(host, mrq->sbc, "sbc"); in bcm2835_dumpregs()
216 bcm2835_dumpcmd(host, mrq->cmd, "cmd"); in bcm2835_dumpregs()
223 bcm2835_dumpcmd(host, mrq->stop, "stop"); in bcm2835_dumpregs()
227 dev_dbg(dev, "SDCMD 0x%08x\n", readl(host->ioaddr + SDCMD)); in bcm2835_dumpregs()
[all …]
H A Dusdhi6rol0.c209 static void usdhi6_write(struct usdhi6_host *host, u32 reg, u32 data) in usdhi6_write() argument
211 iowrite32(data, host->base + reg); in usdhi6_write()
212 dev_vdbg(mmc_dev(host->mmc), "%s(0x%p + 0x%x) = 0x%x\n", __func__, in usdhi6_write()
213 host->base, reg, data); in usdhi6_write()
216 static void usdhi6_write16(struct usdhi6_host *host, u32 reg, u16 data) in usdhi6_write16() argument
218 iowrite16(data, host->base + reg); in usdhi6_write16()
219 dev_vdbg(mmc_dev(host->mmc), "%s(0x%p + 0x%x) = 0x%x\n", __func__, in usdhi6_write16()
220 host->base, reg, data); in usdhi6_write16()
223 static u32 usdhi6_read(struct usdhi6_host *host, u32 reg) in usdhi6_read() argument
225 u32 data = ioread32(host->base + reg); in usdhi6_read()
[all …]
H A Dmxcmmc.c175 static inline int is_imx31_mmc(struct mxcmci_host *host) in is_imx31_mmc() argument
177 return host->devtype == IMX31_MMC; in is_imx31_mmc()
180 static inline int is_mpc512x_mmc(struct mxcmci_host *host) in is_mpc512x_mmc() argument
182 return host->devtype == MPC512X_MMC; in is_mpc512x_mmc()
185 static inline u32 mxcmci_readl(struct mxcmci_host *host, int reg) in mxcmci_readl() argument
188 return ioread32be(host->base + reg); in mxcmci_readl()
190 return readl(host->base + reg); in mxcmci_readl()
193 static inline void mxcmci_writel(struct mxcmci_host *host, u32 val, int reg) in mxcmci_writel() argument
196 iowrite32be(val, host->base + reg); in mxcmci_writel()
198 writel(val, host->base + reg); in mxcmci_writel()
[all …]
H A Dpxamci.c76 static int pxamci_init_ocr(struct pxamci_host *host) in pxamci_init_ocr() argument
78 struct mmc_host *mmc = host->mmc; in pxamci_init_ocr()
87 mmc->ocr_avail = host->pdata ? in pxamci_init_ocr()
88 host->pdata->ocr_mask : in pxamci_init_ocr()
95 static inline int pxamci_set_power(struct pxamci_host *host, in pxamci_set_power() argument
99 struct mmc_host *mmc = host->mmc; in pxamci_set_power()
105 if (host->power) { in pxamci_set_power()
106 bool on = !!((1 << vdd) & host->pdata->ocr_mask); in pxamci_set_power()
107 gpiod_set_value(host->power, on); in pxamci_set_power()
110 if (host->pdata && host->pdata->setpower) in pxamci_set_power()
[all …]
H A Dmoxart-mmc.c151 static inline void moxart_init_sg(struct moxart_host *host, in moxart_init_sg() argument
154 host->cur_sg = data->sg; in moxart_init_sg()
155 host->num_sg = data->sg_len; in moxart_init_sg()
156 host->data_remain = host->cur_sg->length; in moxart_init_sg()
158 if (host->data_remain > host->data_len) in moxart_init_sg()
159 host->data_remain = host->data_len; in moxart_init_sg()
162 static inline int moxart_next_sg(struct moxart_host *host) in moxart_next_sg() argument
165 struct mmc_data *data = host->mrq->cmd->data; in moxart_next_sg()
167 host->cur_sg++; in moxart_next_sg()
168 host->num_sg--; in moxart_next_sg()
[all …]
H A Dcavium-thunderx.c21 static void thunder_mmc_acquire_bus(struct cvm_mmc_host *host) in thunder_mmc_acquire_bus() argument
23 down(&host->mmc_serializer); in thunder_mmc_acquire_bus()
26 static void thunder_mmc_release_bus(struct cvm_mmc_host *host) in thunder_mmc_release_bus() argument
28 up(&host->mmc_serializer); in thunder_mmc_release_bus()
31 static void thunder_mmc_int_enable(struct cvm_mmc_host *host, u64 val) in thunder_mmc_int_enable() argument
33 writeq(val, host->base + MIO_EMM_INT(host)); in thunder_mmc_int_enable()
34 writeq(val, host->base + MIO_EMM_INT_EN_SET(host)); in thunder_mmc_int_enable()
37 static int thunder_mmc_register_interrupts(struct cvm_mmc_host *host, in thunder_mmc_register_interrupts() argument
50 0, cvm_mmc_irq_names[i], host); in thunder_mmc_register_interrupts()
63 struct cvm_mmc_host *host; in thunder_mmc_probe() local
[all …]
H A Duniphier-sd.c82 static void *uniphier_sd_priv(struct tmio_mmc_host *host) in uniphier_sd_priv() argument
84 return container_of(host->pdata, struct uniphier_sd_priv, tmio_data); in uniphier_sd_priv()
87 static void uniphier_sd_dma_endisable(struct tmio_mmc_host *host, int enable) in uniphier_sd_dma_endisable() argument
89 sd_ctrl_write16(host, CTL_DMA_ENABLE, enable ? DMA_ENABLE_DMASDRW : 0); in uniphier_sd_dma_endisable()
95 struct tmio_mmc_host *host = from_work(host, t, dma_issue); in uniphier_sd_external_dma_issue() local
96 struct uniphier_sd_priv *priv = uniphier_sd_priv(host); in uniphier_sd_external_dma_issue()
98 uniphier_sd_dma_endisable(host, 1); in uniphier_sd_external_dma_issue()
105 struct tmio_mmc_host *host = param; in uniphier_sd_external_dma_callback() local
106 struct uniphier_sd_priv *priv = uniphier_sd_priv(host); in uniphier_sd_external_dma_callback()
109 dma_unmap_sg(mmc_dev(host->mmc), host->sg_ptr, host->sg_len, in uniphier_sd_external_dma_callback()
[all …]
H A Dmmci_stm32_sdmmc.c69 int (*tuning_prepare)(struct mmci_host *host);
81 static int sdmmc_idma_validate_data(struct mmci_host *host, in sdmmc_idma_validate_data() argument
84 struct sdmmc_idma *idma = host->dma_priv; in sdmmc_idma_validate_data()
85 struct device *dev = mmc_dev(host->mmc); in sdmmc_idma_validate_data()
97 host->variant->stm32_idmabsize_align)) { in sdmmc_idma_validate_data()
98 dev_dbg(mmc_dev(host->mmc), in sdmmc_idma_validate_data()
106 dev_dbg(mmc_dev(host->mmc), in sdmmc_idma_validate_data()
117 host->mmc->max_req_size, in sdmmc_idma_validate_data()
131 static int _sdmmc_idma_prep_data(struct mmci_host *host, in _sdmmc_idma_prep_data() argument
134 struct sdmmc_idma *idma = host->dma_priv; in _sdmmc_idma_prep_data()
[all …]
H A Dsunplus-mmc.c176 static inline int spmmc_wait_finish(struct spmmc_host *host) in spmmc_wait_finish() argument
180 return readl_poll_timeout(host->base + SPMMC_SD_STATE_REG, state, in spmmc_wait_finish()
185 static inline int spmmc_wait_sdstatus(struct spmmc_host *host, unsigned int status_bit) in spmmc_wait_sdstatus() argument
189 return readl_poll_timeout(host->base + SPMMC_SD_STATUS_REG, status, in spmmc_wait_sdstatus()
194 #define spmmc_wait_rspbuf_full(host) spmmc_wait_sdstatus(host, SPMMC_SDSTATUS_RSP_BUF_FULL) argument
195 #define spmmc_wait_rxbuf_full(host) spmmc_wait_sdstatus(host, SPMMC_SDSTATUS_RX_DATA_BUF_FULL) argument
196 #define spmmc_wait_txbuf_empty(host) spmmc_wait_sdstatus(host, SPMMC_SDSTATUS_TX_DATA_BUF_EMPTY) argument
198 static void spmmc_get_rsp(struct spmmc_host *host, struct mmc_command *cmd) in spmmc_get_rsp() argument
205 if (spmmc_wait_rspbuf_full(host)) in spmmc_get_rsp()
207 value0_3 = readl(host->base + SPMMC_SD_RSPBUF0_3_REG); in spmmc_get_rsp()
[all …]
H A Dlitex_mmc.c123 static int litex_mmc_send_cmd(struct litex_mmc_host *host, in litex_mmc_send_cmd() argument
126 struct device *dev = mmc_dev(host->mmc); in litex_mmc_send_cmd()
131 litex_write32(host->sdcore + LITEX_CORE_CMDARG, arg); in litex_mmc_send_cmd()
132 litex_write32(host->sdcore + LITEX_CORE_CMDCMD, in litex_mmc_send_cmd()
134 litex_write8(host->sdcore + LITEX_CORE_CMDSND, 1); in litex_mmc_send_cmd()
140 if (host->irq > 0 && in litex_mmc_send_cmd()
143 reinit_completion(&host->cmd_done); in litex_mmc_send_cmd()
144 litex_write32(host->sdirq + LITEX_IRQ_ENABLE, in litex_mmc_send_cmd()
146 wait_for_completion(&host->cmd_done); in litex_mmc_send_cmd()
149 ret = litex_mmc_sdcard_wait_done(host->sdcore + LITEX_CORE_CMDEVT, dev); in litex_mmc_send_cmd()
[all …]
H A Dmeson-mx-sdhc-mmc.c68 static void meson_mx_sdhc_reset(struct meson_mx_sdhc_host *host) in meson_mx_sdhc_reset() argument
70 regmap_write(host->regmap, MESON_SDHC_SRST, MESON_SDHC_SRST_MAIN_CTRL | in meson_mx_sdhc_reset()
76 regmap_write(host->regmap, MESON_SDHC_SRST, 0); in meson_mx_sdhc_reset()
82 struct meson_mx_sdhc_host *host = mmc_priv(mmc); in meson_mx_sdhc_clear_fifo() local
85 regmap_read(host->regmap, MESON_SDHC_STAT, &stat); in meson_mx_sdhc_clear_fifo()
90 regmap_write(host->regmap, MESON_SDHC_SRST, MESON_SDHC_SRST_RXFIFO | in meson_mx_sdhc_clear_fifo()
94 regmap_read(host->regmap, MESON_SDHC_STAT, &stat); in meson_mx_sdhc_clear_fifo()
97 dev_warn(mmc_dev(host->mmc), in meson_mx_sdhc_clear_fifo()
105 struct meson_mx_sdhc_host *host = mmc_priv(mmc); in meson_mx_sdhc_wait_cmd_ready() local
109 ret = regmap_read_poll_timeout(host->regmap, MESON_SDHC_STAT, stat, in meson_mx_sdhc_wait_cmd_ready()
[all …]
H A Dmmc_spi.c138 static inline int mmc_cs_off(struct mmc_spi_host *host) in mmc_cs_off() argument
141 return spi_setup(host->spi); in mmc_cs_off()
144 static int mmc_spi_readbytes(struct mmc_spi_host *host, unsigned int len) in mmc_spi_readbytes() argument
146 if (len > sizeof(*host->data)) { in mmc_spi_readbytes()
151 host->status.len = len; in mmc_spi_readbytes()
153 return spi_sync_locked(host->spi, &host->readback); in mmc_spi_readbytes()
156 static int mmc_spi_skip(struct mmc_spi_host *host, unsigned long timeout, in mmc_spi_skip() argument
159 u8 *cp = host->data->status; in mmc_spi_skip()
166 status = mmc_spi_readbytes(host, n); in mmc_spi_skip()
182 mmc_spi_wait_unbusy(struct mmc_spi_host *host, unsigned long timeout) in mmc_spi_wait_unbusy() argument
[all …]
H A Dsdhci-pci-arasan.c93 static int arasan_phy_addr_poll(struct sdhci_host *host, u32 offset, u32 mask) in arasan_phy_addr_poll() argument
101 val = sdhci_readw(host, PHY_ADDR_REG); in arasan_phy_addr_poll()
109 static int arasan_phy_write(struct sdhci_host *host, u8 data, u8 offset) in arasan_phy_write() argument
111 sdhci_writew(host, data, PHY_DAT_REG); in arasan_phy_write()
112 sdhci_writew(host, (PHY_WRITE | offset), PHY_ADDR_REG); in arasan_phy_write()
113 return arasan_phy_addr_poll(host, PHY_ADDR_REG, PHY_BUSY); in arasan_phy_write()
116 static int arasan_phy_read(struct sdhci_host *host, u8 offset, u8 *data) in arasan_phy_read() argument
120 sdhci_writew(host, 0, PHY_DAT_REG); in arasan_phy_read()
121 sdhci_writew(host, offset, PHY_ADDR_REG); in arasan_phy_read()
122 ret = arasan_phy_addr_poll(host, PHY_ADDR_REG, PHY_BUSY); in arasan_phy_read()
[all …]
/linux/drivers/memstick/host/
H A Djmb38x_ms.c154 static unsigned int jmb38x_ms_read_data(struct jmb38x_ms_host *host, in jmb38x_ms_read_data() argument
159 while (host->io_pos && length) { in jmb38x_ms_read_data()
160 buf[off++] = host->io_word[0] & 0xff; in jmb38x_ms_read_data()
161 host->io_word[0] >>= 8; in jmb38x_ms_read_data()
163 host->io_pos--; in jmb38x_ms_read_data()
169 while (!(STATUS_FIFO_EMPTY & readl(host->addr + STATUS))) { in jmb38x_ms_read_data()
172 *(unsigned int *)(buf + off) = __raw_readl(host->addr + DATA); in jmb38x_ms_read_data()
178 && !(STATUS_FIFO_EMPTY & readl(host->addr + STATUS))) { in jmb38x_ms_read_data()
179 host->io_word[0] = readl(host->addr + DATA); in jmb38x_ms_read_data()
180 for (host->io_pos = 4; host->io_pos; --host->io_pos) { in jmb38x_ms_read_data()
[all …]
H A Dtifm_ms.c82 static unsigned int tifm_ms_read_data(struct tifm_ms *host, in tifm_ms_read_data() argument
85 struct tifm_dev *sock = host->dev; in tifm_ms_read_data()
88 while (host->io_pos && length) { in tifm_ms_read_data()
89 buf[off++] = host->io_word & 0xff; in tifm_ms_read_data()
90 host->io_word >>= 8; in tifm_ms_read_data()
92 host->io_pos--; in tifm_ms_read_data()
109 host->io_word = readl(sock->addr + SOCK_MS_DATA); in tifm_ms_read_data()
110 for (host->io_pos = 4; host->io_pos; --host->io_pos) { in tifm_ms_read_data()
111 buf[off++] = host->io_word & 0xff; in tifm_ms_read_data()
112 host->io_word >>= 8; in tifm_ms_read_data()
[all …]
/linux/drivers/mtd/nand/raw/
H A Dhisi504_nand.c144 static inline unsigned int hinfc_read(struct hinfc_host *host, unsigned int reg) in hinfc_read() argument
146 return readl(host->iobase + reg); in hinfc_read()
149 static inline void hinfc_write(struct hinfc_host *host, unsigned int value, in hinfc_write() argument
152 writel(value, host->iobase + reg); in hinfc_write()
155 static void wait_controller_finished(struct hinfc_host *host) in wait_controller_finished() argument
161 val = hinfc_read(host, HINFC504_STATUS); in wait_controller_finished()
162 if (host->command == NAND_CMD_ERASE2) { in wait_controller_finished()
166 val = hinfc_read(host, HINFC504_STATUS); in wait_controller_finished()
176 dev_err(host->dev, "Wait NAND controller exec cmd timeout.\n"); in wait_controller_finished()
179 static void hisi_nfc_dma_transfer(struct hinfc_host *host, int todev) in hisi_nfc_dma_transfer() argument
[all …]
H A Dlpc32xx_mlc.c231 static void lpc32xx_nand_setup(struct lpc32xx_nand_host *host) in lpc32xx_nand_setup() argument
236 writel(MLCCMD_RESET, MLC_CMD(host->io_base)); in lpc32xx_nand_setup()
240 clkrate = clk_get_rate(host->clk); in lpc32xx_nand_setup()
246 writew(MLCLOCKPR_MAGIC, MLC_LOCK_PR(host->io_base)); in lpc32xx_nand_setup()
250 writel(tmp, MLC_ICR(host->io_base)); in lpc32xx_nand_setup()
254 writew(MLCLOCKPR_MAGIC, MLC_LOCK_PR(host->io_base)); in lpc32xx_nand_setup()
258 tmp |= MLCTIMEREG_TCEA_DELAY(clkrate / host->ncfg->tcea_delay + 1); in lpc32xx_nand_setup()
259 tmp |= MLCTIMEREG_BUSY_DELAY(clkrate / host->ncfg->busy_delay + 1); in lpc32xx_nand_setup()
260 tmp |= MLCTIMEREG_NAND_TA(clkrate / host->ncfg->nand_ta + 1); in lpc32xx_nand_setup()
261 tmp |= MLCTIMEREG_RD_HIGH(clkrate / host->ncfg->rd_high + 1); in lpc32xx_nand_setup()
[all …]
/linux/drivers/mmc/core/
H A Dsd_uhs2.c45 struct mmc_host *host; member
49 static int sd_uhs2_power_up(struct mmc_host *host) in sd_uhs2_power_up() argument
51 if (host->ios.power_mode == MMC_POWER_ON) in sd_uhs2_power_up()
54 host->ios.vdd = fls(host->ocr_avail) - 1; in sd_uhs2_power_up()
55 host->ios.clock = host->f_init; in sd_uhs2_power_up()
56 host->ios.timing = MMC_TIMING_UHS2_SPEED_A; in sd_uhs2_power_up()
57 host->ios.power_mode = MMC_POWER_ON; in sd_uhs2_power_up()
59 return host->ops->uhs2_control(host, UHS2_SET_IOS); in sd_uhs2_power_up()
62 static int sd_uhs2_power_off(struct mmc_host *host) in sd_uhs2_power_off() argument
66 if (host->ios.power_mode == MMC_POWER_OFF) in sd_uhs2_power_off()
[all …]
H A Dsdio_irq.c30 static int sdio_get_pending_irqs(struct mmc_host *host, u8 *pending) in sdio_get_pending_irqs() argument
32 struct mmc_card *card = host->card; in sdio_get_pending_irqs()
35 WARN_ON(!host->claimed); in sdio_get_pending_irqs()
45 !(host->caps & MMC_CAP_SDIO_IRQ)) { in sdio_get_pending_irqs()
58 static int process_sdio_pending_irqs(struct mmc_host *host) in process_sdio_pending_irqs() argument
60 struct mmc_card *card = host->card; in process_sdio_pending_irqs()
62 bool sdio_irq_pending = host->sdio_irq_pending; in process_sdio_pending_irqs()
71 host->sdio_irq_pending = false; in process_sdio_pending_irqs()
84 ret = sdio_get_pending_irqs(host, &pending); in process_sdio_pending_irqs()
113 static void sdio_run_irqs(struct mmc_host *host) in sdio_run_irqs() argument
[all …]
/linux/drivers/gpu/host1x/
H A Ddev.c303 static void host1x_setup_virtualization_tables(struct host1x *host) in host1x_setup_virtualization_tables() argument
305 const struct host1x_info *info = host->info; in host1x_setup_virtualization_tables()
314 host1x_hypervisor_writel(host, entry->offset, entry->base); in host1x_setup_virtualization_tables()
315 host1x_hypervisor_writel(host, entry->limit, entry->base + 4); in host1x_setup_virtualization_tables()
320 host1x_hypervisor_writel(host, 0xff, info->streamid_vm_table.base + 4 * i); in host1x_setup_virtualization_tables()
325 host1x_hypervisor_writel(host, 0xff, info->classid_vm_table.base + 4 * i); in host1x_setup_virtualization_tables()
330 host1x_hypervisor_writel(host, 0x1, info->mmio_vm_table.base + 4 * i); in host1x_setup_virtualization_tables()
377 static struct iommu_domain *host1x_iommu_attach(struct host1x *host) in host1x_iommu_attach() argument
379 struct iommu_domain *domain = iommu_get_domain_for_dev(host->dev); in host1x_iommu_attach()
383 if (host->dev->archdata.mapping) { in host1x_iommu_attach()
[all …]
H A Ddev.h33 int (*init)(struct host1x_channel *channel, struct host1x *host,
56 void (*show_channel_cdma)(struct host1x *host,
59 void (*show_channel_fifo)(struct host1x *host,
62 void (*show_mlocks)(struct host1x *host, struct output *output);
74 void (*enable_protection)(struct host1x *host);
78 int (*init_host_sync)(struct host1x *host, u32 cpm);
80 struct host1x *host, unsigned int id, u32 thresh);
81 void (*enable_syncpt_intr)(struct host1x *host, unsigned int id);
82 void (*disable_syncpt_intr)(struct host1x *host, unsigned int id);
83 void (*disable_all_syncpt_intrs)(struct host1x *host);
[all …]
/linux/sound/soc/spear/
H A Dspdif_in.c43 static void spdif_in_configure(struct spdif_in_dev *host)
49 writel(ctrl, host->io_base + SPDIF_IN_CTRL); in spdif_in_configure()
50 writel(0xF, host->io_base + SPDIF_IN_IRQ_MASK); in spdif_in_configure()
55 struct spdif_in_dev *host = snd_soc_dai_get_drvdata(dai);
57 host->dma_params_rx.filter_data = &host->dma_params; in spdif_in_dai_probe()
58 dai->capture_dma_data = &host->dma_params_rx; in spdif_in_dai_probe() local
66 struct spdif_in_dev *host = snd_soc_dai_get_drvdata(dai); in spdif_in_shutdown()
71 writel(0x0, host->io_base + SPDIF_IN_IRQ_MASK); in spdif_in_shutdown()
74 static void spdif_in_format(struct spdif_in_dev *host, u3 in spdif_in_shutdown()
46 spdif_in_configure(struct spdif_in_dev * host) spdif_in_configure() argument
69 struct spdif_in_dev *host = snd_soc_dai_get_drvdata(dai); spdif_in_shutdown() local
77 spdif_in_format(struct spdif_in_dev * host,u32 format) spdif_in_format() argument
98 struct spdif_in_dev *host = snd_soc_dai_get_drvdata(dai); spdif_in_hw_params() local
113 struct spdif_in_dev *host = snd_soc_dai_get_drvdata(dai); spdif_in_trigger() local
181 struct spdif_in_dev *host = (struct spdif_in_dev *)arg; spdif_in_irq() local
204 struct spdif_in_dev *host; spdif_in_probe() local
[all...]
/linux/drivers/memstick/core/
H A Dmemstick.c179 struct memstick_host *host = container_of(dev, struct memstick_host, in memstick_free() local
181 kfree(host); in memstick_free()
205 void memstick_detect_change(struct memstick_host *host) in memstick_detect_change() argument
207 queue_work(workqueue, &host->media_checker); in memstick_detect_change()
223 int memstick_next_req(struct memstick_host *host, struct memstick_request **mrq) in memstick_next_req() argument
227 if ((*mrq) && (*mrq)->error && host->retries) { in memstick_next_req()
229 host->retries--; in memstick_next_req()
233 if (host->card && host->card->next_request) in memstick_next_req()
234 rc = host->card->next_request(host->card, mrq); in memstick_next_req()
237 host->retries = cmd_retries > 1 ? cmd_retries - 1 : 1; in memstick_next_req()
[all …]

12345678910>>...69