Go to the documentation of this file.
22 #define DBG(fmt, args...) printk(KERN_DEBUG "[%s] " fmt , \
25 #define DBG(fmt, args...) do {} while (0)
31 #define VDBG(stuff...) do {} while (0)
35 #define MPC_LOC printk("Current Location [%s]:[%d]\n", __FILE__, __LINE__)
37 #define MPC_LOC do {} while (0)
40 #define PROTO_UNDEF (0)
41 #define PROTO_HOST (1)
42 #define PROTO_GADGET (2)
105 static inline void otg_chrg_vbus(
struct otg_fsm *
fsm,
int on)
107 fsm->
ops->chrg_vbus(on);
110 static inline void otg_drv_vbus(
struct otg_fsm *
fsm,
int on)
114 fsm->
ops->drv_vbus(on);
118 static inline void otg_loc_conn(
struct otg_fsm *fsm,
int on)
122 fsm->
ops->loc_conn(on);
126 static inline void otg_loc_sof(
struct otg_fsm *fsm,
int on)
130 fsm->
ops->loc_sof(on);
134 static inline void otg_start_pulse(
struct otg_fsm *fsm)
136 fsm->
ops->start_pulse();
139 static inline void otg_add_timer(
struct otg_fsm *fsm,
void *
timer)
141 fsm->
ops->add_timer(timer);
144 static inline void otg_del_timer(
struct otg_fsm *fsm,
void *timer)
146 fsm->
ops->del_timer(timer);