/linux/drivers/scsi/arm/ |
A D | acornscsi.c | 326 host->host->host_no); in acornscsi_resetcard() 347 host->host->host_no); in acornscsi_resetcard() 352 host->host->host_no); in acornscsi_resetcard() 708 host->host->host_no, acornscsi_target(host))); in acornscsi_kick() 1564 host->host->host_no, acornscsi_target(host), in acornscsi_message() 1581 host->host->host_no, acornscsi_target(host), in acornscsi_message() 1621 host->host->host_no, acornscsi_target(host), in acornscsi_message() 1684 host->host->host_no, acornscsi_target(host)); in acornscsi_starttransfer() 1798 host->host->host_no, acornscsi_target(host))); in acornscsi_reconnect_finish() 2287 host->host->host_no, acornscsi_target(host)); in acornscsi_sbicintr() [all …]
|
/linux/drivers/mmc/host/ |
A D | sdhci.c | 244 host->ops->reset(host, mask); in sdhci_do_reset() 249 host->ops->enable_dma(host); in sdhci_do_reset() 2372 host->ops->set_clock(host, host->clock); in sdhci_set_ios() 2399 host->ops->set_clock(host, host->clock); in sdhci_set_ios() 2509 host->ops->hw_reset(host); in sdhci_hw_reset() 3056 host->ops->set_clock(host, host->clock); in sdhci_request_done() 3706 free_irq(host->irq, host); in sdhci_suspend_host() 3861 host->ier = host->cqe_ier; in sdhci_cqe_enable() 4326 host->max_clk = host->ops->get_max_clock(host); in sdhci_setup_host() 4784 free_irq(host->irq, host); in __sdhci_add_host() [all …]
|
A D | s3cmci.c | 422 from_ptr = host->base + host->sdidata; in do_pio_read() 439 host->pio_bytes, host->pio_ptr); in do_pio_read() 479 res = get_data_buffer(host, &host->pio_bytes, &host->pio_ptr); in do_pio_read() 501 to_ptr = host->base + host->sdidata; in do_pio_write() 641 cmd = host->cmd_is_stop ? host->mrq->stop : host->mrq->cmd; in s3cmci_irq() 1171 host->real_rate = host->clk_rate / (host->clk_div*(mci_psc+1)); in s3cmci_set_clk() 1568 host->base = ioremap(host->mem->start, resource_size(host->mem)); in s3cmci_probe() 1639 host->base, host->irq, host->irq_cd, host->dma); in s3cmci_probe() 1676 free_irq(host->irq, host); in s3cmci_probe() 1697 free_irq(host->irq_cd, host); in s3cmci_shutdown() [all …]
|
A D | wbsd.c | 88 outb(host->unlock_code, host->config); in wbsd_unlock_config() 89 outb(host->unlock_code, host->config); in wbsd_unlock_config() 152 host->clk = wbsd_read_index(host, WBSD_IDX_CLK); in wbsd_init_device() 246 host->remain = host->cur_sg->length; in wbsd_init_sg() 262 host->remain = host->cur_sg->length; in wbsd_next_sg() 412 buffer = wbsd_map_sg(host) + host->offset; in wbsd_empty_fifo() 478 buffer = wbsd_map_sg(host) + host->offset; in wbsd_fill_fifo() 621 set_dma_addr(host->dma, host->dma_addr); in wbsd_prepare_data() 734 wbsd_request_end(host, host->mrq); in wbsd_finish_data() 1381 host->dma_addr = dma_map_single(mmc_dev(host->mmc), host->dma_buffer, in wbsd_request_dma() [all …]
|
A D | dw_mmc.c | 172 struct dw_mci *host = slot->host; in dw_mci_init_debugfs() local 428 host->dma_ops->stop(host); in dw_mci_stop_dma() 429 host->dma_ops->cleanup(host); in dw_mci_stop_dma() 489 host->dma_ops->cleanup(host); in dw_mci_dmac_complete_dma() 1096 host->dma_ops->stop(host); in dw_mci_submit_data_dma() 1130 host->dma_ops->stop(host); in dw_mci_submit_data_dma() 2876 slot->host = host; in dw_mci_init_slot() 3380 host->fifo_reg = host->regs + host->data_addr_override; in dw_mci_probe() 3420 host->dma_ops->exit(host); in dw_mci_probe() 3448 host->dma_ops->exit(host); in dw_mci_remove() [all …]
|
A D | tmio_mmc_core.c | 57 host->dma_ops->start(host, data); in tmio_mmc_start_dma() 63 host->dma_ops->end(host); in tmio_mmc_end_dma() 86 host->dma_ops->release(host); in tmio_mmc_release_dma() 92 host->dma_ops->abort(host); in tmio_mmc_abort_dma() 98 host->dma_ops->dataend(host); in tmio_mmc_dataend_dma() 193 host->reset(host); in tmio_mmc_reset() 964 host->reset(host); in tmio_mmc_set_ios() 972 host->set_clock(host, 0); in tmio_mmc_set_ios() 1270 host->clk_disable(host); in tmio_mmc_clk_disable() 1280 host->set_clock(host, 0); in tmio_mmc_host_runtime_suspend() [all …]
|
A D | bcm2835.c | 267 writel(host->hcfg, host->ioaddr + SDHCFG); in bcm2835_reset_internal() 268 writel(host->cdiv, host->ioaddr + SDCDIV); in bcm2835_reset_internal() 533 host->hcfg = (host->hcfg & ~all_irqs) | in bcm2835_set_transfer_irqs() 536 host->hcfg = (host->hcfg & ~all_irqs) | in bcm2835_set_transfer_irqs() 541 writel(host->hcfg, host->ioaddr + SDHCFG); in bcm2835_set_transfer_irqs() 724 writel(host->hcfg, host->ioaddr + SDHCFG); in bcm2835_finish_data() 804 if (host->data && host->dma_desc) in bcm2835_finish_command() 945 writel(host->hcfg, host->ioaddr + SDHCFG); in bcm2835_data_irq() 1221 if (host->data && host->dma_desc) { in bcm2835_request() 1342 free_irq(host->irq, host); in bcm2835_add_host() [all …]
|
A D | usdhi6rol0.c | 299 err, host->wait, host->mrq ? host->mrq->cmd->opcode : -1); in usdhi6_error_code() 329 host->blk_page = host->bounce_buf; in usdhi6_blk_bounce() 351 host->offset = host->sg->offset; in usdhi6_sg_prep() 385 host->blk_page = host->pg.mapped; in usdhi6_sg_map() 388 host->pg.page, page_to_pfn(host->pg.page), host->pg.mapped, in usdhi6_sg_map() 445 host->blk_page = host->pg.mapped; in usdhi6_sg_advance() 506 host->pg.page = nth_page(sg_page(host->sg), host->page_idx); in usdhi6_sg_advance() 508 host->blk_page = host->pg.mapped; in usdhi6_sg_advance() 511 host->pg.page, page_to_pfn(host->pg.page), host->pg.mapped, in usdhi6_sg_advance() 777 if (host->imclk == rate || host->imclk == host->rate || !rate) in usdhi6_clk_set() [all …]
|
A D | omap.c | 199 struct mmc_omap_host *host = slot->host; in mmc_omap_select_slot() local 257 struct mmc_omap_host *host = slot->host; in mmc_omap_release_slot() local 619 mmc_omap_cmd_done(host, host->cmd); in mmc_omap_abort_command() 647 sg = host->data->sg + host->sg_idx; in mmc_omap_sg_to_buf() 670 BUG_ON(host->sg_idx == host->sg_len); in mmc_omap_xfer_data() 843 mmc_omap_cmd_done(host, host->cmd); in mmc_omap_irq() 1077 host->dma_tx : host->dma_rx; in mmc_omap_start_request() 1107 host = slot->host; in mmc_omap_set_power() 1237 slot->host = host; in mmc_omap_new_slot() 1451 free_irq(host->irq, host); in mmc_omap_probe() [all …]
|
A D | mxcmmc.c | 231 if (host->pdata && host->pdata->setpower) in mxcmci_set_power() 392 host->desc->callback_param = host; in mxcmci_start_cmd() 521 mxcmci_set_clk_rate(host, host->clock); in mxcmci_poll_status() 629 mxcmci_finish_request(host, host->req); in mxcmci_datawork() 633 mxcmci_finish_request(host, host->req); in mxcmci_datawork() 684 if (!host->data && host->req) { in mxcmci_cmd_done() 685 mxcmci_finish_request(host, host->req); in mxcmci_cmd_done() 693 if (!mxcmci_use_dma(host) && host->data) in mxcmci_cmd_done() 886 if (host->pdata && host->pdata->get_ro) in mxcmci_get_ro() 1137 if (host->pdata && host->pdata->init) { in mxcmci_probe() [all …]
|
A D | omap_hsmmc.c | 153 #define mmc_pdata(host) host->pdata argument 697 host->con = OMAP_HSMMC_READ(host->base, CON); in omap_hsmmc_context_save() 844 if (host->cmd && host->cmd->opcode == 6 && in omap_hsmmc_xfer_done() 873 if (host->mrq->sbc && (host->cmd == host->mrq->sbc) && in omap_hsmmc_cmd_done() 897 omap_hsmmc_request_done(host, host->mrq); in omap_hsmmc_cmd_done() 920 host->data->sg, host->data->sg_len, in omap_hsmmc_dma_cleanup() 1012 } else if (host->mrq && host->mrq->cmd) in hsmmc_command_incomplete() 1030 if (host->data || host->response_busy) { in omap_hsmmc_do_irq() 1058 omap_hsmmc_cmd_done(host, host->cmd); in omap_hsmmc_do_irq() 1432 host->clk_rate = clk_get_rate(host->fclk); in omap_hsmmc_request() [all …]
|
A D | atmel-mci.c | 694 host = from_timer(host, t, timer); in atmci_timeout_timer() 707 host->stop_transfer(host); in atmci_timeout_timer() 883 host->sg = sg_next(host->sg); in atmci_pdc_set_single_buf() 1305 host->submit_data(host, data); in atmci_start_request() 1564 WARN_ON(host->cmd || host->data); in atmci_request_end() 1686 host->stop_transfer(host); in atmci_detect_change() 1690 host->stop_transfer(host); in atmci_detect_change() 1772 host->stop_transfer(host); in atmci_tasklet_func() 1887 host->stop_transfer(host); in atmci_tasklet_func() 1904 host->stop_transfer(host); in atmci_tasklet_func() [all …]
|
A D | au1xmmc.c | 213 if (host->platdata && host->platdata->set_power) in au1xmmc_set_power() 214 host->platdata->set_power(host->mmc, state); in au1xmmc_set_power() 221 if (host->platdata && host->platdata->card_inserted) in au1xmmc_card_inserted() 222 return !!host->platdata->card_inserted(host->mmc); in au1xmmc_card_inserted() 447 if (host->pio.index < host->dma.len) { in au1xmmc_receive_pio() 1051 if (host->platdata && host->platdata->led) { in au1xmmc_probe() 1080 if (host->platdata && host->platdata->led) in au1xmmc_probe() 1102 free_irq(host->irq, host); in au1xmmc_probe() 1122 if (host->platdata && host->platdata->led) in au1xmmc_remove() 1128 host->platdata->cd_setup(host->mmc, 0); in au1xmmc_remove() [all …]
|
A D | mtk-sd.c | 930 msdc_set_timeout(host, host->timeout_ns, host->timeout_clks); in msdc_set_mclk() 1065 msdc_dma_setup(host, &host->dma, data); in msdc_start_data() 1494 host->mrq, host->mrq->cmd->opcode); in msdc_request_timeout() 1498 msdc_cmd_done(host, MSDC_INT_CMDTMO, host->mrq, in msdc_request_timeout() 2668 if (!host->dma.gpd || !host->dma.bd) { in msdc_drv_probe() 2672 msdc_init_gpd_bd(host, &host->dma); in msdc_drv_probe() 2689 host->cq_host->mmio = host->base + 0x800; in msdc_drv_probe() 2725 host->dma.gpd, host->dma.gpd_addr); in msdc_drv_probe() 2729 host->dma.bd, host->dma.bd_addr); in msdc_drv_probe() 2755 host->dma.gpd, host->dma.gpd_addr); in msdc_drv_remove() [all …]
|
A D | sh_mmcif.c | 258 #define sh_mmcif_host_to_dev(host) (&host->pd->dev) argument 430 host->chan_tx = sh_mmcif_request_dma_pdata(host, in sh_mmcif_request_dma() 432 host->chan_rx = sh_mmcif_request_dma_pdata(host, in sh_mmcif_request_dma() 445 if (!host->chan_tx || !host->chan_rx || in sh_mmcif_request_dma() 457 host->chan_tx = host->chan_rx = NULL; in sh_mmcif_request_dma() 588 host->state, host->wait_for); in sh_mmcif_error_manage() 592 host->state, host->wait_for); in sh_mmcif_error_manage() 596 host->state, host->wait_for); in sh_mmcif_error_manage() 606 host->sg_blkidx += host->blocksize; in sh_mmcif_next_block() 1022 host->mmc->f_max, host->mmc->f_min); in sh_mmcif_clk_setup() [all …]
|
A D | davinci_mmc.c | 219 host->buffer_bytes_left = sg_dma_len(host->sg); in mmc_davinci_sg_to_buf() 220 host->buffer = sg_virt(host->sg); in mmc_davinci_sg_to_buf() 221 if (host->buffer_bytes_left > host->bytes_left) in mmc_davinci_sg_to_buf() 222 host->buffer_bytes_left = host->bytes_left; in mmc_davinci_sg_to_buf() 232 host->sg = sg_next(host->data->sg); in davinci_fifo_data_trans() 580 host->sg = host->data->sg; in mmc_davinci_prepare_data() 872 if (host->cmd == NULL && host->data == NULL) { in mmc_davinci_irq() 927 davinci_fifo_data_trans(host, host->bytes_left); in mmc_davinci_irq() 1003 mmc_davinci_cmd_done(host, host->cmd); in mmc_davinci_irq() 1236 host->mmc_input_clk = clk_get_rate(host->clk); in davinci_mmcsd_probe() [all …]
|
A D | mmci.c | 414 host->cclk = host->mclk; in mmci_set_clkreg() 419 host->cclk = host->mclk; in mmci_set_clkreg() 430 host->cclk = host->mclk / (clk + 2); in mmci_set_clkreg() 449 host->mmc->actual_clock = host->cclk; in mmci_set_clkreg() 466 host->ops->dma_release(host); in mmci_dma_release() 476 if (host->ops->dma_setup(host)) in mmci_dma_setup() 583 host->ops->dma_finalize(host, data); in mmci_dma_finalize() 592 host->ops->dma_error(host); in mmci_dma_error() 854 mmci_dma_unmap(host, host->data); in mmci_dmae_error() 1689 mmci_request_end(host, host->mrq); in mmci_irq_thread() [all …]
|
A D | pxamci.c | 111 if (host->pdata && host->pdata->setpower) in pxamci_set_power() 143 writel(host->imask, host->base + MMC_I_MASK); in pxamci_enable_irq() 153 writel(host->imask, host->base + MMC_I_MASK); in pxamci_disable_irq() 260 writel(host->clkrt, host->base + MMC_CLKRT); in pxamci_start_cmd() 324 pxamci_finish_request(host, host->mrq); in pxamci_cmd_done() 366 pxamci_start_cmd(host, host->mrq->stop, host->cmdat); in pxamci_data_done() 368 pxamci_finish_request(host, host->mrq); in pxamci_data_done() 432 if (host->pdata && host->pdata->get_ro) in pxamci_get_ro() 508 host->clkrt, host->cmdat); in pxamci_set_ios() 665 host->clkrate = clk_get_rate(host->clk); in pxamci_probe() [all …]
|
A D | moxart-mmc.c | 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() 171 host->data_remain = host->cur_sg->length; in moxart_next_sg() 384 if ((host->data_len > host->fifo_width) && host->have_dma) in moxart_prepare_data() 413 moxart_send_command(host, host->mrq->cmd); in moxart_request() 416 if ((host->data_len > host->fifo_width) && host->have_dma) { in moxart_request() 472 if (host->is_removed && host->have_dma) { in moxart_irq() 504 host->rate = host->sysclk / (2 * (div + 1)); in moxart_set_ios() 505 if (host->rate > host->sysclk) in moxart_set_ios() [all …]
|
/linux/drivers/scsi/ |
A D | initio.c | 574 host->idmask = ~(1 << host->scsi_id); in initio_init() 597 outb(host->sconf1, host->addr + TUL_SConfig); in initio_init() 625 host->targets[i].sconfig0 = host->sconf1; in initio_init() 637 host->addr, host->pci_dev->irq, in initio_init() 638 host->bios_addr, host->scsi_id); in initio_init() 1150 host->jsint = inb(host->addr + TUL_SInt); in tulip_scsi() 2178 if (host->msg[0] != 2 || host->msg[1] != 3) in initio_msgin_extend() 2205 outb(host->msg[2], host->addr + TUL_SFifo); in initio_msgin_extend() 2413 host->jsint = inb(host->addr + TUL_SInt); in wait_tulip() 2459 host->jsint = inb(host->addr + TUL_SInt); in initio_wait_disc() [all …]
|
/linux/drivers/mmc/core/ |
A D | host.c | 47 if (!host->bus_ops) in mmc_host_class_prepare() 52 return host->bus_ops->pre_suspend(host); in mmc_host_class_prepare() 80 kfree(host); in mmc_host_classdev_release() 189 if (!host->need_retune || host->doing_retune || !host->card) in mmc_retune() 218 struct mmc_host *host = from_timer(host, t, retune_timer); in mmc_retune_timer() local 424 if (host->dsr_req && (host->dsr & ~0xffff)) { in mmc_of_parse() 427 host->dsr); in mmc_of_parse() 529 if (!host) in mmc_alloc_host() 544 kfree(host); in mmc_alloc_host() 551 dev_set_name(&host->class_dev, "mmc%d", host->index); in mmc_alloc_host() [all …]
|
A D | core.c | 260 host->cqe_ops->cqe_off(host); in __mmc_start_request() 262 host->ops->request(host, mrq); in __mmc_start_request() 446 mrq->host = host; in mmc_cqe_start_req() 894 host->ops->set_ios(host, ios); in mmc_set_ios() 931 host->cqe_ops->cqe_off(host); in mmc_execute_tuning() 977 host->cqe_ops->cqe_off(host); in mmc_set_initial_state() 997 host->ops->hs400_enhanced_strobe(host, &host->ios); in mmc_set_initial_state() 1224 if (host->ops->card_busy && !host->ops->card_busy(host)) { in mmc_set_uhs_voltage() 1245 if (host->ops->card_busy && host->ops->card_busy(host)) in mmc_set_uhs_voltage() 1993 host->ops->hw_reset(host); in mmc_hw_reset_for_init() [all …]
|
/linux/fs/lockd/ |
A D | host.c | 130 host = kmalloc(sizeof(*host), GFP_KERNEL); in nlm_alloc_host() 170 return host; in nlm_alloc_host() 266 host->h_name, host->h_addrbuf); in nlmclnt_lookup_host() 279 host->h_name, host->h_addrbuf); in nlmclnt_lookup_host() 383 __func__, host->h_name, host->h_addrbuf); in nlmsvc_lookup_host() 400 __func__, host->h_name, host->h_addrbuf); in nlmsvc_lookup_host() 433 host->h_name, host->h_addrbuf); in nlm_bind_host() 608 host->h_name, refcount_read(&host->h_count), in nlm_complain_hosts() 609 host->h_inuse, host->h_expires, host->net->ns.inum); in nlm_complain_hosts() 680 host->h_name, refcount_read(&host->h_count), in nlm_gc_hosts() [all …]
|
/linux/drivers/memstick/host/ |
A D | jmb38x_ms.c | 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() 234 writel(host->io_word[0], host->addr + DATA); in jmb38x_ms_write_data() 309 length = host->req->sg.length - host->block_pos; in jmb38x_ms_transfer_data() 310 off = host->req->sg.offset + host->block_pos; in jmb38x_ms_transfer_data() 312 length = host->req->data_len - host->block_pos; in jmb38x_ms_transfer_data() 329 buf = host->req->data + host->block_pos; in jmb38x_ms_transfer_data() 330 p_cnt = host->req->data_len - host->block_pos; in jmb38x_ms_transfer_data() 356 writel(host->io_word[0], host->addr + TPC_P0); in jmb38x_ms_transfer_data() 357 writel(host->io_word[1], host->addr + TPC_P1); in jmb38x_ms_transfer_data() [all …]
|
/linux/drivers/mtd/nand/raw/ |
A D | hisi504_nand.c | 273 host->cache_addr_value[0] = host->addr_value[0]; in hisi_nfc_send_cmd_readstart() 274 host->cache_addr_value[1] = host->addr_value[1]; in hisi_nfc_send_cmd_readstart() 367 return *(uint8_t *)(host->mmio + host->offset - 1); in hisi_nfc_read_byte() 369 return *(uint8_t *)(host->buffer + host->offset - 1); in hisi_nfc_read_byte() 377 memcpy(host->buffer + host->offset, buf, len); in hisi_nfc_write_buf() 385 memcpy(buf, host->buffer + host->offset, len); in hisi_nfc_read_buf() 483 hisi_nfc_send_cmd_reset(host, host->chipselect); in hisi_nfc_cmdfunc() 585 host->version = hinfc_read(host, HINFC_VERSION); in hisi_nfc_host_init() 699 host->buffer = dmam_alloc_coherent(host->dev, in hisi_nfc_attach_chip() 705 host->dma_oob = host->dma_buffer + mtd->writesize; in hisi_nfc_attach_chip() [all …]
|