Searched refs:dc2c (Results 1 – 3 of 3) sorted by relevance
316 result = dc2c->result + dc2c->next_result; in _svnic_dev_cmd2()324 if (dc2c->next_result == dc2c->result_size) { in _svnic_dev_cmd2()326 dc2c->color = dc2c->color ? 0 : 1; in _svnic_dev_cmd2()369 dc2c = kzalloc(sizeof(*dc2c), GFP_ATOMIC); in svnic_dev_init_devcmd2()370 if (!dc2c) in svnic_dev_init_devcmd2()375 dc2c->color = 1; in svnic_dev_init_devcmd2()405 dc2c->result = (struct devcmd2_result *) dc2c->results_ring.descs; in svnic_dev_init_devcmd2()406 dc2c->cmd_ring = (struct vnic_devcmd2 *) dc2c->wq.ring.descs; in svnic_dev_init_devcmd2()407 dc2c->wq_ctrl = dc2c->wq.ctrl; in svnic_dev_init_devcmd2()428 kfree(dc2c); in svnic_dev_init_devcmd2()[all …]
322 struct devcmd2_controller *dc2c = vdev->devcmd2; in vnic_dev_cmd2() local332 posted = ioread32(&dc2c->wq_ctrl->posted_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()363 dc2c->cmd_ring[posted].args[i] = vdev->args[i]; in vnic_dev_cmd2()378 result = dc2c->result + dc2c->next_result; in vnic_dev_cmd2()379 color = dc2c->color; in vnic_dev_cmd2()381 dc2c->next_result++; in vnic_dev_cmd2()382 if (dc2c->next_result == dc2c->result_size) { in vnic_dev_cmd2()383 dc2c->next_result = 0; 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()320 dc2c->cmd_ring[posted].cmd = cmd; in _vnic_dev_cmd2()321 dc2c->cmd_ring[posted].flags = 0; in _vnic_dev_cmd2()335 dc2c->posted = new_posted; in _vnic_dev_cmd2()340 result = dc2c->result + dc2c->next_result; in _vnic_dev_cmd2()341 color = dc2c->color; in _vnic_dev_cmd2()343 dc2c->next_result++; in _vnic_dev_cmd2()344 if (dc2c->next_result == dc2c->result_size) { in _vnic_dev_cmd2()345 dc2c->next_result = 0; in _vnic_dev_cmd2()[all …]
Completed in 10 milliseconds