| /linux-6.15/drivers/scsi/qla2xxx/ |
| H A D | qla_inline.h | 400 iores->res_type = RESOURCE_NONE; in qla_get_fw_resources() 403 if (iores->res_type & RESOURCE_FORCE) in qla_get_fw_resources() 415 iores->res_type = RESOURCE_NONE; in qla_get_fw_resources() 428 iores->res_type = RESOURCE_NONE; in qla_get_fw_resources() 436 iores->res_type = RESOURCE_NONE; in qla_get_fw_resources() 443 iores->res_type = RESOURCE_NONE; in qla_get_fw_resources() 455 iores->res_type |= RESOURCE_HA; in qla_get_fw_resources() 487 if (iores->res_type & RESOURCE_HA) { in qla_put_fw_resources() 488 if (iores->res_type & RESOURCE_IOCB) in qla_put_fw_resources() 491 if (iores->res_type & RESOURCE_EXCH) in qla_put_fw_resources() [all …]
|
| H A D | qla_iocb.c | 1593 sp->iores.exch_cnt = 1; in qla24xx_start_scsi() 1594 sp->iores.iocb_cnt = req_cnt; in qla24xx_start_scsi() 1800 sp->iores.exch_cnt = 1; in qla24xx_dif_start_scsi() 1960 sp->iores.exch_cnt = 1; in qla2xxx_start_scsi_mq() 1961 sp->iores.iocb_cnt = req_cnt; in qla2xxx_start_scsi_mq() 2182 sp->iores.exch_cnt = 1; in qla2xxx_dif_start_scsi_mq() 3857 sp->iores.res_type = RESOURCE_NONE; in qla_get_iocbs_resource() 3896 sp->iores.iocb_cnt = 1; in qla_get_iocbs_resource() 3899 sp->iores.exch_cnt = 1; in qla_get_iocbs_resource() 4298 sp->iores.exch_cnt = 1; in qla_start_scsi_type6() [all …]
|
| H A D | qla_nvme.c | 589 sp->iores.res_type = RESOURCE_IOCB | RESOURCE_EXCH; in qla2x00_start_nvme_mq() 590 sp->iores.exch_cnt = 1; in qla2x00_start_nvme_mq() 591 sp->iores.iocb_cnt = req_cnt; in qla2x00_start_nvme_mq() 592 if (qla_get_fw_resources(sp->qpair, &sp->iores)) { in qla2x00_start_nvme_mq() 755 qla_put_fw_resources(sp->qpair, &sp->iores); in qla2x00_start_nvme_mq()
|
| H A D | qla_edif.c | 3036 sp->iores.res_type = RESOURCE_IOCB | RESOURCE_EXCH; in qla28xx_start_scsi_edif() 3037 sp->iores.exch_cnt = 1; in qla28xx_start_scsi_edif() 3038 sp->iores.iocb_cnt = req_cnt; in qla28xx_start_scsi_edif() 3039 if (qla_get_fw_resources(sp->qpair, &sp->iores)) in qla28xx_start_scsi_edif() 3218 qla_put_fw_resources(sp->qpair, &sp->iores); in qla28xx_start_scsi_edif()
|
| H A D | qla_isr.c | 2054 qla_put_fw_resources(sp->qpair, &sp->iores); in qla_get_sp_from_handle() 3359 qla_put_fw_resources(sp->qpair, &sp->iores); in qla2x00_status_entry()
|
| H A D | qla_init.c | 131 qla_put_fw_resources(qpair, &sp->cmd_sp->iores); in qla24xx_abort_iocb_timeout() 138 qla_put_fw_resources(qpair, &sp->iores); in qla24xx_abort_iocb_timeout() 2032 qla_put_fw_resources(sp->qpair, &sp->iores); in qla2x00_tmf_iocb_timeout()
|
| H A D | qla_def.h | 727 struct iocb_resource iores; member
|
| /linux-6.15/drivers/char/tpm/ |
| H A D | tpm_crb.c | 559 if (!iores) in crb_map_res() 599 struct resource *iores; in crb_map_io() local 634 iores = NULL; in crb_map_io() 640 iores = iores_array + i; in crb_map_io() 659 if (iores && in crb_map_io() 684 iores = NULL; in crb_map_io() 689 iores = iores_array + i; in crb_map_io() 695 if (iores) in crb_map_io() 711 iores = NULL; in crb_map_io() 716 iores = iores_array + i; in crb_map_io() [all …]
|
| /linux-6.15/sound/soc/au1x/ |
| H A D | i2sc.c | 236 struct resource *iores, *dmares; in au1xi2s_drvprobe() local 243 iores = platform_get_resource(pdev, IORESOURCE_MEM, 0); in au1xi2s_drvprobe() 244 if (!iores) in au1xi2s_drvprobe() 247 if (!devm_request_mem_region(&pdev->dev, iores->start, in au1xi2s_drvprobe() 248 resource_size(iores), in au1xi2s_drvprobe() 252 ctx->mmio = devm_ioremap(&pdev->dev, iores->start, in au1xi2s_drvprobe() 253 resource_size(iores)); in au1xi2s_drvprobe()
|
| H A D | ac97c.c | 233 struct resource *iores, *dmares; in au1xac97c_drvprobe() local 242 iores = platform_get_resource(pdev, IORESOURCE_MEM, 0); in au1xac97c_drvprobe() 243 if (!iores) in au1xac97c_drvprobe() 246 if (!devm_request_mem_region(&pdev->dev, iores->start, in au1xac97c_drvprobe() 247 resource_size(iores), in au1xac97c_drvprobe() 251 ctx->mmio = devm_ioremap(&pdev->dev, iores->start, in au1xac97c_drvprobe() 252 resource_size(iores)); in au1xac97c_drvprobe()
|
| /linux-6.15/arch/powerpc/sysdev/ |
| H A D | fsl_rio.c | 604 port->iores = res; /* struct copy */ in fsl_rio_setup() 605 port->iores.name = "rio_io_win"; in fsl_rio_setup() 607 if (request_resource(&iomem_resource, &port->iores) < 0) { in fsl_rio_setup() 610 (u64)port->iores.start, (u64)port->iores.end); in fsl_rio_setup() 645 release_resource(&port->iores); in fsl_rio_setup() 682 port->iores.start >> 12); in fsl_rio_setup() 686 priv->maint_win = ioremap(port->iores.start, in fsl_rio_setup() 698 release_resource(&port->iores); in fsl_rio_setup()
|
| /linux-6.15/drivers/spmi/ |
| H A D | hisi-spmi-controller.c | 267 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() 284 spmi_controller->base = devm_ioremap(&pdev->dev, iores->start, in spmi_controller_probe() 285 resource_size(iores)); in spmi_controller_probe()
|
| /linux-6.15/drivers/iio/adc/ |
| H A D | mxs-lradc-adc.c | 694 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()
|
| /linux-6.15/drivers/net/ethernet/microchip/sparx5/ |
| H A D | sparx5_main.c | 273 struct resource *iores[IO_RANGES]; in sparx5_create_targets() local 288 iores[idx] = platform_get_resource(sparx5->pdev, IORESOURCE_MEM, in sparx5_create_targets() 290 if (!iores[idx]) { in sparx5_create_targets() 295 iores[idx]->start, in sparx5_create_targets() 296 resource_size(iores[idx])); in sparx5_create_targets() 299 iores[idx]->name); in sparx5_create_targets()
|
| /linux-6.15/drivers/net/ethernet/microchip/lan966x/ |
| H A D | lan966x_main.c | 70 struct resource *iores[IO_RANGES]; in lan966x_create_targets() local 80 iores[idx] = platform_get_resource(pdev, IORESOURCE_MEM, in lan966x_create_targets() 82 if (!iores[idx]) { in lan966x_create_targets() 88 iores[idx]->start, in lan966x_create_targets() 89 resource_size(iores[idx])); in lan966x_create_targets() 92 iores[idx]->name); in lan966x_create_targets()
|
| /linux-6.15/sound/pci/echoaudio/ |
| H A D | echoaudio.h | 350 struct resource *iores; member
|
| /linux-6.15/drivers/phy/microchip/ |
| H A D | sparx5_serdes.c | 2655 struct resource *iores; in sparx5_serdes_probe() local 2691 iores = platform_get_resource(pdev, IORESOURCE_MEM, 0); in sparx5_serdes_probe() 2692 if (!iores) { in sparx5_serdes_probe() 2696 iomem = devm_ioremap(priv->dev, iores->start, resource_size(iores)); in sparx5_serdes_probe() 2699 iores->name); in sparx5_serdes_probe()
|
| /linux-6.15/drivers/gpu/drm/bridge/synopsys/ |
| H A D | dw-hdmi.c | 3326 struct resource *iores = NULL; in dw_hdmi_probe() local 3388 iores = platform_get_resource(pdev, IORESOURCE_MEM, 0); in dw_hdmi_probe() 3389 hdmi->regs = devm_ioremap_resource(dev, iores); in dw_hdmi_probe() 3515 if (iores && config3 & HDMI_CONFIG3_AHBAUDDMA) { in dw_hdmi_probe() 3518 audio.phys = iores->start; in dw_hdmi_probe() 3546 } else if (iores && config3 & HDMI_CONFIG3_GPAUD) { in dw_hdmi_probe() 3549 audio.phys = iores->start; in dw_hdmi_probe()
|
| /linux-6.15/include/linux/ |
| H A D | rio.h | 272 struct resource iores; member
|