Searched refs:p_i2c_obj (Results 1 – 1 of 1) sorted by relevance
208 static i2c_obj_t *p_i2c_obj[I2C_NUM_MAX] = {0}; variable246 if (p_i2c_obj[i2c_num] == NULL) { in i2c_driver_install()249 p_i2c_obj[i2c_num] = (i2c_obj_t *) calloc(1, sizeof(i2c_obj_t)); in i2c_driver_install()252 p_i2c_obj[i2c_num] = (i2c_obj_t *) calloc(1, sizeof(i2c_obj_t)); in i2c_driver_install()254 …p_i2c_obj[i2c_num] = (i2c_obj_t *) heap_caps_calloc(1, sizeof(i2c_obj_t), MALLOC_CAP_INTERNAL | MA… in i2c_driver_install()257 if (p_i2c_obj[i2c_num] == NULL) { in i2c_driver_install()261 i2c_obj_t *p_i2c = p_i2c_obj[i2c_num]; in i2c_driver_install()349 …i2c_isr_register(i2c_num, i2c_isr_handler_default, p_i2c_obj[i2c_num], intr_alloc_flags, &p_i2c_ob… in i2c_driver_install()358 if (p_i2c_obj[i2c_num]) { in i2c_driver_install()359 if (p_i2c_obj[i2c_num]->rx_ring_buf) { in i2c_driver_install()[all …]