Searched refs:dev_obj (Results 1 – 1 of 1) sorted by relevance
223 if (dev_obj != RT_NULL) in xpt2046_hw_init()225 rt_memset(dev_obj, 0x0, sizeof(struct rt_xpt2046)); in xpt2046_hw_init()226 dev_obj->min_raw_x = BSP_XPT2046_MIN_RAW_X; in xpt2046_hw_init()227 dev_obj->min_raw_y = BSP_XPT2046_MIN_RAW_Y; in xpt2046_hw_init()228 dev_obj->max_raw_x = BSP_XPT2046_MAX_RAW_X; in xpt2046_hw_init()229 dev_obj->max_raw_y = BSP_XPT2046_MAX_RAW_Y; in xpt2046_hw_init()231 dev_obj->spi = RT_NULL; in xpt2046_hw_init()235 dev_obj->parent.info.point_num = 1; in xpt2046_hw_init()236 dev_obj->parent.info.range_x = BSP_XPT2046_RANGE_X; in xpt2046_hw_init()237 dev_obj->parent.info.range_y = BSP_XPT2046_RANGE_Y; in xpt2046_hw_init()[all …]
Completed in 4 milliseconds