Home
last modified time | relevance | path

Searched refs:resource (Results 1 – 25 of 86) sorted by relevance

1234

/include/linux/
Dioport.h22 struct resource { struct
28 struct resource *parent, *sibling, *child; argument
191 extern struct resource ioport_resource;
192 extern struct resource iomem_resource;
194 extern struct resource *request_resource_conflict(struct resource *root, struct resource *new);
195 extern int request_resource(struct resource *root, struct resource *new);
196 extern int release_resource(struct resource *new);
197 void release_child_resources(struct resource *new);
198 extern void reserve_region_with_split(struct resource *root,
201 extern struct resource *insert_resource_conflict(struct resource *parent, struct resource *new);
[all …]
Data_platform.h17 struct resource *io_res,
18 struct resource *ctl_res,
19 struct resource *irq_res,
Dzorro.h36 struct resource resource; member
94 #define zorro_resource_start(z) ((z)->resource.start)
95 #define zorro_resource_end(z) ((z)->resource.end)
96 #define zorro_resource_len(z) (resource_size(&(z)->resource))
97 #define zorro_resource_flags(z) ((z)->resource.flags)
Dresource_ext.h15 struct resource res; /* In master (CPU) address space */
25 struct resource *res; /* In master (CPU) address space */
27 struct resource __res; /* Default storage for res */
31 resource_list_create_entry(struct resource *res, size_t extra_size);
Dof_address.h45 struct resource *r);
65 struct resource *r);
68 struct resource *res);
109 struct resource *r) in of_pci_address_to_resource()
116 struct resource *res) in of_pci_range_to_resource()
129 struct resource *r);
133 struct resource *r) in of_address_to_resource()
Dpci-ecam.h56 struct resource res;
57 struct resource busr;
70 struct resource *cfgres, struct resource *busr,
Dplatform_device.h32 struct resource *resource; member
62 extern struct resource *platform_get_resource(struct platform_device *,
64 extern struct resource *platform_get_mem_or_io(struct platform_device *,
72 unsigned int index, struct resource **res);
87 extern struct resource *platform_get_resource_byname(struct platform_device *,
103 const struct resource *res;
133 const struct resource *res, unsigned int num, in platform_device_register_resndata()
174 const struct resource *res, unsigned int num) in platform_device_register_simple()
206 const struct resource *res,
312 struct resource *res, unsigned int n_res,
Dmcb.h73 struct resource irq;
74 struct resource mem;
131 extern struct resource *mcb_request_mem(struct mcb_device *dev,
133 extern void mcb_release_mem(struct resource *mem);
135 extern struct resource *mcb_get_resource(struct mcb_device *dev,
Dtc.h66 struct resource resource[2]; /* Address space routed to this bus. */ member
86 struct resource resource; /* Address space of this device. */ member
Ddio.h53 struct resource resource; member
65 struct resource resources[2]; /* address space routed to this bus */
251 #define dio_resource_start(d) ((d)->resource.start)
252 #define dio_resource_end(d) ((d)->resource.end)
253 #define dio_resource_len(d) (resource_size(&(d)->resource))
254 #define dio_resource_flags(d) ((d)->resource.flags)
Dpnp.h27 struct resource *pnp_get_resource(struct pnp_dev *dev, unsigned long type,
30 static inline struct resource *pnp_get_resource(struct pnp_dev *dev, in pnp_get_resource()
37 static inline int pnp_resource_valid(struct resource *res) in pnp_resource_valid()
44 static inline int pnp_resource_enabled(struct resource *res) in pnp_resource_enabled()
51 static inline resource_size_t pnp_resource_len(struct resource *res) in pnp_resource_len()
62 struct resource *res = pnp_get_resource(dev, IORESOURCE_IO, bar); in pnp_port_start()
72 struct resource *res = pnp_get_resource(dev, IORESOURCE_IO, bar); in pnp_port_end()
82 struct resource *res = pnp_get_resource(dev, IORESOURCE_IO, bar); in pnp_port_flags()
97 struct resource *res = pnp_get_resource(dev, IORESOURCE_IO, bar); in pnp_port_len()
108 struct resource *res = pnp_get_resource(dev, IORESOURCE_MEM, bar); in pnp_mem_start()
[all …]
Dlogic_iomem.h59 int logic_iomem_add_region(struct resource *resource,
Deisa.h40 struct resource res[EISA_MAX_RESOURCES];
95 struct resource *res;
101 struct resource eisa_root_res; /* ditto */
Dmbus.h16 struct resource;
87 void mvebu_mbus_get_pcie_mem_aperture(struct resource *res);
88 void mvebu_mbus_get_pcie_io_aperture(struct resource *res);
/include/linux/firmware/imx/svc/
Dmisc.h50 int imx_sc_misc_set_control(struct imx_sc_ipc *ipc, u32 resource,
53 int imx_sc_misc_get_control(struct imx_sc_ipc *ipc, u32 resource,
56 int imx_sc_pm_cpu_start(struct imx_sc_ipc *ipc, u32 resource,
60 u32 resource, u8 ctrl, u32 val) in imx_sc_misc_set_control() argument
66 u32 resource, u8 ctrl, u32 *val) in imx_sc_misc_get_control() argument
71 static inline int imx_sc_pm_cpu_start(struct imx_sc_ipc *ipc, u32 resource, in imx_sc_pm_cpu_start() argument
Drm.h61 bool imx_sc_rm_is_resource_owned(struct imx_sc_ipc *ipc, u16 resource);
64 imx_sc_rm_is_resource_owned(struct imx_sc_ipc *ipc, u16 resource) in imx_sc_rm_is_resource_owned() argument
/include/linux/platform_data/
Dxtalk-bridge.h12 struct resource mem;
13 struct resource io;
Dwilco-ec.h21 struct resource;
42 struct resource *io_command;
43 struct resource *io_data;
44 struct resource *io_packet;
/include/clocksource/
Dtimer-davinci.h36 struct resource reg;
37 struct resource irq[DAVINCI_TIMER_NUM_IRQS];
/include/linux/irqchip/
Darm-vgic-info.h24 struct resource vcpu;
30 struct resource vctrl;
Dirq-davinci-cp-intc.h19 struct resource reg;
/include/pcmcia/
Dds.h106 struct resource *resource[PCMCIA_NUM_RESOURCES]; member
211 int pcmcia_request_window(struct pcmcia_device *p_dev, struct resource *res,
213 int pcmcia_release_window(struct pcmcia_device *p_dev, struct resource *res);
214 int pcmcia_map_mem_page(struct pcmcia_device *p_dev, struct resource *res,
/include/drm/ttm/
Dttm_bo_driver.h185 ttm_bo_move_to_lru_tail(bo, bo->resource, NULL); in ttm_bo_move_to_lru_tail_unlocked()
192 WARN_ON(bo->resource); in ttm_bo_assign_mem()
193 bo->resource = new_mem; in ttm_bo_assign_mem()
206 ttm_resource_free(bo, &bo->resource); in ttm_bo_move_null()
/include/linux/mfd/
Dcore.h15 #define MFD_RES_SIZE(arr) (sizeof(arr) / sizeof(struct resource))
108 const struct resource *resources;
146 struct resource *mem_base,
161 struct resource *mem_base,
/include/linux/amba/
Dbus.h67 struct resource res;
128 int amba_device_add(struct amba_device *, struct resource *);
129 int amba_device_register(struct amba_device *, struct resource *);
142 struct resource *resbase);
147 struct resource *resbase);

1234