Searched defs:host (Results 1 - 25 of 416) sorted by relevance

1234567891011>>

/drivers/gpu/host1x/hw/
H A Dhost1x01.c32 int host1x01_init(struct host1x *host) argument
34 host->channel_op = &host1x_channel_ops;
35 host->cdma_op = &host1x_cdma_ops;
36 host->cdma_pb_op = &host1x_pushbuffer_ops;
37 host->syncpt_op = &host1x_syncpt_ops;
38 host->intr_op = &host1x_intr_ops;
39 host->debug_op = &host1x_debug_ops;
H A Dhost1x02.c32 int host1x02_init(struct host1x *host) argument
34 host->channel_op = &host1x_channel_ops;
35 host->cdma_op = &host1x_cdma_ops;
36 host->cdma_pb_op = &host1x_pushbuffer_ops;
37 host->syncpt_op = &host1x_syncpt_ops;
38 host->intr_op = &host1x_intr_ops;
39 host->debug_op = &host1x_debug_ops;
H A Dhost1x04.c32 int host1x04_init(struct host1x *host) argument
34 host->channel_op = &host1x_channel_ops;
35 host->cdma_op = &host1x_cdma_ops;
36 host->cdma_pb_op = &host1x_pushbuffer_ops;
37 host->syncpt_op = &host1x_syncpt_ops;
38 host->intr_op = &host1x_intr_ops;
39 host->debug_op = &host1x_debug_ops;
H A Dsyncpt_hw.c29 struct host1x *host = sp->host; local
31 host1x_sync_writel(host, min, HOST1X_SYNC_SYNCPT(sp->id));
39 struct host1x *host = sp->host; local
40 host1x_sync_writel(host, sp->base_val,
49 struct host1x *host = sp->host; local
51 host1x_sync_readl(host, HOST1X_SYNC_SYNCPT_BASE(sp->id));
59 struct host1x *host local
82 struct host1x *host = sp->host; local
[all...]
H A Dintr_hw.c34 struct host1x *host = syncpt->host; local
36 host1x_sync_writel(host, BIT_MASK(id),
38 host1x_sync_writel(host, BIT_MASK(id),
41 queue_work(host->intr_wq, &syncpt->intr.work);
46 struct host1x *host = dev_id; local
50 for (i = 0; i < DIV_ROUND_UP(host->info->nb_pts, 32); i++) {
51 reg = host1x_sync_readl(host,
55 host->syncpt + (i * BITS_PER_LONG + id);
63 static void _host1x_intr_disable_all_syncpt_intrs(struct host1x *host) argument
75 _host1x_intr_init_host_sync(struct host1x *host, u32 cpm, void (*syncpt_thresh_work)(struct work_struct *)) argument
108 _host1x_intr_set_syncpt_threshold(struct host1x *host, u32 id, u32 thresh) argument
114 _host1x_intr_enable_syncpt_intr(struct host1x *host, u32 id) argument
120 _host1x_intr_disable_syncpt_intr(struct host1x *host, u32 id) argument
128 _host1x_free_syncpt_irq(struct host1x *host) argument
[all...]
/drivers/mmc/host/
H A Dmmci_qcom_dml.h19 int dml_hw_init(struct mmci_host *host, struct device_node *np);
20 void dml_start_xfer(struct mmci_host *host, struct mmc_data *data);
22 static inline int dml_hw_init(struct mmci_host *host, struct device_node *np) argument
26 static inline void dml_start_xfer(struct mmci_host *host, struct mmc_data *data) argument
H A Ddw_mmc-k3.c14 #include <linux/mmc/host.h>
21 static void dw_mci_k3_set_ios(struct dw_mci *host, struct mmc_ios *ios) argument
25 ret = clk_set_rate(host->ciu_clk, ios->clock);
27 dev_warn(host->dev, "failed to set rate %uHz\n", ios->clock);
29 host->bus_hz = clk_get_rate(host->ciu_clk);
56 struct dw_mci *host = dev_get_drvdata(dev); local
59 ret = dw_mci_suspend(host);
61 clk_disable_unprepare(host->ciu_clk);
68 struct dw_mci *host local
[all...]
H A Ddw_mmc-pci.c18 #include <linux/mmc/host.h>
42 struct dw_mci *host; local
49 host = devm_kzalloc(&pdev->dev, sizeof(struct dw_mci), GFP_KERNEL);
50 if (!host)
53 host->irq = pdev->irq;
54 host->irq_flags = IRQF_SHARED;
55 host->dev = &pdev->dev;
56 host->pdata = &pci_board_data;
62 host->regs = pcim_iomap_table(pdev)[PCI_BAR_NO];
66 ret = dw_mci_probe(host);
77 struct dw_mci *host = pci_get_drvdata(pdev); local
86 struct dw_mci *host = pci_get_drvdata(pdev); local
94 struct dw_mci *host = pci_get_drvdata(pdev); local
[all...]
H A Dsdhci-cns3xxx.c17 #include <linux/mmc/host.h>
21 static unsigned int sdhci_cns3xxx_get_max_clk(struct sdhci_host *host) argument
26 static void sdhci_cns3xxx_set_clock(struct sdhci_host *host, unsigned int clock) argument
28 struct device *dev = mmc_dev(host->mmc);
33 host->mmc->actual_clock = 0;
35 sdhci_writew(host, 0, SDHCI_CLOCK_CONTROL);
40 while (host->max_clk / div > clock) {
54 clock, host->max_clk / div);
62 sdhci_writew(host, clk, SDHCI_CLOCK_CONTROL);
65 while (!((clk = sdhci_readw(host, SDHCI_CLOCK_CONTRO
[all...]
H A Dsdhci-dove.c25 #include <linux/mmc/host.h>
35 static u16 sdhci_dove_readw(struct sdhci_host *host, int reg) argument
45 ret = readw(host->ioaddr + reg);
50 static u32 sdhci_dove_readl(struct sdhci_host *host, int reg) argument
54 ret = readl(host->ioaddr + reg);
85 struct sdhci_host *host; local
99 host = sdhci_pltfm_init(pdev, &sdhci_dove_pdata, 0);
100 if (IS_ERR(host))
101 return PTR_ERR(host);
103 pltfm_host = sdhci_priv(host);
128 struct sdhci_host *host = platform_get_drvdata(pdev); local
[all...]
H A Dsdhci-of-hlwd.c2 * drivers/mmc/host/sdhci-of-hlwd.c
24 #include <linux/mmc/host.h>
36 static void sdhci_hlwd_writel(struct sdhci_host *host, u32 val, int reg) argument
38 sdhci_be32bs_writel(host, val, reg);
42 static void sdhci_hlwd_writew(struct sdhci_host *host, u16 val, int reg) argument
44 sdhci_be32bs_writew(host, val, reg);
48 static void sdhci_hlwd_writeb(struct sdhci_host *host, u8 val, int reg) argument
50 sdhci_be32bs_writeb(host, val, reg);
H A Dsdhci-pci-o2micro.c42 /* Set led of SD host function enable */
99 /* Set Max power supply capability of SD host */
155 struct sdhci_host *host; local
159 host = slot->host;
166 reg = sdhci_readl(host, O2_SD_VENDOR_SETTING);
168 host->quirks |= SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12;
173 reg = sdhci_readl(host, O2_SD_VENDOR_SETTING2);
175 sdhci_writel(host, reg, O2_SD_VENDOR_SETTING2);
H A Dtmio_mmc.c2 * linux/drivers/mmc/host/tmio_mmc.c
19 #include <linux/mmc/host.h>
63 struct tmio_mmc_host *host; local
95 ret = tmio_mmc_host_probe(&host, pdev, pdata);
100 dev_name(&pdev->dev), host);
104 pr_info("%s at 0x%08lx irq %d\n", mmc_hostname(host->mmc),
105 (unsigned long)host->ctl, irq);
110 tmio_mmc_host_remove(host);
124 struct tmio_mmc_host *host = mmc_priv(mmc); local
125 free_irq(platform_get_irq(pdev, 0), host);
[all...]
H A Ddw_mmc-pltfm.c20 #include <linux/mmc/host.h>
29 static void dw_mci_pltfm_prepare_command(struct dw_mci *host, u32 *cmdr) argument
41 struct dw_mci *host; local
44 host = devm_kzalloc(&pdev->dev, sizeof(struct dw_mci), GFP_KERNEL);
45 if (!host)
48 host->irq = platform_get_irq(pdev, 0);
49 if (host->irq < 0)
50 return host->irq;
52 host->drv_data = drv_data;
53 host
73 struct dw_mci *host = dev_get_drvdata(dev); local
80 struct dw_mci *host = dev_get_drvdata(dev); local
112 struct dw_mci *host = platform_get_drvdata(pdev); local
[all...]
/drivers/scsi/
H A Da4000t.c39 struct Scsi_Host *host; local
52 dev_err(&pdev->dev, "Failed to allocate host data\n");
66 host = NCR_700_detect(&a4000t_scsi_driver_template, hostdata,
68 if (!host) {
70 "No host detected; board configuration problem?\n");
74 host->this_id = 7;
75 host->base = scsi_addr;
76 host->irq = IRQ_AMIGA_PORTS;
78 if (request_irq(host->irq, NCR_700_intr, IRQF_SHARED, "a4000t-scsi",
79 host)) {
99 struct Scsi_Host *host = platform_get_drvdata(pdev); local
[all...]
H A Dbvme6000_scsi.c40 struct Scsi_Host *host; local
49 "Failed to allocate host data\n");
62 host = NCR_700_detect(&bvme6000_scsi_driver_template, hostdata,
64 if (!host) {
65 printk(KERN_ERR "bvme6000-scsi: No host detected; "
69 host->base = BVME_NCR53C710_BASE;
70 host->this_id = 7;
71 host->irq = BVME_IRQ_SCSI;
73 host)) {
78 platform_set_drvdata(dev, host);
94 struct Scsi_Host *host = platform_get_drvdata(dev); local
[all...]
H A Dmvme16x_scsi.c39 struct Scsi_Host * host = NULL; local
54 "Failed to allocate host data\n");
67 host = NCR_700_detect(&mvme16x_scsi_driver_template, hostdata,
69 if (!host) {
70 printk(KERN_ERR "mvme16x-scsi: No host detected; "
74 host->this_id = 7;
75 host->base = 0xfff47000UL;
76 host->irq = MVME16x_IRQ_SCSI;
77 if (request_irq(host->irq, NCR_700_intr, 0, "mvme16x-scsi", host)) {
107 struct Scsi_Host *host = platform_get_drvdata(dev); local
[all...]
H A Dsni_53c710.c72 struct Scsi_Host *host; local
82 dev_printk(KERN_ERR, dev, "Failed to allocate host data\n");
96 host = NCR_700_detect(&snirm710_template, hostdata, &dev->dev);
97 if (!host)
99 host->this_id = 7;
100 host->base = base;
101 host->irq = platform_get_irq(dev, 0);
102 if(request_irq(host->irq, NCR_700_intr, IRQF_SHARED, "snirm710", host)) {
107 dev_set_drvdata(&dev->dev, host);
122 struct Scsi_Host *host = dev_get_drvdata(&dev->dev); local
[all...]
/drivers/usb/usbip/
H A DMakefile9 obj-$(CONFIG_USBIP_HOST) += usbip-host.o
10 usbip-host-y := stub_dev.o stub_main.o stub_rx.o stub_tx.o
/drivers/ata/
H A Dpata_palmld.c53 struct ata_host *host; local
58 /* allocate host */
59 host = ata_host_alloc(&pdev->dev, 1);
60 if (!host) {
85 ap = host->ports[0];
98 /* activate host */
99 ret = ata_host_activate(host, 0, NULL, IRQF_TRIGGER_RISING,
H A Dpata_isapnp.c49 struct ata_host *host; local
63 /* allocate host */
64 host = ata_host_alloc(&idev->dev, 1);
65 if (!host)
68 /* acquire resources and fill host */
73 ap = host->ports[0];
96 return ata_host_activate(host, irq, handler, 0,
111 struct ata_host *host = dev_get_drvdata(dev); local
113 ata_host_detach(host);
/drivers/gpu/host1x/
H A Dchannel.c27 int host1x_channel_list_init(struct host1x *host) argument
29 INIT_LIST_HEAD(&host->chlist.list);
30 mutex_init(&host->chlist_mutex);
32 if (host->info->nb_channels > BITS_PER_LONG) {
42 struct host1x *host = dev_get_drvdata(job->channel->dev->parent); local
44 return host1x_hw_channel_submit(host, job);
71 struct host1x *host = dev_get_drvdata(channel->dev->parent); local
73 host1x_hw_cdma_stop(host, &channel->cdma);
85 struct host1x *host = dev_get_drvdata(dev->parent); local
86 int max_channels = host
125 struct host1x *host = dev_get_drvdata(channel->dev->parent); local
[all...]
/drivers/ide/
H A Dide-pnp.c38 struct ide_host *host; local
68 rc = ide_host_add(&ide_pnp_port_info, hws, 1, &host);
72 pnp_set_drvdata(dev, host);
84 struct ide_host *host = pnp_get_drvdata(dev); local
86 ide_host_remove(host);
H A Ddelkin_cb.c76 struct ide_host *host; local
101 rc = ide_host_add(&delkin_cb_port_info, hws, 1, &host);
105 pci_set_drvdata(dev, host);
118 struct ide_host *host = pci_get_drvdata(dev); local
120 ide_host_remove(host);
138 struct ide_host *host = pci_get_drvdata(dev); local
150 if (host->init_chipset)
151 host->init_chipset(dev);
H A Drapide.c35 struct ide_host *host; local
53 ret = ide_host_add(&rapide_port_info, hws, 1, &host);
57 ecard_set_drvdata(ec, host);
68 struct ide_host *host = ecard_get_drvdata(ec); local
72 ide_host_remove(host);

Completed in 230 milliseconds

1234567891011>>