Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/amd/pds_core/
H A 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()
208 int pdsc_devcmd_init(struct pdsc *pdsc) in pdsc_devcmd_init()
218 int pdsc_devcmd_reset(struct pdsc *pdsc) in pdsc_devcmd_reset()
239 static void pdsc_init_devinfo(struct pdsc *pdsc) in pdsc_init_devinfo()
259 static int pdsc_identify(struct pdsc *pdsc) in pdsc_identify()
[all …]
H A 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
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()
136 void pdsc_qcq_free(struct pdsc *pdsc, struct pdsc_qcq *qcq) in pdsc_qcq_free()
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()
493 int pdsc_start(struct pdsc *pdsc) in pdsc_start()
501 void pdsc_stop(struct pdsc *pdsc) in pdsc_stop()
533 void pdsc_fw_down(struct pdsc *pdsc) in pdsc_fw_down()
[all …]
H A 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()
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()
467 struct pdsc *pdsc = pci_get_drvdata(pdev); in pdsc_reset_prepare() local
[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()
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()
H A 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
H A 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()
H A 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()
/openbmc/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
/openbmc/linux/arch/powerpc/platforms/pseries/
H A Dpapr_scm.c987 const struct pdsm_cmd_desc *pdsc; in papr_scm_service_pdsm() local