Home
last modified time | relevance | path

Searched refs:dev_num (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/io/pciex/hotplug/
H A Dpcie_hp.c69 static boolean_t pcie_hp_match_dev(dev_info_t *dip, int dev_num);
70 static int pcie_hp_get_df_from_port_name(char *cn_name, int *dev_num,
74 static int pcie_hp_check_hardware_existence(dev_info_t *dip, int dev_num,
669 pcie_find_physical_slot(dev_info_t *dip, int dev_num) in pcie_find_physical_slot() argument
676 return (dev_num == 0) ? (ctrl->hc_slots[0]) : (NULL); in pcie_find_physical_slot()
679 if (ctrl->hc_slots[slot]->hs_device_num == dev_num) { in pcie_find_physical_slot()
695 int ret, dev_num, func_num, name_len; in pcie_hp_create_port_name_num() local
712 dev_num = 0; in pcie_hp_create_port_name_num()
715 dev_num = (bdf & (PCI_REG_DEV_M >> 8)) >> 3; in pcie_hp_create_port_name_num()
724 dev_num, func_num); in pcie_hp_create_port_name_num()
[all …]
/illumos-gate/usr/src/uts/common/io/i40e/core/
H A Di40e_prototype.h629 u8 i40e_get_phy_address(struct i40e_hw *hw, u8 dev_num);
H A Di40e_common.c6724 u8 i40e_get_phy_address(struct i40e_hw *hw, u8 dev_num) in i40e_get_phy_address() argument
6729 return (u8)(reg_val >> ((dev_num + 1) * 5)) & 0x1f; in i40e_get_phy_address()
/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/
H A Dxgehal-device.c2397 u8 dev_num, bus_num; in __hal_device_pci_info_get() local
2404 dev_num = (u8)((pcix_status & 0xF8) >> 3); in __hal_device_pci_info_get()
2406 if (dev_num == 0 && bus_num == 0) in __hal_device_pci_info_get()