Searched refs:dc2c (Results 1 – 3 of 3) sorted by relevance
250 struct devcmd2_controller *dc2c = vdev->devcmd2; in _svnic_dev_cmd2() local260 fetch_idx = ioread32(&dc2c->wq_ctrl->fetch_index); in _svnic_dev_cmd2()266 posted = ioread32(&dc2c->wq_ctrl->posted_index); in _svnic_dev_cmd2()281 dc2c->cmd_ring[posted].cmd = cmd; in _svnic_dev_cmd2()282 dc2c->cmd_ring[posted].flags = 0; in _svnic_dev_cmd2()285 dc2c->cmd_ring[posted].flags |= DEVCMD2_FNORESULT; in _svnic_dev_cmd2()289 dc2c->cmd_ring[posted].args[i] = vdev->args[i]; in _svnic_dev_cmd2()297 iowrite32(new_posted, &dc2c->wq_ctrl->posted_index); in _svnic_dev_cmd2()299 if (dc2c->cmd_ring[posted].flags & DEVCMD2_FNORESULT) in _svnic_dev_cmd2()302 result = dc2c->result + dc2c->next_result; in _svnic_dev_cmd2()[all …]
314 struct devcmd2_controller *dc2c = vdev->devcmd2; in vnic_dev_cmd2() local324 posted = ioread32(&dc2c->wq_ctrl->posted_index); in vnic_dev_cmd2()325 fetch_index = ioread32(&dc2c->wq_ctrl->fetch_index); in vnic_dev_cmd2()348 dc2c->cmd_ring[posted].cmd = cmd; in vnic_dev_cmd2()349 dc2c->cmd_ring[posted].flags = 0; in vnic_dev_cmd2()352 dc2c->cmd_ring[posted].flags |= DEVCMD2_FNORESULT; in vnic_dev_cmd2()355 dc2c->cmd_ring[posted].args[i] = vdev->args[i]; in vnic_dev_cmd2()365 iowrite32(new_posted, &dc2c->wq_ctrl->posted_index); in vnic_dev_cmd2()367 if (dc2c->cmd_ring[posted].flags & DEVCMD2_FNORESULT) in vnic_dev_cmd2()370 result = dc2c->result + dc2c->next_result; in vnic_dev_cmd2()[all …]
283 struct devcmd2_controller *dc2c = vdev->devcmd2; in _vnic_dev_cmd2() local289 u32 posted = dc2c->posted; in _vnic_dev_cmd2()291 fetch_index = ioread32(&dc2c->wq_ctrl->fetch_index); in _vnic_dev_cmd2()303 dc2c->cmd_ring[posted].cmd = cmd; in _vnic_dev_cmd2()304 dc2c->cmd_ring[posted].flags = 0; in _vnic_dev_cmd2()307 dc2c->cmd_ring[posted].flags |= DEVCMD2_FNORESULT; in _vnic_dev_cmd2()310 dc2c->cmd_ring[posted].args[i] = vdev->args[i]; in _vnic_dev_cmd2()317 iowrite32(new_posted, &dc2c->wq_ctrl->posted_index); in _vnic_dev_cmd2()318 dc2c->posted = new_posted; in _vnic_dev_cmd2()320 if (dc2c->cmd_ring[posted].flags & DEVCMD2_FNORESULT) in _vnic_dev_cmd2()[all …]