otg_ctrl           87 drivers/power/supply/isp1704_charger.c 	u8 otg_ctrl;
otg_ctrl           91 drivers/power/supply/isp1704_charger.c 	otg_ctrl = isp1704_read(isp, ULPI_OTG_CTRL);
otg_ctrl          114 drivers/power/supply/isp1704_charger.c 	isp1704_write(isp, ULPI_OTG_CTRL, otg_ctrl);
otg_ctrl          480 drivers/usb/phy/phy-isp1301-omap.c 	u32	otg_ctrl;
otg_ctrl          482 drivers/usb/phy/phy-isp1301-omap.c 	otg_ctrl = omap_readl(OTG_CTRL) & OTG_CTRL_MASK;
otg_ctrl          483 drivers/usb/phy/phy-isp1301-omap.c 	otg_ctrl &= ~OTG_XCEIV_INPUTS;
otg_ctrl          484 drivers/usb/phy/phy-isp1301-omap.c 	otg_ctrl &= ~(OTG_ID|OTG_ASESSVLD|OTG_VBUSVLD);
otg_ctrl          487 drivers/usb/phy/phy-isp1301-omap.c 		otg_ctrl |= OTG_ASESSVLD;
otg_ctrl          490 drivers/usb/phy/phy-isp1301-omap.c 		otg_ctrl &= ~OTG_CTRL_BITS;
otg_ctrl          493 drivers/usb/phy/phy-isp1301-omap.c 		otg_ctrl |= OTG_VBUSVLD;
otg_ctrl          502 drivers/usb/phy/phy-isp1301-omap.c 		otg_ctrl |= OTG_ID;
otg_ctrl          509 drivers/usb/phy/phy-isp1301-omap.c 	omap_writel(otg_ctrl, OTG_CTRL);
otg_ctrl          515 drivers/usb/phy/phy-isp1301-omap.c 	u32	otg_ctrl;
otg_ctrl          517 drivers/usb/phy/phy-isp1301-omap.c 	otg_ctrl = omap_readl(OTG_CTRL) & OTG_CTRL_MASK;
otg_ctrl          518 drivers/usb/phy/phy-isp1301-omap.c 	otg_ctrl &= ~OTG_XCEIV_INPUTS;
otg_ctrl          519 drivers/usb/phy/phy-isp1301-omap.c 	otg_ctrl &= ~(OTG_BSESSVLD | OTG_BSESSEND);
otg_ctrl          521 drivers/usb/phy/phy-isp1301-omap.c 		otg_ctrl |= OTG_BSESSVLD;
otg_ctrl          523 drivers/usb/phy/phy-isp1301-omap.c 		otg_ctrl |= OTG_BSESSEND;
otg_ctrl          524 drivers/usb/phy/phy-isp1301-omap.c 	omap_writel(otg_ctrl, OTG_CTRL);
otg_ctrl          530 drivers/usb/phy/phy-isp1301-omap.c 	u32	otg_ctrl, otg_change;
otg_ctrl          533 drivers/usb/phy/phy-isp1301-omap.c 	otg_ctrl = omap_readl(OTG_CTRL);
otg_ctrl          534 drivers/usb/phy/phy-isp1301-omap.c 	otg_change = otg_ctrl ^ isp->last_otg_ctrl;
otg_ctrl          535 drivers/usb/phy/phy-isp1301-omap.c 	isp->last_otg_ctrl = otg_ctrl;
otg_ctrl          536 drivers/usb/phy/phy-isp1301-omap.c 	otg_ctrl = otg_ctrl & OTG_XCEIV_INPUTS;
otg_ctrl          542 drivers/usb/phy/phy-isp1301-omap.c 		if (!(otg_ctrl & OTG_PULLUP)) {
otg_ctrl          556 drivers/usb/phy/phy-isp1301-omap.c 		if (otg_ctrl & OTG_PULLUP)
otg_ctrl          568 drivers/usb/phy/phy-isp1301-omap.c 		if (otg_ctrl & OTG) set |= ISP; \
otg_ctrl          573 drivers/usb/phy/phy-isp1301-omap.c 		otg_ctrl &= ~OTG_DRV_VBUS;
otg_ctrl          577 drivers/usb/phy/phy-isp1301-omap.c 		if (otg_ctrl & OTG_DRV_VBUS) {
otg_ctrl          594 drivers/usb/phy/phy-isp1301-omap.c 		if (otg_ctrl & OTG_DRV_VBUS) {
otg_ctrl          643 drivers/usb/phy/phy-isp1301-omap.c 	u32		otg_ctrl;
otg_ctrl          675 drivers/usb/phy/phy-isp1301-omap.c 		otg_ctrl = omap_readl(OTG_CTRL);
otg_ctrl          676 drivers/usb/phy/phy-isp1301-omap.c 		otg_ctrl |= OTG_BUSDROP;
otg_ctrl          677 drivers/usb/phy/phy-isp1301-omap.c 		otg_ctrl &= OTG_CTRL_MASK & ~OTG_XCEIV_INPUTS;
otg_ctrl          678 drivers/usb/phy/phy-isp1301-omap.c 		omap_writel(otg_ctrl, OTG_CTRL);
otg_ctrl          698 drivers/usb/phy/phy-isp1301-omap.c 			otg_ctrl = omap_readl(OTG_CTRL);
otg_ctrl          699 drivers/usb/phy/phy-isp1301-omap.c 			otg_ctrl |= OTG_A_BUSREQ;
otg_ctrl          700 drivers/usb/phy/phy-isp1301-omap.c 			otg_ctrl &= ~(OTG_BUSDROP|OTG_B_BUSREQ)
otg_ctrl          703 drivers/usb/phy/phy-isp1301-omap.c 			omap_writel(otg_ctrl, OTG_CTRL);
otg_ctrl          716 drivers/usb/phy/phy-isp1301-omap.c 		otg_ctrl = omap_readl(OTG_CTRL);
otg_ctrl          718 drivers/usb/phy/phy-isp1301-omap.c 				state_name(isp), otg_ctrl);
otg_ctrl          721 drivers/usb/phy/phy-isp1301-omap.c 		otg_ctrl |= OTG_BUSDROP;
otg_ctrl          722 drivers/usb/phy/phy-isp1301-omap.c 		otg_ctrl &= ~OTG_A_BUSREQ & OTG_CTRL_MASK & ~OTG_XCEIV_INPUTS;
otg_ctrl          723 drivers/usb/phy/phy-isp1301-omap.c 		omap_writel(otg_ctrl, OTG_CTRL);
otg_ctrl          731 drivers/usb/phy/phy-isp1301-omap.c 		otg_ctrl = omap_readl(OTG_CTRL);
otg_ctrl          733 drivers/usb/phy/phy-isp1301-omap.c 			state_name(isp), otg_irq, otg_ctrl);
otg_ctrl          735 drivers/usb/phy/phy-isp1301-omap.c 		otg_ctrl |= OTG_BUSDROP;
otg_ctrl          736 drivers/usb/phy/phy-isp1301-omap.c 		otg_ctrl &= ~OTG_A_BUSREQ & OTG_CTRL_MASK & ~OTG_XCEIV_INPUTS;
otg_ctrl          737 drivers/usb/phy/phy-isp1301-omap.c 		omap_writel(otg_ctrl, OTG_CTRL);
otg_ctrl          749 drivers/usb/phy/phy-isp1301-omap.c 		otg_ctrl = omap_readl(OTG_CTRL);
otg_ctrl          752 drivers/usb/phy/phy-isp1301-omap.c 				(otg_ctrl & OTG_DRIVER_SEL)
otg_ctrl          754 drivers/usb/phy/phy-isp1301-omap.c 				otg_ctrl);
otg_ctrl          758 drivers/usb/phy/phy-isp1301-omap.c 		if (otg_ctrl & OTG_DRIVER_SEL) {
otg_ctrl          770 drivers/usb/phy/phy-isp1301-omap.c 			if (!(otg_ctrl & OTG_ID)) {
otg_ctrl          771 drivers/usb/phy/phy-isp1301-omap.c 				otg_ctrl &= OTG_CTRL_MASK & ~OTG_XCEIV_INPUTS;
otg_ctrl          772 drivers/usb/phy/phy-isp1301-omap.c 				omap_writel(otg_ctrl | OTG_A_BUSREQ, OTG_CTRL);
otg_ctrl         1112 drivers/usb/phy/phy-isp1301-omap.c 			u32	otg_ctrl;
otg_ctrl         1123 drivers/usb/phy/phy-isp1301-omap.c 				otg_ctrl = omap_readl(OTG_CTRL);
otg_ctrl         1124 drivers/usb/phy/phy-isp1301-omap.c 				otg_ctrl |= OTG_A_BUSREQ;
otg_ctrl         1125 drivers/usb/phy/phy-isp1301-omap.c 				otg_ctrl &= ~(OTG_BUSDROP|OTG_B_BUSREQ)
otg_ctrl         1127 drivers/usb/phy/phy-isp1301-omap.c 				omap_writel(otg_ctrl, OTG_CTRL);
otg_ctrl         1402 drivers/usb/phy/phy-isp1301-omap.c 	u32		otg_ctrl;
otg_ctrl         1407 drivers/usb/phy/phy-isp1301-omap.c 	otg_ctrl = omap_readl(OTG_CTRL);
otg_ctrl         1408 drivers/usb/phy/phy-isp1301-omap.c 	if (!(otg_ctrl & OTG_BSESSEND))
otg_ctrl         1411 drivers/usb/phy/phy-isp1301-omap.c 	otg_ctrl |= OTG_B_BUSREQ;
otg_ctrl         1412 drivers/usb/phy/phy-isp1301-omap.c 	otg_ctrl &= ~OTG_A_BUSREQ & OTG_CTRL_MASK;
otg_ctrl         1413 drivers/usb/phy/phy-isp1301-omap.c 	omap_writel(otg_ctrl, OTG_CTRL);
otg_ctrl           89 drivers/usb/phy/phy-mv-usb.c 					  otg_ctrl.timer[A_WAIT_BCON_TIMER]);
otg_ctrl           91 drivers/usb/phy/phy-mv-usb.c 	mvotg->otg_ctrl.a_wait_bcon_timeout = 1;
otg_ctrl          108 drivers/usb/phy/phy-mv-usb.c 	timer = &mvotg->otg_ctrl.timer[id];
otg_ctrl          124 drivers/usb/phy/phy-mv-usb.c 	timer = &mvotg->otg_ctrl.timer[id];
otg_ctrl          292 drivers/usb/phy/phy-mv-usb.c 	struct mv_otg_ctrl *otg_ctrl = &mvotg->otg_ctrl;
otg_ctrl          299 drivers/usb/phy/phy-mv-usb.c 			otg_ctrl->b_sess_vld = 1;
otg_ctrl          300 drivers/usb/phy/phy-mv-usb.c 			otg_ctrl->b_sess_end = 0;
otg_ctrl          302 drivers/usb/phy/phy-mv-usb.c 			otg_ctrl->b_sess_vld = 0;
otg_ctrl          303 drivers/usb/phy/phy-mv-usb.c 			otg_ctrl->b_sess_end = 1;
otg_ctrl          306 drivers/usb/phy/phy-mv-usb.c 		otg_ctrl->b_sess_vld = !!(otgsc & OTGSC_STS_B_SESSION_VALID);
otg_ctrl          307 drivers/usb/phy/phy-mv-usb.c 		otg_ctrl->b_sess_end = !!(otgsc & OTGSC_STS_B_SESSION_END);
otg_ctrl          311 drivers/usb/phy/phy-mv-usb.c 		otg_ctrl->id = !!mvotg->pdata->id->poll();
otg_ctrl          313 drivers/usb/phy/phy-mv-usb.c 		otg_ctrl->id = !!(otgsc & OTGSC_STS_USB_ID);
otg_ctrl          315 drivers/usb/phy/phy-mv-usb.c 	if (mvotg->pdata->otg_force_a_bus_req && !otg_ctrl->id)
otg_ctrl          316 drivers/usb/phy/phy-mv-usb.c 		otg_ctrl->a_bus_req = 1;
otg_ctrl          318 drivers/usb/phy/phy-mv-usb.c 	otg_ctrl->a_sess_vld = !!(otgsc & OTGSC_STS_A_SESSION_VALID);
otg_ctrl          319 drivers/usb/phy/phy-mv-usb.c 	otg_ctrl->a_vbus_vld = !!(otgsc & OTGSC_STS_A_VBUS_VALID);
otg_ctrl          322 drivers/usb/phy/phy-mv-usb.c 	dev_dbg(&mvotg->pdev->dev, "id %d\n", otg_ctrl->id);
otg_ctrl          323 drivers/usb/phy/phy-mv-usb.c 	dev_dbg(&mvotg->pdev->dev, "b_sess_vld %d\n", otg_ctrl->b_sess_vld);
otg_ctrl          324 drivers/usb/phy/phy-mv-usb.c 	dev_dbg(&mvotg->pdev->dev, "b_sess_end %d\n", otg_ctrl->b_sess_end);
otg_ctrl          325 drivers/usb/phy/phy-mv-usb.c 	dev_dbg(&mvotg->pdev->dev, "a_vbus_vld %d\n", otg_ctrl->a_vbus_vld);
otg_ctrl          326 drivers/usb/phy/phy-mv-usb.c 	dev_dbg(&mvotg->pdev->dev, "a_sess_vld %d\n", otg_ctrl->a_sess_vld);
otg_ctrl          331 drivers/usb/phy/phy-mv-usb.c 	struct mv_otg_ctrl *otg_ctrl = &mvotg->otg_ctrl;
otg_ctrl          339 drivers/usb/phy/phy-mv-usb.c 		if (otg_ctrl->id == 0)
otg_ctrl          341 drivers/usb/phy/phy-mv-usb.c 		else if (otg_ctrl->b_sess_vld)
otg_ctrl          345 drivers/usb/phy/phy-mv-usb.c 		if (!otg_ctrl->b_sess_vld || otg_ctrl->id == 0)
otg_ctrl          349 drivers/usb/phy/phy-mv-usb.c 		if (otg_ctrl->id)
otg_ctrl          351 drivers/usb/phy/phy-mv-usb.c 		else if (!(otg_ctrl->a_bus_drop) &&
otg_ctrl          352 drivers/usb/phy/phy-mv-usb.c 			 (otg_ctrl->a_bus_req || otg_ctrl->a_srp_det))
otg_ctrl          356 drivers/usb/phy/phy-mv-usb.c 		if (otg_ctrl->a_vbus_vld)
otg_ctrl          360 drivers/usb/phy/phy-mv-usb.c 		if (otg_ctrl->id || otg_ctrl->a_bus_drop
otg_ctrl          361 drivers/usb/phy/phy-mv-usb.c 		    || otg_ctrl->a_wait_bcon_timeout) {
otg_ctrl          363 drivers/usb/phy/phy-mv-usb.c 			mvotg->otg_ctrl.a_wait_bcon_timeout = 0;
otg_ctrl          365 drivers/usb/phy/phy-mv-usb.c 			otg_ctrl->a_bus_req = 0;
otg_ctrl          366 drivers/usb/phy/phy-mv-usb.c 		} else if (!otg_ctrl->a_vbus_vld) {
otg_ctrl          368 drivers/usb/phy/phy-mv-usb.c 			mvotg->otg_ctrl.a_wait_bcon_timeout = 0;
otg_ctrl          370 drivers/usb/phy/phy-mv-usb.c 		} else if (otg_ctrl->b_conn) {
otg_ctrl          372 drivers/usb/phy/phy-mv-usb.c 			mvotg->otg_ctrl.a_wait_bcon_timeout = 0;
otg_ctrl          377 drivers/usb/phy/phy-mv-usb.c 		if (otg_ctrl->id || !otg_ctrl->b_conn
otg_ctrl          378 drivers/usb/phy/phy-mv-usb.c 		    || otg_ctrl->a_bus_drop)
otg_ctrl          380 drivers/usb/phy/phy-mv-usb.c 		else if (!otg_ctrl->a_vbus_vld)
otg_ctrl          384 drivers/usb/phy/phy-mv-usb.c 		if (otg_ctrl->id
otg_ctrl          385 drivers/usb/phy/phy-mv-usb.c 		    || (!otg_ctrl->b_conn && otg_ctrl->a_sess_vld)
otg_ctrl          386 drivers/usb/phy/phy-mv-usb.c 		    || otg_ctrl->a_bus_req)
otg_ctrl          390 drivers/usb/phy/phy-mv-usb.c 		if (otg_ctrl->id || otg_ctrl->a_clr_err
otg_ctrl          391 drivers/usb/phy/phy-mv-usb.c 		    || otg_ctrl->a_bus_drop) {
otg_ctrl          392 drivers/usb/phy/phy-mv-usb.c 			otg_ctrl->a_clr_err = 0;
otg_ctrl          458 drivers/usb/phy/phy-mv-usb.c 			mvotg->otg_ctrl.b_conn = 1;
otg_ctrl          467 drivers/usb/phy/phy-mv-usb.c 			mvotg->otg_ctrl.b_conn = 0;
otg_ctrl          524 drivers/usb/phy/phy-mv-usb.c 			 mvotg->otg_ctrl.a_bus_req);
otg_ctrl          546 drivers/usb/phy/phy-mv-usb.c 		mvotg->otg_ctrl.a_bus_req = 1;
otg_ctrl          547 drivers/usb/phy/phy-mv-usb.c 		mvotg->otg_ctrl.a_bus_drop = 0;
otg_ctrl          574 drivers/usb/phy/phy-mv-usb.c 		mvotg->otg_ctrl.a_clr_err = 1;
otg_ctrl          595 drivers/usb/phy/phy-mv-usb.c 			 mvotg->otg_ctrl.a_bus_drop);
otg_ctrl          610 drivers/usb/phy/phy-mv-usb.c 		mvotg->otg_ctrl.a_bus_drop = 0;
otg_ctrl          614 drivers/usb/phy/phy-mv-usb.c 		mvotg->otg_ctrl.a_bus_drop = 1;
otg_ctrl          615 drivers/usb/phy/phy-mv-usb.c 		mvotg->otg_ctrl.a_bus_req = 0;
otg_ctrl          716 drivers/usb/phy/phy-mv-usb.c 		timer_setup(&mvotg->otg_ctrl.timer[i],
otg_ctrl          136 drivers/usb/phy/phy-mv-usb.h 	struct mv_otg_ctrl otg_ctrl;