Lines Matching refs:dev_comp

311 	const struct mtk_i2c_compatible *dev_comp;  member
518 return readw(i2c->base + i2c->dev_comp->regs[reg]); in mtk_i2c_readw()
524 writew(val, i2c->base + i2c->dev_comp->regs[reg]); in mtk_i2c_writew()
537 if (i2c->dev_comp->apdma_sync) { in mtk_i2c_init_hw()
562 if (i2c->dev_comp->dcm) in mtk_i2c_init_hw()
567 if (i2c->dev_comp->ltiming_adjust) in mtk_i2c_init_hw()
575 if (i2c->dev_comp->timing_adjust) { in mtk_i2c_init_hw()
584 if (i2c->dev_comp->ltiming_adjust) { in mtk_i2c_init_hw()
609 if (i2c->dev_comp->dma_sync) in mtk_i2c_init_hw()
639 if (i2c->dev_comp->ltiming_adjust == 0) in mtk_i2c_get_clk_div_restri()
683 if (!i2c->dev_comp->timing_adjust) in mtk_i2c_check_ac_timing()
686 if (i2c->dev_comp->ltiming_adjust) in mtk_i2c_check_ac_timing()
691 if (i2c->dev_comp->ltiming_adjust) in mtk_i2c_check_ac_timing()
726 if (i2c->dev_comp->ltiming_adjust) { in mtk_i2c_check_ac_timing()
744 if (i2c->dev_comp->ltiming_adjust) { in mtk_i2c_check_ac_timing()
861 if (i2c->dev_comp->timing_adjust && i2c->dev_comp->ltiming_adjust) in mtk_i2c_set_speed()
863 else if (i2c->dev_comp->timing_adjust) in mtk_i2c_set_speed()
893 if (i2c->dev_comp->ltiming_adjust) in mtk_i2c_set_speed()
909 if (i2c->dev_comp->ltiming_adjust) in mtk_i2c_set_speed()
950 if (i2c->dev_comp->regs == mt_i2c_regs_v2) { in i2c_dump_register()
995 if (i2c->dev_comp->apdma_sync && in mtk_i2c_do_transfer()
1042 if (i2c->dev_comp->aux_len_reg) { in mtk_i2c_do_transfer()
1056 if (i2c->dev_comp->apdma_sync) { in mtk_i2c_do_transfer()
1079 if (i2c->dev_comp->max_dma_support > 32) { in mtk_i2c_do_transfer()
1102 if (i2c->dev_comp->max_dma_support > 32) { in mtk_i2c_do_transfer()
1148 if (i2c->dev_comp->max_dma_support > 32) { in mtk_i2c_do_transfer()
1227 i2c->auto_restart = i2c->dev_comp->auto_restart; in mtk_i2c_transfer()
1378 i2c->dev_comp = of_device_get_match_data(&pdev->dev); in mtk_i2c_probe()
1384 i2c->adap.quirks = i2c->dev_comp->quirks; in mtk_i2c_probe()
1399 if (i2c->have_pmic && !i2c->dev_comp->pmic_i2c) in mtk_i2c_probe()
1443 if (i2c->dev_comp->max_dma_support > 32) { in mtk_i2c_probe()
1445 DMA_BIT_MASK(i2c->dev_comp->max_dma_support)); in mtk_i2c_probe()