/linux-master/drivers/scsi/qla2xxx/ |
H A D | qla_inline.h | 393 qla_get_fw_resources(struct qla_qpair *qp, struct iocb_resource *iores) argument 400 iores->res_type = RESOURCE_NONE; 403 if (iores->res_type & RESOURCE_FORCE) 406 if ((iores->iocb_cnt + qp->fwres.iocbs_used) >= qp->fwres.iocbs_qp_limit) { 414 if ((iores->iocb_cnt + iocbs_used) >= qp->fwres.iocbs_limit) { 415 iores->res_type = RESOURCE_NONE; 420 if (iores->res_type & RESOURCE_EXCH) { 427 if ((exch_used + iores->exch_cnt) >= qp->fwres.exch_limit) { 428 iores->res_type = RESOURCE_NONE; 434 if ((iores 483 qla_put_fw_resources(struct qla_qpair *qp, struct iocb_resource *iores) argument [all...] |
H A D | qla_iocb.c | 1592 sp->iores.res_type = RESOURCE_IOCB | RESOURCE_EXCH; 1593 sp->iores.exch_cnt = 1; 1594 sp->iores.iocb_cnt = req_cnt; 1595 if (qla_get_fw_resources(sp->qpair, &sp->iores)) 1682 qla_put_fw_resources(sp->qpair, &sp->iores); 1799 sp->iores.res_type = RESOURCE_IOCB | RESOURCE_EXCH; 1800 sp->iores.exch_cnt = 1; 1801 sp->iores.iocb_cnt = qla24xx_calc_iocbs(vha, tot_dsds); 1802 if (qla_get_fw_resources(sp->qpair, &sp->iores)) 1890 qla_put_fw_resources(sp->qpair, &sp->iores); [all...] |
H A D | qla_nvme.c | 587 sp->iores.res_type = RESOURCE_IOCB | RESOURCE_EXCH; 588 sp->iores.exch_cnt = 1; 589 sp->iores.iocb_cnt = req_cnt; 590 if (qla_get_fw_resources(sp->qpair, &sp->iores)) { 753 qla_put_fw_resources(sp->qpair, &sp->iores);
|
H A D | qla_edif.c | 3036 sp->iores.res_type = RESOURCE_IOCB | RESOURCE_EXCH; 3037 sp->iores.exch_cnt = 1; 3038 sp->iores.iocb_cnt = req_cnt; 3039 if (qla_get_fw_resources(sp->qpair, &sp->iores)) 3218 qla_put_fw_resources(sp->qpair, &sp->iores);
|
H A D | qla_isr.c | 2054 qla_put_fw_resources(sp->qpair, &sp->iores); 3365 qla_put_fw_resources(sp->qpair, &sp->iores);
|
H A D | qla_init.c | 131 qla_put_fw_resources(qpair, &sp->cmd_sp->iores); 138 qla_put_fw_resources(qpair, &sp->iores); 2020 qla_put_fw_resources(sp->qpair, &sp->iores);
|
H A D | qla_def.h | 727 struct iocb_resource iores; member in struct:srb
|
/linux-master/drivers/char/tpm/ |
H A D | tpm_crb.c | 502 static void __iomem *crb_map_res(struct device *dev, struct resource *iores, argument 515 if (!iores) 519 *iobase_ptr = devm_ioremap_resource(dev, iores); 524 return *iobase_ptr + (new_res.start - iores->start); 555 struct resource *iores; local 590 iores = NULL; 596 iores = iores_array + i; 602 priv->regs_t = crb_map_res(dev, iores, iobase_ptr, buf->control_address, 614 if (iores && 615 buf->control_address == iores [all...] |
/linux-master/sound/soc/au1x/ |
H A D | i2sc.c | 236 struct resource *iores, *dmares; local 243 iores = platform_get_resource(pdev, IORESOURCE_MEM, 0); 244 if (!iores) 247 if (!devm_request_mem_region(&pdev->dev, iores->start, 248 resource_size(iores), 252 ctx->mmio = devm_ioremap(&pdev->dev, iores->start, 253 resource_size(iores));
|
H A D | ac97c.c | 233 struct resource *iores, *dmares; local 242 iores = platform_get_resource(pdev, IORESOURCE_MEM, 0); 243 if (!iores) 246 if (!devm_request_mem_region(&pdev->dev, iores->start, 247 resource_size(iores), 251 ctx->mmio = devm_ioremap(&pdev->dev, iores->start, 252 resource_size(iores));
|
/linux-master/drivers/spmi/ |
H A D | hisi-spmi-controller.c | 267 struct resource *iores; local 278 iores = platform_get_resource(pdev, IORESOURCE_MEM, 0); 279 if (!iores) { 284 spmi_controller->base = devm_ioremap(&pdev->dev, iores->start, 285 resource_size(iores));
|
/linux-master/arch/powerpc/sysdev/ |
H A D | fsl_rio.c | 604 port->iores = res; /* struct copy */ 605 port->iores.name = "rio_io_win"; 607 if (request_resource(&iomem_resource, &port->iores) < 0) { 610 (u64)port->iores.start, (u64)port->iores.end); 645 release_resource(&port->iores); 682 port->iores.start >> 12); 686 priv->maint_win = ioremap(port->iores.start, 698 release_resource(&port->iores);
|
/linux-master/drivers/iio/adc/ |
H A D | mxs-lradc-adc.c | 694 struct resource *iores; local 710 iores = platform_get_resource(pdev, IORESOURCE_MEM, 0); 711 if (!iores) 714 adc->base = devm_ioremap(dev, iores->start, resource_size(iores));
|
/linux-master/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_main.c | 219 struct resource *iores[IO_RANGES]; local 234 iores[idx] = platform_get_resource(sparx5->pdev, IORESOURCE_MEM, 236 if (!iores[idx]) { 241 iores[idx]->start, 242 resource_size(iores[idx])); 245 iores[idx]->name);
|
/linux-master/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_main.c | 70 struct resource *iores[IO_RANGES]; local 80 iores[idx] = platform_get_resource(pdev, IORESOURCE_MEM, 82 if (!iores[idx]) { 88 iores[idx]->start, 89 resource_size(iores[idx])); 92 iores[idx]->name);
|
/linux-master/sound/pci/echoaudio/ |
H A D | echoaudio.h | 350 struct resource *iores; member in struct:echoaudio
|
/linux-master/include/linux/ |
H A D | rio.h | 246 * @iores: I/O mem resource that this master port interface owns 272 struct resource iores; member in struct:rio_mport
|
/linux-master/drivers/phy/microchip/ |
H A D | sparx5_serdes.c | 2541 struct resource *iores; local 2571 iores = platform_get_resource(pdev, IORESOURCE_MEM, 0); 2572 if (!iores) { 2576 iomem = devm_ioremap(priv->dev, iores->start, resource_size(iores)); 2579 iores->name);
|
/linux-master/drivers/gpu/drm/bridge/synopsys/ |
H A D | dw-hdmi.c | 3329 struct resource *iores = NULL; local 3391 iores = platform_get_resource(pdev, IORESOURCE_MEM, 0); 3392 hdmi->regs = devm_ioremap_resource(dev, iores); 3538 if (iores && config3 & HDMI_CONFIG3_AHBAUDDMA) { 3541 audio.phys = iores->start; 3569 } else if (iores && config3 & HDMI_CONFIG3_GPAUD) { 3572 audio.phys = iores->start;
|