Lines Matching refs:win

199 static bool acpi_decode_space(struct resource_win *win,  in acpi_decode_space()  argument
207 struct resource *res = &win->res; in acpi_decode_space()
233 win->offset = offset; in acpi_decode_space()
237 (offset != win->offset || start != res->start || end != res->end)) { in acpi_decode_space()
283 struct resource_win *win) in acpi_dev_resource_address_space() argument
287 win->res.flags = 0; in acpi_dev_resource_address_space()
291 return acpi_decode_space(win, (struct acpi_resource_address *)&addr, in acpi_dev_resource_address_space()
312 struct resource_win *win) in acpi_dev_resource_ext_address_space() argument
316 win->res.flags = 0; in acpi_dev_resource_ext_address_space()
322 return acpi_decode_space(win, (struct acpi_resource_address *)ext_addr, in acpi_dev_resource_ext_address_space()
478 static acpi_status acpi_dev_new_resource_entry(struct resource_win *win, in acpi_dev_new_resource_entry() argument
488 *rentry->res = win->res; in acpi_dev_new_resource_entry()
489 rentry->offset = win->offset; in acpi_dev_new_resource_entry()
499 struct resource_win win; in acpi_dev_process_resource() local
500 struct resource *res = &win.res; in acpi_dev_process_resource()
515 memset(&win, 0, sizeof(win)); in acpi_dev_process_resource()
519 || acpi_dev_resource_address_space(ares, &win) in acpi_dev_process_resource()
520 || acpi_dev_resource_ext_address_space(ares, &win)) in acpi_dev_process_resource()
521 return acpi_dev_new_resource_entry(&win, c); in acpi_dev_process_resource()
526 status = acpi_dev_new_resource_entry(&win, c); in acpi_dev_process_resource()