Home
last modified time | relevance | path

Searched defs:pdsc (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/net/ethernet/amd/pds_core/
H A Ddev.c58 bool pdsc_is_fw_running(struct pdsc *pdsc) in pdsc_is_fw_running()
74 bool pdsc_is_fw_good(struct pdsc *pdsc) in pdsc_is_fw_good()
87 static u8 pdsc_devcmd_status(struct pdsc *pdsc) in pdsc_devcmd_status()
92 static bool pdsc_devcmd_done(struct pdsc *pdsc) in pdsc_devcmd_done()
97 static void pdsc_devcmd_dbell(struct pdsc *pdsc) in pdsc_devcmd_dbell()
103 static void pdsc_devcmd_clean(struct pdsc *pdsc) in pdsc_devcmd_clean()
129 static int __pdsc_devcmd_wait(struct pdsc *pdsc, u8 opcode, int max_seconds, in __pdsc_devcmd_wait()
191 static int __pdsc_devcmd_locked(struct pdsc *pdsc, union pds_core_dev_cmd *cmd, in __pdsc_devcmd_locked()
215 void pdsc_deferred_dma_add(struct pdsc *pdsc, struct pdsc_deferred_dma *entry, in pdsc_deferred_dma_add()
229 void pdsc_deferred_dma_free(struct pdsc *pdsc) in pdsc_deferred_dma_free()
[all …]
H A Dcore.h131 struct pdsc *pdsc; member
177 struct pdsc { struct
181 struct pdsc_dev_bar bars[PDS_CORE_BARS_MAX]; argument
183 struct pdsc_vf *vfs; argument
201 struct pdsc_devinfo dev_info; argument
204 struct pdsc_intr_info *intr_info; /* array of nintrs elements */ argument
223 struct pdsc_qcq adminqcq; argument
224 struct pdsc_qcq notifyqcq; argument
226 struct pdsc_viftype *viftype_status; argument
229 struct pdsc_host_mem *host_mem_reqs; argument
[all …]
H A Dcore.c28 void pdsc_intr_free(struct pdsc *pdsc, int index) in pdsc_intr_free()
51 int pdsc_intr_alloc(struct pdsc *pdsc, char *name, in pdsc_intr_alloc()
106 static void pdsc_qcq_intr_free(struct pdsc *pdsc, struct pdsc_qcq *qcq) in pdsc_qcq_intr_free()
115 static int pdsc_qcq_intr_alloc(struct pdsc *pdsc, struct pdsc_qcq *qcq) in pdsc_qcq_intr_alloc()
136 void pdsc_qcq_free(struct pdsc *pdsc, struct pdsc_qcq *qcq) in pdsc_qcq_free()
193 int pdsc_qcq_alloc(struct pdsc *pdsc, unsigned int type, unsigned int index, in pdsc_qcq_alloc()
310 static void pdsc_core_uninit(struct pdsc *pdsc) in pdsc_core_uninit()
324 static int pdsc_core_init(struct pdsc *pdsc) in pdsc_core_init()
422 static int pdsc_viftypes_init(struct pdsc *pdsc) in pdsc_viftypes_init()
453 int pdsc_setup(struct pdsc *pdsc, bool init) in pdsc_setup()
[all …]
H A Dmain.c28 struct pdsc *pdsc = timer_container_of(pdsc, t, wdtimer); in pdsc_wdtimer_cb() local
37 static void pdsc_unmap_bars(struct pdsc *pdsc) in pdsc_unmap_bars()
54 static int pdsc_map_bars(struct pdsc *pdsc) in pdsc_map_bars()
137 void __iomem *pdsc_map_dbpage(struct pdsc *pdsc, int page_num) in pdsc_map_dbpage()
146 struct pdsc *pdsc = pci_get_drvdata(pdev); in pdsc_sriov_configure() local
220 static int pdsc_init_pf(struct pdsc *pdsc) in pdsc_init_pf()
345 struct pdsc *pdsc; in pdsc_probe() local
412 struct pdsc *pdsc = pci_get_drvdata(pdev); in pdsc_remove() local
473 static void pdsc_stop_health_thread(struct pdsc *pdsc) in pdsc_stop_health_thread()
485 static void pdsc_restart_health_thread(struct pdsc *pdsc) in pdsc_restart_health_thread()
[all …]
H A Ddebugfs.c20 void pdsc_debugfs_add_dev(struct pdsc *pdsc) in pdsc_debugfs_add_dev()
27 void pdsc_debugfs_del_dev(struct pdsc *pdsc) in pdsc_debugfs_del_dev()
36 struct pdsc *pdsc = seq->private; in identity_show() local
65 void pdsc_debugfs_add_ident(struct pdsc *pdsc) in pdsc_debugfs_add_ident()
82 struct pdsc *pdsc = seq->private; in viftype_show() local
98 void pdsc_debugfs_add_viftype(struct pdsc *pdsc) in pdsc_debugfs_add_viftype()
112 void pdsc_debugfs_add_qcq(struct pdsc *pdsc, struct pdsc_qcq *qcq) in pdsc_debugfs_add_qcq()
184 struct pdsc *pdsc = seq->private; in host_mem_show() local
212 void pdsc_debugfs_add_host_mem(struct pdsc *pdsc) in pdsc_debugfs_add_host_mem()
222 void pdsc_debugfs_del_host_mem(struct pdsc *pdsc) in pdsc_debugfs_del_host_mem()
H A Dfw.c45 void pdsc_fw_components_invalidate(struct pdsc *pdsc) in pdsc_fw_components_invalidate()
72 static int pdsc_devcmd_fw_download_locked(struct pdsc *pdsc, u64 addr, in pdsc_devcmd_fw_download_locked()
86 static int pdsc_devcmd_fw_install(struct pdsc *pdsc) in pdsc_devcmd_fw_install()
102 static int pdsc_devcmd_fw_activate(struct pdsc *pdsc, in pdsc_devcmd_fw_activate()
115 static int pdsc_fw_status_long_wait(struct pdsc *pdsc, in pdsc_fw_status_long_wait()
154 pdsc_legacy_firmware_update(struct pdsc *pdsc, in pdsc_legacy_firmware_update()
273 struct pdsc *pdsc; member
289 static int pdsc_devcmd_match_record_desc(struct pdsc *pdsc, u16 desc_type, in pdsc_devcmd_match_record_desc()
314 struct pdsc *pdsc = priv->pdsc; in pdsc_match_record_descs() local
353 static int pdsc_devcmd_send_package_data(struct pdsc *pdsc, u64 addr, in pdsc_devcmd_send_package_data()
[all …]
H A Ddevlink.c8 pdsc_viftype *pdsc_dl_find_viftype_by_id(struct pdsc *pdsc, in pdsc_dl_find_viftype_by_id()
28 struct pdsc *pdsc = devlink_priv(dl); in pdsc_dl_enable_get() local
44 struct pdsc *pdsc = devlink_priv(dl); in pdsc_dl_enable_set() local
74 struct pdsc *pdsc = devlink_priv(dl); in pdsc_dl_enable_validate() local
91 struct pdsc *pdsc = devlink_priv(dl); in pdsc_dl_flash_update() local
166 struct pdsc *pdsc = devlink_priv(dl); in pdsc_dl_component_info_get() local
216 struct pdsc *pdsc = devlink_priv(dl); in pdsc_dl_fw_list_info_get() local
250 struct pdsc *pdsc = devlink_priv(dl); in pdsc_dl_info_get_v1() local
264 struct pdsc *pdsc = devlink_priv(dl); in pdsc_dl_info_get() local
299 struct pdsc *pdsc = devlink_health_reporter_priv(reporter); in pdsc_fw_reporter_diagnose() local
H A Dadminq.c11 struct pdsc *pdsc = qcq->pdsc; in pdsc_process_notifyq() local
67 static bool pdsc_adminq_inc_if_up(struct pdsc *pdsc) in pdsc_adminq_inc_if_up()
80 struct pdsc *pdsc = qcq->pdsc; in pdsc_process_adminq() local
150 struct pdsc *pdsc = data; in pdsc_adminq_isr() local
167 static int __pdsc_adminq_post(struct pdsc *pdsc, in __pdsc_adminq_post()
233 int pdsc_adminq_post(struct pdsc *pdsc, in pdsc_adminq_post()
/linux/drivers/vfio/pci/pds/
H A Dcmds.c25 struct pdsc *pdsc; in pds_vfio_client_adminq_cmd() local
50 struct pdsc *pdsc; in pds_vfio_register_client_cmd() local
73 struct pdsc *pdsc; in pds_vfio_unregister_client_cmd() local