Home
last modified time | relevance | path

Searched refs:mpc (Results 1 – 25 of 40) sorted by relevance

12

/drivers/gpu/drm/amd/display/dc/inc/hw/
Dmpc.h124 struct mpc { struct
149 struct mpc *mpc, argument
170 struct mpc *mpc,
189 struct mpc *mpc,
201 void (*mpc_init)(struct mpc *mpc);
203 struct mpc *mpc,
217 struct mpc *mpc,
225 void (*wait_for_idle)(struct mpc *mpc, int id);
227 void (*assert_mpcc_idle_before_connect)(struct mpc *mpc, int mpcc_id);
230 struct mpc *mpc,
[all …]
/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_mpc.c46 struct mpc *mpc, in mpc2_update_blending() argument
50 struct dcn20_mpc *mpc20 = TO_DCN20_MPC(mpc); in mpc2_update_blending()
52 struct mpcc *mpcc = mpc1_get_mpcc(mpc, mpcc_id); in mpc2_update_blending()
67 mpc1_set_bg_color(mpc, &blnd_cfg->black_color, mpcc_id); in mpc2_update_blending()
72 struct mpc *mpc, in mpc2_set_denorm() argument
76 struct dcn20_mpc *mpc20 = TO_DCN20_MPC(mpc); in mpc2_set_denorm()
110 struct mpc *mpc, in mpc2_set_denorm_clamp() argument
114 struct dcn20_mpc *mpc20 = TO_DCN20_MPC(mpc); in mpc2_set_denorm_clamp()
130 struct mpc *mpc, in mpc2_set_output_csc() argument
135 struct dcn20_mpc *mpc20 = TO_DCN20_MPC(mpc); in mpc2_set_output_csc()
[all …]
Ddcn20_mpc.h238 struct mpc base;
255 struct mpc *mpc,
260 struct mpc *mpc,
265 struct mpc *mpc,
270 struct mpc *mpc,
276 struct mpc *mpc,
282 struct mpc *mpc,
286 void mpc2_assert_idle_mpcc(struct mpc *mpc, int id);
287 void mpc2_assert_mpcc_idle_before_connect(struct mpc *mpc, int mpcc_id);
288 void mpc20_power_on_ogam_lut(struct mpc *mpc, int mpcc_id, bool power_on);
Ddcn20_hwseq.c630 struct mpc *mpc = dc->res_pool->mpc; in dcn20_program_output_csc() local
634 if (mpc->funcs->power_on_mpc_mem_pwr) in dcn20_program_output_csc()
635 mpc->funcs->power_on_mpc_mem_pwr(mpc, mpcc_id, true); in dcn20_program_output_csc()
638 if (mpc->funcs->set_output_csc != NULL) in dcn20_program_output_csc()
639 mpc->funcs->set_output_csc(mpc, in dcn20_program_output_csc()
644 if (mpc->funcs->set_ocsc_default != NULL) in dcn20_program_output_csc()
645 mpc->funcs->set_ocsc_default(mpc, in dcn20_program_output_csc()
656 struct mpc *mpc = pipe_ctx->stream_res.opp->ctx->dc->res_pool->mpc; in dcn20_set_output_transfer_func() local
665 if (mpc->funcs->power_on_mpc_mem_pwr) in dcn20_set_output_transfer_func()
666 mpc->funcs->power_on_mpc_mem_pwr(mpc, mpcc_id, true); in dcn20_set_output_transfer_func()
[all …]
Ddcn20_resource.h107 struct mpc *dcn20_mpc_create(struct dc_context *ctx);
Ddcn20_resource.c963 struct mpc *dcn20_mpc_create(struct dc_context *ctx) in dcn20_mpc_create()
1211 if (pool->base.mpc != NULL) { in destruct()
1212 kfree(TO_DCN20_MPC(pool->base.mpc)); in destruct()
1213 pool->base.mpc = NULL; in destruct()
3569 pool->base.mpc = dcn20_mpc_create(ctx); in construct()
3570 if (pool->base.mpc == NULL) { in construct()
/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_mpc.c40 void mpc1_set_bg_color(struct mpc *mpc, in mpc1_set_bg_color() argument
44 struct dcn10_mpc *mpc10 = TO_DCN10_MPC(mpc); in mpc1_set_bg_color()
63 struct mpc *mpc, in mpc1_update_blending() argument
67 struct dcn10_mpc *mpc10 = TO_DCN10_MPC(mpc); in mpc1_update_blending()
68 struct mpcc *mpcc = mpc1_get_mpcc(mpc, mpcc_id); in mpc1_update_blending()
77 mpc1_set_bg_color(mpc, &blnd_cfg->black_color, mpcc_id); in mpc1_update_blending()
82 struct mpc *mpc, in mpc1_update_stereo_mix() argument
86 struct dcn10_mpc *mpc10 = TO_DCN10_MPC(mpc); in mpc1_update_stereo_mix()
96 void mpc1_assert_idle_mpcc(struct mpc *mpc, int id) in mpc1_assert_idle_mpcc() argument
98 struct dcn10_mpc *mpc10 = TO_DCN10_MPC(mpc); in mpc1_assert_idle_mpcc()
[all …]
Ddcn10_mpc.h119 struct mpc base;
136 struct mpc *mpc,
145 struct mpc *mpc,
150 struct mpc *mpc);
153 struct mpc *mpc,
157 struct mpc *mpc,
161 struct mpc *mpc,
166 struct mpc *mpc,
171 struct mpc *mpc,
175 struct mpc *mpc,
[all …]
Ddcn10_hw_sequencer.c302 pool->mpc->funcs->read_mpcc_state(pool->mpc, i, &s); in dcn10_log_hw_state()
981 struct mpc *mpc = dc->res_pool->mpc; in hwss1_plane_atomic_disconnect() local
987 mpcc_to_remove = mpc->funcs->get_mpcc_for_dpp(mpc_tree_params, dpp_id); in hwss1_plane_atomic_disconnect()
993 mpc->funcs->remove_mpcc(mpc, mpc_tree_params, mpcc_to_remove); in hwss1_plane_atomic_disconnect()
1121 dc->res_pool->mpc->funcs->mpc_init_single_inst( in dcn10_init_pipes()
1122 dc->res_pool->mpc, i); in dcn10_init_pipes()
2190 struct mpc *mpc = dc->res_pool->mpc; in dcn10_update_mpcc() local
2238 mpc->funcs->update_blending(mpc, &blnd_cfg, mpcc_id); in dcn10_update_mpcc()
2243 new_mpcc = mpc->funcs->get_mpcc_for_dpp(mpc_tree_params, mpcc_id); in dcn10_update_mpcc()
2246 mpc->funcs->remove_mpcc(mpc, mpc_tree_params, new_mpcc); in dcn10_update_mpcc()
[all …]
Ddcn10_resource.c683 static struct mpc *dcn10_mpc_create(struct dc_context *ctx) in dcn10_mpc_create()
896 if (pool->base.mpc != NULL) { in destruct()
897 kfree(TO_DCN10_MPC(pool->base.mpc)); in destruct()
898 pool->base.mpc = NULL; in destruct()
1525 pool->base.mpc = dcn10_mpc_create(ctx); in construct()
1526 if (pool->base.mpc == NULL) { in construct()
Ddcn10_hw_sequencer_debug.c397 pool->mpc->funcs->read_mpcc_state(pool->mpc, i, &s); in dcn10_get_mpcc_states()
/drivers/gpu/drm/amd/display/dc/inc/
Dcore_types.h174 struct mpc *mpc; member
/drivers/net/ethernet/apple/
Dmace.h36 REG(mpc); /* missed packet count (clears when read) */
Dmacmace.c538 dev->stats.rx_missed_errors += mb->mpc; /* reading clears it */ in mace_handle_misc_intrs()
/drivers/gpu/drm/amd/display/dc/dcn21/
Ddcn21_resource.c848 if (pool->base.mpc != NULL) { in destruct()
849 kfree(TO_DCN20_MPC(pool->base.mpc)); in destruct()
850 pool->base.mpc = NULL; in destruct()
1228 struct mpc *dcn21_mpc_create(struct dc_context *ctx) in dcn21_mpc_create()
1607 pool->base.mpc = dcn21_mpc_create(ctx); in construct()
1608 if (pool->base.mpc == NULL) { in construct()
/drivers/net/ethernet/amd/
Dnmclan_cs.c351 int mpc; member
1202 pr_debug(" mpc=%d\n", pstats->mpc); in pr_mace_stats()
1231 lp->mace_stats.mpc += mace_read(lp, ioaddr, MACE_MPC); in update_stats()
1254 lp->mace_stats.mpco * 256 + lp->mace_stats.mpc; in update_stats()
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcfg80211.h417 void brcmf_set_mpc(struct brcmf_if *ndev, int mpc);
/drivers/net/ethernet/intel/ixgb/
Dixgb_main.c1645 adapter->stats.mpc += IXGB_READ_REG(&adapter->hw, MPC); in ixgb_update_stats()
1697 adapter->stats.ecbc + adapter->stats.mpc; in ixgb_update_stats()
1704 netdev->stats.rx_fifo_errors = adapter->stats.mpc; in ixgb_update_stats()
1705 netdev->stats.rx_missed_errors = adapter->stats.mpc; in ixgb_update_stats()
1706 netdev->stats.rx_over_errors = adapter->stats.mpc; in ixgb_update_stats()
Dixgb_hw.h699 u64 mpc; member
/drivers/net/ethernet/intel/igc/
Digc_hw.h224 u64 mpc; member
Digc_main.c1910 u32 mpc; in igc_update_stats() local
1984 mpc = rd32(IGC_MPC); in igc_update_stats()
1985 adapter->stats.mpc += mpc; in igc_update_stats()
1986 net_stats->rx_fifo_errors += mpc; in igc_update_stats()
2054 net_stats->rx_missed_errors = adapter->stats.mpc; in igc_update_stats()
/drivers/i2c/busses/
DMakefile78 obj-$(CONFIG_I2C_MPC) += i2c-mpc.o
/drivers/net/ethernet/intel/igb/
De1000_hw.h172 u64 mpc; member
/drivers/net/ethernet/intel/e1000e/
Dhw.h341 u64 mpc; member
/drivers/pci/
Dquirks.c4802 u32 mpc; in pci_quirk_enable_intel_rp_mpc_acs() local
4810 pci_read_config_dword(dev, INTEL_MPC_REG, &mpc); in pci_quirk_enable_intel_rp_mpc_acs()
4811 if (!(mpc & INTEL_MPC_REG_IRBNCE)) { in pci_quirk_enable_intel_rp_mpc_acs()
4813 mpc |= INTEL_MPC_REG_IRBNCE; in pci_quirk_enable_intel_rp_mpc_acs()
4814 pci_write_config_word(dev, INTEL_MPC_REG, mpc); in pci_quirk_enable_intel_rp_mpc_acs()

12