Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/vertexcom/
Dmse102x.c92 #define to_mse102x_spi(mse) container_of((mse), struct mse102x_net_spi, mse102x) argument
148 static void mse102x_tx_cmd_spi(struct mse102x_net *mse, u16 cmd) in mse102x_tx_cmd_spi() argument
150 struct mse102x_net_spi *mses = to_mse102x_spi(mse); in mse102x_tx_cmd_spi()
165 netdev_err(mse->ndev, "%s: spi_sync() failed: %d\n", in mse102x_tx_cmd_spi()
167 mse->stats.xfer_err++; in mse102x_tx_cmd_spi()
171 static int mse102x_rx_cmd_spi(struct mse102x_net *mse, u8 *rxb) in mse102x_rx_cmd_spi() argument
173 struct mse102x_net_spi *mses = to_mse102x_spi(mse); in mse102x_rx_cmd_spi()
176 __be16 *txb = (__be16 *)mse->txd; in mse102x_rx_cmd_spi()
177 __be16 *cmd = (__be16 *)mse->rxd; in mse102x_rx_cmd_spi()
178 u8 *trx = mse->rxd; in mse102x_rx_cmd_spi()
[all …]
/linux-6.1.9/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 …]
/linux-6.1.9/drivers/media/dvb-frontends/
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()
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()
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()
/linux-6.1.9/drivers/scsi/lpfc/
Dlpfc_bsg.c3586 sli_cfg_mbx->un.sli_config_emb0_subsys.mse[0].buf_len); in lpfc_bsg_issue_mbox_ext_handle_job()
3718 mse[index].pa_hi = in lpfc_bsg_sli_cfg_dma_desc_setup()
3722 mse[index].pa_lo = in lpfc_bsg_sli_cfg_dma_desc_setup()
3730 mse[index].buf_len, in lpfc_bsg_sli_cfg_dma_desc_setup()
3732 mse[index].pa_hi, in lpfc_bsg_sli_cfg_dma_desc_setup()
3734 mse[index].pa_lo); in lpfc_bsg_sli_cfg_dma_desc_setup()
3737 mse[index].pa_hi = in lpfc_bsg_sli_cfg_dma_desc_setup()
3740 mse[index].pa_lo = in lpfc_bsg_sli_cfg_dma_desc_setup()
3747 mse[index].buf_len, in lpfc_bsg_sli_cfg_dma_desc_setup()
3749 mse[index].pa_hi, in lpfc_bsg_sli_cfg_dma_desc_setup()
[all …]
Dlpfc_bsg.h224 struct lpfc_sli_config_mse mse[LPFC_MBX_SLI_CONFIG_MAX_MSE]; member
/linux-6.1.9/Documentation/userspace-api/media/rc/
Drc-protos.rst345 mcir2-mse (RC_PROTO_MCIR2_MSE)
/linux-6.1.9/include/net/bluetooth/
Dhci.h2156 __u8 mse; member
/linux-6.1.9/arch/s390/tools/
Dopcodes.txt1205 ed2f mse RXF_FRRDF