/openbmc/linux/drivers/net/ethernet/ibm/emac/ |
H A D | mal.c | 340 if (deir & mc->rx_chan_mask) { in mal_rxde() 341 set_bit(MAL_COMMAC_RX_STOPPED, &mc->flags); in mal_rxde() 342 mc->ops->rxde(mc->dev); in mal_rxde() 405 struct mal_commac *mc = in mal_poll() local 407 mc->ops->poll_tx(mc->dev); in mal_poll() 416 struct mal_commac *mc = in mal_poll() local 421 n = mc->ops->poll_rx(mc->dev, budget - received); in mal_poll() 438 struct mal_commac *mc = in mal_poll() local 442 if (unlikely(mc->ops->peek_rx(mc->dev) || in mal_poll() 443 test_bit(MAL_COMMAC_RX_STOPPED, &mc->flags))) { in mal_poll() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/memory-controllers/ |
H A D | nvidia,tegra20-mc.yaml | 4 $id: http://devicetree.org/schemas/memory-controllers/nvidia,tegra20-mc.yaml# 27 const: nvidia,tegra20-mc-gart 39 - const: mc 68 compatible = "nvidia,tegra20-mc-gart"; 72 clock-names = "mc";
|
/openbmc/linux/sound/soc/intel/avs/ |
H A D | control.c | 49 struct soc_mixer_control *mc = (struct soc_mixer_control *)kcontrol->private_value; in avs_control_volume_get() local 50 struct avs_control_data *ctl_data = (struct avs_control_data *)mc->dobj.private; in avs_control_volume_get() 80 struct soc_mixer_control *mc = (struct soc_mixer_control *)kcontrol->private_value; in avs_control_volume_put() local 81 struct avs_control_data *ctl_data = (struct avs_control_data *)mc->dobj.private; in avs_control_volume_put() 89 if (ctlvol < 0 || ctlvol > mc->max) in avs_control_volume_put()
|
/openbmc/linux/Documentation/devicetree/bindings/devfreq/ |
H A D | nvidia,tegra30-actmon.yaml | 86 #include <dt-bindings/memory/tegra30-mc.h> 88 mc: memory-controller@7000f000 { 89 compatible = "nvidia,tegra30-mc"; 92 clock-names = "mc"; 107 nvidia,memory-controller = <&mc>; 123 interconnects = <&mc TEGRA30_MC_MPCORER &emc>;
|
/openbmc/linux/sound/soc/intel/atom/ |
H A D | sst-atom-controls.c | 446 switch (mc->type) { in sst_gain_get() 462 mc->type); in sst_gain_get() 480 switch (mc->type) { in sst_gain_put() 502 mc->type); in sst_gain_put() 506 if (mc->w && mc->w->power) in sst_gain_put() 508 mc->pipe_id | mc->instance_id, mc->module_id, 0); in sst_gain_put() 612 gv = mc->gain_val; in sst_set_pipe_gain() 615 mc->pipe_id | mc->instance_id, mc->module_id, mute); in sst_set_pipe_gain() 642 val |= 1 << mc->shift; in sst_swm_mixer_event() 1402 mc->w = w; in sst_fill_module_list() [all …]
|
/openbmc/linux/drivers/memory/tegra/ |
H A D | tegra186-emc.c | 265 struct tegra_mc *mc = dev_get_drvdata(emc->dev->parent); in tegra_emc_interconnect_init() local 266 const struct tegra_mc_soc *soc = mc->soc; in tegra_emc_interconnect_init() 320 struct tegra_mc *mc = dev_get_drvdata(pdev->dev.parent); in tegra186_emc_probe() local 348 if (mc && mc->soc->icc_ops) { in tegra186_emc_probe() 350 mc->bwmgr_mrq_supported = true; in tegra186_emc_probe() 357 mc->bpmp = emc->bpmp; in tegra186_emc_probe() 369 mc->bpmp = NULL; in tegra186_emc_probe() 383 struct tegra_mc *mc = dev_get_drvdata(pdev->dev.parent); in tegra186_emc_remove() local 388 mc->bpmp = NULL; in tegra186_emc_remove()
|
/openbmc/linux/drivers/infiniband/hw/mana/ |
H A D | qp.c | 108 struct mana_context *mc; in mana_ib_create_qp_rss() local 119 mc = gd->driver_data; in mana_ib_create_qp_rss() 168 ndev = mc->ports[port - 1]; in mana_ib_create_qp_rss() 275 struct mana_context *mc; in mana_ib_create_qp_raw() local 281 mc = gd->driver_data; in mana_ib_create_qp_raw() 312 ndev = mc->ports[port - 1]; in mana_ib_create_qp_raw() 442 struct mana_context *mc; in mana_ib_destroy_qp_rss() local 448 mc = gd->driver_data; in mana_ib_destroy_qp_rss() 449 ndev = mc->ports[qp->port - 1]; in mana_ib_destroy_qp_rss() 470 struct mana_context *mc; in mana_ib_destroy_qp_raw() local [all …]
|
/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | sstatesig.py | 19 def isKernel(mc, fn): argument 20 inherits = " ".join(dataCaches[mc].inherits[fn]) 22 def isPackageGroup(mc, fn): argument 23 inherits = " ".join(dataCaches[mc].inherits[fn]) 25 def isAllArch(mc, fn): argument 28 def isImage(mc, fn): argument 32 mc, _ = bb.runqueue.split_mc(fn) 43 if recipename == depname and depmc == mc: 63 if isPackageGroup(mc, fn) and isAllArch(mc, fn) and not isNative(depname): 76 for pkg in dataCaches[mc].runrecs[fn]: [all …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | rt712-sdca.c | 484 struct soc_mixer_control *mc = in rt712_sdca_set_gain_put() local 496 regmap_read(rt712->mbq_regmap, mc->reg, &lvalue); in rt712_sdca_set_gain_put() 501 if (gain_l_val > mc->max) in rt712_sdca_set_gain_put() 502 gain_l_val = mc->max; in rt712_sdca_set_gain_put() 504 if (mc->shift == 8) /* boost gain */ in rt712_sdca_set_gain_put() 517 if (gain_r_val > mc->max) in rt712_sdca_set_gain_put() 518 gain_r_val = mc->max; in rt712_sdca_set_gain_put() 520 if (mc->shift == 8) /* boost gain */ in rt712_sdca_set_gain_put() 552 struct soc_mixer_control *mc = in rt712_sdca_set_gain_get() local 565 if (mc->shift == 8) /* boost gain */ in rt712_sdca_set_gain_get() [all …]
|
H A D | rt700.c | 376 addr_h = mc->reg; in rt700_set_amp_gain_put() 377 addr_l = mc->rreg; in rt700_set_amp_gain_put() 386 if (mc->invert) { in rt700_set_amp_gain_put() 395 if (val_ll > mc->max) in rt700_set_amp_gain_put() 396 val_ll = mc->max; in rt700_set_amp_gain_put() 407 if (mc->invert) { in rt700_set_amp_gain_put() 416 if (val_lr > mc->max) in rt700_set_amp_gain_put() 417 val_lr = mc->max; in rt700_set_amp_gain_put() 470 addr_h = mc->reg; in rt700_set_amp_gain_get() 471 addr_l = mc->rreg; in rt700_set_amp_gain_get() [all …]
|
/openbmc/qemu/hw/arm/ |
H A D | musca.c | 358 MachineClass *mc = MACHINE_GET_CLASS(machine); in musca_init() local 371 mc->default_cpu_type); in musca_init() 606 MachineClass *mc = MACHINE_CLASS(oc); in musca_class_init() local 608 mc->default_cpus = 2; in musca_class_init() 609 mc->min_cpus = mc->default_cpus; in musca_class_init() 610 mc->max_cpus = mc->default_cpus; in musca_class_init() 612 mc->init = musca_init; in musca_class_init() 617 MachineClass *mc = MACHINE_CLASS(oc); in musca_a_class_init() local 620 mc->desc = "ARM Musca-A board (dual Cortex-M33)"; in musca_a_class_init() 631 MachineClass *mc = MACHINE_CLASS(oc); in musca_b1_class_init() local [all …]
|
/openbmc/linux/drivers/clk/ |
H A D | clk-asm9260.c | 284 const struct asm9260_mux_clock *mc = &asm9260_mux_clks[n]; in asm9260_acc_init() local 286 hw = clk_hw_register_mux_table_parent_data(NULL, mc->name, mc->parent_data, in asm9260_acc_init() 287 mc->num_parents, mc->flags, base + mc->offset, in asm9260_acc_init() 288 0, mc->mask, 0, mc->table, &asm9260_clk_lock); in asm9260_acc_init()
|
/openbmc/openpower-hw-diags/test/ |
H A D | pdbg-test.dts | 71 compatible = "ibm,power10-mc"; 76 ATTR_PHYS_DEV_PATH = "physical:sys-0/node-0/proc-0/mc-0"; 309 compatible = "ibm,power10-mc"; 314 ATTR_PHYS_DEV_PATH = "physical:sys-0/node-0/proc-0/mc-1"; 547 compatible = "ibm,power10-mc"; 552 ATTR_PHYS_DEV_PATH = "physical:sys-0/node-0/proc-0/mc-2"; 657 compatible = "ibm,power10-mc"; 2069 compatible = "ibm,power10-mc"; 2179 compatible = "ibm,power10-mc"; 2289 compatible = "ibm,power10-mc"; [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/ |
H A D | cache.py | 35 if mc: 36 mcspec = ".%s" % mc 345 mc = "" 356 return (fn, cls, mc) 364 if mc: 397 self.mc = mc 398 self.logger = PrefixLoggerAdapter("Cache: %s: " % (mc if mc else "default"), logger) 439 if self.mc: 704 if self.mc is not None: 706 if mc: [all …]
|
/openbmc/linux/arch/arm/boot/dts/nvidia/ |
H A D | tegra20.dtsi | 4 #include <dt-bindings/memory/tegra20-mc.h> 44 reset-names = "host1x", "mc"; 106 reset-names = "2d", "mc"; 116 reset-names = "3d", "mc"; 136 <&mc TEGRA20_MC_DISPLAY0B &emc>, 353 reset-names = "vde", "mc"; 707 <&mc TEGRA20_MC_RESET_MPEB>, 708 <&mc TEGRA20_MC_RESET_MPEC>, 735 <&mc TEGRA20_MC_RESET_VI>, 745 mc: memory-controller@7000f000 { label [all …]
|
/openbmc/qemu/hw/mips/ |
H A D | mipssim.c | 225 static void mips_mipssim_machine_init(MachineClass *mc) in mips_mipssim_machine_init() argument 227 mc->desc = "MIPS MIPSsim platform"; in mips_mipssim_machine_init() 228 mc->init = mips_mipssim_init; in mips_mipssim_machine_init() 230 mc->default_cpu_type = MIPS_CPU_TYPE_NAME("5Kf"); in mips_mipssim_machine_init() 232 mc->default_cpu_type = MIPS_CPU_TYPE_NAME("24Kf"); in mips_mipssim_machine_init() 234 mc->default_ram_id = "mips_mipssim.ram"; in mips_mipssim_machine_init()
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_ttm.c | 78 true, rdev->mc.gtt_size >> PAGE_SHIFT); in radeon_ttm_init_gtt() 105 else if (rbo->rdev->mc.visible_vram_size < rbo->rdev->mc.real_vram_size && in radeon_evict_flags() 156 old_start += rdev->mc.vram_start; in radeon_move_blit() 159 old_start += rdev->mc.gtt_start; in radeon_move_blit() 167 new_start += rdev->mc.vram_start; in radeon_move_blit() 170 new_start += rdev->mc.gtt_start; in radeon_move_blit() 278 rdev->mc.agp_base; in radeon_ttm_io_mem_reserve() 289 mem->bus.offset += rdev->mc.aper_base; in radeon_ttm_io_mem_reserve() 792 i_size_write(inode, rdev->mc.mc_vram_size); in radeon_ttm_vram_open() 811 if (*pos >= rdev->mc.mc_vram_size) in radeon_ttm_vram_read() [all …]
|
/openbmc/qemu/hw/riscv/ |
H A D | opentitan.c | 80 MachineClass *mc = MACHINE_GET_CLASS(machine); in opentitan_machine_init() local 85 if (machine->ram_size != mc->default_ram_size) { in opentitan_machine_init() 86 char *sz = size_to_str(mc->default_ram_size); in opentitan_machine_init() 113 MachineClass *mc = MACHINE_CLASS(oc); in opentitan_machine_class_init() local 115 mc->desc = "RISC-V Board compatible with OpenTitan"; in opentitan_machine_class_init() 116 mc->init = opentitan_machine_init; in opentitan_machine_class_init() 117 mc->max_cpus = 1; in opentitan_machine_class_init() 118 mc->default_cpu_type = TYPE_RISCV_CPU_IBEX; in opentitan_machine_class_init() 119 mc->default_ram_id = "riscv.lowrisc.ibex.ram"; in opentitan_machine_class_init() 120 mc->default_ram_size = ibex_memmap[IBEX_DEV_RAM].size; in opentitan_machine_class_init()
|
H A D | shakti_c.c | 84 MachineClass *mc = MACHINE_CLASS(klass); in shakti_c_machine_class_init() local 85 mc->desc = "RISC-V Board compatible with Shakti SDK"; in shakti_c_machine_class_init() 86 mc->init = shakti_c_machine_state_init; in shakti_c_machine_class_init() 87 mc->default_cpu_type = TYPE_RISCV_CPU_SHAKTI_C; in shakti_c_machine_class_init() 88 mc->default_ram_id = "riscv.shakti.c.ram"; in shakti_c_machine_class_init()
|
/openbmc/linux/drivers/vfio/fsl-mc/ |
H A D | Kconfig | 5 tristate "VFIO support for QorIQ DPAA2 fsl-mc bus devices" 8 Driver to enable support for the VFIO QorIQ DPAA2 fsl-mc 10 fsl-mc bus devices using the VFIO framework.
|
/openbmc/qemu/hw/tricore/ |
H A D | tricore_testboard.c | 111 static void ttb_machine_init(MachineClass *mc) in ttb_machine_init() argument 113 mc->desc = "a minimal TriCore board"; in ttb_machine_init() 114 mc->init = tricoreboard_init; in ttb_machine_init() 115 mc->default_cpu_type = TRICORE_CPU_TYPE_NAME("tc1796"); in ttb_machine_init()
|
/openbmc/linux/Documentation/devicetree/bindings/display/tegra/ |
H A D | nvidia,tegra20-gr2d.yaml | 41 - const: mc 64 #include <dt-bindings/memory/tegra20-mc.h> 71 resets = <&tegra_car 21>, <&mc TEGRA20_MC_RESET_2D>; 72 reset-names = "2d", "mc";
|
/openbmc/linux/drivers/scsi/ |
H A D | megaraid.c | 1882 megacmd_t mc; in megaraid_reset() local 2499 megacmd_t mc; in proc_show_rdrv() local 2551 mc.cmd = FC_NEW_CONFIG; in proc_show_rdrv() 2972 megacmd_t mc; in megadev_ioctl() local 3113 mc.status = rval; in megadev_ioctl() 3818 megacmd_t mc; in mega_do_del_logdrv() local 3823 mc.cmd = FC_DEL_LOGDRV; in mega_do_del_logdrv() 3825 mc.subopcode = logdrv; in mega_do_del_logdrv() 3941 megacmd_t mc; in mega_adapinq() local 3979 megacmd_t mc; in mega_internal_dev_inquiry() local [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/misc/ |
H A D | fsl,qoriq-mc.txt | 3 The Freescale Management Complex (fsl-mc) is a hardware resource 5 network-oriented packet processing applications. After the fsl-mc 12 For an overview of the DPAA2 architecture and fsl-mc bus see: 45 Definition: Must be "fsl,qoriq-mc". A Freescale Management Complex 84 The fsl-mc node may optionally have dpmac sub-nodes that describe 105 Definition: Must be "fsl,qoriq-mc-dpmac". 145 mc-bus. 146 The use of this property for mc-bus is deprecated. Please 168 fsl_mc: fsl-mc@80c000000 { 169 compatible = "fsl,qoriq-mc"; [all …]
|
/openbmc/linux/drivers/net/ |
H A D | eql.c | 270 static int eql_g_master_cfg(struct net_device *dev, master_config_t __user *mc); 271 static int eql_s_master_cfg(struct net_device *dev, master_config_t __user *mc); 551 master_config_t mc; in eql_g_master_cfg() local 553 memset(&mc, 0, sizeof(master_config_t)); in eql_g_master_cfg() 557 mc.max_slaves = eql->max_slaves; in eql_g_master_cfg() 558 mc.min_slaves = eql->min_slaves; in eql_g_master_cfg() 559 if (copy_to_user(mcp, &mc, sizeof (master_config_t))) in eql_g_master_cfg() 569 master_config_t mc; in eql_s_master_cfg() local 571 if (copy_from_user(&mc, mcp, sizeof (master_config_t))) in eql_s_master_cfg() 576 eql->max_slaves = mc.max_slaves; in eql_s_master_cfg() [all …]
|