Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/power/
Dpcf50633-charger.c43 struct pcf50633_mbc *mbc = platform_get_drvdata(pcf->mbc_pdev); in pcf50633_mbc_usb_curlim_set() local
83 if (mbc->pcf->pdata->charger_reference_current_ma) { in pcf50633_mbc_usb_curlim_set()
84 mbcc5 = (ma << 8) / mbc->pcf->pdata->charger_reference_current_ma; in pcf50633_mbc_usb_curlim_set()
87 pcf50633_reg_write(mbc->pcf, PCF50633_REG_MBCC5, mbcc5); in pcf50633_mbc_usb_curlim_set()
90 mbcs2 = pcf50633_reg_read(mbc->pcf, PCF50633_REG_MBCS2); in pcf50633_mbc_usb_curlim_set()
107 power_supply_changed(mbc->usb); in pcf50633_mbc_usb_curlim_set()
115 struct pcf50633_mbc *mbc = platform_get_drvdata(pcf->mbc_pdev); in pcf50633_mbc_get_status() local
119 if (!mbc) in pcf50633_mbc_get_status()
122 chgmod = pcf50633_reg_read(mbc->pcf, PCF50633_REG_MBCS2) in pcf50633_mbc_get_status()
125 if (mbc->usb_online) in pcf50633_mbc_get_status()
[all …]
/linux-4.4.14/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-4.4.14/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-4.4.14/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-4.4.14/sound/soc/codecs/
Dwm8958-dsp2.c206 if (wm8994->mbc) in wm8958_dsp_start_mbc()
207 wm8958_dsp2_fw(codec, "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(codec->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.c4428 release_firmware(wm8994->mbc); in wm8994_codec_remove()
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/
Dxgbe-dcb.c208 pfc->mbc = pdata->pfc->mbc; in xgbe_dcb_ieee_getpfc()
222 pfc->pfc_cap, pfc->pfc_en, pfc->mbc, pfc->delay); in xgbe_dcb_ieee_setpfc()
/linux-4.4.14/arch/microblaze/kernel/
Dmicroblaze_ksyms.c44 EXPORT_SYMBOL(mbc);
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_dcb_nl.c107 pfc->mbc = dcbxcfg->pfc.mbc; in i40e_dcbnl_ieee_getpfc()
Di40e_dcb.c198 dcbcfg->pfc.mbc = (u8)((buf[0] & I40E_IEEE_PFC_MBC_MASK) >> in i40e_parse_ieee_pfccfg_tlv()
Di40e_type.h462 u8 mbc; member
Di40e_debugfs.c1354 cfg->pfc.willing, cfg->pfc.mbc, in i40e_dbg_command_write()
1384 r_cfg->pfc.mbc, in i40e_dbg_command_write()
/linux-4.4.14/drivers/s390/cio/
Dchsc.h183 u32 mbc; member
Dscm.c210 scmdev_setup(scmdev, sale, scm_info->is, scm_info->mbc); in scm_add()
/linux-4.4.14/include/uapi/linux/
Ddcbnl.h159 __u8 mbc; member
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb_nl.c599 pfc->mbc = my_pfc->mbc; in ixgbe_dcbnl_ieee_getpfc()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Den_dcb_nl.c214 pfc->mbc, in mlx4_en_dcbnl_ieee_setpfc()
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/
Di40e_type.h457 u8 mbc; member