Searched refs:dc2c (Results 1 – 3 of 3) sorted by relevance
264 struct devcmd2_controller *dc2c = vdev->devcmd2; in _svnic_dev_cmd2() local274 fetch_idx = ioread32(&dc2c->wq_ctrl->fetch_index); in _svnic_dev_cmd2()280 posted = ioread32(&dc2c->wq_ctrl->posted_index); in _svnic_dev_cmd2()295 dc2c->cmd_ring[posted].cmd = cmd; in _svnic_dev_cmd2()296 dc2c->cmd_ring[posted].flags = 0; in _svnic_dev_cmd2()299 dc2c->cmd_ring[posted].flags |= DEVCMD2_FNORESULT; in _svnic_dev_cmd2()303 dc2c->cmd_ring[posted].args[i] = vdev->args[i]; in _svnic_dev_cmd2()311 iowrite32(new_posted, &dc2c->wq_ctrl->posted_index); in _svnic_dev_cmd2()313 if (dc2c->cmd_ring[posted].flags & DEVCMD2_FNORESULT) in _svnic_dev_cmd2()316 result = dc2c->result + dc2c->next_result; in _svnic_dev_cmd2()[all …]
322 struct devcmd2_controller *dc2c = vdev->devcmd2; in vnic_dev_cmd2() local332 posted = ioread32(&dc2c->wq_ctrl->posted_index); in vnic_dev_cmd2()333 fetch_index = ioread32(&dc2c->wq_ctrl->fetch_index); in vnic_dev_cmd2()356 dc2c->cmd_ring[posted].cmd = cmd; in vnic_dev_cmd2()357 dc2c->cmd_ring[posted].flags = 0; in vnic_dev_cmd2()360 dc2c->cmd_ring[posted].flags |= DEVCMD2_FNORESULT; in vnic_dev_cmd2()363 dc2c->cmd_ring[posted].args[i] = vdev->args[i]; in vnic_dev_cmd2()373 iowrite32(new_posted, &dc2c->wq_ctrl->posted_index); in vnic_dev_cmd2()375 if (dc2c->cmd_ring[posted].flags & DEVCMD2_FNORESULT) in vnic_dev_cmd2()378 result = dc2c->result + dc2c->next_result; in vnic_dev_cmd2()[all …]
300 struct devcmd2_controller *dc2c = vdev->devcmd2; in _vnic_dev_cmd2() local306 u32 posted = dc2c->posted; in _vnic_dev_cmd2()308 fetch_index = ioread32(&dc2c->wq_ctrl->fetch_index); in _vnic_dev_cmd2()320 dc2c->cmd_ring[posted].cmd = cmd; in _vnic_dev_cmd2()321 dc2c->cmd_ring[posted].flags = 0; in _vnic_dev_cmd2()324 dc2c->cmd_ring[posted].flags |= DEVCMD2_FNORESULT; in _vnic_dev_cmd2()327 dc2c->cmd_ring[posted].args[i] = vdev->args[i]; in _vnic_dev_cmd2()334 iowrite32(new_posted, &dc2c->wq_ctrl->posted_index); in _vnic_dev_cmd2()335 dc2c->posted = new_posted; in _vnic_dev_cmd2()337 if (dc2c->cmd_ring[posted].flags & DEVCMD2_FNORESULT) in _vnic_dev_cmd2()[all …]