Lines Matching refs:p_cfg
191 int userial_vendor_open(tUSERIAL_CFG *p_cfg) in userial_vendor_open() argument
200 if (!userial_to_tcio_baud(p_cfg->baud, &baud)) in userial_vendor_open()
205 if(p_cfg->fmt & USERIAL_DATABITS_8) in userial_vendor_open()
207 else if(p_cfg->fmt & USERIAL_DATABITS_7) in userial_vendor_open()
209 else if(p_cfg->fmt & USERIAL_DATABITS_6) in userial_vendor_open()
211 else if(p_cfg->fmt & USERIAL_DATABITS_5) in userial_vendor_open()
219 if(p_cfg->fmt & USERIAL_PARITY_NONE) in userial_vendor_open()
221 else if(p_cfg->fmt & USERIAL_PARITY_EVEN) in userial_vendor_open()
223 else if(p_cfg->fmt & USERIAL_PARITY_ODD) in userial_vendor_open()
231 if(p_cfg->fmt & USERIAL_STOPBITS_1) in userial_vendor_open()
233 else if(p_cfg->fmt & USERIAL_STOPBITS_2) in userial_vendor_open()