Home
last modified time | relevance | path

Searched refs:hw_dev (Results 1 – 25 of 28) sorted by relevance

12

/drivers/staging/comedi/drivers/
Dcb_pcimdas.c248 …dev_err(dev->hw_dev, "No supported ComputerBoards/MeasurementComputing card found on requested pos… in cb_pcimdas_attach()
253 dev_dbg(dev->hw_dev, "Found %s on bus %i, slot %i\n", in cb_pcimdas_attach()
262 dev_dbg(dev->hw_dev, "THIS CARD IS UNSUPPORTED.\n" in cb_pcimdas_attach()
267 dev_err(dev->hw_dev, "Failed to enable PCI device and request regions\n"); in cb_pcimdas_attach()
277 dev_dbg(dev->hw_dev, "devpriv->BADR0 = 0x%lx\n", devpriv->BADR0); in cb_pcimdas_attach()
278 dev_dbg(dev->hw_dev, "devpriv->BADR1 = 0x%lx\n", devpriv->BADR1); in cb_pcimdas_attach()
279 dev_dbg(dev->hw_dev, "devpriv->BADR2 = 0x%lx\n", devpriv->BADR2); in cb_pcimdas_attach()
280 dev_dbg(dev->hw_dev, "devpriv->BADR3 = 0x%lx\n", devpriv->BADR3); in cb_pcimdas_attach()
281 dev_dbg(dev->hw_dev, "devpriv->BADR4 = 0x%lx\n", devpriv->BADR4); in cb_pcimdas_attach()
345 dev_dbg(dev->hw_dev, "devpriv->BADR0 = 0x%lx\n", in cb_pcimdas_detach()
[all …]
Ddas800.c299 dev_dbg(dev->hw_dev, "Board model: DAS-800\n"); in das800_probe()
303 dev_dbg(dev->hw_dev, "Board model: CIO-DAS800\n"); in das800_probe()
306 dev_dbg(dev->hw_dev, "Board model (probed): DAS-800\n"); in das800_probe()
311 dev_dbg(dev->hw_dev, "Board model: DAS-801\n"); in das800_probe()
315 dev_dbg(dev->hw_dev, "Board model: CIO-DAS801\n"); in das800_probe()
318 dev_dbg(dev->hw_dev, "Board model (probed): DAS-801\n"); in das800_probe()
323 dev_dbg(dev->hw_dev, "Board model: DAS-802\n"); in das800_probe()
327 dev_dbg(dev->hw_dev, "Board model: CIO-DAS802\n"); in das800_probe()
331 dev_dbg(dev->hw_dev, "Board model: CIO-DAS802/16\n"); in das800_probe()
334 dev_dbg(dev->hw_dev, "Board model (probed): DAS-802\n"); in das800_probe()
[all …]
Ddaqboard2000.c505 dev_dbg(dev->hw_dev, "daqboard2000_resetLocalBus\n"); in daqboard2000_resetLocalBus()
514 dev_dbg(dev->hw_dev, "daqboard2000_reloadPLX\n"); in daqboard2000_reloadPLX()
525 dev_dbg(dev->hw_dev, "daqboard2000_pulseProgPin 1\n"); in daqboard2000_pulseProgPin()
577 dev_dbg(dev->hw_dev, "no serial eeprom\n"); in initialize_daqboard2000()
584 dev_dbg(dev->hw_dev, "Programming EEPROM try %x\n", retry); in initialize_daqboard2000()
595 dev_dbg(dev->hw_dev, "Preamble found at %d\n", in initialize_daqboard2000()
609 dev_dbg(dev->hw_dev, "Programmed\n"); in initialize_daqboard2000()
753 dev_err(dev->hw_dev, "no daqboard2000 found at bus/slot: %d/%d\n", in daqboard2000_attach()
756 dev_err(dev->hw_dev, "no daqboard2000 found\n"); in daqboard2000_attach()
766 dev_dbg(dev->hw_dev, "%s\n", in daqboard2000_attach()
[all …]
Dcontec_pci_dio.c199 dev_dbg(dev->hw_dev, "contec_do_insn_bits called\n"); in contec_do_insn_bits()
200 dev_dbg(dev->hw_dev, "data: %d %d\n", data[0], data[1]); in contec_do_insn_bits()
208 dev_dbg(dev->hw_dev, "out: %d on %lx\n", s->state, in contec_do_insn_bits()
220 dev_dbg(dev->hw_dev, "contec_di_insn_bits called\n"); in contec_di_insn_bits()
221 dev_dbg(dev->hw_dev, "data: %d %d\n", data[0], data[1]); in contec_di_insn_bits()
Ddt3000.c355 dev_dbg(dev->hw_dev, "dt3k_send_cmd() timeout/error status=0x%04x\n", in dt3k_send_cmd()
456 dev_dbg(dev->hw_dev, "reading %d samples\n", count); in dt3k_ai_empty_fifo()
644 dev_dbg(dev->hw_dev, "dt3k_ai_cmd:\n"); in dt3k_ai_cmd()
655 dev_dbg(dev->hw_dev, "param[0]=0x%04x\n", cmd->scan_end_arg); in dt3k_ai_cmd()
661 dev_dbg(dev->hw_dev, "param[1]=0x%04x\n", divider >> 16); in dt3k_ai_cmd()
663 dev_dbg(dev->hw_dev, "param[2]=0x%04x\n", divider & 0xffff); in dt3k_ai_cmd()
672 dev_dbg(dev->hw_dev, "param[3]=0x%04x\n", tscandiv >> 16); in dt3k_ai_cmd()
674 dev_dbg(dev->hw_dev, "param[4]=0x%04x\n", tscandiv & 0xffff); in dt3k_ai_cmd()
681 dev_dbg(dev->hw_dev, "param[5]=0x%04x\n", mode); in dt3k_ai_cmd()
683 dev_dbg(dev->hw_dev, "param[6]=0x%04x\n", aref == AREF_DIFF); in dt3k_ai_cmd()
[all …]
Dpcmuio.c298 dev_dbg(dev->hw_dev, "comedi%d: %s: io: %lx attached\n", dev->minor, in pcmuio_attach()
306 dev_err(dev->hw_dev, "I/O port conflict\n"); in pcmuio_attach()
321 dev_warn(dev->hw_dev, "cannot allocate private data structure\n"); in pcmuio_attach()
340 dev_warn(dev->hw_dev, "cannot allocate subdevice private data structures\n"); in pcmuio_attach()
351 dev_dbg(dev->hw_dev, "cannot allocate subdevice data structures\n"); in pcmuio_attach()
439 dev_dbg(dev->hw_dev, "irq: %u\n", irq[0]); in pcmuio_attach()
441 dev_dbg(dev->hw_dev, "second ASIC irq: %u\n", irq[1]); in pcmuio_attach()
443 dev_dbg(dev->hw_dev, "(IRQ mode disabled)\n"); in pcmuio_attach()
462 dev_dbg(dev->hw_dev, "comedi%d: %s: remove\n", dev->minor, in pcmuio_detach()
504 dev_dbg(dev->hw_dev, "write mask: %08x data: %08x\n", data[0], in pcmuio_dio_insn_bits()
[all …]
Ddas6402.c174 dev_warn(dev->hw_dev, "BUG: spurious interrupt\n"); in intr_handler()
231 dev_dbg(dev->hw_dev, "Stopping acquisition\n"); in das6402_ai_cancel()
247 dev_dbg(dev->hw_dev, "Starting acquisition\n"); in das6402_ai_mode2()
328 dev_err(dev->hw_dev, "I/O port conflict\n"); in das6402_attach()
336 dev_dbg(dev->hw_dev, "( irq = %u )\n", irq); in das6402_attach()
Dmite.h49 struct device *hw_dev; member
88 ring->hw_dev = get_device(&mite->pcidev->dev); in mite_alloc_ring()
89 if (ring->hw_dev == NULL) { in mite_alloc_ring()
103 dma_free_coherent(ring->hw_dev, in mite_free_ring()
109 put_device(ring->hw_dev); in mite_free_ring()
Dcb_das16_cs.c153 dev_dbg(dev->hw_dev, "unknown board!\n"); in das16cs_probe()
166 dev_dbg(dev->hw_dev, "comedi%d: cb_das16_cs: attached\n", dev->minor); in das16cs_attach()
173 dev_dbg(dev->hw_dev, "I/O base=0x%04lx\n", dev->iobase); in das16cs_attach()
175 dev_dbg(dev->hw_dev, "fingerprint:\n"); in das16cs_attach()
177 dev_dbg(dev->hw_dev, "%04x\n", inw(dev->iobase + i)); in das16cs_attach()
187 dev_dbg(dev->hw_dev, "irq=%u\n", dev->irq); in das16cs_attach()
260 dev_dbg(dev->hw_dev, "comedi%d: das16cs: remove\n", dev->minor); in das16cs_detach()
313 dev_dbg(dev->hw_dev, "cb_das16_cs: ai timeout\n"); in das16cs_ai_rinsn()
Ddas08_cs.c82 dev_info(dev->hw_dev, "comedi%d: das08_cs:\n", dev->minor); in das08_cs_attach()
87 dev_err(dev->hw_dev, "no pcmcia cards found\n"); in das08_cs_attach()
92 dev_err(dev->hw_dev, "bug! board does not have PCMCIA bustype\n"); in das08_cs_attach()
Dcb_pcidio.c224 …dev_err(dev->hw_dev, "No supported ComputerBoards/MeasurementComputing card found on requested pos… in pcidio_attach()
236 dev_dbg(dev->hw_dev, "Found %s on bus %i, slot %i\n", thisboard->name, in pcidio_attach()
257 dev_dbg(dev->hw_dev, "subdev %d: base = 0x%lx\n", i, in pcidio_attach()
Ddas1800.c576 dev_err(dev->hw_dev, " only supports dma channels 5 through 7\n" in das1800_init_dma()
583 dev_err(dev->hw_dev, "failed to allocate dma channel %i\n", in das1800_init_dma()
591 dev_err(dev->hw_dev, "failed to allocate dma channel %i\n", in das1800_init_dma()
648 dev_err(dev->hw_dev, "io base address required\n"); in das1800_attach()
663 dev_err(dev->hw_dev, "unable to determine board type\n"); in das1800_attach()
687 dev_dbg(dev->hw_dev, "unable to allocate irq %u\n", in das1800_attach()
717 dev_err(dev->hw_dev, "irq out of range\n"); in das1800_attach()
818 dev_dbg(dev->hw_dev, "comedi%d: %s: remove\n", dev->minor, in das1800_detach()
838 dev_dbg(dev->hw_dev, "Board model: %s\n", in das1800_probe()
848 dev_dbg(dev->hw_dev, "Board model: %s\n", in das1800_probe()
[all …]
Dgsc_hpdi.c306 struct pci_dev *hw_dev; /* pointer to board's pci_dev struct */ member
633 priv(dev)->hw_dev = pcidev; in hpdi_attach()
694 pci_alloc_consistent(priv(dev)->hw_dev, DMA_BUFFER_SIZE, in hpdi_attach()
701 priv(dev)->dma_desc = pci_alloc_consistent(priv(dev)->hw_dev, in hpdi_attach()
731 if ((priv(dev)) && (priv(dev)->hw_dev)) { in hpdi_detach()
741 pci_free_consistent(priv(dev)->hw_dev, in hpdi_detach()
751 pci_free_consistent(priv(dev)->hw_dev, in hpdi_detach()
758 comedi_pci_disable(priv(dev)->hw_dev); in hpdi_detach()
759 pci_dev_put(priv(dev)->hw_dev); in hpdi_detach()
Djr3_pci.c375 dev_dbg(dev->hw_dev, "jr3_pci_open\n"); in jr3_pci_open()
381 dev_dbg(dev->hw_dev, "serial: %p %d (%d)\n", p, in jr3_pci_open()
460 dev_dbg(dev->hw_dev, "Loading#%d %4.4x bytes at %4.4x\n", in jr3_download_firmware()
780 dev_err(dev->hw_dev, "sizeof(struct jr3_channel) = %x [expected %x]\n", in jr3_pci_attach()
835 dev_err(dev->hw_dev, "no jr3_pci found\n"); in jr3_pci_attach()
870 dev_dbg(dev->hw_dev, "p->channel %p %p (%tx)\n", in jr3_pci_attach()
911 dev_dbg(dev->hw_dev, "Firmare load %d\n", result); in jr3_pci_attach()
929 dev_dbg(dev->hw_dev, "%c\n", in jr3_pci_attach()
Dcb_pcidas.c600 …dev_err(dev->hw_dev, "No supported ComputerBoards/MeasurementComputing card found on requested pos… in cb_pcidas_attach()
605 dev_dbg(dev->hw_dev, "Found %s on bus %i, slot %i\n", in cb_pcidas_attach()
613 dev_err(dev->hw_dev, "Failed to enable PCI device and request regions\n"); in cb_pcidas_attach()
639 dev_dbg(dev->hw_dev, "unable to allocate irq %d\n", in cb_pcidas_attach()
776 dev_dbg(dev->hw_dev, "detaching, incsr is 0x%x\n", in cb_pcidas_detach()
858 dev_err(dev->hw_dev, "invalid calibration source: %i\n", in ai_config_calibration_source()
1280 dev_dbg(dev->hw_dev, "comedi: sent 0x%x to adcmux control\n", bits); in cb_pcidas_ai_cmd()
1307 dev_dbg(dev->hw_dev, "comedi: adc_fifo_bits are 0x%x\n", in cb_pcidas_ai_cmd()
1334 dev_dbg(dev->hw_dev, "comedi: sent 0x%x to trig control\n", bits); in cb_pcidas_ai_cmd()
1551 dev_dbg(dev->hw_dev, "comedi: adc_fifo_bits are 0x%x\n", in cb_pcidas_ao_inttrig()
[all …]
Dcb_pcidda.c313 dev_err(dev->hw_dev, "Not a ComputerBoards/MeasurementComputing card on requested position\n"); in cb_pcidda_attach()
320 dev_dbg(dev->hw_dev, "Found %s at requested position\n", in cb_pcidda_attach()
327 dev_err(dev->hw_dev, "cb_pcidda: failed to enable PCI device and request regions\n"); in cb_pcidda_attach()
377 dev_dbg(dev->hw_dev, "eeprom:\n"); in cb_pcidda_attach()
380 dev_dbg(dev->hw_dev, "%i:0x%x\n", index, devpriv->eeprom_data[index]); in cb_pcidda_attach()
Dcb_pcidas64.c1077 struct pci_dev *hw_dev; /* pointer to board's pci_dev struct */ member
1638 pci_alloc_consistent(priv(dev)->hw_dev, DMA_BUFFER_SIZE, in alloc_and_init_dma_members()
1647 pci_alloc_consistent(priv(dev)->hw_dev, in alloc_and_init_dma_members()
1658 pci_alloc_consistent(priv(dev)->hw_dev, in alloc_and_init_dma_members()
1669 pci_alloc_consistent(priv(dev)->hw_dev, in alloc_and_init_dma_members()
1767 priv(dev)->hw_dev = pcidev; in attach()
1781 dev_dbg(dev->hw_dev, "Found %s on bus %i, slot %i\n", board(dev)->name, in attach()
1785 dev_warn(dev->hw_dev, "failed to enable PCI device and request regions\n"); in attach()
1813 dev_warn(dev->hw_dev, "failed to remap io memory\n"); in attach()
1849 dev_dbg(dev->hw_dev, "stc hardware revision %i\n", in attach()
[all …]
Dadv_pci1710.c1385 dev_info(dev->hw_dev, "comedi%d: adv_pci1710:\n", dev->minor); in pci1710_attach()
1437 dev_err(dev->hw_dev, "- Card at b:s %d:%d %s\n", in pci1710_attach()
1440 dev_err(dev->hw_dev, "- Card %s\n", errstr); in pci1710_attach()
1451 dev_dbg(dev->hw_dev, "b:s:f=%d:%d:%d, io=0x%4lx\n", pci_bus, pci_slot, in pci1710_attach()
1482 dev_dbg(dev->hw_dev, "unable to allocate IRQ %d, DISABLING IT", in pci1710_attach()
1486 dev_dbg(dev->hw_dev, "irq=%u", irq); in pci1710_attach()
1489 dev_dbg(dev->hw_dev, "IRQ disabled"); in pci1710_attach()
Dserial2002.c827 dev_dbg(dev->hw_dev, "comedi%d: attached\n", dev->minor); in serial2002_attach()
835 dev_dbg(dev->hw_dev, "/dev/ttyS%d @ %d\n", devpriv->port, in serial2002_attach()
895 dev_dbg(dev->hw_dev, "comedi%d: remove\n", dev->minor); in serial2002_detach()
Dmite.c347 dma_free_coherent(ring->hw_dev, in mite_buf_change()
362 MDPRINTK("ring->hw_dev=%p, n_links=0x%04x\n", ring->hw_dev, n_links); in mite_buf_change()
365 dma_alloc_coherent(ring->hw_dev, in mite_buf_change()
Dpcl818.c1010 dev_dbg(dev->hw_dev, "pcl818_ai_cmd_mode()\n"); in pcl818_ai_cmd_mode()
1113 dev_dbg(dev->hw_dev, "pcl818_ai_cmd_mode() end\n"); in pcl818_ai_cmd_mode()
1456 dev_dbg(dev->hw_dev, "pcl818_ai_cmd()\n"); in ai_cmd()
1474 dev_dbg(dev->hw_dev, "pcl818_ai_cmd() end\n"); in ai_cmd()
1493 dev_dbg(dev->hw_dev, "pcl818_ai_cancel()\n"); in pcl818_ai_cancel()
1543 dev_dbg(dev->hw_dev, "pcl818_ai_cancel() end\n"); in pcl818_ai_cancel()
/drivers/staging/comedi/
Dcomedidev.h208 struct device *hw_dev; member
394 struct device *hw_dev) in comedi_set_hw_dev() argument
396 if (dev->hw_dev) in comedi_set_hw_dev()
397 put_device(dev->hw_dev); in comedi_set_hw_dev()
399 dev->hw_dev = hw_dev; in comedi_set_hw_dev()
400 if (dev->hw_dev) { in comedi_set_hw_dev()
401 dev->hw_dev = get_device(dev->hw_dev); in comedi_set_hw_dev()
402 BUG_ON(dev->hw_dev == NULL); in comedi_set_hw_dev()
Ddrivers.c446 dma_free_coherent(dev->hw_dev, in comedi_buf_alloc()
480 dma_alloc_coherent(dev->hw_dev, in comedi_buf_alloc()
525 dma_free_coherent(dev->hw_dev, in comedi_buf_alloc()
/drivers/net/wireless/p54/
Dled.c73 struct ieee80211_hw *dev = led->hw_dev; in p54_led_brightness_set()
97 led->hw_dev = priv->hw; in p54_register_led()
Dp54.h150 struct ieee80211_hw *hw_dev; member

12