Lines Matching refs:where

68  * where X is the lpfc hba function unique_id
69 * where Y is the vport VPI on that hba
3299 int where, count;
3323 where = idiag.cmd.data[IDIAG_PCICFG_WHERE_INDX];
3331 pci_read_config_byte(pdev, where, &u8val);
3333 "%03x: %02x\n", where, u8val);
3336 pci_read_config_word(pdev, where, &u16val);
3338 "%03x: %04x\n", where, u16val);
3341 pci_read_config_dword(pdev, where, &u32val);
3343 "%03x: %08x\n", where, u32val);
3419 uint32_t where, value, count;
3442 where = idiag.cmd.data[IDIAG_PCICFG_WHERE_INDX];
3445 if (where % sizeof(uint32_t))
3448 idiag.offset.last_rd = where;
3454 if (where > LPFC_PCI_CFG_SIZE - sizeof(uint8_t))
3456 if (where % sizeof(uint8_t))
3460 if (where > LPFC_PCI_CFG_SIZE - sizeof(uint16_t))
3462 if (where % sizeof(uint16_t))
3466 if (where > LPFC_PCI_CFG_SIZE - sizeof(uint32_t))
3468 if (where % sizeof(uint32_t))
3478 where = idiag.cmd.data[IDIAG_PCICFG_WHERE_INDX];
3487 if (where > LPFC_PCI_CFG_SIZE - sizeof(uint8_t))
3489 if (where % sizeof(uint8_t))
3492 pci_write_config_byte(pdev, where,
3495 rc = pci_read_config_byte(pdev, where, &u8val);
3498 pci_write_config_byte(pdev, where,
3503 rc = pci_read_config_byte(pdev, where, &u8val);
3506 pci_write_config_byte(pdev, where,
3512 if (where > LPFC_PCI_CFG_SIZE - sizeof(uint16_t))
3514 if (where % sizeof(uint16_t))
3517 pci_write_config_word(pdev, where,
3520 rc = pci_read_config_word(pdev, where, &u16val);
3523 pci_write_config_word(pdev, where,
3528 rc = pci_read_config_word(pdev, where, &u16val);
3531 pci_write_config_word(pdev, where,
3537 if (where > LPFC_PCI_CFG_SIZE - sizeof(uint32_t))
3539 if (where % sizeof(uint32_t))
3542 pci_write_config_dword(pdev, where, value);
3544 rc = pci_read_config_dword(pdev, where,
3548 pci_write_config_dword(pdev, where,
3553 rc = pci_read_config_dword(pdev, where,
3557 pci_write_config_dword(pdev, where,