Lines Matching refs:dev_num
49 u8 bus_num, u8 dev_num, in cdx_mcdi_get_dev_config() argument
60 MCDI_SET_DWORD(inbuf, CDX_BUS_GET_DEVICE_CONFIG_IN_DEVICE, dev_num); in cdx_mcdi_get_dev_config()
71 dev_params->dev_num = dev_num; in cdx_mcdi_get_dev_config()
162 int cdx_mcdi_write_msi(struct cdx_mcdi *cdx, u8 bus_num, u8 dev_num, in cdx_mcdi_write_msi() argument
169 MCDI_SET_DWORD(inbuf, CDX_DEVICE_WRITE_MSI_MSG_IN_DEVICE, dev_num); in cdx_mcdi_write_msi()
180 int cdx_mcdi_reset_device(struct cdx_mcdi *cdx, u8 bus_num, u8 dev_num) in cdx_mcdi_reset_device() argument
186 MCDI_SET_DWORD(inbuf, CDX_DEVICE_RESET_IN_DEVICE, dev_num); in cdx_mcdi_reset_device()
195 u8 dev_num, u32 *flags) in cdx_mcdi_ctrl_flag_get() argument
203 MCDI_SET_DWORD(inbuf, CDX_DEVICE_CONTROL_GET_IN_DEVICE, dev_num); in cdx_mcdi_ctrl_flag_get()
218 u8 dev_num, bool enable, int bit_pos) in cdx_mcdi_ctrl_flag_set() argument
228 ret = cdx_mcdi_ctrl_flag_get(cdx, bus_num, dev_num, &flags); in cdx_mcdi_ctrl_flag_set()
237 MCDI_SET_DWORD(inbuf, CDX_DEVICE_CONTROL_SET_IN_DEVICE, dev_num); in cdx_mcdi_ctrl_flag_set()
246 u8 dev_num, bool enable) in cdx_mcdi_bus_master_enable() argument
248 return cdx_mcdi_ctrl_flag_set(cdx, bus_num, dev_num, enable, in cdx_mcdi_bus_master_enable()
253 u8 dev_num, bool enable) in cdx_mcdi_msi_enable() argument
255 return cdx_mcdi_ctrl_flag_set(cdx, bus_num, dev_num, enable, in cdx_mcdi_msi_enable()