Searched refs:devcmd2 (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.1/drivers/scsi/fnic/ |
D | vnic_dev.c | 60 struct devcmd2_controller *devcmd2; member 310 struct devcmd2_controller *dc2c = vdev->devcmd2; in vnic_dev_cmd2() 418 if (vdev->devcmd2) in vnic_dev_init_devcmd2() 421 vdev->devcmd2 = kzalloc(sizeof(*vdev->devcmd2), GFP_ATOMIC); in vnic_dev_init_devcmd2() 422 if (!vdev->devcmd2) in vnic_dev_init_devcmd2() 425 vdev->devcmd2->color = 1; in vnic_dev_init_devcmd2() 426 vdev->devcmd2->result_size = DEVCMD2_RING_SIZE; in vnic_dev_init_devcmd2() 427 err = vnic_wq_devcmd2_alloc(vdev, &vdev->devcmd2->wq, in vnic_dev_init_devcmd2() 432 fetch_index = ioread32(&vdev->devcmd2->wq.ctrl->fetch_index); in vnic_dev_init_devcmd2() 444 vnic_wq_init_start(&vdev->devcmd2->wq, 0, fetch_index, in vnic_dev_init_devcmd2() [all …]
|
/Linux-v6.1/drivers/net/ethernet/cisco/enic/ |
D | vnic_dev.c | 287 struct devcmd2_controller *dc2c = vdev->devcmd2; in _vnic_dev_cmd2() 375 if (vdev->devcmd2) in vnic_dev_init_devcmd2() 378 vdev->devcmd2 = kzalloc(sizeof(*vdev->devcmd2), GFP_KERNEL); in vnic_dev_init_devcmd2() 379 if (!vdev->devcmd2) in vnic_dev_init_devcmd2() 382 vdev->devcmd2->color = 1; in vnic_dev_init_devcmd2() 383 vdev->devcmd2->result_size = DEVCMD2_RING_SIZE; in vnic_dev_init_devcmd2() 384 err = enic_wq_devcmd2_alloc(vdev, &vdev->devcmd2->wq, DEVCMD2_RING_SIZE, in vnic_dev_init_devcmd2() 389 fetch_index = ioread32(&vdev->devcmd2->wq.ctrl->fetch_index); in vnic_dev_init_devcmd2() 396 enic_wq_init_start(&vdev->devcmd2->wq, 0, fetch_index, fetch_index, 0, in vnic_dev_init_devcmd2() 398 vdev->devcmd2->posted = fetch_index; in vnic_dev_init_devcmd2() [all …]
|
D | vnic_dev.h | 97 struct devcmd2_controller *devcmd2; member
|
/Linux-v6.1/drivers/scsi/snic/ |
D | vnic_dev.c | 52 struct devcmd2_controller *devcmd2; member 250 struct devcmd2_controller *dc2c = vdev->devcmd2; in _svnic_dev_cmd2() 348 if (vdev->devcmd2) in svnic_dev_init_devcmd2() 359 vdev->devcmd2 = dc2c; in svnic_dev_init_devcmd2() 415 vdev->devcmd2 = NULL; in svnic_dev_init_devcmd2() 422 struct devcmd2_controller *dc2c = vdev->devcmd2; in vnic_dev_deinit_devcmd2() 424 vdev->devcmd2 = NULL; in vnic_dev_deinit_devcmd2() 702 if (vdev->devcmd2) in svnic_dev_unregister()
|