Home
last modified time | relevance | path

Searched refs:mc (Results 1 – 25 of 789) sorted by relevance

12345678910>>...32

/openbmc/linux/drivers/memory/tegra/
H A Dmc.c104 if (mc->soc->ops && mc->soc->ops->probe_device) in tegra_mc_probe_device()
105 return mc->soc->ops->probe_device(mc, dev); in tegra_mc_probe_device()
333 mc->reset.of_node = mc->dev->of_node; in tegra_mc_reset_setup()
335 mc->reset.nr_resets = mc->soc->num_resets; in tegra_mc_reset_setup()
829 mc->provider.dev = mc->dev; in tegra_mc_interconnect_setup()
830 mc->provider.data = &mc->provider; in tegra_mc_interconnect_setup()
831 mc->provider.set = mc->soc->icc_ops->set; in tegra_mc_interconnect_setup()
933 err = mc->soc->ops->probe(mc); in tegra_mc_probe()
974 mc->smmu = tegra_smmu_probe(&pdev->dev, mc->soc->smmu, mc); in tegra_mc_probe()
999 return mc->soc->ops->suspend(mc); in tegra_mc_suspend()
[all …]
H A Dtegra20.c75 const struct tegra_mc *mc; member
287 value = mc_readl(mc, rst->reset); in tegra20_mc_hotreset_assert()
303 value = mc_readl(mc, rst->reset); in tegra20_mc_hotreset_deassert()
452 const struct tegra_mc *mc = stat->mc; in tegra20_mc_stat_gather() local
503 stat.mc = mc; in tegra20_mc_stat_events()
685 debugfs_create_devm_seqfile(mc->dev, "stats", mc->debugfs.root, in tegra20_mc_probe()
719 struct tegra_mc *mc = data; in tegra20_mc_handle_irq() local
724 status = mc_readl(mc, MC_INTSTATUS) & mc->soc->intmask; in tegra20_mc_handle_irq()
739 value = mc_readl(mc, reg); in tegra20_mc_handle_irq()
750 value = mc_readl(mc, reg); in tegra20_mc_handle_irq()
[all …]
H A DMakefile2 tegra-mc-y := mc.o
4 tegra-mc-$(CONFIG_ARCH_TEGRA_2x_SOC) += tegra20.o
5 tegra-mc-$(CONFIG_ARCH_TEGRA_3x_SOC) += tegra30.o
6 tegra-mc-$(CONFIG_ARCH_TEGRA_114_SOC) += tegra114.o
7 tegra-mc-$(CONFIG_ARCH_TEGRA_124_SOC) += tegra124.o
8 tegra-mc-$(CONFIG_ARCH_TEGRA_132_SOC) += tegra124.o
9 tegra-mc-$(CONFIG_ARCH_TEGRA_210_SOC) += tegra210.o
10 tegra-mc-$(CONFIG_ARCH_TEGRA_186_SOC) += tegra186.o
11 tegra-mc-$(CONFIG_ARCH_TEGRA_194_SOC) += tegra186.o tegra194.o
12 tegra-mc-$(CONFIG_ARCH_TEGRA_234_SOC) += tegra186.o tegra234.o
[all …]
/openbmc/linux/drivers/crypto/amlogic/
H A Damlogic-gxl-core.c158 mc->chanlist = devm_kcalloc(mc->dev, MAXFLOW, in meson_allocate_chanlist()
160 if (!mc->chanlist) in meson_allocate_chanlist()
166 mc->chanlist[i].engine = crypto_engine_alloc_init(mc->dev, true); in meson_allocate_chanlist()
178 mc->chanlist[i].tl = dma_alloc_coherent(mc->dev, in meson_allocate_chanlist()
198 mc_algs[i].mc = mc; in meson_register_algs()
220 if (!mc_algs[i].mc) in meson_unregister_algs()
232 struct meson_dev *mc; in meson_crypto_probe() local
235 mc = devm_kzalloc(&pdev->dev, sizeof(*mc), GFP_KERNEL); in meson_crypto_probe()
236 if (!mc) in meson_crypto_probe()
239 mc->dev = &pdev->dev; in meson_crypto_probe()
[all …]
H A Damlogic-gxl-cipher.c89 struct meson_dev *mc = op->mc; in meson_cipher() local
114 mc->chanlist[flow].stat_req++; in meson_cipher()
227 mc->chanlist[flow].status = 0; in meson_cipher()
228 writel(mc->chanlist[flow].t_phy | 2, mc->base + (flow << 2)); in meson_cipher()
231 if (mc->chanlist[flow].status == 0) { in meson_cipher()
285 e = get_engine_number(op->mc); in meson_skdecrypt()
286 engine = op->mc->chanlist[e].engine; in meson_skdecrypt()
303 e = get_engine_number(op->mc); in meson_skencrypt()
304 engine = op->mc->chanlist[e].engine; in meson_skencrypt()
321 op->mc = algt->mc; in meson_cipher_init()
[all …]
/openbmc/linux/drivers/gpio/
H A Dgpio-mc33880.c45 return spi_write(mc->spi, &mc->port_config, sizeof(mc->port_config)); in mc33880_write_config()
64 mutex_lock(&mc->lock); in mc33880_set()
68 mutex_unlock(&mc->lock); in mc33880_set()
73 struct mc33880 *mc; in mc33880_probe() local
93 if (!mc) in mc33880_probe()
96 mutex_init(&mc->lock); in mc33880_probe()
100 mc->spi = spi; in mc33880_probe()
110 mc->port_config = 0x00; in mc33880_probe()
116 mc->port_config = 0x00; in mc33880_probe()
126 ret = gpiochip_add_data(&mc->chip, mc); in mc33880_probe()
[all …]
/openbmc/u-boot/arch/x86/lib/
H A Dmpspec.c27 ulong mc; in mp_write_floating_table() local
51 mc->mpc_spec = MPSPEC_V14; in mp_config_table_init()
52 mc->mpc_checksum = 0; in mp_config_table_init()
53 mc->mpc_oemptr = 0; in mp_config_table_init()
54 mc->mpc_oemsize = 0; in mp_config_table_init()
55 mc->mpc_entry_count = 0; in mp_config_table_init()
57 mc->mpe_length = 0; in mp_config_table_init()
58 mc->mpe_checksum = 0; in mp_config_table_init()
59 mc->reserved = 0; in mp_config_table_init()
223 mc->mpe_checksum = table_compute_checksum((void *)mp_next_mpc_entry(mc), in mptable_finalize()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mc/
H A Dbase.c32 struct nvkm_mc *mc = device->mc; in nvkm_mc_unk260() local
33 if (likely(mc) && mc->func->unk260) in nvkm_mc_unk260()
34 mc->func->unk260(mc, data); in nvkm_mc_unk260()
53 struct nvkm_mc *mc = device->mc; in nvkm_mc_reset_mask() local
76 device->mc->func->device->disable(device->mc, pmc_enable); in nvkm_mc_reset()
77 device->mc->func->device->enable(device->mc, pmc_enable); in nvkm_mc_reset()
94 device->mc->func->device->enable(device->mc, pmc_enable); in nvkm_mc_enable()
110 mc->func->init(mc); in nvkm_mc_init()
133 if (!(mc = *pmc = kzalloc(sizeof(*mc), GFP_KERNEL))) in nvkm_mc_new_()
140 ret = nvkm_intr_add(mc->func->intr, mc->func->intrs, &mc->subdev, in nvkm_mc_new_()
[all …]
H A DKbuild2 nvkm-y += nvkm/subdev/mc/base.o
3 nvkm-y += nvkm/subdev/mc/nv04.o
4 nvkm-y += nvkm/subdev/mc/nv11.o
5 nvkm-y += nvkm/subdev/mc/nv17.o
6 nvkm-y += nvkm/subdev/mc/nv44.o
7 nvkm-y += nvkm/subdev/mc/nv50.o
8 nvkm-y += nvkm/subdev/mc/g84.o
9 nvkm-y += nvkm/subdev/mc/g98.o
10 nvkm-y += nvkm/subdev/mc/gt215.o
11 nvkm-y += nvkm/subdev/mc/gf100.o
[all …]
H A Dnv04.c34 nv04_mc_device_disable(struct nvkm_mc *mc, u32 mask) in nv04_mc_device_disable() argument
36 nvkm_mask(mc->subdev.device, 0x000200, mask, 0x00000000); in nv04_mc_device_disable()
40 nv04_mc_device_enable(struct nvkm_mc *mc, u32 mask) in nv04_mc_device_enable() argument
42 struct nvkm_device *device = mc->subdev.device; in nv04_mc_device_enable()
49 nv04_mc_device_enabled(struct nvkm_mc *mc, u32 mask) in nv04_mc_device_enabled() argument
74 struct nvkm_mc *mc = container_of(intr, typeof(*mc), intr); in nv04_mc_intr_rearm() local
84 struct nvkm_mc *mc = container_of(intr, typeof(*mc), intr); in nv04_mc_intr_unarm() local
90 nvkm_rd32(mc->subdev.device, 0x000140); in nv04_mc_intr_unarm()
96 struct nvkm_mc *mc = container_of(intr, typeof(*mc), intr); in nv04_mc_intr_pending() local
117 nv04_mc_init(struct nvkm_mc *mc) in nv04_mc_init() argument
[all …]
/openbmc/linux/sound/soc/
H A Dsoc-ops.c182 max = uinfo->value.integer.max = mc->max - mc->min; in snd_soc_info_volsw()
183 if (mc->platform_max && mc->platform_max < max) in snd_soc_info_volsw()
453 if (mc->platform_max && val > mc->platform_max) in snd_soc_put_volsw_sx()
469 if (mc->platform_max && val2 > mc->platform_max) in snd_soc_put_volsw_sx()
509 mc->platform_max = mc->max; in snd_soc_info_volsw_range()
549 if (mc->platform_max && tmp > mc->platform_max) in snd_soc_put_volsw_range()
551 if (tmp > mc->max - mc->min) in snd_soc_put_volsw_range()
570 if (mc->platform_max && tmp > mc->platform_max) in snd_soc_put_volsw_range()
572 if (tmp > mc->max - mc->min) in snd_soc_put_volsw_range()
664 if (max <= mc->max - mc->min) { in snd_soc_limit_volume()
[all …]
/openbmc/qemu/hw/s390x/
H A Ds390-virtio-ccw.c100 mc->possible_cpu_arch_ids(machine); in s390_init_cpus()
764 mc->init = ccw_init; in ccw_machine_class_init()
765 mc->reset = s390_machine_reset; in ccw_machine_class_init()
767 mc->no_cdrom = 1; in ccw_machine_class_init()
768 mc->no_floppy = 1; in ccw_machine_class_init()
769 mc->no_parallel = 1; in ccw_machine_class_init()
770 mc->no_sdcard = 1; in ccw_machine_class_init()
771 mc->max_cpus = S390_MAX_CPUS; in ccw_machine_class_init()
772 mc->has_hotpluggable_cpus = true; in ccw_machine_class_init()
775 assert(!mc->get_hotplug_handler); in ccw_machine_class_init()
[all …]
/openbmc/linux/drivers/net/can/usb/peak_usb/
H A Dpcan_usb.c426 if ((mc->ptr + 2) > mc->end) in pcan_usb_update_ts()
429 mc->ts16 = get_unaligned_le16(mc->ptr); in pcan_usb_update_ts()
446 if ((mc->ptr + 2) > mc->end) in pcan_usb_decode_ts()
450 mc->prev_ts8 = mc->ts16 & 0x00ff; in pcan_usb_decode_ts()
456 if ((mc->ptr + 1) > mc->end) in pcan_usb_decode_ts()
586 if ((mc->ptr + 2) > mc->end) in pcan_usb_decode_status()
639 if ((mc->ptr + rec_len) > mc->end) in pcan_usb_decode_status()
663 if ((mc->ptr + 4) > mc->end) in pcan_usb_decode_data()
670 if ((mc->ptr + 2) > mc->end) in pcan_usb_decode_data()
692 if ((mc->ptr + rec_len) > mc->end) in pcan_usb_decode_data()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_gmc.c209 mc->vram_end = mc->vram_start + mc->mc_vram_size - 1; in amdgpu_gmc_vram_location()
220 mc->fb_start = mc->vram_start; in amdgpu_gmc_vram_location()
221 mc->fb_end = mc->vram_end; in amdgpu_gmc_vram_location()
249 mc->vram_end = mc->vram_start + mc->xgmi.node_segment_size - 1; in amdgpu_gmc_sysvm_location()
251 mc->gart_end = mc->gart_start + mc->gart_size - 1; in amdgpu_gmc_sysvm_location()
258 mc->gart_size >> 20, mc->gart_start, mc->gart_end); in amdgpu_gmc_sysvm_location()
296 mc->gart_end = mc->gart_start + mc->gart_size - 1; in amdgpu_gmc_gart_location()
298 mc->gart_size >> 20, mc->gart_start, mc->gart_end); in amdgpu_gmc_gart_location()
326 if (mc->fb_start > mc->gart_start) { in amdgpu_gmc_agp_location()
344 mc->agp_end = mc->agp_start + mc->agp_size - 1; in amdgpu_gmc_agp_location()
[all …]
/openbmc/linux/drivers/dma/
H A Dmilbeaut-hdmac.c103 mc->md = NULL; in milbeaut_hdmac_next_desc()
111 return mc->md; in milbeaut_hdmac_next_desc()
177 spin_lock(&mc->vc.lock); in milbeaut_hdmac_interrupt()
187 md = mc->md; in milbeaut_hdmac_interrupt()
218 spin_lock(&mc->vc.lock); in milbeaut_hdmac_chan_config()
219 mc->cfg = *cfg; in milbeaut_hdmac_chan_config()
302 if (mc->md) { in milbeaut_hdmac_terminate_all()
304 mc->md = NULL; in milbeaut_hdmac_terminate_all()
345 if (mc->md && mc->md->vd.tx.cookie == cookie) { in milbeaut_hdmac_tx_status()
349 md = mc->md; in milbeaut_hdmac_tx_status()
[all …]
H A Duniphier-mdmac.c94 mc->md = NULL; in uniphier_mdmac_next_desc()
102 return mc->md; in uniphier_mdmac_next_desc()
182 spin_lock(&mc->vc.lock); in uniphier_mdmac_interrupt()
203 md = mc->md; in uniphier_mdmac_interrupt()
219 spin_unlock(&mc->vc.lock); in uniphier_mdmac_interrupt()
262 if (mc->md) { in uniphier_mdmac_terminate_all()
264 mc->md = NULL; in uniphier_mdmac_terminate_all()
304 if (mc->md && mc->md->vd.tx.cookie == cookie) { in uniphier_mdmac_tx_status()
308 md = mc->md; in uniphier_mdmac_tx_status()
370 mc->mdev = mdev; in uniphier_mdmac_chan_init()
[all …]
H A Dmilbeaut-xdmac.c98 vd = vchan_next_desc(&mc->vc); in milbeaut_xdmac_next_desc()
100 mc->md = NULL; in milbeaut_xdmac_next_desc()
108 return mc->md; in milbeaut_xdmac_next_desc()
156 milbeaut_chan_start(mc, md); in milbeaut_xdmac_start()
165 spin_lock(&mc->vc.lock); in milbeaut_xdmac_interrupt()
171 md = mc->md; in milbeaut_xdmac_interrupt()
177 milbeaut_xdmac_start(mc); in milbeaut_xdmac_interrupt()
179 spin_unlock(&mc->vc.lock); in milbeaut_xdmac_interrupt()
223 if (mc->md) { in milbeaut_xdmac_terminate_all()
225 mc->md = NULL; in milbeaut_xdmac_terminate_all()
[all …]
/openbmc/qemu/hw/avr/
H A Darduino.c63 mc->init = arduino_machine_init; in arduino_machine_class_init()
64 mc->default_cpus = 1; in arduino_machine_class_init()
65 mc->min_cpus = mc->default_cpus; in arduino_machine_class_init()
66 mc->max_cpus = mc->default_cpus; in arduino_machine_class_init()
67 mc->no_floppy = 1; in arduino_machine_class_init()
68 mc->no_cdrom = 1; in arduino_machine_class_init()
69 mc->no_parallel = 1; in arduino_machine_class_init()
82 mc->alias = "2009"; in arduino_duemilanove_class_init()
97 mc->alias = "uno"; in arduino_uno_class_init()
112 mc->alias = "mega"; in arduino_mega_class_init()
[all …]
/openbmc/qemu/hw/m68k/
H A Dvirt.c305 mc->init = virt_init; in virt_machine_class_init()
307 mc->max_cpus = 1; in virt_machine_class_init()
308 mc->no_floppy = 1; in virt_machine_class_init()
309 mc->no_parallel = 1; in virt_machine_class_init()
335 mc->alias = "virt"; \ in type_init()
356 virt_machine_8_2_options(mc); in virt_machine_8_1_options()
363 virt_machine_8_1_options(mc); in virt_machine_8_0_options()
370 virt_machine_8_0_options(mc); in virt_machine_7_2_options()
377 virt_machine_7_2_options(mc); in virt_machine_7_1_options()
384 virt_machine_7_1_options(mc); in virt_machine_7_0_options()
[all …]
/openbmc/u-boot/arch/x86/include/asm/
H A Dmpspec.h228 return (ulong)mc + mc->mpc_length; in mp_next_mpc_entry()
242 mc->mpc_length += length; in mp_add_mpc_entry()
243 mc->mpc_entry_count++; in mp_add_mpc_entry()
258 return (ulong)mc + mc->mpc_length + mc->mpe_length; in mp_next_mpe_entry()
270 static inline void mp_add_mpe_entry(struct mp_config_table *mc, in mp_add_mpe_entry() argument
273 mc->mpe_length += mpe->mpe_length; in mp_add_mpe_entry()
295 void mp_config_table_init(struct mp_config_table *mc);
304 void mp_write_processor(struct mp_config_table *mc);
391 void mp_write_address_space(struct mp_config_table *mc,
406 void mp_write_bus_hierarchy(struct mp_config_table *mc,
[all …]
/openbmc/qemu/hw/core/
H A Dnull-machine.c45 static void machine_none_machine_init(MachineClass *mc) in machine_none_machine_init() argument
47 mc->desc = "empty machine"; in machine_none_machine_init()
48 mc->init = machine_none_init; in machine_none_machine_init()
49 mc->max_cpus = 1; in machine_none_machine_init()
50 mc->default_ram_size = 0; in machine_none_machine_init()
51 mc->default_ram_id = "ram"; in machine_none_machine_init()
52 mc->no_serial = 1; in machine_none_machine_init()
53 mc->no_parallel = 1; in machine_none_machine_init()
54 mc->no_floppy = 1; in machine_none_machine_init()
55 mc->no_cdrom = 1; in machine_none_machine_init()
[all …]
/openbmc/linux/include/soc/tegra/
H A Dmc.h104 struct tegra_mc *mc);
109 struct tegra_mc *mc) in tegra_smmu_probe() argument
151 int (*hotreset_assert)(struct tegra_mc *mc,
155 int (*block_dma)(struct tegra_mc *mc,
157 bool (*dma_idling)(struct tegra_mc *mc,
159 int (*unblock_dma)(struct tegra_mc *mc,
161 int (*reset_status)(struct tegra_mc *mc,
186 int (*probe)(struct tegra_mc *mc);
187 void (*remove)(struct tegra_mc *mc);
188 int (*suspend)(struct tegra_mc *mc);
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dcooker.py497 mc = ''
616 localdata[mc] = data.createCopy(self.databuilder.mcdata[mc])
623 mc = ""
636 taskdata[mc].add_provider(localdata[mc], self.recipecaches[mc], k)
661 taskdata[mc].add_unresolved(localdata[mc], self.recipecaches[mc])
678 taskdata[mc].add_unresolved(localdata[mc], self.recipecaches[mc])
711 if mc:
1037 … bb.providers.findProviders(self.databuilder.mcdata[mc], self.recipecaches[mc], self.recipecaches[
1380 taskdata[mc].add_provider(self.databuilder.mcdata[mc], self.recipecaches[mc], item)
1642 …lf.recipecaches[mc].bbfile_priority = self.collections[mc].collection_priorities(self.recipecaches…
[all …]
/openbmc/qemu/hw/ppc/
H A De500plat.c49 MachineClass *mc = MACHINE_GET_CLASS(pms); in e500plat_machine_device_plug_cb() local
51 if (device_is_dynamic_sysbus(mc, dev)) { in e500plat_machine_device_plug_cb()
60 MachineClass *mc = MACHINE_GET_CLASS(machine); in e500plat_machine_get_hotpug_handler() local
62 if (device_is_dynamic_sysbus(mc, dev)) { in e500plat_machine_get_hotpug_handler()
75 MachineClass *mc = MACHINE_CLASS(oc); in e500plat_machine_class_init() local
77 assert(!mc->get_hotplug_handler); in e500plat_machine_class_init()
97 mc->desc = "generic paravirt e500 platform"; in e500plat_machine_class_init()
98 mc->init = e500plat_init; in e500plat_machine_class_init()
99 mc->max_cpus = 32; in e500plat_machine_class_init()
101 mc->default_ram_id = "mpc8544ds.ram"; in e500plat_machine_class_init()
[all …]
/openbmc/linux/arch/x86/kernel/cpu/microcode/
H A Dintel.c484 mc = uci->mc; in apply_microcode_early()
485 if (!mc) in apply_microcode_early()
587 uci.mc = patch; in load_ucode_intel_bsp()
610 uci.mc = *iup; in load_ucode_intel_ap()
648 uci.mc = p; in reload_ucode_intel()
689 if (!mc) { in apply_microcode_intel()
690 mc = uci->mc; in apply_microcode_intel()
691 if (!mc) in apply_microcode_intel()
777 vfree(mc); in generic_load_microcode()
779 if (!mc) in generic_load_microcode()
[all …]

12345678910>>...32