Searched refs:base_idx (Results 1 – 2 of 2) sorted by relevance
214 int base_idx; in get_pci_port() local218 base_idx = SPCI_FL_GET_BASE(board->flags); in get_pci_port()220 base_idx += idx; in get_pci_port()223 max_port = pci_resource_len(dev, base_idx) / 8; in get_pci_port()234 case 0: base_idx=0; in get_pci_port()236 case 1: base_idx=0; offset=8; in get_pci_port()238 case 2: base_idx=1; in get_pci_port()240 case 3: base_idx=1; offset=8; in get_pci_port()245 case 7: base_idx=idx-2; /* BAR 5*/ in get_pci_port()248 port = pci_resource_start(dev, base_idx) + offset; in get_pci_port()[all …]
3905 int base_idx; in get_pci_port() local3909 base_idx = SPCI_FL_GET_BASE(board->flags); in get_pci_port()3911 base_idx += idx; in get_pci_port()3914 max_port = pci_resource_len(dev, base_idx) / 8; in get_pci_port()3925 case 0: base_idx=0; in get_pci_port()3927 case 1: base_idx=0; offset=8; in get_pci_port()3929 case 2: base_idx=1; in get_pci_port()3931 case 3: base_idx=1; offset=8; in get_pci_port()3936 case 7: base_idx=idx-2; /* BAR 5*/ in get_pci_port()3944 case 0: base_idx = 1; in get_pci_port()[all …]