Lines Matching defs:dev_comp
257 const struct mtk_i2c_compatible *dev_comp;
422 return readw(i2c->base + i2c->dev_comp->regs[reg]);
428 writew(val, i2c->base + i2c->dev_comp->regs[reg]);
490 if (i2c->dev_comp->apdma_sync) {
515 if (i2c->dev_comp->dcm)
520 if (i2c->dev_comp->ltiming_adjust)
528 if (i2c->dev_comp->timing_adjust) {
537 if (i2c->dev_comp->ltiming_adjust) {
562 if (i2c->dev_comp->dma_sync)
611 if (!i2c->dev_comp->timing_adjust)
614 if (i2c->dev_comp->ltiming_adjust)
619 if (i2c->dev_comp->ltiming_adjust)
653 if (i2c->dev_comp->ltiming_adjust) {
671 if (i2c->dev_comp->ltiming_adjust) {
785 if (i2c->dev_comp->timing_adjust)
814 if (i2c->dev_comp->ltiming_adjust)
830 if (i2c->dev_comp->ltiming_adjust)
890 if (i2c->dev_comp->aux_len_reg) {
904 if (i2c->dev_comp->apdma_sync) {
927 if (i2c->dev_comp->max_dma_support > 32) {
950 if (i2c->dev_comp->max_dma_support > 32) {
996 if (i2c->dev_comp->max_dma_support > 32) {
1074 i2c->auto_restart = i2c->dev_comp->auto_restart;
1224 i2c->dev_comp = of_device_get_match_data(&pdev->dev);
1230 i2c->adap.quirks = i2c->dev_comp->quirks;
1238 if (i2c->have_pmic && !i2c->dev_comp->pmic_i2c)
1275 if (i2c->dev_comp->max_dma_support > 32) {
1277 DMA_BIT_MASK(i2c->dev_comp->max_dma_support));