/linux-2.6.39/drivers/net/tokenring/ |
D | abyss.c | 64 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, unsigned char addr); [all …]
|
/linux-2.6.39/drivers/net/ |
D | mipsnet.c | 101 #define regaddr(dev, field) \ macro 113 *kdata = inb(regaddr(dev, rxDataBuffer)); in ioiocpy_frommipsnet() 115 return inl(regaddr(dev, rxDataCount)); in ioiocpy_frommipsnet() 124 outl(skb->len, regaddr(dev, txDataCount)); in mipsnet_put_todevice() 127 outb(*buf_ptr, regaddr(dev, txDataBuffer)); in mipsnet_put_todevice() 185 int_flags = inl(regaddr(dev, interruptControl)); in mipsnet_interrupt() 188 outl(0, regaddr(dev, interruptControl)); in mipsnet_interrupt() 195 regaddr(dev, interruptControl)); in mipsnet_interrupt() 198 mipsnet_get_fromdev(dev, inl(regaddr(dev, rxDataCount))); in mipsnet_interrupt() 199 outl(MIPSNET_INTCTL_RXDONE, regaddr(dev, interruptControl)); in mipsnet_interrupt() [all …]
|
/linux-2.6.39/arch/mips/include/asm/sgi/ |
D | sgi.h | 42 #define SGI_MSB(regaddr) (regaddr) argument 44 #define SGI_MSB(regaddr) ((regaddr) | 0x3) argument
|
/linux-2.6.39/drivers/staging/brcm80211/brcmfmac/ |
D | bcmsdh_sdmmc.c | 46 static int sdioh_sdmmc_get_cisaddr(sdioh_info_t *sd, u32 regaddr); 68 int sdioh_sdmmc_card_regread(sdioh_info_t *sd, int func, u32 regaddr, 719 static int sdioh_sdmmc_get_cisaddr(sdioh_info_t *sd, u32 regaddr) in sdioh_sdmmc_get_cisaddr() argument 726 if ((sdioh_sdmmc_card_regread(sd, 0, regaddr, 1, ®data)) != in sdioh_sdmmc_get_cisaddr() 731 regaddr++; in sdioh_sdmmc_get_cisaddr() 775 sdioh_request_byte(sdioh_info_t *sd, uint rw, uint func, uint regaddr, in sdioh_request_byte() argument 781 regaddr)); in sdioh_request_byte() 791 if (regaddr == SDIOD_CCCR_IOEN) { in sdioh_request_byte() 816 else if (regaddr == SDIOD_CCCR_IOABORT) { in sdioh_request_byte() 825 regaddr, &err_ret); in sdioh_request_byte() [all …]
|
D | dhd_sdio.c | 388 #define R_SDREG(regvar, regaddr, retryvar) \ argument 392 regvar = R_REG(regaddr); \ 404 #define W_SDREG(regval, regaddr, retryvar) \ argument 408 W_REG(regaddr, regval); \
|
/linux-2.6.39/drivers/net/wireless/rtlwifi/rtl8192ce/ |
D | phy.h | 188 u32 regaddr, u32 bitmask); 190 u32 regaddr, u32 bitmask, u32 data); 192 enum radio_path rfpath, u32 regaddr, 195 enum radio_path rfpath, u32 regaddr, 241 u32 regaddr, u32 bitmask, 247 u32 regaddr, u32 bitmask,
|
D | phy.c | 42 enum radio_path rfpath, u32 regaddr, u32 bitmask) in rtl92ce_phy_query_rf_reg() argument 51 regaddr, rfpath, bitmask)); in rtl92ce_phy_query_rf_reg() 57 rfpath, regaddr); in rtl92ce_phy_query_rf_reg() 60 rfpath, regaddr); in rtl92ce_phy_query_rf_reg() 71 regaddr, rfpath, bitmask, original_value)); in rtl92ce_phy_query_rf_reg() 78 u32 regaddr, u32 bitmask, u32 data) in rtl92ce_phy_set_rf_reg() argument 87 regaddr, bitmask, data, rfpath)); in rtl92ce_phy_set_rf_reg() 95 regaddr); in rtl92ce_phy_set_rf_reg() 102 _rtl92c_phy_rf_serial_write(hw, rfpath, regaddr, data); in rtl92ce_phy_set_rf_reg() 107 regaddr); in rtl92ce_phy_set_rf_reg() [all …]
|
D | sw.h | 48 enum radio_path rfpath, u32 regaddr, u32 bitmask);
|
/linux-2.6.39/drivers/net/wireless/rtlwifi/rtl8192cu/ |
D | phy.c | 41 enum radio_path rfpath, u32 regaddr, u32 bitmask) in rtl92cu_phy_query_rf_reg() argument 49 regaddr, rfpath, bitmask)); in rtl92cu_phy_query_rf_reg() 52 rfpath, regaddr); in rtl92cu_phy_query_rf_reg() 55 rfpath, regaddr); in rtl92cu_phy_query_rf_reg() 62 regaddr, rfpath, bitmask, original_value)); in rtl92cu_phy_query_rf_reg() 68 u32 regaddr, u32 bitmask, u32 data) in rtl92cu_phy_set_rf_reg() argument 76 regaddr, bitmask, data, rfpath)); in rtl92cu_phy_set_rf_reg() 81 regaddr); in rtl92cu_phy_set_rf_reg() 87 _rtl92c_phy_rf_serial_write(hw, rfpath, regaddr, data); in rtl92cu_phy_set_rf_reg() 92 regaddr); in rtl92cu_phy_set_rf_reg() [all …]
|
D | sw.h | 46 u32 regaddr, u32 bitmask, u32 data); 50 enum radio_path rfpath, u32 regaddr, u32 bitmask);
|
/linux-2.6.39/arch/alpha/kernel/ |
D | sys_eiger.c | 46 int regaddr; in eiger_update_irq_hw() local 49 regaddr = 0x510 + (((irq - 16) >> 2) & 0x0c); in eiger_update_irq_hw() 50 outl(mask & 0xffff0000UL, regaddr); in eiger_update_irq_hw()
|
D | sys_takara.c | 40 int regaddr; in takara_update_irq_hw() local 43 regaddr = 0x510 + (((irq - 16) >> 2) & 0x0c); in takara_update_irq_hw() 44 outl(mask & 0xffff0000UL, regaddr); in takara_update_irq_hw()
|
/linux-2.6.39/drivers/net/wireless/rtlwifi/rtl8192c/ |
D | phy_common.h | 188 u32 regaddr, u32 bitmask); 190 u32 regaddr, u32 bitmask, u32 data); 192 enum radio_path rfpath, u32 regaddr, 195 enum radio_path rfpath, u32 regaddr,
|
D | phy_common.c | 39 u32 rtl92c_phy_query_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask) in rtl92c_phy_query_bb_reg() argument 45 "bitmask(%#x)\n", regaddr, in rtl92c_phy_query_bb_reg() 47 originalvalue = rtl_read_dword(rtlpriv, regaddr); in rtl92c_phy_query_bb_reg() 53 regaddr, originalvalue)); in rtl92c_phy_query_bb_reg() 61 u32 regaddr, u32 bitmask, u32 data) in rtl92c_phy_set_bb_reg() argument 67 " data(%#x)\n", regaddr, bitmask, in rtl92c_phy_set_bb_reg() 71 originalvalue = rtl_read_dword(rtlpriv, regaddr); in rtl92c_phy_set_bb_reg() 76 rtl_write_dword(rtlpriv, regaddr, data); in rtl92c_phy_set_bb_reg() 79 " data(%#x)\n", regaddr, bitmask, in rtl92c_phy_set_bb_reg() 249 u32 regaddr, u32 bitmask, in _rtl92c_store_pwrIndex_diffrate_offset() argument [all …]
|
/linux-2.6.39/drivers/staging/brcm80211/util/ |
D | nicpci.c | 55 static int pcie_mdioop(pcicore_info_t *pi, uint physmedia, uint regaddr, 266 pcie_mdioop(pcicore_info_t *pi, uint physmedia, uint regaddr, bool write, in pcie_mdioop() argument 283 (regaddr << MDIODATA_REGADDR_SHF); in pcie_mdioop() 287 (regaddr << MDIODATA_REGADDR_SHF_OLD); in pcie_mdioop() 326 pcie_mdioread(pcicore_info_t *pi, uint physmedia, uint regaddr, uint *regval) in pcie_mdioread() argument 328 return pcie_mdioop(pi, physmedia, regaddr, false, regval); in pcie_mdioread() 333 pcie_mdiowrite(pcicore_info_t *pi, uint physmedia, uint regaddr, uint val) in pcie_mdiowrite() argument 335 return pcie_mdioop(pi, physmedia, regaddr, true, &val); in pcie_mdiowrite()
|
/linux-2.6.39/drivers/net/wireless/rtlwifi/ |
D | wifi.h | 1380 u32 (*get_bbreg) (struct ieee80211_hw *hw, u32 regaddr, u32 bitmask); 1381 void (*set_bbreg) (struct ieee80211_hw *hw, u32 regaddr, u32 bitmask, 1384 u32 regaddr, u32 bitmask); 1386 u32 regaddr, u32 bitmask, u32 data); 1803 u32 regaddr, u32 bitmask) in rtl_get_bbreg() argument 1806 regaddr, in rtl_get_bbreg() 1810 static inline void rtl_set_bbreg(struct ieee80211_hw *hw, u32 regaddr, in rtl_set_bbreg() argument 1814 regaddr, bitmask, in rtl_set_bbreg() 1820 enum radio_path rfpath, u32 regaddr, in rtl_get_rfreg() argument 1825 regaddr, in rtl_get_rfreg() [all …]
|
/linux-2.6.39/drivers/media/radio/ |
D | saa7706h.c | 201 u8 regaddr[] = {reg >> 8, reg}; in saa7706h_get_reg16() local 202 struct i2c_msg msg[] = { {client->addr, 0, sizeof(regaddr), regaddr}, in saa7706h_get_reg16()
|
/linux-2.6.39/drivers/staging/cxt1e1/ |
D | musycc.c | 838 char *regaddr; /* temp for address boundary calculations */ in musycc_init() local 850 regaddr = OS_kmalloc ((INT_QUEUE_SIZE + 1) * sizeof (u_int32_t)); in musycc_init() 851 if (regaddr == 0) in musycc_init() 853 ci->iqd_p_saved = regaddr; /* save orig value for free's usage */ in musycc_init() 854 ci->iqd_p = (u_int32_t *) ((unsigned long) (regaddr + INT_QUEUE_BOUNDARY - 1) & in musycc_init() 874 regaddr = OS_kmalloc (sizeof (struct musycc_groupr) + GROUP_BOUNDARY); in musycc_init() 875 if (regaddr == 0) in musycc_init() 885 pi->regram_saved = regaddr; /* save orig value for free's usage */ in musycc_init() 886 pi->regram = (struct musycc_groupr *) ((unsigned long) (regaddr + GROUP_BOUNDARY - 1) & in musycc_init()
|
D | pmcc4_drv.c | 871 volatile u_int32_t *regaddr; in c4_pld_rw() local 875 regaddr = (u_int32_t *) ci->cpldbase + regnum; in c4_pld_rw() 876 data = pci_read_32 ((u_int32_t *) regaddr) & 0xff; in c4_pld_rw() 882 pci_write_32 ((u_int32_t *) regaddr, pp->portStatus); in c4_pld_rw() 883 data = pci_read_32 ((u_int32_t *) regaddr) & 0xff; in c4_pld_rw()
|
/linux-2.6.39/drivers/spi/ |
D | mpc52xx_psc_spi.c | 366 static int __devinit mpc52xx_psc_spi_do_probe(struct device *dev, u32 regaddr, in mpc52xx_psc_spi_do_probe() argument 403 mps->psc = ioremap(regaddr, size); in mpc52xx_psc_spi_do_probe()
|
D | mpc512x_psc_spi.c | 409 static int __devinit mpc512x_psc_spi_do_probe(struct device *dev, u32 regaddr, in mpc512x_psc_spi_do_probe() argument 446 tempp = ioremap(regaddr, size); in mpc512x_psc_spi_do_probe()
|
/linux-2.6.39/drivers/mfd/ |
D | stmpe.c | 245 u8 regaddr = stmpe->regs[STMPE_IDX_GPAFR_U_MSB]; in stmpe_set_altfunc() local 260 ret = __stmpe_block_read(stmpe, regaddr, numregs, regs); in stmpe_set_altfunc() 277 ret = __stmpe_block_write(stmpe, regaddr, numregs, regs); in stmpe_set_altfunc()
|
/linux-2.6.39/drivers/net/cxgb4/ |
D | t4fw_api.h | 1557 __be32 regaddr; member
|