Lines Matching defs:vfid

44 static int guc_action_update_vf_cfg(struct xe_guc *guc, u32 vfid,  in guc_action_update_vf_cfg()
61 static int pf_send_vf_cfg_reset(struct xe_gt *gt, u32 vfid) in pf_send_vf_cfg_reset()
75 static int pf_send_vf_buf_klvs(struct xe_gt *gt, u32 vfid, struct xe_guc_buf buf, u32 num_dwords) in pf_send_vf_buf_klvs()
86 static int pf_push_vf_buf_klvs(struct xe_gt *gt, unsigned int vfid, u32 num_klvs, in pf_push_vf_buf_klvs()
124 static int pf_push_vf_cfg_klvs(struct xe_gt *gt, unsigned int vfid, u32 num_klvs, in pf_push_vf_cfg_klvs()
137 static int pf_push_vf_cfg_u32(struct xe_gt *gt, unsigned int vfid, u16 key, u32 value) in pf_push_vf_cfg_u32()
147 static int pf_push_vf_cfg_u64(struct xe_gt *gt, unsigned int vfid, u16 key, u64 value) in pf_push_vf_cfg_u64()
158 static int pf_push_vf_cfg_ggtt(struct xe_gt *gt, unsigned int vfid, u64 start, u64 size) in pf_push_vf_cfg_ggtt()
172 static int pf_push_vf_cfg_ctxs(struct xe_gt *gt, unsigned int vfid, u32 begin, u32 num) in pf_push_vf_cfg_ctxs()
184 static int pf_push_vf_cfg_dbs(struct xe_gt *gt, unsigned int vfid, u32 begin, u32 num) in pf_push_vf_cfg_dbs()
196 static int pf_push_vf_cfg_exec_quantum(struct xe_gt *gt, unsigned int vfid, u32 *exec_quantum) in pf_push_vf_cfg_exec_quantum()
204 static int pf_push_vf_cfg_preempt_timeout(struct xe_gt *gt, unsigned int vfid, u32 *preempt_timeout) in pf_push_vf_cfg_preempt_timeout()
212 static int pf_push_vf_cfg_sched_priority(struct xe_gt *gt, unsigned int vfid, u32 priority) in pf_push_vf_cfg_sched_priority()
217 static int pf_push_vf_cfg_lmem(struct xe_gt *gt, unsigned int vfid, u64 size) in pf_push_vf_cfg_lmem()
222 static int pf_push_vf_cfg_threshold(struct xe_gt *gt, unsigned int vfid, in pf_push_vf_cfg_threshold()
231 static struct xe_gt_sriov_config *pf_pick_vf_config(struct xe_gt *gt, unsigned int vfid) in pf_pick_vf_config()
306 static int pf_push_full_vf_config(struct xe_gt *gt, unsigned int vfid) in pf_push_full_vf_config()
341 static int pf_push_vf_cfg(struct xe_gt *gt, unsigned int vfid, bool reset) in pf_push_vf_cfg()
356 static int pf_refresh_vf_cfg(struct xe_gt *gt, unsigned int vfid) in pf_refresh_vf_cfg()
404 static int pf_distribute_config_ggtt(struct xe_tile *tile, unsigned int vfid, u64 start, u64 size) in pf_distribute_config_ggtt()
436 static int pf_provision_vf_ggtt(struct xe_gt *gt, unsigned int vfid, u64 size) in pf_provision_vf_ggtt()
490 static u64 pf_get_vf_config_ggtt(struct xe_gt *gt, unsigned int vfid) in pf_get_vf_config_ggtt()
508 u64 xe_gt_sriov_pf_config_get_ggtt(struct xe_gt *gt, unsigned int vfid) in xe_gt_sriov_pf_config_get_ggtt()
522 static int pf_config_set_u64_done(struct xe_gt *gt, unsigned int vfid, u64 value, in pf_config_set_u64_done()
559 int xe_gt_sriov_pf_config_set_ggtt(struct xe_gt *gt, unsigned int vfid, u64 size) in xe_gt_sriov_pf_config_set_ggtt()
618 int xe_gt_sriov_pf_config_bulk_set_ggtt(struct xe_gt *gt, unsigned int vfid, in xe_gt_sriov_pf_config_bulk_set_ggtt()
689 int xe_gt_sriov_pf_config_set_fair_ggtt(struct xe_gt *gt, unsigned int vfid, in xe_gt_sriov_pf_config_set_fair_ggtt()
770 static int pf_provision_vf_ctxs(struct xe_gt *gt, unsigned int vfid, u32 num_ctxs) in pf_provision_vf_ctxs()
813 static u32 pf_get_vf_config_ctxs(struct xe_gt *gt, unsigned int vfid) in pf_get_vf_config_ctxs()
830 u32 xe_gt_sriov_pf_config_get_ctxs(struct xe_gt *gt, unsigned int vfid) in xe_gt_sriov_pf_config_get_ctxs()
854 static int pf_config_set_u32_done(struct xe_gt *gt, unsigned int vfid, u32 value, u32 actual, in pf_config_set_u32_done()
885 int xe_gt_sriov_pf_config_set_ctxs(struct xe_gt *gt, unsigned int vfid, u32 num_ctxs) in xe_gt_sriov_pf_config_set_ctxs()
940 int xe_gt_sriov_pf_config_bulk_set_ctxs(struct xe_gt *gt, unsigned int vfid, in xe_gt_sriov_pf_config_bulk_set_ctxs()
993 int xe_gt_sriov_pf_config_set_fair_ctxs(struct xe_gt *gt, unsigned int vfid, in xe_gt_sriov_pf_config_set_fair_ctxs()
1071 static int pf_provision_vf_dbs(struct xe_gt *gt, unsigned int vfid, u32 num_dbs) in pf_provision_vf_dbs()
1114 static u32 pf_get_vf_config_dbs(struct xe_gt *gt, unsigned int vfid) in pf_get_vf_config_dbs()
1131 u32 xe_gt_sriov_pf_config_get_dbs(struct xe_gt *gt, unsigned int vfid) in xe_gt_sriov_pf_config_get_dbs()
1158 int xe_gt_sriov_pf_config_set_dbs(struct xe_gt *gt, unsigned int vfid, u32 num_dbs) in xe_gt_sriov_pf_config_set_dbs()
1188 int xe_gt_sriov_pf_config_bulk_set_dbs(struct xe_gt *gt, unsigned int vfid, in xe_gt_sriov_pf_config_bulk_set_dbs()
1241 int xe_gt_sriov_pf_config_set_fair_dbs(struct xe_gt *gt, unsigned int vfid, in xe_gt_sriov_pf_config_set_fair_dbs()
1296 static u64 pf_get_vf_config_lmem(struct xe_gt *gt, unsigned int vfid) in pf_get_vf_config_lmem()
1305 static int pf_distribute_config_lmem(struct xe_gt *gt, unsigned int vfid, u64 size) in pf_distribute_config_lmem()
1333 static void pf_reset_vf_lmtt(struct xe_device *xe, unsigned int vfid) in pf_reset_vf_lmtt()
1348 static int pf_update_vf_lmtt(struct xe_device *xe, unsigned int vfid) in pf_update_vf_lmtt()
1418 static int pf_provision_vf_lmem(struct xe_gt *gt, unsigned int vfid, u64 size) in pf_provision_vf_lmem()
1489 u64 xe_gt_sriov_pf_config_get_lmem(struct xe_gt *gt, unsigned int vfid) in xe_gt_sriov_pf_config_get_lmem()
1511 int xe_gt_sriov_pf_config_set_lmem(struct xe_gt *gt, unsigned int vfid, u64 size) in xe_gt_sriov_pf_config_set_lmem()
1538 int xe_gt_sriov_pf_config_bulk_set_lmem(struct xe_gt *gt, unsigned int vfid, in xe_gt_sriov_pf_config_bulk_set_lmem()
1615 int xe_gt_sriov_pf_config_set_fair_lmem(struct xe_gt *gt, unsigned int vfid, in xe_gt_sriov_pf_config_set_fair_lmem()
1647 int xe_gt_sriov_pf_config_set_fair(struct xe_gt *gt, unsigned int vfid, in xe_gt_sriov_pf_config_set_fair()
1675 static int pf_provision_exec_quantum(struct xe_gt *gt, unsigned int vfid, in pf_provision_exec_quantum()
1689 static int pf_get_exec_quantum(struct xe_gt *gt, unsigned int vfid) in pf_get_exec_quantum()
1706 int xe_gt_sriov_pf_config_set_exec_quantum(struct xe_gt *gt, unsigned int vfid, in xe_gt_sriov_pf_config_set_exec_quantum()
1729 u32 xe_gt_sriov_pf_config_get_exec_quantum(struct xe_gt *gt, unsigned int vfid) in xe_gt_sriov_pf_config_get_exec_quantum()
1745 static int pf_provision_preempt_timeout(struct xe_gt *gt, unsigned int vfid, in pf_provision_preempt_timeout()
1760 static int pf_get_preempt_timeout(struct xe_gt *gt, unsigned int vfid) in pf_get_preempt_timeout()
1777 int xe_gt_sriov_pf_config_set_preempt_timeout(struct xe_gt *gt, unsigned int vfid, in xe_gt_sriov_pf_config_set_preempt_timeout()
1800 u32 xe_gt_sriov_pf_config_get_preempt_timeout(struct xe_gt *gt, unsigned int vfid) in xe_gt_sriov_pf_config_get_preempt_timeout()
1819 static int pf_provision_sched_priority(struct xe_gt *gt, unsigned int vfid, u32 priority) in pf_provision_sched_priority()
1832 static int pf_get_sched_priority(struct xe_gt *gt, unsigned int vfid) in pf_get_sched_priority()
1849 int xe_gt_sriov_pf_config_set_sched_priority(struct xe_gt *gt, unsigned int vfid, u32 priority) in xe_gt_sriov_pf_config_set_sched_priority()
1871 u32 xe_gt_sriov_pf_config_get_sched_priority(struct xe_gt *gt, unsigned int vfid) in xe_gt_sriov_pf_config_get_sched_priority()
1890 static int pf_provision_threshold(struct xe_gt *gt, unsigned int vfid, in pf_provision_threshold()
1905 static int pf_get_threshold(struct xe_gt *gt, unsigned int vfid, in pf_get_threshold()
1929 int xe_gt_sriov_pf_config_set_threshold(struct xe_gt *gt, unsigned int vfid, in xe_gt_sriov_pf_config_set_threshold()
1955 u32 xe_gt_sriov_pf_config_get_threshold(struct xe_gt *gt, unsigned int vfid, in xe_gt_sriov_pf_config_get_threshold()
1979 static void pf_release_vf_config(struct xe_gt *gt, unsigned int vfid) in pf_release_vf_config()
2008 int xe_gt_sriov_pf_config_release(struct xe_gt *gt, unsigned int vfid, bool force) in xe_gt_sriov_pf_config_release()
2029 static void pf_sanitize_ggtt(struct xe_ggtt_node *ggtt_region, unsigned int vfid) in pf_sanitize_ggtt()
2064 static int pf_sanitize_vf_resources(struct xe_gt *gt, u32 vfid, long timeout) in pf_sanitize_vf_resources()
2094 int xe_gt_sriov_pf_config_sanitize(struct xe_gt *gt, unsigned int vfid, long timeout) in xe_gt_sriov_pf_config_sanitize()
2120 int xe_gt_sriov_pf_config_push(struct xe_gt *gt, unsigned int vfid, bool refresh) in xe_gt_sriov_pf_config_push()
2138 static int pf_validate_vf_config(struct xe_gt *gt, unsigned int vfid) in pf_validate_vf_config()
2177 bool xe_gt_sriov_pf_config_is_empty(struct xe_gt *gt, unsigned int vfid) in xe_gt_sriov_pf_config_is_empty()
2203 ssize_t xe_gt_sriov_pf_config_save(struct xe_gt *gt, unsigned int vfid, void *buf, size_t size) in xe_gt_sriov_pf_config_save()
2229 static int pf_restore_vf_config_klv(struct xe_gt *gt, unsigned int vfid, in pf_restore_vf_config_klv()
2287 static int pf_restore_vf_config(struct xe_gt *gt, unsigned int vfid, in pf_restore_vf_config()
2327 int xe_gt_sriov_pf_config_restore(struct xe_gt *gt, unsigned int vfid, in xe_gt_sriov_pf_config_restore()