Lines Matching refs:obj
46 cyhal_i2c_t obj; member
103 (void)cyhal_i2c_abort_async(&data->obj); in ifx_master_event_handler()
123 data->obj.context.slaveTxBufferIdx = 0; in ifx_master_event_handler()
124 data->obj.context.slaveTxBufferCnt = 0; in ifx_master_event_handler()
125 data->obj.context.slaveTxBufferSize = 1; in ifx_master_event_handler()
126 data->obj.context.slaveTxBuffer = &data->i2c_target_wr_byte; in ifx_master_event_handler()
134 data->obj.context.slaveTxBufferIdx = 0; in ifx_master_event_handler()
135 data->obj.context.slaveTxBufferCnt = 0; in ifx_master_event_handler()
136 data->obj.context.slaveTxBufferSize = 1; in ifx_master_event_handler()
137 data->obj.context.slaveTxBuffer = &data->i2c_target_wr_byte; in ifx_master_event_handler()
142 cyhal_i2c_slave_config_write_buffer(&data->obj, data->target_wr_buffer, in ifx_master_event_handler()
151 for (int i = 0; i < data->obj.context.slaveRxBufferIdx; i++) { in ifx_master_event_handler()
205 rslt = cyhal_i2c_configure(&data->obj, &data->cfg); in ifx_cat1_i2c_configure()
214 cyhal_i2c_register_callback(&data->obj, ifx_master_event_handler, (void *)dev); in ifx_cat1_i2c_configure()
292 cyhal_i2c_enable_event(&data->obj, (cyhal_i2c_event_t)I2C_CAT1_EVENTS_MASK, in ifx_cat1_i2c_transfer()
319 rslt = cyhal_i2c_master_transfer_async(&data->obj, addr, in ifx_cat1_i2c_transfer()
348 cyhal_i2c_enable_event(&data->obj, (cyhal_i2c_event_t) in ifx_cat1_i2c_transfer()
355 rslt = cyhal_i2c_master_write(&data->obj, in ifx_cat1_i2c_transfer()
359 rslt = cyhal_i2c_master_read(&data->obj, in ifx_cat1_i2c_transfer()
427 result = cyhal_i2c_init_cfg(&data->obj, &i2c_init_cfg); in ifx_cat1_i2c_init()
431 data->obj.is_clock_owned = true; in ifx_cat1_i2c_init()
440 cyhal_i2c_free(&data->obj); in ifx_cat1_i2c_init()
465 cyhal_i2c_free(&data->obj); in ifx_cat1_i2c_target_register()
471 cyhal_i2c_enable_event(&data->obj, (cyhal_i2c_event_t)I2C_CAT1_SLAVE_EVENTS_MASK, in ifx_cat1_i2c_target_register()
484 cyhal_i2c_free(&data->obj); in ifx_cat1_i2c_target_unregister()
486 cyhal_i2c_enable_event(&data->obj, (cyhal_i2c_event_t)I2C_CAT1_SLAVE_EVENTS_MASK, in ifx_cat1_i2c_target_unregister()