Home
last modified time | relevance | path

Searched refs:pci_func (Results 1 – 25 of 35) sorted by relevance

12

/freebsd-12.1/sys/dev/qlxgb/
H A Dqla_inline.h103 if (ha->pci_func == 0) in qla_get_optics()
140 (((ha->pci_func >> 1) * 3) << 2) + ((ha->pci_func & 0x01) << 2); in qla_read_mac_addr()
145 if (ha->pci_func & 0x01) { in qla_read_mac_addr()
H A Dqla_misc.c566 __func__, ha->pci_func, data)); in qla_init_from_flash()
570 __func__, ha->pci_func)); in qla_init_from_flash()
580 __func__, ha->pci_func, in qla_init_from_flash()
606 if (ha->pci_func & 0x1) { in qla_init_hw()
607 while ((ha->pci_func & 0x1) && delay--) { in qla_init_hw()
613 __func__, ha->pci_func)); in qla_init_hw()
H A Dqla_def.h128 uint8_t pci_func; member
H A Dqla_hw.c423 signature = 0xcafe0000 | 0x0100 | ha->pci_func; in qla_issue_cmd()
425 ret = qla_sem_lock(ha, Q8_SEM5_LOCK, 0, (uint32_t)ha->pci_func); in qla_issue_cmd()
1031 tx_cmd->port_cntxtid = Q8_TX_CMD_PORT_CNXTID(ha->pci_func); in qla_hw_send()
1772 if (ha->pci_func == 0) in qla_update_link_state()
H A Dqla_hw.h814 if (ha->pci_func == 0) {\
/freebsd-12.1/sys/dev/qlnx/qlnxe/
H A Dqlnx_ioctl.c149 grcdump->pci_func = ha->pci_func; in qlnx_get_grc_dump_size()
164 grcdump->pci_func = ha->pci_func; in qlnx_get_grc_dump()
238 idle_chk->pci_func = ha->pci_func; in qlnx_get_idle_chk_size()
253 idle_chk->pci_func = ha->pci_func; in qlnx_get_idle_chk()
345 trace->pci_func = ha->pci_func; in qlnx_get_trace_size()
565 pci_get_slot(ha->pci_dev), ha->pci_func); in qlnx_drv_info()
584 dev_info->port = ha->pci_func & 0x1; in qlnx_dev_settings()
H A Dqlnx_ioctl.h43 uint16_t pci_func; member
54 uint16_t pci_func; member
65 uint16_t pci_func; member
H A Dqlnx_def.h382 uint8_t pci_func; member
/freebsd-12.1/sys/dev/qlxge/
H A Dqls_dump.c475 if (ha->pci_func == 0) in qls_get_other_fnum()
689 if (ha->pci_func & 1) in qls_rd_serdes_regs()
698 if(ha->pci_func & 1) in qls_rd_serdes_regs()
705 if (ha->pci_func & 1) { in qls_rd_serdes_regs()
718 if (ha->pci_func & 1) { in qls_rd_serdes_regs()
731 if (ha->pci_func & 1) { in qls_rd_serdes_regs()
744 if (ha->pci_func & 1) { in qls_rd_serdes_regs()
757 if (ha->pci_func & 1) { in qls_rd_serdes_regs()
770 if (ha->pci_func & 1) { in qls_rd_serdes_regs()
783 if (ha->pci_func & 1) { in qls_rd_serdes_regs()
[all …]
H A Dqls_hw.c266 index = 128 * (ha->pci_func & 0x1); /* index */ in qls_config_unicast_mac_addr()
294 ((ha->pci_func & 0x1) << Q81_CAM_MAC_OFF2_FUNC_SHIFT) | in qls_config_unicast_mac_addr()
1335 if ((ha->pci_func & 0x1) == 0) in qls_update_link_state()
1873 if ((ha->pci_func & 0x1) == 0) in qls_rd_nic_params()
2137 if ((ha->pci_func & 0x1) == 0) in qls_mbx_rd_reg()
2152 if ((ha->pci_func & 0x1) == 0) in qls_mbx_wr_reg()
H A Dqls_def.h268 uint8_t pci_func; member
H A Dqls_os.c355 ha->pci_func = pci_get_function(dev); in qls_pci_attach()
399 ha->pci_func, ha->msix_count, ha->pci_reg, ha->pci_reg1); in qls_pci_attach()
/freebsd-12.1/sys/dev/drm2/
H A Ddrm_pci.c206 dev->pci_func); in drm_pci_set_busid()
256 (func != dev->pci_func)) { in drm_pci_set_unique()
270 p->devnum != dev->pci_slot || p->funcnum != dev->pci_func) in drm_pci_irq_by_busid()
339 dev->pci_func = pci_get_function(dev->dev); in drm_get_pci_dev()
H A Ddrm_os_freebsd.c245 dev->pci_slot, dev->pci_func); in drm_add_busid_modesetting()
/freebsd-12.1/sys/dev/qlxgbe/
H A Dql_misc.c70 wnd_reg = (Q8_CRB_WINDOW_PF0 | (ha->pci_func << 2)); in ql_rdwr_indreg32()
735 __func__, ha->pci_func, data)); in qla_init_from_flash()
739 __func__, ha->pci_func)); in qla_init_from_flash()
763 if (ha->pci_func & 0x1) { in ql_init_hw()
765 while ((ha->pci_func & 0x1) && delay--) { in ql_init_hw()
772 __func__, ha->pci_func)); in ql_init_hw()
819 (ha->pci_func << 3); in ql_read_mac_addr()
H A Dql_inline.h96 if (ha->pci_func == 0) in qla_get_optics()
H A Dql_ioctl.c223 fw_dump->pci_func = ha->pci_func; in ql_eioctl()
248 if ((ha->pci_func & 0x1)) { in ql_eioctl()
H A Dql_ioctl.h103 uint16_t pci_func; member
H A Dql_def.h154 uint8_t pci_func; member
H A Dql_os.c353 ha->pci_func = pci_get_function(dev) & 0x1; in qla_pci_attach()
399 ha->pci_func, rsrc_len, ha->msix_count, ha->pci_reg, in qla_pci_attach()
422 __func__, ha, ha->pci_func, rsrc_len, ha->msix_count, in qla_pci_attach()
1392 "qla%d_fp%d_tx_mq_lock", ha->pci_func, fp->txr_idx); in qla_alloc_tx_br()
1400 " fp[%d, %d]\n", ha->pci_func, fp->txr_idx)); in qla_alloc_tx_br()
2148 if ((ha->pci_func & 0x1) == 0) { in qla_error_recovery()
/freebsd-12.1/sys/dev/drm/
H A Ddrm_ioctl.c99 (func != dev->pci_func)) { in drm_setunique()
139 dev->pci_domain, dev->pci_bus, dev->pci_slot, dev->pci_func); in drm_set_busid()
H A Ddrm_irq.c47 irq->funcnum != dev->pci_func) in drm_irq_by_busid()
/freebsd-12.1/sys/dev/hptmv/
H A Dvdevice.h168 …pChip2)->pci_bus && (pChip1)->pci_dev==(pChip2)->pci_dev && (pChip1)->pci_func==(pChip2)->pci_func)
/freebsd-12.1/sys/dev/bxe/
H A Dbxe_ioctl.h38 uint16_t pci_func; member
/freebsd-12.1/sys/dev/ocs_fc/
H A Docs_hw.h1349 extern ocs_hw_rtn_e ocs_hw_get_port_protocol(ocs_hw_t *hw, uint32_t pci_func, ocs_get_port_protocol…
1352 uint32_t pci_func, ocs_set_port_protocol_cb_t mgmt_cb,

12