/linux-6.12.1/drivers/net/ethernet/apm/xgene-v2/ |
D | mac.c | 20 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/ |
D | saa7146_i2c.c | 129 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 …]
|
D | saa7146_vbi.c | 36 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()
|
D | saa7146_fops.c | 134 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()
|
D | saa7146_core.c | 60 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()
|
D | saa7146_hlp.c | 341 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()
|
D | saa7146_video.c | 209 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/ |
D | budget-core.c | 87 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/ |
D | xgene_enet_sgmac.c | 229 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()
|
D | xgene_enet_hw.c | 459 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/ |
D | mc13783.c | 402 "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/ |
D | edac.rst | 237 mc2 |- GPU card[0] => node 0(mc1), node 1(mc2) 279 ├── mc 2 # GPU node 1 == mc2
|
/linux-6.12.1/sound/pci/aw2/ |
D | saa7146.h | 32 #define MC2 0x100 macro 104 /* MC2 */
|
/linux-6.12.1/arch/m68k/include/asm/ |
D | mvme16xhw.h | 82 /* Lower 8 bits must match the revision register in the MC2 chip */
|
/linux-6.12.1/Documentation/devicetree/bindings/display/tegra/ |
D | nvidia,tegra20-gr3d.yaml | 133 - const: mc2
|
/linux-6.12.1/Documentation/devicetree/bindings/memory-controllers/ |
D | nvidia,tegra186-mc.yaml | 248 <0x0 0x02c40000 0x0 0x10000>, /* MC2 */
|
/linux-6.12.1/drivers/staging/media/av7110/ |
D | av7110.c | 2366 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()
|
D | av7110_hw.c | 64 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/ |
D | pinctrl-nomadik-db8500.c | 442 /* 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/ |
D | mce_amd.c | 549 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/ |
D | config.c | 390 /* Using PCCchip2 or MC2 chip tick timer 1 */ in mvme16x_sched_init()
|
/linux-6.12.1/arch/arm/boot/dts/st/ |
D | ste-dbx5x0-pinctrl.dtsi | 431 function = "mc2";
|
/linux-6.12.1/drivers/media/pci/saa7146/ |
D | hexium_orion.c | 221 saa7146_write(dev, MC2, (MASK_09 | MASK_25 | MASK_10 | MASK_26)); in hexium_probe()
|
D | hexium_gemini.c | 276 saa7146_write(dev, MC2, (MASK_09 | MASK_25 | MASK_10 | MASK_26)); in hexium_attach()
|
/linux-6.12.1/drivers/gpu/drm/tegra/ |
D | gr3d.c | 467 gr3d->resets[RST_MC2].id = "mc2"; in gr3d_get_resets()
|