Lines Matching refs:cdx_mcdi
19 static unsigned int cdx_mcdi_rpc_timeout(struct cdx_mcdi *cdx, unsigned int cmd) in cdx_mcdi_rpc_timeout()
24 static void cdx_mcdi_request(struct cdx_mcdi *cdx, in cdx_mcdi_request()
96 struct cdx_mcdi *cdx_mcdi = cdx->priv; in cdx_scan_devices() local
101 ret = cdx_mcdi_get_num_buses(cdx_mcdi); in cdx_scan_devices()
119 ret = cdx_mcdi_get_num_devs(cdx_mcdi, bus_num); in cdx_scan_devices()
131 ret = cdx_mcdi_get_dev_config(cdx_mcdi, bus_num, in cdx_scan_devices()
168 struct cdx_mcdi *cdx_mcdi; in xlnx_cdx_probe() local
171 cdx_mcdi = kzalloc(sizeof(*cdx_mcdi), GFP_KERNEL); in xlnx_cdx_probe()
172 if (!cdx_mcdi) in xlnx_cdx_probe()
176 cdx_mcdi->mcdi_ops = &mcdi_ops; in xlnx_cdx_probe()
178 ret = cdx_mcdi_init(cdx_mcdi); in xlnx_cdx_probe()
192 cdx->priv = cdx_mcdi; in xlnx_cdx_probe()
215 cdx_mcdi_finish(cdx_mcdi); in xlnx_cdx_probe()
217 kfree(cdx_mcdi); in xlnx_cdx_probe()
225 struct cdx_mcdi *cdx_mcdi = cdx->priv; in xlnx_cdx_remove() local
232 cdx_mcdi_finish(cdx_mcdi); in xlnx_cdx_remove()
233 kfree(cdx_mcdi); in xlnx_cdx_remove()