Lines Matching refs:win
206 static bool acpi_decode_space(struct resource_win *win, in acpi_decode_space() argument
214 struct resource *res = &win->res; in acpi_decode_space()
240 win->offset = offset; in acpi_decode_space()
244 (offset != win->offset || start != res->start || end != res->end)) { in acpi_decode_space()
290 struct resource_win *win) in acpi_dev_resource_address_space() argument
294 win->res.flags = 0; in acpi_dev_resource_address_space()
298 return acpi_decode_space(win, (struct acpi_resource_address *)&addr, in acpi_dev_resource_address_space()
319 struct resource_win *win) in acpi_dev_resource_ext_address_space() argument
323 win->res.flags = 0; in acpi_dev_resource_ext_address_space()
329 return acpi_decode_space(win, (struct acpi_resource_address *)ext_addr, in acpi_dev_resource_ext_address_space()
558 static acpi_status acpi_dev_new_resource_entry(struct resource_win *win, in acpi_dev_new_resource_entry() argument
568 *rentry->res = win->res; in acpi_dev_new_resource_entry()
569 rentry->offset = win->offset; in acpi_dev_new_resource_entry()
579 struct resource_win win; in acpi_dev_process_resource() local
580 struct resource *res = &win.res; in acpi_dev_process_resource()
595 memset(&win, 0, sizeof(win)); in acpi_dev_process_resource()
599 || acpi_dev_resource_address_space(ares, &win) in acpi_dev_process_resource()
600 || acpi_dev_resource_ext_address_space(ares, &win)) in acpi_dev_process_resource()
601 return acpi_dev_new_resource_entry(&win, c); in acpi_dev_process_resource()
606 status = acpi_dev_new_resource_entry(&win, c); in acpi_dev_process_resource()
678 struct resource_win win; in is_memory() local
679 struct resource *res = &win.res; in is_memory()
681 memset(&win, 0, sizeof(win)); in is_memory()
684 || acpi_dev_resource_address_space(ares, &win) in is_memory()
685 || acpi_dev_resource_ext_address_space(ares, &win)); in is_memory()