Searched refs:dev_comp (Results 1 – 5 of 5) sorted by relevance
309 const struct mtk_i2c_compatible *dev_comp; member543 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()[all …]
168 const struct mtk_spi_compatible *dev_comp; member311 if (mdata->dev_comp->enhance_timing) { in mtk_spi_set_hw_cs_timing()363 if (mdata->dev_comp->ipm_design) { in mtk_spi_hw_init()399 if (mdata->dev_comp->enhance_timing) { in mtk_spi_hw_init()424 if (mdata->dev_comp->need_pad_sel) in mtk_spi_hw_init()429 if (mdata->dev_comp->enhance_timing) { in mtk_spi_hw_init()430 if (mdata->dev_comp->ipm_design) { in mtk_spi_hw_init()495 if (mdata->dev_comp->enhance_timing) { in mtk_spi_prepare_transfer()520 if (mdata->dev_comp->ipm_design) in mtk_spi_setup_packet()532 if (mdata->dev_comp->ipm_design) in mtk_spi_setup_packet()[all …]
73 const struct mtk_spi_compatible *dev_comp; member292 if (xfer->len > mdata->dev_comp->max_fifo_size) in mtk_spi_slave_transfer_one()414 mdata->dev_comp = of_id->data; in mtk_spi_slave_probe()416 if (mdata->dev_comp->must_rx) in mtk_spi_slave_probe()
426 const struct mtk_mmc_compatible *dev_comp; member739 if (host->dev_comp->support_64g) { in msdc_dma_setup()745 if (host->dev_comp->support_64g) { in msdc_dma_setup()768 if (host->dev_comp->support_64g) in msdc_dma_setup()810 if (host->dev_comp->clk_div_bits == 8) in msdc_timeout_cal()882 u32 tune_reg = host->dev_comp->pad_tune_reg; in msdc_set_mclk()895 if (host->dev_comp->clk_div_bits == 8) in msdc_set_mclk()919 if (host->dev_comp->clk_div_bits == 8) in msdc_set_mclk()945 if (host->dev_comp->clk_div_bits == 8) in msdc_set_mclk()995 host->dev_comp->hs400_tune) in msdc_set_mclk()[all …]
46 const struct mtk_auxadc_compatible *dev_comp; member145 if (adc_dev->dev_comp->check_global_idle) { in mt6577_auxadc_read()201 if (adc_dev->dev_comp->sample_data_cali) in mt6577_auxadc_read_raw()289 adc_dev->dev_comp = device_get_match_data(&pdev->dev); in mt6577_auxadc_probe()