Searched refs:creg (Results 1 – 10 of 10) sorted by relevance
/drivers/infiniband/hw/ipath/ |
D | ipath_stats.c | 52 u64 ipath_snap_cntr(struct ipath_devdata *dd, ipath_creg creg) in ipath_snap_cntr() argument 63 (creg == dd->ipath_cregs->cr_wordsendcnt || in ipath_snap_cntr() 64 creg == dd->ipath_cregs->cr_wordrcvcnt || in ipath_snap_cntr() 65 creg == dd->ipath_cregs->cr_pktsendcnt || in ipath_snap_cntr() 66 creg == dd->ipath_cregs->cr_pktrcvcnt)) { in ipath_snap_cntr() 67 val64 = ipath_read_creg(dd, creg); in ipath_snap_cntr() 71 val64 = val = ipath_read_creg32(dd, creg); in ipath_snap_cntr() 82 creg); in ipath_snap_cntr() 91 if (creg == dd->ipath_cregs->cr_wordsendcnt) { in ipath_snap_cntr() 97 } else if (creg == dd->ipath_cregs->cr_wordrcvcnt) { in ipath_snap_cntr() [all …]
|
/drivers/usb/gadget/ |
D | at91_udc.c | 108 csr = __raw_readl(ep->creg); in proc_ep_show() 312 u32 __iomem *creg = ep->creg; in read_fifo() local 313 u8 __iomem *dreg = ep->creg + (AT91_UDP_FDR(0) - AT91_UDP_CSR(0)); in read_fifo() 326 csr = __raw_readl(creg); in read_fifo() 352 __raw_writel(csr, creg); in read_fifo() 380 u32 __iomem *creg = ep->creg; in write_fifo() local 381 u32 csr = __raw_readl(creg); in write_fifo() 382 u8 __iomem *dreg = ep->creg + (AT91_UDP_FDR(0) - AT91_UDP_CSR(0)); in write_fifo() 402 __raw_writel(csr, creg); in write_fifo() 403 csr = __raw_readl(creg); in write_fifo() [all …]
|
D | at91_udc.h | 108 void __iomem *creg; member
|
/drivers/net/ |
D | eth16i.c | 852 unsigned char creg[4] = { 0 }; in eth16i_check_signature() local 856 creg[i] = inb(ioaddr + TRANSMIT_MODE_REG + i); in eth16i_check_signature() 860 creg[i], in eth16i_check_signature() 864 creg[0] &= 0x0F; /* Mask collision cnr */ in eth16i_check_signature() 865 creg[2] &= 0x7F; /* Mask DCLEN bit */ in eth16i_check_signature() 873 if( ! ((creg[0] == 0x06) && (creg[1] == 0x41)) ) { in eth16i_check_signature() 874 if(creg[1] != 0x42) in eth16i_check_signature() 879 if( !((creg[2] == 0x36) && (creg[3] == 0xE0)) ) { in eth16i_check_signature() 880 creg[2] &= 0x40; in eth16i_check_signature() 881 creg[3] &= 0x03; in eth16i_check_signature() [all …]
|
D | sunbmac.c | 627 void __iomem *cregs = bp->creg; in bigmac_init_hw() 900 bmac_status = sbus_readl(bp->creg + CREG_STAT); in bigmac_interrupt() 982 sbus_writel(CREG_CTRL_TWAKEUP, bp->creg + CREG_CTRL); in bigmac_start_xmit() 1140 bp->creg = of_ioremap(&op->resource[0], 0, in bigmac_ether_init() 1142 if (!bp->creg) { in bigmac_ether_init() 1223 if (bp->creg) in bigmac_ether_init() 1224 of_iounmap(&op->resource[0], bp->creg, CREG_REG_SIZE); in bigmac_ether_init() 1267 of_iounmap(&op->resource[0], bp->creg, CREG_REG_SIZE); in bigmac_sbus_remove()
|
D | sunbmac.h | 307 void __iomem *creg; /* QEC BigMAC Channel Registers */ member
|
/drivers/pci/hotplug/ |
D | shpchp_hpc.c | 190 return readb(ctrl->creg + reg); in shpc_readb() 195 writeb(val, ctrl->creg + reg); in shpc_writeb() 200 return readw(ctrl->creg + reg); in shpc_readw() 205 writew(val, ctrl->creg + reg); in shpc_writew() 210 return readl(ctrl->creg + reg); in shpc_readl() 215 writel(val, ctrl->creg + reg); in shpc_writel() 615 iounmap(ctrl->creg); in hpc_release_ctlr() 1012 ctrl->creg = ioremap(ctrl->mmio_base, ctrl->mmio_size); in shpc_init() 1013 if (!ctrl->creg) { in shpc_init() 1020 ctrl_dbg(ctrl, "ctrl->creg %p\n", ctrl->creg); in shpc_init() [all …]
|
D | shpchp.h | 116 void __iomem *creg; member
|
/drivers/block/ |
D | xsysace.c | 797 u16 creg = ace_in(ace, ACE_CTRL); in ace_interrupt_checkstate() local 801 (creg & ACE_CTRL_ERRORIRQ)) { in ace_interrupt_checkstate() 812 u16 creg; in ace_interrupt() local 820 creg = ace_in(ace, ACE_CTRL); in ace_interrupt() 821 ace_out(ace, ACE_CTRL, creg | ACE_CTRL_RESETIRQ); in ace_interrupt() 822 ace_out(ace, ACE_CTRL, creg); in ace_interrupt()
|
/drivers/isdn/hisax/ |
D | isar.c | 49 sendmsg(struct IsdnCardState *cs, u_char his, u_char creg, u_char len, in sendmsg() argument 58 debugl1(cs, "sendmsg(%02x,%02x,%d)", his, creg, len); in sendmsg() 60 cs->BC_Write_Reg(cs, 0, ISAR_CTRL_H, creg); in sendmsg()
|