Home
last modified time | relevance | path

Searched refs:reg_val (Results 1 – 8 of 8) sorted by relevance

/linux-2.4.37.9/arch/mips/mips-boards/generic/
Dpci.c42 unsigned char reg_val; in malta_fixup() local
51 pci_read_config_byte(pdev, 0x41, &reg_val); in malta_fixup()
52 pci_write_config_byte(pdev, 0x41, reg_val | 0x80); in malta_fixup()
53 pci_read_config_byte(pdev, 0x43, &reg_val); in malta_fixup()
54 pci_write_config_byte(pdev, 0x43, reg_val | 0x80); in malta_fixup()
64 pci_read_config_byte(pdev, 0x69, &reg_val); in malta_fixup()
65 pci_write_config_byte(pdev, 0x69, reg_val | 0xf0); in malta_fixup()
/linux-2.4.37.9/arch/mips/pmc-sierra/yosemite/
Di2c-yosemite.c79 unsigned long reg_val, val; in titan_i2c_xfer() local
95 reg_val = TITAN_I2C_DATA; in titan_i2c_xfer()
97 reg_val += 4) { in titan_i2c_xfer()
108 TITAN_I2C_WRITE(reg_val, data); in titan_i2c_xfer()
119 reg_val = TITAN_I2C_DATA; in titan_i2c_xfer()
121 reg_val += 4) { in titan_i2c_xfer()
122 data = TITAN_I2C_READ(reg_val); in titan_i2c_xfer()
/linux-2.4.37.9/arch/mips/kernel/
Dtraps.c780 unsigned int reg_val; in cache_parity_error() local
785 reg_val = read_c0_cacheerr(); in cache_parity_error()
786 printk("c0_cacheerr == %08x\n", reg_val); in cache_parity_error()
789 reg_val & (1<<30) ? "secondary" : "primary", in cache_parity_error()
790 reg_val & (1<<31) ? "data" : "insn"); in cache_parity_error()
792 reg_val & (1<<29) ? "ED " : "", in cache_parity_error()
793 reg_val & (1<<28) ? "ET " : "", in cache_parity_error()
794 reg_val & (1<<26) ? "EE " : "", in cache_parity_error()
795 reg_val & (1<<25) ? "EB " : "", in cache_parity_error()
796 reg_val & (1<<24) ? "EI " : "", in cache_parity_error()
[all …]
/linux-2.4.37.9/drivers/net/
Damd8111e.c126 unsigned int reg_val; in amd8111e_read_phy() local
129 reg_val = readl(mmio + PHY_ACCESS); in amd8111e_read_phy()
130 while (reg_val & PHY_CMD_ACTIVE) in amd8111e_read_phy()
131 reg_val = readl( mmio + PHY_ACCESS ); in amd8111e_read_phy()
136 reg_val = readl(mmio + PHY_ACCESS); in amd8111e_read_phy()
138 } while (--repeat && (reg_val & PHY_CMD_ACTIVE)); in amd8111e_read_phy()
139 if(reg_val & PHY_RD_ERR) in amd8111e_read_phy()
142 *val = reg_val & 0xffff; in amd8111e_read_phy()
157 unsigned int reg_val; in amd8111e_write_phy() local
159 reg_val = readl(mmio + PHY_ACCESS); in amd8111e_write_phy()
[all …]
Dsungem.c187 static void gem_handle_mif_event(struct gem *gp, u32 reg_val, u32 changed_bits) in gem_handle_mif_event() argument
450 u32 reg_val, changed_bits; in gem_mif_interrupt() local
452 reg_val = (mif_status & MIF_STATUS_DATA) >> 16; in gem_mif_interrupt()
455 gem_handle_mif_event(gp, reg_val, changed_bits); in gem_mif_interrupt()
/linux-2.4.37.9/drivers/media/video/
Dswarm_saa7114h.c389 unsigned int cmd, reg, reg_val; in decoder_write_proc() local
422 reg_val = VALUE; in decoder_write_proc()
425 printk(IF_NAME ": write reg %x <- %x\n", reg, reg_val); in decoder_write_proc()
426 if (saa7114h_reg_write(d, reg, reg_val) == -1) in decoder_write_proc()
433 reg_val = saa7114h_reg_read(d, reg); in decoder_write_proc()
434 if (reg_val == -1) in decoder_write_proc()
437 printk(IF_NAME ": read reg %x -> %x\n", reg, reg_val); in decoder_write_proc()
/linux-2.4.37.9/drivers/net/e1000/
De1000_hw.c3727 uint32_t reg_val; in e1000_read_kmrn_reg() local
3741 reg_val = ((reg_addr << E1000_KUMCTRLSTA_OFFSET_SHIFT) & in e1000_read_kmrn_reg()
3744 E1000_WRITE_REG(hw, KUMCTRLSTA, reg_val); in e1000_read_kmrn_reg()
3748 reg_val = E1000_READ_REG(hw, KUMCTRLSTA); in e1000_read_kmrn_reg()
3749 *data = (uint16_t)reg_val; in e1000_read_kmrn_reg()
3760 uint32_t reg_val; in e1000_write_kmrn_reg() local
3773 reg_val = ((reg_addr << E1000_KUMCTRLSTA_OFFSET_SHIFT) & in e1000_write_kmrn_reg()
3775 E1000_WRITE_REG(hw, KUMCTRLSTA, reg_val); in e1000_write_kmrn_reg()
/linux-2.4.37.9/drivers/video/
Dradeonfb.c350 } reg_val; typedef
356 reg_val common_regs[] = {
368 reg_val common_regs_m6[] = {