• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/scsi/

Lines Matching defs:mesh

50 #include "mesh.h"
143 volatile struct mesh_regs __iomem *mesh;
221 tlp->bs0 = ms->mesh->bus_status0;
222 tlp->bs1 = ms->mesh->bus_status1;
250 printk(KERN_DEBUG "mesh log %d: bs=%.2x%.2x ph=%.2x ",
275 printk(KERN_DEBUG "mesh log: bs=%.2x%.2x ph=%.2x t%d ",
303 volatile struct mesh_regs __iomem *mr = ms->mesh;
308 printk(KERN_DEBUG "mesh: state at %p, regs at %p, dma at %p\n",
335 * Flush write buffers on the bus path to the mesh
358 volatile struct mesh_regs __iomem *mr = ms->mesh;
377 printk(KERN_INFO "mesh: performing initial bus reset...\n");
405 volatile struct mesh_regs __iomem *mr = ms->mesh;
423 panic("mesh: double DMA start !\n");
479 * Apparently the mesh has a bug where it will assert both its
493 * is trying to reselect us, reset the mesh and then enable
520 /* looks like a reselection - try resetting the mesh */
537 printk(KERN_ERR "mesh: controller not responding"
541 * mesh isn't responding, the higher levels of
605 out_8(&ms->mesh->sequence, SEQ_ENBRESEL);
606 mesh_flush_io(ms->mesh);
628 volatile struct mesh_regs __iomem *mr = ms->mesh;
635 printk(KERN_INFO "mesh: target %d now asynchronous\n",
662 printk(KERN_INFO "mesh: target %d synchronous at %d.%d MB/s\n",
669 volatile struct mesh_regs __iomem *mr = ms->mesh;
696 printk(KERN_ERR "mesh: msg_out but n_msgout=%d\n",
703 printk(KERN_DEBUG "mesh: sending %d msg bytes:",
717 * issue a SEQ_MSGOUT to get the mesh to drop ACK.
746 printk(KERN_ERR "mesh bug: start_phase msgphase=%d\n",
804 printk(KERN_ERR "mesh: start_phase called with phase=%d\n",
813 volatile struct mesh_regs __iomem *mr = ms->mesh;
845 volatile struct mesh_regs __iomem *mr = ms->mesh;
871 printk(KERN_ERR "mesh: reselected in phase %d/%d tgt %d\n",
878 printk(KERN_ERR "mesh: reselected with DMA started !\n");
915 printk(KERN_ERR "mesh: reselection but nothing in fifo?\n");
928 printk(KERN_ERR "mesh: bad reselection data %x\n", b);
941 printk(KERN_DEBUG "mesh: reselected by target %d\n", t);
942 printk(KERN_DEBUG "mesh: saved_ptr=%x goes_out=%d cmd=%p\n",
947 printk(KERN_ERR "mesh: reselected by tgt %d but no cmd!\n", t);
978 volatile struct mesh_regs __iomem *mr = ms->mesh;
1021 volatile struct mesh_regs __iomem *mr = ms->mesh;
1030 printk(KERN_INFO "mesh: SCSI bus reset detected: "
1046 printk(KERN_WARNING "mesh: target %d aborted\n",
1058 printk(KERN_ERR "mesh: msg parity error, target %d\n",
1067 printk(KERN_ERR "mesh: parity error, target %d\n",
1095 printk(KERN_ERR "mesh: sequence error (err=%x exc=%x)\n",
1098 printk(KERN_ERR "mesh: unknown error %x (exc=%x)\n", err, exc);
1115 volatile struct mesh_regs __iomem *mr = ms->mesh;
1124 printk(KERN_DEBUG "mesh: lost arbitration\n");
1136 printk(KERN_ERR "mesh: can't cope with exception %x\n", exc);
1220 printk(KERN_WARNING "mesh: lun mismatch "
1232 printk(KERN_WARNING "mesh: rejecting message from target %d:",
1277 panic("mesh: scatterlist element >= 64k");
1309 volatile struct mesh_regs __iomem *mr = ms->mesh;
1333 printk(KERN_ERR "mesh: halt_dma: data_ptr=%d (nb=%d, ms=%p)\n",
1342 printk(KERN_DEBUG "mesh: target %d overrun, "
1353 volatile struct mesh_regs __iomem *mr = ms->mesh;
1412 "mesh: no msg to repeat\n");
1421 printk(KERN_DEBUG "mesh: unknown scsi phase %x\n", phase);
1432 volatile struct mesh_regs __iomem *mr = ms->mesh;
1493 printk(KERN_ERR "mesh: error %x in msg_out\n",
1499 printk(KERN_ERR "mesh: exc %x in msg_out\n",
1502 printk(KERN_DEBUG "mesh: bs0=%x in msg_out\n",
1529 printk(KERN_ERR "mesh: interrupt in idle phase?\n");
1576 * occasionally the mesh actually executes the
1589 printk(KERN_DEBUG "mesh: status is %x\n",
1644 volatile struct mesh_regs __iomem *mr = ms->mesh;
1685 volatile struct mesh_regs __iomem *mr = ms->mesh;
1798 mr = ms->mesh;
1811 .proc_name = "mesh",
1825 struct device_node *mesh = macio_get_of_node(mdev);
1845 printk(KERN_ERR "mesh: expected 2 addrs and 2 intrs"
1851 if (macio_request_resources(mdev, "mesh") != 0) {
1852 printk(KERN_ERR "mesh: unable to request memory resources");
1857 printk(KERN_ERR "mesh: couldn't register host");
1863 note_scsi_host(mesh, mesh_host);
1874 ms->mesh = ioremap(macio_resource_start(mdev, 0), 0x1000);
1875 if (ms->mesh == NULL) {
1876 printk(KERN_ERR "mesh: can't map registers\n");
1881 printk(KERN_ERR "mesh: can't map registers\n");
1882 iounmap(ms->mesh);
1901 printk(KERN_ERR "mesh: can't allocate DMA table\n");
1917 if ((cfp = of_get_property(mesh, "clock-frequency", NULL)))
1920 printk(KERN_INFO "mesh: assuming 50MHz clock frequency\n");
1962 iounmap(ms->mesh);
1987 iounmap(ms->mesh);
2006 .name = "mesh",
2019 .name = "mesh",
2040 printk(KERN_INFO "mesh: configured for synchronous %d MB/s\n", sync_rate);
2044 printk(KERN_INFO "mesh: configured for asynchronous\n");