Implement chip resetting and corresponding ioctl