Searched refs:iores (Results 1 - 19 of 19) sorted by relevance

/linux-master/drivers/scsi/qla2xxx/
H A Dqla_inline.h393 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 Dqla_iocb.c1592 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 Dqla_nvme.c587 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 Dqla_edif.c3036 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 Dqla_isr.c2054 qla_put_fw_resources(sp->qpair, &sp->iores);
3365 qla_put_fw_resources(sp->qpair, &sp->iores);
H A Dqla_init.c131 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 Dqla_def.h727 struct iocb_resource iores; member in struct:srb
/linux-master/drivers/char/tpm/
H A Dtpm_crb.c502 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 Di2sc.c236 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 Dac97c.c233 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 Dhisi-spmi-controller.c267 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 Dfsl_rio.c604 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 Dmxs-lradc-adc.c694 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 Dsparx5_main.c219 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 Dlan966x_main.c70 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 Dechoaudio.h350 struct resource *iores; member in struct:echoaudio
/linux-master/include/linux/
H A Drio.h246 * @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 Dsparx5_serdes.c2541 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 Ddw-hdmi.c3352 struct resource *iores = NULL; local
3414 iores = platform_get_resource(pdev, IORESOURCE_MEM, 0);
3415 hdmi->regs = devm_ioremap_resource(dev, iores);
3561 if (iores && config3 & HDMI_CONFIG3_AHBAUDDMA) {
3564 audio.phys = iores->start;
3592 } else if (iores && config3 & HDMI_CONFIG3_GPAUD) {
3595 audio.phys = iores->start;

Completed in 363 milliseconds