TWS_PCI_BAR1
bar = pci_read_config(dev, TWS_PCI_BAR1, 4);
sc->reg_res_id = TWS_PCI_BAR1; /* BAR1 offset */