Home
last modified time | relevance | path

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

12345678910>>...19

/linux/drivers/memory/tegra/
A Dmc.c100 if (mc->soc->ops && mc->soc->ops->probe_device) in tegra_mc_probe_device()
101 return mc->soc->ops->probe_device(mc, dev); in tegra_mc_probe_device()
304 mc->reset.of_node = mc->dev->of_node; in tegra_mc_reset_setup()
306 mc->reset.nr_resets = mc->soc->num_resets; in tegra_mc_reset_setup()
665 mc->provider.dev = mc->dev; in tegra_mc_interconnect_setup()
666 mc->provider.data = &mc->provider; in tegra_mc_interconnect_setup()
667 mc->provider.set = mc->soc->icc_ops->set; in tegra_mc_interconnect_setup()
752 err = mc->soc->ops->probe(mc); in tegra_mc_probe()
787 mc->smmu = tegra_smmu_probe(&pdev->dev, mc->soc->smmu, mc); in tegra_mc_probe()
812 return mc->soc->ops->suspend(mc); in tegra_mc_suspend()
[all …]
A Dtegra20.c74 const struct tegra_mc *mc; member
286 value = mc_readl(mc, rst->reset); in tegra20_mc_hotreset_assert()
302 value = mc_readl(mc, rst->reset); in tegra20_mc_hotreset_deassert()
451 const struct tegra_mc *mc = stat->mc; in tegra20_mc_stat_gather() local
502 stat.mc = mc; in tegra20_mc_stat_events()
684 debugfs_create_devm_seqfile(mc->dev, "stats", mc->debugfs.root, in tegra20_mc_probe()
718 struct tegra_mc *mc = data; in tegra20_mc_handle_irq() local
723 status = mc_readl(mc, MC_INTSTATUS) & mc->soc->intmask; in tegra20_mc_handle_irq()
738 value = mc_readl(mc, reg); in tegra20_mc_handle_irq()
749 value = mc_readl(mc, reg); in tegra20_mc_handle_irq()
[all …]
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
13 obj-$(CONFIG_TEGRA_MC) += tegra-mc.o
/linux/drivers/crypto/amlogic/
A Damlogic-gxl-core.c143 mc->chanlist = devm_kcalloc(mc->dev, MAXFLOW, in meson_allocate_chanlist()
145 if (!mc->chanlist) in meson_allocate_chanlist()
151 mc->chanlist[i].engine = crypto_engine_alloc_init(mc->dev, true); in meson_allocate_chanlist()
163 mc->chanlist[i].tl = dma_alloc_coherent(mc->dev, in meson_allocate_chanlist()
183 mc_algs[i].mc = mc; in meson_register_algs()
205 if (!mc_algs[i].mc) in meson_unregister_algs()
217 struct meson_dev *mc; in meson_crypto_probe() local
220 mc = devm_kzalloc(&pdev->dev, sizeof(*mc), GFP_KERNEL); in meson_crypto_probe()
221 if (!mc) in meson_crypto_probe()
224 mc->dev = &pdev->dev; in meson_crypto_probe()
[all …]
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()
284 e = get_engine_number(op->mc); in meson_skdecrypt()
285 engine = op->mc->chanlist[e].engine; in meson_skdecrypt()
302 e = get_engine_number(op->mc); in meson_skencrypt()
303 engine = op->mc->chanlist[e].engine; in meson_skencrypt()
320 op->mc = algt->mc; in meson_cipher_init()
[all …]
/linux/drivers/gpio/
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 …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mc/
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()
40 struct nvkm_mc *mc = device->mc; in nvkm_mc_intr_mask() local
55 struct nvkm_mc *mc = device->mc; in nvkm_mc_intr_unarm() local
57 mc->func->intr_unarm(mc); in nvkm_mc_intr_unarm()
63 struct nvkm_mc *mc = device->mc; in nvkm_mc_intr_rearm() local
65 mc->func->intr_rearm(mc); in nvkm_mc_intr_rearm()
80 struct nvkm_mc *mc = device->mc; in nvkm_mc_intr() local
123 struct nvkm_mc *mc = device->mc; in nvkm_mc_reset_mask() local
[all …]
A Dtu102.c36 u32 mask = mc->intr ? mc->mask : 0, i; in tu102_mc_intr_update()
56 mc->intr = false; in tu102_mc_intr_unarm()
57 tu102_mc_intr_update(mc); in tu102_mc_intr_unarm()
68 mc->intr = true; in tu102_mc_intr_rearm()
69 tu102_mc_intr_update(mc); in tu102_mc_intr_rearm()
80 mc->mask = (mc->mask & ~mask) | intr; in tu102_mc_intr_mask()
119 struct tu102_mc *mc; in tu102_mc_new_() local
121 if (!(mc = kzalloc(sizeof(*mc), GFP_KERNEL))) in tu102_mc_new_()
124 *pmc = &mc->base; in tu102_mc_new_()
127 mc->intr = false; in tu102_mc_new_()
[all …]
A Dgp100.c38 u32 mask = mc->intr ? mc->mask : 0, i; in gp100_mc_intr_update()
51 mc->intr = false; in gp100_mc_intr_unarm()
52 gp100_mc_intr_update(mc); in gp100_mc_intr_unarm()
62 mc->intr = true; in gp100_mc_intr_rearm()
63 gp100_mc_intr_update(mc); in gp100_mc_intr_rearm()
73 mc->mask = (mc->mask & ~mask) | intr; in gp100_mc_intr_mask()
111 struct gp100_mc *mc; in gp100_mc_new_() local
113 if (!(mc = kzalloc(sizeof(*mc), GFP_KERNEL))) in gp100_mc_new_()
116 *pmc = &mc->base; in gp100_mc_new_()
119 mc->intr = false; in gp100_mc_new_()
[all …]
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 …]
A Dga100.c25 ga100_mc_intr_unarm(struct nvkm_mc *mc) in ga100_mc_intr_unarm() argument
27 nvkm_wr32(mc->subdev.device, 0xb81610, 0x00000004); in ga100_mc_intr_unarm()
31 ga100_mc_intr_rearm(struct nvkm_mc *mc) in ga100_mc_intr_rearm() argument
33 nvkm_wr32(mc->subdev.device, 0xb81608, 0x00000004); in ga100_mc_intr_rearm()
37 ga100_mc_intr_mask(struct nvkm_mc *mc, u32 mask, u32 intr) in ga100_mc_intr_mask() argument
39 nvkm_wr32(mc->subdev.device, 0xb81210, mask & intr ); in ga100_mc_intr_mask()
40 nvkm_wr32(mc->subdev.device, 0xb81410, mask & ~(mask & intr)); in ga100_mc_intr_mask()
44 ga100_mc_intr_stat(struct nvkm_mc *mc) in ga100_mc_intr_stat() argument
53 ga100_mc_init(struct nvkm_mc *mc) in ga100_mc_init() argument
55 nv50_mc_init(mc); in ga100_mc_init()
[all …]
/linux/drivers/net/can/usb/peak_usb/
A Dpcan_usb.c405 if ((mc->ptr + 2) > mc->end) in pcan_usb_update_ts()
408 mc->ts16 = get_unaligned_le16(mc->ptr); in pcan_usb_update_ts()
425 if ((mc->ptr + 2) > mc->end) in pcan_usb_decode_ts()
429 mc->prev_ts8 = mc->ts16 & 0x00ff; in pcan_usb_decode_ts()
435 if ((mc->ptr + 1) > mc->end) in pcan_usb_decode_ts()
566 if ((mc->ptr + 2) > mc->end) in pcan_usb_decode_status()
619 if ((mc->ptr + rec_len) > mc->end) in pcan_usb_decode_status()
643 if ((mc->ptr + 4) > mc->end) in pcan_usb_decode_data()
650 if ((mc->ptr + 2) > mc->end) in pcan_usb_decode_data()
672 if ((mc->ptr + rec_len) > mc->end) in pcan_usb_decode_data()
[all …]
/linux/sound/soc/
A Dsoc-ops.c183 mc->platform_max = mc->max; in snd_soc_info_volsw()
246 int max = mc->max; in snd_soc_get_volsw()
247 int min = mc->min; in snd_soc_get_volsw()
306 int max = mc->max; in snd_soc_put_volsw()
307 int min = mc->min; in snd_soc_put_volsw()
368 int max = mc->max; in snd_soc_get_volsw_sx()
369 int min = mc->min; in snd_soc_get_volsw_sx()
406 int max = mc->max; in snd_soc_put_volsw_sx()
407 int min = mc->min; in snd_soc_put_volsw_sx()
450 int min = mc->min; in snd_soc_info_volsw_range()
[all …]
/linux/drivers/dma/
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 …]
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 …]
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 …]
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_gmc.c204 mc->vram_end = mc->vram_start + mc->mc_vram_size - 1; in amdgpu_gmc_vram_location()
209 mc->fb_start = mc->vram_start; in amdgpu_gmc_vram_location()
210 mc->fb_end = mc->vram_end; in amdgpu_gmc_vram_location()
238 mc->vram_end = mc->vram_start + mc->xgmi.node_segment_size - 1; in amdgpu_gmc_sysvm_location()
240 mc->gart_end = mc->gart_start + mc->gart_size - 1; in amdgpu_gmc_sysvm_location()
247 mc->gart_size >> 20, mc->gart_start, mc->gart_end); in amdgpu_gmc_sysvm_location()
285 mc->gart_end = mc->gart_start + mc->gart_size - 1; in amdgpu_gmc_gart_location()
287 mc->gart_size >> 20, mc->gart_start, mc->gart_end); in amdgpu_gmc_gart_location()
315 if (mc->fb_start > mc->gart_start) { in amdgpu_gmc_agp_location()
333 mc->agp_end = mc->agp_start + mc->agp_size - 1; in amdgpu_gmc_agp_location()
[all …]
/linux/drivers/bus/fsl-mc/
A D.built-in.a.cmd1mc/built-in.a := echo >/dev/null; rm -f drivers/bus/fsl-mc/built-in.a; /usr/bin/ccache /home/test/…
/linux/drivers/bus/
A Dbuilt-in.a5 fsl-mc/fsl-mc-bus.o/
6 fsl-mc/mc-sys.o/
7 fsl-mc/mc-io.o/
8 fsl-mc/dpbp.o/
9 fsl-mc/dpcon.o/
10 fsl-mc/dprc.o/
11 fsl-mc/dprc-driver.o/
12 fsl-mc/fsl-mc-allocator.o/
13 fsl-mc/fsl-mc-msi.o/
14 fsl-mc/dpmcp.o/
[all …]
/linux/arch/x86/kernel/cpu/microcode/
A Dintel.c521 mc = uci->mc; in print_ucode()
522 if (!mc) in print_ucode()
537 mc = uci->mc; in print_ucode()
538 if (!mc) in print_ucode()
550 mc = uci->mc; in apply_microcode_early()
551 if (!mc) in apply_microcode_early()
770 if (!mc) { in apply_microcode_intel()
771 mc = uci->mc; in apply_microcode_intel()
772 if (!mc) in apply_microcode_intel()
860 if (!mc) in generic_load_microcode()
[all …]
/linux/include/soc/tegra/
A Dmc.h101 struct tegra_mc *mc);
106 struct tegra_mc *mc) in tegra_smmu_probe() argument
148 int (*hotreset_assert)(struct tegra_mc *mc,
152 int (*block_dma)(struct tegra_mc *mc,
154 bool (*dma_idling)(struct tegra_mc *mc,
156 int (*unblock_dma)(struct tegra_mc *mc,
158 int (*reset_status)(struct tegra_mc *mc,
178 int (*probe)(struct tegra_mc *mc);
179 void (*remove)(struct tegra_mc *mc);
180 int (*suspend)(struct tegra_mc *mc);
[all …]
/linux/arch/powerpc/platforms/powernv/
A Dopal-msglog.c41 if (!mc) in memcons_copy()
44 out_pos = be32_to_cpu(READ_ONCE(mc->out_pos)); in memcons_copy()
58 avail = be32_to_cpu(mc->obuf_size) - out_pos; in memcons_copy()
76 if (out_pos > be32_to_cpu(mc->obuf_size)) { in memcons_copy()
111 struct memcons *mc; in memcons_init() local
119 mc = phys_to_virt(mcaddr); in memcons_init()
120 if (!mc) { in memcons_init()
125 if (be64_to_cpu(mc->magic) != MEMCONS_MAGIC) { in memcons_init()
130 return mc; in memcons_init()
136 u32 memcons_get_size(struct memcons *mc) in memcons_get_size() argument
[all …]
/linux/drivers/gpu/drm/radeon/
A Dr520.c97 rdev->mc.vram_width = 128; in r520_vram_get_type()
98 rdev->mc.vram_is_ddr = true; in r520_vram_get_type()
102 rdev->mc.vram_width = 32; in r520_vram_get_type()
105 rdev->mc.vram_width = 64; in r520_vram_get_type()
108 rdev->mc.vram_width = 128; in r520_vram_get_type()
111 rdev->mc.vram_width = 256; in r520_vram_get_type()
114 rdev->mc.vram_width = 128; in r520_vram_get_type()
118 rdev->mc.vram_width *= 2; in r520_vram_get_type()
126 radeon_vram_location(rdev, &rdev->mc, 0); in r520_mc_init()
127 rdev->mc.gtt_base_align = 0; in r520_mc_init()
[all …]
/linux/drivers/clk/mediatek/
A Dclk-mtk.c178 if (mc->mux_shift >= 0) { in mtk_clk_register_composite()
183 mux->reg = base + mc->mux_reg; in mtk_clk_register_composite()
185 mux->shift = mc->mux_shift; in mtk_clk_register_composite()
187 mux->flags = mc->mux_flags; in mtk_clk_register_composite()
192 num_parents = mc->num_parents; in mtk_clk_register_composite()
194 parent = mc->parent; in mtk_clk_register_composite()
199 if (mc->gate_shift >= 0) { in mtk_clk_register_composite()
215 if (mc->divider_shift >= 0) { in mtk_clk_register_composite()
235 mc->flags); in mtk_clk_register_composite()
268 mc->name, PTR_ERR(clk)); in mtk_clk_register_composites()
[all …]
/linux/drivers/soc/fsl/qbman/
A Dbman.c430 struct bm_mc *mc = &portal->mc; in bm_mc_init() local
434 mc->rridx = (mc->cr->_ncw_verb & BM_MCC_VERB_VBIT) ? in bm_mc_init()
436 mc->vbit = mc->rridx ? BM_MCC_VERB_VBIT : 0; in bm_mc_init()
446 struct bm_mc *mc = &portal->mc; in bm_mc_finish() local
456 struct bm_mc *mc = &portal->mc; in bm_mc_start() local
463 return mc->cr; in bm_mc_start()
468 struct bm_mc *mc = &portal->mc; in bm_mc_commit() local
469 union bm_mc_result *rr = mc->rr + mc->rridx; in bm_mc_commit()
473 mc->cr->_ncw_verb = myverb | mc->vbit; in bm_mc_commit()
483 struct bm_mc *mc = &portal->mc; in bm_mc_result() local
[all …]

Completed in 749 milliseconds

12345678910>>...19