Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/power/supply/
Dpcf50633-charger.c43 struct pcf50633_mbc *mbc = platform_get_drvdata(pcf->mbc_pdev); in pcf50633_mbc_usb_curlim_set() local
81 if (mbc->pcf->pdata->charger_reference_current_ma) { in pcf50633_mbc_usb_curlim_set()
82 mbcc5 = (ma << 8) / mbc->pcf->pdata->charger_reference_current_ma; in pcf50633_mbc_usb_curlim_set()
85 pcf50633_reg_write(mbc->pcf, PCF50633_REG_MBCC5, mbcc5); in pcf50633_mbc_usb_curlim_set()
88 mbcs2 = pcf50633_reg_read(mbc->pcf, PCF50633_REG_MBCS2); in pcf50633_mbc_usb_curlim_set()
105 power_supply_changed(mbc->usb); in pcf50633_mbc_usb_curlim_set()
113 struct pcf50633_mbc *mbc = platform_get_drvdata(pcf->mbc_pdev); in pcf50633_mbc_get_status() local
117 if (!mbc) in pcf50633_mbc_get_status()
120 chgmod = pcf50633_reg_read(mbc->pcf, PCF50633_REG_MBCS2) in pcf50633_mbc_get_status()
123 if (mbc->usb_online) in pcf50633_mbc_get_status()
[all …]
/Linux-v4.19/arch/microblaze/include/asm/
Dcacheflush.h53 extern struct scache *mbc;
57 #define enable_icache() mbc->ie();
58 #define disable_icache() mbc->id();
59 #define flush_icache() mbc->ifl();
60 #define flush_icache_range(start, end) mbc->iflr(start, end);
61 #define invalidate_icache() mbc->iin();
62 #define invalidate_icache_range(start, end) mbc->iinr(start, end);
67 #define enable_dcache() mbc->de();
68 #define disable_dcache() mbc->dd();
70 #define invalidate_dcache() mbc->din();
[all …]
/Linux-v4.19/drivers/net/ethernet/qlogic/qlge/
Dqlge_mpi.c617 struct mbox_params mbc; in ql_mb_about_fw() local
618 struct mbox_params *mbcp = &mbc; in ql_mb_about_fw()
649 struct mbox_params mbc; in ql_mb_get_fw_state() local
650 struct mbox_params *mbcp = &mbc; in ql_mb_get_fw_state()
688 struct mbox_params mbc; in ql_mb_idc_ack() local
689 struct mbox_params *mbcp = &mbc; in ql_mb_idc_ack()
720 struct mbox_params mbc; in ql_mb_set_port_cfg() local
721 struct mbox_params *mbcp = &mbc; in ql_mb_set_port_cfg()
753 struct mbox_params mbc; in ql_mb_dump_ram() local
754 struct mbox_params *mbcp = &mbc; in ql_mb_dump_ram()
[all …]
/Linux-v4.19/drivers/mailbox/
Dbcm-pdc-mailbox.c304 struct mbox_controller mbc; member
596 struct mbox_controller *mbc; in pdc_receive_one() local
607 mbc = &pdcs->mbc; in pdc_receive_one()
608 chan = &mbc->chans[0]; in pdc_receive_one()
1454 struct mbox_controller *mbc; in pdc_mb_init() local
1458 mbc = &pdcs->mbc; in pdc_mb_init()
1459 mbc->dev = dev; in pdc_mb_init()
1460 mbc->ops = &pdc_mbox_chan_ops; in pdc_mb_init()
1461 mbc->num_chans = 1; in pdc_mb_init()
1462 mbc->chans = devm_kcalloc(dev, mbc->num_chans, sizeof(*mbc->chans), in pdc_mb_init()
[all …]
/Linux-v4.19/arch/microblaze/kernel/cpu/
Dcache.c508 struct scache *mbc; variable
613 mbc = (struct scache *)&wb_msr; in microblaze_cache_init()
621 mbc = (struct scache *)&wt_msr_noirq; in microblaze_cache_init()
624 mbc = (struct scache *)&wt_msr; in microblaze_cache_init()
630 mbc = (struct scache *)&wb_nomsr; in microblaze_cache_init()
638 mbc = (struct scache *)&wt_nomsr_noirq; in microblaze_cache_init()
641 mbc = (struct scache *)&wt_nomsr; in microblaze_cache_init()
/Linux-v4.19/sound/soc/codecs/
Dwm8958-dsp2.c206 if (wm8994->mbc) in wm8958_dsp_start_mbc()
207 wm8958_dsp2_fw(component, "MBC", wm8994->mbc, false); in wm8958_dsp_start_mbc()
502 int mbc = kcontrol->private_value; in wm8958_mbc_get() local
506 ucontrol->value.integer.value[0] = wm8994->mbc_ena[mbc]; in wm8958_mbc_get()
514 int mbc = kcontrol->private_value; in wm8958_mbc_put() local
518 if (wm8994->mbc_ena[mbc] == ucontrol->value.integer.value[0]) in wm8958_mbc_put()
524 if (wm8958_dsp2_busy(wm8994, mbc)) { in wm8958_mbc_put()
525 dev_dbg(component->dev, "DSP2 active on %d already\n", mbc); in wm8958_mbc_put()
529 if (wm8994->enh_eq_ena[mbc]) in wm8958_mbc_put()
532 wm8994->mbc_ena[mbc] = ucontrol->value.integer.value[0]; in wm8958_mbc_put()
[all …]
Dwm8994.h163 const struct firmware *mbc; member
Dwm8994.c4433 release_firmware(wm8994->mbc); in wm8994_component_remove()
/Linux-v4.19/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-v4.19/arch/microblaze/kernel/
Dmicroblaze_ksyms.c44 EXPORT_SYMBOL(mbc);
/Linux-v4.19/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.h526 u8 mbc; member
Di40e_debugfs.c1020 cfg->pfc.willing, cfg->pfc.mbc, in i40e_dbg_command_write()
1050 r_cfg->pfc.mbc, in i40e_dbg_command_write()
/Linux-v4.19/drivers/s390/cio/
Dchsc.h192 u32 mbc; member
Dscm.c211 scmdev_setup(scmdev, sale, scm_info->is, scm_info->mbc); in scm_add()
/Linux-v4.19/include/uapi/linux/
Ddcbnl.h160 __u8 mbc; member
/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_dcb.c570 pfc->mbc = my_pfc->mbc; in bnxt_dcbnl_ieee_getpfc()
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb_nl.c574 pfc->mbc = my_pfc->mbc; in ixgbe_dcbnl_ieee_getpfc()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Den_dcb_nl.c423 pfc->mbc, in mlx4_en_dcbnl_ieee_setpfc()
/Linux-v4.19/drivers/net/ethernet/intel/i40evf/
Di40e_type.h481 u8 mbc; member