Home
last modified time | relevance | path

Searched full:mc (Results 1 – 25 of 1519) sorted by relevance

12345678910>>...61

/openbmc/linux/drivers/memory/tegra/
H A Dmc.c22 #include "mc.h"
26 { .compatible = "nvidia,tegra20-mc-gart", .data = &tegra20_mc_soc },
29 { .compatible = "nvidia,tegra30-mc", .data = &tegra30_mc_soc },
32 { .compatible = "nvidia,tegra114-mc", .data = &tegra114_mc_soc },
35 { .compatible = "nvidia,tegra124-mc", .data = &tegra124_mc_soc },
38 { .compatible = "nvidia,tegra132-mc", .data = &tegra132_mc_soc },
41 { .compatible = "nvidia,tegra210-mc", .data = &tegra210_mc_soc },
44 { .compatible = "nvidia,tegra186-mc", .data = &tegra186_mc_soc },
47 { .compatible = "nvidia,tegra194-mc", .data = &tegra194_mc_soc },
50 { .compatible = "nvidia,tegra234-mc", .data = &tegra234_mc_soc },
[all …]
H A Dtegra20.c14 #include <dt-bindings/memory/tegra20-mc.h>
16 #include "mc.h"
75 const struct tegra_mc *mc; member
279 static int tegra20_mc_hotreset_assert(struct tegra_mc *mc, in tegra20_mc_hotreset_assert() argument
285 spin_lock_irqsave(&mc->lock, flags); in tegra20_mc_hotreset_assert()
287 value = mc_readl(mc, rst->reset); in tegra20_mc_hotreset_assert()
288 mc_writel(mc, value & ~BIT(rst->bit), rst->reset); in tegra20_mc_hotreset_assert()
290 spin_unlock_irqrestore(&mc->lock, flags); in tegra20_mc_hotreset_assert()
295 static int tegra20_mc_hotreset_deassert(struct tegra_mc *mc, in tegra20_mc_hotreset_deassert() argument
301 spin_lock_irqsave(&mc->lock, flags); in tegra20_mc_hotreset_deassert()
[all …]
/openbmc/linux/drivers/crypto/amlogic/
H A Damlogic-gxl-core.c27 struct meson_dev *mc = (struct meson_dev *)data; in meson_irq_handler() local
32 if (mc->irqs[flow] == irq) { in meson_irq_handler()
33 p = readl(mc->base + ((0x04 + flow) << 2)); in meson_irq_handler()
35 writel_relaxed(0xF, mc->base + ((0x4 + flow) << 2)); in meson_irq_handler()
36 mc->chanlist[flow].status = 1; in meson_irq_handler()
37 complete(&mc->chanlist[flow].complete); in meson_irq_handler()
40 dev_err(mc->dev, "%s %d Got irq for flow %d but ctrl is empty\n", __func__, irq, flow); in meson_irq_handler()
44 dev_err(mc->dev, "%s %d from unknown irq\n", __func__, irq); in meson_irq_handler()
110 struct meson_dev *mc __maybe_unused = seq->private; in meson_debugfs_show()
116 mc->chanlist[i].stat_req); in meson_debugfs_show()
[all …]
H A Damlogic-gxl-cipher.c20 static int get_engine_number(struct meson_dev *mc) in get_engine_number() argument
22 return atomic_inc_return(&mc->flow) % MAXFLOW; in get_engine_number()
89 struct meson_dev *mc = op->mc; in meson_cipher() local
106 dev_dbg(mc->dev, "%s %s %u %x IV(%u) key=%u flow=%d\n", __func__, in meson_cipher()
114 mc->chanlist[flow].stat_req++; in meson_cipher()
132 dev_err(mc->dev, "invalid ivsize=%d vs len=%d\n", ivsize, areq->cryptlen); in meson_cipher()
152 phykeyiv = dma_map_single(mc->dev, bkeyiv, keyivlen, in meson_cipher()
154 err = dma_mapping_error(mc->dev, phykeyiv); in meson_cipher()
156 dev_err(mc->dev, "Cannot DMA MAP KEY IV\n"); in meson_cipher()
164 desc = &mc->chanlist[flow].tl[tloffset]; in meson_cipher()
[all …]
/openbmc/u-boot/arch/x86/lib/
H A Dmpspec.c27 ulong mc; in mp_write_floating_table() local
43 mc = (ulong)mf + sizeof(struct mp_floating_table); in mp_write_floating_table()
44 return (struct mp_config_table *)mc; in mp_write_floating_table()
47 void mp_config_table_init(struct mp_config_table *mc) in mp_config_table_init() argument
49 memcpy(mc->mpc_signature, MPC_SIGNATURE, 4); in mp_config_table_init()
50 mc->mpc_length = sizeof(struct mp_config_table); in mp_config_table_init()
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()
[all …]
/openbmc/linux/drivers/gpio/
H A Dgpio-mc33880.c43 static int mc33880_write_config(struct mc33880 *mc) in mc33880_write_config() argument
45 return spi_write(mc->spi, &mc->port_config, sizeof(mc->port_config)); in mc33880_write_config()
49 static int __mc33880_set(struct mc33880 *mc, unsigned offset, int value) in __mc33880_set() argument
52 mc->port_config |= 1 << offset; in __mc33880_set()
54 mc->port_config &= ~(1 << offset); in __mc33880_set()
56 return mc33880_write_config(mc); in __mc33880_set()
62 struct mc33880 *mc = gpiochip_get_data(chip); in mc33880_set() local
64 mutex_lock(&mc->lock); in mc33880_set()
66 __mc33880_set(mc, offset, value); in mc33880_set()
68 mutex_unlock(&mc->lock); in mc33880_set()
[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
56 if (likely(mc)) { in nvkm_mc_reset_mask()
58 for (map = mc->func->reset; map && map->stat; map++) { in nvkm_mc_reset_mask()
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()
86 device->mc->func->device->disable(device->mc, pmc_enable); in nvkm_mc_disable()
94 device->mc->func->device->enable(device->mc, pmc_enable); in nvkm_mc_enable()
[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 …]
/openbmc/linux/drivers/dma/
H A Dmilbeaut-hdmac.c95 /* mc->vc.lock must be held by caller */
97 milbeaut_hdmac_next_desc(struct milbeaut_hdmac_chan *mc) in milbeaut_hdmac_next_desc() argument
101 vd = vchan_next_desc(&mc->vc); in milbeaut_hdmac_next_desc()
103 mc->md = NULL; in milbeaut_hdmac_next_desc()
109 mc->md = to_milbeaut_hdmac_desc(vd); in milbeaut_hdmac_next_desc()
111 return mc->md; in milbeaut_hdmac_next_desc()
114 /* mc->vc.lock must be held by caller */
115 static void milbeaut_chan_start(struct milbeaut_hdmac_chan *mc, in milbeaut_chan_start() argument
128 width = mc->cfg.dst_addr_width; in milbeaut_chan_start()
129 burst = mc->cfg.dst_maxburst; in milbeaut_chan_start()
[all …]
H A Duniphier-mdmac.c86 /* mc->vc.lock must be held by caller */
88 uniphier_mdmac_next_desc(struct uniphier_mdmac_chan *mc) in uniphier_mdmac_next_desc() argument
92 vd = vchan_next_desc(&mc->vc); in uniphier_mdmac_next_desc()
94 mc->md = NULL; in uniphier_mdmac_next_desc()
100 mc->md = to_uniphier_mdmac_desc(vd); in uniphier_mdmac_next_desc()
102 return mc->md; in uniphier_mdmac_next_desc()
105 /* mc->vc.lock must be held by caller */
106 static void uniphier_mdmac_handle(struct uniphier_mdmac_chan *mc, in uniphier_mdmac_handle() argument
109 struct uniphier_mdmac_device *mdev = mc->mdev; in uniphier_mdmac_handle()
130 writel(src_mode, mc->reg_ch_base + UNIPHIER_MDMAC_CH_SRC_MODE); in uniphier_mdmac_handle()
[all …]
H A Dmilbeaut-xdmac.c92 /* mc->vc.lock must be held by caller */
94 milbeaut_xdmac_next_desc(struct milbeaut_xdmac_chan *mc) in milbeaut_xdmac_next_desc() argument
98 vd = vchan_next_desc(&mc->vc); in milbeaut_xdmac_next_desc()
100 mc->md = NULL; in milbeaut_xdmac_next_desc()
106 mc->md = to_milbeaut_xdmac_desc(vd); in milbeaut_xdmac_next_desc()
108 return mc->md; in milbeaut_xdmac_next_desc()
111 /* mc->vc.lock must be held by caller */
112 static void milbeaut_chan_start(struct milbeaut_xdmac_chan *mc, in milbeaut_chan_start() argument
119 writel_relaxed(val, mc->reg_ch_base + M10V_XDTBC); in milbeaut_chan_start()
122 writel_relaxed(val, mc->reg_ch_base + M10V_XDSSA); in milbeaut_chan_start()
[all …]
/openbmc/qemu/hw/xen/
H A Dxen-mapcache.c81 static inline void mapcache_lock(MapCache *mc) in mapcache_lock() argument
83 qemu_mutex_lock(&mc->lock); in mapcache_lock()
86 static inline void mapcache_unlock(MapCache *mc) in mapcache_unlock() argument
88 qemu_mutex_unlock(&mc->lock); in mapcache_unlock()
106 MapCache *mc; in xen_map_cache_init_single() local
110 mc = g_new0(MapCache, 1); in xen_map_cache_init_single()
112 mc->phys_offset_to_gaddr = f; in xen_map_cache_init_single()
113 mc->opaque = opaque; in xen_map_cache_init_single()
114 qemu_mutex_init(&mc->lock); in xen_map_cache_init_single()
116 QTAILQ_INIT(&mc->locked_entries); in xen_map_cache_init_single()
[all …]
/openbmc/qemu/hw/s390x/
H A Ds390-virtio-ccw.c76 MachineClass *mc = MACHINE_GET_CLASS(machine); in s390_init_cpus() local
77 S390CcwMachineClass *s390mc = S390_CCW_MACHINE_CLASS(mc); in s390_init_cpus()
87 mc->possible_cpu_arch_ids(machine); in s390_init_cpus()
247 MachineClass *mc = MACHINE_GET_CLASS(machine); in ccw_init() local
299 s390_create_virtio_net(BUS(css_bus), mc->default_nic); in ccw_init()
558 MachineClass *mc = MACHINE_GET_CLASS(ms); in s390_cpu_index_to_props() local
559 const CPUArchIdList *possible_cpus = mc->possible_cpu_arch_ids(ms); in s390_cpu_index_to_props()
735 MachineClass *mc = MACHINE_CLASS(oc); in ccw_machine_class_init() local
738 S390CcwMachineClass *s390mc = S390_CCW_MACHINE_CLASS(mc); in ccw_machine_class_init()
744 mc->init = ccw_init; in ccw_machine_class_init()
[all …]
/openbmc/linux/sound/soc/
H A Dsoc-ops.c177 struct soc_mixer_control *mc = in snd_soc_info_volsw() local
182 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()
184 max = mc->platform_max; in snd_soc_info_volsw()
197 uinfo->count = snd_soc_volsw_is_stereo(mc) ? 2 : 1; in snd_soc_info_volsw()
221 struct soc_mixer_control *mc = in snd_soc_info_volsw_sx() local
225 if (mc->platform_max) in snd_soc_info_volsw_sx()
226 max = mc->platform_max; in snd_soc_info_volsw_sx()
228 max = mc->max; in snd_soc_info_volsw_sx()
235 uinfo->count = snd_soc_volsw_is_stereo(mc) ? 2 : 1; in snd_soc_info_volsw_sx()
[all …]
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-devices-edac1 What: /sys/devices/system/edac/mc/mc*/reset_counters
12 What: /sys/devices/system/edac/mc/mc*/seconds_since_reset
19 What: /sys/devices/system/edac/mc/mc*/mc_name
25 What: /sys/devices/system/edac/mc/mc*/size_mb
31 What: /sys/devices/system/edac/mc/mc*/ue_count
39 What: /sys/devices/system/edac/mc/mc*/ue_noinfo_count
46 What: /sys/devices/system/edac/mc/mc*/ce_count
56 What: /sys/devices/system/edac/mc/mc*/ce_noinfo_count
66 What: /sys/devices/system/edac/mc/mc*/sdram_scrub_rate
78 What: /sys/devices/system/edac/mc/mc*/max_location
[all …]
/openbmc/linux/drivers/net/can/usb/peak_usb/
H A Dpcan_usb.c424 static int pcan_usb_update_ts(struct pcan_usb_msg_context *mc) in pcan_usb_update_ts() argument
426 if ((mc->ptr + 2) > mc->end) in pcan_usb_update_ts()
429 mc->ts16 = get_unaligned_le16(mc->ptr); in pcan_usb_update_ts()
431 if (mc->rec_idx > 0) in pcan_usb_update_ts()
432 peak_usb_update_ts_now(&mc->pdev->time_ref, mc->ts16); in pcan_usb_update_ts()
434 peak_usb_set_ts_now(&mc->pdev->time_ref, mc->ts16); in pcan_usb_update_ts()
442 static int pcan_usb_decode_ts(struct pcan_usb_msg_context *mc, u8 first_packet) in pcan_usb_decode_ts() argument
446 if ((mc->ptr + 2) > mc->end) in pcan_usb_decode_ts()
449 mc->ts16 = get_unaligned_le16(mc->ptr); in pcan_usb_decode_ts()
450 mc->prev_ts8 = mc->ts16 & 0x00ff; in pcan_usb_decode_ts()
[all …]
/openbmc/openbmc-test-automation/data/boot_lists/
H A DOBMC_reboot19 IPMI MC Reset Warm (run)
20 IPMI MC Reset Warm (run) (mfg)
21 IPMI MC Reset Warm (off)
22 IPMI MC Reset Warm (off) (mfg)
23 IPMI MC Reset Cold (off)
24 IPMI MC Reset Cold (off) (mfg)
25 IPMI MC Reset Cold (run)
26 IPMI MC Reset Cold (run) (mfg)
27 IPMI Std MC Reset Warm (off)
28 IPMI Std MC Reset Warm (off) (mfg)
[all …]
H A DAll41 IPMI MC Reset Warm (run)
42 IPMI MC Reset Warm (run) (mfg)
43 IPMI MC Reset Warm (off)
44 IPMI MC Reset Warm (off) (mfg)
45 IPMI MC Reset Cold (off)
46 IPMI MC Reset Cold (off) (mfg)
47 IPMI MC Reset Cold (run)
48 IPMI MC Reset Cold (run) (mfg)
49 IPMI Std MC Reset Warm (off)
50 IPMI Std MC Reset Warm (off) (mfg)
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dcooker.py296 for mc in self.databuilder.mcdata.values():
297 self.add_filewatch(mc.getVar("__base_depends", False), configwatcher=True)
331 for mc in self.databuilder.mcdata:
332 self.databuilder.mcorigdata[mc].setVar("BB_HASHSERVE", self.hashservaddr)
333 self.databuilder.mcdata[mc].setVar("BB_HASHSERVE", self.hashservaddr)
389 for mc in self.multiconfigs:
390 self.recipecaches[mc] = bb.cache.CacheData(self.caches_array)
394 for mc in self.multiconfigs:
395 self.collections[mc] = CookerCollectFiles(self.bbfile_config_priorities, mc)
499 mc = ''
[all …]
H A Dcommand.py256 mc = params[0]
258 mc = ''
259 return command.cooker.matchFile(fMatch, mc)
318 mc = params[0]
320 mc = ''
321 return list(command.cooker.recipecaches[mc].pkg_pn.items())
326 mc = params[0]
328 mc = ''
329 return list(command.cooker.recipecaches[mc].deps.items())
334 mc = params[0]
[all …]
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_gmc.c196 * @mc: memory controller structure holding memory information
202 void amdgpu_gmc_vram_location(struct amdgpu_device *adev, struct amdgpu_gmc *mc, in amdgpu_gmc_vram_location() argument
208 mc->vram_start = base; in amdgpu_gmc_vram_location()
209 mc->vram_end = mc->vram_start + mc->mc_vram_size - 1; in amdgpu_gmc_vram_location()
210 if (limit < mc->real_vram_size) in amdgpu_gmc_vram_location()
211 mc->real_vram_size = limit; in amdgpu_gmc_vram_location()
213 if (vis_limit && vis_limit < mc->visible_vram_size) in amdgpu_gmc_vram_location()
214 mc->visible_vram_size = vis_limit; in amdgpu_gmc_vram_location()
216 if (mc->real_vram_size < mc->visible_vram_size) in amdgpu_gmc_vram_location()
217 mc->visible_vram_size = mc->real_vram_size; in amdgpu_gmc_vram_location()
[all …]
/openbmc/linux/drivers/bus/fsl-mc/
H A Dmc-sys.c5 * I/O services to send MC commands to the MC hardware
15 #include <linux/fsl/mc.h>
17 #include "fsl-mc-private.h"
20 * Timeout in milliseconds to wait for the completion of an MC command
26 * iterations while waiting for MC command completion
86 return "Unknown MC error"; in mc_status_to_string()
92 * mc_write_command - writes a command to a Management Complex (MC) portal
94 * @portal: pointer to an MC portal
116 * mc_read_response - reads the response for the last MC command from a
117 * Management Complex (MC) portal
[all …]
/openbmc/qemu/hw/m68k/
H A Dvirt.c314 MachineClass *mc = MACHINE_CLASS(oc); in virt_machine_class_init() local
315 mc->desc = "QEMU M68K Virtual Machine"; in virt_machine_class_init()
316 mc->init = virt_init; in virt_machine_class_init()
317 mc->default_cpu_type = M68K_CPU_TYPE_NAME("m68040"); in virt_machine_class_init()
318 mc->max_cpus = 1; in virt_machine_class_init()
319 mc->no_floppy = 1; in virt_machine_class_init()
320 mc->no_parallel = 1; in virt_machine_class_init()
321 mc->default_ram_id = "m68k_virt.ram"; in virt_machine_class_init()
343 MachineClass *mc = MACHINE_CLASS(oc); \ in type_init()
344 MACHINE_VER_SYM(options, virt, __VA_ARGS__)(mc); \ in type_init()
[all …]
/openbmc/qemu/hw/avr/
H A Darduino.c61 MachineClass *mc = MACHINE_CLASS(oc); in arduino_machine_class_init() local
63 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()
74 MachineClass *mc = MACHINE_CLASS(oc); in arduino_duemilanove_class_init() local
81 mc->desc = "Arduino Duemilanove (ATmega168)", in arduino_duemilanove_class_init()
[all …]
/openbmc/u-boot/arch/x86/include/asm/
H A Dmpspec.h223 * @mc: configuration table header address
226 static inline ulong mp_next_mpc_entry(struct mp_config_table *mc) in mp_next_mpc_entry() argument
228 return (ulong)mc + mc->mpc_length; in mp_next_mpc_entry()
237 * @mc: configuration table header address
240 static inline void mp_add_mpc_entry(struct mp_config_table *mc, uint length) in mp_add_mpc_entry() argument
242 mc->mpc_length += length; in mp_add_mpc_entry()
243 mc->mpc_entry_count++; in mp_add_mpc_entry()
253 * @mc: configuration table header address
256 static inline ulong mp_next_mpe_entry(struct mp_config_table *mc) in mp_next_mpe_entry() argument
258 return (ulong)mc + mc->mpc_length + mc->mpe_length; in mp_next_mpe_entry()
[all …]

12345678910>>...61