Lines Matching refs:where
1417 int where, count; in lpfc_idiag_pcicfg_read() local
1441 where = idiag.cmd.data[IDIAG_PCICFG_WHERE_INDX]; in lpfc_idiag_pcicfg_read()
1449 pci_read_config_byte(pdev, where, &u8val); in lpfc_idiag_pcicfg_read()
1451 "%03x: %02x\n", where, u8val); in lpfc_idiag_pcicfg_read()
1454 pci_read_config_word(pdev, where, &u16val); in lpfc_idiag_pcicfg_read()
1456 "%03x: %04x\n", where, u16val); in lpfc_idiag_pcicfg_read()
1459 pci_read_config_dword(pdev, where, &u32val); in lpfc_idiag_pcicfg_read()
1461 "%03x: %08x\n", where, u32val); in lpfc_idiag_pcicfg_read()
1538 uint32_t where, value, count; in lpfc_idiag_pcicfg_write() local
1561 where = idiag.cmd.data[IDIAG_PCICFG_WHERE_INDX]; in lpfc_idiag_pcicfg_write()
1564 if (where % sizeof(uint32_t)) in lpfc_idiag_pcicfg_write()
1567 idiag.offset.last_rd = where; in lpfc_idiag_pcicfg_write()
1573 if (where > LPFC_PCI_CFG_SIZE - sizeof(uint8_t)) in lpfc_idiag_pcicfg_write()
1575 if (where % sizeof(uint8_t)) in lpfc_idiag_pcicfg_write()
1579 if (where > LPFC_PCI_CFG_SIZE - sizeof(uint16_t)) in lpfc_idiag_pcicfg_write()
1581 if (where % sizeof(uint16_t)) in lpfc_idiag_pcicfg_write()
1585 if (where > LPFC_PCI_CFG_SIZE - sizeof(uint32_t)) in lpfc_idiag_pcicfg_write()
1587 if (where % sizeof(uint32_t)) in lpfc_idiag_pcicfg_write()
1597 where = idiag.cmd.data[IDIAG_PCICFG_WHERE_INDX]; in lpfc_idiag_pcicfg_write()
1606 if (where > LPFC_PCI_CFG_SIZE - sizeof(uint8_t)) in lpfc_idiag_pcicfg_write()
1608 if (where % sizeof(uint8_t)) in lpfc_idiag_pcicfg_write()
1611 pci_write_config_byte(pdev, where, in lpfc_idiag_pcicfg_write()
1614 rc = pci_read_config_byte(pdev, where, &u8val); in lpfc_idiag_pcicfg_write()
1617 pci_write_config_byte(pdev, where, in lpfc_idiag_pcicfg_write()
1622 rc = pci_read_config_byte(pdev, where, &u8val); in lpfc_idiag_pcicfg_write()
1625 pci_write_config_byte(pdev, where, in lpfc_idiag_pcicfg_write()
1631 if (where > LPFC_PCI_CFG_SIZE - sizeof(uint16_t)) in lpfc_idiag_pcicfg_write()
1633 if (where % sizeof(uint16_t)) in lpfc_idiag_pcicfg_write()
1636 pci_write_config_word(pdev, where, in lpfc_idiag_pcicfg_write()
1639 rc = pci_read_config_word(pdev, where, &u16val); in lpfc_idiag_pcicfg_write()
1642 pci_write_config_word(pdev, where, in lpfc_idiag_pcicfg_write()
1647 rc = pci_read_config_word(pdev, where, &u16val); in lpfc_idiag_pcicfg_write()
1650 pci_write_config_word(pdev, where, in lpfc_idiag_pcicfg_write()
1656 if (where > LPFC_PCI_CFG_SIZE - sizeof(uint32_t)) in lpfc_idiag_pcicfg_write()
1658 if (where % sizeof(uint32_t)) in lpfc_idiag_pcicfg_write()
1661 pci_write_config_dword(pdev, where, value); in lpfc_idiag_pcicfg_write()
1663 rc = pci_read_config_dword(pdev, where, in lpfc_idiag_pcicfg_write()
1667 pci_write_config_dword(pdev, where, in lpfc_idiag_pcicfg_write()
1672 rc = pci_read_config_dword(pdev, where, in lpfc_idiag_pcicfg_write()
1676 pci_write_config_dword(pdev, where, in lpfc_idiag_pcicfg_write()