Lines Matching refs:win
189 static bool acpi_decode_space(struct resource_win *win, in acpi_decode_space() argument
197 struct resource *res = &win->res; in acpi_decode_space()
223 win->offset = offset; in acpi_decode_space()
227 (offset != win->offset || start != res->start || end != res->end)) { in acpi_decode_space()
272 struct resource_win *win) in acpi_dev_resource_address_space() argument
276 win->res.flags = 0; in acpi_dev_resource_address_space()
280 return acpi_decode_space(win, (struct acpi_resource_address *)&addr, in acpi_dev_resource_address_space()
301 struct resource_win *win) in acpi_dev_resource_ext_address_space() argument
305 win->res.flags = 0; in acpi_dev_resource_ext_address_space()
311 return acpi_decode_space(win, (struct acpi_resource_address *)ext_addr, in acpi_dev_resource_ext_address_space()
467 static acpi_status acpi_dev_new_resource_entry(struct resource_win *win, in acpi_dev_new_resource_entry() argument
477 *rentry->res = win->res; in acpi_dev_new_resource_entry()
478 rentry->offset = win->offset; in acpi_dev_new_resource_entry()
488 struct resource_win win; in acpi_dev_process_resource() local
489 struct resource *res = &win.res; in acpi_dev_process_resource()
504 memset(&win, 0, sizeof(win)); in acpi_dev_process_resource()
508 || acpi_dev_resource_address_space(ares, &win) in acpi_dev_process_resource()
509 || acpi_dev_resource_ext_address_space(ares, &win)) in acpi_dev_process_resource()
510 return acpi_dev_new_resource_entry(&win, c); in acpi_dev_process_resource()
515 status = acpi_dev_new_resource_entry(&win, c); in acpi_dev_process_resource()