Lines Matching refs:stm32prog_data
112 struct stm32prog_data { struct
146 extern struct stm32prog_data *stm32prog_data; argument
149 int stm32prog_otp_write(struct stm32prog_data *data, u32 offset,
151 int stm32prog_otp_read(struct stm32prog_data *data, u32 offset,
153 int stm32prog_otp_start(struct stm32prog_data *data);
156 int stm32prog_pmic_write(struct stm32prog_data *data, u32 offset,
158 int stm32prog_pmic_read(struct stm32prog_data *data, u32 offset,
160 int stm32prog_pmic_start(struct stm32prog_data *data);
165 int stm32prog_dfu_init(struct stm32prog_data *data);
166 void stm32prog_next_phase(struct stm32prog_data *data);
167 void stm32prog_do_reset(struct stm32prog_data *data);
169 char *stm32prog_get_error(struct stm32prog_data *data);
179 int stm32prog_init(struct stm32prog_data *data, ulong addr, ulong size);
180 void stm32prog_clean(struct stm32prog_data *data);
183 int stm32prog_serial_init(struct stm32prog_data *data, int link_dev);
184 bool stm32prog_serial_loop(struct stm32prog_data *data);
186 static inline int stm32prog_serial_init(struct stm32prog_data *data, int link_dev) in stm32prog_serial_init()
191 static inline bool stm32prog_serial_loop(struct stm32prog_data *data) in stm32prog_serial_loop()
198 bool stm32prog_usb_loop(struct stm32prog_data *data, int dev);
200 static inline bool stm32prog_usb_loop(struct stm32prog_data *data, int dev) in stm32prog_usb_loop()