Home
last modified time | relevance | path

Searched full:resources (Results 1 – 25 of 1810) sorted by relevance

12345678910>>...73

/linux-3.3/drivers/isdn/hardware/eicon/
Dos_bri.c51 a->resources.pci.mem_type_id[MEM_TYPE_RAM] = 0; in diva_bri_set_addresses()
52 a->resources.pci.mem_type_id[MEM_TYPE_CFG] = 1; in diva_bri_set_addresses()
53 a->resources.pci.mem_type_id[MEM_TYPE_ADDRESS] = 2; in diva_bri_set_addresses()
54 a->resources.pci.mem_type_id[MEM_TYPE_RESET] = 1; in diva_bri_set_addresses()
55 a->resources.pci.mem_type_id[MEM_TYPE_PORT] = 2; in diva_bri_set_addresses()
56 a->resources.pci.mem_type_id[MEM_TYPE_CTLREG] = 2; in diva_bri_set_addresses()
58 a->xdi_adapter.ram = a->resources.pci.addr[0]; in diva_bri_set_addresses()
59 a->xdi_adapter.cfg = a->resources.pci.addr[1]; in diva_bri_set_addresses()
60 a->xdi_adapter.Address = a->resources.pci.addr[2]; in diva_bri_set_addresses()
91 Get resources in diva_bri_init_card()
[all …]
Dos_4bri.c104 dword offset = a->resources.pci.qoffset; in diva_4bri_set_addresses()
107 a->resources.pci.mem_type_id[MEM_TYPE_RAM] = 2; in diva_4bri_set_addresses()
108 a->resources.pci.mem_type_id[MEM_TYPE_ADDRESS] = 2; in diva_4bri_set_addresses()
109 a->resources.pci.mem_type_id[MEM_TYPE_CONTROL] = 2; in diva_4bri_set_addresses()
110 a->resources.pci.mem_type_id[MEM_TYPE_RESET] = 0; in diva_4bri_set_addresses()
111 a->resources.pci.mem_type_id[MEM_TYPE_CTLREG] = 3; in diva_4bri_set_addresses()
112 a->resources.pci.mem_type_id[MEM_TYPE_PROM] = 0; in diva_4bri_set_addresses()
117 a->xdi_adapter.Address = a->resources.pci.addr[2]; /* BAR2 SDRAM */ in diva_4bri_set_addresses()
120 a->xdi_adapter.Control = a->resources.pci.addr[2]; /* BAR2 SDRAM */ in diva_4bri_set_addresses()
122 a->xdi_adapter.ram = a->resources.pci.addr[2]; /* BAR2 SDRAM */ in diva_4bri_set_addresses()
[all …]
Dos_pri.c62 a->resources.pci.mem_type_id[MEM_TYPE_ADDRESS] = 0; in diva_pri_set_addresses()
63 a->resources.pci.mem_type_id[MEM_TYPE_CONTROL] = 2; in diva_pri_set_addresses()
64 a->resources.pci.mem_type_id[MEM_TYPE_CONFIG] = 4; in diva_pri_set_addresses()
65 a->resources.pci.mem_type_id[MEM_TYPE_RAM] = 0; in diva_pri_set_addresses()
66 a->resources.pci.mem_type_id[MEM_TYPE_RESET] = 2; in diva_pri_set_addresses()
67 a->resources.pci.mem_type_id[MEM_TYPE_CFG] = 4; in diva_pri_set_addresses()
68 a->resources.pci.mem_type_id[MEM_TYPE_PROM] = 3; in diva_pri_set_addresses()
70 a->xdi_adapter.Address = a->resources.pci.addr[0]; in diva_pri_set_addresses()
71 a->xdi_adapter.Control = a->resources.pci.addr[2]; in diva_pri_set_addresses()
72 a->xdi_adapter.Config = a->resources.pci.addr[4]; in diva_pri_set_addresses()
[all …]
/linux-3.3/drivers/mfd/
Dwm831x-core.c1022 .resources = wm831x_dcdc1_resources,
1028 .resources = wm831x_dcdc2_resources,
1034 .resources = wm831x_dcdc3_resources,
1040 .resources = wm831x_dcdc4_resources,
1056 .resources = wm831x_gpio_resources,
1065 .resources = wm831x_isink1_resources,
1071 .resources = wm831x_isink2_resources,
1077 .resources = wm831x_ldo1_resources,
1083 .resources = wm831x_ldo2_resources,
1089 .resources = wm831x_ldo3_resources,
[all …]
Dtimberdale.c382 .resources = timberdale_dma_resources,
389 .resources = timberdale_uart_resources,
394 .resources = timberdale_xiic_resources,
401 .resources = timberdale_gpio_resources,
408 .resources = timberdale_video_resources,
415 .resources = timberdale_radio_resources,
422 .resources = timberdale_spi_resources,
429 .resources = timberdale_eth_resources,
439 .resources = timberdale_dma_resources,
446 .resources = timberdale_uart_resources,
[all …]
Dmfd-core.c104 res[r].name = cell->resources[r].name; in mfd_add_device()
105 res[r].flags = cell->resources[r].flags; in mfd_add_device()
108 if ((cell->resources[r].flags & IORESOURCE_MEM) && mem_base) { in mfd_add_device()
111 cell->resources[r].start; in mfd_add_device()
113 cell->resources[r].end; in mfd_add_device()
114 } else if (cell->resources[r].flags & IORESOURCE_IRQ) { in mfd_add_device()
116 cell->resources[r].start; in mfd_add_device()
118 cell->resources[r].end; in mfd_add_device()
120 res[r].parent = cell->resources[r].parent; in mfd_add_device()
121 res[r].start = cell->resources[r].start; in mfd_add_device()
[all …]
/linux-3.3/drivers/staging/tidspbridge/core/
Dtiomap3430_pwr.c416 struct cfg_hostres *resources; in dsp_clk_wakeup_event_ctrl() local
431 resources = bridge_context->resources; in dsp_clk_wakeup_event_ctrl()
432 if (!resources) in dsp_clk_wakeup_event_ctrl()
437 iva2_grpsel = readl(resources->per_pm_base + 0xA8); in dsp_clk_wakeup_event_ctrl()
438 mpu_grpsel = readl(resources->per_pm_base + 0xA4); in dsp_clk_wakeup_event_ctrl()
446 writel(iva2_grpsel, resources->per_pm_base + 0xA8); in dsp_clk_wakeup_event_ctrl()
447 writel(mpu_grpsel, resources->per_pm_base + 0xA4); in dsp_clk_wakeup_event_ctrl()
450 iva2_grpsel = readl(resources->per_pm_base + 0xA8); in dsp_clk_wakeup_event_ctrl()
451 mpu_grpsel = readl(resources->per_pm_base + 0xA4); in dsp_clk_wakeup_event_ctrl()
459 writel(iva2_grpsel, resources->per_pm_base + 0xA8); in dsp_clk_wakeup_event_ctrl()
[all …]
Due_deh.c49 struct cfg_hostres *resources; in mmu_fault_isr() local
55 resources = deh->bridge_context->resources; in mmu_fault_isr()
56 if (!resources) { in mmu_fault_isr()
57 dev_dbg(bridge, "%s: Failed to get Host Resources\n", in mmu_fault_isr()
62 hw_mmu_event_status(resources->dmmu_base, &event); in mmu_fault_isr()
64 hw_mmu_fault_addr_read(resources->dmmu_base, &fault_addr); in mmu_fault_isr()
76 hw_mmu_event_disable(resources->dmmu_base, in mmu_fault_isr()
79 hw_mmu_event_disable(resources->dmmu_base, in mmu_fault_isr()
172 struct cfg_hostres *resources; in mmu_fault_print_stack() local
180 resources = dev_context->resources; in mmu_fault_print_stack()
[all …]
Dtiomap_io.c188 struct cfg_hostres *resources = dev_context->resources; in write_dsp_data() local
195 if (!resources) in write_dsp_data()
200 dw_base_addr = MEM_LINEAR_ADDRESS(resources->mem_base[2], in write_dsp_data()
201 resources->mem_length[2]); in write_dsp_data()
203 dw_base_addr = MEM_LINEAR_ADDRESS(resources->mem_base[3], in write_dsp_data()
204 resources->mem_length[3]); in write_dsp_data()
208 dw_base_addr = MEM_LINEAR_ADDRESS(resources->mem_base[4], in write_dsp_data()
209 resources->mem_length[4]); in write_dsp_data()
242 struct cfg_hostres *host_res = dev_context->resources; in write_ext_dsp_data()
394 struct cfg_hostres *resources = dev_context->resources; in sm_interrupt_dsp() local
[all …]
/linux-3.3/sound/firewire/
Dcmp.c14 #include "iso-resources.h"
41 dev_err(&c->resources.unit->device, "%cPCR%u: %pV", in cmp_error()
51 struct fw_device *device = fw_parent_device(c->resources.unit); in pcr_modify()
52 int generation = c->resources.generation; in pcr_modify()
119 err = fw_iso_resources_init(&c->resources, unit); in cmp_connection_init()
136 * cmp_connection_destroy - free connection manager resources
143 fw_iso_resources_destroy(&c->resources); in cmp_connection_destroy()
154 ipcr |= cpu_to_be32(c->resources.channel << IPCR_CHANNEL_SHIFT); in ipcr_set_modify()
180 * computer to the target by allocating isochronous resources (channel and
194 fw_parent_device(c->resources.unit)->max_speed); in cmp_connection_establish()
[all …]
Diso-resources.c2 * isochronous resources helper functions
16 #include "iso-resources.h"
21 * @unit: the device unit for which the resources will be needed
104 * fw_iso_resources_free() when the resources are not longer needed.
142 "isochronous resources exhausted\n"); in fw_iso_resources_allocate()
159 * any resources that were allocated before the bus reset. It is safe to call
160 * this function if no resources are currently allocated.
194 "isochronous resources exhausted\n"); in fw_iso_resources_update()
207 * fw_iso_resources_free - frees allocated resources
/linux-3.3/drivers/acpi/apei/
Dapei-base.c301 /* Collect all resources requested, to avoid conflict */
395 void apei_resources_fini(struct apei_resources *resources) in apei_resources_fini() argument
397 apei_res_clean(&resources->iomem); in apei_resources_fini()
398 apei_res_clean(&resources->ioport); in apei_resources_fini()
424 int apei_resources_add(struct apei_resources *resources, in apei_resources_add() argument
429 return apei_res_add(&resources->iomem, start, size); in apei_resources_add()
431 return apei_res_add(&resources->ioport, start, size); in apei_resources_add()
437 * entry), so common resources are subtracted from the trigger table
438 * resources before the second requesting.
454 struct apei_resources *resources = data; in apei_get_nvs_callback() local
[all …]
Dapei-internal.h94 static inline void apei_resources_init(struct apei_resources *resources) in apei_resources_init() argument
96 INIT_LIST_HEAD(&resources->iomem); in apei_resources_init()
97 INIT_LIST_HEAD(&resources->ioport); in apei_resources_init()
100 void apei_resources_fini(struct apei_resources *resources);
101 int apei_resources_add(struct apei_resources *resources,
106 int apei_resources_request(struct apei_resources *resources,
108 void apei_resources_release(struct apei_resources *resources);
110 struct apei_resources *resources);
/linux-3.3/include/linux/
Dvgaarb.h69 * vga_get - acquire & locks VGA resources
72 * @rsrc: bit mask of resources to acquire and lock
75 * This function acquires VGA resources for the given
76 * card and mark those resources locked. If the resource requested
77 * are "normal" (and not legacy) resources, the arbiter will first check
82 * on P2P bridges if necessary, so that the requested resources can
83 * be used. Then, the card is marked as locking these resources and
87 * one of the required resources (or any resource on a different bus
92 * If the card already owns the resources, the function succeeds.
127 * vga_tryget - try to acquire & lock legacy VGA resources
[all …]
/linux-3.3/drivers/misc/sgi-gru/
Dgrukservices.h32 * The receiver does not use any GRU resources.
164 * Reserve GRU resources to be used asynchronously.
167 * blade_id - blade on which resources should be reserved
174 * (0 = no resources)
180 * Release async resources previously reserved.
183 * han - handle to identify resources
191 * han - handle to identify resources
196 * Lock previous reserved async GRU resources
199 * han - handle to identify resources
207 * Unlock previous reserved async GRU resources
[all …]
/linux-3.3/drivers/infiniband/hw/ehca/
Dhcp_if.h52 * hipz_h_alloc_resource_eq allocates EQ resources in HW and FW, initialize
53 * resources, create the empty EQPT (ring).
68 * hipz_h_allocate_resource_cq allocates CQ resources in HW and FW, initialize
69 * resources, create the empty CQPT (ring).
77 * hipz_h_alloc_resource_qp allocates QP resources in HW and FW,
78 * initialize resources, create empty QPPTs (2 rings).
194 * hipz_h_alloc_resource_mr allocates MR resources in HW and FW, initialize
195 * resources.
218 /* hipz_h_free_resource_mr frees MR resources in HW and FW */
242 * hipz_h_alloc_resource_mw allocates MW resources in HW and FW, initialize
[all …]
/linux-3.3/Documentation/
Dvgaarbiter.txt18 control bus resources. Therefore an arbitration scheme outside of the X server
19 is needed to control the sharing of these resources. This document introduces
123 These functions below acquire VGA resources for the given card and mark those
124 resources as locked. If the resources requested are "normal" (and not legacy)
125 resources, the arbiter will first check whether the card is doing legacy
129 forwarding on P2P bridges if necessary, so that the requested resources can
130 be used. Then, the card is marked as locking these resources and the IO and/or
133 if some conflicting card is already locking one of the required resources (or
135 VGA memory and IO afaik). If the card already owns the resources, the function
145 resources, both will succeed (lock). If devices are in different buses and
[all …]
Dpnp.txt10 Plug and Play provides a means of detecting and setting resources for legacy or
26 resources - displays currently allocated resources and allows resource changes
30 #echo "auto" > resources
36 #echo "manual <depnum> <mode>" > resources
44 #echo "disable" > resources
57 # cat resources
76 # echo "auto" > resources
79 # cat resources
143 - the ability to set resources is optional but preferred.
199 the resources, such as the parport_pc driver.
/linux-3.3/arch/x86/pci/
Dbus_numa.c10 void x86_pci_root_bus_resources(int bus, struct list_head *resources) in x86_pci_root_bus_resources() argument
27 printk(KERN_DEBUG "PCI: root bus %02x: hardware-probed resources\n", in x86_pci_root_bus_resources()
36 pci_add_resource(resources, res); in x86_pci_root_bus_resources()
51 printk(KERN_DEBUG "PCI: root bus %02x: using default resources\n", bus); in x86_pci_root_bus_resources()
52 pci_add_resource(resources, &ioport_resource); in x86_pci_root_bus_resources()
53 pci_add_resource(resources, &iomem_resource); in x86_pci_root_bus_resources()
Di386.c82 * Handle resources of PCI devices. If the world were perfect, we could
100 * (1) Allocate resources for all buses behind PCI-to-PCI bridges.
102 * (2) Allocate resources for all enabled devices. If there is
105 * (3) Try to allocate resources for disabled devices. If the
106 * resources were assigned correctly, everything goes well,
108 * resources.
109 * (4) Assign new addresses to resources which were either
237 DBG("PCI: Allocating resources\n"); in pcibios_resource_survey()
244 * Insert the IO APIC resources after PCI initialization has in pcibios_resource_survey()
253 * give a chance for motherboard reserve resources
/linux-3.3/arch/arm/plat-s5p/
Ddev-uart.c114 .resources = s5p_uart0_resource,
118 .resources = s5p_uart1_resource,
122 .resources = s5p_uart2_resource,
126 .resources = s5p_uart3_resource,
130 .resources = s5p_uart4_resource,
134 .resources = s5p_uart5_resource,
/linux-3.3/arch/arm/mach-ux500/
Ddevices-common.c94 struct resource resources[] = { in dbx500_add_platform_device_4k1irq() local
107 return dbx500_add_platform_device(name, id, pdata, resources, in dbx500_add_platform_device_4k1irq()
108 ARRAY_SIZE(resources)); in dbx500_add_platform_device_4k1irq()
115 struct resource resources[] = { in dbx500_add_gpio() local
129 resources, ARRAY_SIZE(resources), in dbx500_add_gpio()
/linux-3.3/drivers/usb/host/
Dsl811_cs.c64 static struct resource resources[] = { variable
86 .resource = resources,
87 .num_resources = ARRAY_SIZE(resources),
98 resources[0].start = irq; in sl811_hc_init()
100 resources[1].start = base_addr; in sl811_hc_init()
101 resources[1].end = base_addr; in sl811_hc_init()
103 resources[2].start = base_addr + 1; in sl811_hc_init()
104 resources[2].end = base_addr + 1; in sl811_hc_init()
/linux-3.3/arch/frv/mb93090-mb00/
Dpci-frv.c49 * Handle resources of PCI devices. If the world were perfect, we could
66 * (1) Allocate resources for all buses behind PCI-to-PCI bridges.
68 * (2) Allocate resources for all enabled devices. If there is
71 * (3) Try to allocate resources for disabled devices. If the
72 * resources were assigned correctly, everything goes well,
74 * resources.
75 * (4) Assign new addresses to resources which were either
191 DBG("PCI: Allocating resources\n"); in pcibios_resource_survey()
/linux-3.3/Documentation/filesystems/
Dsysfs-pci.txt1 Accessing PCI device resources through sysfs
4 sysfs, usually mounted at /sys, provides access to PCI resources on platforms
64 don't support mmapping of certain resources, so be sure to check the return
66 resources, which also provide read/write access.
89 Accessing legacy resources through sysfs
92 Legacy I/O port and ISA memory resources are also provided in sysfs if the
118 Legacy resources are protected by the HAVE_PCI_LEGACY define. Platforms

12345678910>>...73