Searched refs:regaddr (Results 1 - 14 of 14) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/include/asm/sgi/
H A Dsgi.h42 #define SGI_MSB(regaddr) (regaddr)
44 #define SGI_MSB(regaddr) ((regaddr) | 0x3)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/tokenring/
H A Dabyss.c64 static void at24_writedatabyte(unsigned long regaddr, unsigned char byte);
65 static int at24_sendfullcmd(unsigned long regaddr, unsigned char cmd, unsigned char addr);
66 static int at24_sendcmd(unsigned long regaddr, unsigned char cmd);
67 static unsigned char at24_readdatabit(unsigned long regaddr);
68 static unsigned char at24_readdatabyte(unsigned long regaddr);
69 static int at24_waitforack(unsigned long regaddr);
70 static int at24_waitfornack(unsigned long regaddr);
71 static void at24_setlines(unsigned long regaddr, unsigned char clock, unsigned char data);
72 static void at24_start(unsigned long regaddr);
73 static unsigned char at24_readb(unsigned long regaddr, unsigne
207 at24_writedatabyte(unsigned long regaddr, unsigned char byte) argument
218 at24_sendfullcmd(unsigned long regaddr, unsigned char cmd, unsigned char addr) argument
227 at24_sendcmd(unsigned long regaddr, unsigned char cmd) argument
240 at24_readdatabit(unsigned long regaddr) argument
252 at24_readdatabyte(unsigned long regaddr) argument
265 at24_waitforack(unsigned long regaddr) argument
276 at24_waitfornack(unsigned long regaddr) argument
286 at24_setlines(unsigned long regaddr, unsigned char clock, unsigned char data) argument
298 at24_start(unsigned long regaddr) argument
306 at24_readb(unsigned long regaddr, unsigned char addr) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/
H A Dmipsnet.c95 #define regaddr(dev, field) \ macro
107 *kdata = inb(regaddr(dev, rxDataBuffer));
109 return inl(regaddr(dev, rxDataCount));
118 outl(skb->len, regaddr(dev, txDataCount));
121 outb(*buf_ptr, regaddr(dev, txDataBuffer));
179 int_flags = inl(regaddr(dev, interruptControl));
182 outl(0, regaddr(dev, interruptControl));
189 regaddr(dev, interruptControl));
192 mipsnet_get_fromdev(dev, inl(regaddr(dev, rxDataCount)));
193 outl(MIPSNET_INTCTL_RXDONE, regaddr(de
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/alpha/kernel/
H A Dsys_eiger.c46 int regaddr; local
49 regaddr = 0x510 + (((irq - 16) >> 2) & 0x0c);
50 outl(mask & 0xffff0000UL, regaddr);
H A Dsys_takara.c40 int regaddr; local
43 regaddr = 0x510 + (((irq - 16) >> 2) & 0x0c);
44 outl(mask & 0xffff0000UL, regaddr);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/cxt1e1/
H A Dmusycc.c807 char *regaddr; /* temp for address boundary calculations */ local
819 regaddr = OS_kmalloc ((INT_QUEUE_SIZE + 1) * sizeof (u_int32_t));
820 if (regaddr == 0)
822 ci->iqd_p_saved = regaddr; /* save orig value for free's usage */
823 ci->iqd_p = (u_int32_t *) ((unsigned long) (regaddr + INT_QUEUE_BOUNDARY - 1) &
843 regaddr = OS_kmalloc (sizeof (struct musycc_groupr) + GROUP_BOUNDARY);
844 if (regaddr == 0)
854 pi->regram_saved = regaddr; /* save orig value for free's usage */
855 pi->regram = (struct musycc_groupr *) ((unsigned long) (regaddr + GROUP_BOUNDARY - 1) &
H A Dpmcc4_drv.c854 volatile u_int32_t *regaddr; local
858 regaddr = (u_int32_t *) ci->cpldbase + regnum;
859 data = pci_read_32 ((u_int32_t *) regaddr) & 0xff;
865 pci_write_32 ((u_int32_t *) regaddr, pp->portStatus);
866 data = pci_read_32 ((u_int32_t *) regaddr) & 0xff;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/radio/
H A Dsaa7706h.c201 u8 regaddr[] = {reg >> 8, reg}; local
202 struct i2c_msg msg[] = { {client->addr, 0, sizeof(regaddr), regaddr},
/netgear-R7000-V1.0.7.12_1.2.5/src/shared/
H A Dnicpci.c73 static int pcie_mdioop(pcicore_info_t *pi, uint physmedia, uint regaddr, bool write, uint *val);
74 static int pciegen1_mdioop(pcicore_info_t *pi, uint physmedia, uint regaddr, bool write,
76 static int pciegen2_mdioop(pcicore_info_t *pi, uint physmedia, uint regaddr, bool write,
385 pcie_mdioop(pcicore_info_t *pi, uint physmedia, uint regaddr, bool write, uint *val) argument
388 return (pciegen1_mdioop(pi, physmedia, regaddr, write, val));
390 return (pciegen2_mdioop(pi, physmedia, regaddr, write, val, 0));
396 pciegen2_mdioop(pcicore_info_t *pi, uint physmedia, uint regaddr, bool write, uint *val, argument
410 mdio_ctrl |= (regaddr << MDIOCTL2_REGADDR_SHF);
440 pciegen1_mdioop(pcicore_info_t *pi, uint physmedia, uint regaddr, bool write, uint *val) argument
458 (regaddr << MDIODATA_REGADDR_SH
498 pcie_mdioread(pcicore_info_t *pi, uint physmedia, uint regaddr, uint *regval) argument
505 pcie_mdiowrite(pcicore_info_t *pi, uint physmedia, uint regaddr, uint val) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/spi/
H A Dmpc512x_psc_spi.c409 static int __devinit mpc512x_psc_spi_do_probe(struct device *dev, u32 regaddr, argument
446 tempp = ioremap(regaddr, size);
H A Dmpc52xx_psc_spi.c366 static int __init mpc52xx_psc_spi_do_probe(struct device *dev, u32 regaddr, argument
403 mps->psc = ioremap(regaddr, size);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mfd/
H A Dstmpe.c245 u8 regaddr = stmpe->regs[STMPE_IDX_GPAFR_U_MSB]; local
260 ret = __stmpe_block_read(stmpe, regaddr, numregs, regs);
277 ret = __stmpe_block_write(stmpe, regaddr, numregs, regs);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/plat-brcm/
H A Dbcm5301x_pcie.c1543 uint32 blkaddr = 0x863, regaddr; local
1577 /* Write 0x0190 to 0x13 regaddr */
1579 regaddr = 0x13;
1580 val = (sb << 30) | (op_w << 28) | (pa[i] << 23) | (regaddr << 18) |
1584 /* Write 0x0191 to 0x19 regaddr */
1586 regaddr = 0x19;
1587 val = (sb << 30) | (op_w << 28) | (pa[i] << 23) | (regaddr << 18) |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/cxgb4/
H A Dt4fw_api.h1551 __be32 regaddr; member in struct:fw_error_cmd::fw_error::fw_error_hwmodule

Completed in 124 milliseconds