)]}'
{"src/jtag/adapter.h":[{"author":{"_account_id":1000863,"name":"Tarek BOCHKATI","email":"tarek.bouchkati@gmail.com","username":"BouchkatiTarek"},"change_message_id":"bb123d470bbe5ad8cad8a830b31dbfe020d9f61d","unresolved":true,"context_lines":[{"line_number":27,"context_line":"/** @returns true if USB location string is \"\u003cdev_bus\u003e-\u003cport_path[0]\u003e[.\u003cport_path[1]\u003e[...]]\" */"},{"line_number":28,"context_line":"bool adapter_usb_location_equal(uint8_t dev_bus, uint8_t *port_path, size_t path_len);"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"/** @returns The current JTAG speed setting. */"},{"line_number":31,"context_line":"int jtag_get_speed(int *speed);"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"/**"},{"line_number":34,"context_line":" * Given a @a speed setting, use the interface @c speed_div callback to"},{"line_number":35,"context_line":" * adjust the setting."},{"line_number":36,"context_line":" * @param speed The speed setting to convert back to readable KHz."},{"line_number":37,"context_line":" * @returns ERROR_OK if the interface has not been initialized or on success;"},{"line_number":38,"context_line":" *  otherwise, the error code produced by the @c speed_div callback."},{"line_number":39,"context_line":" */"},{"line_number":40,"context_line":"int jtag_get_speed_readable(int *speed);"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"/** Attempt to configure the interface for the specified KHz. */"},{"line_number":43,"context_line":"int jtag_config_khz(unsigned khz);"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"/**"},{"line_number":46,"context_line":" * Attempt to enable RTCK/RCLK. If that fails, fallback to the"},{"line_number":47,"context_line":" * specified frequency."},{"line_number":48,"context_line":" */"},{"line_number":49,"context_line":"int jtag_config_rclk(unsigned fallback_speed_khz);"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"/** Retrieves the clock speed of the JTAG interface in KHz. */"},{"line_number":52,"context_line":"unsigned jtag_get_speed_khz(void);"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"#endif /* OPENOCD_JTAG_ADAPTER_H */"}],"source_content_type":"text/x-csrc","patch_set":1,"id":"f9f860f1_cfaf9cf9","line":52,"range":{"start_line":30,"start_character":0,"end_line":52,"end_character":34},"updated":"2021-11-02 12:05:16.000000000","message":"in https://review.openocd.org/c/openocd/+/6641, I have ignored the usage of adapter_ prefix instead of jtag_ because the prototypes was still in jtag.h\n\nbut now, IMO we should change these functions prefixes to adapter_ instead of jtag_","commit_id":"05f608cd6743f2435593211319931db286e15d7f"},{"author":{"_account_id":1000863,"name":"Tarek BOCHKATI","email":"tarek.bouchkati@gmail.com","username":"BouchkatiTarek"},"change_message_id":"5028ce3487b5073016384198535ef9feb6f873d0","unresolved":true,"context_lines":[{"line_number":27,"context_line":"/** @returns true if USB location string is \"\u003cdev_bus\u003e-\u003cport_path[0]\u003e[.\u003cport_path[1]\u003e[...]]\" */"},{"line_number":28,"context_line":"bool adapter_usb_location_equal(uint8_t dev_bus, uint8_t *port_path, size_t path_len);"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"/** @returns The current JTAG speed setting. */"},{"line_number":31,"context_line":"int jtag_get_speed(int *speed);"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"/**"},{"line_number":34,"context_line":" * Given a @a speed setting, use the interface @c speed_div callback to"},{"line_number":35,"context_line":" * adjust the setting."},{"line_number":36,"context_line":" * @param speed The speed setting to convert back to readable KHz."},{"line_number":37,"context_line":" * @returns ERROR_OK if the interface has not been initialized or on success;"},{"line_number":38,"context_line":" *  otherwise, the error code produced by the @c speed_div callback."},{"line_number":39,"context_line":" */"},{"line_number":40,"context_line":"int jtag_get_speed_readable(int *speed);"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"/** Attempt to configure the interface for the specified KHz. */"},{"line_number":43,"context_line":"int jtag_config_khz(unsigned khz);"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"/**"},{"line_number":46,"context_line":" * Attempt to enable RTCK/RCLK. If that fails, fallback to the"},{"line_number":47,"context_line":" * specified frequency."},{"line_number":48,"context_line":" */"},{"line_number":49,"context_line":"int jtag_config_rclk(unsigned fallback_speed_khz);"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"/** Retrieves the clock speed of the JTAG interface in KHz. */"},{"line_number":52,"context_line":"unsigned jtag_get_speed_khz(void);"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"#endif /* OPENOCD_JTAG_ADAPTER_H */"}],"source_content_type":"text/x-csrc","patch_set":1,"id":"b4943b65_025396fa","line":52,"range":{"start_line":30,"start_character":0,"end_line":52,"end_character":34},"in_reply_to":"f9f860f1_cfaf9cf9","updated":"2021-11-02 12:06:47.000000000","message":"ah, you have done in the next patch ! Ok !","commit_id":"05f608cd6743f2435593211319931db286e15d7f"}]}
