Lines Matching refs:tmp_val
132 u32 tmp_val = 0; in vfio_user_config_read() local
139 tmp_val = tmp; in vfio_user_config_read()
146 tmp_val = tmp; in vfio_user_config_read()
150 ret = pci_user_read_config_dword(pdev, offset, &tmp_val); in vfio_user_config_read()
154 *val = cpu_to_le32(tmp_val); in vfio_user_config_read()
163 u32 tmp_val = le32_to_cpu(val); in vfio_user_config_write() local
167 ret = pci_user_write_config_byte(pdev, offset, tmp_val); in vfio_user_config_write()
170 ret = pci_user_write_config_word(pdev, offset, tmp_val); in vfio_user_config_write()
173 ret = pci_user_write_config_dword(pdev, offset, tmp_val); in vfio_user_config_write()
483 u32 tmp_val = le32_to_cpu(*val); in vfio_basic_config_read() local
485 tmp_val |= cmd & PCI_COMMAND_MEMORY; in vfio_basic_config_read()
486 *val = cpu_to_le32(tmp_val); in vfio_basic_config_read()