/linux-3.4.99/arch/arm/mach-pnx4008/ |
D | clock.c | 107 u32 tmp_reg; in switch_to_dirty_13mhz() local 114 tmp_reg = __raw_readl(clk->parent_switch_reg); in switch_to_dirty_13mhz() 116 if (!(tmp_reg & 1)) { in switch_to_dirty_13mhz() 117 tmp_reg |= (1 << 1); /* Trigger switch to 13'MHz (dirty) clock */ in switch_to_dirty_13mhz() 118 __raw_writel(tmp_reg, clk->parent_switch_reg); in switch_to_dirty_13mhz() 140 u32 tmp_reg; in switch_to_clean_13mhz() local 147 tmp_reg = __raw_readl(clk->parent_switch_reg); in switch_to_clean_13mhz() 149 if (tmp_reg & 1) { in switch_to_clean_13mhz() 150 tmp_reg &= ~(1 << 1); /* Trigger switch to 13MHz (clean) clock */ in switch_to_clean_13mhz() 151 __raw_writel(tmp_reg, clk->parent_switch_reg); in switch_to_clean_13mhz() [all …]
|
/linux-3.4.99/drivers/usb/gadget/ |
D | fsl_udc_core.c | 2066 u32 tmp_reg; in fsl_proc_read() local 2087 tmp_reg = fsl_readl(&dr_regs->usbcmd); in fsl_proc_read() 2092 (tmp_reg & USB_CMD_SUTW) ? 1 : 0, in fsl_proc_read() 2093 (tmp_reg & USB_CMD_RUN_STOP) ? "Run" : "Stop"); in fsl_proc_read() 2097 tmp_reg = fsl_readl(&dr_regs->usbsts); in fsl_proc_read() 2102 (tmp_reg & USB_STS_SUSPEND) ? 1 : 0, in fsl_proc_read() 2103 (tmp_reg & USB_STS_RESET) ? 1 : 0, in fsl_proc_read() 2104 (tmp_reg & USB_STS_SYS_ERR) ? "Err" : "Normal", in fsl_proc_read() 2105 (tmp_reg & USB_STS_ERR) ? "Err detected" : "No err"); in fsl_proc_read() 2109 tmp_reg = fsl_readl(&dr_regs->usbintr); in fsl_proc_read() [all …]
|
D | langwell_udc.c | 1554 u32 tmp_reg; in show_langwell_udc() local 1571 tmp_reg = readl(&dev->op_regs->usbcmd); in show_langwell_udc() 1576 (tmp_reg & CMD_SUTW) ? 1 : 0, in show_langwell_udc() 1577 (tmp_reg & CMD_RUNSTOP) ? "Run" : "Stop"); in show_langwell_udc() 1581 tmp_reg = readl(&dev->op_regs->usbsts); in show_langwell_udc() 1588 (tmp_reg & STS_SLI) ? 1 : 0, in show_langwell_udc() 1589 (tmp_reg & STS_URI) ? 1 : 0, in show_langwell_udc() 1590 (tmp_reg & STS_SEI) ? "Error" : "No error", in show_langwell_udc() 1591 (tmp_reg & STS_UEI) ? "Error detected" : "No error"); in show_langwell_udc() 1595 tmp_reg = readl(&dev->op_regs->usbintr); in show_langwell_udc() [all …]
|
/linux-3.4.99/sound/soc/codecs/ |
D | tlv320aic32x4.c | 629 u32 tmp_reg; in aic32x4_probe() local 645 tmp_reg = (aic32x4->power_cfg & AIC32X4_PWR_AIC32X4_LDO_ENABLE) ? in aic32x4_probe() 647 snd_soc_write(codec, AIC32X4_LDOCTL, tmp_reg); in aic32x4_probe() 649 tmp_reg = snd_soc_read(codec, AIC32X4_CMMODE); in aic32x4_probe() 651 tmp_reg |= AIC32X4_LDOIN_18_36; in aic32x4_probe() 654 tmp_reg |= AIC32X4_LDOIN2HP; in aic32x4_probe() 656 snd_soc_write(codec, AIC32X4_CMMODE, tmp_reg); in aic32x4_probe()
|
/linux-3.4.99/drivers/media/video/cpia2/ |
D | cpia2_core.c | 618 u8 tmp_reg; in cpia2_reset_camera() local 730 tmp_reg = cam->params.vp_params.system_ctrl; in cpia2_reset_camera() 731 cmd.buffer.registers[0].value = tmp_reg & in cpia2_reset_camera() 732 (tmp_reg & (CPIA2_VP_SYSTEMCTRL_HK_CONTROL ^ 0xFF)); in cpia2_reset_camera() 795 tmp_reg = cam->params.vc_params.vc_control | in cpia2_reset_camera() 798 tmp_reg = cam->params.vc_params.vc_control & in cpia2_reset_camera() 801 cpia2_do_command(cam, CPIA2_CMD_SET_VC_CONTROL, TRANSFER_WRITE,tmp_reg); in cpia2_reset_camera() 816 tmp_reg = cam->params.vc_params.pw_control; in cpia2_reset_camera() 817 tmp_reg &= ~CPIA2_VC_PW_CTRL_VC_RESET_N; in cpia2_reset_camera() 819 cpia2_do_command(cam, CPIA2_CMD_SET_PW_CONTROL, TRANSFER_WRITE,tmp_reg); in cpia2_reset_camera() [all …]
|
/linux-3.4.99/drivers/net/ethernet/dec/tulip/ |
D | dmfe.c | 1909 int dmfe_mode, tmp_reg; in dmfe_parse_srom() local 1922 for (tmp_reg = 1; tmp_reg < 0x10; tmp_reg <<= 1) { in dmfe_parse_srom() 1923 switch( db->NIC_capability & tmp_reg ) { in dmfe_parse_srom() 1982 tmp_reg = phy_read(db->ioaddr, db->phy_addr, 3, db->chip_id); in dmfe_parse_srom() 1983 if ( ( tmp_reg & 0xfff0 ) == 0xb900 ) { in dmfe_parse_srom() 1989 dmfe_program_DM9801(db, tmp_reg); in dmfe_parse_srom()
|
/linux-3.4.99/arch/x86/mm/ |
D | init_32.c | 853 char tmp_reg; in do_test_wp_bit() local 863 "=q" (tmp_reg), in do_test_wp_bit()
|
/linux-3.4.99/drivers/net/wireless/ath/ath9k/ |
D | ar5008_phy.c | 142 u32 tmp_reg; in ar5008_hw_force_bias() local 159 tmp_reg = ath9k_hw_reverse_bits(new_bias, 3); in ar5008_hw_force_bias() 165 ar5008_hw_phy_modify_rx_buffer(ah->analogBank6Data, tmp_reg, 3, 181, 3); in ar5008_hw_force_bias()
|
/linux-3.4.99/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_main.c | 8891 u32 tmp_reg = REG_RD(bp, BNX2X_PREV_UNDI_PROD_ADDR(port)); in bnx2x_prev_unload_undi_inc() local 8893 rcq = BNX2X_PREV_UNDI_RCQ(tmp_reg) + inc; in bnx2x_prev_unload_undi_inc() 8894 bd = BNX2X_PREV_UNDI_BD(tmp_reg) + inc; in bnx2x_prev_unload_undi_inc() 8896 tmp_reg = BNX2X_PREV_UNDI_PROD(rcq, bd); in bnx2x_prev_unload_undi_inc() 8897 REG_WR(bp, BNX2X_PREV_UNDI_PROD_ADDR(port), tmp_reg); in bnx2x_prev_unload_undi_inc() 9051 u32 reset_reg, tmp_reg = 0, rc; in bnx2x_prev_unload_common() local 9076 tmp_reg = REG_RD(bp, DORQ_REG_NORM_CID_OFST); in bnx2x_prev_unload_common() 9077 if (tmp_reg == 0x7) { in bnx2x_prev_unload_common() 9085 tmp_reg = REG_RD(bp, BRB1_REG_NUM_OF_FULL_BLOCKS); in bnx2x_prev_unload_common() 9087 u32 prev_brb = tmp_reg; in bnx2x_prev_unload_common() [all …]
|