Lines Matching refs:pnp
197 device->pnp.hardware_id, device->pnp.unique_id); in acpi_device_register()
198 strncpy(device->dev.bus_id, device->pnp.bus_id, sizeof(acpi_bus_id)); in acpi_device_register()
301 device->pnp.bus_id, (u32) STRUCT_TO_INT(device->status))); in acpi_bus_get_status()
409 device->pnp.bus_id, device->power.state)); in acpi_bus_get_power()
494 device->pnp.bus_id, state)); in acpi_bus_set_power()
497 device->pnp.bus_id, state)); in acpi_bus_set_power()
641 sprintf(event->device_class, "%s", device->pnp.device_class); in acpi_bus_generate_event()
642 sprintf(event->bus_id, "%s", device->pnp.bus_id); in acpi_bus_generate_event()
908 device->pnp.bus_id)); in acpi_bus_notify()
918 device->pnp.bus_id)); in acpi_bus_notify()
928 device->pnp.bus_id)); in acpi_bus_notify()
934 device->pnp.bus_id)); in acpi_bus_notify()
940 device->pnp.bus_id)); in acpi_bus_notify()
946 device->pnp.bus_id)); in acpi_bus_notify()
952 device->pnp.bus_id)); in acpi_bus_notify()
958 device->pnp.bus_id)); in acpi_bus_notify()
994 if (strstr(driver->ids, device->pnp.hardware_id)) in acpi_bus_match()
998 struct acpi_compatible_id_list *cid_list = device->pnp.cid_list; in acpi_bus_match()
1065 strncpy(device->dev.name, device->pnp.device_name, in acpi_bus_driver_init()
1110 driver->name, device->pnp.bus_id)); in acpi_bus_attach()
1360 sprintf(device->pnp.bus_id, "%s", "ACPI"); in acpi_bus_add()
1363 sprintf(device->pnp.bus_id, "%s", "PWRF"); in acpi_bus_add()
1366 sprintf(device->pnp.bus_id, "%s", "SLPF"); in acpi_bus_add()
1379 sprintf(device->pnp.bus_id, "%s", bus_id); in acpi_bus_add()
1448 device->pnp.cid_list = kmalloc(cid_list->size, GFP_KERNEL); in acpi_bus_add()
1449 if (device->pnp.cid_list) in acpi_bus_add()
1450 memcpy(device->pnp.cid_list, cid_list, cid_list->size); in acpi_bus_add()
1455 device->pnp.bus_address = info->address; in acpi_bus_add()
1486 sprintf(device->pnp.device_name, "%s", ACPI_BUS_DEVICE_NAME); in acpi_bus_add()
1487 sprintf(device->pnp.device_class, "%s", ACPI_BUS_CLASS); in acpi_bus_add()
1491 sprintf(device->pnp.hardware_id, "%s", hid); in acpi_bus_add()
1495 sprintf(device->pnp.unique_id, "%s", uid); in acpi_bus_add()
1633 if (device->pnp.cid_list) { in acpi_bus_add()
1634 kfree(device->pnp.cid_list); in acpi_bus_add()
1658 if (device->pnp.cid_list) in acpi_bus_remove()
1659 kfree(device->pnp.cid_list); in acpi_bus_remove()