Lines Matching refs:msr
310 unsigned char *msr) in mct_u232_get_modem_stat() argument
317 *msr = 0; in mct_u232_get_modem_stat()
331 *msr = 0; in mct_u232_get_modem_stat()
333 *msr = buf[0]; in mct_u232_get_modem_stat()
335 dev_dbg(&port->dev, "get_modem_stat: 0x%x\n", *msr); in mct_u232_get_modem_stat()
341 unsigned char msr) in mct_u232_msr_to_icount() argument
344 if (msr & MCT_U232_MSR_DDSR) in mct_u232_msr_to_icount()
346 if (msr & MCT_U232_MSR_DCTS) in mct_u232_msr_to_icount()
348 if (msr & MCT_U232_MSR_DRI) in mct_u232_msr_to_icount()
350 if (msr & MCT_U232_MSR_DCD) in mct_u232_msr_to_icount()
355 unsigned int *control_state, unsigned char msr) in mct_u232_msr_to_state() argument
358 if (msr & MCT_U232_MSR_DSR) in mct_u232_msr_to_state()
362 if (msr & MCT_U232_MSR_CTS) in mct_u232_msr_to_state()
366 if (msr & MCT_U232_MSR_RI) in mct_u232_msr_to_state()
370 if (msr & MCT_U232_MSR_CD) in mct_u232_msr_to_state()
374 dev_dbg(&port->dev, "msr_to_state: msr=0x%x ==> state=0x%x\n", msr, *control_state); in mct_u232_msr_to_state()