Lines Matching refs:imx_usbmisc_data
142 int (*init)(struct imx_usbmisc_data *data);
144 int (*post)(struct imx_usbmisc_data *data);
146 int (*set_wakeup)(struct imx_usbmisc_data *data, bool enabled);
148 int (*hsic_set_connect)(struct imx_usbmisc_data *data);
150 int (*hsic_set_clk)(struct imx_usbmisc_data *data, bool enabled);
152 int (*charger_detection)(struct imx_usbmisc_data *data);
161 static inline bool is_imx53_usbmisc(struct imx_usbmisc_data *data);
163 static int usbmisc_imx25_init(struct imx_usbmisc_data *data) in usbmisc_imx25_init()
212 static int usbmisc_imx25_post(struct imx_usbmisc_data *data) in usbmisc_imx25_post()
241 static int usbmisc_imx27_init(struct imx_usbmisc_data *data) in usbmisc_imx27_init()
272 static int usbmisc_imx53_init(struct imx_usbmisc_data *data) in usbmisc_imx53_init()
372 static u32 usbmisc_wakeup_setting(struct imx_usbmisc_data *data) in usbmisc_wakeup_setting()
386 (struct imx_usbmisc_data *data, bool enabled) in usbmisc_imx6q_set_wakeup()
412 static int usbmisc_imx6q_init(struct imx_usbmisc_data *data) in usbmisc_imx6q_init()
467 static int usbmisc_imx6_hsic_get_reg_offset(struct imx_usbmisc_data *data) in usbmisc_imx6_hsic_get_reg_offset()
488 static int usbmisc_imx6_hsic_set_connect(struct imx_usbmisc_data *data) in usbmisc_imx6_hsic_set_connect()
512 static int usbmisc_imx6_hsic_set_clk(struct imx_usbmisc_data *data, bool on) in usbmisc_imx6_hsic_set_clk()
540 static int usbmisc_imx6sx_init(struct imx_usbmisc_data *data) in usbmisc_imx6sx_init()
575 static int usbmisc_vf610_init(struct imx_usbmisc_data *data) in usbmisc_vf610_init()
596 (struct imx_usbmisc_data *data, bool enabled) in usbmisc_imx7d_set_wakeup()
618 static int usbmisc_imx7d_init(struct imx_usbmisc_data *data) in usbmisc_imx7d_init()
684 static int imx7d_charger_secondary_detection(struct imx_usbmisc_data *data) in imx7d_charger_secondary_detection()
730 static void imx7_disable_charger_detector(struct imx_usbmisc_data *data) in imx7_disable_charger_detector()
755 static int imx7d_charger_data_contact_detect(struct imx_usbmisc_data *data) in imx7d_charger_data_contact_detect()
798 static int imx7d_charger_primary_detection(struct imx_usbmisc_data *data) in imx7d_charger_primary_detection()
835 static int imx7d_charger_detection(struct imx_usbmisc_data *data) in imx7d_charger_detection()
878 static int usbmisc_imx7ulp_init(struct imx_usbmisc_data *data) in usbmisc_imx7ulp_init()
990 static inline bool is_imx53_usbmisc(struct imx_usbmisc_data *data) in is_imx53_usbmisc()
997 int imx_usbmisc_init(struct imx_usbmisc_data *data) in imx_usbmisc_init()
1011 int imx_usbmisc_init_post(struct imx_usbmisc_data *data) in imx_usbmisc_init_post()
1025 int imx_usbmisc_set_wakeup(struct imx_usbmisc_data *data, bool enabled) in imx_usbmisc_set_wakeup()
1039 int imx_usbmisc_hsic_set_connect(struct imx_usbmisc_data *data) in imx_usbmisc_hsic_set_connect()
1053 int imx_usbmisc_hsic_set_clk(struct imx_usbmisc_data *data, bool on) in imx_usbmisc_hsic_set_clk()
1067 int imx_usbmisc_charger_detection(struct imx_usbmisc_data *data, bool connect) in imx_usbmisc_charger_detection()