Home
last modified time | relevance | path

Searched refs:slave_mode (Results 1 – 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/drivers/spi/
Dspi-imx.c108 bool slave_mode; member
234 if (spi_imx->slave_mode) in spi_imx_can_dma()
514 if (spi_imx->slave_mode) in mx51_ecspi_prepare_message()
546 if (spi_imx->slave_mode && is_imx53_ecspi(spi_imx)) in mx51_ecspi_prepare_message()
611 if (spi_imx->slave_mode && is_imx53_ecspi(spi_imx)) in mx51_ecspi_prepare_transfer()
1120 if (!spi_imx->slave_mode) in spi_imx_push()
1223 if (spi_imx->devtype_data->dynamic_burst && !spi_imx->slave_mode && in spi_imx_setupxfer()
1251 if (is_imx53_ecspi(spi_imx) && spi_imx->slave_mode) { in spi_imx_setupxfer()
1530 if (spi_imx->slave_mode) in spi_imx_transfer()
1604 bool slave_mode; in spi_imx_probe() local
[all …]
Dspi-rockchip.c479 bool use_dma, bool slave_mode) in rockchip_spi_config() argument
488 if (slave_mode) in rockchip_spi_config()
646 bool slave_mode; in rockchip_spi_probe() local
648 slave_mode = of_property_read_bool(np, "spi-slave"); in rockchip_spi_probe()
650 if (slave_mode) in rockchip_spi_probe()
663 ctlr->slave = slave_mode; in rockchip_spi_probe()
743 if (slave_mode) { in rockchip_spi_probe()
/kernel/linux/linux-5.10/sound/soc/codecs/
Dcs4270.c135 unsigned int slave_mode; member
300 cs4270->slave_mode = 1; in cs4270_set_dai_fmt()
303 cs4270->slave_mode = 0; in cs4270_set_dai_fmt()
362 if (cs4270->slave_mode) in cs4270_hw_params()
Dcs42xx8.c46 bool slave_mode; member
247 cs42xx8->slave_mode = true; in cs42xx8_set_dai_fmt()
250 cs42xx8->slave_mode = false; in cs42xx8_set_dai_fmt()
284 if (cs42xx8->slave_mode) { in cs42xx8_hw_params()
Dcs35l35.h285 bool slave_mode; member
Dcs35l36.c760 unsigned int asp_fmt, lrclk_fmt, sclk_fmt, slave_mode, clk_frc; in cs35l36_set_dai_fmt() local
764 slave_mode = 1; in cs35l36_set_dai_fmt()
767 slave_mode = 0; in cs35l36_set_dai_fmt()
775 slave_mode << CS35L36_SCLK_MSTR_SHIFT); in cs35l36_set_dai_fmt()
778 slave_mode << CS35L36_LRCLK_MSTR_SHIFT); in cs35l36_set_dai_fmt()
Dcs35l35.c375 cs35l35->slave_mode = false; in cs35l35_set_dai_fmt()
380 cs35l35->slave_mode = true; in cs35l35_set_dai_fmt()
560 if (cs35l35->slave_mode) { in cs35l35_hw_params()
/kernel/linux/linux-5.10/drivers/soundwire/
Dbus.c922 enum sdw_clk_stop_mode slave_mode; in sdw_bus_prep_clk_stop() local
944 slave_mode = sdw_get_clk_stop_mode(slave); in sdw_bus_prep_clk_stop()
945 slave->curr_clk_stop_mode = slave_mode; in sdw_bus_prep_clk_stop()
947 ret = sdw_slave_clk_stop_callback(slave, slave_mode, in sdw_bus_prep_clk_stop()
956 slave_mode, true); in sdw_bus_prep_clk_stop()
963 if (slave_mode == SDW_CLK_STOP_MODE1) in sdw_bus_prep_clk_stop()
987 slave_mode = slave->curr_clk_stop_mode; in sdw_bus_prep_clk_stop()
989 if (slave_mode == SDW_CLK_STOP_MODE1) { in sdw_bus_prep_clk_stop()
991 slave_mode, in sdw_bus_prep_clk_stop()
/kernel/linux/linux-5.10/sound/soc/fsl/
Dfsl_esai.c83 bool slave_mode; member
375 if (esai_priv->slave_mode || esai_priv->sck_rate[tx] == freq) in fsl_esai_set_bclk()
484 esai_priv->slave_mode = false; in fsl_esai_set_dai_fmt()
489 esai_priv->slave_mode = true; in fsl_esai_set_dai_fmt()
1028 esai_priv->slave_mode = true; in fsl_esai_probe()
Dfsl_micfil.c41 bool slave_mode; member
/kernel/linux/linux-5.10/drivers/acpi/acpica/
Drsserial.c211 {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.common_serial_bus.slave_mode),
302 {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.common_serial_bus.slave_mode),
409 {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.common_serial_bus.slave_mode),
Drsdumpinfo.c410 …{ACPI_RSD_1BITFLAG, ACPI_RSD_OFFSET (common_serial_bus.slave_mode), "SlaveMode", …
/kernel/linux/linux-5.10/include/acpi/
Dacrestyp.h390 u8 slave_mode; \
/kernel/linux/linux-5.10/sound/soc/samsung/
Di2s.c127 bool slave_mode; member
712 priv->slave_mode = (mod & mod_slave); in i2s_set_fmt()
915 if (priv->slave_mode) in config_setup()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0033_linux_drivers_soc_scsi_spi_tee_thermal.patch3529 - if (spi_imx->slave_mode && is_imx53_ecspi(spi_imx))
3530 + if (spi_imx->slave_mode)
3538 - if (spi_imx->slave_mode && is_imx53_ecspi(spi_imx))
3539 + if (spi_imx->slave_mode)
3549 + if (!spi_imx->slave_mode) {
3596 + if (!spi_imx->slave_mode) {
3611 + if (!spi_imx->slave_mode) {
3626 + if (!spi_imx->slave_mode) {
3697 - if (is_imx53_ecspi(spi_imx) && spi_imx->slave_mode) {
3698 + if (spi_imx->slave_mode) {
[all …]
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0009_linux_sound.patch10078 - * @slave_mode: if fully using DAI slave mode
10104 - bool slave_mode;
10151 - if (esai_priv->slave_mode || esai_priv->sck_rate[tx] == freq)
10152 + if (esai_priv->slave_mode[tx] || esai_priv->sck_rate[tx] == freq)
10160 - esai_priv->slave_mode = false;
10161 + if (esai_priv->slave_mode[0] == esai_priv->slave_mode[1]) {
10165 + esai_priv->slave_mode[0] = true;
10166 + esai_priv->slave_mode[1] = true;
10176 + esai_priv->slave_mode[0] = false;
10177 + esai_priv->slave_mode[1] = false;
[all …]
/kernel/linux/patches/linux-5.10/yangfan_patch/
Ddrivers.patch60058 +static inline void wait_for_tx_idle(struct rockchip_spi *rs, bool slave_mode)
60065 + if (slave_mode) {
60336 bool slave_mode;
60339 slave_mode = of_property_read_bool(np, "spi-slave");
60360 + if (ctlr->can_dma && slave_mode)