Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/pciex/hotplug/
H A Dpcie_hp.c71 int *func_num);
75 int func_num);
695 int ret, dev_num, func_num, name_len; in pcie_hp_create_port_name_num() local
713 func_num = (bdf & ((~PCI_REG_BUS_M) >> 8)); in pcie_hp_create_port_name_num()
716 func_num = bdf & (PCI_REG_FUNC_M >> 8); in pcie_hp_create_port_name_num()
724 dev_num, func_num); in pcie_hp_create_port_name_num()
735 dev_num, func_num); in pcie_hp_create_port_name_num()
736 cn_info->cn_num = (dev_num << 8) | func_num; in pcie_hp_create_port_name_num()
750 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
775 *func_num = (int)f; in pcie_hp_get_df_from_port_name()
[all …]
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/io/nxge/npi/
H A Dnpi_txdma.c299 DMA_LOG_PAGE_FN_VALIDATE(channel, cfgp->page_num, cfgp->func_num, in npi_txdma_log_page_set()
322 vld.bits.ldw.func = cfgp->func_num; in npi_txdma_log_page_set()
352 cfg.func_num = 0; in npi_txdma_log_page_set()
400 vld.bits.ldw.func = cfgp->func_num; in npi_txdma_log_page_get()
406 cfgp->func_num, val)); in npi_txdma_log_page_get()
409 cfgp->func_num = vld.bits.ldw.func; in npi_txdma_log_page_get()
575 cfgp->mask = cfgp->func_num = 0; in npi_txdma_log_page_config()
H A Dnpi.h222 uint8_t func_num; member
H A Dnpi_rxdma.c312 page_vld.bits.ldw.func = pg_cfg->func_num; in npi_rxdma_cfg_logical_page()
/illumos-gate/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()
1149 cfg.func_num = nxgep->function_num; in nxge_init_fzc_txdma_channel_pages()
H A Dnxge_virtual.c3730 uint8_t func_num; in nxge_get_mac_addr_properties() local
3817 func_num = nxgep->function_num; in nxge_get_mac_addr_properties()
3888 NXGE_GET_PORT_NUM(func_num), i); in nxge_get_mac_addr_properties()
4022 uint8_t func_num; in nxge_init_mmac() local
4031 func_num = nxgep->function_num; in nxge_init_mmac()
4044 (nxgep->nports - func_num) + in nxge_init_mmac()
4045 (func_num * (mmac_info->num_factory_mmac)); in nxge_init_mmac()
4094 NXGE_GET_PORT_NUM(func_num), slot - 1, &mac_addr); in nxge_init_mmac()
H A Dnxge_main.c1234 uint8_t func_num; in nxge_map_regs() local
1245 func_num = (prop_val[0] >> 8) & 0x7; in nxge_map_regs()
1248 func_num)); in nxge_map_regs()
1249 nxgep->function_num = func_num; in nxge_map_regs()
H A Dnxge_txdma.c2110 cfg.func_num, cfg.valid); in nxge_txdma_regs_dump()
2114 cfg.func_num, cfg.valid); in nxge_txdma_regs_dump()
/illumos-gate/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()