Home
last modified time | relevance | path

Searched refs:iores (Results 1 – 15 of 15) sorted by relevance

/drivers/char/tpm/
Dtpm_crb.c456 static void __iomem *crb_map_res(struct device *dev, struct resource *iores, in crb_map_res() argument
469 if (!iores) in crb_map_res()
473 *iobase_ptr = devm_ioremap_resource(dev, iores); in crb_map_res()
478 return *iobase_ptr + (new_res.start - iores->start); in crb_map_res()
509 struct resource *iores; in crb_map_io() local
538 iores = NULL; in crb_map_io()
544 iores = iores_array + i; in crb_map_io()
550 priv->regs_t = crb_map_res(dev, iores, iobase_ptr, buf->control_address, in crb_map_io()
562 if (iores && in crb_map_io()
563 buf->control_address == iores->start + in crb_map_io()
[all …]
/drivers/scsi/qla2xxx/
Dqla_inline.h390 qla_get_iocbs(struct qla_qpair *qp, struct iocb_resource *iores) in qla_get_iocbs() argument
396 iores->res_type = RESOURCE_NONE; in qla_get_iocbs()
400 if ((iores->iocb_cnt + qp->fwres.iocbs_used) < qp->fwres.iocbs_qp_limit) { in qla_get_iocbs()
401 qp->fwres.iocbs_used += iores->iocb_cnt; in qla_get_iocbs()
411 if ((iores->iocb_cnt + iocbs_used) < qp->fwres.iocbs_limit) { in qla_get_iocbs()
412 qp->fwres.iocbs_used += iores->iocb_cnt; in qla_get_iocbs()
415 iores->res_type = RESOURCE_NONE; in qla_get_iocbs()
422 qla_put_iocbs(struct qla_qpair *qp, struct iocb_resource *iores) in qla_put_iocbs() argument
424 switch (iores->res_type) { in qla_put_iocbs()
428 if (qp->fwres.iocbs_used >= iores->iocb_cnt) { in qla_put_iocbs()
[all …]
Dqla_iocb.c1641 sp->iores.res_type = RESOURCE_INI; in qla24xx_start_scsi()
1642 sp->iores.iocb_cnt = req_cnt; in qla24xx_start_scsi()
1643 if (qla_get_iocbs(sp->qpair, &sp->iores)) in qla24xx_start_scsi()
1724 qla_put_iocbs(sp->qpair, &sp->iores); in qla24xx_start_scsi()
1839 sp->iores.res_type = RESOURCE_INI; in qla24xx_dif_start_scsi()
1840 sp->iores.iocb_cnt = qla24xx_calc_iocbs(vha, tot_dsds); in qla24xx_dif_start_scsi()
1841 if (qla_get_iocbs(sp->qpair, &sp->iores)) in qla24xx_dif_start_scsi()
1923 qla_put_iocbs(sp->qpair, &sp->iores); in qla24xx_dif_start_scsi()
1987 sp->iores.res_type = RESOURCE_INI; in qla2xxx_start_scsi_mq()
1988 sp->iores.iocb_cnt = req_cnt; in qla2xxx_start_scsi_mq()
[all …]
Dqla_isr.c2912 qla_put_iocbs(sp->qpair, &sp->iores); in qla2x00_status_entry()
3324 qla_put_iocbs(sp->qpair, &sp->iores); in qla2x00_error_entry()
Dqla_def.h640 struct iocb_resource iores; member
/drivers/staging/hikey9xx/
Dhisi-spmi-controller.c267 struct resource *iores; in spmi_controller_probe() local
278 iores = platform_get_resource(pdev, IORESOURCE_MEM, 0); in spmi_controller_probe()
279 if (!iores) { in spmi_controller_probe()
285 spmi_controller->base = devm_ioremap(&pdev->dev, iores->start, in spmi_controller_probe()
286 resource_size(iores)); in spmi_controller_probe()
/drivers/iio/adc/
Dmxs-lradc-adc.c694 struct resource *iores; in mxs_lradc_adc_probe() local
710 iores = platform_get_resource(pdev, IORESOURCE_MEM, 0); in mxs_lradc_adc_probe()
711 if (!iores) in mxs_lradc_adc_probe()
714 adc->base = devm_ioremap(dev, iores->start, resource_size(iores)); in mxs_lradc_adc_probe()
/drivers/dma/
Dmmp_tdma.c642 struct resource *iores; in mmp_tdma_probe() local
666 iores = platform_get_resource(pdev, IORESOURCE_MEM, 0); in mmp_tdma_probe()
667 tdev->base = devm_ioremap_resource(&pdev->dev, iores); in mmp_tdma_probe()
Dmxs-dma.c749 struct resource *iores; in mxs_dma_probe() local
766 iores = platform_get_resource(pdev, IORESOURCE_MEM, 0); in mxs_dma_probe()
767 mxs_dma->base = devm_ioremap_resource(&pdev->dev, iores); in mxs_dma_probe()
Dmmp_pdma.c1026 struct resource *iores; in mmp_pdma_probe() local
1041 iores = platform_get_resource(op, IORESOURCE_MEM, 0); in mmp_pdma_probe()
1042 pdev->base = devm_ioremap_resource(pdev->dev, iores); in mmp_pdma_probe()
Dpxa_dma.c1350 struct resource *iores; in pxad_probe() local
1362 iores = platform_get_resource(op, IORESOURCE_MEM, 0); in pxad_probe()
1363 pdev->base = devm_ioremap_resource(&op->dev, iores); in pxad_probe()
Dimx-sdma.c1984 struct resource *iores; in sdma_probe() local
2019 iores = platform_get_resource(pdev, IORESOURCE_MEM, 0); in sdma_probe()
2020 sdma->regs = devm_ioremap_resource(&pdev->dev, iores); in sdma_probe()
/drivers/gpu/drm/rockchip/
Dinno_hdmi.c813 struct resource *iores; in inno_hdmi_bind() local
824 iores = platform_get_resource(pdev, IORESOURCE_MEM, 0); in inno_hdmi_bind()
825 hdmi->regs = devm_ioremap_resource(dev, iores); in inno_hdmi_bind()
/drivers/dma/qcom/
Dbam_dma.c1230 struct resource *iores; in bam_dma_probe() local
1247 iores = platform_get_resource(pdev, IORESOURCE_MEM, 0); in bam_dma_probe()
1248 bdev->regs = devm_ioremap_resource(&pdev->dev, iores); in bam_dma_probe()
/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi.c3200 struct resource *iores = NULL; in dw_hdmi_probe() local
3257 iores = platform_get_resource(pdev, IORESOURCE_MEM, 0); in dw_hdmi_probe()
3258 hdmi->regs = devm_ioremap_resource(dev, iores); in dw_hdmi_probe()
3403 if (iores && config3 & HDMI_CONFIG3_AHBAUDDMA) { in dw_hdmi_probe()
3406 audio.phys = iores->start; in dw_hdmi_probe()