Lines Matching refs:ring_cfg

452 	struct ti_sci_msg_rm_ring_cfg ring_cfg = { 0 };  in k3_ringacc_ring_reset_sci()  local
456 ring_cfg.nav_id = ringacc->tisci_dev_id; in k3_ringacc_ring_reset_sci()
457 ring_cfg.index = ring->ring_id; in k3_ringacc_ring_reset_sci()
458 ring_cfg.valid_params = TI_SCI_MSG_VALUE_RM_RING_COUNT_VALID; in k3_ringacc_ring_reset_sci()
459 ring_cfg.count = ring->size; in k3_ringacc_ring_reset_sci()
461 ret = ringacc->tisci_ring_ops->set_cfg(ringacc->tisci, &ring_cfg); in k3_ringacc_ring_reset_sci()
481 struct ti_sci_msg_rm_ring_cfg ring_cfg = { 0 }; in k3_ringacc_ring_reconfig_qmode_sci() local
485 ring_cfg.nav_id = ringacc->tisci_dev_id; in k3_ringacc_ring_reconfig_qmode_sci()
486 ring_cfg.index = ring->ring_id; in k3_ringacc_ring_reconfig_qmode_sci()
487 ring_cfg.valid_params = TI_SCI_MSG_VALUE_RM_RING_MODE_VALID; in k3_ringacc_ring_reconfig_qmode_sci()
488 ring_cfg.mode = mode; in k3_ringacc_ring_reconfig_qmode_sci()
490 ret = ringacc->tisci_ring_ops->set_cfg(ringacc->tisci, &ring_cfg); in k3_ringacc_ring_reconfig_qmode_sci()
557 struct ti_sci_msg_rm_ring_cfg ring_cfg = { 0 }; in k3_ringacc_ring_free_sci() local
561 ring_cfg.nav_id = ringacc->tisci_dev_id; in k3_ringacc_ring_free_sci()
562 ring_cfg.index = ring->ring_id; in k3_ringacc_ring_free_sci()
563 ring_cfg.valid_params = TI_SCI_MSG_VALUE_RM_ALL_NO_ORDER; in k3_ringacc_ring_free_sci()
565 ret = ringacc->tisci_ring_ops->set_cfg(ringacc->tisci, &ring_cfg); in k3_ringacc_ring_free_sci()
659 struct ti_sci_msg_rm_ring_cfg ring_cfg = { 0 }; in k3_ringacc_ring_cfg_sci() local
666 ring_cfg.nav_id = ringacc->tisci_dev_id; in k3_ringacc_ring_cfg_sci()
667 ring_cfg.index = ring->ring_id; in k3_ringacc_ring_cfg_sci()
668 ring_cfg.valid_params = TI_SCI_MSG_VALUE_RM_ALL_NO_ORDER; in k3_ringacc_ring_cfg_sci()
669 ring_cfg.addr_lo = lower_32_bits(ring->ring_mem_dma); in k3_ringacc_ring_cfg_sci()
670 ring_cfg.addr_hi = upper_32_bits(ring->ring_mem_dma); in k3_ringacc_ring_cfg_sci()
671 ring_cfg.count = ring->size; in k3_ringacc_ring_cfg_sci()
672 ring_cfg.mode = ring->mode; in k3_ringacc_ring_cfg_sci()
673 ring_cfg.size = ring->elm_size; in k3_ringacc_ring_cfg_sci()
674 ring_cfg.asel = ring->asel; in k3_ringacc_ring_cfg_sci()
676 ret = ringacc->tisci_ring_ops->set_cfg(ringacc->tisci, &ring_cfg); in k3_ringacc_ring_cfg_sci()