Lines Matching refs:ci_hdrc
102 struct ci_hdrc *ci;
136 int (*start)(struct ci_hdrc *);
137 void (*stop)(struct ci_hdrc *);
138 void (*suspend)(struct ci_hdrc *ci);
139 void (*resume)(struct ci_hdrc *ci, bool power_lost);
140 irqreturn_t (*irq)(struct ci_hdrc *);
214 struct ci_hdrc { struct
270 static inline struct ci_role_driver *ci_role(struct ci_hdrc *ci) in ci_role() argument
276 static inline int ci_role_start(struct ci_hdrc *ci, enum ci_role role) in ci_role_start()
303 static inline void ci_role_stop(struct ci_hdrc *ci) in ci_role_stop()
318 static inline enum usb_role ci_role_to_usb_role(struct ci_hdrc *ci) in ci_role_to_usb_role()
346 static inline u32 hw_read_id_reg(struct ci_hdrc *ci, u32 offset, u32 mask) in hw_read_id_reg()
358 static inline void hw_write_id_reg(struct ci_hdrc *ci, u32 offset, in hw_write_id_reg()
376 static inline u32 hw_read(struct ci_hdrc *ci, enum ci_hw_regs reg, u32 mask) in hw_read()
392 static inline void __hw_write(struct ci_hdrc *ci, u32 val, in __hw_write()
408 static inline void hw_write(struct ci_hdrc *ci, enum ci_hw_regs reg, in hw_write()
426 static inline u32 hw_test_and_clear(struct ci_hdrc *ci, enum ci_hw_regs reg, in hw_test_and_clear()
444 static inline u32 hw_test_and_write(struct ci_hdrc *ci, enum ci_hw_regs reg, in hw_test_and_write()
459 static inline bool ci_otg_is_fsm_mode(struct ci_hdrc *ci) in ci_otg_is_fsm_mode()
472 int ci_ulpi_init(struct ci_hdrc *ci);
473 void ci_ulpi_exit(struct ci_hdrc *ci);
474 int ci_ulpi_resume(struct ci_hdrc *ci);
476 u32 hw_read_intr_enable(struct ci_hdrc *ci);
478 u32 hw_read_intr_status(struct ci_hdrc *ci);
480 int hw_device_reset(struct ci_hdrc *ci);
482 int hw_port_test_set(struct ci_hdrc *ci, u8 mode);
484 u8 hw_port_test_get(struct ci_hdrc *ci);
486 void hw_phymode_configure(struct ci_hdrc *ci);
488 void ci_platform_configure(struct ci_hdrc *ci);
490 void dbg_create_files(struct ci_hdrc *ci);
492 void dbg_remove_files(struct ci_hdrc *ci);