Lines Matching refs:pci_dev
164 device_t dev = ha->pci_dev; in qla_add_sysctls()
285 device_printf(ha->pci_dev, in qla_watchdog()
349 ha->pci_dev = dev; in qla_pci_attach()
538 device_get_nameunit(ha->pci_dev)); in qla_pci_attach()
544 device_get_nameunit(ha->pci_dev)); in qla_pci_attach()
550 device_get_nameunit(ha->pci_dev)); in qla_pci_attach()
638 dev = ha->pci_dev; in qla_release()
738 dev = ha->pci_dev; in ql_alloc_dmabuf()
810 dev = ha->pci_dev; in qla_alloc_parent_dma_tag()
960 QL_DPRINT2(ha, (ha->pci_dev, "%s: enter\n", __func__)); in qla_init()
969 QL_DPRINT2(ha, (ha->pci_dev, "%s: exit\n", __func__)); in qla_init()
1008 device_printf(ha->pci_dev, in qla_set_multi()
1036 QL_DPRINT4(ha, (ha->pci_dev, "%s: SIOCSIFADDR (0x%lx)\n", in qla_ioctl()
1057 QL_DPRINT4(ha, (ha->pci_dev, in qla_ioctl()
1069 QL_DPRINT4(ha, (ha->pci_dev, "%s: SIOCSIFMTU (0x%lx)\n", in qla_ioctl()
1105 QL_DPRINT4(ha, (ha->pci_dev, "%s: SIOCSIFFLAGS (0x%lx)\n", in qla_ioctl()
1142 QL_DPRINT4(ha, (ha->pci_dev, in qla_ioctl()
1150 QL_DPRINT4(ha, (ha->pci_dev, in qla_ioctl()
1159 QL_DPRINT4(ha, (ha->pci_dev, in qla_ioctl()
1169 QL_DPRINT4(ha, (ha->pci_dev, "%s: SIOCSIFCAP (0x%lx)\n", in qla_ioctl()
1205 QL_DPRINT4(ha, (ha->pci_dev, "%s: default (0x%lx)\n", in qla_ioctl()
1223 QL_DPRINT2(ha, (ha->pci_dev, "%s: enter\n", __func__)); in qla_media_change()
1230 QL_DPRINT2(ha, (ha->pci_dev, "%s: exit\n", __func__)); in qla_media_change()
1242 QL_DPRINT2(ha, (ha->pci_dev, "%s: enter\n", __func__)); in qla_media_status()
1253 QL_DPRINT2(ha, (ha->pci_dev, "%s: exit (%s)\n", __func__,\ in qla_media_status()
1270 QL_DPRINT8(ha, (ha->pci_dev, "%s: enter\n", __func__)); in qla_send()
1280 device_printf(ha->pci_dev, "%s [%d]: txr_idx = %d tx_idx = %d " in qla_send()
1299 QL_DPRINT8(ha, (ha->pci_dev, "%s: EFBIG [%d]\n", __func__, in qla_send()
1307 device_printf(ha->pci_dev, in qla_send()
1319 device_printf(ha->pci_dev, in qla_send()
1333 device_printf(ha->pci_dev, in qla_send()
1363 QL_DPRINT8(ha, (ha->pci_dev, "%s: exit\n", __func__)); in qla_send()
1378 QL_DPRINT1(ha, (ha->pci_dev, "buf_ring_alloc failed for " in qla_alloc_tx_br()
1509 QL_DPRINT2(ha, (ha->pci_dev, "%s: exit ret = %d\n", __func__, ret)); in qla_fp_taskqueue()
1537 QL_DPRINT1(ha, (ha->pci_dev, "%s: %p\n", __func__, in qla_create_fp_taskqueues()
1584 QL_DPRINT2(ha, (ha->pci_dev, "%s: enter\n", __func__)); in qla_transmit()
1611 QL_DPRINT2(ha, (ha->pci_dev, "%s: exit ret = %d\n", __func__, ret)); in qla_transmit()
1625 QL_DPRINT2(ha, (ha->pci_dev, "%s: enter\n", __func__)); in qla_qflush()
1642 QL_DPRINT2(ha, (ha->pci_dev, "%s: exit\n", __func__)); in qla_qflush()
1656 dev = ha->pci_dev; in qla_stop()
1712 device_printf(ha->pci_dev, "%s: tx_tag alloc failed\n", in qla_alloc_xmt_bufs()
1729 device_printf(ha->pci_dev, in qla_alloc_xmt_bufs()
1749 QL_DPRINT2(ha, (ha->pci_dev, "%s: enter\n", __func__)); in qla_clear_tx_buf()
1770 QL_DPRINT2(ha, (ha->pci_dev, "%s: exit\n", __func__)); in qla_clear_tx_buf()
1812 device_printf(ha->pci_dev, in qla_alloc_rcv_std()
1852 device_printf(ha->pci_dev, in qla_alloc_rcv_std()
1903 device_printf(ha->pci_dev, "%s: rx_tag alloc failed\n", in qla_alloc_rcv_bufs()
1955 QL_DPRINT2(ha, (ha->pci_dev, "%s: enter\n", __func__)); in ql_get_mbuf()
1976 device_printf(ha->pci_dev, in ql_get_mbuf()
2004 device_printf(ha->pci_dev, in ql_get_mbuf()
2015 QL_DPRINT2(ha, (ha->pci_dev, "%s: exit ret = 0x%08x\n", __func__, ret)); in ql_get_mbuf()
2024 int my_slot = pci_get_slot(ha->pci_dev); in qla_get_peer()
2026 if (device_get_children(device_get_parent(ha->pci_dev), &peers, &count)) in qla_get_peer()
2034 pci_get_device(ha->pci_dev))) { in qla_get_peer()
2035 if (ha->pci_dev != peers[i]) in qla_get_peer()
2075 device_printf(ha->pci_dev, "%s: enter\n", __func__); in qla_error_recovery()
2084 device_printf(ha->pci_dev, "%s: ts_usecs = %ld start\n", in qla_error_recovery()
2127 device_printf(ha->pci_dev, in qla_error_recovery()
2160 device_printf(ha->pci_dev, in qla_error_recovery()
2168 device_printf(ha->pci_dev, in qla_error_recovery()
2220 device_printf(ha->pci_dev, "%s: ts_usecs = %ld port offline\n", in qla_error_recovery()
2233 device_printf(ha->pci_dev, in qla_error_recovery()