Lines Matching refs:dev_comp

309 	const struct mtk_i2c_compatible *dev_comp;  member
543 return readw(i2c->base + i2c->dev_comp->regs[reg]); in mtk_i2c_readw()
549 writew(val, i2c->base + i2c->dev_comp->regs[reg]); in mtk_i2c_writew()
562 if (i2c->dev_comp->apdma_sync) { in mtk_i2c_init_hw()
587 if (i2c->dev_comp->dcm) in mtk_i2c_init_hw()
592 if (i2c->dev_comp->ltiming_adjust) in mtk_i2c_init_hw()
600 if (i2c->dev_comp->timing_adjust) { in mtk_i2c_init_hw()
609 if (i2c->dev_comp->ltiming_adjust) { in mtk_i2c_init_hw()
634 if (i2c->dev_comp->dma_sync) in mtk_i2c_init_hw()
664 if (i2c->dev_comp->ltiming_adjust == 0) in mtk_i2c_get_clk_div_restri()
708 if (!i2c->dev_comp->timing_adjust) in mtk_i2c_check_ac_timing()
711 if (i2c->dev_comp->ltiming_adjust) in mtk_i2c_check_ac_timing()
716 if (i2c->dev_comp->ltiming_adjust) in mtk_i2c_check_ac_timing()
751 if (i2c->dev_comp->ltiming_adjust) { in mtk_i2c_check_ac_timing()
769 if (i2c->dev_comp->ltiming_adjust) { in mtk_i2c_check_ac_timing()
886 if (i2c->dev_comp->timing_adjust && i2c->dev_comp->ltiming_adjust) in mtk_i2c_set_speed()
888 else if (i2c->dev_comp->timing_adjust) in mtk_i2c_set_speed()
918 if (i2c->dev_comp->ltiming_adjust) in mtk_i2c_set_speed()
934 if (i2c->dev_comp->ltiming_adjust) in mtk_i2c_set_speed()
975 if (i2c->dev_comp->regs == mt_i2c_regs_v2) { in i2c_dump_register()
1020 if (i2c->dev_comp->apdma_sync && in mtk_i2c_do_transfer()
1067 if (i2c->dev_comp->aux_len_reg) { in mtk_i2c_do_transfer()
1081 if (i2c->dev_comp->apdma_sync) { in mtk_i2c_do_transfer()
1104 if (i2c->dev_comp->max_dma_support > 32) { in mtk_i2c_do_transfer()
1127 if (i2c->dev_comp->max_dma_support > 32) { in mtk_i2c_do_transfer()
1173 if (i2c->dev_comp->max_dma_support > 32) { in mtk_i2c_do_transfer()
1252 i2c->auto_restart = i2c->dev_comp->auto_restart; in mtk_i2c_transfer()
1400 i2c->dev_comp = of_device_get_match_data(&pdev->dev); in mtk_i2c_probe()
1406 i2c->adap.quirks = i2c->dev_comp->quirks; in mtk_i2c_probe()
1421 if (i2c->have_pmic && !i2c->dev_comp->pmic_i2c) in mtk_i2c_probe()
1465 if (i2c->dev_comp->max_dma_support > 32) { in mtk_i2c_probe()
1467 DMA_BIT_MASK(i2c->dev_comp->max_dma_support)); in mtk_i2c_probe()