Lines Matching refs:target_cfg
35 struct i2c_target_config *target_cfg; member
82 if (data->target_cfg) { in i2c_xilinx_axi_target_register()
87 data->target_cfg = cfg; in i2c_xilinx_axi_target_register()
109 if (!data->target_cfg) { in i2c_xilinx_axi_target_unregister()
119 data->target_cfg = NULL; in i2c_xilinx_axi_target_unregister()
152 if ((*data->target_cfg->callbacks->read_requested)(data->target_cfg, in i2c_xilinx_axi_target_isr()
162 if ((*data->target_cfg->callbacks->write_requested)(data->target_cfg)) { in i2c_xilinx_axi_target_isr()
172 (*data->target_cfg->callbacks->stop)(data->target_cfg); in i2c_xilinx_axi_target_isr()
187 if ((*data->target_cfg->callbacks->write_received)(data->target_cfg, in i2c_xilinx_axi_target_isr()
208 (*data->target_cfg->callbacks->read_processed)(data->target_cfg, in i2c_xilinx_axi_target_isr()
238 if (data->target_cfg && (int_status & I2C_XILINX_AXI_TARGET_INTERRUPTS)) { in i2c_xilinx_axi_isr()
592 if (data->target_cfg) { in i2c_xilinx_axi_transfer()
593 i2c_xilinx_axi_target_setup(config, data->target_cfg); in i2c_xilinx_axi_transfer()