Symbol: resources
arch/alpha/kernel/pci.c
324
struct list_head resources;
arch/alpha/kernel/pci.c
344
INIT_LIST_HEAD(&resources);
arch/alpha/kernel/pci.c
345
pci_add_resource_offset(&resources, hose->io_space,
arch/alpha/kernel/pci.c
347
pci_add_resource_offset(&resources, hose->mem_space,
arch/alpha/kernel/pci.c
354
list_splice_init(&resources, &bridge->windows);
arch/arm/include/asm/mach/pci.h
40
struct list_head resources; /* root bus resources (apertures) */
arch/arm/kernel/bios32.c
401
if (list_empty(&sys->resources)) {
arch/arm/kernel/bios32.c
402
pci_add_resource_offset(&sys->resources,
arch/arm/kernel/bios32.c
406
resource_list_for_each_entry(window, &sys->resources)
arch/arm/kernel/bios32.c
421
pci_add_resource_offset(&sys->resources, &sys->io_res,
arch/arm/kernel/bios32.c
446
INIT_LIST_HEAD(&sys->resources);
arch/arm/kernel/bios32.c
467
list_splice_init(&sys->resources,
arch/arm/mach-dove/pcie.c
168
list_splice_init(&sys->resources, &bridge->windows);
arch/arm/mach-dove/pcie.c
76
pci_add_resource_offset(&sys->resources, &pp->res, sys->mem_offset);
arch/arm/mach-footbridge/dc21285.c
283
pci_add_resource_offset(&sys->resources, &res[0], sys->mem_offset);
arch/arm/mach-footbridge/dc21285.c
284
pci_add_resource_offset(&sys->resources, &res[1], sys->mem_offset);
arch/arm/mach-mv78xx0/pcie.c
120
pci_add_resource_offset(&sys->resources, &pp->res, sys->mem_offset);
arch/arm/mach-mv78xx0/pcie.c
211
list_splice_init(&sys->resources, &bridge->windows);
arch/arm/mach-orion5x/pci.c
185
pci_add_resource_offset(&sys->resources, res, sys->mem_offset);
arch/arm/mach-orion5x/pci.c
506
pci_add_resource_offset(&sys->resources, res, sys->mem_offset);
arch/arm/mach-orion5x/pci.c
571
list_splice_init(&sys->resources, &bridge->windows);
arch/arm/mach-s3c/dev-uart-s3c64xx.c
50
.resources = s3c64xx_uart0_resource,
arch/arm/mach-s3c/dev-uart-s3c64xx.c
54
.resources = s3c64xx_uart1_resource,
arch/arm/mach-s3c/dev-uart-s3c64xx.c
58
.resources = s3c6xx_uart2_resource,
arch/arm/mach-s3c/dev-uart-s3c64xx.c
62
.resources = s3c64xx_uart3_resource,
arch/arm/mach-s3c/devs.h
18
struct resource *resources;
arch/arm/mach-s3c/init.c
103
platdev->resource = resp->resources;
arch/arm/plat-orion/common.c
102
fill_resources_irq(orion_uart, resources, mapbase, 0xff, irq);
arch/arm/plat-orion/common.c
53
struct resource *resources,
arch/arm/plat-orion/common.c
57
device->resource = resources;
arch/arm/plat-orion/common.c
59
resources[0].flags = IORESOURCE_MEM;
arch/arm/plat-orion/common.c
60
resources[0].start = mapbase;
arch/arm/plat-orion/common.c
61
resources[0].end = mapbase + size;
arch/arm/plat-orion/common.c
65
struct resource *resources,
arch/arm/plat-orion/common.c
70
fill_resources(device, resources, mapbase, size);
arch/arm/plat-orion/common.c
73
resources[1].flags = IORESOURCE_IRQ;
arch/arm/plat-orion/common.c
74
resources[1].start = irq;
arch/arm/plat-orion/common.c
75
resources[1].end = irq;
arch/arm/plat-orion/common.c
90
struct resource *resources,
arch/loongarch/pci/acpi.c
69
resource_list_for_each_entry_safe(entry, tmp, &ci->resources) {
arch/loongarch/pci/acpi.c
79
resource_list_for_each_entry_safe(entry, tmp, &ci->resources) {
arch/mips/pci/pci-legacy.c
100
list_splice_init(&resources, &bridge->windows);
arch/mips/pci/pci-legacy.c
84
LIST_HEAD(resources);
arch/mips/pci/pci-legacy.c
96
pci_add_resource_offset(&resources,
arch/mips/pci/pci-legacy.c
98
pci_add_resource_offset(&resources,
arch/powerpc/kernel/pci-common.c
1529
struct list_head *resources)
arch/powerpc/kernel/pci-common.c
1547
pci_add_resource_offset(resources, res, offset);
arch/powerpc/kernel/pci-common.c
1560
pci_add_resource_offset(resources, res, offset);
arch/powerpc/kernel/pci-common.c
1647
LIST_HEAD(resources);
arch/powerpc/kernel/pci-common.c
1658
pcibios_setup_phb_resources(hose, &resources);
arch/powerpc/kernel/pci-common.c
1663
pci_add_resource(&resources, &hose->busn);
arch/powerpc/kernel/pci-common.c
1667
hose->ops, hose, &resources);
arch/powerpc/kernel/pci-common.c
1671
pci_free_resource_list(&resources);
arch/s390/include/asm/pci.h
110
struct list_head resources;
arch/s390/pci/pci_bus.c
192
bus = pci_create_root_bus(NULL, ZPCI_BUS_NR, ops, zbus, &zbus->resources);
arch/s390/pci/pci_bus.c
236
pci_free_resource_list(&zbus->resources);
arch/s390/pci/pci_bus.c
327
INIT_LIST_HEAD(&zbus->resources);
arch/s390/pci/pci_bus.c
332
pci_add_resource(&zbus->resources, &zbus->bus_resource);
arch/sh/drivers/pci/fixups-dreamcast.c
41
dev->resource[1].start = p->resources[0].start + 0x100;
arch/sh/drivers/pci/fixups-se7751.c
102
BUG_ON(chan->resources[1].start != SH7751_PCI_MEMORY_BASE);
arch/sh/drivers/pci/fixups-se7751.c
104
PCIC_WRITE(SH7751_PCIMBR, chan->resources[1].start);
arch/sh/drivers/pci/fixups-se7751.c
107
PCIC_WRITE(SH7751_PCIIOBR, (chan->resources[0].start & SH7751_PCIIOBR_MASK));
arch/sh/drivers/pci/pci-dreamcast.c
41
.resources = gapspci_resources,
arch/sh/drivers/pci/pci-sh7751.c
129
word = chan->resources[1].start & SH4_PCIMBR_MASK;
arch/sh/drivers/pci/pci-sh7751.c
135
word = chan->resources[0].start & SH4_PCIIOBR_MASK;
arch/sh/drivers/pci/pci-sh7751.c
61
.resources = sh7751_pci_resources,
arch/sh/drivers/pci/pci-sh7780.c
346
struct resource *res = chan->resources + i;
arch/sh/drivers/pci/pci-sh7780.c
57
.resources = sh7785_pci_resources,
arch/sh/drivers/pci/pci.c
101
struct resource *res = hose->resources + i;
arch/sh/drivers/pci/pci.c
144
release_resource(&hose->resources[i]);
arch/sh/drivers/pci/pci.c
178
if (start < PCIBIOS_MIN_IO + hose->resources[0].start)
arch/sh/drivers/pci/pci.c
179
start = PCIBIOS_MIN_IO + hose->resources[0].start;
arch/sh/drivers/pci/pci.c
35
LIST_HEAD(resources);
arch/sh/drivers/pci/pci.c
46
res = hose->resources + i;
arch/sh/drivers/pci/pci.c
54
pci_add_resource_offset(&resources, res, offset);
arch/sh/drivers/pci/pci.c
57
list_splice_init(&resources, &bridge->windows);
arch/sh/drivers/pci/pcie-sh7786.c
119
.resources = sh7786_pci##idx##_resources, \
arch/sh/drivers/pci/pcie-sh7786.c
441
struct resource *res = chan->resources + i;
arch/sh/drivers/pci/pcie-sh7786.c
598
port->hose->io_map_base = port->hose->resources[0].start;
arch/sh/include/asm/pci.h
21
struct resource *resources;
arch/sparc/kernel/leon_pci.c
28
LIST_HEAD(resources);
arch/sparc/kernel/leon_pci.c
37
pci_add_resource_offset(&resources, &info->io_space,
arch/sparc/kernel/leon_pci.c
39
pci_add_resource(&resources, &info->mem_space);
arch/sparc/kernel/leon_pci.c
41
pci_add_resource(&resources, &info->busn);
arch/sparc/kernel/leon_pci.c
43
list_splice_init(&resources, &bridge->windows);
arch/sparc/kernel/pci.c
721
LIST_HEAD(resources);
arch/sparc/kernel/pci.c
727
pci_add_resource_offset(&resources, &pbm->io_space,
arch/sparc/kernel/pci.c
729
pci_add_resource_offset(&resources, &pbm->mem_space,
arch/sparc/kernel/pci.c
732
pci_add_resource_offset(&resources, &pbm->mem64_space,
arch/sparc/kernel/pci.c
737
pci_add_resource(&resources, &pbm->busn);
arch/sparc/kernel/pci.c
739
pbm, &resources);
arch/sparc/kernel/pci.c
742
pci_free_resource_list(&resources);
arch/x86/hyperv/hv_vtl.c
75
x86_init.resources.probe_roms = x86_init_noop;
arch/x86/include/asm/topology.h
262
void x86_pci_root_bus_resources(int bus, struct list_head *resources);
arch/x86/include/asm/x86_init.h
175
struct x86_init_resources resources;
arch/x86/kernel/e820.c
1275
who = x86_init.resources.memory_setup();
arch/x86/kernel/head32.c
29
x86_init.resources.reserve_resources = i386_reserve_resources;
arch/x86/kernel/setup.c
1010
x86_init.resources.probe_roms();
arch/x86/kernel/setup.c
1247
x86_init.resources.reserve_resources();
arch/x86/kernel/setup.c
999
x86_init.resources.dmi_setup();
arch/x86/kernel/x86_init.c
67
.resources = {
arch/x86/mm/mem_encrypt_amd.c
528
x86_init.resources.probe_roms = x86_init_noop;
arch/x86/mm/mem_encrypt_amd.c
536
x86_init.resources.dmi_setup = snp_dmi_setup;
arch/x86/pci/acpi.c
510
resource_list_for_each_entry_safe(entry, tmp, &ci->resources)
arch/x86/pci/acpi.c
516
resource_list_for_each_entry_safe(entry, tmp, &ci->resources) {
arch/x86/pci/acpi.c
521
x86_pci_root_bus_resources(busnum, &ci->resources);
arch/x86/pci/amd_bus.c
330
list_for_each_entry(root_res, &info->resources, list)
arch/x86/pci/broadcom_bus.c
81
list_for_each_entry(root_res, &info->resources, list)
arch/x86/pci/bus_numa.c
111
list_for_each_entry(root_res, &info->resources, list) {
arch/x86/pci/bus_numa.c
145
list_add_tail(&root_res->list, &info->resources);
arch/x86/pci/bus_numa.c
31
void x86_pci_root_bus_resources(int bus, struct list_head *resources)
arch/x86/pci/bus_numa.c
45
resource_list_for_each_entry(window, resources)
arch/x86/pci/bus_numa.c
52
pci_add_resource(resources, &info->busn);
arch/x86/pci/bus_numa.c
54
list_for_each_entry(root_res, &info->resources, list)
arch/x86/pci/bus_numa.c
55
pci_add_resource(resources, &root_res->res);
arch/x86/pci/bus_numa.c
66
pci_add_resource(resources, &ioport_resource);
arch/x86/pci/bus_numa.c
67
pci_add_resource(resources, &iomem_resource);
arch/x86/pci/bus_numa.c
82
INIT_LIST_HEAD(&info->resources);
arch/x86/pci/bus_numa.h
16
struct list_head resources;
arch/x86/pci/common.c
462
LIST_HEAD(resources);
arch/x86/pci/common.c
470
x86_pci_root_bus_resources(busnum, &resources);
arch/x86/pci/common.c
472
bus = pci_scan_root_bus(NULL, busnum, &pci_root_ops, sd, &resources);
arch/x86/pci/common.c
474
pci_free_resource_list(&resources);
arch/x86/platform/ce4100/ce4100.c
44
x86_init.resources.probe_roms = x86_init_noop;
arch/x86/platform/intel-mid/intel-mid.c
95
x86_init.resources.probe_roms = x86_init_noop;
arch/x86/platform/intel-mid/intel-mid.c
96
x86_init.resources.reserve_resources = x86_init_noop;
arch/x86/xen/enlighten_pv.c
1413
x86_init.resources.memory_setup = xen_memory_setup;
drivers/accel/qaic/qaic_control.c
1182
struct manage_msg *user_msg, struct ioctl_resources *resources,
drivers/accel/qaic/qaic_control.c
1205
ret = encode_message(qdev, user_msg, wrappers, resources, usr);
drivers/accel/qaic/qaic_control.c
1206
if (ret && resources->dma_chunk_id)
drivers/accel/qaic/qaic_control.c
1207
ret = abort_dma_cont(qdev, wrappers, resources->dma_chunk_id);
drivers/accel/qaic/qaic_control.c
1235
free_dma_xfers(qdev, resources);
drivers/accel/qaic/qaic_control.c
1251
struct ioctl_resources resources;
drivers/accel/qaic/qaic_control.c
1255
memset(&resources, 0, sizeof(struct ioctl_resources));
drivers/accel/qaic/qaic_control.c
1257
INIT_LIST_HEAD(&resources.dma_xfers);
drivers/accel/qaic/qaic_control.c
1264
ret = qaic_manage_msg_xfer(qdev, usr, user_msg, &resources, &rsp);
drivers/accel/qaic/qaic_control.c
1274
if (le32_to_cpu(dma_cont->dma_chunk_id) == resources.dma_chunk_id &&
drivers/accel/qaic/qaic_control.c
1275
le64_to_cpu(dma_cont->xferred_size) == resources.xferred_dma_size) {
drivers/accel/qaic/qaic_control.c
1284
ret = decode_message(qdev, user_msg, rsp, &resources, usr);
drivers/accel/qaic/qaic_control.c
1287
free_dbc_buf(qdev, &resources);
drivers/accel/qaic/qaic_control.c
298
static void save_dbc_buf(struct qaic_device *qdev, struct ioctl_resources *resources,
drivers/accel/qaic/qaic_control.c
301
u32 dbc_id = resources->dbc_id;
drivers/accel/qaic/qaic_control.c
303
if (resources->buf) {
drivers/accel/qaic/qaic_control.c
305
qdev->dbc[dbc_id].req_q_base = resources->buf;
drivers/accel/qaic/qaic_control.c
306
qdev->dbc[dbc_id].rsp_q_base = resources->rsp_q_base;
drivers/accel/qaic/qaic_control.c
307
qdev->dbc[dbc_id].dma_addr = resources->dma_addr;
drivers/accel/qaic/qaic_control.c
308
qdev->dbc[dbc_id].total_size = resources->total_size;
drivers/accel/qaic/qaic_control.c
309
qdev->dbc[dbc_id].nelem = resources->nelem;
drivers/accel/qaic/qaic_control.c
312
resources->buf = NULL;
drivers/accel/qaic/qaic_control.c
317
static void free_dbc_buf(struct qaic_device *qdev, struct ioctl_resources *resources)
drivers/accel/qaic/qaic_control.c
319
if (resources->buf)
drivers/accel/qaic/qaic_control.c
320
dma_free_coherent(&qdev->pdev->dev, resources->total_size, resources->buf,
drivers/accel/qaic/qaic_control.c
321
resources->dma_addr);
drivers/accel/qaic/qaic_control.c
322
resources->buf = NULL;
drivers/accel/qaic/qaic_control.c
325
static void free_dma_xfers(struct qaic_device *qdev, struct ioctl_resources *resources)
drivers/accel/qaic/qaic_control.c
331
list_for_each_entry_safe(xfer, x, &resources->dma_xfers, list) {
drivers/accel/qaic/qaic_control.c
395
struct ioctl_resources *resources, struct dma_xfer *xfer)
drivers/accel/qaic/qaic_control.c
405
if (check_add_overflow(in_trans->addr, resources->xferred_dma_size, &xfer_start_addr))
drivers/accel/qaic/qaic_control.c
408
if (in_trans->size < resources->xferred_dma_size)
drivers/accel/qaic/qaic_control.c
410
remaining = in_trans->size - resources->xferred_dma_size;
drivers/accel/qaic/qaic_control.c
484
struct ioctl_resources *resources, u32 msg_hdr_len, u32 *size,
drivers/accel/qaic/qaic_control.c
546
resources->xferred_dma_size += dma_chunk_len;
drivers/accel/qaic/qaic_control.c
564
u32 *user_len, struct ioctl_resources *resources, struct qaic_user *usr)
drivers/accel/qaic/qaic_control.c
589
ret = find_and_map_user_pages(qdev, in_trans, resources, xfer);
drivers/accel/qaic/qaic_control.c
595
ret = encode_addr_size_pairs(xfer, wrappers, resources, msg_hdr_len, &size, &out_trans);
drivers/accel/qaic/qaic_control.c
612
if (resources->dma_chunk_id) {
drivers/accel/qaic/qaic_control.c
613
out_trans->dma_chunk_id = cpu_to_le32(resources->dma_chunk_id);
drivers/accel/qaic/qaic_control.c
615
while (resources->dma_chunk_id == 0)
drivers/accel/qaic/qaic_control.c
616
resources->dma_chunk_id = atomic_inc_return(&usr->chunk_id);
drivers/accel/qaic/qaic_control.c
618
out_trans->dma_chunk_id = cpu_to_le32(resources->dma_chunk_id);
drivers/accel/qaic/qaic_control.c
620
resources->trans_hdr = trans;
drivers/accel/qaic/qaic_control.c
622
list_add(&xfer->list, &resources->dma_xfers);
drivers/accel/qaic/qaic_control.c
633
u32 *user_len, struct ioctl_resources *resources)
drivers/accel/qaic/qaic_control.c
697
resources->buf = buf;
drivers/accel/qaic/qaic_control.c
698
resources->dma_addr = dma_addr;
drivers/accel/qaic/qaic_control.c
699
resources->total_size = size;
drivers/accel/qaic/qaic_control.c
700
resources->nelem = nelem;
drivers/accel/qaic/qaic_control.c
701
resources->rsp_q_base = buf + size - nelem * get_dbc_rsp_elem_size();
drivers/accel/qaic/qaic_control.c
756
struct wrapper_list *wrappers, struct ioctl_resources *resources,
drivers/accel/qaic/qaic_control.c
777
if (resources->dma_chunk_id) {
drivers/accel/qaic/qaic_control.c
778
ret = encode_dma(qdev, resources->trans_hdr, wrappers, &user_len, resources, usr);
drivers/accel/qaic/qaic_control.c
800
ret = encode_dma(qdev, trans_hdr, wrappers, &user_len, resources, usr);
drivers/accel/qaic/qaic_control.c
803
ret = encode_activate(qdev, trans_hdr, wrappers, &user_len, resources);
drivers/accel/qaic/qaic_control.c
824
free_dma_xfers(qdev, resources);
drivers/accel/qaic/qaic_control.c
825
free_dbc_buf(qdev, resources);
drivers/accel/qaic/qaic_control.c
858
u32 *msg_len, struct ioctl_resources *resources, struct qaic_user *usr)
drivers/accel/qaic/qaic_control.c
878
if (!resources->buf)
drivers/accel/qaic/qaic_control.c
896
resources->status = out_trans->status;
drivers/accel/qaic/qaic_control.c
897
resources->dbc_id = out_trans->dbc_id;
drivers/accel/qaic/qaic_control.c
898
save_dbc_buf(qdev, resources, usr);
drivers/accel/qaic/qaic_control.c
965
struct wire_msg *msg, struct ioctl_resources *resources,
drivers/accel/qaic/qaic_control.c
998
ret = decode_activate(qdev, trans_hdr, user_msg, &msg_len, resources, usr);
drivers/acpi/acpi_platform.c
117
struct resource *resources = NULL;
drivers/acpi/acpi_platform.c
148
resources = kzalloc_objs(*resources, count);
drivers/acpi/acpi_platform.c
149
if (!resources) {
drivers/acpi/acpi_platform.c
156
&resources[count++]);
drivers/acpi/acpi_platform.c
171
pdevinfo.res = resources;
drivers/acpi/acpi_platform.c
191
kfree(resources);
drivers/acpi/acpi_watchdog.c
109
struct resource *resources;
drivers/acpi/acpi_watchdog.c
169
resources = kzalloc_objs(*resources, nresources);
drivers/acpi/acpi_watchdog.c
170
if (!resources)
drivers/acpi/acpi_watchdog.c
175
resources[i++] = *rentry->res;
drivers/acpi/acpi_watchdog.c
178
resources, nresources);
drivers/acpi/acpi_watchdog.c
182
kfree(resources);
drivers/acpi/apei/apei-base.c
380
void apei_resources_fini(struct apei_resources *resources)
drivers/acpi/apei/apei-base.c
382
apei_res_clean(&resources->iomem);
drivers/acpi/apei/apei-base.c
383
apei_res_clean(&resources->ioport);
drivers/acpi/apei/apei-base.c
409
int apei_resources_add(struct apei_resources *resources,
drivers/acpi/apei/apei-base.c
414
return apei_res_add(&resources->iomem, start, size);
drivers/acpi/apei/apei-base.c
416
return apei_res_add(&resources->ioport, start, size);
drivers/acpi/apei/apei-base.c
439
struct apei_resources *resources = data;
drivers/acpi/apei/apei-base.c
440
return apei_res_add(&resources->iomem, start, size);
drivers/acpi/apei/apei-base.c
443
static int apei_get_nvs_resources(struct apei_resources *resources)
drivers/acpi/apei/apei-base.c
445
return acpi_nvs_for_each_region(apei_get_res_callback, resources);
drivers/acpi/apei/apei-base.c
450
static int apei_get_arch_resources(struct apei_resources *resources)
drivers/acpi/apei/apei-base.c
453
return arch_apei_filter_addr(apei_get_res_callback, resources);
drivers/acpi/apei/apei-base.c
461
int apei_resources_request(struct apei_resources *resources,
drivers/acpi/apei/apei-base.c
469
rc = apei_resources_sub(resources, &apei_resources_all);
drivers/acpi/apei/apei-base.c
482
rc = apei_resources_sub(resources, &nvs_resources);
drivers/acpi/apei/apei-base.c
491
rc = apei_resources_sub(resources, &arch_res);
drivers/acpi/apei/apei-base.c
497
list_for_each_entry(res, &resources->iomem, list) {
drivers/acpi/apei/apei-base.c
510
list_for_each_entry(res, &resources->ioport, list) {
drivers/acpi/apei/apei-base.c
522
rc = apei_resources_merge(&apei_resources_all, resources);
drivers/acpi/apei/apei-base.c
531
list_for_each_entry(res, &resources->ioport, list) {
drivers/acpi/apei/apei-base.c
538
list_for_each_entry(res, &resources->iomem, list) {
drivers/acpi/apei/apei-base.c
552
void apei_resources_release(struct apei_resources *resources)
drivers/acpi/apei/apei-base.c
557
list_for_each_entry(res, &resources->iomem, list)
drivers/acpi/apei/apei-base.c
559
list_for_each_entry(res, &resources->ioport, list)
drivers/acpi/apei/apei-base.c
562
rc = apei_resources_sub(&apei_resources_all, resources);
drivers/acpi/apei/apei-base.c
714
struct apei_resources *resources = data;
drivers/acpi/apei/apei-base.c
730
return apei_res_add(&resources->iomem, paddr,
drivers/acpi/apei/apei-base.c
733
return apei_res_add(&resources->ioport, paddr,
drivers/acpi/apei/apei-base.c
745
struct apei_resources *resources)
drivers/acpi/apei/apei-base.c
748
resources, NULL);
drivers/acpi/apei/apei-internal.h
102
static inline void apei_resources_init(struct apei_resources *resources)
drivers/acpi/apei/apei-internal.h
104
INIT_LIST_HEAD(&resources->iomem);
drivers/acpi/apei/apei-internal.h
105
INIT_LIST_HEAD(&resources->ioport);
drivers/acpi/apei/apei-internal.h
108
void apei_resources_fini(struct apei_resources *resources);
drivers/acpi/apei/apei-internal.h
109
int apei_resources_add(struct apei_resources *resources,
drivers/acpi/apei/apei-internal.h
114
int apei_resources_request(struct apei_resources *resources,
drivers/acpi/apei/apei-internal.h
116
void apei_resources_release(struct apei_resources *resources);
drivers/acpi/apei/apei-internal.h
118
struct apei_resources *resources);
drivers/acpi/pci_root.c
1010
INIT_LIST_HEAD(&info->resources);
drivers/acpi/pci_root.c
1024
pci_add_resource(&info->resources, &root->secondary);
drivers/acpi/pci_root.c
1026
sysdata, &info->resources);
drivers/acpi/pci_root.c
801
struct list_head *resources,
drivers/acpi/pci_root.c
811
list_splice_init(resources, &list);
drivers/acpi/pci_root.c
834
resource_list_for_each_entry(entry2, resources) {
drivers/acpi/pci_root.c
857
resource_list_add_tail(entry, resources);
drivers/acpi/pci_root.c
895
struct list_head *list = &info->resources;
drivers/acpi/pci_root.c
935
resource_list_for_each_entry_safe(entry, tmp, &info->resources) {
drivers/acpi/pci_root.c
969
resource_list_for_each_entry_safe(entry, tmp, &info->resources) {
drivers/acpi/power.c
322
struct list_head *resources;
drivers/acpi/power.c
328
resources = &adev->power.states[ACPI_STATE_D0].resources;
drivers/acpi/power.c
329
list_for_each_entry(entry, resources, node) {
drivers/acpi/power.c
338
list_for_each_entry(entry, resources, node)
drivers/acpi/power.c
357
struct list_head *resources;
drivers/acpi/power.c
362
resources = &adev->power.states[ACPI_STATE_D0].resources;
drivers/acpi/power.c
363
list_for_each_entry_reverse(entry, resources, node)
drivers/acpi/power.c
542
struct list_head *resources,
drivers/acpi/power.c
547
if (list_empty(resources))
drivers/acpi/power.c
550
list_for_each_entry_reverse(entry, resources, node) {
drivers/acpi/power.c
561
struct list_head *resources,
drivers/acpi/power.c
567
if (list_empty(resources))
drivers/acpi/power.c
574
list_for_each_entry(entry, resources, node) {
drivers/acpi/power.c
582
acpi_power_hide_list(adev, resources, attr_group);
drivers/acpi/power.c
589
struct list_head *resources,
drivers/acpi/power.c
594
acpi_power_expose_list(adev, resources, attr_group);
drivers/acpi/power.c
596
acpi_power_hide_list(adev, resources, attr_group);
drivers/acpi/power.c
604
acpi_power_expose_hide(adev, &adev->wakeup.resources,
drivers/acpi/power.c
612
&adev->power.states[state].resources,
drivers/acpi/power.c
731
err = acpi_power_on_list(&dev->wakeup.resources);
drivers/acpi/power.c
744
acpi_power_off_list(&dev->wakeup.resources);
drivers/acpi/power.c
790
list_for_each_entry(entry, &dev->wakeup.resources, node) {
drivers/acpi/power.c
824
struct list_head *list = &device->power.states[i].resources;
drivers/acpi/power.c
849
return acpi_power_on_list(&device->power.states[state].resources);
drivers/acpi/power.c
873
&device->power.states[state].resources);
drivers/acpi/power.c
877
&device->power.states[device->power.state].resources);
drivers/acpi/scan.c
1060
INIT_LIST_HEAD(&ps->resources);
drivers/acpi/scan.c
1070
acpi_extract_power_resources(package, 0, &ps->resources);
drivers/acpi/scan.c
1081
if (!list_empty(&ps->resources) || ps->flags.explicit_set)
drivers/acpi/scan.c
1121
INIT_LIST_HEAD(&device->power.states[ACPI_STATE_D3_COLD].resources);
drivers/acpi/scan.c
1133
if (!list_empty(&device->power.states[ACPI_STATE_D0].resources)) {
drivers/acpi/scan.c
1139
if (!list_empty(&device->power.states[ACPI_STATE_D3_HOT].resources))
drivers/acpi/scan.c
506
acpi_power_resources_list_free(&device->wakeup.resources);
drivers/acpi/scan.c
513
acpi_power_resources_list_free(&ps->resources);
drivers/acpi/scan.c
932
INIT_LIST_HEAD(&wakeup->resources);
drivers/acpi/scan.c
975
err = acpi_extract_power_resources(package, 2, &wakeup->resources);
drivers/acpi/scan.c
979
if (!list_empty(&wakeup->resources)) {
drivers/acpi/scan.c
982
err = acpi_power_wakeup_list_init(&wakeup->resources,
drivers/acpi/scan.c
987
acpi_power_resources_list_free(&wakeup->resources);
drivers/block/drbd/drbd_int.h
595
struct list_head resources;
drivers/block/drbd/drbd_int.h
957
list_for_each_entry(resource, _resources, resources)
drivers/block/drbd/drbd_int.h
960
list_for_each_entry_rcu(resource, _resources, resources)
drivers/block/drbd/drbd_int.h
963
list_for_each_entry_safe(resource, tmp, _resources, resources)
drivers/block/drbd/drbd_main.c
2334
list_del(&resource->resources);
drivers/block/drbd/drbd_main.c
2529
list_add_tail_rcu(&resource->resources, &drbd_resources);
drivers/block/drbd/drbd_main.c
2606
list_del(&resource->resources);
drivers/block/drbd/drbd_nl.c
3270
struct drbd_resource, resources);
drivers/block/drbd/drbd_nl.c
3273
list_for_each_entry_continue_rcu(resource, &drbd_resources, resources) {
drivers/block/drbd/drbd_nl.c
3479
resource = list_first_entry(&drbd_resources, struct drbd_resource, resources);
drivers/block/drbd/drbd_nl.c
3517
list_for_each_entry_continue_rcu(next_resource, &drbd_resources, resources) {
drivers/block/drbd/drbd_nl.c
3917
pos = list_entry_rcu(resource->resources.next,
drivers/block/drbd/drbd_nl.c
3918
struct drbd_resource, resources);
drivers/block/drbd/drbd_nl.c
3924
if (&pos->resources == &drbd_resources || cb->args[2])
drivers/block/drbd/drbd_nl.c
4432
list_del_rcu(&resource->resources);
drivers/bluetooth/hci_bcm.c
1166
LIST_HEAD(resources);
drivers/bluetooth/hci_bcm.c
1174
&resources, bcm_resource, dev);
drivers/bluetooth/hci_bcm.c
1178
resource_list_for_each_entry(entry, &resources) {
drivers/bluetooth/hci_bcm.c
1184
acpi_dev_free_resource_list(&resources);
drivers/bus/hisi_lpc.c
400
struct resource *resources;
drivers/bus/hisi_lpc.c
425
resources = devm_kcalloc(hostdev, count, sizeof(*resources),
drivers/bus/hisi_lpc.c
427
if (!resources) {
drivers/bus/hisi_lpc.c
435
resources[count] = *rentry->res;
drivers/bus/hisi_lpc.c
436
hisi_lpc_acpi_fixup_child_resource(hostdev, &resources[count]);
drivers/bus/hisi_lpc.c
446
if (!(resources[i].flags & IORESOURCE_IO))
drivers/bus/hisi_lpc.c
448
ret = hisi_lpc_acpi_xlat_io_res(adev, host, &resources[i]);
drivers/bus/hisi_lpc.c
451
&resources[i], ret);
drivers/bus/hisi_lpc.c
455
*res = resources;
drivers/dio/dio.c
195
request_resource(&iomem_resource, &dio_bus.resources[i]);
drivers/dio/dio.c
39
.resources = {
drivers/fpga/dfl.c
766
fdata->resources = devm_kcalloc(binfo->dev, binfo->feature_num,
drivers/fpga/dfl.c
767
sizeof(*fdata->resources), GFP_KERNEL);
drivers/fpga/dfl.c
768
if (!fdata->resources)
drivers/fpga/dfl.c
833
fdata->resources[res_idx++] = finfo->mmio_res;
drivers/fpga/dfl.c
883
ret = platform_device_add_resources(fdev, fdata->resources,
drivers/fpga/dfl.h
341
struct resource *resources;
drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c
306
adev->acp.acp_cell[0].resources = &adev->acp.acp_res[0];
drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c
313
adev->acp.acp_cell[1].resources = &adev->acp.acp_res[1];
drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c
415
adev->acp.acp_cell[0].resources = &adev->acp.acp_res[0];
drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c
422
adev->acp.acp_cell[1].resources = &adev->acp.acp_res[1];
drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c
429
adev->acp.acp_cell[2].resources = &adev->acp.acp_res[2];
drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c
436
adev->acp.acp_cell[3].resources = &adev->acp.acp_res[3];
drivers/gpu/drm/amd/amdgpu/isp_v4_1_0.c
104
isp->isp_cell[0].resources = &isp->isp_res[0];
drivers/gpu/drm/amd/amdgpu/isp_v4_1_0.c
124
isp->isp_cell[1].resources = &isp->isp_i2c_res[0];
drivers/gpu/drm/amd/amdgpu/isp_v4_1_0.c
145
isp->isp_cell[2].resources = &isp->isp_gpio_res[0];
drivers/gpu/drm/amd/amdgpu/isp_v4_1_1.c
314
isp->isp_cell[0].resources = &isp->isp_res[0];
drivers/gpu/drm/amd/amdgpu/isp_v4_1_1.c
334
isp->isp_cell[1].resources = &isp->isp_i2c_res[0];
drivers/gpu/drm/amd/amdgpu/isp_v4_1_1.c
354
isp->isp_cell[2].resources = &isp->isp_gpio_res[0];
drivers/gpu/drm/drm_drv.c
720
INIT_LIST_HEAD(&dev->managed.resources);
drivers/gpu/drm/drm_managed.c
123
list_add(&dr->node.entry, &dev->managed.resources);
drivers/gpu/drm/drm_managed.c
199
list_for_each_entry_reverse(dr, &dev->managed.resources, node.entry) {
drivers/gpu/drm/drm_managed.c
291
list_for_each_entry(dr, &dev->managed.resources, node.entry) {
drivers/gpu/drm/drm_managed.c
70
list_for_each_entry_safe(dr, tmp, &dev->managed.resources, node.entry) {
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c
170
hash_add_rcu(entry->man->resources, &entry->hash.head,
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c
208
hash_add_rcu(man->resources, &cres->hash.head, cres->hash.key);
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c
244
hash_for_each_possible_rcu(man->resources, hash, head, key) {
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c
293
hash_init(man->resources);
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c
64
DECLARE_HASHTABLE(resources, VMW_CMDBUF_RES_MAN_HT_ORDER);
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c
89
hash_for_each_possible_rcu(man->resources, hash, head, key) {
drivers/hid/wacom.h
182
bool resources;
drivers/hid/wacom_sys.c
2328
if (!wacom->resources)
drivers/hid/wacom_sys.c
2333
wacom->resources = false;
drivers/hid/wacom_sys.c
2385
wacom->resources = true;
drivers/i2c/i2c-boardinfo.c
74
if (info->resources) {
drivers/i2c/i2c-boardinfo.c
75
devinfo->board_info.resources =
drivers/i2c/i2c-boardinfo.c
76
kmemdup(info->resources,
drivers/i2c/i2c-boardinfo.c
78
sizeof(*info->resources),
drivers/i2c/i2c-boardinfo.c
80
if (!devinfo->board_info.resources) {
drivers/i2c/i2c-core-base.c
896
int i2c_dev_irq_from_resources(const struct resource *resources,
drivers/i2c/i2c-core-base.c
903
const struct resource *r = &resources[i];
drivers/i2c/i2c-core-base.c
979
client->init_irq = i2c_dev_irq_from_resources(info->resources,
drivers/i2c/i2c-core.h
23
int i2c_dev_irq_from_resources(const struct resource *resources,
drivers/i3c/master/mipi-i3c-hci/mipi-i3c-hci-pci.c
242
cell->resources = &data->res;
drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c
108
LIST_HEAD(resources);
drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c
114
ret = acpi_dev_get_resources(adev, &resources,
drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c
119
acpi_dev_free_resource_list(&resources);
drivers/infiniband/core/uverbs_cmd.c
2596
struct ib_uflow_resources *resources;
drivers/infiniband/core/uverbs_cmd.c
2598
resources = kzalloc_obj(*resources);
drivers/infiniband/core/uverbs_cmd.c
2600
if (!resources)
drivers/infiniband/core/uverbs_cmd.c
2606
resources->counters =
drivers/infiniband/core/uverbs_cmd.c
2607
kzalloc_objs(*resources->counters, num_specs);
drivers/infiniband/core/uverbs_cmd.c
2608
resources->collection =
drivers/infiniband/core/uverbs_cmd.c
2609
kzalloc_objs(*resources->collection, num_specs);
drivers/infiniband/core/uverbs_cmd.c
2611
if (!resources->counters || !resources->collection)
drivers/infiniband/core/uverbs_cmd.c
2615
resources->max = num_specs;
drivers/infiniband/core/uverbs_cmd.c
2616
return resources;
drivers/infiniband/core/uverbs_cmd.c
2619
kfree(resources->counters);
drivers/infiniband/core/uverbs_cmd.c
2620
kfree(resources);
drivers/infiniband/core/uverbs_std_types.c
65
ib_uverbs_flow_resources_free(uflow->resources);
drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c
540
res_spec->resources[res_lst_sz].type != USNIC_VNIC_RES_TYPE_EOL;
drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c
550
for (i = 0; res_spec->resources[i].type != USNIC_VNIC_RES_TYPE_EOL;
drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c
552
res_type = res_spec->resources[i].type;
drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c
553
res_cnt = res_spec->resources[i].cnt;
drivers/infiniband/hw/usnic/usnic_ib_verbs.c
55
.resources = {
drivers/infiniband/hw/usnic/usnic_ib_verbs.c
60
.resources = {
drivers/infiniband/hw/usnic/usnic_ib_verbs.c
68
.resources = {
drivers/infiniband/hw/usnic/usnic_vnic.c
144
if (spec->resources[i].type == trgt_type) {
drivers/infiniband/hw/usnic/usnic_vnic.c
145
spec->resources[i].cnt = cnt;
drivers/infiniband/hw/usnic/usnic_vnic.c
162
if (res_spec->resources[i].type !=
drivers/infiniband/hw/usnic/usnic_vnic.c
163
min_spec->resources[i].type)
drivers/infiniband/hw/usnic/usnic_vnic.c
166
if (min_spec->resources[i].cnt >
drivers/infiniband/hw/usnic/usnic_vnic.c
167
res_spec->resources[i].cnt)
drivers/infiniband/hw/usnic/usnic_vnic.c
187
res_type = res_spec->resources[i].type;
drivers/infiniband/hw/usnic/usnic_vnic.c
188
res_cnt = res_spec->resources[i].cnt;
drivers/infiniband/hw/usnic/usnic_vnic.c
206
res_type = res_spec->resources[i].type;
drivers/infiniband/hw/usnic/usnic_vnic.c
207
res_cnt = res_spec->resources[i].cnt;
drivers/infiniband/hw/usnic/usnic_vnic.h
82
struct usnic_vnic_res_desc resources[USNIC_VNIC_RES_TYPE_MAX];
drivers/infiniband/sw/rxe/rxe_qp.c
155
qp->resp.resources = kzalloc_objs(struct resp_res, n);
drivers/infiniband/sw/rxe/rxe_qp.c
157
if (!qp->resp.resources)
drivers/infiniband/sw/rxe/rxe_qp.c
165
if (qp->resp.resources) {
drivers/infiniband/sw/rxe/rxe_qp.c
169
struct resp_res *res = &qp->resp.resources[i];
drivers/infiniband/sw/rxe/rxe_qp.c
173
kfree(qp->resp.resources);
drivers/infiniband/sw/rxe/rxe_qp.c
174
qp->resp.resources = NULL;
drivers/infiniband/sw/rxe/rxe_qp.c
188
if (qp->resp.resources) {
drivers/infiniband/sw/rxe/rxe_qp.c
190
res = &qp->resp.resources[i];
drivers/infiniband/sw/rxe/rxe_resp.c
1276
struct resp_res *res = &qp->resp.resources[i];
drivers/infiniband/sw/rxe/rxe_resp.c
607
res = &qp->resp.resources[qp->resp.res_head];
drivers/infiniband/sw/rxe/rxe_verbs.h
231
struct resp_res *resources;
drivers/input/touchscreen/goodix.c
874
LIST_HEAD(resources);
drivers/input/touchscreen/goodix.c
879
ret = acpi_dev_get_resources(ACPI_COMPANION(dev), &resources,
drivers/input/touchscreen/goodix.c
886
acpi_dev_free_resource_list(&resources);
drivers/media/common/saa7146/saa7146_fops.c
14
if (vv->resources & bit) {
drivers/media/common/saa7146/saa7146_fops.c
16
bit, vv->resources);
drivers/media/common/saa7146/saa7146_fops.c
22
if (vv->resources & bit) {
drivers/media/common/saa7146/saa7146_fops.c
24
vv->resources, bit);
drivers/media/common/saa7146/saa7146_fops.c
29
vv->resources |= bit;
drivers/media/common/saa7146/saa7146_fops.c
30
DEB_D("res: get 0x%02x, cur:0x%02x\n", bit, vv->resources);
drivers/media/common/saa7146/saa7146_fops.c
38
WARN_ON((vv->resources & bits) != bits);
drivers/media/common/saa7146/saa7146_fops.c
40
vv->resources &= ~bits;
drivers/media/common/saa7146/saa7146_fops.c
41
DEB_D("res: put 0x%02x, cur:0x%02x\n", bits, vv->resources);
drivers/media/pci/bt8xx/bttv-driver.c
1116
if (0 == (btv->resources & VIDEO_RESOURCES)) {
drivers/media/pci/bt8xx/bttv-driver.c
653
if (btv->resources & xbits) {
drivers/media/pci/bt8xx/bttv-driver.c
659
&& 0 == (btv->resources & VIDEO_RESOURCES)) {
drivers/media/pci/bt8xx/bttv-driver.c
680
btv->resources |= bit;
drivers/media/pci/bt8xx/bttv-driver.c
690
return (btv->resources & bit);
drivers/media/pci/bt8xx/bttv-driver.c
696
return (btv->resources & bit);
drivers/media/pci/bt8xx/bttv-driver.c
730
if ((btv->resources & bits) != bits) {
drivers/media/pci/bt8xx/bttv-driver.c
734
btv->resources &= ~bits;
drivers/media/pci/bt8xx/bttv-driver.c
736
bits = btv->resources;
drivers/media/pci/bt8xx/bttv-vbi.c
271
if (btv->resources & RESOURCE_VBI)
drivers/media/pci/bt8xx/bttvp.h
370
int resources;
drivers/media/pci/cx88/cx88.h
473
unsigned int resources;
drivers/media/pci/saa7134/saa7134.h
557
unsigned int resources;
drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c
540
u8 resources;
drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c
555
resources = MXC_ISI_CHANNEL_RES_OUTPUT_BUF
drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c
557
if ((pipe->available_res & resources) != resources) {
drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c
563
pipe->acquired_res = resources;
drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c
564
pipe->available_res &= ~resources;
drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c
593
const u8 resources = MXC_ISI_CHANNEL_RES_OUTPUT_BUF
drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c
615
if ((chained_pipe->available_res & resources) != resources) {
drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c
621
chained_pipe->chained_res |= resources;
drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c
622
chained_pipe->available_res &= ~resources;
drivers/media/usb/em28xx/em28xx-video.c
859
if (dev->resources & res_type) {
drivers/media/usb/em28xx/em28xx-video.c
865
dev->resources |= res_type;
drivers/media/usb/em28xx/em28xx-video.c
874
dev->resources &= ~res_type;
drivers/media/usb/em28xx/em28xx.h
706
unsigned int resources;
drivers/media/usb/s2255/s2255drv.c
209
int resources;
drivers/mfd/88pm800.c
132
.resources = &rtc_resources[0],
drivers/mfd/88pm800.c
145
.resources = &onkey_resources[0],
drivers/mfd/88pm805.c
71
.resources = &codec_resources[0],
drivers/mfd/88pm860x-core.c
173
.resources = bk0_resources,
drivers/mfd/88pm860x-core.c
178
.resources = bk1_resources,
drivers/mfd/88pm860x-core.c
183
.resources = bk2_resources,
drivers/mfd/88pm860x-core.c
192
.resources = led0_resources,
drivers/mfd/88pm860x-core.c
197
.resources = led1_resources,
drivers/mfd/88pm860x-core.c
202
.resources = led2_resources,
drivers/mfd/88pm860x-core.c
207
.resources = led3_resources,
drivers/mfd/88pm860x-core.c
212
.resources = led4_resources,
drivers/mfd/88pm860x-core.c
217
.resources = led5_resources,
drivers/mfd/88pm860x-core.c
226
.resources = buck1_resources,
drivers/mfd/88pm860x-core.c
231
.resources = buck2_resources,
drivers/mfd/88pm860x-core.c
236
.resources = buck3_resources,
drivers/mfd/88pm860x-core.c
241
.resources = ldo1_resources,
drivers/mfd/88pm860x-core.c
246
.resources = ldo2_resources,
drivers/mfd/88pm860x-core.c
251
.resources = ldo3_resources,
drivers/mfd/88pm860x-core.c
256
.resources = ldo4_resources,
drivers/mfd/88pm860x-core.c
261
.resources = ldo5_resources,
drivers/mfd/88pm860x-core.c
266
.resources = ldo6_resources,
drivers/mfd/88pm860x-core.c
271
.resources = ldo7_resources,
drivers/mfd/88pm860x-core.c
276
.resources = ldo8_resources,
drivers/mfd/88pm860x-core.c
281
.resources = ldo9_resources,
drivers/mfd/88pm860x-core.c
286
.resources = ldo10_resources,
drivers/mfd/88pm860x-core.c
291
.resources = ldo12_resources,
drivers/mfd/88pm860x-core.c
296
.resources = ldo_vibrator_resources,
drivers/mfd/88pm860x-core.c
301
.resources = ldo14_resources,
drivers/mfd/88pm860x-core.c
880
rtc_devs[0].resources = &rtc_resources[0];
drivers/mfd/88pm860x-core.c
899
touch_devs[0].resources = &touch_resources[0];
drivers/mfd/88pm860x-core.c
918
power_devs[0].resources = &battery_resources[0];
drivers/mfd/88pm860x-core.c
927
power_devs[1].resources = &charger_resources[0];
drivers/mfd/88pm860x-core.c
960
onkey_devs[0].resources = &onkey_resources[0];
drivers/mfd/88pm860x-core.c
974
codec_devs[0].resources = &codec_resources[0];
drivers/mfd/as3722.c
44
.resources = as3722_rtc_resource,
drivers/mfd/as3722.c
49
.resources = as3722_adc_resource,
drivers/mfd/atc260x-core.c
128
.resources = atc2603c_onkey_resources,
drivers/mfd/atc260x-core.c
138
.resources = atc2609a_onkey_resources,
drivers/mfd/axp20x.c
1009
.resources = axp20x_ac_power_supply_resources,
drivers/mfd/axp20x.c
1017
.resources = axp22x_usb_power_supply_resources,
drivers/mfd/axp20x.c
1028
.resources = axp22x_pek_resources,
drivers/mfd/axp20x.c
1041
.resources = axp20x_ac_power_supply_resources,
drivers/mfd/axp20x.c
1046
.resources = axp22x_usb_power_supply_resources,
drivers/mfd/axp20x.c
1054
.resources = axp152_pek_resources,
drivers/mfd/axp20x.c
1115
.resources = axp288_adc_resources,
drivers/mfd/axp20x.c
1119
.resources = axp288_extcon_resources,
drivers/mfd/axp20x.c
1123
.resources = axp288_charger_resources,
drivers/mfd/axp20x.c
1127
.resources = axp288_fuel_gauge_resources,
drivers/mfd/axp20x.c
1132
.resources = axp288_power_button_resources,
drivers/mfd/axp20x.c
1142
.resources = axp803_pek_resources,
drivers/mfd/axp20x.c
1156
.resources = axp20x_ac_power_supply_resources,
drivers/mfd/axp20x.c
1160
.resources = axp803_usb_power_supply_resources,
drivers/mfd/axp20x.c
1170
.resources = axp806_pek_resources,
drivers/mfd/axp20x.c
1189
.resources = axp809_pek_resources,
drivers/mfd/axp20x.c
1200
.resources = axp803_pek_resources,
drivers/mfd/axp20x.c
1216
.resources = axp20x_ac_power_supply_resources,
drivers/mfd/axp20x.c
1220
.resources = axp803_usb_power_supply_resources,
drivers/mfd/axp20x.c
1229
.resources = axp15060_pek_resources,
drivers/mfd/axp20x.c
953
.resources = axp192_ac_power_supply_resources,
drivers/mfd/axp20x.c
958
.resources = axp192_usb_power_supply_resources,
drivers/mfd/axp20x.c
970
.resources = axp20x_pek_resources,
drivers/mfd/axp20x.c
983
.resources = axp20x_ac_power_supply_resources,
drivers/mfd/axp20x.c
988
.resources = axp20x_usb_power_supply_resources,
drivers/mfd/axp20x.c
999
.resources = axp22x_pek_resources,
drivers/mfd/cs5535-mfd.c
36
.resources = &cs5535_mfd_resources[SMB_BAR],
drivers/mfd/cs5535-mfd.c
41
.resources = &cs5535_mfd_resources[GPIO_BAR],
drivers/mfd/cs5535-mfd.c
46
.resources = &cs5535_mfd_resources[MFGPT_BAR],
drivers/mfd/cs5535-mfd.c
51
.resources = &cs5535_mfd_resources[PMS_BAR],
drivers/mfd/cs5535-mfd.c
59
.resources = &cs5535_mfd_resources[ACPI_BAR],
drivers/mfd/cs5535-mfd.c
64
.resources = &cs5535_mfd_resources[ACPI_BAR],
drivers/mfd/da9055-core.c
310
.resources = &da9055_ld05_6_resource,
drivers/mfd/da9055-core.c
316
.resources = &da9055_ld05_6_resource,
drivers/mfd/da9055-core.c
323
.resources = &da9055_onkey_resource,
drivers/mfd/da9055-core.c
329
.resources = da9055_rtc_resource,
drivers/mfd/da9055-core.c
335
.resources = &da9055_hwmon_resource,
drivers/mfd/da9063-core.c
108
.resources = da9063_rtc_resources,
drivers/mfd/da9063-core.c
78
.resources = da9063_regulators_resources,
drivers/mfd/da9063-core.c
90
.resources = da9063_hwmon_resources,
drivers/mfd/da9063-core.c
95
.resources = da9063_onkey_resources,
drivers/mfd/da9150-core.c
378
.resources = da9150_gpadc_resources,
drivers/mfd/da9150-core.c
384
.resources = da9150_charger_resources,
drivers/mfd/da9150-core.c
390
.resources = da9150_fg_resources,
drivers/mfd/db8500-prcmu.c
2962
.resources = &ab850x_resource,
drivers/mfd/db8500-prcmu.c
2969
.resources = &ab850x_resource,
drivers/mfd/hi655x-pmic.c
74
.resources = &pwrkey_resources[0],
drivers/mfd/intel-lpss.c
115
.resources = intel_lpss_idma64_resources,
drivers/mfd/intel-lpss.c
121
.resources = intel_lpss_dev_resources,
drivers/mfd/intel-lpss.c
127
.resources = intel_lpss_dev_resources,
drivers/mfd/intel-lpss.c
133
.resources = intel_lpss_dev_resources,
drivers/mfd/intel_pmc_bxt.c
247
.resources = punit_res,
drivers/mfd/intel_pmc_bxt.c
261
.resources = tco_res,
drivers/mfd/intel_pmc_bxt.c
274
.resources = telem_res,
drivers/mfd/intel_quark_i2c_gpio.c
142
.resources = intel_quark_i2c_res,
drivers/mfd/intel_quark_i2c_gpio.c
150
.resources = intel_quark_gpio_res,
drivers/mfd/intel_soc_pmic_bxtwc.c
253
.resources = thermal_resources,
drivers/mfd/intel_soc_pmic_bxtwc.c
258
.resources = gpio_resources,
drivers/mfd/intel_soc_pmic_bxtwc.c
269
.resources = tmu_resources,
drivers/mfd/intel_soc_pmic_bxtwc.c
277
.resources = bcu_resources,
drivers/mfd/intel_soc_pmic_bxtwc.c
285
.resources = adc_resources,
drivers/mfd/intel_soc_pmic_bxtwc.c
293
.resources = usbc_resources,
drivers/mfd/intel_soc_pmic_bxtwc.c
298
.resources = charger_resources,
drivers/mfd/intel_soc_pmic_chtdc_ti.c
60
.resources = power_button_resources,
drivers/mfd/intel_soc_pmic_chtdc_ti.c
64
.resources = adc_resources,
drivers/mfd/intel_soc_pmic_chtdc_ti.c
68
.resources = thermal_resources,
drivers/mfd/intel_soc_pmic_chtdc_ti.c
72
.resources = pwrsrc_resources,
drivers/mfd/intel_soc_pmic_chtdc_ti.c
76
.resources = battery_resources,
drivers/mfd/intel_soc_pmic_chtwc.c
57
.resources = cht_wc_pwrsrc_resources,
drivers/mfd/intel_soc_pmic_chtwc.c
61
.resources = cht_wc_ext_charger_resources,
drivers/mfd/intel_soc_pmic_crc.c
101
.resources = gpio_resources,
drivers/mfd/intel_soc_pmic_crc.c
62
.resources = pwrsrc_resources,
drivers/mfd/intel_soc_pmic_crc.c
67
.resources = thermal_resources,
drivers/mfd/intel_soc_pmic_crc.c
72
.resources = bcu_resources,
drivers/mfd/intel_soc_pmic_crc.c
77
.resources = adc_resources,
drivers/mfd/intel_soc_pmic_crc.c
82
.resources = charger_resources,
drivers/mfd/intel_soc_pmic_crc.c
87
.resources = gpio_resources,
drivers/mfd/intel_soc_pmic_mrfld.c
40
.resources = &irq_level2_resources[0],
drivers/mfd/intel_soc_pmic_mrfld.c
44
.resources = &irq_level2_resources[1],
drivers/mfd/intel_soc_pmic_mrfld.c
48
.resources = &irq_level2_resources[2],
drivers/mfd/intel_soc_pmic_mrfld.c
52
.resources = &irq_level2_resources[3],
drivers/mfd/intel_soc_pmic_mrfld.c
56
.resources = &irq_level2_resources[4],
drivers/mfd/intel_soc_pmic_mrfld.c
60
.resources = &irq_level2_resources[5],
drivers/mfd/intel_soc_pmic_mrfld.c
64
.resources = &irq_level2_resources[5],
drivers/mfd/intel_soc_pmic_mrfld.c
68
.resources = &irq_level2_resources[6],
drivers/mfd/ioc3.c
173
.resources = ioc3_uarta_resources,
drivers/mfd/ioc3.c
178
.resources = ioc3_uartb_resources,
drivers/mfd/ioc3.c
222
.resources = ioc3_kbd_resources,
drivers/mfd/ioc3.c
259
.resources = ioc3_eth_resources,
drivers/mfd/ioc3.c
264
.resources = ioc3_w1_resources,
drivers/mfd/ioc3.c
301
.resources = ioc3_m48t35_resources,
drivers/mfd/ioc3.c
335
.resources = ioc3_rtc_ds1685_resources,
drivers/mfd/ioc3.c
369
.resources = ioc3_leds_resources,
drivers/mfd/janz-cmodio.c
53
struct resource resources[3 * CMODIO_MAX_MODULES];
drivers/mfd/janz-cmodio.c
72
res = &priv->resources[devno * 3];
drivers/mfd/janz-cmodio.c
76
cell->resources = res;
drivers/mfd/lp8788.c
33
.resources = _resource, \
drivers/mfd/lpc_ich.c
124
.resources = wdt_ich_res,
drivers/mfd/lpc_ich.c
1253
struct resource *mem = info->resources[i];
drivers/mfd/lpc_ich.c
131
.resources = gpio_ich_res,
drivers/mfd/lpc_ich.c
141
struct resource **resources;
drivers/mfd/lpc_ich.c
195
.resources = apl_gpio_resources[APL_GPIO_NORTH],
drivers/mfd/lpc_ich.c
202
.resources = apl_gpio_resources[APL_GPIO_NORTHWEST],
drivers/mfd/lpc_ich.c
209
.resources = apl_gpio_resources[APL_GPIO_WEST],
drivers/mfd/lpc_ich.c
216
.resources = apl_gpio_resources[APL_GPIO_SOUTHWEST],
drivers/mfd/lpc_ich.c
225
.resources = apl_gpio_mem_resources,
drivers/mfd/lpc_ich.c
259
.resources = dnv_gpio_resources,
drivers/mfd/lpc_ich.c
268
.resources = dnv_gpio_mem_resources,
drivers/mfd/lpc_ich.c
276
.resources = intel_spi_res,
drivers/mfd/lpc_sch.c
125
cell->resources = res;
drivers/mfd/ls2k-bmc-core.c
123
.resources = ls2k_display_resources
drivers/mfd/ls2k-bmc-core.c
128
.resources = ls2k_ipmi0_resources
drivers/mfd/ls2k-bmc-core.c
133
.resources = ls2k_ipmi1_resources
drivers/mfd/ls2k-bmc-core.c
138
.resources = ls2k_ipmi2_resources
drivers/mfd/ls2k-bmc-core.c
143
.resources = ls2k_ipmi3_resources
drivers/mfd/ls2k-bmc-core.c
148
.resources = ls2k_ipmi4_resources
drivers/mfd/max77620.c
100
.resources = gpio_resources,
drivers/mfd/max77620.c
104
.resources = rtc_resources,
drivers/mfd/max77620.c
108
.resources = power_resources,
drivers/mfd/max77620.c
120
.resources = gpio_resources,
drivers/mfd/max77620.c
124
.resources = rtc_resources,
drivers/mfd/max77620.c
128
.resources = power_resources,
drivers/mfd/max77620.c
76
.resources = gpio_resources,
drivers/mfd/max77620.c
80
.resources = rtc_resources,
drivers/mfd/max77620.c
84
.resources = power_resources,
drivers/mfd/max77620.c
88
.resources = thermal_resources,
drivers/mfd/max77650.c
79
.resources = max77650_charger_resources,
drivers/mfd/max77650.c
84
.resources = max77650_gpio_resources,
drivers/mfd/max77650.c
92
.resources = max77650_onkey_resources,
drivers/mfd/max8925-core.c
107
.resources = &onkey_resources[0],
drivers/mfd/max8925-core.c
209
.resources = sd1_resources,
drivers/mfd/max8925-core.c
214
.resources = sd2_resources,
drivers/mfd/max8925-core.c
219
.resources = sd3_resources,
drivers/mfd/max8925-core.c
224
.resources = ldo1_resources,
drivers/mfd/max8925-core.c
229
.resources = ldo2_resources,
drivers/mfd/max8925-core.c
234
.resources = ldo3_resources,
drivers/mfd/max8925-core.c
239
.resources = ldo4_resources,
drivers/mfd/max8925-core.c
244
.resources = ldo5_resources,
drivers/mfd/max8925-core.c
249
.resources = ldo6_resources,
drivers/mfd/max8925-core.c
254
.resources = ldo7_resources,
drivers/mfd/max8925-core.c
259
.resources = ldo8_resources,
drivers/mfd/max8925-core.c
264
.resources = ldo9_resources,
drivers/mfd/max8925-core.c
269
.resources = ldo10_resources,
drivers/mfd/max8925-core.c
274
.resources = ldo11_resources,
drivers/mfd/max8925-core.c
279
.resources = ldo12_resources,
drivers/mfd/max8925-core.c
284
.resources = ldo13_resources,
drivers/mfd/max8925-core.c
289
.resources = ldo14_resources,
drivers/mfd/max8925-core.c
294
.resources = ldo15_resources,
drivers/mfd/max8925-core.c
299
.resources = ldo16_resources,
drivers/mfd/max8925-core.c
30
.resources = &bk_resources[0],
drivers/mfd/max8925-core.c
304
.resources = ldo17_resources,
drivers/mfd/max8925-core.c
309
.resources = ldo18_resources,
drivers/mfd/max8925-core.c
314
.resources = ldo19_resources,
drivers/mfd/max8925-core.c
319
.resources = ldo20_resources,
drivers/mfd/max8925-core.c
48
.resources = &touch_resources[0],
drivers/mfd/max8925-core.c
66
.resources = &power_supply_resources[0],
drivers/mfd/max8925-core.c
84
.resources = &rtc_resources[0],
drivers/mfd/mfd-core.c
231
res[r].name = cell->resources[r].name;
drivers/mfd/mfd-core.c
232
res[r].flags = cell->resources[r].flags;
drivers/mfd/mfd-core.c
235
if ((cell->resources[r].flags & IORESOURCE_MEM) && mem_base) {
drivers/mfd/mfd-core.c
238
cell->resources[r].start;
drivers/mfd/mfd-core.c
240
cell->resources[r].end;
drivers/mfd/mfd-core.c
241
} else if (cell->resources[r].flags & IORESOURCE_IRQ) {
drivers/mfd/mfd-core.c
244
WARN_ON(cell->resources[r].start !=
drivers/mfd/mfd-core.c
245
cell->resources[r].end);
drivers/mfd/mfd-core.c
247
domain, cell->resources[r].start);
drivers/mfd/mfd-core.c
250
cell->resources[r].start;
drivers/mfd/mfd-core.c
252
cell->resources[r].end;
drivers/mfd/mfd-core.c
255
res[r].parent = cell->resources[r].parent;
drivers/mfd/mfd-core.c
256
res[r].start = cell->resources[r].start;
drivers/mfd/mfd-core.c
257
res[r].end = cell->resources[r].end;
drivers/mfd/mt6397-core.c
130
.resources = mt6323_rtc_resources,
drivers/mfd/mt6397-core.c
141
.resources = mt6323_keys_resources,
drivers/mfd/mt6397-core.c
146
.resources = mt6323_pwrc_resources,
drivers/mfd/mt6397-core.c
158
.resources = mt6328_keys_resources,
drivers/mfd/mt6397-core.c
172
.resources = mt6357_rtc_resources,
drivers/mfd/mt6397-core.c
180
.resources = mt6357_keys_resources,
drivers/mfd/mt6397-core.c
190
.resources = mt6331_rtc_resources,
drivers/mfd/mt6397-core.c
201
.resources = mt6331_keys_resources,
drivers/mfd/mt6397-core.c
216
.resources = mt6358_rtc_resources,
drivers/mfd/mt6397-core.c
224
.resources = mt6358_keys_resources,
drivers/mfd/mt6397-core.c
238
.resources = mt6358_rtc_resources,
drivers/mfd/mt6397-core.c
245
.resources = mt6359_keys_resources,
drivers/mfd/mt6397-core.c
252
.resources = mt6359_accdet_resources,
drivers/mfd/mt6397-core.c
260
.resources = mt6397_rtc_resources,
drivers/mfd/mt6397-core.c
277
.resources = mt6397_keys_resources,
drivers/mfd/mxs-lradc.c
101
.resources = mx23_touchscreen_resources,
drivers/mfd/mxs-lradc.c
109
.resources = mx28_adc_resources,
drivers/mfd/mxs-lradc.c
114
.resources = mx28_touchscreen_resources,
drivers/mfd/mxs-lradc.c
96
.resources = mx23_adc_resources,
drivers/mfd/ocelot-core.c
167
.resources = vsc7512_pinctrl_resources,
drivers/mfd/ocelot-core.c
172
.resources = vsc7512_sgpio_resources,
drivers/mfd/ocelot-core.c
179
.resources = vsc7512_miim0_resources,
drivers/mfd/ocelot-core.c
186
.resources = vsc7512_miim1_resources,
drivers/mfd/ocelot-core.c
191
.resources = vsc7512_serdes_resources,
drivers/mfd/ocelot-core.c
196
.resources = vsc7512_switch_resources,
drivers/mfd/ocelot-core.c
215
ocelot_core_try_add_regmap(dev, &cell->resources[i]);
drivers/mfd/omap-usb-host.c
196
struct resource resources[2];
drivers/mfd/omap-usb-host.c
205
resources[0] = *res;
drivers/mfd/omap-usb-host.c
213
resources[1] = *res;
drivers/mfd/omap-usb-host.c
215
ehci = omap_usbhs_alloc_child(OMAP_EHCI_DEVICE, resources, 2, pdata,
drivers/mfd/omap-usb-host.c
230
resources[0] = *res;
drivers/mfd/omap-usb-host.c
238
resources[1] = *res;
drivers/mfd/omap-usb-host.c
240
ohci = omap_usbhs_alloc_child(OMAP_OHCI_DEVICE, resources, 2, pdata,
drivers/mfd/pf1550.c
143
.resources = regulator_resources,
drivers/mfd/pf1550.c
149
.resources = onkey_resources,
drivers/mfd/pf1550.c
155
.resources = charger_resources,
drivers/mfd/rdc321x-southbridge.c
47
.resources = rdc321x_wdt_resource,
drivers/mfd/rdc321x-southbridge.c
53
.resources = rdc321x_gpio_resources,
drivers/mfd/retu-mfd.c
63
.resources = retu_pwrbutton_res,
drivers/mfd/retu-mfd.c
99
.resources = tahvo_usb_res,
drivers/mfd/rk8xx-core.c
104
.resources = rtc_resources,
drivers/mfd/rk8xx-core.c
115
.resources = rk805_key_resources,
drivers/mfd/rk8xx-core.c
120
.resources = rk816_rtc_resources,
drivers/mfd/rk8xx-core.c
130
.resources = &rk817_pwrkey_resources[0],
drivers/mfd/rk8xx-core.c
135
.resources = &rk817_rtc_resources[0],
drivers/mfd/rk8xx-core.c
141
.resources = &rk817_charger_resources[0],
drivers/mfd/rk8xx-core.c
151
.resources = rtc_resources,
drivers/mfd/rk8xx-core.c
69
.resources = &rk801_key_resources[0],
drivers/mfd/rk8xx-core.c
80
.resources = &rtc_resources[0],
drivers/mfd/rk8xx-core.c
84
.resources = &rk805_key_resources[0],
drivers/mfd/rk8xx-core.c
93
.resources = rk806_pwrkey_resources,
drivers/mfd/rohm-bd71828.c
127
.resources = &bd71815_power_irqs[0],
drivers/mfd/rohm-bd71828.c
132
.resources = &bd71815_rtc_irqs[0],
drivers/mfd/rohm-bd71828.c
170
.resources = bd71828_power_irqs,
drivers/mfd/rohm-bd71828.c
174
.resources = bd71828_rtc_irqs,
drivers/mfd/rohm-bd71828.c
238
.resources = bd72720_power_irqs,
drivers/mfd/rohm-bd71828.c
242
.resources = bd72720_rtc_irqs,
drivers/mfd/rohm-bd9576.c
141
regulators->resources = bd9576_regulator_irqs;
drivers/mfd/rohm-bd96801.c
728
ddata->cells[WDG_CELL].resources = &wdg_irq;
drivers/mfd/rohm-bd96801.c
750
ddata->cells[REGULATOR_CELL].resources = regulator_res;
drivers/mfd/stmfx.c
80
.resources = stmfx_pinctrl_resources,
drivers/mfd/stmfx.c
86
.resources = stmfx_idd_resources,
drivers/mfd/stmfx.c
92
.resources = stmfx_ts_resources,
drivers/mfd/stmpe.c
1316
(struct resource *) &block->cell->resources[j];
drivers/mfd/stmpe.c
319
.resources = stmpe_gpio_resources,
drivers/mfd/stmpe.c
348
.resources = stmpe_keypad_resources,
drivers/mfd/stmpe.c
374
.resources = stmpe_pwm_resources,
drivers/mfd/stmpe.c
459
.resources = stmpe_ts_resources,
drivers/mfd/stmpe.c
482
.resources = stmpe_adc_resources,
drivers/mfd/sun4i-gpadc.c
47
.resources = adc_resources,
drivers/mfd/sun4i-gpadc.c
56
.resources = adc_resources,
drivers/mfd/sun4i-gpadc.c
65
.resources = adc_resources,
drivers/mfd/sun6i-prcm.c
102
.resources = sun8i_codec_analog_res,
drivers/mfd/sun6i-prcm.c
51
.resources = sun6i_a31_ar100_clk_res,
drivers/mfd/sun6i-prcm.c
57
.resources = sun6i_a31_apb0_clk_res,
drivers/mfd/sun6i-prcm.c
63
.resources = sun6i_a31_apb0_gates_clk_res,
drivers/mfd/sun6i-prcm.c
69
.resources = sun6i_a31_ir_clk_res,
drivers/mfd/sun6i-prcm.c
75
.resources = sun6i_a31_apb0_rstc_res,
drivers/mfd/sun6i-prcm.c
84
.resources = sun6i_a31_apb0_clk_res,
drivers/mfd/sun6i-prcm.c
90
.resources = sun6i_a31_apb0_gates_clk_res,
drivers/mfd/sun6i-prcm.c
96
.resources = sun6i_a31_apb0_rstc_res,
drivers/mfd/tc3589x.c
164
.resources = &gpio_resources[0],
drivers/mfd/tc3589x.c
173
.resources = &keypad_resources[0],
drivers/mfd/timberdale.c
373
.resources = timberdale_dma_resources,
drivers/mfd/timberdale.c
380
.resources = timberdale_uart_resources,
drivers/mfd/timberdale.c
385
.resources = timberdale_xiic_resources,
drivers/mfd/timberdale.c
392
.resources = timberdale_gpio_resources,
drivers/mfd/timberdale.c
399
.resources = timberdale_video_resources,
drivers/mfd/timberdale.c
406
.resources = timberdale_radio_resources,
drivers/mfd/timberdale.c
413
.resources = timberdale_spi_resources,
drivers/mfd/timberdale.c
420
.resources = timberdale_eth_resources,
drivers/mfd/timberdale.c
430
.resources = timberdale_dma_resources,
drivers/mfd/timberdale.c
437
.resources = timberdale_uart_resources,
drivers/mfd/timberdale.c
442
.resources = timberdale_uartlite_resources,
drivers/mfd/timberdale.c
447
.resources = timberdale_xiic_resources,
drivers/mfd/timberdale.c
454
.resources = timberdale_gpio_resources,
drivers/mfd/timberdale.c
461
.resources = timberdale_mlogicore_resources,
drivers/mfd/timberdale.c
466
.resources = timberdale_video_resources,
drivers/mfd/timberdale.c
473
.resources = timberdale_radio_resources,
drivers/mfd/timberdale.c
480
.resources = timberdale_spi_resources,
drivers/mfd/timberdale.c
487
.resources = timberdale_eth_resources,
drivers/mfd/timberdale.c
497
.resources = timberdale_dma_resources,
drivers/mfd/timberdale.c
504
.resources = timberdale_uart_resources,
drivers/mfd/timberdale.c
509
.resources = timberdale_xiic_resources,
drivers/mfd/timberdale.c
516
.resources = timberdale_gpio_resources,
drivers/mfd/timberdale.c
523
.resources = timberdale_video_resources,
drivers/mfd/timberdale.c
530
.resources = timberdale_radio_resources,
drivers/mfd/timberdale.c
537
.resources = timberdale_spi_resources,
drivers/mfd/timberdale.c
547
.resources = timberdale_dma_resources,
drivers/mfd/timberdale.c
554
.resources = timberdale_uart_resources,
drivers/mfd/timberdale.c
559
.resources = timberdale_ocores_resources,
drivers/mfd/timberdale.c
566
.resources = timberdale_gpio_resources,
drivers/mfd/timberdale.c
573
.resources = timberdale_video_resources,
drivers/mfd/timberdale.c
580
.resources = timberdale_radio_resources,
drivers/mfd/timberdale.c
587
.resources = timberdale_spi_resources,
drivers/mfd/timberdale.c
594
.resources = timberdale_eth_resources,
drivers/mfd/timberdale.c
618
.resources = timberdale_sdhc_resources,
drivers/mfd/timberdale.c
626
.resources = timberdale_sdhc_resources,
drivers/mfd/tps65090.c
60
.resources = &charger_resources[0],
drivers/mfd/tps65217.c
92
.resources = charger_resources,
drivers/mfd/tps65217.c
98
.resources = pb_resources,
drivers/mfd/tps6586x.c
115
.resources = &tps6586x_rtc_resources[0],
drivers/mfd/tps65910.c
42
.resources = &rtc_resources[0],
drivers/mfd/tps6594-core.c
360
.resources = tps6594_pwrbutton_resources,
drivers/mfd/tqmx86.c
113
.resources = tqmx_i2c_soft_resources,
drivers/mfd/tqmx86.c
121
.resources = tqmx_watchdog_resources,
drivers/mfd/tqmx86.c
127
.resources = tqmx_gpio_resources,
drivers/mfd/twl6040.c
760
cell->resources = twl6040_codec_rsrc;
drivers/mfd/twl6040.c
772
cell->resources = twl6040_vibra_rsrc;
drivers/mfd/vexpress-sysreg.c
77
.resources = &DEFINE_RES_MEM_NAMED(SYS_LED, 0x4, "dat"),
drivers/mfd/vexpress-sysreg.c
83
.resources = &DEFINE_RES_MEM_NAMED(SYS_MCI, 0x4, "dat"),
drivers/mfd/vexpress-sysreg.c
89
.resources = &DEFINE_RES_MEM_NAMED(SYS_FLASH, 0x4, "dat"),
drivers/mfd/vexpress-sysreg.c
94
.resources = &DEFINE_RES_MEM(SYS_MISC, 0x4c),
drivers/mfd/vx855.c
52
.resources = vx855_gpio_resources,
drivers/mfd/wm831x-core.c
1001
.resources = wm831x_dcdc1_resources,
drivers/mfd/wm831x-core.c
1007
.resources = wm831x_dcdc2_resources,
drivers/mfd/wm831x-core.c
1013
.resources = wm831x_dcdc3_resources,
drivers/mfd/wm831x-core.c
1019
.resources = wm831x_dcdc4_resources,
drivers/mfd/wm831x-core.c
1035
.resources = wm831x_gpio_resources,
drivers/mfd/wm831x-core.c
1044
.resources = wm831x_isink1_resources,
drivers/mfd/wm831x-core.c
1050
.resources = wm831x_isink2_resources,
drivers/mfd/wm831x-core.c
1056
.resources = wm831x_ldo1_resources,
drivers/mfd/wm831x-core.c
1062
.resources = wm831x_ldo2_resources,
drivers/mfd/wm831x-core.c
1068
.resources = wm831x_ldo3_resources,
drivers/mfd/wm831x-core.c
1074
.resources = wm831x_ldo4_resources,
drivers/mfd/wm831x-core.c
1080
.resources = wm831x_ldo5_resources,
drivers/mfd/wm831x-core.c
1086
.resources = wm831x_ldo7_resources,
drivers/mfd/wm831x-core.c
1092
.resources = wm831x_ldo11_resources,
drivers/mfd/wm831x-core.c
1097
.resources = wm831x_on_resources,
drivers/mfd/wm831x-core.c
1102
.resources = wm831x_power_resources,
drivers/mfd/wm831x-core.c
1108
.resources = wm831x_status1_resources,
drivers/mfd/wm831x-core.c
1114
.resources = wm831x_status2_resources,
drivers/mfd/wm831x-core.c
1119
.resources = wm831x_wdt_resources,
drivers/mfd/wm831x-core.c
1131
.resources = wm831x_dcdc1_resources,
drivers/mfd/wm831x-core.c
1137
.resources = wm831x_dcdc2_resources,
drivers/mfd/wm831x-core.c
1143
.resources = wm831x_dcdc3_resources,
drivers/mfd/wm831x-core.c
1149
.resources = wm831x_dcdc4_resources,
drivers/mfd/wm831x-core.c
1165
.resources = wm831x_gpio_resources,
drivers/mfd/wm831x-core.c
1174
.resources = wm831x_isink1_resources,
drivers/mfd/wm831x-core.c
1180
.resources = wm831x_isink2_resources,
drivers/mfd/wm831x-core.c
1186
.resources = wm831x_ldo1_resources,
drivers/mfd/wm831x-core.c
1192
.resources = wm831x_ldo2_resources,
drivers/mfd/wm831x-core.c
1198
.resources = wm831x_ldo3_resources,
drivers/mfd/wm831x-core.c
1204
.resources = wm831x_ldo4_resources,
drivers/mfd/wm831x-core.c
1210
.resources = wm831x_ldo5_resources,
drivers/mfd/wm831x-core.c
1216
.resources = wm831x_ldo6_resources,
drivers/mfd/wm831x-core.c
1222
.resources = wm831x_ldo7_resources,
drivers/mfd/wm831x-core.c
1228
.resources = wm831x_ldo8_resources,
drivers/mfd/wm831x-core.c
1234
.resources = wm831x_ldo9_resources,
drivers/mfd/wm831x-core.c
1240
.resources = wm831x_ldo10_resources,
drivers/mfd/wm831x-core.c
1246
.resources = wm831x_ldo11_resources,
drivers/mfd/wm831x-core.c
1251
.resources = wm831x_on_resources,
drivers/mfd/wm831x-core.c
1256
.resources = wm831x_power_resources,
drivers/mfd/wm831x-core.c
1262
.resources = wm831x_status1_resources,
drivers/mfd/wm831x-core.c
1268
.resources = wm831x_status2_resources,
drivers/mfd/wm831x-core.c
1273
.resources = wm831x_wdt_resources,
drivers/mfd/wm831x-core.c
1285
.resources = wm831x_dcdc1_resources,
drivers/mfd/wm831x-core.c
1291
.resources = wm831x_dcdc2_resources,
drivers/mfd/wm831x-core.c
1297
.resources = wm831x_dcdc3_resources,
drivers/mfd/wm831x-core.c
1303
.resources = wm8320_dcdc4_buck_resources,
drivers/mfd/wm831x-core.c
1311
.resources = wm831x_gpio_resources,
drivers/mfd/wm831x-core.c
1320
.resources = wm831x_ldo1_resources,
drivers/mfd/wm831x-core.c
1326
.resources = wm831x_ldo2_resources,
drivers/mfd/wm831x-core.c
1332
.resources = wm831x_ldo3_resources,
drivers/mfd/wm831x-core.c
1338
.resources = wm831x_ldo4_resources,
drivers/mfd/wm831x-core.c
1344
.resources = wm831x_ldo5_resources,
drivers/mfd/wm831x-core.c
1350
.resources = wm831x_ldo6_resources,
drivers/mfd/wm831x-core.c
1356
.resources = wm831x_ldo7_resources,
drivers/mfd/wm831x-core.c
1362
.resources = wm831x_ldo8_resources,
drivers/mfd/wm831x-core.c
1368
.resources = wm831x_ldo9_resources,
drivers/mfd/wm831x-core.c
1374
.resources = wm831x_ldo10_resources,
drivers/mfd/wm831x-core.c
1380
.resources = wm831x_ldo11_resources,
drivers/mfd/wm831x-core.c
1385
.resources = wm831x_on_resources,
drivers/mfd/wm831x-core.c
1391
.resources = wm831x_status1_resources,
drivers/mfd/wm831x-core.c
1397
.resources = wm831x_status2_resources,
drivers/mfd/wm831x-core.c
1402
.resources = wm831x_wdt_resources,
drivers/mfd/wm831x-core.c
1410
.resources = wm831x_touch_resources,
drivers/mfd/wm831x-core.c
1418
.resources = wm831x_rtc_resources,
drivers/mfd/wm831x-core.c
847
.resources = wm831x_dcdc1_resources,
drivers/mfd/wm831x-core.c
853
.resources = wm831x_dcdc2_resources,
drivers/mfd/wm831x-core.c
859
.resources = wm831x_dcdc3_resources,
drivers/mfd/wm831x-core.c
865
.resources = wm831x_dcdc4_resources,
drivers/mfd/wm831x-core.c
881
.resources = wm831x_gpio_resources,
drivers/mfd/wm831x-core.c
890
.resources = wm831x_isink1_resources,
drivers/mfd/wm831x-core.c
896
.resources = wm831x_isink2_resources,
drivers/mfd/wm831x-core.c
902
.resources = wm831x_ldo1_resources,
drivers/mfd/wm831x-core.c
908
.resources = wm831x_ldo2_resources,
drivers/mfd/wm831x-core.c
914
.resources = wm831x_ldo3_resources,
drivers/mfd/wm831x-core.c
920
.resources = wm831x_ldo4_resources,
drivers/mfd/wm831x-core.c
926
.resources = wm831x_ldo5_resources,
drivers/mfd/wm831x-core.c
932
.resources = wm831x_ldo6_resources,
drivers/mfd/wm831x-core.c
938
.resources = wm831x_ldo7_resources,
drivers/mfd/wm831x-core.c
944
.resources = wm831x_ldo8_resources,
drivers/mfd/wm831x-core.c
950
.resources = wm831x_ldo9_resources,
drivers/mfd/wm831x-core.c
956
.resources = wm831x_ldo10_resources,
drivers/mfd/wm831x-core.c
962
.resources = wm831x_ldo11_resources,
drivers/mfd/wm831x-core.c
967
.resources = wm831x_on_resources,
drivers/mfd/wm831x-core.c
972
.resources = wm831x_power_resources,
drivers/mfd/wm831x-core.c
978
.resources = wm831x_status1_resources,
drivers/mfd/wm831x-core.c
984
.resources = wm831x_status2_resources,
drivers/mfd/wm831x-core.c
989
.resources = wm831x_wdt_resources,
drivers/mfd/wm8994-core.c
62
.resources = wm8994_codec_resources,
drivers/mfd/wm8994-core.c
68
.resources = wm8994_gpio_resources,
drivers/misc/vmw_vmci/vmci_guest.c
279
msg->resources[0] = VMCI_GET_CONTEXT_ID;
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
1008
struct resources *r = &this->resources;
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
1204
struct resources *res = &this->resources;
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
1269
struct resources *r = &this->resources;
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
128
clk = this->resources.clock[i];
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
144
clk_disable_unprepare(this->resources.clock[i - 1]);
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
153
struct resources *r = &this->resources;
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
201
struct resources *r = &this->resources;
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
2606
this->resources.bch_regs + HW_BCH_FLASH0LAYOUT0);
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
2608
this->resources.bch_regs + HW_BCH_FLASH0LAYOUT1);
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
2620
this->resources.bch_regs + HW_BCH_CTRL_SET);
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
2647
this->resources.bch_regs + HW_BCH_CTRL_CLR);
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
737
struct resources *r = &this->resources;
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
846
struct resources *r = &this->resources;
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
930
struct resources *r = &this->resources;
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.h
129
struct resources resources;
drivers/net/dsa/ocelot/felix.c
1477
if (!felix->info->resources)
drivers/net/dsa/ocelot/felix.c
1481
if (strcmp(resource_name, felix->info->resources[i].name))
drivers/net/dsa/ocelot/felix.c
1484
memcpy(&res, &felix->info->resources[i], sizeof(res));
drivers/net/dsa/ocelot/felix.h
24
const struct resource *resources;
drivers/net/dsa/ocelot/felix_vsc9959.c
2660
.resources = vsc9959_resources,
drivers/net/dsa/ocelot/seville_vsc9953.c
952
.resources = vsc9953_resources,
drivers/net/ethernet/apm/xgene-v2/enet.c
14
void __iomem *addr = pdata->resources.base_addr + offset;
drivers/net/ethernet/apm/xgene-v2/enet.c
21
void __iomem *addr = pdata->resources.base_addr + offset;
drivers/net/ethernet/apm/xgene-v2/main.c
146
ret = request_irq(pdata->resources.irq, xge_irq, 0, pdata->irq_name,
drivers/net/ethernet/apm/xgene-v2/main.c
158
free_irq(pdata->resources.irq, pdata);
drivers/net/ethernet/apm/xgene-v2/main.c
30
pdata->resources.base_addr = devm_ioremap(dev, res->start,
drivers/net/ethernet/apm/xgene-v2/main.c
32
if (!pdata->resources.base_addr) {
drivers/net/ethernet/apm/xgene-v2/main.c
47
pdata->resources.phy_mode = phy_mode;
drivers/net/ethernet/apm/xgene-v2/main.c
49
if (pdata->resources.phy_mode != PHY_INTERFACE_MODE_RGMII) {
drivers/net/ethernet/apm/xgene-v2/main.c
57
pdata->resources.irq = ret;
drivers/net/ethernet/apm/xgene-v2/main.h
52
struct xge_resource resources;
drivers/net/ethernet/apm/xgene-v2/mdio.c
131
pdata->resources.phy_mode);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c
2594
DEFINE_SHOW_ATTRIBUTE(resources);
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
2328
DEFINE_SHOW_ATTRIBUTE(resources);
drivers/net/wireless/ath/ath10k/pci.c
1798
int resources;
drivers/net/wireless/ath/ath10k/pci.c
1806
resources = ath10k_pci_hif_get_free_queue_number(ar, pipe);
drivers/net/wireless/ath/ath10k/pci.c
1812
if (resources > (ar_pci->attr[pipe].src_nentries >> 1))
drivers/net/wireless/ath/ath10k/snoc.c
763
int resources;
drivers/net/wireless/ath/ath10k/snoc.c
768
resources = ath10k_snoc_hif_get_free_queue_number(ar, pipe);
drivers/net/wireless/ath/ath10k/snoc.c
770
if (resources > (host_ce_config_wlan[pipe].src_nentries >> 1))
drivers/net/wireless/ath/ath6kl/htc_pipe.c
175
struct list_head *queue, int resources)
drivers/net/wireless/ath/ath6kl/htc_pipe.c
182
while (resources) {
drivers/net/wireless/ath/ath6kl/htc_pipe.c
199
resources--;
drivers/parisc/dino.c
1016
pci_add_resource_offset(&resources, &dino_dev->hba.io_space,
drivers/parisc/dino.c
1019
pci_add_resource_offset(&resources, &dino_dev->hba.lmmio_space,
drivers/parisc/dino.c
1022
pci_add_resource_offset(&resources, &dino_dev->hba.elmmio_space,
drivers/parisc/dino.c
1025
pci_add_resource(&resources, &dino_dev->hba.gmmio_space);
drivers/parisc/dino.c
1030
pci_add_resource(&resources, &dino_dev->hba.bus_num);
drivers/parisc/dino.c
1036
dino_current_bus, &dino_cfg_ops, NULL, &resources);
drivers/parisc/dino.c
1040
pci_free_resource_list(&resources);
drivers/parisc/dino.c
938
LIST_HEAD(resources);
drivers/parisc/lba_pci.c
1473
LIST_HEAD(resources);
drivers/parisc/lba_pci.c
1611
pci_add_resource_offset(&resources, &lba_dev->hba.io_space,
drivers/parisc/lba_pci.c
1614
pci_add_resource_offset(&resources, &lba_dev->hba.elmmio_space,
drivers/parisc/lba_pci.c
1617
pci_add_resource_offset(&resources, &lba_dev->hba.lmmio_space,
drivers/parisc/lba_pci.c
1625
pci_add_resource(&resources, &lba_dev->hba.bus_num);
drivers/parisc/lba_pci.c
1630
cfg_ops, NULL, &resources);
drivers/parisc/lba_pci.c
1632
pci_free_resource_list(&resources);
drivers/pci/bus.c
106
list_for_each_entry_safe(bus_res, tmp, &bus->resources, list) {
drivers/pci/bus.c
123
list_for_each_entry_safe(bus_res, tmp, &bus->resources, list) {
drivers/pci/bus.c
130
struct list_head *resources)
drivers/pci/bus.c
136
resource_list_for_each_entry(win, resources) {
drivers/pci/bus.c
36
void pci_add_resource_offset(struct list_head *resources, struct resource *res,
drivers/pci/bus.c
48
resource_list_add_tail(entry, resources);
drivers/pci/bus.c
52
void pci_add_resource(struct list_head *resources, struct resource *res)
drivers/pci/bus.c
54
pci_add_resource_offset(resources, res, 0);
drivers/pci/bus.c
58
void pci_free_resource_list(struct list_head *resources)
drivers/pci/bus.c
60
resource_list_free(resources);
drivers/pci/bus.c
75
list_add_tail(&bus_res->list, &bus->resources);
drivers/pci/bus.c
86
list_for_each_entry(bus_res, &bus->resources, list) {
drivers/pci/controller/pcie-iproc.c
1009
struct list_head *resources)
drivers/pci/controller/pcie-iproc.c
1015
resource_list_for_each_entry(window, resources) {
drivers/pci/controller/pcie-xilinx-dma-pl.c
126
struct list_head resources;
drivers/pci/controller/pcie-xilinx.c
111
struct list_head resources;
drivers/pci/controller/vmd.c
138
struct resource resources[3];
drivers/pci/controller/vmd.c
523
u16 bus, max_buses = resource_size(&vmd->resources[0]);
drivers/pci/controller/vmd.c
571
vmd->dev->resource[VMD_MEMBAR1].child = &vmd->resources[1];
drivers/pci/controller/vmd.c
572
vmd->dev->resource[VMD_MEMBAR2].child = &vmd->resources[2];
drivers/pci/controller/vmd.c
780
LIST_HEAD(resources);
drivers/pci/controller/vmd.c
815
vmd->resources[0] = (struct resource) {
drivers/pci/controller/vmd.c
844
vmd->resources[1] = (struct resource) {
drivers/pci/controller/vmd.c
857
vmd->resources[2] = (struct resource) {
drivers/pci/controller/vmd.c
886
pci_add_resource(&resources, &vmd->resources[0]);
drivers/pci/controller/vmd.c
887
pci_add_resource_offset(&resources, &vmd->resources[1], offset[0]);
drivers/pci/controller/vmd.c
888
pci_add_resource_offset(&resources, &vmd->resources[2], offset[1]);
drivers/pci/controller/vmd.c
905
&vmd_ops, sd, &resources);
drivers/pci/controller/vmd.c
908
pci_free_resource_list(&resources);
drivers/pci/hotplug/cpqphp.h
427
struct resource_lists *resources);
drivers/pci/hotplug/cpqphp.h
428
void cpqhp_destroy_resource_list(struct resource_lists *resources);
drivers/pci/hotplug/cpqphp_ctrl.c
2211
u8 behind_bridge, struct resource_lists *resources)
drivers/pci/hotplug/cpqphp_ctrl.c
2238
rc = configure_new_function(ctrl, new_slot, behind_bridge, resources);
drivers/pci/hotplug/cpqphp_ctrl.c
2248
cpqhp_return_board_resources(new_slot, resources);
drivers/pci/hotplug/cpqphp_ctrl.c
2308
struct resource_lists *resources)
drivers/pci/hotplug/cpqphp_ctrl.c
2354
bus_node = get_max_resource(&(resources->bus_head), 1);
drivers/pci/hotplug/cpqphp_ctrl.c
2390
io_node = get_max_resource(&(resources->io_head), 0x1000);
drivers/pci/hotplug/cpqphp_ctrl.c
2393
mem_node = get_max_resource(&(resources->mem_head), 0x100000);
drivers/pci/hotplug/cpqphp_ctrl.c
2396
p_mem_node = get_max_resource(&(resources->p_mem_head), 0x100000);
drivers/pci/hotplug/cpqphp_ctrl.c
2411
if (!resources->irqs) {
drivers/pci/hotplug/cpqphp_ctrl.c
2419
irqs.barber_pole = resources->irqs->barber_pole;
drivers/pci/hotplug/cpqphp_ctrl.c
2420
irqs.interrupt[0] = resources->irqs->interrupt[0];
drivers/pci/hotplug/cpqphp_ctrl.c
2421
irqs.interrupt[1] = resources->irqs->interrupt[1];
drivers/pci/hotplug/cpqphp_ctrl.c
2422
irqs.interrupt[2] = resources->irqs->interrupt[2];
drivers/pci/hotplug/cpqphp_ctrl.c
2423
irqs.interrupt[3] = resources->irqs->interrupt[3];
drivers/pci/hotplug/cpqphp_ctrl.c
2424
irqs.valid_INT = resources->irqs->valid_INT;
drivers/pci/hotplug/cpqphp_ctrl.c
2531
if (resources->irqs) {
drivers/pci/hotplug/cpqphp_ctrl.c
2532
resources->irqs->interrupt[0] = irqs.interrupt[0];
drivers/pci/hotplug/cpqphp_ctrl.c
2533
resources->irqs->interrupt[1] = irqs.interrupt[1];
drivers/pci/hotplug/cpqphp_ctrl.c
2534
resources->irqs->interrupt[2] = irqs.interrupt[2];
drivers/pci/hotplug/cpqphp_ctrl.c
2535
resources->irqs->interrupt[3] = irqs.interrupt[3];
drivers/pci/hotplug/cpqphp_ctrl.c
2536
resources->irqs->valid_INT = irqs.valid_INT;
drivers/pci/hotplug/cpqphp_ctrl.c
2566
return_resource(&(resources->bus_head), temp_resources.bus_head);
drivers/pci/hotplug/cpqphp_ctrl.c
2583
return_resource(&(resources->io_head), io_node);
drivers/pci/hotplug/cpqphp_ctrl.c
2602
return_resource(&(resources->io_head), io_node);
drivers/pci/hotplug/cpqphp_ctrl.c
2608
return_resource(&(resources->io_head), io_node);
drivers/pci/hotplug/cpqphp_ctrl.c
2634
return_resource(&(resources->mem_head), mem_node);
drivers/pci/hotplug/cpqphp_ctrl.c
2654
return_resource(&(resources->mem_head), mem_node);
drivers/pci/hotplug/cpqphp_ctrl.c
2660
return_resource(&(resources->mem_head), mem_node);
drivers/pci/hotplug/cpqphp_ctrl.c
2686
return_resource(&(resources->p_mem_head), p_mem_node);
drivers/pci/hotplug/cpqphp_ctrl.c
2705
return_resource(&(resources->p_mem_head), p_mem_node);
drivers/pci/hotplug/cpqphp_ctrl.c
2711
return_resource(&(resources->p_mem_head), p_mem_node);
drivers/pci/hotplug/cpqphp_ctrl.c
2769
io_node = get_io_resource(&(resources->io_head), base);
drivers/pci/hotplug/cpqphp_ctrl.c
2786
p_mem_node = get_resource(&(resources->p_mem_head), base);
drivers/pci/hotplug/cpqphp_ctrl.c
2802
mem_node = get_resource(&(resources->mem_head), base);
drivers/pci/hotplug/cpqphp_ctrl.c
2840
if (temp_byte && resources->irqs &&
drivers/pci/hotplug/cpqphp_ctrl.c
2841
(resources->irqs->valid_INT &
drivers/pci/hotplug/cpqphp_ctrl.c
2842
(0x01 << ((temp_byte + resources->irqs->barber_pole - 1) & 0x03)))) {
drivers/pci/hotplug/cpqphp_ctrl.c
2844
IRQ = resources->irqs->interrupt[(temp_byte +
drivers/pci/hotplug/cpqphp_ctrl.c
2845
resources->irqs->barber_pole - 1) & 0x03];
drivers/pci/hotplug/cpqphp_ctrl.c
2867
resources->irqs->interrupt[(temp_byte + resources->irqs->barber_pole - 1) & 0x03] = IRQ;
drivers/pci/hotplug/cpqphp_ctrl.c
2868
resources->irqs->valid_INT |= 0x01 << (temp_byte + resources->irqs->barber_pole - 1) & 0x03;
drivers/pci/hotplug/cpqphp_ctrl.c
29
u8 behind_bridge, struct resource_lists *resources);
drivers/pci/hotplug/cpqphp_ctrl.c
2906
return_resource(&(resources->bus_head), hold_bus_node);
drivers/pci/hotplug/cpqphp_ctrl.c
2907
return_resource(&(resources->io_head), hold_IO_node);
drivers/pci/hotplug/cpqphp_ctrl.c
2908
return_resource(&(resources->mem_head), hold_mem_node);
drivers/pci/hotplug/cpqphp_ctrl.c
2909
return_resource(&(resources->p_mem_head), hold_p_mem_node);
drivers/pci/hotplug/cpqphp_ctrl.c
31
u8 behind_bridge, struct resource_lists *resources);
drivers/pci/hotplug/cpqphp_pci.c
1405
int cpqhp_return_board_resources(struct pci_func *func, struct resource_lists *resources)
drivers/pci/hotplug/cpqphp_pci.c
1419
return_resource(&(resources->io_head), node);
drivers/pci/hotplug/cpqphp_pci.c
1427
return_resource(&(resources->mem_head), node);
drivers/pci/hotplug/cpqphp_pci.c
1435
return_resource(&(resources->p_mem_head), node);
drivers/pci/hotplug/cpqphp_pci.c
1443
return_resource(&(resources->bus_head), node);
drivers/pci/hotplug/cpqphp_pci.c
1447
rc |= cpqhp_resource_sort_and_combine(&(resources->mem_head));
drivers/pci/hotplug/cpqphp_pci.c
1448
rc |= cpqhp_resource_sort_and_combine(&(resources->p_mem_head));
drivers/pci/hotplug/cpqphp_pci.c
1449
rc |= cpqhp_resource_sort_and_combine(&(resources->io_head));
drivers/pci/hotplug/cpqphp_pci.c
1450
rc |= cpqhp_resource_sort_and_combine(&(resources->bus_head));
drivers/pci/hotplug/cpqphp_pci.c
1461
void cpqhp_destroy_resource_list(struct resource_lists *resources)
drivers/pci/hotplug/cpqphp_pci.c
1465
res = resources->io_head;
drivers/pci/hotplug/cpqphp_pci.c
1466
resources->io_head = NULL;
drivers/pci/hotplug/cpqphp_pci.c
1474
res = resources->mem_head;
drivers/pci/hotplug/cpqphp_pci.c
1475
resources->mem_head = NULL;
drivers/pci/hotplug/cpqphp_pci.c
1483
res = resources->p_mem_head;
drivers/pci/hotplug/cpqphp_pci.c
1484
resources->p_mem_head = NULL;
drivers/pci/hotplug/cpqphp_pci.c
1492
res = resources->bus_head;
drivers/pci/hotplug/cpqphp_pci.c
1493
resources->bus_head = NULL;
drivers/pci/of.c
320
struct list_head *resources,
drivers/pci/of.c
353
pci_add_resource(resources, bus_range);
drivers/pci/of.c
405
pci_add_resource_offset(resources, res, res->start - range.pci_addr);
drivers/pci/of.c
447
pci_free_resource_list(resources);
drivers/pci/pci-acpi.c
1600
resource_list_for_each_entry_safe(entry, tmp, &ci->resources) {
drivers/pci/probe.c
1036
list_splice_init(&bridge->windows, &resources);
drivers/pci/probe.c
1086
resource_list_for_each_entry_safe(window, n, &resources) {
drivers/pci/probe.c
1087
if (list_is_last(&window->node, &resources))
drivers/pci/probe.c
1106
resource_list_for_each_entry_safe(window, n, &resources) {
drivers/pci/probe.c
3233
struct pci_ops *ops, void *sysdata, struct list_head *resources)
drivers/pci/probe.c
3244
list_splice_init(resources, &bridge->windows);
drivers/pci/probe.c
3409
struct pci_ops *ops, void *sysdata, struct list_head *resources)
drivers/pci/probe.c
3416
resource_list_for_each_entry(window, resources)
drivers/pci/probe.c
3422
b = pci_create_root_bus(parent, bus, ops, sysdata, resources);
drivers/pci/probe.c
3445
LIST_HEAD(resources);
drivers/pci/probe.c
3448
pci_add_resource(&resources, &ioport_resource);
drivers/pci/probe.c
3449
pci_add_resource(&resources, &iomem_resource);
drivers/pci/probe.c
3450
pci_add_resource(&resources, &busn_resource);
drivers/pci/probe.c
3451
b = pci_create_root_bus(NULL, bus, ops, sysdata, &resources);
drivers/pci/probe.c
3455
pci_free_resource_list(&resources);
drivers/pci/probe.c
631
INIT_LIST_HEAD(&b->resources);
drivers/pci/probe.c
993
LIST_HEAD(resources);
drivers/pci/xen-pcifront.c
441
LIST_HEAD(resources);
drivers/pci/xen-pcifront.c
471
pci_add_resource(&resources, &ioport_resource);
drivers/pci/xen-pcifront.c
472
pci_add_resource(&resources, &iomem_resource);
drivers/pci/xen-pcifront.c
473
pci_add_resource(&resources, &busn_res);
drivers/pci/xen-pcifront.c
479
&pcifront_bus_ops, sd, &resources);
drivers/pci/xen-pcifront.c
485
pci_free_resource_list(&resources);
drivers/pcmcia/ds.c
1044
static DEVICE_ATTR_RO(resources);
drivers/phy/apple/atc.c
2197
} resources[] = {
drivers/phy/apple/atc.c
2206
for (int i = 0; i < ARRAY_SIZE(resources); i++) {
drivers/phy/apple/atc.c
2207
res = platform_get_resource_byname(pdev, IORESOURCE_MEM, resources[i].name);
drivers/phy/apple/atc.c
2208
*resources[i].addr = devm_ioremap_resource(&pdev->dev, res);
drivers/phy/apple/atc.c
2209
if (IS_ERR(resources[i].addr))
drivers/phy/apple/atc.c
2210
return dev_err_probe(atcphy->dev, PTR_ERR(resources[i].addr),
drivers/phy/apple/atc.c
2211
"Unable to map %s regs", resources[i].name);
drivers/phy/apple/atc.c
2213
if (resources[i].res)
drivers/phy/apple/atc.c
2214
*resources[i].res = res;
drivers/platform/chrome/chromeos_laptop.c
732
i2c_dev->board_info.resources = &i2c_dev->irq_resource;
drivers/platform/chrome/cros_ec_uart.c
227
LIST_HEAD(resources);
drivers/platform/chrome/cros_ec_uart.c
230
ret = acpi_dev_get_resources(adev, &resources, cros_ec_uart_resource, ec_uart);
drivers/platform/chrome/cros_ec_uart.c
234
acpi_dev_free_resource_list(&resources);
drivers/pnp/core.c
104
list_for_each_entry_safe(pnp_res, tmp, &dev->resources, list) {
drivers/pnp/core.c
129
INIT_LIST_HEAD(&dev->resources);
drivers/pnp/interface.c
270
list_for_each_entry(pnp_res, &dev->resources, list) {
drivers/pnp/interface.c
439
static DEVICE_ATTR_RW(resources);
drivers/pnp/manager.c
245
list_for_each_entry_safe(pnp_res, tmp, &dev->resources, list) {
drivers/pnp/quirks.c
305
list_for_each_entry(pnp_res, &dev->resources, list) {
drivers/pnp/quirks.c
388
list_for_each_entry(pnp_res, &dev->resources, list) {
drivers/pnp/resource.c
489
list_for_each_entry(pnp_res, &dev->resources, list) {
drivers/pnp/resource.c
506
list_add_tail(&pnp_res->list, &dev->resources);
drivers/pnp/resource.c
694
list_for_each_entry(pnp_res, &dev->resources, list) {
drivers/pnp/support.c
83
if (list_empty(&dev->resources))
drivers/pnp/support.c
87
list_for_each_entry(pnp_res, &dev->resources, list)
drivers/soc/sophgo/cv1800-rtcsys.c
26
.resources = &cv1800_rtcsys_irq_resources[0],
drivers/soc/tegra/fuse/tegra-apbmisc.c
266
struct resource *resources[2] = { NULL };
drivers/soc/tegra/fuse/tegra-apbmisc.c
292
if (rcount >= ARRAY_SIZE(resources))
drivers/soc/tegra/fuse/tegra-apbmisc.c
295
resources[rcount++] = rentry->res;
drivers/soc/tegra/fuse/tegra-apbmisc.c
298
if (!resources[0]) {
drivers/soc/tegra/fuse/tegra-apbmisc.c
303
if (!resources[1]) {
drivers/soc/tegra/fuse/tegra-apbmisc.c
308
tegra_init_apbmisc_resources(resources[0], resources[1]);
drivers/spi/spi.c
1006
list_for_each_entry_safe_reverse(res, tmp, &message->resources, entry) {
drivers/spi/spi.c
994
list_add_tail(&sres->entry, &message->resources);
drivers/usb/host/sl811_cs.c
100
resources[1].start = base_addr;
drivers/usb/host/sl811_cs.c
101
resources[1].end = base_addr;
drivers/usb/host/sl811_cs.c
103
resources[2].start = base_addr + 1;
drivers/usb/host/sl811_cs.c
104
resources[2].end = base_addr + 1;
drivers/usb/host/sl811_cs.c
64
static struct resource resources[] = {
drivers/usb/host/sl811_cs.c
86
.resource = resources,
drivers/usb/host/sl811_cs.c
87
.num_resources = ARRAY_SIZE(resources),
drivers/usb/host/sl811_cs.c
98
resources[0].start = irq;
drivers/usb/musb/musb_dsps.c
725
struct resource resources[2];
drivers/usb/musb/musb_dsps.c
733
memset(resources, 0, sizeof(resources));
drivers/usb/musb/musb_dsps.c
739
resources[0] = *res;
drivers/usb/musb/musb_dsps.c
745
resources[1].start = ret;
drivers/usb/musb/musb_dsps.c
746
resources[1].end = ret;
drivers/usb/musb/musb_dsps.c
747
resources[1].flags = IORESOURCE_IRQ | irq_get_trigger_type(ret);
drivers/usb/musb/musb_dsps.c
748
resources[1].name = "mc";
drivers/usb/musb/musb_dsps.c
752
(resources[0].start & 0xFFF) == 0x400 ? 0 : 1);
drivers/usb/musb/musb_dsps.c
765
ret = platform_device_add_resources(musb, resources,
drivers/usb/musb/musb_dsps.c
766
ARRAY_SIZE(resources));
drivers/virtio/virtio_mmio.c
676
struct resource resources[2] = {};
drivers/virtio/virtio_mmio.c
699
resources[0].flags = IORESOURCE_MEM;
drivers/virtio/virtio_mmio.c
700
resources[0].start = base;
drivers/virtio/virtio_mmio.c
701
resources[0].end = base + size - 1;
drivers/virtio/virtio_mmio.c
703
resources[1].flags = IORESOURCE_IRQ;
drivers/virtio/virtio_mmio.c
704
resources[1].start = resources[1].end = irq;
drivers/virtio/virtio_mmio.c
718
(unsigned long long)resources[0].start,
drivers/virtio/virtio_mmio.c
719
(unsigned long long)resources[0].end,
drivers/virtio/virtio_mmio.c
720
(int)resources[1].start);
drivers/virtio/virtio_mmio.c
724
resources, ARRAY_SIZE(resources), NULL, 0);
drivers/xen/arm-device.c
100
xen_unmap_device_mmio(resources, i);
drivers/xen/arm-device.c
14
static int xen_unmap_device_mmio(const struct resource *resources,
drivers/xen/arm-device.c
23
r = &resources[i];
drivers/xen/arm-device.c
41
static int xen_map_device_mmio(const struct resource *resources,
drivers/xen/arm-device.c
57
r = &resources[i];
fs/ocfs2/dlm/dlmcommon.h
90
struct list_head resources;
fs/ocfs2/dlm/dlmdomain.c
1995
INIT_LIST_HEAD(&dlm->reco.resources);
fs/ocfs2/dlm/dlmrecovery.c
1040
list_for_each_entry_safe(res, next, &dlm->reco.resources, recovering) {
fs/ocfs2/dlm/dlmrecovery.c
2061
list_add_tail(&res->recovering, &dlm->reco.resources);
fs/ocfs2/dlm/dlmrecovery.c
2135
list_for_each_entry_safe(res, next, &dlm->reco.resources, recovering) {
fs/ocfs2/dlm/dlmrecovery.c
269
list_for_each_entry(res, &dlm->reco.resources, recovering) {
fs/ocfs2/dlm/dlmrecovery.c
866
LIST_HEAD(resources);
fs/ocfs2/dlm/dlmrecovery.c
904
dlm_move_reco_locks_to_list(dlm, &resources, dead_node);
fs/ocfs2/dlm/dlmrecovery.c
910
list_for_each_entry(res, &resources, recovering) {
fs/ocfs2/dlm/dlmrecovery.c
924
list_splice_init(&resources, &dlm->reco.resources);
include/acpi/acpi_bus.h
282
struct list_head resources; /* Power resources referenced */
include/acpi/acpi_bus.h
346
struct list_head resources;
include/acpi/actbl1.h
993
struct acpi_drtm_resource resources[];
include/drm/drm_device.h
115
struct list_head resources;
include/kunit/resource.h
332
list_for_each_entry_reverse(res, &test->resources, node) {
include/kunit/test.h
352
struct list_head resources; /* Protected by lock. */
include/linux/dio.h
65
struct resource resources[2]; /* address space routed to this bus */
include/linux/i2c.h
433
const struct resource *resources;
include/linux/mfd/core.h
105
const struct resource *resources;
include/linux/mfd/core.h
20
.resources = (_res), \
include/linux/pci-acpi.h
68
struct list_head resources;
include/linux/pci.h
1225
struct list_head *resources);
include/linux/pci.h
1233
struct list_head *resources);
include/linux/pci.h
1585
void pci_add_resource(struct list_head *resources, struct resource *res);
include/linux/pci.h
1586
void pci_add_resource_offset(struct list_head *resources, struct resource *res,
include/linux/pci.h
1588
void pci_free_resource_list(struct list_head *resources);
include/linux/pci.h
1594
struct list_head *resources);
include/linux/pci.h
707
struct list_head resources; /* Address space routed to this bus */
include/linux/pe.h
364
struct data_dirent resources; /* .rsrc */
include/linux/pnp.h
264
struct list_head resources;
include/linux/spi/spi.h
1242
struct list_head resources;
include/linux/spi/spi.h
1248
INIT_LIST_HEAD(&m->resources);
include/linux/vmw_vmci_defs.h
613
u32 resources[1];
include/media/drv-intf/saa7146_vv.h
108
unsigned int resources; /* resource management for device */
include/rdma/uverbs_std_types.h
137
struct ib_uflow_resources *resources;
include/rdma/uverbs_std_types.h
162
uflow->resources = uflow_res;
kernel/cgroup/rdma.c
180
rpool->resources[index].usage--;
kernel/cgroup/rdma.c
186
WARN_ON_ONCE(rpool->resources[index].usage < 0);
kernel/cgroup/rdma.c
286
new = rpool->resources[index].usage + 1;
kernel/cgroup/rdma.c
287
if (new > rpool->resources[index].max) {
kernel/cgroup/rdma.c
291
rpool->resources[index].usage = new;
kernel/cgroup/rdma.c
508
value = rpool->resources[i].max;
kernel/cgroup/rdma.c
513
value = rpool->resources[i].usage;
kernel/cgroup/rdma.c
56
struct rdmacg_resource resources[RDMACG_RESOURCE_MAX];
kernel/cgroup/rdma.c
86
if (rpool->resources[index].max != S32_MAX)
kernel/cgroup/rdma.c
89
if (rpool->resources[index].max == S32_MAX)
kernel/cgroup/rdma.c
92
rpool->resources[index].max = new_max;
lib/kunit/kunit-test.c
191
KUNIT_EXPECT_TRUE(test, list_empty(&ctx->test.resources));
lib/kunit/kunit-test.c
210
KUNIT_EXPECT_TRUE(test, list_is_last(&res->node, &ctx->test.resources));
lib/kunit/kunit-test.c
249
KUNIT_EXPECT_TRUE(test, list_empty(&ctx->test.resources));
lib/kunit/kunit-test.c
263
KUNIT_EXPECT_FALSE(test, list_empty(&ctx->test.resources));
lib/kunit/kunit-test.c
269
KUNIT_EXPECT_TRUE(test, list_empty(&ctx->test.resources));
lib/kunit/kunit-test.c
275
KUNIT_EXPECT_TRUE(test, list_empty(&ctx->test.resources));
lib/kunit/kunit-test.c
290
struct kunit_resource *resources[5];
lib/kunit/kunit-test.c
292
for (i = 0; i < ARRAY_SIZE(resources); i++) {
lib/kunit/kunit-test.c
293
resources[i] = kunit_alloc_and_get_resource(&ctx->test,
lib/kunit/kunit-test.c
298
kunit_put_resource(resources[i]);
lib/kunit/kunit-test.c
303
KUNIT_EXPECT_TRUE(test, list_empty(&ctx->test.resources));
lib/kunit/kunit-test.c
418
KUNIT_EXPECT_TRUE(test, list_empty(&test->resources));
lib/kunit/kunit-test.c
454
KUNIT_EXPECT_TRUE(test, list_empty(&test->resources));
lib/kunit/kunit-test.c
887
KUNIT_ASSERT_EQ(test, list_count_nodes(&fake_test.resources), 0);
lib/kunit/kunit-test.c
892
KUNIT_ASSERT_EQ(test, list_count_nodes(&fake_test.resources), 1);
lib/kunit/kunit-test.c
894
res = list_first_entry(&fake_test.resources, struct kunit_resource, node);
lib/kunit/kunit-test.c
904
KUNIT_ASSERT_EQ(test, list_count_nodes(&fake_test.resources), 0);
lib/kunit/resource.c
40
list_add_tail(&res->node, &test->resources);
lib/kunit/test.c
1039
if (list_empty(&test->resources)) {
lib/kunit/test.c
1043
res = list_last_entry(&test->resources,
lib/kunit/test.c
351
INIT_LIST_HEAD(&test->resources);
sound/aoa/soundbus/i2sbus/core.c
254
if (i2sbus_get_and_fixup_rsrc(np,i,layout,&dev->resources[i]))
sound/aoa/soundbus/i2sbus/core.c
261
request_mem_region(dev->resources[i].start,
sound/aoa/soundbus/i2sbus/core.c
262
resource_size(&dev->resources[i]),
sound/aoa/soundbus/i2sbus/core.c
270
r = &dev->resources[aoa_resource_i2smmio];
sound/aoa/soundbus/i2sbus/core.c
276
r = &dev->resources[aoa_resource_txdbdma];
sound/aoa/soundbus/i2sbus/core.c
282
r = &dev->resources[aoa_resource_rxdbdma];
sound/aoa/soundbus/i2sbus/i2sbus.h
63
struct resource resources[3];
sound/firewire/bebob/bebob_stream.c
428
conn->resources.channel, conn->speed);
sound/firewire/cmp.c
139
err = fw_iso_resources_init(&c->resources, unit);
sound/firewire/cmp.c
166
c->resources.unit, TCODE_READ_QUADLET_REQUEST,
sound/firewire/cmp.c
184
fw_iso_resources_destroy(&c->resources);
sound/firewire/cmp.c
193
if (WARN_ON(c->resources.allocated))
sound/firewire/cmp.c
197
fw_parent_device(c->resources.unit)->max_speed);
sound/firewire/cmp.c
199
return fw_iso_resources_allocate(&c->resources, max_payload_bytes,
sound/firewire/cmp.c
207
fw_iso_resources_free(&c->resources);
sound/firewire/cmp.c
217
ipcr |= cpu_to_be32(c->resources.channel << PCR_CHANNEL_SHIFT);
sound/firewire/cmp.c
232
if (c->resources.bandwidth_overhead < (id << 5))
sound/firewire/cmp.c
262
opcr |= cpu_to_be32(c->resources.channel << PCR_CHANNEL_SHIFT);
sound/firewire/cmp.c
312
err = fw_iso_resources_update(&c->resources);
sound/firewire/cmp.c
51
dev_err(&c->resources.unit->device, "%cPCR%u: %pV",
sound/firewire/cmp.c
87
c->resources.unit, TCODE_LOCK_COMPARE_SWAP,
sound/firewire/cmp.c
89
FW_FIXED_GENERATION | c->resources.generation);
sound/firewire/cmp.h
31
struct fw_iso_resources resources;
sound/firewire/dice/dice-stream.c
156
struct fw_iso_resources *resources, unsigned int rate,
sound/firewire/dice/dice-stream.c
192
return fw_iso_resources_allocate(resources,
sound/firewire/dice/dice-stream.c
212
struct fw_iso_resources *resources;
sound/firewire/dice/dice-stream.c
219
resources = &dice->tx_resources[i];
sound/firewire/dice/dice-stream.c
227
resources = &dice->rx_resources[i];
sound/firewire/dice/dice-stream.c
247
err = keep_resources(dice, stream, resources, rate, pcm_chs,
sound/firewire/dice/dice-stream.c
335
struct fw_iso_resources *resources;
sound/firewire/dice/dice-stream.c
340
resources = dice->tx_resources + i;
sound/firewire/dice/dice-stream.c
343
resources = dice->rx_resources + i;
sound/firewire/dice/dice-stream.c
346
reg = cpu_to_be32(resources->channel);
sound/firewire/dice/dice-stream.c
369
resources->channel, max_speed);
sound/firewire/dice/dice-stream.c
492
struct fw_iso_resources *resources;
sound/firewire/dice/dice-stream.c
497
resources = &dice->tx_resources[index];
sound/firewire/dice/dice-stream.c
500
resources = &dice->rx_resources[index];
sound/firewire/dice/dice-stream.c
503
err = fw_iso_resources_init(resources, dice->unit);
sound/firewire/dice/dice-stream.c
506
resources->channels_mask = 0x00000000ffffffffuLL;
sound/firewire/dice/dice-stream.c
511
fw_iso_resources_destroy(resources);
sound/firewire/dice/dice-stream.c
526
struct fw_iso_resources *resources;
sound/firewire/dice/dice-stream.c
530
resources = &dice->tx_resources[index];
sound/firewire/dice/dice-stream.c
533
resources = &dice->rx_resources[index];
sound/firewire/dice/dice-stream.c
537
fw_iso_resources_destroy(resources);
sound/firewire/digi00x/digi00x-stream.c
191
struct fw_iso_resources *resources;
sound/firewire/digi00x/digi00x-stream.c
204
resources = &dg00x->tx_resources;
sound/firewire/digi00x/digi00x-stream.c
206
resources = &dg00x->rx_resources;
sound/firewire/digi00x/digi00x-stream.c
213
return fw_iso_resources_allocate(resources,
sound/firewire/digi00x/digi00x-stream.c
220
struct fw_iso_resources *resources;
sound/firewire/digi00x/digi00x-stream.c
225
resources = &dg00x->tx_resources;
sound/firewire/digi00x/digi00x-stream.c
228
resources = &dg00x->rx_resources;
sound/firewire/digi00x/digi00x-stream.c
232
err = fw_iso_resources_init(resources, dg00x->unit);
sound/firewire/digi00x/digi00x-stream.c
238
fw_iso_resources_destroy(resources);
sound/firewire/fireface/ff-stream.c
41
struct fw_iso_resources *resources;
sound/firewire/fireface/ff-stream.c
46
resources = &ff->tx_resources;
sound/firewire/fireface/ff-stream.c
49
resources = &ff->rx_resources;
sound/firewire/fireface/ff-stream.c
53
err = fw_iso_resources_init(resources, ff->unit);
sound/firewire/fireface/ff-stream.c
59
fw_iso_resources_destroy(resources);
sound/firewire/fireworks/fireworks_stream.c
83
conn->resources.channel, conn->speed);
sound/firewire/isight.c
218
ch = fw_iso_resources_allocate(&isight->resources,
sound/firewire/isight.c
230
isight->resources.generation);
sound/firewire/isight.c
232
fw_iso_resources_free(&isight->resources);
sound/firewire/isight.c
241
fw_iso_resources_free(&isight->resources);
sound/firewire/isight.c
317
fw_iso_resources_free(&isight->resources);
sound/firewire/isight.c
362
isight->resources.channel,
sound/firewire/isight.c
393
fw_iso_resources_free(&isight->resources);
sound/firewire/isight.c
57
struct fw_iso_resources resources;
sound/firewire/isight.c
593
fw_iso_resources_destroy(&isight->resources);
sound/firewire/isight.c
632
fw_iso_resources_init(&isight->resources, unit);
sound/firewire/isight.c
672
if (fw_iso_resources_update(&isight->resources) < 0) {
sound/firewire/motu/motu-stream.c
31
struct fw_iso_resources *resources;
sound/firewire/motu/motu-stream.c
334
struct fw_iso_resources *resources;
sound/firewire/motu/motu-stream.c
339
resources = &motu->tx_resources;
sound/firewire/motu/motu-stream.c
342
resources = &motu->rx_resources;
sound/firewire/motu/motu-stream.c
346
err = fw_iso_resources_init(resources, motu->unit);
sound/firewire/motu/motu-stream.c
352
fw_iso_resources_destroy(resources);
sound/firewire/motu/motu-stream.c
37
resources = &motu->rx_resources;
sound/firewire/motu/motu-stream.c
44
resources = &motu->tx_resources;
sound/firewire/motu/motu-stream.c
57
return fw_iso_resources_allocate(resources,
sound/firewire/oxfw/oxfw-stream.c
118
conn->resources.channel, conn->speed);
sound/firewire/tascam/tascam-stream.c
284
struct fw_iso_resources *resources;
sound/firewire/tascam/tascam-stream.c
289
resources = &tscm->tx_resources;
sound/firewire/tascam/tascam-stream.c
292
resources = &tscm->rx_resources;
sound/firewire/tascam/tascam-stream.c
300
return fw_iso_resources_allocate(resources, amdtp_stream_get_max_payload(stream), speed);
sound/firewire/tascam/tascam-stream.c
305
struct fw_iso_resources *resources;
sound/firewire/tascam/tascam-stream.c
311
resources = &tscm->tx_resources;
sound/firewire/tascam/tascam-stream.c
315
resources = &tscm->rx_resources;
sound/firewire/tascam/tascam-stream.c
325
err = fw_iso_resources_init(resources, tscm->unit);
sound/firewire/tascam/tascam-stream.c
331
fw_iso_resources_free(resources);
sound/hda/codecs/side-codecs/tas2781_hda_i2c.c
106
ret = acpi_dev_get_resources(adev, &resources, tas2781_get_i2c_res, p);
sound/hda/codecs/side-codecs/tas2781_hda_i2c.c
153
acpi_dev_free_resource_list(&resources);
sound/hda/codecs/side-codecs/tas2781_hda_i2c.c
93
LIST_HEAD(resources);
sound/pci/au88x0/au88x0.h
118
u32 resources[5];
sound/pci/au88x0/au88x0_core.c
2009
resinuse |= vortex->dma_adb[i].resources[restype];
sound/pci/au88x0/au88x0_core.c
2018
vortex->dma_adb[i].resources[restype] |= (1 << i);
sound/pci/au88x0/au88x0_core.c
2119
vortex->dma_adb[dma].resources, en,
sound/pci/au88x0/au88x0_core.c
2144
stream->resources, en,
sound/pci/au88x0/au88x0_core.c
2147
memset(stream->resources, 0,
sound/pci/au88x0/au88x0_core.c
2148
sizeof(stream->resources));
sound/pci/au88x0/au88x0_core.c
2153
stream->resources,
sound/pci/au88x0/au88x0_core.c
2157
memset(stream->resources,
sound/pci/au88x0/au88x0_core.c
2159
sizeof(stream->resources));
sound/pci/au88x0/au88x0_core.c
2168
stream->resources, en,
sound/pci/au88x0/au88x0_core.c
2171
memset(stream->resources, 0,
sound/pci/au88x0/au88x0_core.c
2172
sizeof(stream->resources));
sound/pci/au88x0/au88x0_core.c
2284
stream->resources, en,
sound/pci/au88x0/au88x0_core.c
2287
memset(stream->resources, 0,
sound/pci/au88x0/au88x0_core.c
2288
sizeof(stream->resources));
sound/pci/au88x0/au88x0_core.c
2292
stream->resources, en,
sound/pci/au88x0/au88x0_core.c
2295
memset(stream->resources, 0,
sound/pci/au88x0/au88x0_core.c
2296
sizeof(stream->resources));
sound/pci/au88x0/au88x0_core.c
2361
if (stream->resources[VORTEX_RESOURCE_SRC] & (1 << i))
tools/testing/nvdimm/test/ndtest.c
297
list_for_each_entry(n, &t->resources, list) {
tools/testing/nvdimm/test/ndtest.c
367
list_add(&res->list, &p->resources);
tools/testing/nvdimm/test/ndtest.c
965
INIT_LIST_HEAD(&priv->resources);
tools/testing/nvdimm/test/ndtest.h
13
struct list_head resources;
tools/testing/nvdimm/test/nfit.c
1640
list_add(&nfit_res->list, &t->resources);
tools/testing/nvdimm/test/nfit.c
1679
list_for_each_entry(n, &t->resources, list) {
tools/testing/nvdimm/test/nfit.c
182
struct list_head resources;
tools/testing/nvdimm/test/nfit.c
3310
INIT_LIST_HEAD(&nfit_test->resources);