Lines Matching refs:resource
145 obj->resource.type = CYHAL_RSC_INVALID; in _cyhal_ezi2c_setup_resources()
193 obj->resource = i2c_rsc; in _cyhal_ezi2c_setup_resources()
226 uint8_t scb_arr_index = _cyhal_scb_get_block_index(obj->resource.block_num); in _cyhal_ezi2c_init_hw()
235 …_cyhal_scb_update_instance_data(obj->resource.block_num, (void*)obj, &_cyhal_ezi2c_pm_callback_ins… in _cyhal_ezi2c_init_hw()
255 uint8_t scb_arr_index = _cyhal_scb_get_block_index(obj->resource.block_num); in _cyhal_ezi2c_setup_and_enable()
336 if (CYHAL_RSC_INVALID != obj->resource.type) in cyhal_ezi2c_free()
338 uint8_t scb_arr_index = _cyhal_scb_get_block_index(obj->resource.block_num); in cyhal_ezi2c_free()
339 _cyhal_scb_update_instance_data(obj->resource.block_num, NULL, NULL); in cyhal_ezi2c_free()
345 …to_free = { CYHAL_RSC_SCB, _cyhal_scb_get_block_index(obj->resource.block_num), obj->resource.chan… in cyhal_ezi2c_free()
348 obj->resource.type = CYHAL_RSC_INVALID; in cyhal_ezi2c_free()
378 uint8_t scb_arr_index = _cyhal_scb_get_block_index(obj->resource.block_num); in cyhal_ezi2c_enable_event()
399 obj->resource = *cfg->resource; in cyhal_ezi2c_init_cfg()