Home
last modified time | relevance | path

Searched refs:tmp_reg (Results 1 – 7 of 7) sorted by relevance

/drivers/usb/chipidea/
Ddebug.c351 u32 tmp_reg; in ci_registers_show() local
357 tmp_reg = hw_read_intr_enable(ci); in ci_registers_show()
358 seq_printf(s, "USBINTR reg: %08x\n", tmp_reg); in ci_registers_show()
360 tmp_reg = hw_read_intr_status(ci); in ci_registers_show()
361 seq_printf(s, "USBSTS reg: %08x\n", tmp_reg); in ci_registers_show()
363 tmp_reg = hw_read(ci, OP_USBMODE, ~0); in ci_registers_show()
364 seq_printf(s, "USBMODE reg: %08x\n", tmp_reg); in ci_registers_show()
366 tmp_reg = hw_read(ci, OP_USBCMD, ~0); in ci_registers_show()
367 seq_printf(s, "USBCMD reg: %08x\n", tmp_reg); in ci_registers_show()
369 tmp_reg = hw_read(ci, OP_PORTSC, ~0); in ci_registers_show()
[all …]
/drivers/usb/gadget/udc/
Dfsl_udc_core.c2030 u32 tmp_reg; in fsl_proc_read() local
2047 tmp_reg = fsl_readl(&dr_regs->usbcmd); in fsl_proc_read()
2052 (tmp_reg & USB_CMD_SUTW) ? 1 : 0, in fsl_proc_read()
2053 (tmp_reg & USB_CMD_RUN_STOP) ? "Run" : "Stop"); in fsl_proc_read()
2055 tmp_reg = fsl_readl(&dr_regs->usbsts); in fsl_proc_read()
2060 (tmp_reg & USB_STS_SUSPEND) ? 1 : 0, in fsl_proc_read()
2061 (tmp_reg & USB_STS_RESET) ? 1 : 0, in fsl_proc_read()
2062 (tmp_reg & USB_STS_SYS_ERR) ? "Err" : "Normal", in fsl_proc_read()
2063 (tmp_reg & USB_STS_ERR) ? "Err detected" : "No err"); in fsl_proc_read()
2065 tmp_reg = fsl_readl(&dr_regs->usbintr); in fsl_proc_read()
[all …]
Dnet2280.c1913 u32 tmp_reg; in defect7374_disable_data_eps() local
1926 tmp_reg = readl(&dev->plregs->pl_ep_ctrl); in defect7374_disable_data_eps()
1927 writel(((tmp_reg & ~0x1f) | ep_sel), &dev->plregs->pl_ep_ctrl); in defect7374_disable_data_eps()
1934 tmp_reg = readl(&dev->plregs->pl_ep_cfg_4); in defect7374_disable_data_eps()
1935 tmp_reg &= ~BIT(NON_CTRL_IN_TOLERATE_BAD_DIR); in defect7374_disable_data_eps()
1936 writel(tmp_reg, &dev->plregs->pl_ep_cfg_4); in defect7374_disable_data_eps()
1937 tmp_reg = readl(&dev->plregs->pl_ep_ctrl); in defect7374_disable_data_eps()
1938 tmp_reg |= BIT(EP_INITIALIZED); in defect7374_disable_data_eps()
1939 writel(tmp_reg, &dev->plregs->pl_ep_ctrl); in defect7374_disable_data_eps()
1945 u32 tmp = 0, tmp_reg; in defect7374_enable_data_eps_zero() local
[all …]
/drivers/media/usb/cpia2/
Dcpia2_core.c612 u8 tmp_reg; in cpia2_reset_camera() local
725 tmp_reg = cam->params.vp_params.system_ctrl; in cpia2_reset_camera()
726 cmd.buffer.registers[0].value = tmp_reg & in cpia2_reset_camera()
727 (tmp_reg & (CPIA2_VP_SYSTEMCTRL_HK_CONTROL ^ 0xFF)); in cpia2_reset_camera()
790 tmp_reg = cam->params.vc_params.vc_control | in cpia2_reset_camera()
793 tmp_reg = cam->params.vc_params.vc_control & in cpia2_reset_camera()
796 cpia2_do_command(cam, CPIA2_CMD_SET_VC_CONTROL, TRANSFER_WRITE,tmp_reg); in cpia2_reset_camera()
818 tmp_reg = cam->params.vc_params.pw_control; in cpia2_reset_camera()
819 tmp_reg &= ~CPIA2_VC_PW_CTRL_VC_RESET_N; in cpia2_reset_camera()
821 cpia2_do_command(cam, CPIA2_CMD_SET_PW_CONTROL, TRANSFER_WRITE,tmp_reg); in cpia2_reset_camera()
[all …]
/drivers/net/ethernet/dec/tulip/
Ddmfe.c1925 int dmfe_mode, tmp_reg; in dmfe_parse_srom() local
1938 for (tmp_reg = 1; tmp_reg < 0x10; tmp_reg <<= 1) { in dmfe_parse_srom()
1939 switch( db->NIC_capability & tmp_reg ) { in dmfe_parse_srom()
1998 tmp_reg = dmfe_phy_read(db->ioaddr, db->phy_addr, 3, db->chip_id); in dmfe_parse_srom()
1999 if ( ( tmp_reg & 0xfff0 ) == 0xb900 ) { in dmfe_parse_srom()
2005 dmfe_program_DM9801(db, tmp_reg); in dmfe_parse_srom()
/drivers/net/wireless/ath/ath9k/
Dar5008_phy.c147 u32 tmp_reg; in ar5008_hw_force_bias() local
164 tmp_reg = ath9k_hw_reverse_bits(new_bias, 3); in ar5008_hw_force_bias()
170 ar5008_hw_phy_modify_rx_buffer(ah->analogBank6Data, tmp_reg, 3, 181, 3); in ar5008_hw_force_bias()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c10500 u32 addr, tmp_reg; in bnx2x_prev_unload_undi_inc() local
10507 tmp_reg = REG_RD(bp, addr); in bnx2x_prev_unload_undi_inc()
10508 rcq = BNX2X_PREV_UNDI_RCQ(tmp_reg) + inc; in bnx2x_prev_unload_undi_inc()
10509 bd = BNX2X_PREV_UNDI_BD(tmp_reg) + inc; in bnx2x_prev_unload_undi_inc()
10511 tmp_reg = BNX2X_PREV_UNDI_PROD(rcq, bd); in bnx2x_prev_unload_undi_inc()
10512 REG_WR(bp, addr, tmp_reg); in bnx2x_prev_unload_undi_inc()
10734 u32 reset_reg, tmp_reg = 0, rc; in bnx2x_prev_unload_common() local
10777 tmp_reg = REG_RD(bp, BRB1_REG_NUM_OF_FULL_BLOCKS); in bnx2x_prev_unload_common()
10779 u32 prev_brb = tmp_reg; in bnx2x_prev_unload_common()
10781 tmp_reg = REG_RD(bp, BRB1_REG_NUM_OF_FULL_BLOCKS); in bnx2x_prev_unload_common()
[all …]