mlx_get_device_state
if (mlx_get_device_state(channel, target, &pd) == 0 &&
int mlx_get_device_state(int, int, struct mlx_phys_drv *);