/openbmc/linux/drivers/pci/ |
H A D | bus.c | 69 return bus->resource[n]; in pci_bus_resource_n() 86 if (bus->resource[i] == res) { in pci_bus_remove_resource() 87 bus->resource[i] = NULL; in pci_bus_remove_resource() 107 bus->resource[i] = NULL; in pci_bus_remove_resources() 119 struct resource *parent, *res; in devm_request_pci_bus_resources() 159 struct resource *res, in pci_clip_resource_to_region() 180 const struct resource *, in pci_bus_alloc_from_region() argument 186 struct resource *r, avail; in pci_bus_alloc_from_region() 254 const struct resource *, in pci_bus_alloc_resource() argument 290 struct resource *res = &dev->resource[idx]; in pci_bus_clip_resource() [all …]
|
/openbmc/linux/arch/sh/kernel/cpu/sh3/ |
H A D | setup-sh7720.c | 25 static struct resource rtc_resources[] = { 46 .resource = rtc_resources, 58 static struct resource scif0_resources[] = { 66 .resource = scif0_resources, 79 static struct resource scif1_resources[] = { 87 .resource = scif1_resources, 120 .resource = usb_ohci_resources, 146 .resource = usbf_resources, 153 static struct resource cmt_resources[] = { 164 .resource = cmt_resources, [all …]
|
/openbmc/linux/Documentation/networking/devlink/ |
H A D | devlink-resource.rst | 9 resource, as well as how much of the given resource is currently 21 Each resource is represented by an id, and contains information about its 22 current size and related sub resources. To access a sub resource, you 23 specify the path of the resource. For example ``/IPv4/fib`` is the id for 24 the ``fib`` sub-resource under the ``IPv4`` resource. 47 $devlink resource show pci/0000:03:00.0 55 Some resource's size can be changed. Examples: 59 $devlink resource set pci/0000:03:00.0 path /kvd/hash_single size 73088 60 $devlink resource set pci/0000:03:00.0 path /kvd/hash_double size 74368 67 $devlink resource show pci/0000:03:00.0 [all …]
|
/openbmc/linux/arch/arm/mach-omap1/ |
H A D | gpio16xx.c | 28 static struct resource omap16xx_mpu_gpio_resources[] = { 65 .resource = omap16xx_mpu_gpio_resources, 69 static struct resource omap16xx_gpio1_resources[] = { 109 .resource = omap16xx_gpio1_resources, 113 static struct resource omap16xx_gpio2_resources[] = { 137 .resource = omap16xx_gpio2_resources, 141 static struct resource omap16xx_gpio3_resources[] = { 165 .resource = omap16xx_gpio3_resources, 169 static struct resource omap16xx_gpio4_resources[] = { 193 .resource = omap16xx_gpio4_resources, [all …]
|
/openbmc/linux/drivers/bus/fsl-mc/ |
H A D | mc-io.c | 74 struct resource *res; in fsl_create_mc_io() 175 struct fsl_mc_resource *resource = NULL; in fsl_mc_portal_allocate() local 189 error = fsl_mc_resource_allocate(mc_bus, FSL_MC_POOL_DPMCP, &resource); in fsl_mc_portal_allocate() 194 dpmcp_dev = resource->data; in fsl_mc_portal_allocate() 231 fsl_mc_resource_free(resource); in fsl_mc_portal_allocate() 245 struct fsl_mc_resource *resource; in fsl_mc_portal_free() local 253 resource = dpmcp_dev->resource; in fsl_mc_portal_free() 254 if (!resource || resource->type != FSL_MC_POOL_DPMCP) in fsl_mc_portal_free() 257 if (resource->data != dpmcp_dev) in fsl_mc_portal_free() 261 fsl_mc_resource_free(resource); in fsl_mc_portal_free()
|
/openbmc/linux/arch/mips/loongson32/common/ |
H A D | platform.c | 146 static struct resource ls1x_eth0_resources[] = { 163 .resource = ls1x_eth0_resources, 183 static struct resource ls1x_eth1_resources[] = { 200 .resource = ls1x_eth1_resources, 208 static struct resource ls1x_gpio0_resources[] = { 220 .resource = ls1x_gpio0_resources, 235 .resource = ls1x_gpio1_resources, 241 static struct resource ls1x_ehci_resources[] = { 260 .resource = ls1x_ehci_resources, 274 static struct resource ls1x_wdt_resources[] = { [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/edac/ |
H A D | apm-xgene-edac.txt | 15 - regmap-csw : Regmap of the CPU switch fabric (CSW) resource. 16 - regmap-mcba : Regmap of the MCB-A (memory bridge) resource. 17 - regmap-mcbb : Regmap of the MCB-B (memory bridge) resource. 18 - regmap-efuse : Regmap of the PMD efuse resource. 19 - regmap-rb : Regmap of the register bus resource. This property 23 - reg : First resource shall be the CPU bus (PCP) resource. 29 - reg : First resource shall be the memory controller unit 30 (MCU) resource. 36 - reg : First resource shall be the PMD resource. 42 - reg : First resource shall be the L3 EDAC resource. [all …]
|
/openbmc/linux/arch/sh/kernel/cpu/sh4a/ |
H A D | setup-sh7724.c | 304 .resource = scif0_resources, 325 .resource = scif1_resources, 441 .resource = rtc_resources, 513 .resource = vpu_resources, 542 .resource = veu0_resources, 571 .resource = veu1_resources, 600 .resource = beu0_resources, 629 .resource = beu1_resources, 648 .resource = cmt_resources, 669 .resource = tmu0_resources, [all …]
|
H A D | setup-sh7770.c | 29 .resource = scif0_resources, 49 .resource = scif1_resources, 69 .resource = scif2_resources, 89 .resource = scif3_resources, 109 .resource = scif4_resources, 129 .resource = scif5_resources, 149 .resource = scif6_resources, 169 .resource = scif7_resources, 233 .resource = tmu0_resources, 254 .resource = tmu1_resources, [all …]
|
H A D | setup-sh7722.c | 194 .resource = scif0_resources, 216 .resource = scif1_resources, 238 .resource = scif2_resources, 272 .resource = rtc_resources, 302 .resource = usbf_resources, 350 .resource = vpu_resources, 378 .resource = veu_resources, 406 .resource = jpu_resources, 425 .resource = cmt_resources, 446 .resource = tmu0_resources, [all …]
|
H A D | setup-sh7734.c | 39 .resource = scif0_resources, 60 .resource = scif1_resources, 81 .resource = scif2_resources, 102 .resource = scif3_resources, 123 .resource = scif4_resources, 144 .resource = scif5_resources, 169 .resource = rtc_resources, 190 .resource = i2c0_resources, 211 .resource = tmu0_resources, 232 .resource = tmu1_resources, [all …]
|
H A D | setup-sh7366.c | 25 static struct resource scif0_resources[] = { 33 .resource = scif0_resources, 40 static struct resource iic_resources[] = { 58 .resource = iic_resources, 87 .resource = usb_host_resources, 96 static struct resource vpu_resources[] = { 114 .resource = vpu_resources, 142 .resource = veu0_resources, 170 .resource = veu1_resources, 189 .resource = cmt_resources, [all …]
|
/openbmc/linux/kernel/ |
H A D | resource_kunit.c | 22 static struct resource r0 = { .start = R0_START, .end = R0_END }; 23 static struct resource r1 = { .start = R1_START, .end = R1_END }; 24 static struct resource r2 = { .start = R2_START, .end = R2_END }; 25 static struct resource r3 = { .start = R3_START, .end = R3_END }; 29 struct resource *r1; 30 struct resource *r2; 31 struct resource r; 84 bool exp_ret, struct resource *exp_r, in resource_do_test() 85 struct resource *r1, struct resource *r2) in resource_do_test() 94 struct resource result; in resource_do_union_test() [all …]
|
/openbmc/linux/arch/sh/boards/mach-r2d/ |
H A D | setup.c | 26 static struct resource cf_ide_resources[] = { 53 .resource = cf_ide_resources, 78 static struct resource spi_sh_sci_resources[] = { 90 .resource = spi_sh_sci_resources, 96 static struct resource heartbeat_resources[] = { 108 .resource = heartbeat_resources, 111 static struct resource sm501_resources[] = { 181 .resource = sm501_resources, 212 static struct resource flash_resource = { 221 .resource = &flash_resource, [all …]
|
/openbmc/linux/security/apparmor/ |
H A D | resource.c | 57 struct aa_profile *profile, unsigned int resource, in audit_resource() argument 65 ad.rlim.rlim = resource; in audit_resource() 83 int aa_map_resource(int resource) in aa_map_resource() argument 85 return rlim_map[resource]; in aa_map_resource() 89 struct aa_profile *profile, unsigned int resource, in profile_setrlimit() argument 96 if (rules->rlimits.mask & (1 << resource) && new_rlim->rlim_max > in profile_setrlimit() 97 rules->rlimits.limits[resource].rlim_max) in profile_setrlimit() 99 return audit_resource(subj_cred, profile, resource, new_rlim->rlim_max, in profile_setrlimit() 117 unsigned int resource, struct rlimit *new_rlim) in aa_task_setrlimit() argument 137 audit_resource(subj_cred, profile, resource, in aa_task_setrlimit() [all …]
|
/openbmc/linux/arch/sh/boards/ |
H A D | board-edosk7760.c | 59 static struct resource edosk7760_nor_flash_resources[] = { 70 .resource = edosk7760_nor_flash_resources, 82 static struct resource sh7760_i2c1_res[] = { 101 .resource = sh7760_i2c1_res, 105 static struct resource sh7760_i2c0_res[] = { 123 .resource = sh7760_i2c0_res, 132 static struct resource smc91x_res[] = { 149 .resource = smc91x_res,
|
/openbmc/u-boot/arch/arm/include/asm/arch-imx8/sci/ |
H A D | sci.h | 59 int sc_pm_set_resource_power_mode(sc_ipc_t ipc, sc_rsrc_t resource, 61 int sc_pm_set_clock_rate(sc_ipc_t ipc, sc_rsrc_t resource, sc_pm_clk_t clk, 63 int sc_pm_get_clock_rate(sc_ipc_t ipc, sc_rsrc_t resource, sc_pm_clk_t clk, 65 int sc_pm_set_clock_rate(sc_ipc_t ipc, sc_rsrc_t resource, sc_pm_clk_t clk, 67 int sc_pm_get_clock_rate(sc_ipc_t ipc, sc_rsrc_t resource, sc_pm_clk_t clk, 69 int sc_pm_clock_enable(sc_ipc_t ipc, sc_rsrc_t resource, sc_pm_clk_t clk, 73 int sc_misc_get_control(sc_ipc_t ipc, sc_rsrc_t resource, sc_ctrl_t ctrl, 84 sc_bool_t sc_rm_is_resource_owned(sc_ipc_t ipc, sc_rsrc_t resource);
|
/openbmc/openbmc-test-automation/ffdc/plugins/ |
H A D | redfish.py | 80 for resource in resources_to_be_enumerated: 87 ("JsonSchemas" in resource) 88 or ("SessionService" in resource) 89 or ("PostCodes" in resource) 90 or ("Registries" in resource) 91 or ("#" in resource) 95 response = execute_redfish_cmd(parms + resource) 101 walk_nested_dict(response, url=resource)
|
/openbmc/linux/Documentation/devicetree/bindings/perf/ |
H A D | apm-xgene-pmu.txt | 16 - regmap-csw : Regmap of the CPU switch fabric (CSW) resource. 17 - regmap-mcba : Regmap of the MCB-A (memory bridge) resource. 18 - regmap-mcbb : Regmap of the MCB-B (memory bridge) resource. 19 - reg : First resource shall be the CPU bus PMU resource. 24 - reg : First resource shall be the L3C PMU resource. 28 - reg : First resource shall be the IOB PMU resource. 32 - reg : First resource shall be the MCB PMU resource. 37 - reg : First resource shall be the MC PMU resource.
|
/openbmc/linux/drivers/scsi/pcmcia/ |
H A D | qlogic_stub.c | 182 p_dev->resource[0]->flags &= ~IO_DATA_PATH_WIDTH; in qlogic_config_check() 185 if (p_dev->resource[0]->start == 0) in qlogic_config_check() 212 outb(0xb4, link->resource[0]->start + 0xd); in qlogic_config() 213 outb(0x24, link->resource[0]->start + 0x9); in qlogic_config() 214 outb(0x04, link->resource[0]->start + 0xd); in qlogic_config() 218 if (resource_size(link->resource[0]) == 32) in qlogic_config() 220 link->resource[0]->start + 16, link->irq); in qlogic_config() 223 link->resource[0]->start, link->irq); in qlogic_config() 269 outb(0x80, link->resource[0]->start + 0xd); in qlogic_resume() 270 outb(0x24, link->resource[0]->start + 0x9); in qlogic_resume() [all …]
|
H A D | fdomain_cs.c | 25 p_dev->resource[0]->end = FDOMAIN_REGION_SIZE; in fdomain_config_check() 26 p_dev->resource[0]->flags &= ~IO_DATA_PATH_WIDTH; in fdomain_config_check() 27 p_dev->resource[0]->flags |= IO_DATA_PATH_WIDTH_AUTO; in fdomain_config_check() 47 if (!request_region(link->resource[0]->start, FDOMAIN_REGION_SIZE, in fdomain_probe() 53 sh = fdomain_create(link->resource[0]->start, link->irq, 7, &link->dev); in fdomain_probe() 65 release_region(link->resource[0]->start, FDOMAIN_REGION_SIZE); in fdomain_probe() 74 release_region(link->resource[0]->start, FDOMAIN_REGION_SIZE); in fdomain_remove()
|
/openbmc/linux/include/linux/firmware/imx/svc/ |
H A D | misc.h | 50 int imx_sc_misc_set_control(struct imx_sc_ipc *ipc, u32 resource, 53 int imx_sc_misc_get_control(struct imx_sc_ipc *ipc, u32 resource, 56 int imx_sc_pm_cpu_start(struct imx_sc_ipc *ipc, u32 resource, 60 u32 resource, u8 ctrl, u32 val) in imx_sc_misc_set_control() argument 66 u32 resource, u8 ctrl, u32 *val) in imx_sc_misc_get_control() argument 71 static inline int imx_sc_pm_cpu_start(struct imx_sc_ipc *ipc, u32 resource, in imx_sc_pm_cpu_start() argument
|
/openbmc/linux/drivers/ata/ |
H A D | pata_pcmcia.c | 161 pdev->resource[0]->flags &= ~IO_DATA_PATH_WIDTH; in pcmcia_check_one_config() 164 pdev->resource[1]->flags &= ~IO_DATA_PATH_WIDTH; in pcmcia_check_one_config() 167 if (pdev->resource[1]->end) { in pcmcia_check_one_config() 168 pdev->resource[0]->end = 8; in pcmcia_check_one_config() 169 pdev->resource[1]->end = (*is_kme) ? 2 : 1; in pcmcia_check_one_config() 171 if (pdev->resource[0]->end < 16) in pcmcia_check_one_config() 211 io_base = pdev->resource[0]->start; in pcmcia_init_one() 212 if (pdev->resource[1]->end) in pcmcia_init_one() 213 ctl_base = pdev->resource[1]->start; in pcmcia_init_one() 215 ctl_base = pdev->resource[0]->start + 0x0e; in pcmcia_init_one() [all …]
|
/openbmc/linux/arch/sh/boards/mach-se/7724/ |
H A D | setup.c | 87 .resource = &heartbeat_resource, 111 .resource = smc91x_eth_resources, 152 .resource = nor_flash_resources, 219 .resource = lcdc_resources, 247 .resource = ceu0_resources, 275 .resource = ceu1_resources, 300 .resource = fsi_resources, 357 .resource = keysc_resources, 388 .resource = sh_eth_resources, 533 .resource = irda_resources, [all …]
|
/openbmc/linux/arch/sh/kernel/cpu/sh2/ |
H A D | setup-sh7619.c | 66 static struct resource scif0_resources[] = { 74 .resource = scif0_resources, 86 static struct resource scif1_resources[] = { 94 .resource = scif1_resources, 106 static struct resource scif2_resources[] = { 114 .resource = scif2_resources, 126 static struct resource eth_resources[] = { 146 .resource = eth_resources, 153 static struct resource cmt_resources[] = { 165 .resource = cmt_resources,
|