Lines Matching refs:cdx_mcdi
18 static unsigned int cdx_mcdi_rpc_timeout(struct cdx_mcdi *cdx, unsigned int cmd) in cdx_mcdi_rpc_timeout()
23 static void cdx_mcdi_request(struct cdx_mcdi *cdx, in cdx_mcdi_request()
68 struct cdx_mcdi *cdx_mcdi = cdx->priv; in cdx_scan_devices() local
73 ret = cdx_mcdi_get_num_buses(cdx_mcdi); in cdx_scan_devices()
85 ret = cdx_mcdi_get_num_devs(cdx_mcdi, bus_num); in cdx_scan_devices()
97 ret = cdx_mcdi_get_dev_config(cdx_mcdi, bus_num, in cdx_scan_devices()
131 struct cdx_mcdi *cdx_mcdi; in xlnx_cdx_probe() local
134 cdx_mcdi = kzalloc(sizeof(*cdx_mcdi), GFP_KERNEL); in xlnx_cdx_probe()
135 if (!cdx_mcdi) in xlnx_cdx_probe()
139 cdx_mcdi->mcdi_ops = &mcdi_ops; in xlnx_cdx_probe()
141 ret = cdx_mcdi_init(cdx_mcdi); in xlnx_cdx_probe()
155 cdx->priv = cdx_mcdi; in xlnx_cdx_probe()
171 cdx_mcdi_finish(cdx_mcdi); in xlnx_cdx_probe()
173 kfree(cdx_mcdi); in xlnx_cdx_probe()
181 struct cdx_mcdi *cdx_mcdi = cdx->priv; in xlnx_cdx_remove() local
187 cdx_mcdi_finish(cdx_mcdi); in xlnx_cdx_remove()
188 kfree(cdx_mcdi); in xlnx_cdx_remove()