Lines Matching refs:ci_hdrc
99 struct ci_hdrc *ci;
131 int (*start)(struct ci_hdrc *);
132 void (*stop)(struct ci_hdrc *);
133 irqreturn_t (*irq)(struct ci_hdrc *);
206 struct ci_hdrc { struct
259 static inline struct ci_role_driver *ci_role(struct ci_hdrc *ci) in ci_role() argument
265 static inline int ci_role_start(struct ci_hdrc *ci, enum ci_role role) in ci_role_start()
281 static inline void ci_role_stop(struct ci_hdrc *ci) in ci_role_stop()
301 static inline u32 hw_read_id_reg(struct ci_hdrc *ci, u32 offset, u32 mask) in hw_read_id_reg()
313 static inline void hw_write_id_reg(struct ci_hdrc *ci, u32 offset, in hw_write_id_reg()
331 static inline u32 hw_read(struct ci_hdrc *ci, enum ci_hw_regs reg, u32 mask) in hw_read()
347 static inline void __hw_write(struct ci_hdrc *ci, u32 val, in __hw_write()
363 static inline void hw_write(struct ci_hdrc *ci, enum ci_hw_regs reg, in hw_write()
381 static inline u32 hw_test_and_clear(struct ci_hdrc *ci, enum ci_hw_regs reg, in hw_test_and_clear()
399 static inline u32 hw_test_and_write(struct ci_hdrc *ci, enum ci_hw_regs reg, in hw_test_and_write()
414 static inline bool ci_otg_is_fsm_mode(struct ci_hdrc *ci) in ci_otg_is_fsm_mode()
427 int ci_ulpi_init(struct ci_hdrc *ci);
428 void ci_ulpi_exit(struct ci_hdrc *ci);
429 int ci_ulpi_resume(struct ci_hdrc *ci);
431 u32 hw_read_intr_enable(struct ci_hdrc *ci);
433 u32 hw_read_intr_status(struct ci_hdrc *ci);
435 int hw_device_reset(struct ci_hdrc *ci);
437 int hw_port_test_set(struct ci_hdrc *ci, u8 mode);
439 u8 hw_port_test_get(struct ci_hdrc *ci);
441 void hw_phymode_configure(struct ci_hdrc *ci);
443 void ci_platform_configure(struct ci_hdrc *ci);
445 void dbg_create_files(struct ci_hdrc *ci);
447 void dbg_remove_files(struct ci_hdrc *ci);