Lines Matching refs:where
1431 int where, count; in lpfc_idiag_pcicfg_read() local
1455 where = idiag.cmd.data[IDIAG_PCICFG_WHERE_INDX]; in lpfc_idiag_pcicfg_read()
1463 pci_read_config_byte(pdev, where, &u8val); in lpfc_idiag_pcicfg_read()
1465 "%03x: %02x\n", where, u8val); in lpfc_idiag_pcicfg_read()
1468 pci_read_config_word(pdev, where, &u16val); in lpfc_idiag_pcicfg_read()
1470 "%03x: %04x\n", where, u16val); in lpfc_idiag_pcicfg_read()
1473 pci_read_config_dword(pdev, where, &u32val); in lpfc_idiag_pcicfg_read()
1475 "%03x: %08x\n", where, u32val); in lpfc_idiag_pcicfg_read()
1552 uint32_t where, value, count; in lpfc_idiag_pcicfg_write() local
1575 where = idiag.cmd.data[IDIAG_PCICFG_WHERE_INDX]; in lpfc_idiag_pcicfg_write()
1578 if (where % sizeof(uint32_t)) in lpfc_idiag_pcicfg_write()
1581 idiag.offset.last_rd = where; in lpfc_idiag_pcicfg_write()
1587 if (where > LPFC_PCI_CFG_SIZE - sizeof(uint8_t)) in lpfc_idiag_pcicfg_write()
1589 if (where % sizeof(uint8_t)) in lpfc_idiag_pcicfg_write()
1593 if (where > LPFC_PCI_CFG_SIZE - sizeof(uint16_t)) in lpfc_idiag_pcicfg_write()
1595 if (where % sizeof(uint16_t)) in lpfc_idiag_pcicfg_write()
1599 if (where > LPFC_PCI_CFG_SIZE - sizeof(uint32_t)) in lpfc_idiag_pcicfg_write()
1601 if (where % sizeof(uint32_t)) in lpfc_idiag_pcicfg_write()
1611 where = idiag.cmd.data[IDIAG_PCICFG_WHERE_INDX]; in lpfc_idiag_pcicfg_write()
1620 if (where > LPFC_PCI_CFG_SIZE - sizeof(uint8_t)) in lpfc_idiag_pcicfg_write()
1622 if (where % sizeof(uint8_t)) in lpfc_idiag_pcicfg_write()
1625 pci_write_config_byte(pdev, where, in lpfc_idiag_pcicfg_write()
1628 rc = pci_read_config_byte(pdev, where, &u8val); in lpfc_idiag_pcicfg_write()
1631 pci_write_config_byte(pdev, where, in lpfc_idiag_pcicfg_write()
1636 rc = pci_read_config_byte(pdev, where, &u8val); in lpfc_idiag_pcicfg_write()
1639 pci_write_config_byte(pdev, where, in lpfc_idiag_pcicfg_write()
1645 if (where > LPFC_PCI_CFG_SIZE - sizeof(uint16_t)) in lpfc_idiag_pcicfg_write()
1647 if (where % sizeof(uint16_t)) in lpfc_idiag_pcicfg_write()
1650 pci_write_config_word(pdev, where, in lpfc_idiag_pcicfg_write()
1653 rc = pci_read_config_word(pdev, where, &u16val); in lpfc_idiag_pcicfg_write()
1656 pci_write_config_word(pdev, where, in lpfc_idiag_pcicfg_write()
1661 rc = pci_read_config_word(pdev, where, &u16val); in lpfc_idiag_pcicfg_write()
1664 pci_write_config_word(pdev, where, in lpfc_idiag_pcicfg_write()
1670 if (where > LPFC_PCI_CFG_SIZE - sizeof(uint32_t)) in lpfc_idiag_pcicfg_write()
1672 if (where % sizeof(uint32_t)) in lpfc_idiag_pcicfg_write()
1675 pci_write_config_dword(pdev, where, value); in lpfc_idiag_pcicfg_write()
1677 rc = pci_read_config_dword(pdev, where, in lpfc_idiag_pcicfg_write()
1681 pci_write_config_dword(pdev, where, in lpfc_idiag_pcicfg_write()
1686 rc = pci_read_config_dword(pdev, where, in lpfc_idiag_pcicfg_write()
1690 pci_write_config_dword(pdev, where, in lpfc_idiag_pcicfg_write()