| /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 …]
|
| /drivers/mmc/host/ |
| A D | sdhci.c | 112 host->ops->dump_uhs2_regs(host); in sdhci_dumpregs() 247 host->ops->reset(host, mask); in sdhci_do_reset() 258 host->ops->enable_dma(host); in sdhci_reset_for_all() 2507 host->ops->set_clock(host, host->clock); in sdhci_set_ios() 2593 host->ops->hw_reset(host); in sdhci_hw_reset() 3187 host->ops->set_clock(host, host->clock); in sdhci_request_done() 3814 free_irq(host->irq, host); in sdhci_suspend_host() 3967 host->ier = host->cqe_ier; in sdhci_cqe_enable() 4438 host->max_clk = host->ops->get_max_clock(host); in sdhci_setup_host() 4911 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() 1375 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() 202 host->reset(host, preserve); in tmio_mmc_reset() 673 if (host->dma_ops && host->dma_ops->dma_irq && host->dma_ops->dma_irq(host)) in __tmio_mmc_sdcard_irq() 700 host->sdio_irq(host); in __tmio_mmc_sdio_irq() 982 host->set_clock(host, 0); in tmio_mmc_set_ios() 1268 host->clk_disable(host); in tmio_mmc_clk_disable() [all …]
|
| A D | bcm2835.c | 269 writel(host->hcfg, host->ioaddr + SDHCFG); in bcm2835_reset_internal() 270 writel(host->cdiv, host->ioaddr + SDCDIV); in bcm2835_reset_internal() 530 host->hcfg = (host->hcfg & ~all_irqs) | in bcm2835_set_transfer_irqs() 533 host->hcfg = (host->hcfg & ~all_irqs) | in bcm2835_set_transfer_irqs() 538 writel(host->hcfg, host->ioaddr + SDHCFG); in bcm2835_set_transfer_irqs() 721 writel(host->hcfg, host->ioaddr + SDHCFG); in bcm2835_finish_data() 801 if (host->data && host->dma_desc) in bcm2835_finish_command() 1215 if (host->data && host->dma_desc) { in bcm2835_request() 1334 free_irq(host->irq, host); in bcm2835_add_host() 1436 host->max_clk = clk_get_rate(host->clk); in bcm2835_probe() [all …]
|
| A D | dw_mmc.c | 171 struct dw_mci *host = slot->host; in dw_mci_init_debugfs() local 236 struct dw_mci *host = slot->host; in mci_send_cmd() 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() 3019 slot->host = host; in dw_mci_init_slot() 3530 host->fifo_reg = host->regs + host->data_addr_override; in dw_mci_probe() 3570 host->dma_ops->exit(host); in dw_mci_probe() [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() 1142 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() 849 mmc_omap_cmd_done(host, host->cmd); in mmc_omap_irq() 852 mmc_omap_xfer_done(host, host->data); in mmc_omap_irq() 1087 host->dma_tx : host->dma_rx; in mmc_omap_start_request() 1117 host = slot->host; in mmc_omap_set_power() 1267 slot->host = host; in mmc_omap_new_slot() 1504 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() 1053 if (host->platdata && host->platdata->led) { in au1xmmc_probe() 1082 if (host->platdata && host->platdata->led) in au1xmmc_probe() 1105 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 | 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() 1714 host->stop_transfer(host); in atmci_detect_change() 1718 host->stop_transfer(host); in atmci_detect_change() 1799 host->stop_transfer(host); in atmci_work_func() 1908 host->stop_transfer(host); in atmci_work_func() 1925 host->stop_transfer(host); in atmci_work_func() [all …]
|
| A D | mtk-sd.c | 1079 msdc_set_timeout(host, host->timeout_ns, host->timeout_clks); in msdc_set_mclk() 1218 msdc_dma_setup(host, &host->dma, data); in msdc_start_data() 1489 WARN_ON(!host->hsq_en && host->mrq); in msdc_ops_request() 1687 host->mrq, host->mrq->cmd->opcode); in msdc_request_timeout() 3099 if (!host->dma.gpd || !host->dma.bd) { in msdc_drv_probe() 3103 msdc_init_gpd_bd(host, &host->dma); in msdc_drv_probe() 3124 host->cq_host->mmio = host->base + 0x800; in msdc_drv_probe() 3177 host->dma.gpd, host->dma.gpd_addr); in msdc_drv_probe() 3181 host->dma.bd, host->dma.bd_addr); in msdc_drv_probe() 3204 host->dma.gpd, host->dma.gpd_addr); in msdc_drv_remove() [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() 443 if (!host->chan_tx || !host->chan_rx || in sh_mmcif_request_dma() 458 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() 1052 host->mmc->f_max = f_max >> ffs(host->clkdiv_map); in sh_mmcif_clk_setup() 1062 host->mmc->f_max, host->mmc->f_min); in sh_mmcif_clk_setup() [all …]
|
| A D | sdhci-uhs2.c | 117 sdhci_writel(host, host->ier, SDHCI_INT_ENABLE); in sdhci_uhs2_reset_cmd_data() 118 sdhci_writel(host, host->ier, SDHCI_SIGNAL_ENABLE); in sdhci_uhs2_reset_cmd_data() 298 sdhci_set_clock(host, host->clock); in __sdhci_uhs2_set_ios() 417 host->ops->uhs2_pre_detect_init(host); in sdhci_uhs2_do_detect_init() 436 sdhci_writel(host, host->ier, SDHCI_INT_ENABLE); in sdhci_uhs2_do_detect_init() 754 present = host->mmc->ops->get_cd(host->mmc); in sdhci_uhs2_send_command_retry() 855 if (host->data && host->data_early) in sdhci_uhs2_finish_command() 951 if (host->cmd || host->data_cmd) { in sdhci_uhs2_request_done() 968 host->ops->request_done(host, mrq); in sdhci_uhs2_request_done() 1039 if (host->data && host->data->error) in __sdhci_uhs2_irq() [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() 660 host->clkrate = clk_get_rate(host->clk); in pxamci_probe() 760 if (host->pdata && host->pdata->exit) in pxamci_probe() [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 | 283 host->cmd = cmd; in mmc_davinci_start_command() 360 if (!host->do_dma && host->bytes_left <= poll_threshold) { in mmc_davinci_start_command() 486 host->dma_tx = dma_request_chan(mmc_dev(host->mmc), "tx"); in davinci_acquire_dma_channels() 492 host->dma_rx = dma_request_chan(mmc_dev(host->mmc), "rx"); in davinci_acquire_dma_channels() 782 if (!data->stop || (host->cmd && host->cmd->error)) { in mmc_davinci_xfer_done() 864 if (host->cmd == NULL && host->data == NULL) { in mmc_davinci_irq() 920 davinci_fifo_data_trans(host, host->bytes_left); in mmc_davinci_irq() 997 mmc_davinci_cmd_done(host, host->cmd); in mmc_davinci_irq() 1151 if (!host) in mmc_davinci_parse_pdata() 1226 host->mmc_input_clk = clk_get_rate(host->clk); in davinci_mmcsd_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() 259 return (host->data_len > host->fifo_width) && host->have_dma; in moxart_use_dma() 388 writel(host->rate, host->base + REG_DATA_TIMER); in moxart_prepare_data() 412 moxart_send_command(host, host->mrq->cmd); in moxart_request() 471 if (host->is_removed && host->have_dma) { in moxart_irq() 503 host->rate = host->sysclk / (2 * (div + 1)); in moxart_set_ios() 504 if (host->rate > host->sysclk) in moxart_set_ios() [all …]
|
| A D | alcor.c | 131 if (!host->sg) { in alcor_data_set_dma() 145 host->sg = sg_next(host->sg); in alcor_data_set_dma() 146 host->sg_count--; in alcor_data_set_dma() 215 host->blocks--; in alcor_trf_block_pio() 255 host->sg_count, host->blocks); in alcor_prepare_data() 270 host->cmd = cmd; in alcor_send_cmd() 324 if (!host->mrq) in alcor_request_complete() 420 if (!host->cmd) in alcor_cmd_irq_done() 515 if (!host->dma_on && host->blocks) { in alcor_data_irq_done() 544 (host->dma_on && !host->sg_count)) in alcor_data_irq_thread() [all …]
|
| /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 …]
|
| /drivers/mmc/core/ |
| A D | core.c | 258 host->cqe_ops->cqe_off(host); in __mmc_start_request() 260 host->ops->request(host, mrq); in __mmc_start_request() 450 mrq->host = host; in mmc_cqe_start_req() 903 host->ops->set_ios(host, ios); in mmc_set_ios() 940 host->cqe_ops->cqe_off(host); in mmc_execute_tuning() 988 host->cqe_ops->cqe_off(host); in mmc_set_initial_state() 1008 host->ops->hs400_enhanced_strobe(host, &host->ios); in mmc_set_initial_state() 1241 if (host->ops->card_busy && !host->ops->card_busy(host)) { in mmc_set_uhs_voltage() 1262 if (host->ops->card_busy && host->ops->card_busy(host)) in mmc_set_uhs_voltage() 2235 host->ops->card_event(host); in mmc_rescan() [all …]
|
| A D | host.c | 50 return host->bus_ops->pre_suspend(host); in mmc_host_class_prepare() 78 kfree(host); in mmc_host_classdev_release() 186 if (!host->need_retune || host->doing_retune || !host->card) in mmc_retune() 419 if (host->dsr_req && (host->dsr & ~0xffff)) { in mmc_of_parse() 524 if (!host) in mmc_alloc_host() 547 dev_set_name(&host->class_dev, "mmc%d", host->index); in mmc_alloc_host() 582 return host; in mmc_alloc_host() 601 if (!host) { in devm_mmc_alloc_host() 606 *dr = host; in devm_mmc_alloc_host() 609 return host; in devm_mmc_alloc_host() [all …]
|
| /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 …]
|
| /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 …]
|