Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/can/m_can/
Dm_can.c333 u32 addr_offset = cdev->mcfg[MRAM_RXF0].off + fgi * RXF0_ELEMENT_SIZE + in m_can_fifo_read()
346 u32 addr_offset = cdev->mcfg[MRAM_TXB].off + fpi * TXB_ELEMENT_SIZE + in m_can_fifo_write()
364 u32 addr_offset = cdev->mcfg[MRAM_TXE].off + fgi * TXE_ELEMENT_SIZE + in m_can_txe_fifo_read()
1254 cdev->mcfg[MRAM_TXB].off); in m_can_chip_config()
1259 cdev->mcfg[MRAM_TXB].num) | in m_can_chip_config()
1260 cdev->mcfg[MRAM_TXB].off); in m_can_chip_config()
1271 cdev->mcfg[MRAM_TXE].off); in m_can_chip_config()
1276 cdev->mcfg[MRAM_TXE].num) | in m_can_chip_config()
1277 cdev->mcfg[MRAM_TXE].off); in m_can_chip_config()
1282 FIELD_PREP(RXFC_FS_MASK, cdev->mcfg[MRAM_RXF0].num) | in m_can_chip_config()
[all …]
Dm_can.h95 struct mram_cfg mcfg[MRAM_CFG_NUM]; member
/linux-5.19.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 …]
/linux-5.19.10/sound/soc/qcom/qdsp6/
Daudioreach.c812 struct audioreach_module_config *mcfg) in audioreach_pcm_set_media_format() argument
815 uint32_t num_channels = mcfg->num_channels; in audioreach_pcm_set_media_format()
846 media_cfg->bit_width = mcfg->bit_width; in audioreach_pcm_set_media_format()
849 media_cfg->num_channels = mcfg->num_channels; in audioreach_pcm_set_media_format()
850 media_cfg->q_factor = mcfg->bit_width - 1; in audioreach_pcm_set_media_format()
851 media_cfg->bits_per_sample = mcfg->bit_width; in audioreach_pcm_set_media_format()
870 struct audioreach_module_config *mcfg) in audioreach_shmem_set_media_format() argument
872 uint32_t num_channels = mcfg->num_channels; in audioreach_shmem_set_media_format()
908 cfg->sample_rate = mcfg->sample_rate; in audioreach_shmem_set_media_format()
909 cfg->bit_width = mcfg->bit_width; in audioreach_shmem_set_media_format()
[all …]
/linux-5.19.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()
/linux-5.19.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()
/linux-5.19.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()
458 struct snd_soc_dapm_widget *w, struct skl_module_cfg *mcfg) in skl_tplg_module_prepare() argument
460 switch (mcfg->dev_type) { in skl_tplg_module_prepare()
754 int size, struct skl_module_cfg *mcfg) in skl_fill_sink_instance_id() argument
[all …]
Dskl-messages.c1003 struct skl_module_cfg *mcfg) in skl_clear_module_state() argument
1016 mcfg->m_state = SKL_MODULE_INIT_DONE; in skl_clear_module_state()
1397 u32 param_id, struct skl_module_cfg *mcfg) in skl_set_module_params() argument
1401 msg.module_id = mcfg->id.module_id; in skl_set_module_params()
1402 msg.instance_id = mcfg->id.pvt_id; in skl_set_module_params()
1410 u32 param_id, struct skl_module_cfg *mcfg) in skl_get_module_params() argument
1415 msg.module_id = mcfg->id.module_id; in skl_get_module_params()
1416 msg.instance_id = mcfg->id.pvt_id; in skl_get_module_params()
Dskl-topology.h505 u32 param_id, struct skl_module_cfg *mcfg);
507 u32 param_id, struct skl_module_cfg *mcfg);
/linux-5.19.10/drivers/acpi/
Dpci_mcfg.c272 struct acpi_table_mcfg *mcfg; in pci_mcfg_parse() local
282 mcfg = (struct acpi_table_mcfg *)header; in pci_mcfg_parse()
283 mptr = (struct acpi_mcfg_allocation *) &mcfg[1]; in pci_mcfg_parse()
/linux-5.19.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.c2808 strlcpy(d[0].mcast_ifn, ipvs->mcfg.mcast_ifn, in do_ip_vs_get_ctl()
2810 d[0].syncid = ipvs->mcfg.syncid; in do_ip_vs_get_ctl()
3533 &ipvs->mcfg, cb) < 0) in ip_vs_genl_dump_daemons()
/linux-5.19.10/drivers/char/
Dhpet.c802 u64 cap, mcfg; in hpet_alloc() local
880 mcfg = readq(&hpet->hpet_config); in hpet_alloc()
881 if ((mcfg & HPET_ENABLE_CNF_MASK) == 0) { in hpet_alloc()
883 mcfg |= HPET_ENABLE_CNF_MASK; in hpet_alloc()
884 writeq(mcfg, &hpet->hpet_config); in hpet_alloc()
/linux-5.19.10/include/net/
Dip_vs.h957 struct ipvs_sync_daemon_cfg mcfg; /* Master Configuration */ member