Home
last modified time | relevance | path

Searched defs:vfid (Results 1 – 25 of 50) sorted by relevance

12

/linux/drivers/gpu/drm/xe/
H A Dxe_gt_sriov_pf_control.c46 static int guc_action_vf_control_cmd(struct xe_guc *guc, u32 vfid, u32 cmd) in guc_action_vf_control_cmd()
61 static int pf_send_vf_control_cmd(struct xe_gt *gt, unsigned int vfid, u32 cmd) in pf_send_vf_control_cmd()
76 static int pf_send_vf_pause(struct xe_gt *gt, unsigned int vfid) in pf_send_vf_pause()
81 static int pf_send_vf_resume(struct xe_gt *gt, unsigned int vfid) in pf_send_vf_resume()
86 static int pf_send_vf_stop(struct xe_gt *gt, unsigned int vfid) in pf_send_vf_stop()
91 static int pf_send_vf_flr_start(struct xe_gt *gt, unsigned int vfid) in pf_send_vf_flr_start()
96 static int pf_send_vf_flr_finish(struct xe_gt *gt, unsigned int vfid) in pf_send_vf_flr_finish()
232 static struct xe_gt_sriov_control_state *pf_pick_vf_control(struct xe_gt *gt, unsigned int vfid) in pf_pick_vf_control()
240 static unsigned long *pf_peek_vf_state(struct xe_gt *gt, unsigned int vfid) in pf_peek_vf_state()
247 static bool pf_check_vf_state(struct xe_gt *gt, unsigned int vfid, in pf_check_vf_state()
[all …]
H A Dxe_sriov_pf_control.c22 int xe_sriov_pf_control_pause_vf(struct xe_device *xe, unsigned int vfid) in xe_sriov_pf_control_pause_vf()
50 int xe_sriov_pf_control_resume_vf(struct xe_device *xe, unsigned int vfid) in xe_sriov_pf_control_resume_vf()
78 int xe_sriov_pf_control_stop_vf(struct xe_device *xe, unsigned int vfid) in xe_sriov_pf_control_stop_vf()
106 int xe_sriov_pf_control_reset_vf(struct xe_device *xe, unsigned int vfid) in xe_sriov_pf_control_reset_vf()
135 int xe_sriov_pf_control_wait_flr(struct xe_device *xe, unsigned int vfid) in xe_sriov_pf_control_wait_flr()
159 int xe_sriov_pf_control_sync_flr(struct xe_device *xe, unsigned int vfid) in xe_sriov_pf_control_sync_flr()
188 int xe_sriov_pf_control_trigger_save_vf(struct xe_device *xe, unsigned int vfid) in xe_sriov_pf_control_trigger_save_vf()
218 int xe_sriov_pf_control_finish_save_vf(struct xe_device *xe, unsigned int vfid) in xe_sriov_pf_control_finish_save_vf()
242 int xe_sriov_pf_control_trigger_restore_vf(struct xe_device *xe, unsigned int vfid) in xe_sriov_pf_control_trigger_restore_vf()
266 int xe_sriov_pf_control_finish_restore_vf(struct xe_device *xe, unsigned int vfid) in xe_sriov_pf_control_finish_restore_vf()
H A Dxe_sriov_pf_migration.c19 static struct xe_sriov_migration_state *pf_pick_migration(struct xe_device *xe, unsigned int vfid) in pf_pick_migration()
34 wait_queue_head_t *xe_sriov_pf_migration_waitqueue(struct xe_device *xe, unsigned int vfid) in xe_sriov_pf_migration_waitqueue()
127 static bool pf_migration_data_ready(struct xe_device *xe, unsigned int vfid) in pf_migration_data_ready()
143 pf_migration_consume(struct xe_device *xe, unsigned int vfid) in pf_migration_consume()
178 xe_sriov_pf_migration_save_consume(struct xe_device *xe, unsigned int vfid) in xe_sriov_pf_migration_save_consume()
200 static int pf_handle_descriptor(struct xe_device *xe, unsigned int vfid, in pf_handle_descriptor()
217 static int pf_handle_trailer(struct xe_device *xe, unsigned int vfid, in pf_handle_trailer()
248 int xe_sriov_pf_migration_restore_produce(struct xe_device *xe, unsigned int vfid, in xe_sriov_pf_migration_restore_produce()
281 ssize_t xe_sriov_pf_migration_read(struct xe_device *xe, unsigned int vfid, in xe_sriov_pf_migration_read()
315 ssize_t xe_sriov_pf_migration_write(struct xe_device *xe, unsigned int vfid, in xe_sriov_pf_migration_write()
[all …]
H A Dxe_sriov_packet.c15 static struct mutex *pf_migration_mutex(struct xe_device *xe, unsigned int vfid) in pf_migration_mutex()
23 static struct xe_sriov_packet **pf_pick_pending(struct xe_device *xe, unsigned int vfid) in pf_pick_pending()
33 pf_pick_descriptor(struct xe_device *xe, unsigned int vfid) in pf_pick_descriptor()
42 static struct xe_sriov_packet **pf_pick_trailer(struct xe_device *xe, unsigned int vfid) in pf_pick_trailer()
52 unsigned int vfid) in pf_pick_read_packet()
234 unsigned int vfid, char __user *buf, size_t len) in pkt_read_single()
262 ssize_t xe_sriov_packet_read_single(struct xe_device *xe, unsigned int vfid, in xe_sriov_packet_read_single()
322 ssize_t xe_sriov_packet_write_single(struct xe_device *xe, unsigned int vfid, in xe_sriov_packet_write_single()
362 static int pf_descriptor_init(struct xe_device *xe, unsigned int vfid) in pf_descriptor_init()
407 int xe_sriov_packet_process_descriptor(struct xe_device *xe, unsigned int vfid, in xe_sriov_packet_process_descriptor()
[all …]
H A Dxe_sriov_pf_service.c87 static void pf_connect(struct xe_device *xe, u32 vfid, u32 major, u32 minor) in pf_connect()
96 static void pf_disconnect(struct xe_device *xe, u32 vfid) in pf_disconnect()
117 bool xe_sriov_pf_service_is_negotiated(struct xe_device *xe, u32 vfid, u32 major, u32 minor) in xe_sriov_pf_service_is_negotiated()
140 int xe_sriov_pf_service_handshake_vf(struct xe_device *xe, u32 vfid, in xe_sriov_pf_service_handshake_vf()
176 void xe_sriov_pf_service_reset_vf(struct xe_device *xe, unsigned int vfid) in xe_sriov_pf_service_reset_vf()
H A Dxe_gt_sriov_pf_debugfs.c275 unsigned int vfid = extract_vfid(m->private); in sched_groups_config_show() local
299 unsigned int vfid = extract_vfid(parent); in sched_groups_config_write() local
405 static void pf_add_sched_groups(struct xe_gt *gt, struct dentry *parent, unsigned int vfid) in pf_add_sched_groups()
536 unsigned int vfid = extract_vfid(data); in set_threshold() local
554 unsigned int vfid = extract_vfid(data); in get_threshold() local
630 unsigned int vfid = extract_vfid(parent); in control_write() local
703 unsigned int vfid = extract_vfid(parent); in config_blob_open() local
742 unsigned int vfid = extract_vfid(parent); in config_blob_write() local
784 static void pf_add_compat_attrs(struct xe_gt *gt, struct dentry *dent, unsigned int vfid) in pf_add_compat_attrs()
806 static void pf_populate_gt(struct xe_gt *gt, struct dentry *dent, unsigned int vfid) in pf_populate_gt()
[all …]
H A Dxe_gt_sriov_pf_monitor.c24 void xe_gt_sriov_pf_monitor_flr(struct xe_gt *gt, u32 vfid) in xe_gt_sriov_pf_monitor_flr()
35 static void pf_update_event_counter(struct xe_gt *gt, u32 vfid, in pf_update_event_counter()
44 static int pf_handle_vf_threshold_event(struct xe_gt *gt, u32 vfid, u32 threshold) in pf_handle_vf_threshold_event()
81 u32 vfid; in xe_gt_sriov_pf_monitor_process_guc2pf() local
H A Dxe_sriov_pf_provision.c197 int xe_sriov_pf_provision_apply_vf_eq(struct xe_device *xe, unsigned int vfid, u32 eq) in xe_sriov_pf_provision_apply_vf_eq()
214 static int pf_report_unclean(struct xe_gt *gt, unsigned int vfid, in pf_report_unclean()
238 int xe_sriov_pf_provision_query_vf_eq(struct xe_device *xe, unsigned int vfid, u32 *eq) in xe_sriov_pf_provision_query_vf_eq()
298 int xe_sriov_pf_provision_apply_vf_pt(struct xe_device *xe, unsigned int vfid, u32 pt) in xe_sriov_pf_provision_apply_vf_pt()
328 int xe_sriov_pf_provision_query_vf_pt(struct xe_device *xe, unsigned int vfid, u32 *pt) in xe_sriov_pf_provision_query_vf_pt()
394 int xe_sriov_pf_provision_apply_vf_priority(struct xe_device *xe, unsigned int vfid, u32 prio) in xe_sriov_pf_provision_apply_vf_priority()
422 int xe_sriov_pf_provision_query_vf_priority(struct xe_device *xe, unsigned int vfid, u32 *prio) in xe_sriov_pf_provision_query_vf_priority()
H A Dxe_lmtt.c342 static void lmtt_drop_pages(struct xe_lmtt *lmtt, unsigned int vfid) in lmtt_drop_pages()
402 static int lmtt_alloc_range(struct xe_lmtt *lmtt, unsigned int vfid, u64 start, u64 end) in lmtt_alloc_range()
443 static struct xe_lmtt_pt *lmtt_leaf_pt(struct xe_lmtt *lmtt, unsigned int vfid, u64 addr) in lmtt_leaf_pt()
467 static void lmtt_insert_bo(struct xe_lmtt *lmtt, unsigned int vfid, struct xe_bo *bo, u64 start) in lmtt_insert_bo()
510 int xe_lmtt_prepare_pages(struct xe_lmtt *lmtt, unsigned int vfid, u64 range) in xe_lmtt_prepare_pages()
533 int xe_lmtt_populate_pages(struct xe_lmtt *lmtt, unsigned int vfid, struct xe_bo *bo, u64 offset) in xe_lmtt_populate_pages()
552 void xe_lmtt_drop_pages(struct xe_lmtt *lmtt, unsigned int vfid) in xe_lmtt_drop_pages()
H A Dxe_sriov_pf_sysfs.c71 unsigned int vfid; member
142 static bool sched_priority_change_allowed(unsigned int vfid) in sched_priority_change_allowed()
148 static bool sched_priority_high_allowed(unsigned int vfid) in sched_priority_high_allowed()
232 static ssize_t xe_sriov_vf_attr_sched_priority_show(struct xe_device *xe, unsigned int vfid, in xe_sriov_vf_attr_sched_priority_show()
250 static ssize_t xe_sriov_vf_attr_sched_priority_store(struct xe_device *xe, unsigned int vfid, in xe_sriov_vf_attr_sched_priority_store()
359 static struct kobject *create_xe_sriov_kobj(struct xe_device *xe, unsigned int vfid, in create_xe_sriov_kobj()
420 unsigned int vfid = vkobj->vfid; in xe_sriov_vf_attr_show() local
436 unsigned int vfid = vkobj->vfid; in xe_sriov_vf_attr_store() local
H A Dxe_sriov_vfio.c54 ssize_t xe_sriov_vfio_data_read(struct xe_device *xe, unsigned int vfid, in xe_sriov_vfio_data_read()
68 ssize_t xe_sriov_vfio_data_write(struct xe_device *xe, unsigned int vfid, in xe_sriov_vfio_data_write()
H A Dxe_ggtt.c998 static u64 xe_encode_vfid_pte(u16 vfid) in xe_encode_vfid_pte()
1003 static void xe_ggtt_assign_locked(struct xe_ggtt *ggtt, const struct drm_mm_node *node, u16 vfid) in xe_ggtt_assign_locked()
1032 void xe_ggtt_assign(const struct xe_ggtt_node *node, u16 vfid) in xe_ggtt_assign()
1048 int xe_ggtt_node_save(struct xe_ggtt_node *node, void *dst, size_t size, u16 vfid) in xe_ggtt_node_save()
1088 int xe_ggtt_node_load(struct xe_ggtt_node *node, const void *src, size_t size, u16 vfid) in xe_ggtt_node_load()
H A Dxe_gt_sriov_pf_helpers.h23 #define xe_gt_sriov_pf_assert_vfid(gt, vfid) xe_sriov_pf_assert_vfid(gt_to_xe(gt), (vfid)) argument
H A Dxe_sriov_pf_helpers.h25 #define xe_sriov_pf_assert_vfid(xe, vfid) \ argument
H A Dxe_guc_pagefault.c14 u32 vfid = FIELD_GET(PFD_VFID, pf->producer.msg[2]); in guc_ack_fault() local
/linux/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_ctrl_net.c44 u16 sz, int vfid) in init_send_req()
127 int octep_ctrl_net_get_link_status(struct octep_device *oct, int vfid) in octep_ctrl_net_get_link_status()
143 int octep_ctrl_net_set_link_status(struct octep_device *oct, int vfid, bool up, in octep_ctrl_net_set_link_status()
158 int octep_ctrl_net_set_rx_state(struct octep_device *oct, int vfid, bool up, in octep_ctrl_net_set_rx_state()
173 int octep_ctrl_net_get_mac_addr(struct octep_device *oct, int vfid, u8 *addr) in octep_ctrl_net_get_mac_addr()
191 int octep_ctrl_net_set_mac_addr(struct octep_device *oct, int vfid, u8 *addr, in octep_ctrl_net_set_mac_addr()
205 int octep_ctrl_net_get_mtu(struct octep_device *oct, int vfid) in octep_ctrl_net_get_mtu()
223 int octep_ctrl_net_set_mtu(struct octep_device *oct, int vfid, int mtu, in octep_ctrl_net_set_mtu()
237 int octep_ctrl_net_get_if_stats(struct octep_device *oct, int vfid, in octep_ctrl_net_get_if_stats()
258 int octep_ctrl_net_get_link_info(struct octep_device *oct, int vfid, in octep_ctrl_net_get_link_info()
[all …]
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_sriov.c306 int vfid, struct qed_ptt *p_ptt) in qed_iov_post_vf_bulletin()
658 int vfid, bool b_fail_malicious) in _qed_iov_pf_sanity_check()
672 static bool qed_iov_pf_sanity_check(struct qed_hwfn *p_hwfn, int vfid) in qed_iov_pf_sanity_check()
939 u16 vfid, in qed_iov_set_link()
1332 static void qed_iov_clean_vf(struct qed_hwfn *p_hwfn, u8 vfid) in qed_iov_clean_vf()
2980 u8 vfid, in qed_iov_pre_update_vport()
3243 int vfid, struct qed_filter_ucast *params) in qed_iov_chk_ucast()
3697 u16 vfid = p_vf->abs_vf_id; in qed_iov_execute_vf_flr_cleanup() local
3790 u8 vfid; in qed_iov_mark_vf_flr() local
3821 u16 vfid, in qed_iov_get_link()
[all …]
H A Dqed_l2.h330 u8 vfid; member
365 u8 vfid; member
/linux/arch/s390/pci/
H A Dpci_iov.c47 static int zpci_iov_link_virtfn(struct pci_dev *pdev, struct pci_dev *virtfn, int vfid) in zpci_iov_link_virtfn()
78 int i, vfid, devfn, cand_devfn; in zpci_iov_find_parent_pf() local
/linux/drivers/net/ethernet/intel/ice/
H A Dice_vf_mbx.c22 ice_aq_send_msg_to_vf(struct ice_hw *hw, u16 vfid, u32 v_opcode, u32 v_retval, in ice_aq_send_msg_to_vf()
225 u16 vfid = le16_to_cpu(event->desc.retval); in ice_mbx_vf_dec_trig_e830() local
H A Dice_vf_mbx.h34 u16 __always_unused vfid, u32 __always_unused v_opcode, in ice_aq_send_msg_to_vf()
/linux/drivers/infiniband/hw/usnic/
H A Dusnic_abi.h70 u32 vfid; member
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sriov.c1036 static int bnx2x_vf_domain(struct bnx2x *bp, int vfid) in bnx2x_vf_domain()
1043 static int bnx2x_vf_bus(struct bnx2x *bp, int vfid) in bnx2x_vf_bus()
1052 static int bnx2x_vf_devfn(struct bnx2x *bp, int vfid) in bnx2x_vf_devfn()
1527 int vfid; in bnx2x_iov_link_update() local
1539 int vfid; in bnx2x_iov_nic_init() local
/linux/drivers/crypto/marvell/octeontx/
H A Dotx_cptvf.h71 u8 vfid; /* Device Index 0...OTX_CPT_MAX_VF_NUM */ member
/linux/drivers/vdpa/solidrun/
H A Dsnet_main.c879 static struct snet_dev_cfg *snet_find_dev_cfg(struct snet_cfg *cfg, u32 vfid) in snet_find_dev_cfg()
971 u32 vfid; in snet_vdpa_probe_vf() local

12