Home
last modified time | relevance | path

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

/drivers/net/ethernet/amd/pds_core/
Dcore.h116 struct pdsc *pdsc; member
154 struct pdsc { struct
158 struct pdsc_dev_bar bars[PDS_CORE_BARS_MAX]; argument
159 struct pdsc_vf *vfs; argument
176 struct pdsc_devinfo dev_info; argument
179 struct pdsc_intr_info *intr_info; /* array of nintrs elements */ argument
196 struct pdsc_qcq adminqcq; argument
197 struct pdsc_qcq notifyqcq; argument
199 struct pdsc_viftype *viftype_status; argument
Ddev.c56 bool pdsc_is_fw_running(struct pdsc *pdsc) in pdsc_is_fw_running()
72 bool pdsc_is_fw_good(struct pdsc *pdsc) in pdsc_is_fw_good()
85 static u8 pdsc_devcmd_status(struct pdsc *pdsc) in pdsc_devcmd_status()
90 static bool pdsc_devcmd_done(struct pdsc *pdsc) in pdsc_devcmd_done()
95 static void pdsc_devcmd_dbell(struct pdsc *pdsc) in pdsc_devcmd_dbell()
101 static void pdsc_devcmd_clean(struct pdsc *pdsc) in pdsc_devcmd_clean()
127 static int pdsc_devcmd_wait(struct pdsc *pdsc, u8 opcode, int max_seconds) in pdsc_devcmd_wait()
176 int pdsc_devcmd_locked(struct pdsc *pdsc, union pds_core_dev_cmd *cmd, in pdsc_devcmd_locked()
196 int pdsc_devcmd(struct pdsc *pdsc, union pds_core_dev_cmd *cmd, in pdsc_devcmd()
208 int pdsc_devcmd_init(struct pdsc *pdsc) in pdsc_devcmd_init()
[all …]
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()
116 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()
188 int pdsc_qcq_alloc(struct pdsc *pdsc, unsigned int type, unsigned int index, in pdsc_qcq_alloc()
306 static int pdsc_core_init(struct pdsc *pdsc) in pdsc_core_init()
375 static int pdsc_viftypes_init(struct pdsc *pdsc) in pdsc_viftypes_init()
405 int pdsc_setup(struct pdsc *pdsc, bool init) in pdsc_setup()
461 void pdsc_teardown(struct pdsc *pdsc, bool removing) in pdsc_teardown()
[all …]
Dmain.c26 struct pdsc *pdsc = from_timer(pdsc, t, wdtimer); in pdsc_wdtimer_cb() local
35 static void pdsc_unmap_bars(struct pdsc *pdsc) in pdsc_unmap_bars()
51 static int pdsc_map_bars(struct pdsc *pdsc) in pdsc_map_bars()
134 void __iomem *pdsc_map_dbpage(struct pdsc *pdsc, int page_num) in pdsc_map_dbpage()
143 struct pdsc *pdsc = pci_get_drvdata(pdev); in pdsc_sriov_configure() local
217 static int pdsc_init_pf(struct pdsc *pdsc) in pdsc_init_pf()
329 struct pdsc *pdsc; in pdsc_probe() local
394 struct pdsc *pdsc = pci_get_drvdata(pdev); in pdsc_remove() local
452 static void pdsc_stop_health_thread(struct pdsc *pdsc) in pdsc_stop_health_thread()
459 static void pdsc_restart_health_thread(struct pdsc *pdsc) in pdsc_restart_health_thread()
[all …]
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()
35 struct pdsc *pdsc = seq->private; in identity_show() local
65 void pdsc_debugfs_add_ident(struct pdsc *pdsc) in pdsc_debugfs_add_ident()
77 struct pdsc *pdsc = seq->private; in viftype_show() local
93 void pdsc_debugfs_add_viftype(struct pdsc *pdsc) in pdsc_debugfs_add_viftype()
107 void pdsc_debugfs_add_qcq(struct pdsc *pdsc, struct pdsc_qcq *qcq) in pdsc_debugfs_add_qcq()
Ddevlink.c8 pdsc_viftype *pdsc_dl_find_viftype_by_id(struct pdsc *pdsc, in pdsc_dl_find_viftype_by_id()
27 struct pdsc *pdsc = devlink_priv(dl); in pdsc_dl_enable_get() local
42 struct pdsc *pdsc = devlink_priv(dl); in pdsc_dl_enable_set() local
69 struct pdsc *pdsc = devlink_priv(dl); in pdsc_dl_enable_validate() local
86 struct pdsc *pdsc = devlink_priv(dl); in pdsc_dl_flash_update() local
105 struct pdsc *pdsc = devlink_priv(dl); in pdsc_dl_info_get() local
157 struct pdsc *pdsc = devlink_health_reporter_priv(reporter); in pdsc_fw_reporter_diagnose() local
Dadminq.c16 struct pdsc *pdsc = qcq->pdsc; in pdsc_process_notifyq() local
66 static bool pdsc_adminq_inc_if_up(struct pdsc *pdsc) in pdsc_adminq_inc_if_up()
79 struct pdsc *pdsc = qcq->pdsc; in pdsc_process_adminq() local
148 struct pdsc *pdsc = data; in pdsc_adminq_isr() local
166 static int __pdsc_adminq_post(struct pdsc *pdsc, in __pdsc_adminq_post()
233 int pdsc_adminq_post(struct pdsc *pdsc, in pdsc_adminq_post()
Dfw.c17 static int pdsc_devcmd_fw_download_locked(struct pdsc *pdsc, u64 addr, in pdsc_devcmd_fw_download_locked()
31 static int pdsc_devcmd_fw_install(struct pdsc *pdsc) in pdsc_devcmd_fw_install()
47 static int pdsc_devcmd_fw_activate(struct pdsc *pdsc, in pdsc_devcmd_fw_activate()
60 static int pdsc_fw_status_long_wait(struct pdsc *pdsc, in pdsc_fw_status_long_wait()
98 int pdsc_firmware_update(struct pdsc *pdsc, const struct firmware *fw, in pdsc_firmware_update()
/drivers/vfio/pci/pds/
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