Lines Matching refs:dc
185 s8 db = mvdev->dc->h2c_vdev_db; in mic_notify()
401 mvdev->dc->used_address_updated = 0; in mic_virtio_init_post()
423 mvdev->dc->vdev_reset = 0; in mic_virtio_device_reset()
424 mvdev->dc->host_ack = 1; in mic_virtio_device_reset()
458 if (mvdev->dc->used_address_updated) in mic_bh_handler()
461 if (mvdev->dc->vdev_reset) in mic_bh_handler()
502 mvdev->dc->config_change = MIC_VIRTIO_PARAM_CONFIG_CHANGED; in mic_virtio_config_change()
507 mvdev->dc->guest_ack, msecs_to_jiffies(100)); in mic_virtio_config_change()
514 mvdev->dc->config_change = 0; in mic_virtio_config_change()
515 mvdev->dc->guest_ack = 0; in mic_virtio_config_change()
603 struct mic_device_ctrl *dc; in mic_init_device_ctrl() local
605 dc = (void *)devpage + mic_aligned_desc_size(devpage); in mic_init_device_ctrl()
607 dc->config_change = 0; in mic_init_device_ctrl()
608 dc->guest_ack = 0; in mic_init_device_ctrl()
609 dc->vdev_reset = 0; in mic_init_device_ctrl()
610 dc->host_ack = 0; in mic_init_device_ctrl()
611 dc->used_address_updated = 0; in mic_init_device_ctrl()
612 dc->c2h_vdev_db = -1; in mic_init_device_ctrl()
613 dc->h2c_vdev_db = -1; in mic_init_device_ctrl()
614 mvdev->dc = dc; in mic_init_device_ctrl()
711 mvdev->dc->c2h_vdev_db = mvdev->virtio_db; in mic_virtio_add_device()
760 mvdev->dc->config_change = MIC_VIRTIO_PARAM_DEV_REMOVE; in mic_virtio_del_device()
764 mvdev->dc->guest_ack, msecs_to_jiffies(100)); in mic_virtio_del_device()
770 mvdev->virtio_id, mvdev->dc->config_change, in mic_virtio_del_device()
771 mvdev->dc->guest_ack, retry); in mic_virtio_del_device()
772 mvdev->dc->config_change = 0; in mic_virtio_del_device()
773 mvdev->dc->guest_ack = 0; in mic_virtio_del_device()