x64-upstream: Split the device and device_name