Home
last modified time | relevance | path

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

12

/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()
/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()
/linux/drivers/media/pci/ttpci/
H A 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/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()
/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),
/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
/linux/sound/pci/aw2/
H A Dsaa7146.h32 #define MC2 0x100 macro
104 /* MC2 */
/linux/arch/m68k/include/asm/
H A Dmvme16xhw.h66 /* Lower 8 bits must match the revision register in the MC2 chip */
/linux/Documentation/devicetree/bindings/display/tegra/
H A Dnvidia,tegra20-gr3d.yaml133 - const: mc2
/linux/drivers/staging/media/av7110/
H A 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()
/linux/drivers/pinctrl/nomadik/
H A 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/arch/m68k/mvme16x/
H A Dconfig.c406 /* Using PCCchip2 or MC2 chip tick timer 1 */ in mvme16x_sched_init()
/linux/drivers/gpu/drm/tegra/
H A Dgr3d.c444 gr3d->resets[RST_MC2].id = "mc2"; in gr3d_get_resets()
/linux/drivers/media/pci/saa7146/
H A Dhexium_orion.c221 saa7146_write(dev, MC2, (MASK_09 | MASK_25 | MASK_10 | MASK_26)); in hexium_probe()
H A Dhexium_gemini.c276 saa7146_write(dev, MC2, (MASK_09 | MASK_25 | MASK_10 | MASK_26)); in hexium_attach()
H A Dmxb.c435 saa7146_write(dev, MC2, (MASK_09 | MASK_25 | MASK_10 | MASK_26)); in mxb_init_done()
/linux/include/media/drv-intf/
H A Dsaa7146.h373 #define MC2 0x100 /* Main control register 2 */ macro
/linux/drivers/comedi/drivers/
H A Ds626.h193 /* Master Control Register 2 (MC2) constants. */
/linux/tools/perf/pmu-events/arch/x86/sapphirerapids/
H A Duncore-cache.json1693 "BriefDescription": "CHA iMC CHNx READ Credits Empty : MC2",
1696 "EventName": "UNC_CHA_READ_NO_CREDITS.MC2",
1699 "PublicDescription": "CHA iMC CHNx READ Credits Empty : MC2 : Counts the number of times when there are no credits available for sending reads from the CHA into the iMC. In order to send reads into the memory controller, the HA must first acquire a credit for the iMC's AD Ingress queue. : Filter for memory controller 2 only.",
7206 "BriefDescription": "CHA iMC CHNx WRITE Credits Empty : MC2",
7209 "EventName": "UNC_CHA_WRITE_NO_CREDITS.MC2",
7212 "PublicDescription": "CHA iMC CHNx WRITE Credits Empty : MC2 : Counts the number of times when there are no credits available for sending WRITEs from the CHA into the iMC. In order to send WRITEs into the memory controller, the HA must first acquire a credit for the iMC's BL Ingress queue. : Filter for memory controller 2 only.",
/linux/drivers/input/joystick/
H A Dxpad.c194 { 0x0738, 0x4530, "Mad Catz Universal MC2 Racing Wheel and Pedals", 0, XTYPE_XBOX },
340 { 0x1bad, 0xf030, "Mad Catz Xbox 360 MC2 MicroCon Racing Wheel", 0, XTYPE_XBOX360 },

12