Lines Matching refs:temp

1296 	u32 temp;  in isp1760_run()  local
1313 temp = reg_read32(hcd->regs, HC_HW_MODE_CTRL); in isp1760_run()
1314 reg_write32(hcd->regs, HC_HW_MODE_CTRL, temp | HW_GLOBAL_INTR_EN); in isp1760_run()
1711 u32 temp, status = 0; in isp1760_hub_status_data() local
1725 temp = reg_read32(hcd->regs, HC_PORTSC1); in isp1760_hub_status_data()
1727 if (temp & PORT_OWNER) { in isp1760_hub_status_data()
1728 if (temp & PORT_CSC) { in isp1760_hub_status_data()
1729 temp &= ~PORT_CSC; in isp1760_hub_status_data()
1730 reg_write32(hcd->regs, HC_PORTSC1, temp); in isp1760_hub_status_data()
1742 if ((temp & mask) != 0 in isp1760_hub_status_data()
1743 || ((temp & PORT_RESUME) != 0 in isp1760_hub_status_data()
1759 u16 temp; in isp1760_hub_descriptor() local
1767 temp = 1 + (ports / 8); in isp1760_hub_descriptor()
1768 desc->bDescLength = 7 + 2 * temp; in isp1760_hub_descriptor()
1771 memset(&desc->u.hs.DeviceRemovable[0], 0, temp); in isp1760_hub_descriptor()
1772 memset(&desc->u.hs.DeviceRemovable[temp], 0xff, temp); in isp1760_hub_descriptor()
1775 temp = HUB_CHAR_INDV_PORT_OCPM; in isp1760_hub_descriptor()
1778 temp |= HUB_CHAR_INDV_PORT_LPSM; in isp1760_hub_descriptor()
1781 temp |= HUB_CHAR_NO_LPSM; in isp1760_hub_descriptor()
1782 desc->wHubCharacteristics = cpu_to_le16(temp); in isp1760_hub_descriptor()
1816 u32 temp, status; in isp1760_hub_control() local
1844 temp = reg_read32(hcd->regs, HC_PORTSC1); in isp1760_hub_control()
1855 reg_write32(hcd->regs, HC_PORTSC1, temp & ~PORT_PE); in isp1760_hub_control()
1861 if (temp & PORT_RESET) in isp1760_hub_control()
1864 if (temp & PORT_SUSPEND) { in isp1760_hub_control()
1865 if ((temp & PORT_PE) == 0) in isp1760_hub_control()
1868 temp &= ~(PORT_RWC_BITS); in isp1760_hub_control()
1870 temp | PORT_RESUME); in isp1760_hub_control()
1881 temp & ~PORT_POWER); in isp1760_hub_control()
1884 reg_write32(hcd->regs, HC_PORTSC1, temp | PORT_CSC); in isp1760_hub_control()
1910 temp = reg_read32(hcd->regs, HC_PORTSC1); in isp1760_hub_control()
1913 if (temp & PORT_CSC) in isp1760_hub_control()
1918 if (temp & PORT_RESUME) { in isp1760_hub_control()
1937 temp = reg_read32(hcd->regs, HC_PORTSC1); in isp1760_hub_control()
1939 temp & ~(PORT_RWC_BITS | PORT_RESUME)); in isp1760_hub_control()
1948 temp &= ~(PORT_SUSPEND|PORT_RESUME|(3<<10)); in isp1760_hub_control()
1953 if ((temp & PORT_RESET) in isp1760_hub_control()
1960 reg_write32(hcd->regs, HC_PORTSC1, temp & ~PORT_RESET); in isp1760_hub_control()
1973 temp = check_reset_complete(hcd, wIndex, in isp1760_hub_control()
1982 if (temp & PORT_OWNER) in isp1760_hub_control()
1985 if (temp & PORT_CONNECT) { in isp1760_hub_control()
1990 if (temp & PORT_PE) in isp1760_hub_control()
1992 if (temp & (PORT_SUSPEND|PORT_RESUME)) in isp1760_hub_control()
1994 if (temp & PORT_RESET) in isp1760_hub_control()
1996 if (temp & PORT_POWER) in isp1760_hub_control()
2017 temp = reg_read32(hcd->regs, HC_PORTSC1); in isp1760_hub_control()
2018 if (temp & PORT_OWNER) in isp1760_hub_control()
2024 reg_write32(hcd->regs, HC_PORTSC1, temp | PORT_PE); in isp1760_hub_control()
2028 if ((temp & PORT_PE) == 0 in isp1760_hub_control()
2029 || (temp & PORT_RESET) != 0) in isp1760_hub_control()
2032 reg_write32(hcd->regs, HC_PORTSC1, temp | PORT_SUSPEND); in isp1760_hub_control()
2037 temp | PORT_POWER); in isp1760_hub_control()
2040 if (temp & PORT_RESUME) in isp1760_hub_control()
2046 if ((temp & (PORT_PE|PORT_CONNECT)) == PORT_CONNECT in isp1760_hub_control()
2047 && PORT_USB11(temp)) { in isp1760_hub_control()
2048 temp |= PORT_OWNER; in isp1760_hub_control()
2050 temp |= PORT_RESET; in isp1760_hub_control()
2051 temp &= ~PORT_PE; in isp1760_hub_control()
2060 reg_write32(hcd->regs, HC_PORTSC1, temp); in isp1760_hub_control()
2089 u32 temp; in isp1760_stop() local
2100 temp = reg_read32(hcd->regs, HC_HW_MODE_CTRL); in isp1760_stop()
2101 reg_write32(hcd->regs, HC_HW_MODE_CTRL, temp &= ~HW_GLOBAL_INTR_EN); in isp1760_stop()
2109 u32 command, temp; in isp1760_shutdown() local
2112 temp = reg_read32(hcd->regs, HC_HW_MODE_CTRL); in isp1760_shutdown()
2113 reg_write32(hcd->regs, HC_HW_MODE_CTRL, temp &= ~HW_GLOBAL_INTR_EN); in isp1760_shutdown()