Lines Matching refs:outbuf

13 	MCDI_DECLARE_BUF(outbuf, MC_CMD_CDX_BUS_ENUM_BUSES_OUT_LEN);  in cdx_mcdi_get_num_buses()
18 outbuf, sizeof(outbuf), &outlen); in cdx_mcdi_get_num_buses()
25 return MCDI_DWORD(outbuf, CDX_BUS_ENUM_BUSES_OUT_BUS_COUNT); in cdx_mcdi_get_num_buses()
30 MCDI_DECLARE_BUF(outbuf, MC_CMD_CDX_BUS_ENUM_DEVICES_OUT_LEN); in cdx_mcdi_get_num_devs()
38 outbuf, sizeof(outbuf), &outlen); in cdx_mcdi_get_num_devs()
45 return MCDI_DWORD(outbuf, CDX_BUS_ENUM_DEVICES_OUT_DEVICE_COUNT); in cdx_mcdi_get_num_devs()
52 MCDI_DECLARE_BUF(outbuf, MC_CMD_CDX_BUS_GET_DEVICE_CONFIG_OUT_LEN); in cdx_mcdi_get_dev_config()
63 outbuf, sizeof(outbuf), &outlen); in cdx_mcdi_get_dev_config()
73 req_id = MCDI_DWORD(outbuf, CDX_BUS_GET_DEVICE_CONFIG_OUT_REQUESTER_ID); in cdx_mcdi_get_dev_config()
77 if (MCDI_QWORD(outbuf, CDX_BUS_GET_DEVICE_CONFIG_OUT_MMIO_REGION0_SIZE) != 0) { in cdx_mcdi_get_dev_config()
79 MCDI_QWORD(outbuf, CDX_BUS_GET_DEVICE_CONFIG_OUT_MMIO_REGION0_BASE); in cdx_mcdi_get_dev_config()
81 MCDI_QWORD(outbuf, CDX_BUS_GET_DEVICE_CONFIG_OUT_MMIO_REGION0_BASE) + in cdx_mcdi_get_dev_config()
82 MCDI_QWORD(outbuf, in cdx_mcdi_get_dev_config()
88 if (MCDI_QWORD(outbuf, CDX_BUS_GET_DEVICE_CONFIG_OUT_MMIO_REGION1_SIZE) != 0) { in cdx_mcdi_get_dev_config()
90 MCDI_QWORD(outbuf, CDX_BUS_GET_DEVICE_CONFIG_OUT_MMIO_REGION1_BASE); in cdx_mcdi_get_dev_config()
92 MCDI_QWORD(outbuf, CDX_BUS_GET_DEVICE_CONFIG_OUT_MMIO_REGION1_BASE) + in cdx_mcdi_get_dev_config()
93 MCDI_QWORD(outbuf, in cdx_mcdi_get_dev_config()
99 if (MCDI_QWORD(outbuf, CDX_BUS_GET_DEVICE_CONFIG_OUT_MMIO_REGION2_SIZE) != 0) { in cdx_mcdi_get_dev_config()
101 MCDI_QWORD(outbuf, CDX_BUS_GET_DEVICE_CONFIG_OUT_MMIO_REGION2_BASE); in cdx_mcdi_get_dev_config()
103 MCDI_QWORD(outbuf, CDX_BUS_GET_DEVICE_CONFIG_OUT_MMIO_REGION2_BASE) + in cdx_mcdi_get_dev_config()
104 MCDI_QWORD(outbuf, in cdx_mcdi_get_dev_config()
110 if (MCDI_QWORD(outbuf, CDX_BUS_GET_DEVICE_CONFIG_OUT_MMIO_REGION3_SIZE) != 0) { in cdx_mcdi_get_dev_config()
112 MCDI_QWORD(outbuf, CDX_BUS_GET_DEVICE_CONFIG_OUT_MMIO_REGION3_BASE); in cdx_mcdi_get_dev_config()
114 MCDI_QWORD(outbuf, CDX_BUS_GET_DEVICE_CONFIG_OUT_MMIO_REGION3_BASE) + in cdx_mcdi_get_dev_config()
115 MCDI_QWORD(outbuf, in cdx_mcdi_get_dev_config()
121 dev_params->vendor = MCDI_WORD(outbuf, CDX_BUS_GET_DEVICE_CONFIG_OUT_VENDOR_ID); in cdx_mcdi_get_dev_config()
122 dev_params->device = MCDI_WORD(outbuf, CDX_BUS_GET_DEVICE_CONFIG_OUT_DEVICE_ID); in cdx_mcdi_get_dev_config()