Searched refs:dev_comp (Results 1 – 2 of 2) sorted by relevance
311 const struct mtk_i2c_compatible *dev_comp; member545 return readw(i2c->base + i2c->dev_comp->regs[reg]); in mtk_i2c_readw()551 writew(val, i2c->base + i2c->dev_comp->regs[reg]); in mtk_i2c_writew()564 if (i2c->dev_comp->apdma_sync) { in mtk_i2c_init_hw()589 if (i2c->dev_comp->dcm) in mtk_i2c_init_hw()594 if (i2c->dev_comp->ltiming_adjust) in mtk_i2c_init_hw()602 if (i2c->dev_comp->timing_adjust) { in mtk_i2c_init_hw()611 if (i2c->dev_comp->ltiming_adjust) { in mtk_i2c_init_hw()636 if (i2c->dev_comp->dma_sync) in mtk_i2c_init_hw()666 if (i2c->dev_comp->ltiming_adjust == 0) in mtk_i2c_get_clk_div_restri()[all …]
45 const struct mtk_auxadc_compatible *dev_comp; member144 if (adc_dev->dev_comp->check_global_idle) { in mt6577_auxadc_read()200 if (adc_dev->dev_comp->sample_data_cali) in mt6577_auxadc_read_raw()288 adc_dev->dev_comp = device_get_match_data(&pdev->dev); in mt6577_auxadc_probe()