Home
last modified time | relevance | path

Searched full:mc2 (Results 1 – 25 of 55) sorted by relevance

123

/openbmc/linux/drivers/net/ethernet/apm/xgene-v2/
H A Dmac.c20 u32 icm0, icm2, ecm0, mc2; in xge_mac_set_speed() local
27 mc2 = xge_rd_csr(pdata, MAC_CONFIG_2); in xge_mac_set_speed()
33 SET_REG_BITS(&mc2, INTF_MODE, 1); in xge_mac_set_speed()
40 SET_REG_BITS(&mc2, INTF_MODE, 1); in xge_mac_set_speed()
47 SET_REG_BITS(&mc2, INTF_MODE, 2); in xge_mac_set_speed()
55 mc2 |= FULL_DUPLEX | CRC_EN | PAD_CRC; in xge_mac_set_speed()
58 xge_wr_csr(pdata, MAC_CONFIG_2, mc2); in xge_mac_set_speed()
/openbmc/u-boot/drivers/board/
H A Dgazerbeam.c18 /* I2C address of SC/MC2 expander */
35 * @multichannel: Container for the board's multichannel variant (MC4/MC2/SC)
64 int mc4, mc2, sc, con; in _read_board_variant_data() local
81 mc2 = !dm_i2c_probe(i2c_bus, MC2_EXPANDER_ADDR, 0, &dummy); in _read_board_variant_data()
84 if (mc2 && mc4) { in _read_board_variant_data()
90 listname = mc2 ? "var-gpios-mc2" : "var-gpios-mc4"; in _read_board_variant_data()
115 if ((sc && mc2) || (sc && mc4) || (!sc && !mc2 && !mc4)) { in _read_board_variant_data()
123 priv->multichannel = mc4 ? 4 : (mc2 ? 2 : (sc ? 1 : 0)); in _read_board_variant_data()
/openbmc/linux/drivers/media/common/saa7146/
H A Dsaa7146_i2c.c129 saa7146_write(dev, MC2, (MASK_00 | MASK_16)); in saa7146_i2c_reset()
134 saa7146_write(dev, MC2, (MASK_00 | MASK_16)); in saa7146_i2c_reset()
148 saa7146_write(dev, MC2, (MASK_00 | MASK_16)); in saa7146_i2c_reset()
153 saa7146_write(dev, MC2, (MASK_00 | MASK_16)); in saa7146_i2c_reset()
159 saa7146_write(dev, MC2, (MASK_00 | MASK_16)); in saa7146_i2c_reset()
178 u32 status = 0, mc2 = 0; in saa7146_i2c_writeout() local
194 saa7146_write(dev, MC2, (MASK_00 | MASK_16)); in saa7146_i2c_writeout()
213 saa7146_write(dev, MC2, (MASK_00 | MASK_16)); in saa7146_i2c_writeout()
218 mc2 = (saa7146_read(dev, MC2) & 0x1); in saa7146_i2c_writeout()
219 if( 0 != mc2 ) { in saa7146_i2c_writeout()
[all …]
H A Dsaa7146_vbi.c36 saa7146_write(dev, MC2, MASK_04|MASK_20); in vbi_workaround()
76 /* load mc2 register: enable dma3 */ in vbi_workaround()
89 saa7146_write(dev, MC2, MASK_31|MASK_15); in vbi_workaround()
92 saa7146_write(dev, MC2, MASK_04|MASK_20); in vbi_workaround()
177 WRITE_RPS1(CMD_WR_REG | (1 << 8) | (MC2/4)); in saa7146_set_vbi_capture()
359 saa7146_write(dev, MC2, (MASK_04|MASK_20)); in vbi_begin()
376 saa7146_write(dev, MC2, (MASK_08|MASK_24)); in vbi_begin()
H A Dsaa7146_fops.c134 saa7146_write(dev, MC2, (MASK_02|MASK_18)); in saa7146_buffer_next()
222 u32 mc2 = saa7146_read(dev, MC2); in vv_callback() local
223 if( 0 != (mc2 & MASK_15)) { in vv_callback()
226 saa7146_write(dev,MC2, MASK_31); in vv_callback()
H A Dsaa7146_core.c60 if (saa7146_read(dev, MC2) & 2) in saa7146_wait_for_debi_done_sleep()
76 saa7146_read(dev, MC2); in saa7146_wait_for_debi_done_sleep()
96 if (saa7146_read(dev, MC2) & 2) in saa7146_wait_for_debi_done_busyloop()
111 saa7146_read(dev, MC2); in saa7146_wait_for_debi_done_busyloop()
390 saa7146_write(dev, MC2, 0xf8000000); in saa7146_init_one()
H A Dsaa7146_hlp.c341 saa7146_write(dev, MC2, (MASK_05 | MASK_06 | MASK_21 | MASK_22) ); in saa7146_set_window()
353 saa7146_write(dev, MC2, (MASK_05 | MASK_21)); in saa7146_set_output_format()
370 saa7146_write(dev, MC2, (MASK_05 | MASK_21)); in saa7146_set_hps_source_and_sync()
396 saa7146_write(dev, MC2, (MASK_02<<(which-1))|(MASK_18<<(which-1))); in saa7146_write_out_dma()
651 WRITE_RPS0(CMD_WR_REG | (1 << 8) | (MC2/4)); in program_capture_engine()
715 saa7146_write(dev, MC2, (MASK_05 | MASK_21)); in saa7146_disable_clipping()
734 saa7146_write(dev, MC2, MASK_27 ); in saa7146_set_capture()
H A Dsaa7146_video.c209 saa7146_write(dev, MC2, MASK_27 ); in video_begin()
288 saa7146_write(dev, MC2, MASK_22 | MASK_06); in saa7146_s_ctrl()
296 saa7146_write(dev, MC2, MASK_22 | MASK_06); in saa7146_s_ctrl()
304 saa7146_write(dev, MC2, MASK_22 | MASK_06); in saa7146_s_ctrl()
/openbmc/linux/drivers/media/pci/ttpci/
H A Dbudget-core.c86 saa7146_write(dev, MC2, (MASK_09 | MASK_25)); in start_ts_capture()
91 saa7146_write(dev, MC2, (MASK_10 | MASK_26)); in start_ts_capture()
100 saa7146_write(dev, MC2, (MASK_09 | MASK_25 | MASK_10 | MASK_26)); in start_ts_capture()
104 saa7146_write(dev, MC2, (MASK_09 | MASK_25 | MASK_10 | MASK_26)); in start_ts_capture()
111 saa7146_write(dev, MC2, (MASK_09 | MASK_25 | MASK_10 | MASK_26)); in start_ts_capture()
115 saa7146_write(dev, MC2, (MASK_09 | MASK_25 | MASK_10 | MASK_26)); in start_ts_capture()
120 saa7146_write(dev, MC2, (MASK_08 | MASK_24)); in start_ts_capture()
138 saa7146_write(dev, MC2, (MASK_04 | MASK_20)); in start_ts_capture()
232 saa7146_write(saa, MC2, (2 << 16) | 2); in ttpci_budget_debiread_nolock()
277 saa7146_write(saa, MC2, (2 << 16) | 2); in ttpci_budget_debiwrite_nolock()
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/tests/runqueue-tests/conf/multiconfig/
H A Dmc_2.conf1 TMPDIR = "${TOPDIR}/mc2/"
2 BBMASK += "recipes/fails-mc/fails-mc2.bb"
/openbmc/linux/drivers/net/ethernet/apm/xgene/
H A Dxgene_enet_sgmac.c229 u32 mc2, value; in xgene_sgmac_set_speed() local
245 mc2 = xgene_enet_rd_mac(p, MAC_CONFIG_2_ADDR); in xgene_sgmac_set_speed()
250 ENET_INTERFACE_MODE2_SET(&mc2, 1); in xgene_sgmac_set_speed()
256 ENET_INTERFACE_MODE2_SET(&mc2, 1); in xgene_sgmac_set_speed()
263 ENET_INTERFACE_MODE2_SET(&mc2, 2); in xgene_sgmac_set_speed()
274 mc2 |= FULL_DUPLEX2 | PAD_CRC; in xgene_sgmac_set_speed()
275 xgene_enet_wr_mac(p, MAC_CONFIG_2_ADDR, mc2); in xgene_sgmac_set_speed()
H A Dxgene_enet_hw.c459 u32 icm0, icm2, mc2; in xgene_gmac_set_speed() local
464 mc2 = xgene_enet_rd_mac(pdata, MAC_CONFIG_2_ADDR); in xgene_gmac_set_speed()
470 ENET_INTERFACE_MODE2_SET(&mc2, 1); in xgene_gmac_set_speed()
477 ENET_INTERFACE_MODE2_SET(&mc2, 1); in xgene_gmac_set_speed()
485 ENET_INTERFACE_MODE2_SET(&mc2, 2); in xgene_gmac_set_speed()
500 mc2 |= FULL_DUPLEX2 | PAD_CRC | LENGTH_CHK; in xgene_gmac_set_speed()
501 xgene_enet_wr_mac(pdata, MAC_CONFIG_2_ADDR, mc2); in xgene_gmac_set_speed()
/openbmc/u-boot/Documentation/devicetree/bindings/board/
H A Dgdsys,board_gazerbeam.txt38 /* MC2/SC-Board */
39 var-gpios-mc2 = <&GPIO_VB0 0 0 /* VAR-MC_SC */
/openbmc/linux/sound/soc/codecs/
H A Dmc13783.c402 "MC1R", "MC2", "RXINR", "TXIN",
461 SND_SOC_DAPM_SUPPLY("MC2 Bias", MC13783_AUDIO_TX, 1, 0, NULL, 0),
465 SND_SOC_DAPM_SWITCH("MC2 Amp", MC13783_AUDIO_TX, 9, 0, &mc2_amp_ctl),
522 { "MC2 Amp", NULL, "MC2IN" },
528 { "PGA Right Input Mux", "MC2", "MC2 Amp"},
592 SOC_SINGLE("MC2 Capture Bias Switch", MC13783_AUDIO_TX, 1, 1, 0),
/openbmc/linux/Documentation/driver-api/
H A Dedac.rst237 mc2 |- GPU card[0] => node 0(mc1), node 1(mc2)
279 ├── mc 2 # GPU node 1 == mc2
/openbmc/linux/sound/pci/aw2/
H A Dsaa7146.h32 #define MC2 0x100 macro
104 /* MC2 */
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Darchiver.py129 features = 'BBMULTICONFIG = "mc1 mc2"\n'
137 self.write_config('MACHINE = "qemux86"\n', 'mc2')
144 bitbake('mc:mc1:%s mc:mc2:%s -c %s -S lockedsigs' % (pn, pn, task))
/openbmc/linux/arch/m68k/include/asm/
H A Dmvme16xhw.h82 /* Lower 8 bits must match the revision register in the MC2 chip */
/openbmc/linux/Documentation/devicetree/bindings/display/tegra/
H A Dnvidia,tegra20-gr3d.yaml133 - const: mc2
/openbmc/openpower-hw-diags/test/
H A Dtest-pll-unlock.cpp307 util::pdbg::getTrgt("/proc1/pib/perv14/mc2/mi0/mcc0/omi0/ocmb0"), in TEST()
376 util::pdbg::getTrgt("/proc1/pib/perv14/mc2/mi0/mcc0/omi0/ocmb0"), in TEST()
/openbmc/linux/Documentation/devicetree/bindings/memory-controllers/
H A Dnvidia,tegra186-mc.yaml248 <0x0 0x02c40000 0x0 0x10000>, /* MC2 */
/openbmc/linux/drivers/staging/media/av7110/
H A Dav7110.c2389 saa7146_write(dev, MC2, in av7110_attach()
2506 saa7146_write(dev, MC2, (MASK_10 | MASK_26)); in av7110_attach()
2509 saa7146_write(dev, MC2, (MASK_09 | MASK_25 | MASK_10 | MASK_26)); in av7110_attach()
2512 saa7146_write(dev, MC2, MASK_08 | MASK_24); in av7110_attach()
2522 saa7146_write(dev, MC2, MASK_04 | MASK_20); in av7110_attach()
2538 saa7146_write(dev, MC2, (MASK_09 | MASK_25 | MASK_10 | MASK_26)); in av7110_attach()
2549 saa7146_write(dev, MC2, 0x077c077c); in av7110_attach()
2613 saa7146_write(dev, MC2, (MASK_09 | MASK_25 | MASK_10 | MASK_26)); in av7110_attach()
2616 saa7146_write(dev, MC2, 0x077c077c); in av7110_attach()
H A Dav7110_hw.c62 saa7146_write(dev, MC2, (2 << 16) | 2); in av7110_debiwrite()
83 saa7146_write(dev, MC2, (2 << 16) | 2); in av7110_debiread()
215 saa7146_write(av7110->dev, MC2, (MASK_09 | MASK_25 | MASK_10 | MASK_26)); in av7110_bootarm()
/openbmc/linux/drivers/pinctrl/nomadik/
H A Dpinctrl-nomadik-db8500.c441 /* MC2 has 8 data lines and no direction control, so only for (e)MMC */
446 /* MC2 without the feedback clock */
864 DB8500_FUNC_GROUPS(mc2, "mc2_a_1", "mc2_a_2", "mc2rstn_c_1");
939 FUNCTION(mc2),
/openbmc/linux/arch/m68k/mvme16x/
H A Dconfig.c394 /* Using PCCchip2 or MC2 chip tick timer 1 */ in mvme16x_sched_init()

123