Home
last modified time | relevance | path

Searched refs:dev_comp (Results 1 – 4 of 4) sorted by relevance

/drivers/i2c/busses/
Di2c-mt65xx.c221 const struct mtk_i2c_compatible *dev_comp; member
330 return readw(i2c->base + i2c->dev_comp->regs[reg]); in mtk_i2c_readw()
336 writew(val, i2c->base + i2c->dev_comp->regs[reg]); in mtk_i2c_writew()
400 if (i2c->dev_comp->dcm) in mtk_i2c_init_hw()
403 if (i2c->dev_comp->timing_adjust) in mtk_i2c_init_hw()
408 if (i2c->dev_comp->ltiming_adjust) in mtk_i2c_init_hw()
417 if (i2c->dev_comp->dma_sync) in mtk_i2c_init_hw()
535 if (i2c->dev_comp->ltiming_adjust) in mtk_i2c_set_speed()
549 if (i2c->dev_comp->ltiming_adjust) in mtk_i2c_set_speed()
613 if (i2c->dev_comp->aux_len_reg) { in mtk_i2c_do_transfer()
[all …]
/drivers/mmc/host/
Dmtk-sd.c391 const struct mtk_mmc_compatible *dev_comp; member
642 if (host->dev_comp->support_64g) { in msdc_dma_setup()
648 if (host->dev_comp->support_64g) { in msdc_dma_setup()
671 if (host->dev_comp->support_64g) in msdc_dma_setup()
717 if (host->dev_comp->clk_div_bits == 8) in msdc_set_timeout()
755 u32 tune_reg = host->dev_comp->pad_tune_reg; in msdc_set_mclk()
767 if (host->dev_comp->clk_div_bits == 8) in msdc_set_mclk()
791 if (host->dev_comp->clk_div_bits == 8) in msdc_set_mclk()
823 if (host->dev_comp->clk_div_bits == 8) in msdc_set_mclk()
877 host->dev_comp->hs400_tune) in msdc_set_mclk()
[all …]
/drivers/spi/
Dspi-mt65xx.c105 const struct mtk_spi_compatible *dev_comp; member
232 if (mdata->dev_comp->enhance_timing) { in mtk_spi_prepare_message()
255 if (mdata->dev_comp->need_pad_sel) in mtk_spi_prepare_message()
294 if (mdata->dev_comp->enhance_timing) { in mtk_spi_prepare_transfer()
397 if (mdata->dev_comp->dma_ext) in mtk_spi_setup_dma_addr()
407 if (mdata->dev_comp->dma_ext) in mtk_spi_setup_dma_addr()
515 if (mdata->dev_comp->need_pad_sel && gpio_is_valid(spi->cs_gpio)) in mtk_spi_setup()
649 mdata->dev_comp = of_id->data; in mtk_spi_probe()
650 if (mdata->dev_comp->must_tx) in mtk_spi_probe()
653 if (mdata->dev_comp->need_pad_sel) { in mtk_spi_probe()
[all …]
/drivers/iio/adc/
Dmt6577_auxadc.c46 const struct mtk_auxadc_compatible *dev_comp; member
136 if (adc_dev->dev_comp->check_global_idle) { in mt6577_auxadc_read()
192 if (adc_dev->dev_comp->sample_data_cali) in mt6577_auxadc_read_raw()