| /freebsd-13.1/sys/dev/qlxgb/ |
| H A D | qla_inline.h | 102 if (ha->pci_func == 0) in qla_get_optics() 139 (((ha->pci_func >> 1) * 3) << 2) + ((ha->pci_func & 0x01) << 2); in qla_read_mac_addr() 144 if (ha->pci_func & 0x01) { in qla_read_mac_addr()
|
| H A D | qla_misc.c | 565 __func__, ha->pci_func, data)); in qla_init_from_flash() 569 __func__, ha->pci_func)); in qla_init_from_flash() 579 __func__, ha->pci_func, in qla_init_from_flash() 605 if (ha->pci_func & 0x1) { in qla_init_hw() 606 while ((ha->pci_func & 0x1) && delay--) { in qla_init_hw() 612 __func__, ha->pci_func)); in qla_init_hw()
|
| H A D | qla_def.h | 128 uint8_t pci_func; member
|
| H A D | qla_hw.c | 422 signature = 0xcafe0000 | 0x0100 | ha->pci_func; in qla_issue_cmd() 424 ret = qla_sem_lock(ha, Q8_SEM5_LOCK, 0, (uint32_t)ha->pci_func); in qla_issue_cmd() 1023 tx_cmd->port_cntxtid = Q8_TX_CMD_PORT_CNXTID(ha->pci_func); in qla_hw_send() 1762 if (ha->pci_func == 0) in qla_update_link_state()
|
| H A D | qla_hw.h | 808 if (ha->pci_func == 0) {\
|
| H A D | qla_os.c | 257 ha->pci_func = pci_get_function(dev); in qla_pci_attach() 291 ha->irq, ha->pci_func, rsrc_len, ha->msix_count, ha->pci_reg)); in qla_pci_attach()
|
| /freebsd-13.1/sys/dev/qlnx/qlnxe/ |
| H A D | qlnx_ioctl.c | 147 grcdump->pci_func = ha->pci_func; in qlnx_get_grc_dump_size() 162 grcdump->pci_func = ha->pci_func; in qlnx_get_grc_dump() 235 idle_chk->pci_func = ha->pci_func; in qlnx_get_idle_chk_size() 250 idle_chk->pci_func = ha->pci_func; in qlnx_get_idle_chk() 340 trace->pci_func = ha->pci_func; in qlnx_get_trace_size() 556 pci_get_slot(ha->pci_dev), ha->pci_func); in qlnx_drv_info() 575 dev_info->port = ha->pci_func & 0x1; in qlnx_dev_settings()
|
| H A D | qlnx_ioctl.h | 43 uint16_t pci_func; member 54 uint16_t pci_func; member 65 uint16_t pci_func; member
|
| H A D | qlnx_def.h | 370 uint8_t pci_func; member
|
| /freebsd-13.1/sys/dev/qlxge/ |
| H A D | qls_dump.c | 472 if (ha->pci_func == 0) in qls_get_other_fnum() 684 if (ha->pci_func & 1) in qls_rd_serdes_regs() 692 if(ha->pci_func & 1) in qls_rd_serdes_regs() 699 if (ha->pci_func & 1) { in qls_rd_serdes_regs() 712 if (ha->pci_func & 1) { in qls_rd_serdes_regs() 725 if (ha->pci_func & 1) { in qls_rd_serdes_regs() 738 if (ha->pci_func & 1) { in qls_rd_serdes_regs() 751 if (ha->pci_func & 1) { in qls_rd_serdes_regs() 764 if (ha->pci_func & 1) { in qls_rd_serdes_regs() 777 if (ha->pci_func & 1) { in qls_rd_serdes_regs() [all …]
|
| H A D | qls_def.h | 265 uint8_t pci_func; member
|
| H A D | qls_hw.c | 260 index = 128 * (ha->pci_func & 0x1); /* index */ in qls_config_unicast_mac_addr() 288 ((ha->pci_func & 0x1) << Q81_CAM_MAC_OFF2_FUNC_SHIFT) | in qls_config_unicast_mac_addr() 1315 if ((ha->pci_func & 0x1) == 0) in qls_update_link_state() 1844 if ((ha->pci_func & 0x1) == 0) in qls_rd_nic_params() 2106 if ((ha->pci_func & 0x1) == 0) in qls_mbx_rd_reg() 2121 if ((ha->pci_func & 0x1) == 0) in qls_mbx_wr_reg()
|
| H A D | qls_os.c | 348 ha->pci_func = pci_get_function(dev); in qls_pci_attach() 392 ha->pci_func, ha->msix_count, ha->pci_reg, ha->pci_reg1); in qls_pci_attach()
|
| /freebsd-13.1/sys/dev/drm2/ |
| H A D | drm_pci.c | 207 dev->pci_func); in drm_pci_set_busid() 257 (func != dev->pci_func)) { in drm_pci_set_unique() 271 p->devnum != dev->pci_slot || p->funcnum != dev->pci_func) in drm_pci_irq_by_busid() 340 dev->pci_func = pci_get_function(dev->dev); in drm_get_pci_dev()
|
| H A D | drm_os_freebsd.c | 247 dev->pci_slot, dev->pci_func); in drm_add_busid_modesetting()
|
| /freebsd-13.1/sys/dev/qlxgbe/ |
| H A D | ql_misc.c | 70 wnd_reg = (Q8_CRB_WINDOW_PF0 | (ha->pci_func << 2)); in ql_rdwr_indreg32() 734 __func__, ha->pci_func, data)); in qla_init_from_flash() 738 __func__, ha->pci_func)); in qla_init_from_flash() 762 if (ha->pci_func & 0x1) { in ql_init_hw() 763 while ((ha->pci_func & 0x1) && delay--) { in ql_init_hw() 769 __func__, ha->pci_func)); in ql_init_hw() 815 (ha->pci_func << 3); in ql_read_mac_addr()
|
| H A D | ql_inline.h | 94 if (ha->pci_func == 0) in qla_get_optics()
|
| H A D | ql_ioctl.h | 103 uint16_t pci_func; member
|
| H A D | ql_ioctl.c | 220 fw_dump->pci_func = ha->pci_func; in ql_eioctl() 245 if ((ha->pci_func & 0x1)) { in ql_eioctl()
|
| H A D | ql_def.h | 154 uint8_t pci_func; member
|
| H A D | ql_os.c | 347 ha->pci_func = pci_get_function(dev) & 0x1; in qla_pci_attach() 393 ha->pci_func, rsrc_len, ha->msix_count, ha->pci_reg, in qla_pci_attach() 416 __func__, ha, ha->pci_func, rsrc_len, ha->msix_count, in qla_pci_attach() 1371 "qla%d_fp%d_tx_mq_lock", ha->pci_func, fp->txr_idx); in qla_alloc_tx_br() 1379 " fp[%d, %d]\n", ha->pci_func, fp->txr_idx)); in qla_alloc_tx_br() 2109 if ((ha->pci_func & 0x1) == 0) { in qla_error_recovery()
|
| H A D | ql_hw.c | 2188 cmd |= ((ha->pci_func & 0x1) << 16); in ql_get_stats() 2614 tx_cmd->cntxtid = Q8_TX_CMD_PORT_CNXTID(ha->pci_func); in ql_hw_send() 3814 if (ha->pci_func == 0) { in ql_update_link_state() 4677 template_hdr->ocm_window_array[ha->pci_func]; in ql_parse_template() 4678 template_hdr->saved_state_array[QL_PCIE_FUNC_INDX] = ha->pci_func; in ql_parse_template()
|
| /freebsd-13.1/sys/dev/hptmv/ |
| H A D | vdevice.h | 168 …pChip2)->pci_bus && (pChip1)->pci_dev==(pChip2)->pci_dev && (pChip1)->pci_func==(pChip2)->pci_func)
|
| /freebsd-13.1/sys/dev/bxe/ |
| H A D | bxe_ioctl.h | 38 uint16_t pci_func; member
|
| /freebsd-13.1/sys/dev/ocs_fc/ |
| H A D | ocs_hw.h | 1342 extern ocs_hw_rtn_e ocs_hw_get_port_protocol(ocs_hw_t *hw, uint32_t pci_func, ocs_get_port_protocol… 1345 uint32_t pci_func, ocs_set_port_protocol_cb_t mgmt_cb,
|