Lines Matching refs:pci_dev

166         device_t dev = ha->pci_dev;  in qla_add_sysctls()
289 device_printf(ha->pci_dev, in qla_watchdog()
355 ha->pci_dev = 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()
556 device_get_nameunit(ha->pci_dev)); in qla_pci_attach()
645 dev = ha->pci_dev; in qla_release()
746 dev = ha->pci_dev; in ql_alloc_dmabuf()
818 dev = ha->pci_dev; in qla_alloc_parent_dma_tag()
968 QL_DPRINT2(ha, (ha->pci_dev, "%s: enter\n", __func__)); in qla_init()
977 QL_DPRINT2(ha, (ha->pci_dev, "%s: exit\n", __func__)); in qla_init()
1021 device_printf(ha->pci_dev, in qla_set_multi()
1050 QL_DPRINT4(ha, (ha->pci_dev, "%s: SIOCSIFADDR (0x%lx)\n", in qla_ioctl()
1072 QL_DPRINT4(ha, (ha->pci_dev, in qla_ioctl()
1084 QL_DPRINT4(ha, (ha->pci_dev, "%s: SIOCSIFMTU (0x%lx)\n", in qla_ioctl()
1120 QL_DPRINT4(ha, (ha->pci_dev, "%s: SIOCSIFFLAGS (0x%lx)\n", in qla_ioctl()
1158 QL_DPRINT4(ha, (ha->pci_dev, in qla_ioctl()
1166 QL_DPRINT4(ha, (ha->pci_dev, in qla_ioctl()
1175 QL_DPRINT4(ha, (ha->pci_dev, in qla_ioctl()
1185 QL_DPRINT4(ha, (ha->pci_dev, "%s: SIOCSIFCAP (0x%lx)\n", in qla_ioctl()
1222 QL_DPRINT4(ha, (ha->pci_dev, "%s: default (0x%lx)\n", in qla_ioctl()
1240 QL_DPRINT2(ha, (ha->pci_dev, "%s: enter\n", __func__)); in qla_media_change()
1247 QL_DPRINT2(ha, (ha->pci_dev, "%s: exit\n", __func__)); in qla_media_change()
1259 QL_DPRINT2(ha, (ha->pci_dev, "%s: enter\n", __func__)); in qla_media_status()
1270 QL_DPRINT2(ha, (ha->pci_dev, "%s: exit (%s)\n", __func__,\ in qla_media_status()
1288 QL_DPRINT8(ha, (ha->pci_dev, "%s: enter\n", __func__)); in qla_send()
1298 device_printf(ha->pci_dev, "%s [%d]: txr_idx = %d tx_idx = %d " in qla_send()
1318 QL_DPRINT8(ha, (ha->pci_dev, "%s: EFBIG [%d]\n", __func__, in qla_send()
1326 device_printf(ha->pci_dev, in qla_send()
1339 device_printf(ha->pci_dev, in qla_send()
1354 device_printf(ha->pci_dev, in qla_send()
1384 QL_DPRINT8(ha, (ha->pci_dev, "%s: exit\n", __func__)); in qla_send()
1399 QL_DPRINT1(ha, (ha->pci_dev, "buf_ring_alloc failed for " in qla_alloc_tx_br()
1533 QL_DPRINT2(ha, (ha->pci_dev, "%s: exit ret = %d\n", __func__, ret)); in qla_fp_taskqueue()
1562 QL_DPRINT1(ha, (ha->pci_dev, "%s: %p\n", __func__, in qla_create_fp_taskqueues()
1610 QL_DPRINT2(ha, (ha->pci_dev, "%s: enter\n", __func__)); in qla_transmit()
1637 QL_DPRINT2(ha, (ha->pci_dev, "%s: exit ret = %d\n", __func__, ret)); in qla_transmit()
1651 QL_DPRINT2(ha, (ha->pci_dev, "%s: enter\n", __func__)); in qla_qflush()
1669 QL_DPRINT2(ha, (ha->pci_dev, "%s: exit\n", __func__)); in qla_qflush()
1683 dev = ha->pci_dev; in qla_stop()
1739 device_printf(ha->pci_dev, "%s: tx_tag alloc failed\n", in qla_alloc_xmt_bufs()
1758 device_printf(ha->pci_dev, in qla_alloc_xmt_bufs()
1778 QL_DPRINT2(ha, (ha->pci_dev, "%s: enter\n", __func__)); in qla_clear_tx_buf()
1799 QL_DPRINT2(ha, (ha->pci_dev, "%s: exit\n", __func__)); in qla_clear_tx_buf()
1844 device_printf(ha->pci_dev, in qla_alloc_rcv_std()
1886 device_printf(ha->pci_dev, in qla_alloc_rcv_std()
1938 device_printf(ha->pci_dev, "%s: rx_tag alloc failed\n", in qla_alloc_rcv_bufs()
1990 QL_DPRINT2(ha, (ha->pci_dev, "%s: enter\n", __func__)); in ql_get_mbuf()
2012 device_printf(ha->pci_dev, in ql_get_mbuf()
2040 device_printf(ha->pci_dev, in ql_get_mbuf()
2051 QL_DPRINT2(ha, (ha->pci_dev, "%s: exit ret = 0x%08x\n", __func__, ret)); in ql_get_mbuf()
2061 int my_slot = pci_get_slot(ha->pci_dev); in qla_get_peer()
2063 if (device_get_children(device_get_parent(ha->pci_dev), &peers, &count)) in qla_get_peer()
2071 pci_get_device(ha->pci_dev))) { in qla_get_peer()
2072 if (ha->pci_dev != peers[i]) in qla_get_peer()
2113 device_printf(ha->pci_dev, "%s: enter\n", __func__); in qla_error_recovery()
2122 device_printf(ha->pci_dev, "%s: ts_usecs = %ld start\n", in qla_error_recovery()
2167 device_printf(ha->pci_dev, in qla_error_recovery()
2201 device_printf(ha->pci_dev, in qla_error_recovery()
2209 device_printf(ha->pci_dev, in qla_error_recovery()
2262 device_printf(ha->pci_dev, "%s: ts_usecs = %ld port offline\n", in qla_error_recovery()
2276 device_printf(ha->pci_dev, in qla_error_recovery()