Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/can/m_can/
Dm_can.c291 struct mram_cfg mcfg[MRAM_CFG_NUM]; member
308 return readl(priv->mram_base + priv->mcfg[MRAM_RXF0].off + in m_can_fifo_read()
315 writel(val, priv->mram_base + priv->mcfg[MRAM_TXB].off + in m_can_fifo_write()
858 priv->mcfg[MRAM_TXB].off); in m_can_chip_config()
864 priv->mcfg[MRAM_TXE].off); in m_can_chip_config()
868 (priv->mcfg[MRAM_RXF0].num << RXFC_FS_OFF) | in m_can_chip_config()
869 RXFC_FWM_1 | priv->mcfg[MRAM_RXF0].off); in m_can_chip_config()
872 (priv->mcfg[MRAM_RXF1].num << RXFC_FS_OFF) | in m_can_chip_config()
873 RXFC_FWM_1 | priv->mcfg[MRAM_RXF1].off); in m_can_chip_config()
1142 priv->mcfg[MRAM_SIDF].off = out_val[0]; in m_can_of_parse_mram()
[all …]
/linux-4.1.27/sound/soc/ux500/
Dux500_msp_i2s.c278 struct msp_multichannel_config *mcfg; in configure_multichannel() local
294 mcfg = &config->multichannel_config; in configure_multichannel()
295 if (mcfg->tx_multichannel_enable) { in configure_multichannel()
298 writel(reg_val_MCR | (mcfg->tx_multichannel_enable ? in configure_multichannel()
301 writel(mcfg->tx_channel_0_enable, in configure_multichannel()
303 writel(mcfg->tx_channel_1_enable, in configure_multichannel()
305 writel(mcfg->tx_channel_2_enable, in configure_multichannel()
307 writel(mcfg->tx_channel_3_enable, in configure_multichannel()
316 if (mcfg->rx_multichannel_enable) { in configure_multichannel()
319 writel(reg_val_MCR | (mcfg->rx_multichannel_enable ? in configure_multichannel()
[all …]
/linux-4.1.27/arch/x86/pci/
Dmmconfig-shared.c546 static int __init acpi_mcfg_check_entry(struct acpi_table_mcfg *mcfg, in acpi_mcfg_check_entry() argument
554 if (!strncmp(mcfg->header.oem_id, "SGI", 3)) in acpi_mcfg_check_entry()
557 if (mcfg->header.revision >= 1) { in acpi_mcfg_check_entry()
571 struct acpi_table_mcfg *mcfg; in pci_parse_mcfg() local
579 mcfg = (struct acpi_table_mcfg *)header; in pci_parse_mcfg()
594 cfg_table = (struct acpi_mcfg_allocation *) &mcfg[1]; in pci_parse_mcfg()
597 if (acpi_mcfg_check_entry(mcfg, cfg)) { in pci_parse_mcfg()
/linux-4.1.27/drivers/char/
Dhpet.c843 u64 cap, mcfg; in hpet_alloc() local
924 mcfg = readq(&hpet->hpet_config); in hpet_alloc()
925 if ((mcfg & HPET_ENABLE_CNF_MASK) == 0) { in hpet_alloc()
927 mcfg |= HPET_ENABLE_CNF_MASK; in hpet_alloc()
928 writeq(mcfg, &hpet->hpet_config); in hpet_alloc()