Lines Matching refs:dev_comp

311 	const struct mtk_i2c_compatible *dev_comp;  member
532 return readw(i2c->base + i2c->dev_comp->regs[reg]); in mtk_i2c_readw()
538 writew(val, i2c->base + i2c->dev_comp->regs[reg]); in mtk_i2c_writew()
551 if (i2c->dev_comp->apdma_sync) { in mtk_i2c_init_hw()
576 if (i2c->dev_comp->dcm) in mtk_i2c_init_hw()
581 if (i2c->dev_comp->ltiming_adjust) in mtk_i2c_init_hw()
589 if (i2c->dev_comp->timing_adjust) { in mtk_i2c_init_hw()
598 if (i2c->dev_comp->ltiming_adjust) { in mtk_i2c_init_hw()
623 if (i2c->dev_comp->dma_sync) in mtk_i2c_init_hw()
653 if (i2c->dev_comp->ltiming_adjust == 0) in mtk_i2c_get_clk_div_restri()
697 if (!i2c->dev_comp->timing_adjust) in mtk_i2c_check_ac_timing()
700 if (i2c->dev_comp->ltiming_adjust) in mtk_i2c_check_ac_timing()
705 if (i2c->dev_comp->ltiming_adjust) in mtk_i2c_check_ac_timing()
740 if (i2c->dev_comp->ltiming_adjust) { in mtk_i2c_check_ac_timing()
758 if (i2c->dev_comp->ltiming_adjust) { in mtk_i2c_check_ac_timing()
875 if (i2c->dev_comp->timing_adjust && i2c->dev_comp->ltiming_adjust) in mtk_i2c_set_speed()
877 else if (i2c->dev_comp->timing_adjust) in mtk_i2c_set_speed()
907 if (i2c->dev_comp->ltiming_adjust) in mtk_i2c_set_speed()
923 if (i2c->dev_comp->ltiming_adjust) in mtk_i2c_set_speed()
964 if (i2c->dev_comp->regs == mt_i2c_regs_v2) { in i2c_dump_register()
1009 if (i2c->dev_comp->apdma_sync && in mtk_i2c_do_transfer()
1056 if (i2c->dev_comp->aux_len_reg) { in mtk_i2c_do_transfer()
1070 if (i2c->dev_comp->apdma_sync) { in mtk_i2c_do_transfer()
1093 if (i2c->dev_comp->max_dma_support > 32) { in mtk_i2c_do_transfer()
1116 if (i2c->dev_comp->max_dma_support > 32) { in mtk_i2c_do_transfer()
1162 if (i2c->dev_comp->max_dma_support > 32) { in mtk_i2c_do_transfer()
1241 i2c->auto_restart = i2c->dev_comp->auto_restart; in mtk_i2c_transfer()
1389 i2c->dev_comp = of_device_get_match_data(&pdev->dev); in mtk_i2c_probe()
1395 i2c->adap.quirks = i2c->dev_comp->quirks; in mtk_i2c_probe()
1410 if (i2c->have_pmic && !i2c->dev_comp->pmic_i2c) in mtk_i2c_probe()
1454 if (i2c->dev_comp->max_dma_support > 32) { in mtk_i2c_probe()
1456 DMA_BIT_MASK(i2c->dev_comp->max_dma_support)); in mtk_i2c_probe()