/linux-master/drivers/spi/ |
H A D | spi-sifive.c | 131 sifive_spi_prepare_message(struct spi_controller *host, struct spi_message *msg) argument 133 struct sifive_spi *spi = spi_controller_get_devdata(host); 255 sifive_spi_transfer_one(struct spi_controller *host, struct spi_device *device, argument 258 struct sifive_spi *spi = spi_controller_get_devdata(host); 297 struct spi_controller *host; local 299 host = spi_alloc_host(&pdev->dev, sizeof(struct sifive_spi)); 300 if (!host) { 305 spi = spi_controller_get_devdata(host); 307 platform_set_drvdata(pdev, host); 370 /* Define our host */ 420 struct spi_controller *host = platform_get_drvdata(pdev); local 430 struct spi_controller *host = dev_get_drvdata(dev); local 448 struct spi_controller *host = dev_get_drvdata(dev); local [all...] |
H A D | spi-npcm-pspi.c | 23 struct spi_controller *host; member in struct:npcm_pspi 248 static int npcm_pspi_transfer_one(struct spi_controller *host, argument 252 struct npcm_pspi *priv = spi_controller_get_devdata(host); 269 static int npcm_pspi_prepare_transfer_hardware(struct spi_controller *host) argument 271 struct npcm_pspi *priv = spi_controller_get_devdata(host); 278 static int npcm_pspi_unprepare_transfer_hardware(struct spi_controller *host) argument 280 struct npcm_pspi *priv = spi_controller_get_devdata(host); 343 struct spi_controller *host; local 348 host = spi_alloc_host(&pdev->dev, sizeof(*priv)); 349 if (!host) 435 struct spi_controller *host = platform_get_drvdata(pdev); local [all...] |
H A D | spi-rb4xx.c | 95 static int rb4xx_transfer_one(struct spi_controller *host, argument 98 struct rb4xx_spi *rbspi = spi_controller_get_devdata(host); 129 spi_finalize_current_transfer(host); 136 struct spi_controller *host; local 146 host = devm_spi_alloc_host(&pdev->dev, sizeof(*rbspi)); 147 if (!host) 154 host->dev.of_node = pdev->dev.of_node; 155 host->bus_num = 0; 156 host->num_chipselect = 3; 157 host [all...] |
H A D | spi-xcomm.c | 135 static int spi_xcomm_transfer_one(struct spi_controller *host, argument 138 struct spi_xcomm *spi_xcomm = spi_controller_get_devdata(host); 200 spi_finalize_current_message(host); 208 struct spi_controller *host; local 211 host = spi_alloc_host(&i2c->dev, sizeof(*spi_xcomm)); 212 if (!host) 215 spi_xcomm = spi_controller_get_devdata(host); 218 host->num_chipselect = 16; 219 host->mode_bits = SPI_CPHA | SPI_CPOL | SPI_3WIRE; 220 host [all...] |
H A D | spi-mt65xx.c | 139 * @sel_clk: SPI host mux clock 351 static int mtk_spi_hw_init(struct spi_controller *host, argument 357 struct mtk_spi *mdata = spi_controller_get_devdata(host); 456 static int mtk_spi_prepare_message(struct spi_controller *host, argument 459 return mtk_spi_hw_init(host, msg->spi); 482 static void mtk_spi_prepare_transfer(struct spi_controller *host, argument 486 struct mtk_spi *mdata = spi_controller_get_devdata(host); 515 static void mtk_spi_setup_packet(struct spi_controller *host) argument 518 struct mtk_spi *mdata = spi_controller_get_devdata(host); 542 static void mtk_spi_enable_transfer(struct spi_controller *host) argument 570 mtk_spi_update_mdata_len(struct spi_controller *host) argument 598 mtk_spi_setup_dma_addr(struct spi_controller *host, struct spi_transfer *xfer) argument 624 mtk_spi_fifo_transfer(struct spi_controller *host, struct spi_device *spi, struct spi_transfer *xfer) argument 654 mtk_spi_dma_transfer(struct spi_controller *host, struct spi_device *spi, struct spi_transfer *xfer) argument 699 mtk_spi_transfer_one(struct spi_controller *host, struct spi_device *spi, struct spi_transfer *xfer) argument 722 mtk_spi_can_dma(struct spi_controller *host, struct spi_device *spi, struct spi_transfer *xfer) argument 749 struct spi_controller *host = dev_id; local 890 mtk_spi_mem_setup_dma_xfer(struct spi_controller *host, const struct spi_mem_op *op) argument 1121 struct spi_controller *host; local 1278 struct spi_controller *host = platform_get_drvdata(pdev); local 1310 struct spi_controller *host = dev_get_drvdata(dev); local 1330 struct spi_controller *host = dev_get_drvdata(dev); local 1363 struct spi_controller *host = dev_get_drvdata(dev); local 1379 struct spi_controller *host = dev_get_drvdata(dev); local [all...] |
/linux-master/include/trace/events/ |
H A D | mmc.h | 10 #include <linux/mmc/host.h> 15 TP_PROTO(struct mmc_host *host, struct mmc_request *mrq), 17 TP_ARGS(host, mrq), 44 __string(name, mmc_hostname(host)) 65 __entry->can_retune = host->can_retune; 66 __entry->doing_retune = host->doing_retune; 67 __entry->retune_now = host->retune_now; 68 __entry->need_retune = host->need_retune; 69 __entry->hold_retune = host->hold_retune; 70 __entry->retune_period = host [all...] |
/linux-master/drivers/scsi/arm/ |
H A D | eesox.c | 116 /* Prototype: void eesoxscsi_terminator_ctl(*host, on_off) 118 * Params : host - card to turn on/off 122 eesoxscsi_terminator_ctl(struct Scsi_Host *host, int on_off) argument 124 struct eesoxscsi_info *info = (struct eesoxscsi_info *)host->hostdata; 127 spin_lock_irqsave(host->host_lock, flags); 134 spin_unlock_irqrestore(host->host_lock, flags); 150 /* Prototype: fasdmatype_t eesoxscsi_dma_setup(host, SCpnt, direction, min_type) 152 * Params : host - host 159 eesoxscsi_dma_setup(struct Scsi_Host *host, struc argument 355 eesoxscsi_dma_pseudo(struct Scsi_Host *host, struct scsi_pointer *SCp, fasdmadir_t dir, int transfer_size) argument 372 eesoxscsi_dma_stop(struct Scsi_Host *host, struct scsi_pointer *SCp) argument 384 eesoxscsi_info(struct Scsi_Host *host) argument 404 eesoxscsi_set_proc_info(struct Scsi_Host *host, char *buffer, int length) argument 427 eesoxscsi_show_info(struct seq_file *m, struct Scsi_Host *host) argument 446 struct Scsi_Host *host = ecard_get_drvdata(ec); local 455 struct Scsi_Host *host = ecard_get_drvdata(ec); local 497 struct Scsi_Host *host; local 598 struct Scsi_Host *host = ecard_get_drvdata(ec); local [all...] |
/linux-master/arch/arm/mach-omap1/ |
H A D | mmc.h | 2 #include <linux/mmc/host.h>
|
/linux-master/drivers/scsi/isci/ |
H A D | Makefile | 5 host.o task.o probe_roms.o \
|
/linux-master/include/linux/platform_data/ |
H A D | mmc-mxcmmc.h | 6 #include <linux/mmc/host.h>
|
H A D | mmc-davinci.h | 10 #include <linux/mmc/host.h> 24 /* any additional host capabilities: OR'd in to mmc->f_caps */
|
/linux-master/include/linux/usb/ |
H A D | otg.h | 6 * (for either host or peripheral roles) don't use these calls; they 22 struct usb_bus *host; member in struct:usb_otg 27 /* bind/unbind the host controller */ 28 int (*set_host)(struct usb_otg *otg, struct usb_bus *host); 84 otg_set_host(struct usb_otg *otg, struct usb_bus *host) argument 87 return otg->set_host(otg, host);
|
/linux-master/drivers/mmc/host/ |
H A D | dw_mmc-bluefield.c | 8 #include <linux/mmc/host.h> 23 static void dw_mci_bluefield_set_ios(struct dw_mci *host, struct mmc_ios *ios) argument 28 reg = mci_readl(host, UHS_REG_EXT); 34 mci_writel(host, UHS_REG_EXT, reg);
|
/linux-master/drivers/ata/ |
H A D | pata_imx.c | 87 struct pata_imx_priv *priv = ap->host->private_data; 128 struct ata_host *host; local 150 host = ata_host_alloc(&pdev->dev, 1); 151 if (!host) 154 host->private_data = priv; 155 ap = host->ports[0]; 185 ret = ata_host_activate(host, irq, ata_sff_interrupt, 0, 196 struct ata_host *host = platform_get_drvdata(pdev); local 197 struct pata_imx_priv *priv = host->private_data; 199 ata_host_detach(host); 207 struct ata_host *host = dev_get_drvdata(dev); local 221 struct ata_host *host = dev_get_drvdata(dev); local [all...] |
H A D | pata_isapnp.c | 50 struct ata_host *host; local 64 /* allocate host */ 65 host = ata_host_alloc(&idev->dev, 1); 66 if (!host) 69 /* acquire resources and fill host */ 74 ap = host->ports[0]; 100 return ata_host_activate(host, irq, handler, 0, 115 struct ata_host *host = dev_get_drvdata(dev); local 117 ata_host_detach(host);
|
H A D | pata_ninja32.c | 105 struct ata_host *host; local 110 host = ata_host_alloc(&dev->dev, 1); 111 if (!host) 113 ap = host->ports[0]; 125 host->iomap = pcim_iomap_table(dev); 133 base = host->iomap[0]; 149 return ata_host_activate(host, dev->irq, ata_bmdma_interrupt, 156 struct ata_host *host = pci_get_drvdata(pdev); local 162 ninja32_program(host->iomap[0]); 163 ata_host_resume(host); [all...] |
H A D | pata_arasan_cf.c | 4 * Arasan Compact Flash host controller source file 188 struct ata_host *host; member in struct:arasan_cf_dev 228 struct device *dev = acdev->host->dev; 284 struct ata_port *ap = acdev->host->ports[0]; 308 struct arasan_cf_pdata *pdata = dev_get_platdata(acdev->host->dev); 315 dev_dbg(acdev->host->dev, "clock enable failed"); 321 dev_warn(acdev->host->dev, "clock set rate failed"); 326 spin_lock_irqsave(&acdev->host->lock, flags); 338 spin_unlock_irqrestore(&acdev->host->lock, flags); 347 spin_lock_irqsave(&acdev->host 799 struct ata_host *host; local 922 struct ata_host *host = platform_get_drvdata(pdev); local 932 struct ata_host *host = dev_get_drvdata(dev); local 945 struct ata_host *host = dev_get_drvdata(dev); local [all...] |
/linux-master/drivers/scsi/ |
H A D | sun3x_esp.c | 99 esp->host->unique_id); 115 "invalidate!\n", esp->host->unique_id); 173 struct Scsi_Host *host; local 178 host = scsi_host_alloc(tpnt, sizeof(struct esp)); 179 if (!host) 182 host->max_id = 8; 183 esp = shost_priv(host); 185 esp->host = host; 209 host [all...] |
/linux-master/fs/lockd/ |
H A D | svcshare.c | 28 nlmsvc_share_file(struct nlm_host *host, struct nlm_file *file, argument 36 if (share->s_host == host && nlm_cmp_owner(share, oh)) 53 share->s_host = host; 69 nlmsvc_unshare_file(struct nlm_host *host, struct nlm_file *file, argument 77 if (share->s_host == host && nlm_cmp_owner(share, oh)) { 91 * those owned by the given (type of) host 93 void nlmsvc_traverse_shares(struct nlm_host *host, struct nlm_file *file, argument 100 if (match(share->s_host, host)) {
|
H A D | clntproc.c | 34 static void nlmclnt_locks_init_private(struct file_lock *fl, struct nlm_host *host); 62 if (!refcount_dec_and_lock(&lockowner->count, &lockowner->host->h_lock)) 65 spin_unlock(&lockowner->host->h_lock); 66 nlmclnt_release_host(lockowner->host); 70 static inline int nlm_pidbusy(struct nlm_host *host, uint32_t pid) argument 73 list_for_each_entry(lockowner, &host->h_lockowners, list) { 80 static inline uint32_t __nlm_alloc_pid(struct nlm_host *host) argument 84 res = host->h_pidcount++; 85 } while (nlm_pidbusy(host, res) < 0); 89 static struct nlm_lockowner *__nlmclnt_find_lockowner(struct nlm_host *host, fl_owner_ argument 100 nlmclnt_find_lockowner(struct nlm_host *host, fl_owner_t owner) argument 162 nlmclnt_proc(struct nlm_host *host, int cmd, struct file_lock *fl, void *data) argument 206 nlm_alloc_call(struct nlm_host *host) argument 267 struct nlm_host *host = req->a_host; local 345 struct nlm_host *host = req->a_host; local 487 nlmclnt_locks_init_private(struct file_lock *fl, struct nlm_host *host) argument 525 struct nlm_host *host = req->a_host; local 643 nlmclnt_reclaim(struct nlm_host *host, struct file_lock *fl, struct nlm_rqst *req) argument 688 struct nlm_host *host = req->a_host; local 786 nlmclnt_cancel(struct nlm_host *host, int block, struct file_lock *fl) argument [all...] |
H A D | svcproc.c | 55 struct nlm_host *host = NULL; local 65 /* Obtain host handle */ 66 if (!(host = nlmsvc_lookup_host(rqstp, lock->caller, lock->len)) 67 || (argp->monitor && nsm_monitor(host) < 0)) 69 *hostp = host; 84 nlmsvc_locks_init_private(&lock->fl, host, (pid_t)lock->svid); 87 nlmsvc_release_host(host); 95 nlmsvc_release_host(host); 118 struct nlm_host *host; local 127 if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, 156 struct nlm_host *host; local 205 struct nlm_host *host; local 246 struct nlm_host *host; local 337 struct nlm_host *host; local 404 struct nlm_host *host; local 439 struct nlm_host *host; local 487 struct nlm_host *host; local [all...] |
H A D | svc4proc.c | 26 struct nlm_host *host = NULL; local 39 /* Obtain host handle */ 40 if (!(host = nlmsvc_lookup_host(rqstp, lock->caller, lock->len)) 41 || (argp->monitor && nsm_monitor(host) < 0)) 43 *hostp = host; 63 nlmsvc_locks_init_private(&lock->fl, host, (pid_t)lock->svid); 66 nlmsvc_release_host(host); 74 nlmsvc_release_host(host); 97 struct nlm_host *host; local 106 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, 133 struct nlm_host *host; local 182 struct nlm_host *host; local 222 struct nlm_host *host; local 304 struct nlm_host *host; local 369 struct nlm_host *host; local 404 struct nlm_host *host; local 452 struct nlm_host *host; local [all...] |
/linux-master/drivers/scsi/libfc/ |
H A D | fc_libfc.h | 36 pr_info("host%u: lport %6.6x: " fmt, \ 37 (lport)->host->host_no, \ 42 pr_info("host%u: disc: " fmt, \ 43 fc_disc_lport(disc)->host->host_no, \ 48 pr_info("host%u: rport %6.6x: " fmt, \ 49 (lport)->host->host_no, \ 61 pr_info("host%u: fcp: %6.6x: " \ 63 (pkt)->lp->host->host_no, \ 67 pr_info("host%u: fcp: %6.6x: " fmt, \ 68 (pkt)->lp->host [all...] |
/linux-master/drivers/net/wireless/ath/wil6210/ |
H A D | wil_crash_dump.c | 23 host_min = map->host; 24 host_max = map->host + (map->to - map->from); 32 if (map->host < host_min) 33 host_min = map->host; 35 tmp_max = map->host + (map->to - map->from); 82 data = (void * __force)wil->csr + HOSTADDR(map->host); 84 offset = map->host - host_min;
|
/linux-master/drivers/mtd/nand/raw/ |
H A D | qcom_nandc.c | 792 static void set_address(struct qcom_nand_host *host, u16 column, int page) argument 794 struct nand_chip *chip = &host->chip; 811 static void update_rw_regs(struct qcom_nand_host *host, int num_cw, bool read, int cw) argument 813 struct nand_chip *chip = &host->chip; 818 if (host->use_ecc) 826 if (host->use_ecc) { 827 cfg0 = (host->cfg0 & ~(7U << CW_PER_PAGE)) | 830 cfg1 = host->cfg1; 831 ecc_bch_cfg = host->ecc_bch_cfg; 833 cfg0 = (host 1443 check_flash_errors(struct qcom_nand_host *host, int cw_cnt) argument 1466 struct qcom_nand_host *host = to_qcom_nand_host(chip); local 1551 check_for_erased_page(struct qcom_nand_host *host, u8 *data_buf, u8 *oob_buf, unsigned long uncorrectable_cws, int page, unsigned int max_bitflips) argument 1610 parse_read_errors(struct qcom_nand_host *host, u8 *data_buf, u8 *oob_buf, int page) argument 1713 read_page_ecc(struct qcom_nand_host *host, u8 *data_buf, u8 *oob_buf, int page) argument 1792 copy_last_cw(struct qcom_nand_host *host, int page) argument 1821 qcom_nandc_is_boot_partition(struct qcom_nand_host *host, int page) argument 1861 qcom_nandc_codeword_fixup(struct qcom_nand_host *host, int page) argument 1888 struct qcom_nand_host *host = to_qcom_nand_host(chip); local 1917 struct qcom_nand_host *host = to_qcom_nand_host(chip); local 1941 struct qcom_nand_host *host = to_qcom_nand_host(chip); local 1962 struct qcom_nand_host *host = to_qcom_nand_host(chip); local 2036 struct qcom_nand_host *host = to_qcom_nand_host(chip); local 2113 struct qcom_nand_host *host = to_qcom_nand_host(chip); local 2155 struct qcom_nand_host *host = to_qcom_nand_host(chip); local 2192 struct qcom_nand_host *host = to_qcom_nand_host(chip); local 2317 struct qcom_nand_host *host = to_qcom_nand_host(chip); local 2339 struct qcom_nand_host *host = to_qcom_nand_host(chip); local 2368 struct qcom_nand_host *host = to_qcom_nand_host(chip); local 2548 struct qcom_nand_host *host = to_qcom_nand_host(chip); local 2683 struct qcom_nand_host *host = to_qcom_nand_host(chip); local 2748 struct qcom_nand_host *host = to_qcom_nand_host(chip); local 2799 struct qcom_nand_host *host = to_qcom_nand_host(chip); local 2855 struct qcom_nand_host *host = to_qcom_nand_host(chip); local 3189 qcom_nand_host_parse_boot_partitions(struct qcom_nand_controller *nandc, struct qcom_nand_host *host, struct device_node *dn) argument 3257 qcom_nand_host_init_and_register(struct qcom_nand_controller *nandc, struct qcom_nand_host *host, struct device_node *dn) argument 3323 struct qcom_nand_host *host; local 3455 struct qcom_nand_host *host; local [all...] |