Lines Matching refs:sla
12 prep_admin_req_msg(struct rl_sla *sla, dma_addr_t dma_addr, in prep_admin_req_msg() argument
19 req->node_id = sla->node_id; in prep_admin_req_msg()
20 req->node_type = sla->type; in prep_admin_req_msg()
21 req->rp_count = sla->ring_pairs_cnt; in prep_admin_req_msg()
22 req->svc_type = sla->srv; in prep_admin_req_msg()
26 prep_admin_req_params(struct adf_accel_dev *accel_dev, struct rl_sla *sla, in prep_admin_req_params() argument
30 adf_rl_calculate_pci_bw(accel_dev, sla->cir, sla->srv, false); in prep_admin_req_params()
32 adf_rl_calculate_pci_bw(accel_dev, sla->pir, sla->srv, false); in prep_admin_req_params()
34 adf_rl_calculate_pci_bw(accel_dev, sla->cir, sla->srv, true); in prep_admin_req_params()
36 adf_rl_calculate_pci_bw(accel_dev, sla->pir, sla->srv, true); in prep_admin_req_params()
39 adf_rl_calculate_slice_tokens(accel_dev, sla->cir, sla->srv); in prep_admin_req_params()
41 adf_rl_calculate_slice_tokens(accel_dev, sla->pir, sla->srv); in prep_admin_req_params()
44 adf_rl_calculate_ae_cycles(accel_dev, sla->cir, sla->srv); in prep_admin_req_params()
46 adf_rl_calculate_ae_cycles(accel_dev, sla->pir, sla->srv); in prep_admin_req_params()
48 memcpy(fw_params->rp_ids, sla->ring_pairs_ids, in prep_admin_req_params()
49 sizeof(sla->ring_pairs_ids)); in prep_admin_req_params()
71 struct rl_sla *sla, bool is_update) in adf_rl_send_admin_add_update_msg() argument
83 prep_admin_req_params(accel_dev, sla, fw_params); in adf_rl_send_admin_add_update_msg()
84 prep_admin_req_msg(sla, dma_addr, fw_params, &req, is_update); in adf_rl_send_admin_add_update_msg()