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

12

/drivers/staging/comedi/drivers/
H A Dcb_pcimdas.c248 dev_err(dev->hw_dev, "No supported ComputerBoards/MeasurementComputing card found on requested position\n");
253 dev_dbg(dev->hw_dev, "Found %s on bus %i, slot %i\n",
262 dev_dbg(dev->hw_dev, "THIS CARD IS UNSUPPORTED.\n"
267 dev_err(dev->hw_dev, "Failed to enable PCI device and request regions\n");
277 dev_dbg(dev->hw_dev, "devpriv->BADR0 = 0x%lx\n", devpriv->BADR0);
278 dev_dbg(dev->hw_dev, "devpriv->BADR1 = 0x%lx\n", devpriv->BADR1);
279 dev_dbg(dev->hw_dev, "devpriv->BADR2 = 0x%lx\n", devpriv->BADR2);
280 dev_dbg(dev->hw_dev, "devpriv->BADR3 = 0x%lx\n", devpriv->BADR3);
281 dev_dbg(dev->hw_dev, "devpriv->BADR4 = 0x%lx\n", devpriv->BADR4);
345 dev_dbg(dev->hw_dev, "devpri
[all...]
H A Dcontec_pci_dio.c199 dev_dbg(dev->hw_dev, "contec_do_insn_bits called\n");
200 dev_dbg(dev->hw_dev, "data: %d %d\n", data[0], data[1]);
208 dev_dbg(dev->hw_dev, "out: %d on %lx\n", s->state,
220 dev_dbg(dev->hw_dev, "contec_di_insn_bits called\n");
221 dev_dbg(dev->hw_dev, "data: %d %d\n", data[0], data[1]);
H A Ddas800.c299 dev_dbg(dev->hw_dev, "Board model: DAS-800\n");
303 dev_dbg(dev->hw_dev, "Board model: CIO-DAS800\n");
306 dev_dbg(dev->hw_dev, "Board model (probed): DAS-800\n");
311 dev_dbg(dev->hw_dev, "Board model: DAS-801\n");
315 dev_dbg(dev->hw_dev, "Board model: CIO-DAS801\n");
318 dev_dbg(dev->hw_dev, "Board model (probed): DAS-801\n");
323 dev_dbg(dev->hw_dev, "Board model: DAS-802\n");
327 dev_dbg(dev->hw_dev, "Board model: CIO-DAS802\n");
331 dev_dbg(dev->hw_dev, "Board model: CIO-DAS802/16\n");
334 dev_dbg(dev->hw_dev, "Boar
[all...]
H A Dcb_pcidio.c224 dev_err(dev->hw_dev, "No supported ComputerBoards/MeasurementComputing card found on requested position\n");
236 dev_dbg(dev->hw_dev, "Found %s on bus %i, slot %i\n", thisboard->name,
257 dev_dbg(dev->hw_dev, "subdev %d: base = 0x%lx\n", i,
H A Ddaqboard2000.c505 dev_dbg(dev->hw_dev, "daqboard2000_resetLocalBus\n");
514 dev_dbg(dev->hw_dev, "daqboard2000_reloadPLX\n");
525 dev_dbg(dev->hw_dev, "daqboard2000_pulseProgPin 1\n");
577 dev_dbg(dev->hw_dev, "no serial eeprom\n");
584 dev_dbg(dev->hw_dev, "Programming EEPROM try %x\n", retry);
595 dev_dbg(dev->hw_dev, "Preamble found at %d\n",
609 dev_dbg(dev->hw_dev, "Programmed\n");
753 dev_err(dev->hw_dev, "no daqboard2000 found at bus/slot: %d/%d\n",
756 dev_err(dev->hw_dev, "no daqboard2000 found\n");
766 dev_dbg(dev->hw_dev, "
[all...]
H A Ddas08_cs.c82 dev_info(dev->hw_dev, "comedi%d: das08_cs:\n", dev->minor);
87 dev_err(dev->hw_dev, "no pcmcia cards found\n");
92 dev_err(dev->hw_dev, "bug! board does not have PCMCIA bustype\n");
H A Ddas6402.c174 dev_warn(dev->hw_dev, "BUG: spurious interrupt\n");
231 dev_dbg(dev->hw_dev, "Stopping acquisition\n");
247 dev_dbg(dev->hw_dev, "Starting acquisition\n");
328 dev_err(dev->hw_dev, "I/O port conflict\n");
336 dev_dbg(dev->hw_dev, "( irq = %u )\n", irq);
H A Dmite.h49 struct device *hw_dev; member in struct:mite_dma_descriptor_ring
88 ring->hw_dev = get_device(&mite->pcidev->dev);
89 if (ring->hw_dev == NULL) {
103 dma_free_coherent(ring->hw_dev,
109 put_device(ring->hw_dev);
H A Ddt3000.c355 dev_dbg(dev->hw_dev, "dt3k_send_cmd() timeout/error status=0x%04x\n",
456 dev_dbg(dev->hw_dev, "reading %d samples\n", count);
644 dev_dbg(dev->hw_dev, "dt3k_ai_cmd:\n");
655 dev_dbg(dev->hw_dev, "param[0]=0x%04x\n", cmd->scan_end_arg);
661 dev_dbg(dev->hw_dev, "param[1]=0x%04x\n", divider >> 16);
663 dev_dbg(dev->hw_dev, "param[2]=0x%04x\n", divider & 0xffff);
672 dev_dbg(dev->hw_dev, "param[3]=0x%04x\n", tscandiv >> 16);
674 dev_dbg(dev->hw_dev, "param[4]=0x%04x\n", tscandiv & 0xffff);
681 dev_dbg(dev->hw_dev, "param[5]=0x%04x\n", mode);
683 dev_dbg(dev->hw_dev, "para
[all...]
H A Dcb_das16_cs.c153 dev_dbg(dev->hw_dev, "unknown board!\n");
166 dev_dbg(dev->hw_dev, "comedi%d: cb_das16_cs: attached\n", dev->minor);
173 dev_dbg(dev->hw_dev, "I/O base=0x%04lx\n", dev->iobase);
175 dev_dbg(dev->hw_dev, "fingerprint:\n");
177 dev_dbg(dev->hw_dev, "%04x\n", inw(dev->iobase + i));
187 dev_dbg(dev->hw_dev, "irq=%u\n", dev->irq);
260 dev_dbg(dev->hw_dev, "comedi%d: das16cs: remove\n", dev->minor);
313 dev_dbg(dev->hw_dev, "cb_das16_cs: ai timeout\n");
H A Dpcmuio.c298 dev_dbg(dev->hw_dev, "comedi%d: %s: io: %lx attached\n", dev->minor,
306 dev_err(dev->hw_dev, "I/O port conflict\n");
321 dev_warn(dev->hw_dev, "cannot allocate private data structure\n");
340 dev_warn(dev->hw_dev, "cannot allocate subdevice private data structures\n");
351 dev_dbg(dev->hw_dev, "cannot allocate subdevice data structures\n");
439 dev_dbg(dev->hw_dev, "irq: %u\n", irq[0]);
441 dev_dbg(dev->hw_dev, "second ASIC irq: %u\n", irq[1]);
443 dev_dbg(dev->hw_dev, "(IRQ mode disabled)\n");
462 dev_dbg(dev->hw_dev, "comedi%d: %s: remove\n", dev->minor,
504 dev_dbg(dev->hw_dev, "writ
[all...]
H A Ddas1800.c576 dev_err(dev->hw_dev, " only supports dma channels 5 through 7\n"
583 dev_err(dev->hw_dev, "failed to allocate dma channel %i\n",
591 dev_err(dev->hw_dev, "failed to allocate dma channel %i\n",
648 dev_err(dev->hw_dev, "io base address required\n");
663 dev_err(dev->hw_dev, "unable to determine board type\n");
687 dev_dbg(dev->hw_dev, "unable to allocate irq %u\n",
717 dev_err(dev->hw_dev, "irq out of range\n");
818 dev_dbg(dev->hw_dev, "comedi%d: %s: remove\n", dev->minor,
838 dev_dbg(dev->hw_dev, "Board model: %s\n",
848 dev_dbg(dev->hw_dev, "Boar
[all...]
H A Dgsc_hpdi.c306 struct pci_dev *hw_dev; /* pointer to board's pci_dev struct */ member in struct:hpdi_private
633 priv(dev)->hw_dev = pcidev;
694 pci_alloc_consistent(priv(dev)->hw_dev, DMA_BUFFER_SIZE,
701 priv(dev)->dma_desc = pci_alloc_consistent(priv(dev)->hw_dev,
731 if ((priv(dev)) && (priv(dev)->hw_dev)) {
741 pci_free_consistent(priv(dev)->hw_dev,
751 pci_free_consistent(priv(dev)->hw_dev,
758 comedi_pci_disable(priv(dev)->hw_dev);
759 pci_dev_put(priv(dev)->hw_dev);
H A Djr3_pci.c375 dev_dbg(dev->hw_dev, "jr3_pci_open\n");
381 dev_dbg(dev->hw_dev, "serial: %p %d (%d)\n", p,
460 dev_dbg(dev->hw_dev, "Loading#%d %4.4x bytes at %4.4x\n",
780 dev_err(dev->hw_dev, "sizeof(struct jr3_channel) = %x [expected %x]\n",
835 dev_err(dev->hw_dev, "no jr3_pci found\n");
870 dev_dbg(dev->hw_dev, "p->channel %p %p (%tx)\n",
911 dev_dbg(dev->hw_dev, "Firmare load %d\n", result);
929 dev_dbg(dev->hw_dev, "%c\n",
H A Dcb_pcidda.c313 dev_err(dev->hw_dev, "Not a ComputerBoards/MeasurementComputing card on requested position\n");
320 dev_dbg(dev->hw_dev, "Found %s at requested position\n",
327 dev_err(dev->hw_dev, "cb_pcidda: failed to enable PCI device and request regions\n");
377 dev_dbg(dev->hw_dev, "eeprom:\n");
380 dev_dbg(dev->hw_dev, "%i:0x%x\n", index, devpriv->eeprom_data[index]);
H A Dcb_pcidas.c600 dev_err(dev->hw_dev, "No supported ComputerBoards/MeasurementComputing card found on requested position\n");
605 dev_dbg(dev->hw_dev, "Found %s on bus %i, slot %i\n",
613 dev_err(dev->hw_dev, "Failed to enable PCI device and request regions\n");
639 dev_dbg(dev->hw_dev, "unable to allocate irq %d\n",
776 dev_dbg(dev->hw_dev, "detaching, incsr is 0x%x\n",
858 dev_err(dev->hw_dev, "invalid calibration source: %i\n",
1280 dev_dbg(dev->hw_dev, "comedi: sent 0x%x to adcmux control\n", bits);
1307 dev_dbg(dev->hw_dev, "comedi: adc_fifo_bits are 0x%x\n",
1334 dev_dbg(dev->hw_dev, "comedi: sent 0x%x to trig control\n", bits);
1551 dev_dbg(dev->hw_dev, "comed
[all...]
H A Dadv_pci1710.c1385 dev_info(dev->hw_dev, "comedi%d: adv_pci1710:\n", dev->minor);
1437 dev_err(dev->hw_dev, "- Card at b:s %d:%d %s\n",
1440 dev_err(dev->hw_dev, "- Card %s\n", errstr);
1451 dev_dbg(dev->hw_dev, "b:s:f=%d:%d:%d, io=0x%4lx\n", pci_bus, pci_slot,
1482 dev_dbg(dev->hw_dev, "unable to allocate IRQ %d, DISABLING IT",
1486 dev_dbg(dev->hw_dev, "irq=%u", irq);
1489 dev_dbg(dev->hw_dev, "IRQ disabled");
H A Dcb_pcidas64.c1078 struct pci_dev *hw_dev; /* pointer to board's pci_dev struct */ member in struct:pcidas64_private
1639 pci_alloc_consistent(priv(dev)->hw_dev, DMA_BUFFER_SIZE,
1648 pci_alloc_consistent(priv(dev)->hw_dev,
1659 pci_alloc_consistent(priv(dev)->hw_dev,
1670 pci_alloc_consistent(priv(dev)->hw_dev,
1768 priv(dev)->hw_dev = pcidev;
1782 dev_dbg(dev->hw_dev, "Found %s on bus %i, slot %i\n", board(dev)->name,
1786 dev_warn(dev->hw_dev, "failed to enable PCI device and request regions\n");
1814 dev_warn(dev->hw_dev, "failed to remap io memory\n");
1850 dev_dbg(dev->hw_dev, "st
[all...]
H A Dmite.c348 dma_free_coherent(ring->hw_dev,
363 MDPRINTK("ring->hw_dev=%p, n_links=0x%04x\n", ring->hw_dev, n_links);
366 dma_alloc_coherent(ring->hw_dev,
H A Dni_daq_dio24.c173 dev_info(dev->hw_dev, "comedi%d: ni_daq_dio24: remove\n", dev->minor);
H A Dpcl818.c1010 dev_dbg(dev->hw_dev, "pcl818_ai_cmd_mode()\n");
1113 dev_dbg(dev->hw_dev, "pcl818_ai_cmd_mode() end\n");
1456 dev_dbg(dev->hw_dev, "pcl818_ai_cmd()\n");
1474 dev_dbg(dev->hw_dev, "pcl818_ai_cmd() end\n");
1493 dev_dbg(dev->hw_dev, "pcl818_ai_cancel()\n");
1543 dev_dbg(dev->hw_dev, "pcl818_ai_cancel() end\n");
H A Dserial2002.c827 dev_dbg(dev->hw_dev, "comedi%d: attached\n", dev->minor);
835 dev_dbg(dev->hw_dev, "/dev/ttyS%d @ %d\n", devpriv->port,
895 dev_dbg(dev->hw_dev, "comedi%d: remove\n", dev->minor);
/drivers/staging/comedi/
H A Dcomedidev.h205 /* hw_dev is passed to dma_alloc_coherent when allocating async buffers
208 struct device *hw_dev; member in struct:comedi_device
390 /* must be used in attach to set dev->hw_dev if you wish to dma directly
393 struct device *hw_dev)
395 if (dev->hw_dev)
396 put_device(dev->hw_dev);
398 dev->hw_dev = hw_dev;
399 if (dev->hw_dev) {
400 dev->hw_dev
392 comedi_set_hw_dev(struct comedi_device *dev, struct device *hw_dev) argument
[all...]
/drivers/net/wireless/p54/
H A Dled.c73 struct ieee80211_hw *dev = led->hw_dev;
97 led->hw_dev = priv->hw;
H A Dp54.h150 struct ieee80211_hw *hw_dev; member in struct:p54_led_dev

Completed in 325 milliseconds

12