Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/i2c/busses/
Di2c-mt65xx.c309 const struct mtk_i2c_compatible *dev_comp; member
543 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 …]
/linux-6.6.21/drivers/spi/
Dspi-mt65xx.c167 const struct mtk_spi_compatible *dev_comp; member
310 if (mdata->dev_comp->enhance_timing) { in mtk_spi_set_hw_cs_timing()
362 if (mdata->dev_comp->ipm_design) { in mtk_spi_hw_init()
398 if (mdata->dev_comp->enhance_timing) { in mtk_spi_hw_init()
423 if (mdata->dev_comp->need_pad_sel) in mtk_spi_hw_init()
428 if (mdata->dev_comp->enhance_timing) { in mtk_spi_hw_init()
429 if (mdata->dev_comp->ipm_design) { in mtk_spi_hw_init()
494 if (mdata->dev_comp->enhance_timing) { in mtk_spi_prepare_transfer()
519 if (mdata->dev_comp->ipm_design) in mtk_spi_setup_packet()
531 if (mdata->dev_comp->ipm_design) in mtk_spi_setup_packet()
[all …]
Dspi-slave-mt27xx.c73 const struct mtk_spi_compatible *dev_comp; member
292 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()
/linux-6.6.21/drivers/mmc/host/
Dmtk-sd.c421 const struct mtk_mmc_compatible *dev_comp; member
733 if (host->dev_comp->support_64g) { in msdc_dma_setup()
739 if (host->dev_comp->support_64g) { in msdc_dma_setup()
762 if (host->dev_comp->support_64g) in msdc_dma_setup()
805 if (host->dev_comp->clk_div_bits == 8) in msdc_timeout_cal()
877 u32 tune_reg = host->dev_comp->pad_tune_reg; in msdc_set_mclk()
890 if (host->dev_comp->clk_div_bits == 8) in msdc_set_mclk()
914 if (host->dev_comp->clk_div_bits == 8) in msdc_set_mclk()
940 if (host->dev_comp->clk_div_bits == 8) in msdc_set_mclk()
990 host->dev_comp->hs400_tune) in msdc_set_mclk()
[all …]
/linux-6.6.21/drivers/iio/adc/
Dmt6577_auxadc.c46 const struct mtk_auxadc_compatible *dev_comp; member
145 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()
292 adc_dev->dev_comp = device_get_match_data(&pdev->dev); in mt6577_auxadc_probe()