Home
last modified time | relevance | path

Searched refs:mse (Results 1 – 9 of 9) sorted by relevance

/drivers/input/mouse/
Dmaplemouse.c31 struct dc_mouse *mse = maple_get_drvdata(mapledev); in dc_mouse_callback() local
32 struct input_dev *dev = mse->dev; in dc_mouse_callback()
51 struct dc_mouse *mse = maple_get_drvdata(to_maple_dev(&dev->dev)); in dc_mouse_open() local
53 maple_getcond_callback(mse->mdev, dc_mouse_callback, HZ/50, in dc_mouse_open()
61 struct dc_mouse *mse = maple_get_drvdata(to_maple_dev(&dev->dev)); in dc_mouse_close() local
63 maple_getcond_callback(mse->mdev, dc_mouse_callback, 0, in dc_mouse_close()
74 struct dc_mouse *mse; in probe_maple_mouse() local
76 mse = kzalloc(sizeof(struct dc_mouse), GFP_KERNEL); in probe_maple_mouse()
77 if (!mse) { in probe_maple_mouse()
88 mse->dev = input_dev; in probe_maple_mouse()
[all …]
/drivers/media/dvb-frontends/
Dor51211.c266 static u32 calculate_snr(u32 mse, u32 c) in calculate_snr() argument
268 if (mse == 0) /* No signal */ in calculate_snr()
271 mse = 2*intlog10(mse); in calculate_snr()
272 if (mse > c) { in calculate_snr()
278 return 10*(c - mse); in calculate_snr()
Dor51132.c443 static u32 calculate_snr(u32 mse, u32 c) in calculate_snr() argument
445 if (mse == 0) /* No signal */ in calculate_snr()
448 mse = 2*intlog10(mse); in calculate_snr()
449 if (mse > c) { in calculate_snr()
455 return 10*(c - mse); in calculate_snr()
Dlgdt330x.c475 static u32 calculate_snr(u32 mse, u32 c) in calculate_snr() argument
477 if (mse == 0) /* No signal */ in calculate_snr()
480 mse = intlog10(mse); in calculate_snr()
481 if (mse > c) { in calculate_snr()
489 return 10 * (c - mse); in calculate_snr()
Dlgdt3305.c968 static u32 calculate_snr(u32 mse, u32 c) in calculate_snr() argument
970 if (mse == 0) /* no signal */ in calculate_snr()
973 mse = intlog10(mse); in calculate_snr()
974 if (mse > c) { in calculate_snr()
980 return 10*(c - mse); in calculate_snr()
Dau8522_dig.c215 static int au8522_mse2snr_lookup(struct mse2snr_tab *tab, int sz, int mse, in au8522_mse2snr_lookup() argument
222 if (mse < tab[i].val) { in au8522_mse2snr_lookup()
Dlgdt3306a.c1488 u32 mse; /* Mean-Square Error */ in lgdt3306a_calculate_snr_x100() local
1492 mse = (read_reg(state, 0x00ec) << 8) | in lgdt3306a_calculate_snr_x100()
1497 if (mse == 0) /* no signal */ in lgdt3306a_calculate_snr_x100()
1500 snr_x100 = log10_x1000((pwr * 10000) / mse) - 3000; in lgdt3306a_calculate_snr_x100()
1501 dbg_info("mse=%u, pwr=%u, snr_x100=%d\n", mse, pwr, snr_x100); in lgdt3306a_calculate_snr_x100()
/drivers/scsi/lpfc/
Dlpfc_bsg.c3661 sli_cfg_mbx->un.sli_config_emb0_subsys.mse[0].buf_len); in lpfc_bsg_issue_mbox_ext_handle_job()
3793 mse[index].pa_hi = in lpfc_bsg_sli_cfg_dma_desc_setup()
3797 mse[index].pa_lo = in lpfc_bsg_sli_cfg_dma_desc_setup()
3805 mse[index].buf_len, in lpfc_bsg_sli_cfg_dma_desc_setup()
3807 mse[index].pa_hi, in lpfc_bsg_sli_cfg_dma_desc_setup()
3809 mse[index].pa_lo); in lpfc_bsg_sli_cfg_dma_desc_setup()
3812 mse[index].pa_hi = in lpfc_bsg_sli_cfg_dma_desc_setup()
3815 mse[index].pa_lo = in lpfc_bsg_sli_cfg_dma_desc_setup()
3822 mse[index].buf_len, in lpfc_bsg_sli_cfg_dma_desc_setup()
3824 mse[index].pa_hi, in lpfc_bsg_sli_cfg_dma_desc_setup()
[all …]
Dlpfc_bsg.h236 struct lpfc_sli_config_mse mse[LPFC_MBX_SLI_CONFIG_MAX_MSE]; member