Lines Matching refs:resource
119 tdev->resource.start = slotaddr; in tc_bus_add_devices()
120 tdev->resource.end = slotaddr + devsize - 1; in tc_bus_add_devices()
122 tdev->resource.start = extslotaddr; in tc_bus_add_devices()
123 tdev->resource.end = extslotaddr + devsize - 1; in tc_bus_add_devices()
132 tdev->resource.name = tdev->name; in tc_bus_add_devices()
133 tdev->resource.flags = IORESOURCE_MEM; in tc_bus_add_devices()
170 tc_bus.resource[0].start = tc_bus.slot_base; in tc_init()
171 tc_bus.resource[0].end = tc_bus.slot_base + in tc_init()
174 tc_bus.resource[0].name = tc_bus.name; in tc_init()
175 tc_bus.resource[0].flags = IORESOURCE_MEM; in tc_init()
177 &tc_bus.resource[0]) < 0) { in tc_init()
182 tc_bus.resource[1].start = tc_bus.ext_slot_base; in tc_init()
183 tc_bus.resource[1].end = tc_bus.ext_slot_base + in tc_init()
186 tc_bus.resource[1].name = tc_bus.name; in tc_init()
187 tc_bus.resource[1].flags = IORESOURCE_MEM; in tc_init()
189 &tc_bus.resource[1]) < 0) { in tc_init()
201 release_resource(&tc_bus.resource[0]); in tc_init()