Home
last modified time | relevance | path

Searched refs:dc2c (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/scsi/snic/
A Dvnic_dev.c302 result = dc2c->result + dc2c->next_result; in _svnic_dev_cmd2()
310 if (dc2c->next_result == dc2c->result_size) { in _svnic_dev_cmd2()
312 dc2c->color = dc2c->color ? 0 : 1; in _svnic_dev_cmd2()
355 dc2c = kzalloc(sizeof(*dc2c), GFP_ATOMIC); in svnic_dev_init_devcmd2()
356 if (!dc2c) in svnic_dev_init_devcmd2()
361 dc2c->color = 1; in svnic_dev_init_devcmd2()
391 dc2c->result = (struct devcmd2_result *) dc2c->results_ring.descs; in svnic_dev_init_devcmd2()
392 dc2c->cmd_ring = (struct vnic_devcmd2 *) dc2c->wq.ring.descs; in svnic_dev_init_devcmd2()
393 dc2c->wq_ctrl = dc2c->wq.ctrl; in svnic_dev_init_devcmd2()
414 kfree(dc2c); in svnic_dev_init_devcmd2()
[all …]
/linux/drivers/scsi/fnic/
A Dvnic_dev.c314 struct devcmd2_controller *dc2c = vdev->devcmd2; in vnic_dev_cmd2() local
324 posted = ioread32(&dc2c->wq_ctrl->posted_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()
355 dc2c->cmd_ring[posted].args[i] = vdev->args[i]; in vnic_dev_cmd2()
370 result = dc2c->result + dc2c->next_result; in vnic_dev_cmd2()
371 color = dc2c->color; in vnic_dev_cmd2()
373 dc2c->next_result++; in vnic_dev_cmd2()
374 if (dc2c->next_result == dc2c->result_size) { in vnic_dev_cmd2()
375 dc2c->next_result = 0; in vnic_dev_cmd2()
[all …]
/linux/drivers/net/ethernet/cisco/enic/
A Dvnic_dev.c283 struct devcmd2_controller *dc2c = vdev->devcmd2; in _vnic_dev_cmd2() local
289 u32 posted = dc2c->posted; 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()
318 dc2c->posted = new_posted; in _vnic_dev_cmd2()
323 result = dc2c->result + dc2c->next_result; in _vnic_dev_cmd2()
324 color = dc2c->color; in _vnic_dev_cmd2()
326 dc2c->next_result++; in _vnic_dev_cmd2()
327 if (dc2c->next_result == dc2c->result_size) { in _vnic_dev_cmd2()
328 dc2c->next_result = 0; in _vnic_dev_cmd2()
[all …]

Completed in 15 milliseconds