Lines Matching refs:tmp_val
126 u32 tmp_val = 0; in vfio_user_config_read() local
133 tmp_val = tmp; in vfio_user_config_read()
140 tmp_val = tmp; in vfio_user_config_read()
144 ret = pci_user_read_config_dword(pdev, offset, &tmp_val); in vfio_user_config_read()
148 *val = cpu_to_le32(tmp_val); in vfio_user_config_read()
157 u32 tmp_val = le32_to_cpu(val); in vfio_user_config_write() local
161 ret = pci_user_write_config_byte(pdev, offset, tmp_val); in vfio_user_config_write()
164 ret = pci_user_write_config_word(pdev, offset, tmp_val); in vfio_user_config_write()
167 ret = pci_user_write_config_dword(pdev, offset, tmp_val); in vfio_user_config_write()
510 u32 tmp_val = le32_to_cpu(*val); in vfio_basic_config_read() local
512 tmp_val |= cmd & PCI_COMMAND_MEMORY; in vfio_basic_config_read()
513 *val = cpu_to_le32(tmp_val); in vfio_basic_config_read()