Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/can/m_can/
Dm_can.c338 u32 addr_offset = cdev->mcfg[MRAM_RXF0].off + fgi * RXF0_ELEMENT_SIZE + in m_can_fifo_read()
347 u32 addr_offset = cdev->mcfg[MRAM_TXB].off + fpi * TXB_ELEMENT_SIZE + in m_can_fifo_write()
361 u32 addr_offset = cdev->mcfg[MRAM_TXE].off + fgi * TXE_ELEMENT_SIZE + in m_can_txe_fifo_read()
1136 cdev->mcfg[MRAM_TXB].off); in m_can_chip_config()
1140 (cdev->mcfg[MRAM_TXB].num << TXBC_TFQS_SHIFT) | in m_can_chip_config()
1141 (cdev->mcfg[MRAM_TXB].off)); in m_can_chip_config()
1150 cdev->mcfg[MRAM_TXE].off); in m_can_chip_config()
1154 ((cdev->mcfg[MRAM_TXE].num << TXEFC_EFS_SHIFT) in m_can_chip_config()
1156 cdev->mcfg[MRAM_TXE].off); in m_can_chip_config()
1161 (cdev->mcfg[MRAM_RXF0].num << RXFC_FS_SHIFT) | in m_can_chip_config()
[all …]
Dm_can.h98 struct mram_cfg mcfg[MRAM_CFG_NUM]; member
/kernel/linux/linux-5.10/sound/soc/ux500/
Dux500_msp_i2s.c275 struct msp_multichannel_config *mcfg; in configure_multichannel() local
291 mcfg = &config->multichannel_config; in configure_multichannel()
292 if (mcfg->tx_multichannel_enable) { in configure_multichannel()
295 writel(reg_val_MCR | (mcfg->tx_multichannel_enable ? in configure_multichannel()
298 writel(mcfg->tx_channel_0_enable, in configure_multichannel()
300 writel(mcfg->tx_channel_1_enable, in configure_multichannel()
302 writel(mcfg->tx_channel_2_enable, in configure_multichannel()
304 writel(mcfg->tx_channel_3_enable, in configure_multichannel()
313 if (mcfg->rx_multichannel_enable) { in configure_multichannel()
316 writel(reg_val_MCR | (mcfg->rx_multichannel_enable ? in configure_multichannel()
[all …]
/kernel/linux/linux-5.10/arch/x86/pci/
Dmmconfig-shared.c548 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) && (dmi_get_bios_year() >= 2010)) in acpi_mcfg_check_entry()
568 struct acpi_table_mcfg *mcfg; in pci_parse_mcfg() local
576 mcfg = (struct acpi_table_mcfg *)header; in pci_parse_mcfg()
591 cfg_table = (struct acpi_mcfg_allocation *) &mcfg[1]; in pci_parse_mcfg()
594 if (acpi_mcfg_check_entry(mcfg, cfg)) { in pci_parse_mcfg()
/kernel/linux/linux-5.10/arch/x86/kernel/apic/
Dapic_numachip.c48 u64 mcfg; in numachip2_get_apic_id() local
50 rdmsrl(MSR_FAM10H_MMIO_CONF_BASE, mcfg); in numachip2_get_apic_id()
51 return ((mcfg >> (28 - 8)) & 0xfff00) | (x >> 24); in numachip2_get_apic_id()
/kernel/linux/linux-5.10/sound/soc/intel/skylake/
Dskl-topology.c114 static void skl_dump_mconfig(struct skl_dev *skl, struct skl_module_cfg *mcfg) in skl_dump_mconfig() argument
116 struct skl_module_iface *iface = &mcfg->module->formats[mcfg->fmt_idx]; in skl_dump_mconfig()
233 struct skl_module_cfg *mcfg) in skl_tplg_update_buffer_size() argument
242 res = &mcfg->module->resources[mcfg->res_idx]; in skl_tplg_update_buffer_size()
243 in_fmt = &mcfg->module->formats[mcfg->fmt_idx].inputs[0].fmt; in skl_tplg_update_buffer_size()
244 out_fmt = &mcfg->module->formats[mcfg->fmt_idx].outputs[0].fmt; in skl_tplg_update_buffer_size()
246 if (mcfg->m_type == SKL_MODULE_TYPE_SRCINT) in skl_tplg_update_buffer_size()
452 struct snd_soc_dapm_widget *w, struct skl_module_cfg *mcfg) in skl_tplg_module_prepare() argument
454 switch (mcfg->dev_type) { in skl_tplg_module_prepare()
750 int size, struct skl_module_cfg *mcfg) in skl_fill_sink_instance_id() argument
[all …]
Dskl-messages.c956 struct skl_module_cfg *mcfg) in skl_clear_module_state() argument
969 mcfg->m_state = SKL_MODULE_INIT_DONE; in skl_clear_module_state()
1363 u32 param_id, struct skl_module_cfg *mcfg) in skl_set_module_params() argument
1367 msg.module_id = mcfg->id.module_id; in skl_set_module_params()
1368 msg.instance_id = mcfg->id.pvt_id; in skl_set_module_params()
1376 u32 param_id, struct skl_module_cfg *mcfg) in skl_get_module_params() argument
1381 msg.module_id = mcfg->id.module_id; in skl_get_module_params()
1382 msg.instance_id = mcfg->id.pvt_id; in skl_get_module_params()
Dskl-topology.h488 u32 param_id, struct skl_module_cfg *mcfg);
490 u32 param_id, struct skl_module_cfg *mcfg);
/kernel/linux/linux-5.10/drivers/acpi/
Dpci_mcfg.c262 struct acpi_table_mcfg *mcfg; in pci_mcfg_parse() local
272 mcfg = (struct acpi_table_mcfg *)header; in pci_mcfg_parse()
273 mptr = (struct acpi_mcfg_allocation *) &mcfg[1]; in pci_mcfg_parse()
/kernel/linux/linux-5.10/net/netfilter/ipvs/
Dip_vs_sync.c337 ipvs->mcfg.sync_maxlen); in ip_vs_sync_buff_create()
345 sb->mesg->syncid = ipvs->mcfg.syncid; in ip_vs_sync_buff_create()
425 ipvs->mcfg.sync_maxlen); in ip_vs_sync_buff_create_v0()
433 mesg->syncid = ipvs->mcfg.syncid; in ip_vs_sync_buff_create_v0()
1479 result = sock_create_kern(ipvs->net, ipvs->mcfg.mcast_af, SOCK_DGRAM, in make_send_sock()
1493 set_mcast_ttl(sock->sk, ipvs->mcfg.mcast_ttl); in make_send_sock()
1500 if (AF_INET == ipvs->mcfg.mcast_af) in make_send_sock()
1509 get_mcast_sockaddr(&mcast_addr, &salen, &ipvs->mcfg, id); in make_send_sock()
1671 ipvs->mcfg.mcast_ifn, ipvs->mcfg.syncid, tinfo->id); in sync_thread_master()
1822 ipvs->mcfg = *c; in start_sync_thread()
Dip_vs_ctl.c2806 strlcpy(d[0].mcast_ifn, ipvs->mcfg.mcast_ifn, in do_ip_vs_get_ctl()
2808 d[0].syncid = ipvs->mcfg.syncid; in do_ip_vs_get_ctl()
3531 &ipvs->mcfg, cb) < 0) in ip_vs_genl_dump_daemons()
/kernel/linux/linux-5.10/drivers/char/
Dhpet.c837 u64 cap, mcfg; in hpet_alloc() local
915 mcfg = readq(&hpet->hpet_config); in hpet_alloc()
916 if ((mcfg & HPET_ENABLE_CNF_MASK) == 0) { in hpet_alloc()
918 mcfg |= HPET_ENABLE_CNF_MASK; in hpet_alloc()
919 writeq(mcfg, &hpet->hpet_config); in hpet_alloc()
/kernel/linux/linux-5.10/include/net/
Dip_vs.h956 struct ipvs_sync_daemon_cfg mcfg; /* Master Configuration */ member