Lines Matching refs:datal

252     uint32_t datal;  in ahci_test_pci_spec()  local
280 datal = qpci_config_readl(ahci->dev, PCI_CLASS_REVISION); in ahci_test_pci_spec()
284 ASSERT_BIT_CLEAR(datal, 0xFF); in ahci_test_pci_spec()
288 g_assert_cmphex(PCI_BCC(datal), ==, 0x01); in ahci_test_pci_spec()
289 if (PCI_SCC(datal) == 0x01) { in ahci_test_pci_spec()
291 ASSERT_BIT_SET(0x80000000, datal); in ahci_test_pci_spec()
292 ASSERT_BIT_CLEAR(0x60000000, datal); in ahci_test_pci_spec()
293 } else if (PCI_SCC(datal) == 0x04) { in ahci_test_pci_spec()
295 g_assert_cmphex(PCI_PI(datal), ==, 0); in ahci_test_pci_spec()
296 } else if (PCI_SCC(datal) == 0x06) { in ahci_test_pci_spec()
298 g_assert_cmphex(PCI_PI(datal), ==, 0x01); in ahci_test_pci_spec()
318 datal = qpci_config_readl(ahci->dev, PCI_BASE_ADDRESS_5); in ahci_test_pci_spec()
319 g_assert_cmphex(datal, ==, 0); in ahci_test_pci_spec()
322 datal = qpci_config_readl(ahci->dev, PCI_BASE_ADDRESS_5); in ahci_test_pci_spec()
325 ASSERT_BIT_CLEAR(datal, 0xFF); in ahci_test_pci_spec()
328 datal = qpci_config_readl(ahci->dev, PCI_CAPABILITY_LIST); in ahci_test_pci_spec()
330 ASSERT_BIT_CLEAR(datal, ~0xFF); in ahci_test_pci_spec()
331 g_assert_cmphex(datal, !=, 0); in ahci_test_pci_spec()
334 data = qpci_config_readw(ahci->dev, datal); in ahci_test_pci_spec()
346 ahci_test_pci_caps(ahci, data, (uint8_t)datal); in ahci_test_pci_spec()
349 datal = qpci_config_readl(ahci->dev, PCI_CAPABILITY_LIST + 4); in ahci_test_pci_spec()
350 g_assert_cmphex(datal, ==, 0); in ahci_test_pci_spec()
394 uint32_t datal; in ahci_test_satacap() local
403 datal = qpci_config_readw(ahci->dev, offset + 4); in ahci_test_satacap()
405 switch (datal & 0x0F) { in ahci_test_satacap()
420 g_assert_cmphex((datal >> 24), ==, 0x00); in ahci_test_satacap()
429 uint32_t datal; in ahci_test_msicap() local
438 datal = qpci_config_readl(ahci->dev, offset + PCI_MSI_ADDRESS_LO); in ahci_test_msicap()
439 g_assert_cmphex(datal, ==, 0); in ahci_test_msicap()
443 datal = qpci_config_readl(ahci->dev, offset + PCI_MSI_ADDRESS_HI); in ahci_test_msicap()
444 g_assert_cmphex(datal, ==, 0); in ahci_test_msicap()