Lines Matching refs:ci_hdrc
101 struct ci_hdrc *ci;
133 int (*start)(struct ci_hdrc *);
134 void (*stop)(struct ci_hdrc *);
135 irqreturn_t (*irq)(struct ci_hdrc *);
207 struct ci_hdrc { struct
260 static inline struct ci_role_driver *ci_role(struct ci_hdrc *ci) in ci_role() argument
266 static inline int ci_role_start(struct ci_hdrc *ci, enum ci_role role) in ci_role_start()
282 static inline void ci_role_stop(struct ci_hdrc *ci) in ci_role_stop()
294 static inline enum usb_role ci_role_to_usb_role(struct ci_hdrc *ci) in ci_role_to_usb_role()
322 static inline u32 hw_read_id_reg(struct ci_hdrc *ci, u32 offset, u32 mask) in hw_read_id_reg()
334 static inline void hw_write_id_reg(struct ci_hdrc *ci, u32 offset, in hw_write_id_reg()
352 static inline u32 hw_read(struct ci_hdrc *ci, enum ci_hw_regs reg, u32 mask) in hw_read()
368 static inline void __hw_write(struct ci_hdrc *ci, u32 val, in __hw_write()
384 static inline void hw_write(struct ci_hdrc *ci, enum ci_hw_regs reg, in hw_write()
402 static inline u32 hw_test_and_clear(struct ci_hdrc *ci, enum ci_hw_regs reg, in hw_test_and_clear()
420 static inline u32 hw_test_and_write(struct ci_hdrc *ci, enum ci_hw_regs reg, in hw_test_and_write()
435 static inline bool ci_otg_is_fsm_mode(struct ci_hdrc *ci) in ci_otg_is_fsm_mode()
448 int ci_ulpi_init(struct ci_hdrc *ci);
449 void ci_ulpi_exit(struct ci_hdrc *ci);
450 int ci_ulpi_resume(struct ci_hdrc *ci);
452 u32 hw_read_intr_enable(struct ci_hdrc *ci);
454 u32 hw_read_intr_status(struct ci_hdrc *ci);
456 int hw_device_reset(struct ci_hdrc *ci);
458 int hw_port_test_set(struct ci_hdrc *ci, u8 mode);
460 u8 hw_port_test_get(struct ci_hdrc *ci);
462 void hw_phymode_configure(struct ci_hdrc *ci);
464 void ci_platform_configure(struct ci_hdrc *ci);
466 void dbg_create_files(struct ci_hdrc *ci);
468 void dbg_remove_files(struct ci_hdrc *ci);