Lines Matching defs:iotg
97 int (*read)(struct intel_mid_otg_xceiv *iotg, u8 reg, u8 *val);
98 int (*write)(struct intel_mid_otg_xceiv *iotg, u8 reg, u8 val);
124 int (*start_host)(struct intel_mid_otg_xceiv *iotg);
125 int (*stop_host)(struct intel_mid_otg_xceiv *iotg);
128 int (*start_peripheral)(struct intel_mid_otg_xceiv *iotg);
129 int (*stop_peripheral)(struct intel_mid_otg_xceiv *iotg);
132 int (*set_adp_probe)(struct intel_mid_otg_xceiv *iotg,
134 int (*set_adp_sense)(struct intel_mid_otg_xceiv *iotg,
139 int (*suspend_host)(struct intel_mid_otg_xceiv *iotg,
141 int (*resume_host)(struct intel_mid_otg_xceiv *iotg);
143 int (*suspend_peripheral)(struct intel_mid_otg_xceiv *iotg,
145 int (*resume_peripheral)(struct intel_mid_otg_xceiv *iotg);
167 intel_mid_otg_register_notifier(struct intel_mid_otg_xceiv *iotg,
170 return atomic_notifier_chain_register(&iotg->iotg_notifier, nb);
174 intel_mid_otg_unregister_notifier(struct intel_mid_otg_xceiv *iotg,
177 atomic_notifier_chain_unregister(&iotg->iotg_notifier, nb);