Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/io/pciex/hotplug/
H A Dpcie_hp.c67 static boolean_t pcie_hp_match_dev(dev_info_t *dip, int dev_num);
68 static int pcie_hp_get_df_from_port_name(char *cn_name, int *dev_num,
72 static int pcie_hp_check_hardware_existence(dev_info_t *dip, int dev_num,
667 pcie_find_physical_slot(dev_info_t *dip, int dev_num) in pcie_find_physical_slot() argument
674 return (dev_num == 0) ? (ctrl->hc_slots[0]) : (NULL); in pcie_find_physical_slot()
677 if (ctrl->hc_slots[slot]->hs_device_num == dev_num) { in pcie_find_physical_slot()
693 int ret, dev_num, func_num, name_len; in pcie_hp_create_port_name_num() local
710 dev_num = 0; in pcie_hp_create_port_name_num()
713 dev_num = (bdf & (PCI_REG_DEV_M >> 8)) >> 3; in pcie_hp_create_port_name_num()
722 dev_num, func_num); in pcie_hp_create_port_name_num()
[all …]
/titanic_50/usr/src/uts/common/io/i40e/core/
H A Di40e_prototype.h541 u8 i40e_get_phy_address(struct i40e_hw *hw, u8 dev_num);
H A Di40e_common.c6264 u8 i40e_get_phy_address(struct i40e_hw *hw, u8 dev_num) in i40e_get_phy_address() argument
6269 return (u8)(reg_val >> ((dev_num + 1) * 5)) & 0x1f; in i40e_get_phy_address()
/titanic_50/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()