Searched refs:pci_func (Results 1 - 25 of 31) sorted by relevance

12

/freebsd-13-stable/sys/dev/qlxgb/
H A Dqla_inline.h102 if (ha->pci_func == 0)
139 (((ha->pci_func >> 1) * 3) << 2) + ((ha->pci_func & 0x01) << 2);
144 if (ha->pci_func & 0x01) {
H A Dqla_def.h128 uint8_t pci_func; member in struct:qla_host
H A Dqla_misc.c565 __func__, ha->pci_func, data));
569 __func__, ha->pci_func));
579 __func__, ha->pci_func,
605 if (ha->pci_func & 0x1) {
606 while ((ha->pci_func & 0x1) && delay--) {
612 __func__, ha->pci_func));
H A Dqla_hw.c422 signature = 0xcafe0000 | 0x0100 | ha->pci_func;
424 ret = qla_sem_lock(ha, Q8_SEM5_LOCK, 0, (uint32_t)ha->pci_func);
1023 tx_cmd->port_cntxtid = Q8_TX_CMD_PORT_CNXTID(ha->pci_func);
1762 if (ha->pci_func == 0)
H A Dqla_hw.h808 if (ha->pci_func == 0) {\
H A Dqla_os.c257 ha->pci_func = pci_get_function(dev);
289 QL_DPRINT2((dev, "%s: ha %p irq %p pci_func 0x%x rsrc_count 0x%08x"
291 ha->irq, ha->pci_func, rsrc_len, ha->msix_count, ha->pci_reg));
/freebsd-13-stable/sys/dev/qlnx/qlnxe/
H A Dqlnx_ioctl.h43 uint16_t pci_func; member in struct:qlnx_grcdump
54 uint16_t pci_func; member in struct:qlnx_idle_chk
65 uint16_t pci_func; member in struct:qlnx_trace
H A Dqlnx_ioctl.c147 grcdump->pci_func = ha->pci_func;
162 grcdump->pci_func = ha->pci_func;
235 idle_chk->pci_func = ha->pci_func;
250 idle_chk->pci_func = ha->pci_func;
340 trace->pci_func = ha->pci_func;
[all...]
H A Dqlnx_def.h370 uint8_t pci_func; member in struct:qlnx_host
/freebsd-13-stable/sys/dev/bxe/
H A Dbxe_ioctl.h38 uint16_t pci_func; member in struct:bxe_grcdump
/freebsd-13-stable/sys/dev/qlxge/
H A Dqls_dump.c472 if (ha->pci_func == 0)
684 if (ha->pci_func & 1)
692 if(ha->pci_func & 1)
699 if (ha->pci_func & 1) {
712 if (ha->pci_func & 1) {
725 if (ha->pci_func & 1) {
738 if (ha->pci_func & 1) {
751 if (ha->pci_func & 1) {
764 if (ha->pci_func & 1) {
777 if (ha->pci_func
[all...]
H A Dqls_def.h265 uint8_t pci_func; member in struct:qla_host
H A Dqls_hw.c260 index = 128 * (ha->pci_func & 0x1); /* index */
288 ((ha->pci_func & 0x1) << Q81_CAM_MAC_OFF2_FUNC_SHIFT) |
1315 if ((ha->pci_func & 0x1) == 0)
1844 if ((ha->pci_func & 0x1) == 0)
2106 if ((ha->pci_func & 0x1) == 0)
2121 if ((ha->pci_func & 0x1) == 0)
H A Dqls_os.c348 ha->pci_func = pci_get_function(dev);
390 device_printf(dev, "\n%s: ha %p pci_func 0x%x msix_count 0x%x"
392 ha->pci_func, ha->msix_count, ha->pci_reg, ha->pci_reg1);
/freebsd-13-stable/sys/dev/drm2/
H A Ddrm_pci.c207 dev->pci_func);
257 (func != dev->pci_func)) {
271 p->devnum != dev->pci_slot || p->funcnum != dev->pci_func)
340 dev->pci_func = pci_get_function(dev->dev);
H A Ddrm_os_freebsd.c247 dev->pci_slot, dev->pci_func);
/freebsd-13-stable/sys/dev/qlxgbe/
H A Dql_inline.h94 if (ha->pci_func == 0)
H A Dql_misc.c70 wnd_reg = (Q8_CRB_WINDOW_PF0 | (ha->pci_func << 2));
734 __func__, ha->pci_func, data));
738 __func__, ha->pci_func));
762 if (ha->pci_func & 0x1) {
763 while ((ha->pci_func & 0x1) && delay--) {
769 __func__, ha->pci_func));
815 (ha->pci_func << 3);
H A Dql_ioctl.h103 uint16_t pci_func; member in struct:qla_rd_fw_dump
H A Dql_ioctl.c220 fw_dump->pci_func = ha->pci_func;
245 if ((ha->pci_func & 0x1)) {
H A Dql_def.h154 uint8_t pci_func; member in struct:qla_host
H A Dql_os.c347 ha->pci_func = pci_get_function(dev) & 0x1;
391 QL_DPRINT2(ha, (dev, "%s: ha %p pci_func 0x%x rsrc_count 0x%08x"
393 ha->pci_func, rsrc_len, ha->msix_count, ha->pci_reg,
414 device_printf(dev, "%s: ha %p pci_func 0x%x rsrc_count 0x%08x"
416 __func__, ha, ha->pci_func, rsrc_len, ha->msix_count,
1371 "qla%d_fp%d_tx_mq_lock", ha->pci_func, fp->txr_idx);
1379 " fp[%d, %d]\n", ha->pci_func, fp->txr_idx));
2109 if ((ha->pci_func & 0x1) == 0) {
/freebsd-13-stable/sys/dev/hptmv/
H A Dvdevice.h168 ((pChip1)->pci_bus==(pChip2)->pci_bus && (pChip1)->pci_dev==(pChip2)->pci_dev && (pChip1)->pci_func==(pChip2)->pci_func)
/freebsd-13-stable/sys/dev/ocs_fc/
H A Docs_hw.h1342 extern ocs_hw_rtn_e ocs_hw_get_port_protocol(ocs_hw_t *hw, uint32_t pci_func, ocs_get_port_protocol_cb_t mgmt_cb, void* ul_arg);
1345 uint32_t pci_func, ocs_set_port_protocol_cb_t mgmt_cb,
H A Docs_hw.c7111 uint32_t pci_func; member in struct:ocs_hw_get_port_protocol_cb_arg_s
7146 if (pcie_desc_p->pf_number == cb_arg->pci_func) {
7187 * @param pci_func PCI function to query for current protocol.
7199 ocs_hw_get_port_protocol(ocs_hw_t *hw, uint32_t pci_func, argument
7228 cb_arg->pci_func = pci_func;
7258 uint32_t pci_func; member in struct:ocs_hw_set_port_protocol_cb_arg_s
7395 if (pcie_desc_p->pf_number == cb_arg->pci_func) {
7480 * @param pci_func PCI function to configure.
7493 uint32_t pci_func, ocs_set_port_protocol_cb_
7492 ocs_hw_set_port_protocol(ocs_hw_t *hw, ocs_hw_port_protocol_e new_protocol, uint32_t pci_func, ocs_set_port_protocol_cb_t cb, void *ul_arg) argument
[all...]

Completed in 303 milliseconds

12