Searched refs:resources (Results 1 - 25 of 236) sorted by last modified time

12345678910

/linux-master/arch/x86/kernel/
H A De820.c67 /* For PCI or other memory-mapped resources */
654 * that it can assign MMIO resources for hotplug or
1171 * PCI device BAR resources and insert them later in
1293 who = x86_init.resources.memory_setup();
H A Dsetup.c905 x86_init.resources.dmi_setup();
916 x86_init.resources.probe_roms();
1159 x86_init.resources.reserve_resources();
H A Dx86_init.c66 .resources = {
/linux-master/arch/x86/xen/
H A Denlighten_pv.c1365 x86_init.resources.memory_setup = xen_memory_setup;
/linux-master/drivers/spi/
H A Dspi.c1002 list_add_tail(&sres->entry, &message->resources);
1006 * spi_res_release - release all SPI resources for this message
1014 list_for_each_entry_safe_reverse(res, tmp, &message->resources, entry) {
2648 * acpi_spi_count_resources - Count the number of SpiSerialBus resources
2651 * Return: the number of SpiSerialBus resources in the ACPI-device's
3577 * and register change with spi_message.resources
3762 * This function allocates resources that are automatically freed during the
3804 * This function allocates resources that are automatically freed during the
4303 * to avoid leaking resources.
4329 * spi_unoptimize_message - releases any resources allocate
[all...]
/linux-master/drivers/i2c/
H A Di2c-core-base.c593 * even resources that were attached to the device after probe is
595 * needed as some drivers would allocate additional resources,
892 int i2c_dev_irq_from_resources(const struct resource *resources, argument
899 const struct resource *r = &resources[i];
953 client->init_irq = i2c_dev_irq_from_resources(info->resources,
/linux-master/sound/pci/hda/
H A Dtas2781_hda_i2c.c114 LIST_HEAD(resources);
124 ret = acpi_dev_get_resources(adev, &resources, tas2781_get_i2c_res, p);
128 acpi_dev_free_resource_list(&resources);
/linux-master/include/acpi/
H A Dacpi_bus.h263 u32 power_resources:1; /* Power resources */
279 struct list_head resources; /* Power resources referenced */ member in struct:acpi_device_power_state
336 struct list_head resources; member in struct:acpi_device_wakeup
/linux-master/drivers/platform/chrome/
H A Dcros_ec_uart.c227 LIST_HEAD(resources);
230 ret = acpi_dev_get_resources(adev, &resources, cros_ec_uart_resource, ec_uart);
234 acpi_dev_free_resource_list(&resources);
/linux-master/drivers/acpi/
H A Dscan.c474 acpi_power_resources_list_free(&device->wakeup.resources);
481 acpi_power_resources_list_free(&ps->resources);
553 * Drop references to all power resources that might have been
899 INIT_LIST_HEAD(&wakeup->resources);
942 err = acpi_extract_power_resources(package, 2, &wakeup->resources);
946 if (!list_empty(&wakeup->resources)) {
949 err = acpi_power_wakeup_list_init(&wakeup->resources,
953 "of wakeup power resources failed\n");
954 acpi_power_resources_list_free(&wakeup->resources);
959 "(S%d) by S%d from power resources\
[all...]
/linux-master/arch/x86/mm/
H A Dmem_encrypt_amd.c503 x86_init.resources.probe_roms = x86_init_noop;
511 x86_init.resources.dmi_setup = snp_dmi_setup;
/linux-master/arch/x86/include/asm/
H A Dx86_init.h30 * @reserve_resources: reserve the standard resources for the
165 struct x86_init_resources resources; member in struct:x86_init_ops
/linux-master/sound/aoa/soundbus/i2sbus/
H A Dcore.c251 * specific functions for calculating the appropriate resources.
256 if (i2sbus_get_and_fixup_rsrc(np,i,layout,&dev->resources[i]))
258 /* If only we could use our resource dev->resources[i]...
260 * contained resources...
263 request_mem_region(dev->resources[i].start,
264 resource_size(&dev->resources[i]),
272 r = &dev->resources[aoa_resource_i2smmio];
278 r = &dev->resources[aoa_resource_txdbdma];
284 r = &dev->resources[aoa_resource_rxdbdma];
/linux-master/include/linux/
H A Ddio.h64 unsigned int num_resources; /* number of resources */
65 struct resource resources[2]; /* address space routed to this bus */ member in struct:dio_bus
H A Di2c.h323 * @devres_group_id: id of the devres group that will be created for resources
409 * @resources: resources associated with the device
410 * @num_resources: number of resources in the @resources array
433 const struct resource *resources; member in struct:i2c_board_info
/linux-master/drivers/pcmcia/
H A Dds.c298 dev_dbg(dev, "resources: ioport %pR %pR iomem %pR %pR %pR",
615 "no resources available, delaying card_add\n");
621 dev_dbg(&s->dev, "validating mem resources failed, "
645 dev_dbg(&s->dev, "invalid CIS or invalid resources\n");
1044 static DEVICE_ATTR_RO(resources);
/linux-master/drivers/infiniband/sw/rxe/
H A Drxe_resp.c604 res = &qp->resp.resources[qp->resp.res_head];
1258 struct resp_res *res = &qp->resp.resources[i];
1286 /* Find the operation in our list of responder resources. */
1348 /* Find the operation in our list of responder resources. */
H A Drxe_qp.c107 qp->resp.resources = kcalloc(n, sizeof(struct resp_res), GFP_KERNEL);
109 if (!qp->resp.resources)
117 if (qp->resp.resources) {
121 struct resp_res *res = &qp->resp.resources[i];
125 kfree(qp->resp.resources);
126 qp->resp.resources = NULL;
140 if (qp->resp.resources) {
142 res = &qp->resp.resources[i];
/linux-master/drivers/infiniband/core/
H A Duverbs_cmd.c2565 struct ib_uflow_resources *resources; local
2567 resources = kzalloc(sizeof(*resources), GFP_KERNEL);
2569 if (!resources)
2575 resources->counters =
2576 kcalloc(num_specs, sizeof(*resources->counters), GFP_KERNEL);
2577 resources->collection =
2578 kcalloc(num_specs, sizeof(*resources->collection), GFP_KERNEL);
2580 if (!resources->counters || !resources
[all...]
/linux-master/drivers/media/usb/s2255/
H A Ds2255drv.c209 int resources; member in struct:s2255_vc
/linux-master/drivers/media/platform/nxp/imx8-isi/
H A Dimx8-isi-hw.c540 u8 resources; local
551 * Make sure the resources we need are available. The output buffer is
555 resources = MXC_ISI_CHANNEL_RES_OUTPUT_BUF
557 if ((pipe->available_res & resources) != resources) {
562 /* Acquire the channel resources. */
563 pipe->acquired_res = resources;
564 pipe->available_res &= ~resources;
593 const u8 resources = MXC_ISI_CHANNEL_RES_OUTPUT_BUF local
615 if ((chained_pipe->available_res & resources) !
[all...]
/linux-master/drivers/media/pci/bt8xx/
H A Dbttvp.h370 int resources; member in struct:bttv
/linux-master/drivers/acpi/apei/
H A Dapei-internal.h102 static inline void apei_resources_init(struct apei_resources *resources) argument
104 INIT_LIST_HEAD(&resources->iomem);
105 INIT_LIST_HEAD(&resources->ioport);
108 void apei_resources_fini(struct apei_resources *resources);
109 int apei_resources_add(struct apei_resources *resources,
114 int apei_resources_request(struct apei_resources *resources,
116 void apei_resources_release(struct apei_resources *resources);
118 struct apei_resources *resources);
/linux-master/arch/sparc/kernel/
H A Dpci.c203 * into physical address resources, we only have to figure out the register
382 /* Cook up fake bus resources for SUNW,simba PCI bridges which lack
691 LIST_HEAD(resources);
697 pci_add_resource_offset(&resources, &pbm->io_space,
699 pci_add_resource_offset(&resources, &pbm->mem_space,
702 pci_add_resource_offset(&resources, &pbm->mem64_space,
707 pci_add_resource(&resources, &pbm->busn);
709 pbm, &resources);
712 pci_free_resource_list(&resources);
/linux-master/sound/firewire/oxfw/
H A Doxfw-stream.c118 conn->resources.channel, conn->speed);

Completed in 715 milliseconds

12345678910