Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/mpp/mpp/vproc/
H A Dmpp_vproc_dev.cpp25 struct dev_compatible dev_comp[] = { variable
44 for (i = 0; i < MPP_ARRAY_ELEMS(dev_comp); ++i) { in get_iep_ctx()
45 if (!access(dev_comp[i].compatible, F_OK)) { in get_iep_ctx()
46 iep_com_ctx *ctx = dev_comp[i].get(); in get_iep_ctx()
48 ctx->ver = dev_comp[i].ver; in get_iep_ctx()
49 mpp_log("device %s select in vproc\n", dev_comp[i].compatible); in get_iep_ctx()
51 ctx->ops->release = dev_comp[i].put; in get_iep_ctx()
/OK3568_Linux_fs/kernel/drivers/i2c/busses/
H A Di2c-mt65xx.c257 const struct mtk_i2c_compatible *dev_comp; member
422 return readw(i2c->base + i2c->dev_comp->regs[reg]); in mtk_i2c_readw()
428 writew(val, i2c->base + i2c->dev_comp->regs[reg]); in mtk_i2c_writew()
490 if (i2c->dev_comp->apdma_sync) { in mtk_i2c_init_hw()
515 if (i2c->dev_comp->dcm) in mtk_i2c_init_hw()
520 if (i2c->dev_comp->ltiming_adjust) in mtk_i2c_init_hw()
528 if (i2c->dev_comp->timing_adjust) { in mtk_i2c_init_hw()
537 if (i2c->dev_comp->ltiming_adjust) { in mtk_i2c_init_hw()
562 if (i2c->dev_comp->dma_sync) in mtk_i2c_init_hw()
611 if (!i2c->dev_comp->timing_adjust) in mtk_i2c_check_ac_timing()
[all …]
/OK3568_Linux_fs/kernel/drivers/spi/
H A Dspi-mt65xx.c106 const struct mtk_spi_compatible *dev_comp; member
235 if (mdata->dev_comp->enhance_timing) { in mtk_spi_prepare_message()
260 if (mdata->dev_comp->need_pad_sel) in mtk_spi_prepare_message()
302 if (mdata->dev_comp->enhance_timing) { in mtk_spi_prepare_transfer()
405 if (mdata->dev_comp->dma_ext) in mtk_spi_setup_dma_addr()
415 if (mdata->dev_comp->dma_ext) in mtk_spi_setup_dma_addr()
524 if (mdata->dev_comp->need_pad_sel && gpio_is_valid(spi->cs_gpio)) in mtk_spi_setup()
657 mdata->dev_comp = of_id->data; in mtk_spi_probe()
659 if (mdata->dev_comp->enhance_timing) in mtk_spi_probe()
662 if (mdata->dev_comp->must_tx) in mtk_spi_probe()
[all …]
/OK3568_Linux_fs/kernel/drivers/mmc/host/
H A Dmtk-sd.c400 const struct mtk_mmc_compatible *dev_comp; member
676 if (host->dev_comp->support_64g) { in msdc_dma_setup()
682 if (host->dev_comp->support_64g) { in msdc_dma_setup()
705 if (host->dev_comp->support_64g) in msdc_dma_setup()
752 if (host->dev_comp->clk_div_bits == 8) in msdc_timeout_cal()
812 u32 tune_reg = host->dev_comp->pad_tune_reg; in msdc_set_mclk()
824 if (host->dev_comp->clk_div_bits == 8) in msdc_set_mclk()
848 if (host->dev_comp->clk_div_bits == 8) in msdc_set_mclk()
880 if (host->dev_comp->clk_div_bits == 8) in msdc_set_mclk()
934 host->dev_comp->hs400_tune) in msdc_set_mclk()
[all …]
/OK3568_Linux_fs/kernel/drivers/iio/adc/
H A Dmt6577_auxadc.c46 const struct mtk_auxadc_compatible *dev_comp; member
140 if (adc_dev->dev_comp->check_global_idle) { in mt6577_auxadc_read()
196 if (adc_dev->dev_comp->sample_data_cali) in mt6577_auxadc_read_raw()
287 adc_dev->dev_comp = device_get_match_data(&pdev->dev); in mt6577_auxadc_probe()