Home
last modified time | relevance | path

Searched refs:func_num (Results 1 – 11 of 11) sorted by relevance

/titanic_41/usr/src/uts/common/io/pciex/hotplug/
H A Dpcie_hp.c69 int *func_num);
73 int func_num);
693 int ret, dev_num, func_num, name_len; in pcie_hp_create_port_name_num() local
711 func_num = (bdf & ((~PCI_REG_BUS_M) >> 8)); in pcie_hp_create_port_name_num()
714 func_num = bdf & (PCI_REG_FUNC_M >> 8); in pcie_hp_create_port_name_num()
722 dev_num, func_num); in pcie_hp_create_port_name_num()
733 dev_num, func_num); in pcie_hp_create_port_name_num()
734 cn_info->cn_num = (dev_num << 8) | func_num; in pcie_hp_create_port_name_num()
748 pcie_hp_get_df_from_port_name(char *cn_name, int *dev_num, int *func_num) in pcie_hp_get_df_from_port_name() argument
773 *func_num = (int)f; in pcie_hp_get_df_from_port_name()
[all …]
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_er.c508 u32_t func_num = 0; in lm_er_get_number_of_functions() local
513 func_num++; in lm_er_get_number_of_functions()
516 return func_num; in lm_er_get_number_of_functions()
/titanic_41/usr/src/uts/common/io/nxge/npi/
H A Dnpi_txdma.c305 DMA_LOG_PAGE_FN_VALIDATE(channel, cfgp->page_num, cfgp->func_num, in npi_txdma_log_page_set()
328 vld.bits.ldw.func = cfgp->func_num; in npi_txdma_log_page_set()
358 cfg.func_num = 0; in npi_txdma_log_page_set()
406 vld.bits.ldw.func = cfgp->func_num; in npi_txdma_log_page_get()
412 cfgp->func_num, val)); in npi_txdma_log_page_get()
415 cfgp->func_num = vld.bits.ldw.func; in npi_txdma_log_page_get()
581 cfgp->mask = cfgp->func_num = 0; in npi_txdma_log_page_config()
H A Dnpi.h224 uint8_t func_num; member
H A Dnpi_rxdma.c309 page_vld.bits.ldw.func = pg_cfg->func_num; in npi_rxdma_cfg_logical_page()
/titanic_41/usr/src/uts/common/io/nxge/
H A Dnxge_fzc.c314 page1.func_num = nxgep->function_num; in nxge_init_fzc_rdc()
321 page2.func_num = nxgep->function_num; in nxge_init_fzc_rdc()
547 cfg.func_num = nxgep->function_num; in nxge_init_fzc_rxdma_channel_pages()
659 page1.func_num = nxgep->function_num; in nxge_init_fzc_tdc()
666 page1.func_num = nxgep->function_num; in nxge_init_fzc_tdc()
1157 cfg.func_num = nxgep->function_num; in nxge_init_fzc_txdma_channel_pages()
H A Dnxge_virtual.c3733 uint8_t func_num; in nxge_get_mac_addr_properties() local
3820 func_num = nxgep->function_num; in nxge_get_mac_addr_properties()
3891 NXGE_GET_PORT_NUM(func_num), i); in nxge_get_mac_addr_properties()
4025 uint8_t func_num; in nxge_init_mmac() local
4033 func_num = nxgep->function_num; in nxge_init_mmac()
4046 (nxgep->nports - func_num) + in nxge_init_mmac()
4047 (func_num * (mmac_info->num_factory_mmac)); in nxge_init_mmac()
4096 NXGE_GET_PORT_NUM(func_num), slot - 1, &mac_addr); in nxge_init_mmac()
H A Dnxge_main.c1240 uint8_t func_num; in nxge_map_regs() local
1251 func_num = (prop_val[0] >> 8) & 0x7; in nxge_map_regs()
1254 func_num)); in nxge_map_regs()
1255 nxgep->function_num = func_num; in nxge_map_regs()
H A Dnxge_txdma.c2109 cfg.func_num, cfg.valid); in nxge_txdma_regs_dump()
2113 cfg.func_num, cfg.valid); in nxge_txdma_regs_dump()
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/
H A Decore_sp_verbs.h1548 u8 func_num);
1551 u8 func_num);
H A Decore_sp_verbs.c4486 u8 func_num) in ecore_init_mac_credit_pool() argument
4506 if ((func_num > 0)) { in ecore_init_mac_credit_pool()
4508 cam_sz = (MAX_MAC_CREDIT_E1H / (2*func_num)); in ecore_init_mac_credit_pool()
4523 if ((func_num > 1)) { in ecore_init_mac_credit_pool()
4527 / func_num in ecore_init_mac_credit_pool()
4536 } else if (func_num == 1) { in ecore_init_mac_credit_pool()
4556 u8 func_num) in ecore_init_vlan_credit_pool() argument
4567 if (func_num > 0) { in ecore_init_vlan_credit_pool()
4568 int credit = MAX_VLAN_CREDIT_E2 / func_num; in ecore_init_vlan_credit_pool()