Home
last modified time | relevance | path

Searched refs:resource (Results 126 – 150 of 3184) sorted by relevance

12345678910>>...128

/openbmc/linux/arch/sh/kernel/cpu/sh4a/
H A Dsetup-sh7785.c26 static struct resource scif0_resources[] = {
34 .resource = scif0_resources,
55 .resource = scif1_resources,
76 .resource = scif2_resources,
97 .resource = scif3_resources,
118 .resource = scif4_resources,
139 .resource = scif5_resources,
163 .resource = tmu0_resources,
184 .resource = tmu1_resources,
307 .resource = sh7785_dmae0_resources,
[all …]
H A Dsetup-sh7763.c25 static struct resource scif0_resources[] = {
33 .resource = scif0_resources,
46 static struct resource scif1_resources[] = {
54 .resource = scif1_resources,
75 .resource = scif2_resources,
82 static struct resource rtc_resources[] = {
99 .resource = rtc_resources,
128 .resource = usb_ohci_resources,
152 .resource = usbf_resources,
172 .resource = tmu0_resources,
[all …]
/openbmc/linux/drivers/parport/
H A Dparport_cs.c111 p_dev->resource[0]->flags &= ~IO_DATA_PATH_WIDTH; in parport_config_check()
112 p_dev->resource[0]->flags |= IO_DATA_PATH_WIDTH_8; in parport_config_check()
113 p_dev->resource[1]->flags &= ~IO_DATA_PATH_WIDTH; in parport_config_check()
114 p_dev->resource[1]->flags |= IO_DATA_PATH_WIDTH_8; in parport_config_check()
140 p = parport_pc_probe_port(link->resource[0]->start, in parport_config()
141 link->resource[1]->start, in parport_config()
146 (unsigned int)link->resource[0]->start, link->irq); in parport_config()
/openbmc/linux/drivers/mtd/maps/
H A Dsun_uflash.c54 if (op->resource[1].flags) { in uflash_devinit()
59 dp, (unsigned long long)op->resource[0].start); in uflash_devinit()
71 up->map.size = resource_size(&op->resource[0]); in uflash_devinit()
77 up->map.phys = op->resource[0].start; in uflash_devinit()
79 up->map.virt = of_ioremap(&op->resource[0], 0, up->map.size, in uflash_devinit()
93 of_iounmap(&op->resource[0], up->map.virt, up->map.size); in uflash_devinit()
130 of_iounmap(&op->resource[0], up->map.virt, up->map.size); in uflash_remove()
/openbmc/linux/drivers/ssb/
H A Dbridge_pcmcia_80211.c42 dev->resource[2]->flags |= WIN_ENABLE | WIN_DATA_WIDTH_16 | in ssb_host_pcmcia_probe()
44 dev->resource[2]->start = 0; in ssb_host_pcmcia_probe()
45 dev->resource[2]->end = SSB_CORE_SIZE; in ssb_host_pcmcia_probe()
46 res = pcmcia_request_window(dev, dev->resource[2], 250); in ssb_host_pcmcia_probe()
50 res = pcmcia_map_mem_page(dev, dev->resource[2], 0); in ssb_host_pcmcia_probe()
61 err = ssb_bus_pcmciabus_register(ssb, dev, dev->resource[2]->start); in ssb_host_pcmcia_probe()
/openbmc/linux/arch/sh/boards/mach-landisk/
H A Dpsw.c47 static struct resource psw_power_resources[] = {
54 static struct resource psw_usl5p_resources[] = {
93 .resource = psw_power_resources,
103 .resource = psw_usl5p_resources,
113 .resource = psw_usl5p_resources,
123 .resource = psw_usl5p_resources,
/openbmc/linux/arch/sh/kernel/cpu/sh2a/
H A Dsetup-sh7203.c180 static struct resource scif0_resources[] = {
188 .resource = scif0_resources,
209 .resource = scif1_resources,
230 .resource = scif2_resources,
251 .resource = scif3_resources,
262 static struct resource cmt_resources[] = {
274 .resource = cmt_resources,
278 static struct resource mtu2_resources[] = {
287 .resource = mtu2_resources,
291 static struct resource rtc_resources[] = {
[all …]
H A Dsetup-sh7206.c139 static struct resource scif0_resources[] = {
147 .resource = scif0_resources,
159 static struct resource scif1_resources[] = {
167 .resource = scif1_resources,
179 static struct resource scif2_resources[] = {
187 .resource = scif2_resources,
207 .resource = scif3_resources,
218 static struct resource cmt_resources[] = {
230 .resource = cmt_resources,
234 static struct resource mtu2_resources[] = {
[all …]
/openbmc/linux/drivers/net/can/sja1000/
H A Dems_pcmcia.c265 dev->resource[0]->end = 16; in ems_pcmcia_probe()
266 dev->resource[0]->flags |= IO_DATA_PATH_WIDTH_8; in ems_pcmcia_probe()
267 dev->resource[1]->end = 16; in ems_pcmcia_probe()
268 dev->resource[1]->flags |= IO_DATA_PATH_WIDTH_16; in ems_pcmcia_probe()
272 dev->resource[2]->flags = in ems_pcmcia_probe()
274 dev->resource[2]->start = dev->resource[2]->end = 0; in ems_pcmcia_probe()
276 csval = pcmcia_request_window(dev, dev->resource[2], 0); in ems_pcmcia_probe()
283 csval = pcmcia_map_mem_page(dev, dev->resource[2], dev->config_base); in ems_pcmcia_probe()
297 ems_pcmcia_add_card(dev, dev->resource[2]->start); in ems_pcmcia_probe()
/openbmc/linux/arch/arm/kernel/
H A Dbios32.c87 dev->resource[0].end -= dev->resource[0].start; in pci_fixup_83c553()
88 dev->resource[0].start = 0; in pci_fixup_83c553()
133 dev->resource[0].end -= dev->resource[0].start; in pci_fixup_unassign()
134 dev->resource[0].start = 0; in pci_fixup_unassign()
146 struct resource *r; in pci_fixup_dec21285()
164 struct resource *r; in pci_fixup_ide_bases()
221 dev->resource[0].start = 0; in pci_fixup_cy82c693()
222 dev->resource[0].end = 0; in pci_fixup_cy82c693()
223 dev->resource[0].flags = 0; in pci_fixup_cy82c693()
225 dev->resource[1].start = 0; in pci_fixup_cy82c693()
[all …]
/openbmc/linux/drivers/pcmcia/
H A Dbcm63xx_pcmcia.h32 struct resource *reg_res;
53 struct resource *attr_res;
54 struct resource *common_res;
55 struct resource *io_res;
/openbmc/linux/include/linux/
H A Dpnp.h30 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()
118 struct resource *res = pnp_get_resource(dev, IORESOURCE_MEM, bar); in pnp_mem_end()
[all …]
/openbmc/linux/include/pcmcia/
H A Dsoc_common.h47 struct resource res_skt;
48 struct resource res_io;
49 struct resource res_io_io;
50 struct resource res_mem;
51 struct resource res_attr;
/openbmc/linux/drivers/net/ethernet/fujitsu/
H A Dfmvj18x_cs.c249 link->resource[0]->end = 32; in fmvj18x_probe()
289 if (link->resource[1]->start == 0) { in mfc_try_io_port()
290 link->resource[1]->end = 0; in mfc_try_io_port()
309 link->resource[0]->start = ioaddr; in ungermann_try_io_port()
361 link->resource[1]->end = 8; in fmvj18x_config()
368 link->resource[1]->end = 8; in fmvj18x_config()
374 link->resource[1]->end = 8; in fmvj18x_config()
415 if (link->resource[1]->end != 0) { in fmvj18x_config()
544 link->resource[2]->start = 0; link->resource[2]->end = 0; in fmvj18x_get_hwinfo()
549 base = ioremap(link->resource[2]->start, resource_size(link->resource[2])); in fmvj18x_get_hwinfo()
[all …]
/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_bo.c192 if (bo->resource->mem_type == TTM_PL_VRAM && in vmw_bo_pin_in_start_of_vram()
193 bo->resource->start < PFN_UP(bo->resource->size) && in vmw_bo_pin_in_start_of_vram()
194 bo->resource->start > 0 && in vmw_bo_pin_in_start_of_vram()
206 buf->places[0].lpfn = PFN_UP(bo->resource->size); in vmw_bo_pin_in_start_of_vram()
211 WARN_ON(ret == 0 && bo->resource->start != 0); in vmw_bo_pin_in_start_of_vram()
262 if (bo->resource->mem_type == TTM_PL_VRAM) { in vmw_bo_get_guest_ptr()
264 ptr->offset = bo->resource->start << PAGE_SHIFT; in vmw_bo_get_guest_ptr()
266 ptr->gmrId = bo->resource->start; in vmw_bo_get_guest_ptr()
285 uint32_t old_mem_type = bo->resource->mem_type; in vmw_bo_pin_reserved()
295 pl.mem_type = bo->resource->mem_type; in vmw_bo_pin_reserved()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_acl_flex_actions.c393 list_del(&resource->list); in mlxsw_afa_resource_del()
401 resource->destructor(block, resource); in mlxsw_afa_resources_destroy()
625 struct mlxsw_afa_resource resource; member
645 resource); in mlxsw_afa_fwd_entry_ref_destructor()
675 struct mlxsw_afa_resource resource; member
695 counter = container_of(resource, struct mlxsw_afa_counter, resource); in mlxsw_afa_counter_destructor()
818 struct mlxsw_afa_resource resource; member
838 resource); in mlxsw_afa_cookie_ref_destructor()
964 resource); in mlxsw_afa_policer_ref_destructor()
1378 mirror = container_of(resource, struct mlxsw_afa_mirror, resource); in mlxsw_afa_mirror_destructor()
[all …]
/openbmc/linux/drivers/staging/board/
H A Dboard.h24 struct resource;
26 bool board_staging_dt_node_available(const struct resource *resource,
29 void board_staging_gic_fixup_resources(struct resource *res, unsigned int nres);
/openbmc/linux/drivers/zorro/
H A Dzorro.c114 static struct resource __init *zorro_find_parent_resource( in zorro_find_parent_resource()
120 struct resource *r = &bridge->resource[i]; in zorro_find_parent_resource()
136 struct resource *r; in amiga_zorro_probe()
179 z->resource.start = zi->boardaddr; in amiga_zorro_probe()
180 z->resource.end = zi->boardaddr + zi->boardsize - 1; in amiga_zorro_probe()
181 z->resource.name = z->name; in amiga_zorro_probe()
183 error = request_resource(r, &z->resource); in amiga_zorro_probe()
187 z->name, &z->resource); in amiga_zorro_probe()
/openbmc/linux/arch/sparc/include/asm/
H A Dparport_64.h112 unsigned long base = op->resource[0].start; in ecpp_probe()
113 unsigned long config = op->resource[1].start; in ecpp_probe()
114 unsigned long d_base = op->resource[2].start; in ecpp_probe()
141 d_len = (op->resource[2].end - d_base) + 1UL; in ecpp_probe()
143 of_ioremap(&op->resource[2], 0, d_len, "ECPP DMA"); in ecpp_probe()
190 of_iounmap(&op->resource[2], sparc_ebus_dmas[slot].info.regs, d_len); in ecpp_probe()
207 unsigned long d_base = op->resource[2].start; in ecpp_remove()
210 d_len = (op->resource[2].end - d_base) + 1UL; in ecpp_remove()
214 of_iounmap(&op->resource[2], in ecpp_remove()
/openbmc/linux/arch/x86/kernel/
H A Dprobe_roms.c26 static struct resource system_rom_resource = {
33 static struct resource extension_rom_resource = {
40 static struct resource adapter_rom_resources[] = { {
72 static struct resource video_rom_resource = {
115 static struct resource *find_oprom(struct pci_dev *pdev) in find_oprom()
117 struct resource *oprom = NULL; in find_oprom()
121 struct resource *res = &adapter_rom_resources[i]; in find_oprom()
157 struct resource *oprom = find_oprom(pdev); in pci_map_biosrom()
174 struct resource *oprom = find_oprom(pdev); in pci_biosrom_size()
/openbmc/linux/arch/arm/mach-ep93xx/
H A Dts72xx.c137 static struct resource ts72xx_nand_resource[] = {
149 .resource = ts72xx_nand_resource,
178 static struct resource ts72xx_rtc_resources[] = {
186 .resource = ts72xx_rtc_resources,
196 static struct resource ts72xx_wdt_resources[] = {
204 .resource = ts72xx_wdt_resources,
288 static struct resource ts73xx_fpga_resources[] = {
299 .resource = ts73xx_fpga_resources,
363 static struct resource ep93xx_i2s_resource[] = {
372 .resource = ep93xx_i2s_resource,
/openbmc/linux/drivers/hwtracing/intel_th/
H A Dpci.c75 struct resource resource[TH_MMIO_END + TH_NVEC_MAX] = { in intel_th_pci_probe() local
76 [TH_MMIO_CONFIG] = pdev->resource[TH_PCI_CONFIG_BAR], in intel_th_pci_probe()
77 [TH_MMIO_SW] = pdev->resource[TH_PCI_STH_SW_BAR], in intel_th_pci_probe()
90 if (pdev->resource[TH_PCI_RTIT_BAR].start) { in intel_th_pci_probe()
91 resource[TH_MMIO_RTIT] = pdev->resource[TH_PCI_RTIT_BAR]; in intel_th_pci_probe()
98 resource[r].flags = IORESOURCE_IRQ; in intel_th_pci_probe()
99 resource[r].start = pci_irq_vector(pdev, i); in intel_th_pci_probe()
102 th = intel_th_alloc(&pdev->dev, drvdata, resource, r); in intel_th_pci_probe()
/openbmc/linux/arch/riscv/kernel/
H A Dsetup.c66 static struct resource kimage_res = { .name = "Kernel image", };
67 static struct resource code_res = { .name = "Kernel code", };
68 static struct resource data_res = { .name = "Kernel data", };
69 static struct resource rodata_res = { .name = "Kernel rodata", };
70 static struct resource bss_res = { .name = "Kernel bss", };
72 static struct resource elfcorehdr_res = { .name = "ELF Core hdr", };
75 static int __init add_resource(struct resource *parent, in add_resource()
76 struct resource *res) in add_resource()
145 struct resource *res = NULL; in init_resources()
146 struct resource *mem_res = NULL; in init_resources()
/openbmc/linux/arch/sh/boards/mach-se/7343/
H A Dsetup.c16 static struct resource heartbeat_resource = {
26 .resource = &heartbeat_resource,
53 static struct resource nor_flash_resources[] = {
67 .resource = nor_flash_resources,
103 static struct resource usb_resources[] = {
133 .resource = usb_resources,
/openbmc/linux/arch/sh/boards/
H A Dboard-urquell.c53 static struct resource heartbeat_resource = {
63 .resource = &heartbeat_resource,
71 static struct resource smc91x_eth_resources[] = {
87 .resource = smc91x_eth_resources,
125 static struct resource nor_flash_resources[] = {
139 .resource = nor_flash_resources,

12345678910>>...128