Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/net/ethernet/apm/xgene-v2/
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()
/linux-6.12.1/drivers/media/common/saa7146/
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 …]
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()
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()
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()
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()
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()
/linux-6.12.1/drivers/media/pci/ttpci/
Dbudget-core.c87 saa7146_write(dev, MC2, (MASK_09 | MASK_25)); in start_ts_capture()
92 saa7146_write(dev, MC2, (MASK_10 | MASK_26)); in start_ts_capture()
101 saa7146_write(dev, MC2, (MASK_09 | MASK_25 | MASK_10 | MASK_26)); in start_ts_capture()
105 saa7146_write(dev, MC2, (MASK_09 | MASK_25 | MASK_10 | MASK_26)); in start_ts_capture()
112 saa7146_write(dev, MC2, (MASK_09 | MASK_25 | MASK_10 | MASK_26)); in start_ts_capture()
116 saa7146_write(dev, MC2, (MASK_09 | MASK_25 | MASK_10 | MASK_26)); in start_ts_capture()
121 saa7146_write(dev, MC2, (MASK_08 | MASK_24)); in start_ts_capture()
139 saa7146_write(dev, MC2, (MASK_04 | MASK_20)); in start_ts_capture()
233 saa7146_write(saa, MC2, (2 << 16) | 2); in ttpci_budget_debiread_nolock()
279 saa7146_write(saa, MC2, (2 << 16) | 2); in ttpci_budget_debiwrite_nolock()
[all …]
/linux-6.12.1/drivers/net/ethernet/apm/xgene/
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()
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()
/linux-6.12.1/sound/soc/codecs/
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),
/linux-6.12.1/Documentation/driver-api/
Dedac.rst237 mc2 |- GPU card[0] => node 0(mc1), node 1(mc2)
279 ├── mc 2 # GPU node 1 == mc2
/linux-6.12.1/sound/pci/aw2/
Dsaa7146.h32 #define MC2 0x100 macro
104 /* MC2 */
/linux-6.12.1/arch/m68k/include/asm/
Dmvme16xhw.h82 /* Lower 8 bits must match the revision register in the MC2 chip */
/linux-6.12.1/Documentation/devicetree/bindings/display/tegra/
Dnvidia,tegra20-gr3d.yaml133 - const: mc2
/linux-6.12.1/Documentation/devicetree/bindings/memory-controllers/
Dnvidia,tegra186-mc.yaml248 <0x0 0x02c40000 0x0 0x10000>, /* MC2 */
/linux-6.12.1/drivers/staging/media/av7110/
Dav7110.c2366 saa7146_write(dev, MC2, in av7110_attach()
2485 saa7146_write(dev, MC2, (MASK_10 | MASK_26)); in av7110_attach()
2488 saa7146_write(dev, MC2, (MASK_09 | MASK_25 | MASK_10 | MASK_26)); in av7110_attach()
2491 saa7146_write(dev, MC2, MASK_08 | MASK_24); in av7110_attach()
2501 saa7146_write(dev, MC2, MASK_04 | MASK_20); in av7110_attach()
2517 saa7146_write(dev, MC2, (MASK_09 | MASK_25 | MASK_10 | MASK_26)); in av7110_attach()
2528 saa7146_write(dev, MC2, 0x077c077c); in av7110_attach()
2592 saa7146_write(dev, MC2, (MASK_09 | MASK_25 | MASK_10 | MASK_26)); in av7110_attach()
2595 saa7146_write(dev, MC2, 0x077c077c); in av7110_attach()
Dav7110_hw.c64 saa7146_write(dev, MC2, (2 << 16) | 2); in av7110_debiwrite()
85 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()
/linux-6.12.1/drivers/pinctrl/nomadik/
Dpinctrl-nomadik-db8500.c442 /* MC2 has 8 data lines and no direction control, so only for (e)MMC */
447 /* MC2 without the feedback clock */
865 DB8500_FUNC_GROUPS(mc2, "mc2_a_1", "mc2_a_2", "mc2rstn_c_1");
940 FUNCTION(mc2),
/linux-6.12.1/drivers/edac/
Dmce_amd.c549 pr_emerg(HW_ERR "MC2 Error: "); in decode_mc2_mce()
552 pr_cont(HW_ERR "Corrupted MC2 MCE info?\n"); in decode_mc2_mce()
/linux-6.12.1/arch/m68k/mvme16x/
Dconfig.c390 /* Using PCCchip2 or MC2 chip tick timer 1 */ in mvme16x_sched_init()
/linux-6.12.1/arch/arm/boot/dts/st/
Dste-dbx5x0-pinctrl.dtsi431 function = "mc2";
/linux-6.12.1/drivers/media/pci/saa7146/
Dhexium_orion.c221 saa7146_write(dev, MC2, (MASK_09 | MASK_25 | MASK_10 | MASK_26)); in hexium_probe()
Dhexium_gemini.c276 saa7146_write(dev, MC2, (MASK_09 | MASK_25 | MASK_10 | MASK_26)); in hexium_attach()
/linux-6.12.1/drivers/gpu/drm/tegra/
Dgr3d.c467 gr3d->resets[RST_MC2].id = "mc2"; in gr3d_get_resets()

12