Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/staging/qlge/
Dqlge_mpi.c614 struct mbox_params mbc; in ql_mb_about_fw() local
615 struct mbox_params *mbcp = &mbc; in ql_mb_about_fw()
646 struct mbox_params mbc; in ql_mb_get_fw_state() local
647 struct mbox_params *mbcp = &mbc; in ql_mb_get_fw_state()
685 struct mbox_params mbc; in ql_mb_idc_ack() local
686 struct mbox_params *mbcp = &mbc; in ql_mb_idc_ack()
717 struct mbox_params mbc; in ql_mb_set_port_cfg() local
718 struct mbox_params *mbcp = &mbc; in ql_mb_set_port_cfg()
749 struct mbox_params mbc; in ql_mb_dump_ram() local
750 struct mbox_params *mbcp = &mbc; in ql_mb_dump_ram()
[all …]
/kernel/linux/linux-5.10/drivers/mailbox/
Dbcm-pdc-mailbox.c293 struct mbox_controller mbc; member
582 struct mbox_controller *mbc; in pdc_receive_one() local
593 mbc = &pdcs->mbc; in pdc_receive_one()
594 chan = &mbc->chans[0]; in pdc_receive_one()
1440 struct mbox_controller *mbc; in pdc_mb_init() local
1444 mbc = &pdcs->mbc; in pdc_mb_init()
1445 mbc->dev = dev; in pdc_mb_init()
1446 mbc->ops = &pdc_mbox_chan_ops; in pdc_mb_init()
1447 mbc->num_chans = 1; in pdc_mb_init()
1448 mbc->chans = devm_kcalloc(dev, mbc->num_chans, sizeof(*mbc->chans), in pdc_mb_init()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/microblaze/kernel/
Dmicroblaze_ksyms.c40 EXPORT_SYMBOL(mbc);
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e_dcb_nl.c84 pfc->mbc = dcbxcfg->pfc.mbc; in i40e_dcbnl_ieee_getpfc()
Di40e_dcb.c175 dcbcfg->pfc.mbc = (u8)((buf[0] & I40E_IEEE_PFC_MBC_MASK) >> in i40e_parse_ieee_pfccfg_tlv()
Di40e_type.h500 u8 mbc; member
Di40e_debugfs.c1102 cfg->pfc.willing, cfg->pfc.mbc, in i40e_dbg_command_write()
1132 r_cfg->pfc.mbc, in i40e_dbg_command_write()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth-dcb.c69 if (pfc->mbc || pfc->delay) in dpaa2_eth_dcbnl_ieee_setpfc()
/kernel/linux/linux-5.10/drivers/s390/cio/
Dchsc.h194 u32 mbc; member
Dscm.c211 scmdev_setup(scmdev, sale, scm_info->is, scm_info->mbc); in scm_add()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Ddcbnl.h56 __u8 mbc; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Ddcbnl.h69 __u8 mbc; member
/kernel/linux/linux-5.10/include/uapi/linux/
Ddcbnl.h160 __u8 mbc; member
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_dcb.c568 pfc->mbc = my_pfc->mbc; in bnxt_dcbnl_ieee_getpfc()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_dcb_nl.c233 pfc->mbc = dcbxcfg->pfc.mbc; in ice_dcbnl_getpfc()
Dice_dcb.c271 dcbcfg->pfc.mbc = ((buf[0] & ICE_IEEE_PFC_MBC_M) >> ICE_IEEE_PFC_MBC_S); in ice_parse_ieee_pfccfg_tlv()
1151 if (dcbcfg->pfc.mbc) in ice_add_ieee_pfc_tlv()
Dice_type.h476 u8 mbc; member
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb_nl.c574 pfc->mbc = my_pfc->mbc; in ixgbe_dcbnl_ieee_getpfc()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Den_dcb_nl.c423 pfc->mbc, in mlx4_en_dcbnl_ieee_setpfc()

12