Searched refs:pci_dev (Results 1 - 25 of 55) sorted by relevance

123

/freebsd-11-stable/sys/dev/bhnd/cores/pcie2/
H A Dbhnd_pcie2_hostbvar.h67 device_t pci_dev; /**< host PCI device */ member in struct:bhnd_pcie2hb_softc
H A Dbhnd_pcie2_hostb.c116 sc->pci_dev = bhnd_find_bridge_root(dev, devclass_find("pci"));
117 if (sc->pci_dev == NULL) {
/freebsd-11-stable/sys/dev/qlxgb/
H A Dqla_ioctl.c87 device_t pci_dev; local
92 pci_dev= ha->pci_dev;
135 pci_ids->ven_id = pci_get_vendor(pci_dev);
136 pci_ids->dev_id = pci_get_device(pci_dev);
137 pci_ids->subsys_ven_id = pci_get_subvendor(pci_dev);
138 pci_ids->subsys_dev_id = pci_get_subdevice(pci_dev);
139 pci_ids->rev_id = pci_read_config(pci_dev, PCIR_REVID, 1);
H A Dqla_os.c149 device_t dev = ha->pci_dev;
258 ha->pci_dev = dev;
305 device_get_nameunit(ha->pci_dev));
337 device_get_nameunit(ha->pci_dev));
461 QL_DPRINT2((ha->pci_dev, "%s: called ret %d\n", __func__, ret));
476 dev = ha->pci_dev;
544 dev = ha->pci_dev;
616 dev = ha->pci_dev;
756 QL_DPRINT2((ha->pci_dev, "%s: enter\n", __func__));
762 QL_DPRINT2((ha->pci_dev, "
[all...]
H A Dqla_misc.c212 device_printf(ha->pci_dev, "%s: invalid addr 0x%08x\n",
219 device_printf(ha->pci_dev, "%s: undefined map 0x%08x\n",
227 device_printf(ha->pci_dev, "%s: SEM7_LOCK failed\n", __func__);
295 device_printf(ha->pci_dev, "%s: failed[0x%08x]\n", __func__, data);
310 device_printf(ha->pci_dev, "%s: SEM2_LOCK failed\n", __func__);
351 device_printf(ha->pci_dev, "%s: SEM2_LOCK failed\n", __func__);
421 QL_DPRINT2((ha->pci_dev, "%s: val[0] = 0x%08x\n", __func__, sig));
424 QL_DPRINT2((ha->pci_dev, "%s: val[4] = 0x%08x\n", __func__, val));
430 QL_DPRINT2((ha->pci_dev, "%s: [sig,val]=[0x%08x, 0x%08x] %d pairs\n",
437 device_printf(ha->pci_dev, "
[all...]
H A Dqla_hw.c87 dev = ha->pci_dev;
142 dev = ha->pci_dev;
277 dev = ha->pci_dev;
394 QL_DPRINT2((ha->pci_dev, "%s: tx_cntxt_req = %p paddr %p\n",
396 QL_DPRINT2((ha->pci_dev, "%s: tx_cntxt_rsp = %p paddr %p\n",
398 QL_DPRINT2((ha->pci_dev, "%s: rx_cntxt_req = %p paddr %p\n",
400 QL_DPRINT2((ha->pci_dev, "%s: rx_cntxt_rsp = %p paddr %p\n",
402 QL_DPRINT2((ha->pci_dev, "%s: tx_cons = %p paddr %p\n",
419 dev = ha->pci_dev;
496 dev = ha->pci_dev;
[all...]
H A Dqla_isr.c72 device_printf(ha->pci_dev, "%s: ring[%d] index[0x%08x]"
79 device_printf(ha->pci_dev, "%s: ring[%d] index[0x%08x]"
188 device_printf(ha->pci_dev,
239 device_printf(ha->pci_dev,
272 dev = ha->pci_dev;
355 device_printf(ha->pci_dev, "%s: bogus sds_idx 0x%x\n", __func__,
389 dev = ha->pci_dev;
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/
H A Dpci.h112 #define to_pci_dev(n) container_of(n, struct pci_dev, dev)
190 struct pci_dev;
196 int (*probe)(struct pci_dev *dev, const struct pci_device_id *id);
197 void (*remove)(struct pci_dev *dev);
198 int (*suspend) (struct pci_dev *dev, pm_message_t state); /* Device suspended */
199 int (*resume) (struct pci_dev *dev); /* Device woken up */
200 void (*shutdown) (struct pci_dev *dev); /* Device shutdown */
214 struct pci_dev *self;
224 struct pci_dev { struct
242 linux_pci_get_rle(struct pci_dev *pde
[all...]
/freebsd-11-stable/sys/dev/qlxgbe/
H A Dql_misc.c78 device_printf(ha->pci_dev, "%s: [0x%08x, 0x%08x, %d] failed\n",
207 device_printf(ha->pci_dev,
228 device_printf(ha->pci_dev, "%s: Q8_FLASH_LOCK failed\n",
236 device_printf(ha->pci_dev,
245 device_printf(ha->pci_dev,
267 device_printf(ha->pci_dev,
276 device_printf(ha->pci_dev, "%s: Q8_FLASH_LOCK failed\n",
284 device_printf(ha->pci_dev,
293 device_printf(ha->pci_dev,
314 device_printf(ha->pci_dev,
[all...]
H A Dql_ioctl.c90 device_t pci_dev; local
109 pci_dev= ha->pci_dev;
228 device_printf(pci_dev, "%s: minidump not initialized\n", __func__);
238 device_printf(pci_dev,
247 device_printf(pci_dev, "%s: mindump allowed only on Port0\n", __func__);
263 device_printf(pci_dev,
275 device_printf(pci_dev, "%s: recovery initiated "
281 device_printf(pci_dev, "%s: QLA_LOCK() failed0\n", __func__);
298 device_printf(pci_dev,
[all...]
H A Dql_os.c164 device_t dev = ha->pci_dev;
287 device_printf(ha->pci_dev,
353 ha->pci_dev = dev;
542 device_get_nameunit(ha->pci_dev));
548 device_get_nameunit(ha->pci_dev));
554 device_get_nameunit(ha->pci_dev));
643 dev = ha->pci_dev;
744 dev = ha->pci_dev;
816 dev = ha->pci_dev;
966 QL_DPRINT2(ha, (ha->pci_dev, "
[all...]
H A Dql_hw.c91 device_printf(ha->pci_dev, "%s PEGS HALTED!!!!!\n", __func__);
186 device_printf(ha->pci_dev, "%s: failed\n", __func__);
193 device_printf(ha->pci_dev, "%s: failed\n", __func__);
221 device_printf(ha->pci_dev, "%s: failed\n", __func__);
225 device_printf(ha->pci_dev, "%s: ret = %d\n", __func__, ret);
247 device_printf(ha->pci_dev, "%s: failed\n", __func__);
260 ctx = device_get_sysctl_ctx(ha->pci_dev);
261 children = SYSCTL_CHILDREN(device_get_sysctl_tree(ha->pci_dev));
477 ctx = device_get_sysctl_ctx(ha->pci_dev);
478 children = SYSCTL_CHILDREN(device_get_sysctl_tree(ha->pci_dev));
[all...]
H A Dql_isr.c92 device_printf(ha->pci_dev,
116 device_printf(ha->pci_dev,
251 device_printf(ha->pci_dev,
275 device_printf(ha->pci_dev,
391 device_printf(ha->pci_dev, "%s: opcode=0 %p %p\n",
399 device_printf(ha->pci_dev, "%s: opcode=0 %p %p\n",
460 device_printf(ha->pci_dev,
496 dev = ha->pci_dev;
830 device_printf(ha->pci_dev,
854 device_printf(ha->pci_dev, "
[all...]
/freebsd-11-stable/sys/dev/qlxge/
H A Dqls_ioctl.c86 device_t pci_dev; local
93 pci_dev= ha->pci_dev;
115 device_printf(ha->pci_dev,
H A Dqls_os.c168 device_printf(ha->pci_dev,
173 device_printf(ha->pci_dev,
178 device_printf(ha->pci_dev,
183 device_printf(ha->pci_dev,
188 device_printf(ha->pci_dev,
193 device_printf(ha->pci_dev,
198 device_printf(ha->pci_dev,
206 device_printf(ha->pci_dev,
211 device_printf(ha->pci_dev,
216 device_printf(ha->pci_dev,
[all...]
H A Dqls_dbg.c55 dev = ha->pci_dev;
97 dev = ha->pci_dev;
159 dev = ha->pci_dev;
278 device_printf(ha->pci_dev, "%s: lbq_addr_tbl_paddr %p\n", __func__,
284 device_printf(ha->pci_dev, "%s: lbq_paddr %p\n", __func__,
290 device_printf(ha->pci_dev, "%s: sbq_addr_tbl_paddr %p\n", __func__,
296 device_printf(ha->pci_dev, "%s: sbq_paddr %p\n", __func__,
302 device_printf(ha->pci_dev, "%s: lb_paddr %p\n", __func__,
H A Dqls_hw.c146 dev = ha->pci_dev;
251 QL_DPRINT1((ha->pci_dev, "%s: semlock failed\n", __func__));
317 QL_DPRINT1((ha->pci_dev, "%s: semlock failed\n", __func__));
384 device_printf(ha->pci_dev, "%s: [0x%08x, 0x%08x] failed\n",
404 QL_DPRINT1((ha->pci_dev, "%s: semlock failed\n", __func__));
422 QL_DPRINT1((ha->pci_dev, "%s: semlock failed\n", __func__));
494 QL_DPRINT1((ha->pci_dev, "%s: semlock failed\n", __func__));
550 dev = ha->pci_dev;
681 dev = ha->pci_dev;
834 QL_DPRINT2((ha->pci_dev, "
[all...]
H A Dqls_isr.c94 device_printf(ha->pci_dev,
131 device_t dev = ha->pci_dev;
263 device_printf(ha->pci_dev, "%s[%d %d 0x%x]: illegal \n",
307 device_t dev = ha->pci_dev;
374 dev = ha->pci_dev;
/freebsd-11-stable/sys/dev/cxgb/common/
H A Dcxgb_ctl_defs.h72 struct pci_dev;
81 struct pci_dev *pdev;
103 struct pci_dev *pdev;
/freebsd-11-stable/sys/dev/bhnd/cores/pci/
H A Dbhnd_pci_hostbvar.h229 device_t pci_dev; /**< host PCI device */ member in struct:bhnd_pcihb_softc
H A Dbhnd_pci_hostb.c230 sc->pci_dev = bhnd_find_bridge_root(dev, devclass_find("pci"));
231 if (sc->pci_dev == NULL) {
320 pci_write_config(sc->pci_dev, PCIR_LATTIMER, 0x20 /* 960ns */,
366 if (pci_set_max_read_req(sc->pci_dev, msize) == 0)
519 cfg = pcie_read_config(sc->pci_dev, PCIER_LINK_CTL, 2);
528 pcie_write_config(sc->pci_dev, PCIER_LINK_CTL, cfg, 2);
630 lcreg = pcie_read_config(sc->pci_dev, PCIER_LINK_CTL, 2);
636 pcie_write_config(sc->pci_dev, PCIER_LINK_CTL, lcreg, 2);
/freebsd-11-stable/sys/dev/qlnx/qlnxe/
H A Dqlnx_ioctl.c474 pci_cfg_rd_wr->val = pci_read_config(ha->pci_dev,
480 pci_write_config(ha->pci_dev, pci_cfg_rd_wr->reg,
564 "%d:%d:%d", pci_get_bus(ha->pci_dev),
565 pci_get_slot(ha->pci_dev), ha->pci_func);
789 device_printf(ha->pci_dev,
830 device_printf(ha->pci_dev,
843 device_printf(ha->pci_dev,
859 device_printf(ha->pci_dev,
868 device_printf(ha->pci_dev,
877 device_printf(ha->pci_dev,
[all...]
H A Dqlnx_def.h381 device_t pci_dev; member in struct:qlnx_host
553 device_printf ((ha)->pci_dev, \
563 device_printf ((ha)->pci_dev, \
573 device_printf ((ha)->pci_dev, \
583 device_printf ((ha)->pci_dev, \
593 device_printf ((ha)->pci_dev, \
603 device_printf ((ha)->pci_dev, \
613 device_printf ((ha)->pci_dev, \
623 device_printf ((ha)->pci_dev, \
633 device_printf ((ha)->pci_dev, \
[all...]
/freebsd-11-stable/sys/compat/linuxkpi/common/src/
H A Dlinux_pci.c140 struct pci_dev *pdev;
209 struct pci_dev *pdev;
231 struct pci_dev *pdev;
253 struct pci_dev *pdev;
275 struct pci_dev *pdev;
287 struct pci_dev *pdev;
302 struct pci_dev *pdev;
313 struct pci_dev *pdev;
336 pdrv->bsddriver.size = sizeof(struct pci_dev);
/freebsd-11-stable/sys/dev/hptmv/
H A Dvdevice.h163 ((pChip1)->pci_bus==(pChip2)->pci_bus && (pChip1)->pci_dev==(pChip2)->pci_dev)
166 ((pChip1)->pci_bus==(pChip2)->pci_bus && (pChip1)->pci_dev==(pChip2)->pci_dev && (pChip1)->pci_func==(pChip2)->pci_func)

Completed in 316 milliseconds

123