Home
last modified time | relevance | path

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

/drivers/input/mouse/
Dmaplemouse.c30 struct dc_mouse *mse = maple_get_drvdata(mapledev); in dc_mouse_callback() local
31 struct input_dev *dev = mse->dev; in dc_mouse_callback()
50 struct dc_mouse *mse = maple_get_drvdata(to_maple_dev(&dev->dev)); in dc_mouse_open() local
52 maple_getcond_callback(mse->mdev, dc_mouse_callback, HZ/50, in dc_mouse_open()
60 struct dc_mouse *mse = maple_get_drvdata(to_maple_dev(&dev->dev)); in dc_mouse_close() local
62 maple_getcond_callback(mse->mdev, dc_mouse_callback, 0, in dc_mouse_close()
73 struct dc_mouse *mse; in probe_maple_mouse() local
75 mse = kzalloc(sizeof(struct dc_mouse), GFP_KERNEL); in probe_maple_mouse()
76 if (!mse) { in probe_maple_mouse()
87 mse->dev = input_dev; in probe_maple_mouse()
[all …]
/drivers/media/dvb-frontends/
Dor51132.c460 static u32 calculate_snr(u32 mse, u32 c) in calculate_snr() argument
462 if (mse == 0) /* No signal */ in calculate_snr()
465 mse = 2*intlog10(mse); in calculate_snr()
466 if (mse > c) { in calculate_snr()
472 return 10*(c - mse); in calculate_snr()
Dor51211.c280 static u32 calculate_snr(u32 mse, u32 c) in calculate_snr() argument
282 if (mse == 0) /* No signal */ in calculate_snr()
285 mse = 2*intlog10(mse); in calculate_snr()
286 if (mse > c) { in calculate_snr()
292 return 10*(c - mse); in calculate_snr()
Dlgdt330x.c591 static u32 calculate_snr(u32 mse, u32 c) in calculate_snr() argument
593 if (mse == 0) /* No signal */ in calculate_snr()
596 mse = intlog10(mse); in calculate_snr()
597 if (mse > c) { in calculate_snr()
603 return 10*(c - mse); in calculate_snr()
Dlgdt3305.c982 static u32 calculate_snr(u32 mse, u32 c) in calculate_snr() argument
984 if (mse == 0) /* no signal */ in calculate_snr()
987 mse = intlog10(mse); in calculate_snr()
988 if (mse > c) { in calculate_snr()
994 return 10*(c - mse); in calculate_snr()
Dau8522_dig.c227 static int au8522_mse2snr_lookup(struct mse2snr_tab *tab, int sz, int mse, in au8522_mse2snr_lookup() argument
234 if (mse < tab[i].val) { in au8522_mse2snr_lookup()
Dlgdt3306a.c1485 u32 mse; /* Mean-Square Error */ in lgdt3306a_calculate_snr_x100() local
1489 mse = (read_reg(state, 0x00ec) << 8) | in lgdt3306a_calculate_snr_x100()
1494 if (mse == 0) /* no signal */ in lgdt3306a_calculate_snr_x100()
1497 snr_x100 = log10_x1000((pwr * 10000) / mse) - 3000; in lgdt3306a_calculate_snr_x100()
1498 dbg_info("mse=%u, pwr=%u, snr_x100=%d\n", mse, pwr, snr_x100); in lgdt3306a_calculate_snr_x100()
/drivers/scsi/lpfc/
Dlpfc_bsg.h221 struct lpfc_sli_config_mse mse[LPFC_MBX_SLI_CONFIG_MAX_MSE]; member
Dlpfc_bsg.c3555 sli_cfg_mbx->un.sli_config_emb0_subsys.mse[0].buf_len); in lpfc_bsg_issue_mbox_ext_handle_job()
3680 mse[index].pa_hi = in lpfc_bsg_sli_cfg_dma_desc_setup()
3684 mse[index].pa_lo = in lpfc_bsg_sli_cfg_dma_desc_setup()
3692 mse[index].buf_len, in lpfc_bsg_sli_cfg_dma_desc_setup()
3694 mse[index].pa_hi, in lpfc_bsg_sli_cfg_dma_desc_setup()
3696 mse[index].pa_lo); in lpfc_bsg_sli_cfg_dma_desc_setup()
3699 mse[index].pa_hi = in lpfc_bsg_sli_cfg_dma_desc_setup()
3702 mse[index].pa_lo = in lpfc_bsg_sli_cfg_dma_desc_setup()
3709 mse[index].buf_len, in lpfc_bsg_sli_cfg_dma_desc_setup()
3711 mse[index].pa_hi, in lpfc_bsg_sli_cfg_dma_desc_setup()
[all …]