摘要: uclass_get_device_by_seq //通过序号从uclass的设备链表中获取udevice,进行probe int uclass_get_device_by_seq(enum uclass_id id, int seq, struct udevice **devp) int ucla 阅读全文
posted @ 2022-02-22 21:55 liujunhuasd 阅读(630) 评论(0) 推荐(0) 编辑
摘要: // 获得device,进行probe// 调用uclass_get_device_tail进行设备的get,最终会调用device_probe来对设备进行probe int uclass_get_device_tail(struct udevice *dev, int ret, struct ud 阅读全文
posted @ 2022-02-22 20:42 liujunhuasd 阅读(299) 评论(0) 推荐(0) 编辑
摘要: #if CONFIG_IS_ENABLED(SERIAL_PRESENT) static int serial_check_stdout(const void *blob, struct udevice **devp) { int node = -1; const char *str, *p, *n 阅读全文
posted @ 2022-02-22 15:48 liujunhuasd 阅读(129) 评论(0) 推荐(0) 编辑
摘要: /** * of_live_active() - check if livetree is active * * @returns true if livetree is active, false it not */ static inline bool of_live_active(void) 阅读全文
posted @ 2022-02-22 15:37 liujunhuasd 阅读(115) 评论(0) 推荐(0) 编辑
摘要: // /** * pinctrl_select_state_full() - full implementation of pinctrl_select_state * * @dev: peripheral device * @statename: state name, like "default 阅读全文
posted @ 2022-02-22 15:35 liujunhuasd 阅读(391) 评论(0) 推荐(0) 编辑