Home | History | Annotate | Download | only in ixgbe

Lines Matching refs:osdep

815 	sc->osdep.pc = pa->pa_pc;
816 sc->osdep.tag = pa->pa_tag;
818 sc->osdep.dmat = pa->pa_dmat64;
820 sc->osdep.dmat = pa->pa_dmat;
821 sc->osdep.attached = false;
822 sc->osdep.detaching = false;
940 ether_set_vlan_cb(&sc->osdep.ec, ixgbe_vlan_cb);
1303 sc->osdep.attached = true;
1360 struct ethercom *ec = &sc->osdep.ec;
1395 sc->ipq = if_percpuq_create(&sc->osdep.ec.ec_if);
1554 if (__predict_true(sc->osdep.detaching == false)) {
2509 struct ethercom *ec = &sc->osdep.ec;
2551 struct ethercom *ec = &sc->osdep.ec;
2654 if (pci_get_capability(sc->osdep.pc, sc->osdep.tag,
2665 link = pci_conf_read(sc->osdep.pc, sc->osdep.tag,
3611 sc->osdep.mem_bus_space_tag = pa->pa_memt;
3613 memtype, &addr, &sc->osdep.mem_size, &flags) != 0)
3619 if (bus_space_map(sc->osdep.mem_bus_space_tag, addr,
3620 sc->osdep.mem_size, flags,
3621 &sc->osdep.mem_bus_space_handle) != 0) {
3623 sc->osdep.mem_size = 0;
3709 if (sc->osdep.attached == false)
3717 if (VLAN_ATTACHED(&sc->osdep.ec) &&
3725 sc->osdep.detaching = true;
4299 sc->ec_capenable = sc->osdep.ec.ec_capenable;
4524 struct ethercom *ec = &sc->osdep.ec;
4750 if (__predict_true(sc->osdep.detaching == false)) {
5372 pci_intr_disestablish(sc->osdep.pc, sc->osdep.ihs[i]);
5373 sc->osdep.ihs[i] = NULL;
5383 if (sc->osdep.ihs[rid] != NULL) {
5384 pci_intr_disestablish(sc->osdep.pc, sc->osdep.ihs[rid]);
5385 sc->osdep.ihs[rid] = NULL;
5388 if (sc->osdep.intrs != NULL) {
5389 pci_intr_release(sc->osdep.pc, sc->osdep.intrs,
5390 sc->osdep.nintrs);
5391 sc->osdep.intrs = NULL;
5404 if (sc->osdep.mem_size != 0) {
5405 bus_space_unmap(sc->osdep.mem_bus_space_tag,
5406 sc->osdep.mem_bus_space_handle,
5407 sc->osdep.mem_size);
6771 if (pci_intr_alloc(pa, &sc->osdep.intrs, counts, max_type) != 0) {
6775 sc->osdep.nintrs = 1;
6776 intrstr = pci_intr_string(sc->osdep.pc, sc->osdep.intrs[0],
6778 sc->osdep.ihs[0] = pci_intr_establish_xname(sc->osdep.pc,
6779 sc->osdep.intrs[0], IPL_NET, ixgbe_legacy_irq, que,
6781 intr_type = pci_intr_type(sc->osdep.pc, sc->osdep.intrs[0]);
6782 if (sc->osdep.ihs[0] == NULL) {
6785 pci_intr_release(sc->osdep.pc, sc->osdep.intrs, 1);
6786 sc->osdep.intrs = NULL;
6808 if (sc->osdep.ihs[0] == NULL) {
6812 pci_intr_release(sc->osdep.pc, sc->osdep.intrs, 1);
6813 sc->osdep.intrs = NULL;
6876 pc = sc->osdep.pc;
6899 sc->osdep.nintrs = sc->num_queues + 1;
6900 if (pci_msix_alloc_exact(pa, &sc->osdep.intrs,
6901 sc->osdep.nintrs) != 0) {
6912 intrstr = pci_intr_string(pc, sc->osdep.intrs[i], intrbuf,
6914 pci_intr_setattr(pc, &sc->osdep.intrs[i], PCI_INTR_MPSAFE,
6918 que->res = sc->osdep.ihs[i] = pci_intr_establish_xname(pc,
6919 sc->osdep.intrs[i], IPL_NET, ixgbe_msix_que, que,
6954 error = interrupt_distribute(sc->osdep.ihs[i], affinity,
7016 intrstr = pci_intr_string(pc, sc->osdep.intrs[vector], intrbuf,
7018 pci_intr_setattr(pc, &sc->osdep.intrs[vector], PCI_INTR_MPSAFE, true);
7021 sc->osdep.ihs[vector] = pci_intr_establish_xname(pc,
7022 sc->osdep
7024 if (sc->osdep.ihs[vector] == NULL) {
7032 error = interrupt_distribute(sc->osdep.ihs[vector], affinity,
7083 msgs = pci_msix_count(sc->osdep.pc, sc->osdep.tag);
7139 msgs = pci_msi_count(sc->osdep.pc, sc->osdep.tag);