Home
last modified time | relevance | path

Searched refs:pdev (Results 1 – 25 of 251) sorted by relevance

1234567891011

/freebsd/lib/libusb/
H A Dlibusb20.c134 error = xfer->pdev->methods->tr_close(xfer); in libusb20_tr_close()
211 error = xfer->pdev->methods->tr_open(xfer, MaxBufSize, in libusb20_tr_open_stream()
214 error = xfer->pdev->methods->tr_open(xfer, MaxBufSize, in libusb20_tr_open_stream()
228 libusb20_tr_get_pointer(struct libusb20_device *pdev, uint16_t trIndex) in libusb20_tr_get_pointer() argument
230 if (trIndex >= pdev->nTransfer) { in libusb20_tr_get_pointer()
233 return (pdev->pTransfer + trIndex); in libusb20_tr_get_pointer()
324 xfer->pdev->methods->tr_cancel_async(xfer); in libusb20_tr_stop()
347 xfer->pdev->methods->tr_clear_stall_sync(xfer); in libusb20_tr_clear_stall_sync()
475 struct libusb20_device *pdev = xfer->pdev; in libusb20_tr_bulk_intr_sync() local
504 while (libusb20_dev_process(pdev) == 0) { in libusb20_tr_bulk_intr_sync()
[all …]
H A Dlibusb20_ugen20.c133 ugen20_enumerate(struct libusb20_device *pdev, const char *id) in ugen20_enumerate() argument
144 pdev->bus_number = ugen20_path_convert_one(&tmp); in ugen20_enumerate()
145 pdev->device_address = ugen20_path_convert_one(&tmp); in ugen20_enumerate()
148 pdev->bus_number, pdev->device_address); in ugen20_enumerate()
159 pdev->session_data.plugtime = plugtime; in ugen20_enumerate()
165 LIBUSB20_INIT(LIBUSB20_DEVICE_DESC, &(pdev->ddesc)); in ugen20_enumerate()
167 libusb20_me_decode(&ddesc, sizeof(ddesc), &(pdev->ddesc)); in ugen20_enumerate()
169 if (pdev->ddesc.bNumConfigurations == 0) { in ugen20_enumerate()
172 } else if (pdev->ddesc.bNumConfigurations >= 8) { in ugen20_enumerate()
182 pdev->usb_mode = LIBUSB20_MODE_DEVICE; in ugen20_enumerate()
[all …]
H A Dlibusb20.h210 struct libusb20_transfer *libusb20_tr_get_pointer(struct libusb20_device *pdev, uint16_t tr_index);
245 const char *libusb20_dev_get_backend_name(struct libusb20_device *pdev);
246 const char *libusb20_dev_get_desc(struct libusb20_device *pdev);
247 int libusb20_dev_close(struct libusb20_device *pdev);
248 int libusb20_dev_detach_kernel_driver(struct libusb20_device *pdev, uint8_t iface_index);
249 int libusb20_dev_set_config_index(struct libusb20_device *pdev, uint8_t configIndex);
250 int libusb20_dev_get_debug(struct libusb20_device *pdev);
251 int libusb20_dev_get_fd(struct libusb20_device *pdev);
252 int libusb20_dev_get_stats(struct libusb20_device *pdev, struct libusb20_device_stats *pstat);
253 int libusb20_dev_kernel_driver_active(struct libusb20_device *pdev, uint8_t iface_index);
[all …]
H A Dlibusb10.c365 struct libusb20_device *pdev, *parent_dev; in libusb_get_device_list() local
382 pdev = NULL; in libusb_get_device_list()
384 while ((pdev = libusb20_be_device_foreach(usb_backend, pdev))) in libusb_get_device_list()
395 while ((pdev = libusb20_be_device_foreach(usb_backend, NULL))) { in libusb_get_device_list()
409 libusb20_be_dequeue_device(usb_backend, pdev); in libusb_get_device_list()
423 dev->os_priv = pdev; in libusb_get_device_list()
424 pdev->privLuData = dev; in libusb_get_device_list()
433 pdev = (*list)[j]->os_priv; in libusb_get_device_list()
441 if (parent_dev->bus_number != pdev->bus_number) in libusb_get_device_list()
443 if (parent_dev->device_address == pdev->parent_address) { in libusb_get_device_list()
[all …]
H A Dlibusb20_int.h52 typedef int (libusb20_close_device_t)(struct libusb20_device *pdev);
53 typedef int (libusb20_dev_get_info_t)(struct libusb20_device *pdev, struct usb_device_info *pinfo);
54 typedef int (libusb20_dev_get_iface_desc_t)(struct libusb20_device *pdev, uint8_t iface_index, char…
56 typedef int (libusb20_open_device_t)(struct libusb20_device *pdev, uint16_t transfer_count_max);
94 typedef int (libusb20_detach_kernel_driver_t)(struct libusb20_device *pdev, uint8_t iface_index);
95 typedef int (libusb20_do_request_sync_t)(struct libusb20_device *pdev, struct LIBUSB20_CONTROL_SETU…
96 typedef int (libusb20_get_config_desc_full_t)(struct libusb20_device *pdev, uint8_t **ppbuf, uint16…
97 typedef int (libusb20_get_config_index_t)(struct libusb20_device *pdev, uint8_t *pindex);
98 typedef int (libusb20_kernel_driver_active_t)(struct libusb20_device *pdev, uint8_t iface_index);
99 typedef int (libusb20_process_t)(struct libusb20_device *pdev);
[all …]
/freebsd/tools/tools/usbtest/
H A Dusb_control_ep_test.c80 struct libusb20_device *pdev; in usb_control_ep_error_test() local
88 pdev = find_usb_device(uaddr); in usb_control_ep_error_test()
89 if (pdev == NULL) { in usb_control_ep_error_test()
93 error = libusb20_dev_open(pdev, 0); in usb_control_ep_error_test()
96 libusb20_dev_free(pdev); in usb_control_ep_error_test()
100 bus = libusb20_dev_get_bus_number(pdev); in usb_control_ep_error_test()
101 dev = libusb20_dev_get_address(pdev); in usb_control_ep_error_test()
116 error = libusb20_dev_request_sync(pdev, &req, buffer, in usb_control_ep_error_test()
127 error = libusb20_dev_request_sync(pdev, &req, buffer, in usb_control_ep_error_test()
132 error = libusb20_dev_request_sync(pdev, &req, buffer, in usb_control_ep_error_test()
[all …]
/freebsd/sys/dev/xen/pcifront/
H A Dpcifront.c108 struct pcifront_device *pdev; member
115 struct pcifront_device *pdev = NULL; in alloc_pdev() local
122 xenbus_dev_fatal(pdev->xdev, err, "Error scanning pci device instance number"); in alloc_pdev()
126 pdev = (struct pcifront_device *)malloc(sizeof(struct pcifront_device), M_DEVBUF, M_NOWAIT); in alloc_pdev()
127 if (pdev == NULL) { in alloc_pdev()
132 pdev->unit = unit; in alloc_pdev()
133 pdev->xdev = xdev; in alloc_pdev()
134 pdev->ref_cnt = 1; in alloc_pdev()
136 pdev->sh_info = (struct xen_pci_sharedinfo *)malloc(PAGE_SIZE, M_DEVBUF, M_NOWAIT); in alloc_pdev()
137 if (pdev->sh_info == NULL) { in alloc_pdev()
[all …]
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_pci.c170 linux_pdev_dma_uninit(struct pci_dev *pdev) in linux_pdev_dma_uninit() argument
174 priv = pdev->dev.dma_priv; in linux_pdev_dma_uninit()
180 pdev->dev.dma_priv = NULL; in linux_pdev_dma_uninit()
186 linux_pdev_dma_init(struct pci_dev *pdev) in linux_pdev_dma_init() argument
196 pdev->dev.dma_priv = priv; in linux_pdev_dma_init()
199 error = linux_dma_tag_init(&pdev->dev, DMA_BIT_MASK(64)); in linux_pdev_dma_init()
203 error = linux_dma_tag_init_coherent(&pdev->dev, DMA_BIT_MASK(32)); in linux_pdev_dma_init()
210 linux_pdev_dma_uninit(pdev); in linux_pdev_dma_init()
311 struct pci_dev *pdev, *found; in lkpi_pci_get_device() local
315 list_for_each_entry(pdev, &pci_devices, links) { in lkpi_pci_get_device()
[all …]
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dpci.h372 int pci_alloc_irq_vectors(struct pci_dev *pdev, int minv, int maxv,
374 bool pci_device_is_present(struct pci_dev *pdev);
376 int linuxkpi_pcim_enable_device(struct pci_dev *pdev);
377 void __iomem **linuxkpi_pcim_iomap_table(struct pci_dev *pdev);
382 void linuxkpi_pci_iounmap(struct pci_dev *pdev, void *res);
383 int linuxkpi_pcim_iomap_regions(struct pci_dev *pdev, uint32_t mask,
386 int linuxkpi_pci_request_regions(struct pci_dev *pdev, const char *res_name);
388 void linuxkpi_pci_release_region(struct pci_dev *pdev, int bar);
389 void linuxkpi_pci_release_regions(struct pci_dev *pdev);
390 int linuxkpi_pci_enable_msix(struct pci_dev *pdev, struct msix_entry *entries,
[all …]
H A Dvgaarb.h69 extern void vga_set_legacy_decoding(struct pci_dev *pdev,
72 static inline void vga_set_legacy_decoding(struct pci_dev *pdev, in vga_set_legacy_decoding() argument
105 extern int vga_get(struct pci_dev *pdev, unsigned int rsrc, int interruptible);
107 static inline int vga_get(struct pci_dev *pdev, unsigned int rsrc, int interruptible) { return 0; } in vga_get() argument
116 static inline int vga_get_interruptible(struct pci_dev *pdev, in vga_get_interruptible() argument
119 return vga_get(pdev, rsrc, 1); in vga_get_interruptible()
128 static inline int vga_get_uninterruptible(struct pci_dev *pdev, in vga_get_uninterruptible() argument
131 return vga_get(pdev, rsrc, 0); in vga_get_uninterruptible()
146 extern int vga_tryget(struct pci_dev *pdev, unsigned int rsrc);
148 static inline int vga_tryget(struct pci_dev *pdev, unsigned int rsrc) { return 0; } in vga_tryget() argument
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/
H A Dpci.c22 static int mt7615_pci_probe(struct pci_dev *pdev, in mt7615_pci_probe() argument
28 ret = pcim_enable_device(pdev); in mt7615_pci_probe()
32 ret = pcim_iomap_regions(pdev, BIT(0), pci_name(pdev)); in mt7615_pci_probe()
36 pci_set_master(pdev); in mt7615_pci_probe()
38 ret = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_ALL_TYPES); in mt7615_pci_probe()
42 ret = dma_set_mask(&pdev->dev, DMA_BIT_MASK(32)); in mt7615_pci_probe()
46 mt76_pci_disable_aspm(pdev); in mt7615_pci_probe()
49 ret = mt7615_mmio_probe(&pdev->dev, pcim_iomap_table(pdev)[0], in mt7615_pci_probe()
50 pdev->irq, map); in mt7615_pci_probe()
56 pci_free_irq_vectors(pdev); in mt7615_pci_probe()
[all …]
/freebsd/sys/dev/ow/
H A Down.h38 own_send_command(device_t pdev, struct ow_cmd *cmd) in own_send_command() argument
40 device_t ndev = device_get_parent(pdev); in own_send_command()
42 return OWN_SEND_COMMAND(ndev, pdev, cmd); in own_send_command()
52 own_acquire_bus(device_t pdev, int how) in own_acquire_bus() argument
54 device_t ndev = device_get_parent(pdev); in own_acquire_bus()
56 return OWN_ACQUIRE_BUS(ndev, pdev, how); in own_acquire_bus()
60 own_release_bus(device_t pdev) in own_release_bus() argument
62 device_t ndev = device_get_parent(pdev); in own_release_bus()
64 OWN_RELEASE_BUS(ndev, pdev); in own_release_bus()
68 own_crc(device_t pdev, uint8_t *buffer, size_t len) in own_crc() argument
[all …]
/freebsd/usr.sbin/usbconfig/
H A Ddump.c59 #define DUMP0(n,type,field,...) dump_field(pdev, " ", #field, n->field);
60 #define DUMP0L(n,type,field,...) dump_fieldl(pdev, " ", #field, n->field);
61 #define DUMP1(n,type,field,...) dump_field(pdev, " ", #field, n->field);
62 #define DUMP2(n,type,field,...) dump_field(pdev, " ", #field, n->field);
63 #define DUMP3(n,type,field,...) dump_field(pdev, " ", #field, n->field);
132 _dump_field(struct libusb20_device *pdev, const char *plevel, in _dump_field() argument
196 if (libusb20_dev_req_string_simple_sync(pdev, value, in _dump_field()
287 dump_field(struct libusb20_device *pdev, const char *plevel, in dump_field() argument
290 _dump_field(pdev, plevel, field, value, false); in dump_field()
294 dump_fieldl(struct libusb20_device *pdev, const char *plevel, in dump_fieldl() argument
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/
H A Dpci.c76 static struct mt7915_hif *mt7915_pci_init_hif2(struct pci_dev *pdev) in mt7915_pci_init_hif2() argument
100 pcim_iomap_table(pdev)[0] + MT_PCIE_RECOG_ID); in mt7915_pci_init_hif2()
102 (u8 *)(pcim_iomap_table(pdev)[0]) + MT_PCIE_RECOG_ID); in mt7915_pci_init_hif2()
108 static int mt7915_pci_hif2_probe(struct pci_dev *pdev) in mt7915_pci_hif2_probe() argument
112 hif = devm_kzalloc(&pdev->dev, sizeof(*hif), GFP_KERNEL); in mt7915_pci_hif2_probe()
116 hif->dev = &pdev->dev; in mt7915_pci_hif2_probe()
117 hif->regs = pcim_iomap_table(pdev)[0]; in mt7915_pci_hif2_probe()
118 hif->irq = pdev->irq; in mt7915_pci_hif2_probe()
122 pci_set_drvdata(pdev, hif); in mt7915_pci_hif2_probe()
127 static int mt7915_pci_probe(struct pci_dev *pdev, in mt7915_pci_probe() argument
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt76x2/
H A Dpci.c20 mt76x2e_probe(struct pci_dev *pdev, const struct pci_device_id *id) in mt76x2e_probe() argument
42 ret = pcim_enable_device(pdev); in mt76x2e_probe()
46 ret = pcim_iomap_regions(pdev, BIT(0), pci_name(pdev)); in mt76x2e_probe()
50 pci_set_master(pdev); in mt76x2e_probe()
52 ret = dma_set_mask(&pdev->dev, DMA_BIT_MASK(32)); in mt76x2e_probe()
56 mdev = mt76_alloc_device(&pdev->dev, sizeof(*dev), &mt76x2_ops, in mt76x2e_probe()
62 mt76_mmio_init(mdev, pcim_iomap_table(pdev)[0]); in mt76x2e_probe()
70 ret = devm_request_irq(mdev->dev, pdev->irq, mt76x02_irq_handler, in mt76x2e_probe()
90 mt76_pci_disable_aspm(pdev); in mt76x2e_probe()
101 mt76x2e_remove(struct pci_dev *pdev) in mt76x2e_remove() argument
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt7996/
H A Dpci.c72 static struct mt7996_hif *mt7996_pci_init_hif2(struct pci_dev *pdev) in mt7996_pci_init_hif2() argument
89 pcim_iomap_table(pdev)[0] + MT_PCIE_RECOG_ID); in mt7996_pci_init_hif2()
91 (u8 *)(pcim_iomap_table(pdev)[0]) + MT_PCIE_RECOG_ID); in mt7996_pci_init_hif2()
97 static int mt7996_pci_hif2_probe(struct pci_dev *pdev) in mt7996_pci_hif2_probe() argument
101 hif = devm_kzalloc(&pdev->dev, sizeof(*hif), GFP_KERNEL); in mt7996_pci_hif2_probe()
105 hif->dev = &pdev->dev; in mt7996_pci_hif2_probe()
106 hif->regs = pcim_iomap_table(pdev)[0]; in mt7996_pci_hif2_probe()
107 hif->irq = pdev->irq; in mt7996_pci_hif2_probe()
111 pci_set_drvdata(pdev, hif); in mt7996_pci_hif2_probe()
116 static int mt7996_pci_probe(struct pci_dev *pdev, in mt7996_pci_probe() argument
[all …]
/freebsd/sys/dev/ena/
H A Dena.c210 device_t pdev = adapter->pdev; in ena_dma_alloc() local
234 ena_log(pdev, ERR, "bus_dma_tag_create failed: %d\n", error); in ena_dma_alloc()
240 ena_log(pdev, ERR, "bus_dma_tag_set_domain failed: %d\n", in ena_dma_alloc()
248 ena_log(pdev, ERR, "bus_dmamem_alloc(%ju) failed: %d\n", in ena_dma_alloc()
257 ena_log(pdev, ERR, "bus_dmamap_load failed: %d\n", error); in ena_dma_alloc()
281 device_t pdev = adapter->pdev; in ena_free_pci_resources() local
284 bus_release_resource(pdev, SYS_RES_MEMORY, in ena_free_pci_resources()
289 bus_release_resource(pdev, SYS_RES_MEMORY, in ena_free_pci_resources()
294 bus_release_resource(pdev, SYS_RES_MEMORY, adapter->msix_rid, in ena_free_pci_resources()
330 device_t pdev = adapter->pdev; in ena_change_mtu() local
[all …]
/freebsd/sys/dev/qat/qat_common/
H A Dadf_aer.c73 device_t pdev = accel_to_pci_dev(accel_dev); in adf_reset_sbr() local
74 device_t parent = device_get_parent(device_get_parent(pdev)); in adf_reset_sbr()
81 parent = pdev; in adf_reset_sbr()
83 if (!pcie_wait_for_pending_transactions(pdev, 0)) in adf_reset_sbr()
89 pci_save_state(pdev); in adf_reset_sbr()
97 pci_restore_state(pdev); in adf_reset_sbr()
103 device_t pdev = accel_to_pci_dev(accel_dev); in adf_reset_flr() local
105 pci_save_state(pdev); in adf_reset_flr()
106 if (pcie_flr(pdev, in adf_reset_flr()
107 max(pcie_get_max_completion_timeout(pdev) / 1000, 10), in adf_reset_flr()
[all …]
/freebsd/sys/contrib/dev/iwlwifi/pcie/
H A Dutils.c12 void iwl_trans_pcie_dump_regs(struct iwl_trans *trans, struct pci_dev *pdev) in iwl_trans_pcie_dump_regs() argument
45 sprintf(prefix, "iwlwifi %s: ", pci_name(pdev)); in iwl_trans_pcie_dump_regs()
48 if (pci_read_config_dword(pdev, i, ptr)) in iwl_trans_pcie_dump_regs()
65 pos = pci_find_ext_capability(pdev, PCI_EXT_CAP_ID_ERR); in iwl_trans_pcie_dump_regs()
69 if (pci_read_config_dword(pdev, pos + i, ptr)) in iwl_trans_pcie_dump_regs()
80 if (!pdev->bus->self) in iwl_trans_pcie_dump_regs()
83 pdev = pdev->bus->self; in iwl_trans_pcie_dump_regs()
84 sprintf(prefix, "iwlwifi %s: ", pci_name(pdev)); in iwl_trans_pcie_dump_regs()
87 pci_name(pdev)); in iwl_trans_pcie_dump_regs()
89 if (pci_read_config_dword(pdev, i, ptr)) in iwl_trans_pcie_dump_regs()
[all …]
/freebsd/sys/dev/clk/
H A Dclkdev_if.m38 device_t pdev;
40 pdev = device_get_parent(dev);
41 if (pdev == NULL)
44 return (CLKDEV_WRITE_4(pdev, addr, val));
50 device_t pdev;
52 pdev = device_get_parent(dev);
53 if (pdev == NULL)
56 return (CLKDEV_READ_4(pdev, addr, val));
63 device_t pdev;
65 pdev = device_get_parent(dev);
[all …]
/freebsd/sys/dev/qat/qat_hw/qat_c4xxx/
H A Dadf_c4xxx_reset.c10 device_t pdev = accel_dev->accel_pci_dev.pci_dev; in adf_check_uncorr_status() local
12 uncorr_err = pci_read_config(pdev, PCI_EXP_AERUCS, 4); in adf_check_uncorr_status()
25 device_t pdev = accel_dev->accel_pci_dev.pci_dev; in adf_c4xxx_dev_reset() local
32 device_id1 = pci_read_config(pdev, PCIR_DEVICE, 2); in adf_c4xxx_dev_reset()
38 device_id2 = pci_read_config(pdev, PCIR_DEVICE, 2); in adf_c4xxx_dev_reset()
57 device_t pdev = accel_dev->accel_pci_dev.pci_dev; in adf_c4xxx_dev_restore() local
69 pmisclbar1 = pci_read_config(pdev, ADF_PMISC_L_OFFSET, 4); in adf_c4xxx_dev_restore()
70 pmiscubar1 = pci_read_config(pdev, ADF_PMISC_U_OFFSET, 4); in adf_c4xxx_dev_restore()
73 pci_restore_state(pdev); in adf_c4xxx_dev_restore()
76 pmisclbar2 = pci_read_config(pdev, ADF_PMISC_L_OFFSET, 4); in adf_c4xxx_dev_restore()
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt76x0/
H A Dpci.c154 mt76x0e_probe(struct pci_dev *pdev, const struct pci_device_id *id) in mt76x0e_probe() argument
176 ret = pcim_enable_device(pdev); in mt76x0e_probe()
180 ret = pcim_iomap_regions(pdev, BIT(0), pci_name(pdev)); in mt76x0e_probe()
184 pci_set_master(pdev); in mt76x0e_probe()
186 ret = dma_set_mask(&pdev->dev, DMA_BIT_MASK(32)); in mt76x0e_probe()
190 mt76_pci_disable_aspm(pdev); in mt76x0e_probe()
192 mdev = mt76_alloc_device(&pdev->dev, sizeof(*dev), &mt76x0e_ops, in mt76x0e_probe()
200 mt76_mmio_init(mdev, pcim_iomap_table(pdev)[0]); in mt76x0e_probe()
207 ret = devm_request_irq(mdev->dev, pdev->irq, mt76x02_irq_handler, in mt76x0e_probe()
235 mt76x0e_remove(struct pci_dev *pdev) in mt76x0e_remove() argument
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt7603/
H A Dpci.c15 mt76pci_probe(struct pci_dev *pdev, const struct pci_device_id *id) in mt76pci_probe() argument
21 ret = pcim_enable_device(pdev); in mt76pci_probe()
25 ret = pcim_iomap_regions(pdev, BIT(0), pci_name(pdev)); in mt76pci_probe()
29 pci_set_master(pdev); in mt76pci_probe()
31 ret = dma_set_mask(&pdev->dev, DMA_BIT_MASK(32)); in mt76pci_probe()
35 mdev = mt76_alloc_device(&pdev->dev, sizeof(*dev), &mt7603_ops, in mt76pci_probe()
41 mt76_mmio_init(mdev, pcim_iomap_table(pdev)[0]); in mt76pci_probe()
49 ret = devm_request_irq(mdev->dev, pdev->irq, mt7603_irq_handler, in mt76pci_probe()
66 mt76pci_remove(struct pci_dev *pdev) in mt76pci_remove() argument
68 struct mt76_dev *mdev = pci_get_drvdata(pdev); in mt76pci_remove()
/freebsd/sys/contrib/dev/mediatek/mt76/mt7921/
H A Dpci.c237 static int mt7921_pci_probe(struct pci_dev *pdev, in mt7921_pci_probe() argument
287 ret = pcim_enable_device(pdev); in mt7921_pci_probe()
291 ret = pcim_iomap_regions(pdev, BIT(0), pci_name(pdev)); in mt7921_pci_probe()
295 pci_read_config_word(pdev, PCI_COMMAND, &cmd); in mt7921_pci_probe()
298 pci_write_config_word(pdev, PCI_COMMAND, cmd); in mt7921_pci_probe()
300 pci_set_master(pdev); in mt7921_pci_probe()
302 ret = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_ALL_TYPES); in mt7921_pci_probe()
306 ret = dma_set_mask(&pdev->dev, DMA_BIT_MASK(32)); in mt7921_pci_probe()
311 mt76_pci_disable_aspm(pdev); in mt7921_pci_probe()
313 ops = mt792x_get_mac80211_ops(&pdev->dev, &mt7921_ops, in mt7921_pci_probe()
[all …]
/freebsd/sys/contrib/dev/athk/ath12k/
H A Dtrace.h79 __entry->info = ar->pdev->timestamp.info;
80 __entry->sync_tstmp_lo_us = ar->pdev->timestamp.sync_timestamp_hi_us;
81 __entry->sync_tstmp_hi_us = ar->pdev->timestamp.sync_timestamp_lo_us;
82 __entry->mlo_offset_lo = ar->pdev->timestamp.mlo_offset_lo;
83 __entry->mlo_offset_hi = ar->pdev->timestamp.mlo_offset_hi;
84 __entry->mlo_offset_clks = ar->pdev->timestamp.mlo_offset_clks;
85 __entry->mlo_comp_clks = ar->pdev->timestamp.mlo_comp_clks;
86 __entry->mlo_comp_timer = ar->pdev->timestamp.mlo_comp_timer;
124 __entry->info = ar->pdev->timestamp.info;
125 __entry->sync_tstmp_lo_us = ar->pdev->timestamp.sync_timestamp_hi_us;
[all …]

1234567891011