Searched refs:devcmd2 (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/scsi/fnic/ |
D | vnic_dev.c | 60 struct devcmd2_controller *devcmd2; member 314 struct devcmd2_controller *dc2c = vdev->devcmd2; in vnic_dev_cmd2() 422 if (vdev->devcmd2) in vnic_dev_init_devcmd2() 425 vdev->devcmd2 = kzalloc(sizeof(*vdev->devcmd2), GFP_ATOMIC); in vnic_dev_init_devcmd2() 426 if (!vdev->devcmd2) in vnic_dev_init_devcmd2() 429 vdev->devcmd2->color = 1; in vnic_dev_init_devcmd2() 430 vdev->devcmd2->result_size = DEVCMD2_RING_SIZE; in vnic_dev_init_devcmd2() 431 err = vnic_wq_devcmd2_alloc(vdev, &vdev->devcmd2->wq, in vnic_dev_init_devcmd2() 436 fetch_index = ioread32(&vdev->devcmd2->wq.ctrl->fetch_index); in vnic_dev_init_devcmd2() 448 vnic_wq_init_start(&vdev->devcmd2->wq, 0, fetch_index, in vnic_dev_init_devcmd2() [all …]
|
/linux-6.12.1/drivers/net/ethernet/cisco/enic/ |
D | vnic_dev.c | 283 struct devcmd2_controller *dc2c = vdev->devcmd2; in _vnic_dev_cmd2() 371 if (vdev->devcmd2) in vnic_dev_init_devcmd2() 374 vdev->devcmd2 = kzalloc(sizeof(*vdev->devcmd2), GFP_KERNEL); in vnic_dev_init_devcmd2() 375 if (!vdev->devcmd2) in vnic_dev_init_devcmd2() 378 vdev->devcmd2->color = 1; in vnic_dev_init_devcmd2() 379 vdev->devcmd2->result_size = DEVCMD2_RING_SIZE; in vnic_dev_init_devcmd2() 380 err = enic_wq_devcmd2_alloc(vdev, &vdev->devcmd2->wq, DEVCMD2_RING_SIZE, in vnic_dev_init_devcmd2() 385 fetch_index = ioread32(&vdev->devcmd2->wq.ctrl->fetch_index); in vnic_dev_init_devcmd2() 392 enic_wq_init_start(&vdev->devcmd2->wq, 0, fetch_index, fetch_index, 0, in vnic_dev_init_devcmd2() 394 vdev->devcmd2->posted = fetch_index; in vnic_dev_init_devcmd2() [all …]
|
D | vnic_dev.h | 102 struct devcmd2_controller *devcmd2; member
|
/linux-6.12.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()
|