Lines Matching refs:p_cfg
192 int userial_vendor_open(tUSERIAL_CFG *p_cfg) in userial_vendor_open() argument
201 if (!userial_to_tcio_baud(p_cfg->baud, &baud)) in userial_vendor_open()
206 if(p_cfg->fmt & USERIAL_DATABITS_8) in userial_vendor_open()
208 else if(p_cfg->fmt & USERIAL_DATABITS_7) in userial_vendor_open()
210 else if(p_cfg->fmt & USERIAL_DATABITS_6) in userial_vendor_open()
212 else if(p_cfg->fmt & USERIAL_DATABITS_5) in userial_vendor_open()
220 if(p_cfg->fmt & USERIAL_PARITY_NONE) in userial_vendor_open()
222 else if(p_cfg->fmt & USERIAL_PARITY_EVEN) in userial_vendor_open()
224 else if(p_cfg->fmt & USERIAL_PARITY_ODD) in userial_vendor_open()
232 if(p_cfg->fmt & USERIAL_STOPBITS_1) in userial_vendor_open()
234 else if(p_cfg->fmt & USERIAL_STOPBITS_2) in userial_vendor_open()