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

123

/freebsd-12-stable/sys/dev/bhnd/cores/pcie2/
H A Dbhnd_pcie2_hostbvar.h69 device_t pci_dev; /**< host PCI device */ member in struct:bhnd_pcie2hb_softc
H A Dbhnd_pcie2_hostb.c118 sc->pci_dev = bhnd_find_bridge_root(dev, devclass_find("pci"));
119 if (sc->pci_dev == NULL) {
/freebsd-12-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;
232 struct pci_dev { struct
251 linux_pci_get_rle(struct pci_dev *pde
[all...]
/freebsd-12-stable/sys/dev/qlxgb/
H A Dqla_ioctl.c89 device_t pci_dev; local
94 pci_dev= ha->pci_dev;
137 pci_ids->ven_id = pci_get_vendor(pci_dev);
138 pci_ids->dev_id = pci_get_device(pci_dev);
139 pci_ids->subsys_ven_id = pci_get_subvendor(pci_dev);
140 pci_ids->subsys_dev_id = pci_get_subdevice(pci_dev);
141 pci_ids->rev_id = pci_read_config(pci_dev, PCIR_REVID, 1);
H A Dqla_os.c151 device_t dev = ha->pci_dev;
260 ha->pci_dev = dev;
307 device_get_nameunit(ha->pci_dev));
339 device_get_nameunit(ha->pci_dev));
463 QL_DPRINT2((ha->pci_dev, "%s: called ret %d\n", __func__, ret));
478 dev = ha->pci_dev;
546 dev = ha->pci_dev;
618 dev = ha->pci_dev;
758 QL_DPRINT2((ha->pci_dev, "%s: enter\n", __func__));
764 QL_DPRINT2((ha->pci_dev, "
[all...]
H A Dqla_misc.c214 device_printf(ha->pci_dev, "%s: invalid addr 0x%08x\n",
221 device_printf(ha->pci_dev, "%s: undefined map 0x%08x\n",
229 device_printf(ha->pci_dev, "%s: SEM7_LOCK failed\n", __func__);
297 device_printf(ha->pci_dev, "%s: failed[0x%08x]\n", __func__, data);
312 device_printf(ha->pci_dev, "%s: SEM2_LOCK failed\n", __func__);
353 device_printf(ha->pci_dev, "%s: SEM2_LOCK failed\n", __func__);
423 QL_DPRINT2((ha->pci_dev, "%s: val[0] = 0x%08x\n", __func__, sig));
426 QL_DPRINT2((ha->pci_dev, "%s: val[4] = 0x%08x\n", __func__, val));
432 QL_DPRINT2((ha->pci_dev, "%s: [sig,val]=[0x%08x, 0x%08x] %d pairs\n",
439 device_printf(ha->pci_dev, "
[all...]
H A Dqla_hw.c89 dev = ha->pci_dev;
144 dev = ha->pci_dev;
279 dev = ha->pci_dev;
396 QL_DPRINT2((ha->pci_dev, "%s: tx_cntxt_req = %p paddr %p\n",
398 QL_DPRINT2((ha->pci_dev, "%s: tx_cntxt_rsp = %p paddr %p\n",
400 QL_DPRINT2((ha->pci_dev, "%s: rx_cntxt_req = %p paddr %p\n",
402 QL_DPRINT2((ha->pci_dev, "%s: rx_cntxt_rsp = %p paddr %p\n",
404 QL_DPRINT2((ha->pci_dev, "%s: tx_cons = %p paddr %p\n",
421 dev = ha->pci_dev;
498 dev = ha->pci_dev;
[all...]
H A Dqla_isr.c74 device_printf(ha->pci_dev, "%s: ring[%d] index[0x%08x]"
81 device_printf(ha->pci_dev, "%s: ring[%d] index[0x%08x]"
190 device_printf(ha->pci_dev,
241 device_printf(ha->pci_dev,
274 dev = ha->pci_dev;
357 device_printf(ha->pci_dev, "%s: bogus sds_idx 0x%x\n", __func__,
391 dev = ha->pci_dev;
/freebsd-12-stable/sys/dev/qlxgbe/
H A Dql_misc.c80 device_printf(ha->pci_dev, "%s: [0x%08x, 0x%08x, %d] failed\n",
209 device_printf(ha->pci_dev,
230 device_printf(ha->pci_dev, "%s: Q8_FLASH_LOCK failed\n",
238 device_printf(ha->pci_dev,
247 device_printf(ha->pci_dev,
269 device_printf(ha->pci_dev,
278 device_printf(ha->pci_dev, "%s: Q8_FLASH_LOCK failed\n",
286 device_printf(ha->pci_dev,
295 device_printf(ha->pci_dev,
316 device_printf(ha->pci_dev,
[all...]
H A Dql_ioctl.c92 device_t pci_dev; local
111 pci_dev= ha->pci_dev;
230 device_printf(pci_dev, "%s: minidump not initialized\n", __func__);
240 device_printf(pci_dev,
249 device_printf(pci_dev, "%s: mindump allowed only on Port0\n", __func__);
265 device_printf(pci_dev,
277 device_printf(pci_dev, "%s: recovery initiated "
283 device_printf(pci_dev, "%s: QLA_LOCK() failed0\n", __func__);
300 device_printf(pci_dev,
[all...]
H A Dql_os.c166 device_t dev = ha->pci_dev;
289 device_printf(ha->pci_dev,
355 ha->pci_dev = dev;
544 device_get_nameunit(ha->pci_dev));
550 device_get_nameunit(ha->pci_dev));
556 device_get_nameunit(ha->pci_dev));
645 dev = ha->pci_dev;
746 dev = ha->pci_dev;
818 dev = ha->pci_dev;
968 QL_DPRINT2(ha, (ha->pci_dev, "
[all...]
H A Dql_hw.c93 device_printf(ha->pci_dev, "%s PEGS HALTED!!!!!\n", __func__);
188 device_printf(ha->pci_dev, "%s: failed\n", __func__);
195 device_printf(ha->pci_dev, "%s: failed\n", __func__);
223 device_printf(ha->pci_dev, "%s: failed\n", __func__);
227 device_printf(ha->pci_dev, "%s: ret = %d\n", __func__, ret);
249 device_printf(ha->pci_dev, "%s: failed\n", __func__);
262 ctx = device_get_sysctl_ctx(ha->pci_dev);
263 children = SYSCTL_CHILDREN(device_get_sysctl_tree(ha->pci_dev));
479 ctx = device_get_sysctl_ctx(ha->pci_dev);
480 children = SYSCTL_CHILDREN(device_get_sysctl_tree(ha->pci_dev));
[all...]
H A Dql_isr.c94 device_printf(ha->pci_dev,
118 device_printf(ha->pci_dev,
253 device_printf(ha->pci_dev,
277 device_printf(ha->pci_dev,
393 device_printf(ha->pci_dev, "%s: opcode=0 %p %p\n",
401 device_printf(ha->pci_dev, "%s: opcode=0 %p %p\n",
462 device_printf(ha->pci_dev,
498 dev = ha->pci_dev;
832 device_printf(ha->pci_dev,
856 device_printf(ha->pci_dev, "
[all...]
/freebsd-12-stable/sys/dev/qlxge/
H A Dqls_ioctl.c88 device_t pci_dev; local
95 pci_dev= ha->pci_dev;
117 device_printf(ha->pci_dev,
H A Dqls_os.c170 device_printf(ha->pci_dev,
175 device_printf(ha->pci_dev,
180 device_printf(ha->pci_dev,
185 device_printf(ha->pci_dev,
190 device_printf(ha->pci_dev,
195 device_printf(ha->pci_dev,
200 device_printf(ha->pci_dev,
208 device_printf(ha->pci_dev,
213 device_printf(ha->pci_dev,
218 device_printf(ha->pci_dev,
[all...]
H A Dqls_dbg.c57 dev = ha->pci_dev;
99 dev = ha->pci_dev;
161 dev = ha->pci_dev;
280 device_printf(ha->pci_dev, "%s: lbq_addr_tbl_paddr %p\n", __func__,
286 device_printf(ha->pci_dev, "%s: lbq_paddr %p\n", __func__,
292 device_printf(ha->pci_dev, "%s: sbq_addr_tbl_paddr %p\n", __func__,
298 device_printf(ha->pci_dev, "%s: sbq_paddr %p\n", __func__,
304 device_printf(ha->pci_dev, "%s: lb_paddr %p\n", __func__,
H A Dqls_hw.c148 dev = ha->pci_dev;
253 QL_DPRINT1((ha->pci_dev, "%s: semlock failed\n", __func__));
319 QL_DPRINT1((ha->pci_dev, "%s: semlock failed\n", __func__));
386 device_printf(ha->pci_dev, "%s: [0x%08x, 0x%08x] failed\n",
406 QL_DPRINT1((ha->pci_dev, "%s: semlock failed\n", __func__));
424 QL_DPRINT1((ha->pci_dev, "%s: semlock failed\n", __func__));
496 QL_DPRINT1((ha->pci_dev, "%s: semlock failed\n", __func__));
552 dev = ha->pci_dev;
683 dev = ha->pci_dev;
836 QL_DPRINT2((ha->pci_dev, "
[all...]
H A Dqls_isr.c98 device_printf(ha->pci_dev,
135 device_t dev = ha->pci_dev;
267 device_printf(ha->pci_dev, "%s[%d %d 0x%x]: illegal \n",
311 device_t dev = ha->pci_dev;
378 dev = ha->pci_dev;
/freebsd-12-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-12-stable/sys/dev/bhnd/cores/pci/
H A Dbhnd_pci_hostbvar.h231 device_t pci_dev; /**< host PCI device */ member in struct:bhnd_pcihb_softc
/freebsd-12-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-12-stable/sys/dev/bhnd/bhndb/
H A Dbhndb_pci.c92 device_t pci_dev, const struct bhndb_regwin *,
94 static int bhndb_pci_fast_setregwin(device_t dev, device_t pci_dev,
164 device_t pci_dev; /**< parent PCI device */ member in struct:bhndb_pci_probe
900 bhndb_pci_compat_setregwin(device_t dev, device_t pci_dev, argument
911 if ((error = bhndb_pci_fast_setregwin(dev, pci_dev, rw, addr)))
914 if (pci_read_config(pci_dev, reg, 4) == addr)
928 bhndb_pci_fast_setregwin(device_t dev, device_t pci_dev, argument
942 pci_write_config(pci_dev, rw->d.dyn.cfg_offset, addr, 4);
1051 device_t pci_dev; local
1056 pci_dev
1104 device_t pci_dev; local
[all...]
H A Dbhndb_pcivar.h52 typedef int (*bhndb_pci_set_regwin_t)(device_t dev, device_t pci_dev,
/freebsd-12-stable/sys/dev/hptmv/
H A Dvdevice.h165 ((pChip1)->pci_bus==(pChip2)->pci_bus && (pChip1)->pci_dev==(pChip2)->pci_dev)
168 ((pChip1)->pci_bus==(pChip2)->pci_bus && (pChip1)->pci_dev==(pChip2)->pci_dev && (pChip1)->pci_func==(pChip2)->pci_func)

Completed in 140 milliseconds

123