• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/usb/otg/

Lines Matching refs:isp1301

54 struct isp1301 {
113 static void enable_vbus_draw(struct isp1301 *isp, unsigned mA)
122 static void enable_vbus_draw(struct isp1301 *isp, unsigned mA)
132 static void enable_vbus_source(struct isp1301 *isp)
141 static inline void notresponding(struct isp1301 *isp)
154 isp1301_get_u8(struct isp1301 *isp, u8 reg)
160 isp1301_get_u16(struct isp1301 *isp, u8 reg)
166 isp1301_set_bits(struct isp1301 *isp, u8 reg, u8 bits)
172 isp1301_clear_bits(struct isp1301 *isp, u8 reg, u8 bits)
257 static inline const char *state_name(struct isp1301 *isp)
272 static void power_down(struct isp1301 *isp)
283 static void power_up(struct isp1301 *isp)
296 static int host_suspend(struct isp1301 *isp)
314 static int host_resume(struct isp1301 *isp)
329 static int gadget_suspend(struct isp1301 *isp)
346 static void isp1301_defer_work(struct isp1301 *isp, int work)
360 static void a_idle(struct isp1301 *isp, const char *tag)
384 static void b_idle(struct isp1301 *isp, const char *tag)
408 dump_regs(struct isp1301 *isp, const char *label)
429 * We translate isp1301 outputs (mostly voltage comparator status) into
431 * flags into isp1301 inputs ... and infer state transitions.
436 static void check_state(struct isp1301 *isp, const char *tag)
510 static inline void check_state(struct isp1301 *isp, const char *tag) { }
515 static void update_otg1(struct isp1301 *isp, u8 int_src)
549 static void update_otg2(struct isp1301 *isp, u8 otg_status)
564 static void otg_update_isp(struct isp1301 *isp)
672 dump_regs(isp, "otg->isp1301");
680 struct isp1301 *isp = _isp;
845 static int isp1301_otg_init(struct isp1301 *isp)
908 static int otg_bind(struct isp1301 *isp)
930 static void otg_unbind(struct isp1301 *isp)
945 static void b_peripheral(struct isp1301 *isp)
968 static void isp_update_otg(struct isp1301 *isp, u8 stat)
1100 /* update the OTG controller state to match the isp1301; may
1101 * trigger OPRT_CHG irqs for changes going to the isp1301.
1108 dump_regs(isp, "isp1301->otg");
1113 static u8 isp1301_clear_latch(struct isp1301 *isp)
1123 struct isp1301 *isp = container_of(work, struct isp1301, work);
1132 /* transfer state from otg engine to isp1301 */
1138 /* transfer state from isp1301 to otg engine */
1217 struct isp1301 *isp;
1228 static struct isp1301 *the_transceiver;
1232 struct isp1301 *isp;
1265 * As a rule, you won't have an isp1301 chip unless it's there to
1273 static int isp1301_otg_enable(struct isp1301 *isp)
1297 struct isp1301 *isp = container_of(otg, struct isp1301, otg);
1352 struct isp1301 *isp = container_of(otg, struct isp1301, otg);
1430 struct isp1301 *isp = container_of(dev, struct isp1301, otg);
1458 struct isp1301 *isp = container_of(dev, struct isp1301, otg);
1508 struct isp1301 *isp;
1533 dev_dbg(&i2c->dev, "not isp1301, %d\n", status);
1576 if (gpio_request(2, "isp1301") == 0)