/linux-master/drivers/ata/ |
H A D | sata_nv.c | 286 static void nv_ck804_host_stop(struct ata_host *host); 315 static void nv_adma_host_stop(struct ata_host *host); 669 struct ata_port *ap = ata_shost_to_port(sdev->host); 672 struct pci_dev *pdev = to_pci_dev(ap->host->dev); 730 port0 = ap->host->ports[0]->private_data; 731 port1 = ap->host->ports[1]->private_data; 750 (unsigned long long)*ap->host->dev->dma_mask, 881 struct ata_host *host = dev_instance; local 885 spin_lock(&host->lock); 887 for (i = 0; i < host 1273 nv_adma_host_init(struct ata_host *host) argument 1436 struct ata_host *host = dev_instance; local 1464 nv_do_interrupt(struct ata_host *host, u8 irq_stat) argument 1478 struct ata_host *host = dev_instance; local 1492 struct ata_host *host = dev_instance; local 1848 nv_swncq_host_init(struct ata_host *host) argument 2280 struct ata_host *host = dev_instance; local 2314 struct ata_host *host; local 2394 struct ata_host *host = pci_get_drvdata(pdev); local 2441 nv_ck804_host_stop(struct ata_host *host) argument 2452 nv_adma_host_stop(struct ata_host *host) argument [all...] |
H A D | libata-core.c | 23 * low-level ATA host controller drivers. As such, the API/ABI is 205 /* we just iterated over the host link, what's next? */ 354 * the host link and all fan-out ports connected via PMP. If the 356 * first fan-out link not the host link. Device number 15 always 357 * points to the host link whether PMP is attached or not. If the 411 * the first device connected to the host link. 422 /* allow n.15/16 for devices attached to host port */ 465 * the first device connected to the host link. 476 /* allow n.15/16 for devices attached to host port */ 602 /* Unable to use DMA due to host limitatio 4378 struct ata_host *host = ap->host; local 5306 ata_host_suspend(struct ata_host *host, pm_message_t mesg) argument 5318 ata_host_resume(struct ata_host *host) argument 5449 ata_port_alloc(struct ata_host *host) argument 5488 struct ata_host *host = dev_get_drvdata(gendev); local 5508 struct ata_host *host = container_of(kref, struct ata_host, kref); local 5523 ata_host_get(struct ata_host *host) argument 5528 ata_host_put(struct ata_host *host) argument 5556 struct ata_host *host; local 5627 struct ata_host *host; local 5657 struct ata_host *host = dev_get_drvdata(gendev); local 5739 ata_host_start(struct ata_host *host) argument 5811 ata_host_init(struct ata_host *host, struct device *dev, struct ata_port_operations *ops) argument 5882 ata_host_register(struct ata_host *host, const struct scsi_host_template *sht) argument 5988 ata_host_activate(struct ata_host *host, int irq, irq_handler_t irq_handler, unsigned long irq_flags, const struct scsi_host_template *sht) argument 6108 ata_host_detach(struct ata_host *host) argument 6135 struct ata_host *host = pci_get_drvdata(pdev); local 6143 struct ata_host *host = pci_get_drvdata(pdev); local 6229 struct ata_host *host = pci_get_drvdata(pdev); local 6241 struct ata_host *host = pci_get_drvdata(pdev); local 6266 struct ata_host *host = platform_get_drvdata(pdev); local [all...] |
H A D | pata_gayle.c | 131 struct ata_host *host; local 151 /* allocate host */ 152 host = ata_host_alloc(&pdev->dev, 1); 153 if (!host) 156 ap = host->ports[0]; 186 ret = ata_host_activate(host, IRQ_AMIGA_PORTS, ata_sff_interrupt, 191 platform_set_drvdata(pdev, host); 198 struct ata_host *host = platform_get_drvdata(pdev); local 200 ata_host_detach(host);
|
H A D | sata_highbank.c | 131 struct ahci_host_priv *hpriv = ap->host->private_data; 391 struct ahci_host_priv *hpriv = ap->host->private_data; 456 struct ata_host *host; local 504 /* prepare host */ 525 host = ata_host_alloc_pinfo(dev, ppi, n_ports); 526 if (!host) { 531 host->private_data = hpriv; 534 host->flags |= ATA_HOST_PARALLEL_SCAN; 536 for (i = 0; i < host->n_ports; i++) { 537 struct ata_port *ap = host 570 struct ata_host *host = dev_get_drvdata(dev); local 596 struct ata_host *host = dev_get_drvdata(dev); local [all...] |
H A D | pata_macio.c | 242 struct ata_host *host; member in struct:pata_macio_priv 802 struct ata_port *ap = ata_shost_to_port(sdev->host); 858 ata_host_suspend(priv->host, mesg); 901 pata_macio_apply_timings(priv->host->ports[0], 0); 907 ata_host_resume(priv->host); 1054 /* Allocate libata host for 1 port */ 1061 priv->host = ata_host_alloc_pinfo(priv->dev, ppi, 1); 1062 if (priv->host == NULL) { 1067 /* Setup the private data in host too */ 1068 priv->host 1194 struct ata_host *host = macio_get_drvdata(mdev); local 1212 struct ata_host *host = macio_get_drvdata(mdev); local 1219 struct ata_host *host = macio_get_drvdata(mdev); local 1228 struct ata_host *host = macio_get_drvdata(mdev); local 1308 struct ata_host *host = pci_get_drvdata(pdev); local 1316 struct ata_host *host = pci_get_drvdata(pdev); local 1323 struct ata_host *host = pci_get_drvdata(pdev); local [all...] |
/linux-master/drivers/scsi/esas2r/ |
H A D | esas2r_main.c | 63 struct Scsi_Host *host = class_to_shost(dev); local 65 return (struct esas2r_adapter *)host->hostdata; 352 struct Scsi_Host *host = NULL; local 386 host = scsi_host_alloc(&driver_template, host_alloc_size); 387 if (host == NULL) { 392 memset(host->hostdata, 0, host_alloc_size); 394 a = (struct esas2r_adapter *)host->hostdata; 396 esas2r_log(ESAS2R_LOG_INFO, "scsi_host_alloc() OK host: %p", host); 400 host 517 struct Scsi_Host *host = pci_get_drvdata(pdev); local 821 esas2r_queuecommand(struct Scsi_Host *host, struct scsi_cmnd *cmd) argument [all...] |
/linux-master/drivers/scsi/ |
H A D | qlogicfas408.h | 86 struct Scsi_Host *shost; /* pointer back to host */ 103 #define get_priv_by_cmd(x) (struct qlogicfas408_priv *)&((x)->device->host->hostdata[0]) 113 const char *qlogicfas408_info(struct Scsi_Host *host);
|
H A D | imm.c | 3 * parallel port SCSI host adapter. 49 struct Scsi_Host *host; member in struct:__anon1663 63 static inline imm_struct *imm_dev(struct Scsi_Host *host) argument 65 return *(imm_struct **)&host->hostdata; 132 static int imm_write_info(struct Scsi_Host *host, char *buffer, int length) argument 134 imm_struct *dev = imm_dev(host); 144 static int imm_show_info(struct seq_file *m, struct Scsi_Host *host) argument 146 imm_struct *dev = imm_dev(host); 617 imm_struct *dev = imm_dev(cmd->device->host); 643 imm_struct *dev = imm_dev(cmd->device->host); 737 struct Scsi_Host *host = cmd->device->host; local 1151 struct Scsi_Host *host; local [all...] |
/linux-master/drivers/dax/hmem/ |
H A D | device.c | 20 int walk_hmem_resources(struct device *host, walk_hmem_fn fn) argument 27 rc = fn(host, (int) res->desc, res);
|
/linux-master/drivers/spi/ |
H A D | spi-bcm63xx-hsspi.c | 265 static bool bcm63xx_prepare_prepend_transfer(struct spi_controller *host, argument 270 struct bcm63xx_hsspi *bs = spi_controller_get_devdata(host); 656 static int bcm63xx_hsspi_transfer_one(struct spi_controller *host, argument 659 struct bcm63xx_hsspi *bs = spi_controller_get_devdata(host); 668 prependable = bcm63xx_prepare_prepend_transfer(host, msg, &t_prepend); 684 spi_finalize_current_message(host); 726 struct spi_controller *host; local 782 host = spi_alloc_host(&pdev->dev, sizeof(*bs)); 783 if (!host) { 788 bs = spi_controller_get_devdata(host); 883 struct spi_controller *host = platform_get_drvdata(pdev); local 896 struct spi_controller *host = dev_get_drvdata(dev); local 908 struct spi_controller *host = dev_get_drvdata(dev); local [all...] |
H A D | spi-fsl-espi.c | 435 static int fsl_espi_do_one_msg(struct spi_controller *host, argument 473 spi_finalize_current_message(host); 587 struct spi_controller *host = dev_get_drvdata(dev); local 588 struct fsl_espi *espi = spi_controller_get_devdata(host); 600 struct spi_controller *host = dev_get_drvdata(dev); local 601 struct fsl_espi *espi = spi_controller_get_devdata(host); 619 struct spi_controller *host = dev_get_drvdata(dev); local 620 struct fsl_espi *espi = spi_controller_get_devdata(host); 632 for_each_available_child_of_node(host->dev.of_node, nc) { 635 if (ret || cs >= host 667 struct spi_controller *host; local 794 struct spi_controller *host = dev_get_drvdata(dev); local 806 struct spi_controller *host = dev_get_drvdata(dev); local [all...] |
H A D | spi-meson-spicc.c | 154 struct spi_controller *host; member in struct:meson_spicc_device 402 static int meson_spicc_transfer_one(struct spi_controller *host, argument 406 struct meson_spicc_device *spicc = spi_controller_get_devdata(host); 457 static int meson_spicc_prepare_message(struct spi_controller *host, argument 460 struct meson_spicc_device *spicc = spi_controller_get_devdata(host); 522 static int meson_spicc_unprepare_transfer(struct spi_controller *host) argument 524 struct meson_spicc_device *spicc = spi_controller_get_devdata(host); 588 if (!spicc->host->cur_msg) 600 if (!spicc->host->cur_msg) 612 if (!spicc->host 772 struct spi_controller *host; local [all...] |
H A D | spi-butterfly.c | 181 struct spi_controller *host; local 192 host = spi_alloc_host(dev, sizeof(*pp)); 193 if (!host) { 197 pp = spi_controller_get_devdata(host); 205 host->bus_num = 42; 206 host->num_chipselect = 2; 208 pp->bitbang.ctlr = host; 283 spi_controller_put(host);
|
H A D | spi-sh.c | 75 struct spi_controller *host; member in struct:spi_sh_data 384 spi_unregister_controller(ss->host); 391 struct spi_controller *host; local 406 host = devm_spi_alloc_host(&pdev->dev, sizeof(struct spi_sh_data)); 407 if (host == NULL) { 412 ss = spi_controller_get_devdata(host); 427 ss->host = host; 441 host->num_chipselect = 2; 442 host [all...] |
H A D | spi-xilinx.c | 3 * Xilinx SPI controller driver (host mode only) 86 bool force_irq; /* force irq to setup host inhibit */ 180 * put SPI controller into host mode, and enable it */ 338 /* This driver supports single host mode only. Hence Tx FIFO Empty 396 struct spi_controller *host; local 427 host = devm_spi_alloc_host(&pdev->dev, sizeof(struct xilinx_spi)); 428 if (!host) 432 host->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST | SPI_LOOP | 435 xspi = spi_controller_get_devdata(host); 437 xspi->bitbang.ctlr = host; 508 struct spi_controller *host = platform_get_drvdata(pdev); local [all...] |
H A D | spi-ppc4xx.c | 131 struct spi_controller *host; member in struct:ppc4xx_spi 340 struct spi_controller *host; local 349 host = spi_alloc_host(dev, sizeof(*hw)); 350 if (host == NULL) 352 host->dev.of_node = np; 353 platform_set_drvdata(op, host); 354 hw = spi_controller_get_devdata(host); 355 hw->host = host; 362 bbp->ctlr = hw->host; 466 struct spi_controller *host = platform_get_drvdata(op); local [all...] |
H A D | spi-omap-uwire.c | 456 struct spi_controller *host; local 460 host = spi_alloc_host(&pdev->dev, sizeof(*uwire)); 461 if (!host) 464 uwire = spi_controller_get_devdata(host); 469 spi_controller_put(host); 479 spi_controller_put(host); 487 host->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; 488 host->bits_per_word_mask = SPI_BPW_RANGE_MASK(1, 16); 489 host->flags = SPI_CONTROLLER_HALF_DUPLEX; 491 host [all...] |
/linux-master/tools/testing/selftests/drivers/net/lib/py/ |
H A D | remote_ssh.py | 19 cmd("rm -rf " + self._tmpdir, host=self) 32 cmd("mkdir " + self._tmpdir, host=self)
|
/linux-master/include/drm/ |
H A D | drm_mipi_dsi.h | 68 * @attach: attach DSI device to DSI host 69 * @detach: detach DSI device from DSI host 85 * host is in. Drivers that need the underlying device to be powered to 90 int (*attach)(struct mipi_dsi_host *host, 92 int (*detach)(struct mipi_dsi_host *host, 94 ssize_t (*transfer)(struct mipi_dsi_host *host, 99 * struct mipi_dsi_host - DSI host device 100 * @dev: driver model device node for this DSI host 101 * @ops: DSI host operations 110 int mipi_dsi_host_register(struct mipi_dsi_host *host); 186 struct mipi_dsi_host *host; member in struct:mipi_dsi_device [all...] |
/linux-master/fs/ecryptfs/ |
H A D | mmap.c | 135 page_virt, page->mapping->host); 157 crypt_stat->extent_size, page->mapping->host); 185 &ecryptfs_inode_to_private(page->mapping->host)->crypt_stat; 191 page->mapping->host); 208 page->mapping->host); 239 struct inode *inode = page->mapping->host; 283 &ecryptfs_inode_to_private(mapping->host)->crypt_stat; 287 page, index, 0, PAGE_SIZE, mapping->host); 314 mapping->host); 326 >= i_size_read(page->mapping->host)) { [all...] |
/linux-master/arch/powerpc/platforms/embedded6xx/ |
H A D | hlwd-pic.c | 89 * IRQ host hooks. 202 struct irq_domain *host; local 210 host = hlwd_pic_init(np); 211 BUG_ON(!host); 213 irq_set_handler_data(cascade_virq, host); 216 hlwd_irq_host = host;
|
/linux-master/drivers/nvme/host/ |
H A D | fabrics.h | 3 * NVMe over Fabrics common host code. 22 * Define a host as seen by the target. We allocate one at boot, but also 88 * @host_traddr: A transport-specific field identifying the NVME host port 90 * @host_iface: A transport-specific field identifying the NVME host 97 * @host: Virtual NVMe host, contains the NQN and Host ID. 127 struct nvmf_host *host; member in struct:nvmf_ctrl_options 187 strcmp(opts->host->nqn, ctrl->opts->host->nqn) || 188 !uuid_equal(&opts->host [all...] |
H A D | fabrics.c | 3 * NVMe over Fabrics common host code. 27 struct nvmf_host *host; local 29 host = kmalloc(sizeof(*host), GFP_KERNEL); 30 if (!host) 33 kref_init(&host->ref); 34 uuid_copy(&host->id, id); 35 strscpy(host->nqn, hostnqn, NVMF_NQN_SIZE); 37 return host; 42 struct nvmf_host *host; local 88 struct nvmf_host *host; local 109 struct nvmf_host *host = container_of(ref, struct nvmf_host, ref); local 118 nvmf_host_put(struct nvmf_host *host) argument [all...] |
/linux-master/tools/testing/selftests/net/forwarding/ |
H A D | sch_tbf_core.sh | 51 local host=$1; shift 54 echo 192.0.2.$((16 * (vlan - 10) + host)) 60 local host=$1; shift 65 vlan_create $dev 10 v$dev $(ipaddr $host 10)/28 68 vlan_create $dev 11 v$dev $(ipaddr $host 11)/28
|
/linux-master/drivers/pci/controller/ |
H A D | Makefile | 11 obj-$(CONFIG_PCIE_RCAR_HOST) += pcie-rcar.o pcie-rcar-host.o 13 obj-$(CONFIG_PCI_HOST_COMMON) += pci-host-common.o 14 obj-$(CONFIG_PCI_HOST_GENERIC) += pci-host-generic.o 33 obj-$(CONFIG_PCIE_ROCKCHIP_HOST) += pcie-rockchip-host.o 36 obj-$(CONFIG_PCIE_MICROCHIP_HOST) += pcie-microchip-host.o
|