Lines Matching refs:obj
40 cyhal_spi_t obj; /* SPI CYHAL object */ member
87 &data->obj, ctx->tx_buf, spi_context_tx_buf_on(ctx) ? chunk_len : 0, ctx->rx_buf, in transfer_chunk()
108 cyhal_spi_abort_async(&data->obj); in spi_interrupt_callback()
186 if (data->obj.base != NULL) { in spi_config()
187 cyhal_spi_free(&data->obj); in spi_config()
195 result = cyhal_spi_init_cfg(&data->obj, &spi_init_cfg); in spi_config()
203 result = _cyhal_utils_peri_pclk_assign_divider(clk_idx, &data->obj.clock); in spi_config()
210 Cy_SCB_SPI_SetActiveSlaveSelectPolarity(data->obj.base, CY_SCB_SPI_SLAVE_SELECT0, in spi_config()
215 result = cyhal_spi_set_frequency(&data->obj, spi_cfg->frequency); in spi_config()
221 data->obj.write_fill = 0; in spi_config()
224 cyhal_spi_register_callback(&data->obj, spi_interrupt_callback, (void *)dev); in spi_config()
225 cyhal_spi_enable_event(&data->obj, CYHAL_SPI_IRQ_DONE, config->irq_priority, true); in spi_config()
285 cyhal_spi_free(&data->obj); in ifx_cat1_spi_release()