/linux-master/drivers/spi/ |
H A D | spi-altera-core.c | 142 static int altera_spi_txrx(struct spi_controller *host, argument 145 struct altera_spi *hw = spi_controller_get_devdata(host); 178 spi_finalize_current_transfer(host); 185 struct spi_controller *host = dev; local 186 struct altera_spi *hw = spi_controller_get_devdata(host); 197 spi_finalize_current_transfer(host); 204 void altera_spi_init_host(struct spi_controller *host) argument 206 struct altera_spi *hw = spi_controller_get_devdata(host); 209 host->transfer_one = altera_spi_txrx; 210 host [all...] |
H A D | spi-axi-spi-engine.c | 60 /* Arbitrary sync ID for use by host->cur_msg */ 221 struct spi_controller *host = spi->controller; local 237 new_clk_div = host->max_speed_hz / xfer->effective_speed_hz; 450 struct spi_controller *host = devid; local 451 struct spi_message *msg = host->cur_msg; 452 struct spi_engine *spi_engine = spi_controller_get_devdata(host); 533 static int spi_engine_transfer_one_message(struct spi_controller *host, argument 536 struct spi_engine *spi_engine = spi_controller_get_devdata(host); 572 dev_err(&host->dev, 577 spi_finalize_current_message(host); 594 struct spi_controller *host; local [all...] |
H A D | spi-synquacer.c | 228 static int synquacer_spi_config(struct spi_controller *host, argument 232 struct synquacer_spi *sspi = spi_controller_get_devdata(host); 266 rate = host->max_speed_hz; 353 static int synquacer_spi_transfer_one(struct spi_controller *host, argument 357 struct synquacer_spi *sspi = spi_controller_get_devdata(host); 381 ret = synquacer_spi_config(host, spi, xfer); 520 static int synquacer_spi_enable(struct spi_controller *host) argument 524 struct synquacer_spi *sspi = spi_controller_get_devdata(host); 604 struct spi_controller *host; local 609 host 740 struct spi_controller *host = platform_get_drvdata(pdev); local 750 struct spi_controller *host = dev_get_drvdata(dev); local 766 struct spi_controller *host = dev_get_drvdata(dev); local [all...] |
H A D | spi-qcom-qspi.c | 250 static void qcom_qspi_handle_err(struct spi_controller *host, argument 254 struct qcom_qspi *ctrl = spi_controller_get_devdata(host); 414 static int qcom_qspi_transfer_one(struct spi_controller *host, argument 418 struct qcom_qspi *ctrl = spi_controller_get_devdata(host); 446 &host->cur_msg->transfers); 484 static int qcom_qspi_prepare_message(struct spi_controller *host, argument 493 ctrl = spi_controller_get_devdata(host); 697 struct spi_controller *host; local 702 host = devm_spi_alloc_host(dev, sizeof(*ctrl)); 703 if (!host) 808 struct spi_controller *host = platform_get_drvdata(pdev); local 818 struct spi_controller *host = dev_get_drvdata(dev); local 840 struct spi_controller *host = dev_get_drvdata(dev); local 862 struct spi_controller *host = dev_get_drvdata(dev); local 878 struct spi_controller *host = dev_get_drvdata(dev); local [all...] |
H A D | spi-dln2.c | 82 struct spi_controller *host; member in struct:dln2_spi 179 u8 cs_mask = GENMASK(dln2->host->num_chipselect - 1, 0); 592 static int dln2_spi_prepare_message(struct spi_controller *host, argument 596 struct dln2_spi *dln2 = spi_controller_get_devdata(host); 653 static int dln2_spi_transfer_one(struct spi_controller *host, argument 657 struct dln2_spi *dln2 = spi_controller_get_devdata(host); 669 if (!xfer->cs_change && !spi_transfer_is_last(host, xfer)) 682 struct spi_controller *host; local 688 host = spi_alloc_host(&pdev->dev, sizeof(*dln2)); 689 if (!host) 786 struct spi_controller *host = platform_get_drvdata(pdev); local 799 struct spi_controller *host = dev_get_drvdata(dev); local 827 struct spi_controller *host = dev_get_drvdata(dev); local 847 struct spi_controller *host = dev_get_drvdata(dev); local 855 struct spi_controller *host = dev_get_drvdata(dev); local [all...] |
H A D | spi-oc-tiny.c | 3 * OpenCores tiny SPI host driver 213 struct spi_controller *host; local 216 host = spi_alloc_host(&pdev->dev, sizeof(struct tiny_spi)); 217 if (!host) 220 /* setup the host state. */ 221 host->bus_num = pdev->id; 222 host->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; 223 host->setup = tiny_spi_setup; 224 host->use_gpio_descriptors = true; 226 hw = spi_controller_get_devdata(host); 275 struct spi_controller *host = hw->bitbang.ctlr; local [all...] |
/linux-master/drivers/ata/ |
H A D | pata_sl82c105.c | 59 struct pci_dev *pdev = to_pci_dev(ap->host->dev); 80 struct pci_dev *pdev = to_pci_dev(ap->host->dev); 117 struct pci_dev *pdev = to_pci_dev(ap->host->dev); 142 struct pci_dev *pdev = to_pci_dev(ap->host->dev); 206 * We must issue one command per host not per channel because 209 * Q: is the scsi host lock sufficient ? 214 struct ata_host *host = qc->ap->host; local 215 struct ata_port *alt = host->ports[1 ^ qc->ap->port_no]; 232 struct pci_dev *pdev = to_pci_dev(ap->host 343 struct ata_host *host = pci_get_drvdata(pdev); local [all...] |
H A D | pata_artop.c | 58 struct pci_dev *pdev = to_pci_dev(ap->host->dev); 77 struct pci_dev *pdev = to_pci_dev(ap->host->dev); 91 * Set PIO mode for device, in host controller PCI config space. This 101 struct pci_dev *pdev = to_pci_dev(ap->host->dev); 113 * artop6210_set_piomode - Initialize host controller PATA PIO timings 117 * Set PIO mode for device, in host controller PCI config space. For 128 struct pci_dev *pdev = to_pci_dev(ap->host->dev); 141 * artop6260_load_piomode - Initialize host controller PATA PIO timings 146 * Set PIO mode for device, in host controller PCI config space. The 155 struct pci_dev *pdev = to_pci_dev(ap->host 279 struct ata_host *host = qc->ap->host; local 436 struct ata_host *host = pci_get_drvdata(pdev); local [all...] |
H A D | ahci.c | 779 static int ahci_pci_reset_controller(struct ata_host *host) argument 781 struct pci_dev *pdev = to_pci_dev(host->dev); 782 struct ahci_host_priv *hpriv = host->private_data; 785 rc = ahci_reset_controller(host); 798 static void ahci_pci_init_controller(struct ata_host *host) argument 800 struct ahci_host_priv *hpriv = host->private_data; 801 struct pci_dev *pdev = to_pci_dev(host->dev); 822 ahci_init_controller(host); 829 struct ahci_host_priv *hpriv = ap->host->private_data; 851 struct ahci_host_priv *hpriv = ap->host 925 struct ata_host *host = ap->host; local 961 ahci_pci_disable_interrupts(struct ata_host *host) argument 980 struct ata_host *host = pci_get_drvdata(pdev); local 989 struct ata_host *host = pci_get_drvdata(pdev); local 1003 struct ata_host *host = pci_get_drvdata(pdev); local 1020 struct ata_host *host = pci_get_drvdata(pdev); local 1073 ahci_pci_print_info(struct ata_host *host) argument 1110 ahci_p5wdh_workaround(struct ata_host *host) argument 1505 ahci_gtf_filter_workaround(struct ata_host *host) argument 1548 ahci_gtf_filter_workaround(struct ata_host *host) argument 1594 struct ata_host *host = dev_instance; local 1664 ahci_get_irq_vector(struct ata_host *host, int port) argument 1783 struct ata_host *host = dev_get_drvdata(dev); local 1798 struct ata_host *host; local [all...] |
H A D | sata_rcar.c | 220 struct sata_rcar_priv *priv = ap->host->private_data; 230 struct sata_rcar_priv *priv = ap->host->private_data; 540 struct sata_rcar_priv *priv = ap->host->private_data; 566 struct sata_rcar_priv *priv = ap->host->private_data; 570 /* start host DMA transaction */ 580 struct sata_rcar_priv *priv = ap->host->private_data; 598 struct sata_rcar_priv *priv = ap->host->private_data; 652 struct sata_rcar_priv *priv = ap->host->private_data; 663 /* first, analyze and record host port events */ 697 struct ata_host *host local 729 sata_rcar_setup_port(struct ata_host *host) argument 791 sata_rcar_init_controller(struct ata_host *host) argument 862 struct ata_host *host; local 914 struct ata_host *host = platform_get_drvdata(pdev); local 933 struct ata_host *host = dev_get_drvdata(dev); local 951 struct ata_host *host = dev_get_drvdata(dev); local 981 struct ata_host *host = dev_get_drvdata(dev); local [all...] |
H A D | pdc_adma.c | 41 ADMA_REGS((ap)->host->iomap[ADMA_MMIO_BAR], ap->port_no) 387 static inline unsigned int adma_intr_pkt(struct ata_host *host) argument 391 for (port_no = 0; port_no < host->n_ports; ++port_no) { 392 struct ata_port *ap = host->ports[port_no]; 437 static inline unsigned int adma_intr_mmio(struct ata_host *host) argument 441 for (port_no = 0; port_no < host->n_ports; ++port_no) { 442 struct ata_port *ap = host->ports[port_no]; 479 struct ata_host *host = dev_instance; local 482 spin_lock(&host->lock); 483 handled = adma_intr_pkt(host) | adma_intr_mmi 535 adma_host_init(struct ata_host *host, unsigned int chip_id) argument 552 struct ata_host *host; local [all...] |
/linux-master/drivers/mmc/core/ |
H A D | sdio_bus.c | 20 #include <linux/mmc/host.h> 176 if (func->card->host->caps & MMC_CAP_POWER_OFF_CARD) { 201 if (func->card->host->caps & MMC_CAP_POWER_OFF_CARD) 213 if (func->card->host->caps & MMC_CAP_POWER_OFF_CARD) 228 if (func->card->host->caps & MMC_CAP_POWER_OFF_CARD) 232 if (func->card->host->caps & MMC_CAP_POWER_OFF_CARD) 352 struct mmc_host *host = func->card->host; local 353 u64 addr = ((u64)host->slotno << 16) | func->num; 355 acpi_preset_companion(&func->dev, ACPI_COMPANION(host 363 struct mmc_host *host = func->card->host; local [all...] |
H A D | sdio_io.c | 10 #include <linux/mmc/host.h> 18 #include "host.h" 32 mmc_claim_host(func->card->host); 48 mmc_release_host(func->card->host); 146 * and the host, with a maximum of 512 to ensure that arbitrarily sized 154 * Returns 0 on success, -EINVAL if the host does not support the 163 if (blksz > func->card->host->max_blk_size) 167 blksz = min(func->max_blksize, func->card->host->max_blk_size); 191 unsigned mval = func->card->host->max_blk_size; 206 * to take into account the properties of the host, a 724 struct mmc_host *host; local [all...] |
/linux-master/drivers/scsi/ |
H A D | 3w-9xxx.c | 158 struct Scsi_Host *host = class_to_shost(dev); local 159 TW_Device_Extension *tw_dev = (TW_Device_Extension *)host->hostdata; 163 spin_lock_irqsave(tw_dev->host->host_lock, flags); 186 spin_unlock_irqrestore(tw_dev->host->host_lock, flags); 312 TW_PRINTK(tw_dev->host, TW_DRIVER, 0x1, "Found unaligned address during AEN drain"); 322 TW_PRINTK(tw_dev->host, TW_DRIVER, 0x2, "Error posting request sense"); 328 TW_PRINTK(tw_dev->host, TW_DRIVER, 0x3, "No valid response while draining AEN queue"); 378 char host[16]; local 387 host[0] = '\0'; 388 if (tw_dev->host) { 1954 struct Scsi_Host *host = pci_get_drvdata(pdev); local 2000 struct Scsi_Host *host = NULL; local 2153 struct Scsi_Host *host = pci_get_drvdata(pdev); local 2189 struct Scsi_Host *host = pci_get_drvdata(pdev); local 2216 struct Scsi_Host *host = pci_get_drvdata(pdev); local [all...] |
H A D | 3w-xxxx.c | 125 1.02.00.016 - Set host->max_sectors back up to 256. 257 char host[16]; local 262 sprintf(host, " scsi%d:", tw_dev->host->host_no); 264 host[0] = '\0'; 267 printk(KERN_WARNING "3w-xxxx:%s PCI Parity Error: clearing.\n", host); 272 printk(KERN_WARNING "3w-xxxx:%s PCI Abort: clearing.\n", host); 278 printk(KERN_WARNING "3w-xxxx:%s Controller Queue Error: clearing.\n", host); 283 printk(KERN_WARNING "3w-xxxx:%s SBUF Write Error: clearing.\n", host); 289 printk(KERN_WARNING "3w-xxxx:%s Microcontroller Error: clearing.\n", host); 493 struct Scsi_Host *host = class_to_shost(dev); local 2217 struct Scsi_Host *host = pci_get_drvdata(pdev); local 2253 struct Scsi_Host *host = NULL; local 2370 struct Scsi_Host *host = pci_get_drvdata(pdev); local [all...] |
H A D | vmw_pvscsi.c | 95 struct Scsi_Host *host; member in struct:pvscsi_adapter 776 struct Scsi_Host *host = cmd->device->host; local 777 struct pvscsi_adapter *adapter = shost_priv(host); 808 struct pvscsi_adapter *adapter = shost_priv(cmd->device->host); 815 scmd_printk(KERN_DEBUG, cmd, "task abort on host %u, %p\n", 816 adapter->host->host_no, cmd); 899 struct Scsi_Host *host = cmd->device->host; local 900 struct pvscsi_adapter *adapter = shost_priv(host); 953 struct Scsi_Host *host = cmd->device->host; local 978 struct Scsi_Host *host = cmd->device->host; local 1003 pvscsi_info(struct Scsi_Host *host) argument 1037 struct Scsi_Host *host = adapter->host; local 1352 struct Scsi_Host *host = NULL; local 1579 struct Scsi_Host *host = pci_get_drvdata(dev); local 1587 struct Scsi_Host *host = pci_get_drvdata(pdev); local [all...] |
H A D | hptiop.c | 388 spin_lock_irq(hba->host->host_lock); 390 spin_unlock_irq(hba->host->host_lock); 579 hba->host->host_no); 595 hba->host->host_no); 605 hba->host->host_no); 839 spin_lock_irqsave(hba->host->host_lock, flags); 841 spin_unlock_irqrestore(hba->host->host_lock, flags); 848 struct Scsi_Host *host = scp->device->host; local 849 struct hptiop_hba *hba = (struct hptiop_hba *)host 998 struct Scsi_Host *host = scp->device->host; local 1061 hptiop_info(struct Scsi_Host *host) argument 1120 struct Scsi_Host *host = class_to_shost(dev); local 1274 struct Scsi_Host *host = NULL; local 1504 struct Scsi_Host *host = pci_get_drvdata(pcidev); local 1547 struct Scsi_Host *host = pci_get_drvdata(pcidev); local [all...] |
/linux-master/drivers/mmc/host/ |
H A D | dw_mmc.h | 226 void (*push_data)(struct dw_mci *host, void *buf, int cnt); 227 void (*pull_data)(struct dw_mci *host, void *buf, int cnt); 249 int (*init)(struct dw_mci *host); 250 int (*start)(struct dw_mci *host, unsigned int sg_len); 251 void (*complete)(void *host); 252 void (*stop)(struct dw_mci *host); 253 void (*cleanup)(struct dw_mci *host); 254 void (*exit)(struct dw_mci *host); 511 extern int dw_mci_probe(struct dw_mci *host); 512 extern void dw_mci_remove(struct dw_mci *host); 536 struct dw_mci *host; member in struct:dw_mci_slot [all...] |
H A D | renesas_sdhi.h | 68 void (*enable)(struct tmio_mmc_host *host, bool enable); 98 #define host_to_priv(host) \ 99 container_of((host)->pdata, struct renesas_sdhi, mmc_data)
|
/linux-master/arch/powerpc/include/asm/ |
H A D | dcr-native.h | 21 static inline bool dcr_map_ok_native(dcr_host_native_t host) argument 28 #define dcr_unmap_native(host, dcr_c) do {} while (0) 29 #define dcr_read_native(host, dcr_n) mfdcr(dcr_n + host.base) 30 #define dcr_write_native(host, dcr_n, value) mtdcr(dcr_n + host.base, value)
|
/linux-master/drivers/video/backlight/ |
H A D | apple_bl.c | 140 struct pci_dev *host; local 143 host = pci_get_domain_bus_and_slot(0, 0, 0); 145 if (!host) { 146 pr_err("unable to find PCI host\n"); 150 if (host->vendor == PCI_VENDOR_ID_INTEL) 152 else if (host->vendor == PCI_VENDOR_ID_NVIDIA) 155 pci_dev_put(host);
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_mipi_dsi.c | 129 static struct mipi_dsi_device *mipi_dsi_device_alloc(struct mipi_dsi_host *host) argument 137 dsi->host = host; 139 dsi->dev.parent = host->dev; 149 struct mipi_dsi_host *host = dsi->host; local 151 dev_set_name(&dsi->dev, "%s.%d", dev_name(host->dev), dsi->channel); 158 of_mipi_dsi_device_add(struct mipi_dsi_host *host, struct device_node *node) argument 165 drm_err(host, "modalias failure on %pOF\n", node); 171 drm_err(host, "devic 183 of_mipi_dsi_device_add(struct mipi_dsi_host *host, struct device_node *node) argument 202 mipi_dsi_device_register_full(struct mipi_dsi_host *host, const struct mipi_dsi_device_info *info) argument 275 devm_mipi_dsi_device_register_full(struct device *dev, struct mipi_dsi_host *host, const struct mipi_dsi_device_info *info) argument 310 struct mipi_dsi_host *host; local 327 mipi_dsi_host_register(struct mipi_dsi_host *host) argument 357 mipi_dsi_host_unregister(struct mipi_dsi_host *host) argument [all...] |
/linux-master/drivers/scsi/snic/ |
H A D | snic.h | 130 #define SNIC_MAIN_DBG(host, fmt, args...) \ 132 shost_printk(KERN_INFO, host, fmt, ## args);) 134 #define SNIC_SCSI_DBG(host, fmt, args...) \ 136 shost_printk(KERN_INFO, host, fmt, ##args);) 138 #define SNIC_DISC_DBG(host, fmt, args...) \ 140 shost_printk(KERN_INFO, host, fmt, ##args);) 142 #define SNIC_ISR_DBG(host, fmt, args...) \ 144 shost_printk(KERN_INFO, host, fmt, ##args);) 146 #define SNIC_HOST_ERR(host, fmt, args...) \ 147 shost_printk(KERN_ERR, host, fm [all...] |
/linux-master/fs/squashfs/ |
H A D | file_cache.c | 23 struct inode *i = page->mapping->host;
|
/linux-master/drivers/usb/image/ |
H A D | microtek.h | 42 struct Scsi_Host *host; member in struct:mts_desc
|