| /linux/drivers/scsi/arm/ |
| A D | acornscsi.c | 330 host->host->host_no); in acornscsi_resetcard() 351 host->host->host_no); in acornscsi_resetcard() 356 host->host->host_no); in acornscsi_resetcard() 712 host->host->host_no, acornscsi_target(host))); in acornscsi_kick() 1570 host->host->host_no, acornscsi_target(host), in acornscsi_message() 1587 host->host->host_no, acornscsi_target(host), in acornscsi_message() 1627 host->host->host_no, acornscsi_target(host), in acornscsi_message() 1690 host->host->host_no, acornscsi_target(host)); in acornscsi_starttransfer() 1804 host->host->host_no, acornscsi_target(host))); in acornscsi_reconnect_finish() 2293 host->host->host_no, acornscsi_target(host)); in acornscsi_sbicintr() [all …]
|
| /linux/drivers/mmc/host/ |
| A D | sdhci.c | 114 host->ops->dump_vendor_regs(host); in sdhci_dumpregs() 245 host->ops->reset(host, mask); in sdhci_do_reset() 255 host->ops->enable_dma(host); in sdhci_reset_for_all() 2464 host->ops->set_clock(host, host->clock); in sdhci_set_ios() 2550 host->ops->hw_reset(host); in sdhci_hw_reset() 3096 host->ops->set_clock(host, host->clock); in sdhci_request_done() 3760 free_irq(host->irq, host); in sdhci_suspend_host() 3917 host->ier = host->cqe_ier; in sdhci_cqe_enable() 4385 host->max_clk = host->ops->get_max_clock(host); in sdhci_setup_host() 4858 free_irq(host->irq, host); in __sdhci_add_host() [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() 1377 host->dma_addr = dma_map_single(mmc_dev(host->mmc), host->dma_buffer, in wbsd_request_dma() [all …]
|
| A D | tmio_mmc_core.c | 58 host->dma_ops->start(host, data); in tmio_mmc_start_dma() 64 host->dma_ops->end(host); in tmio_mmc_end_dma() 87 host->dma_ops->release(host); in tmio_mmc_release_dma() 93 host->dma_ops->abort(host); in tmio_mmc_abort_dma() 99 host->dma_ops->dataend(host); in tmio_mmc_dataend_dma() 203 host->reset(host, preserve); in tmio_mmc_reset() 675 if (host->dma_ops && host->dma_ops->dma_irq && host->dma_ops->dma_irq(host)) in __tmio_mmc_sdcard_irq() 981 host->set_clock(host, 0); in tmio_mmc_set_ios() 1279 host->clk_disable(host); in tmio_mmc_clk_disable() 1289 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() 528 host->hcfg = (host->hcfg & ~all_irqs) | in bcm2835_set_transfer_irqs() 531 host->hcfg = (host->hcfg & ~all_irqs) | in bcm2835_set_transfer_irqs() 536 writel(host->hcfg, host->ioaddr + SDHCFG); in bcm2835_set_transfer_irqs() 719 writel(host->hcfg, host->ioaddr + SDHCFG); in bcm2835_finish_data() 799 if (host->data && host->dma_desc) in bcm2835_finish_command() 940 writel(host->hcfg, host->ioaddr + SDHCFG); in bcm2835_data_irq() 1213 if (host->data && host->dma_desc) { in bcm2835_request() 1332 free_irq(host->irq, host); in bcm2835_add_host() [all …]
|
| A D | dw_mmc.c | 171 struct dw_mci *host = slot->host; in dw_mci_init_debugfs() local 427 host->dma_ops->stop(host); in dw_mci_stop_dma() 428 host->dma_ops->cleanup(host); in dw_mci_stop_dma() 488 host->dma_ops->cleanup(host); in dw_mci_dmac_complete_dma() 1095 host->dma_ops->stop(host); in dw_mci_submit_data_dma() 1129 host->dma_ops->stop(host); in dw_mci_submit_data_dma() 2935 slot->host = host; in dw_mci_init_slot() 3446 host->fifo_reg = host->regs + host->data_addr_override; in dw_mci_probe() 3486 host->dma_ops->exit(host); in dw_mci_probe() 3514 host->dma_ops->exit(host); in dw_mci_remove() [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 | mxcmmc.c | 230 if (host->pdata && host->pdata->setpower) in mxcmci_set_power() 398 host->desc->callback_param = host; in mxcmci_start_cmd() 527 mxcmci_set_clk_rate(host, host->clock); in mxcmci_poll_status() 641 mxcmci_finish_request(host, host->req); in mxcmci_datawork() 645 mxcmci_finish_request(host, host->req); in mxcmci_datawork() 696 if (!host->data && host->req) { in mxcmci_cmd_done() 697 mxcmci_finish_request(host, host->req); in mxcmci_cmd_done() 705 if (!mxcmci_use_dma(host) && host->data) in mxcmci_cmd_done() 898 if (host->pdata && host->pdata->get_ro) in mxcmci_get_ro() 1148 if (host->pdata && host->pdata->init) { in mxcmci_probe() [all …]
|
| A D | omap.c | 203 struct mmc_omap_host *host = slot->host; in mmc_omap_select_slot() local 266 struct mmc_omap_host *host = slot->host; in mmc_omap_release_slot() local 596 mmc_omap_abort_xfer(host, host->data); in mmc_omap_cmd_done() 633 mmc_omap_cmd_done(host, host->cmd); in mmc_omap_abort_command() 848 mmc_omap_cmd_done(host, host->cmd); in mmc_omap_irq() 851 mmc_omap_xfer_done(host, host->data); in mmc_omap_irq() 1086 host->dma_tx : host->dma_rx; in mmc_omap_start_request() 1116 host = slot->host; in mmc_omap_set_power() 1266 slot->host = host; in mmc_omap_new_slot() 1503 free_irq(host->irq, host); in mmc_omap_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 | au1xmmc.c | 214 if (host->platdata && host->platdata->set_power) in au1xmmc_set_power() 215 host->platdata->set_power(host->mmc, state); in au1xmmc_set_power() 222 if (host->platdata && host->platdata->card_inserted) in au1xmmc_card_inserted() 223 return !!host->platdata->card_inserted(host->mmc); in au1xmmc_card_inserted() 448 if (host->pio.index < host->dma.len) { in au1xmmc_receive_pio() 1054 if (host->platdata && host->platdata->led) { in au1xmmc_probe() 1083 if (host->platdata && host->platdata->led) in au1xmmc_probe() 1106 free_irq(host->irq, host); in au1xmmc_probe() 1126 if (host->platdata && host->platdata->led) in au1xmmc_remove() 1132 host->platdata->cd_setup(host->mmc, 0); in au1xmmc_remove() [all …]
|
| A D | mtk-sd.c | 961 msdc_set_timeout(host, host->timeout_ns, host->timeout_clks); in msdc_set_mclk() 1096 msdc_dma_setup(host, &host->dma, data); in msdc_start_data() 1530 host->mrq, host->mrq->cmd->opcode); in msdc_request_timeout() 1534 msdc_cmd_done(host, MSDC_INT_CMDTMO, host->mrq, in msdc_request_timeout() 2876 if (!host->dma.gpd || !host->dma.bd) { in msdc_drv_probe() 2880 msdc_init_gpd_bd(host, &host->dma); in msdc_drv_probe() 2901 host->cq_host->mmio = host->base + 0x800; in msdc_drv_probe() 2939 host->dma.gpd, host->dma.gpd_addr); in msdc_drv_probe() 2943 host->dma.bd, host->dma.bd_addr); in msdc_drv_probe() 2969 host->dma.gpd, host->dma.gpd_addr); in msdc_drv_remove() [all …]
|
| A D | atmel-mci.c | 605 struct atmel_mci *host = slot->host; in atmci_init_debugfs() local 731 host->stop_transfer(host); in atmci_timeout_timer() 908 host->sg = sg_next(host->sg); in atmci_pdc_set_single_buf() 1331 host->submit_data(host, data); in atmci_start_request() 1593 WARN_ON(host->cmd || host->data); in atmci_request_end() 1713 host->stop_transfer(host); in atmci_detect_change() 1717 host->stop_transfer(host); in atmci_detect_change() 1798 host->stop_transfer(host); in atmci_work_func() 1907 host->stop_transfer(host); in atmci_work_func() 1924 host->stop_transfer(host); in atmci_work_func() [all …]
|
| A D | pxamci.c | 110 if (host->pdata && host->pdata->setpower) in pxamci_set_power() 142 writel(host->imask, host->base + MMC_I_MASK); in pxamci_enable_irq() 152 writel(host->imask, host->base + MMC_I_MASK); in pxamci_disable_irq() 323 pxamci_finish_request(host, host->mrq); in pxamci_cmd_done() 365 pxamci_start_cmd(host, host->mrq->stop, host->cmdat); in pxamci_data_done() 367 pxamci_finish_request(host, host->mrq); in pxamci_data_done() 431 if (host->pdata && host->pdata->get_ro) in pxamci_get_ro() 507 host->clkrt, host->cmdat); in pxamci_set_ios() 663 host->clkrate = clk_get_rate(host->clk); in pxamci_probe() 766 if (host->pdata && host->pdata->exit) in pxamci_probe() [all …]
|
| A D | sh_mmcif.c | 255 #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() 587 host->state, host->wait_for); in sh_mmcif_error_manage() 591 host->state, host->wait_for); in sh_mmcif_error_manage() 595 host->state, host->wait_for); in sh_mmcif_error_manage() 1051 host->mmc->f_max = f_max >> ffs(host->clkdiv_map); in sh_mmcif_clk_setup() 1061 host->mmc->f_max, host->mmc->f_min); in sh_mmcif_clk_setup() [all …]
|
| A D | mmci.c | 450 host->cclk = host->mclk; in mmci_set_clkreg() 455 host->cclk = host->mclk; in mmci_set_clkreg() 466 host->cclk = host->mclk / (clk + 2); in mmci_set_clkreg() 485 host->mmc->actual_clock = host->cclk; in mmci_set_clkreg() 502 host->ops->dma_release(host); in mmci_dma_release() 512 if (host->ops->dma_setup(host)) in mmci_dma_setup() 619 host->ops->dma_finalize(host, data); in mmci_dma_finalize() 628 host->ops->dma_error(host); in mmci_dma_error() 961 mmci_dma_unmap(host, host->data); in mmci_dmae_error() 1873 mmci_request_end(host, host->mrq); in mmci_irq_thread() [all …]
|
| A D | davinci_mmc.c | 284 host->cmd = cmd; in mmc_davinci_start_command() 361 if (!host->do_dma && host->bytes_left <= poll_threshold) { in mmc_davinci_start_command() 487 host->dma_tx = dma_request_chan(mmc_dev(host->mmc), "tx"); in davinci_acquire_dma_channels() 493 host->dma_rx = dma_request_chan(mmc_dev(host->mmc), "rx"); in davinci_acquire_dma_channels() 783 if (!data->stop || (host->cmd && host->cmd->error)) { in mmc_davinci_xfer_done() 865 if (host->cmd == NULL && host->data == NULL) { in mmc_davinci_irq() 921 davinci_fifo_data_trans(host, host->bytes_left); in mmc_davinci_irq() 998 mmc_davinci_cmd_done(host, host->cmd); in mmc_davinci_irq() 1152 if (!host) in mmc_davinci_parse_pdata() 1230 host->mmc_input_clk = clk_get_rate(host->clk); in davinci_mmcsd_probe() [all …]
|
| A D | alcor.c | 130 if (!host->sg) { in alcor_data_set_dma() 144 host->sg = sg_next(host->sg); in alcor_data_set_dma() 145 host->sg_count--; in alcor_data_set_dma() 214 host->blocks--; in alcor_trf_block_pio() 254 host->sg_count, host->blocks); in alcor_prepare_data() 269 host->cmd = cmd; in alcor_send_cmd() 323 if (!host->mrq) in alcor_request_complete() 419 if (!host->cmd) in alcor_cmd_irq_done() 514 if (!host->dma_on && host->blocks) { in alcor_data_irq_done() 543 (host->dma_on && !host->sg_count)) in alcor_data_irq_thread() [all …]
|
| /linux/drivers/scsi/ |
| A D | initio.c | 573 host->idmask = ~(1 << host->scsi_id); in initio_init() 596 outb(host->sconf1, host->addr + TUL_SConfig); in initio_init() 624 host->targets[i].sconfig0 = host->sconf1; in initio_init() 636 host->addr, host->pci_dev->irq, in initio_init() 637 host->bios_addr, host->scsi_id); in initio_init() 1149 host->jsint = inb(host->addr + TUL_SInt); in tulip_scsi() 2177 if (host->msg[0] != 2 || host->msg[1] != 3) in initio_msgin_extend() 2204 outb(host->msg[2], host->addr + TUL_SFifo); in initio_msgin_extend() 2412 host->jsint = inb(host->addr + TUL_SInt); in wait_tulip() 2458 host->jsint = inb(host->addr + TUL_SInt); in initio_wait_disc() [all …]
|
| /linux/drivers/mmc/core/ |
| A D | host.c | 51 return host->bus_ops->pre_suspend(host); in mmc_host_class_prepare() 79 kfree(host); in mmc_host_classdev_release() 187 if (!host->need_retune || host->doing_retune || !host->card) in mmc_retune() 216 struct mmc_host *host = from_timer(host, t, retune_timer); in mmc_retune_timer() local 420 if (host->dsr_req && (host->dsr & ~0xffff)) { in mmc_of_parse() 525 if (!host) in mmc_alloc_host() 548 dev_set_name(&host->class_dev, "mmc%d", host->index); in mmc_alloc_host() 583 return host; in mmc_alloc_host() 602 if (!host) { in devm_mmc_alloc_host() 607 *dr = host; in devm_mmc_alloc_host() [all …]
|
| A D | core.c | 259 host->cqe_ops->cqe_off(host); in __mmc_start_request() 261 host->ops->request(host, mrq); in __mmc_start_request() 445 mrq->host = host; in mmc_cqe_start_req() 898 host->ops->set_ios(host, ios); in mmc_set_ios() 935 host->cqe_ops->cqe_off(host); in mmc_execute_tuning() 983 host->cqe_ops->cqe_off(host); in mmc_set_initial_state() 1003 host->ops->hs400_enhanced_strobe(host, &host->ios); in mmc_set_initial_state() 1236 if (host->ops->card_busy && !host->ops->card_busy(host)) { in mmc_set_uhs_voltage() 1257 if (host->ops->card_busy && host->ops->card_busy(host)) in mmc_set_uhs_voltage() 2223 host->ops->card_event(host); in mmc_rescan() [all …]
|
| /linux/fs/lockd/ |
| A D | host.c | 129 host = kmalloc(sizeof(*host), GFP_KERNEL); in nlm_alloc_host() 169 return host; in nlm_alloc_host() 265 host->h_name, host->h_addrbuf); in nlmclnt_lookup_host() 278 host->h_name, host->h_addrbuf); in nlmclnt_lookup_host() 382 __func__, host->h_name, host->h_addrbuf); in nlmsvc_lookup_host() 399 __func__, host->h_name, host->h_addrbuf); in nlmsvc_lookup_host() 432 host->h_name, host->h_addrbuf); in nlm_bind_host() 607 host->h_name, refcount_read(&host->h_count), in nlm_complain_hosts() 608 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 …]
|
| A D | tifm_ms.c | 110 for (host->io_pos = 4; host->io_pos; --host->io_pos) { in tifm_ms_read_data() 130 host->io_word |= buf[off++] << (host->io_pos * 8); in tifm_ms_write_data() 191 length = host->req->sg.length - host->block_pos; in tifm_ms_transfer_data() 192 off = host->req->sg.offset + host->block_pos; in tifm_ms_transfer_data() 194 length = host->req->data_len - host->block_pos; in tifm_ms_transfer_data() 213 buf = host->req->data + host->block_pos; in tifm_ms_transfer_data() 214 p_cnt = host->req->data_len - host->block_pos; in tifm_ms_transfer_data() 311 mod_timer(&host->timer, jiffies + host->timeout_jiffies); in tifm_ms_issue_cmd() 343 host->req->int_reg = (host->req->int_reg & 1) in tifm_ms_complete_cmd() 538 struct tifm_ms *host = from_timer(host, t, timer); in tifm_ms_abort() local [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 …]
|