Home
last modified time | relevance | path

Searched refs:mbc (Results 1 – 23 of 23) sorted by relevance

/linux-6.12.1/drivers/power/supply/
Dpcf50633-charger.c38 struct pcf50633_mbc *mbc = platform_get_drvdata(pcf->mbc_pdev); in pcf50633_mbc_usb_curlim_set() local
76 if (mbc->pcf->pdata->charger_reference_current_ma) { in pcf50633_mbc_usb_curlim_set()
77 mbcc5 = (ma << 8) / mbc->pcf->pdata->charger_reference_current_ma; in pcf50633_mbc_usb_curlim_set()
80 pcf50633_reg_write(mbc->pcf, PCF50633_REG_MBCC5, mbcc5); in pcf50633_mbc_usb_curlim_set()
83 mbcs2 = pcf50633_reg_read(mbc->pcf, PCF50633_REG_MBCS2); in pcf50633_mbc_usb_curlim_set()
100 power_supply_changed(mbc->usb); in pcf50633_mbc_usb_curlim_set()
108 struct pcf50633_mbc *mbc = platform_get_drvdata(pcf->mbc_pdev); in pcf50633_mbc_get_status() local
112 if (!mbc) in pcf50633_mbc_get_status()
115 chgmod = pcf50633_reg_read(mbc->pcf, PCF50633_REG_MBCS2) in pcf50633_mbc_get_status()
118 if (mbc->usb_online) in pcf50633_mbc_get_status()
[all …]
/linux-6.12.1/arch/microblaze/include/asm/
Dcacheflush.h49 extern struct scache *mbc;
53 #define enable_icache() mbc->ie();
54 #define disable_icache() mbc->id();
55 #define flush_icache() mbc->ifl();
56 #define flush_icache_range(start, end) mbc->iflr(start, end);
57 #define invalidate_icache() mbc->iin();
58 #define invalidate_icache_range(start, end) mbc->iinr(start, end);
60 #define enable_dcache() mbc->de();
61 #define disable_dcache() mbc->dd();
63 #define invalidate_dcache() mbc->din();
[all …]
/linux-6.12.1/drivers/mailbox/
Dbcm-pdc-mailbox.c289 struct mbox_controller mbc; member
578 struct mbox_controller *mbc; in pdc_receive_one() local
589 mbc = &pdcs->mbc; in pdc_receive_one()
590 chan = &mbc->chans[0]; in pdc_receive_one()
1436 struct mbox_controller *mbc; in pdc_mb_init() local
1440 mbc = &pdcs->mbc; in pdc_mb_init()
1441 mbc->dev = dev; in pdc_mb_init()
1442 mbc->ops = &pdc_mbox_chan_ops; in pdc_mb_init()
1443 mbc->num_chans = 1; in pdc_mb_init()
1444 mbc->chans = devm_kcalloc(dev, mbc->num_chans, sizeof(*mbc->chans), in pdc_mb_init()
[all …]
/linux-6.12.1/arch/microblaze/kernel/cpu/
Dcache.c509 struct scache *mbc; variable
614 mbc = (struct scache *)&wb_msr; in microblaze_cache_init()
622 mbc = (struct scache *)&wt_msr_noirq; in microblaze_cache_init()
625 mbc = (struct scache *)&wt_msr; in microblaze_cache_init()
631 mbc = (struct scache *)&wb_nomsr; in microblaze_cache_init()
639 mbc = (struct scache *)&wt_nomsr_noirq; in microblaze_cache_init()
642 mbc = (struct scache *)&wt_nomsr; in microblaze_cache_init()
/linux-6.12.1/sound/soc/codecs/
Dwm8958-dsp2.c199 if (wm8994->mbc) in wm8958_dsp_start_mbc()
200 wm8958_dsp2_fw(component, "MBC", wm8994->mbc, false); in wm8958_dsp_start_mbc()
499 int mbc = kcontrol->private_value; in wm8958_mbc_get() local
503 ucontrol->value.integer.value[0] = wm8994->mbc_ena[mbc]; in wm8958_mbc_get()
511 int mbc = kcontrol->private_value; in wm8958_mbc_put() local
515 if (wm8994->mbc_ena[mbc] == ucontrol->value.integer.value[0]) in wm8958_mbc_put()
521 if (wm8958_dsp2_busy(wm8994, mbc)) { in wm8958_mbc_put()
522 dev_dbg(component->dev, "DSP2 active on %d already\n", mbc); in wm8958_mbc_put()
526 if (wm8994->enh_eq_ena[mbc]) in wm8958_mbc_put()
529 wm8994->mbc_ena[mbc] = ucontrol->value.integer.value[0]; in wm8958_mbc_put()
[all …]
Dwm8994.h168 const struct firmware *mbc; member
Dwm8994.c4607 release_firmware(wm8994->mbc); in wm8994_component_remove()
/linux-6.12.1/drivers/net/ethernet/amd/xgbe/
Dxgbe-dcb.c220 pfc->mbc = pdata->pfc->mbc; in xgbe_dcb_ieee_getpfc()
234 pfc->pfc_cap, pfc->pfc_en, pfc->mbc, pfc->delay); in xgbe_dcb_ieee_setpfc()
/linux-6.12.1/arch/microblaze/kernel/
Dmicroblaze_ksyms.c37 EXPORT_SYMBOL(mbc);
/linux-6.12.1/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth-dcb.c69 if (pfc->mbc || pfc->delay) in dpaa2_eth_dcbnl_ieee_setpfc()
/linux-6.12.1/drivers/s390/cio/
Dchsc.h200 u32 mbc; member
Dscm.c212 scmdev_setup(scmdev, sale, scm_info->is, scm_info->mbc); in scm_add()
/linux-6.12.1/include/uapi/linux/
Ddcbnl.h160 __u8 mbc; member
/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_dcb.c615 pfc->mbc = my_pfc->mbc; in bnxt_dcbnl_ieee_getpfc()
/linux-6.12.1/drivers/net/ethernet/intel/i40e/
Di40e_dcb_nl.c86 pfc->mbc = dcbxcfg->pfc.mbc; in i40e_dcbnl_ieee_getpfc()
Di40e_dcb.c168 dcbcfg->pfc.mbc = FIELD_GET(I40E_IEEE_PFC_MBC_MASK, buf[0]); in i40e_parse_ieee_pfccfg_tlv()
1111 if (dcbcfg->pfc.mbc) in i40e_add_ieee_pfc_tlv()
Di40e_type.h455 u8 mbc; member
Di40e_debugfs.c1087 cfg->pfc.willing, cfg->pfc.mbc, in i40e_dbg_command_write()
1117 r_cfg->pfc.mbc, in i40e_dbg_command_write()
/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb_nl.c572 pfc->mbc = my_pfc->mbc; in ixgbe_dcbnl_ieee_getpfc()
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_dcb_nl.c248 pfc->mbc = dcbxcfg->pfc.mbc; in ice_dcbnl_getpfc()
Dice_dcb.c266 dcbcfg->pfc.mbc = FIELD_GET(ICE_IEEE_PFC_MBC_M, buf[0]); in ice_parse_ieee_pfccfg_tlv()
1211 if (dcbcfg->pfc.mbc) in ice_add_ieee_pfc_tlv()
Dice_type.h681 u8 mbc; member
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/
Den_dcb_nl.c423 pfc->mbc, in mlx4_en_dcbnl_ieee_setpfc()